Is possible to add the "configure --enable_system_cairo" as option for the firefox

裸奔的蜗牛 sipingal at gmail.com
Tue Jan 11 07:16:46 UTC 2011


Hi Gecko,

I'm using follow patch to improve my system font display.

http://bugs.gentoo.org/attachment.cgi?id=241939&action=diff&context=patch&collapsed=&headers=1&format=raw

e.g
1. save the patch as /tmp/cairo-1.10-cleartype.patch

2. reinstall freetype2
# cd /usr/ports/print/freetype2 && make WITH_LCD_FILTERING=yes && make
deinstall reinstall clean

3. reinstall cairo
# cd /usr/ports/graphics/cairo && make extract && cd work/cairo* && patch
-Np1 < /tmp/cairo-1.10-cleartype.patch && cd ../.. && make && make deinstall
reinstall clean

After that, everythings looks great except the firefox display. I tried to
compare the build options(firefox url "about:buildconfig") with my gentoo
box. It looks like the --enable-system-cairo option made the difference. So
I modify the firefox Makefile and add the option "--enable-system-cairo". I
finally got what I want. But I would like to have an option to choice the
behavior, using system cairo, not hack the Makefile.

Is possible to add the option for the firefox? Thank you in advance.

Best regards,
Sipingal Liu


More information about the freebsd-gecko mailing list