pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update straight to 1.0b4nb1. Changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36d98bbadffc
branches:  trunk
changeset: 496685:36d98bbadffc
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Fri Jul 08 19:23:25 2005 +0000

description:
Update straight to 1.0b4nb1. Changes:

  000727 1.0b2 - Mostly bug fixes. A title page can be generated. The symbol
                 set is extended to include information from META elements.
                 Installation script modified for Windows support.
  000815 1.0b3 - Bug fixes. Some support for Server Side Includes. Form
                 element contents can be rendered. Support for netscape
                 cookies.
  050225 1.0b4   Various bug fixes.

"nb1" includes a patch from the html2ps author to add option "-C H"
which includes headers (only) in output.

Updated after pinging maintainer several times, with no answer.

diffstat:

 doc/CHANGES                    |   3 +-
 print/html2ps/Makefile         |  10 +++---
 print/html2ps/PLIST            |  10 +++---
 print/html2ps/distinfo         |  12 ++++----
 print/html2ps/patches/patch-aa |  60 ++++++++++++++++++-----------------------
 print/html2ps/patches/patch-ab |  35 +++++++++++++++++++++--
 6 files changed, 76 insertions(+), 54 deletions(-)

diffs (234 lines):

diff -r 18b8b82dc680 -r 36d98bbadffc doc/CHANGES
--- a/doc/CHANGES       Fri Jul 08 19:15:25 2005 +0000
+++ b/doc/CHANGES       Fri Jul 08 19:23:25 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.10554 2005/07/08 10:54:36 is Exp $
+$NetBSD: CHANGES,v 1.10555 2005/07/08 19:23:25 hubertf Exp $
 
 Changes to the packages collection and infrastructure in 2005:
 
@@ -3134,3 +3134,4 @@
        Updated chat/gaim to 1.4.0 [grant 2005-07-08]
        Updated wm/windowmaker to 0.92.0 [adam 2005-07-08]
        Updated mail/msmtp to 1.4.2 [adam 2005-07-08]
+       Updated print/html2ps to 1.0b4nb1 [2005-07-08]
diff -r 18b8b82dc680 -r 36d98bbadffc print/html2ps/Makefile
--- a/print/html2ps/Makefile    Fri Jul 08 19:15:25 2005 +0000
+++ b/print/html2ps/Makefile    Fri Jul 08 19:23:25 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2004/03/26 02:27:51 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2005/07/08 19:23:28 hubertf Exp $
 #
 
-DISTNAME=      html2ps-1.0b1
-PKGREVISION=   4
+DISTNAME=      html2ps-1.0b4
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  http://www.tdb.uu.se/~jan/
 
@@ -14,7 +14,7 @@
 DEPENDS+=      jpeg>=6b:../../graphics/jpeg
 DEPENDS+=      p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick
 DEPENDS+=      p5-libwww-[0-9]*:../../www/p5-libwww
-DEPENDS+=      teTeX-bin>=1.0.6:../../print/teTeX-bin
+DEPENDS+=      teTeX-bin>=1.0.6:../../print/teTeX3-bin
 DEPENDS+=      weblint-[0-9]*:../../www/weblint
 
 USE_PERL5=     yes
@@ -25,7 +25,7 @@
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/lib/html2ps
        @cd ${WRKSRC} && ./install ${PREFIX}
-       @${INSTALL_DATA} ${WRKSRC}/sample ${PREFIX}/share/html2ps/sample.rc
+       @${INSTALL_DATA} ${WRKSRC}/sample ${PREFIX}/lib/html2ps/sample.rc
 
 .include "../../mk/ghostscript.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 18b8b82dc680 -r 36d98bbadffc print/html2ps/PLIST
--- a/print/html2ps/PLIST       Fri Jul 08 19:15:25 2005 +0000
+++ b/print/html2ps/PLIST       Fri Jul 08 19:23:25 2005 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:27:45 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/07/08 19:23:28 hubertf Exp $
 bin/html2ps
 man/man1/html2ps.1
 man/man5/html2psrc.5
-share/html2ps/html2ps.html
-share/html2ps/html2psrc
-share/html2ps/sample.rc
-@dirrm share/html2ps
+lib/html2ps/html2ps.html
+lib/html2ps/html2psrc
+lib/html2ps/sample.rc
+@dirrm lib/html2ps
diff -r 18b8b82dc680 -r 36d98bbadffc print/html2ps/distinfo
--- a/print/html2ps/distinfo    Fri Jul 08 19:15:25 2005 +0000
+++ b/print/html2ps/distinfo    Fri Jul 08 19:23:25 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 12:51:43 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/07/08 19:23:28 hubertf Exp $
 
-SHA1 (html2ps-1.0b1.tar.gz) = ef80edf8a1fb8156848993d4ded306ab6c9149df
-RMD160 (html2ps-1.0b1.tar.gz) = e09b60057f35ebd1164c966bb368380820889827
-Size (html2ps-1.0b1.tar.gz) = 107435 bytes
-SHA1 (patch-aa) = 1b2912d42b41049d07560153f624cd999cc2bad2
-SHA1 (patch-ab) = f4094ff4d5d94f500a64ccca2d795e54678d74e4
+SHA1 (html2ps-1.0b4.tar.gz) = 09b1b6678e08eb08c49113e4837f0ac91942c095
+RMD160 (html2ps-1.0b4.tar.gz) = 248a6319eaddbf5fc342fd9150c6c8cb67c7df1f
+Size (html2ps-1.0b4.tar.gz) = 127901 bytes
+SHA1 (patch-aa) = 1c54fc020400d46f53b10bf43f046a2b064e7ad5
+SHA1 (patch-ab) = b541a724106572e2d82dfc9a73b3e11b22a9136b
diff -r 18b8b82dc680 -r 36d98bbadffc print/html2ps/patches/patch-aa
--- a/print/html2ps/patches/patch-aa    Fri Jul 08 19:15:25 2005 +0000
+++ b/print/html2ps/patches/patch-aa    Fri Jul 08 19:23:25 2005 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/04/23 05:55:02 kim Exp $
+$NetBSD: patch-aa,v 1.2 2005/07/08 19:23:28 hubertf Exp $
 
---- install.orig       Sat Sep 13 08:37:20 1997
-+++ install    Sun Apr 23 01:39:56 2000
-@@ -42,8 +42,8 @@
+--- install.orig       2005-03-03 13:25:29.000000000 +0100
++++ install
+@@ -17,7 +17,7 @@ if(-e '/dev/null') {
+     $pathsep = ':';
+     $dirsep = '/';
+     $sys = 'unix';
+-    $prefix = '/usr/local';
++    $prefix = $ARGV[0];
+ } elsif (-e 'nul') {
+     $pathsep = ';';
+     $dirsep = '\\';
+@@ -57,8 +57,8 @@ where the abovementioned packages are. Y
  the directories where the files should be placed.
  EOD
  
@@ -13,13 +22,10 @@
  
  print "\n";
  for $req (@perl) {
-@@ -121,18 +121,19 @@
+@@ -134,19 +134,20 @@ if(@reqpath) {
  
  chop ($cd = `pwd`);
  
--$prefix = "/usr/local";
-+$prefix = "$ARGV[0]";
- 
 -&getval($ans, "y",
 - "\nBy default all files will be installed in subdirectories 'bin', 'lib',\n"
 - ."and 'man' in a common directory. Is this OK?");
@@ -28,7 +34,10 @@
 -if($def) {
 -    &getval($prefix, "$prefix", "\nEnter the name of this directory");
 -    &fixdir($prefix);
--    &mkdir($prefix,0);
+-    while(!&goodprefix) {
+-      &getval($prefix, "$prefix", "\nEnter a new directory name");
+-    }
+-    &makedir($prefix,0);
 -}
 +#&getval($ans, "y",
 +# "\nBy default all files will be installed in subdirectories 'bin', 'lib',\n"
@@ -39,21 +48,15 @@
 +#if($def) {
 +#    &getval($prefix, "$prefix", "\nEnter the name of this directory");
 +#    &fixdir($prefix);
-+#    &mkdir($prefix,0);
++#    while(!&goodprefix) {
++#     &getval($prefix, "$prefix", "\nEnter a new directory name");
++#    }
++#    &makedir($prefix,0);
 +#}
  
  if($def) {
-     $bindir = "$prefix/bin";
-@@ -145,7 +146,7 @@
- &mkdir($bindir,$def);
- 
- if($def) {
--    $glob = "$prefix/lib/html2ps";
-+    $glob = "$prefix/share/html2ps";
- } else {
-     &getval($glob, "$prefix/lib/html2ps",
-      "\nEnter the the directory where the global configuration file for\n"
-@@ -184,7 +185,7 @@
+     $bindir = "$prefix${dirsep}bin";
+@@ -198,7 +199,7 @@ $cophy = 1;
  if($exist{'TeX'}) {
      $hfile = "";
      ($texdir = $dir{'TeX'}) =~ s|/bin$||;
@@ -62,7 +65,7 @@
          "lib/inputs","lib/tex/macros","lib/tex/inputs") {
          if(-f "$texdir/$_/ushyph1.tex") {
              $hyph = "$texdir/$_";
-@@ -198,15 +199,15 @@
+@@ -212,15 +213,15 @@ if($exist{'TeX'}) {
          }
      }
      if($hfile) {
@@ -86,18 +89,9 @@
      } else {
          &getval($hfile, "", "$ht I cannot find the pattern\nfile for English "
           ."in your TeX installation. (It should be called\n'hyphen.tex', "
-@@ -246,7 +247,7 @@
+@@ -268,12 +269,13 @@ if($def) {
  }
- 
- if($def) {
--    $html = "$prefix/lib/html2ps";
-+    $html = "$prefix/share/html2ps";
- } else {
-     &getval($html, "$prefix/lib/html2ps",
-      "\nEnter a directory where to put the HTML document describing\nhtml2ps");
-@@ -254,12 +255,13 @@
- }
- &mkdir($html,$def);
+ &makedir($html,$def);
  
 -$paper = "";
 -&getval($format, "A4",
diff -r 18b8b82dc680 -r 36d98bbadffc print/html2ps/patches/patch-ab
--- a/print/html2ps/patches/patch-ab    Fri Jul 08 19:15:25 2005 +0000
+++ b/print/html2ps/patches/patch-ab    Fri Jul 08 19:23:25 2005 +0000
@@ -1,8 +1,35 @@
-$NetBSD: patch-ab,v 1.1 2001/12/01 10:13:48 kleink Exp $
+$NetBSD: patch-ab,v 1.2 2005/07/08 19:23:28 hubertf Exp $
+
+This patch adds option "-C H" to include headers (only) in output.
+The patch was sent from the html2ps author Jan Karrman <jan%it.uu.se@localhost>
+to hubertf%NetBSD.org@localhost upon request for such a feature.  - HF
+
 
---- html2ps.orig       Sat Aug  9 20:59:05 1997
-+++ html2ps    Sat Dec  1 10:40:03 2001
-@@ -3747,6 +3747,7 @@
+--- html2ps.orig       2005-02-25 14:40:42.000000000 +0100
++++ html2ps
+@@ -521,7 +521,7 @@ $below=$opt_W=~/b/;
+ $layer=$opt_W=~/L/;
+ $prompt=$opt_W=~/p/;
+ 
+-if($opt_C && $opt_C!~/^(b?[ft]|[ft]b?|b?h|hb?)$/)
++if($opt_C && $opt_C!~/^(b?[ft]|[ft]b?|b?[hH]|[hH]b?)$/)
+   {die "Invalid option: -C $opt_C\n"};
+ $tc=$opt_C?"t":"f";
+ $rev=$opt_C=~/t/;
+@@ -2244,10 +2244,11 @@ if($gd) {
+ } else {
+   $sd="/Df f D\n";
+ }
++$ndox = $opt_C =~ /H/ ? 1 : $ndoc;
+ $_.=<<EOD;
+ [/Creator ($version) /Author ($Au) /Keywords ($kw) /Subject ($su)
+  /Title ($title) /DOCINFO pdfmark
+-/ND $ndoc D
++/ND $ndox D
+ /HN [1 1 $nref\{pop (??)}for] D
+ $dh$hd
+ Hr length 0 gt{[/PageMode /UseOutlines /DOCVIEW pdfmark}if
+@@ -3962,6 +3963,7 @@ sub DSC {
        $mv=~s/\.0//g;
        $temp.="$mv$line\n";
      }



Home | Main Index | Thread Index | Old Index