This is a modification based on the slib ebuild from funtoo overlay. It will work with both, guile-1.8 from main tree (tested) and guile-2.0 from [lisp overlay] (tested). Tests were done on amd64 x86_64 abi with gambit elk scm use flags enabled. For the former two scheme implementations ebuilds need to be slightly modified to successfully build slibcat, see 'Depends on' field. Reproducible: Always
Created attachment 394562 [details, diff] slib-3.2.4.ebuild.patch diff -ur <(wget -q -O - https://raw.githubusercontent.com/funtoo/funtoo-overlay/master/dev-scheme/slib/slib-3.2.4.ebuild) myrep/dev-scheme/slib/slib-3.2.4.ebuild
Created attachment 394564 [details] slib-3.2.4.ebuild complete file - proposed new ebuild for tree
Created attachment 394566 [details, diff] slib-3.2.4.ebuild.patch * remove the need for a temporary site-dir, fixes up guile-2.init to use %library-dir instead .. pkg_prerm() removed * pkg_postrm() introduced to remove slib.ebuild generated files in pkg_postinst() * GUILE_PV detection more robust
Created attachment 394568 [details] slib-3.2.4.ebuild Sample output for pkg_postinst() >>> Starting pkg_postinst * Updating implementation catalogs.. SLIB "3b4" on guile "2.0.11" on unix slib "3b4" on elk "3.0" on unix SLIB "3b4" on gambit "v4.7.0" on unix slib "3b4" on scm "5e6" on unix >>> Done pkg_postinst # find /usr/ -name "*slibcat*" 2> /dev/null /usr/lib64/scm/slibcat /usr/share/gambc/slibcat /usr/share/guile/2.0/slibcat /usr/share/elk/slibcat
Thanks, commit edcd250c16e86abbd9572b880d850a40d7900b4a Author: mudler <mudler@sabayon.org> Date: Tue Oct 11 00:32:58 2016 +0200 dev-scheme/slib: version bump to 3.2.5 * migrate to EAPI 6 * splitted sed calls in patches * add local gambit and scm USE flags * QA fixes, added DOCS Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=537306 Package-Manager: portage-2.3.1