[th] nspluginwrapper - how to build it?

Michał Łukaszek mlukaszek at gmail.com
Thu May 31 18:33:22 CEST 2007


On 5/31/07, Jakub Bogusz <qboosh at pld-linux.org> wrote:

> Forget about static linking. gtk+2 and pango dlopen modules.

OK, I managed to run it, and I can confirm it indeed lets you use
32bit flash in 64bit browser (I have tested konqueror and firefox).

Packages I had to install from th-i686:
$ rpm -qa | grep i686 | sort
atk-1.18.0-1.i686
cairo-1.4.6-1.i686
cups-lib-1.2.10-2.i686
expat-2.0.0-3.i686
fontconfig-libs-2.4.2-2.i686
freetype-2.3.4-1.i686
glib-1.2.10-14.i686
glib2-2.12.12-1.i686
glibc-2.6-1.i686
glibc-devel-2.6-1.i686
gtk+2-2.10.12-1.i686
libjpeg-6b-27.i686
libpng-1.2.16-1.i686
libtiff-3.8.2-4.i686
libxcb-1.0-4.i686
openssl-0.9.8e-4.i686
pango-1.16.4-1.i686
xcb-util-0.2-1.i686
xorg-lib-libICE-1.0.3-1.i686
xorg-lib-libSM-1.0.3-1.i686
xorg-lib-libX11-1.1.1-3.i686
xorg-lib-libXau-1.0.3-1.i686
xorg-lib-libXcursor-1.1.8-3.i686
xorg-lib-libXdmcp-1.0.2-4.i686
xorg-lib-libXext-1.0.3-1.i686
xorg-lib-libXfixes-4.0.3-3.i686
xorg-lib-libXft-2.1.12-2.i686
xorg-lib-libXi-1.1.0-3.i686
xorg-lib-libXinerama-1.0.2-1.i686
xorg-lib-libXrandr-1.2.1-1.i686
xorg-lib-libXrender-0.9.2-3.i686
xorg-lib-libXt-1.0.5-2.i686
zlib-1.2.3-4.i686

I did not manage to do the Flash plugin installation "the right way" though ;-)

I just manually moved libflashplayer.so and flashplayer.xpt to
/usr/lib/browser-plugins
Then run nspluginwrapper -i /usr/lib/browser-plugins/libflashplayer.so
That in turn created npwrapper.libflashplayer.so in
~/.mozilla/plugins/ which I moved to /usr/lib64/browser-plugins/.
Chmod 755 *.so, 644 *.xpt, chown root:root, and voila!

I'd be nice to see a kosher way to do this, but I can live without it ;-)

-- 
regards,
Michał Łukaszek
prism at pld-linux.org


More information about the pld-devel-en mailing list