--- texinfo-4.13a.dfsg.1.orig/debian/TODO
+++ texinfo-4.13a.dfsg.1/debian/TODO
@@ -0,0 +1,17 @@
+TODO for texinfo Debian package
+-------------------------------
+* make GNU install-info able to write entries with full path into the
+ dir file. This way one could reference other info files
+
+* use libpaper/papersize to set /etc/texmf/tex/whatever/texinfo.cnf to
+ include @afourpaper in case that papersize=a4. Needs some checking
+ like a grep for % ___USE_PAPERSIZE___ in it...
+
+* fix the man page for makeinfo to include --document-language
+
+* fix the @documentlanguage callback function in makeinfo to change
+ the interface_language variable.
+
+* go through the bugs on bugs.debian.org and check wether they are
+ still present or fixed already (by upstream).
+
--- texinfo-4.13a.dfsg.1.orig/debian/install-info.triggers
+++ texinfo-4.13a.dfsg.1/debian/install-info.triggers
@@ -0,0 +1 @@
+interest /usr/share/info
--- texinfo-4.13a.dfsg.1.orig/debian/copyright
+++ texinfo-4.13a.dfsg.1/debian/copyright
@@ -0,0 +1,30 @@
+This is the Debian package of Texinfo, the GNU documentation system.
+
+This package was previously maintained by Ian Jackson, Erick
+Branderhorst, Galen Hazelwood, and Josip Rodin. Today, it is
+maintained by the Debian TeX Task Force <debian-tex-maint@lists.debian.org>.
+
+The original source can be found at: http://ftp.gnu.org/gnu/texinfo/
+
+Upstream maintainer: Karl Berry <karl@cs.umb.edu>.
+
+ All programs Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997,
+ 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+ Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License v3 can be found in `/usr/share/common-licenses/GPL-3' file.
+
--- texinfo-4.13a.dfsg.1.orig/debian/texi2pdf.man
+++ texinfo-4.13a.dfsg.1/debian/texi2pdf.man
@@ -0,0 +1,49 @@
+.TH "texi2pdf" "1" "September 2000" "teTeX" "teTeX"
+.PP
+.SH "NAME"
+texi2pdf \- create a PDF file from a Texinfo file
+.PP
+.SH "SYNOPSIS"
+.PP
+\fBtexi2pdf\fP [ \fIOPTION\fP\&.\&.\&. ] \fIFILE\fP\&.\&.\&.
+.PP
+.SH "DESCRIPTION"
+.PP
+\fBtexi2pdf\fP sets the \fBTEX\fP environment variable to
+\fBpdftex\fP(1) and runs \fBtexi2dvi\fP(1), passing all options to
+\fBtexi2dvi\fP(1)\&.
+.PP
+.SH "OPTIONS"
+.PP
+See \fBtexi2dvi\fP(1) for relevant options\&.
+.PP
+.SH "ENVIRONMENT"
+.PP
+.IP
+.IP "\fBTEX\fP"
+set to \fBpdftex\fP(1) by the script
+.IP
+.PP
+.SH "SEE ALSO"
+.PP
+\fBpdftex\fP(1), \fBtexi2dvi\fP(1), \fBtexinfo\fP(5)\&.
+.PP
+.SH "BUGS"
+.PP
+Problems with this script should be reported to the author or to the
+teTeX list, <tetex@dbs\&.uni-hannover\&.de> (mailing list)\&.
+.PP
+Problems with \fBtexi2dvi\fP(1) should be reported to Karl Berry,
+the texinfo maintainer, at <bug-texinfo@gnu\&.org> (mailing list)
+.PP
+.SH "AUTHOR"
+.PP
+Written by Thomas Esser
+<te@dbs\&.uni-hannover\&.de>\&.
+.PP
+This manual page was written by C\&.M\&. Connelly
+<c@eskimo\&.com>, for
+the Debian GNU/Linux system\&. It may be used by other distributions
+without contacting the author\&. Any mistakes or omissions in the
+manual page are my fault; inquiries about or corrections to this
+manual page should be directed to me (and not to the primary author)\&.
--- texinfo-4.13a.dfsg.1.orig/debian/transition-plan.txt
+++ texinfo-4.13a.dfsg.1/debian/transition-plan.txt
@@ -0,0 +1,120 @@
+Proposal to replace Debian's install-info with GNU's install-info
+=================================================================
+Nicolas François <nicolas.francois@centraliens.net>
+Norbert Preining <preining@debian.org>
+Nathanael Nerode <neroden@fastmail.fm>
+debian-dpkg@lists.debian.org
+texinfo@packages.debian.org
+
+Goals
+=====
+ * Replace dpkg's install-info by the GNU's install-info
+ * Ease the recovery of a corrupted info dir file by allowing a generation
+ from scratch
+
+Rational
+========
+ * info files are mostly used by GNU packages. The format of these files
+ is described by the GNU texinfo package, and the support for new
+ features is added to the GNU's install-info (ginstall-info on Debian),
+ and not in dpkg's install-info (e.g. support for documents with more
+ than one section: #139569).
+ * /usr/share/info/dir integrates information from different packages. A
+ package can break what has been registered by another one, without any
+ possibility to fix it (itself). Thus it would be better to be prepared
+ for regenerating a dir file from scratch at any time.
+
+Transition proposal
+===================
+ + Changes in dpkg
+ - replace dpkg's install-info by a script which just issues a warning,
+ or exit silently.
+ This script could be removed for Lenny+1 or 2.
+ install-info should no more be essential, it is only needed when the
+ info viewer is installed to search the info pages.
+
+ + Changes in texinfo
+ - a new install-info package replaces dpkg's install-info
+ - This install-info should support the current dpkg's install-info
+ options (i.e. no failures, but not necessarily registering the info
+ file)
+ IMO, this install-info should be compatible with the GNU's install
+ info, and when it detects that it is used by a old Debian package, it
+ should do nothing (or just warn and recommend using update-info-dir,
+ see below).
+ * this should provide a compatibility with packages not installed
+ from a Debian package (make && make install)
+ * and should not block the installation of old packages
+ * full compatibility with current dpkg's install-info would be nice,
+ but is not required
+ - Add an update-info-dir script. This script should just delete the dir
+ file and then call the GNU's install-info with all the info files.
+ (see also the previous mails from Ian Zimmerman, and his patch for
+ --generate in install-info)
+
+ - When installed for the first time (or first time >= version xxx),
+ it should call update-info-dir.
+ * There may be an issue with local softwares (not Debian packages)
+ => maybe add a debconf question / NEWS entry?
+ * What options should be used when installing the old info files?
+ - Add support for multiple dir files in the info viewer.
+ This would permit update-info-dir to use the
+ --dir-file /usr/share/info/debian-dir option.
+ /usr/share/info/dir (and /usr/local/share/info/dir) could be used for
+ non Debian's info files.
+ - Fix some regressions from dpkg's install-info.
+ (IIRC an alignment regression was mentioned with GNU's texinfo)
+
+ + Changes in packages installing info files
+ - Note: According to an i386 Contents file, there are 2220 info
+ files, in 403 packages
+ - These packages should just drop their info files in /usr/share/info,
+ and call the update-info-dir script if present (postinst and prerm).
+ They could suggest/recommend the info package.
+ - Packages using dh_installinfo should just depends on a new debhelper
+ version.
+ - The info files must be self sufficient (e.g. the section must be
+ specified in the info file), so that they do not require any special
+ install-info options when they are registered.
+ - A review of all these packages (maintainer scripts & info files) will
+ be needed.
+
+ + Changes in dh_installinfo
+ - Instead of calling install-info, test if update-info-dir is present,
+ then call it. Same on postinst and prerm.
+
+ dh_installinfo is very simple, so I don't think more changes are
+ needed.
+
+ + manuals
+ - policy
+ * the policy mentions install-info, and has a section about Info
+ documents. Some changes may be required (e.g. require that the
+ info files are self sufficient, and mention update-info-dir)
+ - Other documents?
+
+Note: In this proposal, I did not consider an issue that some info files of
+old packages are not installed with the new install-info.
+
+Timeline
+========
+These steps do not need synchronization, and could start right now.
+ * better analysis for the requirements of the install-info script in texinfo
+ * packages could also fix their info file, in order to avoid using
+ install-info options (e.g. many do not specify the section)
+ - patches could be sent to all packages with info file which use
+ install-info options
+ * prepare a proposal for the policy
+
+The following steps probably need to happen in that order:
+ * upload texinfo with install-info and update-info-dir
+ * upload debhelper.
+ * new policy (I don't think there is a strong need for synchronization of
+ this step)
+ * file bugs with blockers to keep track of the transition
+ * fix all packages (for most of them, it will be just increasing the
+ debhelper version in the build dependencies)
+ * upload empty install-info in dpkg (no need to wait for the end of the
+ previous step).
+
+
--- texinfo-4.13a.dfsg.1.orig/debian/texinfo.postrm
+++ texinfo-4.13a.dfsg.1/debian/texinfo.postrm
@@ -0,0 +1,62 @@
+#!/bin/sh -e
+
+check_run_without_errors ()
+{
+ tempfile=`mktemp -p /tmp checkrun.XXXXXXXX`
+ if which $1 >/dev/null; then
+ echo -n "Running $*. This may take some time. ..."
+ set +e
+ $* > $tempfile 2>&1
+ if [ $? = 0 ] ; then
+ rm -f $tempfile
+ echo " done."
+ else
+ echo
+ echo "$* failed. Output has been stored in"
+ echo "$tempfile"
+ echo "If tex-common is not configured you can ignore this error message!"
+ echo "Otherwise please include this file if you report a bug."
+ echo
+ fi
+ set -e
+ else
+ rm -f $tempfile
+ fi
+ return 0
+}
+
+update_lsr_files ()
+{
+ tempfile=`mktemp -p /tmp mktexlsr.XXXXXXXX`
+ echo -n "Running mktexlsr. This may take some time. ..."
+ if mktexlsr /usr/share/texmf /var/lib/texmf > $tempfile 2>&1 ; then
+ rm -f $tempfile
+ echo " done."
+ else
+ echo
+ echo "mktexlsr failed. Output has been stored in"
+ echo "$tempfile"
+ echo "Please include this file if you report a bug."
+ echo
+ exit 1
+ fi
+}
+
+case "$1" in
+ remove|disappear)
+ rm -f /var/lib/texmf/web2c/texinfo.*
+ rm -f /var/lib/texmf/web2c/cyrtexinfo.*
+ check_run_without_errors update-fmtutil
+ check_run_without_errors mktexlsr
+ ;;
+ purge|upgrade|failed-upgrade|abort-upgrade|abort-install)
+ ;;
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- texinfo-4.13a.dfsg.1.orig/debian/README.cyrtexinfo
+++ texinfo-4.13a.dfsg.1/debian/README.cyrtexinfo
@@ -0,0 +1,14 @@
+README.cyrtexinfo
+=================
+
+The current combinations teTeX/TeX live/TeXinfo do not provide the
+ cyrtexinfo
+format anymore. If you want to get cyrtexinfo, the cyrillic texinfo format,
+please follow the following steps:
+. install either tetex-base and tetex-extra, or texlive-langcyrillic
+. comment out the format line in /etc/texmf/fmt.d/50cyrtexinfo.cnf
+. create a link
+ /usr/local/bin/cyrtexinfo -> ../../bin/pdfetex
+. call update-fmtutil
+. call fmtutil-sys --missing (or --all)
+
--- texinfo-4.13a.dfsg.1.orig/debian/changelog
+++ texinfo-4.13a.dfsg.1/debian/changelog
@@ -0,0 +1,760 @@
+texinfo (4.13a.dfsg.1-6) unstable; urgency=low
+
+ * update-info-dir: load not only /etc/environment, but also
+ /etc/default/locale for correct setup of languages (Closes: #536476)
+ * info: fix a segfault due to unchecked node computation in nodes.c, patch
+ included upstream (Closes: #598932)
+ * create /usr/share/info if not present (install-info.dirs), so that
+ Emdebian installation does not break (Closes: #599686)
+
+ -- Norbert Preining <preining@debian.org> Thu, 14 Oct 2010 16:33:25 +0900
+
+texinfo (4.13a.dfsg.1-5) unstable; urgency=low
+
+ * update-info-dir: reset $LANGUAGE to the system wide setting in
+ /etc/environment making sure that the generated dir file does not
+ contain strings in foreign language (Closes: #536476)
+ * corrected typo in install-info.sh (Closes: #545783)
+ * install-info.sh: do not warn on --remove and --remove-exactely, we
+ might be running from old maintainer scripts (Closes: #546165)
+ (Patch thanks to Sven Joachim)
+ * bump standards version to 3.8.3, no changes necessary
+
+ -- Norbert Preining <preining@debian.org> Thu, 24 Sep 2009 01:56:19 +0200
+
+texinfo (4.13a.dfsg.1-4) unstable; urgency=low
+
+ * upload to unstable
+ * ignore .png, dir.gz, dir.old.gz files in update-info-dir
+
+ -- Norbert Preining <preining@debian.org> Tue, 09 Jun 2009 13:44:06 +0200
+
+texinfo (4.13a.dfsg.1-3) experimental; urgency=low
+
+ * add missing replaces/conflicts against previous versions of texinfo
+ to the install-info package (Closes: #525798)
+
+ -- Norbert Preining <preining@debian.org> Mon, 27 Apr 2009 11:55:16 +0200
+
+texinfo (4.13a.dfsg.1-2) experimental; urgency=low
+
+ * splitting of the install-info package
+ - add stanza to debian/control
+ - add install-info.install and move i-i from texinfo.install
+ - make info depend on install-info
+ - adjust rules file
+ - add a wrapper /usr/bin/install-info that calls ginstall-info
+ when called outside maintainer scripts, and nothing (due to trigger
+ support, see below) when called from maintainer scripts.
+ dpkg will ship a similar trigger in /usr/sbin to make sure
+ packages that still call i-i with the full path in the maintainer
+ scripts still work
+ * trigger support
+ - make i-i show interest in /usr/share/info
+ - add update-info-dir script that recreates /usr/share/info/dir from
+ all installed info files
+ - add trigger code to install-info's postinst calling update-info-dir
+ * add a patch for texi2dvi to allow tilde (~) in path (Closes: #495577)
+ * bump standards version to 3.8.1, no changes necessary
+
+ -- Norbert Preining <preining@debian.org> Thu, 16 Apr 2009 17:04:21 +0200
+
+texinfo (4.13a.dfsg.1-1) unstable; urgency=low
+
+ * new upstream releases (Closes: #500301)
+ - fix (wrongly) added leading spaces in direntries (Closes: #457741)
+ - works with ~ in the path (Closes: #495577)
+ - disable the patch fix-direntry and fix-texi2dvi-bashism,
+ included upstream
+ * update the list of files to be installed (new translations, pdftexi2dvi)
+ * mange version in the watch file to remove the .dfsg.N part
+ * use quilt.make (first step in direction of source format 3.0, but that
+ is broken)
+ * add README.Debian to info package (Closes: #513187)
+ * add README.source, bump standards version to 3.8.0
+
+ -- Norbert Preining <preining@debian.org> Mon, 09 Mar 2009 15:50:03 +0100
+
+texinfo (4.11.dfsg.1-4) unstable; urgency=low
+
+ * fix bashism in texi2dvi (Closes: #461352)
+
+ -- Norbert Preining <preining@debian.org> Wed, 20 Feb 2008 08:24:18 +0100
+
+texinfo (4.11.dfsg.1-3) unstable; urgency=low
+
+ * do not trigger regeneration of texi2dvi.1 at build time, remove the
+ B-D on help2man (Closes: #452582)
+ * really fix the erronous direntries (Closes: #451268)
+ * bump standards version to 3.7.3, no changes needed
+
+ -- Norbert Preining <preining@debian.org> Thu, 20 Dec 2007 07:42:31 +0100
+
+texinfo (4.11.dfsg.1-2) unstable; urgency=low
+
+ * edit the changelog entry from 4.11.dfsg.1-1 to close the bugs in a
+ more explicit way
+ * fix erronous direntries (Closes: #451268)
+
+ -- Norbert Preining <preining@debian.org> Wed, 14 Nov 2007 18:52:13 +0100
+
+texinfo (4.11.dfsg.1-1) unstable; urgency=low
+
+ * new upstream release (Closes: #435558)
+ - fixes race condition causing crashes when resizing (Closes: #345739)
+ - generates valid xml files (Closes: #335016)
+ - do not truncate command key listing (Closes: #376280)
+ - allow ~ in the file path (Closes: #439877)
+ - ships new texinfo.tex (Closes: #446443)
+ * Recommend installing texlive instead of tetex-bin in texi2dvi
+ (Closes: #440796)
+ * switch to quilt
+ * disable the following patches:
+ - 30_texindex_racecondition: does not appply
+ - 31_segfault-when-resizing-terminal: upstream
+ - 32_makinfo_css_fix: upstream
+ - 33_texindex_CVE-2006-4810: upstream
+ - 52_missing_dir_in_texinputs: does not apply
+ - 61_man_Top: upstream
+ - 62_localesettings: upstream
+ refresh the other patches
+ * add build-dep on help2man
+ * suggest texinfo-doc-nonfree (Closes: #428339)
+ * add Vcs-Svn and Vcs-Browser field in debian/control
+
+ -- Norbert Preining <preining@debian.org> Mon, 05 Nov 2007 13:42:18 +0100
+
+texinfo (4.8.dfsg.1-6) unstable; urgency=low
+
+ * add texlive-latex-base to the suggests (lcircle font)
+ * add a remark in README.Debian that for building dvi/pdf you need the
+ packages suggested by texinfo (Closes: #421192)
+ * remove po/*.gmo in the clean target to fix double build FTBFS
+ (Closes: #424218)
+ * change maintainer to Debian TeX maintainers, put me in uploaders
+
+ -- Norbert Preining <preining@debian.org> Thu, 17 May 2007 22:16:10 +0200
+
+texinfo (4.8.dfsg.1-5) unstable; urgency=low
+
+ * adjust suggests to include texlive-generic-recommended and remove
+ tetex (Closes: #422518)
+ * lintian fixes:
+ - move dh compat setting from rules to debian/compat
+ - save control file in UTF8
+
+ -- Norbert Preining <preining@debian.org> Tue, 15 May 2007 15:00:37 +0200
+
+texinfo (4.8.dfsg.1-4) unstable; urgency=high
+
+ * Apply patch by Josh Bressers <bressers@redhat.com> to fix
+ CVE-2006-4810, added as 33_texindex_CVE-2006-4810.dpatch
+ * Add myself to Uploaders so this doesn't look like an NMU.
+
+ -- Frank Küster <frank@debian.org> Wed, 22 Nov 2006 12:04:54 +0100
+
+texinfo (4.8.dfsg.1-3) unstable; urgency=medium
+
+ * changed maintainer email address to preining@debian.org
+ * add a patch from Werner Koch to fix copying of @import in
+ makeinfo/html.c (Closes: #388396)
+ * fix installation if tetex is not configured by adding another test
+ for the existence of fmtutil.cnf (Closes: #391421)
+ Setting urgency to medium as this RC bug present in testing.
+
+ -- Norbert Preining <preining@debian.org> Sun, 8 Oct 2006 12:14:27 +0200
+
+texinfo (4.8.dfsg.1-2) unstable; urgency=medium
+
+ * standards version 3.7.2, no changes necessary
+ * fix a missing translation/locale fix (thanks Sven Joachim)
+ (Closes: #367243)
+ * extend wording of the copyright file to clear the differences between
+ info --version (and man page) and the actual copyright. Add a note that
+ the file COPYING mentioned contains GPLv2. (Closes: #380128)
+ (urgency set to medium as this is an RC bug present in testing)
+
+ -- Norbert Preining <preining@logic.at> Thu, 10 Aug 2006 11:16:29 +0200
+
+texinfo (4.8.dfsg.1-1) unstable; urgency=low
+
+ * first version with split out GFDL licensed documentation into
+ texinfo-doc-nonfree (Closes: #356916)
+ * switch to debhelper level 5
+ * add a README.Debian file explaining where the documentation has gone.
+
+ -- Norbert Preining <preining@logic.at> Wed, 12 Apr 2006 02:33:30 +0200
+
+texinfo (4.8-8) unstable; urgency=low
+
+ * Include texinfo.tex version 2006-02-13.16 in order to fix the FTBFS of
+ tramps where ifclear couldn't nest properly (Closes: #357009)
+ * Update the locale settings patch so that month names are not
+ translated (Closes: #113988)
+
+ -- Norbert Preining <preining@logic.at> Thu, 23 Mar 2006 18:31:49 +0100
+
+texinfo (4.8-7) unstable; urgency=low
+
+ * include a patch that ensures that locale settings do not influence
+ output files (Closes: #113988). Also add a NEWS.Debian in the texinfo
+ package that explains the change of functionality in makeinfo.
+ * adjust the texinfo.postinst script to really check whether tex-common
+ is configured by checking for /e/texmf/texmf.cnf (Closes: #356476).
+ * remove texmf-texlive from the arguments of mktexlsr in the postinst script
+ of texinfo.
+
+ -- Norbert Preining <preining@logic.at> Tue, 14 Mar 2006 10:22:24 +0100
+
+texinfo (4.8-6) unstable; urgency=low
+
+ * edit the changelog entry for -5 on the texinfo.tex inclusion to be
+ useful, thanks Frank Küster for mentioning this.
+ * Conflict with tetex << 3 which has a kpsewhich with different
+ cmd-line options. (Closes: #354351)
+ * add a check for the existence of fmt.d/00tex.cnf to the texinfo.postinst
+ as update-fmtutil may already be present, but not this file, as we
+ do not depend on tex-common anymore and tex-common may be configured
+ later than texinfo.
+ * fix the dreadful info shows top manpage when called with an inexistent
+ command line argument (Closes: #234848)
+
+ -- Norbert Preining <preining@logic.at> Wed, 1 Mar 2006 03:07:29 +0100
+
+texinfo (4.8-5) unstable; urgency=low
+
+ * Fix segfault when resizing the terminal rapidly by checking more
+ carefully whether the display line is set prior to refering to it.
+ [info/display.c:display_update_one_window] (closes partly #345739)
+ (Thanks to Loïc Minier <lool@dooz.org>)
+ * Fix the watch file
+ * Remove the dependency on tetex-bin | tex-common, we can live without
+ it. This also fixes the Priority failure of texinfo=standard depending
+ on tex-common=optional.
+ * Include texinfo.tex version 2006-01-27.14 from upstream in order to
+ produce correct page numbers in the table of contents. (Closes: #276000)
+ * Edit Changelog entry for 4.8-1 for bug #282643.
+ * Remove texmf/pdftex/plain/misc/pdfcolor.tex in tmpdir to make
+ dh_install shut up, this file is already installed by tetex/texlive.
+ * change test in postinst script from which fmtutil-sys to
+ kpsewhich --version. If it is present *and* can be run (i.e. tetex
+ and libkpathsea is unpacked and configured), only then call the rest
+ of the script. (Closes: #352630)
+
+ -- Norbert Preining <preining@logic.at> Fri, 24 Feb 2006 12:35:27 +0100
+
+texinfo (4.8-4) unstable; urgency=high
+
+ * fixes typo in postinst script (closes: #346276)
+ * use cat fmtutil.cnf file instead of fmtutil-sys --listcfg, which is
+ awfully slow
+
+ -- Norbert Preining <preining@logic.at> Fri, 6 Jan 2006 21:52:56 +0100
+
+texinfo (4.8-3) unstable; urgency=low
+
+ * change texlive name to texlive-base
+ * modify texinfo postinst/postrm script to only build texinfo/cyrtexinfo
+ (in case they are present) instead of calling --missing.
+
+ -- Norbert Preining <preining@logic.at> Thu, 29 Dec 2005 07:46:46 +0100
+
+texinfo (4.8-2) unstable; urgency=low
+
+ * Edit the changelog entry for 4.8-1 to include fixes for bugs that
+ have been later closed via the email interface.
+ * Save debian/changelog in utf8 encoding (Closes: #333630)
+ * replace egrep and fgrep and numerical signals (Closes: #256287)
+ * include patch to info translations to fix crash on Ctrl-h, and
+ regenerate the gmo files on build (Closes: #150710, #199615)
+ * include documentation into the info package, too (Closes: #261539)
+ * fix a typo in texinfo.info (Closes: #226898)
+ * fix a warning of texi2dvi if TEXINPUTS contains a not existent dir
+ (Closes: #276006)
+ * add 50cyrtexinfo.cnf to fmt.d, and write a README.cyrtexinfo how to
+ create a cyrillic texinfo format (Closes: #253124)
+ * Upload sponsored by Frank Küster <frank@debian.org>
+
+ -- Norbert Preining <preining@logic.at> Thu, 28 Oct 2005 15:10:30 +0200
+
+texinfo (4.8-1) unstable; urgency=medium
+
+ * Urgency medium because we fix security bug #328365, see second last
+ item.
+ * New maintainer: Taking over from Josip Rodin <joy-packages@debian.org>
+ as he seems to have abandoned texinfo.
+ * Acknowledge previous NMU (Closes: #267497, #259280)
+ * new upstream release, fixing several bugs. Some of these bugs may
+ already be fixed by previous versions, but we include it here for
+ completeness:
+ - provides texi2pdf (Closes: #320413)
+ - fixes loss of pipe character in TeX verbatim mode (Closes: #181793)
+ - fixes incorrect html output (Closes: #204202, #205022)
+ - output correct XML (Closes: #221988)
+ - adds commands for sans serif fonts (Closes: #277754)
+ - fixes crash on first backspace (Closes: #259561)
+ - fixes buffer overflow in 'Follow xref' (Closes: #263853)
+ - fixes various navigation crashes (Closes: #265605, #293337, #308280,
+ #314513)
+ - fixes segfault with --xml and -D (Closes: #330219)
+ - fixes segfault with -f'*manpages*' (Closes: #193856)
+ - combination of -c and -I for relative pathes work (Closes: #147527)
+ - makeinfo produces incorrect html code (Closes: #146025)
+ - another instance of the crash on first backspace
+ (Closes: #265880, #280510, #298268)
+ - info cares for position parameter (Closes: #53221)
+ - vi-keys do work (Closes: #199922)
+ - fix segv when resizing window (Closes: #280581)
+ - fix missing hierachy in bookmarks of the appendix (Closes: #95084)
+ - fixed mangled no.po (Closes: #201031)
+ - follow does now correctly print the list of xrefs (Closes: #202090)
+ - fix FTBFS of nco documentation (Closes: #142113)
+ - fixes segv under locale zh_CN.GBK (Closes: #282643)
+ * install texinfo HTML documentation (Closes: #277921)
+ * include changes by Pierre Machard for Replaces (Closes: #261742)
+ * make postinst script POSIX-compliant, don't use command (Closes: #293053)
+ * fix de.po, thanks Jens Seidel (Closes: #313844)
+ * install install-info as ginstall-info (Closes: #285983)
+ * bumped Standards-Version to 3.6.2.1 (no changes necessary)
+ * change debian compat version to 4
+ * dump most patches from previous versions as they are incorporated
+ upstream, and change to dpatch system, adding Build-Depends on dpatch
+ * fixes to bashism in postinst scripts, fix wrong adress of FSF
+ * add manpage for texi2pdf from teTeX 2.0.2
+ * Now depends on tex-common, or tetex-bin until teTeX-3.0 is in unstable.
+ * texinfo formats are not necessary anymore, since texi2* do not use
+ the formats, and the new teTeX will not need to generate texinfo formats.
+ Thus bug #253124 will not be fixed. (Closes: #253124)
+ * Include a tempfile race fix based on the patch by Henry Jensen
+ (CAN-2005-3011) (Closes: #328365)
+ * Warns user of no TeX system is installed (Closes: #212206)
+ * Upload sponsored by Frank Küster <frank@debian.org>
+
+ -- Norbert Preining <preining@logic.at> Thu, 6 Oct 2005 08:40:55 +0200
+
+texinfo (4.7-2.2) unstable; urgency=high
+
+ * NMU with maintainer's blessing
+ * Urgency=high because this fixes FTBFS in other packages
+ * Apply patch from upstream CVS to fix "Bad address" errors
+ (Closes: #267497)
+ * Move the Replaces: from the last upload to the right binary
+ package, d'oh!
+
+ -- Frank Lichtenheld <djpig@debian.org> Sun, 26 Sep 2004 03:40:48 +0200
+
+texinfo (4.7-2.1) unstable; urgency=high
+
+ * NMU
+ * Set Urgency to high because of the base freeze
+ * Add Replaces: texinfo (<< 4.7-2) (closes: #259280)
+
+ -- Pierre Machard <pmachard@debian.org> Tue, 27 Jul 2004 23:42:00 +0200
+
+texinfo (4.7-2) unstable; urgency=medium
+
+ * Move infokey(1) together with infokey binary into the info package,
+ closes: #258945.
+
+ -- Josip Rodin <joy-packages@debian.org> Tue, 13 Jul 2004 14:43:36 +0200
+
+texinfo (4.7-1) unstable; urgency=low
+
+ * New upstream version, closes: #243312.
+ * Ditched now redundant debian/infokey.1.
+ * Would no longer install /usr/share/info/dir.*, closes: #218976.
+ * Supports GNU/K(Free|Net)BSD due to a new set of config.*, closes: #221726.
+
+ -- Josip Rodin <joy-packages@debian.org> Sat, 10 Jul 2004 19:02:24 +0200
+
+texinfo (4.6-1) unstable; urgency=low
+
+ * New upstream version.
+ * Wrote a manual page infokey(1) using `info infokey` stuff. (Silly, really.)
+
+ -- Josip Rodin <joy-packages@debian.org> Sat, 12 Jul 2003 14:12:36 +0200
+
+texinfo (4.3-1) unstable; urgency=low
+
+ * New upstream version, closes: #173029.
+ * Includes the fix for the makeinfo segfault on \def\x{}, closes: #168689.
+ * Fixed documentation errors noticed by Jesse Alama, first one by me,
+ and the others by the upstream, closes: #152936, #152938, #152939.
+ * The key binding help in info is fixed, closes: #149965.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sun, 15 Dec 2002 16:09:55 +0100
+
+texinfo (4.2-1) unstable; urgency=low
+
+ * New upstream version, closes: #144939.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Mon, 24 Jun 2002 16:38:46 +0200
+
+texinfo (4.1-2) unstable; urgency=high
+
+ * Removed broken /usr/share/texmf/pdftex/plain/misc/epsf.tex,
+ closes: #133601.
+ * Added Conflicts: ja-trans (<= 0.7-3.1), closes: #138233.
+ * Included a po/ru.po recoded from windows-1251 to koi8-r, kindly
+ provided by Nikita V. Youshchenko <yoush@cs.msu.su>, closes: #132943.
+ * Reverted to "parsable" which is in fact correct, closes: #124757.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Thu, 28 Mar 2002 13:53:23 +0100
+
+texinfo (4.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Thu, 7 Mar 2002 20:17:09 +0100
+
+texinfo (4.0f-1) unstable; urgency=high
+
+ * New upstream version.
+ * Includes a newer, changed texinfo.tex that seems fix the PDF links,
+ closes: #111563.
+ * Eli Zaretskii's patches to info/echo-area.c for case (in)sensitivity
+ in indices are applied upstream, closes: #122594 and the patch for
+ cross-references on the second line, too, closes: #122600.
+ * Fixed the thinko in makeinfo/insertion.c comment, ignored the non-issue
+ with harmless extra <br>s, closes: #77885.
+ * Applied Eli Zaretskii's patch to info/infodoc.c (slightly modified
+ because of the new infokey code in there etc, hope it works :) to fix
+ the "info --vi-keys libc:exit" segfault, closes: #79091.
+ * Applied Colin Watson's patch to info/infomap.c for h<->l in vikeys,
+ from #79091.
+ * Fixed the spelling error (though not overly convinced), closes: #124757.
+ * Patched doc/Makefile* to install the missing directory, and to distclean
+ the info files. Feh! Hopefully automakeisms don't shit themselves all
+ over the place in the buildd trees and cause the package not to build.
+ * Leave our first epsf.tex in place, it's almost the same as the
+ tetex-base one but there must be some reason why it exists. <ponder>
+ * Put infokey into the info package.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sun, 27 Jan 2002 11:08:20 +0100
+
+texinfo (4.0b-2) unstable; urgency=low
+
+ * Added Replaces: tetex-base (<< 1.0.2+20000804-9) because of the
+ .txi files.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Fri, 20 Jul 2001 15:59:32 +0200
+
+texinfo (4.0b-1) unstable; urgency=low
+
+ * New upstream version, includes majority of our old patches. It also
+ includes support for splitting HTML output files, which closes: #41403.
+ * Removed epsf.tex from this package because tetex already ships it,
+ closes: #84426. The duplicate file problem didn't appear before because
+ previous versions put the file in a different location. Maybe we're
+ just making a mess of this.
+ * Added willy's patch to fix (not) printing --speech-friendly when printf
+ is a macro like with the new gcc, closes: #91350.
+ * Packaging polishing.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sat, 14 Jul 2001 20:03:11 +0200
+
+texinfo (4.0-5) unstable; urgency=low
+
+ * Home and End keys move to start/end of page, and the Delete key
+ does what PgUp does, closes: #37752. Thanks to Yoshiki Hayashi
+ <t90553@mail.ecc.u-tokyo.ac.jp> for the patch.
+ * Fixed terminal hanging when pressing C-s too soon in info,
+ closes: #52517. Thanks to Kevin Ryde <user42@zip.com.au> for the patch.
+ * Fixed segfault with gzipped manpage.1, closes: #63608.
+ * Fixed displaying of repeated items in info, closes: #68936.
+ * Fixed info stucking with '(.)any', closes: #68937.
+ * Fixed segfault on trying to follow `SEE ALSO' etc, closes: #74278.
+ * Thanks to Eli Zaretskii <eliz@is.elta.co.il> for the patches to fix
+ the above four bugs.
+ * Run 'mktexlsr /usr/share/texmf >/dev/null' (conditionally and only on
+ new installations) in texinfo's postinst, because we place files in that
+ directory that need to be added to the ls-R file, closes: #71325.
+ * Policy 3.2.1 compliant.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Mon, 9 Oct 2000 18:53:04 +0200
+
+texinfo (4.0-4) frozen unstable; urgency=low
+
+ * Fixed info's prerm script, s./usr/bin/infobrowser.infobrowser.,
+ otherwise the package could not be removed, closes: #59254.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Tue, 29 Feb 2000 12:58:42 +0100
+
+texinfo (4.0-3) frozen unstable; urgency=low
+
+ * Applied upstream patch for closes: #56992.
+ * Install infobrowser alternative for info (doh!).
+ * Recompiled with ncurses 5.0 (info is a Priority: important package).
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Fri, 10 Dec 1999 23:40:36 +0100
+
+texinfo (4.0-2) unstable; urgency=low
+
+ * Another, even more nifty configure option to make it install in FHS
+ compliant directories (this time borrowed from nasm's rules file :)
+ * Standards-Version: 3.1.1. Added Build-Depends:.
+ * Removed --with-included-gettext from configure flags, useless.
+ * Removed --description and --section from all install-info arguments,
+ to have install-info pick-up the INFO-DIR-ENTRY from the info files
+ themselves. This way, all the sub-apps have entries, which closes: #51425.
+ * Install 'info.info', too (why that wasn't done before, is beyond me).
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sun, 28 Nov 1999 15:00:53 +0100
+
+texinfo (4.0-1) unstable; urgency=low
+
+ * New upstream version. At last, final 4.0!
+ * Removed README-alpha mentionings, and added #DEBHELPER# in p* scripts
+ where it was missing.
+ * Used nifty configure options to make it install in FHS compliant
+ directories (after seeing how it's done in libmikmod2's rules file :)
+ * Removed explicit debhelper 2.0.40 dependency, and changed
+ debian/{info.files,rules} to match the new state.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sun, 12 Sep 1999 23:44:24 +0200
+
+texinfo (3.12s-2) unstable; urgency=low
+
+ * Conforms to policy 3.x, which includes move to FHS etc. Required
+ using debhelper 2.0.40, and some other changes to debian/* .
+ * Added "-e" to /bin/sh in all maintainer scripts.
+ * Replaced "Replaces:" with "Conflicts:" for tetex-{base,bin} in
+ texinfo, because the new package has some files in locations that
+ don't work well with those old versions of teTeX. Thanks to Lalo
+ Martins for noticing this.
+ * Removed DEFAULT_INFOPATH defining from the rules file, it's pointless
+ (and it didn't work, either :). The one in filesys.h is good enough.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Tue, 7 Sep 1999 00:55:17 +0200
+
+texinfo (3.12s-1) unstable; urgency=low
+
+ * New upstream version.
+ * Upstream fixes to info/terminal.c, so I removed our patch for
+ alpha compile, it's not needed anymore.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sun, 22 Aug 1999 14:45:09 +0200
+
+texinfo (3.12n-2) unstable; urgency=low
+
+ * Added Replaces: tetex-base (<< 1.0-3), closes: #42264 .
+ * Added a nifty debian/watch file.
+ * Minor changes to copyright and *prerm files.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sun, 1 Aug 1999 17:05:07 +0200
+
+texinfo (3.12n-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Tue, 20 Jul 1999 02:12:51 +0200
+
+texinfo (3.12k-1) unstable; urgency=low
+
+ * New upstream version.
+ * Some changes to debian/copyright and debian/info.menu.
+ * Conditionalized $1 in debian/*{postinst,prerm}.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sun, 11 Jul 1999 21:55:13 +0200
+
+texinfo (3.12j-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Thu, 8 Jul 1999 00:22:32 +0200
+
+texinfo (3.12i-4) unstable; urgency=low
+
+ * Got an upstream patch to fix the non-existant argument bug. Fixes #38063.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Wed, 7 Jul 1999 18:59:29 +0200
+
+texinfo (3.12i-3) unstable; urgency=low
+
+ * Now included C's patch to compile on Alpha, fixes #39247 and #40076.
+ * Fixed texinfo's postinst, to include missing backslashes.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Mon, 5 Jul 1999 03:41:56 +0200
+
+texinfo (3.12i-2) unstable; urgency=low
+
+ * After some discussion with Christoph Martin, the teTeX maintainer,
+ and other people from the debian-devel list, we decided to start
+ providing all texinfo binaries from this source package.
+ * Added new binary package, texinfo, which Replaces: tetex-bin (<< 1.0)
+ and Suggests: tetex-bin (because of texi2dvi). For that reason,
+ patched util/texi2dvi to exit if no tex found, with an explanation.
+ * Removed install-info* and dir files from binary packages.
+ * Removed obsolete README.Debian, added other upstream documentation.
+ * Updated debian/copyright with additional licence/copyright info.
+ * Added a menu entry for info, since it can be invoked argumentless.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Mon, 21 Jun 1999 16:30:38 +0200
+
+texinfo (3.12i-1) unstable; urgency=low
+
+ * New upstream version, includes fix for #14787 .
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sat, 12 Jun 1999 15:05:41 +0200
+
+texinfo (3.12h-1) unstable; urgency=low
+
+ * New maintainer
+ * New upstream version, pristine source from alpha.gnu.org.
+ * Completely redid the packaging, using debhelper.
+
+ -- Josip Rodin <jrodin@jagor.srce.hr> Sat, 10 Apr 1999 22:01:15 +0200
+
+texinfo (3.12-0.1) unstable; urgency=low
+
+ * Upgraded from 3.9 to new upstream release 3.12
+ * Non-maintainer release, this time with a proper -0.1 version.
+ * This does not use the patches against the files info/infomap.c,
+ info/session.c and util/texi2dvi from the previous Debian version.
+ According to James Troup, their functionality has been integrated into
+ the upstream source so that the patches are indeed obsolete.
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 17 Apr 1998 18:26:24 -0400
+
+texinfo (3.9-5) unstable; urgency=low
+
+ * Put /usr/info/info.info back in package (fixes #10115)
+ * Built with libc6 and ncurses3.4
+
+ -- Galen Hazelwood <galenh@micron.net> Thu, 12 Jun 1997 13:59:28 -0600
+
+texinfo (3.9-4) unstable; urgency=low
+
+ * Patched info to work with cursor keys (fixes bug #889)
+
+ -- Galen Hazelwood <galenh@micron.net> Thu, 6 Mar 1997 14:07:10 -0700
+
+texinfo (3.9-3) unstable; urgency=low
+
+ * Removed everything but info package from texinfo
+
+ -- Galen Hazelwood <galenh@micron.net> Tue, 18 Feb 1997 21:45:44 -0700
+
+texinfo (3.9-2) unstable; urgency=low
+
+ * /usr/doc/info/changelog.Debian is now the correct file
+ * Added minor texi2dvi patch from upstream maintainer
+ * Added manpage for makeinfo, texi2dvi, texindex (fixes bug #6353)
+ * Put info documentation under appropriate headers
+
+ -- Galen Hazelwood <galenh@micron.net> Sun, 5 Jan 1997 14:23:47 -0700
+
+texinfo (3.9-1) unstable; urgency=low
+
+ * New maintainer.
+ * New upstream version.
+ * Updated to Standards-Version: 2.1.2.2
+ * Removed bogus libc5 dependency in texidoc.
+
+ -- Galen Hazelwood <galenh@micron.net> Sat, 14 Dec 1996 23:15:23 -0700
+
+texinfo (3.7-1); priority=LOW
+
+ * Added architecture fields
+
+ -- Erick Branderhorst <branderhorst@heel.fgg.eur.nl> Tue Mar 12 16:26:41 MET 1996
+
+texinfo (3.7-0); priority=LOW
+
+ * Texinfo no longer recommends texidoc, it is suggested now (Bug#1692).
+ * Upgraded to latest FSF version, texinfo 3.7 (Bug#2467).
+ * Version and Revision fields -> one Version field in all control files.
+ * New maintainer: Erick Branderhorst.
+
+ -- Erick Branderhorst <branderhorst@heel.fgg.eur.nl> Fri, 8 Mar 1996 10:13:49
+
+texinfo (3.6-11); priority=MEDIUM
+
+ * converted to ELF,
+
+ -- David Engel <david@ods.com> Tue, 16 Jan 1996 20:00:00 -0500
+
+texinfo (3.6-5); priority=MEDIUM
+
+ * serious problem in texinfo.tex fixed (reported by Nils Rennebarth
+ and Bill Mitchell, patch supplied by Richard Stallman).
+
+ -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 13 Oct 1995 02:04:44 +0100
+
+texinfo (3.6-4); priority=LOW
+
+ * texidoc's info dir entry for /usr/info/texinfo fixed (Bug#1514).
+
+ -- Ian Jackson <iwj10@cus.cam.ac.uk> Sat, 30 Sep 1995 18:23:31 +0100
+
+texinfo (3.6-3); priority=MEDIUM
+
+ * Fix null pointer dereference in makeinfo (Bug#1493).
+ * `info-browser' virtual package name used in control files
+ (Bug#1427, Bug#1434, Bug#1469)
+
+ -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 28 Sep 1995 02:23:54 +0100
+
+texinfo (3.6-2); priority=LOW
+
+ * Do not build *.elc files, rather than building them, putting them
+ in debian-tmp, and then deleting them before package construction.
+ Now you can build the package without emacs.
+
+ * Added `Source: texinfo' to binary package control files.
+
+ -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 16 Jul 1995 15:03:53 +0100
+
+texinfo (3.6-1); priority=HIGH
+
+ * Upgraded to latest FSF version, texinfo 3.6. Notable changes
+ alleged are many bugfixes and general improvements, and the
+ capability in `info' to display man pages. The Emacs Lisp files
+ for formatting Texinfo documents are *not* included, as they
+ are in Debian's Emacs package.
+
+ -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 13 Jul 1995 03:21:32 +0100
+
+texinfo (3.1-7); priority=LOW
+
+ * Default INFOPATH for standalone info browser is now
+ `/usr/info:/usr/local/info:.' (Bug#889, 2nd point).
+ * Extended descriptions provided for all three binary packages.
+
+ -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 18 May 1995 01:39:27 +0100
+
+Texinfo 3.1 Debian 6 - iwj
+
+* Install texinfo.tex in /usr/lib/texmf/tex/misc/ instead.
+
+Texinfo 3.1 Debian 5 - iwj
+
+* Move cursor to bottom of screen before exiting `info'.
+* Install texinfo.tex in /usr/lib/tex/inputs/.
+
+Texinfo 3.1 Debian 4 - iwj
+
+* Added Package_Revision field to `control' files.
+
+Texinfo 3.1 Debian 3 - iwj
+
+* Arrange for `h' to give (Info-stnd)Top instead if (Info)Help or
+ (Info)Help-Small-Screen isn't available.
+* Added this Changelog.
+* Fixed typo in debian.README (= /usr/doc/copyright/texinfo).
+* Fixed invocations of install-info, and added --quiet option.
+* Specified version numbering scheme, version number now in filenames.
+
+Texinfo 3.1 Debian 2 - iwj
+
+* Fixed bug that prevents `info' from recognising .gz as a gzipped file.
+* Split into three packages, texidoc, texinfo and info.
+
+Texinfo 3.1 Debian 1 - iwj
+Initial release, completely untested.
+
+# vim:set fileencoding=utf-8: #
+Local Variables:
+coding: utf-8
+mode: debian-changelog
+End:
--- texinfo-4.13a.dfsg.1.orig/debian/install-info.postinst
+++ texinfo-4.13a.dfsg.1/debian/install-info.postinst
@@ -0,0 +1,40 @@
+#!/bin/sh -e
+#
+# postinst maintainer script for the Debian install-info package
+#
+# Copyright (C) 2009 Norbert Preining <preining@logic.at>.
+#
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# This file is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to: The Free Software Foundation, Inc.,
+# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+#
+# On Debian GNU/Linux System you can find a copy of the GNU General Public
+# License in "/usr/share/common-licenses/GPL".
+#
+
+umask 022
+
+# we only have to call update-info-dir for configure, reconfigure, and
+# triggered transitions. All others are simply ignored.
+
+case $1 in
+ configure|reconfigure|triggered)
+ update-info-dir
+ ;;
+ *)
+ ;;
+esac
+
+#DEBHELPER#
+
+# vim:set tabstop=4 expandtab: #
--- texinfo-4.13a.dfsg.1.orig/debian/info.README.Debian
+++ texinfo-4.13a.dfsg.1/debian/info.README.Debian
@@ -0,0 +1,10 @@
+
+Documentation
+=============
+This package does not contain the info documentation of info and texinfo,
+as they are licensed under the GNU Free Document License with Cover Texts,
+which is considered as non-free in Debian.
+
+The documentation can be found in the package texinfo-doc-nonfree in the
+non-free section.
+
--- texinfo-4.13a.dfsg.1.orig/debian/info.install
+++ texinfo-4.13a.dfsg.1/debian/info.install
@@ -0,0 +1,3 @@
+usr/bin/info*
+usr/share/man/man1/info*
+usr/share/man/man5/info*
--- texinfo-4.13a.dfsg.1.orig/debian/install-info.1
+++ texinfo-4.13a.dfsg.1/debian/install-info.1
@@ -0,0 +1,29 @@
+.TH INSTALL-INFO 1
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+install-info \- wrapper around GNU install-info
+.SH SYNOPSIS
+.B install-info
+.I "[options]"
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.BR install-info
+command.
+This manual page was written for the Debian GNU/Linux distribution
+because the original script was designed for Debian packaging system.
+.PP
+.B install-info
+is a wrapper around GNU install-info. If it is called from a normal
+shell or script it acts like GNU install-info by forwarding all options
+to ginstall-info.
+.PP
+If it is called from a maintainer script it gives a warning to rebuild
+packages and does nothing, since info file installation is now done
+via triggers.
+.SH OPTIONS
+Same as with GNU install-info, see ginstall-info(1).
+.SH AUTHOR
+This manual page was written by Norbert Preining <preining@logic.at>,
+for the Debian GNU/Linux system (but may be used by others).
--- texinfo-4.13a.dfsg.1.orig/debian/update-info-dir.8
+++ texinfo-4.13a.dfsg.1/debian/update-info-dir.8
@@ -0,0 +1,29 @@
+.TH UPDATE-INFO-DIR 8
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+update-info-dir \- (re-)create /usr/share/info/dir from all installed info files
+.SH SYNOPSIS
+.B update-info-dir
+.I "[options]"
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.BR update-info-dir
+command.
+This manual page was written for the Debian GNU/Linux distribution
+because the original script was designed for Debian packaging system.
+.PP
+.B update-info-dir [info-directory]
+(re-)creates the index of available documentation in info format
+(the file /usr/share/info/dir) which is usually presented by info browsers
+on startup.
+.SH OPTIONS
+.TP
+.B info-directory
+If an argument is given update the dir file in the directory given, otherwise
+use /usr/share/info.
+.PP
+.SH AUTHOR
+This manual page was written by Norbert Preining <preining@logic.at>,
+for the Debian GNU/Linux system (but may be used by others).
--- texinfo-4.13a.dfsg.1.orig/debian/install-info.sh
+++ texinfo-4.13a.dfsg.1/debian/install-info.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# Wrapper to the GNU's install-info, to be compatible with the one that used to
+# be packaged by dpkg on Debian.
+#
+# written by Norbert Preining, this is not copyrightable ;-)
+#
+set -e
+
+if [ -z "$DPKG_RUNNING_VERSION" ] ; then
+ # it seems we are running from outside a maintainer script, so give a
+ # warning and call ginstall-info without anything else
+ echo "This is not dpkg install-info anymore, but GNU install-info" >&2
+ echo "See the man page for ginstall-info for command line arguments" >&2
+ ginstall-info "$@"
+else
+ # we are running from a maintainer script, simply ignore the call
+ # since we have trigger support and people should rebuild their
+ # package with new debhelper which does not add calls to install-info
+ # Do not complain if called with "--remove" or "--remove-exactly",
+ # as these are used in old packages' prerm scripts (see #546165)
+ while [ -n "$1" ]; do
+ case "$1" in
+ --remove|--remove-exactly)
+ exit 0
+ ;;
+ *)
+ shift
+ ;;
+ esac
+ done
+ echo "Ignoring install-info called from maintainer script" >&2
+ echo "The package $DPKG_MAINTSCRIPT_PACKAGE should be rebuilt with new debhelper to get trigger support" >&2
+fi
+
+
--- texinfo-4.13a.dfsg.1.orig/debian/install-info.install
+++ texinfo-4.13a.dfsg.1/debian/install-info.install
@@ -0,0 +1,2 @@
+usr/bin/install-info
+usr/share/man/man1/install-info.1
--- texinfo-4.13a.dfsg.1.orig/debian/watch
+++ texinfo-4.13a.dfsg.1/debian/watch
@@ -0,0 +1,3 @@
+# watch control file for uscan
+version=3
+opts=dversionmangle=s/\.dfsg\.\d+$// http://ftp.gnu.org/gnu/texinfo/texinfo-(.*)\.tar\.gz
--- texinfo-4.13a.dfsg.1.orig/debian/texinfo.NEWS
+++ texinfo-4.13a.dfsg.1/debian/texinfo.NEWS
@@ -0,0 +1,16 @@
+texinfo (4.8-7) unstable; urgency=low
+
+ * Please note that with release 4.8-7 the behaviour of makeinfo with respect
+ to locales has changed. Up to 4.8-6 the locale settings of the calling
+ environment influenced the output of makeinfo as several strings which are
+ put into the output file(s) of makeinfo were translated using the current
+ locale settings.
+
+ Now makeinfo will ignore the locale settings for the output of these
+ strings. If you want to have localized strings in your output files of
+ makeinfo, please use the new option --document-language to makeinfo.
+
+ Currently the command @documentlanguage in the texinfo input files is not
+ honored, this will be fixed in the future.
+
+ -- Norbert Preining <preining@logic.at> Sun, 12 Mar 2006 16:00:52 +0100
--- texinfo-4.13a.dfsg.1.orig/debian/bugs
+++ texinfo-4.13a.dfsg.1/debian/bugs
@@ -0,0 +1,77 @@
+List of open Bugs and comments:
+last changed: 2006-03-10
+
+DONE for 4.8-7
+113988: makeinfo: locale settings should not influence output files
+ forwarded upstream, version 4.0, need check!
+ long discussion on the bug, but no conclusion
+
+115503: texi2dvi: source file directory included in search path
+ forwarded upstream, version 4.0, need check!
+ upstream: wontfix. How to deal with bugs like this?
+ there is already a wontfix and a upstream tag
+ TODO: write email to submitter whether he considers this still
+ a bug or whether I can close the bug?
+
+204117 texinfo: texinfo.dtd poorly installed
+ asked on debian-devel
+
+212549 info should support the "coding" local variable and output correct characters
+ no idea what it means
+
+214729: makeinfo --html should generate valid HTML
+ wait response from Karl
+
+218557: dies with "Cannot find node `Top'"
+ still present, quite interesting, zeros in dir file. Should be
+ taken a look at
+ [1] I think this could be in build_tags_and_nodes(), in info/nodes.c,
+ where the file is already in memory and is parsed for expected
+ structures. There we could stuff some error returning code, the
+ function simply doesn't update any error flag.
+ I have gdbed a run through the function, and while parsing
+ /usr/share/info/dir, it simply did not find the end of the TAGS_TABLE
+ (at line 402), and called get_nodes_of_info_file().
+ This get_nodes_of_info_file() function has the same problem, it
+ doesn't return an useful error but aborts at the first while loop since
+ find_node_separator() fails (scans the whole file to find a "node
+ start").
+ End result: build_tags_and_nodes parses for tags, but does not report
+ problems, and build_tags_and_nodes parses for nodes (by calling a
+ helper), but doesn't report problems encountered there neither.
+
+ [2] For example, with my corrupted file still in place:
+ bee# install-info --quiet --section "Disk Management" "Disk Management" /usr/share/info/parted.info.gz && echo success success
+ bee# info parted
+ info: Cannot find node `Top'.
+ -------------------------------------------------------------------
+ Concerning [1]: This could also fix the problem of bug 234848 where
+ the man page of top is shown instead of the TOP (dir)
+ Concerning [2]: Bug should be cloned and reassigned to the program
+ providing install-info, i.e. dpkg.
+
+244506 info: menu lacks icon
+ umpf, maybe once
+
+245673 info: return the first non-exact match instead of the last
+ email sent to submitter
+ patch available, does it work?
+
+269413 [INTL:da] Updated program translation
+ should be done upstream, is it already there?
+ no, should be sent upstream
+
+267357: make Info index: Name Index vs. Concept Index
+ Still present, check?
+
+276547: texinfo: @samp{} text should change - to \- in man pages
+ no idea what this should do
+
+308063 @xref in man pages can expand to nothing
+ not checked
+
+335016 makeinfo --xml generates a document with an invalid DTD
+ has to be checked, Karl installed a new DTD which hopefully fixes
+ this problem
+ Still work to do
+
--- texinfo-4.13a.dfsg.1.orig/debian/update-info-dir
+++ texinfo-4.13a.dfsg.1/debian/update-info-dir
@@ -0,0 +1,64 @@
+#!/bin/bash
+# update-info-dir
+# create a dir file from all installed info files
+# Copyright 2009 Norbert Preining
+# GPLv2
+
+INFODIR=/usr/share/info
+
+set -e
+
+#
+# since user's environment is taken over into root account when sudo-ing
+# we don't want that one's user LANGUAGE setting changes the messages in
+# the dir file. Unset LANGUAGE and reload /etc/environment to get
+# the system wide settings. See bug #536476
+unset LANGUAGE
+if [ -r /etc/environment ] ; then
+ . /etc/environment
+fi
+if [ -r /etc/default/locale ] ; then
+ . /etc/default/locale
+fi
+
+if [ -n "$1" ] ; then
+ INFODIR="$1"
+fi
+
+if [ ! -d "$INFODIR" ] ; then
+ echo "Not a directory: $INFODIR." >&2
+ exit 1
+fi
+
+if [ -r "$INFODIR/dir" ] ; then
+ rm -f "$INFODIR/dir.old"
+ cp $INFODIR/dir $INFODIR/dir.old
+fi
+
+# we have to remove the dir file not make ginstall-info being surprised
+rm -f "$INFODIR/dir"
+
+errors=0
+find "$INFODIR" -type f | while read file ; do
+ case $file in
+ */dir|*/dir.gz|*/dir.old|*/dir.old.gz|*-[0-9]|*-[0-9].gz|*-[1-9][0-9]|*-[1-9][0-9].gz|*.png)
+ # these files are ignored
+ continue
+ ;;
+ *)
+ ginstall-info "$file" "$INFODIR/dir" || {
+ errors=$[errors+1]
+ }
+ ;;
+ esac
+done
+
+if [ $errors -gt 0 ] ; then
+ exec >&2
+ echo
+ echo "Updating the index of info documentation produced $errors errors."
+fi
+
+exit 0
+
+# vim:set expandtab tabstop=2: #
--- texinfo-4.13a.dfsg.1.orig/debian/rules
+++ texinfo-4.13a.dfsg.1/debian/rules
@@ -0,0 +1,114 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export DH_OPTIONS
+
+# needed for quilt:
+export QUILT_PATCHES=./debian/patches
+include /usr/share/quilt/quilt.make
+
+SAVEDGMO=po/nl.gmo po/ro.gmo po/tr.gmo po/de.gmo
+
+CFLAGS := -g -Wall
+ifneq "$(findstring noopt,$(DEB_BUILD_OPTIONS))" ""
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
+texinfo := $(CURDIR)/debian/texinfo
+ii := $(CURDIR)/debian/install-info
+tmpdir := $(CURDIR)/debian/tmp
+
+build: build-stamp
+build-stamp: patch
+ # some man scripts have been touch by the patches, so the builder
+ # will try to rebuild the man page from texi2dvi but that
+ # spits out only a warning that no tex system is installed
+ touch doc/texi2dvi.1
+ touch doc/texi2pdf.1
+ touch doc/pdftexi2dvi.1
+ dh_testdir
+ CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \
+ --infodir='$${prefix}/share/info' --mandir='$${prefix}/share/man'
+ touch po/texinfo.pot
+ $(MAKE)
+ touch $@
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ [ ! -f Makefile ] || $(MAKE) distclean
+ # remove binary gmo files
+ rm -f po/*.gmo
+ dh_clean install-stamp build-stamp intl/libintl.h config.log
+
+install: install-stamp
+
+install-stamp: DH_OPTIONS=
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ $(MAKE) install install-tex prefix=$(tmpdir)/usr \
+ TEXMF=$(tmpdir)/usr/share/texmf
+ find $(tmpdir) -type f -name dir | xargs rm -f
+ # pdfcolor and epsf.tex are in tetex and texlive
+ rm -rf $(tmpdir)/usr/share/texmf/tex/plain
+ rm -rf $(tmpdir)/usr/share/texmf/tex/generic
+ rm -rf $(tmpdir)/usr/share/texmf/pdftex/plain/misc/pdfcolor.tex
+ #mkdir -p $(tmpdir)/usr/share/texmf/tex/texinfo/base
+ #mv $(tmpdir)/usr/share/texmf/tex/texinfo/*.tex $(tmpdir)/usr/share/texmf/tex/texinfo/base
+ dh_install --list-missing --sourcedir=debian/tmp -X share/info
+ #
+ # install updated texinfo.tex
+ #cp debian/texinfo.tex $(texinfo)/usr/share/texmf/tex/texinfo/texinfo.tex
+ cp debian/texi2pdf.man $(texinfo)/usr/share/man/man1/texi2pdf.1
+ dh_link
+ mv $(ii)/usr/bin/install-info $(ii)/usr/bin/ginstall-info
+ sed -e "s/install-info/g&/g" \
+ < $(ii)/usr/share/man/man1/install-info.1 \
+ > $(ii)/usr/share/man/man1/ginstall-info.1
+ rm -f $(ii)/usr/share/man/man1/install-info.1
+ install -m 0755 debian/install-info.sh $(ii)/usr/bin/install-info
+ install -m 0644 debian/install-info.1 $(ii)/usr/share/man/man1/install-info.1
+ install -m 0755 debian/update-info-dir $(ii)/usr/sbin/update-info-dir
+ mkdir -p $(ii)/usr/share/man/man8
+ install -m 0644 debian/update-info-dir.8 $(ii)/usr/share/man/man8/update-info-dir.8
+ cp debian/conf/50cyrtexinfo.cnf $(texinfo)/etc/texmf/fmt.d
+ echo "50cyrtexinfo" > $(texinfo)/var/lib/tex-common/fmtutil-cnf/texinfo.list
+ touch install-stamp
+
+binary-indep:
+# There aren't any architecture independent packages here.
+
+binary-arch: DH_OPTIONS=-a
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installdocs -A AUTHORS INTRODUCTION README NEWS TODO \
+ debian/README.source
+ dh_installdocs -p texinfo debian/README.cyrtexinfo \
+ doc/refcard/txirefcard*.pdf
+
+ dh_installmenu
+ dh_installchangelogs ChangeLog
+ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" ""
+ dh_strip
+endif
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+
+# other targets
+update-texinfo.tex:
+ wget -O $(CURDIR)/debian/texinfo.tex ftp://tug.org/tex/texinfo.tex
+
+.PHONY: build clean binary-indep binary-arch binary install
--- texinfo-4.13a.dfsg.1.orig/debian/compat
+++ texinfo-4.13a.dfsg.1/debian/compat
@@ -0,0 +1 @@
+5
--- texinfo-4.13a.dfsg.1.orig/debian/control
+++ texinfo-4.13a.dfsg.1/debian/control
@@ -0,0 +1,54 @@
+Source: texinfo
+Section: doc
+Priority: standard
+Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
+Uploaders: Norbert Preining <preining@debian.org>, Frank Küster <frank@debian.org>
+Build-Depends: debhelper (>= 5), quilt, libncurses5-dev | libncurses-dev, gettext
+Standards-Version: 3.8.3
+Vcs-Svn: svn://svn.debian.org/svn/debian-tex/texinfo/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/debian-tex/texinfo/trunk/
+
+Package: texinfo
+Section: text
+Priority: standard
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: texlive-base, texlive-latex-base, texlive-generic-recommended, texinfo-doc-nonfree
+Conflicts: tetex-bin (<< 3.0), tetex-base (<< 3.0), ja-trans (<= 0.7-3.1)
+Replaces: tetex-base (<< 1.0.2+20000804-9), tetex-bin (<< 3.0)
+Description: Documentation system for on-line information and printed output
+ Texinfo is a documentation system that uses a single source file to
+ produce both on-line 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, on-line
+ Info file with nodes, menus, cross references, and indices.
+
+Package: info
+Section: doc
+Priority: important
+Architecture: any
+Depends: ${shlibs:Depends}, install-info
+Provides: info-browser
+Conflicts: xemacs-support
+Suggests: texinfo-doc-nonfree
+Replaces: texinfo (<< 4.7-2)
+Description: Standalone GNU Info documentation browser
+ The Info file format is an easily-parsable representation for online
+ documents. This program allows you to view Info documents, like the
+ ones stored in /usr/share/info.
+ .
+ Much of the software in Debian comes with its online documentation in
+ the form of Info files, so it is most likely you will want to install it.
+
+Package: install-info
+Section: doc
+Priority: important
+Architecture: any
+Replaces: texinfo (<< 4.13a.dfsg.1-2)
+Conflicts: texinfo (<< 4.13a.dfsg.1-2)
+Depends: ${shlibs:Depends}
+Description: Manage installed documentation in info format
+ The install-info utility creates the index of all installed documentation
+ in info format and makes it available to info readers.
--- texinfo-4.13a.dfsg.1.orig/debian/texinfo.install
+++ texinfo-4.13a.dfsg.1/debian/texinfo.install
@@ -0,0 +1,51 @@
+usr/bin/makeinfo
+usr/bin/texindex
+usr/bin/texi2dvi
+usr/bin/pdftexi2dvi
+usr/bin/texi2pdf
+usr/share/locale/cs/LC_MESSAGES/texinfo.mo
+usr/share/locale/da/LC_MESSAGES/texinfo.mo
+usr/share/locale/de/LC_MESSAGES/texinfo.mo
+usr/share/locale/de_AT/LC_MESSAGES/texinfo.mo
+usr/share/locale/eo/LC_MESSAGES/texinfo.mo
+usr/share/locale/es/LC_MESSAGES/texinfo.mo
+usr/share/locale/fr/LC_MESSAGES/texinfo.mo
+usr/share/locale/he/LC_MESSAGES/texinfo.mo
+usr/share/locale/hr/LC_MESSAGES/texinfo.mo
+usr/share/locale/hu/LC_MESSAGES/texinfo.mo
+usr/share/locale/ja/LC_MESSAGES/texinfo.mo
+usr/share/locale/nb/LC_MESSAGES/texinfo.mo
+usr/share/locale/nl/LC_MESSAGES/texinfo.mo
+usr/share/locale/pl/LC_MESSAGES/texinfo.mo
+usr/share/locale/ro/LC_MESSAGES/texinfo.mo
+usr/share/locale/ru/LC_MESSAGES/texinfo.mo
+usr/share/locale/rw/LC_MESSAGES/texinfo.mo
+usr/share/locale/sv/LC_MESSAGES/texinfo.mo
+usr/share/locale/tr/LC_MESSAGES/texinfo.mo
+usr/share/locale/vi/LC_MESSAGES/texinfo.mo
+usr/share/locale/zh_CN/LC_MESSAGES/texinfo.mo
+usr/share/locale/zh_TW/LC_MESSAGES/texinfo.mo
+usr/share/texinfo/texinfo.dtd
+usr/share/texinfo/texinfo.xsl
+usr/share/texinfo/texinfo.cat
+usr/share/man/man1/makeinfo.1
+usr/share/man/man1/texindex.1
+usr/share/man/man1/texi2dvi.1
+usr/share/man/man1/texi2pdf.1
+usr/share/man/man1/pdftexi2dvi.1
+usr/share/man/man5/texinfo.5
+usr/share/texmf/tex/texinfo/texinfo.tex
+usr/share/texmf/tex/texinfo/txi-cs.tex
+usr/share/texmf/tex/texinfo/txi-de.tex
+usr/share/texmf/tex/texinfo/txi-en.tex
+usr/share/texmf/tex/texinfo/txi-es.tex
+usr/share/texmf/tex/texinfo/txi-fr.tex
+usr/share/texmf/tex/texinfo/txi-it.tex
+usr/share/texmf/tex/texinfo/txi-nb.tex
+usr/share/texmf/tex/texinfo/txi-nl.tex
+usr/share/texmf/tex/texinfo/txi-pl.tex
+usr/share/texmf/tex/texinfo/txi-pt.tex
+usr/share/texmf/tex/texinfo/txi-ru.tex
+usr/share/texmf/tex/texinfo/txi-sr.tex
+usr/share/texmf/tex/texinfo/txi-tr.tex
+usr/share/texmf/tex/texinfo/txi-uk.tex
--- texinfo-4.13a.dfsg.1.orig/debian/README.Debian
+++ texinfo-4.13a.dfsg.1/debian/README.Debian
@@ -0,0 +1,19 @@
+
+Creating dvi/pdf files from texi files
+======================================
+If you want to create dvi of pdf files from texi files you need all the
+packages which are suggested by texinfo, that is currently
+ texlive-base, texlive-latex-base, texlive-generic-recommended
+This is especially important for building packages. If you are a developer
+and at package build time you create dvi/pdf/ps files, please add the
+above packages to your build dependencies.
+
+Documentation
+=============
+This package does not contain the info documentation of info and texinfo,
+as they are licensed under the GNU Free Document License with Cover Texts,
+which is considered as non-free in Debian.
+
+The documentation can be found in the package texinfo-doc-nonfree in the
+non-free section.
+
--- texinfo-4.13a.dfsg.1.orig/debian/info.postinst
+++ texinfo-4.13a.dfsg.1/debian/info.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ] || [ "$1" = "upgrade" ]; then
+ update-alternatives --install /usr/bin/infobrowser infobrowser \
+ /usr/bin/info 60 \
+ --slave /usr/share/man/man1/infobrowser.1.gz infobrowser.1.gz \
+ /usr/share/man/man1/info.1.gz
+fi
+
+#DEBHELPER#
--- texinfo-4.13a.dfsg.1.orig/debian/info.prerm
+++ texinfo-4.13a.dfsg.1/debian/info.prerm
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" != "upgrade" ]; then
+ update-alternatives --remove infobrowser /usr/bin/info
+fi
+
+#DEBHELPER#
--- texinfo-4.13a.dfsg.1.orig/debian/info.menu
+++ texinfo-4.13a.dfsg.1/debian/info.menu
@@ -0,0 +1,2 @@
+?package(info): needs="text" title="Info" section="Help" \
+ longtitle="GNU Info browser" command="info"
--- texinfo-4.13a.dfsg.1.orig/debian/install-info.dirs
+++ texinfo-4.13a.dfsg.1/debian/install-info.dirs
@@ -0,0 +1,2 @@
+usr/sbin
+usr/share/info
--- texinfo-4.13a.dfsg.1.orig/debian/texinfo.postinst
+++ texinfo-4.13a.dfsg.1/debian/texinfo.postinst
@@ -0,0 +1,87 @@
+#!/bin/sh -e
+
+build_format_if_format_exists ()
+{
+ v=`kpsewhich -var-value TEXMFSYSVAR` || return 0
+ c=`kpsewhich -var-value TEXMFSYSCONFIG` || return 0
+ TEXMFVAR="$v"
+ TEXMFCONFIG="$c"
+ export TEXMFVAR TEXMFCONFIG
+ if kpsewhich --format='web2c files' fmtutil.cnf > /dev/null 2>&1 ; then
+ fmtcnffile=`kpsewhich --format='web2c files' fmtutil.cnf`
+ else
+ return 0
+ fi
+ X=`cat $fmtcnffile | grep "^$2[[:space:]]" || true`
+ if [ ! "X$X" = "X" ] ; then
+ if [ "X$1" = "X--byhyphen" ] ; then
+ build_format --byhyphen $3
+ else
+ build_format $1 $2
+ fi
+ fi
+}
+
+build_format ()
+{
+ tempfile=`mktemp -p /tmp fmtutil.XXXXXXXX`
+ echo -n "Building format(s) $1 `basename "$2"`. This may take some time. ..."
+ if fmtutil-sys $1 $2 > $tempfile 2>&1 ; then
+ rm -f $tempfile
+ echo " done."
+ else
+ echo
+ echo "fmtutil-sys failed. Output has been stored in"
+ echo "$tempfile"
+ echo "Please include this file if you report a bug."
+ echo
+ exit 1
+ fi
+}
+
+update_lsr_files ()
+{
+ tempfile=`mktemp -p /tmp mktexlsr.XXXXXXXX`
+ echo -n "Running mktexlsr. This may take some time. ..."
+ if mktexlsr /usr/share/texmf /var/lib/texmf > $tempfile 2>&1 ; then
+ rm -f $tempfile
+ echo " done."
+ else
+ echo
+ echo "mktexlsr failed. Output has been stored in"
+ echo "$tempfile"
+ echo "Please include this file if you report a bug."
+ echo
+ exit 1
+ fi
+}
+
+# common.functions end
+case "$1" in
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ #
+ # update-fmtutil checks for /etc/texmf/fmt.d/00tex.cnf which
+ # may not be present, also the update-fmtutil is already
+ # present (config files are installed at config time!)
+ # So we have to check for the existence of this file
+ # before we can call update-fmtutil
+ if [ -r /etc/texmf/fmt.d/00tex.cnf ] ; then
+ if which update-fmtutil > /dev/null ; then update-fmtutil ; fi
+ fi
+ if which mktexlsr >/dev/null; then update_lsr_files; fi
+ # tetex might be unpacked but not configured, we have to check
+ # whether /etc/texmf/texmf.cnf already exists. The following check
+ # does two things: 1) check whether libkpathsea is configured, and
+ # 2) whether tex-common is configured.
+ if kpsewhich texmf.cnf > /dev/null 2>&1 ; then
+ build_format_if_format_exists --byfmt texinfo
+ build_format_if_format_exists --byfmt cyrtexinfo
+ fi
+ ;;
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
--- texinfo-4.13a.dfsg.1.orig/debian/texinfo.dirs
+++ texinfo-4.13a.dfsg.1/debian/texinfo.dirs
@@ -0,0 +1,3 @@
+usr/share/doc/texinfo
+etc/texmf/fmt.d
+var/lib/tex-common/fmtutil-cnf
--- texinfo-4.13a.dfsg.1.orig/debian/README.source
+++ texinfo-4.13a.dfsg.1/debian/README.source
@@ -0,0 +1,8 @@
+
+README.Debian-source
+
+The source package uses quilt for the modifications of the upstream source.
+If you want to change something it is best to use the quilt approach as
+documented in
+ /usr/share/doc/quilt/README.source
+
--- texinfo-4.13a.dfsg.1.orig/debian/conf/50cyrtexinfo.cnf
+++ texinfo-4.13a.dfsg.1/debian/conf/50cyrtexinfo.cnf
@@ -0,0 +1,18 @@
+#
+# 50cyrtexinfo.cnf
+#
+# Please leave this comment!
+# -_- DebPkgProvidedMaps -_-
+#
+# Texinfo formats for cyrillic language
+#
+# If you want to build cyrtexinfo, the cyrillic texinfo format, you have
+# to do the following steps (all as root)
+# . install either tetex-base and tetex-extra, or texlive-langcyrillic
+# . comment out the format line in this file
+# . create a link
+# /usr/local/bin/cyrtexinfo -> ../../bin/pdfetex
+# . call update-fmtutil
+# . call fmtutil-sys --missing (or --all)
+#
+#cyrtexinfo pdfetex language.dat -translate-file=cp227.tcx *cyrtxinf.ini
--- texinfo-4.13a.dfsg.1.orig/debian/patches/dont_build_info
+++ texinfo-4.13a.dfsg.1/debian/patches/dont_build_info
@@ -0,0 +1,44 @@
+70_dont_build_info.dpatch by Norbert Preining
+
+dont build the info documentation, it has been removed
+
+---
+ doc/Makefile.in | 12 ++++++++----
+ 1 file changed, 8 insertions(+), 4 deletions(-)
+
+Index: texinfo-4.13a.dfsg.1/doc/Makefile.in
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/doc/Makefile.in 2008-09-18 20:46:24.000000000 +0200
++++ texinfo-4.13a.dfsg.1/doc/Makefile.in 2009-03-09 15:17:15.000000000 +0100
+@@ -121,14 +121,16 @@
+ CONFIG_CLEAN_FILES =
+ SOURCES =
+ DIST_SOURCES =
+-INFO_DEPS = texinfo info-stnd.info info.info
++#INFO_DEPS = texinfo info-stnd.info info.info
++INFO_DEPS =
+ TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex
+ am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux
+ DVIS = texinfo.dvi info-stnd.dvi info.dvi
+ PDFS = texinfo.pdf info-stnd.pdf info.pdf
+ PSS = texinfo.ps info-stnd.ps info.ps
+ HTMLS = texinfo.html info-stnd.html info.html
+-TEXINFOS = texinfo.txi info-stnd.texi info.texi
++#TEXINFOS = texinfo.txi info-stnd.texi info.texi
++TEXINFOS =
+ TEXI2DVI = texi2dvi
+ TEXI2PDF = $(TEXI2DVI) --pdf --batch
+ MAKEINFOHTML = $(MAKEINFO) --html
+@@ -435,8 +437,10 @@
+ top_srcdir = @top_srcdir@
+
+ # Put texinfo.txi first because that's the most important.
+-info_TEXINFOS = texinfo.txi info-stnd.texi info.texi
+-DISTCLEANFILES = texinfo texinfo-* info*.info*
++#info_TEXINFOS = texinfo.txi info-stnd.texi info.texi
++#DISTCLEANFILES = texinfo texinfo-* info*.info*
++info_TEXINFOS =
++DISTCLEANFILES =
+ man_MANS = info.1 infokey.1 install-info.1 makeinfo.1 texindex.1 \
+ info.5 texinfo.5 texi2dvi.1 texi2pdf.1 pdftexi2dvi.1
+
--- texinfo-4.13a.dfsg.1.orig/debian/patches/replace_egrep_fgrep_sigs
+++ texinfo-4.13a.dfsg.1/debian/patches/replace_egrep_fgrep_sigs
@@ -0,0 +1,103 @@
+40_replace_egrep_fgrep_sigs.dpatch by David Weinehall <tao@debian.org>
+
+Replace egrep by grep -E, fgrep by grep -F, and numerical signals
+by signal names
+
+---
+ makeinfo/tests/cond | 16 ++++++++--------
+ util/fixfonts | 2 +-
+ util/gen-dir-node | 6 +++---
+ util/texi2dvi | 2 +-
+ 4 files changed, 13 insertions(+), 13 deletions(-)
+
+Index: texinfo-4.13a.dfsg.1/makeinfo/tests/cond
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/makeinfo/tests/cond 2005-04-05 23:04:16.000000000 +0200
++++ texinfo-4.13a.dfsg.1/makeinfo/tests/cond 2009-03-09 15:16:58.000000000 +0100
+@@ -6,28 +6,28 @@
+
+ # Default Info output.
+ ../makeinfo -o cond.out $srcdir/cond.txi || exit 1
+-egrep 'This is (ifnothtml|ifinfo|ifnottex) text' cond.out >/dev/null \
++grep -E 'This is (ifnothtml|ifinfo|ifnottex) text' cond.out >/dev/null \
+ || exit 2
+-test `fgrep -c ' text.' cond.out` -eq 3 || exit 3
++test `grep -F -c ' text.' cond.out` -eq 3 || exit 3
+
+ # Default HTML output.
+ ../makeinfo --no-split --html -o cond.out $srcdir/cond.txi || exit 1
+-egrep 'This is (html|ifhtml|ifnotinfo|ifnottex) text' cond.out >/dev/null \
++grep -E 'This is (html|ifhtml|ifnotinfo|ifnottex) text' cond.out >/dev/null \
+ || exit 2
+-test `fgrep -c ' text.' cond.out` -eq 4 || exit 3
++test `grep -F -c ' text.' cond.out` -eq 4 || exit 3
+
+ # --ifhtml off, --ifinfo off, --iftex off.
+ ../makeinfo --no-ifhtml --no-ifinfo --no-iftex -o cond.out $srcdir/cond.txi || exit 1
+-egrep 'This is ifnot(html|info|tex) text' cond.out >/dev/null \
++grep -E 'This is ifnot(html|info|tex) text' cond.out >/dev/null \
+ || exit 2
+-test `fgrep -c ' text.' cond.out` -eq 3 || exit 3
++test `grep -F -c ' text.' cond.out` -eq 3 || exit 3
+
+ # Do we really need to test all the other permutations?
+
+ # --ifhtml on, --ifinfo on, --iftex on.
+ ../makeinfo --ifhtml --ifinfo --iftex -o cond.out $srcdir/cond.txi || exit 1
+-egrep 'This is (html|ifhtml|ifinfo|tex|iftex) text' cond.out >/dev/null \
++grep -E 'This is (html|ifhtml|ifinfo|tex|iftex) text' cond.out >/dev/null \
+ || exit 2
+-test `fgrep -c ' text.' cond.out` -eq 5 || exit 3
++test `grep -F -c ' text.' cond.out` -eq 5 || exit 3
+
+ rm -f cond.out cond.info
+Index: texinfo-4.13a.dfsg.1/util/fixfonts
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/util/fixfonts 2002-08-26 01:38:39.000000000 +0200
++++ texinfo-4.13a.dfsg.1/util/fixfonts 2009-03-09 15:16:58.000000000 +0100
+@@ -33,7 +33,7 @@
+ tempfile2="${TMPDIR}/circ2$$"
+
+ # EXIT SIGHUP SIGINT SIGQUIT SIGTERM
+-#trap 'rm -f "${tempfile}" "${tempfile2}"' 0 1 2 3 15
++#trap 'rm -f "${tempfile}" "${tempfile2}"' 0 HUP INT QUIT TERM
+
+ # Find all the fonts with names that include `circle'.
+ (cd "${texfontdir}"; find . -name '*circle*' -print > "${tempfile}")
+Index: texinfo-4.13a.dfsg.1/util/gen-dir-node
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/util/gen-dir-node 2004-04-11 19:56:47.000000000 +0200
++++ texinfo-4.13a.dfsg.1/util/gen-dir-node 2009-03-09 15:16:58.000000000 +0100
+@@ -79,7 +79,7 @@
+ ### then generate entries for those in the same way, putting the info for
+ ### those at the end....
+
+-infofiles=`(cd ${INFODIR}; /bin/ls | grep -v '\-[0-9]*$' | egrep -v '^dir$|^dir\.info$|^dir\.orig$')`
++infofiles=`(cd ${INFODIR}; /bin/ls | grep -v '\-[0-9]*$' | grep -E -v '^dir$|^dir\.info$|^dir\.orig$')`
+
+ # echoing gets clobbered by backquotes; we do it the hard way...
+ lines=`wc $SKELETON | awk '{print $1}'`
+@@ -166,8 +166,8 @@
+
+ # Sort remaining files by INFO-DIR-SECTION.
+ prevsect=
+-filesectdata=`(cd ${INFODIR}; fgrep INFO-DIR-SECTION /dev/null ${infofiles} | \
+- fgrep -v 'INFO-DIR-SECTION Miscellaneous' | \
++filesectdata=`(cd ${INFODIR}; grep -F INFO-DIR-SECTION /dev/null ${infofiles} | \
++ grep -F -v 'INFO-DIR-SECTION Miscellaneous' | \
+ sort -t: -k2 -k1 | tr ' ' '_')`
+ for sectdata in ${filesectdata}; do
+ file=`echo ${sectdata} | cut -d: -f1`
+Index: texinfo-4.13a.dfsg.1/util/texi2dvi
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/util/texi2dvi 2009-03-09 15:16:49.000000000 +0100
++++ texinfo-4.13a.dfsg.1/util/texi2dvi 2009-03-09 15:16:58.000000000 +0100
+@@ -1760,7 +1760,7 @@
+ sed 's,/,!,g'`
+ esac
+ # Remove it at exit if clean mode.
+- trap "cleanup" 0 1 2 15
++ trap "cleanup" 0 HUP INT TERM
+
+ ensure_dir "$build_dir" "$t2ddir"
+
--- texinfo-4.13a.dfsg.1.orig/debian/patches/info_universal_argument
+++ texinfo-4.13a.dfsg.1/debian/patches/info_universal_argument
@@ -0,0 +1,35 @@
+50_info_universal_argument.dpatch by Peter De Wachter <pdewacht@vub.ac.be>
+
+fix crash in info under nl locale
+
+---
+ po/ro.po | 2 +-
+ po/tr.po | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+Index: texinfo-4.13a.dfsg.1/po/ro.po
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/po/ro.po 2008-09-18 20:38:32.000000000 +0200
++++ texinfo-4.13a.dfsg.1/po/ro.po 2009-03-09 15:17:06.000000000 +0100
+@@ -1681,7 +1681,7 @@
+
+ #: info/session.c:5149
+ msgid "Internally used by \\[universal-argument]"
+-msgstr "Folosit intern de \\[argument-universal]"
++msgstr "Folosit intern de \\[universal-argument]"
+
+ #: info/tilde.c:336
+ #, c-format
+Index: texinfo-4.13a.dfsg.1/po/tr.po
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/po/tr.po 2008-09-18 20:38:33.000000000 +0200
++++ texinfo-4.13a.dfsg.1/po/tr.po 2009-03-09 15:17:06.000000000 +0100
+@@ -1683,7 +1683,7 @@
+
+ #: info/session.c:5149
+ msgid "Internally used by \\[universal-argument]"
+-msgstr "Dahili olarak \\[universal argument] tarafýndan kullanýlýyor"
++msgstr "Dahili olarak \\[universal-argument] tarafýndan kullanýlýyor"
+
+ #: info/tilde.c:336
+ #, c-format
--- texinfo-4.13a.dfsg.1.orig/debian/patches/fix-direntry
+++ texinfo-4.13a.dfsg.1/debian/patches/fix-direntry
@@ -0,0 +1,43 @@
+patch taken from
+http://lists.gnu.org/archive/html/bug-texinfo/2007-10/msg00020.html
+(for cmds.c) and adjusted for insertion.c by Norbert Preining
+---
+ makeinfo/cmds.c | 10 +++++++---
+ makeinfo/insertion.c | 2 +-
+ 2 files changed, 8 insertions(+), 4 deletions(-)
+
+Index: texinfo-4.11.dfsg.1/makeinfo/cmds.c
+===================================================================
+--- texinfo-4.11.dfsg.1.orig/makeinfo/cmds.c 2007-07-15 19:36:19.000000000 +0200
++++ texinfo-4.11.dfsg.1/makeinfo/cmds.c 2007-12-19 16:19:24.000000000 +0100
+@@ -1637,10 +1637,14 @@
+
+ if (!no_headers && !html)
+ {
++ /* use add_* instead of insert_* because otherwise the
++ file header ("This is ...") will end up inside the
++ dir section markers. */
+ kill_self_indent (-1); /* make sure there's no indentation */
+- insert_string ("INFO-DIR-SECTION ");
+- insert_string (line);
+- insert ('\n');
++ cm_noindent (); /* make sure again */
++ add_word ("INFO-DIR-SECTION ");
++ add_word (line);
++ add_char ('\n');
+ }
+
+ free (line);
+Index: texinfo-4.11.dfsg.1/makeinfo/insertion.c
+===================================================================
+--- texinfo-4.11.dfsg.1.orig/makeinfo/insertion.c 2007-12-19 16:19:35.000000000 +0100
++++ texinfo-4.11.dfsg.1/makeinfo/insertion.c 2007-12-19 16:19:41.000000000 +0100
+@@ -488,7 +488,7 @@
+ close_single_paragraph ();
+ filling_enabled = no_indent = 0;
+ inhibit_paragraph_indentation = 1;
+- insert_string ("START-INFO-DIR-ENTRY\n");
++ add_word ("START-INFO-DIR-ENTRY\n");
+ break;
+
+ case documentdescription:
--- texinfo-4.13a.dfsg.1.orig/debian/patches/fix-texi2dvi-bashism
+++ texinfo-4.13a.dfsg.1/debian/patches/fix-texi2dvi-bashism
@@ -0,0 +1,17 @@
+---
+ util/texi2dvi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: texinfo-4.12.dfsg.1/util/texi2dvi
+===================================================================
+--- texinfo-4.12.dfsg.1.orig/util/texi2dvi 2008-06-13 09:28:00.000000000 +0200
++++ texinfo-4.12.dfsg.1/util/texi2dvi 2008-06-13 09:36:34.000000000 +0200
+@@ -1105,7 +1105,7 @@
+ # main info output, the user asked to run TeX, not makeinfo.
+ run_makeinfo ()
+ {
+- test $in_lang == texinfo ||
++ test $in_lang = texinfo ||
+ return 0
+
+ # Unless required by the user, makeinfo expansion is wanted only
--- texinfo-4.13a.dfsg.1.orig/debian/patches/warn_missing_tex
+++ texinfo-4.13a.dfsg.1/debian/patches/warn_missing_tex
@@ -0,0 +1,28 @@
+20_warn_missing_tex.dpatch by <preining@logic.at>
+
+---
+ util/texi2dvi | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+Index: texinfo-4.13a.dfsg.1/util/texi2dvi
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/util/texi2dvi 2008-09-18 20:46:01.000000000 +0200
++++ texinfo-4.13a.dfsg.1/util/texi2dvi 2009-03-09 15:16:49.000000000 +0100
+@@ -32,6 +32,17 @@
+ # No failure shall remain unpunished.
+ set -e
+
++if ! command -v tex >/dev/null 2>&1; then
++ cat <<%EOM%
++You don't have a working TeX binary installed, but the texi2dvi script
++can't proceed without it. If you want to use this script, you have to
++install some kind of TeX, for example TeX Live Debian packages. You can do
++that with this command:
++ apt-get install texlive
++%EOM%
++ exit 1
++fi
++
+ # This string is expanded by rcs automatically when this file is checked out.
+ rcs_revision='$Revision: 1.135 $'
+ rcs_version=`set - $rcs_revision; echo $2`
--- texinfo-4.13a.dfsg.1.orig/debian/patches/texi-allow-tilde
+++ texinfo-4.13a.dfsg.1/debian/patches/texi-allow-tilde
@@ -0,0 +1,74 @@
+texi-allow-tilde patch by Karl Berry
+included upstream
+
+ calling texi2dvi /path/with~tilde/in/the/path.texi breaks
+
+I installed the patch below (modulo documentation, etc.) to support tildes.
+There's an undocumented -~ option to avoid all this madness in case it's
+totally broken. Hope none of these literal tildes mess anything up.
+
+More special characters could be supported, but then we'd have to assume
+a matching texinfo.tex (then -~ could come in useful). Plus, I've
+already spent too long on this for today.
+
+In any case, I advise using texi2dvi's tidy mode when special characters
+are a concern. It will work with a wider range of characters in the
+directory portion, at least. Besides being cleaner in general.
+
+---
+ util/texi2dvi | 26 +++++++++++++++++++++-----
+ 1 file changed, 21 insertions(+), 5 deletions(-)
+
+Index: texinfo-4.13a.dfsg.1/util/texi2dvi
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/util/texi2dvi 2009-03-18 14:40:08.000000000 +0100
++++ texinfo-4.13a.dfsg.1/util/texi2dvi 2009-03-18 14:40:18.000000000 +0100
+@@ -56,6 +56,7 @@
+ # Instead, assign them an empty value.
+ action=compile
+ batch=false # true for batch mode
++catcode_special=true
+ debug=false
+ escape="\\"
+ expand= # t for expansion via makeinfo
+@@ -938,12 +939,27 @@
+ # \batchmode does not show terminal output at all, so we don't
+ # want that. And even in batch mode, TeX insists on having input
+ # from the user. Close its stdin to make it impossible.
+- cmd="$cmd </dev/null '${escape}nonstopmode' '${escape}input'"
++ cmd="$cmd </dev/null '${escape}nonstopmode'"
+ fi
+
+- # we'd like to handle arbitrary input file names, such as a~b.tex.
+- # This isn't a general way to do it :), though it does work, kind of.
+- # cmd="$cmd '${escape}catcode126=12 \input '"
++ # we'd like to handle arbitrary input file names, especially
++ # foo~bar/a~b.tex, since Debian likes ~ characters.
++ if $catcode_special; then
++ # $normaltilde is just to reduce line length in this source file.
++ # The idea is to define \normaltilde as a catcode other ~ character,
++ # then make the active ~ be equivalent to that, instead of the plain
++ # TeX tie. Then when the active ~ appears in the filename, it will
++ # be expanded to itself, as far as \input will see. (This is the
++ # same thing that texinfo.tex does in general, BTW.)
++ normaltilde="${escape}catcode126=12 ${escape}def${escape}normaltilde{~}"
++ cmd="$cmd '$normaltilde${escape}catcode126=13 ${escape}let~\normaltilde '"
++ fi
++ # Other special (non-active) characters could be supported by
++ # resetting their catcodes to other on the command line and changing
++ # texinfo.tex to initialize everything to plain catcodes. Maybe someday.
++
++ # append the \input command.
++ cmd="$cmd '${escape}input'"
+
+ # TeX's \input does not (easily or reliably) support whitespace
+ # characters or other special characters in file names. Our intensive
+@@ -958,7 +974,7 @@
+ # harm in making the link.
+ #
+ case $tidy:`func_dirname "$in_input"` in
+- true:*["$space$tab$newline\"#\$%\\^_{}"]*)
++ true:*["$space$tab$newline\"#\$%\\^_{}~"]*)
+ _run_tex_file_name=`basename "$in_input"`
+ if test ! -f "$_run_tex_file_name"; then
+ # It might not be a file, clear it.
--- texinfo-4.13a.dfsg.1.orig/debian/patches/series
+++ texinfo-4.13a.dfsg.1/debian/patches/series
@@ -0,0 +1,6 @@
+warn_missing_tex
+replace_egrep_fgrep_sigs
+info_universal_argument
+dont_build_info
+texi-allow-tilde
+check-nodes-boundaries
--- texinfo-4.13a.dfsg.1.orig/debian/patches/check-nodes-boundaries
+++ texinfo-4.13a.dfsg.1/debian/patches/check-nodes-boundaries
@@ -0,0 +1,22 @@
+patch for fixing #598932, a segfault under certain circumstances due to
+wrong node computation if the .info file is malformed.
+The patch is based on the one checked in to texinfo cvs by
+Sergey Poznyakoff
+---
+ info/nodes.c | 13 +++++++++++--
+ 1 file changed, 11 insertions(+), 2 deletions(-)
+
+Index: texinfo-4.13a.dfsg.1/info/nodes.c
+===================================================================
+--- texinfo-4.13a.dfsg.1.orig/info/nodes.c 2010-10-08 10:00:22.000000000 +0900
++++ texinfo-4.13a.dfsg.1/info/nodes.c 2010-10-08 10:13:25.000000000 +0900
+@@ -960,6 +960,9 @@
+ /* If we were able to find this file and load it, then return
+ the node within it. */
+ {
++ if (!(tag->nodestart >= 0 && tag->nodestart < subfile->filesize))
++ return NULL;
++
+ NODE *node = xmalloc (sizeof (NODE));
+ node->filename = subfile->fullpath;
+ node->parent = NULL;