head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.52 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.50 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.48 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.46 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.44 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.42 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.40 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.38 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.36 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.34 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.32 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.30 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.28 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.26 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.24 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.22 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.20 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.18 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.16 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.14 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.12 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.10 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.8 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.6 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.2 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.4 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.6.0.20 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.18 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.16 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.14 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.12 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.10 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.8 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.6 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.4 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.5.0.16 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.14 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.12 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.10 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.8 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.6 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.4 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.2 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.4.0.8 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.6 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.4 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.2 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.3.0.2 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.2.0.6 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.4 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.2 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.1.0.4 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.2 pkgsrc-2013Q1-base:1.1; locks; strict; comment @# @; 1.7 date 2019.10.08.14.30.09; author ryoon; state Exp; branches; next 1.6; commitid MijxB41KDHmwx4GB; 1.6 date 2017.07.12.11.04.59; author wiz; state Exp; branches; next 1.5; commitid aqxG2ToOJAVmHVYz; 1.5 date 2015.06.30.11.00.33; author ryoon; state Exp; branches; next 1.4; commitid ExBLs619Ylgxyrry; 1.4 date 2014.07.17.12.56.23; author ryoon; state Exp; branches; next 1.3; commitid JGTklNS4afTMnJIx; 1.3 date 2014.04.15.05.27.00; author richard; state Exp; branches; next 1.2; commitid 6g8ozdKfsTRYRJwx; 1.2 date 2013.07.04.16.19.16; author wiz; state Exp; branches; next 1.1; commitid mvcaco7kw9BsEaWw; 1.1 date 2013.01.13.20.44.55; author apb; state Exp; branches; next ; desc @@ 1.7 log @Update to 6.7 Changelog: 6.7 (23 September 2019) * Language: . support of index subentries and sub-subentries with @@subentry . new commands @@seeentry and @@seealso in index entries . no need to wrap Top node in @@ifnottex - omitted automatically when processed with TeX . UTF-8 is the default input encoding * texi2any . for HTML output, mark index nodes in menus and tables of contents with the 'rel' attribute of the 'a' tag. . TOP_NODE_UP is now only used in HTML if TOP_NODE_UP_URL is set. Also TOP_NODE_UP should now be formatted in the output format. In HTML TOP_NODE_UP should be suitable for inclusion in HTML element attributes, so for instance should not contain elements. . support of noderename.cnf files has been removed . INPUT_PERL_ENCODING, INPUT_ENCODING_NAME, NODE_FILE_EXTENSION, NODE_FILENAMES, SHORTEXTN and TOP_NODE_FILE removed as customization variables. . TOP_NODE_FILE_TARGET now contains the extension. . error messages translated when the XS parser module is in use * texi2dvi . unconditionally run in --batch mode, i.e. without stopping if there is a TeX error . keep on going after a TeX error if the index files changed . with --tidy (or --build-dir), avoid reading index files from previous runs where --tidy was not used * info . for a tree search (with M-/), '}' and '{' work as well as 'M-}' and 'M-{' to go through the results * Distribution: . Several obsolete portability checks removed . gettext 0.20.1, automake 1.16.1 6.6 (16 February 2019) * Language: . new commands @@&, @@ampchar{} . @@cropmarks command removed . @@ctrl is no longer recognised (it was a way to insert literal control characters in Info files, but deprecated since the time of Texinfo version 2) . \usebracesinindexestrue is no longer recommended for using braces in index entries, and has been a no-op for some time * texi2any . extension modules fixed to work with the "thread-safe locales" of Perl 5.28 and newer . some code changed to stop warnings being given by newer versions of Perl . for HTML output, use `id' to define link targets instead of the `name' attribute on . A native-code implementation of the Texinfo parser has been included on an experimental basis, which makes texi2any a lot faster. Set the `TEXINFO_XS_PARSER' environment variable to 1 to use. . changes to HTML output: . omit colon after node name in menus by default (use `MENU_ENTRY_COLON' to add it back) . no special CSS for commands like @@smallexample . new customization variable `SECTION_NAME_IN_TITLE' to use the section name as the document . use section names instead of node names in generated menus . pass on flags set with -D to TeX . useless static libraries are not installed . the newline after an @@insertcopying is not output . warning given for @@multitable prototypes not in braces . @@indent and @@noindent are not allowed inside the arguments to commands where they are not meaningful . @@quote-arg and @@allow-recursion are not recognised (these two used to be recognised by makeinfo in macro definitions but were never implemented in texinfo.tex) . `FIX_TEXINFO' removed as a customization variable . do not recognise or warn about obsolete customization variables * info . debugging output with -x is not diverted to a separate infodebug file * Development: . switch from Subversion to git - https://savannah.gnu.org/git/?group=texinfo . automake 1.16 @ text @$NetBSD: patch-util_texi2dvi,v 1.6 2017/07/12 11:04:59 wiz Exp $ As indicated in pkg/48075, 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. --- util/texi2dvi.orig 2019-09-23 18:28:10.000000000 +0000 +++ util/texi2dvi @@@@ -22,10 +22,10 @@@@ # If possible, please send a copy of the output of the script called with # the `--debug' option when making a bug report. -test -f /bin/ksh && test -z "$RUNNING_KSH" \ - && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ - && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@@"}; } -unset RUNNING_KSH +#test -f /bin/ksh && test -z "$RUNNING_KSH" \ +# && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ +# && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@@"}; } +#unset RUNNING_KSH # No failure shall remain unpunished. set -e @ 1.6 log @Honor LDFLAGS. Fixes RELRO build. @ text @d1 1 a1 1 $NetBSD: patch-util_texi2dvi,v 1.5 2015/06/30 11:00:33 ryoon Exp $ d7 1 a7 1 --- util/texi2dvi.orig 2016-09-10 19:25:16.000000000 +0000 d9 3 a11 1 @@@@ -27,6 +27,6 @@@@ d22 2 @ 1.5 log @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. @ text @d1 1 a1 1 $NetBSD: patch-util_texi2dvi,v 1.4 2014/07/17 12:56:23 ryoon Exp $ d7 1 a7 1 --- util/texi2dvi.orig 2015-06-26 12:49:37.000000000 +0000 d9 1 a9 3 @@@@ -25,10 +25,10 @@@@ # If possible, please send a copy of the output of the script called with # the `--debug' option when making a bug report. a19 2 # No failure shall remain unpunished. set -e @ 1.4 log @Update comment for PR pkg/48075. @ text @d1 1 a1 1 $NetBSD: patch-util_texi2dvi,v 1.3 2014/04/15 05:27:00 richard Exp $ d7 1 a7 3 Second part: fix PR pkg/48075. This should work with pdksh. --- util/texi2dvi.orig 2013-09-26 23:04:02.000000000 +0000 a23 9 @@@@ -1103,7 +1103,7 @@@@ run_bibtex () # bibtex would never be run. if test -r "$in_noext.aux" \ && test -r "$in_noext.log" \ - && ((grep 'Warning:.*Citation.*undefined' "$in_noext.log" \ + && ( (grep 'Warning:.*Citation.*undefined' "$in_noext.log" \ || grep '.*Undefined citation' "$in_noext.log" \ || grep 'No file .*\.bbl\.' "$in_noext.log") \ || (grep 'No \.aux file' "$in_noext.log" \ @ 1.3 log @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. @ text @d1 2 a2 1 $NetBSD: patch-util_texi2dvi,v 1.2 2013/07/04 16:19:16 wiz Exp $ d6 2 @ 1.2 log @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. @ text @d1 6 a6 3 $NetBSD: patch-util_texi2dvi,v 1.1 2013/01/13 20:44:55 apb Exp $ --- util/texi2dvi.orig 2013-03-12 22:56:34.000000000 +0000 d23 9 @ 1.1 log @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. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- util/texi2dvi.orig 2008-09-18 18:46:01.000000000 +0000 d5 1 a5 1 @@@@ -24,10 +24,10 @@@@ a19 9 @@@@ -127,7 +127,7 @@@@ test -n "$TEX" && test -d "$TEX" && unse test_local () { local foo=foo } - test_local + test_local 2>/dev/null || exit 1 test $foo = bar ) || local () { case $1 in @