import exempi

Exempi is an implementation of XMP and is based on Adobe XMP SDK.

submission from Andreas Bihlmaier

ok merdely@
This commit is contained in:
okan 2008-11-18 12:43:28 +00:00
parent fa41eaedf0
commit ce31afc60b
7 changed files with 73 additions and 0 deletions

33
textproc/exempi/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/11/18 12:43:28 okan Exp $
COMMENT = implementation of XMP
DISTNAME = exempi-2.0.2
CATEGORIES = textproc
SHARED_LIBS += exempi 1.0 # .4.4
HOMEPAGE = http://libopenraw.freedesktop.org/wiki/Exempi
MAINTAINER = Andreas Bihlmaier <andreas.bihlmaier@gmx.de>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += expat pthread
MASTER_SITES = http://libopenraw.freedesktop.org/download/
LIB_DEPENDS = iconv.>=4::converters/libiconv
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
--enable-unittest=no
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-liconv -lpthread" \
ac_cv_tls=none
.include <bsd.port.mk>

5
textproc/exempi/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (exempi-2.0.2.tar.gz) = eWrqwT6s78g3altlYq31jw==
RMD160 (exempi-2.0.2.tar.gz) = +Ol64VLuitacy8zeoHH6WQzXPhs=
SHA1 (exempi-2.0.2.tar.gz) = RkMszvy/bYQq/O3/IqHCSoI8tOI=
SHA256 (exempi-2.0.2.tar.gz) = OUyQWZ/C9ALOd8v/nRbaSuKErgBwwTo3VDreaHUteXU=
SIZE (exempi-2.0.2.tar.gz) = 3072078

View File

@ -0,0 +1,10 @@
--- exempi/tests/test2.cpp.orig Tue Apr 22 18:44:54 2008
+++ exempi/tests/test2.cpp Tue Apr 22 18:45:04 2008
@@ -37,6 +37,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
#include <sys/stat.h>
#include <string>

View File

@ -0,0 +1,11 @@
--- source/XMPFiles/FormatSupport/EndianUtils.hpp.orig Tue Apr 22 17:13:52 2008
+++ source/XMPFiles/FormatSupport/EndianUtils.hpp Tue Apr 22 17:13:59 2008
@@ -57,7 +57,7 @@
# define kBigEndianHost 1
# endif
# else
-# include <endian.h>
+# include <machine/endian.h>
# if BYTE_ORDER == BIG_ENDIAN
# define kBigEndianHost 1
# elif BYTE_ORDER == LITTLE_ENDIAN

View File

@ -0,0 +1 @@
Exempi is an implementation of XMP and is based on Adobe XMP SDK.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/11/18 12:43:28 okan Exp $
@lib lib/libexempi.so.${LIBexempi_VERSION}

11
textproc/exempi/pkg/PLIST Normal file
View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/11/18 12:43:28 okan Exp $
%%SHARED%%
include/exempi-2.0/
include/exempi-2.0/exempi/
include/exempi-2.0/exempi/xmp.h
include/exempi-2.0/exempi/xmpconsts.h
include/exempi-2.0/exempi/xmperrors.h
lib/libexempi.a
lib/libexempi.la
lib/pkgconfig/
lib/pkgconfig/exempi-2.0.pc