From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 28 22:42:41 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D93316A401 for ; Wed, 28 Feb 2007 22:42:41 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtai111.cox.net (eastrmmtai111.cox.net [68.230.240.30]) by mx1.freebsd.org (Postfix) with ESMTP id CB22C13C467 for ; Wed, 28 Feb 2007 22:42:40 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao105.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070228222836.NJDO2213.eastrmmtao105.cox.net@eastrmimpo02.cox.net>; Wed, 28 Feb 2007 17:28:36 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id VAUd1W0054iy4EG0000000; Wed, 28 Feb 2007 17:28:37 -0500 Date: Wed, 28 Feb 2007 16:30:46 -0600 To: pav@freebsd.org From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <200702262323.07066.lofi@freebsd.org> <1172619202.25000.5.camel@ikaros.oook.cz> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1172619202.25000.5.camel@ikaros.oook.cz> User-Agent: Opera Mail/9.10 (Linux) Cc: freebsd-multimedia@freebsd.org, Michael Nottebrock , freebsd-ports@freebsd.org Subject: Re: OSS sound for linux-flashplugin9 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 22:42:41 -0000 On Tue, 27 Feb 2007 17:33:22 -0600, Pav Lucistnik 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@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org