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
Not worth fixing, IMO... It's oudated like hell and ghostscript-gpl (the relicensed ghostscript-afpl) seems like a better alternative.
Ok, will have a look at this one then. What about changing the default setting for the virtual then ?
(In reply to comment #2) > What about changing the default setting for the virtual then ? > Already done.
sorry for the noise then, I'll report back (maybe another bug report) for ghostscript-gpl
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
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.
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.
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
bug filed at http://bugs.ghostscript.com/show_bug.cgi?id=688777
closing as upstream. Will get into Gentoo with a new upstream release