Commit Graph

5022 Commits

Author SHA1 Message Date
Kevin Tian e101642a61 populate-volatile.sh: cleanup duplicated invocations and remove boot warning
For one, populate-volatile.sh is itself a rcS script which is invoked earlier
than package's own postinst method (last one in rcS). If package has already
installed their volatile files correctly, it doesn't make sense to update volatile
again in postinst since nothing is changed.

On the other hand, dbus/hal are special since their user/group are only created
in the target. If they pre-install volatiles like others, populate-volatile.sh
will report "undefined user" since at that time their user/group haven't been
created. The better way solving this is to generate their volatile in the fly
after user/group are created, and then update volatiles.

This fix [BUGID #121]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-12 15:39:24 +01:00
Qing He cf1e754b3f libxml2: fix python binding
--with-python= should be followed by the path to python binary, not
prefix, also export several environment for passing building,
fixes [BUGID #69]

Signed-off-by: Qing He <qing.he@intel.com>
2010-08-12 15:10:12 +01:00
Richard Purdie 889c8ed31a sato-icon-theme: Make sure the native icon mapping script is found and used correctly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12 14:41:30 +01:00
Richard Purdie 9e2600b6b9 gcc-package-cross: Make the libexec symlinks use relative paths so they're reclocatable
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12 14:41:29 +01:00
Richard Purdie 53f22c9b8b gdb: Make sure expat is not accidentally included
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12 14:41:29 +01:00
Joshua Lock f05fd8dc5c meta-ide-support: A dummy recipe to install everthing for target development
Move the environment-setup script generation into a separate class and adapt
meta-toolchain to use it.

Add a new dummy target, meta-ide-support, to install an appropriately
configured script to TMPDIR and ensure all of the required packages for target
development are available.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-11 18:04:52 +01:00
Richard Purdie 69ac39b90e kernel.bbclass: do_deploy should use ${B}, not ${S} (which is what ${B} defaults to)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-11 11:14:43 +01:00
Joshua Lock cb67b6d236 kern-tools-native: add scc
Add scc to the list of installed programs, as it's required by updateme

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-10 17:15:39 +01:00
Richard Purdie 15bf2d5d31 gcc: Fix 4.5.0 patch rejects
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10 15:51:07 +01:00
Qing He c33529794a pciutils: upgrade to version 3.1.5
from 3.0.3

changes:
  - rebased patch configure.patch and pcimodules-pciutils.diff
  - fix a bug in parameter order in config that causes invalid
    search path and library version
  - remove unnecessary kernel version reference in configure
  - use DESTDIR mechanism for build and installation
  - pciutils should RDEPENDS on pciutils-ids
  - enable shared library build and package a new package series,
    libpci
  - conceive a new patch to fix shared library build, default build
    would embedd invalid library dependencies
  - add another patch to fix build on arm
  - fix a bug in previous do_install_depends that used invalid
    installation mode
  - symbolic link /usr/sbin/pciutils to /usr/bin, so non-root user
    can use it as well

Signed-off-by: Qing He <qing.he@intel.com>
2010-08-10 15:31:19 +01:00
Nitin A Kamble 1842635ee8 gcc-4.5.0: import some ppc & mips fixes from oe recipes
for ppc glibc build failes with -os (optimize for size) gcc option. so
 the fix disables this gcc options on ppc.

MIPS fix is added in the hope of helping webkit-gtk build failure (gcc
seg fault).

And fix the PR bumps for all affected recipes

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-08-10 15:02:09 +01:00
Nitin A Kamble 8fd7cc38b5 gcc-4.5.0: newer patch for svn revision 162697
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-08-10 15:02:09 +01:00
Richard Purdie d3630f8174 kernel/package.bbclass: Handle kernel module stripping centrally
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10 14:47:41 +01:00
Richard Purdie 708db1ef52 kernel.bbclass: Clean up kernel packaging output
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10 12:02:04 +01:00
Qing He f25d26de77 js: fix configure
use autoconf to generate jsautocfg.h instead of preparing
different headers for different archs

size_of and align_of tests also work under cross-compilation.

Signed-off-by: Qing He <qing.he@intel.com>
2010-08-10 15:51:59 +08:00
Richard Purdie 15ecd98c54 linux-wrs: perf needs python and perl at runtime, not buildtime
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-09 18:04:09 +01:00
Richard Purdie a52dc8a26a linux-wrs: Make sure install_perf runs before do_package
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-09 17:27:05 +01:00
Richard Purdie e710b42a00 linux-wrs: Make sure install_perf happens for do_package
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-09 17:21:57 +01:00
Bruce Ashfield a924ea57ff perf: performance analysis tools for Linux
Performance counters for Linux are a new kernel-based subsystem
that provide a framework for all things performance analysis. It
covers hardware level (CPU/PMU, Performance Monitoring Unit) features
and software features (software counters, tracepoints) as well.

To enforce the coupling between userspace and kernel, this
commit introduces perf as a subpackage of the linux-wrs tree.

perf is built directly inside the kernel tree (and hence picks
up all appropriate patches), but is packaged as a separate
utility that can be added to the rootfs and used to analyze
the kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-08-09 17:20:36 +01:00
Bruce Ashfield 55011c1f4b kern_tools: add updateme and patchme
Adding new kern_tools to allow the compilation of a meta series
and the patching of a kernel tree.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-08-09 17:20:36 +01:00
Bruce Ashfield eaacd258d8 kernel: add dynamic configuration and patching
This change adds the ability to dynamicaly modify a git based
linux repo during the do_patch and do_configure changes.

The bulk of the work is done by the kern_tools, and the recipe
simply needs to add createme and modifyme scripts to go along
with the existing configme.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-08-09 17:20:35 +01:00
Qing He 601464b497 nfsroot: allow nfsroot to survive netbase init
The patch adds a script in /etc/network/if-pre-up.d,
the script returns 1 (effectly skip the ifup on the iface) iff:
  1. there is a "* / (nfs|nfs4) *" entry in the /proc/mounts
  2. the addr field in that entry is routed using $IFACE

Signed-off-by: Qing He <qing.he@intel.com>
2010-08-09 16:54:08 +01:00
Richard Purdie bca283671f pseudo: Only build 32 bit lib version if 32 bit development headers are available
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-09 12:13:24 +01:00
Qing He 0025bbb903 acl: add new package
version 2.2.49

  - reuse attr build system include file
  - the default build will add attr's rpath into libacl.so, a
    hack is used here to prevent that hardcode. The hack is ugly
    but simple, without the need to do considerable autoconf hacks.
    An alternative approach is to use chrpath, but it doesn't have
    support for multilib thus not usable in its current state.
  - manual fix to .la

Singed-off-by: Qing He <qing.he@intel.com>
2010-08-06 22:21:48 +01:00
Kevin Tian 607709f78d xserver-xf86-config: add qemux86-64 xorg.conf
copy from qemux86 to make xserver works on qemu x86-64 platform. However
full GUI doesn't pop up yet due to other keycode/theme problems in matchbox.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-06 18:33:51 +01:00
Kevin Tian f4cb0870ac module-init-tools: fix depmod caused segfault issue
memset is required after malloc in grab_module, or else random segfault
may happen. The fix is from Mark Hatle <mark.hatle@windriver.com>.
Upstream bug is reported as:
https://bugzilla.kernel.org/show_bug.cgi?id=16528

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-06 18:33:15 +01:00
Richard Purdie 45d237b3bf quote/cwautomacros: Move to meta-lsb
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-06 18:32:16 +01:00
Dongxiao Xu 0cc9ac7b72 quota: Add new recipe
Introduce quota version 3.17 to poky.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-08-06 18:28:28 +01:00
Dongxiao Xu a9d468c98d cwautomacros: Add new recipe.
cwautomacros is a set of m4 files, and package "which" will use it.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-08-06 18:28:28 +01:00
Dongxiao Xu bdcf666d5b enchant: Upgraded to version 1.6.0
Move enchant from meta-moblin to meta
Remove "S" since it is same as default path.
Also fix the metadata

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-08-06 18:28:27 +01:00
Qing He 662f136795 udev: enable udev-extras
changes:
  - enable extras, this includes pci/usb and acl related utilities
  - pci.ids automatic search doesn't work, specifying manually
  - package udev glib binding into libgudev{,-dev,-dbg}
  - libudev RDEPENDS on udev, this is somehow counter-intuitive:
    libudev is the library to access udev information
  - should RRECOMMENDS usbutils-ids and pciutils-ids

bug: RDEPENDS (RRECOMMENDS) on a specific version still doesn't work

Signed-off-by: Qing He <qing.he@intel.com>
2010-08-06 18:28:27 +01:00
Qing He 0bb1016de1 usbutils: upgrade to version 0.86
from 0.72

changes:
  - package new usbutils.pc
  - move binaries into /usr/{bin,sbin} as default. udev uses only
    usb.ids instead of binaries
  - remove DEFAULT_PREFERENCE
  - symbolic link /usr/sbin/lsusb to /usr/bin, lsusb can be used by
    non-root, inspired by Debian
  - separate usb.ids to a new package usbutils-ids, for finer grained
    control, inspired by pciutils, also usbutils RDEPENDS on
    usbutils-ids
  - don't rm ${S}/libusb any more, since usbutils now doesn't bundle
    an included libusb

Signed-off-by: Qing He <qing.he@intel.com>
2010-08-06 18:28:27 +01:00
Qing He 680f8bf8ae attr: various improvements
changes:
  - separate the build system to ea-acl.inc, it is also used by
    upcoming acl (ea stands for extended attributes)
  - the .so.* is moved to /lib, so it can be used by packages like
    udev
  - change absolute symbolic links to relative path, code inspired
    by udev
  - manual fix to .la

Signed-off-by: Qing He <qing.he@intel.com>
2010-08-06 18:28:26 +01:00
Qing He 28d52a2f7a js: upgrade to version 1.8.0~rc1
from 1.5
use version string 1.7.0+1.8.0rc1
aka. spidermonkey

changes:
  - rebase jsautocfg.h to add JS_HAVE_LONG_LONG, fixing the build
    failure
  - document the limitation of jsautocfg.h
  - jskwgen is a host script, and should be built by BUILD_CC
  - remove dependency of readline. readline or editline is only
    used in standalone js command line, which is not shipped in
    package. Removing the dependency to avoid any concern of
    GPL3-ization
  - set BUILD_OPT=1 for optimized build

Note on version choice:
   js is known to have long rc cycles. e.g. the version 1.5:
     js-1.5-b1:   12/16/1999,  js-1.5-rc1:     03/17/2000,
     js-1.5-rc6a: 06/16/2004,  js-1.5 release: 10/22/2005

   Current release version is 1.7.0: 10/19/2007, latest version
   1.8.0-rc1: 03/09/2009, so 1.8.0-rc1 is used.

Note on standalone js vs. xulrunner:
   xulrunner also includes a js version, that is more updated than
   standalone spidermonkey. It also uses autotools so jsautocfg.h
   patch may not be necessary. However the version of xulrunner is
   different from js, and it's difficult to identify the mapping
   between them. It needs further investigation on xulrunner's
   bundled js

Signed-off-by: Qing He <qing.he@intel.com>
2010-08-06 18:28:26 +01:00
Zhai Edwin 56bbb27bb0 pcmanfm: re-update it to 0.9.7
Previous update was reverted due to some reason. This commit re-introduce the
update after following efforts:

* rebase owl-window-menu.patch - Translate the menu of gtk_ui_manager to
  original gtk menu, to enable owl feature.

* fix cross-compile issue - 0.9.7 use a temp binary, built from its own source
  code, to optimize the data file size. This binary for target can't run on
  build system. As this size optimization only gain 0.2K improvement for one
  data file(used for about dialog), disable it to work around this issue. No
  perf drop found after this fix.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-08-06 18:28:26 +01:00
Mark Hatle 2c2e5dc146 pseudo: Enable dual 32-bit and 64-bit support
On an x86_64 host, both 32-bit and 64-bit libraries need to be generated.
It is fairly common that a user will have at least a few 32-bit programs
on their x86_64 host system, so a pseudo wrapper for 32-bit is required
to allow those programs to be successfully wrapped.

Signed-off-by: Mark Hatle <Mark.Hatle@windriver.com>
2010-08-06 06:56:03 -07:00
Mark Hatle 4e2c84f6b4 pseudo: Change pseudo integration to better support local DBs
Change the pseudo integration:
  * Uprev to latest open source version
  * Restructure the patches to allow for many local DBs, as well as
    pseudo specific lib dirs.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-04 15:40:56 -07:00
Joshua Lock 9383074deb gcc: Fix dynamic linker location for x86_64
gcc hard codes the linker path to lib64 for x86_64 machines, update our
64bithack patch to change this to lib.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-04 11:43:12 +01:00
Richard Purdie 7b74364120 icu: Make sure changes apply to Makefile and Makefile.in to fix build failure
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04 11:43:12 +01:00
Richard Purdie ec8f5299d9 cross-canadian: Move binaries into a subdirectory of bin to allow multimachine installs and update users accordingly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-03 20:04:33 +01:00
Joshua Lock 29b4c2945f apt: fix builds with modern GCC
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-02 18:08:30 +01:00
Kevin Tian d9b1d4312c mesa-dri: fix x86-64 target compilation
mesa-dri first generates glsl compiler and then use it to compile GL
shader sources. Target glsl compiler can't run on build system, and
thus port from openembedded by introducing a native recipe dedicated
to creating a native glsl-compiler.

This has to be an explicit -native recipe since its un-native sibling
is already part of mesa-dri

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-02 16:33:51 +01:00
Saul Wold a235e4195e hal: PR needs to be bumped for change to take effect
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-07-31 00:18:13 -07:00
Nitin A Kamble 983b094ed0 opkg: take out the bad patch on crack
opkg_unarchive.patch: This patch was trunkating the filenames silently
for no reason. took it out.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-31 00:03:13 +01:00
Nitin A Kamble fe69012c2c libgcrypt: upgrade from 1.4.5 to 1.4.6
This resolves the build issue on mips while compiling with gcc-4.5.0

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-31 00:02:25 +01:00
Nitin A Kamble 24132e4cf1 libmad: fix for building on mips with gcc-4.5.0
added a patch:
 fix_for_mips_with_gcc-4.5.0.patch

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-31 00:02:24 +01:00
Saul Wold 40f50303c5 emenlow: Add BASE_PACKAGE_ARCH and modification to hal.inc for emenlow
[BUGID #171] [Netbook] Xserver version mismatch makes mouse/keyboard not work

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-07-30 14:53:37 -07:00
Richard Purdie 54bb4b4abd site/x86_64: Add entries to allow various programs to compile
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-30 18:11:06 +01:00
Jeff Dike e4d743e0da xserver-xf86-config: netbook - merge the two ServerFlags sections
A previous commit added AutoAddDevices as a separate ServerFlags
section. This is apparently overridden by the one at the end of the
file, so they need to be merged.

[BUGID #141]

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-07-30 14:50:31 +01:00
Kevin Tian 754c54818d pam: use volatile to avoid /var/run population in do_rootfs
also disable doc rebuild to reuse existing man pages.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-30 14:50:31 +01:00