diff options
Diffstat (limited to 'abs/not_built/extra/libgda')
-rw-r--r-- | abs/not_built/extra/libgda/Changelog | 2 | ||||
-rw-r--r-- | abs/not_built/extra/libgda/PKGBUILD | 30 | ||||
-rw-r--r-- | abs/not_built/extra/libgda/bdb43.patch | 18 | ||||
-rw-r--r-- | abs/not_built/extra/libgda/libgda.install | 16 |
4 files changed, 66 insertions, 0 deletions
diff --git a/abs/not_built/extra/libgda/Changelog b/abs/not_built/extra/libgda/Changelog new file mode 100644 index 0000000..88ba942 --- /dev/null +++ b/abs/not_built/extra/libgda/Changelog @@ -0,0 +1,2 @@ +4.0.2 5/2/09 +Added path for jni headers in configure. diff --git a/abs/not_built/extra/libgda/PKGBUILD b/abs/not_built/extra/libgda/PKGBUILD new file mode 100644 index 0000000..72c9404 --- /dev/null +++ b/abs/not_built/extra/libgda/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 99473 2010-11-14 19:52:55Z ibiru $ +# Maintainer: tobias <tobias@archlinux.org> +# Contributor: Tobias Kieslich <tobias@justdreams.de> + +pkgname=libgda +pkgver=4.2.1 +pkgrel=2 +pkgdesc="data abstraction layer; with mysql, pgsql, xml, sqlite providers" +arch=('i686' 'x86_64') +license=('GPL') +depends=('glib2>=2.26.0' 'libxslt' 'db>=5.1.19' 'ncurses>=5.7' 'libsoup>=2.32.0' 'libmysqlclient>=5.1.59' 'postgresql-libs>=9.0.1') +makedepends=('intltool') +options=('!libtool') +url="http://www.gnome-db.org" +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/4.2/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('d485d24fb19bd95faad196c8ed22b2cb8f9e9275d907f880a3f8f079f6bf40f7') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i -e 's/python/python2/' libgda-report/RML/trml*/trml*.py + ./configure --prefix=/usr --sysconfdir=/etc \ + --with-bdb=/usr --with-bdb-libdir-name=lib \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/abs/not_built/extra/libgda/bdb43.patch b/abs/not_built/extra/libgda/bdb43.patch new file mode 100644 index 0000000..3fe6e93 --- /dev/null +++ b/abs/not_built/extra/libgda/bdb43.patch @@ -0,0 +1,18 @@ +diff -r -u libgda-1.2.0.old/providers/bdb/gda-bdb-recordset.c libgda-1.2.0/providers/bdb/gda-bdb-recordset.c +--- libgda-1.2.0.old/providers/bdb/gda-bdb-recordset.c 2003-12-17 11:27:02.000000000 +0000 ++++ libgda-1.2.0/providers/bdb/gda-bdb-recordset.c 2005-02-19 15:43:12.000000000 +0000 +@@ -227,10 +227,14 @@ + + /* get the number of records in the database */ + ret = dbp->stat (dbp, ++#if BDB_VERSION > 40300 ++ NULL, ++#endif + &statp, + #if BDB_VERSION < 40000 + NULL, + #endif ++ + 0); + if (ret != 0) { + gda_connection_add_error (cnc, gda_bdb_make_error (ret)); diff --git a/abs/not_built/extra/libgda/libgda.install b/abs/not_built/extra/libgda/libgda.install new file mode 100644 index 0000000..6420004 --- /dev/null +++ b/abs/not_built/extra/libgda/libgda.install @@ -0,0 +1,16 @@ +post_install() { + scrollkeeper-update -q -p var/lib/scrollkeeper +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +op=$1 +shift + +$op $* |