Changes to land the SVG_20010721_BRANCH onto the trunk will (finally) be 
landing Real Soon Now.

All the bits requiring review have now been reviewed, and my current plan
is to merge this on Monday evening/Tuesday morning, after the mac build
changes have landed, and the project files are converted to the new
format. (As an aside, if you build SVG on the mac, then please mail me if
you want to be a mac Sanity Tester as I check this in. No mac tinderbox
builds SVG, so it won't catch any problems. I don't expect any, though)

SVG will still be disabled by default, so you will still need to 
explicitly configure it. This means that if you do not currently use 
--enable-svg (or the appropriate options on other platforms), you will not 
notice any changes at all. There are no plans to turn it on by default in 
the near future.

HOWEVER, for those people who do build svg, there is an additional build
requirement. The SVG code uses a modified version of libart
(http://www.artofcode.com/libart.html), which is an LGPL library. It has
been modified so that it works on the Mac, and is required if you want SVG
support.

It is checked into the tree under mozilla/other-licenses/libart_lgpl/, but
as it is under a different license, it requires a separate build option.
When these changes are accepted in the official sources, it will be
possible to use a system libart if it is available.

If you do use this, please be aware of the LGPL licensing requirements.

To use libart:

On unix, add:

mk_add_options MOZ_INTERNAL_LIBART_LGPL=1
MOZ_INTERNAL_LIBART_LGPL=1

to your .mozconfig.

On windows, set MOZ_INTERNAL_LIBART_LGPL=1

On mac, the build option is called libart_lgpl. Since the mac does not 
support conditional pulls, you will also have to uncomment the line in 
MozillaCheckoutList.txt. This additional step isn't required for 
unix/windows - client.mk/client.mak handles it automatically.

You can make these changes now, before SVG support lands. These options
will have no effect until it does land, though. (I've checked in the mac
files, so that the options are there to change)

Thanks to everyone involved in getting SVG support working!


Bradley

(For windows people currently building from the branch, note that I have
removed the hard-coded MOZ_SVG=1 from client.mak in preparation for the
merge. You now have to explicitly enable it like everyone else does)

Reply via email to