From 13abd96232ff9104c245da08669b08834c71b8ee Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 30 Mar 2000 06:37:15 +0000 Subject: Adapt to use gsx11 instead of gs to render into an X11 window. --- graphics/kdegraphics/patches/patch-af | 13 +++++++++++++ graphics/kdegraphics/patches/patch-ag | 13 +++++++++++++ graphics/kdegraphics/patches/patch-ah | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 graphics/kdegraphics/patches/patch-af create mode 100644 graphics/kdegraphics/patches/patch-ag create mode 100644 graphics/kdegraphics/patches/patch-ah (limited to 'graphics/kdegraphics') 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 { -- cgit v1.2.3