diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-05-17 18:31:59 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-05-21 12:45:49 +0200 |
commit | b02c9531c620314a6ea59c2a13cb087e6dc4c75f (patch) | |
tree | fd42ebc50345b93f65681c1dfe9e9b327b7ecf61 /meta-gnome | |
parent | 2150f733e1c0d95562b08b49513e3ef1e69d627e (diff) | |
download | meta-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.patch | 49 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb | 7 |
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 @@ | |||
1 | From acff719983aa1294148dc4a367c48957f5510eff Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Fri, 17 May 2013 18:25:56 +0200 | ||
4 | Subject: [PATCH] src/procman.cpp: include main gtkmm.h | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | after update of gtkmm build failed with: | ||
10 | |||
11 | In 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 | |||
27 | Upstream-Status: Backport | ||
28 | |||
29 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
30 | --- | ||
31 | src/procman.cpp | 2 +- | ||
32 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
33 | |||
34 | diff --git a/src/procman.cpp b/src/procman.cpp | ||
35 | index 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 | -- | ||
48 | 1.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" | |||
2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
4 | SECTION = "x11/gnome" | 4 | SECTION = "x11/gnome" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | DEPENDS = "libgtop gtkmm glibmm gnome-doc-utils gnome-icon-theme libwnck gtk+ dbus-glib librsvg" | 7 | DEPENDS = "libgtop gtkmm glibmm gnome-doc-utils gnome-icon-theme libwnck gtk+ dbus-glib librsvg" |
8 | 8 | ||
9 | inherit gnome | 9 | inherit gnome |
10 | SRC_URI[archive.md5sum] = "3f0bca9b0ebc7a365466851cd580d167" | 10 | SRC_URI[archive.md5sum] = "3f0bca9b0ebc7a365466851cd580d167" |
11 | SRC_URI[archive.sha256sum] = "b628edfd39e3a6b374ce133f367d3568475eb4e981a367f4f9d62a9784e5ae59" | 11 | SRC_URI[archive.sha256sum] = "b628edfd39e3a6b374ce133f367d3568475eb4e981a367f4f9d62a9784e5ae59" |
12 | SRC_URI += "file://0001-Fix-glib-includes.patch" | 12 | SRC_URI += " \ |
13 | file://0001-Fix-glib-includes.patch \ | ||
14 | file://0002-src-procman.cpp-include-main-gtkmm.h.patch \ | ||
15 | " | ||
13 | 16 | ||
14 | do_configure_prepend() { | 17 | do_configure_prepend() { |
15 | sed -i -e s:help::g ${S}/Makefile.am | 18 | sed -i -e s:help::g ${S}/Makefile.am |