Commit graph

54 commits

Author SHA1 Message Date
tnn
f7419c7bbc gtexinfo: fix infinite loop in makeinfo with perl-5.28
patch from Niko Tyni via upstream mailing list
2018-08-30 11:27:48 +00:00
tnn
f383f7a4ef gtexinfo: silence p5 deprecation warning 2018-08-30 11:03:34 +00:00
wiz
5839557ca4 gtexinfo: honor LDFLAGS. Fixes RELRO build. 2017-09-29 21:03:45 +00:00
ryoon
d97e6178d0 Update to 6.5
Changelog:
6.5 (12 September 2017)
* info:
  . some bugs fixed:
    . a bug where a segfault could happen in the regex search, for
      example when the user entered a single \ as the search string
    . another bug which could make nodes inaccessible in long "split"
      info files
    . a bug where it was not possible to follow a cross-reference
      that was split across more than one line has been fixed
  . do not fall back to a man page if following a cross-reference in an
    info file failed
  . if looking for a file failed, do not convert the name of a file to
    lower-case and look for it again

* texinfo.tex
  . some faulty definitions for Unicode characters have been changed or
    removed
  . fix indentation in table of contents for entries that are split
    across multiple lines

* texi2dvi
  . a bug that broke the processing of LaTeX files that did not
    use BibTeX has been fixed

* texi2any
  . output the encoding declaration of a HTML file earlier so it
    will always occur within first 1024 bytes of file
  . `INLINE_INSERTCOPYING' removed as a customization variable

6.4 (23 June 2017)
* texi2any:
  . for HTML output, place section names before the manual in page
    titles, instead of after them, so it is easier to distinguish pages
    if titles are truncated
  . starting points for ordered lists beginning with 0 or a letter of
    the alphabet are output as attributes on the <ol> tag, as was
    case for Texinfo 4.13 and earlier
  . a bit faster
  . some discrepancies in paragraph formatting between Perl extension
    modules and interpreted Perl modules have been fixed
  . `MACRO_BODY_IGNORES_LEADING_SPACE' customization variable removed,
    and `indent_menu_descriptions' is no longer a possible value for
    `TREE_TRANSFORMATIONS' (as these features did not work as
    documented)

* info:
  . the `up-line' and `down-line' commands now are like the other
    scrolling commands and are no longer confined to a single node
    (depending on the value of `scroll-behaviour')
  . supplying the --all option with --index-search displays a list
    of matching index entries
  . the style variables like `link-style' can now be set while info
    is running
  . display bug fixed where color could be turned off prematurely
  . several other bugs fixed
  . better portability in test suite
  . do not fall back to showing the dir node if a manual isn't found
  . Do not attempt any kind of conversion of CR LF line endings,
    except on MS-DOS/Windows, when it is done unconditionally.  (This
    replaces a more complicated approach, where this conversion would
    take place if there was a problem finding a node in a file.)  The
    main effect of this change is that Info files with CR LF line
    endings, which would have been produced on MS-DOS/Windows with old
    versions of makeinfo, are only supported on such operating systems.
  . a few of the key bindings under --vi-keys have been changed for
    consistency or to match the documentation

* texinfo.tex
  . a DVI file with a single empty page can be output again, which
    restores the behavior from Texinfo 6.0 and earlier

* Distribution
  . autoconf 2.69, automake 1.15, gettext 0.19.8
2017-09-28 12:53:59 +00:00
wiz
1e74b916d4 Honor LDFLAGS. Fixes RELRO build. 2017-07-12 11:04:59 +00:00
wiz
9b73c90673 Updated gtexinfo to 6.3.
6.3 (10 September 2016)

* Language:
  . The commands `@setcontentsaftertitlepage' and
    `@setshortcontentsaftertitlepage' have been removed.
  . @-commands are no longer supported within `@errormsg'.

* texinfo.tex:
  . For a couple of characters (opening and closing braces), use glyphs
    from the standard TeX math fonts instead of using EC fonts which are
    less likely to be installed.
  . Use of user-defined macros in the text of an index entry is more
    reliable when the text contains Texinfo @-commands.
  . @synindex and @syncodeindex have been fixed (broken in the last
    release).
  . Support added for native UTF-8 support with XeTeX and LuaTeX.
  . Support of PDF output with XeTeX improved.
  . You can use a new file doc/texinfo-ja.tex for Texinfo documents in
    Japanese.  doc/short-sample-ja.tex is a sample document.  New
    support file doc/txi-ja.tex for Japanese.

* texi2any:
  . Fix handling of compiler options when building Perl extension modules.

* texi2dvi:
  . Can now process files whose absolute paths contain space characters,
    as long a relative path to the file is given.  Better support of
    files with unusual characters in their names.
  . No longer exits prematurely in some circumstances (due to the script
    running under "set -e").
  . Bug fixed which made the `--command' and `--tidy' options
    incompatible.

* info:
  . Handling of "invalid" value in infokey file fixed.

6.2 (withdrawn)
2016-10-19 12:49:39 +00:00
wiz
ff02bcd908 Avoid a call to malloc() that gets passed (size_t)-1.
print/lilypond triggers this.

Bump PKGREVISION.
2016-03-20 19:09:53 +00:00
richard
f32a64ec3d fix XSParagraph support by adding perl bl3, forcing use of pkgsrc libtool
instead of bundled libtool to get over rm issue.
bump PKGREVISION
2016-03-17 05:35:47 +00:00
ryoon
94edc44293 Update to 6.1
Changelog:
6.1 (06 February 2016)

* Language:
  . You can now omit the @menu from nodes with other nodes below them in
    the document structure.  If you use "@validatemenus off" near the
    start of a Texinfo file, makeinfo will, where needed, create a menu
    for nodes lacking one given explicitly.
  . An @setfilename line is no longer required at the start of a
    Texinfo file.  (Be aware, though, that some other tools may require
    it, for example Automake.)
  . For processing with TeX, a comma is automatically provided following
    a cross-reference command (such as @xref) when needed to separate
    the page number from following text, so you don't need to add one
    yourself.  See the `Parts of a Cross Reference' node in the manual
    for details.  Behavior when followed by punctuation, as always
    recommended previously, is unchanged.

* texi2any:
  . Some Perl modules have been rewritten in C to increase speed.
    If Perl extensions can be created, they are used by default;
    otherwise the pure Perl implementations are still used.
    Disable at build time with "configure --disable-perl-xs".  The
    environment variable TEXINFO_XS controls how they are used by
    texi2any.
  . Quotation marks are left out for node names and index entries in
    Info output where they would have been produced by commands such
    as @file or @option.
  . New customization variable INFO_SPECIAL_CHARS_QUOTE to allow use of
    a quoting mechanism for problematic constructs in Info output, for
    example node names containing colons or commas.
  . Commands like @heading are affected by @lowersections and @raisesections
    again, as was the case before Texinfo 5.0.

* texinfo.tex:
  . You may explicitly specify a sort key for an index entry by preceding
    the text of the entry with the @sortas commmand with the sort key
    desired as a braced argument.   Additionally, you may choose to
    ignore all occurences of the characters \, @, <, and - using new
    flags you can specify with @set: `txiindexbackslashignore',
    `txiindexatsignignore', `txiindexlessthanignore', and
    `txiindexhyphenignore' respectively.
  . Changes to macro handling to more closely match makeinfo.  Ends of
    lines are preserved in an argument to a macro taking a single
    argument.
  . By default, suppress heading line on a page with a chapter on it, to
    avoid having the chapter title repeated.
  . Use a larger font for arguments in a @deffn line and similar.
  . The default indices (cp, ky and so on) now don't get a file opened
    for them unless they are actually used.  This reduces the number of
    files that a run of TeX produces, and also allows for a greater
    number of user-defined indices, because you will not bump into TeX's
    limit of 16 open files at once so soon.
  . For initials in indices that are non-alphanumeric characters (for
    example, backslash, or braces), avoid use of a typewriter font.
    This gives a more consistent appearance.
  . Have a stronger preference for breaking a column in an index before
    a letter heading.
  . Formatting improvements in tables of contents and indices.  Entries
    can extend slightly into the margin instead of being broken across
    two lines, and text is split more evenly across lines.  Reduce
    chance of an orphaned index entry appearing at the top of a column.
  . Support character encodings beyond ASCII for XeTeX and LuaTeX by
    reading file input byte-by-byte.

* texi2dvi:
  . Support for determining the output files using the `-recorder'
    option to TeX, to help to support more TeX engines.

* info:
  . New user variables `link-style', `active-link-style', and
    `match-style' enable customization of how cross-references and search
    matches are highlighted.
  . By default only the node pointers are displayed at the top of a node.
    Customize this with the `nodeline' variable.
  . New command M-x tree-search to search all subnodes of a node.
  . Now tries to find referenced manuals in the same directory as the
    current file first, before looking in search path.  Customize this
    with new variable `follow-strategy'.
  . The `mouse' variable is now off by default, in order not to
    interfere with the selection of text in a terminal emulator window.
  . `q' closes a window instead of quitting altogether if there's more
    than one, for example if a help window is open.
  . Several bug fixes, including:
      . one causing the wrong position in a node to be shown when
        following an "anchor" cross-reference
      . one causing a test failure in the t/c-u-m-x-scroll-forward.sh
        test on some platforms
  . Internal changes to reduce memory use and increase speed of
    searches, relative to last release
  . The meaning of the `key-time' variable has changed when its value
    is 0.  This value meant to wait forever in the last release, but now
    it means that the next byte must be available immediately.

* Documentation:
  . The `info.info' file (and `info.texi' source) is no longer
    distributed with Texinfo.  Now this manual is only in Emacs.

* Distribution:
  . automake-1.15, gettext-0.19.6.
2016-02-13 07:02:07 +00:00
agc
d9e4cfe05d Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 03:27:11 +00:00
joerg
7831a79f20 Fix quoting of backslash by going to math mode. Bump revision. 2015-08-13 20:17:03 +00:00
joerg
225951cab7 Fix quoting of initials to unbreak octave. 2015-07-07 11:38:40 +00:00
ryoon
68c7e3efdf Update to 6.0
Changelog:
6.0 (26 June 2015)
* Language:
  . new commands @sub and @sup, for textual subscripts and superscripts.
  . new command @U to insert a Unicode character by code point.

* texinfo.tex:
  . @url/@uref output in PDF now the same as in DVI, showing the url
    even if the second argument is given, not just as a link target.
    TeX option \urefurlonlylinktrue gives previous behavior, of invisible urls.
    PDF-only \linkcolor and \urlcolor specify colors (default black).

* texi2any:
  . customization variable TOP_NODE_UP_URL now replaces all (dir) references;
    recommended setting for GNU packages is /manual/.
  . new customization variable INDEX_SPECIAL_CHARS_WARNING to complain
    when index entries contain a colon.
  . Docbook output no longer uses <lineannotation> for @r.
  . -D'var val' on the command line works as intended again.
  . --plaintext output can be split.
  . a bit faster.

* info:
  . invoking as `info foo bar' looks for bar as an index entry in manual
    foo, if not found as a top-level menu item.
  . invoking info with an absolute or explicitly relative file name
    (./foo.info, /tmp/foo.info, etc.) just visits that file.
  . separate `infokey' program has been removed - the .infokey file is
    now read directly by Info.
  . new option --init-file allows overriding ~/.infokey.
  . new variable `highlight-searches' allows highlighting results from a
    search
  . support for mouse scrollwheel, controlled by `mouse' variable.
  . new variable `key_time' to control how long to wait for byte
    sequences sent by special keys.
  . new variable `hide-note-references' alters appearance of displayed nodes
  . new variable `infopath-no-defaults' allows omitting the compile-time
    Info directory from the Info search path.
  . support input of multibyte characters for searches in a UTF-8 locale.
  . if reading an Info file that is known to be in a different character
    encoding to that of the user's environment, convert its contents
    when displayed and substitute missing characters
  . new command M-x info-version.
  . the M-x kill-node command has been removed.
  . test suite at build time.

* texindex:
  . completely new implementation as a literate program using Texinfo
    and (portable) awk (called TexiWeb Jr.), thanks to Arnold Robbins.
    (Requires gawk 4.0+ if .twjr source is modified.)
  . the -o (--output) is not supported, unless we hear of someone using it.
  . duplicated sort keys with different display texts result in one
    merged index entry, using the first display text.
  . better sorting and parsing in unusual cases; most notably, { and }
    characters can appear as initials.

* install-info:
  . handle compressed input file names containing spaces.
  . exit successfully if --remove is given and the dir file does not exist.
  . new option --defsection, to be used instead of "Miscellaneous" when
    a section is not present in the Info file.

* texi2dvi:
  . look for the environment variable THUMBPDF_CMD instead of THUMBPDF,
    since thumbpdf itself has used THUMBPDF for options since 2000.
  . remove --recode and --recode-from options, since they haven't
    worked as intended for years, so evidently no one needs them.

* Distribution:
  . new translation ca (catalan).
  . automake-1.15, gettext-0.19.4.
2015-06-30 11:00:32 +00:00
ryoon
0c84318f92 Update comment for PR pkg/48075. 2014-07-17 12:56:23 +00:00
richard
27f23e356a Revert previous superficial patch and push the Mr Zingelman's suggestion
as indicated in pkg/48075, wherein pdksh doesn't support double-parens
if not containing an arithmetic expression of a particular form.
Older bash and ast-ksh apparently also had problems with this.
2014-04-15 05:27:00 +00:00
richard
6dab5cbfa2 Use recent help2man `--no-discard-stderr' to build util/texi2dvi manpage. 2014-04-07 13:34:49 +00:00
wiz
d755dd7b9a Update to 5.2:
5.2 (26 September 2013)
* Language:
  . new commands @inlinefmtifelse, @inlineifset, @inlineifclear, for
    more brace-delimited alternatives to the conditional environments.

* texi2any:
  . warns about node names, menu items, and cross-references (but not
    index entries) containing problematic characters; can be disabled
    with -c INFO_SPECIAL_CHARS_WARNING=0.

* info:
  . new option -x (--debug) for debugging output; -x -1 to get everything.
  . new option -v (--variable) assigns a value to an Info variable,
    with the usual syntax, -v VARIABLE=VALUE.
  . new option -a (--all) instructs Info to display all documents
    matching the command line arguments, not just the first.  In
    conjunction with the -w option, it shows full names of all Info
    files matching the command line arguments; with -o, it outputs all
    matching files.
  . new variable search-skip-screen controls the starting position for
    repeated search commands ({ and }).  When set to On, repeated
    searches skip the lines displayed on the screen, i.e.,
    forward searches (}) start at the beginning of the next page, and
    backward searches ({) start at the end of the previous page.
  . new command display-file-info (bound to = by default, C-g in vi mode)
    shows full file name of the node being displayed and position in it.

* texi2dvi:
  . support for biblatex+biber.

* Distribution: automake-1.14, gettext-0.18.3.1.
2013-10-06 16:12:00 +00:00
wiz
daa90498f8 Update to 5.1. This adds a perl dependency. I hope this won't break
bootstrapping.

*** NEWS FOR ALL AUTHORS OF TEXINFO MANUALS ***

As of version 4.2, Texinfo has a new command @copying to define the
copyright and copying permissions for a manual.  If you haven't already,
please switch to using it in your next release, because the historical
method of doing copyright permissions using @ifinfo failed to output
copyright information in the HTML (or XML) formats.  The manual has
detailed explanations and examples.  For convenience, here's a url to
one of the relevant sections:
  http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Document-Permissions.html

-------------------------------------------------------------------------------
5.1 (12 March 2013)
* texi2any:
  . irregular sectioning trees (see 5.0 news item) produce a warning
    rather than an error.
  . @set in the middle of the line no longer produces a warning.

* info:
  . lzip (.lz) compression supported.

* install-info:
  . lzip (.lz) compression supported.

5.0 (16 February 2013)
* Language:
  . Texinfo commands are supported in node names.
  . #line directives are recognized.
  . @-commands are now recognized in raw format blocks.  Therefore, for
    example, lone @, { and } characters in @tex, @html and similar
    environments must be converted to the normal @@, @{, and @} commands.
  . new commands @inlinefmt and @inlineraw for brace-delimited conditionals.
  . new conditionals @ifcommanddefined and @ifcommandnotdefined to test
    if a Texinfo command is available.
  . new command @part for a group of chapters.
  . new environments @raggedright, @smallquotation,
      @indentedblock, and @smallindentedblock.
  . new commands @codequoteundirected and @codequotebacktick,
      for a better interface than the @set variables; now respected by @kbd.
  . new command @xrefautomaticsectiontitle to allow using section titles
      in cross references by default, instead of node names.
  . new commands for Texinfo special characters:
    @atchar{} @lbracechar{} @rbracechar{} @backslashchar{} @hashchar{}.
  . new commands @deftypefnnewline to print return types on their own lines.
  . new command @headitemfont for the sake of template rows.
  . new command @urefbreakstyle to control breaking of @url/@uref in TeX.
  . new diacritic command @ogonek.
  . new commands for Icelandic letters eth and thorn: @DH{} @dh{} @TH{} @th{}.
  . new command @errormsg to report an error.
  . five-argument xrefs can refer to a whole manual, by omitting the
      section name and either omitting the node name or using "Top".
  . DEL (0x7f = 0177 = 127) is a true comment character (catcode 14 in TeX).

* texi2any is the new generic converter for Texinfo that can produce all
  supported output formats, both those from texi2dvi (PDF/DVI) and from
  makeinfo (Info/HTML/etc.).  texi2any and makeinfo are now different
  names for the same program; there are no differences in behavior based
  on the program name.

  The new implementation is in Perl, requiring Perl 5.7.3 (released in
  March 2002) and its standard Encode module.

  The Perl texi2any/makeinfo both replaces and is intended to be (for
  all practical purposes) upward-compatible with the C makeinfo.  It has
  many new features not in the C makeinfo.  For example, cross-manual
  references are now fully supported, and allows for extensive
  customization of the HTML output.  See the `Generic Translator
  texi2any' chapter in the manual (among other places) for more about
  this reimplementation.

  The new program is, unfortunately, noticeably slower at present than
  the C program was.  We hope all the many improvements make the new
  version worthwhile for users nevertheless.

* Intentional incompatibilities with the previous implementation of
  makeinfo, through version 4.13:

  . The old implementation accepted a lone block of text inside @itemize,
    @enumerate, etc., without any @item.  This is semantically
    inconsistent, leading to problems with some backends, and thus now
    produces a warning.

  . The old implementation accepted ``irregular'' sectioning trees.  Now,
    when @node pointers are implicitly determined, the consistency of
    @menu and the sectioning tree is checked.  (If node pointers are
    explicitly specified in the document, the tree can still be irregular.)

  . The old implementation always added blank lines between function
    definitions if they weren't already there.  Now blank lines are not
    added.  (Both old and new implementations preserve blank lines that
    are present.)

  . The old implementation did not consider ends of lines from expansion
    of an @macro definition to end an @-command line-delimited argument
    (@chapter, @center, etc.).  This is no longer the case.  (A detailed
    example is in the manual, node Macro Details.)

* pod2texi is a new (Perl) program that uses the capabilities of
  texi2any to translate Perl pod documentation to Texinfo.

* texinfo.tex:
  . urls (given to @uref and @url) are broken by default at special
    characters; behavior controllable with @urefbreakstyle.
  . support some per-language hyphenation, when the underlying TeX
    engine does (for instance, etex/pdfetex from TeX Live 2008 or
    later).  Words with accented letters are still not handled properly.
  . @title, text will be broken if needed, and @* can be used to override.
  . new Icelandic translation: txi-is.tex.
  . new Hungarian translation: txi-hu.tex.
  . official updates between full package releases available at
    http://ftpmirror.gnu.org/texinfo/texinfo.tex.

* texi2dvi:
  . new option --max-iterations.
  . official updates between full package releases available at
    http://ftpmirror.gnu.org/texinfo/texi2dvi.

* info:
  . INFOPATH is determined from PATH by default, or if an element "PATH"
    is specified.
  . New command Info-virtual-index, bound to I by default, following Emacs.
  . Info keywords not found by searches.
  . A lower limit on the length of search patterns, default 1,
    specified by the variable min-search-length.
  . Use ASCII versions of images, if supplied by the document.
  . xz compression supported.

* install-info:
  . xz compression supported.

* Documentation:
  . new appendix with a technical description of the Info file format.
  . information on the customizations of the HTML output now possible.

* Distribution:
  . new file htmlxref.cnf is installed to support cross-manual
    references; official updates between full package releases available
    at http://ftpmirror.gnu.org/texinfo/htmlxref.cnf.
  . language support for no removed/renamed to nb, per Norwegian translators.
  . new translations: id it,
    and document translations: eo pl.
  . texinfo.cat file removed since it is (to our knowledge) unused.
  . documentation license now GFDLv1.3 or later.
  . autoconf 2.69, automake 1.13.1, gettext 0.18.2.
2013-07-04 16:19:16 +00:00
apb
fdfb500098 In util/texi2dvi, don't try to re-exec under /bin/ksh, and improve the
test for whether "local" works.  Now ksh93 is correctly detected as
a shell that does not have a working 'local' command.

Use REPLACE_SH to edit the #!/bin/sh line in util/texi2dvi, to make
it use the value of ${SH} instead of /bin/sh.

Set PKGREVISION=1.
2013-01-13 20:44:55 +00:00
wiz
a90a07de5c Update to 4.13a.
Karl Berry:
I had missed some files in the 4.13 tarball, hence 4.13a.
2012-12-16 11:24:05 +00:00
obache
c3e77bfa32 Skip multibyte handling if neither mbsinit nor mbrtowc exists.
Patch taken from upstream bug #24687 and fixes PR#42925.
2011-02-06 13:04:04 +00:00
wiz
43d2718fad Update to 4.13, set LICENSE.
4.13 (18 September 2008)

* A reference card for Texinfo is now available, in doc/refcard.  For
  convenience, preformatted PDF's for letter-size and A4 paper are included.

* makeinfo:
  . new option --internal-links for HTML output, to write a tsv file
    mapping indexed/toc terms to links, for easy reference from external
    documents.
  . - as an input file name reads standard input.

* info:
  . support for multibyte encodings such as UTF-8.
  . new option --show-malformed-multibytes, to display malformed multibyte
  sequences.
  . new environment variable INFO_MAN_COMMAND sets the name of man binary
  (use it if you a need to override PATH settings).

* install-info:
  . bug fix: support names with embedded periods (e.g., config.status) again.

* Distribution:
  . autoconf 2.63.
2009-08-16 13:57:43 +00:00
wiz
ebefb15090 Install pdftexi2dvi and texi2pdf again. Bump PKGREVISION.
Suggest installing pdftex/pdflatex for PDF support.
Based on suggestion from Jeremy C. Reed and patch by Aleksey Cheusov.

Remove EXTRACT_SUFX, it was at its default.
2008-09-06 13:13:30 +00:00
christos
94b9dc0955 update texinfo to 4.12 2008-09-01 17:53:47 +00:00
jlam
46bddb5e8a + Include termcap.buildlink3.mk instead of curses.buildlink3.mk because
gtexinfo only needs the t*() termcap functions (info/terminal.c).

+ Drop patch-ad.  The custom termcap code it added is now automatically
  handled by termcap.buildlink3.mk.  Also the modification to the
  function signature for output_character_function is wrong -- tputs
  does expect "int (*)(int)".

Bump the PKGREVISION to 1.
2008-03-05 22:26:46 +00:00
obache
825ecc818a Update gtexinfo to 4.11.
Based on patch provided by Magnus Henoch in PR 37481.
I made some modification:
  * keep and update patch-ac (need to pick up pkgsrc info files).
  * fixes PLIST, missing some entries.
  * portability fix in texi2dvi (patch-am).
  * DESTDIR support.

Changes:
4.11 (9 September 2007)

* Language:
  . @documentlanguage now supports an optional country code
    specification after the language code, a la gettext.
  . new command @allowcodebreaks controls breaks at _ and - within @code.
  . new command @frenchspacing controls spacing after sentences.
  . new command @fonttextsize allows changing body text font size to 10pt.
  . new command @textdegree{} produces the normal degrees symbol.
  . new command @thischapternum can be used in TeX headers/footers.
  . new commands for quotes: @quotedblleft @quotedblright
     @quoteleft @quoteright  @quotedblbase @quotesinglbase
     @guillemetleft @guillemetright @guilsinglleft @guilsinglright.
  . new option @set txicodequoteundirected produces an undirected quote
    in code and example output, instead of the regular right quote.
  . new option @set txicodequotebacktick produces a grave accent in
    code and example output, instead of the regular left quote.
* makeinfo:
  . The @documentlanguage locale is used to translate various document strings.
  . --enable-encoding is now the default, meaning Info and plain text
    output use 8-bit characters given a supported @documentencoding.
  . new option --css-ref=URL for creating a stylesheet <link> in HTML output.
  . new option --transliterate-file-names to use a reduction-to-ASCII
    algorithm for split HTML file names, useful for non-Latin-based languages.
  . @enddots{} outputs three dots instead of four, for consistency with
    texinfo.tex.
  . the Local Variables coding: setting written by --enable-encoding now
    comes at the very end, after the tags table, so that Emacs can find
    it in more cases.
  . @allow-recursion (never documented) is deprecated and produces a warning.
  . @quote-args (never documented) is now the default behavior.
  . centering and such take account of character widths.
  . the --reference-limit option is now a no-op.
  . improvements to XML and Docbook output and the DTD.
* texinfo.tex:
  . @thissection can now be used in custom headings, and @thischapter
    works reliably even without @set chapternewpage.  Custom headings
    have additional flexibility as well.
* texi2dvi:
  . 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.
* info:
  . look for info files in the current directory first, by default.
  . when calling man, use -a if no explicit section is found.
  . avoid showing the top(1) man page for nonexistent info files.
* install-info:
  . new options --section-regex, --remove-exactly, --debug, --test.
* Distribution:
  . autoconf 2.60, automake 1.10, gettext 0.16.1.
  . gettext support now [external].
  . new translations: hu (Hungarian), rw (Kinyarwandan), vi (Vietnamese).
  . most common sources imported from gnulib.

4.10 (omitted)

4.9 (29 June 2007)
* 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.
* texinfo.tex:
  . Latin1, Latin2, Latin9, and UTF-8 are supported -- only as well as
    the Computer Modern fonts can manage, which means primarily English
    and western European languages, to a limited extent.
  . 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 \.
2008-01-30 08:19:24 +00:00
obache
80dc899076 remove entry for patch-al.mine (what?). 2008-01-30 07:21:33 +00:00
rillig
d31bca5c45 Corrected my last change. The original patch for CVE-2006-4810 was
correct, only the pkgsrc version somehow managed to get wrong.

PKGREVISION++
2007-01-08 08:50:51 +00:00
rillig
ad7f4f498b Fixed the "fix" for CVE-2006-4810, since it introduced these compiler
warnings.

===> GCC
texindex.c: In function `readline':
texindex.c:848: warning: assignment makes pointer from integer without a cast

===> MIPSpro
cc-1515 cc: ERROR File = texindex.c, Line = 848
  A value of type "long" cannot be assigned to an entity of type "char *".

            end = buffer - linebuffer->buffer;


Well, if the compilers were more intelligent, they could have seen that
(buffer == linebuffer->buffer) was an invariant and that the resulting
difference was therefore always zero, and zero can be converted into any
pointer type. ;)
2007-01-08 08:21:47 +00:00
adrianp
4b98bdd4e0 Fix for CVE-2006-4810 and bump to nb6 2006-11-18 15:49:02 +00:00
joerg
9160ed7f15 Regen ptach-al sum. 2006-02-11 19:47:13 +00:00
joerg
d43de27018 Improve the security fix. maketempname is called from two contextes:
(a) to generate a new tempory file name -> O_EXCL logic applies here
(b) to regenerate the name of an older temporary file for removal
  -> don't create or even open the file here, just remove it.

Discussed with salo@.
2006-02-11 01:04:19 +00:00
salo
0f8922cc21 Security fix for CAN-2005-3011:
"texindex in texinfo 4.8 and earlier allows local users to overwrite arbitrary
files via a symlink attack on temporary files."

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-3011

Patch from Ubuntu.
2005-10-10 15:14:49 +00:00
wiz
dd0ec5a9fc Update to 4.8:
4.8 (31 December 2004)
* Language:
  . new command @euro for the Euro currency symbol, and
    @documentencoding has some support for ISO-8859-15.
  . new command @abbr for general abbreviations.
  . new command @slanted to typeset text in a slanted font,
    and @sansserif to typeset in a sans serif font.
* makeinfo:
  . An empty first argument to cross-reference commands, such as @xref,
    causes an error.  This change was made in 4.1, but not mentioned in NEWS.
  . HTML output:
    - <a name="..."> constructs are added for the old-style
      conversion of node names to HTML names, so that external references
      to them can continue to work.
    - "g_t" prefixed to targets for node names beginning with a
      nonletter, for XHTML compatibility.
  . Docbook output: recognize more image formats.
* texi2dvi:
  . new option --recode, to call recode for input character translation.
* Distribution:
  . new convenience script texi2pdf, equivalent to texi2dvi --pdf (from tetex).
  [not installed by package to avoid conflicting with teTeX-bin]
  . some cross-compiling support in configure && make.
  . new configure option --disable-install-warnings, for TeX.
    distributions which do have the files installed.
  . automake 1.9.4.
2005-02-28 13:06:46 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
wiz
507cc4ed8a Actually, let's only use one of the dependency files, as intended. 2004-07-12 23:10:50 +00:00
wiz
82805edbf6 Add patch so this does not depend on GNU make. 2004-07-12 21:28:28 +00:00
wiz
a2928324f8 Update to 4.7:
4.7 (9 April 2004)
* Language:
  . new commands @float, @caption, @shortcaption, @listoffloats for
    initial implementation of floating material (figures, tables, etc).
    Ironically, they do not yet actually float anywhere.
  . new commands @docbook, @ifdocbook, @ifnotdocbook for conditional Docbook.
  . new commands @ordf{} and @ordm{} for Spanish feminine/masculine ordinals.
  . new commands @deftypecv[x] for class variables in typed OO languages.
  . new command @registeredsymbol for the r-in-a-circle symbol.
  . new command @headitem to make a heading row in @multitable.
  . new command @LaTeX{} for the LaTeX logo.
  . new command @comma{} to avoid comma-parsing problems.
  . @url is now a synonym for @uref; new command @indicateurl has the
    old meaning of just displaying a url as text.
  . @quotation now accepts an optional argument for labelling the text
      as a `Note', `Tip', etc.
  . @defun (et al.) heading lines can now be continued with a lone @.
  . @acronym accepts an optional argument for the meaning of the acronym.
* makeinfo:
  . New environment variable TEXINFO_OUTPUT_FORMAT determines the output
    format at runtime, if no options are specified.
  . New option --plaintext, equivalent to --no-headers with Info output.
  . All outputs:
    - sections are numbered by default.
  . Info output:
    - punctuation is inserted after @pxref and @ref, if needed to make
      cross-references valid.
    - line numbers included in index menus, so Info readers can go to
      the exact line of an entry, not just a node.  Also in plaintext output.
    - ^@^H[index^@^H] cookie included in index menus, so Info readers
      can handle the ] etc. commands better.
  . HTML output:
    - new algorithm for cross-references to other manuals, for maximum
      portability and stability.
    - include node name in <title> with split output.
    - @multicolumn fractions become percentages.
    - entities used for bullets, quotes, dashes, and others.
    - index entries are links to the exact locations.
    - <h4> and <h5> used for @sub and @subsubsections again.
    - accented dotless i supported.
  . XML output: many new tags and structure to preserve more source features.
  . Docbook output:
    - upgraded DTD to Docbook XML 4.2, no longer using Docbook SGML.
    - improved translation in general, for instance:
    - line annotations and marked quotations.
* texi2dvi:
  . if available, use etex (pdfetex if --pdf) by default.
  . if the input file includes thumbpdf.sty (for LaTeX), then run thumbpdf.
  . more output if --debug.
* texinfo.tex:
  . @defun names are now printed in typewriter (instead of bold), and
    within the arguments, @var text is printed in slanted typewriter.
  . @tex code is executed inside a TeX group, so that any changes must
    be prefixed with \global (or the equivalent) to be effective.  (This
    change was actually made years ago, but never made it into the NEWS.)
* info:
  . new option --where (aka --location, -w) to report where an Info file
    would be found, instead of reading it.
  . by default, output ANSI terminal escape sequences as-is; new option
    --no-raw-escapes overrides this.
  . use the newly-generated index line numbers.
* Distribution:
  . new script gendocs.sh (not installed), for use by GNU maintainers in
    getting their manuals on the GNU web site.  Documented in
    maintain.texi (http://www.gnu.org/prep/maintain_toc.html).
  . Most code uses ANSI C prototypes, to some extent.
  . New translation: nb.
  . automake 1.8.3, autoconf 2.59, gettext 0.14.1.
2004-07-04 23:17:59 +00:00
jlam
f209ef21b0 Insert the pkgsrc-specific component of the INFOPATH in a more
maintainable way.
2004-04-02 02:01:34 +00:00
grant
88a03252d9 force the configure script to look for ncurses *last* when looking
for a terminal library.

[in an ideal world, ncurses wouldn't even be listed, but according
to the comments in configure.ac, some Linux distributions don't have
libcurses, only libncurses, so it should stay.]

fixes a problem when building with an external gcc, since gcc, when
installed into /prefix, unconditionally searches /prefix/lib for
libraries at link time causing it to find libncurses in /prefix/lib
(the normal gcc ugliness). this leads to the runtime linker being
unable to find libncurses.

noted by gavan@, fix tested by gavan@ and myself.
2003-07-09 13:11:01 +00:00
grant
6ead58eb6f revert last, we now pass --split-size to makeinfo >= 4.6.
unbump PKGREVISION.
2003-07-02 16:09:58 +00:00
grant
859f61b13f makeinfo: split info files at 50000 (as per texinfo 4.5 and below)
to maintain conistency of the generated files as currently required
by pkgsrc.

bump PKGREVISION.

(perhaps info files will be automatically added to the PLIST in the
future?)
2003-07-02 05:27:04 +00:00
wiz
4e32d09c92 Update to 4.6:
4.6 (10 June 2003)
* Language:
  . new command @/ specifies an allowable breakpoint within a line.
  . new command @dofirstparagraphindent to control whether the first
    paragraph following a section heading is indented.  Default is to
    omit this indentation, unlike the output up to now.
  . new command @indent for explicitly indenting a paragraph.
  . makeinfo writes a new construct for @image in Info output, so that
    graphical Info browsers (such as Emacs Info under X) can display an
    actual image.  (Standalone Info ignores this, since it runs in a tty.)
* makeinfo:
  . Common:
    - search for image files in the include file search path.
    - warns if @value is used on an undefined variable.
  . Info output:
    - default --split-size now 300,000 bytes, up from 50,000.
    - with --enable-encoding and a given @documentencoding,
      output a Local Variables section specifying that encoding, for use
      with Emacs.
  . HTML output:
    - uses <h3> at the smallest.
    - a few css <style> definitions are included to better
      implement @format, @display, @small..., etc.
    - new option --css-include=FILE includes FILE in the <style>.
    - @cartouche now outputs a <table> with a border.
* texinfo.tex:
  . new Polish translation txi-pl.tex.
* texi2dvi:
  . --command=CMD replaces --texinfo=CMD; it inserts CMD at the first
    line of LaTeX files now, or after the @setfilename for Texinfo files.
* info:
  . RET now goes to the nearest xref (rather like Emacs Info),
    instead of the next xref starting on the current line.
* Distribution:
  . new Romanian (ro) translation.
  . variables now declared const where appropriate.
  . gettext 0.12.1, automake 1.7.5.
2003-06-12 13:39:27 +00:00
wiz
9937bc344d Update to 4.5. Changes:
4.5 (4 February 2003)
* info:
  . a bug in 4.4 prevented compressed info files from being found.
* Distribution:
  . detect sys/ptem.h on Solaris.

4.4 (31 January 2003)
* Language:
  . The ' (ASCII apostrophe/right quote) character is finally allowed in
    node and anchor names.  Thus, after installing this texinfo.tex,
    existing .aux files will cause errors!  Remove them and rerun TeX to
    generate good ones.
  . @value constructs are now expanded in the filename arguments to
    @include and @verbatiminclude.
* makeinfo:
  . bug fix: @copying text is now reflected in tag table positions;
    before, nodes may not have been found with a long-enough @copying.
  . bug fix: html @verb arg is quoted properly, and does not imply
    a paragraph break.
* texinfo.tex:
  . @smallexample and the like now output in a smaller font (9pt) in all
    paper formats, not just @smallbook and @afourpaper.
  . new translation txi-tr.tex.
  . bug fix: <>| and other characters do not disappear when they are
    first on a line in @verbatim.
* install-info:
  . bug fix: don't translate the `* Menu' info keyword.
* info:
  . CTRL-H is treated like DEL in incremental search.
  . arrow keys once again work in isearch contexts under Solaris.
* infokey:
  . use .info key bindings before defaults.
  . allow prefix keys to be disabled.
* Distribution:
  . update to GNU FDL 1.2 (http://www.gnu.org/licenses/fdl.html).
  . getopt and other common library files updated from gnulib
    (http://savannah.gnu.org/projects/gnulib/).
  . autoconf 2.57, automake 1.7.2.
2003-02-13 08:28:20 +00:00
wiz
d250f80f82 Use .tar.bz2 (1.28 instead of 1.8 million bytes). 2003-01-17 00:51:22 +00:00
grant
918186f50a USE_PKGLOCALEDIR. 2002-11-30 13:45:17 +00:00
seb
445ef20117 Update to version 4.3.
Package changes: fix PKGLOCALEDIR botch reported by various people. Many
thanks to Lubomir Sedlacik <salo at Xtrmntr dot org> for the patches in
PR 18616!

Changes in version 4.3:
4.3 (14 November 2002)
* Language:
  . new command @tie{} to do a real tie (unbreakable interword space).
* makeinfo:
  . html output for @defun and friends now has font changes.
  . html output has some class attributes.
* texinfo.tex:
  . new Italian translations, txi-it.tex.
  . pdf bookmarks for unnumbered sections work.
  . type name for @defun and friends no longer extends into margin.
* info:
  . automatic-footnotes now off by default, for emacs compatibility.
  . crash when MALLOC_CHECK_=2 fixed.
* install-info:
  . new option --infodir synonym for --info-dir, for compatibility with
    the Debian install-info.
  . support for bzip2-compressed files.
* texindex:
  . omit initial if the entire index is under one characters.
* Distribution:
 . development sources now available under CVS, see
   http://savannah.gnu.org/projects/texinfo/
 . Turkish message translation.
 . gettext 0.11.5, autoconf 2.54, automake 1.7.1.
2002-11-17 01:17:30 +00:00
seb
891f44abe5 Update to version 4.2: lots of new features, see below.
buildlink1 -> buildlink2.

Changes:

*** IMPORTANT NEWS FOR ALL AUTHORS OF TEXINFO MANUALS ***

As of version 4.2, Texinfo has a new command @copying to define the
copyright and copying permissions for a manual.  It's important to
switch to using it as soon as possible (as in your next release),
because the historical method of doing copyright permissions using
@ifinfo failed to output copyright information in the HTML (or XML)
formats.  The manual has detailed explanations and examples.  For
convenience, here's a url to one of the relevant sections:
  http://texinfo.org/manual/Document-Permissions.html

4.2 (1 April 2002)
* Language:
  . new command @copying to define copying permissions.  See above.
  . new conditionals @ifplaintext, @ifnotplaintext for the plain text
    (--no-headers) output format.
  . new command @\ to produce literal \ inside @math, since \ by itself
    no longer works.
* makeinfo:
  . emit accesskey attributes for keyboard shortcuts to menu items.
  . @{even,every,odd}{footing,header} are ignored by makeinfo now, so
    they no longer need to be enclosed in @iftex.
* texinfo.tex:
  . bug fix for pdf-format table of contents.
* info:
  . bug fixes for -R (--raw-escapes).
  . --help shows short option names.
* Distribution:
  . the doc.c, funs.h, and key.c files in info/ are no longer generated
    at make time, to appease Automake's make distcheck.
  . gettext 0.11.1, autoconf 2.53, automake 1.6 (with install-info kludge).

4.1 (4 March 2002)
* Language:
  . new commands @verbatim and @verb for printing verbatim inserts.
  . new command @verbatiminclude for verbatim include of files.
  . new environment @documentdescription for defining the HTML description.
  . new command @afivepaper for the A5 paper size.
* makeinfo:
  . supports xml and docbook output.
  . supports HTML splitting by node, which is now the default.
  . new option --split-size to control maximum size of split info files.
* info:
  . user-specified key bindings supported.
  . ANSI escape sequences (as produced by groff) removed from man output
    by default; use --raw-escapes to let them through if your terminal
    supports them.
* texinfo.tex:
  . @math implies @tex, so all the usual plain TeX math is supported.
  . smaller fonts for @smallexample, in all page sizes.
  . improvements in the PDF support.
* texi2dvi:
  . new option -o to explicitly specify output filename.
* Distribution:
  . switch to GNU Free Documentation License (http://www.gnu.org/copyleft/).
  . update to GNU gettext 0.11, autoconf 2.52, and automake 1.5.
  . Danish, Swedish, and Hebrew message translations.
2002-10-03 02:06:31 +00:00
rh
cceb2be7a9 Make sure proper prototypes are used for xmalloc() and the like so the
package actually works on PPC and other architectures where this matters.
Bump PKGREVISION.
This closes PR pkg/17377 by Andrew Cagney <cagney@mac.com>
2002-08-10 23:22:02 +00:00
tron
7df62e5f68 Make sure that locale files are installed into the correct directory
under Solaris.
2002-01-05 18:42:55 +00:00