Created
October 12, 2011 04:20
-
-
Save philipsahli/1280254 to your computer and use it in GitHub Desktop.
Imaging installation under ubuntu needs a patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: | |
# wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz | |
# tar -zxvf Imaging-1.1.7.tar.gz | |
# cd Imaging-1.1.7 | |
# patch -p1 -i ../patch | |
# # continue with installation | |
Only in Imaging-1.1.7-patched: build | |
Only in Imaging-1.1.7-patched: patch | |
diff -crB Imaging-1.1.7/setup.py Imaging-1.1.7-patched/setup.py | |
*** Imaging-1.1.7/setup.py 2009-11-15 17:06:10.000000000 +0100 | |
--- Imaging-1.1.7-patched/setup.py 2011-10-12 06:28:08.139993199 +0200 | |
*************** | |
*** 37,43 **** | |
JPEG_ROOT = None | |
ZLIB_ROOT = None | |
TIFF_ROOT = None | |
! FREETYPE_ROOT = None | |
LCMS_ROOT = None | |
# FIXME: add mechanism to explicitly *disable* the use of a library | |
--- 37,43 ---- | |
JPEG_ROOT = None | |
ZLIB_ROOT = None | |
TIFF_ROOT = None | |
! FREETYPE_ROOT = ("/usr/lib/x86_64-linux-gnu", "/usr/include/freetype2/freetype") | |
LCMS_ROOT = None | |
# FIXME: add mechanism to explicitly *disable* the use of a library |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment