Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 18:53:28 +0700
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        multimedia@freebsd.org
Subject:   [patch] update graphics/exiv2 to 0.24
Message-ID:  <20140404115328.GA19859@regency.nsu.ru>

next in thread | raw e-mail | index | archive | help

--uQr8t48UFsdbeI+V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hi there,

unless someone objects, i'd like to commit attached diff (+ bump consumers
port revisions).

./danfe

--uQr8t48UFsdbeI+V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="exiv2.diff"

Index: Makefile
===================================================================
--- Makefile	(revision 350060)
+++ Makefile	(working copy)
@@ -2,29 +2,32 @@
 # $FreeBSD$
 
 PORTNAME=	exiv2
-PORTVERSION=	0.23
-PORTREVISION=	2
+PORTVERSION=	0.24
 PORTEPOCH=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.exiv2.org/
 
 MAINTAINER=	multimedia@FreeBSD.org
-COMMENT=	Exif and Iptc metadata manipulation library and tools
+COMMENT=	Exif, IPTC, and XMP metadata manipulation library and tools
 
 LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
+USES=		gettext gmake iconv libtool
 GNU_CONFIGURE=	yes
-USES=		gettext gmake iconv libtool
 USE_LDCONFIG=	yes
-ALLTARGET=	all
+
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/src/Makefile
+	@${REINPLACE_CMD} -e 's,LDFLAGS -no-undefined -lpsapi",& ;; \
+		dragonfly* | freebsd*),' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
+			${WRKSRC}/src/Makefile
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/exiv2
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexiv2.so.12
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/exiv2 \
+		${STAGEDIR}${PREFIX}/lib/libexiv2.so.13
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 350060)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (exiv2-0.23.tar.gz) = 81fa50900be7ab16e24c6551252c21fc97abcfe855fd32c8f7ec55f398786b11
-SIZE (exiv2-0.23.tar.gz) = 3524381
+SHA256 (exiv2-0.24.tar.gz) = f4a443e6c7fb9d9f5e787732f76969a64c72c4c04af69b10ed57f949c2dfef8e
+SIZE (exiv2-0.24.tar.gz) = 4635028
Index: files/patch-src-Makefile
===================================================================
--- files/patch-src-Makefile	(revision 350060)
+++ files/patch-src-Makefile	(working copy)
@@ -1,11 +1,11 @@
 --- src/Makefile.orig
 +++ src/Makefile
-@@ -249,7 +249,7 @@
- 	@$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $@.o -rpath $(libdir)
+@@ -231,7 +231,7 @@ lib: $(OBJ)
  
  $(EXIV2BIN): lib $(EXIV2OBJ) $(EXIV2COBJ)
+ 	-mkdir ../bin >/dev/null 2>&1
 -	@$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $(EXIV2OBJ) $(EXIV2COBJ) -rpath $(libdir)
 +	@$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $(EXIV2OBJ) $(EXIV2COBJ) -rpath $(libdir) $(LIBS)
  
- $(MCBIN): lib $(MCOBJ)
- 	@$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $(MCOBJ) -rpath $(libdir)
+ install-header:
+ 	$(INSTALL_DIRS) $(DESTDIR)$(incdir)
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 350060)
+++ pkg-plist	(working copy)
@@ -1,22 +1,24 @@
 bin/exiv2
+include/exiv2/asfvideo.hpp
 include/exiv2/basicio.hpp
 include/exiv2/bmpimage.hpp
 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/image.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,7 +27,9 @@
 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/tags.hpp
 include/exiv2/tgaimage.hpp
@@ -38,8 +42,8 @@
 lib/libexiv2.a
 lib/libexiv2.la
 lib/libexiv2.so
-lib/libexiv2.so.12
-lib/libexiv2.so.12.0.0
+lib/libexiv2.so.13
+lib/libexiv2.so.13.0.0
 libdata/pkgconfig/exiv2.pc
 man/man1/exiv2.1.gz
 share/locale/de/LC_MESSAGES/exiv2.mo

--uQr8t48UFsdbeI+V--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140404115328.GA19859>