Commit Graph

8769 Commits

Author SHA1 Message Date
Richard Purdie 2501ff2565 local.conf.sample: Drop some comments about things that either no longer apply or are obsoleted (now we have -dbg packages)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-10 15:36:48 +00:00
Yu Ke 33df485498 mesa-dri-7.10: add missing dependency makedepend
mesa 7.10 has dependency on makedepend-native, so add it
to resolve the configure failure

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-10 15:27:50 +00:00
Yu Ke 8c2f3e043b mesa-xlib-7.10: add missing dependency makedepend
mesa 7.10 has dependency on makedepend-native, so add it
to resolve the configure failure

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-10 15:27:50 +00:00
Richard Purdie 5cac571791 rm_work.bbclass: Fix typo for package task directory preservation
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-10 12:21:37 +00:00
Richard Purdie 9d7aa1090c task-poky-apps-x11-pimlico: Webkit is huge and the compile time means it doesn't make sense in our demo sato image
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-02-10 12:01:04 +00:00
Richard Purdie 7b4150fe30 util-linux: Correctly prepend to PACKAGES and stop corrupting linux-util-native PACKAGES variable
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-02-10 12:01:04 +00:00
Richard Purdie 3323759def ncurses: Apply unifdef-native dependency to the task that uses it, not globally
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-02-10 12:01:04 +00:00
Richard Purdie d1a1635a45 package.bbclass: Only set recrdeptask for do_build if packaging is enabled for the recipe
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-02-10 12:01:04 +00:00
Richard Purdie 388a92bb7c debian.bbclass: Only set rdeptask for do_package if packaging is enabled
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-02-10 12:01:04 +00:00
Richard Purdie b1c0b3de20 pseudo: Add and use the 1.0 release version
Not using the git version has the advantage of removing several early bootstrap
dependencies such as git-native (which pulls in perl and openssl).

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-02-10 12:01:04 +00:00
Dexuan Cui 0b50dc8ed6 lttng-ust: fix ppc build by removing ppc specific time reading function
Here I introduced a patch from lttng mailing list to fix ppc build.
See the patch for more details.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-02-10 12:01:04 +00:00
Richard Purdie 296866c38e image-swab: Convert to attach strace to the process to obtain the required swabber data
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-10 11:51:48 +00:00
Mark Hatle d3d236b2bf Misc hard link fixes
I searched the various classes and looked for copies that should attempt to
preserve hardlinks.  This fixes the majority of this copies by switching to
using tar as the copy method.  It also has the side effect of preserving sparse
files.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-09 22:46:30 +00:00
Mark Hatle 3e6d91ece0 package.bbclass: Preserve hard links!
Hard links were not being preserved in the move from the install image
-> package copy.  Again they were being discarded in the package ->
packages-split copy as well.

By preserving the hard links we have the potential to save a ton of rootfs
space.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-09 22:46:30 +00:00
Richard Purdie 58ae42cbc3 lib.oe.path: Update copytree function to call shell commands since its twice as fast
As an added bonus, hardlinks between files in the tree will be preserved too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09 22:46:30 +00:00
Yu Ke bb3db5106d talloc: remove talloc recipe
mesa no long need talloc, so remove it

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-09 22:45:48 +00:00
Yu Ke 577c89365d mesa-xlib: upgrade to 7.10
- add patch to replace GPLv3 talloc with ralloc
- add SRC_URI checksum

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-09 22:45:48 +00:00
Yu Ke 97e288ff7f mesa-7.10: set mesa 7.10 as default instead of 7.8.2
originally mesa 7.8.2 is set as default because 7.10
has depency of GPLv3 talloc. since mesa 7.10 has resolved
the GPLv3 talloc dependency issue, it is safe to set 7.10
as default

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-09 22:45:47 +00:00
Yu Ke d64460afde mesa-dri-7.10: replace GPLv3 talloc with MIT-x licensed ralloc
mesa 7.10.1 devel branch has the patch to replace talloc with ralloc.
so add a patch to sync with 7.10.1 devel branch.

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-09 22:45:47 +00:00
Nitin A Kamble 068417289a image-mklibs.bbclass: add the library optimization functionality
If you want to enable the mklibs library size optimization for your image
then, edit the MKLIBS_OPTIMIZED_IMAGES line in the local.conf like this:

  MKLIBS_OPTIMIZED_IMAGES ?= "poky-image-minimal your-own-image"

Also this will enable the mklibs library size optimization for all images.

  MKLIBS_OPTIMIZED_IMAGES ?= "all"

on qemux86 machine this reduced the rootfs size of poky image-minimal
image from 7.9MB to 7.2MB. That is around 11% image foot print reduction.
That image had 38 elf executables. Generally the size optimization by
mklibs is reversely proportional to the number of elf executables in the
rootfs. So bigger images will see less optimization, and smaller images
will see large image size reductions.

Thanks to mark hatle for his help in implementation of this.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-09 22:45:47 +00:00
Saul Wold cfc4041988 makedepend: remove # from the beginning of DESCRIPTION lines
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-09 22:45:47 +00:00
Scott Garman b0c2d6fed4 xserver-kdrive.inc: add openssl to DEPENDS
This fixes the following configure error:
No suitable SHA1 implementation found

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-09 22:45:47 +00:00
Scott Garman 2fbcf14199 prelink: add transfig-native to DEPENDS
Building prelink's documentaiton requires fig2dev, which is
provided by transfig-native.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-09 22:45:46 +00:00
Scott Garman c7de36585e transfig: new recipe v3.2.5d
Transfig provides fig2dev, which is used when building
documentation for many packages.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-09 22:45:46 +00:00
Scott Garman fbf6c30fb7 imake: add native support to recipe and update DEPENDS
xorg-cf-files includes configuration files used by imake-based
recipes. Also add native support to the recipe.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-09 22:45:46 +00:00
Scott Garman 98dec6e889 libxpm: add native support to recipe
The native recipe is needed by the transfig-native dependency chain.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-09 22:45:46 +00:00
Scott Garman 26e3ce2991 libxext: add native support to recipe
The native recipe is needed by the transfig-native dependency chain.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-09 22:45:46 +00:00
Scott Garman 38eaf20166 xorg-cf-files: new recipe v1.0.4
This package includes configuration files needed for old x11
imake-based packages - transfig in particular.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-09 22:45:46 +00:00
Darren Hart 27b3f0813b uboot: move license data into recipe with SRC_URI
The LIC_CHKSUM_FILES are specific to the source determined by SRC_URI. As such,
keep all the license information together with the SRC_URI. This also avoids
confusion from having these defined in both the .inc and the .bb files. The
CHKSUM got out of date in u-boot_git.bb, so update it while we're at it.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Ilya Yanok <yanok@emcraft.com>
CC: Gary Thomas <gary@mlbassoc.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09 22:44:52 +00:00
Darren Hart 6b76ceed14 uboot: build with -O2 on all architectures
The -Os option was disabled due to a bug in gcc building bad binaries for ARM
in an earlier commit:

f2dc7fadd8

This caused problems for powerpc which was resolved by replacing -Os with
-O2 for that architecture:

d0eb6794d9

Using -O2 also works for ARM, so there is no need to condition using -O2 on
powerpc. Remove the condition and use -O2 on all architectures.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Ilya Yanok <yanok@emcraft.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09 22:44:52 +00:00
Darren Hart ba163a4378 kernel.bbclass: use defconfig if it exists
It is common enough to want to apply a defconfig if the inheriting
recipe provides it. If the file exists in the $WORKDIR, copy it
over to ${S}/.config provided the target does not already exist.

This allows for recipes derived from kernel.bbclass to manage the
.config on their own, such as linux.inc.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-09 22:44:52 +00:00
Darren Hart 8d1b4fe287 linux.inc: don't overwrite an existing uImage
If a valid uImage exists, don't overwrite it with Image.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-09 22:44:52 +00:00
Ilya Yanok d0eb6794d9 u-boot: compile with -O2 on PowerPC
gcc on PowerPC is currently compiled with -Os optimization disabled so
we have to use -O2 on PowerPC instead.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09 11:25:04 +00:00
Ilya Yanok 8bf1bf2189 u-boot: add LIC_FILES_CHKSUM
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09 11:24:58 +00:00
Richard Purdie 5f2cf65e65 linux/u-boot: Update LICENSE fields to specify GPL version
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09 11:23:51 +00:00
Ilya Yanok 07da5002f0 linux: add LIC_FILES_CHKSUM
Linux is licensed under GPL so add appropriate LIC_FILES_CHKSUM to
linux.inc file.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09 11:20:59 +00:00
Richard Purdie 082aff4753 Merge branch 'jzhang/i686' of ssh://git.pokylinux.org/poky-contrib 2011-02-09 11:18:28 +00:00
Richard Purdie 092f132a47 Merge branch 'jzhang/adt-repo' of ssh://git.pokylinux.org/poky-contrib 2011-02-09 11:18:13 +00:00
Bruce Ashfield ad987ff0f3 mpc8315-rdb: add dtb generation configuration
Fixes [BUGID #610]

dtb files were not being built for the mpc8315e-rdb, since they
weren't being configured into the machine. With this and the
related dtc fixes, we now get a dtb in the deployment directories.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-09 11:16:35 +00:00
Bruce Ashfield 15cce57a56 dtc: add LIC_FILES_CHKSUM to dtc-native
The new license processing rules error if dtc-native itself
doesn't have license information. Previously only the .inc
files contained this information, so we make a copy and leave
the existing license info to be removed pending further review.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-09 11:16:34 +00:00
Bruce Ashfield 970f3959d3 linux: factor dts/dtc/dtb handling into a specific include
Fixes [BUGID #610]

The powerpc linux-yocto kernels were not creating dtb images
in the deploy directories. This was due to two problems:

  - the dtb generation rules were not being configured
  - the boards were not specifying a device tree in their config

This change addresses the first point by factoring out the
dtb generation routines into a new include that can be used by
multiple recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-09 11:16:34 +00:00
Bruce Ashfield 1de7185d8e linux-yocto: streamline BSP bootstrapping
In order to build BSPs that were not already integrated into
the upstream linux yocto kernel AND keep the git fetcher happy,
some fairly complex anonymous python sections were required.

These sections cause problems with variable expansion and SRCREV
processing.

With the updated git fetcher code, we can streamline the BSP
boostrapping process and drop 99% of the anonymous python code.

This commit has the following changes to support BSP boot strapping
and simplication for existing BSPs.

   - KMETA is set per-recipe rather than in python code
   - undefined machines are no longer used, but instead common
     branch names are set per-recipe
   - fallback machine SRCREVs are present in the default revisions
     file
   - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in
     the local.conf for new BSPs instead of being programatically
     determined in the anonymous python.
   - No more explicity KMACHINE variable expansion and manipulation,
     since the tools and build phases no longer require it due
     to the per-recipe fallbacks.

Integrated/merged BSPs are unaffected by the changes and have been
regression tested.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

foo

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-09 11:16:34 +00:00
Bruce Ashfield 9ce72c28bb linux-yocto: streamline BSP bootstrapping
In order to build BSPs that were not already integrated into
the upstream linux yocto kernel AND keep the git fetcher happy,
some fairly complex anonymous python sections were required.

These sections cause problems with variable expansion and SRCREV
processing.

With the updated git fetcher code, we can streamline the BSP
boostrapping process and drop 99% of the anonymous python code.

This commit has the following changes to support BSP boot strapping
and simplication for existing BSPs.

   - KMETA is set per-recipe rather than in python code
   - undefined machines are no longer used, but instead common
     branch names are set per-recipe
   - fallback machine SRCREVs are present in the default revisions
     file
   - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in
     the local.conf for new BSPs instead of being programatically
     determined in the anonymous python.
   - No more explicity KMACHINE variable expansion and manipulation,
     since the tools and build phases no longer require it due
     to the per-recipe fallbacks.

Integrated/merged BSPs are unaffected by the changes and have been
regression tested.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

foo

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-09 11:11:07 +00:00
Koen Kooi 3150c5a0c2 binutils-cross-canadian.inc: disable -werror like -cross does
The error this works around is:

cc1: warnings being treated as errors
gas/config/tc-arm.c: In function 'parse_operands':
gas/config/tc-arm.c:1876:27: error: 'firsttype$defined' may be used uninitialized in this function
gas/config/tc-arm.c:1876:27: error: 'firsttype$index' may be used uninitialized in this function

Ideally it should get fixed properly, but let's mimic binutils-cross for now

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09 11:07:49 +00:00
Koen Kooi a20600d4bb bitbake.conf: fix SDK_NAME
It was using a '/' in a name variable, subtly breaking things like this:

populate_sdk.bbclass:
   mkdir -p ${SDK_DEPLOY}
   cd ${SDK_OUTPUT}
   tar --owner=root --group=root -cj --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .

Tar will error out since SDK_DEPLOY/DISTRO/ doesn't exist. Change the default to be more like the one from poky.conf, without the poky specific POKYLIBC.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09 11:07:37 +00:00
Jessica Zhang 4ed19cfd21 adt-installer: change to adopt the adt public repo directory layout
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-02-08 23:10:13 -08:00
Jessica Zhang 33b3e59632 local.conf: change i586 to i686 for 32bit SDK
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-02-08 11:48:20 -08:00
Mark Hatle 906285ff00 fetch2: Add SRPM knowledge
Enable the fetcher to be able to unpack and SRPM.  By default the system will
unpack the contents of the SRPM into the WORKDIR.

A new syntax "unpack=file" was developed for the SRC_URI, to allow for a
recipe to extract a specific file within an SRPM.  An unpack operation will
then be executed on the extracted file.

In order to apply extracted patches (or unpack files not specified with
unpack), you must specify the path using WORKDIR, i.e.:

file://${WORKDIR}/mypatch.patch

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-08 18:01:35 +00:00
Mark Hatle 2f3a7348b7 insane.bbclass: Fix config.log error message
[BUG #702]

The previous error message was confusing.  It was looking for both library and
include host contamination, but the message only indicated include files.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-08 17:53:15 +00:00
Richard Purdie 38878db3b0 linux-yocto-stable: Fix meta branch name
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-08 12:05:36 +00:00
Richard Purdie 65712be736 kernel-yocto: Ensure python code has awlays run before SRCPV is expanded
The python code in this class file needs to run before SRCPV is expanded
and calls into the fetcher are made. To so this we create a python function
and prepend a call to it before SRCPV's get_srcrev() call.

Ugly, ugly, ugly but the ordering is guaranteed.

If this doesn't happen, the fetcher can end up in two different states and
there may be caching implications of this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-08 12:05:36 +00:00
Richard Purdie bd2fd821a3 kernel-yocto/poky-default-revisions: Ensure SRCREV_machine is set for the kernels
If we don't do this and try to bring up a new machine we can trigger network
access to resolve the branch name to a revision which is undesireable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-08 12:05:36 +00:00
Tom Zanussi 6ec0e55375 init-live.sh: add 'coldplug' udev trigger
Fixes [BUGID #693]

The init-live.sh script starts udevd in init-live.sh:early_setup(),
but doesn't account for the possibility that the root device may have
already been registered by the kernel before udevd starts up.

If the device is detected after udevd starts up, everything's fine -
udevd gets the 'add' uevent for the device, the root image shows up at
e.g. /media/sda/rootfs.img, and the boot continues.

If however the device is detected before udevd starts up, udevd misses
the 'add' uevent and the root image never shows up, causing it to stay
in the 'waiting for removable media' loop forever.

The 'udevadm trigger' command is meant to be used to avoid this
situation, but init-live.sh doesn't use it.  Furthermore, since the
default was changed in udev 152 from 'add' to 'change', the command
needs to explicity name 'add' as the action.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-02-07 21:53:42 +00:00
Koen Kooi 36efa8933d rpm: catch up with fetcher2
Update the rpm recipe after the recent changes to the fetcher API. Koen wrote
the original patch, Richard cleaned it up and fixed it.

This code needs to be merged into the fetcher instead at some point soon.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-07 21:13:19 +00:00
Darren Hart 1d3fdc85c6 beagleboard: allow kernel provider override
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-07 16:52:41 +00:00
Bruce Ashfield 76c3514509 linux-yocto: uprev lttng to 2.6.37-lttng-0.242
commits: 7697c24..2e05e11
upstream: git://git.kernel.org/pub/scm/linux/kernel/git/compudj/linux-2.6-lttng.git

Update to lttng-0.242 for 2.6.37. Built and boot tested on all
architectures.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-07 16:52:41 +00:00
Nitin A Kamble 4816a02db4 mesa-demos: fix build issue with gcc dso linking change
All the libraries needs to be specified explicitely with the new gcc dso
linking change patch. This was causing build errors for this
recipe. Specifying the libpthread library explicitely for linking to work
without errors.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-07 16:52:41 +00:00
Mark Hatle d372eadfd3 util-linux: Add mount lock patch
Add the mount lock patch that moves the lock file from the potentially R/O
/etc, to the R/W /var/lock directory.

This resolves a problem when mounting when / (and /etc) is mounted R/O.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-07 16:52:41 +00:00
Mark Hatle fdb6a23ea0 sysfsutils: Merge bug fix
Merge a small bug fix located in the Fedora Core 9 version of this
package.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-07 16:52:41 +00:00
Mark Hatle 522d16a70f coreutils: Add various bug fixes
Add a number of bug fixes, mostly imported from Fedora and Wind River
Linux.

cp-i-u: fix unnecessary prompting
fix-install: Fix installing to a dangling symlink
i18n: li18nux/lsb compliance
ls-x: Fix incorrect output
overflow: Fix potential overflow in who command

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-07 16:52:41 +00:00
Mark Hatle 427472e980 busybox: Support DHCP refresh without restarting the interface
When the kernel is started using ip=dhcp, we want a way to be able to run
the udhcp client within busybox and not reset the interface.

When using the '-D' option to udhcpc, the defconfig script will be skipped
allowing the refresh without changing the network settings.

Also provide an initscript that can be used to detect ip=dhcp on the
kernel command line, if detected it will refresh the lease and set the
proper resolve.conf and related files, but not reset the interface.

Original code in Wind River Linux by Greg Moffatt <greg.moffat@windriver.com>

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-07 16:52:41 +00:00
Mark Hatle 5ade6c7de8 pseudo: Uprev pseudo and fix a few minor bugs
Uprev pseudo to the latest version.  This corrects a linking problem on
some newer host systems.

In addition, we add more detail to the local.conf.sample file to explain
the NO32LIBS and why someone would set it to 0.

Also fix a minor bug in pseudo that prevented it from building for the
target.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-07 16:52:40 +00:00
Richard Purdie af6480bdde distrodata: Update to new fetcher API
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-07 10:23:01 +00:00
Richard Purdie fbebb9a9cd utility-tasks: Update checkuri to new fetcher API
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-07 10:16:00 +00:00
Richard Purdie 32dbc70e86 kernel-yocto: 'standard' isn't a valid git branch name for a SRCREV, fix
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-07 09:32:44 +00:00
Richard Purdie 8e070a9a54 rpm: Update extra unpack code after fetcher changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-07 09:06:38 +00:00
Richard Purdie 984e90f4d7 meta/classes: Update classes to use new fetcher API
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-07 09:06:37 +00:00
Richard Purdie 604037de4b base.bbclass: Update after fetcher changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-07 09:06:35 +00:00
Richard Purdie b93683c910 bitbake.conf: Force git fetches to a new location after fetcher layout changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-07 00:58:44 +00:00
Richard Purdie 50387575ec poky.conf: Turn off mirror tarball generation by default
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-06 11:44:13 +00:00
Mark Hatle 66e6a9798e prelink: Temporary workaround for documentation build
This issue is really do to the timestamps of files being different
enough and that the make of the doc directory is being triggered by
this.

This is partly due to the new git fetcher laying the files down
differently.  Once this issue is resolve, this can be reverted.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-05 20:11:55 -08:00
Saul Wold 0fdcc509c5 Revert "iputils: enable generation of man pages"
This reverts commit 62337be30b.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-03 16:08:14 -08:00
Saul Wold 4cac153859 Revert "docbook-utils: new recipe v0.6.14"
This reverts commit 8b5e600141.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-03 16:08:14 -08:00
Saul Wold 7c64981ba6 Revert "docbook-utils: fix build errors"
This reverts commit 3eef847054.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-03 16:08:13 -08:00
Richard Purdie 51d7e314f8 package.bbclass: Optimise file dependency calculations to ignore locales and kernel modules as these never have dependencies we'd detect anyway
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-03 20:18:52 +00:00
Darren Hart 3a70078c36 beagleboard: set kernel provider to linux-yocto (2.6.37)
Support has been added for basic Beagleboard xM functionality,
including networking, to the linux-yocto kernel repository.
Tested on the Beagleboard xM.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-03 11:52:32 -08:00
Mark Hatle 8a52fda62f bitbake.conf & package.bbclass: Use default SUMMARY and DESCRIPTION
A new default SUMMARY and DESCRIPTION was defined for any package that
previously did not contain one.  This value is based on the original
SUMMARY_${PN} value.

The new default SUMMARY and DESCRIPTION is used as a basis for all of
the automatic summary and descriptions for the various package splits,
include ${PN}, ${PN}-dbg, ${PN}-dev, ${PN}-doc, and locales.

A recipe may also override any of the automatic summaries by simply
specifying the value.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-03 11:48:48 -08:00
Mark Hatle 9ee3c77f4e recipes-graphics: Add more detailed SUMMARY and DESCRIPTIONS
Add more detailed SUMMARY and DESCRIPTIONS to various graphics and
graphics related components.  I've recently gotten question from users
what something is, or why it was needed.. this should go a long way toward
answering those questions.

Many of the descriptions were taken directly from the upstream location,
where one was not available the Debian packages were consulted for
information.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-03 08:49:22 -08:00
Mark Hatle 30f5eead40 bitbake.conf: Fix missing NM definition
The definition of NM was missing, causing certain configure calls to revert
to using the host system's version of NM.  This can cause problems on some
MIPS based targets, but is theoretically wrong everywhere.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-03 08:49:22 -08:00
Bruce Ashfield 4714d02e38 linux-yocto: BSP updates
Updating for the sugarbay and beagleboard BSPs. To make the sugbay
inhert common-pc-64 generic config/changes/fixes it has been
branched in the kernel as yocto/standard/common-pc-64/sugarbar, as
a result, we'll bump the common-pc-64 to be yocto/standard/common-pc-64/base.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-03 08:49:21 -08:00
Joshua Lock acfef9301e gobject-introspection: fix DEPENDS
We need flex and bison to build gobject-introspection

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-03 08:49:21 -08:00
Saul Wold dc9f4dea96 mailx: Disable parallel make
When makeconfig is called multiple times via parallel make, it
causes the LIBS files to get corrupted.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-03 08:49:21 -08:00
Richard Purdie 9b2fd4b0fe license.bbclass: Add coverage by sstate code (also use cleandirs and dirs task attribures for directory handling)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-03 12:33:18 +00:00
Richard Purdie 1a559cbcca rm_work: Retain package and package-split directories to be consistent with sstate code
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-03 11:34:04 +00:00
Richard Purdie 4b793fff8e rootrs_rpm.bbclass: Disable createrepo for now due to this error:
| + createrepo /media/build2/builds/rptest/b4/tmp/deploy/rpm
| Traceback (most recent call last):
|   File "/media/build2/builds/rptest/b4/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", line 26, in <module>
|     import rpm
| ImportError: No module named rpm

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-03 11:24:19 +00:00
Scott Garman 3eef847054 docbook-utils: fix build errors
Fix build errors found in my first iteration of the recipe.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-03 10:04:35 +00:00
Koen Kooi efbaabd06c wpa-supplicant 0.7.3: fix packaging of dbus service files and fix layout variables
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-03 10:03:26 +00:00
Nitin A Kamble 5a16cb5fd6 libconvert-asn1-perl: upgrade from 0.21 to 0.22
And fix following issue caused by the upgrade

| Can't load '/build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/auto/File/Glob/Glob.so' for module File::Glob: /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/auto/File/Glob/Glob.so: wrong ELF class: ELFCLASS32 at /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/XSLoader.pm line 79.
|  at /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/File/Glob.pm line 96

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-02 17:55:18 +00:00
Nitin A Kamble 32121906e7 subversion: upgrade from 1.6.13 to 1.6 15
Rebased this patch to the newer code
	modified:   subversion/disable-revision-install.patch

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-02 17:55:01 +00:00
Richard Purdie 43addfd01d linux-yocto-stable: Update SRC_URI after fetcher changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-02 17:41:15 +00:00
Richard Purdie 8b5b3cca7d linux-yocto/linux-libc-headers-yocto: Adjust to git fetcher improvements
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-02 17:19:18 +00:00
Richard Purdie d1ed188123 autotools.bbclass: Drop info directory listings as they're going to be broken if generated at this point and cause file conflicts
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-02 16:56:24 +00:00
Richard Purdie 95f13b1687 package.bbclass: Ensure SUMMARY is written to pkgdata as well as DESCRIPTION
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-02 14:44:37 +00:00
Richard Purdie 1d3face8f2 cross-localedef-native: Fix do_move_ports since the definition of changes. Raises the question of whether we even need ports for this?
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-02 14:44:37 +00:00
Richard Purdie f33685f111 bitbake.conf: Set LC_ALL instead of requring bitbake or env scripts to do this
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-02 11:55:34 +00:00
Richard Purdie cb8153cccd elfutils: Clean up old versions which are no longer required
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-02 11:22:24 +00:00
Nitin A Kamble 6f6a2035f6 distro_Tracking: update as per current devel/toolchain recipes
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-01 23:47:00 -08:00
Saul Wold 845d49d109 gnome-doc-utils.inc: inherit gettext instead of DEPENDS
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-01 23:59:43 +00:00
Bruce Ashfield 95366e44c9 linux-yocto: export kernel configuration audit to the console
Fixes [BUGID #692]

Previously the information dumped by the kernel configuration audit
scripts was only placed in log files. This isn't as useful as it
could be, since they are rarely checked. This change takes the
output from kconf_check and explicitly displays it to the user.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-01 23:59:43 +00:00
Bruce Ashfield e4a4d9e984 mpc8315e-rdb: set UBOOT_ENTRYPOINT
Fixes [BUGID #685]

Although not used if the in kernel uImage is booted, it is
a good idea to set the UBOOT_ENTRYPOINT just as the other
uImage based boards do.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-01 23:59:43 +00:00
Mark Hatle d71f6fff17 rpm: Add relocation to rpm-native
[BUGID #668]

Use the create_wrapper to setup automatic run-time relocation of
rpm-native.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-01 23:59:42 +00:00
Saul Wold c22484279d glib-2.0: Add stable version 2.26.1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-01 23:59:42 +00:00
Saul Wold 50b9f87124 libfm: remove add_missing.patch as part of glib-2.0 downgrade
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-01 23:59:42 +00:00
Dongxiao Xu a196ab068f distro_tracking: update distro tracking fields
Add manual check date for recipes whose upstream vesion could not be
found automatically.

Also update glib-2.0 tracking data.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-02-01 23:59:42 +00:00
Koen Kooi 4db983142f opkg: Update to svn r596 to fix segfault when upgrading packages
The longlinks patch is upstream and and be removed now

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-01 23:59:42 +00:00
Nitin A Kamble e1a9c8fb03 mklibs-native: new recipe for optimizing size of library files
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-01 23:59:42 +00:00
Nitin A Kamble 0322d4c01b distro_tracking: update latest upstream versions
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-01 23:59:41 +00:00
Jingdong Lu bbfd012c1a cups: add cups 1.4.6
This package has been added from meta-openembedded committed by Koen Kooi.
Changes from the meta-openembedded version:
* Add SUMMARY
* Change dependence name: libusb
* Add PR

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-02-01 23:59:41 +00:00
Jingdong Lu c0811670ab libxml2: Enable "--with-legacy" for LSB test.
Enable "--with-legacy" in order to pass library check of LSB.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-02-01 23:59:41 +00:00
Jingdong Lu 0a12a3c0d2 msmtp: add msmtp 1.4.23
This package has been added from Open Embedded in order to replace sendmail.
Changes from the Open Embedded version:
* Update version to 1.4.23
* Add SUMMARY, LIC_FILES_CHKSUM

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-02-01 23:59:41 +00:00
Jingdong Lu 2254fd9645 mailx: add mailx 12.4
This package has been added from Open Embedded.
Changes from the Open Embedded version:
* Update version to 12.4(mailx has been replaced by heirloom-mailx)
* Add SUMMARY, LIC_FILES_CHKSUM
* Remove patch(install.patch)

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-02-01 23:59:41 +00:00
Kevin Tian ab3161839a at: allow normal user to use 'at'
fix [BUGID #675]

Similar to previous cronie changes, so far 'at' environment is also not
complete and only root user could trigger delayed tasks. Similar permission
changes are required for:
	/etc/at.deny
	/usr/bin/at
	/var/spool/at/

/usr/bin/at is setgid to 'daemon', to differentiate with cronie. So move
'at' out of 'cron' (/var/spool/cron/at -> /var/spool/at)

another fix is to rename /etc/init.d/at to atd which is more widely used
in other distros (also required by LTP test cases)

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2011-02-01 23:59:40 +00:00
Kevin Tian ede0009e7c cronie: enable multi-user crontab usage and make cron environment complete
fix [BUGID #673]

several cron related test cases in LTP reveals that our current cron recipe
is not complete:

a) a complete cron hierarchy better have:
     /etc/crontab
     /etc/cron.d
     /etc/cron.hourly
     /etc/cron.daily
     /etc/cron.weekly
     /etc/cron.monthly

b) for a normal user to use crontab command:
     add a new group - crontab
     /usr/bin/crontab is setgid to root:crontab
     /var/spool/cron is owned by root:crontab

below are optional, and thus not included in the default setup:
     /etc/cron.deny
     /etc/cron.allow

cronie by default only allows root user to use crontab, if neither cron.deny
nor cron.allow exists. They are controlled by final policy deployed on the
product.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2011-02-01 23:59:40 +00:00
Dexuan Cui d0bf83cc9b distro_tracking_fields.inc: update pixman
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-02-01 23:59:40 +00:00
Dexuan Cui cfe132799f pixman: downgrade from development release 0.21.4 to stable release 0.20.2
pixman's stable releases have even minor version numbers, e.g., 0.18.x, 0.20.x.
Odd minor version numbers mean development snapshots that may contain bugs and
experimental features.
The next stable release should be 0.22.0.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-02-01 23:59:40 +00:00
Zhai Edwin 18acdfb7d4 mutter: Upgrade to 2.29.1 via git
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-02-01 23:59:40 +00:00
Zhai Edwin fd03e8a682 gdk-pixbuf: Fix the native png load error and remove duplicated recipe
Native gdk-pixbuf-csource failed to load png file as the "loaders.cache" was
not properly set by gdk-pxibuf-query-loaders when install. This patch use the
wrapper script rather than query-loaders binary as required libtool library was
not installed when do_install_append.

Also remove dedicated recipe for gdk-pixbuf-native.

[sgw: Added PACKAGES_DYMAMIC_virtclass-native]
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-01 23:59:39 +00:00
Zhai Edwin 4e8e8a7128 clutter-box2d: Upgrade to 0.10.1 via git
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-02-01 23:59:39 +00:00
Zhai Edwin 551174c789 clutter-gst-1.0: Upgrade to 1.3.4 (clutter 1.4 series)
Install the example binary needed for poky-image-clutter.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-02-01 23:59:39 +00:00
Zhai Edwin 1357d22238 clutter-gtk-1.0: Upgrade to one version prior to 0.90.2 (clutter 1.4 series)
0.90.2 depends on unstable gtk+-2.90.x that is not in poky, so pick up one
version prior to it. Also rebase disable_deprecated.patch to keep the API
compatibility with gtk+ and install example binary for poky-image-clutter.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-02-01 23:59:39 +00:00
Zhai Edwin 3bb0b9ae97 clutter-1.0: Upgrade to 1.4 - latest stable version
* Use tar ball release rather than git, as it is more stable. Added dependence
on gettext, and one patch to fix the cross-compile failure due to
conformance-test.

* configure "--with-json=check" avoid extra dependence on external json lib.

* rename examples package (clutter-examples-1.x => clutter-1.x-example) to lead
the right deploy package name

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-02-01 23:59:39 +00:00
Mei Lei ba06cc8943 distrodata.bbclass: Imporve the checkpkg task more precisely and generate data for pkg-report-system
Imporve some regular expression when checking recipes' upstream version, reduce the number of invalid recipes' upstream version and imporve the precision
Generate some data for package report system.

Signed-off-by: Mei Lei<lei.mei@intel.com>
2011-02-01 23:59:38 +00:00
Lianhao Lu d22b4357c9 populate_sdk.bbclass/meta-toolchain: Made populate_sdk task more generic
Move the populate_sdk task out of meta-toolchain. Made it more generic
to support rpm/deb package format.

This commit is dependant on a series of commit:
2ea0406e4516fc59dff86cb4adc35c82cb774c2f
7ffa45b7cfea24dae1b51f40cfc807bf78b21b66
bf201a74c243942af3fcae6f174496bdd819dbc0
3d29933f2925efe8a84f10efdf50396031c33ae4
3d29933f2925efe8a84f10efdf50396031c33ae4
9c724dbf57e610a9e06bbdce38383dee3ac49281

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-01 23:59:38 +00:00
Lianhao Lu 63e220c1e8 populate_sdk_ipk.bbclass: Added ipk support in populate_sdk task.
This is a preparation commit for adding ipk support in populate_sdk
task.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-01 23:59:38 +00:00
Lianhao Lu 5571753a5d populate_sdk_deb.bbclass: Added deb support for populate_sdk task.
This is a preparation commit for adding deb support in populate_sdk
task.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-01 23:59:38 +00:00
Lianhao Lu 8b6626abbf populate_sdk_rpm.bbclass: Added rpm support for populate_sdk task.
This is preparation commit to support using rpm in populate_sdk task.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-01 23:59:38 +00:00
Lianhao Lu 382075a9c2 rootfs_rpm/package_rpm.bbclass: Move func from rootfs_rpm to package_rpm
package_deb.bbclass:
1. Modified package_update_index_rpm() and package_generate_rpm_conf()
to generate sperate depsolver db and rpm configuration, for target
packages and host packages respectively.

2. Added new function package_install_internal_rpm() to install a list
deb packages to a specified root directory, with the specified package
architecutre information.

3. Added new function resolve_package_rpm() to resolve package names to
filepaths.

rootfs_deb.bbclass:
Used the above new functions to install the rootfs.

[sgw: merged changes for createrepo]
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-01 23:59:37 +00:00
Lianhao Lu b94f9ccd05 rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipk
package_ipk.bbclass:
Added new function package_install_internal_ipk() to install a list of
ipk packages to a specified root directory, with the specified package
architecutre information.

rootfs_ipk.bbclass:
Used the above new functions to install rootfs.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-01 23:59:37 +00:00
Lianhao Lu f23e67f172 rootfs_deb/package_deb.bbclass: move func from rootfs_deb to package_deb
package_deb.bbclass:
1. Added new function package_update_index_deb() to generate package
index files.

2. Added new function package_install_internal_deb() to install a list
deb packages to a specified root directory, with the specified package
architecutre information.

rootfs_deb.bbclass:
Used the above new functions to install the rootfs.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-01 23:59:37 +00:00
Dexuan Cui cc0b8f491f gdk-pixbuf: add jpeg into DEPENDS
This fixes the following error:
| checking for jpeg_destroy_decompress in -ljpeg... no
| configure: WARNING: *** JPEG loader will not be built (JPEG library not found) ***
| configure: error:
| *** Checks for JPEG loader failed. You can build without it by passing
| *** --without-libjpeg to configure but some programs using GTK+ may
| *** not work properly
| FATAL: oe_runconf failed

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-02-01 23:59:37 +00:00
Dexuan Cui dbcddc3e9c xkeyboard-config: upgrade from 2.0 to 2.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-02-01 23:59:37 +00:00
Scott Garman 1e4827517e distro_tracking_fields.inc: added docbook-utils and dependencies
These are distro tracking field additions for recipes used for
creating documentation: sgml-common, docbook-sgml-dtd,
docbook-dsssl-stylesheet, sgmlspl, opensp, openjade, docbook-utils

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-01 23:59:37 +00:00
Scott Garman 62337be30b iputils: enable generation of man pages
Enable documentation generation.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-01 23:59:36 +00:00
Scott Garman 8b5e600141 docbook-utils: new recipe v0.6.14
Recipe derived from OpenEmbedded. Converted to use BBCLASSEXTEND.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-01 23:59:36 +00:00
Scott Garman 3c7183135d openjade: new recipe v1.3.2
Recipe derived from OpenEmbedded.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-01 23:59:36 +00:00
Scott Garman edca98225b 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>
2011-02-01 23:59:36 +00:00
Scott Garman 60450eb353 sgmlspl: new recipe, v1.03ii
Recipe derived from OpenEmbedded.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-01 23:59:36 +00:00
Scott Garman 942b3b1d37 docbook-dsssl-stylesheets: new recipe v1.79
Recipe migrated from OpenEmbedded.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-01 23:59:35 +00:00
Scott Garman b2abf1c534 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>
2011-02-01 23:59:35 +00:00
Scott Garman b8bb770e96 sgml-common: new recipe v0.6.3
Recipe derived from OpenEmbedded.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-01 23:59:35 +00:00
Richard Purdie c7c4c6678b Revert "perl-native: Update for userelocatableinc and non-shared libperl"
This reverts commit fe59ca31ac.

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.
2011-02-01 23:20:47 +00:00
Paul Eggleton 4c8f498624 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>
2011-02-01 17:46:32 +00:00
Richard Purdie 19e1f4f672 meta-toolchain-qte: Append to the toolchain env script and remove code duplication
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-01 17:39:10 +00:00
Richard Purdie ec740ac770 Revert "quilt: fix patch version detection"
This reverts commit bc31351f69.

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.
2011-02-01 17:34:59 +00:00
Paul Eggleton f33d78ffef 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>
2011-02-01 16:32:43 +00:00
Paul Eggleton f0a81bbe04 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>
2011-02-01 16:28:40 +00:00
Paul Eggleton c75ad4694c 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>
2011-02-01 16:26:03 +00:00
Paul Eggleton 7a0c927c99 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>
2011-02-01 16:25:11 +00:00
Paul Eggleton 0e6608ba88 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>
2011-02-01 16:19:44 +00:00
Paul Eggleton 7bb96b87a8 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>
2011-02-01 16:18:25 +00:00
Paul Eggleton abb87d455d 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
2011-02-01 16:14:01 +00:00
Paul Eggleton 51b5081892 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>
2011-02-01 16:10:36 +00:00
Paul Eggleton 7263adda21 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>
2011-02-01 16:10:11 +00:00
Paul Eggleton c5998e6def 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>
2011-02-01 15:57:26 +00:00
Paul Eggleton 70ce04977c 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>
2011-02-01 15:39:22 +00:00
Qing He bc31351f69 quilt: fix patch version detection
Fixes [BUGID #690]

Signed-off-by: Qing He <qing.he@intel.com>
2011-02-01 14:55:18 +00:00
Tom Zanussi d6f4d682c0 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>
2011-02-01 14:54:39 +00:00
Richard Purdie 47f8b56f6d libxft: Drop explict package_do_package call and use anonymous python instead
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-01 12:49:53 +00:00
Richard Purdie 2d9cc7ec31 kernel.bbclass: Add fix from OE.dev for tmpnam() usage
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-01 12:27:20 +00:00
Lianhao Lu 5b7e96d852 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>
2011-01-31 16:58:15 +00:00
Richard Purdie 21f2dae46b 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>
2011-01-31 16:37:32 +00:00
Tom Rini 0e70557c92 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>
2011-01-31 16:30:44 +00:00
Tom Rini fe59ca31ac 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>
2011-01-31 16:29:50 +00:00
Qing He a9dda28e3f createrepo: fix native binary
Signed-off-by: Qing He <qing.he@intel.com>
2011-01-31 16:27:14 +00:00
Richard Purdie eed008baf2 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>
2011-01-31 16:22:14 +00:00
Kevin Tian eb879e2ef8 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>
2011-01-31 16:21:48 +00:00
Joshua Lock 92f1b4976b 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>
2011-01-31 11:11:30 +00:00
Mark Hatle 612d59f7d1 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>
2011-01-30 12:09:53 -08:00
Qing He e67698743e 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>
2011-01-30 12:09:52 -08:00
Qing He f6fc1f3475 createrepo: add new recipe
version 0.4.11

Signed-off-by: Qing He <qing.he@intel.com>
2011-01-30 12:09:52 -08:00
Qing He 114cee75bd zypper: upgrade to newer git version
this works with rpm 5.4.0

Signed-off-by: Qing He <qing.he@intel.com>
2011-01-30 12:09:52 -08:00
Qing He 483ee172cf libzypp: upgrade to newer git version
this works with rpm 5.4.0

Signed-off-by: Qing He <qing.he@intel.com>
2011-01-30 12:09:52 -08:00
Mark Hatle 2c32f494cc 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>
2011-01-30 12:09:52 -08:00
Saul Wold ffd12fc476 sat-solver: Add db as DEPENDS and bump PR
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-29 07:16:44 -08:00
Saul Wold 78569af501 linux_2.6.33.2: Add LIC_FILES_CHKSUM
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-28 10:18:33 -08:00
Richard Purdie 74cffe7a91 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>
2011-01-28 18:00:28 +00:00
Richard Purdie 36f8aa6dc8 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>
2011-01-28 17:59:01 +00:00
Richard Purdie be4ad69f4a rootfs_rpm: Drop bogus inclusion of the run-postinsts package
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28 17:57:23 +00:00
Qing He fc5b38e709 rpm: suggested change
Signed-off-by: Qing He <qing.he@intel.com>
2011-01-28 17:52:56 +00:00
Mark Hatle e7fb63bf6b 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>
2011-01-28 17:52:56 +00:00
Mark Hatle f6ddba2a9d 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>
2011-01-28 17:52:55 +00:00
Richard Purdie a606ad5022 poky.conf: Update gdk-pixbuf provider after gtk+ upgrade
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28 17:49:46 +00:00
Wolfgang Denk 97d80dd990 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>
2011-01-28 17:28:24 +00:00
Lianhao Lu a7937d740e apt-native: Added licence checksum.
Added licence checksum for apt-native.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-01-28 17:01:22 +00:00
Lianhao Lu e8dfc44a0c 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>
2011-01-28 17:00:59 +00:00
Dexuan Cui 673f7abde2 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>
2011-01-28 16:49:16 +00:00
Dexuan Cui 65a5c10f6b 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>
2011-01-28 16:49:16 +00:00
Dexuan Cui c27622e164 libunique: update DESCRIPTION, HOMEPAGE, BUGTRACKER
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:15 +00:00
Dexuan Cui 3fbe386ad7 libxp: upgrade from 1.0.0 to 1.0.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:15 +00:00
Dexuan Cui e692278edb xf86vidmodeproto: upgrade from 2.3 to 2.3.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:15 +00:00
Dexuan Cui cf3106d4de xf86driproto: upgrade from 2.1.0 to 2.1.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:15 +00:00
Dexuan Cui 9d9edb4d2d xineramaproto: upgrade from 1.2 to 1.2.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:15 +00:00
Dexuan Cui 25e7822fdc printproto: upgrade from 1.0.4 to 1.0.5
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:14 +00:00
Dexuan Cui 98d5a20979 dmxproto: upgrade from 2.3 to 2.3.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:14 +00:00
Dexuan Cui 903ef2693a pixman: upgrade from 0.21.2 to 0.21.4
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:14 +00:00
Dexuan Cui 7e2f36814e lttng-viewer: upgrade from 0.12.35 to 0.12.36
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:14 +00:00
Dexuan Cui e8f2bfcfda lttng-ust: upgrade from 0.8 to 0.11
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:14 +00:00
Dexuan Cui 8aaa0f689d liburcu: upgrade from 0.4.8 to 0.5.2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:13 +00:00
Dexuan Cui 0b60fa1d15 freetype: upgrade from 2.4.3 to 2.4.4
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28 16:49:13 +00:00
Dexuan Cui af5cdac730 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>
2011-01-28 16:49:13 +00:00
Yu Ke 0e879c25dc 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>
2011-01-28 16:49:13 +00:00
Beth Flanagan 4bda50f289 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
2011-01-28 16:49:13 +00:00
Kevin Tian c7b489c22b 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>
2011-01-28 16:49:13 +00:00
Kevin Tian ce9d6ebf34 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>
2011-01-28 16:49:12 +00:00
Kevin Tian abc25cb885 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>
2011-01-28 16:49:12 +00:00
Zhai Edwin 1b26bce967 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>
2011-01-28 16:49:12 +00:00
Zhai Edwin 5612838d7e distro tracking: Add info after upgrading gtk+, libuser and leafpad
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-01-28 16:49:12 +00:00
Zhai Edwin 7951a7b4db 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>
2011-01-28 16:49:12 +00:00
Zhai Edwin 9eb6dbc18c leafpad: Upgrade from 0.8.17 to 0.8.18.1
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-01-28 16:49:11 +00:00
Richard Purdie 8cae183a22 staging.bbclass: Only clean out the sysroot if we rerun configure, not at setscene time
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28 10:28:19 +00:00
Richard Purdie c7ad2dada7 sstate: Ensure stale stamp files are removed as part of sstate_clean()
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28 10:28:06 +00:00
Richard Purdie 754047b6ec sstate.bbclass: Fix stupid typo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-27 23:26:10 +00:00
Richard Purdie 021cf7dabf sstate.bbclass: No need to dump the contents of the sstate package to stdout
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-27 22:38:11 +00:00
Richard Purdie bb7a42ee4e sstate.bbclass: Handle whitespace in the list of files to 'fixup' to resolve log warning
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-27 22:34:52 +00:00
Mark Hatle e77207ccdf 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>
2011-01-27 21:53:24 +00:00
Saul Wold 156405e578 ofono: Fix missing dependency on udev
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-27 21:53:11 +00:00
Yu Ke 3cc784e417 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>
2011-01-27 21:52:58 +00:00
Zhai Edwin deec6fa8d0 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>
2011-01-27 21:52:24 +00:00
Zhai Edwin ef6cc9af8c 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>
2011-01-27 21:52:10 +00:00
Zhai Edwin 7c9c78bebd 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>
2011-01-27 21:52:01 +00:00
Richard Purdie 8a6e8623b4 sstate.bbclass: Optimise to check if the manifest exists without taking locks
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-27 20:52:33 +00:00
Joshua Lock a17dc8b66d external-python-tarball: include multiprocessing module
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-01-27 15:27:20 +00:00
Dongxiao Xu b02a4addca 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>
2011-01-27 11:25:17 +00:00
Richard Purdie e8e9f56057 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>
2011-01-27 11:10:57 +00:00
Richard Purdie 7476df3fa2 autotools.bbclass: Drop unused autotools_stage_dir dummy function
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-27 11:10:57 +00:00
Richard Purdie 35d44a438d autotools.bbclass: Only include aclocal directories if the exist, no point in creating them
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-27 11:10:57 +00:00
Richard Purdie 8ae1f88214 meta-toolchain: Fix tar command
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-26 12:23:10 +00:00
Richard Purdie 6a0abfa82d crosssdk: Drop PACKAGES setting as its set in cross.bbclass already
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-01-26 12:06:52 +00:00
Richard Purdie 4c55d2bd04 sstate.bbclass: Correctly handle empty sstate packages
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-01-26 12:02:30 +00:00
Richard Purdie 82745e4f32 cross.bbclass: Move sysroot_stage_all function to the only place that uses it now (gcc-cross-intermediate)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-26 11:37:32 +00:00
Richard Purdie 70301cc433 staging.bbclass: No need to create these directories any more, also remove invalid comment
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-26 11:37:32 +00:00
Richard Purdie 87a258fe5c meta-toolchain: Use --owner and --group options instead of using pseudo's overhead for a simple task
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-26 11:37:32 +00:00
Richard Purdie d332f1881f perl: Remove MACHINE reference in do_configure, it causes perl to be rebuild many times
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-26 11:37:31 +00:00
Bruce Ashfield db9b8bc9a3 kern-tools: update to the new repository
As the first of several changes to the kern-tools coupled to
the branch management in the yocto kernels the repository
is being renamed to it proper name. This change switches us to
that newly created repo.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-25 12:01:13 -08:00
Bruce Ashfield c8f4bb5257 linux-yocto/stable: perf: hard-code NO_LIBPERL/NO_LIBPYTHO
Updating SRCREVs to reflect:

    perf: hard-code NO_LIBPERL/NO_LIBPYTHON

    ExtUtils::Embed ccopts is getting the host's -I/usr/local/include and
    using it to compile perf, which results in a compilation error that
    started appearing just recently.

    This turns the code that makes use of ExtUtils::Embed off and simply
    hard-codes NO_LIBPERL.

    It does the same for LIBPYTHON while we're at it, since it probably
    suffers from a similar underlying problem and just by chance hasn't
    broken anything yet.

    This will be re-enabled after I familiarize myself with the perf
    recipe and am able to create a proper fix.

    Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-01-25 11:58:46 -08:00
Richard Purdie e60cbed247 util-linux.inc: Fix DEPENDS on gettext for native case
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-25 19:52:04 +00:00
Saul Wold 567958d9ab distro_tracking: Update for poky-image-sdk renaming
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-25 17:31:45 +00:00
Saul Wold 4c0448fc97 poky-image-sdk* renamed to poky-image-sato-sdk*
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-25 17:31:12 +00:00
Jessica Zhang ad4b709c83 meta-toolchain-sdk: Rename meta-toolchain-sdk to meta-toolchain-gmae
Change the name from toolchain-sdk to toolchain-gmae,
which is more accurate to what meta-toolchain-sdk generates

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-25 17:29:09 +00:00
Joshua Lock 630b5de0d3 util-linux: tidy up metadata
Apply a couple of best practices to the recipe:
1) use the gettext class to ensure the right versions of gettext are
used for the recipe variants (target, native, etc).
2) use layout variables rather than absolute paths in the package FILES_
definitions.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-01-25 15:08:37 +00:00
Richard Purdie 222796ed93 sanity/sstate: Due to the sysroot layout changes, the toolchain bootstrap process changes and the recent pseudo bug, bump the tmpdir layout version number and the sstate version numbers
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-25 12:32:50 +00:00
Yu Ke e2ac26e7b1 base/sstate.bbclass: Rename fetcher "go" method to "download" when using fetch v2
Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-01-25 12:25:47 +00:00
Yu Ke 8615b0e282 base.bbclass: use bb.fetch2 unpack API
Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-01-25 12:25:47 +00:00
Dongxiao Xu 7f41f1a888 bitbake: machine specific sysroots implementation
This commit changes the sysroots path to be machine specific.

Changes includes:

1) STAGING_DIR_TARGET and STRAGING_DIR_HOST points to machine specific
paths.

2) task stamp files. Adding ${MACHINE} info into stamp files for
do_populate_sysroots and do_package tasks. Add a BB_STAMPTASK_BLACKLIST
to keep native, nativesdk, crosssdk, and cross-canadian stamp unchanged.

3) siteconfig path. Separate the site config path for different machines
to avoid one machine adopting the cache file of another machine.

4) sstate. Add machine name to sstate manifest file.
Change relocation code for sstate paths since sysroot is machine.
Keep native, nativesdk, crosssdk, and cross-canadian unchanged.

5) toolchain scripts. Change the environment path to point to machine
specific sysroots in toolchain scripts bbclass.

6) Relocate la files when populating to a different machine of the same
architecture.

7) Exclude STAGING_DIR_TARGET and STAGING_DIR_HOST parameter from sstate
siginfo since they contain ${MACHINE} information.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-01-25 12:25:46 +00:00
Jingdong Lu b0df35f47f base-files: Add to make some directories needed by LSB.
LSB will check some directories,eg, "/usr/local/" and need to make them for LSB test.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-01-25 12:25:46 +00:00
Jingdong Lu 562789455d liburi-perl: Rename liburi-perl
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-01-25 12:25:45 +00:00
Mark Hatle 3b37116728 pseudo: Revert msg cache changes
The message cache code in pseudo seems to be causing problems.  So we have
finally decided to revert that optimization.

(The revert is in the upstream pseudo.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-01-25 12:25:45 +00:00
Richard Purdie c0e1272d15 gcc/libc: Change bootstrap to use an intermediate sysroot and hence no longer overwrite files
Based upon patches from Dexuan Cui <dexuan.cui@intel.com>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-25 12:25:45 +00:00
Dexuan Cui 23cb814b27 gcc-cross-intermediate, gcc-crosssdk-intermediate: change CROSS_TARGET_SYS_DIR and install into new locations
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-25 12:25:45 +00:00
Dexuan Cui 34729e4f82 gcc-cross-initial, gcc-crosssdk-initial: change CROSS_TARGET_SYS_DIR and insall into new locations
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-25 10:59:18 +00:00