



Code: Select all
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit rpm
DESCRIPTION="Netscape Plugin Wrapper 32bit plugins on 64bit browser"
HOMEPAGE="http://www.gibix.net/dokuwiki/en:projects:nspluginwrapper"
SRC_URI="http://www.gibix.net/projects/nspluginwrapper/files/nspluginwrapper-0.9.90-1.x86_64.rpm
http://www.gibix.net/projects/nspluginwrapper/files/nspluginwrapper-i386-0.9.90-1.x86_64.rpm"
LICENSE="Other"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND=""
src_install()
{
cp -R "${WORKDIR}/usr" ${D}
dodir /usr/lib/mozilla-firefox/plugins
cd ${D}/usr/lib/mozilla-firefox/plugins
ln -s ../../nspluginwrapper/x86_64/npwrapper.so
chmod -R a+rx ${D}/usr/lib/nspluginwrapper/
}
pkg_postinst()
{
cd /usr/lib/nspluginwrapper/x86_64
./npconfig -i /opt/netscape/plugins/libflashplayer.so
cd /usr/lib/mozilla-firefox/plugins
ln -s ../../mozilla/plugins/npwrapper.* .
chmod -R a+rx /usr/lib/nspluginwrapper/
}
Code: Select all
*** loading the extensions datasource
*** NSPlugin Wrapper *** WARNING: unhandled variable 15 for NPP_GetValue
*** NSPlugin Wrapper *** WARNING: unhandled variable 11 for NPP_GetValue
*** NSPlugin Wrapper *** WARNING: unhandled variable 15 for NPP_GetValue
*** NSPlugin Wrapper *** WARNING: unhandled variable 11 for NPP_GetValue
*** NSPlugin Wrapper *** WARNING: unhandled variable 15 for NPP_GetValue
*** NSPlugin Wrapper *** WARNING: unhandled variable 11 for NPP_GetValue
*** NSPlugin Viewer *** ERROR: failed to receive reply from NPN_GetURLNotify
/usr/libexec/mozilla-launcher: line 116: 10611 Violación de segmento "$mozbin" "$@"
firefox-bin exited with non-zero status (139)
The program 'npviewer.bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 660 error_code 3 request_code 3 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

