Subject: python-imaging: does not compile with liblcms Package: python-imaging Version: 1.1.7-1+b1 Severity: normal Tags: patch
PIL 1.1.7 includes liblcms support, but this isn't compiled into the Debian version: >>> import ImageCms Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/site-packages/PIL/ImageCms.py", line 83, in <module> import _imagingcms ImportError: No module named _imagingcms A build-depends on liblcms1-dev seems to fix this. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (800, 'unstable'), (700, 'experimental'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-imaging depends on: ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib ii libjpeg62 6b-16.1 The Independent JPEG Group's JPEG ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap ii python 2.5.4-9 An interactive high-level object-o ii python-central 0.6.14+nmu2 register and build utility for Pyt ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime python-imaging recommends no packages. Versions of packages python-imaging suggests: pn python-imaging-dbg <none> (no description available) ii python-imaging-doc 1.1.7-1 Examples for the Python Imaging Li -- no debconf information
--- debian/control.orig 2010-05-28 17:06:53.000000000 -0400 +++ debian/control 2010-05-28 17:06:43.000000000 -0400 @@ -2,7 +2,7 @@ Section: python Priority: optional Maintainer: Matthias Klose <d...@debian.org> -Build-Depends: tk8.5-dev, python-all-dev (>= 2.5.4-1), python-all-dbg, python-central (>= 0.4.12), python-tk-dbg (>= 2.5.2-1.1), libsane-dev, libfreetype6-dev, libjpeg62-dev, zlib1g-dev, debhelper (>= 5.0.37.1) +Build-Depends: tk8.5-dev, python-all-dev (>= 2.5.4-1), python-all-dbg, python-central (>= 0.4.12), python-tk-dbg (>= 2.5.2-1.1), libsane-dev, libfreetype6-dev, libjpeg62-dev, zlib1g-dev, liblcms1-dev, debhelper (>= 5.0.37.1) Build-Conflicts: python-numarray XS-Python-Version: all Standards-Version: 3.8.3