Commit Graph

7996 Commits

Author SHA1 Message Date
Chris Larson 146046bcda Immediately display messages if no UI handlers are installed yet
(Bitbake rev: 17c414d0c050c42d4beb3f1dd84573020aacb392)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson 21a9692c7d Use __import__ for the ui rather than exec
(Bitbake rev: 7d00bab300961431f9960cf6759966f608580bc0)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson 8c5108fa21 Fix the task event handling in the ncurses UI
(Bitbake rev: 50b7b817d418532583da3bad62a36fcefe3637a2)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson 87f62d7c8d Ensure we always utilize the correct messaging domains
(Bitbake rev: 92a2e2e90981c0615171abe03645a772d84f6986)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson ac170b0c34 bb.event: NotHandled and Handled are on the way out
(Bitbake rev: ed35b30f8e09b0bfc15102fa6483c55d6b7d61de)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson 0d25a516b4 Rename the finalise method for consistency
Apparently the finalise spelling is becoming less common in British English.

(Bitbake rev: 47449b2fc433e5725839ca4f7e9bca931a475838)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson c9c230b14a Move update_data into the DataSmart class as a finalize() method
(Bitbake rev: ff801397785567cb84b3615de86bff764d65decf)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson 00e3915ca6 Initialize pkgs_to_build in the BBConfiguration constructor
(Bitbake rev: 69a3e4895b88110fd3a25167aa16cf7c00463175)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson a21841fb75 Drop doctest, as we aren't utilizing it
We should add back in some proper unit testing.  Doctest is rather limited,
and we haven't actually made use of it since the original implementation of
the datastore when the project started, as far as I'm aware.

(Bitbake rev: 3a11c2807972bbbddffde2fa67fc380d159da467)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Enrico Scholz ca9a956abc Made '-b' work with BBCLASSEXTEND
When BBCLASSEXTEND is set, '-b' builds usually failed with messages
like

| ERROR: Parsing error data_fn virtual:native:<recipe>.bb and fn
<recipe>.bb don't match
|
|   File ".../bb/providers.py", line 47, in sortPriorities
|     priority = dataCache.bbfile_priority[f]
| KeyError: 'virtual:native:<recipe>.bb'

This patch fixes it and allows to specify the alternative class in a
way like

| ./bitbake -b virtual:native:<recipe>.bb

This patch was written to be so minimal as possible; variables should be
probably renamed to reflect their new meaning.

(Bitbake rev: f1c7fe9fc12161ceb3fe201cde370b929b208729)

Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson a7f05ea4af Resurrect the old bb.vercmp as bb.utils.vercmp, and its deps
This is just for compatibility.  We may drop it in the future, or rewrite it,
as it's not particularly pythonic.

(Bitbake rev: c4e31d7fe1d15a1e3ef2a453e7c7812d403d22cb)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson 2cd161171a Pass the config metadata into the Cache constructor rather than the cooker
Cache only uses the config metadata from the cooker, no need for the cooker itself.

(Bitbake rev: bf58d43444642d31293a341ce72292003ca5c162)

Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson c926e87f47 Resurrect merged anonfunc execution
(Bitbake rev: 0c2ed40277e157406ea25c858f14c3cebb73c21b)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson 3995546222 Add & utilize a simple_exec utility function
(Bitbake rev: 5ead16f14f996bcbb2fb14277b8ce5a9317b8160)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson 94b60d1247 Consolidate the exec/eval bits, switch anonfunc to better_exec, etc
The methodpool, ${@} expansions, anonymous python functions, event handlers
now all run with the same global context, ensuring a consistent environment
for them.  Added a bb.utils.better_eval function which does an eval() with the
same globals as better_exec.

(Bitbake rev: 424d7e267b009cc19b8503eadab782736d9597d0)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson eb16773704 Pass an empty locals dict in expansion, since list comprehensions apparently leak their '_' helper variable
(Bitbake rev: 97da0cebbaf4dd1b46e58bd2e80cab6c007ae7c9)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson d8c8612d92 Two minor changes to the way python snippet expansion happens
- Use a single dictionary for the context, both global & local, since for some
  reason it chokes wanting a global "d" rather than a local in the metadata.
- First compile the string into a code object before running eval, so we can
  include the variable name in an evaluation error.

(Bitbake rev: 49534d928a37e0804ca84eed186cd22363023b2e)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Nitin A Kamble f8a8ec5ceb linux-libc-headers: upgrade from 2.6.33 to 2.6.34
added a new patch to fix glibc build issue on powerpc
  ppc_glibc_build_fix.patch

Added attribution to the hayes-gone.patch.

And updated the metadata variables like LICENSE & LIC_CHKSUM_FILES

And removing all the older recipes and related files

Change the linux-libc-header version inpoky-default.inc

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-02 15:28:54 +01:00
Kevin Tian 4d5ad73238 dbus: fix metadata
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-07-02 15:28:54 +01:00
Kevin Tian 63ca9079c3 libgpg-error: fix metadata
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-02 15:28:54 +01:00
Kevin Tian c927c50d9b module-init-tools: fix metadata
Signe-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-02 15:28:54 +01:00
Dongxiao Xu 610f5609dc distro_tracking: Adding tracking fields for upgraded packages
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-07-02 15:28:54 +01:00
Dongxiao Xu 2b533d04bd libmusicbrainz: Upgraded to 3.0.2
Removed the autofoo.patch since the latest version uses cmake instead
Remove gcc43_fix.patch since the code is not in latest package
Change SRC_URI to be more generic
Also fix the metadata

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-07-02 15:28:54 +01:00
Dongxiao Xu b82851ad38 neon: Upgraded to 0.29.3
Change local directory name to ${PN}-${PV}

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-07-02 15:28:54 +01:00
Dongxiao Xu 057d630962 ppp: Upgraded to version 2.4.5
Removed some patches since they are already in latest package
Rebased some patches to fit ppp-2.4.5

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-07-02 15:28:54 +01:00
Zhai Edwin 4cf7528910 distro-tracking: update tracking fields for previous recipes after fixing metadata
pcmanfm
gtk+
gnome-common
webkit-gtk
eds-dbus
gnome-keyring
gtk-sato-engine
hicolor-icon-theme
jpeg
libfakekey
libglade
libsoup-2.4
libxslt
matchbox-config-gtk
matchbox-keyboard
matchbox-panel-2
matchbox-stroke
matchbox-wm

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:54 +01:00
Zhai Edwin 61326bf8ff matchbox-wm: Fix the meta data
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:54 +01:00
Zhai Edwin 680f615991 matchbox-stroke: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:54 +01:00
Zhai Edwin ea1f53d2f3 matchbox-panel-2: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:54 +01:00
Zhai Edwin b2a2e197e8 matchbox-keyboard: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:54 +01:00
Zhai Edwin 0768dffa27 matchbox-config-gtk: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin ab6fd579c7 libxslt: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin 437fb07240 libsoup-2.4: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin c2ba02cff9 libglade: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin 6db5edd0d0 libfakekey: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin c9e06594ed jpeg: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin 00844cd065 hicolor-icon-theme: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin 8a48d66950 gtk-sato-engine: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin bc41e6596c gnome-keyring: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin 60bb010355 eds-dbus: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin ad0f64583c webkit-gtk: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin 8a2b4e2a5e gnome-common: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin 5f1f17f076 gtk+: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Zhai Edwin d29f2cceaf pcmanfm: Fix the metadata
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-07-02 15:28:53 +01:00
Nitin A Kamble 17b2ce5bc2 distro_tracking: update latest release for prelink
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-02 15:28:52 +01:00
Richard Purdie 061df5abaf meta-toolchain: Improve layout
* Switch from /usr/local/poky to /opt/poky
* Use a sysroots directory for both the "native" sdk binaries and the target
* Drop the meta-toolchain extras packages. These are replaced with packaged-staging.
* Change the nativesdk layout to match our usual filesystem layout
* Clean up various hardcoded prefix references

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 14:35:08 +01:00
Richard Purdie 4e0ee648b4 image.bbclass: Don't perform mapping renaming until we're running the task itself.
Need to extend bitbake to provide this information rather than refer to a bitbake
internal variable.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 14:34:14 +01:00
Richard Purdie 968d00de15 package_deb.bbclass: Fix packaging functions to use versioned dependency package functions correctly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 00:06:50 +01:00
Richard Purdie 8a02043265 bitbake: providers.py: Fix typo
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-01 22:24:26 +01:00
Joshua Lock 3abe7a0624 classes/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when packaging
The OVERRIDES variable was being incorrectly set with the end result of the
runtime dependencies of the package not being encoded in it's package metadata.

This broke opkg-native in meta-toolchain.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-07-01 16:14:21 +01:00