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.
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)
Bug 67106 suggests svg flag should be re-enabled, so we should re-open this bug.
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.
*** Bug 67106 has been marked as a duplicate of this bug. ***
Okay, I'll take another look at this
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