diff --git a/package/daja77/pil/freetype_tweaking.patch b/package/daja77/pil/freetype_tweaking.patch new file mode 100644 index 000000000..ec1c4b0ab --- /dev/null +++ b/package/daja77/pil/freetype_tweaking.patch @@ -0,0 +1,21 @@ +--- ./_imagingft.c.vanilla 2005-03-01 15:36:02.557307912 +0100 ++++ ./_imagingft.c 2005-03-01 15:36:12.027868168 +0100 +@@ -15,6 +15,7 @@ + #include "Python.h" + #include "Imaging.h" + ++#include + #include + + #if PY_VERSION_HEX < 0x01060000 +--- ./setup.py.vanilla 2005-03-01 15:10:13.111859424 +0100 ++++ ./setup.py 2005-03-01 15:29:12.846593408 +0100 +@@ -25,7 +25,7 @@ + # include files in the directories below. tweak as necessary. + JPEGDIR = "../../kits/jpeg-6b" + ZLIBDIR = "../../kits/zlib-1.1.4" +-FREETYPEDIR = "../../kits/freetype-2.0" ++FREETYPEDIR = "" + + # on Windows, the following is used to control how and where to search + # for Tcl/Tk files. None enables automatic searching; to override, set diff --git a/package/daja77/pil/pil.conf b/package/daja77/pil/pil.conf new file mode 100644 index 000000000..3c7153b8d --- /dev/null +++ b/package/daja77/pil/pil.conf @@ -0,0 +1,10 @@ +pkg_pil_custmain () { + cd libImaging + ./configure + make + cd .. + python setup.py build + python setup.py install +} + +custmain="pkg_pil_custmain" diff --git a/package/daja77/pil/pil.desc b/package/daja77/pil/pil.desc new file mode 100644 index 000000000..fae6fe3a3 --- /dev/null +++ b/package/daja77/pil/pil.desc @@ -0,0 +1,41 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/daja77/pil/pil.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] The Python Imaging Library adds image processing capabilities to Python. + +[T] The Python Imaging Library (PIL) adds image processing capabilities to +[T] your Python interpreter. + +[U] http://www.pythonware.com/products/pil/index.htm + +[A] Fredrik Lundh +[M] Daniel Jahre + +[C] extra/game + +[L] OpenSource +[S] Stable +[V] 1.1.4 +[P] X -?---5---9 211.900 + +[D] 1805638178 Imaging-1.1.4.tar.gz http://effbot.org/downloads/Imaging-1.1.4.tar.gz