aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2001-03-20 16:08:20 +0800
committerandreas <andreas@FreeBSD.org>2001-03-20 16:08:20 +0800
commit756b920bff96560c520e0d09d2d4cc8a7ddae3d3 (patch)
tree9a6b32245ac05516249c0d7661551f4a2818becb /print
parentcdef2d41c77c652426a7de008cd1cd1b09a5a986 (diff)
downloadfreebsd-ports-gnome-756b920bff96560c520e0d09d2d4cc8a7ddae3d3.tar.gz
freebsd-ports-gnome-756b920bff96560c520e0d09d2d4cc8a7ddae3d3.tar.zst
freebsd-ports-gnome-756b920bff96560c520e0d09d2d4cc8a7ddae3d3.zip
- enable LyX 1.1.6 to show included EPS figures
- tested by Jose - problem is described in: http://sourceforge.net/bugs/?func=detailbug&bug_id=124957&group_id=1897 - major fix for lyx users, therefore bumped port revision Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-afpl/Makefile2
-rw-r--r--print/ghostscript-afpl/files/patch-src.gdevxini.c47
-rw-r--r--print/ghostscript-gpl/Makefile2
-rw-r--r--print/ghostscript-gpl/files/patch-src.gdevxini.c47
-rw-r--r--print/ghostscript6/Makefile2
-rw-r--r--print/ghostscript6/files/patch-src.gdevxini.c47
-rw-r--r--print/ghostscript8/Makefile2
-rw-r--r--print/ghostscript8/files/patch-src.gdevxini.c47
8 files changed, 192 insertions, 4 deletions
diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile
index 9aa8129cb63b..01abe0c7c270 100644
--- a/print/ghostscript-afpl/Makefile
+++ b/print/ghostscript-afpl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ghostscript
PORTVERSION= 6.50
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= print
MASTER_SITES= ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/gs650/ \
ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/fonts/ \
diff --git a/print/ghostscript-afpl/files/patch-src.gdevxini.c b/print/ghostscript-afpl/files/patch-src.gdevxini.c
new file mode 100644
index 000000000000..5c072ec041e4
--- /dev/null
+++ b/print/ghostscript-afpl/files/patch-src.gdevxini.c
@@ -0,0 +1,47 @@
+Message-ID: <3AB64C01.54380C00@we.lc.ehu.es>
+Date: Mon, 19 Mar 2001 19:12:17 +0100
+From: "Jose M. Alcaide" <jose@we.lc.ehu.es>
+Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica
+Subject: new patch for ghostscript 6.50
+
+Hello Andreas,
+
+About a month ago I sent you a patch for GhostScript 6.50. Without that
+patch, LyX 1.1.6 cannot show included EPS figures. Now that the LyX
+port has been updated this problem will begin to hit many LyX users,
+and the ports freeze is coming soon...
+
+The problem is described in:
+
+http://sourceforge.net/bugs/?func=detailbug&bug_id=124957&group_id=1897
+
+I am resending the patch attached to this message. I am using Ghostscript
+with this patch applied and everything (including LyX) seems to work OK.
+
+Cheers,
+-- JMA
+****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ******
+** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein **
+--------------8E7698D95DE1CB06D5711335
+Content-Type: text/plain; charset=us-ascii;
+ name="patch-src,gdevxini.c"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline;
+ filename="patch-src,gdevxini.c"
+
+--- src/gdevxini.c.orig Tue Sep 19 21:00:23 2000
++++ src/gdevxini.c Tue Feb 20 18:07:09 2001
+@@ -654,8 +654,10 @@
+ }
+ x_set_buffer(xdev);
+ /* Clear the destination pixmap to avoid initializing with garbage. */
+- xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
++ if (xdev->dest == (Pixmap) 0) {
++ xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
+ xdev->bpixmap : (Pixmap) xdev->win);
++ }
+ if (xdev->dest != (Pixmap) 0) {
+ XSetForeground(xdev->dpy, xdev->gc, xdev->background);
+ XFillRectangle(xdev->dpy, xdev->dest, xdev->gc,
+
+
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile
index 9aa8129cb63b..01abe0c7c270 100644
--- a/print/ghostscript-gpl/Makefile
+++ b/print/ghostscript-gpl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ghostscript
PORTVERSION= 6.50
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= print
MASTER_SITES= ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/gs650/ \
ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/fonts/ \
diff --git a/print/ghostscript-gpl/files/patch-src.gdevxini.c b/print/ghostscript-gpl/files/patch-src.gdevxini.c
new file mode 100644
index 000000000000..5c072ec041e4
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-src.gdevxini.c
@@ -0,0 +1,47 @@
+Message-ID: <3AB64C01.54380C00@we.lc.ehu.es>
+Date: Mon, 19 Mar 2001 19:12:17 +0100
+From: "Jose M. Alcaide" <jose@we.lc.ehu.es>
+Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica
+Subject: new patch for ghostscript 6.50
+
+Hello Andreas,
+
+About a month ago I sent you a patch for GhostScript 6.50. Without that
+patch, LyX 1.1.6 cannot show included EPS figures. Now that the LyX
+port has been updated this problem will begin to hit many LyX users,
+and the ports freeze is coming soon...
+
+The problem is described in:
+
+http://sourceforge.net/bugs/?func=detailbug&bug_id=124957&group_id=1897
+
+I am resending the patch attached to this message. I am using Ghostscript
+with this patch applied and everything (including LyX) seems to work OK.
+
+Cheers,
+-- JMA
+****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ******
+** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein **
+--------------8E7698D95DE1CB06D5711335
+Content-Type: text/plain; charset=us-ascii;
+ name="patch-src,gdevxini.c"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline;
+ filename="patch-src,gdevxini.c"
+
+--- src/gdevxini.c.orig Tue Sep 19 21:00:23 2000
++++ src/gdevxini.c Tue Feb 20 18:07:09 2001
+@@ -654,8 +654,10 @@
+ }
+ x_set_buffer(xdev);
+ /* Clear the destination pixmap to avoid initializing with garbage. */
+- xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
++ if (xdev->dest == (Pixmap) 0) {
++ xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
+ xdev->bpixmap : (Pixmap) xdev->win);
++ }
+ if (xdev->dest != (Pixmap) 0) {
+ XSetForeground(xdev->dpy, xdev->gc, xdev->background);
+ XFillRectangle(xdev->dpy, xdev->dest, xdev->gc,
+
+
diff --git a/print/ghostscript6/Makefile b/print/ghostscript6/Makefile
index 9aa8129cb63b..01abe0c7c270 100644
--- a/print/ghostscript6/Makefile
+++ b/print/ghostscript6/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ghostscript
PORTVERSION= 6.50
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= print
MASTER_SITES= ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/gs650/ \
ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/fonts/ \
diff --git a/print/ghostscript6/files/patch-src.gdevxini.c b/print/ghostscript6/files/patch-src.gdevxini.c
new file mode 100644
index 000000000000..5c072ec041e4
--- /dev/null
+++ b/print/ghostscript6/files/patch-src.gdevxini.c
@@ -0,0 +1,47 @@
+Message-ID: <3AB64C01.54380C00@we.lc.ehu.es>
+Date: Mon, 19 Mar 2001 19:12:17 +0100
+From: "Jose M. Alcaide" <jose@we.lc.ehu.es>
+Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica
+Subject: new patch for ghostscript 6.50
+
+Hello Andreas,
+
+About a month ago I sent you a patch for GhostScript 6.50. Without that
+patch, LyX 1.1.6 cannot show included EPS figures. Now that the LyX
+port has been updated this problem will begin to hit many LyX users,
+and the ports freeze is coming soon...
+
+The problem is described in:
+
+http://sourceforge.net/bugs/?func=detailbug&bug_id=124957&group_id=1897
+
+I am resending the patch attached to this message. I am using Ghostscript
+with this patch applied and everything (including LyX) seems to work OK.
+
+Cheers,
+-- JMA
+****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ******
+** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein **
+--------------8E7698D95DE1CB06D5711335
+Content-Type: text/plain; charset=us-ascii;
+ name="patch-src,gdevxini.c"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline;
+ filename="patch-src,gdevxini.c"
+
+--- src/gdevxini.c.orig Tue Sep 19 21:00:23 2000
++++ src/gdevxini.c Tue Feb 20 18:07:09 2001
+@@ -654,8 +654,10 @@
+ }
+ x_set_buffer(xdev);
+ /* Clear the destination pixmap to avoid initializing with garbage. */
+- xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
++ if (xdev->dest == (Pixmap) 0) {
++ xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
+ xdev->bpixmap : (Pixmap) xdev->win);
++ }
+ if (xdev->dest != (Pixmap) 0) {
+ XSetForeground(xdev->dpy, xdev->gc, xdev->background);
+ XFillRectangle(xdev->dpy, xdev->dest, xdev->gc,
+
+
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 9aa8129cb63b..01abe0c7c270 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ghostscript
PORTVERSION= 6.50
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= print
MASTER_SITES= ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/gs650/ \
ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/fonts/ \
diff --git a/print/ghostscript8/files/patch-src.gdevxini.c b/print/ghostscript8/files/patch-src.gdevxini.c
new file mode 100644
index 000000000000..5c072ec041e4
--- /dev/null
+++ b/print/ghostscript8/files/patch-src.gdevxini.c
@@ -0,0 +1,47 @@
+Message-ID: <3AB64C01.54380C00@we.lc.ehu.es>
+Date: Mon, 19 Mar 2001 19:12:17 +0100
+From: "Jose M. Alcaide" <jose@we.lc.ehu.es>
+Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica
+Subject: new patch for ghostscript 6.50
+
+Hello Andreas,
+
+About a month ago I sent you a patch for GhostScript 6.50. Without that
+patch, LyX 1.1.6 cannot show included EPS figures. Now that the LyX
+port has been updated this problem will begin to hit many LyX users,
+and the ports freeze is coming soon...
+
+The problem is described in:
+
+http://sourceforge.net/bugs/?func=detailbug&bug_id=124957&group_id=1897
+
+I am resending the patch attached to this message. I am using Ghostscript
+with this patch applied and everything (including LyX) seems to work OK.
+
+Cheers,
+-- JMA
+****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ******
+** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein **
+--------------8E7698D95DE1CB06D5711335
+Content-Type: text/plain; charset=us-ascii;
+ name="patch-src,gdevxini.c"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline;
+ filename="patch-src,gdevxini.c"
+
+--- src/gdevxini.c.orig Tue Sep 19 21:00:23 2000
++++ src/gdevxini.c Tue Feb 20 18:07:09 2001
+@@ -654,8 +654,10 @@
+ }
+ x_set_buffer(xdev);
+ /* Clear the destination pixmap to avoid initializing with garbage. */
+- xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
++ if (xdev->dest == (Pixmap) 0) {
++ xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
+ xdev->bpixmap : (Pixmap) xdev->win);
++ }
+ if (xdev->dest != (Pixmap) 0) {
+ XSetForeground(xdev->dpy, xdev->gc, xdev->background);
+ XFillRectangle(xdev->dpy, xdev->dest, xdev->gc,
+
+