[neon/neon-packaging/koko/Neon/release] debian/patches: allow_old_libexiv.diff

Carlos De Maine null at kde.org
Sat Aug 16 02:40:26 BST 2025


Git commit 24eb0328faa22bedcfc7ba86a51d58bc2e1902c7 by Carlos De Maine.
Committed on 16/08/2025 at 01:40.
Pushed by carlosdem into branch 'Neon/release'.

allow_old_libexiv.diff

A  +23   -0    debian/patches/allow_old_libexiv.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/neon-packaging/koko/-/commit/24eb0328faa22bedcfc7ba86a51d58bc2e1902c7

diff --git a/debian/patches/allow_old_libexiv.diff b/debian/patches/allow_old_libexiv.diff
new file mode 100644
index 0000000..65caa97
--- /dev/null
+++ b/debian/patches/allow_old_libexiv.diff
@@ -0,0 +1,23 @@
+commit 0756c88f03d4913b5f2feaae14f115bfb988554a
+Author: Carlos De Maine <carlosdemaine at gmail.com>
+Date:   Sat Aug 16 11:38:20 2025 +1000
+
+    Revert "Remove old libexiv2 support"
+    
+    This reverts commit ae11ae964a08df20910301d5648549d3226a3d57.
+
+diff --git a/src/exiv2extractor.cpp b/src/exiv2extractor.cpp
+index 7bb6f92..cc5ae13 100644
+--- a/src/exiv2extractor.cpp
++++ b/src/exiv2extractor.cpp
+@@ -290,7 +290,11 @@ void Exiv2Extractor::extract(const QString &filePath)
+     std::string fileString(arr.data(), arr.length());
+ 
+     Exiv2::LogMsg::setLevel(Exiv2::LogMsg::mute);
++#if EXIV2_TEST_VERSION(0, 27, 99)
+     Exiv2::Image::UniquePtr image;
++#else
++    Exiv2::Image::AutoPtr image;
++#endif
+ 
+     QFileInfo file_info(m_filePath);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..59cd011
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+allow_old_libexiv.diff


More information about the Neon-commits mailing list