]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agonetworkmanager_svn.bb: Fix recipe metadata
Dongxiao Xu [Fri, 2 Jul 2010 12:56:01 +0000 (20:56 +0800)]
networkmanager_svn.bb: Fix recipe metadata

Fix HOMEPAGE and LICENSE information
Add BUGTRACKER information
Fix recipe format

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agolibproxy_0.2.3.bb: Fix recipe metadata
Dongxiao Xu [Fri, 2 Jul 2010 12:41:52 +0000 (20:41 +0800)]
libproxy_0.2.3.bb: Fix recipe metadata

Fix LICENSE and add BUGTRACKER information

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agokexec-tools: Upgraded to version 2.0.1
Dongxiao Xu [Fri, 2 Jul 2010 02:09:04 +0000 (10:09 +0800)]
kexec-tools: Upgraded to version 2.0.1

Removed kexec-arm-atags.patch kexec-tools-arm.patch and recentheader.patch
since they are already contained in the latest package

Also fix the metadata

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agopreferred-xorg-versions: update versions after latest recipe bumps
Dexuan Cui [Fri, 2 Jul 2010 13:37:22 +0000 (21:37 +0800)]
preferred-xorg-versions: update versions after latest recipe bumps

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoDistro Tracking: add distro tracking field for recipes of Graphics libs
Dexuan Cui [Fri, 2 Jul 2010 13:20:40 +0000 (21:20 +0800)]
Distro Tracking: add distro tracking field for recipes of Graphics libs

They are:

libpciaccess
xkeyboard-config
util-macros
fontconfig
freetype
librsvg

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolibrsvg: fix metadata
Dexuan Cui [Fri, 2 Jul 2010 13:14:12 +0000 (21:14 +0800)]
librsvg: fix metadata

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoliberation-fonts: fix metadata
Dexuan Cui [Fri, 2 Jul 2010 12:59:32 +0000 (20:59 +0800)]
liberation-fonts: fix metadata

update DESCRIPTION, HOMEPAGE, BUGTRACKER;
fix tab/space issue in do_install() and fix the trailing space.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoxorg-minimal-fonts: fix metadata
Dexuan Cui [Fri, 2 Jul 2010 12:47:04 +0000 (20:47 +0800)]
xorg-minimal-fonts: fix metadata

LICENSE and LIC_FILES_CHKSUM haven't been updated yet.
Will keep to try to find the origination.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agofont-alias: fix metadata
Dexuan Cui [Fri, 2 Jul 2010 12:43:15 +0000 (20:43 +0800)]
font-alias: fix metadata

LICENSE and LIC_FILES_CHKSUM haven't been updated yet.
Will keep to try to find the origination.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agofreetype: upgrade to the latest version 2.3.12
Dexuan Cui [Fri, 2 Jul 2010 12:12:57 +0000 (20:12 +0800)]
freetype: upgrade to the latest version 2.3.12

rename freetype-2.3.5/ to freetype-2.3.12/;
remove configure.patch as it's not used at all;
remove fix-x86_64-build.patch as 2.3.12 has been integrated the patch;
update the licence from "freetype" to "FreeTypeLicense | GPLv2+".

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agofontconfig and fontconfig-native: upgrade to the latest version 2.8.0
Dexuan Cui [Fri, 2 Jul 2010 08:01:33 +0000 (16:01 +0800)]
fontconfig and fontconfig-native: upgrade to the latest version 2.8.0

fontconfig-native requires fontconfig, so upgraded both recipes;
renamed the patch directory from fontconfig-2.6.0 to fontconfig-2.8.0;
slightly rebased fix-pkgconfig.patch;
added HOMEPAGE, BUGTRACKER, LICENSE and LIC_FILES_CHKSUM;
updated LICENSE from "BSD" to "MIT-style & MIT & Public Domain";
reset PR to "r0".

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoutil-macros: upgrade to the latest version 1.10.0
Dexuan Cui [Fri, 2 Jul 2010 07:27:23 +0000 (15:27 +0800)]
util-macros: upgrade to the latest version 1.10.0

Deleted the patch unbreak_cross_compile.patch since upstream has fixed the issue:

commit 5d7f8c2638a3b2c3bba8deb01e94703310b62cc4
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date:   Thu Mar 25 18:10:00 2010 -0500

doc: add XORG_CHECK_SGML_DOCTOOLS to detect xorg-sgml-doctools

Trying to find X11/defs.ent with AC_CHECK_FILE does not work when
cross-compiling, and the check assumed that xorg-sgml-doctools is
installed to the same prefix which need not always be the case.

xorg-sgml-doctools 1.4 provides a pkg-config file which we can use
instead, fixing both those cases.  This macro is provided in util-macros
instead of with xorg-sgml-doctools, otherwise the latter would become a
hard dependency just to run autoreconf.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
BTW: the repository is at:
git clone git://anongit.freedesktop.org/git/xorg/util/macros
and the above commit can be viewed via
http://cgit.freedesktop.org/xorg/util/macros/commit/?id=5d7f8c2638a3b2c3bba8deb01e94703310b62cc4

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoxkeyboard-config: upgrade to the latest version 1.9
Dexuan Cui [Fri, 2 Jul 2010 07:22:51 +0000 (15:22 +0800)]
xkeyboard-config: upgrade to the latest version 1.9

Updated SRC_URI because from version 1.9 on, the link changed to a new place.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolibpciaccess: upgrade to the latest version 0.11.0
Dexuan Cui [Fri, 2 Jul 2010 05:24:38 +0000 (13:24 +0800)]
libpciaccess: upgrade to the latest version 0.11.0

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agorpm: fix metadata
Qing He [Fri, 2 Jul 2010 02:11:50 +0000 (10:11 +0800)]
rpm: fix metadata

add bugtracker, clarify license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoshared-mime-info: fix metadata
Qing He [Fri, 2 Jul 2010 01:43:43 +0000 (09:43 +0800)]
shared-mime-info: fix metadata

add description and homepage, update license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agotzdata: fix metadata
Qing He [Fri, 2 Jul 2010 01:35:29 +0000 (09:35 +0800)]
tzdata: fix metadata

add homepage, update license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agovte: fix metadata
Qing He [Thu, 1 Jul 2010 09:29:23 +0000 (17:29 +0800)]
vte: fix metadata

add bugtracker, update license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agostrace: fix metadata
Qing He [Thu, 1 Jul 2010 09:27:26 +0000 (17:27 +0800)]
strace: fix metadata

add homepage, fix license from GPL to BSD

Signed-off-by: Qing He <qing.he@intel.com>
14 years agounzip: fix metadata
Qing He [Thu, 1 Jul 2010 09:26:37 +0000 (17:26 +0800)]
unzip: fix metadata

add homepage

Signed-off-by: Qing He <qing.he@intel.com>
14 years agopcmciautils: fix metadata
Qing He [Thu, 1 Jul 2010 09:25:21 +0000 (17:25 +0800)]
pcmciautils: fix metadata

add license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agojs: fix metadata
Qing He [Thu, 1 Jul 2010 09:23:54 +0000 (17:23 +0800)]
js: fix metadata

add homepage, fix description
update license, it's actually tri-licensed

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibusb-compat: fix metadata
Qing He [Thu, 1 Jul 2010 09:20:51 +0000 (17:20 +0800)]
libusb-compat: fix metadata

update homepage, add bugtracker
update license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoavahi: fix metadata
Qing He [Thu, 1 Jul 2010 09:17:21 +0000 (17:17 +0800)]
avahi: fix metadata

add bugtracker
update license to relect that part of the package is under GPL
rather than LGPL

Signed-off-by: Qing He <qing.he@intel.com>
14 years agohal-info: fix metadata
Qing He [Thu, 1 Jul 2010 09:10:29 +0000 (17:10 +0800)]
hal-info: fix metadata

add bugtracker

Signed-off-by: Qing He <qing.he@intel.com>
14 years agohal: fix metadata
Qing He [Thu, 1 Jul 2010 09:01:35 +0000 (17:01 +0800)]
hal: fix metadata

add bugtracker, update license
The detail license is very complex and not easy to be expressed
in a single LICENSE line. Adopt a simple notation here, and will
describe details when the package is actually being upgraded.

hal_git doesn't use hal.inc, need further cleanups.

Signed-off-by: Qing He <qing.he@intel.com>
14 years agonfs-utils: fix metadata
Qing He [Thu, 1 Jul 2010 08:53:47 +0000 (16:53 +0800)]
nfs-utils: fix metadata

add homepage, update license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agorsync: fix metadata
Qing He [Thu, 1 Jul 2010 08:52:24 +0000 (16:52 +0800)]
rsync: fix metadata

add homepage and bugtracker
update license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agofile: fix metadata
Qing He [Thu, 1 Jul 2010 08:50:09 +0000 (16:50 +0800)]
file: fix metadata

add homepage, slight re-order

Signed-off-by: Qing He <qing.he@intel.com>
14 years agofindutils: fix metadata
Qing He [Thu, 1 Jul 2010 08:47:53 +0000 (16:47 +0800)]
findutils: fix metadata

add homepage and bugtracker
update license to clarify the transition of GPLv3+

Signed-off-by: Qing He <qing.he@intel.com>
14 years agogenext2fs: fix metadata
Qing He [Thu, 1 Jul 2010 08:42:54 +0000 (16:42 +0800)]
genext2fs: fix metadata

add homepage, update license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoless: fix metadata
Qing He [Thu, 1 Jul 2010 08:41:07 +0000 (16:41 +0800)]
less: fix metadata

update license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agopkgconfig: fix metadata
Qing He [Thu, 1 Jul 2010 08:38:29 +0000 (16:38 +0800)]
pkgconfig: fix metadata

add bugtracker, list license as GPLv2+

Signed-off-by: Qing He <qing.he@intel.com>
14 years agogconf-dbus: fix metadata
Qing He [Thu, 1 Jul 2010 08:35:23 +0000 (16:35 +0800)]
gconf-dbus: fix metadata

update license from GPL to LGPLv2+

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibpthread-stubs: fix metadata
Qing He [Thu, 1 Jul 2010 08:07:43 +0000 (16:07 +0800)]
libpthread-stubs: fix metadata

add bugtracker, update license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agostartup-notification: fix metadata
Qing He [Thu, 1 Jul 2010 07:53:34 +0000 (15:53 +0800)]
startup-notification: fix metadata

clarify license

Signed-off-by: Qing He <qing.he@intel.com>
14 years agopopt: fix metadata
Qing He [Thu, 1 Jul 2010 07:12:51 +0000 (15:12 +0800)]
popt: fix metadata

add homepage

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibnss-mdns: fix metadata
Qing He [Thu, 1 Jul 2010 07:09:30 +0000 (15:09 +0800)]
libnss-mdns: fix metadata

license is LGPLv2.1+, not GPL

Signed-off-by: Qing He <qing.he@intel.com>
14 years agodistro-track: update track info of base packages
Qing He [Thu, 1 Jul 2010 06:31:48 +0000 (14:31 +0800)]
distro-track: update track info of base packages

The status of recipes are marked red to flag that they
need further upgrading.

 - libusb-compat was classified as base utils, put it to base libs
 - rpm was not in poky-image-{sato,sdk}, but since we are in transition
   to rpm based packaging, include it as well
 - libsoup should be handled together with libsoup-2.4
 - tinylogin has been merged into busybox

33 recipes to go

Signed-off-by: Qing He <qing.he@intel.com>
14 years agodistro-tracking: add overrides for previous packages
Kevin Tian [Fri, 2 Jul 2010 10:45:58 +0000 (18:45 +0800)]
distro-tracking: add overrides for previous packages

libpng
libidn
base-files
base-passwd
apmd
gperf

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agolibidn: fix metadata
Kevin Tian [Fri, 2 Jul 2010 10:44:39 +0000 (18:44 +0800)]
libidn: fix metadata

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agolibpng: fix metadata
Kevin Tian [Fri, 2 Jul 2010 10:40:15 +0000 (18:40 +0800)]
libpng: fix metadata

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agogperf: fix metadata
Kevin Tian [Fri, 2 Jul 2010 10:26:21 +0000 (18:26 +0800)]
gperf: fix metadata

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoapmd: fix metadata
Kevin Tian [Fri, 2 Jul 2010 10:17:55 +0000 (18:17 +0800)]
apmd: fix metadata

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobase-passwd: fix metadata, indention and patch parameters
Kevin Tian [Fri, 2 Jul 2010 09:50:35 +0000 (17:50 +0800)]
base-passwd: fix metadata, indention and patch parameters

another fix is to remove ${docdir} appending to FILES_${PN}-doc,
since it's already included by FILES_${PN}-doc

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobase-files: fix indention
Kevin Tian [Fri, 2 Jul 2010 09:03:13 +0000 (17:03 +0800)]
base-files: fix indention

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agolibgpg-error: fix SRC_URI indention
Kevin Tian [Fri, 2 Jul 2010 05:36:59 +0000 (13:36 +0800)]
libgpg-error: fix SRC_URI indention

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agomodule-init-tools: fix SRC_URI indention
Kevin Tian [Fri, 2 Jul 2010 05:36:14 +0000 (13:36 +0800)]
module-init-tools: fix SRC_URI indention

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agodbus: fix SRC_URI indention
Kevin Tian [Fri, 2 Jul 2010 05:34:52 +0000 (13:34 +0800)]
dbus: fix SRC_URI indention

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoglib-2.0: upgrade to 2.24.1
Kevin Tian [Fri, 25 Jun 2010 07:07:01 +0000 (15:07 +0800)]
glib-2.0: upgrade to 2.24.1

(borrow from OE 2.24.0, with study about reason for detail changes)
[Patches-Poky]
    KEEP     _configure-libtool.patch_: fix cross-build env
    REMOVE   _glibconfig-sysdefs.h_: introduced in glib-1.2.10, which is actually
                                     not valid today
    KEEP     _glib-gettexize-dir.patch_: another quite old patch added before 2.10.3
                                         add history info, and mark for upstream
[Patches-OE]
    NOTAKE   _gio.patch_: a private extension for a window matching library (wncksync)
    NOTAKE   _gvavriant.patch_: in 2.24.1 now
    NOTAKE   _gasync.patch_: in 2.24.1 now
    TAKE     _60_wait-longer-for-threads-to-die.patch: said to fix anonying warning
    TAKE     _gatomic-proper-get-cast.patch_: fix error about type casting. Instead of
             using OE's patch, I found a better one from latest repo
    NOTAKE   _g_once_init_enter.patch_: in OE since 2.22.1, not quite sure of its purpose,
             also it's not in upstream yet

[Recipe]
    - fix metadata
    - keep glib-2.inc which is for python optimization
    - remove PRIORITY since 'optional' is the default
    - no need to specially install glibconfig.h in ad hoc path, which is only relied
      by 'obexpush' which poky doesn't have and can be fixed in 'obexpush' itself as
      what OE does
    - no need to manually create glib2.0/glib, which is handled by current code
    - remove 'acpaths' which only applies to versions before 2.12.4
    - below lines are not taken from OE
        * glib-mkenums tweaks, which exists in OE for a long time but never in poky.
          since there's no way to find out original commit, keep poky's style instead.
        * host libtool check. not sure about its purpose, and it's also in OE for quite
          long time

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

14 years agosudo: upgrade to 1.7.2p7
Kevin Tian [Tue, 22 Jun 2010 03:33:06 +0000 (11:33 +0800)]
sudo: upgrade to 1.7.2p7

Old 1.6.8p12 is quite old, even w/o source available now (only cached in pokylinux).
[Patches-Poky]
    KEEP     _autofoo.patch_: deal with bunch of autotool warnings/errors, more about
                              underquotes. In 1.7.2p7, those error conditions disappear.
                              But the underquotes fix is still valid to remove a bunch
                              of autoconf warnings

    REMOVE   _autofoo1.patch_: copy of autofoo.patch. no one uses it. REMOVE.

    KEEP     _noexec-link.patch_: use "-module" to avoid libtool complaining about not
                                  starting with "lib". Add comment to the patch file.

    DISABLE  _nostrip.patch_: it's wrong to strip target binaries on build host. Borrow
                              from OE to use 'sed' instead of patch, but keept it for
                              remind to upstream

    REMOVE   _nonrootinstall.patch_: handle mode/owner population at install. It's not
                                     requried at all since there's pkg_postinst to handle
                                     it at right stage

Other misc stuff:
    - update metadata information
    - no need to use ${S} in 1.7.2p7
    - fix idention
    - use sed to disable strip
    - changes from OE:
        * disable PAM as our pam doesn't include necessary config files and plugs
        * no need to special sudo_cv_uid_t_len tweak in the recipe. It's already there
          in poky site files for a long time
        * move sudo_cv_func_unsetenv_void to meta/site/common. Stdlib.h is common across
          architectures in our libc headers, which conforms to POSIX standard

(borrow from openembedded 1.7.2p4)
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobitbake: Fix handling of empty variables in local config files
Richard Purdie [Thu, 1 Jul 2010 22:54:13 +0000 (23:54 +0100)]
bitbake: Fix handling of empty variables in local config files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoAdd a warning if a BBFILE_PATTERN doesn't match any bb files
Chris Larson [Thu, 24 Jun 2010 17:53:36 +0000 (10:53 -0700)]
Add a warning if a BBFILE_PATTERN doesn't match any bb files

Likely cause is, of course, typo in the pattern or incorrect BBFILES, so we
should warn the user about this.

(Bitbake rev: b781317b5006bc047a59e7fa3c93344115e78ccb)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years ago3.0 prep
Chris Larson [Sun, 20 Jun 2010 19:07:34 +0000 (12:07 -0700)]
3.0 prep

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoApply some 2to3 refactorings
Chris Larson [Sun, 20 Jun 2010 19:08:07 +0000 (12:08 -0700)]
Apply some 2to3 refactorings

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop a couple usages of readlines
Chris Larson [Fri, 18 Jun 2010 14:56:55 +0000 (07:56 -0700)]
Drop a couple usages of readlines

(Bitbake rev: 40925230781ddd550bf21d90714c5349f9240a51)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoUntil the interactive mode is fixed, kill it from the valid options, to avoid confusion
Chris Larson [Fri, 18 Jun 2010 15:07:51 +0000 (08:07 -0700)]
Until the interactive mode is fixed, kill it from the valid options, to avoid confusion

(Bitbake rev: 65a51bb20677148a29b9e472f6d9d0a97798f024)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFix syntax error in shell.py
Chris Larson [Fri, 18 Jun 2010 15:06:37 +0000 (08:06 -0700)]
Fix syntax error in shell.py

(Bitbake rev: 1bddc77268e57e236c274fd91c889ea00a13891b)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoAdd missing 'return False' to the SystemExit handler in runAsyncCommand
Chris Larson [Sat, 19 Jun 2010 00:31:37 +0000 (17:31 -0700)]
Add missing 'return False' to the SystemExit handler in runAsyncCommand

(Bitbake rev: 966490c555cbdc09f52e1dcc68d3772c28ad9cee)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMove serverConnection.terminate() back into the finally
Chris Larson [Fri, 18 Jun 2010 16:21:31 +0000 (09:21 -0700)]
Move serverConnection.terminate() back into the finally

(Bitbake rev: 58e1b0a5dbd0f1ca137ad7ed1bd7ad9975a20fb7)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoLimit the traceback length in the default exception handler
Chris Larson [Thu, 17 Jun 2010 20:52:53 +0000 (13:52 -0700)]
Limit the traceback length in the default exception handler

(Bitbake rev: 2b9dc5b55e24b4946ff03bf30ca52a48547caaad)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoSwitch from our own 'dummywrite' class to StringIO
Chris Larson [Wed, 16 Jun 2010 13:53:24 +0000 (06:53 -0700)]
Switch from our own 'dummywrite' class to StringIO

(Bitbake rev: f5b7e16adf86950d91a88a343031e71beb0f08a6)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoSwitch a fatal usage to SystemExit ("T" not set)
Chris Larson [Thu, 10 Jun 2010 16:14:39 +0000 (09:14 -0700)]
Switch a fatal usage to SystemExit ("T" not set)

This failure is one the *user* needs to see, as it may have to do with their
setup, but where they don't need to see a traceback and all, since they're not
developers, so I think SystemExit is appropriate here.

(Bitbake rev: e3cc9bc7b6ef1a2eca78235790a051329bceb9a4)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoResurrect the excepthook, this time just sending the info with bb.fatal
Chris Larson [Wed, 16 Jun 2010 17:15:08 +0000 (10:15 -0700)]
Resurrect the excepthook, this time just sending the info with bb.fatal

(Bitbake rev: 07757a1bf1129cc6a967a7cf1815d3d46a6bbdcf)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoremove return in finally statement
Cliff Brake [Wed, 16 Jun 2010 00:29:54 +0000 (17:29 -0700)]
remove return in finally statement

causes exceptions to not be handled after the finally statement

(Bitbake rev: 1a04610dea376340b9ea4c109f64995b4fd6ad02)

Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agocooker: Kill __getitem__ usage on exception objects (python 3 prep)
Chris Larson [Thu, 10 Jun 2010 22:09:55 +0000 (15:09 -0700)]
cooker: Kill __getitem__ usage on exception objects (python 3 prep)

(Bitbake rev: 1239df8b82ddcd607630da5a888ca83051a22fa8)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoHandle SystemExit and KeyboardInterrupt sanely when executing a command
Chris Larson [Thu, 10 Jun 2010 17:21:41 +0000 (10:21 -0700)]
Handle SystemExit and KeyboardInterrupt sanely when executing a command

(Bitbake rev: 17f40d036814e4abf6d87363fff7823c8c85c298)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop unnecessarly duplicated messages wrt FuncFailed
Chris Larson [Thu, 10 Jun 2010 17:36:06 +0000 (10:36 -0700)]
Drop unnecessarly duplicated messages wrt FuncFailed

(Bitbake rev: 9ec9c0e560d4fa6df74a90f598f9db92713525a2)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoknotty: use the future division to prep for 3.x
Chris Larson [Thu, 10 Jun 2010 17:23:03 +0000 (10:23 -0700)]
knotty: use the future division to prep for 3.x

(Bitbake rev: bd0edc19f691146e748b91255be7a5788a070de6)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoKill the unnecessary setVarFlag debugging message
Chris Larson [Thu, 10 Jun 2010 17:36:19 +0000 (10:36 -0700)]
Kill the unnecessary setVarFlag debugging message

(Bitbake rev: ef8475796fbab4f76a72bbc106da4c35e3afe2e1)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoknotty: stop freaking out and dying when bb.build has removed the empty logfile
Chris Larson [Thu, 10 Jun 2010 17:44:20 +0000 (10:44 -0700)]
knotty: stop freaking out and dying when bb.build has removed the empty logfile

(Bitbake rev: 2197182fe5837d74f1499c644e882e87cf035238)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoUse bb.utils.mkdirhier in bb.cache to shut up the pending deprecation warning
Chris Larson [Thu, 10 Jun 2010 16:46:02 +0000 (09:46 -0700)]
Use bb.utils.mkdirhier in bb.cache to shut up the pending deprecation warning

(Bitbake rev: 0c885752d69e4108e2960d59ec1bd6c911dd141a)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoUse PendingDeprecationWarning for functions moved from bb to bb.utils
Chris Larson [Thu, 10 Jun 2010 16:43:39 +0000 (09:43 -0700)]
Use PendingDeprecationWarning for functions moved from bb to bb.utils

This is necessary, as there has not yet been a release with the bb.utils
versions in place.  We can't show them a deprecation warning when they can't
safely change it yet.  Show a PendingDeprecationWarning until 1.10 releases
and OE requires it, then we can move to DeprecationWarning.

(Bitbake rev: 43700fa1ca1d2635de4ed46110057cb164ee82d1)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoStart ditching fatal() calls in favor of raising appropriate exceptions
Chris Larson [Thu, 10 Jun 2010 14:47:16 +0000 (07:47 -0700)]
Start ditching fatal() calls in favor of raising appropriate exceptions

(Bitbake rev: 681b73fcc04e22e692ed61650ad53c800b64cace)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop the non-debug traceback suppressor, at this point I think it does more harm...
Chris Larson [Thu, 10 Jun 2010 15:05:33 +0000 (08:05 -0700)]
Drop the non-debug traceback suppressor, at this point I think it does more harm than good

(Bitbake rev: 2c66ddc2713061ba31363ea69c24944f4a7cd3a8)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoChange wget fetcher to use the runfetchcmd
Ryan Phillips [Tue, 8 Jun 2010 19:20:55 +0000 (14:20 -0500)]
Change wget fetcher to use the runfetchcmd

* Fixes proxy support to honor standard proxy environment variables.
* Quote environment variables

(Bitbake rev: f84f382f340d6db15b9e5afb8c7c93969249a958)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoShow a traceback when a task fails due to an exception
Chris Larson [Thu, 10 Jun 2010 02:26:21 +0000 (19:26 -0700)]
Show a traceback when a task fails due to an exception

(Bitbake rev: 5bb24832761bd518cb0249125f67939e0cbd0998)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoparser: fix harmless typo in variable name
Bernhard Reutner-Fischer [Wed, 9 Jun 2010 16:06:57 +0000 (18:06 +0200)]
parser: fix harmless typo in variable name

s/absolsute/absolute/

(Bitbake rev: 837c84ce47c298316b941a5f3d2479bd2643686b)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFix the silent exit when the specified task doesn't exist
Chris Larson [Wed, 9 Jun 2010 00:03:34 +0000 (17:03 -0700)]
Fix the silent exit when the specified task doesn't exist

(Bitbake rev: 2b64afa107dc24db510d0001b6eb58f0d5913d2f)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMove the output of no provider and multiple provider messages into the UI
Chris Larson [Tue, 8 Jun 2010 20:20:35 +0000 (13:20 -0700)]
Move the output of no provider and multiple provider messages into the UI

(Bitbake rev: 36b980c16bf74b3c2066cc120f9f27e11f189a63)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoReorganize the main exception handling so an attribute exception raised in the ui...
Chris Larson [Tue, 8 Jun 2010 19:28:36 +0000 (12:28 -0700)]
Reorganize the main exception handling so an attribute exception raised in the ui isn't misinterpreted

(Bitbake rev: 49b8bab706c59e93287f8540187b62ba3ece0a11)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMake knotty ignore the NoProvider event
Chris Larson [Tue, 8 Jun 2010 18:42:49 +0000 (11:42 -0700)]
Make knotty ignore the NoProvider event

(Bitbake rev: e07f759dae96c0819c35bb67e1da18ca361bb584)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDon't tell the user we're sending SIGINT to the remaining 0 tasks
Chris Larson [Tue, 8 Jun 2010 15:01:16 +0000 (08:01 -0700)]
Don't tell the user we're sending SIGINT to the remaining 0 tasks

(Bitbake rev: 0b963e52eca0447d5bbfc87d826ad662fe940381)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agocooker: use time.strftime() instead of spawing sh with date
Bernhard Reutner-Fischer [Mon, 7 Jun 2010 18:50:05 +0000 (20:50 +0200)]
cooker: use time.strftime() instead of spawing sh with date

time.strftime() defaults to using time.localtime(), use that instead
of spawning "sh -c 'date +<FMT>'"

(Bitbake rev: ec1f2773b4811b3beb52710120bb5a9b215c174e)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoAdjust the exception handling based on Cliff Brake's patch
Chris Larson [Fri, 4 Jun 2010 23:44:07 +0000 (16:44 -0700)]
Adjust the exception handling based on Cliff Brake's patch

Rather than printing the exception ourselves, might as well re-raise and let
the default exception handler do it for us.

(Bitbake rev: acca7eb8450cbe30d65b5b266f1a642e7965df8a)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFix a couple typos in the CVS Fetcher section.
Robert P. J. Day [Thu, 3 Jun 2010 09:58:09 +0000 (05:58 -0400)]
Fix a couple typos in the CVS Fetcher section.

"DL_DIRS" -> "DL_DIR"
Remove superfluous trailing ">" after CVSDIR.

(Bitbake rev: 34f396e749303367e657911bf10c43086dff7552)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agocache: do not chdir unnecessarily
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:42 +0000 (14:04 +0200)]
cache: do not chdir unnecessarily

previously we called chdir() twice for every target, this patch reduces
the amount of chdir() calls via openembedded master from some 16000 to
4.

(Bitbake rev: fa45f5625e13a82bec70d5f10815f52fbe705166)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopersist_data: cache connection and use cursor
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:41 +0000 (14:04 +0200)]
persist_data: cache connection and use cursor

Store database connection to persistent database in fetcher.

(Bitbake rev: 8a6876752b90efd81d92f0947bfc9527d8260969)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agocache: use a set() for __depends
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:40 +0000 (14:04 +0200)]
cache: use a set() for __depends

to make updating depends easier/more intuitive/eventually faster

(Bitbake rev: f7c69462b8ba726861898817cc5b13174c78e35a)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agocache: use max() to determine newest_mtime
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:39 +0000 (14:04 +0200)]
cache: use max() to determine newest_mtime

(Bitbake rev: c0cf85beda4cf8748fd270c037442cde7b98146b)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agocache: use os.path ops instead of stat
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:38 +0000 (14:04 +0200)]
cache: use os.path ops instead of stat

(Bitbake rev: 09fe0d403c75229931c10eabc7eecc0dc60058fe)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMake the file not found error actually useable.
Chris Larson [Fri, 4 Jun 2010 20:10:00 +0000 (13:10 -0700)]
Make the file not found error actually useable.

(Bitbake rev: 1cfcbee014478eb129ed382c13622317412b036e)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agofetch: commentary typo fix in fetcher_init()
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:37 +0000 (14:04 +0200)]
fetch: commentary typo fix in fetcher_init()

(Bitbake rev: b786f1f60fb50565295e7c8e979b471327d924f3)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agocache: fix typo in error message of cacheValidUpdate()
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:36 +0000 (14:04 +0200)]
cache: fix typo in error message of cacheValidUpdate()

(Bitbake rev: 9937d5992d72104c670e069f4c46cc62a490e18f)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agofetch: documentation typo fix
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:35 +0000 (14:04 +0200)]
fetch: documentation typo fix

s/initilize/initialize/

(Bitbake rev: 1497dd0d5bc0cca0de7d0ee9d314287000a0c34d)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agofetch: Check for existence of tar file along with md5 signature
Khem Raj [Wed, 5 May 2010 05:56:49 +0000 (22:56 -0700)]
fetch: Check for existence of tar file along with md5 signature

(Bitbake rev: a5b1c0605328660de15bb8127b6f7d798c664d32)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoRevert "In expand, drop the unnecessary second regular expression match"
Chris Larson [Sat, 22 May 2010 23:36:08 +0000 (16:36 -0700)]
Revert "In expand, drop the unnecessary second regular expression match"

This reverts commit 05462fa7908fc22988b3dc9d376798d0a46ccb5a.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDon't emit vars starting with __, as those are internal
Chris Larson [Tue, 20 Apr 2010 21:23:18 +0000 (14:23 -0700)]
Don't emit vars starting with __, as those are internal

(Bitbake rev: 211f44ce0e15c7c419606e9ef3568d9cea6775b7)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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>