Re: [OE-core] [PATCH 3/8] wayland: Upgrade 1.10.0 -> 1.11.0

2016-07-15 Thread Khem Raj

> On Jul 15, 2016, at 3:15 PM, Burton, Ross  wrote:
> 
> 
> On 15 July 2016 at 11:41, Jussi Kukkonen  > wrote:
> Signed-off-by: Jussi Kukkonen  >
> 
> This breaks with musl:
> 
> | ../wayland-1.11.0/src/scanner.c: In function 'find_enumeration':
> | ../wayland-1.11.0/src/scanner.c:811:2: error: unknown type name 'uint'
> |   uint idx = 0, j;

Fixed with
https://patchwork.freedesktop.org/patch/98992/ 


Please back port and test

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



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 3/8] wayland: Upgrade 1.10.0 -> 1.11.0

2016-07-15 Thread Burton, Ross
On 15 July 2016 at 11:41, Jussi Kukkonen  wrote:

> Signed-off-by: Jussi Kukkonen 
>

This breaks with musl:

| ../wayland-1.11.0/src/scanner.c: In function 'find_enumeration':
| ../wayland-1.11.0/src/scanner.c:811:2: error: unknown type name 'uint'
|   uint idx = 0, j;

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


Re: [OE-core] [PATCH v2] weston-init: De-couple framebuffer console from Weston for systemd startup

2016-07-15 Thread Tom Hochstein
Sorry again, seems that the weston-start parser is not prepared to take no 
openvt arguments. Will need to fix that as well.

Tom

-Original Message-
From: Otavio Salvador [mailto:otavio.salva...@ossystems.com.br] 
Sent: Friday, July 15, 2016 12:01 PM
To: Tom Hochstein 
Cc: Patches and discussions about the oe-core layer 

Subject: Re: [OE-core] [PATCH v2] weston-init: De-couple framebuffer console 
from Weston for systemd startup

On Fri, Jul 15, 2016 at 1:33 PM, Tom Hochstein  wrote:
> The framebuffer console was using the same I/O as Weston. We fix this
> by having openvt switch to the new VT when starting weston-launch, same
> as is already done for the sysvinit case.
>
> Signed-off-by: Tom Hochstein 

Acked-by: Otavio Salvador 

-- 
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 3/3] classes/testimage: When image is systemd enable debug log level

2016-07-15 Thread Burton, Ross
On 12 July 2016 at 22:29, Aníbal Limón  wrote:

> +bootparams = 'systemd.log_level=debug systemd
> .log_target=console'
>

The problem with this is that it appears that logger output then goes
*only* to the console and not the journal or syslog, which breaks selftest
(and expected behaviour).

https://autobuilder.yoctoproject.org/main/builders/nightly-qa-systemd/builds/851
for example, which goes green if I revert this patch.

If this is the case then it would be great if there was a
journal-and-console log_target I guess.

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


Re: [OE-core] [PATCH] weston-init: De-couple framebuffer console from Weston

2016-07-15 Thread Tom Hochstein
Sorry, looks like this fix is in the wrong place. The sysvinit solution passes 
the -s openvt arg to weston-start, and the systemd solution should do the same. 
Will have a new patch shortly.

Tom

-Original Message-
From: Otavio Salvador [mailto:otavio.salva...@ossystems.com.br] 
Sent: Tuesday, July 12, 2016 5:13 AM
To: Tom Hochstein 
Cc: Patches and discussions about the oe-core layer 

Subject: Re: [OE-core] [PATCH] weston-init: De-couple framebuffer console from 
Weston

On Mon, Jul 11, 2016 at 7:06 PM, Tom Hochstein  wrote:
> The framebuffer console was using the same I/O as Weston. We fix this
> by having openvt switch to the new VT when starting weston-launch.
>
> Signed-off-by: Tom Hochstein 

Acked-by: Otavio Salvador 

-- 
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 2/2] juce: Added support for JUCE framework

2016-07-15 Thread Burton, Ross
On 15 July 2016 at 17:36, Felipe F. Tonello  wrote:

> For TL;DRs: JUCE is a well known and widely used C++ Framework for audio
> applications. It has good support for Linux and ARM.
>

Getting new recipes into oe-core has a high bar.  Why would this be in
oe-core and not it's own layer, or part of meta-multimedia?

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


Re: [OE-core] [krogoth][PATCH 1/8] pkgconfig: Fix build with gcc-6

2016-07-15 Thread Tim Orling
On Fri, Jul 15, 2016 at 7:27 AM, akuster808  wrote:

>
>
> On 07/15/2016 07:08 AM, Burton, Ross wrote:
> > On 15 July 2016 at 14:53, akuster808  wrote:
> >
> >> So this is the host gcc not the one in OE?
> >>
> >
> > Yes, the situation was host with gcc6 building krogoth.
>
> Thanks. After looking further down the queue I found the PATCH 0/8 and
> it explained.
>
> The original master commits are cryptic on which GCC 6 has the issue.
>
>
Sorry. I wasn't thinking about that when I did the cherry-picks. This was
all for gcc-6 on host only, but those commits have no indication of that.
And of course the cover-letter will not be in the git history.

I probably should have done rebase reword on them for clarity.

Cheers.

--Tim


> thanks,
> - Armin
> >
> > Ross
> >
> --
> ___
> 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


Re: [OE-core] [PATCH v2] weston-init: De-couple framebuffer console from Weston for systemd startup

2016-07-15 Thread Otavio Salvador
On Fri, Jul 15, 2016 at 1:33 PM, Tom Hochstein  wrote:
> The framebuffer console was using the same I/O as Weston. We fix this
> by having openvt switch to the new VT when starting weston-launch, same
> as is already done for the sysvinit case.
>
> Signed-off-by: Tom Hochstein 

Acked-by: Otavio Salvador 

-- 
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 2/2] juce: Added support for JUCE framework

2016-07-15 Thread Felipe F. Tonello
See below for the official README from JUCE.

For TL;DRs: JUCE is a well known and widely used C++ Framework for audio
applications. It has good support for Linux and ARM.

A typical JUCE application recipe will only contain this skeleton:

inherit juce

SRC_URI = "..."

JUCE_JUCERS = "${B}/Embedded/equator-embedded.jucer"

do_compile() {
  CONFIG=Release oe_runmake
}

do_install() {
  install ...
}

==

>From the README:

JUCE (Jules' Utility Class Extensions) is an all-encompassing
C++ framework for developing cross-platform software.

It contains pretty much everything you're likely to need to create
most applications, and is particularly well-suited for building
highly-customised GUIs, and for handling graphics and sound.

Most JUCE modules are shared under the GNU Public Licence
(GPLv2, v3, and the AGPLv3). This means that the code can
be freely copied and distributed, and costs nothing to use
in other GPL applications. One module (the juce_core module)
is permissively licensed under the ISC.

For more information, visit the website:
http://www.juce.com)

Signed-off-by: Felipe F. Tonello 
---
 meta/classes/juce.bbclass  | 37 +++
 meta/recipes-devtools/juce/projucer_git.bb | 41 ++
 2 files changed, 78 insertions(+)
 create mode 100644 meta/classes/juce.bbclass
 create mode 100644 meta/recipes-devtools/juce/projucer_git.bb

diff --git a/meta/classes/juce.bbclass b/meta/classes/juce.bbclass
new file mode 100644
index ..8fba23863f2d
--- /dev/null
+++ b/meta/classes/juce.bbclass
@@ -0,0 +1,37 @@
+inherit pkgconfig
+
+JUCE_X11_DEPS = "libx11 libxext libxinerama libxinerama libxrandr libxcursor 
freetype"
+JUCE_DEPS = " \
+  ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${JUCE_X11_DEPS}', '', d)} \
+  alsa-lib \
+  curl \
+"
+DEPENDS_prepend = "projucer-native ${JUCE_DEPS} "
+
+export OE_JUCE_INTROJUCER = "${STAGING_BINDIR_NATIVE}/Projucer"
+
+juce_do_configure() {
+  if [ -z "${JUCE_JUCERS}" ]; then
+JUCERS=`find . -type f -iname "*.jucer"` && IFS=$'\n'
+  else
+JUCERS="${JUCE_JUCERS}"
+  fi
+
+  if [ -z "$JUCERS" ]; then
+die "JUCE_JUCERS not set and no profiles found in $PWD"
+  fi
+
+  # XXX: Hack for Projucer, since it requires a X Display even when running in
+  # console mode. This will be fixed in future. Most cases DISPLAY=:0 will 
just work,
+  # the only case why we have JUCE_DISPLAY variable, is in case of a build 
system,
+  # such as jenkins, that can have multiple virtual X server running for each 
build.
+  test -z "${JUCE_DISPLAY}" && export DISPLAY=:0 || export 
DISPLAY=${JUCE_DISPLAY}
+
+  for i in $JUCERS; do
+${OE_JUCE_PROJUCER} --resave $i
+  done
+}
+
+EXPORT_FUNCTIONS do_configure
+
+addtask configure after do_unpack do_patch before do_compile
diff --git a/meta/recipes-devtools/juce/projucer_git.bb 
b/meta/recipes-devtools/juce/projucer_git.bb
new file mode 100644
index ..74389d477ada
--- /dev/null
+++ b/meta/recipes-devtools/juce/projucer_git.bb
@@ -0,0 +1,41 @@
+SUMMARY = "JUCE's Projucer"
+DESCRIPTION = "Projucer is used to build and generate support files and build 
infrastructure for all \
+JUCE supported platforms, including Linux and Embedded Linux."
+SECTION = "utils"
+HOMEPAGE = "http://juce.com/;
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://README.txt;md5=9ab765ccda8890efc753f287911a1958"
+
+inherit pkgconfig
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-git:"
+
+DEPENDS = "libx11 libxext libxinerama libxrandr libxcursor freetype alsa-lib 
curl"
+
+SRCREV = "a8a7fa28e2e9cb19db6a27fcccb567a8ccfe6109"
+BRANCH = "develop"
+SRC_URI = 
"git://github.com/julianstorer/JUCE.git;protocol=https;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+PV = "4.2.3+git${SRCPV}"
+
+JUCE_PROJUCER_BUILD_PATH = "${B}/extras/Projucer/Builds"
+JUCE_PROJUCER_MAKEFILE_PATH = "${JUCE_PROJUCER_BUILD_PATH}/LinuxMakefile"
+JUCE_PROJUCER = "${JUCE_PROJUCER_MAKEFILE_PATH}/build/Projucer"
+
+do_configure() {
+  cd ${JUCE_PROJUCER_MAKEFILE_PATH}
+  CONFIG=Release oe_runmake clean
+}
+
+do_compile() {
+  cd ${JUCE_PROJUCER_MAKEFILE_PATH}
+  CONFIG=Release oe_runmake
+}
+
+do_install() {
+  install -d ${D}${bindir}
+  install -m 0755 ${JUCE_PROJUCER} ${D}${bindir}
+}
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.9.0

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


[OE-core] [PATCH v2] weston-init: De-couple framebuffer console from Weston for systemd startup

2016-07-15 Thread Tom Hochstein
The framebuffer console was using the same I/O as Weston. We fix this
by having openvt switch to the new VT when starting weston-launch, same
as is already done for the sysvinit case.

Signed-off-by: Tom Hochstein 
---
 meta/recipes-graphics/wayland/weston-init/init | 2 +-
 meta/recipes-graphics/wayland/weston-init/weston-start | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/wayland/weston-init/init 
b/meta/recipes-graphics/wayland/weston-init/init
index 5c925f4..d3e87c6 100644
--- a/meta/recipes-graphics/wayland/weston-init/init
+++ b/meta/recipes-graphics/wayland/weston-init/init
@@ -31,7 +31,7 @@ case "$1" in
   start)
 . /etc/profile
 
-weston-start -s -- $OPTARGS
+weston-start -- $OPTARGS
   ;;
 
   stop)
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start 
b/meta/recipes-graphics/wayland/weston-init/weston-start
index 5b7604f..1ede12e 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -37,7 +37,7 @@ else
launcher="weston-launch --"
 fi
 
-openvt_args=""
+openvt_args="-s"
 while [ -n "$1" ]; do
openvt_args="$openvt_args $1"
shift
-- 
1.9.1

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


[OE-core] [PATCH 0/2] JUCE Framework support for OE

2016-07-15 Thread Felipe F. Tonello
This patchset contains the needed infrastructure needed in order to easily
support JUCE applications on OpenEmbedded.

For more information about JUCE, check the patch #2.

Felipe F. Tonello (2):
  recipes-graphics: Added native and nativesdk support for some
libraries
  juce: Added support for JUCE framework

 meta/classes/juce.bbclass  | 37 +++
 meta/recipes-devtools/juce/projucer_git.bb | 41 ++
 meta/recipes-graphics/freetype/freetype_2.6.3.bb   |  2 +-
 .../recipes-graphics/xorg-lib/libxcursor_1.1.14.bb |  2 +-
 .../recipes-graphics/xorg-lib/libxinerama_1.1.3.bb |  2 ++
 .../xorg-proto/xineramaproto_1.2.1.bb  |  2 ++
 6 files changed, 84 insertions(+), 2 deletions(-)
 create mode 100644 meta/classes/juce.bbclass
 create mode 100644 meta/recipes-devtools/juce/projucer_git.bb

-- 
2.9.0

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


[OE-core] [PATCH 1/2] recipes-graphics: Added native and nativesdk support for some libraries

2016-07-15 Thread Felipe F. Tonello
These libraries are used in some recipes outside oe-core, so we should add
this class support to avoid duplication and bbappends on other layers.

Signed-off-by: Felipe F. Tonello 
---
 meta/recipes-graphics/freetype/freetype_2.6.3.bb| 2 +-
 meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb | 2 +-
 meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb | 2 ++
 meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb | 2 ++
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/freetype/freetype_2.6.3.bb 
b/meta/recipes-graphics/freetype/freetype_2.6.3.bb
index bcd50444cb83..c59376d66386 100644
--- a/meta/recipes-graphics/freetype/freetype_2.6.3.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.6.3.bb
@@ -46,4 +46,4 @@ do_install_append() {
 
 BINCONFIG = "${bindir}/freetype-config"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb 
b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
index a8e4f24b6ba9..17629047b7b7 100644
--- a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
@@ -12,7 +12,7 @@ LICENSE = "MIT-style"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8902e6643f7bcd7793b23dcd5d8031a4"
 
 DEPENDS += "libxrender libxfixes"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
 
 PE = "1"
 
diff --git a/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb 
b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
index 027c8043d843..bb03f44e25ad 100644
--- a/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
+++ b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
@@ -18,3 +18,5 @@ XORG_PN = "libXinerama"
 
 SRC_URI[md5sum] = "9336dc46ae3bf5f81c247f7131461efd"
 SRC_URI[sha256sum] = 
"7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb 
b/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
index d00774ece5dc..dde7e9db7aa8 100644
--- a/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
+++ b/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
@@ -15,3 +15,5 @@ PE = "1"
 
 SRC_URI[md5sum] = "9959fe0bfb22a0e7260433b8d199590a"
 SRC_URI[sha256sum] = 
"977574bb3dc192ecd9c55f59f991ec1dff340be3e31392c95deff423da52485b"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.9.0

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


[OE-core] [PATCH] lib/oe/path: Fix tar invocation with --no-recursion

2016-07-15 Thread Clemens Lang
tar's --no-recursion flag only applies to files mentioned after the
flag, which made it a no-op in this invocation of tar, because it was at
the end of the command line.

This is simple to verify with GNU tar 1.29:

| $ mkdir foo
| $ mkdir foo/dir
| $ touch foo/dir/file
| $ tar -cf - foo --no-recursion | tar t
| foo/
| foo/dir/
| foo/dir/file
| $ tar -cf - --no-recursion foo | tar t
| foo/

Modify the code so that it actually does what the comment says by moving
the flag in front of the --files-from argument.

Signed-off-by: Clemens Lang 
---
 meta/lib/oe/path.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py
index 413ebfb..9e238ea 100644
--- a/meta/lib/oe/path.py
+++ b/meta/lib/oe/path.py
@@ -77,7 +77,7 @@ def copyhardlinktree(src, dst):
 if (os.stat(src).st_dev ==  os.stat(dst).st_dev):
 # Need to copy directories only with tar first since cp will error if 
two 
 # writers try and create a directory at the same time
-cmd = 'cd %s; find . -type d -print | tar -cf - -C %s -p --files-from 
- --no-recursion | tar -xf - -C %s' % (src, src, dst)
+cmd = 'cd %s; find . -type d -print | tar -cf - -C %s -p 
--no-recursion --files-from - | tar -xf - -C %s' % (src, src, dst)
 check_output(cmd, shell=True, stderr=subprocess.STDOUT)
 cmd = 'cd %s; find . -print0 | cpio --null -pdlu %s' % (src, dst)
 check_output(cmd, shell=True, stderr=subprocess.STDOUT)
-- 
2.8.1

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


Re: [OE-core] [PATCH] recipes-graphics: Added native and nativesdk support for some libraries

2016-07-15 Thread Felipe Ferreri Tonello

Please, disregard this as I had to send inside a patchset.

Thanks.


On 15/07/16 17:20, Felipe F. Tonello wrote:
> These libraries are used in some recipes outside oe-core, so we should add
> this class support to avoid duplication and bbappends on other layers.
> 
> Signed-off-by: Felipe F. Tonello 
> ---
>  meta/recipes-graphics/freetype/freetype_2.6.3.bb| 2 +-
>  meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb | 2 +-
>  meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb | 2 ++
>  meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb | 2 ++
>  4 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-graphics/freetype/freetype_2.6.3.bb 
> b/meta/recipes-graphics/freetype/freetype_2.6.3.bb
> index bcd50444cb83..c59376d66386 100644
> --- a/meta/recipes-graphics/freetype/freetype_2.6.3.bb
> +++ b/meta/recipes-graphics/freetype/freetype_2.6.3.bb
> @@ -46,4 +46,4 @@ do_install_append() {
>  
>  BINCONFIG = "${bindir}/freetype-config"
>  
> -BBCLASSEXTEND = "native"
> +BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb 
> b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
> index a8e4f24b6ba9..17629047b7b7 100644
> --- a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
> +++ b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
> @@ -12,7 +12,7 @@ LICENSE = "MIT-style"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=8902e6643f7bcd7793b23dcd5d8031a4"
>  
>  DEPENDS += "libxrender libxfixes"
> -BBCLASSEXTEND = "native"
> +BBCLASSEXTEND = "native nativesdk"
>  
>  PE = "1"
>  
> diff --git a/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb 
> b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
> index 027c8043d843..bb03f44e25ad 100644
> --- a/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
> +++ b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
> @@ -18,3 +18,5 @@ XORG_PN = "libXinerama"
>  
>  SRC_URI[md5sum] = "9336dc46ae3bf5f81c247f7131461efd"
>  SRC_URI[sha256sum] = 
> "7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2"
> +
> +BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb 
> b/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
> index d00774ece5dc..dde7e9db7aa8 100644
> --- a/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
> +++ b/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
> @@ -15,3 +15,5 @@ PE = "1"
>  
>  SRC_URI[md5sum] = "9959fe0bfb22a0e7260433b8d199590a"
>  SRC_URI[sha256sum] = 
> "977574bb3dc192ecd9c55f59f991ec1dff340be3e31392c95deff423da52485b"
> +
> +BBCLASSEXTEND = "native nativesdk"
> 


0x92698E6A.asc
Description: application/pgp-keys
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] recipes-graphics: Added native and nativesdk support for some libraries

2016-07-15 Thread Felipe F. Tonello
These libraries are used in some recipes outside oe-core, so we should add
this class support to avoid duplication and bbappends on other layers.

Signed-off-by: Felipe F. Tonello 
---
 meta/recipes-graphics/freetype/freetype_2.6.3.bb| 2 +-
 meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb | 2 +-
 meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb | 2 ++
 meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb | 2 ++
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/freetype/freetype_2.6.3.bb 
b/meta/recipes-graphics/freetype/freetype_2.6.3.bb
index bcd50444cb83..c59376d66386 100644
--- a/meta/recipes-graphics/freetype/freetype_2.6.3.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.6.3.bb
@@ -46,4 +46,4 @@ do_install_append() {
 
 BINCONFIG = "${bindir}/freetype-config"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb 
b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
index a8e4f24b6ba9..17629047b7b7 100644
--- a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
@@ -12,7 +12,7 @@ LICENSE = "MIT-style"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8902e6643f7bcd7793b23dcd5d8031a4"
 
 DEPENDS += "libxrender libxfixes"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
 
 PE = "1"
 
diff --git a/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb 
b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
index 027c8043d843..bb03f44e25ad 100644
--- a/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
+++ b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
@@ -18,3 +18,5 @@ XORG_PN = "libXinerama"
 
 SRC_URI[md5sum] = "9336dc46ae3bf5f81c247f7131461efd"
 SRC_URI[sha256sum] = 
"7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb 
b/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
index d00774ece5dc..dde7e9db7aa8 100644
--- a/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
+++ b/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
@@ -15,3 +15,5 @@ PE = "1"
 
 SRC_URI[md5sum] = "9959fe0bfb22a0e7260433b8d199590a"
 SRC_URI[sha256sum] = 
"977574bb3dc192ecd9c55f59f991ec1dff340be3e31392c95deff423da52485b"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.9.0

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


Re: [OE-core] [yocto] Yocto Project Status WW29

2016-07-15 Thread akuster808


On 07/15/2016 08:32 AM, Saul Wold wrote:
> 
> Current Dev Position: YP 2.2 M2
> Next Deadline: YP 2.2 M2 cut off would
> be: 7/18/16 (This coming Monday - 5:00pm GMT)
> 
> SWAT team rotation: Paul -> Ross
> https://wiki.yoctoproject.org/wiki/Yoct
> o_Build_Failure_Swat_Team
> 
> Key Status/Updates:
>  * Richard has been out this week, so the report will be thin.
>  * Performance regressions were narrowed down to the GCC6 Update, movingto 
> GTK3 and the Python3 port. Investigation into how to mitigate thisis ongoing.
>  * We’re considering removing uclibc and GCC 5.4 (preferring musl and GCC6) 
> from OE Core 2.2, so if this would impact you please speak up.
>  * 2.1.1 Completed QA, but there was a High found to do with supportingFedora 
> 24, which released very soon after 2.1 initially released andshould be a 
> supported build host. This will delay 2.1.1 until after M2QA is completed.

Any idea on an ETA on M2QA will start. Since 2.1.1 is being delayed,
does that open the door for more back ports not related to the F24 fixes ?

- armin

>  * Reminder that the M2 cut off is this coming Monday!
> 
> Key YP 2.2 Dates:
>  * YP 2.2 M1 release would be: 6/24/16
>  * YP 2.2 M2 cut off would be: 7/18/16
>  * YP 2.2 M2 release would be: 7/29/16
>  * YP 2.2 M3 cut off would be: 8/29/16
>  * YP 2.2 M3 release would be: 9/9/16
>  * YP 2.2 M4 cut off would be: 10/3/16
>  * YP 2.2 M4 release would be: 10/28/16
> 
> Tracking Metrics:
>   WDD 2698 (last week 2747)
> (https://wiki.yoctoproject.org/charts/combo.html)
> 
> Key Status Links for YP:
> https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.2_Status
> https://wiki.yoctoproject.org/wiki/Yocto_2.2_Schedule
> https://wiki.yoctoproject.org/wiki/Yocto_2.2_Features
> 
> [If anyone has suggestions for other information you’d like to see on this 
> weekly status update, let us know!]
> 
> 
> 
> 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] Yocto Project Status WW29

2016-07-15 Thread Saul Wold

Current Dev Position: YP 2.2 M2
Next Deadline: YP 2.2 M2 cut off would
be: 7/18/16 (This coming Monday - 5:00pm GMT)

SWAT team rotation: Paul -> Ross
https://wiki.yoctoproject.org/wiki/Yoct
o_Build_Failure_Swat_Team

Key Status/Updates:
 * Richard has been out this week, so the report will be thin.
 * Performance regressions were narrowed down to the GCC6 Update, movingto GTK3 
and the Python3 port. Investigation into how to mitigate thisis ongoing.
 * We’re considering removing uclibc and GCC 5.4 (preferring musl and GCC6) 
from OE Core 2.2, so if this would impact you please speak up.
 * 2.1.1 Completed QA, but there was a High found to do with supportingFedora 
24, which released very soon after 2.1 initially released andshould be a 
supported build host. This will delay 2.1.1 until after M2QA is completed.
 * Reminder that the M2 cut off is this coming Monday!

Key YP 2.2 Dates:
 * YP 2.2 M1 release would be: 6/24/16
 * YP 2.2 M2 cut off would be: 7/18/16
 * YP 2.2 M2 release would be: 7/29/16
 * YP 2.2 M3 cut off would be: 8/29/16
 * YP 2.2 M3 release would be: 9/9/16
 * YP 2.2 M4 cut off would be: 10/3/16
 * YP 2.2 M4 release would be: 10/28/16

Tracking Metrics:
WDD 2698 (last week 2747)
(https://wiki.yoctoproject.org/charts/combo.html)

Key Status Links for YP:
https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.2_Status
https://wiki.yoctoproject.org/wiki/Yocto_2.2_Schedule
https://wiki.yoctoproject.org/wiki/Yocto_2.2_Features

[If anyone has suggestions for other information you’d like to see on this 
weekly status update, let us know!]

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


[OE-core] [PATCH] oe-git-proxy: don't depend on syslinux

2016-07-15 Thread André Draszik
gethostip comes from syslinux. It seems odd to depend on a bootloader
to clone a git repository.

Switch to using getent from the c-library, which should be available
on every system.

We now also support the case where a hostname resolves to more than
one IP address.

Signed-off-by: André Draszik 
---
 scripts/oe-git-proxy | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy
index 1247902..0078e95 100755
--- a/scripts/oe-git-proxy
+++ b/scripts/oe-git-proxy
@@ -86,13 +86,14 @@ match_host() {
 
# Match by netmask
if valid_ipv4 $GLOB; then
-   HOST_IP=$(gethostip -d $HOST)
-   if valid_ipv4 $HOST_IP; then
-   match_ipv4 $GLOB $HOST_IP
-   if [ $? -eq 0 ]; then
-   return 0
+   for HOST_IP in $(getent ahostsv4 $HOST | grep ' STREAM ' | cut 
-d ' ' -f 1) ; do
+   if valid_ipv4 $HOST_IP; then
+   match_ipv4 $GLOB $HOST_IP
+   if [ $? -eq 0 ]; then
+   return 0
+   fi
fi
-   fi
+   done
fi
 
return 1
-- 
2.8.1

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


Re: [OE-core] [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9

2016-07-15 Thread Pascal Bach
Hi Armin

The patch only modifies an existing patch which already has a header.
I really just did the minimum change by copying and adapting the missing 
section from the corresponding patch for 5.3. to make qemuppc work again.

Pascal

On 15.07.2016 16:20, akuster808 wrote:
> Pascal,
>
> The "0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch" is
> missing the OE patch standard header information.
>
> please see http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
>
> Also, there is no .bb update so this patch will be applied.
>
> regards,
> Armin
>
> On 07/15/2016 06:22 AM, Pascal Bach wrote:
>> This ports the missing changes from commit: 
>> 7a51776a830167e43cbd185505f62f328704e271
>> from 5.3 to 4.9 so that qemuppc can be compiled.
>>
>> Signed-off-by: Pascal Bach 
>> ---
>>  ...Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 11 
>> +++
>>  1 file changed, 11 insertions(+)
>>
>> diff --git 
>> a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>>  
>> b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>> index b98f8ff..77fa18a 100644
>> --- 
>> a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>> +++ 
>> b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>> @@ -37,6 +37,17 @@ index cb7a94e..d392c2b 100644
>>  extra_options="${extra_options} rs6000/sysv4.opt"
>>  tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} 
>> rs6000/t-ppccomm"
>>  case ${target} in
>> +Index: gcc-4.9.3/gcc/config/rs6000/linuxspe.h
>> +===
>> +--- gcc-4.9.3.orig/gcc/config/rs6000/linuxspe.h
>>  gcc-4.9.3/gcc/config/rs6000/linuxspe.h
>> +@@ -27,6 +27,3 @@
>> + #undef TARGET_DEFAULT
>> + #define TARGET_DEFAULT MASK_STRICT_ALIGN
>> + #endif
>> +-
>> +-#undef  ASM_DEFAULT_SPEC
>> +-#defineASM_DEFAULT_SPEC "-mppc -mspe -me500"
>>  -- 
>>  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] nss: Fix build on mips/clang

2016-07-15 Thread Khem Raj
On Fri, Jul 15, 2016 at 7:34 AM, akuster808  wrote:
> Does this affect Krogoth?


yes


> - armin
>
> On 07/15/2016 03:03 AM, Khem Raj wrote:
>> This issue is also reported here
>> https://trac.macports.org/ticket/51709
>> Patch is also from same ticket
>>
>> Signed-off-by: Khem Raj 
>> ---
>>  .../recipes-support/nss/nss/pqg.c-ULL_addend.patch | 23 
>> ++
>>  meta/recipes-support/nss/nss_3.24.bb   |  1 +
>>  2 files changed, 24 insertions(+)
>>  create mode 100644 meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch
>>
>> diff --git a/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch 
>> b/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch
>> new file mode 100644
>> index 000..9caaaeb
>> --- /dev/null
>> +++ b/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch
>> @@ -0,0 +1,23 @@
>> +nss does not build on mips with clang because wrong types are used?
>> +
>> +pqg.c:339:16: error: comparison of constant 18446744073709551615 with 
>> expression of type 'unsigned long' is always true 
>> [-Werror,-Wtautological-constant-out-of-range-compare]
>> + if (addend < MP_DIGIT_MAX) {
>> +   ~~ ^ 
>> +
>> +Signed-off-by: Khem Raj 
>> +Upstream-Status: Pending
>> +Index: nss-3.24/nss/lib/freebl/pqg.c
>> +===
>> +--- nss-3.24.orig/nss/lib/freebl/pqg.c
>>  nss-3.24/nss/lib/freebl/pqg.c
>> +@@ -322,8 +322,8 @@ generate_h_candidate(SECItem *hit, mp_in
>> +
>> + static SECStatus
>> + addToSeed(const SECItem * seed,
>> +-  unsigned long   addend,
>> +-  int seedlen, /* g in 186-1 */
>> ++  unsigned long long  addend,
>> ++  int seedlen, /* g in 186-1 */
>> +   SECItem * seedout)
>> + {
>> + mp_int s, sum, modulus, tmp;
>> diff --git a/meta/recipes-support/nss/nss_3.24.bb 
>> b/meta/recipes-support/nss/nss_3.24.bb
>> index caed7fa..c7c9fab 100644
>> --- a/meta/recipes-support/nss/nss_3.24.bb
>> +++ b/meta/recipes-support/nss/nss_3.24.bb
>> @@ -21,6 +21,7 @@ SRC_URI = "\
>>  file://nss-fix-incorrect-shebang-of-perl.patch \
>>  file://nss-fix-nsinstall-build.patch \
>>  file://disable-Wvarargs-with-clang.patch \
>> +file://pqg.c-ULL_addend.patch \
>>  file://nss.pc.in \
>>  file://signlibs.sh \
>>  "
>>
> --
> ___
> 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


Re: [OE-core] [PATCH] nss: Fix build on mips/clang

2016-07-15 Thread akuster808
Does this affect Krogoth?
- armin

On 07/15/2016 03:03 AM, Khem Raj wrote:
> This issue is also reported here
> https://trac.macports.org/ticket/51709
> Patch is also from same ticket
> 
> Signed-off-by: Khem Raj 
> ---
>  .../recipes-support/nss/nss/pqg.c-ULL_addend.patch | 23 
> ++
>  meta/recipes-support/nss/nss_3.24.bb   |  1 +
>  2 files changed, 24 insertions(+)
>  create mode 100644 meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch
> 
> diff --git a/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch 
> b/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch
> new file mode 100644
> index 000..9caaaeb
> --- /dev/null
> +++ b/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch
> @@ -0,0 +1,23 @@
> +nss does not build on mips with clang because wrong types are used?
> +
> +pqg.c:339:16: error: comparison of constant 18446744073709551615 with 
> expression of type 'unsigned long' is always true 
> [-Werror,-Wtautological-constant-out-of-range-compare]
> + if (addend < MP_DIGIT_MAX) {
> +   ~~ ^ 
> +
> +Signed-off-by: Khem Raj 
> +Upstream-Status: Pending
> +Index: nss-3.24/nss/lib/freebl/pqg.c
> +===
> +--- nss-3.24.orig/nss/lib/freebl/pqg.c
>  nss-3.24/nss/lib/freebl/pqg.c
> +@@ -322,8 +322,8 @@ generate_h_candidate(SECItem *hit, mp_in
> + 
> + static SECStatus
> + addToSeed(const SECItem * seed,
> +-  unsigned long   addend,
> +-  int seedlen, /* g in 186-1 */
> ++  unsigned long long  addend,
> ++  int seedlen, /* g in 186-1 */
> +   SECItem * seedout)
> + {
> + mp_int s, sum, modulus, tmp;
> diff --git a/meta/recipes-support/nss/nss_3.24.bb 
> b/meta/recipes-support/nss/nss_3.24.bb
> index caed7fa..c7c9fab 100644
> --- a/meta/recipes-support/nss/nss_3.24.bb
> +++ b/meta/recipes-support/nss/nss_3.24.bb
> @@ -21,6 +21,7 @@ SRC_URI = "\
>  file://nss-fix-incorrect-shebang-of-perl.patch \
>  file://nss-fix-nsinstall-build.patch \
>  file://disable-Wvarargs-with-clang.patch \
> +file://pqg.c-ULL_addend.patch \
>  file://nss.pc.in \
>  file://signlibs.sh \
>  "
> 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [krogoth][PATCH 1/8] pkgconfig: Fix build with gcc-6

2016-07-15 Thread akuster808


On 07/15/2016 07:08 AM, Burton, Ross wrote:
> On 15 July 2016 at 14:53, akuster808  wrote:
> 
>> So this is the host gcc not the one in OE?
>>
> 
> Yes, the situation was host with gcc6 building krogoth.

Thanks. After looking further down the queue I found the PATCH 0/8 and
it explained.

The original master commits are cryptic on which GCC 6 has the issue.

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


Re: [OE-core] [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9

2016-07-15 Thread akuster808
Pascal,

The "0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch" is
missing the OE patch standard header information.

please see http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

Also, there is no .bb update so this patch will be applied.

regards,
Armin

On 07/15/2016 06:22 AM, Pascal Bach wrote:
> This ports the missing changes from commit: 
> 7a51776a830167e43cbd185505f62f328704e271
> from 5.3 to 4.9 so that qemuppc can be compiled.
> 
> Signed-off-by: Pascal Bach 
> ---
>  ...Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 11 
> +++
>  1 file changed, 11 insertions(+)
> 
> diff --git 
> a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>  
> b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
> index b98f8ff..77fa18a 100644
> --- 
> a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
> +++ 
> b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
> @@ -37,6 +37,17 @@ index cb7a94e..d392c2b 100644
>   extra_options="${extra_options} rs6000/sysv4.opt"
>   tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} 
> rs6000/t-ppccomm"
>   case ${target} in
> +Index: gcc-4.9.3/gcc/config/rs6000/linuxspe.h
> +===
> +--- gcc-4.9.3.orig/gcc/config/rs6000/linuxspe.h
>  gcc-4.9.3/gcc/config/rs6000/linuxspe.h
> +@@ -27,6 +27,3 @@
> + #undef  TARGET_DEFAULT
> + #define TARGET_DEFAULT MASK_STRICT_ALIGN
> + #endif
> +-
> +-#undef  ASM_DEFAULT_SPEC
> +-#define ASM_DEFAULT_SPEC "-mppc -mspe -me500"
>  -- 
>  1.7.9.5
>  
> 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [krogoth][PATCH 0/8] Fixes for gcc-6 (Fedora-24)

2016-07-15 Thread akuster808


On 07/14/2016 06:49 PM, Tim Orling wrote:
> [YOCTO #9897]
> 
> Fedora-24 only has gcc-6.1.1.

thanks,

pulled into staging.

- armin
> 
> This has caused a number of failures in -native recipes and gcc-cross.
> 
> This series either cherry-picks commits from master or applies known good 
> patches from upstream.
> 
> Fixes broken build for:
>  - pkgconfig-native
>  - elfutils-native
>  - rpm-native
>  - binutils-native
>  - glib-2.0-native
>  - docbook-utils-native (actually openjade-native was the culprit)
>  - gcc-cross (gcc-cross-arm build tested for beaglebone)
> 
> Other problems may be lurking and only a world build on Fedora-24 AB will 
> tell for sure.
> 
> Signed-off-by: Tim Orling 
> 
> 
> The following changes since commit 98c57bb512ea6790db8604fcf0b88c81651d2ab4:
> 
>   build-appliance-image: Update to krogoth head revision (2016-07-06 17:28:04 
> +0100)
> 
> are available in the git repository at:
> 
>   git://git.yoctoproject.org/poky-contrib timo/krogoth-9897
>   http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=timo/krogoth-9897
> 
> Dan McGregor (1):
>   binutils: disable werror on native build
> 
> Daniel McGregor (1):
>   openjade-native: work around bug exposed by GCC 6
> 
> Khem Raj (3):
>   elfutils-0.148: Fix build with gcc6
>   rpm: Fix build with gcc6
>   glib-2.0: Ignore useless warning found with gcc-6
> 
> Tim Orling (3):
>   pkgconfig: Fix build with gcc-6
>   elfutils: Fix build for gcc-6
>   gcc-5.3: fix build for gcc-6
> 
>  .../0001-Do-not-ignore-return-value-of-write.patch |  42 +++
>  .../glib-2.0/0002-tests-Ignore-y2k-warnings.patch  |  42 +++
>  .../ignore-format-nonliteral-warning.patch |  39 ++
>  meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb  |   7 +-
>  meta/recipes-devtools/binutils/binutils_2.26.bb|   3 +-
>  .../elfutils/elfutils-0.148/gcc6.patch |  23 ++
>  ...missing-brackets-around-if-statement-body.patch | 419 
> +
>  meta/recipes-devtools/elfutils/elfutils_0.148.bb   |   1 +
>  meta/recipes-devtools/elfutils/elfutils_0.164.bb   |   1 +
>  meta/recipes-devtools/gcc/gcc-5.3.inc  |   1 +
>  .../gcc-5.3/0060-fix-build-when-using-gcc6.patch   | 157 
>  .../openjade/openjade-native_1.3.2.bb  |   1 +
>  ...te-suppress-string-format-literal-warning.patch |  34 ++
>  meta/recipes-devtools/pkgconfig/pkgconfig_git.bb   |   1 +
>  meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch|  54 +++
>  meta/recipes-devtools/rpm/rpm_5.4.16.bb|   3 +-
>  16 files changed, 824 insertions(+), 4 deletions(-)
>  create mode 100644 
> meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch
>  create mode 100644 
> meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch
>  create mode 100644 
> meta/recipes-core/glib-2.0/glib-2.0/ignore-format-nonliteral-warning.patch
>  create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch
>  create mode 100644 
> meta/recipes-devtools/elfutils/elfutils-0.164/libebl-Fix-missing-brackets-around-if-statement-body.patch
>  create mode 100644 
> meta/recipes-devtools/gcc/gcc-5.3/0060-fix-build-when-using-gcc6.patch
>  create mode 100644 
> meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch
>  create mode 100644 meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch
> 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH][krogoth] binutils: backport fix for TLSDESC relocations with no TLS segment on arch64

2016-07-15 Thread akuster808


On 07/14/2016 12:59 PM, Ross Burton wrote:
> As exposed by WebKit on aarch64 hosts, which causes binutils to throw an
> internal error.
> 
> [ YOCTO #9509 ]
> 
> Signed-off-by: Ross Burton 

thanks.

pulled into staging.

- armin
> ---
>  meta/recipes-devtools/binutils/binutils-2.26.inc   |   1 +
>  .../binutils/binutils/aarch64-tls.patch| 177 
> +
>  2 files changed, 178 insertions(+)
>  create mode 100644 meta/recipes-devtools/binutils/binutils/aarch64-tls.patch
> 
> diff --git a/meta/recipes-devtools/binutils/binutils-2.26.inc 
> b/meta/recipes-devtools/binutils/binutils-2.26.inc
> index 6d535fc..703eac2 100644
> --- a/meta/recipes-devtools/binutils/binutils-2.26.inc
> +++ b/meta/recipes-devtools/binutils/binutils-2.26.inc
> @@ -34,6 +34,7 @@ SRC_URI = "\
>   file://0012-Add-support-for-Netlogic-XLP.patch \
>   file://0013-Fix-GOT-address-computations-in-initial-PLT-entries-.patch \
>   file://0014-Correct-nios2-_gp-address-computation.patch \
> + file://aarch64-tls.patch \
>  "
>  S  = "${WORKDIR}/git"
>  
> diff --git a/meta/recipes-devtools/binutils/binutils/aarch64-tls.patch 
> b/meta/recipes-devtools/binutils/binutils/aarch64-tls.patch
> new file mode 100644
> index 000..6b123ac
> --- /dev/null
> +++ b/meta/recipes-devtools/binutils/binutils/aarch64-tls.patch
> @@ -0,0 +1,177 @@
> +Building WebKit on an aarch64 host will fail:
> +
> +gold/ld-new: internal error in relocate_tls, at 
> ../../binutils/gold/aarch64.cc:7418
> +
> +This was a binutils bug, so backport the fix.
> +
> +https://sourceware.org/bugzilla/show_bug.cgi?id=19353
> +
> +Upstream-Status: Backport
> +Signed-off-by: Ross Burton 
> +
> +From d21f123b0ead1806416cf0dafae12bec4cca8920 Mon Sep 17 00:00:00 2001
> +From: Cary Coutant 
> +Date: Mon, 11 Jan 2016 23:57:44 -0800
> +Subject: [PATCH] Fix internal error when applying TLSDESC relocations with 
> no TLS segment.
> +
> +gold/
> + PR gold/19353
> + * aarch64.cc (Target_aarch64::relocate_tls): Don't insist that
> + we have a TLS segment for GD-to-IE optimization.
> + * i386.cc (Target_i386::tls_gd_to_ie): Remove tls_segment parameter.
> + Adjust all calls.
> + (Target_i386::tls_desc_gd_to_ie): Likewise.
> + (Target_i386::relocate_tls): Don't insist that we have a TLS segment
> + for TLSDESC GD-to-IE optimizations.
> + * x86_64.cc (Target_x86_64::tls_gd_to_ie): Remove tls_segment parameter.
> + Adjust all calls.
> + (Target_x86_64::tls_desc_gd_to_ie): Likewise.
> + (Target_x86_64::relocate_tls): Don't insist that we have a TLS segment
> + for TLSDESC GD-to-IE optimizations.
> +---
> + gold/ChangeLog  |   16 
> + gold/aarch64.cc |6 --
> + gold/i386.cc|   14 ++
> + gold/x86_64.cc  |   14 ++
> + 4 files changed, 20 insertions(+), 30 deletions(-)
> +
> +diff --git a/gold/aarch64.cc b/gold/aarch64.cc
> +index 20f2f4f..5ad061b 100644
> +--- a/gold/aarch64.cc
>  b/gold/aarch64.cc
> +@@ -7422,12 +7422,6 @@ Target_aarch64 big_endian>::Relocate::relocate_tls(
> +   }
> + if (tlsopt == tls::TLSOPT_TO_IE)
> +   {
> +-if (tls_segment == NULL)
> +-  {
> +-gold_assert(parameters->errors()->error_count() > 0
> +-|| issue_undefined_symbol_error(gsym));
> +-return aarch64_reloc_funcs::STATUS_BAD_RELOC;
> +-  }
> + return tls_desc_gd_to_ie(relinfo, target, rela, r_type,
> +  view, psymval, got_entry_address,
> +  address);
> +diff --git a/gold/i386.cc b/gold/i386.cc
> +index 82886d4..a7168a8 100644
> +--- a/gold/i386.cc
>  b/gold/i386.cc
> +@@ -668,7 +668,6 @@ class Target_i386 : public Sized_target<32, false>
> + // Do a TLS General-Dynamic to Initial-Exec transition.
> + inline void
> + tls_gd_to_ie(const Relocate_info<32, false>*, size_t relnum,
> +- Output_segment* tls_segment,
> +  const elfcpp::Rel<32, false>&, unsigned int r_type,
> +  elfcpp::Elf_types<32>::Elf_Addr value,
> +  unsigned char* view,
> +@@ -687,7 +686,6 @@ class Target_i386 : public Sized_target<32, false>
> + // transition.
> + inline void
> + tls_desc_gd_to_ie(const Relocate_info<32, false>*, size_t relnum,
> +-  Output_segment* tls_segment,
> +   const elfcpp::Rel<32, false>&, unsigned int r_type,
> +   elfcpp::Elf_types<32>::Elf_Addr value,
> +   unsigned char* view,
> +@@ -3054,7 +3052,7 @@ Target_i386::Relocate::relocate_tls(const 
> Relocate_info<32, false>* relinfo,
> + }
> +   if (optimized_type == tls::TLSOPT_TO_IE)
> + {
> +-  this->tls_gd_to_ie(relinfo, relnum, tls_segment, rel, r_type,
> ++  

Re: [OE-core] [krogoth][PATCH 1/8] pkgconfig: Fix build with gcc-6

2016-07-15 Thread Burton, Ross
On 15 July 2016 at 14:53, akuster808  wrote:

> So this is the host gcc not the one in OE?
>

Yes, the situation was host with gcc6 building krogoth.

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


Re: [OE-core] [krogoth][PATCH 1/8] pkgconfig: Fix build with gcc-6

2016-07-15 Thread akuster808
So this is the host gcc not the one in OE?

- armin

On 07/14/2016 06:49 PM, Tim Orling wrote:
> Our patch in master was on top of 0.29.1 update.
> commit b83a808fcbd3e7aec3b0757c7180cf83dac44e92
> 
> Apply to krogoth stable 0.29 version instead.
> 
> [YOCTO #9897] (Fedora-24)
> 
> Signed-off-by: Tim Orling 
> ---
>  ...te-suppress-string-format-literal-warning.patch | 34 
> ++
>  meta/recipes-devtools/pkgconfig/pkgconfig_git.bb   |  1 +
>  2 files changed, 35 insertions(+)
>  create mode 100644 
> meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch
> 
> diff --git 
> a/meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch
>  
> b/meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch
> new file mode 100644
> index 000..830d3d2
> --- /dev/null
> +++ 
> b/meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch
> @@ -0,0 +1,34 @@
> +The upstream patch would not apply cleanly, so perform the same changes.
> +
> +Original patch header:
> +From 00148329967adb196138372771052a3f606a6ea3 Mon Sep 17 00:00:00 2001
> +From: coypu 
> +Date: Wed, 2 Mar 2016 19:43:10 +0200
> +Subject: [PATCH 2/2] gdate: Suppress string format literal warning
> +
> +Newer versions of GCC emit an error here, but we know it's safe.
> +https://bugzilla.gnome.org/761550
> +
> +Upstream-Status: Backport
> +
> +Signed-off-by: Tim Orling 
> +
> +Index: git/glib/glib/gdate.c
> +===
> +--- git.orig/glib/glib/gdate.c
>  git/glib/glib/gdate.c
> +@@ -2439,6 +2439,8 @@ win32_strftime_helper (const GDate *
> +  *
> +  * Returns: number of characters written to the buffer, or 0 the buffer was 
> too small
> +  */
> ++#pragma GCC diagnostic push
> ++#pragma GCC diagnostic ignored "-Wformat-nonliteral"
> + gsize 
> + g_date_strftime (gchar   *s, 
> +  gsizeslen, 
> +@@ -2549,3 +2551,5 @@ g_date_strftime (gchar   *s,
> +   return retval;
> + #endif
> + }
> ++
> ++#pragma GCC diagnostic pop
> diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb 
> b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
> index d34f608..cd4dc8e 100644
> --- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
> +++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
> @@ -18,6 +18,7 @@ PV = "0.29+git${SRCPV}"
>  SRC_URI = "git://anongit.freedesktop.org/pkg-config \
> file://pkg-config-native.in \
> file://fix-glib-configure-libtool-usage.patch \
> +file://0001-gdate-suppress-string-format-literal-warning.patch \
> "
>  
>  S = "${WORKDIR}/git"
> 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9

2016-07-15 Thread Pascal Bach
This ports the missing changes from commit: 
7a51776a830167e43cbd185505f62f328704e271
from 5.3 to 4.9 so that qemuppc can be compiled.

Signed-off-by: Pascal Bach 
---
 ...Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 11 +++
 1 file changed, 11 insertions(+)

diff --git 
a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
 
b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
index b98f8ff..77fa18a 100644
--- 
a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
+++ 
b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
@@ -37,6 +37,17 @@ index cb7a94e..d392c2b 100644
extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} 
rs6000/t-ppccomm"
case ${target} in
+Index: gcc-4.9.3/gcc/config/rs6000/linuxspe.h
+===
+--- gcc-4.9.3.orig/gcc/config/rs6000/linuxspe.h
 gcc-4.9.3/gcc/config/rs6000/linuxspe.h
+@@ -27,6 +27,3 @@
+ #undefTARGET_DEFAULT
+ #define TARGET_DEFAULT MASK_STRICT_ALIGN
+ #endif
+-
+-#undef  ASM_DEFAULT_SPEC
+-#define   ASM_DEFAULT_SPEC "-mppc -mspe -me500"
 -- 
 1.7.9.5
 
-- 
2.1.4

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


[OE-core] [PATCH 3/5] matchbox-keyboard: Upgrade to 0.1.1

2016-07-15 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 .../{matchbox-keyboard_git.bb => matchbox-keyboard_0.1.1.bb} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-sato/matchbox-keyboard/{matchbox-keyboard_git.bb => 
matchbox-keyboard_0.1.1.bb} (96%)

diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb 
b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb
similarity index 96%
rename from meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
rename to meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb
index c7870cf..465f134 100644
--- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
+++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb
@@ -10,9 +10,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 DEPENDS = "libfakekey expat libxft"
 
-SRCREV = "69d03e2aceb79cf7a616c07f8e0be4e1f9f7976b"
-PV = "0.0+git${SRCPV}"
-
+#SRCREV for 0.1.1
+SRCREV = "630d89068dc0a1e9199306d405cb32f892dfa4d3"
 SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1 \
file://0001-desktop-file-Hide-the-keyboard-from-app-list.patch \
file://80matchboxkeyboard.sh"
-- 
2.1.4

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


[OE-core] [PATCH 2/5] sato-screenshot: Upgrade 0.2 -> 0.3

2016-07-15 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 .../{sato-screenshot_0.2.bb => sato-screenshot_0.3.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-sato/sato-screenshot/{sato-screenshot_0.2.bb => 
sato-screenshot_0.3.bb} (91%)

diff --git a/meta/recipes-sato/sato-screenshot/sato-screenshot_0.2.bb 
b/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb
similarity index 91%
rename from meta/recipes-sato/sato-screenshot/sato-screenshot_0.2.bb
rename to meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb
index 92f0ee1..5519a34 100644
--- a/meta/recipes-sato/sato-screenshot/sato-screenshot_0.2.bb
+++ b/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
 DEPENDS = "matchbox-panel-2 gtk+3"
 
-# SRCREV tagged 0.2
-SRCREV = "5db2672fb857b2c80b949d8fce92e0f0029cc947"
+# SRCREV tagged 0.3
+SRCREV = "9250fa5a012d84ff45984e8c4345ee7635227756"
 SRC_URI = "git://git.yoctoproject.org/screenshot"
 
 S = "${WORKDIR}/git"
-- 
2.1.4

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


[OE-core] [PATCH 4/5] libmatchbox: Upgrade 1.11 -> 1.12

2016-07-15 Thread Jussi Kukkonen
libmatchbox now has a in-tree xsettings-client.

* Use git SRC_URI like the other matchbox components.
* Remove upstreamed patch.
* Update license info (xsettings code is MIT).
* Stop depending on libxsettings-client

Signed-off-by: Jussi Kukkonen 
---
 .../libmatchbox/libmatchbox/libpng.patch   | 69 --
 .../{libmatchbox_1.11.bb => libmatchbox_1.12.bb}   | 16 ++---
 2 files changed, 8 insertions(+), 77 deletions(-)
 delete mode 100644 meta/recipes-graphics/libmatchbox/libmatchbox/libpng.patch
 rename meta/recipes-graphics/libmatchbox/{libmatchbox_1.11.bb => 
libmatchbox_1.12.bb} (57%)

diff --git a/meta/recipes-graphics/libmatchbox/libmatchbox/libpng.patch 
b/meta/recipes-graphics/libmatchbox/libmatchbox/libpng.patch
deleted file mode 100644
index 8cd507f..000
--- a/meta/recipes-graphics/libmatchbox/libmatchbox/libpng.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-Upstream-Status: Backport
-Signed-off-by: Ross Burton 
-
-From 19c3d242034748b3c60765683e1ff4e2df970205 Mon Sep 17 00:00:00 2001
-From: Ross Burton 
-Date: Tue, 10 Dec 2013 11:37:32 +
-Subject: [PATCH] configure: improve libpng detection
-
-Instead of looking for "libpng12" explicitly though pkg-config and then falling
-back to library hunting, just use pkg-config to find "libpng" which is provided
-by both libpng12 and libpng16.
-
-This also makes the libpng detection deterministic.
-
-Signed-off-by: Ross Burton 

- configure.ac | 29 +
- 1 file changed, 5 insertions(+), 24 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 8a28076..65d7c79 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -34,7 +34,7 @@ AC_ARG_ENABLE(jpeg,
-   enable_jpeg=$enableval, enable_jpeg=no)
- 
- AC_ARG_ENABLE(png,
--  [  --disable-png   disable png support [default=no]],
-+  [  --disable-png   disable PNG support [default=enabled]],
-  enable_png=$enableval, enable_png=yes )
- 
- AC_ARG_ENABLE(doxygen-docs, 
-@@ -156,29 +156,10 @@ fi
- dnl -- Check for PNG ---
- 
- if test x$enable_png != xno; then
--  AC_MSG_CHECKING(for libpng12)
--  if test x$PKG_CONFIG != xno && $PKG_CONFIG --exists libpng12; then 
--AC_MSG_RESULT(yes)
--PNG_LIBS=`$PKG_CONFIG --libs libpng12`
--  PNG_CFLAGS=`$PKG_CONFIG --cflags libpng12`
--AC_DEFINE(USE_PNG, [1], [Use Png])
--  SUPPORTS_PNG=1
--  PNG_REQUIRED="libpng12"
--  else
--  AC_MSG_RESULT(no)
--# AC_CHECK_HEADERS(png.h, [ have_png_h="yes" ], [ have_png_h="no" ] )
--AC_CHECK_LIB([png], [png_create_read_struct], [have_png="yes"], 
[have_png="no"])
--
--if test x$have_png=xyes && test x$have_png_h=xyes; then 
--AC_DEFINE(USE_PNG, [1], [Use Png])
--  SUPPORTS_PNG=1
--PNG_LIBS="-lpng -lz"
--MB_EXTRA_LIBS="$MB_EXTRA_LIBS $PNG_LIBS"
--else
--  AC_MSG_WARN([*** Cannot find PNG, disabling support])
--enable_png=no
--  fi
--  fi
-+  PKG_CHECK_MODULES(PNG, libpng)
-+  AC_DEFINE(USE_PNG, [1], [Use PNG])
-+  SUPPORTS_PNG=1
-+  PNG_REQUIRED="libpng"
- fi
- 
- 
--- 
-1.8.5
-
diff --git a/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb 
b/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb
similarity index 57%
rename from meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb
rename to meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb
index f2eb675..ce45e48 100644
--- a/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb
+++ b/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb
@@ -3,26 +3,26 @@ SECTION = "x11/libs"
 HOMEPAGE = "http://matchbox-project.org/;
 BUGTRACKER = "http://bugzilla.yoctoproject.com/;
 
-LICENSE = "LGPLv2+"
+LICENSE = "LGPLv2+ & MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \
+file://COPYING.MIT;md5=f45ed9332b4f50a35adf2065adde4ca7 \
 
file://libmb/mbexp.c;endline=20;md5=28c0aef3b23e308464f5dae6a11b0d2f \
-
file://libmb/mbdotdesktop.c;endline=21;md5=5a287156b3207e851c1d68d09c439b51"
+
file://libmb/xsettings-client.c;endline=20;md5=4b106a387602db8d91a50d5cdfd65031"
 
 DEPENDS = "virtual/libx11 libxext"
 
-SRC_URI = 
"http://downloads.yoctoproject.org/releases/matchbox/${BPN}/${PV}/${BPN}-${PV}.tar.bz2
 \
-   file://libpng.patch"
+#SRCREV for 1.12
+SRCREV = "e846ee434f8e23d9db38af13c523f791495e0e87"
+SRC_URI = "git://git.yoctoproject.org/${BPN}"
 
-SRC_URI[md5sum] = "fc6cc807f55a3e7c752d8013176875d7"
-SRC_URI[sha256sum] = 
"254cab52e304a3512c8df4be59d690cf3921bbb68a28ede7fe26b93534217b53"
+S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig distro_features_check
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-PACKAGECONFIG ??= "jpeg png xft xsettings"
+PACKAGECONFIG ??= "jpeg png xft"
 PACKAGECONFIG[jpeg] = 

[OE-core] [PATCH 5/5] libxsettings-client: Remove as unneeded

2016-07-15 Thread Jussi Kukkonen
xsettings-client is not meant to be a shared library and the only
user in oe-core (libmatchbox) now has an in-tree copy.

Signed-off-by: Jussi Kukkonen 
---
 meta/conf/distro/include/distro_alias.inc  |  1 -
 meta/lib/oeqa/selftest/recipetool.py   |  4 +-
 .../libxsettings-client/MIT-style-license  | 22 ---
 .../libxsettings-client/link-x11.patch | 13 ---
 .../obsolete_automake_macros.patch | 14 ---
 .../libxsettings-client_0.10.bb| 43 --
 6 files changed, 2 insertions(+), 95 deletions(-)
 delete mode 100644 
meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license
 delete mode 100644 
meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch
 delete mode 100644 
meta/recipes-graphics/libxsettings-client/libxsettings-client/obsolete_automake_macros.patch
 delete mode 100644 
meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb

diff --git a/meta/conf/distro/include/distro_alias.inc 
b/meta/conf/distro/include/distro_alias.inc
index 7574032..8adafae 100644
--- a/meta/conf/distro/include/distro_alias.inc
+++ b/meta/conf/distro/include/distro_alias.inc
@@ -214,7 +214,6 @@ DISTRO_PN_ALIAS_pn-libxft = "Mandriva=libxft Debian=libxft2 
Ubuntu=libxft2"
 DISTRO_PN_ALIAS_pn-libxi = "Ubuntu=libxi Fedora=libXi"
 DISTRO_PN_ALIAS_pn-libxkbcommon = "Fedora=libxkbcommon Debian=libxkbcommon"
 DISTRO_PN_ALIAS_pn-libxscrnsaver = "Fedora=libXScrnSaver Ubuntu=libxss1 
Mandriva=libxscrnsaver"
-DISTRO_PN_ALIAS_pn-libxsettings-client = "Debian=libxsettings-client0 
Ubuntu=libxsettings-client0 Mandriva=libXsettings-client0"
 DISTRO_PN_ALIAS_pn-libxxf86misc = "Mandriva=libxxf86misc Fedora=libXxf86misc"
 DISTRO_PN_ALIAS_pn-linux-dummy = "Intel"
 DISTRO_PN_ALIAS_pn-linux-firmware = "Fedora=linux-firmware 
Ubuntu=linux-firmware"
diff --git a/meta/lib/oeqa/selftest/recipetool.py 
b/meta/lib/oeqa/selftest/recipetool.py
index 9436301..2e38758 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
+++ b/meta/lib/oeqa/selftest/recipetool.py
@@ -383,7 +383,7 @@ class RecipetoolTests(RecipetoolBase):
 @testcase(1194)
 def test_recipetool_create_git(self):
 # Ensure we have the right data in shlibs/pkgdata
-bitbake('libpng pango libx11 libxext jpeg libxsettings-client 
libcheck')
+bitbake('libpng pango libx11 libxext jpeg libcheck')
 # Try adding a recipe
 tempsrc = os.path.join(self.tempdir, 'srctree')
 os.makedirs(tempsrc)
@@ -397,7 +397,7 @@ class RecipetoolTests(RecipetoolBase):
 checkvars['S'] = '${WORKDIR}/git'
 checkvars['PV'] = '1.11+git${SRCPV}'
 checkvars['SRC_URI'] = srcuri
-checkvars['DEPENDS'] = set(['libcheck', 'libjpeg-turbo', 'libpng', 
'libx11', 'libxsettings-client', 'libxext', 'pango'])
+checkvars['DEPENDS'] = set(['libcheck', 'libjpeg-turbo', 'libpng', 
'libx11', 'libxext', 'pango'])
 inherits = ['autotools', 'pkgconfig']
 self._test_recipe_contents(recipefile, checkvars, inherits)
 
diff --git 
a/meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license
 
b/meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license
deleted file mode 100644
index 628de98..000
--- 
a/meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright © 2001 Red Hat, Inc.
- *
- * Permission to use, copy, modify, distribute, and sell this software and its
- * documentation for any purpose is hereby granted without fee, provided that
- * the above copyright notice appear in all copies and that both that
- * copyright notice and this permission notice appear in supporting
- * documentation, and that the name of Red Hat not be used in advertising or
- * publicity pertaining to distribution of the software without specific,
- * written prior permission.  Red Hat makes no representations about the
- * suitability of this software for any purpose.  It is provided "as is"
- * without express or implied warranty.
- *
- * RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT
- * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * Author:  Owen Taylor, Red Hat, Inc.
- */
diff --git 
a/meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch 
b/meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch
deleted file mode 100644
index d08d0d5..000
--- 
a/meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch
+++ /dev/null
@@ -1,13 +0,0 @@

[OE-core] [PATCH 0/5] Updates to Sato components

2016-07-15 Thread Jussi Kukkonen
Two themes in this patchset:
* xsettings-client removal
* Porting from ScalingImage to ScalingImage2
The latter fixes the issue of mb-panel crashing when battery applet
is loaded, which popped up recently.


Jussi

The following changes since commit 627d01997fcf6a0581d88047735769ffb2592b82:

  useradd-staticids: use map() instead of imap() (2016-07-12 23:12:00 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib jku/sato-scalingimage2
  
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/sato-scalingimage2

Jussi Kukkonen (5):
  matchbox-panel-2: Upgrade 2.10 -> 2.11
  sato-screenshot: Upgrade 0.2 -> 0.3
  matchbox-keyboard: Upgrade to 0.1.1
  libmatchbox: Upgrade 1.11 -> 1.12
  libxsettings-client: Remove as unneeded

 meta/conf/distro/include/distro_alias.inc  |  1 -
 meta/lib/oeqa/selftest/recipetool.py   |  4 +-
 .../libmatchbox/libmatchbox/libpng.patch   | 69 --
 .../{libmatchbox_1.11.bb => libmatchbox_1.12.bb}   | 16 ++---
 .../libxsettings-client/MIT-style-license  | 22 ---
 .../libxsettings-client/link-x11.patch | 13 
 .../obsolete_automake_macros.patch | 14 -
 .../libxsettings-client_0.10.bb| 43 --
 ...-keyboard_git.bb => matchbox-keyboard_0.1.1.bb} |  5 +-
 ...ox-panel-2_2.10.bb => matchbox-panel-2_2.11.bb} |  4 +-
 ...to-screenshot_0.2.bb => sato-screenshot_0.3.bb} |  4 +-
 11 files changed, 16 insertions(+), 179 deletions(-)
 delete mode 100644 meta/recipes-graphics/libmatchbox/libmatchbox/libpng.patch
 rename meta/recipes-graphics/libmatchbox/{libmatchbox_1.11.bb => 
libmatchbox_1.12.bb} (57%)
 delete mode 100644 
meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license
 delete mode 100644 
meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch
 delete mode 100644 
meta/recipes-graphics/libxsettings-client/libxsettings-client/obsolete_automake_macros.patch
 delete mode 100644 
meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb
 rename meta/recipes-sato/matchbox-keyboard/{matchbox-keyboard_git.bb => 
matchbox-keyboard_0.1.1.bb} (96%)
 rename meta/recipes-sato/matchbox-panel-2/{matchbox-panel-2_2.10.bb => 
matchbox-panel-2_2.11.bb} (95%)
 rename meta/recipes-sato/sato-screenshot/{sato-screenshot_0.2.bb => 
sato-screenshot_0.3.bb} (91%)

-- 
2.1.4

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


[OE-core] [PATCH 1/5] matchbox-panel-2: Upgrade 2.10 -> 2.11

2016-07-15 Thread Jussi Kukkonen
New release finishes the port from buggy ScalingImage to
ScalingImage2.

Signed-off-by: Jussi Kukkonen 
---
 .../{matchbox-panel-2_2.10.bb => matchbox-panel-2_2.11.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-sato/matchbox-panel-2/{matchbox-panel-2_2.10.bb => 
matchbox-panel-2_2.11.bb} (95%)

diff --git a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.10.bb 
b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
similarity index 95%
rename from meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.10.bb
rename to meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
index 3ccd6a26..a387073 100644
--- a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.10.bb
+++ b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
@@ -14,8 +14,8 @@ DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", 
"apmd", "",d)}"
 # The startup-notification requires x11 in DISTRO_FEATURES
 REQUIRED_DISTRO_FEATURES = "x11"
 
-# SRCREV tagged 2.10
-SRCREV = "145a8075c66952dad9ab5f36d944c78c1ae3f4ab"
+# SRCREV tagged 2.11
+SRCREV = "850d5fffde7dbfb32015916524d88014cc2cfb30"
 
 RPROVIDES_${PN} = "matchbox-panel"
 RREPLACES_${PN} = "matchbox-panel"
-- 
2.1.4

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


[OE-core] [PATCH 1/2] linux-firmware: update to revision cccb6a0da9

2016-07-15 Thread Maxin B. John
Upgrade to revision cccb6a0da9

Signed-off-by: Maxin B. John 
---
 meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb 
b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index e908289..948dfa8 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -112,7 +112,7 @@ LIC_FILES_CHKSUM = "\
 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
-file://WHENCE;md5=d4c5506dce2fe59ec0faa20bbd1a89bb \
+file://WHENCE;md5=fc7f8a9fce11037078e90df415baad71 \
 "
 
 # These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -172,7 +172,7 @@ NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000"
 NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c"
 NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
 
-SRCREV = "80d463be829abcee4dbdca8432b9a69452e2021d"
+SRCREV = "cccb6a0da98372bd66787710249727ad6b0aaf72"
 PE = "1"
 PV = "0.0+git${SRCPV}"
 
-- 
2.4.0

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


[OE-core] [PATCH 2/2] libpng: update to 1.6.23

2016-07-15 Thread Maxin B. John
1.6.22 -> 1.6.23

License files changes are due to updates in Copyright date and Version

Signed-off-by: Maxin B. John 
---
 .../libpng/{libpng_1.6.22.bb => libpng_1.6.23.bb} | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-multimedia/libpng/{libpng_1.6.22.bb => libpng_1.6.23.bb} 
(66%)

diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.22.bb 
b/meta/recipes-multimedia/libpng/libpng_1.6.23.bb
similarity index 66%
rename from meta/recipes-multimedia/libpng/libpng_1.6.22.bb
rename to meta/recipes-multimedia/libpng/libpng_1.6.23.bb
index 0d5722f..b2813e3 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.22.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.23.bb
@@ -2,14 +2,14 @@ SUMMARY = "PNG image format decoding library"
 HOMEPAGE = "http://www.libpng.org/;
 SECTION = "libs"
 LICENSE = "Libpng"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=327e99f9f6299935eab27262a3d0d97c \
-
file://png.h;endline=149;md5=5b1126380a15a28a275c88bf13fe39c8"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a92bbf77565352659482e381075d19e3 \
+
file://png.h;endline=149;md5=a0e24b62532fff585d25f060dd917236"
 DEPENDS = "zlib"
 
 SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz \
   "
-SRC_URI[md5sum] = "f4ca54a3d945b8678fafed168c503f3b"
-SRC_URI[sha256sum] = 
"6b5a6ad5c5801ec4d24aacc87a0ed7b666cd586478174f69368a1d7747715226"
+SRC_URI[md5sum] = "9b320a05ed4db1f3f0865c8a951fd9aa"
+SRC_URI[sha256sum] = 
"6d921e7bdaec56e9f6594463ec1fe1981c3cd2d5fc925d3781e219b5349262f1"
 
 BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
 
-- 
2.4.0

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


[OE-core] [PATCH 5/8] libxfixes: Upgrade 5.0.1 -> 5.0.2

2016-07-15 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 .../xorg-lib/{libxfixes_5.0.1.bb => libxfixes_5.0.2.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{libxfixes_5.0.1.bb => 
libxfixes_5.0.2.bb} (79%)

diff --git a/meta/recipes-graphics/xorg-lib/libxfixes_5.0.1.bb 
b/meta/recipes-graphics/xorg-lib/libxfixes_5.0.2.bb
similarity index 79%
rename from meta/recipes-graphics/xorg-lib/libxfixes_5.0.1.bb
rename to meta/recipes-graphics/xorg-lib/libxfixes_5.0.2.bb
index 6e2740c..f078aed 100644
--- a/meta/recipes-graphics/xorg-lib/libxfixes_5.0.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxfixes_5.0.2.bb
@@ -18,5 +18,5 @@ XORG_PN = "libXfixes"
 
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[md5sum] = "b985b85f8b9386c85ddcfe1073906b4d"
-SRC_URI[sha256sum] = 
"63bec085084fa3caaee5180490dd871f1eb2020ba9e9b39a30f93693ffc34767"
+SRC_URI[md5sum] = "544d73df94e638ba7b64147be416e576"
+SRC_URI[sha256sum] = 
"9bd20edfec084a1bed481d48dd4815dee88139fffad091418cdda081129a9aea"
-- 
2.1.4

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


[OE-core] [PATCH 4/8] weston: Upgrade 1.10.0 -> 1.11.0

2016-07-15 Thread Jussi Kukkonen
Remove now unnecessary patch, rebase others.

Signed-off-by: Jussi Kukkonen 
---
 ...1-configure.ac-Fix-wayland-protocols-path.patch |  4 +-
 ...ch-Provide-a-default-version-that-doesn-t.patch | 68 +++---
 .../make-libwebp-explicitly-configurable.patch | 37 
 .../wayland/{weston_1.10.0.bb => weston_1.11.0.bb} |  7 +--
 4 files changed, 40 insertions(+), 76 deletions(-)
 delete mode 100644 
meta/recipes-graphics/wayland/weston/make-libwebp-explicitly-configurable.patch
 rename meta/recipes-graphics/wayland/{weston_1.10.0.bb => weston_1.11.0.bb} 
(95%)

diff --git 
a/meta/recipes-graphics/wayland/weston/0001-configure.ac-Fix-wayland-protocols-path.patch
 
b/meta/recipes-graphics/wayland/weston/0001-configure.ac-Fix-wayland-protocols-path.patch
index 7e00038..00118d7 100644
--- 
a/meta/recipes-graphics/wayland/weston/0001-configure.ac-Fix-wayland-protocols-path.patch
+++ 
b/meta/recipes-graphics/wayland/weston/0001-configure.ac-Fix-wayland-protocols-path.patch
@@ -20,10 +20,10 @@ diff --git a/configure.ac b/configure.ac
 index bc7c329..15a05d3 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -184,7 +184,7 @@ PKG_CHECK_MODULES(LIBINPUT_BACKEND, [libinput >= 0.8.0])
+@@ -187,7 +187,7 @@ PKG_CHECK_MODULES(LIBINPUT_BACKEND, [libinput >= 0.8.0])
  PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES])
  
- PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.0],
+ PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.2],
 -[ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG 
--variable=pkgdatadir wayland-protocols`])
 +
[ac_wayland_protocols_pkgdatadir=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG 
--variable=pkgdatadir wayland-protocols`])
  AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir)
diff --git 
a/meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
 
b/meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
index 9a401ee..5542036 100644
--- 
a/meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
+++ 
b/meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
@@ -1,8 +1,8 @@
-From 228349e796e9baa86f2ba8232c730c18ac41283d Mon Sep 17 00:00:00 2001
+From d02226b3d5872b184c1d50c7f4706ac9467ffb81 Mon Sep 17 00:00:00 2001
 From: Tom Hochstein 
-Date: Fri, 13 May 2016 09:31:55 -0500
-Subject: [PATCH weston] weston-launch: Provide a default version that doesn't
- require PAM
+Date: Fri, 15 Jul 2016 11:00:15 +0300
+Subject: [PATCH] weston-launch: Provide a default version that doesn't require
+ PAM
 
 weston-launch requires PAM for starting weston as a non-root user.
 
@@ -14,18 +14,17 @@ Upstream-Status: Pending
 
 Signed-off-by: Tom Hochstein 
 ---
- Makefile.am |  3 ---
- configure.ac| 12 +++-
+ configure.ac|  9 +++--
  src/weston-launch.c | 20 
- 3 files changed, 27 insertions(+), 8 deletions(-)
+ 2 files changed, 27 insertions(+), 2 deletions(-)
 
-Index: weston-1.10.0/configure.ac
-===
 weston-1.10.0.orig/configure.ac2016-05-13 11:02:05.711817559 -0500
-+++ weston-1.10.0/configure.ac 2016-05-13 13:30:28.0 -0500
-@@ -445,13 +445,17 @@
- AS_IF([test "x$have_systemd_login_209" = "xyes"],
-   [AC_DEFINE([HAVE_SYSTEMD_LOGIN_209], [1], [Have systemd-login >= 209])])
+diff --git a/configure.ac b/configure.ac
+index 32fdde7..240966f 100644
+--- a/configure.ac
 b/configure.ac
+@@ -416,13 +416,17 @@ AC_ARG_ENABLE(resize-optimization,
+ AS_IF([test "x$enable_resize_optimization" = "xyes"],
+   [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a 
performance optimization])])
  
 +AC_ARG_WITH(pam,
 +AS_HELP_STRING([--with-pam], [Use PAM]),
@@ -34,16 +33,16 @@ Index: weston-1.10.0/configure.ac
  AM_CONDITIONAL(BUILD_WESTON_LAUNCH, test x$enable_weston_launch == xyes)
 -if test x$enable_weston_launch == xyes; then
 +if test x$enable_weston_launch = xyes -a x$use_pam = xyes; then
-   AC_CHECK_LIB([pam], [pam_open_session], [have_pam=yes], [have_pam=no])
+   WESTON_SEARCH_LIBS([PAM], [pam], [pam_open_session], [have_pam=yes], 
[have_pam=no])
if test x$have_pam == xno; then
 -AC_ERROR([weston-launch requires pam])
 +AC_ERROR([PAM support is explicitly requested, but libpam couldn't be 
found])
fi
 +  AC_DEFINE([HAVE_PAM], [1], [Define if PAM is available])
-   PAM_LIBS=-lpam
-   AC_SUBST(PAM_LIBS)
  fi
-@@ -667,6 +671,7 @@
+ 
+ AM_CONDITIONAL(HAVE_PANGO, test "x$have_pango" = "xyes")
+@@ -673,6 +677,7 @@ AC_MSG_RESULT([
Enable developer documentation  ${enable_devdocs}
  
weston-launch utility   ${enable_weston_launch}
@@ -51,10 +50,10 @@ Index: weston-1.10.0/configure.ac

[OE-core] [PATCH 6/8] xkeyboard-config: Upgrade 2.17 -> 2.18

2016-07-15 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 .../xorg-lib/{xkeyboard-config_2.17.bb => xkeyboard-config_2.18.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.17.bb => 
xkeyboard-config_2.18.bb} (88%)

diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.17.bb 
b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.18.bb
similarity index 88%
rename from meta/recipes-graphics/xorg-lib/xkeyboard-config_2.17.bb
rename to meta/recipes-graphics/xorg-lib/xkeyboard-config_2.18.bb
index ff9aa1d..79fcbd8 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.17.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.18.bb
@@ -13,8 +13,8 @@ LICENSE = "MIT & MIT-style"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0e7f21ca7db975c63467d2e7624a12f9"
 
 SRC_URI = 
"${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.bz2"
-SRC_URI[md5sum] = "15034bb74deebde54161dface62abbce"
-SRC_URI[sha256sum] = 
"dec6be44bd31775cdc1ab95bfd75d5f2c0055613eeca8b4e9c6480b183430701"
+SRC_URI[md5sum] = "c28cf45616bfec276879360bc36c6b27"
+SRC_URI[sha256sum] = 
"c41d917d6c8a59feb7ccbda51c40a6ada824fdd1e9684b52dd48c9530617ddd0"
 
 SECTION = "x11/libs"
 DEPENDS = "intltool-native virtual/gettext util-macros libxslt-native"
-- 
2.1.4

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


[OE-core] [PATCH 1/8] mesa: Upgrade 11.2.2 -> 12.0.1

2016-07-15 Thread Jussi Kukkonen
Massive mesa upgrade (OpenGL 4.3, GLVND support, vulkan driver
for intel etc), although many new things are disabled by default.

License file change does not change the actual licenses.

piglit results (with piglit update on ML) on an old NUC with Intel
HD5000 for reference:
   pass:   33972
   fail: 306
  crash:   2
   skip:   30857
   warn:   7
  total:   65144

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-graphics/mesa/{mesa-gl_11.2.2.bb => mesa-gl_12.0.1.bb} | 0
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 meta/recipes-graphics/mesa/{mesa_11.2.2.bb => mesa_12.0.1.bb}   | 4 ++--
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_11.2.2.bb => mesa-gl_12.0.1.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_11.2.2.bb => mesa_12.0.1.bb} (80%)

diff --git a/meta/recipes-graphics/mesa/mesa-gl_11.2.2.bb 
b/meta/recipes-graphics/mesa/mesa-gl_12.0.1.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_11.2.2.bb
rename to meta/recipes-graphics/mesa/mesa-gl_12.0.1.bb
diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 1d084c0..e4880ff 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -10,7 +10,7 @@ HOMEPAGE = "http://mesa3d.org;
 BUGTRACKER = "https://bugs.freedesktop.org;
 SECTION = "x11"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://docs/license.html;md5=6a23445982a7a972ac198e93cc1cb3de"
+LIC_FILES_CHKSUM = 
"file://docs/license.html;md5=899fbe7e42d494c7c8c159c7001693d5"
 
 PE = "2"
 
diff --git a/meta/recipes-graphics/mesa/mesa_11.2.2.bb 
b/meta/recipes-graphics/mesa/mesa_12.0.1.bb
similarity index 80%
rename from meta/recipes-graphics/mesa/mesa_11.2.2.bb
rename to meta/recipes-graphics/mesa/mesa_12.0.1.bb
index a864b54..ad872b3 100644
--- a/meta/recipes-graphics/mesa/mesa_11.2.2.bb
+++ b/meta/recipes-graphics/mesa/mesa_12.0.1.bb
@@ -4,8 +4,8 @@ SRC_URI = 
"ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
file://replace_glibc_check_with_linux.patch \
 "
 
-SRC_URI[md5sum] = "e0ec73f7273662a74366f0d76dd19ac3"
-SRC_URI[sha256sum] = 
"40e148812388ec7c6d7b6657d5a16e2e8dabba8b97ddfceea5197947647bdfb4"
+SRC_URI[md5sum] = "972fd5ad5a63aeabf173fb9adefc6522"
+SRC_URI[sha256sum] = 
"bab24fb79f78c876073527f515ed871fc9c81d816f66c8a0b051d8d653896389"
 
 #because we cannot rely on the fact that all apps will use pkgconfig,
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
-- 
2.1.4

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


[OE-core] [PATCH 3/8] wayland: Upgrade 1.10.0 -> 1.11.0

2016-07-15 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 .../recipes-graphics/wayland/{wayland_1.10.0.bb => wayland_1.11.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.10.0.bb => wayland_1.11.0.bb} 
(92%)

diff --git a/meta/recipes-graphics/wayland/wayland_1.10.0.bb 
b/meta/recipes-graphics/wayland/wayland_1.11.0.bb
similarity index 92%
rename from meta/recipes-graphics/wayland/wayland_1.10.0.bb
rename to meta/recipes-graphics/wayland/wayland_1.11.0.bb
index 41d08b7..08d2b2c 100644
--- a/meta/recipes-graphics/wayland/wayland_1.10.0.bb
+++ b/meta/recipes-graphics/wayland/wayland_1.11.0.bb
@@ -11,8 +11,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b31d8f53b6aaf2b4985d7dd7810a70d1 \
 
file://src/wayland-server.c;endline=24;md5=b8e046164a766bb1ede8ba38e9dcd7ce"
 
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz;
-SRC_URI[md5sum] = "e7751c38807c231afaba9d6b68f2a2b7"
-SRC_URI[sha256sum] = 
"4bf6e790aa6f50ab3825676282ecd75850ec9c4767af96ecb7127b1f3c3d60dc"
+SRC_URI[md5sum] = "fccf680be066e234729d5b69e0bd0fa9"
+SRC_URI[sha256sum] = 
"9540925f7928becfdf5e3b84c70757f6589bf1ceef09bea78784d8e4772c0db0"
 
 EXTRA_OECONF_class-native = "--disable-documentation --disable-libraries"
 
-- 
2.1.4

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


[OE-core] [PATCH 7/8] xf86-input-evdev: Upgrade 2.10.2 -> 2.10.3

2016-07-15 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 .../{xf86-input-evdev_2.10.2.bb => xf86-input-evdev_2.10.3.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-evdev_2.10.2.bb => 
xf86-input-evdev_2.10.3.bb} (83%)

diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.10.2.bb 
b/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.10.3.bb
similarity index 83%
rename from meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.10.2.bb
rename to meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.10.3.bb
index 2ea4574..f81c3ec 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.10.2.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.10.3.bb
@@ -16,5 +16,5 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=fefe33b1cf0cacba0e72e3b0fa0f0e16"
 
 DEPENDS += "mtdev libevdev"
 
-SRC_URI[md5sum] = "452bcc3bcce712b59af363eea94e3392"
-SRC_URI[sha256sum] = 
"a73a630d41ab90708d929f357e922bfbdb63d553491c5a30ab3e8fb1e35dfe1d"
+SRC_URI[md5sum] = "aa3363ce5061d0c4d1e7f7019b99716d"
+SRC_URI[sha256sum] = 
"5aa21ba4be8df927e5676a99c7f4f0343abc089f5451b7e73e39536f29b332a2"
-- 
2.1.4

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


[OE-core] [PATCH 2/8] wayland-protocols: Upgrade 1.3 -> 1.4

2016-07-15 Thread Jussi Kukkonen
Remove backported patch.

Signed-off-by: Jussi Kukkonen 
---
 .../wayland-protocols/dont-use-AC_CANONICAL.patch  | 29 --
 ...d-protocols_1.3.bb => wayland-protocols_1.4.bb} |  6 ++---
 2 files changed, 3 insertions(+), 32 deletions(-)
 delete mode 100644 
meta/recipes-graphics/wayland/wayland-protocols/dont-use-AC_CANONICAL.patch
 rename meta/recipes-graphics/wayland/{wayland-protocols_1.3.bb => 
wayland-protocols_1.4.bb} (80%)

diff --git 
a/meta/recipes-graphics/wayland/wayland-protocols/dont-use-AC_CANONICAL.patch 
b/meta/recipes-graphics/wayland/wayland-protocols/dont-use-AC_CANONICAL.patch
deleted file mode 100644
index 6cc0f3b..000
--- 
a/meta/recipes-graphics/wayland/wayland-protocols/dont-use-AC_CANONICAL.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Check autoconfs $cross_compiling instead as AC_CANONICAL_HOST call
-will fail if the host cpu is not recognised (which can happen when
-e.g. Yocto builds for "allarch").
-
-Signed-off-by: Jussi Kukkonen 
-Upstream-Status: Backport [cc276dfa41]
-
-diff --git a/configure.ac b/configure.ac
-index 5b48b1a..3d45a4b 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -15,13 +15,10 @@ AC_CONFIG_MACRO_DIR([m4])
- 
- AC_SUBST([WAYLAND_PROTOCOLS_VERSION], [wayland_protocols_version])
- 
--AC_CANONICAL_HOST
--AC_CANONICAL_BUILD
--
- AC_ARG_VAR([wayland_scanner], [The wayland-scanner executable])
- AC_PATH_PROG([wayland_scanner], [wayland-scanner])
- if test x$wayland_scanner = x; then
--if test x$host = x$build; then
-+if test "x$cross_compiling" != "xyes"; then
- PKG_CHECK_MODULES(WAYLAND_SCANNER, [wayland-scanner])
- wayland_scanner=`$PKG_CONFIG --variable=wayland_scanner 
wayland-scanner`
- else
--- 
-cgit v0.10.2
-
diff --git a/meta/recipes-graphics/wayland/wayland-protocols_1.3.bb 
b/meta/recipes-graphics/wayland/wayland-protocols_1.4.bb
similarity index 80%
rename from meta/recipes-graphics/wayland/wayland-protocols_1.3.bb
rename to meta/recipes-graphics/wayland/wayland-protocols_1.4.bb
index 86e89b5..fcc156f 100644
--- a/meta/recipes-graphics/wayland/wayland-protocols_1.3.bb
+++ b/meta/recipes-graphics/wayland/wayland-protocols_1.4.bb
@@ -10,9 +10,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
 
file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
 
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
-   file://dont-use-AC_CANONICAL.patch"
-SRC_URI[md5sum] = "88b5e3dce52908c7e74fad3e2cf8abb0"
-SRC_URI[sha256sum] = 
"6bcd0633fdf9225ef1c7d2831f542e947f7d79811c79fc37f57b2e5375ded82f"
+   "
+SRC_URI[md5sum] = "fd8089abf13a1d04e4baa6509ee72baf"
+SRC_URI[sha256sum] = 
"014a9a23c21ed14f49b1005b3e8efa66d6337d4ceafc97f7b0d6707e7e3df572"
 
 inherit allarch autotools pkgconfig
 
-- 
2.1.4

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


[OE-core] [PATCH 0/8] Upgrade mesa, wayland

2016-07-15 Thread Jussi Kukkonen
Major releases of wayland components and especially mesa. The X
upgrades are all fairly small ones.

Mesa has been tested with piglit (looks pretty good). I did not have
a modern test device at hand so have not verified the OpenGL 4.3
support. Wayland was just smoke tested: seems to work fine.

Jussi

The following changes since commit 627d01997fcf6a0581d88047735769ffb2592b82:

  useradd-staticids: use map() instead of imap() (2016-07-12 23:12:00 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib jku/graphics
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/graphics

Jussi Kukkonen (8):
  mesa: Upgrade 11.2.2 -> 12.0.1
  wayland-protocols: Upgrade 1.3 -> 1.4
  wayland: Upgrade 1.10.0 -> 1.11.0
  weston: Upgrade 1.10.0 -> 1.11.0
  libxfixes: Upgrade 5.0.1 -> 5.0.2
  xkeyboard-config: Upgrade 2.17 -> 2.18
  xf86-input-evdev: Upgrade 2.10.2 -> 2.10.3
  xf86-input-libinput: Upgrade 0.16.0 -> 0.19.0

 .../mesa/{mesa-gl_11.2.2.bb => mesa-gl_12.0.1.bb}  |  0
 meta/recipes-graphics/mesa/mesa.inc|  2 +-
 .../mesa/{mesa_11.2.2.bb => mesa_12.0.1.bb}|  4 +-
 .../wayland-protocols/dont-use-AC_CANONICAL.patch  | 29 -
 ...d-protocols_1.3.bb => wayland-protocols_1.4.bb} |  6 +-
 .../{wayland_1.10.0.bb => wayland_1.11.0.bb}   |  4 +-
 ...1-configure.ac-Fix-wayland-protocols-path.patch |  4 +-
 ...ch-Provide-a-default-version-that-doesn-t.patch | 68 +++---
 .../make-libwebp-explicitly-configurable.patch | 37 
 .../wayland/{weston_1.10.0.bb => weston_1.11.0.bb} |  7 +--
 ...-evdev_2.10.2.bb => xf86-input-evdev_2.10.3.bb} |  4 +-
 ...put_0.16.0.bb => xf86-input-libinput_0.19.0.bb} |  4 +-
 .../{libxfixes_5.0.1.bb => libxfixes_5.0.2.bb} |  4 +-
 ...ard-config_2.17.bb => xkeyboard-config_2.18.bb} |  4 +-
 14 files changed, 56 insertions(+), 121 deletions(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_11.2.2.bb => mesa-gl_12.0.1.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_11.2.2.bb => mesa_12.0.1.bb} (80%)
 delete mode 100644 
meta/recipes-graphics/wayland/wayland-protocols/dont-use-AC_CANONICAL.patch
 rename meta/recipes-graphics/wayland/{wayland-protocols_1.3.bb => 
wayland-protocols_1.4.bb} (80%)
 rename meta/recipes-graphics/wayland/{wayland_1.10.0.bb => wayland_1.11.0.bb} 
(92%)
 delete mode 100644 
meta/recipes-graphics/wayland/weston/make-libwebp-explicitly-configurable.patch
 rename meta/recipes-graphics/wayland/{weston_1.10.0.bb => weston_1.11.0.bb} 
(95%)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-evdev_2.10.2.bb => 
xf86-input-evdev_2.10.3.bb} (83%)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_0.16.0.bb => 
xf86-input-libinput_0.19.0.bb} (63%)
 rename meta/recipes-graphics/xorg-lib/{libxfixes_5.0.1.bb => 
libxfixes_5.0.2.bb} (79%)
 rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.17.bb => 
xkeyboard-config_2.18.bb} (88%)

-- 
2.1.4

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


[OE-core] [PATCH] nss: Fix build on mips/clang

2016-07-15 Thread Khem Raj
This issue is also reported here
https://trac.macports.org/ticket/51709
Patch is also from same ticket

Signed-off-by: Khem Raj 
---
 .../recipes-support/nss/nss/pqg.c-ULL_addend.patch | 23 ++
 meta/recipes-support/nss/nss_3.24.bb   |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch

diff --git a/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch 
b/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch
new file mode 100644
index 000..9caaaeb
--- /dev/null
+++ b/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch
@@ -0,0 +1,23 @@
+nss does not build on mips with clang because wrong types are used?
+
+pqg.c:339:16: error: comparison of constant 18446744073709551615 with 
expression of type 'unsigned long' is always true 
[-Werror,-Wtautological-constant-out-of-range-compare]
+ if (addend < MP_DIGIT_MAX) {
+   ~~ ^ 
+
+Signed-off-by: Khem Raj 
+Upstream-Status: Pending
+Index: nss-3.24/nss/lib/freebl/pqg.c
+===
+--- nss-3.24.orig/nss/lib/freebl/pqg.c
 nss-3.24/nss/lib/freebl/pqg.c
+@@ -322,8 +322,8 @@ generate_h_candidate(SECItem *hit, mp_in
+ 
+ static SECStatus
+ addToSeed(const SECItem * seed,
+-  unsigned long   addend,
+-  int seedlen, /* g in 186-1 */
++  unsigned long long  addend,
++  int seedlen, /* g in 186-1 */
+   SECItem * seedout)
+ {
+ mp_int s, sum, modulus, tmp;
diff --git a/meta/recipes-support/nss/nss_3.24.bb 
b/meta/recipes-support/nss/nss_3.24.bb
index caed7fa..c7c9fab 100644
--- a/meta/recipes-support/nss/nss_3.24.bb
+++ b/meta/recipes-support/nss/nss_3.24.bb
@@ -21,6 +21,7 @@ SRC_URI = "\
 file://nss-fix-incorrect-shebang-of-perl.patch \
 file://nss-fix-nsinstall-build.patch \
 file://disable-Wvarargs-with-clang.patch \
+file://pqg.c-ULL_addend.patch \
 file://nss.pc.in \
 file://signlibs.sh \
 "
-- 
2.9.0

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


Re: [OE-core] [meta-oe][PATCH] openssl: use the perl of perl-native instead of the host perl

2016-07-15 Thread Burton, Ross
On 15 July 2016 at 04:24, Yue Tao  wrote:

> The openssl can't build with very old perl, such as 5.8.9, so force it
> to use the perl-native to avoid host dependence issue.
>

Considering that Perl 5.8.9 was released in 2008 (so eight years ago), what
distribution is still shipping perl 5.8.9?  Instead of forcing everyone to
build perl-native before openssl can build (and adding perlnative to more
recipes as they're discovered to fail with ancient perl) anyone using an
old distribution should simply use buildtools, as this is exactly what
they're for.

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


Re: [OE-core] [oe-core][PATCH] tcl: fix INCLUDE_SPEC and LIB_SPEC

2016-07-15 Thread Khem Raj
On Tue, Jul 5, 2016 at 9:08 PM, Zhenhua Luo  wrote:
>> -Original Message-
>> From: Khem Raj [mailto:raj.k...@gmail.com]
>> Sent: Tuesday, July 05, 2016 11:16 PM
>> To: Zhenhua Luo 
>> Cc: Patches and discussions about the oe-core layer > c...@lists.openembedded.org>
>> Subject: Re: [OE-core] [oe-core][PATCH] tcl: fix INCLUDE_SPEC and LIB_SPEC
>>
>> On Mon, Jul 4, 2016 at 11:20 PM, Zhenhua Luo  wrote:
>> > TCL_INCLUDE_SPEC -I+ and TCL_LIB_SPEC -L+${libdir} break
>> > the cross-compile of packages which require tcl headers and libraries.
>> >
>> > One example is that postgresql configure failed at the following error:
>> > | checking for tcl.h... no
>> > | configure: error: header file  is required for Tcl
>> >
>> > Signed-off-by: Zhenhua Luo 
>> > ---
>> >  meta/recipes-devtools/tcltk/tcl_8.6.5.bb | 2 --
>> >  1 file changed, 2 deletions(-)
>> >
>> > diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
>> > b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
>> > index 46fc8a7..d75232b 100644
>> > --- a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
>> > +++ b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
>> > @@ -56,8 +56,6 @@ do_install() {
>> > ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
>> > sed -i "s+-L${B}+-L${STAGING_LIBDIR}+g" tclConfig.sh
>> > sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
>> > -   sed -i "s,-L${libdir},-L=${libdir},g" tclConfig.sh
>> > -   sed -i "s,-I${includedir},-I=${includedir},g" tclConfig.sh
>>
>> does this now include some of your host headers in build then ?
> [Luo Zhenhua-B19537] The patch does the following changes for tclConfig.sh. 
> Without the change, tcl.h can't be found when cross building packages(e.g. 
> postgresql) which depend on tcl. I have cross-compiled several 
> packages(postgresql, expect, ruby, tk) that have tcl dependency and see no 
> issue.
> 1. tmp/sysroots/qemuarm64/usr/bin/crossscripts/tclConfig.sh
> # String to pass to linker to pick up the Tcl library from its
>  # installed directory.
> 
> -TCL_LIB_SPEC='-L=/home/bjsimics/workspace/poky-os/qemuppc/tmp/sysroots/qemuarm64/usr/lib
>  -ltcl8.6'
> 
> +TCL_LIB_SPEC='-L/home/bjsimics/workspace/poky-os/qemuppc/tmp/sysroots/qemuarm64/usr/lib
>  -ltcl8.6'
>
>  # String to pass to the compiler so that an extension can
>  # find installed Tcl headers.
> 
> -TCL_INCLUDE_SPEC='-I=/home/bjsimics/workspace/poky-os/qemuppc/tmp/sysroots/qemuarm64/usr/include/tcl8.6'
> 
> +TCL_INCLUDE_SPEC='-I/home/bjsimics/workspace/poky-os/qemuppc/tmp/sysroots/qemuarm64/usr/include/tcl8.6'
>
> # String to pass to linker to pick up the Tcl stub library from its
>  # installed directory.
> 
> -TCL_STUB_LIB_SPEC='-L=/home/bjsimics/workspace/poky-os/qemuppc/tmp/sysroots/qemuarm64/usr/lib
>  -ltclstub8.6'
> 
> +TCL_STUB_LIB_SPEC='-L/home/bjsimics/workspace/poky-os/qemuppc/tmp/sysroots/qemuarm64/usr/lib
>  -ltclstub8.6'
>
> 2. tmp/sysroots/qemuarm64/usr/lib/tclConfig.sh
> # String to pass to linker to pick up the Tcl library from its
>  # installed directory.
> -TCL_LIB_SPEC='-L=/usr/lib -ltcl8.6'
> +TCL_LIB_SPEC='-L/usr/lib -ltcl8.6'
>
>  # String to pass to the compiler so that an extension can
>  # find installed Tcl headers.
> -TCL_INCLUDE_SPEC='-I=/usr/include/tcl8.6'
> +TCL_INCLUDE_SPEC='-I/usr/include/tcl8.6'
>
> # String to pass to linker to pick up the Tcl stub library from its
>  # installed directory.
> -TCL_STUB_LIB_SPEC='-L=/usr/lib -ltclstub8.6'
> +TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.6'
>
>
> Best Regards,

Thanks for verifying, this looks OK to me.
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [wic][PATCH] wic: oe-selftest: build bmap-tools-native

2016-07-15 Thread Ed Bartosh
bmap-tools-native is required to generate .bmap file. Without it
wic fails with this error when run with --bmap option:
Error: A native program bmaptool required to build
   the image was not found

Added bmap-tools-native to the list of requirements to build
in Wic.setUpLocal method.

Signed-off-by: Ed Bartosh 
---
 meta/lib/oeqa/selftest/wic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 895c6d6..e550785 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -49,7 +49,7 @@ class Wic(oeSelfTest):
 # setUpClass being unavailable.
 if not Wic.image_is_ready:
 bitbake('syslinux syslinux-native parted-native gptfdisk-native '
-'dosfstools-native mtools-native')
+'dosfstools-native mtools-native bmap-tools-native')
 bitbake('core-image-minimal')
 Wic.image_is_ready = True
 
-- 
2.1.4

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


Re: [OE-core] [oe-core][PATCH] tcl: fix INCLUDE_SPEC and LIB_SPEC

2016-07-15 Thread Robert Yang


FYI, I had sent one before:

http://lists.openembedded.org/pipermail/openembedded-core/2016-June/123006.html

And pending for reviewing.

// Robert

On 07/15/2016 02:13 PM, Zhenhua Luo wrote:

Ping.

Is there any other comment to be addressed for the patch?


Best Regards,

Zhenhua


-Original Message-
From: openembedded-core-boun...@lists.openembedded.org
[mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf
Of Zhenhua Luo
Sent: Wednesday, July 06, 2016 12:09 PM
To: Khem Raj 
Cc: Patches and discussions about the oe-core layer 
Subject: Re: [OE-core] [oe-core][PATCH] tcl: fix INCLUDE_SPEC and LIB_SPEC


-Original Message-
From: Khem Raj [mailto:raj.k...@gmail.com]
Sent: Tuesday, July 05, 2016 11:16 PM
To: Zhenhua Luo 
Cc: Patches and discussions about the oe-core layer 
Subject: Re: [OE-core] [oe-core][PATCH] tcl: fix INCLUDE_SPEC and
LIB_SPEC

On Mon, Jul 4, 2016 at 11:20 PM, Zhenhua Luo 

wrote:

TCL_INCLUDE_SPEC -I+ and TCL_LIB_SPEC -L+${libdir} break
the cross-compile of packages which require tcl headers and libraries.

One example is that postgresql configure failed at the following error:
| checking for tcl.h... no
| configure: error: header file  is required for Tcl

Signed-off-by: Zhenhua Luo 
---
  meta/recipes-devtools/tcltk/tcl_8.6.5.bb | 2 --
  1 file changed, 2 deletions(-)

diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
index 46fc8a7..d75232b 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
@@ -56,8 +56,6 @@ do_install() {
 ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
 sed -i "s+-L${B}+-L${STAGING_LIBDIR}+g" tclConfig.sh
 sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
-   sed -i "s,-L${libdir},-L=${libdir},g" tclConfig.sh
-   sed -i "s,-I${includedir},-I=${includedir},g" tclConfig.sh


does this now include some of your host headers in build then ?

[Luo Zhenhua-B19537] The patch does the following changes for tclConfig.sh.
Without the change, tcl.h can't be found when cross building packages(e.g.
postgresql) which depend on tcl. I have cross-compiled several
packages(postgresql, expect, ruby, tk) that have tcl dependency and see no
issue.
1. tmp/sysroots/qemuarm64/usr/bin/crossscripts/tclConfig.sh
# String to pass to linker to pick up the Tcl library from its
 # installed directory.
-TCL_LIB_SPEC='-L=/home/bjsimics/workspace/poky-
os/qemuppc/tmp/sysroots/qemuarm64/usr/lib -ltcl8.6'
+TCL_LIB_SPEC='-L/home/bjsimics/workspace/poky-
os/qemuppc/tmp/sysroots/qemuarm64/usr/lib -ltcl8.6'

 # String to pass to the compiler so that an extension can
 # find installed Tcl headers.
-TCL_INCLUDE_SPEC='-I=/home/bjsimics/workspace/poky-
os/qemuppc/tmp/sysroots/qemuarm64/usr/include/tcl8.6'
+TCL_INCLUDE_SPEC='-I/home/bjsimics/workspace/poky-
os/qemuppc/tmp/sysroots/qemuarm64/usr/include/tcl8.6'

# String to pass to linker to pick up the Tcl stub library from its
 # installed directory.
-TCL_STUB_LIB_SPEC='-L=/home/bjsimics/workspace/poky-
os/qemuppc/tmp/sysroots/qemuarm64/usr/lib -ltclstub8.6'
+TCL_STUB_LIB_SPEC='-L/home/bjsimics/workspace/poky-
os/qemuppc/tmp/sysroots/qemuarm64/usr/lib -ltclstub8.6'

2. tmp/sysroots/qemuarm64/usr/lib/tclConfig.sh
# String to pass to linker to pick up the Tcl library from its
 # installed directory.
-TCL_LIB_SPEC='-L=/usr/lib -ltcl8.6'
+TCL_LIB_SPEC='-L/usr/lib -ltcl8.6'

 # String to pass to the compiler so that an extension can
 # find installed Tcl headers.
-TCL_INCLUDE_SPEC='-I=/usr/include/tcl8.6'
+TCL_INCLUDE_SPEC='-I/usr/include/tcl8.6'

# String to pass to linker to pick up the Tcl stub library from its
 # installed directory.
-TCL_STUB_LIB_SPEC='-L=/usr/lib -ltclstub8.6'
+TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.6'


Best Regards,

Zhenhua


 install -d ${D}${bindir_crossscripts}
 install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
 install -m 0755 tclConfig.sh ${D}${libdir}
--
2.7.4

--
___
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

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


Re: [OE-core] [oe-core][PATCH] tcl: fix INCLUDE_SPEC and LIB_SPEC

2016-07-15 Thread Zhenhua Luo
Ping. 

Is there any other comment to be addressed for the patch? 


Best Regards,

Zhenhua

> -Original Message-
> From: openembedded-core-boun...@lists.openembedded.org
> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf
> Of Zhenhua Luo
> Sent: Wednesday, July 06, 2016 12:09 PM
> To: Khem Raj 
> Cc: Patches and discussions about the oe-core layer  c...@lists.openembedded.org>
> Subject: Re: [OE-core] [oe-core][PATCH] tcl: fix INCLUDE_SPEC and LIB_SPEC
> 
> > -Original Message-
> > From: Khem Raj [mailto:raj.k...@gmail.com]
> > Sent: Tuesday, July 05, 2016 11:16 PM
> > To: Zhenhua Luo 
> > Cc: Patches and discussions about the oe-core layer  > c...@lists.openembedded.org>
> > Subject: Re: [OE-core] [oe-core][PATCH] tcl: fix INCLUDE_SPEC and
> > LIB_SPEC
> >
> > On Mon, Jul 4, 2016 at 11:20 PM, Zhenhua Luo 
> wrote:
> > > TCL_INCLUDE_SPEC -I+ and TCL_LIB_SPEC -L+${libdir} break
> > > the cross-compile of packages which require tcl headers and libraries.
> > >
> > > One example is that postgresql configure failed at the following error:
> > > | checking for tcl.h... no
> > > | configure: error: header file  is required for Tcl
> > >
> > > Signed-off-by: Zhenhua Luo 
> > > ---
> > >  meta/recipes-devtools/tcltk/tcl_8.6.5.bb | 2 --
> > >  1 file changed, 2 deletions(-)
> > >
> > > diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
> > > b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
> > > index 46fc8a7..d75232b 100644
> > > --- a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
> > > +++ b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb
> > > @@ -56,8 +56,6 @@ do_install() {
> > > ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
> > > sed -i "s+-L${B}+-L${STAGING_LIBDIR}+g" tclConfig.sh
> > > sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
> > > -   sed -i "s,-L${libdir},-L=${libdir},g" tclConfig.sh
> > > -   sed -i "s,-I${includedir},-I=${includedir},g" tclConfig.sh
> >
> > does this now include some of your host headers in build then ?
> [Luo Zhenhua-B19537] The patch does the following changes for tclConfig.sh.
> Without the change, tcl.h can't be found when cross building packages(e.g.
> postgresql) which depend on tcl. I have cross-compiled several
> packages(postgresql, expect, ruby, tk) that have tcl dependency and see no
> issue.
>   1. tmp/sysroots/qemuarm64/usr/bin/crossscripts/tclConfig.sh
>   # String to pass to linker to pick up the Tcl library from its
># installed directory.
>   -TCL_LIB_SPEC='-L=/home/bjsimics/workspace/poky-
> os/qemuppc/tmp/sysroots/qemuarm64/usr/lib -ltcl8.6'
>   +TCL_LIB_SPEC='-L/home/bjsimics/workspace/poky-
> os/qemuppc/tmp/sysroots/qemuarm64/usr/lib -ltcl8.6'
> 
># String to pass to the compiler so that an extension can
># find installed Tcl headers.
>   -TCL_INCLUDE_SPEC='-I=/home/bjsimics/workspace/poky-
> os/qemuppc/tmp/sysroots/qemuarm64/usr/include/tcl8.6'
>   +TCL_INCLUDE_SPEC='-I/home/bjsimics/workspace/poky-
> os/qemuppc/tmp/sysroots/qemuarm64/usr/include/tcl8.6'
> 
>   # String to pass to linker to pick up the Tcl stub library from its
># installed directory.
>   -TCL_STUB_LIB_SPEC='-L=/home/bjsimics/workspace/poky-
> os/qemuppc/tmp/sysroots/qemuarm64/usr/lib -ltclstub8.6'
>   +TCL_STUB_LIB_SPEC='-L/home/bjsimics/workspace/poky-
> os/qemuppc/tmp/sysroots/qemuarm64/usr/lib -ltclstub8.6'
> 
>   2. tmp/sysroots/qemuarm64/usr/lib/tclConfig.sh
>   # String to pass to linker to pick up the Tcl library from its
># installed directory.
>   -TCL_LIB_SPEC='-L=/usr/lib -ltcl8.6'
>   +TCL_LIB_SPEC='-L/usr/lib -ltcl8.6'
> 
># String to pass to the compiler so that an extension can
># find installed Tcl headers.
>   -TCL_INCLUDE_SPEC='-I=/usr/include/tcl8.6'
>   +TCL_INCLUDE_SPEC='-I/usr/include/tcl8.6'
> 
>   # String to pass to linker to pick up the Tcl stub library from its
># installed directory.
>   -TCL_STUB_LIB_SPEC='-L=/usr/lib -ltclstub8.6'
>   +TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.6'
> 
> 
> Best Regards,
> 
> Zhenhua
> 
> > > install -d ${D}${bindir_crossscripts}
> > > install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
> > > install -m 0755 tclConfig.sh ${D}${libdir}
> > > --
> > > 2.7.4
> > >
> > > --
> > > ___
> > > 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
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org

[OE-core] [PATCH][v3] watchdog: enable systemd support

2016-07-15 Thread jackie.huang
From: Roy Li 

1. inherit systemd, and add two unit files which are from Fedora 23
2. auto load soft dog kernel module

Signed-off-by: Roy Li 
Signed-off-by: Jackie Huang 
---
 .../watchdog/watchdog/watchdog-ping.service  | 11 +++
 meta/recipes-extended/watchdog/watchdog/watchdog.service | 11 +++
 meta/recipes-extended/watchdog/watchdog_5.15.bb  | 16 +++-
 3 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-extended/watchdog/watchdog/watchdog-ping.service
 create mode 100644 meta/recipes-extended/watchdog/watchdog/watchdog.service

diff --git a/meta/recipes-extended/watchdog/watchdog/watchdog-ping.service 
b/meta/recipes-extended/watchdog/watchdog/watchdog-ping.service
new file mode 100644
index 000..44bac9d
--- /dev/null
+++ b/meta/recipes-extended/watchdog/watchdog/watchdog-ping.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=watchdog daemon for use with ping test / network dependency
+After=network.target
+Conflicts=watchdog.service
+
+[Service]
+Type=forking
+ExecStart=@SBINDIR@/watchdog
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta/recipes-extended/watchdog/watchdog/watchdog.service 
b/meta/recipes-extended/watchdog/watchdog/watchdog.service
new file mode 100644
index 000..c5faa4e
--- /dev/null
+++ b/meta/recipes-extended/watchdog/watchdog/watchdog.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=watchdog daemon
+# man systemd.special
+# auto added After=basic.target
+
+[Service]
+Type=forking
+ExecStart=@SBINDIR@/watchdog
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta/recipes-extended/watchdog/watchdog_5.15.bb 
b/meta/recipes-extended/watchdog/watchdog_5.15.bb
index ee1a893..ac2ee5c 100644
--- a/meta/recipes-extended/watchdog/watchdog_5.15.bb
+++ b/meta/recipes-extended/watchdog/watchdog_5.15.bb
@@ -12,6 +12,8 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/watchdog/watchdog-${PV}.tar.gz \

file://0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch \
file://watchdog-init.patch \
file://watchdog-conf.patch \
+   file://watchdog-ping.service \
+   file://watchdog.service \
 "
 
 SRC_URI[md5sum] = "678c32f6f35a0492c9c1b76b4aa88828"
@@ -21,7 +23,7 @@ UPSTREAM_CHECK_URI = 
"http://sourceforge.net/projects/watchdog/files/watchdog/;
 UPSTREAM_CHECK_REGEX = "/watchdog/(?P(\d+[\.\-_]*)+)/"
 
 inherit autotools
-inherit update-rc.d
+inherit update-rc.d systemd
 
 DEPENDS_append_libc-musl = " libtirpc "
 CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc "
@@ -33,6 +35,18 @@ INITSCRIPT_PARAMS = "start 15 1 2 3 4 5 . stop 85 0 6 ."
 
 RRECOMMENDS_${PN} = "kernel-module-softdog"
 
+SYSTEMD_SERVICE_${PN} = "watchdog.service"
+
 do_install_append() {
install -D ${S}/redhat/watchdog.init 
${D}/${sysconfdir}/init.d/watchdog.sh
+   install -d ${D}${systemd_system_unitdir}
+   install -m 0644 ${WORKDIR}/watchdog*.service 
${D}${systemd_system_unitdir}
+
+   if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; 
then
+   install -d ${D}${sysconfdir}/modules-load.d
+   echo "softdog" > ${D}${sysconfdir}/modules-load.d/softdog.conf
+   sed -i -e 's,@SBINDIR@,${sbindir},g' 
${D}${systemd_unitdir}/system/*.service
+   fi
 }
+
+FILES_${PN} += "${systemd_system_unitdir}/*"
-- 
2.8.1

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