scm/bb/tizen-distro.git
11 years agobin_package.bbclass: binary package recipe class
Robert Yang [Sun, 2 Sep 2012 04:15:47 +0000 (12:15 +0800)]
bin_package.bbclass: binary package recipe class

This is used for the binary package recipe, it's been suggested that it
would be a useful feature to be able to easily take an RPM or similar
containing a software binary from a 3rd party software vendor and
integrate it into an image created by the build system.

* Brief introduction
  - The binary pkg can be .rpm, .deb, .ipk and other formats which can
    be unpacked by bitbake fetcher.

  - Let bitbake unpack the bianry package, just like unpack the source
    package.

  - Skip the do_configure and do_compile.

  - Install the files to ${D}

  - Other steps are similar to the source package's recipe.

* Note:
  - The "subdir" parameter in the SRC_URI is useful for the binary
    package recipe, so I added an example in the comment.

  - I have sent a patch to bitbake-devel mailing list to support
    unpack the .rpm, .ipk, and .deb files.

[YOCTO #1592]

(From OE-Core rev: 7037f52909b8226d2afed4ac73c902d410afc112)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm.bbclass: fix the arch (replace "-" with "_")
Robert Yang [Mon, 10 Sep 2012 07:58:52 +0000 (15:58 +0800)]
package_rpm.bbclass: fix the arch (replace "-" with "_")

rpm can't use the "-" as the arch, which causes problem, e.g., when
MACHINE = "beagleboard":

* The arch should be armv7a-vfp-neon, but rpm only takes the armv7a,
  this is incorrect since it is mixed with real arch armv7a.

* The nativesdk's arch should be i686-nativesdk (or x86_64-nativesdk),
  but rpm only takes the i686 (or x86_64), this in incorrect since it is
  mixed with the arch i686 (or x86_64).

Replace "-" with "_" when rpm package and the rootfs generation would
fix the problem, I think this is fine since it doesn't change the tune's
arch, the package manager doesn't care about the arch's name, but it
needs a unify arch system to avoid confusing. This is similar to what we
have done on the deb which fixed the arch i486, i586 and so on to i386.

[YOCTO #2328]

(From OE-Core rev: fc985f511da86400e4fa7d17555216c12eb51666)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodistrodata: replace Tab with Space
Saul Wold [Mon, 10 Sep 2012 06:53:46 +0000 (23:53 -0700)]
distrodata: replace Tab with Space

(From OE-Core rev: adb241958f125cc4c74ac5fbfc00674e7cd7305d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/mirrors: remove bogus gnutls mirror
Paul Eggleton [Fri, 7 Sep 2012 13:23:05 +0000 (14:23 +0100)]
classes/mirrors: remove bogus gnutls mirror

This mirror entry which maps to itself plus a slash, if matched, put the
fetcher into a circular loop until the stack space is exhausted. A patch
has been sent to fix this issue in BitBake, but we should remove the
bogus entry as well.

(Note that this entry does not actually trigger the issue with current
master because the gnutls recipe now uses GNU_MIRROR instead of
ftp.gnutls.org, thus the bogus mirror entry is not matched.)

(From OE-Core rev: 0de1827a9601143b090f751ea702fdb65a936b77)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: replace double slashes in paths in encodeurl()
Paul Eggleton [Fri, 7 Sep 2012 13:34:35 +0000 (14:34 +0100)]
bitbake: fetch2: replace double slashes in paths in encodeurl()

This ensures that if all a MIRRORS entry does is add a slash, this does
not result in a circular loop.

Fixes [YOCTO #3073].

(Bitbake rev: 57055d337a2c9997a6e5d5bdabaec396e3e128e9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: print message when DISPLAY is not set
Cristiana Voicu [Fri, 7 Sep 2012 12:00:11 +0000 (15:00 +0300)]
bitbake: hob: print message when DISPLAY is not set

If DISPLAY wasn't set, launching hob has printed a traceback
difficult to understand. Now, the exception is caught and it
shows a human message.

[YOCTO #2596]

(Bitbake rev: a41098a2dacbd903422ccdcd1885b0f351c7ddf3)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Hob: change view of 'recipes' and 'packages' tables as ui design
Liming An [Wed, 5 Sep 2012 11:13:48 +0000 (19:13 +0800)]
bitbake: Hob: change view of 'recipes' and 'packages' tables as ui design

changed the order of task tables,
cancel the 'description' column,
add the binb total number indicator, and so on

[YOCTO 2195]

(Bitbake rev: 6dc3263d60a6d35f9eebfcdbc2665201ee40b953)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-diffsigs: allow specifying task & follow deps recursively
Paul Eggleton [Mon, 27 Aug 2012 20:44:35 +0000 (21:44 +0100)]
bitbake: bitbake-diffsigs: allow specifying task & follow deps recursively

Add the ability to compare the two most recent runs of a specified task,
and follow dependent hash changes recursively. This enables you to trace
back and find exactly why a task was re-run after the fact.

Note that this relies on the metadata providing a function, hooked in
as bb.siggen.find_siginfo, which allows searching in the appropriate
places to find signature data files.

(Bitbake rev: cc70181659c07e04c205e17832846acf1ff31d28)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: lib/bb/siggen.py: make signature dump/compare functions return a list
Paul Eggleton [Mon, 27 Aug 2012 20:44:34 +0000 (21:44 +0100)]
bitbake: lib/bb/siggen.py: make signature dump/compare functions return a list

These functions become a little bit more reusable if they return a list
containing the output rather than just printing it.

(Bitbake rev: a0ad2a947b71abcc0a1244cf139b9e9dfd8ee049)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: lib/bb/siggen.py: insert a colon between class and recipe name
Paul Eggleton [Mon, 27 Aug 2012 20:44:33 +0000 (21:44 +0100)]
bitbake: lib/bb/siggen.py: insert a colon between class and recipe name

before:
  virtual:nativeautomake_1.12.1.bb.do_compile
after:
  virtual:native:automake_1.12.1.bb.do_compile

This separation ensures that the key is readable, and if necessary,
parsable.

Unfortunately this invalidates previous native sstate signatures with
OE-Core - not much that can be done about that; however that occurs
frequently during the development cycle so it's par for the course.

(Bitbake rev: 5b96c32dad256090e9bda5af0f80c7dbcc90bde8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: lib/bb/siggen: replace tabs with spaces
Paul Eggleton [Mon, 27 Aug 2012 20:44:32 +0000 (21:44 +0100)]
bitbake: lib/bb/siggen: replace tabs with spaces

We had one section of the code mixing tabs with spaces, which is
particularly undesirable with python code.

(Bitbake rev: 8eaa093b179e03a6003a47220540b1bc73afca17)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: tinfoil: create simple interface for bitbake-based utilities
Paul Eggleton [Mon, 27 Aug 2012 20:44:31 +0000 (21:44 +0100)]
bitbake: tinfoil: create simple interface for bitbake-based utilities

The code to initialise BitBake within bitbake-layers should be useful
for other utilities that need to query configuration or recipe
information, so refactor it out into its own class, "Tinfoil" (to
continue with our cooking metaphor).

(Bitbake rev: e5707e3938ace47c4a8d1fa2e81583fd4dc6b95d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: crumbs/hig: Save toolchain in settings
Bogdan Marinescu [Wed, 5 Sep 2012 10:11:25 +0000 (13:11 +0300)]
bitbake: crumbs/hig: Save toolchain in settings

Toolchain was not saved in the settings dialog ("Output" tab).

[YOCTO #2695]

(Bitbake rev: f8924b75d6ff7f093d73f4e3c0953e349960d5ff)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: The 'run image' and 'deploy image' dialogs text and alignment corrections
Cristiana Voicu [Wed, 5 Sep 2012 07:50:33 +0000 (10:50 +0300)]
bitbake: hob: The 'run image' and 'deploy image' dialogs text and alignment corrections

-changed the text shown by both dialogs text
-make small tweaks to alignment

[YOCTO #2999]

(Bitbake rev: b193db13472908b8ec6c670da96ff3b0004e635b)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/imagedetailspage: "Image ready" icon appers only after the image was...
Cristiana Voicu [Mon, 3 Sep 2012 11:22:04 +0000 (14:22 +0300)]
bitbake: hob/imagedetailspage: "Image ready" icon appers only after the image was generated

Now, "Your image is ready" icon doesn't appear when you come back on Imagedetails
page. It appears only after the image was generated.

[YOCTO #2984]

(Bitbake rev: de29bfc163471e4959483493a5e5b26f8a2cf8a0)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hobwidget: Button theme is taken from host, fix
Ioana Grigoropol [Mon, 3 Sep 2012 09:51:06 +0000 (12:51 +0300)]
bitbake: hobwidget: Button theme is taken from host, fix

- All buttons in the interface inherit a BaseHobButton that
  use the gtk settings for buttons from the host;
- Removed 'or' label between actions on image details page

[Yocto #3011]

(Bitbake rev: 1a8356b57f906cf575612eb52fc8d3a9824ff9a7)

Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: unpack rpm, ipk and deb binary package
Robert Yang [Sun, 2 Sep 2012 04:08:51 +0000 (12:08 +0800)]
bitbake: fetch2: unpack rpm, ipk and deb binary package

* Unpack the ".rpm" binary package (only .src.rpm in the past)

* Unpack the .deb and .ipk binary package, their unpack commands are the same.

* This is useful for binary package recipe.

[YOCTO #1592]

(Bitbake rev: de7ceb9459574f33920ccc06255b533434f0ec25)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/recipe&packageselectionpage: Change "Back" button to "Cancel" button
Cristiana Voicu [Fri, 31 Aug 2012 14:10:11 +0000 (17:10 +0300)]
bitbake: hob/recipe&packageselectionpage: Change "Back" button to "Cancel" button

"Back" button placed on RecipeSelectionPage and PackageSelectionPage
was changed to "Cancel" button to avoid any confusion.
Also, it was placed next to the other buttons on the page.

[YOCTO #3012]

(Bitbake rev: 1785b49a1b0b9698851d6e8aea94d1d2aa22c445)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/imageconfigurationpage: Set secondary action for "Edit image" button
Cristiana Voicu [Fri, 31 Aug 2012 11:37:58 +0000 (14:37 +0300)]
bitbake: hob/imageconfigurationpage: Set secondary action for "Edit image" button

The image configuration screen should have only one primary action.
"Edit image" button has now secondary action, and also I have removed
"or" label.

[YOCTO #3010]

(Bitbake rev: f54191dac18b4e1100944cc6da86705c1e9c1683)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/packageselectionpage: Add tooltips to 'Included' and 'All packages'...
Cristiana Voicu [Fri, 31 Aug 2012 08:48:23 +0000 (11:48 +0300)]
bitbake: hob/packageselectionpage: Add tooltips to 'Included' and 'All packages' tab and 'Search' field

For the 'Included' tab: "The packages currently included for your image"
For the 'All packages' tab: "All packages that have been built"
For the 'Search' field: "Enter a package name to find it"

[YOCTO #2322]

(Bitbake rev: 0828f352419127fb30dc4eb5f91feba84ea59202)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/packageselectionpage: Correctly restore previously selected packages
Cristiana Voicu [Fri, 31 Aug 2012 07:00:47 +0000 (10:00 +0300)]
bitbake: hob/packageselectionpage: Correctly restore previously selected packages

"Back" button from "Packageselection" page now restores correctly previously
selected packages list. Till now "Back" button was implemented just to switch
pages, not to cancel changes you have made to packages list.

[YOCTO #2984]

(Bitbake rev: 1ad03d6a327eb3389f7b4d0d74d2e8ae8b50c3b6)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob2: remove class hcc
Kang Kai [Tue, 28 Aug 2012 02:47:20 +0000 (10:47 +0800)]
bitbake: hob2: remove class hcc

Because class hcc is useless, remove it.

(Bitbake rev: 08d4a0f76542e05755c298b3875ea373e5512e13)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob2: remove the hard-coded images map
Kang Kai [Tue, 28 Aug 2012 02:47:19 +0000 (10:47 +0800)]
bitbake: hob2: remove the hard-coded images map

[Yocto #2795]

When a new image type added, the hob will crash because the new type is
not in the hard-coded image dictionary.

For most of the image types, they are same with the image file's
extension name. So use variable "IMAGE_EXTENSION_difftype" to map the
image type which is diff with the image file extension name, such as
type "live". And the variable(s) will be set in image_types.bbclass.

(Bitbake rev: e7c84f056af9c613920d5adcd078a011e0387193)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage_types.bbclass: add variable for Hob
Kang Kai [Tue, 28 Aug 2012 02:47:21 +0000 (10:47 +0800)]
image_types.bbclass: add variable for Hob

Add a new variable "IMAGE_EXTENSION_live" for Hob to map image type
"live" with real image file extension names.

This is for Hob to remove the hard-coded maps.

(From OE-Core rev: fe0973df7c72b1acec7feae03a4e13c1f49c8b1f)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorsync: Add md5sum and sha256sum for the rsync_2.6.9
Martin Ertsaas [Fri, 7 Sep 2012 05:59:30 +0000 (07:59 +0200)]
rsync: Add md5sum and sha256sum for the rsync_2.6.9

rsync_2.6.9 is the only rsync recipe in openembedded without GPLv3 license, but it lacked the
checksums for the fetcher.

(From OE-Core rev: 1016edcadb22c1655e1a902601118ec3c7332fea)

Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconf/tune: add tune-ppce300c3
Bruce Ashfield [Thu, 6 Sep 2012 12:27:14 +0000 (12:27 +0000)]
conf/tune: add tune-ppce300c3

It has been pointed out several times that the yocto mpc8315e-rdb
reference was using the wrong tuning (603e), since it is actually
a e300c3 board.

This commit creates a e300c3 tune file based on the e300c2 variant
already in oe-core.

This commit also inhibits altivec in flac when this new tuning is
enabled and used by the mpc8315e-rdb

[YOCTO #1192]

(From OE-Core rev: 8663c7ba0530eb36728fe524ed0137e064cc1c5a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-good: disable (uninstalled) examples
Ross Burton [Thu, 6 Sep 2012 15:29:35 +0000 (16:29 +0100)]
gst-plugins-good: disable (uninstalled) examples

The examples pull in a GTK+ build dependency, so remove that too.

(From OE-Core rev: eef5cca4f364545759d8cf624f38e3cd6e8fd295)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/core-image: improve comments listing IMAGE_FEATURES
Paul Eggleton [Thu, 6 Sep 2012 13:12:48 +0000 (14:12 +0100)]
classes/core-image: improve comments listing IMAGE_FEATURES

Ensure this listing is complete. (Comment change only.)

(From OE-Core rev: f9df0be3790ca837e43c41633d17e6ee851cb01d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: remove ConsoleKit dependency
Ross Burton [Thu, 6 Sep 2012 15:42:48 +0000 (16:42 +0100)]
pulseaudio: remove ConsoleKit dependency

ConsoleKit is a runtime dependency for the ConsoleKit module, but there isn't a
build-time dependency.

(From OE-Core rev: 3e05e52821e6042708a37421423601e9fe59116e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogssdp: build examples which require GTK+ only if we have X11
Ross Burton [Thu, 6 Sep 2012 16:09:29 +0000 (17:09 +0100)]
gssdp: build examples which require GTK+ only if we have X11

They just need GTK+ not libglade, so fix the depends.

The recipe also had multple checksums, so remove the old ones.

(From OE-Core rev: 68f320b2c4c6a6e284e6f6f24791a197f3464f36)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-cross-initial: Reinstate limits.h generation fix
Richard Purdie [Thu, 6 Sep 2012 15:50:10 +0000 (16:50 +0100)]
gcc-cross-initial: Reinstate limits.h generation fix

The removal of gcc-cross-intermediate inadvertently reintroduced a
problem with the limits.h file being incorrectly/inconsistently
generated.

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b0faebd1f07e1616004bd19664395932e7c2c48f
reverted part of:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c8815d2f21849deb9359706f54dc71490773415e

This reintroduces the protected sysroot ensuring the limits.h file is
always correctly generated. To reproduce the bug, build gcc-cross, then
rebuild gcc-cross-initial and it will reference the limits.h file from
gcc-cross in the sysroot.

(From OE-Core rev: 71854f5c8c6850ed37777cad21acc92fdbea32fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomatchbox-session: Should have high ALTERNATIE_PRIORITY than mini-x-session
Saul Wold [Thu, 6 Sep 2012 21:58:33 +0000 (14:58 -0700)]
matchbox-session: Should have high ALTERNATIE_PRIORITY than mini-x-session

By having a high priority it will be installed instead of the mini-x-session
when both are in a give set of packagegroups, as it stands now the
mini-x-session is installed by default on sato which is wrong!

(From OE-Core rev: d9fde0aaab26cbd657ffa56781754c85eec6f83a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoadt-installer: Allow changing YOCTOADT_REPO
Elizabeth Flanagan [Wed, 5 Sep 2012 21:35:31 +0000 (21:35 +0000)]
adt-installer: Allow changing YOCTOADT_REPO

YOCTOADT_REPO within adt-installer.conf was hardcoded to
http://adtrepo.yoctoproject.org/${SDK_VERSION}

This allows it to be overriden in local.conf by setting
ADTREPO = "http://adtrepo.yoctoproject.org/${SDK_VERSION}"

I'm also fixing a bad rm in do_populate_adt. The file name
that is being rm'd is wrong.

(From OE-Core rev: 610f8c0c0cab8e258919689fd641faec28b58caf)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: fix pulseaudio-server RDEPENDS
Martin Jansa [Wed, 5 Sep 2012 13:42:01 +0000 (15:42 +0200)]
pulseaudio: fix pulseaudio-server RDEPENDS

* module-cork-music-on-phone was renamed to module-role-cork
  http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=3c5cc345472302b9511c19244b3eceb4a3674d8c

(From OE-Core rev: 15a089fdc55faa0e2b14bb6ba019732e6608e2a5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-xorg-common: add RREPLACES on xserver-xorg to -module-exa
Ross Burton [Wed, 5 Sep 2012 10:30:36 +0000 (11:30 +0100)]
xserver-xorg-common: add RREPLACES on xserver-xorg to -module-exa

As the file moved from xserver-xorg to xserver-xorg-module-exa, the latter needs
to "replace" the former to ensure a smooth migration when upgrading the
packages.

(From OE-Core rev: 45a4e2064991555570f346e0662a57e61c947acf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogsettings.bbclass: fix whitespace
Ross Burton [Wed, 5 Sep 2012 11:36:39 +0000 (12:36 +0100)]
gsettings.bbclass: fix whitespace

As nothing in oe-core uses gsettings, it wasn't noticed that the whitespace is
wrong.

(From OE-Core rev: 1c2afda021f7abf88bc08400beba53c603912382)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-pygtk: Upgrade to 2.24
Saul Wold [Wed, 5 Sep 2012 17:00:17 +0000 (10:00 -0700)]
python-pygtk: Upgrade to 2.24

This is needed for the build appliance and Hob also

(From OE-Core rev: e177b0dcf9b39130d4a2a4dd1ea5af72b3cc87a3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-x11: split machine specific parts to separate recipe packagegroup...
Martin Jansa [Tue, 4 Sep 2012 20:58:37 +0000 (22:58 +0200)]
packagegroup-core-x11: split machine specific parts to separate recipe packagegroup-core-x11-server

* add new packagegroup-core-x11-server to SIGGEN_EXCLUDERECIPES_ABISAFE,
  so that recipes depending on it are not rebuilt after every machine
  swtich
* allows to remove task-x11-server and task-x11 from meta-oe without
  loosing any functionality
* be carefull with default XSERVER value which does not have
  xf86-input-mouse and xf86-input-keyboard)
* VIRTUAL-RUNTIME_xserver_common which defaults to x11-common in oe-core
  and xserver-common in meta-oe's task-x11

(From OE-Core rev: a398c96706c119f298f57a929a317fcf8e0f5b92)

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 agopackagegroup-core-x11: add upgrade path from meta-oe task-x11*
Paul Eggleton [Tue, 4 Sep 2012 20:58:36 +0000 (22:58 +0200)]
packagegroup-core-x11: add upgrade path from meta-oe task-x11*

This recipe was structured in order to replace task-x11 from meta-oe,
which it hopefully can now that a runtime upgrade path is in place.

(From OE-Core rev: 3b428debe9fdd4c9197f5ee7ab34fc9886f4a3cb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.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 agobuild-appliance-image: fix for packagegroup-apps-console removal
Paul Eggleton [Tue, 4 Sep 2012 17:42:17 +0000 (18:42 +0100)]
build-appliance-image: fix for packagegroup-apps-console removal

(From OE-Core rev: ca8ff97080b635ff9ba21c2a2f6d33cb211f7a83)

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 agopackagegroup-(base|core-basic): add RREPLACES/RCONFLICTS
Paul Eggleton [Tue, 4 Sep 2012 18:05:19 +0000 (19:05 +0100)]
packagegroup-(base|core-basic): add RREPLACES/RCONFLICTS

These are needed to support upgrading from task-* to packagegroup-*
within existing target images at runtime.

Note: these settings will very likely be moved to a separate inc file
at some point in the future.

(From OE-Core rev: 1b07bd4c6b1ff70267b97f94b25026a8f8ad3314)

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 agolinux-yocto-rt: 3.4.9-rt17 remaining changes
Bruce Ashfield [Tue, 4 Sep 2012 17:28:47 +0000 (13:28 -0400)]
linux-yocto-rt: 3.4.9-rt17 remaining changes

The first import of 3.4.9-rt17 only picked up part of the import due
to a merge conflict with the modified files, and then SRCREVs being
generated from the pre-merge commit.

This SRCREV update picks up the rest of the modified files for full
-rt support.

(From OE-Core rev: d1ec0b64018dafaa6e47233b3465fbe4189e6280)

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 agoclasses/qmake_base: support linux-gnuspe/linux-uclibcspe TARGET_OS
Paul Eggleton [Wed, 5 Sep 2012 15:42:15 +0000 (16:42 +0100)]
classes/qmake_base: support linux-gnuspe/linux-uclibcspe TARGET_OS

Fix borrowed from OE-Classic. This should fix build failures during
do_configure of Qt applications with the p1022ds machine from
meta-fsl-ppc, for example.

(From OE-Core rev: a19fc8e19a6cc6885a1e0616b1f42cc49c8f2c9f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: Move back to running at ConfigParsed time
Richard Purdie [Wed, 5 Sep 2012 14:25:51 +0000 (14:25 +0000)]
sanity.bbclass: Move back to running at ConfigParsed time

If we don't do this, users can get extremely confused errors since the sanity tests
happen too late (after parsing) and don't see the warnings.

Also cleanup messages about merging configuration file changes to give better
hints at where the updated files may be.

(From OE-Core rev: 7b8a68cda7ef8186e834b39e73ee12a55b33f85b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance-image: Update to latest poky master
Richard Purdie [Tue, 4 Sep 2012 17:04:32 +0000 (18:04 +0100)]
build-appliance-image: Update to latest poky master

(From OE-Core rev: da9b66ddde02ec19f3f83f23eb2b595af9a57520)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-*: add RREPLACES/RCONFLICTS
Paul Eggleton [Tue, 4 Sep 2012 16:43:26 +0000 (17:43 +0100)]
packagegroup-*: add RREPLACES/RCONFLICTS

These are needed to support upgrading from task-* to packagegroup-*
within existing target images at runtime.

Note: these settings will very likely be moved out to a separate inc
file at some point in the future.

(From OE-Core rev: 5dd4de086d744c81d2275077ad0e0022204b0a68)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-standalone-gmae-sdk-target: allow dbg package
Paul Eggleton [Tue, 4 Sep 2012 16:43:25 +0000 (17:43 +0100)]
packagegroup-core-standalone-gmae-sdk-target: allow dbg package

meta-toolchain-gmae is still referring to the dbg package so we still
need to create this.

(From OE-Core rev: c65f8af02ebba371f96119baef0520c6685c7167)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/cleanup-workdir: change autoconf-nativesdk to nativesdk-autoconf
Jack Mitchell [Tue, 4 Sep 2012 16:12:55 +0000 (17:12 +0100)]
scripts/cleanup-workdir: change autoconf-nativesdk to nativesdk-autoconf

the autoconf-nativesdk package name was recently changed to nativesdk-autoconf which in turn broke the cleanup-workdir script. Changed the package to the correct name.

(From OE-Core rev: 0df6904f8050c4305d90d9bb4c9cac279508d9ca)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto-rt: update to 3.4.9-rt17
Bruce Ashfield [Tue, 4 Sep 2012 15:19:09 +0000 (11:19 -0400)]
linux-yocto-rt: update to 3.4.9-rt17

Bumping the 3.4 kernel to -rt17.

As well as picking up the normal set of bug fixes, this update fixes
a boot issue that was introduced during merging of kernel.org -stable
updates into the -rt branches (in the timekeeping code).

(From OE-Core rev: 0c060a81ade685aee5492e0273f199850dffaf76)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: Remove files moved to udev-extraconf
Richard Purdie [Tue, 4 Sep 2012 14:41:01 +0000 (15:41 +0100)]
udev: Remove files moved to udev-extraconf

(From OE-Core rev: 92f8605b81d373b66224b15355226f93ac5b3a46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.2/3.4: arm: Fix linking errors with binutils 2.23
Bruce Ashfield [Tue, 4 Sep 2012 12:40:37 +0000 (08:40 -0400)]
linux-yocto/3.2/3.4: arm: Fix linking errors with binutils 2.23

Updating the 3.2/3.4 linux-yocto SRCREVs to pickup the following fix:

    arm: Fix linking errors with binutils 2.23

    We end up with linking errors on arm using latest binutils
    because we are linking asm generated objects which use -march=all
    generating different attributes into object and use some c objects
    e.g. misc.o which use different march therefore generating a
    different set of attributes into object. When linking is done
    the ld complains since it finds incompatible attributes and ends
    up with errors like

    error: DIV usage mismatch between arch/arm/boot/compressed/head.o and
    output
    error: DIV usage mismatch between arch/arm/boot/compressed/misc.o and
    output
    error: DIV usage mismatch between arch/arm/boot/compressed/decompress.o
    and output
    error: DIV usage mismatch between arch/arm/boot/compressed/lib1funcs.o
    and output

    This patch fixes it by providing correct march to assembly routines
    which than matches with output of ld.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: e67ffb708522a622d149641ea09b249259ed3fb4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: v3.4.9, unionfs, perf and configuration changes
Bruce Ashfield [Tue, 4 Sep 2012 12:40:36 +0000 (08:40 -0400)]
linux-yocto/3.4: v3.4.9, unionfs, perf and configuration changes

Updating the SRCREVs for the following updates:

  - v3.4.8, v3.4.9

  - bug fixes:
      a4c7a04 perf: add SLANG_INC for slang.h
      e32ab98 unionfs: restore FD_* utility defines
      9f0fe58 unionfs: update unionfs fork to align with mainline
      b3fcc2f codel: refine one condition to avoid a nul rec_inv_sqrt
      ef7cf65 fq_codel: should use qdisc backlog as threshold
      3f0ed1d net: codel: fix build errors
      4c06aa1 net/codel: Add missing #include <linux/prefetch.h>
      2888bf2 codel: use u16 field instead of 31bits for rec_inv_sqrt
      6edeb2e codel: use Newton method instead of sqrt() and divides
      2faecd6 fq_codel: Fair Queue Codel AQM
      edca95f netem: add ECN capability

  - config/BSP updates:

      463299b meta: bump kver to v3.4.9
      6b961c8 CrystalForest: Enable PCI IOV feature
      4bc2238 meta: Add new pci iov feature
      70346e6 mpc8315: remove now obsolete CONFIG_MISC_DEVICES

(From OE-Core rev: 696252de3a8e5c1bdc0e2c8c2c92cdeefd0babe2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokern-tools: fix non-inheriting branch names
Bruce Ashfield [Tue, 4 Sep 2012 12:40:35 +0000 (08:40 -0400)]
kern-tools: fix non-inheriting branch names

Importing the following tools SRCREV:

    kgit-meta: exclude explicit branches from name calculations

    kernel branches are constructed during patching of the tree by
    constructing a '/' based hierarchy of names as each branch
    directive is encountered.

    But if a "branch $name $branchpoint" is used, the entire branch
    name is supplied so no additions to the hierarchy should
    happen. As such, that type of branch command should not be part
    of branch name calculation and preparation.

(From OE-Core rev: a3884938233c8a2d6861b1d4e6be5b9824d3b131)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: check for bad SRCREV before branch checks
Bruce Ashfield [Tue, 4 Sep 2012 12:40:34 +0000 (08:40 -0400)]
linux-yocto: check for bad SRCREV before branch checks

do_validate_branches ensures that the desired SRCREV is at
the tip of every branch that contains the revision. To do this,
it looks for containing branches and processes them.

This processing was mistakenly placed before the check for an
invalid SRCREV, hence a git error message is seen in the log
if a bad SRCREV is used, rather than a clear message.

reordering the checks, and fixing a check for master, ensures
that clear messages are generated in all cases.

(From OE-Core rev: 7e4518bf88af53b09536a3bafcd4c392a094023f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: fix unapplied patch error message
Bruce Ashfield [Tue, 4 Sep 2012 12:40:33 +0000 (08:40 -0400)]
linux-yocto: fix unapplied patch error message

When patches fail to apply, the status of all pending patches should
be exported to the logs and to the user. Currently, a missing export
of GUILT_BASE makes it look more like an internal error, than a 'normal'
patch failure:

    | [ERROR] unable to complete push
    | pending patches are:
    | Patches directory doesn't exist, try guilt-init

With this variable exported, we have this:

  | [INFO] validating against known patches  (qemux86-standard-meta)
  | error: patch failed: Makefile:2
  | error: Makefile: patch does not apply
  | To force apply this patch, use 'guilt push -f'
  | [ERROR] unable to complete push
  | pending patches are:
  | links/files/0002-makefile-patch.patch

(From OE-Core rev: b2b2512cbc4196fa0f814be3677517dab30e5b52)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokern-tools: fix forced branching
Bruce Ashfield [Tue, 4 Sep 2012 12:40:32 +0000 (08:40 -0400)]
kern-tools: fix forced branching

commit 7a79f7412 [linux-yocto: make KBRANCH the exception and not the rule]
ensures that a request branch is always built. The implementation of this
guarantee is a branch switch before the build starts. But that switch may
be before all patches are applied. If the proper routines are not called,
no patches can be applied to the tree.

Updating the SRCREV to pickup this fix:

    updateme: use branch command when forcing branch switches

    When forcing a branch switch to the desired branch we should be
    using the proper 'branch' command. Since without this call, the
    proper variables will not be set, and patches can't be applied
    to the tree.

(From OE-Core rev: bede3086cb9ab0f79fb7775528b646817b2b9af0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev-extraconf: change LICENSE to MIT
Martin Jansa [Mon, 30 Jul 2012 19:01:00 +0000 (21:01 +0200)]
udev-extraconf: change LICENSE to MIT

* Original recipe added by RP in fc128ab1e4fec27d44cebfa690a9bc233eda0caf
  was saying GPL (later GPLv2)
* COPYING.GPL was added to reflect that
* Meta-oe has similar recipe with MIT license and even more scripts, so lets
  change LICENSE here too
* Most code was derived from the meta-oe version or added to OE arguably
  under MIT and the MIT license makes most sense here

(From OE-Core rev: 54a4a0b42d4515260841229d69f9cc43485bcb78)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev-extraconf: Merge with udev-extra-rules from meta-oe
Martin Jansa [Mon, 30 Jul 2012 15:03:14 +0000 (17:03 +0200)]
udev-extraconf: Merge with udev-extra-rules from meta-oe

* Move parts of local.rules from udev to udev-extraconf
* Move mount.sh and network.sh to udev-extraconf along with rule fragments
* Add mount.blacklist to CONFFILES
* Change PV to 1.0 and bump PR to provide upgrade path from meta-oe's udev-extra-rules
  including RREPLACE/RPROVIDES/RCONFLICTS trio

(From OE-Core rev: 0ca3a7823e97c4e4af6e89d852f98d29ed6193d7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: FETCHCMD_svn add --non-interactive --trust-server-cert
Martin Jansa [Tue, 4 Sep 2012 09:09:11 +0000 (11:09 +0200)]
bitbake.conf: FETCHCMD_svn add --non-interactive --trust-server-cert

* now with subversion-native we know those 2 options are supported
* with https protocol used for SVN checkouts we cannot confirm certificate and do_fetch fails
  Error validating server certificate for 'https://foo:443':
  - The certificate is not issued by a trusted authority. Use the
    fingerprint to validate the certificate manually!
    Certificate information:
    ...
    (R)eject, accept (t)emporarily or accept (p)ermanently? svn: E175002: Unable to connect to a repository at URL 'https://foo/trunk'
    svn: E175002: OPTIONS of 'https://foo/trunk': Server certificate verification failed: issuer is not trusted (https://foo)
    ERROR: Function failed: Fetcher failure for URL: 'svn://foo;protocol=https;module=trunk'. Unable to fetch URL from any source.

(From OE-Core rev: 8f1cedaaafd1248e77db84ac238fa88a318df2e9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: Add sign-off-by and upstream-status
Radu Moisan [Tue, 4 Sep 2012 09:07:59 +0000 (12:07 +0300)]
busybox: Add sign-off-by and upstream-status

(From OE-Core rev: 30354f7270365be7534f37481fc3d365a419048c)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrub: added upstream-status
Radu Moisan [Tue, 4 Sep 2012 08:00:04 +0000 (11:00 +0300)]
grub: added upstream-status

(From OE-Core rev: 5534ec24811e8558d4be3858e0c94b7c02d70c11)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopango: Add missing sign-off-by and upstream-status
Radu Moisan [Tue, 4 Sep 2012 07:53:51 +0000 (10:53 +0300)]
pango: Add missing sign-off-by and upstream-status

(From OE-Core rev: 7cc3976dd558b2e4cb07adf2d8875eaed5b8d7ba)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometa-yocto: fix for task rename
Paul Eggleton [Mon, 3 Sep 2012 10:44:57 +0000 (11:44 +0100)]
meta-yocto: fix for task rename

(From meta-yocto rev: da4717580cc06dfc3168acf22fe8e4e2f79f4b95)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoghostscript: disable libidn support
Kang Kai [Mon, 3 Sep 2012 07:53:12 +0000 (15:53 +0800)]
ghostscript: disable libidn support

If libidn is just populated to sysroot but rpm packages are not created,
build ghostscript will check libidn automatically and then depends on
libidn. But package libidn doesn't exist, so build image which contains
ghostscript will fail with:

| error: Failed dependencies:
|  libidn11 >= 1.25 is needed by ghostscript-9.05-r2.i586
|  libidn.so.11(LIBIDN_1.0) is needed by ghostscript-9.05-r2.i586
|  libidn.so.11 is needed by ghostscript-9.05-r2.i586

Disable libidn support to fix this issue.

(From OE-Core rev: 509eb624c89249ff169de24fed448e8d7894a6f6)

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 agomsmtp: disable libidn support
Kang Kai [Mon, 3 Sep 2012 07:33:39 +0000 (15:33 +0800)]
msmtp: disable libidn support

When libidn has been populated to sysroot but rpm packages are not
created, build msmtp will check libidn support automatically and then
depends on libidn. But package libidn doesn't exist, build image which
includes msmtp will fail with:

| error: Failed dependencies:
|  libidn11 >= 1.25 is needed by msmtp-1.4.24-r3.i586
|  libidn.so.11(LIBIDN_1.0) is needed by msmtp-1.4.24-r3.i586
|  libidn.so.11 is needed by msmtp-1.4.24-r3.i586

Disable libidn support to fix this issue.

(From OE-Core rev: a304789cecb1a6ffa3c5a56f617eea4a5ac29a98)

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 agowget: disable iri/idn support
Kang Kai [Mon, 3 Sep 2012 06:32:29 +0000 (14:32 +0800)]
wget: disable iri/idn support

There is a build issue with wget idn support. When libidn has been
populated to sysroot but rpm packages are not created, wget checks libidn
support automatically and then depends on libidn. But package libidn
doesn't exist, build image which includes wget will fail with:
| error: Failed dependencies:
|   libidn.so.11 is needed by wget-1.13.4-r14.3.core2
|   libidn.so.11(LIBIDN_1.0) is needed by wget-1.13.4-r14.3.core2

Disable iri/idn support to fix it.

Signer-off-by: Kang Kai <kai.kang@windriver.com>
(From OE-Core rev: 48a11f8dc9f70cfc205f558b4dc959c8b4d5e0cd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotclibc-uclibc, tclibc-eglibc: Prefer nativesdk-eglibc to provide libintl
Khem Raj [Tue, 4 Sep 2012 05:16:23 +0000 (22:16 -0700)]
tclibc-uclibc, tclibc-eglibc: Prefer nativesdk-eglibc to provide libintl

Currently gettext and eglibc compete to provide for libintl on
nativesdk. So make choices to select eglibc nativesdk to provide
for both eglibc as well as uclibc based systems.

(From OE-Core rev: 1e7797a0a8e8fd565d218bd7b9993e16f158764f)

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 agosstate-cache-management.sh: fix remove_duplicated when multiple archs were built
Martin Jansa [Mon, 3 Sep 2012 15:05:08 +0000 (17:05 +0200)]
sstate-cache-management.sh: fix remove_duplicated when multiple archs were built

* The problem is that you're looking for duplicates across all available archs, so
  armv4t and armv7a populate_sysroot are considered duplicate and only last one is
  kept, but to rebuild from sstate-cache you need both!

(From OE-Core rev: 46309e96300c35f6e8a5f33512a6a38720c629d2)

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 agosstate-cache-management.sh: add option to enable debug output
Martin Jansa [Mon, 3 Sep 2012 15:05:07 +0000 (17:05 +0200)]
sstate-cache-management.sh: add option to enable debug output

(From OE-Core rev: 97a6b51c776bbcde14101834fdf9e1d19ae19185)

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 agosstate-cache-management.sh: don't hardcode available machines only to qemu*
Martin Jansa [Sun, 2 Sep 2012 11:13:21 +0000 (13:13 +0200)]
sstate-cache-management.sh: don't hardcode available machines only to qemu*

* find them dynamically in layers like AVAILTUNES

(From OE-Core rev: fb6d838b1b80f26e9261acfd3893a7ef7f9e1940)

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 agosstate-cache-management.sh: look in meta* above oe-core dir when looking for availabl...
Martin Jansa [Sun, 2 Sep 2012 11:13:20 +0000 (13:13 +0200)]
sstate-cache-management.sh: look in meta* above oe-core dir when looking for available tunes

* many layouts have other layers on the same level as oe-core checkout

(From OE-Core rev: 6faf27b771176ff691c17a2dbfa98ac7b3ed1fc7)

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 agosstate-cache-management.sh: fix regexp in AVAILTUNES grep
Martin Jansa [Sun, 2 Sep 2012 11:13:19 +0000 (13:13 +0200)]
sstate-cache-management.sh: fix regexp in AVAILTUNES grep

* it was also picking line
  openembedded-core/meta/conf/machine/include/README:AVAILTUNES - This is a list of all of the tuning definitions currently
  filling all_archs with wrong entries

(From OE-Core rev: ceeefd964026e11ce0bb3b0285dbf9917533ae5e)

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 agosstate-cache-management.sh: fix regexp in checksum grep
Martin Jansa [Sun, 2 Sep 2012 11:13:18 +0000 (13:13 +0200)]
sstate-cache-management.sh: fix regexp in checksum grep

* using checksum without recipe/task name doesn't seem like good idea IMHO

(From OE-Core rev: ef1044da4b30b9a1264a7c83727a722a4b0b60cc)

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 agoxserver-xorg: remove HAL option, nothing uses HAL anymore
Ross Burton [Mon, 3 Sep 2012 14:50:26 +0000 (15:50 +0100)]
xserver-xorg: remove HAL option, nothing uses HAL anymore

(From OE-Core rev: 128030fc09e56170dfeba75a000bbc17897c8123)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu-config: turn into distcc-config and a package group
Paul Eggleton [Mon, 3 Sep 2012 13:45:42 +0000 (14:45 +0100)]
qemu-config: turn into distcc-config and a package group

* Create a new packagegroup-core-device-devel which pulls in everything
  that qemu-config used to, with the exception of anjuta-remote-run -
  this is unlikely to be widely used
* Move the remainder of qemu-config to distcc-config and allow
  DISTCC_HOSTS to be configured via a variable of the same name
* Use SUMMARY instead of DESCRIPTION for single-line description since
  DESCRIPTION is defaulted from SUMMARY if not set

(From OE-Core rev: ac510cb82c007f987b481df74c7a5fede81fa85a)

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 agoqemu-config: split out export of root via NFS to its own recipe
Paul Eggleton [Mon, 3 Sep 2012 13:45:41 +0000 (14:45 +0100)]
qemu-config: split out export of root via NFS to its own recipe

This need not be specific to qemu machines, allow it to be used
elsewhere in isolation.

(From OE-Core rev: c48f87a3fa9c61aaeedbcf5712a699c27d940a3b)

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 agoqemu-config: split out shutdown icon to its own recipe
Paul Eggleton [Mon, 3 Sep 2012 13:45:40 +0000 (14:45 +0100)]
qemu-config: split out shutdown icon to its own recipe

Cleanly shutting down the machine from Sato is useful on other machines,
not all of which have a power button that otherwise enables this, so
make it not specific to qemu* and add it to task-core-x11-sato.

(From OE-Core rev: 738005f4713c0da7bc04582a41efa956efdb9cc0)

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 agooprofileui-server: move initscript from qemu-config
Paul Eggleton [Mon, 3 Sep 2012 13:45:39 +0000 (14:45 +0100)]
oprofileui-server: move initscript from qemu-config

The qemu-config initscript was only starting oprofile-server, so move it
to the oprofileui-server recipe.

(From OE-Core rev: 3063126e2c8ec72e900a48f7048aaf9662606792)

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 agoqemu-config: split out anjuta-remote-run
Paul Eggleton [Mon, 3 Sep 2012 13:45:38 +0000 (14:45 +0100)]
qemu-config: split out anjuta-remote-run

Given that support for Anjuta is unlikely to be needed by everyone and
is by no means specific to qemu, split it out to a separate recipe. The
following changes were made in the process:

Also depend on dbus instead of dbus-x11 since dbus-launch is now back in
he main dbus package

Part of the fix for [YOCTO #1690].

(From OE-Core rev: e6755e3351ccf1116c06b9608728630505908ce4)

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 agooprofileui: split server to separate recipe to avoid X11 dependency
Paul Eggleton [Mon, 3 Sep 2012 13:45:37 +0000 (14:45 +0100)]
oprofileui: split server to separate recipe to avoid X11 dependency

Increase SRCREV to include an upstream patch that fixes the configure
script so that the server can be built separately without gtk+ and
avahi-ui, and create a separate recipe for the server.

Also fix the RDEPENDS so that oprofile actually gets pulled in by the
client and the server.

Part of the fix for [YOCTO #1690].

(From OE-Core rev: 971fbbd50ae147805fc7498b72a046be5bffc3c7)

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 agoqemu-config: relicense as MIT
Paul Eggleton [Mon, 3 Sep 2012 13:45:36 +0000 (14:45 +0100)]
qemu-config: relicense as MIT

These files are all trivial in nature; so avoid having to have another
copy of COPYING.GPL just for this recipe - especially as it's about
to be split apart.

(All of the files in SRC_URI have only ever been contributed to by
employees of Intel and/or OpenedHand.)

(From OE-Core rev: 4d29ef0fa885299392779042830b95176e31fe11)

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 agoiproute2: upgrade to 3.5.1
Constantin Musca [Mon, 3 Sep 2012 06:00:18 +0000 (09:00 +0300)]
iproute2: upgrade to 3.5.1

(From OE-Core rev: e4e00fe47e15bfcb61d2fdfd55cedbeacede7372)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopuzzles: upgrade to r9594
Constantin Musca [Mon, 27 Aug 2012 07:29:38 +0000 (10:29 +0300)]
puzzles: upgrade to r9594

(From OE-Core rev: 76c2c84551c62ff417ca337ea14dc9ddd6c8ccdd)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofreetype: upgrade to 2.4.10
Constantin Musca [Mon, 27 Aug 2012 07:31:59 +0000 (10:31 +0300)]
freetype: upgrade to 2.4.10

(From OE-Core rev: a3f2ee236d7445ded9fb7535964a0b80bd593368)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotelepathy-glib: upgrade to 0.19.8
Constantin Musca [Mon, 3 Sep 2012 08:31:12 +0000 (11:31 +0300)]
telepathy-glib: upgrade to 0.19.8

(From OE-Core rev: f30990d7f81d537c64a96baacf4b77c518978631)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman-pages: upgrade to 3.42
Constantin Musca [Mon, 3 Sep 2012 05:54:32 +0000 (08:54 +0300)]
man-pages: upgrade to 3.42

(From OE-Core rev: 06566cdb9bb6589699dff13122ae541ff0f55f93)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolsof: upgrade to 4.86
Constantin Musca [Mon, 3 Sep 2012 10:03:04 +0000 (13:03 +0300)]
lsof: upgrade to 4.86

License checksum change due to the modification of the pre-compiled
binaries section (no change in the license part).

(From OE-Core rev: a0bfc2e014220ac97e7cd88c9579d5bcb2b1024b)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibdrm: upgrade to 2.4.39
Constantin Musca [Mon, 3 Sep 2012 07:38:54 +0000 (10:38 +0300)]
libdrm: upgrade to 2.4.39

(From OE-Core rev: 41a7f33b45e40a5aae9863c1ca0930b0186dd95c)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogypsy: upgrade to 0.9
Constantin Musca [Mon, 3 Sep 2012 15:19:14 +0000 (18:19 +0300)]
gypsy: upgrade to 0.9

fix-unused-but-set-variable-warning.patch: removed
- included in the new version

(From OE-Core rev: e5645f3ea39bfe2ec2fe7e67655c72b41bc98f0f)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautomake: upgrade to 1.12.3
Constantin Musca [Mon, 3 Sep 2012 07:06:42 +0000 (10:06 +0300)]
automake: upgrade to 1.12.3

(From OE-Core rev: 1110da87a2395e1d516f092553e6ed542bb34805)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-*: add RPROVIDES for backwards compatibility
Paul Eggleton [Mon, 3 Sep 2012 09:34:31 +0000 (10:34 +0100)]
packagegroup-*: add RPROVIDES for backwards compatibility

Allow references to the old task packages to continue to work. This does
not add RPROVIDES for everything, just those packages that are likely to
have been referred to.

(From OE-Core rev: b41c45972a6d359f034615471959c84aee2bc456)

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 agocore-image-basic: tidy up
Paul Eggleton [Mon, 3 Sep 2012 07:07:20 +0000 (08:07 +0100)]
core-image-basic: tidy up

Set a more appropriate DESCRIPTION and remove commented-out line.

(From OE-Core rev: 22b4ba34ad8c08b1a97e56cdc567799f1e1460ef)

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 agopackagegroup-core-lsb: rework
Paul Eggleton [Mon, 3 Sep 2012 01:04:28 +0000 (02:04 +0100)]
packagegroup-core-lsb: rework

Create package groups covering the Core, Desktop, Runtime Languages
sections of the LSB specification 4.1. Most of the packages were just
moved around or copied in from packagegroup-core-basic (which is
currently included in LSB images anyway) with the eventual aim of
having the LSB package groups be completely independent as well as
following the specification as closely as possible.

(From OE-Core rev: 61b134fd082b4ca2866b98655c5fc3a275834464)

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 agopackagegroup-core-basic: tidy up
Paul Eggleton [Mon, 3 Sep 2012 00:47:16 +0000 (01:47 +0100)]
packagegroup-core-basic: tidy up

* Remove packagegroup-core-basic-rpm - we already have a mechanism for
  ensuring that packaging tools are installed on the target if desired;
  we don't need a package group to bring them in as well (especially if
  packagegroup-core-basic is used with other packaging systems).
* Remove the poorly-named packagegroup-core-base-utils: we already get
  busybox via packagegroup-core-boot.

(From OE-Core rev: e7abf8437c7128e8541411213d262137520456a7)

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 agopackagegroup-*: set reasonable SUMMARY/DESCRIPTION
Paul Eggleton [Fri, 31 Aug 2012 14:43:49 +0000 (15:43 +0100)]
packagegroup-*: set reasonable SUMMARY/DESCRIPTION

(From OE-Core rev: 996291ef305ddacf852377cc402dbbac299bc215)

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 agoofono: add runtime dependency on dbus
Paul Eggleton [Fri, 31 Aug 2012 10:34:51 +0000 (11:34 +0100)]
ofono: add runtime dependency on dbus

ofono's sole configuration interface is its dbus interface, so it really
requires it.

(From OE-Core rev: 098402cbccc93f269e39ee085ce04352a662e87d)

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 agoconnman: add runtime dependency on dbus
Paul Eggleton [Fri, 31 Aug 2012 10:34:13 +0000 (11:34 +0100)]
connman: add runtime dependency on dbus

connman's sole configuration interface is its dbus interface, so it
really requires it.

(From OE-Core rev: 36c89dab8501a8b2e3c7bb11e8db4ba310a5e41a)

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 agopackagegroup-core-console: remove
Paul Eggleton [Fri, 31 Aug 2012 09:45:58 +0000 (10:45 +0100)]
packagegroup-core-console: remove

This provides one package group, packagegroup-core-apps-console, which
is usually brought in by adding "apps-console-core" to IMAGE_FEATURES.
Aside from the naming inconsistencies, this is a group of mostly
unrelated packages, none of which are actually "apps". Handling each
one:

* dbus: should mostly be brought in by package runtime dependencies
* avahi-daemon: if you are using packagegroup-base (as all images that
  inherit from core-image do) this is brought in by having "zeroconf" in
  DISTRO_FEATURES.
* portmap: not very useful by itself; should be brought in by selecting
  NFS server/client through other means.
* psplash (or whatever SPLASH is set to): this has been changed to be
  an explicit item "splash" in IMAGE_FEATURES. Since this is a fairly
  fundamental feature, a piece of code has been added to automatically
  handle this for images still using apps-console-core (and show a
  warning).

(From OE-Core rev: 592d6e602466628d10704835a7b07d3d713f58e1)

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 agopackagegroup-core-qt: rename -demos to -demoapps
Paul Eggleton [Thu, 30 Aug 2012 22:43:13 +0000 (23:43 +0100)]
packagegroup-core-qt: rename -demos to -demoapps

Try to avoid confusion with the Qt demos distributed with Qt itself.

(From OE-Core rev: dbbcc0cb9d2cbc66027c800075b94eb9b7110a00)

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 agopackagegroup-core-clutter: remove empty -apps/-tests tasks
Paul Eggleton [Thu, 30 Aug 2012 22:24:15 +0000 (23:24 +0100)]
packagegroup-core-clutter: remove empty -apps/-tests tasks

These aren't useful at the moment, so remove them and all references to
them.

(From OE-Core rev: 1179041f1cb7bf11ab17f94d9df05af5016e5b51)

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>