]> git.pld-linux.org Git - packages/kde4-calligra.git/commitdiff
- fix exiv2 build problems auto/th/kde4-calligra-2.8.7-26
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 4 Mar 2019 22:50:07 +0000 (23:50 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 4 Mar 2019 22:50:07 +0000 (23:50 +0100)
- rel 26

calligra-exiv2.patch
kde4-calligra.spec

index 327089f5dc331564e002d57fd3c9607cb4d14f45..04e4c486bd37417541ab62d8c6a29c2327c3a101 100644 (file)
@@ -27,3 +27,26 @@ diff -ruNp calligra-2.8.7.orig/CMakeLists.txt calligra-2.8.7/CMakeLists.txt
  
  if(NOT APPLE AND NOT REQUIRED_Xinput_FOUND)
      calligra_disable_product(KRITA_APP "Xinput devel not found ")
+--- calligra-2.8.7/krita/ui/kisexiv2/kis_xmp_io.cpp.orig       2014-11-30 15:01:15.000000000 +0100
++++ calligra-2.8.7/krita/ui/kisexiv2/kis_xmp_io.cpp    2019-03-04 23:08:54.941391753 +0100
+@@ -17,7 +17,7 @@
+ #include "kis_xmp_io.h"
+ #include <string>
+-#include <exiv2/xmp.hpp>
++#include <exiv2/xmp_exiv2.hpp>
+ #include "kis_exiv2.h"
+@@ -277,9 +277,8 @@
+                 const Exiv2::XmpArrayValue* xav = dynamic_cast<const Exiv2::XmpArrayValue*>(value.get());
+                 Q_ASSERT(xav);
+                 QList<KisMetaData::Value> array;
+-                for (std::vector< std::string >::const_iterator it = xav->value_.begin();
+-                        it != xav->value_.end(); ++it) {
+-                    QString value = it->c_str();
++              for (int i=0; i<xav->count(); i++) {
++                    QString value = xav->toString(i).c_str();
+                     if (parser) {
+                         array.push_back(parser->parse(value));
+                     } else {
index b7415177e7e2c810fa252a204c4102324de92beb..afdc9bb30c368f36f91491a67c0b026dde263e25 100644 (file)
@@ -27,7 +27,7 @@ Summary:      Calligra - powerful office suite for KDE
 Summary(pl.UTF-8):     Calligra - potężny pakiet biurowy dla KDE
 Name:          kde4-calligra
 Version:       2.8.7
-Release:       25
+Release:       26
 License:       GPL/LGPL
 Group:         X11/Applications
 Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{orgname}-%{version}/%{orgname}-%{version}.tar.xz
This page took 0.07119 seconds and 4 git commands to generate.