summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2003-05-05 12:28:27 +0000
committermarkd <markd@pkgsrc.org>2003-05-05 12:28:27 +0000
commit6bb318724e2c1b549f0402de8a01aa4310c16e79 (patch)
tree2decd7963a80656795a7b7928ca94227fbe28a25 /graphics
parent6a1698afdb4f2949c5417e06428f53aad513342a (diff)
downloadpkgsrc-6bb318724e2c1b549f0402de8a01aa4310c16e79.tar.gz
Fix problem with kghostview only showing the first page of a multipage
ps file. From KDE Bug ID 57563. Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/kdegraphics3/Makefile4
-rw-r--r--graphics/kdegraphics3/distinfo4
-rw-r--r--graphics/kdegraphics3/patches/patch-ao11
3 files changed, 10 insertions, 9 deletions
diff --git a/graphics/kdegraphics3/Makefile b/graphics/kdegraphics3/Makefile
index 9d3264399a4..e54ba16e645 100644
--- a/graphics/kdegraphics3/Makefile
+++ b/graphics/kdegraphics3/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2003/05/02 11:55:23 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2003/05/05 12:28:27 markd Exp $
DISTNAME= kdegraphics-3.1.1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= graphics
COMMENT= Graphics programs for the KDE integrated X11 desktop
diff --git a/graphics/kdegraphics3/distinfo b/graphics/kdegraphics3/distinfo
index 99afc01296f..f1e4f2e0413 100644
--- a/graphics/kdegraphics3/distinfo
+++ b/graphics/kdegraphics3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2003/04/10 13:13:27 markd Exp $
+$NetBSD: distinfo,v 1.10 2003/05/05 12:28:27 markd Exp $
SHA1 (kdegraphics-3.1.1.tar.bz2) = 983eb9f17581f19f4062248d8533516188c2e49d
Size (kdegraphics-3.1.1.tar.bz2) = 4535382 bytes
@@ -13,5 +13,5 @@ SHA1 (patch-ak) = 0676f089ff362b7fef321a77750e5aa724f4c942
SHA1 (patch-al) = 0c1bd33fe62faeea42f60b0dcdad669c65d14672
SHA1 (patch-am) = b0d8c944030575f3f6df194d53465e61ab80bb2c
SHA1 (patch-an) = 9c72826fff4b1f9dedb4274d9c3a16e404f23249
-SHA1 (patch-ao) = 94878d6b30925bd9bd3e1d9d4e7feff8f8260860
+SHA1 (patch-ao) = eeaf759ffddb11baba72a3e7668c790bab88ec72
SHA1 (patch-ap) = 7c03d98f20bcc3c71cbb0713d238360bab9c2c9a
diff --git a/graphics/kdegraphics3/patches/patch-ao b/graphics/kdegraphics3/patches/patch-ao
index 1b28ebe0166..2c821c7c990 100644
--- a/graphics/kdegraphics3/patches/patch-ao
+++ b/graphics/kdegraphics3/patches/patch-ao
@@ -1,4 +1,4 @@
-$NetBSD: patch-ao,v 1.1 2003/04/10 13:13:25 markd Exp $
+$NetBSD: patch-ao,v 1.2 2003/05/05 12:28:27 markd Exp $
--- kghostview/kpswidget.cpp.orig Mon Sep 16 09:12:40 2002
+++ kghostview/kpswidget.cpp
@@ -16,7 +16,7 @@ $NetBSD: patch-ao,v 1.1 2003/04/10 13:13:25 markd Exp $
_fileName = fileName;
stopInterpreter();
_ghostscriptDirty = true;
-@@ -508,8 +509,11 @@ void KPSWidget::startInterpreter()
+@@ -508,8 +509,12 @@ void KPSWidget::startInterpreter()
for( ; it != _ghostscriptArguments.end(); ++it )
*_process << (*it);
@@ -26,11 +26,12 @@ $NetBSD: patch-ao,v 1.1 2003/04/10 13:13:25 markd Exp $
+ *_process <<
+ // The following two lines are their to ensure that we are allowed to read _fileName
+ "-dDELAYSAFER" << "-sInputFile="+_fileName << "-c" <<
-+ "<< /PermitFileReading [ InputFile ] /PermitFileWriting [] /PermitFileControl [] >> setuserparams .locksafe";
++ "<< /PermitFileReading [ InputFile ] /PermitFileWriting [] /PermitFileControl [] >> setuserparams .locksafe" <<
++ "-";
else
*_process << _fileName << "-c" << "quit";
-@@ -527,7 +531,7 @@ void KPSWidget::startInterpreter()
+@@ -527,7 +532,7 @@ void KPSWidget::startInterpreter()
// Finally fire up the interpreter.
kdDebug(4500) << "KPSWidget: starting interpreter" << endl;
if( _process->start( KProcess::NotifyOnExit,
@@ -39,7 +40,7 @@ $NetBSD: patch-ao,v 1.1 2003/04/10 13:13:25 markd Exp $
{
_interpreterBusy = true;
setCursor( waitCursor );
-@@ -648,7 +652,7 @@ void KPSWidget::readSettings()
+@@ -648,7 +653,7 @@ void KPSWidget::readSettings()
if( !intConfig->platformFonts() )
arguments << "-dNOPLATFONTS";