texlive[54957] Build/source/texk/seetexk: seetexk: Add version number

commits+takuji at tug.org commits+takuji at tug.org
Fri May 1 11:58:54 CEST 2020


Revision: 54957
          http://tug.org/svn/texlive?view=revision&revision=54957
Author:   takuji
Date:     2020-05-01 11:58:54 +0200 (Fri, 01 May 2020)
Log Message:
-----------
seetexk: Add version number and bug report address in usage

Modified Paths:
--------------
    trunk/Build/source/texk/seetexk/ChangeLog
    trunk/Build/source/texk/seetexk/Makefile.am
    trunk/Build/source/texk/seetexk/Makefile.in
    trunk/Build/source/texk/seetexk/config.h.in
    trunk/Build/source/texk/seetexk/configure
    trunk/Build/source/texk/seetexk/configure.ac
    trunk/Build/source/texk/seetexk/dvibook.c
    trunk/Build/source/texk/seetexk/dviconcat.c
    trunk/Build/source/texk/seetexk/dviselect.c
    trunk/Build/source/texk/seetexk/dvitodvi.c
    trunk/Build/source/texk/seetexk/error.h

Added Paths:
-----------
    trunk/Build/source/texk/seetexk/common.h

Modified: trunk/Build/source/texk/seetexk/ChangeLog
===================================================================
--- trunk/Build/source/texk/seetexk/ChangeLog	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/ChangeLog	2020-05-01 09:58:54 UTC (rev 54957)
@@ -1,3 +1,10 @@
+2020-05-01  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
+
+	* configure.ac: SeeTeX Ver.20200501
+	* dvibook.c, dviconcat.c, dviselect.c, dvitodvi.c, common.h,
+	Makefile.{in,am}, config.h.in, error.h:
+	Show version number and bug report address in usage.
+
 2019-02-22  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 
 	* dviconcat.c: Set DVI ID to 3 if at least one input DVI file

Modified: trunk/Build/source/texk/seetexk/Makefile.am
===================================================================
--- trunk/Build/source/texk/seetexk/Makefile.am	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/Makefile.am	2020-05-01 09:58:54 UTC (rev 54957)
@@ -25,7 +25,8 @@
 	seek.c \
 	tempfile.c \
 	tempfile.h \
-	types.h
+	types.h \
+	common.h
 
 $(libtex_a_OBJECTS): $(KPATHSEA_DEPEND)
 

Modified: trunk/Build/source/texk/seetexk/Makefile.in
===================================================================
--- trunk/Build/source/texk/seetexk/Makefile.in	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/Makefile.in	2020-05-01 09:58:54 UTC (rev 54957)
@@ -598,7 +598,8 @@
 	seek.c \
 	tempfile.c \
 	tempfile.h \
-	types.h
+	types.h \
+	common.h
 
 LDADD = libtex.a $(KPATHSEA_LIBS)
 noinst_HEADERS = \

Added: trunk/Build/source/texk/seetexk/common.h
===================================================================
--- trunk/Build/source/texk/seetexk/common.h	                        (rev 0)
+++ trunk/Build/source/texk/seetexk/common.h	2020-05-01 09:58:54 UTC (rev 54957)
@@ -0,0 +1,9 @@
+#define BUG_ADDRESS "tex-k at tug.org"
+
+#if defined(WIN32) && defined(KPATHSEA)
+#undef fopen
+#undef vfprintf
+#define fopen    fsyscp_fopen
+#define vfprintf win32_vfprintf
+#endif
+

Modified: trunk/Build/source/texk/seetexk/config.h.in
===================================================================
--- trunk/Build/source/texk/seetexk/config.h.in	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/config.h.in	2020-05-01 09:58:54 UTC (rev 54957)
@@ -133,6 +133,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/seetexk/configure
===================================================================
--- trunk/Build/source/texk/seetexk/configure	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/configure	2020-05-01 09:58:54 UTC (rev 54957)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for SeeTeX (TeX Live) 1.1.
+# Generated by GNU Autoconf 2.69 for SeeTeX (TeX Live) 20200501.
 #
 # Report bugs to <tex-k at tug.org>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='SeeTeX (TeX Live)'
 PACKAGE_TARNAME='seetex--tex-live-'
-PACKAGE_VERSION='1.1'
-PACKAGE_STRING='SeeTeX (TeX Live) 1.1'
+PACKAGE_VERSION='20200501'
+PACKAGE_STRING='SeeTeX (TeX Live) 20200501'
 PACKAGE_BUGREPORT='tex-k at tug.org'
 PACKAGE_URL=''
 
@@ -739,6 +739,7 @@
 docdir
 oldincludedir
 includedir
+runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -825,6 +826,7 @@
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1077,6 +1079,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=* \
@@ -1214,7 +1225,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.
@@ -1327,7 +1338,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 SeeTeX (TeX Live) 1.1 to adapt to many kinds of systems.
+\`configure' configures SeeTeX (TeX Live) 20200501 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1367,6 +1378,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]
@@ -1398,7 +1410,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of SeeTeX (TeX Live) 1.1:";;
+     short | recursive ) echo "Configuration of SeeTeX (TeX Live) 20200501:";;
    esac
   cat <<\_ACEOF
 
@@ -1517,7 +1529,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-SeeTeX (TeX Live) configure 1.1
+SeeTeX (TeX Live) configure 20200501
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2173,7 +2185,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by SeeTeX (TeX Live) $as_me 1.1, which was
+It was created by SeeTeX (TeX Live) $as_me 20200501, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -7860,7 +7872,7 @@
 
 # Define the identity of the package.
  PACKAGE='seetex--tex-live-'
- VERSION='1.1'
+ VERSION='20200501'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -12684,7 +12696,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];
@@ -12730,7 +12742,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];
@@ -12754,7 +12766,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];
@@ -12799,7 +12811,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];
@@ -12823,7 +12835,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];
@@ -13467,6 +13479,11 @@
 ac_config_headers="$ac_config_headers config.h"
 
 
+
+
+$as_echo "#define TL_VERSION \"TeX Live 2021/dev\"" >>confdefs.h
+
+
 for ac_func in strerror
 do :
   ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
@@ -13942,7 +13959,7 @@
 Report bugs to <bug-libtool at gnu.org>."
 
 lt_cl_version="\
-SeeTeX (TeX Live) config.lt 1.1
+SeeTeX (TeX Live) config.lt 20200501
 configured by $0, generated by GNU Autoconf 2.69.
 
 Copyright (C) 2011 Free Software Foundation, Inc.
@@ -15527,7 +15544,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by SeeTeX (TeX Live) $as_me 1.1, which was
+This file was extended by SeeTeX (TeX Live) $as_me 20200501, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15593,7 +15610,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-SeeTeX (TeX Live) config.status 1.1
+SeeTeX (TeX Live) config.status 20200501
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 

Modified: trunk/Build/source/texk/seetexk/configure.ac
===================================================================
--- trunk/Build/source/texk/seetexk/configure.ac	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/configure.ac	2020-05-01 09:58:54 UTC (rev 54957)
@@ -6,7 +6,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([SeeTeX (TeX Live)], [1.1], [tex-k at tug.org])
+AC_INIT([SeeTeX (TeX Live)], [20200501], [tex-k at tug.org])
 AC_PREREQ([2.65])
 AC_CONFIG_SRCDIR([dviselect.c])
 AC_CONFIG_AUX_DIR([../../build-aux])
@@ -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.])
+
 AC_CHECK_FUNCS([strerror])
 AC_CHECK_HEADERS([errno.h])
 

Modified: trunk/Build/source/texk/seetexk/dvibook.c
===================================================================
--- trunk/Build/source/texk/seetexk/dvibook.c	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/dvibook.c	2020-05-01 09:58:54 UTC (rev 54957)
@@ -56,12 +56,8 @@
 #include <stdio.h>
 #include <ctype.h>
 #include "seek.h"
+#include "common.h"
 
-#if defined(WIN32) && defined(KPATHSEA)
-#undef fopen
-#define fopen  fsyscp_fopen
-#endif
-
 #define white(x) ((x) == ' ' || (x) == '\t' || (x) == ',')
 
 #define MAXDVIPAGES 1000 /* max (absolute) pages in DVI file */
@@ -466,6 +462,8 @@
 
 		case '?':
 usage:
+			(void) fprintf(stderr,
+				"dvibook  in SeeTeX Ver.%s (%s)\n", VERSION, TL_VERSION);
 #ifdef	ASCIIPTEX
 			(void) fprintf(stderr, "\
 Usage: %s [-s signature] [-q] [-i infile] [-o outfile] [-r] [infile [outfile]]\n",
@@ -475,6 +473,8 @@
 Usage: %s [-s signature] [-q] [-i infile] [-o outfile] [infile [outfile]]\n",
 				ProgName);
 #endif
+			(void) fprintf(stderr,
+				"\nEmail bug reports to %s.\n", BUG_ADDRESS);
 			(void) fflush(stderr);
 			exit(1);
 		}

Modified: trunk/Build/source/texk/seetexk/dviconcat.c
===================================================================
--- trunk/Build/source/texk/seetexk/dviconcat.c	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/dviconcat.c	2020-05-01 09:58:54 UTC (rev 54957)
@@ -52,12 +52,8 @@
 #include "search.h"
 #include <stdio.h>
 #include <ctype.h>
+#include "common.h"
 
-#if defined(WIN32) && defined(KPATHSEA)
-#undef fopen
-#define fopen  fsyscp_fopen
-#endif
-
 char *ProgName;
 
 /*
@@ -440,8 +436,12 @@
 		case '?':
 usage:
 			(void) fprintf(stderr,
+				"dviconcat  in SeeTeX Ver.%s (%s)\n", VERSION, TL_VERSION);
+			(void) fprintf(stderr,
 			    "Usage: %s [-m mag] [-o outfile] [files]\n",
 			    ProgName);
+			(void) fprintf(stderr,
+				"\nEmail bug reports to %s.\n", BUG_ADDRESS);
 			(void) fflush(stderr);
 			exit(1);
 		}

Modified: trunk/Build/source/texk/seetexk/dviselect.c
===================================================================
--- trunk/Build/source/texk/seetexk/dviselect.c	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/dviselect.c	2020-05-01 09:58:54 UTC (rev 54957)
@@ -58,12 +58,8 @@
 #include "search.h"
 #include <stdio.h>
 #include <ctype.h>
+#include "common.h"
 
-#if defined(WIN32) && defined(KPATHSEA)
-#undef fopen
-#define fopen  fsyscp_fopen
-#endif
-
 #define white(x) ((x) == ' ' || (x) == '\t' || (x) == ',')
 
 char  *ProgName;
@@ -571,9 +567,13 @@
 
 		case '?':
 usage:
+			(void) fprintf(stderr,
+				"dviselect  in SeeTeX Ver.%s (%s)\n", VERSION, TL_VERSION);
 			(void) fprintf(stderr, "\
 Usage: %s [-s] [-i infile] [-o outfile] pages [...] [infile [outfile]]\n",
 				ProgName);
+			(void) fprintf(stderr,
+				"\nEmail bug reports to %s.\n", BUG_ADDRESS);
 			(void) fflush(stderr);
 			exit(1);
 		}

Modified: trunk/Build/source/texk/seetexk/dvitodvi.c
===================================================================
--- trunk/Build/source/texk/seetexk/dvitodvi.c	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/dvitodvi.c	2020-05-01 09:58:54 UTC (rev 54957)
@@ -56,12 +56,8 @@
 #include <stdio.h>
 #include <ctype.h>
 #include "seek.h"
+#include "common.h"
 
-#if defined(WIN32) && defined(KPATHSEA)
-#undef fopen
-#define fopen  fsyscp_fopen
-#endif
-
 #define white(x) ((x) == ' ' || (x) == '\t' || (x) == ',')
 
 #define MAXDVIPAGES 1000 /* max (absolute) pages in DVI file */
@@ -686,9 +682,13 @@
 
 		case '?':
 usage:
+			(void) fprintf(stderr,
+				"dvitodvi  in SeeTeX Ver.%s (%s)\n", VERSION, TL_VERSION);
 			(void) fprintf(stderr, "\
 Usage: %s [-q] [-i infile] [-o outfile] [-w width] [-h height] <pagespecs> [infile [outfile]]\n",
 				ProgName);
+			(void) fprintf(stderr,
+				"\nEmail bug reports to %s.\n", BUG_ADDRESS);
 			(void) fflush(stderr);
 			exit(1);
 		}

Modified: trunk/Build/source/texk/seetexk/error.h
===================================================================
--- trunk/Build/source/texk/seetexk/error.h	2020-05-01 02:28:43 UTC (rev 54956)
+++ trunk/Build/source/texk/seetexk/error.h	2020-05-01 09:58:54 UTC (rev 54957)
@@ -30,8 +30,3 @@
 void	panic(const char *fmt, ...);
 
 void	SetErrorTrap(void (*fn)(int quit, const char *text));
-
-#if defined(WIN32) && defined(KPATHSEA)
-#undef vfprintf
-#define vfprintf  win32_vfprintf
-#endif



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