summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2006-06-19 17:10:55 +0000
committerMarinus Schraal <foser@gentoo.org>2006-06-19 17:10:55 +0000
commit53096671b1856373a0b39280b154610b067c5440 (patch)
tree9d26135e7185f1fbdf90e8974688f58956e68308 /media-libs/freetype
parentadd freetype-2.2 mask (diff)
downloadgentoo-2-53096671b1856373a0b39280b154610b067c5440.tar.gz
gentoo-2-53096671b1856373a0b39280b154610b067c5440.tar.bz2
gentoo-2-53096671b1856373a0b39280b154610b067c5440.zip
new minor release
(Portage version: 2.1)
Diffstat (limited to 'media-libs/freetype')
-rw-r--r--media-libs/freetype/ChangeLog7
-rw-r--r--media-libs/freetype/files/digest-freetype-2.1.102
-rw-r--r--media-libs/freetype/files/digest-freetype-2.2.16
-rw-r--r--media-libs/freetype/files/freetype-2-enable_bci.patch12
-rw-r--r--media-libs/freetype/freetype-2.2.1.ebuild63
5 files changed, 89 insertions, 1 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog
index facdc1e73cf0..47672a072e76 100644
--- a/media-libs/freetype/ChangeLog
+++ b/media-libs/freetype/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/freetype
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.79 2006/03/31 19:54:28 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.80 2006/06/19 17:10:55 foser Exp $
+
+*freetype-2.2.1 (19 Jun 2006)
+
+ 19 Jun 2006; Marinus Schraal <foser@gentoo.org> freetype-2.2.1.ebuild :
+ New release
31 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> freetype-2.1.10.ebuild:
Add ~x86-fbsd keyword dropping virtual/libc dependency.
diff --git a/media-libs/freetype/files/digest-freetype-2.1.10 b/media-libs/freetype/files/digest-freetype-2.1.10
index 271e9fbc8d2e..6f3158e1d65e 100644
--- a/media-libs/freetype/files/digest-freetype-2.1.10
+++ b/media-libs/freetype/files/digest-freetype-2.1.10
@@ -1,2 +1,4 @@
MD5 a4012e7d1f6400df44a16743b11b8423 freetype-2.1.10.tar.bz2 1037107
+RMD160 3d31d548632f14784283c97ece64c7425efc3975 freetype-2.1.10.tar.bz2 1037107
+SHA256 fed2ed148d7d105b95493c5e95561c8b05ee7909e00f828f036d8ed1be6a5e53 freetype-2.1.10.tar.bz2 1037107
MD5 10608a55ee9ee12e29ba3d705318e61d freetype-doc-2.1.10.tar.bz2 163725
diff --git a/media-libs/freetype/files/digest-freetype-2.2.1 b/media-libs/freetype/files/digest-freetype-2.2.1
new file mode 100644
index 000000000000..9d617b6085a8
--- /dev/null
+++ b/media-libs/freetype/files/digest-freetype-2.2.1
@@ -0,0 +1,6 @@
+MD5 5b2f827082c544392a7701f7423f0781 freetype-2.2.1.tar.bz2 1212258
+RMD160 1c7eb4a43501c8fd5e89d0399e184847351ee160 freetype-2.2.1.tar.bz2 1212258
+SHA256 0e8eb40392752b306d3a3de21f9fa479d53c17bd774b8051771cb258e162e006 freetype-2.2.1.tar.bz2 1212258
+MD5 27bcd2540702afe6753c9fd74670f617 freetype-doc-2.2.1.tar.bz2 100288
+RMD160 d32bb6da85e63f797eaa40ff0c0f93356bcab23d freetype-doc-2.2.1.tar.bz2 100288
+SHA256 7b0bd93d765ee2b92e0602ec89ba5363ab23add9f947f8ab4fc67cb45c83f4c2 freetype-doc-2.2.1.tar.bz2 100288
diff --git a/media-libs/freetype/files/freetype-2-enable_bci.patch b/media-libs/freetype/files/freetype-2-enable_bci.patch
new file mode 100644
index 000000000000..c72b09031dc7
--- /dev/null
+++ b/media-libs/freetype/files/freetype-2-enable_bci.patch
@@ -0,0 +1,12 @@
+diff -uNr freetype-2.2.1/include/freetype/config/ftoption.h freetype-2.2.1.patched/include/freetype/config/ftoption.h
+--- freetype-2.2.1/include/freetype/config/ftoption.h 2006-05-11 20:05:49.000000000 +0200
++++ freetype-2.2.1.patched/include/freetype/config/ftoption.h 2006-06-19 18:24:08.000000000 +0200
+@@ -436,7 +436,7 @@
+ /* Do not #undef this macro here, since the build system might */
+ /* define it for certain configurations only. */
+ /* */
+-/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
++#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
+
+
+ /*************************************************************************/
diff --git a/media-libs/freetype/freetype-2.2.1.ebuild b/media-libs/freetype/freetype-2.2.1.ebuild
new file mode 100644
index 000000000000..aca3120c5f34
--- /dev/null
+++ b/media-libs/freetype/freetype-2.2.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.2.1.ebuild,v 1.1 2006/06/19 17:10:55 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 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+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="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}
+
+ # disable BCI when distributing binaries (patent issues)
+ use bindist || epatch ${FILESDIR}/${PN}-2-enable_bci.patch
+
+ epunt_cxx
+
+}
+
+src_compile() {
+
+ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021
+ append-flags "-fno-strict-aliasing"
+
+ econf `use_with zlib` || 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/*
+
+}