texlive[54967] Build/source/texk/dvidvi: dvidvi: Add TL version to
commits+takuji at tug.org
commits+takuji at tug.org
Sat May 2 00:27:05 CEST 2020
Revision: 54967
http://tug.org/svn/texlive?view=revision&revision=54967
Author: takuji
Date: 2020-05-02 00:27:04 +0200 (Sat, 02 May 2020)
Log Message:
-----------
dvidvi: Add TL version to banner and bug report address to usage
Modified Paths:
--------------
trunk/Build/source/texk/dvidvi/ChangeLog
trunk/Build/source/texk/dvidvi/config.h.in
trunk/Build/source/texk/dvidvi/configure
trunk/Build/source/texk/dvidvi/configure.ac
trunk/Build/source/texk/dvidvi/dvidvi.c
trunk/Build/source/texk/dvidvi/tests/playout.2
trunk/Build/source/texk/dvidvi/tests/playout.3
Modified: trunk/Build/source/texk/dvidvi/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvidvi/ChangeLog 2020-05-01 21:35:41 UTC (rev 54966)
+++ trunk/Build/source/texk/dvidvi/ChangeLog 2020-05-01 22:27:04 UTC (rev 54967)
@@ -1,6 +1,12 @@
+2020-05-02 TANAKA Takuji <ttk at t-lab.opal.ne.jp>
+
+ * configure.ac, config.h.in, dvidvi.c:
+ Add TL version to banner and bug report address to usage.
+ * tests/playout.2, tests/playout.3: Adapt.
+
2018-05-16 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
- * tests/palyout.2, tests/palyout.3: Adapt.
+ * tests/playout.2, tests/playout.3: Adapt.
2018-05-15 Karl Berry <karl at freefriends.org>
Modified: trunk/Build/source/texk/dvidvi/config.h.in
===================================================================
--- trunk/Build/source/texk/dvidvi/config.h.in 2020-05-01 21:35:41 UTC (rev 54966)
+++ trunk/Build/source/texk/dvidvi/config.h.in 2020-05-01 22:27:04 UTC (rev 54967)
@@ -127,6 +127,9 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
+/* Define to the current TeX Live version string. */
+#undef TL_VERSION
+
/* Version number of package */
#undef VERSION
Modified: trunk/Build/source/texk/dvidvi/configure
===================================================================
--- trunk/Build/source/texk/dvidvi/configure 2020-05-01 21:35:41 UTC (rev 54966)
+++ trunk/Build/source/texk/dvidvi/configure 2020-05-01 22:27:04 UTC (rev 54967)
@@ -741,6 +741,7 @@
docdir
oldincludedir
includedir
+runstatedir
localstatedir
sharedstatedir
sysconfdir
@@ -827,6 +828,7 @@
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1079,6 +1081,15 @@
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ -runstatedir | --runstatedir | --runstatedi | --runstated \
+ | --runstate | --runstat | --runsta | --runst | --runs \
+ | --run | --ru | --r)
+ ac_prev=runstatedir ;;
+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+ | --run=* | --ru=* | --r=*)
+ runstatedir=$ac_optarg ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1216,7 +1227,7 @@
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
+ libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
@@ -1369,6 +1380,7 @@
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
@@ -12686,7 +12698,7 @@
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -12732,7 +12744,7 @@
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -12756,7 +12768,7 @@
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -12801,7 +12813,7 @@
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -12825,7 +12837,7 @@
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -13469,6 +13481,11 @@
ac_config_headers="$ac_config_headers config.h"
+
+
+$as_echo "#define TL_VERSION \"TeX Live 2021/dev\"" >>confdefs.h
+
+
# We don't use libpathsea, so add '-DNO_DEBUG' not to overload fopen.
kpse_save_CPPFLAGS=$CPPFLAGS
kpse_save_LIBS=$LIBS
Modified: trunk/Build/source/texk/dvidvi/configure.ac
===================================================================
--- trunk/Build/source/texk/dvidvi/configure.ac 2020-05-01 21:35:41 UTC (rev 54966)
+++ trunk/Build/source/texk/dvidvi/configure.ac 2020-05-01 22:27:04 UTC (rev 54967)
@@ -17,6 +17,10 @@
AC_CONFIG_HEADERS([config.h])
+m4_include([../../version.ac])[] dnl define tex_live_version
+AC_DEFINE([TL_VERSION], ["TeX Live tex_live_version()"],
+ [Define to the current TeX Live version string.])
+
# We don't use libpathsea, so add '-DNO_DEBUG' not to overload fopen.
KPSE_KPATHSEA_FLAGS([no-debug])
KPSE_COND_WIN32
Modified: trunk/Build/source/texk/dvidvi/dvidvi.c
===================================================================
--- trunk/Build/source/texk/dvidvi/dvidvi.c 2020-05-01 21:35:41 UTC (rev 54966)
+++ trunk/Build/source/texk/dvidvi/dvidvi.c 2020-05-01 22:27:04 UTC (rev 54967)
@@ -34,8 +34,10 @@
#define SEEK_CUR 1
#define SEEK_END 2
-#define BANNER "\nThis is dvidvi 1.1, Copyright 1988-1991 Radical Eye Software\n" \
+#define BANNER "\nThis is dvidvi " VERSION " (" TL_VERSION ")," \
+ " Copyright 1988-1991 Radical Eye Software\n" \
"Improved from 1.0 to 1.1, 1994, Markus Kohm\n"
+#define BUG_ADDRESS PACKAGE_BUGREPORT
#define STRINGSIZE (500L) /* maximum number of strings in program */
#ifdef HAVE_CONFIG_H
@@ -359,6 +361,7 @@
(void)fprintf(stderr," [-q] quiet mode [-r] reverse pages\n");
(void)fprintf(stderr," [-m modulo:pagespecs] [-j] jumping pages\n");
(void)fprintf(stderr," [-p pagemodulo]\n");
+ (void)fprintf(stderr,"\nEmail bug reports to %s.\n", BUG_ADDRESS);
#ifndef VMS
exit(1) ;
#else /* VMS */
Modified: trunk/Build/source/texk/dvidvi/tests/playout.2
===================================================================
--- trunk/Build/source/texk/dvidvi/tests/playout.2 2020-05-01 21:35:41 UTC (rev 54966)
+++ trunk/Build/source/texk/dvidvi/tests/playout.2 2020-05-01 22:27:04 UTC (rev 54967)
@@ -1,5 +1,5 @@
-This is dvidvi 1.1, Copyright 1988-1991 Radical Eye Software
+This is dvidvi 1.1 (TeX Live 2021/dev), Copyright 1988-1991 Radical Eye Software
Improved from 1.0 to 1.1, 1994, Markus Kohm
play.dvi -> playout.dvi
[5] [12] [9] [8] [13]
Modified: trunk/Build/source/texk/dvidvi/tests/playout.3
===================================================================
--- trunk/Build/source/texk/dvidvi/tests/playout.3 2020-05-01 21:35:41 UTC (rev 54966)
+++ trunk/Build/source/texk/dvidvi/tests/playout.3 2020-05-01 22:27:04 UTC (rev 54967)
@@ -1,5 +1,5 @@
-This is dvidvi 1.1, Copyright 1988-1991 Radical Eye Software
+This is dvidvi 1.1 (TeX Live 2021/dev), Copyright 1988-1991 Radical Eye Software
Improved from 1.0 to 1.1, 1994, Markus Kohm
playtate.dvi -> playout.dvi
[5] [12] [9] [8] [13]
More information about the tex-live-commits
mailing list.