13-June-2011
Richard et al,
This is a RFC, please review this list, most should be straight foward udpdate for uclibc and world / docs build issues.
This does note include Khem's latest GCC and eglibc updates, whichs need more testing.
Sau!
The following changes since commit 6a3e57fcd3a172c9b2707510d65741734c98a143:
Revert "gcc: rebase the patch to avoid patch rejection" (2011-06-10 12:56:29 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/stage
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage
Anders Darander (1):
perl-native: fix download url
Bruce Ashfield (1):
linux-yocto: rename recipes to explicitly indicate version
Dexuan Cui (1):
git: restore the dependency on perl-native
Kang Kai (1):
ghostscript: update SRC_URI
Khem Raj (4):
util-macros_1.13.0.bb: Depend on virtual/gettext instead of gettext uclibc.inc: libsegfault is only RPROVIDED by uclibc gettext_0.18.1.1.bb: Fix build on uclibc
uclibc: Cleanup the machine dependent config files
Koen Kooi (2):
qemu.inc: append to IMAGE_FSTYPES instead of weakly assigning them connman-gnome 0.5: build from git
Phil Blundell (5):
busybox: backport distro-features handling from oe master
uclibc: fix compile error on i586
import recipe_sanity.bbclass from oe master
uclibc: remove redundant python code
uclibc: remove PACKAGE_ARCH, fix compilation on i586
Saul Wold (8):
json-glib: Fix up SRC_URI Checksums
gconf-dbus: Update to 2.29.1 git
clutter-box2d_git: Switch SRC_URI to git.gnome.org
update-alternatives-dpkg: Fix SRC_URI Checksum
jsib-glib: Fix SRC_URI Checksum
rxvt-unicode: Fix SRC_URI & LIC_FILES Checksum
alsa-tools: fix Checksums
libx11-diet: Fixed checksum and rebase patch
meta/classes/recipe_sanity.bbclass | 179 +
meta/conf/machine/include/qemu.inc | 2 +-
.../connman-gnome/applet_menu_popup_fix.patch | 19 -
.../connman/connman-gnome/connman-gnome.patch | 4162 --------------------
.../remove-connman-property-desktop-file.patch | 42 -
.../connman-gnome/service_name_update.patch | 36 -
.../connman/connman-gnome_0.5.bb | 13 +-
meta/recipes-core/busybox/busybox.inc | 80 +-
meta/recipes-core/busybox/busybox_1.18.4.bb | 2 +-
.../gnulib-uclibc-sched_param-def.patch | 21 +
meta/recipes-core/gettext/gettext_0.18.1.1.bb | 7 +-
.../uclibc/uclibc-git/armv5te/uClibc.machine | 4 +-
.../{nslu2be => armv5teb}/uClibc.machine | 0
.../uclibc/uclibc-git/efika/uClibc.machine | 45 -
.../uclibc/uclibc-git/epoll-asm-fix.patch | 25 +
.../uclibc-git/{qemumips => mips}/uClibc.machine | 0
.../uclibc/uclibc-git/qemuarm/uClibc.machine | 77 -
.../uclibc/uclibc-git/qemux86/uClibc.machine | 59 -
meta/recipes-core/uclibc/uclibc-git/uClibc.distro | 14 +-
meta/recipes-core/uclibc/uclibc.inc | 19 +-
meta/recipes-core/uclibc/uclibc_git.bb | 6 +-
meta/recipes-devtools/git/git.inc | 6 +-
meta/recipes-devtools/git/git_1.7.5.1.bb | 2 +-
meta/recipes-devtools/perl/perl-native_5.12.3.bb | 2 +-
.../update-alternatives-dpkg_1.16.0.3.bb | 4 +-
.../ghostscript/ghostscript_9.02.bb | 7 +-
.../gnome/{gconf-dbus_svn.bb => gconf-dbus_git.bb} | 12 +-
meta/recipes-gnome/json-glib/json-glib_0.12.4.bb | 4 +-
meta/recipes-graphics/clutter/clutter-box2d_git.bb | 2 +-
meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb | 14 +-
.../xorg-lib/libx11/X18NCMSstubs.diff | 62 +-
.../xorg-util/util-macros_1.13.0.bb | 4 +-
...x-yocto-stable_git.bb => linux-yocto_2.6.34.bb} | 0
.../{linux-yocto_git.bb => linux-yocto_2.6.37.bb} | 0
.../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb | 7 +-
.../recipes-sato/rxvt-unicode/rxvt-unicode_9.11.bb | 8 +-
36 files changed, 409 insertions(+), 4537 deletions(-)
create mode 100644 meta/classes/recipe_sanity.bbclass
delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch
delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/connman-gnome.patch
delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch
delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch
create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/gnulib-uclibc-sched_param-def.patch
rename meta/recipes-core/uclibc/uclibc-git/{nslu2be => armv5teb}/uClibc.machine (100%)
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/efika/uClibc.machine
create mode 100644 meta/recipes-core/uclibc/uclibc-git/epoll-asm-fix.patch
rename meta/recipes-core/uclibc/uclibc-git/{qemumips => mips}/uClibc.machine (100%)
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/qemuarm/uClibc.machine
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/qemux86/uClibc.machine
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/uClibc.config
rename meta/recipes-gnome/gnome/{gconf-dbus_svn.bb => gconf-dbus_git.bb} (76%)
rename meta/recipes-kernel/linux/{linux-yocto-stable_git.bb => linux-yocto_2.6.34.bb} (100%)
rename meta/recipes-kernel/linux/{linux-yocto_git.bb => linux-yocto_2.6.37.bb} (100%)Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 01/23] ghostscript: update SRC_URI
From: Kang Kai <[email protected]>
Build ghostscript-native fails on a i686 machine because it can't get the source objarch.h and soobjarch.h, and .h files are not needed for native package, so update the SRC_URI to fix it.
--- .../ghostscript/ghostscript_9.02.bb | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
meta/recipes-extended/ghostscript/ghostscript_9.02.bb +5 -2
@@ -15,17 +15,20 @@ SECTION = "console/utils" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" -PR = "r1" +PR = "r2" DEPENDS = "${PN}-native tiff jpeg fontconfig cups" DEPENDS_virtclass-native = "" -SRC_URI = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.bz2 \ +SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.bz2" + +SRC_URI = "${SRC_URI_BASE} \ file://ghostscript-9.02-prevent_recompiling.patch \ file://ghostscript-9.02-genarch.patch \ file://objarch.h \ file://soobjarch.h \ " +SRC_URI_virtclass-native = "${SRC_URI_BASE}" SRC_URI[md5sum] = "f67151444bd56a7904579fc75a083dd6" SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 02/23] busybox: backport distro-features handling from oe master
In reply to Saul WoldFrom: Phil Blundell <[email protected]>
This is a backport from oe master of the code which adjusts the busybox config according to DISTRO_FEATURES etc.
--- meta/recipes-core/busybox/busybox.inc | 80 ++++++++++++++++++++++++++- meta/recipes-core/busybox/busybox_1.18.4.bb | 2 +- 2 files changed, 79 insertions(+), 3 deletions(-)
meta/recipes-core/busybox/busybox.inc +78 -2
@@ -35,8 +35,85 @@ RRECOMMENDS_${PN} = "${PN}-syslog ${PN}-udhcpc" inherit cml1 update-rc.d +# internal helper +def busybox_cfg(feature, features, tokens, cnf, rem): + if type(tokens) == type(""): + tokens = [tokens] + rem.extend(['/^[# ]*' + token + '[ =]/d' for token in tokens]) + if type(features) == type([]) and feature in features: + cnf.extend([token + '=y' for token in tokens]) + else: + cnf.extend(['# ' + token + ' is not set' for token in tokens]) + +# Map distro and machine features to config settings +def features_to_busybox_settings(d): + cnf, rem = ([], []) + distro_features = bb.data.getVar('DISTRO_FEATURES', d).split() + machine_features = bb.data.getVar('MACHINE_FEATURES', d).split() + busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IPV6', cnf, rem) + busybox_cfg('largefile', distro_features, 'CONFIG_LFS', cnf, rem) + busybox_cfg('largefile', distro_features, 'CONFIG_FDISK_SUPPORT_LARGE_DISKS', cnf, rem) + busybox_cfg('nls', distro_features, 'CONFIG_LOCALE_SUPPORT', cnf, rem) + busybox_cfg('ipv4', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem) + busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem) + busybox_cfg('kernel24', machine_features, 'CONFIG_FEATURE_2_4_MODULES', cnf, rem) + return "\n".join(cnf), "\n".join(rem) + +# X, Y = ${@features_to_uclibc_settings(d)} +# unfortunately doesn't seem to work with bitbake, workaround: +def features_to_busybox_conf(d): + cnf, rem = features_to_busybox_settings(d) + return cnf +def features_to_busybox_del(d): + cnf, rem = features_to_busybox_settings(d) + return rem + +configmangle = '/CROSS_COMPILER_PREFIX/d; \ + /CONFIG_EXTRA_CFLAGS/d; \ + ' +OE_FEATURES := "${@features_to_busybox_conf(d)}" +OE_DEL := "${@features_to_busybox_del(d)}" +DO_IPv4 := ${@base_contains('DISTRO_FEATURES', 'ipv4', 1, 0, d)} +DO_IPv6 := ${@base_contains('DISTRO_FEATURES', 'ipv6', 1, 0, d)} + +python () { + if "${OE_DEL}": + bb.data.setVar('configmangle_append', "${OE_DEL}" + "\n", d) + if "${OE_FEATURES}": + bb.data.setVar('configmangle_append', + "/^### DISTRO FEATURES$/a\\\n%s\n\n" % + ("\\n".join((bb.data.expand("${OE_FEATURES}", d).split("\n")))), + d) + bb.data.setVar('configmangle_append', + "/^### CROSS$/a\\\n%s\n" % + ("\\n".join(["CONFIG_CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"", + "CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\"" + ]) + ), + d) +} + +do_prepare_config () { + sed -e 's#@DATADIR@#${datadir}#g' \ + < ${WORKDIR}/defconfig > ${S}/.config + sed -i -e '/CONFIG_STATIC/d' .config + echo "# CONFIG_STATIC is not set" >> .config + for i in 'CROSS' 'DISTRO FEATURES'; do echo "### $i"; done >> \ + ${S}/.config + sed -i -e '${configmangle}' ${S}/.config + if test ${DO_IPv4} -eq 0 && test ${DO_IPv6} -eq 0; then + # disable networking applets + mv ${S}/.config ${S}/.config.oe-tmp + awk 'BEGIN{net=0} + /^# Networking Utilities/{net=1} + /^#$/{if(net){net=net+1}} + {if(net==2&&$0 !~ /^#/&&$1){print("# "$1" is not set")}else{print}}' \ + ${S}/.config.oe-tmp > ${S}/.config + fi +} + do_configure () { - install -m 0644 ${WORKDIR}/defconfig ${S}/.config + do_prepare_config cml1_do_configure }
@@ -184,4 +261,3 @@ pkg_prerm_${PN}-syslog () { update-alternatives --remove syslog-init syslog.${PN} update-alternatives --remove syslog-conf syslog.conf.${PN} } -
meta/recipes-core/busybox/busybox_1.18.4.bb +1 -1
@@ -1,5 +1,5 @@ require busybox.inc -PR = "r2" +PR = "r3" SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://udhcpscript.patch \
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 04/23] uclibc: fix compile error on i586
In reply to Saul WoldFrom: Phil Blundell <[email protected]>
Without this you get:
| libc/sysdeps/linux/common/epoll.c: In function '__libc_epoll_pwait': | libc/sysdeps/linux/common/epoll.c:71:80: error: memory input 7 is not directly addressable | libc/sysdeps/linux/common/epoll.c:75:86: error: memory input 7 is not directly addressable | make: *** [libc/sysdeps/linux/common/epoll.o] Error 1
--- .../uclibc/uclibc-git/epoll-asm-fix.patch | 25 ++++++++++++++++++++ meta/recipes-core/uclibc/uclibc_git.bb | 1 + 2 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-core/uclibc/uclibc-git/epoll-asm-fix.patch
meta/recipes-core/uclibc/uclibc-git/epoll-asm-fix.patch new file +25 -0
@@ -0,0 +1,25 @@ +Fix a compile error due to last argument to syscall() not being memory addressable. + +Upstream-Status: Pending +Signed-off-by: Phil Blundell <[email protected]> + +diff --git a/libc/sysdeps/linux/common/epoll.c b/libc/sysdeps/linux/common/epoll.c +index 85b0cfd..c034b2c 100644 +--- a/libc/sysdeps/linux/common/epoll.c ++++ b/libc/sysdeps/linux/common/epoll.c +@@ -67,12 +67,13 @@ extern __typeof(epoll_pwait) __libc_epoll_pwait; + int __libc_epoll_pwait(int epfd, struct epoll_event *events, int maxevents, + int timeout, const sigset_t *set) + { ++ int nsig = _NSIG / 8; + if (SINGLE_THREAD_P) +- return INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, timeout, set, _NSIG / 8); ++ return INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, timeout, set, nsig); + # ifdef __UCLIBC_HAS_THREADS_NATIVE__ + else { + int oldtype = LIBC_CANCEL_ASYNC (); +- int result = INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, timeout, set, _NSIG / 8); ++ int result = INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, timeout, set, nsig); + LIBC_CANCEL_RESET (oldtype); + return result; + }
meta/recipes-core/uclibc/uclibc_git.bb +1 -0
@@ -29,5 +29,6 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \ file://remove_attribute_optimize_Os.patch \ file://append_UCLIBC_EXTRA_CFLAGS.patch \ file://compile-arm-fork-with-O2.patch \ + file://epoll-asm-fix.patch \ " S = "${WORKDIR}/git"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 03/23] git: restore the dependency on perl-native
In reply to Saul WoldFrom: Dexuan Cui <[email protected]>
[YOCTO #1155]
I thought git-native could depend on perl-native-runtime and tests on Ubuntu 9.04/10.10 and Fedora 13 show it could buid fine (looks these distros install perl-ExtUtils-MakeMaker by default).
However Joshua reported on Fedora 15 i686 host, git-native can't build unless he manually installed perl-ExtUtils-MakeMaker to the host.
This makes me think we may as well make git-native depend on perl-native.
--- meta/recipes-devtools/git/git.inc | 6 +++--- meta/recipes-devtools/git/git_1.7.5.1.bb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-devtools/git/git.inc +3 -3
@@ -1,16 +1,16 @@ DESCRIPTION = "The git revision control system used by the Linux kernel developers" SECTION = "console/utils" LICENSE = "GPLv2" -DEPENDS = "perl-native openssl curl zlib expat" +DEPENDS = "openssl curl zlib expat" SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.bz2 " S = "${WORKDIR}/git-${PV}" LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1" -EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl --without-tcltk" +EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl --without-tcltk" -inherit autotools +inherit autotools perlnative do_install () { oe_runmake install DESTDIR="${D}" bindir=${bindir} \
meta/recipes-devtools/git/git_1.7.5.1.bb +1 -1
@@ -1,6 +1,6 @@ require git.inc -PR = "r0" +PR = "r2" EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no ac_cv_c_c99_format=yes \ ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
Signature · 1 line
1.7.3.4
Re: [*RFC CONSOLIDATED PULL RFC* 03/23] git: restore the dependency on perl-native
meta/recipes-devtools/git/git.inc line 13
Quoted 2 lines · Saul Wold
meta/recipes-devtools/git/git.inc +1
-1-inherit autotools +inherit autotools perlnative
This broke the tree for me. Now I get:
NOTE: Out of date cache found, rebuilding...
ERROR: Could not inherit file classes/perlnative.bbclass########################################### | ETA: 00:00:03
ERROR: Command execution failed: Exited with 1
Am I meant to have perlnative.bbclass somewhere? It isn't in meta/classes.
p.
Re: [*RFC CONSOLIDATED PULL RFC* 03/23] git: restore the dependency on perl-native
Op 14 jun 2011, om 14:53 heeft Phil Blundell het volgende geschreven:
Quoted 6 lines · Saul Wold
meta/recipes-devtools/git/git.inc line 13
Quoted 2 lines
meta/recipes-devtools/git/git.inc +1
-1-inherit autotools +inherit autotools perlnativeThis broke the tree for me. Now I get:
Quoted 8 lines
NOTE: Out of date cache found, rebuilding...
ERROR: Could not inherit file classes/perlnative.bbclass########################################### | ETA: 00:00:03
ERROR: Command execution failed: Exited with 1Am I meant to have perlnative.bbclass somewhere? It isn't in meta/classes.
Same error here
Re: [*RFC CONSOLIDATED PULL RFC* 03/23] git: restore the dependency on perl-native
In reply to Phil BlundellQuoted 11 lines · Phil Blundell
meta/recipes-devtools/git/git.inc line 13
Quoted 2 lines · Saul Wold
meta/recipes-devtools/git/git.inc +1
-1-inherit autotools +inherit autotools perlnativeThis broke the tree for me. Now I get:
NOTE: Out of date cache found, rebuilding...
ERROR: Could not inherit file classes/perlnative.bbclass########################################### | ETA: 00:00:03
ERROR: Command execution failed: Exited with 1
BTW, Scott, this is also a new addition to my list of unsatisfactory bitbake error messages. It would be more helpful if bitbake: (a) printed the name of the recipe causing the problem, rather than leaving me to grep the tree/guess, and (b) continued rather than immediately bailing out. Also, aesthetically, it'd be nice if it didn't print the error on top of the status bar although I guess that is a minor issue in the larger scheme of things.
However, on the positive side, at least there is no python stacktrace :-)
p.
Re: [*RFC CONSOLIDATED PULL RFC* 03/23] git: restore the dependency on perl-native
Quoted 21 lines · Phil Blundell
Quoted 11 lines · Phil Blundell
meta/recipes-devtools/git/git.inc line 13
Quoted 2 lines · Saul Wold
meta/recipes-devtools/git/git.inc +1
-1-inherit autotools +inherit autotools perlnativeThis broke the tree for me. Now I get:
NOTE: Out of date cache found, rebuilding...
ERROR: Could not inherit file classes/perlnative.bbclass########################################### | ETA: 00:00:03
ERROR: Command execution failed: Exited with 1BTW, Scott, this is also a new addition to my list of unsatisfactory bitbake error messages. It would be more helpful if bitbake: (a) printed the name of the recipe causing the problem, rather than leaving me to grep the tree/guess, and (b) continued rather than immediately bailing out. Also, aesthetically, it'd be nice if it didn't print the error on top of the status bar although I guess that is a minor issue in the larger scheme of things.
Quoted 2 lines
However, on the positive side, at least there is no python stacktrace :-)
I've fixed this.
Unintentionally, a merge was made to poky but not to OE-Core for a series of patches. I suspect somehow I did make the merge but not the push and then lost the changes thinking it was just testing changes when I came back to them.
So I'm sorry about the screw up there, totally my fault and unintended and it should be fixed now.
Cheers,
Richard
[*RFC CONSOLIDATED PULL RFC* 06/23] json-glib: Fix up SRC_URI Checksums
In reply to Saul Wold--- meta/recipes-gnome/json-glib/json-glib_0.12.4.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-gnome/json-glib/json-glib_0.12.4.bb +2 -2
@@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" DEPENDS = "glib-2.0" -SRC_URI[archive.md5sum] = "71f911329c9f742543b378c3494490da" -SRC_URI[archive.sha256sum] = "89fa9b870dfe2d8b7b00210be76cdbb2d46a8d2cc77ca7cbe5d081bdf8cad780" +SRC_URI[archive.md5sum] = "347e1714e4a2ce54298969d5ffec7dca" +SRC_URI[archive.sha256sum] = "462cd611016ae189d5e3f258dc7741e6a2e8267404b4e3806aaf346d50f1df7e" PR = "r0"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 08/23] linux-yocto: rename recipes to explicitly indicate version
In reply to Saul WoldFrom: Bruce Ashfield <[email protected]>
The existing recipe names for the linux-yocto kernel builds worked well when there was a single, or two versions of the kernel available. But with the impending kernel updates and retirement of older kernels, the re-use of the same recipes for different kernel versions violates the principle of least surprise.
To address this, the recipes are being renamed as follows:
linux-yocto_git.bb -> linux-yocto_2.6.37.bb
linux-yocto-stable_git.bb -> linux-yocto_2.6.34.bbThere continue to be versionless recipe names that feed into versioned recipes at the appropriate points. They are:
linux-yocto-dev.bb (tracking the latest yocto dev kernel) linux-yocto-korg_head.bb (tracking korg kernels)
There are no existing users of linux-yocto-stable in the master branches to convert to the new naming, so these changes work in isolation.
---
...x-yocto-stable_git.bb => linux-yocto_2.6.34.bb} | 0
.../{linux-yocto_git.bb => linux-yocto_2.6.37.bb} | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename meta/recipes-kernel/linux/{linux-yocto-stable_git.bb => linux-yocto_2.6.34.bb} (100%)
rename meta/recipes-kernel/linux/{linux-yocto_git.bb => linux-yocto_2.6.37.bb} (100%)meta/recipes-kernel/linux/linux-yocto_2.6.34.bb renamed from meta/recipes-kernel/linux/linux-yocto-stable_git.bb +0 -0
meta/recipes-kernel/linux/linux-yocto_2.6.37.bb renamed from meta/recipes-kernel/linux/linux-yocto_git.bb +0 -0
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 05/23] import recipe_sanity.bbclass from oe master
In reply to Saul WoldFrom: Phil Blundell <[email protected]>
This is a verbatim copy of the corresponding class from oe master.
--- meta/classes/recipe_sanity.bbclass | 179 ++++++++++++++++++++++++++++++++++++ 1 files changed, 179 insertions(+), 0 deletions(-) create mode 100644 meta/classes/recipe_sanity.bbclass
meta/classes/recipe_sanity.bbclass new file +179 -0
@@ -0,0 +1,179 @@ +def __note(msg, d): + bb.note("%s: recipe_sanity: %s" % (d.getVar("P", 1), msg)) + +__recipe_sanity_badruntimevars = "RDEPENDS RPROVIDES RRECOMMENDS RCONFLICTS" +def bad_runtime_vars(cfgdata, d): + if bb.data.inherits_class("native", d) or \ + bb.data.inherits_class("cross", d): + return + + for var in d.getVar("__recipe_sanity_badruntimevars", 1).split(): + val = d.getVar(var, 0) + if val and val != cfgdata.get(var): + __note("%s should be %s_${PN}" % (var, var), d) + +__recipe_sanity_reqvars = "DESCRIPTION" +__recipe_sanity_reqdiffvars = "LICENSE" +def req_vars(cfgdata, d): + for var in d.getVar("__recipe_sanity_reqvars", 1).split(): + if not d.getVar(var, 0): + __note("%s should be set" % var, d) + + for var in d.getVar("__recipe_sanity_reqdiffvars", 1).split(): + val = d.getVar(var, 0) + cfgval = cfgdata.get(var) + + # Hardcoding is bad, but I'm lazy. We don't care about license being + # unset if the recipe has no sources! + if var == "LICENSE" and d.getVar("SRC_URI", 1) == cfgdata.get("SRC_URI"): + continue + + if not val: + __note("%s should be set" % var, d) + elif val == cfgval: + __note("%s should be defined to something other than default (%s)" % (var, cfgval), d) + +def var_renames_overwrite(cfgdata, d): + renames = d.getVar("__recipe_sanity_renames", 0) + if renames: + for (key, newkey, oldvalue, newvalue) in renames: + if oldvalue != newvalue and oldvalue != cfgdata.get(newkey): + __note("rename of variable '%s' to '%s' overwrote existing value '%s' with '%s'." % (key, newkey, oldvalue, newvalue), d) + +def incorrect_nonempty_PACKAGES(cfgdata, d): + if bb.data.inherits_class("native", d) or \ + bb.data.inherits_class("cross", d): + if d.getVar("PACKAGES", 1): + return True + +def can_use_autotools_base(cfgdata, d): + cfg = d.getVar("do_configure", 1) + if not bb.data.inherits_class("autotools", d): + return False + + for i in ["autoreconf"] + ["%s_do_configure" % cls for cls in ["gnomebase", "gnome", "e", "autotools", "efl", "gpephone", "openmoko", "openmoko2", "xfce", "xlibs"]]: + if cfg.find(i) != -1: + return False + + import os + for clsfile in d.getVar("__inherit_cache", 0): + (base, _) = os.path.splitext(os.path.basename(clsfile)) + if cfg.find("%s_do_configure" % base) != -1: + __note("autotools_base usage needs verification, spotted %s_do_configure" % base, d) + + return True + +def can_remove_FILESPATH(cfgdata, d): + expected = cfgdata.get("FILESPATH") + #expected = "${@':'.join([os.path.normpath(os.path.join(fp, p, o)) for fp in d.getVar('FILESPATHBASE', 1).split(':') for p in d.getVar('FILESPATHPKG', 1).split(':') for o in (d.getVar('OVERRIDES', 1) + ':').split(':') if os.path.exists(os.path.join(fp, p, o))])}:${FILESDIR}" + expectedpaths = bb.data.expand(expected, d) + unexpanded = d.getVar("FILESPATH", 0) + filespath = d.getVar("FILESPATH", 1).split(":") + filespath = [os.path.normpath(f) for f in filespath if os.path.exists(f)] + for fp in filespath: + if not fp in expectedpaths: + # __note("Path %s in FILESPATH not in the expected paths %s" % + # (fp, expectedpaths), d) + return False + return expected != unexpanded + +def can_remove_FILESDIR(cfgdata, d): + expected = cfgdata.get("FILESDIR") + #expected = "${@bb.which(d.getVar('FILESPATH', 1), '.')}" + unexpanded = d.getVar("FILESDIR", 0) + if unexpanded is None: + return False + + expanded = os.path.normpath(d.getVar("FILESDIR", 1)) + filespath = d.getVar("FILESPATH", 1).split(":") + filespath = [os.path.normpath(f) for f in filespath if os.path.exists(f)] + + return unexpanded != expected and \ + os.path.exists(expanded) and \ + (expanded in filespath or + expanded == bb.data.expand(expected, d)) + +def can_remove_others(p, cfgdata, d): + for k in ["S", "PV", "PN", "DESCRIPTION", "LICENSE", "DEPENDS", + "SECTION", "PACKAGES", "EXTRA_OECONF", "EXTRA_OEMAKE"]: + #for k in cfgdata: + unexpanded = d.getVar(k, 0) + cfgunexpanded = cfgdata.get(k) + if not cfgunexpanded: + continue + + try: + expanded = d.getVar(k, 1) + cfgexpanded = bb.data.expand(cfgunexpanded, d) + except bb.fetch.ParameterError: + continue + + if unexpanded != cfgunexpanded and \ + cfgexpanded == expanded: + __note("candidate for removal of %s" % k, d) + bb.debug(1, "%s: recipe_sanity: cfg's '%s' and d's '%s' both expand to %s" % + (p, cfgunexpanded, unexpanded, expanded)) + +python do_recipe_sanity () { + p = d.getVar("P", 1) + p = "%s %s %s" % (d.getVar("PN", 1), d.getVar("PV", 1), d.getVar("PR", 1)) + + sanitychecks = [ + (can_remove_FILESDIR, "candidate for removal of FILESDIR"), + (can_remove_FILESPATH, "candidate for removal of FILESPATH"), + #(can_use_autotools_base, "candidate for use of autotools_base"), + (incorrect_nonempty_PACKAGES, "native or cross recipe with non-empty PACKAGES"), + ] + cfgdata = d.getVar("__recipe_sanity_cfgdata", 0) + + for (func, msg) in sanitychecks: + if func(cfgdata, d): + __note(msg, d) + + can_remove_others(p, cfgdata, d) + var_renames_overwrite(cfgdata, d) + req_vars(cfgdata, d) + bad_runtime_vars(cfgdata, d) +} +do_recipe_sanity[nostamp] = "1" +#do_recipe_sanity[recrdeptask] = "do_recipe_sanity" +addtask recipe_sanity + +do_recipe_sanity_all[nostamp] = "1" +do_recipe_sanity_all[recrdeptask] = "do_recipe_sanity" +do_recipe_sanity_all () { + : +} +addtask recipe_sanity_all after do_recipe_sanity + +python recipe_sanity_eh () { + from bb.event import getName + + if getName(e) != "ConfigParsed": + return + + d = e.data + + cfgdata = {} + for k in d.keys(): + #for k in ["S", "PR", "PV", "PN", "DESCRIPTION", "LICENSE", "DEPENDS", + # "SECTION"]: + cfgdata[k] = d.getVar(k, 0) + + d.setVar("__recipe_sanity_cfgdata", cfgdata) + #d.setVar("__recipe_sanity_cfgdata", d) + + # Sick, very sick.. + from bb.data_smart import DataSmart + old = DataSmart.renameVar + def myrename(self, key, newkey): + oldvalue = self.getVar(newkey, 0) + old(self, key, newkey) + newvalue = self.getVar(newkey, 0) + if oldvalue: + renames = self.getVar("__recipe_sanity_renames", 0) or set() + renames.add((key, newkey, oldvalue, newvalue)) + self.setVar("__recipe_sanity_renames", renames) + DataSmart.renameVar = myrename +} +addhandler recipe_sanity_eh
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 07/23] gconf-dbus: Update to 2.29.1 git
In reply to Saul WoldNew version now uses git
set --enable-defaults-service=no so that polkit is not pulled in
---
.../gnome/{gconf-dbus_svn.bb => gconf-dbus_git.bb} | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
rename meta/recipes-gnome/gnome/{gconf-dbus_svn.bb => gconf-dbus_git.bb} (76%)meta/recipes-gnome/gnome/gconf-dbus_git.bb renamed from meta/recipes-gnome/gnome/gconf-dbus_svn.bb +5 -7
@@ -8,19 +8,17 @@ PROVIDES = "gconf" RPROVIDES_${PN} = "gconf" RPROVIDES_${PN}-dev = "gconf-dev" -SRCREV = "705" -PV = "2.16.0+svnr${SRCPV}" +SRCREV = "d096734a6c53954baa64e3ce8a62d11296b9eaab" +PV = "2.29.1+git${SRCPV}" -SRC_URI = "svn://developer.imendio.com/svn/gconf-dbus;module=trunk;proto=http" -S = "${WORKDIR}/trunk" +SRC_URI = "git://meego.gitorious.org/meego-os-base/gconf-dbus.git" +S = "${WORKDIR}/git" inherit pkgconfig autotools PARALLEL_MAKE = "" - -EXTRA_OECONF = "--disable-gtk-doc --disable-gtk --enable-shared --disable-static --enable-debug=yes" - +EXTRA_OECONF = "--disable-gtk-doc --disable-gtk --enable-shared --disable-static --enable-debug=yes --enable-defaults-service=no" do_configure_prepend() { touch gtk-doc.make
Signature · 1 line
1.7.3.4
Re: [*RFC CONSOLIDATED PULL RFC* 07/23] gconf-dbus: Update to 2.29.1 git
Op 13 jun 2011, om 08:54 heeft Saul Wold het volgende geschreven:
Quoted 20 lines
New version now uses git
set --enable-defaults-service=no so that polkit is not pulled inSigned-off-by Saul Wold <[email protected]>---
.../gnome/{gconf-dbus_svn.bb => gconf-dbus_git.bb} | 12 +++++-------1 files changed, 5 insertions(+), 7 deletions(-)rename meta/recipes-gnome/gnome/{gconf-dbus_svn.bb => gconf-dbus_git.bb} (76%)
meta/recipes-gnome/gnome/gconf-dbus_git.bb renamed from meta/recipes-gnome/gnome/gconf-dbus_svn.bb +0
-0@@ -8,19 +8,17 @@ PROVIDES = "gconf"RPROVIDES_${PN} = "gconf"
RPROVIDES_${PN}-dev = "gconf-dev"
meta/recipes-gnome/gnome/gconf-dbus_git.bb PROVIDES = "gconf" · line 12
Quoted 4 lines
meta/recipes-gnome/gnome/gconf-dbus_git.bb renamed from meta/recipes-gnome/gnome/gconf-dbus_svn.bb +2
-2-SRCREV = "705" -PV = "2.16.0+svnr${SRCPV}" +SRCREV = "d096734a6c53954baa64e3ce8a62d11296b9eaab" +PV = "2.29.1+git${SRCPV}"
2.29 is an unstable version, do you really want to use that? ANd related to that, in this day and age is there still benefit in using a manpower challenged fork of a component that has been obsoleted upstream? AIUI gsettings is all the rage now.
regards,
Koen
[*RFC CONSOLIDATED PULL RFC* 10/23] clutter-box2d_git: Switch SRC_URI to git.gnome.org
In reply to Saul Wold--- meta/recipes-graphics/clutter/clutter-box2d_git.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-graphics/clutter/clutter-box2d_git.bb +1 -1
@@ -6,7 +6,7 @@ SRCREV = "4799ac10ae8cb7da936a2b999aba58fe62eb1ee3" PV = "0.10.1+git${SRCPV}" PR = "r0" -SRC_URI = "git://git.clutter-project.org/clutter-box2d.git;protocol=git" +SRC_URI = "git://git.gnome.org/clutter-box2d.git" S = "${WORKDIR}/git"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 09/23] perl-native: fix download url
In reply to Saul WoldFrom: Anders Darander <[email protected]>
--- meta/recipes-devtools/perl/perl-native_5.12.3.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/perl/perl-native_5.12.3.bb +1 -1
@@ -9,7 +9,7 @@ PR = "r2" LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" -SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ +SRC_URI = "http://www.cpan.org/src/5.0/perl-${PV}.tar.gz \ file://Configure-multilib.patch \ file://perl-configpm-switch.patch \ file://parallel_build_fix_1.patch \
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 12/23] uclibc.inc: libsegfault is only RPROVIDED by uclibc
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Using ${PN} also means that uclibc-initial gets to provide it which we do not want
--- meta/recipes-core/uclibc/uclibc.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-core/uclibc/uclibc.inc +1 -1
@@ -99,7 +99,7 @@ RPROVIDES_uclibc-dev += "libc-dev virtual-libc-dev" # uclibc does not really have libsegfault but then using the one from glibc is also not # going to work. So we pretend that we have it to make bitbake not pull other recipes # to satisfy this dependency for the images/tasks -RPROVIDES_${PN} += "libsegfault" +RPROVIDES_uclibc += "libsegfault" SRC_URI = "\ http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2;name=uClibc-${PV} \
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 11/23] util-macros_1.13.0.bb: Depend on virtual/gettext instead of gettext
In reply to Saul WoldFrom: Khem Raj <[email protected]>
So multiple provider problem can be reolved amicably
--- .../xorg-util/util-macros_1.13.0.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/xorg-util/util-macros_1.13.0.bb +2 -2
@@ -12,8 +12,8 @@ PR = "r0" # ${PN} is empty so we need to tweak -dev and -dbg package dependencies DEPENDS = "libgpg-error" -DEPENDS_virtclass-native = "gettext" -DEPENDS_virtclass-nativesdk = "gettext" +DEPENDS_virtclass-native = "virtual/gettext" +DEPENDS_virtclass-nativesdk = "virtual/gettext" RDEPENDS_${PN}-dev = "" RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 13/23] gettext_0.18.1.1.bb: Fix build on uclibc
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Use libc-uclibc override to seprate out uclibc bits instead of using TARGET_OS
--- .../gnulib-uclibc-sched_param-def.patch | 21 ++++++++++++++++++++ meta/recipes-core/gettext/gettext_0.18.1.1.bb | 7 +++-- 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/gnulib-uclibc-sched_param-def.patch
meta/recipes-core/gettext/gettext-0.18.1.1/gnulib-uclibc-sched_param-def.patch new file +21 -0
@@ -0,0 +1,21 @@ +uclibc defines __GLIBC__ but it does not expose struct shed_param as much as glibc +and is not needed too per standard. gnulib attempts to use it but we have to account +for it because in this case uclibc does not behave like glibc. + +-Khem + +Upstream-Status: Pending + +Index: gettext-0.18.1.1/gettext-tools/gnulib-lib/spawn.in.h +=================================================================== +--- gettext-0.18.1.1.orig/gettext-tools/gnulib-lib/spawn.in.h ++++ gettext-0.18.1.1/gettext-tools/gnulib-lib/spawn.in.h +@@ -31,7 +31,7 @@ + + /* Get definitions of 'struct sched_param' and 'sigset_t'. + But avoid namespace pollution on glibc systems. */ +-#ifndef __GLIBC__ ++#if !defined __GLIBC__ || defined __UCLIBC__ + # include <sched.h> + # include <signal.h> + #endif
meta/recipes-core/gettext/gettext_0.18.1.1.bb +4 -3
@@ -12,11 +12,12 @@ PROVIDES = "virtual/libintl virtual/gettext" PROVIDES_virtclass-native = "" CONFLICTS_${PN} = "proxy-libintl" SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ - file://wchar-uclibc.patch \ " -SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch;patch=1" -SRC_URI_append_linux-uclibceabi = " file://gettext-error_print_progname.patch;patch=1" +SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \ + file://gettext-error_print_progname.patch \ + file://gnulib-uclibc-sched_param-def.patch \ + " SRC_URI[md5sum] = "3dd55b952826d2b32f51308f2f91aa89" SRC_URI[sha256sum] = "93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 14/23] uclibc: Cleanup the machine dependent config files
In reply to Saul WoldFrom: Khem Raj <[email protected]>
We only have arch specific machine fragments now. Introduce use of KCONFIG_ALLCONFIG and use allnoconfig
---
.../uclibc/uclibc-git/armv5te/uClibc.machine | 4 +-
.../{nslu2be => armv5teb}/uClibc.machine | 0
.../uclibc/uclibc-git/efika/uClibc.machine | 45 ------------
.../uclibc-git/{qemumips => mips}/uClibc.machine | 0
.../uclibc/uclibc-git/qemuarm/uClibc.machine | 77 --------------------
.../uclibc/uclibc-git/qemux86/uClibc.machine | 59 ---------------
meta/recipes-core/uclibc/uclibc-git/uClibc.distro | 14 ++++-
meta/recipes-core/uclibc/uclibc.inc | 5 +-
meta/recipes-core/uclibc/uclibc_git.bb | 1 -
9 files changed, 17 insertions(+), 188 deletions(-)
rename meta/recipes-core/uclibc/uclibc-git/{nslu2be => armv5teb}/uClibc.machine (100%)
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/efika/uClibc.machine
rename meta/recipes-core/uclibc/uclibc-git/{qemumips => mips}/uClibc.machine (100%)
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/qemuarm/uClibc.machine
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/qemux86/uClibc.machine
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/uClibc.configmeta/recipes-core/uclibc/uclibc-git/armv5te/uClibc.machine +2 -2
@@ -38,14 +38,14 @@ FORCE_OPTIONS_FOR_ARCH=y CONFIG_ARM_EABI=y # COMPILE_IN_THUMB_MODE is not set USE_BX=y -CONFIG_GENERIC_ARM=y +# CONFIG_GENERIC_ARM is not set # CONFIG_ARM610 is not set # CONFIG_ARM710 is not set # CONFIG_ARM7TDMI is not set # CONFIG_ARM720T is not set # CONFIG_ARM920T is not set # CONFIG_ARM922T is not set -# CONFIG_ARM926T is not set +CONFIG_ARM926T=y # CONFIG_ARM10T is not set # CONFIG_ARM1136JF_S is not set # CONFIG_ARM1176JZ_S is not set
meta/recipes-core/uclibc/uclibc-git/armv5teb/uClibc.machine renamed from meta/recipes-core/uclibc/uclibc-git/nslu2be/uClibc.machine +0 -0
meta/recipes-core/uclibc/uclibc-git/efika/uClibc.machine deleted +0 -45
45 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/mips/uClibc.machine renamed from meta/recipes-core/uclibc/uclibc-git/qemumips/uClibc.machine +0 -0
meta/recipes-core/uclibc/uclibc-git/qemuarm/uClibc.machine deleted +0 -77
77 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/qemux86/uClibc.machine deleted +0 -59
59 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/uClibc.config deleted +0 -0
meta/recipes-core/uclibc/uclibc-git/uClibc.distro +13 -1
@@ -157,4 +157,16 @@ WARNINGS="-Wall" DO_C99_MATH=y UCLIBC_HAS_LONG_DOUBLE_MATH=y UCLIBC_HAS_FENV=y - +UCLIBC_LINUX_SPECIFIC=y +UCLIBC_HAS_REALTIME=y +UCLIBC_HAS_ADVANCED_REALTIME=y +UCLIBC_HAS_NETWORK_SUPPORT=y +UCLIBC_HAS_SOCKET=y +UCLIBC_HAS_BSD_ERR=y +UCLIBC_HAS_SYSLOG=y +UCLIBC_HAS_CRYPT=y +UCLIBC_HAS_CRYPT_IMPL=y +UCLIBC_HAS_GNU_ERROR=y +UCLIBC_HAS_PTY=y +UCLIBC_BSD_SPECIFIC=y +UCLIBC_HAS_EPOLL=y
meta/recipes-core/uclibc/uclibc.inc +2 -3
@@ -202,12 +202,11 @@ do_configure() { echo "### FPU" >>${S}/merged.config echo "### ABI" >>${S}/merged.config echo "### DISTRO FEATURES" >>${S}/merged.config - cp ${S}/merged.config ${S}/.config # Mangle the resulting .config depending on OE variables - sed -i -e '${configmangle}' ${S}/.config + sed -i -e '${configmangle}' ${S}/merged.config - oe_runmake oldconfig + oe_runmake KCONFIG_ALLCONFIG=${S}/merged.config allnoconfig } do_install() {
meta/recipes-core/uclibc/uclibc_git.bb +0 -1
@@ -10,7 +10,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \ - file://uClibc.config \ file://uClibc.machine \ file://uClibc.distro \ file://uclibc-arm-ftruncate64.patch \
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 15/23] uclibc: remove redundant python code
In reply to Saul WoldFrom: Phil Blundell <[email protected]>
This chunk of python code has been around for a while (witness the comment about gcc 3.4.0) and predates the availability of COMPATIBLE_HOST. Rewrite it using a more modern idiom.
--- meta/recipes-core/uclibc/uclibc.inc | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-)
meta/recipes-core/uclibc/uclibc.inc +1 -11
@@ -36,21 +36,11 @@ cp ${SYSROOT_DESTDIR}${libdir}/libc.so ${WORKDIR}/site_config_libc; \ sed -i -e 's# ${base_libdir}# ${SYSROOT_DESTDIR}${base_libdir}#g' -e 's# ${libdir}# ${SYSROOT_DESTDIR}${libdir}#g' ${WORKDIR}/site_config_libc/libc.so; \ " -# # For now, we will skip building of a gcc package if it is a uclibc one # and our build is not a uclibc one, and we skip a glibc one if our build # is a uclibc build. -# -# See the note in gcc/gcc_3.4.0.oe -# +COMPATIBLE_HOST = ".*-uclibc.*" -python __anonymous () { - import bb, re - uc_os = (re.match('.*uclibc*', bb.data.getVar('TARGET_OS', d, 1)) != None) - if not uc_os: - raise bb.parse.SkipPackage("incompatible with target %s" % - bb.data.getVar('TARGET_OS', d, 1)) -} PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" DEPENDS = "virtual/${TARGET_PREFIX}binutils \ virtual/${TARGET_PREFIX}gcc-intermediate \
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 16/23] uclibc: remove PACKAGE_ARCH, fix compilation on i586
In reply to Saul WoldFrom: Phil Blundell <[email protected]>
There is no good reason for uclibc to be machine specific. Remove local assignment to PACKAGE_ARCH so that it gets the default target architecture and bump PR for that change.
See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/003064.html
--- meta/recipes-core/uclibc/uclibc_git.bb | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
meta/recipes-core/uclibc/uclibc_git.bb +1 -3
@@ -2,11 +2,9 @@ SRCREV="71d63ed75648da9b0b71afabb9c60aaad792c55c" require uclibc.inc PV = "0.9.31+0.9.32rc3" -PR = "${INC_PR}.2" +PR = "${INC_PR}.3" PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc" -#recent versions uclibc require real kernel headers -PACKAGE_ARCH = "${MACHINE_ARCH}" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \
Signature · 1 line
1.7.3.4
Re: [*RFC CONSOLIDATED PULL RFC* 16/23] uclibc: remove PACKAGE_ARCH, fix compilation on i586
Quoted 5 lines · Saul Wold
From: Phil Blundell <[email protected]>
There is no good reason for uclibc to be machine specific. Remove local assignment to
PACKAGE_ARCHso that it gets the default target architecture and bump PR for that change.
I just noticed that I forgot to update the subject line when I split this patch into three. This part no longer has anything to do with i586 compile fixes; it should just be "uclibc: remove PACKAGE_ARCH".
p.
[*RFC CONSOLIDATED PULL RFC* 17/23] qemu.inc: append to IMAGE_FSTYPES instead of weakly assigning them
In reply to Saul WoldFrom: Koen Kooi <[email protected]>
The ext3 format is pretty much mandatory for qemu usage, so always create it.
--- meta/conf/machine/include/qemu.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/machine/include/qemu.inc +1 -1
@@ -3,7 +3,7 @@ PREFERRED_PROVIDER_virtual/xserver ?= "xserver-kdrive" MACHINE_FEATURES = "kernel26 apm alsa pcmcia bluetooth irda usbgadget screen" -IMAGE_FSTYPES ?= "tar.bz2 ext3" +IMAGE_FSTYPES += "tar.bz2 ext3" ROOT_FLASH_SIZE = "280"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 19/23] update-alternatives-dpkg: Fix SRC_URI Checksum
In reply to Saul Wold--- .../update-alternatives-dpkg_1.16.0.3.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.16.0.3.bb +2 -2
@@ -4,5 +4,5 @@ PR = "${INC_PR}.0" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -SRC_URI[md5sum] = "d1731d4147c1ea3b537a4d094519a6dc" -SRC_URI[sha256sum] = "1ec1376471b04717a4497e5d7a27cd545248c92116898ce0c53ced8ea94267b5" +SRC_URI[md5sum] = "0266b06ef9da8278cea008d21e17e5f6" +SRC_URI[sha256sum] = "69669720020e67629d70aa5325e3c20c05cae7a9fc2d8abd442672c7b29e31d3"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 21/23] rxvt-unicode: Fix SRC_URI & LIC_FILES Checksum
In reply to Saul Wold--- .../recipes-sato/rxvt-unicode/rxvt-unicode_9.11.bb | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.11.bb +4 -4
@@ -7,12 +7,12 @@ output. It also supports mixing multiple fonts at the \ same time, including Xft fonts." LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ - file://src/main.C;beginline=1;endline=31;md5=633e23cdeb89fe980ded9a3af4f335c2" + file://src/main.C;beginline=1;endline=31;md5=775485398a09fa7aee6f90464af88432" SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \ file://xwc.patch \ file://rxvt.desktop \ file://rxvt.png" -PR = "r0" +PR = "r1" inherit autotools update-alternatives
@@ -61,5 +61,5 @@ do_install_append () { FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png" -SRC_URI[md5sum] = "a23aa40b31e843878b6f9c44768de430" -SRC_URI[sha256sum] = "1c238f7e545b1a8da81239b826fb2a7d196c73effbcbd211db7a50995a0a067a" +SRC_URI[md5sum] = "1bed5bfeed026e0bfafa0e9e4f62aa37" +SRC_URI[sha256sum] = "0452c00066774ef6e32fcd0a1e6f09230392ea9f6f42e1c2ef7b91d6fcb82d85"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 20/23] jsib-glib: Fix SRC_URI Checksum
In reply to Saul Wold--- meta/recipes-gnome/json-glib/json-glib_0.12.4.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-gnome/json-glib/json-glib_0.12.4.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" DEPENDS = "glib-2.0" SRC_URI[archive.md5sum] = "347e1714e4a2ce54298969d5ffec7dca" -SRC_URI[archive.sha256sum] = "462cd611016ae189d5e3f258dc7741e6a2e8267404b4e3806aaf346d50f1df7e" +SRC_URI[archive.sha256sum] = "462cd611016ae189d5e3f258dc7741e6a2e8267404b4e3806aaf346d50f1df7e" PR = "r0"
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 22/23] alsa-tools: fix Checksums
In reply to Saul Wold--- .../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb +5 -2
@@ -5,12 +5,15 @@ SECTION = "console/utils" LICENSE = "GPLv2" DEPENDS = "alsa-lib ncurses" +PR = "r1" + LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2" -SRC_URI[md5sum] = "6b9d146af621dd712472b3ebb519c596" -SRC_URI[sha256sum] = "2a05047363b20f16820f36198ed3b139d1c55f55464750ea11d350e00b09cb86" +SRC_URI[md5sum] = "08fe93a12006093e590d7ecc02b119dd" +SRC_URI[sha256sum] = "17d43de93ab2db98886d89a53e45341daa46a4ef6edd405db87f4b5a5dc64a05" +EXTRA_OEFLAGS = "--host ${HOST_SYS}" inherit autotools
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 23/23] libx11-diet: Fixed checksum and rebase patch
In reply to Saul Wold--- meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb | 14 +++-- .../xorg-lib/libx11/X18NCMSstubs.diff | 62 +++++++++++-------- 2 files changed, 44 insertions(+), 32 deletions(-)
meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb +8 -6
@@ -3,13 +3,15 @@ require libx11.inc DESCRIPTION += " Support for XCB, UDC, XCMS and XLOCALE is disabled in \ this version." -PR = "r1" +LIC_FILES_CHKSUM = "file://COPYING;md5=597df7e9217e89ccaeb749f48ce2aeb0" -SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \ - file://include_fix.patch;patch=1 \ - file://X18NCMSstubs.diff;patch=1 \ - file://fix-disable-xlocale.diff;patch=1 \ - file://fix-utf8-wrong-define.patch;patch=1" +PR = "r2" + +SRC_URI += "file://x11_disable_makekeys.patch \ + file://include_fix.patch \ + file://X18NCMSstubs.diff \ + file://fix-disable-xlocale.diff \ + file://fix-utf8-wrong-define.patch" DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ libxdmcp xf86bigfontproto kbproto inputproto xproto-native"
meta/recipes-graphics/xorg-lib/libx11/X18NCMSstubs.diff +36 -26
123 lines not on this page · raw message
Signature · 1 line
1.7.3.4
[*RFC CONSOLIDATED PULL RFC* 18/23] connman-gnome 0.5: build from git
In reply to Saul WoldFrom: Koen Kooi <[email protected]>
All the local patches were applied upstream, so let's build straight from git to make that clear
--- .../connman-gnome/applet_menu_popup_fix.patch | 19 - .../connman/connman-gnome/connman-gnome.patch | 4162 -------------------- .../remove-connman-property-desktop-file.patch | 42 - .../connman-gnome/service_name_update.patch | 36 - .../connman/connman-gnome_0.5.bb | 13 +- 5 files changed, 4 insertions(+), 4268 deletions(-) delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/connman-gnome.patch delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch
meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch deleted +0 -19
@@ -1,19 +0,0 @@ -Even if all services are not available, we still need to let user have -the ability to configure network, for example, online/offline, etc. -Therefore enable the callback menu even when status is unavailable. - -Signed-off-by: Dongxiao Xu <[email protected]> - -diff --git a/applet/status.c b/applet/status.c -index 13ec752..d817f22 100644 ---- a/applet/status.c -+++ b/applet/status.c -@@ -231,8 +231,6 @@ void status_unavailable(void) - { - icon_animation_stop(animation); - -- available = FALSE; -- - gtk_status_icon_set_from_pixbuf(statusicon, pixbuf_notifier); - gtk_status_icon_set_tooltip(statusicon, - "Connection Manager daemon is not running");
meta/recipes-connectivity/connman/connman-gnome/connman-gnome.patch deleted +0 -4162
2,981 lines not on this page · raw message
meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch deleted +0 -42
42 lines not on this page · raw message
meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch deleted +0 -36
Lines of this file are not shown. View the raw message.
meta/recipes-connectivity/connman/connman-gnome_0.5.bb +4 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.3.4
Part of the diff is not shown here. View the raw message.