summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2019-07-10 19:30:55 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2019-07-10 19:30:55 +0000
commit6dc0b2cfc84b352a57ba4c627c97a71fb5ab8451 (patch)
treea3d23a1473ae547c3eb2b610311e35a9006eae4e
parentSwitch the default for Linux ports to CentOS 7. (diff)
graphics/exiv2: update to 0.27.1
Exp-run by: antoine PR: 239028
Notes
Notes: svn path=/head/; revision=506383
-rw-r--r--astro/gpscorrelate/files/patch-exif-gps.cpp13
-rw-r--r--astro/merkaartor/files/patch-git_e6d015a913
-rw-r--r--graphics/exiv2/Makefile5
-rw-r--r--graphics/exiv2/distinfo6
-rw-r--r--graphics/exiv2/files/patch-git_04c9b188
-rw-r--r--graphics/exiv2/pkg-plist9
-rw-r--r--graphics/gimp-lensfun-plugin/files/patch-src_gimplensfun.cpp12
-rw-r--r--graphics/hugin/files/patch-src_hugin1_hugin_RawImport.cpp14
-rw-r--r--graphics/hugin/files/patch-src_hugin__base_panodata_SrcPanoImage.cpp13
-rw-r--r--graphics/luminance-qt5/files/patch-src_Exif_ExifOperations.cpp11
-rw-r--r--graphics/nomacs/files/patch-src_DkCore_DkMetaData.cpp12
-rw-r--r--graphics/photivo/Makefile2
-rw-r--r--graphics/photivo/files/patch-Sources_ptImageHelper.cpp10
-rw-r--r--graphics/photoqt/files/patch-cplusplus_scripts_getanddostuff_manipulation.h12
-rw-r--r--graphics/photoqt/files/patch-cplusplus_scripts_getmetadata.h12
-rw-r--r--graphics/ufraw/files/patch-gentoo_b5b41410
-rw-r--r--multimedia/mythtv/files/patch-libs_libmythmetadata_imagemetadata.cpp18
-rw-r--r--multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp14
18 files changed, 160 insertions, 114 deletions
diff --git a/astro/gpscorrelate/files/patch-exif-gps.cpp b/astro/gpscorrelate/files/patch-exif-gps.cpp
new file mode 100644
index 000000000000..441fcf55569c
--- /dev/null
+++ b/astro/gpscorrelate/files/patch-exif-gps.cpp
@@ -0,0 +1,13 @@
+--- exif-gps.cpp.orig 2019-07-07 08:26:16 UTC
++++ exif-gps.cpp
+@@ -40,9 +40,7 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+
+-
+-#include "exiv2/image.hpp"
+-#include "exiv2/exif.hpp"
++#include <exiv2/exiv2.hpp>
+
+ #include "gpsstructure.h"
+ #include "exif-gps.h"
diff --git a/astro/merkaartor/files/patch-git_e6d015a9 b/astro/merkaartor/files/patch-git_e6d015a9
index 36f389ea6c86..2b6e58ebd75e 100644
--- a/astro/merkaartor/files/patch-git_e6d015a9
+++ b/astro/merkaartor/files/patch-git_e6d015a9
@@ -6,7 +6,7 @@ Date: Mon Jul 27 14:22:37 2015 +0200
--- src/Docks/GeoImageDock.cpp.orig 2015-07-19 14:50:09 UTC
+++ src/Docks/GeoImageDock.cpp
-@@ -458,7 +458,7 @@ void GeoImageDock::loadImages(QStringLis
+@@ -458,7 +458,7 @@ void GeoImageDock::loadImages(QStringList fileNames)
Exiv2::Image::AutoPtr image;
Exiv2::ExifData exifData;
@@ -15,7 +15,7 @@ Date: Mon Jul 27 14:22:37 2015 +0200
Layer *theLayer;
if (photoLayer == NULL) {
-@@ -894,7 +894,7 @@ Coord GeoImageDock::getGeoDataFromImage(
+@@ -894,7 +894,7 @@ Coord GeoImageDock::getGeoDataFromImage(const QString
double lat = 0.0, lon = 0.0;
Exiv2::Image::AutoPtr image;
Exiv2::ExifData exifData;
@@ -26,10 +26,13 @@ Date: Mon Jul 27 14:22:37 2015 +0200
return pos;
--- src/Docks/GeoImageDock.h.orig 2015-07-19 14:50:09 UTC
+++ src/Docks/GeoImageDock.h
-@@ -9,6 +9,7 @@
+@@ -7,8 +7,8 @@
+ #include <QtWidgets/QDockWidget>
+ #include <QtGui/QMouseEvent>
#include <QtWidgets/QShortcut>
- #include <exiv2/image.hpp>
- #include <exiv2/exif.hpp>
+-#include <exiv2/image.hpp>
+-#include <exiv2/exif.hpp>
++#include <exiv2/exiv2.hpp>
+#include <QDrag>
class ImageView;
diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile
index 73a4c350637d..3ac826b7cdfb 100644
--- a/graphics/exiv2/Makefile
+++ b/graphics/exiv2/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= exiv2
-DISTVERSION= 0.27.0
-DISTVERSIONSUFFIX= a-Source
-PORTREVISION= 1
+DISTVERSION= 0.27.1
+DISTVERSIONSUFFIX= -Source
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= http://www.exiv2.org/builds/
diff --git a/graphics/exiv2/distinfo b/graphics/exiv2/distinfo
index aa82b1230a3f..da955a15ddb0 100644
--- a/graphics/exiv2/distinfo
+++ b/graphics/exiv2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1550640374
-SHA256 (exiv2-0.27.0a-Source.tar.gz) = a4adfa7aaf295b0383adead476f8e0493b9d6c6c7570d5884d2ebf8a2871902f
-SIZE (exiv2-0.27.0a-Source.tar.gz) = 27168207
+TIMESTAMP = 1557685573
+SHA256 (exiv2-0.27.1-Source.tar.gz) = f125286980fd1bcb28e188c02a93946951c61e10784720be2301b661a65b3081
+SIZE (exiv2-0.27.1-Source.tar.gz) = 27210365
diff --git a/graphics/exiv2/files/patch-git_04c9b1 b/graphics/exiv2/files/patch-git_04c9b1
deleted file mode 100644
index 55f3cce0cb79..000000000000
--- a/graphics/exiv2/files/patch-git_04c9b1
+++ /dev/null
@@ -1,88 +0,0 @@
-Slightly modified:
-
-From 04c9b181cc2c7741fcb134ccc43f2bafc1f86f19 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= <piponazo@gmail.com>
-Date: Sat, 12 Jan 2019 12:15:27 +0000
-Subject: [PATCH] Fix #644. Export specializations of BasicError
-
-- Only export BasicError::setMsg which is the only implementation present in the .cpp
-- Only export BasicError specialization on __APPLE__
-
-It seems that gcc automatically adds the attribute when the visibility
-settings are set to hidden. See this link for more information:
-https://reviews.llvm.org/D35388
----
- cmake/mainSetup.cmake | 6 ++++--
- include/exiv2/error.hpp | 3 ++-
- src/error.cpp | 6 ++++--
- 3 files changed, 10 insertions(+), 5 deletions(-)
-
-diff --git a/cmake/mainSetup.cmake b/cmake/mainSetup.cmake
-index 05c16004d..a4d983d4c 100644
---- cmake/mainSetup.cmake
-+++ cmake/mainSetup.cmake
-@@ -13,8 +13,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
-
--set(CMAKE_CXX_VISIBILITY_PRESET hidden)
--set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
-+if (NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
-+ set(CMAKE_CXX_VISIBILITY_PRESET hidden)
-+ set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
-+endif()
-
- set(CMAKE_CXX_STANDARD 98)
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
-diff --git a/include/exiv2/error.hpp b/include/exiv2/error.hpp
-index 0f9714e5b..42a0959c4 100644
---- include/exiv2/error.hpp
-+++ include/exiv2/error.hpp
-@@ -315,7 +315,7 @@ namespace Exiv2 {
- std::basic_string<charT> arg3_; //!< Third argument
- std::string msg_; //!< Complete error message
- #ifdef EXV_UNICODE_PATH
-- std::wstring wmsg_; //!< Complete error message as a wide string
-+ std::wstring wmsg_; //!< Complete error message as a wide string
- #endif
- }; // class BasicError
-
-@@ -389,6 +389,7 @@ namespace Exiv2 {
- return wmsg_.c_str();
- }
- #endif
-+
- #ifdef _MSC_VER
- # pragma warning( default : 4275 )
- #endif
-diff --git a/src/error.cpp b/src/error.cpp
-index 6d3a24bd8..c8e2d9e0d 100644
---- src/error.cpp
-+++ src/error.cpp
-@@ -224,7 +224,6 @@ namespace Exiv2 {
- {
- }
-
-- //! @cond IGNORE
- template<>
- void BasicError<char>::setMsg()
- {
-@@ -257,7 +256,9 @@ namespace Exiv2 {
- wmsg_ = s2ws(msg);
- #endif
- }
-- //! @endcond
-+#ifdef __FreeBSD__
-+ template class EXIV2API BasicError<char>;
-+#endif
-
- #ifdef EXV_UNICODE_PATH
- template<>
-@@ -291,6 +292,7 @@ namespace Exiv2 {
- wmsg_ = wmsg;
- msg_ = ws2s(wmsg);
- }
-+ template class EXIV2API BasicError<wchar_t>;
- #endif
-
- const char* errMsg(int code)
diff --git a/graphics/exiv2/pkg-plist b/graphics/exiv2/pkg-plist
index b34eb5e13a7d..0a30988d1c46 100644
--- a/graphics/exiv2/pkg-plist
+++ b/graphics/exiv2/pkg-plist
@@ -82,15 +82,16 @@ include/exiv2/version.hpp
include/exiv2/webpimage.hpp
include/exiv2/xmp_exiv2.hpp
include/exiv2/xmpsidecar.hpp
+lib/exiv2/cmake/exiv2Config-%%CMAKE_BUILD_TYPE%%.cmake
+lib/exiv2/cmake/exiv2Config.cmake
+lib/exiv2/cmake/exiv2ConfigVersion.cmake
lib/libexiv2.so
-lib/libexiv2.so.0.27.0
+lib/libexiv2.so.0.27.1
lib/libexiv2.so.27
-lib/libxmp.a
+lib/libexiv2-xmp.a
libdata/pkgconfig/exiv2.pc
man/man1/exiv2.1.gz
%%SAMPLE%%man/man1/exiv2samples.1.gz
-%%DATADIR%%/cmake/exiv2Config-%%CMAKE_BUILD_TYPE%%.cmake
-%%DATADIR%%/cmake/exiv2Config.cmake
share/locale/bs/LC_MESSAGES/exiv2.mo
share/locale/ca/LC_MESSAGES/exiv2.mo
share/locale/de/LC_MESSAGES/exiv2.mo
diff --git a/graphics/gimp-lensfun-plugin/files/patch-src_gimplensfun.cpp b/graphics/gimp-lensfun-plugin/files/patch-src_gimplensfun.cpp
new file mode 100644
index 000000000000..0252e4b0cf90
--- /dev/null
+++ b/graphics/gimp-lensfun-plugin/files/patch-src_gimplensfun.cpp
@@ -0,0 +1,12 @@
+--- src/gimplensfun.cpp.orig 2019-07-07 08:42:51 UTC
++++ src/gimplensfun.cpp
+@@ -37,8 +37,7 @@ CHANGES:
+ #include <libgimp/gimp.h>
+ #include <libgimp/gimpui.h>
+
+-#include <exiv2/image.hpp>
+-#include <exiv2/exif.hpp>
++#include <exiv2/exiv2.hpp>
+
+ #define VERSIONSTR "0.2.4-dev"
+
diff --git a/graphics/hugin/files/patch-src_hugin1_hugin_RawImport.cpp b/graphics/hugin/files/patch-src_hugin1_hugin_RawImport.cpp
new file mode 100644
index 000000000000..6dde1324baa3
--- /dev/null
+++ b/graphics/hugin/files/patch-src_hugin1_hugin_RawImport.cpp
@@ -0,0 +1,14 @@
+--- src/hugin1/hugin/RawImport.cpp.orig 2019-07-07 08:40:09 UTC
++++ src/hugin1/hugin/RawImport.cpp
+@@ -35,10 +35,7 @@
+ // workaround for a conflict between exiv2 and wxWidgets/CMake built
+ #define HAVE_PID_T 1
+ #endif
+-#include <exiv2/exif.hpp>
+-#include <exiv2/image.hpp>
+-#include <exiv2/easyaccess.hpp>
+-#include <exiv2/xmpsidecar.hpp>
++#include <exiv2/exiv2.hpp>
+ #ifdef __WXMSW__
+ #include <wx/msw/registry.h>
+ #endif
diff --git a/graphics/hugin/files/patch-src_hugin__base_panodata_SrcPanoImage.cpp b/graphics/hugin/files/patch-src_hugin__base_panodata_SrcPanoImage.cpp
new file mode 100644
index 000000000000..26e0aa6a2ad4
--- /dev/null
+++ b/graphics/hugin/files/patch-src_hugin__base_panodata_SrcPanoImage.cpp
@@ -0,0 +1,13 @@
+--- src/hugin_base/panodata/SrcPanoImage.cpp.orig 2019-07-07 08:31:01 UTC
++++ src/hugin_base/panodata/SrcPanoImage.cpp
+@@ -40,9 +40,7 @@
+ #include <vigra/diff2d.hxx>
+ #include <vigra/imageinfo.hxx>
+ #include <hugin_utils/utils.h>
+-#include <exiv2/exif.hpp>
+-#include <exiv2/image.hpp>
+-#include <exiv2/easyaccess.hpp>
++#include <exiv2/exiv2.hpp>
+ #include <lensdb/LensDB.h>
+ #include "Exiv2Helper.h"
+
diff --git a/graphics/luminance-qt5/files/patch-src_Exif_ExifOperations.cpp b/graphics/luminance-qt5/files/patch-src_Exif_ExifOperations.cpp
new file mode 100644
index 000000000000..77d199a6259d
--- /dev/null
+++ b/graphics/luminance-qt5/files/patch-src_Exif_ExifOperations.cpp
@@ -0,0 +1,11 @@
+--- src/Exif/ExifOperations.cpp.orig 2019-07-07 08:28:28 UTC
++++ src/Exif/ExifOperations.cpp
+@@ -34,7 +34,7 @@
+
+ #include <boost/assign/list_of.hpp>
+
+-#include <exif.hpp>
++#include <exiv2/exiv2.hpp>
+ #include <image.hpp>
+
+ #include "ExifOperations.h"
diff --git a/graphics/nomacs/files/patch-src_DkCore_DkMetaData.cpp b/graphics/nomacs/files/patch-src_DkCore_DkMetaData.cpp
index 6c2b2932778a..ccc25805bf76 100644
--- a/graphics/nomacs/files/patch-src_DkCore_DkMetaData.cpp
+++ b/graphics/nomacs/files/patch-src_DkCore_DkMetaData.cpp
@@ -1,6 +1,14 @@
---- src/DkCore/DkMetaData.cpp.orig 2019-03-08 21:53:21 UTC
+--- src/DkCore/DkMetaData.cpp.orig 2019-07-07 07:58:56 UTC
+++ src/DkCore/DkMetaData.cpp
-@@ -1262,7 +1262,7 @@ void DkMetaDataT::printMetaData() const {
+@@ -40,6 +40,7 @@
+ #include <QVector2D>
+ #include <QApplication>
+ #pragma warning(pop) // no warnings from includes - end
++#include <iostream>
+
+ namespace nmc {
+
+@@ -1262,7 +1263,7 @@ void DkMetaDataT::printMetaData() const {
std::string xmpPacket;
if (0 != Exiv2::XmpParser::encode(xmpPacket, xmpData)) {
diff --git a/graphics/photivo/Makefile b/graphics/photivo/Makefile
index 23b9575b4ab2..6e217e7cacda 100644
--- a/graphics/photivo/Makefile
+++ b/graphics/photivo/Makefile
@@ -27,7 +27,7 @@ USES= cmake compiler:c++11-lib desktop-file-utils dos2unix \
USE_GNOME= glib20
USE_QT= qmake_build buildtools_build core gui network widgets
DOS2UNIX_FILES= Sources/ptImage.cpp Sources/ptCheck.cpp Sources/filemgmt/ptFileMgrWindow.h \
- Sources/ptImageHelper.h Sources/ptMainWindow.h
+ Sources/ptImageHelper.h Sources/ptMainWindow.h Sources/ptImageHelper.cpp
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/graphics/photivo/files/patch-Sources_ptImageHelper.cpp b/graphics/photivo/files/patch-Sources_ptImageHelper.cpp
new file mode 100644
index 000000000000..d697215968f1
--- /dev/null
+++ b/graphics/photivo/files/patch-Sources_ptImageHelper.cpp
@@ -0,0 +1,10 @@
+--- Sources/ptImageHelper.cpp.orig 2019-07-07 08:34:52 UTC
++++ Sources/ptImageHelper.cpp
+@@ -34,6 +34,7 @@
+ #pragma GCC diagnostic pop
+ #include <wand/magick_wand.h>
+
++#include <iostream>
+ #include <vector>
+ #include <QStringList>
+
diff --git a/graphics/photoqt/files/patch-cplusplus_scripts_getanddostuff_manipulation.h b/graphics/photoqt/files/patch-cplusplus_scripts_getanddostuff_manipulation.h
new file mode 100644
index 000000000000..0d5f1d33ac5e
--- /dev/null
+++ b/graphics/photoqt/files/patch-cplusplus_scripts_getanddostuff_manipulation.h
@@ -0,0 +1,12 @@
+--- cplusplus/scripts/getanddostuff/manipulation.h.orig 2019-07-07 08:24:57 UTC
++++ cplusplus/scripts/getanddostuff/manipulation.h
+@@ -37,8 +37,7 @@
+ #include "../../logger.h"
+
+ #ifdef EXIV2
+-#include <exiv2/image.hpp>
+-#include <exiv2/exif.hpp>
++#include <exiv2/exiv2.hpp>
+ #endif
+
+ class GetAndDoStuffManipulation : public QObject {
diff --git a/graphics/photoqt/files/patch-cplusplus_scripts_getmetadata.h b/graphics/photoqt/files/patch-cplusplus_scripts_getmetadata.h
new file mode 100644
index 000000000000..5e808ab72b7d
--- /dev/null
+++ b/graphics/photoqt/files/patch-cplusplus_scripts_getmetadata.h
@@ -0,0 +1,12 @@
+--- cplusplus/scripts/getmetadata.h.orig 2019-07-07 08:22:25 UTC
++++ cplusplus/scripts/getmetadata.h
+@@ -34,8 +34,7 @@
+ #include "../logger.h"
+
+ #ifdef EXIV2
+-#include <exiv2/image.hpp>
+-#include <exiv2/exif.hpp>
++#include <exiv2/exiv2.hpp>
+ #endif
+
+ class GetMetaData : public QObject {
diff --git a/graphics/ufraw/files/patch-gentoo_b5b414 b/graphics/ufraw/files/patch-gentoo_b5b414
index f9f107b26ebc..039244de4f2b 100644
--- a/graphics/ufraw/files/patch-gentoo_b5b414
+++ b/graphics/ufraw/files/patch-gentoo_b5b414
@@ -1,19 +1,20 @@
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-gfx/ufraw/files/ufraw-0.22-exiv2-0.27.patch
---- ufraw_exiv2.cc 2015-06-16 05:58:38.000000000 +0200
-+++ ufraw_exiv2.cc 2018-12-29 22:51:23.291894430 +0100
-@@ -15,9 +15,7 @@
+--- ufraw_exiv2.cc.orig 2016-11-13 04:00:05 UTC
++++ ufraw_exiv2.cc
+@@ -15,9 +15,8 @@
#include "ufraw.h"
#ifdef HAVE_EXIV2
-#include <exiv2/image.hpp>
-#include <exiv2/easyaccess.hpp>
-#include <exiv2/exif.hpp>
++#include <iostream>
+#include <exiv2/exiv2.hpp>
#include <sstream>
#include <cassert>
-@@ -67,7 +65,11 @@
+@@ -67,7 +66,11 @@ extern "C" int ufraw_exif_read_input(ufraw_data *uf)
if (exifData.empty()) {
std::string error(uf->filename);
error += ": No Exif data found in the file";
@@ -25,4 +26,3 @@ https://gitweb.gentoo.org/repo/gentoo.git/tree/media-gfx/ufraw/files/ufraw-0.22-
}
/* List of tag names taken from exiv2's printSummary() in actions.cpp */
-
diff --git a/multimedia/mythtv/files/patch-libs_libmythmetadata_imagemetadata.cpp b/multimedia/mythtv/files/patch-libs_libmythmetadata_imagemetadata.cpp
new file mode 100644
index 000000000000..5cc747752168
--- /dev/null
+++ b/multimedia/mythtv/files/patch-libs_libmythmetadata_imagemetadata.cpp
@@ -0,0 +1,18 @@
+--- libs/libmythmetadata/imagemetadata.cpp.orig 2019-07-07 08:48:08 UTC
++++ libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@
+ #include "exitcodes.h" // for ffprobe
+
+ // libexiv2 for Exif metadata
+-//#include <exiv2/exiv2.hpp>
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file. Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include <exiv2/src/image.hpp>
+-#else
+-#include <exiv2/image.hpp>
+-#endif
++#include <exiv2/exiv2.hpp>
+
+ // To read FFMPEG Metadata
+ extern "C" {
diff --git a/multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp b/multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp
index 0c4a6266a94a..2054c05394c6 100644
--- a/multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp
+++ b/multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp
@@ -1,6 +1,14 @@
---- src/image/exiv2.cpp.orig 2009-01-30 22:18:25.000000000 +0100
-+++ src/image/exiv2.cpp 2011-07-15 15:48:34.000000000 +0200
-@@ -47,7 +47,8 @@
+--- src/image/exiv2.cpp.orig 2009-01-30 21:18:25 UTC
++++ src/image/exiv2.cpp
+@@ -1,6 +1,5 @@
+ #include <Python.h>
+-#include <exiv2/image.hpp>
+-#include <exiv2/exif.hpp>
++#include <exiv2/exiv2.hpp>
+
+ PyObject *parse(PyObject *self, PyObject *args)
+ {
+@@ -47,7 +46,8 @@ PyObject *parse(PyObject *self, PyObject *args)
Py_DECREF(entry);
}