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
Created attachment 54528 [details, diff] Ebuild patch
Created attachment 54529 [details] ghostscript-patches-1.tar.bz2
what about the updated version ;) i will have time for this only in about a week
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 :/
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).
waiting ;) maybe we should move to 8.15_rc3 in one rush
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:)
Created attachment 60766 [details, diff] fbsd_install-ijs.patch
ghostscript-gnu works fine out of the box, masking this in favour of it for g/fbsd.