Hello to All my Gentoo friends. OK, this ebuild submission was unexpected. I did not realise that the ebuild in gentoo's portage for gkrellm was only at 1.2.5, which is 4 behind the official release of gkrellm (ie @ 1.2.9). So, I am submitting an ebuild for that. Again, nothing much in it. It is just a rip-off from the old ebuild, simply with a version change. Thanks again, Seemant
Created attachment 197 [details] GKrellm - GTK based stack of system monitors -- ebuild file I suppose I could've just made this a patch, huh?
Sorry, there was a z before the `use nls` in the src_compile section. Silly, coz I was testing something. The thing is - even though I have taken out nls from my USE flags, and the compile for gkrellm -- both this one and the one in current portage -- still do some nls stuff. So I was just wondering if this `use nls` thing does what I thought it does... Anyway, sorry for that. Seemant ----- cut here # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Jerry Alexandratos <jerry@gentoo.org>, version update and tar.bz2 # by Seemant Kulleen <seemant@rocketmail.com> S=${WORKDIR}/${P} DESCRIPTION="Single process stack of various system monitors" SRC_URI="http://web.wt.net/~billw/${PN}/${P}.tar.bz2" DEPEND="virtual/glibc >=x11-libs/gtk+-1.2.10-r4 >=media-libs/imlib-1.9.10-r1" src_compile() { `use nls` && ./enable_nls emake || die } src_install () { dodir /usr/{bin,include,share/man} dodir /usr/share/gkrellm/{themes,plugins} make install \ INSTALLDIR=${D}/usr/bin \ MANDIR=${D}/usr/share/man/man1 \ INCLUDEDIR=${D}/usr/include \ LOCALEDIR=${D}/usr/share/locale dodoc COPYRIGHT README Changelog docinto html dodoc Changelog-plugins.html Changelog-themes.html Themes.html }
Hi Gentoo friends, OK, This is my final submission for this e-build. This fixes the nls issue as well, It turns out that gkrellm's makefile thingy was a little different for this release. So now, nls capability is only compiled if it's in the user's USE flags. Thanks again, Seemant ---- cut here # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Jerry Alexandratos <jerry@gentoo.org> # /space/gentoo/cvsroot/gentoo-x86/app-admin/gkrellm/gkrellm-1.2.5.ebuild,v 1.1 2001/12/07 00:39:03 azarah Exp A=gkrellm-1.2.9.tar.bz2 S=${WORKDIR}/${P} DESCRIPTION="Single process stack of various system monitors" SRC_URI="http://web.wt.net/~billw/${PN}/${A}" HOMEPAGE="http://www.gkrellm.net" DEPEND="virtual/glibc >=x11-libs/gtk+-1.2.10-r4 >=media-libs/imlib-1.9.10-r1" src_compile() { rm -f Makefile if [ "`use nls`" ] ; then ln -s Makefile.top_enable_nls Makefile else ln -s Makefile.top Makefile fi emake || die } src_install () { dodir /usr/{bin,include,share/man} dodir /usr/share/gkrellm/{themes,plugins} make install \ INSTALLDIR=${D}/usr/bin \ MANDIR=${D}/usr/share/man/man1 \ INCLUDEDIR=${D}/usr/include \ LOCALEDIR=${D}/usr/share/locale dodoc COPYRIGHT README Changelog docinto html dodoc Changelog-plugins.html Changelog-themes.html Themes.html }
Hi Seemant, A couple things I noted in your ebuild. Maybe you can remedy these for next time, since it will make things easier. - shouldn't set A=, it's determined automatically by Portage from SRC_URI - changed src_compile to be much simpler - added dependency on gettext... this resulted in splitting DEPEND/RDEPEND Let me know if you see anything amiss. Thanks for the contribution. Aron