pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/exempi Import exempi-2.0.0 as devel/exempi.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e80b9a45f97
branches:  trunk
changeset: 540961:7e80b9a45f97
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Apr 12 10:56:18 2008 +0000

description:
Import exempi-2.0.0 as devel/exempi.

XMP (Extensible Metadata Platform) facilitates embedding metadata
in files using a subset of RDF. Most notably XMP supports embedding
metadata in PDF and many image formats, though it is designed to
support nearly any file type.

diffstat:

 devel/exempi/DESCR            |   4 ++++
 devel/exempi/Makefile         |  23 +++++++++++++++++++++++
 devel/exempi/PLIST            |   8 ++++++++
 devel/exempi/buildlink3.mk    |  21 +++++++++++++++++++++
 devel/exempi/distinfo         |   6 ++++++
 devel/exempi/options.mk       |  16 ++++++++++++++++
 devel/exempi/patches/patch-ab |  22 ++++++++++++++++++++++
 7 files changed, 100 insertions(+), 0 deletions(-)

diffs (128 lines):

diff -r 4e6142715b10 -r 7e80b9a45f97 devel/exempi/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/exempi/DESCR        Sat Apr 12 10:56:18 2008 +0000
@@ -0,0 +1,4 @@
+XMP (Extensible Metadata Platform) facilitates embedding metadata
+in files using a subset of RDF. Most notably XMP supports embedding
+metadata in PDF and many image formats, though it is designed to
+support nearly any file type.
diff -r 4e6142715b10 -r 7e80b9a45f97 devel/exempi/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/exempi/Makefile     Sat Apr 12 10:56:18 2008 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/12 10:56:18 wiz Exp $
+#
+
+DISTNAME=      exempi-2.0.0
+CATEGORIES=    devel graphics
+MASTER_SITES=  http://libopenraw.freedesktop.org/download/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://libopenraw.freedesktop.org/wiki/Exempi
+COMMENT=       XMP library
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c++
+
+PKGCONFIG_OVERRIDE+=   exempi/exempi-2.0.pc.in
+
+.include "options.mk"
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4e6142715b10 -r 7e80b9a45f97 devel/exempi/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/exempi/PLIST        Sat Apr 12 10:56:18 2008 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/12 10:56:18 wiz Exp $
+include/exempi-2.0/exempi/xmp.h
+include/exempi-2.0/exempi/xmpconsts.h
+include/exempi-2.0/exempi/xmperrors.h
+lib/libexempi.la
+lib/pkgconfig/exempi-2.0.pc
+@dirrm include/exempi-2.0/exempi
+@dirrm include/exempi-2.0
diff -r 4e6142715b10 -r 7e80b9a45f97 devel/exempi/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/exempi/buildlink3.mk        Sat Apr 12 10:56:18 2008 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/04/12 10:56:18 wiz Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+EXEMPI_BUILDLINK3_MK:= ${EXEMPI_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    exempi
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nexempi}
+BUILDLINK_PACKAGES+=   exempi
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}exempi
+
+.if ${EXEMPI_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.exempi+= exempi>=1.99.9
+BUILDLINK_PKGSRCDIR.exempi?=   ../../devel/exempi
+.endif # EXEMPI_BUILDLINK3_MK
+
+.include "../../textproc/expat/buildlink3.mk"
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r 4e6142715b10 -r 7e80b9a45f97 devel/exempi/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/exempi/distinfo     Sat Apr 12 10:56:18 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/12 10:56:18 wiz Exp $
+
+SHA1 (exempi-2.0.0.tar.gz) = e1375fc0da629804399a8a5b4dc443636f5cf89f
+RMD160 (exempi-2.0.0.tar.gz) = 717c9a63cf4adca09d86297fcf372de317255a15
+Size (exempi-2.0.0.tar.gz) = 3064678 bytes
+SHA1 (patch-ab) = c0ff8dac7ace9d23ced44dd3e3aabb63eb22f4e1
diff -r 4e6142715b10 -r 7e80b9a45f97 devel/exempi/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/exempi/options.mk   Sat Apr 12 10:56:18 2008 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1.1.1 2008/04/12 10:56:18 wiz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.exempi
+PKG_SUPPORTED_OPTIONS= test
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mtest)
+CONFIGURE_ARGS+=       --with-boost=${BUILDLINK_PREFIX.boost-libs}
+.include "../../devel/boost-libs/buildlink3.mk"
+
+# 2 self tests fail, see https://bugs.freedesktop.org/show_bug.cgi?id=15265
+TEST_TARGET=   check
+.else
+CONFIGURE_ARGS+=       --enable-unittest=no
+.endif
diff -r 4e6142715b10 -r 7e80b9a45f97 devel/exempi/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/exempi/patches/patch-ab     Sat Apr 12 10:56:18 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/04/12 10:56:18 wiz Exp $
+
+--- source/XMPFiles/FormatSupport/Reconcile_Impl.cpp.orig      2007-10-30 22:22:10.000000000 +0100
++++ source/XMPFiles/FormatSupport/Reconcile_Impl.cpp
+@@ -254,7 +254,7 @@ void ReconcileUtils::UTF8ToLatin1 ( cons
+               size_t outLen = utf8Len * 4;
+               char * buf = (char *)calloc( outLen, 1 );
+               char * out = buf;
+-              size_t converted = iconv( cd, &in, &inLen, &out, &outLen );
++              size_t converted = iconv( cd, (const char **)&in, &inLen, &out, &outLen );
+               iconv_close( cd );
+ 
+               latin1->assign ( (const char *)buf, outLen );
+@@ -411,7 +411,7 @@ void ReconcileUtils::Latin1ToUTF8 ( cons
+               size_t outLen = latin1Len * 4;
+               char * buf = (char *)calloc( outLen, 1 );
+               char * out = buf;
+-              size_t converted = iconv( cd, &in, &inLen, &out, &outLen );
++              size_t converted = iconv( cd, (const char **)&in, &inLen, &out, &outLen );
+               iconv_close( cd );
+ 
+               utf8->assign ( (const char *)buf, outLen );



Home | Main Index | Thread Index | Old Index