Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 86782

Summary: app-text/ghostscript ebuild cleanup
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Printing Team <printing>
Status: RESOLVED WONTFIX    
Severity: normal CC: bsd+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 93587    
Attachments: Ebuild patch
ghostscript-patches-1.tar.bz2
fbsd_malloc-h.patch
fbsd_install-ijs.patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-26 08:59:45 UTC
The attached patch applied over the current ebuild cleans a lot up ghostscript ebuild:

- it moves all the patches in FILESDIR into a single tarball (also attached) which should be copied in distfiles to work. The tarball has all the old patches applied unconditionally in the all/ subdirectory, the two cjk patches in the cjk/ subdirectory and the gtk-conditional patch in the main directory. It also come with an x86-fbsd specific patch which is applied conditionally directly from epatch, so doesn't interfer with linux but still makes ghostscript happy on fbsd. The two excluded patches are the ones from -r7 ebuild which are also on the tarball, so that if that can help I can make also -r7 ebuilt using the tarball so the old files could be removed from there.
- it merge sed calls, also if i would prefer having moved them to patches as they are many sed calls.
- it moves autoconf on unpack instead of running it on compile stage.
- it moves the ./configure parameters to econf instead of setting $myconf, it also make use of use_with and use_enable which weren't used before.
- it uses a $fontpath var to hold fontpaths as they are difficult to manage, it also fixes a path which was still referring to /usr/X11R6/lib/X11/fonts.

Note that FILESDIR for ghostscript is 60KB heavy... not good.

HTH, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-26 09:00:00 UTC
Created attachment 54528 [details, diff]
Ebuild patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-26 09:00:41 UTC
Created attachment 54529 [details]
ghostscript-patches-1.tar.bz2
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-05 11:21:31 UTC
what about the updated version ;) i will have time for this only in about a week
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-05 11:26:19 UTC
The ppc-macos changes completely obsoleted the patch, I need to rework it from scratch, I hope to find the time tonight, Xorg driven me crazy :/
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-14 18:39:39 UTC
Ok I"m working on an updated patch, not preparing the tarball for now as it's something too "moving" to prepare soon.

Main problem now is that jpeg doesn't work as it should (it doesn't build shared libraries).
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-07 03:10:05 UTC
waiting ;) maybe we should move to 8.15_rc3 in one rush 
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-07 04:47:13 UTC
Created attachment 60765 [details, diff]
fbsd_malloc-h.patch

I though to have attached the bsd patches (I've avoided redoing the tarball for
patches because at the moment there are doubts about how that should be
handled) as I've committed them to bsd overlay.. but seems I have forgot to...
sorry O:)
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-07 04:48:21 UTC
Created attachment 60766 [details, diff]
fbsd_install-ijs.patch
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-07-13 14:00:38 UTC
ghostscript-gnu works fine out of the box, masking this in favour of it for 
g/fbsd.