[Git][debian-gis-team/pylibtiff][master] 3 commits: Fix compatibility with new libtiff
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Fri Oct 1 07:44:08 BST 2021
Antonio Valentino pushed to branch master at Debian GIS Project / pylibtiff
Commits:
1446db66 by Antonio Valentino at 2021-10-01T06:09:26+00:00
Fix compatibility with new libtiff
- - - - -
59ff9c7f by Antonio Valentino at 2021-10-01T06:12:05+00:00
Reformat with cme
- - - - -
1a138c46 by Antonio Valentino at 2021-10-01T06:15:21+00:00
Set distribution to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/0007-Fix-compatibility-with-new-libtiff.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+pylibtiff (0.4.2-8) unstable; urgency=medium
+
+ * debian/patches:
+ - new 0007-Fix-compatibility-with-new-libtiff.patch
+ (Closes: #989951).
+ * debian/control:
+ - reformat with cme.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Fri, 01 Oct 2021 06:15:00 +0000
+
pylibtiff (0.4.2-7) unstable; urgency=medium
* Drop obsolete get-orig-source script.
=====================================
debian/control
=====================================
@@ -2,9 +2,8 @@ Source: pylibtiff
Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Antonio Valentino <antonio.valentino at tiscali.it>
Section: python
-Priority: optional
Testsuite: autopkgtest-pkg-python
-Rules-Requires-Root: no
+Priority: optional
Build-Depends: debhelper-compat (= 12),
dh-python,
libtiff-dev,
@@ -16,6 +15,7 @@ Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/debian-gis-team/pylibtiff
Vcs-Git: https://salsa.debian.org/debian-gis-team/pylibtiff.git
Homepage: https://github.com/pearu/pylibtiff
+Rules-Requires-Root: no
Package: python3-libtiff
Architecture: any
=====================================
debian/patches/0007-Fix-compatibility-with-new-libtiff.patch
=====================================
@@ -0,0 +1,22 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Fri, 1 Oct 2021 06:03:13 +0000
+Subject: Fix compatibility with new libtiff
+
+Forwarded: https://github.com/pearu/pylibtiff/pull/128
+---
+ libtiff/libtiff_ctypes.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libtiff/libtiff_ctypes.py b/libtiff/libtiff_ctypes.py
+index 7fc5d98..e96a7ab 100644
+--- a/libtiff/libtiff_ctypes.py
++++ b/libtiff/libtiff_ctypes.py
+@@ -116,6 +116,8 @@ if tiff_h is None:
+ if len(words) != 2:
+ continue
+ name, value = words
++ if name in ['TIFF_GCC_DEPRECATED', 'TIFF_MSC_DEPRECATED']:
++ continue
+ i = value.find('/*')
+ if i != -1:
+ value = value[:i]
=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@
0004-Improve-tiff.h-detection.patch
0005-Disable-bittools-extension.patch
0006-Robust-definition-list-generation.patch
+0007-Fix-compatibility-with-new-libtiff.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/pylibtiff/-/compare/20051f105123142b755dcccda0acb9379e9f512e...1a138c467960d6ec2e3efc45ebd30f51d502509e
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pylibtiff/-/compare/20051f105123142b755dcccda0acb9379e9f512e...1a138c467960d6ec2e3efc45ebd30f51d502509e
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/20211001/d303edbb/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list