diff options
author | root <root@rshg054.dnsready.net> | 2012-11-02 01:15:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-02 01:15:19 -0700 |
commit | 35bd2bb6857eb818ca53b8fe34d88106133342f4 (patch) | |
tree | 61a0a9d6d37f293a174fac6197e7fbd3e12aed1a /community/activity-log-manager | |
parent | 83a318800db22408628e60c9e1730578efcfee37 (diff) |
Fri Nov 2 01:12:32 PDT 2012
Diffstat (limited to 'community/activity-log-manager')
-rw-r--r-- | community/activity-log-manager/PKGBUILD | 21 | ||||
-rw-r--r-- | community/activity-log-manager/config.vapi | 11 | ||||
-rw-r--r-- | community/activity-log-manager/fix-crash.patch | 15 |
3 files changed, 42 insertions, 5 deletions
diff --git a/community/activity-log-manager/PKGBUILD b/community/activity-log-manager/PKGBUILD index fe049f0fe..1d860b203 100644 --- a/community/activity-log-manager/PKGBUILD +++ b/community/activity-log-manager/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79127 2012-10-30 23:07:25Z heftig $ +# $Id: PKGBUILD 79218 2012-11-01 09:45:30Z bgyorgy $ # Maintainer: Balló György <ballogyor+arch at gmail dot com> # Contributor: Ner0 pkgname=activity-log-manager pkgver=0.9.4 -pkgrel=2 +pkgrel=3 pkgdesc="A graphical user interface which lets you easily control what gets logged by Zeitgeist" arch=('i686' 'x86_64') url="https://launchpad.net/activity-log-manager" @@ -13,12 +13,16 @@ depends=('gtk3' 'libgee' 'libzeitgeist' 'zeitgeist' 'hicolor-icon-theme' 'xdg-ut makedepends=('vala' 'intltool') install=$pkgname.install source=(https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz - http://pkgbuild.com/~bgyorgy/sources/$pkgname-translations-20121021.tar.gz) + http://pkgbuild.com/~bgyorgy/sources/$pkgname-translations-20121021.tar.gz + fix-crash.patch + config.vapi) md5sums=('cf85aecdaa6c0188a53d659709e1f8cd' - '6167df74ce44659aa94a89f31ff4d351') + '6167df74ce44659aa94a89f31ff4d351' + '1052dec3691826f01fa3d4fd84284ccc' + 'fecc5ac50dfcd79c4c8d54599760d225') build() { - cd $pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" # Fix docdir location sed -i 's/almdocdir =.*/almdocdir = ${docdir}/' Makefile.{am,in} @@ -28,6 +32,13 @@ build() { rename $pkgname- '' ../po/$pkgname-*.po mv -f -t po ../po/* + # Fix crash with GTK+ 3.6 + # https://bugs.launchpad.net/activity-log-manager/+bug/1058037 + patch -Np1 -i "$srcdir/fix-crash.patch" + + # We need this file for build + mv "$srcdir/config.vapi" "$srcdir/$pkgname-$pkgver/src" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var make } diff --git a/community/activity-log-manager/config.vapi b/community/activity-log-manager/config.vapi new file mode 100644 index 000000000..ee9823051 --- /dev/null +++ b/community/activity-log-manager/config.vapi @@ -0,0 +1,11 @@ +[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")] +namespace Config { + public const string GETTEXT_PACKAGE; + public const string SPRITE_DIR; + public const string BACKGROUND_DIR; + public const string PACKAGE_DATA_DIR; + public const string PACKAGE_LOCALE_DIR; + public const string PACKAGE_NAME; + public const string PACKAGE_VERSION; + public const string VERSION; +} diff --git a/community/activity-log-manager/fix-crash.patch b/community/activity-log-manager/fix-crash.patch new file mode 100644 index 000000000..92bb5683c --- /dev/null +++ b/community/activity-log-manager/fix-crash.patch @@ -0,0 +1,15 @@ +diff -Naur activity-log-manager-0.9.4.orig/src/alm.vala activity-log-manager-0.9.4/src/alm.vala +--- activity-log-manager-0.9.4.orig/src/alm.vala 2012-02-22 20:24:08.000000000 +0100 ++++ activity-log-manager-0.9.4/src/alm.vala 2012-11-01 09:33:15.466534392 +0100 +@@ -41,10 +41,7 @@ + static int main (string[] args) + { + Gtk.init (ref args); +- var alm = new Gtk.Application ("org.zeitgeist.Alm", +- ApplicationFlags.FLAGS_NONE); +- var window = new Main (); +- alm.add_window (window); ++ new Main (); + + Gtk.main (); + return 0; |