Commit b31451af authored by abveritas's avatar abveritas
Browse files

raptor/rasqal/redland update for libre

parent edac7482
# $Id: PKGBUILD 68011 2010-02-10 13:47:09Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=liblrdf
pkgver=0.4.0
pkgrel=6
pkgrel=7
pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/lrdf"
depends=('raptor>=1.4.15-2' 'ladspa')
depends=('raptor1' 'ladspa')
makedepends=('pkgconfig')
license=('GPL')
options=('!libtool')
......
# $Id: PKGBUILD 69667 2010-02-21 18:56:29Z andyrtr $
# Maintainer: Andreas Radke <andyrtr at archlinux.org>
# Contributor: eric <eric@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=raptor
pkgver=1.4.21
pkgver=2.0.3
pkgrel=1
pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples"
arch=('i686' 'x86_64')
url="http://librdf.org/raptor"
depends=('libxml2>=2.7.6' 'curl>=7.19.7' 'zlib>=1.2.3.3-3' 'openssl>=0.9.8l' 'libxslt>=1.1.26')
depends=('libxml2>=2.7.8' 'curl>=7.21.6' 'zlib>=1.2.5' 'libxslt>=1.1.26')
license=('LGPL')
options=('!libtool')
source=(http://librdf.org/dist/source/$pkgname-$pkgver.tar.gz)
md5sums=('992061488af7a9e2d933df6b694bb876')
source=("http://librdf.org/dist/source/raptor2-$pkgver.tar.gz"
'fix-soprano-bug.patch')
md5sums=('46eff4b20f8752d1146a3e0c8b2168dd'
'fd63150d1e9f83bb59af0d86c373c8fa')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd ${srcdir}/raptor2-${pkgver}
# see http://bugs.librdf.org/mantis/view.php?id=451
patch -p1 -i "${srcdir}"/fix-soprano-bug.patch
# fix build with curl >= 7.21.2
sed -i '/#include <curl\/types.h>/d' src/raptor_internal.h
./configure --prefix=/usr --disable-static
make || return 1
make prefix=$startdir/pkg/usr install || return 1
make
}
package() {
cd ${srcdir}/raptor2-${pkgver}
make prefix=${pkgdir}/usr install
}
\ No newline at end of file
diff --git a/src/turtle_lexer.l b/src/turtle_lexer.l
index c2f249b..f133747 100644
--- a/src/turtle_lexer.l
+++ b/src/turtle_lexer.l
@@ -381,9 +381,13 @@ EXPONENT [eE][+-]?[0-9]+
while(1) {
int c = yytext[yyleng - 1];
if(c == '{' || c == ' ' || c=='\t' || c == '\v' || c == '\n' ||
- c == ':' || c == '-') {
+ c == '=' ) {
yyleng--;
- } else
+ }
+ else if ( yyleng >= 2 && ( c == '-' && yytext[yyleng - 2] == ':' ) ) {
+ yyleng -= 2;
+ }
+ else
break;
}
yytext[yyleng] = '\0';
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=raptor1
pkgver=1.4.21
pkgrel=2
pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples"
arch=('i686' 'x86_64')
url="http://librdf.org/raptor"
depends=('libxml2>=2.7.6' 'curl>=7.19.7' 'zlib>=1.2.3.3-3' 'openssl>=0.9.8l' 'libxslt>=1.1.26')
license=('LGPL')
options=('!libtool')
source=(http://librdf.org/dist/source/raptor-$pkgver.tar.gz)
md5sums=('992061488af7a9e2d933df6b694bb876')
build() {
cd ${srcdir}/raptor-${pkgver}
./configure --prefix=/usr --disable-static
make
}
package() {
cd ${srcdir}/raptor-${pkgver}
make prefix=${pkgdir}/usr install
mv ${pkgdir}/usr/bin/rapper ${pkgdir}/usr/bin/rapperV1
rm -f ${pkgdir}/usr/share/man/man1/rapper.1
}
......@@ -8,25 +8,26 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=rasqal
pkgver=0.9.20
pkgver=0.9.26
pkgrel=1
pkgdesc="a free C library that handles Resource Description Framework (RDF) query syntaxes, query construction and query execution returning result bindings"
url="http://librdf.org/rasqal"
license=('GPL' 'LGPL')
arch=('i686' 'x86_64')
depends=('raptor>=1.4.21' 'mpfr')
depends=('raptor>=2.0.3' 'mpfr')
options=('!libtool')
source=(http://download.librdf.org/source/${pkgname}-${pkgver}.tar.gz)
md5sums=('c45b6cd784298e264e8757d14355ecce')
md5sums=('1e9fe5423498f10f636319633855e691')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --disable-static --enable-release \
--with-raptor=system
make || return 1
./configure --prefix=/usr \
--disable-static \
--enable-release
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
make DESTDIR=${pkgdir} install
}
......@@ -8,29 +8,31 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=redland
pkgver=1.0.12
pkgrel=5
pkgver=1.0.13
pkgrel=1
pkgdesc="Library that provides a high-level interface to RDF data"
url="http://librdf.org/"
license=("GPL")
arch=('i686' 'x86_64')
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.20' 'unixodbc')
depends=('raptor>=2.0.3' 'db' 'postgresql-libs' 'libmysqlclient' 'sqlite3'
'libxslt>=1.1.26' 'mpfr>=2.4.1' 'libtool' 'rasqal>=0.9.26' 'unixodbc')
options=('!libtool')
source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz)
md5sums=('40f37a5ad97fdfbf984f78dcea0c6115')
source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz
rpath.diff)
md5sums=('96c15f36f842ad7e1c9d225e4ca97b68'
'acc85e784f01a656bd56777f95880787')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --enable-release --disable-static --disable-gtk-doc\
--with-raptor=system --with-rasqal=system --with-sqlite=3
make || return 1
patch -Np0 -i ${srcdir}/rpath.diff
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make -j1 DESTDIR=$pkgdir install || return 1
#fix rasqal.h
sed -i -e 's~#include <rasqal.h>~#include <rasqal/rasqal.h>~g' $pkgdir/usr/include/librdf.h
sed -i -e 's~#include <rasqal.h>~#include <rasqal/rasqal.h>~g' $pkgdir/usr/include/rdf_init.h
cd ${srcdir}/${pkgbase}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/lib/redland
}
--- libtool 2011-02-20 10:46:47.000000000 +0100
+++ libtool.new 2011-02-20 10:52:58.285764909 +0100
@@ -324,7 +324,7 @@
# Flag to hardcode $libdir into a binary during linking.
# This must work even if $libdir does not exist
-hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
+hardcode_libdir_flag_spec=" "
# If ld is used when linking, flag to hardcode $libdir into a binary
# during linking. This must work even if $libdir does not exist.
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=udisks
pkgver=1.0.3
pkgrel=1
......@@ -5,24 +11,29 @@ pkgdesc="Disk Management Service"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL')
depends=('udev>=168' 'sg3_utils>=1.29' 'glib2>=2.26.1' 'dbus-glib>=0.92' 'polkit>=0.98' 'parted>=2.3' 'device-mapper>=2.02.77' 'libatasmart>=0.17'
'lsof' 'lvm2>=2.02.77' 'eject')
depends=('udev' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' 'device-mapper' 'libatasmart' 'lsof' 'lvm2' 'eject')
makedepends=('intltool' 'docbook-xsl')
options=(!libtool)
replaces=('devicekit-disks')
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
sha256sums=('7dc1a150a6a31b2727144603fa5a8f9852696fc5bdc4a11917b9b0f1b8e3dcf1')
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
01-mkfs-tempdir.patch)
sha256sums=('d95bceb52a70c727291b934c4c05774899a0074927c8138a219b81a784de8a4b'
'786c0adb1a37e16b351c906527e3cbd17193bb51d8c1dd0889f216556c419c6c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/01-mkfs-tempdir.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/udisks --disable-static
#fix location for bash_completion helper
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
#fix ntfs mounts
sed -i -e 's|<allow_active>auth_admin_keep</allow_active>|<allow_active>yes</allow_active>|' ${pkgdir}/usr/share/polkit-1/actions/org.freedesktop.udisks.policy
rm -rf "${pkgdir}/var/run"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment