From 05fa7f6e2b38b399ca7de365c8515342bab4866d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves=20Fern=C3=A1ndez?= Date: Sat, 20 Aug 2016 16:53:26 +0200 Subject: [PATCH] json-glib 1.2.2, libkkc 0.3.5 zeitgeist, which depends on json-glib, has been moved to [desktop] before rebuilding it against the latest json-glib version. --- fcitx-kkc/PKGBUILD | 2 +- json-glib/PKGBUILD | 4 ++-- libkkc/PKGBUILD | 8 ++++---- zeitgeist/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+), 7 deletions(-) create mode 100644 zeitgeist/PKGBUILD diff --git a/fcitx-kkc/PKGBUILD b/fcitx-kkc/PKGBUILD index 6fa0cad12..55ea352d5 100644 --- a/fcitx-kkc/PKGBUILD +++ b/fcitx-kkc/PKGBUILD @@ -1,6 +1,6 @@ pkgname=fcitx-kkc pkgver=0.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="Fcitx Wrapper for libkkc." arch=('x86_64') url="http://code.google.com/p/fcitx" diff --git a/json-glib/PKGBUILD b/json-glib/PKGBUILD index 8a795f8f8..9a3306695 100644 --- a/json-glib/PKGBUILD +++ b/json-glib/PKGBUILD @@ -1,5 +1,5 @@ pkgname=json-glib -pkgver=1.2.0 +pkgver=1.2.2 pkgrel=1 pkgdesc="JSON library built on GLib" arch=('x86_64') @@ -8,7 +8,7 @@ license=('GPL') depends=('glib2') makedepends=('gobject-introspection' 'python2') source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('99d6dfbe49c08fd7529f1fe8dcb1893b810a1bb222f1e7b65f41507658b8a7d3') +sha256sums=('ea128ab52a824fcd06e5448fbb2bd8d9a13740d51c66d445828edba71321a621') build(){ diff --git a/libkkc/PKGBUILD b/libkkc/PKGBUILD index 0a8953070..3e7f7057e 100644 --- a/libkkc/PKGBUILD +++ b/libkkc/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Francesco Marinucci pkgname=libkkc -pkgver=0.3.4 -pkgrel=2 +pkgver=0.3.5 +pkgrel=1 pkgdesc="Japanese Kana-string to Kana-Kanji-mixed-string converter" arch=('x86_64') license=('GPL') @@ -12,8 +12,8 @@ makedepends=('gobject-introspection' 'intltool' 'vala') conflicts=() provides=() options=('!libtool') -source=("https://bitbucket.org/${pkgname}/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz") -md5sums=('79eee6d192739da710f493f9762e5f20') +source=("https://github.com/ueno/libkkc/releases/download/v$pkgver/libkkc-$pkgver.tar.gz") +md5sums=('548efbb778e16021c56c5c63bb6df391') build() { cd ${pkgname}-${pkgver} diff --git a/zeitgeist/PKGBUILD b/zeitgeist/PKGBUILD new file mode 100644 index 000000000..4469c4cab --- /dev/null +++ b/zeitgeist/PKGBUILD @@ -0,0 +1,45 @@ +# +# Platform Packages for Chakra, part of chakraos.org +# +# maintainer almack + +pkgname=zeitgeist +pkgver=0.9.15 +pkgrel=2 +pkgdesc="A service which logs the users's activities and events and makes relevant information available to other applications" +arch=('x86_64') +url="http://zeitgeist-project.com/" +license=('GPL') +depends=(json-glib telepathy-glib) +makedepends=(intltool gobject-introspection vala raptor python2-rdflib gnome-common git) +source=("$pkgname::git://anongit.freedesktop.org/$pkgname/$pkgname#commit=d2c966f") +md5sums=('SKIP') + +prepare() { + cd $pkgname + + sed -i 's/python -/$PYTHON -/' configure.ac + sed -i '1s/python$/python2/' data/ontology2code + + mkdir m4 + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + export PYTHON=/usr/bin/python2 + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libexecdir=/usr/lib/$pkgname --disable-datahub + make +} + +check() { + cd $pkgname + # Log test fails in chroot, as we have no X and no proper dbus + make -k check || : +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +}