aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-03-10 08:52:03 +0800
committermarcus <marcus@FreeBSD.org>2005-03-10 08:52:03 +0800
commitb27c0c8341da1b1594ae25f457ab73eaf69dfe34 (patch)
tree663d6f1a24ff6b4272c5ce611263c97ea03f9590
parentfd67658b053fecafa7048a89ba7a620990b3e719 (diff)
downloadfreebsd-ports-gnome-b27c0c8341da1b1594ae25f457ab73eaf69dfe34.tar.gz
freebsd-ports-gnome-b27c0c8341da1b1594ae25f457ab73eaf69dfe34.tar.zst
freebsd-ports-gnome-b27c0c8341da1b1594ae25f457ab73eaf69dfe34.zip
Gak! I committed freetype instead of freetype2. Of course, there were
no changes in freetype so that was a no-op. Update to 2.1.9. Note: this version is ABI compatible with 2.1.7, so no ports need to be recompiled for this update. PR: 78385 Submitted by: lesi Commit blunder reported by: ahze
-rw-r--r--print/freetype2/Makefile11
-rw-r--r--print/freetype2/distinfo4
-rw-r--r--print/freetype2/files/patch-aa13
-rw-r--r--print/freetype2/files/patch-builds::unix::freetype-config.in22
-rw-r--r--print/freetype2/files/patch-builds::unix::freetype2.in8
-rw-r--r--print/freetype2/files/patch-src::truetype::ttgload.c22
-rw-r--r--print/freetype2/files/patch-src::type1::t1load.c14
-rw-r--r--print/freetype2/pkg-plist5
8 files changed, 57 insertions, 42 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile
index c982136d906d..c91c743688ff 100644
--- a/print/freetype2/Makefile
+++ b/print/freetype2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= freetype2
-PORTVERSION= 2.1.7
-PORTREVISION= 4
+PORTVERSION= 2.1.9
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \
http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \
@@ -36,10 +35,10 @@ CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix
CFLAGS+= -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
.endif
-.if defined(WITH_CJK)
-PATCH_SITES+= http://bsdchat.com/dist/firefly-cjk-patchset/
-PATCHFILES+= cjk-patch-freetype2-20041115.diff.gz
-.endif
+#.if defined(WITH_CJK)
+#PATCH_SITES+= http://bsdchat.com/dist/firefly-cjk-patchset/
+#PATCHFILES+= cjk-patch-freetype2-20041115.diff.gz
+#.endif
pre-everything::
.if !defined(WITHOUT_TTF_BYTECODE_ENABLED)
diff --git a/print/freetype2/distinfo b/print/freetype2/distinfo
index 4acbc1f6dc09..b41567bbf0b6 100644
--- a/print/freetype2/distinfo
+++ b/print/freetype2/distinfo
@@ -1,4 +1,4 @@
-MD5 (freetype-2.1.7.tar.bz2) = d71723948d7c0e44c401b5733c50857e
-SIZE (freetype-2.1.7.tar.bz2) = 930766
+MD5 (freetype-2.1.9.tar.bz2) = ec1b903e4be5f073caa72458ea58c29c
+SIZE (freetype-2.1.9.tar.bz2) = 992394
MD5 (cjk-patch-freetype2-20041115.diff.gz) = c1e52458b877a78636a4cdbb97badb11
SIZE (cjk-patch-freetype2-20041115.diff.gz) = 16052
diff --git a/print/freetype2/files/patch-aa b/print/freetype2/files/patch-aa
index fc35240e2df9..6db517ee1afa 100644
--- a/print/freetype2/files/patch-aa
+++ b/print/freetype2/files/patch-aa
@@ -1,16 +1,13 @@
-
-$FreeBSD$
-
---- builds/unix/detect.mk.orig Fri Jun 14 11:09:25 2002
-+++ builds/unix/detect.mk Fri Jun 28 13:35:48 2002
-@@ -76,10 +76,10 @@
+--- builds/unix/detect.mk.orig Sun Jan 9 21:12:51 2005
++++ builds/unix/detect.mk Sun Jan 9 21:13:42 2005
+@@ -78,10 +78,10 @@
ifneq ($(have_mk),)
# we are building FT2 not in the src tree
- unix-def.mk: $(TOP_DIR)/builds/unix/unix-def.in
+ $(BUILD_DIR)/unix-def.mk: $(TOP_DIR)/builds/unix/unix-def.in
- $(TOP_DIR)/builds/unix/configure $(CFG)
+# $(TOP_DIR)/builds/unix/configure $(CFG)
else
- unix-def.mk: $(TOP_DIR)/builds/unix/unix-def.in
+ $(BUILD_DIR)/unix-def.mk: $(TOP_DIR)/builds/unix/unix-def.in
- cd builds/unix; ./configure $(CFG)
+# cd builds/unix; ./configure $(CFG)
endif
diff --git a/print/freetype2/files/patch-builds::unix::freetype-config.in b/print/freetype2/files/patch-builds::unix::freetype-config.in
index a1f100ca1c76..ca50202def2e 100644
--- a/print/freetype2/files/patch-builds::unix::freetype-config.in
+++ b/print/freetype2/files/patch-builds::unix::freetype-config.in
@@ -1,17 +1,17 @@
---- builds/unix/freetype-config.in.orig Thu Apr 24 01:45:59 2003
-+++ builds/unix/freetype-config.in Tue Sep 30 01:39:03 2003
-@@ -79,12 +79,8 @@
+--- builds/unix/freetype-config.in.orig Sun Jan 9 21:18:15 2005
++++ builds/unix/freetype-config.in Sun Jan 9 21:18:57 2005
+@@ -105,12 +105,8 @@
fi
if test "$echo_cflags" = "yes" ; then
-- cflags="-I@includedir@/freetype2"
-- if test "@includedir@" != "/usr/include" ; then
-- echo $cflags -I@includedir@
-- else
-- echo $cflags
-- fi
-+ cflags="-I@includedir@/freetype2 -I@includedir@"
-+ echo $cflags
+- cflags="-I$includedir/freetype2"
+- if test "$includedir" != "/usr/include" ; then
+- echo $cflags -I$includedir
+- else
+- echo $cflags
+- fi
++ cflags="-I@includedir@/freetype2 -I@includedir@"
++ echo $cflags
fi
if test "$echo_libs" = "yes" ; then
diff --git a/print/freetype2/files/patch-builds::unix::freetype2.in b/print/freetype2/files/patch-builds::unix::freetype2.in
new file mode 100644
index 000000000000..3edd50098026
--- /dev/null
+++ b/print/freetype2/files/patch-builds::unix::freetype2.in
@@ -0,0 +1,8 @@
+--- builds/unix/freetype2.in.orig Wed Mar 2 20:22:23 2005
++++ builds/unix/freetype2.in Wed Mar 2 20:22:53 2005
+@@ -8,4 +8,4 @@
+ Version: @ft_version@
+ Requires:
+ Libs: -L${libdir} -lfreetype @LIBZ@
+-Cflags: -I${includedir}/freetype2
++Cflags: -I${includedir}/freetype2 -I${includedir}
diff --git a/print/freetype2/files/patch-src::truetype::ttgload.c b/print/freetype2/files/patch-src::truetype::ttgload.c
new file mode 100644
index 000000000000..3d15d3b8fd9b
--- /dev/null
+++ b/print/freetype2/files/patch-src::truetype::ttgload.c
@@ -0,0 +1,22 @@
+Index: src/truetype/ttgload.c
+===================================================================
+RCS file: /cvsroot/freetype/freetype2/src/truetype/ttgload.c,v
+retrieving revision 1.131
+retrieving revision 1.132
+diff -u -r1.131 -r1.132
+--- src/truetype/ttgload.c 13 Oct 2004 05:15:44 -0000 1.131
++++ src/truetype/ttgload.c 19 Nov 2004 10:35:52 -0000 1.132
+@@ -797,12 +797,10 @@
+ if ( IS_HINTED( load->load_flags ) )
+ {
+ FT_Pos x = zone->org[n_points-4].x;
+- FT_Pos y = zone->org[n_points-2].y;
+
+
+ x = FT_PIX_ROUND( x ) - x;
+- y = FT_PIX_ROUND( y ) - y;
+- translate_array( n_points, zone->org, x, y );
++ translate_array( n_points, zone->org, x, 0 );
+
+ org_to_cur( n_points, zone );
+
diff --git a/print/freetype2/files/patch-src::type1::t1load.c b/print/freetype2/files/patch-src::type1::t1load.c
deleted file mode 100644
index 5579ba4a2fee..000000000000
--- a/print/freetype2/files/patch-src::type1::t1load.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/type1/t1load.c.orig Sat Apr 17 21:32:53 2004
-+++ src/type1/t1load.c Sat Apr 17 21:34:43 2004
-@@ -1527,6 +1527,11 @@
- parser->root.cursor = cur2;
- }
-
-+ /* look for `eexec' */
-+ else if ( *cur == 'e' && cur + 5 < limit &&
-+ ft_strncmp( (char*)cur, "eexec", 5 ) == 0 )
-+ break;
-+
- /* look for `closefile' which ends the eexec section */
- else if ( *cur == 'c' && cur + 9 < limit &&
- ft_strncmp( (char*)cur, "closefile", 9 ) == 0 )
diff --git a/print/freetype2/pkg-plist b/print/freetype2/pkg-plist
index 5aff59b70c49..788737ad6821 100644
--- a/print/freetype2/pkg-plist
+++ b/print/freetype2/pkg-plist
@@ -4,8 +4,8 @@ include/freetype2/freetype/cache/ftccmap.h
include/freetype2/freetype/cache/ftcglyph.h
include/freetype2/freetype/cache/ftcimage.h
include/freetype2/freetype/cache/ftcmanag.h
+include/freetype2/freetype/cache/ftcmru.h
include/freetype2/freetype/cache/ftcsbits.h
-include/freetype2/freetype/cache/ftlru.h
include/freetype2/freetype/config/ftconfig.h
include/freetype2/freetype/config/ftheader.h
include/freetype2/freetype/config/ftmodule.h
@@ -23,6 +23,7 @@ include/freetype2/freetype/ftgzip.h
include/freetype2/freetype/ftimage.h
include/freetype2/freetype/ftincrem.h
include/freetype2/freetype/ftlist.h
+include/freetype2/freetype/ftlzw.h
include/freetype2/freetype/ftmac.h
include/freetype2/freetype/ftmm.h
include/freetype2/freetype/ftmodapi.h
@@ -48,6 +49,7 @@ include/freetype2/freetype/internal/ftdriver.h
include/freetype2/freetype/internal/ftgloadr.h
include/freetype2/freetype/internal/ftmemory.h
include/freetype2/freetype/internal/ftobjs.h
+include/freetype2/freetype/internal/ftrfork.h
include/freetype2/freetype/internal/ftserv.h
include/freetype2/freetype/internal/ftstream.h
include/freetype2/freetype/internal/fttrace.h
@@ -64,6 +66,7 @@ include/freetype2/freetype/internal/svpostnm.h
include/freetype2/freetype/internal/svpscmap.h
include/freetype2/freetype/internal/svpsinfo.h
include/freetype2/freetype/internal/svsfnt.h
+include/freetype2/freetype/internal/svttcmap.h
include/freetype2/freetype/internal/svwinfnt.h
include/freetype2/freetype/internal/svxf86nm.h
include/freetype2/freetype/internal/t1types.h