gthumb: rebuild against exiv2-0.27.0_1

[ci skip]
This commit is contained in:
Rasmus Thomsen 2019-01-01 23:33:37 +01:00 committed by Helmut Pozimski
parent 94c105d6a1
commit 31d49f6cf3
2 changed files with 27 additions and 2 deletions

View file

@ -0,0 +1,25 @@
diff -Nru a/extensions/exiv2_tools/exiv2-utils.cpp b/extensions/exiv2_tools/exiv2-utils.cpp
--- extensions/exiv2_tools/exiv2-utils.cpp 2018-06-17 08:24:44.000000000 +0200
+++ extensions/exiv2_tools/exiv2-utils.cpp 2018-12-31 15:51:50.912329232 +0100
@@ -32,7 +32,8 @@
#include <sstream>
#include <vector>
#include <iomanip>
-#include <exiv2/xmp.hpp>
+#include <exiv2/exiv2.hpp>
+#include <exiv2/xmp_exiv2.hpp>
#include <gthumb.h>
#include "exiv2-utils.h"
@@ -1073,7 +1074,11 @@
try {
if (exifData.empty()) {
+#if EXIV2_TEST_VERSION(0,27,0)
+ throw Exiv2::Error(Exiv2::kerErrorMessage, " No Exif data found in the file");
+#else
throw Exiv2::Error(1, " No Exif data found in the file");
+#endif
}
Exiv2::ExifData::const_iterator end = exifData.end();
for (Exiv2::ExifData::const_iterator i = exifData.begin(); i != end; ++i) {

View file

@ -1,7 +1,7 @@
# Template file for 'gthumb'
pkgname=gthumb
version=3.6.2
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static
$(vopt_enable tiff) $(vopt_enable clutter)
@ -15,8 +15,8 @@ makedepends="webkit2gtk-devel json-glib-devel gnome-desktop-devel
$(vopt_if brasero brasero-devel)"
short_desc='An image viewer and browser for the GNOME Desktop'
maintainer="Enguerrand de Rochefort <voidlinux@rochefort.de>"
homepage="http://live.gnome.org/gthumb"
license="GPL-2.0-or-later"
homepage="http://live.gnome.org/gthumb"
distfiles="${GNOME_SITE}/gthumb/${version%.*}/gthumb-${version}.tar.xz"
checksum=c9bf6bb7502659f5e990069527584bb96193f7f5f9492f0bf5f65828f5024b66