Skip to contentSkip to conversation

Scooping up Patches

GIT PULL In review Saul Wold 4 participants 30 messages Nov 29, 2011 – Nov 30, 2011

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

Richard,

This is a set of patches that I have built via the AB and locally.

I included the "multiarch" change, but have not directly tested it, it did not seem to have any direct comments this time.

Please do a final review and pull as appropriate.

(Just realized I included Nitin's distro_tracking with libtool, but I bounced the libtool change itself, pull as you see fit, probably OK since the change will be coming when he fixes the SUMMARY and white space issues).

Sau!

The following changes since commit 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939:

getVar/setVar cleanups (2011-11-26 22:42:00 +0000)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/stage
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage

Dexuan Cui (1):
coreutils: build and install hostname

Julian Pidancet (1):
Introduce multiarch DISTRO_FEATURE

Khem Raj (3):
default-distrovars: Define SDK_VERSION and DISTRO_VERSION toolchain-scripts.bbclass: Make it work when TCLIBC=uclibc
python-native: Fix gcc compiler detecting logic

Koen Kooi (3):
libjson: add 0.9
pulseaudio: update to 1.1, delete 0.9.x
opkg-utils: handle 6 digit UID fields properly

Martin Jansa (2):
mesa: package gl/egl/osmesa to separate packages
mesa-common: install internal GL headers to libgl-dev

Matthew McClintock (2):
rpm_5.4.0.bb: Build rpm without xz
eglibc-initial: Fix kernel headers symlink being wrong

Nitin A Kamble (2):
binutils: upgrade from 2.21.1a to 2.22
distro-tracking: update information for binutils & libtool

Otavio Salvador (1):
xserver-xorg: only use --disable-dga in xserver-xorg-lite

Saul Wold (5):
runqemu: look for *-image* to be more flexible for image names
distro_tracking: Update manual check dates (readline, gcrypt) tzdata/tzcode: Update tzdata to 2011n
intltool: remove XML::Parser check
Self Hosted Image: Added Task and Images

Wenzong Fan (1):
distro_tracking: update tracking fields for gettext and eds-tools

Xiaofeng Yan (2):
libx11-trim: update to 1.4.4
distro_tracking_fields: update the status

 meta/classes/toolchain-scripts.bbclass             |    8 +-
 meta/conf/distro/include/default-distrovars.inc    |    3 +-
 meta/conf/distro/include/default-versions.inc      |    1 -
 .../conf/distro/include/distro_tracking_fields.inc |   39 +-
 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 .../coreutils/coreutils-8.14/disable_doc_man.patch |   36 +
 meta/recipes-core/coreutils/coreutils_8.14.bb      |    9 +-
 meta/recipes-core/eglibc/eglibc-common.inc         |    2 +-
 meta/recipes-core/eglibc/eglibc-initial.inc        |    2 +-
 meta/recipes-core/images/self-hosted-image.bb      |   11 +
 meta/recipes-core/tasks/task-self-hosted.bb        |  174 +++++
 ..._2.21.1a.bb => binutils-cross-canadian_2.22.bb} |    2 +-
 meta/recipes-devtools/binutils/binutils-cross.inc  |    3 +-
 ...ils-cross_2.21.1a.bb => binutils-cross_2.22.bb} |    0
 ...osssdk_2.21.1a.bb => binutils-crosssdk_2.22.bb} |    2 +-
 meta/recipes-devtools/binutils/binutils.inc        |    3 +-
 .../binutils/binutils/110-arm-eabi-conf.patch      |   24 -
 .../binutils/binutils-2.19.1-ld-sysroot.patch      |   10 +-
 .../binutils/binutils/binutils-poison.patch        |   84 ++-
 .../binutils/binutils/binutils-powerpc-e5500.patch |   52 +-
 .../binutils/binutils-uclibc-100-uclibc-conf.patch |   40 +-
 ...binutils-uclibc-300-001_ld_makefile_patch.patch |   16 +-
 ...binutils-uclibc-300-006_better_file_error.patch |    9 +-
 ...ils-uclibc-300-012_check_ldrunpath_length.patch |   12 +-
 .../binutils/binutils-uclibc-gas-needs-libm.patch  |   11 +-
 .../binutils/binutils-x86_64_i386_biarch.patch     |   10 +-
 .../binutils/binutils/clone-shadow.patch           |   18 +-
 .../binutils/binutils/libiberty_path_fix.patch     |    8 +-
 .../binutils/binutils/libtool-2.4-update.patch     |  803 ++++++++++----------
 .../binutils/binutils/libtool-rpath-fix.patch      |   11 +-
 .../{binutils_2.21.1a.bb => binutils_2.22.bb}      |    7 +-
 meta/recipes-devtools/gcc/gcc-common.inc           |   10 +
 meta/recipes-devtools/gcc/gcc-configure-common.inc |    3 +-
 .../intltool-0.40.6/remove-xml-check.patch         |   29 +
 meta/recipes-devtools/intltool/intltool_0.40.6.bb  |   11 +-
 meta/recipes-devtools/libjson/libjson_0.9.bb       |   14 +
 .../opkg-utils/arfile_header_split.patch           |   27 +
 meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb |    3 +-
 .../python/python-native/unixccompiler.patch       |   22 +-
 .../recipes-devtools/python/python-native_2.7.2.bb |    2 +-
 meta/recipes-devtools/rpm/rpm_5.4.0.bb             |    3 +-
 .../recipes-extended/tzcode/tzcode-native_2011i.bb |   11 +-
 .../tzdata/{tzdata_2011l.bb => tzdata_2011n.bb}    |    6 +-
 meta/recipes-graphics/mesa/mesa-common.inc         |   18 +-
 .../libx11-trim-1.4.4/keysymdef_include.patch      |   23 +
 .../libx11-trim-1.4.4/makekeys_crosscompile.patch  |   45 ++
 .../libx11-trim-1.4.4/x11_disable_makekeys.patch   |   29 +
 .../recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb |   20 +
 .../xorg-xserver/xserver-xorg-1.11.1.inc           |    2 +-
 .../xorg-xserver/xserver-xorg-common.inc           |    1 -
 .../xorg-xserver/xserver-xorg-lite.inc             |    1 +
 .../pulseaudio/pulseaudio-0.9.22/armv4+v5asm.patch |   61 --
 .../pulseaudio-0.9.22/autoconf_version.patch       |   17 -
 .../pulseaudio/pulseaudio-0.9.22/buildfix.patch    |   17 -
 .../pulseaudio-0.9.22/configure_silent_rules.patch |   33 -
 .../pulseaudio-0.9.22/gcc4-compile-fix.patch       |   22 -
 .../pulseaudio/pulseaudio-0.9.22/tls_m4.patch      |   34 -
 .../pulseaudio-0.9.23/autoconf_version.patch       |   17 -
 .../pulseaudio/pulseaudio-0.9.23/buildfix.patch    |   17 -
 .../pulseaudio-0.9.23/configure_silent_rules.patch |   33 -
 .../pulseaudio-0.9.23/fix_bluez_build.patch        |   26 -
 .../pulseaudio-0.9.23/gcc4-compile-fix.patch       |   22 -
 .../pulseaudio/pulseaudio-0.9.23/tls_m4.patch      |   34 -
 .../pulseaudio-0.9.23/volatiles.04_pulse           |    2 -
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |    2 +-
 .../volatiles.04_pulse                             |    0
 .../pulseaudio/pulseaudio_0.9.22.bb                |   24 -
 .../pulseaudio/pulseaudio_0.9.23.bb                |   27 -
 .../pulseaudio/pulseaudio_1.1.bb                   |   19 +
 scripts/runqemu                                    |    4 +-
 70 files changed, 1080 insertions(+), 1023 deletions(-)
 create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/disable_doc_man.patch
 create mode 100644 meta/recipes-core/images/self-hosted-image.bb
 create mode 100644 meta/recipes-core/tasks/task-self-hosted.bb
 rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.21.1a.bb => binutils-cross-canadian_2.22.bb} (86%)
 rename meta/recipes-devtools/binutils/{binutils-cross_2.21.1a.bb => binutils-cross_2.22.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.21.1a.bb => binutils-crosssdk_2.22.bb} (96%)
 delete mode 100644 meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch
 rename meta/recipes-devtools/binutils/{binutils_2.21.1a.bb => binutils_2.22.bb} (84%)
 create mode 100644 meta/recipes-devtools/intltool/intltool-0.40.6/remove-xml-check.patch
 create mode 100644 meta/recipes-devtools/libjson/libjson_0.9.bb
 create mode 100644 meta/recipes-devtools/opkg-utils/opkg-utils/arfile_header_split.patch
 rename meta/recipes-extended/tzdata/{tzdata_2011l.bb => tzdata_2011n.bb} (96%)
 create mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/keysymdef_include.patch
 create mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/makekeys_crosscompile.patch
 create mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/x11_disable_makekeys.patch
 create mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/armv4+v5asm.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/autoconf_version.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/buildfix.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/configure_silent_rules.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/gcc4-compile-fix.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/tls_m4.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/autoconf_version.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/buildfix.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/configure_silent_rules.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/gcc4-compile-fix.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/tls_m4.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/volatiles.04_pulse
 rename meta/recipes-multimedia/pulseaudio/{pulseaudio-0.9.22 => pulseaudio}/volatiles.04_pulse (100%)
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.22.bb
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.23.bb
 create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio_1.1.bb
Signature · 1 line
1.7.6.4
author
#1 lore raw

[CONSOLIDATED PULL 01/23] libjson: add 0.9

From: Koen Kooi <[email protected]>

---
 meta/recipes-devtools/libjson/libjson_0.9.bb |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/libjson/libjson_0.9.bb
meta/recipes-devtools/libjson/libjson_0.9.bb new file +14 -0
new file mode 100644
index 0000000..e4951a8
@@ -0,0 +1,14 @@
+DESCRIPTION = "JSON-C - A JSON implementation in C"
+HOMEPAGE = "http://oss.metaparadigm.com/json-c/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=30a276a476b02c2dcd0849bde417fb17"
+
+SRC_URI = "http://oss.metaparadigm.com/json-c/json-c-${PV}.tar.gz"
+SRC_URI[md5sum] = "3a13d264528dcbaf3931b0cede24abae"
+SRC_URI[sha256sum] = "702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475"
+
+S = "${WORKDIR}/json-c-${PV}"
+
+
+inherit autotools
Signature · 1 line
1.7.6.4
author
#2 lore raw

[CONSOLIDATED PULL 03/23] default-distrovars: Define SDK_VERSION and DISTRO_VERSION

In reply to Saul Wold

From: Khem Raj <[email protected]>

runqemu scripts check for them and when using just oe-core these are not defined anywhere

---
 meta/conf/distro/include/default-distrovars.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta/conf/distro/include/default-distrovars.inc +2 -1
index 79c6e14..6f5f1c0 100644
@@ -46,4 +46,5 @@ NO32LIBS ??= "1"
 
 # Default to emitting logfiles if a build fails.
 BBINCLUDELOGS ??= "yes"
-
+SDK_VERSION ??= "oe-core.0"
+DISTRO_VERSION ??= "oe-core.0"
Signature · 1 line
1.7.6.4
author
#3 lore raw

[CONSOLIDATED PULL 04/23] toolchain-scripts.bbclass: Make it work when TCLIBC=uclibc

In reply to Saul Wold

From: Khem Raj <[email protected]>

This class currently only works with eglibc. Since it adds dependencies explicitly on eglibc when using uclibc this creates problems. So we make sure that it checks for TCLIBC to determine system C library in use

---
 meta/classes/toolchain-scripts.bbclass |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
meta/classes/toolchain-scripts.bbclass +6 -2
index c936a27..5fb6cd3 100644
@@ -104,7 +104,7 @@ toolchain_create_sdk_env_script_for_installer () {
 #we get the cached site config in the runtime
 TOOLCHAIN_CONFIGSITE_NOCACHE := "${@siteinfo_get_files(d, True)}"
 TOOLCHAIN_CONFIGSITE_SYSROOTCACHE := "${STAGING_DATADIR}/${TARGET_SYS}_config_site.d"
-TOOLCHAIN_NEED_CONFIGSITE_CACHE = "eglibc ncurses"
+TOOLCHAIN_NEED_CONFIGSITE_CACHE = "ncurses"
 
 #This function create a site config file
 toolchain_create_sdk_siteconfig () {
@@ -112,7 +112,9 @@ toolchain_create_sdk_siteconfig () {
 
 	rm -f $siteconfig
 	touch $siteconfig
-
+	if [ "${LIBC}" = "eglibc" ]; then
+		TOOLCHAIN_NEED_CONFIGSITE_CACHE = "${TOOLCHAIN_NEED_CONFIGSITE_CACHE} eglibc"
+	fi
 	for sitefile in ${TOOLCHAIN_CONFIGSITE_NOCACHE} ; do
 		cat $sitefile >> $siteconfig
 	done
@@ -140,5 +142,7 @@ python __anonymous () {
     deps = d.getVarFlag('do_configure', 'depends') or ""
     for dep in (d.getVar('TOOLCHAIN_NEED_CONFIGSITE_CACHE', True) or "").split():
         deps += " %s:do_populate_sysroot" % dep
+    if d.getVar('TCLIBC', True) is "uclibc":
+	deps += "uclibc:do_populate_sysroot"
     d.setVarFlag('do_configure', 'depends', deps)
 }
Signature · 1 line
1.7.6.4
author
#4 lore raw

[CONSOLIDATED PULL 06/23] opkg-utils: handle 6 digit UID fields properly

In reply to Saul Wold

From: Koen Kooi <[email protected]>

---
 .../opkg-utils/arfile_header_split.patch           |   27 ++++++++++++++++++++
 meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb |    3 +-
 2 files changed, 29 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/opkg-utils/opkg-utils/arfile_header_split.patch
meta/recipes-devtools/opkg-utils/opkg-utils/arfile_header_split.patch new file +27 -0
new file mode 100644
index 0000000..435e74e
@@ -0,0 +1,27 @@
+From: Scott Anderson <[email protected]>
+Subject: ipkg-utils: Make arfile.py handle six digit UIDs
+    
+    Essentially, the problem is that arfile.py is splitting the ar header with
+    white-space instead of fixed-width fields, so two fields would get treated
+    as a single field.  This makes things better than before as it now honors
+    the fixed field widths.
+    
+Upsteam-status: Pending (there is no upstream after openmoko imploded)
+
+--- ipkg-utils/arfile.py.orig	2010-09-29 13:38:15.000000000 -0700
++++ ipkg-utils/arfile.py	2010-10-01 16:06:00.000000000 -0700
+@@ -74,7 +74,12 @@
+             if l == "\n":
+                 l = self.f.readline()
+                 if not l: break
+             l = l.replace('`', '')
+-            descriptor = l.split()
++            # Field lengths from /usr/include/ar.h:
++            ar_field_lens = [ 16, 12, 6, 6, 8, 10, 2 ]
++            descriptor = []
++            for field_len in ar_field_lens:
++                descriptor.append(l[:field_len].strip())
++                l = l[field_len:]
+ #            print descriptor
+             size = int(descriptor[5])
+             memberName = descriptor[0][:-1]
meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb +2 -1
index e04b74a..9b94aff 100644
@@ -8,12 +8,13 @@ RDEPENDS_${PN} = "python"
 RDEPENDS_${PN}_virtclass-native = ""
 SRCREV = "4747"
 PV = "0.1.8+svnr${SRCPV}"
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http \
            file://index-ignore-filenotfound.patch \
            file://mtime-int.patch \
            file://add-license-field.patch \
+           file://arfile_header_split.patch \
            "
 
 S = "${WORKDIR}/opkg-utils"
Signature · 1 line
1.7.6.4
author
#5 lore raw

[CONSOLIDATED PULL 02/23] pulseaudio: update to 1.1, delete 0.9.x

In reply to Saul Wold

From: Koen Kooi <[email protected]>

---
 meta/conf/distro/include/default-versions.inc      |    1 -
 .../pulseaudio/pulseaudio-0.9.22/armv4+v5asm.patch |   61 --------------------
 .../pulseaudio-0.9.22/autoconf_version.patch       |   17 ------
 .../pulseaudio/pulseaudio-0.9.22/buildfix.patch    |   17 ------
 .../pulseaudio-0.9.22/configure_silent_rules.patch |   33 -----------
 .../pulseaudio-0.9.22/gcc4-compile-fix.patch       |   22 -------
 .../pulseaudio/pulseaudio-0.9.22/tls_m4.patch      |   34 -----------
 .../pulseaudio-0.9.23/autoconf_version.patch       |   17 ------
 .../pulseaudio/pulseaudio-0.9.23/buildfix.patch    |   17 ------
 .../pulseaudio-0.9.23/configure_silent_rules.patch |   33 -----------
 .../pulseaudio-0.9.23/fix_bluez_build.patch        |   26 --------
 .../pulseaudio-0.9.23/gcc4-compile-fix.patch       |   22 -------
 .../pulseaudio/pulseaudio-0.9.23/tls_m4.patch      |   34 -----------
 .../pulseaudio-0.9.23/volatiles.04_pulse           |    2 -
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |    2 +-
 .../volatiles.04_pulse                             |    0
 .../pulseaudio/pulseaudio_0.9.22.bb                |   24 --------
 .../pulseaudio/pulseaudio_0.9.23.bb                |   27 ---------
 .../pulseaudio/pulseaudio_1.1.bb                   |   19 ++++++
 19 files changed, 20 insertions(+), 388 deletions(-)
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/armv4+v5asm.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/autoconf_version.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/buildfix.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/configure_silent_rules.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/gcc4-compile-fix.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/tls_m4.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/autoconf_version.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/buildfix.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/configure_silent_rules.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/gcc4-compile-fix.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/tls_m4.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/volatiles.04_pulse
 rename meta/recipes-multimedia/pulseaudio/{pulseaudio-0.9.22 => pulseaudio}/volatiles.04_pulse (100%)
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.22.bb
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.23.bb
 create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio_1.1.bb
meta/conf/distro/include/default-versions.inc +0 -1
index 90ff005..a86bc0c 100644
@@ -1,7 +1,6 @@
 #
 # Default preferred versions
 #
-PREFERRED_VERSION_pulseaudio ?= "0.9.23"
 
 # Force the python versions in one place
 PYTHON_BASEVERSION ?= "2.7"
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/armv4+v5asm.patch deleted +0 -61

61 lines not on this page · raw message

meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/autoconf_version.patch deleted +0 -17
deleted file mode 100644
index 86e3972..0000000
@@ -1,17 +0,0 @@
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Inappropriate [configuration]
-
-Index: pulseaudio-0.9.15/configure.ac
-===================================================================
---- pulseaudio-0.9.15.orig/configure.ac	2009-04-14 00:09:53.000000000 +0100
-+++ pulseaudio-0.9.15/configure.ac	2009-05-22 11:32:50.000000000 +0100
-@@ -20,7 +20,7 @@
- # along with PulseAudio; if not, write to the Free Software Foundation,
- # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
- 
--AC_PREREQ(2.63)
-+AC_PREREQ(2.61)
- 
- m4_define(pa_major, [0])
- m4_define(pa_minor, [9])
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/buildfix.patch deleted +0 -17
deleted file mode 100644
index 99ceff8..0000000
@@ -1,17 +0,0 @@
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Pending
-
-Index: pulseaudio-0.9.11/src/pulsecore/atomic.h
-===================================================================
---- pulseaudio-0.9.11.orig/src/pulsecore/atomic.h
-+++ pulseaudio-0.9.11/src/pulsecore/atomic.h
-@@ -40,6 +40,8 @@
- #error "Please include config.h before including this file!"
- #endif
- 
-+#include "macro.h"
-+
- #ifdef HAVE_ATOMIC_BUILTINS
- 
- /* __sync based implementation */
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/configure_silent_rules.patch deleted +0 -33
deleted file mode 100644
index d4a247a..0000000
@@ -1,33 +0,0 @@
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Inappropriate [configuration]
-
-Index: pulseaudio-0.9.19/configure.ac
-===================================================================
---- pulseaudio-0.9.19.orig/configure.ac	2009-10-31 11:40:00.000000000 +0000
-+++ pulseaudio-0.9.19/configure.ac	2009-10-31 11:50:35.000000000 +0000
-@@ -27,12 +27,13 @@
- AC_CONFIG_SRCDIR([src/daemon/main.c])
- AC_CONFIG_MACRO_DIR([m4])
- AC_CONFIG_HEADERS([config.h])
--AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax])
-+AM_INIT_AUTOMAKE([foreign 1.10 -Wall -Wno-portability tar-pax])
- 
- m4_define(pa_major, `echo $VERSION | cut -d. -f1 | cut -d- -f1`)
- m4_define(pa_minor, `echo $VERSION | cut -d. -f2 | cut -d- -f1`)
- m4_define(pa_micro, `echo $VERSION | cut -d. -f3 | cut -d- -f1`)
- 
-+
- AC_SUBST(PA_MAJOR, pa_major)
- AC_SUBST(PA_MINOR, pa_minor)
- AC_SUBST(PA_MICRO, pa_micro)
-@@ -80,7 +81,8 @@
-       ;;
- esac
- 
--AM_SILENT_RULES([yes])
-+# only use if available
-+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
- 
- #### Checks for programs. ####
- 
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/gcc4-compile-fix.patch deleted +0 -22
deleted file mode 100644
index f8b07ea..0000000
@@ -1,22 +0,0 @@
-| fix for more strict syntax compliance in gcc4.x
-| pulsecore/core-util.c: In function 'pa_raise_priority':
-| pulsecore/core-util.c:547: error: label at end of compound statement
-| Signed off: [email protected]
-|
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Pending
-
-Index: pulseaudio-0.9.6/src/pulsecore/core-util.c
-===================================================================
---- pulseaudio-0.9.6.orig/src/pulsecore/core-util.c
-+++ pulseaudio-0.9.6/src/pulsecore/core-util.c
-@@ -535,7 +535,7 @@ void pa_raise_priority(void) {
-         pa_log_info("Successfully gained high priority class.");
- #endif
- 
--fail:
-+fail:;
- 
- #if defined(HAVE_SYS_CAPABILITY_H)
-     if (caps) {
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/tls_m4.patch deleted +0 -34
deleted file mode 100644
index bae0a25..0000000
@@ -1,34 +0,0 @@
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Inappropriate [configuration]
-
-Index: pulseaudio-0.9.15/m4/tls.m4
-===================================================================
---- pulseaudio-0.9.15.orig/m4/tls.m4	2008-08-19 23:25:02.000000000 +0200
-+++ pulseaudio-0.9.15/m4/tls.m4	2009-07-10 09:55:25.266365511 +0200
-@@ -1,12 +1,19 @@
- AC_DEFUN([CC_CHECK_TLS], [
-   AC_CACHE_CHECK([whether $CC knows __thread for Thread-Local Storage],
-     cc_cv_tls___thread,
--    [AC_COMPILE_IFELSE(
--      AC_LANG_PROGRAM(
--        [[static __thread int a = 6;]],
--        [[a = 5;]]),
--      [cc_cv_tls___thread=yes],
--      [cc_cv_tls___thread=no])
-+    [AC_LINK_IFELSE([__thread int a; int b; int main() { return a = b; }],
-+	 [chktls_save_LDFLAGS="$LDFLAGS"
-+	  LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
-+	  chktls_save_CFLAGS="$CFLAGS"
-+	  CFLAGS="-fPIC $CFLAGS"
-+	  dnl If -shared works, test if TLS works in a shared library.
-+	  AC_LINK_IFELSE([int f() { return 0; }],
-+	    AC_LINK_IFELSE([__thread int a; int b; int f() { return a = b; }],
-+	      [cc_cv_tls___thread=yes],
-+	      [cc_cv_tls___thread=no]),
-+	    [cc_cv_tls___thread=yes])
-+	  CFLAGS="$chktls_save_CFLAGS"
-+	  LDFLAGS="$chktls_save_LDFLAGS"], [cc_cv_tls___thread=no])
-     ])
-   
-   AS_IF([test "x$cc_cv_tls___thread" = "xyes"],
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/autoconf_version.patch deleted +0 -17
deleted file mode 100644
index 86e3972..0000000
@@ -1,17 +0,0 @@
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Inappropriate [configuration]
-
-Index: pulseaudio-0.9.15/configure.ac
-===================================================================
---- pulseaudio-0.9.15.orig/configure.ac	2009-04-14 00:09:53.000000000 +0100
-+++ pulseaudio-0.9.15/configure.ac	2009-05-22 11:32:50.000000000 +0100
-@@ -20,7 +20,7 @@
- # along with PulseAudio; if not, write to the Free Software Foundation,
- # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
- 
--AC_PREREQ(2.63)
-+AC_PREREQ(2.61)
- 
- m4_define(pa_major, [0])
- m4_define(pa_minor, [9])
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/buildfix.patch deleted +0 -17
deleted file mode 100644
index 99ceff8..0000000
@@ -1,17 +0,0 @@
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Pending
-
-Index: pulseaudio-0.9.11/src/pulsecore/atomic.h
-===================================================================
---- pulseaudio-0.9.11.orig/src/pulsecore/atomic.h
-+++ pulseaudio-0.9.11/src/pulsecore/atomic.h
-@@ -40,6 +40,8 @@
- #error "Please include config.h before including this file!"
- #endif
- 
-+#include "macro.h"
-+
- #ifdef HAVE_ATOMIC_BUILTINS
- 
- /* __sync based implementation */
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/configure_silent_rules.patch deleted +0 -33
deleted file mode 100644
index d4a247a..0000000
@@ -1,33 +0,0 @@
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Inappropriate [configuration]
-
-Index: pulseaudio-0.9.19/configure.ac
-===================================================================
---- pulseaudio-0.9.19.orig/configure.ac	2009-10-31 11:40:00.000000000 +0000
-+++ pulseaudio-0.9.19/configure.ac	2009-10-31 11:50:35.000000000 +0000
-@@ -27,12 +27,13 @@
- AC_CONFIG_SRCDIR([src/daemon/main.c])
- AC_CONFIG_MACRO_DIR([m4])
- AC_CONFIG_HEADERS([config.h])
--AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax])
-+AM_INIT_AUTOMAKE([foreign 1.10 -Wall -Wno-portability tar-pax])
- 
- m4_define(pa_major, `echo $VERSION | cut -d. -f1 | cut -d- -f1`)
- m4_define(pa_minor, `echo $VERSION | cut -d. -f2 | cut -d- -f1`)
- m4_define(pa_micro, `echo $VERSION | cut -d. -f3 | cut -d- -f1`)
- 
-+
- AC_SUBST(PA_MAJOR, pa_major)
- AC_SUBST(PA_MINOR, pa_minor)
- AC_SUBST(PA_MICRO, pa_micro)
-@@ -80,7 +81,8 @@
-       ;;
- esac
- 
--AM_SILENT_RULES([yes])
-+# only use if available
-+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
- 
- #### Checks for programs. ####
- 
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patch deleted +0 -26
deleted file mode 100644
index fbb22d7..0000000
@@ -1,26 +0,0 @@
-using uClibc $(INTLLIBS) is not empty but set to -lintl
-this means that AM_LIBADD wont be empty as well and hence
-a missing space which otherwise works starts to show up as error
-
-| make[4]: *** No rule to make target `-lintl', needed by `libbluetooth-ipc.la'.  Stop.
-| make[4]: Leaving directory `/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/work/armv5te-oe-linux-uclibceabi/pulseaudio-0.9.23-r7/pulseaudio-0.9.23/src'
-| make[3]: *** [all-recursive] Error 1
-
-We add missing space
-
-Signed-off-by: Khem Raj <[email protected]>
-
-Upstream-Status: Pending
-Index: pulseaudio-0.9.23/src/Makefile.am
-===================================================================
---- pulseaudio-0.9.23.orig/src/Makefile.am	2011-06-23 13:18:54.000000000 -0700
-+++ pulseaudio-0.9.23/src/Makefile.am	2011-11-20 09:04:00.986917207 -0800
-@@ -1701,7 +1701,7 @@
- 
- libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h
- libbluetooth_ipc_la_LDFLAGS = -avoid-version
--libbluetooth_ipc_la_LIBADD = $(AM_LIBADD)libpulsecore-@[email protected] libpulsecommon-@[email protected] libpulse.la
-+libbluetooth_ipc_la_LIBADD = $(AM_LIBADD) libpulsecore-@[email protected] libpulsecommon-@[email protected] libpulse.la
- libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
- BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h
- 
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/gcc4-compile-fix.patch deleted +0 -22
deleted file mode 100644
index f8b07ea..0000000
@@ -1,22 +0,0 @@
-| fix for more strict syntax compliance in gcc4.x
-| pulsecore/core-util.c: In function 'pa_raise_priority':
-| pulsecore/core-util.c:547: error: label at end of compound statement
-| Signed off: [email protected]
-|
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Pending
-
-Index: pulseaudio-0.9.6/src/pulsecore/core-util.c
-===================================================================
---- pulseaudio-0.9.6.orig/src/pulsecore/core-util.c
-+++ pulseaudio-0.9.6/src/pulsecore/core-util.c
-@@ -535,7 +535,7 @@ void pa_raise_priority(void) {
-         pa_log_info("Successfully gained high priority class.");
- #endif
- 
--fail:
-+fail:;
- 
- #if defined(HAVE_SYS_CAPABILITY_H)
-     if (caps) {
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/tls_m4.patch deleted +0 -34
deleted file mode 100644
index bae0a25..0000000
@@ -1,34 +0,0 @@
-Derived from OE by Dongxiao Xu <[email protected]>
-
-Upstream-Status: Inappropriate [configuration]
-
-Index: pulseaudio-0.9.15/m4/tls.m4
-===================================================================
---- pulseaudio-0.9.15.orig/m4/tls.m4	2008-08-19 23:25:02.000000000 +0200
-+++ pulseaudio-0.9.15/m4/tls.m4	2009-07-10 09:55:25.266365511 +0200
-@@ -1,12 +1,19 @@
- AC_DEFUN([CC_CHECK_TLS], [
-   AC_CACHE_CHECK([whether $CC knows __thread for Thread-Local Storage],
-     cc_cv_tls___thread,
--    [AC_COMPILE_IFELSE(
--      AC_LANG_PROGRAM(
--        [[static __thread int a = 6;]],
--        [[a = 5;]]),
--      [cc_cv_tls___thread=yes],
--      [cc_cv_tls___thread=no])
-+    [AC_LINK_IFELSE([__thread int a; int b; int main() { return a = b; }],
-+	 [chktls_save_LDFLAGS="$LDFLAGS"
-+	  LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
-+	  chktls_save_CFLAGS="$CFLAGS"
-+	  CFLAGS="-fPIC $CFLAGS"
-+	  dnl If -shared works, test if TLS works in a shared library.
-+	  AC_LINK_IFELSE([int f() { return 0; }],
-+	    AC_LINK_IFELSE([__thread int a; int b; int f() { return a = b; }],
-+	      [cc_cv_tls___thread=yes],
-+	      [cc_cv_tls___thread=no]),
-+	    [cc_cv_tls___thread=yes])
-+	  CFLAGS="$chktls_save_CFLAGS"
-+	  LDFLAGS="$chktls_save_LDFLAGS"], [cc_cv_tls___thread=no])
-     ])
-   
-   AS_IF([test "x$cc_cv_tls___thread" = "xyes"],
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/volatiles.04_pulse deleted +0 -2
deleted file mode 100644
index 5b19980..0000000
@@ -1,2 +0,0 @@
-# <type> <owner> <group> <mode> <path> <linksource>
-d pulse pulse 0755 /var/run/pulse none
meta/recipes-multimedia/pulseaudio/pulseaudio.inc +1 -1
index 747b650..a94c398 100644
@@ -68,7 +68,7 @@ FILES_libpulse-mainloop-glib = "${libdir}/libpulse-mainloop-glib.so.*"
 				   	 
 FILES_${PN}-dbg += "${libexecdir}/pulse/.debug \
                     ${libdir}/pulse-${PV}/modules/.debug"
-FILES_${PN}-dev += "${libdir}/pulse-${PV}/modules/*.la ${datadir}/vala"		    
+FILES_${PN}-dev += "${libdir}/pulse-${PV}/modules/*.la ${datadir}/vala ${libdir}/cmake"		    
 FILES_${PN}-conf = "${sysconfdir}"
 FILES_${PN}-bin = "${bindir}/* \
                    ${sysconfdir}/default/volatiles/volatiles.04_pulse"
meta/recipes-multimedia/pulseaudio/pulseaudio/volatiles.04_pulse renamed from meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/volatiles.04_pulse +0 -0
similarity index 100%
rename from meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/volatiles.04_pulse
rename to meta/recipes-multimedia/pulseaudio/pulseaudio/volatiles.04_pulse
meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.22.bb deleted +0 -24
deleted file mode 100644
index 3067365..0000000
@@ -1,24 +0,0 @@
-require pulseaudio.inc
-
-PR = "r7"
-
-DEPENDS += "gdbm speex"
-
-inherit gettext
-
-SRC_URI += "\
-  file://buildfix.patch \
-  file://autoconf_version.patch \
-  file://tls_m4.patch \
-  file://configure_silent_rules.patch \
-  file://armv4+v5asm.patch \
-"
-
-do_compile_prepend() {
-    cd ${S}
-    mkdir -p ${S}/libltdl
-    cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl
-}
-
-SRC_URI[md5sum] = "ca85ab470669b05e100861654cf5eb3c"
-SRC_URI[sha256sum] = "c6019324395117a258c048a6db5e9734551cc2c61dc35b46403ff00d64be55f0"
meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.23.bb deleted +0 -27
deleted file mode 100644
index e712cab..0000000
@@ -1,27 +0,0 @@
-require pulseaudio.inc
-
-PR = "r8"
-
-DEPENDS += "gdbm speex libxml-parser-perl-native"
-
-inherit gettext perlnative
-
-SRC_URI = "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PV}.tar.gz \
-  file://buildfix.patch \
-  file://autoconf_version.patch \
-  file://tls_m4.patch \
-  file://configure_silent_rules.patch \
-  file://volatiles.04_pulse \
-  file://fix_bluez_build.patch \
-"
-
-SRC_URI[md5sum] = "7391205a337d1e04a9ff38025f684034"
-SRC_URI[sha256sum] = "af3e84c614cb632fd1f57105489fcd5f93f906da1ce5aa9019492212031fba4e"
-
-do_compile_prepend() {
-    cd ${S}
-    mkdir -p ${S}/libltdl
-    cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl
-}
-
-ARM_INSTRUCTION_SET = "arm"
meta/recipes-multimedia/pulseaudio/pulseaudio_1.1.bb new file +19 -0
new file mode 100644
index 0000000..d97c932
@@ -0,0 +1,19 @@
+require pulseaudio.inc
+
+DEPENDS += "libjson gdbm speex libxml-parser-perl-native"
+
+inherit gettext perlnative
+
+SRC_URI = "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PV}.tar.xz \
+  file://volatiles.04_pulse \
+"
+
+SRC_URI[md5sum] = "17d21df798cee407b769c6355fae397a"
+SRC_URI[sha256sum] = "6fe531136f6ebce2d35872a2d2c914278cdc5dcdd5eea516dc52c81f9001f5ee"
+
+do_compile_prepend() {
+    cd ${S}
+    mkdir -p ${S}/libltdl
+    cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl
+}
+
Signature · 1 line
1.7.6.4
author
#6 lore raw

[CONSOLIDATED PULL 08/23] rpm_5.4.0.bb: Build rpm without xz

In reply to Saul Wold

From: Matthew McClintock <[email protected]>

This fixes the following issue:

Log data follows:

| NOTE: Creating RPM package for perf-dbg
| NOTE: Creating RPM package for perf
| NOTE: Creating EMPTY RPM Package for kernel
| NOTE: Creating EMPTY RPM Package for kernel-3.0.9-00348-gec4b357
| NOTE: Creating RPM package for kernel-image-3.0.9-00348-gec4b357
| NOTE: Creating RPM package for kernel-dev
| NOTE: Creating RPM package for kernel-vmlinux
| NOTE: Not creating empty RPM package for kernel-misc
| NOTE: Creating RPM package for kernel-devicetree
| NOTE: Creating RPM package for kernel-module-libcrc32c
| NOTE: Creating RPM package for kernel-module-crc-itu-t
| NOTE: Creating RPM package for kernel-module-sctp
| NOTE: Creating RPM package for kernel-module-pcbc
| NOTE: Creating RPM package for kernel-module-crc32c
| NOTE: Creating RPM package for kernel-module-binfmt-misc
| NOTE: Creating RPM package for kernel-module-nfsd
| NOTE: Creating RPM package for kernel-module-exportfs
| NOTE: Creating RPM package for kernel-module-msdos
| NOTE: Creating RPM package for kernel-module-nls-utf8
| NOTE: Creating RPM package for kernel-module-udf
| NOTE: Creating RPM package for kernel-module-isofs
| NOTE: Creating RPM package for kernel-module-usbhid
| NOTE: Creating RPM package for kernel-module-scsi-wait-scan
| NOTE: Creating EMPTY RPM Package for kernel-modules
| /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/sysroots/x86_64-linux/usr/bin/rpmbuild.real: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
| ERROR: Function 'BUILDSPEC' failed (see /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/work/p4080ds-fsl-linux/linux-qoriq-sdk-3.0.6-r2/temp/log.do_package_write_rpm.18943 for further information)
---
 meta/recipes-devtools/rpm/rpm_5.4.0.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta/recipes-devtools/rpm/rpm_5.4.0.bb +2 -1
index d14bce4..7795914 100644
@@ -45,7 +45,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
 DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}"
 extrarpmdeps = "python perl"
 extrarpmdeps_virtclass-native = "file-native"
-PR = "r24"
+PR = "r25"
 
 # rpm2cpio is a shell script, which is part of the rpm src.rpm.  It is needed
 # in order to extract the distribution SRPM into a format we can extract...
@@ -157,6 +157,7 @@ EXTRA_OECONF = "--verbose \
 		--with-build-extlibdep \
 		--with-build-maxextlibdep \
 		--without-valgrind \
+                --without-xz \
 		--disable-openmp \
 		--enable-build-pic \
 		--enable-build-versionscript \
Signature · 1 line
1.7.6.4
author
#7 lore raw

[CONSOLIDATED PULL 07/23] Introduce multiarch DISTRO_FEATURE

In reply to Saul Wold

From: Julian Pidancet <[email protected]>

This patch introduces a distro feature which enables gcc to produce both 32bit and 64bit code, and enables binutils to operate on both 32bit and 64bit binaries. It differs from multilib toolchains in that it does not require to compile a version of the libc for each architecture variant. However, the code produced for the secondary architecture will not be linkable against the libc.

v2: - Renamed the feature name from "biarch" to "multiarch". The GCC installation manual claims that the mips-linux can be made a tri-arch compiler (http://gcc.gnu.org/install/configure.html)
- For x86_64, the compiler is made bi-arch by default, so nothing
has to be done in particular.
- I analyzed the gcc/config.gcc from GCC sources and added in this
patch all the architectures that could be made biarch with the version of gcc currently used in OE, which are powerpc, and sparc, in addition to x86. mips and s390 will probably be supported in future versions of gcc. For x86 and sparc, only the --enable-targets=all option is valid to make this work (this option doesn't have any other side effects than making the compiler bi-arch). For powerpc, I used the --enable-targets=powerpc64 option (although 'all' also works).

Note: - Untested on powerpc and sparc. But I believe it works the same as with x86.
- gcc in meta-toolchain is also made multiarch.

---
 meta/recipes-devtools/binutils/binutils-cross.inc  |    3 ++-
 meta/recipes-devtools/binutils/binutils.inc        |    3 ++-
 meta/recipes-devtools/gcc/gcc-common.inc           |   10 ++++++++++
 meta/recipes-devtools/gcc/gcc-configure-common.inc |    3 ++-
 4 files changed, 16 insertions(+), 3 deletions(-)
meta/recipes-devtools/binutils/binutils-cross.inc +2 -1
index 982224f..f07907e 100644
@@ -10,7 +10,8 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
                 --disable-werror \
                 --disable-nls \
                 --enable-poison-system-directories \
-		${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
+                ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \
+                ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
 
 do_install () {
 	oe_runmake 'DESTDIR=${D}' install
meta/recipes-devtools/binutils/binutils.inc +2 -1
index 58fee85..51e4257 100644
@@ -49,7 +49,8 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
 EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
                 --enable-install-libbfd \
-                --enable-shared"
+                --enable-shared \
+                ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
 
 EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd"
 
meta/recipes-devtools/gcc/gcc-common.inc +10 -0
index 69e0213..7ec2f7e 100644
@@ -21,6 +21,16 @@ def get_gcc_mips_plt_setting(bb, d):
         return "--with-mips-plt"
     return ""
 
+def get_gcc_multiarch_setting(bb, d):
+    if 'multiarch' in bb.data.getVar('DISTRO_FEATURES',d,1).split() :
+        if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'i586', 'i686' ] :
+            return "--enable-targets=all"
+        if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'powerpc' ] :
+            return "--enable-targets=powerpc64"
+        if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'sparc' ] :
+            return "--enable-targets=all"
+    return ""
+
 # We really need HOST_SYS here for some packages and TARGET_SYS for others.
 # For now, libgcc is most important so we fix for that - RP.
 SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs"
meta/recipes-devtools/gcc/gcc-configure-common.inc +2 -1
index ae23e8e..d014980 100644
@@ -42,7 +42,8 @@ EXTRA_OECONF = "${@['--enable-clocale=generic', ''][d.getVar('USE_NLS', 1) != 'n
                 ${EXTRA_OECONF_BASE} \
                 ${EXTRA_OECONF_FPU} \
                 ${EXTRA_OECONF_PATHS} \
-                ${@get_gcc_mips_plt_setting(bb, d)}"
+                ${@get_gcc_mips_plt_setting(bb, d)} \
+                ${@get_gcc_multiarch_setting(bb, d)}"
 
 # Build uclibc compilers without cxa_atexit support
 EXTRA_OECONF_append_linux               = " --enable-__cxa_atexit"
Signature · 1 line
1.7.6.4
author
#8 lore raw

[CONSOLIDATED PULL 05/23] python-native: Fix gcc compiler detecting logic

In reply to Saul Wold

From: Khem Raj <[email protected]>

We have a patch unixccompiler.patch where we try to throw away everything except first element of CC string but this does not work if gcc is prepended with something e.g. CC="ccache gcc" then the logic fails and it ends up in some modules failing on you silently (_sqlite3) in my case.
The fix here is to drop basename so we keep the whole string as it is and then the detection function searches for gcc string in the whole CC. This works in both cases one the original intent of the patch and the second described above. One place where it will fail is if someone has non-gcc compiler installed in some subdir which has gcc in it e.g. /usr/gcc/fakecc but for OE this should never happen. Ideally the the detection logic should have tried to execute gcc and then parsed --version output or something.

---
 .../python/python-native/unixccompiler.patch       |   22 ++++++++++----------
 .../recipes-devtools/python/python-native_2.7.2.bb |    2 +-
 2 files changed, 12 insertions(+), 12 deletions(-)
meta/recipes-devtools/python/python-native/unixccompiler.patch +11 -11
index 10a9baf..4502829 100644
@@ -1,20 +1,20 @@
-Upstream-Status: Inappropriate [embedded specific]
+Upstream-Status: Pending
 
-# The CC variable,sometimes like:"x86_64-poky-linux-gcc   -m64 --sysroot=/${TMPDIR}/sysroots/qemux86-64", contains option information. 
-# This will lead to wrong compiler name "qemux86-64" rather than "x86_64-poky-linux-gcc" when python finding the compiler name.
+The CC variable,sometimes like:"x86_64-poky-linux-gcc   -m64 --sysroot=/${TMPDIR}/sysroots/qemux86-64", contains option information. 
+This will lead to wrong compiler name "qemux86-64" rather than "x86_64-poky-linux-gcc" when python finding the compiler name.
 
-#Signed-off-by: Mei Lei <[email protected]>
-
-diff --git Python-2.6.6/Lib/distutils/unixccompiler.py Python-2.6.6/Lib/distutils/unixccompiler.py
-index 6d0b84d..aaf49cb 100644
---- Python-2.6.6/Lib/distutils/unixccompiler.py
-+++ Python-2.6.6/Lib/distutils/unixccompiler.py
-@@ -282,7 +282,7 @@ class UnixCCompiler(CCompiler):
+Signed-off-by: Mei Lei <[email protected]>
+Signed-off-by: Khem Raj <[email protected]>
+Index: Python-2.7.2/Lib/distutils/unixccompiler.py
+===================================================================
+--- Python-2.7.2.orig/Lib/distutils/unixccompiler.py	2011-11-24 13:51:10.539998722 -0800
++++ Python-2.7.2/Lib/distutils/unixccompiler.py	2011-11-24 15:54:36.872137766 -0800
+@@ -282,7 +282,7 @@
          # this time, there's no way to determine this information from
          # the configuration data stored in the Python installation, so
          # we use this hack.
 -        compiler = os.path.basename(sysconfig.get_config_var("CC"))
-+        compiler = os.path.basename(sysconfig.get_config_var("CC").split()[0])
++        compiler = sysconfig.get_config_var("CC")
          if sys.platform[:6] == "darwin":
              # MacOSX's linker doesn't understand the -R flag at all
              return "-L" + dir
meta/recipes-devtools/python/python-native_2.7.2.bb +1 -1
index 6b90d5b..d036eca 100644
@@ -1,6 +1,6 @@
 require python.inc
 DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 SRC_URI += "file://04-default-is-optimized.patch \
            file://05-enable-ctypes-cross-build.patch \
Signature · 1 line
1.7.6.4
author
#9 lore raw

[CONSOLIDATED PULL 13/23] distro_tracking_fields: update the status

In reply to Saul Wold

From: Xiaofeng Yan <[email protected]>

directfb to 1.4.15
xorg-xserver-lite to 1.11.1
libx11-diet to 1.4.4

---
 .../conf/distro/include/distro_tracking_fields.inc |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +12 -3
index 84a986e..b95578c 100644
@@ -4657,9 +4657,15 @@ RECIPE_MAINTAINER_pn-libx11 = "Dexuan Cui <[email protected]>"
 
 RECIPE_STATUS_pn-libx11-diet = "green"
 DISTRO_PN_ALIAS_pn-libx11-diet = "Debian=libx11-6 Fedora=libX11 Ubuntu=libx11-6 OpenSuSE=xorg-x11-libX11"
+RECIPE_LATEST_VERSION_pn-libx11-diet = "1.4.4"
+RECIPE_LATEST_RELEASE_DATE_pn-libx11-diet = "Jul 28,2011"
+RECIPE_LAST_UPDATE_pn-libx11-diet = " Nov 22, 2011"
 RECIPE_MAINTAINER_pn-libx11-diet = "Xiaofeng Yan <[email protected]>"
 
-RECIPE_STATUS_pn-directfb = "red"
+RECIPE_STATUS_pn-directfb = "green"
+RECIPE_LATEST_VERSION_pn-directfb = "1.5.3"
+RECIPE_LATEST_RELEASE_DATE_pn-direcfb = "Aug 9,2011"
+RECIPE_LAST_UPDATE_pn-directfb = "Nov 7, 2011"
 RECIPE_MAINTAINER_pn-directfb = "Xiaofeng Yan <[email protected]>"
 
 RECIPE_STATUS_pn-libarchive  = "green"
@@ -4671,8 +4677,11 @@ RECIPE_MAINTAINER_pn-libarchive  = "Xiaofeng Yan <[email protected]>"
 RECIPE_STATUS_pn-xserver-kdrive  = "red"
 RECIPE_MAINTAINER_pn-xserver-kdrive  = "Xiaofeng Yan <[email protected]>"
 
-RECIPE_STATUS_pn-xserver-xf86-lite  = "red"
-RECIPE_MAINTAINER_pn-xserver-xf86-lite  = "Xiaofeng Yan <[email protected]>"
+RECIPE_STATUS_pn-xserver-xorg-lite  = "green"
+RECIPE_LATEST_VERSION_pn-xserver-xorg-lite = "1.11.1"
+RECIPE_LATEST_RELEASE_DATE_pn-xserver-xorg-lite = "Sept 24, 2011"
+RECIPE_LAST_UPDATE_pn-xserver-xorg-lite = " Sep 30,2011"
+RECIPE_MAINTAINER_pn-xserver-xorg-lite  = "Xiaofeng Yan <[email protected]>"
 
 RECIPE_STATUS_pn-libx11-trim = "green"
 DISTRO_PN_ALIAS_pn-libx11-trim = "Debian=libx11-6 Fedora=libX11 Ubuntu=libx11-6 OpenSuSE=xorg-x11-libX11"
Signature · 1 line
1.7.6.4
author
#10 lore raw

[CONSOLIDATED PULL 12/23] distro_tracking: Update manual check dates (readline, gcrypt)

In reply to Saul Wold
---
 .../conf/distro/include/distro_tracking_fields.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +2 -1
index d84b1b3..84a986e 100644
@@ -425,7 +425,7 @@ RECIPE_INTEL_SECTION_pn-readline = "base libs"
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-readline = "11 months"
 RECIPE_LATEST_RELEASE_DATE_pn-readline = "Feb 13, 2011"
 RECIPE_COMMENTS_pn-readline = ""
-RECIPE_MANUAL_CHECK_DATE_pn-readline = "Sep 27, 2011"
+RECIPE_MANUAL_CHECK_DATE_pn-readline = "Nov 23, 2011"
 
 RECIPE_STATUS_pn-libgcrypt = "green"
 RECIPE_LATEST_VERSION_pn-libgcrypt = "1.5.0"
@@ -437,6 +437,7 @@ RECIPE_PATCH_pn-libgcrypt+add-pkgconfig-support = "add .pc file"
 RECIPE_INTEL_SECTION_pn-libgcrypt = "base libs"
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libgcrypt = "11 months"
 RECIPE_COMMENTS_pn-libgcrypt = ""
+RECIPE_MANUAL_CHECK_DATE_pn-libgcrypt = "Nov 23, 2011"
 
 RECIPE_STATUS_pn-gnutls = "yellow"   # need explict pre configure
 RECIPE_LATEST_VERSION_pn-gnutls = "2.12.11"
Signature · 1 line
1.7.6.4
author
#11 lore raw

[CONSOLIDATED PULL 09/23] libx11-trim: update to 1.4.4

In reply to Saul Wold

From: Xiaofeng Yan <[email protected]>

Some description :
1 Remove --with-xcb because xcb is necessary item in the new version.
2 keysymdef_include.patch uses in keeping native directory of X11 as the default configuration. \
or else host directory "/usr/include/X11" is selected when running ./configure.
3 makekeys_crosscompile.patch avoid host contamination.
4 x11_disable_makekeys.patch uses in compiling makekey.c needed by makekeys-makekeys.o

---
 .../libx11-trim-1.4.4/keysymdef_include.patch      |   23 ++++++++++
 .../libx11-trim-1.4.4/makekeys_crosscompile.patch  |   45 ++++++++++++++++++++
 .../libx11-trim-1.4.4/x11_disable_makekeys.patch   |   29 +++++++++++++
 .../recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb |   20 +++++++++
 4 files changed, 117 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/keysymdef_include.patch
 create mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/makekeys_crosscompile.patch
 create mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/x11_disable_makekeys.patch
 create mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/keysymdef_include.patch new file +23 -0
new file mode 100644
index 0000000..d1bdab9
@@ -0,0 +1,23 @@
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Martin Jansa <[email protected]>
+
+diff -uNr libX11-1.3.6.orig//configure.ac libX11-1.3.6/configure.ac
+--- libX11-1.3.6.orig//configure.ac	2010-09-20 08:04:16.000000000 +0200
++++ libX11-1.3.6/configure.ac	2010-09-28 16:29:26.000000000 +0200
+@@ -355,7 +355,14 @@
+ # Find keysymdef.h
+ #
+ AC_MSG_CHECKING([keysym definitions])
+-KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
++AC_ARG_WITH(keysymdefdir,
++        AC_HELP_STRING([--with-keysymdefdir=DIR], [The location of keysymdef.h]),
++        KEYSYMDEFDIR=$withval, KEYSYMDEFDIR="")
++
++if test x$KEYSYMDEFDIR = x; then
++	KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
++fi
++
+ FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
+ for i in $FILES; do
+     if test -f "$KEYSYMDEFDIR/$i"; then
meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/makekeys_crosscompile.patch new file +45 -0

45 lines not on this page · raw message

meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/x11_disable_makekeys.patch new file +29 -0
new file mode 100644
index 0000000..9763313
@@ -0,0 +1,29 @@
+Index: libX11-1.3.4/src/util/Makefile.am
+===================================================================
+--- libX11-1.3.4.orig/src/util/Makefile.am
++++ libX11-1.3.4/src/util/Makefile.am
+@@ -1,24 +1 @@
+-
+-noinst_PROGRAMS=makekeys
+-
+-makekeys_CFLAGS = \
+-	$(X11_CFLAGS) \
+-	$(CWARNFLAGS)
+-
+-CC = @CC_FOR_BUILD@
+-CPPFLAGS = @CPPFLAGS_FOR_BUILD@
+-CFLAGS = @CFLAGS_FOR_BUILD@
+-LDFLAGS = @LDFLAGS_FOR_BUILD@
+-
+ EXTRA_DIST = mkks.sh
+-
+-if LINT
+-# Check source code with tools like lint & sparse
+-
+-ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+-		$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
+-
+-lint:
+-	$(LINT) $(ALL_LINT_FLAGS) makekeys.c
+-
+-endif LINT
meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb new file +20 -0
new file mode 100644
index 0000000..7aed308
@@ -0,0 +1,20 @@
+require libx11.inc
+
+DESCRIPTION += " Support for XCMS is disabled in this version."
+
+LICENSE = "MIT & MIT-style & BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
+
+PR = "r0"
+
+DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native"
+
+SRC_URI += "file://x11_disable_makekeys.patch \
+            file://keysymdef_include.patch \
+            file://makekeys_crosscompile.patch"
+
+
+SRC_URI[md5sum] = "f65c9c7ecbfb64c19dbd7927160d63fd"
+SRC_URI[sha256sum] = "88d7238ce5f7cd123450567de7a3b56a43556e4ccc45df38b8324147c889a844"
+
+EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/ --disable-xcms "
Signature · 1 line
1.7.6.4
author
#12 lore raw

[CONSOLIDATED PULL 11/23] runqemu: look for *-image* to be more flexible for image names

In reply to Saul Wold

We can't just look for *image* since it will catch up bzimage

---
 scripts/runqemu |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
scripts/runqemu +2 -2
index 31e9822..4adeace 100755
@@ -114,7 +114,7 @@ while [ $i -le $# ]; do
                 usage
             fi
             ;;
-        *-image-*)
+        *-image*)
             if [ -z "$ROOTFS" ]; then
                 if [ -f "$arg" ]; then
                     process_filename $arg
@@ -307,7 +307,7 @@ findimage() {
 
     # Sort rootfs candidates by modification time - the most
     # recently created one is the one we most likely want to boot.
-    filenames=`ls -t $where/*core-image*$machine.$extension 2>/dev/null | xargs`
+    filenames=`ls -t $where/*-image*$machine.$extension 2>/dev/null | xargs`
     for name in $filenames; do
         if [[ "$name" =~ core-image-sato-sdk ||
               "$name" =~ core-image-sato     ||
Signature · 1 line
1.7.6.4
author
#13 lore raw

[CONSOLIDATED PULL 10/23] xserver-xorg: only use --disable-dga in xserver-xorg-lite

In reply to Saul Wold

From: Otavio Salvador <[email protected]>

Xorg VESA driver calls DGAInit enforcing this symbol to be available to the driver to work so we revert back to only disable DGA for lite flavor of Xorg.

---
 .../xorg-xserver/xserver-xorg-1.11.1.inc           |    2 +-
 .../xorg-xserver/xserver-xorg-common.inc           |    1 -
 .../xorg-xserver/xserver-xorg-lite.inc             |    1 +
 3 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1.inc +1 -1
index 2c5bb0a..8b0808d 100644
@@ -3,7 +3,7 @@ SRC_URI += "file://crosscompile.patch"
 # Misc build failure for master HEAD
 SRC_URI += "file://fix_open_max_preprocessor_error.patch"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI[md5sum] = "4cdf54dc569b6a5548257c93a45dcd3d"
 SRC_URI[sha256sum] = "c069c177d9a80bca2ee1d49aa1af6d9f996c83e4ff12393cab2ca3f8817276f6"
meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc +0 -1
index 2559397..c1a552e 100644
@@ -100,7 +100,6 @@ EXTRA_OECONF += "--with-fop=no \
                  --disable-acfb \
                  --disable-ccfb \
                  --disable-mcfb \
-                 --disable-dga \
                  --disable-xinerama \
                  --disable-xf86misc \
                  --disable-xorgcfg \
meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc +1 -0
index be84e9e..57615f5 100644
@@ -3,4 +3,5 @@ require xserver-xorg-common.inc
 EXTRA_OECONF += "\
                  --disable-dri \
                  --disable-glx \
+                 --disable-dga \
 "
Signature · 1 line
1.7.6.4
author
#14 lore raw

[CONSOLIDATED PULL 15/23] mesa-common: install internal GL headers to libgl-dev

In reply to Saul Wold

From: Martin Jansa <[email protected]>

* this is just work around
* better fix would be as RP suggested:
Ideally we should write a patch fixing the Makefile so dri-swrast installs the pieces the xserver needs to build. Does it need both sarea.h and dri_interface.h or just the latter?

---
 meta/recipes-graphics/mesa/mesa-common.inc |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
meta/recipes-graphics/mesa/mesa-common.inc +5 -0
index 7d729b4..3a90121 100644
@@ -51,3 +51,8 @@ FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"
 
 FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
 FILES_libegl-dbg += "${libdir}/egl/.debug/*"
+
+do_install_append () {
+    install -d ${D}/${includedir}/GL
+    cp -pPr ${S}/include/GL/internal* ${D}/${includedir}/GL
+}
Signature · 1 line
1.7.6.4
author
#15 lore raw

[CONSOLIDATED PULL 14/23] mesa: package gl/egl/osmesa to separate packages

In reply to Saul Wold

From: Martin Jansa <[email protected]>

---
 meta/recipes-graphics/mesa/mesa-common.inc |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
meta/recipes-graphics/mesa/mesa-common.inc +11 -2
index 1d9c894..7d729b4 100644
@@ -38,7 +38,16 @@ EXTRA_OECONF = "--enable-glu \
 # Multiple virtual/gl providers being built breaks staging
 EXCLUDE_FROM_WORLD = "1"
 
-PACKAGES =+ "libglu libglu-dev"
-
+PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
+FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
+FILES_libgl = "${libdir}/libGL.so.*"
 FILES_libglu = "${libdir}/libGLU.so.*"
+FILES_libosmesa = "${libdir}/libOSMesa.so.*"
+
+FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL"
+FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL"
 FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h"
+FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"
+
+FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
+FILES_libegl-dbg += "${libdir}/egl/.debug/*"
Signature · 1 line
1.7.6.4
author
#19 lore raw

[CONSOLIDATED PULL 16/23] tzdata/tzcode: Update tzdata to 2011n

In reply to Saul Wold
---
 .../recipes-extended/tzcode/tzcode-native_2011i.bb |   11 ++++++-----
 .../tzdata/{tzdata_2011l.bb => tzdata_2011n.bb}    |    6 +++---
 2 files changed, 9 insertions(+), 8 deletions(-)
 rename meta/recipes-extended/tzdata/{tzdata_2011l.bb => tzdata_2011n.bb} (96%)
meta/recipes-extended/tzcode/tzcode-native_2011i.bb +6 -5
index b8ccff0..a23a5d5 100644
@@ -1,16 +1,17 @@
 DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
 LICENSE = "PD"
-PR = "r0"
+PR = "r1"
 
 LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=3ae8198f82258417ce29066d3b034035"
 
-SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \
-           http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata"
+SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \
+           ftp://ftp.iana.org/tz/releases/tzdata2011n.tar.gz;name=tzdata"
 
 SRC_URI[tzcode.md5sum] = "cf7f4335b7c8682899fa2814e711c1b2"
 SRC_URI[tzcode.sha256sum] = "f0dd991de3f8d6c599c104e294377c9befa1ef40aa5a1d09e2e295a453f3c1ec"
-SRC_URI[tzdata.md5sum] = "c7a86ec34f30f8d6aa77ef94902a3047"
-SRC_URI[tzdata.sha256sum] = "f8dde7ca5e61f21ac34c8cdbef5568d00c829981211098f059d8104964c81ffa"
+SRC_URI[tzdata.md5sum] = "20dbfb28efa008ddbf6dd34601ea40fa"
+SRC_URI[tzdata.sha256sum] = "a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd"
+
 
 S = "${WORKDIR}"
 
meta/recipes-extended/tzdata/tzdata_2011n.bb renamed from meta/recipes-extended/tzdata/tzdata_2011l.bb +3 -3
similarity index 96%
rename from meta/recipes-extended/tzdata/tzdata_2011l.bb
rename to meta/recipes-extended/tzdata/tzdata_2011n.bb
index 140f8ed..de9281a 100644
@@ -12,10 +12,10 @@ RCONFLICTS= "timezones timezone-africa timezone-america timezone-antarctica \
              timezone-australia timezone-europe timezone-indian \
              timezone-iso3166.tab timezone-pacific timezone-zone.tab"
 
-SRC_URI = "http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata"
+SRC_URI = "ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata"
 
-SRC_URI[tzdata.md5sum] = "bae1b93673e1aef80186c90dfd493f1c"
-SRC_URI[tzdata.sha256sum] = "cb9fec68a19c9c3b900bb71f3ca20d0051a863f765387b52fc2d144a5bbb0c7d"
+SRC_URI[tzdata.md5sum] = "20dbfb28efa008ddbf6dd34601ea40fa"
+SRC_URI[tzdata.sha256sum] = "a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd"
 
 S = "${WORKDIR}"
 
Signature · 1 line
1.7.6.4
author
#20 lore raw

[CONSOLIDATED PULL 17/23] intltool: remove XML::Parser check

In reply to Saul Wold

Add Patch to disable the XML::Parser check in the target intltool.m4, this check will find the host (not native) XML::Parser if it's installed possibly causing Host contamination, but will also fail configuration if XML::Parser is not installed on the host.

Since we know that XML::Parser is installed on the image, we don't really need this check, so comment it out.

From RP in mail thread:

Quoted 7 lines

If the recipe needs perl for
some other reason than intltool, it needs perlnative but it if only needs perl for intltool, we shouldn't need the dependency. The .m4 macro checks are well intended but don't fit the way we use perl. I really don't want to end up in a position where intltool automatically means we have to add perlnative as a dependency and we've previously seen many problems related to that.

---
 .../intltool-0.40.6/remove-xml-check.patch         |   29 ++++++++++++++++++++
 meta/recipes-devtools/intltool/intltool_0.40.6.bb  |   11 +++++--
 2 files changed, 37 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-devtools/intltool/intltool-0.40.6/remove-xml-check.patch
meta/recipes-devtools/intltool/intltool-0.40.6/remove-xml-check.patch new file +29 -0
new file mode 100644
index 0000000..476d091
@@ -0,0 +1,29 @@
+Index: intltool-0.40.6/intltool.m4
+===================================================================
+--- intltool-0.40.6.orig/intltool.m4	2009-02-14 14:12:28.000000000 -0800
++++ intltool-0.40.6/intltool.m4	2011-11-23 15:39:34.689561872 -0800
+@@ -122,14 +122,16 @@
+    IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
+    AC_MSG_RESULT([$IT_PERL_VERSION])
+ fi
+-if test "x$2" != "xno-xml"; then
+-   AC_MSG_CHECKING([for XML::Parser])
+-   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
+-       AC_MSG_RESULT([ok])
+-   else
+-       AC_MSG_ERROR([XML::Parser perl module is required for intltool])
+-   fi
+-fi
++
++# Disable this check since we know XML::Parser is installed
++#if test "x$2" != "xno-xml"; then
++#   AC_MSG_CHECKING([for XML::Parser])
++#   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
++#       AC_MSG_RESULT([ok])
++#   else
++#       AC_MSG_ERROR([XML::Parser perl module is required for intltool])
++#   fi
++#fi
+ 
+ # Substitute ALL_LINGUAS so we can use it in po/Makefile
+ AC_SUBST(ALL_LINGUAS)
meta/recipes-devtools/intltool/intltool_0.40.6.bb +8 -3
index e9871fc..c820f11 100644
@@ -1,14 +1,19 @@
 require intltool.inc
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-PR = "r5"
+PR = "r6"
 
 SRC_URI_append = " file://intltool-nowarn-0.40.0.patch \
                    ${NATIVEPATCHES} \
                  "
 
-NATIVEPATCHES = "file://noperlcheck.patch"
-NATIVEPATCHES_virtclass-native = "file://use-nativeperl.patch"
+#
+# All of the intltool scripts have the correct paths to perl already
+# embedded into them and can find perl fine, so we add the remove xml-check
+# in the intltool.m4 via the remove-xml-check.patch
+NATIVEPATCHES = "file://noperlcheck.patch \
+                 file://remove-xml-check.patch"
+NATIVEPATCHES_virtclass-native = "file://use-nativeperl.patch" 
 
 SRC_URI[md5sum] = "69bc0353323112f42ad4f9cf351bc3e5"
 SRC_URI[sha256sum] = "4d1e5f8561f09c958e303d4faa885079a5e173a61d28437d0013ff5efc9e3b64"
Signature · 1 line
1.7.6.4
author
#21 lore raw

[CONSOLIDATED PULL 19/23] coreutils: build and install hostname

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

busybox's hostname doesn't work with pseudo somehow, so let's use the version of coreutils. This is needed for the self-hosted-image work.

Also add a patch to disable building the doc and manual: we don't really need them and this causes compilation error in the cross-compiling case.

---
 .../coreutils/coreutils-8.14/disable_doc_man.patch |   36 ++++++++++++++++++++
 meta/recipes-core/coreutils/coreutils_8.14.bb      |    9 +++--
 2 files changed, 41 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/disable_doc_man.patch
meta/recipes-core/coreutils/coreutils-8.14/disable_doc_man.patch new file +36 -0
new file mode 100644
index 0000000..c9dc92c
@@ -0,0 +1,36 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+We don't really need to build the doc and manual.
+
+Morever, we get this failure in do_compile:
+help2man: can't get `--help' info from hostname.td/hostname
+
+This is because help2man tries to invoke "hostname --help", but in the
+cross-compile case, the target binary may not be execuable on the host.
+
+Signed-off-by: Dexuan Cui <[email protected]>
+
+diff -Nru coreutils-8.14/Makefile.am coreutils-8.14/Makefile.am
+--- coreutils-8.14.orig/Makefile.am	2011-10-10 15:30:55.000000000 +0800
++++ coreutils-8.14/Makefile.am	2011-11-24 17:29:26.398593744 +0800
+@@ -17,7 +17,7 @@
+ 
+ ALL_RECURSIVE_TARGETS =
+ 
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src po tests gnulib-tests
+ 
+ changelog_etc =				\
+   ChangeLog-2005			\
+diff -Nru coreutils-8.14.orig/Makefile.in coreutils-8.14/Makefile.in
+--- coreutils-8.14.orig/Makefile.in	2011-10-12 17:21:46.000000000 +0800
++++ coreutils-8.14/Makefile.in	2011-11-24 17:29:14.868593748 +0800
+@@ -1453,7 +1453,7 @@
+ 
+ # Some tests always need root privileges, others need them only sometimes.
+ ALL_RECURSIVE_TARGETS = install-root check-root distcheck-hook
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src po tests gnulib-tests
+ changelog_etc = \
+   ChangeLog-2005			\
+   ChangeLog-2006			\
meta/recipes-core/coreutils/coreutils_8.14.bb +5 -4
index 01face0..ec41fe2 100644
@@ -7,7 +7,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
 LICENSE = "GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
                     file://src/ls.c;startline=5;endline=16;md5=e1a509558876db58fb6667ba140137ad"
-PR = "r1"
+PR = "r2"
 DEPENDS = "gmp"
 DEPENDS_virtclass-native = ""
 
@@ -15,10 +15,13 @@ inherit autotools gettext
 
 SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
            file://remove-usr-local-lib-from-m4.patch \
+           file://disable_doc_man.patch \
           "
 SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a"
 SRC_URI[sha256sum] = "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d"
 
+EXTRA_OECONF += "--enable-install-program=hostname"
+
 EXTRA_OECONF_virtclass-native = "--without-gmp"
 
 # [ gets a special treatment and is not included in this
@@ -29,9 +32,8 @@ bindir_progs = "base64 basename chcon cksum comm csplit cut dir dircolors dirnam
                 sha384sum sha512sum shred shuf sort split stat stdbuf sum tac tail tee test timeout\
                 tr truncate tsort tty unexpand uniq unlink uptime users vdir wc who whoami yes df"
 
-# hostname gets a special treatment and is not included in this
 base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill ln ls mkdir \
-                     mknod mv pwd rm rmdir sleep stty sync touch true uname"
+                     mknod mv pwd rm rmdir sleep stty sync touch true uname hostname"
 
 sbindir_progs= "chroot"
 
@@ -71,7 +73,6 @@ pkg_prerm_${PN} () {
 	for i in ${sbindir_progs}; do update-alternatives --remove $i $i.${PN}; done
 
 	# The special cases
-	update-alternatives --remove hostname hostname.${PN}
 	update-alternatives --remove uptime uptime.${PN}
 	update-alternatives --remove '[' 'lbracket.${PN}'
 }
Signature · 1 line
1.7.6.4
author
#23 lore raw

[CONSOLIDATED PULL 18/23] Self Hosted Image: Added Task and Images

In reply to Saul Wold

This is the first pass of creating a self hosted image, this task and image can pass bitbake's sanity check (if modified to remove the cvs check) and can build psuedo, albit very slowly on qemu.

---
 meta/recipes-core/images/self-hosted-image.bb |   11 ++
 meta/recipes-core/tasks/task-self-hosted.bb   |  174 +++++++++++++++++++++++++
 2 files changed, 185 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-core/images/self-hosted-image.bb
 create mode 100644 meta/recipes-core/tasks/task-self-hosted.bb
meta/recipes-core/images/self-hosted-image.bb new file +11 -0
new file mode 100644
index 0000000..7ddba9c
@@ -0,0 +1,11 @@
+IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted"
+
+POKY_EXTRA_INSTALL = "\
+    task-self-hosted \
+    "
+
+IMAGE_ROOTFS_EXTRA_SPACE = "1048576"
+
+inherit core-image
+
+PR = "r0"
meta/recipes-core/tasks/task-self-hosted.bb new file +174 -0

174 lines not on this page · raw message

Signature · 1 line
1.7.6.4
author
#24 lore raw

[CONSOLIDATED PULL 22/23] distro-tracking: update information for binutils & libtool

In reply to Saul Wold

From: Nitin A Kamble <[email protected]>

---
 .../conf/distro/include/distro_tracking_fields.inc |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +5 -5
index df776c9..c07341e 100644
@@ -2944,9 +2944,9 @@ RECIPE_LAST_UPDATE_pn-sysprof = "Dec 8, 2010"
 RECIPE_MAINTAINER_pn-sysprof = "Tom Zanussi <[email protected]>"
 
 RECIPE_STATUS_pn-binutils="green"
-RECIPE_LATEST_VERSION_pn-binutils="2.21.1a"
-RECIPE_LAST_UPDATE_pn-binutils = "Aug 29, 2011"
-RECIPE_MANUAL_CHECK_DATE_pn-binutils = "Aug 29, 2011"
+RECIPE_LATEST_VERSION_pn-binutils="2.22"
+RECIPE_LAST_UPDATE_pn-binutils = "Nov 23, 2011"
+RECIPE_MANUAL_CHECK_DATE_pn-binutils = "Nov 23, 2011"
 RECIPE_MAINTAINER_pn-binutils = "Nitin A Kamble <[email protected]>"
 
 RECIPE_STATUS_pn-ldconfig-native = "red"
@@ -3015,8 +3015,8 @@ RECIPE_MAINTAINER_pn-intltool = "Nitin A Kamble <[email protected]>"
 
 RECIPE_STATUS_pn-libtool="green" 
 RECIPE_LATEST_VERSION_pn-libtool="2.4.2"
-RECIPE_LAST_UPDATE_pn-libtool = "Nov 16, 2011"
-RECIPE_MANUAL_CHECK_DATE_pn-libtool = "Nov 16, 2011" 
+RECIPE_LAST_UPDATE_pn-libtool = "Nov 28, 2011"
+RECIPE_MANUAL_CHECK_DATE_pn-libtool = "Nov 28, 2011" 
 RECIPE_MAINTAINER_pn-libtool = "Nitin A Kamble <[email protected]>"
 
 RECIPE_STATUS_pn-linux-libc-headers="green" 
Signature · 1 line
1.7.6.4
author
#25 lore raw

[CONSOLIDATED PULL 20/23] distro_tracking: update tracking fields for gettext and eds-tools

In reply to Saul Wold

From: Wenzong Fan <[email protected]>

Add maintainer and update manual_check_date, status fields.

---
 .../conf/distro/include/distro_tracking_fields.inc |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +6 -5
index b95578c..df776c9 100644
@@ -5707,10 +5707,10 @@ DISTRO_PN_ALIAS_pn-table = "Intel"
 
 RECIPE_STATUS_pn-eds-tools = "red"
 DISTRO_PN_ALIAS_pn-eds-tools = "OpenedHand"
-RECIPE_LATEST_VERSION_pn-eds-tools = "bzr"
+RECIPE_LATEST_VERSION_pn-eds-tools = "git"
 RECIPE_LAST_UPDATE_pn-eds-tools = "Sep 12, 2007"
-RECIPE_MANUAL_CHECK_DATE_pn-eds-tools = "Nov 08, 2011"
-RECIPE_NO_UPDATE_REASON_pn-eds-tools = "Possibly convert to GIT based fetch"
+RECIPE_MANUAL_CHECK_DATE_pn-eds-tools = "Nov 25, 2011"
+RECIPE_MAINTAINER_pn-eds-tools = "Wenzong Fan <[email protected]>"
 
 RECIPE_STATUS_pn-abiword-embedded = "red"
 DISTRO_PN_ALIAS_pn-abiword-embedded = "Fedora=abiword Ubuntu=abiword"
@@ -6017,11 +6017,12 @@ RECIPE_LATEST_VERSION_pn-mesa-demos = "8.0.1"
 RECIPE_LAST_UPDATE_pn-mesa-demos = "Jul 13, 2010"
 RECIPE_MANUAL_CHECK_DATE_pn-mesa-demos = "Jun 7, 2011" 
 
-RECIPE_STATUS_pn-gettext = "red"
+RECIPE_STATUS_pn-gettext = "green"
 RECIPE_LATEST_VERSION_pn-gettext = "0.18.1.1"
 RECIPE_LATEST_RELEASE_DATE_pn-gettext = "Jun 06, 2010"
 RECIPE_LAST_UPDATE_pn-gettext = "May 24, 2011"
-RECIPE_MANUAL_CHECK_DATE_pn-gettext = "Sep 29, 2011" 
+RECIPE_MANUAL_CHECK_DATE_pn-gettext = "Nov 25, 2011"
+RECIPE_MAINTAINER_pn-gettext = "Wenzong Fan <[email protected]>"
 
 RECIPE_STATUS_pn-pseudo = "green"
 RECIPE_LATEST_VERSION_pn-pseudo = "1.2"
Signature · 1 line
1.7.6.4
author
#26 lore raw

[CONSOLIDATED PULL 23/23] eglibc-initial: Fix kernel headers symlink being wrong

In reply to Saul Wold

From: Matthew McClintock <[email protected]>

symlinks to the kernel headers were pointing at the wrong location when being used from cache. Just copy the kernel headers instead

---
 meta/recipes-core/eglibc/eglibc-common.inc  |    2 +-
 meta/recipes-core/eglibc/eglibc-initial.inc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/eglibc/eglibc-common.inc +1 -1
index 4fa6488..6a93968 100644
@@ -3,7 +3,7 @@ DESCRIPTION = "Embedded GLIBC (EGLIBC) is a variant of the GNU C Library (GLIBC)
 HOMEPAGE = "http://www.eglibc.org/home"
 SECTION = "libs"
 LICENSE = "GPLv2 & LGPLv2.1"
-INC_PR = "r11"
+INC_PR = "r12"
 LIC_FILES_CHKSUM ?= "file://LICENSES;md5=07a394b26e0902b9ffdec03765209770 \
       file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
       file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
meta/recipes-core/eglibc/eglibc-initial.inc +1 -1
index 448f73a..f154d64 100644
@@ -48,7 +48,7 @@ do_install () {
 
 	# add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
 	for t in linux asm asm-generic; do
-		ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
+		cp -ar ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
 	done
 }
 
Signature · 1 line
1.7.6.4
author
#27 lore raw

[CONSOLIDATED PULL 21/23] binutils: upgrade from 2.21.1a to 2.22

In reply to Saul Wold

From: Nitin A Kamble <[email protected]>

And rebase the patches to the newer source code

This patch is upstream hence deleting it from the recipe.
binutils/110-arm-eabi-conf.patch

---
 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 ..._2.21.1a.bb => binutils-cross-canadian_2.22.bb} |    2 +-
 ...ils-cross_2.21.1a.bb => binutils-cross_2.22.bb} |    0
 ...osssdk_2.21.1a.bb => binutils-crosssdk_2.22.bb} |    2 +-
 .../binutils/binutils/110-arm-eabi-conf.patch      |   24 -
 .../binutils/binutils-2.19.1-ld-sysroot.patch      |   10 +-
 .../binutils/binutils/binutils-poison.patch        |   84 ++-
 .../binutils/binutils/binutils-powerpc-e5500.patch |   52 +-
 .../binutils/binutils-uclibc-100-uclibc-conf.patch |   40 +-
 ...binutils-uclibc-300-001_ld_makefile_patch.patch |   16 +-
 ...binutils-uclibc-300-006_better_file_error.patch |    9 +-
 ...ils-uclibc-300-012_check_ldrunpath_length.patch |   12 +-
 .../binutils/binutils-uclibc-gas-needs-libm.patch  |   11 +-
 .../binutils/binutils-x86_64_i386_biarch.patch     |   10 +-
 .../binutils/binutils/clone-shadow.patch           |   18 +-
 .../binutils/binutils/libiberty_path_fix.patch     |    8 +-
 .../binutils/binutils/libtool-2.4-update.patch     |  803 ++++++++++----------
 .../binutils/binutils/libtool-rpath-fix.patch      |   11 +-
 .../{binutils_2.21.1a.bb => binutils_2.22.bb}      |    7 +-
 19 files changed, 543 insertions(+), 578 deletions(-)
 rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.21.1a.bb => binutils-cross-canadian_2.22.bb} (86%)
 rename meta/recipes-devtools/binutils/{binutils-cross_2.21.1a.bb => binutils-cross_2.22.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.21.1a.bb => binutils-crosssdk_2.22.bb} (96%)
 delete mode 100644 meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch
 rename meta/recipes-devtools/binutils/{binutils_2.21.1a.bb => binutils_2.22.bb} (84%)
meta/conf/distro/include/tcmode-default.inc +1 -1
index ed722be..c22e7dc 100644
@@ -18,7 +18,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 
 GCCVERSION ?= "4.6%"
 SDKGCCVERSION ?= "4.6%"
-BINUVERSION ?= "2.21.1a"
+BINUVERSION ?= "2.22"
 EGLIBCVERSION ?= "2.13"
 UCLIBCVERSION ?= "0.9.32"
 LINUXLIBCVERSION ?= "3.1"
meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1a.bb +1 -1
similarity index 86%
rename from meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1a.bb
rename to meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb
index a49aded..7dad2a6 100644
@@ -1,3 +1,3 @@
 require binutils_${PV}.bb
 require binutils-cross-canadian.inc
-PR = "r2"
+PR = "r0"
meta/recipes-devtools/binutils/binutils-cross_2.22.bb renamed from meta/recipes-devtools/binutils/binutils-cross_2.21.1a.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils-cross_2.21.1a.bb
rename to meta/recipes-devtools/binutils/binutils-cross_2.22.bb
meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1a.bb +1 -1
similarity index 96%
rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1a.bb
rename to meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb
index 21289cd..0d6efff 100644
@@ -4,7 +4,7 @@ inherit crosssdk
 
 PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"
 
-PR = "r1"
+PR = "r0"
 
 do_configure_prepend () {
 	sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch deleted +0 -24
deleted file mode 100644
index dc49613..0000000
@@ -1,24 +0,0 @@
-Upstream-Status: Pending
-
---- /tmp/configure.ac	2008-06-22 14:14:59.000000000 +0200
-+++ binutils-2.18.50.0.7/configure.ac	2008-06-22 14:15:30.000000000 +0200
-@@ -561,7 +561,7 @@
-     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
-     libgloss_dir=arm
-     ;;
--  arm*-*-linux-gnueabi)
-+  arm*-*-linux-gnueabi | arm*-*-linux-uclibceabi)
-     noconfigdirs="$noconfigdirs target-qthreads"
-     noconfigdirs="$noconfigdirs target-libobjc"
-     case ${with_newlib} in
---- /tmp/configure	2008-06-22 14:17:11.000000000 +0200
-+++ binutils-2.18.50.0.7/configure	2008-06-22 14:17:56.000000000 +0200
-@@ -2307,7 +2307,7 @@
-     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
-     libgloss_dir=arm
-     ;;
--  arm*-*-linux-gnueabi)
-+  arm*-*-linux-gnueabi | arm*-*-linux-uclibceabi)
-     noconfigdirs="$noconfigdirs target-qthreads"
-     noconfigdirs="$noconfigdirs target-libobjc"
-     case ${with_newlib} in
meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch +5 -5
index 1a640ea..5e6be3a 100644
@@ -6,13 +6,13 @@ Signed-off-by: Sven Rebhan <[email protected]>
 
 Always try to prepend the sysroot prefix to absolute filenames first.
 
-Index: binutils-2.21/ld/ldfile.c
+Index: binutils-2.22/ld/ldfile.c
 ===================================================================
---- binutils-2.21.orig/ld/ldfile.c
-+++ binutils-2.21/ld/ldfile.c
-@@ -372,18 +372,24 @@ ldfile_open_file_search (const char *arc
+--- binutils-2.22.orig/ld/ldfile.c
++++ binutils-2.22/ld/ldfile.c
+@@ -351,18 +351,24 @@ ldfile_open_file_search (const char *arc
       directory first.  */
-   if (! entry->is_archive)
+   if (! entry->maybe_archive)
      {
 -      if (entry->sysrooted && IS_ABSOLUTE_PATH (entry->filename))
 +      /* For absolute pathnames, try to always open the file in the
meta/recipes-devtools/binutils/binutils/binutils-poison.patch +46 -38

157 lines not on this page · raw message

meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch +26 -26

101 lines not on this page · raw message

meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch +22 -18
index 3f627c6..b5a25c2 100644
@@ -1,28 +1,32 @@
 Upstream-Status: Pending
 
---- binutils-2.18.orig/configure
-+++ binutils-2.18/configure
-@@ -2206,7 +2206,7 @@
-   am33_2.0-*-linux*)
-     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+Index: binutils-2.22/configure
+===================================================================
+--- binutils-2.22.orig/configure
++++ binutils-2.22/configure
+@@ -3130,7 +3130,7 @@ case "${target}" in
      ;;
--  sh-*-linux*)
-+  sh*-*-linux*)
-     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+   s390-*-* | s390x-*-*)
      ;;
-   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
-@@ -2504,7 +2504,7 @@
-   romp-*-*)
-     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
+-  sh-*-* | sh[34]*-*-*)
++  sh*-*-* | sh[34]*-*-*)
+     ;;
+   sh64-*-* | sh5*-*-*)
+     ;;
+@@ -3570,7 +3570,7 @@ case "${target}" in
+   mips*-*-*)
+     noconfigdirs="$noconfigdirs gprof"
      ;;
 -  sh-*-* | sh64-*-*)
 +  sh*-*-* | sh64-*-*)
-     case "${host}" in
-       i[3456789]86-*-vsta) ;; # don't add gprof back in
-       i[3456789]86-*-go32*) ;; # don't add gprof back in
---- binutils-2.18.orig/gprof/configure
-+++ binutils-2.18/gprof/configure
-@@ -4124,6 +4124,11 @@
+     case "${target}" in
+       sh*-*-elf)
+          ;;
+Index: binutils-2.22/gprof/configure
+===================================================================
+--- binutils-2.22.orig/gprof/configure
++++ binutils-2.22/gprof/configure
+@@ -6103,6 +6103,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch +10 -6
index 07312d7..c6e1efc 100644
@@ -27,9 +27,11 @@ exit 0
 Upstream-Status: Inappropriate [debian patch]
 
 @DPATCH@
---- binutils-2.16.91.0.1/ld/Makefile.am
-+++ binutils-2.16.91.0.1/ld/Makefile.am
-@@ -20,7 +20,7 @@
+Index: binutils-2.22/ld/Makefile.am
+===================================================================
+--- binutils-2.22.orig/ld/Makefile.am
++++ binutils-2.22/ld/Makefile.am
+@@ -37,7 +37,7 @@ endif
  # We put the scripts in the directory $(scriptdir)/ldscripts.
  # We can't put the scripts in $(datadir) because the SEARCH_DIR
  # directives need to be different for native and cross linkers.
@@ -38,9 +40,11 @@ Upstream-Status: Inappropriate [debian patch]
  
  EMUL = @EMUL@
  EMULATION_OFILES = @EMULATION_OFILES@
---- binutils-2.16.91.0.1/ld/Makefile.in
-+++ binutils-2.16.91.0.1/ld/Makefile.in
-@@ -268,7 +268,7 @@
+Index: binutils-2.22/ld/Makefile.in
+===================================================================
+--- binutils-2.22.orig/ld/Makefile.in
++++ binutils-2.22/ld/Makefile.in
+@@ -366,7 +366,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
  # We put the scripts in the directory $(scriptdir)/ldscripts.
  # We can't put the scripts in $(datadir) because the SEARCH_DIR
  # directives need to be different for native and cross linkers.
meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch +5 -4
index 35835b3..47bd8ff 100644
@@ -25,10 +25,11 @@ exit 0
 Upstream-Status: Inappropriate [debian patch]
 
 @DPATCH@
-diff -urNad /home/james/debian/packages/binutils/binutils-2.14.90.0.6/bfd/opncls.c binutils-2.14.90.0.6/bfd/opncls.c
---- /home/james/debian/packages/binutils/binutils-2.14.90.0.6/bfd/opncls.c	2003-07-23 16:08:09.000000000 +0100
-+++ binutils-2.14.90.0.6/bfd/opncls.c	2003-09-10 22:35:00.000000000 +0100
-@@ -150,6 +150,13 @@
+Index: binutils-2.22/bfd/opncls.c
+===================================================================
+--- binutils-2.22.orig/bfd/opncls.c
++++ binutils-2.22/bfd/opncls.c
+@@ -197,6 +197,13 @@ bfd_fopen (const char *filename, const c
  {
    bfd *nbfd;
    const bfd_target *target_vec;
meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch +6 -6
index 3944f2e..d31f80c 100644
@@ -25,11 +25,11 @@ exit 0
 Upstream-Status: Inappropriate [debian patch]
 
 @DPATCH@
-Index: src/ld/emultempl/elf32.em
+Index: binutils-2.22/ld/emultempl/elf32.em
 ===================================================================
---- src.orig/ld/emultempl/elf32.em	2009-09-23 06:54:28.000000000 -0700
-+++ src/ld/emultempl/elf32.em	2009-10-06 10:58:16.883414592 -0700
-@@ -1237,6 +1237,8 @@ fragment <<EOF
+--- binutils-2.22.orig/ld/emultempl/elf32.em
++++ binutils-2.22/ld/emultempl/elf32.em
+@@ -1273,6 +1273,8 @@ fragment <<EOF
  	      && command_line.rpath == NULL)
  	    {
  	      lib_path = (const char *) getenv ("LD_RUN_PATH");
@@ -38,7 +38,7 @@ Index: src/ld/emultempl/elf32.em
  	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
  						      force))
  		break;
-@@ -1463,6 +1465,8 @@ gld${EMULATION_NAME}_before_allocation (
+@@ -1500,6 +1502,8 @@ gld${EMULATION_NAME}_before_allocation (
    rpath = command_line.rpath;
    if (rpath == NULL)
      rpath = (const char *) getenv ("LD_RUN_PATH");
@@ -46,4 +46,4 @@ Index: src/ld/emultempl/elf32.em
 +    rpath = NULL;
  
    for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
-     {
+     if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch +5 -6
index 5831579..3869faf 100644
@@ -19,11 +19,11 @@ floatformat.c:(.text+0x43e): undefined reference to `ldexp'
 collect2: ld returned 1 exit status
 make[4]: *** [as-new] Error 1
 
-Index: binutils-2.17.50/gas/configure.tgt
+Index: binutils-2.22/gas/configure.tgt
 ===================================================================
---- binutils-2.17.50.orig/gas/configure.tgt
-+++ binutils-2.17.50/gas/configure.tgt
-@@ -408,6 +408,12 @@ case ${generic_target} in
+--- binutils-2.22.orig/gas/configure.tgt
++++ binutils-2.22/gas/configure.tgt
+@@ -428,6 +428,12 @@ case ${generic_target} in
    *-*-netware)				fmt=elf em=netware ;;
  esac
  
@@ -34,6 +34,5 @@ Index: binutils-2.17.50/gas/configure.tgt
 +esac
 +
  case ${cpu_type} in
-   alpha | arm | i386 | ia64 | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
+   alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
      bfd_gas=yes
-
meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch +6 -4
index 16c775c..c09578a 100644
@@ -9,11 +9,13 @@
 # Adapted to binutils 2.18.50.0.7
 Upstream-Status: Inappropriate [embedded specific]
 
---- binutils/ld/emulparams/elf_i386.sh
-+++ binutils/ld/emulparams/elf_i386.sh
-@@ -12,3 +12,13 @@
+Index: binutils-2.22/ld/emulparams/elf_i386.sh
+===================================================================
+--- binutils-2.22.orig/ld/emulparams/elf_i386.sh
++++ binutils-2.22/ld/emulparams/elf_i386.sh
+@@ -14,3 +14,13 @@ GENERATE_PIE_SCRIPT=yes
+ NO_SMALL_DATA=yes
  SEPARATE_GOTPLT=12
- SHARABLE_SECTIONS=yes
  IREL_IN_PLT=
 +
 +# Linux modify the default library search path to first include
meta/recipes-devtools/binutils/binutils/clone-shadow.patch +9 -9
index 2939011..73d9db2 100644
@@ -11,11 +11,11 @@ binutils.
 Upstream-Status: Pending
 
 Signed-off-by: Khem Raj <[email protected]>
-Index: binutils-2.21.1/gas/config/obj-elf.c
+Index: binutils-2.22/gas/config/obj-elf.c
 ===================================================================
---- binutils-2.21.1.orig/gas/config/obj-elf.c	2011-03-23 07:14:03.000000000 -0700
-+++ binutils-2.21.1/gas/config/obj-elf.c	2011-07-16 19:05:57.003831035 -0700
-@@ -741,10 +741,10 @@
+--- binutils-2.22.orig/gas/config/obj-elf.c
++++ binutils-2.22/gas/config/obj-elf.c
+@@ -741,10 +741,10 @@ obj_elf_change_section (const char *name
  }
  
  static bfd_vma
@@ -28,7 +28,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
  
    while (len > 0)
      {
-@@ -775,7 +775,7 @@
+@@ -775,7 +775,7 @@ obj_elf_parse_section_letters (char *str
  	  attr |= SHF_TLS;
  	  break;
  	case '?':
@@ -37,7 +37,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
  	  break;
  	/* Compatibility.  */
  	case 'm':
-@@ -978,7 +978,7 @@
+@@ -978,7 +978,7 @@ obj_elf_section (int push)
  
        if (*input_line_pointer == '"')
  	{
@@ -46,7 +46,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
  
  	  beg = demand_copy_C_string (&dummy);
  	  if (beg == NULL)
-@@ -986,7 +986,7 @@
+@@ -986,7 +986,7 @@ obj_elf_section (int push)
  	      ignore_rest_of_line ();
  	      return;
  	    }
@@ -55,7 +55,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
  
  	  SKIP_WHITESPACE ();
  	  if (*input_line_pointer == ',')
-@@ -1038,10 +1038,10 @@
+@@ -1038,10 +1038,10 @@ obj_elf_section (int push)
  	      attr &= ~SHF_MERGE;
  	    }
  
@@ -68,7 +68,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
  	    }
  	  if ((attr & SHF_GROUP) != 0 && *input_line_pointer == ',')
  	    {
-@@ -1063,7 +1063,7 @@
+@@ -1063,7 +1063,7 @@ obj_elf_section (int push)
  	      attr &= ~SHF_GROUP;
  	    }
  
meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch +4 -4
index 3772dfb..6e732fb 100644
@@ -6,11 +6,11 @@ Thanks to RP for helping find the source code causing the issue.
 
 2010/08/13
 Nitin A Kamble <[email protected]>
-Index: binutils-2.20.1/libiberty/Makefile.in
+Index: binutils-2.22/libiberty/Makefile.in
 ===================================================================
---- binutils-2.20.1.orig/libiberty/Makefile.in
-+++ binutils-2.20.1/libiberty/Makefile.in
-@@ -327,7 +327,8 @@ install: install_to_$(INSTALL_DEST) inst
+--- binutils-2.22.orig/libiberty/Makefile.in
++++ binutils-2.22/libiberty/Makefile.in
+@@ -350,7 +350,8 @@ install-strip: install
  # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
  # default multilib, so we have to take CFLAGS into account as well,
  # since it will be passed the multilib flags.
meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch +388 -415

2,450 lines not on this page · raw message

meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch +6 -5
index 2666d31..4fcffa4 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/binutils/binutils_2.22.bb renamed from meta/recipes-devtools/binutils/binutils_2.21.1a.bb +2 -5
similarity index 84%
rename from meta/recipes-devtools/binutils/binutils_2.21.1a.bb
rename to meta/recipes-devtools/binutils/binutils_2.22.bb
index 2d4ed27..f0ed5e8 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.6.4

Part of the diff is not shown here. View the raw message.

#16 lore raw

PATCH 1/1 mesa-common: allow empty PN

In reply to Saul Wold
---
 meta/recipes-graphics/mesa/mesa-common.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
meta/recipes-graphics/mesa/mesa-common.inc +3 -0
index 7d729b4..df035e6 100644
@@ -38,6 +38,9 @@ EXTRA_OECONF = "--enable-glu \
 # Multiple virtual/gl providers being built breaks staging
 EXCLUDE_FROM_WORLD = "1"
 
+# ie mesa-dri could be empty and mesa-dri-dev RDEPENDS on it
+ALLOW_EMPTY_${PN} = "1"
+
 PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
 FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
 FILES_libgl = "${libdir}/libGL.so.*"
Signature · 1 line
1.7.8.rc4
#17 lore raw

Re: [PATCH] mesa-common: allow empty PN

Quoted 22 lines · Martin Jansa
---
 meta/recipes-graphics/mesa/mesa-common.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
meta/recipes-graphics/mesa/mesa-common.inc +3 -0
index 7d729b4..df035e6 100644
@@ -38,6 +38,9 @@ EXTRA_OECONF = "--enable-glu \
 # Multiple virtual/gl providers being built breaks staging
 EXCLUDE_FROM_WORLD = "1"
 
+# ie mesa-dri could be empty and mesa-dri-dev RDEPENDS on it
+ALLOW_EMPTY_${PN} = "1"
+
 PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
 FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
 FILES_libgl = "${libdir}/libGL.so.*"
Signature · 1 line
1.7.8.rc4

This is needed because
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012580.html

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#22 lore raw

Re: [CONSOLIDATED PULL 19/23] coreutils: build and install hostname

In reply to Saul Wold
Quoted 7 lines · Saul Wold

From: Dexuan Cui <[email protected]>

busybox's hostname doesn't work with pseudo somehow, so let's use the version of coreutils. This is needed for the self-hosted-image work.

Also add a patch to disable building the doc and manual: we don't really need them and this causes compilation error in the cross-compiling case.

Please split this patch up, its doing two different things. I'd also like to understand more about why the docs aren't working. We're supposed to be adding documentation and improving the documentation packages, not removing/disabling them :/.

Cheers,

Richard

#28 lore raw
In reply to Saul Wold

Thanks for putting this together Saul.

Quoted 10 lines

The following changes since commit 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939:

getVar/setVar cleanups (2011-11-26 22:42:00 +0000)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/stage
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage

Dexuan Cui (1):
coreutils: build and install hostname

This needs to be split up so I didn't take it.

Quoted 8 lines

Julian Pidancet (1):
Introduce multiarch DISTRO_FEATURE

Khem Raj (3):
default-distrovars: Define SDK_VERSION and DISTRO_VERSION toolchain-scripts.bbclass: Make it work when TCLIBC=uclibc
python-native: Fix gcc compiler detecting logic

Quoted 7 lines

Koen Kooi (3):
libjson: add 0.9
pulseaudio: update to 1.1, delete 0.9.x
opkg-utils: handle 6 digit UID fields properly

Martin Jansa (2):
mesa: package gl/egl/osmesa to separate packages

I took the above.

Quoted 1 line

mesa-common: install internal GL headers to libgl-dev

I didn't take this, its a nasty hack.

Quoted 2 lines

Matthew McClintock (2):
rpm_5.4.0.bb: Build rpm without xz

I took this.

Quoted 1 line

eglibc-initial: Fix kernel headers symlink being wrong

I've fixed the latter differently.

Quoted 14 lines

Nitin A Kamble (2):
binutils: upgrade from 2.21.1a to 2.22
distro-tracking: update information for binutils & libtool

Otavio Salvador (1):
xserver-xorg: only use --disable-dga in xserver-xorg-lite

Saul Wold (5):
runqemu: look for *-image* to be more flexible for image names
distro_tracking: Update manual check dates (readline, gcrypt) tzdata/tzcode: Update tzdata to 2011n
intltool: remove XML::Parser check
Self Hosted Image: Added Task and Images

Quoted 6 lines

Wenzong Fan (1):
distro_tracking: update tracking fields for gettext and eds-tools

Xiaofeng Yan (2):
libx11-trim: update to 1.4.4
distro_tracking_fields: update the status

I took these.

Cheers,

Richard

#18 lore raw

Re: [PATCH] mesa-common: allow empty PN

In reply to Martin Jansa
Quoted 14 lines · Martin Jansa
Quoted 13 lines · Martin Jansa
---
 meta/recipes-graphics/mesa/mesa-common.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
meta/recipes-graphics/mesa/mesa-common.inc +0 -0
index 7d729b4..df035e6 100644
@@ -38,6 +38,9 @@ EXTRA_OECONF = "--enable-glu \
 # Multiple virtual/gl providers being built breaks staging
 EXCLUDE_FROM_WORLD = "1"
 
Quoted 12 lines
Quoted 9 lines
meta/recipes-graphics/mesa/mesa-common.inc +3 -0
+# ie mesa-dri could be empty and mesa-dri-dev RDEPENDS on it
+ALLOW_EMPTY_${PN} = "1"
+
 PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
 FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
 FILES_libgl = "${libdir}/libGL.so.*"
Signature · 1 line
1.7.8.rc4

This is needed because
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012580.html

I've taken this, thanks.

Richard

#29 lore raw
In reply to Richard Purdie

Richard Purdie wrote on 2011-11-29:

Quoted 11 lines
Quoted 6 lines

The following changes since commit
2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939:

getVar/setVar cleanups (2011-11-26 22:42:00 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/stage

http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h = sgw/stage

Quoted 3 lines

Dexuan Cui (1):
coreutils: build and install hostname

Hi RP, Saul,
Please don't pull the patch -- I don't think we should use it now:
The purpose of the patch is to use the hostname of coreutils version rather than that of busybox version:
IIRC, because of http://bugzilla.pokylinux.org/show_bug.cgi?id=1784 (busybox not working with pseudo:libpseudo.so cannot be preloaded: ignored), busybox's hostname causes a non-fatal warning message in some package's do_configure's log (at this moment, I don't remember the package's name...), but, I think actually we can safely ignore the warning msg.

hostname of coreutils version has 2 issues: 1) need to disable doc/man generation to make do_compile pass; 2) it doesn't support -F : http://git.openembedded.org/openembedded/commit/?id=f2e1da7559d1798ae8314d8824c8d53da0b3506b so we have to fix(or hack) poky's meta/recipes-core/initscripts/initscripts-1.0/hostname.sh if we decide to use it.

After discussed with Saul, I think we may as well choose to do nothing to coreutils and endure the warning caused by busybox's hostname.

Thanks,
-- Dexuan