Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2012 04:40:18 +0000 (UTC)
From:      Jeremy Messenger <mezz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309603 - head/print/freetype2
Message-ID:  <201212290440.qBT4eInh074579@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mezz
Date: Sat Dec 29 04:40:18 2012
New Revision: 309603
URL: http://svnweb.freebsd.org/changeset/ports/309603

Log:
  Backout on the WITH_LCD_FILTERING part. It's not enable by default, which it
  was some different render that got enabled. The subpixel rendering is still
  patented. Therefore, add back the WITH_LCD_FILTERING optional for anyone that
  who want to enable it.
  
  Reported by:	Jan Beich <jbeich@tormail.org>

Modified:
  head/print/freetype2/Makefile

Modified: head/print/freetype2/Makefile
==============================================================================
--- head/print/freetype2/Makefile	Sat Dec 29 04:36:59 2012	(r309602)
+++ head/print/freetype2/Makefile	Sat Dec 29 04:40:18 2012	(r309603)
@@ -27,6 +27,10 @@ USE_GNOME=	pkgconfig ltverhack:9
 LIBTOOLFILES=	builds/unix/configure
 CONFIGURE_WRKSRC=	${WRKSRC}/builds/unix
 
+.if defined(WITH_LCD_FILTERING)
+CFLAGS+=	-DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
+.endif
+
 .if defined(WITH_CJK)
 #PATCH_SITES+=	http://lwj-hinet.myweb.hinet.net/ \
 #		ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ \
@@ -35,6 +39,18 @@ CONFIGURE_WRKSRC=	${WRKSRC}/builds/unix
 #PATCH_DIST_STRIP+=	-p1
 .endif
 
+pre-everything::
+.if !defined(WITH_LCD_FILTERING)
+	@${ECHO_MSG}
+	@${ECHO_MSG} "You may want to enable LCD filtering."
+	@${ECHO_MSG}
+	@${ECHO_MSG} "Hit Ctrl-C now and use \"make WITH_LCD_FILTERING=yes\""
+	@${ECHO_MSG}
+	@${ECHO_MSG} "Note that there are possible patent issues related to the"
+	@${ECHO_MSG} "use of the LCD filtering technology."
+	@${ECHO_MSG}
+.endif
+
 pre-patch:
 	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
 		${WRKSRC}/builds/unix/install.mk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212290440.qBT4eInh074579>