summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnome/exempi/.footprint15
-rw-r--r--gnome/exempi/.md5sum2
-rw-r--r--gnome/exempi/Pkgfile19
-rw-r--r--gnome/exempi/gcc44.patch35
4 files changed, 71 insertions, 0 deletions
diff --git a/gnome/exempi/.footprint b/gnome/exempi/.footprint
new file mode 100644
index 000000000..94051b1fc
--- /dev/null
+++ b/gnome/exempi/.footprint
@@ -0,0 +1,15 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/exempi-2.0/
+drwxr-xr-x root/root usr/include/exempi-2.0/exempi/
+-rw-r--r-- root/root usr/include/exempi-2.0/exempi/xmp.h
+-rw-r--r-- root/root usr/include/exempi-2.0/exempi/xmpconsts.h
+-rw-r--r-- root/root usr/include/exempi-2.0/exempi/xmperrors.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libexempi.a
+-rwxr-xr-x root/root usr/lib/libexempi.la
+lrwxrwxrwx root/root usr/lib/libexempi.so -> libexempi.so.3.2.0
+lrwxrwxrwx root/root usr/lib/libexempi.so.3 -> libexempi.so.3.2.0
+-rwxr-xr-x root/root usr/lib/libexempi.so.3.2.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/exempi-2.0.pc
diff --git a/gnome/exempi/.md5sum b/gnome/exempi/.md5sum
new file mode 100644
index 000000000..e7e5418e8
--- /dev/null
+++ b/gnome/exempi/.md5sum
@@ -0,0 +1,2 @@
+30dfa5c394b4a3901c66f6e60e8b22e4 exempi-2.1.0.tar.gz
+90a6455fcae0fb3a8f43b2a0ac61ba3d gcc44.patch
diff --git a/gnome/exempi/Pkgfile b/gnome/exempi/Pkgfile
new file mode 100644
index 000000000..3f3357cf0
--- /dev/null
+++ b/gnome/exempi/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Librairie pour traiter les metadonnées xml
+# URL: http://libopenraw.freedesktop.org/wiki/Exempi
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: boost
+
+name=exempi
+version=2.1.0
+release=1
+source=(http://libopenraw.freedesktop.org/download/${name}-${version}.tar.gz\
+ gcc44.patch)
+build() {
+ cd $name-$version
+ patch -Np1 -i ../gcc44.patch
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+}
+
diff --git a/gnome/exempi/gcc44.patch b/gnome/exempi/gcc44.patch
new file mode 100644
index 000000000..d0d100f50
--- /dev/null
+++ b/gnome/exempi/gcc44.patch
@@ -0,0 +1,35 @@
+diff --git a/exempi/tests/utils.cpp b/exempi/tests/utils.cpp
+index 64be1ee..ee1c3a9 100644
+--- a/exempi/tests/utils.cpp
++++ b/exempi/tests/utils.cpp
+@@ -34,6 +34,7 @@
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
++#include <cstdio>
+
+ #include <boost/test/unit_test.hpp>
+
+diff --git a/samples/source/XMPFilesCoverage.cpp b/samples/source/XMPFilesCoverage.cpp
+index dc9ce41..007c12b 100644
+--- a/samples/source/XMPFilesCoverage.cpp
++++ b/samples/source/XMPFilesCoverage.cpp
+@@ -17,6 +17,7 @@
+ #include <errno.h>
+ #include <time.h>
+ #include <cstring>
++#include <cstdio>
+
+ #define TXMP_STRING_TYPE std::string
+ #define XMP_INCLUDE_XMPFILES 1
+diff --git a/source/common/XML_Node.cpp b/source/common/XML_Node.cpp
+index de3866f..75298a8 100644
+--- a/source/common/XML_Node.cpp
++++ b/source/common/XML_Node.cpp
+@@ -11,6 +11,7 @@
+
+ #include <string.h>
+ #include <cstring>
++#include <cstdio>
+ #include <map>
+