summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2011-08-16gtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDSDongxiao Xu
When dynamically setting RDEPENDS, we need to add MLPREFIX to adapt multilib case. [YOCTO #1368] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-08-16package_rpm: Fix package rename issue in multilib caseDongxiao Xu
do_package task will write information into pkgdata and do_package_write_rpm will read them out. Take lib32-dates as an example, one of its RDEPENDS is li32-gtk+, and PKG_lib32-gtk+ = "libgtk-2.0", these info is stored at: tmp/pkgdata/x86_64-pokymllib32-linux/runtime/lib32-dates. Function "mapping_rename_hook" in do_package_write_rpm is to handle those renamed packages. However before it executes, translate_vers has stripped the multilib prefix out, making it failed to find PKG_gtk+ value in pkgdata. This commit moves the strip_multilib out of translate_vers and call it after "mapping_rename_hook". [YOCTO #1368] CC: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-08-16package_rpm: enhance strip_multilib functionDongxiao Xu
The previous logic could only strip MLPREFIX from the first element in an array, take an example, strip_multilib the [lib32-a lib32-b lib32-c] will result in [a lib32-b lib32-c]. We need to strip prefix one by one. This commit change the logic to strip all elements' multilib prefix. [YOCTO #1368] CC: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-08-16rootfs_rpm: Fix DEFAULTTUNE setting in multilib caseDongxiao Xu
"virtclass-multilib" is set to OVERRIDES in multilib.bbclass, remove the duplicated settings here. Besides, DEFAULTTUNE has overrided and it can be directly used. [YOCTO #1368] CC: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-08-16qemu: Make qemu buildable inside qemux86/qemuppc targetZhai Edwin
It requires libx11 and libGL(if enabled GL) for building, which introduce extra dependence in qemuppc target. Futhermore, qemu's GL code is x86-oriented, thus some hacks needed for building in qemupcc. For simplicity, just make qemu GL's code for native only, so that qemu building is okay in world build. [YOCTO #1011] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-08-16libxcb: enable native/nativesdk builds as was done previously in meta-oeDmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2011-08-16libproxy: remove dependency on X libsPhil Blundell
Nothing in the source refers to libX11 or libXmu so there would appear to be no good reason for them to be in DEPENDS. It looks as though these are perhaps a relic from an earlier version which did need those libraries. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-16cmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-nativePhil Blundell
When CMake is looking for perl, it only searches in the specific directories that it's told about and ignores ${PATH}. If perlnative is in use, ensure that the appropriate installation path is added to the list of places that cmake will look for perl, otherwise it won't ever be found. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-15distro-tracking: Update info for gpgme, libassuan, apr... after last upgrade.Zhai Edwin
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-08-15libx11-diet: Fix bug 1050Xiaofeng Yan
[YOCTO #1050] I got do_compile failure during building qemux86 image | ../../../doltlibtool: line 17: /distro/dcui/0704/pc1/build/tmp/work/i586-poky-linux/libx11-diet-1.3-r2/libX11-1.3/modules/im/ximcp/../../../libtool: No such file or directory This is due to not found libtool, but i586-poky-linux-libtool in libX11-1.3 So I disable dolt for solving this problem. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-08-15The Skeleton initscript doesn't work on minimal imageRobert Yang
Fixes bug [YOCTO #1165] The /etc/init.d/skeleton doesn't work on minimal image, this is because of the pidofproc doesn't return "$?" correctly, so store $? in the variable status would fix it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-08-15qt4.inc: expand the package name for multilib caseYu Ke
in the qt4.inc python annomyous code, there is case where package name is set to "${QT_BASE_LIB}-tool", and FILE_${QT_BASE_LIB}-tool is set to xxx. here QT_BASE_NAME=qt4. multilib.bbclass will try to rename the FILE_qt4_tool to FILE_lib64_qt4_tool. unfortunately, there is only FILE_${QT_BASE}-tool, no FILE_qt4-tool, so FILE_lib64_qt4_tool will not be defined. to fix this issue, this patch expand the QT_BASE_LIB when assigning the package name. FIX [YOCTO #1344] Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-08-15qt4.inc: revise RRECOMMENDSYu Ke
using ${QT_BASE_NAME}-dbg as RRECOMMENDS is not correct in qt4-x11-free case, because ${QT_BASE_NAME}-dbg i.e. qt4-dbg does not exist this patch fix it by using ${PN} Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-08-15libsdl: enable opengl for libsdlJiajun Xu
To enable opengl for libsdl, we need DEPENDS on virtual/libgl. Add a check for "opengl" in DISTRO_FEATURES and when it's set, "--enable-video-opengl" and "virtual/libgl" will be added into EXTRA_CONF and DEPENDS. Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Acked-by: Phil Blundell <philb@gnu.org>
2011-08-15libsdl: add target versionJiajun Xu
Rename libsdl-nativesdk to libsdl to enable target version. libsdl is needed in some graphics testing. Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Acked-by: Phil Blundell <philb@gnu.org>
2011-08-15default-distrovars: add x11 to default DISTRO_FEATURESPhil Blundell
Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-15dbus: only use x11 if DISTRO_FEATURES has selected itPhil Blundell
This makes it possible to include dbus in a non-X11-equipped DISTRO. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-15cairo: only use x11 if selected in DISTRO_FEATURESPhil Blundell
This makes it possible to build cairo-using apps without X11. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-15libx11: skip self if x11 not in DISTRO_FEATURESPhil Blundell
This stops (most) x11 packages leaking into a non-x11 distro by mistake. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-15pixman: remove spurious dependency on libx11Phil Blundell
Nothing in pixman actually uses libx11, so no need to DEPEND on it. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-15intltool: Use nativeperl binary for PERL instead of 'perl'Khem Raj
License is GPLv2 change it. Defining PERL for native intltool is not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-15qt4: delete unpackaged uic3 to avoid unpackaged file warningPaul Eggleton
All the other utilities get deleted as they should not be packaged, delete this one as well. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-08-15qt4: package QML plugins and correct their install directoryPaul Eggleton
QML components from Qt were installed to ${prefix} before and never got packaged. This is now fixed and QML components are now installed into ${libdir}/${QT_DIR_NAME}/imports and packaged into qt4-*-qml-plugins package. Additionally qmlviewer and the examples/demos are now dependent upon these plugins as needed. Originally based on OE commit 4adf97be8c5b5f71ad92095a19968af534baa9e2 by Simon Busch <morphis@gravedo.de> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-08-15qt4-native: restore build of uic3, qdbuscpp2xml and qdbusxml2cppPaul Eggleton
These tools are required to build some external utilities (such as those found in KDE). We avoid building qdbus and qdbusviewer as these are not required. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-08-15qt4: replace qt4-tools-native with qt4-nativePaul Eggleton
Installs native versions of the Qt libraries in addition to the tools, allowing compilation of external native tools that require Qt libs. PROVIDES qt4-tools-native so it should be a drop-in replacement. Developed with reference to the corresponding qt4-native changes in OE. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-08-15eglibc: Modify ldd script according to multilib config.Lianhao Lu
Bug fixing [YOCTO #1236]. 1. Collect all the values for RTLDLIST for the current multilib configuration to modify the ldd scripts. 2. Collect all the values for KNOWN_INTERPRETER_NAMES for the current multilib configuration. Set the correct ld.so names for ldconfig to deal with the multilib configuration.
2011-08-15utils.bbclass/multilib.class: Added misc supporting functions.Lianhao Lu
1. Added variable MULTILIB_VARIANTS to store all the instance variants for multilib extend. 2. Added function all_multilib_tune_values to collect the variable values for all multilib instance. 3. multilib bbclass handler will save the orignal value of all variables defined in MULTILIB_SAVE_VARNAME. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-08-15valgrind: supporting on Linux kernel 3.xLin Tong
The old valgrind package do not support for Linux kernel 3.x, only for kernel 2.4 and 2.6. Now adding the configuration to the configure.in file to support Linux kernel 3.0. This commit fixes the problem in valgrind [YOCTO #1129] Signed-off-by: Lin Tong <tong.lin@intel.com>
2011-08-15bluez4: Added new recipe 4.96 and removed 4.82 versionNoor Ahsan
* Added new recipe 4.96 and removed 4.82 version and its files. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
2011-08-12rt-tests: use an explicit commit IDDarren Hart
Using a tag, like v0.73, forces network access to resolve a commit ID. Use the corresponding commit ID in the recipe. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-08-12tune-ppce5500: Add a set of tune files for PowerPC e5500 coreKumar Gala
The PPC e5500 is a 64-bit core so we add both a 32 and 64-bit set of tune files to allow for: * pure 32-bit build * pure 64-bit build * 32-bit base, 64-bit multilib * 64-bit base, 32-bit multilib Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-12tune-ppc: Update to pass glibc configure option to get cpu specific supportKumar Gala
We need --with-cpu based to glibc to get proper support on 603e & e500mc to pickup proper math libs to deal with sqrt. These core do not implement the fsqrt[s] instructions that the normal PPC math libs utilize. This causes use to not set AVAILTUNES specifically to the sub-arch only as we arent generically compatiable. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-12recipes-rt: add a README documenting the contents of recipes-rtDarren Hart
Document the non-obvious bits of using the recipes-rt recipes. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-08-12Move meta-rt recipes to oe-core (meta)Darren Hart
Keeping the rt recipes in their own layer has led to maintenance issues, particularly with the linux-yocto-rt recipes. As these kernel types are part of the same linux-yocto source repository, it seems reasonable to include the rt kernel recipes alongside the standard recipes. A new recipes-rt directory for the other recipes provides adequate separation and eliminates the need for a separate layer. As there is no meta-rt/conf/layer.conf to force the kernel, users must now specify the rt kernel in their local.conf or in the machine.conf: PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt" The merging of the rt recipes into the core also eliminates complications with multiple layer dependencies for new BSP layers. Having to either separate RT BSPs from standard BSPs or force users to add meta-rt to bblayers even when not building an RT BSP (because the RT BSPs in the same layer would fail to parse without it) was sub-optimal at best. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-08-12package_rpm: Fix attemptonly and suggest packagesMark Hatle
[YOCTO #1325] [YOCTO #1366] Packages that were in the PACKAGE_ATTEMPTONLY and SUGGESTS were not being properly found, which was causing image creation failures. In PACKAGE_ATTEMPTONLY, when an item was not found, it caused an error. This should have been a note, followed by skipping the package. The SUGGESTS processing was simply broken. It was using a non-existant function, due to an apparently typo. In addition to the above, the MLPREFIX processing was not being done properly, preventing multilib packages from working in this with PACKAGE_ATTEMPTONLY. (SUGGESTS doesn't need this as the names are munged when creating the packages.) Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-08-12xcb-proto: update based on changes to python.m4 in automakeKumar Gala
1. We dont need the aclocal patch as this will be handled by automake 2. We need to update xcb-proto.pc.in to know about ${libdir} since we'll end up with something like: pythondir=${libdir}/python2.6/site-packages Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-12automake: Update for python.m4 to respect libdirKumar Gala
As we tweak libdir we need python libs that utilize configure to respect it setting. By updating the python.m4 template, when we regen automake files they will than respect the setting of libdir which is standard for any autotools based recipe. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-12init-install.sh: Fix make partition and make file system issuesMei Lei
[YOCTO #1151] Change the offset from the beginning of the disk to aligne the blocks. In this script, we use mkfs.ext3 to create file system after partition, but we use mkpartfs to create file system repeatly, and get some warnings about choose another specific tools to create file system for reliability. So use mkpart instead of mkpartfs and only use mkfs.ext3 to create file system. Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-08-12package_rpm.bbclass: Update the platform config and --targetMark Hatle
When constructing the /etc/rpm/platform file, we need to ensure that the any, all, and noarch platforms will allow any "linux" variant to be installable, not just matching variants.. i.e. arm-oe-linux-gnueabi should be able to install noarch-oe-linux Also ensure that we pass the full canonical arch via the --target= parameter. This allows us to define the proper platform settings for all packages. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-08-12rpm: Fix the canonical arch --target processing and cleanupMark Hatle
[YOCTO #1352] Fix the canonical arch --target processor to work with the way OE handles the GNU canonical arch. Also cleanup a number of files that are no longer used, and refactor the no-loop patch into the "no-loopmsg" patch. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-08-12linux-yocto: update SRCREVs for preempt-rt support + build fixesBruce Ashfield
Updating the SRCREVs for linux-yocto to pickup a series of changes that were made to support the build/boot of preempt-rt on 3.0.x. 7782fc6 routerstationpro: remove CONFIG_PREEMPT* definitions b51300c meta/rt: sugarbay preempt-rt support 735711e meta/rt: common-pc[-64] preempt-rt no branch fix 53026bf meta/rt: jasperforest preempt-rt support 99bc260 meta/rt: fri2 preempt-rt support e746ab8 meta/rt: fishriver preempt-rt support fa1b73f meta/rt: emenlow preempt-rt support 1f686ab meta/rt: crownbay preempt-rt support 64a5069 meta/rt: arm-versatile-926ejs preempt-rt support 7f827a1 meta/rt: mti-malta32-be preempt-rt support 930a983 meta/rt: qemu-ppc32 preempt-rt support 367fc55 meta-rt: rsp preempt-rt support b8a62ea meta/rt: mpc8315 preempt-rt support b5f9daa meta/rt: beagleboard preempt-rt support 1e6e9eb meta/rt: use CONFIG_PREEMPT_RT_FULL for 3.0 kernels eb5a06b boot: move -Os patch to standard branch c692a23 meta/rt: remove explicit patch references 8a2ac6b meta/rt: updating to rt8 76b3679 meta: atom-pc update definition to re-use preempt-rt Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-08-12cross: also empty PACKAGES_DYNAMICChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-08-12package: allow setting a section for locale packagesChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-08-12package: include SECTION in the pkgdataChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-08-12sanity: shift the required utils into a variableChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-08-12nativesdk: inherit relocatableChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-08-12insane: add linux-gnu to the platform dataChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-08-12busybox: don't strip the main binaryChris Larson
With this, we get a useful busybox-dbg package. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-08-12local.conf.sample: Cleanup and improveRichard Purdie
local.conf is the first thing anyone new to the project sees. Over time it has built up a ton cruft and isn't even accurate in places. This patch: * Moves things to local.conf.sample.extended if a new user is unlikely to need to immediately care about the options * Reorders the file to be more intuitive to a new user * Moves certain default values to default-distrovars.inc in cases where most users wouldn't want to change the value * Adds large blocks of text to explain what an option does. There have been too many cases of a user not realising what some of these settings do and how they can use them to their advantage (like DL_DIR for example). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-11gnome-doc-utils: respect python-dir setting EXTRA_OECONFKumar Gala
Don't just assign but append to EXTRA_OECONF so we maintain python-dir setting fo EXTRA_OECONF. This fixes issue if libdir is set to something like '/usr/lib64'. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>