]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agosyslinux: improve packaging
Otavio Salvador [Mon, 2 May 2011 19:09:15 +0000 (19:09 +0000)]
syslinux: improve packaging

Usually only parts of syslinux are used by products and thus syslinux
can be greatly reduced in size. This changes does it as:

 - syslinux: syslinux binary
 - syslinux-extlinux: extlinux binary
 - syslinux-mbr: mbr.bin
 - syslinux-chain: chain.c32
 - syslinux-pxelinux: pxelinux.0
 - syslinux-isolinux: isolinux.bin

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoscripts/oe-setup-builddir: fix typo
Otavio Salvador [Mon, 2 May 2011 19:09:14 +0000 (19:09 +0000)]
scripts/oe-setup-builddir: fix typo

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agopackage_rpm: use target vendor information
Adrian Alonso [Thu, 5 May 2011 18:14:31 +0000 (13:14 -0500)]
package_rpm: use target vendor information

* Instead of hardcoding target vendor string "-poky"
  use TARGET_VENDOR information in case of using external
  toolchains

Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
13 years agoimage-mklibs: add microblaze arch support
Adrian Alonso [Thu, 5 May 2011 16:45:14 +0000 (11:45 -0500)]
image-mklibs: add microblaze arch support

* In function mklibs_optimize_image_doit
* Add microblaze arch case for setting the dynamic_loader
  used by "mklibs" call

Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
13 years agolinux-libc-headers: add microblaze ARCH definition
Adrian Alonso [Thu, 5 May 2011 16:32:30 +0000 (11:32 -0500)]
linux-libc-headers: add microblaze ARCH definition

* Add Microblaze ARCH definition
* Bump PR

Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
13 years agositeinfo: add microblaze target info
Adrian Alonso [Thu, 5 May 2011 16:29:33 +0000 (11:29 -0500)]
siteinfo: add microblaze target info

* Add microblaze target info
* Microblaze soft CPU can be configured as big-endian/little-endian
* Currently target info support for microblaze big endian, using prebuilt
  toolchains.

Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
13 years agokernel-arch: add microblaze to valid archs
Adrian Alonso [Thu, 5 May 2011 16:27:55 +0000 (11:27 -0500)]
kernel-arch: add microblaze to valid archs

* Add Microblaze target to valid arch list definition

Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
13 years agoinsane: add micrblaze target info
Adrian Alonso [Thu, 5 May 2011 16:26:28 +0000 (11:26 -0500)]
insane: add micrblaze target info

* package_qa_get_machine_dict
* Add microblaze dic entry for QA
* Prebuilt toolchain triplet microblaze-unknown-linux-gnu-
* TARGET_OS is linux-gnu for this toolchain

Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
13 years agolttng-ust_0.12.bb: Fix compilation on uclibc
Khem Raj [Fri, 6 May 2011 22:17:25 +0000 (15:17 -0700)]
lttng-ust_0.12.bb: Fix compilation on uclibc

We provide alternative implementation of sched_getcpu()
when compiling for uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoliburcu_0.5.4.bb: Let it build on uclibc targets
Khem Raj [Fri, 6 May 2011 05:24:40 +0000 (22:24 -0700)]
liburcu_0.5.4.bb: Let it build on uclibc targets

uclibc requires -D_GNU_SOURCE to be defined for it
to enable GNU extensions which CPU_SET/CPU_ZERO are
used by this package. So we add -D_GNU_SOURCE to
CFLAGS when compiling for uclibc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agolibgalago_0.5.2.bb: Fix compile for uclibc
Khem Raj [Fri, 6 May 2011 05:10:22 +0000 (22:10 -0700)]
libgalago_0.5.2.bb: Fix compile for uclibc

uclibc targets may not have gettext but this package
still needs config.rpath during regenerating configury
so we provide it when libc is uclibc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agorecipes: Replace gconf-dbus with gconf
Khem Raj [Wed, 27 Apr 2011 16:22:05 +0000 (09:22 -0700)]
recipes: Replace gconf-dbus with gconf

Some distributions e.g. angstrom do not support gconf-dbus
anymore since its now provided by gconf and in oe-core we
have PREFERRED_PROVIDER_gconf tunable, here we replace all
dependencies on gconf-dbus with gconf, which should work
in both cases where poky defines
PREFERRED_PROVIDER-gconf = "gconf-dbus" and for angstrom
it is simply gconf

Without this meta-toolchain-sdk ends up with conflicts in
runqueue and does not build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoqemu-script: Fix qemu seg fault if install Nvidia proprietary driver.
Zhai Edwin [Fri, 6 May 2011 07:20:55 +0000 (15:20 +0800)]
qemu-script: Fix qemu seg fault if install Nvidia proprietary driver.

This fix works on Ubuntu, and other distro can add its own path of Mesa's libGL

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agorsync (GPLv2): fix security vulnerability CVE-2007-4091
Dexuan Cui [Tue, 10 May 2011 02:34:41 +0000 (10:34 +0800)]
rsync (GPLv2):  fix security vulnerability CVE-2007-4091

Added a patch to fix
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-4091

[YOCTO #984] is partially fixed by this commit.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agou-boot: correct COPYING MD5SUM
Darren Hart [Fri, 6 May 2011 18:39:02 +0000 (11:39 -0700)]
u-boot: correct COPYING MD5SUM

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agogettext.bbclass, bitbake.conf: Append nls options to EXTRA_OECONF instead of +=
Khem Raj [Thu, 5 May 2011 16:57:56 +0000 (09:57 -0700)]
gettext.bbclass, bitbake.conf: Append nls options to EXTRA_OECONF instead of +=

Some recipes do not defined EXTRA_OECONF in such cases += drops
the --enable|--disable-nls options. In another case where recipe
defines EXTRA_OECONF instead of adding/appending to it then
--enable|--disable-nls options are lost from EXTRA_OECONF

We define EXTRA_OECONF = "" in bitbake.conf so the variable exists
always.

We use _append instead of += so the option is added at very end
and not lost.

We only return empty gettext dependencies if its a target recipe
in case when USE_NLS is not set because the native/cross/nativesdk recipes still
need the gettext dependencies

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agobash.inc: Add bison-native to DEPENDS
Tom Rini [Wed, 4 May 2011 22:21:54 +0000 (15:21 -0700)]
bash.inc: Add bison-native to DEPENDS

This is f0652d96ff5c3b08b8e4c4972f7fb0296df6d898 from OE.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agosysstat.inc: Switch to inherit gettext
Tom Rini [Wed, 4 May 2011 19:28:52 +0000 (12:28 -0700)]
sysstat.inc: Switch to inherit gettext

This needs to use both virtual/libnl as well as gettext-native in order
to build.  So we switch to using inherit gettext.

This is 4a022cf3fe3e39aab478bfc13332d358ed80348c from OE where it was tested
with qemuarm+angstrom-2010.x+eglibc and qemuarm+minimal-uclibc.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agobinutils.inc: Switch to TARGET_PREFIX not TARGET_SYS
Tom Rini [Wed, 4 May 2011 19:28:25 +0000 (12:28 -0700)]
binutils.inc: Switch to TARGET_PREFIX not TARGET_SYS

When TARGET_PREFIX and TARGET_SYS didn't match up, the symlinks and
update-alternatives weren't working.  TARGET_PREFIX is what we use when
configuring so it's what we should be using here.

This is 79b497edc0ce5d54db564818e59b690d3391d6ce from OE.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agogcc-package-target: Switch to TARGET_PREFIX in symlinks
Tom Rini [Wed, 4 May 2011 19:26:12 +0000 (12:26 -0700)]
gcc-package-target: Switch to TARGET_PREFIX in symlinks

When TARGET_PREFIX and TARGET_SYS didn't match up, the symlinks we made
were invalid.  TARGET_PREFIX is what we use when configuring so it's what we
should be using here.

This is 05143e9b5d0a42e32ee0dd3c7fde482ff8d63f63 from OE.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agopackage.bbclass: convert unpackaged file message from 'info' to 'warn' so that it...
Koen Kooi [Fri, 6 May 2011 14:48:28 +0000 (16:48 +0200)]
package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoconf/layer.conf: Use .= to append to BBPATH and += for BBFILES
Khem Raj [Fri, 6 May 2011 05:00:53 +0000 (22:00 -0700)]
conf/layer.conf: Use .= to append to BBPATH and += for BBFILES

This helps bitbake in organising BBPATH and BBFILES with given
BBFILE_PRIORITY order

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agognu-config-native: add dependency on perl-native
Dexuan Cui [Tue, 12 Apr 2011 02:39:42 +0000 (10:39 +0800)]
gnu-config-native: add dependency on perl-native

Fixes [YOCTO #968]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agobinutils: update upstream status of patches
Nitin A Kamble [Fri, 6 May 2011 03:26:47 +0000 (20:26 -0700)]
binutils: update upstream status of patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agogcc-4.5.1: update upstream status of patches
Nitin A Kamble [Fri, 6 May 2011 03:26:03 +0000 (20:26 -0700)]
gcc-4.5.1: update upstream status of patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agosat-solver: fix compilation issue with gcc 4.6.0
Nitin A Kamble [Fri, 6 May 2011 03:24:29 +0000 (20:24 -0700)]
sat-solver: fix compilation issue with gcc 4.6.0

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agosubversion: update upstream status for patches
Nitin A Kamble [Tue, 3 May 2011 22:57:14 +0000 (15:57 -0700)]
subversion: update upstream status for patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agopython-imaging: update upstream status for patches
Nitin A Kamble [Tue, 3 May 2011 22:54:41 +0000 (15:54 -0700)]
python-imaging: update upstream status for patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agopatch: update upstream status for patches
Nitin A Kamble [Tue, 3 May 2011 22:52:51 +0000 (15:52 -0700)]
patch: update upstream status for patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agopatch-2.6.1: update patch upstream status
Nitin A Kamble [Tue, 3 May 2011 22:48:13 +0000 (15:48 -0700)]
patch-2.6.1: update patch upstream status

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agolibpcre: update upstream status for patches
Nitin A Kamble [Tue, 3 May 2011 22:42:51 +0000 (15:42 -0700)]
libpcre: update upstream status for patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agogtkhtml2, web: Sync version for API Change
Saul Wold [Fri, 6 May 2011 02:09:05 +0000 (19:09 -0700)]
gtkhtml2, web: Sync version for API Change

Sync up the css_parser API between web and gtkhtml2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoclutter-gst-1.4: Add missing patch
Saul Wold [Thu, 5 May 2011 17:49:33 +0000 (10:49 -0700)]
clutter-gst-1.4: Add missing patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogit: make it work on the target
Koen Kooi [Sat, 30 Apr 2011 08:21:15 +0000 (10:21 +0200)]
git: make it work on the target

Packaging is synced with OE .dev, but without the -large, thanks to pseudo we retain all (hard)links properly:

* git-perltools holds all the utils requiring perl and adds appropriate RDEPENDS
* git-tk holds the tcl/tk utils once they get activate
* git now packages /usr/libexec/git-core

The result:

8.5M ipk/armv7a/git_1.7.4.3-r2_armv7a.ipk
3.1M ipk/armv7a/git-dbg_1.7.4.3-r2_armv7a.ipk
4.0K ipk/armv7a/git-dev_1.7.4.3-r2_armv7a.ipk
12K ipk/armv7a/git-doc_1.7.4.3-r2_armv7a.ipk
136K ipk/armv7a/git-perltools_1.7.4.3-r2_armv7a.ipk

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agosanity.bbclass: Add cpio to list of required utilities tested for
Richard Purdie [Sat, 7 May 2011 08:05:57 +0000 (09:05 +0100)]
sanity.bbclass: Add cpio to list of required utilities tested for

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoboot-directdisk: fix bzImage source location
Tom Zanussi [Thu, 5 May 2011 03:42:26 +0000 (22:42 -0500)]
boot-directdisk: fix bzImage source location

Fixes yocto [BUGID #876]

boot-directdisk.class looks in the wrong location for the bzImage to
install.  Make it look in the right place.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
14 years agolinux-yocto: update SRCREVs
Bruce Ashfield [Thu, 5 May 2011 04:36:37 +0000 (00:36 -0400)]
linux-yocto: update SRCREVs

Updating the linux-yocto/2.6.37 SRCREVs to pickup:

    perf tool: Fix gcc 4.6.0 issues

    1/1 [
    Author: Kyle McMartin
    Email: kyle@mcmartin.ca
    Subject: perf tool: Fix gcc 4.6.0 issues
    Date: Thu, 5 May 2011 00:06:01 -0400

    commit fb7d0b3cefb80a105f7fd26bbc62e0cbf9192822 upstream.

    GCC 4.6.0 in Fedora rawhide turned up some compile errors in tools/perf
    due to the -Werror=unused-but-set-variable flag.

    I've gone through and annotated some of the assignments that had side
    effects (ie: return value from a function) with the __used annotation,
    and in some cases, just removed unused code.

    In a few cases, we were assigning something useful, but not using it in
    later parts of the function.

    kyle@dreadnought:~/src% gcc --version
    gcc (GCC) 4.6.0 20110122 (Red Hat 4.6.0-0.3)

Cc: Ingo Molnar <mingo@redhat.com>
    LKML-Reference: <20110124161304.GK27353@bombadil.infradead.org>
Signed-off-by: Kyle McMartin <kyle@redhat.com>
    [ committer note: Fixed up the annotation fixes, as that code moved recently ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    [Backported to 2.6.38.2 by deleting unused but set variables]
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    [Backported to linux-yocto kernel git version]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: safely process unbranched repositories
Bruce Ashfield [Fri, 8 Apr 2011 04:01:35 +0000 (00:01 -0400)]
linux-yocto: safely process unbranched repositories

The BSP bootstrap and -dev use cases can be applied against
unbranched or repos without meta data. To allow the proper
and safe processing of those repositories, slight modifications
to the tools are required to pass the branch on the command
line (rather than detecting it always) and to only checkout
branches that exist.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: apply meta data to external repos
Bruce Ashfield [Mon, 4 Apr 2011 03:50:19 +0000 (23:50 -0400)]
linux-yocto: apply meta data to external repos

To support quick uprev and testing, it is desireable to build
repositories that do not have embedded meta data. In this scenario
the meta data can be automatically created or provided externally.
This commit supports the first situation by detecting the lack
of meta data and then automatically creating a base set of meta
files.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agognome-doc-utils: Add -nonet option to xsltproc
Scott Garman [Thu, 5 May 2011 04:23:35 +0000 (21:23 -0700)]
gnome-doc-utils: Add -nonet option to xsltproc

This adds the -nonet option to xsltproc invocations, which fixes
compile errors when building gnome-doc-xslt-de.omf.

Also add intltool-native to DEPENDS, which was discovered to be
needed when building this recipe.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoyaffs2-utils_cvs: fix the SRCDATE typo
Yu Ke [Thu, 5 May 2011 00:32:59 +0000 (08:32 +0800)]
yaffs2-utils_cvs: fix the SRCDATE typo

SRCDAT should be SRCDATE, thanks Frans to point out

Cc: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Yu Ke <ke.yu@intel.com>
Update to 20110505

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoweb: fix SRCREV
Saul Wold [Thu, 5 May 2011 01:19:09 +0000 (18:19 -0700)]
web: fix SRCREV

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agogypsy_0.8.bb: Fix build with gcc 4.6
Khem Raj [Wed, 4 May 2011 17:36:19 +0000 (10:36 -0700)]
gypsy_0.8.bb: Fix build with gcc 4.6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoeglibc-2.13: Add recipes for eglibc 2.13
Khem Raj [Sat, 30 Apr 2011 20:41:51 +0000 (13:41 -0700)]
eglibc-2.13: Add recipes for eglibc 2.13

Add patch to correct fstack-protector configure check

Document all patches for eglibc 2.13

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoyaffs2: Update patch and checksums
Saul Wold [Wed, 4 May 2011 23:39:44 +0000 (16:39 -0700)]
yaffs2: Update patch and checksums

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoclutter-gtk-1.4: Rebase patches
Saul Wold [Wed, 4 May 2011 23:39:23 +0000 (16:39 -0700)]
clutter-gtk-1.4: Rebase patches

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoclutter-gst-1.4: Rebase patches and update checksum
Saul Wold [Wed, 4 May 2011 23:38:57 +0000 (16:38 -0700)]
clutter-gst-1.4: Rebase patches and update checksum

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoghostscript: added to pass LSB commands check
Kang Kai [Tue, 3 May 2011 08:50:40 +0000 (16:50 +0800)]
ghostscript: added to pass LSB commands check

Add ghostscript to pass LSB commands check and Printing test, and
ghostscript-native is added to help cross compilation.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agofoomatic-filters: added to pass LSB commands check
Kang Kai [Tue, 3 May 2011 08:45:21 +0000 (16:45 +0800)]
foomatic-filters: added to pass LSB commands check

foomatic-filters provided foomatic-rip to pass LSB commands check
Part fixes [Yocto 520]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agogcc-4.6.0: Backport FSF 4.6 branch patches
Khem Raj [Sat, 30 Apr 2011 19:37:47 +0000 (12:37 -0700)]
gcc-4.6.0: Backport FSF 4.6 branch patches

This is set of bugfixes that has been done on
FSF gcc-4_2-branch since 4.6.0 was released

They will roll into 4.6.1 release once that
happens in coming approx 6 months time then
we can simply remove them thats the reason
so use a separate .inc file to define the
SRC_URI additions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agogcc-4.6.0: Add missing recipes for gcc-cross-canadian and gcc-crosssdk
Khem Raj [Sat, 30 Apr 2011 21:49:03 +0000 (14:49 -0700)]
gcc-4.6.0: Add missing recipes for gcc-cross-canadian and gcc-crosssdk

Reset PR in gcc-crosssdk-initial_4.6.0.bb and
gcc-crosssdk-intermediate_4.6.0.bb

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agolttng-viewer: explicitly add linkage to lttvwindow
Dexuan Cui [Tue, 3 May 2011 13:54:27 +0000 (21:54 +0800)]
lttng-viewer: explicitly add linkage to lttvwindow

Fixes [YOCTO #412]

Also update FILES_${PN}.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agotask-core-tools.bb: properly enable lttng-ust for ARM
Dexuan Cui [Tue, 3 May 2011 13:28:59 +0000 (21:28 +0800)]
task-core-tools.bb: properly enable lttng-ust for ARM

Fixes [YOCTO #856]

Commit 320a641df18024265c3d2b3b08251a231f9fd6a0 omitted the line when being
merged into master branch.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoinitscripts: remove -i from halt/reboot arguments and allow override
Paul Eggleton [Wed, 27 Apr 2011 16:34:17 +0000 (17:34 +0100)]
initscripts: remove -i from halt/reboot arguments and allow override

Introduces a variable HALTARGS which specifies the arguments sent to
halt and reboot, and sets the default value to "-d -f", dropping the
previous -i (shut down all network interfaces before halt/reboot, which
causes a freeze with NFS root.)

Fixes [YOCTO #997].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoutil-linux.inc: remove virtual/libintl from DEPENDS
Khem Raj [Fri, 1 Apr 2011 03:38:55 +0000 (20:38 -0700)]
util-linux.inc: remove virtual/libintl from DEPENDS

inherit gettext should do it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoRemove distro-specific metadata for distros not in oe-core
Paul Eggleton [Thu, 21 Apr 2011 14:04:58 +0000 (15:04 +0100)]
Remove distro-specific metadata for distros not in oe-core

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoRemove machine-specific metadata for machines no longer in oe-core
Paul Eggleton [Thu, 21 Apr 2011 13:32:45 +0000 (14:32 +0100)]
Remove machine-specific metadata for machines no longer in oe-core

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agopoky-default-revisions: move the SRCREV to recipe file
Yu Ke [Thu, 28 Apr 2011 07:15:58 +0000 (15:15 +0800)]
poky-default-revisions: move the SRCREV to recipe file

in this case, those non poky distro can also use these recipe normally

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agopython: Unbreak Python third-party extensions
Michael Lippautz [Tue, 3 May 2011 16:40:34 +0000 (18:40 +0200)]
python: Unbreak Python third-party extensions

This patch fixes compilation/linking of python third-party extensions, i.e.
Extensions that ship with C code.

Problem:
Python uses distutils(-native) to compile third-party extensions. distutils
uses its own sysconfig module to get the options for compiling and linking.
Since third-party extensions have to be linked against this libpython it
important that -L points into staging. This is not the case because
distutils.sysconfig uses a special Makefile that is shipped with python
determine the paths. The Makefile is the same that would be used on the
target to build third-party extensions. It therefore points into /usr/lib
instead of staging.

Solution:
Stage a modified version of the Makefile where the paths (incdir, libdir) have
been replaced by ones that point into staging.

Side-problem:
The recipe actually should not stage files itself in do_compile, but rather
handle everything that needs to be staged in do_install. This is currently not
possible because python compiles itself using distutils-native. Distutils on
the other hand does only allow to add a path, but not to substitute it,
requiring a staged Makefile and libpython.so before the actual python
compilation is triggered.

The second step to solve this would be to either patch distutils, or split
python into python-initial and python. The -initial part could create the
Makefile and the library, while the main part focuses on the target.

For further references see:
 http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/001752.html

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoqemuimagetest: Add executable permission to test scripts for toolchain
Jiajun Xu [Wed, 4 May 2011 01:25:49 +0000 (09:25 +0800)]
qemuimagetest: Add executable permission to test scripts for toolchain

The file mode bits of toolchain test scripts is 644, which could not be
executed by user. Fix the issue by adding executable permission(755) to
all test scripts for toolchain test.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoqemuimagetest: Enable toolchain automation tests in qemuimagetest
Jiajun Xu [Tue, 3 May 2011 02:07:30 +0000 (10:07 +0800)]
qemuimagetest: Enable toolchain automation tests in qemuimagetest

Enable toolchain automation tests in qemuimagetest framework. 3 C/C++ test
projects are added to test toolchain - cvs, iptables and sudoku-savant. User
needs to set TEST_SCEN to "toolchain" in local.conf to enable tests. Test case
will check if toolchain tarball exists under "${DEPLOY_DIR}/sdk". And it will
extract toolchain tarball into /opt. It requires user to chown /opt to non-root
user, who will run qemuimagetest.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

14 years agoperl: fix Configure-multilib.patch
Saul Wold [Tue, 3 May 2011 18:45:58 +0000 (11:45 -0700)]
perl: fix Configure-multilib.patch

Thanks to Gary Thomas for his input on fixing this for Ubuntu 11.04

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoperl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
Khem Raj [Fri, 18 Mar 2011 05:40:15 +0000 (22:40 -0700)]
perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha

Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and
/lib/${arch}-linux-gnu so we need that to be added to glibpth in
Configure.

Currently we set LD=ld in environment for recipes inheriting native
class. This overrides the LD settings in the Makefiles of perl and
it tries to link by calling ld which does not work since its using
-l<x> on commandline and ubuntu linker seems not to look into
the new location for these libraries. Its better to use gcc for linking
here anyway

[With tweak from Tom Rini to use CCLD, not LD]
(From OE-Core rev: 8ba700a4c593fd52bd01b6272b4c8285a71964f7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further tweaks to Configure-multilib.patch for x86_64 vs x86
from Gary Thomas

Cc: gary@mlbassoc.com
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolibsoup-2.4: Update to 2.34.1
Saul Wold [Tue, 3 May 2011 18:27:34 +0000 (11:27 -0700)]
libsoup-2.4: Update to 2.34.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolinuxdoc-tools-native: add groff-native to DEPENDS
Saul Wold [Tue, 3 May 2011 17:13:35 +0000 (10:13 -0700)]
linuxdoc-tools-native: add groff-native to DEPENDS

groff-native is needed to ensure that configure finds
the groff-native binary instead of the host's groff,
this is to ensure the correct macros are used (-ms vs -mgs)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopuzzles: update to r9163
Saul Wold [Mon, 2 May 2011 20:41:37 +0000 (13:41 -0700)]
puzzles: update to r9163

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoalsa-utils_1.0.24.2.bb: Fix build for uclibc targets
Khem Raj [Sat, 30 Apr 2011 18:19:59 +0000 (11:19 -0700)]
alsa-utils_1.0.24.2.bb: Fix build for uclibc targets

uclibc does not have exp10() implemented so we obtain
same behaviour using pow()

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agolibx11: Use inherit gettext
Khem Raj [Thu, 28 Apr 2011 23:37:20 +0000 (16:37 -0700)]
libx11: Use inherit gettext

Avoid direct depependency on gettext, inherit class instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoinsane.bbclass: Checking for NLS too when checking gettext dependency
Khem Raj [Fri, 22 Apr 2011 18:28:08 +0000 (11:28 -0700)]
insane.bbclass: Checking for NLS too when checking gettext dependency

Checking for gettext is not needed when --disable-nls is used

Let user know what variant of gettext is missing e.g. gettext-native,
gettext-nativesdk etc, reveals a bit more for user

Check for virtual/gettext

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agogit: use DESTDIR=$D instead prefixing all variables by $D
Martin Jansa [Fri, 29 Apr 2011 10:13:46 +0000 (12:13 +0200)]
git: use DESTDIR=$D instead prefixing all variables by $D

* with git-native and rm_work enabled I've noticed git fetcher errors like:
  warning: templates not found /OE/shr-core/tmp/work/x86_64-linux/git-native-1.7.3.4-r0/image/OE/shr-core/tmp/sysroots/x86_64-linux/usr/share/git-core/templates
  fatal: Unable to find remote helper for 'http'
  for every recipe using http:// for git repo
* after this change template_dir points to
  /OE/shr-core/tmp/sysroots/x86_64-linux/usr/share/git-core/templates
  without that workdir prefix
* haven't tested target recipe, but I guess it needs different fix or
  maybe it worked before and gets broken by this change

[sgw: removed RFC comment, target patch to follow]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoLSB_Setup.sh: Add character set to lsb-image
Xiaofeng Yan [Fri, 29 Apr 2011 09:39:09 +0000 (17:39 +0800)]
LSB_Setup.sh: Add character set to lsb-image

Add character set to lsb-image to solve bugs from lsb test

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agotask-core-lsb.bb: Add packages liberation-fonts to lsb-imag
Xiaofeng Yan [Fri, 29 Apr 2011 09:34:52 +0000 (17:34 +0800)]
task-core-lsb.bb: Add packages  liberation-fonts to lsb-imag

Add font set to lsb-image to solve bugs from lsb test

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agolibcap: upgrade to version 2.20
Qing He [Fri, 29 Apr 2011 08:14:53 +0000 (16:14 +0800)]
libcap: upgrade to version 2.20

from 2.19
 - set RAISE_SETFCAP=no in make option to inhibit target binary run

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolzo: upgrade to version 2.05
Qing He [Fri, 29 Apr 2011 08:14:19 +0000 (16:14 +0800)]
lzo: upgrade to version 2.05

from 2.04

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoshared-mime-info: upgrade to version 0.90
Qing He [Fri, 29 Apr 2011 02:55:05 +0000 (10:55 +0800)]
shared-mime-info: upgrade to version 0.90

from 0.80
 - parallel build with 0.9 is buggy, disable part of the check for now

Signed-off-by: Qing He <qing.he@intel.com>
14 years agobusybox: upgrade to version 1.18.4
Qing He [Mon, 25 Apr 2011 06:06:48 +0000 (14:06 +0800)]
busybox: upgrade to version 1.18.4

from version 1.17.3
 - remove make-382-fix since it's upstreamed

Signed-off-by: Qing He <qing.he@intel.com>
14 years agocurl: upgrade to version 7.21.6
Qing He [Fri, 22 Apr 2011 02:07:25 +0000 (10:07 +0800)]
curl: upgrade to version 7.21.6

from 7.21.2

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoaugeas: upgrade to version 0.8.1
Qing He [Thu, 21 Apr 2011 09:27:06 +0000 (17:27 +0800)]
augeas: upgrade to version 0.8.1

from 0.7.4

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoacl: upgrade to version 2.2.51
Qing He [Thu, 21 Apr 2011 06:35:42 +0000 (14:35 +0800)]
acl: upgrade to version 2.2.51

from 2.2.49

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoattr: upgrade to version 2.4.46
Qing He [Thu, 21 Apr 2011 06:10:45 +0000 (14:10 +0800)]
attr: upgrade to version 2.4.46

from 2.4.44
 - remove the backported patch that is now in the tarball
 - prog path issue has also been fixed in the upstream

Signed-off-by: Qing He <qing.he@intel.com>
14 years agocreate-lsb-iamge:Fix bugs
Xiaofeng Yan [Fri, 29 Apr 2011 08:43:57 +0000 (16:43 +0800)]
create-lsb-iamge:Fix bugs

Change variables "${ARCH}" to "${1}"

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agonetbase: fix check for nfsroot in if-pre-up.d script
Paul Eggleton [Fri, 29 Apr 2011 09:33:32 +0000 (10:33 +0100)]
netbase: fix check for nfsroot in if-pre-up.d script

The if-pre-up.d/nfsroot script was no longer functioning correctly due to
a change in iproute2's installation of the "ip" executable. The script will
now function correctly regardless of whether ip is in /bin or /sbin.

Fixes [YOCTO #1006].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agologging: delete the oe(note|warn|fatal|debug) functions
Darren Hart [Fri, 29 Apr 2011 04:52:50 +0000 (21:52 -0700)]
logging: delete the oe(note|warn|fatal|debug) functions

The new logging.bbclass replaces the oe* logging functions with bb* equivalents.
There are no longer any users of the oe* API within oe-core. Remove the oe*
functions.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agologging: update existing oe* logging users to the bb* interface
Darren Hart [Fri, 29 Apr 2011 04:49:31 +0000 (21:49 -0700)]
logging: update existing oe* logging users to the bb* interface

The new bash logging class provides bbnote, bbwarn, bbfatal, and bbdebug
replacements (as well as bbplain and bberror) for the oe* equivalents. Use the
new bb* API in preparation to delete the oe* logging API.

This patch was automatically generated by a sed script. The result has been
visually inspected and used to build core-image-sato for qemux86.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agodistro_check.py: Fix some bugs in distro_check.py
Mei Lei [Thu, 28 Apr 2011 14:14:17 +0000 (22:14 +0800)]
distro_check.py: Fix some bugs in distro_check.py

The recipe meta-ide-support's alias is Poky, but not defined in distro_exceptions, this will lead an error.
The compare_in_distro_packages_list function omit a split process, this will lead to a form issue.
Change the log file generate way, use symbolic links link to the latest log file, instead of appending every log file in old log.

Signed-off-by: Mei Lei <lei.mei@intel.com>
14 years agoFix matchbox-panel-2 compile error
Gary Thomas [Thu, 28 Apr 2011 17:05:26 +0000 (11:05 -0600)]
Fix matchbox-panel-2 compile error

This patch is needed when building with GCC-4.6.0

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

>From 7337ecd4970f7d94080ad70b912bdb2742d2d7aa Mon Sep 17 00:00:00 2001
From: Gary Thomas <gary@mlbassoc.com>
Date: Thu, 28 Apr 2011 11:03:44 -0600
Subject: [PATCH] matchbox-panel: fix compile error with GCC-4.6.0

Upstream-Status: Pending

[sgw: added Upstream-Status]
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agotask-core-lsb: add xdg-utils into lsb image
Kang Kai [Wed, 27 Apr 2011 09:14:38 +0000 (17:14 +0800)]
task-core-lsb: add xdg-utils into lsb image

Add xdg-utils in task-core-lsb, for LSB command check.
Part fixes [Yocto 520]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agolsbsetup: add commands install_initd and remove_initd
Kang Kai [Wed, 27 Apr 2011 08:16:46 +0000 (16:16 +0800)]
lsbsetup: add commands install_initd and remove_initd

Add commands install_initd and remove_initd link to chkconfig, which
can handler LSB format init.d scripts. Needed by LSB commands check.
Bump PR to r2
Part fixes [Yocto 520]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agogroff: update to 1.20.1
Kang Kai [Wed, 27 Apr 2011 07:44:45 +0000 (15:44 +0800)]
groff: update to 1.20.1

Update groff to 1.20.1, add SUMMARY and LICENSE info
From OE 70bf94cd8669f549ca90581e9592d409b6e24e2e
Fixes [Yocto 879]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agoliberation-fonts: postinst can't be called offline
Ilya Yanok [Wed, 27 Apr 2011 22:56:59 +0000 (00:56 +0200)]
liberation-fonts: postinst can't be called offline

fc-cache should be called on target system. Or maybe we should pass a
suitable directory list to it?

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agocore-image-directdisk: add LIC_FILES_CHECKSUM
Tom Zanussi [Wed, 27 Apr 2011 14:50:35 +0000 (09:50 -0500)]
core-image-directdisk: add LIC_FILES_CHECKSUM

Fix for build failure.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
14 years agogettext.bbclass: Updates to better handle gettext alternatives
Richard Purdie [Tue, 3 May 2011 23:32:48 +0000 (00:32 +0100)]
gettext.bbclass: Updates to better handle gettext alternatives

* Change gettext dependency to virtual/gettext

* Ensure INHIBIT_DEFAULT_DEPS removes gettext dependencies

* Use BASEDEPENDS to ensure dependencies are added in native/nativesdk cases

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobase.bbclass: Create a BASEDEPENDS variable other classes can use to add to the base...
Richard Purdie [Tue, 3 May 2011 23:31:47 +0000 (00:31 +0100)]
base.bbclass: Create a BASEDEPENDS variable other classes can use to add to the base dependencies, avoiding native/nativesdk issues

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolibnss-mdns: add $D to postinst paths
Ilya Yanok [Wed, 27 Apr 2011 22:56:58 +0000 (00:56 +0200)]
libnss-mdns: add $D to postinst paths

Post installation script can be called during image creation so paths
should relative to $D.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolinux-yocto: create SMP config fragment
Bruce Ashfield [Wed, 27 Apr 2011 18:15:21 +0000 (14:15 -0400)]
linux-yocto: create SMP config fragment

Updating the meta SRCREVs to stage a SMP config fragment that
BSPs can use to add the functionality from layers.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoperl_5.12.2.bb: Undefine features not found in uclibc
Khem Raj [Fri, 1 Apr 2011 03:56:35 +0000 (20:56 -0700)]
perl_5.12.2.bb: Undefine features not found in uclibc

[sgw: cleaned whitespace issue, removed unneeded ;patch=1]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoqemu: Fix non-sdl/opengl build
Saul Wold [Wed, 27 Apr 2011 04:43:17 +0000 (21:43 -0700)]
qemu: Fix non-sdl/opengl build

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoworld-broken: add older clutters since we don't want clutter confusion
Saul Wold [Tue, 26 Apr 2011 22:48:27 +0000 (15:48 -0700)]
world-broken: add older clutters since we don't want clutter confusion

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoalsa-tools: Add checksums
Saul Wold [Tue, 26 Apr 2011 23:37:48 +0000 (16:37 -0700)]
alsa-tools: Add checksums

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agotidy: move old clutter demo to meta-demoapps
Saul Wold [Tue, 26 Apr 2011 23:30:04 +0000 (16:30 -0700)]
tidy: move old clutter demo to meta-demoapps

Signed-off-by: Saul Wold <sgw@linux.intel.com>