]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agoIn expand, drop the unnecessary second regular expression match
Chris Larson [Fri, 21 May 2010 20:08:44 +0000 (13:08 -0700)]
In expand, drop the unnecessary second regular expression match

(Bitbake rev: 05462fa7908fc22988b3dc9d376798d0a46ccb5a)

Signed-off-by: Imran Mehmood <imran_mehmood@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoSimplify _findVar a bit
Chris Larson [Wed, 21 Apr 2010 17:57:17 +0000 (10:57 -0700)]
Simplify _findVar a bit

(Bitbake rev: b017acd39b811a00305002a8044e7d02e79f41d7)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFix major bug that slipped in when moving update_data
Chris Larson [Wed, 21 Apr 2010 23:47:10 +0000 (16:47 -0700)]
Fix major bug that slipped in when moving update_data

The root cause is, I was testing the use of renameVar() from finalize, in
order to get flags copied over when an override is applied, but renameVar
removes the original, whereas the old code did not do so.  Going back to the
old method, will revisit the override/flags later on.

(Bitbake rev: 2f7c498abcf675e5b8de197d8056a0581670c2bd)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMove a var definition in cooker.parse_next
Chris Larson [Wed, 21 Apr 2010 01:47:36 +0000 (18:47 -0700)]
Move a var definition in cooker.parse_next

(Bitbake rev: 1b378ddf3dc9b2aa5384e8b28945b63fc623a6a4)

Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoEnhance the expansion exception message
Chris Larson [Tue, 20 Apr 2010 22:56:20 +0000 (15:56 -0700)]
Enhance the expansion exception message

(Bitbake rev: 1cc11164a85a5b30d6b9184cb5a8f7f7ac1aaff2)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFor ${@}, run str() on the result
Chris Larson [Tue, 20 Apr 2010 22:54:42 +0000 (15:54 -0700)]
For ${@}, run str() on the result

(Bitbake rev: cf1a51eab11f645c95e5fa278221f78c129b9dd1)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoAllow emission of non-string objects in emit_var, instead running str() on it first
Chris Larson [Tue, 20 Apr 2010 20:44:06 +0000 (13:44 -0700)]
Allow emission of non-string objects in emit_var, instead running str() on it first

(Bitbake rev: 5b09e28cb4a2c6c99ad58e71fb803160922a7e1e)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoemit_env: clean up, iterate once
Chris Larson [Tue, 20 Apr 2010 20:51:35 +0000 (13:51 -0700)]
emit_env: clean up, iterate once

(Bitbake rev: db718ec6f67c7c0d0efb4ba0b5b24384f707dcf5)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFix the debug level check in print_exception
Chris Larson [Tue, 20 Apr 2010 19:23:41 +0000 (12:23 -0700)]
Fix the debug level check in print_exception

(Bitbake rev: 9cb52edf9198fe6db735abbb61d0c4026c97a8d9)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDon't try to expand non-string values
Chris Larson [Tue, 20 Apr 2010 18:53:31 +0000 (11:53 -0700)]
Don't try to expand non-string values

(Bitbake rev: fe36a726b9f930bbd6fd758c0aee78559e95f02b)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMove the python version check into the python package
Chris Larson [Thu, 15 Apr 2010 15:45:15 +0000 (08:45 -0700)]
Move the python version check into the python package

This ensures the check is run for anyone using the package, including
setup.py, though it's sad that it's necessary, since all it really wants is
__version__.

Ideally, we'd avoid the version check entirely in favor of checking for
functionality, but that's rather difficult with language constructs like
context managers, so this'll do for now.

(Bitbake rev: f936f1c0edf70860ea0f39ec1a500ba43b56f289)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop an unnecessary second python version check and use the less ugly sys.version_info
Chris Larson [Thu, 15 Apr 2010 15:14:53 +0000 (08:14 -0700)]
Drop an unnecessary second python version check and use the less ugly sys.version_info

(Bitbake rev: 8f4b7b10f8740a41c085beeca5105f15204b0979)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoBump version to 1.11.0
Chris Larson [Thu, 15 Apr 2010 15:05:10 +0000 (08:05 -0700)]
Bump version to 1.11.0

(Bitbake rev: 6c89c332664a7789d02a701e7e530838ab778264)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMove the python version check before the module imports, in case the modules utilize...
Chris Larson [Thu, 15 Apr 2010 14:49:54 +0000 (07:49 -0700)]
Move the python version check before the module imports, in case the modules utilize the newer python features

(Bitbake rev: 87c15dfcbeb10e7cafb14726209e4954671b3dbe)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoSearch up the directory tree for bblayers.conf
Chris Larson [Wed, 14 Apr 2010 21:38:18 +0000 (14:38 -0700)]
Search up the directory tree for bblayers.conf

(Bitbake rev: 1c6b31c649474b4c2b63ef9d9311e61de20bc8c2)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoAdd a hack to avoid the req that all vars using LAYERDIR be immediately expanded
Chris Larson [Wed, 14 Apr 2010 21:30:09 +0000 (14:30 -0700)]
Add a hack to avoid the req that all vars using LAYERDIR be immediately expanded

See the comment in the code for details.

(Bitbake rev: 849dbd63244cbc4eaca0f1beedbb67baca024629)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMove the unset BBPATH sanity check after the bblayers processing
Chris Larson [Wed, 14 Apr 2010 21:27:29 +0000 (14:27 -0700)]
Move the unset BBPATH sanity check after the bblayers processing

This way we can fully utilize bblayers, you can do everything in bblayers.conf
and avoid setting any environment variables at all.

(Bitbake rev: 5def1c8c31432968349f9b29d6333d7962260a8b)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoKill unnecessary usages of the types module
Chris Larson [Mon, 12 Apr 2010 15:14:11 +0000 (08:14 -0700)]
Kill unnecessary usages of the types module

types.IntType -> int
types.StringType -> basestring
...

Also moves our ImmutableTypes tuple into our own namespace.

(Bitbake rev: 83674a3a5564ecb1f9d2c9b2d5b1eeb3c31272ab)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoApply some 2to3 transforms that don't cause issues in 2.6
Chris Larson [Mon, 12 Apr 2010 00:03:55 +0000 (17:03 -0700)]
Apply some 2to3 transforms that don't cause issues in 2.6

(Bitbake rev: d39ab776e7ceaefc8361150151cf0892dcb70d9c)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoAdd __contains__ to COWDictMeta
Chris Larson [Mon, 12 Apr 2010 00:21:14 +0000 (17:21 -0700)]
Add __contains__ to COWDictMeta

(Bitbake rev: b3b314aade1f0a04e888361e1ac946e5195e1509)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop unused bb.data.expandData function
Chris Larson [Sun, 11 Apr 2010 23:39:24 +0000 (16:39 -0700)]
Drop unused bb.data.expandData function

(Bitbake rev: 188af3ef5fdb5cd86b74147bf5eafc085ac489be)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoIgnore deprecation warnings for now
Chris Larson [Sun, 11 Apr 2010 05:07:43 +0000 (22:07 -0700)]
Ignore deprecation warnings for now

(Bitbake rev: 661fe59445161c5bc6a2e73b7fcbf9d20c492e27)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoSwitch some references to moved functions
Chris Larson [Sun, 11 Apr 2010 05:05:02 +0000 (22:05 -0700)]
Switch some references to moved functions

(Bitbake rev: ddea2978cb969cf1381cfee5c055de0c9e56a4e3)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoAdd a missing import of print_function
Chris Larson [Sun, 11 Apr 2010 05:04:52 +0000 (22:04 -0700)]
Add a missing import of print_function

(Bitbake rev: 30ae747cc5c733512e417c61fca23c0cd15b0e44)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoApply the 2to3 print function transform
Chris Larson [Sat, 10 Apr 2010 02:46:14 +0000 (19:46 -0700)]
Apply the 2to3 print function transform

(Bitbake rev: ff2e28d0d9723ccd0e9dd635447b6d889cc9f597)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDeprecate the usage of certain objects via certain modules
Chris Larson [Fri, 9 Apr 2010 23:51:09 +0000 (16:51 -0700)]
Deprecate the usage of certain objects via certain modules

As an example, this displays a deprecation warning for the use of
"bb.encodeurl" when you should be using "bb.fetch.encodeurl".  It includes a
convenience function for this purpose.  It should be of use when moving
objects between modules permanently, changing the API the user sees.

(Bitbake rev: 78f56049ba863b2e585b89db12b32697eb879bbc)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoException handling fixups
Chris Larson [Fri, 9 Apr 2010 21:01:11 +0000 (14:01 -0700)]
Exception handling fixups

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoAdd some missing docstrings
Chris Larson [Thu, 25 Mar 2010 00:05:38 +0000 (17:05 -0700)]
Add some missing docstrings

(Bitbake rev: 20b6f2d1d2d4541e612e8cffbdf1ca4822a3e394)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop __all__ usage
Chris Larson [Fri, 9 Apr 2010 18:51:29 +0000 (11:51 -0700)]
Drop __all__ usage

(Bitbake rev: b4983cc7bfe5300c1d2904f34fb03d4fb2f41d90)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop some unused functions
Chris Larson [Thu, 8 Apr 2010 22:42:53 +0000 (15:42 -0700)]
Drop some unused functions

(Bitbake rev: eb83df5bc7077685f314df01949cf06850e4693c)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop some unused classes
Chris Larson [Thu, 8 Apr 2010 22:16:17 +0000 (15:16 -0700)]
Drop some unused classes

(Bitbake rev: 5cc47a49518c69c94f8b78e9dda6d542ba17b1e8)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop some unused vars
Chris Larson [Fri, 9 Apr 2010 18:47:08 +0000 (11:47 -0700)]
Drop some unused vars

(Bitbake rev: b79ca5f1cc2d262de877047769ce25279ba26672)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoImport fixups
Chris Larson [Thu, 8 Apr 2010 17:22:29 +0000 (10:22 -0700)]
Import fixups

(Bitbake rev: 4fa052f426e3205ebace713eaa22deddc0420e8a)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFormatting cleanups
Chris Larson [Wed, 24 Mar 2010 23:56:12 +0000 (16:56 -0700)]
Formatting cleanups

(Bitbake rev: 2caf134b43a44dad30af4fbe33033b3c58deee57)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop doctest, as we aren't utilizing it
Chris Larson [Fri, 9 Apr 2010 18:49:36 +0000 (11:49 -0700)]
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>
14 years agoDon't run metadata event handlers for bb.msg events
Chris Larson [Fri, 9 Apr 2010 22:56:14 +0000 (15:56 -0700)]
Don't run metadata event handlers for bb.msg events

(Bitbake rev: 297305b3742323d09d9ca58e958c4f18e945a148)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoStop using functions via 'bb' that were moved from there to other modules
Chris Larson [Sat, 10 Apr 2010 00:11:03 +0000 (17:11 -0700)]
Stop using functions via 'bb' that were moved from there to other modules

(Bitbake rev: 03a6c26f8da226f442c3cab557e4733f7cd6eeac)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoAdd a function to get the debug level, without poking into debug_levels manually
Chris Larson [Sat, 10 Apr 2010 02:34:07 +0000 (19:34 -0700)]
Add a function to get the debug level, without poking into debug_levels manually

(Bitbake rev: 6ccc01a1a72ec354de52fef2bf5620384b8461ce)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFix invalid logging domain warning
Chris Larson [Sat, 10 Apr 2010 02:33:04 +0000 (19:33 -0700)]
Fix invalid logging domain warning

(Bitbake rev: 8441fab6f27191fcc3c153a10753871e6aef08b1)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoBump minimum python version check to 2.6.
Chris Larson [Sat, 10 Apr 2010 02:29:56 +0000 (19:29 -0700)]
Bump minimum python version check to 2.6.

(Bitbake rev: 85c000cc7db47cfd489cf282c58db2dab0d87908)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMake the default domain a proper domain, not a string
Chris Larson [Sat, 10 Apr 2010 02:27:21 +0000 (19:27 -0700)]
Make the default domain a proper domain, not a string

This lets you do -l Default on the commandline to bump the debug level of
messages with no domain, without bumping the level of everything else.

(Bitbake rev: bef33dfc36713d8c93e38e63ddac2e4f9858e787)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoImplement bb.msg.domain as a named tuple, drop the Enum class
Chris Larson [Sat, 10 Apr 2010 02:22:52 +0000 (19:22 -0700)]
Implement bb.msg.domain as a named tuple, drop the Enum class

Also fixes some bb.msg references from within bb.msg.

(Bitbake rev: db95af590f742c8186e84046ad9704fae1733720)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFix an error in the ncurses UI
Chris Larson [Sat, 10 Apr 2010 00:55:11 +0000 (17:55 -0700)]
Fix an error in the ncurses UI

(Bitbake rev: 90c68238cb62afa1c39e1d4fff1f418c9ec047e5)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDisplay python warnings via bb.msg
Chris Larson [Fri, 9 Apr 2010 22:55:55 +0000 (15:55 -0700)]
Display python warnings via bb.msg

(Bitbake rev: 648415a562d92109c4945cb3cc98ed2ec44667a7)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoImmediately display messages if no UI handlers are installed yet
Chris Larson [Fri, 9 Apr 2010 22:55:17 +0000 (15:55 -0700)]
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>
14 years agoUse __import__ for the ui rather than exec
Chris Larson [Fri, 9 Apr 2010 20:25:58 +0000 (13:25 -0700)]
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>
14 years agoFix the task event handling in the ncurses UI
Chris Larson [Fri, 9 Apr 2010 20:25:34 +0000 (13:25 -0700)]
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>
14 years agoEnsure we always utilize the correct messaging domains
Chris Larson [Fri, 9 Apr 2010 19:33:29 +0000 (12:33 -0700)]
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>
14 years agobb.event: NotHandled and Handled are on the way out
Chris Larson [Thu, 8 Apr 2010 23:30:52 +0000 (16:30 -0700)]
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>
14 years agoRename the finalise method for consistency
Chris Larson [Thu, 8 Apr 2010 23:01:14 +0000 (16:01 -0700)]
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>
14 years agoMove update_data into the DataSmart class as a finalize() method
Chris Larson [Thu, 8 Apr 2010 22:43:47 +0000 (15:43 -0700)]
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>
14 years agoInitialize pkgs_to_build in the BBConfiguration constructor
Chris Larson [Thu, 8 Apr 2010 22:11:28 +0000 (15:11 -0700)]
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>
14 years agoDrop doctest, as we aren't utilizing it
Chris Larson [Fri, 9 Apr 2010 18:49:36 +0000 (11:49 -0700)]
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>
14 years agoMade '-b' work with BBCLASSEXTEND
Enrico Scholz [Sun, 21 Mar 2010 22:02:56 +0000 (23:02 +0100)]
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>
14 years agoResurrect the old bb.vercmp as bb.utils.vercmp, and its deps
Chris Larson [Tue, 6 Apr 2010 22:29:19 +0000 (15:29 -0700)]
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>
14 years agoPass the config metadata into the Cache constructor rather than the cooker
Chris Larson [Tue, 6 Apr 2010 15:52:54 +0000 (08:52 -0700)]
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>
14 years agoResurrect merged anonfunc execution
Chris Larson [Wed, 31 Mar 2010 16:14:18 +0000 (09:14 -0700)]
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>
14 years agoAdd & utilize a simple_exec utility function
Chris Larson [Wed, 31 Mar 2010 15:52:41 +0000 (08:52 -0700)]
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>
14 years agoConsolidate the exec/eval bits, switch anonfunc to better_exec, etc
Chris Larson [Wed, 31 Mar 2010 03:06:07 +0000 (20:06 -0700)]
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>
14 years agoPass an empty locals dict in expansion, since list comprehensions apparently leak...
Chris Larson [Tue, 30 Mar 2010 23:59:46 +0000 (16:59 -0700)]
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>
14 years agoTwo minor changes to the way python snippet expansion happens
Chris Larson [Tue, 30 Mar 2010 23:21:23 +0000 (16:21 -0700)]
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>
14 years agolinux-libc-headers: upgrade from 2.6.33 to 2.6.34
Nitin A Kamble [Mon, 21 Jun 2010 11:56:52 +0000 (04:56 -0700)]
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>
14 years agodbus: fix metadata
Kevin Tian [Wed, 30 Jun 2010 09:14:42 +0000 (17:14 +0800)]
dbus: fix metadata

Signed-off-by Kevin Tian <kevin.tian@intel.com>

14 years agolibgpg-error: fix metadata
Kevin Tian [Wed, 30 Jun 2010 08:35:09 +0000 (16:35 +0800)]
libgpg-error: fix metadata

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agomodule-init-tools: fix metadata
Kevin Tian [Wed, 30 Jun 2010 07:30:11 +0000 (15:30 +0800)]
module-init-tools: fix metadata

Signe-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agodistro_tracking: Adding tracking fields for upgraded packages
Dongxiao Xu [Thu, 1 Jul 2010 09:12:37 +0000 (17:12 +0800)]
distro_tracking: Adding tracking fields for upgraded packages

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agolibmusicbrainz: Upgraded to 3.0.2
Dongxiao Xu [Thu, 1 Jul 2010 08:53:27 +0000 (16:53 +0800)]
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>
14 years agoneon: Upgraded to 0.29.3
Dongxiao Xu [Thu, 1 Jul 2010 08:44:21 +0000 (16:44 +0800)]
neon: Upgraded to 0.29.3

Change local directory name to ${PN}-${PV}

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoppp: Upgraded to version 2.4.5
Dongxiao Xu [Thu, 1 Jul 2010 06:34:12 +0000 (14:34 +0800)]
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>
14 years agodistro-tracking: update tracking fields for previous recipes after fixing metadata
Zhai Edwin [Thu, 1 Jul 2010 14:10:41 +0000 (22:10 +0800)]
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>
14 years agomatchbox-wm: Fix the meta data
Zhai Edwin [Thu, 1 Jul 2010 11:12:05 +0000 (19:12 +0800)]
matchbox-wm: Fix the meta data

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agomatchbox-stroke: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 11:07:09 +0000 (19:07 +0800)]
matchbox-stroke: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agomatchbox-panel-2: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 11:00:28 +0000 (19:00 +0800)]
matchbox-panel-2: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agomatchbox-keyboard: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 10:54:29 +0000 (18:54 +0800)]
matchbox-keyboard: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agomatchbox-config-gtk: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 10:49:27 +0000 (18:49 +0800)]
matchbox-config-gtk: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolibxslt: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 10:43:02 +0000 (18:43 +0800)]
libxslt: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolibsoup-2.4: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 10:26:53 +0000 (18:26 +0800)]
libsoup-2.4: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolibglade: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 10:12:58 +0000 (18:12 +0800)]
libglade: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolibfakekey: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 09:58:43 +0000 (17:58 +0800)]
libfakekey: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agojpeg: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 09:50:37 +0000 (17:50 +0800)]
jpeg: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agohicolor-icon-theme: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 09:38:31 +0000 (17:38 +0800)]
hicolor-icon-theme: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agogtk-sato-engine: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 09:30:45 +0000 (17:30 +0800)]
gtk-sato-engine: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agognome-keyring: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 09:11:39 +0000 (17:11 +0800)]
gnome-keyring: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoeds-dbus: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 08:58:58 +0000 (16:58 +0800)]
eds-dbus: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agowebkit-gtk: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 08:41:19 +0000 (16:41 +0800)]
webkit-gtk: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agognome-common: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 07:35:11 +0000 (15:35 +0800)]
gnome-common: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agogtk+: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 07:06:10 +0000 (15:06 +0800)]
gtk+: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agopcmanfm: Fix the metadata
Zhai Edwin [Thu, 1 Jul 2010 06:31:15 +0000 (14:31 +0800)]
pcmanfm: Fix the metadata

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agodistro_tracking: update latest release for prelink
Nitin A Kamble [Thu, 24 Jun 2010 13:04:45 +0000 (06:04 -0700)]
distro_tracking: update latest release for prelink

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agometa-toolchain: Improve layout
Richard Purdie [Fri, 2 Jul 2010 13:35:08 +0000 (14:35 +0100)]
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>
14 years agoimage.bbclass: Don't perform mapping renaming until we're running the task itself.
Richard Purdie [Fri, 2 Jul 2010 13:34:14 +0000 (14:34 +0100)]
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>
14 years agopackage_deb.bbclass: Fix packaging functions to use versioned dependency package...
Richard Purdie [Thu, 1 Jul 2010 23:05:38 +0000 (00:05 +0100)]
package_deb.bbclass: Fix packaging functions to use versioned dependency package functions correctly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake: providers.py: Fix typo
Richard Purdie [Thu, 1 Jul 2010 21:24:26 +0000 (22:24 +0100)]
bitbake: providers.py: Fix typo

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoclasses/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when packaging
Joshua Lock [Thu, 1 Jul 2010 15:14:21 +0000 (16:14 +0100)]
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>
14 years agopreferred-xorg-versions: update versions after latest recipe bumps
Joshua Lock [Thu, 1 Jul 2010 14:23:53 +0000 (15:23 +0100)]
preferred-xorg-versions: update versions after latest recipe bumps

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopoky.conf: define PREFERRED_PROVIDER_opkg-nativesdk to silence a warning
Joshua Lock [Thu, 1 Jul 2010 14:22:41 +0000 (15:22 +0100)]
poky.conf: define PREFERRED_PROVIDER_opkg-nativesdk to silence a warning

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agolibpcap: Upgraded to version 1.1.1
Dongxiao Xu [Wed, 30 Jun 2010 02:31:47 +0000 (10:31 +0800)]
libpcap: Upgraded to version 1.1.1

Remove config-fixes.patch and ldflags.patch since the change is already in the
latest version
Remove shared.patch since it is not being used.
Rebase aclocal.patch according to the latest package version
Also contains Metadata fix

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agobison: upgrade from 2.3 to 2.4.2
Nitin A Kamble [Wed, 23 Jun 2010 13:38:40 +0000 (06:38 -0700)]
bison: upgrade from 2.3 to 2.4.2

Fixed a configure issue by adding acpaths line in the recipe.

fix_cross_manpage_building.patch: Created this patch to avoid the build
issue for non-x86 targets.

Rebased the m4.patch for the latest code, by removing duplicate
functionality.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoelfutils: add a patch to fix latest prelink build
Nitin A Kamble [Thu, 24 Jun 2010 13:38:08 +0000 (06:38 -0700)]
elfutils: add a patch to fix latest prelink build

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agonasm: upgrade from 0.98.38 to 2.07
Nitin A Kamble [Wed, 23 Jun 2010 09:52:14 +0000 (02:52 -0700)]
nasm: upgrade from 0.98.38 to 2.07

Fixed the build issue by adding do_configure_prepend line to the recipe.
Updated metadata variables like LICENSE & LIC_CHKSUM_FILES

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>