Date: Sat, 22 Jan 2011 19:54:45 +0100 From: Koop Mast <kwm@FreeBSD.org> To: =?UTF-8?Q?=E8=A3=B8=E5=A5=94=E7=9A=84=E8=9C=97=E7=89=9B?= <sipingal@gmail.com> Cc: gnome@FreeBSD.org Subject: Re: Fwd: Is possible to add the "configure --enable_system_cairo" as option for the firefox Message-ID: <1295722485.95184.1.camel@headache.rainbow-runner.nl> In-Reply-To: <AANLkTiny_WN7kWBKVrwPKxG5qy_sfnrpVkednz6t6PGd@mail.gmail.com> References: <AANLkTimnBCez-WsSvmA4ev1k8rGz_1CLWN%2B-cXERqJhQ@mail.gmail.com> <4D2C4FCD.2030009@FreeBSD.org> <AANLkTiny_WN7kWBKVrwPKxG5qy_sfnrpVkednz6t6PGd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org> > Date: 2011/1/11 > Subject: Re: Is possible to add the "configure --enable_system_cairo" as > option for the firefox > To: 裸奔的蜗牛 <sipingal@gmail.com> > Cc: gecko@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@FreeBSD.org | http://www.FreeBSD.org > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1295722485.95184.1.camel>