[Midnightbsd-cvs] mports [24136] trunk/graphics/exiv2/pkg-plist: update to 0.26
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 3 13:04:27 EDT 2018
Revision: 24136
http://svnweb.midnightbsd.org/mports/?rev=24136
Author: laffer1
Date: 2018-09-03 13:04:26 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
update to 0.26
Modified Paths:
--------------
trunk/graphics/exiv2/Makefile
trunk/graphics/exiv2/distinfo
trunk/graphics/exiv2/pkg-descr
trunk/graphics/exiv2/pkg-plist
Added Paths:
-----------
trunk/graphics/exiv2/files/
trunk/graphics/exiv2/files/patch-src_CMakeLists.txt
trunk/graphics/exiv2/files/patch-src_actions.cpp
Property Changed:
----------------
trunk/graphics/exiv2/pkg-descr
Modified: trunk/graphics/exiv2/Makefile
===================================================================
--- trunk/graphics/exiv2/Makefile 2018-09-03 16:59:27 UTC (rev 24135)
+++ trunk/graphics/exiv2/Makefile 2018-09-03 17:04:26 UTC (rev 24136)
@@ -1,29 +1,36 @@
# $MidnightBSD$
PORTNAME= exiv2
-PORTVERSION= 0.23
+DISTVERSION= 0.26
+DISTVERSIONSUFFIX= -trunk
+PORTEPOCH= 1
CATEGORIES= graphics
-MASTER_SITES= http://www.exiv2.org/
+MASTER_SITES= http://www.exiv2.org/builds/
MAINTAINER= ports at MidnightBSD.org
COMMENT= Exif and Iptc metadata manipulation library and tools
LICENSE= gpl2
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:textproc/expat2
-GNU_CONFIGURE= yes
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd10.4
-
-USES= gmake
-USE_GETTEXT= yes
+USES= cmake:outsource cpe gettext iconv pathfix
USE_LDCONFIG= yes
-ALLTARGET= all
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-post-patch:
- @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/src/Makefile
+CMAKE_ON= EXIV2_ENABLE_VIDEO \
+ EXIV2_ENABLE_BUILD_PO
+CMAKE_OFF= EXIV2_ENABLE_BUILD_SAMPLES \
+ EXIV2_ENABLE_LIBXMP
+PATHFIX_CMAKELISTSTXT= CMakeChecks.txt
+
+CFLAGS_powerpc64= -mminimal-toc
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-trunk
+
+post-install:
+ ${CP} ${FAKE_DESTDIR}/${TRUE_PREFIX}/lib/pkgconfig/exiv2.pc ${PREFIX}/libdata/pkgconfig/
+ ${CP} ${FAKE_DESTDIR}/${TRUE_PREFIX}/lib/pkgconfig/exiv2.lsm ${PREFIX}/libdata/pkgconfig/
+
.include <bsd.port.mk>
Modified: trunk/graphics/exiv2/distinfo
===================================================================
--- trunk/graphics/exiv2/distinfo 2018-09-03 16:59:27 UTC (rev 24135)
+++ trunk/graphics/exiv2/distinfo 2018-09-03 17:04:26 UTC (rev 24136)
@@ -1,2 +1,3 @@
-SHA256 (exiv2-0.23.tar.gz) = 81fa50900be7ab16e24c6551252c21fc97abcfe855fd32c8f7ec55f398786b11
-SIZE (exiv2-0.23.tar.gz) = 3524381
+TIMESTAMP = 1523892704
+SHA256 (exiv2-0.26-trunk.tar.gz) = c75e3c4a0811bf700d92c82319373b7a825a2331c12b8b37d41eb58e4f18eafb
+SIZE (exiv2-0.26-trunk.tar.gz) = 5677925
Added: trunk/graphics/exiv2/files/patch-src_CMakeLists.txt
===================================================================
--- trunk/graphics/exiv2/files/patch-src_CMakeLists.txt (rev 0)
+++ trunk/graphics/exiv2/files/patch-src_CMakeLists.txt 2018-09-03 17:04:26 UTC (rev 24136)
@@ -0,0 +1,22 @@
+FreeBSD does hat have -ldl.
+
+Instead of unconditionally passing 'dl' to the linker, use cmakes 'CMAKE_DL_LIBS' [1]
+which handles that properly on all systems.
+
+[1] https://cmake.org/cmake/help/v3.6/variable/CMAKE_DL_LIBS.html
+
+--- src/CMakeLists.txt.orig 2017-03-27 09:04:12 UTC
++++ src/CMakeLists.txt
+@@ -265,9 +265,9 @@ if ( MSVC )
+ TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} ${SSH_LIBRARIES} )
+ else()
+ if ( UNIX AND NOT FREEBSD )
+- TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} dl ${EXPAT_LIBRARIES} )
+- TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} dl ${CURL_LIBRARIES} )
+- TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} dl ${SSH_LIBRARIES} )
++ TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} ${CMAKE_DL_LIBS} ${EXPAT_LIBRARIES} )
++ TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} ${CMAKE_DL_LIBS} ${CURL_LIBRARIES} )
++ TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} ${CMAKE_DL_LIBS} ${SSH_LIBRARIES} )
+ else()
+ TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} ${EXPAT_LIBRARIES} )
+ TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} ${CURL_LIBRARIES} )
Property changes on: trunk/graphics/exiv2/files/patch-src_CMakeLists.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/graphics/exiv2/files/patch-src_actions.cpp
===================================================================
--- trunk/graphics/exiv2/files/patch-src_actions.cpp (rev 0)
+++ trunk/graphics/exiv2/files/patch-src_actions.cpp 2018-09-03 17:04:26 UTC (rev 24136)
@@ -0,0 +1,16 @@
+FreeBSD does not know either
+* PTHREAD_RECURSIVE_MUTEX_INITIALIZER nor
+* PTHREAD_RECUSRIVE_MUTEX_INITIALIZER_NP
+
+
+--- src/actions.cpp.orig 2017-03-08 20:42:28 UTC
++++ src/actions.cpp
+@@ -2048,6 +2048,8 @@ namespace {
+ #if defined(__APPLE__)
+ /* This is the critical section object (statically allocated). */
+ static pthread_mutex_t cs = PTHREAD_RECURSIVE_MUTEX_INITIALIZER;
++ #elif defined(__FreeBSD__)
++ static pthread_mutex_t cs = PTHREAD_MUTEX_INITIALIZER;
+ #else
+ static pthread_mutex_t cs = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
+ #endif
Property changes on: trunk/graphics/exiv2/files/patch-src_actions.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/graphics/exiv2/pkg-descr
===================================================================
--- trunk/graphics/exiv2/pkg-descr 2018-09-03 16:59:27 UTC (rev 24135)
+++ trunk/graphics/exiv2/pkg-descr 2018-09-03 17:04:26 UTC (rev 24136)
@@ -1,3 +1,6 @@
-Exif and Iptc metadata manipulation library and tools
+Exiv2 is a C++ library and a command line utility to manage image metadata.
+It provides fast and easy read and write access to the Exif, IPTC, and XMP
+metadata of images in various formats. Exiv2 is available as free software
+and with a commercial license, and is used in many projects.
-WWW: http://www.exiv2.org/
+WWW: http://www.exiv2.org/
Property changes on: trunk/graphics/exiv2/pkg-descr
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Modified: trunk/graphics/exiv2/pkg-plist
===================================================================
--- trunk/graphics/exiv2/pkg-plist 2018-09-03 16:59:27 UTC (rev 24135)
+++ trunk/graphics/exiv2/pkg-plist 2018-09-03 17:04:26 UTC (rev 24136)
@@ -1,22 +1,27 @@
bin/exiv2
+include/exiv2/asfvideo.hpp
include/exiv2/basicio.hpp
include/exiv2/bmpimage.hpp
+include/exiv2/config.h
include/exiv2/convert.hpp
include/exiv2/cr2image.hpp
include/exiv2/crwimage.hpp
include/exiv2/datasets.hpp
-include/exiv2/error.hpp
include/exiv2/easyaccess.hpp
include/exiv2/epsimage.hpp
+include/exiv2/error.hpp
include/exiv2/exif.hpp
+include/exiv2/exiv2.hpp
include/exiv2/exv_conf.h
-include/exiv2/exiv2.hpp
include/exiv2/futils.hpp
include/exiv2/gifimage.hpp
+include/exiv2/http.hpp
include/exiv2/image.hpp
+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
@@ -25,27 +30,40 @@
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/svn_version.h
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/xmpsidecar.hpp
-lib/libexiv2.a
-lib/libexiv2.la
lib/libexiv2.so
-lib/libexiv2.so.12
+lib/libexiv2.so.26
+lib/libexiv2.so.26.0.0
+libdata/pkgconfig/exiv2.lsm
libdata/pkgconfig/exiv2.pc
man/man1/exiv2.1.gz
+share/locale/bs/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
share/locale/fr/LC_MESSAGES/exiv2.mo
+share/locale/gl/LC_MESSAGES/exiv2.mo
+share/locale/ms/LC_MESSAGES/exiv2.mo
share/locale/pl/LC_MESSAGES/exiv2.mo
+share/locale/pt/LC_MESSAGES/exiv2.mo
share/locale/ru/LC_MESSAGES/exiv2.mo
share/locale/sk/LC_MESSAGES/exiv2.mo
- at dirrm include/exiv2
+share/locale/sv/LC_MESSAGES/exiv2.mo
+share/locale/ug/LC_MESSAGES/exiv2.mo
+share/locale/uk/LC_MESSAGES/exiv2.mo
+share/locale/vi/LC_MESSAGES/exiv2.mo
More information about the Midnightbsd-cvs
mailing list