diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2016-09-05 23:32:03 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-11 09:11:23 +0200 |
| commit | 07c1512928f21fdb72a02691c6119f0e410f370f (patch) | |
| tree | 4028a9755378a394e38bd1c10a43c8f74e1a14cf | |
| parent | e9b5fc160fd508daedb138ed15d6efae7ee12f33 (diff) | |
| download | meta-openembedded-07c1512928f21fdb72a02691c6119f0e410f370f.tar.gz | |
glade3: unbreak, unblacklist and other fixes
* fix build with gcc-6
* add intltool-native to DEPENDS
* add gtk-icon-cache to inherit
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-devtools/glade/glade3_%.bbappend | 1 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/glade/files/0002-fix-gcc-6-build.patch | 39 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/glade/glade3_3.8.5.bb | 13 |
3 files changed, 46 insertions, 7 deletions
diff --git a/meta-gnome/recipes-devtools/glade/glade3_%.bbappend b/meta-gnome/recipes-devtools/glade/glade3_%.bbappend index b7124712a1..3abacfb866 100644 --- a/meta-gnome/recipes-devtools/glade/glade3_%.bbappend +++ b/meta-gnome/recipes-devtools/glade/glade3_%.bbappend | |||
| @@ -1,2 +1 @@ | |||
| 1 | PACKAGECONFIG ??= "gnome" | PACKAGECONFIG ??= "gnome" | |
| 2 | PNBLACKLIST[glade3] ?= "Depends on broken libgnomeui" | ||
diff --git a/meta-oe/recipes-devtools/glade/files/0002-fix-gcc-6-build.patch b/meta-oe/recipes-devtools/glade/files/0002-fix-gcc-6-build.patch new file mode 100644 index 0000000000..5880ea5f33 --- /dev/null +++ b/meta-oe/recipes-devtools/glade/files/0002-fix-gcc-6-build.patch | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | From 5aa3d2abb905fa8594f6c6572a87809da54c9342 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Mon, 5 Sep 2016 11:25:27 +0200 | ||
| 4 | Subject: [PATCH] fix gcc-6 build | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Upstream-Status; Pending | ||
| 10 | |||
| 11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 12 | --- | ||
| 13 | gladeui/glade-editor-property.c | 3 +++ | ||
| 14 | 1 file changed, 3 insertions(+) | ||
| 15 | |||
| 16 | diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c | ||
| 17 | index a0c1039..5e9ac38 100644 | ||
| 18 | --- a/gladeui/glade-editor-property.c | ||
| 19 | +++ b/gladeui/glade-editor-property.c | ||
| 20 | @@ -2703,6 +2703,8 @@ glade_eprop_object_view (gboolean radio) | ||
| 21 | } | ||
| 22 | |||
| 23 | |||
| 24 | +#pragma GCC diagnostic push | ||
| 25 | +#pragma GCC diagnostic ignored "-Wformat-nonliteral" | ||
| 26 | static gchar * | ||
| 27 | glade_eprop_object_dialog_title (GladeEditorProperty *eprop) | ||
| 28 | { | ||
| 29 | @@ -2731,6 +2733,7 @@ glade_eprop_object_dialog_title (GladeEditorProperty *eprop) | ||
| 30 | return g_strdup_printf (format, g_type_name | ||
| 31 | (eprop->klass->pspec->value_type)); | ||
| 32 | } | ||
| 33 | +#pragma GCC diagnostic pop | ||
| 34 | |||
| 35 | |||
| 36 | gboolean | ||
| 37 | -- | ||
| 38 | 2.5.5 | ||
| 39 | |||
diff --git a/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb b/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb index dcc0cbe735..fd655366f6 100644 --- a/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb +++ b/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb | |||
| @@ -4,12 +4,15 @@ LICENSE = "GPLv2 & LGPLv2" | |||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ |
| 5 | file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ | 5 | file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ |
| 6 | file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" | 6 | file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" |
| 7 | DEPENDS = "gtk+ gnome-doc-utils gnome-common libxml2" | 7 | DEPENDS = "gtk+ gnome-doc-utils gnome-common libxml2 intltool-native" |
| 8 | 8 | ||
| 9 | inherit autotools pkgconfig pythonnative | 9 | inherit autotools pkgconfig pythonnative gtk-icon-cache |
| 10 | 10 | ||
| 11 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \ | 11 | SRC_URI = " \ |
| 12 | file://0001-gnome-doc-utils.make-sysrooted-pkg-config.patch" | 12 | http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \ |
| 13 | file://0001-gnome-doc-utils.make-sysrooted-pkg-config.patch \ | ||
| 14 | file://0002-fix-gcc-6-build.patch \ | ||
| 15 | " | ||
| 13 | SRC_URI[md5sum] = "4e4b4f5ee34a03e017e4cef97d796c1f" | 16 | SRC_URI[md5sum] = "4e4b4f5ee34a03e017e4cef97d796c1f" |
| 14 | SRC_URI[sha256sum] = "58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735" | 17 | SRC_URI[sha256sum] = "58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735" |
| 15 | 18 | ||
| @@ -19,5 +22,3 @@ PACKAGECONFIG ??= "" | |||
| 19 | PACKAGECONFIG[gnome] = "--enable-gnome,--disable-gnome,libbonoboui libgnomeui" | 22 | PACKAGECONFIG[gnome] = "--enable-gnome,--disable-gnome,libbonoboui libgnomeui" |
| 20 | 23 | ||
| 21 | FILES_${PN} += "${datadir}/icons" | 24 | FILES_${PN} += "${datadir}/icons" |
| 22 | FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" | ||
| 23 | FILES_${PN}-dev += "${libdir}/glade3/modules/*.la" | ||
