Package Details: python2-imaging 1.1.7-13

Git Clone URL: https://aur.archlinux.org/python2-imaging.git (read-only)
Package Base: python2-imaging
Description: PIL. Provides image processing capabilities for python
Upstream URL: http://www.pythonware.com/products/pil/index.htm
Licenses: custom:"pil"
Conflicts: pil
Provides: pil=1.1.7
Replaces: pil
Submitter: keenerd
Maintainer: None
Last Packager: yan12125
Votes: 30
Popularity: 0.434450
First Submitted: 2014-01-08 21:41
Last Updated: 2016-02-17 15:00

Latest Comments

Kunda commented on 2017-12-27 20:53

2 warnings on compile:

gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -I/usr/include/freetype2 -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o _imaging.c:3017:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] (inquiry) image_length, /sq_length/ ^ _imaging.c:3017:5: note: (near initialization for ‘image_as_sequence.sq_length’) _imaging.c:3077:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] (inquiry) NULL, /mp_length/ ^ _imaging.c:3077:5: note: (near initialization for ‘pixel_access_as_mapping.mp_length’)

<hr>

gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fPIC -I../libImaging -I/usr/include/python2.7 -c _sane.c -o build/temp.linux-x86_64-2.7/_sane.o _sane.c: In function ‘PySane_get_devices’: _sane.c:1166:23: warning: passing argument 1 of ‘sane_get_devices’ from incompatible pointer type [-Wincompatible-pointer-types] st=sane_get_devices(&devlist, local_only); ^ In file included from _sane.c:27:0: /usr/include/sane/sane.h:221:20: note: expected ‘const SANE_Device {aka const struct <anonymous> </anonymous>}’ but argument is of type ‘SANE_Device {aka struct <anonymous> </anonymous>}’ extern SANE_Status sane_get_devices (const SANE_Device *** device_list, ^~~~~~~~~~~~~~~~

yan12125 commented on 2016-08-09 04:05

Disowned - I use python2-pillow now instead of python2-imaging.

yan12125 commented on 2016-02-17 15:02

Thanks @mischka Should be fixed with version 1.1.7-13. Both freetype2 and freetype2-ubuntu works for me.

mischka commented on 2016-02-11 05:08

Thank you @Alister.Hood, that worked for me.

@yan12125, the error I was getting was:
_imagingft.c:73:31: fatal error: freetype/fterrors.h: No such file or directory
compilation terminated.

I'm using freetype2-ubuntu, so that's probably why.

Edit: Actually that's probably not why, but I should probably start using regular freetype2 again anyway.

yan12125 commented on 2015-12-24 17:57

@Alister.Hood What kind of errors did you get? The build works for me with freetype2 2.6.2-1

Alister.Hood commented on 2015-12-23 21:41

I was getting that error unless I did this:
cd /usr/include
ln -s freetype2 freetype

yan12125 commented on 2015-12-19 07:14

Adopt and updated. Thanks @daniel_shub!

daniel_shub commented on 2015-11-16 18:26

@akovia I just commented out the line of the PKGBUILD that applies the patch (line 34) by putting a # sign at the beginning of the line.

akovia commented on 2015-11-16 17:52

Ended up getting it installed by modifying the patch file to

35c35
< #include <freetype/freetype.h>
---
> #include <freetype2/freetype/freetype.h>
73c73
< #include <freetype/fterrors.h>
---
> #include <freetype2/freetype/fterrors.h>

akovia commented on 2015-11-16 17:05

Same here,
_imagingft.c:73:32: fatal error: freetype2/fterrors.h: No such file or directory
compilation terminated.

Unfortunately I don't know how to build it without the patch. Any word on this?

All comments