summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib.inc
Commit message (Collapse)AuthorAgeFilesLines
* glib-2.0: udpate 2.58.3 -> 2.60.3Alexander Kanavin2019-06-081-1/+1
| | | | | | | | | | | | | | | | | 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>
* glib-2.0: ptest fixesRichard Purdie2019-06-041-0/+1
| | | | | | | | | | | | | 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>
* glib-2.0: add missing libgcc dependency to glib-2.0-ptestRoss Burton2019-05-171-0/+1
| | | | | | | | | 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>
* glib-2.0: add missing locales for the testsRoss Burton2019-05-121-0/+10
| | | | | | | | | 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>
* gtk-doc.bbclass: unify option setting for meson-based recipesAlexander Kanavin2019-04-251-5/+1
| | | | | | | | | | 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>
* glib: set glib-specific cross propertiesRoss Burton2019-03-291-0/+1
| | | | | | | | | | | | | | | | 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>
* glib-2.0: clean up EXTRA_OEMESONRoss Burton2019-03-181-8/+5
| | | | | | | | | | | | | | 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>
* default-distrovars: Drop DISTRO_FEATURES_LIBCKhem Raj2019-02-281-2/+0
| | | | | | | | | | | 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>
* glib-2.0: convert from autotools to mesonAlexander Kanavin2019-02-251-14/+27
| | | | | | | | | | | | | | | | | | | | | | 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>
* glib-2.0: Improve shared-mime-info dependency handlingRichard Purdie2019-02-181-3/+5
| | | | | | | | | 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>
* glib-2.0-native: Break circular dependency on shared-mime-utilsRichard Purdie2019-02-171-0/+1
| | | | | | | | | | | 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>
* glib-2.0: upgrade 2.58.0 -> 2.58.3Anuj Mittal2019-02-161-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* packages: respect PACKAGE_NO_GCONVKai Kang2018-12-051-1/+3
| | | | | | | | | | | | | 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>
* glib.inc: drop duplicate locale-base-fr-fr runtime dependencyMartin Jansa2018-10-141-1/+0
| | | | | | | (From OE-Core rev: 7535797e0df1e5f88d8b4bf251e6eab3279707d6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add missing locale dependencies to PN-ptestRoss Burton2018-10-101-0/+14
| | | | | | | | | | | | 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>
* glib-2.0: Include the complete license information for pcrePeter Kjellerstedt2018-10-091-2/+1
| | | | | | | | | | | | | | | | | 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>
* glib: update to 2.58.0Alexander Kanavin2018-09-101-2/+2
| | | | | | | | | | | 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>
* glib: remove unnecessary dependency to DISTRO_FEATURESSamuli Piippo2018-06-281-1/+1
| | | | | | | | | | | | 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>
* glib: add PACKAGECONFIG for libelfRoss Burton2018-06-151-1/+2
| | | | | | | | | | 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>
* glib-2.0/glib.inc: fix broken mingw buildJuro Bystricky2018-04-201-1/+4
| | | | | | | | | | | | | | | | | | | 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>
* glib-2.0/glib.inc: apply MLPREFIX renaming to all package classesAlexander Kanavin2018-04-051-5/+5
| | | | | | | | | | | | | 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>
* glib: no need to depend on python3nativeRoss Burton2018-03-041-1/+1
| | | | | | | | | | The glib build doesn't appear to use python3native, so remove it to streamline build dependencies. (From OE-Core rev: e3a68ae0477f527b13a9551f9b0ecad4f37130a9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix EXTRA_OECONF append for PTESTMartin Hundebøll2018-01-191-1/+1
| | | | | | | | | | | | | | The order of '_append' and '_<override>' matters: '_append' must be before overrides to have any effect. Fix this in glib-2.0, so that EXTRA_OECONF is appended instead of overwritten. (From OE-Core rev: d5f108349c0c052347b46fb7a8ed30fdec2b15c2) Signed-off-by: Martin Hundebøll <mnhu@prevas.dk> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib: improve gettext enabling/disablingRoss Burton2018-01-191-0/+4
| | | | | | | | | | | As we only seed gettext's msgfmt as /bin/false for native builds, explicitly set USE_NLS to yes in the recipe (as it was previously) for targeget and nativesdk builds. (From OE-Core rev: 1b1f382af69a2d63f2ddd526cde430fb68c9ca6e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib: remove gettext-native dependency for native buildsRoss Burton2018-01-141-2/+1
| | | | | | | | | | | | | | | | | By removing gettext-native as a build dependency in glib-2.0-native we can delay the build of gettext-native further. The gettext class will add the dependency for target builds. Don't forcibly set USE_NLS=yes so that NLS support is supposedly disabled in native builds. GLib will then force it back on, but we shouldn't be using it in any other native recipes so seed the autoconf cache so GLib will run /bin/false instead of msgfmt. Quite a kludge, but it works and should fail obviously if the kludge stops being sufficient. (From OE-Core rev: 1ef45d377519983df827650cd0913e0d2c8a785b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: rationalise build dependenciesRoss Burton2018-01-111-5/+8
| | | | | | | | | | | | | | nativesdk-glib-2.0 doesn't build-depend on nativesdk-gettext, but all variations need to depend on gettext-native as they need msgfmt (so gettext-minimal-native isn't an option). Also add virtual/libintl as glib explicitly needs this. Generally this is provided by glibc but some platforms (such as MinGW) don't. (From OE-Core rev: 8b0ca0cb54c91611213556bdb99316d5e7ac5b3b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Remove python3 modules when building for mingwAlistair Francis2018-01-051-5/+4
| | | | | | | | | | | | Commit "glib-2.0: Add python3 modules required by gdbus-codegen" (26af3b4b33a34d7e53059b07236f9d5aae5e004a) broke the MinGW build of QEMU. To fix the build remove the python3 RDEPENDS for gdbus-codegen when targeting mingw. (From OE-Core rev: 22495951d4caaaf1ead219be8cfad3311cebebff) Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Add python3 modules required by gdbus-codegenJef Driesen2018-01-021-0/+6
| | | | | | | | | | | The gdbus-codegen tool depends on python3, python3-distutils and python3-xml at runtime. But because these dependencies are not stated in the yocto recipe, those python modules are not automatically included in the SDK. (From OE-Core rev: 26af3b4b33a34d7e53059b07236f9d5aae5e004a) Signed-off-by: Jef Driesen <jef.driesen@niko.eu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update to 2.54.2Alexander Kanavin2017-11-301-11/+5
| | | | | | | | | | | | | | | | LGPL version has been updated from 2.0 to 2.1, adjust the checksums accordingly. Rebase various patches. A few tools have been rewritten from perl (or C) to python, so add a patch that avoids hardcoding the python path in the shebang, and remove previous patching with sed. (From OE-Core rev: eef7883587acc933d6f34b559ec03ff84d18573b) 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>
* glib-2.0: Remove recommend shared-mime-info for MinGWAlistair Francis2017-10-071-0/+2
| | | | | | | | | | | | | | | Commit glib-2.0: recommend shared-mime-info (51e4f9ca5368af5cefa26f4ca50b282e858982f8) broke compilation when cross compiling for Windows. This patch removes the recommendation for shared-mime-info when using MinGW cross compile. (From OE-Core rev: cc9d855660db27e82d1b37ab5d1820c556827635) Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Cc: Ross Burton <ross.burton@intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: recommend shared-mime-infoRoss Burton2017-09-111-0/+2
| | | | | | | | | | | | | | Large portions of GIO are not that useful without the MIME database. Add a recommends to shared-mime-info so that GIO works out of the box, but can be removed (using BAD_RECOMMENDATIONS) if shared-mime-info is too large and isn't required. [ YOCTO #11792 ] (From OE-Core rev: 51e4f9ca5368af5cefa26f4ca50b282e858982f8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib.inc: set CVE_PRODUCT to glibMikko Rapeli2017-07-241-0/+2
| | | | | | | | | | | | NVD uses product glib and vendor gnome for CVE's like: https://nvd.nist.gov/vuln/detail/CVE-2016-6855 (From OE-Core rev: 69d6342d45316389afb4b062088919689db0a6dd) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop remnants of uclibc supportRichard Purdie2017-06-221-1/+0
| | | | | | | | | | | | | | uclibc support was removed a while ago and musl works much better. Start to remove the various overrides and patches related to uclibc which are no longer needed. uclibc support in a layer would still be possible. I have strong reasons to believe nobody is still using uclibc since patches are missing and I doubt the metadata even parses anymore. (From OE-Core rev: 653704e9cf325cb494eb23facca19e9f05132ffd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Upgrade 2.50.3 -> 2.52.2Jussi Kukkonen2017-06-031-0/+1
| | | | | | | | | | Remove upstreamed patches (thanks Ross). (From OE-Core rev: 2fffd85e0799deab09e32af65c524498b140749d) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: improve determinism for GIO ptestsRoss Burton2017-03-111-0/+4
| | | | | | | | | | | Previously the GIO tests would be built or not depending on whether the host had a dbus-daemon binary available. Fix this by seeding the AC_CHECK_PROGS check with the right value, and adding a RDEPENDS for dbus-daemon on the target. (From OE-Core rev: 1944c9a1764105c15844c7dbf1d430389c02b631) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0/glib.inc: If 'charset.alias' exists drop itNathan Rossi2017-03-011-4/+4
| | | | | | | | | | | | Delete the 'charset.alias' file during the do_install task if it exists. This file is not shipped in any packages and on the targets that it is generated (musl and mingw32) it is undesired. (From OE-Core rev: ba69323b58071593fa917bf902314eb6eace25a8) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0/glib.inc: Only apply MLPREFIX renaming to class-targetNathan Rossi2017-03-011-5/+5
| | | | | | | | | | | | | When renaming the 'gio-querymodules' binary to prefix with the current MLPREFIX, only do this for target packages where the MLPREFIX makes sense. This skips renaming for nativesdk targets which have MLPREFIX set to 'nativesdk-'. (From OE-Core rev: a84ac3667d8b216164b80c88866325908c5ad98f) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: native package should not depend on DISTRO_FEATURESGary Thomas2017-02-051-5/+9
| | | | | | | | | | | | | | | | xxx-native packages should not depend on ${DISTRO} settings. Doing so feels inherently wrong and limits the usefulness of sstate-cache. This patch changes how this package is installed, in particular removing the dependency on the ${DISTRO_FEATURES} variable in glib-2.0-native. This will further improve the ability to share native packages between builds with differences in ${DISTRO_FEATURES} (From OE-Core rev: ef2b49408f82daaf9bb72b3b339b70a48b9a134b) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Upgrade 2.48.2 -> 2.50.1Jussi Kukkonen2016-11-011-1/+2
| | | | | | | | | | | | | | | Six-monthly feature release. glib-2.0-utils now includes "gio" command line utility. Drop a patch that's now upstream. Add PACKAGECONFIG for libmount, enabled by default. (From OE-Core rev: 361dc9990fb5fc5604ba8e9d2f1188fd440e916d) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib: enable optional building of manpagesAlexander Kanavin2016-10-281-2/+3
| | | | | | | | (From OE-Core rev: e9c8421023b180b6533aa6f580044069538ecd22) 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>
* glib: disable valgrind support when compiling in mips16e modeAndré Draszik2016-07-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -msoft-float \ | -march=mips32r2 -mips16 -minterlink-compressed -mtune=24kec \ | -mdsp --sysroot=<sysroot> -DHAVE_CONFIG_H -I. \ | -I<glib>/glib -I.. -I.. -I../glib -I<glib>/glib -I<glib> \ | -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION \ | -DPCRE_STATIC -pthread -Wall -Wstrict-prototypes \ | -Werror=declaration-after-statement -Werror=missing-prototypes \ | -Werror=implicit-function-declaration -Werror=pointer-arith \ | -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs \ | -fvisibility=hidden -O2 -pipe -g -feliminate-unused-debug-types \ | -c <glib>/glib/gslice.c -fPIC -DPIC -o .libs/libglib_2_0_la-gslice.o | {standard input}: Assembler messages: | {standard input}:2485: Error: invalid operands `move $11,$8' | {standard input}:2487: Error: invalid operands `srl $0,$0,13' | {standard input}:2488: Error: invalid operands `srl $0,$0,29' | {standard input}:2489: Error: invalid operands `srl $0,$0,3' | {standard input}:2490: Error: invalid operands `srl $0,$0,19' | {standard input}:2491: Error: invalid operands `or $13,$13,$13' | Makefile:2076: recipe for target 'libglib_2_0_la-gslice.lo' failed The alternative would probably be to force compilation in normal mips mode for all of glib (as is done for armv4 and armv5). While that would retain the valgrind support, valgrind support itself shouldn't be needed on the target device, and we rather keep the mips16e mode. (From OE-Core rev: 50be6f861a6c1076ace0fdd3f4381706351987ba) Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, ↵Alexander Kanavin2016-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | STAGING_LIBDIR, PYTHON variables We patch Python's distutils modules to access STAGING_INCDIR/LIBDIR, so when they are not set, scripts that utilize distutils (e.g. python-config) fail. Several recipes need to export those manually to prevent such failures, so let's do that in the class instead. PYTHON variable is exported because otherwise autotools' python.m4 macro will pick up its own internal default, which may not be the version that we want. glib recipe in particular was previously using Python 2.x during build due to python.m4 defaulting to it - now it's using Python 3.x, and so needs a small fix in deletion of *.pyc files. (From OE-Core rev: c1e0eb62f2d89b10b187016200018830b1c77945) 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>
* glib: move to Python 3Alexander Kanavin2016-06-031-5/+3
| | | | | | | | | | Drop python-pygobject and python-dbus dependencies, because nothing in ptests depends on them, and it creates a circular dependency chain. (From OE-Core rev: 95840a416afd50dc6140367570f045c5128c94f4) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Upgrade 2.46.2 -> 2.48.1Jussi Kukkonen2016-05-171-1/+2
| | | | | | | | | | | | | | * Remove now unnecessary readlink patches and ignore-format-nonliteral-warning.patch * Port relocate-modules.patch * Add ${datadir}/gettext/its to FILES_${PN}-dev: this could be done in gettext.bbclass but so far glib is the first and only ITS rule installer (From OE-Core rev: c99e920a344b29e053781008faa0328f416fdcc4) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Put glib-compile-schemas back in -utilsJussi Kukkonen2016-04-121-1/+0
| | | | | | | | | | | | | | | Commit cc97d576 moved a bunch of development tools to the -dev package. glib-compile-schemas is actually used in postinst by gsettings.bbclass so it needs to be available on target at package install time: Move the tool back to glib-2.0-utils which gsettings.bbclass depends on. Fixes [YOCTO #9431]. (From OE-Core rev: 0baf3ff7867e95ae5f700ddd225c1bde6d5dfc38) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Fix packagingJussi Kukkonen2016-03-281-7/+13
| | | | | | | | | | | * move gdbus-codegen to ${PN}-codegen * move other development tools and data files to ${PN}-dev * remove references to non-existent paths (From OE-Core rev: 351064e9c5deb6411c8a0d40ebd4fd4f83299d4e) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gio-module-cache: Add class for Gio modulesJussi Kukkonen2016-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | The new class uses gio-querymodules tool on postinst and postrm. This regenerates the module cache which is useful to avoid loading modules that are not needed at runtime: If a Gio module is not listed in the cache file it will always get loaded. * Add a postinst-intercept 'gio-module-cache': it runs gio-querymodules using qemuwrapper. This is required because the tool actually loads the modules to generate the cache. * Add a gio-module-cache class that adds postinstall and postrm scripts. In the sysroot population case use the new intercept. * Inherit the new class in glib-2.0, glib-networking and gconf. Fixes [YOCTO #9241]. (From OE-Core rev: 168cf5502a2dda78348cc9679e37bed0c69c0208) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Install gio-querymodules in main packageJussi Kukkonen2016-03-281-2/+11
| | | | | | | | | | | | | gio-querymodules should be used whenever new Gio modules are installed (to regenerate the module cache) so it should be available by default. Each multilib is going to need its own variant (because the tool actually dlopens the modules when cache is generated), so it's packaged as ${libexecdir}/${MLPREFIX}gio-querymodules (From OE-Core rev: 832a499046e41be48fb035fa86df24589b94ada3) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: use the system libpcreRoss Burton2016-02-071-0/+4
| | | | | | | | | | Instead of using the internal copy of libpcre, use one that we build. Note that this requires libpcre enables Unicode properties. (From OE-Core rev: 365f4092070b2e7978b8db65298308f4e770a501) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5Andre McCurdy2016-01-301-1/+3
| | | | | | | | | | | | | | | The original over-ride dates back to 2007: http://git.openembedded.org/openembedded-core/commit/?id=fc5366261e12c100e18dc1d9ef0b86b91500e355 There are no obvious issues seen now when building glib-2.0 v2.46.2 in thumb2 for Cortex A15. (From OE-Core rev: 9563ee5d40fdcbb5e5f06872f4d0aa5b3b5c300e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>