archrelease: copy trunk to community-any
[arch-community.git] / activity-log-manager / trunk / gee-0.8.patch
blob80c45e6284a566d497fefbd62349f9af548306c0
1 diff -Naur activity-log-manager-0.9.7.orig/configure.ac activity-log-manager-0.9.7/configure.ac
2 --- activity-log-manager-0.9.7.orig/configure.ac 2013-07-10 08:28:23.000000000 +0200
3 +++ activity-log-manager-0.9.7/configure.ac 2014-08-11 15:16:37.573942945 +0200
4 @@ -43,7 +43,7 @@
6 PKG_CHECK_MODULES(ZEITGEIST, zeitgeist-2.0, [HAVE_LIBZG=yes])
7 PKG_CHECK_MODULES(GTK, gtk+-3.0, [HAVE_GTK=yes])
8 -PKG_CHECK_MODULES(GEE, gee-1.0, [HAVE_GEE=yes])
9 +PKG_CHECK_MODULES(GEE, gee-0.8, [HAVE_GEE=yes])
10 PKG_CHECK_MODULES(GIO_UNIX, gio-unix-2.0, [HAVE_GIO_UNIX=yes])
11 PKG_CHECK_MODULES(POLKIT, polkit-gobject-1, [HAVE_POLKIT=yes], [HAVE_POLKIT=no])
12 PKG_CHECK_MODULES(LIBWHOOPSIE, libwhoopsie, [HAVE_LIBWHOOPSIE=yes], [HAVE_LIBWHOOPSIE=no])
13 diff -Naur activity-log-manager-0.9.7.orig/src/Makefile.am activity-log-manager-0.9.7/src/Makefile.am
14 --- activity-log-manager-0.9.7.orig/src/Makefile.am 2013-07-10 08:28:23.000000000 +0200
15 +++ activity-log-manager-0.9.7/src/Makefile.am 2014-08-11 15:35:14.909210489 +0200
16 @@ -2,7 +2,7 @@
17 --pkg zeitgeist-2.0 \
18 --pkg glib-2.0 \
19 --pkg gtk+-3.0 \
20 - --pkg gee-1.0 \
21 + --pkg gee-0.8 \
22 --target-glib=2.26 \
23 --pkg gio-unix-2.0 \
24 config.vapi
25 diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy.vala activity-log-manager-0.9.7/src/unified-privacy.vala
26 --- activity-log-manager-0.9.7.orig/src/unified-privacy.vala 2014-08-11 15:15:53.586144000 +0200
27 +++ activity-log-manager-0.9.7/src/unified-privacy.vala 2014-08-12 01:27:54.292926227 +0200
28 @@ -114,7 +114,7 @@
29 remove_folder_from_view(folder);
30 });
32 - mime_dict = new HashMap<string, string>(str_hash, str_equal);
33 + mime_dict = new HashMap<string, string>((Gee.HashDataFunc<string>) str_hash, (Gee.EqualDataFunc<string>) str_equal);
34 mime_dict.set(_("Music"), NFO.AUDIO);
35 mime_dict.set(_("Videos"), NFO.VIDEO);
36 mime_dict.set(_("Pictures"), NFO.IMAGE);
37 @@ -213,7 +213,7 @@
38 // Checkbox Box
39 var checkbox_hbox = new Box(Orientation.VERTICAL, 0);
41 - CompareFunc<string> mime_compare = (s1, s2) => {
42 + GLib.CompareDataFunc<string> mime_compare = (s1, s2) => {
43 return s1.collate(s2);
45 Gee.ArrayList<string> keys = new Gee.ArrayList<string>();