scm/bb/tizen-distro.git
11 years agopython-smartpm: style fixes
Paul Eggleton [Wed, 28 Nov 2012 11:48:42 +0000 (11:48 +0000)]
python-smartpm: style fixes

* Use ${PN} instead of python-smartpm
* Use multi-line strings instead of multiple single line += (also
  avoiding the confusing "_append +=")
* Use class-native instead of virtclass-native - no difference in
  behaviour, but this keeps things consistent if we have to add
  any target overrides in future.

(From OE-Core rev: 7dbe5004380b97949a7910706364ba57c6c52a33)

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>
11 years agopython-smartpm: add support for recommends
Paul Eggleton [Wed, 14 Nov 2012 18:46:56 +0000 (18:46 +0000)]
python-smartpm: add support for recommends

Implement support within Smart for handling RRECOMMENDS relationships
between RPM packages as used by OE. This includes support within the
base system for caching and resolving these relationships as well as
specific support in the RPM backend for reading the information from
packages, and reading the "missingok" flag added to createrepo for
rpm-md feeds.

(From OE-Core rev: 35e3bc90ec3bae824804bd176b3128efdb5b4e2b)

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>
11 years agocreaterepo: implement support for recommends
Paul Eggleton [Mon, 26 Nov 2012 15:02:15 +0000 (15:02 +0000)]
createrepo: implement support for recommends

Adds a flag into the output metadata to note recommends relationships
in a way that should not break compatibility with clients that don't
understand this flag.

(From OE-Core rev: e7df818182e9e68b2e0fdede20a41d492b776a5b)

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>
11 years agorpm: Fix Upstream-Status fields
Mark Hatle [Tue, 4 Dec 2012 16:49:30 +0000 (10:49 -0600)]
rpm: Fix Upstream-Status fields

(From OE-Core rev: ee65b00b4ce3f4c27c2a19f079576345d39efb22)

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 agorpm: Fixup platform matching code
Mark Hatle [Mon, 3 Dec 2012 23:58:29 +0000 (17:58 -0600)]
rpm: Fixup platform matching code

On ARM systems the platform matching code could fail in some cases, as
the system macros file could override the 'platform' file settings.

(From OE-Core rev: e5f557b3bdaa5bbd632b50824d8f85d2d2aeb221)

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 agorpm: Fix rpm relocation macro usage
Mark Hatle [Wed, 28 Nov 2012 21:37:39 +0000 (15:37 -0600)]
rpm: Fix rpm relocation macro usage

When RPM is setup to dynamically reconfigure itself at runtime, we need
to avoid hard coded settings for _usrlibrpm and _etcrpm.

(From OE-Core rev: 66573093c44aabbba96d82de9375158e4a4c6f32)

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 agorpm: Move rpmdb_loadcvt from base to dev package
Mark Hatle [Mon, 26 Nov 2012 21:33:55 +0000 (15:33 -0600)]
rpm: Move rpmdb_loadcvt from base to dev package

This item is only useful when the various development components are
installed.

(From OE-Core rev: 54247297816e1d8f97667e662bf00d8fefceb6aa)

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 agorpm: enable _openall_before_chroot by default
Paul Eggleton [Wed, 14 Nov 2012 18:45:52 +0000 (18:45 +0000)]
rpm: enable _openall_before_chroot by default

We want this enabled especially for the native case.

(From OE-Core rev: e3c48c11dbe98958c7564f3fc6dbab36d7037973)

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>
11 years agopackage_rpm.bbclass: Add the runtime dependencies to the pre/post scriptlets
Mark Hatle [Thu, 15 Nov 2012 21:31:11 +0000 (15:31 -0600)]
package_rpm.bbclass: Add the runtime dependencies to the pre/post scriptlets

When the scriptlets are processed in RPM, they have a different dependency
set then the core package.  OE has no way to specify dependencies for the
pre/post scriptlists, so we simply make the runtime dependencies scriptlets
as well.

(From OE-Core rev: c1acac8c46aa75d78634c30de773b28a1466070c)

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 agotar: Split RMT from tar
Mark Hatle [Thu, 15 Nov 2012 21:28:12 +0000 (15:28 -0600)]
tar: Split RMT from tar

After the recent change of the libexecdir definition, the update-alternatives
for the libexec rmt broke.  Fix this by moving rmt from libexec to /sbin.  Also
split the rmt app from tar as it's likely not useful to many users.

(From OE-Core rev: cc5879ce75713506e76481f36d6e45dc3b31948c)

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 agocpio: Split RMT from cpio
Mark Hatle [Thu, 15 Nov 2012 21:26:09 +0000 (15:26 -0600)]
cpio: Split RMT from cpio

After the recent change of the libexecdir definition, the update-alternatives
for the libexec rmt broke.  Fix this by moving rmt from libexec to /sbin.  Also
split the rmt app from cpio as it's likely not useful to many users.

(From OE-Core rev: 487d58a98cd9fe4b368f0e7d119f8ff7ac852781)

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 agochkconfig: add link files install_initd and remove_initd
Kang Kai [Wed, 21 Nov 2012 09:38:43 +0000 (17:38 +0800)]
chkconfig: add link files install_initd and remove_initd

Add link files ${libdir}/lsb/{install,remove}_initd that they are
required by LSB tests. They were created by package lsbsetup, but
lsbsetup was dropped, so create them in chkconfig.

(From OE-Core rev: 268ede582e7b68854965b29a57e865b5fc7deb04)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: explicitly set --with-database=simple
Mario Domenech Goulart [Mon, 3 Dec 2012 18:06:04 +0000 (16:06 -0200)]
pulseaudio: explicitly set --with-database=simple

The default value for --with-database is "auto".  So, if some package
installs a database library and pulseaudio auto detects, that library
will be added to the dependencies list, causing a dependency error at
do_rootfs time.  For example, samba installs libtdb, which is one of
the pulseaudio supported databases.

(From OE-Core rev: 715631e5b8d5fc7dbcc8b8cbca1948f9301e8d68)

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobinutils_2.23.1.bb: Correct typo in enable-targets configure option
Khem Raj [Wed, 28 Nov 2012 17:38:11 +0000 (09:38 -0800)]
binutils_2.23.1.bb: Correct typo in enable-targets configure option

Drop virtclass override in favor of class override

(From OE-Core rev: b2e2cf532ebbeb7463b45193fa684e785e299c99)

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 agotcmode-default.inc: Use binutils 2.23.1
Khem Raj [Wed, 8 Aug 2012 17:33:41 +0000 (10:33 -0700)]
tcmode-default.inc: Use binutils 2.23.1

(From OE-Core rev: 1623c4757e5401570c3405e563d1cfd345a1e636)

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 agooprofile: Include config.h before bfd.h
Khem Raj [Wed, 8 Aug 2012 14:57:46 +0000 (07:57 -0700)]
oprofile: Include config.h before bfd.h

oprofile uses bfd.h from binutils which now in 2.23+ expects config.h
so lets include it

(From OE-Core rev: cd7aa7440103284a47b96ec176cace8685f720bb)

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 agobinutils-2.23.1: Add recipes
Khem Raj [Wed, 8 Aug 2012 14:57:09 +0000 (07:57 -0700)]
binutils-2.23.1: Add recipes

backport non regressing patches from 2.23 branch after 2.23.1
release.

(From OE-Core rev: df9b304f7a43c798223606eb5f0e13f7250393fe)

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 agolibusb-compat: Update to 0.1.4
Saul Wold [Fri, 30 Nov 2012 18:31:31 +0000 (10:31 -0800)]
libusb-compat: Update to 0.1.4

(From OE-Core rev: d7fd4b457ee5b5fedd9cf9d739854c2a8cbb480e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate.bbclass: fix detection of owners matching sstate files
Martin Jansa [Tue, 4 Dec 2012 01:31:15 +0000 (02:31 +0100)]
sstate.bbclass: fix detection of owners matching sstate files

* without this patch:
  Python 2.7.3
  >>> sstate_search_cmd = "grep -rl /OE/jansa-test/shr-core/tmp-eglibc/pkgdata/armv7a-vfp-neon-oe-linux-gnueabi/runtime-reverse/vim-common /OE/jansa-test/shr-core/tmp-eglibc/sstate-control --exclude=master.list | sed -e 's:^.*/::' -e 's:\.populate-sysroot::'"
  >>> cmd_array = sstate_search_cmd.split(' ')
  >>> search_output = subprocess.Popen(cmd_array, stdout=subprocess.PIPE).communicate()[0]
  grep: |: No such file or directory
  grep: sed: No such file or directory

* Adding shell=True and using cmd string instead of array makes it work:
  >>> search_output = subprocess.Popen(sstate_search_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0]
  >>> print search_output
  manifest-armv7a-vfp-neon-gvim.package
  manifest-armv7a-vfp-neon-vim-tiny.package
  manifest-armv7a-vfp-neon-vim.package

  But still isn't 100% reliable, I guess it's caused by some other package
  being removed from sstate while grep is already running.
  So sometimes grep can show error on STDERR
  >>> search_output = subprocess.Popen(sstate_search_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0]
  grep: /OE/jansa-test/shr-core/tmp-eglibc/sstate-control/manifest-armv7a-vfp-neon-systemtap.package: No such file or directory

(From OE-Core rev: d84f7d7a12b4271f7b2bfde9fb356d750abff15d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate.bbclass: fixed file-conflict check
Enrico Scholz [Fri, 16 Nov 2012 17:14:20 +0000 (18:14 +0100)]
sstate.bbclass: fixed file-conflict check

The value of subprocess.Popen().communicate()[0] is a string.
Checking for '!= None' will always match causing bogus warnings
regarding already staged files.

(From OE-Core rev: acdd76482efc3caf80e9e0b7359be7ca724ae09a)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: use u-a for eject
Martin Jansa [Tue, 4 Dec 2012 01:31:13 +0000 (02:31 +0100)]
util-linux: use u-a for eject

* 2.22.1 now builds eject which conflicts with eject from eject recipe in meta-oe

(From OE-Core rev: fa5be9499f047f492cc6b07abf16908e321b259e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodistutils: remove empty datadir/share after it's content is moved to datadir
Martin Jansa [Tue, 4 Dec 2012 01:31:12 +0000 (02:31 +0100)]
distutils: remove empty datadir/share after it's content is moved to datadir

* fixes a lot of QA warnings about unpackaged /usr/share/share

(From OE-Core rev: 10457e343b27e63b35e0278b00e9c25106b0cc1b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-basic: use VIRTUAL-RUNTIME_initscripts and VIRTUAL-RUNTIME_init_manager
Martin Jansa [Tue, 4 Dec 2012 01:31:11 +0000 (02:31 +0100)]
packagegroup-core-basic: use VIRTUAL-RUNTIME_initscripts and VIRTUAL-RUNTIME_init_manager

(From OE-Core rev: 96970cfa85941db205a7123e3f3349b4ff9c9fbf)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-meta-base: pull in X11 plugins when using X11
Ross Burton [Tue, 4 Dec 2012 20:58:03 +0000 (20:58 +0000)]
gst-meta-base: pull in X11 plugins when using X11

The splitting out of X11 plugins wasn't complete, which lead to no X11 plugins
being installed.

If the X11 distro feature is present, make gst-meta-base depend on
gst-meta-x11-base.  Also make -x11-base RDEPEND on xvimagesink for video
playback performance.

[ YOCTO #3458 ]

(From OE-Core rev: 84956b59ba828c88ede0c2d77c90b59330bcab68)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqmmp: remove qmake2 from inherit
Paul Eggleton [Wed, 5 Dec 2012 13:28:32 +0000 (13:28 +0000)]
qmmp: remove qmake2 from inherit

qt4x11 already inherits qmake2 so it doesn't need to be inherited again.

(From OE-Core rev: ed96c0a6a5a394842777a1413b89d3ea3aabb532)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofotowall: tidy up
Paul Eggleton [Wed, 5 Dec 2012 13:28:31 +0000 (13:28 +0000)]
fotowall: tidy up

* inherit qt4x11 which inherits qmake2 and sets DEPENDS already
* Remove pkgconfig from inherit since quicky doesn't actually use
  pkg-config nor does it produce a .pc file
* Move packaging definitions to the end

(From OE-Core rev: e5e6a02923ca28dd6863dcf96c1d0619f049c64a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometa/lib/oe/sstatesig: fix locating stamp files
Paul Eggleton [Wed, 5 Dec 2012 13:12:19 +0000 (13:12 +0000)]
meta/lib/oe/sstatesig: fix locating stamp files

Fixes "bitbake-diffsigs -t" for changes to the stamp directory layout,
and this time uses the actual value of STAMP to get the location of
sigdata files in the stamp directory rather than trying to do it
manually, which should be a little more robust.

(From OE-Core rev: 82412ebabb0f89c694327ae38f7e864ee8511e7f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base: fix directory creation as normal user
Laurentiu Palcu [Wed, 5 Dec 2012 11:00:00 +0000 (13:00 +0200)]
populate_sdk_base: fix directory creation as normal user

My previous patch removed the mkdir and added it at the end of the
"gaining SUDO rights" block in order to fix directory creation when
installing in a location without proper rights. Unfortunately this
messed up the directory creation as normal user as it will ask for
sudo right in order to create it...

Hopefully, this will fix both cases.

(From OE-Core rev: 86286287d0134ade73f6a282158dde86bf0159e8)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxkbcommon: make the build do something
Ross Burton [Tue, 4 Dec 2012 20:40:59 +0000 (20:40 +0000)]
libxkbcommon: make the build do something

In "cleaning up" the package I managed to remove the inherit autotools, so this
recipe didn't actually build anything.

(From OE-Core rev: b7c010e4603c33b1d3e3fcaf99a9375585471ec5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: xmlrpc: Unbreak the transport by adding a missing logfile name
Richard Purdie [Tue, 4 Dec 2012 17:02:37 +0000 (17:02 +0000)]
bitbake: xmlrpc: Unbreak the transport by adding a missing logfile name

I appreciate a fixed value is suboptimal but this is better than not
working at all!

(Bitbake rev: d338a1ad14680af41d218772decd03e98eb2cad5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: uievent: Fix an init race
Richard Purdie [Tue, 4 Dec 2012 16:58:08 +0000 (16:58 +0000)]
bitbake: uievent: Fix an init race

There is a race where the registerEventHandler() server call may happen in
a different thread to the main UI, causing the main UI to see
httplib.CannotSendRequest exceptions.

This moves the call into the main thread, removing the init race and fixing
errors I was seeing with the xmlrpc backend.

(Bitbake rev: 14cdd3b351d1ab23cb3ea5f853e403a53e67ac1c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: modified how the existence of a variable is checked
Cristiana Voicu [Mon, 3 Dec 2012 09:01:19 +0000 (11:01 +0200)]
bitbake: hob: modified how the existence of a variable is checked

(Bitbake rev: 4214ffff2c8a2a1fe66cbade03d2fd9e22a682d2)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base: mkdir was missing $SUDO_EXEC prefix
Laurentiu Palcu [Tue, 4 Dec 2012 12:16:12 +0000 (14:16 +0200)]
populate_sdk_base: mkdir was missing $SUDO_EXEC prefix

mkdir was in the wrong place and missing sudo rights. Hence, the
installation to default location (or any other for which the user didn't
have rights) would fail. Unless the installer itself is run with sudo.

(From OE-Core rev: 555d03c466490ab12b2b1d049736593da2334e97)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxml2: update PR to contain INC_PR to reflect the update of inc file
Zhenhua Luo [Tue, 4 Dec 2012 09:57:11 +0000 (17:57 +0800)]
libxml2: update PR to contain INC_PR to reflect the update of inc file

(From OE-Core rev: 4c18e34f113bc46b0619fc8576475694224f8b40)

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqa.py: Modify the env for the child process only
Muhammad Shakeel [Tue, 4 Dec 2012 10:19:50 +0000 (15:19 +0500)]
qa.py: Modify the env for the child process only

Modified environment is only required for new subprocess to execute
objdump command and not for the current process. We should only
modify the copy of env to pass it on to the child.

(From OE-Core rev: cb3b046450b47739daf441a0b964823aff2472e6)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-xorg: restore packaging for the DRI/DRI2/DBE extensions
Ross Burton [Wed, 28 Nov 2012 15:28:48 +0000 (15:28 +0000)]
xserver-xorg: restore packaging for the DRI/DRI2/DBE extensions

Even though the current xserver in oe-core (1.13) doesn't ship these as
standalone extensions, older X servers required by binary drives
(e.g. meta-intel's 1.9) still install them separately.  As the packages didn't
exist in xserver-xorg.inc the extensions were not packaged, and X didn't work.

Revolve this by restoring the package definitions, and moving the upgrade path
dependencies to xserver-xorg_1.13.bb.

(From OE-Core rev: 24b954253dd1aa626835352c4dc8d085a19aae35)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolatencytop: add missing signed-off-by and re-add upstream status
Jack Mitchell [Mon, 3 Dec 2012 14:59:14 +0000 (14:59 +0000)]
latencytop: add missing signed-off-by and re-add upstream status

When I made a change to this patch in git commit 1b41a4660d0
I accidently removed the Upstream Status line and also didn't
add the required signed-off-by tag.

(From OE-Core rev: b76878810d39310d1061c637a6bb8f4aa9600054)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-yocto: checkout known branch before leaving do_validate_branches
Bruce Ashfield [Thu, 29 Nov 2012 18:42:22 +0000 (13:42 -0500)]
kernel-yocto: checkout known branch before leaving do_validate_branches

We should always leave the tree on a BSP branch or master when
do_validate_branches completes to avoid modifying version tracked
files are part of the build process. Modifying these files will lead
to errors when changing branches, since the contents would be lost.

This is evident in the case that a the meta branch is reset to a
known SRCREV and the tree was left on the meta branch. This branch
tracks the meta/meta-series, and other artifacts of the original
tree construction. When the build process runs, it updates these same
files, which creates a conflict when switching branches.

This has been fixed in the tree construction scripts to not track
these files, but a secondary fix is also required of not leaving
the build on these branches, to allow arbitrary trees to be built.

[YOCTO #3413]

(From OE-Core rev: 57397592ff8ec16922604d398c18d53a589be41f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxml-sax-base-perl: add recipe for libxml-sax-perl
Xin Ouyang [Fri, 30 Nov 2012 10:29:59 +0000 (18:29 +0800)]
libxml-sax-base-perl: add recipe for libxml-sax-perl

If libxml-sax-base-perl is not installed on the target, libxml-sax-perl
would be fail to use. So add the recipe.

    # cat > test.pl <<-EOF
    #!/usr/bin/perl
    use XML::SAX;
    EOF
    # perl ./test.pl
    Can't locate XML/SAX/Exception.pm in @INC ...

Also inherit allarch for three perl modules.

(From OE-Core rev: 3230d943699c77f3fe9ce9d9949eae21d825186d)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibproxy: Fix for CVE-2012-4504
yanjun.zhu [Fri, 30 Nov 2012 11:08:56 +0000 (19:08 +0800)]
libproxy: Fix for CVE-2012-4504

Reference:https://code.google.com/p/libproxy/source/detail?r=853

Stack-based buffer overflow in the url::get_pac function in url.cpp
in libproxy 0.4.x before 0.4.9 allows remote servers to have an
unspecified impact via a large proxy.pac file.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-4504

[YOCTO #3487]

(From OE-Core rev: 821401df8cd79e4878ad87f918b1ce8d0da141ec)

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosquashfs: fix for CVE-2012-4024
yanjun.zhu [Fri, 30 Nov 2012 11:41:23 +0000 (19:41 +0800)]
squashfs: fix for CVE-2012-4024

Reference:http://squashfs.git.sourceforge.net/git/gitweb.cgi?p=
squashfs/squashfs;a=commit;h=19c38fba0be1ce949ab44310d7f49887576cc123

Fix potential stack overflow in get_component() where an individual
pathname component in an extract file (specified on the command line
or in an extract file) could exceed the 1024 byte sized targname
allocated on the stack.

Fix by dynamically allocating targname rather than storing it as
a fixed size on the stack.

[YOCTO #3513]

(From OE-Core rev: 972ea6c674e10cf23bedbbc581b78baa3f7c7b9b)

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpng: fix license segment md5sum boundary
Marko Lindqvist [Sun, 2 Dec 2012 06:59:51 +0000 (08:59 +0200)]
libpng: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 844223c8485f4387d938981ff3dfa0e249040b53)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: data_smart: Improve get_hash to account for overrides and key expansion
Richard Purdie [Thu, 29 Nov 2012 10:29:06 +0000 (10:29 +0000)]
bitbake: data_smart: Improve get_hash to account for overrides and key expansion

An issue was uncovered where changing:

IMAGE_INSTALL_append = "X"

to

IMAGE_INSTALL_append = "X Y"

in local.conf would not get noticed by bitbake. The issue is that
the configuration hash doesn't account for overrides or key expansion.

This patch improves get_hash to account for these. This means the hash
does account for changes like the above.

[YOCTO #3503]

(Bitbake rev: 86bf1f5603e8f98019544e45f51bd0db9a48112a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: build.py: Preserve sigdata files in the stamps directory
Richard Purdie [Wed, 28 Nov 2012 19:39:23 +0000 (19:39 +0000)]
bitbake: build.py: Preserve sigdata files in the stamps directory

Leaving the sigdata files around can aid debugging and doesn't harm
anything. This is the easiest way to allow this to happen.

(Bitbake rev: 1f500149ecd533a6edbeea902c3f1e009c755154)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base: Fix typo
Richard Purdie [Mon, 3 Dec 2012 14:51:45 +0000 (14:51 +0000)]
populate_sdk_base: Fix typo

(From OE-Core rev: bb3f086fc44749c586b5046309d179fc3435933e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass: make failure to find ld-linux.so a hard error
Jason Wessel [Fri, 30 Nov 2012 19:34:08 +0000 (19:34 +0000)]
populate_sdk_base.bbclass: make failure to find ld-linux.so a hard error

The shell archive that populates the external SDK should fail if it
cannot find the ld-linux.so else it will corrupt all binaries because
a random path will be used from the list of executables when dl_path
is empty.

(From OE-Core rev: 206aa794933d41dfb037e9c654c818cd4d4f956d)

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 agotune-cortexa*: add another TUNE which allows to enable cortexa* together with thumb...
Martin Jansa [Thu, 29 Nov 2012 07:45:41 +0000 (07:45 +0000)]
tune-cortexa*: add another TUNE which allows to enable cortexa* together with thumb and neon

* like we have with tune-armv7at-neon

(From OE-Core rev: 3337b695ca3af5b894d9c61436c61a1d1750f089)

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 agoarch-armv6: add tunes without vfp enabled
Víctor Enríquez [Wed, 21 Dec 2011 22:16:02 +0000 (22:16 +0000)]
arch-armv6: add tunes without vfp enabled

This work was made by Victor Enriquez and then modified by Denis Carikli
who was helped by Mark Hatle comments. And in the end modified by Martin
Jansa to support different ARMPKGARCH and removed explicit -novfp suffix.

The changes are for adding support to armv6-novfp, for building binaries
for armv6 machines without vfp, for example the htc dream.

(From OE-Core rev: 0733e2f8ad82b426c8c40ef753adb9431fa3c359)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Víctor Enríquez <victor.quicksilver@gmail.com>
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 agoarch-armv4.inc: add --fix-v4bx to TARGET_LD_KERNEL_ARCH only for armv4 and strongarm1100
Martin Jansa [Fri, 23 Nov 2012 08:14:49 +0000 (08:14 +0000)]
arch-armv4.inc: add --fix-v4bx to TARGET_LD_KERNEL_ARCH only for armv4 and strongarm1100

* without this patch it does apply --fix-v4bx not only to armv4, but
  also all higher (because they also have armv4 in TUNE_FEATURES)
* it causes SIGILL on armv4t
  http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-November/042298.html
* someone please test on armv4 device (I tested only bitbake -e output
  that it's correctly applied with DEFAULTTUNE == armv4
* maybe we can should fix this in binutils instead (both 2.22 and 2.23
  are affected)

(From OE-Core rev: efe03fc00fc051bede69ced6643a8f25d02eabde)

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 agoarch-arm*: unify appending to TUNE_FEATURES
Martin Jansa [Thu, 29 Nov 2012 11:24:13 +0000 (11:24 +0000)]
arch-arm*: unify appending to TUNE_FEATURES

* that we always use TUNE_FEATURES_tune-arm* variable and add only one TUNE_FEATURE to it
* for bigendian always use littleendian counterpart and append bigendian TUNE_FEATURE

(From OE-Core rev: 1bc205f895c8143e0bde3c4ba0e699cc0b2f0de8)

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 agoarch-armv[457]*: fix PACKAGE_EXTRA_ARCHS for bigendian TUNEs
Martin Jansa [Thu, 29 Nov 2012 11:00:21 +0000 (11:00 +0000)]
arch-armv[457]*: fix PACKAGE_EXTRA_ARCHS for bigendian TUNEs

* bigendian should not include little endian PACKAGE_ARCHS

(From OE-Core rev: 42e18249b02280de28fb7159b11e3c7c78a6cb03)

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 agoarch-armv5: fix missing thumb TUNE_FEATURE in armv5t-vfp and following tunes
Martin Jansa [Thu, 29 Nov 2012 11:12:14 +0000 (11:12 +0000)]
arch-armv5: fix missing thumb TUNE_FEATURE in armv5t-vfp and following tunes

(From OE-Core rev: 7fbbf13ea5f0f3b4ac93e40ead581de572771a5d)

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 agotune-*: add PACKAGE_EXTRA_ARCHS entries starting with specific ARMPKGARCH
Martin Jansa [Wed, 28 Nov 2012 22:07:36 +0000 (22:07 +0000)]
tune-*: add PACKAGE_EXTRA_ARCHS entries starting with specific ARMPKGARCH

* e.g. arm926ejs DEFAULT tune is compatible with all PACKAGE_EXTRA_ARCHS_tune-armv5te, but needs to list arm926ejs with all possible suffixes too

(From OE-Core rev: ee3e85e3bdd382aca4ad8e2eece44064ee89dcff)

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 agotune-cortexa*, tune-xscale: fix ARMPKGARCH
Martin Jansa [Wed, 28 Nov 2012 21:34:59 +0000 (21:34 +0000)]
tune-cortexa*, tune-xscale: fix ARMPKGARCH

* hf/t/neon/b suffix is added by other ARMPKGSFX* variables, should not be
  part of ARMPKGARCH, otherwise resulting TUNE_PKGARCH have that suffix twice,
  e.g. cortexa8hf-neonhf-neon

(From OE-Core rev: 007a0dec82a33b01541c7f6fcad5d28c47a318ba)

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 agolibxml2: add --with-fexceptions in configure flags to support exception handling...
Zhenhua Luo [Fri, 30 Nov 2012 08:31:57 +0000 (08:31 +0000)]
libxml2: add --with-fexceptions in configure flags to support exception handling in C++ programs

Without this flag, the library has a problem with C++ programs using exception handling.

(From OE-Core rev: ff5552a8432298c32aec2ace72656b0d7059dad3)

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibusb: Update to 1.0.9
Saul Wold [Fri, 30 Nov 2012 18:21:50 +0000 (18:21 +0000)]
libusb: Update to 1.0.9

(From OE-Core rev: 644deda668950702c0c35da9fef0a2844db7a9d9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomsmtp: Update to 1.4.30
Saul Wold [Fri, 30 Nov 2012 18:20:49 +0000 (18:20 +0000)]
msmtp: Update to 1.4.30

(From OE-Core rev: c15bf389598844560d710504dbd357dc774e8265)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoless: Update to 456
Saul Wold [Fri, 30 Nov 2012 18:19:49 +0000 (18:19 +0000)]
less: Update to 456

(From OE-Core rev: 601338d8efce91ac89aa1d1fabd4d953f4f36f4b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoocf-linux: Update to 20120127
Saul Wold [Fri, 30 Nov 2012 18:18:48 +0000 (18:18 +0000)]
ocf-linux: Update to 20120127

README changes to update the CHKSUM
ocf directory is now in main tarball so no need to untar now.

(From OE-Core rev: 445fba6ef2d1ae10e80d73b09fa0d9a0f2a09715)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: Update to 2.22.1
Saul Wold [Fri, 16 Nov 2012 19:51:34 +0000 (19:51 +0000)]
util-linux: Update to 2.22.1

Fix the configure-sbindir test, which was not working correctly
add a patch to configure to correctly test if the prefixes are
conatined in libdir so they don't duplicate.

Removed aarch64 patch since it been merged into this version

Rebased util-linux-ng-replace-siginterrupt.patch

(From OE-Core rev: ac807121ce3ba965f3e2a4f664a60ae4e33ce550)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorsync doesn't create hardlinks for certain files
Amy Fong [Thu, 29 Nov 2012 14:24:03 +0000 (14:24 +0000)]
rsync doesn't create hardlinks for certain files

commit 4205a4c5d959643cf6c186e0939e202fb6006b82
Author: Amy Fong <Amy.Fong@windriver.com>
Date:   Thu Nov 29 09:21:49 2012 -0500

    rsync cannot create hardlink for node file when use option
    --link-dest=DIR.

    By default, rsync's configure file disables certain capabilities when
    crosscompiling.

Signed-off-by: Amy Fong <Amy.Fong@windriver.com>
(From OE-Core rev: 1e05183289dbf77ebb1e7aa3375525a7d97eaf0f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_rpm.bbclass: fix a regression introduced by list_installed_packages change
Ming Liu [Thu, 29 Nov 2012 09:30:12 +0000 (09:30 +0000)]
rootfs_rpm.bbclass: fix a regression introduced by list_installed_packages change

A regression was introduced by commit:190cb591 that it doesn't
consider the situation that some archs contain "_" originally, so it
results in issues when dealing with archs like qemux86_64, x85_64.

Added a conditional statment in to handle that case.

(From OE-Core rev: 8567991639fda8d2a1e88169b86c72e14cc6c82d)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosite/common-linux: move ac_cv_o_nonblock_inherited to site/common-linux
Roy.Li [Thu, 29 Nov 2012 09:19:25 +0000 (09:19 +0000)]
site/common-linux: move ac_cv_o_nonblock_inherited to site/common-linux

When compiling apr for no-powerpc arch, the flag ac_cv_o_nonblock_inherited
is always set to yes in cross compiling environment. This flag is intended to
think the socket, returned from accept(), inherit file status flags such as
O_NONBLOCK from the listening socket, but socket never inherits file status
from the listening socket on Linux (more information to man accept).

This is Linux-wide behaviour, so move it from meta/site/powerpc32-linux
to site/common-linux.

If ac_cv_o_nonblock_inherited is set to yes on Linux, clients can not access the
same ip address(URL) with Apache web server via http(port 80) and https(port443)
without redirection

(From OE-Core rev: f31a7ed3463e169dc93f36cc0bbe084d3f99772a)

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>
11 years agopopulate_sdk_base:tarball installer:add sudo prompt
Hongxu Jia [Thu, 29 Nov 2012 08:14:35 +0000 (08:14 +0000)]
populate_sdk_base:tarball installer:add sudo prompt

1.Adds a sudo passwd prompt during installation if the
  user couldn't install on the dir.
2.Adds option -d <dir> to enter dir without prompt.
3.Adds option -y for automatic yes to all prompts, a non-
  interactive method.

[YOCTO# 3153]
[YOCTO# 3309]

(From OE-Core rev: e85e1aace604626914a06dab4663094d6dd9b035)

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 agogrep: update to upstream version 2.14
Marko Lindqvist [Fri, 30 Nov 2012 18:06:55 +0000 (18:06 +0000)]
grep: update to upstream version 2.14

(From OE-Core rev: 53294e7c6e4fabc36f0a6a303bfd0e72808e4b41)

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 agobuild-appliance-image: Allow SRCREV to be overriden
Saul Wold [Thu, 29 Nov 2012 23:11:07 +0000 (23:11 +0000)]
build-appliance-image: Allow SRCREV to be overriden

This will allow use to automagically set the SRCREV for builds on the
autobuilder. It will still require manual updating for releases.

(From OE-Core rev: ab6c778af4333387e742ddab4e690e43de63f204)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysvinit: Update ALTERNATIVES List for utmpdump
Saul Wold [Thu, 29 Nov 2012 23:12:07 +0000 (23:12 +0000)]
sysvinit: Update ALTERNATIVES List for utmpdump

(From OE-Core rev: 0eba0fad8d0e73cfbeab515b7796134967741b55)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocmake: Update to 2.8.10.1
Saul Wold [Fri, 16 Nov 2012 19:59:20 +0000 (19:59 +0000)]
cmake: Update to 2.8.10.1

(From OE-Core rev: b109a6e33fc7748de65d1ff76528b302e7f92dd8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: move PREEMPT_NONE to beagleboard standard kernel only
Bruce Ashfield [Thu, 29 Nov 2012 18:47:10 +0000 (18:47 +0000)]
linux-yocto/3.4: move PREEMPT_NONE to beagleboard standard kernel only

A recent report of the preempt-rt beagleboard kernel not enabling full
-rt preemption out of the box revealed that the existing fix for SD
boot issues (which were fixed by disabling preemption) was the root
cause for the options not being enabled.

Although the fix for the SD card detection issues is still valid, it
also doesn't make sense to apply it to a kernel type that only exists
to support enhanced preemption. Since many variants of the board boot
with preemption enabled, opening the possibility of a boot problem is
acceptable, given that it allows the -rt kernel to be used.

(From OE-Core rev: 1732197b53ba77a49792600c4c8385f4e44fe0bc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibcgroup: fix INSANE_SKIP
Martin Jansa [Thu, 29 Nov 2012 15:05:23 +0000 (15:05 +0000)]
libcgroup: fix INSANE_SKIP

* that .so file is in cgroups-pam-plugin not PN

(From OE-Core rev: 5039075dec75970ffcdd43db7457df84ed8e9496)

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 agogstreamer: Fix plugin builds
Gary Thomas [Thu, 29 Nov 2012 13:06:09 +0000 (13:06 +0000)]
gstreamer: Fix plugin builds

Not all gstreamer plugins have localized documentation trees.

The commit
  commit f50e2984d9411a059b86d6c158e9416fceb84c3d
  Author: Martin Jansa <martin.jansa@gmail.com>
  Date:   Wed Nov 28 15:59:48 2012 +0100
breaks the build for such packages because the file "po/Makefile.in.in"
is not present.

This change allows building without the po/ subdirectory.

(From OE-Core rev: 4f5e5e28aa57b931ed297d08756a76bbcd8258f1)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_ipk, package_ipk: drop --force-overwrite
Martin Jansa [Wed, 28 Nov 2012 15:40:07 +0000 (15:40 +0000)]
rootfs_ipk, package_ipk: drop --force-overwrite

* it was introduced in 2010 by 8c3a7ebac8bed700bcc37f778d5a883cfeee8de8
  but doesn't seem needed anymore
* also such do_rootfs failure is good indication that runtime packages
  installed are not sane, ignoring this error in do_rootfs just
  transfers the issue to end user when he does "opkg upgrade" later
  on device
* tested on SHR images with whole feed included and only issue was
  gstreamer/gst-plugins-* locale packages (and there is patch for this
  on oe-core ML)

(From OE-Core rev: 1f7d3a2e9071ff78170c06ebf58c7400a5ee09bf)

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 agoreadline: apply upstream patches
Marko Lindqvist [Wed, 28 Nov 2012 18:27:06 +0000 (18:27 +0000)]
readline: apply upstream patches

Upstream does not make bugfix releases but releases patches
to apply on top of original releases. Fetch and apply those patches.

(From OE-Core rev: 30a38ea1ee933fb134a5ee9000298703cab93692)

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 agoglib-2.0: update to upstream version 2.34.3
Marko Lindqvist [Wed, 28 Nov 2012 12:08:36 +0000 (12:08 +0000)]
glib-2.0: update to upstream version 2.34.3

(From OE-Core rev: db9b8ad76335613e2de1e568a14ae95c68af6288)

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 agoinitramfs-framework: udev: Handle alternative binary paths
Otavio Salvador [Tue, 27 Nov 2012 11:55:02 +0000 (11:55 +0000)]
initramfs-framework: udev: Handle alternative binary paths

This allows use of udev daemon for different installation destinations
so allowing use of udev's from systemd code for initramfs.

(From OE-Core rev: 96daf1b3105e17a67acb5027d0418b2ac28b6820)

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 agonet-tools: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:35 +0000 (15:15 +0000)]
net-tools: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 5037fef73e2c4d31b06a4422ad1d54f777fe00fa)

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 agoglib-2.0: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:36 +0000 (15:15 +0000)]
glib-2.0: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: a6e2e5b592747a7e4a8465c8637154555ee020c8)

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 agoltp: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:37 +0000 (15:15 +0000)]
ltp: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: c538673caafddbb208d9d18301e84a6a891d7844)

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 agoxcb: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:38 +0000 (15:15 +0000)]
xcb: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 4e73f9ae050c01b1356c82e91a73d46cb90d5402)

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 agolibdaemon: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:39 +0000 (15:15 +0000)]
libdaemon: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 76c186e4bf70a9969a0ce46da2c6a3e8039d8463)

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 agogmp: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:40 +0000 (15:15 +0000)]
gmp: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: f9281283c993ab2af81f0316bac5fed7b49bdb83)

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 agocoreutils: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:41 +0000 (15:15 +0000)]
coreutils: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 883b7899fe5adce49e1c39cca9854e7f035e7a68)

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 agouclibc: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:42 +0000 (15:15 +0000)]
uclibc: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. This change has no effect on
md5sum as license segments from the beginning of the file.

(From OE-Core rev: 1699c382b68d183540b088fd7644b936682716fb)

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 agopong-clock: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:43 +0000 (15:15 +0000)]
pong-clock: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. This change has no effect on
md5sum as license segments from the beginning of the file.

(From OE-Core rev: 33b28f40ed8765262c3b4ac676cec25bf0b0d523)

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 agoxorg-app: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:44 +0000 (15:15 +0000)]
xorg-app: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. This change has no effect on
md5sum as license segments from the beginning of the file.

(From OE-Core rev: 9f3f13a0f761bed4110ef1013d711c1678e03741)

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 agoqt4-native: make qt4-native work with long building path
Chen Qi [Fri, 30 Nov 2012 10:33:31 +0000 (10:33 +0000)]
qt4-native: make qt4-native work with long building path

If the TMPDIR has more than 256 chars, building qt4-native fails.
This violates the 410 length limit of TMPDIR.

This patch makes building qt4-native succeed with a long building
path (410 for example) by extending its static arrays' sizes by
256 chars.

[YOCTO #2766]

(From OE-Core rev: a635553cf46a7e43e81eab1a1baeae98312881d2)

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 agoghostscript: make ghostscript work with long building path
Chen Qi [Fri, 30 Nov 2012 10:33:32 +0000 (10:33 +0000)]
ghostscript: make ghostscript work with long building path

If TMPDIR has more than 256 chars, building ghostscript fails.
This violates the 410 length limit of TMPDIR.

This patch makes building ghostscript succeed by changing its
MAX_TOKEN from 256 to 512.

[YOCTO #2766]

(From OE-Core rev: 30a19b7c791abcbf09193c678866df66d470a6d9)

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 agoguile: touch compiled modules on sstate install
Ross Burton [Wed, 28 Nov 2012 17:28:39 +0000 (17:28 +0000)]
guile: touch compiled modules on sstate install

When guile is installed from sstate, if the compiled files get a modified time
older than the source files then guile will produce warnings like this:

;;; note: source file /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/ice-9/boot-9.scm
;;; newer than compiled /data/poky-master/tmp/sysroots/x86_64-linux/usr/lib/guile/2.0/ccache/ice-9/boot-9.go

Not staging the files and letting guile re-compile them on demand won't work:

;;; compiling /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/system/base/compile.scm
;;; it seems /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/system/base/compile.scm
;;; is part of the compiler; skipping auto-compilation

So, use a sstate postinst function to explicitly touch the compiled files after
the extraction to ensure that they are fresher.

[ YOCTO #3370 ]

(From OE-Core rev: cb8fbc332f730cbb4d9c9866ee7b95d62245d121)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoguile: fix bashism in script
Ross Burton [Wed, 28 Nov 2012 17:06:53 +0000 (17:06 +0000)]
guile: fix bashism in script

(From OE-Core rev: 3d5050d281e9535d1931848fe6c0adb4e7afd629)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopango: update to upstream version 1.30.1
Marko Lindqvist [Wed, 28 Nov 2012 11:34:05 +0000 (13:34 +0200)]
pango: update to upstream version 1.30.1

(From OE-Core rev: 82720dd1aa2594cc308130da4db4ff600263ac74)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitramfs-framework: init: Stop mount warnings during boot
Otavio Salvador [Sun, 25 Nov 2012 19:27:27 +0000 (17:27 -0200)]
initramfs-framework: init: Stop mount warnings during boot

For a completely quiet boot using recent versions of utilities, the
/etc/fstab and /var/lock need to be available.

(From OE-Core rev: d7a8154d575f918a0a20cb0e3a8f65d02ed32f30)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_rpm.bbclass: normalize arch output of list_installed_packages
Ming Liu [Mon, 26 Nov 2012 02:24:03 +0000 (10:24 +0800)]
rootfs_rpm.bbclass: normalize arch output of list_installed_packages

list_installed_packages should output uniform formatted archs for all
packaging system(deb, rpm and ipk), for they are used by common code to
grab the package infos. Otherwise, it will lead some -dbg packages to be
missed processing in come cases.

It's introduced by commit: fc985f51, package_rpm.bbclass: fix the arch
(replace "-" with "_").

Fixed by replacing "_" back to "-" in list_installed_packages, make it
output real arch values which can be safely used.

(From OE-Core rev: 554f2436435bf96c6735827f491c1b78b198c016)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base: tarball installer: SDK overwrite warning
Laurentiu Palcu [Mon, 26 Nov 2012 09:31:40 +0000 (11:31 +0200)]
populate_sdk_base: tarball installer: SDK overwrite warning

This patch contains two fixes:
  * if the user wants to install the SDK in a directory that already
    contains a SDK for the same architecture, a warning will be shown;
  * when the symbolic links are relocated use -n option. Otherwise,
    symbolic links to existing directories will be created in the
directory itself;

[YOCTO #3401]

(From OE-Core rev: cd035f170a2448b9ebcf0cfac5d4c0fa472b7049)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosubversion: update to 1.7.7
Eric Bénard [Tue, 27 Nov 2012 10:24:49 +0000 (11:24 +0100)]
subversion: update to 1.7.7

- fix WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2
- subversion-1.7.6_mod_dontdothat_svnserve_only.patch doesn't seems to be useful,
  cc Marcin to get confirmation

(From OE-Core rev: 60ac9eccd6101967a89ab74344920b4b3ca8cd5f)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoccache: update to upstream version 3.1.8
Marko Lindqvist [Tue, 27 Nov 2012 01:49:45 +0000 (03:49 +0200)]
ccache: update to upstream version 3.1.8

(From OE-Core rev: a627d8b1ecec394a9e638975f4d39553dc3efba5)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoslang: explicity disable invoking onig module
Hongxu Jia [Tue, 27 Nov 2012 02:04:35 +0000 (10:04 +0800)]
slang: explicity disable invoking onig module

We don't implement module onig in our recipes,
so we should explicity disable its invoke in slang
to avoid that slang's configure incorrectly tests
the existence of onig.

[YOCTO #2820]

(From OE-Core rev: 38c1b92f188b7e9b27d7ce3f6a8ffbdd7e19f90d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: Move compile with optimization handling to common code
Jackie Huang [Wed, 28 Nov 2012 06:11:30 +0000 (14:11 +0800)]
eglibc: Move compile with optimization handling to common code

The optimisation handling code is not version specific, so move the
fix code to the .inc.

(From OE-Core rev: 22dfc7d5738a20f015d9de693f0c2accfa685560)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpng: update to upstream version 1.2.50
Marko Lindqvist [Wed, 28 Nov 2012 07:25:31 +0000 (09:25 +0200)]
libpng: update to upstream version 1.2.50

License md5sum changed only because libpng version numbers and
release dates mentioned in it.

(From OE-Core rev: b3f99e01c249c34d6083eec3159d5ba6b54df97f)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocairo: update to upstream version 1.12.8
Marko Lindqvist [Tue, 27 Nov 2012 03:54:16 +0000 (05:54 +0200)]
cairo: update to upstream version 1.12.8

(From OE-Core rev: 060a9d982bf5e46d30a52c3bc6f17263f750a013)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk+: do not prelight GtkButton in touchscreen mode
Andreas Müller [Fri, 30 Nov 2012 12:34:06 +0000 (13:34 +0100)]
gtk+: do not prelight GtkButton in touchscreen mode

(From OE-Core rev: 08119d076853dbf5273c01bb095d2e1618475a57)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>