pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/texi2html Update to 1.76:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/341a27367ad6
branches:  trunk
changeset: 488716:341a27367ad6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 07 13:30:11 2005 +0000

description:
Update to 1.76:

1.76 (February  3 2005)

* BUG FIXES
  ---------

* Perl no longer needs to be installed at build time, but when it is not, the
  path to `perl' that will be used at run time must be passed to the
  `configure' script.

1.74 (January 31 2005)

* COMPATIBILITY
  -------------

* The argument on def like commands line (@deffn and friends) may be
  bracketed, therefore there is no difference between this element and
  others. There is no need of items with { in front in the %def_map
  anymore.

* NEW FEATURES
  ------------

* More @-commands are available to the user, that were ignored before.
  Most of these @-commands are those related with structure or printed
  output.

* BUG FIXES
  ---------

* many deffn and friends line parsing bugs fixed.

1.72 (December 29 2004)

* NEW FEATURES
  ------------

* Handle texinfo 4.7 constructs:
  @caption, @shortcaption, @ordf, @ordm, @registeredsymbol, @deftypecv,
  @LaTeX, @indicateurl, @docbook, @ifdocbook, @ifnotdocbook, @comma,
  @headitem, @quotation second arg, @acronym second arg.
  @url is now a synonym for @uref. @ at the end of a @def* line continues the
  line.
  Handle texinfo 4.8 constructs:
  @abbr, @slanted, @euro and @sansserif.
* Cross refs are done according to the specification presented in the texinfo
  manual in the node HTML Xref.

* BUG FIXES
  ---------

* Re enable compatibility with perl older that 5.6.

1.70 (March 24 2004)

* BUG FIXES
  ---------

* use i18n files even when translations.pl is not included. Include
  translations.pl.

* COMPATIBILITY
  -------------

* install html manual in $datadir/texinfo/html.

[changed in pkgsrc to $datadir/doc/texi2html]

* NEW FEATURES
  ------------

* Add a spec file, usefull to build a rpm.

* FOR DEVELOPERS
  --------------

* Standardized on Autoconf 2.59 & Automake 1.8.3

1.68 (March 20 2004)

* COMPATIBILITY
  -------------

* When the manual is split the default is to put resulting files in a
  directory with name the manual file basename (previously they were left in
  the current directory). To avoid that, call texi2html with '-output .'.

*  The main configuration files are now ./Config, ~/.texi2html/Config,
  $sysconfdir/texi2html/Config and last $datadir/texi2html/Config. They are
  sourced in that order.
  In the future `/etc/texi2htmlrc' and `~/.texi2htmlrc' will no longer be
  sourced and any existing site or user configuration should be moved to the
  new locations if you wish it to be used by newer versions of Texi2HTML.

* Translation files are now stored in $datadir/texi2html/i18n/*,
  $sysconfdir/texi2html/i18n/*, ~/.texi2html/i18n/*, and sourced in that order.
  The translated strings are now associated with the english strings.
  Please see the documentation for the format of the new translation files.

* First index page is the first page with a non empty index (with @printindex).

* The glossary and bibliography terms aren't searched anymore. You should use
  @macro to simulate these features (look at Tests/macros/glossary.texi for
  an example).

* We've standardized on GNU-style `--' prefixed long options, rather than the
  old single-dash prefixed long options in the help, but the single-dash style
  is still accepted on the command line for the time being.
  We also changed `_' to `-' in option names.

* @setref handling is removed as the right corresponding @-command is @anchor.

* No more global variables outside of namespaces.
  Global variables are now in the Texi2HTML namespace.
  leading T2H_ is stripped from variable, hashes and array names. You should
  change your variable names for the new release. As the global variables
  (%THISDOC, $THIS_SECTION...) are in the Texi2HTML namespace you should use,
  for example, $Texi2HTML::THISDOC{'fulltitle'} now.
  functions from the main program should now be qualified in the main
  namespace. t2h_ is stripped from the function names too.
  t2h_anchor is now a function reference in init file, and thus should
  be called like &$anchor(...).
  toc file and main file are arguments for print_frame, overview lines are
  arguments for print_toc_frame (instead of global variables).

* $THISPROG, $T2H_HOMEPAGE, $T2H_AUTHORS, $T2H_TODAY, $T2H_USER are now
  values associated with the following keys in %Texi2HTML::THISDOC:
  `program', `program_homepage', `today', `user'.

* Changes in the function reference used for the page layout:
  print_section don't do the end of page or section anymore (except when
  split at node), end_section does the end of a section, and print_*_footer
  does the end of page.
  the print_*_header, print_*_footer... functions take a ref on the buttons
  array as argument, instead of using the $T2H_BUTTONS global variable.
  Have a look at the texi2html.init file to update your configuration files.

* T2H_InitGlobals is not used anymore. Use the function reference init_out
  to define $BODYTEXT dynamically and %Texi2HTML::THISDOC values in
  print_page_foot and about_body to recreate the address instead of the
  $T2H_ADDRESS.
  You can have a look at program_string in texi2html.init which recreates
  the address. $T2H_ADDRESS isn't used anymore.

* variables for latex2html are not in texi2html init file anymore but in
  l2h.init.

* don't expand @ifinfo regions by default.

* option --output obsoletes -out_file and -subdir. It is the same than
  --out_file when output is not split, and the same than --subdir when it is
  split.

* If not split, the resulting file has a leading directory, and the directory
  doesn't exist, it is created.

* If a directory creation fails the program aborts.

* Don't use T2H_CENTER_IMAGE, @center should be used.

* the init_out function redefines dynamically %NAVIGATION_TEXT, %BUTTONS_GOTO
  and $BODYTEXT. You should redefine the hash values in that function. If you
  want to reuse the values of the default values set by init_out,
  you could do something like:

  my $default_init_out = $init_out;
  $init_out = \&makeinfo_like_init_out;
  sub makeinfo_like_init_out()
  {
     my $encoding = &$default_init_out();
     $NAVIGATION_TEXT{'Following'} = ' &gt; ';
     return $encoding;
  }

* NEW FEATURES
  ------------

* Many changes towards output of stricter HTML.

* initialization files for html 3.2, xhtml, html 4.0 with inline style,
  no header, utf8 characters outputted, makeinfo style, book style, conversion
  to chm files and conversion to roff. Initialization files are searched
  in ./, ~/.texi2html, $sysconfdir/texi2html and last $datadir/texi2html.
  The file names are html32.init, xhtml.init, inlinestyle.init,
  noheaders.init, utf8.init, makeinfo.init, book.init, chm.init and roff.init.

* The test suite is much more comprehensive and uses validate and tidy to
  assess the correctness of the HTML.

* Handling of @html, @verbatim, @verb, @sp, @=, @copying, @insertcopying,
  @cartouche, @titlefont, @dircategory, @direntry, @shorttitlepage, @\,
  @afourlatex, @afourwide, @firstparagraphindent, @exampleindent, @novalidate,
  @definfoenclose, @kbdinputstyle, @centerchap, @documentdescription,
  @documentencoding, @contents, @shortcontents, @verbatiminclude.

* With --no-validate node cross-reference validation is suppressed (like
  @novalidate).

* --expand may be specified more than once such that more than one additional
  region could be expanded. --noexpand does the reverse. --iftex, --ifinfo...
  and --no-ifinfo... can be used instead.

* add http-equiv="Content-Type" tag for the charset declaration.

* HTML formatting is isolated in customizable functions located in the
  initialization files.

* menu comments are in a preformatted context.

* Any combination of caps for `top' leads to the top node.

* @ref{(perl)Top} leads to a ref to the info manual.

* References to external manual in @ref and menus are links to the html
  pages (with the same convention than makeinfo --html use).
  --html-xref-prefix is the base dir for external manual references.

* With --node-files do a file per node which can be used as a target for
  cross references from other manuals (including manuals generated with
  makeinfo --html).

* With --use-nodes nodes are sectionning commands whe they are not associated
  with a structuring command.

* With --toc-links create links from headings to toc entries.

* distinct directions (next, prev...) for nodes and sections, more directions.

* split at chapter, section or for every node.

* new possibilities for buttons. If this is a ref to a scalar, the text
  appears in navigation. If it is an array, the first element is a direction
  used for the href, the second element is a scalar ref for the text.

* With --noseparated-footnotes the footnotes are in the same page than the
  text.

* %NO_TEXI hash similar with %HREF but without texinfo commands,
  %THISDOC{'title_no_texi'}

* "-U value" does the same than "@clear value".

* -P option prepends directory for include files before the document directory.

* -macro-expand generates a file with expanded macros and @include.

* pass $L2H_HTML_VERSION for the html version to latex2html.

* support for css. The --css-include option does the same than in makeinfo
  (parse the file, and echo the @import part before the texi2html css rules,
  the rules part after the texi2html css rules).
  The texi2html css commands may be customized too.

* Text before the first @node or sectionning command is part of the first
  section unless -ignore-preamble-text is set.

* if `-' is given to the -output option, output on STDOUT.

* Add images from the Singular project.

* All the strings appearing in the HTML are internationalized.

* centering and flushing is really handled.

* Format titlepage (even though the formatted text isn't used by default).

* Handle all the encodings perl knows about.

* BUG FIXES
  ---------

* @multitable size determination, out of bounds columns ignored.

* In @table and @itemize, @item is replaced by the @-command argument.

* nested @-commands are better handled.

* in index keys @-commands are replaced by the right symbols.

* files are omitted in hrefs when they points to the same file.

* $value{_title}... are expanded during HTML generation.

* @H{a} leads to a'' and not &aacute;

* cedilla are accepted in node names.

* Any characters are accepted in menu comments.

* frame target is the top file, and not the toc file.

* rewriting of the @macro code completely. This likely fixed some bugs but
  this hasn't been verified by running the new, more complex test cases
  against the old code.

* rewriting of the document structure resolution.
  unnumbered regions are at the right level and splitted indices don't break
  the document structure anymore.
  index entries and footnotes are more precisely located.

* @-commands ignored are ignored with the line, the arg or following spaces
  like makeinfo does.

* FOR DEVELOPERS
  --------------

* Standardized on Autoconf 2.59 & Automake 1.8.2

* The --enable-maintainer-mode option is now required by configure to enable
  what is considered the maintainer-specific portions of Makefiles.  This
  includes the portions which automatically rebuild the configure and build
  files (configure, aclocal, Makefile.in, etc) when configure.in or other
  dependencies are changed.

* The config is in the Texi2HTML::Config namespace. The latex2html related
  functions are in the Texi2HTML::LaTeX2HTML namespace. The
  internationalization functions are in the Texi2HTML::I18n namespace in
  T2h_i18n.pm.

1.66 (June 8 2002)
* Many bug fixes.

1.65 (August 26 2001)
* Many bug fixes.
* The operation of the previously broken << (FastBack) and >> (FastForward)
  buttons has changed slightly.  FastBack now returns to the beginning of the
  current chapter and FastForward now jumps to the beginning of the next
  chapter.

diffstat:

 textproc/texi2html/Makefile         |  13 +++--
 textproc/texi2html/PLIST            |  91 ++++++++++++++++++++++++++++++++++++-
 textproc/texi2html/distinfo         |   8 +-
 textproc/texi2html/patches/patch-aa |  33 ++++--------
 4 files changed, 113 insertions(+), 32 deletions(-)

diffs (181 lines):

diff -r 45b565d10c5e -r 341a27367ad6 textproc/texi2html/Makefile
--- a/textproc/texi2html/Makefile       Mon Feb 07 12:54:27 2005 +0000
+++ b/textproc/texi2html/Makefile       Mon Feb 07 13:30:11 2005 +0000
@@ -1,13 +1,15 @@
-# $NetBSD: Makefile,v 1.18 2005/01/01 17:16:35 minskim Exp $
+# $NetBSD: Makefile,v 1.19 2005/02/07 13:30:11 wiz Exp $
 #
 
-DISTNAME=              texi2html-1.64
-PKGREVISION=           2
+DISTNAME=              texi2html-1.76
 CATEGORIES=            textproc
-MASTER_SITES=          http://www.mathematik.uni-kl.de/~obachman/Texi2html/Distrib/
+MASTER_SITES=          ${MASTER_SITE_LOCAL}
+# The following only seems to work with a graphical browser
+# https://texi2html.cvshome.org/files/documents/70/758/texi2html-1.76.tar.bz2
+EXTRACT_SUFX=          .tar.bz2
 
 MAINTAINER=            tech-pkg%NetBSD.org@localhost
-HOMEPAGE=              http://www.mathematik.uni-kl.de/~obachman/Texi2html/
+HOMEPAGE=              https://texi2html.cvshome.org/
 COMMENT=               Texinfo-to-HTML direct translator
 
 CONFLICTS=             teTeX-bin-1.0 teTeX-bin-1.0.[1234567]
@@ -16,6 +18,7 @@
 
 USE_BUILDLINK3=                YES
 GNU_CONFIGURE=         YES
+INFO_FILES=            texi2html.info
 
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 
diff -r 45b565d10c5e -r 341a27367ad6 textproc/texi2html/PLIST
--- a/textproc/texi2html/PLIST  Mon Feb 07 12:54:27 2005 +0000
+++ b/textproc/texi2html/PLIST  Mon Feb 07 13:30:11 2005 +0000
@@ -1,3 +1,92 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:59:01 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/02/07 13:30:11 wiz Exp $
 bin/texi2html
 man/man1/texi2html.1
+share/doc/texi2html/texi2html.html
+share/texi2html/book.init
+share/texi2html/chm.init
+share/texi2html/html32.init
+share/texi2html/i18n/de
+share/texi2html/i18n/en
+share/texi2html/i18n/es
+share/texi2html/i18n/fr
+share/texi2html/i18n/nl
+share/texi2html/i18n/no
+share/texi2html/i18n/pt
+share/texi2html/images/COPYING
+share/texi2html/images/Mybg.gif
+share/texi2html/images/a_begin.gif
+share/texi2html/images/a_begin_na.gif
+share/texi2html/images/a_document.gif
+share/texi2html/images/a_document_na.gif
+share/texi2html/images/a_empty.gif
+share/texi2html/images/a_end.gif
+share/texi2html/images/a_end_na.gif
+share/texi2html/images/a_help.gif
+share/texi2html/images/a_help_na.gif
+share/texi2html/images/a_index.gif
+share/texi2html/images/a_index_na.gif
+share/texi2html/images/a_left.gif
+share/texi2html/images/a_left_na.gif
+share/texi2html/images/a_leftdouble.gif
+share/texi2html/images/a_leftdouble_na.gif
+share/texi2html/images/a_page.gif
+share/texi2html/images/a_page_na.gif
+share/texi2html/images/a_right.gif
+share/texi2html/images/a_right_na.gif
+share/texi2html/images/a_rightdouble.gif
+share/texi2html/images/a_rightdouble_na.gif
+share/texi2html/images/a_search.gif
+share/texi2html/images/a_search_na.gif
+share/texi2html/images/a_searchdoc.gif
+share/texi2html/images/a_searchdoc_na.gif
+share/texi2html/images/a_tableofcon.gif
+share/texi2html/images/a_tableofcon_na.gif
+share/texi2html/images/a_top.gif
+share/texi2html/images/a_top_na.gif
+share/texi2html/images/a_up.gif
+share/texi2html/images/a_up_na.gif
+share/texi2html/images/bg.jpg
+share/texi2html/images/bg_left.gif
+share/texi2html/images/bg_right.gif
+share/texi2html/images/blue_dir.gif
+share/texi2html/images/blue_down.gif
+share/texi2html/images/blue_grab.gif
+share/texi2html/images/blue_help.gif
+share/texi2html/images/blue_next.gif
+share/texi2html/images/blue_nnext.gif
+share/texi2html/images/blue_pprev.gif
+share/texi2html/images/blue_prev.gif
+share/texi2html/images/blue_readme.gif
+share/texi2html/images/blue_top.gif
+share/texi2html/images/blue_up.gif
+share/texi2html/images/blue_uup.gif
+share/texi2html/images/contents_motif.gif
+share/texi2html/images/index_motif.gif
+share/texi2html/images/next_motif.gif
+share/texi2html/images/next_motif_gr.gif
+share/texi2html/images/previous_motif.gif
+share/texi2html/images/previous_motif_gr.gif
+share/texi2html/images/spacer3.gif
+share/texi2html/images/xy_contents.gif
+share/texi2html/images/xy_foot.gif
+share/texi2html/images/xy_next.gif
+share/texi2html/images/xy_next_gr.gif
+share/texi2html/images/xy_nextsection.gif
+share/texi2html/images/xy_nextsection_gr.gif
+share/texi2html/images/xy_previous.gif
+share/texi2html/images/xy_previous_gr.gif
+share/texi2html/images/xy_previoussection.gif
+share/texi2html/images/xy_previoussection_gr.gif
+share/texi2html/images/xy_up.gif
+share/texi2html/images/xy_up_gr.gif
+share/texi2html/inlinestyle.init
+share/texi2html/l2h.init
+share/texi2html/makeinfo.init
+share/texi2html/noheaders.init
+share/texi2html/roff.init
+share/texi2html/utf8.init
+share/texi2html/xhtml.init
+@dirrm share/doc/texi2html
+@dirrm share/texi2html/images
+@dirrm share/texi2html/i18n
+@dirrm share/texi2html
diff -r 45b565d10c5e -r 341a27367ad6 textproc/texi2html/distinfo
--- a/textproc/texi2html/distinfo       Mon Feb 07 12:54:27 2005 +0000
+++ b/textproc/texi2html/distinfo       Mon Feb 07 13:30:11 2005 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 15:05:11 skrll Exp $
+$NetBSD: distinfo,v 1.3 2005/02/07 13:30:11 wiz Exp $
 
-SHA1 (texi2html-1.64.tar.gz) = 973b95dcc06fcdae4929a4a7a4ee7f51b568f84c
-Size (texi2html-1.64.tar.gz) = 143333 bytes
-SHA1 (patch-aa) = e6af355958fe61ad7cb0584685715c38e05cb3d5
+SHA1 (texi2html-1.76.tar.bz2) = 2634ae07b7c2a78a0d79a0ab2a87ea274a56d8d6
+Size (texi2html-1.76.tar.bz2) = 381851 bytes
+SHA1 (patch-aa) = 9f1d1cd149b9c5adee08652a5e974e21e9b93f38
diff -r 45b565d10c5e -r 341a27367ad6 textproc/texi2html/patches/patch-aa
--- a/textproc/texi2html/patches/patch-aa       Mon Feb 07 12:54:27 2005 +0000
+++ b/textproc/texi2html/patches/patch-aa       Mon Feb 07 13:30:11 2005 +0000
@@ -1,24 +1,13 @@
-$NetBSD: patch-aa,v 1.1 2000/10/15 02:28:40 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2005/02/07 13:30:11 wiz Exp $
 
---- Makefile.in.orig   Thu Aug 10 12:14:06 2000
-+++ Makefile.in
-@@ -397,16 +397,15 @@
- install-exec-am: install-binSCRIPTS
- install-exec: install-exec-am
- 
--install-data-am: install-info-am install-man install-htmlDATA
-+install-data-am: install-man
- install-data: install-data-am
+--- doc/Makefile.in.orig       2005-02-04 01:16:54.000000000 +0100
++++ doc/Makefile.in
+@@ -146,7 +146,7 @@ info_TEXINFOS = texi2html.texi
+ #             texi2html.ascii
+ #
+ texinfodata = $(datadir)/texinfo
+-texinfohtmldir = $(texinfodata)/html
++texinfohtmldir = $(datadir)/doc/texi2html
+ texinfohtml_DATA = texi2html.html
  
- install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- install: install-am
--uninstall-am: uninstall-binSCRIPTS uninstall-info uninstall-man \
--              uninstall-htmlDATA
-+uninstall-am: uninstall-binSCRIPTS uninstall-man
- uninstall: uninstall-am
--all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(MANS) $(DATA)
-+all-am: Makefile $(SCRIPTS) $(MANS) $(DATA)
- all-redirect: all-am
- install-strip:
-       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+ # use the script out of the distribution NOT



Home | Main Index | Thread Index | Old Index