Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#1298 closed enhancement (fixed)

New port: gnughostscript-7.07

Reported by: blb@… Owned by: mww@…
Priority: Not set Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

New port print/gnughostscript-7.07

Description: GPL Ghostscript, An interpreter for PostScript and PDF Homepage: http://www.cs.wisc.edu/~ghost/

Portfile and patchfile in tarball, attached

Attachments (2)

gnughostscript.tar (10.0 KB) - added by blb@… 21 years ago.
Portfile and patch under files/
gnugs-new.tar (10.0 KB) - added by blb@… 21 years ago.
Portfile and patch under files/

Download all attachments as: .zip

Change History (11)

Changed 21 years ago by blb@…

Attachment: gnughostscript.tar added

Portfile and patch under files/

comment:1 Changed 21 years ago by mww@…

just had a look, but the mirror or distfile(s) seem to be wrong :(

---> Fetching gnughostscript ---> Attempting to fetch ghostscript-7.07.tar.bz2 from http://us.dl.sourceforge.net/ gnughostscript Error: Unable to fetch:: shell command "cd "/opt/local/var/db/dports/distfiles" && curl -f -L -o ghostscript-7.07.tar.bz2.TMP http://us.dl.sourceforge.net/gnughostscript/ghostscript -7.07.tar.bz2" returned error 22 Command output: % Total % Received % Xferd Average Speed Time Curr.

Dload Upload Total Current Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:00 --:--:-- 0

curl: (22) The requested URL returned error: 404

comment:2 Changed 21 years ago by blb@…

Looks like it never made it to that SF server; other servers have it:

curl --head http://eu.dl.sourceforge.net/ghostscript/ghostscript-7.07.tar.bz2 HTTP/1.0 200 OK Date: Sat, 20 Dec 2003 20:39:28 GMT Server: Apache/2.0.48 (Unix) Last-Modified: Sun, 18 May 2003 11:32:05 GMT ETag: "41000376-3f2584-a0a27740" Accept-Ranges: bytes Content-Length: 4138372 Content-Type: application/x-bzip2

curl --head http://osdn.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-7.07.tar.bz2 HTTP/1.0 200 OK Date: Sat, 20 Dec 2003 20:39:42 GMT Server: Apache/2.0.45 (Unix) Last-Modified: Sun, 18 May 2003 11:32:05 GMT ETag: "1c82001-3f2584-a0a27740" Accept-Ranges: bytes Content-Length: 4138372 Content-Type: application/x-bzip2

comment:3 Changed 21 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…

your port tries to fetch http://blaaa.sourceforge.net/gnughostscript/ghostscript-7.07.tar.bz2

you'd like to fetch it http://blaaa.sourceforge.net/ghostscript/ghostscript-7.07.tar.bz2

I'd fix this and have a look at it again! :)

PS: before submitting a port, delete it's files in ${prefix}/var/db/dports/distfiles/ and have a try with port extract;

comment:4 Changed 21 years ago by mww@…

o.k. - seems to work now! :)

Do we have a possibility to prevent conflicts with the 'ghostscript' port? As far as I can see, almost all files form gnu- and nongnu version are duplicate (surprise); can we add a 'gnu' prefix or something like that to the gnughostscript stuff? (I'm not too familiar with the ghostscript distribution) Or could we create a ghostscript-fonts port that both versions of ghostscript will use?

If all of those questions are answered with a rather clear 'NO WAY', I'll submit your port immediately.

comment:5 Changed 21 years ago by blb@…

Oops, that was definitely the problem; I'll attach a new tarball with the Portfile and patch.

As far as the collision with other (AFPL) ghostscript, they are mutually exclusive. What we need is the reverse of a depends_ option to say if one is already installed, don't do the other...

Changed 21 years ago by blb@…

Attachment: gnugs-new.tar added

Portfile and patch under files/

comment:6 Changed 21 years ago by blb@…

attachments.isobsolete: 01

comment:7 Changed 21 years ago by mww@…

my sugested Portfile: http://wwwcip.informatik.uni-erlangen.de/~simrweis/dports/gnughostscript/Portfile

although, if you'd prefer exactly the one you put here in bugzilla, I'll happily submit that one! (my proposal only contains cosmetical changes and I checked: there's no diff between the installations)

comment:8 Changed 21 years ago by blb@…

Yours is fine as well (better in the 'file mkdir', guess I must have copied the system stuff from another Porfile).

comment:9 Changed 21 years ago by mww@…

Resolution: fixed
Status: newclosed

commited! :)

Note: See TracTickets for help on using tickets.