Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Imaging installation under ubuntu needs a patch
# 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
You can’t perform that action at this time.