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.12.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2d561a25056
branches:  trunk
changeset: 377458:e2d561a25056
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Apr 20 20:59:52 2022 +0000

description:
freetype2: update to 2.12.0.

CHANGES BETWEEN 2.11.1 and 2.12.0

  I. IMPORTANT CHANGES

  - FreeType  now   handles  OT-SVG  fonts,  to   be  controlled  with
    `FT_CONFIG_OPTION_SVG`  configuration macro.   By default,  it can
    only load the 'SVG ' table of an OpenType font.  However, by using
    the `svg-hooks` property of the new 'ot-svg' module it is possible
    to register an  external SVG rendering engine.   The FreeType demo
    programs  have been  set  up  to use  'librsvg'  as the  rendering
    library.

    This work was Moazin Khatti's GSoC 2019 project.


  II. MISCELLANEOUS

  - The handling of fonts with an 'sbix' table has been improved.

    - Corrected bitmap offsets.

    - A  new tag  `FT_PARAM_TAG_IGNORE_SBIX` for  `FT_Open_Face` makes
      FreeType ignore an 'sbix' table in a font, allowing applications
      to access the font's outline glyphs.

    - `FT_FACE_FLAG_SBIX`  and   `FT_FACE_FLAG_SBIX_OVERLAY`  together
      with their  corresponding preprocessor macros  `FT_HAS_SBIX` and
      `FT_HAS_SBIX_OVERLAY` enable applications to treat 'sbix' tables
      as described in the OpenType specification.

  - The internal 'zlib'  code has been updated to be  in sync with the
    current 'zlib' version (1.2.11).

  - The  previously internal  load  flag  `FT_LOAD_SBITS_ONLY` is  now
    public.

  - Some  minor improvements  of the  building systems,  in particular
    handling of the 'zlib' library (internal vs. external).

  - Support for non-desktop Universal Windows Platform.

  - Various other minor bug and documentation fixes.

  - The `ftdump` demo  program shows more information  for Type1 fonts
    if option `-n` is given.

  - `ftgrid` can now display embedded bitmap strikes.

diffstat:

 graphics/freetype2/Makefile                             |   5 ++---
 graphics/freetype2/PLIST                                |   3 ++-
 graphics/freetype2/distinfo                             |  10 +++++-----
 graphics/freetype2/patches/patch-builds_unix_unix-cc.in |  17 +++++++++--------
 4 files changed, 18 insertions(+), 17 deletions(-)

diffs (91 lines):

diff -r 441be884ccbe -r e2d561a25056 graphics/freetype2/Makefile
--- a/graphics/freetype2/Makefile       Wed Apr 20 20:54:54 2022 +0000
+++ b/graphics/freetype2/Makefile       Wed Apr 20 20:59:52 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.123 2022/04/12 23:38:13 wiz Exp $
+# $NetBSD: Makefile,v 1.124 2022/04/20 20:59:52 wiz Exp $
 
-DISTNAME=      freetype-2.11.1
+DISTNAME=      freetype-2.12.0
 PKGNAME=       ${DISTNAME:S/-/2-/}
-PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=freetype/}
 MASTER_SITES+= http://download.savannah.gnu.org/releases/freetype/
diff -r 441be884ccbe -r e2d561a25056 graphics/freetype2/PLIST
--- a/graphics/freetype2/PLIST  Wed Apr 20 20:54:54 2022 +0000
+++ b/graphics/freetype2/PLIST  Wed Apr 20 20:59:52 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.30 2022/01/04 13:16:17 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.31 2022/04/20 20:59:52 wiz Exp $
 bin/freetype-config
 include/freetype2/freetype/config/ftconfig.h
 include/freetype2/freetype/config/ftheader.h
@@ -49,6 +49,7 @@
 include/freetype2/freetype/fttrigon.h
 include/freetype2/freetype/fttypes.h
 include/freetype2/freetype/ftwinfnt.h
+include/freetype2/freetype/otsvg.h
 include/freetype2/freetype/t1tables.h
 include/freetype2/freetype/ttnameid.h
 include/freetype2/freetype/tttables.h
diff -r 441be884ccbe -r e2d561a25056 graphics/freetype2/distinfo
--- a/graphics/freetype2/distinfo       Wed Apr 20 20:54:54 2022 +0000
+++ b/graphics/freetype2/distinfo       Wed Apr 20 20:59:52 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.72 2022/01/04 13:16:17 ryoon Exp $
+$NetBSD: distinfo,v 1.73 2022/04/20 20:59:52 wiz Exp $
 
-BLAKE2s (freetype-2.11.1.tar.xz) = 86ac5455d54c72720ddfff32ad112795d8e495feca27187af4789741829f0e73
-SHA512 (freetype-2.11.1.tar.xz) = 0848678482fbe20603a866f02da82c91122014d6f815ba4f1d9c03601c32e3ceb781f721c2b4427b6117d7c9742018af8dbb26566faf018595c70b50f8db3f08
-Size (freetype-2.11.1.tar.xz) = 2270728 bytes
+BLAKE2s (freetype-2.12.0.tar.xz) = 8798d5c519ecdb3512c8f1c3c6c190c5c04cc6ccc233500313464a1a8ca8738b
+SHA512 (freetype-2.12.0.tar.xz) = d2426b46ef56268f5030951840a73be9a626129c6fc6ad2ab06e572c9325d0192f47b007798c2ffa3608fe50e296ad129ac41312b1fd3f8864d7e55e8c237c54
+Size (freetype-2.12.0.tar.xz) = 2340352 bytes
 SHA1 (patch-builds_unix_freetype-config.in) = 60217b884a0f50c90f89529eaf909ded2693e3be
-SHA1 (patch-builds_unix_unix-cc.in) = 24f2842f3c6bab662d870917af3d77d663c50f77
+SHA1 (patch-builds_unix_unix-cc.in) = dbd8e7011a1128067531526d8aeb0202ff799ad8
diff -r 441be884ccbe -r e2d561a25056 graphics/freetype2/patches/patch-builds_unix_unix-cc.in
--- a/graphics/freetype2/patches/patch-builds_unix_unix-cc.in   Wed Apr 20 20:54:54 2022 +0000
+++ b/graphics/freetype2/patches/patch-builds_unix_unix-cc.in   Wed Apr 20 20:59:52 2022 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-builds_unix_unix-cc.in,v 1.3 2020/06/03 08:40:21 adam Exp $
+$NetBSD: patch-builds_unix_unix-cc.in,v 1.4 2022/04/20 20:59:52 wiz Exp $
 
 Provide tag to libtool.
 Use CFLAGS when compiling executables.
 
---- builds/unix/unix-cc.in.orig        2020-05-04 04:07:22.000000000 +0000
+--- builds/unix/unix-cc.in.orig        2022-01-27 07:43:19.000000000 +0000
 +++ builds/unix/unix-cc.in
 @@ -95,7 +95,7 @@ ANSIFLAGS := @XX_ANSIFLAGS@
  # libtool call is always prepended.
@@ -14,21 +14,22 @@
  
  # Resource compiler to use on Cygwin/MinGW, usually windres.
  #
-@@ -115,14 +115,14 @@ LIB_CLOCK_GETTIME := @LIB_CLOCK_GETTIME@
+@@ -113,15 +113,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
++CCexe        := $(CCraw_build)        @CFLAGS@ # used to compile `apinames' only
  
  
- # Library linking
+ # 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 \
+-                          $(LDFLAGS) -no-undefined \
 -                          -export-symbols $(EXPORTS_LIST)
-+                          # -export-symbols $(EXPORTS_LIST)
++                          $(LDFLAGS) -no-undefined
  
- # EOF
+ # For the demo programs.
+ FT_DEMO_CFLAGS := @FT_DEMO_CFLAGS@



Home | Main Index | Thread Index | Old Index