summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch
blob: 4960ed4661fdd677cf653444a6f33884b83629d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
At least lcms wasn't deterministicly detected from sysroot.

This will allow to export LCMS_ENABLED=False when lcms isn't in PACKAGECONFIG.

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

diff -uNr Imaging-1.1.7.orig/setup.py Imaging-1.1.7/setup.py
--- Imaging-1.1.7.orig/setup.py	2013-07-22 10:17:02.081457075 +0200
+++ Imaging-1.1.7/setup.py	2013-07-22 13:10:09.029707492 +0200
@@ -39,6 +39,12 @@
 TIFF_ROOT = None
 FREETYPE_ROOT =  os.environ['STAGING_LIBDIR'], os.environ['STAGING_INCDIR']
 LCMS_ROOT = None
+TCL_ENABLED = os.getenv('TCL_ENABLED', "True")
+JPEG_ENABLED = os.getenv('JPEG_ENABLED', "True")
+ZLIB_ENABLED = os.getenv('ZLIB_ENABLED', "True")
+TIFF_ENABLED = os.getenv('TIFF_ENABLED', "True")
+FREETYPE_ENABLED = os.getenv('FREETYPE_ENABLED', "True")
+LCMS_ENABLED = os.getenv('LCMS_ENABLED', "True")
 
 # FIXME: add mechanism to explicitly *disable* the use of a library
 
@@ -220,22 +226,22 @@
             zlib = jpeg = tiff = freetype = tcl = tk = lcms = None
         feature = feature()
 
-        if find_include_file(self, "zlib.h"):
+        if ZLIB_ENABLED == 'True' and find_include_file(self, "zlib.h"):
             if find_library_file(self, "z"):
                 feature.zlib = "z"
             elif sys.platform == "win32" and find_library_file(self, "zlib"):
                 feature.zlib = "zlib" # alternative name
 
-        if find_include_file(self, "jpeglib.h"):
+        if JPEG_ENABLED == 'True' and find_include_file(self, "jpeglib.h"):
             if find_library_file(self, "jpeg"):
                 feature.jpeg = "jpeg"
             elif sys.platform == "win32" and find_library_file(self, "libjpeg"):
                 feature.jpeg = "libjpeg" # alternative name
 
-        if find_library_file(self, "tiff"):
+        if TIFF_ENABLED == 'True' and find_library_file(self, "tiff"):
             feature.tiff = "tiff"
 
-        if find_library_file(self, "freetype"):
+        if FREETYPE_ENABLED == 'True' and find_library_file(self, "freetype"):
             # look for freetype2 include files
             freetype_version = 0
             for dir in self.compiler.include_dirs:
@@ -256,11 +262,11 @@
                 if dir:
                     add_directory(self.compiler.include_dirs, dir, 0)
 
-        if find_include_file(self, "lcms.h"):
+        if LCMS_ENABLED == 'True' and find_include_file(self, "lcms.h"):
             if find_library_file(self, "lcms"):
                 feature.lcms = "lcms"
 
-        if _tkinter and find_include_file(self, "tk.h"):
+        if TCL_ENABLED == 'True' and _tkinter and find_include_file(self, "tk.h"):
             # the library names may vary somewhat (e.g. tcl84 or tcl8.4)
             version = TCL_VERSION[0] + TCL_VERSION[2]
             if find_library_file(self, "tcl" + version):
_2.5.bb?id2=658930dd64c9c4a86fdee5bcc0e6789feb4a1341'>recipes/agg/agg_2.5.bb6
-rw-r--r--recipes/aircrack/aircrack-ng_1.0-svn.bb2
-rw-r--r--recipes/alsa/alsa-lib_1.0.19.bb48
-rw-r--r--recipes/alsa/alsa-lib_1.0.20.bb1
-rw-r--r--recipes/alsa/alsa-plugins_1.0.19.bb20
-rw-r--r--recipes/alsa/alsa-plugins_1.0.20.bb22
-rw-r--r--recipes/alsa/alsa-state.bb6
-rw-r--r--recipes/alsa/alsa-utils_1.0.13.bb2
-rw-r--r--recipes/alsa/alsa-utils_1.0.19.bb66
-rw-r--r--recipes/alsa/alsa-utils_1.0.20.bb66
-rw-r--r--recipes/alsa/files/alsa-utils-remove-xmlto-1.0.19plus.patch18
-rw-r--r--recipes/angstrom/angstrom-feed-configs.bb4
-rw-r--r--recipes/angstrom/angstrom-gpe-task-settings.bb3
-rw-r--r--recipes/angstrom/angstrom-led-config.bb2
-rw-r--r--recipes/angstrom/angstrom-led-config/cm-t35/leds2
-rw-r--r--recipes/angstrom/angstrom-led-config/omap3-pandora/leds8
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts.bb38
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/dsplink.cmd4
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/pico.cmd3
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/touchbook-vrfb.cmd4
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/touchbook.cmd4
-rw-r--r--recipes/angstrom/angstrom-x11-base-depends.bb3
-rw-r--r--recipes/angstrom/e-wm-config-angstrom.bb42
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/e.src903
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/icon.png (renamed from recipes/angstrom/e-wm-config-angstrom/icon.png)bin4645 -> 4645 bytes-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.battery.src7
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.cpufreq.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.cpufreq.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.dropshadow.src7
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.fileman.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.fileman.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.gadman.src9
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.ibar.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.ibar.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.ibox.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.ibox.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.illume.src18
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.mixer.src13
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.pager.src15
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.places.src25
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.temperature.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.temperature.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/profile.desktop5
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/e.src2154
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/icon.pngbin0 -> 4645 bytes-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.battery.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.battery.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.cpufreq.src6
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.dropshadow.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.dropshadow.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.fileman.src28
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.ibar.src18
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.ibox.src20
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.pager.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.pager.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.places.src25
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.temperature.src13
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/profile.desktop5
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/e.src (renamed from recipes/angstrom/e-wm-config-angstrom/e.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/icon.pngbin0 -> 4645 bytes-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.battery.src6
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.cpufreq.src6
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.dropshadow.src7
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.fileman.src28
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.ibar.src18
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.ibox.src20
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.pager.src15
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.places.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.places.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.temperature.src13
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/profile.desktop (renamed from recipes/angstrom/e-wm-config-angstrom/profile.desktop)0
-rw-r--r--recipes/ant/ant-native_1.7.1.bb64
-rwxr-xr-xrecipes/ant/files/ant10
-rw-r--r--recipes/antlr/antlr-native_2.7.7.bb2
-rw-r--r--recipes/apache2/apache2-2.2.14/apr-sockets-patch10
-rw-r--r--recipes/apache2/apache2-2.2.14/apr.h.in.patch13
-rw-r--r--recipes/apache2/apache2-2.2.14/configure-patch71
-rw-r--r--recipes/apache2/apache2-2.2.14/configure.in.patch27
-rw-r--r--recipes/apache2/apache2-2.2.14/dftables-makefile-patch10
-rw-r--r--recipes/apache2/apache2-2.2.14/server-makefile-patch11
-rw-r--r--recipes/apache2/apache2-native_2.2.14.bb39
-rw-r--r--recipes/apache2/apache2_2.2.14.bb114
-rw-r--r--recipes/apt/apt-0.7.20.2/no-doxygen.patch12
-rw-r--r--recipes/apt/apt-0.7.20.2/no-ko-translation.patch9
-rw-r--r--recipes/apt/apt-0.7.20.2/use-host.patch44
-rw-r--r--recipes/apt/apt-package.inc7
-rw-r--r--recipes/apt/apt.inc3
-rw-r--r--recipes/apt/apt_0.7.14.bb7
-rw-r--r--recipes/apt/apt_0.7.19.bb7
-rw-r--r--recipes/apt/apt_0.7.20.2.bb9
-rw-r--r--recipes/apt/files/volatiles4
-rw-r--r--recipes/asciidoc/asciidoc_8.5.1.bb20
-rw-r--r--recipes/asio/asio.inc14
-rw-r--r--recipes/asio/asio_1.1.1.bb15
-rw-r--r--recipes/asio/asio_1.4.1.bb3
-rw-r--r--recipes/asterisk/asterisk_1.4.23.1.bb2
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/at91cap9adk/defconfig110
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/at91sam9260ek/defconfig110
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/at91sam9261ek/defconfig110
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/at91sam9263ek/defconfig113
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/at91sam9g20ek/defconfig110
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/at91sam9g45ek/defconfig110
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/at91sam9rlek/defconfig110
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/at91sam9xeek/defconfig110
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/mtcdp-embedded/defconfig91
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/mtcdp-embedded/memory_bus_1.8v.patch22
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/mtcdp/defconfig91
-rw-r--r--recipes/at91bootstrap/at91bootstrap-2.13/mtcdp/sdram_slow_slew_rate.patch15
-rw-r--r--recipes/at91bootstrap/at91bootstrap.inc1
-rw-r--r--recipes/at91bootstrap/at91bootstrap_2.13.bb15
-rw-r--r--recipes/atk/atk-native_1.28.0.bb6
-rw-r--r--recipes/atk/atk_1.26.0.bb16
-rw-r--r--recipes/atk/atk_1.28.0.bb16
-rw-r--r--recipes/audiofile/audiofile-0.2.6/CVE-2008-5824.patch23
-rw-r--r--recipes/audiofile/audiofile-0.2.6/audiofile-0.2.6.patch67
-rw-r--r--recipes/audiofile/audiofile-0.2.6/audiofile-m4_quote_fix.diff11
-rw-r--r--recipes/audiofile/audiofile-0.2.6/audiofile-oldstyle.patch55
-rw-r--r--recipes/audiofile/audiofile_0.2.6.bb22
-rw-r--r--recipes/aufs/aufs2-util_git.bb28
-rw-r--r--recipes/aufs/aufs_cvs.bb8