# ChangeLog for media-libs/libgd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/ChangeLog,v 1.35 2003/12/27 06:16:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/ChangeLog,v 1.36 2003/12/31 14:31:25 vapier Exp $
+
+*libgd-2.0.17-r1 (31 Dec 2003)
+
+ 31 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
+ Port the gif patch so as to not break some php installs.
*libgd-2.0.17 (27 Dec 2003)
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/libgd-2.0.17.ebuild,v 1.1 2003/12/27 06:16:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/libgd-2.0.17-r1.ebuild,v 1.1 2003/12/31 14:31:25 vapier Exp $
MY_P=${P/lib/}
#GIF_PATCH=patch_gd2.0.15_gif_030801
DESCRIPTION="A graphics library for fast image creation"
HOMEPAGE="http://www.boutell.com/gd/ http://www.rime.com.au/gd/"
-SRC_URI="http://www.boutell.com/gd/http/${MY_P}.tar.gz"
+SRC_URI="http://www.boutell.com/gd/http/${MY_P}.tar.gz
+ gif? ( mirror://gentoo/${P}-gif.patch.bz2 )"
# gif? ( http://downloads.rhyme.com.au/gd/${GIF_PATCH}.gz )"
LICENSE="as-is | BSD"
SLOT="2"
KEYWORDS="~x86 ~ppc ~sparc ~mips ~hppa ~arm ~alpha"
-IUSE="jpeg png X freetype" # gif"
+IUSE="jpeg png X truetype gif"
DEPEND="jpeg? ( >=media-libs/jpeg-6b )
png? ( >=media-libs/libpng-1.2.5 sys-libs/zlib )
- freetype? ( >=media-libs/freetype-2.1.2 )
+ truetype? ( >=media-libs/freetype-2.1.2 )
X? ( virtual/x11 )"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd ${S}
-# [ -n "`use gif`" ] && epatch ${WORKDIR}/${GIF_PATCH}
+ use gif && epatch ${WORKDIR}/${P}-gif.patch
use png || echo 'void main(){}' > circletexttest.c
use jpeg || echo 'void main(){}' > circletexttest.c
}
src_compile() {
local myconf=""
- use freetype \
+ use truetype \
&& myconf="${myconf} --with-freetype=yes" \
|| myconf="${myconf} --with-freetype=no"
use png \