summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2013-05-17 18:31:59 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-05-21 12:45:49 +0200
commitb02c9531c620314a6ea59c2a13cb087e6dc4c75f (patch)
treefd42ebc50345b93f65681c1dfe9e9b327b7ecf61 /meta-gnome
parent2150f733e1c0d95562b08b49513e3ef1e69d627e (diff)
downloadmeta-openembedded-b02c9531c620314a6ea59c2a13cb087e6dc4c75f.tar.gz
gnome-system-monitor: fix build after gtkmm update
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gnome-system-monitor/files/0002-src-procman.cpp-include-main-gtkmm.h.patch49
-rw-r--r--meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb7
2 files changed, 54 insertions, 2 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-system-monitor/files/0002-src-procman.cpp-include-main-gtkmm.h.patch b/meta-gnome/recipes-gnome/gnome-system-monitor/files/0002-src-procman.cpp-include-main-gtkmm.h.patch
new file mode 100644
index 000000000..7b6728102
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-system-monitor/files/0002-src-procman.cpp-include-main-gtkmm.h.patch
@@ -0,0 +1,49 @@
1From acff719983aa1294148dc4a367c48957f5510eff Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Fri, 17 May 2013 18:25:56 +0200
4Subject: [PATCH] src/procman.cpp: include main gtkmm.h
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9after update of gtkmm build failed with:
10
11In file included from /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gtkmm-2.4/gtkmm/main.h:33:0,
12 from procman.cpp:26:
13/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:92:7: error: 'Value' is not a template
14/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:92:54: error: expected template-name before '<' token
15/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:92:54: error: expected '{' before '<' token
16/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:92:54: error: expected unqualified-id before '<' token
17/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:174:7: error: 'Value' is not a template
18/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:174:30: error: 'Glib::Value' is not a template type
19/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:174:58: error: expected template-name before '<' token
20/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:207:7: error: 'Value' is not a template
21/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:207:24: error: 'Glib::Value' is not a template type
22/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:207:51: error: expected template-name before '<' token
23/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:274:7: error: 'Value' is not a template
24/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gdkmm-2.4/gdkmm/types.h:274:32: error: 'Glib::Value' is not a template type
25<...>
26
27Upstream-Status: Backport
28
29Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
30---
31 src/procman.cpp | 2 +-
32 1 files changed, 1 insertions(+), 1 deletions(-)
33
34diff --git a/src/procman.cpp b/src/procman.cpp
35index b5c0d0a..d9b4b3f 100644
36--- a/src/procman.cpp
37+++ b/src/procman.cpp
38@@ -23,7 +23,7 @@
39
40 #include <locale.h>
41
42-#include <gtkmm/main.h>
43+#include <gtkmm.h>
44 #include <giomm/volumemonitor.h>
45 #include <giomm/init.h>
46 #include <glib.h>
47--
481.7.4.4
49
diff --git a/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb b/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb
index 7764b7143..4e0d0da0d 100644
--- a/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb
@@ -2,14 +2,17 @@ DESCRIPTION = "Gnome system monitor"
2LICENSE = "GPLv2" 2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4SECTION = "x11/gnome" 4SECTION = "x11/gnome"
5PR = "r1" 5PR = "r2"
6 6
7DEPENDS = "libgtop gtkmm glibmm gnome-doc-utils gnome-icon-theme libwnck gtk+ dbus-glib librsvg" 7DEPENDS = "libgtop gtkmm glibmm gnome-doc-utils gnome-icon-theme libwnck gtk+ dbus-glib librsvg"
8 8
9inherit gnome 9inherit gnome
10SRC_URI[archive.md5sum] = "3f0bca9b0ebc7a365466851cd580d167" 10SRC_URI[archive.md5sum] = "3f0bca9b0ebc7a365466851cd580d167"
11SRC_URI[archive.sha256sum] = "b628edfd39e3a6b374ce133f367d3568475eb4e981a367f4f9d62a9784e5ae59" 11SRC_URI[archive.sha256sum] = "b628edfd39e3a6b374ce133f367d3568475eb4e981a367f4f9d62a9784e5ae59"
12SRC_URI += "file://0001-Fix-glib-includes.patch" 12SRC_URI += " \
13 file://0001-Fix-glib-includes.patch \
14 file://0002-src-procman.cpp-include-main-gtkmm.h.patch \
15"
13 16
14do_configure_prepend() { 17do_configure_prepend() {
15 sed -i -e s:help::g ${S}/Makefile.am 18 sed -i -e s:help::g ${S}/Makefile.am