On Mon, Feb 11 2019, Daniel Jakots <d...@chown.me> wrote:
> Anyone cares to test it?

Tested, looks good overall but I have a bunch of tweaks to propose.
Note that as is, this update won't build if exiv2-0.26 is already
installed.  The error points at a function with a fishy name,
getProcessPath(), which wasn't there in previous versions.

This function is now in the public API exported by
include/exiv2/futils.hpp.  It can't work on OpenBSD.  Shame, its main
use is to find the .mo files now that exiv2 supports i18n.

So here's a revised diff with the following changes:
- remove Exiv2::getProcessPath() from the public API.  My take is that
  it's easier to spot build failures rather than runtime failures, in
  this situation.  IMO upstream made a mistake to publish this function,
  I'd like to try and convince them to deprecate it.
- stop using getProcessPath() in exiv2 source code, instead use the
  PREFIX passed at configure time, just like 99% of software out there.
- drop patches/patch-src_http_cpp, not needed any more
- drop visibility workaround in patches/patch-src_version_cpp, not
  needed any more
- don't force-disable XMP.  What we want is to remove libxmp.a from
  installed files, we don't want to disable XMP support in libexiv2
  itself.  A "funny" side-effect is that expat is now detected again,
  which in turn builds and installs the geotag executable from the
  samples directory...
- also drop -DEXV_HAVE_PROCESS_H=OFF, not needed in my tests

I'm a bit sceptical regarding the new programs.  Are they really that
useful?  Aren't they built/installed just because cmake...?

IIUC Daniel's diff hasn't seen bulk build yet, which is probably
desirable.  But first I'd like to hear feedback/objections regarding the
changes proposed above.


Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/exiv2/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile    24 Oct 2018 14:28:05 -0000      1.28
+++ Makefile    12 Feb 2019 16:57:09 -0000
@@ -2,12 +2,11 @@
 
 COMMENT=       manipulate image meta-data such as exif and ipct
 
-DISTNAME=      exiv2-0.26-trunk
-PKGNAME=       exiv2-0.26
+DISTNAME=      exiv2-0.27.0-Source
+PKGNAME=       exiv2-0.27.0
 CATEGORIES=    graphics devel
-REVISION=      0
 
-SHARED_LIBS +=  exiv2                9.0      # 14.0
+SHARED_LIBS +=  exiv2                10.0      # 14.0
 
 HOMEPAGE=      http://www.exiv2.org/
 
@@ -20,18 +19,34 @@ COMPILER =          base-clang ports-gcc base-gc
 
 MASTER_SITES=  http://www.exiv2.org/builds/
 
-USE_GMAKE=     Yes
+MODULES=       devel/cmake
 
-CONFIGURE_STYLE=gnu
+CFLAGS +=      -I${LOCALBASE}/include
+CXXFLAGS +=    -I${LOCALBASE}/include
 
-BUILD_DEPENDS= devel/gettext-tools
+BUILD_DEPENDS= devel/gettext-tools \
+               devel/gtest
 
 LIB_DEPENDS=   devel/gettext
 
-CONFIGURE_ARGS=        --enable-static
+TEST_DEPENDS=  converters/dos2unix \
+               shells/bash
 
-NO_TEST=       Yes
+CONFIGURE_ARGS += -DEXIV2_BUILD_UNIT_TESTS=ON
+CONFIGURE_ARGS += -DEXIV2_BUILD_PO=ON
 
-WRKDIST=               ${WRKDIR}/exiv2-trunk
+TEST_TARGET =  tests
+
+# dos line-endings in file needing patch
+post-extract:
+       @cd ${WRKSRC} && perl -i -pe 's/\r$$//' 
${WRKSRC}/cmake/compilerFlags.cmake
+
+post-install:
+       find ${WRKINST} -name '._*' -delete
+       rm ${PREFIX}/include/exiv2/*.orig
+       rm ${PREFIX}/lib/libxmp.a
+
+pre-test:
+       @sed -Ei 's,!/bin/(ba)?sh,!/usr/bin/env bash,g' ${WRKSRC}/test/*.sh
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/exiv2/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo    5 Apr 2018 21:21:52 -0000       1.12
+++ distinfo    12 Feb 2019 16:57:09 -0000
@@ -1,2 +1,2 @@
-SHA256 (exiv2-0.26-trunk.tar.gz) = x148SggRv3ANksgjGTc7eoJaIzHBK4s31B61jk8Y6vs=
-SIZE (exiv2-0.26-trunk.tar.gz) = 5677925
+SHA256 (exiv2-0.27.0-Source.tar.gz) = 
7oi8gVObc8ZQEGUXhdCU+tCzl2CkJLPBbBfhhWz+8tc=
+SIZE (exiv2-0.27.0-Source.tar.gz) = 27222970
Index: patches/patch-cmake_compilerFlags_cmake
===================================================================
RCS file: patches/patch-cmake_compilerFlags_cmake
diff -N patches/patch-cmake_compilerFlags_cmake
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-cmake_compilerFlags_cmake     12 Feb 2019 16:57:09 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+- warnings about c++locale.h clutter the build
+
+Index: cmake/compilerFlags.cmake
+--- cmake/compilerFlags.cmake.orig
++++ cmake/compilerFlags.cmake
+@@ -30,7 +30,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CY
+             set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage")
+         endif()
+ 
+-        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wcast-align 
-Wpointer-arith -Wformat-security -Wmissing-format-attribute 
-Woverloaded-virtual -W")
++        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wcast-align 
-Wpointer-arith -Wformat-security -Woverloaded-virtual -W")
+ 
+         if ( EXIV2_TEAM_USE_SANITIZERS )
+             # ASAN is available in gcc from 4.8 and UBSAN from 4.9
Index: patches/patch-config_config_mk_in
===================================================================
RCS file: patches/patch-config_config_mk_in
diff -N patches/patch-config_config_mk_in
--- patches/patch-config_config_mk_in   21 Nov 2015 15:33:56 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-config_config_mk_in,v 1.2 2015/11/21 15:33:56 jca Exp $
-
-- warnings about c++locale.h clutter the build
-
---- config/config.mk.in.orig   Sun Jun 21 16:19:25 2015
-+++ config/config.mk.in        Thu Nov 19 19:56:00 2015
-@@ -58,7 +58,7 @@ GXX = @GXX@
- # Common compiler flags (warnings, symbols [-ggdb], optimization [-O2], etc)
- CXXFLAGS = @CXXFLAGS@
- ifeq ($(GXX),yes)
--      CXXFLAGS += -Wall -Wcast-align -Wpointer-arith -Wformat-security 
-Wmissing-format-attribute -Woverloaded-virtual -W
-+      CXXFLAGS += -Wall -Wcast-align -Wpointer-arith -Wformat-security 
-Woverloaded-virtual -W
- endif
- 
- # Command to run only the preprocessor
Index: patches/patch-include_exiv2_futils_hpp
===================================================================
RCS file: patches/patch-include_exiv2_futils_hpp
diff -N patches/patch-include_exiv2_futils_hpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-include_exiv2_futils_hpp      12 Feb 2019 16:57:09 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+getProcessPath() doesn't work on OpenBSD, don't export it.
+
+Index: include/exiv2/futils.hpp
+--- include/exiv2/futils.hpp.orig
++++ include/exiv2/futils.hpp
+@@ -176,7 +176,7 @@ namespace Exiv2
+     EXIV2API std::string strError();
+ 
+     //! @brief Return the path of the current process.
+-    EXIV2API std::string getProcessPath();
++    //EXIV2API std::string getProcessPath();
+ 
+     /*!
+       @brief A container for URL components. It also provides the method to 
parse a
Index: patches/patch-src_CMakeLists_txt
===================================================================
RCS file: patches/patch-src_CMakeLists_txt
diff -N patches/patch-src_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_CMakeLists_txt    12 Feb 2019 16:57:09 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+Use a fixed location for locale files, getProcessPath() doesn't work on
+OpenBSD.
+
+Index: src/CMakeLists.txt
+--- src/CMakeLists.txt.orig
++++ src/CMakeLists.txt
+@@ -211,7 +211,7 @@ if( EXIV2_ENABLE_NLS )
+     target_link_libraries(exiv2lib PRIVATE ${Intl_LIBRARIES})
+     target_include_directories(exiv2lib PRIVATE ${Intl_INCLUDE_DIRS})
+     # Definition needed for translations
+-    target_compile_definitions(exiv2lib PUBLIC 
EXV_LOCALEDIR="/../${CMAKE_INSTALL_LOCALEDIR}")
++    target_compile_definitions(exiv2lib PUBLIC 
EXV_LOCALEDIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LOCALEDIR}")
+ endif()
+ 
+ if( ICONV_FOUND )
Index: patches/patch-src_Makefile
===================================================================
RCS file: patches/patch-src_Makefile
diff -N patches/patch-src_Makefile
--- patches/patch-src_Makefile  5 Apr 2018 21:21:52 -0000       1.5
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,31 +0,0 @@
-$OpenBSD: patch-src_Makefile,v 1.5 2018/04/05 21:21:52 rsadowski Exp $
-Index: src/Makefile
---- src/Makefile.orig
-+++ src/Makefile
-@@ -151,7 +151,7 @@ LIBRARY = libexiv2.la
- 
- # 
******************************************************************************
- # Initialisations
--SHELL = /bin/bash
-+SHELL = /bin/sh
- 
- .SUFFIXES:
- .SUFFIXES: .c .cpp .o .so
-@@ -235,7 +235,7 @@ $(SRC): ../include/exiv2/exv_conf.h svn_version.h
- 
- # svn_version.h is only rewritten when the svn info | grep Revision has 
changed
- svn_version.h:
--      ./svn_version.sh
-+#     ./svn_version.sh
- 
- version.hpp : svn_version.h
- 
-@@ -252,7 +252,7 @@ $(BINARY): %: %.o lib
-       @$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $@.o -rpath 
$(libdir)
- 
- $(EXIV2EXE): lib $(EXIV2OBJ) $(EXIV2COBJ)
--      mkdir -pv ../bin 2>&1 > /dev/null
-+      mkdir -p ../bin 2>&1 > /dev/null
-       @$(LIBTOOL) --mode=link $(LINK.cc) -o ../bin/$@ $(LIBRARY) $(EXIV2OBJ) 
$(EXIV2COBJ) -rpath $(libdir)
- 
- install-header:
Index: patches/patch-src_actions_cpp
===================================================================
RCS file: /cvs/ports/graphics/exiv2/patches/patch-src_actions_cpp,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_actions_cpp
--- patches/patch-src_actions_cpp       5 Apr 2018 21:21:52 -0000       1.1
+++ patches/patch-src_actions_cpp       12 Feb 2019 16:57:09 -0000
@@ -9,12 +9,12 @@ mutex, I'll admit that it's a bit cumber
 Index: src/actions.cpp
 --- src/actions.cpp.orig
 +++ src/actions.cpp
-@@ -2049,7 +2049,7 @@ namespace {
-   /* This is the critical section object (statically allocated). */
-   static pthread_mutex_t cs =  PTHREAD_RECURSIVE_MUTEX_INITIALIZER;
-  #else
--  static pthread_mutex_t cs =  PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
+@@ -2024,6 +2024,8 @@ namespace {
+    #else
+     static pthread_mutex_t cs =  PTHREAD_MUTEX_INITIALIZER;
+   #endif
++ #elif defined(__OpenBSD__)
 +  static pthread_mutex_t cs =  PTHREAD_MUTEX_INITIALIZER;
-  #endif
- #endif
- 
+  #else
+   #if defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP)
+     static pthread_mutex_t cs =  PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
Index: patches/patch-src_exiv2_cpp
===================================================================
RCS file: patches/patch-src_exiv2_cpp
diff -N patches/patch-src_exiv2_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_exiv2_cpp 12 Feb 2019 16:57:09 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+Use a fixed location for locale files, getProcessPath() doesn't work on
+OpenBSD.
+
+Index: src/exiv2.cpp
+--- src/exiv2.cpp.orig
++++ src/exiv2.cpp
+@@ -129,7 +129,7 @@ int main(int argc, char* const argv[])
+ {
+ #ifdef EXV_ENABLE_NLS
+     setlocale(LC_ALL, "");
+-    const std::string localeDir = Exiv2::getProcessPath() + EXV_LOCALEDIR;
++    const std::string localeDir = EXV_LOCALEDIR;
+     bindtextdomain(EXV_PACKAGE_NAME, localeDir.c_str());
+     textdomain(EXV_PACKAGE_NAME);
+ #endif
Index: patches/patch-src_http_cpp
===================================================================
RCS file: patches/patch-src_http_cpp
diff -N patches/patch-src_http_cpp
--- patches/patch-src_http_cpp  5 Apr 2018 21:21:52 -0000       1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_http_cpp,v 1.2 2018/04/05 21:21:52 rsadowski Exp $
-Index: src/http.cpp
---- src/http.cpp.orig
-+++ src/http.cpp
-@@ -41,6 +41,7 @@
- #include <time.h>
- #include <sys/stat.h>
- #include <string.h>
-+#include <cerrno>
- 
- #ifdef  _MSC_VER
- #pragma message("Using exiv2 http support")
Index: patches/patch-src_pentaxmn_cpp
===================================================================
RCS file: patches/patch-src_pentaxmn_cpp
diff -N patches/patch-src_pentaxmn_cpp
--- patches/patch-src_pentaxmn_cpp      5 Apr 2018 21:21:52 -0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-src_pentaxmn_cpp,v 1.1 2018/04/05 21:21:52 rsadowski Exp $
-
-Fix http://dev.exiv2.org/issues/1305
-
-Index: src/pentaxmn.cpp
---- src/pentaxmn.cpp.orig
-+++ src/pentaxmn.cpp
-@@ -1167,6 +1167,8 @@ namespace Exiv2 {
- 
-     std::ostream& PentaxMakerNote::printShutterCount(std::ostream& os, const 
Value& value, const ExifData* metadata)
-     {
-+        if ( ! metadata ) return os << "undefined" ;
-+
-         ExifData::const_iterator dateIt = metadata->findKey(
-                 ExifKey("Exif.PentaxDng.Date"));
-         if (dateIt == metadata->end()) {
Index: patches/patch-src_types_cpp
===================================================================
RCS file: patches/patch-src_types_cpp
diff -N patches/patch-src_types_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_types_cpp 12 Feb 2019 16:57:09 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+Use a fixed location for locale files, getProcessPath() doesn't work on
+OpenBSD.
+
+Index: src/types.cpp
+--- src/types.cpp.orig
++++ src/types.cpp
+@@ -729,7 +729,7 @@ const char* _exvGettext(const char* str)
+ 
+     if (!exvGettextInitialized) {
+         //bindtextdomain(EXV_PACKAGE_NAME, EXV_LOCALEDIR);
+-        const std::string localeDir = Exiv2::getProcessPath() + EXV_LOCALEDIR;
++        const std::string localeDir = EXV_LOCALEDIR;
+         bindtextdomain(EXV_PACKAGE_NAME, localeDir.c_str());
+ # ifdef EXV_HAVE_BIND_TEXTDOMAIN_CODESET
+         bind_textdomain_codeset (EXV_PACKAGE_NAME, "UTF-8");
Index: patches/patch-src_value_cpp
===================================================================
RCS file: /cvs/ports/graphics/exiv2/patches/patch-src_value_cpp,v
retrieving revision 1.7
diff -u -p -r1.7 patch-src_value_cpp
--- patches/patch-src_value_cpp 21 Nov 2015 15:33:56 -0000      1.7
+++ patches/patch-src_value_cpp 12 Feb 2019 16:57:09 -0000
@@ -1,21 +1,17 @@
 $OpenBSD: patch-src_value_cpp,v 1.7 2015/11/21 15:33:56 jca Exp $
---- src/value.cpp.orig Sat May  2 13:55:40 2015
-+++ src/value.cpp      Thu Nov 19 19:30:30 2015
-@@ -982,7 +982,7 @@ namespace Exiv2 {
+
+Avoid sprintf warnings when linking with libexiv2.
+
+Index: src/value.cpp
+--- src/value.cpp.orig
++++ src/value.cpp
+@@ -1012,7 +1012,8 @@ namespace Exiv2 {
          // sprintf wants to add the null terminator, so use oversized buffer
          char temp[9];
  
--        int wrote = sprintf(temp, "%04d%02d%02d",
+-        int wrote = sprintf(temp, "%04d%02d%02d", date_.year, date_.month, 
date_.day);
 +        int wrote = snprintf(temp, sizeof temp, "%04d%02d%02d",
-                             date_.year, date_.month, date_.day);
++                             date_.year, date_.month, date_.day);
          assert(wrote == 8);
-         std::memcpy(buf, temp, 8);
-@@ -1157,7 +1157,7 @@ namespace Exiv2 {
-         char plusMinus = '+';
-         if (time_.tzHour < 0 || time_.tzMinute < 0) plusMinus = '-';
- 
--        int wrote = sprintf(temp,
-+        int wrote = snprintf(temp, sizeof temp,
-                    "%02d%02d%02d%1c%02d%02d",
-                    time_.hour, time_.minute, time_.second,
-                    plusMinus, abs(time_.tzHour), abs(time_.tzMinute));
+         std::memcpy(buf, temp, wrote);
+         return wrote;
Index: patches/patch-src_version_cpp
===================================================================
RCS file: /cvs/ports/graphics/exiv2/patches/patch-src_version_cpp,v
retrieving revision 1.5
diff -u -p -r1.5 patch-src_version_cpp
--- patches/patch-src_version_cpp       5 Apr 2018 21:21:52 -0000       1.5
+++ patches/patch-src_version_cpp       12 Feb 2019 16:57:09 -0000
@@ -1,12 +1,16 @@
 $OpenBSD: patch-src_version_cpp,v 1.5 2018/04/05 21:21:52 rsadowski Exp $
+
+getProcessPath() doesn't work on OpenBSD.
+
 Index: src/version.cpp
 --- src/version.cpp.orig
 +++ src/version.cpp
-@@ -126,6 +126,7 @@ namespace Exiv2 {
-         return os.str();
-     }
- 
-+const char* version() __attribute__((visibility ("default")));
-     const char* version()
-     {
-         return EXV_PACKAGE_VERSION;
+@@ -473,7 +473,7 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv
+     output(os,keys,"version"        , __VERSION__);
+     output(os,keys,"date"           , __DATE__   );
+     output(os,keys,"time"           , __TIME__   );
+-    output(os,keys,"processpath"    , Exiv2::getProcessPath());
++    //output(os,keys,"processpath"    , Exiv2::getProcessPath());
+ #ifdef EXV_ENABLE_NLS
+     output(os,keys,"localedir"      , EXV_LOCALEDIR);
+ #endif
Index: patches/patch-test_functions_source
===================================================================
RCS file: patches/patch-test_functions_source
diff -N patches/patch-test_functions_source
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-test_functions_source 12 Feb 2019 16:57:09 -0000
@@ -0,0 +1,29 @@
+$OpenBSD$
+
+Index: test/functions.source
+--- test/functions.source.orig
++++ test/functions.source
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+ 
+ ##
+ # run a test
+@@ -226,7 +226,7 @@ diffCheck()
+     if [ -z "$errors" ]; then let -a errors=0; fi
+ 
+     #run diff and check results
+-    diff -q --binary $diffargs "$test" "$good"
++    diff -q $diffargs "$test" "$good"
+     if [ $? -ne 0 ]; then
+        errors=$(expr $errors + 1)
+     else
+@@ -421,7 +421,7 @@ checkSum()
+ {
+     # cygwin checksum: http://esrg.sourceforge.net/utils_win_up/md5sum/
+     # macosx - built/installed coreutils 8.25 
http://ftp.gnu.org/gnu/coreutils/
+-    md5sum $1 | cut -d' ' -f 1
++    md5 $1 | cut -d' ' -f 1
+ }
+ 
+ ##
Index: patches/patch-unitTests_test_futils_cpp
===================================================================
RCS file: patches/patch-unitTests_test_futils_cpp
diff -N patches/patch-unitTests_test_futils_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-unitTests_test_futils_cpp     12 Feb 2019 16:57:09 -0000
@@ -0,0 +1,25 @@
+$OpenBSD$
+
+getProcessPath() doesn't work on OpenBSD.
+
+Index: unitTests/test_futils.cpp
+--- unitTests/test_futils.cpp.orig
++++ unitTests/test_futils.cpp
+@@ -153,17 +153,3 @@ TEST(AUri, parsesAndDecoreUrl)
+ 
+     Uri::Decode(uri);
+ }
+-
+-TEST(getProcessPath, obtainPathOfUnitTestsExecutable)
+-{
+-#ifdef _WIN32
+-    const std::string expectedName("bin");
+-#else
+-    const std::string expectedName("bin");
+-#endif
+-    const std::string path = getProcessPath();
+-
+-    ASSERT_FALSE(path.empty());
+-    const size_t idxStart = path.size() - expectedName.size();
+-    ASSERT_EQ(expectedName, path.substr(idxStart, expectedName.size()));
+-}
Index: patches/patch-xmpsdk_src_XMPMeta-Serialize_cpp
===================================================================
RCS file: 
/cvs/ports/graphics/exiv2/patches/patch-xmpsdk_src_XMPMeta-Serialize_cpp,v
retrieving revision 1.2
diff -u -p -r1.2 patch-xmpsdk_src_XMPMeta-Serialize_cpp
--- patches/patch-xmpsdk_src_XMPMeta-Serialize_cpp      21 Nov 2015 15:33:56 
-0000      1.2
+++ patches/patch-xmpsdk_src_XMPMeta-Serialize_cpp      12 Feb 2019 16:57:09 
-0000
@@ -1,7 +1,8 @@
 $OpenBSD: patch-xmpsdk_src_XMPMeta-Serialize_cpp,v 1.2 2015/11/21 15:33:56 jca 
Exp $
---- xmpsdk/src/XMPMeta-Serialize.cpp.orig      Thu Nov 19 19:37:14 2015
-+++ xmpsdk/src/XMPMeta-Serialize.cpp   Thu Nov 19 20:02:26 2015
-@@ -303,7 +303,7 @@ AppendNodeValue ( XMP_VarString & outputStr, const XMP
+Index: xmpsdk/src/XMPMeta-Serialize.cpp
+--- xmpsdk/src/XMPMeta-Serialize.cpp.orig
++++ xmpsdk/src/XMPMeta-Serialize.cpp
+@@ -302,7 +302,7 @@ AppendNodeValue ( XMP_VarString & outputStr, const XMP
                                XMP_Assert ( (ch == kTab) || (ch == kLF) || (ch 
== kCR) );
  
                                char hexBuf[16];
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/exiv2/pkg/PLIST,v
retrieving revision 1.10
diff -u -p -r1.10 PLIST
--- pkg/PLIST   5 Apr 2018 21:21:52 -0000       1.10
+++ pkg/PLIST   12 Feb 2019 16:57:09 -0000
@@ -1,7 +1,42 @@
 @comment $OpenBSD: PLIST,v 1.10 2018/04/05 21:21:52 rsadowski Exp $
+@bin bin/addmoddel
+@bin bin/convert-test
+@bin bin/easyaccess-test
+@bin bin/exifcomment
+@bin bin/exifdata
+@bin bin/exifdata-test
+@bin bin/exifprint
+@bin bin/exifvalue
 @bin bin/exiv2
+@bin bin/exiv2json
+@bin bin/geotag
+@bin bin/ini-test
+@bin bin/iotest
+@bin bin/iptceasy
+@bin bin/iptcprint
+@bin bin/iptctest
+@bin bin/key-test
+@bin bin/largeiptc-test
+@bin bin/metacopy
+@bin bin/mmap-test
+@bin bin/mrwthumb
+@bin bin/path-test
+@bin bin/prevtest
+@bin bin/stringto-test
+@bin bin/taglist
+@bin bin/tiff-test
+@bin bin/werror-test
+@bin bin/write-test
+@bin bin/write2-test
+@bin bin/xmpdump
+@bin bin/xmpparse
+@bin bin/xmpparser-test
+@bin bin/xmpprint
+@bin bin/xmpsample
 include/exiv2/
+include/exiv2/asfvideo.hpp
 include/exiv2/basicio.hpp
+include/exiv2/bigtiffimage.hpp
 include/exiv2/bmpimage.hpp
 include/exiv2/config.h
 include/exiv2/convert.hpp
@@ -13,8 +48,8 @@ include/exiv2/epsimage.hpp
 include/exiv2/error.hpp
 include/exiv2/exif.hpp
 include/exiv2/exiv2.hpp
+include/exiv2/exiv2lib_export.h
 include/exiv2/exv_conf.h
-include/exiv2/exv_msvc.h
 include/exiv2/futils.hpp
 include/exiv2/gifimage.hpp
 include/exiv2/http.hpp
@@ -23,6 +58,7 @@ include/exiv2/ini.hpp
 include/exiv2/iptc.hpp
 include/exiv2/jp2image.hpp
 include/exiv2/jpgimage.hpp
+include/exiv2/matroskavideo.hpp
 include/exiv2/metadatum.hpp
 include/exiv2/mrwimage.hpp
 include/exiv2/orfimage.hpp
@@ -31,27 +67,35 @@ include/exiv2/pngimage.hpp
 include/exiv2/preview.hpp
 include/exiv2/properties.hpp
 include/exiv2/psdimage.hpp
+include/exiv2/quicktimevideo.hpp
 include/exiv2/rafimage.hpp
+include/exiv2/riffvideo.hpp
 include/exiv2/rw2image.hpp
 include/exiv2/rwlock.hpp
+include/exiv2/slice.hpp
+include/exiv2/ssh.hpp
 include/exiv2/tags.hpp
 include/exiv2/tgaimage.hpp
 include/exiv2/tiffimage.hpp
 include/exiv2/types.hpp
+include/exiv2/utilsvideo.hpp
 include/exiv2/value.hpp
 include/exiv2/version.hpp
 include/exiv2/webpimage.hpp
-include/exiv2/xmp.hpp
+include/exiv2/xmp_exiv2.hpp
 include/exiv2/xmpsidecar.hpp
-lib/libexiv2.a
-lib/libexiv2.la
 @lib lib/libexiv2.so.${LIBexiv2_VERSION}
 lib/pkgconfig/exiv2.pc
 @man man/man1/exiv2.1
 @man man/man1/exiv2samples.1
+share/exiv2/
+share/exiv2/cmake/
+share/exiv2/cmake/exiv2Config${MODCMAKE_BUILD_SUFFIX}
+share/exiv2/cmake/exiv2Config.cmake
 share/locale/bs/
 share/locale/bs/LC_MESSAGES/
 share/locale/bs/LC_MESSAGES/exiv2.mo
+share/locale/ca/LC_MESSAGES/exiv2.mo
 share/locale/de/LC_MESSAGES/exiv2.mo
 share/locale/es/LC_MESSAGES/exiv2.mo
 share/locale/fi/LC_MESSAGES/exiv2.mo


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to