Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 00:58:58 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/37285: Update port: print/ghostscript-gnu
Message-ID:  <200204200758.g3K7wwA84166@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         37285
>Category:       ports
>Synopsis:       Update port: print/ghostscript-gnu
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 20 01:00:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update DISTNAME/MASTER_SITE of samsung-gdi driver
- Add workaround for the problem that ps2epsi doesn't work

New file:
files/patch-lib:ps2epsi.ps

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/ghostscript-gnu/Makefile print/ghostscript-gnu/Makefile
--- /usr/ports/print/ghostscript-gnu/Makefile	Fri Apr  5 18:32:00 2002
+++ print/ghostscript-gnu/Makefile	Thu Apr 18 23:30:06 2002
@@ -7,7 +7,7 @@
 
 PORTNAME=	ghostscript
 PORTVERSION=	6.53
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_GNU:S/$/:DEFAULT,fonts/} \
 		${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,fonts,gprint,hpijs/} \
@@ -19,7 +19,7 @@
 		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/gnu/fonts/ \
 		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs653/
 MASTER_SITE_SUBDIR=	${PORTNAME} \
@@ -196,7 +196,7 @@
 
 # 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 -urN /usr/ports/print/ghostscript-gnu/distinfo print/ghostscript-gnu/distinfo
--- /usr/ports/print/ghostscript-gnu/distinfo	Fri Apr  5 18:32:00 2002
+++ print/ghostscript-gnu/distinfo	Thu Apr 18 23:34:57 2002
@@ -16,4 +16,4 @@
 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 -urN /usr/ports/print/ghostscript-gnu/files/patch-lib:ps2epsi.ps print/ghostscript-gnu/files/patch-lib:ps2epsi.ps
--- /usr/ports/print/ghostscript-gnu/files/patch-lib:ps2epsi.ps	Thu Jan  1 09:00:00 1970
+++ print/ghostscript-gnu/files/patch-lib:ps2epsi.ps	Sat Apr 20 16:04:39 2002
@@ -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 -urN /usr/ports/print/ghostscript-gnu/pkg-plist print/ghostscript-gnu/pkg-plist
--- /usr/ports/print/ghostscript-gnu/pkg-plist	Thu Apr  4 18:49:13 2002
+++ print/ghostscript-gnu/pkg-plist	Thu Apr 18 23:42:29 2002
@@ -529,7 +529,7 @@
 @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

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204200758.g3K7wwA84166>