gst-openmax: fix build with GLib 2.40 onwards
PATCH 2/7 glib-2.0: upgrade to 2.40.0
In reply to Ross BurtonThe patches Fix-Werror-format-string, gio-test-race, gtest-skip-fixes, and ptest-dbus have all been merged upstream.
Two license checksums changed as upstream has updated the FSF address in those files.
---
...ror-format-string-errors-from-mismatched-.patch | 56 ------
.../glib-2.0/glib-2.0/gio-test-race.patch | 54 ------
.../glib-2.0/glib-2.0/gtest-skip-fixes.patch | 197 --------------------
.../glib-2.0/glib-2.0/ptest-dbus.patch | 65 -------
.../{glib-2.0_2.38.2.bb => glib-2.0_2.40.0.bb} | 8 +-
meta/recipes-core/glib-2.0/glib.inc | 4 +-
6 files changed, 4 insertions(+), 380 deletions(-)
delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-gio-Fix-Werror-format-string-errors-from-mismatched-.patch
delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0/gio-test-race.patch
delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0/gtest-skip-fixes.patch
delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0/ptest-dbus.patch
rename meta/recipes-core/glib-2.0/{glib-2.0_2.38.2.bb => glib-2.0_2.40.0.bb} (60%)meta/recipes-core/glib-2.0/glib-2.0/0001-gio-Fix-Werror-format-string-errors-from-mismatched-.patch deleted +0 -56
@@ -1,56 +0,0 @@ -From 0167c3340d8201dca8e9031b61703bbc5ed6ce33 Mon Sep 17 00:00:00 2001 -From: Jan Schmidt <[email protected]> -Date: Wed, 25 Sep 2013 19:22:26 +1000 -Subject: [PATCH] gio: Fix -Werror format string errors from mismatched ints. - -Upstream-Status: Backport - ---- - gio/gdbusmessage.c | 8 ++++---- - gio/gdbusprivate.c | 4 ++-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/gio/gdbusmessage.c b/gio/gdbusmessage.c -index ac233a3..ad77aa6 100644 ---- a/gio/gdbusmessage.c -+++ b/gio/gdbusmessage.c -@@ -3468,10 +3468,10 @@ g_dbus_message_print (GDBusMessage *message, - statbuf.st_mode); - g_string_append_printf (fs, "%s" "ino=%" G_GUINT64_FORMAT, fs->len > 0 ? "," : "", - (guint64) statbuf.st_ino); -- g_string_append_printf (fs, "%s" "uid=%d", fs->len > 0 ? "," : "", -- statbuf.st_uid); -- g_string_append_printf (fs, "%s" "gid=%d", fs->len > 0 ? "," : "", -- statbuf.st_gid); -+ g_string_append_printf (fs, "%s" "uid=%u", fs->len > 0 ? "," : "", -+ (guint) statbuf.st_uid); -+ g_string_append_printf (fs, "%s" "gid=%u", fs->len > 0 ? "," : "", -+ (guint) statbuf.st_gid); - g_string_append_printf (fs, "%s" "rdev=%d:%d", fs->len > 0 ? "," : "", - major (statbuf.st_rdev), minor (statbuf.st_rdev)); - g_string_append_printf (fs, "%s" "size=%" G_GUINT64_FORMAT, fs->len > 0 ? "," : "", -diff --git a/gio/gdbusprivate.c b/gio/gdbusprivate.c -index 0e5bef2..785a0c0 100644 ---- a/gio/gdbusprivate.c -+++ b/gio/gdbusprivate.c -@@ -2155,7 +2155,7 @@ write_message_print_transport_debug (gssize bytes_written, - _g_dbus_debug_print_lock (); - g_print ("========================================================================\n" - "GDBus-debug:Transport:\n" -- " >>>> WROTE %" G_GSIZE_FORMAT " bytes of message with serial %d and\n" -+ " >>>> WROTE %" G_GSSIZE_FORMAT " bytes of message with serial %d and\n" - " size %" G_GSIZE_FORMAT " from offset %" G_GSIZE_FORMAT " on a %s\n", - bytes_written, - g_dbus_message_get_serial (data->message), -@@ -2206,7 +2206,7 @@ read_message_print_transport_debug (gssize bytes_read, - _g_dbus_debug_print_lock (); - g_print ("========================================================================\n" - "GDBus-debug:Transport:\n" -- " <<<< READ %" G_GSIZE_FORMAT " bytes of message with serial %d and\n" -+ " <<<< READ %" G_GSSIZE_FORMAT " bytes of message with serial %d and\n" - " size %d to offset %" G_GSIZE_FORMAT " from a %s\n", - bytes_read, - serial, --- -1.8.3.1 -
meta/recipes-core/glib-2.0/glib-2.0/gio-test-race.patch deleted +0 -54
54 lines not on this page · raw message
meta/recipes-core/glib-2.0/glib-2.0/gtest-skip-fixes.patch deleted +0 -197
197 lines not on this page · raw message
meta/recipes-core/glib-2.0/glib-2.0/ptest-dbus.patch deleted +0 -65
65 lines not on this page · raw message
meta/recipes-core/glib-2.0/glib-2.0_2.40.0.bb renamed from meta/recipes-core/glib-2.0/glib-2.0_2.38.2.bb +2 -6
@@ -10,15 +10,11 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ file://add-march-i486-into-CFLAGS-automatically.patch \ file://glib-2.0-configure-readlink.patch \ file://run-ptest \ - file://0001-gio-Fix-Werror-format-string-errors-from-mismatched-.patch \ - file://ptest-dbus.patch \ file://ptest-paths.patch \ - file://gtest-skip-fixes.patch \ - file://gio-test-race.patch \ file://uclibc.patch \ " SRC_URI_append_class-native = " file://glib-gettextize-dir.patch" -SRC_URI[md5sum] = "26d1d08e478fc48c181ca8be44f5b69f" -SRC_URI[sha256sum] = "056a9854c0966a0945e16146b3345b7a82562a5ba4d5516fd10398732aea5734" +SRC_URI[md5sum] = "05fb7cb17eacbc718e90366a1eae60d9" +SRC_URI[sha256sum] = "0d27f195966ecb1995dcce0754129fd66ebe820c7cd29200d264b02af1aa28b5"
meta/recipes-core/glib-2.0/glib.inc +2 -2
@@ -4,9 +4,9 @@ DESCRIPTION = "GLib is a general-purpose utility library, which provides many us # docs/reference/COPYING is with a 'public domai'-like license! LICENSE = "LGPLv2+ & BSD & PD" LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ - file://glib/glib.h;beginline=4;endline=17;md5=62b7bd0d17b98573dfb87495ac1c5b4c \ + file://glib/glib.h;beginline=4;endline=17;md5=b4f0f4a399c19e5ebb20c31b79d6bc32 \ file://gmodule/COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ - file://gmodule/gmodule.h;beginline=4;endline=17;md5=62b7bd0d17b98573dfb87495ac1c5b4c \ + file://gmodule/gmodule.h;beginline=4;endline=17;md5=b4f0f4a399c19e5ebb20c31b79d6bc32 \ file://glib/pcre/COPYING;md5=266ebc3ff74ee9ce6fad65577667c0f4 \ file://glib/pcre/pcre.h;beginline=11;endline=35;md5=de27f2bf633d20a2b7af0b1983423283 \ file://docs/reference/COPYING;md5=f51a5100c17af6bae00735cd791e1fcc"
Signature · 1 line
1.7.10.4
PATCH 3/7 freetype: upgrade to 2.5.3
In reply to Ross BurtonAlso drop the redundant definition of S.
---
.../freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
rename meta/recipes-graphics/freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} (89%)meta/recipes-graphics/freetype/freetype_2.5.3.bb renamed from meta/recipes-graphics/freetype/freetype_2.5.2.bb +3 -7
@@ -13,13 +13,9 @@ LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=c017ff17fc6f0794adf93db5559ccd56 SECTION = "libs" -SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ -" - -SRC_URI[md5sum] = "10e8f4d6a019b124088d18bc26123a25" -SRC_URI[sha256sum] = "4ff4bd393aa01071ec7b849d035508a505a78f88b2bcf25ff11e58e43c0b9def" - -S = "${WORKDIR}/freetype-${PV}" +SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2" +SRC_URI[md5sum] = "d6b60f06bfc046e43ab2a6cbfd171d65" +SRC_URI[sha256sum] = "c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e" inherit autotools-brokensep pkgconfig binconfig multilib_header
Signature · 1 line
1.7.10.4
PATCH 5/7 python-numpy: add Signed-off-by to patches
In reply to Ross BurtonThese patches were authored by Koen Kooi in oe-classic commits:
443f6022df06d9f9dc221011c1744274deff2c2c
19a4b765a694c070bc50477026cda03143af34df
As the patches haven't changed since, add his SOB.
--- meta/recipes-devtools/python/python-numpy/trycompile.diff | 3 +++ meta/recipes-devtools/python/python-numpy/unbreak-assumptions.diff | 3 +++ 2 files changed, 6 insertions(+)
meta/recipes-devtools/python/python-numpy/trycompile.diff +3 -0
@@ -1,3 +1,6 @@ +Upstream-Status: Pending +Signed-off-by: Koen Kooi <[email protected]> + --- /tmp/setup.py 2008-09-01 10:37:44.000000000 +0200 +++ numpy-1.1.1/numpy/core/setup.py 2008-09-01 10:38:20.373198000 +0200 @@ -80,8 +80,7 @@
meta/recipes-devtools/python/python-numpy/unbreak-assumptions.diff +3 -0
@@ -1,3 +1,6 @@ +Upstream-Status: Inappropriate +Signed-off-by: Koen Kooi <[email protected]> + --- /tmp/system_info.py 2008-08-22 00:38:16.000000000 +0200 +++ numpy-1.1.1/numpy/distutils/system_info.py 2008-08-22 00:40:33.013198000 +0200 @@ -137,11 +137,8 @@
Signature · 1 line
1.7.10.4
PATCH 1/7 gst-openmax: fix build with GLib 2.40 onwards
GLib 2.40 adds g_ptr_array_insert, but gst-openmax is definining that as a static helper function. Rename the static function so it doesn't conflict with GLib's namespace.
--- .../gstreamer/gst-openmax/ptr-array.patch | 46 ++++++++++++++++++++ .../gstreamer/gst-openmax_0.10.1.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gst-openmax/ptr-array.patch
meta/recipes-multimedia/gstreamer/gst-openmax/ptr-array.patch new file +46 -0
@@ -0,0 +1,46 @@ +Rename static functions that use GLib naming conventions as one of them +(g_ptr_array_insert) has now been added to GLib. + +Upstream-Status: Pending +Signed-off-by: Ross Burton <[email protected]> + +diff --git a/omx/gstomx_util.c b/omx/gstomx_util.c +index 423e441..579dbf5 100644 +--- a/omx/gstomx_util.c ++++ b/omx/gstomx_util.c +@@ -85,7 +85,7 @@ static gboolean initialized; + */ + + static void +-g_ptr_array_clear (GPtrArray * array) ++omx_g_ptr_array_clear (GPtrArray * array) + { + guint index; + for (index = 0; index < array->len; index++) +@@ -93,7 +93,7 @@ g_ptr_array_clear (GPtrArray * array) + } + + static void +-g_ptr_array_insert (GPtrArray * array, guint index, gpointer data) ++omx_g_ptr_array_insert (GPtrArray * array, guint index, gpointer data) + { + if (index + 1 > array->len) { + g_ptr_array_set_size (array, index + 1); +@@ -394,7 +394,7 @@ g_omx_core_unload (GOmxCore * core) + } + + core_for_each_port (core, g_omx_port_free); +- g_ptr_array_clear (core->ports); ++ omx_g_ptr_array_clear (core->ports); + } + + static inline GOmxPort * +@@ -418,7 +418,7 @@ g_omx_core_new_port (GOmxCore * core, guint index) + } + + port = g_omx_port_new (core, index); +- g_ptr_array_insert (core->ports, index, port); ++ omx_g_ptr_array_insert (core->ports, index, port); + + return port; + }
meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb +1 -0
@@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \ SRC_URI = "http://gstreamer.freedesktop.org/src/gst-openmax/gst-openmax-${PV}.tar.bz2 \ file://gcc_4.6.patch \ + file://ptr-array.patch \ " inherit autotools
Signature · 1 line
1.7.10.4
PATCH 6/7 json-glib: upgrade to 1.0.0
Inherit lib_package so that the newly added binary doesn't ship in the library package.
---
.../json-glib/{json-glib_0.16.2.bb => json-glib_1.0.0.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-gnome/json-glib/{json-glib_0.16.2.bb => json-glib_1.0.0.bb} (74%)meta/recipes-gnome/json-glib/json-glib_1.0.0.bb renamed from meta/recipes-gnome/json-glib/json-glib_0.16.2.bb +3 -3
@@ -12,9 +12,9 @@ DEPENDS = "glib-2.0" GNOME_COMPRESS_TYPE = "xz" -SRC_URI[archive.md5sum] = "0c6121741956fc34933a7ebae5868ec2" -SRC_URI[archive.sha256sum] = "a95475364ec27ab1d2a69303cf579018558bfb6981e3498b3aaf1e6401f7422c" +SRC_URI[archive.md5sum] = "d13485f5aa3b93227bbeb689ccfb596c" +SRC_URI[archive.sha256sum] = "dbf558d2da989ab84a27e4e13daa51ceaa97eb959c2c2f80976c9322a8f4cdde" -inherit gnome gettext +inherit gnome gettext lib_package EXTRA_OECONF = "--disable-introspection"
Signature · 1 line
1.7.10.4
PATCH 7/7 systemd: remove tcp-wrappers option
In reply to Ross Burtonsystemd version 212 removed the TCP wrappers support, so remove the PACKAGECONFIG stanza for it.
--- meta/recipes-core/systemd/systemd_212.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-core/systemd/systemd_212.bb +1 -2
@@ -47,7 +47,7 @@ LDFLAGS_append_libc-uclibc = " -lrt" GTKDOC_DOCDIR = "${S}/docs/" -PACKAGECONFIG ??= "xz tcp-wrappers" +PACKAGECONFIG ??= "xz" # Sign the journal for anti-tampering PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" # regardless of PACKAGECONFIG, libgcrypt is always required to expand
@@ -55,7 +55,6 @@ PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" DEPENDS += "libgcrypt" # Compress the journal PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz" -PACKAGECONFIG[tcp-wrappers] = "--enable-tcpwrap,--disable-tcpwrap,tcp-wrappers" PACKAGECONFIG[cryptsetup] = "--enable-libcryptsetup,--disable-libcryptsetup,cryptsetup" PACKAGECONFIG[microhttpd] = "--enable-microhttpd,--disable-microhttpd,libmicrohttpd"
Signature · 1 line
1.7.10.4
PATCH 4/7 gdk-pixbuf: upgrade to 2.30.7
In reply to Ross BurtonDrop tests-check.patch as it has been merged into this release.
License checksums updated as the FSF address was changed.
---
.../gdk-pixbuf/gdk-pixbuf/tests-check.patch | 465 --------------------
.../{gdk-pixbuf_2.30.3.bb => gdk-pixbuf_2.30.7.bb} | 7 +-
2 files changed, 3 insertions(+), 469 deletions(-)
delete mode 100644 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/tests-check.patch
rename meta/recipes-gnome/gdk-pixbuf/{gdk-pixbuf_2.30.3.bb => gdk-pixbuf_2.30.7.bb} (94%)meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/tests-check.patch deleted +0 -465
@@ -1,465 +0,0 @@ -Upstream-Status: Backport -Signed-off-by: Ross Burton <[email protected]> - -From 9fa240c1ad5a815d63d8aa9126954152c2607f2e Mon Sep 17 00:00:00 2001 -From: Matthias Clasen <[email protected]> -Date: Sat, 25 Jan 2014 21:29:34 +0000 -Subject: Make testsuite robust against disabled formats - -Skip tests if their file format is not supported by the -available loaders. - -https://bugzilla.gnome.org/show_bug.cgi?id=722651 ---- -diff --git a/tests/Makefile.am b/tests/Makefile.am -index de3442e..80840c2 100644 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -42,17 +42,57 @@ dist_installed_test_data = \ - icc-profile.png \ - $(wildcard $(srcdir)/test-images/*) - -+pixbuf_icc_SOURCES = \ -+ pixbuf-icc.c \ -+ test-common.c \ -+ test-common.h \ -+ $(NULL) -+ -+pixbuf_scale_SOURCES = \ -+ pixbuf-scale.c \ -+ test-common.c \ -+ test-common.h \ -+ $(NULL) -+ -+pixbuf_stream_SOURCES = \ -+ pixbuf-stream.c \ -+ test-common.c \ -+ test-common.h \ -+ $(NULL) -+ -+pixbuf_threads_SOURCES = \ -+ pixbuf-threads.c \ -+ test-common.c \ -+ test-common.h \ -+ $(NULL) -+ -+pixbuf_icon_serialize_SOURCES = \ -+ pixbuf-icon-serialize.c \ -+ test-common.c \ -+ test-common.h \ -+ $(NULL) -+ -+pixbuf_save_SOURCES = \ -+ pixbuf-save.c \ -+ test-common.c \ -+ test-common.h \ -+ $(NULL) -+ - pixbuf_resource_SOURCES = \ - pixbuf-resource.c \ -+ test-common.c \ -+ test-common.h \ - resources.h \ -- resources.c -+ resources.c \ -+ $(NULL) - - BUILT_SOURCES += resources.h resources.c - DISTCLEANFILES += \ - resources.h resources.c \ - pixbuf-save-options \ - pixbuf-randomly-modified-image \ -- pixbuf-save-roundtrip -+ pixbuf-save-roundtrip \ -+ $(NULL) - - EXTRA_DIST += resources.gresource.xml - TESTS_ENVIRONMENT += GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/loaders.cache -diff --git a/tests/pixbuf-icc.c b/tests/pixbuf-icc.c -index 9cb9c90..3b95b09 100644 ---- a/tests/pixbuf-icc.c -+++ b/tests/pixbuf-icc.c -@@ -22,6 +22,7 @@ - - #include "config.h" - #include "gdk-pixbuf/gdk-pixbuf.h" -+#include "test-common.h" - - static void - test_incremental (gconstpointer data) -@@ -34,7 +35,12 @@ test_incremental (gconstpointer data) - gchar *contents; - gsize size; - -- -+ if (!format_supported (filename)) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - g_file_get_contents (g_test_get_filename (G_TEST_DIST, filename, NULL), &contents, &size, &error); - g_assert_no_error (error); - -@@ -62,6 +68,12 @@ test_nonincremental (gconstpointer data) - GdkPixbuf *pixbuf; - const gchar *profile; - -+ if (!format_supported (filename)) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - pixbuf = gdk_pixbuf_new_from_file (g_test_get_filename (G_TEST_DIST, filename, NULL), &error); - g_assert_no_error (error); - -diff --git a/tests/pixbuf-icon-serialize.c b/tests/pixbuf-icon-serialize.c -index 20bf6e1..880c654 100644 ---- a/tests/pixbuf-icon-serialize.c -+++ b/tests/pixbuf-icon-serialize.c -@@ -1,5 +1,6 @@ - #include "config.h" - #include "gdk-pixbuf/gdk-pixbuf.h" -+#include "test-common.h" - #include <string.h> - #include <glib.h> - -@@ -13,6 +14,12 @@ test_serialize (void) - GIcon *icon; - GInputStream *stream; - -+ if (!format_supported ("png")) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - pixbuf = gdk_pixbuf_new_from_file (g_test_get_filename (G_TEST_DIST, "test-image.png", NULL), &error); - g_assert_no_error (error); - g_assert (pixbuf != NULL); -diff --git a/tests/pixbuf-resource.c b/tests/pixbuf-resource.c -index a747bca..aa0bed8 100644 ---- a/tests/pixbuf-resource.c -+++ b/tests/pixbuf-resource.c -@@ -22,6 +22,7 @@ - - #include "config.h" - #include "gdk-pixbuf/gdk-pixbuf.h" -+#include "test-common.h" - #include <string.h> - - #define compare_option(p1, p2, key) \ -@@ -77,6 +78,12 @@ test_resource (void) - GError *error = NULL; - GdkPixbuf *pixbuf, *ref; - -+ if (!format_supported ("png")) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - path = g_test_get_filename (G_TEST_DIST, "icc-profile.png", NULL); - ref = gdk_pixbuf_new_from_file (path, &error); - g_assert_no_error (error); -@@ -111,6 +118,12 @@ test_resource_at_scale (void) - GError *error = NULL; - GdkPixbuf *pixbuf, *ref; - -+ if (!format_supported ("png")) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - path = g_test_get_filename (G_TEST_DIST, "icc-profile.png", NULL); - ref = gdk_pixbuf_new_from_file_at_scale (path, 40, 10, FALSE, &error); - g_assert_no_error (error); -diff --git a/tests/pixbuf-save.c b/tests/pixbuf-save.c -index f7df29b..78ab288 100644 ---- a/tests/pixbuf-save.c -+++ b/tests/pixbuf-save.c -@@ -21,6 +21,7 @@ - */ - - #include "gdk-pixbuf/gdk-pixbuf.h" -+#include "test-common.h" - #include <string.h> - - #define compare_option(p1, p2, key) \ -@@ -76,6 +77,12 @@ test_save_roundtrip (void) - GdkPixbuf *ref; - GdkPixbuf *pixbuf; - -+ if (!format_supported ("png")) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - ref = gdk_pixbuf_new_from_file (g_test_get_filename (G_TEST_DIST, "test-image.png", NULL), &error); - g_assert_no_error (error); - -@@ -98,6 +105,12 @@ test_save_options (void) - GdkPixbuf *pixbuf; - GError *error = NULL; - -+ if (!format_supported ("png")) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - ref = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, 10, 10); - gdk_pixbuf_fill (ref, 0xff00ff00); - -diff --git a/tests/pixbuf-scale.c b/tests/pixbuf-scale.c -index 4fd9fd5..d57e56a 100644 ---- a/tests/pixbuf-scale.c -+++ b/tests/pixbuf-scale.c -@@ -22,6 +22,7 @@ - - #include "config.h" - #include "gdk-pixbuf/gdk-pixbuf.h" -+#include "test-common.h" - - static void - test_scale (gconstpointer data) -@@ -33,6 +34,12 @@ test_scale (gconstpointer data) - GdkPixbuf *pixbuf; - gint width, height; - -+ if (!format_supported (filename)) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - path = g_test_get_filename (G_TEST_DIST, filename, NULL); - ref = gdk_pixbuf_new_from_file (path, &error); - g_assert_no_error (error); -diff --git a/tests/pixbuf-stream.c b/tests/pixbuf-stream.c -index 0c2cebe..d66ce3e 100644 ---- a/tests/pixbuf-stream.c -+++ b/tests/pixbuf-stream.c -@@ -22,6 +22,7 @@ - - #include "config.h" - #include "gdk-pixbuf/gdk-pixbuf.h" -+#include "test-common.h" - #include <string.h> - - #define compare_option(p1, p2, key) \ -@@ -71,6 +72,12 @@ test_stream (gconstpointer data) - GFile *file; - GInputStream *stream; - -+ if (!format_supported (filename)) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - path = g_test_get_filename (G_TEST_DIST, filename, NULL); - ref = gdk_pixbuf_new_from_file (path, &error); - g_assert_no_error (error); -@@ -116,6 +123,12 @@ test_stream_async (gconstpointer data) - gsize size; - GInputStream *stream; - -+ if (!format_supported (filename)) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - path = g_test_get_filename (G_TEST_DIST, filename, NULL); - ref = gdk_pixbuf_new_from_file (path, &error); - g_assert_no_error (error); -@@ -138,6 +151,12 @@ test_stream_at_scale (gconstpointer data) - GFile *file; - GInputStream *stream; - -+ if (!format_supported (filename)) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - path = g_test_get_filename (G_TEST_DIST, filename, NULL); - ref = gdk_pixbuf_new_from_file_at_scale (path, 20, 30, TRUE, &error); - g_assert_no_error (error); -@@ -167,6 +186,12 @@ test_stream_at_scale_async (gconstpointer data) - gsize size; - GInputStream *stream; - -+ if (!format_supported (filename)) -+ { -+ g_test_skip ("format not supported"); -+ return; -+ } -+ - path = g_test_get_filename (G_TEST_DIST, filename, NULL); - ref = gdk_pixbuf_new_from_file_at_scale (path, 40, 10, FALSE, &error); - g_assert_no_error (error); -diff --git a/tests/pixbuf-threads.c b/tests/pixbuf-threads.c -index 5eeb9dd..f2694fd 100644 ---- a/tests/pixbuf-threads.c -+++ b/tests/pixbuf-threads.c -@@ -18,7 +18,9 @@ - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - */ - -+#include "config.h" - #include "gdk-pixbuf/gdk-pixbuf.h" -+#include "test-common.h" - - static void - load_image (gpointer data, -@@ -71,15 +73,24 @@ test_threads (void) - - for (i = 0; i < iterations; i++) - { -- g_thread_pool_push (pool, "valid_jpeg_test", NULL); -- g_thread_pool_push (pool, "valid_png_test", NULL); -- g_thread_pool_push (pool, "valid_gif_test", NULL); -- g_thread_pool_push (pool, "valid_bmp_test", NULL); -- g_thread_pool_push (pool, "valid_jpeg_progressive_test", NULL); -- g_thread_pool_push (pool, "valid_xpm_test", NULL); -- g_thread_pool_push (pool, "valid_ras_test", NULL); -- g_thread_pool_push (pool, "valid_tga_test", NULL); -- g_thread_pool_push (pool, "valid_tiff1_test", NULL); -+ if (format_supported ("jpeg")) -+ g_thread_pool_push (pool, "valid_jpeg_test", NULL); -+ if (format_supported ("png")) -+ g_thread_pool_push (pool, "valid_png_test", NULL); -+ if (format_supported ("gif")) -+ g_thread_pool_push (pool, "valid_gif_test", NULL); -+ if (format_supported ("bmp")) -+ g_thread_pool_push (pool, "valid_bmp_test", NULL); -+ if (format_supported ("jpeg")) -+ g_thread_pool_push (pool, "valid_jpeg_progressive_test", NULL); -+ if (format_supported ("xpm")) -+ g_thread_pool_push (pool, "valid_xpm_test", NULL); -+ if (format_supported ("ras")) -+ g_thread_pool_push (pool, "valid_ras_test", NULL); -+ if (format_supported ("tga")) -+ g_thread_pool_push (pool, "valid_tga_test", NULL); -+ if (format_supported ("tiff")) -+ g_thread_pool_push (pool, "valid_tiff1_test", NULL); - } - - g_thread_pool_free (pool, FALSE, TRUE); -diff --git a/tests/test-common.c b/tests/test-common.c -new file mode 100644 -index 0000000..c7673e3 ---- /dev/null -+++ b/tests/test-common.c -@@ -0,0 +1,65 @@ -+/* -*- Mode: C; c-basic-offset: 2; -*- */ -+/* GdkPixbuf library - test loaders -+ * -+ * Copyright (C) 2014 Red Hat, Inc. -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License as published by -+ * the Free Software Foundation; either version 2 of the License, or -+ * (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program; if not, write to the Free Software -+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -+ * -+ * Author: Matthias Clasen -+ */ -+ -+#include "config.h" -+#include "test-common.h" -+#include "gdk-pixbuf/gdk-pixbuf.h" -+ -+#include <string.h> -+ -+gboolean -+format_supported (const gchar *filename) -+{ -+ const gchar *name = NULL; -+ GSList *formats, *l; -+ gboolean retval; -+ const gchar *names[] = { "png", "jpeg", "bmp", "gif", "ras", -+ "tga", "xpm", "xbm" }; -+ gint i; -+ -+ for (i = 0; i < G_N_ELEMENTS (names); i++) -+ { -+ if (strstr (filename, names[i])) -+ { -+ name = names[i]; -+ break; -+ } -+ } -+ if (name == NULL) -+ return FALSE; -+ -+ retval = FALSE; -+ formats = gdk_pixbuf_get_formats (); -+ for (l = formats; l; l = l->next) -+ { -+ GdkPixbufFormat *format = l->data; -+ -+ if (g_str_equal (gdk_pixbuf_format_get_name (format), name)) -+ { -+ retval = TRUE; -+ break; -+ } -+ } -+ g_slist_free (formats); -+ -+ return retval; -+} -diff --git a/tests/test-common.h b/tests/test-common.h -new file mode 100644 -index 0000000..32ff35a ---- /dev/null -+++ b/tests/test-common.h -@@ -0,0 +1,33 @@ -+/* -*- Mode: C; c-basic-offset: 2; -*- */ -+/* GdkPixbuf library - test loaders -+ * -+ * Copyright (C) 2014 Red Hat, Inc. -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License as published by -+ * the Free Software Foundation; either version 2 of the License, or -+ * (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program; if not, write to the Free Software -+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -+ * -+ * Author: Matthias Clasen -+ */ -+ -+#ifndef __TEST_COMMON_H__ -+ -+#include <glib.h> -+ -+G_BEGIN_DECLS -+ -+gboolean format_supported (const gchar *filename); -+ -+G_END_DECLS -+ -+#endif /* __TEST_COMMON_H__ */ --- -cgit v0.9.2
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.7.bb renamed from meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb +3 -4
@@ -4,7 +4,7 @@ BUGTRACKER = "https://bugzilla.gnome.org/" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ - file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=5066b71daefeff678494fffa3040aba9" + file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=72b39da7cbdde2e665329fef618e1d6b" SECTION = "libs"
@@ -17,12 +17,11 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ file://hardcoded_libtool.patch \ file://extending-libinstall-dependencies.patch \ file://run-ptest \ - file://tests-check.patch \ file://fatal-loader.patch \ " -SRC_URI[md5sum] = "81161cc895eb43afd9ae7354b87e2261" -SRC_URI[sha256sum] = "c229c53f59573eab9410b53690a4b9db770312c80a4d84ecd6295aa894574494" +SRC_URI[md5sum] = "1195d26f14adfe99ff0878d37678a70a" +SRC_URI[sha256sum] = "0aafc365eab1083a53f15e4828333b968219ffcb1a995ac6289c0147c9ffad06" inherit autotools pkgconfig gettext pixbufcache ptest
Signature · 1 line
1.7.10.4
Re: [PATCH 3/7] freetype: upgrade to 2.5.3
In reply to Ross BurtonQuoted 2 lines · Ross Burton
Also drop the redundant definition of S.
There seems to be a problem with this update, both native and target fail as follows:
Quoted 8 lines
| /bin/grep: /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory | sed: can't read /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory | x86_64-poky-linux-libtool: link: `/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la' is not a valid libtool archive | make: *** [/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/freetype-2.5.3/objs/libfreetype.la] Error 1 | ERROR: oe_runmake failed | WARNING: /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/run.do_compile.17097:1 exit 1 from | exit 1 | ERROR: Function failed: do_compile (log file is located at /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/log.do_compile.17097)
Sau!
Quoted 31 lines
Signed-off-by Ross Burton <[email protected]>--- .../freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-)rename meta/recipes-graphics/freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} (89%)
meta/recipes-graphics/freetype/freetype_2.5.3.bb renamed from meta/recipes-graphics/freetype/freetype_2.5.2.bb +3
-7@@ -13,13 +13,9 @@ LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=c017ff17fc6f0794adf93db5559ccd56 SECTION = "libs" -SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ -" - -SRC_URI[md5sum] = "10e8f4d6a019b124088d18bc26123a25" -SRC_URI[sha256sum] = "4ff4bd393aa01071ec7b849d035508a505a78f88b2bcf25ff11e58e43c0b9def" - -S = "${WORKDIR}/freetype-${PV}" +SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2" +SRC_URI[md5sum] = "d6b60f06bfc046e43ab2a6cbfd171d65" +SRC_URI[sha256sum] = "c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e" inherit autotools-brokensep pkgconfig binconfig multilib_header
Re: [PATCH 3/7] freetype: upgrade to 2.5.3
Quoted 7 lines · Saul Wold
Quoted 2 lines · Ross Burton
Also drop the redundant definition of S.
There seems to be a problem with this update, both native and target fail as follows:
Forgot to mention, I am using MUT with GCC 4.9 Compiler, not sure if that's part of the issue.
Sau!
Quoted 62 lines
Quoted 11 lines
|
/bin/grep:/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No
such file or directory
| sed: can't read/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No
such file or directory
| x86_64-poky-linux-libtool: link:
`/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la'
is not a valid libtool archive
| make: *** [/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/freetype-2.5.3/objs/libfreetype.la]Quoted 9 lines
Error 1
| ERROR:oe_runmakefailed
| WARNING:/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/run.do_compile.17097:1exit 1 from
| exit 1
| ERROR: Function failed:do_compile(log file is located at/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/log.do_compile.17097)Sau!
Quoted 37 lines
Signed-off-by Ross Burton <[email protected]>--- .../freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-)rename meta/recipes-graphics/freetype/{freetype_2.5.2.bb =>
freetype_2.5.3.bb} (89%)meta/recipes-graphics/freetype/freetype_2.5.3.bb renamed from meta/recipes-graphics/freetype/freetype_2.5.2.bb +0
-0@@ -13,13 +13,9 @@ LIC_FILES_CHKSUM ="file://docs/LICENSE.TXT;md5=c017ff17fc6f0794adf93db5559ccd56
SECTION = "libs"
meta/recipes-graphics/freetype/freetype_2.5.3.bb renamed from meta/recipes-graphics/freetype/freetype_2.5.2.bb +0
-5-SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ -" - -SRC_URI[md5sum] = "10e8f4d6a019b124088d18bc26123a25" -SRC_URI[sha256sum] ="
4ff4bd393aa01071ec7b849d035508a505a78f88b2bcf25ff11e58e43c0b9def"meta/recipes-graphics/freetype/freetype_2.5.3.bb renamed from meta/recipes-graphics/freetype/freetype_2.5.2.bb +3
-2- -S = "${WORKDIR}/freetype-${PV}" +SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2" +SRC_URI[md5sum] = "d6b60f06bfc046e43ab2a6cbfd171d65" +SRC_URI[sha256sum] ="
c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e"inherit autotools-brokensep pkgconfig binconfig
multilib_header
Re: [PATCH 3/7] freetype: upgrade to 2.5.3
In reply to Saul WoldOp 14 mei 2014, om 06:28 heeft Saul Wold <[email protected]> het volgende geschreven:
Quoted 14 lines · Ross Burton
Quoted 2 lines
Also drop the redundant definition of S.
There seems to be a problem with this update, both native and target fail as follows:
Quoted 8 lines
| /bin/grep: /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory | sed: can't read /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory | x86_64-poky-linux-libtool: link: `/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la' is not a valid libtool archive | make: *** [/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/freetype-2.5.3/objs/libfreetype.la] Error 1 | ERROR: oe_runmake failed | WARNING: /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/run.do_compile.17097:1 exit 1 from | exit 1 | ERROR: Function failed: do_compile (log file is located at /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/log.do_compile.17097)
I noticed the same this morning, but a build from scratch (no sstate or sysroots) seems to get past this. It's still running, but do_package_write_ipk has succeed for freetype.
regards,
Koen
Quoted 42 lines
Sau!
Quoted 31 lines
Signed-off-by Ross Burton <[email protected]>--- .../freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) rename meta/recipes-graphics/freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} (89%)meta/recipes-graphics/freetype/freetype_2.5.3.bb renamed from meta/recipes-graphics/freetype/freetype_2.5.2.bb +3
-7@@ -13,13 +13,9 @@ LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=c017ff17fc6f0794adf93db5559ccd56 SECTION = "libs" -SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ -" - -SRC_URI[md5sum] = "10e8f4d6a019b124088d18bc26123a25" -SRC_URI[sha256sum] = "4ff4bd393aa01071ec7b849d035508a505a78f88b2bcf25ff11e58e43c0b9def" - -S = "${WORKDIR}/freetype-${PV}" +SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2" +SRC_URI[md5sum] = "d6b60f06bfc046e43ab2a6cbfd171d65" +SRC_URI[sha256sum] = "c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e" inherit autotools-brokensep pkgconfig binconfig multilib_headerSignature · 4 lines
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 3/7] freetype: upgrade to 2.5.3
Quoted 17 lines · Koen Kooi
Op 14 mei 2014, om 06:28 heeft Saul Wold <[email protected]> het volgende geschreven:
Quoted 14 lines · Ross Burton
Quoted 2 lines
Also drop the redundant definition of S.
There seems to be a problem with this update, both native and target fail as follows:
Quoted 8 lines
| /bin/grep: /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory | sed: can't read /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory | x86_64-poky-linux-libtool: link: `/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la' is not a valid libtool archive | make: *** [/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/freetype-2.5.3/objs/libfreetype.la] Error 1 | ERROR: oe_runmake failed | WARNING: /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/run.do_compile.17097:1 exit 1 from | exit 1 | ERROR: Function failed: do_compile (log file is located at /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/log.do_compile.17097)
Quoted 3 lines
I noticed the same this morning, but a build from scratch (no sstate or sysroots) seems to get past this. It's still running, but
do_package_write_ipkhas succeed for freetype.
Its an odd error, why would a build of freetype be looking into the sysroot for a freetype.la file?
Its as if there is some kind of bad state in the sysroot referring to the freetype.la file, I'm not sure what would do that though and why freetype would pull it in...
Cheers,
Richard
Re: [PATCH 3/7] freetype: upgrade to 2.5.3
Quoted 2 lines · Richard Purdie
Its an odd error, why would a build of freetype be looking into the sysroot for a freetype.la file?
Someone on oe-devel hit this too and I noticed it was looking in the sysroot, which I didn't spot when Saul first encounted this error.
Freetype now has an optional dependency on harfbuzz, but harfbuzz depends on freetype. The changelog implies this is opt-in but I suspect it's automatically detected, which is why we're hitting this breakage. I'll replicate and force-disable the harfbuzz linking in freetype if that's the problem.
Ross