[OE-core] [PATCH] dbus-glib 0.106 -> 0.108

2016-12-15 Thread Zheng Ruoqin
Upgrade dbus-glib from 0.106 to 0.108

Signed-off-by: Zheng Ruoqin 
---
 meta/recipes-core/dbus/dbus-glib_0.106.bb | 4 
 meta/recipes-core/dbus/dbus-glib_0.108.bb | 4 
 2 files changed, 4 insertions(+), 4 deletions(-)
 delete mode 100644 meta/recipes-core/dbus/dbus-glib_0.106.bb
 create mode 100644 meta/recipes-core/dbus/dbus-glib_0.108.bb

diff --git a/meta/recipes-core/dbus/dbus-glib_0.106.bb 
b/meta/recipes-core/dbus/dbus-glib_0.106.bb
deleted file mode 100644
index 0ae848e..000
--- a/meta/recipes-core/dbus/dbus-glib_0.106.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require dbus-glib.inc
-
-SRC_URI[md5sum] = "2eea0b7f52b49f600a07abfd8535d4e4"
-SRC_URI[sha256sum] = 
"b38952706dcf68bad9c302999ef0f420b8cf1a2428227123f0ac4764b689c046"
diff --git a/meta/recipes-core/dbus/dbus-glib_0.108.bb 
b/meta/recipes-core/dbus/dbus-glib_0.108.bb
new file mode 100644
index 000..7a9a69e
--- /dev/null
+++ b/meta/recipes-core/dbus/dbus-glib_0.108.bb
@@ -0,0 +1,4 @@
+require dbus-glib.inc
+
+SRC_URI[md5sum] = "a66a613705870752ca9786e0359aea97"
+SRC_URI[sha256sum] = 
"9f340c7e2352e9cdf113893ca77ca9075d9f8d5e81476bf2bf361099383c602c"
-- 
2.7.4



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


[OE-core] [PATCH 2/2] apr: fix off_t size can't match when configure and in target glibc

2016-12-15 Thread Dengke Du
When subversion run on x86 and lib32 on x86-64, it use the APR's
apr.h header file. But when configure the APR, APR meets the cross
compiling, it was hardcoded in configure.in in apr source code. As
the following:

APR_CHECK_SIZEOF_EXTENDED([#include ], off_t, 8)

It pass 8 bytes to off_t when meets cross compiling, but on x86 or lib32
the off_t in glibc was 4 bytes, so it let the application who use apr.h
go to wrong.

Such as subversion:

svnadmin create test

So we should let the APR detect the correct off_t when cross compiling,
change it to the following:

AC_CHECK_SIZEOF(off_t)

Signed-off-by: Dengke Du 
---
 ..._t-size-doesn-t-match-in-glibc-when-cross.patch | 52 ++
 meta/recipes-support/apr/apr_1.5.2.bb  |  1 +
 2 files changed, 53 insertions(+)
 create mode 100644 
meta/recipes-support/apr/apr/0001-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch

diff --git 
a/meta/recipes-support/apr/apr/0001-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch
 
b/meta/recipes-support/apr/apr/0001-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch
new file mode 100644
index 000..56673f4
--- /dev/null
+++ 
b/meta/recipes-support/apr/apr/0001-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch
@@ -0,0 +1,52 @@
+From 537f5b415677b49a52f01bca9f60937654fb9cca Mon Sep 17 00:00:00 2001
+From: Dengke Du 
+Date: Wed, 14 Dec 2016 18:13:08 +0800
+Subject: [PATCH] apr: fix off_t size doesn't match in glibc when cross
+ compiling
+
+In configure.in, it contains the following:
+
+   APR_CHECK_SIZEOF_EXTENDED([#include ], off_t, 8)
+
+the macro "APR_CHECK_SIZEOF_EXTENDED" was defined in build/apr_common.m4,
+it use the "AC_TRY_RUN" macro, this macro let the off_t to 8, when cross
+compiling enable.
+
+So it was hardcoded for cross compiling, we should detect it dynamic based on
+the sysroot's glibc. We change it to the following:
+
+   AC_CHECK_SIZEOF(off_t)
+
+I have send a discussing for the upstream, the maintainer said the macro in
+APR designed with only any attention paid to the build platform, considering
+cross compiling less, we can check the discussing from:
+
+   http://mail-archives.apache.org/mod_mbox/apr-dev/201612.mbox/browser
+
+text/plain:
+
+   
http://mail-archives.apache.org/mod_mbox/apr-dev/201612.mbox/raw/%3CCACsi250oDaqf%2BG4-KoT_0QWhSZdKCJhNZYhWRBqOx5WcmtYO8Q%40mail.gmail.com%3E/1
+
+Upstream-Status: Submitted
+
+Signed-off-by: Dengke Du 
+---
+ configure.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index 9d57ae6..fcc647e 100644
+--- a/configure.in
 b/configure.in
+@@ -1784,7 +1784,7 @@ fi
+ 
+ size_t_fmt="#define APR_SIZE_T_FMT \"$size_t_fmt\""
+ 
+-APR_CHECK_SIZEOF_EXTENDED([#include ], off_t, 8)
++AC_CHECK_SIZEOF(off_t)
+ 
+ if test "${ac_cv_sizeof_off_t}${apr_cv_use_lfs64}" = "4yes"; then
+ # Enable LFS
+-- 
+2.7.4
+
diff --git a/meta/recipes-support/apr/apr_1.5.2.bb 
b/meta/recipes-support/apr/apr_1.5.2.bb
index 302c935..f560c8b 100644
--- a/meta/recipes-support/apr/apr_1.5.2.bb
+++ b/meta/recipes-support/apr/apr_1.5.2.bb
@@ -17,6 +17,7 @@ SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \
file://upgrade-and-fix-1.5.1.patch \
file://Fix-packet-discards-HTTP-redirect.patch \
file://configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch \
+   
file://0001-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch \
 "
 
 SRC_URI[md5sum] = "4e9769f3349fe11fc0a5e1b224c236aa"
-- 
2.7.4

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


[OE-core] [PATCH 0/2] fix apr configure error for cross compiling

2016-12-15 Thread Dengke Du
The following changes since commit a92d27acd8f42b61a2fc575311838b45d171f0af:

  oeqa/utils/commands.py: Fix get_bb_vars() when called without arguments 
(2016-12-14 16:15:04 +)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib 
dengke/fix-apr-configure-error-for-cross-compiling
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=dengke/fix-apr-configure-error-for-cross-compiling

Dengke Du (2):
  Revert "subversion: fix "svnadmin create" fail on x86"
  apr: fix off_t size can't match when configure and in target glibc

 .../0001-fix-svnadmin-create-fail-on-x86.patch | 56 --
 .../subversion/subversion_1.9.4.bb |  1 -
 ..._t-size-doesn-t-match-in-glibc-when-cross.patch | 52 
 meta/recipes-support/apr/apr_1.5.2.bb  |  1 +
 4 files changed, 53 insertions(+), 57 deletions(-)
 delete mode 100644 
meta/recipes-devtools/subversion/subversion/0001-fix-svnadmin-create-fail-on-x86.patch
 create mode 100644 
meta/recipes-support/apr/apr/0001-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch

-- 
2.7.4

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


[OE-core] [PATCH 1/2] Revert "subversion: fix "svnadmin create" fail on x86"

2016-12-15 Thread Dengke Du
This reverts commit cfe6f3e251240c9d9a70354be0501600357f0b87.
---
 .../0001-fix-svnadmin-create-fail-on-x86.patch | 56 --
 .../subversion/subversion_1.9.4.bb |  1 -
 2 files changed, 57 deletions(-)
 delete mode 100644 
meta/recipes-devtools/subversion/subversion/0001-fix-svnadmin-create-fail-on-x86.patch

diff --git 
a/meta/recipes-devtools/subversion/subversion/0001-fix-svnadmin-create-fail-on-x86.patch
 
b/meta/recipes-devtools/subversion/subversion/0001-fix-svnadmin-create-fail-on-x86.patch
deleted file mode 100644
index d440528..000
--- 
a/meta/recipes-devtools/subversion/subversion/0001-fix-svnadmin-create-fail-on-x86.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 09475e0befca8d120c957177ce8568fa2209a1a9 Mon Sep 17 00:00:00 2001
-From: Dengke Du 
-Date: Wed, 2 Nov 2016 11:09:44 +0800
-Subject: [PATCH] fix "svnadmin create" fail on x86
-
-When run the following command on x86:
-
-svnadmin create /var/test_repo
-
-It cause segmentation fault error like the following:
-
-[16499.751837] svnadmin[21117]: segfault at 83 ip f74bf7f6 sp 
ffdd9b34 error 4 in libc-2.24.so[f7441000+1af000]
-Segmentation fault (core dumped)
-
-This is because in source code ./subversion/libsvn_fs_fs/low_level.c,
-function svn_fs_fs__unparse_footer, when:
-
-target arch:x86
-apr_off_t:  4 bytes
-
-if the "APR_OFF_T_FMT" is "lld", it still use type "apr_off_t" to pass
-data to apr, but in apr source code file apr_snprintf.c the function
-apr_vformatter meet "lld", it would use the:
-
-i_quad = va_arg(ap, apr_int64_t);
-
-It uses the apr_int64_t to deal data, it read 8 bytes, so the follow-up
-data may be error.
-
-Upstream-Status: Pending
-
-Signed-off-by: Dengke Du 

- subversion/libsvn_fs_fs/low_level.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/subversion/libsvn_fs_fs/low_level.c 
b/subversion/libsvn_fs_fs/low_level.c
-index a27bbcc..6ddbe28 100644
 a/subversion/libsvn_fs_fs/low_level.c
-+++ b/subversion/libsvn_fs_fs/low_level.c
-@@ -250,10 +250,10 @@ svn_fs_fs__unparse_footer(apr_off_t l2p_offset,
- {
-   return svn_stringbuf_createf(result_pool,
-"%" APR_OFF_T_FMT " %s %" APR_OFF_T_FMT " %s",
--   l2p_offset,
-+   (APR_OFF_T_FMT=="lld") ? 
(apr_int64_t)l2p_offset : l2p_offset,
-svn_checksum_to_cstring(l2p_checksum,
-scratch_pool),
--   p2l_offset,
-+   (APR_OFF_T_FMT=="lld") ? 
(apr_int64_t)p2l_offset : p2l_offset,
-svn_checksum_to_cstring(p2l_checksum,
-scratch_pool));
- }
--- 
-2.7.4
-
diff --git a/meta/recipes-devtools/subversion/subversion_1.9.4.bb 
b/meta/recipes-devtools/subversion/subversion_1.9.4.bb
index 3e35940..460f8d0 100644
--- a/meta/recipes-devtools/subversion/subversion_1.9.4.bb
+++ b/meta/recipes-devtools/subversion/subversion_1.9.4.bb
@@ -14,7 +14,6 @@ SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
file://disable_macos.patch \
file://serf.m4-Regex-modified-to-allow-D-in-paths.patch \
file://0001-Fix-libtool-name-in-configure.ac.patch \
-   file://0001-fix-svnadmin-create-fail-on-x86.patch \
file://serfmacro.patch \
"
 
-- 
2.7.4

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


[OE-core] [PATCH] dpkg: upgrade to 1.18.15

2016-12-15 Thread Edwin Plauchu
From: Edwin Plauchu 

Signed-off-by: Edwin Plauchu 
---
 ...tinsts-expect-D-to-be-set-when-running-in.patch | 30 +++---
 .../dpkg/dpkg/add_armeb_triplet_entry.patch| 46 --
 .../dpkg/dpkg/add_armeb_tuple_entry.patch  | 46 ++
 meta/recipes-devtools/dpkg/dpkg/arch_pm.patch  | 12 +++---
 meta/recipes-devtools/dpkg/dpkg/noman.patch|  9 +++--
 meta/recipes-devtools/dpkg/dpkg_1.18.15.bb | 17 
 meta/recipes-devtools/dpkg/dpkg_1.18.7.bb  | 19 -
 7 files changed, 90 insertions(+), 89 deletions(-)
 delete mode 100644 
meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
 create mode 100644 meta/recipes-devtools/dpkg/dpkg/add_armeb_tuple_entry.patch
 create mode 100644 meta/recipes-devtools/dpkg/dpkg_1.18.15.bb
 delete mode 100644 meta/recipes-devtools/dpkg/dpkg_1.18.7.bb

diff --git 
a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
 
b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
index 80504ce..673e3f3 100644
--- 
a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
+++ 
b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
@@ -18,26 +18,31 @@ diff --git a/src/script.c b/src/script.c
 index 3c88be8..ce66a86 100644
 --- a/src/script.c
 +++ b/src/script.c
-@@ -97,43 +97,10 @@ setexecute(const char *path, struct stat *stab)
+@@ -97,48 +97,10 @@
  static const char *
  maintscript_pre_exec(struct command *cmd)
  {
 -  const char *admindir = dpkg_db_get_dir();
--  const char *changedir = fc_script_chrootless ? instdir : "/";
--  size_t instdirl = strlen(instdir);
+-  const char *changedir;
+-  size_t instdirlen = strlen(instdir);
 -
--  if (*instdir && !fc_script_chrootless) {
--  if (strncmp(admindir, instdir, instdirl) != 0)
+-  if (instdirlen > 0 && fc_script_chrootless)
+-  changedir = instdir;
+-  else
+-  changedir = "/";
+-
+-  if (instdirlen > 0 && !fc_script_chrootless) {
+-  if (strncmp(admindir, instdir, instdirlen) != 0)
 -  ohshit(_("admindir must be inside instdir for dpkg to 
work properly"));
--  if (setenv("DPKG_ADMINDIR", admindir + instdirl, 1) < 0)
+-  if (setenv("DPKG_ADMINDIR", admindir + instdirlen, 1) < 0)
 -  ohshite(_("unable to setenv for subprocesses"));
 -  if (setenv("DPKG_ROOT", "", 1) < 0)
 -  ohshite(_("unable to setenv for subprocesses"));
 -
 -  if (chroot(instdir))
 -  ohshite(_("failed to chroot to '%.250s'"), instdir);
-+  if (*instdir) {
-+  setenv("D", instdir, 1);
++   if (*instdir) {
++  setenv("D", instdir, 1);
}
 -  /* Switch to a known good directory to give the maintainer script
 -   * a saner environment, also needed after the chroot(). */
@@ -56,15 +61,12 @@ index 3c88be8..ce66a86 100644
 -args.buf);
 -  varbuf_destroy();
 -  }
--  if (!instdirl || fc_script_chrootless)
+-  if (instdirlen == 0 || fc_script_chrootless)
 -  return cmd->filename;
 -
--  assert(strlen(cmd->filename) >= instdirl);
--  return cmd->filename + instdirl;
+-  assert(strlen(cmd->filename) >= instdirlen);
+-  return cmd->filename + instdirlen;
 +  return cmd->filename;
  }
  
  /**
--- 
-2.1.4
-
diff --git a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch 
b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
deleted file mode 100644
index dc69eb2..000
--- a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Author: Krishnanjanappa, Jagadeesh 

-Date:   Wed Apr 8 18:08:14 2015 +0530
-
-[PATCH] add armeb triplet entry into triplettable.
-
-Cross-compling dpkg application for armeb fails with below error
-during configure task,
-
-(snip)
- configure:23141: checking dpkg cpu type
- configure:23148: result: armeb
- configure:23150: WARNING: armeb not found in cputable
- configure:23162: checking dpkg operating system type
- configure:23169: result: linux-gnueabi
- configure:23171: WARNING: linux-gnueabi not found in ostable
- configure:23183: checking dpkg architecture name
- configure:23189: error: cannot determine host dpkg architecture
--- CUT --
-
-the required combination of "gnueabi-linux-armeb" was not found in
-the triplettable file thereby returning dpkg_arch as
-empty in configure script.
-
-Upstream-Status: Pending
-
-Signed-off-by: Krishnanjanappa, Jagadeesh 

-

- triplettable | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git 

Re: [OE-core] [PATCH][Morty] binutils-2.27.inc: Fix alignment frags for aarch64

2016-12-15 Thread Manjukumar Harthikote Matha
Ping

This has not been added to master, is there something wrong with the patch ?
Please do let me know

Thanks
Manju

> -Original Message-
> From: Khem Raj [mailto:raj.k...@gmail.com]
> Sent: Tuesday, November 22, 2016 2:03 PM
> To: Manjukumar Harthikote Matha
> Cc: Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] [PATCH][Morty] binutils-2.27.inc: Fix alignment frags 
> for
> aarch64
>
> This is ok for master
>
>
> On Nov 22, 2016 1:31 PM, "Manjukumar Matha"  ma...@xilinx.com  > wrote:
>
>
>   There was bug with alignment frags for aarch64 in binutils. This is
>   fixed in master of binutils. This patch backports the fix to binutils
>   2.27 version.
>
>   Signed-off-by: Manjukumar Matha  ma...@xilinx.com  >
>   Signed-off-by: Nathan Rossi   >
>   ---
>meta/recipes-devtools/binutils/binutils-2.27.inc   |   1 +
>...eration-of-alignment-frags-in-code-sectio.patch | 139
> +
>2 files changed, 140 insertions(+)
>create mode 100644 
> meta/recipes-devtools/binutils/binutils/0017-Fix-the-
> generation-of-alignment-frags-in-code-sectio.patch
>
>   diff --git a/meta/recipes-devtools/binutils/binutils-2.27.inc 
> b/meta/recipes-
> devtools/binutils/binutils-2.27.inc
>   index fc81721..90518bf 100644
>   --- a/meta/recipes-devtools/binutils/binutils-2.27.inc
>   +++ b/meta/recipes-devtools/binutils/binutils-2.27.inc
>   @@ -37,6 +37,7 @@ SRC_URI = "\
> file://0015-binutils-mips-gas-pic-relax-linkonce.diff \
> 
> file://0015-Refine-.cfi_sections-check-to-only-consider-compact-.patch
> \
> 
> file://0016-Fix-seg-fault-in-ARM-linker-when-trying-to-parse-a-b.patch \
>   + 
> file://0017-Fix-the-generation-of-alignment-frags-in-code-sectio.patch
> \
>"
>S  = "${WORKDIR}/git"
>
>   diff --git 
> a/meta/recipes-devtools/binutils/binutils/0017-Fix-the-generation-
> of-alignment-frags-in-code-sectio.patch b/meta/recipes-
> devtools/binutils/binutils/0017-Fix-the-generation-of-alignment-frags-in-code-
> sectio.patch
>   new file mode 100644
>   index 000..f8b46be
>   --- /dev/null
>   +++ 
> b/meta/recipes-devtools/binutils/binutils/0017-Fix-the-generation-of-
> alignment-frags-in-code-sectio.patch
>   @@ -0,0 +1,139 @@
>   +From 4a4286465b5d6c28968bc2b29ae08daca7f219a3 Mon Sep 17
> 00:00:00 2001
>   +From: Nick Clifton  >
>   +Date: Fri, 18 Nov 2016 11:42:48 -0800
>   +Subject: [PATCH] Fix the generation of alignment frags in code 
> sections for
> AArch64.
>   +
>   +PR gas/20364
>   +* config/tc-aarch64.c (s_ltorg): Change the mapping state after
>   +aligning the frag.
>   +(aarch64_init): Treat rs_align frags in code sections as
>   +containing code, not data.
>   +* testsuite/gas/aarch64/pr20364.s: New test.
>   +* testsuite/gas/aarch64/pr20364.d: New test driver.
>   +
>   +Backporting the patch from binutils mainline
>   +https://sourceware.org/git/gitweb.cgi?p=binutils-
> gdb.git;h=7ea12e5c3ad54da440c08f32da09534e63e515ca
>  gdb.git;h=7ea12e5c3ad54da440c08f32da09534e63e515ca>
>   +
>   +Upstream-Status: Backport
>   +
>   +Signed-off-by: Manjukumar Matha  ma...@xilinx.com  >
>   +---
>   + gas/ChangeLog   | 10 ++
>   + gas/config/tc-aarch64.c | 10 +++---
>   + gas/testsuite/gas/aarch64/pr20364.d | 13 +
>   + gas/testsuite/gas/aarch64/pr20364.s | 28
> 
>   + 4 files changed, 58 insertions(+), 3 deletions(-)
>   + create mode 100644 gas/testsuite/gas/aarch64/pr20364.d
>   + create mode 100644 gas/testsuite/gas/aarch64/pr20364.s
>   +
>   +diff --git a/gas/ChangeLog b/gas/ChangeLog
>   +index a39895a..fad06dc 100644
>   +--- a/gas/ChangeLog
>    b/gas/ChangeLog
>   +@@ -1,3 +1,13 @@
>   ++2016-08-05  Nick Clifton    >
>   ++
>   ++  PR gas/20364
>   ++  * config/tc-aarch64.c (s_ltorg): Change the mapping state after
>   ++  aligning the frag.
>   ++  (aarch64_init): Treat rs_align frags in code sections as
>   ++  containing code, not data.
>   ++  * testsuite/gas/aarch64/pr20364.s: New test.
>   ++  * testsuite/gas/aarch64/pr20364.d: New test driver.
>   ++
>   + 2016-08-03  Tristan Gingold    >
>   +
>   +   * configure: Regenerate.
>   +diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
>   +index 

Re: [OE-core] [PATCH] libxml2: Security fix CVE-2016-5131

2016-12-15 Thread Yi Zhao



在 2016年12月16日 03:01, Ahsan, Noor 写道:

Can we have this patch merged on morty branch?

Yes

//Yi



Noor

-Original Message-
From: openembedded-core-boun...@lists.openembedded.org 
[mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Yi Zhao
Sent: Monday, November 28, 2016 2:56 PM
To: openembedded-core@lists.openembedded.org
Subject: [OE-core] [PATCH] libxml2: Security fix CVE-2016-5131

CVE-2016-5131 libxml2: Use-after-free vulnerability in libxml2 through 2.9.4, 
as used in Google Chrome before 52.0.2743.82, allows remote attackers to cause 
a denial of service or possibly have unspecified other impact via vectors 
related to the XPointer range-to function.

External References:
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-5131

Patch from:
https://git.gnome.org/browse/libxml2/commit/?id=9ab01a277d71f54d3143c2cf333c5c2e9aaedd9e

Signed-off-by: Yi Zhao 
---
  .../libxml/libxml2/libxml2-CVE-2016-5131.patch | 180 +
  meta/recipes-core/libxml/libxml2_2.9.4.bb  |   1 +
  2 files changed, 181 insertions(+)
  create mode 100644 
meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-5131.patch

diff --git a/meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-5131.patch 
b/meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-5131.patch
new file mode 100644
index 000..9d47d02
--- /dev/null
+++ b/meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-5131.patch
@@ -0,0 +1,180 @@
+From 9ab01a277d71f54d3143c2cf333c5c2e9aaedd9e Mon Sep 17 00:00:00 2001
+From: Nick Wellnhofer 
+Date: Tue, 28 Jun 2016 14:22:23 +0200
+Subject: [PATCH] Fix XPointer paths beginning with range-to
+
+The old code would invoke the broken xmlXPtrRangeToFunction. range-to
+isn't really a function but a special kind of location step. Remove
+this function and always handle range-to in the XPath code.
+
+The old xmlXPtrRangeToFunction could also be abused to trigger a
+use-after-free error with the potential for remote code execution.
+
+Found with afl-fuzz.
+
+Fixes CVE-2016-5131.
+
+CVE: CVE-2016-5131
+Upstream-Status: Backport
+https://git.gnome.org/browse/libxml2/commit/?id=9ab01a277d71f54d3143c2c
+f333c5c2e9aaedd9e
+
+Signed-off-by: Yi Zhao 
+---
+ result/XPath/xptr/vidbase | 13 
+ test/XPath/xptr/vidbase   |  1 +
+ xpath.c   |  7 -
+ xpointer.c| 76 ---
+ 4 files changed, 26 insertions(+), 71 deletions(-)
+
+diff --git a/result/XPath/xptr/vidbase b/result/XPath/xptr/vidbase
+index 8b9e92d..f19193e 100644
+--- a/result/XPath/xptr/vidbase
 b/result/XPath/xptr/vidbase
+@@ -17,3 +17,16 @@ Object is a Location Set:
+   To node
+ ELEMENT p
+
++
++
++Expression: xpointer(range-to(id('chapter2')))
++Object is a Location Set:
++1 :   Object is a range :
++  From node
++ /
++  To node
++ELEMENT chapter
++  ATTRIBUTE id
++TEXT
++  content=chapter2
++
+diff --git a/test/XPath/xptr/vidbase b/test/XPath/xptr/vidbase index
+b146383..884b106 100644
+--- a/test/XPath/xptr/vidbase
 b/test/XPath/xptr/vidbase
+@@ -1,2 +1,3 @@
+ xpointer(id('chapter1')/p)
+ xpointer(id('chapter1')/p[1]/range-to(following-sibling::p[2]))
++xpointer(range-to(id('chapter2')))
+diff --git a/xpath.c b/xpath.c
+index d992841..5a01b1b 100644
+--- a/xpath.c
 b/xpath.c
+@@ -10691,13 +10691,18 @@ xmlXPathCompPathExpr(xmlXPathParserContextPtr ctxt) {
+   lc = 1;
+   break;
+   } else if ((NXT(len) == '(')) {
+-  /* Note Type or Function */
++  /* Node Type or Function */
+   if (xmlXPathIsNodeType(name)) {
+ #ifdef DEBUG_STEP
+   xmlGenericError(xmlGenericErrorContext,
+   "PathExpr: Type search\n");
+ #endif
+   lc = 1;
++#ifdef LIBXML_XPTR_ENABLED
++} else if (ctxt->xptr &&
++   xmlStrEqual(name, BAD_CAST "range-to")) {
++lc = 1;
++#endif
+   } else {
+ #ifdef DEBUG_STEP
+   xmlGenericError(xmlGenericErrorContext,
+diff --git a/xpointer.c b/xpointer.c
+index 676c510..d74174a 100644
+--- a/xpointer.c
 b/xpointer.c
+@@ -1332,8 +1332,6 @@ xmlXPtrNewContext(xmlDocPtr doc, xmlNodePtr here, 
xmlNodePtr origin) {
+ ret->here = here;
+ ret->origin = origin;
+
+-xmlXPathRegisterFunc(ret, (xmlChar *)"range-to",
+-   xmlXPtrRangeToFunction);
+ xmlXPathRegisterFunc(ret, (xmlChar *)"range",
+xmlXPtrRangeFunction);
+ xmlXPathRegisterFunc(ret, (xmlChar *)"range-inside", @@ -2243,76
++2241,14 @@ xmlXPtrRangeInsideFunction(xmlXPathParserContextPtr ctxt,
+int nargs) {
+  * @nargs:  the number of args
+  *
+  * Implement the range-to() XPointer function
++ *
++ * Obsolete. range-to is not a real 

[OE-core] [PATCH v2] python*-git: Upgrade to version 2.1.1

2016-12-15 Thread Jose Lamego
Both python-git and python3-git need to be upgraded to latest upstream
version.
This change includes python3 dependencies added and was tested
using qemux86 with core-image-sato.

Signed-off-by: Jose Lamego 
---

Notes:
Changes in patch v2: python3 dependencies added

 meta/recipes-devtools/python/python-git.inc   | 4 ++--
 .../python/{python-git_2.1.0.bb => python-git_2.1.1.bb}   | 0
 .../python/{python3-git_2.1.0.bb => python3-git_2.1.1.bb} | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python-git_2.1.0.bb => 
python-git_2.1.1.bb} (100%)
 rename meta/recipes-devtools/python/{python3-git_2.1.0.bb => 
python3-git_2.1.1.bb} (82%)

diff --git a/meta/recipes-devtools/python/python-git.inc 
b/meta/recipes-devtools/python/python-git.inc
index ad41561..feddf27 100644
--- a/meta/recipes-devtools/python/python-git.inc
+++ b/meta/recipes-devtools/python/python-git.inc
@@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=8b8d26c37c1d5a04f9b0186edbebc183"
 
 SRC_URI = 
"https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-${PV}.tar.gz;
 
-SRC_URI[md5sum] = "29b1fcf504d080dc7a5e630957e829d7"
-SRC_URI[sha256sum] = 
"3ebda1e6ff1ef68597e41dcd1b99c2a5ae902f4dc2b22ad3533cc89c32b42aad"
+SRC_URI[md5sum] = "77f8339e68dedb6d7c4e26371a588ed9"
+SRC_URI[sha256sum] = 
"e96f8e953cf9fee0a7599fc587667591328760b6341a0081ef311a942fc96204"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/GitPython/;
 UPSTREAM_CHECK_REGEX = "/GitPython/(?P(\d+[\.\-_]*)+)"
diff --git a/meta/recipes-devtools/python/python-git_2.1.0.bb 
b/meta/recipes-devtools/python/python-git_2.1.1.bb
similarity index 100%
rename from meta/recipes-devtools/python/python-git_2.1.0.bb
rename to meta/recipes-devtools/python/python-git_2.1.1.bb
diff --git a/meta/recipes-devtools/python/python3-git_2.1.0.bb 
b/meta/recipes-devtools/python/python3-git_2.1.1.bb
similarity index 82%
rename from meta/recipes-devtools/python/python3-git_2.1.0.bb
rename to meta/recipes-devtools/python/python3-git_2.1.1.bb
index c9fe9ba..7a2d452 100644
--- a/meta/recipes-devtools/python/python3-git_2.1.0.bb
+++ b/meta/recipes-devtools/python/python3-git_2.1.1.bb
@@ -4,4 +4,4 @@ DEPENDS = "python3-gitdb"
 
 inherit setuptools3
 
-RDEPENDS_${PN} += "python3-gitdb python3-lang python3-io python3-shell 
python3-math python3-re python3-subprocess python3-stringold python3-unixadmin 
python3-enum python3-logging python3-datetime python3-netclient"
+RDEPENDS_${PN} += "python3-gitdb python3-lang python3-io python3-shell 
python3-math python3-re python3-subprocess python3-stringold python3-unixadmin 
python3-enum python3-logging python3-datetime python3-netclient 
python3-unittest python3-argparse"
-- 
1.9.1

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


[OE-core] [PATCH] pcmanfm: upgrading to 1.2.5

2016-12-15 Thread Edwin Plauchu
From: Edwin Plauchu 

Signed-off-by: Edwin Plauchu 
---
 meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb | 43 --
 meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb | 43 ++
 2 files changed, 43 insertions(+), 43 deletions(-)
 delete mode 100644 meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb
 create mode 100644 meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb

diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb 
b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb
deleted file mode 100644
index a6bf213..000
--- a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb
+++ /dev/null
@@ -1,43 +0,0 @@
-SUMMARY = "Fast lightweight tabbed filemanager"
-HOMEPAGE = "http://pcmanfm.sourceforge.net/;
-
-LICENSE = "GPLv2 & GPLv2+ & LGPLv2.1+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
-
file://src/pcmanfm.h;endline=22;md5=417b3855771a3a87f8ad753d994491f0 \
-
file://src/gseal-gtk-compat.h;endline=21;md5=46922c8691f58d124f9420fe16149ce2"
-
-SECTION = "x11"
-DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native"
-
-
-COMPATIBLE_HOST = 
'(x86_64.*|i.86.*|aarch64.*|arm.*|mips.*|powerpc.*|sh.*)-(linux|freebsd.*)'
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \
-  file://gnome-fs-directory.png \
-  file://gnome-fs-regular.png \
-  file://gnome-mime-text-plain.png \
-  file://emblem-symbolic-link.png \
-  file://no-desktop.patch"
-
-SRC_URI[md5sum] = "19764c2f59653724c8713e0064fa6829"
-SRC_URI[sha256sum] = 
"38cdbb5f01d24483b41b8e6846e4aa66a5751bb3982a8618899e88a853dbe313"
-
-UPSTREAM_CHECK_URI = 
"http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/;
-
-inherit autotools pkgconfig distro_features_check
-
-# The startup-notification requires x11 in DISTRO_FEATURES
-REQUIRED_DISTRO_FEATURES = "x11"
-
-EXTRA_OECONF = "--with-gtk=3"
-
-do_install_append () {
-   install -d ${D}/${datadir}
-   install -d ${D}/${datadir}/pixmaps/
-
-   install -m 0644 ${WORKDIR}/*.png ${D}/${datadir}/pixmaps
-}
-
-FILES_${PN} += "${libdir}/pcmanfm"
-
-RRECOMMENDS_${PN} += "adwaita-icon-theme"
diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb 
b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb
new file mode 100644
index 000..aab7911
--- /dev/null
+++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb
@@ -0,0 +1,43 @@
+SUMMARY = "Fast lightweight tabbed filemanager"
+HOMEPAGE = "http://pcmanfm.sourceforge.net/;
+
+LICENSE = "GPLv2 & GPLv2+ & LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
+
file://src/pcmanfm.h;endline=22;md5=417b3855771a3a87f8ad753d994491f0 \
+
file://src/gseal-gtk-compat.h;endline=21;md5=46922c8691f58d124f9420fe16149ce2"
+
+SECTION = "x11"
+DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native"
+
+
+COMPATIBLE_HOST = 
'(x86_64.*|i.86.*|aarch64.*|arm.*|mips.*|powerpc.*|sh.*)-(linux|freebsd.*)'
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \
+  file://gnome-fs-directory.png \
+  file://gnome-fs-regular.png \
+  file://gnome-mime-text-plain.png \
+  file://emblem-symbolic-link.png \
+  file://no-desktop.patch"
+
+SRC_URI[md5sum] = "b4d1f8ce08d87e4f27805a246fc51ac2"
+SRC_URI[sha256sum] = 
"0c86cac028b705ff314c7464d814c2cf7ff604c17491c20aa204b1ef1a80ad67"
+
+UPSTREAM_CHECK_URI = 
"http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/;
+
+inherit autotools pkgconfig distro_features_check
+
+# The startup-notification requires x11 in DISTRO_FEATURES
+REQUIRED_DISTRO_FEATURES = "x11"
+
+EXTRA_OECONF = "--with-gtk=3"
+
+do_install_append () {
+   install -d ${D}/${datadir}
+   install -d ${D}/${datadir}/pixmaps/
+
+   install -m 0644 ${WORKDIR}/*.png ${D}/${datadir}/pixmaps
+}
+
+FILES_${PN} += "${libdir}/pcmanfm"
+
+RRECOMMENDS_${PN} += "adwaita-icon-theme"
-- 
2.1.4

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


[OE-core] [PATCH 0/1] devtool: modify: fix usage on the kernel

2016-12-15 Thread Paul Eggleton
Fix for a regression caused by my tinfoil2 changes.


The following changes since commit 91f856426c7523e1ebdf6d6f93f5fa7e509d6e49:

  oeqa/utils/commands.py: Fix get_bb_vars() when called without arguments 
(2016-12-14 16:14:59 +)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib 
paule/devtool-tinfoil2-fix
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/devtool-tinfoil2-fix

Paul Eggleton (1):
  devtool: modify: fix usage on the kernel

 scripts/lib/devtool/standard.py | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.5.5

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


[OE-core] [PATCH 1/1] devtool: modify: fix usage on the kernel

2016-12-15 Thread Paul Eggleton
When using devtool modify on the kernel, we have to do a bit of a dance
with tinfoil instances because we only find out that we're working on a
kernel recipe after tinfoil is initialised, but then we need to build
kern-tools-native which we're doing just by running bitbake directly.
With the tinfoil2 changes, a datastore for the recipe that we were
keeping around across the opening and closing of tinfoil is no longer
able to be used. Re-parse the recipe to avoid this problem.

(In future this whole thing will be able to be done in the same tinfoil
instance thanks to tinfoil2, but that refactoring is yet to be done.)

Signed-off-by: Paul Eggleton 
---
 scripts/lib/devtool/standard.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index c52b006..793fdaf 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -746,6 +746,8 @@ def modify(args, config, basepath, workspace):
 if not tinfoil:
 # Error already shown
 return 1
+# We need to re-parse because tinfoil may have been re-initialised
+rd = parse_recipe(config, tinfoil, args.recipename, True)
 
 recipefile = rd.getVar('FILE', True)
 appendfile = recipe_to_append(recipefile, config, args.wildcard)
-- 
2.5.5

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


Re: [OE-core] [PATCH v2 11/13] selftest: sstatetests: skip methods in case of poky-tiny or opengl is missing

2016-12-15 Thread Leonardo Sandoval



On 12/13/2016 09:25 AM, Burton, Ross wrote:
On 24 November 2016 at 20:58, 
> wrote:


diff --git a/meta/lib/oeqa/selftest/sstatetests.py
b/meta/lib/oeqa/selftest/sstatetests.py
index 6642539..8ea3932 100644
--- a/meta/lib/oeqa/selftest/sstatetests.py
+++ b/meta/lib/oeqa/selftest/sstatetests.py
@@ -42,20 +42,36 @@ class SStateTests(SStateBase):
 @testcase(975)
 def test_sstate_creation_distro_specific_pass(self):
 targetarch = get_bb_var('TUNE_ARCH')
-self.run_test_sstate_creation(['binutils-cross-'+
targetarch, 'binutils-native'], distro_specific=True,
distro_nonspecific=False, temp_sstate_location=True)
+# Execute the test in all distros expect poky-tiny where
glibc-initial is not provided
+targets = ['binutils-cross-'+ targetarch, 'binutils-native']
+if self.distro == 'poky-tiny':
+self.skipTest('Distro %s does not support building
the following targets %s' % (self.distro, ','.join(targets)))
+self.run_test_sstate_creation(targets,
distro_specific=True, distro_nonspecific=False,
temp_sstate_location=True)


Sounds like it would be easier to just remove glibc-initial from that 
list, and either remove it entirely or replace it with a virtual name 
that both glibc and musl provide.

Ok


@@ -228,6 +255,8 @@ class SStateTests(SStateBase):
 build machines and running a builds, override the
variables calling uname()
 manually and check using bitbake -S.
 """
+if self.distro == 'poky-tiny':
+self.skipTest('core-image-sato not buildable for
poky-tiny')

 topdir = get_bb_var('TOPDIR')
 targetvendor = get_bb_var('TARGET_VENDOR')


For all of these tests that just do bitbake -S core-image-sato, if 
world works then that is more flexible and more comprehensive.




Agree. Sending v3 soon.



Ross


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


[OE-core] [PATCH] wic: obey the rootfs size from the metadata

2016-12-15 Thread Christopher Larson
From: Christopher Larson 

When no --size is specified for the rootfs in the .wks, we want to obey the
rootfs size from the metadata, otherwise the defined IMAGE_ROOTFS_EXTRA_SPACE
and IMAGE_OVERHEAD_FACTOR will not be obeyed. In some cases, this can result
in image construction failure, if the size determined by du was insufficient
to hold the files without the aforementioned extra space.

This fallback from --size to ROOTFS_SIZE was already implemented when
--rootfs-dir is specified in the .wks, but it did not occur otherwise, neither
when --rootfs-dir= was passed to `wic create` nor when IMAGE_ROOTFS was used.
This made a certain amount of sense, as this fallback logic happened at such
a level that it wasn't able to identify which partitions were rootfs
partitions otherwise. Rather than doing it at that level, we can do it in
prepare_rootfs(), which is run by the rootfs source plugins.

Note that IMAGE_OVERHEAD_FACTOR and a --overhead-factor in the .wks will now
both be applied when --size isn't specified in the .wks. A warning is added
about this, though a user won't see it unless wic fails or they examine the
do_image_wic log.

Fixes [YOCTO #10815]

Signed-off-by: Christopher Larson 
---
 scripts/lib/wic/partition.py | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index ac4c836..b191cde 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -28,7 +28,7 @@ import os
 import tempfile
 
 from wic.utils.oe.misc import msger, parse_sourceparams
-from wic.utils.oe.misc import exec_cmd, exec_native_cmd
+from wic.utils.oe.misc import exec_cmd, exec_native_cmd, get_bitbake_var
 from wic.plugin import pluginmgr
 
 partition_methods = {
@@ -194,6 +194,17 @@ class Partition():
 msger.error("File system for partition %s not specified in 
kickstart, " \
 "use --fstype option" % (self.mountpoint))
 
+# Get rootfs size from bitbake variable if it's not set in .ks file
+if not self.size:
+# Bitbake variable ROOTFS_SIZE is calculated in
+# Image._get_rootfs_size method from meta/lib/oe/image.py
+# using IMAGE_ROOTFS_SIZE, IMAGE_ROOTFS_ALIGNMENT,
+# IMAGE_OVERHEAD_FACTOR and IMAGE_ROOTFS_EXTRA_SPACE
+rsize_bb = get_bitbake_var('ROOTFS_SIZE')
+if rsize_bb:
+msger.warning('overhead-factor was specified, but size was 
not, so bitbake variables will be used for the size. In this case both 
IMAGE_OVERHEAD_FACTOR and --overhead-factor will be applied')
+self.size = int(round(float(rsize_bb)))
+
 for prefix in ("ext", "btrfs", "vfat", "squashfs"):
 if self.fstype.startswith(prefix):
 method = getattr(self, "prepare_rootfs_" + prefix)
-- 
2.8.0

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


Re: [OE-core] [PATCH 2/3] libxml2: fix CVE-2016-4658 Disallow namespace nodes in XPointer points and ranges

2016-12-15 Thread Burton, Ross
On 15 December 2016 at 19:05, Ahsan, Noor  wrote:

> Can we merge this on morty branch as well?
>

Yes, if you ping the morty maintainer.

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


Re: [OE-core] [PATCH 2/3] libxml2: fix CVE-2016-4658 Disallow namespace nodes in XPointer points and ranges

2016-12-15 Thread Ahsan, Noor
Can we merge this on morty branch as well?

Noor

-Original Message-
From: openembedded-core-boun...@lists.openembedded.org 
[mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Andrej 
Valek
Sent: Monday, December 12, 2016 6:20 PM
To: openembedded-core@lists.openembedded.org
Subject: [OE-core] [PATCH 2/3] libxml2: fix CVE-2016-4658 Disallow namespace 
nodes in XPointer points and ranges

Namespace nodes must be copied to avoid use-after-free errors.
But they don't necessarily have a physical representation in a document, so 
simply disallow them in XPointer ranges.

Signed-off-by: Andrej Valek 
Signed-off-by: Pascal Bach 
---
 .../libxml/libxml2/libxml2-CVE-2016-4658.patch | 269 +
 meta/recipes-core/libxml/libxml2_2.9.4.bb  |   1 +
 2 files changed, 270 insertions(+)
 create mode 100644 meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-4658.patch

diff --git a/meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-4658.patch 
b/meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-4658.patch
new file mode 100644
index 000..5412e8c
--- /dev/null
+++ b/meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-4658.patch
@@ -0,0 +1,269 @@
+libxml2-2.9.4: Fix CVE-2016-4658
+
+[No upstream tracking] -- 
+https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-4658
+
+xpointer: Disallow namespace nodes in XPointer points and ranges
+
+Namespace nodes must be copied to avoid use-after-free errors.
+But they don't necessarily have a physical representation in a 
+document, so simply disallow them in XPointer ranges.
+
+Upstream-Status: Backported
+ - 
+[https://git.gnome.org/browse/libxml2/commit/?id=c1d1f7121194036608bf55
+5f08d3062a36fd344b]
+ - 
+[https://git.gnome.org/browse/libxml2/commit/?id=3f8a91036d338e51c059d5
+4397a42d645f019c65]
+CVE: CVE-2016-4658
+Signed-off-by: Andrej Valek 
+Signed-off-by: Pascal Bach 
+
+diff --git a/xpointer.c b/xpointer.c
+index 676c510..911680d 100644
+--- a/xpointer.c
 b/xpointer.c
+@@ -320,6 +320,45 @@ xmlXPtrRangesEqual(xmlXPathObjectPtr range1, 
+xmlXPathObjectPtr range2) {  }
+ 
+ /**
++ * xmlXPtrNewRangeInternal:
++ * @start:  the starting node
++ * @startindex:  the start index
++ * @end:  the ending point
++ * @endindex:  the ending index
++ *
++ * Internal function to create a new xmlXPathObjectPtr of type range
++ *
++ * Returns the newly created object.
++ */
++static xmlXPathObjectPtr
++xmlXPtrNewRangeInternal(xmlNodePtr start, int startindex,
++xmlNodePtr end, int endindex) {
++xmlXPathObjectPtr ret;
++
++/*
++ * Namespace nodes must be copied (see xmlXPathNodeSetDupNs).
++ * Disallow them for now.
++ */
++if ((start != NULL) && (start->type == XML_NAMESPACE_DECL))
++  return(NULL);
++if ((end != NULL) && (end->type == XML_NAMESPACE_DECL))
++  return(NULL);
++
++ret = (xmlXPathObjectPtr) xmlMalloc(sizeof(xmlXPathObject));
++if (ret == NULL) {
++xmlXPtrErrMemory("allocating range");
++  return(NULL);
++}
++memset(ret, 0, sizeof(xmlXPathObject));
++ret->type = XPATH_RANGE;
++ret->user = start;
++ret->index = startindex;
++ret->user2 = end;
++ret->index2 = endindex;
++return(ret);
++}
++
++/**
+  * xmlXPtrNewRange:
+  * @start:  the starting node
+  * @startindex:  the start index
+@@ -344,17 +383,7 @@ xmlXPtrNewRange(xmlNodePtr start, int startindex,
+ if (endindex < 0)
+   return(NULL);
+ 
+-ret = (xmlXPathObjectPtr) xmlMalloc(sizeof(xmlXPathObject));
+-if (ret == NULL) {
+-xmlXPtrErrMemory("allocating range");
+-  return(NULL);
+-}
+-memset(ret, 0 , (size_t) sizeof(xmlXPathObject));
+-ret->type = XPATH_RANGE;
+-ret->user = start;
+-ret->index = startindex;
+-ret->user2 = end;
+-ret->index2 = endindex;
++ret = xmlXPtrNewRangeInternal(start, startindex, end, endindex);
+ xmlXPtrRangeCheckOrder(ret);
+ return(ret);
+ }
+@@ -381,17 +410,8 @@ xmlXPtrNewRangePoints(xmlXPathObjectPtr start, 
xmlXPathObjectPtr end) {
+ if (end->type != XPATH_POINT)
+   return(NULL);
+ 
+-ret = (xmlXPathObjectPtr) xmlMalloc(sizeof(xmlXPathObject));
+-if (ret == NULL) {
+-xmlXPtrErrMemory("allocating range");
+-  return(NULL);
+-}
+-memset(ret, 0 , (size_t) sizeof(xmlXPathObject));
+-ret->type = XPATH_RANGE;
+-ret->user = start->user;
+-ret->index = start->index;
+-ret->user2 = end->user;
+-ret->index2 = end->index;
++ret = xmlXPtrNewRangeInternal(start->user, start->index, end->user,
++end->index);
+ xmlXPtrRangeCheckOrder(ret);
+ return(ret);
+ }
+@@ -416,17 +436,7 @@ xmlXPtrNewRangePointNode(xmlXPathObjectPtr start, 
xmlNodePtr end) {
+ if (start->type != XPATH_POINT)
+   return(NULL);
+ 
+-ret = (xmlXPathObjectPtr) xmlMalloc(sizeof(xmlXPathObject));
+-   

Re: [OE-core] [PATCH] libxml2: Security fix CVE-2016-5131

2016-12-15 Thread Ahsan, Noor
Can we have this patch merged on morty branch?

Noor

-Original Message-
From: openembedded-core-boun...@lists.openembedded.org 
[mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Yi Zhao
Sent: Monday, November 28, 2016 2:56 PM
To: openembedded-core@lists.openembedded.org
Subject: [OE-core] [PATCH] libxml2: Security fix CVE-2016-5131

CVE-2016-5131 libxml2: Use-after-free vulnerability in libxml2 through 2.9.4, 
as used in Google Chrome before 52.0.2743.82, allows remote attackers to cause 
a denial of service or possibly have unspecified other impact via vectors 
related to the XPointer range-to function.

External References:
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-5131

Patch from:
https://git.gnome.org/browse/libxml2/commit/?id=9ab01a277d71f54d3143c2cf333c5c2e9aaedd9e

Signed-off-by: Yi Zhao 
---
 .../libxml/libxml2/libxml2-CVE-2016-5131.patch | 180 +
 meta/recipes-core/libxml/libxml2_2.9.4.bb  |   1 +
 2 files changed, 181 insertions(+)
 create mode 100644 meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-5131.patch

diff --git a/meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-5131.patch 
b/meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-5131.patch
new file mode 100644
index 000..9d47d02
--- /dev/null
+++ b/meta/recipes-core/libxml/libxml2/libxml2-CVE-2016-5131.patch
@@ -0,0 +1,180 @@
+From 9ab01a277d71f54d3143c2cf333c5c2e9aaedd9e Mon Sep 17 00:00:00 2001
+From: Nick Wellnhofer 
+Date: Tue, 28 Jun 2016 14:22:23 +0200
+Subject: [PATCH] Fix XPointer paths beginning with range-to
+
+The old code would invoke the broken xmlXPtrRangeToFunction. range-to 
+isn't really a function but a special kind of location step. Remove 
+this function and always handle range-to in the XPath code.
+
+The old xmlXPtrRangeToFunction could also be abused to trigger a 
+use-after-free error with the potential for remote code execution.
+
+Found with afl-fuzz.
+
+Fixes CVE-2016-5131.
+
+CVE: CVE-2016-5131
+Upstream-Status: Backport
+https://git.gnome.org/browse/libxml2/commit/?id=9ab01a277d71f54d3143c2c
+f333c5c2e9aaedd9e
+
+Signed-off-by: Yi Zhao 
+---
+ result/XPath/xptr/vidbase | 13 
+ test/XPath/xptr/vidbase   |  1 +
+ xpath.c   |  7 -
+ xpointer.c| 76 ---
+ 4 files changed, 26 insertions(+), 71 deletions(-)
+
+diff --git a/result/XPath/xptr/vidbase b/result/XPath/xptr/vidbase 
+index 8b9e92d..f19193e 100644
+--- a/result/XPath/xptr/vidbase
 b/result/XPath/xptr/vidbase
+@@ -17,3 +17,16 @@ Object is a Location Set:
+   To node
+ ELEMENT p
+ 
++
++
++Expression: xpointer(range-to(id('chapter2')))
++Object is a Location Set:
++1 :   Object is a range :
++  From node
++ /
++  To node
++ELEMENT chapter
++  ATTRIBUTE id
++TEXT
++  content=chapter2
++
+diff --git a/test/XPath/xptr/vidbase b/test/XPath/xptr/vidbase index 
+b146383..884b106 100644
+--- a/test/XPath/xptr/vidbase
 b/test/XPath/xptr/vidbase
+@@ -1,2 +1,3 @@
+ xpointer(id('chapter1')/p)
+ xpointer(id('chapter1')/p[1]/range-to(following-sibling::p[2]))
++xpointer(range-to(id('chapter2')))
+diff --git a/xpath.c b/xpath.c
+index d992841..5a01b1b 100644
+--- a/xpath.c
 b/xpath.c
+@@ -10691,13 +10691,18 @@ xmlXPathCompPathExpr(xmlXPathParserContextPtr ctxt) {
+   lc = 1;
+   break;
+   } else if ((NXT(len) == '(')) {
+-  /* Note Type or Function */
++  /* Node Type or Function */
+   if (xmlXPathIsNodeType(name)) {
+ #ifdef DEBUG_STEP
+   xmlGenericError(xmlGenericErrorContext,
+   "PathExpr: Type search\n");
+ #endif
+   lc = 1;
++#ifdef LIBXML_XPTR_ENABLED
++} else if (ctxt->xptr &&
++   xmlStrEqual(name, BAD_CAST "range-to")) {
++lc = 1;
++#endif
+   } else {
+ #ifdef DEBUG_STEP
+   xmlGenericError(xmlGenericErrorContext,
+diff --git a/xpointer.c b/xpointer.c
+index 676c510..d74174a 100644
+--- a/xpointer.c
 b/xpointer.c
+@@ -1332,8 +1332,6 @@ xmlXPtrNewContext(xmlDocPtr doc, xmlNodePtr here, 
xmlNodePtr origin) {
+ ret->here = here;
+ ret->origin = origin;
+ 
+-xmlXPathRegisterFunc(ret, (xmlChar *)"range-to",
+-   xmlXPtrRangeToFunction);
+ xmlXPathRegisterFunc(ret, (xmlChar *)"range",
+xmlXPtrRangeFunction);
+ xmlXPathRegisterFunc(ret, (xmlChar *)"range-inside", @@ -2243,76 
++2241,14 @@ xmlXPtrRangeInsideFunction(xmlXPathParserContextPtr ctxt, 
+int nargs) {
+  * @nargs:  the number of args
+  *
+  * Implement the range-to() XPointer function
++ *
++ * Obsolete. range-to is not a real function but a special type of 
++ location
++ * 

[OE-core] [PATCH V2] python3-setuptools: upgrade to 31.0.0

2016-12-15 Thread Edwin Plauchu
From: Edwin Plauchu 

It is a simultaneous upgrade for python 2 and 3 over setuptools.

Signed-off-by: Edwin Plauchu 
---
 meta/recipes-devtools/python/python-setuptools.inc |  4 +--
 .../python/python-setuptools_29.0.1.bb | 38 --
 .../python/python-setuptools_31.0.0.bb | 38 ++
 .../python/python3-setuptools_29.0.1.bb| 37 -
 .../python/python3-setuptools_31.0.0.bb| 37 +
 5 files changed, 77 insertions(+), 77 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-setuptools_29.0.1.bb
 create mode 100644 meta/recipes-devtools/python/python-setuptools_31.0.0.bb
 delete mode 100644 meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-setuptools_31.0.0.bb

diff --git a/meta/recipes-devtools/python/python-setuptools.inc 
b/meta/recipes-devtools/python/python-setuptools.inc
index e76484a..858595c 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -9,8 +9,8 @@ SRCNAME = "setuptools"
 
 SRC_URI = 
"https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz;
 
-SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324"
-SRC_URI[sha256sum] = 
"b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0"
+SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e"
+SRC_URI[sha256sum] = 
"0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools;
 
diff --git a/meta/recipes-devtools/python/python-setuptools_29.0.1.bb 
b/meta/recipes-devtools/python/python-setuptools_29.0.1.bb
deleted file mode 100644
index 526474c..000
--- a/meta/recipes-devtools/python/python-setuptools_29.0.1.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-require python-setuptools.inc
-
-PROVIDES = "python-distribute"
-
-DEPENDS += "python"
-DEPENDS_class-native += "python-native"
-
-inherit distutils
-
-DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
-
-RDEPENDS_${PN} = "\
-  python-stringold \
-  python-email \
-  python-shell \
-  python-distutils \
-  python-compression \
-  python-pkgutil \
-  python-plistlib \
-  python-numbers \
-  python-html \
-  python-netserver \
-  python-ctypes \
-  python-subprocess \
-  python-unittest \
-  python-compile \
-"
-
-RDEPENDS_${PN}_class-native = "\
-  python-distutils \
-  python-compression \
-"
-
-RREPLACES_${PN} = "python-distribute"
-RPROVIDES_${PN} = "python-distribute"
-RCONFLICTS_${PN} = "python-distribute"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python-setuptools_31.0.0.bb 
b/meta/recipes-devtools/python/python-setuptools_31.0.0.bb
new file mode 100644
index 000..526474c
--- /dev/null
+++ b/meta/recipes-devtools/python/python-setuptools_31.0.0.bb
@@ -0,0 +1,38 @@
+require python-setuptools.inc
+
+PROVIDES = "python-distribute"
+
+DEPENDS += "python"
+DEPENDS_class-native += "python-native"
+
+inherit distutils
+
+DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
+
+RDEPENDS_${PN} = "\
+  python-stringold \
+  python-email \
+  python-shell \
+  python-distutils \
+  python-compression \
+  python-pkgutil \
+  python-plistlib \
+  python-numbers \
+  python-html \
+  python-netserver \
+  python-ctypes \
+  python-subprocess \
+  python-unittest \
+  python-compile \
+"
+
+RDEPENDS_${PN}_class-native = "\
+  python-distutils \
+  python-compression \
+"
+
+RREPLACES_${PN} = "python-distribute"
+RPROVIDES_${PN} = "python-distribute"
+RCONFLICTS_${PN} = "python-distribute"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb 
b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
deleted file mode 100644
index 65af6f0..000
--- a/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-require python-setuptools.inc
-
-DEPENDS += "python3"
-DEPENDS_class-native += "python3-native"
-
-inherit distutils3
-
-DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
-
-# The installer puts the wrong path in the setuptools.pth file.  Correct it.
-do_install_append() {
-rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
-mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
-echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > 
${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
-}
-
-RDEPENDS_${PN} = "\
-  python3-distutils \
-  python3-compression \
-"
-RDEPENDS_${PN}_class-target = "\
-  python3-ctypes \
-  python3-distutils \
-  python3-email \
-  python3-importlib \
-  python3-numbers \
-  python3-compression \
-  python3-shell \
-  python3-subprocess \
-  python3-textutils \
-  python3-pkgutil \
-  python3-threading \
-  python3-misc \
-  python3-unittest \
-  python3-xml 

[OE-core] [PATCH 1/2] python3-setuptools: upgrade to 31.0.0

2016-12-15 Thread Edwin Plauchu
From: Edwin Plauchu 

It is a simultaneous upgrade for python 2 and 3 over setuptools.

Signed-off-by: Edwin Plauchu 
---
 meta/recipes-devtools/python/python-setuptools.inc |  4 +--
 .../python/python-setuptools_29.0.1.bb | 38 --
 .../python/python-setuptools_31.0.0.bb | 38 ++
 .../python/python3-setuptools_29.0.1.bb| 37 -
 .../python/python3-setuptools_31.0.0.bb| 37 +
 5 files changed, 77 insertions(+), 77 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-setuptools_29.0.1.bb
 create mode 100644 meta/recipes-devtools/python/python-setuptools_31.0.0.bb
 delete mode 100644 meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-setuptools_31.0.0.bb

diff --git a/meta/recipes-devtools/python/python-setuptools.inc 
b/meta/recipes-devtools/python/python-setuptools.inc
index e76484a..858595c 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -9,8 +9,8 @@ SRCNAME = "setuptools"
 
 SRC_URI = 
"https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz;
 
-SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324"
-SRC_URI[sha256sum] = 
"b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0"
+SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e"
+SRC_URI[sha256sum] = 
"0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools;
 
diff --git a/meta/recipes-devtools/python/python-setuptools_29.0.1.bb 
b/meta/recipes-devtools/python/python-setuptools_29.0.1.bb
deleted file mode 100644
index 526474c..000
--- a/meta/recipes-devtools/python/python-setuptools_29.0.1.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-require python-setuptools.inc
-
-PROVIDES = "python-distribute"
-
-DEPENDS += "python"
-DEPENDS_class-native += "python-native"
-
-inherit distutils
-
-DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
-
-RDEPENDS_${PN} = "\
-  python-stringold \
-  python-email \
-  python-shell \
-  python-distutils \
-  python-compression \
-  python-pkgutil \
-  python-plistlib \
-  python-numbers \
-  python-html \
-  python-netserver \
-  python-ctypes \
-  python-subprocess \
-  python-unittest \
-  python-compile \
-"
-
-RDEPENDS_${PN}_class-native = "\
-  python-distutils \
-  python-compression \
-"
-
-RREPLACES_${PN} = "python-distribute"
-RPROVIDES_${PN} = "python-distribute"
-RCONFLICTS_${PN} = "python-distribute"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python-setuptools_31.0.0.bb 
b/meta/recipes-devtools/python/python-setuptools_31.0.0.bb
new file mode 100644
index 000..526474c
--- /dev/null
+++ b/meta/recipes-devtools/python/python-setuptools_31.0.0.bb
@@ -0,0 +1,38 @@
+require python-setuptools.inc
+
+PROVIDES = "python-distribute"
+
+DEPENDS += "python"
+DEPENDS_class-native += "python-native"
+
+inherit distutils
+
+DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
+
+RDEPENDS_${PN} = "\
+  python-stringold \
+  python-email \
+  python-shell \
+  python-distutils \
+  python-compression \
+  python-pkgutil \
+  python-plistlib \
+  python-numbers \
+  python-html \
+  python-netserver \
+  python-ctypes \
+  python-subprocess \
+  python-unittest \
+  python-compile \
+"
+
+RDEPENDS_${PN}_class-native = "\
+  python-distutils \
+  python-compression \
+"
+
+RREPLACES_${PN} = "python-distribute"
+RPROVIDES_${PN} = "python-distribute"
+RCONFLICTS_${PN} = "python-distribute"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb 
b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
deleted file mode 100644
index 65af6f0..000
--- a/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-require python-setuptools.inc
-
-DEPENDS += "python3"
-DEPENDS_class-native += "python3-native"
-
-inherit distutils3
-
-DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
-
-# The installer puts the wrong path in the setuptools.pth file.  Correct it.
-do_install_append() {
-rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
-mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
-echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > 
${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
-}
-
-RDEPENDS_${PN} = "\
-  python3-distutils \
-  python3-compression \
-"
-RDEPENDS_${PN}_class-target = "\
-  python3-ctypes \
-  python3-distutils \
-  python3-email \
-  python3-importlib \
-  python3-numbers \
-  python3-compression \
-  python3-shell \
-  python3-subprocess \
-  python3-textutils \
-  python3-pkgutil \
-  python3-threading \
-  python3-misc \
-  python3-unittest \
-  python3-xml 

[OE-core] [PATCH] grub: split grub-editenv in both grub and grub-efi

2016-12-15 Thread Ioan-Adrian Ratiu
We also need to split grub-editenv in grub-efi not just in grub, so move
the logic from grub_2.00.bb to the .inc file where it's inherited by both.

(grub-editenv is useful for editing the grub environment at runtime)

Doing this also reduces packaging differences between grub and grub-efi.

Signed-off-by: Ioan-Adrian Ratiu 
---
 meta/recipes-bsp/grub/grub2.inc| 6 ++
 meta/recipes-bsp/grub/grub_2.00.bb | 6 +-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index b69de9f..b8a2bb2 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -71,3 +71,9 @@ do_configure_prepend() {
 # grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are
 # conflicted, remove it since no one uses it.
 SYSROOT_DIRS_BLACKLIST += "${datadir}/grub/grub-mkconfig_lib"
+
+RDEPENDS_${PN} = "grub-editenv"
+
+PACKAGES =+ "grub-editenv"
+
+FILES_grub-editenv = "${bindir}/grub-editenv"
diff --git a/meta/recipes-bsp/grub/grub_2.00.bb 
b/meta/recipes-bsp/grub/grub_2.00.bb
index 07e1d10..778074a 100644
--- a/meta/recipes-bsp/grub/grub_2.00.bb
+++ b/meta/recipes-bsp/grub/grub_2.00.bb
@@ -1,6 +1,6 @@
 require grub2.inc
 
-RDEPENDS_${PN} = "diffutils freetype grub-editenv"
+RDEPENDS_${PN} = "diffutils freetype"
 PR = "r1"
 
 EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \
@@ -8,10 +8,6 @@ EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont 
--program-prefix="" \
 
 EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 
'--enable-largefile', '--disable-largefile', d)}"
 
-PACKAGES =+ "grub-editenv"
-
-FILES_grub-editenv = "${bindir}/grub-editenv"
-
 do_install_append () {
 install -d ${D}${sysconfdir}/grub.d
 }
-- 
2.10.2

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


[OE-core] [PATCH] lib/oe/package_manager: bail if createrepo can't be found

2016-12-15 Thread Ross Burton
If createrepo isn't found then the errors later are mysterious, so explicitly
check and error out early if it isn't there.

Signed-off-by: Ross Burton 
---
 meta/lib/oe/package_manager.py | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index bb45869..e557473 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -164,7 +164,11 @@ class RpmIndexer(Indexer):
 
 archs = archs.union(set(sdk_pkg_archs))
 
-rpm_createrepo = bb.utils.which(os.getenv('PATH'), "createrepo")
+rpm_createrepo = bb.utils.which(os.environ['PATH'], "createrepo")
+if not rpm_createrepo:
+bb.error("Cannot rebuild index as createrepo was not found in %s" 
% os.environ['PATH'])
+return
+
 if self.d.getVar('PACKAGE_FEED_SIGN') == '1':
 signer = get_signer(self.d, 
self.d.getVar('PACKAGE_FEED_GPG_BACKEND'))
 else:
-- 
2.8.1

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


Re: [OE-core] opinions on enabling busybox's "runit" implementation to control some services?

2016-12-15 Thread Bryan Evenson
Robert,

> -Original Message-
> From: openembedded-core-boun...@lists.openembedded.org
> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf
> Of Robert P. J. Day
> Sent: Wednesday, December 14, 2016 5:28 AM
> To: OE Core mailing list 
> Subject: [OE-core] opinions on enabling busybox's "runit" implementation to
> control some services?
> 
> 
>   colleague needs "runit" to control one or more services that have 
> historically
> been managed that way, so a couple questions:
> 
> 1) anyone with experience with busybox's implementation of runit? does it
> work properly? does it play nicely with others?
> 

I have not, but this last year I was looking into what it'd take to use 
Busybox's runit as an alternative to SysVinit.  I didn't do a complete code 
comparison, but Busybox's runit seems to be the same as the upstream package 
minus all the code that is not needed because it is present elsewhere in 
Busybox.  I couldn't figure out how to setup the image to use runit for init 
before I got pulled onto other tasks.

> 2) is runit actually necessary, or would it be easy to migrate said services 
> off
> of runit?
> 

The official runit site has tons of init examples for different services and 
has a brief explanation on how to change a SysVInit init script to work for 
runit.  I haven't done it myself, but I don't think it'd be that much work to 
go the other way.

>   i've never used runit, so have no idea what it is that makes it so
> (allegedly) indispensable. if it's easily migrateable, that'd be great.

It's small and simple.  Start services I parallel, monitor to make sure they 
are still running, and restart as necessary.  Done.  I like the idea of its 
simplicity and I'm interested in seeing if it works as well as it says it does.

If you figure out how to get runit as the system's init, I'd love to give it a 
try myself.

Regards,
Bryan

> 
>   thanks muchly.
> 
> rday
> 
> --
> 
> ==
> ==
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
> 
> Twitter:   http://twitter.com/rpjday
> LinkedIn:   http://ca.linkedin.com/in/rpjday
> ==
> ==
> 
> --
> ___
> 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] gstreamer1.0-plugins-bad: default to using egl

2016-12-15 Thread Khem Raj
On Thu, Dec 15, 2016 at 6:40 AM, Nicolas Dechesne
 wrote:
> With the current set of PACKAGECONFIG, we end up building with 'gles2' and 
> neither
> 'opengl', nor 'egl'. As a result we are building -bad with neither 'glx' nor
> 'egl' platform support. So let's make sure that we at least have egl by 
> default
> (since we default to 'gles2').

This looks ok. meta-raspberrypi will be able to unbolt one of fixes
its carrying in own layer.

>
> Signed-off-by: Nicolas Dechesne 
> ---
>  meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc 
> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
> index d3c5326d45..3cb7ab1ae1 100644
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
> @@ -12,7 +12,7 @@ SRC_URI_append = " \
>
>  # opengl packageconfig factored out to make it easy for distros
>  # and BSP layers to pick either (desktop) opengl, gles2, or no GL
> -PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 
> 'gles2', '', d)}"
> +PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 
> 'gles2 egl', '', d)}"
>
>  # gtk is not in the PACKAGECONFIG variable by default until
>  # the transition to gtk+3 is finished
> --
> 2.11.0
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] python*-git: Upgrade to version 2.1.1

2016-12-15 Thread Jose Lamego
Both python-git and python3-git need to be upgraded to latest upstream
version.
This change was tested using qemux86 with core-image-sato.
For each recipe test, CORE_IMAGE_EXTRA_INSTALL included
python and python-git,
and python3, python3-modules and python3-git, respectively.

Signed-off-by: Jose Lamego 
---
 meta/recipes-devtools/python/python-git.inc   | 4 ++--
 .../python/{python-git_2.1.0.bb => python-git_2.1.1.bb}   | 0
 .../python/{python3-git_2.1.0.bb => python3-git_2.1.1.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python-git_2.1.0.bb => 
python-git_2.1.1.bb} (100%)
 rename meta/recipes-devtools/python/{python3-git_2.1.0.bb => 
python3-git_2.1.1.bb} (100%)

diff --git a/meta/recipes-devtools/python/python-git.inc 
b/meta/recipes-devtools/python/python-git.inc
index ad41561..feddf27 100644
--- a/meta/recipes-devtools/python/python-git.inc
+++ b/meta/recipes-devtools/python/python-git.inc
@@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=8b8d26c37c1d5a04f9b0186edbebc183"
 
 SRC_URI = 
"https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-${PV}.tar.gz;
 
-SRC_URI[md5sum] = "29b1fcf504d080dc7a5e630957e829d7"
-SRC_URI[sha256sum] = 
"3ebda1e6ff1ef68597e41dcd1b99c2a5ae902f4dc2b22ad3533cc89c32b42aad"
+SRC_URI[md5sum] = "77f8339e68dedb6d7c4e26371a588ed9"
+SRC_URI[sha256sum] = 
"e96f8e953cf9fee0a7599fc587667591328760b6341a0081ef311a942fc96204"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/GitPython/;
 UPSTREAM_CHECK_REGEX = "/GitPython/(?P(\d+[\.\-_]*)+)"
diff --git a/meta/recipes-devtools/python/python-git_2.1.0.bb 
b/meta/recipes-devtools/python/python-git_2.1.1.bb
similarity index 100%
rename from meta/recipes-devtools/python/python-git_2.1.0.bb
rename to meta/recipes-devtools/python/python-git_2.1.1.bb
diff --git a/meta/recipes-devtools/python/python3-git_2.1.0.bb 
b/meta/recipes-devtools/python/python3-git_2.1.1.bb
similarity index 100%
rename from meta/recipes-devtools/python/python3-git_2.1.0.bb
rename to meta/recipes-devtools/python/python3-git_2.1.1.bb
-- 
1.9.1

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


[OE-core] [PATCH] 2/2] tzdata: update to 2016j

2016-12-15 Thread Armin Kuster
Briefly: Saratov, Russia moves from +03 to +04 on 2016-12-04.

  Changes to future time stamps

Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
This hives off a new zone Europe/Saratov from Europe/Volgograd.
(Thanks to Yuri Konotopov and Stepan Golosunov.)

  Changes to past time stamps

The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like
Asia/Aqtau except it switched from +05/+06 to +04/+05 in spring
1999, not fall 1994.  (Thanks to Stepan Golosunov.)

  Changes to past time zone abbreviations

Asia/Gaza and Asia/Hebron now use "EEST", not "EET", to denote
summer time before 1948. The old use of "EET" was a typo.

Signed-off-by: Armin Kuster 
---
 meta/recipes-extended/tzdata/{tzdata_2016i.bb => tzdata_2016j.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/tzdata/{tzdata_2016i.bb => tzdata_2016j.bb} (98%)

diff --git a/meta/recipes-extended/tzdata/tzdata_2016i.bb 
b/meta/recipes-extended/tzdata/tzdata_2016j.bb
similarity index 98%
rename from meta/recipes-extended/tzdata/tzdata_2016i.bb
rename to meta/recipes-extended/tzdata/tzdata_2016j.bb
index 3801a3f..1ef330e 100644
--- a/meta/recipes-extended/tzdata/tzdata_2016i.bb
+++ b/meta/recipes-extended/tzdata/tzdata_2016j.bb
@@ -9,8 +9,8 @@ DEPENDS = "tzcode-native"
 SRC_URI = 
"http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;
 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones;
 
-SRC_URI[tzdata.md5sum] = "73912ecfa6a9a8048ddf2e719d9bc39d"
-SRC_URI[tzdata.sha256sum] = 
"b6966ec982ef64fe48cebec437096b4f57f4287519ed32dde59c86d3a1853845"
+SRC_URI[tzdata.md5sum] = "db361d005ac8b30a2d18c5ca38d3e8ab"
+SRC_URI[tzdata.sha256sum] = 
"f5ee4e0f115f6c2faee1c4b16193a97338cbd1b503f2cea6c5a768c82ff39dc8"
 
 inherit allarch
 
-- 
2.7.4

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


[OE-core] [PATCH] 1/2] tzcode-native: update to 2016j

2016-12-15 Thread Armin Kuster
Changes to code

zic no longer mishandles file systems that lack hard links, fixing
bugs introduced in 2016g.  (Problems reported by Tom Lane.)
Also, when the destination already contains symbolic links, zic
should now work better on systems where the 'link' system call
does not follow symbolic links.

Changes to documentation and commentary

tz-link.htm now documents the relationship between release version
numbers and development-repository commit tags.  (Suggested by
Paul Koning.)

The 'Theory' file now documents UT.

iso3166.tab now accents "Curaçao", and commentary now mentions
the names "Cabo Verde" and "Czechia". (Thanks to Jiří Boháč.)

Signed-off-by: Armin Kuster 
---
 .../tzcode/{tzcode-native_2016i.bb => tzcode-native_2016j.bb} | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-extended/tzcode/{tzcode-native_2016i.bb => 
tzcode-native_2016j.bb} (69%)

diff --git a/meta/recipes-extended/tzcode/tzcode-native_2016i.bb 
b/meta/recipes-extended/tzcode/tzcode-native_2016j.bb
similarity index 69%
rename from meta/recipes-extended/tzcode/tzcode-native_2016i.bb
rename to meta/recipes-extended/tzcode/tzcode-native_2016j.bb
index 9d3d5a1..630fd42 100644
--- a/meta/recipes-extended/tzcode/tzcode-native_2016i.bb
+++ b/meta/recipes-extended/tzcode/tzcode-native_2016j.bb
@@ -9,10 +9,10 @@ SRC_URI =" 
http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz

http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;
 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones;
 
-SRC_URI[tzcode.md5sum] = "8fae14cba9396462955b7859cf04ba48"
-SRC_URI[tzcode.sha256sum] = 
"411e8adcb6288b17d6c2624fde65e7d82654ca69b813ae121504ff66f0cfba7b"
-SRC_URI[tzdata.md5sum] = "73912ecfa6a9a8048ddf2e719d9bc39d"
-SRC_URI[tzdata.sha256sum] = 
"b6966ec982ef64fe48cebec437096b4f57f4287519ed32dde59c86d3a1853845"
+SRC_URI[tzcode.md5sum] = "0684b98eb184fab250b6ca946862078d"
+SRC_URI[tzcode.sha256sum] = 
"b9effc4fb4051df4a356cbe5857bf99e2fa32e00d8340f2e8a4d58f0c9ccb0b7"
+SRC_URI[tzdata.md5sum] = "db361d005ac8b30a2d18c5ca38d3e8ab"
+SRC_URI[tzdata.sha256sum] = 
"f5ee4e0f115f6c2faee1c4b16193a97338cbd1b503f2cea6c5a768c82ff39dc8"
 
 S = "${WORKDIR}"
 
-- 
2.7.4

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


[OE-core] [PATCH] gstreamer1.0-plugins-bad: default to using egl

2016-12-15 Thread Nicolas Dechesne
With the current set of PACKAGECONFIG, we end up building with 'gles2' and 
neither
'opengl', nor 'egl'. As a result we are building -bad with neither 'glx' nor
'egl' platform support. So let's make sure that we at least have egl by default
(since we default to 'gles2').

Signed-off-by: Nicolas Dechesne 
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index d3c5326d45..3cb7ab1ae1 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -12,7 +12,7 @@ SRC_URI_append = " \
 
 # opengl packageconfig factored out to make it easy for distros
 # and BSP layers to pick either (desktop) opengl, gles2, or no GL
-PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 
'gles2', '', d)}"
+PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 
egl', '', d)}"
 
 # gtk is not in the PACKAGECONFIG variable by default until
 # the transition to gtk+3 is finished
-- 
2.11.0

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


Re: [OE-core] [meta-intel] [PATCH 2/2] gstreamer1.0-vaapi: Import from meta-intel

2016-12-15 Thread Trevor Woerner
On Thu, Dec 15, 2016 at 8:55 AM, Burton, Ross  wrote:
> When gst-vaapi moved to oe-core it also renamed to match the convention in
> there.  I guess we should add a PROVIDES for the old name to ensure it
> replaces the old version.  Can you test that this works for you?


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


Re: [OE-core] [meta-intel] [PATCH 2/2] gstreamer1.0-vaapi: Import from meta-intel

2016-12-15 Thread Burton, Ross
On 15 December 2016 at 13:53, Trevor Woerner  wrote:

> | configure: error: Requested 'gstreamer-codecparsers-1.0 <=
> 1.8.99' but version of GStreamer codec parsers is 1.10.1
> | WARNING: /z/layerindex-master/minnowmax/tmp-glibc/work/
> corei7-64-oe-linux/gstreamer-vaapi-1.0/1.8.2-r0/temp/run.do_configure.11053:1
> exit 1 from 'exit 1'
> | ERROR: Function failed: do_configure (log file is located at
> /z/layerindex-master/minnowmax/tmp-glibc/work/
> corei7-64-oe-linux/gstreamer-vaapi-1.0/1.8.2-r0/temp/log.
> do_configure.11053)
> ERROR: Task (/z/layerindex-master/layers/
> meta-intel/common/recipes-multimedia/gstreamer/
> gstreamer-vaapi-1.0_1.8.2.bb:do_configure) failed with exit code '1'
>

Yes, there's some outstanding patches for meta-intel.

When gst-vaapi moved to oe-core it also renamed to match the convention in
there.  I guess we should add a PROVIDES for the old name to ensure it
replaces the old version.  Can you test that this works for you?

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


Re: [OE-core] [meta-intel] [PATCH 2/2] gstreamer1.0-vaapi: Import from meta-intel

2016-12-15 Thread Trevor Woerner
I'm guessing I have to wait a little longer for various repositories to sync
up with respect to each other, or is something going bad here?

| configure: error: Requested 'gstreamer-codecparsers-1.0 <= 1.8.99' 
but version of GStreamer codec parsers is 1.10.1
| WARNING: 
/z/layerindex-master/minnowmax/tmp-glibc/work/corei7-64-oe-linux/gstreamer-vaapi-1.0/1.8.2-r0/temp/run.do_configure.11053:1
 exit 1 from 'exit 1'
| ERROR: Function failed: do_configure (log file is located at 
/z/layerindex-master/minnowmax/tmp-glibc/work/corei7-64-oe-linux/gstreamer-vaapi-1.0/1.8.2-r0/temp/log.do_configure.11053)
ERROR: Task 
(/z/layerindex-master/layers/meta-intel/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_1.8.2.bb:do_configure)
 failed with exit code '1'

This is a core-image-x11 build using master for minnow/turbot:

Build Configuration:
BB_VERSION= "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "opensuse-42.2"
TARGET_SYS= "x86_64-oe-linux"
MACHINE   = "intel-corei7-64"
DISTRO= "nodistro"
DISTRO_VERSION= "nodistro.0"
TUNE_FEATURES = "m64 corei7"
TARGET_FPU= ""
meta  = "master:91f856426c7523e1ebdf6d6f93f5fa7e509d6e49"
meta-intel= "master:3d218385a7d8509fbb66b6aa92efef185d1cfcde"
meta-oe
meta-gnome= "master:e6c7a66eb4f3944059bd4fff4103f8a9fdcb167c"
meta-browser  = "master:3f4fc6dd50650417a0b966c4157f3ad7f3697633"
meta-nodejs   = "master:7d63ea2e056e96a617a6281613afff6fe7762619"
meta-realtime = "master:c7807efaaa9933f45a68576c56a2ff2f9bd24203"
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] linux-firmware: Split out Realtek chipsets rtl8188 rtl8723 rtl8821

2016-12-15 Thread Mike Looijmans
Add rtl8188 rtl8712 rtl8723 rtl8821 packages to install only firmware for the
corresponding chipset. Uses a rather blunt approach by simply adding all 
firmware
files with matching prefix, to keep the package count down a bit.

Signed-off-by: Mike Looijmans 
---
 .../recipes-kernel/linux-firmware/linux-firmware_git.bb | 17 -
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb 
b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 8e68ae8..1d881d7 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -224,7 +224,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
  ${PN}-marvell-license ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 
${PN}-sd8797 \
  ${PN}-ti-connectivity-license ${PN}-wl12xx ${PN}-wl18xx \
  ${PN}-vt6656-license ${PN}-vt6656 \
- ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su 
\
+ ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce 
${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
  ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 
${PN}-bcm43340 ${PN}-bcm4339 ${PN}-bcm43430 ${PN}-bcm4354 \
  ${PN}-atheros-license ${PN}-ar9170 ${PN}-carl9170 ${PN}-ath6k 
${PN}-ath9k \
  ${PN}-ar3k-license  ${PN}-ar3k  ${PN}-ath10k-license  
${PN}-ath10k  \
@@ -344,14 +344,20 @@ RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license"
 RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license"
 
 # For rtl
+LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
 LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
 LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
 LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
+LICENSE_${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
+LICENSE_${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
 LICENSE_${PN}-rtl-license = "Firmware-rtlwifi_firmware"
 
 FILES_${PN}-rtl-license = " \
   /lib/firmware/LICENCE.rtlwifi_firmware.txt \
 "
+FILES_${PN}-rtl8188 = " \
+  /lib/firmware/rtlwifi/rtl8188*.bin \
+"
 FILES_${PN}-rtl8192cu = " \
   /lib/firmware/rtlwifi/rtl8192cufw*.bin \
 "
@@ -361,10 +367,19 @@ FILES_${PN}-rtl8192ce = " \
 FILES_${PN}-rtl8192su = " \
   /lib/firmware/rtlwifi/rtl8712u.bin \
 "
+FILES_${PN}-rtl8723 = " \
+  /lib/firmware/rtlwifi/rtl8723*.bin \
+"
+FILES_${PN}-rtl8821 = " \
+  /lib/firmware/rtlwifi/rtl8821*.bin \
+"
 
+RDEPENDS_${PN}-rtl8188 += "${PN}-rtl-license"
 RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license"
 RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license"
 RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license"
+RDEPENDS_${PN}-rtl8723 += "${PN}-rtl-license"
+RDEPENDS_${PN}-rtl8821 += "${PN}-rtl-license"
 
 # For ti-connectivity
 LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity"
-- 
1.9.1

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


[OE-core] [PATCH] selftest: wic: qemux86: use weak assignment for WKS_FILE

2016-12-15 Thread Maciej Borzecki
A follow-up of a fix introduced in
1b32c6ed025745cb06b7c28ca0fe9e416ce7abfa (selftest: wic: fix test_qemu).

Wic test_qemu fails on qemux86 due to a direct assignment of WKS_FILE in machine
configuration. Using default assignment allows WKS_FILE to be overwritten in
test setup.

Signed-off-by: Maciej Borzecki 
---
 meta/conf/machine/qemux86.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/machine/qemux86.conf b/meta/conf/machine/qemux86.conf
index 
8997f6ba701a91f0adc82dfaf410c7dd1a9777f3..1b478e92ad7fdf6f3cb2dd4f6dc35684a319848c
 100644
--- a/meta/conf/machine/qemux86.conf
+++ b/meta/conf/machine/qemux86.conf
@@ -28,5 +28,5 @@ MACHINE_FEATURES += "x86"
 
 MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
 
-WKS_FILE = "directdisk.wks"
+WKS_FILE ?= "directdisk.wks"
 do_image_wic[depends] += "syslinux:do_build 
syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot 
dosfstools-native:do_populate_sysroot"
-- 
2.5.5

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


[OE-core] [PATCH 16/16] xf86-video-intel: fix upstream version check

2016-12-15 Thread Alexander Kanavin
Even though upstream hasn't tagged new versions for a long while,
we should not report a bogus tag as something that can be updated to.

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb 
b/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb
index 06cc730..3fd6c63 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb
@@ -20,6 +20,7 @@ SRC_URI = 
"git://anongit.freedesktop.org/xorg/driver/xf86-video-intel \
 
 SRC_URI[md5sum] = "fa196a66e52c0c624fe5d350af7a5e7b"
 SRC_URI[sha256sum] = 
"00b781eea055582820a123c47b62411bdf6aabf4f03dc0568faec55faf9667c9"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"
 
 DEPENDS += "virtual/libx11 drm libpciaccess pixman"
 
-- 
2.10.2

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


[OE-core] [PATCH 15/16] upstream-version-is-even.bbclass: exclude various alphas, betas, pre-releases etc.

2016-12-15 Thread Alexander Kanavin
Was a problem with perl in particular.

Signed-off-by: Alexander Kanavin 
---
 meta/classes/upstream-version-is-even.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/upstream-version-is-even.bbclass 
b/meta/classes/upstream-version-is-even.bbclass
index 99714cb..256c752 100644
--- a/meta/classes/upstream-version-is-even.bbclass
+++ b/meta/classes/upstream-version-is-even.bbclass
@@ -2,4 +2,4 @@
 # accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.)
 # This scheme is used by Gnome and a number of other projects
 # to signify stable releases vs development releases.
-UPSTREAM_CHECK_REGEX = "[^\d\.](?P\d+\.(\d*[02468])+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "[^\d\.](?P\d+\.(\d*[02468])+(\.\d+)+)\.tar"
-- 
2.10.2

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


[OE-core] [PATCH 14/16] ghostscript: fix upstream version check

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/ghostscript/ghostscript_9.19.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.19.bb 
b/meta/recipes-extended/ghostscript/ghostscript_9.19.bb
index 8524591..577ec72 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.19.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.19.bb
@@ -17,6 +17,7 @@ DEPENDS = "ghostscript-native tiff jpeg fontconfig cups 
libpng"
 DEPENDS_class-native = "libpng-native"
 
 UPSTREAM_CHECK_URI = 
"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases;
+UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)\.tar"
 
 SRC_URI_BASE = 
"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs919/${BPN}-${PV}.tar.gz
 \
 file://ghostscript-9.15-parallel-make.patch \
-- 
2.10.2

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


[OE-core] [PATCH 13/16] vala: update to 0.34.4

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/vala/{vala_0.34.3.bb => vala_0.34.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/vala/{vala_0.34.3.bb => vala_0.34.4.bb} (56%)

diff --git a/meta/recipes-devtools/vala/vala_0.34.3.bb 
b/meta/recipes-devtools/vala/vala_0.34.4.bb
similarity index 56%
rename from meta/recipes-devtools/vala/vala_0.34.3.bb
rename to meta/recipes-devtools/vala/vala_0.34.4.bb
index a1c290a..d1b49ae 100644
--- a/meta/recipes-devtools/vala/vala_0.34.3.bb
+++ b/meta/recipes-devtools/vala/vala_0.34.4.bb
@@ -4,5 +4,5 @@ SRC_URI += " 
file://0001-git-version-gen-don-t-append-dirty-if-we-re-not-in-g.pa
  file://0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch \
 "
 
-SRC_URI[md5sum] = "71181dd25d06b0bedd378dc8fa7d6310"
-SRC_URI[sha256sum] = 
"f0fad71aca03cdeadf749ca47f56296a4ddd1a25f4e2f09f0ff9e1e3afbcac3f"
+SRC_URI[md5sum] = "a856989d749fc5e472a3592b96f9ca48"
+SRC_URI[sha256sum] = 
"6b17bd339414563ebc51f64b0b837919ea7552d8a8ffa71cdc837d25c9696b83"
-- 
2.10.2

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


[OE-core] [PATCH 12/16] sysprof: update to 3.22.3

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-kernel/sysprof/{sysprof_3.22.2.bb => sysprof_3.22.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-kernel/sysprof/{sysprof_3.22.2.bb => sysprof_3.22.3.bb} 
(87%)

diff --git a/meta/recipes-kernel/sysprof/sysprof_3.22.2.bb 
b/meta/recipes-kernel/sysprof/sysprof_3.22.3.bb
similarity index 87%
rename from meta/recipes-kernel/sysprof/sysprof_3.22.2.bb
rename to meta/recipes-kernel/sysprof/sysprof_3.22.3.bb
index a1ed7c8..50be960 100644
--- a/meta/recipes-kernel/sysprof/sysprof_3.22.2.bb
+++ b/meta/recipes-kernel/sysprof/sysprof_3.22.3.bb
@@ -13,8 +13,8 @@ SRC_URI += " \
file://0001-Disable-check-for-polkit-for-UI.patch \
file://0001-Avoid-building-docs.patch \
   "
-SRC_URI[archive.md5sum] = "2634bf35f5592e5e4520ccaba87e909e"
-SRC_URI[archive.sha256sum] = 
"d57fb19a3e5d4ad37d5fb554dc93d9a03f332779c3bffd9c2aa8f176e85269d7"
+SRC_URI[archive.sha256sum] = 
"e6dca325b3014440f457a92db18ffe342a35888db3f0756694a99b9652796367"
+SRC_URI[archive.md5sum] = "9514065dc752105240e5567c13708af4"
 
 AUTOTOOLS_AUXDIR = "${S}/build-aux"
 
-- 
2.10.2

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


[OE-core] [PATCH 11/16] iso-codes: update to 3.72

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../iso-codes/{iso-codes_3.71.bb => iso-codes_3.72.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/iso-codes/{iso-codes_3.71.bb => iso-codes_3.72.bb} 
(76%)

diff --git a/meta/recipes-support/iso-codes/iso-codes_3.71.bb 
b/meta/recipes-support/iso-codes/iso-codes_3.72.bb
similarity index 76%
rename from meta/recipes-support/iso-codes/iso-codes_3.71.bb
rename to meta/recipes-support/iso-codes/iso-codes_3.72.bb
index 6ff7e59..8fe7ad2 100644
--- a/meta/recipes-support/iso-codes/iso-codes_3.71.bb
+++ b/meta/recipes-support/iso-codes/iso-codes_3.72.bb
@@ -3,8 +3,8 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = 
"https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz;
-SRC_URI[md5sum] = "7401964329590ed5890006614b774651"
-SRC_URI[sha256sum] = 
"013df6ac35fb0b9e3244c6a4f13a1090d61cb4478f7cd468bbf46be983ba1f74"
+SRC_URI[md5sum] = "423fdab41c2c40555b2edaddd64f129e"
+SRC_URI[sha256sum] = 
"d0bd4785c3ec564a966c5792a4e15d119bf1c4dda10e2e60ce9107da1acc44c7"
 
 # inherit gettext cannot be used, because it adds gettext-native to 
BASEDEPENDS which
 # are inhibited by allarch
-- 
2.10.2

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


[OE-core] [PATCH 07/16] cmake: update to 3.7.1

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../cmake/{cmake-native_3.7.0.bb => cmake-native_3.7.1.bb}| 0
 meta/recipes-devtools/cmake/cmake.inc | 4 ++--
 meta/recipes-devtools/cmake/{cmake_3.7.0.bb => cmake_3.7.1.bb}| 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/cmake/{cmake-native_3.7.0.bb => 
cmake-native_3.7.1.bb} (100%)
 rename meta/recipes-devtools/cmake/{cmake_3.7.0.bb => cmake_3.7.1.bb} (100%)

diff --git a/meta/recipes-devtools/cmake/cmake-native_3.7.0.bb 
b/meta/recipes-devtools/cmake/cmake-native_3.7.1.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake-native_3.7.0.bb
rename to meta/recipes-devtools/cmake/cmake-native_3.7.1.bb
diff --git a/meta/recipes-devtools/cmake/cmake.inc 
b/meta/recipes-devtools/cmake/cmake.inc
index 9ae2890..0253f3e 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -17,8 +17,8 @@ SRC_URI = 
"https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
file://avoid-gcc-warnings-with-Wstrict-prototypes.patch \
"
 
-SRC_URI[md5sum] = "3801dc4e54c1c957a7378d8b0d4254ba"
-SRC_URI[sha256sum] = 
"ed63e05c41aeb6c036e503114ab15847f29c312f9f21f5f1a7060a4b4ec2fb31"
+SRC_URI[md5sum] = "d031d5a06e9f1c5367cdfc56fbd2a1c8"
+SRC_URI[sha256sum] = 
"449a5bce64dbd4d5b9517ebd1a1248ed197add6ad27934478976fd5f1f9330e1"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/cmake/cmake_3.7.0.bb 
b/meta/recipes-devtools/cmake/cmake_3.7.1.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake_3.7.0.bb
rename to meta/recipes-devtools/cmake/cmake_3.7.1.bb
-- 
2.10.2

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


[OE-core] [PATCH 08/16] ffmpeg: update to 3.2.2

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-multimedia/ffmpeg/{ffmpeg_3.2.1.bb => ffmpeg_3.2.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/ffmpeg/{ffmpeg_3.2.1.bb => ffmpeg_3.2.2.bb} 
(97%)

diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.2.1.bb 
b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.2.2.bb
similarity index 97%
rename from meta/recipes-multimedia/ffmpeg/ffmpeg_3.2.1.bb
rename to meta/recipes-multimedia/ffmpeg/ffmpeg_3.2.2.bb
index 9ff6c67..4fac46b 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.2.1.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.2.2.bb
@@ -16,8 +16,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \
file://mips64_cpu_detection.patch \
   "
-SRC_URI[md5sum] = "10eaee7cca7d1e745eec6e4217772361"
-SRC_URI[sha256sum] = 
"1ecf93da5d601e6fb3096c65cbe33fdaf042d690a3c50c4efadb0a9b74f2badf"
+SRC_URI[md5sum] = "e34d1b92c5d844f2a3611c741a6dba18"
+SRC_URI[sha256sum] = 
"3f01bd1fe1a17a277f8c84869e5d9192b4b978cb660872aa2b54c3cc8a2fedfc"
 
 # Build fails when thumb is enabled: 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717
 ARM_INSTRUCTION_SET = "arm"
-- 
2.10.2

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


[OE-core] [PATCH 05/16] btrfs-tools: update to 4.8.5

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../btrfs-tools/{btrfs-tools_4.8.4.bb => btrfs-tools_4.8.5.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.8.4.bb => 
btrfs-tools_4.8.5.bb} (95%)

diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.4.bb 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
similarity index 95%
rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.4.bb
rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
index a15fcf2..7047c43 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.4.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
@@ -13,7 +13,7 @@ SECTION = "base"
 DEPENDS = "util-linux attr e2fsprogs lzo acl udev"
 RDEPENDS_${PN} = "libgcc"
 
-SRCREV = "3ae37eaad1f1ef3f46838da57d8616126fdaffd8"
+SRCREV = "144a19145e248513c7a676defad59836830535c6"
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git 
\
 "
 
-- 
2.10.2

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


[OE-core] [PATCH 06/16] ca-certificates: update to 20161130

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{ca-certificates_20161102.bb => ca-certificates_20161130.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/ca-certificates/{ca-certificates_20161102.bb => 
ca-certificates_20161130.bb} (98%)

diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20161102.bb 
b/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb
similarity index 98%
rename from meta/recipes-support/ca-certificates/ca-certificates_20161102.bb
rename to meta/recipes-support/ca-certificates/ca-certificates_20161130.bb
index 350b266..e0b2e41 100644
--- a/meta/recipes-support/ca-certificates/ca-certificates_20161102.bb
+++ b/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb
@@ -12,7 +12,7 @@ DEPENDS = "ca-certificates-native"
 DEPENDS_class-native = "openssl-native"
 DEPENDS_class-nativesdk = "ca-certificates-native openssl-native"
 
-SRCREV = "c6a4c8182eda2527eecda90ba0aebc73d8c07d62"
+SRCREV = "61b70a1007dc269d56881a0d480fc841daacc77c"
 
 SRC_URI = "git://anonscm.debian.org/collab-maint/ca-certificates.git \
file://0002-update-ca-certificates-use-SYSROOT.patch \
-- 
2.10.2

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


[OE-core] [PATCH 09/16] gnutls: update to 3.5.7

2016-12-15 Thread Alexander Kanavin
Add a 0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch
to fix a compile issue (incorrect creation of an empty header).

Add a libunistring dependency as gnutls has gained it.

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-support/gnutls/gnutls.inc |  2 +-
 ...cli-args.h-to-cli-args.stamp-Makefile-tar.patch | 27 ++
 .../correct_rpl_gettimeofday_signature.patch   | 11 +
 .../gnutls/{gnutls_3.5.6.bb => gnutls_3.5.7.bb}|  5 ++--
 4 files changed, 37 insertions(+), 8 deletions(-)
 create mode 100644 
meta/recipes-support/gnutls/gnutls/0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch
 rename meta/recipes-support/gnutls/{gnutls_3.5.6.bb => gnutls_3.5.7.bb} (48%)

diff --git a/meta/recipes-support/gnutls/gnutls.inc 
b/meta/recipes-support/gnutls/gnutls.inc
index 51b9d2b..883c8be 100644
--- a/meta/recipes-support/gnutls/gnutls.inc
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=71391c8e0c1cfe68077e7fce3b586283 \
 file://doc/COPYING;md5=d32239bcb673463ab874e80d47fae504 \
 
file://doc/COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
-DEPENDS = "nettle gmp virtual/libiconv"
+DEPENDS = "nettle gmp virtual/libiconv libunistring"
 DEPENDS_append_libc-musl = " argp-standalone"
 
 SHRT_VER = "${@d.getVar('PV', True).split('.')[0]}.${@d.getVar('PV', 
True).split('.')[1]}"
diff --git 
a/meta/recipes-support/gnutls/gnutls/0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch
 
b/meta/recipes-support/gnutls/gnutls/0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch
new file mode 100644
index 000..0990810
--- /dev/null
+++ 
b/meta/recipes-support/gnutls/gnutls/0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch
@@ -0,0 +1,27 @@
+From 68ef47ab3472472780939671731c295481b5535f Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Wed, 14 Dec 2016 17:42:45 +0200
+Subject: [PATCH] Do not add cli-args.h to cli-args.stamp Makefile target
+
+Upstream-Status: Submitted [https://gitlab.com/gnutls/gnutls/issues/155]
+Signed-off-by: Alexander Kanavin 
+---
+ src/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 49d3af3..827638e 100644
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -261,7 +261,7 @@ cli-debug-args.stamp: $(srcdir)/cli-debug-args.def 
$(srcdir)/args-std.def
+ 
+ cli-args.h: cli-args.stamp
+ cli-args.c: cli-args.stamp
+-cli-args.stamp cli-args.h: $(srcdir)/cli-args.def $(srcdir)/args-std.def
++cli-args.stamp: $(srcdir)/cli-args.def $(srcdir)/args-std.def
+   -$(AUTOGEN) $<
+   touch $@
+ 
+-- 
+2.10.2
+
diff --git 
a/meta/recipes-support/gnutls/gnutls/correct_rpl_gettimeofday_signature.patch 
b/meta/recipes-support/gnutls/gnutls/correct_rpl_gettimeofday_signature.patch
index 5e452c5..96b023a 100644
--- 
a/meta/recipes-support/gnutls/gnutls/correct_rpl_gettimeofday_signature.patch
+++ 
b/meta/recipes-support/gnutls/gnutls/correct_rpl_gettimeofday_signature.patch
@@ -1,7 +1,7 @@
-From ae3370788ed3447bba16969d9eb1bf1b9631e1b7 Mon Sep 17 00:00:00 2001
+From 81b0f04c14f673b99778d2e7d8e85461e0bf2018 Mon Sep 17 00:00:00 2001
 From: Valentin Popa 
 Date: Fri, 25 Apr 2014 13:58:55 +0300
-Subject: [PATCH] Correct rpl_gettimeofday signature
+Subject: [PATCH 1/3] Correct rpl_gettimeofday signature
 
 Currently we fail on uclibc like below
 
@@ -29,12 +29,13 @@ eglibc otherwise we will have same issue there too
 Signed-off-by: Khem Raj 
 
 Upstream-Status: Pending
+
 ---
  gl/sys_time.in.h | 8 
  1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/gl/sys_time.in.h b/gl/sys_time.in.h
-index 84a17c9..6ceadc3 100644
+index 5a8caf3..2dc5718 100644
 --- a/gl/sys_time.in.h
 +++ b/gl/sys_time.in.h
 @@ -93,20 +93,20 @@ struct timeval
@@ -61,7 +62,7 @@ index 84a17c9..6ceadc3 100644
 +   (struct timeval *__restrict, void *__restrict));
  # endif
  _GL_CXXALIASWARN (gettimeofday);
- #elif defined GNULIB_POSIXCHECK
+ # if defined __cplusplus && defined GNULIB_NAMESPACE
 -- 
-1.9.1
+2.10.2
 
diff --git a/meta/recipes-support/gnutls/gnutls_3.5.6.bb 
b/meta/recipes-support/gnutls/gnutls_3.5.7.bb
similarity index 48%
rename from meta/recipes-support/gnutls/gnutls_3.5.6.bb
rename to meta/recipes-support/gnutls/gnutls_3.5.7.bb
index 2e70734..cf77a20 100644
--- a/meta/recipes-support/gnutls/gnutls_3.5.6.bb
+++ b/meta/recipes-support/gnutls/gnutls_3.5.7.bb
@@ -3,7 +3,8 @@ require gnutls.inc
 SRC_URI += "file://correct_rpl_gettimeofday_signature.patch \
 file://0001-configure.ac-fix-sed-command.patch \
 file://use-pkg-config-to-locate-zlib.patch \
+
file://0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch \
"
-SRC_URI[md5sum] = 

[OE-core] [PATCH 10/16] icu: update to 58.2

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-support/icu/{icu_58.1.bb => icu_58.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/icu/{icu_58.1.bb => icu_58.2.bb} (85%)

diff --git a/meta/recipes-support/icu/icu_58.1.bb 
b/meta/recipes-support/icu/icu_58.2.bb
similarity index 85%
rename from meta/recipes-support/icu/icu_58.1.bb
rename to meta/recipes-support/icu/icu_58.2.bb
index cc7c947..e4531ca 100644
--- a/meta/recipes-support/icu/icu_58.1.bb
+++ b/meta/recipes-support/icu/icu_58.2.bb
@@ -21,8 +21,8 @@ SRC_URI = "${BASE_SRC_URI} \
 SRC_URI_append_class-target = "\
file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
   "
-SRC_URI[md5sum] = "1901302aaff1c1633ef81862663d2917"
-SRC_URI[sha256sum] = 
"0eb46ba3746a9c2092c8ad347a29b1a1b4941144772d13a88667a7b11ea30309"
+SRC_URI[md5sum] = "fac212b32b7ec7ab007a12dff1f3aea1"
+SRC_URI[sha256sum] = 
"2b0a4410153a9b20de0e20c7d8b66049a72aef244b53683d0d7521371683da0c"
 
 UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)/"
 UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/;
-- 
2.10.2

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


[OE-core] [PATCH 04/16] babeltrace: update to 1.5.0

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../recipes-kernel/lttng/{babeltrace_1.4.0.bb => babeltrace_1.5.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-kernel/lttng/{babeltrace_1.4.0.bb => babeltrace_1.5.0.bb} 
(82%)

diff --git a/meta/recipes-kernel/lttng/babeltrace_1.4.0.bb 
b/meta/recipes-kernel/lttng/babeltrace_1.5.0.bb
similarity index 82%
rename from meta/recipes-kernel/lttng/babeltrace_1.4.0.bb
rename to meta/recipes-kernel/lttng/babeltrace_1.5.0.bb
index 0fadeb0..695b61f 100644
--- a/meta/recipes-kernel/lttng/babeltrace_1.4.0.bb
+++ b/meta/recipes-kernel/lttng/babeltrace_1.5.0.bb
@@ -15,6 +15,6 @@ SRC_URI = 
"http://www.efficios.com/files/babeltrace/babeltrace-${PV}.tar.bz2 \
 
 EXTRA_OECONF = "--disable-debug-info"
 
-SRC_URI[md5sum] = "fa99064048af5c9c6ff00e489ac809c2"
-SRC_URI[sha256sum] = 
"9469eeb22617cd12668683b04c27003e5337e9ac66ade914988df3642fc0d0e4"
+SRC_URI[md5sum] = "43696383e44d1b85173db7cbd0335f06"
+SRC_URI[sha256sum] = 
"354e75d74562f5228ab89e5fa16a3b4dffa95e7230c5086b74ffcf11fef60353"
 
-- 
2.10.2

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


[OE-core] [PATCH 02/16] libfm: update to 1.2.5

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libfm/{libfm-extra_1.2.4.bb => libfm-extra_1.2.5.bb}  | 4 ++--
 meta/recipes-support/libfm/{libfm_1.2.4.bb => libfm_1.2.5.bb} | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-support/libfm/{libfm-extra_1.2.4.bb => 
libfm-extra_1.2.5.bb} (80%)
 rename meta/recipes-support/libfm/{libfm_1.2.4.bb => libfm_1.2.5.bb} (90%)

diff --git a/meta/recipes-support/libfm/libfm-extra_1.2.4.bb 
b/meta/recipes-support/libfm/libfm-extra_1.2.5.bb
similarity index 80%
rename from meta/recipes-support/libfm/libfm-extra_1.2.4.bb
rename to meta/recipes-support/libfm/libfm-extra_1.2.5.bb
index f204968..0134572 100644
--- a/meta/recipes-support/libfm/libfm-extra_1.2.4.bb
+++ b/meta/recipes-support/libfm/libfm-extra_1.2.5.bb
@@ -11,8 +11,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz \
file://0001-nls.m4-Take-it-from-gettext-0.15.patch \
   "
 
-SRC_URI[md5sum] = "74997d75e7e87dc73398746fd373bf52"
-SRC_URI[sha256sum] = 
"7804f6f28cb3d1bc8ffb3151ab7ff0c063b27c5f9b06c682eb903e01cf25502f"
+SRC_URI[md5sum] = "a1ba9ae5e920f38b647dd511edd6c807"
+SRC_URI[sha256sum] = 
"c706bb1020cf5f2d6f5a9226f692ce1985947134dcf2bde64278bd0420779b5a"
 
 S = "${WORKDIR}/libfm-${PV}"
 
diff --git a/meta/recipes-support/libfm/libfm_1.2.4.bb 
b/meta/recipes-support/libfm/libfm_1.2.5.bb
similarity index 90%
rename from meta/recipes-support/libfm/libfm_1.2.4.bb
rename to meta/recipes-support/libfm/libfm_1.2.5.bb
index 2218f9c..638c364 100644
--- a/meta/recipes-support/libfm/libfm_1.2.4.bb
+++ b/meta/recipes-support/libfm/libfm_1.2.5.bb
@@ -13,8 +13,8 @@ DEPENDS = "glib-2.0 pango gtk+3 menu-cache intltool-native 
libexif libfm-extra g
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz"
 
-SRC_URI[md5sum] = "74997d75e7e87dc73398746fd373bf52"
-SRC_URI[sha256sum] = 
"7804f6f28cb3d1bc8ffb3151ab7ff0c063b27c5f9b06c682eb903e01cf25502f"
+SRC_URI[md5sum] = "a1ba9ae5e920f38b647dd511edd6c807"
+SRC_URI[sha256sum] = 
"c706bb1020cf5f2d6f5a9226f692ce1985947134dcf2bde64278bd0420779b5a"
 
 inherit autotools pkgconfig gtk-doc distro_features_check
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-- 
2.10.2

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


[OE-core] [PATCH 03/16] liburcu: update to 0.9.3

2016-12-15 Thread Alexander Kanavin
Drop 0002-Support-for-aarch64_be.patch, it's merged upstream.

Signed-off-by: Alexander Kanavin 
---
 .../liburcu/0001-Support-for-NIOS2-architecture.patch | 13 +++--
 .../liburcu/liburcu/0002-Support-for-aarch64_be.patch | 19 ---
 .../liburcu/{liburcu_0.9.2.bb => liburcu_0.9.3.bb}| 12 +---
 3 files changed, 12 insertions(+), 32 deletions(-)
 delete mode 100644 
meta/recipes-support/liburcu/liburcu/0002-Support-for-aarch64_be.patch
 rename meta/recipes-support/liburcu/{liburcu_0.9.2.bb => liburcu_0.9.3.bb} 
(63%)

diff --git 
a/meta/recipes-support/liburcu/liburcu/0001-Support-for-NIOS2-architecture.patch
 
b/meta/recipes-support/liburcu/liburcu/0001-Support-for-NIOS2-architecture.patch
index 690872b..6296238 100644
--- 
a/meta/recipes-support/liburcu/liburcu/0001-Support-for-NIOS2-architecture.patch
+++ 
b/meta/recipes-support/liburcu/liburcu/0001-Support-for-NIOS2-architecture.patch
@@ -1,4 +1,4 @@
-From add566b913e1b5cd4974a2167157dc08d8245ab0 Mon Sep 17 00:00:00 2001
+From f37c5b56376d9bb506da68bb11d0d7463e6e563b Mon Sep 17 00:00:00 2001
 From: Marek Vasut 
 Date: Tue, 9 Feb 2016 01:52:26 +0100
 Subject: [PATCH] Support for NIOS2 architecture
@@ -9,6 +9,7 @@ trivial too, since the CPU does not support SMP at all.
 
 Signed-off-by: Marek Vasut 
 Upstream-Status: Backport [ 
http://git.lttng.org/?p=userspace-rcu.git;a=commit;h=859050b3088aa3f0cb59d7f51ce24b9a0f18faa5
 ]
+
 ---
  LICENSE  |  1 +
  README.md|  1 +
@@ -44,12 +45,12 @@ index f6b290f..6fe9c1e 100644
- ia64
- Sparcv9 32/64
 diff --git a/configure.ac b/configure.ac
-index 39a..71a7d71 100644
+index eebed56..8014e1d 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -124,6 +124,7 @@ AS_CASE([$host_cpu],
+@@ -136,6 +136,7 @@ AS_CASE([$host_cpu],
[arm*], [ARCHTYPE="arm"],
-   [aarch64], [ARCHTYPE="aarch64"],
+   [aarch64*], [ARCHTYPE="aarch64"],
[mips*], [ARCHTYPE="mips"],
 +  [nios2*], [ARCHTYPE="nios2"],
[tile*], [ARCHTYPE="tile"],
@@ -57,7 +58,7 @@ index 39a..71a7d71 100644
[ARCHTYPE="unknown"]
 diff --git a/urcu/arch/nios2.h b/urcu/arch/nios2.h
 new file mode 100644
-index 000..030d1bc
+index 000..b4f3e50
 --- /dev/null
 +++ b/urcu/arch/nios2.h
 @@ -0,0 +1,40 @@
@@ -140,5 +141,5 @@ index 000..5b3c303
 +
 +#endif /* _URCU_UATOMIC_ARCH_NIOS2_H */
 -- 
-2.7.0
+2.10.2
 
diff --git 
a/meta/recipes-support/liburcu/liburcu/0002-Support-for-aarch64_be.patch 
b/meta/recipes-support/liburcu/liburcu/0002-Support-for-aarch64_be.patch
deleted file mode 100644
index a10ccd7..000
--- a/meta/recipes-support/liburcu/liburcu/0002-Support-for-aarch64_be.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-liburcu: add support for aarch64_be
-
-Upstream-Status: Pending
-
-Signed-off-by: Tudor Florea 
-
-diff --git a/configure.ac b/configure.ac
-index 8ebfa8b..fe1c55d 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -121,7 +121,7 @@ AS_CASE([$host_cpu],
-   [alpha*], [ARCHTYPE="alpha"],
-   [ia64], [ARCHTYPE="ia64"],
-   [arm*], [ARCHTYPE="arm"],
--  [aarch64], [ARCHTYPE="aarch64"],
-+  [aarch64*], [ARCHTYPE="aarch64"],
-   [mips*], [ARCHTYPE="mips"],
-   [nios2*], [ARCHTYPE="nios2"],
-   [tile*], [ARCHTYPE="tile"],
diff --git a/meta/recipes-support/liburcu/liburcu_0.9.2.bb 
b/meta/recipes-support/liburcu/liburcu_0.9.3.bb
similarity index 63%
rename from meta/recipes-support/liburcu/liburcu_0.9.2.bb
rename to meta/recipes-support/liburcu/liburcu_0.9.3.bb
index 23fb8c4..4486e0a 100644
--- a/meta/recipes-support/liburcu/liburcu_0.9.2.bb
+++ b/meta/recipes-support/liburcu/liburcu_0.9.3.bb
@@ -7,14 +7,12 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=e548d28737289d75a8f1e01ba2fd7825 \
 
file://urcu.h;beginline=4;endline=32;md5=4de0d68d3a997643715036d2209ae1d9 \
 
file://urcu/uatomic/x86.h;beginline=4;endline=21;md5=58e50bbd8a2f073bb5500e6554af0d0b"
 
-SRC_URI = " \
-   http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2 \
-   file://0001-Support-for-NIOS2-architecture.patch \
-file://0002-Support-for-aarch64_be.patch \
-   "
+SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2 \
+   file://0001-Support-for-NIOS2-architecture.patch \
+   "
 
-SRC_URI[md5sum] = "49f86e68c1e2f41d303381a271b791d1"
-SRC_URI[sha256sum] = 
"8f7fa313b1e0a3f742cea24ce63a39c0efe63e615a769e2961e55bd2663ecaa3"
+SRC_URI[md5sum] = "920970e35a1a2066c8353eabfeab8730"
+SRC_URI[sha256sum] = 
"1bce32e6a6c967fef6d37adaadf33df19878d69673f9ef9d3f2470e0c6ed4006"
 
 S = "${WORKDIR}/userspace-rcu-${PV}"
 CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"
-- 
2.10.2

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


[OE-core] [PATCH 01/16] pigz: fix upstream version check

2016-12-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/pigz/pigz_2.3.4.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/pigz/pigz_2.3.4.bb 
b/meta/recipes-extended/pigz/pigz_2.3.4.bb
index 49d9d78..87b61bf 100644
--- a/meta/recipes-extended/pigz/pigz_2.3.4.bb
+++ b/meta/recipes-extended/pigz/pigz_2.3.4.bb
@@ -2,6 +2,7 @@ require pigz.inc
 LIC_FILES_CHKSUM = 
"file://pigz.c;beginline=7;endline=21;md5=a21d4075cb00ab4ca17fce5e7534ca95"
 
 UPSTREAM_CHECK_URI = "http://zlib.net/${BPN}/;
+UPSTREAM_CHECK_REGEX = "pigz-(?P.*)\.tar"
 SRC_URI = "https://github.com/madler/pigz/archive/v${PV}.tar.gz;
 SRC_URI[md5sum] = "c109057050b15edf3eb9bb4d0805235e"
 SRC_URI[sha256sum] = 
"763f2fdb203aa0b7b640e63385e38e5dd4e5aaa041bc8e42aa96f2ef156b06e8"
-- 
2.10.2

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


[OE-core] [PATCH 00/16] Recipe version updates

2016-12-15 Thread Alexander Kanavin
Mostly minor version updates; for the first time these were done
in a quick and efficient fashion by using devtool.

For that experience I'd like to give major props to Paul Eggleton.

The following changes since commit a92d27acd8f42b61a2fc575311838b45d171f0af:

  oeqa/utils/commands.py: Fix get_bb_vars() when called without arguments 
(2016-12-14 16:15:04 +)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib akanavin/package-version-updates
  
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/package-version-updates

Alexander Kanavin (16):
  pigz: fix upstream version check
  libfm: update to 1.2.5
  liburcu: update to 0.9.3
  babeltrace: update to 1.5.0
  btrfs-tools: update to 4.8.5
  ca-certificates: update to 20161130
  cmake: update to 3.7.1
  ffmpeg: update to 3.2.2
  gnutls: update to 3.5.7
  icu: update to 58.2
  iso-codes: update to 3.72
  sysprof: update to 3.22.3
  vala: update to 0.34.4
  ghostscript: fix upstream version check
  upstream-version-is-even.bbclass: exclude various alphas, betas,
pre-releases etc.
  xf86-video-intel: fix upstream version check

 meta/classes/upstream-version-is-even.bbclass  |  2 +-
 .../{btrfs-tools_4.8.4.bb => btrfs-tools_4.8.5.bb} |  2 +-
 ...cmake-native_3.7.0.bb => cmake-native_3.7.1.bb} |  0
 meta/recipes-devtools/cmake/cmake.inc  |  4 ++--
 .../cmake/{cmake_3.7.0.bb => cmake_3.7.1.bb}   |  0
 .../vala/{vala_0.34.3.bb => vala_0.34.4.bb}|  4 ++--
 .../ghostscript/ghostscript_9.19.bb|  1 +
 meta/recipes-extended/pigz/pigz_2.3.4.bb   |  1 +
 .../xorg-driver/xf86-video-intel_git.bb|  1 +
 .../{babeltrace_1.4.0.bb => babeltrace_1.5.0.bb}   |  4 ++--
 .../{sysprof_3.22.2.bb => sysprof_3.22.3.bb}   |  4 ++--
 .../ffmpeg/{ffmpeg_3.2.1.bb => ffmpeg_3.2.2.bb}|  4 ++--
 ...tes_20161102.bb => ca-certificates_20161130.bb} |  2 +-
 meta/recipes-support/gnutls/gnutls.inc |  2 +-
 ...cli-args.h-to-cli-args.stamp-Makefile-tar.patch | 27 ++
 .../correct_rpl_gettimeofday_signature.patch   | 11 +
 .../gnutls/{gnutls_3.5.6.bb => gnutls_3.5.7.bb}|  5 ++--
 .../icu/{icu_58.1.bb => icu_58.2.bb}   |  4 ++--
 .../{iso-codes_3.71.bb => iso-codes_3.72.bb}   |  4 ++--
 .../{libfm-extra_1.2.4.bb => libfm-extra_1.2.5.bb} |  4 ++--
 .../libfm/{libfm_1.2.4.bb => libfm_1.2.5.bb}   |  4 ++--
 .../0001-Support-for-NIOS2-architecture.patch  | 13 ++-
 .../liburcu/0002-Support-for-aarch64_be.patch  | 19 ---
 .../liburcu/{liburcu_0.9.2.bb => liburcu_0.9.3.bb} | 12 --
 24 files changed, 73 insertions(+), 61 deletions(-)
 rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.8.4.bb => 
btrfs-tools_4.8.5.bb} (95%)
 rename meta/recipes-devtools/cmake/{cmake-native_3.7.0.bb => 
cmake-native_3.7.1.bb} (100%)
 rename meta/recipes-devtools/cmake/{cmake_3.7.0.bb => cmake_3.7.1.bb} (100%)
 rename meta/recipes-devtools/vala/{vala_0.34.3.bb => vala_0.34.4.bb} (56%)
 rename meta/recipes-kernel/lttng/{babeltrace_1.4.0.bb => babeltrace_1.5.0.bb} 
(82%)
 rename meta/recipes-kernel/sysprof/{sysprof_3.22.2.bb => sysprof_3.22.3.bb} 
(87%)
 rename meta/recipes-multimedia/ffmpeg/{ffmpeg_3.2.1.bb => ffmpeg_3.2.2.bb} 
(97%)
 rename meta/recipes-support/ca-certificates/{ca-certificates_20161102.bb => 
ca-certificates_20161130.bb} (98%)
 create mode 100644 
meta/recipes-support/gnutls/gnutls/0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch
 rename meta/recipes-support/gnutls/{gnutls_3.5.6.bb => gnutls_3.5.7.bb} (48%)
 rename meta/recipes-support/icu/{icu_58.1.bb => icu_58.2.bb} (85%)
 rename meta/recipes-support/iso-codes/{iso-codes_3.71.bb => iso-codes_3.72.bb} 
(76%)
 rename meta/recipes-support/libfm/{libfm-extra_1.2.4.bb => 
libfm-extra_1.2.5.bb} (80%)
 rename meta/recipes-support/libfm/{libfm_1.2.4.bb => libfm_1.2.5.bb} (90%)
 delete mode 100644 
meta/recipes-support/liburcu/liburcu/0002-Support-for-aarch64_be.patch
 rename meta/recipes-support/liburcu/{liburcu_0.9.2.bb => liburcu_0.9.3.bb} 
(63%)

-- 
2.10.2

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


Re: [OE-core] [PATCH] lttng-ust: Patch python shebang appropriately for native builds

2016-12-15 Thread Phil Blundell
On Wed, 2016-12-14 at 15:38 -0800, Khem Raj wrote:
> On Wed, Dec 14, 2016 at 1:38 PM, Phil Blundell  wrote:
> > If we are building a native package then ${bindir}/python3 is not
> > guaranteed
> > to be available, and if it is available then it is probably a
> > directory not a
> > file.  In either case, attempting to use it as an interpreter will
> > not end
> > well.  Let's use ${bindir}/nativepython instead.
> > 
> > Signed-off-by: Phil Blundell 
> > ---
> >  meta/recipes-kernel/lttng/lttng-ust_git.bb | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> > 
> > diff --git a/meta/recipes-kernel/lttng/lttng-ust_git.bb
> > b/meta/recipes-kernel/lttng/lttng-ust_git.bb
> > index 5869093..df22352 100644
> > --- a/meta/recipes-kernel/lttng/lttng-ust_git.bb
> > +++ b/meta/recipes-kernel/lttng/lttng-ust_git.bb
> > @@ -29,10 +29,12 @@ SRC_URI = "git://git.lttng.org/lttng-
> > ust.git;branch=stable-2.7 \
> > 
> >  PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-
> > pages, asciidoc-native xmlto-native libxslt-native"
> > 
> > +usepython="${bindir}/python3"
> > +usepython_class-native="${bindir}/nativepython"
> >  do_install_append() {
> >  # Patch python tools to use Python 3; they should be
> > source compatible, but
> >  # still refer to Python 2 in the shebang
> > -sed -i -e '1s,#!.*python.*,#!${bindir}/python3,'
> > ${D}${bindir}/lttng-gen-tp
> > +sed -i -e '1s,#!.*python.*,#!${usepython},'
> > ${D}${bindir}/lttng-gen-tp
> 
> This also means we need to add a dependency on python-native may be
> it
> should inherit the python native class.

I suppose it probably should.  That'd be a bit suboptimal in the sense
that the non-native version does not need to depend on python-native,
but given that python-native is probably installed in the sysroot
anyway I don't suppose it is likely to hurt very much.  And I don't
think it is worth the complexity of trying to do a conditional inherit
of pythonnative.

p.

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


Re: [OE-core] [poky][PATCH 1/6] gstreamer1.0-plugins-bad: Enable gldeinterlace on OpenGL ES

2016-12-15 Thread Nicolas Dechesne
On Mon, Jul 4, 2016 at 7:46 AM, Yuqing Zhu  wrote:
> ++
> ++#if GST_GL_HAVE_OPENGL
> ++  if (USING_OPENGL (context)) {
> ++gl->MatrixMode (GL_PROJECTION);
> ++gl->LoadIdentity ();
> ++  }
> ++#endif
> +

yes, I know , a bit late in the game.. but this patch breaks when -bad
is built with 'opengl' support in PACKAGECONFIG. In the original
upstream commit at [1] the .h file defines the USING_OPENGL macro, but
that piece of code was not backported properly in OE and it leaves
USING_OPENGL as an undefined symbol..

This is now a morty issue.. i will try to cook up a patch for it later today.

[1] 
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=0cfb0890ce9a20f096a0a9c9f23b656f436794c6
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] [PATCH 2/2 V2] Change default gdb config

2016-12-15 Thread Zheng Ruoqin
Change default gdb config to 7.12

Signed-off-by: Zheng Ruoqin 
---
 meta/conf/distro/include/tcmode-default.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/tcmode-default.inc 
b/meta/conf/distro/include/tcmode-default.inc
index ca3c5ec..16e1e55 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -25,7 +25,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 GCCVERSION ?= "6.2%"
 SDKGCCVERSION ?= "${GCCVERSION}"
 BINUVERSION ?= "2.27%"
-GDBVERSION ?= "7.11%"
+GDBVERSION ?= "7.12%"
 GLIBCVERSION ?= "2.24"
 UCLIBCVERSION ?= "1.0%"
 LINUXLIBCVERSION ?= "4.8%"
-- 
2.7.4



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


[OE-core] [PATCH 0/2 V2] gdb 7.11.1 -> 7.12

2016-12-15 Thread Zheng Ruoqin
1) Upgrade gdb from 7.11.1 to 7.12
2) Delete 11 patches below, since they are integrated upstream.
0001-include-sys-types.h-for-mode_t.patch
0002-make-man-install-relative-to-DESTDIR.patch
0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
0005-Add-support-for-Renesas-SH-sh4-architecture.patch
0006-Dont-disable-libreadline.a-when-using-disable-static.patch
0007-use-asm-sgidefs.h.patch
0008-Use-exorted-definitions-of-SIGRTMIN.patch
0009-Change-order-of-CFLAGS.patch
0010-resolve-restrict-keyword-conflict.patch
0011-avx_mpx.patch
3) Change default gdb config to 7.12

Zheng Ruoqin (2):
  [OE-core] [PATCH] gdb 7.11.1 -> 7.12
  [OE-core] [PATCH] Change default gdb config

 meta/conf/distro/include/tcmode-default.inc|2 +-
 meta/recipes-devtools/gdb/gdb-7.11.1.inc   |   22 -
 meta/recipes-devtools/gdb/gdb-7.12.inc |   11 +
 ...nadian_7.11.1.bb => gdb-cross-canadian_7.12.bb} |0
 .../gdb/{gdb-cross_7.11.1.bb => gdb-cross_7.12.bb} |0
 .../gdb/0001-include-sys-types.h-for-mode_t.patch  |   30 -
 ...0002-make-man-install-relative-to-DESTDIR.patch |   28 -
 ...s-linux-nat-Define-_ABIO32-if-not-defined.patch |   37 -
 ...Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch |   53 -
 ...d-support-for-Renesas-SH-sh4-architecture.patch |  921 ---
 ...e-libreadline.a-when-using-disable-static.patch |   50 -
 .../gdb/gdb/0007-use-asm-sgidefs.h.patch   |   36 -
 .../0008-Use-exorted-definitions-of-SIGRTMIN.patch |   50 -
 .../gdb/gdb/0009-Change-order-of-CFLAGS.patch  |   34 -
 .../0010-resolve-restrict-keyword-conflict.patch   |   48 -
 meta/recipes-devtools/gdb/gdb/0011-avx_mpx.patch   | 2601 
 .../gdb/{gdb_7.11.1.bb => gdb_7.12.bb} |0
 17 files changed, 12 insertions(+), 3911 deletions(-)
 delete mode 100644 meta/recipes-devtools/gdb/gdb-7.11.1.inc
 create mode 100644 meta/recipes-devtools/gdb/gdb-7.12.inc
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.11.1.bb => 
gdb-cross-canadian_7.12.bb} (100%)
 rename meta/recipes-devtools/gdb/{gdb-cross_7.11.1.bb => gdb-cross_7.12.bb} 
(100%)
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch
 delete mode 100644 meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
 delete mode 100644 meta/recipes-devtools/gdb/gdb/0011-avx_mpx.patch
 rename meta/recipes-devtools/gdb/{gdb_7.11.1.bb => gdb_7.12.bb} (100%)

-- 
2.7.4



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


Re: [OE-core] [PATCH] gdb 7.11.1 -> 7.12

2016-12-15 Thread Burton, Ross
On 15 December 2016 at 09:16, Zheng Ruoqin 
wrote:

> 1) Upgrade gdb from 7.11.1 to 7.12
> 2) Delete 11 patches below, since they are integrated upstream.
> 0001-include-sys-types.h-for-mode_t.patch
> 0002-make-man-install-relative-to-DESTDIR.patch
> 0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
> 0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
> 0005-Add-support-for-Renesas-SH-sh4-architecture.patch
> 0006-Dont-disable-libreadline.a-when-using-disable-static.patch
> 0007-use-asm-sgidefs.h.patch
> 0008-Use-exorted-definitions-of-SIGRTMIN.patch
> 0009-Change-order-of-CFLAGS.patch
> 0010-resolve-restrict-keyword-conflict.patch
> 0011-avx_mpx.patch
>

NOTE: preferred version 7.11% of gdb not available (for item gdb)
NOTE: versions of gdb available: 7.12

This would be because the preferred version is locked in oe-core:

meta/conf/distro/include/tcmode-default.inc:GDBVERSION ?= "7.11%"

Please also update that reference.

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


Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-15 Thread Andre McCurdy
On Wed, Dec 14, 2016 at 5:04 PM, Randy MacLeod
 wrote:
> On 2016-12-13 04:16 AM, Andre McCurdy wrote:
>>
>> On Mon, Dec 12, 2016 at 9:14 PM, Huang, Jie (Jackie)
>>  wrote:

 From: Andre McCurdy [mailto:armccu...@gmail.com]
 For reference, here's the patch I've been using. It's a slightly more
 generic fix than the one in the KDE bug report.
>>>
>>> Thanks, It's a better patch and I will take it and send as v2 of this
>>> issue if you're
>>> not going to send it yourself, is it fine for you and could you provide
>>> extra info
>>> for the patch header like, upstream-status, written by or Signed-off-by?
>>
>> Sure. I forget why I didn't submit this at the time. The full patch is:
>>
>>> From d34e2a50ca5493f5a0ce9ccad83a36ac33689266 Mon Sep 17 00:00:00 2001
>>
>> From: Andre McCurdy 
>> Date: Fri, 12 Feb 2016 18:22:12 -0800
>> Subject: [PATCH] make ld-XXX.so strlen intercept optional
>>
>> Hack: Depending on how glibc was compiled (e.g. optimised for size or
>> built with _FORTIFY_SOURCE enabled) the strlen symbol might not be
>> found in ld-XXX.so. Therefore although we should still try to
>> intercept it, don't make it mandatory to do so.
>>
>> Upstream-Status: Inappropriate
>
> Can you explain why it's not appropriate for upstream?

Because it doesn't take into account the main reason why valgrind
tries to find a strlen symbol in ld-XXX.so, ie as a sanity check that
debug symbols for ld-XXX.so are available. In OE core, it's OK to
relax the sanity check because we ensure that symbols are available
via an RRECOMMENDS in the valgrind recipe:

  # valgrind needs debug information for ld.so at runtime in order to
  # redirect functions like strlen.
  RRECOMMENDS_${PN} += "${TCLIBC}-dbg"

However applying my patch (or the KDE patch referenced by Khem - which
is an even bigger hack) in a build environment which doesn't try to
make the same guarantees might be dangerous.

For reference, Buildroot handles the problem by never fully stripping ld-XXX.so

  
https://github.com/buildroot/buildroot/commit/1edb4c51dee78d7d26700c037f29558e73d27ee0

> Does valgrind not support running with different optimizations
> of glibc?

Apparently not, but you should probably ask that question on the
valgrind lists rather than here.

A solution which may be more suitable for upstream would be for
valgrind to check for a number of different symbols (rather than just
strlen) and only generate a fatal error if none can be found. That's
not a trivial patch though.

>> Signed-off-by: Andre McCurdy 
>> ---
>>  coregrind/m_redir.c | 13 -
>>  1 file changed, 12 insertions(+), 1 deletion(-)
>>
>> diff --git a/coregrind/m_redir.c b/coregrind/m_redir.c
>> index 7e4df8d..640a346 100644
>> --- a/coregrind/m_redir.c
>> +++ b/coregrind/m_redir.c
>> @@ -1220,7 +1220,18 @@ static void add_hardwired_spec (const  HChar*
>> sopatt, const HChar* fnpatt,
>> spec->from_fnpatt = CONST_CAST(HChar *,fnpatt);
>> spec->to_addr = to_addr;
>> spec->isWrap  = False;
>> -   spec->mandatory   = mandatory;
>> +
>> +   /* Hack: Depending on how glibc was compiled (e.g. optimised for size
>> or
>> +  built with _FORTIFY_SOURCE enabled) the strlen symbol might not be
>> found.
>> +  Therefore although we should still try to intercept it, don't make
>> it
>> +  mandatory to do so. We over-ride "mandatory" here to avoid the need
>> to
>> +  patch the many different architecture specific callers to
>> +  add_hardwired_spec(). */
>> +   if (0==VG_(strcmp)("strlen", fnpatt))
>> +  spec->mandatory = NULL;
>
>
> I know that Jackie has a v2 out but since the interested parties are
> CCed here, and since this is marked as a hack, would there
> be any value in issuing a warning:
>
> #warning "strlen() will not be tracked due to glibc optimization level"
>
> or something like that. Maybe it's overkill since strlen is (should be?)
> side-effect free but I thought I'd share the thought.
>
> What's the right thing to do upstream after we have this hack merged
> locally to fix our ptests?
>
> ../Randy
>
>> +   else
>> +  spec->mandatory = mandatory;
>> +
>> /* VARIABLE PARTS */
>> spec->mark= False; /* not significant */
>> spec->done= False; /* not significant */
>>
>
>
> --
> # Randy MacLeod. SMTS, Linux, Wind River
> Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada,
> K2K 2W5
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] lttng-ust: Patch python shebang appropriately for native builds

2016-12-15 Thread Burton, Ross
On 14 December 2016 at 23:38, Khem Raj  wrote:

> This also means we need to add a dependency on python-native may be it
> should inherit the python native class.
>

Indeed.  For python-native, '#! /usr/bin/env python3' will always work as
that should find the Python that bitbake is running in.

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