pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/freetype2 freetype2: updated to 2.9.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/306b8851b859
branches:  trunk
changeset: 379707:306b8851b859
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 04 08:40:11 2018 +0000

description:
freetype2: updated to 2.9.1

CHANGES BETWEEN 2.9 and 2.9.1

I. IMPORTANT BUG FIXES

  - Type  1  fonts  containing   flex  features  were  not  rendered
    correctly (bug introduced in version 2.9).

  - CVE-2018-6942: Older  FreeType versions  can crash  with certain
    malformed variation fonts.

      http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6942


II. MISCELLANEOUS

  - Bug fix: Multiple calls to `FT_Get_MM_Var' returned garbage.

  - The base  extensions `ftlcdfil' and  `ftfntfmt' are now  part of
    the  base  module  (and  thus no  longer  configurable  in  file
    `modules.cfg').

  - Emboldening of bitmaps didn't work correctly sometimes,  showing
    various artifacts (bug introduced in version 2.8.1).

  - Use  of  the `freetype-config'  script  to  get compilation  and
    linking  options   is  deprecated   since  it   doesn't  support
    cross-compiling, among other  deficiencies.  Instead, you should
    use the `pkg-config' interface.

    The `configure'  script no longer installs  `freetype-config' by
    default.  For  backwards compatibility,  a new  configure option
    `--enable-freetype-config'   is  provided   that  reverts   this
    decision.

  - The auto-hinter script ranges have  been updated for Unicode 11.
    No support  for new scripts  have been added, however,  with the
    exception of Georgian Mtavruli.

  - Support for cmake has been improved.

  - The next  release will  remove support for  Position Independent
    Code  as  needed  by  systems that  prohibit  automatic  address
    fixups, such  as BREW.  [Compilation with  modern compilers that
    use flags like `-fPIC' or `-fPIE' is not affected.]

diffstat:

 graphics/freetype2/Makefile                             |   4 ++--
 graphics/freetype2/PLIST                                |   4 +---
 graphics/freetype2/builtin.mk                           |   8 +++-----
 graphics/freetype2/distinfo                             |  12 ++++++------
 graphics/freetype2/patches/patch-builds_unix_unix-cc.in |  12 ++++++------
 5 files changed, 18 insertions(+), 22 deletions(-)

diffs (99 lines):

diff -r f6dab82c6e04 -r 306b8851b859 graphics/freetype2/Makefile
--- a/graphics/freetype2/Makefile       Fri May 04 06:56:40 2018 +0000
+++ b/graphics/freetype2/Makefile       Fri May 04 08:40:11 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.114 2018/01/18 09:49:24 adam Exp $
+# $NetBSD: Makefile,v 1.115 2018/05/04 08:40:11 adam Exp $
 
-DISTNAME=      freetype-2.9
+DISTNAME=      freetype-2.9.1
 PKGNAME=       ${DISTNAME:S/-/2-/}
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=freetype/}
diff -r f6dab82c6e04 -r 306b8851b859 graphics/freetype2/PLIST
--- a/graphics/freetype2/PLIST  Fri May 04 06:56:40 2018 +0000
+++ b/graphics/freetype2/PLIST  Fri May 04 08:40:11 2018 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2018/01/18 09:49:24 adam Exp $
-bin/freetype-config
+@comment $NetBSD: PLIST,v 1.26 2018/05/04 08:40:11 adam Exp $
 include/freetype2/freetype/config/ftconfig.h
 include/freetype2/freetype/config/ftheader.h
 include/freetype2/freetype/config/ftmodule.h
@@ -51,5 +50,4 @@
 include/freetype2/ft2build.h
 lib/libfreetype.la
 lib/pkgconfig/freetype2.pc
-man/man1/freetype-config.1
 share/aclocal/freetype2.m4
diff -r f6dab82c6e04 -r 306b8851b859 graphics/freetype2/builtin.mk
--- a/graphics/freetype2/builtin.mk     Fri May 04 06:56:40 2018 +0000
+++ b/graphics/freetype2/builtin.mk     Fri May 04 08:40:11 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.17 2018/01/14 14:58:38 rillig Exp $
+# $NetBSD: builtin.mk,v 1.18 2018/05/04 08:40:11 adam Exp $
 
 BUILTIN_PKG:=  freetype2
 
@@ -89,11 +89,9 @@
 _FT2_VER_MAP.2.4.5=13.0.7
 SUBST_CLASSES+=                fx-ft2-pc-version
 SUBST_STAGE.fx-ft2-pc-version= post-wrapper
-SUBST_MESSAGE.fx-ft2-pc-version=\
-       Fixes wrong module version in freetype2.pc
+SUBST_MESSAGE.fx-ft2-pc-version=Fixes wrong module version in freetype2.pc
 SUBST_FILES.fx-ft2-pc-version= ${BUILDLINK_X11_DIR}/lib/pkgconfig/freetype2.pc
-SUBST_SED.fx-ft2-pc-version=   \
-       -e 's|^\(Version:\).*|\1 ${_FT2_VER_MAP.${BUILTIN_VERSION.freetype2}}|'
+SUBST_SED.fx-ft2-pc-version=   -e 's|^\(Version:\).*|\1 ${_FT2_VER_MAP.${BUILTIN_VERSION.freetype2}}|'
 .    endif
 .  endif
 
diff -r f6dab82c6e04 -r 306b8851b859 graphics/freetype2/distinfo
--- a/graphics/freetype2/distinfo       Fri May 04 06:56:40 2018 +0000
+++ b/graphics/freetype2/distinfo       Fri May 04 08:40:11 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.64 2018/01/18 09:49:24 adam Exp $
+$NetBSD: distinfo,v 1.65 2018/05/04 08:40:11 adam Exp $
 
-SHA1 (freetype-2.9.tar.bz2) = 94c4399b1a55c5892812e732843fcb4a7c2fe657
-RMD160 (freetype-2.9.tar.bz2) = 529bf461888f7ba8f765d8c330463442c9e10181
-SHA512 (freetype-2.9.tar.bz2) = 28465f3453baf9a187529432118389de8f1b85273c9fb787d2c8f0feee8ab64b387ddd936b4e67ec58dcf71e33884e7e25f01169b737824221ab143839a9161a
-Size (freetype-2.9.tar.bz2) = 1915013 bytes
+SHA1 (freetype-2.9.1.tar.bz2) = 220c82062171c513e4017c523d196933c9de4a7d
+RMD160 (freetype-2.9.1.tar.bz2) = c01d82acf7062b07146f61f43a8d17d5805b9471
+SHA512 (freetype-2.9.1.tar.bz2) = 856766e1f3f4c7dc8afb2b5ee991138c8b642c6a6e5e007cd2bc04ae58bde827f082557cf41bf541d97e8485f7fd064d10390d1ee597f19d1daed6c152e27708
+Size (freetype-2.9.1.tar.bz2) = 1926385 bytes
 SHA1 (patch-builds_unix_freetype-config.in) = 60217b884a0f50c90f89529eaf909ded2693e3be
-SHA1 (patch-builds_unix_unix-cc.in) = bd911998ec6bf6a59c1bfad9cc5702310ad5efc5
+SHA1 (patch-builds_unix_unix-cc.in) = 39e5a3defda9e330b36f56e47a9a27c39eacddae
diff -r f6dab82c6e04 -r 306b8851b859 graphics/freetype2/patches/patch-builds_unix_unix-cc.in
--- a/graphics/freetype2/patches/patch-builds_unix_unix-cc.in   Fri May 04 06:56:40 2018 +0000
+++ b/graphics/freetype2/patches/patch-builds_unix_unix-cc.in   Fri May 04 08:40:11 2018 +0000
@@ -1,20 +1,20 @@
-$NetBSD: patch-builds_unix_unix-cc.in,v 1.1 2017/09/18 16:54:06 adam Exp $
+$NetBSD: patch-builds_unix_unix-cc.in,v 1.2 2018/05/04 08:40:11 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.orig        2018-04-22 09:41:36.000000000 +0000
 +++ builds/unix/unix-cc.in
-@@ -89,7 +89,7 @@ ANSIFLAGS := @XX_ANSIFLAGS@
- #
+@@ -88,7 +88,7 @@ ANSIFLAGS := @XX_ANSIFLAGS@
+ # C compiler to use -- we use libtool!
  #
  CCraw := $(CC)
 -CC    := $(LIBTOOL) --mode=compile $(CCraw)
 +CC    := $(LIBTOOL) --tag=CC --mode=compile $(CCraw)
  
- # Linker flags.
+ # Resource compiler to use on Cygwin/MinGW, usually windres.
  #
-@@ -101,14 +101,14 @@ LDFLAGS := @LDFLAGS@
+@@ -108,14 +108,14 @@ LIB_CLOCK_GETTIME := @LIB_CLOCK_GETTIME@
  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



Home | Main Index | Thread Index | Old Index