diff options
Diffstat (limited to 'Build/source/utils')
-rw-r--r-- | Build/source/utils/xindy/ChangeLog | 9 | ||||
-rw-r--r-- | Build/source/utils/xindy/TLpatches/patch-12-xindy-mac | 18 | ||||
-rw-r--r-- | Build/source/utils/xindy/tests/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/utils/xindy/tests/idxhello.idx | 4 | ||||
-rw-r--r-- | Build/source/utils/xindy/tests/idxhello.tex | 1 | ||||
-rw-r--r-- | Build/source/utils/xindy/xindy-src/user-commands/xindy.in | 4 |
6 files changed, 41 insertions, 2 deletions
diff --git a/Build/source/utils/xindy/ChangeLog b/Build/source/utils/xindy/ChangeLog index 6fd49c7fcfe..eb2e22a7ce4 100644 --- a/Build/source/utils/xindy/ChangeLog +++ b/Build/source/utils/xindy/ChangeLog @@ -1,3 +1,12 @@ +2021-07-06 Karl Berry <karl@tug.org> + + * xindy-src/user-commands/xindy.in: for the Mac, + xindy.run (aka clisp) is now built as a universal binary (x86_64+arm), + so have to find arch-specific mem file. as we did in the past + for PowerPC vs. x86_64. + * TLpatches/patch-12-xindy-mac: new file. + The patches to xindy.in from original upstream + 2020-06-07 Karl Berry <karl@freefriends.org> * ac/withenable.ac: omit $Id$ from generated output. diff --git a/Build/source/utils/xindy/TLpatches/patch-12-xindy-mac b/Build/source/utils/xindy/TLpatches/patch-12-xindy-mac new file mode 100644 index 00000000000..29bfaf1130c --- /dev/null +++ b/Build/source/utils/xindy/TLpatches/patch-12-xindy-mac @@ -0,0 +1,18 @@ + xindy.run (aka clisp) built as universal binary with lipo, + have to find arch-specific mem file. + +Index: xindy.in +=================================================================== +--- xindy.in (revision 59852) ++++ xindy.in (working copy) +@@ -511,6 +511,10 @@ + my @uname = POSIX::uname(); + if ( $uname[4] eq 'Power Macintosh' ) { + $mem_file = "$lib_dir/xindy-ppc.mem"; ++ } else if ( $uname[4] eq 'x86_64' ) { ++ $mem_file = "$lib_dir/xindy-x86_64.mem"; ++ } else if ( $uname[4] eq 'arm64' ) { ++ $mem_file = "$lib_dir/xindy-arm64.mem"; + } else { + $mem_file = "$lib_dir/xindy-i386.mem"; + } diff --git a/Build/source/utils/xindy/tests/ChangeLog b/Build/source/utils/xindy/tests/ChangeLog new file mode 100644 index 00000000000..82f969248d0 --- /dev/null +++ b/Build/source/utils/xindy/tests/ChangeLog @@ -0,0 +1,7 @@ +2021-07-06 Karl Berry <karl@tug.org> + + * idxhello.tex: add necessary \usepackage{makeidx}\makeindex. + * idxhello.idx: regenerate. + +(This ChangeLog file public domain.) + diff --git a/Build/source/utils/xindy/tests/idxhello.idx b/Build/source/utils/xindy/tests/idxhello.idx index 5f3b98d84d0..f01890f9dc8 100644 --- a/Build/source/utils/xindy/tests/idxhello.idx +++ b/Build/source/utils/xindy/tests/idxhello.idx @@ -1,2 +1,2 @@ -\indexentry{there}{1} -\indexentry{hello}{1} +\indexentry{xyz}{1} +\indexentry{abc}{1} diff --git a/Build/source/utils/xindy/tests/idxhello.tex b/Build/source/utils/xindy/tests/idxhello.tex index 6c709ae075e..59523b5df85 100644 --- a/Build/source/utils/xindy/tests/idxhello.tex +++ b/Build/source/utils/xindy/tests/idxhello.tex @@ -7,6 +7,7 @@ % out of Master/bin/*. % \documentclass{article} +\usepackage{makeidx}\makeindex \begin{document} \index{xyz}xyz \index{abc}abc diff --git a/Build/source/utils/xindy/xindy-src/user-commands/xindy.in b/Build/source/utils/xindy/xindy-src/user-commands/xindy.in index df52dd948c9..2010eb81067 100644 --- a/Build/source/utils/xindy/xindy-src/user-commands/xindy.in +++ b/Build/source/utils/xindy/xindy-src/user-commands/xindy.in @@ -511,6 +511,10 @@ if ( $OSNAME eq 'darwin' && ! -e $mem_file ) { my @uname = POSIX::uname(); if ( $uname[4] eq 'Power Macintosh' ) { $mem_file = "$lib_dir/xindy-ppc.mem"; + } else if ( $uname[4] eq 'x86_64' ) { + $mem_file = "$lib_dir/xindy-x86_64.mem"; + } else if ( $uname[4] eq 'arm64' ) { + $mem_file = "$lib_dir/xindy-arm64.mem"; } else { $mem_file = "$lib_dir/xindy-i386.mem"; } |