diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2005-06-23 21:55:52 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2005-06-23 21:55:52 +0000 |
commit | 0916da69236b16221e87cc88e719d50cb2a2a2a1 (patch) | |
tree | 83582b18cd97e5f904decb02121fab9f1ba51c16 /net-p2p | |
parent | removed liquidx as maintainer of this package; desktop-misc herd will handle ... (diff) | |
download | gentoo-2-0916da69236b16221e87cc88e719d50cb2a2a2a1.tar.gz gentoo-2-0916da69236b16221e87cc88e719d50cb2a2a2a1.tar.bz2 gentoo-2-0916da69236b16221e87cc88e719d50cb2a2a2a1.zip |
Version bump, bug #91697. Release fixes bug #95524, #71353 and #63746. Fixed DEPEND variable to hit gtk+-2.6, bug #77918
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/gtk-gnutella/ChangeLog | 9 | ||||
-rw-r--r-- | net-p2p/gtk-gnutella/files/digest-gtk-gnutella-0.95.3 | 1 | ||||
-rw-r--r-- | net-p2p/gtk-gnutella/gtk-gnutella-0.95.3.ebuild | 89 | ||||
-rw-r--r-- | net-p2p/gtk-gnutella/gtk-gnutella-0.95.ebuild | 4 |
4 files changed, 100 insertions, 3 deletions
diff --git a/net-p2p/gtk-gnutella/ChangeLog b/net-p2p/gtk-gnutella/ChangeLog index 450cc9edea4d..95d25ecc4d22 100644 --- a/net-p2p/gtk-gnutella/ChangeLog +++ b/net-p2p/gtk-gnutella/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-p2p/gtk-gnutella # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.38 2005/05/29 02:37:07 yoswink Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.39 2005/06/23 21:55:52 sekretarz Exp $ + +*gtk-gnutella-0.95.3 (23 Jun 2005) + + 23 Jun 2005; <sekretarz@gentoo.org> gtk-gnutella-0.95.ebuild, + +gtk-gnutella-0.95.3.ebuild: + Version bump, bug #91697. Release fixes bug #95524, #71353 and #63746. Fixed + DEPEND variable to hit gtk+-2.6, bug #77918 29 May 2005; Jose Luis Rivero <yoswink@gentoo.org> gtk-gnutella-0.95-r1.ebuild: diff --git a/net-p2p/gtk-gnutella/files/digest-gtk-gnutella-0.95.3 b/net-p2p/gtk-gnutella/files/digest-gtk-gnutella-0.95.3 new file mode 100644 index 000000000000..bc24c5edc6a2 --- /dev/null +++ b/net-p2p/gtk-gnutella/files/digest-gtk-gnutella-0.95.3 @@ -0,0 +1 @@ +MD5 bde94b95622f895294bffac8cecbe67a gtk-gnutella-0.95.3.tar.bz2 2306819 diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-0.95.3.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-0.95.3.ebuild new file mode 100644 index 000000000000..3184b4600c57 --- /dev/null +++ b/net-p2p/gtk-gnutella/gtk-gnutella-0.95.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.95.3.ebuild,v 1.1 2005/06/23 21:55:52 sekretarz Exp $ + +inherit eutils + +IUSE="gnome gtk2 xml2 nls" + +DESCRIPTION="A GTK+ Gnutella client" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +RESTRICT="nomirror" +HOMEPAGE="http://gtk-gnutella.sourceforge.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +DEPEND="xml2? ( dev-libs/libxml2 ) + gtk2? ( =dev-libs/glib-2* >=x11-libs/gtk+-2.6.4 ) + !gtk2? ( =dev-libs/glib-1.2* =x11-libs/gtk+-1.2* ) + dev-util/yacc + nls? ( >=sys-devel/gettext-0.11.5 )" + +src_unpack() { + unpack ${A} + cd ${S} +} + +src_compile() { + local myconf + + if use gtk2; then + myconf="-Dgtkversion=2" + else + myconf="-Dgtkversion=1" + fi + + if use xml2; then + myconf="${myconf} -Dd_libxml2" + else + myconf="${myconf} -Ud_libxml2" + fi + + if use nls; then + myconf="${myconf} -Dd_enablenls -Dgmsgfmt=\"/usr/bin/msgfmt\" -Dmsgfmt=\"/usr/bin/msgfmt\"" + else + myconf="${myconf} -Ud_enablenls" + fi + + ./Configure -d -s -e \ + -Dprefix="/usr" \ + -Dprivlib="/usr/share/gtk-gnutella" \ + -Dccflags="${CFLAGS}" \ + ${myconf} \ + -Doptimize=" " \ + -Dofficial="true" || die "Configure failed" + + emake || die "Compile failed" +} + +src_install() { + dodir /usr/bin + make INSTALL_PREFIX=${D} install || die "Install failed" + find ${D}/usr/share -type f -exec chmod a-x {} \; + dodoc AUTHORS ChangeLog README TODO + + if use gnome; then + insinto /usr/share/gnome/apps/Internet + doins ${FILESDIR}/gtk-gnutella.desktop || die + fi +} + +pkg_postinst() { + if use gtk2; then + ewarn "The GTK2 interface currently does not have a maintainer--not all" + ewarn "options which are available in the GTK1 interface might have made" + ewarn "it in the GTK2 interface. The GTK2 interface also" + ewarn "has a known bug which causes an invalid assertion if" + ewarn "you select passive search" + echo + fi + + if ! use xml2; then + ewarn "You have installed gtk-gnutella without xml2 support. As such, your" + ewarn "search filters may not be saved when you quit the application." + einfo "If you would like this feature enabled, re-emerge with USE=\"xml2\"." + echo + fi +} diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-0.95.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-0.95.ebuild index 1202ba71b84d..b4a1837e26a6 100644 --- a/net-p2p/gtk-gnutella/gtk-gnutella-0.95.ebuild +++ b/net-p2p/gtk-gnutella/gtk-gnutella-0.95.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.95.ebuild,v 1.2 2005/01/30 20:46:05 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.95.ebuild,v 1.3 2005/06/23 21:55:52 sekretarz Exp $ IUSE="gnome gtk2 xml2 nls" @@ -14,7 +14,7 @@ LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~sparc ~amd64" DEPEND="xml2? ( dev-libs/libxml2 ) - gtk2? ( =dev-libs/glib-2* =x11-libs/gtk+-2* ) + gtk2? ( =dev-libs/glib-2* >=x11-libs/gtk+-2.6.4 ) !gtk2? ( =dev-libs/glib-1.2* =x11-libs/gtk+-1.2* ) dev-util/yacc nls? ( >=sys-devel/gettext-0.11.5 )" |