Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 84533 Details for
Bug 129257
app-admin/gkrellm-2.2.9 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gkrellm-2.2.7.ebuild.diff
gkrellm-2.2.7.ebuild.diff (text/plain), 3.82 KB, created by
Tristan Heaven (RETIRED)
on 2006-04-12 23:29:32 UTC
(
hide
)
Description:
gkrellm-2.2.7.ebuild.diff
Filename:
MIME Type:
Creator:
Tristan Heaven (RETIRED)
Created:
2006-04-12 23:29:32 UTC
Size:
3.82 KB
patch
obsolete
>--- /usr/portage/app-admin/gkrellm/gkrellm-2.2.7.ebuild >+++ gkrellm-2.2.9.ebuild >@@ -1,88 +1,94 @@ >-# Copyright 1999-2005 Gentoo Foundation >+# Copyright 1999-2006 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/gkrellm-2.2.7.ebuild,v 1.1 2005/07/17 23:12:30 mholzer Exp $ >+# $Header: $ > > inherit eutils > > DESCRIPTION="Single process stack of various system monitors" > HOMEPAGE="http://www.gkrellm.net/" >-SRC_URI="http://members.dslextreme.com/users/billw/gkrellm/${P}.tar.bz2" >+SRC_URI="http://members.dslextreme.com/users/billw/${PN}/${P}.tar.bz2" > > LICENSE="GPL-2" > SLOT="2" > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" >-IUSE="X nls ssl" >+IUSE="gnutls nls ssl X" > >-DEPEND="=dev-libs/glib-1* >+RDEPEND="dev-libs/glib >+ gnutls? ( net-libs/gnutls ) >+ nls? ( virtual/libintl ) > ssl? ( dev-libs/openssl ) >- X? ( >=x11-libs/gtk+-2.0.5 >- >=x11-libs/pango-1.4.0 )" >-RDEPEND="${DEPEND} >+ X? ( >=x11-libs/gtk+-2 )" >+DEPEND="${RDEPEND} > nls? ( sys-devel/gettext )" > >-S=${WORKDIR}/${P/a/} >+pkg_setup() { >+ enewgroup gkrellmd >+ enewuser gkrellmd -1 -1 -1 gkrellmd >+} > >-src_compile() { >- local myconf >- if ! use nls; then >- sed -i "s:enable_nls=1:enable_nls=0:" Makefile || die >- fi >+src_unpack() { >+ unpack ${A} >+ cd "${S}" > >- sed -i -e 's:INSTALLROOT ?= /usr/local:INSTALLROOT ?= ${D}/usr:' \ >- -e "s:\(PKGCONFIGDIR ?= \$(INSTALLROOT)/\)lib:\1$(get_libdir):" \ >- Makefile || die >+ epatch "${FILESDIR}"/${P}-gnutls.patch > >- sed -i -e "s:/usr/lib:/usr/$(get_libdir):" \ >+ sed -e 's:#user\tnobody:user\tgkrellmd:' \ >+ -e 's:#group\tproc:group\tgkrellmd:' \ >+ -i server/gkrellmd.conf || die "sed gkrellmd.conf failed" >+ >+ sed -e "s:/usr/lib:/usr/$(get_libdir):" \ > -e "s:/usr/local/lib:/usr/local/$(get_libdir):" \ >- src/gkrellm.h || die >+ -i src/${PN}.h || die "sed ${PN}.h failed" >+} > >- if use X >- then >- use ssl || myconf="without-ssl=yes" >- PREFIX=/usr emake ${myconf} || die >+src_compile() { >+ if use X ; then >+ emake \ >+ INSTALLROOT=/usr \ >+ INCLUDEDIR=/usr/include/gkrellm2 \ >+ LINK_FLAGS="${LDFLAGS}" \ >+ $(use nls || echo enable_nls=0) \ >+ $(use gnutls || echo without_gnutls=yes) \ >+ $(use ssl || echo without_ssl=yes) \ >+ || die "emake failed" > else >- cd ${S}/server >- emake glib12=1 || die >+ cd server >+ emake LINK_FLAGS="${LDFLAGS}" \ >+ || die "emake failed" > fi > } > > src_install() { >- dodir /usr/{bin,include,share/man} >+ if use X ; then >+ make install \ >+ $(use nls || echo enable_nls=0) \ >+ INSTALLDIR="${D}"/usr/bin \ >+ MANDIR="${T}" \ >+ INCLUDEDIR="${D}"/usr/include \ >+ LOCALEDIR="${D}"/usr/share/locale \ >+ PKGCONFIGDIR="${D}"/usr/$(get_libdir)/pkgconfig \ >+ || die "make install failed" >+ >+ mv "${D}"/usr/bin/{${PN},gkrellm2} >+ >+ dohtml *.html >+ newman ${PN}.1 gkrellm2.1 > >- if use X >- then >- keepdir /usr/share/gkrellm2/themes >- keepdir /usr/$(get_libdir)/gkrellm2/plugins >- >- make DESTDIR=${D} install \ >- INSTALLDIR=${D}/usr/bin \ >- MANDIR=${D}/usr/share/man/man1 \ >- INCLUDEDIR=${D}/usr/include \ >- LOCALEDIR=${D}/usr/share/locale \ >- PKGCONFIGDIR=${D}/usr/$(get_libdir)/pkgconfig >- >- cd ${S} >- mv gkrellm.1 gkrellm2.1 >- >- mv src/gkrellm src/gkrellm2 >- dobin src/gkrellm2 >- rm -f ${D}/usr/bin/gkrellm >+ newicon src/icon.xpm ${PN}.xpm >+ make_desktop_entry gkrellm2 GKrellM ${PN}.xpm > else >- cd ${S}/server >- dobin gkrellmd >- cd ${S} >- rm gkrellm.1 >- fi >+ dobin server/gkrellmd || die "dobin failed" > >- rm -f ${D}/usr/share/man/man1/* >- doman *.1 >+ insinto /usr/include/gkrellm2 >+ doins server/gkrellmd.h >+ fi > >- exeinto /etc/init.d >- doexe ${FILESDIR}/gkrellmd >+ doinitd "${FILESDIR}"/gkrellmd \ >+ || die "doinitd failed" > > insinto /etc > doins server/gkrellmd.conf > >- dodoc CREDITS INSTALL README Changelog >- dohtml *.html >+ doman gkrellmd.1 >+ dodoc Changelog CREDITS README > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 129257
:
84533
|
85122