Mon Sep 18 16:54:06 2017 UTC ()
freetype2: update to 2.8.1
FreeType 2.8.1 has been released. This is mainly a maintenance release with one important change: By default, FreeType now offers high quality LCD-optimized output without resorting to ClearType techniques of resolution tripling and filtering. In this method, called Harmony, each color channel is generated separately after shifting the glyph outline, capitalizing on the fact that the color grids on LCD panels are shifted by a third of a pixel. This output is indistinguishable from ClearType with a light 3-tap filter.
(adam)
diff -r1.112 -r1.113 pkgsrc/graphics/freetype2/Makefile
diff -r1.62 -r1.63 pkgsrc/graphics/freetype2/distinfo
diff -r1.19 -r0 pkgsrc/graphics/freetype2/patches/patch-ab
diff -r0 -r1.1 pkgsrc/graphics/freetype2/patches/patch-builds_unix_freetype-config.in
diff -r0 -r1.1 pkgsrc/graphics/freetype2/patches/patch-builds_unix_unix-cc.in
--- pkgsrc/graphics/freetype2/Makefile 2017/08/01 14:59:00 1.112
+++ pkgsrc/graphics/freetype2/Makefile 2017/09/18 16:54:06 1.113
| @@ -1,16 +1,16 @@ | | | @@ -1,16 +1,16 @@ |
1 | # $NetBSD: Makefile,v 1.112 2017/08/01 14:59:00 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.113 2017/09/18 16:54:06 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= freetype-2.8 | | 3 | DISTNAME= freetype-2.8.1 |
4 | PKGNAME= ${DISTNAME:S/-/2-/} | | 4 | PKGNAME= ${DISTNAME:S/-/2-/} |
5 | CATEGORIES= graphics | | 5 | CATEGORIES= graphics |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} |
7 | MASTER_SITES+= http://download.savannah.gnu.org/releases/freetype/ | | 7 | MASTER_SITES+= http://download.savannah.gnu.org/releases/freetype/ |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://www.freetype.org/ | | 11 | HOMEPAGE= https://www.freetype.org/ |
12 | COMMENT= Font rendering engine and library API | | 12 | COMMENT= Font rendering engine and library API |
13 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= gnu-gpl-v2 |
14 | | | 14 | |
15 | USE_LIBTOOL= yes | | 15 | USE_LIBTOOL= yes |
16 | USE_TOOLS+= grep gmake pkg-config | | 16 | USE_TOOLS+= grep gmake pkg-config |
--- pkgsrc/graphics/freetype2/distinfo 2017/05/14 11:02:15 1.62
+++ pkgsrc/graphics/freetype2/distinfo 2017/09/18 16:54:06 1.63
| @@ -1,7 +1,8 @@ | | | @@ -1,7 +1,8 @@ |
1 | $NetBSD: distinfo,v 1.62 2017/05/14 11:02:15 spz Exp $ | | 1 | $NetBSD: distinfo,v 1.63 2017/09/18 16:54:06 adam Exp $ |
2 | | | 2 | |
3 | SHA1 (freetype-2.8.tar.bz2) = 42c6b1f733fe13a3eba135f5025b22cb68450f91 | | 3 | SHA1 (freetype-2.8.1.tar.bz2) = 417bb3747c4ac95b6f2652024a53fad45581fa1c |
4 | RMD160 (freetype-2.8.tar.bz2) = 518184d2be032b9807345367265cc7cd49df0da5 | | 4 | RMD160 (freetype-2.8.1.tar.bz2) = 4b31c73b38d1f03c431b12408f800569e0724cc4 |
5 | SHA512 (freetype-2.8.tar.bz2) = 3842c34bf6100a8c9b78258146b2ff35e9bb4c993937d3ef09982c1e2552dfd15f8849ddd8a1e84edf08b5a5fb918b68cf7b1584545c5900e22a00bfa1c89ff5 | | 5 | SHA512 (freetype-2.8.1.tar.bz2) = ca59e47f0fceeeb9b8032be2671072604d0c79094675df24187829c05e99757d0a48a0f8062d4d688e056f783aa8f6090d732ad116562e94784fccf1339eb823 |
6 | Size (freetype-2.8.tar.bz2) = 1873526 bytes | | 6 | Size (freetype-2.8.1.tar.bz2) = 1886443 bytes |
7 | SHA1 (patch-ab) = 7b79dd02d8b1ad516011cd5e178e079895ce16d3 | | 7 | SHA1 (patch-builds_unix_freetype-config.in) = 60217b884a0f50c90f89529eaf909ded2693e3be |
| | | 8 | SHA1 (patch-builds_unix_unix-cc.in) = bd911998ec6bf6a59c1bfad9cc5702310ad5efc5 |
$NetBSD: patch-builds_unix_freetype-config.in,v 1.1 2017/09/18 16:54:06 adam Exp $
Do not substitute %PKG_CONFIG% as it ends with temporary DESTDIR.
--- builds/unix/freetype-config.in.orig 2017-09-18 15:52:06.000000000 +0000
+++ builds/unix/freetype-config.in
@@ -14,7 +14,7 @@ export LC_ALL
# if `pkg-config' is available, use values from `freetype2.pc'
-%PKG_CONFIG% --atleast-pkgconfig-version 0.24 >/dev/null 2>&1
+pkg-config --atleast-pkgconfig-version 0.24 >/dev/null 2>&1
if test $? -eq 0 ; then
# note that option `--variable' is not affected by the
# PKG_CONFIG_SYSROOT_DIR environment variable
@@ -23,17 +23,17 @@ if test $? -eq 0 ; then
export PKG_CONFIG_SYSROOT_DIR
fi
- prefix=`%PKG_CONFIG% --variable prefix freetype2`
- exec_prefix=`%PKG_CONFIG% --variable exec_prefix freetype2`
+ prefix=`pkg-config --variable prefix freetype2`
+ exec_prefix=`pkg-config --variable exec_prefix freetype2`
- includedir=`%PKG_CONFIG% --variable includedir freetype2`
- libdir=`%PKG_CONFIG% --variable libdir freetype2`
+ includedir=`pkg-config --variable includedir freetype2`
+ libdir=`pkg-config --variable libdir freetype2`
- version=`%PKG_CONFIG% --modversion freetype2`
+ version=`pkg-config --modversion freetype2`
- cflags=`%PKG_CONFIG% --cflags freetype2`
- dynamic_libs=`%PKG_CONFIG% --libs freetype2`
- static_libs=`%PKG_CONFIG% --static --libs freetype2`
+ cflags=`pkg-config --cflags freetype2`
+ dynamic_libs=`pkg-config --libs freetype2`
+ static_libs=`pkg-config --static --libs freetype2`
else
prefix="%prefix%"
exec_prefix="%exec_prefix%"
$NetBSD: patch-builds_unix_unix-cc.in,v 1.1 2017/09/18 16:54:06 adam Exp $
Provide tag to libtool.
Use CFLAGS when compiling executables.
--- builds/unix/unix-cc.in.orig 2017-03-30 10:20:23.000000000 +0000
+++ builds/unix/unix-cc.in
@@ -89,7 +89,7 @@ ANSIFLAGS := @XX_ANSIFLAGS@
#
#
CCraw := $(CC)
-CC := $(LIBTOOL) --mode=compile $(CCraw)
+CC := $(LIBTOOL) --tag=CC --mode=compile $(CCraw)
# Linker flags.
#
@@ -101,14 +101,14 @@ LDFLAGS := @LDFLAGS@
CCraw_build := @CC_BUILD@ # native CC of building system
E_BUILD := @EXEEXT_BUILD@ # extension for executable on building system
EXPORTS_LIST := $(OBJ_DIR)/ftexport.sym
-CCexe := $(CCraw_build) # used to compile `apinames' only
+CCexe := $(CCraw_build) @CFLAGS@ # used to compile `apinames' only
# Library linking
#
-LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
+LINK_LIBRARY = $(LIBTOOL) --tag=CC --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
-rpath $(libdir) -version-info $(version_info) \
$(LDFLAGS) -no-undefined \
- -export-symbols $(EXPORTS_LIST)
+ # -export-symbols $(EXPORTS_LIST)
# EOF