[Pkg-privacy-commits] [Git][pkg-privacy-team/mat2][master] 3 commits: Import Debian changes 0.13.5-1.1

Georg Faerber (@georg) georg at debian.org
Wed Apr 16 09:26:14 BST 2025



Georg Faerber pushed to branch master at Privacy Maintainers / mat2


Commits:
aed4d9f8 by gregor herrmann at 2025-04-14T17:25:00+03:00
Import Debian changes 0.13.5-1.1

mat2 (0.13.5-1.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Fix "FTBFS: test failures": add patch from upstream Git commit to fix
    tests with newer exiftool. (Closes: #1101130)

- - - - -
86b2cf56 by Dmitry Shachnev at 2025-04-15T00:20:10+03:00
Build-depend on dh-python >= 6.20250414.

To make sure that a correct shebang is generated.

Closes: #1103044.

- - - - -
c06afcc6 by Georg Faerber at 2025-04-16T08:25:20+00:00
Merge branch 'bump-dh-python-dep' into 'master'

Build-depend on dh-python >= 6.20250414

See merge request pkg-privacy-team/mat2!5
- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/0001-Fix-HEIC-parsing-with-the-latest-exiftool.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,19 @@
+mat2 (0.13.5-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build-depend on dh-python >= 6.20250414, to make sure that a correct
+    shebang is generated. (Closes: #1103044)
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Tue, 15 Apr 2025 00:18:16 +0300
+
+mat2 (0.13.5-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: test failures": add patch from upstream Git commit to fix
+    tests with newer exiftool. (Closes: #1101130)
+
+ -- gregor herrmann <gregoa at debian.org>  Fri, 11 Apr 2025 18:46:13 +0200
+
 mat2 (0.13.5-1) unstable; urgency=medium
 
   * New upstream version 0.13.5:


=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Maintainer: Debian Privacy Tools Maintainers <pkg-privacy-maintainers at lists.alio
 Uploaders: Georg Faerber <georg at debian.org>,
            Jonas Meurer <jonas at freesources.org>,
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-python (>= 6.20250414~),
                ffmpeg,
                gir1.2-gdkpixbuf-2.0,
                gir1.2-poppler-0.18,


=====================================
debian/patches/0001-Fix-HEIC-parsing-with-the-latest-exiftool.patch
=====================================
@@ -0,0 +1,71 @@
+From 473903b70e1b269a6110242a9c098a10c18554e2 Mon Sep 17 00:00:00 2001
+From: jvoisin <julien.voisin at dustri.org>
+Date: Thu, 3 Apr 2025 15:58:27 +0200
+Subject: [PATCH] Fix HEIC parsing with the latest exiftool
+
+Bug-Debian: https://bugs.debian.org/1101130
+Origin: https://0xacab.org/jvoisin/mat2/-/commit/473903b70e1b269a6110242a9c098a10c18554e2
+
+---
+ tests/test_libmat2.py | 37 +++++++++++++++++++++++++++++++++++--
+ 1 file changed, 35 insertions(+), 2 deletions(-)
+
+--- a/tests/test_libmat2.py
++++ b/tests/test_libmat2.py
+@@ -526,7 +526,40 @@
+             'parser': images.HEICParser,
+             'meta': {},
+             'expected_meta': {
++                'BlueMatrixColumn': '0.14305 0.06061 0.71393',
++                'BlueTRC': '(Binary data 32 bytes, use -b option to extract)',
++                'CMMFlags': 'Not Embedded, Independent',
++                'ChromaticAdaptation': '1.04788 0.02292 -0.05022 0.02959 0.99048 -0.01707 -0.00925 0.01508 0.75168',
++                'ChromaticityChannel1': '0.64 0.33002',
++                'ChromaticityChannel2': '0.3 0.60001',
++                'ChromaticityChannel3': '0.15001 0.06',
++                'ChromaticityChannels': 3,
++                'ChromaticityColorant': 'Unknown',
++                'ColorSpaceData': 'RGB ',
++                'ConnectionSpaceIlluminant': '0.9642 1 0.82491',
++                'DeviceAttributes': 'Reflective, Glossy, Positive, Color',
++                'DeviceManufacturer': '',
++                'DeviceMfgDesc': 'GIMP',
++                'DeviceModel': '',
++                'DeviceModelDesc': 'sRGB',
+                 'ExifByteOrder': 'Big-endian (Motorola, MM)',
++                'GreenMatrixColumn': '0.38512 0.7169 0.09706',
++                'GreenTRC': '(Binary data 32 bytes, use -b option to extract)',
++                'MediaWhitePoint': '0.9642 1 0.82491',
++                'PrimaryPlatform': 'Apple Computer Inc.',
++                'ProfileCMMType': 'Little CMS',
++                'ProfileClass': 'Display Device Profile',
++                'ProfileConnectionSpace': 'XYZ ',
++                'ProfileCopyright': 'Public Domain',
++                'ProfileCreator': 'Little CMS',
++                'ProfileDateTime': '2022:05:15 16:29:22',
++                'ProfileDescription': 'GIMP built-in sRGB',
++                'ProfileFileSignature': 'acsp',
++                'ProfileID': 0,
++                'ProfileVersion': '4.3.0',
++                'RedMatrixColumn': '0.43604 0.22249 0.01392',
++                'RedTRC': '(Binary data 32 bytes, use -b option to extract)',
++                'RenderingIntent': 'Perceptual',
+                 'Warning': 'Bad IFD0 directory',
+             },
+         }
+@@ -563,13 +596,13 @@
+                 meta = p2.get_meta()
+                 if meta:
+                     for k, v in p2.get_meta().items():
+-                        self.assertIn(k, case['expected_meta'], '"%s" is not in "%s" (%s)' % (k, case['expected_meta'], case['name']))
++                        self.assertIn(k, case['expected_meta'], '"%s" is not in "%s" (%s), with all of them being %s' % (k, case['expected_meta'], case['name'], p2.get_meta().items()))
+                         if str(case['expected_meta'][k]) in str(v):
+                             continue
+                         if 'extra_expected_meta' in case and k in case['extra_expected_meta']:
+                             if str(case['extra_expected_meta'][k]) in str(v):
+                                 continue
+-                        self.assertTrue(False, "got a different value (%s) than excepted (%s) for %s" % (str(v), meta, k))
++                        self.assertTrue(False, "got a different value (%s) than excepted (%s) for %s, with all of them being %s" % (str(v), meta, k, p2.get_meta().items()))
+                 self.assertTrue(p2.remove_all())
+ 
+                 os.remove(target)


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+0001-Fix-HEIC-parsing-with-the-latest-exiftool.patch



View it on GitLab: https://salsa.debian.org/pkg-privacy-team/mat2/-/compare/fe1c32a420b8b467a31a00dc9803f2f83c54e055...c06afcc6bd64e06ccb139d8ac511c94e59b1abc2

-- 
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/mat2/-/compare/fe1c32a420b8b467a31a00dc9803f2f83c54e055...c06afcc6bd64e06ccb139d8ac511c94e59b1abc2
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-privacy-commits/attachments/20250416/b5e21f0f/attachment-0001.htm>


More information about the Pkg-privacy-commits mailing list