texlive[74923] Build/source/texk/dvipdfm-x: dvipdfm-x: recover an
commits+kakuto at tug.org
commits+kakuto at tug.org
Sat Apr 12 23:28:34 CEST 2025
Revision: 74923
https://tug.org/svn/texlive?view=revision&revision=74923
Author: kakuto
Date: 2025-04-12 23:28:33 +0200 (Sat, 12 Apr 2025)
Log Message:
-----------
dvipdfm-x: recover an option -o -
Modified Paths:
--------------
trunk/Build/source/texk/dvipdfm-x/ChangeLog
trunk/Build/source/texk/dvipdfm-x/configure
trunk/Build/source/texk/dvipdfm-x/configure.ac
trunk/Build/source/texk/dvipdfm-x/dvipdfmx.c
Modified: trunk/Build/source/texk/dvipdfm-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/ChangeLog 2025-04-12 21:13:07 UTC (rev 74922)
+++ trunk/Build/source/texk/dvipdfm-x/ChangeLog 2025-04-12 21:28:33 UTC (rev 74923)
@@ -1,3 +1,9 @@
+2025-04-13 Akira Kakuto <kakuto at jcom.zaq.ne.jp>
+
+ * dvipdfmx.c: Reinstate an option -o - to send output to
+ standard output. This option has been disabled unintentionally
+ for a long time.
+
2025-04-10 Karl Berry <karl at freefriends.org>
* configure.ac: version 20250410.
Modified: trunk/Build/source/texk/dvipdfm-x/configure
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/configure 2025-04-12 21:13:07 UTC (rev 74922)
+++ trunk/Build/source/texk/dvipdfm-x/configure 2025-04-12 21:28:33 UTC (rev 74923)
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for dvipdfm-x (TeX Live) 20250410.
+# Generated by GNU Autoconf 2.72 for dvipdfm-x (TeX Live) 20250413.
#
# Report bugs to <dvipdfmx at tug.org>.
#
@@ -614,8 +614,8 @@
# Identity of this package.
PACKAGE_NAME='dvipdfm-x (TeX Live)'
PACKAGE_TARNAME='dvipdfm-x--tex-live-'
-PACKAGE_VERSION='20250410'
-PACKAGE_STRING='dvipdfm-x (TeX Live) 20250410'
+PACKAGE_VERSION='20250413'
+PACKAGE_STRING='dvipdfm-x (TeX Live) 20250413'
PACKAGE_BUGREPORT='dvipdfmx at tug.org'
PACKAGE_URL=''
@@ -1387,7 +1387,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-'configure' configures dvipdfm-x (TeX Live) 20250410 to adapt to many kinds of systems.
+'configure' configures dvipdfm-x (TeX Live) 20250413 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1459,7 +1459,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20250410:";;
+ short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20250413:";;
esac
cat <<\_ACEOF
@@ -1590,7 +1590,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-dvipdfm-x (TeX Live) configure 20250410
+dvipdfm-x (TeX Live) configure 20250413
generated by GNU Autoconf 2.72
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2371,7 +2371,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by dvipdfm-x (TeX Live) $as_me 20250410, which was
+It was created by dvipdfm-x (TeX Live) $as_me 20250413, which was
generated by GNU Autoconf 2.72. Invocation command line was
$ $0$ac_configure_args_raw
@@ -9263,7 +9263,7 @@
# Define the identity of the package.
PACKAGE='dvipdfm-x--tex-live-'
- VERSION='20250410'
+ VERSION='20250413'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -16931,7 +16931,7 @@
Report bugs to <bug-libtool at gnu.org>."
lt_cl_version="\
-dvipdfm-x (TeX Live) config.lt 20250410
+dvipdfm-x (TeX Live) config.lt 20250413
configured by $0, generated by GNU Autoconf 2.72.
Copyright (C) 2024 Free Software Foundation, Inc.
@@ -18885,7 +18885,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by dvipdfm-x (TeX Live) $as_me 20250410, which was
+This file was extended by dvipdfm-x (TeX Live) $as_me 20250413, which was
generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -18957,7 +18957,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-dvipdfm-x (TeX Live) config.status 20250410
+dvipdfm-x (TeX Live) config.status 20250413
configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"
Modified: trunk/Build/source/texk/dvipdfm-x/configure.ac
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/configure.ac 2025-04-12 21:13:07 UTC (rev 74922)
+++ trunk/Build/source/texk/dvipdfm-x/configure.ac 2025-04-12 21:28:33 UTC (rev 74923)
@@ -8,7 +8,7 @@
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl
-AC_INIT([dvipdfm-x (TeX Live)], [20250410], [dvipdfmx at tug.org])
+AC_INIT([dvipdfm-x (TeX Live)], [20250413], [dvipdfmx at tug.org])
AC_PREREQ([2.65])
AC_CONFIG_SRCDIR([agl.c])
AC_CONFIG_AUX_DIR([../../build-aux])
Modified: trunk/Build/source/texk/dvipdfm-x/dvipdfmx.c
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/dvipdfmx.c 2025-04-12 21:13:07 UTC (rev 74922)
+++ trunk/Build/source/texk/dvipdfm-x/dvipdfmx.c 2025-04-12 21:28:33 UTC (rev 74923)
@@ -588,6 +588,9 @@
break;
case 'o':
+ if (pdf_filename) {
+ RELEASE(pdf_filename);
+ }
pdf_filename = NEW (strlen(optarg)+1, char);
strcpy(pdf_filename, optarg);
break;
@@ -1119,17 +1122,9 @@
if (!dvi_filename) {
if (verbose)
MESG("No dvi filename specified, reading standard input.\n");
- if (!pdf_filename)
- if (verbose)
- MESG("No pdf filename specified, writing to standard output.\n");
} else if (!pdf_filename)
set_default_pdf_filename();
- if (pdf_filename && !strcmp(pdf_filename, "-")) {
- RELEASE(pdf_filename);
- pdf_filename = NULL;
- }
-
if (dpx_conf.compat_mode == dpx_mode_mpost_mode) {
x_offset = 0.0;
y_offset = 0.0;
@@ -1157,6 +1152,19 @@
}
}
+ /* moved to here because -o - was not effective */
+ if (pdf_filename && !strcmp(pdf_filename, "-")) {
+ RELEASE(pdf_filename);
+ pdf_filename = NULL;
+ }
+
+ /* moved to here because an incorrect message:
+ "No pdf filename specified, writing to standard output."
+ is printed for xdvipdfmx -v -o foo.pdf < foo.xdv */
+ if (!pdf_filename)
+ if (verbose)
+ MESG("No pdf filename specified, writing to standard output.\n");
+
/* moved to here because -r option was not effective */
#ifndef MIKTEX
kpse_init_prog("", font_dpi, NULL, NULL);
More information about the tex-live-commits
mailing list.