Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
Sync with TeX Live revision 49770 (trunk).
Browse files Browse the repository at this point in the history
git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7041 0b2b3880-5936-4365-a048-eb17d2e5a6bf
  • Loading branch information
luigiScarso committed Jan 20, 2019
1 parent db10e58 commit cb73863
Show file tree
Hide file tree
Showing 41 changed files with 5,242 additions and 1,984 deletions.
17 changes: 2 additions & 15 deletions source/build-aux/config.guess
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2019 Free Software Foundation, Inc.

timestamp='2019-01-03'
timestamp='2019-01-15'

# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -385,20 +385,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
exit ;;
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
set_cc_for_build
SUN_ARCH=sparc
# If there is a compiler, see if it is configured for 64-bit objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# This test works for both compilers.
if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
if (echo '#ifdef __sparcv9'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
SUN_ARCH=sparcv9
fi
fi
echo "$SUN_ARCH"-sun-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
exit ;;
i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
echo i386-pc-auroraux"$UNAME_RELEASE"
Expand Down
20 changes: 12 additions & 8 deletions source/build-aux/config.sub
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2019 Free Software Foundation, Inc.

timestamp='2019-01-01'
timestamp='2019-01-05'

# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -111,6 +111,7 @@ case $# in
esac

# Split fields of configuration type
# shellcheck disable=SC2162
IFS="-" read field1 field2 field3 field4 <<EOF
$1
EOF
Expand Down Expand Up @@ -918,6 +919,7 @@ case $basic_machine in
;;

*-*)
# shellcheck disable=SC2162
IFS="-" read cpu vendor <<EOF
$basic_machine
EOF
Expand Down Expand Up @@ -1183,13 +1185,13 @@ case $cpu-$vendor in
| le32 | le64 \
| lm32 \
| m32c | m32r | m32rle \
| m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k | v70 | w65 \
| m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip \
| m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
| m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
| m88110 | m88k | maxq | mb | mcore | mep | metag \
| microblaze | microblazeel \
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
| mips64 | mips64eb | mips64el \
| mips64octeon | mips64octeonel \
| mips64orion | mips64orionel \
| mips64r5900 | mips64r5900el \
Expand All @@ -1216,19 +1218,21 @@ case $cpu-$vendor in
| nds32 | nds32le | nds32be \
| nfp \
| nios | nios2 | nios2eb | nios2el \
| none | np1 | ns16k | ns32k \
| none | np1 | ns16k | ns32k | nvptx \
| open8 \
| or1k* \
| or32 \
| orion \
| picochip \
| pdp10 | pdp11 | pj | pjl | pn | power \
| powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
| pru \
| pyramid \
| riscv | riscv32 | riscv64 \
| rl78 | romp | rs6000 | rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \
| sh | shl \
| sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \
| sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \
| sparclite \
Expand All @@ -1238,10 +1242,10 @@ case $cpu-$vendor in
| tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
| tron \
| ubicom32 \
| v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
| v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
| vax \
| visium \
| wasm32 \
| w65 | wasm32 \
| we32k \
| x86 | x86_64 | xc16x | xgate | xps100 \
| xstormy16 | xtensa* \
Expand Down
7 changes: 4 additions & 3 deletions source/build-aux/texinfo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
%
\def\texinfoversion{2018-12-28.17}
\def\texinfoversion{2019-01-03-15}

%
% Copyright 1985, 1986, 1988, 1990-2018 Free Software Foundation, Inc.
%
Expand Down Expand Up @@ -5043,8 +5044,8 @@
\commondummyword\xref
}
% For testing: output @{ and @} in index sort strings as \{ and \}.
\newif\ifusebracesinindexes
% This does nothing, but for a time it was recommended to use
% \usebracesinindexestrue to be able to use braces in index entries.
\let\indexlbrace\relax
\let\indexrbrace\relax
Expand Down
4 changes: 2 additions & 2 deletions source/libs/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$Id: README 49473 2018-12-22 00:39:38Z kakuto $
$Id: README 49641 2019-01-08 19:24:46Z karl $
Public domain. Originally created by Karl Berry, 2005.

Libraries we compile for TeX Live.
Expand Down Expand Up @@ -28,7 +28,7 @@ graphite2 1.3.13 - checked 21dec18
harfbuzz 2.3.0 - checked 22dec18
http://www.freedesktop.org/software/harfbuzz/release/

icu 61.1 - checked 29mar18
icu 63.1 - checked 8jan19
http://download.icu-project.org/files/icu4c/

libpaper 1.1.24+nmu2 - checked 24oct13
Expand Down
9 changes: 0 additions & 9 deletions source/libs/luajit/configure
Original file line number Diff line number Diff line change
Expand Up @@ -14372,15 +14372,6 @@ case $host_os:$host_cpu in #(
*) :
;;
esac
case $host_os:$host_cpu:$CC in #(
*openbsd*:x86_64:clang) :
LIBLUAJIT_LDEXTRA='-lc++abi -lpthread' ;; #(
*openbsd*:i386:clang) :
LIBLUAJIT_LDEXTRA='-lc++abi -lpthread' ;; #(
*) :
;;
esac



if test "x$enable_build" != xno; then
Expand Down
10 changes: 1 addition & 9 deletions source/libs/luajit/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,10 @@ AC_SUBST([LUAJIT_CFLAGS])
AC_SUBST([LJHOST])
AC_SUBST([LJVM_MODE])

dnl Extra switches
dnl We support openbsd x86_64 and i386,
dnl other platforms could be require different switches .
dnl
AS_CASE([$host_os:$host_cpu],
[*darwin*:x86_64], [LIBLUAJIT_LDEXTRA='-image_base 7fff04c4a000'])
AS_CASE([$host_os:$host_cpu:$CC],
[*openbsd*:x86_64:clang], [LIBLUAJIT_LDEXTRA='-lc++abi -lpthread'],
[*openbsd*:i386:clang], [LIBLUAJIT_LDEXTRA='-lc++abi -lpthread'])
[*darwin*:x86_64], [LIBLUAJIT_LDEXTRA='-image_base 7fff04c4a000'])
AC_SUBST([LIBLUAJIT_LDEXTRA])


AM_CONDITIONAL([build], [test "x$enable_build" != xno])

if test "x$enable_build" != xno || test -f config.force; then
Expand Down
16 changes: 16 additions & 0 deletions source/m4/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
2019-01-11 Karl Berry <[email protected]>

* kpse-luajit-flags.m4 (KPSE_LUAJIT_FLAGS): try LIBLUAJIT_LDEXTRA,
following (sort of):
https://github.com/TeX-Live/luatex/commit/273de1c6308ab9378905a5e1929b19207e2765af

2019-01-10 Karl Berry <[email protected]>

* kpse-luajit-flags.m4 (KPSE_LUAJIT_FLAGS): check for
-lc++abi -lpthread, needed with clang on openbsd.
Test from Mojca.

2019-01-08 Karl Berry <[email protected]>

* kpse-pkgs.m4 (KPSE_LIBS_PKGS): lua52 gone.

2018-12-24 Karl Berry <[email protected]>

* kpse-common.m4,
Expand Down
52 changes: 49 additions & 3 deletions source/m4/kpse-luajit-flags.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# $Id$
# Public macros for the TeX Live (TL) tree.
# Copyright (C) 2014 Peter Breitenlohner <[email protected]>
# Copyright 2019 Karl Berry <[email protected]>
# Copyright 2014 Peter Breitenlohner <[email protected]>
#
# This file is free software; the copyright holder
# gives unlimited permission to copy and/or distribute it,
Expand All @@ -10,9 +12,53 @@
# Set the make variables LUAJIT_INCLUDES and LUAJIT_LIBS to the CPPFLAGS and
# LIBS required for the `-ltexluajit' library in libs/luajit/ of the TL tree.
AC_DEFUN([KPSE_LUAJIT_FLAGS], [dnl
echo 'tldbg:[$0] called.' >&AS_MESSAGE_LOG_FD
_KPSE_LIB_FLAGS([luajit], [texluajit], [lt tree],
[-IBLD/libs/luajit/include], [BLD/libs/luajit/libtexluajit.la], [],
[], [${top_builddir}/../../libs/luajit/include/luajit.h])[]dnl
[-IBLD/libs/luajit/include],
[BLD/libs/luajit/libtexluajit.la],
[],
[],
[${top_builddir}/../../libs/luajit/include/luajit.h])[]dnl
#
# checking for openbsd for additional jit libraries needed, which is the
# case for clang; no point in going to the trouble elsewhere since no
# other system needs it.
case $build_os in
openbsd*)
AC_MSG_CHECKING([on openbsd if additional jit libraries are needed])
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[[#include "stdint.h"
typedef struct _Unwind_Context _Unwind_Context;
extern uintptr_t _Unwind_GetCFA(_Unwind_Context *);]],
[[_Unwind_Context *ctx;
_Unwind_GetCFA(ctx);]]
)],
[AC_MSG_RESULT([no])],
[
jitlibs="-lc++abi -lpthread"
save_LIBS=$LIBS
LIBS="$LIBS $jitlibs"
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[[#include "stdint.h"
typedef struct _Unwind_Context _Unwind_Context;
extern uintptr_t _Unwind_GetCFA(_Unwind_Context *);]],
[[_Unwind_Context *ctx;
_Unwind_GetCFA(ctx);]]
)],
[
AC_MSG_RESULT(["$jitlibs"])
LIBLUAJIT_LDEXTRA="$LIBLUAJIT_LDEXTRA $jitlibs"
],
[AC_MSG_FAILURE([luajit could not be linked])]
)
LIBS=$save_LIBS
]
)
;;
esac
echo 'tldbg:[$0] done.' >&AS_MESSAGE_LOG_FD
]) # KPSE_LUAJIT_FLAGS

# KPSE_LUAJIT_DEFINES
Expand Down
5 changes: 2 additions & 3 deletions source/m4/kpse-pkgs.m4
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $Id: kpse-pkgs.m4 49495 2018-12-24 23:17:30Z karl $
# $Id: kpse-pkgs.m4 49640 2019-01-08 18:57:53Z karl $
# Private Autoconf macros for the TeX Live (TL) tree.
# Copyright 2016-2018 Karl Berry <[email protected]>
# Copyright 2016-2019 Karl Berry <[email protected]>
# Copyright 2009-2015 Peter Breitenlohner <[email protected]>
#
# This file is free software; the copyright holder
Expand Down Expand Up @@ -41,7 +41,6 @@ freetype2
libpng
libpaper
luajit
lua52
lua53
zlib
])[]dnl
Expand Down
15 changes: 15 additions & 0 deletions source/texk/kpathsea/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
2019-01-19 Karl Berry <[email protected]>

* variable.h (kpathsea_var_expand): returns string "$FOO" if FOO
is not defined, not the empty string; whereas ${FOO} does return
the empty string. Maybe not the ideal interface, but seems
undesirable to change now.
* doc/kpathsea.texi (Programming with config files),
(Auxiliary tasks): document this.
Noted by Andreas Scherer, r49726.

2019-01-19 Karl Berry <[email protected]>

* texmf.cnf (TEXMFLOCALEDIR): define as $TEXMFMAIN/locale,
for cweb translations now, and hopefully more later.

2018-12-30 Karl Berry <[email protected]>

* texmf.cnf (shell_escape_commands): make that r-mpost.
Expand Down
Loading

0 comments on commit cb73863

Please sign in to comment.