Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325867 - www-client/chromium-5.0.375.86 does not recognise plugins from www-plugins/gecko-mediaplayer
Summary: www-client/chromium-5.0.375.86 does not recognise plugins from www-plugins/ge...
Status: RESOLVED DUPLICATE of bug 309231
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Chromium Project
URL: http://www.nasa.gov/multimedia/nasatv/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-27 19:35 UTC by Ian Pickworth
Modified: 2010-07-19 18:58 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 Ian Pickworth 2010-06-27 19:35:50 UTC
This applies to version 5.0.375.86 of www-client/chromium

www-client/chromium does not recognise the plugins provided by www-plugins/gecko-mediaplayer, which support Real, Quicktime, Windows and other media.

Although the plugins are in the /usr/lib/nsbrowser/plugins directory, Chromium does not display them when showing the "about:plugins" URL.

Reproducible: Always

Steps to Reproduce:
1. Place the following in /etc/portage/package.use:
www-client/chromium plugins-symlink
www-plugins/gecko-mediaplayer -gnome

2. emerge -pv www-plugins/gecko-mediaplayer www-client/chromium
Should display as follows:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] www-plugins/gecko-mediaplayer-0.9.9.2  USE="-gnome" 0 kB
[ebuild   R   ] www-client/chromium-5.0.375.86  USE="plugins-symlink" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB

3. emerge -pv www-plugins/gecko-mediaplayer www-client/chromium
Emerges and installes both packages

4. ls -lh /usr/lib/nsbrowser/plugins
Should show these lines (may be other entries for other plugins):

rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer-dvx.so 
-rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer-qt.so 
-rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer-rm.so 
-rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer.so 
-rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer-wmp.so 

Actual Results:  
1. In chromium browser enter "about:plugins" in location text box

Display does not show the five from www-plugins/gecko-mediaplayer

2. Enter URL http://www.nasa.gov/multimedia/nasatv/

Chromium browser shows advice to install plugins to play Windows media stream.


Expected Results:  
1. In chromium browser enter "about:plugins" in location text box

Display should show all plugins, including the five from www-plugins/gecko-mediaplayer

2. Enter URL http://www.nasa.gov/multimedia/nasatv/

Chromium browser should play NASA TV stream


If Firefox is used, "about.plugins" shows all five plugins correctly, and the NASA TV URL plays the stream correctly.

Output from emerge --info:


ian2 ~ # emerge --info
Portage 2.2_rc67 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1
Timestamp of tree: Sun, 27 Jun 2010 01:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 sun-bcla-java-vm skype-eula googleearth AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/jokey /usr/local/portage/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac acl acpi alsa apache2 avi berkdb bindist bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dlloader doc dri dts dvb dvd dvdr emboss encode exif fam firefox flac font-server foomaticdb fortran gdbm gif gimpprint glitz gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl iconv imap innodb ipv6 java joystick jpeg kde lcms ldap libnotify libwww mad mbox mikmod mmx mng modules moonlight motif mp3 mp4 mpeg mudflap mysql ncurses nls nocardbus nptl nptlonly ogg oggvorbis opengl openmp oss pam pango pcre pdf pdflib perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection samba scanner sdl session slang slp spell spl ssl startup-notification svg sysfs tcpd tetex tiff truetype udev unicode usb v4l v4l2 videos vorbis wmf x264 x86 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="dibusb-usb1 dibusb-usb2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-07-17 19:44:54 UTC
Could you check if the same problem exists in the 6.x series (it's hard masked at this moment)?
Comment 2 Ian Pickworth 2010-07-18 09:46:44 UTC
(In reply to comment #1)
> Could you check if the same problem exists in the 6.x series (it's hard masked
> at this moment)?
> 

I emerged www-client/chromium-6.0.466.0
Unfortunately it hasn't changed this problem - gecko-mediaplayer are still not picked up.

I don't know if this is relevant, the plugins that are picked up correctly are all symbolic links out of /usr/lib/nsbrowser/plugins, the gecko-mediaplayer plugins are installed there. All four plugins with symbolic links are picked up correctly.


ian2 ~ # ls -lh /usr/lib/nsbrowser/plugins
total 480K
-rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer-dvx.so
-rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer-qt.so
-rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer-rm.so
-rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer.so
-rwxr-xr-x 1 root root 95K Jun 27 16:45 gecko-mediaplayer-wmp.so
lrwxrwxrwx 1 root root  60 Apr  1 19:28 javaplugin.so -> //usr/share/java-config-2/nsplugin/sun-jdk-1.6-javaplugin.so
lrwxrwxrwx 1 root root  39 Jun 24 18:15 libflashplayer.so -> /opt/netscape/plugins/libflashplayer.so
lrwxrwxrwx 1 root root  37 Sep 13  2009 libmoonloader.so -> /usr/lib/moon/plugin/libmoonloader.so
lrwxrwxrwx 1 root root  39 Jan 24 08:44 npPicasa3.so -> /opt/google/picasa/3.0/lib/npPicasa3.so

Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-07-18 11:53:15 UTC
Please see the previous bug and the linked upstream bug.

By the way, thanks for some additional information, it seems we no longer need the blocker dependency in www-client/chromium so I've removed it. I've also updated the FAQ on Gentoo project page.

*** This bug has been marked as a duplicate of bug 309231 ***
Comment 4 Ian Pickworth 2010-07-18 14:02:45 UTC
(In reply to comment #3)
> Please see the previous bug and the linked upstream bug.
> 
> By the way, thanks for some additional information, it seems we no longer need
> the blocker dependency in www-client/chromium so I've removed it. I've also
> updated the FAQ on Gentoo project page.
> 
> *** This bug has been marked as a duplicate of bug 309231 ***
> 

It doesn't seem to be the same problem. #309231 says that gecko-mediaplayer works if emerged with -gnome. I have done that, and yet Chromium fails to pick up the plugins at all. Reports in #309231 say that the gecko plugins work - so they must be picking them up. 

Confused :-(
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-07-19 14:18:35 UTC
(In reply to comment #4)
> It doesn't seem to be the same problem. #309231 says that gecko-mediaplayer
> works if emerged with -gnome. I have done that, and yet Chromium fails to pick
> up the plugins at all. Reports in #309231 say that the gecko plugins work - so
> they must be picking them up. 

As for now gecko-mediaplayer is blacklisted by upstream. So the browser will never use it, and I'd rather not patch the code to do something else if USE="-gnome" because of decreased maintainability.

I guess that when people say "it works" they mean that it doesn't hang the browser.
Comment 6 Matt 2010-07-19 15:15:42 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > It doesn't seem to be the same problem. #309231 says that gecko-mediaplayer
> > works if emerged with -gnome. I have done that, and yet Chromium fails to pick
> > up the plugins at all. Reports in #309231 say that the gecko plugins work - so
> > they must be picking them up. 
> 
> As for now gecko-mediaplayer is blacklisted by upstream. So the browser will
> never use it, and I'd rather not patch the code to do something else if
> USE="-gnome" because of decreased maintainability.
> 
> I guess that when people say "it works" they mean that it doesn't hang the
> browser.
> 

correct me if I'm wrong but there's something the Arch guys must be doing right:

it works perfectly with chromium on Arch - I don't know what's the difference
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-07-19 18:15:34 UTC
(In reply to comment #6)
> correct me if I'm wrong but there's something the Arch guys must be doing
> right:
> 
> it works perfectly with chromium on Arch - I don't know what's the difference

Could you post the version number you're referring to, and also the link to the Arch package you're referring to?
Comment 8 Matt 2010-07-19 18:58:44 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > correct me if I'm wrong but there's something the Arch guys must be doing
> > right:
> > 
> > it works perfectly with chromium on Arch - I don't know what's the difference
> 
> Could you post the version number you're referring to, and also the link to the
> Arch package you're referring to?
> 


sorry,

unfortunately I can't: Arch isn't available/installed on my system anymore 

I'm sure it was a chromium-release of the 6.x branch

posting this on OTW on forums.gentoo.org pretty sure would yield some results ;)