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

Bug 59827

Summary: mozilla-firefox-1.0 should enable USE=mozsvg
Product: Gentoo Linux Reporter: Kang-Ho Song <khsongdr>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal CC: benji, deviantgeek, flash3001
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kang-Ho Song 2004-08-08 21:40:53 UTC
When I try to emerge firefox with mozsvg USE-flag, I get this error.

;gmake: tier_1 in work/mozilla/other-licenses/libart_lgplgmake[2]: Entering directory `/var/tmp/portage/mozilla-firefox-0.9.3-r1/work/mozilla/other-licenses/libart_lgpl'
gmake[2]: *** No rule to make target `export'.  Stop.
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.3-r1/work/mozilla/other-licenses/libart_lgpl'
gmake[1]: *** [tier_1] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.3-r1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-firefox-0.9.3-r1 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! (no error message)

With mozsvg USE-flag, mozilla works, and mozilla-thunderbird works too. But mozilla-firefox fails.
Strange.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-08-09 08:37:44 UTC
thanks, fixed in mozilla.eclass

revision 1.9
date: 2004/08/09 15:36:12;  author: agriffis;  state: Exp;  lines: +18 -17
restrict mozsvg to mozilla since it doesn't build with firefox-0.9.3 or thunderbird-0.7.3 #59827

(It was already restricted from thunderbird, I had left it on for firefox because I though it worked)
Comment 2 Edwin Shin 2004-10-28 08:10:38 UTC
Bug 67106 suggests svg flag should be re-enabled, so we should re-open this bug.
Comment 3 Sergio Carvalho 2004-11-12 10:27:05 UTC
I was able to compile mozilla-firefox-1.0 with svg enabled, but I had to select a different backend. Instead of using libart, I enabled cairo. It introduces a dependency on x11-libs/cairo:

http://www.mozilla.org/projects/svg/build.html#linux_cairo_build

I made my change directly on the 1.0 ebuild, so won't post it here. Someone with better understanding of the mozilla.eclass should change it accordingly. mozsvg USE flag should trigger configure flags for --enable-svg and --enable-svg-renderer-cairo. Also, *do not* set MOZ_INTERNAL_LIBART_LGPL.

Something like:
        if use mozsvg; then
            mozilla_annotate "+mozsvg on ${PN}" \
                --enable-svg --enable-svg-renderer-cairo
        else
            mozilla_annotate "-mozsvg" \
                --disable-svg
        fi

Someopen with enough privileges should reopen this bug.
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-11-15 13:57:26 UTC
*** Bug 67106 has been marked as a duplicate of this bug. ***
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-11-15 13:58:08 UTC
Okay, I'll take another look at this
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2004-11-16 15:50:32 UTC
Ok, fixed in mozilla-firefox-1.0-r3 without a revision bump, so you'll need to emerge --sync (in a couple hours) to get the updated bits.  Thanks!

@@ -75,6 +65,8 @@
        mozconfig_use_extension mozdevelop venkman
        mozconfig_use_enable gnome gnomevfs
        mozconfig_use_extension gnome gnomevfs
+       mozconfig_use_enable mozsvg svg
+       mozconfig_use_enable mozsvg svg-renderer-cairo
        mozconfig_annotate '' --with-default-mozilla-five-home=/usr/lib/MozillaFirefox
 
        # Finalize and report settings