summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-imaging
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-devtools/python/python-imaging
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-imaging')
-rw-r--r--meta/recipes-devtools/python/python-imaging/path.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-imaging/path.patch b/meta/recipes-devtools/python/python-imaging/path.patch
new file mode 100644
index 0000000000..264dcc09b8
--- /dev/null
+++ b/meta/recipes-devtools/python/python-imaging/path.patch
@@ -0,0 +1,33 @@
1Index: Imaging-1.1.7/setup.py
2===================================================================
3--- Imaging-1.1.7.orig/setup.py
4+++ Imaging-1.1.7/setup.py
5@@ -34,10 +34,10 @@ def libinclude(root):
6 # TIFF_ROOT = libinclude("/opt/tiff")
7
8 TCL_ROOT = None
9-JPEG_ROOT = None
10-ZLIB_ROOT = None
11+JPEG_ROOT = os.environ['STAGING_LIBDIR']
12+ZLIB_ROOT = os.environ['STAGING_LIBDIR']
13 TIFF_ROOT = None
14-FREETYPE_ROOT = None
15+FREETYPE_ROOT = os.environ['STAGING_LIBDIR'], os.environ['STAGING_INCDIR']
16 LCMS_ROOT = None
17
18 # FIXME: add mechanism to explicitly *disable* the use of a library
19@@ -207,14 +207,6 @@ class pil_build_ext(build_ext):
20 if os.path.isfile(os.path.join(tcl_dir, "tk.h")):
21 add_directory(include_dirs, tcl_dir)
22
23- # standard locations
24- add_directory(library_dirs, "/usr/local/lib")
25- add_directory(include_dirs, "/usr/local/include")
26-
27- add_directory(library_dirs, "/usr/lib")
28- add_directory(include_dirs, "/usr/include")
29-
30- #
31 # insert new dirs *before* default libs, to avoid conflicts
32 # between Python PYD stub libs and real libraries
33