summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2005-07-12 17:05:54 +0000
committerMarinus Schraal <foser@gentoo.org>2005-07-12 17:05:54 +0000
commit9bc377fddc2f836c823100a467ab89e1e479d7cd (patch)
tree44c097d146d16b2ebac50dfc4fc264860818bed4 /media-libs/freetype
parentRename mozilla useflag into nsplugin. (diff)
downloadgentoo-2-9bc377fddc2f836c823100a467ab89e1e479d7cd.tar.gz
gentoo-2-9bc377fddc2f836c823100a467ab89e1e479d7cd.tar.bz2
gentoo-2-9bc377fddc2f836c823100a467ab89e1e479d7cd.zip
new release
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-libs/freetype')
-rw-r--r--media-libs/freetype/ChangeLog7
-rw-r--r--media-libs/freetype/Manifest2
-rw-r--r--media-libs/freetype/files/digest-freetype-2.1.102
-rw-r--r--media-libs/freetype/files/freetype-2.1.10-internal_header.patch12
-rw-r--r--media-libs/freetype/freetype-2.1.10.ebuild68
5 files changed, 90 insertions, 1 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog
index 896378c3a1c2..81e59257a90f 100644
--- a/media-libs/freetype/ChangeLog
+++ b/media-libs/freetype/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/freetype
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.74 2005/03/26 19:40:32 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.75 2005/07/12 17:05:54 foser Exp $
+
+*freetype-2.1.10 (12 Jul 2005)
+
+ 12 Jul 2005; Marinus Schraal <foser@gentoo.org> freetype-2.1.10.ebuild :
+ New release (#95969)
26 Mar 2005; Lina Pezzella <j4rg0n@gentoo.org> freetype-2.1.9-r1.ebuild:
Stable ppc-macos
diff --git a/media-libs/freetype/Manifest b/media-libs/freetype/Manifest
index 1d09c2188d75..6d86a99f3b07 100644
--- a/media-libs/freetype/Manifest
+++ b/media-libs/freetype/Manifest
@@ -1,5 +1,6 @@
MD5 6094d16c6ac736615e432667ba320389 freetype-2.1.5-r1.ebuild 1479
MD5 ef45da57bf17e8188dabd437b6cba47c freetype-1.3.1-r4.ebuild 3091
+MD5 68c74851b95bbd2b45af4ba398c4eff2 freetype-2.1.10.ebuild 1851
MD5 83876af503362fea42fa81def8e9bf04 freetype-1.3.1-r3.ebuild 2741
MD5 fb7621f9daa81dd823eb8a4bf48bcf6f ChangeLog 10851
MD5 68a04e23ccfb7971cff8ce012aee659c metadata.xml 221
@@ -8,6 +9,7 @@ MD5 6c404648e3cb8f86b329f7dac5d70cc8 files/freetype-2.1.9-fix_bci.patch 643
MD5 10bd432787c1a182edece351dbf82809 files/config.mk 1240
MD5 d42207bb27a2046e454b706339adaa25 files/digest-freetype-1.3.1-r3 136
MD5 d42207bb27a2046e454b706339adaa25 files/digest-freetype-1.3.1-r4 136
+MD5 f9a58f527647abffba59f1db219693a4 files/digest-freetype-2.1.10 141
MD5 4889d3ad3f18d1c357b3d707c7b71f1c files/digest-freetype-2.1.5-r1 67
MD5 29bbc2c883bf52623f42dd235cd23fd6 files/digest-freetype-2.1.9-r1 132
MD5 eea0ebe9b39158ab0fa0b131c284930f files/2.1/freetype-2.1.5-autohint-cjkfonts-20031105.patch 65828
diff --git a/media-libs/freetype/files/digest-freetype-2.1.10 b/media-libs/freetype/files/digest-freetype-2.1.10
new file mode 100644
index 000000000000..271e9fbc8d2e
--- /dev/null
+++ b/media-libs/freetype/files/digest-freetype-2.1.10
@@ -0,0 +1,2 @@
+MD5 a4012e7d1f6400df44a16743b11b8423 freetype-2.1.10.tar.bz2 1037107
+MD5 10608a55ee9ee12e29ba3d705318e61d freetype-doc-2.1.10.tar.bz2 163725
diff --git a/media-libs/freetype/files/freetype-2.1.10-internal_header.patch b/media-libs/freetype/files/freetype-2.1.10-internal_header.patch
new file mode 100644
index 000000000000..22e752726e04
--- /dev/null
+++ b/media-libs/freetype/files/freetype-2.1.10-internal_header.patch
@@ -0,0 +1,12 @@
+diff -uNr freetype-2.1.10/include/freetype/internal/ftmemory.h freetype-2.1.10.patched/include/freetype/internal/ftmemory.h
+--- freetype-2.1.10/include/freetype/internal/ftmemory.h 2005-06-04 07:17:10.000000000 +0200
++++ freetype-2.1.10.patched/include/freetype/internal/ftmemory.h 2005-07-12 18:57:44.000000000 +0200
+@@ -430,7 +430,7 @@
+ FT_ALLOC( _pointer_, (_count_) * sizeof ( _type_ ) )
+
+ #define FT_REALLOC_ARRAY( _pointer_, _old_, _new_, _type_ ) \
+- FT_REALLOC( _pointer, (_old_) * sizeof ( _type_ ), \
++ FT_REALLOC( _pointer_, (_old_) * sizeof ( _type_ ), \
+ (_new_) * sizeof ( _type_ ) )
+
+
diff --git a/media-libs/freetype/freetype-2.1.10.ebuild b/media-libs/freetype/freetype-2.1.10.ebuild
new file mode 100644
index 000000000000..c4fb69b6da79
--- /dev/null
+++ b/media-libs/freetype/freetype-2.1.10.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.1.10.ebuild,v 1.1 2005/07/12 17:05:54 foser Exp $
+
+inherit eutils flag-o-matic gnuconfig libtool
+
+SPV="`echo ${PV} | cut -d. -f1,2`"
+
+DESCRIPTION="A high-quality and portable font engine"
+HOMEPAGE="http://www.freetype.org/"
+SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2
+ doc? ( mirror://sourceforge/${PN}/${PN}-doc-${PV}.tar.bz2 )"
+
+LICENSE="FTL GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sparc ~x86"
+IUSE="zlib bindist doc"
+
+# The RDEPEND below makes sure that if there is a version of moz/ff/tb
+# installed, then it will have the freetype-2.1.8+ binary compatibility patch.
+# Otherwise updating freetype will cause moz/ff/tb crashes. #59849
+# 20 Nov 2004 agriffis
+DEPEND="virtual/libc
+ zlib? ( sys-libs/zlib )"
+
+RDEPEND="${DEPEND}
+ !<www-client/mozilla-1.7.3-r3
+ !<www-client/mozilla-firefox-1.0-r3
+ !<mail-client/mozilla-thunderbird-0.9-r3
+ !<media-libs/libwmf-0.2.8.2"
+
+src_unpack() {
+
+ unpack ${A}
+
+ # fix internal header cast which gets used by pango (bad)
+ epatch ${FILESDIR}/${P}-internal_header.patch
+
+ gnuconfig_update ${S}
+ uclibctoolize
+ epunt_cxx
+
+}
+
+src_compile() {
+
+ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021
+ append-flags "-fno-strict-aliasing"
+
+ use bindist || append-flags -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
+
+ make setup CFG="--host=${CHOST} --prefix=/usr `use_with zlib` --libdir=/usr/$(get_libdir)" unix || die
+
+ emake || die
+
+}
+
+src_install() {
+
+ make DESTDIR="${D}" install || die
+
+ dodoc ChangeLog README
+ dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PATENTS,TODO}
+
+ cd ${WORKDIR}/${PN}-doc-${PV}
+ use doc && dohtml -r docs/*
+
+}