Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138836 - app-text/ghostscript-{gnu,gpl} ebuild is messy
Summary: app-text/ghostscript-{gnu,gpl} ebuild is messy
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-02 05:12 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2007-04-07 18:25 UTC (History)
1 user (show)

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


Attachments
ghostscript-gpl-8.54.ebuild.patch (ghostscript-gpl-8.54.ebuild.patch,1.83 KB, patch)
2006-07-02 23:08 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff
ghostscript-gpl-8.54-configure.patch (ghostscript-gpl-8.54-configure.patch,3.00 KB, patch)
2006-07-02 23:11 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-07-02 05:12:56 UTC
Reading through the ebuild and the configure.ac, I noticed :

- some dependencies are not used because the configure.ac uses sources provided with the tarball
- tiff, png, zlib should be optional
- it seems tiff is only used for jbig support.

I'm not sure of what IJS driver is, I guess this has something to do with HPIJS and maybe there is also something to do here.

Before patching the ebuild, I would like to know which action is appropriate :
 1 - bug upstream about the lack of flexibility of their configure.ac and then come back with an updated ebuild
 2 - do it all at once and submit the patches upstream after testing in gentoo
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 05:17:02 UTC
Not worth fixing, IMO... It's oudated like hell and ghostscript-gpl (the relicensed ghostscript-afpl) seems like a better alternative.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-07-02 05:38:25 UTC
Ok, will have a look at this one then.

What about changing the default setting for the virtual then ? 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 05:41:22 UTC
(In reply to comment #2)
> What about changing the default setting for the virtual then ? 
> 

Already done.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-07-02 05:47:34 UTC
sorry for the noise then, I'll report back (maybe another bug report) for ghostscript-gpl 
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-07-02 06:37:40 UTC
ok checked ghostscript-gpl and the configure.ac is quiet the same. If I came up with a fix, it should be applicable to both
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-07-02 23:08:05 UTC
Created attachment 90743 [details, diff]
ghostscript-gpl-8.54.ebuild.patch

Proposed patch to the ebuild.

An important point I would like feedback on is the automatic removal of some libs provided by the package but already present in gentoo. As the package puts its internal libs at a higher priority than those on the system, I simply removed them, but I added and option to get the one we prefer to the configure script (patch to follow), just in case.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-07-02 23:11:04 UTC
Created attachment 90744 [details, diff]
ghostscript-gpl-8.54-configure.patch

patch to enable some configure switches and add capability to select system or local libs.
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-02 23:54:48 UTC
Hi,

can you please submit your patch upstream to the http://bugs.ghostscript.com/ and reference the bug here? Thanks

I do not think this is high-priority so we can probably wait for upstream to apply the patch and release it
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-07-03 06:03:29 UTC
bug filed at http://bugs.ghostscript.com/show_bug.cgi?id=688777
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-07 18:25:28 UTC
closing as upstream. Will get into Gentoo with a new upstream release