Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Patrick McLean (chutzpah)" <chutzpah@g.o>
Subject: gentoo-x86 commit in net-www/nspluginwrapper: ChangeLog nspluginwrapper-1.1.2.ebuild nspluginwrapper-0.9.91.5-r1.ebuild nspluginwrapper-1.1.0-r1.ebuild
Date: Wed, 15 Oct 2008 15:56:48 +0000
chutzpah    08/10/15 15:56:48

  Modified:             ChangeLog
  Added:                nspluginwrapper-1.1.2.ebuild
  Removed:              nspluginwrapper-0.9.91.5-r1.ebuild
                        nspluginwrapper-1.1.0-r1.ebuild
  Log:
  Version bump, clean out versions 0.9.91.5 and 1.1.0.
  (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)

Revision  Changes    Path
1.21                 net-www/nspluginwrapper/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?r1=1.20&r2=1.21

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog	2 Oct 2008 03:19:56 -0000	1.20
+++ ChangeLog	15 Oct 2008 15:56:48 -0000	1.21
@@ -1,6 +1,9 @@
 # ChangeLog for net-www/nspluginwrapper
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v 1.20 2008/10/02 03:19:56 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v 1.21 2008/10/15 15:56:48 chutzpah Exp $
+
+  15 Oct 2008; Patrick McLean <chutzpah@g.o> ChangeLog:
+  Version bump, clean out versions 0.9.91.5 and 1.1.0.
 
 *nspluginwrapper-1.1.0-r1 (02 Oct 2008)
 



1.1                  net-www/nspluginwrapper/nspluginwrapper-1.1.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.1.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.1.2.ebuild?rev=1.1&content-type=text/plain

Index: nspluginwrapper-1.1.2.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.1.2.ebuild,v 1.1 2008/10/15 15:56:48 chutzpah Exp $

inherit eutils nsplugins multilib

DESCRIPTION="Netscape Plugin Wrapper - Load 32bit plugins on 64bit browser"
HOMEPAGE="http://www.gibix.net/projects/nspluginwrapper/"
SRC_URI="http://www.gibix.net/projects/${PN}/files/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND=">=x11-libs/gtk+-2
	app-emulation/emul-linux-x86-xlibs
	app-emulation/emul-linux-x86-gtklibs
	|| ( >=sys-apps/util-linux-2.13 sys-apps/setarch )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_unpack() {
	unpack ${A}
	cd "${S}"

	# bug #238403
	epatch "${FILESDIR}/${PN}-1.1.0-quiet-64bit-plugin-warnings.patch"
}

src_compile() {
	econf --with-biarch \
		--with-lib32=$(ABI=x86 get_libdir) \
		--with-lib64=$(get_libdir) \
		--pkglibdir=/usr/$(get_libdir)/${PN}

	emake || die "emake failed"

}

src_install() {
	emake -j1 DESTDIR="${D}" install || die "emake install failed"

	inst_plugin "/usr/$(get_libdir)/${PN}/x86_64/linux/npwrapper.so"
	dosym "/usr/$(get_libdir)/${PN}/x86_64/linux/npconfig" "/usr/bin/${PN}"

	dodoc NEWS README TODO ChangeLog
}

pkg_postinst() {
	einfo "Auto installing 32bit plugins..."
	${PN} -a -i
	elog "Any 32bit plugins you currently have installed have now been"
	elog "configured to work in a 64bit browser. Any plugins you install in"
	elog "the future will first need to be setup with:"
	elog "  \"nspluginwrapper -i <path-to-32bit-plugin>\""
	elog "before they will function in a 64bit browser"
	elog
}

# this is terribly ugly, but without a way to query portage as to whether
# we are upgrading/reinstalling a package versus unmerging, I can't think of
# a better way

pkg_prerm() {
	einfo "Removing wrapper plugins..."
	${PN} --auto --remove
}

pkg_postrm() {
	if [[ -x /usr/bin/${PN} ]]; then
		einfo "Auto installing 32bit plugins..."
		${PN} --auto --install
	fi
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in net-www/nspluginwrapper/files: nspluginwrapper-0.9.91.5-g_thread_init.patch nspluginwrapper-1.1.0-windowless-crash.patch
Next by thread:
gentoo-x86 commit in games-arcade/stepmania/files: stepmania-3.9-newerffmpeg.diff
Previous by date:
gentoo-x86 commit in net-www/nspluginwrapper/files: nspluginwrapper-0.9.91.5-g_thread_init.patch nspluginwrapper-1.1.0-windowless-crash.patch
Next by date:
gentoo-x86 commit in games-arcade/stepmania/files: stepmania-3.9-newerffmpeg.diff


Updated Aug 07, 2010

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.