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

Koop Mast kwm at FreeBSD.org
Sat Jan 22 18:53:21 UTC 2011


On Sat, 2011-01-22 at 09:59 +0800, 裸奔的蜗牛 wrote:
> Hi Gnome,
> 
> The new version of cairo(1.10.2) has been released and it fixed some bugs
> which are addressed in
> http://www.freebsd.org/cgi/getmsg.cgi?fetch=48037+0+/usr/local/www/db/text/2010/cvs-ports/20101205.cvs-ports.
> Could you please merge the update?

The update to 1.10.2 will have to wait after the port slush is over.
This will probably happen when 8.2 and 7.4 are released.

>  Is possible to add this patch to the
> cairo port?
> http://bugs.gentoo.org/attachment.cgi?id=241939&action=diff&context=patch&collapsed=&headers=1&format=raw

Can you tell us some more about this patch? What is it purpose and has
it been send to the cairo maintainers?

-Koop

> Thank you very much in advance.
> 
> Best regards,
> Sipingal Liu
> 
> ---------- Forwarded message ----------
> From: Beat Gaetzi <beat at freebsd.org>
> Date: 2011/1/11
> Subject: Re: Is possible to add the "configure --enable_system_cairo" as
> option for the firefox
> To: 裸奔的蜗牛 <sipingal at gmail.com>
> Cc: gecko at freebsd.org
> 
> 
> Hi,
> 
> On 11.01.2011 07:47, 裸奔的蜗牛 wrote:
> > 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.
> 
> I assume you are using Firefox 3.6. Firefox was using system cairo until
> cairo was updated to 1.10.0 because gif and svg image were no longer
> rendered correctly:
> http://www.freebsd.org/cgi/getmsg.cgi?fetch=48037+0+/usr/local/www/db/text/2010/cvs-ports/20101205.cvs-ports
> 
> If you like to revert this change you could use this patch:
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/www/firefox/Makefile,v
> retrieving revision 1.235
> diff -u -r1.235 Makefile
> --- Makefile    10 Dec 2010 12:43:26 -0000      1.235
> +++ Makefile    11 Jan 2011 12:39:21 -0000
> @@ -21,7 +21,7 @@
>  USE_AUTOTOOLS= autoconf213
>  USE_GECKO=     gecko
>  MOZ_PKGCONFIG_FILES=   # empty
> -USE_MOZILLA=   -png -nss -dbm -jpeg -xft -cairo
> +USE_MOZILLA=   -png -nss -dbm -jpeg -xft
>  MOZILLA_NAME=  Firefox${MOZILLA_SUFX}
>  MOZILLA_SUFX=  3
>  MOZILLA=       ${PORTNAME}${MOZILLA_SUFX}
> 
> HTH,
> Beat
> 
> --
> Beat Gätzi       | FreeBSD Committer
> beat at FreeBSD.org | http://www.FreeBSD.org
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
> 




More information about the freebsd-gnome mailing list