Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2013 05:30:13 GMT
From:      Pedro Giffuni <giffunip@tutopia.com>
To:        gnome@FreeBSD.org
Subject:   ports/178552: Update print/freetype2 to version 2.4.12
Message-ID:  <201305150530.r4F5UDxN042667@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/178552; it has been noted by GNATS.

From: Pedro Giffuni <giffunip@tutopia.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: ports/178552: Update print/freetype2 to version 2.4.12
Date: Mon, 13 May 2013 00:10:27 GMT

 >Number:         178552
 >Category:       ports
 >Synopsis:       Update print/freetype2 to version 2.4.12
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       low
 >Responsible:    freebsd-ports-bugs
 >State:          open
 >Quarter:        
 >Keywords:       
 >Date-Required:
 >Class:          update
 >Submitter-Id:   current-users
 >Arrival-Date:   Mon May 13 00:20:00 UTC 2013
 >Closed-Date:
 >Last-Modified:
 >Originator:     Pedro Giffuni
 >Release:        9.1-RELEASE
 >Organization:
 >Environment:
 FreeBSD pcbsd-4113 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 
 >Description:
 Apart from some minor issues, this version of FreeType supports the
 new CFF engine donated by Adobe in collaboration with Google.
 
 Testing of this new feature is encouraged but in order to activate
 it the code must be patched so I added the suggested patch that sets
 it as the new default hinter.
 >How-To-Repeat:
 
 >Fix:
 
 
 Patch attached with submission follows:
 
 Index: freetype2/Makefile
 ===================================================================
 --- freetype2/Makefile	(revision 317972)
 +++ freetype2/Makefile	(working copy)
 @@ -3,7 +3,7 @@
  #   $MCom: ports/print/freetype2/Makefile,v 1.28 2011/10/25 18:31:21 kwm Exp $
  
  PORTNAME=	freetype2
 -PORTVERSION=	2.4.11
 +PORTVERSION=	2.4.12
  CATEGORIES=	print
  MASTER_SITES=	SF/freetype/${PORTNAME}/${PORTVERSION} \
  		http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype2/ \
 Index: freetype2/distinfo
 ===================================================================
 --- freetype2/distinfo	(revision 317972)
 +++ freetype2/distinfo	(working copy)
 @@ -1,2 +1,2 @@
 -SHA256 (freetype-2.4.11.tar.bz2) = ef9d0bcb64647d9e5125dc7534d7ca371c98310fec87677c410f397f71ffbe3f
 -SIZE (freetype-2.4.11.tar.bz2) = 1546087
 +SHA256 (freetype-2.4.12.tar.bz2) = a78a17486689ab6852a9e1a759b179827ac9dfd7e2f237ddf169c73398c85381
 +SIZE (freetype-2.4.12.tar.bz2) = 1597205
 Index: freetype2/files/patch-aa
 ===================================================================
 --- freetype2/files/patch-aa	(revision 317972)
 +++ freetype2/files/patch-aa	(working copy)
 @@ -1,8 +1,8 @@
 ---- builds/unix/detect.mk.orig	2006-12-09 13:51:54.000000000 -0500
 -+++ builds/unix/detect.mk	2007-07-06 12:55:05.000000000 -0400
 -@@ -21,6 +21,9 @@ ifeq ($(PLATFORM),ansi)
 -   is_unix := $(strip $(wildcard /sbin/init) \
 +--- builds/unix/detect.mk.orig	2013-03-21 13:55:46.000000000 -0500
 ++++ builds/unix/detect.mk	2013-05-12 17:58:34.000000000 -0500
 +@@ -22,6 +22,9 @@
                        $(wildcard /usr/sbin/init) \
 +                      $(wildcard /dev/null) \
                        $(wildcard /hurd/auth))
  +  # FreeBSD is "unix" so just mandate this to fix the build in
  +  # jails that do not have init (see PR#113470).
 @@ -10,15 +10,15 @@
     ifneq ($(is_unix),)
   
       PLATFORM := unix
 -@@ -79,9 +82,9 @@ ifeq ($(PLATFORM),unix)
 +@@ -81,9 +84,9 @@
     ifdef must_configure
       ifneq ($(have_Makefile),)
         # we are building FT2 not in the src tree
 --	      $(TOP_DIR)/builds/unix/configure $(value CFG)
 -+#	      $(TOP_DIR)/builds/unix/configure $(value CFG)
 +-	      $(CONFIG_SHELL) $(TOP_DIR)/builds/unix/configure $(value CFG)
 ++      #      $(CONFIG_SHELL) $(TOP_DIR)/builds/unix/configure $(value CFG)
       else
 --	      cd builds/unix; ./configure $(value CFG)
 -+#	      cd builds/unix; ./configure $(value CFG)
 +-	      cd builds/unix; $(CONFIG_SHELL) ./configure $(value CFG)
 ++      #     cd builds/unix; $(CONFIG_SHELL) ./configure $(value CFG)
       endif
     endif
   
 Index: freetype2/files/patch-src::cff::cffobjs.c
 ===================================================================
 --- freetype2/files/patch-src::cff::cffobjs.c	(revision 0)
 +++ freetype2/files/patch-src::cff::cffobjs.c	(working copy)
 @@ -0,0 +1,11 @@
 +--- src/cff/cffobjs.c
 ++++ src/cff/cffobjs.c
 +@@ -1056,7 +1056,7 @@
 +
 +
 +     /* set default property values */
 +-    driver->hinting_engine    = FT_CFF_HINTING_FREETYPE;
 ++    driver->hinting_engine    = FT_CFF_HINTING_ADOBE;
 +     driver->no_stem_darkening = FALSE;
 +
 +     return FT_Err_Ok;
 Index: freetype2/pkg-plist
 ===================================================================
 --- freetype2/pkg-plist	(revision 317972)
 +++ freetype2/pkg-plist	(working copy)
 @@ -12,6 +12,7 @@
  include/freetype2/freetype/ftbitmap.h
  include/freetype2/freetype/ftbzip2.h
  include/freetype2/freetype/ftcache.h
 +include/freetype2/freetype/ftcffdrv.h
  include/freetype2/freetype/ftchapters.h
  include/freetype2/freetype/ftcid.h
  include/freetype2/freetype/fterrdef.h
 
 
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 _______________________________________________
 freebsd-ports-bugs@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
 To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305150530.r4F5UDxN042667>