diff options
author | 2013-05-25 07:47:49 +0000 | |
---|---|---|
committer | 2013-05-25 07:47:49 +0000 | |
commit | a866e9ad98ccf1793d487e83dbbaec05a0e179ca (patch) | |
tree | 9e96601a64c8d9c6f89cd11b2f0e17d1ba607bb4 /media-libs/freetype | |
parent | Utilize readme.gentoo eclass, add missing die in src_test (diff) | |
download | gentoo-2-a866e9ad98ccf1793d487e83dbbaec05a0e179ca.tar.gz gentoo-2-a866e9ad98ccf1793d487e83dbbaec05a0e179ca.tar.bz2 gentoo-2-a866e9ad98ccf1793d487e83dbbaec05a0e179ca.zip |
Remove old unsupported vulnerable slot 1 version, see bug #466308
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!)
Diffstat (limited to 'media-libs/freetype')
-rw-r--r-- | media-libs/freetype/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild | 128 |
2 files changed, 5 insertions, 129 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog index 15c7bf0b2e6c..00a1a64bdbdb 100644 --- a/media-libs/freetype/ChangeLog +++ b/media-libs/freetype/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/freetype # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.370 2013/05/04 07:25:29 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.371 2013/05/25 07:47:49 yngwin Exp $ + + 25 May 2013; Ben de Groot <yngwin@gentoo.org> + -freetype-1.4_pre20080316-r2.ebuild: + Remove old unsupported vulnerable slot 1 version, see bug #466308 04 May 2013; Michał Górny <mgorny@gentoo.org> freetype-2.4.11-r2.ebuild: Forward-port the locale patch. diff --git a/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild b/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild deleted file mode 100644 index b103ce10d105..000000000000 --- a/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2013 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-r2.ebuild,v 1.13 2013/04/26 14:57:26 yngwin 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 GPL-1+ )" -SLOT="1" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -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 - - epatch "${FILESDIR}"/${P}-CVE-2006-1861.patch #271234 - epatch "${FILESDIR}"/${P}-CVE-2007-2754.patch #271234 - - epatch "${FILESDIR}"/${P}-kpathsea_version.patch #Fix build with TL2010 - - # 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 - _elibtoolize --install --copy --force - 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 prefix || EPREFIX= - use kpathsea && kpathseaconf="--with-kpathsea-lib=${EPREFIX}/usr/$(get_libdir) --with-kpathsea-include=${EPREFIX}/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() { - use prefix || ED="${D}" - 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="${ED}"/usr libdir="${ED}"/usr/$(get_libdir) install \ - || die "lib install failed" - - # install po files - einfo "Installing po files..." - cd "${S}"/po - emake prefix="${ED}"/usr libdir="${ED}"/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 -} |