diff options
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r-- | meta/recipes-sato/midori/midori/liststore.patch | 29 | ||||
-rw-r--r-- | meta/recipes-sato/midori/midori_0.5.8.bb | 4 |
2 files changed, 32 insertions, 1 deletions
diff --git a/meta/recipes-sato/midori/midori/liststore.patch b/meta/recipes-sato/midori/midori/liststore.patch new file mode 100644 index 0000000000..4e5d666afd --- /dev/null +++ b/meta/recipes-sato/midori/midori/liststore.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | GLib 2.44 has a GListStore type which is GLib.ListStore in Vala, resulting in an ambigous type and compile failure. | ||
2 | |||
3 | Fix by using the full type name. | ||
4 | |||
5 | Upstream-Status: Backport | ||
6 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
7 | |||
8 | diff --git a/extensions/history-list.vala b/extensions/history-list.vala | ||
9 | index 3a864b1..f309c0c 100644 | ||
10 | --- a/extensions/history-list.vala | ||
11 | +++ b/extensions/history-list.vala | ||
12 | @@ -319,7 +319,7 @@ namespace HistoryList { | ||
13 | } | ||
14 | |||
15 | private void create_widgets () { | ||
16 | - ListStore model; | ||
17 | + Gtk.ListStore model; | ||
18 | TreeIter iter; | ||
19 | TreeIter? active_iter = null; | ||
20 | |||
21 | @@ -331,7 +331,7 @@ namespace HistoryList { | ||
22 | |||
23 | var tab_closing_behavior = this.hl_manager.get_integer ("TabClosingBehavior"); | ||
24 | |||
25 | - model = new ListStore (2, typeof (string), typeof (int)); | ||
26 | + model = new Gtk.ListStore (2, typeof (string), typeof (int)); | ||
27 | |||
28 | model.append (out iter); | ||
29 | model.set (iter, TabClosingBehaviorModel.TEXT, _("Do nothing"), | ||
diff --git a/meta/recipes-sato/midori/midori_0.5.8.bb b/meta/recipes-sato/midori/midori_0.5.8.bb index 5cc42cbc50..aa1b395b84 100644 --- a/meta/recipes-sato/midori/midori_0.5.8.bb +++ b/meta/recipes-sato/midori/midori_0.5.8.bb | |||
@@ -4,7 +4,9 @@ LICENSE = "LGPLv2.1" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" |
5 | DEPENDS = "webkit-gtk libsoup-2.4 openssl python-native python-docutils-native librsvg-native libnotify libxscrnsaver" | 5 | DEPENDS = "webkit-gtk libsoup-2.4 openssl python-native python-docutils-native librsvg-native libnotify libxscrnsaver" |
6 | 6 | ||
7 | SRC_URI = "https://launchpad.net/midori/trunk/0.5.8/+download/${BPN}-${PV}.tar.bz2;subdir=${BPN}-${PV}" | 7 | SRC_URI = "https://launchpad.net/midori/trunk/0.5.8/+download/${BPN}-${PV}.tar.bz2;subdir=${BPN}-${PV} \ |
8 | file://liststore.patch" | ||
9 | |||
8 | SRC_URI[md5sum] = "b89e25e74199d705e74767499a415976" | 10 | SRC_URI[md5sum] = "b89e25e74199d705e74767499a415976" |
9 | SRC_URI[sha256sum] = "af19135fd4c4b04345df4d3592e7939c20f9b40eaca24550e6cb619751aa9381" | 11 | SRC_URI[sha256sum] = "af19135fd4c4b04345df4d3592e7939c20f9b40eaca24550e6cb619751aa9381" |
10 | 12 | ||