pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/xpdf Changes 3.01:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d42612d5b8ae
branches:  trunk
changeset: 499016:d42612d5b8ae
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 07 15:19:08 2005 +0000

description:
Changes 3.01:
------------------
Added the continuous view mode, including the '-cont' switch and the
  'continuousView' config file option.
At high zoom levels, don't rasterize the entire page - this avoids
  problems running out of memory.
Added "search backward" and "match case" options to the find dialog.
Support explicitly masked images and soft masked images.
Add support to DCTStream for 16-bit quant tables.
Don't segfault if the user clicks on an outline entry with a broken
  destination.
Changed the makefiles and configure script to skip building pdftoppm
  (in addition to xpdf) if X, Motif, or FreeType is not found; changed
  the error message in the configure script to match.
Move an inline function in JArithmeticDecoder.cc to avoid compiler
  errors.
Fixed a bug in the rasterizer that was sometimes causing infinite
  loops with round line caps on vertical lines.
Various rasterizer optimizations.
Look for intermediate resize events - try to avoid lagging when the
  user is doing an opaque resize.
The FormType key in Form XObjects is optional.
Handle external 16-bit TrueType fonts correctly, using the Unicode
  cmap.
Add class declarations to TextOutputDev.h to work with stricter C++
  compilers.
More...

diffstat:

 print/xpdf/Makefile         |  17 ++++-------------
 print/xpdf/distinfo         |  38 +++++++++++++-------------------------
 print/xpdf/patches/patch-aa |   6 +++---
 print/xpdf/patches/patch-ab |   6 +++---
 print/xpdf/patches/patch-ad |   8 ++++----
 print/xpdf/patches/patch-ai |  14 +++++++-------
 print/xpdf/patches/patch-aj |   8 ++++----
 print/xpdf/patches/patch-ak |  17 +++++------------
 print/xpdf/patches/patch-al |  13 ++++++++-----
 print/xpdf/patches/patch-an |  12 ++++++------
 print/xpdf/patches/patch-ao |  12 ------------
 print/xpdf/patches/patch-ap |  12 ------------
 print/xpdf/patches/patch-ar |  12 +++++-------
 print/xpdf/patches/patch-as |  30 ------------------------------
 14 files changed, 62 insertions(+), 143 deletions(-)

diffs (truncated from 397 to 300 lines):

diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/Makefile
--- a/print/xpdf/Makefile       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/Makefile       Wed Sep 07 15:19:08 2005 +0000
@@ -1,19 +1,11 @@
-# $NetBSD: Makefile,v 1.38 2005/08/12 12:27:30 salo Exp $
+# $NetBSD: Makefile,v 1.39 2005/09/07 15:19:08 adam Exp $
 
-DISTNAME=      xpdf-3.00
-PKGNAME=       ${DISTNAME}pl3
-PKGREVISION=   1
+DISTNAME=      xpdf-3.01
 CATEGORIES=    print
 MASTER_SITES=  ftp://ftp.foolabs.com/pub/xpdf/ \
                ${MASTER_SITE_SUNSITE:=apps/graphics/viewers/X/} \
                http://gd.tuwien.ac.at/publishing/xpdf/
 
-PATCHFILES=    xpdf-3.00pl1.patch
-PATCHFILES+=   xpdf-3.00pl2.patch
-PATCHFILES+=   xpdf-3.00pl3.patch
-PATCH_SITES=   ${MASTER_SITES}
-PATCH_DIST_ARGS=-d ${WRKSRC}/xpdf --quiet
-
 MAINTAINER=    dillo%NetBSD.org@localhost
 HOMEPAGE=      http://www.foolabs.com/xpdf/
 COMMENT=       Display tool for PDF files
@@ -22,10 +14,9 @@
 
 CONFLICTS=     xpdf-crypto-[0-9]*
 
-USE_PKGINSTALL=                YES
+USE_PKGINSTALL=                yes
 USE_LANGUAGES=         c c++
-
-GNU_CONFIGURE=         YES
+GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --with-freetype2-includes=${BUILDLINK_PREFIX.freetype2}/include/freetype2
 CONFIGURE_ARGS+=       --with-t1-includes=${BUILDLINK_PREFIX.t1lib}/include
diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/distinfo
--- a/print/xpdf/distinfo       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/distinfo       Wed Sep 07 15:19:08 2005 +0000
@@ -1,32 +1,20 @@
-$NetBSD: distinfo,v 1.20 2005/08/12 12:27:30 salo Exp $
+$NetBSD: distinfo,v 1.21 2005/09/07 15:19:08 adam Exp $
 
-SHA1 (xpdf-3.00.tar.gz) = 080317afce0851274fec2865131f59590b54eb99
-RMD160 (xpdf-3.00.tar.gz) = d98668ac8cd059461107c4dfbd9b3fd3beff6176
-Size (xpdf-3.00.tar.gz) = 534697 bytes
-SHA1 (xpdf-3.00pl1.patch) = b984f64c25310e3b0bdebd9b75088ea46e067735
-RMD160 (xpdf-3.00pl1.patch) = d8cc3c381fca5c388bae9fa1c240548a97241a13
-Size (xpdf-3.00pl1.patch) = 7434 bytes
-SHA1 (xpdf-3.00pl2.patch) = 9b406ea1514b508893460c3ec9cb6131287b1c9c
-RMD160 (xpdf-3.00pl2.patch) = 70fc8d6cccb02adb2ba32ea6911682ead6a1649a
-Size (xpdf-3.00pl2.patch) = 1645 bytes
-SHA1 (xpdf-3.00pl3.patch) = c29b9ea13d1f8567a4521e12d50e497bf1681608
-RMD160 (xpdf-3.00pl3.patch) = 7fb5521b698589245f9e0ccea753a6d4e30badf8
-Size (xpdf-3.00pl3.patch) = 346 bytes
-SHA1 (patch-aa) = 3f5d7792b9febecccbce49848755a351465df729
-SHA1 (patch-ab) = 775bfdd4d81ac8b6dd358eeec320097faaecaf90
+SHA1 (xpdf-3.01.tar.gz) = 472cbf0f3df4e20a3ab7ada2e704b4e10d1d385b
+RMD160 (xpdf-3.01.tar.gz) = d734065ce12db8d0c37d9d0ac0ca7c287be59442
+Size (xpdf-3.01.tar.gz) = 599778 bytes
+SHA1 (patch-aa) = 6664207f59076a2612cf4141b7ab4b072b404e3a
+SHA1 (patch-ab) = fd4205c477ee4ac7660b8c1a707ea7b528ac4f90
 SHA1 (patch-ac) = 6fa74df05e01510c792eb2b20f670e6903f30aa2
-SHA1 (patch-ad) = 303dbde0636e79601745808c514c77c31ef3d1b5
+SHA1 (patch-ad) = 08202be663d819f033a7a5e6708b4158255bcf4a
 SHA1 (patch-ae) = 4642345ed25231dae6753024a691bbd39f028143
 SHA1 (patch-af) = da53b226cd7a58979902f899c0ab9303a7f0b95c
 SHA1 (patch-ag) = a739f73612a4f02d50d97e242ccff2505a3a3fac
 SHA1 (patch-ah) = 61e44757c30800754fc4966acb218325fd1bd26a
-SHA1 (patch-ai) = baa4308f9c44c750f54868dc3e355588dfd0dac8
-SHA1 (patch-aj) = 428b2da89b1775afbd2752ec105adad966babdf9
-SHA1 (patch-ak) = e09c064906e0695fe31ab9f20fb9b6945b1b25cc
-SHA1 (patch-al) = 785bf1547e0bf5273b66e5b18adbcccaa85aee35
+SHA1 (patch-ai) = 041f0b7afbd46e109a6c38a5edef5bd38bb41034
+SHA1 (patch-aj) = 36609d6ba7bc56be9b417558b90850fc19e62860
+SHA1 (patch-ak) = ed9506fd0cba7e350608cd40b1f794253f30e917
+SHA1 (patch-al) = b6e958b0592ac285b3ade90079c83da30db8a8b6
 SHA1 (patch-am) = 794ff952c749c8dab6f575d55602cdc7e7157fef
-SHA1 (patch-an) = bf579a07e9b9868ed8d6a6450484c47ce9acaef0
-SHA1 (patch-ao) = fd25cab0255d24c4b55907b031f5f4ec68411576
-SHA1 (patch-ap) = 51d05bb8978003308e14274fc1ada4f1ace6d766
-SHA1 (patch-ar) = bd66ea42d4ba11bdcefcfef2988d37559f21e629
-SHA1 (patch-as) = e76bc488bc533ef3784ed863c2c5d4b0967afc29
+SHA1 (patch-an) = 94ea208c43f4df1ac3a9bf01cc874d488ae49a9a
+SHA1 (patch-ar) = f3d320991e189a21244acd31ca5cc6cfdb18bd96
diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/patches/patch-aa
--- a/print/xpdf/patches/patch-aa       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/patches/patch-aa       Wed Sep 07 15:19:08 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.5 2004/03/03 10:50:09 adam Exp $
+$NetBSD: patch-aa,v 1.6 2005/09/07 15:19:08 adam Exp $
 
---- Makefile.in.orig   2004-01-22 01:26:44.000000000 +0000
+--- Makefile.in.orig   2005-08-17 05:34:30.000000000 +0000
 +++ Makefile.in
 @@ -13,6 +13,7 @@ DESTDIR =
  prefix = @prefix@
@@ -10,7 +10,7 @@
  
  INSTALL = @INSTALL@
  INSTALL_PROGRAM = @INSTALL_PROGRAM@
-@@ -95,12 +96,12 @@ install: dummy
+@@ -94,12 +95,12 @@ install: dummy
        $(INSTALL_DATA) $(srcdir)/doc/pdfimages.1 $(DESTDIR)@mandir@/man1/pdfimages.1
        -mkdir -p $(DESTDIR)@mandir@/man5
        $(INSTALL_DATA) $(srcdir)/doc/xpdfrc.5 $(DESTDIR)@mandir@/man5/xpdfrc.5
diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/patches/patch-ab
--- a/print/xpdf/patches/patch-ab       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/patches/patch-ab       Wed Sep 07 15:19:08 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.4 2004/03/03 10:50:09 adam Exp $
+$NetBSD: patch-ab,v 1.5 2005/09/07 15:19:08 adam Exp $
 
---- xpdf/XPDFViewer.cc.orig    2004-01-22 01:26:45.000000000 +0000
+--- xpdf/XPDFViewer.cc.orig    2005-08-17 05:34:31.000000000 +0000
 +++ xpdf/XPDFViewer.cc
-@@ -181,9 +181,12 @@ XPDFViewer::XPDFViewer(XPDFApp *appA, GS
+@@ -175,9 +175,12 @@ XPDFViewer::XPDFViewer(XPDFApp *appA, GS
  
  XPDFViewer::~XPDFViewer() {
    delete core;
diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/patches/patch-ad
--- a/print/xpdf/patches/patch-ad       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/patches/patch-ad       Wed Sep 07 15:19:08 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.3 2003/03/25 14:02:40 salo Exp $
+$NetBSD: patch-ad,v 1.4 2005/09/07 15:19:08 adam Exp $
 
---- doc/pdfimages.1.orig       2003-03-21 08:01:01.000000000 +0100
-+++ doc/pdfimages.1    2003-03-25 12:40:49.000000000 +0100
-@@ -25,7 +25,7 @@
+--- doc/pdfimages.1.orig       2005-08-17 05:34:30.000000000 +0000
++++ doc/pdfimages.1
+@@ -29,7 +29,7 @@ color inversion, etc. done by the PDF co
  Pdfimages reads a configuration file at startup.  It first tries to
  find the user's private config file, ~/.xpdfrc.  If that doesn't
  exist, it looks for a system-wide config file, typically
diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/patches/patch-ai
--- a/print/xpdf/patches/patch-ai       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/patches/patch-ai       Wed Sep 07 15:19:08 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ai,v 1.1 2003/03/25 14:02:42 salo Exp $
+$NetBSD: patch-ai,v 1.2 2005/09/07 15:19:08 adam Exp $
 
---- doc/sample-xpdfrc.orig     2003-03-21 08:01:01.000000000 +0100
-+++ doc/sample-xpdfrc  2003-03-25 12:45:39.000000000 +0100
+--- doc/sample-xpdfrc.orig     2005-08-17 05:34:30.000000000 +0000
++++ doc/sample-xpdfrc
 @@ -4,7 +4,7 @@
  #
  # The Xpdf tools look for a config file in two places:
@@ -11,9 +11,9 @@
  #
  # This sample config file demonstrates some of the more common
  # configuration options.  Everything here is commented out.  You
-@@ -46,20 +46,20 @@
- # this, but you'll need to adjust this to point to wherever
- # ghostscript is installed on your system.
+@@ -29,20 +29,20 @@
+ # installed in a "standard" location, xpdf will find them
+ # automatically.)
  
 -#displayFontT1 Times-Roman            /usr/local/share/ghostscript/fonts/n021003l.pfb
 -#displayFontT1 Times-Italic           /usr/local/share/ghostscript/fonts/n021023l.pfb
@@ -46,7 +46,7 @@
  
  # If you need to display PDF files that refer to non-embedded fonts,
  # you should add one or more fontDir options to point to the
-@@ -67,7 +67,7 @@
+@@ -50,7 +50,7 @@
  # .pfb, and .ttf files in those directories (other files will simply
  # be ignored).
  
diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/patches/patch-aj
--- a/print/xpdf/patches/patch-aj       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/patches/patch-aj       Wed Sep 07 15:19:08 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aj,v 1.1 2003/03/25 14:02:43 salo Exp $
+$NetBSD: patch-aj,v 1.2 2005/09/07 15:19:08 adam Exp $
 
---- doc/xpdf.1.orig    2003-03-21 08:01:01.000000000 +0100
-+++ doc/xpdf.1 2003-03-25 12:33:20.000000000 +0100
-@@ -40,7 +40,7 @@
+--- doc/xpdf.1.orig    2005-08-17 05:34:30.000000000 +0000
++++ doc/xpdf.1
+@@ -41,7 +41,7 @@ xpdf
  .SH CONFIGURATION FILE
  Xpdf reads a configuration file at startup.  It first tries to find
  the user's private config file, ~/.xpdfrc.  If that doesn't exist, it
diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/patches/patch-ak
--- a/print/xpdf/patches/patch-ak       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/patches/patch-ak       Wed Sep 07 15:19:08 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ak,v 1.2 2004/03/03 10:50:09 adam Exp $
+$NetBSD: patch-ak,v 1.3 2005/09/07 15:19:08 adam Exp $
 
---- doc/xpdfrc.5.orig  2004-01-22 01:26:44.000000000 +0000
+--- doc/xpdfrc.5.orig  2005-08-17 05:34:30.000000000 +0000
 +++ doc/xpdfrc.5
 @@ -7,7 +7,7 @@ All of the Xpdf tools read a single conf
  .I .xpdfrc
@@ -11,7 +11,7 @@
  if it exists.  (This is its default location; depending on build
  options, it may be placed elsewhere.)  On Win32 systems, the
  .I xpdfrc
-@@ -405,33 +405,33 @@ The following is a sample xpdfrc file.
+@@ -407,28 +407,28 @@ The following is a sample xpdfrc file.
  .nf
  
  # from the Thai support package
@@ -27,7 +27,6 @@
 +cMapDir      Adobe-Japan1 @PREFIX@/share/xpdf/cmap/Adobe-Japan1
  
  # use the Base-14 Type 1 fonts from ghostscript
- # (note that this overrides the displayFontX command above)
 -displayFontT1 Times-Roman           /usr/local/share/ghostscript/fonts/n021003l.pfb
 -displayFontT1 Times-Italic          /usr/local/share/ghostscript/fonts/n021023l.pfb
 -displayFontT1 Times-Bold            /usr/local/share/ghostscript/fonts/n021004l.pfb
@@ -58,14 +57,8 @@
 +displayFontT1 ZapfDingbats          @PREFIX@/share/ghostscript/fonts/d050000l.pfb
  
  # use the Bakoma Type 1 fonts
--# (this assumes they happen to be installed in /usr/local/fonts/bakoma)
--fontDir /usr/local/fonts/bakoma
-+# (this assumes they happen to be installed in @PREFIX@/share/tex-contrib/fonts/BaKoMa)
-+fontDir @PREFIX@/share/tex-contrib/fonts/BaKoMa
- 
- # set some PostScript options
- psPaperSize          letter
-@@ -458,7 +458,7 @@ urlCommand      "netscape -remote 'openU
+ # (this assumes they happen to be installed in /usr/local/fonts/bakoma)
+@@ -459,7 +459,7 @@ urlCommand      "netscape -remote 'openU
  .fi
  .SH FILES
  .TP
diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/patches/patch-al
--- a/print/xpdf/patches/patch-al       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/patches/patch-al       Wed Sep 07 15:19:08 2005 +0000
@@ -1,16 +1,19 @@
-$NetBSD: patch-al,v 1.1 2004/03/03 10:50:59 adam Exp $
+$NetBSD: patch-al,v 1.2 2005/09/07 15:19:08 adam Exp $
 
---- xpdf/GlobalParams.cc.orig  2004-03-03 10:26:05.000000000 +0000
+--- xpdf/GlobalParams.cc.orig  2005-08-17 05:34:31.000000000 +0000
 +++ xpdf/GlobalParams.cc
-@@ -81,9 +81,9 @@ static struct {
+@@ -106,11 +106,10 @@ static char *displayFontDirs[] = {
  };
- 
+ #else
  static char *displayFontDirs[] = {
 -  "/usr/share/ghostscript/fonts",
 +  PREFIX"/share/ghostscript/fonts",
    "/usr/local/share/ghostscript/fonts",
 -  "/usr/share/fonts/default/Type1",
+-  "/usr/share/fonts/default/ghostscript",
+-  "/usr/share/fonts/type1/gsfonts",
 +  "/usr/X11R6/lib/X11/fonts/Type1",
++  PREFIX"/xorg/lib/X11/fonts/Type1",
    NULL
  };
- 
+ #endif
diff -r cd8759f43b3c -r d42612d5b8ae print/xpdf/patches/patch-an
--- a/print/xpdf/patches/patch-an       Wed Sep 07 14:42:57 2005 +0000
+++ b/print/xpdf/patches/patch-an       Wed Sep 07 15:19:08 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-an,v 1.1 2004/04/27 19:45:59 adam Exp $
+$NetBSD: patch-an,v 1.2 2005/09/07 15:19:08 adam Exp $
 
---- configure.orig     Tue Apr 27 21:07:38 2004
+--- configure.orig     2005-08-17 05:34:30.000000000 +0000
 +++ configure
-@@ -9124,6 +9124,7 @@ cat confdefs.h >>conftest.$ac_ext
+@@ -9128,6 +9128,7 @@ cat confdefs.h >>conftest.$ac_ext
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
  $ac_includes_default
@@ -10,7 +10,7 @@
  #include <$ac_header>
  _ACEOF
  rm -f conftest.$ac_objext
-@@ -9159,6 +9160,7 @@ _ACEOF
+@@ -9163,6 +9164,7 @@ _ACEOF
  cat confdefs.h >>conftest.$ac_ext
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
@@ -18,7 +18,7 @@
  #include <$ac_header>
  _ACEOF
  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
-@@ -9483,6 +9485,7 @@ cat confdefs.h >>conftest.$ac_ext
+@@ -9495,6 +9497,7 @@ cat confdefs.h >>conftest.$ac_ext
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
  $ac_includes_default
@@ -26,7 +26,7 @@
  #include <$ac_header>



Home | Main Index | Thread Index | Old Index