From owner-freebsd-gnome@freebsd.org Sat Jul 23 16:00:04 2016 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E116FBA2446 for ; Sat, 23 Jul 2016 16:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id CA9821C96 for ; Sat, 23 Jul 2016 16:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C669EBA2444; Sat, 23 Jul 2016 16:00:04 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C60F7BA2443 for ; Sat, 23 Jul 2016 16:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B81D1C94 for ; Sat, 23 Jul 2016 16:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6NG04S1067419 for ; Sat, 23 Jul 2016 16:00:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 211201] print/freetype2: update to 2.6.5, replace LCD_FILTERING with V40 code Date: Sat, 23 Jul 2016 16:00:04 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.22 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, 23 Jul 2016 16:00:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211201 --- Comment #23 from Jan Beich --- Comment on attachment 172896 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172896 Proposed patch (since 412348 revision) > +V38_DESC=3D v38 mode (Infinality code) > +V38_VARS=3D SUBPIXEL_HINTING_MODE=3D1 > +V40_DESC=3D v40 mode (minimal code, a.k.a. ClearType hinting) > +V40_VARS=3D SUBPIXEL_HINTING_MODE=3D2 > + > +.include > + > +.if defined(SUBPIXEL_HINTING_MODE) > +.if ${PORT_OPTIONS:MV38} && ${PORT_OPTIONS:MV40} > +SUBPIXEL_HINTING_MODE=3D3 > +.endif > +CFLAGS+=3D -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=3D${SUBPIXEL_HINTING_MODE} > +.endif SUBPIXEL_HINTING_MODE is unnecessary distraction in your case. The variable= can still be kept for bmake simplification. V38_DESC=3D v38 mode (Infinality code) V40_DESC=3D v40 mode (minimal code, a.k.a. ClearType hinting) .if defined(.PARSEDIR) V38_VARS=3D SUBPIXEL_HINTING_MODE+=3D1 V38_CFLAGS=3D=20=20 -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=3D$$$((${SUBPIXEL_HINTING_MODE:ts|})) V40_VARS=3D SUBPIXEL_HINTING_MODE+=3D2 V40_CFLAGS=3D=20=20 -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=3D$$$((${SUBPIXEL_HINTING_MODE:ts|})) .else # XXX Drop once /stable/9 hits EOL .include .if ${PORT_OPTIONS:MV38} && ${PORT_OPTIONS:MV40} CFLAGS+=3D -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=3D3 .elif ${PORT_OPTIONS:MV40} CFLAGS+=3D -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=3D2 .elif ${PORT_OPTIONS:MV38} CFLAGS+=3D -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=3D1 .endif .endif # .PARSEDIR --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=