Imported OE patches into the poky recipes.
- Use elfutils instead of libelf
Converted OE's svn source into tar ball & a patch.
Added a patch to revert the baseversion to 4.5.0
Merge OE & poky extra_oeconf_options
Fix the zlib (inside gcc) make issue by providing the --with-system-zlib switch in EXTRA_OECONF
Found out that some header file dirs were soft linked to non-existing
locations like c_std. Changed the configure options to point them to
existing locations like c_global.
gcc-cross-canadian_4.5.0: fix configure issue
Thanks to Saul Wold for providing poky gcc patches rebased to the 4.5.0
sources.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Import the recipe from OE
Upgrade from 0.8.1 to 0.8.2, and it solved the build failure
Cleaned up the libmpc-native recipe for poky tree
Add nativesdk target for gcc-cross-canadian_4.5.0
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Mark Hatle [Thu, 22 Jul 2010 17:37:30 +0000 (10:37 -0700)]
meta/conf/bitbake.conf: Configure pseudo to not expand symlinks
When using the fake chroot ability of pseudo, it will expand absolute
symlinks to their full non-fake path by default. The simple change disables
that behavior, as it is undesired when generating a rootfs.
Mark Hatle [Tue, 20 Jul 2010 19:57:19 +0000 (12:57 -0700)]
meta/classes/rootfs_rpm.bbclass: re implement base on rpm5
Re implement the rootfs generation using rpm5. This also gets rid of the
need for yum, and handles all dep resolving internal to the script itself.
The new file scripts/rootfs_rpm-extract-postinst.awk comes from the original
yum integration work. It has been unchanged, but since yum is no longer used
we needed to move the script somewhere else.
New dependency on libfm & menu-cache, which are added in previous commits
following patches are removed as they either don't apply or this new version
has no those problems:
desktop.patch
no-fam.patch
no-warnings.patch
pcmanfm-mips-fix.patch
the pending one is aowl-window-menu.patch, which need more work as the sources
have changed a lot. So far w/o this patch it still works. but we need more
verification later
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Qing He [Wed, 21 Jul 2010 05:34:35 +0000 (13:34 +0800)]
udev: upgrade to version 158
older versions are kept untouched for now
changes:
- udev has diverged a lot, the udev.inc was based on a quite dated
version, thus doesn't reflect current status of udev, create a
new include file udev-new.inc to adapt
- separate libudev{,-dev,-dbg} apart from udev
- --with-udev-prefix is removed. change ${libexecdir} to
${base_libdir}/udev, which is described in INSTALL file.
- udev.pc is provided in ${datadir}/pkgconfig, since it's used
to indicate the existence of udev itself instead of development
headers and libs, pack it in udev instead of udev-dev
- udev-extras is disabled since we are missing libacl, this also
means gudev is missing as for now
- other cleanups, e.g. do_stage, do_install, EXTRA_OEMAKE
todo:
- udev-extras
- remove old udev versions
- rebase udev-145 on udev-new.inc as well
Kevin Tian [Fri, 23 Jul 2010 07:17:06 +0000 (15:17 +0800)]
expat: use gzip-native for unpack
expat 2.0.1 archive is generated with DOS format, which causes CRC
error for some version of gzip (<1.4), e.g. on Unbuntu 10.04. This
commit adds do_unpack dependency to gzip-native, and thus to use
local compiled binary to address this issue. Since 1.4 is a known
version solving this issue, also specify a default version for
gzip-native
Qing He [Wed, 14 Jul 2010 14:09:26 +0000 (22:09 +0800)]
dhcp: upgrade to 4.1.1-P1
from version 4.1.0
changes:
original .bb file is based on dhcp3, whose build system differs from
dhcp 4.x, add a new dhcp4.inc and preserve dhcp3.inc for reference,
this should fix the conf file location bug of dhclient/dhcpd 4.1.0
- defining _PATH_DHC{LIENT,PD}_CONF in make parameter no longer works,
put these definition to includes/site.h
- delete upstream version of conf files, which are not used, and
with an installation path hardcoded to ${sysconfdir}
- similar thing happen for leases file, use new configure option to
specify
- RANLIB, LIBDIR, etc. as make parameter are no longer necessary
Qing He [Wed, 21 Jul 2010 07:12:29 +0000 (15:12 +0800)]
util-linux: upgrade to version 2.17.2
from 2.17
changes:
- clarify license. the package does contains a standalone utility
called lscpu that is under GPLv3+, fortunately it's note packaged
as for now
- the installation path of getopt has changed
todo:
- move libblkid and libuuid into separate packages
changes:
- consolidate hal-info.inc and hal-info_git.bb, git version is used
as a reference and is not preferred
- preferred version updated to 20091130
Qing He [Tue, 20 Jul 2010 02:35:15 +0000 (10:35 +0800)]
hal: upgrade to version 0.5.14
from 0.5.13
changes:
- udev rules dir has been changing to /lib/udev/rules.d in udev
upstream, add an override to stay in /etc/rules.d for compatibility
- consolidate hal.inc and hal_git.bb, hal_git.bb is used as a
reference thus should have a negative preference
- change preferred version of hal to 0.5.14
- remove hal_0.5.11+0.5.12rc1
- remove RRECOMMENDS on udev-utils, the package is to be removed
Qing He [Fri, 16 Jul 2010 04:48:08 +0000 (12:48 +0800)]
libusb-compat: upgrade to version 0.1.3
from 0.0.9, also remove libusb recipe (see below)
changes:
- remove some unnecessary logics derived from libusb-0.1
- now PROVIDES libusb
- bluez4 depends on libusb instead of libusb-compat
libusb-0.1 vs. libusb-compat
libusb-compat is intended to be a drop-in replacement of libusb-0.1,
building on top of libusb-1.0 (which has different API from -0.1).
Few known packages don't work with libusb-compat, notable example
is libmtp. Since most packages work very well with libusb-compat,
and libusb-compat doesn't suffer from power consumption issue of
libusb-0.1 (which is often very important for embedded systems),
drop libusb-0.1 and move to libusb-compat completely. If we see
any problems in the future, either the package should be fixed
or we can add back libusb-0.1 as needed.
Qing He [Thu, 15 Jul 2010 05:07:55 +0000 (13:07 +0800)]
libusb1: upgrade to version 1.0.8
from 0.9.2
changes:
- the previous recipe was derived from libusb-0.1 and thus had many
inconsistencies, e.g. binconfig and lib_packages are not necessary,
libusb1 doesn't provide libusb++, etc. Remove these legacies
- remove the patch 0.9.0-gcc3.4-compat-fix
Dexuan Cui [Thu, 22 Jul 2010 03:52:33 +0000 (11:52 +0800)]
xcb-util: add the latest version 0.3.6
startup-notification_0.10 depends on xcb-util, so I add this package.
xcb-util.inc and xcb-util_0.3.6.bb are based on recipes from OpenEmbedded;
The changes I made are: updating HOMEPAGE,BUGTRACKER,LICENSE and
LIC_FILES_CHKSUM, and changing "include xcb-util.inc" to
"require xcb-util.inc", and using the latest version 0.3.6.
add gperf dependency and remove do_staging
Signed-off-by: Saul Wold <Saul.Wold@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Jeff Dike [Thu, 22 Jul 2010 21:30:49 +0000 (17:30 -0400)]
libdrm-poulsbo: Provide libdrm-poulsbo instead of libdrm
In order to allow this package to be build alongside the regular
libdrm, it was made to export libdrm-poulsbo and its users make to use
libdrm-poulsbo instead of libdrm. libva and xserver-psb were make to
build against libdrm-poulsbo. While I was in there, I changed a couple
of misspellings of COMPATIBLE and removed a bunch of ';patch=1'.
rootfs_ipk: error when dependencies cannot be satisfied
Per bpo#109 dependency failure during rootfs generation did not cause an error
despite that it would cause errors later on in the process. This patch updates
the key phrases searched for in the log checking function.
Kevin Tian [Wed, 21 Jul 2010 07:34:51 +0000 (15:34 +0800)]
pkgconfig_staging.bbclass: remove it
this is one existing for stale reason when package's own Makefile doesn't
handle .pc correctly. After previous commits to remove unnecessary inheritage
on it (sqlite3, libpng), the only remaining is libgcrypt. Libgcrypt itself
doesn't ship a .pc and poky generates one. In this case, simply move the
manual installation to its own do_install.
Richard Purdie [Thu, 22 Jul 2010 10:41:00 +0000 (11:41 +0100)]
stagemanager: Move functionality into the scripts directory
Since scripts is now in PATH thanks to the layer functionality there is
no longer any need to have this recipe full of special cases, the scripts
can just be placed there.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Kevin Tian [Thu, 22 Jul 2010 05:36:42 +0000 (13:36 +0800)]
opkg-utils: add do_install after NATIVE_INSTALL_WORKS
NATIVE_INSTALL_WORKS implicates an explicit do_install required or else
its binaries are not installed to sysroot, which result in error like:
sh: opkg-build not found
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Kevin Tian <kevin.tian@intel.com>