[arch-commits] Commit in activity-log-manager/repos/community-x86_64 (7 files)

Balló György bgyorgy at archlinux.org
Mon Jan 15 20:46:28 UTC 2018


    Date: Monday, January 15, 2018 @ 20:46:27
  Author: bgyorgy
Revision: 282848

archrelease: copy trunk to community-x86_64

Added:
  activity-log-manager/repos/community-x86_64/PKGBUILD
    (from rev 282847, activity-log-manager/trunk/PKGBUILD)
  activity-log-manager/repos/community-x86_64/fix-build-2.patch
    (from rev 282847, activity-log-manager/trunk/fix-build-2.patch)
  activity-log-manager/repos/community-x86_64/fix-build.patch
    (from rev 282847, activity-log-manager/trunk/fix-build.patch)
  activity-log-manager/repos/community-x86_64/gee-0.8.patch
    (from rev 282847, activity-log-manager/trunk/gee-0.8.patch)
Deleted:
  activity-log-manager/repos/community-x86_64/PKGBUILD
  activity-log-manager/repos/community-x86_64/fix-build.patch
  activity-log-manager/repos/community-x86_64/gee-0.8.patch

-------------------+
 PKGBUILD          |  111 ++++++++++----------
 fix-build-2.patch |   60 +++++++++++
 fix-build.patch   |  276 ++++++++++++++++++++++++++--------------------------
 gee-0.8.patch     |   90 ++++++++--------
 4 files changed, 300 insertions(+), 237 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-15 20:46:20 UTC (rev 282847)
+++ PKGBUILD	2018-01-15 20:46:27 UTC (rev 282848)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Ner0
-
-pkgname=activity-log-manager
-pkgver=0.9.7
-pkgrel=5
-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' 'libgee' 'zeitgeist')
-makedepends=('vala' 'intltool')
-source=(https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz{,.asc}
-        https://pkgbuild.com/~bgyorgy/sources/$pkgname-translations-20140812.tar.gz
-        fix-build.patch
-        gee-0.8.patch)
-validpgpkeys=('EEE420E481E68B71594F192D361CC5EBA0BA909F') # Manish Sinha
-md5sums=('d886be32db0fa351aaf0eb59912ee377'
-         'SKIP'
-         'a7ddf1d853f4942ebf701256d9e5a38f'
-         '69de6af0fa2adc118f731f8230e6671d'
-         '7418197a6909d92ed8e9dab2c0096dbf')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # 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
-
-  # Regenerate C files
-  rm src/activity_log_manager_vala.stamp
-
-  # Fix build
-  patch -Np1 -i ../fix-build.patch
-
-  # Port to gee-0.8
-  patch -Np1 -i ../gee-0.8.patch
-
-  autoreconf -fi
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: activity-log-manager/repos/community-x86_64/PKGBUILD (from rev 282847, activity-log-manager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-15 20:46:27 UTC (rev 282848)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Ner0
+
+pkgname=activity-log-manager
+pkgver=0.9.7
+pkgrel=6
+pkgdesc="A graphical user interface which lets you easily control what gets logged by Zeitgeist"
+arch=('x86_64')
+url="https://launchpad.net/activity-log-manager"
+license=('GPL2')
+depends=('gtk3' 'libgee' 'zeitgeist')
+makedepends=('vala' 'intltool')
+source=(https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz{,.asc}
+        https://pkgbuild.com/~bgyorgy/sources/$pkgname-translations-20140812.tar.gz
+        fix-build.patch
+        fix-build-2.patch
+        gee-0.8.patch)
+validpgpkeys=('EEE420E481E68B71594F192D361CC5EBA0BA909F') # Manish Sinha
+sha256sums=('53014a08056168171579c210a8e5cfd949a0efe3bd23f6d38cd0ce0b0168841f'
+            'SKIP'
+            '7c930632264720cd2975397ccdee07a09acaba77911dfb870009d47cc4dbd9b7'
+            'bc77831fe729e452753260c9ac120d68fed3535d01c370ff3bfcb5c1a6b57c59'
+            '93b595524dc6811e1ba1c05eebb0ad2373a3bc1bade63098966809c3f1530e5b'
+            '01c4672036e69bc2089398897ae91407d5d25661d450b2d3b62b0ff1670b4122')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # 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
+
+  # Regenerate C files
+  rm src/activity_log_manager_vala.stamp
+
+  # Fix build
+  patch -Np1 -i ../fix-build.patch
+  patch -Np1 -i ../fix-build-2.patch
+
+  # Port to gee-0.8
+  patch -Np1 -i ../gee-0.8.patch
+
+  autoreconf -fi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: activity-log-manager/repos/community-x86_64/fix-build-2.patch (from rev 282847, activity-log-manager/trunk/fix-build-2.patch)
===================================================================
--- fix-build-2.patch	                        (rev 0)
+++ fix-build-2.patch	2018-01-15 20:46:27 UTC (rev 282848)
@@ -0,0 +1,60 @@
+diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala activity-log-manager-0.9.7/src/unified-privacy-applications.vala
+--- activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala	2018-01-15 21:41:36.620167000 +0100
++++ activity-log-manager-0.9.7/src/unified-privacy-applications.vala	2018-01-15 21:44:26.360957457 +0100
+@@ -263,7 +263,7 @@
+ 				string can_app = can_app_value.get_string();
+ 				if(app == can_app)
+ 				{
+-					this.store.remove(iter);
++					this.store.remove(ref iter);
+ 					break;
+ 				}
+ 				bool more_entires = model.iter_next(ref iter);
+@@ -282,7 +282,7 @@
+ 			if(selection.get_selected(out model, out iter))
+ 			{
+ 				model.get(iter, 2, out app);
+-				this.liststore.remove(iter);
++				this.liststore.remove(ref iter);
+ 			}
+ 
+ 			return app;
+diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy.vala activity-log-manager-0.9.7/src/unified-privacy.vala
+--- activity-log-manager-0.9.7.orig/src/unified-privacy.vala	2018-01-15 21:41:32.020056000 +0100
++++ activity-log-manager-0.9.7/src/unified-privacy.vala	2018-01-15 21:41:59.804064208 +0100
+@@ -376,7 +376,7 @@
+ 					model.get(iter, 0, out name, 3, out type);
+ 					if(name != null)
+ 					{
+-						exception_list_store.remove(iter);
++						exception_list_store.remove(ref iter);
+ 						if (type == ItemType.FILE)
+ 							this.path_blacklist.unblock(name);
+ 						else
+@@ -437,7 +437,7 @@
+ 				sel.get_selected(out model, out iter);
+ 				string app;
+ 				model.get(iter, 2, out app);
+-				this.app_dialog.liststore.remove (iter);
++				this.app_dialog.liststore.remove (ref iter);
+ 
+ 				// Add the App to View
+ 				app_change_recursive = true;
+@@ -505,7 +505,7 @@
+ 				string cand_folder = can_app_value.get_string();
+ 				if(folder == cand_folder)
+ 				{
+-					this.exception_list_store.remove(iter);
++					this.exception_list_store.remove(ref iter);
+ 					return true;
+ 				}
+ 				bool more_entires = model.iter_next(ref iter);
+@@ -550,7 +550,7 @@
+ 				string can_app = can_app_value.get_string();
+ 				if(app == can_app)
+ 				{
+-					this.exception_list_store.remove(iter);
++					this.exception_list_store.remove(ref iter);
+ 					break;
+ 				}
+ 				bool more_entires = model.iter_next(ref iter);

Deleted: fix-build.patch
===================================================================
--- fix-build.patch	2018-01-15 20:46:20 UTC (rev 282847)
+++ fix-build.patch	2018-01-15 20:46:27 UTC (rev 282848)
@@ -1,138 +0,0 @@
-diff -Naur activity-log-manager-0.9.7.orig/src/blacklist-dbus.vala activity-log-manager-0.9.7/src/blacklist-dbus.vala
---- activity-log-manager-0.9.7.orig/src/blacklist-dbus.vala	2015-07-17 02:38:04.290396888 +0000
-+++ activity-log-manager-0.9.7/src/blacklist-dbus.vala	2015-07-17 02:38:33.883637191 +0000
-@@ -137,7 +137,7 @@
- 			return false;
- 		}
- 
--		public async void find_events (string id, TreeIter iter, ListStore store)
-+		public async void find_events (string id, TreeIter iter, Gtk.ListStore store)
- 		{
- 	     	Event event = new Event();
- 	    	event.manifestation = Zeitgeist.ZG.USER_ACTIVITY;
-@@ -165,7 +165,7 @@
- 			store.set_value(iter, 5, counter);
- 		}
- 
--		public void get_count_for_app (string app_id, TreeIter iter, ListStore store) {
-+		public void get_count_for_app (string app_id, TreeIter iter, Gtk.ListStore store) {
- 			find_events(app_id, iter, store);
- 		}
- 		
-diff -Naur activity-log-manager-0.9.7.orig/src/security-widget.vala activity-log-manager-0.9.7/src/security-widget.vala
---- activity-log-manager-0.9.7.orig/src/security-widget.vala	2015-07-17 02:38:04.290396888 +0000
-+++ activity-log-manager-0.9.7/src/security-widget.vala	2015-07-17 02:38:33.950303649 +0000
-@@ -39,7 +39,7 @@
- 
- 		private void set_up_ui () {
- 
--			var liststore_delay = new ListStore (2, typeof (string), typeof (int));
-+			var liststore_delay = new Gtk.ListStore (2, typeof (string), typeof (int));
- 			TreeIter iter;
- 			liststore_delay.append (out iter);
- 			liststore_delay.set (iter, 0, "1 second", 1, 0);
-diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala activity-log-manager-0.9.7/src/unified-privacy-applications.vala
---- activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala	2015-07-17 02:38:04.290396888 +0000
-+++ activity-log-manager-0.9.7/src/unified-privacy-applications.vala	2015-07-17 02:38:33.936970357 +0000
-@@ -60,7 +60,7 @@
- 			}
- 		}
- 
--		public void get_count_for_app(string id, TreeIter iter, ListStore store) {
-+		public void get_count_for_app(string id, TreeIter iter, Gtk.ListStore store) {
- 			this.blacklist_interface.get_count_for_app(id, iter, store);
- 		}
- 
-@@ -131,7 +131,7 @@
- 	private class ApplicationsTreeView : Gtk.Box {
- 	
- 		private ApplicationBlacklist app_blacklist;
--		private ListStore store;
-+		private Gtk.ListStore store;
- 		private TreeView treeview;
- 		
- 		HashTable<string, AppChooseInfo> blocked_apps;
-@@ -145,7 +145,7 @@
- 			N_COLS
- 		}
- 
--		public ListStore liststore {
-+		public Gtk.ListStore liststore {
- 			get {
- 				return this.store;
- 			}
-@@ -160,7 +160,7 @@
- 			this.blocked_apps = blocked;
- 			this.unblocked_apps = unblocked;
- 
--			this.store = new ListStore (TreeViewCols.N_COLS,
-+			this.store = new Gtk.ListStore (TreeViewCols.N_COLS,
- 										typeof (string),
- 										typeof (Gdk.Pixbuf),
- 										typeof (string));
-@@ -292,7 +292,7 @@
- 	private class AppSelectionTreeView : Gtk.Box {
- 
- 		private ApplicationBlacklist app_blacklist;
--		private ListStore store;
-+		private Gtk.ListStore store;
- 		private TreeView treeview;
- 		
- 		enum TreeViewCols
-@@ -312,7 +312,7 @@
- 			}
- 		}
- 
--		public ListStore liststore {
-+		public Gtk.ListStore liststore {
- 			get {
- 				return store;
- 			}
-@@ -323,7 +323,7 @@
- 			
- 			this.app_blacklist = app_blacklist;
- 			
--			this.store = new ListStore (TreeViewCols.N_COLS,
-+			this.store = new Gtk.ListStore (TreeViewCols.N_COLS,
- 										typeof (string),
- 										typeof (Gdk.Pixbuf),
- 										typeof (string),
-@@ -426,7 +426,7 @@
- 			}
- 		}
- 
--		public ListStore liststore {
-+		public Gtk.ListStore liststore {
- 			get {
- 				return treeview.liststore;
- 			}
-diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy.vala activity-log-manager-0.9.7/src/unified-privacy.vala
---- activity-log-manager-0.9.7.orig/src/unified-privacy.vala	2015-07-17 02:38:04.290396888 +0000
-+++ activity-log-manager-0.9.7/src/unified-privacy.vala	2015-07-17 02:38:33.886970514 +0000
-@@ -55,7 +55,7 @@
- 		
- 		//General stuffs
- 		private TreeView exception_list;
--		private ListStore exception_list_store;
-+		private Gtk.ListStore exception_list_store;
- 		
- 		private Switch record_button;
- 		
-@@ -262,7 +262,7 @@
- 			exception_vbox.pack_start (al2, false, false, 5);
- 
- 			// Exception TreeView
--			this.exception_list_store = new ListStore (4, 
-+			this.exception_list_store = new Gtk.ListStore (4, 
- 				typeof(string),      // Full file path of application desktop file.
- 				typeof(Gdk.Pixbuf?), // Pixbuf
- 				typeof(string),      // File basename or ApplicationName
-@@ -291,7 +291,7 @@
- 			// Add/Remove buttons
- 			var exception_toolbar = new Toolbar();
- 			exception_toolbar.toolbar_style = ToolbarStyle.ICONS;
--			exception_toolbar.icon_size = 1;
-+			exception_toolbar.icon_size = Gtk.IconSize.MENU;
- 			exception_toolbar.icon_size_set = true;
- 			exception_toolbar.visible = true;
- 			

Copied: activity-log-manager/repos/community-x86_64/fix-build.patch (from rev 282847, activity-log-manager/trunk/fix-build.patch)
===================================================================
--- fix-build.patch	                        (rev 0)
+++ fix-build.patch	2018-01-15 20:46:27 UTC (rev 282848)
@@ -0,0 +1,138 @@
+diff -Naur activity-log-manager-0.9.7.orig/src/blacklist-dbus.vala activity-log-manager-0.9.7/src/blacklist-dbus.vala
+--- activity-log-manager-0.9.7.orig/src/blacklist-dbus.vala	2015-07-17 02:38:04.290396888 +0000
++++ activity-log-manager-0.9.7/src/blacklist-dbus.vala	2015-07-17 02:38:33.883637191 +0000
+@@ -137,7 +137,7 @@
+ 			return false;
+ 		}
+ 
+-		public async void find_events (string id, TreeIter iter, ListStore store)
++		public async void find_events (string id, TreeIter iter, Gtk.ListStore store)
+ 		{
+ 	     	Event event = new Event();
+ 	    	event.manifestation = Zeitgeist.ZG.USER_ACTIVITY;
+@@ -165,7 +165,7 @@
+ 			store.set_value(iter, 5, counter);
+ 		}
+ 
+-		public void get_count_for_app (string app_id, TreeIter iter, ListStore store) {
++		public void get_count_for_app (string app_id, TreeIter iter, Gtk.ListStore store) {
+ 			find_events(app_id, iter, store);
+ 		}
+ 		
+diff -Naur activity-log-manager-0.9.7.orig/src/security-widget.vala activity-log-manager-0.9.7/src/security-widget.vala
+--- activity-log-manager-0.9.7.orig/src/security-widget.vala	2015-07-17 02:38:04.290396888 +0000
++++ activity-log-manager-0.9.7/src/security-widget.vala	2015-07-17 02:38:33.950303649 +0000
+@@ -39,7 +39,7 @@
+ 
+ 		private void set_up_ui () {
+ 
+-			var liststore_delay = new ListStore (2, typeof (string), typeof (int));
++			var liststore_delay = new Gtk.ListStore (2, typeof (string), typeof (int));
+ 			TreeIter iter;
+ 			liststore_delay.append (out iter);
+ 			liststore_delay.set (iter, 0, "1 second", 1, 0);
+diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala activity-log-manager-0.9.7/src/unified-privacy-applications.vala
+--- activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala	2015-07-17 02:38:04.290396888 +0000
++++ activity-log-manager-0.9.7/src/unified-privacy-applications.vala	2015-07-17 02:38:33.936970357 +0000
+@@ -60,7 +60,7 @@
+ 			}
+ 		}
+ 
+-		public void get_count_for_app(string id, TreeIter iter, ListStore store) {
++		public void get_count_for_app(string id, TreeIter iter, Gtk.ListStore store) {
+ 			this.blacklist_interface.get_count_for_app(id, iter, store);
+ 		}
+ 
+@@ -131,7 +131,7 @@
+ 	private class ApplicationsTreeView : Gtk.Box {
+ 	
+ 		private ApplicationBlacklist app_blacklist;
+-		private ListStore store;
++		private Gtk.ListStore store;
+ 		private TreeView treeview;
+ 		
+ 		HashTable<string, AppChooseInfo> blocked_apps;
+@@ -145,7 +145,7 @@
+ 			N_COLS
+ 		}
+ 
+-		public ListStore liststore {
++		public Gtk.ListStore liststore {
+ 			get {
+ 				return this.store;
+ 			}
+@@ -160,7 +160,7 @@
+ 			this.blocked_apps = blocked;
+ 			this.unblocked_apps = unblocked;
+ 
+-			this.store = new ListStore (TreeViewCols.N_COLS,
++			this.store = new Gtk.ListStore (TreeViewCols.N_COLS,
+ 										typeof (string),
+ 										typeof (Gdk.Pixbuf),
+ 										typeof (string));
+@@ -292,7 +292,7 @@
+ 	private class AppSelectionTreeView : Gtk.Box {
+ 
+ 		private ApplicationBlacklist app_blacklist;
+-		private ListStore store;
++		private Gtk.ListStore store;
+ 		private TreeView treeview;
+ 		
+ 		enum TreeViewCols
+@@ -312,7 +312,7 @@
+ 			}
+ 		}
+ 
+-		public ListStore liststore {
++		public Gtk.ListStore liststore {
+ 			get {
+ 				return store;
+ 			}
+@@ -323,7 +323,7 @@
+ 			
+ 			this.app_blacklist = app_blacklist;
+ 			
+-			this.store = new ListStore (TreeViewCols.N_COLS,
++			this.store = new Gtk.ListStore (TreeViewCols.N_COLS,
+ 										typeof (string),
+ 										typeof (Gdk.Pixbuf),
+ 										typeof (string),
+@@ -426,7 +426,7 @@
+ 			}
+ 		}
+ 
+-		public ListStore liststore {
++		public Gtk.ListStore liststore {
+ 			get {
+ 				return treeview.liststore;
+ 			}
+diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy.vala activity-log-manager-0.9.7/src/unified-privacy.vala
+--- activity-log-manager-0.9.7.orig/src/unified-privacy.vala	2015-07-17 02:38:04.290396888 +0000
++++ activity-log-manager-0.9.7/src/unified-privacy.vala	2015-07-17 02:38:33.886970514 +0000
+@@ -55,7 +55,7 @@
+ 		
+ 		//General stuffs
+ 		private TreeView exception_list;
+-		private ListStore exception_list_store;
++		private Gtk.ListStore exception_list_store;
+ 		
+ 		private Switch record_button;
+ 		
+@@ -262,7 +262,7 @@
+ 			exception_vbox.pack_start (al2, false, false, 5);
+ 
+ 			// Exception TreeView
+-			this.exception_list_store = new ListStore (4, 
++			this.exception_list_store = new Gtk.ListStore (4, 
+ 				typeof(string),      // Full file path of application desktop file.
+ 				typeof(Gdk.Pixbuf?), // Pixbuf
+ 				typeof(string),      // File basename or ApplicationName
+@@ -291,7 +291,7 @@
+ 			// Add/Remove buttons
+ 			var exception_toolbar = new Toolbar();
+ 			exception_toolbar.toolbar_style = ToolbarStyle.ICONS;
+-			exception_toolbar.icon_size = 1;
++			exception_toolbar.icon_size = Gtk.IconSize.MENU;
+ 			exception_toolbar.icon_size_set = true;
+ 			exception_toolbar.visible = true;
+ 			

Deleted: gee-0.8.patch
===================================================================
--- gee-0.8.patch	2018-01-15 20:46:20 UTC (rev 282847)
+++ gee-0.8.patch	2018-01-15 20:46:27 UTC (rev 282848)
@@ -1,45 +0,0 @@
-diff -Naur activity-log-manager-0.9.7.orig/configure.ac activity-log-manager-0.9.7/configure.ac
---- activity-log-manager-0.9.7.orig/configure.ac	2013-07-10 08:28:23.000000000 +0200
-+++ activity-log-manager-0.9.7/configure.ac	2014-08-11 15:16:37.573942945 +0200
-@@ -43,7 +43,7 @@
- 
- PKG_CHECK_MODULES(ZEITGEIST, zeitgeist-2.0, [HAVE_LIBZG=yes])
- PKG_CHECK_MODULES(GTK, gtk+-3.0, [HAVE_GTK=yes])
--PKG_CHECK_MODULES(GEE, gee-1.0, [HAVE_GEE=yes])
-+PKG_CHECK_MODULES(GEE, gee-0.8, [HAVE_GEE=yes])
- PKG_CHECK_MODULES(GIO_UNIX, gio-unix-2.0, [HAVE_GIO_UNIX=yes])
- PKG_CHECK_MODULES(POLKIT, polkit-gobject-1, [HAVE_POLKIT=yes], [HAVE_POLKIT=no])
- PKG_CHECK_MODULES(LIBWHOOPSIE, libwhoopsie, [HAVE_LIBWHOOPSIE=yes], [HAVE_LIBWHOOPSIE=no])
-diff -Naur activity-log-manager-0.9.7.orig/src/Makefile.am activity-log-manager-0.9.7/src/Makefile.am
---- activity-log-manager-0.9.7.orig/src/Makefile.am	2013-07-10 08:28:23.000000000 +0200
-+++ activity-log-manager-0.9.7/src/Makefile.am	2014-08-11 15:35:14.909210489 +0200
-@@ -2,7 +2,7 @@
- 	--pkg zeitgeist-2.0 \
- 	--pkg glib-2.0 \
- 	--pkg gtk+-3.0 \
--	--pkg gee-1.0  \
-+	--pkg gee-0.8  \
- 	--target-glib=2.26 \
- 	--pkg gio-unix-2.0 \
- 	config.vapi
-diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy.vala activity-log-manager-0.9.7/src/unified-privacy.vala
---- activity-log-manager-0.9.7.orig/src/unified-privacy.vala	2014-08-11 15:15:53.586144000 +0200
-+++ activity-log-manager-0.9.7/src/unified-privacy.vala	2014-08-12 01:27:54.292926227 +0200
-@@ -114,7 +114,7 @@
- 				remove_folder_from_view(folder);
- 			});
- 			
--			mime_dict = new HashMap<string, string>(str_hash, str_equal);
-+			mime_dict = new HashMap<string, string>((Gee.HashDataFunc<string>) str_hash, (Gee.EqualDataFunc<string>) str_equal);
- 			mime_dict.set(_("Music"), NFO.AUDIO);
- 			mime_dict.set(_("Videos"), NFO.VIDEO);
- 			mime_dict.set(_("Pictures"), NFO.IMAGE);
-@@ -213,7 +213,7 @@
- 			// Checkbox Box
- 			var checkbox_hbox = new Box(Orientation.VERTICAL, 0);
- 
--			CompareFunc<string> mime_compare = (s1, s2) => {
-+			GLib.CompareDataFunc<string> mime_compare = (s1, s2) => {
- 				return s1.collate(s2);
- 			};
- 			Gee.ArrayList<string> keys = new Gee.ArrayList<string>();

Copied: activity-log-manager/repos/community-x86_64/gee-0.8.patch (from rev 282847, activity-log-manager/trunk/gee-0.8.patch)
===================================================================
--- gee-0.8.patch	                        (rev 0)
+++ gee-0.8.patch	2018-01-15 20:46:27 UTC (rev 282848)
@@ -0,0 +1,45 @@
+diff -Naur activity-log-manager-0.9.7.orig/configure.ac activity-log-manager-0.9.7/configure.ac
+--- activity-log-manager-0.9.7.orig/configure.ac	2013-07-10 08:28:23.000000000 +0200
++++ activity-log-manager-0.9.7/configure.ac	2014-08-11 15:16:37.573942945 +0200
+@@ -43,7 +43,7 @@
+ 
+ PKG_CHECK_MODULES(ZEITGEIST, zeitgeist-2.0, [HAVE_LIBZG=yes])
+ PKG_CHECK_MODULES(GTK, gtk+-3.0, [HAVE_GTK=yes])
+-PKG_CHECK_MODULES(GEE, gee-1.0, [HAVE_GEE=yes])
++PKG_CHECK_MODULES(GEE, gee-0.8, [HAVE_GEE=yes])
+ PKG_CHECK_MODULES(GIO_UNIX, gio-unix-2.0, [HAVE_GIO_UNIX=yes])
+ PKG_CHECK_MODULES(POLKIT, polkit-gobject-1, [HAVE_POLKIT=yes], [HAVE_POLKIT=no])
+ PKG_CHECK_MODULES(LIBWHOOPSIE, libwhoopsie, [HAVE_LIBWHOOPSIE=yes], [HAVE_LIBWHOOPSIE=no])
+diff -Naur activity-log-manager-0.9.7.orig/src/Makefile.am activity-log-manager-0.9.7/src/Makefile.am
+--- activity-log-manager-0.9.7.orig/src/Makefile.am	2013-07-10 08:28:23.000000000 +0200
++++ activity-log-manager-0.9.7/src/Makefile.am	2014-08-11 15:35:14.909210489 +0200
+@@ -2,7 +2,7 @@
+ 	--pkg zeitgeist-2.0 \
+ 	--pkg glib-2.0 \
+ 	--pkg gtk+-3.0 \
+-	--pkg gee-1.0  \
++	--pkg gee-0.8  \
+ 	--target-glib=2.26 \
+ 	--pkg gio-unix-2.0 \
+ 	config.vapi
+diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy.vala activity-log-manager-0.9.7/src/unified-privacy.vala
+--- activity-log-manager-0.9.7.orig/src/unified-privacy.vala	2014-08-11 15:15:53.586144000 +0200
++++ activity-log-manager-0.9.7/src/unified-privacy.vala	2014-08-12 01:27:54.292926227 +0200
+@@ -114,7 +114,7 @@
+ 				remove_folder_from_view(folder);
+ 			});
+ 			
+-			mime_dict = new HashMap<string, string>(str_hash, str_equal);
++			mime_dict = new HashMap<string, string>((Gee.HashDataFunc<string>) str_hash, (Gee.EqualDataFunc<string>) str_equal);
+ 			mime_dict.set(_("Music"), NFO.AUDIO);
+ 			mime_dict.set(_("Videos"), NFO.VIDEO);
+ 			mime_dict.set(_("Pictures"), NFO.IMAGE);
+@@ -213,7 +213,7 @@
+ 			// Checkbox Box
+ 			var checkbox_hbox = new Box(Orientation.VERTICAL, 0);
+ 
+-			CompareFunc<string> mime_compare = (s1, s2) => {
++			GLib.CompareDataFunc<string> mime_compare = (s1, s2) => {
+ 				return s1.collate(s2);
+ 			};
+ 			Gee.ArrayList<string> keys = new Gee.ArrayList<string>();



More information about the arch-commits mailing list