Hello! I wish to add ebuild for the program in Gentoo (dev-utils/silentbob) SilentBob: - Code indexing - Calls indexing - Direct trees of calls - Inversed trees of calls - Files searching - Searching in the source code - Quick access - Plugins development - Code indexing (Perl/Python) - Files searching (Perl/Python)
Created attachment 143106 [details] silentbob-1.5.ebuild
Oleg, some comments. src_unpack() is redudant in this case and it's necessary to drop it. --disable-static generally should no be inside ebuild. We should build both static and dynamic libraries and if users wants (s)he could use EXTRA_ECONF or similar means to disable static libraries. Is it possible to modify plugins/Makefile.am and change lib_LTLIBRARIES to pkglib_LTLIBRARIES to avoid all of this: rm -fr ${D}/usr/lib/silent_bob mkdir -p ${D}/usr/lib/silent_bob/ mv ${D}/usr/lib/libplugin*.so.0.0.0 ${D}/usr/lib/silent_bob/ rm -f ${D}/usr/lib/libplugin* Also, for new projects it's always good idea to use latest autotools. automake-1.4 is too old and normally no packages on my system require it... But that's possibly could be changed only in the next release.
Created attachment 143214 [details] ebuild (v2) for Silent Bob
((In reply to comment #2) > Oleg, some comments. > > src_unpack() is redudant in this case and it's necessary to drop it. fixed > --disable-static generally should no be inside ebuild. We should build both > static and dynamic libraries and if users wants (s)he could use EXTRA_ECONF or > similar means to disable static libraries. fixed. > Is it possible to modify plugins/Makefile.am and change lib_LTLIBRARIES to > pkglib_LTLIBRARIES to avoid all of this: > rm -fr ${D}/usr/lib/silent_bob > mkdir -p ${D}/usr/lib/silent_bob/ > mv ${D}/usr/lib/libplugin*.so.0.0.0 ${D}/usr/lib/silent_bob/ > rm -f ${D}/usr/lib/libplugin* > fixed. > Also, for new projects it's always good idea to use latest autotools. > automake-1.4 is too old and normally no packages on my system require it... But > that's possibly could be changed only in the next release. Yes, I shall correct it in following release...
Silentbob 1.6 is out, and it seems to use CMake now, I've updated the ebuild
Created attachment 163760 [details] ebuild for v1.6, uses cmake now
Well, seems that I'll never get to test this and add it into portage tree. But I'd like to suggest you to maintain this ebuild in sunrise overlay. http://overlays.gentoo.org/proj/sunrise/wiki This is overlay where users maintain ebuild but developers still check every package there. It's less burden for developers check ebuilds there so normally you can commit ebuild there in two days or faster. If you have any question contact me or just ask at #gentoo-sunrise channel on Freenode network.
Finally this package builds fine so I've added this package into my dev overlay. If you want to try it out just: svn co http://overlays.gentoo.org/svn/dev/pva/dev-util/silentbob If you are user of this package and want to have it in the main tree, please, ask here. If you have problems with this package add a note here too.
And forgot to note. Before this package could be added into sunrise overlay or gentoo portage tree tarball *should* include license files. Currently it's unknown what license this package conforms to, since no source file marked as GPL (thus although Oleg tell us here that it' GPL, it's not) and no other COPYING or similar file included in tarball. Oleg, please, clarify licensing of this package. If it's really GPL, read "How to Apply These Terms to Your New Programs" paragraph inside GPL license. Thanks.
It seems that this package is no longer in Sunrise.