diff options
author | Pacho Ramos <pacho@gentoo.org> | 2010-03-05 09:33:57 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2010-03-05 09:33:57 +0000 |
commit | 0d00cfa74a8f1f5c3aa76a174db9e0b7ba67df61 (patch) | |
tree | 3cd26bff0b72a75f595e4e684216e2da2808fbef /net-libs | |
parent | Moved over from dev-util category (diff) | |
download | gentoo-2-0d00cfa74a8f1f5c3aa76a174db9e0b7ba67df61.tar.gz gentoo-2-0d00cfa74a8f1f5c3aa76a174db9e0b7ba67df61.tar.bz2 gentoo-2-0d00cfa74a8f1f5c3aa76a174db9e0b7ba67df61.zip |
Fix bug 300457
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libproxy/ChangeLog | 9 | ||||
-rw-r--r-- | net-libs/libproxy/libproxy-0.2.3-r3.ebuild | 99 |
2 files changed, 106 insertions, 2 deletions
diff --git a/net-libs/libproxy/ChangeLog b/net-libs/libproxy/ChangeLog index d0284ff88b84..5c0439cd855a 100644 --- a/net-libs/libproxy/ChangeLog +++ b/net-libs/libproxy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/libproxy -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.24 2009/10/31 14:09:27 ranger Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.25 2010/03/05 09:33:57 pacho Exp $ + +*libproxy-0.2.3-r3 (05 Mar 2010) + + 05 Mar 2010; Pacho Ramos <pacho@gentoo.org> +libproxy-0.2.3-r3.ebuild: + Drop seamonkey dependency due bug 300457 , thanks to Lars Wendler 31 Oct 2009; Brent Baude <ranger@gentoo.org> libproxy-0.2.3-r2.ebuild: Marking libproxy-0.2.3-r2 ppc64 for bug 289419 diff --git a/net-libs/libproxy/libproxy-0.2.3-r3.ebuild b/net-libs/libproxy/libproxy-0.2.3-r3.ebuild new file mode 100644 index 000000000000..84199b0c3242 --- /dev/null +++ b/net-libs/libproxy/libproxy-0.2.3-r3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/libproxy-0.2.3-r3.ebuild,v 1.1 2010/03/05 09:33:57 pacho Exp $ + +EAPI="2" + +inherit autotools eutils python portability + +DESCRIPTION="Library for automatic proxy configuration management" +HOMEPAGE="http://code.google.com/p/libproxy/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="gnome kde networkmanager python webkit xulrunner" + +RDEPEND=" + gnome? ( + x11-libs/libX11 + x11-libs/libXmu + gnome-base/gconf ) + kde? ( + x11-libs/libX11 + x11-libs/libXmu ) + networkmanager? ( net-misc/networkmanager ) + python? ( >=dev-lang/python-2.5 ) + webkit? ( net-libs/webkit-gtk ) + xulrunner? ( >=net-libs/xulrunner-1.9.0.11-r1:1.9 ) +" +# Since xulrunner-1.9.0.11-r1 its shipped mozilla-js.pc is fixed so we can use it + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.19" + +src_prepare() { + # http://code.google.com/p/libproxy/issues/detail?id=23 + epatch "${FILESDIR}/${P}-fix-dbus-includes.patch" + + # http://code.google.com/p/libproxy/issues/detail?id=24 + epatch "${FILESDIR}/${P}-fix-python-automagic.patch" + + # http://code.google.com/p/libproxy/issues/detail?id=25 + epatch "${FILESDIR}/${P}-fix-as-needed-problem.patch" + + # Bug 275127 and 275318 + epatch "${FILESDIR}/${P}-fix-automagic-mozjs.patch" + + # Fix implicit declaration QA, bug #268546 + epatch "${FILESDIR}/${P}-implicit-declaration.patch" + + epatch "${FILESDIR}/${P}-fbsd.patch" # drop at next bump + + # Fix test to follow POSIX (for x86-fbsd). + # FIXME: This doesn't actually fix all == instances when two are on the same line + sed -e 's/\(test.*\)==/\1=/g' -i configure.ac configure || die "sed failed" + + eautoreconf +} + +src_configure() { + local myconf + + # xulrunner:1.9 => mozilla; + # xulrunner:1.8 => xulrunner; (firefox => mozilla-firefox[-xulrunner] ?) + if use xulrunner; then myconf="--with-mozjs=mozilla" + else myconf="--without-mozjs" + fi + + econf --with-envvar \ + --with-file \ + --disable-static \ + $(use_with gnome) \ + $(use_with kde) \ + $(use_with webkit) \ + ${myconf} \ + $(use_with networkmanager) \ + $(use_with python) +} + +src_compile() { + emake LIBDL="$(dlopen_lib)" || die +} + +src_install() { + emake DESTDIR="${D}" LIBDL="$(dlopen_lib)" install || die "emake install failed!" + dodoc AUTHORS NEWS README ChangeLog || die "dodoc failed" +} + +pkg_postinst() { + if use python; then + python_need_rebuild + python_mod_optimize "$(python_get_sitedir)/${PN}.py" + fi +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/${PN}.py +} |