pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics Deal with exiv2 interface changes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a879b01927e
branches:  trunk
changeset: 419564:9a879b01927e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 21 23:43:26 2019 +0000

description:
Deal with exiv2 interface changes.

diffstat:

 graphics/gthumb/distinfo                                               |   3 +-
 graphics/gthumb/patches/patch-extensions_exiv2__tools_exiv2-utils.cpp  |  23 ++++++++++
 graphics/gthumb3/distinfo                                              |   3 +-
 graphics/gthumb3/patches/patch-extensions_exiv2__tools_exiv2-utils.cpp |  23 ++++++++++
 4 files changed, 50 insertions(+), 2 deletions(-)

diffs (81 lines):

diff -r ca92c5318fa8 -r 9a879b01927e graphics/gthumb/distinfo
--- a/graphics/gthumb/distinfo  Sat Dec 21 23:42:35 2019 +0000
+++ b/graphics/gthumb/distinfo  Sat Dec 21 23:43:26 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2015/11/03 21:34:02 agc Exp $
+$NetBSD: distinfo,v 1.31 2019/12/21 23:43:26 joerg Exp $
 
 SHA1 (gthumb-2.14.4.tar.xz) = ed7fb3649303527b3704b8d28ea9d49e2e65f7ef
 RMD160 (gthumb-2.14.4.tar.xz) = 384b4441ed3d4022b6e5c5301b5a3c422f8b101b
@@ -11,3 +11,4 @@
 SHA1 (patch-af) = 55ce1101c8e06f6341934c474772d3bac7680046
 SHA1 (patch-ag) = cb1fe9401d9ea3a89ce797465c548b01f99db129
 SHA1 (patch-ah) = d6ebd939dda6459a1dd20b4e7921ada2c9f6fdd2
+SHA1 (patch-extensions_exiv2__tools_exiv2-utils.cpp) = cf67e3993ba51b2a6e3f9627f1b4d8cdcfe06621
diff -r ca92c5318fa8 -r 9a879b01927e graphics/gthumb/patches/patch-extensions_exiv2__tools_exiv2-utils.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gthumb/patches/patch-extensions_exiv2__tools_exiv2-utils.cpp     Sat Dec 21 23:43:26 2019 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-extensions_exiv2__tools_exiv2-utils.cpp,v 1.1 2019/12/21 23:43:26 joerg Exp $
+
+--- extensions/exiv2_tools/exiv2-utils.cpp.orig        2019-12-21 22:44:56.297630474 +0000
++++ extensions/exiv2_tools/exiv2-utils.cpp
+@@ -33,7 +33,8 @@
+ #include <sstream>
+ #include <vector>
+ #include <iomanip>
+-#include <exiv2/xmp.hpp>
++#include <exiv2/xmp_exiv2.hpp>
++#include <exiv2/version.hpp>
+ #include <gthumb.h>
+ #include "exiv2-utils.h"
+ 
+@@ -898,7 +899,7 @@ dump_exif_data (Exiv2::ExifData &exifDat
+ 
+       try {
+               if (exifData.empty()) {
+-                      throw Exiv2::Error(1, " No Exif data found in the file");
++                      throw Exiv2::Error(Exiv2::kerGeneralError, " No Exif data found in the file");
+               }
+               Exiv2::ExifData::const_iterator end = exifData.end();
+               for (Exiv2::ExifData::const_iterator i = exifData.begin(); i != end; ++i) {
diff -r ca92c5318fa8 -r 9a879b01927e graphics/gthumb3/distinfo
--- a/graphics/gthumb3/distinfo Sat Dec 21 23:42:35 2019 +0000
+++ b/graphics/gthumb3/distinfo Sat Dec 21 23:43:26 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 21:34:02 agc Exp $
+$NetBSD: distinfo,v 1.3 2019/12/21 23:43:27 joerg Exp $
 
 SHA1 (gthumb-3.0.2.tar.xz) = 39fa6da3ad7a336f376b07be4b4028a56014e598
 RMD160 (gthumb-3.0.2.tar.xz) = b5af2221d5c274eb2083e7bac070f5239da900d9
 SHA512 (gthumb-3.0.2.tar.xz) = 00a9ebfcedb8905ed2c05132eed70644ddfe239da9055d377652fd8f9e4fd84e1ffb1f7e33d3fb46b166e31120c128f09f17edd6c02000f96cc9958623c21c43
 Size (gthumb-3.0.2.tar.xz) = 5803480 bytes
 SHA1 (patch-ah) = b0c2b36911457b3ca3b60b2892abbb73b96fb72e
+SHA1 (patch-extensions_exiv2__tools_exiv2-utils.cpp) = 5214845ffc3f6d10539a2a1f44745ea0059e75f8
diff -r ca92c5318fa8 -r 9a879b01927e graphics/gthumb3/patches/patch-extensions_exiv2__tools_exiv2-utils.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gthumb3/patches/patch-extensions_exiv2__tools_exiv2-utils.cpp    Sat Dec 21 23:43:26 2019 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-extensions_exiv2__tools_exiv2-utils.cpp,v 1.1 2019/12/21 23:43:27 joerg Exp $
+
+--- extensions/exiv2_tools/exiv2-utils.cpp.orig        2019-12-21 23:03:22.584354769 +0000
++++ extensions/exiv2_tools/exiv2-utils.cpp
+@@ -33,7 +33,8 @@
+ #include <sstream>
+ #include <vector>
+ #include <iomanip>
+-#include <exiv2/xmp.hpp>
++#include <exiv2/xmp_exiv2.hpp>
++#include <exiv2/version.hpp>
+ #include <gthumb.h>
+ #include "exiv2-utils.h"
+ 
+@@ -928,7 +929,7 @@ dump_exif_data (Exiv2::ExifData &exifDat
+ 
+       try {
+               if (exifData.empty()) {
+-                      throw Exiv2::Error(1, " No Exif data found in the file");
++                      throw Exiv2::Error(Exiv2::kerGeneralError, " No Exif data found in the file");
+               }
+               Exiv2::ExifData::const_iterator end = exifData.end();
+               for (Exiv2::ExifData::const_iterator i = exifData.begin(); i != end; ++i) {



Home | Main Index | Thread Index | Old Index