Commit graph

128 commits

Author SHA1 Message Date
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
ryoon
0c84318f92 Update comment for PR pkg/48075. 2014-07-17 12:56:23 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +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
e4d3442875 revert part that was only used during testing. 2013-07-04 16:19:41 +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
rodent
b65af7be2b Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +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
seanb
c67b49d3cf Don't use REPLACE_BASH in util/texi2dvi script. /bin/sh seems fine
in my testing.  Adding dependency on bash in gtexinfo causes a circular
dependency on hosts without makeinfo since bash requires makeinfo and
makeinfo gets replaced with gtexinfo.
2013-01-11 14:57:26 +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
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
jperkin
28718ded3e USE_TOOLS+=bash, required for REPLACE_BASH. texi2dvi was being created
with an empty hashbang.
2012-09-18 18:30:58 +00:00
fhajny
84549cbc5b Fix the interpretter of texi2dvi, it is a true Bash script. 2012-03-09 14:28:19 +00:00
minskim
a3618ccf9b Update package names for pdftex/pdflatex. 2012-03-07 04:00:04 +00:00
hans
ef8a04b943 Use options framework for nls support. 2011-11-26 23:56:45 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +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
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +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
tnn
9a01643e92 Don't use a macro named __(), because __ has internal use in OSF1 system
headers. Supposedly fixed already in upstream CVS.
This closes PR pkg/38400 from Hans Rosenfeld.
2008-05-21 12:30:16 +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
tnn
8ca4862424 Uses curses, so include the curses bl3.mk. 2007-06-30 14:24:14 +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
rillig
99565af646 Added missing closing brace. Bumped PKGREVISION. 2006-05-23 11:09:04 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
jlam
f7b1a25702 Use PKGINFODIR to refer to the installation directory for info files.
Modify the default INFOPATH to use ${PKGINFODIR} consistently.  List
the info files in the PLIST.  Bump the PKGREVISON to 4.
2006-03-20 04:23:37 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
9160ed7f15 Regen ptach-al sum. 2006-02-11 19:47:13 +00:00
joerg
724d15b43b Cleanup code from patch-al didn't work before, bump revision. 2006-02-11 01:07:54 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
reed
239f9a2976 Add sysutils to CATEGORIES.
And change COMMENT to "GNU info documentation utilities".
2005-12-27 18:14:47 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +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
reed
8fbcbe80a3 Slight description improvement: this can "view" and also is for
"documentation".

(I would also like to see this moved to sysutils category
or sysutils added to CATEGORIES and also change COMMENT to
"GNU info documentation utilities".)
2005-02-10 02:07:02 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +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
ec1d0d1041 Unneeded after update to 4.7. 2004-07-04 23:41:00 +00:00