Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 131104

Summary: librsvg + nsplugin: check is wrong
Product: Gentoo Linux Reporter: Andrei Ivanov <andrei.ivanov>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: twp
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 119872    

Description Andrei Ivanov 2006-04-24 08:06:17 UTC
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 Peter Johanson (RETIRED) gentoo-dev 2006-04-30 09:41:51 UTC
Definitely assigned to the wrong folks.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-06-29 06:59:25 UTC
(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