pseudo: various enhancements to integrate with Poky
Pseudo defaults to storing state files in ${prefix}/var/pseudo, we want them in
$(localstatedir) so a quick hack (path-munge.patch) makes pseudo use a data
directory specified with --data, and defaults to pseudo's way if it's not set.
Touching LD_LIBRARY_PATH can confuse the system into running Python against a
staging python library. When these two are sufficiently diverse in version
significant breakage can occur.
HOMEPAGE and LIC_FILES_CHKSUM are handy metadata variables to have defined.
Joshua Lock [Fri, 25 Jun 2010 12:56:04 +0000 (13:56 +0100)]
staging: fix staging of empty directories and add localstatedir
If a program creates an empty directory during its build it's probably for a
good reason, so if it exists it seems sensible to stage it.
Some programs require localstatedir to operate so we should be sure to stage
it.
Jeff Dike [Wed, 14 Jul 2010 18:35:52 +0000 (14:35 -0400)]
sysvinit - Remove sulogin dependency on /usr/lib*/libcrypt.a
The sulogin compile checked for /usr/lib*/libcrypt.a to decide whether
to add -lcrypt to the final compile. However, the recipe puts LCRYPT
in the environment, so crypt-lib.patch makes the Makefile check for
this before looking at the host /usr/lib.
Automation test is disabled by default. User need set TESTCLASS
to qemu in conf/local.conf and run bitbake command "bitbake
poky-image-xxx" or "bitbake poky-image-xxx -c qemuimagetest" to
trigger it. Currently only the sanity test with two testcases are
added.
To run the test, user need prepare a testing environment:
1) "expect" should be installed on system
2) NOPASSWD should be set for user to run bitbake
Bruce Ashfield [Fri, 9 Jul 2010 13:26:43 +0000 (14:26 +0100)]
qemu-scripts: Add support for mips and powerpc machines, update qemuarm
For mips, the malta platform emulates a cirrus chipset. With the udpated
2.6.34 kernel options, we can now enable framebuffer boot for
the qemumips platform.
We need to pass a valid cpu (603e) and do a -nographic boot to
make it all the way to a prompt so graphics is disabled for now
for ppc.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Kevin Tian [Thu, 15 Jul 2010 09:22:09 +0000 (10:22 +0100)]
binutils-cross: fix '-fPIE' on mips platform
Current binutils generates problematic relocation table for executable
compiled with '-fPIE', such as dbus-daemon. That way ld.so.1 falls into
segmentation fault when accessing bad reloc entry. This pulls back one
fix from binutils CVS repo (1.267) to add PIE support back.
Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Scott Garman [Wed, 14 Jul 2010 05:19:46 +0000 (22:19 -0700)]
gcc: Add patch to fix sparseset.o rule
Fix a missing config.h dependency when building sparseset.o to prevent
"conflicting types for 'strsignal'" error, which can intermittently crop
up for high values of make -j.
Thanks to Richard Purdie and Jeff Dike for their help in tracking this
down.
Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Kevin Tian [Mon, 12 Jul 2010 08:13:53 +0000 (16:13 +0800)]
distro-fixed.inc: create as last means for package version check
Some packages are not feasible for automatic version check. This commit
adds a weak list of version information for those packages before they
are carefully auditted.
Also there're 14 packages out of tracking so far. Add simple information
for them too.
This is the last one to be assorted, so use weak assignment "?="
Kevin Tian [Sun, 11 Jul 2010 08:02:56 +0000 (16:02 +0800)]
dbud-glib: upgrade to 0.86
[dbus-glib-Ptches]
REMOVE _run-with-tmp-session-bus.patch_: test is not built by default
DISABLE _fix_asneeded.patch_: not sure why we need change expat link order. Disable it
but keep for a while
KEEP _no-examples.patch_: don't build examples
[dbus-glib-recipe]
- remove native and old recipes
- remove tweak on dbus-glib-bindings.h, since it will be generated correctly after passing
correct config options linking to native dbus-binding-tool and dbus-bus-introspect.xml
- remove preferred versions in poky-fixed-revisions.inc with similar reason as dbus
Kevin Tian [Sat, 10 Jul 2010 09:22:04 +0000 (17:22 +0800)]
dbus: upgrade to 1.2.24
[Patches]
REMOVE _cross.patch_: fixed in upstream
KEEP _tmpdir.patch_: disable tmpdir test in build system
UPDATE _fix-install-daemon.patch_: use automake for binary install instead of manual
tweaks. extend it to cover dbus-daemon-launch-helper
[Recipe]
- remove native recipes and old versions
- install to STAGING_DATADIR_NATIVE directly
- remove manual tweak on dbus-daemon-launch-helper install
- remove stale config options
- adjust indention
- enable dbus in runlevel 3 since networkmanager has requirement at that level
- remove preferred versions in poky-fixed-revisions.inc. Based on discussion with Josh,
the preferred version is there just because dbus is not carefully tested before
gtk+ previously has 2 versions: 2.14.2(preferred), and 2.18.5(latest). This
upgrade is from 2.18.5 to 2.20.1, so some patch(like entry-cairo.patch) in
2.14.2 is abandoned.
libgnome-keyring's function was built in gnome-keyring(e.g. 2.26.1), and then
separated as an independant lib. So add this new recipe to help the
gnome-keyring update, else package depends on this lib(such as libsoup-2.4)
would have compile error.
latest pcmanfm(0.9.7) separate the core functionality to create an independent
library named libfm, which is not in poky repo. To keep it simple, just update
to stable release 0.5. Also updated some of the patches.
Dexuan Cui [Fri, 9 Jul 2010 05:32:10 +0000 (13:32 +0800)]
libx11: upgrade to the latest version 1.3.4
Rebased the 3 patches x11_disable_makekeys.patch, nodolt.patch and
include_fix.patch; since the patches are also used by other recipes of lower
versions, I created a new directory libx11-1.3.4/ to hold the rebased
patches (the original patches are still kept unchanged);
Updated LICENSE and LIC_FILES_CHKSUM, and reset PR to "r0";
Removed "patch=1" in SRC_URI as by default a patch is applied;
Dexuan Cui [Thu, 8 Jul 2010 06:32:32 +0000 (14:32 +0800)]
librsvg: upgrade to the latest version 2.26.3
The latest stable releases of the package moved
from http://svn.gnome.org/svn/librsvg/ to
http://ftp.gnome.org/pub/GNOME/sources/librsvg/, so I removed the overrided
SRC_URI and use gnome.bbclass's, and I also changed the recipe file's name,
removed the explicit PV and removed the unnecessary S.
Reset PR to "r0".
Add LIC_FILES_CHKSUM info.
Remove SRCREV_pn-librsvg in poky-default-revisions.inc and add
PREFERRED_VERSION_librsvg in poky-fixed-revisions.inc.
epdfview: add epdfview recipe from OE by Manuel Teira
Poky Bugzilla #70 is a patch by Manuel Teira <manuel.teira@telefonica.net> to
add epdfview for sato. This patch updates the recipe to use the latest epdfview
and refreshes the patch for libowl change.
libtool family: fix build failure caused by previous libtool commit.
prefix.patch was removed from the target libtool recipe. But still part
of it is needed to build the man pages. So split the patch into two. One
for just fixing the man page building issue.
Also tweaked the install of libtool-nativesdk recipe as per prefix patch
changes.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Nitin A Kamble [Mon, 21 Jun 2010 10:46:34 +0000 (03:46 -0700)]
libtool family: upgrade from 2.2.6 to 2.2.10
This upgrades these recipes:
libtool_2.2.6.bb -> libtool_2.2.10.bb
libtool-native_2.2.6.bb -> libtool-native_2.2.10.bb
libtool-cross_2.2.6.bb -> libtool-cross_2.2.10.bb
libtool-nativesdk_2.2.6.bb -> libtool-nativesdk_2.2.10.bb
Also fixes build failure caused by having aclocal.m4 built with older version
of libtool.
Rebased these patches for the newer version sources
add_dolt.patch
cross_compile.patch
dolt.m4
Changed this patch to fix documentation building for non-x86 archs
prefix.patch
Rebased and changed to fix the building of ncurses recipe:
trailingslash.patch
Also updated metadata variables like LICENSE & LIC_CHKSUM_FILES
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Qing He [Wed, 7 Jul 2010 05:55:23 +0000 (13:55 +0800)]
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Qing He [Wed, 23 Jun 2010 07:07:39 +0000 (15:07 +0800)]
gnutls: upgrade to version 2.8.6
from 2.4.2
add homepage and bugtracker
clarify licensing to GPL & LGPL for different sub packages
changes:
- use EXTRA_OECONF to explicitly specify libgcrypt path
- remove multiple aclocal.m4s and distributed libtool m4
scripts to produce sanity environment, otherwise it may
complain about libtool version mismatch at compilation
- rebase configure_madness.patch to adapt new autotools
scripts, change libgnutls.pc.in and libgnutls-extra.pc.in
to fix pkg-config issues
- rebase the other patches
- remove duplicated inheritence
- depends explictly on libgcrypt (>= 1.4.2), or configure
fails
- use standalone version of libtasn1, and add it as a build
dependency on libatsn1
- add --disable-rpath in EXTRA_OECONF to avoid the rpath
pollution by --with-<pkg>-prefix=
Qing He [Thu, 8 Jul 2010 05:46:40 +0000 (13:46 +0800)]
findutils: upgrade to version 4.2.31 and 4.4.2
from 4.2.29
4.2.31 is the last known GPL2 version
changes for 4.4:
- pulled upstream patch to fix bug #27017, #28824 and #28872
- using a workaround to address bug #27299, this was fixed in
development branch 4.5.3 by using a new version of gnulib.
however, upgrading gnulib needs too much effort here.
changes for 4.2:
- 4.2.31's gnulib/m4/extension.m4 won't work with autoconf 2.65,
fix it by removing gnulib's AC_USE_SYSTEM_EXTENSIONS
Kevin Tian [Thu, 8 Jul 2010 07:42:42 +0000 (15:42 +0800)]
utility-tasks.bbclass: add automatic version check for GIT/SVN proto
both git/svn supports remote information query: 'git ls-remote', and
'svn info'. With them, now upstream version will be automatically
checked for git/svn packages.
In the meantime, manual latest version tagged in distro tracking
fields are also compared as one alternative if upstream check fails.
Also such check is one indicator whether tracking field is missing.