[ebuild U ] net-libs/xulrunner-1.9.2_rc2 [1.9.1.7] USE="custom-optimization dbus libnotify%* sqlite startup-notification -alsa* -debug -gnome -java -mozdevelop% -networkmanager% (-python%*)" /var/tmp/portage/net-libs/xulrunner-1.9.2_rc2/work/mozilla-1.9.2/config/nsinstall -R -m 644 _xpidlgen/content_base.xpt ../../../dist/bin/components gmake[5]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2_rc2/work/mozilla-1.9.2/content/base/public' gmake[5]: Entering directory `/var/tmp/portage/net-libs/xulrunner-1.9.2_rc2/work/mozilla-1.9.2/content/base/src' nsDocument.cpp x86_64-pc-linux-gnu-g++ -o nsDocument.o -c -I../../../dist/system_wrappers -include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DOSTYPE=\"Linux2.6.32\" -DOSARCH=Linux -D_IMPL_NS_LAYOUT -I. -I. -I../../../dist/include -I../../../dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nss -I./../../events/src -I./../../xml/content/src -I./../../xul/base/src -I./../../xul/content/src -I./../../html/content/src -I./../../base/src -I./../../xbl/src -I./../../../layout/generic -I./../../../layout/style -I./../../../dom/base -I./../../xml/document/src -I../../../xpcom/io -fPIC -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -march=core2 -pipe -g -ggdb -fPIC -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsDocument.pp nsDocument.cpp In file included from nsDocument.cpp:172: ../../../dist/include/nsHTMLMediaElement.h:40:28: error: nsMediaDecoder.h: No such file or directory In file included from nsDocument.cpp:172: ../../../dist/include/nsHTMLMediaElement.h:288: error: ‘nsMediaDecoder’ was not declared in this scope ../../../dist/include/nsHTMLMediaElement.h:288: error: template argument 1 is invalid ../../../dist/include/nsHTMLMediaElement.h:294: error: ‘nsMediaDecoder’ has not been declared ../../../dist/include/nsHTMLMediaElement.h:306: error: ‘nsMediaDecoder’ has not been declared ../../../dist/include/nsHTMLMediaElement.h:391: error: ‘nsMediaDecoder’ was not declared in this scope ../../../dist/include/nsHTMLMediaElement.h:391: error: template argument 1 is invalid gmake[5]: *** [nsDocument.o] Error 1 gmake[5]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2_rc2/work/mozilla-1.9.2/content/base/src' gmake[4]: *** [src_libs] Error 2 gmake[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2_rc2/work/mozilla-1.9.2/content/base' nsMediaDecoder.h is not "installed" if ogg & wave support are disabled.
This bug has, apparently, made it's way out of mozilla-overlay and into portage proper: net-libs/xulrunner-1.9.2
*** Bug 301853 has been marked as a duplicate of this bug. ***
As they pointed out in 301853 arch as a xulrunner-oss package. Seems like you can disable alsa and use oss instead if you look at their "PKGBUILD": http://aur.archlinux.org/packages/xulrunner-oss/xulrunner-oss/PKGBUILD
Created attachment 217481 [details, diff] Patch to enable sound with oss4 in firefox Firefox patch... Why do the vanilla disable wave and ogg two times? :P
Created attachment 217482 [details, diff] Xulrunner oss4 sound patch. Uses the arch way to enable oss support. I don't know if you must do it like this... With the firefox patch and this one HTLM5 sound/video work perfectly on the sites I've gone to. Perhaps remove the alsa use flag and put oss in instead? You will run into compile problems if you try to compile with no sound (--disable-wave/ogg) for now.
Created attachment 217485 [details, diff] Make firefox not depend on alsa libs Forgot to remove all alsa libs from the firefox build system... As i said before: Why not add an OSS use-flag so we can put all this into a nice if statement? :)
Comment on attachment 217482 [details, diff] Xulrunner oss4 sound patch. I will not include oss4, if you want oss4 enabled you will have to request the change upstream. We are already working on a fix for the problem.
Comment on attachment 217485 [details, diff] Make firefox not depend on alsa libs we will not include oss4 refer to previous comment.
(In reply to comment #6) > Created an attachment (id=217485) [details] > Make firefox not depend on alsa libs > > Forgot to remove all alsa libs from the firefox build system... > As i said before: Why not add an OSS use-flag so we can put all this into a > nice if statement? :) > I can concider an ogg useflag, which would be more appropriate. If you want to draw up an initial patch I will be more then happy to review and commit.
Why no OSS use-flag? There are other packages in portage that has "oss" as an use-flag... Or am I missing something here?
(In reply to comment #10) > Why no OSS use-flag? There are other packages in portage that has "oss" as an > use-flag... > Or am I missing something here? > Please reread the post your have the working confused, I said I would concider an oss useflag but either way oss or alsa will have to be enabled and proper checks put in place to ensure proper one is enabled as user expects.
Created attachment 217583 [details, diff] updated Is this better?
I think the problem is that mozilla-devs won't support oss4, until it has found its way into the kernel. Until then Alsa is the only supported way for getting Audio/Video for HTML5. And Gentoo (Mozilla) Devs won't support a non official feature. (Though i must say, that Gentoo included a patch for plasma-panel to enable Fake-Transparency, which was refused by the kde-devs - caused some emotional discussions...)
*** Bug 302492 has been marked as a duplicate of this bug. ***
Created attachment 217782 [details, diff] xulrunner-1.9.2-noalsa-fixup.patch This will need to be applied to both xulrunner/firefox I will make the bump tomorrow morning so I can include a sparc fix as well. Sorry for the delay in getting this resolved.
For those who are interested, I put the patch in both ebuilds in mozilla overlay until I get it commited to tree in the morning.
It shall propogate to the mirrors shortly :)