Gentoo Archives: gentoo-commits

From: "Patrick McLean (chutzpah)" <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-www/nspluginwrapper: ChangeLog nspluginwrapper-1.0.0.ebuild nspluginwrapper-1.1.0-r1.ebuild nspluginwrapper-1.1.0.ebuild
Date: Thu, 02 Oct 2008 03:17:01
Message-Id: E1KlEgT-00066X-9j@stork.gentoo.org
1 chutzpah 08/10/02 03:16:57
2
3 Modified: ChangeLog nspluginwrapper-1.0.0.ebuild
4 Added: nspluginwrapper-1.1.0-r1.ebuild
5 Removed: nspluginwrapper-1.1.0.ebuild
6 Log:
7 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.
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc8 x86_64)
9
10 Revision Changes Path
11 1.19 net-www/nspluginwrapper/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?rev=1.19&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?rev=1.19&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/ChangeLog?r1=1.18&r2=1.19
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v
20 retrieving revision 1.18
21 retrieving revision 1.19
22 diff -u -r1.18 -r1.19
23 --- ChangeLog 30 Jul 2008 19:46:54 -0000 1.18
24 +++ ChangeLog 2 Oct 2008 03:16:56 -0000 1.19
25 @@ -1,6 +1,17 @@
26 # ChangeLog for net-www/nspluginwrapper
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v 1.18 2008/07/30 19:46:54 chutzpah Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/ChangeLog,v 1.19 2008/10/02 03:16:56 chutzpah Exp $
30 +
31 +*nspluginwrapper-1.1.0-r1 (02 Oct 2008)
32 +
33 + 02 Oct 2008; Patrick McLean <chutz@g.o>
34 + +files/nspluginwrapper-1.1.0-quiet-64bit-plugin-warnings.patch,
35 + +files/nspluginwrapper-1.1.0-windowless-crash.patch,
36 + nspluginwrapper-1.0.0.ebuild, -nspluginwrapper-1.1.0.ebuild,
37 + +nspluginwrapper-1.1.0-r1.ebuild:
38 + Revbump 1.1.0, add patch that should fix crash bug and patch to quiet
39 + warnings about 64 bit plugins. Drop original revision of 1.1.0. Stabilize
40 + 1.0.0.
41
42 *nspluginwrapper-1.1.0 (30 Jul 2008)
43
44
45
46
47 1.2 net-www/nspluginwrapper/nspluginwrapper-1.0.0.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.0.0.ebuild?rev=1.2&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.0.0.ebuild?rev=1.2&content-type=text/plain
51 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.0.0.ebuild?r1=1.1&r2=1.2
52
53 Index: nspluginwrapper-1.0.0.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.0.0.ebuild,v
56 retrieving revision 1.1
57 retrieving revision 1.2
58 diff -u -r1.1 -r1.2
59 --- nspluginwrapper-1.0.0.ebuild 5 Jul 2008 23:52:53 -0000 1.1
60 +++ nspluginwrapper-1.0.0.ebuild 2 Oct 2008 03:16:56 -0000 1.2
61 @@ -1,6 +1,6 @@
62 # Copyright 1999-2008 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.0.0.ebuild,v 1.1 2008/07/05 23:52:53 peper Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.0.0.ebuild,v 1.2 2008/10/02 03:16:56 chutzpah Exp $
66
67 inherit eutils nsplugins flag-o-matic multilib
68
69 @@ -10,7 +10,7 @@
70
71 LICENSE="GPL-2"
72 SLOT="0"
73 -KEYWORDS="~amd64"
74 +KEYWORDS="amd64"
75 IUSE=""
76
77 RDEPEND=">=x11-libs/gtk+-2
78
79
80
81 1.1 net-www/nspluginwrapper/nspluginwrapper-1.1.0-r1.ebuild
82
83 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.1.0-r1.ebuild?rev=1.1&view=markup
84 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.1.0-r1.ebuild?rev=1.1&content-type=text/plain
85
86 Index: nspluginwrapper-1.1.0-r1.ebuild
87 ===================================================================
88 # Copyright 1999-2008 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-1.1.0-r1.ebuild,v 1.1 2008/10/02 03:16:56 chutzpah Exp $
91
92 inherit eutils nsplugins multilib
93
94 DESCRIPTION="Netscape Plugin Wrapper - Load 32bit plugins on 64bit browser"
95 HOMEPAGE="http://www.gibix.net/projects/nspluginwrapper/"
96 SRC_URI="http://www.gibix.net/projects/${PN}/files/${P}.tar.bz2"
97
98 LICENSE="GPL-2"
99 SLOT="0"
100 KEYWORDS="~amd64"
101 IUSE=""
102
103 RDEPEND=">=x11-libs/gtk+-2
104 app-emulation/emul-linux-x86-xlibs
105 app-emulation/emul-linux-x86-gtklibs
106 || ( >=sys-apps/util-linux-2.13 sys-apps/setarch )"
107 DEPEND="${RDEPEND}
108 dev-util/pkgconfig"
109
110 src_unpack() {
111 unpack ${A}
112 cd "${S}"
113
114 # should fix some crashing
115 epatch "${FILESDIR}/${P}-windowless-crash.patch"
116
117 # bug #238403
118 epatch "${FILESDIR}/${P}-quiet-64bit-plugin-warnings.patch"
119 }
120
121 src_compile() {
122 econf --with-biarch \
123 --with-lib32=$(ABI=x86 get_libdir) \
124 --with-lib64=$(get_libdir) \
125 --pkglibdir=/usr/$(get_libdir)/${PN}
126
127 emake || die "emake failed"
128
129 }
130
131 src_install() {
132 emake -j1 DESTDIR="${D}" install || die "emake install failed"
133
134 inst_plugin "/usr/$(get_libdir)/${PN}/x86_64/linux/npwrapper.so"
135 dosym "/usr/$(get_libdir)/${PN}/x86_64/linux/npconfig" "/usr/bin/${PN}"
136
137 dodoc NEWS README TODO ChangeLog
138 }
139
140 pkg_postinst() {
141 einfo "Auto installing 32bit plugins..."
142 ${PN} -a -i
143 elog "Any 32bit plugins you currently have installed have now been"
144 elog "configured to work in a 64bit browser. Any plugins you install in"
145 elog "the future will first need to be setup with:"
146 elog " \"nspluginwrapper -i <path-to-32bit-plugin>\""
147 elog "before they will function in a 64bit browser"
148 elog
149 }
150
151 # this is terribly ugly, but without a way to query portage as to whether
152 # we are upgrading/reinstalling a package versus unmerging, I can't think of
153 # a better way
154
155 pkg_prerm() {
156 einfo "Removing wrapper plugins..."
157 ${PN} --auto --remove
158 }
159
160 pkg_postrm() {
161 if [[ -x /usr/bin/${PN} ]]; then
162 einfo "Auto installing 32bit plugins..."
163 ${PN} --auto --install
164 fi
165 }