[neon/graphics/koko/Neon/stable] debian/patches: bring back the patch that is still needed on stable
Carlos De Maine
null at kde.org
Mon Jul 13 04:39:11 BST 2026
Git commit 5a83f46e9386cf0bdcc710e293ce9f6cdd974426 by Carlos De Maine.
Committed on 13/07/2026 at 03:39.
Pushed by carlosdem into branch 'Neon/stable'.
bring back the patch that is still needed on stable
A +37 -0 debian/patches/allow_old_libexiv.diff
A +1 -0 debian/patches/series
https://invent.kde.org/neon/graphics/koko/-/commit/5a83f46e9386cf0bdcc710e293ce9f6cdd974426
diff --git a/debian/patches/allow_old_libexiv.diff b/debian/patches/allow_old_libexiv.diff
new file mode 100644
index 0000000..b98a9ba
--- /dev/null
+++ b/debian/patches/allow_old_libexiv.diff
@@ -0,0 +1,37 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 264d98c356c5a9b75e190f9b8b774ae56acde186..70e1137363784b90b5fe586938136bbe537cb2bb 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -56,7 +56,7 @@ set_package_properties(KF6 PROPERTIES
+ DESCRIPTION "Base components"
+ )
+
+-find_package(LibExiv2 0.28)
++find_package(LibExiv2 0.27)
+ set_package_properties(LibExiv2 PROPERTIES
+ TYPE REQUIRED
+ DESCRIPTION "Image metadata library and tools"
+
+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