From e5cb9c9cf4ffcdbefc7c00b67211d4fc4f392fd6 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 4 Nov 2006 12:11:53 +0000 Subject: [PATCH] The exiv2 library is a C++ library to allow access to exif and other meta-data in an image. --- graphics/exiv2/Makefile | 25 ++++++++++++ graphics/exiv2/distinfo | 4 ++ graphics/exiv2/patches/patch-src_Makefile | 12 ++++++ graphics/exiv2/pkg/DESCR | 11 ++++++ graphics/exiv2/pkg/PFRAG.shared | 2 + graphics/exiv2/pkg/PLIST | 48 +++++++++++++++++++++++ 6 files changed, 102 insertions(+) create mode 100644 graphics/exiv2/Makefile create mode 100644 graphics/exiv2/distinfo create mode 100644 graphics/exiv2/patches/patch-src_Makefile create mode 100644 graphics/exiv2/pkg/DESCR create mode 100644 graphics/exiv2/pkg/PFRAG.shared create mode 100644 graphics/exiv2/pkg/PLIST diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile new file mode 100644 index 00000000000..2e6f673cc3a --- /dev/null +++ b/graphics/exiv2/Makefile @@ -0,0 +1,25 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/11/04 12:11:53 espie Exp $ + +HOMEPAGE= http://www.exiv2.org/ +COMMENT= 'manipulate image meta-data such as exif and ipct' +CATEGORIES= graphics devel +MASTER_SITES= ${HOMEPAGE} +DISTNAME= exiv2-0.11 + +SHARED_LIBS += exiv2 0.0 # .0.0 +WANTLIB += c m stdc++ z + +USE_LIBTOOL= Yes +USE_GMAKE= Yes +CONFIGURE_STYLE=gnu + +CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static + +# GPL +PERMIT_DISTFILES_CDROM=Yes +PERMIT_PACKAGE_CDROM=Yes +PERMIT_DISTFILES_FTP=Yes +PERMIT_PACKAGE_FTP=Yes + + +.include diff --git a/graphics/exiv2/distinfo b/graphics/exiv2/distinfo new file mode 100644 index 00000000000..faaac3795dd --- /dev/null +++ b/graphics/exiv2/distinfo @@ -0,0 +1,4 @@ +MD5 (exiv2-0.11.tar.gz) = 269ce822946c56549d086f0c08dffc79 +RMD160 (exiv2-0.11.tar.gz) = fa91bd6f6c817590636d705e77a872a13c8c734e +SHA1 (exiv2-0.11.tar.gz) = 7a27ed841cbfe887eddb10db286cef83bd16b5b3 +SIZE (exiv2-0.11.tar.gz) = 2380087 diff --git a/graphics/exiv2/patches/patch-src_Makefile b/graphics/exiv2/patches/patch-src_Makefile new file mode 100644 index 00000000000..c87334fd8f0 --- /dev/null +++ b/graphics/exiv2/patches/patch-src_Makefile @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_Makefile,v 1.1.1.1 2006/11/04 12:11:53 espie Exp $ +--- src/Makefile.orig Sat Nov 4 11:03:57 2006 ++++ src/Makefile Sat Nov 4 11:04:12 2006 +@@ -247,7 +247,7 @@ $(LIBTOOL): $(LIBTOOL_DEPS) + bin: lib $(BINARY) $(EXIV2BIN) $(MCBIN) path-test + + lib: $(OBJ) +- $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) $(LOBJ) -o $(LIBRARY) -rpath $(libdir) -release $(EXIV2_VERSION) $(LIBS) ++ $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) $(LOBJ) -o $(LIBRARY) -rpath $(libdir) -version-info 0:0:0 $(LIBS) + @touch lib + + path-test: path-test.o utils.o diff --git a/graphics/exiv2/pkg/DESCR b/graphics/exiv2/pkg/DESCR new file mode 100644 index 00000000000..87b9bbb049a --- /dev/null +++ b/graphics/exiv2/pkg/DESCR @@ -0,0 +1,11 @@ +Exiv2 is a C++ library and a command line utility to access image metadata. + +The Exiv2 library provides + * full read and write access to the Exif and IPTC metadata of an +image through Exiv2 keys and standard C++ iterators + * a smart IPTC implementation that does not affect data that +programs like Photoshop store in the same image segment + * Exif MakerNote support + * extract and delete methods for Exif thumbnails + * set methods for Exif thumbnails + diff --git a/graphics/exiv2/pkg/PFRAG.shared b/graphics/exiv2/pkg/PFRAG.shared new file mode 100644 index 00000000000..86e82743d26 --- /dev/null +++ b/graphics/exiv2/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/11/04 12:11:53 espie Exp $ +@lib lib/libexiv2.so.${LIBexiv2_VERSION} diff --git a/graphics/exiv2/pkg/PLIST b/graphics/exiv2/pkg/PLIST new file mode 100644 index 00000000000..69e797f5a6b --- /dev/null +++ b/graphics/exiv2/pkg/PLIST @@ -0,0 +1,48 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/04 12:11:53 espie Exp $ +%%SHARED%% +bin/exiv2 +bin/exiv2-config +include/exiv2/ +include/exiv2/basicio.hpp +include/exiv2/canonmn.hpp +include/exiv2/cr2image.hpp +include/exiv2/crwimage.hpp +include/exiv2/datasets.hpp +include/exiv2/error.hpp +include/exiv2/exif.hpp +include/exiv2/exiv2_version.h +include/exiv2/exv_conf.h +include/exiv2/exv_msvc.h +include/exiv2/fujimn.hpp +include/exiv2/futils.hpp +include/exiv2/ifd.hpp +include/exiv2/image.hpp +include/exiv2/iptc.hpp +include/exiv2/jpgimage.hpp +include/exiv2/makernote.hpp +include/exiv2/makernote2.hpp +include/exiv2/metadatum.hpp +include/exiv2/minoltamn.hpp +include/exiv2/mn.hpp +include/exiv2/mrwimage.hpp +include/exiv2/nikonmn.hpp +include/exiv2/olympusmn.hpp +include/exiv2/panasonicmn.hpp +include/exiv2/pngchunk.hpp +include/exiv2/pngimage.hpp +include/exiv2/rcsid.hpp +include/exiv2/sigmamn.hpp +include/exiv2/sonymn.hpp +include/exiv2/tags.hpp +include/exiv2/tiffcomposite.hpp +include/exiv2/tifffwd.hpp +include/exiv2/tiffimage.hpp +include/exiv2/tiffparser.hpp +include/exiv2/tiffvisitor.hpp +include/exiv2/types.hpp +include/exiv2/value.hpp +lib/libexiv2.a +lib/libexiv2.la +lib/pkgconfig/ +lib/pkgconfig/exiv2.pc +@man man/man1/exiv2.1