On 5/4/07, Jacob Meuser <[EMAIL PROTECTED]> wrote:
On Fri, May 04, 2007 at 08:11:41AM +0200, Benoit Chesneau wrote:
> >the PLIST isn't right. this will probably be in www/, so the
> >BASE_PKGPATH will be www/nspluginwrapper.
> >
> >also, on amd64, MACHINE_ARCH is amd64 not x86_64.
> >
> >--
> >[EMAIL PROTECTED]
> >SDF Public Access UNIX System - http://sdf.lonestar.org
> >
> Thanks for your test. I change the configure patch to allow amd64 as
> MACHINE_ARCH.
configure already knew about amd64. it is using x86_64 internally.
the problem is with the PLIST.
> About BASE_PKGPATH I don't understand. You mean install
> nspluginwrapper in /usr/local/lib/www/nspluginwrapper ? Why couldn't
> it be /usr/local/lib/nspluginwrapper the default path ?
no. see bsd.port.mk(5), then look at your PLIST.
> Anyway here is new port source with amd64 enabled :
>
http://babilu.metavers.net/openbsd/nspluginwrapper/obsd-nspluginwrapper-0.9.91.4_2.tar.gz
I cleaned up your previous version (please model port Makefiles after
/usr/ports/infrastructure/templates/Makefile.template and read the
notes in there) and got it to install on amd64. I was going to
install the mozilla-flashplugin, but it depends on linux libs ...
so I installed both ports on an i386 and ran the nspluginwrapper
command. it seemed to work, but it doesn't seem to be able to
handle any streaming media. when I start firefox in an xterm and
try to listen to music from www.archive.org, or play videos at
myspace.com, I get:
LoadPlugin: failed to initialize shared library
/usr/local/lib/mozilla-plugins/libflashplayer.so [Cannot load specified object]
*** NSPlugin Wrapper *** ERROR: NPP_Write() wait for reply: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_DestroyStream() invoke: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed
...
seems kind of pointless without streaming media support, IMO.
Ok i fix a problem in a patch, clean source and now it works better. I
tested it on youtube and archive.org and I was abble to have stream
and see a videon until the end. No sound yet. Problem appear when you
reload the page or make some event on the page while flash is running
:
-------------------------------------------------------------------------------------------------------------------------------------------
marduk% firefox
LoadPlugin: failed to initialize shared library
/usr/local/lib/mozilla-plugins/libflashplayer.so [Cannot load
specified object]
(npviewer.bin:7577): Gdk-WARNING **: Error converting from UTF-8 to
STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
supported
(npviewer.bin:31801): Gdk-WARNING **: Error converting from UTF-8 to
STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
supported
*** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed
*** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Connection closed
-------------------------------------------------------------------------------------------------------------------------------------------
i think it's related to rpc.c code. I will investigate in it. But it
works on normal flash files. I also edit DESCR file to indicate that
you need indeed COMPAT_LINUX enabled.
amd64 should work. Doesn't it ? Since I've no amd64 machine to test it
could you provide more specific error or patches ?
Anyway here are the new sources :
http://babilu.metavers.net/openbsd/nspluginwrapper/obsd-nspluginwrapper-0.9.91.4_3.tar.gz
Please tell me what is missing/wrong. I will provide more fix.
- benoit
--
bchesneau.info | neurofriends.net | osbud.net