mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
maliit-framework: fix build with glib 2.36
Upstream code has seen many structural changes and the failing test is gone. Since changing to latest sources might cause huge reworking/test-efforts this patch only fixes the build error. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
47a3dd25e5
commit
1363398184
|
|
@ -0,0 +1,33 @@
|
|||
From 839e0933f09309a0374aa58cc58439c3a1f157b2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Tue, 14 May 2013 10:24:48 +0200
|
||||
Subject: [PATCH] ut_maliit_glib_settings: fix build for glib 2.36
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [code removed upstream]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
.../ut_maliit_glib_settings.c | 3 ++-
|
||||
1 files changed, 2 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/tests/ut_maliit_glib_settings/ut_maliit_glib_settings.c b/tests/ut_maliit_glib_settings/ut_maliit_glib_settings.c
|
||||
index 476ba33..09b6261 100644
|
||||
--- a/tests/ut_maliit_glib_settings/ut_maliit_glib_settings.c
|
||||
+++ b/tests/ut_maliit_glib_settings/ut_maliit_glib_settings.c
|
||||
@@ -188,8 +188,9 @@ test_settings_manager_emits_disconnected(void)
|
||||
int
|
||||
main (int argc, char **argv) {
|
||||
g_test_init(&argc, &argv, NULL);
|
||||
+#if !GLIB_CHECK_VERSION (2, 36, 0)
|
||||
g_type_init();
|
||||
-
|
||||
+#endif
|
||||
g_test_add_func("/ut_maliit_glib_settings/MaliitSettingsManager/preferred_description_locale/default",
|
||||
test_preferred_description_locale_default);
|
||||
g_test_add_func("/ut_maliit_glib_settings/MaliitSettingsManager/preferred_description_locale/set-get-roundtrip",
|
||||
--
|
||||
1.7.6.5
|
||||
|
||||
|
|
@ -11,11 +11,13 @@ SRC_URI = "git://gitorious.org/maliit/maliit-framework.git;branch=master \
|
|||
file://0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch \
|
||||
file://0001-Fix-QT_IM_PLUGIN_PATH-to-allow-openembedded-to-build.patch \
|
||||
file://0001-Link-to-libmaliit-1-0-in-inputcontext-plugin.patch \
|
||||
file://0002-ut_maliit_glib_settings-fix-build-for-glib-2.36.patch \
|
||||
file://maliit-server.desktop \
|
||||
"
|
||||
|
||||
SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc"
|
||||
PV = "0.92.3+git${SRCPV}"
|
||||
PR = "r1"
|
||||
|
||||
|
||||
PACKAGES =+ "${PN}-gtk"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user