texlive[58827] Build/source/texk: dvips: add TeX Live version to

commits+takuji at tug.org commits+takuji at tug.org
Sun Apr 11 06:11:47 CEST 2021


Revision: 58827
          http://tug.org/svn/texlive?view=revision&revision=58827
Author:   takuji
Date:     2021-04-11 06:11:47 +0200 (Sun, 11 Apr 2021)
Log Message:
-----------
dvips: add TeX Live version to banner

Modified Paths:
--------------
    trunk/Build/source/texk/README
    trunk/Build/source/texk/dvipsk/ChangeLog
    trunk/Build/source/texk/dvipsk/c-auto.in
    trunk/Build/source/texk/dvipsk/configure
    trunk/Build/source/texk/dvipsk/configure.ac
    trunk/Build/source/texk/dvipsk/dvips.h

Modified: trunk/Build/source/texk/README
===================================================================
--- trunk/Build/source/texk/README	2021-04-11 01:28:16 UTC (rev 58826)
+++ trunk/Build/source/texk/README	2021-04-11 04:11:47 UTC (rev 58827)
@@ -107,7 +107,7 @@
 
 ttfdump - maintained here, by us, since Taiwan upstream apparently gone.
 
-upmendex 0.54 - by Takuji Tanaka
+upmendex 0.55 - by Takuji Tanaka
   http://www.ctan.org/pkg/upmendex
   https://github.com/t-tk/upmendex-package
 

Modified: trunk/Build/source/texk/dvipsk/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvipsk/ChangeLog	2021-04-11 01:28:16 UTC (rev 58826)
+++ trunk/Build/source/texk/dvipsk/ChangeLog	2021-04-11 04:11:47 UTC (rev 58827)
@@ -1,3 +1,8 @@
+2021-04-11  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
+
+	* dvips.h, configure.ac:
+	Add TeX Live version to banner.
+
 2021-04-10  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
 
 	* {pprescan,scanpage}.c:

Modified: trunk/Build/source/texk/dvipsk/c-auto.in
===================================================================
--- trunk/Build/source/texk/dvipsk/c-auto.in	2021-04-11 01:28:16 UTC (rev 58826)
+++ trunk/Build/source/texk/dvipsk/c-auto.in	2021-04-11 04:11:47 UTC (rev 58827)
@@ -130,6 +130,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/dvipsk/configure
===================================================================
--- trunk/Build/source/texk/dvipsk/configure	2021-04-11 01:28:16 UTC (rev 58826)
+++ trunk/Build/source/texk/dvipsk/configure	2021-04-11 04:11:47 UTC (rev 58827)
@@ -13745,6 +13745,11 @@
 fi
 
 
+
+
+$as_echo "#define TL_VERSION \"TeX Live 2021\"" >>confdefs.h
+
+
 kpse_save_CPPFLAGS=$CPPFLAGS
 kpse_save_LIBS=$LIBS
 

Modified: trunk/Build/source/texk/dvipsk/configure.ac
===================================================================
--- trunk/Build/source/texk/dvipsk/configure.ac	2021-04-11 01:28:16 UTC (rev 58826)
+++ trunk/Build/source/texk/dvipsk/configure.ac	2021-04-11 04:11:47 UTC (rev 58827)
@@ -24,6 +24,10 @@
 
 AC_SEARCH_LIBS([pow], [m])
 
+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.])
+
 KPSE_KPATHSEA_FLAGS
 
 # For dvips-all.enc.

Modified: trunk/Build/source/texk/dvipsk/dvips.h
===================================================================
--- trunk/Build/source/texk/dvipsk/dvips.h	2021-04-11 01:28:16 UTC (rev 58826)
+++ trunk/Build/source/texk/dvipsk/dvips.h	2021-04-11 04:11:47 UTC (rev 58827)
@@ -15,7 +15,7 @@
 #define CD_IDX(i)  ((i>=MAX_2BYTES_CODE ? MAX_2BYTES_CODE : i))
 
 #define BANNER \
-"This is dvips(k) 2021.1 Copyright 2021 Radical Eye Software"
+"This is dvips(k) " VERSION " (" TL_VERSION ")  Copyright 2021 Radical Eye Software"
 #define BANNER2 "(www.radicaleye.com)"
 #ifdef KPATHSEA
 #include "config.h"



More information about the tex-live-commits mailing list.