Consolidated Pull Request
cover Consolidated Pull Request
From: Saul Wold <[email protected]>
Richard,
This has a dependency on your tweaks to gettext.bbclass and base.bbclass. Otherwise this set has been well tested. It also contains patches that need to backported to bernard.
Pull URL: git://git.openembedded.org/openembedded-core-contrib
Branch: sgw/stage
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage
Thanks,
Saul Wold <[email protected]>
---
Darren Hart (2):
logging: update existing oe* logging users to the bb* interface
logging: delete the oe(note|warn|fatal|debug) functions
Gary Thomas (1):
Fix matchbox-panel-2 compile error
Ilya Yanok (1):
liberation-fonts: postinst can't be called offline
Jiajun Xu (1):
qemuimagetest: Enable toolchain automation tests in qemuimagetest
Kang Kai (3):
groff: update to 1.20.1
lsbsetup: add commands install_initd and remove_initd
task-core-lsb: add xdg-utils into lsb image
Khem Raj (4):
insane.bbclass: Checking for NLS too when checking gettext dependency
libx11: Use inherit gettext
alsa-utils_1.0.24.2.bb: Fix build for uclibc targets perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
Koen Kooi (1):
git: make it work on the target
Martin Jansa (1):
git: use DESTDIR=$D instead prefixing all variables by $D
Mei Lei (1):
distro_check.py: Fix some bugs in distro_check.py
Paul Eggleton (1):
netbase: fix check for nfsroot in if-pre-up.d script
Qing He (8):
attr: upgrade to version 2.4.46
acl: upgrade to version 2.2.51
augeas: upgrade to version 0.8.1
curl: upgrade to version 7.21.6
busybox: upgrade to version 1.18.4
shared-mime-info: upgrade to version 0.90
lzo: upgrade to version 2.05
libcap: upgrade to version 2.20
Saul Wold (5):
git: Disable gitk from by default
puzzles: update to r9163
linuxdoc-tools-native: add groff-native to DEPENDS libsoup-2.4: Update to 2.34.1
perl: fix Configure-multilib.patch
Tom Zanussi (1):
core-image-directdisk: add LIC_FILES_CHECKSUM
Xiaofeng Yan (3):
create-lsb-iamge:Fix bugs
task-core-lsb.bb: Add packages liberation-fonts to lsb-imag LSB_Setup.sh: Add character set to lsb-image
meta/classes/autotools.bbclass | 16 +-
meta/classes/base.bbclass | 31 +---
meta/classes/distutils.bbclass | 8 +-
meta/classes/imagetest-qemu.bbclass | 9 +-
meta/classes/insane.bbclass | 9 +-
meta/classes/kernel.bbclass | 4 +-
meta/classes/qmake_base.bbclass | 10 +-
meta/classes/scons.bbclass | 4 +-
meta/classes/sip.bbclass | 4 +-
meta/classes/sourcepkg.bbclass | 4 +-
meta/classes/srec.bbclass | 2 +-
meta/classes/utils.bbclass | 20 +-
meta/conf/local.conf.sample | 2 +-
meta/lib/oe/distro_check.py | 17 +-
.../busybox/busybox-1.17.3/make-382-fix.patch | 25 --
.../B921600.patch | 0
.../busybox-appletlib-dependency.patch | 0
.../busybox-udhcpc-no_deconfig.patch | 19 +-
.../{busybox-1.17.3 => busybox-1.18.4}/defconfig | 0
.../get_header_tar.patch | 4 +-
.../run-parts.in.usr-bin.patch | 0
.../udhcpc-fix-nfsroot.patch | 0
.../udhcpscript.patch | 0
.../{busybox_1.17.3.bb => busybox_1.18.4.bb} | 7 +-
meta/recipes-core/dropbear/dropbear.inc | 2 +-
meta/recipes-core/eglibc/eglibc_2.12.bb | 2 +-
meta/recipes-core/glibc/glibc_2.10.1.bb | 2 +-
meta/recipes-core/images/core-image-directdisk.inc | 3 +
meta/recipes-core/meta/meta-toolchain.bb | 3 +-
meta/recipes-core/netbase/netbase-4.45/nfsroot | 2 +-
meta/recipes-core/netbase/netbase_4.45.bb | 2 +-
meta/recipes-devtools/git/git.inc | 37 +++-
meta/recipes-devtools/git/git_1.7.4.3.bb | 2 +-
.../linuxdoc-tools/linuxdoc-tools-native_0.9.66.bb | 4 +-
.../perl/files/Configure-multilib.patch | 15 ++
.../perl/perl-5.12.3/Configure-multilib.patch | 2 +-
meta/recipes-devtools/perl/perl-native_5.12.3.bb | 10 +-
meta/recipes-devtools/python/python_2.6.6.bb | 2 +-
meta/recipes-extended/augeas/augeas_0.7.4.bb | 6 -
meta/recipes-extended/augeas/augeas_0.8.1.bb | 6 +
.../groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch | 35 ---
.../groff/groff-1.18.1.4/man-local.patch | 32 ---
.../groff/groff-1.18.1.4/mdoc-local.patch | 31 ---
meta/recipes-extended/groff/groff_1.18.1.4.bb | 46 ----
meta/recipes-extended/groff/groff_1.20.1.bb | 36 +++
meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh | 1 +
meta/recipes-extended/lsb/lsbsetup_0.9.bb | 7 +-
meta/recipes-extended/tasks/task-core-lsb.bb | 2 +
.../ttf-fonts/liberation-fonts_1.04.bb | 3 +
.../ttf-fonts/liberation-fonts_1.06.bb | 3 +
meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb | 3 +-
meta/recipes-graphics/xorg-lib/libx11_git.bb | 6 +-
.../uclibc-exp10-replacement.patch | 21 ++
.../recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb | 4 +-
.../matchbox-panel-2/gcc-4.6.0-compile.patch | 51 +++++
.../matchbox-panel-2/matchbox-panel-2_git.bb | 5 +-
.../puzzles/{puzzles_r9151.bb => puzzles_r9163.bb} | 0
meta/recipes-support/attr/acl_2.2.49.bb | 6 -
meta/recipes-support/attr/acl_2.2.51.bb | 6 +
.../attr/attr-2.4.44/double-free.patch | 18 --
.../attr/attr-2.4.44/memory-leak-in-copy.patch | 50 -----
.../attr/attr-2.4.44/memory-leak2.patch | 18 --
.../attr/attr-2.4.44/pull-in-string.h.patch | 21 --
.../attr/attr-2.4.44/thinko-in-restore.patch | 19 --
meta/recipes-support/attr/attr_2.4.44.bb | 12 -
meta/recipes-support/attr/attr_2.4.46.bb | 6 +
meta/recipes-support/attr/ea-acl.inc | 2 +-
.../attr/files/no-fixed-prog-path.patch | 99 ---------
meta/recipes-support/curl/curl/noldlibpath.patch | 2 +
meta/recipes-support/curl/curl/pkgconfig_fix.patch | 5 +-
.../curl/{curl_7.21.2.bb => curl_7.21.6.bb} | 6 +-
meta/recipes-support/libcap/libcap.inc | 2 +-
meta/recipes-support/libcap/libcap_2.19.bb | 6 -
meta/recipes-support/libcap/libcap_2.20.bb | 6 +
...libsoup-2.4_2.32.2.bb => libsoup-2.4_2.34.1.bb} | 7 +-
meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bb | 11 -
.../lzo/{lzo-2.04 => lzo-2.05}/acinclude.m4 | 0
.../lzo/{lzo-2.04 => lzo-2.05}/autoconf.patch | 4 +-
.../lzo/{lzo_2.04.bb => lzo_2.05.bb} | 8 +-
.../files/fix-parallel-build.patch | 33 +++
.../shared-mime-info/shared-mime-info_0.80.bb | 5 -
.../shared-mime-info/shared-mime-info_0.90.bb | 7 +
scripts/create-lsb-image | 2 +-
scripts/qemuimage-testlib | 232 +++++++++++++++++++-
.../scenario/qemuarm/meta-toolchain-gmae | 3 +
.../scenario/qemumips/meta-toolchain-gmae | 3 +
.../scenario/qemuppc/meta-toolchain-gmae | 3 +
.../scenario/qemux86-64/meta-toolchain-gmae | 3 +
.../scenario/qemux86/meta-toolchain-gmae | 3 +
scripts/qemuimage-tests/toolchain/cvs | 31 +++
scripts/qemuimage-tests/toolchain/iptables | 31 +++
scripts/qemuimage-tests/toolchain/sudoku-savant | 31 +++
92 files changed, 711 insertions(+), 571 deletions(-)
delete mode 100644 meta/recipes-core/busybox/busybox-1.17.3/make-382-fix.patch
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/B921600.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/busybox-appletlib-dependency.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/busybox-udhcpc-no_deconfig.patch (90%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/defconfig (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/get_header_tar.patch (76%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/run-parts.in.usr-bin.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/udhcpc-fix-nfsroot.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/udhcpscript.patch (100%)
rename meta/recipes-core/busybox/{busybox_1.17.3.bb => busybox_1.18.4.bb} (81%)
create mode 100644 meta/recipes-devtools/perl/files/Configure-multilib.patch
delete mode 100644 meta/recipes-extended/augeas/augeas_0.7.4.bb
create mode 100644 meta/recipes-extended/augeas/augeas_0.8.1.bb
delete mode 100644 meta/recipes-extended/groff/groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch
delete mode 100644 meta/recipes-extended/groff/groff-1.18.1.4/man-local.patch
delete mode 100644 meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch
delete mode 100644 meta/recipes-extended/groff/groff_1.18.1.4.bb
create mode 100644 meta/recipes-extended/groff/groff_1.20.1.bb
create mode 100644 meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/uclibc-exp10-replacement.patch
create mode 100644 meta/recipes-sato/matchbox-panel-2/gcc-4.6.0-compile.patch
rename meta/recipes-sato/puzzles/{puzzles_r9151.bb => puzzles_r9163.bb} (100%)
delete mode 100644 meta/recipes-support/attr/acl_2.2.49.bb
create mode 100644 meta/recipes-support/attr/acl_2.2.51.bb
delete mode 100644 meta/recipes-support/attr/attr-2.4.44/double-free.patch
delete mode 100644 meta/recipes-support/attr/attr-2.4.44/memory-leak-in-copy.patch
delete mode 100644 meta/recipes-support/attr/attr-2.4.44/memory-leak2.patch
delete mode 100644 meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch
delete mode 100644 meta/recipes-support/attr/attr-2.4.44/thinko-in-restore.patch
delete mode 100644 meta/recipes-support/attr/attr_2.4.44.bb
create mode 100644 meta/recipes-support/attr/attr_2.4.46.bb
delete mode 100644 meta/recipes-support/attr/files/no-fixed-prog-path.patch
rename meta/recipes-support/curl/{curl_7.21.2.bb => curl_7.21.6.bb} (92%)
delete mode 100644 meta/recipes-support/libcap/libcap_2.19.bb
create mode 100644 meta/recipes-support/libcap/libcap_2.20.bb
rename meta/recipes-support/libsoup/{libsoup-2.4_2.32.2.bb => libsoup-2.4_2.34.1.bb} (65%)
delete mode 100644 meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bb
rename meta/recipes-support/lzo/{lzo-2.04 => lzo-2.05}/acinclude.m4 (100%)
rename meta/recipes-support/lzo/{lzo-2.04 => lzo-2.05}/autoconf.patch (84%)
rename meta/recipes-support/lzo/{lzo_2.04.bb => lzo_2.05.bb} (59%)
create mode 100644 meta/recipes-support/shared-mime-info/files/fix-parallel-build.patch
delete mode 100644 meta/recipes-support/shared-mime-info/shared-mime-info_0.80.bb
create mode 100644 meta/recipes-support/shared-mime-info/shared-mime-info_0.90.bb
create mode 100644 scripts/qemuimage-tests/scenario/qemuarm/meta-toolchain-gmae
create mode 100644 scripts/qemuimage-tests/scenario/qemumips/meta-toolchain-gmae
create mode 100644 scripts/qemuimage-tests/scenario/qemuppc/meta-toolchain-gmae
create mode 100644 scripts/qemuimage-tests/scenario/qemux86-64/meta-toolchain-gmae
create mode 100644 scripts/qemuimage-tests/scenario/qemux86/meta-toolchain-gmae
create mode 100644 scripts/qemuimage-tests/toolchain/cvs
create mode 100644 scripts/qemuimage-tests/toolchain/iptables
create mode 100644 scripts/qemuimage-tests/toolchain/sudoku-savantSignature · 1 line
1.7.4.1
PATCH 1/33 core-image-directdisk: add LIC_FILES_CHECKSUM
From: Tom Zanussi <[email protected]>
Fix for build failure.
--- meta/recipes-core/images/core-image-directdisk.inc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
meta/recipes-core/images/core-image-directdisk.inc +3 -0
@@ -1,5 +1,8 @@ inherit boot-directdisk +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + do_bootdirectdisk_prepend () { import bb fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
Signature · 1 line
1.7.4.1
PATCH 2/33 liberation-fonts: postinst can't be called offline
In reply to Saul WoldFrom: Ilya Yanok <[email protected]>
fc-cache should be called on target system. Or maybe we should pass a suitable directory list to it?
--- .../ttf-fonts/liberation-fonts_1.04.bb | 3 +++ .../ttf-fonts/liberation-fonts_1.06.bb | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-)
meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb +3 -0
@@ -34,6 +34,9 @@ do_install () { pkg_postinst_${PN} () { #!/bin/sh +if [ "x$D" != "x" ] ; then + exit 1 +fi fc-cache }
meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb +3 -0
@@ -35,6 +35,9 @@ do_install () { pkg_postinst_${PN} () { #!/bin/sh +if [ "x$D" != "x" ] ; then + exit 1 +fi fc-cache }
Signature · 1 line
1.7.4.1
PATCH 3/33 groff: update to 1.20.1
In reply to Saul WoldFrom: Kang Kai <[email protected]>
Update groff to 1.20.1, add SUMMARY and LICENSE info From OE 70bf94cd8669f549ca90581e9592d409b6e24e2e Fixes [Yocto 879]
--- .../groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch | 35 --------------- .../groff/groff-1.18.1.4/man-local.patch | 32 -------------- .../groff/groff-1.18.1.4/mdoc-local.patch | 31 ------------- meta/recipes-extended/groff/groff_1.18.1.4.bb | 46 -------------------- meta/recipes-extended/groff/groff_1.20.1.bb | 36 +++++++++++++++ 5 files changed, 36 insertions(+), 144 deletions(-) delete mode 100644 meta/recipes-extended/groff/groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch delete mode 100644 meta/recipes-extended/groff/groff-1.18.1.4/man-local.patch delete mode 100644 meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch delete mode 100644 meta/recipes-extended/groff/groff_1.18.1.4.bb create mode 100644 meta/recipes-extended/groff/groff_1.20.1.bb
meta/recipes-extended/groff/groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch deleted +0 -35
@@ -1,35 +0,0 @@ ---- - groff-1.18.1.4/Makefile.in | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - ---- a/Makefile.in -+++ b/Makefile.in -@@ -460,27 +460,22 @@ OTHERDIRS=\ - src/roff/grog \ - src/roff/nroff \ - contrib/mm \ - contrib/pic2graph \ - contrib/eqn2graph \ -- contrib/groffer \ -- contrib/mom \ -- doc -+ contrib/groffer - ALLDIRS=$(INCDIRS) $(LIBDIRS) $(PROGDIRS) \ - $(DEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS) $(OTHERDIRS) - EXTRADIRS=\ - font/devps/generate \ - font/devdvi/generate \ - font/devlj4/generate \ -- src/xditview \ - doc - NOMAKEDIRS=\ - arch/djgpp \ - contrib/mm/examples \ - contrib/mm/mm \ -- contrib/mom/examples \ -- contrib/mom/momdoc \ - src/libs/snprintf - DISTDIRS=\ - $(INCDIRS) $(LIBDIRS) $(PROGDIRS) $(DEVDIRS) $(OTHERDEVDIRS) \ - $(ALLTTYDEVDIRS) $(OTHERDIRS) $(EXTRADIRS) $(NOMAKEDIRS) - TARGETS=all install install_bin install_data clean distclean mostlyclean \
meta/recipes-extended/groff/groff-1.18.1.4/man-local.patch deleted +0 -32
@@ -1,32 +0,0 @@ -Index: groff-1.18.1.4/tmac/man.local -=================================================================== ---- groff-1.18.1.4.orig/tmac/man.local 2000-10-26 22:15:17.000000000 +0800 -+++ groff-1.18.1.4/tmac/man.local 2010-08-24 14:17:52.070006664 +0800 -@@ -1,2 +1,27 @@ - .\" This file is loaded after an-old.tmac. - .\" Put any local modifications to an-old.tmac here. -+. -+.if n \{\ -+. \" Debian: Map \(oq to ' rather than ` in nroff mode for devices other -+. \" than utf8. -+. if !'\*[.T]'utf8' \ -+. tr \[oq]' -+. -+. \" Debian: Disable the use of SGR (ANSI colour) escape sequences by -+. \" grotty. -+. if '\V[GROFF_SGR]'' \ -+. output x X tty: sgr 0 -+. -+. \" Debian: Map \- to the Unicode HYPHEN-MINUS character, to make -+. \" searching in man pages easier. -+. if '\*[.T]'utf8' \ -+. char \- \N'45' -+. -+. \" Debian: Many UTF-8 man pages use "-" instead of "\-" for dashes such -+. \" as those in command-line options. This is a bug in those pages, but -+. \" too many fonts are missing the Unicode HYPHEN character, so we render -+. \" this as the ASCII-compatible HYPHEN-MINUS instead. -+. if '\*[.T]'utf8' \ -+. char - \N'45' -+.\} -+
meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch deleted +0 -31
@@ -1,31 +0,0 @@ -Index: groff-1.18.1.4/tmac/mdoc.local -=================================================================== ---- groff-1.18.1.4.orig/tmac/mdoc.local 2001-03-23 08:17:51.000000000 +0800 -+++ groff-1.18.1.4/tmac/mdoc.local 2010-08-24 14:20:22.014006846 +0800 -@@ -1,2 +1,26 @@ - .\" This file is loaded after doc.tmac. - .\" Put any local modifications to doc.tmac here. -+. -+.if n \{\ -+. \" Debian: Map \(oq to ' rather than ` in nroff mode for devices other -+. \" than utf8. -+. if !'\*[.T]'utf8' \ -+. tr \[oq]' -+. -+. \" Debian: Disable the use of SGR (ANSI colour) escape sequences by -+. \" grotty. -+. if '\V[GROFF_SGR]'' \ -+. output x X tty: sgr 0 -+. -+. \" Debian: Map \- to the Unicode HYPHEN-MINUS character, to make -+. \" searching in man pages easier. -+. if '\*[.T]'utf8' \ -+. char \- \N'45' -+. -+. \" Debian: Many UTF-8 man pages use "-" instead of "\-" for dashes such -+. \" as those in command-line options. This is a bug in those pages, but -+. \" too many fonts are missing the Unicode HYPHEN character, so we render -+. \" this as the ASCII-compatible HYPHEN-MINUS instead. -+. if '\*[.T]'utf8' \ -+. char - \N'45' -+.\}
meta/recipes-extended/groff/groff_1.18.1.4.bb deleted +0 -46
46 lines not on this page · raw message
meta/recipes-extended/groff/groff_1.20.1.bb new file +36 -0
@@ -0,0 +1,36 @@ +SUMMARY = "GNU Troff software" +DESCRIPTION = "The groff (GNU troff) software is a typesetting package which reads plain text mixed with \ +formatting commands and produces formatted output." +SECTION = "base" +HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/" +LICENSE = "GPLv2" +PR = "r0" + +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz" + +SRC_URI[md5sum] = "48fa768dd6fdeb7968041dd5ae8e2b02" +SRC_URI[sha256sum] = "b645878135cb620c6c417c5601bfe96172245af12045540d7344938b4c2cd805" + +DEPENDS = "groff-native" +DEPENDS_virtclass-native = "" + +inherit autotools + +PARALLEL_MAKE = "" + +do_configure_prepend() { + if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then + sed -i \ + -e '/^GROFFBIN=/s:=.*:=${STAGING_BINDIR_NATIVE}/groff:' \ + -e '/^TROFFBIN=/s:=.*:=${STAGING_BINDIR_NATIVE}/troff:' \ + -e '/^GROFF_BIN_PATH=/s:=.*:=${STAGING_BINDIR_NATIVE}:' \ + -e '/^GROFF_BIN_DIR=/s:=.*:=${STAGING_BINDIR_NATIVE}:' \ + ${S}/contrib/*/Makefile.sub \ + ${S}/doc/Makefile.in \ + ${S}/doc/Makefile.sub + fi +} + +BBCLASSEXTEND = "native"
Signature · 1 line
1.7.4.1
PATCH 4/33 lsbsetup: add commands install_initd and remove_initd
In reply to Saul WoldFrom: Kang Kai <[email protected]>
Add commands install_initd and remove_initd link to chkconfig, which can handler LSB format init.d scripts. Needed by LSB commands check. Bump PR to r2
Part fixes [Yocto 520]
--- meta/recipes-extended/lsb/lsbsetup_0.9.bb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
meta/recipes-extended/lsb/lsbsetup_0.9.bb +6 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "auto-setup environment for lsb test" SECTION = "console/utils" PRIORITY = "required" LICENSE = "GPLv2" -PR = "r1" +PR = "r2" LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
@@ -14,4 +14,9 @@ do_install() { # Only install file if it has a contents install -d ${D}/usr/bin install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin + install -d ${D}/usr/lib/lsb + ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd + ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd } + +FILES_${PN} += "${libdir}/lsb"
Signature · 1 line
1.7.4.1
PATCH 6/33 Fix matchbox-panel-2 compile error
In reply to Saul WoldFrom: Gary Thomas <[email protected]>
This patch is needed when building with GCC-4.6.0
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
From 7337ecd4970f7d94080ad70b912bdb2742d2d7aa Mon Sep 17 00:00:00 2001
From: Gary Thomas <[email protected]>
Date: Thu, 28 Apr 2011 11:03:44 -0600
Subject: [PATCH] matchbox-panel: fix compile error with GCC-4.6.0
Upstream-Status: Pending
--- .../matchbox-panel-2/gcc-4.6.0-compile.patch | 51 ++++++++++++++++++++ .../matchbox-panel-2/matchbox-panel-2_git.bb | 5 +- 2 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-sato/matchbox-panel-2/gcc-4.6.0-compile.patch
meta/recipes-sato/matchbox-panel-2/gcc-4.6.0-compile.patch new file +51 -0
@@ -0,0 +1,51 @@ +diff -ur git.ORIG/applets/startup/startup.c git/applets/startup/startup.c +--- git.ORIG/applets/startup/startup.c 2011-04-28 08:13:25.000000000 -0600 ++++ git/applets/startup/startup.c 2011-04-28 09:36:48.521990746 -0600 +@@ -210,9 +210,8 @@ + { + XEvent *xevent; + xevent = (XEvent *) gdk_xevent; +- gboolean ret; + +- ret = sn_display_process_event (applet->sn_display, xevent); ++ sn_display_process_event (applet->sn_display, xevent); + + return GDK_FILTER_CONTINUE; + } +@@ -223,7 +222,6 @@ + { + StartupApplet *applet; + Display *xdisplay; +- SnMonitorContext *context; + + /* Create applet data structure */ + applet = g_slice_new0 (StartupApplet); +@@ -248,7 +246,7 @@ + + applet->sn_display = sn_display_new (xdisplay, NULL, NULL); + +- context = sn_monitor_context_new (applet->sn_display, ++ sn_monitor_context_new (applet->sn_display, + DefaultScreen(xdisplay), + monitor_event_func, + (void *) applet, +diff -ur git.ORIG/applets/startup-notify/startup.c git/applets/startup-notify/startup.c +--- git.ORIG/applets/startup-notify/startup.c 2011-04-28 08:05:46.000000000 -0600 ++++ git/applets/startup-notify/startup.c 2011-04-28 09:42:17.793864786 -0600 +@@ -305,7 +305,6 @@ + StartupApplet *applet; + GtkWidget *widget; + Display *xdisplay; +- SnMonitorContext *context; + + applet = g_slice_new0 (StartupApplet); + +@@ -317,7 +316,7 @@ + + applet->sn_display = sn_display_new (xdisplay, NULL, NULL); + +- context = sn_monitor_context_new (applet->sn_display, ++ sn_monitor_context_new (applet->sn_display, + DefaultScreen (xdisplay), + monitor_event_func, + applet, NULL);
meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb +3 -2
@@ -13,13 +13,14 @@ DEPENDS += " ${@base_contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}" DEPENDS += " ${@base_contains("MACHINE_FEATURES", "apm", "apmd", "",d)}" PV = "0.0+git${SRCPV}" -PR = "r0" +PR = "r1" RPROVIDES_${PN} = "matchbox-panel" RREPLACES_${PN} = "matchbox-panel" RCONFLICTS_${PN} = "matchbox-panel" -SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \ +SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \ + file://gcc-4.6.0-compile.patch \ file://startup_fix.diff;patch=1" EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
Signature · 1 line
1.7.4.1
PATCH 5/33 task-core-lsb: add xdg-utils into lsb image
In reply to Saul WoldFrom: Kang Kai <[email protected]>
Add xdg-utils in task-core-lsb, for LSB command check. Part fixes [Yocto 520]
--- meta/recipes-extended/tasks/task-core-lsb.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta/recipes-extended/tasks/task-core-lsb.bb +1 -0
@@ -130,6 +130,7 @@ RDEPENDS_task-core-lsb-command-add = "\ mailx \ msmtp \ chkconfig \ + xdg-utils \ " # cups
Signature · 1 line
1.7.4.1
PATCH 7/33 distro_check.py: Fix some bugs in distro_check.py
In reply to Saul WoldFrom: Mei Lei <[email protected]>
The recipe meta-ide-support's alias is Poky, but not defined in distro_exceptions, this will lead an error. The compare_in_distro_packages_list function omit a split process, this will lead to a form issue.
Change the log file generate way, use symbolic links link to the latest log file, instead of appending every log file in old log.
--- meta/lib/oe/distro_check.py | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-)
meta/lib/oe/distro_check.py +11 -6
@@ -302,7 +302,7 @@ def compare_in_distro_packages_list(distro_check_dir, d): bb.note("Recipe: %s" % recipe_name) tmp = bb.data.getVar('DISTRO_PN_ALIAS', localdata, True) - distro_exceptions = dict({"OE-Core":'OE-Core', "OpenedHand":'OpenedHand', "Intel":'Intel', "Upstream":'Upstream', "WindRiver":'Windriver', "OSPDT":'OSPDT Approved'}) + distro_exceptions = dict({"OE-Core":'OE-Core', "OpenedHand":'OpenedHand', "Intel":'Intel', "Upstream":'Upstream', "WindRiver":'Windriver', "OSPDT":'OSPDT Approved', "Poky":'poky'}) if tmp: list = tmp.split(' ')
@@ -335,8 +335,9 @@ def compare_in_distro_packages_list(distro_check_dir, d): if tmp != None: - matching_distros.append(tmp) - + list = tmp.split(' ') + for item in list: + matching_distros.append(item) bb.note("Matching: %s" % matching_distros) return matching_distros
@@ -348,13 +349,17 @@ def save_distro_check_result(result, datetime, d): return if not os.path.isdir(logdir): os.makedirs(logdir) - result_file = os.path.join(logdir, "distrocheck.csv") + result_file = os.path.join(logdir, "distrocheck.%s.csv" % datetime) line = pn for i in result: line = line + "," + i if not os.path.exists(result_file): - open(result_file, 'w+b').close() # touch the file so that the next open won't fail - f = open(result_file, "a+b") + sresult_file = os.path.join(logdir, "distrocheck.csv") + if os.path.exists(sresult_file): + os.remove(sresult_file) + os.system("touch %s" % result_file) + os.symlink(result_file, sresult_file) + f = open(result_file, "a") import fcntl fcntl.lockf(f, fcntl.LOCK_EX) f.seek(0, os.SEEK_END) # seek to the end of file
Signature · 1 line
1.7.4.1
PATCH 9/33 logging: delete the oe(note|warn|fatal|debug) functions
In reply to Saul WoldFrom: Darren Hart <[email protected]>
The new logging.bbclass replaces the oe* logging functions with bb* equivalents. There are no longer any users of the oe* API within oe-core. Remove the oe* functions.
--- meta/classes/base.bbclass | 27 +-------------------------- 1 files changed, 1 insertions(+), 26 deletions(-)
meta/classes/base.bbclass +1 -26
@@ -37,32 +37,7 @@ python sys_path_eh () { addhandler sys_path_eh die() { - oefatal "$*" -} - -oenote() { - echo "NOTE:" "$*" -} - -oewarn() { - echo "WARNING:" "$*" -} - -oefatal() { - echo "FATAL:" "$*" - exit 1 -} - -oedebug() { - if [ $# -lt 2]; then - echo "Usage: oedebug level \"message\"" - exit 1 - fi - - if [ ${OEDEBUG:-0} -ge $1 ]; then - shift - echo "DEBUG:" $* - fi + bbfatal "$*" } oe_runmake() {
Signature · 1 line
1.7.4.1
PATCH 8/33 logging: update existing oe* logging users to the bb* interface
In reply to Saul WoldFrom: Darren Hart <[email protected]>
The new bash logging class provides bbnote, bbwarn, bbfatal, and bbdebug replacements (as well as bbplain and bberror) for the oe* equivalents. Use the new bb* API in preparation to delete the oe* logging API.
This patch was automatically generated by a sed script. The result has been visually inspected and used to build core-image-sato for qemux86.
--- meta/classes/autotools.bbclass | 16 ++++++++-------- meta/classes/base.bbclass | 4 ++-- meta/classes/distutils.bbclass | 8 ++++---- meta/classes/kernel.bbclass | 4 ++-- meta/classes/qmake_base.bbclass | 10 +++++----- meta/classes/scons.bbclass | 4 ++-- meta/classes/sip.bbclass | 4 ++-- meta/classes/sourcepkg.bbclass | 4 ++-- meta/classes/srec.bbclass | 2 +- meta/classes/utils.bbclass | 20 ++++++++++---------- meta/recipes-core/dropbear/dropbear.inc | 2 +- meta/recipes-core/eglibc/eglibc_2.12.bb | 2 +- meta/recipes-core/glibc/glibc_2.10.1.bb | 2 +- meta/recipes-devtools/python/python_2.6.6.bb | 2 +- 14 files changed, 42 insertions(+), 42 deletions(-)
meta/classes/autotools.bbclass +8 -8
@@ -70,10 +70,10 @@ oe_runconf () { if [ -x ${S}/configure ] ; then cfgcmd="${S}/configure \ ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" - oenote "Running $cfgcmd..." - $cfgcmd || oefatal "oe_runconf failed" + bbnote "Running $cfgcmd..." + $cfgcmd || bbfatal "oe_runconf failed" else - oefatal "no configure script found" + bbfatal "no configure script found" fi }
@@ -132,7 +132,7 @@ autotools_do_configure() { if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then : do nothing -- we still have an old unmodified configure.ac else - oenote Executing glib-gettextize --force --copy + bbnote Executing glib-gettextize --force --copy echo "no" | glib-gettextize --force --copy fi else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
@@ -142,11 +142,11 @@ autotools_do_configure() { fi mkdir -p m4 if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then - oenote Executing intltoolize --copy --force --automake + bbnote Executing intltoolize --copy --force --automake intltoolize --copy --force --automake fi - oenote Executing autoreconf --verbose --install --force ${EXTRA_AUTORECONF} $acpaths - autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || oefatal "autoreconf execution failed." + bbnote Executing autoreconf --verbose --install --force ${EXTRA_AUTORECONF} $acpaths + autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || bbfatal "autoreconf execution failed." cd $olddir fi ;;
@@ -154,7 +154,7 @@ autotools_do_configure() { if [ -e ${S}/configure ]; then oe_runconf else - oenote "nothing to configure" + bbnote "nothing to configure" fi }
meta/classes/base.bbclass +2 -2
@@ -67,7 +67,7 @@ oedebug() { oe_runmake() { if [ x"$MAKE" = x ]; then MAKE=make; fi - oenote ${MAKE} ${EXTRA_OEMAKE} "$@" + bbnote ${MAKE} ${EXTRA_OEMAKE} "$@" ${MAKE} ${EXTRA_OEMAKE} "$@" || die "oe_runmake failed" }
@@ -229,7 +229,7 @@ base_do_compile() { if [ -e Makefile -o -e makefile ]; then oe_runmake || die "make failed" else - oenote "nothing to compile" + bbnote "nothing to compile" fi }
meta/classes/distutils.bbclass +4 -4
@@ -12,14 +12,14 @@ distutils_do_compile() { STAGING_LIBDIR=${STAGING_LIBDIR} \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ ${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \ - oefatal "python setup.py build_ext execution failed." + bbfatal "python setup.py build_ext execution failed." } distutils_stage_headers() { install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ ${STAGING_BINDIR_NATIVE}/python setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \ - oefatal "python setup.py install_headers execution failed." + bbfatal "python setup.py install_headers execution failed." } distutils_stage_all() {
@@ -29,7 +29,7 @@ distutils_stage_all() { PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \ - oefatal "python setup.py install (stage) execution failed." + bbfatal "python setup.py install (stage) execution failed." } distutils_do_install() {
@@ -39,7 +39,7 @@ distutils_do_install() { PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \ - oefatal "python setup.py install execution failed." + bbfatal "python setup.py install execution failed." for i in `find ${D} -name "*.py"` ; do \ sed -i -e s:${D}::g $i
meta/classes/kernel.bbclass +2 -2
@@ -84,7 +84,7 @@ do_compile_kernelmodules() { if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" else - oenote "no modules to compile" + bbnote "no modules to compile" fi } addtask compile_kernelmodules after do_compile before do_install
@@ -97,7 +97,7 @@ kernel_do_install() { if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install else - oenote "no modules to install" + bbnote "no modules to install" fi #
meta/classes/qmake_base.bbclass +5 -5
@@ -39,7 +39,7 @@ qmake_base_do_configure() { die Unsupported target ${TARGET_OS} for oe-g++ qmake spec ;; *) - oenote Searching for qmake spec file + bbnote Searching for qmake spec file paths="${QMAKE_MKSPEC_PATH}/qws/${TARGET_OS}-${TARGET_ARCH}-g++" paths="${QMAKE_MKSPEC_PATH}/${TARGET_OS}-g++ $paths"
@@ -55,7 +55,7 @@ qmake_base_do_configure() { ;; esac - oenote "using qmake spec in ${QMAKESPEC}, using profiles '${QMAKE_PROFILES}'" + bbnote "using qmake spec in ${QMAKESPEC}, using profiles '${QMAKE_PROFILES}'" if [ -z "${QMAKE_PROFILES}" ]; then PROFILES="`ls *.pro`"
@@ -70,15 +70,15 @@ qmake_base_do_configure() { if [ ! -z "${EXTRA_QMAKEVARS_POST}" ]; then AFTER="-after" QMAKE_VARSUBST_POST="${EXTRA_QMAKEVARS_POST}" - oenote "qmake postvar substitution: ${EXTRA_QMAKEVARS_POST}" + bbnote "qmake postvar substitution: ${EXTRA_QMAKEVARS_POST}" fi if [ ! -z "${EXTRA_QMAKEVARS_PRE}" ]; then QMAKE_VARSUBST_PRE="${EXTRA_QMAKEVARS_PRE}" - oenote "qmake prevar substitution: ${EXTRA_QMAKEVARS_PRE}" + bbnote "qmake prevar substitution: ${EXTRA_QMAKEVARS_PRE}" fi -#oenote "Calling '${OE_QMAKE_QMAKE} -makefile -spec ${QMAKESPEC} -o Makefile $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST'" +#bbnote "Calling '${OE_QMAKE_QMAKE} -makefile -spec ${QMAKESPEC} -o Makefile $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST'" unset QMAKESPEC || true ${OE_QMAKE_QMAKE} -makefile -spec ${QMAKESPEC} -o Makefile $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST || die "Error calling ${OE_QMAKE_QMAKE} on $PROFILES" }
meta/classes/scons.bbclass +2 -2
@@ -2,12 +2,12 @@ DEPENDS += "python-scons-native" scons_do_compile() { ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \ - oefatal "scons build execution failed." + bbfatal "scons build execution failed." } scons_do_install() { ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \ - oefatal "scons install execution failed." + bbfatal "scons install execution failed." } EXPORT_FUNCTIONS do_compile do_install
meta/classes/sip.bbclass +2 -2
@@ -17,7 +17,7 @@ sip_do_generate() { if [ -z "$MODULES" ]; then die "SIP_MODULES not set and no modules found in $PWD" else - oenote "using modules '${SIP_MODULES}' and tags '${EXTRA_SIPTAGS}'" + bbnote "using modules '${SIP_MODULES}' and tags '${EXTRA_SIPTAGS}'" fi if [ -z "${EXTRA_SIPTAGS}" ]; then
@@ -28,7 +28,7 @@ sip_do_generate() { if [ ! -z "${SIP_FEATURES}" ]; then FEATURES="-z ${SIP_FEATURES}" - oenote "sip feature file: ${SIP_FEATURES}" + bbnote "sip feature file: ${SIP_FEATURES}" fi for module in $MODULES
meta/classes/sourcepkg.bbclass +2 -2
@@ -39,7 +39,7 @@ sourcepkg_do_create_orig_tgz(){ src_tree=${@get_src_tree(d)} echo $src_tree - oenote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz" + bbnote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz" tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz --exclude-from temp/exclude-from-file $src_tree tar -cf - -C $src_tree -ps . | tar -xf - -C $src_tree.orig }
@@ -93,7 +93,7 @@ sourcepkg_do_create_diff_gz(){ cp $i $src_tree/${DISTRO}/files done - oenote "Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz" + bbnote "Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz" LC_ALL=C TZ=UTC0 diff --exclude-from=temp/exclude-from-file -Naur $src_tree.orig $src_tree | gzip -c > ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz rm -rf $src_tree.orig }
meta/classes/srec.bbclass +1 -1
@@ -14,7 +14,7 @@ do_srec[nostamp] = "1" do_srec () { if [ ${SREC_VMAADDR} = "" ] ; then - oefatal Cannot do_srec without SREC_VMAADDR defined. + bbfatal Cannot do_srec without SREC_VMAADDR defined. fi for type in ${IMAGE_FSTYPES}; do for skiptype in ${SREC_SKIP}; do
meta/classes/utils.bbclass +10 -10
@@ -91,7 +91,7 @@ oe_soinstall() { # # oe_ # - #oenote installing shared library $1 to $2 + #bbnote installing shared library $1 to $2 # libname=`basename $1` install -m 755 $1 $2/$libname
@@ -129,7 +129,7 @@ oe_libinstall() { require_shared=1 ;; -*) - oefatal "oe_libinstall: unknown option: $1" + bbfatal "oe_libinstall: unknown option: $1" ;; *) break;
@@ -142,7 +142,7 @@ oe_libinstall() { shift destpath="$1" if [ -z "$destpath" ]; then - oefatal "oe_libinstall: no destination path specified" + bbfatal "oe_libinstall: no destination path specified" fi if echo "$destpath/" | egrep '^${STAGING_LIBDIR}/' >/dev/null then
@@ -165,7 +165,7 @@ oe_libinstall() { # Sanity check that the libname.lai is unique number_of_files=`(cd $dir; find . -name "$dotlai") | wc -l` if [ $number_of_files -gt 1 ]; then - oefatal "oe_libinstall: $dotlai is not unique in $dir" + bbfatal "oe_libinstall: $dotlai is not unique in $dir" fi
@@ -209,7 +209,7 @@ oe_libinstall() { for f in $files; do if [ ! -e "$f" ]; then if [ -n "$libtool" ]; then - oefatal "oe_libinstall: $dir/$f not found." + bbfatal "oe_libinstall: $dir/$f not found." fi elif [ -L "$f" ]; then __runcmd cp -P "$f" $destpath/
@@ -223,7 +223,7 @@ oe_libinstall() { if [ -z "$libfile" ]; then if [ -n "$require_shared" ]; then - oefatal "oe_libinstall: unable to locate shared library" + bbfatal "oe_libinstall: unable to locate shared library" fi elif [ -z "$libtool" ]; then # special case hack for non-libtool .so.#.#.# links
@@ -256,17 +256,17 @@ oe_machinstall() { for o in `echo ${OVERRIDES} | tr ':' ' '`; do if [ -e $dirname/$o/$filename ]; then - oenote $dirname/$o/$filename present, installing to $4 + bbnote $dirname/$o/$filename present, installing to $4 install $1 $2 $dirname/$o/$filename $4 return fi done -# oenote overrides specific file NOT present, trying default=$3... +# bbnote overrides specific file NOT present, trying default=$3... if [ -e $3 ]; then - oenote $3 present, installing to $4 + bbnote $3 present, installing to $4 install $1 $2 $3 $4 else - oenote $3 NOT present, touching empty $4 + bbnote $3 NOT present, touching empty $4 touch $4 fi }
meta/recipes-core/dropbear/dropbear.inc +1 -1
@@ -34,7 +34,7 @@ DISTRO_TYPE = "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d) do_configure_prepend() { if [ "x${DISTRO}" != "xfamiliar" -a "${DISTRO_TYPE}" = "debug" ]; then - oenote "WARNING: applying allow-nopw.patch which allows password-less logins!" + bbnote "WARNING: applying allow-nopw.patch which allows password-less logins!" patch -p1 < ${WORKDIR}/allow-nopw.patch fi }
meta/recipes-core/eglibc/eglibc_2.12.bb +1 -1
@@ -96,7 +96,7 @@ do_compile () { cd ${S}/sunrpc/rpcsvc for r in ${rpcsvc}; do h=`echo $r|sed -e's,\.x$,.h,'` - rpcgen -h $r -o $h || oewarn "unable to generate header for $r" + rpcgen -h $r -o $h || bbwarn "unable to generate header for $r" done ) }
meta/recipes-core/glibc/glibc_2.10.1.bb +1 -1
@@ -149,7 +149,7 @@ do_compile () { cd ${S}/sunrpc/rpcsvc for r in ${rpcsvc}; do h=`echo $r|sed -e's,\.x$,.h,'` - rpcgen -h $r -o $h || oewarn "unable to generate header for $r" + rpcgen -h $r -o $h || bbwarn "unable to generate header for $r" done ) }
meta/recipes-devtools/python/python_2.6.6.bb +1 -1
@@ -31,7 +31,7 @@ TARGET_CC_ARCH_append_armv6 = " -D__SOFTFP__" TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__" do_configure_prepend() { - autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || oenote "_ctypes failed to autoreconf" + autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" } #
Signature · 1 line
1.7.4.1
PATCH 10/33 netbase: fix check for nfsroot in if-pre-up.d script
In reply to Saul WoldFrom: Paul Eggleton <[email protected]>
The if-pre-up.d/nfsroot script was no longer functioning correctly due to a change in iproute2's installation of the "ip" executable. The script will now function correctly regardless of whether ip is in /bin or /sbin.
Fixes [YOCTO #1006].
--- meta/recipes-core/netbase/netbase-4.45/nfsroot | 2 +- meta/recipes-core/netbase/netbase_4.45.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/netbase/netbase-4.45/nfsroot +1 -1
@@ -27,7 +27,7 @@ exec 0<&9 9<&- test $nfsroot -eq 0 && exit 0 -if test -x /sbin/ip ; then +if [ -x /bin/ip -o -x /sbin/ip ] ; then nfs_iface=`ip route get $nfs_addr | grep dev | sed -e 's/^.*dev \([-a-z0-9.]*\).*$/\1/'` fi
meta/recipes-core/netbase/netbase_4.45.bb +1 -1
@@ -4,7 +4,7 @@ HOMEPAGE = "http://packages.debian.org/netbase" SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" -PR = "r0" +PR = "r1" inherit update-rc.d
Signature · 1 line
1.7.4.1
PATCH 12/33 attr: upgrade to version 2.4.46
In reply to Saul WoldFrom: Qing He <[email protected]>
from 2.4.44
- remove the backported patch that is now in the tarball
- prog path issue has also been fixed in the upstream
--- .../attr/attr-2.4.44/double-free.patch | 18 ---- .../attr/attr-2.4.44/memory-leak-in-copy.patch | 50 ---------- .../attr/attr-2.4.44/memory-leak2.patch | 18 ---- .../attr/attr-2.4.44/pull-in-string.h.patch | 21 ---- .../attr/attr-2.4.44/thinko-in-restore.patch | 19 ---- meta/recipes-support/attr/attr_2.4.44.bb | 12 --- meta/recipes-support/attr/attr_2.4.46.bb | 6 + meta/recipes-support/attr/ea-acl.inc | 2 +- .../attr/files/no-fixed-prog-path.patch | 99 -------------------- 9 files changed, 7 insertions(+), 238 deletions(-) delete mode 100644 meta/recipes-support/attr/attr-2.4.44/double-free.patch delete mode 100644 meta/recipes-support/attr/attr-2.4.44/memory-leak-in-copy.patch delete mode 100644 meta/recipes-support/attr/attr-2.4.44/memory-leak2.patch delete mode 100644 meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch delete mode 100644 meta/recipes-support/attr/attr-2.4.44/thinko-in-restore.patch delete mode 100644 meta/recipes-support/attr/attr_2.4.44.bb create mode 100644 meta/recipes-support/attr/attr_2.4.46.bb delete mode 100644 meta/recipes-support/attr/files/no-fixed-prog-path.patch
meta/recipes-support/attr/attr-2.4.44/double-free.patch deleted +0 -18
@@ -1,18 +0,0 @@ -commit 5b28eb3b0e0430ce6af28edc9100ca23299d1218 -Author: Kamil Dudka <[email protected]> -Date: Thu Jun 3 15:29:54 2010 +0200 - - attr_parse_attr_conf: eliminate a double free - -diff --git a/libattr/attr_copy_action.c b/libattr/attr_copy_action.c -index 030bbf5..2697328 100644 ---- a/libattr/attr_copy_action.c -+++ b/libattr/attr_copy_action.c -@@ -81,6 +81,7 @@ repeat: - fclose(file); - file = NULL; - free(text); -+ text = NULL; - size_guess *= 2; - goto repeat; - }
meta/recipes-support/attr/attr-2.4.44/memory-leak-in-copy.patch deleted +0 -50
50 lines not on this page · raw message
meta/recipes-support/attr/attr-2.4.44/memory-leak2.patch deleted +0 -18
@@ -1,18 +0,0 @@ -commit 42f50a130d144ffbc01738f15da9d4f1b57505bd -Author: Kamil Dudka <[email protected]> -Date: Thu Jun 3 15:23:04 2010 +0200 - - attr_parse_attr_conf: eliminate a memory leak - -diff --git a/libattr/attr_copy_action.c b/libattr/attr_copy_action.c -index dc94224..030bbf5 100644 ---- a/libattr/attr_copy_action.c -+++ b/libattr/attr_copy_action.c -@@ -129,6 +129,7 @@ repeat: - - t += strcspn(t, "\n"); - } -+ free(text); - return 0; - - parse_error:
meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch deleted +0 -21
@@ -1,21 +0,0 @@ -commit 235cdd2af498d288f1af1142e7a23fbd16dff907 -Author: Mike Frysinger <[email protected]> -Date: Fri Jan 8 21:53:19 2010 -0500 - - quote: pull in string.h for strchr prototype - - Signed-off-by: Mike Frysinger <[email protected]> - Signed-off-by: Brandon Philips <[email protected]> - -diff --git a/libmisc/quote.c b/libmisc/quote.c -index f98c887..bf8f9eb 100644 ---- a/libmisc/quote.c -+++ b/libmisc/quote.c -@@ -20,6 +20,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <ctype.h> -+#include <string.h> - #include "misc.h" - - const char *quote(const char *str, const char *quote_chars)
meta/recipes-support/attr/attr-2.4.44/thinko-in-restore.patch deleted +0 -19
@@ -1,19 +0,0 @@ -commit e8d568c696692eed5c92d5a35498e1c26e13d6b3 -Author: Kamil Dudka <[email protected]> -Date: Thu Jun 3 15:30:19 2010 +0200 - - setfattr.c: fix thinko in restore() - -diff --git a/setfattr/setfattr.c b/setfattr/setfattr.c -index 491c25a..0a14cfa 100644 ---- a/setfattr/setfattr.c -+++ b/setfattr/setfattr.c -@@ -120,7 +120,7 @@ int restore(const char *filename) - break; - line++; - if (strncmp(l, "# file: ", 8) != 0) { -- if (filename) { -+ if (file != stdin) { - fprintf(stderr, _("%s: %s: No filename found " - "in line %d, aborting\n"), - progname, filename, backup_line);
meta/recipes-support/attr/attr_2.4.44.bb deleted +0 -12
@@ -1,12 +0,0 @@ -require attr.inc - -PR = "r3" - -SRC_URI += "file://memory-leak-in-copy.patch \ - file://memory-leak2.patch \ - file://double-free.patch \ - file://pull-in-string.h.patch \ - file://thinko-in-restore.patch" - -SRC_URI[md5sum] = "d132c119831c27350e10b9f885711adc" -SRC_URI[sha256sum] = "9f6214b8e53f4bba651ac5a72c0f6193b12aa21fbf1d675d89a7b4bc45264498"
meta/recipes-support/attr/attr_2.4.46.bb new file +6 -0
@@ -0,0 +1,6 @@ +require attr.inc + +PR = "r0" + +SRC_URI[md5sum] = "db557c17fdfa4f785333ecda08654010" +SRC_URI[sha256sum] = "dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f"
meta/recipes-support/attr/ea-acl.inc +1 -1
@@ -1,7 +1,7 @@ # this build system is mostly shared by attr and acl SRC_URI += "file://relative-libdir.patch;striplevel=0 \ - file://no-fixed-prog-path.patch" + " inherit autotools gettext
meta/recipes-support/attr/files/no-fixed-prog-path.patch deleted +0 -99
99 lines not on this page · raw message
Signature · 1 line
1.7.4.1
PATCH 13/33 acl: upgrade to version 2.2.51
In reply to Saul WoldFrom: Qing He <[email protected]>
from 2.2.49
--- meta/recipes-support/attr/acl_2.2.49.bb | 6 ------ meta/recipes-support/attr/acl_2.2.51.bb | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 meta/recipes-support/attr/acl_2.2.49.bb create mode 100644 meta/recipes-support/attr/acl_2.2.51.bb
meta/recipes-support/attr/acl_2.2.49.bb deleted +0 -6
@@ -1,6 +0,0 @@ -require acl.inc - -PR = "r1" - -SRC_URI[md5sum] = "181445894cca986da9ae0099d5ce2d08" -SRC_URI[sha256sum] = "b9c7f4752e4ef4930a62fa5aa0d7efe1cba2b5a3a2d6ee2b45c0a70c72b7e5d5"
meta/recipes-support/attr/acl_2.2.51.bb new file +6 -0
@@ -0,0 +1,6 @@ +require acl.inc + +PR = "r0" + +SRC_URI[md5sum] = "3fc0ce99dc5253bdcce4c9cd437bc267" +SRC_URI[sha256sum] = "06854521cf5d396801af7e54b9636680edf8064355e51c07657ec7442a185225"
Signature · 1 line
1.7.4.1
PATCH 14/33 augeas: upgrade to version 0.8.1
In reply to Saul WoldFrom: Qing He <[email protected]>
from 0.7.4
--- meta/recipes-extended/augeas/augeas_0.7.4.bb | 6 ------ meta/recipes-extended/augeas/augeas_0.8.1.bb | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 meta/recipes-extended/augeas/augeas_0.7.4.bb create mode 100644 meta/recipes-extended/augeas/augeas_0.8.1.bb
meta/recipes-extended/augeas/augeas_0.7.4.bb deleted +0 -6
@@ -1,6 +0,0 @@ -require augeas.inc - -PR = "r0" - -SRC_URI[md5sum] = "e3ddce5305a15bdb876ef7feec9214d1" -SRC_URI[sha256sum] = "02ba7b4f1d0796dff6ea5f8cc5f4949e4ba30b7fa2f36a0c8a5079f9975060d1"
meta/recipes-extended/augeas/augeas_0.8.1.bb new file +6 -0
@@ -0,0 +1,6 @@ +require augeas.inc + +PR = "r0" + +SRC_URI[md5sum] = "62d47bdc60e175f93aed3b81cb8e2785" +SRC_URI[sha256sum] = "916fef67e8eed6d1abe02433830301bd01dfc8228e9cfffb490347545155c4d7"
Signature · 1 line
1.7.4.1
PATCH 15/33 curl: upgrade to version 7.21.6
In reply to Saul WoldFrom: Qing He <[email protected]>
from 7.21.2
---
meta/recipes-support/curl/curl/noldlibpath.patch | 2 ++
meta/recipes-support/curl/curl/pkgconfig_fix.patch | 5 ++++-
.../curl/{curl_7.21.2.bb => curl_7.21.6.bb} | 6 +++---
3 files changed, 9 insertions(+), 4 deletions(-)
rename meta/recipes-support/curl/{curl_7.21.2.bb => curl_7.21.6.bb} (92%)meta/recipes-support/curl/curl/noldlibpath.patch +2 -0
@@ -1,3 +1,5 @@ +Upstream-Status: Inappropriate [embedded specific] + Manipulating LD_LIBRARY_PATH can totally break builds when cross compiling. Since we never run compiled binaries for the target, we should *never* need to change LD_LIBRARY_PATH.
meta/recipes-support/curl/curl/pkgconfig_fix.patch +4 -1
@@ -1,3 +1,6 @@ +Upstream-Status: Inappropriate [packaging] + + Index: curl-7.20.0/libcurl.pc.in =================================================================== --- curl-7.20.0.orig/libcurl.pc.in 2009-11-17 18:11:07.000000000 +0000
@@ -5,7 +8,7 @@ Index: curl-7.20.0/libcurl.pc.in @@ -35,6 +35,7 @@ URL: http://curl.haxx.se/ Description: Library to transfer files with ftp, http, etc. - Version: @VERSION@ + Version: @CURLVERSION@ -Libs: -L${libdir} -lcurl @LIBS@ -Libs.private: @LIBCURL_LIBS@ @LIBS@ +Requires.private: @GNUTLS_REQUIRED@
meta/recipes-support/curl/curl_7.21.6.bb renamed from meta/recipes-support/curl/curl_7.21.2.bb +3 -3
@@ -8,14 +8,14 @@ LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e66 DEPENDS = "zlib gnutls" DEPENDS_virtclass-native = "zlib-native" DEPENDS_virtclass-nativesdk = "zlib-nativesdk" -PR = "r1" +PR = "r0" SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \ file://noldlibpath.patch \ file://pkgconfig_fix.patch" -SRC_URI[md5sum] = "ca96df88e044c7c25d19692ec8b250b2" -SRC_URI[sha256sum] = "f4a632e704f28767e6bbffcc6112db0590b1c9d50d8226d706ad39632355bf21" +SRC_URI[md5sum] = "6611989a81ebd7b03a35adc3001ddee0" +SRC_URI[sha256sum] = "d9a3d3593796147ad9ca994c9e6834a42b49756420a10e996dbf849495d3d955" inherit autotools pkgconfig binconfig
Signature · 1 line
1.7.4.1
PATCH 11/33 create-lsb-iamge:Fix bugs
In reply to Saul WoldFrom: Xiaofeng Yan <[email protected]>
Change variables "${ARCH}" to "${1}"
--- scripts/create-lsb-image | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/create-lsb-image +1 -1
@@ -81,7 +81,7 @@ case ${1} in ;; "ppc32") P_ARCH=ppc - T_ARCH=${ARCH} + T_ARCH=${1} COM_PACKAGE_LIST="lsb-dist-testkit-4.1.0-5.${T_ARCH}.tar.gz" ;; *)
Signature · 1 line
1.7.4.1
PATCH 16/33 busybox: upgrade to version 1.18.4
In reply to Saul WoldFrom: Qing He <[email protected]>
from version 1.17.3
- remove make-382-fix since it's upstreamed
---
.../busybox/busybox-1.17.3/make-382-fix.patch | 25 --------------------
.../B921600.patch | 0
.../busybox-appletlib-dependency.patch | 0
.../busybox-udhcpc-no_deconfig.patch | 19 ++++++++++----
.../{busybox-1.17.3 => busybox-1.18.4}/defconfig | 0
.../get_header_tar.patch | 4 +-
.../run-parts.in.usr-bin.patch | 0
.../udhcpc-fix-nfsroot.patch | 0
.../udhcpscript.patch | 0
.../{busybox_1.17.3.bb => busybox_1.18.4.bb} | 7 ++---
10 files changed, 18 insertions(+), 37 deletions(-)
delete mode 100644 meta/recipes-core/busybox/busybox-1.17.3/make-382-fix.patch
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/B921600.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/busybox-appletlib-dependency.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/busybox-udhcpc-no_deconfig.patch (90%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/defconfig (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/get_header_tar.patch (76%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/run-parts.in.usr-bin.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/udhcpc-fix-nfsroot.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.17.3 => busybox-1.18.4}/udhcpscript.patch (100%)
rename meta/recipes-core/busybox/{busybox_1.17.3.bb => busybox_1.18.4.bb} (81%)meta/recipes-core/busybox/busybox-1.17.3/make-382-fix.patch deleted +0 -25
@@ -1,25 +0,0 @@ -From ef6c6d8cfef071435ccf275ad404a501626b706c Mon Sep 17 00:00:00 2001 -From: Thomas Chou <[email protected]> -Date: Tue, 19 Oct 2010 07:17:12 +0000 -Subject: mkmakefile: make 3.82 fix - -Signed-off-by: Thomas Chou <[email protected]> -Signed-off-by: Denys Vlasenko <[email protected]> ---- -diff --git a/scripts/mkmakefile b/scripts/mkmakefile -index 7f9d544..9fc51a7 100755 ---- a/scripts/mkmakefile -+++ b/scripts/mkmakefile -@@ -31,6 +31,9 @@ all: - - Makefile:; - --\$(filter-out all Makefile,\$(MAKECMDGOALS)) %/: -+\$(filter-out all Makefile,\$(MAKECMDGOALS)): -+ \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@ -+ -+%/: - \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@ - EOF --- -cgit v0.8.2.1
meta/recipes-core/busybox/busybox-1.18.4/B921600.patch renamed from meta/recipes-core/busybox/busybox-1.17.3/B921600.patch +0 -0
meta/recipes-core/busybox/busybox-1.18.4/busybox-appletlib-dependency.patch renamed from meta/recipes-core/busybox/busybox-1.17.3/busybox-appletlib-dependency.patch +0 -0
meta/recipes-core/busybox/busybox-1.18.4/busybox-udhcpc-no_deconfig.patch renamed from meta/recipes-core/busybox/busybox-1.17.3/busybox-udhcpc-no_deconfig.patch +13 -6
@@ -1,3 +1,5 @@ +Upstream-Status: Pending + Add a new option -D to the udhcpc client that allows for dhcp renewal to occur without having to down the interface in the process.
@@ -8,6 +10,11 @@ Updated to latest Busybox 1.17.3 Signed-off-by: Mark Hatle <[email protected]> +Updated to Busybox 1.18.4 +option spec is changed + +Signed-off-by: Qing He <[email protected]> + diff -ur busybox-1.17.3.orig/networking/udhcp/dhcpc.c busybox-1.17.3/networking/udhcp/dhcpc.c --- busybox-1.17.3.orig/networking/udhcp/dhcpc.c +++ busybox-1.17.3/networking/udhcp/dhcpc.c
@@ -42,10 +49,10 @@ diff -ur busybox-1.17.3.orig/networking/udhcp/dhcpc.c busybox-1.17.3/networking/ bb_info_msg("Entering released state"); @@ -836,6 +841,7 @@ - OPT_o = 1 << 18, - OPT_x = 1 << 19, - OPT_f = 1 << 20, -+ OPT_D = 1 << 21, + OPT_o = 1 << 17, + OPT_x = 1 << 18, + OPT_f = 1 << 19, ++ OPT_D = 1 << 20, /* The rest has variable bit positions, need to be clever */ OPTBIT_f = 20, USE_FOR_MMU( OPTBIT_b,)
@@ -53,8 +60,8 @@ diff -ur busybox-1.17.3.orig/networking/udhcp/dhcpc.c busybox-1.17.3/networking/ #endif ; IF_LONG_OPTS(applet_long_options = udhcpc_longopts;) -- opt = getopt32(argv, "c:CV:H:h:F:i:np:qRr:s:T:t:SA:O:ox:f" -+ opt = getopt32(argv, "c:CV:H:h:F:i:np:qRr:s:T:t:SA:O:ox:fD" +- opt = getopt32(argv, "CV:H:h:F:i:np:qRr:s:T:t:SA:O:ox:f" ++ opt = getopt32(argv, "CV:H:h:F:i:np:qRr:s:T:t:SA:O:ox:fD" USE_FOR_MMU("b") IF_FEATURE_UDHCPC_ARPING("a") IF_FEATURE_UDHCP_PORT("P:")
meta/recipes-core/busybox/busybox-1.18.4/defconfig renamed from meta/recipes-core/busybox/busybox-1.17.3/defconfig +0 -0
meta/recipes-core/busybox/busybox-1.18.4/get_header_tar.patch renamed from meta/recipes-core/busybox/busybox-1.17.3/get_header_tar.patch +2 -2
@@ -7,8 +7,8 @@ # # above comment added by Kevin Tian <[email protected]>, 2010-07-06 ---- busybox-1.13.2/archival/libunarchive/get_header_tar.c.orig 2008-11-09 18:28:02.000000000 +0100 -+++ busybox-1.13.2/archival/libunarchive/get_header_tar.c 2009-02-11 22:34:52.000000000 +0100 +--- busybox-1.13.2/archival/libarchive/get_header_tar.c.orig 2008-11-09 18:28:02.000000000 +0100 ++++ busybox-1.13.2/archival/libarchive/get_header_tar.c 2009-02-11 22:34:52.000000000 +0100 @@ -252,6 +252,8 @@ file_header->name = concat_path_file(tar.prefix, tar.name); } else
meta/recipes-core/busybox/busybox-1.18.4/run-parts.in.usr-bin.patch renamed from meta/recipes-core/busybox/busybox-1.17.3/run-parts.in.usr-bin.patch +0 -0
meta/recipes-core/busybox/busybox-1.18.4/udhcpc-fix-nfsroot.patch renamed from meta/recipes-core/busybox/busybox-1.17.3/udhcpc-fix-nfsroot.patch +0 -0
meta/recipes-core/busybox/busybox-1.18.4/udhcpscript.patch renamed from meta/recipes-core/busybox/busybox-1.17.3/udhcpscript.patch +0 -0
meta/recipes-core/busybox/busybox_1.18.4.bb renamed from meta/recipes-core/busybox/busybox_1.17.3.bb +3 -4
@@ -1,5 +1,5 @@ require busybox.inc -PR = "r2" +PR = "r0" SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://udhcpscript.patch \
@@ -8,7 +8,6 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://get_header_tar.patch \ file://busybox-appletlib-dependency.patch \ file://run-parts.in.usr-bin.patch \ - file://make-382-fix.patch \ file://busybox-udhcpc-no_deconfig.patch \ file://find-touchscreen.sh \ file://busybox-cron \
@@ -24,7 +23,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://umount.busybox \ file://defconfig" -SRC_URI[tarball.md5sum] = "a2ce1a951571da8c6e0eaf75b1acef60" -SRC_URI[tarball.sha256sum] = "de2f0274f61a068d75ad33861e0982e99c6b625681460ce420222371c3511ff2" +SRC_URI[tarball.md5sum] = "b03c5b46ced732679e525a920a1a62f5" +SRC_URI[tarball.sha256sum] = "4d24d37bd6f1bd153e8cf9a984ec2f32f18464f73ca535e2cc2e8be9694097fa" EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
Signature · 1 line
1.7.4.1
PATCH 17/33 shared-mime-info: upgrade to version 0.90
In reply to Saul WoldFrom: Qing He <[email protected]>
from 0.80
- parallel build with 0.9 is buggy, disable part of the check for now
--- .../files/fix-parallel-build.patch | 33 ++++++++++++++++++++ .../shared-mime-info/shared-mime-info_0.80.bb | 5 --- .../shared-mime-info/shared-mime-info_0.90.bb | 7 ++++ 3 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-support/shared-mime-info/files/fix-parallel-build.patch delete mode 100644 meta/recipes-support/shared-mime-info/shared-mime-info_0.80.bb create mode 100644 meta/recipes-support/shared-mime-info/shared-mime-info_0.90.bb
meta/recipes-support/shared-mime-info/files/fix-parallel-build.patch new file +33 -0
@@ -0,0 +1,33 @@ +the check rule will trigger a weird dependency issue in automake, +it's possible that update-mime-database are invoked simultaneously in +two different threads at the same time. + +As a workaround, revert it to the logic in 0.80 + +Upstream-Status: Inappropriate [workaround] + +Signed-off-by: qing He <[email protected]> + +diff --git a/Makefile.am b/Makefile.am +index 1a887bc..9df581e 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -72,7 +72,7 @@ uninstall-hook: + create-pot: + $(MAKE) -C po shared-mime-info.pot + +-check: freedesktop.org.xml update-mime-database check-translations ++check: freedesktop.org.xml check-translations + if test -n $(XMLLINT) ; then \ + if test -e $(top_builddir)/freedesktop.org.xml; then \ + xmllint --noout --valid $(top_builddir)/freedesktop.org.xml; \ +@@ -80,9 +80,6 @@ check: freedesktop.org.xml update-mime-database check-translations + xmllint --noout --valid $(top_srcdir)/freedesktop.org.xml; \ + fi \ + fi +- if test -d .git/ && test -x $(top_builddir)/update-mime-database && test -d $(top_srcdir)/mime-db-tests ; then \ +- $(top_builddir)/update-mime-database mime-db-tests/ ; \ +- fi + if test -d .git/ && test -x ../xdgmime/src/test-mime-data && test -x $(top_builddir)/test-tree-magic ; then \ + mkdir -p $(top_builddir)/temp-mime-dir/mime/packages ; \ + cp -a $(top_builddir)/freedesktop.org.xml $(top_builddir)/temp-mime-dir/mime/packages/ ; \
meta/recipes-support/shared-mime-info/shared-mime-info_0.80.bb deleted +0 -5
@@ -1,5 +0,0 @@ -require shared-mime-info.inc -PR = "r0" - -SRC_URI[md5sum] = "eb8d24a6a80888849c9db7f30232ba6a" -SRC_URI[sha256sum] = "80857ba19f8066bfc8d998bfc72b492e241ebd52d49c245aae9fd5b3d233b024"
meta/recipes-support/shared-mime-info/shared-mime-info_0.90.bb new file +7 -0
@@ -0,0 +1,7 @@ +require shared-mime-info.inc +PR = "r0" + +SRC_URI += "file://fix-parallel-build.patch" + +SRC_URI[md5sum] = "967d68d3890ba3994cfce3adf5b8f15b" +SRC_URI[sha256sum] = "52c9f84a8c72de631a0458542980b1728560f59845eb5e93e1dbe825f4b72304"
Signature · 1 line
1.7.4.1
PATCH 18/33 lzo: upgrade to version 2.05
In reply to Saul WoldFrom: Qing He <[email protected]>
from 2.04
---
.../lzo/{lzo-2.04 => lzo-2.05}/acinclude.m4 | 0
.../lzo/{lzo-2.04 => lzo-2.05}/autoconf.patch | 4 +++-
.../lzo/{lzo_2.04.bb => lzo_2.05.bb} | 8 ++++----
3 files changed, 7 insertions(+), 5 deletions(-)
rename meta/recipes-support/lzo/{lzo-2.04 => lzo-2.05}/acinclude.m4 (100%)
rename meta/recipes-support/lzo/{lzo-2.04 => lzo-2.05}/autoconf.patch (84%)
rename meta/recipes-support/lzo/{lzo_2.04.bb => lzo_2.05.bb} (59%)meta/recipes-support/lzo/lzo-2.05/acinclude.m4 renamed from meta/recipes-support/lzo/lzo-2.04/acinclude.m4 +0 -0
meta/recipes-support/lzo/lzo-2.05/autoconf.patch renamed from meta/recipes-support/lzo/lzo-2.04/autoconf.patch +3 -1
@@ -2,6 +2,8 @@ Date: 12/31/2010 Didn't find 2.67 specific features, so lower the requirement to pass build +Upstream-Status: Inappropriate [workaround] + Signed-off-by: Qing He <[email protected]> --- diff --git a/configure.ac b/configure.ac
@@ -14,6 +16,6 @@ index 650749a..2a78845 100644 -AC_PREREQ(2.67) +AC_PREREQ(2.65) - AC_INIT([LZO],[2.04],[[email protected]],[lzo],[http://www.oberhumer.com/opensource/lzo/]) + AC_INIT([LZO],[2.05],[[email protected]],[lzo],[http://www.oberhumer.com/opensource/lzo/]) AC_MSG_NOTICE([Configuring LZO $PACKAGE_VERSION]) AC_CONFIG_SRCDIR(src/lzo_init.c)
meta/recipes-support/lzo/lzo_2.05.bb renamed from meta/recipes-support/lzo/lzo_2.04.bb +4 -4
@@ -3,8 +3,8 @@ HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=8cad52263e636e25377bc18420118101 \ - file://src/lzo_init.c;beginline=5;endline=36;md5=454f781644dfe945e3634a9b699e91f3" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://src/lzo_init.c;beginline=23;endline=40;md5=924a0f71f5394f6d404be3b458474769" PR = "r0" SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \
@@ -12,8 +12,8 @@ SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \ file://acinclude.m4 \ " -SRC_URI[md5sum] = "a383c7055a310e2a71b9ecd19cfea238" -SRC_URI[sha256sum] = "4ee3a040facf39561f13e4ef2ab99a886fd68251a35d612486ed0625cc6ab428" +SRC_URI[md5sum] = "c67cda5fa191bab761c7cb06fe091e36" +SRC_URI[sha256sum] = "449f98186d76ba252cd17ff1241ca2a96b7f62e0d3e4766f88730dab0ea5f333" inherit autotools
Signature · 1 line
1.7.4.1
PATCH 19/33 libcap: upgrade to version 2.20
In reply to Saul WoldFrom: Qing He <[email protected]>
from 2.19
- set RAISE_SETFCAP=no in make option to inhibit target binary run
--- meta/recipes-support/libcap/libcap.inc | 2 +- meta/recipes-support/libcap/libcap_2.19.bb | 6 ------ meta/recipes-support/libcap/libcap_2.20.bb | 6 ++++++ 3 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 meta/recipes-support/libcap/libcap_2.19.bb create mode 100644 meta/recipes-support/libcap/libcap_2.20.bb
meta/recipes-support/libcap/libcap.inc +1 -1
@@ -18,7 +18,7 @@ do_configure() { sed -e 's,BUILD_CFLAGS ?=,BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules } -EXTRA_OEMAKE = "LIBATTR=yes PAM_CAP=yes INDENT= lib=lib SYSTEM_HEADERS=${STAGING_INCDIR}" +EXTRA_OEMAKE = "LIBATTR=yes PAM_CAP=yes INDENT= lib=lib SYSTEM_HEADERS=${STAGING_INCDIR} RAISE_SETFCAP=no" EXTRA_OEMAKE_virtclass-native = "LIBATTR=no PAM_CAP=no INDENT= lib=lib" do_compile() {
meta/recipes-support/libcap/libcap_2.19.bb deleted +0 -6
@@ -1,6 +0,0 @@ -require libcap.inc - -PR = "r1" - -SRC_URI[md5sum] = "eb1ff04d39bfa2342b8e78b0fd60dc2d" -SRC_URI[sha256sum] = "ed1693e344054a398e68a7cc840892e3d1a880562743bdf28fd918649aa5a4ce"
meta/recipes-support/libcap/libcap_2.20.bb new file +6 -0
@@ -0,0 +1,6 @@ +require libcap.inc + +PR = "r0" + +SRC_URI[md5sum] = "10e47ed32ca2214eb0e58780282d27b4" +SRC_URI[sha256sum] = "20e7c1ea4d3d5c410efb3a6ff138dc417912fae316d883460dcd58d9803a9220"
Signature · 1 line
1.7.4.1
PATCH 20/33 task-core-lsb.bb: Add packages liberation-fonts to lsb-imag
In reply to Saul WoldFrom: Xiaofeng Yan <[email protected]>
Add font set to lsb-image to solve bugs from lsb test
--- meta/recipes-extended/tasks/task-core-lsb.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta/recipes-extended/tasks/task-core-lsb.bb +1 -0
@@ -165,6 +165,7 @@ RDEPENDS_task-core-lsb-graphic-add = "\ gdk-pixbuf-loader-ico \ gdk-pixbuf-loader-bmp \ gdk-pixbuf-loader-ani \ + liberation-fonts \ " RDEPENDS_task-core-lsb-graphic-add_qemux86 = "\
Signature · 1 line
1.7.4.1
PATCH 22/33 git: use DESTDIR=$D instead prefixing all variables by $D
In reply to Saul WoldFrom: Martin Jansa <[email protected]>
* with git-native and rm_work enabled I've noticed git fetcher errors like:
warning: templates not found /OE/shr-core/tmp/work/x86_64-linux/git-native-1.7.3.4-r0/image/OE/shr-core/tmp/sysroots/x86_64-linux/usr/share/git-core/templates
fatal: Unable to find remote helper for 'http'
for every recipe using http:// for git repo
* after this change template_dir points to
/OE/shr-core/tmp/sysroots/x86_64-linux/usr/share/git-core/templates
without that workdir prefix
* haven't tested target recipe, but I guess it needs different fix or
maybe it worked before and gets broken by this change
--- meta/recipes-devtools/git/git.inc | 4 ++-- meta/recipes-devtools/git/git_1.7.4.3.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-devtools/git/git.inc +2 -2
@@ -14,8 +14,8 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl --without-tcltk" inherit autotools do_install () { - oe_runmake install prefix=${D} bindir=${D}${bindir} gitexecdir=${D}${gitexecdir} \ - template_dir=${D}${datadir}/git-core/templates \ + oe_runmake install DESTDIR="${D}" bindir=${bindir} gitexecdir=${gitexecdir} \ + template_dir=${datadir}/git-core/templates \ GIT_PYTHON_DIR=${D}${datadir}/git-core/python }
meta/recipes-devtools/git/git_1.7.4.3.bb +1 -1
@@ -1,6 +1,6 @@ require git.inc -PR = "r0" +PR = "r1" 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.4.1
PATCH 23/33 git: make it work on the target
In reply to Saul WoldFrom: Koen Kooi <[email protected]>
Packaging is synced with OE .dev, but without the -large, thanks to pseudo we retain all (hard)links properly:
* git-perltools holds all the utils requiring perl and adds appropriate RDEPENDS
* git-tk holds the tcl/tk utils once they get activate
* git now packages /usr/libexec/git-core
The result:
8.5M ipk/armv7a/git_1.7.4.3-r2_armv7a.ipk
3.1M ipk/armv7a/git-dbg_1.7.4.3-r2_armv7a.ipk
4.0K ipk/armv7a/git-dev_1.7.4.3-r2_armv7a.ipk
12K ipk/armv7a/git-doc_1.7.4.3-r2_armv7a.ipk
136K ipk/armv7a/git-perltools_1.7.4.3-r2_armv7a.ipk
--- meta/recipes-devtools/git/git.inc | 32 ++++++++++++++++++++++++++++- meta/recipes-devtools/git/git_1.7.4.3.bb | 2 +- 2 files changed, 31 insertions(+), 3 deletions(-)
meta/recipes-devtools/git/git.inc +30 -2
@@ -14,11 +14,39 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl --without-tcltk" inherit autotools do_install () { - oe_runmake install DESTDIR="${D}" bindir=${bindir} gitexecdir=${gitexecdir} \ + oe_runmake install DESTDIR="${D}" bindir=${bindir} \ template_dir=${datadir}/git-core/templates \ GIT_PYTHON_DIR=${D}${datadir}/git-core/python } -FILES_${PN} += "${datadir}/git-core" +FILES_${PN} += "${datadir}/git-core ${libxecdir}/git-core/" +FILES_${PN}-dbg += "${libexecdir}/git-core/.debug" + +# Git tools requiring perl +PACKAGES =+ "${PN}-perltools" +FILES_${PN}-perltools += " \ + ${libexecdir}/git-core/git-add--interactive \ + ${libexecdir}/git-core/git-archimport \ + ${libexecdir}/git-core/git-cvsexportcommit \ + ${libexecdir}/git-core/git-cvsimport \ + ${libexecdir}/git-core/git-cvsserver \ + ${bindir}/git-cvsserver \ + ${libexecdir}/git-core/git-difftool \ + ${libexecdir}/git-core/git-relink \ + ${libexecdir}/git-core/git-send-email \ + ${libexecdir}/git-core/git-svn \ + ${datadir}/perl \ +" +RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils" + +# git-tk package with gitk and git-gui +PACKAGES =+ "${PN}-tk" +RDEPENDS_${PN}-tk = "${PN} tk tcl" +EXTRA_OEMAKE = "TCL_PATH=${STAGING_BINDIR_CROSS}/tclsh" +FILES_${PN}-tk = " \ + ${bindir}/gitk \ + ${datadir}/gitk \ +" + BBCLASSEXTEND = "native"
meta/recipes-devtools/git/git_1.7.4.3.bb +1 -1
@@ -1,6 +1,6 @@ require git.inc -PR = "r1" +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.4.1
PATCH 24/33 insane.bbclass: Checking for NLS too when checking gettext dependency
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Checking for gettext is not needed when --disable-nls is used
Let user know what variant of gettext is missing e.g. gettext-native, gettext-nativesdk etc, reveals a bit more for user
Check for virtual/gettext
--- meta/classes/insane.bbclass | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
meta/classes/insane.bbclass +5 -4
@@ -578,20 +578,21 @@ Rerun configure task after fixing this. The path was '%s'""" % root) if "configure.in" in files: configs.append(os.path.join(root, "configure.in")) - if "gettext" not in bb.data.getVar('P', d, True) and "gcc-runtime" not in bb.data.getVar('P', d, True): + cnf = bb.data.getVar('EXTRA_OECONF', d, True) or "" + if "gettext" not in bb.data.getVar('P', d, True) and "gcc-runtime" not in bb.data.getVar('P', d, True) and "--disable-nls" not in cnf: if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('nativesdk', d): gt = "gettext-native" elif bb.data.inherits_class('cross-canadian', d): gt = "gettext-nativesdk" else: - gt = "gettext" + gt = "virtual/gettext" deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "") if gt not in deps: for config in configs: gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config if os.system(gnu) == 0: - bb.fatal("""Gettext required but not in DEPENDS for file %s. -Missing inherit gettext?""" % config) + bb.fatal("""%s required but not in DEPENDS for file %s. +Missing inherit gettext?""" % (gt, config)) if not package_qa_check_license(workdir, d): bb.fatal("Licensing Error: LIC_FILES_CHKSUM does not match, please fix")
Signature · 1 line
1.7.4.1
PATCH 25/33 libx11: Use inherit gettext
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Avoid direct depependency on gettext, inherit class instead
--- meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb | 3 ++- meta/recipes-graphics/xorg-lib/libx11_git.bb | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-)
meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb +2 -1
@@ -1,4 +1,5 @@ require libx11.inc +inherit gettext LICENSE = "MIT & MIT-style & BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=bf75bfe4d05068311b5e6862d4b5f2c5"
@@ -14,7 +15,7 @@ SRC_URI[md5sum] = "f65c9c7ecbfb64c19dbd7927160d63fd" SRC_URI[sha256sum] = "88d7238ce5f7cd123450567de7a3b56a43556e4ccc45df38b8324147c889a844" DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ - libxdmcp xf86bigfontproto kbproto inputproto xproto-native gettext" + libxdmcp xf86bigfontproto kbproto inputproto xproto-native" EXTRA_OECONF += "--without-xcb"
meta/recipes-graphics/xorg-lib/libx11_git.bb +4 -2
@@ -1,11 +1,13 @@ require libx11.inc require libx11_git.inc +inherit gettext + PR = "r2" DEPENDS = "xproto xextproto xcmiscproto xf86bigfontproto kbproto inputproto \ - bigreqsproto xtrans libxau libxcb libxdmcp util-macros gettext" + bigreqsproto xtrans libxau libxcb libxdmcp util-macros" DEFAULT_PREFERENCE = "-1" -BBCLASSEXTEND = "nativesdk" +BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.7.4.1
PATCH 27/33 git: Disable gitk from by default
In reply to Saul WoldFrom: Saul Wold <[email protected]>
gitk should not be built for native and comment out the build for the target by default since it includes tk and will drag in more X11 stuf then needed.
--- meta/recipes-devtools/git/git.inc | 7 +++++-- meta/recipes-devtools/git/git_1.7.4.3.bb | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-)
meta/recipes-devtools/git/git.inc +5 -2
@@ -40,9 +40,12 @@ FILES_${PN}-perltools += " \ RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils" # git-tk package with gitk and git-gui -PACKAGES =+ "${PN}-tk" +# Uncomment the PACKAGE line to include GITK +#PACKAGES =+ "${GITK}" +GITK = "${PN}-tk" +GITK_virtclass-native = "" RDEPENDS_${PN}-tk = "${PN} tk tcl" -EXTRA_OEMAKE = "TCL_PATH=${STAGING_BINDIR_CROSS}/tclsh" +EXTRA_OEMAKE_${PN}-tk_append = " TCL_PATH=${STAGING_BINDIR_NATIVE}/tclsh" FILES_${PN}-tk = " \ ${bindir}/gitk \ ${datadir}/gitk \
meta/recipes-devtools/git/git_1.7.4.3.bb +1 -1
@@ -1,6 +1,6 @@ require git.inc -PR = "r2" +PR = "r4" 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.4.1
PATCH 29/33 linuxdoc-tools-native: add groff-native to DEPENDS
In reply to Saul WoldFrom: Saul Wold <[email protected]>
groff-native is needed to ensure that configure finds the groff-native binary instead of the host's groff, this is to ensure the correct macros are used (-ms vs -mgs)
--- .../linuxdoc-tools/linuxdoc-tools-native_0.9.66.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.66.bb +2 -2
@@ -4,9 +4,9 @@ HOMEPAGE = "http://packages.debian.org/linuxdoc-tools" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=5fbccc46cff2379505ca4e09c7d6ccfe" -DEPENDS = "openjade-native" +DEPENDS = "groff-native openjade-native" -PR = "r2" +PR = "r3" SRC_URI = "${DEBIAN_MIRROR}/main/l/linuxdoc-tools/linuxdoc-tools_${PV}.tar.gz \ file://disable_sgml2rtf.patch \
Signature · 1 line
1.7.4.1
PATCH 28/33 puzzles: update to r9163
In reply to Saul WoldFrom: Saul Wold <[email protected]>
---
.../puzzles/{puzzles_r9151.bb => puzzles_r9163.bb} | 0
1 files changed, 0 insertions(+), 0 deletions(-)
rename meta/recipes-sato/puzzles/{puzzles_r9151.bb => puzzles_r9163.bb} (100%)meta/recipes-sato/puzzles/puzzles_r9163.bb renamed from meta/recipes-sato/puzzles/puzzles_r9151.bb +0 -0
Signature · 1 line
1.7.4.1
PATCH 30/33 libsoup-2.4: Update to 2.34.1
In reply to Saul WoldFrom: Saul Wold <[email protected]>
---
...libsoup-2.4_2.32.2.bb => libsoup-2.4_2.34.1.bb} | 7 ++++---
meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bb | 11 -----------
2 files changed, 4 insertions(+), 14 deletions(-)
rename meta/recipes-support/libsoup/{libsoup-2.4_2.32.2.bb => libsoup-2.4_2.34.1.bb} (65%)
delete mode 100644 meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bbmeta/recipes-support/libsoup/libsoup-2.4_2.34.1.bb renamed from meta/recipes-support/libsoup/libsoup-2.4_2.32.2.bb +4 -3
@@ -10,10 +10,11 @@ PR = "r0" DEPENDS = "glib-2.0 gnutls libxml2 libproxy sqlite3 libgnome-keyring" -SRC_URI = "${GNOME_MIRROR}/libsoup/2.32/libsoup-${PV}.tar.bz2" +SRC_URI = "${GNOME_MIRROR}/libsoup/2.34/libsoup-${PV}.tar.bz2" + +SRC_URI[md5sum] = "846779d898c11f97b5de28a79ea82254" +SRC_URI[sha256sum] = "a2f846af2c4c08e15eacc9879c8c9be4d85f8105f960f96a9ba3dbabd9ee517b" -SRC_URI[md5sum] = "03f37350a2a31046ebabb8470e75abcc" -SRC_URI[sha256sum] = "96e6973c8b7459523c0f44e7aec69528ff2fbd388e8ddc415f91bcc42f50777f" S = "${WORKDIR}/libsoup-${PV}" inherit autotools pkgconfig
meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bb deleted +0 -11
@@ -1,11 +0,0 @@ -DESCRIPTION = "An HTTP library implementation in C" -LICENSE = "GPL" -SECTION = "x11/gnome/libs" - -DEPENDS = "glib-2.0 gnutls libxml2" - -SRC_URI = "${GNOME_MIRROR}/libsoup/2.4/libsoup-${PV}.tar.bz2" -S = "${WORKDIR}/libsoup-${PV}" - -inherit autotools pkgconfig -
Signature · 1 line
1.7.4.1
PATCH 32/33 perl: fix Configure-multilib.patch
In reply to Saul WoldFrom: Saul Wold <[email protected]>
Thanks to Gary Thomas for his input on fixing this for Ubuntu 11.04
--- .../perl/perl-5.12.3/Configure-multilib.patch | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/perl/perl-5.12.3/Configure-multilib.patch +1 -1
@@ -11,7 +11,7 @@ Index: perl-5.12.3/Configure -glibpth="/lib /usr/lib $xlibpth" +glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth" glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" -+test -f /usr/lib/`uname -m`-linux-gnu/libc.so && glibpth="/usr/lib/`uname -m`-linux-gnu $glibpth" ++test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth" test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" test -f /shlib/libc.so && glibpth="/shlib $glibpth" test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
Signature · 1 line
1.7.4.1
PATCH 31/33 perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and /lib/${arch}-linux-gnu so we need that to be added to glibpth in Configure.
Currently we set LD=ld in environment for recipes inheriting native class. This overrides the LD settings in the Makefiles of perl and it tries to link by calling ld which does not work since its using -l<x> on commandline and ubuntu linker seems not to look into the new location for these libraries. Its better to use gcc for linking here anyway
[With tweak from Tom Rini to use CCLD, not LD] (From OE-Core rev: 8ba700a4c593fd52bd01b6272b4c8285a71964f7)
Further tweaks to Configure-multilib.patch for x86_64 vs x86 from Gary Thomas
--- .../perl/files/Configure-multilib.patch | 15 +++++++++++++++ meta/recipes-devtools/perl/perl-native_5.12.3.bb | 10 +++++----- 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-devtools/perl/files/Configure-multilib.patch
meta/recipes-devtools/perl/files/Configure-multilib.patch new file +15 -0
@@ -0,0 +1,15 @@ +Index: perl-5.12.2/Configure +=================================================================== +--- perl-5.12.2.orig/Configure ++++ perl-5.12.2/Configure +@@ -1316,8 +1316,9 @@ loclibpth="/usr/local/lib /opt/local/lib + loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib" + + : general looking path for locating libraries +-glibpth="/lib /usr/lib $xlibpth" ++glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth" + glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" ++test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth" + test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" + test -f /shlib/libc.so && glibpth="/shlib $glibpth" + test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
meta/recipes-devtools/perl/perl-native_5.12.3.bb +5 -5
@@ -4,22 +4,22 @@ SECTION = "libs" LICENSE = "Artistic|GPL" LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" -PR = "r0" +PR = "r1" LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ - file://Configure-multilib.patch;patch=1 \ - file://perl-configpm-switch.patch;patch=1 \ + file://Configure-multilib.patch \ + file://perl-configpm-switch.patch \ file://parallel_build_fix_1.patch \ file://parallel_build_fix_2.patch \ file://parallel_build_fix_3.patch \ file://parallel_build_fix_4.patch \ file://parallel_build_fix_5.patch \ file://parallel_build_fix_6.patch \ - file://native-nopacklist.patch;patch=1 \ - file://native-perlinc.patch;patch=1" + file://native-nopacklist.patch \ + file://native-perlinc.patch" SRC_URI[md5sum] = "29975a69dce54e47fcd6331c085c6c99" SRC_URI[sha256sum] = "5678bfd5c2cd59253a26171bf3e681235433b00c730eea8a8046e1b225c11d2f"
Signature · 1 line
1.7.4.1
PATCH 21/33 LSB_Setup.sh: Add character set to lsb-image
In reply to Saul WoldFrom: Xiaofeng Yan <[email protected]>
Add character set to lsb-image to solve bugs from lsb test
--- meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh +1 -0
@@ -207,6 +207,7 @@ localedef -i en_US -f ISO-8859-15 en_US.ISO-8859-15 localedef -i en_US -f UTF-8 en_US.UTF-8 localedef -i se_NO -f UTF-8 se_NO.UTF-8 localedef -i de_DE -f ISO-8859-1 de_DE +localedef -i en_US -f ISO-8859-1 en_US.ISO8859-1 #resolve localhost LOCALHOST=`hostname`
Signature · 1 line
1.7.4.1
PATCH 26/33 alsa-utils_1.0.24.2.bb: Fix build for uclibc targets
In reply to Saul WoldFrom: Khem Raj <[email protected]>
uclibc does not have exp10() implemented so we obtain same behaviour using pow()
--- .../uclibc-exp10-replacement.patch | 21 ++++++++++++++++++++ .../recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb | 4 ++- 2 files changed, 24 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/uclibc-exp10-replacement.patch
meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/uclibc-exp10-replacement.patch new file +21 -0
@@ -0,0 +1,21 @@ +uclibc does not have exp10 function which is glibc extension. +Bur we can get the same behavior by using pow() + +Upstream-status: Pending + +Khem Raj <[email protected]> + +Index: alsa-utils-1.0.24.2/alsamixer/volume_mapping.c +=================================================================== +--- alsa-utils-1.0.24.2.orig/alsamixer/volume_mapping.c ++++ alsa-utils-1.0.24.2/alsamixer/volume_mapping.c +@@ -36,6 +36,9 @@ + #include <math.h> + #include <stdbool.h> + #include "volume_mapping.h" ++#ifdef __UCLIBC__ ++#define exp10(x) (pow(10, (x))) ++#endif /* __UCLIBC__ */ + + #define MAX_LINEAR_DB_SCALE 24 +
meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb +3 -1
@@ -9,7 +9,9 @@ DEPENDS = "alsa-lib ncurses" PR = "r0" SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ - file://ncursesfix.patch" + file://ncursesfix.patch \ + file://uclibc-exp10-replacement.patch \ + " SRC_URI[md5sum] = "8238cd57cb301d1c36bcf0ecb59ce6b2" SRC_URI[sha256sum] = "95127f740291086486c06c28118cabca0814bde48fd14dac041a9812a5ac1be2"
Signature · 1 line
1.7.4.1
PATCH 33/33 qemuimagetest: Enable toolchain automation tests in qemuimagetest
In reply to Saul WoldFrom: Jiajun Xu <[email protected]>
Enable toolchain automation tests in qemuimagetest framework. 3 C/C++ test projects are added to test toolchain - cvs, iptables and sudoku-savant. User needs to set TEST_SCEN to "toolchain" in local.conf to enable tests. Test case will check if toolchain tarball exists under "${DEPLOY_DIR}/sdk". And it will extract toolchain tarball into /opt. It requires user to chown /opt to non-root user, who will run qemuimagetest.
Signed-off-by Jiajun Xu <[email protected]>
--- meta/classes/imagetest-qemu.bbclass | 9 +- meta/conf/local.conf.sample | 2 +- meta/recipes-core/meta/meta-toolchain.bb | 3 +- scripts/qemuimage-testlib | 232 +++++++++++++++++++- .../scenario/qemuarm/meta-toolchain-gmae | 3 + .../scenario/qemumips/meta-toolchain-gmae | 3 + .../scenario/qemuppc/meta-toolchain-gmae | 3 + .../scenario/qemux86-64/meta-toolchain-gmae | 3 + .../scenario/qemux86/meta-toolchain-gmae | 3 + scripts/qemuimage-tests/toolchain/cvs | 31 +++ scripts/qemuimage-tests/toolchain/iptables | 31 +++ scripts/qemuimage-tests/toolchain/sudoku-savant | 31 +++ 12 files changed, 349 insertions(+), 5 deletions(-) create mode 100644 scripts/qemuimage-tests/scenario/qemuarm/meta-toolchain-gmae create mode 100644 scripts/qemuimage-tests/scenario/qemumips/meta-toolchain-gmae create mode 100644 scripts/qemuimage-tests/scenario/qemuppc/meta-toolchain-gmae create mode 100644 scripts/qemuimage-tests/scenario/qemux86-64/meta-toolchain-gmae create mode 100644 scripts/qemuimage-tests/scenario/qemux86/meta-toolchain-gmae create mode 100644 scripts/qemuimage-tests/toolchain/cvs create mode 100644 scripts/qemuimage-tests/toolchain/iptables create mode 100644 scripts/qemuimage-tests/toolchain/sudoku-savant
meta/classes/imagetest-qemu.bbclass +7 -2
@@ -27,6 +27,7 @@ def qemuimagetest_main(d): import sys import re import os + import shutil """ Test Controller for automated testing.
@@ -72,6 +73,7 @@ def qemuimagetest_main(d): os.environ["TEST_STATUS"] = bb.data.getVar("TEST_STATUS", d, True) os.environ["TARGET_IPSAVE"] = bb.data.getVar("TARGET_IPSAVE", d, True) os.environ["TEST_SERIALIZE"] = bb.data.getVar("TEST_SERIALIZE", d, True) + os.environ["SDK_NAME"] = bb.data.getVar("SDK_NAME", d, True) """run Test Case""" bb.note("Run %s test in scenario %s" % (case, scen))
@@ -120,7 +122,10 @@ def qemuimagetest_main(d): if os.path.isdir(tmppath): for f in os.listdir(tmppath): tmpfile = os.path.join(tmppath, f) - os.remove(tmpfile) + if os.path.isfile(tmpfile): + os.remove(tmpfile) + elif os.path.isdir(tmpfile): + shutil.rmtree(tmpfile, True) """Before running testing, clean temp folder first""" clean_tmp()
@@ -154,7 +159,7 @@ def qemuimagetest_main(d): os.system("touch %s" % resultfile) os.symlink(resultfile, sresultfile) f = open(sresultfile, "a") - f.write("\tTest Result for %s\n" % machine) + f.write("\tTest Result for %s %s\n" % (machine, pname)) f.write("\t%-15s%-15s%-15s%-15s\n" % ("Testcase", "PASS", "FAIL", "NORESULT")) f.close()
meta/conf/local.conf.sample +1 -1
@@ -145,7 +145,7 @@ ENABLE_BINARY_LOCALE_GENERATION = "1" # By default test cases in sanity suite will be ran. If you want to run other # test suite or specific test case(e.g. bat or boot test case under sanity suite), # list them like following. -#TEST_SCEN = "sanity bat sanity:boot" +#TEST_SCEN = "sanity bat sanity:boot toolchain" #Because of the QEMU booting slowness issue(see bug #646 and #618), autobuilder #may suffer a timeout issue when running sanity test. We introduce variable
meta/recipes-core/meta/meta-toolchain.bb +2 -1
@@ -6,6 +6,7 @@ PR = "r4" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -inherit populate_sdk +IMAGETEST ?= "dummy" +inherit populate_sdk imagetest-${IMAGETEST} CONFIG_SITE := "${@siteinfo_get_files(d)}"
scripts/qemuimage-testlib +231 -1
253 lines not on this page · raw message
scripts/qemuimage-tests/scenario/qemuarm/meta-toolchain-gmae new file +3 -0
@@ -0,0 +1,3 @@ +toolchain cvs +toolchain iptables +toolchain sudoku-savant
scripts/qemuimage-tests/scenario/qemumips/meta-toolchain-gmae new file +3 -0
@@ -0,0 +1,3 @@ +toolchain cvs +toolchain iptables +toolchain sudoku-savant
scripts/qemuimage-tests/scenario/qemuppc/meta-toolchain-gmae new file +3 -0
@@ -0,0 +1,3 @@ +toolchain cvs +toolchain iptables +toolchain sudoku-savant
scripts/qemuimage-tests/scenario/qemux86-64/meta-toolchain-gmae new file +3 -0
@@ -0,0 +1,3 @@ +toolchain cvs +toolchain iptables +toolchain sudoku-savant
scripts/qemuimage-tests/scenario/qemux86/meta-toolchain-gmae new file +3 -0
@@ -0,0 +1,3 @@ +toolchain cvs +toolchain iptables +toolchain sudoku-savant
scripts/qemuimage-tests/toolchain/cvs new file +31 -0
@@ -0,0 +1,31 @@ +#!/bin/bash +# +# CVS compile Test for toolchain test +# The case extract toolchain tarball into temp folder +# Then compile CVS with the toolchain environment +# +# Author: Jiajun Xu <[email protected]> +# +# This file is licensed under the GNU General Public License, +# Version 2. +# +. $COREBASE/scripts/qemuimage-testlib + +TIMEOUT=120 + +# Extract and test toolchain tarball +Test_Toolchain cvs ${TIMEOUT} + +if [ $? -eq 0 ]; then + Test_Info "CVS Test PASS" + Test_Print_Result "CVS" 0 + exit 0 +elif [ $? -eq 1 ]; then + Test_Info "CVS Test FAIL" + Test_Print_Result "CVS" 1 + exit 1 +else + Test_Info "Skip CVS Test due to some configuration problem" + Test_Print_Result "CVS" 2 + exit 2 +fi
scripts/qemuimage-tests/toolchain/iptables new file +31 -0
@@ -0,0 +1,31 @@ +#!/bin/bash +# +# iptables compile Test for toolchain test +# The case extract toolchain tarball into temp folder +# Then compile iptables with the toolchain environment +# +# Author: Jiajun Xu <[email protected]> +# +# This file is licensed under the GNU General Public License, +# Version 2. +# +. $COREBASE/scripts/qemuimage-testlib + +TIMEOUT=120 + +# Extract and test toolchain tarball +Test_Toolchain iptables ${TIMEOUT} + +if [ $? -eq 0 ]; then + Test_Info "iptables Test PASS" + Test_Print_Result "iptables" 0 + exit 0 +elif [ $? -eq 1 ]; then + Test_Info "iptables Test FAIL" + Test_Print_Result "iptables" 1 + exit 1 +else + Test_Info "Skip iptables Test due to some configuration problem" + Test_Print_Result "iptables" 2 + exit 2 +fi
scripts/qemuimage-tests/toolchain/sudoku-savant new file +31 -0
@@ -0,0 +1,31 @@ +#!/bin/bash +# +# sudoku-savant compile Test for toolchain test +# The case extract toolchain tarball into temp folder +# Then compile sudoku-savant with the toolchain environment +# +# Author: Jiajun Xu <[email protected]> +# +# This file is licensed under the GNU General Public License, +# Version 2. +# +. $COREBASE/scripts/qemuimage-testlib + +TIMEOUT=120 + +# Extract and test toolchain tarball +Test_Toolchain sudoku-savant ${TIMEOUT} + +if [ $? -eq 0 ]; then + Test_Info "sudoku-savant Test PASS" + Test_Print_Result "sudoku-savant" 0 + exit 0 +elif [ $? -eq 1 ]; then + Test_Info "sudoku-savant Test FAIL" + Test_Print_Result "sudoku-savant" 1 + exit 1 +else + Test_Info "Skip sudoku-savant Test due to some configuration problem" + Test_Print_Result "sudoku-savant" 2 + exit 2 +fi
Signature · 1 line
1.7.4.1
Re: [PATCH 32/33] perl: fix Configure-multilib.patch
In reply to Saul WoldQuoted 3 lines · Saul Wold
From: Saul Wold <[email protected]>
Thanks to Gary Thomas for his input on fixing this for Ubuntu 11.04
Looks good
Quoted 22 lines
Signed-off-by Saul Wold <[email protected]>---
.../perl/perl-5.12.3/Configure-multilib.patch| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)meta/recipes-devtools/perl/perl-5.12.3/Configure-multilib.patch +2
-2@@ -11,7 +11,7 @@ Index: perl-5.12.3/Configure -glibpth="/lib /usr/lib $xlibpth" +glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth" glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" -+test -f /usr/lib/`uname -m`-linux-gnu/libc.so && glibpth="/usr/lib/`uname -m`-linux-gnu $glibpth" ++test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth" test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" test -f /shlib/libc.so && glibpth="/shlib $glibpth" test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"Signature · 1 line
1.7.4.1
Quoted 3 lines · Saul Wold
This has a dependency on your tweaks to gettext.bbclass and base.bbclass. Otherwise this set has been well tested. It also contains patches that need to backported to bernard.
I merged these apart from:
Quoted 5 lines
Koen Kooi (1):
git: make it work on the targetSaul Wold (5):
git: Disable gitk from by default
Since I don't think having tcltk-native as a dependency for git-native is particularly desireable (but its ok for the target package) yet the attempt to change this above still needs work.
Cheers,
Richard
Op 4 mei 2011, om 09:50 heeft Richard Purdie het volgende geschreven:
Quoted 10 lines · Saul Wold
Quoted 3 lines
This has a dependency on your tweaks to gettext.bbclass and base.bbclass. Otherwise this set has been well tested. It also contains patches that need to backported to bernard.
I merged these apart from:
Quoted 3 lines
Koen Kooi (1):
git: make it work on the target
Quoted 6 lines
Quoted 2 lines
Saul Wold (5):
git: Disable gitk from by defaultSince I don't think having tcltk-native as a dependency for git-native is particularly desireable (but its ok for the target package) yet the attempt to change this above still needs work.
The first patch doesn't change anything related to tcltk(-native), since it's still disabled in configure. So only if someone adds tcl(-native) to DEPENDS and enables it in EXTRA_OECONF the gitk bits will get built.
I'm not sure what the second patch tries to accomplish, though.
regards,
Koen