pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/freetype2 freetype2: update to 2.8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0f02f7ae2a4
branches:  trunk
changeset: 368844:f0f02f7ae2a4
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 18 16:54:06 2017 +0000

description:
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.

diffstat:

 graphics/freetype2/Makefile                                     |   4 +-
 graphics/freetype2/distinfo                                     |  13 +-
 graphics/freetype2/patches/patch-ab                             |  31 -------
 graphics/freetype2/patches/patch-builds_unix_freetype-config.in |  41 ++++++++++
 graphics/freetype2/patches/patch-builds_unix_unix-cc.in         |  34 ++++++++
 5 files changed, 84 insertions(+), 39 deletions(-)

diffs (148 lines):

diff -r ebaf6578be2a -r f0f02f7ae2a4 graphics/freetype2/Makefile
--- a/graphics/freetype2/Makefile       Mon Sep 18 16:21:25 2017 +0000
+++ b/graphics/freetype2/Makefile       Mon Sep 18 16:54:06 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.112 2017/08/01 14:59:00 wiz Exp $
+# $NetBSD: Makefile,v 1.113 2017/09/18 16:54:06 adam Exp $
 
-DISTNAME=      freetype-2.8
+DISTNAME=      freetype-2.8.1
 PKGNAME=       ${DISTNAME:S/-/2-/}
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=freetype/}
diff -r ebaf6578be2a -r f0f02f7ae2a4 graphics/freetype2/distinfo
--- a/graphics/freetype2/distinfo       Mon Sep 18 16:21:25 2017 +0000
+++ b/graphics/freetype2/distinfo       Mon Sep 18 16:54:06 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.62 2017/05/14 11:02:15 spz Exp $
+$NetBSD: distinfo,v 1.63 2017/09/18 16:54:06 adam Exp $
 
-SHA1 (freetype-2.8.tar.bz2) = 42c6b1f733fe13a3eba135f5025b22cb68450f91
-RMD160 (freetype-2.8.tar.bz2) = 518184d2be032b9807345367265cc7cd49df0da5
-SHA512 (freetype-2.8.tar.bz2) = 3842c34bf6100a8c9b78258146b2ff35e9bb4c993937d3ef09982c1e2552dfd15f8849ddd8a1e84edf08b5a5fb918b68cf7b1584545c5900e22a00bfa1c89ff5
-Size (freetype-2.8.tar.bz2) = 1873526 bytes
-SHA1 (patch-ab) = 7b79dd02d8b1ad516011cd5e178e079895ce16d3
+SHA1 (freetype-2.8.1.tar.bz2) = 417bb3747c4ac95b6f2652024a53fad45581fa1c
+RMD160 (freetype-2.8.1.tar.bz2) = 4b31c73b38d1f03c431b12408f800569e0724cc4
+SHA512 (freetype-2.8.1.tar.bz2) = ca59e47f0fceeeb9b8032be2671072604d0c79094675df24187829c05e99757d0a48a0f8062d4d688e056f783aa8f6090d732ad116562e94784fccf1339eb823
+Size (freetype-2.8.1.tar.bz2) = 1886443 bytes
+SHA1 (patch-builds_unix_freetype-config.in) = 60217b884a0f50c90f89529eaf909ded2693e3be
+SHA1 (patch-builds_unix_unix-cc.in) = bd911998ec6bf6a59c1bfad9cc5702310ad5efc5
diff -r ebaf6578be2a -r f0f02f7ae2a4 graphics/freetype2/patches/patch-ab
--- a/graphics/freetype2/patches/patch-ab       Mon Sep 18 16:21:25 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-ab,v 1.19 2017/05/14 11:02:15 spz Exp $
-
---- 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
diff -r ebaf6578be2a -r f0f02f7ae2a4 graphics/freetype2/patches/patch-builds_unix_freetype-config.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/freetype2/patches/patch-builds_unix_freetype-config.in   Mon Sep 18 16:54:06 2017 +0000
@@ -0,0 +1,41 @@
+$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%"
diff -r ebaf6578be2a -r f0f02f7ae2a4 graphics/freetype2/patches/patch-builds_unix_unix-cc.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/freetype2/patches/patch-builds_unix_unix-cc.in   Mon Sep 18 16:54:06 2017 +0000
@@ -0,0 +1,34 @@
+$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



Home | Main Index | Thread Index | Old Index