Bug 131104 - librsvg + nsplugin: check is wrong
Bug#: 131104 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: andrei.ivanov@gmail.com
Component: Ebuilds
URL: 
Summary: librsvg + nsplugin: check is wrong
Keywords:  
Status Whiteboard: 
Opened: 2006-04-24 08:06 0000
Description:   Opened: 2006-04-24 08:06 0000
In 'pkg_setup', the librsvg ebuild has the following check:

if use nsplugin && ( \
     ( has_version net-libs/gecko-sdk && \
       built_with_use net-libs/gecko-sdk mozsvg ) || \
     ( has_version www-client/mozilla-firefox && \
       built_with_use www-client/mozilla-firefox mozsvg ) || \
     ( has_version www-client/mozilla && \
       built_with_use www-client/mozilla mozsvg ) ); then
     ewarn "A SVG plugin for mozilla-compatible browsers is already present"
     ewarn "in your system. To avoid replacing the old plug-in, librsvg"
     ewarn "will be built with the plugin disabled."
     ewarn
     ewarn "In order to use the plugin from librsvg, please make sure to"
     ewarn "emerge gecko-sdk/mozilla-firefox/mozilla without the 'mozsvg'"
     ewarn "USE flag."

but mozilla-firefox now has svg support enabled by default and the 'mozsvg'
flag doesn't exist anymore for it.
The worse thing is it installs gecko-sdk unconditionally.

------- Comment #1 From Peter Johanson (RETIRED) 2006-04-30 09:41:51 0000 -------
Definitely assigned to the wrong folks.

------- Comment #2 From Daniel Drake 2006-06-29 06:59:25 0000 -------
(In reply to comment #0)
> but mozilla-firefox now has svg support enabled by default and the 'mozsvg'
> flag doesn't exist anymore for it.

Fixed (it still exists for 1.0 which is still in-tree, but not on 1.5)

> The worse thing is it installs gecko-sdk unconditionally.

you'll have to wait for librsvg 2.14 for this