From owner-freebsd-gnome@FreeBSD.ORG Sat Jan 22 18:53:21 2011 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C7DE106566C for ; Sat, 22 Jan 2011 18:53:21 +0000 (UTC) (envelope-from kwm@freebsd.org) Received: from fep11.mx.upcmail.net (fep11.mx.upcmail.net [62.179.121.31]) by mx1.freebsd.org (Postfix) with ESMTP id 9B3B88FC13 for ; Sat, 22 Jan 2011 18:53:20 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep11-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20110122185318.OOKF11941.viefep11-int.chello.at@edge04.upcmail.net>; Sat, 22 Jan 2011 19:53:18 +0100 Received: from [192.168.0.104] ([77.250.185.194]) by edge04.upcmail.net with edge id yitH1f0124C4r9104itJcw; Sat, 22 Jan 2011 19:53:18 +0100 X-SourceIP: 77.250.185.194 From: Koop Mast To: =?UTF-8?Q?=E8=A3=B8=E5=A5=94=E7=9A=84=E8=9C=97=E7=89=9B?= In-Reply-To: References: <4D2C4FCD.2030009@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" Date: Sat, 22 Jan 2011 19:54:45 +0100 Message-ID: <1295722485.95184.1.camel@headache.rainbow-runner.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Cloudmark-Analysis: v=1.1 cv=kRmApA04uPli/d8B8u1M0swu98hronvs6VvAqI8uQP0= c=1 sm=0 a=oqQGsNZreQAA:10 a=IkcTkHD0fZMA:10 a=6I5d2MoRAAAA:8 a=7mOBRU54AAAA:8 a=pGLkceISAAAA:8 a=thuT5uKxUgL3GEhwNvgA:9 a=bB_d5qvD9YBLzroCOTwA:7 a=8tmMAIwL-XfHK_NzyHdqJBdEsoYA:4 a=QEXdDO2ut3YA:10 a=SV7veod9ZcQA:10 a=MSl-tDqOz04A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: gnome@FreeBSD.org Subject: Re: Fwd: Is possible to add the "configure --enable_system_cairo" as option for the firefox X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2011 18:53:21 -0000 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 > Date: 2011/1/11 > Subject: Re: Is possible to add the "configure --enable_system_cairo" as > option for the firefox > To: 裸奔的蜗牛 > 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" >