[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:39:38 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=1bbc49e

The following commit has been merged in the master branch:
commit 1bbc49eba6a659f8d588fc9058dca4aa68c44171
Author: HumanDynamo <caulier.gilles at gmail.com>
Date:   Sun Jul 27 16:13:21 2008 +0000

    missing to encode XML packet before to writte XMP into PNG
---
 src/pngimage.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/pngimage.cpp b/src/pngimage.cpp
index 91ad724..45ab2d4 100644
--- a/src/pngimage.cpp
+++ b/src/pngimage.cpp
@@ -305,6 +305,15 @@ namespace Exiv2
                     }
                 }
 
+                if (writeXmpFromPacket() == false) 
+                {
+                    if (XmpParser::encode(xmpPacket_, xmpData_)) 
+                    {
+#ifndef SUPPRESS_WARNINGS
+                        std::cerr << "Error: Failed to encode XMP metadata.
";
+#endif
+                    }
+                }
                 if (xmpPacket_.size() > 0) 
                 {
                     // Update Xmp data to a new uncompressed iTXt PNG chunk

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list