summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0
AgeCommit message (Collapse)Author
2020-04-05glib-2.0: Backport GMainContext fixesDaniel Gomez
Backport fixes introduced in 2.63.6 for memory leaks and memory corruption in GMainContext Upstream merge: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1353 Fixes SIGSEGV in GStreamer: Thread 2 "multihandlesink" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff6bb9700 (LWP 18045)] 0x00007ffff7d65992 in g_source_unref_internal (source=0x7ffff00047d0, context=0x55555561c800, have_lock=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:2146 2146 ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c: No such file or directory. (gdb) bt #0 0x00007ffff7d65992 in g_source_unref_internal (source=0x7ffff00047d0, context=0x55555561c800, have_lock=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:2146 #1 0x00007ffff7d65bb6 in g_source_iter_next (iter=iter@entry=0x7ffff6bb8db0, source=source@entry=0x7ffff6bb8da8) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:980 #2 0x00007ffff7d67ef3 in g_main_context_prepare (context=context@entry=0x55555561c800, priority=priority@entry=0x7ffff6bb8e30) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:944 #3 0x00007ffff7d6896b in g_main_context_iterate (context=context@entry=0x55555561c800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:3900 #4 0x00007ffff7d68b4c in g_main_context_iteration (context=0x55555561c800, may_block=may_block@entry=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:3981 #5 0x00007ffff6be4482 in gst_multi_socket_sink_thread (mhsink=0x555555679ab0 [GstMultiSocketSink]) at ../../../gst-plugins-base-1.14.4/gst/tcp/gstmultisocketsink.c:1164 #6 0x00007ffff7d8fb35 in g_thread_proxy (data=0x55555565c770) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gthread.c:784 #7 0x00007ffff7841ebd in start_thread (arg=<optimized out>) at pthread_create.c:486 #8 0x00007ffff7aa12bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 #8 0x00007ffff7aa12bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 (From OE-Core rev: 62eb45e6455df99b0c8b61bfb90858bb656bd724) Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24glib-2.0: update ptest multilib fixJeremy Puhlman
The updates to the tests are done in do_install instead of do_install_ptest, so the changes need to consider ptest not being turned on. (From OE-Core rev: 6baaf3a530d5e4d6015c1dc53a2849a20bafafe4) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12glib-2.0: Correct multilib conflictJeremy Puhlman
(From OE-Core rev: c82076d68bc95b6f9e3f125bba44b4dbaee444bf) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-19glib-2.0: add dependencies to fix ptest failuresMingde (Matthew) Zeng
There are a number of ptest failures due to executables not found in the image. Since these executables are in FILES_${PN}-dev, depending all of -dev which is an overkill. We take them out of -dev and put in -utils, then depend on the latter instead. When starting a glib ptest but decided to Ctrl-c interrupt midway, ./run-ptest cannot be restarted unless running `userdel glib2-test` manually. Therefore adding a check prior to ptest will ensure the ptest can be restarted. (From OE-Core rev: b649cf5c09a45df2df9a8f8f0920c6dfb07b8d76) Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-16glib: disable a failing ptestAlexander Kanavin
The test needs resources that are built by glib using hardcoded host tools, that was already disabled, so this patch adds disabing the test that relies on those resources. (From OE-Core rev: f3d7b605bac2d2a7a11f4079f57f410a6092c49e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-16glib-2.0: Fix hardcoded paths with dots in namesAlex Kiernan
b4087338be09 ("glib-2.0: Fix hardcoded paths in checksums") fixed embedded paths in task hashes, but if these paths included dots then these were flattened when COREBASE was computed. Fix this by resolving our filenames before replacing the path segments with COREBASE. (From OE-Core rev: 05c514bfdd0f3201f6a516c9dc93dff0592e23db) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-11glib-2.0: Fix hardcoded paths in checksumsRichard Purdie
The expansion by this function, recently added by the meson site handling code was causing hardcoded paths to become embedded in the tash hashes. Avoid this (and hence avoid eSDK failures which exposed this). (From OE-Core rev: 83899aad423cd36cea7ab2ea210feae5b3359823) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-11glib: support target/os/libc-specific Meson cross filesRoss Burton
Build systems have a common problem that some tests can only be done by executing a piece of test code (compared to just compiling or linking test code). In a cross-compilation the execution of this code isn't possible and the Meson solution to this is to allow 'cross properties' to be specified in the cross files. GLib has a number of these, for example determining the direction the stack grows, whether /proc/self/cmdline exists, or the behaviour of snprintf(). Previously we'd passed values for these to the Glib build for target builds, but this misses out nativesdk builds (which are also cross-compiled) and the fact that some of these values are specific to the platform, some are specific to the host OS, and some are specific to the libc implementation. This problem has already been solved for autotools with the siteinfo class, which turns the target platform/OS/libc variables into filenames (such as common common-linux common-glibc). We can look for these in FILESDIR and use them as cross files. Assuming that there are no problems with this appoach it can be moved into meson.bbclass so that all Meson recipes can use it for their cross files. (From OE-Core rev: 5acd9cbc9d5c6355010775250fb25f043441c5cd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-06glib: set missing cross propertyRoss Burton
GLib 2.60 onwards checks for /proc/self/cmdline instead of assuming that it exists on Linux (because Cygwin also has it). As this is a runtime test it doesn't execute in cross builds so defaults to false, but under Linux this should be true. Restore the previous behaviour and silence the warning by setting the cross property appropriately. (From OE-Core rev: c308116fb7787794512c3153503ddf9da71803a8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-03glib-2.0: upgrade 2.62.3 -> 2.62.4Wang Mingyu
(From OE-Core rev: b4c7b1ea43834fff618e8321537cd224c72a7055) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-09glib-2.0: update to 2.62.3Alexander Kanavin
(From OE-Core rev: 2800abbcbd6f3741ceb9ab29371753de1cbc02e6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-21glib-2.0: upgrade 2.62.1 -> 2.62.2Anuj Mittal
(From OE-Core rev: 5cf40fd1b3f004bd796d220c125271f245065605) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-21distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, ↵Denys Dmytriyenko
rename Besides checking DISTRO_FEATURES for required or conflicting features, being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also be useful at times. Temporarily support the old class name with a warning about future deprecation. (From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-15glib-2.0: Fix build with clang compilerKhem Raj
(From OE-Core rev: 0ad21fe63f6873805762880cca4c37dbe71ee473) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-15glib-2.0: upgrade to 2.62.1Alexander Kanavin
Drop backported 0001-meson-do-a-build-time-check-for-strlcpy-before-attem.patch and 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch where upstream has removed the problematic bit. (From OE-Core rev: 5a0de7b1ee37d52f3bf013301030a2679a8c0a9f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-19glib-2.0: Upgrade 2.60.6 -> 2.60.7Adrian Bunk
(From OE-Core rev: 1975c05b60fec0e012d4a23e3785acec9e976951) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-31glib-2.0:upgrade 2.60.5 -> 2.60.6Yuan Chao
(From OE-Core rev: b5ab6ec534bfed8abd56a32296ae246fd9545e0a) Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19glib-2.0: upgrade 2.60.4 -> 2.60.5Anuj Mittal
Changes: https://github.com/GNOME/glib/blob/glib-2-60/NEWS (From OE-Core rev: 7ab3b3d57df1bddf2241b75ae6ebec29ea288502) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28glib-2.0: Update to 2.60.4Peter Kjellerstedt
* For changes, see: https://gitlab.gnome.org/GNOME/glib/blob/glib-2-60/NEWS * Remove backported CVE-2019-12450.patch. (From OE-Core rev: 82714d374744d55f57d48fd08971e8b952a7bcdd) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21glib-2.0: Fix CVE-2019-12450Joe Slater
Unchanged patch from glib.git which was added after current release. (From OE-Core rev: 59ded76363aec9289a007baca52a33b463e02e47) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19glib-2.0: fix host path appearing in gsocketclient-slow test scriptRoss Burton
Glib's build looks for the 'env' binary and embeds that path into the test script, but thanks to hosttools this is /path/to/tmpdir/hosttools/env. Fix this by hardcoding the path to env in the cross file. Also as the cross file is only used in target builds only add it to SRC_URI for target builds, so that changes to the cross file don't cause a rebuild of glib-2.0-native. (From OE-Core rev: 05c9fb5a026e3006a1fc037f957cb4341fb55030) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08glib-2.0: udpate 2.58.3 -> 2.60.3Alexander Kanavin
Drop autotools-specific parts from patches, as all autotools files have been removed upstream (meson is now the only option). Remove autotools-specific 0001-Revert-Use-absolute-paths-in-pkg-config-files.patch Remove backported fix-nl-abaltmon.patch Add a hunk to Enable-more-tests-while-cross-compiling.patch which comments out the part of the tests that hard-codes native ld for building. (From OE-Core rev: c7479bfd5fad4b9ba2e4299048a0c432200a5204) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04glib-2.0: ptest fixesRichard Purdie
Add missing quotes in ptest runner. Without these it runs all gnome tests which is why the counts in my minimal image tests differed from those on the main autobuilder core-image-sato runs. Also fix an error showing in the ptest logs where invalid options were being passed to busybox du. (From OE-Core rev: dc0c916e610297063821450761c17e10c53bb4dd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-17glib-2.0: add missing libgcc dependency to glib-2.0-ptestRoss Burton
The thread tests need libgcc for pthread_cancel to work. (From OE-Core rev: 0563003fea0ff432e61f7361fa8c1524ffbc925a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15glib-2.0: fix last failing ptestRoss Burton
Upstream glib don't really actually test the test suite with modern glibc and all the locales present so we're finding a number of bugs. Backport another fix from upstream to fix the test data with modern glibc. (From OE-Core rev: b2832df86b5218954c63b01595620fe8cf7ec921) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12glib-2.0: add missing locales for the testsRoss Burton
Some tests are either failing or skipping due to missing locales. (From OE-Core rev: a7e57e44fefcbc7ca377e310bb295c34faa6874d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12glib-2.0: fix locale handlingRoss Burton
A bug upstream resulted in broken locale handling with the new glibc we have, so the test suite was failing. (From OE-Core rev: 8331008bc5b8c97469301701e4bd899610989198) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25gtk-doc.bbclass: unify option setting for meson-based recipesAlexander Kanavin
This is done similarly to gobject-introspection work by Andreas Müller, and allows dropping duplicate clutter from the recipes. (From OE-Core rev: ff578f4451a0a199202e576b647840910b4d3f59) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29glib: do a build check for strlcpy before runtimeRoss Burton
There's no need to do a runtime check for the behaviour of strlcpy if it doesn't even exist. (From OE-Core rev: 2b6c855737afbf2b0f2baa1b14029f8ddc37e9ed) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29glib: set glib-specific cross propertiesRoss Burton
GLib wants to execute code to identify several properties of the system, for example is vsprintf() broken and what direction does the stack grow. In cross-compiled environments these fallback to the default values which are not always correct (our vsprintf() is fine, but the test assumes it isn't) so set these properties explicitly. Ideally this happens magically by meson.bbclass using the same logic as siteinfo.bbclass, but we need to fix glib now. (From OE-Core rev: e04e0a20cab04966698c50dc79195a8f159248d3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26run-ptest: use error handling for useradd and userdelAditya Tayade
Error handling in shell scripts is too easy to forget and get wrong. It is possible to check every external command for return values but it is better to use a generic setting which halts execution of the script on any failures. Upstream-Status: Pending (From OE-Core rev: 4868de2e67bd304e41ac2158ccfcb166cfe16242) Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-18glib-2.0: clean up EXTRA_OEMESONRoss Burton
Instead of spreading the ptest enabling over the recipe, just add a PACKAGECONFIG to enable the installed tests. Whether this is enabled respects PTEST_ENABLED by default, so it always disabled in native and nativesdk builds. This means we can remove the conditional dependency on dbus, all the conditional enabling of installed tests, and clean up EXTRA_OEMESON. (From OE-Core rev: 1e7c83c67c4a6e1ba61da5ffbf66dc0980624948) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-28default-distrovars: Drop DISTRO_FEATURES_LIBCKhem Raj
After eglibc was merged into glibc, Kconfig support was also dropped so these libc features therefore are not effective anymore and can be removed (From OE-Core rev: c62b1cc06613a4cdddf53290e6203559f43fc62d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-25glib-2.0: convert from autotools to mesonAlexander Kanavin
PRINTF settings no longer seem necessary (tested with mingw). Add meson-specific bits to Enable-more-tests-while-cross-compiling.patch and 0001-Install-gio-querymodules-as-libexec_PROGRAM.patch Add 0001-Set-host_machine-correctly-when-building-with-mingw3.patch to allow 'mingw32' as target machine in addition to 'windows'. Add 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch to correct ARM build errors. Drop configure-libtool.patch (autotools-specific). Fix API docs generation (From OE-Core rev: e185235dd97510bfdc621cef9c18d8d13b16006d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-18glib-2.0: Improve shared-mime-info dependency handlingRichard Purdie
This cleans up the handling of the dependency and gets rid of a use of remove which should never be needed in OE-Core. (From OE-Core rev: 93c6e5023d74bf6fae8e3a70afd9dca6b1ab555a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-17glib-2.0-native: Break circular dependency on shared-mime-utilsRichard Purdie
If we fix native RDEPENDS handling, it exposes a problem where there is a circular dependency between shared-mime-utils and glib-2.0-native. Break this dependency in the -native case. (From OE-Core rev: d2616aa222e98fa1bc6f0b7892ad358642144be1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-16glib-2.0: upgrade 2.58.0 -> 2.58.3Anuj Mittal
* For changes, see: https://gitlab.gnome.org/GNOME/glib/blob/glib-2-58/NEWS * Upstreamed patch removed: date-lt.patch * Tweaked another to remove a hunk trying to find a binary from glib-2.0-native which isn't needed anymore as the code is in python now. * Add locale-base-pl-pl to RDEPENDS for ptest as the fix has been resolved and merged. * Remove libdir INSANE_SKIP for ptest package. The only libs present here are in libexecdir which is allowed by the check. * Revert an upstream patch for now that had changed the behavior of pkg-config files to use absolute paths which results in build failures. (From OE-Core rev: cb624e18851af2e2e2bf48c46f0571bce53c25f6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-05packages: respect PACKAGE_NO_GCONVKai Kang
PACKAGE_NO_GCONV is set in libc-package.bbclass if not all of 'libc-charsets libc-locale-code libc-locales' included in DISTRO_FEATURES. And then no packages glibc-gconv-* glibc-charmap-* and glibc-localedata-* is created. Update recipes and conf file which depend on these packages to check required distro features. (From OE-Core rev: 58446992de0f16a345f1f55b66d0d34d31dc341b) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-14glib.inc: drop duplicate locale-base-fr-fr runtime dependencyMartin Jansa
(From OE-Core rev: 7535797e0df1e5f88d8b4bf251e6eab3279707d6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-10glib-2.0: add missing locale dependencies to PN-ptestRoss Burton
The test suite skips several tests if the required locales are not found, so add them as dependencies of glib-2.0-ptest. (From OE-Core rev: b9317997bd4527b7873eb4f903cc4890b5b3580f) (From OE-Core rev: f1c122fdc14624a659f8d4b07e1ff1f21e472e50) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-10glib: fix Lithuanian strings in GDate test suiteRoss Burton
This test suite has hard-coded strings which don't match the new translations in glibc 2.28, so update the test suite. (From OE-Core rev: e1fa8611de2df3a1a15ae795c34f32e4e7fdbc79) (From OE-Core rev: fe3eb823cded89acb123308e56a5c888ffa1409b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-09glib-2.0: Include the complete license information for pcrePeter Kjellerstedt
For some reason, the copyright part was left out of the license information for pcre in LIC_FILES_CHKSUM, preventing it from being used in, e.g., documentation to satisfy the requirements of the license. Also drop pcre/COPYING from LIC_FILES_CHKSUM as it does not really contain any licensing information, it only refers to a LICENSE file that does not exist. License-Update: Include the complete license information for pcre (From OE-Core rev: 2f5a7e7a04cbdc75d1b9607903889b1fd6c5e1ba) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-25glib-2.0: Drop allow /run/media for root patchAlex Kiernan
Upstream implemented an equivalent fix in: c672fcc0a8d6 ("gunixmounts: Allow root to display mounts under /run/media/$username") As a result, this change is completely broken when running as root, as user_name is unitialised when testing strcmp(user_name, "root") so just segfaults. (From OE-Core rev: 547e81b678a616ebbdf2e5cc86e918966fafb894) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-10glib: update to 2.58.0Alexander Kanavin
Drop upstreamed patches, refresh the rest. Add an explicit dependency on gettext-native, as glib is no longer fooled by setting msgfmt to /bin/false. (From OE-Core rev: 79d229e8be892cc0bd36fe9f71ac4671cc34aa82) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-28glib: remove unnecessary dependency to DISTRO_FEATURESSamuli Piippo
Since DISTRO_FEATURES was expanded in the comments, it created task dependency to the full content of DISTRO_FEATURES, instead of just the x11 used below. This prevented reuse of sstate-cache when unrelated feature flags were changed. (From OE-Core rev: a39830b77f567e2361f1ced49bfdce52591e220c) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15glib: add PACKAGECONFIG for libelfRoss Burton
gresource-tool has optional support for using libelf to extract resources from ELF files, so add a PACKAGECONFIG in case someone wants this. (From OE-Core rev: 93f08a036343d4df1aefe9793a7a9ab5b296f5b5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04glib-2.0: update to 2.56.1Alexander Kanavin
Remove upstreamed ptest-paths.patch (From OE-Core rev: 772e6c566b1ba1d27895d78db1d082b3458f41fe) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04glib: Make glib-mkenums ignore unknown per value optionsPeter Kjellerstedt
If some other per value option was present than 'skip' or 'nick' then a KeyError would occur. Ignoring such options matches the behaviour of the old, Perl-based glib-mkenums. (From OE-Core rev: ca6c82255fbf0ce359b6205c442e165219a3216e) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-20glib-2.0/glib.inc: fix broken mingw buildJuro Bystricky
mingw build was broken by the commit: "glib-2.0/glib.inc: apply MLPREFIX renaming to all package classes" When building for mingw, we encounter build errors such as: mv: cannot stat '<builddir>/<...>/usr/libexec/gio-querymodules': No such file or directory The mingw file that exists is "gio-querymodules.exe" instead of "gio-qeurymodules". The fix is to append the names of executables by an OS specific EXEEXT. [YOCTO #12679] (From OE-Core rev: 1f53140528d79c38d4f3a82cd0a03bd0ddc87275) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05glib-2.0/glib.inc: apply MLPREFIX renaming to all package classesAlexander Kanavin
Now that we have postinst intercept execution working for SDK generation, adding MLPREFIX again makes sense in all cases, as the intercepts do require that it is there. This reverts commit 4ffb728df4bdf21daef31d89cfa5771eaf0d90f8. (From OE-Core rev: 0792540170b6150a0c5fe8586bb8012affc3f90e) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>