| Summary: | dev-python/imaging-1.1.7 has hidden optional dependency on lcms | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Chris Mayo <aklhfex> |
| Component: | New packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
patch to ebuild
patch to setup.py |
||
Created attachment 285501 [details, diff]
patch to ebuild
Add lcms USE flag and disable _imagingcms.so creation if -lcms.
Created attachment 285503 [details, diff]
patch to setup.py
Patch applied, thanks PIL/_imagingcms.so directly uses liblcms.so.1, not Python bindings of media-libs/lcms:0. This is now fixed |
imaging-1.1.7 will build with lcms support if it finds lcms installed itself. From setup.py: if find_include_file(self, "lcms.h"): if find_library_file(self, "lcms"): feature.lcms = "lcms" Suggest adding a lcms USE flag with a dependency (appears to be media-libs/lcms:0) to make this clear. Obviously that wouldn't fix the (unlikely) situation that you had lcms installed but didn't want PIL to support it.