summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-01-14 13:21:23 +0000
committerPacho Ramos <pacho@gentoo.org>2015-01-14 13:21:23 +0000
commit57e28eb13beb22ea24c35a563492e827dd2c3401 (patch)
tree65d41d183f88aa81a640abd1bbc89c1e383bc938 /gnome-extra
parentVersion bump (diff)
downloadhistorical-57e28eb13beb22ea24c35a563492e827dd2c3401.tar.gz
historical-57e28eb13beb22ea24c35a563492e827dd2c3401.tar.bz2
historical-57e28eb13beb22ea24c35a563492e827dd2c3401.zip
Apply opensuse and Arch patches to fix support for current gnome, newer vala and newer libgee (#527854)
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/synapse/ChangeLog17
-rw-r--r--gnome-extra/synapse/Manifest29
-rw-r--r--gnome-extra/synapse/files/synapse-0.2.10-check-null-exec.patch16
-rw-r--r--gnome-extra/synapse/files/synapse-0.2.10-fix-border-painting.patch74
-rw-r--r--gnome-extra/synapse/files/synapse-0.2.10-fix-check-desktop.patch30
-rw-r--r--gnome-extra/synapse/files/synapse-0.2.10-gnome-3.10.patch75
-rw-r--r--gnome-extra/synapse/files/synapse-0.2.10-libgee-0.8.patch87
-rw-r--r--gnome-extra/synapse/files/synapse-0.2.10-zeitgeist.patch12
-rw-r--r--gnome-extra/synapse/synapse-0.2.10-r1.ebuild81
9 files changed, 402 insertions, 19 deletions
diff --git a/gnome-extra/synapse/ChangeLog b/gnome-extra/synapse/ChangeLog
index 1f2f26c23dbf..ab454d199968 100644
--- a/gnome-extra/synapse/ChangeLog
+++ b/gnome-extra/synapse/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for gnome-extra/synapse
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/synapse/ChangeLog,v 1.23 2014/01/19 15:20:08 jlec Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/synapse/ChangeLog,v 1.24 2015/01/14 13:21:19 pacho Exp $
+
+*synapse-0.2.10-r1 (14 Jan 2015)
+
+ 14 Jan 2015; Pacho Ramos <pacho@gentoo.org>
+ +files/synapse-0.2.10-check-null-exec.patch,
+ +files/synapse-0.2.10-fix-border-painting.patch,
+ +files/synapse-0.2.10-fix-check-desktop.patch,
+ +files/synapse-0.2.10-gnome-3.10.patch,
+ +files/synapse-0.2.10-libgee-0.8.patch, +files/synapse-0.2.10-zeitgeist.patch,
+ +synapse-0.2.10-r1.ebuild:
+ Apply opensuse and Arch patches to fix support for current gnome, newer vala
+ and newer libgee (#527854)
19 Jan 2014; Justin Lecher <jlec@gentoo.org> synapse-0.2.10.ebuild:
Set max version for vala
@@ -91,4 +103,3 @@
02 Mar 2011; Kevin McCarthy <signals@gentoo.org> +synapse-0.2.4.ebuild,
+metadata.xml:
Initial commit. Ebuild by signals@gentoo.org.
-
diff --git a/gnome-extra/synapse/Manifest b/gnome-extra/synapse/Manifest
index 8cfdc627a27a..1801621d83ec 100644
--- a/gnome-extra/synapse/Manifest
+++ b/gnome-extra/synapse/Manifest
@@ -1,26 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
+AUX synapse-0.2.10-check-null-exec.patch 709 SHA256 068568da9b933339bd3f59b6a4fff20d157565bd922c9e02127cec36926c10c6 SHA512 03384dc27215d93f685aa70ef56438f824976073ff3d8301a3a887bbc2659c97d718a1afb17efdae3e93ed8bd526cf7e1c9018041c1a13d8b90ed713238f97f7 WHIRLPOOL 39ed67d1cb99a56b41ad80231034a24e4b16bc48591ea86b6205a066717f3856ff4004bc466c77895d5d35c9b4c480bdde49d14f832e5914ece50df1a8784675
+AUX synapse-0.2.10-fix-border-painting.patch 3186 SHA256 be699edd8129407f91f2cc578266a77775bdb8ca8a31664c2bde65292d91189c SHA512 c8d66378f2e4fd2d6a7d93251d3897a104e53b86d59615bb813228cf7f6173e6dcd539fd9a28ae1f437a26a3b308c3bb0dd2a08aab951221fb874129b74c58af WHIRLPOOL 3f7dcf7dc5ab2201a3432d03501523d53a851d51ffa33e43cfb87b4a21a595a08365d90908e047345c1021428cdb6ce1d6df5438fd85e9612eddd6bf4505be6f
+AUX synapse-0.2.10-fix-check-desktop.patch 1133 SHA256 fab21a94644d898ddc8bc9ba0db81976c41ccff5c72a2575fd7e223a46f036e9 SHA512 532ed8b1f9279e09db9dcee2822986663dc6dd80533e57aeb6ed4cd501014a95bad097d0a593cb42a81f9bc85e24c63c3031a69dae8330c47166f6fcc8006b46 WHIRLPOOL 1fb2b373a97a5a6e6cc7c240527bd9d4d0b30c9300279a5d99b4640d70fa678452e3595f1b1c503c019bd803fe6f6d2de1b870d0a5b52c9a2ead998623bfaab3
+AUX synapse-0.2.10-gnome-3.10.patch 2687 SHA256 aadcd43539c96cafc7269326b5cc8669c95d2f46f656e9b941f111f1c3badcf1 SHA512 fd5781b9fa99daa315a19e00b6e4cf18876b9819b64b6f7b03133be2db279e3993e076d9ab105a446bd7c753f8cb6ff6865d8beba71c2638558bedc5ee4d45b6 WHIRLPOOL 7b1cfaf78c504af841f08a8bd579073a216b2a9d9fefb89d00dd3eab1bf4e2dec400c987abb30ceea9bde6b3a3c1086e75d83ea613bc015a3036d06a62450e34
+AUX synapse-0.2.10-libgee-0.8.patch 3176 SHA256 704b6694289ba11b09ccb4acf57adc9c61860edc70c9f681ac9641ece8504422 SHA512 7f289110bbc882f16bf2f528c514522b88a712caad9700dc45ad8ea1cc9cf4683519146afb94d8fcc7dfd6733fdfd23f3848c818a5b4550054a761f7f8d3381f WHIRLPOOL 8dffd6728ca36642659ea87e2070453db8cd31e285b7a50e3ff3e50f5679ef5b285a9056470bf7fb4b56ad1e133d22e2b0034fa4ce1bc04f21d0f91d10d53e76
+AUX synapse-0.2.10-zeitgeist.patch 306 SHA256 de5dae3b308871a93ce1a2df42908a817318177ba0abba68e5900637a703bb93 SHA512 26ab759e22182429ab571ec4131cc32e141791bf6e70661fe755fd3834d8e4a819d53856f818463884cae1664c1bc8229bed017058de24f94f0bca3a962e6b9f WHIRLPOOL 4ddadb235550e85ed1f7d8e3e52bfd4182999ce5a26b5bb6c25267645f087e32a1a8e67314ca7b476349f3b064bbd51e0311aec5f26b626195e621d76fe4b635
AUX synapse-0.2.8.2-underlinking.patch 335 SHA256 671190afef5a5362707379055d35c7a36df7d811a105bf9300fe5d3c3cca450c SHA512 3379c4a085128356e8df34d6fe70c5dc5b1cf46482a1d2c3f5296dd815909db2498542a9eee225d83c85de84ed64653a1f8d01ab2fedb5b9a833f76684de7ec6 WHIRLPOOL dec57caaead5e17bec11d9b285c4ac5f3fabad385f73a83bb6c5f2ec67b9a2a51153cbb723c3f3b4fc5cf5ca593eaf9d63a0e38ab3d96014d50002d9547d1d92
AUX synapse-0.2.8.2-zeitgeist.patch 306 SHA256 82d5eda75bdc41e6f819339a4b93bb9d0477a87a3306aefc77f221d559e58215 SHA512 666a1524dfaf468016d2f295a53ea3f85ca16729cf09d3bdec2780dfbc252a4ad2c43ba5c9ef31bc358e28fe2980c35ca1e15b0b4ea76bfc33981a5b116db03c WHIRLPOOL fa20d3d7798a589811d0313301cb5837b13f93c705e7db1285843a15346441cec5672a57e5c0d2dc1840d3ea60ccc417948a9fd47866b93957da57da5d4677a9
DIST synapse-0.2.10.tar.gz 625327 SHA256 d94f724be51f20e2085ead203495d398c5fece24071ffed7e805108be2219540 SHA512 e21e30b7b180642d3102aa17b5135917f2380a6a656e304ec4077f19021d65750f73c49a0c837e2761d4acb9ecad49db97e02f4d2a82a9f255af61efe4b0adc6 WHIRLPOOL 5ecf09168ec04f4bc7ebb0f955bd7490c10b053d5c0ab1cd1662ccb21f773fb72369682edcb0c7c0ff95a680885eb23b4361f08fe36af71f29734ba371ccbe68
+EBUILD synapse-0.2.10-r1.ebuild 2101 SHA256 39b75bbd135ce4c5cfb830936ec640980a930c9b73452a9c8e7038755f636efa SHA512 5b913b6f759f4fcf11bf4689305dd14445220d064f7c8ca25cbee78aaac3886391e43bc8d7a505174b85703d53ddbbbd630ffa29c2224d9bee0918140a77cf6e WHIRLPOOL 50bc4fa44c0fc359cb3014afb132d57b8d99c694f38c49e39a61d000270bccbe568acac719f1adad0dbaf13299984f69281842a8dea49cd123e3d719f43ebe22
EBUILD synapse-0.2.10.ebuild 1816 SHA256 8ba67eee7e4dbd230bc3a2b7797350444f88fada255e959e328d1fb466bb2296 SHA512 a95eba82c848da02cec26d8fefb3a550c3cfbf1d219df7c9faebb36bf3c5ef65fb95dce7b4d9691e86024824d7c46b5ffe6cdf103898ff13175bb113dd3ebeff WHIRLPOOL b520455fb16ca5f22b2ee175e6f71ab87aaa2cd001139b788c6076bac9a4533b3d55c09b4306b19a118fbdfca2ff5c96901841c580414b1bfcc1e4a95c6ea5b2
-MISC ChangeLog 3657 SHA256 6f9d8c7b5e787ad398a1aa39673ace82265820255b891117c84621e981f26199 SHA512 954ebad3715314124ab0d9da41914d9b4196ee1261a9749504181cbc50970836edf1e5c08dadb7546c7a034f8776ccbe51bea1c118c1f2b7f0b8712f697a8814 WHIRLPOOL d1fe5f16dd08ec5ba65a2c509e2194dfff900d9f9c8206006b00556243360c07546114436b8d86b9d8eea44e9689262d1fedf91f87161792e23c66f144ae1d82
+MISC ChangeLog 4145 SHA256 57ac0e9f179c262fd03dd0d4cbf4e8ab938ce70c80b1f6982cb932ab5b80cce0 SHA512 b6f9692532b3fd5859b8b5dd29dc59e942d8c17e8ff75578c76c06c2b49e4c70df880bf3d286eb9e4efa6851541741083628cc42304bad454ed01dcbbc46e796 WHIRLPOOL 99f19c171aa2831751045487067a81605b688ddae3a37bb5fb6f2f1d3d850b794f16f75fa08197d7b2bdcfbb86d6f465801df17b37be3cc9125da2fcb6862a9d
MISC metadata.xml 404 SHA256 344ab70bca038b0f3827e62183240d59af58221e2ec9a8e70546580fa0de8a81 SHA512 1226373d9f29fa2b374eca70c430cc7532d0df00393e5955e7b75f3ead583f1a62c4d2219977c353f4bd0916837dd95016cc0fb72a18e9b84b0cefd76cd46100 WHIRLPOOL 505a51d473c80fef332ea43e1e2ef648c93e4a8f0505eab731e04d90e8294ae5d7ba4573cf581433eadfdb20e1d46012237ab86e66a7da80e62ac134f8646e41
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iQIcBAEBCgAGBQJS2+0sAAoJELnU8jG9FVirdDIP/1bINClo+q7/mq47vDqDpkNr
-HRep+pqkM5+rWI5wx+0REjOHrGKj1BwREm93wRjkENK+/lTgaGjYyiliRonLRvTO
-0CtUtwVTyu+zN+yqpF5nkecKWaQTrJ9Lsx2sudOzTrQPdV0Hdl8ukerxZfBLwuAp
-LOxTP/94sYNQGTlKaM6clk6z2pUNQno1hHNdbnuFUf4AfcGw9NmomtM/nspcrb/C
-HnIbT1svOTgNR6ZhHlAu7LxftkuI2Tcbj4733/SGHFmz+tXd3fW7538Q6HPE5Kmo
-eU7ddrxAVg4qSncZu7kFITpTAbuaTZGS0yJlDknI47YmHa5TLBRa6PH+jG7/QPI+
-TsrkPSgfrZPjNoWUpVc6yqBY03IJjshoJ5DoXzNK8TZti3apo5XdlfOqUPsVgTic
-MclsukUJL275ZLql0AdQbN1G08mjYvf5Y4Jex4Bv7NnHnBsOBNw9MIqmovtJlLQM
-Rwy0JCM4rMPXJnrX27+QVuVJjDacBKgmKgpBZITrTaYdCDKqZpzxkP0xs0ZPPqZU
-MJsU1Z9duD+kYuOf6nydPw0TemcjDLPC3BdUGshrrQrrwxMjc+RgJ4qsq/yZrRHD
-Qrpz+XHB9paMPZavVV7cOIY2kbJ05y0sjgjxu3i3OQ6SKO55C5Yu7zbV2EeSv5c7
-g6R47AinHBJSqLAxe8QL
-=95gl
+iEYEAREIAAYFAlS2bVMACgkQCaWpQKGI+9RhgwCfTi29u+yezEizADp0E/Srujs6
+UhIAnjm8ykGtIvrqDKV71P4CaW+xbXGM
+=3gpe
-----END PGP SIGNATURE-----
diff --git a/gnome-extra/synapse/files/synapse-0.2.10-check-null-exec.patch b/gnome-extra/synapse/files/synapse-0.2.10-check-null-exec.patch
new file mode 100644
index 000000000000..77820ecbbfde
--- /dev/null
+++ b/gnome-extra/synapse/files/synapse-0.2.10-check-null-exec.patch
@@ -0,0 +1,16 @@
+diff -Naur synapse-0.2.10.orig/src/core/desktop-file-service.vala synapse-0.2.10/src/core/desktop-file-service.vala
+--- synapse-0.2.10.orig/src/core/desktop-file-service.vala 2012-03-18 20:02:41.000000000 +0100
++++ synapse-0.2.10/src/core/desktop-file-service.vala 2012-12-26 18:07:55.962276823 +0100
+@@ -125,7 +125,11 @@
+ }
+
+ name = app_info.get_name ();
+- exec = app_info.get_executable ();
++ exec = app_info.get_commandline ();
++ if (exec == null)
++ {
++ throw new DesktopFileError.UNINTERESTING_ENTRY ("Unable to get exec for %s".printf (name));
++ }
+
+ // check for hidden desktop files
+ if (keyfile.has_key (GROUP, "Hidden") &&
diff --git a/gnome-extra/synapse/files/synapse-0.2.10-fix-border-painting.patch b/gnome-extra/synapse/files/synapse-0.2.10-fix-border-painting.patch
new file mode 100644
index 000000000000..38dc6ed83354
--- /dev/null
+++ b/gnome-extra/synapse/files/synapse-0.2.10-fix-border-painting.patch
@@ -0,0 +1,74 @@
+Index: synapse-0.2.10/src/ui/widgets.vala
+===================================================================
+--- synapse-0.2.10.orig/src/ui/widgets.vala
++++ synapse-0.2.10/src/ui/widgets.vala
+@@ -232,7 +232,7 @@ namespace Synapse.Gui
+ real_size = real_size - 1;
+ a.value = this.size_to_scale[real_size];
+ layout.context_changed ();
+- requistion_for_size (out req, null, real_size, true);
++ requisition_for_size (out req, null, real_size, true);
+
+ if (allocation.width >= req.width)
+ {
+@@ -306,10 +306,9 @@ namespace Synapse.Gui
+ return true;
+ }
+
+- protected void requistion_for_size (out Requisition req, out int char_width, Size s, bool return_only_width = false)
++ protected void requisition_for_size (out Requisition req, out int char_width, Size s, bool return_only_width = false)
+ {
+- req.width = this.xpad * 2;
+- req.height = this.ypad * 2;
++ req = { this.xpad * 2, this.ypad * 2 };
+
+ Pango.Rectangle logical_rect;
+ layout.set_width (-1);
+@@ -334,7 +333,7 @@ namespace Synapse.Gui
+ {
+ layout.set_markup ("<span size=\"%s\">%s</span>".printf (size_to_string[_size], this.text), -1);
+ int char_width;
+- this.requistion_for_size (out req, out char_width, this._size);
++ this.requisition_for_size (out req, out char_width, this._size);
+ last_req.width = req.width;
+ last_req.height = req.height;
+ if (!this.natural_requisition && (this.ellipsize != Pango.EllipsizeMode.NONE || animate))
+@@ -755,6 +754,10 @@ namespace Synapse.Gui
+ ctx.set_operator (Cairo.Operator.OVER);
+ ctx.set_line_width (1.25);
+
++ Gdk.cairo_rectangle (ctx, event.area);
++ ctx.clip ();
++ ctx.save ();
++
+ double x = this.allocation.x + this.left_padding,
+ y = this.allocation.y + this.top_padding,
+ w = this.allocation.width - this.left_padding - this.right_padding - 3.0,
+@@ -764,16 +767,13 @@ namespace Synapse.Gui
+ ch.set_source_rgba (ctx, input_alpha, ch.StyleType.BG, StateType.NORMAL, ch.Mod.DARKER);
+ else
+ ch.set_source_rgba (ctx, input_alpha, ch.StyleType.FG, StateType.NORMAL, ch.Mod.INVERTED);
+- Cairo.Path path = ctx.copy_path ();
+- ctx.save ();
+- ctx.clip ();
+- ctx.paint ();
++ ctx.fill_preserve ();
+ var pat = new Cairo.Pattern.linear (0, y, 0, y + shadow_height);
+ ch.add_color_stop_rgba (pat, 0, 0.6 * input_alpha, ch.StyleType.FG, StateType.NORMAL);
+ ch.add_color_stop_rgba (pat, 0.3, 0.25 * input_alpha, ch.StyleType.FG, StateType.NORMAL);
+ ch.add_color_stop_rgba (pat, 1.0, 0, ch.StyleType.FG, StateType.NORMAL);
+ ctx.set_source (pat);
+- ctx.paint ();
++ ctx.fill ();
+ if (_focus_widget != null)
+ {
+ /*
+@@ -818,7 +818,7 @@ namespace Synapse.Gui
+ ctx.paint ();
+ }
+ ctx.restore ();
+- ctx.append_path (path);
++ Utils.cairo_rounded_rect (ctx, x, y, w, h, border_radius);
+ ch.set_source_rgba (ctx, 0.6 * input_alpha, ch.StyleType.FG, StateType.NORMAL);
+ ctx.stroke ();
+ }
diff --git a/gnome-extra/synapse/files/synapse-0.2.10-fix-check-desktop.patch b/gnome-extra/synapse/files/synapse-0.2.10-fix-check-desktop.patch
new file mode 100644
index 000000000000..16e039b48a28
--- /dev/null
+++ b/gnome-extra/synapse/files/synapse-0.2.10-fix-check-desktop.patch
@@ -0,0 +1,30 @@
+diff -Naur synapse-0.2.10.orig/src/core/desktop-file-service.vala synapse-0.2.10/src/core/desktop-file-service.vala
+--- synapse-0.2.10.orig/src/core/desktop-file-service.vala 2012-03-18 20:02:41.000000000 +0100
++++ synapse-0.2.10/src/core/desktop-file-service.vala 2012-03-19 12:06:43.080443401 +0100
+@@ -248,13 +248,23 @@
+
+ private void get_environment_type ()
+ {
+- unowned string? session_var = Environment.get_variable ("DESKTOP_SESSION");
+-
++ unowned string? session_var;
++ session_var = Environment.get_variable ("XDG_CURRENT_DESKTOP");
++ if (session_var == null)
++ {
++ session_var = Environment.get_variable ("DESKTOP_SESSION");
++ }
++
+ if (session_var == null) return;
+
+ string session = session_var.down ();
+
+- if (session.has_prefix ("kde"))
++ if (session.has_prefix ("unity"))
++ {
++ session_type = DesktopFileInfo.EnvironmentType.UNITY;
++ session_type_str = "Unity";
++ }
++ else if (session.has_prefix ("kde"))
+ {
+ session_type = DesktopFileInfo.EnvironmentType.KDE;
+ session_type_str = "KDE";
diff --git a/gnome-extra/synapse/files/synapse-0.2.10-gnome-3.10.patch b/gnome-extra/synapse/files/synapse-0.2.10-gnome-3.10.patch
new file mode 100644
index 000000000000..b7ad5ed2de96
--- /dev/null
+++ b/gnome-extra/synapse/files/synapse-0.2.10-gnome-3.10.patch
@@ -0,0 +1,75 @@
+Index: synapse-0.2.10/src/ui/inspector.vala
+===================================================================
+--- synapse-0.2.10.orig/src/ui/inspector.vala
++++ synapse-0.2.10/src/ui/inspector.vala
+@@ -28,7 +28,7 @@ namespace UI
+
+ public Inspector ()
+ {
+- timer_id = Timeout.add (500, this.check_window_at_pointer);
++ timer_id = Gtk.Timeout.add (500, this.check_window_at_pointer);
+ }
+
+ ~Inspector ()
+Index: synapse-0.2.10/src/ui/widgets-matchlistview.vala
+===================================================================
+--- synapse-0.2.10.orig/src/ui/widgets-matchlistview.vala
++++ synapse-0.2.10/src/ui/widgets-matchlistview.vala
+@@ -551,7 +551,7 @@ namespace Synapse.Gui
+ }
+ if (needs_animation)
+ {
+- if (tid == 0) tid = Timeout.add (ANIM_TIMEOUT, this.update_current_offsets);
++ if (tid == 0) tid = Gtk.Timeout.add (ANIM_TIMEOUT, this.update_current_offsets);
+ this.queue_draw ();
+ return true;
+ }
+@@ -734,7 +734,7 @@ namespace Synapse.Gui
+ this.inhibit_move = true;
+ this.set_indexes (this.dragdrop_target_item, this.dragdrop_target_item);
+ this.selected_index_changed (this.select_index);
+- Timeout.add (Gtk.Settings.get_default ().gtk_double_click_time ,()=>{
++ Gtk.Timeout.add (Gtk.Settings.get_default ().gtk_double_click_time ,()=>{
+ if (inhibit_move)
+ {
+ inhibit_move = false;
+Index: synapse-0.2.10/src/ui/widgets.vala
+===================================================================
+--- synapse-0.2.10.orig/src/ui/widgets.vala
++++ synapse-0.2.10/src/ui/widgets.vala
+@@ -185,7 +185,7 @@ namespace Synapse.Gui
+ {
+ if (tid != 0) return;
+
+- tid = Timeout.add (40, ()=>{
++ tid = Gtk.Timeout.add (40, ()=>{
+ offset = (offset - 1) % (_anim_width);
+ queue_draw ();
+ return true;
+@@ -245,7 +245,7 @@ namespace Synapse.Gui
+ {
+ if (tid == 0)
+ {
+- tid = Timeout.add (INITIAL_TIMEOUT, ()=>{
++ tid = Gtk.Timeout.add (INITIAL_TIMEOUT, ()=>{
+ tid = 0;
+ start_animation ();
+ return false;
+@@ -1085,7 +1085,7 @@ namespace Synapse.Gui
+ }
+ if (tid == 0)
+ {
+- tid = Timeout.add (30, ()=>{
++ tid = Gtk.Timeout.add (30, ()=>{
+ return update_current_offset ();
+ });
+ }
+@@ -1121,7 +1121,7 @@ namespace Synapse.Gui
+ });
+ this.size_allocate.connect (()=>{
+ if (tid == 0)
+- tid = Timeout.add (30, ()=>{
++ tid = Gtk.Timeout.add (30, ()=>{
+ return update_current_offset ();
+ });
+ });
diff --git a/gnome-extra/synapse/files/synapse-0.2.10-libgee-0.8.patch b/gnome-extra/synapse/files/synapse-0.2.10-libgee-0.8.patch
new file mode 100644
index 000000000000..28bdf1acc61c
--- /dev/null
+++ b/gnome-extra/synapse/files/synapse-0.2.10-libgee-0.8.patch
@@ -0,0 +1,87 @@
+diff -Naur synapse-0.2.10.orig/configure.ac synapse-0.2.10/configure.ac
+--- synapse-0.2.10.orig/configure.ac 2012-03-18 20:11:39.000000000 +0100
++++ synapse-0.2.10/configure.ac 2014-08-12 02:52:44.447243355 +0200
+@@ -59,7 +59,7 @@
+ gtk+-2.0 >= $MIN_GTK_VERSION \
+ gtkhotkey-1.0 \
+ gobject-2.0 \
+- gee-1.0 >= $MIN_GEE_VERSION \
++ gee-0.8 >= $MIN_GEE_VERSION \
+ gio-unix-2.0 \
+ json-glib-1.0 >= $MIN_JSON_VERSION \
+ libnotify \
+diff -Naur synapse-0.2.10.orig/src/core/Makefile.am synapse-0.2.10/src/core/Makefile.am
+--- synapse-0.2.10.orig/src/core/Makefile.am 2012-03-18 20:02:58.000000000 +0100
++++ synapse-0.2.10/src/core/Makefile.am 2014-08-12 02:53:07.964488996 +0200
+@@ -7,7 +7,7 @@
+
+ libsynapsecore_la_VALAFLAGS = \
+ --pkg gtk+-2.0 \
+- --pkg gee-1.0 \
++ --pkg gee-0.8 \
+ --pkg json-glib-1.0 \
+ --pkg dbus-glib-1 \
+ --pkg gio-unix-2.0 \
+diff -Naur synapse-0.2.10.orig/src/core/result-set.vala synapse-0.2.10/src/core/result-set.vala
+--- synapse-0.2.10.orig/src/core/result-set.vala 2012-03-18 20:02:41.000000000 +0100
++++ synapse-0.2.10/src/core/result-set.vala 2014-08-12 02:52:44.447243355 +0200
+@@ -20,7 +20,7 @@
+
+ namespace Synapse
+ {
+- public class ResultSet : Object, Gee.Iterable <Gee.Map.Entry <Match, int>>
++ public class ResultSet : Object, Gee.Traversable<Match>, Gee.Iterable <Gee.Map.Entry <Match, int>>
+ {
+ protected Gee.Map<Match, int> matches;
+ protected Gee.Set<unowned string> uris;
+@@ -88,6 +88,11 @@
+ return uri in uris;
+ }
+
++ public bool foreach (Gee.ForallFunc<Match> func)
++ {
++ return matches.keys.foreach (func);
++ }
++
+ public Gee.List<Match> get_sorted_list ()
+ {
+ var l = new Gee.ArrayList<Gee.Map.Entry<Match, int>> ();
+diff -Naur synapse-0.2.10.orig/src/plugins/Makefile.am synapse-0.2.10/src/plugins/Makefile.am
+--- synapse-0.2.10.orig/src/plugins/Makefile.am 2012-03-18 20:04:17.000000000 +0100
++++ synapse-0.2.10/src/plugins/Makefile.am 2014-08-12 02:53:26.878288046 +0200
+@@ -8,7 +8,7 @@
+
+ libplugins_la_VALAFLAGS = \
+ --pkg gtk+-2.0 \
+- --pkg gee-1.0 \
++ --pkg gee-0.8 \
+ --pkg json-glib-1.0 \
+ --pkg dbus-glib-1 \
+ --pkg gio-unix-2.0 \
+diff -Naur synapse-0.2.10.orig/src/ui/keybindings.vala synapse-0.2.10/src/ui/keybindings.vala
+--- synapse-0.2.10.orig/src/ui/keybindings.vala 2012-03-18 20:02:41.000000000 +0100
++++ synapse-0.2.10/src/ui/keybindings.vala 2014-08-12 02:52:44.463910433 +0200
+@@ -82,9 +82,9 @@
+ this.cmd = cmd;
+ this.mods = mods;
+ }
+- public static int compare (void* a, void* b)
++ public static int compare (ModCmd a, ModCmd b)
+ {
+- return (int)(((ModCmd)a).mods) - (int)(((ModCmd)b).mods);
++ return (int)(a.mods) - (int)(b.mods);
+ }
+ }
+
+diff -Naur synapse-0.2.10.orig/src/ui/Makefile.am synapse-0.2.10/src/ui/Makefile.am
+--- synapse-0.2.10.orig/src/ui/Makefile.am 2012-03-18 20:05:19.000000000 +0100
++++ synapse-0.2.10/src/ui/Makefile.am 2014-08-12 02:53:46.262098738 +0200
+@@ -12,7 +12,7 @@
+ --pkg gio-2.0 \
+ --pkg gio-unix-2.0 \
+ --pkg zeitgeist-1.0 \
+- --pkg gee-1.0 \
++ --pkg gee-0.8 \
+ --pkg json-glib-1.0 \
+ --pkg unique-1.0 \
+ --pkg libnotify \
diff --git a/gnome-extra/synapse/files/synapse-0.2.10-zeitgeist.patch b/gnome-extra/synapse/files/synapse-0.2.10-zeitgeist.patch
new file mode 100644
index 000000000000..0311ddfa40ae
--- /dev/null
+++ b/gnome-extra/synapse/files/synapse-0.2.10-zeitgeist.patch
@@ -0,0 +1,12 @@
+=== modified file 'src/ui/Makefile.am'
+--- src/ui/Makefile.am 2012-03-18 19:11:23 +0000
++++ src/ui/Makefile.am 2012-03-18 19:55:48 +0000
+@@ -11,7 +11,6 @@
+ --pkg gdk-x11-2.0 \
+ --pkg gio-2.0 \
+ --pkg gio-unix-2.0 \
+- --pkg zeitgeist-1.0 \
+ --pkg gee-0.8 \
+ --pkg json-glib-1.0 \
+ --pkg unique-1.0 \
+
diff --git a/gnome-extra/synapse/synapse-0.2.10-r1.ebuild b/gnome-extra/synapse/synapse-0.2.10-r1.ebuild
new file mode 100644
index 000000000000..88eb192111d1
--- /dev/null
+++ b/gnome-extra/synapse/synapse-0.2.10-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/synapse/synapse-0.2.10-r1.ebuild,v 1.1 2015/01/14 13:21:19 pacho Exp $
+
+EAPI=5
+GCONF_DEBUG="no" # gnome2_src_configure is not being used
+AUTOTOOLS_AUTORECONF=true
+
+inherit gnome2 autotools-utils vala
+
+DESCRIPTION="A program launcher in the style of GNOME Do"
+HOMEPAGE="http://launchpad.net/synapse-project/"
+SRC_URI="http://launchpad.net/synapse-project/${PV%.*}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# "ayatana" support pending on GTK+-3.x version of synapse wrt #411613
+IUSE="plugins +zeitgeist"
+
+RDEPEND="
+ dev-libs/libgee:0.8
+ dev-libs/glib:2
+ dev-libs/json-glib
+ dev-libs/libunique:1
+ sys-apps/dbus
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtkhotkey
+ x11-libs/gtk+:2
+ x11-libs/libnotify
+ x11-libs/pango
+ x11-themes/gnome-icon-theme
+ plugins? ( net-libs/rest )
+ zeitgeist? (
+ dev-libs/libzeitgeist
+ gnome-extra/zeitgeist
+ gnome-extra/zeitgeist-extensions
+ || ( gnome-extra/zeitgeist[fts] gnome-extra/zeitgeist-extensions[fts] )
+ )"
+ #ayatana? ( dev-libs/libappindicator )
+DEPEND="${RDEPEND}
+ $(vala_depend)
+ dev-util/intltool
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.8.2-underlinking.patch
+
+ # Don't crash on empty string (from Arch)
+ "${FILESDIR}"/${PN}-0.2.10-check-null-exec.patch
+
+ # XDG_CURRENT_DESKTOP fix (from Arch)
+ "${FILESDIR}"/${PN}-0.2.10-fix-check-desktop.patch
+
+ # Fix newer gnome support (from OpenSuSE)
+ "${FILESDIR}"/${PN}-0.2.10-gnome-3.10.patch
+
+ # Port to gee-0.8 (from Arch)
+ "${FILESDIR}"/${PN}-0.2.10-libgee-0.8.patch
+
+ # Fix border painting (from OpenSuSE)
+ "${FILESDIR}"/${PN}-0.2.10-fix-border-painting.patch
+
+ "${FILESDIR}"/${PN}-0.2.10-zeitgeist.patch
+)
+
+src_prepare() {
+ sed -i -e 's/GNOME/GNOME;GTK/' data/synapse.desktop.in || die
+ vala_src_prepare
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-indicator=no
+ $(use_enable plugins librest yes)
+ $(use_enable zeitgeist)
+ )
+ autotools-utils_src_configure
+}