Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448680 - why does firefox depend on media-plugins/gst-plugins-meta:0.10 ?
Summary: why does firefox depend on media-plugins/gst-plugins-meta:0.10 ?
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-26 15:38 UTC by gringo
Modified: 2012-12-26 23:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gringo 2012-12-26 15:38:55 UTC
summary is self explanatory i think : is there any reason firefox depends on slot 0.10 ?
Im wondering because i just gave it a go on my laptop where i almost only have gstreamer-1.0 installed, modified the ebuild and as far as i can tell everything is working fine. 
Granted, i havent tried every single media format available but for my usage everything works as before, maybe worth checking ?

Firefox would actually be the only one that explicitely depends on slot 0.10 here :

[ebuild  N    ] media-plugins/gst-plugins-xvideo-0.10.36 
[ebuild  N    ] media-plugins/gst-plugins-x-0.10.36 
[ebuild  N    ] media-plugins/gst-plugins-ogg-0.10.36 
[ebuild  N    ] media-plugins/gst-plugins-vorbis-0.10.36 
[ebuild  N    ] media-plugins/gst-plugins-alsa-0.10.36 
[ebuild  N    ] media-plugins/gst-plugins-theora-0.10.36 
[ebuild  NS   ] media-plugins/gst-plugins-flac-0.10.31 [1.0.3]
[ebuild  NS   ] media-libs/gst-plugins-ugly-0.10.19 [1.0.3] USE="nls orc" 
[ebuild  NS   ] media-libs/gst-plugins-bad-0.10.23-r1 [1.0.3] USE="nls orc" 
[ebuild  NS   ] media-plugins/gst-plugins-v4l2-0.10.31 [1.0.3] USE="udev" 
[ebuild  N    ] media-plugins/gst-plugins-vp8-0.10.23-r1 
[ebuild  NS   ] media-plugins/gst-plugins-dvdread-0.10.19 [1.0.3]
[ebuild  NS   ] media-plugins/gst-plugins-mad-0.10.19 [1.0.3]
[ebuild  NS   ] media-plugins/gst-plugins-faad-0.10.23 [1.0.3]
[ebuild  NS   ] media-plugins/gst-plugins-dts-0.10.23 [1.0.3] USE="orc" 
[ebuild  NS   ] media-plugins/gst-plugins-a52dec-0.10.19 [1.0.3] USE="orc" 
[ebuild  NS   ] media-plugins/gst-plugins-resindvd-0.10.23 [1.0.3]
[ebuild  NS   ] media-plugins/gst-plugins-pulse-0.10.31 [1.0.3]
[ebuild  NS   ] media-plugins/gst-plugins-mpeg2dec-0.10.19 [1.0.3]
[ebuild  N    ] media-video/ffmpeg-0.10.6  USE="X aac alsa bzip2 encode faac hardcoded-tables mmx mp3 pic pulseaudio sdl ssse3 theora threads truetype v4l vaapi vorbis vpx x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -amr -avx -bindist -cdio (-celt) -cpudetection -debug -dirac -doc -frei0r -gnutls -gsm -ieee1394 -jack -jpeg2k -libass -libv4l -mmxext -modplug (-neon) -network -openal -openssl -oss -rtmp -schroedinger -speex -static-libs {-test} -vdpau (-vis)" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" 
[uninstall    ] media-video/libav-0.8.4  USE="X aac alsa bzip2 encode faac gpl hardcoded-tables mmx mp3 pic pulseaudio qt-faststart sdl ssl ssse3 theora threads truetype v4l vaapi vorbis vpx x264 xvid zlib -3dnow -3dnowext (-altivec) -amr -avx -bindist -cdio -cpudetection -custom-cflags -debug -dirac -doc -frei0r -gsm -ieee1394 -jack -jpeg2k -mmxext (-neon) -network -openssl -oss -rtmp -schroedinger -speex -static-libs {-test} -vdpau (-vis)" 
[blocks b     ] media-video/ffmpeg ("media-video/ffmpeg" is blocking media-video/libav-0.8.4)
[ebuild  N    ] media-plugins/gst-plugins-ffmpeg-0.10.13-r2  USE="orc" 
[ebuild  NS   ] media-plugins/gst-plugins-meta-0.10-r7 [1.0] USE="X a52 aac alsa dts dvd ffmpeg flac mp3 mpeg ogg pulseaudio theora v4l vorbis vpx xv -dv -dvb -http -lame -libvisual -mms -musepack -oss -taglib -vcd -wavpack" 
[ebuild   R   ] www-client/firefox-17.0.1 [17.0.1] USE="alsa dbus gstreamer jit libnotify minimal startup-notification -bindist -custom-cflags -custom-optimization -debug (-pgo) (-selinux) -system-sqlite -wifi" LINGUAS="es_ES -af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu" 

Looking to the output ... this might also beg the question : why does media-plugins/gst-plugins-meta:0.10 pull in ffmpeg when upstream & gentoo are apparently pushing to depend on libav ?

Just to make sure i avoid confussion : yes, im using gnome 3.6 and the gnome-overlay.
In case you want me to test something or you need more input just let me know pls.

thanks !

Reproducible: Always
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-12-26 15:45:33 UTC
Please don't assign reports if you don't know how to do it. This report is addressed to maintainers of the firefox ebuild, namely mozilla herd.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-26 23:51:34 UTC
Gentoo's firefox ebuild depends on gstreamer-0.10 because that's the version of gstreamer that firefox's libxul library links to. Due to API incompatibilities between gstreamer-0.10 and 1.0, getting firefox to use gstreamer-1.0 is not exactly a one-line trivial patch; it's a substantial change that would need to be done by upstream.

There is an upstream bug open about getting firefox to support gstreamer-1.0:
https://bugzilla.mozilla.org/show_bug.cgi?id=806917
If you know C and C++ and are familiar with gstreamer APIs, you may want to write a patch and get it reviewed by firefox developers.

$ scanelf -n /usr/lib/firefox/libxul.so
 TYPE   NEEDED FILE 
ET_DYN libpthread.so.0,libffi.so.6,libssl3.so,libsmime3.so,libnss3.so,libnssutil3.so,libcairo.so.2,libXrender.so.1,libXext.so.6,libX11.so.6,libmozsqlite3.so,libjpeg.so.8,libpng15.so.15,libz.so.1,libhunspell-1.3.so.0,libevent-2.0.so.5,libvpx.so.1,libpixman-1.so.0,libasound.so.2,librt.so.1,libplds4.so,libplc4.so,libnspr4.so,libdl.so.2,libmozalloc.so,libdbus-glib-1.so.2,libdbus-1.so.3,libgobject-2.0.so.0,libglib-2.0.so.0,libpangoft2-1.0.so.0,libfreetype.so.6,libfontconfig.so.1,libpangocairo-1.0.so.0,libpango-1.0.so.0,libgtk-x11-2.0.so.0,libatk-1.0.so.0,libgio-2.0.so.0,libgdk-x11-2.0.so.0,libgdk_pixbuf-2.0.so.0,libXt.so.6,libgthread-2.0.so.0,libstartup-notification-1.so.0,libgstapp-0.10.so.0,libgstreamer-0.10.so.0,libgstvideo-0.10.so.0,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6,ld-linux-x86-64.so.2 /usr/lib/firefox/libxul.so