denzil pull request
cover denzil pull request
Hello,
This is the first pull request for the oe-core denzil branch, based on a set of commits I've been testing from my sgarman/denzil-next branch.
These commits have passed an array of build and runtime tests, including the following nightly build:
http://autobuilder.yoctoproject.org:8010/builders/nightly/builds/462
a non-gplv3 build:
http://autobuilder.yoctoproject.org:8010/builders/nightly-non-gpl3/builds/70
and a tiny build:
http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/47
Please give this pull request a few days to receive feedback and ACKs from the community.
Thanks,
Scott
The following changes since commit 5433da972f2994f7176597d89499ccb65f876f88:
self-hosted-image: Update poky revision to point at the 1.2 release branch (2012-04-24 10:20:06 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgarman/denzil-next-testing
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgarman/denzil-next-pull1
Andreas Oberritter (2):
python: use PKGSUFFIX for libpython2
{kernel, module}.bbclass: don't run depmod for module packages during
do_rootfs
Andrei Gherzan (3):
python: Add patch for 64bit platform
python: Add patch to search for db.h in inc_dirs and remove warning
fotowall: Add #include ui_wizard.h to ExportWizard.cpp
Darren Hart (2):
gthumb: Disable parallel make for gthumb install
initrdscripts: Update install.sh to work with mmc devices
Dongxiao Xu (1):
qt4: move functions from python to shell style
Ken Werner (1):
bdwgc: Set ARM_INSTRUCTION_SET to "arm"
Khem Raj (4):
connman: Fix linking with gold linker
openssl: Fix build for mips64(el)
uclibc.inc: uclibc rtld does support GNU_HASH classes/mirrors.bbclass: Point snapshot.debian.org mirror to working
location
Mark Norman (1):
uclibc SDK not including libpthread_nonshared.a
Nitin A Kamble (2):
libproxy: fix compilation with gcc 4.7
quilt: fix perl path in target perl scripts
Otavio Salvador (1):
connman: backport test script fixes
Paul Eggleton (2):
dpkg-native: fix deb-based rootfs construction failure on Fedora 16
buildhistory: fix multiple commit of images and packages at the same
time
Richard Purdie (2):
utils.bbclass: Testing via env in create_wrapper is a nice idea but
breaks things
sed: Explicitly disable acl for deterministic builds
Saul Wold (7):
binutils: add embedspu for ppc builds
libgcc: Package additional *crt*.o files for PPC
xserver-kdrive: Add xkb to existing docs list
gcc: Add plugins package for ARM, fix /usr/incude packaging
quilt: move empty quiltrc to native sysconfdir
boost: Ensure we use our user-config.jam file
builder: Add Please Wait Dialog Box
Scott Garman (3):
libpng: upgrade to 1.2.49
openssl: upgrade to 1.0.0i
runqemu-ifup: enable ip masquerading for QEMU NAT addresses
Zhai Edwin (1):
pango: Fix modules load failure in multilib environment
meta/classes/buildhistory.bbclass | 2 +-
meta/classes/kernel.bbclass | 4 +-
meta/classes/mirrors.bbclass | 2 +-
meta/classes/module.bbclass | 7 +-
meta/classes/patch.bbclass | 2 +-
meta/classes/utils.bbclass | 4 +-
...ange-visibility-to-default-for-debug-symb.patch | 35 ++++
.../connman/test-set-ipv4-method-api-fix.patch | 50 +++++
.../connman/test-set-ipv6-method-api-fix.patch | 55 ++++++
meta/recipes-connectivity/connman/connman_0.79.bb | 5 +-
.../configure-targets.patch | 16 +-
.../debian/c_rehash-compat.patch | 0
.../debian/ca.patch | 0
.../debian/debian-targets.patch | 0
.../debian/make-targets.patch | 0
.../debian/man-dir.patch | 0
.../debian/man-section.patch | 0
.../debian/no-rpath.patch | 0
.../debian/no-symbolic.patch | 0
.../debian/pic.patch | 0
.../debian/version-script.patch | 0
.../engines-install-in-libdir-ssl.patch | 0
.../oe-ldflags.patch | 0
.../openssl-fix-link.patch | 0
.../openssl_fix_for_x32.patch | 0
.../shared-libs.patch | 0
meta/recipes-connectivity/openssl/openssl.inc | 3 +-
.../{openssl_1.0.0h.bb => openssl_1.0.0i.bb} | 6 +-
.../initrdscripts/files/init-install.sh | 45 ++---
.../initrdscripts/initramfs-live-install_1.0.bb | 2 +-
meta/recipes-core/uclibc/uclibc.inc | 11 +-
meta/recipes-devtools/binutils/binutils.inc | 1 +
.../dpkg/dpkg/dpkg-deb-avoid-fflush.patch | 198 ++++++++++++++++++++
meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb | 5 +-
meta/recipes-devtools/gcc/gcc-package-target.inc | 8 +-
meta/recipes-devtools/gcc/libgcc_4.6.bb | 2 +-
.../python/check-if-target-is-64b-not-host.patch | 57 ++++++
...search_db_h_in_inc_dirs_and_avoid_warning.patch | 40 ++++
meta/recipes-devtools/python/python_2.7.2.bb | 11 +-
meta/recipes-devtools/quilt/quilt-0.51.inc | 5 -
meta/recipes-devtools/quilt/quilt-native.inc | 6 +
meta/recipes-devtools/quilt/quilt-native_0.51.bb | 2 +-
meta/recipes-devtools/quilt/quilt_0.51.bb | 15 +-
meta/recipes-extended/sed/sed_4.2.1.bb | 4 +-
meta/recipes-gnome/gthumb/gthumb_2.12.4.bb | 2 +
meta/recipes-graphics/builder/builder_0.1.bb | 7 +-
.../builder/files/builder_hob_start.sh | 2 +
.../builder/files/please_wait_dialog.py | 28 +++
.../pango/pango-1.28.4/multilib-fix-clean.patch | 40 ++++
meta/recipes-graphics/pango/pango.inc | 12 +-
meta/recipes-graphics/pango/pango_1.28.4.bb | 7 +-
.../xorg-xserver/xserver-kdrive.inc | 2 +-
.../libpng/{libpng_1.2.46.bb => libpng_1.2.49.bb} | 10 +-
.../ExportWizard-depends-on-ui_wizard.patch | 18 ++
meta/recipes-qt/qt-apps/fotowall_0.9.bb | 6 +-
meta/recipes-qt/qt4/qt4-embedded.inc | 2 +-
meta/recipes-qt/qt4/qt4-tools-nativesdk.inc | 5 +-
meta/recipes-qt/qt4/qt4-x11-free.inc | 2 +-
meta/recipes-qt/qt4/qt4.inc | 5 +-
meta/recipes-qt/qt4/qt4_arch.inc | 36 ++--
meta/recipes-support/bdwgc/bdwgc_20110107.bb | 2 +
meta/recipes-support/boost/boost.inc | 3 +-
.../libproxy/libproxy_fix_for_gcc4.7.patch | 30 +++
meta/recipes-support/libproxy/libproxy_0.4.7.bb | 3 +-
scripts/runqemu-ifup | 3 +-
65 files changed, 715 insertions(+), 113 deletions(-)
create mode 100644 meta/recipes-connectivity/connman/connman/0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch
create mode 100644 meta/recipes-connectivity/connman/connman/test-set-ipv4-method-api-fix.patch
create mode 100644 meta/recipes-connectivity/connman/connman/test-set-ipv6-method-api-fix.patch
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/configure-targets.patch (81%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/c_rehash-compat.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/ca.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/debian-targets.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/make-targets.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/man-dir.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/man-section.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/no-rpath.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/no-symbolic.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/pic.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/version-script.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/engines-install-in-libdir-ssl.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/oe-ldflags.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/openssl-fix-link.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/openssl_fix_for_x32.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/shared-libs.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl_1.0.0h.bb => openssl_1.0.0i.bb} (88%)
create mode 100644 meta/recipes-devtools/dpkg/dpkg/dpkg-deb-avoid-fflush.patch
create mode 100644 meta/recipes-devtools/python/python/check-if-target-is-64b-not-host.patch
create mode 100644 meta/recipes-devtools/python/python/search_db_h_in_inc_dirs_and_avoid_warning.patch
create mode 100644 meta/recipes-graphics/builder/files/please_wait_dialog.py
create mode 100644 meta/recipes-graphics/pango/pango-1.28.4/multilib-fix-clean.patch
rename meta/recipes-multimedia/libpng/{libpng_1.2.46.bb => libpng_1.2.49.bb} (60%)
create mode 100644 meta/recipes-qt/qt-apps/fotowall/ExportWizard-depends-on-ui_wizard.patch
create mode 100644 meta/recipes-support/libproxy/libproxy/libproxy_fix_for_gcc4.7.patchSignature · 1 line
1.7.9.5
PATCH 1/32 connman: Fix linking with gold linker
From: Khem Raj <[email protected]>
Fixes errors like below
/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld:
error: hidden symbol '__start___debug' is not defined locally /home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld:
error: hidden symbol '__stop___debug' is not defined locally
collect2: ld returned 1 exit status
make[1]: *** [plugins/loopback.la] Error 1
--- ...ange-visibility-to-default-for-debug-symb.patch | 35 ++++++++++++++++++++ meta/recipes-connectivity/connman/connman_0.79.bb | 3 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-connectivity/connman/connman/0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch
meta/recipes-connectivity/connman/connman/0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 4ddaf78dad5a9ee4a0658235f71b75132192123e Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sat, 7 Apr 2012 18:52:12 -0700 +Subject: [PATCH] plugin.h: Change visibility to default for debug symbols + +gold refuses to link in undefined weak symbols which +have hidden visibility + +Signed-off-by: Khem Raj <[email protected]> + + +Upstream-Status: Pending +--- + include/plugin.h | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/plugin.h b/include/plugin.h +index 692a4e5..a9361c3 100644 +--- a/include/plugin.h ++++ b/include/plugin.h +@@ -89,9 +89,9 @@ struct connman_plugin_desc { + #else + #define CONNMAN_PLUGIN_DEFINE(name, description, version, priority, init, exit) \ + extern struct connman_debug_desc __start___debug[] \ +- __attribute__ ((weak, visibility("hidden"))); \ ++ __attribute__ ((weak, visibility("default"))); \ + extern struct connman_debug_desc __stop___debug[] \ +- __attribute__ ((weak, visibility("hidden"))); \ ++ __attribute__ ((weak, visibility("default"))); \ + extern struct connman_plugin_desc connman_plugin_desc \ + __attribute__ ((visibility("default"))); \ + struct connman_plugin_desc connman_plugin_desc = { \ +-- +1.7.5.4 +
meta/recipes-connectivity/connman/connman_0.79.bb +2 -1
@@ -6,6 +6,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \ file://add_xuser_dbus_permission.patch \ file://ethernet_default.patch \ file://disable_alg-test.patch \ + file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \ file://connman" S = "${WORKDIR}/git" -PR = "r1" +PR = "r2"
Signature · 1 line
1.7.9.5
PATCH 2/32 connman: backport test script fixes
In reply to Scott GarmanFrom: Otavio Salvador <[email protected]>
Those fixes are required to get the test scripts to work with current 0.79 DBus API.
--- .../connman/test-set-ipv4-method-api-fix.patch | 50 ++++++++++++++++++ .../connman/test-set-ipv6-method-api-fix.patch | 55 ++++++++++++++++++++ meta/recipes-connectivity/connman/connman_0.79.bb | 4 +- 3 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-connectivity/connman/connman/test-set-ipv4-method-api-fix.patch create mode 100644 meta/recipes-connectivity/connman/connman/test-set-ipv6-method-api-fix.patch
meta/recipes-connectivity/connman/connman/test-set-ipv4-method-api-fix.patch new file +50 -0
@@ -0,0 +1,50 @@ +From 0b817dd3096f5c3ca8f0b868ee55ea550054137b Mon Sep 17 00:00:00 2001 +From: Daniel Wagner <[email protected]> +Date: Mon, 19 Mar 2012 14:03:27 +0100 +Subject: [PATCH 3/3] set-ipv4-method: The arguments have to be wrapped into a + variant + +Fixes BMC#24986 + +Upstream-Status: Backport + +Signed-off-by: Otavio Salvador <[email protected]> +--- + test/set-ipv4-method | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/test/set-ipv4-method b/test/set-ipv4-method +index 820b24b..235113f 100755 +--- a/test/set-ipv4-method ++++ b/test/set-ipv4-method +@@ -3,6 +3,9 @@ + import sys + import dbus + ++def make_variant(string): ++ return dbus.String(string, variant_level=1) ++ + def print_usage(): + print "Usage: %s <service> [off|dhcp|manual <address> [netmask] [gateway]]" % (sys.argv[0]) + +@@ -20,13 +23,13 @@ properties = service.GetProperties() + + print "Setting method %s for %s" % (sys.argv[2], sys.argv[1]) + +-ipv4_configuration = { "Method": sys.argv[2] } ++ipv4_configuration = { "Method": make_variant(sys.argv[2]) } + if (len(sys.argv) > 3): +- ipv4_configuration["Address"] = sys.argv[3] ++ ipv4_configuration["Address"] = make_variant(sys.argv[3]) + if (len(sys.argv) > 4): +- ipv4_configuration["Netmask"] = sys.argv[4] ++ ipv4_configuration["Netmask"] = make_variant(sys.argv[4]) + if (len(sys.argv) > 5): +- ipv4_configuration["Gateway"] = sys.argv[5] ++ ipv4_configuration["Gateway"] = make_variant(sys.argv[5]) + + service.SetProperty("IPv4.Configuration", ipv4_configuration) + print "New IPv4.Configuration: ", ipv4_configuration +-- +1.7.9.5 +
meta/recipes-connectivity/connman/connman/test-set-ipv6-method-api-fix.patch new file +55 -0
55 lines not on this page · raw message
meta/recipes-connectivity/connman/connman_0.79.bb +3 -1
@@ -7,6 +7,8 @@ SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \ file://ethernet_default.patch \ file://disable_alg-test.patch \ file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \ + file://test-set-ipv4-method-api-fix.patch \ + file://test-set-ipv6-method-api-fix.patch \ file://connman" S = "${WORKDIR}/git" -PR = "r2" +PR = "r3"
Signature · 1 line
1.7.9.5
PATCH 3/32 python: use PKGSUFFIX for libpython2
In reply to Scott GarmanFrom: Andreas Oberritter <[email protected]>
* python-nativesdk shouldn't provide libpython2, but libpython2-nativesdk.
[PR Bump - sgw]
--- meta/recipes-devtools/python/python_2.7.2.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
meta/recipes-devtools/python/python_2.7.2.bb +6 -3
@@ -1,6 +1,6 @@ require python.inc DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib" -PR = "${INC_PR}.14" +PR = "${INC_PR}.15" DISTRO_SRC_URI ?= "file://sitecustomize.py" DISTRO_SRC_URI_linuxstdbase = ""
@@ -145,8 +145,8 @@ RRECOMMENDS_${PN}-core = "${PN}-readline" RRECOMMENDS_${PN}-crypt = "openssl" # package libpython2 -PACKAGES =+ "lib${BPN}2" -FILES_lib${BPN}2 = "${libdir}/libpython*.so.*" +PACKAGES =+ "lib${BPN}2${PKGSUFFIX}" +FILES_lib${BPN}2${PKGSUFFIX} = "${libdir}/libpython*.so.*" # catch debug extensions (isn't that already in python-core-dbg?) FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
@@ -160,3 +160,6 @@ PACKAGES += "${PN}-man" FILES_${PN}-man = "${datadir}/man" BBCLASSEXTEND = "nativesdk" + +PKGSUFFIX = "" +PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
Signature · 1 line
1.7.9.5
PATCH 4/32 gthumb: Disable parallel make for gthumb install
In reply to Scott GarmanFrom: Darren Hart <[email protected]>
With PARALLEL_MAKE set to 14, I frequently see the gthumb do_install task hang. Make is spinning at 100% CPU and the build makes no more progress.
The following work-around proposed by Richard Purdie allows progress to be made.
--- meta/recipes-gnome/gthumb/gthumb_2.12.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-gnome/gthumb/gthumb_2.12.4.bb +2 -0
@@ -8,6 +8,8 @@ PR = "r2" EXTRA_OECONF = "--disable-gnome-keyring --disable-libsoup --disable-exiv2 --disable-clutter" +PARALLEL_MAKEINST="" + inherit gnome pkgconfig FILES_${PN} += "${datadir}/icons"
Signature · 1 line
1.7.9.5
PATCH 5/32 bdwgc: Set ARM_INSTRUCTION_SET to "arm"
In reply to Scott GarmanFrom: Ken Werner <[email protected]>
The bdwgc recipe uses a version of libatomic that fails when building in Thumb mode. This has been fixed upstream already. The pulseaudio/libatomics-ops_1.2.bb has the same issue and sets the ARM_INSTRUCTION_SET to "arm" (probably until a new version gets pulled in). This patch applies the same workaround to the bdwgc/bdwgc_20110107.bb recipe.
--- meta/recipes-support/bdwgc/bdwgc_20110107.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-support/bdwgc/bdwgc_20110107.bb +2 -0
@@ -33,5 +33,7 @@ PR = "r1" S = "${WORKDIR}/bdwgc" +ARM_INSTRUCTION_SET = "arm" + inherit autotools BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.7.9.5
PATCH 6/32 binutils: add embedspu for ppc builds
In reply to Scott GarmanFrom: Saul Wold <[email protected]>
WARNING: For recipe binutils, the following files/directories were installed but not shipped in any package:
WARNING: /usr/bin/embedspu
--- meta/recipes-devtools/binutils/binutils.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/binutils/binutils.inc +1 -0
@@ -32,6 +32,7 @@ FILES_${PN}-symlinks = " \ ${bindir}/addr2line \ ${bindir}/as \ ${bindir}/c++filt \ + ${bindir}/embedspu \ ${bindir}/gprof \ ${bindir}/ld \ ${bindir}/ld.bfd \
Signature · 1 line
1.7.9.5
PATCH 7/32 libgcc: Package additional *crt*.o files for PPC
In reply to Scott GarmanFrom: Saul Wold <[email protected]>
WARNING: For recipe libgcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ecrti.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ncrti.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ecrtn.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ncrtn.o
--- meta/recipes-devtools/gcc/libgcc_4.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/gcc/libgcc_4.6.bb +1 -1
@@ -16,7 +16,7 @@ PACKAGES = "\ FILES_${PN} = "${base_libdir}/libgcc*.so.*" FILES_${PN}-dev = " \ ${base_libdir}/libgcc*.so \ - ${libdir}/${TARGET_SYS}/${BINV}/crt* \ + ${libdir}/${TARGET_SYS}/${BINV}/*crt* \ ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" FILES_libgcov${PKGSUFFIX}-dev = " \ ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a"
Signature · 1 line
1.7.9.5
PATCH 8/32 xserver-kdrive: Add xkb to existing docs list
In reply to Scott GarmanFrom: Saul Wold <[email protected]>
WARNING: For recipe xserver-kdrive, the following files/directories were installed but not shipped in any package: WARNING: /usr/share/man WARNING: /usr/share/man/man5 WARNING: /usr/share/man/man1 WARNING: /usr/share/man/man1/Xephyr.1 WARNING: /usr/share/man/man1/Xserver.1
--- .../xorg-xserver/xserver-kdrive.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-xserver/xserver-kdrive.inc +1 -1
@@ -50,7 +50,7 @@ DESCRIPTION_xserver-kdrive-vesa = "X server from freedesktop.org, supporting any DESCRIPTION_xserver-kdrive-via = "X server from freedesktop.org, supporting VIA chipsets" FILES_${PN} += "${libdir}/xserver/SecurityPolicy ${libdir}/xorg" -FILES_${PN}-doc = "${datadir}/X11/xkb" +FILES_${PN}-doc += "${datadir}/X11/xkb" ALLOW_EMPTY_${PN} = "1" FILES_xserver-kdrive-fbdev = "${bindir}/Xfbdev"
Signature · 1 line
1.7.9.5
PATCH 9/32 gcc: Add plugins package for ARM, fix /usr/incude packaging
In reply to Scott GarmanFrom: Saul Wold <[email protected]>
WARNING: For recipe gcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/include WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm/bpabi-lib.h
--- meta/recipes-devtools/gcc/gcc-package-target.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-package-target.inc +7 -1
@@ -1,5 +1,5 @@ PACKAGES = "\ - ${PN} ${PN}-symlinks \ + ${PN} ${PN}-plugins ${PN}-symlinks \ g++ g++-symlinks \ cpp cpp-symlinks \ g77 g77-symlinks \
@@ -40,6 +40,11 @@ FILES_${PN}-symlinks = "\ ${bindir}/gccbug \ " +FILES_${PN}-plugins = "\ + ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \ +" +ALLOW_EMPTY_${PN}-plugins = "1" + FILES_g77 = "\ ${bindir}/${TARGET_PREFIX}g77 \ ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
@@ -88,6 +93,7 @@ do_install () { rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools rm -rf ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la + rmdir ${D}${includedir} # Hack around specs file assumptions test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs
Signature · 1 line
1.7.9.5
PATCH 10/32 quilt: move empty quiltrc to native sysconfdir
In reply to Scott GarmanFrom: Saul Wold <[email protected]>
patch.bbclass orignally pointed at /usr/bin/quiltrc for an empty version to ensure that no user setting were picked up, change this to /etc/quiltrc in the Native sysroot since we now have a native sysconfdir.
Make sure that the quiltrc is actually installed in the Native sysconfdir, not the target, so fix this after the recipe split.
--- meta/classes/patch.bbclass | 2 +- meta/recipes-devtools/quilt/quilt-0.51.inc | 5 ----- meta/recipes-devtools/quilt/quilt-native.inc | 6 ++++++ meta/recipes-devtools/quilt/quilt-native_0.51.bb | 2 +- meta/recipes-devtools/quilt/quilt_0.51.bb | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-)
meta/classes/patch.bbclass +1 -1
@@ -1,7 +1,7 @@ # Copyright (C) 2006 OpenedHand LTD # Point to an empty file so any user's custom settings don't break things -QUILTRCFILE ?= "${STAGING_BINDIR_NATIVE}/quiltrc" +QUILTRCFILE ?= "${STAGING_ETCDIR_NATIVE}/quiltrc" PATCHDEPENDENCY = "${PATCHTOOL}-native:do_populate_sysroot"
meta/recipes-devtools/quilt/quilt-0.51.inc +0 -5
@@ -24,11 +24,6 @@ RDEPENDS_${PN} = "bash" # quilt ignores DESTDIR do_install () { oe_runmake 'BUILD_ROOT=${D}' install - if [ "${BUILD_ARCH}" == "${HOST_ARCH}" ]; then - # Dummy quiltrc file for patch.bbclass - install -d ${D}${bindir}/ - touch ${D}${bindir}/quiltrc - fi # cleanup unpackaged files rm -rf ${D}/${datadir}/emacs }
meta/recipes-devtools/quilt/quilt-native.inc +6 -0
@@ -11,3 +11,9 @@ EXTRA_OECONF = "--disable-nls" do_configure () { oe_runconf } + +do_install_append () { + # Dummy quiltrc file for patch.bbclass + install -d ${D}${sysconfdir}/ + touch ${D}${sysconfdir}/quiltrc +}
meta/recipes-devtools/quilt/quilt-native_0.51.bb +1 -1
@@ -1,4 +1,4 @@ require quilt-${PV}.inc require quilt-native.inc -PR = "r0" +PR = "r1"
meta/recipes-devtools/quilt/quilt_0.51.bb +1 -1
@@ -4,4 +4,4 @@ RDEPENDS_${PN} += "patch diffstat bzip2 util-linux" SRC_URI += "file://aclocal.patch \ file://gnu_patch_test_fix_target.patch \ " -PR = "r2" +PR = "r3"
Signature · 1 line
1.7.9.5
PATCH 11/32 dpkg-native: fix deb-based rootfs construction failure on Fedora 16
In reply to Scott GarmanFrom: Paul Eggleton <[email protected]>
Backport a fix from 1.16.x upstream to use fd instead of stream-based I/O in dpkg-deb, which avoids the use of fflush() on an input stream (the behaviour of which is undefined by POSIX, and appears to have changed in the version of glibc introduced in Fedora 16 and presumably other systems).
Fixes [YOCTO #1858].
--- .../dpkg/dpkg/dpkg-deb-avoid-fflush.patch | 198 ++++++++++++++++++++ meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb | 5 +- 2 files changed, 201 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/dpkg/dpkg/dpkg-deb-avoid-fflush.patch
meta/recipes-devtools/dpkg/dpkg/dpkg-deb-avoid-fflush.patch new file +198 -0
@@ -0,0 +1,198 @@ +From 78eaf928d30d0b16e05d8d63c55a3632a135ed9a Mon Sep 17 00:00:00 2001 +From: Guillem Jover <[email protected]> +Date: Thu, 4 Nov 2010 00:51:13 +0100 +Subject: [PATCH] dpkg-deb: Use fd instead of stream based buffered I/O + +Behaviour of fflush() on input streams is undefined per POSIX, avoid +mixing stream and file descriptor based I/O, and only use the latter +instead. + +Upstream-Status: Backport of revision 2d420ee1d05033d237462a0075facfe406b08043 (in 1.16.x) + +--- + dpkg-deb/extract.c | 83 ++++++++++++++++++++++++++++++++++++++------------- + 1 files changed, 62 insertions(+), 21 deletions(-) + +diff --git a/dpkg-deb/extract.c b/dpkg-deb/extract.c +index 22aea98..0f5ac88 100644 +--- a/dpkg-deb/extract.c ++++ b/dpkg-deb/extract.c +@@ -31,6 +31,7 @@ + #include <ctype.h> + #include <string.h> + #include <dirent.h> ++#include <fcntl.h> + #include <unistd.h> + #include <ar.h> + #include <stdbool.h> +@@ -61,13 +62,41 @@ static void movecontrolfiles(const char *thing) { + } + + static void DPKG_ATTR_NORET +-readfail(FILE *a, const char *filename, const char *what) ++read_fail(int rc, const char *filename, const char *what) + { +- if (ferror(a)) { +- ohshite(_("error reading %s from file %.255s"), what, filename); +- } else { ++ if (rc == 0) + ohshit(_("unexpected end of file in %s in %.255s"),what,filename); ++ else ++ ohshite(_("error reading %s from file %.255s"), what, filename); ++} ++ ++static ssize_t ++read_line(int fd, char *buf, size_t min_size, size_t max_size) ++{ ++ ssize_t line_size = 0; ++ size_t n = min_size; ++ ++ while (line_size < (ssize_t)max_size) { ++ ssize_t r; ++ char *nl; ++ ++ r = read(fd, buf + line_size, n); ++ if (r <= 0) ++ return r; ++ ++ nl = strchr(buf + line_size, '\n'); ++ line_size += r; ++ ++ if (nl != NULL) { ++ nl[1] = '\0'; ++ return line_size; ++ } ++ ++ n = 1; + } ++ ++ buf[line_size] = '\0'; ++ return line_size; + } + + static size_t +@@ -115,19 +144,26 @@ void extracthalf(const char *debar, const char *directory, + char versionbuf[40]; + float versionnum; + size_t ctrllennum, memberlen= 0; ++ ssize_t r; + int dummy; + pid_t c1=0,c2,c3; + int p1[2], p2[2]; +- FILE *ar; ++ int arfd; + struct stat stab; + char nlc; + int adminmember; + bool oldformat, header_done; + struct compressor *decompressor = &compressor_gzip; + +- ar= fopen(debar,"r"); if (!ar) ohshite(_("failed to read archive `%.255s'"),debar); +- if (fstat(fileno(ar),&stab)) ohshite(_("failed to fstat archive")); +- if (!fgets(versionbuf,sizeof(versionbuf),ar)) readfail(ar,debar,_("version number")); ++ arfd = open(debar, O_RDONLY); ++ if (arfd < 0) ++ ohshite(_("failed to read archive `%.255s'"), debar); ++ if (fstat(arfd, &stab)) ++ ohshite(_("failed to fstat archive")); ++ ++ r = read_line(arfd, versionbuf, strlen(DPKG_AR_MAGIC), sizeof(versionbuf)); ++ if (r < 0) ++ read_fail(r, debar, _("archive magic version number")); + + if (!strcmp(versionbuf, DPKG_AR_MAGIC)) { + oldformat = false; +@@ -137,8 +173,9 @@ void extracthalf(const char *debar, const char *directory, + for (;;) { + struct ar_hdr arh; + +- if (fread(&arh,1,sizeof(arh),ar) != sizeof(arh)) +- readfail(ar,debar,_("between members")); ++ r = read(arfd, &arh, sizeof(arh)); ++ if (r != sizeof(arh)) ++ read_fail(r, debar, _("archive member header")); + + dpkg_ar_normalize_name(&arh); + +@@ -153,8 +190,9 @@ void extracthalf(const char *debar, const char *directory, + if (strncmp(arh.ar_name, DEBMAGIC, sizeof(arh.ar_name)) != 0) + ohshit(_("file `%.250s' is not a debian binary archive (try dpkg-split?)"),debar); + infobuf= m_malloc(memberlen+1); +- if (fread(infobuf,1, memberlen + (memberlen&1), ar) != memberlen + (memberlen&1)) +- readfail(ar,debar,_("header info member")); ++ r = read(arfd, infobuf, memberlen + (memberlen & 1)); ++ if ((size_t)r != (memberlen + (memberlen & 1))) ++ read_fail(r, debar, _("archive information header member")); + infobuf[memberlen] = '\0'; + cur= strchr(infobuf,'\n'); + if (!cur) ohshit(_("archive has no newlines in header")); +@@ -174,7 +212,8 @@ void extracthalf(const char *debar, const char *directory, + /* Members with `_' are noncritical, and if we don't understand them + * we skip them. + */ +- stream_null_copy(ar, memberlen + (memberlen&1),_("skipped member data from %s"), debar); ++ fd_null_copy(arfd, memberlen + (memberlen & 1), ++ _("skipped archive member data from %s"), debar); + } else { + if (strncmp(arh.ar_name, ADMINMEMBER, sizeof(arh.ar_name)) == 0) + adminmember = 1; +@@ -198,7 +237,8 @@ void extracthalf(const char *debar, const char *directory, + ctrllennum= memberlen; + } + if (!adminmember != !admininfo) { +- stream_null_copy(ar, memberlen + (memberlen&1),_("skipped member data from %s"), debar); ++ fd_null_copy(arfd, memberlen + (memberlen & 1), ++ _("skipped archive member data from %s"), debar); + } else { + break; /* Yes ! - found it. */ + } +@@ -221,8 +261,10 @@ void extracthalf(const char *debar, const char *directory, + l = strlen(versionbuf); + if (l && versionbuf[l - 1] == '\n') + versionbuf[l - 1] = '\0'; +- if (!fgets(ctrllenbuf,sizeof(ctrllenbuf),ar)) +- readfail(ar, debar, _("control information length")); ++ ++ r = read_line(arfd, ctrllenbuf, 1, sizeof(ctrllenbuf)); ++ if (r < 0) ++ read_fail(r, debar, _("archive control member size")); + if (sscanf(ctrllenbuf,"%zi%c%d",&ctrllennum,&nlc,&dummy) !=2 || nlc != '\n') + ohshit(_("archive has malformatted control length `%s'"), ctrllenbuf); + +@@ -230,7 +272,8 @@ void extracthalf(const char *debar, const char *directory, + memberlen = ctrllennum; + } else { + memberlen = stab.st_size - ctrllennum - strlen(ctrllenbuf) - l; +- stream_null_copy(ar, ctrllennum, _("skipped control area from %s"), debar); ++ fd_null_copy(arfd, ctrllennum, ++ _("skipped archive control member data from %s"), debar); + } + + if (admininfo >= 2) { +@@ -252,13 +295,11 @@ void extracthalf(const char *debar, const char *directory, + + } + +- safe_fflush(ar); +- + m_pipe(p1); + c1 = subproc_fork(); + if (!c1) { + close(p1[0]); +- stream_fd_copy(ar, p1[1], memberlen, _("failed to write to pipe in copy")); ++ fd_fd_copy(arfd, p1[1], memberlen, _("failed to write to pipe in copy")); + if (close(p1[1])) + ohshite(_("failed to close pipe in copy")); + exit(0); +@@ -275,7 +316,7 @@ void extracthalf(const char *debar, const char *directory, + decompress_filter(decompressor, 0, 1, _("data")); + } + close(p1[0]); +- fclose(ar); ++ close(arfd); + if (taroption) close(p2[1]); + + if (taroption && directory) { +-- +1.7.7.6 +
meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb +3 -2
@@ -5,10 +5,11 @@ SRC_URI += "file://noman.patch \ file://check_snprintf.patch \ file://check_version.patch \ file://perllibdir.patch \ - file://preinst.patch" + file://preinst.patch \ + file://dpkg-deb-avoid-fflush.patch" SRC_URI[md5sum] = "d1731d4147c1ea3b537a4d094519a6dc" SRC_URI[sha256sum] = "1ec1376471b04717a4497e5d7a27cd545248c92116898ce0c53ced8ea94267b5" -PR = "${INC_PR}.3" +PR = "${INC_PR}.4"
Signature · 1 line
1.7.9.5
PATCH 12/32 libproxy: fix compilation with gcc 4.7
In reply to Scott GarmanFrom: Nitin A Kamble <[email protected]>
--- .../libproxy/libproxy_fix_for_gcc4.7.patch | 30 ++++++++++++++++++++ meta/recipes-support/libproxy/libproxy_0.4.7.bb | 3 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libproxy/libproxy/libproxy_fix_for_gcc4.7.patch
meta/recipes-support/libproxy/libproxy/libproxy_fix_for_gcc4.7.patch new file +30 -0
@@ -0,0 +1,30 @@ +Upstream-Status: Pending + +Signed-Off-By: Nitin A Kamble <[email protected]> +2012/04/20 +Fixes this issue with gcc 4.7 + +| cd /srv/home/nitin/builds/bERROR: Function failed: do_compile (see /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/libproxy-0.4.7-r3/temp/log.do_compile.7514 for further information) +| uild-gcc47/tmp/work/x86_64-poky-linux/libproxy-0.4.7-r3/libproxy-0.4.7/libproxy && /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ -Dlibproxy_EXPORTS -D_POSIX_C_SOURCE=1 -DLIBEXECDIR=\"/usr/libexec\" -DMM_MODULE_BUILTIN=config_sysconfig -fvisibility=hidden -m64 --sysroot=/srv/home/nitin/builds/build-gcc47/tmp/sysroots/qemux86-64 -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fpermissive -O2 -g -fPIC -I/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/libproxy-0.4.7-r3/libproxy-0.4.7 -I/srv/home/nitin/builds/build-gcc47/tmp/sysroots/qemux86-64/usr/include/glib-2.0 -I/srv/home/nitin/builds/build-gcc47/tmp/sysroots/qemux86-64/usr/lib/glib-2.0/include -o CMakeFiles/libproxy.dir/modules/config_sysconfig.cpp.o -c /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/libproxy-0.4.7-r3/libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp +| /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/libproxy-0.4.7-r3/libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp: In function 'bool should_use_sysconfig()': +| /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/libproxy-0.4.7-r3/libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp:107:18: error: 'getuid' was not declared in this scope +| make[2]: *** [libproxy/CMakeFiles/libproxy.dir/modules/config_sysconfig.cpp.o] Error 1 +| make[2]: Leaving directory `/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/libproxy-0.4.7-r3/libproxy-0.4.7' +| make[1]: *** [libproxy/CMakeFiles/libproxy.dir/all] Error 2 +| make[1]: Leaving directory `/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/libproxy-0.4.7-r3/libproxy-0.4.7' +| make: *** [all] Error 2 +| ERROR: oe_runmake failed +NOTE: package libproxy-0.4.7-r3: task do_compile: Failed + +Index: libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp +=================================================================== +--- libproxy-0.4.7.orig/libproxy/modules/config_sysconfig.cpp ++++ libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp +@@ -21,6 +21,7 @@ + #include <cstdlib> + #include <map> + #include <fstream> ++#include <unistd.h> + + #include "../extension_config.hpp" + using namespace libproxy;
meta/recipes-support/libproxy/libproxy_0.4.7.bb +2 -1
@@ -8,10 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \ DEPENDS = "gconf" -PR = "r3" +PR = "r4" SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \ file://g++-namepace.patch \ + file://libproxy_fix_for_gcc4.7.patch \ " SRC_URI[md5sum] = "509e03a488a61cd62bfbaf3ab6a2a7a5"
Signature · 1 line
1.7.9.5
PATCH 13/32 utils.bbclass: Testing via env in create_wrapper is a nice idea but breaks things
In reply to Scott GarmanFrom: Richard Purdie <[email protected]>
For example, pseudo-native wants to set LD_LIBRBARY_PATH but setting this into the environment here causes the existing pseudo (running during do_install) to poke into paths in /opt and this breaks builds.
The simplest fix is simply not to do this. Comments tweaks to match the code.
--- meta/classes/utils.bbclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta/classes/utils.bbclass +1 -3
@@ -282,7 +282,6 @@ create_cmdline_wrapper () { cmd=$1 shift - # run echo via env to test syntactic validity of the variable arguments echo "Generating wrapper script for $cmd" mv $cmd $cmd.real
@@ -306,8 +305,7 @@ create_wrapper () { cmd=$1 shift - # run echo via env to test syntactic validity of the variable arguments - env $@ echo "Generating wrapper script for $cmd" + echo "Generating wrapper script for $cmd" mv $cmd $cmd.real cmdname=`basename $cmd`.real
Signature · 1 line
1.7.9.5
PATCH 14/32 {kernel, module}.bbclass: don't run depmod for module packages during do_rootfs
In reply to Scott GarmanFrom: Andreas Oberritter <[email protected]>
* depmod already gets executed by pkg_postinst_kernel-image.
* If you build a module using module.bbclass, pkg_postinst returns 1 in do_rootfs, causing pkg_postinst to run again on first boot. To improve this situation, I copied pkg_postinst from kernel.bbclass to module.bbclass. This was rejected by Koen, because he doesn't like the code from kernel.bblcass, which uses ${STAGING_DIR_KERNEL}. Richard then suggested that calling depmod during do_rootfs wasn't necessary at all, because it already gets done by kernel-image.
--- meta/classes/kernel.bbclass | 4 +--- meta/classes/module.bbclass | 7 +++---- 2 files changed, 4 insertions(+), 7 deletions(-)
meta/classes/kernel.bbclass +1 -3
@@ -276,9 +276,7 @@ fi } pkg_postinst_modules () { -if [ -n "$D" ]; then - ${HOST_PREFIX}depmod -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION} ${KERNEL_VERSION} -else +if [ -z "$D" ]; then depmod -a update-modules || true fi
meta/classes/module.bbclass +3 -4
@@ -37,15 +37,14 @@ module_do_install() { } pkg_postinst_append () { - if [ -n "$D" ]; then - exit 1 - fi +if [ -z "$D" ]; then depmod -a update-modules || true +fi } pkg_postrm_append () { - update-modules || true +update-modules || true } EXPORT_FUNCTIONS do_compile do_install
Signature · 1 line
1.7.9.5
PATCH 15/32 python: Add patch for 64bit platform
In reply to Scott GarmanFrom: Andrei Gherzan <[email protected]>
This patch was added for 64bit host machines. In the compile process python is checking if platform is a 64bit platform using sys.maxint which is the host's value. The patch fixes this issue so that python would check if TARGET machine is 64bit not the HOST machine. In this way will have "dl" and "imageop" modules built if HOST machine is 64bit but the target machine is 32bit.
[YOCTO #1937]
--- .../python/check-if-target-is-64b-not-host.patch | 57 ++++++++++++++++++++ meta/recipes-devtools/python/python_2.7.2.bb | 3 +- 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/python/python/check-if-target-is-64b-not-host.patch
meta/recipes-devtools/python/python/check-if-target-is-64b-not-host.patch new file +57 -0
@@ -0,0 +1,57 @@ +Author: Andrei Gherzan <[email protected]> +Date: Sun Mar 25 02:02:27 2012 +0200 + +This patch was added for 64bit host machines. In the compile process python +is checking if platform is a 64bit platform using sys.maxint which is the host's +value. The patch fixes this issue so that python would check if TARGET machine +is 64bit not the HOST machine. In this way will have "dl" and "imageop" modules +built if HOST machine is 64bit but the target machine is 32bit. + +Signed-off-by: Andrei Gherzan <[email protected]> + +Upstream-Status: Pending + +Index: Python-2.7.2/setup.py +=================================================================== +--- Python-2.7.2.orig/setup.py 2012-03-25 01:10:41.540163187 +0200 ++++ Python-2.7.2/setup.py 2012-03-25 01:26:06.092539990 +0200 +@@ -23,6 +23,21 @@ + # This global variable is used to hold the list of modules to be disabled. + disabled_module_list = [] + ++def target_is_64bit_platform (): ++ """ ++ In case of cross-compile, some modules are not build as setup checks if HOST ++ is 64bit and not TARGET. ++ As python was built for TARGET we can check this in pyconfig.h in this way: ++ Sizeof LONG on a 32 bit platform is 4 bytes ++ Sizeof LONG on a 64 bit platform is 8 bytes ++ """ ++ pyconf = open("pyconfig.h").read() ++ aux = re.search(r"#s*define\s+SIZEOF_LONG\s+8\s*", pyconf) ++ if aux is not None: ++ return True ++ else: ++ return False ++ + def add_dir_to_list(dirlist, dir): + """Add the directory 'dir' to the list 'dirlist' (at the front) if + 1) 'dir' is not already in 'dirlist' +@@ -628,7 +643,7 @@ + exts.append( Extension('audioop', ['audioop.c']) ) + + # Disabled on 64-bit platforms +- if sys.maxint != 9223372036854775807L: ++ if not target_is_64bit_platform(): + # Operations on images + exts.append( Extension('imageop', ['imageop.c']) ) + else: +@@ -1418,7 +1433,7 @@ + missing.append('_codecs_%s' % loc) + + # Dynamic loading module +- if sys.maxint == 0x7fffffff: ++ if not target_is_64bit_platform(): + # This requires sizeof(int) == sizeof(long) == sizeof(char*) + dl_inc = find_file('dlfcn.h', [], inc_dirs) + if (dl_inc is not None) and (platform not in ['atheos']):
meta/recipes-devtools/python/python_2.7.2.bb +2 -1
@@ -1,6 +1,6 @@ require python.inc DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib" -PR = "${INC_PR}.15" +PR = "${INC_PR}.16" DISTRO_SRC_URI ?= "file://sitecustomize.py" DISTRO_SRC_URI_linuxstdbase = ""
@@ -22,6 +22,7 @@ SRC_URI += "\ file://sys_platform_is_now_always_linux2.patch \ file://fix_for_using_different_libdir.patch \ file://setuptweaks.patch \ + file://check-if-target-is-64b-not-host.patch \ " S = "${WORKDIR}/Python-${PV}"
Signature · 1 line
1.7.9.5
PATCH 16/32 python: Add patch to search for db.h in inc_dirs and remove warning
In reply to Scott GarmanFrom: Andrei Gherzan <[email protected]>
python should search for db.h in inc_dirs and not in a hardcoded path. If db.h is found but HASHVERSION is not 2 we avoid a warning by not. adding this module to missing variable.
[YOCTO #1937]
--- ...search_db_h_in_inc_dirs_and_avoid_warning.patch | 40 ++++++++++++++++++++ meta/recipes-devtools/python/python_2.7.2.bb | 3 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/python/python/search_db_h_in_inc_dirs_and_avoid_warning.patch
meta/recipes-devtools/python/python/search_db_h_in_inc_dirs_and_avoid_warning.patch new file +40 -0
@@ -0,0 +1,40 @@ +python should search for db.h in inc_dirs and not in a hardcoded path. +If db.h is found but HASHVERSION is not 2 we avoid a warning by not +adding this module to missing variable. + +Upstream-Status: Inappropriate [distribution] + +Signed-off-by: Andrei Gherzan <[email protected]> + +Index: Python-2.7.2/setup.py +=================================================================== +--- Python-2.7.2.orig/setup.py 2012-04-05 22:27:22.437199989 +0300 ++++ Python-2.7.2/setup.py 2012-04-05 22:26:38.000000000 +0300 +@@ -1141,12 +1141,12 @@ + # the more recent berkeleydb's db.h file first in the include path + # when attempting to compile and it will fail. + f = "/usr/include/db.h" +- ++ if len(inc_dirs) != 0: ++ f = os.path.join(inc_dirs[0], "db.h") + if sys.platform == 'darwin': + if is_macosx_sdk_path(f): + sysroot = macosx_sdk_root() + f = os.path.join(sysroot, f[1:]) +- + if os.path.exists(f) and not db_incs: + data = open(f).read() + m = re.search(r"#s*define\s+HASHVERSION\s+2\s*", data) +@@ -1161,8 +1161,10 @@ + libraries=libraries)) + else: + exts.append(Extension('bsddb185', ['bsddbmodule.c'])) +- else: +- missing.append('bsddb185') ++ # If a newer version is detected don't report an useless ++ # warning ++ #else: ++ # missing.append('bsddb185') + else: + missing.append('bsddb185') +
meta/recipes-devtools/python/python_2.7.2.bb +2 -1
@@ -1,6 +1,6 @@ require python.inc DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib" -PR = "${INC_PR}.16" +PR = "${INC_PR}.17" DISTRO_SRC_URI ?= "file://sitecustomize.py" DISTRO_SRC_URI_linuxstdbase = ""
@@ -23,6 +23,7 @@ SRC_URI += "\ file://fix_for_using_different_libdir.patch \ file://setuptweaks.patch \ file://check-if-target-is-64b-not-host.patch \ + file://search_db_h_in_inc_dirs_and_avoid_warning.patch \ " S = "${WORKDIR}/Python-${PV}"
Signature · 1 line
1.7.9.5
PATCH 17/32 libpng: upgrade to 1.2.49
In reply to Scott GarmanLicense hasn't changed, just updated the md5 checksums due to trivial date changes within the text (and the position of the license text within png.h).
Addresses CVE-2011-3045
Fixes [YOCTO #2352]
---
.../libpng/{libpng_1.2.46.bb => libpng_1.2.49.bb} | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
rename meta/recipes-multimedia/libpng/{libpng_1.2.46.bb => libpng_1.2.49.bb} (60%)meta/recipes-multimedia/libpng/libpng_1.2.49.bb renamed from meta/recipes-multimedia/libpng/libpng_1.2.46.bb +5 -5
@@ -3,15 +3,15 @@ DESCRIPTION = "PNG Library" HOMEPAGE = "http://www.libpng.org/" SECTION = "libs" LICENSE = "Libpng" -LIC_FILES_CHKSUM = "file://LICENSE;md5=21b4b6e3523afa9f03f00b43b991dad0 \ - file://png.h;startline=172;endline=261;md5=996460063a9bf2de35b2d61d2776dabc" +LIC_FILES_CHKSUM = "file://LICENSE;md5=20110633230abd47fe8680afa75f1492 \ + file://png.h;startline=308;endline=422;md5=edd1c552386a8c3773d90e278ae30891" DEPENDS = "zlib" -PR = "r4" +PR = "r0" SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.bz2" -SRC_URI[md5sum] = "e8b43dc78ef95b3949af7f961d76874b" -SRC_URI[sha256sum] = "a5e796e1802b2e221498bda09ff9850bc7ec9068b6788948cc2c42af213914d8" +SRC_URI[md5sum] = "d5106b70b4f8b464a7da66bffe4565fb" +SRC_URI[sha256sum] = "fbf8faa70ebca2ed2ee6df6f2249f4722517b581af5b6c3c71bbdaf925d5954e" inherit autotools binconfig pkgconfig
Signature · 1 line
1.7.9.5
PATCH 18/32 openssl: upgrade to 1.0.0i
In reply to Scott GarmanAddresses CVE-2012-2110
Fixes bug [YOCTO #2368]
---
.../configure-targets.patch | 0
.../debian/c_rehash-compat.patch | 0
.../debian/ca.patch | 0
.../debian/debian-targets.patch | 0
.../debian/make-targets.patch | 0
.../debian/man-dir.patch | 0
.../debian/man-section.patch | 0
.../debian/no-rpath.patch | 0
.../debian/no-symbolic.patch | 0
.../debian/pic.patch | 0
.../debian/version-script.patch | 0
.../engines-install-in-libdir-ssl.patch | 0
.../oe-ldflags.patch | 0
.../openssl-fix-link.patch | 0
.../openssl_fix_for_x32.patch | 0
.../shared-libs.patch | 0
meta/recipes-connectivity/openssl/openssl.inc | 3 +--
.../{openssl_1.0.0h.bb => openssl_1.0.0i.bb} | 4 ++--
18 files changed, 3 insertions(+), 4 deletions(-)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/configure-targets.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/c_rehash-compat.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/ca.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/debian-targets.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/make-targets.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/man-dir.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/man-section.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/no-rpath.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/no-symbolic.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/pic.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/debian/version-script.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/engines-install-in-libdir-ssl.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/oe-ldflags.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/openssl-fix-link.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/openssl_fix_for_x32.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl-1.0.0h => openssl-1.0.0i}/shared-libs.patch (100%)
rename meta/recipes-connectivity/openssl/{openssl_1.0.0h.bb => openssl_1.0.0i.bb} (90%)meta/recipes-connectivity/openssl/openssl-1.0.0i/configure-targets.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/configure-targets.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/c_rehash-compat.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/c_rehash-compat.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/ca.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/ca.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/debian-targets.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/debian-targets.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/make-targets.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/make-targets.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/man-dir.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/man-dir.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/man-section.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/man-section.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/no-rpath.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/no-rpath.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/no-symbolic.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/no-symbolic.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/pic.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/pic.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/debian/version-script.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/debian/version-script.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/engines-install-in-libdir-ssl.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/engines-install-in-libdir-ssl.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/oe-ldflags.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/oe-ldflags.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/openssl-fix-link.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/openssl-fix-link.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/openssl_fix_for_x32.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/openssl_fix_for_x32.patch +0 -0
meta/recipes-connectivity/openssl/openssl-1.0.0i/shared-libs.patch renamed from meta/recipes-connectivity/openssl/openssl-1.0.0h/shared-libs.patch +0 -0
meta/recipes-connectivity/openssl/openssl.inc +1 -2
@@ -4,8 +4,7 @@ HOMEPAGE = "http://www.openssl.org/" BUGTRACKER = "http://www.openssl.org/news/vulnerabilities.html" SECTION = "libs/network" -# Big Jump for OpenSSL 1.0 support with meta-oe -INC_PR = "r15" +INC_PR = "r0" # "openssl | SSLeay" dual license LICENSE = "openssl"
meta/recipes-connectivity/openssl/openssl_1.0.0i.bb renamed from meta/recipes-connectivity/openssl/openssl_1.0.0h.bb +2 -2
@@ -31,8 +31,8 @@ SRC_URI += "file://configure-targets.patch \ file://openssl_fix_for_x32.patch \ " -SRC_URI[md5sum] = "a5bc483c570f2ac3758ce5c19b667fab" -SRC_URI[sha256sum] = "7e3dfc21aa57ed33ea673170053d1921322803b8a6a624a4f0d2e4c308bd418d" +SRC_URI[md5sum] = "b4df9c11af454fd68178c85a1d5f328f" +SRC_URI[sha256sum] = "548262d15777c504be1ab9bb8fabef1e14a3de54837a6593c8f403dd843d5e57" PACKAGES =+ " \ ${PN}-engines \
Signature · 1 line
1.7.9.5
PATCH 19/32 runqemu-ifup: enable ip masquerading for QEMU NAT addresses
In reply to Scott GarmanFix the IP masquerading settings so that networked QEMU sessions can reach external networks.
This is a partial fix for [YOCTO #2329].
--- scripts/runqemu-ifup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
scripts/runqemu-ifup +2 -1
@@ -100,7 +100,8 @@ dest=$[ (`echo $TAP | sed 's/tap//'` * 2) + 2 ] $ROUTE add -host 192.168.7.$dest $TAP # setup NAT for tap0 interface to have internet access in QEMU -$IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.0/24 +$IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$n/32 +$IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$dest/32 echo 1 > /proc/sys/net/ipv4/ip_forward $IPTABLES -P FORWARD ACCEPT
Signature · 1 line
1.7.9.5
PATCH 20/32 uclibc SDK not including libpthread_nonshared.a
In reply to Scott GarmanFrom: Mark Norman <[email protected]>
Modified the uclibc PACKAGES list order to ensure the uclibc-dev package is processed before uclibc-staticdev to allow *_nonshared.a libraries to be packaged in the uclibc-dev package. The *_nonshared.a libraries are required by the SDK.
--- meta/recipes-core/uclibc/uclibc.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta/recipes-core/uclibc/uclibc.inc +4 -4
@@ -13,7 +13,7 @@ SECTION = "libs" LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://COPYING.LIB.boilerplate;md5=aaddeadcddeb918297e0e4afc52ce46f \ file://${S}/test/regex/testregex.c;startline=1;endline=31;md5=234efb227d0a40677f895e4a1e26e960" -INC_PR = "r6" +INC_PR = "r7" require uclibc-config.inc STAGINGCC = "gcc-cross-intermediate"
@@ -48,9 +48,9 @@ RDEPENDS_${PN}-dev = "linux-libc-headers-dev" INHIBIT_DEFAULT_DEPS = "1" -PACKAGES =+ "ldd uclibc-utils-dbg uclibc-utils uclibc-gconv uclibc-thread-db uclibc-argp uclibc-backtrace" -PACKAGES =+ "uclibc-libcrypt uclibc-libintl uclibc-libnsl uclibc-libresolv uclibc-libm" -PACKAGES =+ "uclibc-libdl uclibc-libutil uclibc-libpthread uclibc-librt" +# Ensure the uclibc-dev package is processed before uclibc-staticdev to allow +# *_nonshared.a libraries to be packaged in the uclibc-dev package. +PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-staticdev ${PN} ${PN}-doc ldd uclibc-utils-dbg uclibc-utils uclibc-gconv uclibc-thread-db uclibc-argp uclibc-backtrace uclibc-libcrypt uclibc-libintl uclibc-libnsl uclibc-libresolv uclibc-libm uclibc-libdl uclibc-libutil uclibc-libpthread uclibc-librt" FILES_uclibc-libcrypt = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so" FILES_uclibc-libintl = "${base_libdir}/libintl*.so.* ${base_libdir}/libintl-*.so"
Signature · 1 line
1.7.9.5
PATCH 21/32 boost: Ensure we use our user-config.jam file
In reply to Scott GarmanFrom: Saul Wold <[email protected]>
This change ensures we use the user-config.jam Configuration that we created and will not use anything from the user's home directory.
[YOCTO #2302]
--- meta/recipes-support/boost/boost.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-support/boost/boost.inc +2 -1
@@ -16,7 +16,7 @@ BOOST_VER = "${@"_".join(d.getVar("PV",1).split("."))}" BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" BOOST_P = "boost_${BOOST_VER}" -INC_PR = "r2" +INC_PR = "r3" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BOOST_P}.tar.bz2"
@@ -127,6 +127,7 @@ BJAM_TOOLS = "-sTOOLS=gcc \ " BJAM_OPTS = '${BJAM_TOOLS} \ + -sBOOST_BUILD_USER_CONFIG=${S}/tools/build/v2/user-config.jam \ --builddir=${S}/${TARGET_SYS} \ --disable-icu \ ${BJAM_EXTRA}'
Signature · 1 line
1.7.9.5
PATCH 22/32 quilt: fix perl path in target perl scripts
In reply to Scott GarmanFrom: Nitin A Kamble <[email protected]>
While building on distros like fedora17, which has /bin/perl, the target perl scripts get perl path also as /bin/perl. And that is not correction path of perl on the target.
This commit avoids this error.
| error: Failed dependencies:
| /bin/perl is needed by quilt-0.51-r2.i586
NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed
ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code '1'
--- meta/recipes-devtools/quilt/quilt_0.51.bb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-)
meta/recipes-devtools/quilt/quilt_0.51.bb +14 -1
@@ -4,4 +4,17 @@ RDEPENDS_${PN} += "patch diffstat bzip2 util-linux" SRC_URI += "file://aclocal.patch \ file://gnu_patch_test_fix_target.patch \ " -PR = "r3" +PR = "r4" + +PERLPATH = "${bindir}/env perl" +PERLPATH_virtclass-nativesdk = "/usr/bin/env perl" + +# fix build-distro specific perl path in the target perl scripts +do_install_append() { + for perlscript in ${D}${datadir}/quilt/scripts/remove-trailing-ws ${D}${datadir}/quilt/scripts/dependency-graph ${D}${datadir}/quilt/scripts/edmail ${D}${bindir}/guards + do + if [ -f $perlscript ]; then + sed -i -e '1s,#!.*perl,#! ${PERLPATH},' $perlscript + fi + done +}
Signature · 1 line
1.7.9.5
PATCH 23/32 builder: Add Please Wait Dialog Box
In reply to Scott GarmanFrom: Saul Wold <[email protected]>
Add dialog box while bitbake starts hob to inform user to please wait for the hob screen to become visible.
--- meta/recipes-graphics/builder/builder_0.1.bb | 7 +++-- .../builder/files/builder_hob_start.sh | 2 ++ .../builder/files/please_wait_dialog.py | 28 ++++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-graphics/builder/files/please_wait_dialog.py
meta/recipes-graphics/builder/builder_0.1.bb +5 -2
@@ -1,11 +1,13 @@ SUMMARY = "New user to do specific job" DESCRIPTION = "This recipe create a new user named ${PN}, who is used for specific jobs like building. The task can be auto started via mini X" SECTION = "x11" -PR = "r2" +PR = "r3" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e" -SRC_URI = "file://builder_hob_start.sh" +SRC_URI = "file://builder_hob_start.sh \ + file://please_wait_dialog.py \ + " S = "${WORKDIR}"
@@ -23,5 +25,6 @@ do_install () { install -p -m 755 builder_hob_start.sh ${D}/etc/mini_x/session.d/ chown ${PN}.${PN} ${D}/etc/mini_x/session.d/builder_hob_start.sh + install -p -m 755 please_wait_dialog.py ${D}/etc/mini_x }
meta/recipes-graphics/builder/files/builder_hob_start.sh +2 -0
@@ -18,3 +18,5 @@ sed -i 's/^#PARALLEL_MAKE =/PARALLEL_MAKE =/g' conf/local.conf hob & matchbox-terminal& + +/etc/mini_x/please_wait_dialog.py &
meta/recipes-graphics/builder/files/please_wait_dialog.py new file +28 -0
@@ -0,0 +1,28 @@ +#!/usr/bin/env python +import glib +import gtk + +def destroy_window_cb(widget, event): + gtk.main_quit() + +def all_done_cb(): + gtk.main_quit() + +def dialogue_ui(): + window = gtk.Window() + window.set_title("Please wait...") + window.connect("delete-event", destroy_window_cb) + window.show() + window.set_border_width(12) + + msg = "Please wait while BitBake initializes Hob" + label = gtk.Label(msg) + label.show() + window.add(label) + + glib.timeout_add_seconds(10, all_done_cb) + +if __name__ == "__main__": + dialogue_ui() + gtk.main() +
Signature · 1 line
1.7.9.5
PATCH 24/32 buildhistory: fix multiple commit of images and packages at the same time
In reply to Scott GarmanFrom: Paul Eggleton <[email protected]>
The echo line here was merging multiple lines into one, and the result was that if both image and package changes had to be comitted then only the image changes were being committed and the package changes could potentially be merged into the next package change. Quoting the variable reference fixes this.
Fixes [YOCTO #2411]
--- meta/classes/buildhistory.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/buildhistory.bbclass +1 -1
@@ -402,7 +402,7 @@ buildhistory_commit() { git add ${BUILDHISTORY_DIR}/* HOSTNAME=`hostname 2>/dev/null || echo unknown` # porcelain output looks like "?? packages/foo/bar" - for entry in `echo $repostatus | awk '{print $2}' | awk -F/ '{print $1}' | sort | uniq` ; do + for entry in `echo "$repostatus" | awk '{print $2}' | awk -F/ '{print $1}' | sort | uniq` ; do git commit ${BUILDHISTORY_DIR}/$entry -m "$entry: Build ${BUILDNAME} of ${DISTRO} ${DISTRO_VERSION} for machine ${MACHINE} on $HOSTNAME" --author "${BUILDHISTORY_COMMIT_AUTHOR}" > /dev/null done if [ "${BUILDHISTORY_PUSH_REPO}" != "" ] ; then
Signature · 1 line
1.7.9.5
PATCH 25/32 initrdscripts: Update install.sh to work with mmc devices
In reply to Scott GarmanFrom: Darren Hart <[email protected]>
Fixes [YOCTO #2385]
The installer only searches for hd[ab] sd[ab]. Some newer BSPs have mmcblk devices that should be used as the install target. These devices also have a partition prefix (mmcblk0p1 instead of mmcblk01). As they are detected asynchronously, it is necessary to add the rootwait kernel parameter to avoid a race condition trying to mount the root device.
As BSPs like the FRI2 and the sys940x have mmc devices and will have a 1.2 release, we should push this to 1.2.1. The changes are perfectly contained and easily verified.
Test for an mmcblk device and add the p partition prefix if necessary. Add the rootwait kernel parameter when an mmcblk device is detected. Replace the series of explicit umount commands with a single umount using a wildcard. This will find all the partitions and will not try to unmount non-existant devices. Avoid copy and paste errors by replacing /dev/${device}${pX} references with the previously assigned rootfs, bootfs, and swap variables.
These changes have been tested on the FRI2 Sato image which installed to /dev/mmcblk0 as well as the N450 Sato image which installed to /dev/sda. Both were successful.
--- .../initrdscripts/files/init-install.sh | 45 +++++++++++--------- .../initrdscripts/initramfs-live-install_1.0.bb | 2 +- 2 files changed, 25 insertions(+), 22 deletions(-)
meta/recipes-core/initrdscripts/files/init-install.sh +24 -21
@@ -16,7 +16,7 @@ swap_ratio=5 found="no" echo "Searching for a hard drive..." -for device in 'hda' 'hdb' 'sda' 'sdb' +for device in 'hda' 'hdb' 'sda' 'sdb' 'mmcblk0' 'mmcblk1' do if [ -e /sys/block/${device}/removable ]; then if [ "$(cat /sys/block/${device}/removable)" = "0" ]; then
@@ -62,13 +62,7 @@ rm -f /etc/udev/scripts/mount* # # Unmount anything the automounter had mounted # -umount /dev/${device} 2> /dev/null || /bin/true -umount /dev/${device}1 2> /dev/null || /bin/true -umount /dev/${device}2 2> /dev/null || /bin/true -umount /dev/${device}3 2> /dev/null || /bin/true -umount /dev/${device}4 2> /dev/null || /bin/true -umount /dev/${device}5 2> /dev/null || /bin/true -umount /dev/${device}6 2> /dev/null || /bin/true +umount /dev/${device}* 2> /dev/null || /bin/true if [ ! -b /dev/sda ] ; then mknod /dev/sda b 8 0
@@ -94,14 +88,23 @@ rootfs_start=$((boot_size + 1)) rootfs_end=$((rootfs_start+rootfs_size)) swap_start=$((rootfs_end+1)) -bootfs=/dev/${device}1 -rootfs=/dev/${device}2 -swap=/dev/${device}3 +# MMC devices are special in a couple of ways +# 1) they use a partition prefix character 'p' +# 2) they are detected asynchronously (need rootwait) +rootwait="" +part_prefix="" +if [ ! "${device#mmcblk}" = "${device}" ]; then + part_prefix="p" + rootwait="rootwait" +fi +bootfs=/dev/${device}${part_prefix}1 +rootfs=/dev/${device}${part_prefix}2 +swap=/dev/${device}${part_prefix}3 echo "*****************" -echo "Boot partition size: $boot_size MB (/dev/${device}1)" -echo "Rootfs partition size: $rootfs_size MB (/dev/${device}2)" -echo "Swap partition size: $swap_size MB (/dev/${device}3)" +echo "Boot partition size: $boot_size MB ($bootfs)" +echo "Rootfs partition size: $rootfs_size MB ($rootfs)" +echo "Swap partition size: $swap_size MB ($swap)" echo "*****************" echo "Deleting partition table on /dev/${device} ..." dd if=/dev/zero of=/dev/${device} bs=512 count=2
@@ -109,24 +112,24 @@ dd if=/dev/zero of=/dev/${device} bs=512 count=2 echo "Creating new partition table on /dev/${device} ..." parted /dev/${device} mklabel msdos -echo "Creating boot partition on /dev/${device}1" +echo "Creating boot partition on $bootfs" parted /dev/${device} mkpart primary 1 $boot_size -echo "Creating rootfs partition on /dev/${device}2" +echo "Creating rootfs partition on $rootfs" parted /dev/${device} mkpart primary $rootfs_start $rootfs_end -echo "Creating swap partition on /dev/${device}3" +echo "Creating swap partition on $swap" parted /dev/${device} mkpart primary $swap_start $disk_size parted /dev/${device} print -echo "Formatting /dev/${device}1 to ext2..." +echo "Formatting $bootfs to ext2..." mkfs.ext3 $bootfs -echo "Formatting /dev/${device}2 to ext3..." +echo "Formatting $rootfs to ext3..." mkfs.ext3 $rootfs -echo "Formatting swap partition...(/dev/${device}3)" +echo "Formatting swap partition...($swap)" mkswap $swap mkdir /ssd
@@ -150,7 +153,7 @@ fi if [ -f /ssd/etc/grub.d/40_custom ] ; then echo "Preparing custom grub2 menu..." - sed -i "s@__ROOTFS__@$rootfs@g" /ssd/etc/grub.d/40_custom + sed -i "s@__ROOTFS__@$rootfs $rootwait@g" /ssd/etc/grub.d/40_custom sed -i "s/__VIDEO_MODE__/$3/g" /ssd/etc/grub.d/40_custom sed -i "s/__VGA_MODE__/$4/g" /ssd/etc/grub.d/40_custom mount $bootfs /bootmnt
meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb +1 -1
@@ -3,7 +3,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://init-install.sh" -PR = "r6" +PR = "r7" RDEPENDS_${PN} = "grub parted e2fsprogs-mke2fs"
Signature · 1 line
1.7.9.5
PATCH 26/32 qt4: move functions from python to shell style
In reply to Scott GarmanFrom: Dongxiao Xu <[email protected]>
In qt4's do_configure operation, it will refer to some variables that are derived from 'd', however these variable values may be not correct in multilib case since the extraction of these variables happens before the multilib handler.
The fix is to move these python style functions back to shell style.
This fixes [YOCTO #2355]
--- meta/recipes-qt/qt4/qt4-embedded.inc | 2 +- meta/recipes-qt/qt4/qt4-tools-nativesdk.inc | 5 ++-- meta/recipes-qt/qt4/qt4-x11-free.inc | 2 +- meta/recipes-qt/qt4/qt4.inc | 5 ++-- meta/recipes-qt/qt4/qt4_arch.inc | 36 ++++++++++++--------------- 5 files changed, 24 insertions(+), 26 deletions(-)
meta/recipes-qt/qt4/qt4-embedded.inc +1 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is SECTION = "libs" HOMEPAGE = "http://qt.nokia.com" DEPENDS += "directfb tslib" -INC_PR = "r43" +INC_PR = "r46" QT_BASE_LIB ?= "libqt-embedded"
meta/recipes-qt/qt4/qt4-tools-nativesdk.inc +3 -2
@@ -4,7 +4,7 @@ SECTION = "libs" HOMEPAGE = "http://qt.nokia.com" LICENSE = "LGPLv2.1 | GPLv3" -INC_PR = "r10" +INC_PR = "r11" FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:"
@@ -40,7 +40,7 @@ EXTRA_OECONF = "-prefix ${prefix} \ -verbose -release -fast -static \ -platform ${TARGET_OS}-oe-g++ \ -xplatform ${TARGET_OS}-oe-g++ \ - -arch ${@qt_arch(d)} \ + -arch ${QT_ARCH} \ -embedded -no-freetype -no-glib -no-iconv \ -qt3support \ -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/dbus-1.0 \
@@ -71,6 +71,7 @@ do_configure() { if [ ! -e bin/qmake ]; then ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake fi + set_arch (echo o; echo yes) | CC="${CC}" CXX="${CXX}" ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" }
meta/recipes-qt/qt4/qt4-x11-free.inc +1 -1
@@ -5,7 +5,7 @@ HOMEPAGE = "http://qt.nokia.com" SECTION = "x11/libs" DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" -INC_PR = "r41" +INC_PR = "r44" QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " QT_GLFLAGS_qemux86 = "-opengl"
meta/recipes-qt/qt4/qt4.inc +3 -2
@@ -4,8 +4,6 @@ DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gst DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}" require qt4_arch.inc -QT_ARCH := "${@qt_arch(d)}" -QT_ENDIAN = "${@qt_endian(d)}" QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm" QT_DISTRO_FLAGS_linuxstdbase = "-sm"
@@ -200,6 +198,9 @@ do_configure() { unset QMAKESPEC unset QTDIR + set_arch + set_endian + if [ ! -e bin/qmake ]; then ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake fi
meta/recipes-qt/qt4/qt4_arch.inc +16 -20
@@ -2,24 +2,20 @@ inherit siteinfo ARM_INSTRUCTION_SET = "arm" -def qt_arch(d): - import bb, re - arch = d.getVar('TARGET_ARCH', True) - if re.match("^i.86$", arch): - arch = "i386" - elif re.match("^arm.*", arch): - arch = "arm" - elif arch == "x86_64": - arch = "x86" - elif arch == "mipsel": - arch = "mips" - return arch +set_arch() { + case ${TARGET_ARCH} in + arm*) QT_ARCH=arm ;; + i*86*) QT_ARCH=i386 ;; + mips*) QT_ARCH=mips ;; + powerpc*) QT_ARCH=powerpc ;; + x86_64*) QT_ARCH=x86_64 ;; + esac +} -def qt_endian(d): - import bb - if d.getVar('SITEINFO_ENDIANNESS', True) == "le": - return "-little-endian" - elif d.getVar('SITEINFO_ENDIANNESS', True) == "be": - return "-big-endian" - else: - assert False +set_endian() { + if [ ${SITEINFO_ENDIANNESS} = "le" ] ; then + QT_ENDIAN="-little-endian" + elif [ ${SITEINFO_ENDIANNESS} = "be" ] ; then + QT_ENDIAN="-big-endian" + fi +}
Signature · 1 line
1.7.9.5
PATCH 27/32 sed: Explicitly disable acl for deterministic builds
In reply to Scott GarmanFrom: Richard Purdie <[email protected]>
--- meta/recipes-extended/sed/sed_4.2.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-extended/sed/sed_4.2.1.bb +3 -1
@@ -4,7 +4,7 @@ LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ file://sed/sed.h;beginline=1;endline=17;md5=767ab3a06d7584f6fd0469abaec4412f" SECTION = "console/utils" -PR = "r2" +PR = "r3" SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz"
@@ -13,6 +13,8 @@ SRC_URI[sha256sum] = "8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7 inherit autotools update-alternatives gettext +EXTRA_OECONF = "--disable-acl" + do_install () { autotools_do_install install -d ${D}${base_bindir}
Signature · 1 line
1.7.9.5
PATCH 28/32 pango: Fix modules load failure in multilib environment
In reply to Scott GarmanFrom: Zhai Edwin <[email protected]>
Multi-libs of Pango need different modules, thus different config files and utils. This patch separate config file and utils with different MLPREFIX to avoid conflict.
[YOCTO #2356] got fixed.
--- .../pango/pango-1.28.4/multilib-fix-clean.patch | 40 ++++++++++++++++++++ meta/recipes-graphics/pango/pango.inc | 12 +++++- meta/recipes-graphics/pango/pango_1.28.4.bb | 7 ++-- 3 files changed, 54 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-graphics/pango/pango-1.28.4/multilib-fix-clean.patch
meta/recipes-graphics/pango/pango-1.28.4/multilib-fix-clean.patch new file +40 -0
@@ -0,0 +1,40 @@ +Index: pango-1.28.4/configure.in +=================================================================== +--- pango-1.28.4.orig/configure.in 2011-04-05 04:29:16.000000000 +0800 ++++ pango-1.28.4/configure.in 2012-05-08 21:32:17.000000000 +0800 +@@ -205,6 +205,11 @@ + + AC_SUBST(PANGO_DEBUG_FLAGS) + ++AC_ARG_WITH(mlprefix, ++ AC_HELP_STRING([--with-mlprefix=<ARG>], [multilib prefix]), ++ mlprefix_str=$withval, mlprefix_str="") ++AC_DEFINE_UNQUOTED([MLPREFIX], ["$mlprefix_str"], [multilib prefix.]) ++ + AC_ARG_ENABLE(rebuilds, + [AC_HELP_STRING([--disable-rebuilds], + [disable all source autogeneration rules])],, +Index: pango-1.28.4/pango/modules.c +=================================================================== +--- pango-1.28.4.orig/pango/modules.c 2010-09-22 03:37:01.000000000 +0800 ++++ pango-1.28.4/pango/modules.c 2012-05-08 21:21:02.000000000 +0800 +@@ -529,7 +529,8 @@ + + if (!file_str) + file_str = g_build_filename (pango_get_sysconf_subdirectory (), +- "pango.modules", ++/* For multilib case, keep multiple config file for different libs */ ++ MLPREFIX "pango.modules", + NULL); + + files = pango_split_file_list (file_str); +@@ -640,7 +641,8 @@ + if (!no_module_warning) + { + gchar *filename = g_build_filename (pango_get_sysconf_subdirectory (), +- "pango.modules", ++/* For multilib case, keep multiple config file for different libs */ ++ MLPREFIX "pango.modules", + NULL); + g_critical ("No modules found:\n" + "No builtin or dynamically loaded modules were found.\n"
meta/recipes-graphics/pango/pango.inc +10 -2
@@ -34,7 +34,8 @@ FULL_OPTIMIZATION_arm = "-O2" EXTRA_OECONF = "--disable-glibtest \ --enable-explicit-deps=no \ - --disable-debug" + --disable-debug \ + --with-mlprefix=${MLPREFIX}" LEAD_SONAME = "libpango-1.0*" LIBV = "1.6.0"
@@ -49,12 +50,19 @@ if ! [ -e $D${sysconfdir}/pango ] ; then fi } +do_install_append () { + if [ "${MLPREFIX}" != "" ]; then + mv ${D}/${bindir}/pango-querymodules ${D}/${bindir}/${MLPREFIX}pango-querymodules + fi +} + + python populate_packages_prepend () { prologue = d.getVar("postinst_prologue", True) modules_root = d.expand('${libdir}/pango/${LIBV}/modules') - do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules > /etc/pango/pango.modules') + do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + '${bindir}/${MLPREFIX}pango-querymodules > /etc/pango/${MLPREFIX}pango.modules') } FILES_${PN} = "${sysconfdir}/pango/* ${bindir}/* ${libdir}/libpango*${SOLIBS}"
meta/recipes-graphics/pango/pango_1.28.4.bb +4 -3
@@ -2,10 +2,11 @@ require pango.inc LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" -PR = "r7" +PR = "r8" -SRC_URI += "file://no-tests.patch" -SRC_URI += "file://noconst.patch" +SRC_URI += "file://no-tests.patch \ + file://noconst.patch \ + file://multilib-fix-clean.patch" SRC_URI[archive.md5sum] = "3f3989700f04e9117d30544a9078b3a0" SRC_URI[archive.sha256sum] = "7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f"
Signature · 1 line
1.7.9.5
PATCH 29/32 openssl: Fix build for mips64(el)
In reply to Scott GarmanFrom: Khem Raj <[email protected]>
--- .../openssl/openssl-1.0.0i/configure-targets.patch | 16 ++++++++-------- .../recipes-connectivity/openssl/openssl_1.0.0i.bb | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-)
meta/recipes-connectivity/openssl/openssl-1.0.0i/configure-targets.patch +8 -8
@@ -3,11 +3,11 @@ Upstream-Status: Inappropriate [embedded specific] The number of colons are important :) -Index: openssl-1.0.0a/Configure +Index: openssl-1.0.0h/Configure =================================================================== ---- openssl-1.0.0a.orig/Configure -+++ openssl-1.0.0a/Configure -@@ -380,6 +380,22 @@ my %table=( +--- openssl-1.0.0h.orig/Configure 2012-04-23 09:16:09.521511921 -0700 ++++ openssl-1.0.0h/Configure 2012-04-23 09:17:41.829516389 -0700 +@@ -380,6 +380,22 @@ "linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", "linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}",
@@ -22,10 +22,10 @@ Index: openssl-1.0.0a/Configure +"linux-avr32","$ENV{'CC'}:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).", + +#### Linux on MIPS/MIPS64 -+"linux-mips","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -+"linux-mips64","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -mabi=64 -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -+"linux-mips64el","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -mabi=64 -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -+"linux-mipsel","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"linux-mips","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"linux-mips64","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -mabi=64 -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"linux-mips64el","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -mabi=64 -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"linux-mipsel","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + #### *BSD [do see comment about ${BSDthreads} above!] "BSD-generic32","gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
meta/recipes-connectivity/openssl/openssl_1.0.0i.bb +1 -1
@@ -6,7 +6,7 @@ DEPENDS += "ocf-linux" CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"
Signature · 1 line
1.7.9.5
PATCH 30/32 uclibc.inc: uclibc rtld does support GNU_HASH
In reply to Scott GarmanFrom: Khem Raj <[email protected]>
--- meta/recipes-core/uclibc/uclibc.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/uclibc/uclibc.inc +2 -1
@@ -88,7 +88,8 @@ RPROVIDES_${PN}-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_uclibc += "libsegfault" + +RPROVIDES_uclibc += "libsegfault rtld(GNU_HASH)" SRC_URI = "\ http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2;name=uClibc-${PV} \
Signature · 1 line
1.7.9.5
PATCH 31/32 classes/mirrors.bbclass: Point snapshot.debian.org mirror to working location
In reply to Scott GarmanFrom: Khem Raj <[email protected]>
If you point to snapshot.debian.net/archive/pool then it will fetch you a html page which will end up in corrupt download. The locations have changed for archives and here we point the mirror to right location.
--- meta/classes/mirrors.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/mirrors.bbclass +1 -1
@@ -1,5 +1,5 @@ MIRRORS += "\ -${DEBIAN_MIRROR}/main http://snapshot.debian.net/archive/pool \n \ +${DEBIAN_MIRROR}/main http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool/ \n \ ${DEBIAN_MIRROR} ftp://ftp.de.debian.org/debian/pool \n \ ${DEBIAN_MIRROR} ftp://ftp.au.debian.org/debian/pool \n \ ${DEBIAN_MIRROR} ftp://ftp.cl.debian.org/debian/pool \n \
Signature · 1 line
1.7.9.5
PATCH 32/32 fotowall: Add #include ui_wizard.h to ExportWizard.cpp
In reply to Scott GarmanFrom: Andrei Gherzan <[email protected]>
App/ExportWizard.cpp depends on wizard.h which depends on ui_wizard. The last one should be already generated before compiling ExportWizard.cpp.
[YOCTO #2297]
--- .../ExportWizard-depends-on-ui_wizard.patch | 18 ++++++++++++++++++ meta/recipes-qt/qt-apps/fotowall_0.9.bb | 6 ++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-qt/qt-apps/fotowall/ExportWizard-depends-on-ui_wizard.patch
meta/recipes-qt/qt-apps/fotowall/ExportWizard-depends-on-ui_wizard.patch new file +18 -0
@@ -0,0 +1,18 @@ +App/ExportWizard.cpp depends on wizard.h which depends on ui_wizard. The last one +should be already generated before compiling ExportWizard.cpp. + +Signed-off-by: Andrei Gherzan <[email protected]> +Upstream-Status: Pending + +Index: Fotowall-0.9/App/ExportWizard.cpp +=================================================================== +--- Fotowall-0.9.orig/App/ExportWizard.cpp 2009-11-30 13:21:31.000000000 +0200 ++++ Fotowall-0.9/App/ExportWizard.cpp 2012-05-10 17:12:06.765230830 +0300 +@@ -23,6 +23,7 @@ + #include "imageloaderqt.h" + #include "posterazorcore.h" + #include "wizard.h" ++#include "ui_wizard.h" + + #include <QDesktopServices> + #include <QDesktopWidget>
meta/recipes-qt/qt-apps/fotowall_0.9.bb +4 -2
@@ -7,12 +7,14 @@ LIC_FILES_CHKSUM = "file://GPL_V2;md5=79808397c3355f163c012616125c9e26 \ file://main.cpp;beginline=6;endline=11;md5=b569acc2bf8974a3082b58fc53b9d8dc" SECTION = "x11/apps" -PR = "r2" +PR = "r3" DEPENDS = "qt4-x11-free" RRECOMMENDS_${PN} += "qt4-plugin-imageformat-gif qt4-plugin-imageformat-jpeg qt4-plugin-imageformat-tiff" -SRC_URI = "http://qt-apps.org/CONTENT/content-files/71316-Fotowall-0.9.tar.bz2" +SRC_URI = "http://qt-apps.org/CONTENT/content-files/71316-Fotowall-0.9.tar.bz2 \ + file://ExportWizard-depends-on-ui_wizard.patch \ + " SRC_URI[md5sum] = "142ef697332e0777c6d22c5bc96cc438" SRC_URI[sha256sum] = "e4d0c005d2cb1d7c09438bfc3098eadebc08946e4fbc0655b7fc8b046de3810d"
Signature · 1 line
1.7.9.5
Quoted 7 lines · Scott Garman
Hello,
This is the first pull request for the oe-core denzil branch, based on a set of commits I've been testing from my sgarman/denzil-next branch.
These commits have passed an array of build and runtime tests, including the following nightly build:
I should qualify this by mentioning that the branch that received the testing was my poky-based branch, which does have additional commits.
Quoted 16 lines
http://autobuilder.yoctoproject.org:8010/builders/nightly/builds/462
a non-gplv3 build:
http://autobuilder.yoctoproject.org:8010/builders/nightly-non-gpl3/builds/70
and a tiny build:
http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/47
Please give this pull request a few days to receive feedback and ACKs from the community.
Thanks,
Scott
Signature · 3 lines
Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center
Quoted 25 lines · Scott Garman
Quoted 7 lines · Scott Garman
Hello,
This is the first pull request for the oe-core denzil branch, based on a set of commits I've been testing from my sgarman/denzil-next branch.
These commits have passed an array of build and runtime tests, including the following nightly build:
I should qualify this by mentioning that the branch that received the testing was my poky-based branch, which does have additional commits.
Quoted 13 lines
http://autobuilder.yoctoproject.org:8010/builders/nightly/builds/462
a non-gplv3 build:
http://autobuilder.yoctoproject.org:8010/builders/nightly-non-gpl3/builds/70
and a tiny build:
http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/47
Please give this pull request a few days to receive feedback and ACKs from the community.
Thanks for putting this together Scott, I've merged it into the main denzil branch.
Cheers,
Richard
Op 24 mei 2012, om 23:38 heeft Scott Garman het volgende geschreven:
Quoted 12 lines
Hello,
This is the first pull request for the oe-core denzil branch, based on a set of commits I've been testing from my sgarman/denzil-next branch.
These commits have passed an array of build and runtime tests, including the following nightly build:
http://autobuilder.yoctoproject.org:8010/builders/nightly/builds/462
a non-gplv3 build:
Quoted 8 lines
http://autobuilder.yoctoproject.org:8010/builders/nightly-non-gpl3/builds/70
and a tiny build:
http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/47
Please give this pull request a few days to receive feedback and ACKs from the community.
I've been running most of these for a few weeks now, the more recent changes build ok for me as well:
Quoted 12 lines · Scott Garman
Hello,
This is the first pull request for the oe-core denzil branch, based on a set of commits I've been testing from my sgarman/denzil-next branch.
These commits have passed an array of build and runtime tests, including the following nightly build:
http://autobuilder.yoctoproject.org:8010/builders/nightly/builds/462
a non-gplv3 build:
Quoted 8 lines
http://autobuilder.yoctoproject.org:8010/builders/nightly-non-gpl3/builds/70
and a tiny build:
http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/47
Please give this pull request a few days to receive feedback and ACKs from the community.
So far just one Ack from Koen. In the absence of any Nacks I'll be asking Richard to merge this tomorrow.
Scott
Signature · 3 lines
Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center
Quoted 17 lines · Scott Garman
Quoted 16 lines · Scott Garman
Hello,
This is the first pull request for the oe-core denzil branch, based on a set of commits I've been testing from my sgarman/denzil-next branch.
These commits have passed an array of build and runtime tests, including the following nightly build:
http://autobuilder.yoctoproject.org:8010/builders/nightly/builds/462
a non-gplv3 build:
http://autobuilder.yoctoproject.org:8010/builders/nightly-non-gpl3/builds/70
and a tiny build:
Quoted 7 lines
Quoted 4 lines
http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/47
Please give this pull request a few days to receive feedback and ACKs from the community.
So far just one Ack from Koen. In the absence of any Nacks I'll be asking Richard to merge this tomorrow.
We overlapped. I mentioned in the meeting yesterday I'd take this yesterday/today and just merged it! :)
Cheers,
Richard