Skip to contentSkip to conversation

Updates and various fixes

GIT PULL Applied Saul Wold 3 participants 30 messages Aug 17, 2011

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

Richard,t

This address some issues with the x11 and bluez patches recently, it also has the latest kernel update. There is also a multi-lib change that needs your more detailed review.

The ofono patch from Anders had a question from Koen, so we might want to hold on that one, otherwise it looks OK to me.

Thanks

Sau!

The following changes since commit 13db5f420ca9bff98561f80d78958278734ad1f4:

distro-tracking: Update info for gpgme, libassuan, apr... after last upgrade. (2011-08-15 15:26:04 +0100)

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

Anders Darander (5):
qt4: allow a reduction in build time
qmake_base: add uclibceabi
connman: use DISTRO_FEATURES to enable wifi and bluetooth
ofono: conditionally enable bluetooth
create-pull-request: increase likelihood of detecting a rename

Bruce Ashfield (3):
linux-yocto: bump version string to 3.0.1
qemu: change default kernel to 3.0.x
linux-yocto: meta SRCREV bump

Dexuan Cui (10):
bluez-hcidump: upgrade from 2.0 to 2.1
tcf-agent: add openssl into DEPENDS
cronie: upgrade from 1.4.7 to 1.4.8
mdadm: upgrade mdadm from 3.2.1 to 3.2.2
util-macros: upgrade from 1.14.0 to the latest version 0.15.0
freetype: upgrade from 2.4.4 to 2.4.6
xproto: upgrade from 7.0.21 to 7.0.22
glproto: upgrade from 1.4.13 to 1.4.14
dri2proto: upgrade from 2.4 to 2.6 distro_tracking_fields.inc: update the info for the following recipes

Dmitry Eremin-Solenikov (1):
libxcb: enable native/nativesdk builds as was done previously in
meta-oe

Dongxiao Xu (4):
rootfs_rpm: Fix DEFAULTTUNE setting in multilib case
package_rpm: enhance strip_multilib function
package_rpm: Fix package rename issue in multilib case
gtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDS

Lianhao Lu (1):
package(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS

Phil Blundell (2):
cmake.bbclass, perlnative.bbclass: arrange for cmake to find
perl-native
libproxy: remove dependency on X libs

Zhai Edwin (1):
qemu: Make qemu buildable inside qemux86/qemuppc target

 meta/classes/cmake.bbclass                         |    3 +-
 meta/classes/gtk-icon-cache.bbclass                |    2 +-
 meta/classes/package.bbclass                       |   13 +--
 meta/classes/package_ipk.bbclass                   |   30 +---
 meta/classes/package_rpm.bbclass                   |   22 ++--
 meta/classes/perlnative.bbclass                    |    1 +
 meta/classes/qmake_base.bbclass                    |    2 +-
 meta/classes/rootfs_rpm.bbclass                    |    4 -
 meta/classes/utils.bbclass                         |   24 ++-
 .../conf/distro/include/distro_tracking_fields.inc |   56 +++---
 meta/conf/machine/include/qemu.inc                 |    1 -
 .../{bluez-hcidump_2.0.bb => bluez-hcidump_2.1.bb} |    4 +-
 meta/recipes-connectivity/connman/connman_0.75.bb  |    4 +-
 meta/recipes-connectivity/ofono/ofono.inc          |    3 +-
 meta/recipes-connectivity/ofono/ofono_0.50.bb      |    1 +
 meta/recipes-connectivity/ofono/ofono_git.bb       |    4 +
 meta/recipes-devtools/qemu/qemu.inc                |    5 +-
 meta/recipes-devtools/qemu/qemu_0.14.0.bb          |   24 ++-
 meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb   |    4 +-
 .../cronie/{cronie_1.4.7.bb => cronie_1.4.8.bb}    |    6 +-
 .../mdadm/fix_for_compilation_with_gcc-4.6.0.patch |  174 --------------------
 .../mdadm/{mdadm_3.2.1.bb => mdadm_3.2.2.bb}       |    9 +-
 .../no-hardcode.patch                              |    0
 .../{freetype_2.4.4.bb => freetype_2.4.6.bb}       |    8 +-
 meta/recipes-graphics/xcb/libxcb.inc               |    2 +
 .../restore_to_old_xDRI2BufferSwapComplete.patch   |   53 ------
 .../{dri2proto_2.4.bb => dri2proto_2.6.bb}         |    7 +-
 .../restore_the_old_xGLXBufferSwapComplete.patch   |   53 ------
 .../{glproto_1.4.13.bb => glproto_1.4.14.bb}       |    7 +-
 .../{xproto_7.0.21.bb => xproto_7.0.22.bb}         |    4 +-
 ...util-macros_1.14.0.bb => util-macros_1.15.0.bb} |    4 +-
 meta/recipes-kernel/linux/linux-yocto_3.0.bb       |    6 +-
 meta/recipes-qt/qt4/qt4.inc                        |   13 +-
 meta/recipes-support/libproxy/libproxy_0.4.6.bb    |    2 +-
 scripts/create-pull-request                        |    2 +-
 35 files changed, 143 insertions(+), 414 deletions(-)
 rename meta/recipes-connectivity/bluez/{bluez-hcidump_2.0.bb => bluez-hcidump_2.1.bb} (83%)
 rename meta/recipes-extended/cronie/{cronie_1.4.7.bb => cronie_1.4.8.bb} (94%)
 delete mode 100644 meta/recipes-extended/mdadm/mdadm/fix_for_compilation_with_gcc-4.6.0.patch
 rename meta/recipes-extended/mdadm/{mdadm_3.2.1.bb => mdadm_3.2.2.bb} (77%)
 rename meta/recipes-graphics/freetype/{freetype-2.4.4 => freetype-2.4.6}/no-hardcode.patch (100%)
 rename meta/recipes-graphics/freetype/{freetype_2.4.4.bb => freetype_2.4.6.bb} (82%)
 delete mode 100644 meta/recipes-graphics/xorg-proto/dri2proto/restore_to_old_xDRI2BufferSwapComplete.patch
 rename meta/recipes-graphics/xorg-proto/{dri2proto_2.4.bb => dri2proto_2.6.bb} (66%)
 delete mode 100644 meta/recipes-graphics/xorg-proto/glproto/restore_the_old_xGLXBufferSwapComplete.patch
 rename meta/recipes-graphics/xorg-proto/{glproto_1.4.13.bb => glproto_1.4.14.bb} (68%)
 rename meta/recipes-graphics/xorg-proto/{xproto_7.0.21.bb => xproto_7.0.22.bb} (72%)
 rename meta/recipes-graphics/xorg-util/{util-macros_1.14.0.bb => util-macros_1.15.0.bb} (80%)
Signature · 1 line
1.7.6
author
#1 lore raw

[CONSOLIDATED PULL 02/27] libproxy: remove dependency on X libs

From: Phil Blundell <[email protected]>

Nothing in the source refers to libX11 or libXmu so there would appear to be no good reason for them to be in DEPENDS. It looks as though these are perhaps a relic from an earlier version which did need those libraries.

---
 meta/recipes-support/libproxy/libproxy_0.4.6.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-support/libproxy/libproxy_0.4.6.bb +1 -1
index 5ee4979..d907c55 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \
                     file://utils/proxy.c;beginline=1;endline=18;md5=55152a1006d7dafbef32baf9c30a99c0"
 
 
-DEPENDS = "virtual/libx11 xmu gconf"
+DEPENDS = "gconf"
 
 SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz"
 
Signature · 1 line
1.7.6
author
#2 lore raw

[CONSOLIDATED PULL 01/27] cmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native

In reply to Saul Wold

From: Phil Blundell <[email protected]>

When CMake is looking for perl, it only searches in the specific directories that it's told about and ignores ${PATH}. If perlnative is in use, ensure that the appropriate installation path is added to the list of places that cmake will look for perl, otherwise it won't ever be found.

---
 meta/classes/cmake.bbclass      |    3 ++-
 meta/classes/perlnative.bbclass |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)
meta/classes/cmake.bbclass +2 -1
index 89a154f..ab23bed 100644
@@ -25,6 +25,7 @@ OECMAKE_C_FLAGS_RELEASE ?= "${SELECTED_OPTIMIZATION} ${CPPFLAGS} -DNDEBUG"
 OECMAKE_CXX_FLAGS_RELEASE ?= "${SELECTED_OPTIMIZATION} ${CXXFLAGS} -DNDEBUG"
 
 OECMAKE_RPATH ?= ""
+OECMAKE_PERLNATIVE_DIR ??= ""
 
 cmake_do_generate_toolchain_file() {
 	cat > ${WORKDIR}/toolchain.cmake <<EOF
@@ -41,7 +42,7 @@ set( CMAKE_CXX_FLAGS_RELEASE "${OECMAKE_CXX_FLAGS_RELEASE}" CACHE STRING "CXXFLA
 
 # only search in the paths provided so cmake doesnt pick
 # up libraries and tools from the native build machine
-set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} )
+set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR})
 set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY )
 set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
 set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
meta/classes/perlnative.bbclass +1 -0
index 522344d..2211b72 100644
@@ -1,2 +1,3 @@
 PATH_prepend = "${STAGING_BINDIR_NATIVE}/perl-native:"
 DEPENDS += "perl-native"
+OECMAKE_PERLNATIVE_DIR = "${STAGING_BINDIR_NATIVE}/perl-native"
Signature · 1 line
1.7.6
author
#3 lore raw

[CONSOLIDATED PULL 03/27] libxcb: enable native/nativesdk builds as was done previously in meta-oe

In reply to Saul Wold

From: Dmitry Eremin-Solenikov <[email protected]>

---
 meta/recipes-graphics/xcb/libxcb.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
meta/recipes-graphics/xcb/libxcb.inc +2 -0
index 5044917..015065e 100644
@@ -5,6 +5,8 @@ the protocol, improved threading support, and extensibility."
 HOMEPAGE = "http://xcb.freedesktop.org"
 BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
 
+BBCLASSEXTEND = "native nativesdk"
+
 SECTION = "x11/libs"
 LICENSE = "MIT-X"
 
Signature · 1 line
1.7.6
author
#4 lore raw

[CONSOLIDATED PULL 05/27] rootfs_rpm: Fix DEFAULTTUNE setting in multilib case

In reply to Saul Wold

From: Dongxiao Xu <[email protected]>

"virtclass-multilib" is set to OVERRIDES in multilib.bbclass, remove the duplicated settings here.

Besides, DEFAULTTUNE has overrided and it can be directly used.

[YOCTO #1368]

---
 meta/classes/rootfs_rpm.bbclass |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
meta/classes/rootfs_rpm.bbclass +0 -4
index 7c06064..7f24b9c 100644
@@ -215,10 +215,6 @@ python () {
         eext = ext.split(':')
         if len(eext) > 1 and eext[0] == 'multilib':
             localdata = bb.data.createCopy(d)
-            overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + eext[1]
-            localdata.setVar("OVERRIDES", overrides)
-            # TEMP: OVERRIDES isn't working right
-            localdata.setVar("DEFAULTTUNE", localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + eext[1], False) or "")
             ml_package_archs += localdata.getVar("PACKAGE_ARCHS", True) or ""
             #bb.note("ML_PACKAGE_ARCHS %s %s %s" % (eext[1], localdata.getVar("PACKAGE_ARCHS", True) or "(none)", overrides))
     bb.data.setVar('MULTILIB_PACKAGE_ARCHS', ml_package_archs, d)
Signature · 1 line
1.7.6
author
#5 lore raw

[CONSOLIDATED PULL 04/27] qemu: Make qemu buildable inside qemux86/qemuppc target

In reply to Saul Wold

From: Zhai Edwin <[email protected]>

It requires libx11 and libGL(if enabled GL) for building, which introduce extra dependence in qemuppc target. Futhermore, qemu's GL code is x86-oriented, thus some hacks needed for building in qemupcc. For simplicity, just make qemu GL's code for native only, so that qemu building is okay in world build.

[YOCTO #1011] got fixed.

---
 meta/recipes-devtools/qemu/qemu.inc       |    5 ++---
 meta/recipes-devtools/qemu/qemu_0.14.0.bb |   24 +++++++++++++++++++-----
 2 files changed, 21 insertions(+), 8 deletions(-)
meta/recipes-devtools/qemu/qemu.inc +2 -3
index 85476d6..e5414ff 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "open source processor emulator"
 HOMEPAGE = "http://qemu.org"
 LICENSE = "GPLv2 & LGPLv2.1"
-DEPENDS = "zlib alsa-lib qemugl"
+DEPENDS = "zlib alsa-lib virtual/libx11"
 
 # QEMU_TARGETS is overridable variable
 QEMU_TARGETS ?= "arm i386 mips mipsel mips64 mips64el ppc sh4 x86_64"
@@ -40,7 +40,7 @@ do_configure_prepend_virtclass-native() {
 
 do_configure() {
     ${S}/configure --prefix=${prefix} --sysconfdir=${sysconfdir} --disable-strip ${EXTRA_OECONF}
-    chmod a+x ${S}/target-i386/beginend_funcs.sh
+    test ! -e ${S}/target-i386/beginend_funcs.sh || chmod a+x ${S}/target-i386/beginend_funcs.sh
 }
 
 do_install () {
@@ -50,7 +50,6 @@ do_install () {
 	install -m 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu
 }
 
-SRC_URI_append_virtclass-nativesdk = " file://glflags.patch"
 DEPENDS_virtclass-native = "zlib-native alsa-lib-native"
 DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk"
 RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk"
meta/recipes-devtools/qemu/qemu_0.14.0.bb +19 -5
index de12f62..055321e 100644
@@ -11,22 +11,36 @@ FILESDIR = "${WORKDIR}"
 SRC_URI = "\
     http://download.savannah.gnu.org/releases/qemu/qemu-${PV}.tar.gz \
     file://powerpc_rom.bin \
-    file://qemu-git-qemugl-host.patch \
     file://no-strip.patch \
-    file://fix-nogl.patch \
-    file://qemugl-allow-glxcontext-release.patch \
     file://linker-flags.patch \
-    file://init-info.patch \
     file://qemu-vmware-vga-depth.patch \
-    file://enable-i386-linux-user.patch \
     file://fix-configure-checks.patch \
     file://fallback-to-safe-mmap_min_addr.patch \
     file://spice-qxl-locking-fix-for-qemu-kvm.patch \
     file://Detect-and-use-GCC-atomic-builtins-for-locking.patch \
     file://larger_default_ram_size.patch \
+    "
+
+# Only use the GL passthrough patches for native/nativesdk versions
+QEMUGLPATCHES = "\
+    file://qemu-git-qemugl-host.patch \
+    file://fix-nogl.patch \
+    file://qemugl-allow-glxcontext-release.patch \
+    file://init-info.patch \
+    file://enable-i386-linux-user.patch \
     file://qemugl-fix.patch \
     file://opengl-sdl-fix.patch \
     "
+
+SRC_URI_append_virtclass-native = "\
+    ${QEMUGLPATCHES} \
+    "
+
+SRC_URI_append_virtclass-nativesdk = "\
+    ${QEMUGLPATCHES} \
+    file://glflags.patch \
+    "
+
 SRC_URI[md5sum] = "f9d145d5c09de9f0984ffe9bd1229970"
 SRC_URI[sha256sum] = "ba21e84d7853217830e167dae9999cdbff481189c6a0bb600ac7fb7201453108"
 
Signature · 1 line
1.7.6
author
#6 lore raw

[CONSOLIDATED PULL 07/27] package_rpm: Fix package rename issue in multilib case

In reply to Saul Wold

From: Dongxiao Xu <[email protected]>

do_package task will write information into pkgdata and do_package_write_rpm will read them out. Take lib32-dates as an example, one of its RDEPENDS is li32-gtk+, and PKG_lib32-gtk+ = "libgtk-2.0", these info is stored at:
tmp/pkgdata/x86_64-pokymllib32-linux/runtime/lib32-dates.

Function "mapping_rename_hook" in do_package_write_rpm is to handle those renamed packages. However before it executes, translate_vers has stripped the multilib prefix out, making it failed to find PKG_gtk+ value in pkgdata.

This commit moves the strip_multilib out of translate_vers and call it after "mapping_rename_hook".

[YOCTO #1368]

---
 meta/classes/package_rpm.bbclass |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
meta/classes/package_rpm.bbclass +7 -7
index 7a0c6da..9ef1acd 100644
@@ -394,7 +394,7 @@ python write_specfile () {
 							pv = subd['PKGV']
 							reppv = pv.replace('-', '+')
 							ver = ver.replace(pv, reppv)
-				newdeps_dict[strip_multilib(dep, d)] = ver
+				newdeps_dict[dep] = ver
 			depends = bb.utils.join_deps(newdeps_dict)
 			bb.data.setVar(varname, depends.strip(), d)
 
@@ -516,12 +516,12 @@ python write_specfile () {
 		# Map the dependencies into their final form
 		bb.build.exec_func("mapping_rename_hook", localdata)
 
-		splitrdepends    = bb.data.getVar('RDEPENDS', localdata, True) or ""
-		splitrrecommends = bb.data.getVar('RRECOMMENDS', localdata, True) or ""
-		splitrsuggests   = bb.data.getVar('RSUGGESTS', localdata, True) or ""
-		splitrprovides   = bb.data.getVar('RPROVIDES', localdata, True) or ""
-		splitrreplaces   = bb.data.getVar('RREPLACES', localdata, True) or ""
-		splitrconflicts  = bb.data.getVar('RCONFLICTS', localdata, True) or ""
+		splitrdepends    = strip_multilib(bb.data.getVar('RDEPENDS', localdata, True), d) or ""
+		splitrrecommends = strip_multilib(bb.data.getVar('RRECOMMENDS', localdata, True), d) or ""
+		splitrsuggests   = strip_multilib(bb.data.getVar('RSUGGESTS', localdata, True), d) or ""
+		splitrprovides   = strip_multilib(bb.data.getVar('RPROVIDES', localdata, True), d) or ""
+		splitrreplaces   = strip_multilib(bb.data.getVar('RREPLACES', localdata, True), d) or ""
+		splitrconflicts  = strip_multilib(bb.data.getVar('RCONFLICTS', localdata, True), d) or ""
 		splitrobsoletes  = []
 
 		# For now we need to manually supplement RPROVIDES with any update-alternatives links
Signature · 1 line
1.7.6
author
#7 lore raw

[CONSOLIDATED PULL 08/27] gtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDS

In reply to Saul Wold

From: Dongxiao Xu <[email protected]>

When dynamically setting RDEPENDS, we need to add MLPREFIX to adapt multilib case.

[YOCTO #1368]

---
 meta/classes/gtk-icon-cache.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/gtk-icon-cache.bbclass +1 -1
index 3bfb8ff..d0840d5 100644
@@ -38,7 +38,7 @@ python populate_packages_append () {
 
 		bb.note("adding hicolor-icon-theme dependency to %s" % pkg)	
 		rdepends = bb.data.getVar('RDEPENDS_%s' % pkg, d, 1)
-		rdepends += " hicolor-icon-theme"
+		rdepends = rdepends + ' ' + bb.data.getVar('MLPREFIX', d) + "hicolor-icon-theme"
 		bb.data.setVar('RDEPENDS_%s' % pkg, rdepends, d)
 	
 		bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)
Signature · 1 line
1.7.6
author
#8 lore raw

[CONSOLIDATED PULL 17/27] util-macros: upgrade from 1.14.0 to the latest version 0.15.0

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

---
 ...util-macros_1.14.0.bb => util-macros_1.15.0.bb} |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-util/{util-macros_1.14.0.bb => util-macros_1.15.0.bb} (80%)
meta/recipes-graphics/xorg-util/util-macros_1.15.0.bb renamed from meta/recipes-graphics/xorg-util/util-macros_1.14.0.bb +2 -2
similarity index 80%
rename from meta/recipes-graphics/xorg-util/util-macros_1.14.0.bb
rename to meta/recipes-graphics/xorg-util/util-macros_1.15.0.bb
index 4fa235b..fb1772b 100644
@@ -20,5 +20,5 @@ RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
 
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[md5sum] = "cbe57cd7cc492a762466f5280a7ffba8"
-SRC_URI[sha256sum] = "9bd6949b930aadfce32bc9e101008d4c6ff48329ed0e3a467990bee69f574d66"
+SRC_URI[md5sum] = "c7f0c94126443f6744328a92d2b94cff"
+SRC_URI[sha256sum] = "db05c59c0e7843c398ed2847ba4b5bf54292499e5fcadbb7c38a445bf4347ab8"
Signature · 1 line
1.7.6
author
#9 lore raw

[CONSOLIDATED PULL 06/27] package_rpm: enhance strip_multilib function

In reply to Saul Wold

From: Dongxiao Xu <[email protected]>

The previous logic could only strip MLPREFIX from the first element in an array, take an example, strip_multilib the [lib32-a lib32-b lib32-c] will result in [a lib32-b lib32-c]. We need to strip prefix one by one.

This commit change the logic to strip all elements' multilib prefix.

[YOCTO #1368]

---
 meta/classes/package_rpm.bbclass |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
meta/classes/package_rpm.bbclass +4 -4
index b15786d..7a0c6da 100644
@@ -357,8 +357,8 @@ python write_specfile () {
 		multilibs = d.getVar('MULTILIBS', True) or ""
 		for ext in multilibs.split():
 			eext = ext.split(':')
-			if len(eext) > 1 and eext[0] == 'multilib' and name and name.find(eext[1] + '-') == 0:
-				name = (eext[1] + '-').join(name.split(eext[1] + '-', 1)[1:])
+			if len(eext) > 1 and eext[0] == 'multilib' and name and name.find(eext[1] + '-') >= 0:
+				name = "".join(name.split(eext[1] + '-'))
 		return name
 
 #		ml = bb.data.getVar("MLPREFIX", d, True)
@@ -755,8 +755,8 @@ python do_package_rpm () {
 	# and dependency information...
 	def strip_multilib(name, d):
 		ml = bb.data.getVar("MLPREFIX", d, True)
-		if ml and name and len(ml) != 0 and name.find(ml) == 0:
-			return ml.join(name.split(ml, 1)[1:])
+		if ml and name and len(ml) != 0 and name.find(ml) >= 0:
+			return "".join(name.split(ml))
 		return name
 
 	workdir = bb.data.getVar('WORKDIR', d, True)
Signature · 1 line
1.7.6
author
#10 lore raw

[CONSOLIDATED PULL 18/27] freetype: upgrade from 2.4.4 to 2.4.6

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

freetype-2.4.6/docs/LICENSE.TXT changed a little to describe more clearly the compatibility about FreeTypeLicense and GPLv2+, but the actual license remains unchanged: it's still LICENSE = "FreeTypeLicense | GPLv2+".

---
 .../no-hardcode.patch                              |    0
 .../{freetype_2.4.4.bb => freetype_2.4.6.bb}       |    8 ++++----
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/freetype/{freetype-2.4.4 => freetype-2.4.6}/no-hardcode.patch (100%)
 rename meta/recipes-graphics/freetype/{freetype_2.4.4.bb => freetype_2.4.6.bb} (82%)
meta/recipes-graphics/freetype/freetype-2.4.6/no-hardcode.patch renamed from meta/recipes-graphics/freetype/freetype-2.4.4/no-hardcode.patch +0 -0
similarity index 100%
rename from meta/recipes-graphics/freetype/freetype-2.4.4/no-hardcode.patch
rename to meta/recipes-graphics/freetype/freetype-2.4.6/no-hardcode.patch
meta/recipes-graphics/freetype/freetype_2.4.6.bb renamed from meta/recipes-graphics/freetype/freetype_2.4.4.bb +4 -4
similarity index 82%
rename from meta/recipes-graphics/freetype/freetype_2.4.4.bb
rename to meta/recipes-graphics/freetype/freetype_2.4.6.bb
index 661650c..8150dd4 100644
@@ -7,9 +7,9 @@ HOMEPAGE = "http://www.freetype.org/"
 BUGTRACKER = "https://savannah.nongnu.org/bugs/?group=freetype"
 
 LICENSE = "FreeTypeLicense | GPLv2+"
-LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=8bc1a580aeb518100d00a2dd29e68edf \
+LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=28d5381b1bef2649c59f20c20bae4f39 \
                     file://docs/FTL.TXT;md5=d479e83797f699fe873b38dadd0fcd4c \
-                    file://docs/GPL.TXT;md5=8ef380476f642c20ebf40fecb0add2ec"
+                    file://docs/GPLv2.TXT;md5=8ef380476f642c20ebf40fecb0add2ec"
 
 SECTION = "libs"
 
@@ -18,8 +18,8 @@ PR = "r0"
 SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
            file://no-hardcode.patch"
 
-SRC_URI[md5sum] = "b3e2b6e2f1c3e0dffa1fd2a0f848b671"
-SRC_URI[sha256sum] = "4b8281c7dc4d375c6b65d3c6f4808e488a313fab47d7be82aad2c871c8480fef"
+SRC_URI[md5sum] = "5e6510613f612809d2d7862592b92ab7"
+SRC_URI[sha256sum] = "24a4a57f3a6859887e91f90f93f754cfc7bf9ab9246a3a696435a0c6a7a1e92a"
 
 S = "${WORKDIR}/freetype-${PV}"
 
Signature · 1 line
1.7.6
author
#11 lore raw

[CONSOLIDATED PULL 11/27] linux-yocto: meta SRCREV bump

In reply to Saul Wold

From: Bruce Ashfield <[email protected]>

Bumping the linux-yocto meta SRCREV to pickup new target configurations and features.

---
 meta/recipes-kernel/linux/linux-yocto_3.0.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-kernel/linux/linux-yocto_3.0.bb +1 -1
index 132ee0f..44f1ebe 100644
@@ -20,7 +20,7 @@ SRCREV_machine_qemuppc = "c0f5dd4ef37b445d8ac73b11dd93e0ffdb7e9f6d"
 SRCREV_machine_qemux86 = "c29beadfd4364aca9358ac0fdb8356c1dbbdacb2"
 SRCREV_machine_qemux86-64 = "d0b814813bce09971c5cbb0d22bacb8842146fa0"
 SRCREV_machine = "ad13129a87957656c18584793abcee51de0e196a"
-SRCREV_meta = "7782fc673afd6a1c742409896ae787560d96fce8"
+SRCREV_meta = "9da70812ecddee0f7eeb11675f29497cb997275e"
 
 PR = "r1"
 PV = "${LINUX_VERSION}+git${SRCPV}"
Signature · 1 line
1.7.6
author
#12 lore raw

[CONSOLIDATED PULL 10/27] qemu: change default kernel to 3.0.x

In reply to Saul Wold

From: Bruce Ashfield <[email protected]>

The explicit setting of version preference to 2.6.37 is no longer required. All of the qemu targets have been built and boot tested on 3.0.1 for core-image-minimal and core-image-sato and are safe for wider build/boot testing.

---
 meta/conf/machine/include/qemu.inc |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
meta/conf/machine/include/qemu.inc +0 -1
index 4cab6f3..9ef242f 100644
@@ -12,7 +12,6 @@ RDEPENDS_kernel-base = ""
 
 # Use a common kernel recipe for all QEMU machines
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "2.6.37+git%"
 #PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
 
 EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
Signature · 1 line
1.7.6
author
#13 lore raw

[CONSOLIDATED PULL 09/27] linux-yocto: bump version string to 3.0.1

In reply to Saul Wold

From: Bruce Ashfield <[email protected]>

There was some confusion around the 3.0 version string in the linux-yocto recipe when the merged version was 3.0.1. Bumping the version string should clarify what version will be fetched.

---
 meta/recipes-kernel/linux/linux-yocto_3.0.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux/linux-yocto_3.0.bb +2 -2
index ba352e2..132ee0f 100644
@@ -11,7 +11,7 @@ KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
 KBRANCH = ${KMACHINE}
 KMETA = meta
 
-LINUX_VERSION ?= "3.0"
+LINUX_VERSION ?= "3.0.1"
 LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
 
 SRCREV_machine_qemuarm = "36b4cdddcafc711f0ec9ad97882f23a6443c61b2"
@@ -22,7 +22,7 @@ SRCREV_machine_qemux86-64 = "d0b814813bce09971c5cbb0d22bacb8842146fa0"
 SRCREV_machine = "ad13129a87957656c18584793abcee51de0e196a"
 SRCREV_meta = "7782fc673afd6a1c742409896ae787560d96fce8"
 
-PR = "r0"
+PR = "r1"
 PV = "${LINUX_VERSION}+git${SRCPV}"
 SRCREV_FORMAT = "meta_machine"
 
Signature · 1 line
1.7.6
author
#14 lore raw

[CONSOLIDATED PULL 19/27] xproto: upgrade from 7.0.21 to 7.0.22

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

---
 .../{xproto_7.0.21.bb => xproto_7.0.22.bb}         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-proto/{xproto_7.0.21.bb => xproto_7.0.22.bb} (72%)
meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb renamed from meta/recipes-graphics/xorg-proto/xproto_7.0.21.bb +2 -2
similarity index 72%
rename from meta/recipes-graphics/xorg-proto/xproto_7.0.21.bb
rename to meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb
index 17b3793..54f8482 100644
@@ -14,6 +14,6 @@ PE = "1"
 EXTRA_OECONF_append = " --enable-specs=no"
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[md5sum] = "c5a93a69b701cf81925fab02b35b0d0e"
-SRC_URI[sha256sum] = "38ee2f032c3a9e30504593f8b5e6c1161a6629daba93748a71c6f70c16f65548"
+SRC_URI[md5sum] = "da0b0eb2f432b7cc1d665b05422a0457"
+SRC_URI[sha256sum] = "ad8397dd2a3de7249d2f3fb3a49444fef71483d43681285936c11911663817a8"
 
Signature · 1 line
1.7.6
author
#15 lore raw

[CONSOLIDATED PULL 12/27] package(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS

In reply to Saul Wold

From: Lianhao Lu <[email protected]>

[YOCTO #1345]
The new variable ALL_MULTILIB_PACKAGE_ARCHS contains all the values of PACKAGE_ARCHS for each multilib variants. The opkg backend now uses this new value insteald of the PACKAGE_ARCHS to update the opkg indexes and to generate the opkg configuration files. This allows the normal packages and multilib packages may be installed into the same rootfs.

---
 meta/classes/package.bbclass     |   13 ++-----------
 meta/classes/package_ipk.bbclass |   30 ++++++++----------------------
 meta/classes/utils.bbclass       |   24 +++++++++++++++++++-----
 3 files changed, 29 insertions(+), 38 deletions(-)
meta/classes/package.bbclass +2 -11
index 100f465..96675de 100644
@@ -46,6 +46,8 @@ PKGDEST = "${WORKDIR}/packages-split"
 
 LOCALE_SECTION ?= ''
 
+ALL_MULTILIB_PACKAGE_ARCHS = "${@all_multilib_tune_values(d, 'PACKAGE_ARCHS')}"
+
 # rpm is used for the per-file dependency identification
 PACKAGE_DEPENDS += "rpm-native"
 
@@ -184,17 +186,6 @@ python () {
         bb.data.setVarFlag('do_package', 'deptask', " ".join(deps), d)
     else:
         d.setVar("PACKAGERDEPTASK", "")
-
-    multilib_archs = []
-    multilibs= d.getVar('MULTILIBS', True) or ""
-    if multilibs:
-        for ext in multilibs.split():
-            eext = ext.split(':')
-            if len(eext) > 1:
-                if eext[0] == 'multilib':
-                    multilib_archs.append('ml' + eext[1])
-
-    d.setVar("MULTILIB_ARCHS", ' '.join(multilib_archs))
 }
 
 def splitfile(file, debugfile, debugsrcdir, d):
meta/classes/package_ipk.bbclass +8 -22
index 8ecf511..e83aff8 100644
@@ -64,14 +64,13 @@ python package_ipk_install () {
 package_tryout_install_multilib_ipk() {
 	#try install multilib
 	multilib_tryout_dirs=""
-	for arch in ${MULTILIB_ARCHS}; do
-		local target_rootfs="${MULTILIB_TEMP_ROOTFS}/${arch}"
+	for item in ${MULTILIB_VARIANTS}; do
+		local target_rootfs="${MULTILIB_TEMP_ROOTFS}/${item}"
 		local ipkg_args="-f ${INSTALL_CONF_IPK} -o ${target_rootfs} --force_overwrite"
 		local selected_pkg=""
-		#strip the "ml" from package_arch
-		local pkgarch_prefix="${arch:2}-"
-		for pkg in "${INSTALL_PACKAGES_MULTILIB_IPK}"; do
-			if [ ${pkg:0:${#pkgarch_prefix}} == ${pkgarch_prefix} ]; then
+		local pkgname_prefix="${item}-"
+		for pkg in ${INSTALL_PACKAGES_MULTILIB_IPK}; do
+			if [ ${pkg:0:${#pkgname_prefix}} == ${pkgname_prefix} ]; then
 			    selected_pkg="${selected_pkg} ${pkg}"
 			fi
 		done
@@ -163,7 +162,7 @@ ipk_log_check() {
 package_update_index_ipk () {
 	set -x
 
-	ipkgarchs="${PACKAGE_ARCHS} ${SDK_PACKAGE_ARCHS}"
+	ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS} ${SDK_PACKAGE_ARCHS}"
 
 	if [ ! -z "${DEPLOY_KEEP_PACKAGES}" ]; then
 		return
@@ -203,19 +202,12 @@ package_generate_ipkg_conf () {
 	done
 
 	echo "src oe file:${DEPLOY_DIR_IPK}" >> ${IPKGCONF_TARGET}
-	ipkgarchs="${PACKAGE_ARCHS}"
+	ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS}"
 	for arch in $ipkgarchs; do
 		if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then
 		        echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET}
 		fi
 	done
-
-	multilib_archs="${MULTILIB_ARCHS}"
-	for arch in $multilib_archs; do
-		if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then
-		        echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET}
-		fi
-	done
 }
 
 package_generate_archlist () {
@@ -226,18 +218,12 @@ package_generate_archlist () {
 		priority=$(expr $priority + 5)
 	done
 
-	ipkgarchs="${PACKAGE_ARCHS}"
+	ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS}"
 	priority=1
 	for arch in $ipkgarchs; do
 		echo "arch $arch $priority" >> ${IPKGCONF_TARGET}
 		priority=$(expr $priority + 5)
 	done
-
-	multilib_archs="${MULTILIB_ARCHS}"
-	for arch in $multilib_archs; do
-		echo "arch $arch $priority" >> ${IPKGCONF_TARGET}
-		priority=$(expr $priority + 5)
-	done
 }
 
 python do_package_ipk () {
meta/classes/utils.bbclass +19 -5
index c66c184..56abdd8 100644
@@ -352,12 +352,16 @@ def extend_variants(d, var, extend, delim=':'):
 			variants.append(eext[1])
 	return " ".join(variants)
 
-def all_multilib_tune_values(d, var, unique=True):
+def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '):
 	"""Return a string of all ${var} in all multilib tune configuration"""
 	values = []
 	value = d.getVar(var, True) or ""
 	if value != "":
-		values.append(value)
+		if need_split:
+			for item in value.split(delim):
+				values.append(item)
+		else:
+			values.append(value)
 	variants = d.getVar("MULTILIB_VARIANTS", True) or ""
 	for item in variants.split():
 		localdata = bb.data.createCopy(d)
@@ -366,7 +370,17 @@ def all_multilib_tune_values(d, var, unique=True):
 		bb.data.update_data(localdata)
 		value = localdata.getVar(var, True) or ""
 		if value != "":
-			values.append(value)
+			if need_split:
+				for item in value.split(delim):
+					values.append(item)
+			else:
+				values.append(value)
 	if unique:
-		values = set(values)
-	return " ".join(values)
+		#we do this to keep order as much as possible
+		ret = []
+		for value in values:
+			if not value in ret:
+				ret.append(value)
+	else:
+		ret = values
+	return " ".join(ret)
Signature · 1 line
1.7.6
author
#16 lore raw

[CONSOLIDATED PULL 13/27] bluez-hcidump: upgrade from 2.0 to 2.1

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

[YOCTO #1371]

Recently bluez4 was updated from 4.82 to 4.96 and bluez-hcidump can't build:
src/hcidump.c:54:24: error: redefinition of 'ntoh64'.

In 2.1 the duplicated definition of ntoh64 was removed.

---
 .../{bluez-hcidump_2.0.bb => bluez-hcidump_2.1.bb} |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/bluez/{bluez-hcidump_2.0.bb => bluez-hcidump_2.1.bb} (83%)
meta/recipes-connectivity/bluez/bluez-hcidump_2.1.bb renamed from meta/recipes-connectivity/bluez/bluez-hcidump_2.0.bb +2 -2
similarity index 83%
rename from meta/recipes-connectivity/bluez/bluez-hcidump_2.0.bb
rename to meta/recipes-connectivity/bluez/bluez-hcidump_2.1.bb
index c271ed2..ce84f58 100644
@@ -11,8 +11,8 @@ PR = "r0"
 
 SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/bluez-hcidump-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "5c2e3ef0a68b2845047867ba51ff8ac9"
-SRC_URI[sha256sum] = "b3b64fd0b18301df07d3aaf34c037c1e4808b4aaf702294822d62b5424f617fd"
+SRC_URI[md5sum] = "b160f0672276398344eebe9df1b37a2c"
+SRC_URI[sha256sum] = "a6cc20b95b6b1a28ff336aad91e124555231628689225c1155e8cd7aac1af86d"
 S = "${WORKDIR}/bluez-hcidump-${PV}"
 
 EXTRA_OECONF = "--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR}"
Signature · 1 line
1.7.6
author
#17 lore raw

[CONSOLIDATED PULL 15/27] cronie: upgrade from 1.4.7 to 1.4.8

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

---
 .../cronie/{cronie_1.4.7.bb => cronie_1.4.8.bb}    |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/cronie/{cronie_1.4.7.bb => cronie_1.4.8.bb} (94%)
meta/recipes-extended/cronie/cronie_1.4.8.bb renamed from meta/recipes-extended/cronie/cronie_1.4.7.bb +3 -3
similarity index 94%
rename from meta/recipes-extended/cronie/cronie_1.4.7.bb
rename to meta/recipes-extended/cronie/cronie_1.4.8.bb
index bb715f2..4cfdfad 100644
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=963ea0772a2adbdcd607a9b2ec320c11 \
 SECTION = "utils"
 
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
-PR = "r3"
+PR = "r0"
 
 SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
            file://crond.init \
@@ -25,8 +25,8 @@ SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
 PAM_SRC_URI = "file://crond_pam_config.patch"
 
 
-SRC_URI[md5sum] = "dfc26c47756d0c40ee27ae3c7ee98e0d"
-SRC_URI[sha256sum] = "83bae15ae5504454ba74f4142f5db3aa22be594327fea19d2534f65803137fbd"
+SRC_URI[md5sum] = "9b1d2ce6db8d1883e06635f437170657"
+SRC_URI[sha256sum] = "a3b910876f255712f1a5c364b74f34b0ceac9f6f3bbc45e854c5722785f513b3"
 
 inherit autotools update-rc.d
 
Signature · 1 line
1.7.6
author
#18 lore raw

[CONSOLIDATED PULL 14/27] tcf-agent: add openssl into DEPENDS

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

[YOCTO #1330]

If tcf-agent's do_compile happens before openssl does populate_root, we'll get such a compilation failure:
framework/channel_tcp.c:34:27: fatal error: openssl/ssl.h: No such file or directory

Thanks Kumar Gala for reporting this!

---
 meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb +2 -2
index 3f97f69..37591c2 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://../epl-v10.html;md5=7aa4215a330a0a4f6a1cbf8da1a0879f
 
 SRCREV = "1855"
 PV = "0.0+svnr${SRCPV}"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "svn://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk;module=agent;proto=http \
            http://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk/epl-v10.html;name=epl \
@@ -19,7 +19,7 @@ SRC_URI = "svn://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk;module=ag
 SRC_URI[epl.md5sum] = "7aa4215a330a0a4f6a1cbf8da1a0879f"
 SRC_URI[epl.sha256sum] = "4fd64aeed340d62a64a8da4b371efe0f6d0d745f4d2dbefacba86c646d36bc72"
 
-DEPENDS = "util-linux"
+DEPENDS = "util-linux openssl"
 RDEPENDS_${PN} = "bash"
 
 S = "${WORKDIR}/agent"
Signature · 1 line
1.7.6
author
#19 lore raw

[CONSOLIDATED PULL 16/27] mdadm: upgrade mdadm from 3.2.1 to 3.2.2

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

Remove the patch since 3.2.2 has integrated it.

---
 .../mdadm/fix_for_compilation_with_gcc-4.6.0.patch |  174 --------------------
 .../mdadm/{mdadm_3.2.1.bb => mdadm_3.2.2.bb}       |    9 +-
 2 files changed, 4 insertions(+), 179 deletions(-)
 delete mode 100644 meta/recipes-extended/mdadm/mdadm/fix_for_compilation_with_gcc-4.6.0.patch
 rename meta/recipes-extended/mdadm/{mdadm_3.2.1.bb => mdadm_3.2.2.bb} (77%)
meta/recipes-extended/mdadm/mdadm/fix_for_compilation_with_gcc-4.6.0.patch deleted +0 -174
deleted file mode 100644
index f79511b..0000000
@@ -1,174 +0,0 @@
-Upstream-Status: Pending
-
-Nitin A Kamble <[email protected]> 2011/05/06
-
-Fix these compilation errors with gcc 4.6.0
-
-| super1.c: In function 'calc_sb_1_csum':
-| super1.c:114:6: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
-| Query.c: In function 'Query':
-| Query.c:38:16: error: variable 'superrno' set but not used [-Werror=unused-but-set-variable]
-| super1.c: In function 'examine_super1':
-| super1.c:390:7: error: variable 'me' set but not used [-Werror=unused-but-set-variable]
-| cc1: all warnings being treated as errors
-| 
-| make: *** [Query.o] Error 1
-| make: *** Waiting for unfinished jobs....
-| mdadm.c: In function 'main':
-| mdadm.c:106:6: error: variable 'auto_update_home' set but not used [-Werror=unused-but-set-variable]
-| mdmon.c: In function 'mdmon':
-| mdmon.c:354:6: error: variable 'ignore' set but not used [-Werror=unused-but-set-variable]
-| cc1: all warnings being treated as errors
-| 
-| make: *** [mdmon.o] Error 1
-| cc1: all warnings being treated as errors
-| 
-| sysfs.c: In function 'sysfs_uevent':
-| sysfs.c:421:6: error: variable 'n' set but not used [-Werror=unused-but-set-variable]
-| cc1: all warnings being treated as errors
-| 
-| make: *** [mdadm.o] Error 1
-| make: *** [super1.o] Error 1
-| cc1: all warnings being treated as errors
-| 
-| make: *** [sysfs.o] Error 1
-| Grow.c: In function 'Grow_reshape':
-| Grow.c:1315:6: error: variable 'changed' set but not used [-Werror=unused-but-set-variable]
-| cc1: all warnings being treated as errors
-| 
-| make: *** [Grow.o] Error 1
-| ERROR: oe_runmake failed
-
-Index: mdadm-3.2.1/Grow.c
-===================================================================
---- mdadm-3.2.1.orig/Grow.c
-+++ mdadm-3.2.1/Grow.c
-@@ -1312,7 +1312,6 @@ int Grow_reshape(char *devname, int fd, 
- 	char *subarray = NULL;
- 
- 	int frozen;
--	int changed = 0;
- 	char *container = NULL;
- 	char container_buf[20];
- 	int cfd = -1;
-@@ -1479,7 +1478,6 @@ int Grow_reshape(char *devname, int fd, 
- 		if (!quiet)
- 			fprintf(stderr, Name ": component size of %s has been set to %lluK\n",
- 				devname, size);
--		changed = 1;
- 	} else if (array.level != LEVEL_CONTAINER) {
- 		size = get_component_size(fd)/2;
- 		if (size == 0)
-Index: mdadm-3.2.1/Query.c
-===================================================================
---- mdadm-3.2.1.orig/Query.c
-+++ mdadm-3.2.1/Query.c
-@@ -35,7 +35,7 @@ int Query(char *dev)
- 	int fd = open(dev, O_RDONLY);
- 	int vers;
- 	int ioctlerr;
--	int superror, superrno;
-+	int superror;
- 	struct mdinfo info;
- 	mdu_array_info_t array;
- 	struct supertype *st = NULL;
-@@ -84,7 +84,6 @@ int Query(char *dev)
- 	st = guess_super(fd);
- 	if (st) {
- 		superror = st->ss->load_super(st, fd, dev);
--		superrno = errno;
- 	} else
- 		superror = -1;
- 	close(fd);
-Index: mdadm-3.2.1/mdadm.c
-===================================================================
---- mdadm-3.2.1.orig/mdadm.c
-+++ mdadm-3.2.1/mdadm.c
-@@ -103,7 +103,7 @@ int main(int argc, char *argv[])
- 	char *shortopt = short_options;
- 	int dosyslog = 0;
- 	int rebuild_map = 0;
--	int auto_update_home = 0;
-+	int __attribute__((__unused__)) auto_update_home = 0;
- 	char *subarray = NULL;
- 	char *remove_path = NULL;
- 	char *udev_filename = NULL;
-Index: mdadm-3.2.1/mdmon.c
-===================================================================
---- mdadm-3.2.1.orig/mdmon.c
-+++ mdadm-3.2.1/mdmon.c
-@@ -351,7 +351,6 @@ static int mdmon(char *devname, int devn
- 	struct sigaction act;
- 	int pfd[2];
- 	int status;
--	int ignore;
- 	pid_t victim = -1;
- 	int victim_sock = -1;
- 
-@@ -459,7 +458,6 @@ static int mdmon(char *devname, int devn
- 	if (victim >= 0)
- 		victim_sock = connect_monitor(container->devname);
- 
--	ignore = chdir("/");
- 	if (!takeover && victim > 0 && victim_sock >= 0) {
- 		if (fping_monitor(victim_sock) == 0) {
- 			fprintf(stderr, "mdmon: %s already managed\n",
-@@ -507,10 +505,8 @@ static int mdmon(char *devname, int devn
- 	close(0);
- 	open("/dev/null", O_RDWR);
- 	close(1);
--	ignore = dup(0);
- #ifndef DEBUG
- 	close(2);
--	ignore = dup(0);
- #endif
- 
- 	do_manager(container);
-Index: mdadm-3.2.1/super1.c
-===================================================================
---- mdadm-3.2.1.orig/super1.c
-+++ mdadm-3.2.1/super1.c
-@@ -111,7 +111,6 @@ static unsigned int calc_sb_1_csum(struc
- 	unsigned long long newcsum;
- 	int size = sizeof(*sb) + __le32_to_cpu(sb->max_dev)*2;
- 	unsigned int *isuper = (unsigned int*)sb;
--	int i;
- 
- /* make sure I can count... */
- 	if (offsetof(struct mdp_superblock_1,data_offset) != 128 ||
-@@ -123,7 +122,7 @@ static unsigned int calc_sb_1_csum(struc
- 	disk_csum = sb->sb_csum;
- 	sb->sb_csum = 0;
- 	newcsum = 0;
--	for (i=0; size>=4; size -= 4 ) {
-+	for (; size>=4; size -= 4 ) {
- 		newcsum += __le32_to_cpu(*isuper);
- 		isuper++;
- 	}
-@@ -387,13 +386,10 @@ static void examine_super1(struct supert
- 	printf("   Array State : ");
- 	for (d=0; d<__le32_to_cpu(sb->raid_disks) + delta_extra; d++) {
- 		int cnt = 0;
--		int me = 0;
- 		unsigned int i;
- 		for (i=0; i< __le32_to_cpu(sb->max_dev); i++) {
- 			unsigned int role = __le16_to_cpu(sb->dev_roles[i]);
- 			if (role == d) {
--				if (i == __le32_to_cpu(sb->dev_number))
--					me = 1;
- 				cnt++;
- 			}
- 		}
-Index: mdadm-3.2.1/sysfs.c
-===================================================================
---- mdadm-3.2.1.orig/sysfs.c
-+++ mdadm-3.2.1/sysfs.c
-@@ -418,7 +418,7 @@ int sysfs_set_num(struct mdinfo *sra, st
- int sysfs_uevent(struct mdinfo *sra, char *event)
- {
- 	char fname[50];
--	int n;
-+	int __attribute__((__unused__)) n;
- 	int fd;
- 
- 	sprintf(fname, "/sys/block/%s/uevent",
meta/recipes-extended/mdadm/mdadm_3.2.2.bb renamed from meta/recipes-extended/mdadm/mdadm_3.2.1.bb +4 -5
similarity index 77%
rename from meta/recipes-extended/mdadm/mdadm_3.2.1.bb
rename to meta/recipes-extended/mdadm/mdadm_3.2.2.bb
index 80fe520..5d29ae7 100644
@@ -8,13 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
                     file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \
                     file://mdadm.h;beglinlne=4;endline=22;md5=462bc9936ac0d3da110191a3f9994161"
 
-PR = "r1"
+PR = "r0"
 
-SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.bz2 \
-	file://fix_for_compilation_with_gcc-4.6.0.patch"
+SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.bz2"
 
-SRC_URI[md5sum] = "d1e2549202bd79d9e99f1498d1109530"
-SRC_URI[sha256sum] = "7f68f149c6c0e8893d0b9220ac255b46af08e6a6b81223cab57ed54d628ae125"
+SRC_URI[md5sum] = "12ee2fbf3beddb60601fb7a4c4905651"
+SRC_URI[sha256sum] = "0d1a04e688b082bc88846e3f524abd50bc782b6ffc06123140f7d358c8f9b906"
 
 CFLAGS += "-fno-strict-aliasing"
 
Signature · 1 line
1.7.6
author
#20 lore raw

[CONSOLIDATED PULL 22/27] distro_tracking_fields.inc: update the info for the following recipes

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

cronie
mdadm
freetype
xproto
glproto
dri2proto
util-macros

---
 .../conf/distro/include/distro_tracking_fields.inc |   56 ++++++++++----------
 1 files changed, 28 insertions(+), 28 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +28 -28
index c7e5db5..984e330 100644
@@ -994,13 +994,13 @@ RECIPE_MAINTAINER_pn-quota = "Dongxiao Xu <[email protected]>"
 
 RECIPE_STATUS_pn-mdadm = "green"
 RECIPE_DEPENDENCY_CHECK_pn-mdadm = "not done"
-RECIPE_LATEST_VERSION_pn-mdadm = "3.2.1"
+RECIPE_LATEST_VERSION_pn-mdadm = "3.2.2"
 RECIPE_NO_OF_PATCHES_pn-mdadm = "0"
 RECIPE_INTEL_SECTION_pn-mdadm = "base utils"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mdadm = "1+ months"
-RECIPE_LATEST_RELEASE_DATE_pn-mdadm = "Mar 28, 2011"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mdadm = "2+ months"
+RECIPE_LATEST_RELEASE_DATE_pn-mdadm = "Jun 17, 2011"
 RECIPE_COMMENTS_pn-mdadm = ""
-RECIPE_LAST_UPDATE_pn-mdadm = "Apr 20, 2011"
+RECIPE_LAST_UPDATE_pn-mdadm = "Aug 16, 2011"
 RECIPE_MAINTAINER_pn-mdadm = "Dexuan Cui <[email protected]>"
 
 RECIPE_STATUS_pn-screen = "green"
@@ -1986,13 +1986,13 @@ RECIPE_MAINTAINER_pn-cpio = "Scott Garman <[email protected]>"
 
 RECIPE_STATUS_pn-cronie = "green"
 RECIPE_DEPENDENCY_CHECK_pn-cronie = "not done"
-RECIPE_LATEST_VERSION_pn-cronie = "1.4.7"
-RECIPE_MANUAL_CHECK_DATE_pn-cronie = "Apr 11, 2011"
+RECIPE_LATEST_VERSION_pn-cronie = "1.4.8"
+RECIPE_MANUAL_CHECK_DATE_pn-cronie = "Aug 16, 2011"
 RECIPE_INTEL_SECTION_pn-cronie = "base"
 RECIPE_NO_OF_PATCHES_pn-cronie = "0"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cronie = "5 months"
-RECIPE_LATEST_RELEASE_DATE_pn-cronie = "Mar 17, 2011"
-RECIPE_LAST_UPDATE_pn-cronie = "Apr 11, 2011"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cronie = "3 months"
+RECIPE_LATEST_RELEASE_DATE_pn-cronie = "Jun 27, 2011"
+RECIPE_LAST_UPDATE_pn-cronie = "Aug 16, 2011"
 RECIPE_MAINTAINER_pn-cronie = "Dexuan Cui <[email protected]>"
 
 RECIPE_STATUS_pn-grep = "green" 
@@ -3839,13 +3839,13 @@ RECIPE_MAINTAINER_pn-fontsproto = "Dexuan Cui <[email protected]>"
 RECIPE_STATUS_pn-glproto = "green"
 DISTRO_PN_ALIAS_pn-glproto = "Meego=xorg-x11-proto-glproto"
 RECIPE_DEPENDENCY_CHECK_pn-glproto = "not done"
-RECIPE_LATEST_VERSION_pn-glproto = "1.4.13"
+RECIPE_LATEST_VERSION_pn-glproto = "1.4.14"
 RECIPE_NO_OF_PATCHES_pn-glproto = "0"
 RECIPE_INTEL_SECTION_pn-glproto = "x11/libs"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glproto = "9 months"
-RECIPE_LATEST_RELEASE_DATE_pn-glproto = "May 4, 2011"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glproto = "1+ months"
+RECIPE_LATEST_RELEASE_DATE_pn-glproto = "Jun 29, 2011"
 RECIPE_COMMENTS_pn-glproto = ""
-RECIPE_LAST_UPDATE_pn-glproto = "Jun 13, 2011"
+RECIPE_LAST_UPDATE_pn-glproto = "Aug 16, 2011"
 RECIPE_MAINTAINER_pn-glproto = "Dexuan Cui <[email protected]>"
 
 RECIPE_STATUS_pn-inputproto = "green"
@@ -4110,13 +4110,13 @@ RECIPE_MAINTAINER_pn-xineramaproto = "Dexuan Cui <[email protected]>"
 RECIPE_STATUS_pn-dri2proto = "green"
 DISTRO_PN_ALIAS_pn-dri2proto = "Meego=xorg-x11-proto-dri2proto"
 RECIPE_DEPENDENCY_CHECK_pn-dri2proto = "not done"
-RECIPE_LATEST_VERSION_pn-dri2proto = "2.4"
+RECIPE_LATEST_VERSION_pn-dri2proto = "2.6"
 RECIPE_NO_OF_PATCHES_pn-dri2proto = "0"
 RECIPE_INTEL_SECTION_pn-dri2proto = "x11/libs"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dri2proto = "1+ years"
-RECIPE_LATEST_RELEASE_DATE_pn-dri2proto = "May 4, 2011"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dri2proto = "1+ months"
+RECIPE_LATEST_RELEASE_DATE_pn-dri2proto = "Jun 29, 2011"
 RECIPE_COMMENTS_pn-dri2proto = ""
-RECIPE_LAST_UPDATE_pn-dri2proto = "Jun 13, 2011"
+RECIPE_LAST_UPDATE_pn-dri2proto = "Aug 16, 2011"
 RECIPE_MAINTAINER_pn-dri2proto = "Dexuan Cui <[email protected]>"
 
 RECIPE_STATUS_pn-xcb-proto = "green"
@@ -4157,13 +4157,13 @@ RECIPE_MAINTAINER_pn-xf86vidmodeproto = "Dexuan Cui <[email protected]>"
 RECIPE_STATUS_pn-xproto = "green"
 DISTRO_PN_ALIAS_pn-xproto = "Meego=xorg-x11-proto-xproto Fedora=xorg-x11-proto-devel Ubuntu=x11proto-core-dev Debian=x11proto-core-dev Opensuse=xorg-x11-proto-devel Mandriva=x11-proto-devel"
 RECIPE_DEPENDENCY_CHECK_pn-xproto = "not done"
-RECIPE_LATEST_VERSION_pn-xproto = "7.0.21"
+RECIPE_LATEST_VERSION_pn-xproto = "7.0.22"
 RECIPE_NO_OF_PATCHES_pn-xproto = "0"
 RECIPE_INTEL_SECTION_pn-xproto = "x11/libs"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xproto = "3+ months"
-RECIPE_LATEST_RELEASE_DATE_pn-xproto = "Mar 22, 2011"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xproto = "3 months"
+RECIPE_LATEST_RELEASE_DATE_pn-xproto = "Jun 22, 2011"
 RECIPE_COMMENTS_pn-xproto = ""
-RECIPE_LAST_UPDATE_pn-xproto = "Apr 11, 2011"
+RECIPE_LAST_UPDATE_pn-xproto = "Aug 16, 2011"
 RECIPE_MAINTAINER_pn-xproto = "Dexuan Cui <[email protected]>"
 
 RECIPE_STATUS_pn-liberation-fonts = "green"
@@ -4494,12 +4494,12 @@ RECIPE_MAINTAINER_pn-xkeyboard-config = "Dexuan Cui <[email protected]>"
 RECIPE_STATUS_pn-util-macros = "green"
 DISTRO_PN_ALIAS_pn-util-macros = "Meego=xorg-x11-util-macros Fedora=xorg-x11-util-macros Mandriva=x11-util-macros"
 RECIPE_DEPENDENCY_CHECK_pn-util-macros = "not done"
-RECIPE_LATEST_VERSION_pn-util-macros = "1.14.0"
+RECIPE_LATEST_VERSION_pn-util-macros = "1.15.0"
 RECIPE_INTEL_SECTION_pn-util-macros = "x11/utils"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-util-macros = "2+ months"
-RECIPE_LATEST_RELEASE_DATE_pn-util-macros = "May 27, 2011"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-util-macros = "1 month"
+RECIPE_LATEST_RELEASE_DATE_pn-util-macros = "Jun 23, 2011"
 RECIPE_COMMENTS_pn-util-macros = ""
-RECIPE_LAST_UPDATE_pn-util-macros = "Jun 13, 2011"
+RECIPE_LAST_UPDATE_pn-util-macros = "Aug 16, 2011"
 RECIPE_MAINTAINER_pn-util-macros = "Dexuan Cui <[email protected]>"
 
 RECIPE_STATUS_pn-fontconfig = "green"
@@ -4516,14 +4516,14 @@ RECIPE_MAINTAINER_pn-fontconfig = "Dexuan Cui <[email protected]>"
 
 RECIPE_STATUS_pn-freetype = "green"
 RECIPE_DEPENDENCY_CHECK_pn-freetype = "not done"
-RECIPE_LATEST_VERSION_pn-freetype = "2.4.4"
+RECIPE_LATEST_VERSION_pn-freetype = "2.4.6"
 RECIPE_NO_OF_PATCHES_pn-freetype = "1"
 RECIPE_PATCH_pn-freetype+no-hardcode = "fix freetype-config.in"
 RECIPE_INTEL_SECTION_pn-freetype = "libs"
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-freetype = "1+ months"
-RECIPE_LATEST_RELEASE_DATE_pn-freetype = "Nov 28, 2010"
+RECIPE_LATEST_RELEASE_DATE_pn-freetype = "Jul 29, 2011"
 RECIPE_COMMENTS_pn-freetype = ""
-RECIPE_LAST_UPDATE_pn-freetype = "Jan 28, 2011"
+RECIPE_LAST_UPDATE_pn-freetype = "Aug 16, 2011"
 RECIPE_MAINTAINER_pn-freetype = "Dexuan Cui <[email protected]>"
 
 RECIPE_STATUS_pn-librsvg = "green"
Signature · 1 line
1.7.6
author
#21 lore raw

[CONSOLIDATED PULL 23/27] qt4: allow a reduction in build time

In reply to Saul Wold

From: Anders Darander <[email protected]>

When reducing build time by adding QT_DISTRO_FLAGS from the set '-no-gui -nomake tools -nomake examples -nomake demos -nomake docs', build failure can occur, due to not building all tools.

* Make rm not error out when removing one of the, possibly, non-existing tools.
* Only try to rename qtdemo, if qtdemo exists.
* Guard do_split_packages() with an try-except-clause, otherwise we get an error stating that .../phrasebooks/... do not exist.

---
 meta/recipes-qt/qt4/qt4.inc |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
meta/recipes-qt/qt4/qt4.inc +8 -5
index 0410a92..994ec12 100644
@@ -227,7 +227,10 @@ python populate_packages_prepend() {
  
         phrasebook_dir = bb.data.expand('${datadir}/${QT_DIR_NAME}/phrasebooks/', d)
         phrasebook_name = bb.data.expand('${QT_BASE_NAME}-phrasebook-%s', d)
-        do_split_packages(d, phrasebook_dir, '^(.*)\.qph$', phrasebook_name, '${PN} phrasebook for %s', extra_depends='' )
+        try:
+                do_split_packages(d, phrasebook_dir, '^(.*)\.qph$', phrasebook_name, '${PN} phrasebook for %s', extra_depends='' )
+        except:
+                pass
  
         # Package all the plugins and their -dbg version and create a meta package
         import os
@@ -278,11 +281,11 @@ do_install() {
 
 	# These are host binaries, we should only use them in staging
 	rm ${D}/${bindir}/qmake
-	rm ${D}/${bindir}/uic
-	rm ${D}/${bindir}/uic3
+	rm -f ${D}/${bindir}/uic
+	rm -f ${D}/${bindir}/uic3
 	rm ${D}/${bindir}/moc
 	rm ${D}/${bindir}/rcc
-	rm ${D}/${bindir}/lrelease
+	rm -f ${D}/${bindir}/lrelease
 
 	# fix pkgconfig, libtool and prl files
 	sed -i -e s#-L${S}/lib##g \
@@ -319,6 +322,6 @@ do_install() {
 
 	#Append an E to the qtdemo file
 	if [ -n "${QT_LIBINFIX}" ] ; then
-		mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
+		[ -f ${D}${bindir}/qtdemo ] && mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
 	fi
 }
Signature · 1 line
1.7.6
author
#22 lore raw

[CONSOLIDATED PULL 20/27] glproto: upgrade from 1.4.13 to 1.4.14

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

The patch has been integrated into 1.4.14 so let's remove it.

---
 .../restore_the_old_xGLXBufferSwapComplete.patch   |   53 --------------------
 .../{glproto_1.4.13.bb => glproto_1.4.14.bb}       |    7 +--
 2 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 meta/recipes-graphics/xorg-proto/glproto/restore_the_old_xGLXBufferSwapComplete.patch
 rename meta/recipes-graphics/xorg-proto/{glproto_1.4.13.bb => glproto_1.4.14.bb} (68%)
meta/recipes-graphics/xorg-proto/glproto/restore_the_old_xGLXBufferSwapComplete.patch deleted +0 -53
deleted file mode 100644
index 19f41c9..0000000
@@ -1,53 +0,0 @@
-Upstream-Status: Inappropriate [backport from upstream]
-
-In May, people already reported the mesa-dri build issue when upgrading to
-glproto-1.4.13 and dri2proto-2.4:
-http://lists.freedesktop.org/archives/mesa-dev/2011-May/007331.html
-
-The story is: Jesse tried to change the definitions of some structs in
-glproto, dri2proto and mesa-dri, but the change in mesa-dri side was accepted
-and then reverted, see
-http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc4a3edcf9d414d5098618d5d3b79d8dd90adcc3
-
-so in glproto and dri2proto's sides, we have to revert the change, too:
-http://cgit.freedesktop.org/xorg/proto/glproto/commit/?id=7196c9441af941be74180f8e8d4e10a08659b80f
-
-We could remove this patch when upgrading to newer glproto, dri2proto and
-mesa-dri in future.
-
-Wed Jun 15 14:33:14 CST 2011
-Dexuan Cui <[email protected]>
-
--------------------------------------------------------
-
-commit 7196c9441af941be74180f8e8d4e10a08659b80f
-Author: Jesse Barnes <[email protected]>
-Date:   Thu May 5 09:21:19 2011 -0700
-
-    Revert "glxproto: make GLX swap event struct match spec"
-    
-    This reverts commit f5403828c68af0f12c79c0504df0a4781ca84b2b.
-    
-    This broke compatibility with existing code, so revert in favor of a new
-    struct definition instead.
-
-diff --git a/glxproto.h b/glxproto.h
-index dfa0647..0ff44e3 100644
---- a/glxproto.h
-+++ b/glxproto.h
-@@ -1375,13 +1375,13 @@ typedef struct {
-     BYTE pad;
-     CARD16 sequenceNumber B16;
-     CARD16 event_type B16;
--    CARD16 pad2;
-     CARD32 drawable;
-     CARD32 ust_hi B32;
-     CARD32 ust_lo B32;
-     CARD32 msc_hi B32;
-     CARD32 msc_lo B32;
--    CARD32 sbc B32;
-+    CARD32 sbc_hi B32;
-+    CARD32 sbc_lo B32;
- } xGLXBufferSwapComplete;
- 
- /************************************************************************/
meta/recipes-graphics/xorg-proto/glproto_1.4.14.bb renamed from meta/recipes-graphics/xorg-proto/glproto_1.4.13.bb +3 -4
similarity index 68%
rename from meta/recipes-graphics/xorg-proto/glproto_1.4.13.bb
rename to meta/recipes-graphics/xorg-proto/glproto_1.4.14.bb
index 7ba9831..76d9502 100644
@@ -1,5 +1,4 @@
 require xorg-proto-common.inc
-SRC_URI += "file://restore_the_old_xGLXBufferSwapComplete.patch"
 
 SUMMARY = "OpenGL: X OpenGL extension headers"
 
@@ -11,10 +10,10 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d44ed0146997856304dfbb512a59a8de \
                     file://glxproto.h;beginline=4;endline=32;md5=6b79c570f644363b356456e7d44471d9"
 
-PR = "r1"
+PR = "r0"
 PE = "1"
 
 BBCLASSEXTEND = "nativesdk"
 
-SRC_URI[md5sum] = "9542f2d36751a8ad7eae9d8e176f70d4"
-SRC_URI[sha256sum] = "fc0a94d4df003cb6b6953173e6498d9c4c3268ee24bcc46a1172a1e1dbd3d742"
+SRC_URI[md5sum] = "f48257daf0017f7a7667e5bf48ca3578"
+SRC_URI[sha256sum] = "7aaf555a100a63c67dbffc63153dcaaa3de1a36e605a2e98fce63f64089ff999"
Signature · 1 line
1.7.6
author
#23 lore raw

[CONSOLIDATED PULL 21/27] dri2proto: upgrade from 2.4 to 2.6

In reply to Saul Wold

From: Dexuan Cui <[email protected]>

The patch has been integrated into 1.4.14 so let's remove it.

---
 .../restore_to_old_xDRI2BufferSwapComplete.patch   |   53 --------------------
 .../{dri2proto_2.4.bb => dri2proto_2.6.bb}         |    7 +--
 2 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 meta/recipes-graphics/xorg-proto/dri2proto/restore_to_old_xDRI2BufferSwapComplete.patch
 rename meta/recipes-graphics/xorg-proto/{dri2proto_2.4.bb => dri2proto_2.6.bb} (66%)
meta/recipes-graphics/xorg-proto/dri2proto/restore_to_old_xDRI2BufferSwapComplete.patch deleted +0 -53
deleted file mode 100644
index e628f6d..0000000
@@ -1,53 +0,0 @@
-Upstream-Status: Inappropriate [backport from upstream]
-
-In May, people already reported the mesa-dri build issue when upgrading to
-glproto-1.4.13 and dri2proto-2.4:
-http://lists.freedesktop.org/archives/mesa-dev/2011-May/007331.html
-
-The story is: Jesse tried to change the definitions of some structs
-in glproto, dri2proto and mesa-dri, but the change in mesa-dri side was accepted
-and then reverted, see
-http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc4a3edcf9d414d5098618d5d3b79d8dd90adcc3
-
-so in glproto and driproto's sides, we have to revert the change, too:
-http://cgit.freedesktop.org/xorg/proto/dri2proto/commit/?id=f3c211e1ae183dab5c7529814c9f42af2c29fc6c
-
-We could remove this patch when upgrading to newer glproto, dri2proto and
-mesa-dri in future.
-
-Wed Jun 15 14:33:14 CST 2011
-Dexuan Cui <[email protected]>
-
--------------------------------------------------------
-
-commit f3c211e1ae183dab5c7529814c9f42af2c29fc6c
-Author: Jesse Barnes <[email protected]>
-Date:   Thu May 5 09:22:39 2011 -0700
-
-    Revert "dri2proto: make DRI2 swap event match GLX spec"
-    
-    This reverts commit 0ca3778de195a82087d0f07415a1cf8fc94f5b0a.
-    
-    This broke compatibility by renaming existing struct fields.  So revert
-    in favor of a new struct.
-
-diff --git a/dri2proto.h b/dri2proto.h
-index ff76355..9708a4a 100644
---- a/dri2proto.h
-+++ b/dri2proto.h
-@@ -290,13 +290,13 @@ typedef struct {
-     CARD8 pad;
-     CARD16 sequenceNumber B16;
-     CARD16 event_type B16;
--    CARD16 pad2;
-     CARD32 drawable B32;
-     CARD32 ust_hi B32;
-     CARD32 ust_lo B32;
-     CARD32 msc_hi B32;
-     CARD32 msc_lo B32;
--    CARD32 sbc B32;
-+    CARD32 sbc_hi B32;
-+    CARD32 sbc_lo B32;
- } xDRI2BufferSwapComplete;
- #define sz_xDRI2BufferSwapComplete 32
- 
meta/recipes-graphics/xorg-proto/dri2proto_2.6.bb renamed from meta/recipes-graphics/xorg-proto/dri2proto_2.4.bb +3 -4
similarity index 66%
rename from meta/recipes-graphics/xorg-proto/dri2proto_2.4.bb
rename to meta/recipes-graphics/xorg-proto/dri2proto_2.6.bb
index 4861f7d..99c089a 100644
@@ -1,5 +1,4 @@
 require xorg-proto-common.inc
-SRC_URI += "file://restore_to_old_xDRI2BufferSwapComplete.patch"
 
 SUMMARY = "DRI2: Direct Rendering Infrastructure 2 headers"
 
@@ -11,7 +10,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2e396fa91834f8786032cad2da5638f3 \
                     file://dri2proto.h;endline=31;md5=22f28bf68d01b533f26195e94b3ed8ca"
 
-PR = "r1"
+PR = "r0"
 
-SRC_URI[md5sum] = "0cdeb1e95901813385dc9576be272bd3"
-SRC_URI[sha256sum] = "ff156f178d48ab31beeb4be5eb39d5df7540791ba489a8d94c443bb99a2376f1"
+SRC_URI[md5sum] = "2eb74959684f47c862081099059a11ab"
+SRC_URI[sha256sum] = "ad82c0b28c19fcd3f91ea1f93956cb666526b41b91f239773b5854b9b1a3b909"
Signature · 1 line
1.7.6
author
#24 lore raw

[CONSOLIDATED PULL 26/27] ofono: conditionally enable bluetooth

In reply to Saul Wold

From: Anders Darander <[email protected]>

Use DISTRO_FEATURE to conditionally depend on bluez4, as well as enabling bluetooth.

---
 meta/recipes-connectivity/ofono/ofono.inc     |    3 ++-
 meta/recipes-connectivity/ofono/ofono_0.50.bb |    1 +
 meta/recipes-connectivity/ofono/ofono_git.bb  |    4 ++++
 3 files changed, 7 insertions(+), 1 deletions(-)
meta/recipes-connectivity/ofono/ofono.inc +2 -1
index a14b35a..ab233dc 100644
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
 
 inherit autotools pkgconfig update-rc.d
 
-DEPENDS  = "dbus glib-2.0 udev bluez4"
+BLUEZDEPENDS = "bluez4"
+DEPENDS  = "dbus glib-2.0 udev ${@base_contains('DISTRO_FEATURES', 'bluetooth','${BLUEZDEPENDS}', '', d)}"
 
 INITSCRIPT_NAME = "ofono"
 INITSCRIPT_PARAMS = "defaults 22"
meta/recipes-connectivity/ofono/ofono_0.50.bb +1 -0
index ef4fbf0..b679200 100644
@@ -7,6 +7,7 @@ SRC_URI  = "${KERNELORG_MIRROR}/linux/network/ofono/${BPN}-${PV}.tar.bz2 \
 
 EXTRA_OECONF += "\
     --enable-test \
+    ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
 "
 
 SRC_URI[md5sum] = "b2656fd0bbf33f926fc86c1e8915d697"
meta/recipes-connectivity/ofono/ofono_git.bb +4 -0
index dbad5a1..f1770c2 100644
@@ -10,6 +10,10 @@ PR = "r1"
 SRC_URI  = "git://git.kernel.org/pub/scm/network/ofono/ofono.git;protocol=git \
 	    file://ofono"
 
+EXTRA_OECONF += "\
+    ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
+"
+
 do_configure_prepend () {
   ${S}/bootstrap
 }
Signature · 1 line
1.7.6
author
#25 lore raw

[CONSOLIDATED PULL 24/27] qmake_base: add uclibceabi

In reply to Saul Wold

From: Anders Darander <[email protected]>

Partial sync of qmake_base from meta-oe.
* Add a matching rule for *linux-uclibceabi-oe-g++, to make qmake_base.bbclase more similar to the version in meta-oe.

---
 meta/classes/qmake_base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/qmake_base.bbclass +1 -1
index 165d689..b61b84c 100644
@@ -47,7 +47,7 @@ addtask generate_qt_config_file after do_patch before do_configure
 
 qmake_base_do_configure() {
 	case ${QMAKESPEC} in
-	*linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++)
+	*linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++|*linux-uclibceabi-oe-g++)
 		;;
 	*-oe-g++)
 		die Unsupported target ${TARGET_OS} for oe-g++ qmake spec
Signature · 1 line
1.7.6
author
#26 lore raw

[CONSOLIDATED PULL 25/27] connman: use DISTRO_FEATURES to enable wifi and bluetooth

In reply to Saul Wold

From: Anders Darander <[email protected]>

As wifi and bluetooth is set in DISTRO_FEATURES, connman should respect this during configuring.

---
 meta/recipes-connectivity/connman/connman_0.75.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/connman/connman_0.75.bb +2 -2
index aeff439..5a7b284 100644
@@ -8,8 +8,8 @@ EXTRA_OECONF += "\
   --enable-threads \
   --enable-loopback \
   --enable-ethernet \
-  --enable-wifi \
-  --enable-bluetooth \
+  ${@base_contains('DISTRO_FEATURES', 'wifi','--enable-wifi', '--disable-wifi', d)} \
+  ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
   --enable-dnsproxy \
   --disable-dhclient \
   --enable-test \
Signature · 1 line
1.7.6
author
#27 lore raw

[CONSOLIDATED PULL 27/27] create-pull-request: increase likelihood of detecting a rename

In reply to Saul Wold

From: Anders Darander <[email protected]>

Decrease the similarity percentage needed to recognize a delete/add-pair followed by an edit, as a rename.
This make reviewing patches easier.

---
 scripts/create-pull-request |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/create-pull-request +1 -1
index 7d021d3..600fa7a 100755
@@ -166,7 +166,7 @@ mkdir $ODIR
 
 
 # Generate the patches and cover letter
-git format-patch -M --subject-prefix="$PREFIX" -n -o $ODIR --thread=shallow --cover-letter $RELATIVE_TO..$COMMIT_ID > /dev/null
+git format-patch -M40 --subject-prefix="$PREFIX" -n -o $ODIR --thread=shallow --cover-letter $RELATIVE_TO..$COMMIT_ID > /dev/null
 
 
 # Customize the cover letter
Signature · 1 line
1.7.6
#28 lore raw
In reply to Saul Wold
Quoted 6 lines · Saul Wold

The ofono patch from Anders had a question from Koen, so we might want to hold on that one, otherwise it looks OK to me.

Anders Darander (5):
ofono: conditionally enable bluetooth

A new version is shortly going out.
Please update the patch to version 2.

Cheers,
Anders

Signature · 2 lines
Anders Darander
ChargeStorm AB	
#29 lore raw
In reply to Saul Wold
Quoted 52 lines · Saul Wold

This address some issues with the x11 and bluez patches recently, it also has the latest kernel update. There is also a multi-lib change that needs your more detailed review.

The ofono patch from Anders had a question from Koen, so we might want to hold on that one, otherwise it looks OK to me.

The following changes since commit 13db5f420ca9bff98561f80d78958278734ad1f4:

distro-tracking: Update info for gpgme, libassuan, apr... after last upgrade. (2011-08-15 15:26:04 +0100)

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

Anders Darander (5):
qt4: allow a reduction in build time
qmake_base: add uclibceabi
connman: use DISTRO_FEATURES to enable wifi and bluetooth
ofono: conditionally enable bluetooth
create-pull-request: increase likelihood of detecting a rename

Bruce Ashfield (3):
linux-yocto: bump version string to 3.0.1
qemu: change default kernel to 3.0.x
linux-yocto: meta SRCREV bump

Dexuan Cui (10):
bluez-hcidump: upgrade from 2.0 to 2.1
tcf-agent: add openssl into DEPENDS
cronie: upgrade from 1.4.7 to 1.4.8
mdadm: upgrade mdadm from 3.2.1 to 3.2.2
util-macros: upgrade from 1.14.0 to the latest version 0.15.0
freetype: upgrade from 2.4.4 to 2.4.6
xproto: upgrade from 7.0.21 to 7.0.22
glproto: upgrade from 1.4.13 to 1.4.14
dri2proto: upgrade from 2.4 to 2.6 distro_tracking_fields.inc: update the info for the following recipes

Dmitry Eremin-Solenikov (1):
libxcb: enable native/nativesdk builds as was done previously in
meta-oe

Dongxiao Xu (4):
rootfs_rpm: Fix DEFAULTTUNE setting in multilib case
package_rpm: enhance strip_multilib function
package_rpm: Fix package rename issue in multilib case
gtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDS

Lianhao Lu (1):
package(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS

Quoted 7 lines

Phil Blundell (2):
cmake.bbclass, perlnative.bbclass: arrange for cmake to find
perl-native
libproxy: remove dependency on X libs

Zhai Edwin (1):
qemu: Make qemu buildable inside qemux86/qemuppc target

Merged to master with the exception of the ofono and qt patches from Anders which need smal tweaks.

Cheers,

Richard