Subject: pkg/19109: Update package graphics/freetype2 to 2.1.2 ( current stable )
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Juan@xtraeme.dyndns.org>
List: netbsd-bugs
Date: 11/20/2002 07:50:10
>Number:         19109
>Category:       pkg
>Synopsis:       Update package graphics/freetype2 to 2.1.2 ( current stable )
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 19 22:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 1.6K
>Organization:
HispaBSD
>Environment:
System: NetBSD xtraeme.dyndns.org 1.6K NetBSD 1.6K (xtrakernel) #5: Thu Nov 14 17:33:19 CET 2002 root@xtraeme.dyndns.org:/usr/src/sys/arch/i386/compile/xtrakernel i386
Architecture: i386
Machine: i386
>Description:

Our package for graphics/freetype2 is out of date ( 2.0.5 ), the
actual release stable is 2.1.2, this patch provide update to
this version.

>How-To-Repeat:

Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/graphics/freetype2/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile  2002/10/08 09:25:58 1.13
+++ Makefile  2002/11/20 06:43:33
@@ -1,8 +1,8 @@
 # $NetBSD: Makefile,v 1.13 2002/10/08 09:25:58 jlam Exp $
 #

-DISTNAME=  freetype-2.0.5
-PKGNAME= freetype2-2.0.5
+DISTNAME=  freetype-2.1.2
+PKGNAME= freetype2-2.1.2
 CATEGORIES=  graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=freetype/}	  \
    ftp://ftp.freetype.org/freetype/freetype2/	  \
Index: PLIST
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/graphics/freetype2/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST 2001/12/30 14:13:27 1.2
+++ PLIST 2002/11/20 06:43:33
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2001/12/30 14:13:27 wiz Exp $
+@comment $NetBSD$
 bin/freetype-config
-include/freetype2/freetype/cache/ftcchunk.h
+include/freetype2/freetype/cache/ftccache.h
+include/freetype2/freetype/cache/ftccmap.h
 include/freetype2/freetype/cache/ftcglyph.h
 include/freetype2/freetype/cache/ftcimage.h
 include/freetype2/freetype/cache/ftcmanag.h
@@ -10,10 +11,13 @@
 include/freetype2/freetype/config/ftheader.h
 include/freetype2/freetype/config/ftmodule.h
 include/freetype2/freetype/config/ftoption.h
+include/freetype2/freetype/config/ftstdlib.h
 include/freetype2/freetype/freetype.h
 include/freetype2/freetype/ftbbox.h
+include/freetype2/freetype/ftbdf.h
 include/freetype2/freetype/ftcache.h
 include/freetype2/freetype/ftchapters.h
+include/freetype2/freetype/fterrdef.h
 include/freetype2/freetype/fterrors.h
 include/freetype2/freetype/ftglyph.h
 include/freetype2/freetype/ftimage.h
@@ -27,25 +31,36 @@
 include/freetype2/freetype/ftsizes.h
 include/freetype2/freetype/ftsnames.h
 include/freetype2/freetype/ftsynth.h
+include/freetype2/freetype/ftsysio.h
+include/freetype2/freetype/ftsysmem.h
 include/freetype2/freetype/ftsystem.h
 include/freetype2/freetype/fttrigon.h
 include/freetype2/freetype/fttypes.h
+include/freetype2/freetype/ftxf86.h
 include/freetype2/freetype/internal/autohint.h
+include/freetype2/freetype/internal/bdftypes.h
 include/freetype2/freetype/internal/cfftypes.h
 include/freetype2/freetype/internal/fnttypes.h
 include/freetype2/freetype/internal/ftcalc.h
+include/freetype2/freetype/internal/ftcore.h
 include/freetype2/freetype/internal/ftdebug.h
 include/freetype2/freetype/internal/ftdriver.h
-include/freetype2/freetype/internal/ftextend.h
+include/freetype2/freetype/internal/ftexcept.h
+include/freetype2/freetype/internal/ftgloadr.h
+include/freetype2/freetype/internal/fthash.h
 include/freetype2/freetype/internal/ftmemory.h
+include/freetype2/freetype/internal/ftobject.h
 include/freetype2/freetype/internal/ftobjs.h
 include/freetype2/freetype/internal/ftstream.h
+include/freetype2/freetype/internal/fttrace.h
 include/freetype2/freetype/internal/internal.h
 include/freetype2/freetype/internal/pcftypes.h
 include/freetype2/freetype/internal/psaux.h
+include/freetype2/freetype/internal/pshints.h
 include/freetype2/freetype/internal/psnames.h
 include/freetype2/freetype/internal/sfnt.h
 include/freetype2/freetype/internal/t1types.h
+include/freetype2/freetype/internal/t42types.h
 include/freetype2/freetype/internal/tttypes.h
 include/freetype2/freetype/t1tables.h
 include/freetype2/freetype/ttnameid.h
@@ -55,10 +70,10 @@
 lib/libfreetype.a
 lib/libfreetype.la
 lib/libfreetype.so
-lib/libfreetype.so.7
-lib/libfreetype.so.7.0
+lib/libfreetype.so.9
+lib/libfreetype.so.9.1
+share/aclocal/freetype2.m4
 @dirrm include/freetype2/freetype/internal
 @dirrm include/freetype2/freetype/config
 @dirrm include/freetype2/freetype/cache
 @dirrm include/freetype2/freetype
-@dirrm include/freetype2
Index: buildlink2.mk
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/graphics/freetype2/buildlink2.mk,v
retrieving revision 1.7
diff -u -r1.7 buildlink2.mk
--- buildlink2.mk 2002/10/19 19:05:39 1.7
+++ buildlink2.mk 2002/11/20 06:43:33
@@ -1,16 +1,8 @@
-# $NetBSD: buildlink2.mk,v 1.7 2002/10/19 19:05:39 heinz Exp $
+# $NetBSD$
 
-.if !defined(FREETYPE2_BUILDLINK2_MK)
-FREETYPE2_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILDLINK_DEPENDS.freetype2?=	freetype2>=2.0.1
-BUILDLINK_PKGSRCDIR.freetype2?=  ../../graphics/freetype2
-
 # Check if we got FreeType2 distributed with XFree86 4.x or if we need to
 # depend on the freetype2 package.
-#
+
 _REQUIRE_BUILTIN_FREETYPE2?= NO
 
 _FREETYPE_H=	${X11BASE}/include/freetype2/freetype/freetype.h
@@ -28,68 +20,92 @@
 _NEED_FREETYPE2= YES
 .  else
 #
-# Create an appropriate freetype2 package name for the built-in freetype2
-# distributed with XFree86 4.x.  This package name can be used to check
-# against BUILDLINK_DEPENDS.freetype2 to see if we need to install the
-# pkgsrc freetype2 or if the built-in one is sufficient.
+# This Makefile fragment is included by packages that use freetype2.
 #
-_FREETYPE_MAJOR!= \
- ${AWK} '/.*\#define.*FREETYPE_MAJOR/ { print $$3 }' ${_FREETYPE_H}
-_FREETYPE_MINOR!= \
- ${AWK} '/.*\#define.*FREETYPE_MINOR/ { print "."$$3 }' ${_FREETYPE_H}
-_FREETYPE_PATCH!= \
- ${AWK} 'BEGIN { patch=0; } /.*\#define.*FREETYPE_PATCH/ { patch=$$3; } END { print "."patch; }' ${_FREETYPE_H}
-_FREETYPE_VERSION= ${_FREETYPE_MAJOR}${_FREETYPE_MINOR}${_FREETYPE_PATCH}
-_FREETYPE_PKG=	  freetype2-${_FREETYPE_VERSION}
-_FREETYPE_DEPENDS= ${BUILDLINK_DEPENDS.freetype2}
-_NEED_FREETYPE2!= \
- if ${PKG_ADMIN} pmatch '${_FREETYPE_DEPENDS}' ${_FREETYPE_PKG}; then \
-   ${ECHO} "NO";	    \
- else		      \
-   ${ECHO} "YES";	      \
- fi
-.  endif
-.endif
+# This file was created automatically using createbuildlink 2.2.
+#

-.if ${_NEED_FREETYPE2} == "YES"
+.if !defined(FREETYPE2_BUILDLINK2_MK)
+FREETYPE2_BUILDLINK2_MK= # defined
+
 BUILDLINK_PACKAGES+=	  freetype2
+BUILDLINK_DEPENDS.freetype2?=	  freetype2>=2.1.2
+BUILDLINK_PKGSRCDIR.freetype2?=    ../../graphics/freetype2
+
 EVAL_PREFIX+=	BUILDLINK_PREFIX.freetype2=freetype2
 BUILDLINK_PREFIX.freetype2_DEFAULT=  ${LOCALBASE}
-.else
-BUILDLINK_PREFIX.freetype2=  ${X11BASE}
-USE_X11=     # defined
-.endif
-
-BUILDLINK_FILES.freetype2= include/ft2build.h
-BUILDLINK_FILES.freetype2+=  include/freetype2/ft2build.h
-BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/*
-BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/cache/*
-BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/config/*
-BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/*
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/cache/ftccache.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/cache/ftccmap.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/cache/ftcglyph.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/cache/ftcimage.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/cache/ftcmanag.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/cache/ftcsbits.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/cache/ftlru.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/config/ftconfig.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/config/ftheader.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/config/ftmodule.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/config/ftoption.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/config/ftstdlib.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/freetype.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftbbox.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftbdf.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftcache.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftchapters.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/fterrdef.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/fterrors.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftglyph.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftimage.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftlist.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftmac.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftmm.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftmoderr.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftmodule.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftoutln.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftrender.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftsizes.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftsnames.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftsynth.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftsysio.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftsysmem.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftsystem.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/fttrigon.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/fttypes.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ftxf86.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/autohint.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/bdftypes.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/cfftypes.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/fnttypes.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftcalc.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftcore.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftdebug.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftdriver.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftexcept.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftgloadr.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/fthash.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftmemory.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftobject.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftobjs.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/ftstream.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/fttrace.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/internal.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/pcftypes.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/psaux.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/pshints.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/psnames.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/sfnt.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/t1types.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/t42types.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/internal/tttypes.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/t1tables.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/ttnameid.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/tttables.h
+BUILDLINK_FILES.freetype2+=  include/freetype2/freetype/tttags.h
+BUILDLINK_FILES.freetype2+=  include/ft2build.h
 BUILDLINK_FILES.freetype2+=  lib/libfreetype.*

-BUILDLINK_TARGETS+=	freetype2-buildlink
-BUILDLINK_TARGETS+=	freetype2-buildlink-config
 
-_FREETYPE2_CONFIG= \
- ${BUILDLINK_PREFIX.freetype2}/bin/freetype-config
-_FREETYPE2_BUILDLINK_CONFIG= \
- ${BUILDLINK_DIR}/bin/freetype-config
+BUILDLINK_TARGETS+=  freetype2-buildlink
 
 freetype2-buildlink: _BUILDLINK_USE
-
-freetype2-buildlink-config:
- ${_PKG_SILENT}${_PKG_DEBUG}	      \
- if [ ! -f ${_FREETYPE2_CONFIG} ] &&	    \
-    [ ! -f ${_FREETYPE2_BUILDLINK_CONFIG} ]; then    \
-   ${ECHO_BUILDLINK_MSG} "Creating config script ${_FREETYPE_BUILDLINK_CONFIG}."; \
-   ${MKDIR} ${_FREETYPE2_BUILDLINK_CONFIG:H};	  \
-   ${SED}  -e "s|@AWK@|${AWK}|g"	\
-     -e "s|@SED@|${SED}|g"	  \
-     -e "s|@X11BASE@|${X11BASE}|g"	\
-     ${.CURDIR}/../../graphics/freetype2/buildlink2-freetype-config.in \
-     > ${_FREETYPE2_BUILDLINK_CONFIG};	  \
-   ${CHMOD} +x ${_FREETYPE2_BUILDLINK_CONFIG};	  \
- fi
 
 .endif	# FREETYPE2_BUILDLINK2_MK
Index: distinfo
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/graphics/freetype2/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo  2001/12/30 14:13:27 1.4
+++ distinfo  2002/11/20 06:43:33
@@ -1,4 +1,4 @@
 $NetBSD: distinfo,v 1.4 2001/12/30 14:13:27 wiz Exp $

-SHA1 (freetype-2.0.5.tar.gz) = dd5bbc0bff77211b9516ed78a493063f6b46f06a
-Size (freetype-2.0.5.tar.gz) = 740375 bytes
+SHA1 (freetype-2.1.2.tar.gz) = 2da11a60cce7107bd3db473d7b2298c018fdaf53
+Size (freetype-2.1.2.tar.gz) = 950508 bytes


>Fix:

Thank you!

>Release-Note:
>Audit-Trail:
>Unformatted: