Commit graph

105 commits

Author SHA1 Message Date
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
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
reed
b55d6be4b0 Use INFO_DIR in the info documentation search path. This is needed
if using a custom INFO_DIR so info command can find docs.
2004-05-08 02:50:03 +00:00
jlam
10f3c409e8 If TEXINFO_LOCALE is set to "no", then don't build devel/gtexinfo with
NLS support.  This simplifies bootstrapping pkgsrc using a pkgsrc compiler
on a clean system.
2004-04-24 19:47:44 +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
seb
228df12b4b Remove info files entries from PLIST. 2004-02-15 22:27:49 +00:00
jlam
19e040b6dc CONFIG_STATUS_OVERRIDE is the default in bsd.pkg.mk, so no need for these
definitions here.
2004-02-14 13:55:19 +00:00
seb
d9d8a581de Make pathnames listed in CONFIG_STATUS_OVERRIDE relative to WRKSRC. 2004-02-12 08:55:33 +00:00
jlam
e88d1114d2 This package builds just fine without needing GNU gettext-lib. Bump
PKGREVISION as a result of this change.
2004-02-11 00:47:20 +00:00
jlam
f5956437af bl3ify 2004-01-19 15:49:24 +00:00
jlam
abe309af93 Back out previous workaround and fix the problem the right way by
overriding the config.status script to prevent clobbering the GNU
configure-generated files.
2004-01-19 15:05:44 +00:00
grant
9bf440e874 add a workaround to override the termcap.h test on Solaris. somehow,
configure picks up termcap.h from devel/ncurses, and later tries to
use it and fails.

allows this package to be built while devel/ncurses is installed.
2004-01-13 09:49:26 +00:00
seb
8d15907ec2 USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:38:23 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +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
seb
15f2cb08ea Convert to USE_NEW_TEXINFO.
Please note local override of INSTALL_INFO.
2003-06-23 11:07:57 +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
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jlam
e25d601896 These packages have been converted to use buildlink2, so they no longer
need to use the automake-override target in bsd.pkg.mk; the hide-autotools
target in bsd.buildlink2.mk accomplishes the same thing.
2003-02-18 17:43:05 +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