summaryrefslogtreecommitdiff
path: root/print/xpdf/patches
diff options
context:
space:
mode:
authoradam <adam>2004-03-03 10:50:09 +0000
committeradam <adam>2004-03-03 10:50:09 +0000
commit41ffb4da6646380674e4a9babb8df2b5cccbbcaf (patch)
treeaf47c30da5ed44465906c4c05945cb541aa9ed10 /print/xpdf/patches
parent9572ea0ecf97b04c0e66c75f1d57cd2dde39d197 (diff)
downloadpkgsrc-41ffb4da6646380674e4a9babb8df2b5cccbbcaf.tar.gz
Changes 3.00:
* New PDF rasterizer ("Splash"). * Added support for PDF 1.5. * Replaced pdftopbm with pdftoppm (which can generate PBM, PGM, and PPM files).
Diffstat (limited to 'print/xpdf/patches')
-rw-r--r--print/xpdf/patches/patch-aa6
-rw-r--r--print/xpdf/patches/patch-ab6
-rw-r--r--print/xpdf/patches/patch-ae8
-rw-r--r--print/xpdf/patches/patch-af14
-rw-r--r--print/xpdf/patches/patch-ak23
-rw-r--r--print/xpdf/patches/patch-al16
-rw-r--r--print/xpdf/patches/patch-am13
7 files changed, 54 insertions, 32 deletions
diff --git a/print/xpdf/patches/patch-aa b/print/xpdf/patches/patch-aa
index 7ba0e09d3c6..756eb06644f 100644
--- a/print/xpdf/patches/patch-aa
+++ b/print/xpdf/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.4 2002/09/19 01:45:43 jlam Exp $
+$NetBSD: patch-aa,v 1.5 2004/03/03 10:50:09 adam Exp $
---- Makefile.in.orig Mon May 20 23:40:09 2002
+--- Makefile.in.orig 2004-01-22 01:26:44.000000000 +0000
+++ Makefile.in
@@ -13,6 +13,7 @@ DESTDIR =
prefix = @prefix@
@@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.4 2002/09/19 01:45:43 jlam Exp $
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
-@@ -79,12 +80,12 @@ install: dummy
+@@ -95,12 +96,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 --git a/print/xpdf/patches/patch-ab b/print/xpdf/patches/patch-ab
index e4a4a17f914..e8c27a21159 100644
--- a/print/xpdf/patches/patch-ab
+++ b/print/xpdf/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2002/11/08 02:46:30 dillo Exp $
+$NetBSD: patch-ab,v 1.4 2004/03/03 10:50:09 adam Exp $
---- xpdf/XPDFViewer.cc.orig Sun Nov 3 23:15:37 2002
+--- xpdf/XPDFViewer.cc.orig 2004-01-22 01:26:45.000000000 +0000
+++ xpdf/XPDFViewer.cc
-@@ -143,9 +143,12 @@ XPDFViewer::XPDFViewer(XPDFApp *appA, GS
+@@ -181,9 +181,12 @@ XPDFViewer::XPDFViewer(XPDFApp *appA, GS
XPDFViewer::~XPDFViewer() {
delete core;
diff --git a/print/xpdf/patches/patch-ae b/print/xpdf/patches/patch-ae
index f2739d54403..6b9a4e3dc8b 100644
--- a/print/xpdf/patches/patch-ae
+++ b/print/xpdf/patches/patch-ae
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.1 2003/03/25 14:02:40 salo Exp $
+$NetBSD: patch-ae,v 1.2 2004/03/03 10:50:09 adam Exp $
---- doc/pdfinfo.1.orig 2003-03-21 08:01:01.000000000 +0100
-+++ doc/pdfinfo.1 2003-03-25 12:39:27.000000000 +0100
-@@ -56,7 +56,7 @@
+--- doc/pdfinfo.1.orig 2004-01-22 01:26:44.000000000 +0000
++++ doc/pdfinfo.1
+@@ -71,7 +71,7 @@ metadata (only if requested)
.SH CONFIGURATION FILE
Pdfinfo 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 --git a/print/xpdf/patches/patch-af b/print/xpdf/patches/patch-af
index 2f5c9ce2fab..481c3f0c1de 100644
--- a/print/xpdf/patches/patch-af
+++ b/print/xpdf/patches/patch-af
@@ -1,13 +1,13 @@
-$NetBSD: patch-af,v 1.1 2003/03/25 14:02:41 salo Exp $
+$NetBSD: patch-af,v 1.2 2004/03/03 10:50:09 adam Exp $
---- doc/pdftopbm.1.orig 2003-03-21 08:01:01.000000000 +0100
-+++ doc/pdftopbm.1 2003-03-25 12:41:27.000000000 +0100
-@@ -23,7 +23,7 @@
- Pdftopbm reads a configuration file at startup. It first tries to
+--- doc/pdftoppm.1.orig 2004-01-22 01:26:44.000000000 +0000
++++ doc/pdftoppm.1
+@@ -25,7 +25,7 @@ is the page number.
+ Pdftoppm 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
--/usr/local/etc/xpdfrc (but this location can be changed when pdftopbm
-+@PKG_SYSCONFDIR@/xpdfrc (but this location can be changed when pdftopbm
+-/usr/local/etc/xpdfrc (but this location can be changed when pdftoppm
++@PKG_SYSCONFDIR@/etc/xpdfrc (but this location can be changed when pdftoppm
is built). See the
.BR xpdfrc (5)
man page for details.
diff --git a/print/xpdf/patches/patch-ak b/print/xpdf/patches/patch-ak
index 958d2a4ef71..29261aebecf 100644
--- a/print/xpdf/patches/patch-ak
+++ b/print/xpdf/patches/patch-ak
@@ -1,8 +1,8 @@
-$NetBSD: patch-ak,v 1.1 2003/03/25 14:02:44 salo Exp $
+$NetBSD: patch-ak,v 1.2 2004/03/03 10:50:09 adam Exp $
---- doc/xpdfrc.5.orig 2003-03-21 08:01:01.000000000 +0100
-+++ doc/xpdfrc.5 2003-03-25 12:38:38.000000000 +0100
-@@ -7,7 +7,7 @@
+--- doc/xpdfrc.5.orig 2004-01-22 01:26:44.000000000 +0000
++++ doc/xpdfrc.5
+@@ -7,7 +7,7 @@ All of the Xpdf tools read a single conf
.I .xpdfrc
file in your home directory, it will be read. Otherwise, a
system-wide configuration file will be read from
@@ -11,7 +11,7 @@ $NetBSD: patch-ak,v 1.1 2003/03/25 14:02:44 salo Exp $
if it exists. (This is its default location; depending on build
options, it may be placed elsewhere.) On Win32 systems, the
.I xpdfrc
-@@ -390,12 +390,12 @@
+@@ -405,33 +405,33 @@ The following is a sample xpdfrc file.
.nf
# from the Thai support package
@@ -26,10 +26,6 @@ $NetBSD: patch-ak,v 1.1 2003/03/25 14:02:44 salo Exp $
+unicodeMap JISX0208 @PREFIX@/share/xpdf/JISX0208.unicodeMap
+cMapDir Adobe-Japan1 @PREFIX@/share/xpdf/cmap/Adobe-Japan1
- # use an X server font for Times-Roman
- # (this is the built-in default)
-@@ -403,27 +403,27 @@
-
# 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
@@ -61,18 +57,15 @@ $NetBSD: patch-ak,v 1.1 2003/03/25 14:02:44 salo Exp $
+displayFontT1 Symbol @PREFIX@/share/ghostscript/fonts/s050000l.pfb
+displayFontT1 ZapfDingbats @PREFIX@/share/ghostscript/fonts/d050000l.pfb
- # from the Japanese support package
- displayCIDFontX Adobe-Japan1 "-*-fixed-medium-r-normal-*-%s-*-*-*-*-*-jisx0208.1983-0" JISX0208
-
# 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/BaKoMa)
-+fontDir @PREFIX@/share/tex-contrib/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
-@@ -450,7 +450,7 @@
+@@ -458,7 +458,7 @@ urlCommand "netscape -remote 'openU
.fi
.SH FILES
.TP
diff --git a/print/xpdf/patches/patch-al b/print/xpdf/patches/patch-al
new file mode 100644
index 00000000000..762d132860f
--- /dev/null
+++ b/print/xpdf/patches/patch-al
@@ -0,0 +1,16 @@
+$NetBSD: patch-al,v 1.1 2004/03/03 10:50:59 adam Exp $
+
+--- xpdf/GlobalParams.cc.orig 2004-03-03 10:26:05.000000000 +0000
++++ xpdf/GlobalParams.cc
+@@ -81,9 +81,9 @@ static struct {
+ };
+
+ static char *displayFontDirs[] = {
+- "/usr/share/ghostscript/fonts",
++ PREFIX"/share/ghostscript/fonts",
+ "/usr/local/share/ghostscript/fonts",
+- "/usr/share/fonts/default/Type1",
++ "/usr/X11R6/lib/X11/fonts/Type1",
+ NULL
+ };
+
diff --git a/print/xpdf/patches/patch-am b/print/xpdf/patches/patch-am
new file mode 100644
index 00000000000..89e167a67be
--- /dev/null
+++ b/print/xpdf/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2004/03/03 10:50:59 adam Exp $
+
+--- xpdf/Makefile.in.orig 2004-01-22 01:26:45.000000000 +0000
++++ xpdf/Makefile.in
+@@ -19,7 +19,7 @@ FOFILIBDIR = ../fofi
+ SPLASHSRCDIR = $(srcdir)/../splash
+ SPLASHLIBDIR = ../splash
+
+-CXXFLAGS = @CXXFLAGS@ @DEFS@ -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir) @freetype2_CFLAGS@ @Sgm_CFLAGS@ @Xm_CFLAGS@ @Xt_CFLAGS@ @Xp_CFLAGS@ @Xext_CFLAGS@ @Xpm_CFLAGS@ @t1_CFLAGS@ @libpaper_CFLAGS@ @X_CFLAGS@
++CXXFLAGS = @CXXFLAGS@ @DEFS@ -DPREFIX="\"@prefix@\"" -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir) @freetype2_CFLAGS@ @Sgm_CFLAGS@ @Xm_CFLAGS@ @Xt_CFLAGS@ @Xp_CFLAGS@ @Xext_CFLAGS@ @Xpm_CFLAGS@ @t1_CFLAGS@ @libpaper_CFLAGS@ @X_CFLAGS@
+
+ LDFLAGS = @LDFLAGS@
+