summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-04-09 21:06:33 +0000
committerUlrich Müller <ulm@gentoo.org>2009-04-09 21:06:33 +0000
commit3e6c29991d1d07e403719d49dd581cbf8c5f1180 (patch)
tree0efb7dac2fd632ba3479655e2ee6bfe3904d5690 /www-plugins
parentPackage moved from net-www to www-plugins, bug 265569. (diff)
downloadhistorical-3e6c29991d1d07e403719d49dd581cbf8c5f1180.tar.gz
historical-3e6c29991d1d07e403719d49dd581cbf8c5f1180.tar.bz2
historical-3e6c29991d1d07e403719d49dd581cbf8c5f1180.zip
Package moved from net-www to www-plugins, bug 265569.
Package-Manager: portage-2.2_rc28/cvs/Linux i686 RepoMan-Options: --force
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/nspluginwrapper/ChangeLog163
-rw-r--r--www-plugins/nspluginwrapper/metadata.xml10
-rw-r--r--www-plugins/nspluginwrapper/nspluginwrapper-1.0.0.ebuild81
-rw-r--r--www-plugins/nspluginwrapper/nspluginwrapper-1.2.2.ebuild84
4 files changed, 338 insertions, 0 deletions
diff --git a/www-plugins/nspluginwrapper/ChangeLog b/www-plugins/nspluginwrapper/ChangeLog
new file mode 100644
index 000000000000..bf60ab8bbda4
--- /dev/null
+++ b/www-plugins/nspluginwrapper/ChangeLog
@@ -0,0 +1,163 @@
+# ChangeLog for www-plugins/nspluginwrapper
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/nspluginwrapper/ChangeLog,v 1.1 2009/04/09 21:06:33 ulm Exp $
+
+ 09 Apr 2009; Ulrich Mueller <ulm@gentoo.org> +metadata.xml,
+ +nspluginwrapper-1.0.0.ebuild, +nspluginwrapper-1.2.2.ebuild:
+ Package moved from net-www to www-plugins, bug 265569. Remove unused patch
+ file.
+
+ 25 Feb 2009; Jim Ramsay <lack@gentoo.org> nspluginwrapper-1.0.0.ebuild,
+ nspluginwrapper-1.2.2.ebuild:
+ Added workaround so duplicate 32bit wrappers are not installed (or more
+ precicely, immediately removed) for multilib systems which may have
+ identical 32bit and 64bit plugins installed simultaneously, such as
+ >=net-www/netscape-flash-10.0.22.87
+
+ 03 Feb 2009; Patrick McLean <chutzpah@gentoo.org>
+ nspluginwrapper-1.2.2.ebuild:
+ Remove 64bit patch as it doesn't apply anymore, and its not needed.
+
+*nspluginwrapper-1.2.2 (02 Feb 2009)
+
+ 02 Feb 2009; Patrick McLean <chutzpah@gentoo.org>
+ -nspluginwrapper-1.1.4.ebuild, -nspluginwrapper-1.1.10.ebuild,
+ +nspluginwrapper-1.2.2.ebuild:
+ Version bump (bug #256257). Clean out beta versions.
+
+*nspluginwrapper-1.1.10 (16 Dec 2008)
+
+ 16 Dec 2008; Patrick McLean <chutzpah@gentoo.org>
+ +nspluginwrapper-1.1.10.ebuild:
+ Version bump.
+
+*nspluginwrapper-1.1.4 (19 Nov 2008)
+
+ 19 Nov 2008; Patrick McLean <chutzpah@gentoo.org>
+ -nspluginwrapper-1.1.2.ebuild, +nspluginwrapper-1.1.4.ebuild:
+ Version bump, add build dep on net-misc/curl (bug #241222).
+
+ 15 Oct 2008; Patrick McLean <chutzpah@gentoo.org> ChangeLog:
+ Version bump, clean out versions 0.9.91.5 and 1.1.0.
+
+*nspluginwrapper-1.1.0-r1 (02 Oct 2008)
+
+ 02 Oct 2008; Patrick McLean <chutzpah@gentoo.org>
+ +files/nspluginwrapper-1.1.0-quiet-64bit-plugin-warnings.patch,
+ +files/nspluginwrapper-1.1.0-windowless-crash.patch,
+ nspluginwrapper-1.0.0.ebuild, -nspluginwrapper-1.1.0.ebuild,
+ +nspluginwrapper-1.1.0-r1.ebuild:
+ Revbump 1.1.0, add patch that should fix crash bug and patch to quiet
+ warnings about 64 bit plugins. Drop original revision of 1.1.0. Stabilize
+ 1.0.0.
+
+*nspluginwrapper-1.1.0 (30 Jul 2008)
+
+ 30 Jul 2008; Patrick McLean <chutzpah@gentoo.org>
+ -nspluginwrapper-0.9.91.4.ebuild, -nspluginwrapper-0.9.91.5.ebuild,
+ +nspluginwrapper-1.1.0.ebuild:
+ Version bump, clean up ebuild slightly. Clean out older versions.
+
+*nspluginwrapper-1.0.0 (05 Jul 2008)
+
+ 05 Jul 2008; Piotr Jaroszyński <peper@gentoo.org>
+ +nspluginwrapper-1.0.0.ebuild:
+ Add 1.0.0.
+
+ 01 Mar 2008; Christoph Mende <angelos@gentoo.org>
+ nspluginwrapper-0.9.91.5-r1.ebuild:
+ Stable on amd64, bug #210991
+
+*nspluginwrapper-0.9.91.5-r1 (10 Jan 2008)
+
+ 10 Jan 2008; Patrick McLean <chutzpah@gentoo.org>
+ +files/nspluginwrapper-0.9.91.5-g_thread_init.patch,
+ +nspluginwrapper-0.9.91.5-r1.ebuild:
+ Revision bump, add patch to add support for gthread, thanks to Alex
+ Rostovtsev for pulling the patch from Fedora's RPM. (bug #203820)
+
+*nspluginwrapper-0.9.91.5 (28 Aug 2007)
+
+ 28 Aug 2007; Patrick McLean <chutzpah@gentoo.org>
+ -nspluginwrapper-0.9.91.2.ebuild, -nspluginwrapper-0.9.91.3.ebuild,
+ nspluginwrapper-0.9.91.4.ebuild, +nspluginwrapper-0.9.91.5.ebuild:
+ Version bump, update ebuilds to depend on sys-apps/setarch or
+ sys-apps/util-linux-2.13 (bug #190476). Clean out older versions.
+
+ 12 May 2007; Steve Dibb <beandog@gentoo.org>
+ nspluginwrapper-0.9.91.4.ebuild:
+ amd64 stable, bug 178059
+
+*nspluginwrapper-0.9.91.4 (09 Apr 2007)
+
+ 09 Apr 2007; Patrick McLean <chutz@gentoo.org>
+ -files/nspluginwrapper-0.9.90.4-gentoo.patch,
+ +nspluginwrapper-0.9.91.4.ebuild:
+ Version bump.
+
+*nspluginwrapper-0.9.91.3 (09 Mar 2007)
+
+ 09 Mar 2007; Patrick McLean <chutzpah@gentoo.org>
+ +nspluginwrapper-0.9.91.3.ebuild:
+ Version bump.
+
+ 08 Jan 2007; Patrick McLean <chutzpah@gentoo.org>
+ -nspluginwrapper-0.9.90.4.ebuild, nspluginwrapper-0.9.91.2.ebuild:
+ Remove TEXTREL line and delete old version.
+
+ 05 Jan 2007; Patrick McLean <chutzpah@gentoo.org>
+ nspluginwrapper-0.9.91.2.ebuild:
+ Change einfo to elog for message about how to use/install plugins.
+
+*nspluginwrapper-0.9.91.2 (04 Jan 2007)
+
+ 04 Jan 2007; Patrick McLean <chutzpah@gentoo.org>
+ -files/nspluginwrapper-0.9.90.3-gentoo.patch,
+ -nspluginwrapper-0.9.90.3.ebuild, +nspluginwrapper-0.9.91.2.ebuild:
+ Version bump, changed installation dir of plugins as per suggestion made by
+ Christian Birchinger <joker@gentoo.org>, bug #159157. Clean out older
+ version.
+
+ 22 Nov 2006; Patrick McLean <chutzpah@gentoo.org>
+ files/nspluginwrapper-0.9.90.4-gentoo.patch:
+ Adjust the configure patch so it will print out a little more information
+ when bi-arch is broken.
+
+*nspluginwrapper-0.9.90.4 (20 Nov 2006)
+
+ 20 Nov 2006; Patrick McLean <chutzpah@gentoo.org>
+ +files/nspluginwrapper-0.9.90.4-gentoo.patch,
+ +nspluginwrapper-0.9.90.4.ebuild:
+ Version bump, rework ebuild somewhat since the new version has a more
+ automated build system. Remove the "-v" from the calls to nspluginwrapper so
+ merging and unmerging doesn't print useless verbose info about the plugins
+ being installed.
+
+ 13 Nov 2006; Patrick McLean <chutzpah@gentoo.org>
+ nspluginwrapper-0.9.90.3.ebuild:
+ Clean up error message on unmerge, remove block against eselect-compiler
+ since it's masked anyway.
+
+ 23 Oct 2006; Patrick McLean <chutzpah@gentoo.org> ChangeLog:
+ Remove flash9 soundlibs einfo since net-www/netscape-flash-9* depends on it
+ now.
+
+ 22 Oct 2006; Patrick McLean <chutzpah@gentoo.org>
+ nspluginwrapper-0.9.90.3.ebuild:
+ Add dep on app-emulation/emul-linux-x86-gtklibs, this should fix bug #152216.
+
+ 20 Oct 2006; Patrick McLean <chutzpah@gentoo.org>
+ nspluginwrapper-0.9.90.3.ebuild:
+ Add an einfo to pkg_postinst about needing to install
+ app-emulation/emul-linux-x86-soundlibs for sound with flash 9.
+
+*nspluginwrapper-0.9.90.3 (20 Oct 2006)
+
+ 20 Oct 2006; Patrick McLean <chutzpah@gentoo.org>
+ +files/nspluginwrapper-0.9.90.3-gentoo.patch, +metadata.xml,
+ +nspluginwrapper-0.9.90.3.ebuild:
+ Initial version. Ebuild originally written by Herbie Hopkins
+ <herbs@gentoo.org>, also had contributions from Ahmed Ammar
+ <b33fc0d3@gmail.com> and Matsuu Takuto matsuu@gentoo.org. Closes bug
+ #138454.
+
diff --git a/www-plugins/nspluginwrapper/metadata.xml b/www-plugins/nspluginwrapper/metadata.xml
new file mode 100644
index 000000000000..195e9883808c
--- /dev/null
+++ b/www-plugins/nspluginwrapper/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>amd64</herd>
+<maintainer>
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/www-plugins/nspluginwrapper/nspluginwrapper-1.0.0.ebuild b/www-plugins/nspluginwrapper/nspluginwrapper-1.0.0.ebuild
new file mode 100644
index 000000000000..2639ec263b75
--- /dev/null
+++ b/www-plugins/nspluginwrapper/nspluginwrapper-1.0.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/nspluginwrapper/nspluginwrapper-1.0.0.ebuild,v 1.1 2009/04/09 21:06:33 ulm Exp $
+
+inherit eutils nsplugins flag-o-matic 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/nspluginwrapper/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"
+
+autoinstall() {
+ if [[ -x /usr/bin/${PN} ]]; then
+ einfo "Auto installing 32bit plugins..."
+ ${PN} -a -i
+ ls /usr/lib64/nsbrowser/plugins
+
+ # Remove wrappers if equivalent 64-bit plugins exist
+ # TODO: May be better to patch nspluginwrapper so it doesn't create
+ # duplicate wrappers in the first place...
+ local DIR64="${ROOT}/usr/lib64/nsbrowser/plugins/"
+ for f in "${DIR64}"/npwrapper.*.so; do
+ local PLUGIN=${f##*/npwrapper.}
+ if [[ -f ${DIR64}/${PLUGIN} ]]; then
+ einfo " Removing duplicate wrapper for native 64-bit ${PLUGIN}"
+ ${PN} -r "${f}"
+ fi
+ done
+ fi
+}
+
+src_compile() {
+ econf --with-biarch \
+ --with-lib32=$(ABI=x86 get_libdir) \
+ --with-lib64=$(get_libdir) \
+ --pkglibdir=/usr/$(get_libdir)/${PN} || die
+ emake || die
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" DONT_STRIP=yes install || die
+
+ inst_plugin /usr/$(get_libdir)/nspluginwrapper/x86_64/linux/npwrapper.so
+ dosym /usr/$(get_libdir)/nspluginwrapper/x86_64/linux/npconfig /usr/bin/nspluginwrapper
+
+ dodoc NEWS README TODO ChangeLog
+}
+
+pkg_postinst() {
+ autoinstall
+ 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..."
+ nspluginwrapper -a -r
+}
+
+pkg_postrm() {
+ autoinstall
+}
diff --git a/www-plugins/nspluginwrapper/nspluginwrapper-1.2.2.ebuild b/www-plugins/nspluginwrapper/nspluginwrapper-1.2.2.ebuild
new file mode 100644
index 000000000000..aab821f88dab
--- /dev/null
+++ b/www-plugins/nspluginwrapper/nspluginwrapper-1.2.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/nspluginwrapper/nspluginwrapper-1.2.2.ebuild,v 1.1 2009/04/09 21:06:33 ulm 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
+ net-misc/curl
+ 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"
+
+autoinstall() {
+ if [[ -x /usr/bin/${PN} ]]; then
+ einfo "Auto installing 32bit plugins..."
+ ${PN} -a -i
+ ls /usr/lib64/nsbrowser/plugins
+
+ # Remove wrappers if equivalent 64-bit plugins exist
+ # TODO: May be better to patch nspluginwrapper so it doesn't create
+ # duplicate wrappers in the first place...
+ local DIR64="${ROOT}/usr/lib64/nsbrowser/plugins/"
+ for f in "${DIR64}"/npwrapper.*.so; do
+ local PLUGIN=${f##*/npwrapper.}
+ if [[ -f ${DIR64}/${PLUGIN} ]]; then
+ einfo " Removing duplicate wrapper for native 64-bit ${PLUGIN}"
+ ${PN} -r "${f}"
+ fi
+ done
+ fi
+}
+
+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() {
+ autoinstall
+ 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() {
+ autoinstall
+}