aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0
AgeCommit message (Collapse)Author
2013-09-04glib-2.0: fix a host contamination issueRobert Yang
We will see the following warning by accident: $ bitbake nativesdk-glib-2.0 WARNING: QA Issue: nativesdk-glib-2.0-dbg: found library in wrong location: /opt/poky/0.5.5/sysroots/x86_64-pokysdk-linux/usr/share/gdb/auto-load/opt/ poky/0.5.5/sysroots/x86_64-pokysdk-linux/usr/lib/libglib-2.0.so.0.3600.4-gdb.py There are two '/opt/poky/0.5.5/sysroots' in the path when the warning comes, this is what we need since glib-2.0 has done this intentionally in its configure and Makefile. This is because the configure script uses the: ABS_GLIB_RUNTIME_LIBDIR = "readlink -f $libdir/$with_runtime_libdir`" to figure out the abs dir, so if /opt/poky/0.5.5/sysroots/x86_64-pokysdk-linux/usr/lib/ exists , there would be warning, otherwise no warning. We can change the "readlink -f" to "readlink -m" to fix the host contamination issue. Another fix could be: ABS_GLIB_RUNTIME_LIBDIR ="" But this is much more like a workaround. [YOCTO #5099] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-26glib-2.0: Specify libiconv when building on uclibcKhem Raj
We use GNU libiconv seprate package on uclibc specifying this makes the configure clear of not trying to detect glibc/iconv and then also finding libiconv in sysroot and confusing itself with errors like | gconvert.c:66:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv | #error GNU libiconv not in use but included iconv.h is from libiconv | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-20glib-2.0: update to upstream version 2.36.4Marko Lindqvist
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-20glib-2.0: use trim_version() to get the source directoryMarko Lindqvist
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09glib-2.0: add -march=i486 into CFLAGS automatically when needed.Jackie Huang
glib configure will check if current gcc need -march=i486, when gcc need -march=i486 but CFLAGS don't have, glib configure will abort and advise the user to add -march=i486. This will break the build process,it's not good for automatic build system. so change this to adding -march=i486 automatically when it is needed. Signed-off-by: Song.Li <Song.Li@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09glib-2.0: upgrade to 2.36.3Cristian Iorga
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-11glib-2.0: drop Makefile.in hunks from patchRoss Burton
Patching a generated file is prone to conflicts, and we'll be replacing this file anyway when configuring, so drop the Makefile.in hunks. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24glib-2.0: update to 2.36.2Andreas Müller
This patch was build- (gcc 4.7.2/4.8.0) and run-tested with my standard xfce-/gnome2-images Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-16glib-2.0: drop dependency on python-argparseRoss Burton
Since 2.20 the use of argparse was removed, so we don't need these dependencies anymore. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-12Upstream-Status: Correct CapitalizationSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-12glib-2.0: upgrade to 2.36.1Cristian Iorga
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
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-03-07glib: Use new _ptest functionsBjörn Stenberg
Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-11glib-2.0: Fix ptest to build with uclibc.Björn Stenberg
Only install eglibc-specific dependencies when building for eglibc. Tweak a test case that won't build with uclibc. Signed-off-by: Björn Stenberg <bjst@enea.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>
2013-01-09glib-2.0: replace obsolete automake macros with working onesMarko Lindqvist
Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Signed-off-by: Marko Lindqvist <cazfi74@gmail.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: update to upstream version 2.34.3Marko Lindqvist
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-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-09-18recipes: bump PR to rebuild after libffi5 -> libffi6Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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-08-06glib-2.0-nativesdk: Add dependency on glib-2.0-nativeKhem Raj
when we build for nativesdk it needs tools from installed glib-2.0-dev package. We zeroes out compile_resourses but then genmarshal came up so instead of going about disabling them one by one lets depend on glib-2.0-native since thats the right thing to do. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-31glib-2.0-nativesdk: Fix build on ubuntu 11.10Khem Raj
When you have a distro which has older version of glib-2.0 installed then it does not have compile_resources installed which essentially glib-2.0 nativesdk is looking for on build host. So like in a cross build we disable the configure check which will force it to build an internal copy and use it. This problem may not be seen on newer distros like ubuntu 12.04 since they have newer version of glib-2.0 installed Signed-off-by: Khem Raj <raj.khem@gmail.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-07-17glib: upgrade to 2.32.4Martin Jansa
* it's bugfix release, see http://ftp.gnome.org/pub/gnome/sources/glib/2.32/glib-2.32.4.news for list of fixed bugs 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-24glib-2.0: upgrade to 2.32.3Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-05-07glib-2.0: Fix issues with libelf dependency creeping inRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06glib-2.0: upgrade to 2.32.2Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 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-05-01glib-2.0: Dont disable iconv for uclibcKhem Raj
Currently we stub out iconv in glib when building for uclibc which is not needed and infact results in building systems with false hope of having iconv and they misbehave during runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-16glib-2.0: fix builds on fedora 17Robert Yang
Generally distros keep perl at /usr/bin/perl Fedora 17 also has /bin/perl this causes glib-2.0 build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by libglib-2.0-utils-2.30.3-r0.ppc603e NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed [YOCTO #2304] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-03-21glib-2.0: upgrade to 2.30.3Shane Wang
Signed-off-by: Shane Wang <shane.wang@intel.com>
2012-03-13glib-2.0: Add Upstream Status for nodbus.patchSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.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-02-24glib-2.0: Fix unpackaged files warningRichard Purdie
WARNING: For recipe glib-2.0, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/gio WARNING: /usr/lib/gio/modules Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-21recipes: bump PR to rebuild .la files without libz.laMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-10zlib: Upgrade 1.2.5 -> 1.2.6Khem Raj
Dont use autotools, it really not so autoconf like. the configure script gets updated with every release of zlib and we overwrite that. Instead use the upstream provided configure copyright year was changed in zlib.h which caused change in LIC_FILE_CHECKSUM fix.inverted.LFS.logic.patch is already applied upstream so drop it Drop the configure.ac and Makefile.am scripts since we do not autoreconf anymore and do not inherit autotools anymore Bump PR for depending recipes so a rebuild it ensues so that they dont depend on .la anymore and add missing dependencies discovered during incremental build Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>