From owner-freebsd-gnome@FreeBSD.ORG Sat Jan 22 02:23:30 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 88C81106566B for ; Sat, 22 Jan 2011 02:23:30 +0000 (UTC) (envelope-from sipingal@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1283E8FC08 for ; Sat, 22 Jan 2011 02:23:29 +0000 (UTC) Received: by fxm16 with SMTP id 16so2564257fxm.13 for ; Fri, 21 Jan 2011 18:23:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=qIi7ahUxVpHUMMm4aSD45P74IpO8rwcMSBIzS9QBMRA=; b=HaXIzj3B2Juu86MjMOBGcxcLQU9Poj/thRSegMb1h2V+nenMy//GtVAXSn4qfMWUz7 Uc37EUrq+ctltB7yY0td2F9sZUyFmaSZ5hUJ2ROybi8cX7Z425bdtVQDK4dz3zNESyDc a0TL0SSIrFKFFUtnb83o/fF6Cj1mI5ZshJoqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=v84ridyfQSbkKes3E03GLvmZtLP76zmyUeFBU9d8HlGD/VW+HRWoTng4Rl7WRxAVaX DRfGV1dAobNqac/a9A/SPeqqv66er3NYIAKch8YCPxqnRnKhyZgbfEm988QSyPu0B7qR N32AcmrH5eRs41kzk5/MpbUFM35gjjR+UYx6E= MIME-Version: 1.0 Received: by 10.223.83.197 with SMTP id g5mr875918fal.5.1295661540735; Fri, 21 Jan 2011 17:59:00 -0800 (PST) Received: by 10.223.102.136 with HTTP; Fri, 21 Jan 2011 17:59:00 -0800 (PST) In-Reply-To: <4D2C4FCD.2030009@FreeBSD.org> References: <4D2C4FCD.2030009@FreeBSD.org> Date: Sat, 22 Jan 2011 09:59:00 +0800 Message-ID: From: =?GB2312?B?wuOxvLXEzs/Fow==?= To: gnome@FreeBSD.org X-Mailman-Approved-At: Sat, 22 Jan 2011 12:08:36 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 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 02:23:30 -0000 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=3D48037+0+/usr/local/www/db/tex= t/2010/cvs-ports/20101205.cvs-ports. Could you please merge the update? Is possible to add this patch to the cairo port? http://bugs.gentoo.org/attachment.cgi?id=3D241939&action=3Ddiff&context=3Dp= atch&collapsed=3D&headers=3D1&format=3Draw 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: =E8=A3=B8=E5=A5=94=E7=9A=84=E8=9C=97=E7=89=9B Cc: gecko@freebsd.org Hi, On 11.01.2011 07:47, =E8=A3=B8=E5=A5=94=E7=9A=84=E8=9C=97=E7=89=9B wrote: > Hi Gecko, > > I'm using follow patch to improve my system font display. > > http://bugs.gentoo.org/attachment.cgi?id=3D241939&action=3Ddiff&context=3Dp= atch&collapsed=3D&headers=3D1&format=3Draw > > 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=3Dyes && 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 t= o > 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=3D48037+0+/usr/local/www/db/tex= t/2010/cvs-ports/20101205.cvs-ports If you like to revert this change you could use this patch: Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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=3D autoconf213 USE_GECKO=3D gecko MOZ_PKGCONFIG_FILES=3D # empty -USE_MOZILLA=3D -png -nss -dbm -jpeg -xft -cairo +USE_MOZILLA=3D -png -nss -dbm -jpeg -xft MOZILLA_NAME=3D Firefox${MOZILLA_SUFX} MOZILLA_SUFX=3D 3 MOZILLA=3D ${PORTNAME}${MOZILLA_SUFX} HTH, Beat -- Beat G=C3=A4tzi | FreeBSD Committer beat@FreeBSD.org | http://www.FreeBSD.org