-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into build/work000 r68969 #158
- Loading branch information
Showing
45 changed files
with
838 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#! /bin/sh | ||
# Wrapper for compilers which do not understand '-c -o'. | ||
|
||
scriptversion=2018-03-07.03; # UTC | ||
scriptversion=2023-11-23.18; # UTC | ||
|
||
# Copyright (C) 1999-2023 Free Software Foundation, Inc. | ||
# Written by Tom Tromey <[email protected]>. | ||
|
@@ -143,7 +143,7 @@ func_cl_wrapper () | |
# configure might choose to run compile as 'compile cc -o foo foo.c'. | ||
eat=1 | ||
case $2 in | ||
*.o | *.[oO][bB][jJ]) | ||
*.o | *.lo | *.[oO][bB][jJ]) | ||
func_file_conv "$2" | ||
set x "$@" -Fo"$file" | ||
shift | ||
|
@@ -248,6 +248,8 @@ If you are trying to build a whole package this is not the | |
right script to run: please start by reading the file 'INSTALL'. | ||
Report bugs to <[email protected]>. | ||
GNU Automake home page: <https://www.gnu.org/software/automake/>. | ||
General help using GNU software: <https://www.gnu.org/gethelp/>. | ||
EOF | ||
exit $? | ||
;; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#! /bin/sh | ||
# depcomp - compile a program generating dependencies as side-effects | ||
|
||
scriptversion=2022-09-18.14; # UTC | ||
scriptversion=2023-11-23.18; # UTC | ||
|
||
# Copyright (C) 1999-2023 Free Software Foundation, Inc. | ||
|
||
|
@@ -47,6 +47,8 @@ Environment variables: | |
libtool Whether libtool is used (yes/no). | ||
Report bugs to <[email protected]>. | ||
GNU Automake home page: <https://www.gnu.org/software/automake/>. | ||
General help using GNU software: <https://www.gnu.org/gethelp/>. | ||
EOF | ||
exit $? | ||
;; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
# install - install a program, script, or datafile | ||
|
||
scriptversion=2020-11-14.01; # UTC | ||
scriptversion=2023-11-23.18; # UTC | ||
|
||
# This originates from X11R5 (mit/util/scripts/install.sh), which was | ||
# later released in X11R6 (xc/config/util/install.sh) with the | ||
|
@@ -124,9 +124,9 @@ it's up to you to specify -f if you want it. | |
If -S is not specified, no backups are attempted. | ||
Email bug reports to [email protected]. | ||
Automake home page: https://www.gnu.org/software/automake/ | ||
" | ||
Report bugs to <[email protected]>. | ||
GNU Automake home page: <https://www.gnu.org/software/automake/>. | ||
General help using GNU software: <https://www.gnu.org/gethelp/>." | ||
|
||
while test $# -ne 0; do | ||
case $1 in | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
# install - install a program, script, or datafile | ||
|
||
scriptversion=2020-11-14.01; # UTC | ||
scriptversion=2023-11-23.18; # UTC | ||
|
||
# This originates from X11R5 (mit/util/scripts/install.sh), which was | ||
# later released in X11R6 (xc/config/util/install.sh) with the | ||
|
@@ -124,9 +124,9 @@ it's up to you to specify -f if you want it. | |
If -S is not specified, no backups are attempted. | ||
Email bug reports to [email protected]. | ||
Automake home page: https://www.gnu.org/software/automake/ | ||
" | ||
Report bugs to <[email protected]>. | ||
GNU Automake home page: <https://www.gnu.org/software/automake/>. | ||
General help using GNU software: <https://www.gnu.org/gethelp/>." | ||
|
||
while test $# -ne 0; do | ||
case $1 in | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2023-11-24 Akira Kakuto <[email protected]> | ||
* dpxutil.c: Calculate time zone offset in the same way as | ||
in pdftex. | ||
* configure.ac: version 20231124. | ||
|
||
2023-11-18 Yukimasa Morimi <[email protected]> | ||
|
||
* cidtype2.c, unicode.c: Support for new Adobe-Japan1-UCS2 CMap. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! /bin/sh | ||
# Guess values for system-dependent variables and create Makefiles. | ||
# Generated by GNU Autoconf 2.71 for dvipdfm-x (TeX Live) 20231118. | ||
# Generated by GNU Autoconf 2.71 for dvipdfm-x (TeX Live) 20231124. | ||
# | ||
# Report bugs to <[email protected]>. | ||
# | ||
|
@@ -629,8 +629,8 @@ MAKEFLAGS= | |
# Identity of this package. | ||
PACKAGE_NAME='dvipdfm-x (TeX Live)' | ||
PACKAGE_TARNAME='dvipdfm-x--tex-live-' | ||
PACKAGE_VERSION='20231118' | ||
PACKAGE_STRING='dvipdfm-x (TeX Live) 20231118' | ||
PACKAGE_VERSION='20231124' | ||
PACKAGE_STRING='dvipdfm-x (TeX Live) 20231124' | ||
PACKAGE_BUGREPORT='[email protected]' | ||
PACKAGE_URL='' | ||
|
||
|
@@ -1396,7 +1396,7 @@ if test "$ac_init_help" = "long"; then | |
# 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) 20231118 to adapt to many kinds of systems. | ||
\`configure' configures dvipdfm-x (TeX Live) 20231124 to adapt to many kinds of systems. | ||
|
||
Usage: $0 [OPTION]... [VAR=VALUE]... | ||
|
||
|
@@ -1468,7 +1468,7 @@ fi | |
|
||
if test -n "$ac_init_help"; then | ||
case $ac_init_help in | ||
short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20231118:";; | ||
short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20231124:";; | ||
esac | ||
cat <<\_ACEOF | ||
|
||
|
@@ -1598,7 +1598,7 @@ fi | |
test -n "$ac_init_help" && exit $ac_status | ||
if $ac_init_version; then | ||
cat <<\_ACEOF | ||
dvipdfm-x (TeX Live) configure 20231118 | ||
dvipdfm-x (TeX Live) configure 20231124 | ||
generated by GNU Autoconf 2.71 | ||
|
||
Copyright (C) 2021 Free Software Foundation, Inc. | ||
|
@@ -2354,7 +2354,7 @@ cat >config.log <<_ACEOF | |
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 20231118, which was | ||
It was created by dvipdfm-x (TeX Live) $as_me 20231124, which was | ||
generated by GNU Autoconf 2.71. Invocation command line was | ||
|
||
$ $0$ac_configure_args_raw | ||
|
@@ -8795,7 +8795,7 @@ fi | |
|
||
# Define the identity of the package. | ||
PACKAGE='dvipdfm-x--tex-live-' | ||
VERSION='20231118' | ||
VERSION='20231124' | ||
|
||
|
||
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h | ||
|
@@ -15801,7 +15801,7 @@ Usage: $0 [OPTIONS] | |
Report bugs to <[email protected]>." | ||
|
||
lt_cl_version="\ | ||
dvipdfm-x (TeX Live) config.lt 20231118 | ||
dvipdfm-x (TeX Live) config.lt 20231124 | ||
configured by $0, generated by GNU Autoconf 2.71. | ||
|
||
Copyright (C) 2011 Free Software Foundation, Inc. | ||
|
@@ -17723,7 +17723,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
# 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 20231118, which was | ||
This file was extended by dvipdfm-x (TeX Live) $as_me 20231124, which was | ||
generated by GNU Autoconf 2.71. Invocation command line was | ||
|
||
CONFIG_FILES = $CONFIG_FILES | ||
|
@@ -17795,7 +17795,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
ac_cs_config='$ac_cs_config_escaped' | ||
ac_cs_version="\\ | ||
dvipdfm-x (TeX Live) config.status 20231118 | ||
dvipdfm-x (TeX Live) config.status 20231124 | ||
configured by $0, generated by GNU Autoconf 2.71, | ||
with options \\"\$ac_cs_config\\" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ dnl This file is free software; the copyright holder | |
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)], [20231118], [[email protected]]) | ||
AC_INIT([dvipdfm-x (TeX Live)], [20231124], [[email protected]]) | ||
AC_PREREQ([2.65]) | ||
AC_CONFIG_SRCDIR([agl.c]) | ||
AC_CONFIG_AUX_DIR([../../build-aux]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. | ||
Copyright (C) 2002-2020 by Jin-Hwan Cho and Shunsaku Hirata, | ||
Copyright (C) 2002-2023 by Jin-Hwan Cho and Shunsaku Hirata, | ||
the dvipdfmx project team. | ||
Copyright (C) 1998, 1999 by Mark A. Wicks <[email protected]> | ||
|
@@ -190,80 +190,66 @@ dpx_util_get_unique_time_if_given(void) | |
return ret; | ||
} | ||
|
||
|
||
#ifndef HAVE_TM_GMTOFF | ||
#ifndef HAVE_TIMEZONE | ||
|
||
/* auxiliary function to compute timezone offset on | ||
systems that do not support the tm_gmtoff in struct tm, | ||
or have a timezone variable. Such as i386-solaris. */ | ||
|
||
static int32_t | ||
compute_timezone_offset() | ||
{ | ||
time_t now; | ||
struct tm tm; | ||
struct tm local; | ||
time_t gmtoff; | ||
|
||
now = get_unique_time_if_given(); | ||
if (now == INVALID_EPOCH_VALUE) { | ||
now = time(NULL); | ||
localtime_r(&now, &local); | ||
gmtime_r(&now, &tm); | ||
return (mktime(&local) - mktime(&tm)); | ||
} else { | ||
return(0); | ||
} | ||
} | ||
|
||
#endif /* HAVE_TIMEZONE */ | ||
#endif /* HAVE_TM_GMTOFF */ | ||
|
||
/* | ||
* Docinfo | ||
*/ | ||
#define TIME_STR_SIZE 30 | ||
int | ||
dpx_util_format_asn_date (char *date_string, int need_timezone) | ||
{ | ||
int32_t tz_offset; | ||
int32_t off, off_hours, off_mins; | ||
time_t current_time; | ||
struct tm *bd_time; | ||
struct tm bd_time, gmt; | ||
size_t size; | ||
|
||
current_time = dpx_util_get_unique_time_if_given(); | ||
if (current_time == INVALID_EPOCH_VALUE) { | ||
time(¤t_time); | ||
bd_time = localtime(¤t_time); | ||
|
||
#ifdef HAVE_TM_GMTOFF | ||
tz_offset = bd_time->tm_gmtoff; | ||
#else | ||
# ifdef HAVE_TIMEZONE | ||
tz_offset = -timezone; | ||
# else | ||
tz_offset = compute_timezone_offset(); | ||
# endif /* HAVE_TIMEZONE */ | ||
#endif /* HAVE_TM_GMTOFF */ | ||
bd_time = *localtime(¤t_time); | ||
} else { | ||
bd_time = gmtime(¤t_time); | ||
tz_offset = 0; | ||
bd_time = *gmtime(¤t_time); | ||
} | ||
|
||
size = strftime(date_string, TIME_STR_SIZE, "D:%Y%m%d%H%M%S", &bd_time); | ||
/* expected format: "YYYYmmddHHMMSS" */ | ||
if (size == 0) { | ||
/* unexpected, contents of date_string is undefined */ | ||
date_string[0] = '\0'; | ||
return 0; | ||
} | ||
|
||
/* correction for seconds: %S can be in range 00..61, | ||
the PDF reference expects 00..59, | ||
therefore we map "60" and "61" to "59" */ | ||
if (date_string[14] == '6') { | ||
date_string[14] = '5'; | ||
date_string[15] = '9'; | ||
date_string[16] = '\0'; /* for safety */ | ||
} | ||
|
||
/* calculate the time zone offset in the same way as in texmfmp.c */ | ||
gmt = *gmtime(¤t_time); | ||
off = 60 * (bd_time.tm_hour - gmt.tm_hour) + bd_time.tm_min - gmt.tm_min; | ||
if (bd_time.tm_year != gmt.tm_year) { | ||
off += (bd_time.tm_year > gmt.tm_year) ? 1440 : -1440; | ||
} else if (bd_time.tm_yday != gmt.tm_yday) { | ||
off += (bd_time.tm_yday > gmt.tm_yday) ? 1440 : -1440; | ||
} | ||
|
||
if (need_timezone) { | ||
if (bd_time->tm_isdst > 0) { | ||
tz_offset += 3600; | ||
if (off == 0) { | ||
date_string[size++] = 'Z'; | ||
date_string[size] = 0; | ||
} else { | ||
off_hours = off / 60; | ||
off_mins = abs(off - off_hours * 60); | ||
sprintf(&date_string[size], "%+03d'%02d'", off_hours, off_mins); | ||
} | ||
sprintf(date_string, "D:%04d%02d%02d%02d%02d%02d%c%02d'%02d'", | ||
bd_time->tm_year + 1900, bd_time->tm_mon + 1, bd_time->tm_mday, | ||
bd_time->tm_hour, bd_time->tm_min, bd_time->tm_sec, | ||
(tz_offset > 0) ? '+' : '-', abs(tz_offset) / 3600, | ||
(abs(tz_offset) / 60) % 60); | ||
} else { | ||
sprintf(date_string, "D:%04d%02d%02d%02d%02d%02d", | ||
bd_time->tm_year + 1900, bd_time->tm_mon + 1, bd_time->tm_mday, | ||
bd_time->tm_hour, bd_time->tm_min, bd_time->tm_sec); | ||
date_string[size] = 0; | ||
} | ||
|
||
return strlen(date_string); | ||
return (int)strlen(date_string); | ||
} | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
2023-11-24 TANAKA Takuji <[email protected]> | ||
|
||
* tests/fn-generate.perl: Add test for file names with | ||
over-BMP (4byte UTF-8). | ||
https://tug.org/pipermail/tex-live/2023-November/049685.html | ||
|
||
2023-11-19 Karl Berry <[email protected]> | ||
|
||
* tex.ch, | ||
* mf.ch (Undump the dynamic memory): improve fmt/base corruption | ||
checks, from DRF. | ||
|
||
2023-11-19 Andreas Scherer <https://ascherer.github.io> | ||
|
||
* ctangleboot.cin, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.