forked from pool/texinfo
90 lines
3.5 KiB
Plaintext
90 lines
3.5 KiB
Plaintext
--- .pkgextract
|
|
+++ .pkgextract 2004-04-16 16:07:40.000000000 +0200
|
|
@@ -0,0 +1,2 @@
|
|
+patch -p0 -b --suffix=.zlib < ../texinfo-4.11-zlib.patch
|
|
+patch -p0 -b --suffix=.echo < ../texinfo-4.8-echo.patch
|
|
--- info/filesys.h
|
|
+++ info/filesys.h 2004-04-16 16:07:40.000000000 +0200
|
|
@@ -78,7 +78,7 @@ extern int is_dir_name (char *filename);
|
|
|
|
/* The default value of INFOPATH. */
|
|
#if !defined (DEFAULT_INFOPATH)
|
|
-# define DEFAULT_INFOPATH "/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share/info:/usr/share/lib/info:/usr/local/share/info:/usr/local/share/lib/info:/usr/gnu/lib/emacs/info:/usr/local/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/local/emacs/info:."
|
|
+# define DEFAULT_INFOPATH "/usr/local/info:/usr/local/lib/info:/usr/share/info:/usr/info:/usr/lib/info:/opt/gnu/info:/usr/share/xemacs/info:."
|
|
#endif /* !DEFAULT_INFOPATH */
|
|
|
|
#if !defined (S_ISREG) && defined (S_IFREG)
|
|
--- po/nl.po
|
|
+++ po/nl.po 2004-04-16 16:07:41.000000000 +0200
|
|
@@ -303,7 +303,7 @@ msgid ""
|
|
" info --show-options emacs start at node with emacs' command line options\n"
|
|
" info -f ./foo.info show file ./foo.info, not searching dir\n"
|
|
msgstr ""
|
|
-"Aanroep: %s [OPTIE]... [INFO-BESTAND [MENU-ITEM...]]]\n"
|
|
+"Aanroep: %s [OPTIE]... [INFO-BESTAND [MENU-ITEM...]]\n"
|
|
"\n"
|
|
"Lees documentatie in Info-formaat\n"
|
|
"Voor een meer complete omschrijving van het gebruik van Info, type `info "
|
|
--- util/texi2dvi
|
|
+++ util/texi2dvi 2007-07-11 12:56:14.338449000 +0200
|
|
@@ -262,25 +262,7 @@ absolute ()
|
|
# Return true if PROG is somewhere in PATH, else false.
|
|
findprog ()
|
|
{
|
|
- local saveIFS=$IFS
|
|
- IFS=$path_sep # break path components at the path separator
|
|
- for dir in $PATH; do
|
|
- IFS=$saveIFS
|
|
- # The basic test for an executable is `test -f $f && test -x $f'.
|
|
- # (`test -x' is not enough, because it can also be true for directories.)
|
|
- # We have to try this both for $1 and $1.exe.
|
|
- #
|
|
- # Note: On Cygwin and DJGPP, `test -x' also looks for .exe. On Cygwin,
|
|
- # also `test -f' has this enhancement, bot not on DJGPP. (Both are
|
|
- # design decisions, so there is little chance to make them consistent.)
|
|
- # Thusly, it seems to be difficult to make use of these enhancements.
|
|
- #
|
|
- if { test -f "$dir/$1" && test -x "$dir/$1"; } ||
|
|
- { test -f "$dir/$1.exe" && test -x "$dir/$1.exe"; }; then
|
|
- return 0
|
|
- fi
|
|
- done
|
|
- return 1
|
|
+ type -p $1 > /dev/null 2>&1
|
|
}
|
|
|
|
# report LINE1 LINE2...
|
|
@@ -734,6 +716,11 @@ run_tex ()
|
|
*) error 1 "$0: $out_lang not supported for $in_lang";;
|
|
esac
|
|
|
|
+ if ! type -p $tex > /dev/null 2>&1 ; then
|
|
+ echo "${0##*/}: requires $tex, please install texlive and texlive-latex" 1>&2
|
|
+ exit 1
|
|
+ fi
|
|
+
|
|
# Beware of aux files in subdirectories that require the
|
|
# subdirectory to exist.
|
|
case $in_lang:$tidy in
|
|
@@ -833,6 +820,11 @@ run_bibtex ()
|
|
texinfo) return;;
|
|
esac
|
|
|
|
+ if ! type -p $bibtex > /dev/null 2>&1 ; then
|
|
+ echo "${0##*/}: requires $bibtex, please install texlive and texlive-latex" 1>&2
|
|
+ exit 1
|
|
+ fi
|
|
+
|
|
# "Citation undefined" is for LaTeX, "Undefined citation" for btxmac.tex.
|
|
# The no .aux && \bibdata test is also for btxmac, in case it was the
|
|
# first run of a bibtex-using document. Otherwise, it's possible that
|
|
@@ -1579,7 +1571,7 @@ for command_line_filename in ${1+"$@"};
|
|
sed 's,/,!,g'`
|
|
esac
|
|
# Remove it at exit if clean mode.
|
|
- trap "cleanup" 0 1 2 15
|
|
+ trap "cleanup" 0 1 2 3 7 13 15
|
|
|
|
ensure_dir "$build_dir" "$t2ddir"
|
|
|