summaryrefslogtreecommitdiff
path: root/community/activity-log-manager
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-13 00:06:37 -0700
committerroot <root@rshg054.dnsready.net>2013-06-13 00:06:37 -0700
commit999ea819e4912b07aecd1ee8187ff1abcdb3de36 (patch)
tree309344ea67ffd1cdd352b31536c71cec2ce08302 /community/activity-log-manager
parentdf4e45a41dbb2c5b9600f2c2f824f8e3efbc5bf0 (diff)
Thu Jun 13 00:06:37 PDT 2013
Diffstat (limited to 'community/activity-log-manager')
-rw-r--r--community/activity-log-manager/PKGBUILD33
-rw-r--r--community/activity-log-manager/config.vapi11
-rw-r--r--community/activity-log-manager/fix-crash.patch15
3 files changed, 8 insertions, 51 deletions
diff --git a/community/activity-log-manager/PKGBUILD b/community/activity-log-manager/PKGBUILD
index 6b7fbaddb..e4a898185 100644
--- a/community/activity-log-manager/PKGBUILD
+++ b/community/activity-log-manager/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 88673 2013-04-21 22:16:39Z heftig $
+# $Id: PKGBUILD 92682 2013-06-12 04:38:43Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Ner0
pkgname=activity-log-manager
-pkgver=0.9.4
-pkgrel=4
+pkgver=0.9.5
+pkgrel=1
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"
@@ -12,33 +12,19 @@ license=('GPL2')
depends=('gtk3' 'libgee06' 'libzeitgeist' 'zeitgeist' 'hicolor-icon-theme' 'xdg-utils')
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
- fix-crash.patch
- config.vapi)
-md5sums=('cf85aecdaa6c0188a53d659709e1f8cd'
- '6167df74ce44659aa94a89f31ff4d351'
- '1052dec3691826f01fa3d4fd84284ccc'
- 'fecc5ac50dfcd79c4c8d54599760d225')
+source=(https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz
+ http://pkgbuild.com/~bgyorgy/sources/$pkgname-translations-20121021.tar.gz)
+md5sums=('460b4439798badbf4ba4b76b31cc1d03'
+ '6167df74ce44659aa94a89f31ff4d351')
build() {
cd "$srcdir/$pkgname-$pkgver"
- # Fix docdir location
- sed -i 's/almdocdir =.*/almdocdir = ${docdir}/' Makefile.{am,in}
-
- # Install updated language files
+ # Install language files
rename $pkgname- '' ../po/$pkgname-*.po
mv -f -t po ../po/*
printf "%s\n" po/*.po | sed -e 's/po\///g' -e 's/\.po//g' >po/LINGUAS
- # 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
}
@@ -47,7 +33,4 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
-
- # We don't have Whoopsie on Arch Linux
- rm -r "$pkgdir/etc" "$pkgdir"/usr/share/{applications/activity-log-manager-ccpanel.desktop,dbus-1,gnome-control-center,polkit-1}
}
diff --git a/community/activity-log-manager/config.vapi b/community/activity-log-manager/config.vapi
deleted file mode 100644
index ee9823051..000000000
--- a/community/activity-log-manager/config.vapi
+++ /dev/null
@@ -1,11 +0,0 @@
-[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
deleted file mode 100644
index 92bb5683c..000000000
--- a/community/activity-log-manager/fix-crash.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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;