Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33142 - Ghostscript 8.12 ebuild required
Summary: Ghostscript 8.12 ebuild required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-10 05:23 UTC by Craig Bradney
Modified: 2003-12-14 11:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ghostscript so ebuild (ghostscript-so-8.11.ebuild,1.18 KB, text/plain)
2003-12-05 09:44 UTC, Craig Bradney
Details
gs view ebuild (gsview-4.5.ebuild,1.27 KB, text/plain)
2003-12-05 09:50 UTC, Craig Bradney
Details
AFPL GS ebuild. unpack and compiles, doesnt install (ghostscript-afpl-8.11.ebuild,2.85 KB, text/plain)
2003-12-06 09:04 UTC, Craig Bradney
Details
IJS patch for AFPL GS 8.11, based on what I found re GS 7.07 (gs8.11-ijs2.patch,757 bytes, patch)
2003-12-06 09:05 UTC, Craig Bradney
Details | Diff
gsview-4.5.ebuild.patch (gsview-4.5.ebuild.patch,1.38 KB, patch)
2003-12-11 14:47 UTC, Donnie Berkholz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Bradney 2003-11-10 05:23:16 UTC
Ghostscript 8.11 ebuild required

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-10 11:25:06 UTC
We are using ESP Ghostscript, the newest version of this is 7.06. The ghostscript
you are probably speaking about is AFPL.
Comment 2 Craig Bradney 2003-12-05 09:43:19 UTC
We need a ghostscript-afpl ebuild for at least the following reasons:
-Better handling of PDF 1.4 importing
-better handling of gradients in PDF
-better PDF 1.4 export
-better font hitting when embedding so they display better on other viewes
-support for up to 8 sport colours
-new dithering algorithms for nicer inkjet printing

There is an ebuild setup in forums at http://forums.gentoo.org/viewtopic.php?t=72658&highlight=gsview

This just builds the .so libraries for afpl gs 8.11. There is also then an ebuild for gsview.
Comment 3 Craig Bradney 2003-12-05 09:44:17 UTC
Created attachment 21750 [details]
ghostscript so ebuild

doesnt use $s though... ?
Comment 4 Craig Bradney 2003-12-05 09:50:47 UTC
Created attachment 21752 [details]
gs view ebuild

doesnt use $S
Comment 5 Craig Bradney 2003-12-05 09:52:04 UTC
Ebuilds are attached. Spyderous's comments were that they dont use $S.

I now have the .so's and GSView running.
Comment 6 Craig Bradney 2003-12-05 09:55:50 UTC
Of course, having a parallel ebuild for ghostscript-afpl would give full user end functionality and be a better option.

Could either PROVIDE="virtual/ghostscript" by both ghostscripts
or in current ebuilds (which I guess there are a lot of) 
DEPEND="|| ( app-text/ghostscript app-text/ghoscript-afpl )"

What are your thoughts Lanius?
Comment 7 Craig Bradney 2003-12-05 09:56:39 UTC
I'm working on an afpl build btw.
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-06 08:50:35 UTC
It's all about choice, isn't it ;)

But we have to check how far ESP and AFPL gs are compatible. How far is AFPL compatible with cups? Which files have they in common (e.g. fonts), etc.

I'll try to look into it during the next week.
Comment 9 Craig Bradney 2003-12-06 09:02:04 UTC
Yes.. choice is a good thing :). Seriously though, if AFPL was included with Gentoo, software, like Scribus that I developing for, might be made to depend on AFPL rather than the GNU one given AFPLs advantages.

I will attach my ebuild that I have so far.. It can unpack and compile ok.. it borks on the install.. but my src_install is just a copy of the gnu gs 7.07 src_install so I'm not expecting it to work yet.

I have made a new ijs patch and will attach that too (have made it used .so instead of dynlib.

Comment 10 Craig Bradney 2003-12-06 09:02:20 UTC
Yes.. choice is a good thing :). Seriously though, if AFPL was included with Gentoo, software, like Scribus that I developing for, might be made to depend on AFPL rather than the GNU one given AFPLs advantages.

I will attach my ebuild that I have so far.. It can unpack and compile ok.. it borks on the install.. but my src_install is just a copy of the gnu gs 7.07 src_install so I'm not expecting it to work yet.

I have made a new ijs patch and will attach that too (have made it used .so instead of dynlib.

Yes, AFPL GS is compatible with CUPS.
Comment 11 Craig Bradney 2003-12-06 09:03:22 UTC
For CUPS compatibility you need CUPS 1.1.20 and theres a patch from CUPS to apply  in the AFPL GS source dirs before compiling
Comment 12 Craig Bradney 2003-12-06 09:04:41 UTC
Created attachment 21793 [details]
AFPL GS ebuild. unpack and compiles, doesnt install

/usr/local/portage/app-text/ghostscript-afpl/ghostscript-afpl-8.11.ebuild
Comment 13 Craig Bradney 2003-12-06 09:05:34 UTC
Created attachment 21794 [details, diff]
IJS patch for AFPL GS 8.11, based on what I found re GS 7.07
Comment 14 Craig Bradney 2003-12-07 09:05:03 UTC
http://www.ghostscript.com/pipermail/gs-devel/2003-November/002788.html

or.. we can just wiat on this.. :)

much better idea. A unified GS from sometime soon.
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-07 20:10:23 UTC
In my opinion, it would be a good idea to have an ebuild for AFPL ghostscript in the tree. Some people don't want to wait a year, or can't wait a year, for changes in it to be added to the GPL release.
Comment 16 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-08 03:20:04 UTC
what's exactly the difference between the gnu gs and the afpl gs?
Comment 17 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-08 03:41:35 UTC
GNu lags a year behind AFPL. Any new changes in AFPL are unavailable in GNU until a year later.
Comment 18 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-08 04:05:25 UTC
> For CUPS compatibility you need CUPS 1.1.20 and theres a patch from CUPS to apply  in the AFPL GS source dirs before compiling

where can i find this patch?
Comment 19 Craig Bradney 2003-12-08 04:27:32 UTC
in the cups-1.1.20 source tarball.. in the pstoraster directory, checkout the README.pstoraster file. All info there.
Comment 20 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-08 06:18:38 UTC
here we go, just commited app-text/ghostscript-afpl-8.11 to cvs, please test :)
Comment 21 Craig Bradney 2003-12-08 07:04:29 UTC
Should I be seeing that from a normal emerge sync? Maybe the mirrors I'm using havent updated yet. Just tried two. Will check when I see it come down in a sync.
Comment 22 Craig Bradney 2003-12-08 09:02:42 UTC
It seems to emerge fine.. (having unmerged ghostscript 7.05.6 due to the block there).

Should the GNU and AFPL ebuilds be providing virtual/ghostscript??? 

The ebuils for things like KGhostview (kdegraphics) need adapting otherwise.
just in app-text alone, theres a2ps, activedvi, ghostview, mgv, pstotest

I was expecting a libgs.so to be built as well, but it hasnt been, hence the attached gsview ebuild cant work either as it needs the .so file. 

More investigation required...

Comment 23 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-09 08:29:08 UTC
added the build of the .so files, it will now also provide virtual/ghostscript, still have to change all ebuilds to reflect this change
Comment 24 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-09 10:37:05 UTC
why do you have to download the src file manually in the gsview ebuild?
Comment 25 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-09 12:56:34 UTC
app-text/gsview commited

Please test everything, if it's working i'll close this bug :D
Comment 26 Craig Bradney 2003-12-10 13:28:23 UTC
http://ghostscript.com/ has the 8.12 release, from today.
Comment 27 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-11 05:51:51 UTC
bumped.
Comment 28 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-11 14:45:56 UTC
Thanks Heinrich. Quite an impressive list of commits the other day, changing everything to virtuals. =)
Comment 29 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-11 14:47:29 UTC
Created attachment 22058 [details, diff]
gsview-4.5.ebuild.patch

Only installs HTML docs on use doc; fixes typo to install epstool; same for
gvxview.txt; respects CFLAGS; fixes GTK+ dep; makes it version-portable.
Comment 30 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-13 05:24:48 UTC
nice patch, applied
Comment 31 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-14 11:25:18 UTC
I think I can close it now since it seems to be working :)