[arch-commits] Commit in activity-log-manager/repos (12 files)
Jan Steffens
heftig at nymeria.archlinux.org
Wed Apr 10 19:20:14 UTC 2013
Date: Wednesday, April 10, 2013 @ 21:20:13
Author: heftig
Revision: 88051
db-move: moved activity-log-manager from [community-staging] to [community-testing] (i686, x86_64)
Added:
activity-log-manager/repos/community-testing-i686/
activity-log-manager/repos/community-testing-i686/PKGBUILD
(from rev 88050, activity-log-manager/repos/community-staging-i686/PKGBUILD)
activity-log-manager/repos/community-testing-i686/activity-log-manager.install
(from rev 88050, activity-log-manager/repos/community-staging-i686/activity-log-manager.install)
activity-log-manager/repos/community-testing-i686/config.vapi
(from rev 88050, activity-log-manager/repos/community-staging-i686/config.vapi)
activity-log-manager/repos/community-testing-i686/fix-crash.patch
(from rev 88050, activity-log-manager/repos/community-staging-i686/fix-crash.patch)
activity-log-manager/repos/community-testing-x86_64/
activity-log-manager/repos/community-testing-x86_64/PKGBUILD
(from rev 88050, activity-log-manager/repos/community-staging-x86_64/PKGBUILD)
activity-log-manager/repos/community-testing-x86_64/activity-log-manager.install
(from rev 88050, activity-log-manager/repos/community-staging-x86_64/activity-log-manager.install)
activity-log-manager/repos/community-testing-x86_64/config.vapi
(from rev 88050, activity-log-manager/repos/community-staging-x86_64/config.vapi)
activity-log-manager/repos/community-testing-x86_64/fix-crash.patch
(from rev 88050, activity-log-manager/repos/community-staging-x86_64/fix-crash.patch)
Deleted:
activity-log-manager/repos/community-staging-i686/
activity-log-manager/repos/community-staging-x86_64/
-------------------------------------------------------+
community-testing-i686/PKGBUILD | 53 ++++++++++++++++
community-testing-i686/activity-log-manager.install | 11 +++
community-testing-i686/config.vapi | 11 +++
community-testing-i686/fix-crash.patch | 15 ++++
community-testing-x86_64/PKGBUILD | 53 ++++++++++++++++
community-testing-x86_64/activity-log-manager.install | 11 +++
community-testing-x86_64/config.vapi | 11 +++
community-testing-x86_64/fix-crash.patch | 15 ++++
8 files changed, 180 insertions(+)
Copied: activity-log-manager/repos/community-testing-i686/PKGBUILD (from rev 88050, activity-log-manager/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-04-10 19:20:13 UTC (rev 88051)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Ner0
+
+pkgname=activity-log-manager
+pkgver=0.9.4
+pkgrel=4
+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"
+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')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Fix docdir location
+ sed -i 's/almdocdir =.*/almdocdir = ${docdir}/' Makefile.{am,in}
+
+ # Install updated 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
+}
+
+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}
+}
Copied: activity-log-manager/repos/community-testing-i686/activity-log-manager.install (from rev 88050, activity-log-manager/repos/community-staging-i686/activity-log-manager.install)
===================================================================
--- community-testing-i686/activity-log-manager.install (rev 0)
+++ community-testing-i686/activity-log-manager.install 2013-04-10 19:20:13 UTC (rev 88051)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Copied: activity-log-manager/repos/community-testing-i686/config.vapi (from rev 88050, activity-log-manager/repos/community-staging-i686/config.vapi)
===================================================================
--- community-testing-i686/config.vapi (rev 0)
+++ community-testing-i686/config.vapi 2013-04-10 19:20:13 UTC (rev 88051)
@@ -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;
+}
Copied: activity-log-manager/repos/community-testing-i686/fix-crash.patch (from rev 88050, activity-log-manager/repos/community-staging-i686/fix-crash.patch)
===================================================================
--- community-testing-i686/fix-crash.patch (rev 0)
+++ community-testing-i686/fix-crash.patch 2013-04-10 19:20:13 UTC (rev 88051)
@@ -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;
Copied: activity-log-manager/repos/community-testing-x86_64/PKGBUILD (from rev 88050, activity-log-manager/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2013-04-10 19:20:13 UTC (rev 88051)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Ner0
+
+pkgname=activity-log-manager
+pkgver=0.9.4
+pkgrel=4
+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"
+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')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Fix docdir location
+ sed -i 's/almdocdir =.*/almdocdir = ${docdir}/' Makefile.{am,in}
+
+ # Install updated 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
+}
+
+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}
+}
Copied: activity-log-manager/repos/community-testing-x86_64/activity-log-manager.install (from rev 88050, activity-log-manager/repos/community-staging-x86_64/activity-log-manager.install)
===================================================================
--- community-testing-x86_64/activity-log-manager.install (rev 0)
+++ community-testing-x86_64/activity-log-manager.install 2013-04-10 19:20:13 UTC (rev 88051)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Copied: activity-log-manager/repos/community-testing-x86_64/config.vapi (from rev 88050, activity-log-manager/repos/community-staging-x86_64/config.vapi)
===================================================================
--- community-testing-x86_64/config.vapi (rev 0)
+++ community-testing-x86_64/config.vapi 2013-04-10 19:20:13 UTC (rev 88051)
@@ -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;
+}
Copied: activity-log-manager/repos/community-testing-x86_64/fix-crash.patch (from rev 88050, activity-log-manager/repos/community-staging-x86_64/fix-crash.patch)
===================================================================
--- community-testing-x86_64/fix-crash.patch (rev 0)
+++ community-testing-x86_64/fix-crash.patch 2013-04-10 19:20:13 UTC (rev 88051)
@@ -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;
More information about the arch-commits
mailing list