Support for plugins requiring olefile will not be loaded if it is not
installed. Allows library consumers to avoid installing this dependency
if they choose. Some library consumers have little interest in the
format support and would like to keep dependencies to a minimum.
This pull request adds support for languages that require complex text layout.
We are using the Raqm library, that wraps FriBidi (for bidirectional
text support) and HarfBuzz (for text shaping), and does proper BiDi and script
itemization:
https://github.com/HOST-Oman/libraqm
This should fix#1089.
When openjpeg 1.5 is installed (Calligra 2.x, for example) and OpenJPEG
2.1 is installed, the subdirectory is added twice.
Since the 2nd time is ignored, it is ranked after the more general
/usr/local/include and openjpeg.h from the 1.5 version is picked up.
Fix this in a more general way:
- If a directory is added that already is in path
- But where is specified
Then remove the subdir from path and insert it at the spot requested.
A FIXME is added to the code bit explaining the real issue, but lack
investigative spirit / time to dive down the rabbit hole.
Pillow now requires the olefile Python package through setup.py.
This removes Pillow's maintenance of this library by instead relying on
and reusing the upstream version. No longer need to regularly update the
vendored package and docs. olefile bug fixes and features can go
directly upstream.
During travis tests, now installs Pillow package before tests; this will
also install all dependencies (currently, only olefile).
* only run pkg-config when building exttensions
* print debug messages when using pkg-config
* silance error from pkg-config by default
* first search for libtiff-5 then libtiff-4