aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib.inc
AgeCommit message (Collapse)Author
2016-01-22glib-2.0: Fix locale location on muslKhem Raj
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" Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22glib-2.0: fix the ptestRoy Li
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 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>
2016-01-17glib-2.0: add dependency glib-2.0-native backKai Kang
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. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16meta: Drop now pointless manual -dbg packagingRichard Purdie
With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08package_regex.inc: split entries with odd-even versioning into their own recipesAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-25glib-2.0: build dependency cleanupRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-01-07glib-2.0: add HOMEPAGERobert Yang
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-01recipes: Remove references to eglibcKhem Raj
change use of eglibc related variabled to glibc equivalents Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-08-17glib-2.0: Add missing nativesdk-gettext DEPENDSRichard Purdie
This override overrides the gettext class additions so we need to add back the dependency manually. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15glib-2.0: Allow correct printf configuration on darwin/mingwRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15glib-2.0: Make the gtester-report installation conditionalRichard Purdie
This isn't built/present under mingw builds so make installation conditional upon its presence. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-25glib-2.0: use ptest-gnomeRoss Burton
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>
2014-07-03glib-2.0: silence QA warnings about libraries outside ${libdir}Ross Burton
The test suite is installed into ${libexecdir} and as that may be outside of ${libdir} the QA test needs to be silenced. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-10glib-2.0: fix paths to test binariesRoss Burton
The tests are installed to $libexecdir not $libdir/glib-2.0. By default these are the same location but they can be changed independently. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-13glib-2.0: upgrade to 2.40.0Ross Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-08ptest: Work from PTEST_ENABLED, not DISTRO_FEATURESRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-24glib-2.0-native: Fix DEPENDSRichard Purdie
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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-17glib-2.0: add explicit build dependency on DBus when ptest is enabledRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15glib: add missing dependencies for ptestRoss Burton
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 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02glib-2.0: add EXTRA_OECONF for uclibcSaul Wold
The uclibc configuration requires the gnu libiconv, so tell configure which one to use [YOCTO #5431] (one of many) Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-11-12Revert "glib-2.0: Specify libiconv when building on uclibc"Khem Raj
This reverts commit 38b6c4df7c215ed7fd6be107fbc2527e66791e2e. Its not needed anymore after upgrade to 2.38 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-12glib-2.0: move more logic to the .incRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-14glib-2.0: upgrade to 2.28.0Ross Burton
Drop the ptest patches and instead use --enable-installed-tests, updating run-ptest to invoke gnome-desktop-testing-runner. Drop the x32 build patch, upstream has integrated a similar fix. 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>
2013-09-22glib-2.0: fix broken python script header on machines using buildtoolsPaul Eggleton
With buildtools (which contains Python) installed on a build machine, glib-2.0's gtester-report script was ending up with the full path to the installed python binary in the shebang, which when rpm packaging was used led to this being added as a per-file dependency by rpmdeps for the libglib-2.0-utils package in which it ends up. This of course broke do_rootfs when the package was included in the rootfs and had been restored from sstate from another machine, as happened on the Yocto Project autobuilder. We were already trying to sed this script apparently only for the shebang (since it appears that there are no other paths in the script) so let's just sed the shebang properly; it also seems sensible to do this for native as well instead of explicitly trying to exclude that case. Fixes [YOCTO #5205]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29glib-2.0: Update to 2.36Saul Wold
Remove automake patch that is now correctly supported upstream Codegen files have moved to glib-2.0, so correct packaging and removal. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-29glib: Add --disable-man to configure argumentsPhil Blundell
Without this, glib will probe for the existence of xsltproc and use that to decide whether or not it wants to generate manpages. This has two consequences, neither of them good: a) the result of the build will vary depending on whether xsltproc happens to be installed in either the native sysroot or the host environment; and b) if xsltproc does happen to be installed but docbook-xsl isn't, the build will fail with "I/O error" messages. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-22glib-2.0: disable tests for native builds, and respect ptest for LSBRoss Burton
Without disabling the tests in the native build, glib-2.0-native will need libdbus-native to be present. As we don't run the tests, disable them so we don't have build failures due to missing dependencies. Also, the LSB override was missing PTEST_CONF so the same problem could happen. After adding PTEST_CONF the LSB override is identical to the non-overridden EXTRA_OECONF, so remove it. Finally, to be explicit, put --enable-module-tests in PTEST_CONF. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-06glib: disable selinux for native buildsMatthew McClintock
This improves reusabiliy of sstate-cache across different hosts Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-25Add ptest for glib.Björn Stenberg
Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-03glib-2.0: fix license segment md5sum boundaryMarko Lindqvist
Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-12glib-2.0: upgrade to latest stable, 2.34.1.Ross Burton
Also explicitly disable the test suite (as we can't run it), subsequently dropping 60_wait-longer-for-threads-to-die.patch and nodbus.patch. nolibelf.patch has been merged upstream, drop. Upstream has dropped the pre-generated man pages, to generate them again we'd need libxslt and the DocBook infrastructure. We can live without the man pages as those build-dependencies are non-trivial. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-12glib-2.0: remove zip build dependencyRoss Burton
This dependency mysteriously appeared a long time ago for no good reason, remove it. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-core: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30glib-2.0: don't disable all debugging functionalityRoss Burton
GLib will use "minimal" debugging on non-development builds and the extra safety net and ability to debug at all is totally worth the small performance cost. If someone has a need for every ounce of performance, a simple .bbappend can restore this option. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-20glib-2.0: cleanup thanks to new gtk-doc.bbclassRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-07-18bitbake.conf: Define USRBINPATH globally instead of individuallyRichard Purdie
Many recipes are now having to define PERLPATH and PYTHONPATH variables. Creating USRBINPATH in bitbake.conf means we can remove all these lines from the many recipes now needing this and simplify the code changes needed in each case, reducing the chance of errors being introduced. Also fixup glib python binary location issue and fix function indentation. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17glib: package bash-completion files in separate package and move ↵Martin Jansa
${PN}-codegen to .inc * 2.32.4 has completion files in ${datadir}/bash-completion and dbus also packages bash-competion files in separate package Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-29glib-2.0: Add missing dependency on virtual/libiconvKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25glib-2.0: Clean up OECONF flags into one variableRichard Purdie
Without this change, libelf was "floating" for linuxstdbase for example, leading to build failures. This patch moves all the common options into a common variable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06glib-2.0: upgrade to 2.32.1Martin Jansa
* g_once_init_enter.patch shouldn't be needed after upstream commit 794c1a30bc27b4c8d77537813acb1213d5ac80f2 * LIC_FILES_CHKSUM change is only because PCRE was upgraded and now pcre.h says "Copyright (c) 1997-2012 University of Cambridge" instead of 2010 and COPYING file "Please see the file LICENCE in the PCRE distribution for licensing details." but LICENSE file is not part of glib distribution (but still BSD in standalone PCRE) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-02-27glib-2.0: Disable fam, we don't depend on itRichard Purdie
Various people are reporting glib-2.0 failures from a dependency on libfam creeping in uninvited. This patch explicitly disables it to favour a deterministic build. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-26glib: Drop dbus dependency, it isn't usefulRichard Purdie
dbus is only needed for some of the glib tests which we don't use. We can therefore drop the dependency and gain some small parallelism gains. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-05glib-2.0: ensure dtrace is diabled for all distro options and fix packagingSaul Wold
The linuxstdbase configuration flags also need to disable dtrace as per the sandard package configuration options. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-03glib-2.0: disable dtrace due to host contaminationSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-22glib-2.0: include glib-gettextize stuffDmitry Eremin-Solenikov
glib-utils already includes glib-gettextize program. Include some files necessary for glib-gettextize to work. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22glib-2.0: Fix python paths in scripts to use target pathsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-18glib-2.0: explicitly disable dtrace and systemtap for native varaintJoshua Lock
This prevents systemtap and dtrace being picked up from the host as reported on the Yocto mailing list by Andre Haupt <andre@bitwigglers.org> Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-06-28base/glib-2.0: Simplify USE_NLS handling for glib-2.0Richard Purdie
Currently the only way to get anything to build is to set USE_NLS="yes" for glib-2.0. We might as well do this in the recipe by default for now and simpllify the code. The magic handling of USE_NLS_<recipename> is also removed since this can be done in the form USE_NLS_pn-<recipename> using overrides these days. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>