From 66bb4ddbb57c03655c6598587af9577bd409e3a66a915b406286a5603c706c29 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 18 Jul 2007 20:35:59 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texinfo?expand=0&rev=4 --- texi2html-1.76.tar.bz2 | 3 - texi2html-1.76.dif => texi2html-1.78.dif | 4 +- texi2html-1.78.tar.bz2 | 3 + texinfo-4.8.dif | 114 ----------------- texinfo-4.8.tar.bz2 | 3 - ...o-4.7-zlib.patch => texinfo-4.9-zlib.patch | 28 ++-- texinfo-4.9.dif | 92 +++++++++++++ texinfo-4.9.tar.bz2 | 3 + texinfo.changes | 85 ++++++++++++ texinfo.spec | 121 +++++++++++++++--- 10 files changed, 302 insertions(+), 154 deletions(-) delete mode 100644 texi2html-1.76.tar.bz2 rename texi2html-1.76.dif => texi2html-1.78.dif (64%) create mode 100644 texi2html-1.78.tar.bz2 delete mode 100644 texinfo-4.8.dif delete mode 100644 texinfo-4.8.tar.bz2 rename texinfo-4.7-zlib.patch => texinfo-4.9-zlib.patch (96%) create mode 100644 texinfo-4.9.dif create mode 100644 texinfo-4.9.tar.bz2 diff --git a/texi2html-1.76.tar.bz2 b/texi2html-1.76.tar.bz2 deleted file mode 100644 index a88631d..0000000 --- a/texi2html-1.76.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a5e8243e18f610ed6ff23eb80b07f0fa8cde676902b9b20bc41cd12785ceb95 -size 381851 diff --git a/texi2html-1.76.dif b/texi2html-1.78.dif similarity index 64% rename from texi2html-1.76.dif rename to texi2html-1.78.dif index 9f89735..d819dce 100644 --- a/texi2html-1.76.dif +++ b/texi2html-1.78.dif @@ -1,5 +1,5 @@ ---- texi2html.1.in -+++ texi2html.1.in 2005-01-27 15:17:29.000000000 +0100 +--- doc/texi2html.1.in ++++ doc/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 diff --git a/texi2html-1.78.tar.bz2 b/texi2html-1.78.tar.bz2 new file mode 100644 index 0000000..02ef1c2 --- /dev/null +++ b/texi2html-1.78.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:740b1074d053570d4899c943a4aa99b97f10025d6306d1cc09c2c76e40a98167 +size 453223 diff --git a/texinfo-4.8.dif b/texinfo-4.8.dif deleted file mode 100644 index 7af76e7..0000000 --- a/texinfo-4.8.dif +++ /dev/null @@ -1,114 +0,0 @@ ---- .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 diff --git a/texinfo-4.8.tar.bz2 b/texinfo-4.8.tar.bz2 deleted file mode 100644 index e12225d..0000000 --- a/texinfo-4.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f6bb61fb9c1d6a65523c786a4a74ab61e455420469e09a86929f2d403d9a21bb -size 1521822 diff --git a/texinfo-4.7-zlib.patch b/texinfo-4.9-zlib.patch similarity index 96% rename from texinfo-4.7-zlib.patch rename to texinfo-4.9-zlib.patch index ebd304f..9efbad9 100644 --- a/texinfo-4.7-zlib.patch +++ b/texinfo-4.9-zlib.patch @@ -1,5 +1,5 @@ --- config.in -+++ config.in Wed Apr 21 12:18:07 2004 ++++ config.in 2004-04-21 12:18:07.000000000 +0200 @@ -326,6 +326,9 @@ /* Define to 1 if you have the `__secure_getenv' function. */ #undef HAVE___SECURE_GETENV @@ -11,8 +11,8 @@ #undef ICONV_CONST --- configure -+++ configure Wed Apr 21 12:37:49 2004 -@@ -13111,6 +13111,653 @@ ++++ configure 2007-07-11 12:35:04.247562161 +0200 +@@ -13510,6 +13510,653 @@ _ACEOF @@ -663,12 +663,12 @@ + + + - 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 + 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" + --- configure.ac -+++ configure.ac Wed Apr 21 12:37:32 2004 -@@ -159,6 +159,24 @@ ++++ configure.ac 2004-04-21 12:37:32.000000000 +0200 +@@ -209,6 +209,24 @@ AM_CONDITIONAL(INSTALL_WARNINGS, AM_GNU_GETTEXT_VERSION(0.14.1) AM_GNU_GETTEXT() @@ -694,7 +694,7 @@ Makefile doc/Makefile --- util/install-info.c -+++ util/install-info.c Wed Apr 21 12:49:50 2004 ++++ util/install-info.c 2004-04-21 12:49:50.000000000 +0200 @@ -20,6 +20,9 @@ #include "system.h" @@ -705,7 +705,7 @@ static char *progname = "install-info"; -@@ -545,16 +548,28 @@ +@@ -545,16 +548,28 @@ open_possibly_compressed_file (char *fil opened_filename = &local_opened_filename; *opened_filename = filename; @@ -734,7 +734,7 @@ } #ifdef __MSDOS__ -@@ -562,13 +577,21 @@ +@@ -562,13 +577,21 @@ open_possibly_compressed_file (char *fil { free (*opened_filename); *opened_filename = concat (filename, ".igz", ""); @@ -756,7 +756,7 @@ } #endif if (!f) -@@ -580,7 +603,11 @@ +@@ -580,7 +603,11 @@ open_possibly_compressed_file (char *fil /* And try opening it again. */ free (*opened_filename); *opened_filename = filename; @@ -768,7 +768,7 @@ if (!f) pfatal_with_name (filename); } -@@ -588,7 +615,7 @@ +@@ -588,7 +615,7 @@ open_possibly_compressed_file (char *fil pfatal_with_name (filename); } } @@ -777,7 +777,7 @@ /* 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 @@ +@@ -649,7 +676,14 @@ open_possibly_compressed_file (char *fil #endif *is_pipe = 0; } @@ -792,7 +792,7 @@ return f; } -@@ -1449,7 +1483,7 @@ +@@ -1450,7 +1484,7 @@ There is NO WARRANTY, to the extent perm warning (_("no entries found for `%s'; nothing deleted"), infile, 0); output_dirfile (opened_dirfilename, dir_nlines, dir_lines, n_entries_to_add, diff --git a/texinfo-4.9.dif b/texinfo-4.9.dif new file mode 100644 index 0000000..97fc6ac --- /dev/null +++ b/texinfo-4.9.dif @@ -0,0 +1,92 @@ +--- .pkgextract ++++ .pkgextract 2004-04-16 16:07:40.000000000 +0200 +@@ -0,0 +1,5 @@ ++patch -p0 -b --suffix=.zlib < ../texinfo-4.9-zlib.patch ++patch -p0 -b --suffix=.tmpf < ../texinfo-4.8-tempfile.patch ++patch -p0 -b --suffix=.echo < ../texinfo-4.8-echo.patch ++patch -p0 -b --suffix=.sec < ../texinfo-4.8-sec.patch ++patch -p0 -b --suffix=.xml < ../texinfo-4.8-xml.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" + diff --git a/texinfo-4.9.tar.bz2 b/texinfo-4.9.tar.bz2 new file mode 100644 index 0000000..00f882a --- /dev/null +++ b/texinfo-4.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e719982293a2dd55af7cf720407d3660a01da3fd791d03a47408d502084cf840 +size 1524181 diff --git a/texinfo.changes b/texinfo.changes index daf22d4..2b9f24b 100644 --- a/texinfo.changes +++ b/texinfo.changes @@ -1,3 +1,88 @@ +------------------------------------------------------------------- +Wed Jul 11 13:13:29 CEST 2007 - werner@suse.de + +- Update to texinfo version 4.9 + * GPLv3. + * texi2dvi: + . new mode --build=tidy which supports compilation in a separate + directory, where intermediate files are preserved. + . new option --build-dir, to specify where the tidy build will take + place, either locally or globally. This allows avoiding the clutter + while preserving auxiliary files. + . new support for AUC-TeX: texi2dvi (weakly) supports arguments a la + TeX such as `\nonstopmode\input{file.tex}'. + . new options --ps and --dvipdf, useful especially for pstricks documents. + . new option --src-specials, passed to TeX. + . pdftexi2dvi is a new wrapper to `texi2dvi --pdf', equal to texi2pdf, + for the sake of AUC-TeX which prepends `pdf' to the compilation + command when requested to produce PDF. + * texinfo.tex: + . Latin1, Latin2, Latin9, and UTF-8 are supported as well as Computer + Modern can manage. + . png and jpg images supported in pdf output. + . new Russian, Serbian, and Ukrainian translations for texinfo.tex: + txi-ru.tex, txi-sr.tex, txi-uk.tex. + . section names with \ characters work properly in pdf outlines. + . have .toc files use @ as the escape character, instead of \. +- Update to texi2html version 1.78 + * Transliterate accented characters in file names. Use Text::Unidecode + if detected. + * Handle @frenchspacing, @tie, @indent, @setcontentsaftertitlepage, + @setshortcontentsaftertitlepage and the obsolete @allow-recursion + and @quote-arg. + * With book style the Table of Contents is put where it is set. + * Use more numeric entities, especially for accented letters. + * The `examples' directory now contains an init file for Mediawiki output. + Mediawiki is the GPL'd wiki used by Wikipedia. + * new init file tex4ht.init. With this init file, httex or htlatex from + tex4ht is used to format @tex and @math. + * Init files now have a chance to override all file names, rather than just + page names. + * Put the images under a double licence by adding back their original GPL + licence. + * If SIMPLE_MENU is true the menu is simply enclosed in a preformatted + environment. + * The user can bypass the texi2html functions and provide his own function + to do things similar that what is done for interfacing with LaTeX2HTML + or tex4ht. + * LaTeX2HTML stuff is moved out of texi2html.pl, to T2h_l2h.pm. + * Add $USER and $DATE variables to override the defaults detected for the + footer. + * $TOP_FILE and $TOC_FILE are only set if set by the user. The elements + file names are in the hash reference $Texi2HTML::THISDOC{'filename'} + for use in init files. + * The API for image, normal_text, paragraph and node_file_name has changed. + * The $ENCODING variable is deprecated, replaced by $ENCODING_NAME + and $OUT_ENCODING. + * utf8 is used as default out file encoding. This should allow for utf8 + translations for languages which cannot use @-commands for non ascii + characters. + * Use entities for ``, '', ---, -- and quotes used for some formatting + @-commands if $USE_ISO is set. + * don't set unset MENU-ENTRY-NAME if it is similar with the NODE-NAME, + it is useless as it is a construct that shouldn't happen. + * avoid menu entry and description redundancy in the formatting function + and not in the main program. + * accept - in @-command names (compatibility with makeinfo) + * in user-defined macro arguments a comma in brace is escaped (compatibility + with makeinfo from texinfo 4.8.90) + * don't add the section title to the html title when the document isn't split + * When the file extension is set to the empty string, a trailing `.' will not + be automatically added to file names. + * The texi2html script is now created by make and not configure. + * It is possible to build the translation files from outside of the + build directory. + * When configure detects that no Data::Dumper is present, the build scripts + will simply copy the files instead of breaking. + * remove handling of quotation second arg, quotation has only one arg. + * handle nested ifset/ifclear. + * Improved handling of @sc and @centerchap. + * More flexible normal_text. + * style_stack really contains the formatting @-commands. + * caching of html generated by latex2html reenabled. + * when not split and no section navigation is output, the about page and + navigation direction are not output for all the elements. + ------------------------------------------------------------------- Mon Mar 26 11:43:30 CEST 2007 - rguenther@suse.de diff --git a/texinfo.spec b/texinfo.spec index a12d38f..f160079 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -1,5 +1,5 @@ # -# spec file for package texinfo (Version 4.8) +# spec file for package texinfo (Version 4.9) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,26 +12,26 @@ Name: texinfo BuildRequires: libbz2-devel libzio-devel ncurses-devel zlib-devel -License: GNU General Public License (GPL) +License: GPL v2 or later Group: Productivity/Publishing/Texinfo Autoreqprov: on -Version: 4.8 -Release: 55 +Version: 4.9 +Release: 1 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 +# URL: http://savannah.nongnu.org/projects/texi2html/ +Source1: texi2html-1.78.tar.bz2 Source2: texi2roff-2.0.tar.bz2 Source3: info-dir Patch: texinfo-%{version}.dif -Patch1: texi2html-1.76.dif +Patch1: texi2html-1.78.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 +Patch4: texinfo-%{version}-zlib.patch +Patch5: texinfo-4.8-tempfile.patch +Patch6: texinfo-4.8-echo.patch Patch7: texi2roff-2.0-gcc4.patch Patch8: texinfo-4.8-sec.patch Patch9: texinfo-4.8-xml.patch @@ -93,17 +93,17 @@ Authors: Roland McGrath %prep -rm -rf texi2html-1.76 texi2roff-2.0 +rm -rf texi2html-1.78 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 %patch9 -p0 -b .xml +%patch # nb is already there and more recent rm -fv po/no.* -cd ../texi2html-1.76 +cd ../texi2html-1.78 %patch -P 1 cd ../texi2roff-2.0 %patch -P 3 -p 0 -b .Bader @@ -126,7 +126,7 @@ cd ../texi2roff-2.0 make PATH=${PWD}/makeinfo:${PWD}/util:$PATH export PATH -cd ../texi2html-1.76 +cd ../texi2html-1.78 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe" ./configure --build=$HOST \ --prefix=/usr \ @@ -150,10 +150,13 @@ rm -rf ${RPM_BUILD_ROOT}/ 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 +cd ../texi2html-1.78 make DESTDIR=${RPM_BUILD_ROOT} \ infodir=%{_infodir} \ texinfohtmldir=%{_defaultdocdir}/texi2html install + install -m 644 README ${RPM_BUILD_ROOT}%{_defaultdocdir}/texi2html/ + install -m 644 NEWS ${RPM_BUILD_ROOT}%{_defaultdocdir}/texi2html/ + install -m 644 COPYING ${RPM_BUILD_ROOT}%{_defaultdocdir}/texi2html/ cd ../texi2roff-2.0 doc=%{_defaultdocdir}/texi2roff install -m 755 texi2roff ${RPM_BUILD_ROOT}/usr/bin/ @@ -188,9 +191,9 @@ test -n "$RPM_BUILD_ROOT" && rm -rf ${RPM_BUILD_ROOT} %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 +%doc %{_defaultdocdir}/texi2html/* +%doc %{_defaultdocdir}/texi2roff/* +%doc %{_defaultdocdir}/texi2roff/* /usr/bin/makeinfo /usr/bin/texi* %{_infodir}/texinfo*.gz @@ -217,6 +220,88 @@ test -n "$RPM_BUILD_ROOT" && rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man5/info.5* %changelog +* Wed Jul 11 2007 - werner@suse.de +- Update to texinfo version 4.9 + * GPLv3. + * texi2dvi: + . new mode --build=tidy which supports compilation in a separate + directory, where intermediate files are preserved. + . new option --build-dir, to specify where the tidy build will take + place, either locally or globally. This allows avoiding the clutter + while preserving auxiliary files. + . new support for AUC-TeX: texi2dvi (weakly) supports arguments a la + TeX such as `\nonstopmode\input{file.tex}'. + . new options --ps and --dvipdf, useful especially for pstricks documents. + . new option --src-specials, passed to TeX. + . pdftexi2dvi is a new wrapper to `texi2dvi --pdf', equal to texi2pdf, + for the sake of AUC-TeX which prepends `pdf' to the compilation + command when requested to produce PDF. + * texinfo.tex: + . Latin1, Latin2, Latin9, and UTF-8 are supported as well as Computer + Modern can manage. + . png and jpg images supported in pdf output. + . new Russian, Serbian, and Ukrainian translations for texinfo.tex: + txi-ru.tex, txi-sr.tex, txi-uk.tex. + . section names with \ characters work properly in pdf outlines. + . have .toc files use @ as the escape character, instead of \. +- Update to texi2html version 1.78 + * Transliterate accented characters in file names. Use Text::Unidecode + if detected. + * Handle @frenchspacing, @tie, @indent, @setcontentsaftertitlepage, + @setshortcontentsaftertitlepage and the obsolete @allow-recursion + and @quote-arg. + * With book style the Table of Contents is put where it is set. + * Use more numeric entities, especially for accented letters. + * The `examples' directory now contains an init file for Mediawiki output. + Mediawiki is the GPL'd wiki used by Wikipedia. + * new init file tex4ht.init. With this init file, httex or htlatex from + tex4ht is used to format @tex and @math. + * Init files now have a chance to override all file names, rather than just + page names. + * Put the images under a double licence by adding back their original GPL + licence. + * If SIMPLE_MENU is true the menu is simply enclosed in a preformatted + environment. + * The user can bypass the texi2html functions and provide his own function + to do things similar that what is done for interfacing with LaTeX2HTML + or tex4ht. + * LaTeX2HTML stuff is moved out of texi2html.pl, to T2h_l2h.pm. + * Add $USER and $DATE variables to override the defaults detected for the + footer. + * $TOP_FILE and $TOC_FILE are only set if set by the user. The elements + file names are in the hash reference $Texi2HTML::THISDOC{'filename'} + for use in init files. + * The API for image, normal_text, paragraph and node_file_name has changed. + * The $ENCODING variable is deprecated, replaced by $ENCODING_NAME + and $OUT_ENCODING. + * utf8 is used as default out file encoding. This should allow for utf8 + translations for languages which cannot use @-commands for non ascii + characters. + * Use entities for ``, '', ---, -- and quotes used for some formatting + @-commands if $USE_ISO is set. + * don't set unset MENU-ENTRY-NAME if it is similar with the NODE-NAME, + it is useless as it is a construct that shouldn't happen. + * avoid menu entry and description redundancy in the formatting function + and not in the main program. + * accept - in @-command names (compatibility with makeinfo) + * in user-defined macro arguments a comma in brace is escaped (compatibility + with makeinfo from texinfo 4.8.90) + * don't add the section title to the html title when the document isn't split + * When the file extension is set to the empty string, a trailing `.' will not + be automatically added to file names. + * The texi2html script is now created by make and not configure. + * It is possible to build the translation files from outside of the + build directory. + * When configure detects that no Data::Dumper is present, the build scripts + will simply copy the files instead of breaking. + * remove handling of quotation second arg, quotation has only one arg. + * handle nested ifset/ifclear. + * Improved handling of @sc and @centerchap. + * More flexible normal_text. + * style_stack really contains the formatting @-commands. + * caching of html generated by latex2html reenabled. + * when not split and no section navigation is output, the about page and + navigation direction are not output for all the elements. * Mon Mar 26 2007 - rguenther@suse.de - Add libbz2-devel, ncurses-devel and zlib-devel BuildRequires - Exchange libzio for libzio-devel BuildRequires