summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-15 21:55:13 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-15 21:55:13 +0200
commit6d0d86d9b9f2ef0ddf4a74dbcfae2bd6e716334a (patch)
tree65deb974e1a2e80e0c30ded352183c6ca2389786
parentd6df46639bb6e79d13ae7adad1a27d4f3a41cf13 (diff)
downloadnutyx-extra-6d0d86d9b9f2ef0ddf4a74dbcfae2bd6e716334a.tar.gz
nutyx-extra-6d0d86d9b9f2ef0ddf4a74dbcfae2bd6e716334a.tar.bz2
nutyx-extra-6d0d86d9b9f2ef0ddf4a74dbcfae2bd6e716334a.tar.xz
nutyx-extra-6d0d86d9b9f2ef0ddf4a74dbcfae2bd6e716334a.zip
maj redland#1.0.10-2, maj des dépendances
-rw-r--r--kde/redland/.md5sum1
-rwxr-xr-xkde/redland/Pkgfile10
-rw-r--r--kde/redland/librdf_storage_register_factory.patch21
-rw-r--r--kde/redland/redland-1.0.9-librdf_storage_register_factory.patch127
4 files changed, 29 insertions, 130 deletions
diff --git a/kde/redland/.md5sum b/kde/redland/.md5sum
index 9ba84fa5c..d7f68e69e 100644
--- a/kde/redland/.md5sum
+++ b/kde/redland/.md5sum
@@ -1 +1,2 @@
+1044ffc635f5c0ad16a00e18491ee588 librdf_storage_register_factory.patch
bdbb9b8dc614fc09a14cd646079619e1 redland-1.0.10.tar.gz
diff --git a/kde/redland/Pkgfile b/kde/redland/Pkgfile
index b8936bd8e..6a1f34ce0 100755
--- a/kde/redland/Pkgfile
+++ b/kde/redland/Pkgfile
@@ -2,17 +2,21 @@
# URL: http://download.librdf.org/source/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: raptor, rasqal, sqlite3
+# Depends on: raptor, rasqal, sqlite3, unixodbc
name=redland
version=1.0.10
-release=1
-source=(http://download.librdf.org/source/$name-$version.tar.gz)
+release=2
+source=(http://download.librdf.org/source/$name-$version.tar.gz\
+ librdf_storage_register_factory.patch)
build() {
cd $name-$version
+ patch -Np1 -i ../librdf_storage_register_factory.patch
sed -i -e 's/SQLITE_API/REDLAND_SQLITE_API/g' configure src/rdf_config.h.in src/rdf_storage_sqlite.c
./configure --prefix=/usr \
--sysconfdir=/etc \
+ --with-raptor=system \
+ --with-rasqual=system \
--with-mysql=no \
--with-sqlite=3
make
diff --git a/kde/redland/librdf_storage_register_factory.patch b/kde/redland/librdf_storage_register_factory.patch
new file mode 100644
index 000000000..9d99bbee2
--- /dev/null
+++ b/kde/redland/librdf_storage_register_factory.patch
@@ -0,0 +1,21 @@
+From: Dave Beckett <dave@dajobe.org>
+Date: Fri, 18 Dec 2009 16:03:31 +0000 (+0000)
+Subject: Add librdf.la to librdf_storage_virtuoso_la_LIBADD
+X-Git-Url: http://git.librdf.org/view?p=librdf.git;a=commitdiff_plain;h=bfeaca74108e5a1e0c8143b2dc4c36f23e78f311;hp=5dfe6dc3361cccdf47a9db32bfa8374d405ad1e4
+
+Add librdf.la to librdf_storage_virtuoso_la_LIBADD
+---
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 6bb4aa0..fcbe149 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -152,7 +152,7 @@ if STORAGE_VIRTUOSO
+ plugin_LTLIBRARIES += librdf_storage_virtuoso.la
+ librdf_storage_virtuoso_la_SOURCES = rdf_storage_virtuoso.c rdf_storage_virtuoso_internal.h
+ librdf_storage_virtuoso_la_CPPFLAGS = @ODBC_CFLAGS@
+-librdf_storage_virtuoso_la_LIBADD = @ODBC_LIBS@
++librdf_storage_virtuoso_la_LIBADD = @ODBC_LIBS@ librdf.la
+ librdf_storage_virtuoso_la_LDFLAGS = -module -avoid-version
+ endif
+
diff --git a/kde/redland/redland-1.0.9-librdf_storage_register_factory.patch b/kde/redland/redland-1.0.9-librdf_storage_register_factory.patch
deleted file mode 100644
index 60a851e26..000000000
--- a/kde/redland/redland-1.0.9-librdf_storage_register_factory.patch
+++ /dev/null
@@ -1,127 +0,0 @@
-diff -ur redland-1.0.9.orig/src/Makefile.am redland-1.0.9/src/Makefile.am
---- redland-1.0.9.orig/src/Makefile.am 2009-04-13 04:01:30.000000000 +0300
-+++ redland-1.0.9/src/Makefile.am 2009-08-18 17:13:24.000000000 +0300
-@@ -119,7 +119,7 @@
- plugin_LTLIBRARIES += librdf_storage_tstore.la
- librdf_storage_tstore_la_SOURCES = rdf_storage_tstore.c
- librdf_storage_tstore_la_CPPFLAGS = @TSTORE_CPPFLAGS@
--librdf_storage_tstore_la_LIBADD = @TSTORE_LIBS@
-+librdf_storage_tstore_la_LIBADD = @TSTORE_LIBS@ librdf.la
- librdf_storage_tstore_la_LDFLAGS = -module -avoid-version
- endif
-
-@@ -127,7 +127,7 @@
- plugin_LTLIBRARIES += librdf_storage_mysql.la
- librdf_storage_mysql_la_SOURCES = rdf_storage_mysql.c
- librdf_storage_mysql_la_CPPFLAGS = @MYSQL_CPPFLAGS@
--librdf_storage_mysql_la_LIBADD = @MYSQL_LIBS@
-+librdf_storage_mysql_la_LIBADD = @MYSQL_LIBS@ librdf.la
- librdf_storage_mysql_la_LDFLAGS = -module -avoid-version
- endif
-
-@@ -135,7 +135,7 @@
- plugin_LTLIBRARIES += librdf_storage_sqlite.la
- librdf_storage_sqlite_la_SOURCES = rdf_storage_sqlite.c
- librdf_storage_sqlite_la_CPPFLAGS = @SQLITE_CPPFLAGS@
--librdf_storage_sqlite_la_LIBADD = @SQLITE_LIBS@
-+librdf_storage_sqlite_la_LIBADD = @SQLITE_LIBS@ librdf.la
- librdf_storage_sqlite_la_LDFLAGS = -module -avoid-version
- endif
-
-@@ -143,7 +143,7 @@
- plugin_LTLIBRARIES += librdf_storage_postgresql.la
- librdf_storage_postgresql_la_SOURCES = rdf_storage_postgresql.c
- librdf_storage_postgresql_la_CPPFLAGS = @POSTGRESQL_CPPFLAGS@
--librdf_storage_postgresql_la_LIBADD = @POSTGRESQL_LIBS@
-+librdf_storage_postgresql_la_LIBADD = @POSTGRESQL_LIBS@ librdf.la
- librdf_storage_postgresql_la_LDFLAGS = -module -avoid-version
- endif
-
-@@ -202,7 +202,8 @@
- rdf_query_test rdf_serializer_test rdf_stream_test rdf_iterator_test \
- rdf_init_test rdf_cache_test
-
--TESTS_ENVIRONMENT=REDLAND_MODULE_PATH=
-+# Set the place to find storage modules for testing
-+TESTS_ENVIRONMENT=REDLAND_MODULE_PATH=$(abs_builddir)/.libs
-
- CLEANFILES=$(TESTS) $(local_tests) test test*.db test.rdf
-
-diff -ur redland-1.0.9.orig/src/Makefile.in redland-1.0.9/src/Makefile.in
---- redland-1.0.9.orig/src/Makefile.in 2009-04-13 04:04:20.000000000 +0300
-+++ redland-1.0.9/src/Makefile.in 2009-08-18 17:13:24.000000000 +0300
-@@ -141,7 +141,8 @@
- librdf_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(librdf_la_LDFLAGS) $(LDFLAGS) -o $@
--librdf_storage_mysql_la_DEPENDENCIES =
-+@MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@librdf_storage_mysql_la_DEPENDENCIES = \
-+@MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@ librdf.la
- am__librdf_storage_mysql_la_SOURCES_DIST = rdf_storage_mysql.c
- @MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@am_librdf_storage_mysql_la_OBJECTS = librdf_storage_mysql_la-rdf_storage_mysql.lo
- librdf_storage_mysql_la_OBJECTS = \
-@@ -151,7 +152,8 @@
- $(librdf_storage_mysql_la_LDFLAGS) $(LDFLAGS) -o $@
- @MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@am_librdf_storage_mysql_la_rpath = \
- @MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@ -rpath $(plugindir)
--librdf_storage_postgresql_la_DEPENDENCIES =
-+@MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@librdf_storage_postgresql_la_DEPENDENCIES = \
-+@MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@ librdf.la
- am__librdf_storage_postgresql_la_SOURCES_DIST = \
- rdf_storage_postgresql.c
- @MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@am_librdf_storage_postgresql_la_OBJECTS = librdf_storage_postgresql_la-rdf_storage_postgresql.lo
-@@ -164,7 +166,8 @@
- @MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@am_librdf_storage_postgresql_la_rpath = \
- @MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@ -rpath \
- @MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@ $(plugindir)
--librdf_storage_sqlite_la_DEPENDENCIES =
-+@MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@librdf_storage_sqlite_la_DEPENDENCIES = \
-+@MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@ librdf.la
- am__librdf_storage_sqlite_la_SOURCES_DIST = rdf_storage_sqlite.c
- @MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@am_librdf_storage_sqlite_la_OBJECTS = librdf_storage_sqlite_la-rdf_storage_sqlite.lo
- librdf_storage_sqlite_la_OBJECTS = \
-@@ -174,7 +177,8 @@
- $(librdf_storage_sqlite_la_LDFLAGS) $(LDFLAGS) -o $@
- @MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@am_librdf_storage_sqlite_la_rpath = \
- @MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@ -rpath $(plugindir)
--librdf_storage_tstore_la_DEPENDENCIES =
-+@MODULAR_LIBRDF_TRUE@@STORAGE_TSTORE_TRUE@librdf_storage_tstore_la_DEPENDENCIES = \
-+@MODULAR_LIBRDF_TRUE@@STORAGE_TSTORE_TRUE@ librdf.la
- am__librdf_storage_tstore_la_SOURCES_DIST = rdf_storage_tstore.c
- @MODULAR_LIBRDF_TRUE@@STORAGE_TSTORE_TRUE@am_librdf_storage_tstore_la_OBJECTS = librdf_storage_tstore_la-rdf_storage_tstore.lo
- librdf_storage_tstore_la_OBJECTS = \
-@@ -463,19 +467,19 @@
- @MODULAR_LIBRDF_TRUE@ $(am__append_6)
- @MODULAR_LIBRDF_TRUE@@STORAGE_TSTORE_TRUE@librdf_storage_tstore_la_SOURCES = rdf_storage_tstore.c
- @MODULAR_LIBRDF_TRUE@@STORAGE_TSTORE_TRUE@librdf_storage_tstore_la_CPPFLAGS = @TSTORE_CPPFLAGS@
--@MODULAR_LIBRDF_TRUE@@STORAGE_TSTORE_TRUE@librdf_storage_tstore_la_LIBADD = @TSTORE_LIBS@
-+@MODULAR_LIBRDF_TRUE@@STORAGE_TSTORE_TRUE@librdf_storage_tstore_la_LIBADD = @TSTORE_LIBS@ librdf.la
- @MODULAR_LIBRDF_TRUE@@STORAGE_TSTORE_TRUE@librdf_storage_tstore_la_LDFLAGS = -module -avoid-version
- @MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@librdf_storage_mysql_la_SOURCES = rdf_storage_mysql.c
- @MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@librdf_storage_mysql_la_CPPFLAGS = @MYSQL_CPPFLAGS@
--@MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@librdf_storage_mysql_la_LIBADD = @MYSQL_LIBS@
-+@MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@librdf_storage_mysql_la_LIBADD = @MYSQL_LIBS@ librdf.la
- @MODULAR_LIBRDF_TRUE@@STORAGE_MYSQL_TRUE@librdf_storage_mysql_la_LDFLAGS = -module -avoid-version
- @MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@librdf_storage_sqlite_la_SOURCES = rdf_storage_sqlite.c
- @MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@librdf_storage_sqlite_la_CPPFLAGS = @SQLITE_CPPFLAGS@
--@MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@librdf_storage_sqlite_la_LIBADD = @SQLITE_LIBS@
-+@MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@librdf_storage_sqlite_la_LIBADD = @SQLITE_LIBS@ librdf.la
- @MODULAR_LIBRDF_TRUE@@STORAGE_SQLITE_TRUE@librdf_storage_sqlite_la_LDFLAGS = -module -avoid-version
- @MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@librdf_storage_postgresql_la_SOURCES = rdf_storage_postgresql.c
- @MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@librdf_storage_postgresql_la_CPPFLAGS = @POSTGRESQL_CPPFLAGS@
--@MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@librdf_storage_postgresql_la_LIBADD = @POSTGRESQL_LIBS@
-+@MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@librdf_storage_postgresql_la_LIBADD = @POSTGRESQL_LIBS@ librdf.la
- @MODULAR_LIBRDF_TRUE@@STORAGE_POSTGRESQL_TRUE@librdf_storage_postgresql_la_LDFLAGS = -module -avoid-version
- librdf_la_LIBADD = \
- @LTLIBOBJS@ @DIGEST_OBJS@ @HASH_OBJS@ \
-@@ -502,7 +506,9 @@
- rdf_query_test rdf_serializer_test rdf_stream_test rdf_iterator_test \
- rdf_init_test rdf_cache_test
-
--TESTS_ENVIRONMENT = REDLAND_MODULE_PATH=
-+
-+# Set the place to find storage modules for testing
-+TESTS_ENVIRONMENT = REDLAND_MODULE_PATH=$(abs_builddir)/.libs
- CLEANFILES = $(TESTS) $(local_tests) test test*.db test.rdf
- AM_CPPFLAGS = @LIBRDF_INTERNAL_CPPFLAGS@ @LIBRDF_CPPFLAGS@ \
- @LIBRDF_EXTERNAL_CPPFLAGS@ -DPKGDATADIR="\"$(pkgdatadir)\""