aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
AgeCommit message (Collapse)Author
2015-12-27xorg-lib: allow native building without x11 DISTRO_FEATURESRoss Burton
The Xorg libraries use REQUIRED_DISTRO_FEATURES to stop building on distributions without the x11 feature but this stops people building native tooling that uses libX11, such as libsdl-native. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-07-16xorg-lib-common.inc: add missing dep for xmltoHongxu Jia
Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native to PACKAGECONFIG[xmlto]'s dep. [YOCTO #2416] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-10xorg-lib-common.inc: add PACKAGECONFIG for xmltoHongxu Jia
Support xmlto for documentation generation and disable it by default. [YOCTO #2416] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-12-14xorg-lib: remove explicit --enable-malloc0returnsnullRoss Burton
util-macros 1.18 will read the autoconf site cache, so these values are redundant. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-12-09xorg-lib-common.inc: use REQUIRED_DISTRO_FEATURES variableAndreas Oberritter
Convert custom DISTRO_FEATURES test to distro_features_check.bbclass, and keep exceptions for libpciaccess and pixman. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-29xorg-lib-common: set UNKNOWN_CONFIGURE_WHITELISTRoss Burton
This include adds configure options globally but not all X libraries support them, so to avoid unknown-configure-option warnings add them to the whitelist. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-14xorg-lib-common: fix malloc0returnsnull usageRoss Burton
Xorg libraries that use Xmalloc need to know if malloc(0) returns NULL or not, and as this is a runtime test it can't be checked for. Previously xorg-lib-common declared that malloc(0) did return NULL, but this isn't true for eglibc (only uclibc). Instead, use libc-specific overrides to pass the relevant option. (ideally the check would use the autoconf cache so this can be stored in the site files) 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>
2012-09-12xorg-lib: move options to disable documentation to xorg-lib-commonRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-28libpciaccess: lpci access does not depend on XDamien Lespiau
So let's remove the X dependencies from DEPENDS and white list it in xorg-lib-common.inc. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-26xorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)Andreas Oberritter
* Improve error message as suggested by Koen. (This got lost when v1 was committed instead of v2) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-23xorg-lib: don't build libs unless requested by DISTRO_FEATURESAndreas Oberritter
* If 'x11' is not set in DISTRO_FEATURES, then skip all recipes using xorg-lib-common.inc instead of only those using libx11.inc. * One exception: pixman, which is not only used by xorg, but also by cairo. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-01-17xorg-*: disable xmlto where it was failingMartin Jansa
* meta-oe now provides xmlto-native http://git.openembedded.org/meta-openembedded/commit/?id=ab8f876ca8fa223c183e3db2029cce88f3435a27 but not the stylesheets for buildhosts without them it's unusable and fails, because xorg macros autodetecting xmlto available, see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-December/037066.html after adding xmlto-native and stylesheets-native to DEPENDS we can enable it again Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-04-04xorg-[lib-common|proto-common]: disable use of fop document generationJoshua Lock
On Fedora 15 I see a huge Java backtrace when document generation runs for some xorg libs. As fop is automatically detected, with the possibility of detecting fop on the host whilst doing target builds, the safest bet is to explicitly disable fop for document generation. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-27Major layout change to the packages directoryRichard Purdie
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>