Re: [OE-core] [PATCH 3/3] classes: Add gummiboot class

2014-03-12 Thread Koen Kooi

Op 11 mrt. 2014, om 22:38 heeft Darren Hart dvh...@linux.intel.com het 
volgende geschreven:

 On 3/7/14, 1:57, Stanacar, StefanX stefanx.stana...@intel.com wrote:
 
 
 
 
 On Thu, 2014-03-06 at 14:36 -0800, Darren Hart wrote:
 On 3/6/14, 10:15, Stefan Stanacar stefanx.stana...@intel.com wrote:
 
 Adds a gummiboot class similar to grub-efi class and makes the
 necessary
 changes so it can be used for live/hddimg images as well.
 
 One can set EFI_PROVIDER = gummiboot in local.conf to use gummiboot
 instead of grub-efi.
 Gummiboot requires some kernel options that are not enabled by default,
 so one has to build
 with KERNEL_FEATURES_append =  cfg/efi-ext.
 
 cfg/efi is insufficient?
 
 
 cfg/efi doesn't have CONFIG_EFI_STUB=y which is required by gummiboot.
 cfg/efi-ext adds more than that, it's true.
 
 Weird... Although the STUB should probably be in efi rather than efi-ext.
 I'm surprised gummiboot requires STUB... Since STUB is there to allow the
 kernel to be booted directly, no bootloader required. I guess gummiboot is
 slightly less than a boot loader :-)

The gummiboot docs still claim to support both 'linux' and 'efi', so it's 
supposed to work.

regards,

Koen

 
 I'd Ack a patch to move STUB from efi-ext to efi.
 
 
 
 It's also a good idea to enable CONFIG_EFIVARS_FS, which is the
 newer/better interface than CONFIG_EFI_VARS that cfg/efi-ext enables.
 
 
 Hrm... OK, perhaps time to revisit those fragments and update them for
 current usage.
 
 
 --
 Darren
 
 
 The install scripts have been updated too, keeping the old behaviour
 around,
 but accounting for the new boot loader config files (if they exist).
 It can be argued that the installer and bootimg are a bit wierd and not
 necessarily correct,
 but I wanted to have the exact same behviour with gummiboot.
 With the default EFI_PROVIDER = grub-efi nothing changes, everthing
 should be just as before.
 
 I've tested live boot, install and normal boot on:
   - FRI2
   - genericx86-64 on NUC
 with:
 EFI_PROVIDER = gummiboot
 KERNEL_FEATURES_append =  cfg/efi-ext
 in local.conf.
 
 Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
 
 
 Generally looks good. My only reservation is the same as for 2/3, should
 we define an EFI interface rather than having to construct function
 names
 in the consumers of this class?
 
 I don't have a strong opinion here, it just seemed the simplest way atm,
 then adding another interface.
 
 Cheers,
 Stefan
 
 
 --
 Darren
 
 ---
 meta/classes/gummiboot.bbclass | 112
 +
 .../initrdscripts/files/init-install-efi.sh|  51 +++---
 2 files changed, 147 insertions(+), 16 deletions(-)
 create mode 100644 meta/classes/gummiboot.bbclass
 
 diff --git a/meta/classes/gummiboot.bbclass
 b/meta/classes/gummiboot.bbclass
 new file mode 100644
 index 000..5c11286
 --- /dev/null
 +++ b/meta/classes/gummiboot.bbclass
 @@ -0,0 +1,112 @@
 +EFICLASS_FUNC_PREFIX = gummiboot
 +
 +do_bootimg[depends] += gummiboot:do_deploy
 +do_bootdirectdisk[depends] += gummiboot:do_deploy
 +
 +EFIDIR = /EFI/BOOT
 +
 +GUMMIBOOT_CFG ?= ${S}/loader.conf
 +GUMMIBOOT_ENTRIES ?= 
 +GUMMIBOOT_TIMEOUT ?= 10
 +
 +gummiboot_populate() {
 +DEST=$1
 +
 +EFI_IMAGE=gummibootia32.efi
 +DEST_EFI_IMAGE=bootia32.efi
 +if [ ${TARGET_ARCH} = x86_64 ]; then
 +EFI_IMAGE=gummibootx64.efi
 +DEST_EFI_IMAGE=bootx64.efi
 +fi
 +
 +install -d ${DEST}${EFIDIR}
 +# gummiboot requires these paths for configuration files
 +# they are not customizable so no point in new vars
 +install -d ${DEST}/loader
 +install -d ${DEST}/loader/entries
 +install -m 0644 ${DEPLOY_DIR_IMAGE}/${EFI_IMAGE}
 ${DEST}${EFIDIR}/${DEST_EFI_IMAGE}
 +install -m 0644 ${GUMMIBOOT_CFG} ${DEST}/loader/loader.conf
 +for i in ${GUMMIBOOT_ENTRIES}; do
 +install -m 0644 ${i} ${DEST}/loader/entries
 +done
 +}
 +
 +gummiboot_iso_populate() {
 +iso_dir=$1
 +gummiboot_populate $iso_dir
 +mkdir -p ${EFIIMGDIR}/${EFIDIR}
 +cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR}
 +cp $iso_dir/vmlinuz ${EFIIMGDIR}
 +echo ${DEST_EFI_IMAGE}  ${EFIIMGDIR}/startup.nsh
 +if [ -f $iso_dir/initrd ] ; then
 +cp $iso_dir/initrd ${EFIIMGDIR}
 +fi
 +}
 +
 +gummiboot_hddimg_populate() {
 +gummiboot_populate $1
 +}
 +
 +python build_gummiboot_cfg() {
 +s = d.getVar(S, True)
 +labels = d.getVar('LABELS', True)
 +if not labels:
 +bb.debug(1, LABELS not defined, nothing to do)
 +return
 +
 +if labels == []:
 +bb.debug(1, No labels, nothing to do)
 +return
 +
 +cfile = d.getVar('GUMMIBOOT_CFG', True)
 +try:
 + cfgfile = open(cfile, 'w')
 +except OSError:
 +raise bb.build.funcFailed('Unable to open %s' % (cfile))
 +
 +cfgfile.write('# Automatically created by OE\n')
 +

[OE-core] [PATCH 1/1] docbook-sgml-dtd-native: remove catalog file when do_clean

2014-03-12 Thread Robert Yang
The docbook_sgml_dtd_sstate_postinst adds catalog file to
/etc/sgml/sgml-docbook.cat, but the do_clean would not remove the file,
which would cause unexpected errors since we have multiple versions
of docbook-sgml-dtd:

docbook-sgml-dtd-3.1-native_3.1.bb
docbook-sgml-dtd-4.1-native_4.1.bb
docbook-sgml-dtd-4.5-native.bb

If we run:

$ bitbake docbook-sgml-dtd-4.1-native
$ bitbake docbook-sgml-dtd-4.1-native -ccleansstate  bitbake 
docbook-sgml-dtd-3.1-native
$ bitbake docbook-utils-native

We would get this error:

jade: cannot open /path/to/etc/sgml/sgml-docbook-dtd-4.1.cat (No such file or 
directory)
make[2]: *** [sgmldiff.html] Error 1

Remove the catalog entry when do_clean will fix the problem.

[YOCTO #5949]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 .../docbook-sgml-dtd/docbook-sgml-dtd-native.inc |   10 ++
 1 file changed, 10 insertions(+)

diff --git a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc 
b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
index 1b357b5..bf2affb 100644
--- a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
@@ -58,3 +58,13 @@ docbook_sgml_dtd_sysroot_preprocess () {
 install -m 755 ${STAGING_BINDIR_NATIVE}/install-catalog 
${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-sgml-dtd-${DTD_VERSION}
 }
 
+CLEANFUNCS += docbook_sgml_dtd_sstate_clean
+
+docbook_sgml_dtd_sstate_clean () {
+   # Ensure that the catalog file sgml-docbook.cat is properly
+   # updated when the package is removed from sstate cache.
+   if [ -s ${sysconfdir}/sgml/sgml-docbook.bak ]; then
+   sed -i '/'\/sgml\/sgml-docbook-dtd-${DTD_VERSION}.cat'/d' \
+   ${sysconfdir}/sgml/sgml-docbook.bak
+   fi
+}
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] docbook-sgml-dtd-native: remove catalog file when do_clean

2014-03-12 Thread Robert Yang
The following changes since commit 1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a:

  populate_sdk_deb: Fix meta-toolchain-sdk with amd64 ARCH (2014-03-11 20:28:58 
-0700)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib rbt/sgml
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rtb/sgml

Robert Yang (1):
  docbook-sgml-dtd-native: remove catalog file when do_clean

 .../docbook-sgml-dtd/docbook-sgml-dtd-native.inc |   10 ++
 1 file changed, 10 insertions(+)

-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/5] directfb: update to 1.7.1

2014-03-12 Thread Kai Kang
Update directfb to 1.7.1:
* remove PR
* remove rename-no-instrument-function-macro.patch which is merged

Signed-off-by: Kai Kang kai.k...@windriver.com
---
 meta/recipes-graphics/directfb/directfb.inc|  4 +---
 .../directfb/{directfb_1.6.3.bb = directfb_1.7.1.bb}  | 10 --
 2 files changed, 5 insertions(+), 9 deletions(-)
 rename meta/recipes-graphics/directfb/{directfb_1.6.3.bb = directfb_1.7.1.bb} 
(54%)
 mode change 100755 = 100644

diff --git a/meta/recipes-graphics/directfb/directfb.inc 
b/meta/recipes-graphics/directfb/directfb.inc
index a23209f..f2518e9 100644
--- a/meta/recipes-graphics/directfb/directfb.inc
+++ b/meta/recipes-graphics/directfb/directfb.inc
@@ -11,9 +11,7 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=dcf3c825659e82539645da41a7908589
 HOMEPAGE = http://directfb.org;
 DEPENDS = jpeg libpng freetype zlib tslib
 
-INC_PR = r0
-
-SRC_URI = 
http://directfb.org/downloads/Core/DirectFB-1.6/DirectFB-${PV}.tar.gz \
+SRC_URI = 
http://www.directfb.org/downloads/Core/DirectFB-1.7/DirectFB-${PV}.tar.gz \
file://configurefix.patch \
file://fusion.patch
 
diff --git a/meta/recipes-graphics/directfb/directfb_1.6.3.bb 
b/meta/recipes-graphics/directfb/directfb_1.7.1.bb
old mode 100755
new mode 100644
similarity index 54%
rename from meta/recipes-graphics/directfb/directfb_1.6.3.bb
rename to meta/recipes-graphics/directfb/directfb_1.7.1.bb
index 277e9a9..15f38ac
--- a/meta/recipes-graphics/directfb/directfb_1.6.3.bb
+++ b/meta/recipes-graphics/directfb/directfb_1.7.1.bb
@@ -1,12 +1,10 @@
 require directfb.inc
 
-RV = 1.6-0
-PR = ${INC_PR}.2
+RV = 1.7-1
 
 DEPENDS += sysfsutils
 
 SRC_URI += file://fix-compilation-with-zlib.patch \
-file://rename-no-instrument-function-macro.patch \
 file://fixsepbuild.patch
 
 EXTRA_OECONF = \
@@ -20,7 +18,7 @@ EXTRA_OECONF = \
   --disable-mesa \
 
 
-LEAD_SONAME = libdirectfb-1.6.so.0
+LEAD_SONAME = libdirectfb-1.7.so.0
 
-SRC_URI[md5sum] = 641e8e999c017770da647f9b5b890906
-SRC_URI[sha256sum] = 
7a96aced0f69b2ec0810e9923068e61c21e6b19dd593e09394c872414df75e70
+SRC_URI[md5sum] = 0ef44c16a414312fd38d6764e2cb9893
+SRC_URI[sha256sum] = 
dd7de38b3cd1408411b37ca28ec73e14b7672e5e28256b7bf91826240c81f519
-- 
1.8.1.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/5] qmmp: update to 0.7.5

2014-03-12 Thread Kai Kang
Update qmmp to 0.7.5 version

* update no-host-paths.patch
* remove no-sessionmanager.patch which is merged

Signed-off-by: Kai Kang kai.k...@windriver.com
---
 meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch| 13 +++--
 .../recipes-qt/qt-apps/qmmp/no-sessionmanager.patch | 21 -
 .../qt-apps/{qmmp_0.6.6.bb = qmmp_0.7.5.bb}|  6 +++---
 3 files changed, 10 insertions(+), 30 deletions(-)
 delete mode 100644 meta/recipes-qt/qt-apps/qmmp/no-sessionmanager.patch
 rename meta/recipes-qt/qt-apps/{qmmp_0.6.6.bb = qmmp_0.7.5.bb} (93%)

diff --git a/meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch 
b/meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch
index de17b4e..2bb5bb11 100644
--- a/meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch
+++ b/meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch
@@ -8,16 +8,17 @@ Upstream-Status: Inappropriate [cross]
 
 Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
 
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,12 +1,5 @@
+Update patch for version 0.7.4.
+
+Signed-off-by: Kai Kang kai.k...@windriver.com
+
+--- qmmp-0.7.4/CMakeLists.txt  2014-01-10 09:59:44.971837746 +0800
 qmmp-0.7.4/CMakeLists.txt.new  2014-01-10 10:24:51.855837566 +0800
+@@ -1,9 +1,5 @@
  cmake_minimum_required(VERSION 2.6.0)
  
 -#freebsd support
 -include_directories(SYSTEM /usr/local/include)
--link_directories(/usr/local/lib)
--link_directories(/usr/local/lib32)
--link_directories(/usr/local/lib64)
 -SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} /usr/local/include)
 -
  #extract version from qmmp.h
diff --git a/meta/recipes-qt/qt-apps/qmmp/no-sessionmanager.patch 
b/meta/recipes-qt/qt-apps/qmmp/no-sessionmanager.patch
deleted file mode 100644
index 5e2978b..000
--- a/meta/recipes-qt/qt-apps/qmmp/no-sessionmanager.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Don't call session manager function if not enabled
-
-If session management has been disabled we will get a compilation
-failure if we try to call QApplication::commitData() so don't do so if
-it is disabled.
-
-Upstream-Status: Pending
-
-Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
-
 a/src/app/qmmpapplication.cpp
-+++ b/src/app/qmmpapplication.cpp
-@@ -29,6 +29,8 @@ void QmmpApplication::commitData(QSessionManager manager)
- {
- if(UiHelper::instance())
- UiHelper::instance()-exit();
-+#ifndef QT_NO_SESSIONMANAGER
- else
- QApplication::commitData(manager);
-+#endif
- }
diff --git a/meta/recipes-qt/qt-apps/qmmp_0.6.6.bb 
b/meta/recipes-qt/qt-apps/qmmp_0.7.5.bb
similarity index 93%
rename from meta/recipes-qt/qt-apps/qmmp_0.6.6.bb
rename to meta/recipes-qt/qt-apps/qmmp_0.7.5.bb
index ddfdfdc..910e7c2 100644
--- a/meta/recipes-qt/qt-apps/qmmp_0.6.6.bb
+++ b/meta/recipes-qt/qt-apps/qmmp_0.7.5.bb
@@ -10,10 +10,10 @@ DEPENDS = taglib libmad libvorbis libogg alsa-lib 
libsndfile1 libsamplerate0 cu
 
 SRC_URI = http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2 \
file://no-host-paths.patch \
-   file://no-sessionmanager.patch
+  
 
-SRC_URI[md5sum] = 0131a9bf7b98737c1a6fd6e1a897e2b2
-SRC_URI[sha256sum] = 
dfa973cca80c020a85a11bb66701a3804f9fde326440abb179559c98bf3b5b99
+SRC_URI[md5sum] = dcc3c9ecd4dfbf0ced91c59cb894d460
+SRC_URI[sha256sum] = 
6066aea939813667dae7cf32ff1d6eb9913894977d132c2cd729fea22d24cf67
 
 inherit cmake qt4x11
 
-- 
1.8.1.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/5] alsa-tools: update to version 1.0.27

2014-03-12 Thread Kai Kang
Update alsa-tools to latest version 1.0.27:

* remove PR
* update autotools.patch
* add build dependency gkt+3 that hdajackretask requires it.

Signed-off-by: Kai Kang kai.k...@windriver.com
---
 meta/recipes-multimedia/alsa/alsa-tools/autotools.patch   | 15 ++-
 .../alsa/{alsa-tools_1.0.26.1.bb = alsa-tools_1.0.27.bb} |  8 +++-
 2 files changed, 9 insertions(+), 14 deletions(-)
 rename meta/recipes-multimedia/alsa/{alsa-tools_1.0.26.1.bb = 
alsa-tools_1.0.27.bb} (87%)

diff --git a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch 
b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
index 294e970..5aec84c 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
+++ b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
@@ -19,17 +19,14 @@ diff -ruN alsa-tools-1.0.24.1-orig//ld10k1/gitcompile 
alsa-tools-1.0.24.1/ld10k1
 diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile
 --- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800
 +++ alsa-tools-1.0.24.1/Makefile   2011-07-14 15:08:08.877665009 +0800
-@@ -1,9 +1,9 @@
- VERSION = 1.0.26.1
+@@ -1,8 +1,8 @@
+ VERSION = 1.0.27
  TOP = .
--SUBDIRS = ac3dec as10k1 envy24control hdsploader hdspconf hdspmixer \
--mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
+-SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \
++SUBDIRS = as10k1 envy24control \
+ mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
 -us428control usx2yloader vxloader echomixer ld10k1 qlo10k1 \
--hwmixvolume hdajackretask hda-verb
-+SUBDIRS = ac3dec as10k1 envy24control \
-+mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
 +us428control usx2yloader vxloader echomixer \
-+hwmixvolume hda-verb
+ hwmixvolume hdajackretask hda-verb
  
  all:
-   @for i in $(SUBDIRS); do \
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb 
b/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
similarity index 87%
rename from meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb
rename to meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
index b154233..b3c02b3 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
@@ -3,9 +3,7 @@ HOMEPAGE = http://www.alsa-project.org;
 BUGTRACKER = https://bugtrack.alsa-project.org/alsa-bug/login_page.php;
 SECTION = console/utils
 LICENSE = GPLv2  LGPLv2+
-DEPENDS = alsa-lib ncurses
-
-PR = r1
+DEPENDS = alsa-lib ncurses gtk+3
 
 LIC_FILES_CHKSUM = 
file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34
@@ -15,8 +13,8 @@ SRC_URI = 
ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \
file://autotools.patch \
${@base_contains('DISTRO_FEATURES', 'x11', '', 
'file://makefile_no_gtk.patch', d)}
 
-SRC_URI[md5sum] = 805526ea5d6c40e1f2c94cee86141230
-SRC_URI[sha256sum] = 
553338693707fe6ddfc430b9edc4cd2677390e200c9e38de82ede3394e733841
+SRC_URI[md5sum] = 1ea381d00a6069a98613aa7effa4cb51
+SRC_URI[sha256sum] = 
6562611b5a6560712f109e09740a9d4fa47296b07ed9590cb44139c5f154ada2
 
 inherit autotools-brokensep
 
-- 
1.8.1.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/5] directfb-examples: update to 1.7.0

2014-03-12 Thread Kai Kang
Update directfb-examples to latest version 1.7.0.

Signed-off-by: Kai Kang kai.k...@windriver.com
---
 .../{directfb-examples_1.6.0.bb = directfb-examples_1.7.0.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/directfb/{directfb-examples_1.6.0.bb = 
directfb-examples_1.7.0.bb} (78%)

diff --git a/meta/recipes-graphics/directfb/directfb-examples_1.6.0.bb 
b/meta/recipes-graphics/directfb/directfb-examples_1.7.0.bb
similarity index 78%
rename from meta/recipes-graphics/directfb/directfb-examples_1.6.0.bb
rename to meta/recipes-graphics/directfb/directfb-examples_1.7.0.bb
index 499060b..6b4c756 100644
--- a/meta/recipes-graphics/directfb/directfb-examples_1.6.0.bb
+++ b/meta/recipes-graphics/directfb/directfb-examples_1.7.0.bb
@@ -16,5 +16,5 @@ S = ${WORKDIR}/DirectFB-examples-${PV}
 
 inherit autotools
 
-SRC_URI[md5sum] = 27619d31e8a647fdd3023a0c1779b63d
-SRC_URI[sha256sum] = 
b08293697c211b690856f76a25ad7acd4ca458b4132851e0a1e471d0bf23c821
+SRC_URI[md5sum] = 8b60c867af295481c32a8c7fc5802307
+SRC_URI[sha256sum] = 
9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a
-- 
1.8.1.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/5] libnewt: update to 0.52.17

2014-03-12 Thread Kai Kang
Update libnewt and libnewt-python to 0.52.17.

* remove PR
* update cross_ar.patch and fix_SHAREDDIR.patch that context changed
* remove fix_python_fpic.patch which is merged
* update so file name in libnewt-python recipe

Signed-off-by: Kai Kang kai.k...@windriver.com
---
 meta/recipes-extended/newt/files/cross_ar.patch  | 16 
 meta/recipes-extended/newt/files/fix_SHAREDDIR.patch |  4 ++--
 meta/recipes-extended/newt/libnewt-python_0.52.14.bb |  5 ++---
 meta/recipes-extended/newt/libnewt_0.52.14.bb| 10 --
 4 files changed, 12 insertions(+), 23 deletions(-)

diff --git a/meta/recipes-extended/newt/files/cross_ar.patch 
b/meta/recipes-extended/newt/files/cross_ar.patch
index f67239a..2035cc4 100644
--- a/meta/recipes-extended/newt/files/cross_ar.patch
+++ b/meta/recipes-extended/newt/files/cross_ar.patch
@@ -19,16 +19,8 @@ Upstream-Status: Pending
 
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -7,6 +7,7 @@ CFLAGS = @CFLAGS@
- LDFLAGS = @LDFLAGS@
- CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@ 
- GNU_LD = @GNU_LD@
-+AR = @AR@
- 
- VERSION = @VERSION@
- TAG = r$(subst .,-,$(VERSION))
-@@ -95,7 +96,7 @@ whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH)
-   $(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L. 
-lnewt  $(LIBTCL) -lpopt $(LIBS)
+@@ -109,7 +109,7 @@
+   $(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) 
-L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
  
  $(LIBNEWT): $(LIBOBJS)
 -  ar rv $@ $^
@@ -38,10 +30,10 @@ Upstream-Status: Pending
  
 --- a/configure.ac
 +++ b/configure.ac
-@@ -14,6 +14,10 @@ AC_PROG_CC
- AC_PROG_INSTALL
+@@ -15,6 +15,10 @@
  AC_PROG_LN_S
  AC_PROG_GREP
+ AC_SYS_LARGEFILE
 +AN_MAKEVAR([AR], [AC_PROG_AR])
 +AN_PROGRAM([ar], [AC_PROG_AR])
 +AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])
diff --git a/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch 
b/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
index 7795260..1907aef 100644
--- a/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
+++ b/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
@@ -12,14 +12,14 @@ Signed-off-by: Dexuan Cui dexuan@intel.com
 
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -114,12 +114,12 @@
+@@ -128,12 +128,12 @@
  
  sharedlib: $(LIBNEWTSH)
  
 -$(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
 +$(LIBNEWTSH): $(SHAREDOBJS)
$(CC) -shared -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) 
$(LIBS)
-   ln -fs $(LIBNEWTSONAME) libnewt.so
+   ln -fs $(LIBNEWTSONAME) libnewt.$(SOEXT)
ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
  
 -$(SHAREDDIR)/%.o : %.c
diff --git a/meta/recipes-extended/newt/libnewt-python_0.52.14.bb 
b/meta/recipes-extended/newt/libnewt-python_0.52.14.bb
index 871b195..70ab202 100644
--- a/meta/recipes-extended/newt/libnewt-python_0.52.14.bb
+++ b/meta/recipes-extended/newt/libnewt-python_0.52.14.bb
@@ -9,15 +9,14 @@ inherit pythonnative python-dir
 EXTRA_OECONF += --with-python
 EXTRA_OEMAKE += PYTHONVERS=${PYTHON_DIR}
 
-
 do_compile () {
VERSION=$(sed -n 's/^VERSION = //p' Makefile)
-   oe_runmake LIBNEWTSH=${STAGING_LIBDIR}/libnewt.so.$VERSION 
_snackmodule.so
+   oe_runmake LIBNEWTSH=${STAGING_LIBDIR}/libnewt.so.$VERSION _snack.so
 }
 
 do_install () {
install -d ${D}${PYTHON_SITEPACKAGES_DIR}
-   install -m 0755 ${PYTHON_DIR}/_snackmodule.so 
${D}${PYTHON_SITEPACKAGES_DIR}/
+   install -m 0755 ${PYTHON_DIR}/_snack.so ${D}${PYTHON_SITEPACKAGES_DIR}/
install -m 0644 snack.py ${D}${PYTHON_SITEPACKAGES_DIR}/
 }
 
diff --git a/meta/recipes-extended/newt/libnewt_0.52.14.bb 
b/meta/recipes-extended/newt/libnewt_0.52.14.bb
index 65bcf40..46598e6 100644
--- a/meta/recipes-extended/newt/libnewt_0.52.14.bb
+++ b/meta/recipes-extended/newt/libnewt_0.52.14.bb
@@ -12,21 +12,19 @@ HOMEPAGE = https://fedorahosted.org/newt/;
 SECTION = libs
 
 LICENSE = LGPLv2
-LIC_FILES_CHKSUM = file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605
+LIC_FILES_CHKSUM = file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2
 
 # slang needs to be = 2.2
 DEPENDS = slang popt
 
-PR = r2
-
 SRC_URI = https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \
file://remove_slang_include.patch \
file://fix_SHAREDDIR.patch \
file://cross_ar.patch \
-   file://fix_python_fpic.patch
+  
 
-SRC_URI[md5sum] = eb78c6bb658b92ec7198908b5b8d0e37
-SRC_URI[sha256sum] = 
f70f4f58baa60388ddf2e39249ffb00898fb40f2b2767e42e2ab51fe4b40978e
+SRC_URI[md5sum] = f36d4d908965a0c89fd6fd8b61a6118b
+SRC_URI[sha256sum] = 
69837973ef2ee2fa644426f1c3e48d2b18785ebcd382ef7fd01eb2e67d2d632b
 
 S = ${WORKDIR}/newt-${PV}
 
-- 
1.8.1.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/6] Remove gconf for several gnome recipes

2014-03-12 Thread Alexandru Palalau
This patchset removes gconf inheritance for several gconf recipes that reported 
a WARN-QA message at buildtime regarding unrecognised --disable-schemas-install
configure option. This option is required by gconf.bbclass

Alexandru Palalau (6):
  gnome-desktop: removed gconf inheritance in order to remove WARN-QA
messageregarding --disable-schemas-install
configure option
  gst-plugins-gl: removed gconf inheritance in order to remove WARN-QA
message regarding --disable-schemas-install
configure option
  gnome-mime-data: removed gconf inheritance in order to remove WARN-QA
message  regarding --disable-schemas-install
configure option
  gsettings-desktop-schemas: removed gconf inheritance in order to
remove WARN-QA messageregarding
--disable-schemas-install configure option
  gnome-doc-utils: removed gconf inheritance in order to remove WARN-QA
message  regarding --disable-schemas-install
configure option
  gtk-engines: removed gconf inheritance in order to remove WARN-QA
message  regarding --disable-schemas-install
configure option

 meta/recipes-gnome/gnome/gnome-desktop.inc  | 2 +-
 meta/recipes-gnome/gnome/gnome-doc-utils.inc| 2 +-
 meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb  | 3 +--
 meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb | 2 +-
 meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb| 2 +-
 meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb  | 2 +-
 6 files changed, 6 insertions(+), 7 deletions(-)

-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/6] gsettings-desktop-schemas: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb 
b/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb
index 40e5b11..cdb094c 100644
--- a/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb
+++ b/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb
@@ -8,7 +8,7 @@ PR = r1
 
 DEPENDS = glib-2.0
 
-inherit gnome gsettings gettext
+inherit gnomebase gsettings gettext gtk-icon-cache mime
 
 GNOME_COMPRESS_TYPE = xz
 
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/6] gnome-mime-data: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb 
b/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
index 62712fa..d1a2ede 100644
--- a/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
@@ -6,8 +6,7 @@ LICENSE = GPLv2  GPLv2+
 LIC_FILES_CHKSUM = file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
file://check-mime.pl;endline=26;md5=a95b63c92c33d4ca1af61a315888f450
 
-inherit gnome
-inherit autotools
+inherit gnomebase gtk-icon-cache mime
 PR = r4
 
 SRC_URI += file://pkgconfig.patch
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/6] gnome-doc-utils: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gnome/gnome-doc-utils.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc 
b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 0cc0ee5..ddda3a6 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -8,7 +8,7 @@ LICENSE = GPLv2  LGPLv2.1
 DEPENDS = libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0
 DEPENDS_class-native = libxml2-native libxslt-native intltool-native 
glib-2.0-native
 
-inherit gnome gettext python-dir pythonnative autotools-brokensep
+inherit gnomebase gettext python-dir pythonnative autotools-brokensep 
gtk-icon-cache mime
 
 EXTRA_OECONF += --disable-scrollkeeper
 
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/6] gnome-desktop: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gnome/gnome-desktop.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gnome/gnome-desktop.inc 
b/meta/recipes-gnome/gnome/gnome-desktop.inc
index 4fcf6ab..8bdf476 100644
--- a/meta/recipes-gnome/gnome/gnome-desktop.inc
+++ b/meta/recipes-gnome/gnome/gnome-desktop.inc
@@ -13,7 +13,7 @@ FILES_${PN} += ${datadir}/gnome-about 
${datadir}/libgnome-desktop/pnp.ids
 
 PR = r6
 
-inherit gnome pkgconfig
+inherit gnomebase mime gtk-icon-cache
 
 do_install_append () {
sed -i -e's,${STAGING_BINDIR_NATIVE},${bindir},g' 
${D}${bindir}/gnome-about
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 6/6] gtk-engines: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb 
b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
index ba07ac0..09534aa 100644
--- a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
+++ b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
@@ -26,7 +26,7 @@ FILES_${PN}-dbg += ${libdir}/gtk-2.0/*/engines/.debug
 
 CFLAGS_prepend = -DHAVE_ANIMATION 
 
-inherit gnome
+inherit gnomebase gtk-icon-cache mime
 
 python populate_packages_prepend() {
 engines_root = os.path.join(d.getVar('libdir', True), 
gtk-2.0/2.10.0/engines)
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/6] gst-plugins-gl: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb 
b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
index 60de7c0..90efbcc 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
@@ -12,7 +12,7 @@ DEPENDS += gst-plugins-base virtual/libgles2 virtual/egl 
jpeg libpng glew
 
 PR = r4
 
-inherit gettext gconf
+inherit gettext
 
 # This package doesn't have a configure switch for EGL or GL, so forcibly tell
 # configure that it can't find gl.h so it always uses EGL.  If/when we have 
some
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] oe-setup-builddir: small rework

2014-03-12 Thread Matthieu Crapet
Changes:
- drop useless subshell creation in test:
if ! (test -r $BUILDDIR/conf/local.conf); then$
- replace source builtin by . (bashsism)
- fix indentation 4 spaces (drop some tabs too)
- fix return = exit  (return is not allowed in main)
- drop sed -i (doesn't exist in BSD sed)
- for homogeneity, always use [ ] (instead of test)
- replace old [ x = x$VAR ] by [ -z $VAR ]

Signed-off-by: Matthieu Crapet matthieu.cra...@ingenico.com
---
 scripts/oe-setup-builddir | 47 ---
 1 file changed, 24 insertions(+), 23 deletions(-)

diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index e4356f1..c91e079 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -25,51 +25,51 @@ fi
 
 mkdir -p $BUILDDIR/conf
 
-if ! (test -d $BUILDDIR); then
+if [ ! -d $BUILDDIR ]; then
 echo 2 Error: The builddir ($BUILDDIR) does not exist!
 exit 1
 fi
 
-if ! (test -w $BUILDDIR); then
+if [ ! -w $BUILDDIR ]; then
 echo 2 Error: Cannot write to $BUILDDIR, perhaps try sourcing with a 
writable path? i.e. . oe-init-build-env ~/my-build
 exit 1
 fi
 
 cd $BUILDDIR
 
-if (test -f $BUILDDIR/conf/templateconf.cfg) then
+if [ -f $BUILDDIR/conf/templateconf.cfg ]; then
 TEMPLATECONF=$(cat $BUILDDIR/conf/templateconf.cfg)
 fi
 
-source $OEROOT/.templateconf
+. $OEROOT/.templateconf
 
-if ! (test -f $BUILDDIR/conf/templateconf.cfg) then
+if [ ! -f $BUILDDIR/conf/templateconf.cfg ]; then
 echo $TEMPLATECONF $BUILDDIR/conf/templateconf.cfg
 fi
 
 # 
 # $TEMPLATECONF can point to a directory for the template local.conf  
bblayers.conf
 #
-if [ x != x$TEMPLATECONF ]; then
-if ! (test -d $TEMPLATECONF); then
-   # Allow TEMPLATECONF=meta-xyz/conf as a shortcut
-   if [ -d $OEROOT/$TEMPLATECONF ]; then
-   TEMPLATECONF=$OEROOT/$TEMPLATECONF
-   fi
-   if ! (test -d $TEMPLATECONF); then
-   echo 2 Error: '$TEMPLATECONF' must be a directory containing 
local.conf  bblayers.conf
-   return
-   fi
+if [ -n $TEMPLATECONF ]; then
+if [ ! -d $TEMPLATECONF ]; then
+# Allow TEMPLATECONF=meta-xyz/conf as a shortcut
+if [ -d $OEROOT/$TEMPLATECONF ]; then
+TEMPLATECONF=$OEROOT/$TEMPLATECONF
+fi
+if [ ! -d $TEMPLATECONF ]; then
+echo 2 Error: '$TEMPLATECONF' must be a directory containing 
local.conf  bblayers.conf
+exit 1
+fi
 fi
 OECORELAYERCONF=$TEMPLATECONF/bblayers.conf.sample
 OECORELOCALCONF=$TEMPLATECONF/local.conf.sample
 OECORENOTESCONF=$TEMPLATECONF/conf-notes.txt
 fi
 
-if [ x = x$OECORELOCALCONF ]; then
+if [ -z $OECORELOCALCONF ]; then
 OECORELOCALCONF=$OEROOT/meta/conf/local.conf.sample
 fi
-if ! (test -r $BUILDDIR/conf/local.conf); then
+if [ ! -r $BUILDDIR/conf/local.conf ]; then
 cat EOM
 You had no conf/local.conf file. This configuration file has therefore been
 created for you with some default values. You may wish to edit it to use a 
@@ -88,11 +88,11 @@ EOM
 cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf
 fi
 
-if [ x = x$OECORELAYERCONF ]; then
+if [ -z $OECORELAYERCONF ]; then
 OECORELAYERCONF=$OEROOT/meta/conf/bblayers.conf.sample
 fi
-if ! (test -r $BUILDDIR/conf/bblayers.conf); then
-cat EOM
+if [ ! -r $BUILDDIR/conf/bblayers.conf ]; then
+cat EOM
 You had no conf/bblayers.conf file. The configuration file has been created for
 you with some default values. To add additional metadata layers into your
 configuration please add entries to this file.
@@ -109,10 +109,11 @@ EOM
 
 # Put the abosolute path to the layers in bblayers.conf so we can run
 # bitbake without the init script after the first run
-sed s|##OEROOT##|$OEROOT|g $OECORELAYERCONF  
$BUILDDIR/conf/bblayers.conf
 # ##COREBASE## is deprecated as it's meaning was inconsistent, but continue
 # to replace it for compatibility.
-sed -i -e s|##COREBASE##|$OEROOT|g $BUILDDIR/conf/bblayers.conf
+sed -e s|##OEROOT##|$OEROOT|g \
+-e s|##COREBASE##|$OEROOT|g \
+$OECORELAYERCONF  $BUILDDIR/conf/bblayers.conf
 fi
 
 # Prevent disturbing a new GIT clone in same console
@@ -126,7 +127,7 @@ cat EOM
 You can now run 'bitbake target'
 
 EOM
-if [ x = x$OECORENOTESCONF ]; then
+if [ -z $OECORENOTESCONF ]; then
 OECORENOTESCONF=$OEROOT/meta/conf/conf-notes.txt
 fi
 [ ! -r $OECORENOTESCONF ] || cat $OECORENOTESCONF
-- 
1.8.5.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] oe-setup-builddir: small rework

2014-03-12 Thread Matthieu CRAPET
Hi,

Saul, I included your bashism fix in my patch.

I wanted to update copyright to something like:

# Copyright (C) 2012-2012 OpenEmbedded Team

but didn't know if this was appropriate.

Regards,
Matthieu
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 3/3] classes: Add gummiboot class

2014-03-12 Thread Matt Fleming
On Tue, 11 Mar, at 01:38:08PM, Darren Hart wrote:
 
 I'm surprised gummiboot requires STUB... Since STUB is there to allow the
 kernel to be booted directly, no bootloader required. I guess gummiboot is
 slightly less than a boot loader :-)

Gummiboot is an EFI application loader.

Since CONFIG_EFI_STUB sticks a PE/COFF header at the front of the
bzImage, it appears as an EFI application which gummiboot knows how to
load and run. This is also the reason you can execute the bzImage from
the EFI shell (or Boot Manager).

-- 
Matt Fleming, Intel Open Source Technology Center
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2] Create gstreamer-1.0 package groups

2014-03-12 Thread Sébastien Mennetrier
This recipe is based on gst-meta-base

Signed-off-by: Sébastien Mennetrier s.mennetr...@innotis.org
---
 .../gstreamer/gstreamer1.0-meta-base.bb| 62 ++
 1 file changed, 62 insertions(+)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
new file mode 100644
index 000..cb8dd1a
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
@@ -0,0 +1,62 @@
+DESCRIPTION = Gstreamer1.0 package groups
+LICENSE = MIT
+
+inherit packagegroup
+
+DEPENDS = gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good 
gstreamer1.0-plugins-bad
+
+PACKAGES = \
+gstreamer1.0-meta-base \
+gstreamer1.0-meta-x11-base \
+gstreamer1.0-meta-audio \
+gstreamer1.0-meta-debug \
+gstreamer1.0-meta-video
+
+ALLOW_EMPTY_gstreamer1.0-meta-base = 1
+ALLOW_EMPTY_gstreamer1.0-meta-x11-base = 1
+ALLOW_EMPTY_gstreamer1.0-meta-audio = 1
+ALLOW_EMPTY_gstreamer1.0-meta-debug = 1
+ALLOW_EMPTY_gstreamer1.0-meta-video = 1
+
+RDEPENDS_gstreamer1.0-meta-base = \
+${@base_contains('DISTRO_FEATURES', 'x11', 'gstreamer1.0-meta-x11-base', 
'', d)} \
+gstreamer1.0 \
+gstreamer1.0-plugins-base-playback \
+gstreamer1.0-plugins-base-gio \
+gstreamer1.0-plugins-base-alsa \
+gstreamer1.0-plugins-base-volume \
+gstreamer1.0-plugins-base-audioconvert \
+gstreamer1.0-plugins-base-audioresample \
+gstreamer1.0-plugins-base-typefindfunctions \
+gstreamer1.0-plugins-base-videoscale \
+gstreamer1.0-plugins-base-videoconvert \
+gstreamer1.0-plugins-good-autodetect \
+gstreamer1.0-plugins-good-souphttpsrc
+
+RRECOMMENDS_gstreamer1.0-meta-x11-base = \
+gstreamer1.0-plugins-base-ximagesink \
+gstreamer1.0-plugins-base-xvimagesink
+
+RDEPENDS_gstreamer1.0-meta-audio = \
+gstreamer1.0-meta-base \
+gstreamer1.0-plugins-base-vorbis \
+gstreamer1.0-plugins-base-ogg \
+gstreamer1.0-plugins-good-wavparse \
+gstreamer1.0-plugins-good-flac \
+${COMMERCIAL_AUDIO_PLUGINS}
+
+RDEPENDS_gstreamer1.0-meta-debug = \
+gstreamer1.0-meta-base \
+gstreamer1.0-plugins-good-debug \
+gstreamer1.0-plugins-base-audiotestsrc \
+gstreamer1.0-plugins-base-videotestsrc
+
+RDEPENDS_gstreamer1.0-meta-video = \
+gstreamer1.0-meta-base \
+gstreamer1.0-plugins-good-avi \
+gstreamer1.0-plugins-good-matroska \
+gstreamer1.0-plugins-base-theora \
+${COMMERCIAL_VIDEO_PLUGINS}
+
+RRECOMMENDS_gstreamer1.0-meta-video = \
+gstreamer1.0-meta-audio
-- 
1.8.1.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] libparted: make sure not to treat percentages as exact

2014-03-12 Thread Zhu Yanjun
---
 ...ke-sure-not-to-treat-percentages-as-exact.patch |   22 
 meta/recipes-extended/parted/parted_3.1.bb |3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-extended/parted/parted-3.1/parted-libparted-make-sure-not-to-treat-percentages-as-exact.patch

diff --git 
a/meta/recipes-extended/parted/parted-3.1/parted-libparted-make-sure-not-to-treat-percentages-as-exact.patch
 
b/meta/recipes-extended/parted/parted-3.1/parted-libparted-make-sure-not-to-treat-percentages-as-exact.patch
new file mode 100644
index 000..1cf8309
--- /dev/null
+++ 
b/meta/recipes-extended/parted/parted-3.1/parted-libparted-make-sure-not-to-treat-percentages-as-exact.patch
@@ -0,0 +1,22 @@
+libparted: make sure not to treat percentages as exact
+
+If 1% of the drive size worked out ot be an even power of
+two, it would trigger the exact placement.  Add an exception
+for the percent units.
+---
+ libparted/unit.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libparted/unit.c b/libparted/unit.c
+index e545985..ff479f1 100644
+--- a/libparted/unit.c
 b/libparted/unit.c
+@@ -548,7 +548,7 @@ ped_unit_parse_custom (const char* str, const PedDevice* 
dev, PedUnit unit,
+  do not use 4MiB as the range.  Rather, presume that they
+  are specifying precisely the starting or ending number,
+  and treat 4MiB just as we would treat 4194304B.  */
+-  if (is_power_of_2 (unit_size))
++  if (is_power_of_2 (unit_size)  unit != PED_UNIT_PERCENT)
+   radius = 0;
+ 
+   *sector = num * unit_size / dev-sector_size;
diff --git a/meta/recipes-extended/parted/parted_3.1.bb 
b/meta/recipes-extended/parted/parted_3.1.bb
index 8344ea8..d791275 100644
--- a/meta/recipes-extended/parted/parted_3.1.bb
+++ b/meta/recipes-extended/parted/parted_3.1.bb
@@ -4,7 +4,7 @@ LICENSE = GPLv3+
 LIC_FILES_CHKSUM = file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c
 SECTION = console/tools
 DEPENDS = ncurses readline util-linux
-PR = r1
+PR = r2
 
 SRC_URI = ${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
file://no_check.patch \
@@ -15,6 +15,7 @@ SRC_URI = ${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
file://fix-deprecated-readline.patch \
file://run-ptest \
file://Makefile \
+   
file://parted-libparted-make-sure-not-to-treat-percentages-as-exact.patch \
 
 
 SRC_URI[md5sum] = 5d89d64d94bcfefa9ce8f59f4b81bdcb
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 3/3] classes: Add gummiboot class

2014-03-12 Thread Stanacar, StefanX



On Wed, 2014-03-12 at 07:18 +0100, Koen Kooi wrote:
 Op 11 mrt. 2014, om 22:38 heeft Darren Hart dvh...@linux.intel.com het 
 volgende geschreven:
 
  On 3/7/14, 1:57, Stanacar, StefanX stefanx.stana...@intel.com wrote:
  
  
  
  
  On Thu, 2014-03-06 at 14:36 -0800, Darren Hart wrote:
  On 3/6/14, 10:15, Stefan Stanacar stefanx.stana...@intel.com wrote:
  
  Adds a gummiboot class similar to grub-efi class and makes the
  necessary
  changes so it can be used for live/hddimg images as well.
  
  One can set EFI_PROVIDER = gummiboot in local.conf to use gummiboot
  instead of grub-efi.
  Gummiboot requires some kernel options that are not enabled by default,
  so one has to build
  with KERNEL_FEATURES_append =  cfg/efi-ext.
  
  cfg/efi is insufficient?
  
  
  cfg/efi doesn't have CONFIG_EFI_STUB=y which is required by gummiboot.
  cfg/efi-ext adds more than that, it's true.
  
  Weird... Although the STUB should probably be in efi rather than efi-ext.
  I'm surprised gummiboot requires STUB... Since STUB is there to allow the
  kernel to be booted directly, no bootloader required. I guess gummiboot is
  slightly less than a boot loader :-)
 
 The gummiboot docs still claim to support both 'linux' and 'efi', so it's 
 supposed to work.

The site claims that Linux kernels need to be built with
CONFIG_EFI_STUB, and without that for me it wouldn't boot.

What you're saying is for the config file 
From the site:

efi executable EFI image
options options to pass to the EFI image / kernel command line
linux   linux kernel image (gummiboot still requires the kernel to have an
EFI stub)
initrd  initramfs image (gummiboot just adds this as option initrd=)

Cheers,
Stefan

 
 regards,
 
 Koen
 
  
  I'd Ack a patch to move STUB from efi-ext to efi.
  
  
  
  It's also a good idea to enable CONFIG_EFIVARS_FS, which is the
  newer/better interface than CONFIG_EFI_VARS that cfg/efi-ext enables.
  
  
  Hrm... OK, perhaps time to revisit those fragments and update them for
  current usage.
  
  
  --
  Darren
  
  
  The install scripts have been updated too, keeping the old behaviour
  around,
  but accounting for the new boot loader config files (if they exist).
  It can be argued that the installer and bootimg are a bit wierd and not
  necessarily correct,
  but I wanted to have the exact same behviour with gummiboot.
  With the default EFI_PROVIDER = grub-efi nothing changes, everthing
  should be just as before.
  
  I've tested live boot, install and normal boot on:
- FRI2
- genericx86-64 on NUC
  with:
  EFI_PROVIDER = gummiboot
  KERNEL_FEATURES_append =  cfg/efi-ext
  in local.conf.
  
  Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
  
  
  Generally looks good. My only reservation is the same as for 2/3, should
  we define an EFI interface rather than having to construct function
  names
  in the consumers of this class?
  
  I don't have a strong opinion here, it just seemed the simplest way atm,
  then adding another interface.
  
  Cheers,
  Stefan
  
  
  --
  Darren
  
  ---
  meta/classes/gummiboot.bbclass | 112
  +
  .../initrdscripts/files/init-install-efi.sh|  51 +++---
  2 files changed, 147 insertions(+), 16 deletions(-)
  create mode 100644 meta/classes/gummiboot.bbclass
  
  diff --git a/meta/classes/gummiboot.bbclass
  b/meta/classes/gummiboot.bbclass
  new file mode 100644
  index 000..5c11286
  --- /dev/null
  +++ b/meta/classes/gummiboot.bbclass
  @@ -0,0 +1,112 @@
  +EFICLASS_FUNC_PREFIX = gummiboot
  +
  +do_bootimg[depends] += gummiboot:do_deploy
  +do_bootdirectdisk[depends] += gummiboot:do_deploy
  +
  +EFIDIR = /EFI/BOOT
  +
  +GUMMIBOOT_CFG ?= ${S}/loader.conf
  +GUMMIBOOT_ENTRIES ?= 
  +GUMMIBOOT_TIMEOUT ?= 10
  +
  +gummiboot_populate() {
  +DEST=$1
  +
  +EFI_IMAGE=gummibootia32.efi
  +DEST_EFI_IMAGE=bootia32.efi
  +if [ ${TARGET_ARCH} = x86_64 ]; then
  +EFI_IMAGE=gummibootx64.efi
  +DEST_EFI_IMAGE=bootx64.efi
  +fi
  +
  +install -d ${DEST}${EFIDIR}
  +# gummiboot requires these paths for configuration files
  +# they are not customizable so no point in new vars
  +install -d ${DEST}/loader
  +install -d ${DEST}/loader/entries
  +install -m 0644 ${DEPLOY_DIR_IMAGE}/${EFI_IMAGE}
  ${DEST}${EFIDIR}/${DEST_EFI_IMAGE}
  +install -m 0644 ${GUMMIBOOT_CFG} ${DEST}/loader/loader.conf
  +for i in ${GUMMIBOOT_ENTRIES}; do
  +install -m 0644 ${i} ${DEST}/loader/entries
  +done
  +}
  +
  +gummiboot_iso_populate() {
  +iso_dir=$1
  +gummiboot_populate $iso_dir
  +mkdir -p ${EFIIMGDIR}/${EFIDIR}
  +cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR}
  +cp $iso_dir/vmlinuz ${EFIIMGDIR}
  +echo ${DEST_EFI_IMAGE}  ${EFIIMGDIR}/startup.nsh
  +if [ -f $iso_dir/initrd ] ; then
  +cp $iso_dir/initrd 

Re: [OE-core] [PATCH 6/6] gtk-engines: removed gconf inheritance

2014-03-12 Thread Burton, Ross
On 12 March 2014 08:36, Alexandru Palalau
alexandrux.pala...@linux.intel.com wrote:
 -inherit gnome
 +inherit gnomebase gtk-icon-cache mime

Are you sure mime is needed here?

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/6] gsettings-desktop-schemas: removed gconf inheritance

2014-03-12 Thread Burton, Ross
On 12 March 2014 08:36, Alexandru Palalau
alexandrux.pala...@linux.intel.com wrote:
 -inherit gnome gsettings gettext
 +inherit gnomebase gsettings gettext gtk-icon-cache mime

Pretty sure you don't need gtk-icon-cache and mime here.

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 3/6] gnome-mime-data: removed gconf inheritance

2014-03-12 Thread Burton, Ross
On 12 March 2014 08:36, Alexandru Palalau
alexandrux.pala...@linux.intel.com wrote:
 +inherit gnomebase gtk-icon-cache mime

Should just need gnomebase and mime.

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] gnomebase: remove trailing whitespace

2014-03-12 Thread Ross Burton
It seems that the bitbake parser is incredibly forgiving of trailing whitespace
in multi-line variables, but delete it to be sure.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/classes/gnomebase.bbclass |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass
index b299500..739bf60 100644
--- a/meta/classes/gnomebase.bbclass
+++ b/meta/classes/gnomebase.bbclass
@@ -10,7 +10,7 @@ DEPENDS += gnome-common-native
 
 FILES_${PN} += ${datadir}/application-registry  \
${datadir}/mime-info \
-   ${datadir}/mime/packages \  
+   ${datadir}/mime/packages \
${datadir}/mime/application \
${datadir}/gnome-2.0 \
${datadir}/polkit* \
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2 2/6] gst-plugins-gl: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
In order to remove WARN-QA message regarding --disable-schemas-install 
configure option.

Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb 
b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
index 60de7c0..90efbcc 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
@@ -12,7 +12,7 @@ DEPENDS += gst-plugins-base virtual/libgles2 virtual/egl 
jpeg libpng glew
 
 PR = r4
 
-inherit gettext gconf
+inherit gettext
 
 # This package doesn't have a configure switch for EGL or GL, so forcibly tell
 # configure that it can't find gl.h so it always uses EGL.  If/when we have 
some
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2 1/6] gnome-desktop: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
In order to remove WARN-QA message regarding --disable-schemas-install 
configure option.

Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gnome/gnome-desktop.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gnome/gnome-desktop.inc 
b/meta/recipes-gnome/gnome/gnome-desktop.inc
index 4fcf6ab..8bdf476 100644
--- a/meta/recipes-gnome/gnome/gnome-desktop.inc
+++ b/meta/recipes-gnome/gnome/gnome-desktop.inc
@@ -13,7 +13,7 @@ FILES_${PN} += ${datadir}/gnome-about 
${datadir}/libgnome-desktop/pnp.ids
 
 PR = r6
 
-inherit gnome pkgconfig
+inherit gnomebase mime gtk-icon-cache
 
 do_install_append () {
sed -i -e's,${STAGING_BINDIR_NATIVE},${bindir},g' 
${D}${bindir}/gnome-about
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2 0/6] Remove unneeded class inheritance

2014-03-12 Thread Alexandru Palalau
This patchset removes gconf inheritance for several gconf recipes that reported 
a WARN-QA message at buildtime regarding unrecognised --disable-schemas-install
configure option. This option is required by gconf.bbclass

Alexandru Palalau (6):
  gnome-desktop: removed gconf inheritance
  gst-plugins-gl: removed gconf inheritance
  gnome-mime-data: removed gconf and gtk-icon-cache inheritance
  gsettings-desktop-schemas: removed unneeded class inheritance
  gnome-doc-utils: removed gconf inheritance
  gtk-engines: removed gconf inheritance

 meta/recipes-gnome/gnome/gnome-desktop.inc  | 2 +-
 meta/recipes-gnome/gnome/gnome-doc-utils.inc| 2 +-
 meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb  | 3 +--
 meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb | 2 +-
 meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb| 2 +-
 meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb  | 2 +-
 6 files changed, 6 insertions(+), 7 deletions(-)

-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2 6/6] gtk-engines: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
Remove gconf class to fix WARN-QA message regarding --disable-install-schemas 
option.
mime is still required.

Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb 
b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
index ba07ac0..09534aa 100644
--- a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
+++ b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
@@ -26,7 +26,7 @@ FILES_${PN}-dbg += ${libdir}/gtk-2.0/*/engines/.debug
 
 CFLAGS_prepend = -DHAVE_ANIMATION 
 
-inherit gnome
+inherit gnomebase gtk-icon-cache mime
 
 python populate_packages_prepend() {
 engines_root = os.path.join(d.getVar('libdir', True), 
gtk-2.0/2.10.0/engines)
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2 5/6] gnome-doc-utils: removed gconf inheritance

2014-03-12 Thread Alexandru Palalau
In order to remove WARN-QA message regarding --disable-schemas-install 
configure option.

Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gnome/gnome-doc-utils.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc 
b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 0cc0ee5..ddda3a6 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -8,7 +8,7 @@ LICENSE = GPLv2  LGPLv2.1
 DEPENDS = libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0
 DEPENDS_class-native = libxml2-native libxslt-native intltool-native 
glib-2.0-native
 
-inherit gnome gettext python-dir pythonnative autotools-brokensep
+inherit gnomebase gettext python-dir pythonnative autotools-brokensep 
gtk-icon-cache mime
 
 EXTRA_OECONF += --disable-scrollkeeper
 
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2 4/6] gsettings-desktop-schemas: removed unneeded class inheritance

2014-03-12 Thread Alexandru Palalau
Removed gconf, gtk-icon-cache and mime classes as they are not needed

Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb 
b/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb
index 40e5b11..312d288 100644
--- a/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb
+++ b/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb
@@ -8,7 +8,7 @@ PR = r1
 
 DEPENDS = glib-2.0
 
-inherit gnome gsettings gettext
+inherit gnomebase gsettings gettext
 
 GNOME_COMPRESS_TYPE = xz
 
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2 3/6] gnome-mime-data: removed gconf and gtk-icon-cache inheritance

2014-03-12 Thread Alexandru Palalau
Should remove WARN-QA message regarding --disable-schemas-install.
gtk-icon-cache is not needed.

Signed-off-by: Alexandru Palalau alexandrux.pala...@linux.intel.com
---
 meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb 
b/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
index 62712fa..65b79f0 100644
--- a/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
@@ -6,8 +6,7 @@ LICENSE = GPLv2  GPLv2+
 LIC_FILES_CHKSUM = file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
file://check-mime.pl;endline=26;md5=a95b63c92c33d4ca1af61a315888f450
 
-inherit gnome
-inherit autotools
+inherit gnomebase mime
 PR = r4
 
 SRC_URI += file://pkgconfig.patch
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] libparted: make sure not to treat percentages as exact

2014-03-12 Thread Richard Purdie
On Wed, 2014-03-12 at 17:46 +0800, Zhu Yanjun wrote:
 ---
  ...ke-sure-not-to-treat-percentages-as-exact.patch |   22 
 
  meta/recipes-extended/parted/parted_3.1.bb |3 ++-
  2 files changed, 24 insertions(+), 1 deletion(-)
  create mode 100644 
 meta/recipes-extended/parted/parted-3.1/parted-libparted-make-sure-not-to-treat-percentages-as-exact.patch

There is no long log in the commit message (why is this patch
important?) and no Upstream-Status in the patch.

Cheers,

Richard

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Create gstreamer-1.0 package groups

2014-03-12 Thread Sébastien Mennetrier
This patch was tested on dora branch on build and runtime.
Also, it was tested on master branch, only on build.


Regards,
Sébastien


2014-03-12 10:44 GMT+01:00 Sébastien Mennetrier s.mennetr...@innotis.org:

 This recipe is based on gst-meta-base

 Signed-off-by: Sébastien Mennetrier s.mennetr...@innotis.org
 ---
  .../gstreamer/gstreamer1.0-meta-base.bb| 62
 ++
  1 file changed, 62 insertions(+)
  create mode 100644 meta/recipes-multimedia/gstreamer/
 gstreamer1.0-meta-base.bb

 diff --git 
 a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bbb/meta/recipes-multimedia/gstreamer/
 gstreamer1.0-meta-base.bb
 new file mode 100644
 index 000..cb8dd1a
 --- /dev/null
 +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
 @@ -0,0 +1,62 @@
 +DESCRIPTION = Gstreamer1.0 package groups
 +LICENSE = MIT
 +
 +inherit packagegroup
 +
 +DEPENDS = gstreamer1.0 gstreamer1.0-plugins-base
 gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
 +
 +PACKAGES = \
 +gstreamer1.0-meta-base \
 +gstreamer1.0-meta-x11-base \
 +gstreamer1.0-meta-audio \
 +gstreamer1.0-meta-debug \
 +gstreamer1.0-meta-video
 +
 +ALLOW_EMPTY_gstreamer1.0-meta-base = 1
 +ALLOW_EMPTY_gstreamer1.0-meta-x11-base = 1
 +ALLOW_EMPTY_gstreamer1.0-meta-audio = 1
 +ALLOW_EMPTY_gstreamer1.0-meta-debug = 1
 +ALLOW_EMPTY_gstreamer1.0-meta-video = 1
 +
 +RDEPENDS_gstreamer1.0-meta-base = \
 +${@base_contains('DISTRO_FEATURES', 'x11',
 'gstreamer1.0-meta-x11-base', '', d)} \
 +gstreamer1.0 \
 +gstreamer1.0-plugins-base-playback \
 +gstreamer1.0-plugins-base-gio \
 +gstreamer1.0-plugins-base-alsa \
 +gstreamer1.0-plugins-base-volume \
 +gstreamer1.0-plugins-base-audioconvert \
 +gstreamer1.0-plugins-base-audioresample \
 +gstreamer1.0-plugins-base-typefindfunctions \
 +gstreamer1.0-plugins-base-videoscale \
 +gstreamer1.0-plugins-base-videoconvert \
 +gstreamer1.0-plugins-good-autodetect \
 +gstreamer1.0-plugins-good-souphttpsrc
 +
 +RRECOMMENDS_gstreamer1.0-meta-x11-base = \
 +gstreamer1.0-plugins-base-ximagesink \
 +gstreamer1.0-plugins-base-xvimagesink
 +
 +RDEPENDS_gstreamer1.0-meta-audio = \
 +gstreamer1.0-meta-base \
 +gstreamer1.0-plugins-base-vorbis \
 +gstreamer1.0-plugins-base-ogg \
 +gstreamer1.0-plugins-good-wavparse \
 +gstreamer1.0-plugins-good-flac \
 +${COMMERCIAL_AUDIO_PLUGINS}
 +
 +RDEPENDS_gstreamer1.0-meta-debug = \
 +gstreamer1.0-meta-base \
 +gstreamer1.0-plugins-good-debug \
 +gstreamer1.0-plugins-base-audiotestsrc \
 +gstreamer1.0-plugins-base-videotestsrc
 +
 +RDEPENDS_gstreamer1.0-meta-video = \
 +gstreamer1.0-meta-base \
 +gstreamer1.0-plugins-good-avi \
 +gstreamer1.0-plugins-good-matroska \
 +gstreamer1.0-plugins-base-theora \
 +${COMMERCIAL_VIDEO_PLUGINS}
 +
 +RRECOMMENDS_gstreamer1.0-meta-video = \
 +gstreamer1.0-meta-audio
 --
 1.8.1.2


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] python3: Add ptest support

2014-03-12 Thread Paul Barker
On 11 March 2014 21:27, Tudor Florea tudor.flo...@enea.com wrote:


On 10 March 2014 18:15, Saul Wold s...@linux.intel.com wrote:
 On 03/06/2014 04:54 PM, Paul Barker wrote:

 A run-ptest script written in python is added which defines a new
 TestRunner
 subclass which prints test results in the required ptest format and then
 executes python's built-in testsuite using this new TestRunner subclass.
 snip

 Seems like there is an issue with the multi-lib build.

 ERROR: QA Issue: lib32-python3: Files/directories were installed but not
 shipped
   /usr/lib/python3
   /usr/lib/python3/ptest
 NOTE: recipe lib32-pulseaudio-4.0-r0: task do_package_write_rpm: Started

 Sau!



 +# This must come after inherit ptest for the override to take effect
 +do_install_ptest() {
 +install -m 0755 -d ${D}/${libdir}/python3/ptest
 +install -m 0755 ${S}/../run-ptest ${D}/${libdir}/${PN}/ptest
 +}

 Should I be using something other than ${libdir} here? I can see
 ${PTEST_PATH} used in the do_install_ptest function for python2,
 should I be using that instead?

 As I think I noted elsewhere, this is the first ptest related patch
 I've done so I don't really know much beyond what's documented at
 https://wiki.yoctoproject.org/wiki/Ptest.

 I think you may have to add a line like
 FILES_${PN} += /usr/lib/python3/ptest
 in the recipe (meta/recipes-devtools/python/python3_3.3.3.bb).

No, this belongs in the -ptest package. I just don't know what I'm doing wrong.

 ${PTEST_PATH} might be different than the above due to the use of suffix  
 ${PYTHON_MAJMIN}.
 Alternatively you might they to install ptest stuff here: 
 ${D}${libdir}/python${PYTHON_MAJMIN}

I think the path should be based on the package name (python3), not on
an internal identifier.

Thanks,

-- 
Paul Barker

Email: p...@paulbarker.me.uk
http://www.paulbarker.me.uk
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [meta-multimedia][PATCH] musicpd: upgrade to 0.18.9

2014-03-12 Thread Cristian Iorga
- Upgrade fixes a crash with libvorbis 1.3.4;
- Simplified SRC_URI;
- Reference for S no longer necessary.

Signed-off-by: Cristian Iorga cristian.io...@intel.com
---
 .../recipes-multimedia/musicpd/{mpd_0.18.4.bb = mpd_0.18.9.bb}  | 9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)
 rename meta-multimedia/recipes-multimedia/musicpd/{mpd_0.18.4.bb = 
mpd_0.18.9.bb} (89%)

diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.18.4.bb 
b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.18.9.bb
similarity index 89%
rename from meta-multimedia/recipes-multimedia/musicpd/mpd_0.18.4.bb
rename to meta-multimedia/recipes-multimedia/musicpd/mpd_0.18.9.bb
index 77ccc1f..349ccbb 100644
--- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.18.4.bb
+++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.18.9.bb
@@ -6,14 +6,11 @@ HOMEPAGE =http://sourceforge.net/projects/musicpd;
 DEPENDS = alsa-lib libsamplerate0 libsndfile1 libvorbis libogg faad2 ffmpeg 
curl sqlite bzip2 pulseaudio
 
 SRC_URI =  \
-http://www.musicpd.org/download/${PN}/stable/${PN}-0.18.tar.xz \
+http://www.musicpd.org/download/${PN}/stable/${BP}.tar.xz \
 file://mpd.conf.in \
 
-
-SRC_URI[md5sum] = 0d881fb32f9d31afcdb0bb13cb78b9ab
-SRC_URI[sha256sum] = 
6b171985f192603150c879d105dc4d05d701ac60a2db41630a4dce823e068388
-
-S = ${WORKDIR}/${PN}-0.18
+SRC_URI[md5sum] = 0e5156a831d4302d2032998bcfd5c36f
+SRC_URI[sha256sum] = 
0d4d3e6977cb607419abbb14c63d1e2b982acb84cd2be5346f19de5f699a68de
 
 inherit autotools useradd systemd
 
-- 
1.8.3.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-freescale] systemtap fails to build

2014-03-12 Thread Otavio Salvador
Hello,

This is not meta-fsl-arm specific so I am adding OE-Core mailing list in
copy.

On Wed, Mar 12, 2014 at 8:09 AM, Boszormenyi Zoltan zbos...@pr.hu wrote:

 I was trying to bitbake core-image-lsb-sdk and it failed with the error
 below.
 Even after repo sync ; bitbake -c clean systemtap

 | In file included from /usr/include/stdio.h:27:0,
 |  from /home/zozo/fsl-community-bsp/
 build-master-next/tmp/work/x86_64-linux/systemtap-native/
 2.5+gitAUTOINC+508059f048-r0/git/staprun/staprun.h:18,
 |  from /home/zozo/fsl-community-bsp/
 build-master-next/tmp/work/x86_64-linux/systemtap-native/
 2.5+gitAUTOINC+508059f048-r0/git/staprun/staprun.c:24:
 | /usr/include/features.h:148:3: error: #warning _BSD_SOURCE and
 _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE [-Werror=cpp]
 |  # warning _BSD_SOURCE and _SVID_SOURCE are deprecated, use
 _DEFAULT_SOURCE
 |^
 | cc1: all warnings being treated as errors
 | make[3]: *** [staprun-staprun.o] Error 1

 I am using a hybrid system, host is mostly Fedora 20 with some
 packages upgraded from Rawhide, like GLIBC 2.19.90.
 The attached (shortsighted) patch allows it to build here.


Do someone know if it is being in worked by someone?

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Create gstreamer-1.0 package groups

2014-03-12 Thread Otavio Salvador
On Wed, Mar 12, 2014 at 6:44 AM, Sébastien Mennetrier 
s.mennetr...@innotis.org wrote:

 This recipe is based on gst-meta-base

 Signed-off-by: Sébastien Mennetrier s.mennetr...@innotis.org



I think you ought to use a better commit log (as this is not a packagegroup
at all) or change it to be a package group. Either way works for me :)

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2 1/6] gnome-desktop: removed gconf inheritance

2014-03-12 Thread Burton, Ross
On 12 March 2014 12:27, Alexandru Palalau
alexandrux.pala...@linux.intel.com wrote:
 +inherit gnomebase mime gtk-icon-cache

Just gnomebase, there are no MIME types or shared icons installed in
this recipe.

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] libm accuracy, eglibc compared to glibc

2014-03-12 Thread Mats Kärrman
Hi,

I face a problem with libm. With my Dora build the following assertion doesn't 
hold:

sqrt( pow( sqrt( 2.0 ), 4.0 ) ) == 2.0

1) With my old OE-classic / glibc-2.9 / PowerPC-hf it holds.
2) With my Debian desktop PC / glibc-2.17 / amd64 it holds.
3) With my new OE-core Dora / eglibc-2.18 / PowerPC-hf it doesn't hold.

Close enough one can think but the standardized test case I run requires the 
result to be 2.0.
A simple test program:

#include stdio.h
#include math.h

int main(){

double two = 2.0;
double four = 4.0;

double s1 = sqrt(two);
printf(sqrt(%.20f) = %.20f\n, two, s1);
double p   = pow(s1, four);
printf(pow(%.20f, %.20f) = %.20f\n, s1, four, p);
double s2 = sqrt(p);
printf(sqrt(%.20f) = %.20f\n, p, s2);

}


results from 1 and 2 (identical):
sqrt(2.) = 1.41421356237309514547
pow(1.41421356237309514547, 4.) = 4.00088818
sqrt(4.00088818) = 2.

results from 3:
sqrt(2.) = 1.41421356237309492343
pow(1.41421356237309492343, 4.) = 3.99866773
sqrt(3.99866773) = 1.99955591

Does anyone know if this is a known feature of eglibc or know any other reason
for this difference?

Best Regards,
Mats
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2 5/6] gnome-doc-utils: removed gconf inheritance

2014-03-12 Thread Burton, Ross
On 12 March 2014 12:27, Alexandru Palalau
alexandrux.pala...@linux.intel.com wrote:
 +inherit gnomebase gettext python-dir pythonnative autotools-brokensep 
 gtk-icon-cache mime

I can't see any reason for gtk-icon-cache and mime to be inherited.

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] libm accuracy, eglibc compared to glibc

2014-03-12 Thread Stanacar, StefanX

Hello,

I just want to point out that this looks very similar to a qemuppc
machine bug we've seen before with libm and floor() call:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4854

It was fixed with:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2a48e9007cc92fedfdb6919411859fb943eacc94

HTH,
Stefan

On Wed, 2014-03-12 at 15:30 +, Mats Kärrman wrote:
 Hi,
 
 I face a problem with libm. With my Dora build the following assertion 
 doesn't hold:
 
 sqrt( pow( sqrt( 2.0 ), 4.0 ) ) == 2.0
 
 1) With my old OE-classic / glibc-2.9 / PowerPC-hf it holds.
 2) With my Debian desktop PC / glibc-2.17 / amd64 it holds.
 3) With my new OE-core Dora / eglibc-2.18 / PowerPC-hf it doesn't hold.
 
 Close enough one can think but the standardized test case I run requires the 
 result to be 2.0.
 A simple test program:
 
 #include stdio.h
 #include math.h
 
 int main(){
 
   double two = 2.0;
   double four = 4.0;
 
   double s1 = sqrt(two);
   printf(sqrt(%.20f) = %.20f\n, two, s1);
   double p   = pow(s1, four);
   printf(pow(%.20f, %.20f) = %.20f\n, s1, four, p);
   double s2 = sqrt(p);
   printf(sqrt(%.20f) = %.20f\n, p, s2);
 
 }
 
 
 results from 1 and 2 (identical):
 sqrt(2.) = 1.41421356237309514547
 pow(1.41421356237309514547, 4.) = 4.00088818
 sqrt(4.00088818) = 2.
 
 results from 3:
 sqrt(2.) = 1.41421356237309492343
 pow(1.41421356237309492343, 4.) = 3.99866773
 sqrt(3.99866773) = 1.99955591
 
 Does anyone know if this is a known feature of eglibc or know any other 
 reason
 for this difference?
 
 Best Regards,
 Mats

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] libm accuracy, eglibc compared to glibc

2014-03-12 Thread Burton, Ross
On 12 March 2014 15:30, Mats Kärrman mats.karr...@tritech.se wrote:
 Does anyone know if this is a known feature of eglibc or know any other 
 reason
 for this difference?

I expect the standard response from upstream here would be that
floating point mathematics isn't exact and if you want exact answers
then you should use a different representation. The differences start
at the first sqrt():

Test 1 and 2:
sqrt(2.) = 1.41421356237309514547
Test 3:
sqrt(2.) = 1.41421356237309492343
Test using bc and scale=30 (bc is fixed-point not floating-point):
sqrt(2.) = 1.414213562373095048801688724209

The output from bc is a truncation of the real value of sqrt(2)
whereas both values from C's sqrt() function using floats are
approximations, both equally close.  Why does your test case expect
the answer to be 2.0?  That's a massive assumption to make, floats can
trivially lose accuracy rapidly as
http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems
explains.

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] libm accuracy, eglibc compared to glibc

2014-03-12 Thread Phil Blundell
On Wed, 2014-03-12 at 15:30 +, Mats Kärrman wrote:
 Does anyone know if this is a known feature of eglibc or know any other 
 reason
 for this difference?

Does eglibc's own libm testsuite pass on your platform?  I wonder if
oe-core is accidentally building eglibc without big libm for you, or
something like that.  Might be worth checking your option-groups.config
to make sure.

p.


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] libm accuracy, eglibc compared to glibc

2014-03-12 Thread Khem Raj
Hi Mats

On Wed, Mar 12, 2014 at 8:30 AM, Mats Kärrman mats.karr...@tritech.se wrote:
 Hi,

 I face a problem with libm. With my Dora build the following assertion 
 doesn't hold:

 sqrt( pow( sqrt( 2.0 ), 4.0 ) ) == 2.0

 1) With my old OE-classic / glibc-2.9 / PowerPC-hf it holds.
 2) With my Debian desktop PC / glibc-2.17 / amd64 it holds.
 3) With my new OE-core Dora / eglibc-2.18 / PowerPC-hf it doesn't hold.

 Close enough one can think but the standardized test case I run requires the 
 result to be 2.0.
 A simple test program:
 
 #include stdio.h
 #include math.h

 int main(){

 double two = 2.0;
 double four = 4.0;

 double s1 = sqrt(two);
 printf(sqrt(%.20f) = %.20f\n, two, s1);
 double p   = pow(s1, four);
 printf(pow(%.20f, %.20f) = %.20f\n, s1, four, p);
 double s2 = sqrt(p);
 printf(sqrt(%.20f) = %.20f\n, p, s2);

 }
 

 results from 1 and 2 (identical):
 sqrt(2.) = 1.41421356237309514547
 pow(1.41421356237309514547, 4.) = 4.00088818
 sqrt(4.00088818) = 2.

 results from 3:
 sqrt(2.) = 1.41421356237309492343
 pow(1.41421356237309492343, 4.) = 3.99866773
 sqrt(3.99866773) = 1.99955591

 Does anyone know if this is a known feature of eglibc or know any other 
 reason
 for this difference?

We have done changes since OE-Classic days in the FPU area for ppc.
what ppc machine is it ? I have access to p2020 based machine (e500v2)
and it works as expected with
dora/eglibc-2.18

 Best Regards,
 Mats
 --
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/6] toaster.bbclass: read the data needed for license manifest path

2014-03-12 Thread Alex DAMIAN
From: Cristiana Voicu cristiana.vo...@intel.com

The license.manifest file is located in DEPLOY_DIR_IMAGE/licenses/
IMAGE_NAME dir. The data needed is collected after rootfs task.

[YOCTO #5649]
Signed-off-by: Cristiana Voicu cristiana.vo...@intel.com
---
 meta/classes/toaster.bbclass | 12 
 1 file changed, 12 insertions(+)

diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass
index ddfceb5..563b1f7 100644
--- a/meta/classes/toaster.bbclass
+++ b/meta/classes/toaster.bbclass
@@ -296,6 +296,17 @@ python toaster_buildhistory_dump() {
 
 }
 
+# dump information related to license manifest path
+
+python toaster_licensemanifest_dump() {
+deploy_dir_image = d.getVar('DEPLOY_DIR_IMAGE', True);
+image_name = d.getVar('IMAGE_NAME', True);
+
+data = { 'deploy_dir_image' : deploy_dir_image, 'image_name' : image_name }
+
+bb.event.fire(bb.event.MetadataEvent(LicenseManifestPath, data), d)
+}
+
 # set event handlers
 addhandler toaster_layerinfo_dumpdata
 toaster_layerinfo_dumpdata[eventmask] = bb.event.TreeDataPreparationCompleted
@@ -308,3 +319,4 @@ toaster_buildhistory_dump[eventmask] = 
bb.event.BuildCompleted
 do_package[postfuncs] += toaster_package_dumpdata 
 
 do_rootfs[postfuncs] += toaster_image_dumpdata 
+do_rootfs[postfuncs] += toaster_licensemanifest_dump 
-- 
1.8.3.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] tclibc-uclibc: Changing assignment to conditional variable assignment

2014-03-12 Thread Andrey Belous
From: Andrey Belous abel...@hotmail.com

Setting of a variable PREFERRED_PROVIDER_virtual/libc only if it doesn't have a 
value

Signed-off-by: Andrey Belous abel...@broadcom.com
Signed-off-by: Nicolas Dechesne nicolas.deche...@linaro.org
---
 meta/conf/distro/include/tclibc-uclibc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/tclibc-uclibc.inc 
b/meta/conf/distro/include/tclibc-uclibc.inc
index 9245112..a4d8c39 100644
--- a/meta/conf/distro/include/tclibc-uclibc.inc
+++ b/meta/conf/distro/include/tclibc-uclibc.inc
@@ -8,7 +8,7 @@ LIBCEXTENSION = -uclibc
 LIBCOVERRIDE = :libc-uclibc
 OVERRIDES .= ${LIBCOVERRIDE}
 
-PREFERRED_PROVIDER_virtual/libc = uclibc
+PREFERRED_PROVIDER_virtual/libc ?= uclibc
 PREFERRED_PROVIDER_virtual/libiconv ?= libiconv
 PREFERRED_PROVIDER_virtual/libintl ?= gettext
 PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= nativesdk-eglibc
-- 
1.9.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [dora][PATCH 0/1] Dora backport of master fix

2014-03-12 Thread Paul Eggleton
Backporting this to dora since it's about to be backported to dylan as
well.


The following changes since commit ca55e7321f0c52fbe13d301d0dfe3adff5435639:

  iproute2: de-bash its scripts to remove the bash dependency (2014-03-11 
07:56:29 -0700)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/dora-lsbtest
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/dora-lsbtest

Stefan Stanacar (1):
  lsbtest: fix comparison bashism

 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 2 +-
 meta/recipes-extended/lsb/lsbtest_1.0.bb  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
1.8.5.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [dora][PATCH 1/1] lsbtest: fix comparison bashism

2014-03-12 Thread Paul Eggleton
From: Stefan Stanacar stefanx.stana...@intel.com

== is a bashism use = instead.

(Based on OE-Core master rev: c90d1047c41148cbd57f26b5a34563346602a71b)

Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
Signed-off-by: Saul Wold s...@linux.intel.com
Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 2 +-
 meta/recipes-extended/lsb/lsbtest_1.0.bb  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh 
b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
index af1d61c..cea0199 100644
--- a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
+++ b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
@@ -272,7 +272,7 @@ then
 fi
 
 if ! `grep -F -q noarch-suse ${PLATFORM_FILE}`; then
-   if [ ${ARCH} == i686 ];then
+   if [ ${ARCH} = i686 ];then
echo i486-suse  ${PLATFORM_FILE}
echo i486-noarch  ${PLATFORM_FILE}
echo i486-pc  ${PLATFORM_FILE}
diff --git a/meta/recipes-extended/lsb/lsbtest_1.0.bb 
b/meta/recipes-extended/lsb/lsbtest_1.0.bb
index 8973e09..84cb4f2 100644
--- a/meta/recipes-extended/lsb/lsbtest_1.0.bb
+++ b/meta/recipes-extended/lsb/lsbtest_1.0.bb
@@ -19,15 +19,15 @@ do_install() {
install -d  ${D}/opt/lsb-test
install -m 0644 ${S}/packages_list ${D}/opt/lsb-test/packages_list
install -m 0644 ${S}/session ${D}/opt/lsb-test/session
-   if [ ${TARGET_ARCH} == i586 ];then
+   if [ ${TARGET_ARCH} = i586 ];then
sed -i -e 's/lsbarch/ia32/g' -e 's/targetarch/i486/g' 
${D}/opt/lsb-test/packages_list
sed -i -e 's/targetarch/x86/g' ${D}/opt/lsb-test/session
fi
-   if [ ${TARGET_ARCH} == x86_64 ];then
+   if [ ${TARGET_ARCH} = x86_64 ];then
sed -i -e 's/lsbarch/amd64/g' -e 's/targetarch/x86_64/g' 
${D}/opt/lsb-test/packages_list
sed -i -e 's/targetarch/x86-64/g' ${D}/opt/lsb-test/session
fi
-   if [ ${TARGET_ARCH} == powerpc ];then
+   if [ ${TARGET_ARCH} = powerpc ];then
sed -i -e 's/lsbarch/ppc32/g' -e 's/targetarch/ppc/g' 
${D}/opt/lsb-test/packages_list
sed -i -e 's/targetarch/PPC32/g' ${D}/opt/lsb-test/session
fi
-- 
1.8.5.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [dylan][PATCH 0/5] Fixes for 1.4.3 QA failures (cover letter only)

2014-03-12 Thread Paul Eggleton
These are all fixes for 1.4.3 QA failures, and are all backports from
master. One of the fixes is not yet in dora and I have sent that for
dora separately.


The following changes since commit fae45abd37636741d51e5b75ad2c09f43b72d01d:

  gnutls: fix failure during do_compile (2014-03-06 10:31:45 +)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/dylan-fixes
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/dylan-fixes

Darren Hart (1):
  init-install-efi.sh: Remove unnecessary udev rules file to avoid
errors

Mark Hatle (1):
  rpm: Enable compatibility with older RPM packages that have invalid
platforms

Richard Purdie (2):
  python-2.7-manifest: Add missing python-ctypes dependency to
python-multiprocessing
  runqemu: Use correct kvm CPU options for qemux86* with kvm

Stefan Stanacar (1):
  lsbtest: fix comparison bashism

 .../initrdscripts/files/init-install-efi.sh|  1 +
 .../python/python-2.7-manifest.inc |  2 +-
 .../rpm/rpm/rpm-lsb-compatibility.patch| 24 ++
 meta/recipes-devtools/rpm/rpm_5.4.9.bb |  3 ++-
 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh  |  2 +-
 meta/recipes-extended/lsb/lsbtest_1.0.bb   |  6 +++---
 scripts/contrib/python/generate-manifest-2.7.py|  2 +-
 scripts/runqemu|  6 +-
 8 files changed, 38 insertions(+), 8 deletions(-)
 create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-lsb-compatibility.patch

-- 
1.8.5.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] wic: Use mke2fs to create the ext2/3/4 image

2014-03-12 Thread Tom Zanussi
On Mon, 2014-03-10 at 22:06 -0700, Richard Purdie wrote:
 On Mon, 2014-03-10 at 19:05 -0500, Tom Zanussi wrote:
  On Sun, 2014-03-09 at 18:04 -0700, Richard Purdie wrote:
   On Sat, 2014-03-08 at 19:23 -0300, João Henrique Ferreira de Freitas
   wrote:
OE-core commit f3a95ca6886b55e5819b068bdbd2cceb882d91a6 removed the
populate-extfs.sh. So mke2fs should be used to create ext2/3/4 image.

Signed-off-by: João Henrique Ferreira de Freitas joa...@gmail.com
---
 scripts/lib/mic/kickstart/custom_commands/partition.py | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py 
b/scripts/lib/mic/kickstart/custom_commands/partition.py
index 91d751e..e0a82f5 100644
--- a/scripts/lib/mic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
@@ -174,7 +174,6 @@ class Wic_PartData(Mic_PartData):
 
 Prepare content for an ext2/3/4 rootfs partition.
 
-populate_script = %s/usr/bin/populate-extfs.sh % 
native_sysroot
 
 image_rootfs = rootfs_dir
 rootfs = %s/rootfs.%s % (cr_workdir, self.fstype)
@@ -199,11 +198,10 @@ class Wic_PartData(Mic_PartData):
 
 extra_imagecmd = -i 8192
 
-mkfs_cmd = mkfs.%s -F %s %s % (self.fstype, extra_imagecmd, 
rootfs)
+mkfs_cmd = mkfs.%s -F %s %s -d %s % \
+(self.fstype, extra_imagecmd, rootfs, image_rootfs)
 rc, out = exec_native_cmd(mkfs_cmd, native_sysroot)
 
-populate_cmd = populate_script +   + image_rootfs +   + 
rootfs
-rc, out = exec_native_cmd(pseudo + populate_cmd, 
native_sysroot)
 
 # get the rootfs size in the right units for kickstart (Mb)
 du_cmd = du -Lbms %s % rootfs
   
   Don't we need to be careful to find the binary from the native sysroot
   here since that is the one with the root directory option?
   
  
  Hmm, exec_native_cmd(mkfs_cmd, native_sysroot) is being used to do the
  'mke2fs -d', which should do the right thing... Am I missing something?
 
 I hadn't realised that the exec_native_cmd took care of resolving the
 prefix for you. The populate_script had a prefix because its used with
 pseudo (I'd thought it was so it found the right command). 
 
 That does raise another question though, how does this work now pseudo
 isn't used?
 

Good point, it did miss pseudo.  Here's a fix to the fix:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-ext2fs-fix-fix



[PATCH] wic: Use pseudo for ext mkfs command

The switchover from populate-exfs.sh to mke2fs forgot to preserve
pseudo, add it back.

Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com
---
 scripts/lib/mic/kickstart/custom_commands/partition.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py 
b/scripts/lib/mic/kickstart/custom_commands/partition.py
index e0a82f5..e15150b 100644
--- a/scripts/lib/mic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
@@ -200,7 +200,7 @@ class Wic_PartData(Mic_PartData):
 
 mkfs_cmd = mkfs.%s -F %s %s -d %s % \
 (self.fstype, extra_imagecmd, rootfs, image_rootfs)
-rc, out = exec_native_cmd(mkfs_cmd, native_sysroot)
+rc, out = exec_native_cmd(pseudo + mkfs_cmd, native_sysroot)
 
 
 # get the rootfs size in the right units for kickstart (Mb)
-- 
1.8.3.1



 Cheers,
 
 Richard
 


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] wic: Use mke2fs to create the ext2/3/4 image

2014-03-12 Thread Richard Purdie
On Wed, 2014-03-12 at 14:54 -0500, Tom Zanussi wrote:
 On Mon, 2014-03-10 at 22:06 -0700, Richard Purdie wrote:
  On Mon, 2014-03-10 at 19:05 -0500, Tom Zanussi wrote:
   On Sun, 2014-03-09 at 18:04 -0700, Richard Purdie wrote:
On Sat, 2014-03-08 at 19:23 -0300, João Henrique Ferreira de Freitas
wrote:
 OE-core commit f3a95ca6886b55e5819b068bdbd2cceb882d91a6 removed the
 populate-extfs.sh. So mke2fs should be used to create ext2/3/4 image.
 
 Signed-off-by: João Henrique Ferreira de Freitas joa...@gmail.com
 ---
  scripts/lib/mic/kickstart/custom_commands/partition.py | 6 ++
  1 file changed, 2 insertions(+), 4 deletions(-)
 
 diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py 
 b/scripts/lib/mic/kickstart/custom_commands/partition.py
 index 91d751e..e0a82f5 100644
 --- a/scripts/lib/mic/kickstart/custom_commands/partition.py
 +++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
 @@ -174,7 +174,6 @@ class Wic_PartData(Mic_PartData):
  
  Prepare content for an ext2/3/4 rootfs partition.
  
 -populate_script = %s/usr/bin/populate-extfs.sh % 
 native_sysroot
  
  image_rootfs = rootfs_dir
  rootfs = %s/rootfs.%s % (cr_workdir, self.fstype)
 @@ -199,11 +198,10 @@ class Wic_PartData(Mic_PartData):
  
  extra_imagecmd = -i 8192
  
 -mkfs_cmd = mkfs.%s -F %s %s % (self.fstype, 
 extra_imagecmd, rootfs)
 +mkfs_cmd = mkfs.%s -F %s %s -d %s % \
 +(self.fstype, extra_imagecmd, rootfs, image_rootfs)
  rc, out = exec_native_cmd(mkfs_cmd, native_sysroot)
  
 -populate_cmd = populate_script +   + image_rootfs +   + 
 rootfs
 -rc, out = exec_native_cmd(pseudo + populate_cmd, 
 native_sysroot)
  
  # get the rootfs size in the right units for kickstart (Mb)
  du_cmd = du -Lbms %s % rootfs

Don't we need to be careful to find the binary from the native sysroot
here since that is the one with the root directory option?

   
   Hmm, exec_native_cmd(mkfs_cmd, native_sysroot) is being used to do the
   'mke2fs -d', which should do the right thing... Am I missing something?
  
  I hadn't realised that the exec_native_cmd took care of resolving the
  prefix for you. The populate_script had a prefix because its used with
  pseudo (I'd thought it was so it found the right command). 
  
  That does raise another question though, how does this work now pseudo
  isn't used?
  
 
 Good point, it did miss pseudo.  Here's a fix to the fix:
 
 http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-ext2fs-fix-fix
 
 
 
 [PATCH] wic: Use pseudo for ext mkfs command
 
 The switchover from populate-exfs.sh to mke2fs forgot to preserve
 pseudo, add it back.
 
 Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com
 ---
  scripts/lib/mic/kickstart/custom_commands/partition.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py 
 b/scripts/lib/mic/kickstart/custom_commands/partition.py
 index e0a82f5..e15150b 100644
 --- a/scripts/lib/mic/kickstart/custom_commands/partition.py
 +++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
 @@ -200,7 +200,7 @@ class Wic_PartData(Mic_PartData):
  
  mkfs_cmd = mkfs.%s -F %s %s -d %s % \
  (self.fstype, extra_imagecmd, rootfs, image_rootfs)
 -rc, out = exec_native_cmd(mkfs_cmd, native_sysroot)
 +rc, out = exec_native_cmd(pseudo + mkfs_cmd, native_sysroot)

In the original version the full path to mkfs.X was specified, in this
version PATH will be used to find it. Will it find the right version?

Cheers,

Richard

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] wic: Use mke2fs to create the ext2/3/4 image

2014-03-12 Thread Tom Zanussi
On Wed, 2014-03-12 at 13:34 -0700, Richard Purdie wrote:
 On Wed, 2014-03-12 at 14:54 -0500, Tom Zanussi wrote:
  On Mon, 2014-03-10 at 22:06 -0700, Richard Purdie wrote:
   On Mon, 2014-03-10 at 19:05 -0500, Tom Zanussi wrote:
On Sun, 2014-03-09 at 18:04 -0700, Richard Purdie wrote:
 On Sat, 2014-03-08 at 19:23 -0300, João Henrique Ferreira de Freitas
 wrote:
  OE-core commit f3a95ca6886b55e5819b068bdbd2cceb882d91a6 removed the
  populate-extfs.sh. So mke2fs should be used to create ext2/3/4 
  image.
  
  Signed-off-by: João Henrique Ferreira de Freitas joa...@gmail.com
  ---
   scripts/lib/mic/kickstart/custom_commands/partition.py | 6 ++
   1 file changed, 2 insertions(+), 4 deletions(-)
  
  diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py 
  b/scripts/lib/mic/kickstart/custom_commands/partition.py
  index 91d751e..e0a82f5 100644
  --- a/scripts/lib/mic/kickstart/custom_commands/partition.py
  +++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
  @@ -174,7 +174,6 @@ class Wic_PartData(Mic_PartData):
   
   Prepare content for an ext2/3/4 rootfs partition.
   
  -populate_script = %s/usr/bin/populate-extfs.sh % 
  native_sysroot
   
   image_rootfs = rootfs_dir
   rootfs = %s/rootfs.%s % (cr_workdir, self.fstype)
  @@ -199,11 +198,10 @@ class Wic_PartData(Mic_PartData):
   
   extra_imagecmd = -i 8192
   
  -mkfs_cmd = mkfs.%s -F %s %s % (self.fstype, 
  extra_imagecmd, rootfs)
  +mkfs_cmd = mkfs.%s -F %s %s -d %s % \
  +(self.fstype, extra_imagecmd, rootfs, image_rootfs)
   rc, out = exec_native_cmd(mkfs_cmd, native_sysroot)
   
  -populate_cmd = populate_script +   + image_rootfs +   
  + rootfs
  -rc, out = exec_native_cmd(pseudo + populate_cmd, 
  native_sysroot)
   
   # get the rootfs size in the right units for kickstart (Mb)
   du_cmd = du -Lbms %s % rootfs
 
 Don't we need to be careful to find the binary from the native sysroot
 here since that is the one with the root directory option?
 

Hmm, exec_native_cmd(mkfs_cmd, native_sysroot) is being used to do the
'mke2fs -d', which should do the right thing... Am I missing something?
   
   I hadn't realised that the exec_native_cmd took care of resolving the
   prefix for you. The populate_script had a prefix because its used with
   pseudo (I'd thought it was so it found the right command). 
   
   That does raise another question though, how does this work now pseudo
   isn't used?
   
  
  Good point, it did miss pseudo.  Here's a fix to the fix:
  
  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-ext2fs-fix-fix
  
  
  
  [PATCH] wic: Use pseudo for ext mkfs command
  
  The switchover from populate-exfs.sh to mke2fs forgot to preserve
  pseudo, add it back.
  
  Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com
  ---
   scripts/lib/mic/kickstart/custom_commands/partition.py | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
  
  diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py 
  b/scripts/lib/mic/kickstart/custom_commands/partition.py
  index e0a82f5..e15150b 100644
  --- a/scripts/lib/mic/kickstart/custom_commands/partition.py
  +++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
  @@ -200,7 +200,7 @@ class Wic_PartData(Mic_PartData):
   
   mkfs_cmd = mkfs.%s -F %s %s -d %s % \
   (self.fstype, extra_imagecmd, rootfs, image_rootfs)
  -rc, out = exec_native_cmd(mkfs_cmd, native_sysroot)
  +rc, out = exec_native_cmd(pseudo + mkfs_cmd, native_sysroot)
 
 In the original version the full path to mkfs.X was specified, in this
 version PATH will be used to find it. Will it find the right version?
 

Yeah, that's what exec_native_cmd does:

native_paths = \
export PATH=%s/sbin:%s/usr/sbin:%s/usr/bin:$PATH % \
(native_sysroot, native_sysroot, native_sysroot)

The original didn't need to specify the full path, not sure why it
did...

Tom

 Cheers,
 
 Richard
 


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe-commits] Ross Burton : gnomebase: remove trailing whitespace

2014-03-12 Thread Martin Jansa
On Wed, Mar 12, 2014 at 12:58:12PM +, g...@git.openembedded.org wrote:
 Module: openembedded-core.git
 Branch: master
 Commit: 0c404fa1a0372c56f700eb93900abd83175199ef
 URL:
 http://git.openembedded.org/?p=openembedded-core.gita=commit;h=0c404fa1a0372c56f700eb93900abd83175199ef
 
 Author: Ross Burton ross.bur...@intel.com
 Date:   Wed Mar 12 10:36:08 2014 +
 
 gnomebase: remove trailing whitespace
 
 It seems that the bitbake parser is incredibly forgiving of trailing 
 whitespace
 in multi-line variables, but delete it to be sure.
 
 Signed-off-by: Ross Burton ross.bur...@intel.com
 Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
 
 ---
 
  meta/classes/gnomebase.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass
 index b299500..739bf60 100644
 --- a/meta/classes/gnomebase.bbclass
 +++ b/meta/classes/gnomebase.bbclass
 @@ -10,7 +10,7 @@ DEPENDS += gnome-common-native
  
  FILES_${PN} += ${datadir}/application-registry  \
   ${datadir}/mime-info \
 - ${datadir}/mime/packages \  
 + ${datadir}/mime/packages \
   ${datadir}/mime/application \
   ${datadir}/gnome-2.0 \
   ${datadir}/polkit* \

Can you also please fix it to use spaces instead of tabs here?

 
 -- 
 ___
 Openembedded-commits mailing list
 openembedded-comm...@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] libparted: make sure not to treat percentages as exact

2014-03-12 Thread Otavio Salvador
On Wed, Mar 12, 2014 at 10:14 AM, Richard Purdie
richard.pur...@linuxfoundation.org wrote:
 On Wed, 2014-03-12 at 17:46 +0800, Zhu Yanjun wrote:
 ---
  ...ke-sure-not-to-treat-percentages-as-exact.patch |   22 
 
  meta/recipes-extended/parted/parted_3.1.bb |3 ++-
  2 files changed, 24 insertions(+), 1 deletion(-)
  create mode 100644 
 meta/recipes-extended/parted/parted-3.1/parted-libparted-make-sure-not-to-treat-percentages-as-exact.patch

 There is no long log in the commit message (why is this patch
 important?) and no Upstream-Status in the patch.

Please send the patch to the upstream mailing list. I can help with
the handling there if needed (I was quite involved in GNU Parted
development, in past).

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1]eglibc: tweak glibc.fix_sqrt2.patch for eglibc-2.19

2014-03-12 Thread Hongxu Jia
The following changes since commit 5f81d9d1fa537445d5da49e12de1e16300e94552:

  bitbake: runqueue: Use SIGCHLD instead of polling waitpid (2014-03-10 
11:10:02 -0700)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib hongxu/fix-eglibc
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-eglibc

Hongxu Jia (1):
  eglibc: tweak glibc.fix_sqrt2.patch for eglibc-2.19

 .../eglibc/eglibc-2.19/glibc.fix_sqrt2.patch   | 24 +++---
 1 file changed, 12 insertions(+), 12 deletions(-)

-- 
1.8.1.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] eglibc: tweak glibc.fix_sqrt2.patch for eglibc-2.19

2014-03-12 Thread Hongxu Jia
While the type of powerpc32 cpu is 603e (In meta/conf/machine/
qemuppc.conf, require conf/machine/include/tune-ppc603e.inc),
there was a failure to build eglibc-2.19:
...
| ../sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c: In function
'__slow_ieee754_sqrt':
| ../sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c:122:15: error:
subscripted value is neither array nor pointer nor vector
|if ((u.l[1]  FE_INVALID) == 0)
|^
| ../sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c:121:20: warning:
variable 'u' set but not used [-Wunused-but-set-variable]
|fenv_union_t u = { .fenv = fegetenv_register () };
...

In 'eglibc-2.19/libc/sysdeps/powerpc/fpu/fenv_libc.h', the above
struct fenv_union_t is defined as:
...
typedef union
{
  fenv_t fenv;
  unsigned long long l;
} fenv_union_t;
...

Rather than 'eglibc-2.16/libc/sysdeps/powerpc/fpu/fenv_libc.h':
...
typedef union
{
  fenv_t fenv;
  unsigned int l[2];
} fenv_union_t;
...

So we should update the glibc.fix_sqrt2.patch for eglibc-2.19.

Signed-off-by: Hongxu Jia hongxu@windriver.com
---
 .../eglibc/eglibc-2.19/glibc.fix_sqrt2.patch   | 24 +++---
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch 
b/meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch
index a669729..0dcca7c 100644
--- a/meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch
@@ -132,7 +132,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c libc/sysdeps/pow
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ -237,7 +237,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c libc/sysdeps/po
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ -375,7 +375,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c libc/sysdeps/p
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ -480,7 +480,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c libc/sysdeps/
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ -618,7 +618,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c libc/sysdeps/po
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ -723,7 +723,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c libc/sysdeps/p
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ -861,7 +861,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c libc/sysdeps/po
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ -966,7 +966,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c libc/sysdeps/p
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ -1104,7 +1104,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c libc/sysdeps/po
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ -1209,7 +1209,7 @@ diff -ruN 
libc-orig/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c libc/sysdeps/p
 +  feraiseexcept (FE_INVALID_SQRT);
 +
 +  fenv_union_t u = { .fenv = fegetenv_register () };
-+  if ((u.l[1]  FE_INVALID) == 0)
++  if ((u.l  FE_INVALID) == 0)
 +#endif
 +  feraiseexcept (FE_INVALID);
 +  b = a_nan.value;
@@ 

Re: [OE-core] [PATCH 0/1]eglibc: tweak glibc.fix_sqrt2.patch for eglibc-2.19

2014-03-12 Thread Khem Raj

On Mar 12, 2014, at 7:14 PM, Hongxu Jia hongxu@windriver.com wrote:

 The following changes since commit 5f81d9d1fa537445d5da49e12de1e16300e94552:
 
  bitbake: runqueue: Use SIGCHLD instead of polling waitpid (2014-03-10 
 11:10:02 -0700)
 
 are available in the git repository at:
 
  git://git.pokylinux.org/poky-contrib hongxu/fix-eglibc
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-eglibc

Does this patch do anything in addition to

commit 6235cc3ccf98dce15ffe3313cf4e6cdf9c922bce
Author: Khem Raj raj.k...@gmail.com
Date:   Mon Mar 10 15:51:37 2014 +

eglibc: Fix build for FSL ppc/fpu

The patch needs to adapt to upstream changes
should fix errors on e500mc+ based SOCs

This should fix [YOCTO #5871]

Signed-off-by: Khem Raj raj.k...@gmail.com
Signed-off-by: Saul Wold s...@linux.intel.com
Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org





 
 Hongxu Jia (1):
  eglibc: tweak glibc.fix_sqrt2.patch for eglibc-2.19
 
 .../eglibc/eglibc-2.19/glibc.fix_sqrt2.patch   | 24 +++---
 1 file changed, 12 insertions(+), 12 deletions(-)
 
 -- 
 1.8.1.2
 



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/1]eglibc: tweak glibc.fix_sqrt2.patch for eglibc-2.19

2014-03-12 Thread Hongxu Jia

On 03/13/2014 10:32 AM, Khem Raj wrote:

On Mar 12, 2014, at 7:14 PM, Hongxu Jia hongxu@windriver.com wrote:


The following changes since commit 5f81d9d1fa537445d5da49e12de1e16300e94552:

  bitbake: runqueue: Use SIGCHLD instead of polling waitpid (2014-03-10 
11:10:02 -0700)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib hongxu/fix-eglibc
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-eglibc

Does this patch do anything in addition to


Oh, It seems I am not updating to the latest version,
you have fixed this issue, so please drop the duplicated
one.

//Hongxu


commit 6235cc3ccf98dce15ffe3313cf4e6cdf9c922bce
Author: Khem Raj raj.k...@gmail.com
Date:   Mon Mar 10 15:51:37 2014 +

 eglibc: Fix build for FSL ppc/fpu
 
 The patch needs to adapt to upstream changes

 should fix errors on e500mc+ based SOCs
 
 This should fix [YOCTO #5871]
 
 Signed-off-by: Khem Raj raj.k...@gmail.com

 Signed-off-by: Saul Wold s...@linux.intel.com
 Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org






Hongxu Jia (1):
  eglibc: tweak glibc.fix_sqrt2.patch for eglibc-2.19

.../eglibc/eglibc-2.19/glibc.fix_sqrt2.patch   | 24 +++---
1 file changed, 12 insertions(+), 12 deletions(-)

--
1.8.1.2



--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core