[neon/plasma-mobile/plasma-camera/Neon/stable] debian: add back patch required for stable

Carlos De Maine null at kde.org
Mon Jul 13 12:03:47 BST 2026


Git commit 8e1e7ea8ae4f710917198146415bbfea3488b31a by Carlos De Maine.
Committed on 13/07/2026 at 11:03.
Pushed by carlosdem into branch 'Neon/stable'.

add back patch required for stable

A  +14   -0    debian/patches/exiv2.diff
A  +1    -0    debian/patches/series
M  +0    -3    debian/rules

https://invent.kde.org/neon/plasma-mobile/plasma-camera/-/commit/8e1e7ea8ae4f710917198146415bbfea3488b31a

diff --git a/debian/patches/exiv2.diff b/debian/patches/exiv2.diff
new file mode 100644
index 0000000..4a4b5fa
--- /dev/null
+++ b/debian/patches/exiv2.diff
@@ -0,0 +1,14 @@
+diff --git a/src/plasmacameramanager.cpp b/src/plasmacameramanager.cpp
+index 29e651a..90fdf68 100644
+--- a/src/plasmacameramanager.cpp
++++ b/src/plasmacameramanager.cpp
+@@ -554,8 +554,8 @@ QString getExifOffsetFormat(int offsetSeconds)
+ void PlasmaCameraManager::writeExifData(const QString &fileName)
+ {
+     try {
+-        Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(fileName.toStdString());
+-        if (!image) {
++        Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(fileName.toStdString());
++        if (image.get() != nullptr) {
+             return;
+         }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b8eab05
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+exiv2.diff
diff --git a/debian/rules b/debian/rules
index 47c772a..3d69b0d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,3 @@
 
 %:
 	dh $@ --with kf6 --buildsystem kf6
-
-override_dh_shlibdeps:
-	dh_shlibdeps -l$(CURDIR)/debian/$(shell dh_listpackages | head -n1)/usr/kf6/lib/$(DEB_HOST_MULTIARCH)/


More information about the Neon-commits mailing list