[Git][debian-gis-team/pylibtiff][master] Improve tiff.h detection
Antonio Valentino
gitlab at salsa.debian.org
Wed Dec 26 19:46:37 GMT 2018
Antonio Valentino pushed to branch master at Debian GIS Project / pylibtiff
Commits:
7b36a7fb by Antonio Valentino at 2018-12-26T19:45:38Z
Improve tiff.h detection
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/0004-Improve-tiff.h-detection.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+pylibtiff (0.4.2-2) UNRELEASED; urgency=medium
+
+ * debian/patches
+ - new 0004-Improve-tiff.h-detection.patch: fix detection of the
+ tiff.h header on arm* and kfreebsd*
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Wed, 26 Dec 2018 19:42:58 +0000
+
pylibtiff (0.4.2-1) unstable; urgency=medium
[ Ondřej Nový ]
=====================================
debian/patches/0004-Improve-tiff.h-detection.patch
=====================================
@@ -0,0 +1,23 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Wed, 26 Dec 2018 20:41:31 +0100
+Subject: Improve tiff.h detection
+
+---
+ libtiff/libtiff_ctypes.py | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/libtiff/libtiff_ctypes.py b/libtiff/libtiff_ctypes.py
+index c4d308b..9a18dc9 100644
+--- a/libtiff/libtiff_ctypes.py
++++ b/libtiff/libtiff_ctypes.py
+@@ -91,7 +91,9 @@ if tiff_h is None:
+ if not os.path.isfile(include_tiff_h):
+ import glob
+ include_tiff_h = (glob.glob(os.path.join(sys.prefix, 'include',
+- '*linux-gnu', 'tiff.h')) +
++ '*linux*', 'tiff.h')) +
++ glob.glob(os.path.join(sys.prefix, 'include',
++ '*kfreebsd*', 'tiff.h')) +
+ [include_tiff_h])[0]
+ if not os.path.isfile(include_tiff_h):
+ # Base it off of the python called
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
0001-bitarray.patch
0002-ctypes.patch
0003-fix-future-division.patch
+0004-Improve-tiff.h-detection.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/pylibtiff/commit/7b36a7fb099118040bea3c5a967707cd37e2bcef
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pylibtiff/commit/7b36a7fb099118040bea3c5a967707cd37e2bcef
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20181226/4309fb7b/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list