[neon/neon-packaging/koko/Neon/stable] debian/patches: Revert "drop patch now that exiv2 is in backports"

Carlos De Maine null at kde.org
Sun Nov 9 08:35:57 GMT 2025


Git commit d330ba1191ef66ce203325126cc25b2a1e51d4a2 by Carlos De Maine.
Committed on 09/11/2025 at 08:35.
Pushed by carlosdem into branch 'Neon/stable'.

Revert "drop patch now that exiv2 is in backports"

This reverts commit 4fbbc07d463fc3b6e6110c9ad33c80773cac8fcb

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

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

diff --git a/debian/patches/allow_old_libexiv.diff b/debian/patches/allow_old_libexiv.diff
new file mode 100644
index 0000000..42f90da
--- /dev/null
+++ b/debian/patches/allow_old_libexiv.diff
@@ -0,0 +1,38 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7e8a9135bb8c70f61c5622bd9c64932175df684f..b49dfe5871fb0368c9c1227e85203e850e7fc409 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -49,7 +49,7 @@ endif()
+ 
+ find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS I18n Declarative Config ConfigWidgets KIO GuiAddons CoreAddons Notifications FileMetaData DBusAddons)
+ 
+-find_package(LibExiv2 0.28 REQUIRED)
++find_package(LibExiv2 0.27 REQUIRED)
+ 
+ ecm_find_qmlmodule(org.kde.kquickimageeditor)
+ find_package(KQuickImageEditor COMPONENTS)
+
+
+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