Adapt to use gsx11 instead of gs to render into an X11 window.
This commit is contained in:
parent
49688e3ae0
commit
13abd96232
3 changed files with 39 additions and 0 deletions
13
graphics/kdegraphics/patches/patch-af
Normal file
13
graphics/kdegraphics/patches/patch-af
Normal file
|
@ -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 );
|
13
graphics/kdegraphics/patches/patch-ag
Normal file
13
graphics/kdegraphics/patches/patch-ag
Normal file
|
@ -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);
|
13
graphics/kdegraphics/patches/patch-ah
Normal file
13
graphics/kdegraphics/patches/patch-ah
Normal file
|
@ -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 {
|
Loading…
Reference in a new issue