summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0
Commit message (Collapse)AuthorAgeFilesLines
* glib-2.0: Ignore useless warning found with gcc-6Khem Raj2016-07-274-2/+128
| | | | | | | | | | | | | | | | | | | | | ../../glib-2.46.2/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral] tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm); ^~~~~~ | ../../../../../../../../workspace/sources/glib-2.0/glib/tests/gdatetime.c: In function 'test_strftime': | ../../../../../../../../workspace/sources/glib-2.0/glib/tests/gdatetime.c:1338:3: error: '%c' yields only last 2 digits of year in some locales [-Werror=format-y2k] | "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \ Additionally fix the problem seen where write() return code is ignored (From OE-Core rev: 3fdecff96dd7516605ec9248b2a39de4db81306f) (From OE-Core rev: 76271b5710e8d02d4ca0559cbf72c149f9beb4e2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.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-283-2/+43
| | | | | | | | | | | | | 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: relocate the GIO module directory for native buildsRoss Burton2016-03-122-1/+51
| | | | | | | | | | | | | | | Glib hard-codes the install path in search path for GIO modules, which causes problems when glib-2.0-native is restored from sstate with a different build directory. In the future we should relocate symbols directly using the same system that the eSDK uses, but for now use dladdr() to look up where the library was loaded from to build the search path. (From OE-Core rev: 0a009dbfff32566341b2888530423f90f1b3d945) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: silence warnings when parsing headers for introspectionRoss Burton2016-03-102-0/+60
| | | | | | | (From OE-Core rev: ae11f395121e071774b0da450b64bcc98908dd58) Signed-off-by: Ross Burton <ross.burton@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>
* glib-2.0: drop add-march-i486-into-CFLAGS-automatically.patchAndre McCurdy2016-01-302-40/+0
| | | | | | | | | | | | | | | | | | The reasoning behind this patch isn't clear. ${CC} should always contain appropriate -march flags. If the build is misconfigured somehow (or someone is trying to build for i386) then we want the configure scipt to generate an error, not to try to quietly try to fix it (adding -march=i486 to CFLAGS is potentially going to cause more problems than it solves). Since this patch is unlikely to ever be merged upstream and it's not helpful in any typical OE build, drop it rather than maintaining it. (From OE-Core rev: 9e107e356d0aab4999c4c50ca41ba81e168d77a2) 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>
* glib-2.0: refresh configure-libtool.patchAndre McCurdy2016-01-301-8/+14
| | | | | | | | | | | | | | | | | | | | | | Refresh configure-libtool.patch to replace one more instance of ./libtool in configure.ac, first introduced in v2.31.20: https://git.gnome.org/browse/glib/commit/?id=59ee6dbc004adda8c4e4c8ff58bf21a9173eb99f Fixes "./libtool: No such file or directory" warnings when running configure: | ... | checking for dlsym in -ldl... yes | ../glib-2.46.2/configure: line 25481: ./libtool: No such file or directory | checking for RTLD_GLOBAL brokenness... (cached) yes | ... (From OE-Core rev: c6f6f8b00c821de515b433ba598f231e0d8c65ca) 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>
* glib: use bash-completion.bbclassGeorge McCollister2016-01-301-4/+2
| | | | | | | | | | Use bash-completion.bbclass to package bash completions. (From OE-Core rev: 50f84bbf3cf340e0e98abb7994dd4eade4183078) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update to 2.46.2Alexander Kanavin2016-01-262-41/+2
| | | | | | | | | | Drop backported 0001-gio-tests-Don-t-depend-on-a-data-file-that-s-not-bui.patch (From OE-Core rev: de83a71d416a51caf5b8b0db9c9102689b2cce8b) 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: Fix locale location on muslKhem Raj2016-01-243-10/+16
| | | | | | | | | | | | | gettext.m4 macro does not detect musl triplets and falls back to ${libdir}/locale It ends up with lot of packging warning "files installed but not packaged" (From OE-Core rev: 6fae6a92cf3d9810dc68438f3b20913453812437) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix the ptestRoy Li2016-01-242-1/+9
| | | | | | | | | | | | | | | | | | 1. the ptest should not be run by root user, otherwise test_stdio_wrappers will failure since root can enter any dir without exec permission, but the ptest expect the failure 1_2.44.1-r0/glib-2.44.1/glib/tests/fileutils.c:864:test_stdio_wrappers: assertion failed: (errno == EACCES) 2. if X11 DISTRO_FEATURE is not enabled, not run gdbus-serialization.test #dbus-launch --autolaunch=7df84bc5a72041a581d2f44505e7e882 --binary-syntax --close-stderr Autolaunch requested, but X11 support not compiled in (From OE-Core rev: 9f79c1e0ebdbd300284ace3cb8d01d6ea98ba077) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add dependency glib-2.0-native backKai Kang2016-01-181-3/+3
| | | | | | | | | | | | | | | | It uses command glib-genmarshal to build glib-2.0 which is from glib-2.0-native. If the command doesn't exist on host, build fails with error: | /bin/sh: --prefix=test_marshal: command not found | make[4]: *** [testmarshal.c] Error 127 So add the dependency back. (From OE-Core rev: 86136f6013b216d8ee258783e5612c3cd0043a58) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop now pointless manual -dbg packagingRichard Purdie2015-12-161-3/+1
| | | | | | | | | With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. (From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split entries with odd-even versioning into their own recipesAlexander Kanavin2015-12-081-1/+1
| | | | | | | | (From OE-Core rev: 5ddaba1fb833d0408cef5f58f786513b9293c30a) 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: build dependency cleanupRoss Burton2015-11-251-3/+3
| | | | | | | | | | | New GLib doesn't require glib-2.0-native to build itself so remove it from the DEPENDS. However it is needed for the test suite so respect PTEST_ENABLED and add it to DEPENDS if required. (From OE-Core rev: 216d534258f4fd7aa3c46093aba6fa2967ae5283) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Enable more tests while cross-compilingJussi Kukkonen2015-11-252-0/+82
| | | | | | | | (From OE-Core rev: e6e9260b97d873f14991a1143f1bda5b1b624955) 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: Upgrade 2.44.1 -> 2.46.1Jussi Kukkonen2015-11-252-2/+41
| | | | | | | | | | Fix cross-compilation build issue in gio tests. (From OE-Core rev: 17bbd1957720d6faea04530211a76655541fe71e) 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: add a warning suppression patch to glibAlexander Kanavin2015-08-242-0/+37
| | | | | | | | | | | | | Otherwise QA check will fail. Some schemas in gsettings-desktop-schemas (such as proxy and locale) are still using deprecated paths, as of 3.16.1. This causes warning messages, and meta/lib/oe/rootfs.py complaints about them. (From OE-Core rev: 751c8388c7f7584460bbf0c0f1d61e47372717af) 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: 2.44.0 -> 2.44.1Robert Yang2015-06-032-45/+2
| | | | | | | | | | Removed 0001-GListModel-roll-back-use-of-type-redefinition.patch since it is a backport patch. (From OE-Core rev: 4c91238d0b7089186a8ec5f65b97afc7f361e16b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: 2.42.1 -> 2.44.0Robert Yang2015-04-092-2/+45
| | | | | | | | | | Backported a patch to fix build on CentOS' gcc 4.4.7: 0001-GListModel-roll-back-use-of-type-redefinition.patch (From OE-Core rev: c93394277ab11ed0efe3a777c9e5d818762fdc9e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add HOMEPAGERobert Yang2015-01-071-0/+2
| | | | | | | | | | | | It doesn't have a homepage except gtk.org, use its reference manual page as the homepage, which we can easily know whether it is a stable version or not. (From OE-Core rev: ef303442278c900cd6bfd529692cb9de80e31353) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Upgrade to 2.42.1Ross Burton2014-12-311-2/+2
| | | | | | | (From OE-Core rev: a429f81a358e3f56c0b93a628bc6709944374fc9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix mount detectionMarius Avram2014-09-102-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently a USB stick gets mounted on /run/media/sdX, where X is the letter corresponding to a certain drive. In older builds of core-image-sato it got mounted in /media/sdX. This change made the drives to not be displayed in graphical applications which use glib-2.0 such as the File Manager (pcmanfm). The reason is that the gio component of glib-2.0 which handles mounts contains a function which determines if a mount is worthy to be displayed in the UI or not. The function is called g_unix_mount_guess_should_display(). It expects a drive to be mounted in /run/media/<username>/sdX, but in the current build the username part is missing in case a root user is authenticated in the system. The easiest solution is to allow the display of drives mounted in the path used by the current configuration and that is /run/media/sdX. [YOCTO #6492] (From OE-Core rev: da9bbcd2233057a0529005b9b2cc34aff65bc6e2) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Remove references to eglibcKhem Raj2014-09-011-11/+11
| | | | | | | | | change use of eglibc related variabled to glibc equivalents (From OE-Core rev: fd15d6e0c8da75951a91d4467eda23c229b1026d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Add missing nativesdk-gettext DEPENDSRichard Purdie2014-08-171-1/+1
| | | | | | | | | This override overrides the gettext class additions so we need to add back the dependency manually. (From OE-Core rev: 1f7d22ce9322b960c89afd3673ace9f0d937b2a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Allow correct printf configuration on darwin/mingwRichard Purdie2014-08-151-1/+4
| | | | | | | | | | | mingw and darwin builds need to change the value of printf from no to yes. Whilst you can do this from a bbappend, its currently a bit ugly and assumes knowledge of the other conf arguments. Fixing this in the glib recipe directly is cleaner in this case. (From OE-Core rev: ba37c147e82e6466030cf40a9e86442ac7592185) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Make the gtester-report installation conditionalRichard Purdie2014-08-151-1/+3
| | | | | | | | | This isn't built/present under mingw builds so make installation conditional upon its presence. (From OE-Core rev: 53903afae4fe841c0d394172201660d5e3fad5d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: use ptest-gnomeRoss Burton2014-07-251-5/+2
| | | | | | | | (From OE-Core rev: fb32cd7abac268747347ee5cff98a4d07dc4b780) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: silence QA warnings about libraries outside ${libdir}Ross Burton2014-07-031-0/+2
| | | | | | | | | | The test suite is installed into ${libexecdir} and as that may be outside of ${libdir} the QA test needs to be silenced. (From OE-Core rev: d354d339a38d22f1a5bca14341229d2282647fbb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix paths to test binariesRoss Burton2014-06-101-1/+1
| | | | | | | | | | The tests are installed to $libexecdir not $libdir/glib-2.0. By default these are the same location but they can be changed independently. (From OE-Core rev: 73d774fa7456842690af95206b77162d5f1bcb37) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Do not use readlink to set target paths.Drew Moseley2014-05-152-0/+32
| | | | | | | | | | | | | Do not use readlink to set ABS_GLIB_RUNTIME_LIBDIR when cross compiling. Doing so causes host paths to potentially pollute the target. Unfortunately in this case we don't actually convert to an absolute path. (From OE-Core rev: 2eb434ec298c279846ddd535a7122986558eb2c8) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade to 2.40.0Ross Burton2014-05-136-380/+4
| | | | | | | | | | | | | The 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. (From OE-Core rev: b755139b8112b425ff0a21f121104b7d212e7143) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest: Work from PTEST_ENABLED, not DISTRO_FEATURESRichard Purdie2014-05-081-1/+1
| | | | | | | | | | | | | Some classes of recipe disable ptest even though its in DISTRO_FEATURES (e.g. nativesdk). We shouldn't attempt to build ptest packages when its disabled. This replaces some DISTRO_FEATURE checks with PTEST_ENABLED checks instead. (From OE-Core rev: 8b14fcc62f31bbbb231790136cdb984db96d9ba9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-2/+2
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0-native: Fix DEPENDSRichard Purdie2014-03-251-1/+1
| | | | | | | | | | | | | | | | Address the error | checking for ZLIB... no | checking for inflate in -lz... no | configure: error: *** Working zlib library and headers not found *** by ensuring zlib-native is in DEPENDS. [YOCTO #5773] (From OE-Core rev: f7fd641c13543f0df412fe0ff01238734ddbbaff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Fix localedir expectations for uclibcKhem Raj2014-03-172-0/+21
| | | | | | | | | | | | | DATADIRNAME is used by many applications using autotools to install locale data, we get a wrong value for uclibc systems since it does not recognise it as proper linux systems and start putting locale info in /usr/lib instead of /usr/share (From OE-Core rev: 7897ab5f54d2dc21795b2a53b82b9c911157f0ca) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix race in parallel buildsRoss Burton2014-02-062-0/+55
| | | | | | | | | | | | | | | There is a race condition in the makefile that can result in build failures like this in parallel builds: | ./gdbus-test-codegen-generated.h:7:0: error: unterminated #ifndef | #ifndef __GDBUS_TEST_CODEGEN_GENERATED_H__ Fix the rules to stop this happening. (From OE-Core rev: 97ccd2b841c9dc598dbe39162f335bcde48a7c26) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix handling of skipped testsRoss Burton2014-02-022-0/+198
| | | | | | | | | | Backport a patch from upstream to fix skipped tests, essential for gdk-pixbuf to pass without enabling all loaders. (From OE-Core rev: 4bf996557409b63c2d783f175c6325c966aae236) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add explicit build dependency on DBus when ptest is enabledRoss Burton2014-01-191-0/+2
| | | | | | | | | | | | If the tests are enabled then configure will check for the presence DBus. It's generally present through the runtime dependencies so this often succeeds but as it isn't a build dependency it's possible for DBus to be present at configure time but removed at compile time, resulting in build failures. (From OE-Core rev: 0150e86a7609579cf26f5ef5c6c69b521340218e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix mapped file ptestRoss Burton2014-01-192-0/+31
| | | | | | | | | | The mappedfile ptest was attempting to write into directories that may not exist on a non-Sato image. Instead, write into TMPDIR. (From OE-Core rev: 93b4ecc263947826421d5b4fb1f99fe506b24287) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix the dbus-appinfo test when running outside of XRoss Burton2014-01-192-0/+66
| | | | | | | | | | | | This test was attempting to connect to a session bus and hanging if it couldn't. Take a patch from upstream to correctly use a private bus. [ YOCTO #5696 ] (From OE-Core rev: 12e30b653899567312a7ec29b6e972c85ba8e25e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib: add missing dependencies for ptestRoss Burton2014-01-161-0/+4
| | | | | | | | | | | | | | | | | | | Some of the GLib tests that we run under ptest are missing runtime dependencies. iochannel-test needs the EUC-JP encoding. convert needs the ISO-8859-1 and ISO-8859-15 encodings. contenttype needs shared-mime-info. Add these to the RDEPENDS so that these tests pass. [ YOCTO #5696 ] (From OE-Core rev: 7b6316093ab28782edd45084d43dbd5c309be7c8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add EXTRA_OECONF for uclibcSaul Wold2014-01-021-0/+1
| | | | | | | | | | | The uclibc configuration requires the gnu libiconv, so tell configure which one to use [YOCTO #5431] (one of many) (From OE-Core rev: a90b32d63c8a816462b42a33851e4e5e6041bbca) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade to 2.38.2Cristian Iorga2013-12-141-2/+2
| | | | | | | | (From OE-Core rev: b445008484639d0d3e0e397019241466f4361b9e) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "glib-2.0: Specify libiconv when building on uclibc"Khem Raj2013-11-121-1/+0
| | | | | | | | | | | This reverts commit 38b6c4df7c215ed7fd6be107fbc2527e66791e2e. Its not needed anymore after upgrade to 2.38 (From OE-Core rev: 3efd8530053cf54e3f0b0fc6a96272fdb2ee27ba) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: move more logic to the .incRoss Burton2013-11-122-51/+43
| | | | | | | | | | | | The .bb was getting larger with configuration being arbitarily split between .bb and .inc. To help adding a glib_git recipe, strip the .bb down to SRC_URI. Also don't remove $libdir/gio as it should be owned by glib. (From OE-Core rev: 55b950500fd9d944042e3c2b0872685f0a60e8eb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>