From 49a619ee30e3a0fb2167cfc067ac056228c3f452 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sat, 20 Apr 2002 15:36:16 +0000 Subject: - Update DISTNAME/MASTER_SITE of samsung-gdi driver - Add workaround for the problem that ps2epsi doesn't work PR: 37284 Submitted by: Ports Fury --- print/ghostscript-afpl/Makefile | 6 +++--- print/ghostscript-afpl/distinfo | 2 +- print/ghostscript-afpl/files/patch-lib:ps2epsi.ps | 11 +++++++++++ print/ghostscript-afpl/pkg-plist | 2 +- print/ghostscript-gpl/Makefile | 6 +++--- print/ghostscript-gpl/distinfo | 2 +- print/ghostscript-gpl/files/patch-lib:ps2epsi.ps | 11 +++++++++++ print/ghostscript-gpl/pkg-plist | 2 +- print/ghostscript8/Makefile | 6 +++--- print/ghostscript8/distinfo | 2 +- print/ghostscript8/files/patch-lib:ps2epsi.ps | 11 +++++++++++ print/ghostscript8/pkg-plist | 2 +- 12 files changed, 48 insertions(+), 15 deletions(-) create mode 100644 print/ghostscript-afpl/files/patch-lib:ps2epsi.ps create mode 100644 print/ghostscript-gpl/files/patch-lib:ps2epsi.ps create mode 100644 print/ghostscript8/files/patch-lib:ps2epsi.ps diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile index 9d6d38d034f9..a0eb64d0821c 100644 --- a/print/ghostscript-afpl/Makefile +++ b/print/ghostscript-afpl/Makefile @@ -7,7 +7,7 @@ PORTNAME= ghostscript PORTVERSION= 7.04 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,gprint,hpijs/} \ http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \ @@ -18,7 +18,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,gprint,hpijs/} \ http://www.humblesoft.com/pub/:epag \ http://www.epkowa.on.arena.ne.jp/pips/data/gs65_301/:eplaser \ http://www.ceres.dti.ne.jp/~owatanab/gdevnpdl/:npdl \ - http://www.linuxprinting.org/download/printing/:gdi \ + http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/ \ ftp://gatekeeper.dec.com/pub/GNU/ghostscript/:gatekeeper @@ -213,7 +213,7 @@ NPDL_SRCS= ${NPDL_NAME}.tar.gz # GDI - additional driver for Samsung SmartGDI laser printers GDI= gdi -GDI_NAME= samsung-gdi-driver +GDI_NAME= samsung-gdi-driver-gs5.50 GDI_SRCS= ${GDI_NAME}.tar.gz # contributed uniprint profiles diff --git a/print/ghostscript-afpl/distinfo b/print/ghostscript-afpl/distinfo index b54c73af4eb9..d72179419a87 100644 --- a/print/ghostscript-afpl/distinfo +++ b/print/ghostscript-afpl/distinfo @@ -16,4 +16,4 @@ MD5 (ghostscript/epag-3.09.tar.gz) = 63304a6afe44842124d2d880bf24dbe3 MD5 (ghostscript/eplaser-3.0.1-651.tgz) = 3baf7b0ba2fea5ea354906ab43caf254 MD5 (ghostscript/gdevmjc-0.8.tar.gz) = 228f41c3cccce22c8f477c7a9407527c MD5 (ghostscript/gdevnpdl-1.6.3.tar.gz) = 6c8dad13d07bbaf6e951d6d2d6b8a9f2 -MD5 (ghostscript/samsung-gdi-driver.tar.gz) = d85da4a9e26f2d751a22b6f1e19fc6d1 +MD5 (ghostscript/samsung-gdi-driver-gs5.50.tar.gz) = d85da4a9e26f2d751a22b6f1e19fc6d1 diff --git a/print/ghostscript-afpl/files/patch-lib:ps2epsi.ps b/print/ghostscript-afpl/files/patch-lib:ps2epsi.ps new file mode 100644 index 000000000000..8e150354428c --- /dev/null +++ b/print/ghostscript-afpl/files/patch-lib:ps2epsi.ps @@ -0,0 +1,11 @@ +--- lib/ps2epsi.ps.orig Tue Jun 5 15:31:41 2001 ++++ lib/ps2epsi.ps Sat Apr 20 15:57:44 2002 +@@ -52,7 +52,7 @@ + /ps2epsi + { % Open the file + outfile (w) file /epsifile exch def +- //systemdict /.setsafe known { .setsafe } if ++% //systemdict /.setsafe known { .setsafe } if + % Get the device parameters + currentdevice getdeviceprops .dicttomark + /HWSize get aload pop diff --git a/print/ghostscript-afpl/pkg-plist b/print/ghostscript-afpl/pkg-plist index 6558bb895327..cc00589f9615 100644 --- a/print/ghostscript-afpl/pkg-plist +++ b/print/ghostscript-afpl/pkg-plist @@ -525,7 +525,7 @@ share/ghostscript/fonts/z003034l.pfm @dirrm share/ghostscript/%%GS_VERSION%%/examples @dirrm share/ghostscript/%%GS_VERSION%%/doc @dirrm share/ghostscript/%%GS_VERSION%% -@dirrm share/ghostscript +@unexec rmdir %D/share/ghostscript 2>/dev/null || true %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/pcl3 %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/npdl %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index 9d6d38d034f9..a0eb64d0821c 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/Makefile @@ -7,7 +7,7 @@ PORTNAME= ghostscript PORTVERSION= 7.04 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,gprint,hpijs/} \ http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \ @@ -18,7 +18,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,gprint,hpijs/} \ http://www.humblesoft.com/pub/:epag \ http://www.epkowa.on.arena.ne.jp/pips/data/gs65_301/:eplaser \ http://www.ceres.dti.ne.jp/~owatanab/gdevnpdl/:npdl \ - http://www.linuxprinting.org/download/printing/:gdi \ + http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/ \ ftp://gatekeeper.dec.com/pub/GNU/ghostscript/:gatekeeper @@ -213,7 +213,7 @@ NPDL_SRCS= ${NPDL_NAME}.tar.gz # GDI - additional driver for Samsung SmartGDI laser printers GDI= gdi -GDI_NAME= samsung-gdi-driver +GDI_NAME= samsung-gdi-driver-gs5.50 GDI_SRCS= ${GDI_NAME}.tar.gz # contributed uniprint profiles diff --git a/print/ghostscript-gpl/distinfo b/print/ghostscript-gpl/distinfo index b54c73af4eb9..d72179419a87 100644 --- a/print/ghostscript-gpl/distinfo +++ b/print/ghostscript-gpl/distinfo @@ -16,4 +16,4 @@ MD5 (ghostscript/epag-3.09.tar.gz) = 63304a6afe44842124d2d880bf24dbe3 MD5 (ghostscript/eplaser-3.0.1-651.tgz) = 3baf7b0ba2fea5ea354906ab43caf254 MD5 (ghostscript/gdevmjc-0.8.tar.gz) = 228f41c3cccce22c8f477c7a9407527c MD5 (ghostscript/gdevnpdl-1.6.3.tar.gz) = 6c8dad13d07bbaf6e951d6d2d6b8a9f2 -MD5 (ghostscript/samsung-gdi-driver.tar.gz) = d85da4a9e26f2d751a22b6f1e19fc6d1 +MD5 (ghostscript/samsung-gdi-driver-gs5.50.tar.gz) = d85da4a9e26f2d751a22b6f1e19fc6d1 diff --git a/print/ghostscript-gpl/files/patch-lib:ps2epsi.ps b/print/ghostscript-gpl/files/patch-lib:ps2epsi.ps new file mode 100644 index 000000000000..8e150354428c --- /dev/null +++ b/print/ghostscript-gpl/files/patch-lib:ps2epsi.ps @@ -0,0 +1,11 @@ +--- lib/ps2epsi.ps.orig Tue Jun 5 15:31:41 2001 ++++ lib/ps2epsi.ps Sat Apr 20 15:57:44 2002 +@@ -52,7 +52,7 @@ + /ps2epsi + { % Open the file + outfile (w) file /epsifile exch def +- //systemdict /.setsafe known { .setsafe } if ++% //systemdict /.setsafe known { .setsafe } if + % Get the device parameters + currentdevice getdeviceprops .dicttomark + /HWSize get aload pop diff --git a/print/ghostscript-gpl/pkg-plist b/print/ghostscript-gpl/pkg-plist index 6558bb895327..cc00589f9615 100644 --- a/print/ghostscript-gpl/pkg-plist +++ b/print/ghostscript-gpl/pkg-plist @@ -525,7 +525,7 @@ share/ghostscript/fonts/z003034l.pfm @dirrm share/ghostscript/%%GS_VERSION%%/examples @dirrm share/ghostscript/%%GS_VERSION%%/doc @dirrm share/ghostscript/%%GS_VERSION%% -@dirrm share/ghostscript +@unexec rmdir %D/share/ghostscript 2>/dev/null || true %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/pcl3 %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/npdl %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile index 9d6d38d034f9..a0eb64d0821c 100644 --- a/print/ghostscript8/Makefile +++ b/print/ghostscript8/Makefile @@ -7,7 +7,7 @@ PORTNAME= ghostscript PORTVERSION= 7.04 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,gprint,hpijs/} \ http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \ @@ -18,7 +18,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,gprint,hpijs/} \ http://www.humblesoft.com/pub/:epag \ http://www.epkowa.on.arena.ne.jp/pips/data/gs65_301/:eplaser \ http://www.ceres.dti.ne.jp/~owatanab/gdevnpdl/:npdl \ - http://www.linuxprinting.org/download/printing/:gdi \ + http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/ \ ftp://gatekeeper.dec.com/pub/GNU/ghostscript/:gatekeeper @@ -213,7 +213,7 @@ NPDL_SRCS= ${NPDL_NAME}.tar.gz # GDI - additional driver for Samsung SmartGDI laser printers GDI= gdi -GDI_NAME= samsung-gdi-driver +GDI_NAME= samsung-gdi-driver-gs5.50 GDI_SRCS= ${GDI_NAME}.tar.gz # contributed uniprint profiles diff --git a/print/ghostscript8/distinfo b/print/ghostscript8/distinfo index b54c73af4eb9..d72179419a87 100644 --- a/print/ghostscript8/distinfo +++ b/print/ghostscript8/distinfo @@ -16,4 +16,4 @@ MD5 (ghostscript/epag-3.09.tar.gz) = 63304a6afe44842124d2d880bf24dbe3 MD5 (ghostscript/eplaser-3.0.1-651.tgz) = 3baf7b0ba2fea5ea354906ab43caf254 MD5 (ghostscript/gdevmjc-0.8.tar.gz) = 228f41c3cccce22c8f477c7a9407527c MD5 (ghostscript/gdevnpdl-1.6.3.tar.gz) = 6c8dad13d07bbaf6e951d6d2d6b8a9f2 -MD5 (ghostscript/samsung-gdi-driver.tar.gz) = d85da4a9e26f2d751a22b6f1e19fc6d1 +MD5 (ghostscript/samsung-gdi-driver-gs5.50.tar.gz) = d85da4a9e26f2d751a22b6f1e19fc6d1 diff --git a/print/ghostscript8/files/patch-lib:ps2epsi.ps b/print/ghostscript8/files/patch-lib:ps2epsi.ps new file mode 100644 index 000000000000..8e150354428c --- /dev/null +++ b/print/ghostscript8/files/patch-lib:ps2epsi.ps @@ -0,0 +1,11 @@ +--- lib/ps2epsi.ps.orig Tue Jun 5 15:31:41 2001 ++++ lib/ps2epsi.ps Sat Apr 20 15:57:44 2002 +@@ -52,7 +52,7 @@ + /ps2epsi + { % Open the file + outfile (w) file /epsifile exch def +- //systemdict /.setsafe known { .setsafe } if ++% //systemdict /.setsafe known { .setsafe } if + % Get the device parameters + currentdevice getdeviceprops .dicttomark + /HWSize get aload pop diff --git a/print/ghostscript8/pkg-plist b/print/ghostscript8/pkg-plist index 6558bb895327..cc00589f9615 100644 --- a/print/ghostscript8/pkg-plist +++ b/print/ghostscript8/pkg-plist @@ -525,7 +525,7 @@ share/ghostscript/fonts/z003034l.pfm @dirrm share/ghostscript/%%GS_VERSION%%/examples @dirrm share/ghostscript/%%GS_VERSION%%/doc @dirrm share/ghostscript/%%GS_VERSION%% -@dirrm share/ghostscript +@unexec rmdir %D/share/ghostscript 2>/dev/null || true %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/pcl3 %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/npdl %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc -- cgit v1.2.3