]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agoopensp: new recipe v1.5
Scott Garman [Wed, 26 Jan 2011 19:16:42 +0000 (11:16 -0800)]
opensp: new recipe v1.5

Recipe derived from OpenEmbedded. Removed old-style staging
and converted to BBCLASSEXTEND.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agosgmlspl: new recipe, v1.03ii
Scott Garman [Tue, 25 Jan 2011 23:40:47 +0000 (15:40 -0800)]
sgmlspl: new recipe, v1.03ii

Recipe derived from OpenEmbedded.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodocbook-dsssl-stylesheets: new recipe v1.79
Scott Garman [Tue, 25 Jan 2011 23:29:31 +0000 (15:29 -0800)]
docbook-dsssl-stylesheets: new recipe v1.79

Recipe migrated from OpenEmbedded.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodocbook-sgml-dtd: new recipes - v3.1, v4.1, v4.5
Scott Garman [Tue, 25 Jan 2011 23:05:45 +0000 (15:05 -0800)]
docbook-sgml-dtd: new recipes - v3.1, v4.1, v4.5

These are recipes for DTDs commonly used when generating
documentation for free software. Recipes dervied from the
versions in OpenEmbedded.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agosgml-common: new recipe v0.6.3
Scott Garman [Tue, 25 Jan 2011 02:50:09 +0000 (18:50 -0800)]
sgml-common: new recipe v0.6.3

Recipe derived from OpenEmbedded.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agobitbake/fetch2: Ensure the local revision counter takes a default value of 0, not...
Richard Purdie [Tue, 1 Feb 2011 23:33:19 +0000 (23:33 +0000)]
bitbake/fetch2: Ensure the local revision counter takes a default value of 0, not None

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoRevert "perl-native: Update for userelocatableinc and non-shared libperl"
Richard Purdie [Tue, 1 Feb 2011 23:18:29 +0000 (23:18 +0000)]
Revert "perl-native: Update for userelocatableinc and non-shared libperl"

This reverts commit fe59ca31ac267ecd2dc3a8f2fb9ad5297b88f62c.

This broke builds for various people as reported in the bugzilla and on the
mailing list so we're reverting the change until Tom has a chance to make it
work properly for 5.12 (5.10 seems to work differently).

The DEPENDS change is left in since that part was valid.

14 years agoqt4: set RRECOMMENDS correctly for qt4 demos and examples packages
Paul Eggleton [Fri, 28 Jan 2011 16:47:17 +0000 (16:47 +0000)]
qt4: set RRECOMMENDS correctly for qt4 demos and examples packages

The demos and examples require a few optional plugins to operate correctly
(e.g. SQLite and JPEG support). The demos package requires the documentation
package to show descriptions for each demo/example, and assistant to show
the documentation.

Fixes [BUGID #492] and [BUGID #452].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agometa-toolchain-qte: Append to the toolchain env script and remove code duplication
Richard Purdie [Tue, 1 Feb 2011 17:39:10 +0000 (17:39 +0000)]
meta-toolchain-qte: Append to the toolchain env script and remove code duplication

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoRevert "quilt: fix patch version detection"
Richard Purdie [Tue, 1 Feb 2011 17:34:59 +0000 (17:34 +0000)]
Revert "quilt: fix patch version detection"

This reverts commit bc31351f6989372c7feb403f23532afd1f510fb1.

This change is already applied against configure, not configure.ac. This change forces a
reautoconf of quilt-native before we've built autoconf and if "git-desc" isn't present it
can result in further problems. The simplest solution is to revert this change.

14 years agoqt4: Add meta-toolchain-qte and dependent tasks from OpenEmbedded
Paul Eggleton [Fri, 14 Jan 2011 15:36:23 +0000 (15:36 +0000)]
qt4: Add meta-toolchain-qte and dependent tasks from OpenEmbedded

Differences from OE versions:

task-qte-toolchain-target.bb:
 * Depend on task-poky-standalone-sdk-target instead of task-sdk-bare
 * Add LIC_FILES_CHKSUM
 * Correct libsqlite3-dev dependency for Poky
 * Remove dependency on libts-dev
 * Remove QtDeclarative as it does not build for 4.6.3. (This will need
   to be addressed in a future update.)

task-qte-toolchain-host.bb
 * Fix for Poky directory structure
 * qt4-tools-sdk -> qt4-tools-nativesdk

meta-toolchain-qte:
 * Fix for Poky directory structure
 * Use "tar --owner=root" instead of fakeroot
 * Remove angstrom-specific suffix

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoavahi: prevent unnecessary runtime dependency on gtk+
Paul Eggleton [Mon, 17 Jan 2011 15:31:11 +0000 (15:31 +0000)]
avahi: prevent unnecessary runtime dependency on gtk+

* Move avahi-discover-standalone to avahi-ui-utils as it's a GUI tool
* Split out avahi-ui dev files from avahi-dev to a libavahi-ui-dev package
  (using the new nodeprrecs flag to avoid automatic RRECOMMENDS calculation
  for avahi-dev)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agopackage.bbclass: add nodeprrecs flag to RRECOMMENDS_pkgname
Paul Eggleton [Mon, 17 Jan 2011 15:11:15 +0000 (15:11 +0000)]
package.bbclass: add nodeprrecs flag to RRECOMMENDS_pkgname

Setting this flag disables the normal additions to RRECOMMENDS for a package
(useful when splitting dev / dbg packages).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoqt4: Add qt4-tools-nativesdk based on qt4-tools-sdk from OpenEmbedded
Paul Eggleton [Fri, 14 Jan 2011 12:02:47 +0000 (12:02 +0000)]
qt4: Add qt4-tools-nativesdk based on qt4-tools-sdk from OpenEmbedded

Differences from OpenEmbedded qt4-tools-sdk:

* Convert to nativesdk and make fixes necessary to build
* Use .inc file in 4.6.3 version
* Add LIC_FILES_CHKSUM
* Fix LICENSE to match other Qt4 recipes
* Use http source URL to match other Qt4 recipes
* Whitespace fixes

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agodbus: extend to nativesdk
Paul Eggleton [Fri, 14 Jan 2011 11:07:51 +0000 (11:07 +0000)]
dbus: extend to nativesdk

BBCLASSEXTEND dbus to nativesdk for meta-toolchain-qte, and disable the
dependency on libsm when building in this context (thus avoiding a number of
sub-dependencies).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoglib-2.0: extend to nativesdk
Paul Eggleton [Fri, 14 Jan 2011 11:06:03 +0000 (11:06 +0000)]
glib-2.0: extend to nativesdk

This needs to be added to nativesdk for meta-toolchain-qte.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoqt4-tools-native: update from OpenEmbedded
Paul Eggleton [Fri, 21 Jan 2011 16:15:03 +0000 (16:15 +0000)]
qt4-tools-native: update from OpenEmbedded

Differences from OE version:
* Add source checksums
* Correct LICENCE and move to .inc file
* Update HOMEPAGE
* Don't specify DEFAULT_PREFERENCE
* Remove S and SRC_URI from 4.7.1 (duplicates of .inc file values)
* Use http source URL to match other Qt4 recipes
* Don't add back tools previously disabled in poky

Differences from current (plus the above):
* Add Qt 4.7.1 recipe
* Specify -embedded to remove dependency on X (as we are only building tools)
* Disable some other options to reduce dependencies
* Specify -no-freetype / -no-fontconfig in .inc file rather than in .bb
* Use INC_PR
* Whitespace fixes

14 years agoqt4: add 4.7.1 version from meta-openembedded
Paul Eggleton [Fri, 21 Jan 2011 16:22:15 +0000 (16:22 +0000)]
qt4: add 4.7.1 version from meta-openembedded

Differences from meta-openembedded version:
* Change the order of includes so that embedded/x11 overrides take precedence
* Move contents of do_install_append from qt-${PV}.inc to do_install in
  qt4.inc as this is the same for 4.6.3 and 4.7.1 and gets in the way of
  do_install_append in qt-embedded.inc.
* Don't add qte.sh to SRC_URI in qt-4.7.1.inc (this is embedded-specific)
* Don't specify DEFAULT_PREFERENCE
* Use http source URL to match other Qt4 recipes

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoqt4: add qt4-embedded 4.6.3 from meta-openembedded
Paul Eggleton [Thu, 13 Jan 2011 15:04:35 +0000 (15:04 +0000)]
qt4: add qt4-embedded 4.6.3 from meta-openembedded

Changes from the meta-openembedded version:
* Change the order of includes so that embedded takes precedence (ensuring
  SRC_URI additions from qt-embedded.inc work)
* Specify -embedded in qt-embedded.inc
* Remove SRC_URI and S which should come from qt-${PV}.inc
* Remove QT_DIR_NAME and QT_LIBINFIX as these come from qt4e.bbclass
* Correct LICENSE
* Set DESCRIPTION instead of SUMMARY as SUMMARY will inherit by default
* Add qthelp-lib-qtclucene.patch (required to build)
* Whitespace fixes

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoqt4: Bring in improvements from meta-openembedded
Paul Eggleton [Fri, 21 Jan 2011 15:38:29 +0000 (15:38 +0000)]
qt4: Bring in improvements from meta-openembedded

Differences from meta-openembedded version:
* SRC_URI and S now come from qt-${PV}.inc since these are version specific
* Source checksums are also now in qt-${PV}.inc
* Remove do_compile as this is handled in qt-${PV}.inc
* Move contents of do_install_append from qt-${PV}.inc to do_install in
  qt4.inc as this is the same for 4.6.3 and 4.7.1 and will get in the way of
  do_install_append in qt-embedded.inc.
* Don't enable PostgreSQL, MySQL or SQLite 2.x plugins as we don't currently
  have recipes for these DBMSs in Poky. These can be re-enabled easily when
  or if we do.
* Use INC_PR in qt4-x11-free_4.6.3.bb
* Don't always specify -embedded config option in qt4.inc
* Don't add qte.sh to SRC_URI in qt-4.6.3.inc (this is embedded-specific)

Differences from what we have currently in Poky (plus the above):
* Set DESCRIPTION based on embedded/X11
* Move out arch-specific settings to qt4-arch.inc
* Add qt4x11.bbclass which can be inherited by application recipes to select
  the X11 version (this makes more sense once the embedded version is added).
* Update HOMEPAGE

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoAdd directfb 1.4.6 from meta-openembedded
Paul Eggleton [Thu, 13 Jan 2011 14:54:34 +0000 (14:54 +0000)]
Add directfb 1.4.6 from meta-openembedded

This package has been added from meta-openembedded in order to be able to
build qt4-embedded. The only change was to remove do_install() which was
exactly the same as autotools_do_install().

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoquilt: fix patch version detection
Qing He [Tue, 1 Feb 2011 07:37:54 +0000 (15:37 +0800)]
quilt: fix patch version detection

Fixes [BUGID #690]

Signed-off-by: Qing He <qing.he@intel.com>
14 years agosite/x86_x64: add entry to fix x86_64 compile errors
Tom Zanussi [Tue, 1 Feb 2011 02:40:15 +0000 (20:40 -0600)]
site/x86_x64: add entry to fix x86_64 compile errors

Add entries for va_copy and __va_copy to fix rpm 5.4.0 compile errors
on x86_64.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
14 years agolibxft: Drop explict package_do_package call and use anonymous python instead
Richard Purdie [Tue, 1 Feb 2011 12:49:53 +0000 (12:49 +0000)]
libxft: Drop explict package_do_package call and use anonymous python instead

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokernel.bbclass: Add fix from OE.dev for tmpnam() usage
Richard Purdie [Tue, 1 Feb 2011 12:27:20 +0000 (12:27 +0000)]
kernel.bbclass: Add fix from OE.dev for tmpnam() usage

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoimage/package_xx/rootfs_xx.bbclass: move rootfs_xx_log_check().
Lianhao Lu [Sun, 30 Jan 2011 04:04:46 +0000 (12:04 +0800)]
image/package_xx/rootfs_xx.bbclass: move rootfs_xx_log_check().

Move function rootfs_xx_log_check() from rootfs_xx.bbclass to relevant
package_xx.bbclass. (Where xx is rpm/ipk/deb).

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agolibgcc: Explicitly wait for the libc packaging to occur before libgcc packages
Richard Purdie [Mon, 31 Jan 2011 16:37:32 +0000 (16:37 +0000)]
libgcc: Explicitly wait for the libc packaging to occur before libgcc packages

libgcc can link against the libc and libc can be dynamically renamed
so we ensure we package after libc. There was code in the gcc core
for this in the ipk case but it wasn't moved as part of the libgcc
split, this change fixes that oversight.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky-{glibc,uclibc}.inc: Add libc-foo OVERRIDES
Tom Rini [Fri, 28 Jan 2011 19:28:19 +0000 (12:28 -0700)]
poky-{glibc,uclibc}.inc: Add libc-foo OVERRIDES

This brings things back in sync with OpenEmbedded and will
help with recipe porting.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoperl-native: Update for userelocatableinc and non-shared libperl
Tom Rini [Fri, 28 Jan 2011 21:07:21 +0000 (14:07 -0700)]
perl-native: Update for userelocatableinc and non-shared libperl

Rather than using a wrapper switch to using upstreams support for
relocation.  While in here, bring in the mangling to use
/usr/bin/env perl rather than /full/path/to in order to work
in deep directory paths.

Also drop the DEPENDS on gpbm and db since we disable these in the configure
and don't use them.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agocreaterepo: fix native binary
Qing He [Mon, 31 Jan 2011 08:49:39 +0000 (16:49 +0800)]
createrepo: fix native binary

Signed-off-by: Qing He <qing.he@intel.com>
14 years agopackage.bbclass: Disable EXPORT_FUNCTIONS for do_package
Richard Purdie [Mon, 31 Jan 2011 16:22:14 +0000 (16:22 +0000)]
package.bbclass: Disable EXPORT_FUNCTIONS for do_package

As discovered by Lianhao Lu and Kevin Tian:
"""
do_package checksum changes with switching the order In PACKAGE_CLASSES, e.g:

From
PACKAGE_CLASSES = "package_rpm package_ipk"
To
PACKAGE_CLASSES = "package_ipk package_rpm"

This is undesired since the order only matters for final rootfs generation. The actual
cause is related to how do_package is generated, which depends on when
package.bbclass is first brought in.
"""

Since we never need the EXPORT_FUNCTIONS funcationality for do_package we just drop
it which removes this problem and stablisised checksums.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolicense.bbclass: don't mark it as 'nostamp'
Kevin Tian [Mon, 31 Jan 2011 06:05:48 +0000 (14:05 +0800)]
license.bbclass: don't mark it as 'nostamp'

'nostamp' is normally used for some standalone tasks like clean, checkuri, etc.
It doesn't make sense to mark do_populate_lic as 'nostamp', which is depended
by do_package. No stamp file in the build dependency chain implicates that
do_package needs to be reinvoked and thus further do_package_write* stuff.

This together with another sstate bug fully confused recent master, that people
keep observing unnecessary do_package rebuilt with or without change. Below is
a short explanation for two behaviors we observed:

a) a fresh build, and then bitbake same target w/o any change. User will observe
one unnecessary rebuild and then later rebuild is fine:
    [1st rebuild]
    * do_populate_lic has no stamp, and thus do_package is thought not current
    * do_package_setscene is then invoked with stamp file created
    * then later do_package_write*** also are rebuilt
    [2nd and later rebuild]
    * do_populate_lic has no stamp, and thus do_package is thought not current
    * do_package_setscene has stamp file and thus no need to re-execute setscene
    * thus no further rebuild required

b) a fresh build, and then adjust order of PACKAGE_CLASSES. There's one bug
regarding to PACKAGE_CLASSES and do_package_setscene, that only switch the
order in PACKAGE_CLASSES generates different checksum. In this case user may
observe up to 3 rebuilds when switching package_rpm/package_ipk back and forth.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoscripts/bitbake: remove bashisms
Joshua Lock [Mon, 31 Jan 2011 11:38:35 +0000 (11:38 +0000)]
scripts/bitbake: remove bashisms

As the BitBake script is the initial entry point for the system we need to
ensure it can run in as many places as possible, including systems which
aren't yest optimally configured for running Poky.
Remove some bashisms from the script so that it can run under Dash.

Pointers from: https://wiki.ubuntu.com/DashAsBinSh
Errors before this patch: http://pastie.org/1502136

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agolicense.bbclass: handle | (or) in the LICENSE field
Joshua Lock [Mon, 31 Jan 2011 11:11:30 +0000 (11:11 +0000)]
license.bbclass: handle | (or) in the LICENSE field

The class strips out operators from the LICENSE field and to reduce it to a
list of license, | was missing but is quite frequently used so add it to the
list of replaced characters.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopackage_rpm: Fix package-split summary
Mark Hatle [Fri, 28 Jan 2011 18:01:32 +0000 (12:01 -0600)]
package_rpm: Fix package-split summary

The package-split summaries were being pulled in from the main package, not
the split package metadata.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agocreating the rpmrepo metadata
Qing He [Tue, 18 Jan 2011 10:00:29 +0000 (18:00 +0800)]
creating the rpmrepo metadata

This includes two method for build rpm repo:
  1. create the metadata in rootfs_rpm
  2. standalone binary for building the metadata

Not both of them are needed, generally #2 fits more for the purpose,
but #1 may have its use on rootfs creation using zypper.

Both share some problems and are subjected for future improvement:
  1. the createrepo now builds metadata for the whole directory,
     if there are more than one arch, it builds for all, which means
     rootfs_rpm may run longer if more builds have been run.
  2. createrepo builds metadata for stale rpms

Signed-off-by: Qing He <qing.he@intel.com>
14 years agocreaterepo: add new recipe
Qing He [Tue, 18 Jan 2011 03:38:35 +0000 (11:38 +0800)]
createrepo: add new recipe

version 0.4.11

Signed-off-by: Qing He <qing.he@intel.com>
14 years agozypper: upgrade to newer git version
Qing He [Tue, 11 Jan 2011 09:09:12 +0000 (17:09 +0800)]
zypper: upgrade to newer git version

this works with rpm 5.4.0

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibzypp: upgrade to newer git version
Qing He [Tue, 11 Jan 2011 08:40:04 +0000 (16:40 +0800)]
libzypp: upgrade to newer git version

this works with rpm 5.4.0

Signed-off-by: Qing He <qing.he@intel.com>
14 years agosat-solver: upgrade to newer git version
Mark Hatle [Sun, 16 Jan 2011 04:05:29 +0000 (22:05 -0600)]
sat-solver: upgrade to newer git version

This works with rpm 5.4.0

Signed-off-by: Qing He <qing.he@intel.com>
Update the CMAKE configuration file to find the proper DB library as used
by RPM5 within Poky.

Disable checking for Fedora and Debian, as this might lead to incorrect
results.

Merge the dso_linking_change_build_fix with the other cmake changes.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agosat-solver: Add db as DEPENDS and bump PR
Saul Wold [Sat, 29 Jan 2011 15:16:44 +0000 (07:16 -0800)]
sat-solver: Add db as DEPENDS and bump PR

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolinux_2.6.33.2: Add LIC_FILES_CHKSUM
Saul Wold [Fri, 28 Jan 2011 18:18:33 +0000 (10:18 -0800)]
linux_2.6.33.2: Add LIC_FILES_CHKSUM

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopoky-image.bbclass: If not including package management, ensure the basics to handle...
Richard Purdie [Fri, 28 Jan 2011 18:00:28 +0000 (18:00 +0000)]
poky-image.bbclass: If not including package management, ensure the basics to handle postinstalls in images are present

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky-image-minimal: Since we don't include package system data, we only need the...
Richard Purdie [Fri, 28 Jan 2011 17:59:01 +0000 (17:59 +0000)]
poky-image-minimal: Since we don't include package system data, we only need the package system bootstrap dependencies

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorootfs_rpm: Drop bogus inclusion of the run-postinsts package
Richard Purdie [Fri, 28 Jan 2011 17:57:23 +0000 (17:57 +0000)]
rootfs_rpm: Drop bogus inclusion of the run-postinsts package

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorpm: suggested change
Qing He [Tue, 11 Jan 2011 08:39:09 +0000 (16:39 +0800)]
rpm: suggested change

Signed-off-by: Qing He <qing.he@intel.com>
14 years agorootfs_rpm: Setup the platform configuration
Mark Hatle [Fri, 28 Jan 2011 01:13:01 +0000 (19:13 -0600)]
rootfs_rpm: Setup the platform configuration

The RPM platform configuration file lists all of the supported architectures,
while RPM itself doesn't use this information, other tools may use it to
determine compatibility.  The first item is the default architecture for a
system, while the following items specify alternative compatible architectures.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorpm: Uprev to RPM 5.4.0
Mark Hatle [Sun, 16 Jan 2011 03:36:23 +0000 (21:36 -0600)]
rpm: Uprev to RPM 5.4.0

Update RPM to the latest release, RPM 5.4.0.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopoky.conf: Update gdk-pixbuf provider after gtk+ upgrade
Richard Purdie [Fri, 28 Jan 2011 17:49:46 +0000 (17:49 +0000)]
poky.conf: Update gdk-pixbuf provider after gtk+ upgrade

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agox11-common: Fix unusable serial console
Wolfgang Denk [Thu, 27 Jan 2011 11:42:16 +0000 (12:42 +0100)]
x11-common: Fix unusable serial console

The serial console port is basicly unusable in images containing X.
Login works fine, but at the shell prompt only one out of N input
characters (N usually between 2 and 10) gets through to the shell.

dbus-launch (running as "dbus-launch --sh-syntax --exit-with-session")
is also reading from /dev/console and "eating" the missing characters.

As soon as I stop the Xserver ("sh /etc/init.d/xserver-nodm stop")
the serial console starts wroking fine (because dbus-launch is not
running any more).

This patch addresses the problem.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoapt-native: Added licence checksum.
Lianhao Lu [Fri, 28 Jan 2011 01:43:26 +0000 (09:43 +0800)]
apt-native: Added licence checksum.

Added licence checksum for apt-native.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agocross-canadian.bbclass: Correct deb package arch.
Lianhao Lu [Fri, 28 Jan 2011 01:41:32 +0000 (09:41 +0800)]
cross-canadian.bbclass: Correct deb package arch.

Set DPKG_ARCH to make debian package to be generated with correct
architecture.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agodistro_tracking_fields.inc: update the info for some recipes
Dexuan Cui [Thu, 27 Jan 2011 06:50:34 +0000 (14:50 +0800)]
distro_tracking_fields.inc: update the info for some recipes

They are
gccmakedep, mdadm, screen, quota, gnome-vfs, gnome-doc-utils,
xproxymanagementprotocol, galago-daemon, ttf-bitstream-vera,
libart-lgpl, liblbxutil, libxpm, libxprintapputil, libxprintutil,
libxtrap, cronie, powertop, latencytop, xorg-minimal-fonts,
liberation-fonts, freetype, liburcu, lttng-ust, lttng-viewer,
pixman, dmxproto, printproto, xineramaproto, xf86driproto,
xf86vidmodeproto, libxp, xkeyboard-config, libunique.

mdadm, screen: there are duplicate descriptions -- removed them.
fix a typo in the description of quota.

Added RECIPE_MANUAL_CHECK_DATE_pn for
cronie, powertop, latencytop, xorg-minimal-fonts, liberation-fonts.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopreferred-xorg-versions.inc: remove libfs, update xvinfo, pixman, dmxproto, printprot...
Dexuan Cui [Thu, 27 Jan 2011 08:19:06 +0000 (16:19 +0800)]
preferred-xorg-versions.inc: remove libfs, update xvinfo, pixman, dmxproto, printproto, xineramaproto, xf86driproto, xf86vidmodeproto, libxp

libfs doesn't exist in poky now.
xvinfo has been upgraded to 1.1.1 and there isn't 1.0.2 now.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolibunique: update DESCRIPTION, HOMEPAGE, BUGTRACKER
Dexuan Cui [Thu, 27 Jan 2011 18:37:40 +0000 (02:37 +0800)]
libunique: update DESCRIPTION, HOMEPAGE, BUGTRACKER

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolibxp: upgrade from 1.0.0 to 1.0.1
Dexuan Cui [Thu, 27 Jan 2011 17:30:22 +0000 (01:30 +0800)]
libxp: upgrade from 1.0.0 to 1.0.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoxf86vidmodeproto: upgrade from 2.3 to 2.3.1
Dexuan Cui [Thu, 27 Jan 2011 17:18:39 +0000 (01:18 +0800)]
xf86vidmodeproto: upgrade from 2.3 to 2.3.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoxf86driproto: upgrade from 2.1.0 to 2.1.1
Dexuan Cui [Thu, 27 Jan 2011 17:13:55 +0000 (01:13 +0800)]
xf86driproto: upgrade from 2.1.0 to 2.1.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoxineramaproto: upgrade from 1.2 to 1.2.1
Dexuan Cui [Thu, 27 Jan 2011 17:04:49 +0000 (01:04 +0800)]
xineramaproto: upgrade from 1.2 to 1.2.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoprintproto: upgrade from 1.0.4 to 1.0.5
Dexuan Cui [Thu, 27 Jan 2011 16:49:38 +0000 (00:49 +0800)]
printproto: upgrade from 1.0.4 to 1.0.5

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agodmxproto: upgrade from 2.3 to 2.3.1
Dexuan Cui [Thu, 27 Jan 2011 16:40:40 +0000 (00:40 +0800)]
dmxproto: upgrade from 2.3 to 2.3.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopixman: upgrade from 0.21.2 to 0.21.4
Dexuan Cui [Thu, 27 Jan 2011 16:30:48 +0000 (00:30 +0800)]
pixman: upgrade from 0.21.2 to 0.21.4

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolttng-viewer: upgrade from 0.12.35 to 0.12.36
Dexuan Cui [Thu, 27 Jan 2011 12:16:11 +0000 (20:16 +0800)]
lttng-viewer: upgrade from 0.12.35 to 0.12.36

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolttng-ust: upgrade from 0.8 to 0.11
Dexuan Cui [Thu, 27 Jan 2011 12:06:13 +0000 (20:06 +0800)]
lttng-ust: upgrade from 0.8 to 0.11

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoliburcu: upgrade from 0.4.8 to 0.5.2
Dexuan Cui [Thu, 27 Jan 2011 11:37:18 +0000 (19:37 +0800)]
liburcu: upgrade from 0.4.8 to 0.5.2

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agofreetype: upgrade from 2.4.3 to 2.4.4
Dexuan Cui [Thu, 27 Jan 2011 11:09:23 +0000 (19:09 +0800)]
freetype: upgrade from 2.4.3 to 2.4.4

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agognome-doc-utils: upgrade from 0.20.2 to 0.20.4
Dexuan Cui [Mon, 24 Jan 2011 18:04:32 +0000 (02:04 +0800)]
gnome-doc-utils: upgrade from 0.20.2 to 0.20.4

Also fix DEPENDS on gettext for native casea -- this is to fix the
following failure(that occasionally occurs in my local tests):
configure.in:44: warning: AM_NLS is m4_require'd but not m4_defun'd
| aclocal.m4:1826: IT_PROG_INTLTOOL is expanded from...
| configure.in:44: the top level
| configure:3327: error: possibly undefined macro: AM_NLS

Also remove a trailing space char in LIC_FILES_CHKSUM.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoxf86-video-omapfb: upgrade to 044617665d6737f4909aab96
Yu Ke [Tue, 25 Jan 2011 07:15:09 +0000 (15:15 +0800)]
xf86-video-omapfb: upgrade to 044617665d6737f4909aab96

Also apply four patches from Koen to fix four issus:
- The tv-out gets added last and the driver tries to reconfigure dvi to TV resolutions, which fails
- The new DSS mode breaks XV, so force plain mode
- Picture is garbled after switching resolutions
- Virtual size too big

CC: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoInitial commit of license reporting:
Beth Flanagan [Thu, 27 Jan 2011 19:25:12 +0000 (11:25 -0800)]
Initial commit of license reporting:

This is an intial commit for the license reporting system. A few notes:
The LICENSE fields needs to be standardized throughout poky. As it
stands, we throw a warning if the license file is not found (either
because it does not exist or because LICENSE_FILE_CHKSUM is munged)
in the generic license directory. This should eventually become an
error.

I've seen a few places where Apache-v2.0 is written differently and
I'm sure this will throw the above warning. This does not put the
license data on the rootfs. Also, I provide both the actual license
text and a link to the best guess of the generic_license. That guessing
is not very robust and I'm loath to get into a bunch of pattern matching
rather than standardize LICENSE.

This adds one new param to poky.conf and one new to license.bbclass:

LICENSE_DIR: the base directory we copy all the license results to (set
in license.bbclass)
COMMON_LICENSE_DIR: this is the directory that holds all the common
generic license files. currently meta/files/common-licenses (set in
poky.conf)

TODO:
- We should verify the common-licenses. I stripped these from my Ubuntu
  10.10 system.
- We should allow the capability of licenses on the rootfs, although the
  resulting image created would be a lot larger.
- More common-licenses. I don't include bzip, zlib, ICS.... I should,
  but that means tracking down a lot of licenses.
- General cleanup of licensing and standardization of names. We should
  standardize on a naming convention. What's in licenses.conf should
  match up with what is in the recipes which should match with what is
  in common-licenses. Outside the scope of this though. See:
  http://bugzilla.pokylinux.org/show_bug.cgi?id=650

14 years agotask-poky-sdk: add 'file' and 'ldd'
Kevin Tian [Thu, 27 Jan 2011 06:21:54 +0000 (14:21 +0800)]
task-poky-sdk: add 'file' and 'ldd'

these two are useful in the development environment, and also required
by two LTP test cases (ld and ldd).

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobash: use /bin/bash as default shell when bash is included
Kevin Tian [Wed, 26 Jan 2011 11:37:10 +0000 (19:37 +0800)]
bash: use /bin/bash as default shell when bash is included

though bash is included in LSB profile, it doesn't use update-alternative
to take effect and thus it's still busybox behaving as /bin/sh.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobase-files: remove ending colon from default $PATH for root user
Kevin Tian [Wed, 26 Jan 2011 08:28:45 +0000 (16:28 +0800)]
base-files: remove ending colon from default $PATH for root user

now the PATH for root user defined in a problematic way
    PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:

from eglibc:
    /* Two adjacent colons, or a colon at the beginning or the end
       of `PATH' means to search the current directory.  */

that means current directory is always searched as the last path,
which could generate undesired behavior.

One example is found in LTP cron_deny01 test, which always complains
    "sh: cron_deny01 not found"

cron_deny01 is a shell script which setups the initial test preparation
and then invokes itself for real test under a different user:
    su $TEST_USER1 -c "$0"

'su' doesn't inherit PATH into the sub-shell, and thus $0 has to
be an absolute path to have right script found.

ltp appends the path of cron_deny01 to $PATH before running the test:
    export PATH="${PATH}:${LTPROOT}/testcases/bin"

In ideal way "${LTPROOT}/testcases/bin/cron_deny01" is found and becomes
$0, which works well.

However due to the ending colon in original PATH:
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin::${LTPROOT}/testcases/bin
$0 becomes 'cron_deny01' w/o leading path which makes sub-shell under 'su'
failed to locate cron_deny01.

remove ending colon then fixes this problem.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agomatchbox: Convert all the matchbox components' repo from svn to git including:
Zhai Edwin [Wed, 26 Jan 2011 11:14:35 +0000 (19:14 +0800)]
matchbox: Convert all the matchbox components' repo from svn to git including:
matchbox-wm
matchbox-panel-2
matchbox-terminal
matchbox-config-gtk
matchbox-stroke
matchbox-desktop
matchbox-keyboard
matchbox-themes-extra
libfakekey
settings-daemon

Also remove some old recipes.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agodistro tracking: Add info after upgrading gtk+, libuser and leafpad
Zhai Edwin [Wed, 26 Jan 2011 07:58:04 +0000 (15:58 +0800)]
distro tracking: Add info after upgrading gtk+, libuser and leafpad

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolibuser: Upgrade from 0.56.18 to 0.57.1
Zhai Edwin [Wed, 26 Jan 2011 07:16:29 +0000 (15:16 +0800)]
libuser: Upgrade from 0.56.18 to 0.57.1

This can fix the vulnerable issue @ http://secunia.com/advisories/42891/

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoleafpad: Upgrade from 0.8.17 to 0.8.18.1
Zhai Edwin [Wed, 26 Jan 2011 06:59:27 +0000 (14:59 +0800)]
leafpad: Upgrade from 0.8.17 to 0.8.18.1

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoscripts/bitbake: If pseudo isn't in staging for some reason, force a build of it...
Richard Purdie [Fri, 28 Jan 2011 11:01:11 +0000 (11:01 +0000)]
scripts/bitbake: If pseudo isn't in staging for some reason, force a build of it directly

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoscripts/bitbake: We only need pseudo-native in the sysroot, we can ignore any other...
Richard Purdie [Fri, 28 Jan 2011 10:44:15 +0000 (10:44 +0000)]
scripts/bitbake: We only need pseudo-native in the sysroot, we can ignore any other pieces of the dependency tree

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agostaging.bbclass: Only clean out the sysroot if we rerun configure, not at setscene...
Richard Purdie [Thu, 27 Jan 2011 20:58:38 +0000 (20:58 +0000)]
staging.bbclass: Only clean out the sysroot if we rerun configure, not at setscene time

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate: Ensure stale stamp files are removed as part of sstate_clean()
Richard Purdie [Thu, 27 Jan 2011 20:57:54 +0000 (20:57 +0000)]
sstate: Ensure stale stamp files are removed as part of sstate_clean()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Avoid starvation of events to the server
Richard Purdie [Fri, 28 Jan 2011 10:21:41 +0000 (10:21 +0000)]
bitbake/runqueue.py: Avoid starvation of events to the server

The server UI was reading 1024 bytes, then sleeping for 0.25 seconds. Since
most new LogRecord events are larger than this it leads to a build up of data
which is only processed slowly, leading to a bottleneck and a slow down of
all bitbake processes.

Thanks to Dongxiao Xu <dongxiao.xu@intel.com> for the great work in debugging
this. A large value has been left in for the read() command just to ensure some
fairness amongst process handling if a task tries to log truly huge amounts of
data to the server, or goes crazy and ensures the main loop doesn't stall.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate.bbclass: Fix stupid typo
Richard Purdie [Thu, 27 Jan 2011 23:26:10 +0000 (23:26 +0000)]
sstate.bbclass: Fix stupid typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate.bbclass: No need to dump the contents of the sstate package to stdout
Richard Purdie [Thu, 27 Jan 2011 22:38:11 +0000 (22:38 +0000)]
sstate.bbclass: No need to dump the contents of the sstate package to stdout

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate.bbclass: Handle whitespace in the list of files to 'fixup' to resolve log...
Richard Purdie [Thu, 27 Jan 2011 22:34:52 +0000 (22:34 +0000)]
sstate.bbclass: Handle whitespace in the list of files to 'fixup' to resolve log warning

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoBerkleyDB: Uprev db from 4.2 to 5.1.19
Mark Hatle [Sun, 16 Jan 2011 03:14:46 +0000 (21:14 -0600)]
BerkleyDB: Uprev db from 4.2 to 5.1.19

The latest version of Berkley DB (5.1.19) is required by RPM.  This version
is backwards compatible with the 4.2 version that was enabled previously.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoofono: Fix missing dependency on udev
Saul Wold [Wed, 26 Jan 2011 03:08:01 +0000 (19:08 -0800)]
ofono: Fix missing dependency on udev

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoiputils: upgrade to s20101006
Yu Ke [Tue, 25 Jan 2011 04:52:08 +0000 (12:52 +0800)]
iputils: upgrade to s20101006

- change the src_uri md5/sha256 checksum
- remove the CVE patch, since it is already in upstream

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agowebkit-gtk: upgrade to 1.3.7
Zhai Edwin [Fri, 14 Jan 2011 07:35:17 +0000 (15:35 +0800)]
webkit-gtk: upgrade to 1.3.7

Also update some local files from upstream, and add nodolt.patch to fix build error.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoeds-dbus: Do not disable old API after upgrading gtk+
Zhai Edwin [Thu, 16 Dec 2010 02:32:41 +0000 (10:32 +0800)]
eds-dbus: Do not disable old API after upgrading gtk+

This avoid build error due to defination missing.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agogtk+: Update to 2.22.1
Zhai Edwin [Mon, 22 Nov 2010 06:26:56 +0000 (14:26 +0800)]
gtk+: Update to 2.22.1

Remove disable-gio-png-sniff-test.diff as it alreay in upstream. gdk-pixbuf in
gtk+ is separated as another stand-alone package, so remove it.

In future need only pick up stable version(even number like 2.20.x, 2.22.x).

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agosstate.bbclass: Optimise to check if the manifest exists without taking locks
Richard Purdie [Thu, 27 Jan 2011 20:52:33 +0000 (20:52 +0000)]
sstate.bbclass: Optimise to check if the manifest exists without taking locks

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoexternal-python-tarball: include multiprocessing module
Joshua Lock [Thu, 27 Jan 2011 13:03:33 +0000 (13:03 +0000)]
external-python-tarball: include multiprocessing module

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoperl: Remove ${MACHINE} dependency in compile and package.
Dongxiao Xu [Thu, 27 Jan 2011 07:53:47 +0000 (15:53 +0800)]
perl: Remove ${MACHINE} dependency in compile and package.

The judgement on ${MACHINE} is meaningless, remove it in order to avoid
being rebuild on second machine.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agobitbake/build.py: When looking up extra stamp info for setscene tasks, use the real...
Richard Purdie [Thu, 27 Jan 2011 11:20:50 +0000 (11:20 +0000)]
bitbake/build.py: When looking up extra stamp info for setscene tasks, use the real taskname

(Fixed based on a bug reported by Dongxiao Xu <dongxiao.xu@intel.com>)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorm_work.bbclass: Update to convert stamps to setscene stamps
Richard Purdie [Thu, 27 Jan 2011 11:05:14 +0000 (11:05 +0000)]
rm_work.bbclass: Update to convert stamps to setscene stamps

We need to manipulate the stamps when removing WORKDIR to indicte that
tasks like compile or install can't just rerun. The most effective method
to do this is to convert the layout to match that which would have been the
case had the system been build from sstate packages.

For example, we'd task stamps like:

xxx-1.4.7-r3.do_compile
xxx-1.4.7-r3.do_configure
xxx-1.4.7-r3.do_fetch
xxx-1.4.7-r3.do_generate_toolchain_file
xxx-1.4.7-r3.do_install
xxx-1.4.7-r3.do_package.emenlow
xxx-1.4.7-r3.do_package_write
xxx-1.4.7-r3.do_package_write_ipk
xxx-1.4.7-r3.do_package_write_rpm
xxx-1.4.7-r3.do_patch
xxx-1.4.7-r3.do_populate_sysroot.emenlow
xxx-1.4.7-r3.do_setscene
xxx-1.4.7-r3.do_unpack

and after rm_work, we'd have stamps of:

xxx-1.4.7-r3.do_package_setscene.emenlow
xxx-1.4.7-r3.do_package_write_ipk_setscene
xxx-1.4.7-r3.do_package_write_rpm_setscene
xxx-1.4.7-r3.do_populate_sysroot_setscene.emenlow

We also need to handle stamps in the form xxx-1.4.7-r3.do_package.MACHINE.TASKHASH
as used by some signature generators.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoautotools.bbclass: Drop unused autotools_stage_dir dummy function
Richard Purdie [Wed, 26 Jan 2011 15:38:31 +0000 (15:38 +0000)]
autotools.bbclass: Drop unused autotools_stage_dir dummy function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoautotools.bbclass: Only include aclocal directories if the exist, no point in creatin...
Richard Purdie [Wed, 26 Jan 2011 15:35:58 +0000 (15:35 +0000)]
autotools.bbclass: Only include aclocal directories if the exist, no point in creating them

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosend-pull-request: ensure a proper FROM header is included
Darren Hart [Wed, 26 Jan 2011 17:42:33 +0000 (09:42 -0800)]
send-pull-request: ensure a proper FROM header is included

Commit 94629f2521711055b412f954af19e48b9bda6e50 removes the FROM header when
sending via sendmail to avoid sending mail as the original change committer (as
opposed to the local user). This resulted in mail going out without any FROM
header, which some mailing lists correct by adding the *bounce address as the
FROM.

Correct this by reading FROM from the environment, from a new -f argument, or
from the git user.name and user.email config settings, in that order of
preference. Also display the FROM that will be used prior to the send
confirmation.

This has no effect if the -g (send via git) argument is specified, other than
printing the git sendemail.from config setting.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Reported-by: Saul Wold <saul.wold@intel.com>
14 years agometa-toolchain: Fix tar command
Richard Purdie [Wed, 26 Jan 2011 12:23:10 +0000 (12:23 +0000)]
meta-toolchain: Fix tar command

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/unlockfile: Fix exception handling
Richard Purdie [Wed, 26 Jan 2011 12:20:14 +0000 (12:20 +0000)]
bitbake/unlockfile: Fix exception handling

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>