summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ofono: Add run time dependency for ofono test scriptsMuhammad Shakeel2013-06-131-1/+1
| | | | | | | | | | | Some ofono test scripts i.e. enable-modem use python-dbus module and this must be installed along with ofono-tests package. (From OE-Core rev: e5422ed7f3e4b1ee8554ffe3a98006477fb52c4d) Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip : upgrade to 1.6Andrei Dinu2013-06-133-12/+10
| | | | | | | | | | | | tcmode-default: Update gzip PREFFERED_VERSION to 1.6 (From OE-Core rev: 0a3dff5bc0b98df54f8e0f4f198999e00a5f2ce7) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> [sgw - updated tcmode-default] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxt: upgrade to 1.1.4Laurentiu Palcu2013-06-131-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following fragment has been added at the end of the licence file: Copyright (c) 1993, 1994 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealing in this Software without prior written authorization from the X Consortium. (From OE-Core rev: a7d4370efa4f51d79c2f37e92fe978659a9a2d6d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdrm: upgrade to 2.4.45Laurentiu Palcu2013-06-132-8/+8
| | | | | | | | (From OE-Core rev: 3b097ef359d884cb077bafad5f47fa9737f6886c) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xwininfo: upgrade to 1.1.3Laurentiu Palcu2013-06-131-3/+2
| | | | | | | | (From OE-Core rev: a89702a8e416864d40a7aa76f5f9b475d618f9f1) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-video-intel: upgrade to 2.21.9Laurentiu Palcu2013-06-131-2/+2
| | | | | | | | (From OE-Core rev: a5b4b8a52c1523dad24e2a3ef7c6a73a9b286581) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xdpyinfo: upgrade to 1.3.1Laurentiu Palcu2013-06-131-3/+2
| | | | | | | | (From OE-Core rev: 58fcded3b5657d6120b97fdc605506608eb2b0a5) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xkeyboard-config: upgrade to 2.9Laurentiu Palcu2013-06-131-3/+2
| | | | | | | | (From OE-Core rev: 8b04e2757c07a6f583025ef52c4c9770f673ef7d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-input-synaptics: upgrade to 1.7.1Laurentiu Palcu2013-06-131-2/+2
| | | | | | | | (From OE-Core rev: 38992002d6fcf8147b2f2a0172d8acefbdcbfe8d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: split python module into libnewt-pythonChristopher Larson2013-06-132-10/+31
| | | | | | | | | | | | | This is useful as it avoids pulling python into a build just to build chkconfig. The python recipe uses the libnewt installed in the sysroot by the main package, so there's little loss of build time, other than the additional unpack/patch. (From OE-Core rev: b255ebbf8283568d732827086bf0bd2b8db1d905) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* latencytop: Deprecate tracing_enabled for tracing_onRoy.Li2013-06-132-1/+51
| | | | | | | | | | | | | tracing_enabled should not be used, it is heavy weight and does not do much in helping lower the overhead. see commmit (Deprecate tracing_enabled for tracing_on 6752ab4a9c30d5411b2dfdb251a3f1cb18aae48) in kernel (From OE-Core rev: ee95048cf0c79dc52857dbc0e5da9363f2ad8b9b) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: update to 2.23.1Jonathan Liu2013-06-133-94/+2
| | | | | | | | | | Removed patches integrated upstream. (From OE-Core rev: 4f7c228c841ce1244e92bceeef363e29748adadd) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: Enable EXTRA_CFLAGSRoy.Li2013-06-131-0/+1
| | | | | | | | | | | Even if we define EXTRA_CFLAGS, but it never work, since the source codes donot refer it, and CFLAGS is given a fixed value. (From OE-Core rev: 4a7b5963a9d18924ae0564119f4edeefaca6b415) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers: Added missing recipes with maintainersSaul Wold2013-06-131-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Added gstreamer1.0-plugins-good 1.0.7 1.1.1 No Maintainer info gstreamer1.0-libav 1.0.7 1.1.1 No Maintainer info chkconfig-alternatives-native 1.3.59+AUTOINC+cd437ecbd8 6 No Maintainer info gstreamer1.0-plugins-bad 1.0.7 1.1.1 No Maintainer info gsettings-desktop-schemas 3.7.3 3.9.2 No Maintainer info harfbuzz 0.9.17 0.9.18 No Maintainer info gtk-update-icon-cache-native 3.4.4 3.9.2 No Maintainer info gstreamer1.0 1.0.7 1.1.1 No Maintainer info gstreamer1.0-plugins-base 1.0.7 1.1.1 No Maintainer info gstreamer1.0-plugins-ugly 1.0.7 1.1.1 No Maintainer info xf86-video-omap 0.4.2+gitrAUTOINC+ae0394e 0.4.3+gitrAUTOINC+1482807 No Maintainer info gtk+3 3.4.4 3.9.2 No Maintainer info clutter-gst-1.0 1.6.0 2.0.4 No Maintainer info dbus-ptest 1.6.8 1.7.2 No Maintainer info mx-1.0 1.4.7+gitAUTOINC+9b1db6b 1.99.4+gitAUTOINC+6a5a7ff No Maintainer info clutter-gtk-1.0 1.4.2 1.4.4 No Maintainer info weston 1.1.0 1.1.1 No Maintainer info (From meta-yocto rev: d3e193d114f9f0b67da055ae4f7da80c0756d5fb) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* upstream_tracking: Update Manual recipesSaul Wold2013-06-131-4/+7
| | | | | | | | | | | | Updated: Cups libpng12 minicom (From meta-yocto rev: cf3a3f5fd9e81c6aa441b9f46f9fd479c825d665) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa*.inc: fix tunings for cortex a5, a7, a8, a9, a15 machines.Andy Voltz2013-06-127-48/+165
| | | | | | | | | | | | | Using CORTEX_ID variable reference in the tuning overrides did not work. This reverts those changes, and adds a tuning file for the cortex-a5. Revert "tune-cortexa5.inc: Add tune file for cortex-a5" Revert "tune-cortexa.inc: create a common include for cortex-a armv7a tuning" (From OE-Core rev: 74158c2e99c6d8631800ae80025d1cc9f19336d2) Signed-off-by: Andy Voltz <andy.voltz@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Add missing file that went out of syncRichard Purdie2013-06-121-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: add difflib and pprint python modulesSaul Wold2013-06-111-0/+2
| | | | | | | | | Needed for the unittest part of bitbake-selftest can work correctly. (From OE-Core rev: fe744381e8844ad17dcc6e036650a442dbc9575d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: non-zero status means that we need -march.Randy MacLeod2013-06-111-1/+1
| | | | | | | | | | A non-zero status from the march test for gcc means that the "march" flag is needed. Correct the logic to return True in this case. (From OE-Core rev: 217fd857df78c66eae853f935e9cdafcbeb3bc31) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-base: s/dosfsprogs/dosfstools/Christopher Larson2013-06-111-1/+1
| | | | | | | (From OE-Core rev: 15e3c72bdcabf0a21efff60333323ac04908efb0) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: don't install quotaon.service twiceRoss Burton2013-06-112-0/+33
| | | | | | | | | | | If the same file is installed twice there's a race which can lead to "make install" failing. Remove the redundant installation of quotaon.service to eliminate the race. (From OE-Core rev: c6c5c2285e1b6cb3598ccba08aee3dfd090e7129) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* copyleft_compliance: set 'dirs' flag on taskChristopher Larson2013-06-111-0/+1
| | | | | | | | | | | Without this, due to bitbake defaulting to ${B}, it's possible to get ${S} inadvertantly created before do_unpack, breaking the unpack of git sources, which expect the destination to not exist. (From OE-Core rev: 694a15382fe9f3749ffdc0168a6dc2da8a29ae2d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: fetch archive+siginfo in a single pstaging_fetchChristopher Larson2013-06-111-17/+15
| | | | | | | | | | | | | This avoids unnecessary duplication of setup. The only visible change in behavior will be the case if siginfo exists and the archive does not, in which case it'll redownload both, but this doesn't seem unresasonable to me, particularly since the archive is downloaded first, making this case particularly unlikely. (From OE-Core rev: aa4991c307d4bbdd06c3cbf8448240b74c5e01c4) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: kill MIRRORS and FILESPATH to speed up fetchingChristopher Larson2013-06-111-0/+2
| | | | | | | | | | | The default FILESPATH isn't really of use, as we don't expect to find sstate archives buried in layer recipe directories, and the default MIRRORS is intended for use for fetching SRC_URI, not sstate. (From OE-Core rev: 46402b2f5b69004751f6663d435bedae0ad9dab1) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* copyleft_compliance: handle localpaths ending with '/'Christopher Larson2013-06-111-0/+2
| | | | | | | (From OE-Core rev: 1f30d2eb2ef45550c71969c735275db1448b6ac6) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gconf: inherit gettextChristopher Larson2013-06-111-1/+1
| | | | | | | (From OE-Core rev: b35411d0ed069d135c3052ae457a488503636221) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: inherit python classes, use PACKAGECONFIGChristopher Larson2013-06-111-2/+7
| | | | | | | | | | | | Without using our python classes and having appropriate dependencies, the build is nondeterministic, and whether a python-avahi package is produced will vary depending on the host environment, yet avahi-discover is always produced, and it depends on python-avahi. (From OE-Core rev: 4599ef630c13224506671bf84569bfc240cd3032) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: include all licenses in the manifestChristopher Larson2013-06-111-4/+3
| | | | | | | | | | | | When we don't have a generic license file for the license in question, we can warn, but we should still include it in the manifest, otherwise the manifest doesn't reflect reality. Failing to include a license listed in the recipe in the manifest can't be allowed. (From OE-Core rev: e87232828b761d56f1ce6a27e4009d350d68209c) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: don't exclude mipsChristopher Larson2013-06-111-11/+0
| | | | | | | | | | | Now that liburcu supports mips, this packagegroup can pull in lttng recipes (lttng-ust, lttng-tools, lttng-modules, babeltrace) on that architecture as it does for the others. (From OE-Core rev: c0f435cde195e1d037af32c69aa1732797362cfa) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: quiet package errors not in *_QAChristopher Larson2013-06-111-2/+4
| | | | | | | | | | | | | | | Currently, if a package QA type from package.bbclass is not listed in ERROR_QA, it gets shown, regardless of whether it's in WARN_QA. This differs from the behavior of the rest of the QA handling (which doesn't call package_qa_handle_error at all if it's in neither _QA variable), and is nonintuitive. Change this to use bb.note() if it's listed neither in ERROR_QA nor WARN_QA, so it ends up in the task logs, but doesn't clutter up the user's output. (From OE-Core rev: 8f5675e6d3eb8473f367de72d2d3d8a702011a47) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-base-vfat: include dosfsprogsChristopher Larson2013-06-111-1/+2
| | | | | | | | | | The ext2 group includes e2fsprogs, so this is consistent and should be appropriate, I think. (From OE-Core rev: 4ec66dc5f38913056942e1288c0b01a00ea0551f) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: use PACKAGECONFIG for WISPr supportChristopher Larson2013-06-111-3/+7
| | | | | | | (From OE-Core rev: a5161ed721791dbd32b90f1621b3eca92b2a9400) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: remove unrecognized configure optionsJonathan Liu2013-06-111-4/+1
| | | | | | | | | | --disable-glut and --disable-glw are not recognized since Mesa 8.0. --disable-glu is not recognized since Mesa 9.0. (From OE-Core rev: dac1f95e03f897237e6551240c200370d5102807) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: drop Makefile.in hunks from patchRoss Burton2013-06-111-34/+0
| | | | | | | | | | Patching a generated file is prone to conflicts, and we'll be replacing this file anyway when configuring, so drop the Makefile.in hunks. (From OE-Core rev: a3fa323c4d24375be9b783281c3cf31c0707ecb7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* handle two-word commands with tmuxPeter Seebach2013-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | Trying to make a devshell using tmux can fail because "tmux new" expects a single command, not a series of arguments. It does, however, split strings in a suitable way. So you can quote the command. The failure mode is particularly arcane, in that you end up with a message like: ERROR: Unable to spawn terminal auto: \ Execution of 'pseudo /bin/bash' failed with exit code 1: usage: new-session [-d] [-n window-name] [-s session-name] \ [-t target-session] [command] which is confusing because there's no "new-session" anywhere in sight (that's actually "tmux new"), and because what failed to execute wasn't either pseudo or bash. (From OE-Core rev: f8ed7446755eeb88191e16749350efa1e7e6197c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librsvg: configure needs a native gdk-pixbuf binarySaul Wold2013-06-111-0/+1
| | | | | | | | | Build failure was seen on the autobuilder, so add gdk-pixbuf-native to depends list (From OE-Core rev: 6ea293a8696843779cb23d6176b54efcde0462ec) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: replace rpm-postinsts dependency with run-postinstsLaurentiu Palcu2013-06-111-1/+1
| | | | | | | | | | | run-postinsts is generic and will handle rpm delayed postinsts just fine. No need to use another recipe. (From OE-Core rev: 1195a188f366fbbb04b9379d7ea3c7c02130cc98) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm.bbclass: handle pre/post remove scriptletsLaurentiu Palcu2013-06-111-6/+10
| | | | | | | | | | | | | Currently the scriptlet_wrapper is designed to handle only pre/post install scriptlets. This patch will slightly change the wrapper script to handle also pre/post remove scriptlets when we want to remove packages from the final image. (From OE-Core rev: aea47c77d69407b2e62f151cabba35293d179f0c) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_rpm.bbclass: switch to using run-postinstsLaurentiu Palcu2013-06-111-1/+1
| | | | | | | | | | Since run-postinsts was made generic, use it for RPM too. (From OE-Core rev: 1ba44302f522a42535c9ad7d2fcccc06ba4c20b3) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* run-postinsts: make it genericLaurentiu Palcu2013-06-114-70/+50
| | | | | | | | | | | | | | | | | | | | | | | | This recipe is used only when the package manager is not deployed on target and there still are delayed postinstalls that need to be run on target. At the moment, run-postinsts is targeted to dpkg/opkg. RPM uses another recipe, called rpm-postinsts which, in turn, is used even when the rpm package is deployed. This patch intends to make run-postinsts generic and deprecate rpm-postinsts. Here's why: * when opkg/dpkg are not deplyed, the meta-data files are useless. Hence, the awk script is not needed. The postinstall files are already saved in /etc/(deb|ipk)-postinsts directory and we can use the same procedure as in rpm's case; Also, the recipe is moved out from meta/recipes-devel/dpkg to meta/recipes-devel/run-postinsts. (From OE-Core rev: 0222e6740ee4670bbf42d246ab3ecad415ffcdee) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-minimal: do not remove packaging files in the rootfs postprocessLaurentiu Palcu2013-06-111-2/+0
| | | | | | | | | | | | | | | | | | Since the removal of PM's meta-data was moved in image.bbclass, after rootfs_*_do_rootfs() runs, there's no need to remove the files in rootfs postprocess stage. Also, if the meta-data is removed then there's no way we can save the postinstalls to /etc/(deb|ipk)-postinsts later. For RPM, it doesn't really matter since the postinstalls are saved to /etc/rpm-postinsts as soon as the postinstall fails. [YOCTO #4484] (From OE-Core rev: aac8a59216819759d6b97bc30a7c717dbee7060a) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: remove unneeded files from the imageLaurentiu Palcu2013-06-111-0/+33
| | | | | | | | | | | | | This patch creates a new function, rootfs_remove_unneeded(), that will be called after rootfs_*_do_rootfs is called and which will handle delayed postinstalls in a generic fashion, for all backends in the same way. (From OE-Core rev: d3d810faf8e93ce2d3faaa70da6deeb25b1cec26) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_*.bbclass: add some helper functionsLaurentiu Palcu2013-06-113-25/+64
| | | | | | | | | | | | | | | | | | | | This patch adds the following helper functions: * delayed_postinsts - outputs the list of delayed postinstalls; * save_postinsts - this will save the delayed postinstalls for ipk/deb in /etc/(ipk|deb)_postinsts; * rootfs_remove_packages - removes packages from an image; Additionaly, this patch will remove a piece of code in rootfs_ipk_do_rootfs which will be moved to image.bbclass and used for all backends; [YOCTO #4484] (From OE-Core rev: 928df79cd3964f775c4c6e4283ef84b8882f9328) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: fix QMAKE_QT_CONFIG being overwritten with empty valueJonathan Liu2013-06-112-0/+40
| | | | | | | | | | | | | | | | QMAKE_QT_CONFIG is set by the linux-oe-g++ mkspec but it is overwritten with an empty value read from .qmake.cache. Avoid this by first checking if the value from .qmake.cache is not empty before assigning it to QMAKE_QT_CONFIG. This allows variables from qconfig.pri such as QT_ARCH, QT_CONFIG, QT_VERSION, etc. to be queried by qmake projects. (From OE-Core rev: 5330905749828ea8befdee559c180754ac506b75) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-native: update configure paths to match targetJonathan Liu2013-06-111-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qmake2 was being built with paths different to the target Qt. The incorrect paths can be seen by running qmake2 -query: QT_INSTALL_DOCS:${STAGING_DIR_NATIVE}/usr/doc should be /usr/share/doc/qt4 QT_INSTALL_PLUGINS:${STAGING_DIR_NATIVE}/usr/plugins should be /usr/lib/qt4/plugins QT_INSTALL_IMPORTS:${STAGING_DIR_NATIVE}/usr/imports should be /usr/lib/qt4/imports QT_INSTALL_TRANSLATIONS:${STAGING_DIR_NATIVE}/usr/translations should be /usr/share/qt4/translations QT_INSTALL_EXAMPLES:${STAGING_DIR_NATIVE}/usr/examples should be /usr/bin/qt4/examples QT_INSTALL_DEMOS:${STAGING_DIR_NATIVE}/usr/demos should be /usr/bin/qt4/demos QMAKE_MKSPECS:${STAGING_DIR_NATIVE}/usr/mkspecs should be /usr/share/qt4/mkspecs Use the same paths as target Qt for consistency. As the mkspecs are installed to /usr/share/qt4/mkspecs not /usr/mkspecs, qmake2 was unable to detect and load the webkit module (it is detected by loading modules/qt_*.pri inside the mkspecs directory) so webkit was missing from QT_CONFIG if a qmake project reads the QT_CONFIG variable. (From OE-Core rev: 37b57b44ff83c718021da4f717fc66a28204c96c) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/qmake_base: update .pro hackJonathan Liu2013-06-111-2/+13
| | | | | | | | | | | | This adds support for lconvert and xmlpatterns tools and tweaks the sed expressions to handle more complex assignments in .pro files like: LRELEASE = $$targetPath($$[QT_INSTALL_BINS]/lrelease) (From OE-Core rev: 542fefa61f0ac1dcdacac2630fd44950ac11cdd9) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/qmake2: export OE_QMAKE_LCONVERT and OE_QMAKE_XMLPATTERNSJonathan Liu2013-06-111-0/+2
| | | | | | | | | | These will be used by qmake_base.bbclass. (From OE-Core rev: 405d1325ebbd31676d88a3e157f55d40d04cc3f4) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-native: build lconvert and xmlpatternsJonathan Liu2013-06-111-1/+3
| | | | | | | | | | These tools are needed by some Qt projects (e.g. Qt Creator). (From OE-Core rev: e2f3232fdc2836685549e59dc5c71363d3bbab5f) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: added python dependency to nativesdkFelipe F. Tonello2013-06-111-0/+1
| | | | | | | | | | | | | | | | This is necessary since libxml2 has python dependency. This patch will fix this error: ... /path/to/build/system/4.7.2/ld: cannot find -lpython2.7 ... ERROR: Task 4152 (virtual:nativesdk:meta/recipes-core/libxml/libxml2_2.9.0.bb, do_compile) failed with exit code '1' (From OE-Core rev: 4f2b3e3831bdc5707eacdab571ab207d8b09953e) Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: split SDK data by IMAGE_NAMEPaul Eggleton2013-06-111-1/+1
| | | | | | | | | | | | | | | | | | Data from SDKs produced from different images or different meta-toolchain style recipes should go into separate directories, since SDK_NAME doesn't include anything to differentiate these by default (only pieces for the distro name and architectures). Note you should delete or move existing data under the buildhistory/sdk/ directory manually after this change. Fixes [YOCTO #4622]. (From OE-Core rev: 74658b66530184b0287152397341fbe411e90c71) 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>