summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2009-09-12 21:45:49 +0000
committerRyan Hill <dirtyepic@gentoo.org>2009-09-12 21:45:49 +0000
commitc0280f5fbdcbb8bafe037593ce8f350fdb3c9812 (patch)
tree4b60fcc91f4f1c48dfd5e36fc34afa2401e79407 /media-libs/freetype
parentClean up deprecated gtkhtml:3.8 after taking care of bug #280961. (diff)
downloadgentoo-2-c0280f5fbdcbb8bafe037593ce8f350fdb3c9812.tar.gz
gentoo-2-c0280f5fbdcbb8bafe037593ce8f350fdb3c9812.tar.bz2
gentoo-2-c0280f5fbdcbb8bafe037593ce8f350fdb3c9812.zip
Remove old
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/freetype')
-rw-r--r--media-libs/freetype/ChangeLog11
-rw-r--r--media-libs/freetype/files/config.mk49
-rw-r--r--media-libs/freetype/files/freetype-2.3.7-b.g.o-247104.patch15
-rw-r--r--media-libs/freetype/files/freetype-2.3.7-b.g.o-253029.patch19
-rw-r--r--media-libs/freetype/files/freetype-2.3.7-fix-incorrect-scaling.patch21
-rw-r--r--media-libs/freetype/files/freetype-2.3.7-no-segfault-on-load_mac_face.patch51
-rw-r--r--media-libs/freetype/freetype-1.4_pre20080316-r1.ebuild125
-rw-r--r--media-libs/freetype/freetype-2.3.7-r1.ebuild123
-rw-r--r--media-libs/freetype/freetype-2.3.7.ebuild117
-rw-r--r--media-libs/freetype/freetype-2.3.8.ebuild123
10 files changed, 10 insertions, 644 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog
index ddb92e1bf187..b63ee84310ee 100644
--- a/media-libs/freetype/ChangeLog
+++ b/media-libs/freetype/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-libs/freetype
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.238 2009/08/30 05:46:22 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.239 2009/09/12 21:45:49 dirtyepic Exp $
+
+ 12 Sep 2009; Ryan Hill <dirtyepic@gentoo.org>
+ -freetype-1.4_pre20080316-r1.ebuild, -freetype-2.3.7.ebuild,
+ -freetype-2.3.7-r1.ebuild, -files/freetype-2.3.7-b.g.o-247104.patch,
+ -files/freetype-2.3.7-b.g.o-253029.patch,
+ -files/freetype-2.3.7-fix-incorrect-scaling.patch,
+ -files/freetype-2.3.7-no-segfault-on-load_mac_face.patch,
+ -freetype-2.3.8.ebuild, -files/config.mk:
+ Remove old
30 Aug 2009; Ryan Hill <dirtyepic@gentoo.org> metadata.xml:
Fix description of fontforge USE flag.
diff --git a/media-libs/freetype/files/config.mk b/media-libs/freetype/files/config.mk
deleted file mode 100644
index 027f3c96b257..000000000000
--- a/media-libs/freetype/files/config.mk
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# FreeType 2 configuration rules for UNIX platforms
-#
-
-
-# Copyright 1996-2000 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT. By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-
-include $(TOP)/builds/unix/unix-def.mk
-include $(TOP)/builds/unix/unix-cc.mk
-
-ifdef BUILD_PROJECT
-
- # Now include the main sub-makefile. It contains all the rules used to
- # build the library with the previous variables defined.
- #
- include $(TOP)/builds/$(PROJECT).mk
-
-
- # The cleanup targets.
- #
- clean_project: clean_project_unix
- distclean_project: distclean_project_unix
-
-
- # This final rule is used to link all object files into a single library.
- # It is part of the system-specific sub-Makefile because not all
- # librarians accept a simple syntax like
- #
- # librarian library_file {list of object files}
- #
- $(PROJECT_LIBRARY): $(OBJECTS_LIST)
-ifdef CLEAN_LIBRARY
- -$(CLEAN_LIBRARY) $(NO_OUTPUT)
-endif
- $(LINK_LIBRARY)
-
-endif
-
-include $(TOP)/builds/unix/install.mk
-
-# EOF
diff --git a/media-libs/freetype/files/freetype-2.3.7-b.g.o-247104.patch b/media-libs/freetype/files/freetype-2.3.7-b.g.o-247104.patch
deleted file mode 100644
index 3bebed5e1e45..000000000000
--- a/media-libs/freetype/files/freetype-2.3.7-b.g.o-247104.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- freetype-2.3.7/src/cff/cffparse.c.old 2008/08/04 15:54:24 1.43
-+++ freetype-2.3.7/src/cff/cffparse.c 2008/11/27 21:55:20 1.44
-@@ -355,6 +355,12 @@
- if ( FT_ABS( integer_length ) > 5 )
- goto Exit;
-
-+ /* Remove non-significant digits. */
-+ if ( integer_length < 0 ) {
-+ number /= power_tens[-integer_length];
-+ fraction_length += integer_length;
-+ }
-+
- /* Convert into 16.16 format. */
- if ( fraction_length > 0 )
- {
diff --git a/media-libs/freetype/files/freetype-2.3.7-b.g.o-253029.patch b/media-libs/freetype/files/freetype-2.3.7-b.g.o-253029.patch
deleted file mode 100644
index edacc61545c0..000000000000
--- a/media-libs/freetype/files/freetype-2.3.7-b.g.o-253029.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -uNr freetype-2.3.7/src/cff/cffgload.c freetype-2.3.7-new/src/cff/cffgload.c
---- freetype-2.3.7/src/cff/cffgload.c 2008-05-13 23:31:14.000000000 -0700
-+++ freetype-2.3.7-new/src/cff/cffgload.c 2008-12-29 12:35:16.000000000 -0800
-@@ -2357,9 +2357,12 @@
- if ( cff->top_font.font_dict.cid_registry != 0xFFFFU &&
- cff->charset.cids )
- {
-- glyph_index = cff_charset_cid_to_gindex( &cff->charset, glyph_index );
-- if ( glyph_index == 0 )
-- return CFF_Err_Invalid_Argument;
-+ if ( glyph_index )
-+ {
-+ glyph_index = cff_charset_cid_to_gindex( &cff->charset, glyph_index );
-+ if ( glyph_index == 0 )
-+ return CFF_Err_Invalid_Argument;
-+ }
- }
- else if ( glyph_index >= cff->num_glyphs )
- return CFF_Err_Invalid_Argument;
diff --git a/media-libs/freetype/files/freetype-2.3.7-fix-incorrect-scaling.patch b/media-libs/freetype/files/freetype-2.3.7-fix-incorrect-scaling.patch
deleted file mode 100644
index ef4586766b01..000000000000
--- a/media-libs/freetype/files/freetype-2.3.7-fix-incorrect-scaling.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-2008-08-04 Bram Tassyns <bramt@enfocus.be>
-
- * src/cff/cffparse.c (cff_parse_fixed_scaled): Fix thinko which
- resulted in incorrect scaling. This fixes Savannah bug #23973.
-
---- freetype-2.3.7/src/cff/cffparse.c.old 2008/06/10 05:58:25 1.42
-+++ freetype-2.3.7/src/cff/cffparse.c 2008/08/04 15:54:24 1.43
-@@ -406,10 +406,9 @@
- cff_parse_fixed_scaled( FT_Byte** d,
- FT_Int scaling )
- {
-- return **d ==
-- 30 ? cff_parse_real( d[0], d[1], scaling, NULL )
-- : (FT_Fixed)FT_MulFix( cff_parse_integer( d[0], d[1] ) << 16,
-- power_tens[scaling] );
-+ return **d == 30 ? cff_parse_real( d[0], d[1], scaling, NULL )
-+ : ( cff_parse_integer( d[0], d[1] ) *
-+ power_tens[scaling] ) << 16;
- }
-
-
diff --git a/media-libs/freetype/files/freetype-2.3.7-no-segfault-on-load_mac_face.patch b/media-libs/freetype/files/freetype-2.3.7-no-segfault-on-load_mac_face.patch
deleted file mode 100644
index 10422a178ea2..000000000000
--- a/media-libs/freetype/files/freetype-2.3.7-no-segfault-on-load_mac_face.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-2008-08-19 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
-
- * src/base/ftobjs.c (FT_Stream_New): Initialize *astream
- always, even if passed library or arguments are invalid.
- This fixes a bug that uninitialized stream is freed when
- an invalid library handle is passed. Originally proposed
- by Mike Fabian, 2008/08/18 on freetype-devel.
- (FT_Open_Face): Ditto (stream).
- (load_face_in_embedded_rfork): Ditto (stream2).
-
-Fixes Debian bug #487101.
-
-Index: freetype-2.3.7/src/base/ftobjs.c
-===================================================================
---- freetype-2.3.7.orig/src/base/ftobjs.c
-+++ freetype-2.3.7/src/base/ftobjs.c
-@@ -128,13 +128,14 @@
- FT_Stream stream;
-
-
-+ *astream = 0;
-+
- if ( !library )
- return FT_Err_Invalid_Library_Handle;
-
- if ( !args )
- return FT_Err_Invalid_Argument;
-
-- *astream = 0;
- memory = library->memory;
-
- if ( FT_NEW( stream ) )
-@@ -1600,7 +1601,7 @@
- FT_Error errors[FT_RACCESS_N_RULES];
-
- FT_Open_Args args2;
-- FT_Stream stream2;
-+ FT_Stream stream2 = 0;
-
-
- FT_Raccess_Guess( library, stream,
-@@ -1713,7 +1714,7 @@
- FT_Error error;
- FT_Driver driver;
- FT_Memory memory;
-- FT_Stream stream;
-+ FT_Stream stream = 0;
- FT_Face face = 0;
- FT_ListNode node = 0;
- FT_Bool external_stream;
-
diff --git a/media-libs/freetype/freetype-1.4_pre20080316-r1.ebuild b/media-libs/freetype/freetype-1.4_pre20080316-r1.ebuild
deleted file mode 100644
index 089b7d7f73e1..000000000000
--- a/media-libs/freetype/freetype-1.4_pre20080316-r1.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-1.4_pre20080316-r1.ebuild,v 1.9 2009/05/24 14:39:18 loki_val Exp $
-
-inherit autotools eutils libtool multilib
-
-DESCRIPTION="Freetype font rendering engine"
-HOMEPAGE="http://www.freetype.org/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="FTL"
-SLOT="1"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="doc nls kpathsea"
-
-COMMON_DEPEND="kpathsea? ( virtual/tex-base )"
-RDEPEND="${COMMON_DEPEND}
- nls? ( sys-devel/gettext )"
-DEPEND="${COMMON_DEPEND}
- >=sys-devel/autoconf-2.59"
-
-S="${WORKDIR}"/${PN}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # remove unneeded include for BSD (#104016)
- epatch "${FILESDIR}"/freetype-1.4_pre-malloc.patch
-
- # fix ttf2pk to work with tetex 3.0
- epatch "${FILESDIR}"/freetype-1.4_pre-ttf2pk-tetex-3.patch
-
- # fix segfault due to undefined behaviour of non-static structs
- epatch "${FILESDIR}"/freetype-1.4_pre-ttf2tfm-segfault.patch
-
- # silence strict-aliasing warnings
- epatch "${FILESDIR}"/freetype-1.4_pre-silence-strict-aliasing.patch
-
- # add DESTDIR support to contrib Makefiles
- epatch "${FILESDIR}"/freetype-1.4_pre-contrib-destdir.patch
-
- epatch "${FILESDIR}"/${P}-CVE-2008-1808.patch #225851
- epatch "${FILESDIR}"/${P}-LDLFAGS.patch #263131
- epatch "${FILESDIR}"/${PN}-1.4-glibc-2.10.patch #270460
-
- # disable tests (they don't compile)
- sed -i -e "/^all:/ s:tttest ::" Makefile.in
-
- rm aclocal.m4 # Force recreation
- # Copying this code from autotools.eclass but avoid autoheader call...
- eaclocal
- if ${LIBTOOLIZE:-libtoolize} -n --install >& /dev/null ; then
- _elibtoolize --copy --force --install
- else
- _elibtoolize --copy --force
- fi
- eautoconf
- elibtoolize
-
- # contrib isn't compatible with autoconf-2.13
- unset WANT_AUTOCONF
-
- for x in ttf2bdf ttf2pfb ttf2pk ttfbanner; do
- cd "${S}"/freetype1-contrib/${x}
- eautoconf
- done
-}
-
-src_compile() {
- use kpathsea && kpathseaconf="--with-kpathsea-lib=/usr/$(get_libdir) --with-kpathsea-include=/usr/include"
-
- # core
- einfo "Building core library..."
- econf $(use_enable nls) || die "econf failed"
- emake || die "emake failed"
-
- # contrib
- cd "${S}"/freetype1-contrib/ttf2pk
- einfo "Building ttf2pk..."
- econf ${kpathseaconf} || die "econf ttf2pk failed"
- emake || die "emake ttf2pk failed"
- for x in ttf2bdf ttf2pfb ttfbanner; do
- cd "${S}"/freetype1-contrib/${x}
- einfo "Building ${x}..."
- econf || die "econf ${x} failed"
- emake || die "emake ${x} failed"
- done
-}
-
-src_install() {
- dodoc announce PATENTS README docs/*.txt docs/FAQ
- use doc && dohtml -r docs
-
- # core
- # Seems to require a shared libintl (getetxt comes only with a static one
- # But it seems to work without problems
- einfo "Installing core library..."
- cd "${S}"/lib
- emake -f arch/unix/Makefile \
- prefix="${D}"/usr libdir="${D}"/usr/$(get_libdir) install \
- || die "lib install failed"
-
- # install po files
- einfo "Installing po files..."
- cd "${S}"/po
- emake prefix="${D}"/usr libdir="${D}"/usr/$(get_libdir) install \
- || die "po install failed"
-
- # contrib (DESTDIR now works here)
- einfo "Installing contrib..."
- for x in ttf2bdf ttf2pfb ttf2pk ttfbanner; do
- cd "${S}"/freetype1-contrib/${x}
- emake DESTDIR="${D}" install || die "${x} install failed"
- done
-
- # tex stuff
- if use kpathsea; then
- cd "${S}"/freetype1-contrib
- insinto /usr/share/texmf/ttf2pk
- doins ttf2pk/data/* || die "kpathsea ttf2pk install failed"
- insinto /usr/share/texmf/ttf2pfb
- doins ttf2pfb/Uni-T1.enc || die "kpathsea ttf2pfb install failed"
- fi
-}
diff --git a/media-libs/freetype/freetype-2.3.7-r1.ebuild b/media-libs/freetype/freetype-2.3.7-r1.ebuild
deleted file mode 100644
index 3c0b54a9ea20..000000000000
--- a/media-libs/freetype/freetype-2.3.7-r1.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.3.7-r1.ebuild,v 1.9 2009/03/17 10:47:48 armin76 Exp $
-
-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 ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="X bindist debug doc utils"
-
-DEPEND="X? ( x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp )"
-
-# We also need a recent fontconfig version to prevent segfaults. #166029
-# July 3 2007 dirtyepic
-RDEPEND="${DEPEND}
- !<media-libs/fontconfig-2.3.2-r2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- 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
- # Bytecodes and subpixel hinting supports are patented
- # in United States; for safety, disable them while building
- # binaries, so that no risky code is distributed.
- # See http://freetype.org/patents.html
-
- enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
- enable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER
- disable_option TT_CONFIG_OPTION_UNPATENTED_HINTING
- fi
-
- if use debug; then
- enable_option FT_DEBUG_LEVEL_ERROR
- enable_option FT_DEBUG_MEMORY
- fi
-
- enable_option FT_CONFIG_OPTION_INCREMENTAL
- disable_option FT_CONFIG_OPTION_OLD_INTERNALS
-
- epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch
- epatch "${FILESDIR}"/${P}-b.g.o-247104.patch
- epatch "${FILESDIR}"/${P}-b.g.o-253029.patch
- #Fixes Debian bug #487101.
- epatch "${FILESDIR}"/${P}-no-segfault-on-load_mac_face.patch
- #Fixes Savannah bug #23973.
- epatch "${FILESDIR}"/${P}-fix-incorrect-scaling.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\ +=\ ftview/ s:^:#:" Makefile
- fi
- fi
-
- elibtoolize
- epunt_cxx
-}
-
-src_compile() {
- append-flags -fno-strict-aliasing
-
- type -P gmake &> /dev/null && export GNUMAKE=gmake
- econf || die "econf failed"
- 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,PATENTS,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
-}
-
-pkg_postinst() {
- echo
- ewarn "After upgrading to freetype-2.3.5, it is necessary to rebuild"
- ewarn "libXfont to avoid build errors in some packages."
- echo
- elog "The utilities and demos previously bundled with freetype are now"
- elog "optional. Enable the utils USE flag if you would like them"
- elog "to be installed."
- echo
-}
diff --git a/media-libs/freetype/freetype-2.3.7.ebuild b/media-libs/freetype/freetype-2.3.7.ebuild
deleted file mode 100644
index 434d053ebc1a..000000000000
--- a/media-libs/freetype/freetype-2.3.7.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.3.7.ebuild,v 1.8 2008/08/20 17:26:51 vapier Exp $
-
-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 ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="X bindist debug doc utils"
-
-DEPEND="X? ( x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp )"
-
-# We also need a recent fontconfig version to prevent segfaults. #166029
-# July 3 2007 dirtyepic
-RDEPEND="${DEPEND}
- !<media-libs/fontconfig-2.3.2-r2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- 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
- # Bytecodes and subpixel hinting supports are patented
- # in United States; for safety, disable them while building
- # binaries, so that no risky code is distributed.
- # See http://freetype.org/patents.html
-
- enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
- enable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER
- disable_option TT_CONFIG_OPTION_UNPATENTED_HINTING
- fi
-
- if use debug; then
- enable_option FT_DEBUG_LEVEL_ERROR
- enable_option FT_DEBUG_MEMORY
- fi
-
- enable_option FT_CONFIG_OPTION_INCREMENTAL
- 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\ +=\ ftview/ s:^:#:" Makefile
- fi
- fi
-
- elibtoolize
- epunt_cxx
-}
-
-src_compile() {
- append-flags -fno-strict-aliasing
-
- type -P gmake &> /dev/null && export GNUMAKE=gmake
- econf || die "econf failed"
- 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,PATENTS,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
-}
-
-pkg_postinst() {
- echo
- ewarn "After upgrading to freetype-2.3.5, it is necessary to rebuild"
- ewarn "libXfont to avoid build errors in some packages."
- echo
- elog "The utilities and demos previously bundled with freetype are now"
- elog "optional. Enable the utils USE flag if you would like them"
- elog "to be installed."
- echo
-}
diff --git a/media-libs/freetype/freetype-2.3.8.ebuild b/media-libs/freetype/freetype-2.3.8.ebuild
deleted file mode 100644
index c522e9c9b03f..000000000000
--- a/media-libs/freetype/freetype-2.3.8.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.3.8.ebuild,v 1.10 2009/03/18 14:56:50 ranger Exp $
-
-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 ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="X bindist debug doc utils fontforge"
-
-DEPEND="X? ( x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp )"
-
-# We also need a recent fontconfig version to prevent segfaults. #166029
-# July 3 2007 dirtyepic
-RDEPEND="${DEPEND}
- !<media-libs/fontconfig-2.3.2-r2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- 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
- # Bytecodes and subpixel hinting supports are patented
- # in United States; for safety, disable them while building
- # binaries, so that no risky code is distributed.
- # See http://freetype.org/patents.html
-
- enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
- enable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER
- disable_option TT_CONFIG_OPTION_UNPATENTED_HINTING
- fi
-
- if use debug; then
- enable_option FT_DEBUG_LEVEL_ERROR
- enable_option FT_DEBUG_MEMORY
- fi
-
- enable_option FT_CONFIG_OPTION_INCREMENTAL
- 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\ +=\ ftview/ s:^:#:" Makefile
- fi
- fi
-
- elibtoolize
- epunt_cxx
-}
-
-src_compile() {
- append-flags -fno-strict-aliasing
-
- type -P gmake &> /dev/null && export GNUMAKE=gmake
- econf
- 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,PATENTS,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
- # Probably fontforge needs less but this way makes things simplier...
- if use fontforge; then
- 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() {
- echo
- elog "The utilities and demos previously bundled with freetype are now"
- elog "optional. Enable the utils USE flag if you would like them"
- elog "to be installed."
- echo
-}