scm/bb/tizen-distro.git
12 years agodistro_tracking: Updates for manual checks
Saul Wold [Tue, 13 Mar 2012 21:46:11 +0000 (14:46 -0700)]
distro_tracking: Updates for manual checks

(From OE-Core rev: 29fe4e2e396166ced1a8b79f7254b24e0e727db1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: package static libraries correctly in -staticdev
Saul Wold [Tue, 13 Mar 2012 19:24:14 +0000 (12:24 -0700)]
python: package static libraries correctly in -staticdev

WARNING: QA Issue: non -staticdev package contains static .a library: python-distutils path '/work/i586-poky-linux/python-2.7.2-r1.7/packages-split/python-distutils/usr/lib/python2.7/config/libpython2.7.a'
(From OE-Core rev: a490aee0e41abc9fb82029fd8b64e78aa2b33a8d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Package python-rpm static archive correctly
Saul Wold [Tue, 13 Mar 2012 19:17:27 +0000 (12:17 -0700)]
rpm: Package python-rpm static archive correctly

WARNING: QA Issue: non -staticdev package contains static .a library: python-rpm path '/work/i586-poky-linux/rpm-5.4.0-r34/packages-split/python-rpm/usr/lib/python2.7/rpm/_rpmmodule.a'
(From OE-Core rev: 1374c7a8ea7c583d428a9546999a4ec3bee06128)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautoconf: remove emacs mode files to fix warnings
Saul Wold [Tue, 13 Mar 2012 18:38:45 +0000 (11:38 -0700)]
autoconf: remove emacs mode files to fix warnings

WARNING: For recipe autoconf, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/share/emacs
WARNING:   /usr/share/emacs/site-lisp
WARNING:   /usr/share/emacs/site-lisp/autotest-mode.elc
WARNING:   /usr/share/emacs/site-lisp/autotest-mode.el
WARNING:   /usr/share/emacs/site-lisp/autoconf-mode.el
WARNING:   /usr/share/emacs/site-lisp/autoconf-mode.elc
(From OE-Core rev: abbad3e5e799c7cda5543a48d68fdd0a7a642b96)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoquilt: Fix docs packaging warnings
Saul Wold [Tue, 13 Mar 2012 18:37:54 +0000 (11:37 -0700)]
quilt: Fix docs packaging warnings

WARNING: For recipe quilt, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/share/doc
WARNING:   /usr/share/doc/quilt
WARNING:   /usr/share/doc/quilt/README
WARNING:   /usr/share/doc/quilt/quilt.pdf
WARNING:   /usr/share/doc/quilt/README.MAIL
(From OE-Core rev: b9834c7725420ea22df604edb994f6735927b2e7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoltp: Package static library in -staticdev
Saul Wold [Tue, 13 Mar 2012 18:31:54 +0000 (11:31 -0700)]
ltp: Package static library in -staticdev

WARNING: QA Issue: non -staticdev package contains static .a library: ltp path '/work/i586-poky-linux/ltp-20120104-r0/packages-split/ltp/opt/ltp/lib/libmem.a'
(From OE-Core rev: d989fddba5c086ecabe77aff7fd8c0d05a36b2a5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoowl-video: Fix unpackaged file warning
Saul Wold [Tue, 13 Mar 2012 18:30:17 +0000 (11:30 -0700)]
owl-video: Fix unpackaged file warning

WARNING: For recipe owl-video, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/share/video
WARNING:   /usr/share/video/gtk-fullscreen.png
(From OE-Core rev: 1a93ad99eb4ce19b45e5f2b61902f1f2936bddff)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodates: Fix unpackaged files warning
Richard Purdie [Tue, 13 Mar 2012 14:52:09 +0000 (14:52 +0000)]
dates: Fix unpackaged files warning

This directory isn't needed so remove it and resolve the warning:

WARNING: For recipe dates, the following files/directories were installed but not shipped in any package:
WARNING:   /srv

(From OE-Core rev: 81379dc141e245307ca391a02b7490b199128991)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-utils: Ensure state directory is packaged
Richard Purdie [Tue, 13 Mar 2012 14:49:16 +0000 (14:49 +0000)]
alsa-utils: Ensure state directory is packaged

This adds the localstatedir to the alsactl package to avoid the warnings:

WARNING: For recipe alsa-utils, the following files/directories were installed but not shipped in any package:
WARNING:   /var
WARNING:   /var/lib
WARNING:   /var/lib/alsa

(From OE-Core rev: 90ea03cd92bbc2c756a5fef6dcb4f797a6dd3fab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoppp: Clean up PACKAGES vs. variable mismatch and drop unused RDEPENDS
Richard Purdie [Tue, 13 Mar 2012 13:05:59 +0000 (13:05 +0000)]
ppp: Clean up PACKAGES vs. variable mismatch and drop unused RDEPENDS

The RPDEPENDS format is wrong and couldn't have been doing anything useful. The
mismatch between PACKAGES and the DESCRIPTION_* and FILES_*  variable names could
confuse the system under certain conditions so this is a good cleanup to make.

(From OE-Core rev: 24f7351f6ac0408a1682893faf56b9145d698c1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoppp: Fix unpackaged files warnings
Richard Purdie [Tue, 13 Mar 2012 13:02:32 +0000 (13:02 +0000)]
ppp: Fix unpackaged files warnings

This patch packages a couple of modules for ppp to resolve the warnings:

WARNING: For recipe ppp, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/pppd/2.4.5/pppol2tp.so
WARNING:   /usr/lib/pppd/2.4.5/openl2tp.so

(From OE-Core rev: 11638ba4fa9f3d76cad2b46326792884ed488ecc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxslt: Fix unpackaged directory warning
Richard Purdie [Tue, 13 Mar 2012 12:57:08 +0000 (12:57 +0000)]
libxslt: Fix unpackaged directory warning

Fixes the warning:

WARNING: For recipe libxslt, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/libxslt-plugins

It makes sense for the package to own the plugins directory.

(From OE-Core rev: 9be4f5f6e0e28429b1a0c04561bfb79b54f0599d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-vmware: Fix unpackaged driectory warning
Richard Purdie [Tue, 13 Mar 2012 12:55:04 +0000 (12:55 +0000)]
xf86-video-vmware: Fix unpackaged driectory warning

Fixes the warning:

WARNING: For recipe xf86-video-vmware, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/bin

(From OE-Core rev: 58b2b72852389b9454dd9082ad2b22b2efbb2c19)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-keyboard: Fix unpackaged files warning
Richard Purdie [Tue, 13 Mar 2012 12:53:11 +0000 (12:53 +0000)]
matchbox-keyboard: Fix unpackaged files warning

Addresses the warnings:

WARNING: For recipe matchbox-keyboard, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/gtk-2.0/2.10.0/immodules/libmb-im-invoker.la
WARNING:   /usr/lib/matchbox-panel/libkeyboard.la

(From OE-Core rev: 684b25e96164eec1c69710eb9c59be8a0db4eeb2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocbook-utils: Add check to not sed files twice
Saul Wold [Tue, 13 Mar 2012 21:11:56 +0000 (14:11 -0700)]
docbook-utils: Add check to not sed files twice

This comes about from the code configure code getting run
multiple times on the same WORKDIR and re-sed'ing already
modified files.

(From OE-Core rev: 22510c756aa2b1b8d46f88ec08de47674a24d5c7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext: Set the LICENSE field to GPLv3+
Saul Wold [Mon, 12 Mar 2012 22:27:11 +0000 (15:27 -0700)]
gettext: Set the LICENSE field to GPLv3+

This change is needed because currently the INCOMPATIBLE_LICENSE
checking code does not map between SPDX and older style naming
(GPL-3+ vs GPLv3+).  Yocto bug number 2093 filed to track this.

(From OE-Core rev: a5cdf764a980624dbf350cb23cd360724c059584)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: test whether /etc/init.d/hwclock.sh exists
Andreas Oberritter [Tue, 13 Mar 2012 19:14:40 +0000 (20:14 +0100)]
initscripts: test whether /etc/init.d/hwclock.sh exists

* bootmisc.sh executes /etc/init.d/hwclock.sh, which
  is optional (depends on CONFIG_HWCLOCK in busybox).

(From OE-Core rev: 9c8300f030b69652ad39e1bc2979f5d9a03adf1e)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomtd-utils: clean up old files
James Limbouris [Tue, 28 Feb 2012 06:25:46 +0000 (14:25 +0800)]
mtd-utils: clean up old files

(From OE-Core rev: d3657fbd3e6cdfa0cfd355de446b474fb2f72e81)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxinit: Update to 1.3.2 -- Typo fix.
Randy MacLeod [Tue, 13 Mar 2012 16:00:19 +0000 (12:00 -0400)]
xinit: Update to 1.3.2 -- Typo fix.

On 12-02-02 06:47 PM, Saul Wold wrote:
> (From OE-Core rev: 04ab1fb8cc38da6c8a8b1474cf0060402f814a76)

Signed-off-by: Saul Wold<sgw@linux.intel.com>
> ---
>   .../xorg-app/{xinit_1.3.1.bb =>  xinit_1.3.2.bb}    |    6 +++---
>   1 files changed, 3 insertions(+), 3 deletions(-)
>   rename meta/recipes-graphics/xorg-app/{xinit_1.3.1.bb =>  xinit_1.3.2.bb} (79%)
>
> diff --git a/meta/recipes-graphics/xorg-app/xinit_1.3.1.bb b/meta/recipes-graphics/xorg-app/xinit_1.3.2.bb
> similarity index 79%
> rename from meta/recipes-graphics/xorg-app/xinit_1.3.1.bb
> rename to meta/recipes-graphics/xorg-app/xinit_1.3.2.bb
> index 2ddebe6..e029a03 100644
> --- a/meta/recipes-graphics/xorg-app/xinit_1.3.1.bb
> +++ b/meta/recipes-graphics/xorg-app/xinit_1.3.2.bb
> @@ -10,11 +10,11 @@ then terminate."
>
>   LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
>
> -PR = "r2"
> +PR = "r0"
>   PE = "1"
>
> -SRC_URI[md5sum] = "ee234056d8a3dbf37b61b4bcb35b88e4"
> -SRC_URI[sha256sum] = "c7468dfae94bdb42785d79623c27156dc4bf379d8372992830482cb04d8439b0"
> +RC_URI[md5sum] = "9c0943cbd83e489ad1b05221b97efd44"
> +SRC_URI[sha256sum] = "a1867fdaa83f68750b12ba4305c3c62f5992d0f52cfeb98e96c27a8e690e0235"
>
>   EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
>
Fix this warning:
WARNING: Missing md5 SRC_URI checksum for
   /.../downloads/xinit-1.3.2.tar.bz2, consider adding to the recipe:
SRC_URI[md5sum] = "9c0943cbd83e489ad1b05221b97efd44"

$ git diff meta/recipes-graphics/xorg-app/xinit_1.3.2.bb
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert "gettext: do not set libncurses prefix explicitly"
Richard Purdie [Tue, 13 Mar 2012 23:13:35 +0000 (23:13 +0000)]
Revert "gettext: do not set libncurses prefix explicitly"

This reverts commit 37b9d140b5d55af4f77baab0c0b0343d8b5e8b6c since it caused
QA issues for several people. The ncurses location needs to be explicitly
specificed.

(From OE-Core rev: 87f02bdf4b9c0687f466de5c0bc81f510f389fc3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext: do not set libncurses prefix explicitly
Scott Garman [Mon, 12 Mar 2012 05:58:42 +0000 (22:58 -0700)]
gettext: do not set libncurses prefix explicitly

The --with-libncurses-prefix configure option was added before
this recipe had ncurses in DEPENDS, so it should be safe to
remove it.

(From OE-Core rev: 37b9d140b5d55af4f77baab0c0b0343d8b5e8b6c)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoncurses: move only libncurses and libtinfo to base_libdir
Scott Garman [Sat, 10 Mar 2012 04:47:12 +0000 (20:47 -0800)]
ncurses: move only libncurses and libtinfo to base_libdir

The previous approach to moving the ncurses libraries to
base_libdir was too aggressive, and it broke curses support
in python.

Instead, move only libncurses, libncursesw, and libtinfo to
base_libdir and leave the remaining libraries in libdir.

Also delete ${libdir}/terminfo as it never gets packaged to
avoid a QA warning.

This fixes [YOCTO #2070] and is a partial fix for [YOCTO #1937].

(From OE-Core rev: ccd370ab147b78de7a5bd74818f755f4d3ca6d81)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopath.py: add make_relative_symlink method
Scott Garman [Tue, 13 Mar 2012 00:07:19 +0000 (17:07 -0700)]
path.py: add make_relative_symlink method

This method allows you to convert an absolute symlink into a
relative one.

(From OE-Core rev: 71062c1e0fb45a4b4e58ea5d217706aa2b402d88)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython, python-native: bump PR
Andreas Oberritter [Mon, 12 Mar 2012 21:24:12 +0000 (22:24 +0100)]
python, python-native: bump PR

(From OE-Core rev: cd504c7f1bd0440a114cb304f141b2b8197c7f66)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-native: distutils: don't use libdir, remove dead code path
Andreas Oberritter [Mon, 12 Mar 2012 21:24:11 +0000 (22:24 +0100)]
python-native: distutils: don't use libdir, remove dead code path

* Coming from OE-classic it was surprising that python-native now
  requires 'libdir' to be exported. Otherwise autoconf would fail
  to detect python libraries. This happend using a customized
  environment setup script to use OE's compiler and libs without
  bitbake.
* Use STAGING_LIBDIR instead of libdir.
* While at it, remove redundant 'and' statments.

(From OE-Core rev: 2edc929c47ac90eabad74e3726912fb3a57aaecd)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: depend on bzip2
Andreas Oberritter [Mon, 12 Mar 2012 21:24:10 +0000 (22:24 +0100)]
python: depend on bzip2

* Python auto-detects libbz2 and there's no way to
  force-disable it, so just enable it.
* Adds bz2 support to python-compression.

(From OE-Core rev: 744ff417fc0b4ef3096cf5f687f7e3bda20c694e)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: regenerate plat-linux2/*.py
Andreas Oberritter [Mon, 12 Mar 2012 21:24:09 +0000 (22:24 +0100)]
python: regenerate plat-linux2/*.py

* If plat-linux2/DLFCN.py was present, python was broken in our
  image, i.e. it was unable to load many modules. This was due
  to changed RTLD_* constants in dlfcn.h
* Python includes a script, plat-linux2/regen, to regenerate
  the py source codes in this directory.
* Do what plat-linux2/regen would do, but use files from
  STAGING_INCDIR.

(From OE-Core rev: 3bb9d027fff925a40c4dea9109df9464a76853b7)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython, python-native: always set platform to linux2
Andreas Oberritter [Mon, 12 Mar 2012 21:24:08 +0000 (22:24 +0100)]
python, python-native: always set platform to linux2

* Fixes many problems with linux2 vs. linux3. At least:
  - Detected version was from build-host instead of target-host.
  - linuxaudiodev and ossaudiodev were disabled for linux3.
  - Files were missing in /usr/lib/python2.7/plat-linux3.
* Imported from upstream HG rev c816479f6aaf
* Bugtracker URL: http://bugs.python.org/issue12326

(From OE-Core rev: accb2b728ab10cae20be59253a56ac6410b8de10)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-firmware: fix permissions of installed files
Andreas Oberritter [Sat, 10 Mar 2012 02:31:26 +0000 (03:31 +0100)]
linux-firmware: fix permissions of installed files

* The previous copy command preserved the original
  owner and permission bits.
* The new command uses root:root and applies OE's
  umask.

(From OE-Core rev: 710e565beadcf4ea965af688fd08b9b1f274ad57)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: explicitly disable udev
Andreas Oberritter [Fri, 9 Mar 2012 17:00:38 +0000 (18:00 +0100)]
util-linux: explicitly disable udev

* util-linux auto-detects libudev for lsblk, so
  disable it, because it's not listed in DEPENDS.

(From OE-Core rev: f831d4713a24dd56bf09276fb3b293d9c2b508cb)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: sort dynamically generated packages
Andreas Oberritter [Fri, 9 Mar 2012 21:34:40 +0000 (22:34 +0100)]
package.bbclass: sort dynamically generated packages

* do_split_packages and package_do_split_locales dynamically add
  packages in order of appearance of os.walk() or os.listdir().
  This order varies between multiple build hosts (and probably
  also between successive builds).
* Sort the list of dynamically added packages, to get a consistent
  and reproducible order.
* This reduces the diffs in buildhistory and improves
  comparability between builds.

(From OE-Core rev: 76f46391239d3e123cfde900c52ca12ac73fd84f)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: update to 0.79
Otavio Salvador [Tue, 6 Mar 2012 19:40:47 +0000 (19:40 +0000)]
connman: update to 0.79

(From OE-Core rev: 3d3a7103f4d068caed202833ffe9db6b47e75082)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types: ensure .rootfs.ext3 is created before vmdk is created.
Dexuan Cui [Fri, 9 Mar 2012 07:05:12 +0000 (15:05 +0800)]
image_types: ensure .rootfs.ext3 is created before vmdk is created.

In the case of self-hosted-image.bb, IMAGE_FSTYPES = "vmdk", so the
variables alltypes and subimages don't contain ext3, and  .rootfs.ext3
won't be created, and finally the generated .hddimg and .vmdk don't have
an actual rootfs -- the size of the .vmdk file is only about 9MB.

[YOCTO #2067]

(From OE-Core rev: 39f14c66d5df226689238810b759f502644deb5c)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev-164: fixup "don't hardcode path to pidof"
Andreas Oberritter [Thu, 8 Mar 2012 21:24:21 +0000 (22:24 +0100)]
udev-164: fixup "don't hardcode path to pidof"

* Remove -e shell option, because pidof may return nonzero.

(From OE-Core rev: b35c5e83d9f2e63917c2604046fb1a6d70a2a524)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: fix deps in libQtWebkit.la and QtWebKit.pc
Andreas Oberritter [Wed, 7 Mar 2012 20:36:28 +0000 (21:36 +0100)]
qt4: fix deps in libQtWebkit.la and QtWebKit.pc

* Both files contain -L../../WebCore/release -L../../JavaScriptCore/release -lwebcore -ljscore
* These paths and libs don't get installed.
* When building a shared lib with libtool, that links
  with libQtWebKit, libtool adds these unneeded parameters
  to the linker command-line, thus linking fails.

(From OE-Core rev: 4c41a3204ef72f53813ddc86fe525fa9c6714daa)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage-vmdk: add NOISO to disable iso image creation since it's not needed
Saul Wold [Thu, 8 Mar 2012 19:41:16 +0000 (11:41 -0800)]
image-vmdk: add NOISO to disable iso image creation since it's not needed

(From OE-Core rev: 92a8d604674bd500fdb4008bc34791776c84ae33)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotrace-cmd: modifying License information
Jeff Lance [Tue, 6 Mar 2012 18:53:49 +0000 (12:53 -0600)]
trace-cmd: modifying License information

* Adding "GPLv2 & LGPLv2.1" to create a dual license to cover the libraries.
* Bump up PR

(From OE-Core rev: 468aab48b07d345aadb6f449421824b0447d29c2)

Signed-off-by: Jeff Lance <j-lance1@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodpkg: rename postinst trigger script
Otavio Salvador [Sat, 3 Mar 2012 17:52:29 +0000 (17:52 +0000)]
dpkg: rename postinst trigger script

Use 'run-postinsts' as trigger script name as it describes better the
intent of it.

(From OE-Core rev: 69a4765d63ac6de3f1a6804cfca6b52c008e4c22)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: rename postinst trigger script
Otavio Salvador [Sat, 3 Mar 2012 17:34:36 +0000 (17:34 +0000)]
opkg: rename postinst trigger script

Use 'run-postinsts' as trigger script name as it describes better the
intent of it.

(From OE-Core rev: 9a0a106f64a913de593877bf47f79cb29ab87716)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_rpm.bbclass: rename postinst trigger script
Otavio Salvador [Sat, 3 Mar 2012 17:31:18 +0000 (17:31 +0000)]
rootfs_rpm.bbclass: rename postinst trigger script

Use 'run-postinsts' as trigger script name as it describes better the
intent of it.

(From OE-Core rev: 6bc50e531a15728be019af7bec5bce704fb72f8f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass: fix rootfs generation without package management tools
Otavio Salvador [Sat, 3 Mar 2012 04:12:18 +0000 (04:12 +0000)]
image.bbclass: fix rootfs generation without package management tools

When building without package management tools the
ROOTFS_BOOTSTRAP_INSTALL packages need to be available to provide the
bare minimal for rootfs unconfigure postinsts to be on first boot.

Those packages where being include in core-image.bbclass' based images
however every image needs those available for proper rootfs generation.

(From OE-Core rev: 4f2845739fc7a1f2c784f4d3be048ee111e7d093)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorun-postinsts: fix opkg data path
Otavio Salvador [Sat, 3 Mar 2012 17:29:02 +0000 (17:29 +0000)]
run-postinsts: fix opkg data path

(From OE-Core rev: 791f7e16d003eb1e116a26eec716e6bbac28b8f9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: Add Upstream Status for nodbus.patch
Saul Wold [Tue, 6 Mar 2012 16:43:58 +0000 (08:43 -0800)]
glib-2.0: Add Upstream Status for nodbus.patch

(From OE-Core rev: 1619bd7aa56f7cd4f7c9696eec3389b150de043a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: respect FILESPATH directories
Bruce Ashfield [Fri, 2 Mar 2012 16:36:07 +0000 (11:36 -0500)]
linux-yocto: respect FILESPATH directories

During the work to enhance the ability to specify out of tree kernel
features, an assumption was made about PN being part of a patch
path. This assumption is incorrect, since patches can be anywhere in
the valid FILESPATH.

To make locating the patches in WORKDIR simple, we can just query
patch.bbclass and return both the absolute directory of the patch
and the subdirectory as it was specified on the src_uri.

(From OE-Core rev: ecade4c986e5045879ea204e31457c9b53a15e33)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-xorg: Remove unneeded empty directory, fixing QA warning
Richard Purdie [Tue, 13 Mar 2012 00:09:03 +0000 (00:09 +0000)]
xserver-xorg: Remove unneeded empty directory, fixing QA warning

(From OE-Core rev: 689c9e6e5487292e3e54faceb741fa59478d9386)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-pycairo: Fix incorrect versions in license field
Richard Purdie [Mon, 12 Mar 2012 23:27:14 +0000 (23:27 +0000)]
python-pycairo: Fix incorrect versions in license field

(From OE-Core rev: 6bf473f3721c03adbfd283a65187dd5656e6debf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Add rpmdeps-oecore to appropriate package
Richard Purdie [Mon, 12 Mar 2012 23:24:12 +0000 (23:24 +0000)]
rpm: Add rpmdeps-oecore to appropriate package

(From OE-Core rev: a964e22804705b64202d2852a13ff2be34dc7923)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: Ensure the plugins directory is packaged to avoid warnings
Richard Purdie [Mon, 12 Mar 2012 23:22:41 +0000 (23:22 +0000)]
bluez4: Ensure the plugins directory is packaged to avoid warnings

This makes sense in this case even if its empty since this package is the
correct owner for it.

(From OE-Core rev: a5b8067f4d8c4b2aa230d8c998f4188d7b43895b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu-config: Clarify license as GPLv2
Richard Purdie [Mon, 12 Mar 2012 23:20:11 +0000 (23:20 +0000)]
qemu-config: Clarify license as GPLv2

(From OE-Core rev: 23af07ffbd861baf5b7e958a02b62c861e5bbfe7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass: Add mapping for LGPLv2.0, pango uses it
Richard Purdie [Mon, 12 Mar 2012 23:18:21 +0000 (23:18 +0000)]
license.bbclass: Add mapping for LGPLv2.0, pango uses it

(From OE-Core rev: 3b9256140bde09f8319a96bc8cbe15288ff5899b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: Clarify LICENSE with versions. Yes, its really GPLv1
Richard Purdie [Mon, 12 Mar 2012 23:14:19 +0000 (23:14 +0000)]
perl: Clarify LICENSE with versions. Yes, its really GPLv1

(From OE-Core rev: 1ae8a1b044ea7fc421cf64b5921f6c8dc25b99cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow: Correct license Artistic -> Artistic-1.0
Richard Purdie [Mon, 12 Mar 2012 23:08:00 +0000 (23:08 +0000)]
shadow: Correct license Artistic -> Artistic-1.0

(From OE-Core rev: 14ae4991d8067eb047acf77b30b3abef2cecef5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboost: Correct license name BSL-1 -> BSL-1.0
Richard Purdie [Mon, 12 Mar 2012 22:33:10 +0000 (22:33 +0000)]
boost: Correct license name BSL-1 -> BSL-1.0

(From OE-Core rev: fe8282824f54fd49a9b53d63b45c76132c3dc04f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-doc-utils: Clarify license as GPLv2 and LGPLv2.1
Richard Purdie [Mon, 12 Mar 2012 22:28:56 +0000 (22:28 +0000)]
gnome-doc-utils: Clarify license as GPLv2 and LGPLv2.1

(From OE-Core rev: 48b11b323622f1e4294bd3b95e3b54bb4929d941)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-doc: Clarify license as GPLv2
Richard Purdie [Mon, 12 Mar 2012 22:26:23 +0000 (22:26 +0000)]
gtk-doc: Clarify license as GPLv2

The .m4 file has no details but the upstream project is clearly GPLv2
so update the LICENSE file to match.

(From OE-Core rev: 25109aa2a4c2814ad89b4b416b4de31d14b65e93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowireless-tools: Clarify LICENSE field to avoid warnings
Richard Purdie [Mon, 12 Mar 2012 22:13:47 +0000 (22:13 +0000)]
wireless-tools: Clarify LICENSE field to avoid warnings

The source is unclear which version of the license applies. Since BSD is listed,
we have plenty of choice so lets pick some versions. Most people would pick
BSD out of the three anyway.

(From OE-Core rev: 04c2e69ffb77b43b853170c2b804eab367260063)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-session: Clarify LICENSE as GPLv2
Richard Purdie [Mon, 12 Mar 2012 21:44:37 +0000 (21:44 +0000)]
matchbox-session: Clarify LICENSE as GPLv2

(From OE-Core rev: b6906c8c08dff9f8b3dac0d2d637856296cb4a60)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: Fix unpackaged directory warnings
Richard Purdie [Mon, 12 Mar 2012 21:30:15 +0000 (21:30 +0000)]
librsvg: Fix unpackaged directory warnings

This patch fixes the QA warnings:

WARNING: For recipe librsvg, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/gtk-3.0
WARNING:   /usr/lib/gtk-3.0/engines

(From OE-Core rev: 973fabc6db9398869c5257b9c761d9d741d5c407)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosato-screenshot: Remove unneeded .la file
Richard Purdie [Mon, 12 Mar 2012 21:24:48 +0000 (21:24 +0000)]
sato-screenshot: Remove unneeded .la file

This resolves the QA warning:

WARNING: For recipe sato-screenshot, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/matchbox-panel/libscreenshot.la

(From OE-Core rev: c5f4a9261d582a52429cf5a115efed61987b0dd8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-input-vmmouse: Package unpackaged files
Richard Purdie [Mon, 12 Mar 2012 21:22:47 +0000 (21:22 +0000)]
xf86-input-vmmouse: Package unpackaged files

This addresses the QA warnings:

WARNING: For recipe xf86-input-vmmouse, the following files/directories were installed but not shipped in any package:
WARNING:   /lib
WARNING:   /lib/udev
WARNING:   /lib/udev/rules.d
WARNING:   /lib/udev/rules.d/69-xorg-vmmouse.rules
WARNING:   /usr/share/X11
WARNING:   /usr/share/hal
WARNING:   /usr/share/X11/xorg.conf.d
WARNING:   /usr/share/X11/xorg.conf.d/50-vmmouse.conf
WARNING:   /usr/share/hal/fdi
WARNING:   /usr/share/hal/fdi/policy
WARNING:   /usr/share/hal/fdi/policy/20thirdparty
WARNING:   /usr/share/hal/fdi/policy/20thirdparty/11-x11-vmmouse.fdi
WARNING:   /usr/lib/hal
WARNING:   /usr/lib/hal/hal-probe-vmmouse

The hal files are simply deleted, we don't care about hal.

(From OE-Core rev: fb1e1ca346c617598726609425406b5afc79270d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoleafpad: Package currently unpackaged files.
Richard Purdie [Mon, 12 Mar 2012 21:03:09 +0000 (21:03 +0000)]
leafpad: Package currently unpackaged files.

This resolves the QA warning:

WARNING: For recipe leafpad, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/share/icons
WARNING:   /usr/share/icons/hicolor
WARNING:   /usr/share/icons/hicolor/16x16
WARNING:   /usr/share/icons/hicolor/22x22
WARNING:   /usr/share/icons/hicolor/scalable
WARNING:   /usr/share/icons/hicolor/32x32
WARNING:   /usr/share/icons/hicolor/24x24
WARNING:   /usr/share/icons/hicolor/16x16/apps
WARNING:   /usr/share/icons/hicolor/16x16/apps/leafpad.png
WARNING:   /usr/share/icons/hicolor/22x22/apps
WARNING:   /usr/share/icons/hicolor/22x22/apps/leafpad.png
WARNING:   /usr/share/icons/hicolor/scalable/apps
WARNING:   /usr/share/icons/hicolor/scalable/apps/leafpad.svg
WARNING:   /usr/share/icons/hicolor/32x32/apps
WARNING:   /usr/share/icons/hicolor/32x32/apps/leafpad.png
WARNING:   /usr/share/icons/hicolor/24x24/apps
WARNING:   /usr/share/icons/hicolor/24x24/apps/leafpad.png

(From OE-Core rev: df48742cfc0c46ae33f28900cfd5a7a2f94c326c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH
Nitin A Kamble [Mon, 12 Mar 2012 16:28:10 +0000 (09:28 -0700)]
cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH

Some libraries like libcrypto.so are installed at base_libdir
instead of libdir. So add the base_libdir to CMAKE_LIBRARY_PATH
so that these libraries can be found correctly.

This resolves an issues with libzypp, which was not finding the
libcrypo library correctly in an x32 build.

(From OE-Core rev: f47ada62a3da879006e7cb27479dc9b72c56e923)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-xserver: Explictly disable dtrace, its not in DEPENDS
Richard Purdie [Mon, 12 Mar 2012 12:15:23 +0000 (12:15 +0000)]
xorg-xserver: Explictly disable dtrace, its not in DEPENDS

(From OE-Core rev: 01c1a0f7671871b4fafaed0712ecdece5c21216b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-dri-glsl-native: Avoid error when running configure a second time
Richard Purdie [Mon, 12 Mar 2012 12:14:45 +0000 (12:14 +0000)]
mesa-dri-glsl-native: Avoid error when running configure a second time

This avoids the error:

ln: creating symbolic link `/media/data1/build1/poky/build/tmp/work/x86_64-linux/mesa-dri-glsl-native-7.11-r0/Mesa-7.11/src/glsl//../../configs/current': File exists

(From OE-Core rev: 7871772c74e65ef472c5bf3776e4b3b30308bd5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocodeparser: Call intern over the set contents for better cache performance
Richard Purdie [Sun, 11 Mar 2012 14:30:31 +0000 (14:30 +0000)]
codeparser: Call intern over the set contents for better cache performance

See the comment in the code in the commit for more information.

(Bitbake rev: 2d56dc7b1f0d186e14c4c8a949b280b6b3fc31de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocodeparser: Compute extra cache components on the fly rather than later
Richard Purdie [Sun, 11 Mar 2012 14:18:02 +0000 (14:18 +0000)]
codeparser: Compute extra cache components on the fly rather than later

In the initial implementation there was a relcutance on my part to
generate incremental cache components on the fly since it would lead
to some duplicate code.

We are now seeing problems where each thread reading in the saved cache
file causes significant overhead and can make the process appear to hang
on a many core build, particularly when the cache file is large.

This patch changes the code to maintain the delta in a separate dict
right from the start. The code duplication isn't too bad and could be
mitigated in other ways if it becomes an issue.

[YOCTO #2039 partial]

(Bitbake rev: cdd5d0dee6ab12326b252b6b505a316a52638cac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker.py: Allow parsing shutdown to be called more than once
Richard Purdie [Sun, 11 Mar 2012 14:13:05 +0000 (14:13 +0000)]
cooker.py: Allow parsing shutdown to be called more than once

The parsing shutdown call can occur more than once. Currently
if this happens the code will hang. Add some code to prevent this.

[YOCTO #2039 partial]

(Bitbake rev: 7614c5bdcaf9d70614b4fad2ca02c7e6eaa92f1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-trim/diet: Ensure libx11-locale doesn't trigger multiple provider issues
Richard Purdie [Mon, 12 Mar 2012 02:27:39 +0000 (02:27 +0000)]
libx11-trim/diet: Ensure libx11-locale doesn't trigger multiple provider issues

(From OE-Core rev: 028a7319cf9b178bd3a9878dcba35fa9483d13f5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosiggen.py: Use basehash if no taskhash
Robert Yang [Tue, 6 Mar 2012 06:04:36 +0000 (14:04 +0800)]
siggen.py: Use basehash if no taskhash

The bitbake-runtask doesn't work since there is no taskhash (it worked
in the past, but seems recent changes made it doesn't work again), use
the basehash when there is no taskhash, just like what dump_sigtask
does.

[YOCTO #1229]

(Bitbake rev: b36f2e3803dfc494d5b171759f55faf33708e6f1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/siggen: output filename on error in finalise
Paul Eggleton [Tue, 6 Mar 2012 23:37:35 +0000 (23:37 +0000)]
bitbake/siggen: output filename on error in finalise

If an error occurs during finalise() (when for example we might get an
expansion error in SRCPV), log a note which mentions which recipe was
being finalised.

Fixes [YOCTO #1782]

(Bitbake rev: 56f9f8ffd92b00b916dbc2386150c83689d5beed)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hig: special case stock info icons in CrumbsMesssageDialog
Joshua Lock [Fri, 2 Mar 2012 23:48:02 +0000 (15:48 -0800)]
ui/crumbs/hig: special case stock info icons in CrumbsMesssageDialog

The Hob visual design includes an info icon which should be used
consistently throught the GUI. This change detects use of the stock info
icon in CrumbsMessageDialog and uses the Hob info icon instead.

(Bitbake rev: 37ed1589a19ffc82e8638b5375c99158988b38fc)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hig: use HobInfoButton in place of gtk.Image with tooltip
Joshua Lock [Fri, 2 Mar 2012 23:46:40 +0000 (15:46 -0800)]
ui/crumbs/hig: use HobInfoButton in place of gtk.Image with tooltip

Replace all instances of the stock info icon with an attached tooltip with
the new HobInfoButton with associated PersistentTooltip.

(Bitbake rev: cead9a2e32f0196536c51d3a0713c1f28a35bf3d)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/imageconfigurationpage: make use of the HobInfoButton
Joshua Lock [Fri, 2 Mar 2012 23:43:37 +0000 (15:43 -0800)]
ui/crumbs/imageconfigurationpage: make use of the HobInfoButton

Use the new HobInfoButton widget in place of the existing gtk.Image with
tooltip.

Modify the markup of the tooltip so that the link to the reference manual
is a clickable hyperlink.

(Bitbake rev: 10b4a6770640db49f2f55b8ad7ce55aebb250598)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hobwidget: implement HobInfoButton per Hob interaction design
Joshua Lock [Fri, 2 Mar 2012 23:41:21 +0000 (15:41 -0800)]
ui/crumbs/hobwidget: implement HobInfoButton per Hob interaction design

This button-like widget will display a persistent tooltip with the
supplied Pango Markup when it is clicked by the user. This widget features
prominently in the interaction design to offer help in a more prominent
manner.

(Bitbake rev: 43f33dcd6b7d1a08651cdf0715c2c2a9d488b103)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/icons: crop the info icons
Joshua Lock [Fri, 2 Mar 2012 23:38:04 +0000 (15:38 -0800)]
ui/icons: crop the info icons

The info icons include large, transparent borders. Crop this out so that
we can use the icon without using too much space in the GUI.

(Bitbake rev: de5fbbd343081147e6b7a118daee7f678d49d0fa)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocrumbs/persistenttooltip: a new Gtk+ widget for use in Hob
Joshua Lock [Fri, 2 Mar 2012 23:36:45 +0000 (15:36 -0800)]
crumbs/persistenttooltip: a new Gtk+ widget for use in Hob

The Hob interaction design calls for a top level widget which shows a
persistent tooltip. This tooltip will not disappear until the user
explicitly closes it.

This allows us to provide clickable hyperlinks, longer instructions and
deeper information in the tooltips.

Note: by design the tooltip should dismiss when the user clicks off it,
this implementation does include that functionality. It's a to do item.

(Bitbake rev: b310fd429150d3a96ecde477934fffad4b4031da)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Drop python depends from rpmdeps
Richard Purdie [Sun, 11 Mar 2012 18:26:15 +0000 (18:26 +0000)]
package.bbclass: Drop python depends from rpmdeps

This python depends is added by rpmdeps every time it finds a python
script. This is not necessary since we handle this in otherways. It
also breaks things like nativesdk since the dependency is not renamed.
The easiest solution is just to ignore this dependency.

(From OE-Core rev: 5c8ad2638baac0501cecf38f8d3e8467d56afb8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm 5.4.0: Add rpmdeps-oecore to replace rpmdeps for package.bbclass
Richard Purdie [Fri, 9 Mar 2012 06:14:04 +0000 (14:14 +0800)]
rpm 5.4.0: Add rpmdeps-oecore to replace rpmdeps for package.bbclass

This is a performance enhancement by adding a binary allowing batch processing
of individual file dependencies. The second patch in this series uses the binary
this patch creates.

(From OE-Core rev: 50dc8bfbac42b9a9b52a2f7d0568740c41790c13)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_ipk.bbclass: Ensure Source is set to something else packaging can fail
Richard Purdie [Fri, 9 Mar 2012 07:48:55 +0000 (23:48 -0800)]
package_ipk.bbclass: Ensure Source is set to something else packaging can fail

(From OE-Core rev: a91d7a0c27d0ec763cb794be5282f7d34a3135fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: Corrected wrong environment file names.
Lianhao Lu [Wed, 7 Mar 2012 02:06:47 +0000 (10:06 +0800)]
adt-installer: Corrected wrong environment file names.

[YOCTO #2055]
1. Corrected the wrong environment file name for powerpc.

2. Removed unnecessary variables in adt_installer.conf.

(From OE-Core rev: 9c52fe75b7f77feda075e9c5296448dea6ff7922)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoformfactor: use full path to fbset
Paul Eggleton [Tue, 6 Mar 2012 23:55:37 +0000 (23:55 +0000)]
formfactor: use full path to fbset

When using rootless X, /usr/sbin is not in PATH and thus running "fbset"
will fail; so specify /usr/sbin/fbset instead.

Fixes [YOCTO #1986]

(From OE-Core rev: fb2df75e1552e60c67449c06cd80accc40ea534e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprservice: Added sanity check for prservice connection.
Lianhao Lu [Wed, 7 Mar 2012 07:36:45 +0000 (15:36 +0800)]
prservice: Added sanity check for prservice connection.

Fixed bug [YOCTO #2052]. Added sanity check for variables of PRSERV_HOST
and PRSERV_PORT, also for the connection availabity of prservice.

(From OE-Core rev: 7588a4f2e2728da0ff7a773b18527f3711b138f2)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobzip2: split into binary and library packages
Andreas Oberritter [Wed, 7 Mar 2012 21:03:17 +0000 (22:03 +0100)]
bzip2: split into binary and library packages

* Create libbz2 (and -dev, -staticdev), which can be
  installed without the bzip2 executables.

(From OE-Core rev: e27af1f273e9a7348dd8f5542df9206acd9210f3)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: use empty SRC_URI by default
Andreas Oberritter [Thu, 8 Mar 2012 02:51:10 +0000 (03:51 +0100)]
bitbake.conf: use empty SRC_URI by default

* Otherwise, recipes that only append to SRC_URI instead of
  overwriting it will get the full path of the recipe written
  into the Source: field of the package.

(From OE-Core rev: 516d2029b31b014de1c87d23dd86208a4480579c)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: Amend upstream status of configure-nm.patch
James Limbouris [Thu, 8 Mar 2012 01:47:08 +0000 (09:47 +0800)]
gtk+: Amend upstream status of configure-nm.patch

(From OE-Core rev: e303673f7f49495a892dbeda11d8295cecc54263)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdk-pixbuf: Pick up ${NM} from the environment.
James Limbouris [Thu, 8 Mar 2012 01:44:02 +0000 (09:44 +0800)]
gdk-pixbuf: Pick up ${NM} from the environment.

(From OE-Core rev: e48eb65494a234ac82ec04fcbcc04f5e881347c3)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Remove warnings for modutils and modprobe.d
Darren Hart [Wed, 7 Mar 2012 08:06:46 +0000 (00:06 -0800)]
kernel.bbclass: Remove warnings for modutils and modprobe.d

Fixes [Yocto #2036]

The source and build directories are unused, remove them.

The modutils and modprobe.d directories may be used if modules are built that
are either autoloaded or have modprobe.d entries. This isn't known at install
time, so check after the package split if these directories are empty and
remove them if they are.

(From OE-Core rev: 6068f3229397baf561b1e84a22b570a803d95c49)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: override PKGV, not PKGV_${PN}
Christopher Larson [Wed, 7 Mar 2012 16:24:25 +0000 (10:24 -0600)]
external-csl-toolchain: override PKGV, not PKGV_${PN}

This is needed to ensure that the RDEPENDS_${PN}-dev,
RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect
to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging
issue, as rpm dislikes the recipe PV as PKGV.

(From OE-Core rev: 61d5fa2b7ae6b3ce49747a102b3817c36f6cf85d)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxz: split out liblzma as seperate packages
Koen Kooi [Tue, 6 Mar 2012 17:03:20 +0000 (09:03 -0800)]
xz: split out liblzma as seperate packages

As usual, this creates problems for upgrade paths, but splitting out the lib is worth the short term hassle

(From OE-Core rev: af1a2740bc47d355a3435fc5d36c47e48cb05ad2)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: Fix Upstream-Status tag
Saul Wold [Tue, 6 Mar 2012 17:03:23 +0000 (09:03 -0800)]
polkit: Fix Upstream-Status tag

(From OE-Core rev: 6dc18475127ca53363c20a402455dba68375e49b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: Support compilation without X11
Mike Crowe [Tue, 6 Mar 2012 17:03:21 +0000 (09:03 -0800)]
valgrind: Support compilation without X11

Only depend on X libraries if the distribution has X support.

(From OE-Core rev: 8a4bc16b853f3d5092c588703eef0ccb6aeb6ba1)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomime.bbclass: Fix bracket error.
Samuel Stirtzel [Tue, 6 Mar 2012 17:03:19 +0000 (09:03 -0800)]
mime.bbclass: Fix bracket error.

This fixes the following error:

ERROR: Error executing a python function in ...:
AttributeError: 'str' object has no attribute 'append'

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR:   File "populate_packages", line 193, in <module>
ERROR:
ERROR:   File "populate_packages", line 189, in populate_packages
ERROR:
ERROR: The code that was being executed was:
ERROR:      0189:                       rdepends.append("shared-mime-info-data")
ERROR:      0190:                       d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
ERROR:      0191:
ERROR:      0192:
ERROR:  *** 0193:populate_packages(d)
ERROR:      0194:
ERROR: (file: 'populate_packages', lineno: 193, function: <module>)
ERROR:      0185:                       postrm += d.getVar('mime_postrm', True)
ERROR:      0186:                       d.setVar('pkg_postrm_%s' % pkg, postrm)
ERROR:      0187:                       bb.note("adding shared-mime-info-data dependency to %s" % pkg)
ERROR:      0188:                       rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or ""
ERROR:  *** 0189:                       rdepends.append("shared-mime-info-data")
ERROR:      0190:                       d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
ERROR:      0191:
ERROR:      0192:
ERROR:      0193:populate_packages(d)

(From OE-Core rev: 043abe4e88abb6754909b93129ea162a577aa828)

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow-sysroot: Fix for multilib
Zhai Edwin [Tue, 6 Mar 2012 17:03:17 +0000 (09:03 -0800)]
shadow-sysroot: Fix for multilib

Fix following error in multilib build:
"ERROR: Task do_package_setscene depends upon nonexistant task
poky/meta/recipes-extended/shadow/shadow-sysroot_4.1.4.3.bb:do_populate_sysroot_setscene"

>From richard.purdie@linuxfoundation.org

(From OE-Core rev: 5de2c22fb42c12783abc090a81f10db9eb39732f)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib: extend all recipes in multilib.conf
Dongxiao Xu [Tue, 6 Mar 2012 17:03:16 +0000 (09:03 -0800)]
multilib: extend all recipes in multilib.conf

(From OE-Core rev: 0fce63476f9a376d95ea4f926cb60cb84f7a4d48)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/rt: udpate SRCREVs to 3.2.9-rt16
Bruce Ashfield [Tue, 6 Mar 2012 17:03:15 +0000 (09:03 -0800)]
linux-yocto/rt: udpate SRCREVs to 3.2.9-rt16

Bumping the -rt kernel to pickup the incremental update to -rt16.
No major changes from -rt15, except for a bug fix that we want
to pick up.

(From OE-Core rev: 0b03c2382ad6b2d472555f5054a1ce82eb4e3de9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/meta: fix incorrect config references
Bruce Ashfield [Tue, 6 Mar 2012 17:03:14 +0000 (09:03 -0800)]
linux-yocto/meta: fix incorrect config references

Updating the meta SRCREV to pickup the following fixes:

  a9ffedb meta/fri2/sys940x: fix incorrect cfg includes
  3d1a678 meta/sys940x: fix incorrect emgd branch merge

During the merge of the 3.0 BSPs forward to 3.2, a few moved config
fragments were missed.

(From OE-Core rev: 51c0c1d07d44b3bffb63d15b6befff6e7ba2549f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsplash: Add mising commands module import.
Peter Tworek [Tue, 6 Mar 2012 17:03:13 +0000 (09:03 -0800)]
psplash: Add mising commands module import.

Python commands module is used in the recipe, but never imported.
This leads to build errors like:

NameError: global name 'commands' is not defined

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR:   File "do_compile", line 24, in <module>
ERROR:
ERROR:   File "do_compile", line 11, in do_compile
ERROR:
ERROR: The code that was being executed was:
ERROR:      0020:        bb.build.exec_func("oe_runmake", d)
ERROR:      0021:        shutil.copyfile("psplash", outputfile)
ERROR:      0022:
ERROR:      0023:
ERROR:  *** 0024:do_compile(d)
ERROR:      0025:
ERROR: (file: 'do_compile', lineno: 24, function: <module>)
ERROR:      0007:    localfiles = d.getVar('SPLASH_LOCALPATHS', True).split()
ERROR:      0008:    outputfiles = d.getVar('SPLASH_INSTALL', True).split()
ERROR:      0009:    for localfile, outputfile in zip(localfiles, outputfiles):
ERROR:      0010:        if localfile.endswith(".png"):
ERROR:  *** 0011:            outp = commands.getstatusoutput('./make-image-header.sh %s POKY' % localfile)
ERROR:      0012:            print(outp[1])
ERROR:      0013:            fbase = os.path.splitext(os.path.basename(localfile))[0]
ERROR:      0014:            shutil.copyfile("%s-img.h" % fbase, destfile)
ERROR:      0015:        else:

(From OE-Core rev: 34bdb9a459208377210454e54635afb9404ee126)

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Upgrade to 4.6.3 release
Khem Raj [Tue, 6 Mar 2012 17:03:12 +0000 (09:03 -0800)]
gcc: Upgrade to 4.6.3 release

core-image-sato/core-image-minimal builds and boots
on all qemu machines

(From OE-Core rev: 40d7a4b70d342f75e13de7872fb62e2b9d6d40bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agologrotate 3.7.9: Allow rotate log across filesystems
Robert Yang [Tue, 6 Mar 2012 17:03:11 +0000 (09:03 -0800)]
logrotate 3.7.9: Allow rotate log across filesystems

The logrotate can't save the log across the different filesystems since
it used the "rename(const char *oldpath, const char *newpath)" to save
the file, fix it to act as the "mv" command(first rename, if failed,
read and write) to allow save the log across the different filesystems.

* config.c: Remove the check for different filesystems
* logrotate.c: Act as the "mv" command when rotate log
* logrotate.8: Update the mannual
* logrotate.8: Fix a bug in the mannual(\f should be \fR)

[YOCTO #718]

(From OE-Core rev: fca0a2c597ab40d55da768dac4088234b9b0d773)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: v3.2.9, v3.0.23 + fixes and updates
Bruce Ashfield [Tue, 6 Mar 2012 17:03:10 +0000 (09:03 -0800)]
linux-yocto: v3.2.9, v3.0.23 + fixes and updates

This is an update of the linux-yocto 3.0 and 3.2 SRCREVs to bring
in the following updates:

  - v3.0.23 stable update
  - v3.2.9 stable update
  - 3.0/3.2: fri2 updates (pch + configuration changes) from Darren Hart
  - 3.0: pvr merge from Kishore Bodke
  - linux-yocto/rt: update to 3.0.23-rt38
  - linux-yocto/rt: update to 3.2.9-rt15

These have been built for all qemu targets, and built for the appropriate
hardware platforms.

(From OE-Core rev: a9e7131b85e1787e6f76c64d77b2ac6684c8a9c9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>