summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* webkit-gtk: Use glib as unicode backend to avoid browser crashZhai Edwin2012-05-301-1/+9
| | | | | | | | | | | | | webkit-gtk depends on ICU for the unicode, but ICU is not safe when build and target system owns different endian. ICU's community is not responsive to make a patch for this, so glib is used as work around here. [YOCTO #1570] got fixed (From OE-Core rev: e3113827810e98eb1b012f0b280fb917199704c1) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: set an exclusion list for varflags in checksumsPaul Eggleton2012-05-301-0/+4
| | | | | | | | | | | | | | | | | | | Set BB_SIGNATURE_EXCLUDE_FLAGS, which is used by the new varflag checksum code in BitBake. The list is intended to cut out most of the varflags that are generated internally, don't influence the output or are already included in the checksum in some way. If need be this list can be extended in the future. The existing vardepsexclude mechanism can also be used to exclude undesired varflags, but they must be fully specified, e.g.: do_patch[vardepsexclude] += "do_patch[someflag]" Implements [YOCTO #2517]. (From OE-Core rev: 2bed83c6237669b6fc6fa25b2a554efb73395ca6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Update to new update-alternatives syntaxRichard Purdie2012-05-301-3/+3
| | | | | | (From OE-Core rev: 6176dbd6ee770c0c2849f53b213866b61ac29ff1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2: Update to new update-alternatives syntaxRichard Purdie2012-05-301-1/+1
| | | | | | (From OE-Core rev: 75cd7692c97b07e05f304893995231e2d3390f8f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Remove bashism from recipeRichard Purdie2012-05-301-1/+1
| | | | | | | | Without this, the installed files get mangled when a dash shell is used. (From OE-Core rev: 59db7976fa870084af19d880e594b0e94678cf19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives: Fix absolute symlink handlingRichard Purdie2012-05-301-1/+5
| | | | | | | | | | After the class changes, absolute symlinks are not being handled correctly by the class file. This adds handling for absolute symlinks to account for the pkgdest directory, removing dangling symlink messages from recipes like bzip2. (From OE-Core rev: ecea2fab2063a3c478a63e62ba0e80305674c5e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Add warning about FILES containing '//'Richard Purdie2012-05-301-0/+3
| | | | | | | | | | | | '//' in a FILES variable causes hard to track down issues with packaging. This adds a warning and attempts to auto-correct the issue to try and make the problem more user friendly. [YOCTO #2448] (From OE-Core rev: 0e33e314b1d2d3779658696f13a274b20d698667) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf/bitbake.conf: Tweak PATHRichard Purdie2012-05-302-5/+1
| | | | | | | | | | | | | | We want the help2man script in scripts/ to be found in preference to any from the host system and from the native sysroot. It turns out to be tricky to get the order right from layer.conf so we move the addition of the scripts directory to bitbake.conf. Without this, "bitbake libtasn1 -c cleansstate; bitbake help2man-native; bitbake libtasn1" will fail due to finding the host system help2man before ours. (From OE-Core rev: 859255dd30958db018d40ede94a76db36a98da7f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "meta: replace os.popen with subprocess.Popen"Richard Purdie2012-05-307-53/+38
| | | | | | | | | This reverts commit e83d8e58a6b107eea87df0ec233a1bc932b2c6e as the conversion is not correct. Its replacing readlines() calls which generate an array with what are effectively strings. There are split("\n") calls missing in many cases so this needs to be reverted until it gets fixed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/sanity: fix a couple of grammatical errors in messagesPaul Eggleton2012-05-301-2/+2
| | | | | | | (From OE-Core rev: 004ba67298e3e6e618df29597e9166c971a1941c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Separate out into its own classRichard Purdie2012-05-304-5/+9
| | | | | | | | | | | | | | Currently, ccache is used if it is present. When building from scratch it gives no performance improvement and creates a ton of empty directories even when its not in use. This change moves ccache support to a bbclass file which the user can choose to enable. This should make builds more determinstic and make it easier/clearer to the end user when its being used and when it is not. (From OE-Core rev: 2acf8da4f13c175ea818b9514677b7059de1e3e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/cp-noerror: Add a special copy function to fix autotools issuesRichard Purdie2012-05-301-2/+1
| | | | | | | | | | | | | | | | | | | Currently we copy the aclocal directory to the build so that autotools doesn't see .m4 files disappear when its processing them. This can happen if for example, package X is being rebuilt at the same time as Y and it gets uninstalled from sstate (assuming there are no dependencies between X and Y). This code making the copy was added to avoid races but introduces a race of its own, namely that the files can disappear during the copy. This patch adds a cp-noerror script which silently ignores such errors and gives the behaviour we need in this case. It hence fixes issues which crop up for users and the autobuilder occasionally. [YOCTO #2485] (From OE-Core rev: 0f81fbc0df73675aeb79c724858799a3b6a02f85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xz: updated to version 5.1.1alphaValentin Popa2012-05-301-5/+5
| | | | | | | | | The licenses are the same, only some white spaces added/removed. (From OE-Core rev: da98266f3a228cf65f279db9810a5326c8bd5422) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add an option to remove host sdl/gl checkingZhai Edwin2012-05-305-32/+203
| | | | | | | | | | | | | | | Add an PACKAGECONFIG in qemu to disable GL acceleration: * By default configure try best to enable GL acceleration and fail when missing host dependency(libSDL and libGL). * End user can also choose to turn off GL capability, thus remove the host dependence in building. [YOCTO #2407] got fixed. (From OE-Core rev: cfa93553e17057a1ea9d81e3a415fc8260c54067) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/sanity: send sanity check failure as a separate event for HobPaul Eggleton2012-05-301-3/+13
| | | | | | | | | | | | | | | | | | In order to show a friendlier error message within Hob that does not bury the actual sanity error in our typical preamble about disabling sanity checks, use a separate event to indicate that sanity checks failed. This change is intended to work together with the related change to BitBake, however it has a check to ensure that it does not fail with older versions that do not include that change. Fixes [YOCTO #2336]. (From OE-Core rev: 49d8b7b8c3b18da64583637db207f1f064a5bdb2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* foomatic-filters: update to version 4.0.15Radu Moisan2012-05-301-3/+3
| | | | | | | (From OE-Core rev: 8bfec8bf80b111174e4a6cf01db019b38638b31a) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtd-utils: Update to version 1.5.0Radu Moisan2012-05-302-2/+2
| | | | | | | (From OE-Core rev: f53a8aed0db26c6464751f340a7e010c45f76ebb) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man-pages: update to version 3.41Radu Moisan2012-05-301-4/+4
| | | | | | | (From OE-Core rev: b48cd36fd40d6784e203b3bac85b63643813a6db) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/sanity: remove broken TARGET_ARCH checkPaul Eggleton2012-05-301-4/+0
| | | | | | | | | | | | | The variable name has been typo'd as TARGE_ARCH since it was introduced some time ago, so the check has never worked. Fixing the typo shows that the test is not quite functional, so let's just remove it: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010613.html (From OE-Core rev: 897a9b1dddef385253b16ea7c193483e0ea679b6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpciaccess: upgrade to 0.13.1Laurentiu Palcu2012-05-302-55/+2
| | | | | | | | | | Removed also the fix_deletion_of_last_handle.patch because the new version includes it. (From OE-Core rev: b5753796e7f8b52e40aed51f4d5c8d329a31265e) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontsproto: upgrade to 2.1.2Laurentiu Palcu2012-05-301-2/+2
| | | | | | | (From OE-Core rev: c718f63b263f41e48b2293b2cd67371940b10804) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontconfig: upgrade to 2.9.0Laurentiu Palcu2012-05-304-12/+8
| | | | | | | | | | | | | | | | Other changes: - licence checksums because the licence headers changed slightly: several other authors were added and Keith Packard's name has been replaced with "author(s)". That's it. - rebased the fix-pkgconfig.patch to apply on 2.9.0 - removed all sed instructions in do_configure_append() that were changing fc-arch/Makefile. In the new version the fc-arch/ directory has been removed in order to make the package cross-compiling safe (From OE-Core rev: 8e219dea0373dc3a37d51f63c41f1a8449029dd5) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory_analysis: fix error when version specifier missingPaul Eggleton2012-05-301-1/+1
| | | | | | | | | | Passing None to split_versions() will raise an exception, so check that the version is specified before passing it in. (From OE-Core rev: 90caa605bd24279e4a9204e279492754119a8a55) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: replace os.popen with subprocess.PopenRobert Yang2012-05-307-38/+53
| | | | | | | | | | | | | | | | | | | | | | Replace os.popen with subprocess.Popen since the older function would fail (more or less) silently if the executed program cannot be found There are both bb.process.run() and bb.process.Popen() which wraps the subprocess module, use it for simplifying the code. Note: We don't need the "2>/dev/null" or "2>&1" since bb.process.run() can handle it, it will raise exception when error occurs, we should handle the exception ourselves if we want to ignore the error. More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] (From OE-Core rev: e83d8e58a6b107eea87df0ec233a1bc932b2c6ea) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: replace os.system with subprocess.callRobert Yang2012-05-3014-52/+74
| | | | | | | | | | | | | | | Replace os.system with subprocess.call since the older function would fail (more or less) silently if the executed program cannot be found More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] (From OE-Core rev: a07d03cc6f67c88feb9813ae7deb6e4a93552dfe) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow-utils-native: remove unnecessary alternativesMark Hatle2012-05-301-21/+0
| | | | | | | (From OE-Core rev: b1ea93143a473f006b31ab22f88baf41661971a7) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: use new update-alternativesMark Hatle2012-05-301-21/+18
| | | | | | | (From OE-Core rev: 5879e0d3a2b3a6d000e33cadf4407c38ae1eb1ab) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysklogd: use new update-alternativesMark Hatle2012-05-302-16/+15
| | | | | | | (From OE-Core rev: c32dca4013d851aeb9d661a25cab81daf213121f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psmisc: use new update-alternativesMark Hatle2012-05-302-21/+7
| | | | | | | (From OE-Core rev: 867864451baa875f48d87f4b8dbce80a90038243) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iputils: use new update-alternativesMark Hatle2012-05-301-17/+17
| | | | | | | (From OE-Core rev: dbd81c151305faf20f8e9e6f1a588d6ce4cfd49b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grep: use new update-alternativesMark Hatle2012-05-302-27/+22
| | | | | | | (From OE-Core rev: ca478f563575ff2262741821ec35d4dfbf9f4487) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpio: use new update-alternativesMark Hatle2012-05-303-21/+12
| | | | | | | (From OE-Core rev: 6dee3050a4a0c4f3cc9fec23a0bc02155d680863) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: use new update-alternativesMark Hatle2012-05-301-7/+6
| | | | | | | (From OE-Core rev: fc9c2fd512e592806b10d0273ca490c90072ff3f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: use new update-alternativesMark Hatle2012-05-303-12/+10
| | | | | | | (From OE-Core rev: ed48d4b382dae08ac47bccdcb98b1e87dc6449cc) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: use new update-alternativesMark Hatle2012-05-302-9/+11
| | | | | | | (From OE-Core rev: f0ad3c8ce298ca492938e4ded2263c54213786f6) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: use new update-alternativesMark Hatle2012-05-302-169/+45
| | | | | | | | | | | | In addition to switching to the new update-alternatives, it was discovered that the sln, shutdown, halt, reboot and related commands were never generated. Remove these from the list. (These appear to have been removed from util-linux some time ago.) (From OE-Core rev: 55c01de28a28a4cfe16d36663c190a874ef2e85d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: use new update-alternativesMark Hatle2012-05-301-16/+7
| | | | | | | (From OE-Core rev: dc68ad07676833a2b8dba9540f35c0b70bf2fdfe) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: use new update-alternativesMark Hatle2012-05-301-18/+4
| | | | | | | (From OE-Core rev: 54a92bdd0555d776efe92f7cf57a75039562556a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: use new update-alternativesMark Hatle2012-05-302-7/+8
| | | | | | | (From OE-Core rev: e7164da229d8ccccb043a790b25c995a46a83c88) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: use new update-alternativesMark Hatle2012-05-302-57/+38
| | | | | | | (From OE-Core rev: 4bed7f31535f16dbe1f8bbab58921f12f1696f6f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: use new update-alternativesMark Hatle2012-05-302-45/+23
| | | | | | | (From OE-Core rev: fbbc96aed5086f853a1179f1478ccd252af24094) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: use new update-alternativesMark Hatle2012-05-301-20/+11
| | | | | | | (From OE-Core rev: b417ced0573acde896332827bcc13b0f7c5bd9fe) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lrzsz: use new update-alternativesMark Hatle2012-05-301-16/+12
| | | | | | | (From OE-Core rev: df53826b5ee66bcafd7d091630b2d18477f3a672) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: use new update-alternativesMark Hatle2012-05-303-74/+17
| | | | | | | | | Also remove postinst and prerm which were not being used. (From OE-Core rev: 60fd9974e5c9a0576059ebded6de7b599f9574e5) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tinylogin: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: 60884b6bee6be7250caca2f229eda174bcefd959) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: aa092530d3fdbfe6671ab6a05ecea2d71c4e11e4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* less: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: 3361ebfd61dc0d5914a506b1a06b92bd80734114) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mktemp: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: c1285844b9a46221c8e0b24ef29642bec312035b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sed: use BPN for alternativesMark Hatle2012-05-302-4/+4
| | | | | | | (From OE-Core rev: cd059cb57efa2aad332ef2fc7f1f411afce82b73) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: 87d43530b434e5be139b845d6b96bbf2d885867d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>