From 5e4d201263625c3d73ea60e572428bc4891dfa04 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sat, 25 Dec 2010 20:09:34 +0100 Subject: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"` MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since commit 07d94e [1] (upstream 2729be [2]) task `configure` of `libfso-glib` fails with the following error, since GLib 2.26 is needed and Minimal and Minimal uClibc just provide GLib 2.24 since `glib-2.0_2.26.1.bb` has `DEFAULT_PREFERENCE = "-1"` set. checking pkg-config is at least version 0.9.0... yes checking for VALA_DBUS_BINDING_TOOL... yes checking for SPECS... yes checking for DEPS... configure: error: Package requirements (glib-2.0 >= 2.26.0 gobject-2.0 >= 2.26.0 gio-2.0 >= 2.26.0 gthread-2.0 >= 2.26.0) were not met: Requested 'glib-2.0 >= 2.26.0' but version of GLib is 2.24.1 Requested 'gobject-2.0 >= 2.26.0' but version of GObject is 2.24.1 Requested 'gio-2.0 >= 2.26.0' but version of GIO is 2.24.1 Requested 'gthread-2.0 >= 2.26.0' but version of GThread is 2.24.1 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables DEPS_CFLAGS and DEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ERROR: Function do_configure failed Other packages from the freesmartphone.org API reference implementation will also require GLib 2.26 in the future. [1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?h=org.openembedded.dev&id=07d94ebc8fd3d21fa83fb13fdf511ac008c316e6 [2] http://git.freesmartphone.org/?p=libfso-glib.git;a=commit;h=2729be7c82a676455f93d201b0d0255ad7e139ba [3] http://git.freesmartphone.org/?p=cornucopia.git;a=commit;h=709ef63eab6eb9736c15e6731a50de4ccbb3613c Signed-off-by: Paul Menzel Acked-by: Eric Bénard Signed-off-by: Eric Bénard --- recipes/glib-2.0/glib-2.0_2.26.1.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb index e19fb9f225..1fa9b6abdd 100644 --- a/recipes/glib-2.0/glib-2.0_2.26.1.bb +++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb @@ -29,8 +29,6 @@ inherit autotools gettext S = "${WORKDIR}/glib-${PV}" -DEFAULT_PREFERENCE = "-1" - EXTRA_OECONF = "--disable-debug " # Add and entry for your favourite arch if your (g)libc has a sane printf -- 2.39.5