scm/bb/tizen-distro.git
11 years agogenext2fs.inc: Add nativesdk build capability
Jason Wessel [Wed, 20 Feb 2013 11:11:12 +0000 (05:11 -0600)]
genext2fs.inc: Add nativesdk build capability

In order to generate new disk images for ext(2,3,4) which contain root
file systems we do not want to rely on the host's genext2fs which may
have different arguments and features, so allow the nativesdk
genext2fs binary to be built.

(From OE-Core rev: b9eac9683baaeb458d70a5089cbb5e2b8149eb26)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman: Remove wildcard from SRC_URI
Mark Hatle [Wed, 20 Feb 2013 01:27:14 +0000 (19:27 -0600)]
man: Remove wildcard from SRC_URI

[ CQID: WIND00402802 ]

Remove the wildcard from the SRC_URI.  This causes problems when you .bbappend
and add a FILESEXTRAPATHS entry.  The unpack task may be unable to find the
files to unpack leading to an error.

Avoid wildcards at all costs...

Note, remove both man-1.5m2-multiple.patch and man-1.6e-lzma+xz-support.patch,
they were not being applied in the previous version.  The later also fails to
apply when added to the SRC_URI.

(From OE-Core rev: 61b60906b2825d4f9ea1f5ae11e1f9fcc77ac4e7)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-dtc: Make KERNEL_DEVICETREE_FLAGS configurable
Anders Roxell [Wed, 20 Feb 2013 14:56:32 +0000 (15:56 +0100)]
linux-dtc: Make KERNEL_DEVICETREE_FLAGS configurable

(From OE-Core rev: f46c5714bc23a50a207c03cc20c3a6aebe8c5df0)

Signed-off-by: Anders Roxell <anders.roxell@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtirpc: upgrade to 0.2.3
Cristian Iorga [Wed, 20 Feb 2013 16:51:47 +0000 (18:51 +0200)]
libtirpc: upgrade to 0.2.3

- libtirpc-0.2.2-rpc-des-prot.patch removed;
- remove-des-crypt.patch removed;
both included in base distribution.

(From OE-Core rev: c0ff6185e623a40a7378a01d45b2c641ca3fa79d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_rpm.bbclass: Reorder feed priority based on multilib image setting
Mark Hatle [Wed, 20 Feb 2013 19:31:11 +0000 (13:31 -0600)]
rootfs_rpm.bbclass: Reorder feed priority based on multilib image setting

[ YOCTO #3915 ]
[ CQID: WIND00404309 ]

When doing a multilib image build, such as bitbake lib32-core-image-sato, the
system needs to reorder the priority level of the feeds.  If it does not
reorder the priorities, then 64-bit items can be selected by the automatic
dependency resolution in Smart.

(From OE-Core rev: dfbb1aa184955923b85b81aabf944de8f1a1e4b5)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase-passwd.preinst:fix creating passwd and group error
Hongxu Jia [Thu, 21 Feb 2013 06:22:16 +0000 (14:22 +0800)]
base-passwd.preinst:fix creating passwd and group error

Create files `passwd' and `group' in `$D${sysconfdir}', if `$D${sysconfdir}'
does not exist, there is an error:
...
cannot create $D${sysconfdir}/passwd: Directory nonexistent
cannot create $D${sysconfdir}/group: Directory nonexistent
...

Attampt to create dir before file creation.

[YOCTO #3917]

(From OE-Core rev: aea1d6c29e0c3f7c854045057d8bb389a1609b2b)

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>
11 years agoxserver-xf86-config: empty generic xorg.conf
Ross Burton [Tue, 5 Feb 2013 14:01:04 +0000 (14:01 +0000)]
xserver-xf86-config: empty generic xorg.conf

The idea of a generic xorg.conf is meaningless, especially when they specify the
"intel" driver.  Empty this file so that unless the BSP specifies it's own
xorg.conf, no xorg.conf file is installed.

(From OE-Core rev: 746b6e90a8403886e6957d33610bbda115de0a0c)

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>
11 years agoxserver-xf86-config: don't ship empty xorg.conf
Ross Burton [Tue, 5 Feb 2013 14:00:40 +0000 (14:00 +0000)]
xserver-xf86-config: don't ship empty xorg.conf

Many hardware platforms can autodetect their hardware and don't need a xorg.conf
at all.  Make it easy for BSPs to not ship a xorg.conf by not installing empty
xorg.conf files.

(From OE-Core rev: 4b46149df5f123c7acf4699dbc552cc0e07f709a)

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>
11 years agopackage_deb: check CONFFILES exist before adding them to metadata
Ross Burton [Fri, 15 Feb 2013 13:03:51 +0000 (13:03 +0000)]
package_deb: check CONFFILES exist before adding them to metadata

dpkg-deb verifies that conffiles exist, so verify that the specified files
actually exist before writing them to conffiles.

This mirrors the behaviour of FILES and package_rpm's CONFFILES handling.

(From OE-Core rev: 767a3d1c45f97add720174a7034df750bfb09a8e)

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>
11 years agohwclock.sh: check for the existence of /etc/default/rcS
Chen Qi [Tue, 19 Feb 2013 07:59:40 +0000 (15:59 +0800)]
hwclock.sh: check for the existence of /etc/default/rcS

/etc/default/rcS might be missing if the init manager is not sysvinit.
So we have to check for the existence of this file before sourcing it.

[YOCTO #3697]

(From OE-Core rev: 416519ec595f59ebeafb95bed2546635cad41559)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoptest: Add missed .debug path
Björn Stenberg [Tue, 19 Feb 2013 13:14:04 +0000 (14:14 +0100)]
ptest: Add missed .debug path

(From OE-Core rev: f8bf3c65327c6e04c19a7dda623c7433f5d97417)

Signed-off-by: Björn Stenberg <bjst@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-gl: add package recipe
Jeremy Stashluk [Tue, 19 Feb 2013 12:13:42 +0000 (12:13 +0000)]
gst-plugins-gl: add package recipe

Added notes, signoff, and upstream status to internal patch.

(From OE-Core rev: 76cebb57d3ce507e3876e0a9a881eaa3e8c6fdb8)

Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com>
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>
11 years agogroff: upgrade to 1.22.2
Constantin Musca [Tue, 19 Feb 2013 08:11:30 +0000 (10:11 +0200)]
groff: upgrade to 1.22.2

- add code for generating the gnulib configure script
- replace /usr/bin/perl with /usr/bin/env perl

(From OE-Core rev: c205124d135935855b9b479125f5bddce96a2872)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoshared-mime-info: upgrade to 1.1
Constantin Musca [Mon, 18 Feb 2013 12:04:34 +0000 (14:04 +0200)]
shared-mime-info: upgrade to 1.1

(From OE-Core rev: eed45b5e22e5fa7b7d6ea7ccf2db36b80f90cd4e)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocairo: upgrade to 1.12.14
Constantin Musca [Mon, 18 Feb 2013 12:04:09 +0000 (14:04 +0200)]
cairo: upgrade to 1.12.14

(From OE-Core rev: b4c5a95c4c5266c4b3a26addd4ac87bc4a482604)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoaugeas: upgrade to 1.0.0
Constantin Musca [Mon, 18 Feb 2013 12:05:09 +0000 (14:05 +0200)]
augeas: upgrade to 1.0.0

0001-Add-missing-argument-to-escape.patch: removed
    - included in the new version

remove-gets.patch: not needed anymore

add-missing-argz-conditional.patch: added
    - the Makefiles assume that the argz conditional
is present in configure.ac

(From OE-Core rev: a711a8617c39b06c9a494d0ceae9f96f65b024f9)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: upgrade to 3.0
Cristian Iorga [Mon, 18 Feb 2013 12:50:30 +0000 (14:50 +0200)]
pulseaudio: upgrade to 3.0

ARM Neon instruction set compilation error fixed.
Build system disables Neon optimisations if
ARM target does not support it.
BT support dependent on bluez and sbc support.
sbc package added as a dependency.

(From OE-Core rev: 4e7b91b5a2613b957b08aefbee1aac28fdd19598)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosbc: Fix PN -> BPN for multilib
Saul Wold [Thu, 21 Feb 2013 16:02:51 +0000 (08:02 -0800)]
sbc: Fix PN -> BPN for multilib

(From OE-Core rev: 52bc2abf77aeb0756df758ff2bdfadef170e4558)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosbc: SBC audio codec
Cristian Iorga [Mon, 18 Feb 2013 12:50:29 +0000 (14:50 +0200)]
sbc: SBC audio codec

recipe added;
needed by pulseaudio.

(From OE-Core rev: fc6375426f9450d803f01b7d4513a0c0a1325e5f)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognome-common: upgrade to 3.7.4
Constantin Musca [Mon, 18 Feb 2013 13:43:35 +0000 (15:43 +0200)]
gnome-common: upgrade to 3.7.4

- gnome-common finally is GPLv2+
- omf.patch is included in the new version

(From OE-Core rev: dba2105d2f6f5788d8f827edad4e8c601a409d1f)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxvinfo: upgrade to 1.1.2
Laurentiu Palcu [Mon, 18 Feb 2013 15:20:17 +0000 (17:20 +0200)]
xvinfo: upgrade to 1.1.2

(From OE-Core rev: 4a95ac6804e1800ace722ff02b0dfc5a33381735)

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>
11 years agoxrandr: upgrade to 1.4.0
Laurentiu Palcu [Mon, 18 Feb 2013 15:20:16 +0000 (17:20 +0200)]
xrandr: upgrade to 1.4.0

(From OE-Core rev: 4116e3f3fb08acc1c0a997c65270a2f70fcb4450)

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>
11 years agocurl: update to upstream version 7.29.0
Marko Lindqvist [Sun, 17 Feb 2013 08:53:10 +0000 (10:53 +0200)]
curl: update to upstream version 7.29.0

- obsolete_automake_macros.patch removed as it's part of upstream.
- dont_override_ac_config_macro_dir.patch removed as no longer needed.
- pkgconfig_fix.patch updated to apply cleanly

(From OE-Core rev: b0c541236b4c4670ce77f55886b6ce02c562b8c2)

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>
11 years agooprofileui-server: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 17 Feb 2013 08:52:21 +0000 (10:52 +0200)]
oprofileui-server: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

(From OE-Core rev: 254799258ead1b7a59c301ad2d3e3c7e5b9fb8db)

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>
11 years agogtk-sato-engine: update to git repository head
Marko Lindqvist [Sun, 17 Feb 2013 08:51:58 +0000 (10:51 +0200)]
gtk-sato-engine: update to git repository head

The only new commit this pulls fixes build with automake-1.13.

(From OE-Core rev: 86284e488a984ee161af75bee30440b827bd72c9)

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>
11 years agowebkit-gtk: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 17 Feb 2013 08:51:23 +0000 (10:51 +0200)]
webkit-gtk: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

(From OE-Core rev: fd3586cfa620299ba2544ce16e140956b5171ae5)

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>
11 years agomatchbox-session-sato: start the keyboard applet if we have no keyboard
Ross Burton [Fri, 15 Feb 2013 17:02:42 +0000 (17:02 +0000)]
matchbox-session-sato: start the keyboard applet if we have no keyboard

If the formfactor says we have no physical keyboard, add the keyboard applet so
the user can force the keyboard to show/hide on demand.

(From OE-Core rev: a0bca3dc35db1a8fbc49fa4e3884c2365353b9c1)

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>
11 years agomatchbox-keyboard: add RRECOMMENDS to matchbox-keyboard-applet
Ross Burton [Thu, 14 Feb 2013 21:38:09 +0000 (21:38 +0000)]
matchbox-keyboard: add RRECOMMENDS to matchbox-keyboard-applet

The keyboard is more useful with the applet, as it means that you can hide it.

(From OE-Core rev: b6ea5818314d6de3a68df455e462f98f06cfd860)

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>
11 years agomatchbox-keyboard: general clean up
Ross Burton [Thu, 14 Feb 2013 21:36:59 +0000 (21:36 +0000)]
matchbox-keyboard: general clean up

Re-order variables, use $PN more, and merge the -dbg packages together.

(From OE-Core rev: 1dfe4f5d49bbbaf1adc28dacac92b5288021309b)

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>
11 years agopakcage.bbclass:use a better way to cut -dev/-dbg suffix
Song.Li [Fri, 22 Feb 2013 10:52:19 +0000 (18:52 +0800)]
pakcage.bbclass:use a better way to cut -dev/-dbg suffix

In pakcage.bbclass,function replace('-dev', '') is
used to cut '-dev' suffix. but it will cause the
name "lib32-device-dev" to "lib32ice",
so change it to [:-4].

(From OE-Core rev: 91a3a48798029ca88a46a528200f4c5252f245e9)

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: build.py: avoid deleting taint files when writing stamps
Paul Eggleton [Thu, 21 Feb 2013 15:23:35 +0000 (15:23 +0000)]
bitbake: build.py: avoid deleting taint files when writing stamps

The stamp cleaning process that occurs before writing out new stamps for
a task was deleting taint files as well. This resulted in tasks that
were forcibly re-executed using the -f or -C command line options to
have their previous output restored from shared state when called upon a
second time, because the taint value was no longer incorporated into the
task signature and thus it was reverting to its previous value. This
also affected the kernel menuconfig command in OE-Core.

Note that the taint file *is* still deleted when doing -c clean, which
is the desired behaviour.

Fixes [YOCTO #3919].

(Bitbake rev: e6db0ee31178d4386802e720d75303ec7dc21519)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Revert "fetch2: Adapt encode/decode url to use URI class"
Richard Purdie [Wed, 20 Feb 2013 07:05:11 +0000 (23:05 -0800)]
bitbake: Revert "fetch2: Adapt encode/decode url to use URI class"

This reverts commit 21fe2683aefde10e847e66c11c26d4f4c1e07cfd
since bitbake-selftest doesn't pass when this is applied and
we're seeing multiple build failures from this change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_ipkg: fix BAD_RECOMMENDATIONS handling
Ross Burton [Tue, 19 Feb 2013 21:31:52 +0000 (21:31 +0000)]
rootfs_ipkg: fix BAD_RECOMMENDATIONS handling

If multiple versions of the same package are in the package feed then the
generate status file would only contains a "deinstall" status for the last one,
which meant that BAD_RECOMMENDATIONS wouldn't actually work.

Use awk instead of grep and stop reading when we reach a newline, so we only
ever output a single stanza.

(From OE-Core rev: a5362de60c0051f16b88a40bd9cb41915bee0b0f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotoolchain-scripts.bbclass: add PYTHONHOME variable to environment-setup
Laurentiu Palcu [Tue, 19 Feb 2013 14:15:03 +0000 (16:15 +0200)]
toolchain-scripts.bbclass: add PYTHONHOME variable to environment-setup

When relocating the SDK, applications using python will search for
python modules in the default location and will fail to start.
The below errors are thrown by gdb, for example:

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site

In order to overcome this, add the PYTHONHOME variable to the
environment-setup script for both standalone toolchain and
adt-installer. No need to do that for meta-ide-support environment
script since this toolchain does not get relocated.

[YOCTO #3839]

(From OE-Core rev: e7a21cd69a326ab7e2d0e410db28f24956f61208)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: utils: Improve remove funciton to handle whitespace
Richard Purdie [Tue, 19 Feb 2013 22:31:52 +0000 (14:31 -0800)]
bitbake: utils: Improve remove funciton to handle whitespace

Improve the remove function to better handle cases where path contains
special shell chars like whitespaces, '$', ';' or'\'.

Thanks to Enrico Scholz for the fix.

(Bitbake rev: 617511c9f86cc4ef52457653c8adff582d94bce3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake/fetch2: workaround urlparse in older python not support git
Matthew McClintock [Tue, 19 Feb 2013 20:20:01 +0000 (14:20 -0600)]
bitbake: bitbake/fetch2: workaround urlparse in older python not support git

(Bitbake rev: 7e479dc6a574a8f3bd9f24d2ed1c3ceef91f3828)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: wget: Improve mkdir handling
Richard Purdie [Tue, 19 Feb 2013 21:52:38 +0000 (13:52 -0800)]
bitbake: wget: Improve mkdir handling

If there there isn't a subdirectory to the downloadfilename, this was
failing. This patch avoids that issue.

(Bitbake rev: 58bfd8d88495d4cae808e23b7af40e65ad05450f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: parse using bb.compat.Pool
Christopher Larson [Tue, 12 Feb 2013 17:28:47 +0000 (12:28 -0500)]
bitbake: cooker: parse using bb.compat.Pool

(Bitbake rev: 8af519a49a3374bd9004864ef31ca8aa328e9f34)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11
Otavio Salvador [Sun, 17 Feb 2013 17:53:10 +0000 (17:53 +0000)]
libsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11

(From OE-Core rev: bb7a913e4a0da450cc85edfe0d8f80bdf4065fad)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: Drop x11 support from nativesdk
Otavio Salvador [Sun, 17 Feb 2013 17:53:09 +0000 (17:53 +0000)]
dbus: Drop x11 support from nativesdk

This avoid a libx11 dependency for nativesdk as it is not intended to
be run in the toolchain. We also remove the dbus-launch as without x11
support it might case trouble for user

(From OE-Core rev: 2dcb6bf9205a5b2144ccb7f2912bf3e13211ae88)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodevshell.bbclass: Allow running devshell and fakeroot together
Richard Purdie [Mon, 18 Feb 2013 13:19:50 +0000 (13:19 +0000)]
devshell.bbclass: Allow running devshell and fakeroot together

Currently its hard to run a devshell complete with fakeroot context. This
patch allows the fakeroot flag on the task to do this, as with any other
task. Since we may need to start X terminal applications, we need to
only start the fakeroot session on the final command, hence the hoops
this code jumps through.

As always with fakeroot, you can break out and run a command without
the fake permissions with syntax like "PSEUDO_UNLOAD=1 <command>"

[YOCTO #3374]

(From OE-Core rev: 0a2662a48eaf0487db043c348e2834bb9cdd0466)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass: fix SDKTARGETSYSROOT value
Laurentiu Palcu [Mon, 18 Feb 2013 11:40:12 +0000 (11:40 +0000)]
populate_sdk_base.bbclass: fix SDKTARGETSYSROOT value

Currently, SDKTARGETSYSROOT points to PACKAGE_ARCH which, sometimes, can
be set to MACHINE_ARCH. When this happens, the default target sysroot
passed to the cross-canadian toolchain, which points to TUNE_PKGARCH,
will be different from the directory where the target sysroot has been
deployed.

In order to fix this, use REAL_MULTIMACH_TARGET_SYS variable instead of
MULTIMACH_TARGET_SYS.

[YOCTO #3784]

(From OE-Core rev: 41437aaac0cfc6f931d3b2974d380f20ec01f6e8)

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>
11 years agosanity: check_path_length: replace tab with 8 spaces
Martin Jansa [Mon, 18 Feb 2013 23:20:11 +0000 (23:20 +0000)]
sanity: check_path_length: replace tab with 8 spaces

(From OE-Core rev: de3f2367c46a213d07d834c7e874d2a4a0697026)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopseudo.inc: pseudo 1.5 uprev, support extra config flags
Peter Seebach [Sun, 17 Feb 2013 23:31:33 +0000 (23:31 +0000)]
pseudo.inc: pseudo 1.5 uprev, support extra config flags

The pseudo 1.5 update is a moderately experimental set of changes
which ought to improve performance. With these changes, pseudo
uses an in-memory sqlite database which is lushed on exit,
the protocol is changed to reduce waiting for server responses,
and pseudo can suppress any and all fsync/fdatasync type operations.

This last feature is optional, and not on by default, so we need
to pass in an extra configure argument, but that argument wouldn't
be known to an older configure, so... Enter PSEUDO_EXTRA_OPTS which
is passed to configure, and which pseudo_1.5.bb sets by default to
"--enable-force-async". (I haven't added it in pseudo_git.bb, but
maybe it should be changed; I'm not quite as sure there.)

The justification for these changes is that, for most of the real-world
build cases I deal with, they produce a 25% or more reduction in the
build time of a project. This increases when a system is heavily
loaded.

(From OE-Core rev: 79ddb0c33401da442dbaa8e0d73ebacf297d9185)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometa-toolchain-qt.inc: Use CXX when linking
Otavio Salvador [Sun, 17 Feb 2013 17:53:12 +0000 (17:53 +0000)]
meta-toolchain-qt.inc: Use CXX when linking

We should use CXX compiler when linking objects as done in regular
builds inside of OE-Core. This fixes issues we've been seeing in field
where we needed to change it byhand so the toolchain could work.

(From OE-Core rev: 4ade9c60acea0ac92d0a08f3078361b6f54c85e2)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Add SFTP fetcher
Olof Johansson [Tue, 29 Jan 2013 07:50:11 +0000 (08:50 +0100)]
bitbake: fetch2: Add SFTP fetcher

This fetcher differs from the SSH fetcher in that it adheres more
strictly to the SECSH URI internet draft --- it uses the sftp://
instead of the ssh:// scheme, and it uses sftp instead of scp.

(Bitbake rev: d240baeb7a4107d2eba3f08c411c0f086674d8e2)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Add editor modelines for bb.tests.*
Olof Johansson [Tue, 29 Jan 2013 07:50:10 +0000 (08:50 +0100)]
bitbake: fetch2: Add editor modelines for bb.tests.*

(Bitbake rev: 230e00948ba093958e8e89e9ee380444b3dad307)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Adapt encode/decode url to use URI class
Olof Johansson [Tue, 29 Jan 2013 07:50:09 +0000 (08:50 +0100)]
bitbake: fetch2: Adapt encode/decode url to use URI class

(Bitbake rev: 21fe2683aefde10e847e66c11c26d4f4c1e07cfd)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: unittests for bb.fetch2.URI class
Olof Johansson [Tue, 29 Jan 2013 07:50:08 +0000 (08:50 +0100)]
bitbake: fetch2: unittests for bb.fetch2.URI class

(Bitbake rev: a71e7d4137d2c5268b406f69992d09c00772a040)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Add a class representing a generic URI
Olof Johansson [Tue, 29 Jan 2013 07:50:07 +0000 (08:50 +0100)]
bitbake: fetch2: Add a class representing a generic URI

A class representing a generic URI, with methods for accessing the URI
components, and stringifies to the URI. This class should be a bit more
flexible than the existing {encode,decode}_url functions in that it
supports more components (e.g. port) and that it does not rely on a
specific order on the return values. This makes it easy to add new
properties without affecting the API.

(Bitbake rev: bd824da8a7eafe27310e410807319628378caeca)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Remove unused code in wget fetcher
Olof Johansson [Tue, 29 Jan 2013 07:50:06 +0000 (08:50 +0100)]
bitbake: fetch2: Remove unused code in wget fetcher

(Bitbake rev: 6d88fcee16ced3a8c1ab1daf8e88d36f70f13346)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_tar: Fix so it actually works
Richard Purdie [Sun, 17 Feb 2013 09:04:31 +0000 (09:04 +0000)]
package_tar: Fix so it actually works

This tells us how long the code hasn't been used for :/

(From OE-Core rev: cd503c7f7fec6d177209832f73cec9c5d490be6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_tar: Remove completely pointless code
Richard Purdie [Sun, 17 Feb 2013 09:03:28 +0000 (09:03 +0000)]
package_tar: Remove completely pointless code

Remove/simply overcomplicated code. No functionality change.

(From OE-Core rev: e3b21455e4ecc5b4961cf52e035a2d6d541faf69)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_tar: bb.mkdirhier -> bb.utils.mkdirhier
Richard Purdie [Sun, 17 Feb 2013 09:02:25 +0000 (09:02 +0000)]
package_tar: bb.mkdirhier -> bb.utils.mkdirhier

Fix deprecated function reference.

(From OE-Core rev: 9e7a6492010aa2de65310d6fa13290068e7cadb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_tar: Fix whitespace
Richard Purdie [Sun, 17 Feb 2013 09:01:35 +0000 (09:01 +0000)]
package_tar: Fix whitespace

(From OE-Core rev: fead6005b56f53535967476cc752691316e02183)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm/dev/ipk/tar: Drop unused functions
Richard Purdie [Sun, 17 Feb 2013 09:00:29 +0000 (09:00 +0000)]
package_rpm/dev/ipk/tar: Drop unused functions

The package_xxx_install functions date from a different era and are not used by
anything. In the rpm case, they're simply unimplemented, in the tar case they're
using broken whitespace and deprecated functions. We might as well clean
out the old broken unused code.

(From OE-Core rev: 3684036213c9b1c27389260b7a1e3441c6bd659d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm/deb/ipk: Error if we don't find packages when creating the package index
Richard Purdie [Sun, 17 Feb 2013 08:57:17 +0000 (08:57 +0000)]
package_rpm/deb/ipk: Error if we don't find packages when creating the package index

If for whatever reason the package directory is empty of packages, it
makes sense to error early rather than later in what become much
more obtuse errors. This adds in a sanity check to each of the packaging
backends. It also removes the duplicate createrepo call since the
core index creation function now uses this directly after the switch
to smart.

(From OE-Core rev: 721ef058b37604e100021ec7a90ad2f745d83916)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses: Drop none package specific packaging variable accesses
Richard Purdie [Sun, 3 Feb 2013 22:10:21 +0000 (22:10 +0000)]
classes: Drop none package specific packaging variable accesses

(From OE-Core rev: 24cbe88429ba021d7c461e0271b67106d11d5eb2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconf: Remove unused ROOT_FLASH_SIZE variable from the config
Holger Hans Peter Freyther [Sat, 16 Feb 2013 22:41:00 +0000 (23:41 +0100)]
conf: Remove unused ROOT_FLASH_SIZE variable from the config

This variable is set but never used in OE-core and meta-oe. It
was historically used for the Opie collection but seems to be
unused now.

(From OE-Core rev: 323ef78e377525e2214f4700c30305c493137853)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl: Add auto/XS/Typemap in perl-doc package
Otavio Salvador [Sat, 16 Feb 2013 21:20:41 +0000 (19:20 -0200)]
perl: Add auto/XS/Typemap in perl-doc package

(From OE-Core rev: 8b8e471b4e6d90e36320fc608b6eec908fd43fe6)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Ensure directory for stampfile exists before trying to create it
Richard Purdie [Fri, 15 Feb 2013 16:17:30 +0000 (16:17 +0000)]
bitbake: fetch2: Ensure directory for stampfile exists before trying to create it

(Bitbake rev: cf510e3da36e53f98ca86501747364bf4699ecc1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: utils: Use rm -rf in remove()
Richard Purdie [Sun, 3 Feb 2013 16:51:34 +0000 (16:51 +0000)]
bitbake: utils: Use rm -rf in remove()

Whilst shutils.rmtree() is pythonic, its also slow. Its faster to
use rm -rf which makes optimial use of the right syscalls.

(Bitbake rev: 96088ebdec08e49ba9e8dbcac437bfcdc21f5983)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodropbear: use pidfile for daemon start/stop/restart
Roman I Khimov [Mon, 19 Jul 2010 13:08:08 +0000 (13:08 +0000)]
dropbear: use pidfile for daemon start/stop/restart

Old init script killed all dropbear processes when doing stop/restart
including open SSH sessions which is very annoying.

(From OE-Core rev: 97aa5ac2df7593e343d82f5e64a422bb951eacf9)

Signed-off-by: Roman I Khimov <khimov@altell.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotzcode-native: Fix SRC_URI checksum typo
Richard Purdie [Fri, 15 Feb 2013 12:48:54 +0000 (12:48 +0000)]
tzcode-native: Fix SRC_URI checksum typo

(From OE-Core rev: dac9290b20819bb7f74fa27b87b8077d8856c551)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd.bbclass: Dont use libdir and base_libdir for units
Khem Raj [Thu, 14 Feb 2013 04:02:00 +0000 (04:02 +0000)]
systemd.bbclass: Dont use libdir and base_libdir for units

systemd always uses /lib and /usr/lib to store unit files
so using libdir and base_libdir is incorrect. It will work
where libdir is usr/lib and base_libdir is /lib but wont work
when say its /lib64

Add a check to make sure that SYSTEMD_PACKAGES are part of PACKAGES
too, otherwise error out

(From OE-Core rev: 22e16f44b58ae6bbf719b9074d39aac065a402f1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognupg: fix CVE-2012-6085
Saul Wold [Thu, 14 Feb 2013 23:55:12 +0000 (15:55 -0800)]
gnupg: fix CVE-2012-6085

Code taken from Redhat

[YOCTO #3813]

(From OE-Core rev: 17f8e03ace51df6b94fdcb7e410acf79c7b046ce)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: when bblayers.conf is updated, it invokes a reparse
Cristiana Voicu [Tue, 12 Feb 2013 13:27:32 +0000 (15:27 +0200)]
sanity.bbclass: when bblayers.conf is updated, it invokes a reparse

When bblayers.conf is updated(when sanity check is running), it should
tell to bitbake to reparse configuration files. I will send a patch to
bitbake-devel, with the actions needed in bitbake and hob.

[YOCTO #3213]
(From OE-Core rev: 5db1ff93f7204b43b7242fc7ef415216eb632ed8)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_ipk: check CONFFILES exist before adding them to metadata
Ross Burton [Tue, 5 Feb 2013 21:12:50 +0000 (21:12 +0000)]
package_ipk: check CONFFILES exist before adding them to metadata

opkg-build verifies that conffiles exist, so verify that the specified files
actually exist before writing them to conffiles.

This mirrors the behaviour of FILES and package_rpm's CONFFILES handling.

(From OE-Core rev: fb87edc881009cf4d582cd95c248884551fe07fe)

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>
11 years agoscripts/bitbake: Remove all instances of paths to a layer's scripts directory.
Franklin S. Cooper Jr [Sat, 9 Feb 2013 17:08:10 +0000 (11:08 -0600)]
scripts/bitbake: Remove all instances of paths to a layer's scripts directory.

* Currently the assumption is made that only oe-core can include a scripts
  directory.

* However, when other layers create a scripts directory the bitbake script
  freaks out causing a infinite recursive loop until it crashes.

* Simply changing the regular expression to remove all instances of scripts path
  instead of just the first one fixes this problem.

 [Yocto Bug 3872]

(From OE-Core rev: 9b445cc39604223b0cfb21d28f748a86ff4cdf68)

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoalsa-lib: upgrade to 1.0.26
Cristian Iorga [Fri, 18 Jan 2013 11:39:30 +0000 (13:39 +0200)]
alsa-lib: upgrade to 1.0.26

(From OE-Core rev: 759191ee0b11231e1719bd5c66ac0afbd02e2a80)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: add udev-extraconf and USB/PCI IDs to RRECOMMENDS
Ross Burton [Wed, 13 Feb 2013 18:12:42 +0000 (18:12 +0000)]
systemd: add udev-extraconf and USB/PCI IDs to RRECOMMENDS

The standalone udev has these dependencies and extraconf is required to have
working automount amongst other things.

(From OE-Core rev: 3d72ba9d25a02cac2c0a63ab32c5483be5c6ea3f)

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>
11 years agolibpng: update to upstream version 1.5.14
Marko Lindqvist [Wed, 13 Feb 2013 11:26:18 +0000 (13:26 +0200)]
libpng: update to upstream version 1.5.14

obsolete_automake_macros.patch removed as it's not part of upstream.
The only changes to license texts are latest libpng version number
and release dates.

(From OE-Core rev: d68e9660327db2dd4f2ae7bcea9925146b94eb77)

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>
11 years agoharfbuzz: update to upstream version 0.9.12
Marko Lindqvist [Wed, 13 Feb 2013 11:25:55 +0000 (13:25 +0200)]
harfbuzz: update to upstream version 0.9.12

Fixed license declaration to have AND between all the licenses
instead of OR.

(From OE-Core rev: 0a90fb2faebbb7848dbd5a23b37490866b397f5f)

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>
11 years agogtk+: update to upstream version 2.24.15
Marko Lindqvist [Wed, 13 Feb 2013 11:25:32 +0000 (13:25 +0200)]
gtk+: update to upstream version 2.24.15

- configure-nm.patch updated to apply
- hardcoded_libtool.patch updated to apply
- obsolete_automake_macros.patch removes as it's now part of upstream

(From OE-Core rev: a4ed7da18d8622fc0b6e3d32ac8ce9456b912322)

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>
11 years agowebkit-gtk: update to upstream version 1.8.3
Marko Lindqvist [Wed, 13 Feb 2013 11:25:07 +0000 (13:25 +0200)]
webkit-gtk: update to upstream version 1.8.3

(From OE-Core rev: 570e5e20623031ad03cce470fc3d94d9a5b05827)

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>
11 years agoxev: upgrade to 1.2.1
Laurentiu Palcu [Wed, 13 Feb 2013 09:33:32 +0000 (11:33 +0200)]
xev: upgrade to 1.2.1

Licence didn't change, the end line for computing the licence md5sum was
inside the actual code which, eventually changed. Adjust it to the right
line.

(From OE-Core rev: 96d9e102067471018acfa9651b810f0d33a363fa)

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>
11 years agoxf86-video-vmware: upgrade to 13.0.0
Laurentiu Palcu [Wed, 13 Feb 2013 08:50:30 +0000 (10:50 +0200)]
xf86-video-vmware: upgrade to 13.0.0

Removed backported patch.

(From OE-Core rev: f264bf699a42dfe2616386d03524642890308e80)

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>
11 years agoxf86-input-synaptics: upgrade to 1.6.3
Laurentiu Palcu [Wed, 13 Feb 2013 08:48:33 +0000 (10:48 +0200)]
xf86-input-synaptics: upgrade to 1.6.3

(From OE-Core rev: a1eef756921d66138ef233c451a99b2ee1356cfb)

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>
11 years agoxkeyboard-config: upgrade to 2.8
Laurentiu Palcu [Wed, 13 Feb 2013 08:48:08 +0000 (10:48 +0200)]
xkeyboard-config: upgrade to 2.8

(From OE-Core rev: 40083ca6decd05f480b0a8cd5923e68884c3b307)

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>
11 years agolibdrm: upgrade to 2.4.42
Laurentiu Palcu [Wed, 13 Feb 2013 08:47:13 +0000 (10:47 +0200)]
libdrm: upgrade to 2.4.42

(From OE-Core rev: dd53452b1cf2ccec44f465ac420d134a17332c7b)

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>
11 years agoxf86-input-vmmouse: upgrade to 13.0.0
Laurentiu Palcu [Wed, 13 Feb 2013 08:46:51 +0000 (10:46 +0200)]
xf86-input-vmmouse: upgrade to 13.0.0

(From OE-Core rev: e8f5f341256430cf45ee186435bccf593793b661)

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>
11 years agoxf86-video-intel: upgrade to 2.21.0
Laurentiu Palcu [Wed, 13 Feb 2013 08:34:29 +0000 (10:34 +0200)]
xf86-video-intel: upgrade to 2.21.0

(From OE-Core rev: 7bdc27511c9129e35caf1bdc0df37b382f1b5b98)

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>
11 years agoqemu: upgrade to 1.3.1
Constantin Musca [Mon, 11 Feb 2013 13:01:48 +0000 (15:01 +0200)]
qemu: upgrade to 1.3.1

(From OE-Core rev: ca3ce0886df01936d5ad309de1d39520b5278a80)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: remove save/load template functionality
Cristiana Voicu [Thu, 31 Jan 2013 12:43:08 +0000 (14:43 +0200)]
bitbake: hob: remove save/load template functionality

The Hob templates functionality, in its current incarnation,
is confusing and has no clear utility.

[YOCTO #3696]
(Bitbake rev: 4eb3b6bb9f936808ddf085624078f6479c522c48)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: knotty.py: fix unknown event bb.event.DiskFull
Robert Yang [Fri, 1 Feb 2013 08:56:45 +0000 (16:56 +0800)]
bitbake: knotty.py: fix unknown event bb.event.DiskFull

There is an error:

ERROR: No new tasks can be excuted since the disk space monitor action
is "STOPTASKS"!
ERROR: Unknown event: <bb.event.DiskFull object at 0x2ab6310>

This is because we don't handle the event bb.event.DiskFull in
knotty.py, we don't want the knotty to do anything here since we have
done everything in monitordisk.py, so just ignore this event would fix
the problem.

[YOCTO #3523]

(Bitbake rev: 0fa874dbe0532bbe88ade405f514a237e6cd2488)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-layers: make show-cross-depends avoid long path
Robert Yang [Wed, 6 Feb 2013 09:28:16 +0000 (17:28 +0800)]
bitbake: bitbake-layers: make show-cross-depends avoid long path

The "bitbake-layers show-cross-depends" print the absolute path in the
past, now it will print the relative path (relative to the layer dir) by
default, and add the "-f" option to make it print the absolute path.

For example:

$ bitbake-layers show-cross-depends
[snip]
meta-intel/meta-jasperforest/conf/machine/jasperforest.conf requires meta/conf/machine/include/ia32-base.inc
[snip]

$ bitbake-layers show-cross-depends -f
[snip]
/path/to/poky/meta-intel/meta-jasperforest/conf/machine/jasperforest.conf requires /path/to/poky/meta/conf/machine/include/ia32-base.inc
[snip]

[YOCTO #3824]

(Bitbake rev: df217701318d60559be0b10214b883b8ce4f5d2a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: remove parsing warnings when machine is changed
Cristiana Voicu [Mon, 4 Feb 2013 14:56:00 +0000 (16:56 +0200)]
bitbake: hob: remove parsing warnings when machine is changed

When the machine is changed, the warnings list is emptied and the warnings
bar is hidden.

[YOCTO #3830]
(Bitbake rev: 8e43da7798a98988f7da3f7c424e8f9e5eac2010)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: no sanity checks re-run
Cristiana Voicu [Tue, 5 Feb 2013 14:52:02 +0000 (16:52 +0200)]
bitbake: hob: no sanity checks re-run

Hob was hanging when the user tried a rebuild a new image, because
of sanity checks. It should not re-run sanity checks.

[YOCTO #3829]
(Bitbake rev: f7ff550f53cf3e5b166940db83f27ec733f3ef72)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: monitordisk.py: disable the inode checking for some fs
Robert Yang [Mon, 4 Feb 2013 10:03:35 +0000 (18:03 +0800)]
bitbake: monitordisk.py: disable the inode checking for some fs

There is an error when use disk monitor on btrfs:
WARNING: The free inode of rootfs is running low (0.000K left)
ERROR: Immediately abort since the disk space monitor action is "ABORT"!

This is beucase some fs formats' statvfs.f_files (inodes) is zero, thus
the statvfs.f_favail (free inodes) is zero, too, this a feature of the
fs, we disable the inode checking for such a fs.

[YOCTO #3609]

(Bitbake rev: b2ada3ad5f7aefff107f013e0c9decea481c7ef6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Improve lock/done stamp file paths for local files
Richard Purdie [Thu, 14 Feb 2013 21:38:17 +0000 (21:38 +0000)]
bitbake: fetch2: Improve lock/done stamp file paths for local files

Currently stamps end up at the top level of DL_DIR even if the files
themselves are in a directory structure. This patch preserves path
components allowing the top level directory to be less populated
which is an advantage for large sstate caches.

(Bitbake rev: 59921ce3ed7a4c0b7f8ef1a101ad9127469bf1fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake & hob: reparse config files, when sanity check updates bblayers...
Cristiana Voicu [Tue, 12 Feb 2013 13:27:22 +0000 (15:27 +0200)]
bitbake: bitbake & hob: reparse config files, when sanity check updates bblayers.conf

I've sent a patch to poky, with some changes in sanity.bbclass. When bblayers.conf
is updated, it updates also a variable to know when to reparse configuration files.
This patch contains the changes to reparse conf files, after a sanity check which
changes bblayers.conf.

[YOCTO #3213]
(Bitbake rev: 966e3e59ceb1c8b33b5881f291c148ea6513eda0)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Ensure expansions happen in URL parameters in uri_replace
Richard Purdie [Thu, 14 Feb 2013 21:36:30 +0000 (21:36 +0000)]
bitbake: fetch2: Ensure expansions happen in URL parameters in uri_replace

For example, this allows us to specify downloadfilename=PATH in sstate
mirror urls to improve directory structures in DL_DIR when using sstate.

(Bitbake rev: 7850a1364b6b37c58664d84f9c14806b4479b45c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: ConfHandler: Use re.X to make long regexp more readable
Olof Johansson [Thu, 14 Feb 2013 11:28:32 +0000 (12:28 +0100)]
bitbake: ConfHandler: Use re.X to make long regexp more readable

The __config_regexp__ in ConfHandler is quite long, and using re.X to
break the expression onto several lines make it a bit easier to read.

(Bitbake rev: 54dce9e14ab0657d76f0d0ae22eef7fab8e8950d)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: tests/codeparser: Hack around circular inclusion problem
Richard Purdie [Thu, 14 Feb 2013 21:35:25 +0000 (21:35 +0000)]
bitbake: tests/codeparser: Hack around circular inclusion problem

There is a circular dependency issue where bb.data can't directly depend on
bb.parse. The tests were failing due to this issue which is misleading. This
patch hacks around it for now. I'd rather that than not running tests at all.

(Bitbake rev: a206ae0d7769a41ff3666d0f53ff9cf422dfa518)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: wget: Only use -O option when not spidering
Richard Purdie [Thu, 14 Feb 2013 21:33:04 +0000 (21:33 +0000)]
bitbake: wget: Only use -O option when not spidering

If we pass the -O option whilst spidering, empty files are created which is not
desired. We also need to ensure any subdirectories are created when using the
downloadfilename parameter.

(Bitbake rev: d5f78e98d5aba36c95288fbaac267c2d54537b02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: codeparser: Track bb.utils.contains usage
Richard Purdie [Thu, 14 Feb 2013 21:59:21 +0000 (21:59 +0000)]
bitbake: codeparser: Track bb.utils.contains usage

The bb.utils.contains function usage is getting increasingly used in the metadata
but isn't handled automatically by the python dependency tracking code. This patch
changes that and also adds the "OE" names for the functions.

Whilst there are reasons this is a bad idea, its likely outweighed by the
shear number of these references and the current holes in dependency information
which we're now relying heavily upon.

(Bitbake rev: 0b9d117631ce909312d53b93289e61defc6be01c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: codeparser: Track appendVar and prependVar calls as we do for getVar
Richard Purdie [Thu, 14 Feb 2013 21:57:36 +0000 (21:57 +0000)]
bitbake: codeparser: Track appendVar and prependVar calls as we do for getVar

We need to track appendVar and prependVar calls just as we do for getVar in order
to ensure we're not missing variable dependencies.

(Bitbake rev: 767b4751232f4ee3979deb4d3f733fcf9ee2bd44)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotzcode/tzdata: Update to 2012j
Saul Wold [Fri, 8 Feb 2013 18:50:57 +0000 (18:50 +0000)]
tzcode/tzdata: Update to 2012j

Readme update to indicate status of project and authorship

(From OE-Core rev: 6c6568e47d6b3b0edaba569bfa4e38f9d72b5122)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotzdata: Simplify code removing not used cases
Otavio Salvador [Fri, 8 Feb 2013 14:52:20 +0000 (14:52 +0000)]
tzdata: Simplify code removing not used cases

We shouldn't have an use-case where we'd use 'FUBAR' timezone so
instead of adding postinst handling for this use case we handle it at
install time and keep the Universal as fallback if user did something
wrong.

This also ensure the /etc/localtime file is kept as a symbolic link.
This will make timezone not available when /usr is in separated
partition (and not mounted) however the applications ought to fallback
to GMT timezone in this case and when /usr is made availble timezone
will work fine.

Change-Id: I9a4f05db7a0bdc06511deb5693d1d16569d2fc63
(From OE-Core rev: 4b5e1757224085deac54b2583853fc779dc70614)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotzdata: We shouldn't override the localtime if it is valid
Otavio Salvador [Fri, 8 Feb 2013 14:52:19 +0000 (14:52 +0000)]
tzdata: We shouldn't override the localtime if it is valid

The code where mistakenly replacing the localtime file setting so we
end with a copy of file instead of a symbolic link. This fixes it so
now, we'll only do that in case the link is pointing to invalid data.

Change-Id: I16dfa5ea4f293c48bb396f4e23a2ea53e6c9e745
(From OE-Core rev: a9b42c8e85332a65788b1434f926186d4887b287)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>