summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-12-01 16:46:46 +0000
committerPeter Volkov <pva@gentoo.org>2010-12-01 16:46:46 +0000
commit4d20a653394c82757ada8b909f554b3fb81c8421 (patch)
tree1379cb3eca63b77daf4755f1057a320702c204b5 /media-libs
parentVersion bumped. (diff)
downloadhistorical-4d20a653394c82757ada8b909f554b3fb81c8421.tar.gz
historical-4d20a653394c82757ada8b909f554b3fb81c8421.tar.bz2
historical-4d20a653394c82757ada8b909f554b3fb81c8421.zip
Version bump. Fixes ugly fonts in pdf #342515, thank Pacho Ramos for work with upstream.
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/freetype/ChangeLog8
-rw-r--r--media-libs/freetype/Manifest6
-rw-r--r--media-libs/freetype/freetype-2.4.4.ebuild119
3 files changed, 131 insertions, 2 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog
index 6cf161499317..e8f6ed84d0b8 100644
--- a/media-libs/freetype/ChangeLog
+++ b/media-libs/freetype/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/freetype
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.284 2010/11/28 14:29:36 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.285 2010/12/01 16:46:46 pva Exp $
+
+*freetype-2.4.4 (01 Dec 2010)
+
+ 01 Dec 2010; Peter Volkov <pva@gentoo.org> +freetype-2.4.4.ebuild:
+ Version bump. Fixes ugly fonts in pdf #342515, thank Pacho Ramos for work
+ with upstream.
28 Nov 2010; Brent Baude <ranger@gentoo.org> freetype-2.4.3-r2.ebuild:
Marking freetype-2.4.3-r2 ppc64 for bug 345843
diff --git a/media-libs/freetype/Manifest b/media-libs/freetype/Manifest
index 0a09753dd200..0f45a21c68fa 100644
--- a/media-libs/freetype/Manifest
+++ b/media-libs/freetype/Manifest
@@ -15,13 +15,17 @@ AUX freetype-2.4.3-SA41738.patch 1165 RMD160 a1abec119daea6951bc6bcf9202915ca33c
DIST freetype-1.4_pre20080316.tar.bz2 1199805 RMD160 5fb5b0737de968602008991c80dac827ea6fdca0 SHA1 73d4289f509213361b040dc9b649e27f810b133a SHA256 b88e8827dfeebcd0c663cac19c798acbd2f1129eaf89172eb26c3594700316a2
DIST freetype-2.4.2.tar.bz2 1433843 RMD160 5e3970f3a9e242255489111f77fe880d5d524860 SHA1 cc257ceda2950b8c80950d780ccf3ce665a815d1 SHA256 9a987aef8c50d9bcfdfdc9f012f8bd0de6095cc1a5524e62c1a037deb8dacbfe
DIST freetype-2.4.3.tar.bz2 1437406 RMD160 befa7c66a9574c682b45d69a1088d072d8f119d9 SHA1 16e5ba0ff23b2de372149a790b7245a762022912 SHA256 b4e626db62fd1b4549ff5d57f5eca3a41631fd6066adf8a31c11879b51249afc
+DIST freetype-2.4.4.tar.bz2 1442053 RMD160 6b9b37ccdc8d1bfe0883f0e25df6de49ab30379e SHA1 1d136cbc51c67b212c91ba04dc5db797f35e64e6 SHA256 4b8281c7dc4d375c6b65d3c6f4808e488a313fab47d7be82aad2c871c8480fef
DIST freetype-doc-2.4.2.tar.bz2 104322 RMD160 40948173eeed83f7658528918fe63d92d798f610 SHA1 27f58d135fa4ec5fd42f3c95c0776bfafd078d5e SHA256 6d40093c0bbb6f182120524f36a3099e925a87458ecca38c71dc447325191774
DIST freetype-doc-2.4.3.tar.bz2 104313 RMD160 07f53e51c8efd54bd17e009ab6456250e26cd885 SHA1 adb295468d0d8406e4b073028a3a8e31b7959e19 SHA256 6ed1d926679a13c15c2b32805127d0bcf7f8b7b950dbcc6f6db66963e4149d03
+DIST freetype-doc-2.4.4.tar.bz2 104304 RMD160 04ed50a9608d36885073fa80d5df243d06f4851e SHA1 7b7277466608243a4d409c502a36bbbdada9ed47 SHA256 9205ea8899ae005ceede2c7d4ab6dfac6d669b16a9e4a0d49f90c081bc916ae3
DIST ft2demos-2.4.2.tar.bz2 161201 RMD160 c8ea5f0980582bf7a4078205e715067614e3a556 SHA1 4911cdb2d207ac9a9cf5a16502360c8274872bd0 SHA256 95453d269d338fc93b74a6cbc5f4a3ec55a008d14478b15c8ff13cf388ece3fc
DIST ft2demos-2.4.3.tar.bz2 161975 RMD160 9fd687813c8d03186287e22780ce2058f62ef99c SHA1 caf8723687caa0073eb429652cff971ea287bac2 SHA256 49b5201e6dfd21ba040e69cd25f8a76f6cbfd64cf59ff056c3800d8860f32a69
+DIST ft2demos-2.4.4.tar.bz2 161949 RMD160 e4fd361cace505cd36059fb12bb70c16318c02f0 SHA1 ca89e754deab2f5a90cd23ba782bf7bdd3c88623 SHA256 176091eacbc0a27a420f097ebc997b7d2b96c12143bf3a41d470a66879ca02c4
EBUILD freetype-1.4_pre20080316-r2.ebuild 3811 RMD160 50e9146f86b280a8b487a9bf10f5c5a86457a5da SHA1 8f0d640c5879750dab079c79357fddef7324ee33 SHA256 0086e81f79c162424d73e1046bb4ae4c7da9b4d7e25757ebd0b6910b4141a4b7
EBUILD freetype-2.4.2.ebuild 3287 RMD160 b5e085ec42cb7fcdb0608739004f571fb2a087bc SHA1 b39aef6bc895e96bc8459de5ea10beae138b56c3 SHA256 d9bda7a647fe6f8e1c84c59d33e27aae38733377c8c616ea2b6a86f9a1903773
EBUILD freetype-2.4.3-r1.ebuild 3336 RMD160 3d40b8378ae72e5b713072f39db2dea804357686 SHA1 b4d55546dfbe39b073be27013623288d2a11818d SHA256 e78c820ee3fbeff20ef0bdad1298fd9cf4e6dcd6e53205865870f663aff228a5
EBUILD freetype-2.4.3-r2.ebuild 3389 RMD160 30f0f48db0bf7370e2e9202b1090fc93f033b9ef SHA1 4709903464f8fa9b29c911b1b5bd5f29e22d361b SHA256 afdfedcfacfa47f7c56d8114b99f50829e6408e96c862f29f03b977bcda64c7a
-MISC ChangeLog 42971 RMD160 20ebb00d21f6b6d5b6dd9f63bef796f5f9d0c06d SHA1 6d425948b5ffa28d340e481d7845e97c18401174 SHA256 3712bcf183f81cf5cd192386697824b67ee565c28058bd6149e30dd0bc32faf9
+EBUILD freetype-2.4.4.ebuild 3293 RMD160 2c82efaea29caa7388060998c532340ef8b5595f SHA1 b1b6449e009e785bb607634829c32b46be6f9de9 SHA256 13488ccf0b7aba4afcf1c1cee49940ce04acb137bda9410b0e0af083320149d3
+MISC ChangeLog 43162 RMD160 3f8ad0b2c8e0832bc04c363b6cb6f71b4436395c SHA1 4fd366458900d941e4956ea9bc3acee65d05884d SHA256 4f1113c2b130774f1ff61fc91e8481f2c9f672a1557107ac3bd84433f8a9fd75
MISC metadata.xml 607 RMD160 876e7ed36a36576541170c5648230f8ed33c5c92 SHA1 32f2a18811819f1810f97665005964f805893eeb SHA256 88c9bca38a1cf56277afdd823aed27d2ef3746cb79f2e55e3cc88d33ee729e72
diff --git a/media-libs/freetype/freetype-2.4.4.ebuild b/media-libs/freetype/freetype-2.4.4.ebuild
new file mode 100644
index 000000000000..3c01f5388963
--- /dev/null
+++ b/media-libs/freetype/freetype-2.4.4.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.4.ebuild,v 1.1 2010/12/01 16:46:46 pva Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic libtool
+
+DESCRIPTION="A high-quality and portable font engine"
+HOMEPAGE="http://www.freetype.org/"
+SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2
+ utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2 )
+ doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2 )"
+
+LICENSE="FTL GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="X auto-hinter bindist debug doc utils fontforge"
+
+DEPEND="sys-libs/zlib
+ X? ( x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp )"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ enable_option() {
+ sed -i -e "/#define $1/a #define $1" \
+ include/freetype/config/ftoption.h \
+ || die "unable to enable option $1"
+ }
+
+ disable_option() {
+ sed -i -e "/#define $1/ { s:^:/*:; s:$:*/: }" \
+ include/freetype/config/ftoption.h \
+ || die "unable to disable option $1"
+ }
+
+ if ! use bindist; then
+ # See http://freetype.org/patents.html
+ # ClearType is covered by several Microsoft patents in the US
+ enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
+ fi
+
+ if use auto-hinter; then
+ disable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER
+ enable_option TT_CONFIG_OPTION_UNPATENTED_HINTING
+ fi
+
+ if use debug; then
+ enable_option FT_DEBUG_LEVEL_TRACE
+ enable_option FT_DEBUG_MEMORY
+ fi
+
+ disable_option FT_CONFIG_OPTION_OLD_INTERNALS
+
+ epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch
+
+ if use utils; then
+ cd "${WORKDIR}/ft2demos-${PV}"
+ sed -i -e "s:\.\.\/freetype2$:../freetype-${PV}:" Makefile
+ # Disable tests needing X11 when USE="-X". (bug #177597)
+ if ! use X; then
+ sed -i -e "/EXES\ +=\ ftdiff/ s:^:#:" Makefile
+ fi
+ fi
+
+ elibtoolize
+ epunt_cxx
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+ type -P gmake &> /dev/null && export GNUMAKE=gmake
+ econf
+}
+
+src_compile() {
+ emake || die "emake failed"
+
+ if use utils; then
+ cd "${WORKDIR}/ft2demos-${PV}"
+ emake || die "ft2demos emake failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc ChangeLog README
+ dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PROBLEMS,TODO}
+
+ use doc && dohtml -r docs/*
+
+ if use utils; then
+ rm "${WORKDIR}"/ft2demos-${PV}/bin/README
+ for ft2demo in ../ft2demos-${PV}/bin/*; do
+ ./builds/unix/libtool --mode=install $(type -P install) -m 755 "$ft2demo" \
+ "${D}"/usr/bin
+ done
+ fi
+
+ if use fontforge; then
+ # Probably fontforge needs less but this way makes things simplier...
+ einfo "Installing internal headers required for fontforge"
+ find src/truetype include/freetype/internal -name '*.h' | \
+ while read header; do
+ mkdir -p "${D}/usr/include/freetype2/internal4fontforge/$(dirname ${header})"
+ cp ${header} "${D}/usr/include/freetype2/internal4fontforge/$(dirname ${header})"
+ done
+ fi
+}
+
+pkg_postinst() {
+ elog "The TrueType bytecode interpreter is no longer patented and thus no"
+ elog "longer controlled by the bindist USE flag. Enable the auto-hinter"
+ elog "USE flag if you want the old USE="bindist" hinting behavior."
+}