forked from pool/texinfo
This commit is contained in:
commit
98eb5a6068
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
23
info-dir
Normal file
23
info-dir
Normal file
@ -0,0 +1,23 @@
|
||||
This is the file /usr/share/info/dir, which contains the
|
||||
topmost node of the Info hierarchy, called (dir)Top.
|
||||
The first time you invoke Info you start off looking at this node.
|
||||
|
||||
File: dir, Node: Top This is the top of the INFO tree
|
||||
|
||||
This (the Directory node) gives a menu of major topics.
|
||||
Typing "q" exits, "?" lists all Info commands, "d" returns here,
|
||||
"h" gives a primer for first-timers,
|
||||
"mEmacs<Return>" visits the Emacs manual, etc.
|
||||
|
||||
In Emacs, you can click mouse button 2 on a menu item or cross reference
|
||||
to select it.
|
||||
|
||||
* Menu:
|
||||
|
||||
Utilities
|
||||
* Bash: (bash). The GNU Bourne-Again SHell.
|
||||
|
||||
Libraries
|
||||
* History: (history). The GNU history library API
|
||||
* Readline: (readline). The GNU readline library API
|
||||
|
8
texi2html-1.76.dif
Normal file
8
texi2html-1.76.dif
Normal file
@ -0,0 +1,8 @@
|
||||
--- texi2html.1.in
|
||||
+++ texi2html.1.in 2005-01-27 15:17:29.000000000 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-.TH TEXI2HTML 1 "@PACKAGE_DATE@"
|
||||
+.TH Texi2html 1 "@PACKAGE_DATE@" 1.76
|
||||
.AT 3
|
||||
.SH NAME
|
||||
texi2html \- a Texinfo to HTML converter
|
3
texi2html-1.76.tar.bz2
Normal file
3
texi2html-1.76.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9a5e8243e18f610ed6ff23eb80b07f0fa8cde676902b9b20bc41cd12785ceb95
|
||||
size 381851
|
19
texi2roff-2.0-gcc4.patch
Normal file
19
texi2roff-2.0-gcc4.patch
Normal file
@ -0,0 +1,19 @@
|
||||
diff -ru texi2roff-2.0/table.c texi2roff-2.0.new/table.c
|
||||
--- texi2roff-2.0/table.c 1992-02-20 18:16:37.000000000 +0000
|
||||
+++ texi2roff-2.0.new/table.c 2005-03-18 17:59:54.000000000 +0000
|
||||
@@ -32,13 +32,14 @@
|
||||
struct misccmds * cmds;
|
||||
struct tablerecd * table, * endoftable;
|
||||
|
||||
+static void patchtable();
|
||||
+
|
||||
void
|
||||
initialize(macropkg, showInfo, makeindex)
|
||||
int macropkg;
|
||||
int showInfo;
|
||||
int makeindex;
|
||||
{
|
||||
- extern void patchtable();
|
||||
int tablesize;
|
||||
|
||||
switch (macropkg) {
|
58
texi2roff-2.0.dif
Normal file
58
texi2roff-2.0.dif
Normal file
@ -0,0 +1,58 @@
|
||||
--- .pkgextract
|
||||
+++ .pkgextract
|
||||
@@ -0,0 +1 @@
|
||||
+bzcat ../texi2roff.patch.bz2 | patch -p0 -s -b --suffix=.Bader
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -1,14 +1,14 @@
|
||||
|
||||
# Makefile for Texinfo to nroff/troff translator (texi2roff)
|
||||
|
||||
-CC = cc
|
||||
+CC = gcc
|
||||
|
||||
# Flags:
|
||||
# -DBSD controls use of string(s).h and strchr/index only (not needed for Sun)
|
||||
# use -Dvoid=int for System III and V7
|
||||
|
||||
# problems have been reported for -O with Sun4's, SunOS 4.0.1
|
||||
-CFLAGS = -O -s
|
||||
+CFLAGS = $(RPM_OPT_FLAGS) -pipe
|
||||
# CFLAGS = -g
|
||||
# CFLAGS = -p
|
||||
# CFLAGS = -ql
|
||||
@@ -16,7 +16,7 @@
|
||||
OBJECTS = texi2roff.o table.o translate.o items.o
|
||||
|
||||
texi2roff: $(OBJECTS)
|
||||
- $(CC) -o $@ $(CFLAGS) $(OBJECTS) -lc_s -link -z
|
||||
+ $(CC) -o $@ $(CFLAGS) $(OBJECTS)
|
||||
|
||||
texi2roff.o : texi2roff.h
|
||||
|
||||
--- texi2index
|
||||
+++ texi2index
|
||||
@@ -14,7 +14,13 @@
|
||||
# characters that make troff drop lines and preserves sort order
|
||||
# for index entries containing typesetting commands.
|
||||
|
||||
-FILE="$*"
|
||||
+FILE="$@"
|
||||
+
|
||||
+if test -z "$FILE" ; then
|
||||
+ echo "${0##*/}: No index files of texi2roff call given," 1>&2
|
||||
+ echo " please read manual page of texi2roff." 1>&2
|
||||
+ exit 1
|
||||
+fi
|
||||
|
||||
sed -n "s/^../&\\\\\\&/p" $FILE \
|
||||
| sed "
|
||||
--- texi2roff.1
|
||||
+++ texi2roff.1
|
||||
@@ -1,4 +1,5 @@
|
||||
-.TH TEXI2ROFF 1
|
||||
+.TH Texi2roff 1 "1 Jan 90" "2.0"
|
||||
+.UC 1
|
||||
.DA 1 Jan 90
|
||||
.SH NAME
|
||||
texi2roff, texi2index \- convert Texinfo documents for formatting by troff.
|
3
texi2roff-2.0.tar.bz2
Normal file
3
texi2roff-2.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e6a2ca1611d9c61f3c38a6a8ed537f9da2e22acc706b17109e7cab760e1c1e9
|
||||
size 45487
|
3
texi2roff.patch.bz2
Normal file
3
texi2roff.patch.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9073a7f16de521da99b143515d940c8c85727e59968592f2d0ea5c31a64994e6
|
||||
size 7928
|
803
texinfo-4.7-zlib.patch
Normal file
803
texinfo-4.7-zlib.patch
Normal file
@ -0,0 +1,803 @@
|
||||
--- config.in
|
||||
+++ config.in Wed Apr 21 12:18:07 2004
|
||||
@@ -326,6 +326,9 @@
|
||||
/* Define to 1 if you have the `__secure_getenv' function. */
|
||||
#undef HAVE___SECURE_GETENV
|
||||
|
||||
+/* Define to 1 if you have libzio for opening compressed info files */
|
||||
+#undef HAVE_ZIO
|
||||
+
|
||||
/* Define as const if the declaration of iconv() needs const. */
|
||||
#undef ICONV_CONST
|
||||
|
||||
--- configure
|
||||
+++ configure Wed Apr 21 12:37:49 2004
|
||||
@@ -13111,6 +13111,653 @@
|
||||
|
||||
|
||||
|
||||
+#
|
||||
+# Check for zlib and libbz2 libraries to use this together
|
||||
+# with SuSE's libzio to open compressed info files.
|
||||
+#
|
||||
+if test "${ac_cv_header_zlib_h+set}" = set; then
|
||||
+ echo "$as_me:$LINENO: checking for zlib.h" >&5
|
||||
+echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
|
||||
+if test "${ac_cv_header_zlib_h+set}" = set; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
|
||||
+echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
|
||||
+else
|
||||
+ # Is the header compilable?
|
||||
+echo "$as_me:$LINENO: checking zlib.h usability" >&5
|
||||
+echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+$ac_includes_default
|
||||
+#include <zlib.h>
|
||||
+_ACEOF
|
||||
+rm -f conftest.$ac_objext
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } &&
|
||||
+ { ac_try='test -z "$ac_c_werror_flag"
|
||||
+ || test ! -s conftest.err'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; } &&
|
||||
+ { ac_try='test -s conftest.$ac_objext'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; }; then
|
||||
+ ac_header_compiler=yes
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+ac_header_compiler=no
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
||||
+echo "${ECHO_T}$ac_header_compiler" >&6
|
||||
+
|
||||
+# Is the header present?
|
||||
+echo "$as_me:$LINENO: checking zlib.h presence" >&5
|
||||
+echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+#include <zlib.h>
|
||||
+_ACEOF
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } >/dev/null; then
|
||||
+ if test -s conftest.err; then
|
||||
+ ac_cpp_err=$ac_c_preproc_warn_flag
|
||||
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
||||
+ else
|
||||
+ ac_cpp_err=
|
||||
+ fi
|
||||
+else
|
||||
+ ac_cpp_err=yes
|
||||
+fi
|
||||
+if test -z "$ac_cpp_err"; then
|
||||
+ ac_header_preproc=yes
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+ ac_header_preproc=no
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_ext
|
||||
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
||||
+echo "${ECHO_T}$ac_header_preproc" >&6
|
||||
+
|
||||
+# So? What about this header?
|
||||
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
||||
+ yes:no: )
|
||||
+ { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
||||
+echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
|
||||
+echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
|
||||
+ ac_header_preproc=yes
|
||||
+ ;;
|
||||
+ no:yes:* )
|
||||
+ { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
|
||||
+echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
|
||||
+echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
|
||||
+echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
|
||||
+echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
|
||||
+echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
|
||||
+echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
|
||||
+ (
|
||||
+ cat <<\_ASBOX
|
||||
+## -------------------------------------- ##
|
||||
+## Report this to the GNU Texinfo lists. ##
|
||||
+## -------------------------------------- ##
|
||||
+_ASBOX
|
||||
+ ) |
|
||||
+ sed "s/^/$as_me: WARNING: /" >&2
|
||||
+ ;;
|
||||
+esac
|
||||
+echo "$as_me:$LINENO: checking for zlib.h" >&5
|
||||
+echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
|
||||
+if test "${ac_cv_header_zlib_h+set}" = set; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+else
|
||||
+ ac_cv_header_zlib_h=$ac_header_preproc
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
|
||||
+echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
|
||||
+
|
||||
+fi
|
||||
+if test $ac_cv_header_zlib_h = yes; then
|
||||
+
|
||||
+ for lib in z gz
|
||||
+ do
|
||||
+ as_ac_Lib=`echo "ac_cv_lib_$lib''_gzopen" | $as_tr_sh`
|
||||
+echo "$as_me:$LINENO: checking for gzopen in -l$lib" >&5
|
||||
+echo $ECHO_N "checking for gzopen in -l$lib... $ECHO_C" >&6
|
||||
+if eval "test \"\${$as_ac_Lib+set}\" = set"; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+else
|
||||
+ ac_check_lib_save_LIBS=$LIBS
|
||||
+LIBS="-l$lib $LIBS"
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+
|
||||
+/* Override any gcc2 internal prototype to avoid an error. */
|
||||
+#ifdef __cplusplus
|
||||
+extern "C"
|
||||
+#endif
|
||||
+/* We use char because int might match the return type of a gcc2
|
||||
+ builtin and then its argument prototype would still apply. */
|
||||
+char gzopen ();
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+gzopen ();
|
||||
+ ;
|
||||
+ return 0;
|
||||
+}
|
||||
+_ACEOF
|
||||
+rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
+ (eval $ac_link) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } &&
|
||||
+ { ac_try='test -z "$ac_c_werror_flag"
|
||||
+ || test ! -s conftest.err'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; } &&
|
||||
+ { ac_try='test -s conftest$ac_exeext'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; }; then
|
||||
+ eval "$as_ac_Lib=yes"
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+eval "$as_ac_Lib=no"
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext conftest.$ac_ext
|
||||
+LIBS=$ac_check_lib_save_LIBS
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
|
||||
+echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
|
||||
+if test `eval echo '${'$as_ac_Lib'}'` = yes; then
|
||||
+ LIBS="$LIBS -l$lib" ; break
|
||||
+fi
|
||||
+
|
||||
+ done
|
||||
+fi
|
||||
+
|
||||
+
|
||||
+if test "${ac_cv_header_bzlib_h+set}" = set; then
|
||||
+ echo "$as_me:$LINENO: checking for bzlib.h" >&5
|
||||
+echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6
|
||||
+if test "${ac_cv_header_bzlib_h+set}" = set; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
|
||||
+echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6
|
||||
+else
|
||||
+ # Is the header compilable?
|
||||
+echo "$as_me:$LINENO: checking bzlib.h usability" >&5
|
||||
+echo $ECHO_N "checking bzlib.h usability... $ECHO_C" >&6
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+$ac_includes_default
|
||||
+#include <bzlib.h>
|
||||
+_ACEOF
|
||||
+rm -f conftest.$ac_objext
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } &&
|
||||
+ { ac_try='test -z "$ac_c_werror_flag"
|
||||
+ || test ! -s conftest.err'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; } &&
|
||||
+ { ac_try='test -s conftest.$ac_objext'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; }; then
|
||||
+ ac_header_compiler=yes
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+ac_header_compiler=no
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
||||
+echo "${ECHO_T}$ac_header_compiler" >&6
|
||||
+
|
||||
+# Is the header present?
|
||||
+echo "$as_me:$LINENO: checking bzlib.h presence" >&5
|
||||
+echo $ECHO_N "checking bzlib.h presence... $ECHO_C" >&6
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+#include <bzlib.h>
|
||||
+_ACEOF
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } >/dev/null; then
|
||||
+ if test -s conftest.err; then
|
||||
+ ac_cpp_err=$ac_c_preproc_warn_flag
|
||||
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
||||
+ else
|
||||
+ ac_cpp_err=
|
||||
+ fi
|
||||
+else
|
||||
+ ac_cpp_err=yes
|
||||
+fi
|
||||
+if test -z "$ac_cpp_err"; then
|
||||
+ ac_header_preproc=yes
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+ ac_header_preproc=no
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_ext
|
||||
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
||||
+echo "${ECHO_T}$ac_header_preproc" >&6
|
||||
+
|
||||
+# So? What about this header?
|
||||
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
||||
+ yes:no: )
|
||||
+ { echo "$as_me:$LINENO: WARNING: bzlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
||||
+echo "$as_me: WARNING: bzlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: bzlib.h: proceeding with the compiler's result" >&5
|
||||
+echo "$as_me: WARNING: bzlib.h: proceeding with the compiler's result" >&2;}
|
||||
+ ac_header_preproc=yes
|
||||
+ ;;
|
||||
+ no:yes:* )
|
||||
+ { echo "$as_me:$LINENO: WARNING: bzlib.h: present but cannot be compiled" >&5
|
||||
+echo "$as_me: WARNING: bzlib.h: present but cannot be compiled" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: bzlib.h: check for missing prerequisite headers?" >&5
|
||||
+echo "$as_me: WARNING: bzlib.h: check for missing prerequisite headers?" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: bzlib.h: see the Autoconf documentation" >&5
|
||||
+echo "$as_me: WARNING: bzlib.h: see the Autoconf documentation" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: bzlib.h: section \"Present But Cannot Be Compiled\"" >&5
|
||||
+echo "$as_me: WARNING: bzlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: bzlib.h: proceeding with the preprocessor's result" >&5
|
||||
+echo "$as_me: WARNING: bzlib.h: proceeding with the preprocessor's result" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: bzlib.h: in the future, the compiler will take precedence" >&5
|
||||
+echo "$as_me: WARNING: bzlib.h: in the future, the compiler will take precedence" >&2;}
|
||||
+ (
|
||||
+ cat <<\_ASBOX
|
||||
+## -------------------------------------- ##
|
||||
+## Report this to the GNU Texinfo lists. ##
|
||||
+## -------------------------------------- ##
|
||||
+_ASBOX
|
||||
+ ) |
|
||||
+ sed "s/^/$as_me: WARNING: /" >&2
|
||||
+ ;;
|
||||
+esac
|
||||
+echo "$as_me:$LINENO: checking for bzlib.h" >&5
|
||||
+echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6
|
||||
+if test "${ac_cv_header_bzlib_h+set}" = set; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+else
|
||||
+ ac_cv_header_bzlib_h=$ac_header_preproc
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
|
||||
+echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6
|
||||
+
|
||||
+fi
|
||||
+if test $ac_cv_header_bzlib_h = yes; then
|
||||
+
|
||||
+ for lib in bz2 bzip2
|
||||
+ do
|
||||
+ as_ac_Lib=`echo "ac_cv_lib_$lib''_BZ2_bzopen" | $as_tr_sh`
|
||||
+echo "$as_me:$LINENO: checking for BZ2_bzopen in -l$lib" >&5
|
||||
+echo $ECHO_N "checking for BZ2_bzopen in -l$lib... $ECHO_C" >&6
|
||||
+if eval "test \"\${$as_ac_Lib+set}\" = set"; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+else
|
||||
+ ac_check_lib_save_LIBS=$LIBS
|
||||
+LIBS="-l$lib $LIBS"
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+
|
||||
+/* Override any gcc2 internal prototype to avoid an error. */
|
||||
+#ifdef __cplusplus
|
||||
+extern "C"
|
||||
+#endif
|
||||
+/* We use char because int might match the return type of a gcc2
|
||||
+ builtin and then its argument prototype would still apply. */
|
||||
+char BZ2_bzopen ();
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+BZ2_bzopen ();
|
||||
+ ;
|
||||
+ return 0;
|
||||
+}
|
||||
+_ACEOF
|
||||
+rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
+ (eval $ac_link) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } &&
|
||||
+ { ac_try='test -z "$ac_c_werror_flag"
|
||||
+ || test ! -s conftest.err'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; } &&
|
||||
+ { ac_try='test -s conftest$ac_exeext'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; }; then
|
||||
+ eval "$as_ac_Lib=yes"
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+eval "$as_ac_Lib=no"
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext conftest.$ac_ext
|
||||
+LIBS=$ac_check_lib_save_LIBS
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
|
||||
+echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
|
||||
+if test `eval echo '${'$as_ac_Lib'}'` = yes; then
|
||||
+ LIBS="$LIBS -l$lib" ; break
|
||||
+fi
|
||||
+
|
||||
+ done
|
||||
+fi
|
||||
+
|
||||
+
|
||||
+if test "${ac_cv_header_zio_h+set}" = set; then
|
||||
+ echo "$as_me:$LINENO: checking for zio.h" >&5
|
||||
+echo $ECHO_N "checking for zio.h... $ECHO_C" >&6
|
||||
+if test "${ac_cv_header_zio_h+set}" = set; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: $ac_cv_header_zio_h" >&5
|
||||
+echo "${ECHO_T}$ac_cv_header_zio_h" >&6
|
||||
+else
|
||||
+ # Is the header compilable?
|
||||
+echo "$as_me:$LINENO: checking zio.h usability" >&5
|
||||
+echo $ECHO_N "checking zio.h usability... $ECHO_C" >&6
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+$ac_includes_default
|
||||
+#include <zio.h>
|
||||
+_ACEOF
|
||||
+rm -f conftest.$ac_objext
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } &&
|
||||
+ { ac_try='test -z "$ac_c_werror_flag"
|
||||
+ || test ! -s conftest.err'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; } &&
|
||||
+ { ac_try='test -s conftest.$ac_objext'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; }; then
|
||||
+ ac_header_compiler=yes
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+ac_header_compiler=no
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
||||
+echo "${ECHO_T}$ac_header_compiler" >&6
|
||||
+
|
||||
+# Is the header present?
|
||||
+echo "$as_me:$LINENO: checking zio.h presence" >&5
|
||||
+echo $ECHO_N "checking zio.h presence... $ECHO_C" >&6
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+#include <zio.h>
|
||||
+_ACEOF
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } >/dev/null; then
|
||||
+ if test -s conftest.err; then
|
||||
+ ac_cpp_err=$ac_c_preproc_warn_flag
|
||||
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
||||
+ else
|
||||
+ ac_cpp_err=
|
||||
+ fi
|
||||
+else
|
||||
+ ac_cpp_err=yes
|
||||
+fi
|
||||
+if test -z "$ac_cpp_err"; then
|
||||
+ ac_header_preproc=yes
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+ ac_header_preproc=no
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_ext
|
||||
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
||||
+echo "${ECHO_T}$ac_header_preproc" >&6
|
||||
+
|
||||
+# So? What about this header?
|
||||
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
||||
+ yes:no: )
|
||||
+ { echo "$as_me:$LINENO: WARNING: zio.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
||||
+echo "$as_me: WARNING: zio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zio.h: proceeding with the compiler's result" >&5
|
||||
+echo "$as_me: WARNING: zio.h: proceeding with the compiler's result" >&2;}
|
||||
+ ac_header_preproc=yes
|
||||
+ ;;
|
||||
+ no:yes:* )
|
||||
+ { echo "$as_me:$LINENO: WARNING: zio.h: present but cannot be compiled" >&5
|
||||
+echo "$as_me: WARNING: zio.h: present but cannot be compiled" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zio.h: check for missing prerequisite headers?" >&5
|
||||
+echo "$as_me: WARNING: zio.h: check for missing prerequisite headers?" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zio.h: see the Autoconf documentation" >&5
|
||||
+echo "$as_me: WARNING: zio.h: see the Autoconf documentation" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zio.h: section \"Present But Cannot Be Compiled\"" >&5
|
||||
+echo "$as_me: WARNING: zio.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zio.h: proceeding with the preprocessor's result" >&5
|
||||
+echo "$as_me: WARNING: zio.h: proceeding with the preprocessor's result" >&2;}
|
||||
+ { echo "$as_me:$LINENO: WARNING: zio.h: in the future, the compiler will take precedence" >&5
|
||||
+echo "$as_me: WARNING: zio.h: in the future, the compiler will take precedence" >&2;}
|
||||
+ (
|
||||
+ cat <<\_ASBOX
|
||||
+## -------------------------------------- ##
|
||||
+## Report this to the GNU Texinfo lists. ##
|
||||
+## -------------------------------------- ##
|
||||
+_ASBOX
|
||||
+ ) |
|
||||
+ sed "s/^/$as_me: WARNING: /" >&2
|
||||
+ ;;
|
||||
+esac
|
||||
+echo "$as_me:$LINENO: checking for zio.h" >&5
|
||||
+echo $ECHO_N "checking for zio.h... $ECHO_C" >&6
|
||||
+if test "${ac_cv_header_zio_h+set}" = set; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+else
|
||||
+ ac_cv_header_zio_h=$ac_header_preproc
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: $ac_cv_header_zio_h" >&5
|
||||
+echo "${ECHO_T}$ac_cv_header_zio_h" >&6
|
||||
+
|
||||
+fi
|
||||
+if test $ac_cv_header_zio_h = yes; then
|
||||
+
|
||||
+ echo "$as_me:$LINENO: checking for fzopen in -lzio" >&5
|
||||
+echo $ECHO_N "checking for fzopen in -lzio... $ECHO_C" >&6
|
||||
+if test "${ac_cv_lib_zio_fzopen+set}" = set; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+else
|
||||
+ ac_check_lib_save_LIBS=$LIBS
|
||||
+LIBS="-lzio $LIBS"
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+
|
||||
+/* Override any gcc2 internal prototype to avoid an error. */
|
||||
+#ifdef __cplusplus
|
||||
+extern "C"
|
||||
+#endif
|
||||
+/* We use char because int might match the return type of a gcc2
|
||||
+ builtin and then its argument prototype would still apply. */
|
||||
+char fzopen ();
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+fzopen ();
|
||||
+ ;
|
||||
+ return 0;
|
||||
+}
|
||||
+_ACEOF
|
||||
+rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
+ (eval $ac_link) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } &&
|
||||
+ { ac_try='test -z "$ac_c_werror_flag"
|
||||
+ || test ! -s conftest.err'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; } &&
|
||||
+ { ac_try='test -s conftest$ac_exeext'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; }; then
|
||||
+ ac_cv_lib_zio_fzopen=yes
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+ac_cv_lib_zio_fzopen=no
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext conftest.$ac_ext
|
||||
+LIBS=$ac_check_lib_save_LIBS
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: $ac_cv_lib_zio_fzopen" >&5
|
||||
+echo "${ECHO_T}$ac_cv_lib_zio_fzopen" >&6
|
||||
+if test $ac_cv_lib_zio_fzopen = yes; then
|
||||
+ LIBS="$LIBS -lzio" ; cat >>confdefs.h <<\_ACEOF
|
||||
+#define HAVE_ZIO 1
|
||||
+_ACEOF
|
||||
+
|
||||
+fi
|
||||
+
|
||||
+
|
||||
+fi
|
||||
+
|
||||
+
|
||||
+
|
||||
ac_config_files="$ac_config_files Makefile doc/Makefile info/Makefile intl/Makefile lib/Makefile m4/Makefile makeinfo/Makefile makeinfo/tests/Makefile po/Makefile.in util/Makefile"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
--- configure.ac
|
||||
+++ configure.ac Wed Apr 21 12:37:32 2004
|
||||
@@ -159,6 +159,24 @@
|
||||
AM_GNU_GETTEXT_VERSION(0.14.1)
|
||||
AM_GNU_GETTEXT()
|
||||
|
||||
+#
|
||||
+# Check for zlib and libbz2 libraries to use this together
|
||||
+# with SuSE's libzio to open compressed info files.
|
||||
+#
|
||||
+AC_CHECK_HEADER(zlib.h,[
|
||||
+ for lib in z gz
|
||||
+ do
|
||||
+ AC_CHECK_LIB($lib, gzopen, [LIBS="$LIBS -l$lib" ; break])
|
||||
+ done])
|
||||
+AC_CHECK_HEADER(bzlib.h,[
|
||||
+ for lib in bz2 bzip2
|
||||
+ do
|
||||
+ AC_CHECK_LIB($lib, BZ2_bzopen, [LIBS="$LIBS -l$lib" ; break])
|
||||
+ done])
|
||||
+AC_CHECK_HEADER(zio.h,[
|
||||
+ AC_CHECK_LIB(zio, fzopen, [LIBS="$LIBS -lzio" ; AC_DEFINE(HAVE_ZIO)])
|
||||
+ ])
|
||||
+
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
doc/Makefile
|
||||
--- util/install-info.c
|
||||
+++ util/install-info.c Wed Apr 21 12:49:50 2004
|
||||
@@ -20,6 +20,9 @@
|
||||
|
||||
#include "system.h"
|
||||
#include <getopt.h>
|
||||
+#ifdef HAVE_ZIO
|
||||
+# include <zio.h>
|
||||
+#endif
|
||||
|
||||
static char *progname = "install-info";
|
||||
|
||||
@@ -545,16 +548,28 @@
|
||||
opened_filename = &local_opened_filename;
|
||||
|
||||
*opened_filename = filename;
|
||||
+#ifdef HAVE_ZIO
|
||||
+ f = fzopen (*opened_filename, FOPEN_RBIN);
|
||||
+#else
|
||||
f = fopen (*opened_filename, FOPEN_RBIN);
|
||||
+#endif
|
||||
if (!f)
|
||||
{
|
||||
*opened_filename = concat (filename, ".gz", "");
|
||||
+#ifdef HAVE_ZIO
|
||||
+ f = fzopen (*opened_filename, FOPEN_RBIN);
|
||||
+#else
|
||||
f = fopen (*opened_filename, FOPEN_RBIN);
|
||||
+#endif
|
||||
if (!f)
|
||||
{
|
||||
free (*opened_filename);
|
||||
*opened_filename = concat (filename, ".bz2", "");
|
||||
+#ifdef HAVE_ZIO
|
||||
+ f = fzopen (*opened_filename, FOPEN_RBIN);
|
||||
+#else
|
||||
f = fopen (*opened_filename, FOPEN_RBIN);
|
||||
+#endif
|
||||
}
|
||||
|
||||
#ifdef __MSDOS__
|
||||
@@ -562,13 +577,21 @@
|
||||
{
|
||||
free (*opened_filename);
|
||||
*opened_filename = concat (filename, ".igz", "");
|
||||
+#ifdef HAVE_ZIO
|
||||
+ f = fzopen (*opened_filename, FOPEN_RBIN);
|
||||
+#else
|
||||
f = fopen (*opened_filename, FOPEN_RBIN);
|
||||
+#endif
|
||||
}
|
||||
if (!f)
|
||||
{
|
||||
free (*opened_filename);
|
||||
*opened_filename = concat (filename, ".inz", "");
|
||||
+#ifdef HAVE_ZIO
|
||||
+ f = fzopen (*opened_filename, FOPEN_RBIN);
|
||||
+#else
|
||||
f = fopen (*opened_filename, FOPEN_RBIN);
|
||||
+#endif
|
||||
}
|
||||
#endif
|
||||
if (!f)
|
||||
@@ -580,7 +603,11 @@
|
||||
/* And try opening it again. */
|
||||
free (*opened_filename);
|
||||
*opened_filename = filename;
|
||||
+#ifdef HAVE_ZIO
|
||||
+ f = fzopen (*opened_filename, FOPEN_RBIN);
|
||||
+#else
|
||||
f = fopen (*opened_filename, FOPEN_RBIN);
|
||||
+#endif
|
||||
if (!f)
|
||||
pfatal_with_name (filename);
|
||||
}
|
||||
@@ -588,7 +615,7 @@
|
||||
pfatal_with_name (filename);
|
||||
}
|
||||
}
|
||||
-
|
||||
+#ifndef HAVE_ZIO
|
||||
/* Read first few bytes of file rather than relying on the filename.
|
||||
If the file is shorter than this it can't be usable anyway. */
|
||||
nread = fread (data, sizeof (data), 1, f);
|
||||
@@ -649,7 +676,14 @@
|
||||
#endif
|
||||
*is_pipe = 0;
|
||||
}
|
||||
+#else /* !HAVE_ZIO */
|
||||
+
|
||||
+ if (!compression_program)
|
||||
+ compression_program = &local_compression_program;
|
||||
+
|
||||
+ compression_program = NULL;
|
||||
|
||||
+#endif /* !HAVE_ZIO */
|
||||
return f;
|
||||
}
|
||||
|
||||
@@ -1449,7 +1483,7 @@
|
||||
warning (_("no entries found for `%s'; nothing deleted"), infile, 0);
|
||||
|
||||
output_dirfile (opened_dirfilename, dir_nlines, dir_lines, n_entries_to_add,
|
||||
- entries_to_add, input_sections, compression_program);
|
||||
+ entries_to_add, input_sections, NULL);
|
||||
|
||||
xexit (0);
|
||||
return 0; /* Avoid bogus warnings. */
|
26
texinfo-4.8-echo.patch
Normal file
26
texinfo-4.8-echo.patch
Normal file
@ -0,0 +1,26 @@
|
||||
--- info/echo-area.c
|
||||
+++ info/echo-area.c Tue Jan 25 17:32:07 2005
|
||||
@@ -1502,7 +1502,7 @@
|
||||
void
|
||||
inform_in_echo_area (const char *message)
|
||||
{
|
||||
- int i;
|
||||
+ int i, len;
|
||||
char *text;
|
||||
int avail = EA_MAX_INPUT + 1 - input_line_end;
|
||||
|
||||
@@ -1512,7 +1512,13 @@
|
||||
text[i] = 0;
|
||||
|
||||
echo_area_initialize_node ();
|
||||
- sprintf (&input_line[input_line_end], "%s[%s]\n",
|
||||
+
|
||||
+ len = EA_MAX_INPUT - input_line_end;
|
||||
+ if (len <= 0) {
|
||||
+ free (text);
|
||||
+ return;
|
||||
+ }
|
||||
+ snprintf (&input_line[input_line_end], len, "%s[%s]\n",
|
||||
echo_area_is_active ? " ": "", text);
|
||||
free (text);
|
||||
the_echo_area->point = input_line_point;
|
11
texinfo-4.8-sec.patch
Normal file
11
texinfo-4.8-sec.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- util/texindex.c
|
||||
+++ util/texindex.c 2006-11-10 14:05:27.000000000 +0100
|
||||
@@ -837,7 +837,7 @@ readline (struct linebuffer *linebuffer,
|
||||
{
|
||||
buffer = (char *) xrealloc (buffer, linebuffer->size *= 2);
|
||||
p += buffer - linebuffer->buffer;
|
||||
- end += buffer - linebuffer->buffer;
|
||||
+ end = buffer + linebuffer->size;
|
||||
linebuffer->buffer = buffer;
|
||||
}
|
||||
if (c < 0 || c == '\n')
|
93
texinfo-4.8-tempfile.patch
Normal file
93
texinfo-4.8-tempfile.patch
Normal file
@ -0,0 +1,93 @@
|
||||
--- util/texindex.c
|
||||
+++ util/texindex.c 2005-10-06 15:47:13.000000000 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "system.h"
|
||||
#include <getopt.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
static char *program_name = "texindex";
|
||||
|
||||
@@ -37,8 +38,6 @@
|
||||
#define memset(ptr, ignore, count) bzero (ptr, count)
|
||||
#endif
|
||||
|
||||
-char *mktemp (char *);
|
||||
-
|
||||
#if !defined (SEEK_SET)
|
||||
# define SEEK_SET 0
|
||||
# define SEEK_CUR 1
|
||||
@@ -99,6 +98,10 @@
|
||||
/* Directory to use for temporary files. On Unix, it ends with a slash. */
|
||||
char *tempdir;
|
||||
|
||||
+/* The base directory for the temporary files located in tempdir */
|
||||
+
|
||||
+static char *tempbase = NULL;
|
||||
+
|
||||
/* Number of last temporary file. */
|
||||
int tempcount;
|
||||
|
||||
@@ -146,6 +149,7 @@
|
||||
void *xmalloc (), *xrealloc ();
|
||||
char *concat (char *s1, char *s2);
|
||||
void flush_tempfiles (int to_count);
|
||||
+void flush_tempfiles_atexit ();
|
||||
|
||||
#define MAX_IN_CORE_SORT 500000
|
||||
|
||||
@@ -321,6 +325,7 @@
|
||||
tempdir = concat (tempdir, "/");
|
||||
|
||||
keep_tempfiles = 0;
|
||||
+ atexit(flush_tempfiles_atexit);
|
||||
|
||||
/* Allocate ARGC input files, which must be enough. */
|
||||
|
||||
@@ -384,25 +389,25 @@
|
||||
usage (1);
|
||||
}
|
||||
|
||||
+
|
||||
/* Return a name for temporary file COUNT. */
|
||||
|
||||
static char *
|
||||
maketempname (int count)
|
||||
{
|
||||
- static char *tempbase = NULL;
|
||||
- char tempsuffix[10];
|
||||
+ char tempsuffix[20];
|
||||
|
||||
if (!tempbase)
|
||||
{
|
||||
- int fd;
|
||||
- tempbase = concat (tempdir, "txidxXXXXXX");
|
||||
+ char *td;
|
||||
+ tempbase = concat (tempdir, "txdirXXXXXX");
|
||||
|
||||
- fd = mkstemp (tempbase);
|
||||
- if (fd == -1)
|
||||
+ td = mkdtemp (tempbase);
|
||||
+ if (td == (char*)0)
|
||||
pfatal_with_name (tempbase);
|
||||
}
|
||||
|
||||
- sprintf (tempsuffix, ".%d", count);
|
||||
+ sprintf (tempsuffix, "/txidx.%d", count);
|
||||
return concat (tempbase, tempsuffix);
|
||||
}
|
||||
|
||||
@@ -418,6 +423,13 @@
|
||||
unlink (maketempname (++last_deleted_tempcount));
|
||||
}
|
||||
|
||||
+void
|
||||
+flush_tempfiles_atexit (void)
|
||||
+{
|
||||
+ flush_tempfiles (tempcount);
|
||||
+ if (tempbase && !keep_tempfiles)
|
||||
+ (void)rmdir(tempbase);
|
||||
+}
|
||||
|
||||
/* Compare LINE1 and LINE2 according to the specified set of keyfields. */
|
||||
|
114
texinfo-4.8.dif
Normal file
114
texinfo-4.8.dif
Normal file
@ -0,0 +1,114 @@
|
||||
--- .pkgextract
|
||||
+++ .pkgextract Fri Apr 16 16:07:40 2004
|
||||
@@ -0,0 +1,3 @@
|
||||
+patch -p0 -b --suffix=.zlib < ../texinfo-4.7-zlib.patch
|
||||
+patch -p0 -b --suffix=.tmpf < ../texinfo-4.8-tempfile.patch
|
||||
+patch -p0 -b --suffix=.echo < ../texinfo-4.8-echo.patch
|
||||
--- info/filesys.h
|
||||
+++ info/filesys.h Fri Apr 16 16:07:40 2004
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
/* 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 Fri Apr 16 16:07:41 2004
|
||||
@@ -305,7 +305,7 @@
|
||||
" 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 Fri Apr 16 16:23:08 2004
|
||||
@@ -116,14 +116,7 @@
|
||||
# return true if program $1 is somewhere in PATH, else false.
|
||||
#
|
||||
findprog () {
|
||||
- foundprog=false
|
||||
- for dir in `echo $PATH | tr "$path_sep" " "`; do
|
||||
- if test -x "$dir/$1"; then # does anyone still need test -f?
|
||||
- foundprog=true
|
||||
- break
|
||||
- fi
|
||||
- done
|
||||
- $foundprog
|
||||
+ type -p $1 > /dev/null 2>&1
|
||||
}
|
||||
|
||||
# Report an error and exit with failure.
|
||||
@@ -262,7 +255,7 @@
|
||||
|
||||
# Prepare the temporary directory. Remove it at exit, unless debugging.
|
||||
if test -z "$debug"; then
|
||||
- trap "cd / && rm -rf $tmpdir" 0 1 2 15
|
||||
+ trap "cd / && rm -rf $tmpdir" 0 1 2 3 7 13 15
|
||||
fi
|
||||
|
||||
# Create the temporary directory with strict rights
|
||||
@@ -489,6 +482,12 @@
|
||||
# Assume a LaTeX file. LaTeX needs bibtex and uses latex for
|
||||
# compilation. No makeinfo.
|
||||
bibtex=${BIBTEX:-bibtex}
|
||||
+
|
||||
+ if ! type -p $bibtex > /dev/null 2>&1 ; then
|
||||
+ echo "${0##*/}: requires $bibtex, please install tetex and te_latex" 1>&2
|
||||
+ exit 1
|
||||
+ fi
|
||||
+
|
||||
makeinfo= # no point in running makeinfo on latex source.
|
||||
texindex=${MAKEINDEX:-makeindex}
|
||||
textra_cmd=1i
|
||||
@@ -497,6 +496,22 @@
|
||||
else
|
||||
tex=${PDFLATEX:-pdflatex}
|
||||
fi
|
||||
+
|
||||
+ case "$tex" in
|
||||
+ pdflatex)
|
||||
+ if ! type -p pdflatex > /dev/null 2>&1 ; then
|
||||
+ echo "${0##*/}: requires $tex, please install tetex, te_latex, and te_pdf" 1>&2
|
||||
+ exit 1
|
||||
+ fi
|
||||
+ ;;
|
||||
+ *latex)
|
||||
+ if ! type -p $tex > /dev/null 2>&1 ; then
|
||||
+ echo "${0##*/}: requires $tex, please install tetex and te_latex" 1>&2
|
||||
+ exit 1
|
||||
+ fi
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
thumbpdf=${THUMBPDF:-thumbpdf}
|
||||
;;
|
||||
|
||||
@@ -510,6 +525,22 @@
|
||||
else
|
||||
tex=$PDFTEX
|
||||
fi
|
||||
+
|
||||
+ case "$tex" in
|
||||
+ pdftex)
|
||||
+ if ! type -p pdflatex > /dev/null 2>&1 ; then
|
||||
+ echo "${0##*/}: requires $tex, please install tetex, te_latex, and te_pdf" 1>&2
|
||||
+ exit 1
|
||||
+ fi
|
||||
+ ;;
|
||||
+ *tex)
|
||||
+ if ! type -p $tex > /dev/null 2>&1 ; then
|
||||
+ echo "${0##*/}: requires $tex, please install tetex and te_latex" 1>&2
|
||||
+ exit 1
|
||||
+ fi
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Unless required by the user, makeinfo expansion is wanted only
|
||||
# if texinfo.tex is too old.
|
||||
if test "$expand" = t; then
|
3
texinfo-4.8.tar.bz2
Normal file
3
texinfo-4.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6bb61fb9c1d6a65523c786a4a74ab61e455420469e09a86929f2d403d9a21bb
|
||||
size 1521822
|
316
texinfo.changes
Normal file
316
texinfo.changes
Normal file
@ -0,0 +1,316 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 10 14:07:28 CET 2006 - werner@suse.de
|
||||
|
||||
- Fix buffer overflow in texi2dvi (bug #214920)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 24 17:39:22 CEST 2006 - adrian@suse.de
|
||||
|
||||
- add libzio as PreReq for info
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 16 12:55:22 CEST 2006 - werner@suse.de
|
||||
|
||||
- Re-enable texi2pdf because now tetex does not install this
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:31:01 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 19 13:17:13 CET 2005 - werner@suse.de
|
||||
|
||||
- Add missing sym link to file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 6 16:48:27 CEST 2005 - werner@suse.de
|
||||
|
||||
- Use directory for the base of temporary index files (bug #120577)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 24 16:19:16 CET 2005 - uli@suse.de
|
||||
|
||||
- fixed to build with GCC4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 15:25:59 CET 2005 - werner@suse.de
|
||||
|
||||
- Update to next bug fix release 1.76 of texi2html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 1 11:51:02 CET 2005 - werner@suse.de
|
||||
|
||||
- Update to bug fix release 1.74 of texi2html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 27 18:29:08 CET 2005 - werner@suse.de
|
||||
|
||||
- Fix texi2html to not loop around on broken texi files
|
||||
- Remove texi2pdf from texinfo file list due already part of
|
||||
tetex
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 26 16:29:38 CET 2005 - schwab@suse.de
|
||||
|
||||
- Reenable strict aliasing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 25 18:17:36 CET 2005 - werner@suse.de
|
||||
|
||||
- Move texi2html version to 1.72
|
||||
- Update texinfo version to 4.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 00:37:10 CEST 2004 - ro@suse.de
|
||||
|
||||
- drop no locale support, nb is already there
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 9 18:14:05 CEST 2004 - werner@suse.de
|
||||
|
||||
- Info: check remaining buffer size before printing into echo area
|
||||
|
||||
------------------------------------------------------------------
|
||||
Fri Jul 2 18:50:42 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- apply makeinfo.patch received from Karl Berry
|
||||
<karl@freefriends.org> fixing the problem that makeinfo 4.7
|
||||
could not process groff.texinfo anymore. See
|
||||
http://lists.gnu.org/archive/html/bug-texinfo/2004-04/msg00026.html
|
||||
http://article.gmane.org/gmane.comp.tex.texinfo.bugs/2019/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 21 13:02:06 CEST 2004 - werner@suse.de
|
||||
|
||||
- Use libzio together with zlib and libbz2 to support bz2 info
|
||||
files to avoids pipe()/fork()/execve() calls in install-info.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 13:26:26 CEST 2004 - werner@suse.de
|
||||
|
||||
- Be sure that texi2html find all required tools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 16 16:30:44 CEST 2004 - werner@suse.de
|
||||
|
||||
- Update to texinfo 4.7
|
||||
- Use -fno-strict-aliasing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 14 15:02:52 CET 2004 - schwab@suse.de
|
||||
|
||||
- Fix uses of snprintf and gzFile.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 21:27:05 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 10 13:27:29 CET 2003 - werner@suse.de
|
||||
|
||||
- Update to texinfo 4.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 21 01:40:10 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix filelist: package files in /usr/share/texinfo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 9 23:03:00 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Add zlib to info PreRequires [Bug #24954]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 11 11:21:41 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Branch off info sub package
|
||||
- Add /usr/share/info/dir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 8 10:55:18 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Remove PreRequire for gzip, link against zlib instead (patched
|
||||
based on version from RH)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 8 01:38:58 CET 2003 - ro@suse.de
|
||||
|
||||
- fixed pre/post install scripts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 12:11:37 CET 2003 - ro@suse.de
|
||||
|
||||
- removed self-prereq again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 18:09:27 CET 2003 - aj@suse.de
|
||||
|
||||
- Use install_info.
|
||||
- Update to texinfo 4.5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 17:15:34 CET 2003 - werner@suse.de
|
||||
|
||||
- Request gzip before installing (bug #22992)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 30 13:48:24 CEST 2002 - werner@suse.de
|
||||
|
||||
- Add a warning on missed programs and say what todo (bug #18642)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 17 10:42:45 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Update to texinfo 4.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 14:35:27 CET 2002 - schwab@suse.de
|
||||
|
||||
- Update to texinfo 4.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 13 22:34:05 CET 2002 - schwab@suse.de
|
||||
|
||||
- Fix verbose message of texi2dvi.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 24 13:43:25 CET 2002 - okir@suse.de
|
||||
|
||||
- fixed tempfile races in texindex (moved all tempfiles
|
||||
into a subdirectory of /tmp).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 16 15:33:00 CET 2002 - schwab@suse.de
|
||||
|
||||
- Fix bad free in "makeinfo --html".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 12 11:21:19 CEST 2001 - schwab@suse.de
|
||||
|
||||
- Fix directive inside macro call.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 12 18:48:02 CEST 2001 - werner@suse.de
|
||||
|
||||
- Use CVS snapshot of texi2html which works on glibc texinfo code
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 12 02:30:10 CEST 2001 - ro@suse.de
|
||||
|
||||
- fixed glossary for texi2html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 11 17:52:18 CEST 2001 - werner@suse.de
|
||||
|
||||
- Update of texi2html and texi2roff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 28 18:05:30 CEST 2000 - werner@suse.de
|
||||
|
||||
- Move /usr/bin/install-info to /sbin/install-info and
|
||||
set backward compatibility symlink.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 31 16:11:53 CEST 2000 - werner@suse.de
|
||||
|
||||
- use rpm macros for common paths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 28 21:27:24 CET 2000 - werner@suse.de
|
||||
|
||||
- Fix segmentation fault (close bug #1911)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 3 21:15:55 CET 2000 - werner@suse.de
|
||||
|
||||
- Fixed de.po
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 2 21:53:18 CET 2000 - werner@suse.de
|
||||
|
||||
- Remove Makefile.Linux
|
||||
- /usr/man -> /usr/share/man
|
||||
- /usr/info -> /usr/share/info (man pages and main for info program)
|
||||
- Install info pages of texinfo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 15:58:09 CET 1999 - werner@suse.de
|
||||
|
||||
- small changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 19:59:29 CET 1999 - ke@suse.de
|
||||
|
||||
- update: version 4.0 (#600).
|
||||
- use BuildRoot.
|
||||
- install COPYRIGHT, etc.
|
||||
- don't disable NLS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 11 14:20:29 MET 1999 - ro@suse.de
|
||||
|
||||
- info/terminal.c : TIOCGETC and TIOCGLTC are defined on alpha,
|
||||
but we can't access tchars and ltchars strutures,
|
||||
so undef both
|
||||
use tcgetattr and cfgetospeed to determine output
|
||||
speed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 17 15:36:35 MEST 1998 - werner@suse.de
|
||||
|
||||
- check exit satus of mkdir for temp directories
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 14 12:55:47 MEST 1997 - ro@suse.de
|
||||
|
||||
- update to 3.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 14 12:55:47 MEST 1997 - ro@suse.de
|
||||
|
||||
- ready for autobuild
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Fri Oct 10 15:08:57 MEST 1997 - florian@suse.de
|
||||
|
||||
|
||||
- update to texinfo 3.11
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Sun Jun 22 18:57:49 MEST 1997 - florian@suse.de
|
||||
|
||||
|
||||
- add debian-changes to support ANSI-cursor movements
|
||||
|
||||
- add texi2html 1.51
|
||||
|
||||
- add texi2roff 2.0
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Sun Apr 13 23:04:29 MEST 1997 - florian@suse.de
|
||||
|
||||
|
||||
- cosmetic changes, just done in preparation for glibc
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Thu Oct 17 16:05:09 CEST 1996 - florian@suse.de
|
||||
|
||||
|
||||
- Update auf neue Version 3.9.
|
||||
|
||||
|
354
texinfo.spec
Normal file
354
texinfo.spec
Normal file
@ -0,0 +1,354 @@
|
||||
#
|
||||
# spec file for package texinfo (Version 4.8)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: texinfo
|
||||
BuildRequires: libzio
|
||||
License: GNU General Public License (GPL) - all versions, Other License(s), see package
|
||||
Group: Productivity/Publishing/Texinfo
|
||||
Autoreqprov: on
|
||||
Version: 4.8
|
||||
Release: 39
|
||||
Summary: Tools Needed to Create Documentation from Texinfo Sources
|
||||
URL: http://www.texinfo.org
|
||||
PreReq: %{install_info_prereq}
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-%{version}.tar.bz2
|
||||
# URL: https://texi2html.cvshome.org/
|
||||
Source1: texi2html-1.76.tar.bz2
|
||||
Source2: texi2roff-2.0.tar.bz2
|
||||
Source3: info-dir
|
||||
Patch: texinfo-%{version}.dif
|
||||
Patch1: texi2html-1.76.dif
|
||||
Patch2: texi2roff-2.0.dif
|
||||
Patch3: texi2roff.patch.bz2
|
||||
Patch4: texinfo-4.7-zlib.patch
|
||||
Patch5: texinfo-%{version}-tempfile.patch
|
||||
Patch6: texinfo-%{version}-echo.patch
|
||||
Patch7: texi2roff-2.0-gcc4.patch
|
||||
Patch8: texinfo-4.8-sec.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Texinfo is a documentation system that uses a single source file to
|
||||
produce both online information and printed output. Using Texinfo, you
|
||||
can create a printed document with the normal features of a book,
|
||||
including chapters, sections, cross-references, and indices. From the
|
||||
same Texinfo source file, you can create a menu-driven, online info
|
||||
file with nodes, menus, cross-references, and indices.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Andreas Schwab <schwab@suse.de>
|
||||
Brian Fox <bfox@gnu.org>
|
||||
Charles Hannum <mycroft@gnu.org>
|
||||
Daniel Hagerty <hag@gnu.org>
|
||||
David J. MacKenzie <djm@gnu.org>
|
||||
Eli Zaretskii <eliz@is.elta.co.il>
|
||||
Jim Meyering <meyering@na-net.ornl.gov>
|
||||
Karl Berry <karl@gnu.org>
|
||||
Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
Noah Friedman <friedman@prep.org>
|
||||
Richard Stallman <rms@gnu.org>
|
||||
Robert J. Chassell <bob@gnu.org>
|
||||
Roland McGrath <roland@gnu.org>
|
||||
|
||||
%package -n info
|
||||
Summary: A Stand-Alone Terminal-Based Info Browser
|
||||
Group: Productivity/Publishing/Texinfo
|
||||
PreReq: bash zlib libzio
|
||||
|
||||
%description -n info
|
||||
Info is a terminal-based program for reading documentation of computer
|
||||
programs in the Info format. The GNU Project distributes most of its
|
||||
on-line manuals in the Info format, so you need a program called "Info
|
||||
reader" to read the manuals.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Andreas Schwab <schwab@suse.de>
|
||||
Brian Fox <bfox@gnu.org>
|
||||
Charles Hannum <mycroft@gnu.org>
|
||||
Daniel Hagerty <hag@gnu.org>
|
||||
David J. MacKenzie <djm@gnu.org>
|
||||
Eli Zaretskii <eliz@is.elta.co.il>
|
||||
Jim Meyering <meyering@na-net.ornl.gov>
|
||||
Karl Berry <karl@gnu.org>
|
||||
Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
Noah Friedman <friedman@prep.org>
|
||||
Richard Stallman <rms@gnu.org>
|
||||
Robert J. Chassell <bob@gnu.org>
|
||||
Roland McGrath <roland@gnu.org>
|
||||
|
||||
%prep
|
||||
rm -rf texi2html-1.76 texi2roff-2.0
|
||||
%setup -b 1 -b 2
|
||||
%patch
|
||||
%patch4 -p0 -b .zlib
|
||||
%patch5 -p0 -b .tempfile
|
||||
%patch6 -p0 -b .echo
|
||||
%patch8 -p0 -b .sec
|
||||
# nb is already there and more recent
|
||||
rm -fv po/no.*
|
||||
cd ../texi2html-1.76
|
||||
%patch -P 1
|
||||
cd ../texi2roff-2.0
|
||||
%patch -P 3 -p 0 -b .Bader
|
||||
%patch -P 2
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
HOST=%{_target_cpu}-suse-linux
|
||||
CFLAGS="$RPM_OPT_FLAGS -pipe"
|
||||
LDFLAGS=""
|
||||
CC=gcc
|
||||
export CFLAGS LDFLAGS CC
|
||||
./configure --build=$HOST \
|
||||
--prefix=/usr \
|
||||
--mandir=%{_mandir} \
|
||||
--infodir=%{_infodir} \
|
||||
--without-included-gettext \
|
||||
--with-catgets \
|
||||
--enable-nls
|
||||
make
|
||||
PATH=${PWD}/makeinfo:${PWD}/util:$PATH
|
||||
export PATH
|
||||
cd ../texi2html-1.76
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe"
|
||||
./configure --build=$HOST \
|
||||
--prefix=/usr \
|
||||
--infodir=%{_infodir} \
|
||||
--mandir=%{_mandir} \
|
||||
--without-included-gettext \
|
||||
--with-catgets \
|
||||
--enable-nls
|
||||
make
|
||||
cd ../texi2roff-2.0
|
||||
rm -f texi2roff
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf ${RPM_BUILD_ROOT}/
|
||||
make DESTDIR=${RPM_BUILD_ROOT} \
|
||||
infodir=%{_infodir} \
|
||||
htmldir=%{_defaultdocdir}/texi2html install
|
||||
mkdir -p ${RPM_BUILD_ROOT}/sbin
|
||||
mv ${RPM_BUILD_ROOT}/usr/bin/install-info ${RPM_BUILD_ROOT}/sbin/
|
||||
ln -sf ../../sbin/install-info ${RPM_BUILD_ROOT}/usr/bin/install-info
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_infodir}
|
||||
install -m 644 ${RPM_SOURCE_DIR}/info-dir ${RPM_BUILD_ROOT}%{_infodir}/dir
|
||||
cd ../texi2html-1.76
|
||||
make DESTDIR=${RPM_BUILD_ROOT} \
|
||||
infodir=%{_infodir} \
|
||||
texinfohtmldir=%{_defaultdocdir}/texi2html install
|
||||
cd ../texi2roff-2.0
|
||||
doc=%{_defaultdocdir}/texi2roff
|
||||
install -m 755 texi2roff ${RPM_BUILD_ROOT}/usr/bin/
|
||||
install -m 755 texi2index ${RPM_BUILD_ROOT}/usr/bin/
|
||||
install -m 644 texi2roff.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
|
||||
mkdir -p ${RPM_BUILD_ROOT}${doc}
|
||||
install -m 644 Readme ${RPM_BUILD_ROOT}${doc}
|
||||
install -m 644 copyright ${RPM_BUILD_ROOT}${doc}
|
||||
|
||||
%clean
|
||||
test -n "$RPM_BUILD_ROOT" && rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/texinfo.gz
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/texi2html.info.gz
|
||||
|
||||
%postun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/texinfo.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/texi2html.info.gz
|
||||
|
||||
%post -n info
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/info-stnd.info.gz
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/info.info.gz
|
||||
|
||||
%postun -n info
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/info-stnd.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/info.info.gz
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%dir %{_defaultdocdir}/texi2html
|
||||
%dir %{_defaultdocdir}/texi2roff
|
||||
%doc ABOUT-NLS AUTHORS COPYING INTRODUCTION NEWS README TODO
|
||||
%doc doc/texinfo.tex doc/txi-*.tex
|
||||
%doc %{_defaultdocdir}/texi2html/texi2html.html
|
||||
%doc %{_defaultdocdir}/texi2roff/Readme
|
||||
%doc %{_defaultdocdir}/texi2roff/copyright
|
||||
/usr/bin/makeinfo
|
||||
/usr/bin/texi*
|
||||
%{_infodir}/texinfo*.gz
|
||||
%{_infodir}/texi2html*.gz
|
||||
%{_mandir}/man1/makeinfo.1.gz
|
||||
%{_mandir}/man1/texi*.1.gz
|
||||
%{_mandir}/man5/texinfo.5.gz
|
||||
/usr/share/locale/*/*/texinfo.mo
|
||||
/usr/share/texinfo
|
||||
/usr/share/texi2html
|
||||
|
||||
%files -n info
|
||||
%defattr(-,root,root)
|
||||
%config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir
|
||||
/sbin/install-info
|
||||
/usr/bin/install-info
|
||||
%{_bindir}/info
|
||||
%{_bindir}/infokey
|
||||
%{_infodir}/info.info*
|
||||
%{_infodir}/info-stnd.info*
|
||||
%{_mandir}/man1/info.1*
|
||||
%{_mandir}/man1/infokey.1*
|
||||
%{_mandir}/man1/install-info.1*
|
||||
%{_mandir}/man5/info.5*
|
||||
|
||||
%changelog -n texinfo
|
||||
* Fri Nov 10 2006 - werner@suse.de
|
||||
- Fix buffer overflow in texi2dvi (bug #214920)
|
||||
* Mon Jul 24 2006 - adrian@suse.de
|
||||
- add libzio as PreReq for info
|
||||
* Fri Jun 16 2006 - werner@suse.de
|
||||
- Re-enable texi2pdf because now tetex does not install this
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Dec 19 2005 - werner@suse.de
|
||||
- Add missing sym link to file list
|
||||
* Thu Oct 06 2005 - werner@suse.de
|
||||
- Use directory for the base of temporary index files (bug #120577)
|
||||
* Thu Mar 24 2005 - uli@suse.de
|
||||
- fixed to build with GCC4
|
||||
* Thu Feb 10 2005 - werner@suse.de
|
||||
- Update to next bug fix release 1.76 of texi2html
|
||||
* Tue Feb 01 2005 - werner@suse.de
|
||||
- Update to bug fix release 1.74 of texi2html
|
||||
* Thu Jan 27 2005 - werner@suse.de
|
||||
- Fix texi2html to not loop around on broken texi files
|
||||
- Remove texi2pdf from texinfo file list due already part of
|
||||
tetex
|
||||
* Wed Jan 26 2005 - schwab@suse.de
|
||||
- Reenable strict aliasing.
|
||||
* Tue Jan 25 2005 - werner@suse.de
|
||||
- Move texi2html version to 1.72
|
||||
- Update texinfo version to 4.8
|
||||
* Tue Oct 19 2004 - ro@suse.de
|
||||
- drop no locale support, nb is already there
|
||||
* Mon Aug 09 2004 - werner@suse.de
|
||||
- Info: check remaining buffer size before printing into echo area
|
||||
* Fri Jul 02 2004 - mfabian@suse.de
|
||||
- apply makeinfo.patch received from Karl Berry
|
||||
<karl@freefriends.org> fixing the problem that makeinfo 4.7
|
||||
could not process groff.texinfo anymore. See
|
||||
http://lists.gnu.org/archive/html/bug-texinfo/2004-04/msg00026.html
|
||||
http://article.gmane.org/gmane.comp.tex.texinfo.bugs/2019/
|
||||
* Wed Apr 21 2004 - werner@suse.de
|
||||
- Use libzio together with zlib and libbz2 to support bz2 info
|
||||
files to avoids pipe()/fork()/execve() calls in install-info.
|
||||
* Mon Apr 19 2004 - werner@suse.de
|
||||
- Be sure that texi2html find all required tools
|
||||
* Fri Apr 16 2004 - werner@suse.de
|
||||
- Update to texinfo 4.7
|
||||
- Use -fno-strict-aliasing
|
||||
* Sun Mar 14 2004 - schwab@suse.de
|
||||
- Fix uses of snprintf and gzFile.
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- build as user
|
||||
* Wed Dec 10 2003 - werner@suse.de
|
||||
- Update to texinfo 4.6
|
||||
* Wed May 21 2003 - ro@suse.de
|
||||
- fix filelist: package files in /usr/share/texinfo
|
||||
* Thu Apr 24 2003 - ro@suse.de
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
* Sun Mar 09 2003 - kukuk@suse.de
|
||||
- Add zlib to info PreRequires [Bug #24954]
|
||||
* Tue Feb 11 2003 - kukuk@suse.de
|
||||
- Branch off info sub package
|
||||
- Add /usr/share/info/dir
|
||||
* Sat Feb 08 2003 - kukuk@suse.de
|
||||
- Remove PreRequire for gzip, link against zlib instead (patched
|
||||
based on version from RH)
|
||||
* Sat Feb 08 2003 - ro@suse.de
|
||||
- fixed pre/post install scripts
|
||||
* Fri Feb 07 2003 - ro@suse.de
|
||||
- removed self-prereq again
|
||||
* Thu Feb 06 2003 - aj@suse.de
|
||||
- Use install_info.
|
||||
- Update to texinfo 4.5.
|
||||
* Wed Jan 22 2003 - werner@suse.de
|
||||
- Request gzip before installing (bug #22992)
|
||||
* Fri Aug 30 2002 - werner@suse.de
|
||||
- Add a warning on missed programs and say what todo (bug #18642)
|
||||
* Mon Jun 17 2002 - schwab@suse.de
|
||||
- Update to texinfo 4.2.
|
||||
* Thu Mar 07 2002 - schwab@suse.de
|
||||
- Update to texinfo 4.1.
|
||||
* Wed Feb 13 2002 - schwab@suse.de
|
||||
- Fix verbose message of texi2dvi.
|
||||
* Thu Jan 24 2002 - okir@suse.de
|
||||
- fixed tempfile races in texindex (moved all tempfiles
|
||||
into a subdirectory of /tmp).
|
||||
* Wed Jan 16 2002 - schwab@suse.de
|
||||
- Fix bad free in "makeinfo --html".
|
||||
* Tue Jun 12 2001 - schwab@suse.de
|
||||
- Fix directive inside macro call.
|
||||
* Thu Apr 12 2001 - werner@suse.de
|
||||
- Use CVS snapshot of texi2html which works on glibc texinfo code
|
||||
* Thu Apr 12 2001 - ro@suse.de
|
||||
- fixed glossary for texi2html
|
||||
* Wed Apr 11 2001 - werner@suse.de
|
||||
- Update of texi2html and texi2roff
|
||||
* Thu Sep 28 2000 - werner@suse.de
|
||||
- Move /usr/bin/install-info to /sbin/install-info and
|
||||
set backward compatibility symlink.
|
||||
* Wed May 31 2000 - werner@suse.de
|
||||
- use rpm macros for common paths
|
||||
* Mon Feb 28 2000 - werner@suse.de
|
||||
- Fix segmentation fault (close bug #1911)
|
||||
* Thu Feb 03 2000 - werner@suse.de
|
||||
- Fixed de.po
|
||||
* Wed Feb 02 2000 - werner@suse.de
|
||||
- Remove Makefile.Linux
|
||||
- /usr/man -> /usr/share/man
|
||||
- /usr/info -> /usr/share/info (man pages and main for info program)
|
||||
- Install info pages of texinfo
|
||||
* Wed Dec 01 1999 - werner@suse.de
|
||||
- small changes
|
||||
* Mon Nov 29 1999 - ke@suse.de
|
||||
- update: version 4.0 (#600).
|
||||
- use BuildRoot.
|
||||
- install COPYRIGHT, etc.
|
||||
- don't disable NLS.
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Mon Jan 11 1999 - ro@suse.de
|
||||
- info/terminal.c : TIOCGETC and TIOCGLTC are defined on alpha,
|
||||
but we can't access tchars and ltchars strutures,
|
||||
so undef both
|
||||
use tcgetattr and cfgetospeed to determine output
|
||||
speed
|
||||
* Fri Jul 17 1998 - werner@suse.de
|
||||
- check exit satus of mkdir for temp directories
|
||||
* Tue Oct 14 1997 - ro@suse.de
|
||||
- update to 3.12
|
||||
- ready for autobuild
|
||||
* Fri Oct 10 1997 - florian@suse.de
|
||||
- update to texinfo 3.11
|
||||
* Sun Jun 22 1997 - florian@suse.de
|
||||
- add debian-changes to support ANSI-cursor movements
|
||||
- add texi2html 1.51
|
||||
- add texi2roff 2.0
|
||||
* Sun Apr 13 1997 - florian@suse.de
|
||||
- cosmetic changes, just done in preparation for glibc
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- Update auf neue Version 3.9.
|
Loading…
Reference in New Issue
Block a user