summaryrefslogtreecommitdiff
path: root/Build/source/utils
AgeCommit message (Collapse)Author
2008-05-10portability fixes for lzma-utils: variable declarations in main.c andVladimir Volovich
allow to redefine _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS in lzma/gettext.h (for getopt.c) on systems which don't support variable size arrays. sent upstream to Lasse Collin <lasse.collin@tukaani.org>, and accepted by him git-svn-id: svn://tug.org/texlive/trunk@8033 c570f23f-e606-0410-a88d-b1316a301751
2008-05-10stop if the input file(s) do not exist; otherwise xindy showed a warning in ↵Vladimir Volovich
create_raw_index() and continued. ======================================== workaround for a woe32 problem (it is yet unclear how to solve it): apparently the "nul" file, when opened multiple times, causes a problem. when no logfile is given, it defaulted to nul file, which caused error in xindy-lisp.exe. still reproducible by specifying "-t nul", e.g.: xindy -t nul -M texindy x.idx [...] ERROR: OPEN: #<OUTPUT UNBUFFERED FILE-STREAM CHARACTER #P"nul"> already points to file "Z:\\Master\\texmf\\xindy\\base\\latex.xdy", opening the file again for :INPUT-IMMUTABLE may produce unexpected results so we set the log file to *.ilg on woe32 unless it is explicitly specified. another contributor factor to this problem is the "-q" option which also tries to use "nul" and this causes a problem: xindy -q -M texindy x.idx ERROR: OPEN: #<OUTPUT UNBUFFERED FILE-STREAM CHARACTER> already points to file "Z:\\Master\\texmf\\xindy\\base\\numeric-sort.xdy", opening the file again for :INPUT-IMMUTABLE may produce unexpected results ======================================== workaround for a woe32 problem: delete the output file if it already exists prior to calling xindy, otherwise it is unable to overwrite it. (this does not happen with the log file which it is able to overwrite) ======================================== strangely, i did not see the last 2 problems in my previous tests. it may be caused by a clisp bug. git-svn-id: svn://tug.org/texlive/trunk@8008 c570f23f-e606-0410-a88d-b1316a301751
2008-05-10frontend command name on woe32 changed from xindy.texlua to xindy.batVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@8002 c570f23f-e606-0410-a88d-b1316a301751
2008-05-09lzma-utils 4.32.5 from http://tukaani.org/lzmaKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@7993 c570f23f-e606-0410-a88d-b1316a301751
2008-05-09xindy instructions updateKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@7990 c570f23f-e606-0410-a88d-b1316a301751
2008-04-24tex2xindy.c: regenerated with flex 2.5.35Vladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7622 c570f23f-e606-0410-a88d-b1316a301751
2008-04-20texinfo 4.12Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@7545 c570f23f-e606-0410-a88d-b1316a301751
2008-04-20configure.ac: check (also) for regex.h; fail if one of the required headers ↵Vladimir Volovich
is not found git-svn-id: svn://tug.org/texlive/trunk@7540 c570f23f-e606-0410-a88d-b1316a301751
2008-04-20fix the way compressing xindy.mem is disabled on woe32Vladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7539 c570f23f-e606-0410-a88d-b1316a301751
2008-04-20autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7538 c570f23f-e606-0410-a88d-b1316a301751
2008-04-20simplify Makefiles (mostly remove the need to have TETEX_BUILD-specific ↵Vladimir Volovich
sections) git-svn-id: svn://tug.org/texlive/trunk@7537 c570f23f-e606-0410-a88d-b1316a301751
2008-04-19adapt the xindy and texindy perl scripts to work on woe32Vladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7509 c570f23f-e606-0410-a88d-b1316a301751
2008-04-18idxstyle.lsp: string-to-searchlist:Vladimir Volovich
there was no support for WIN32 delimiters and (searchpath) function did not work on woe32: [1]> (searchpath ".") *** - APPLY: too few arguments given to POSITION The following restarts are available: ABORT :R1 Abort main loop git-svn-id: svn://tug.org/texlive/trunk@7492 c570f23f-e606-0410-a88d-b1316a301751
2008-04-16simplified clisp build instructionsVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7440 c570f23f-e606-0410-a88d-b1316a301751
2008-04-14run Build after clispKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@7411 c570f23f-e606-0410-a88d-b1316a301751
2008-04-14more on xindyKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@7410 c570f23f-e606-0410-a88d-b1316a301751
2008-04-06autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7337 c570f23f-e606-0410-a88d-b1316a301751
2008-04-06configure.ac:Vladimir Volovich
CLISP_LIB can potentially end with a backslash (on mingw), which is treated as a line merging character in Makefile, so add _AM_SUBST_NOTMAKE(CLISP_LIB) to avoid such situation, and instead refer to CLISP_LIB as @CLISP_LIB@ configure.ac, rte/Makefile.am, binaries/Makefile.am: on mingw, lisp.run is called lisp.exe on mingw, we need to use .exe suffix for the backend binary (which is called xindy.run on POSIX systems), so to avoid a clash with the frontend user command "xindy", use the name "xindy-lisp.exe" on mingw which is a counterpart of "xindy.run" on POSIX. binaries/Makefile.am: renamed XINDY_RUN to RUN_XINDY to not clash with the newly introduced XINDY_RUN and LISP_RUN variables added -norc to RUN_XINDY git-svn-id: svn://tug.org/texlive/trunk@7336 c570f23f-e606-0410-a88d-b1316a301751
2008-04-06rte/ordrules/ordrules.h:Vladimir Volovich
add #include "clisp.h", otherwise the regcomp, regerror and regexec functions will not get redefined to rpl_* equivalents on systems which lack regexp in system library (notably, mingw), and there will be link errors like ordrules.o: In function `add_rule': C:/msys/1.0/src/xindy/rte/ordrules/ordrules.c:219: undefined reference to `regcomp' C:/msys/1.0/src/xindy/rte/ordrules/ordrules.c:220: undefined reference to `regerror' ordrules.o: In function `apply_rules': C:/msys/1.0/src/xindy/rte/ordrules/ordrules.c:491: undefined reference to `regexec' C:/msys/1.0/src/xindy/rte/ordrules/ordrules.c:456: undefined reference to `regexec' even when linked with the clisp's full/regex.o (because the latter has these functions renamed with rpl_ prefix). rte/ordrules/Makefile.am: added -I$(INCLUDES) for ordrules.c rule, to find clisp.h added $(CPPFLAGS) to rules for ordrulei.o, ordrules.o, rxsub.o (e.g. to be able to pass include directory for regexp.h on mingw) git-svn-id: svn://tug.org/texlive/trunk@7335 c570f23f-e606-0410-a88d-b1316a301751
2008-03-31mkjobtexmf (mostly) handled through normal ctan2tl nowKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@7263 c570f23f-e606-0410-a88d-b1316a301751
2008-03-29rte/ordrules/Makefile.am: moved version.lisp from CLEANFILES to DISTCLEANFILES,Vladimir Volovich
otherwise rebuild was failing after "make clean" rte/Makefile.am: changed to not rebuild ordrules (and xindy.run, base.mem) on every "make" run if it is already built git-svn-id: svn://tug.org/texlive/trunk@7222 c570f23f-e606-0410-a88d-b1316a301751
2008-03-29autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7218 c570f23f-e606-0410-a88d-b1316a301751
2008-03-29added generation of greek/translit-tex.xdy and russian/translit-iso-tex.xdyVladimir Volovich
(and accompanying -lang.xdy and -test.xdy files), from Thomas Henlish: https://sourceforge.net/mailarchive/message.php?msg_name=47EDFB0F.7030502%40users.sourceforge.net git-svn-id: svn://tug.org/texlive/trunk@7217 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7204 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28delete the rest of the zombie (test leftover) *.xdy files:Vladimir Volovich
https://sourceforge.net/mailarchive/message.php?msg_name=47ED24A4.2000506%40users.sourceforge.net git-svn-id: svn://tug.org/texlive/trunk@7203 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7202 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28removed danish/latin1.xdy, icelandic/latin1.xd, swedish/latin1.xdy, ↵Vladimir Volovich
general/latin1.xdy https://sourceforge.net/mailarchive/message.php?msg_name=47ED24A4.2000506%40users.sourceforge.net added a patch from Thomas Henlich to fix their automatic generation https://sourceforge.net/mailarchive/message.php?msg_name=47ED3371.9080102%40users.sourceforge.net adapted Makefiles accordingly git-svn-id: svn://tug.org/texlive/trunk@7201 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28rte/Makefile.am: cleanup (and improve behaviour for subsequent builds if ↵Vladimir Volovich
building ordrules failed) git-svn-id: svn://tug.org/texlive/trunk@7199 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7198 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28rte/Makefile.am, configure.ac: removed support for building clispVladimir Volovich
from source integrated into xindy distribution. the --with-clisp option provides a more powerful way of using any clisp, either an OS-supplied, or built from source with any desired configuration (e.g. with statically linked libsigsegv and libffcall, without readline and/or ncurses, etc; this was not possible with integrated clisp build) also made some wording improvements in configure.ac git-svn-id: svn://tug.org/texlive/trunk@7197 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28tex2xindy/Makefile.am: put a commented-out lineVladimir Volovich
#tex2xindy_LDADD = @LEXLIB@ in case we'll need to use LEXLIB git-svn-id: svn://tug.org/texlive/trunk@7193 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28tex2xindy/Makefile.am: removed tex2xindy_LDADD = @LEXLIB@Vladimir Volovich
because tex2xindy.c has its own yywrap() and is not dependent on libl.a anymore git-svn-id: svn://tug.org/texlive/trunk@7192 c570f23f-e606-0410-a88d-b1316a301751
2008-03-28tex2xindy/tex2xindy.l: added theVladimir Volovich
int yywrap (void) {return 1;} to avoid dependency on libl.a (-ll) tex2xindy/tex2xindy.c: regenerated git-svn-id: svn://tug.org/texlive/trunk@7191 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27rte/Makefile.am: fix the clean-local target to not fail for in-tree buildVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7190 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27tex2xindy/Makefile.am: removed special treatment of tex2xindy.c, as it is ↵Vladimir Volovich
done by automake git-svn-id: svn://tug.org/texlive/trunk@7189 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27configure.ac: changed AC_PROG_LEX to AM_PROG_LEX, as recommended by the ↵Vladimir Volovich
automake manual (section 8.8, Yacc and Lex support) this uses the "missing" script if lex is not found. added the pre-generated tex2xindy.c to the distribution. git-svn-id: svn://tug.org/texlive/trunk@7188 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27changed svn:executable propertyVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7187 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27add README.distrib-source and README.distrib-binary to EXTRA_DIST,Vladimir Volovich
for "make distcheck" to work git-svn-id: svn://tug.org/texlive/trunk@7180 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27rename README to README.distrib-sourceVladimir Volovich
add README.distrib-binary from xindy's sourceforge CVS tree install NEWS and README.distrib-source in the docdir git-svn-id: svn://tug.org/texlive/trunk@7179 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27TETEX_BUILD: override mandir to $prefix/texmf/doc/manVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7177 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27show an error message if an old calling convention is detected,Vladimir Volovich
i.e. if there are command-line 2 arguments and the 1st one is a *.xdy file. in this case older version of xindy script was calling xindy.v2, which has been deprecated and not installed anymore. therefore, we cannot call xindy.v2, but should show an error message, otherwise this may confuse users who were relying on this behavior of silent call to xindy.v2 from xindy git-svn-id: svn://tug.org/texlive/trunk@7176 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27autoreconfVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7175 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27make "make dist" and "make distcheck" work:Vladimir Volovich
configure.ac: removed no-dist option from AM_INIT_AUTOMAKE src/Makefile.am: new file rte/ordrules/Makefile.am: new file, based on old Makefile.in (rte/ordrules directory previously did not use automake) other Makefile.am files - various cleanups to make "make distcheck" work git-svn-id: svn://tug.org/texlive/trunk@7174 c570f23f-e606-0410-a88d-b1316a301751
2008-03-27rte/ordrules/link.sh: use ${MAKE-make} instead of make, in case user's make ↵Vladimir Volovich
program is not called "make" git-svn-id: svn://tug.org/texlive/trunk@7173 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26make-rules/inputenc/Makefile.am:Vladimir Volovich
when generating latin.xdy: * show full list of source files, rather than latin?.xdy * do not show timestamp when the file was generated, as it is useless here * clear environment when calling sort, to make the generated latin.xdy locale-indepemdent git-svn-id: svn://tug.org/texlive/trunk@7170 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26make-rules/inputenc/Makefile.am:Vladimir Volovich
change "sort -u latin?.xdy" to "env - sort -u latin?.xdy" to avoid dependency on locale in the generated file. git-svn-id: svn://tug.org/texlive/trunk@7169 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26configure.ac:Vladimir Volovich
removed AC_CHECK_LIB([fl], [main]) because a check for flex library is already performed by AC_PROG_LEX git-svn-id: svn://tug.org/texlive/trunk@7168 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26move the test for "LEX is not found" right after AC_PROG_LEXVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7167 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26stop if LEX (flex or lex) is not found during configureVladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7166 c570f23f-e606-0410-a88d-b1316a301751
2008-03-26renamed xindy.v2.in to xindy.v2, and change #!/usr/bin/perl to ↵Vladimir Volovich
#!/usr/bin/env perl (the only change which was being made to xindy.v2.in to get xindy.v2 was perl path) changed user-commands/Makefile.am to not install xindy.v2 (from Joachim) removed kludge from xindy to call xindy.v2 if an old calling convention is used git-svn-id: svn://tug.org/texlive/trunk@7164 c570f23f-e606-0410-a88d-b1316a301751