summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-03-30 06:37:15 +0000
committerjlam <jlam@pkgsrc.org>2000-03-30 06:37:15 +0000
commit13abd96232ff9104c245da08669b08834c71b8ee (patch)
tree3cdb8e27ea6a5ceccd35fc7d78b77e5c077fd07e /graphics
parent49688e3ae070d104eec2635ed58c82f9bb4a392c (diff)
downloadpkgsrc-13abd96232ff9104c245da08669b08834c71b8ee.tar.gz
Adapt to use gsx11 instead of gs to render into an X11 window.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/kdegraphics/patches/patch-af13
-rw-r--r--graphics/kdegraphics/patches/patch-ag13
-rw-r--r--graphics/kdegraphics/patches/patch-ah13
3 files changed, 39 insertions, 0 deletions
diff --git a/graphics/kdegraphics/patches/patch-af b/graphics/kdegraphics/patches/patch-af
new file mode 100644
index 00000000000..30797434fe7
--- /dev/null
+++ b/graphics/kdegraphics/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.3 2000/03/30 06:37:15 jlam Exp $
+
+--- kghostview/interpreter.cpp.orig Thu Mar 19 07:24:56 1998
++++ kghostview/interpreter.cpp Wed Mar 29 22:01:44 2000
+@@ -311,7 +311,7 @@
+ void InterpreterDialog::init()
+ {
+
+- intEdit->setText( i18n("gs") );
++ intEdit->setText( i18n("gsx11") );
+
+ if( antialias )
+ antialiasBox->setChecked( TRUE );
diff --git a/graphics/kdegraphics/patches/patch-ag b/graphics/kdegraphics/patches/patch-ag
new file mode 100644
index 00000000000..3cfb9248a2e
--- /dev/null
+++ b/graphics/kdegraphics/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2000/03/30 06:37:15 jlam Exp $
+
+--- kghostview/kghostview.cpp.orig Mon Jul 5 20:13:49 1999
++++ kghostview/kghostview.cpp Wed Mar 29 21:58:56 2000
+@@ -2208,7 +2208,7 @@
+
+ char *filename_dscP = 0;
+ char *filename_uncP = 0;
+- const char *cmd_scan_pdf = "gs -dNODISPLAY -dQUIET -sPDFname=%s -sDSCname=%s pdf2dsc.ps -c quit";
++ const char *cmd_scan_pdf = "gsx11 -dNODISPLAY -dQUIET -sPDFname=%s -sDSCname=%s pdf2dsc.ps -c quit";
+ const char *cmd_uncompress = "gzip -d -c %s > %s";
+ doc = psscan(&psfile, filename, _PATH_TMP"/kghostview", &filename_dscP,
+ cmd_scan_pdf, &filename_uncP, cmd_uncompress);
diff --git a/graphics/kdegraphics/patches/patch-ah b/graphics/kdegraphics/patches/patch-ah
new file mode 100644
index 00000000000..fa226db5af8
--- /dev/null
+++ b/graphics/kdegraphics/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2000/03/30 06:37:15 jlam Exp $
+
+--- kghostview/kpswidget.cpp.orig Sat May 29 15:37:02 1999
++++ kghostview/kpswidget.cpp Wed Mar 29 22:24:07 2000
+@@ -660,7 +660,7 @@
+ if (disable_start) return;
+
+ gs_arg=0;
+- gs_call[gs_arg++] = "gs";
++ gs_call[gs_arg++] = "gsx11";
+ if( intConfig->antialias ) {
+ gs_call[gs_arg++] = "-sDEVICE=x11alpha";
+ } else {