From owner-svn-ports-all@freebsd.org Thu May 18 17:57:31 2017 Return-Path: Delivered-To: svn-ports-all@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 813FED70764; Thu, 18 May 2017 17:57:31 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 5B87FEB6; Thu, 18 May 2017 17:57:31 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4IHvUKq050601; Thu, 18 May 2017 17:57:30 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4IHvULF050597; Thu, 18 May 2017 17:57:30 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201705181757.v4IHvULF050597@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Thu, 18 May 2017 17:57:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r441189 - branches/2017Q2/print/freetype2 X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2017 17:57:31 -0000 Author: kwm Date: Thu May 18 17:57:29 2017 New Revision: 441189 URL: https://svnweb.freebsd.org/changeset/ports/441189 Log: MFH: r441132 Update freetype2 to 2.8. * `Light' auto-hinting mode no longer uses TrueType metrics for TrueType fonts. It causing horizontal scaling also. Add option if people want it back. * Update pkg-descr, 2.7 started this but I committed the WIP version. Exp-run done by: antoine@ PR: 219271 Exp-run by: antoine@ Security: 4a088d67-3af2-11e7-9d75-c86000169601 Security: CVE-2017-8105, CVE-2017-8287 Approved by: ports-secteam@ (miwi@) Modified: branches/2017Q2/print/freetype2/Makefile branches/2017Q2/print/freetype2/distinfo branches/2017Q2/print/freetype2/pkg-descr branches/2017Q2/print/freetype2/pkg-plist Directory Properties: branches/2017Q2/ (props changed) Modified: branches/2017Q2/print/freetype2/Makefile ============================================================================== --- branches/2017Q2/print/freetype2/Makefile Thu May 18 17:40:29 2017 (r441188) +++ branches/2017Q2/print/freetype2/Makefile Thu May 18 17:57:29 2017 (r441189) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= freetype2 -PORTVERSION= 2.7.1 +PORTVERSION= 2.8 CATEGORIES= print MASTER_SITES= http://savannah.nongnu.org/download/freetype/ \ SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ \ @@ -36,7 +36,8 @@ PORTDOCS= reference CHANGES formats.txt CPE_PRODUCT= freetype CPE_VENDOR= freetype -OPTIONS_DEFINE= DEBUG DOCS LCD_FILTERING PNG TABLE_VALIDATION +OPTIONS_DEFINE= DEBUG DOCS LCD_FILTERING PNG TABLE_VALIDATION \ + TT_SIZE_METRICS OPTIONS_GROUP= SUBPIXEL_HINTING OPTIONS_GROUP_SUBPIXEL_HINTING= V38 V40 OPTIONS_DEFAULT= LCD_FILTERING V40 @@ -47,10 +48,12 @@ PNG_CONFIGURE_WITH= png TABLE_VALIDATION_DESC= TrueType GX/AAT and OpenType table validation +TT_SIZE_METRICS_DESC= TrueType-like size metrics for 'light' (V40) auto-hinting + LCD_FILTERING_DESC?= Sub-pixel rendering (patented) LCD_FILTERING_CFLAGS= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING -SUBPIXEL_HINTING_DESC= Sub-pixel hinting support +SUBPIXEL_HINTING_DESC= Sub-pixel hinting support V38_DESC= v38 mode (Infinality code) V38_VARS= SUBPIXEL_HINTING_MODE+=1 V40_DESC= v40 mode (minimal code, a.k.a. ClearType hinting, faster) @@ -70,9 +73,6 @@ pre-patch: ${WRKSRC}/builds/unix/install.mk post-patch: -# Check defined TT_CONFIG_OPTION_SUBPIXEL_HINTING - @${REINPLACE_CMD} -e 's|^#if \(TT_CONFIG_OPTION_SUBPIXEL_HINTING\)\(.*\)|#if defined(\1) \&\& (\1\2)|' \ - ${WRKSRC}/include/freetype/config/ftoption.h .if defined(SUBPIXEL_HINTING_MODE) @${REINPLACE_CMD} -i '.hinting.bak' \ -e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING\).*|\1 \ @@ -94,6 +94,11 @@ post-patch-TABLE_VALIDATION-on: @${REINPLACE_CMD} -e '/valid$$/s|#.*\(AUX_MODULES\)|\1|' \ ${WRKSRC}/modules.cfg +post-patch-TT_SIZE_METRICS-on: + @${REINPLACE_CMD} -i '.metrics.bak' \ + -e 's|.*\(#define AF_CONFIG_OPTION_TT_SIZE_METRICS\).*|\1|' \ + ${WRKSRC}/include/freetype/config/ftoption.h + post-configure: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup) Modified: branches/2017Q2/print/freetype2/distinfo ============================================================================== --- branches/2017Q2/print/freetype2/distinfo Thu May 18 17:40:29 2017 (r441188) +++ branches/2017Q2/print/freetype2/distinfo Thu May 18 17:57:29 2017 (r441189) @@ -1,3 +1,3 @@ -TIMESTAMP = 1483129043 -SHA256 (freetype-2.7.1.tar.bz2) = 3a3bb2c4e15ffb433f2032f50a5b5a92558206822e22bfe8cbe339af4aa82f88 -SIZE (freetype-2.7.1.tar.bz2) = 1825107 +TIMESTAMP = 1494694662 +SHA256 (freetype-2.8.tar.bz2) = a3c603ed84c3c2495f9c9331fe6bba3bb0ee65e06ec331e0a0fb52158291b40b +SIZE (freetype-2.8.tar.bz2) = 1873526 Modified: branches/2017Q2/print/freetype2/pkg-descr ============================================================================== --- branches/2017Q2/print/freetype2/pkg-descr Thu May 18 17:40:29 2017 (r441188) +++ branches/2017Q2/print/freetype2/pkg-descr Thu May 18 17:57:29 2017 (r441189) @@ -1,25 +1,10 @@ FreeType is a freely available software library to render fonts. -It is written in C, designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images) of most vector and bitmap font formats. +It is written in C, designed to be small, efficient, highly customizable, +and portable while capable of producing high-quality output (glyph images) +of most vector and bitmap font formats. -Some products that use FreeType for rendering fonts on screen or on paper, either exclusively or partially: - ---- -The FreeType engine is a free and portable font rendering -engine, developed to provide advanced font support for a variety of -platforms and environments. FreeType is a library which can open and -manages font files as well as efficiently load, hint and render -individual glyphs. FreeType is not a font server or a complete -text-rendering library. - ----- -This includes some tools that are in FreeType 1's contrib directory. - -ttf2pfb: Converting TrueType fonts to the Postscript Type 1 format. -ttf2pk: A simple conversion tool to bring TrueType quality to the - TeX world. -ttf2bdf: Produce bitmapped fonts from TrueType files for your X11 - applications. -ttfbanner: make posters using a TrueType font +Some products that use FreeType for rendering fonts on screen or on paper, +either exclusively or partially: WWW: http://www.freetype.org/ Modified: branches/2017Q2/print/freetype2/pkg-plist ============================================================================== --- branches/2017Q2/print/freetype2/pkg-plist Thu May 18 17:40:29 2017 (r441188) +++ branches/2017Q2/print/freetype2/pkg-plist Thu May 18 17:57:29 2017 (r441189) @@ -33,6 +33,7 @@ include/freetype2/freetype/ftmodapi.h include/freetype2/freetype/ftmoderr.h include/freetype2/freetype/ftotval.h include/freetype2/freetype/ftoutln.h +include/freetype2/freetype/ftpcfdrv.h include/freetype2/freetype/ftpfr.h include/freetype2/freetype/ftrender.h include/freetype2/freetype/ftsizes.h @@ -53,7 +54,7 @@ include/freetype2/ft2build.h lib/libfreetype.a lib/libfreetype.so lib/libfreetype.so.6 -lib/libfreetype.so.6.13.0 +lib/libfreetype.so.6.14.0 libdata/pkgconfig/freetype2.pc man/man1/freetype-config.1.gz share/aclocal/freetype2.m4