summaryrefslogtreecommitdiff
path: root/graphics/kdegraphics3
diff options
context:
space:
mode:
authorshattered <shattered>2012-01-26 21:14:30 +0000
committershattered <shattered>2012-01-26 21:14:30 +0000
commit3b4ea94664101c4598e9006dd20550da573640b5 (patch)
tree1b5c96527052b8fa44b8bfe105ebf1369ab5e563 /graphics/kdegraphics3
parent389f22a84fed902880d1fec5a76dddae1b0e3191 (diff)
downloadpkgsrc-3b4ea94664101c4598e9006dd20550da573640b5.tar.gz
kpdf: depend on urw-fonts and add them to search path.
Unbreaks display of most PDF files after removal of standard PS fonts from ghostscript-fonts.
Diffstat (limited to 'graphics/kdegraphics3')
-rw-r--r--graphics/kdegraphics3/Makefile3
-rw-r--r--graphics/kdegraphics3/distinfo3
-rw-r--r--graphics/kdegraphics3/patches/patch-af12
3 files changed, 16 insertions, 2 deletions
diff --git a/graphics/kdegraphics3/Makefile b/graphics/kdegraphics3/Makefile
index ba2939e12a2..05acb52f5cb 100644
--- a/graphics/kdegraphics3/Makefile
+++ b/graphics/kdegraphics3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2012/01/13 10:55:12 obache Exp $
+# $NetBSD: Makefile,v 1.96 2012/01/26 21:14:30 shattered Exp $
DISTNAME= kdegraphics-${_KDE_VERSION}
PKGREVISION= 16
@@ -14,6 +14,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gs:run pkg-config
+DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts
BUILDLINK_API_DEPENDS.lcms+= lcms>=1.12
REPLACE_PERL+= kghostview/update-to-xt-names.pl
diff --git a/graphics/kdegraphics3/distinfo b/graphics/kdegraphics3/distinfo
index 9142692ea84..9890478b5c0 100644
--- a/graphics/kdegraphics3/distinfo
+++ b/graphics/kdegraphics3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.52 2010/10/25 19:30:04 markd Exp $
+$NetBSD: distinfo,v 1.53 2012/01/26 21:14:30 shattered Exp $
SHA1 (kdegraphics-3.5.10.tar.bz2) = 9634e3ab364d017152fb6d636efad8811aeec6c3
RMD160 (kdegraphics-3.5.10.tar.bz2) = 94278e4419ab99885fc9efae9b6ba5ba787f831e
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = f2aa9e992904add4b95ecf2553a4e1bf9510913f
SHA1 (patch-ac) = 3738313046fbb69ac527ae472fe5db24bdff3fff
SHA1 (patch-ad) = 39f9af23006d6b8d09d0ecbb83a382df6b125152
SHA1 (patch-ae) = e1984e4441f2b96697ae7a17028bd59bacb7cc73
+SHA1 (patch-af) = ab3eff6677c889dfd48b5aa6cc116a0da18dd925
diff --git a/graphics/kdegraphics3/patches/patch-af b/graphics/kdegraphics3/patches/patch-af
new file mode 100644
index 00000000000..856539452e1
--- /dev/null
+++ b/graphics/kdegraphics3/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.4 2012/01/26 21:14:30 shattered Exp $
+
+--- kpdf/xpdf/xpdf/GlobalParams.cc.orig 2012-01-23 00:54:20.000000000 +0000
++++ kpdf/xpdf/xpdf/GlobalParams.cc
+@@ -128,6 +128,7 @@ static char *displayFontDirs[] = {
+ };
+ #else
+ static char *displayFontDirs[] = {
++ "/usr/pkg/share/fonts/urw",
+ "/usr/share/ghostscript/fonts",
+ "/usr/pkg/share/ghostscript/fonts",
+ "/usr/local/share/ghostscript/fonts",