[neon/mobile/plasma-camera/Neon/stable] debian/patches: no if else

Carlos De Maine null at kde.org
Sun Oct 19 03:09:02 BST 2025


Git commit ec4dd22109d8520fe25b16d525001c0a70280b96 by Carlos De Maine.
Committed on 19/10/2025 at 02:08.
Pushed by carlosdem into branch 'Neon/stable'.

no if else

M  +3    -6    debian/patches/exiv2.diff

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

diff --git a/debian/patches/exiv2.diff b/debian/patches/exiv2.diff
index be1eefc..a5b922e 100644
--- a/debian/patches/exiv2.diff
+++ b/debian/patches/exiv2.diff
@@ -1,16 +1,13 @@
 diff --git a/src/plasmacameramanager.cpp b/src/plasmacameramanager.cpp
-index 29e651a..0f3d298 100644
+index 29e651a..8869c7b 100644
 --- a/src/plasmacameramanager.cpp
 +++ b/src/plasmacameramanager.cpp
-@@ -554,7 +554,11 @@ QString getExifOffsetFormat(int offsetSeconds)
+@@ -554,7 +554,7 @@ QString getExifOffsetFormat(int offsetSeconds)
  void PlasmaCameraManager::writeExifData(const QString &fileName)
  {
      try {
-+        #if EXIV2_TEST_VERSION(0, 27, 99)
-         Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(fileName.toStdString());
-+        #else
+-        Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(fileName.toStdString());
 +        Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(fileName.toStdString());
-+        #endif
          if (!image) {
              return;
          }


More information about the Neon-commits mailing list