diff --git a/programming/language/python/python-imaging/actions.py b/programming/language/python/python-imaging/actions.py index af134b8b99..0b30a9a03e 100644 --- a/programming/language/python/python-imaging/actions.py +++ b/programming/language/python/python-imaging/actions.py @@ -4,16 +4,20 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt -from pisi.actionsapi import pisitools from pisi.actionsapi import pythonmodules from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools from pisi.actionsapi import get WorkDir="Imaging-%s" % get.srcVERSION() +# fix unused direct dependency warning +shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread") def install(): - pisitools.dosed("_imagingft.c", "", "") - pisitools.dosed("_imagingft.c", "", "") + # suppress compiler warnings + pisitools.cflags.add("-Wno-incompatible-pointer-types -Wno-unused-but-set-variable -Wno-int-to-pointer-cast") + #pisitools.dosed("_imagingft.c", "", "") + #pisitools.dosed("_imagingft.c", "", "") pythonmodules.install() shelltools.cd("Sane") @@ -23,5 +27,4 @@ def install(): for header in ["Imaging.h","ImPlatform.h"]: pisitools.insinto("/usr/include/%s" % get.curPYTHON(), "libImaging/%s" % header) - pisitools.dodoc("README") - + pisitools.dodoc("README") \ No newline at end of file diff --git a/programming/language/python/python-imaging/pspec.xml b/programming/language/python/python-imaging/pspec.xml index 5d1eebd49e..9052335270 100644 --- a/programming/language/python/python-imaging/pspec.xml +++ b/programming/language/python/python-imaging/pspec.xml @@ -1,5 +1,5 @@ - + python-imaging @@ -8,6 +8,7 @@ PisiLinux Community admins@pisilinux.org + programming.language.python as-is library Python Imaging Library (PIL) @@ -16,7 +17,10 @@ sane-backends-devel libjpeg-turbo-devel + freetype-devel python-devel + lcms-devel + zlib-devel local_only_initial_value.patch @@ -28,13 +32,15 @@ python-imaging + Python Imaging Library (PIL) - tcltk - tcl - lcms - libjpeg-turbo + libjpeg-turbo sane-backends xdg-utils + freetype + tcltk + lcms + tcl /usr/bin @@ -45,6 +51,13 @@ + + 2020-01-20 + 1.1.7 + Clean and rebuild for new toolchain + Blue Devil + bluedevil@sctzine.com + 2018-08-30 1.1.7 @@ -74,4 +87,4 @@ groni@pisilinux.org - + \ No newline at end of file diff --git a/programming/language/python/python-imaging/translations.xml b/programming/language/python/python-imaging/translations.xml index 8d274bd7be..e45ddb6d61 100644 --- a/programming/language/python/python-imaging/translations.xml +++ b/programming/language/python/python-imaging/translations.xml @@ -3,6 +3,7 @@ python-imaging Python Görüntü İşleme Kitaplığı + python-imaging, python2 görüntü işleme kitaplığı dosyalarını sunar. La librería Python Imaging Library (PIL) facilita el procesamiento de imágenes desde Python. Esta librería soporta muchos formatos de archivos y provee potentes facilidades de procesamiento de gráficos. - + \ No newline at end of file