OSS sound for linux-flashplugin9

Jeremy Messenger mezz7 at cox.net
Wed Feb 28 22:28:39 UTC 2007


On Tue, 27 Feb 2007 17:33:22 -0600, Pav Lucistnik <pav at FreeBSD.org> wrote:

> Lofi, can you check the attached patch, if it works for ya?

I went ahead to test the 9 version for first time and I am getting a  
complain about missing dependency. It needs linux-gtk2.

========================
operapluginwrapper: [plugin failed ]  
/usr/local/lib/npapi/symlinks/linux-opera/libflashplayer.so,  
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or  
directory
========================

> It does no swoosh-swoosh here (linux-opera on amd64). Oh well.

Here either on i386. It would play for a few, but it would crash random.  
At least, it doesn't crash the browser.

========================
(process:39540): GLib-GObject-CRITICAL **: gtype.c:2254: initialization  
assertion failed, use IA__g_type_init() prior to this function

(process:39540): Gtk-CRITICAL **: gtk_clipboard_get_for_display: assertion  
`GDK_IS_DISPLAY (display)' failed
Adobe FlashPlayer: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed.  
Trying to call gtk_init(0,0);
opera: Plug-in 39540 is not responding. It will be closed.
opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep  
blocked plug-ins.
========================

Cheers,
Mezz

> Michael Nottebrock píše v po 26. 02. 2007 v 23:23 +0100:
>
>> I installed Fedora Core 4 in Qemu today and compiled Macromedia's
>> libflashsupport there to see if its OSS support would work on FreeBSD.
>> It does. You can download the binary from
>>
>> http://people.freebsd.org/~lofi/libflashsupport.so (for now)
>>
>> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lofi/
>> libflashsupport.so (later - for prospective porters: that's
>> MASTER_SITE_LOCAL && MASTER_SITE_SUBDIR=lofi)
>>
>> How to install in three steps:
>>
>> 1.) Install www/linux-firefox, www/linux-flashplugin9 and
>> security/linux-openssl
>>
>> 2.) fetch http://people.freebsd.org/~lofi/libflashsupport.so
>>
>> 3.) cp libflashsupport.so /compat/linux/usr/lib
>>
>> To test, run
>>
>> linux-firefox http://www.adobe.com/shockwave/welcome/
>>
>> Ignore the missing plugin warning for the shockwave demo and watch
>> the demo flash applet beneath it. It should make some swishing sounds
>> when you hover the mouse pointer over the 'Create', 'See' and 'About'
>> areas.
>>
>> What doesn't work:
>>
>> Youtube. I tried youtube and google video et al and it seems that
>> video-streaming flash applets are *very* crash-happy, so they must be
>> considered broken for now. *However*: They also crash the browser
>> without libflashsupport present, but they do work quite nicely on FC4
>> (which by the way does need the libflashsupport as well to make noise
>> in the shipped Firefox). My conclusion is that the flash video
>> crashes are in fact caused by a bug/shortcoming of our linuxulator. I
>> understand there's work going on to bring it up to date with the
>> Linux 2.6 world, so that problem might go away in the future.
>>
>> And of course, nothing of all this will work in a native firefox with
>> the linuxpluginwrapper. You need *linux*-firefox.
>>
>> Finally: The binary was built from this source:
>> http://www.kaourantin.net/flashplayer/flashsupport.c
>>
>> The license terms for it are at the top of the source code and, at  
>> least as
>> far as I interpret them, allow for distribution of the binary even  
>> without
>> accompanying source code.
>>
>> Cheers,


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


More information about the freebsd-ports mailing list