summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-05-16 20:38:43 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-05-16 20:38:43 +0000
commit5a1052eb1de28a9d21ad7b314c47f7f63b9e260b (patch)
treecb6f0d8d6f4baa9ac50e19a838d505c9db21d6f0 /dev-python
parentenable building the console gui. doesn't touch the x11 gui afaik. (diff)
downloadhistorical-5a1052eb1de28a9d21ad7b314c47f7f63b9e260b.tar.gz
historical-5a1052eb1de28a9d21ad7b314c47f7f63b9e260b.tar.bz2
historical-5a1052eb1de28a9d21ad7b314c47f7f63b9e260b.zip
fix for compilation bug with new tk
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Imaging/ChangeLog8
-rw-r--r--dev-python/Imaging/Imaging-1.1.3-r2.ebuild50
-rw-r--r--dev-python/Imaging/Manifest9
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-python/Imaging/ChangeLog b/dev-python/Imaging/ChangeLog
index b2eb2b745d18..5def1b62b9b4 100644
--- a/dev-python/Imaging/ChangeLog
+++ b/dev-python/Imaging/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/Imaging
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/Imaging/ChangeLog,v 1.9 2003/03/25 21:21:00 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/Imaging/ChangeLog,v 1.10 2003/05/16 20:38:43 liquidx Exp $
+
+*Imaging-1.1.3-r2 (16 May 2003)
+
+ 16 May 2003; Alastair Tse <liquidx@gentoo.org> Imaging-1.1.3-r2.ebuild:
+ workaround for new tk-8.4.x. thanks to Hyriand <hyriand@thegraveyard.org>
+ (#21013)
*Imaging-1.1.3-r1 (05 Mar 2003)
diff --git a/dev-python/Imaging/Imaging-1.1.3-r2.ebuild b/dev-python/Imaging/Imaging-1.1.3-r2.ebuild
new file mode 100644
index 000000000000..85d7b624bd2e
--- /dev/null
+++ b/dev-python/Imaging/Imaging-1.1.3-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/Imaging/Imaging-1.1.3-r2.ebuild,v 1.1 2003/05/16 20:38:43 liquidx Exp $
+
+inherit distutils
+
+IUSE="tcltk"
+
+DESCRIPTION="Python Imaging Library (PIL)."
+SRC_URI="http://www.pythonware.com/downloads/${P}.tar.gz"
+HOMEPAGE="http://www.pythonware.com/downloads/#pil"
+
+DEPEND=">=media-libs/jpeg-6a
+ >=sys-libs/zlib-0.95
+ tcltk? ( dev-lang/tk )"
+
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~alpha ~ppc"
+LICENSE="as-is"
+
+ src_compile() {
+ export OPT=${CFLAGS}
+
+ #Build the core imaging library (libImaging.a)
+ cd ${S}/libImaging
+ econf
+ cp Makefile Makefile.orig
+
+ #Not configured by configure
+ sed \
+ -e "s:\(JPEGINCLUDE=[[:blank:]]*/usr/\)local/\(include\).*:\1\2:" \
+ Makefile.orig > Makefile
+ emake || die
+ cd ${S}
+ CFLAGS="$(CFLAGS) -DUSE_COMPOSITELESS_PHOTO_PUT_BLOCK" distutils_src_compile
+}
+
+src_install ()
+{
+ local mydoc="CHANGES* CONTENTS"
+ distutils_src_install
+ distutils_python_version
+
+ # install headers required by media-gfx/sketch
+ insinto "${ROOT}/usr/include/python${PYVER}"
+ doins libImaging/Imaging.h
+ doins libImaging/ImPlatform.h
+ doins libImaging/ImConfig.h
+}
+
diff --git a/dev-python/Imaging/Manifest b/dev-python/Imaging/Manifest
new file mode 100644
index 000000000000..b049422ff210
--- /dev/null
+++ b/dev-python/Imaging/Manifest
@@ -0,0 +1,9 @@
+MD5 83d5edff2f7fbcb8ac03f835526a1ba2 ChangeLog 1427
+MD5 2107be6b97f6baf17de8912fb33dbd58 Imaging-1.1.2-r2.ebuild 2635
+MD5 3bfb01b27006db5011528dde77d1c4b7 Imaging-1.1.3.ebuild 2642
+MD5 c4ea597c981653efae62201e5364db7c Imaging-1.1.3-r1.ebuild 1179
+MD5 9054c5354dd168117ae335b257e9fecf Imaging-1.1.3-r2.ebuild 1234
+MD5 7e1eafa229aad0303d6d04c88c1f89e6 files/digest-Imaging-1.1.2-r2 65
+MD5 a7c02afc37ec55a40b4369ace30d8fdb files/digest-Imaging-1.1.3 65
+MD5 a7c02afc37ec55a40b4369ace30d8fdb files/digest-Imaging-1.1.3-r1 65
+MD5 a7c02afc37ec55a40b4369ace30d8fdb files/digest-Imaging-1.1.3-r2 65