[arch-commits] Commit in redland (3 files)
Pierre Schmitz
pierre at archlinux.org
Wed Jan 20 12:57:54 UTC 2010
Date: Wednesday, January 20, 2010 @ 07:57:54
Author: pierre
Revision: 64445
add virtuoso patch to trunk
Added:
redland/trunk/librdf_storage_register_factory.patch
(from rev 64444, redland/kde-unstable/librdf_storage_register_factory.patch)
Modified:
redland/trunk/PKGBUILD
Deleted:
redland/kde-unstable/
---------------------------------------+
PKGBUILD | 18 ++++++++++++------
librdf_storage_register_factory.patch | 21 +++++++++++++++++++++
2 files changed, 33 insertions(+), 6 deletions(-)
Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD 2010-01-20 12:20:03 UTC (rev 64444)
+++ trunk/PKGBUILD 2010-01-20 12:57:54 UTC (rev 64445)
@@ -4,7 +4,7 @@
pkgname=redland
pkgver=1.0.10
-pkgrel=1
+pkgrel=2
pkgdesc="Library that provides a high-level interface to RDF data"
url="http://librdf.org/"
license="GPL"
@@ -12,14 +12,20 @@
depends=('raptor>=1.4.20' 'db>=4.8' 'postgresql-libs>=8.4.2' 'libmysqlclient>=5.1.42' 'sqlite3>=3.6.21'
'curl>=7.19.7' 'libxslt>=1.1.26' 'mpfr>=2.4.1' 'libtool' 'rasqal>=0.9.17' 'unixodbc')
makedepends=('gtk-doc')
-source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz)
-options=(!libtool)
-md5sums=('bdbb9b8dc614fc09a14cd646079619e1')
+source=("http://download.librdf.org/source/$pkgname-$pkgver.tar.gz"
+ 'librdf_storage_register_factory.patch')
+md5sums=('bdbb9b8dc614fc09a14cd646079619e1'
+ '1044ffc635f5c0ad16a00e18491ee588')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # upstream patch to fix virtuoso backend
+ # see http://git.librdf.org/view?p=librdf.git;a=commit;h=bfeaca74108e5a1e0c8143b2dc4c36f23e78f311
+ patch -p1 -i ${srcdir}/librdf_storage_register_factory.patch || return 1
+ sed -i -e '/SHAVE/d' configure.ac
+ autoreconf
./configure --prefix=/usr --enable-release --disable-static \
- --with-raptor=system --with-rasqal=system --with-sqlite=3
+ --with-raptor=system --with-rasqal=system --with-sqlite=3
make || return 1
- make DESTDIR=$startdir/pkg install || return 1
+ make DESTDIR=$pkgdir install || return 1
}
Copied: redland/trunk/librdf_storage_register_factory.patch (from rev 64444, redland/kde-unstable/librdf_storage_register_factory.patch)
===================================================================
--- trunk/librdf_storage_register_factory.patch (rev 0)
+++ trunk/librdf_storage_register_factory.patch 2010-01-20 12:57:54 UTC (rev 64445)
@@ -0,0 +1,21 @@
+From: Dave Beckett <dave at 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
+
More information about the arch-commits
mailing list