Re: [oe] [meta-python][PATCHv3] python-sqlalchemy: update to version 1.1.17

2018-03-07 Thread akuster808


On 03/07/2018 01:09 PM, Derek Straka wrote:
> Feel free to drop that portion of the commit message or I can send
> another rev.

done. its in stagging/master-next

thanks,
Armin
>
> On Wed, Mar 7, 2018 at 2:42 PM, akuster808  > wrote:
>
>
>
> On 03/03/2018 07:40 AM, Derek Straka wrote:
> > License-Update: Update the license checksum for copyright year
> and verify the terms remain the same
> >
> > diff -u SQLAlchemy-1.1.15/LICENSE SQLAlchemy-1.1.17/LICENSE
> > --- SQLAlchemy-1.1.15/LICENSE 2017-11-03 16:47:01.0 -0400
> > +++ SQLAlchemy-1.1.17/LICENSE 2018-02-22 16:08:41.0 -0500
> > @@ -1,6 +1,6 @@
> >  This is the MIT license:
> http://www.opensource.org/licenses/mit-license.php
> 
> >
> > -Copyright (c) 2005-2017 the SQLAlchemy authors and contributors
> .
> > +Copyright (c) 2005-2018 the SQLAlchemy authors and contributors
> .
> >  SQLAlchemy is a trademark of Michael Bayer.
> >
> >  Permission is hereby granted, free of charge, to any person
> obtaining a copy of this
> The above is confusing pw.sh as it thinks it a patch to be applied.
>
> - armin
> >
> > Signed-off-by: Derek Straka  >
> > ---
> >  meta-python/recipes-devtools/python/python-sqlalchemy.inc     
>      | 6 +++---
> >  .../{python-sqlalchemy_1.1.15.bb
>  =>
> python-sqlalchemy_1.1.17.bb } 
>   | 0
> >  .../{python3-sqlalchemy_1.1.15.bb
>  =>
> python3-sqlalchemy_1.1.17.bb
> }  | 0
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> >  rename
> meta-python/recipes-devtools/python/{python-sqlalchemy_1.1.15.bb
>  =>
> python-sqlalchemy_1.1.17.bb }
> (100%)
> >  rename
> meta-python/recipes-devtools/python/{python3-sqlalchemy_1.1.15.bb
>  =>
> python3-sqlalchemy_1.1.17.bb
> } (100%)
> >
> > diff --git
> a/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> > index 2683a6a..0c191ae 100644
> > --- a/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> > +++ b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> > @@ -2,13 +2,13 @@ DESCRIPTION = "Python SQL toolkit and Object
> Relational Mapper that gives \
> >  application developers the full power and flexibility of SQL"
> >  HOMEPAGE = "http://www.sqlalchemy.org/;
> >  LICENSE = "MIT"
> > -LIC_FILES_CHKSUM =
> "file://LICENSE;md5=452f4b8adb0feba42e5be5f1fbfbf538"
> > +LIC_FILES_CHKSUM =
> "file://LICENSE;md5=b1c412c9d8d1ce018f7a9374407c22bb"
> >
> >  PYPI_PACKAGE = "SQLAlchemy"
> >  inherit pypi
> >
> > -SRC_URI[md5sum] = "077f9bd3339957f53068b5572a152674"
> > -SRC_URI[sha256sum] =
> "8b79a5ed91cdcb5abe97b0045664c55c140aec09e5dd5c01303e23de5fe7a95a"
> > +SRC_URI[md5sum] = "03db1c8f8ae911977c0bf3950a4c9c21"
> > +SRC_URI[sha256sum] =
> "6b55ec379c11ad696f9371ce8e0de93c7f21134323f56a56a1b0d8fbef17013c"
> >
> >  RDEPENDS_${PN} += " \
> >      ${PYTHON_PN}-json \
> > diff --git
> a/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.15.bb
> 
> b/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.17.bb
> 
> > similarity index 100%
> > rename from
> meta-python/recipes-devtools/python/python-sqlalchemy_1.1.15.bb
> 
> > rename to
> meta-python/recipes-devtools/python/python-sqlalchemy_1.1.17.bb
> 
> > diff --git
> a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.15.bb
> 
> b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.17.bb
> 
> > similarity index 100%
> > rename from
> meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.15.bb
> 
> > rename to
> meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.17.bb
> 
>
>

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


Re: [oe] [meta-python][PATCH] python3-blivet: fix invoking dd timeout caused partition failed

2018-03-07 Thread Hongxu Jia

On 2018年03月07日 21:39, Tim Orling wrote:
Can we make the default not be infinite timeout? You are solving a 
corner case, special need with a default infinite timeout that may 
have unforeseen side effects in the general case (like a system that 
never responds). Just a thought. What does upstream think?


The python3-blivet is part of target installer anaconda, while you do the
installation by using qemu to simulate without kvm on your desktop,
it will have a low speed disk/cpu to triger the above issue.
(BTW if you use virtualbox to simulate, it works well)

I guess the upstream fedora almost not have the situation to work
(which runqemu is our yocto specific), so they do not care about it.

But I will try to talk with them, to see whether they accept our fixes 
or not.


See:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-anaconda/tree/README

//Hongxu

On Tue, Mar 6, 2018 at 5:18 PM Hongxu Jia > wrote:


This large timeout is needed when running on machines with
lots of disks, or with slow disks.

Signed-off-by: Hongxu Jia >
---
 .../0014-invoking-dd-with-infinite-timeout.patch   | 31
++
 .../python-blivet/python3-blivet_2.2.0.bb
         |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644

meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch

diff --git

a/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch

b/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch
new file mode 100644
index 000..12a9e4f
--- /dev/null
+++

b/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch
@@ -0,0 +1,31 @@
+From 92fe7dfd01131c93a9b2013cabf77d5f46900fab Mon Sep 17 00:00:00
2001
+From: Hongxu Jia >
+Date: Tue, 6 Mar 2018 17:28:56 +0800
+Subject: [PATCH] invoking dd with infinite timeout
+
+This large timeout is needed when running on machines with
+lots of disks, or with slow disks.
+
+Upstream-Status: Pending
+
+Signed-off-by: Hongxu Jia >
+---
+ blivet/devices/partition.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/blivet/devices/partition.py
b/blivet/devices/partition.py
+index a7372fb..8947472 100644
+--- a/blivet/devices/partition.py
 b/blivet/devices/partition.py
+@@ -594,7 +594,7 @@ class PartitionDevice(StorageDevice):
+         cmd = ["dd", "if=/dev/zero", "of=%s" % device, "bs=%d" % bs,
+                "seek=%d" % start, "count=%d" % count]
+         try:
+-            util.run_program(cmd)
++            util.run_program(cmd, timeout=-1)
+         except OSError as e:
+             log.error(str(e))
+         finally:
+--
+1.8.3.1
+
diff --git
a/meta-python/recipes-extended/python-blivet/python3-blivet_2.2.0.bb

b/meta-python/recipes-extended/python-blivet/python3-blivet_2.2.0.bb

index cacca67..46dc32d 100644
---
a/meta-python/recipes-extended/python-blivet/python3-blivet_2.2.0.bb

+++
b/meta-python/recipes-extended/python-blivet/python3-blivet_2.2.0.bb

@@ -23,6 +23,7 @@ SRC_URI =
"git://github.com/rhinstaller/blivet;branch=2.2-devel
 \
file://0011-invoking-fsck-with-infinite-timeout.patch \
file://0012-invoking-mkfs-with-infinite-timeout.patch \
file://0013-Revert-Adapt-to-logging-module-name-change.patch \
+  file://0014-invoking-dd-with-infinite-timeout.patch \
 "

 inherit distro_features_check
--
1.8.3.1

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org

http://lists.openembedded.org/mailman/listinfo/openembedded-devel



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


Re: [oe] [meta-python][PATCHv3] python-sqlalchemy: update to version 1.1.17

2018-03-07 Thread Derek Straka
Feel free to drop that portion of the commit message or I can send another
rev.

On Wed, Mar 7, 2018 at 2:42 PM, akuster808  wrote:

>
>
> On 03/03/2018 07:40 AM, Derek Straka wrote:
> > License-Update: Update the license checksum for copyright year and
> verify the terms remain the same
> >
> > diff -u SQLAlchemy-1.1.15/LICENSE SQLAlchemy-1.1.17/LICENSE
> > --- SQLAlchemy-1.1.15/LICENSE 2017-11-03 16:47:01.0 -0400
> > +++ SQLAlchemy-1.1.17/LICENSE 2018-02-22 16:08:41.0 -0500
> > @@ -1,6 +1,6 @@
> >  This is the MIT license: http://www.opensource.org/
> licenses/mit-license.php
> >
> > -Copyright (c) 2005-2017 the SQLAlchemy authors and contributors  AUTHORS file>.
> > +Copyright (c) 2005-2018 the SQLAlchemy authors and contributors  AUTHORS file>.
> >  SQLAlchemy is a trademark of Michael Bayer.
> >
> >  Permission is hereby granted, free of charge, to any person obtaining a
> copy of this
> The above is confusing pw.sh as it thinks it a patch to be applied.
>
> - armin
> >
> > Signed-off-by: Derek Straka 
> > ---
> >  meta-python/recipes-devtools/python/python-sqlalchemy.inc   |
> 6 +++---
> >  .../{python-sqlalchemy_1.1.15.bb => python-sqlalchemy_1.1.17.bb}| 0
> >  .../{python3-sqlalchemy_1.1.15.bb => python3-sqlalchemy_1.1.17.bb}  | 0
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> >  rename meta-python/recipes-devtools/python/{python-sqlalchemy_1.1.15.bb
> => python-sqlalchemy_1.1.17.bb} (100%)
> >  rename meta-python/recipes-devtools/python/{python3-sqlalchemy_1.
> 1.15.bb => python3-sqlalchemy_1.1.17.bb} (100%)
> >
> > diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> > index 2683a6a..0c191ae 100644
> > --- a/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> > +++ b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> > @@ -2,13 +2,13 @@ DESCRIPTION = "Python SQL toolkit and Object
> Relational Mapper that gives \
> >  application developers the full power and flexibility of SQL"
> >  HOMEPAGE = "http://www.sqlalchemy.org/;
> >  LICENSE = "MIT"
> > -LIC_FILES_CHKSUM = "file://LICENSE;md5=452f4b8adb0feba42e5be5f1fbfbf5
> 38"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=b1c412c9d8d1ce018f7a9374407c22
> bb"
> >
> >  PYPI_PACKAGE = "SQLAlchemy"
> >  inherit pypi
> >
> > -SRC_URI[md5sum] = "077f9bd3339957f53068b5572a152674"
> > -SRC_URI[sha256sum] = "8b79a5ed91cdcb5abe97b0045664c5
> 5c140aec09e5dd5c01303e23de5fe7a95a"
> > +SRC_URI[md5sum] = "03db1c8f8ae911977c0bf3950a4c9c21"
> > +SRC_URI[sha256sum] = "6b55ec379c11ad696f9371ce8e0de9
> 3c7f21134323f56a56a1b0d8fbef17013c"
> >
> >  RDEPENDS_${PN} += " \
> >  ${PYTHON_PN}-json \
> > diff --git a/meta-python/recipes-devtools/python/python-
> sqlalchemy_1.1.15.bb b/meta-python/recipes-devtools/python/python-
> sqlalchemy_1.1.17.bb
> > similarity index 100%
> > rename from meta-python/recipes-devtools/python/python-sqlalchemy_1.1.
> 15.bb
> > rename to meta-python/recipes-devtools/python/python-sqlalchemy_1.1.
> 17.bb
> > diff --git a/meta-python/recipes-devtools/python/python3-
> sqlalchemy_1.1.15.bb b/meta-python/recipes-devtools/python/python3-
> sqlalchemy_1.1.17.bb
> > similarity index 100%
> > rename from meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.
> 15.bb
> > rename to meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.
> 17.bb
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python][PATCHv3] python-sqlalchemy: update to version 1.1.17

2018-03-07 Thread Khem Raj
On Wed, Mar 7, 2018 at 11:42 AM, akuster808  wrote:
>
>
> On 03/03/2018 07:40 AM, Derek Straka wrote:
>> License-Update: Update the license checksum for copyright year and verify 
>> the terms remain the same
>>
>> diff -u SQLAlchemy-1.1.15/LICENSE SQLAlchemy-1.1.17/LICENSE
>> --- SQLAlchemy-1.1.15/LICENSE 2017-11-03 16:47:01.0 -0400
>> +++ SQLAlchemy-1.1.17/LICENSE 2018-02-22 16:08:41.0 -0500
>> @@ -1,6 +1,6 @@
>>  This is the MIT license: http://www.opensource.org/licenses/mit-license.php
>>
>> -Copyright (c) 2005-2017 the SQLAlchemy authors and contributors > AUTHORS file>.
>> +Copyright (c) 2005-2018 the SQLAlchemy authors and contributors > AUTHORS file>.
>>  SQLAlchemy is a trademark of Michael Bayer.
>>
>>  Permission is hereby granted, free of charge, to any person obtaining a 
>> copy of this
> The above is confusing pw.sh as it thinks it a patch to be applied.

yes I have see that too when I added diffs into commit messages patchwork
really did not like it
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python][PATCHv3] python-sqlalchemy: update to version 1.1.17

2018-03-07 Thread akuster808


On 03/03/2018 07:40 AM, Derek Straka wrote:
> License-Update: Update the license checksum for copyright year and verify the 
> terms remain the same
>
> diff -u SQLAlchemy-1.1.15/LICENSE SQLAlchemy-1.1.17/LICENSE
> --- SQLAlchemy-1.1.15/LICENSE 2017-11-03 16:47:01.0 -0400
> +++ SQLAlchemy-1.1.17/LICENSE 2018-02-22 16:08:41.0 -0500
> @@ -1,6 +1,6 @@
>  This is the MIT license: http://www.opensource.org/licenses/mit-license.php
>
> -Copyright (c) 2005-2017 the SQLAlchemy authors and contributors  file>.
> +Copyright (c) 2005-2018 the SQLAlchemy authors and contributors  file>.
>  SQLAlchemy is a trademark of Michael Bayer.
>
>  Permission is hereby granted, free of charge, to any person obtaining a copy 
> of this
The above is confusing pw.sh as it thinks it a patch to be applied.

- armin
>
> Signed-off-by: Derek Straka 
> ---
>  meta-python/recipes-devtools/python/python-sqlalchemy.inc   | 6 
> +++---
>  .../{python-sqlalchemy_1.1.15.bb => python-sqlalchemy_1.1.17.bb}| 0
>  .../{python3-sqlalchemy_1.1.15.bb => python3-sqlalchemy_1.1.17.bb}  | 0
>  3 files changed, 3 insertions(+), 3 deletions(-)
>  rename meta-python/recipes-devtools/python/{python-sqlalchemy_1.1.15.bb => 
> python-sqlalchemy_1.1.17.bb} (100%)
>  rename meta-python/recipes-devtools/python/{python3-sqlalchemy_1.1.15.bb => 
> python3-sqlalchemy_1.1.17.bb} (100%)
>
> diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy.inc 
> b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> index 2683a6a..0c191ae 100644
> --- a/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> +++ b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
> @@ -2,13 +2,13 @@ DESCRIPTION = "Python SQL toolkit and Object Relational 
> Mapper that gives \
>  application developers the full power and flexibility of SQL"
>  HOMEPAGE = "http://www.sqlalchemy.org/;
>  LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=452f4b8adb0feba42e5be5f1fbfbf538"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=b1c412c9d8d1ce018f7a9374407c22bb"
>  
>  PYPI_PACKAGE = "SQLAlchemy"
>  inherit pypi
>  
> -SRC_URI[md5sum] = "077f9bd3339957f53068b5572a152674"
> -SRC_URI[sha256sum] = 
> "8b79a5ed91cdcb5abe97b0045664c55c140aec09e5dd5c01303e23de5fe7a95a"
> +SRC_URI[md5sum] = "03db1c8f8ae911977c0bf3950a4c9c21"
> +SRC_URI[sha256sum] = 
> "6b55ec379c11ad696f9371ce8e0de93c7f21134323f56a56a1b0d8fbef17013c"
>  
>  RDEPENDS_${PN} += " \
>  ${PYTHON_PN}-json \
> diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.15.bb 
> b/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.17.bb
> similarity index 100%
> rename from meta-python/recipes-devtools/python/python-sqlalchemy_1.1.15.bb
> rename to meta-python/recipes-devtools/python/python-sqlalchemy_1.1.17.bb
> diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.15.bb 
> b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.17.bb
> similarity index 100%
> rename from meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.15.bb
> rename to meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.17.bb

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


Re: [oe] [meta-oe][PATCH 2/2] php: Security Advisory - php - CVE-2018-5712

2018-03-07 Thread akuster808


On 03/04/2018 09:08 PM, Zhou, Li wrote:
>
>
> On 03/04/2018 11:00 PM, akuster808 wrote:
>>
>> On 02/25/2018 11:50 PM, Li Zhou wrote:
>>> Porting the patch from >> h=73ca9b37731dd9690ffd9706333b17eaf90ea091> to solve CVE-2018-5712.
>>>
>>> Signed-off-by: Li Zhou 
>> This would not apply.
>> can you double check?
>
> I just downloaded the newest code and it can apply successfully.
> Have you already applied the patch for CVE-2018-5711 which I sent
> together with this patch?
yes.

> If yes, please give me more information about the failure. Thanks.

./contrib/pw-am.sh 148343
2018-03-07 11:39:39
URL:https://patchwork.openembedded.org/patch/148343/mbox/ [24852] ->
"pw-am-148343.patch" [1]
Applying: php: Security Advisory - php - CVE-2018-5712
.git/rebase-apply/patch:57: space before tab in indent.
 static const char newstub0[] = " 2,\n'c' =>
'text/plain',\n'cc' => 'text/plain',\n'cpp' => 'text/plain',\n'c++' =>
'text/plain',\n'dtd' => 'text/plain',\n'h' => 'text/plain',\n'log' =>
'text/plain',\n'rng' => 'text/plain',\n'txt' => 'text/plain',\n'xsd' =>
'text/plain',\n'php' => 1,\n'inc' => 1,\n'avi' => 'video/avi',\n'bmp' =>
'image/bmp',\n'css' => 'text/css',\n'gif' => 'image/gif',\n'htm' =>
'text/html',\n'html' => 'text/html',\n'htmls' => 'text/html',\n'ico' =>
'image/x-ico',
.git/rebase-apply/patch:63: space before tab in indent.
 static const char newstub2[] = "';\nconst LEN = ";
.git/rebase-apply/patch:64: space before tab in indent.
 static const char newstub3_0[] = ";\n\nstatic function go($return =
false)\n{\n$fp = fopen(__FILE__, 'rb');\nfseek($fp, self::LEN);\n$L =
unpack('V', $a = fread($fp, 4));\n$m = '';\n\ndo {\n$read = 8192;\nif
($L[1] - strlen($m) < 8192) {\n$read = $L[1] - strlen($m);\n}\n$last =
fread($fp, $read);\n$m .= $last;\n} while (strlen($last) && strlen($m) <
$L[1]);\n\nif (strlen($m) < $L[1]) {\ndie('ERROR: manifest length read
was \"' .\nstrlen($m) .'\" should be \"' .\n$L[1] . '\"');\n}\n\n$info =
self::_unpack($m);\n$f = $info['c'];\n\nif ($f & self::GZ) {\nif
(!function_exists('gzinflate')) {\ndie('Error: zlib extension is not
enabled -' .\n' gzinflate() function needed for zlib-compressed
.phars');\n}\n}\n\nif ($f & self::BZ2) {\nif
(!function_exists('bzdecompress')) {\ndie('Error: bzip2 extension is not
enabled -' .\n' bzdecompress() function needed for bz2-compressed
.phars');\n}\n}\n\n$temp = self::tmpdir();\n\nif (!$temp ||
!is_writable($temp)) {\n$sessionpath = session_sa
.git/rebase-apply/patch:67: space before tab in indent.
 static const char newstub3_1[] = "ction tmpdir()\n{\nif
(strpos(PHP_OS, 'WIN') !== false) {\nif ($var = getenv('TMP') ?
getenv('TMP') : getenv('TEMP')) {\nreturn $var;\n}\nif (is_dir('/temp')
|| mkdir('/temp')) {\nreturn realpath('/temp');\n}\nreturn false;\n}\nif
($var = getenv('TMPDIR')) {\nreturn $var;\n}\nreturn
realpath('/tmp');\n}\n\nstatic function _unpack($m)\n{\n$info =
unpack('V', substr($m, 0, 4));\n $l = unpack('V', substr($m, 10,
4));\n$m = substr($m, 14 + $l[1]);\n$s = unpack('V', substr($m, 0,
4));\n$o = 0;\n$start = 4 + $s[1];\n$ret['c'] = 0;\n\nfor ($i = 0; $i <
$info[1]; $i++) {\n $len = unpack('V', substr($m, $start, 4));\n$start
+= 4;\n $savepath = substr($m, $start, $len[1]);\n$start += $len[1];\n  
$ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf',
substr($m, $start, 24)));\n$ret['m'][$savepath][3] = sprintf('%u',
$ret['m'][$savepath][3]\n& 0x);\n$ret['m'][$savepath][7] =
$o;\n$o += $ret['m'][$savepath][2];\n$start += 24 + $ret['m
fatal: corrupt patch at line 451
Patch failed at 0001 php: Security Advisory - php - CVE-2018-5712

>
>> - amrin
>>> ---
>>>   .../php/php-7.1.9/CVE-2018-5712.patch  | 432
>>> +
>>>   meta-oe/recipes-devtools/php/php_7.1.9.bb  |   1 +
>>>   2 files changed, 433 insertions(+)
>>>   create mode 100644
>>> meta-oe/recipes-devtools/php/php-7.1.9/CVE-2018-5712.patch
>>>
>>> diff --git
>>> a/meta-oe/recipes-devtools/php/php-7.1.9/CVE-2018-5712.patch
>>> b/meta-oe/recipes-devtools/php/php-7.1.9/CVE-2018-5712.patch
>>> new file mode 100644
>>> index 000..87ccc02
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-devtools/php/php-7.1.9/CVE-2018-5712.patch
>>> @@ -0,0 +1,432 @@
>>> +From fc2ac180fdaf4589c203802fff308fb8cbce58c6 Mon Sep 17 00:00:00 2001
>>> +From: Li Zhou 
>>> +Date: Sun, 11 Feb 2018 15:45:32 +0800
>>> +Subject: [PATCH] Fix bug #74782: remove file name from output to
>>> avoid XSS
>>> +
>>> +Upstream-Status: Backport
>>> +CVE: CVE-2018-5712
>>> +Signed-off-by: Li Zhou 
>>> +---
>>> + ext/phar/shortarc.php |  2 +-
>>> + ext/phar/stub.h   |  4 ++--
>>> + ext/phar/tests/cache_list/copyonwrite11.phar.phpt |  4 ++--
>>> + ext/phar/tests/phar_commitwrite.phpt  |  2 +-
>>> + ext/phar/tests/phar_convert_repeated.phpt |  2 +-
>>> + 

[oe] [meta-gnome][PATCH 23/23] gnome-themes: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb 
b/meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb
index 1a89f48..c1ecc23 100644
--- a/meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb
+++ b/meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb
@@ -15,7 +15,9 @@ EXTRA_OECONF += "--enable-all-themes \
 --with-iconmap=${STAGING_LIBEXECDIR_NATIVE}/icon-name-mapping \
 "
 
-inherit gnomebase perlnative
+inherit distro_features_check gnomebase perlnative
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 PACKAGES =+ " gnome-theme-crux gnome-theme-highcontrast 
gnome-theme-highcontrastinverse gnome-theme-highcontrastlargeprint 
gnome-theme-highcontrastlargeprintinverse gnome-theme-largeprint 
gnome-theme-mist"
 FILES_gnome-theme-crux = "${datadir}/themes/Crux ${datadir}/icons/Crux"
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 19/23] libgnomecanvas: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.30.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.30.3.bb 
b/meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.30.3.bb
index 41a89ce..f21cc5e 100644
--- a/meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.30.3.bb
+++ b/meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.30.3.bb
@@ -3,7 +3,9 @@ LICENSE = "LGPLv2"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
 SECTION = "x11/gnome/libs"
 
-inherit gnomebase gtk-doc
+inherit distro_features_check gnomebase gtk-doc
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 # intltool to provide IT_PROG_INTLTOOL
 # configure: line 12654: syntax error near unexpected token `0.35.0'
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 20/23] libgnomeui: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb 
b/meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb
index b78ffc5..ff8a680 100644
--- a/meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb
+++ b/meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
 SECTION = "x11/gnome/libs"
 DEPENDS = "libgnome libgnomecanvas libbonoboui libgnome-keyring 
intltool-native gnome-common-native"
 
-inherit gnome
+inherit distro_features_check gnome
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 FILES_${PN} += "${libdir}/gtk-2.0/*/filesystems/lib*.so \
 ${libdir}/libglade/*/lib*.so \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 21/23] libbonoboui: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb 
b/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb
index b3ca0a4..8e3169e 100644
--- a/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb
+++ b/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb
@@ -3,7 +3,9 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"
 
-inherit gnomebase pkgconfig gtk-doc
+inherit distro_features_check gnomebase pkgconfig gtk-doc
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI += "file://gcc5.patch \
 
file://0001-bonobo-ui-node-qualify-functions-with-G_GNUC_PRINTF.patch \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 18/23] glade3: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-devtools/glade/glade3_3.8.5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-devtools/glade/glade3_3.8.5.bb 
b/meta-gnome/recipes-devtools/glade/glade3_3.8.5.bb
index 69162bd..6667e29 100644
--- a/meta-gnome/recipes-devtools/glade/glade3_3.8.5.bb
+++ b/meta-gnome/recipes-devtools/glade/glade3_3.8.5.bb
@@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \
 file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475"
 DEPENDS = "gtk+ gnome-doc-utils gnome-common libxml2 intltool-native"
 
-inherit autotools pkgconfig pythonnative gtk-icon-cache
+inherit distro_features_check autotools pkgconfig pythonnative gtk-icon-cache
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = 
"http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \
file://0001-gnome-doc-utils.make-sysrooted-pkg-config.patch \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 22/23] libgdata: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/libgdata/libgdata_0.16.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgdata/libgdata_0.16.1.bb 
b/meta-gnome/recipes-gnome/libgdata/libgdata_0.16.1.bb
index 9b02512..80cbae3 100644
--- a/meta-gnome/recipes-gnome/libgdata/libgdata_0.16.1.bb
+++ b/meta-gnome/recipes-gnome/libgdata/libgdata_0.16.1.bb
@@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=fbc093901857fcd118f065f900982c24 \
 
 DEPENDS = "gnome-common-native libxml2 glib-2.0 libsoup-2.4 intltool-native 
liboauth gcr json-glib"
 
-inherit gnomebase pkgconfig autotools-brokensep gettext gtk-doc vala 
gobject-introspection
+inherit distro_features_check gnomebase pkgconfig autotools-brokensep gettext 
gtk-doc vala gobject-introspection
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_configure_prepend_class-target () {
 # introspection.m4 pre-packaged with upstream tarballs does not yet
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 17/23] libgtkstylus: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb 
b/meta-gnome/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb
index 3cd7910..a7c8a6f 100644
--- a/meta-gnome/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb
+++ b/meta-gnome/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb
@@ -5,7 +5,9 @@ LICENSE = "LGPL-2.0+"
 LIC_FILES_CHKSUM = 
"file://tap.c;beginline=1;endline=20;md5=71756eeb144e9eeb177c69aa672b1635"
 PR = "r4"
 
-inherit autotools pkgconfig
+inherit distro_features_check autotools pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "http://burtonini.com/temp/${BP}.tar.gz \
 file://gtkstylus.sh"
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 13/23] devilspie: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb 
b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb
index ae2ec5a..1c7f79f 100644
--- a/meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb
+++ b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb
@@ -14,7 +14,9 @@ SRC_URI = " \
 SRC_URI[md5sum] = "f205409e921aa2d86481f1b8d518da45"
 SRC_URI[sha256sum] = 
"11f5bc310fba4df404c057461ffb3fadac8ef51d211008c665c48f587a5a3f85"
 
-inherit pkgconfig gettext
+inherit distro_features_check pkgconfig gettext
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_compile() {
 export GTK2=1
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 15/23] gedit: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb 
b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
index 5d244de..ba425ad 100644
--- a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
+++ b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
@@ -7,7 +7,10 @@ DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ 
gtksourceview2 iso-c
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-inherit gnome gettext pythonnative
+inherit distro_features_check gnome gettext pythonnative
+
+REQUIRED_DISTRO_FEATURES = "x11"
+
 SRC_URI = 
"${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
 \
file://0001-workaround-void-pointer-arithmetic.patch \
file://0001-Remove-help-directory-from-build.patch \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 14/23] gparted: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb 
b/meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb
index cea0e3a..cdc882a 100644
--- a/meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb
+++ b/meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb
@@ -3,7 +3,9 @@ HOMEPAGE = "http://gparted.org/index.php;
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-inherit autotools pkgconfig gtk-icon-cache
+inherit distro_features_check autotools pkgconfig gtk-icon-cache
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = " \
 
${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 16/23] gnome-keyring: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb 
b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
index fd6ca73..9d85c65 100644
--- a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
@@ -13,7 +13,9 @@ SECTION = "x11/gnome"
 
 PR = "r12"
 
-inherit autotools gnome gtk-doc pkgconfig gsettings
+inherit distro_features_check autotools gnome gtk-doc pkgconfig gsettings
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI += "file://egg-asn1x.patch \
 file://musl.patch \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 12/23] abiword: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/abiword/abiword_3.0.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/abiword/abiword_3.0.2.bb 
b/meta-gnome/recipes-gnome/abiword/abiword_3.0.2.bb
index 2a13e48..1d92b04 100644
--- a/meta-gnome/recipes-gnome/abiword/abiword_3.0.2.bb
+++ b/meta-gnome/recipes-gnome/abiword/abiword_3.0.2.bb
@@ -38,7 +38,9 @@ SRC_URI[sha256sum] = 
"afbfd458fd02989d8b0c6362ba8a4c14686d89666f54cfdb5501bd2090
 #want 3.x from 3.x.y for the installation directory
 SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
 
-inherit autotools-brokensep pkgconfig
+inherit distro_features_check autotools-brokensep pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 PACKAGECONFIG ??= " \
 collab-backend-xmpp collab-backend-tcp \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 11/23] network-manager-applet: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 .../network-manager-applet/network-manager-applet_1.4.4.bb| 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.4.4.bb
 
b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.4.4.bb
index 14b336a..d6e1db0 100644
--- 
a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.4.4.bb
+++ 
b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.4.4.bb
@@ -7,7 +7,9 @@ DEPENDS = "gtk+3 libnotify libsecret networkmanager dbus-glib \
intltool-native \
 "
 
-inherit gnomebase gsettings gtk-icon-cache gobject-introspection
+inherit distro_features_check gnomebase gsettings gtk-icon-cache 
gobject-introspection
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 GNOME_COMPRESS_TYPE = "xz"
 
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 10/23] libtimezonemap: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/libtimezonemap/libtimezonemap_0.4.5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libtimezonemap/libtimezonemap_0.4.5.bb 
b/meta-gnome/recipes-gnome/libtimezonemap/libtimezonemap_0.4.5.bb
index d6aeed3..957d7d0 100644
--- a/meta-gnome/recipes-gnome/libtimezonemap/libtimezonemap_0.4.5.bb
+++ b/meta-gnome/recipes-gnome/libtimezonemap/libtimezonemap_0.4.5.bb
@@ -15,7 +15,9 @@ DEPENDS = "gtk+3 gdk-pixbuf libsoup-2.4 json-glib 
gnome-common-native \
 
 B = "${S}"
 
-inherit autotools pkgconfig gobject-introspection
+inherit distro_features_check autotools pkgconfig gobject-introspection
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_configure_prepend() {
(cd ${S}; NOCONFIGURE="yes" . ${S}/autogen.sh)
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 08/23] libgnomekbd: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/libgnome/libgnomekbd_3.22.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgnome/libgnomekbd_3.22.0.bb 
b/meta-gnome/recipes-gnome/libgnome/libgnomekbd_3.22.0.bb
index 12ed81d..40249fd 100644
--- a/meta-gnome/recipes-gnome/libgnome/libgnomekbd_3.22.0.bb
+++ b/meta-gnome/recipes-gnome/libgnome/libgnomekbd_3.22.0.bb
@@ -6,7 +6,9 @@ SECTION = "x11/gnome/libs"
 
 DEPENDS = "gconf glib-2.0 libxklavier gtk+3 intltool-native"
 
-inherit gnome gobject-introspection gettext
+inherit distro_features_check gnome gobject-introspection gettext
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 GNOME_COMPRESS_TYPE = "xz"
 
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 09/23] keybinder: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-support/keybinder/keybinder_3.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb 
b/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
index d6744a3..0a0a3e6 100644
--- a/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
+++ b/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
@@ -18,7 +18,9 @@ SRC_URI = 
"git://github.com/engla/keybinder.git;branch=keybinder-3.0 \
 
 RDEPENDS_${PN} = "gtk+"
 
-inherit autotools gtk-doc gobject-introspection
+inherit distro_features_check autotools gtk-doc gobject-introspection
+
+REQUIRED_DISTRO_FEATURES = "x11"
 do_configure_prepend() {
touch ${S}/ChangeLog
 }
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 06/23] onboard: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-support/onboard/onboard_1.4.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-support/onboard/onboard_1.4.1.bb 
b/meta-gnome/recipes-support/onboard/onboard_1.4.1.bb
index 10765ee..4e49bec 100644
--- a/meta-gnome/recipes-support/onboard/onboard_1.4.1.bb
+++ b/meta-gnome/recipes-support/onboard/onboard_1.4.1.bb
@@ -10,7 +10,9 @@ SRC_URI = 
"https://launchpad.net/onboard/1.4/${PV}/+download/${BPN}-${PV}.tar.gz
 SRC_URI[md5sum] = "1a2fbe82e934f5b37841d17ff51e80e8"
 SRC_URI[sha256sum] = 
"01cae1ac5b1ef1ab985bd2d2d79ded6fc99ee04b1535cc1bb191e43a231a3865"
 
-inherit setuptools3 pkgconfig gtk-icon-cache gsettings
+inherit distro_features_check setuptools3 pkgconfig gtk-icon-cache gsettings
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 FILES_${PN} += " \
 ${datadir}/dbus-1 \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 07/23] gnome-menus3: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/gnome-menus/gnome-menus3_3.10.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gnome-menus/gnome-menus3_3.10.1.bb 
b/meta-gnome/recipes-gnome/gnome-menus/gnome-menus3_3.10.1.bb
index 01da347..647ae91 100644
--- a/meta-gnome/recipes-gnome/gnome-menus/gnome-menus3_3.10.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-menus/gnome-menus3_3.10.1.bb
@@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
 DEPENDS = "python libxml2 gconf popt gtk+3 intltool-native gnome-common-native"
 
-inherit gnomebase pkgconfig python-dir pythonnative gobject-introspection
+inherit distro_features_check gnomebase pkgconfig python-dir pythonnative 
gobject-introspection
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 BPN = "gnome-menus"
 
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 04/23] evince: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/evince/evince_3.24.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb 
b/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb
index 78a9495..c7ecf2b 100644
--- a/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb
+++ b/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb
@@ -7,6 +7,8 @@ PR = "r5"
 
 inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection 
distro_features_check systemd
 
+REQUIRED_DISTRO_FEATURES = "x11"
+
 SRC_URI = 
"${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
 \
file://0001-help-remove-YELP-macro.patch \
file://0001-Add-format-attribute-to-_synctex_malloc.patch \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 05/23] evolution-data-server: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-gnome/eds/evolution-data-server_3.26.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server_3.26.3.bb 
b/meta-gnome/recipes-gnome/eds/evolution-data-server_3.26.3.bb
index 2d410e2..f4ff489 100644
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server_3.26.3.bb
+++ b/meta-gnome/recipes-gnome/eds/evolution-data-server_3.26.3.bb
@@ -14,7 +14,9 @@ DEPENDS = " \
 dbus db virtual/libiconv zlib libsoup-2.4 libglade libical nss libsecret \
 "
 
-inherit gnomebase cmake gtk-doc gettext gobject-introspection perlnative 
pythonnative
+inherit distro_features_check gnomebase cmake gtk-doc gettext 
gobject-introspection perlnative pythonnative
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI += " \
 file://0001-CMakeLists.txt-Remove-TRY_RUN-for-iconv.patch \
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 03/23] florence: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-gnome/recipes-support/florence/florence_0.6.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-support/florence/florence_0.6.3.bb 
b/meta-gnome/recipes-support/florence/florence_0.6.3.bb
index b9b7d0c..bb55721 100644
--- a/meta-gnome/recipes-support/florence/florence_0.6.3.bb
+++ b/meta-gnome/recipes-support/florence/florence_0.6.3.bb
@@ -12,7 +12,9 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/${PN}/${PN}/${PV}/${PN}-${PV}.tar.bz2"
 SRC_URI[md5sum] = "8775051d7352f75dec5a86dc9964e8e0"
 SRC_URI[sha256sum] = 
"422992fd07d285be73cce721a203e22cee21320d69b0fda1579ce62944c5091e"
 
-inherit gettext autotools gconf pkgconfig
+inherit distro_features_check gettext autotools gconf pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 EXTRA_OECONF = "--disable-scrollkeeper --without-docs --without-at-spi 
--without-panelapplet --without-xrecord"
 
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 02/23] gupnp-tools: only include when x11 in DISTRO_FEATURES

2018-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.8.13.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.8.13.bb 
b/meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.8.13.bb
index 9360d65..3ddb818 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.8.13.bb
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.8.13.bb
@@ -8,4 +8,6 @@ RRECOMMENDS_${PN} = "adwaita-icon-theme"
 SRC_URI = "http://download.gnome.org/sources/${BPN}/0.8/${BPN}-${PV}.tar.xz;
 SRC_URI[md5sum] = "212d85ebce89b32468b59e1164050d40"
 SRC_URI[sha256sum] = 
"aa3decb9d532c0e2e505adc592f431fd81c0231ded2981129e87da13712479ed"
-inherit autotools pkgconfig gettext
+inherit distro_features_check autotools pkgconfig gettext
+
+REQUIRED_DISTRO_FEATURES = "x11"
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 01/23] santiy-meta-gnome: add class for bbappend files checking

2018-03-07 Thread Armin Kuster
Idea taken from meta-virt

Add a new class, sanity-meta-gnome.bbclass, to check for whether necessary
settings are available for bbappend files in this layer to be effective,
and warn users if not.

In addition, a variable SKIP_SANITY_BBAPPEND_CHECK is added to enable users
to explicitly skip the checking to avoid unwanted warnings.

Signed-off-by: Armin Kuster 
---
 meta-gnome/README| 23 +++
 meta-gnome/classes/sanity-meta-gnome.bbclass | 10 ++
 meta-gnome/conf/layer.conf   |  4 
 3 files changed, 37 insertions(+)
 create mode 100644 meta-gnome/classes/sanity-meta-gnome.bbclass

diff --git a/meta-gnome/README b/meta-gnome/README
index 0c4fbd2..ef3a6f3 100644
--- a/meta-gnome/README
+++ b/meta-gnome/README
@@ -1,3 +1,25 @@
+meta-gnome
+===
+
+The recipe in this layer needs to have 'x11' in DISTRO_FEATURES 
+to have effect. To enable them, add in configuration file the following line.
+
+  DISTRO_FEATURES_append = " x11"
+
+If meta-gnome is included, but x11 is not enabled as a
+distro feature a warning is printed at parse time:
+
+You have included the meta-gnome layer, but
+'x11' has not been enabled in your DISTRO_FEATURES.
+
+If you know what you are doing, this warning can be disabled by setting the 
following
+variable in your configuration:
+
+  SKIP_META_VIRT_SANITY_CHECK = 1
+
+
+Dependencies
+
 This layer depends on:
 
 URI: git://github.com/openembedded/oe-core.git
@@ -14,3 +36,4 @@ When sending single patches, please using something like:
 'git send-email -M -1 --to openembedded-devel@lists.openembedded.org 
--subject-prefix=meta-gnome][PATCH'
 
 Interim layer maintainer: Martin Jansa 
+
diff --git a/meta-gnome/classes/sanity-meta-gnome.bbclass 
b/meta-gnome/classes/sanity-meta-gnome.bbclass
new file mode 100644
index 000..331ea19
--- /dev/null
+++ b/meta-gnome/classes/sanity-meta-gnome.bbclass
@@ -0,0 +1,10 @@
+addhandler gnome_bbappend_distrocheck
+gnome_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck"
+python gnome_bbappend_distrocheck() {
+skip_check = e.data.getVar('SKIP_META_GNOME_SANITY_CHECK') == "1"
+if 'x11' not in e.data.getVar('DISTRO_FEATURES').split() and not 
skip_check:
+bb.warn("You have included the meta-gnome layer, but \
+'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files \
+may not take effect. See the meta-gnome README for details on enabling \
+meta-gnome support.")
+}
diff --git a/meta-gnome/conf/layer.conf b/meta-gnome/conf/layer.conf
index fb89c14..37215a7 100644
--- a/meta-gnome/conf/layer.conf
+++ b/meta-gnome/conf/layer.conf
@@ -13,3 +13,7 @@ BBFILE_PRIORITY_gnome-layer = "7"
 LAYERVERSION_gnome-layer = "1"
 
 LAYERDEPENDS_gnome-layer = "core openembedded-layer networking-layer"
+
+# Sanity check for meta-gnome layer.
+# Setting SKIP_META_GNOME_SANITY_CHECK to "1" would skip the bbappend files 
check.
+INHERIT += "sanity-meta-gnome"
-- 
2.7.4

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


Re: [oe] [meta-oe][PATCH 32/36] rocksdb: move to recipes-bsp

2018-03-07 Thread akuster808


On 03/05/2018 04:44 AM, Bach, Pascal wrote:
> Hi Armin
>
> Why was this moved to recipes-bsp? I don't see the relation.
Hmm, don't recall how I came to that conclusion. recipes-dbs better?
> The same question is why leveldb was moved to recipes-security?
same response as above.
>
> What did I miss?
you didn't. Thanks for query.

- armin
>
> Pascal
>
>> -Original Message-
>> From: openembedded-devel-boun...@lists.openembedded.org
>> [mailto:openembedded-devel-boun...@lists.openembedded.org] On
>> Behalf Of Armin Kuster
>> Sent: Sonntag, 25. Februar 2018 22:33
>> To: openembedded-devel@lists.openembedded.org
>> Subject: [oe] [meta-oe][PATCH 32/36] rocksdb: move to recipes-bsp
>>
>> Signed-off-by: Armin Kuster 
>> ---
>>  meta-oe/{recipes-extended => recipes-bsp}/rocksdb/rocksdb_git.bb | 0
>>  1 file changed, 0 insertions(+), 0 deletions(-)  rename meta-oe/{recipes-
>> extended => recipes-bsp}/rocksdb/rocksdb_git.bb (100%)
>>
>> diff --git a/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb b/meta-
>> oe/recipes-bsp/rocksdb/rocksdb_git.bb
>> similarity index 100%
>> rename from meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
>> rename to meta-oe/recipes-bsp/rocksdb/rocksdb_git.bb
>> --
>> 2.7.4
>>
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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


[oe] [meta-oe][PATCH] gnulib: use deltask instead of noexec

2018-03-07 Thread Mark Asselstine
When building an image which included 'netcf' I saw the following
warning which is followed by a python backtrace:

  WARNING: cube-dom0-0.6-r0 do_rootfs: \
  Manifest .../manifest-x86_64_x86_64-nativesdk-gnulib.package_write_rpm \
  not found in genericx86_64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk \
  (variant '')?

>From this we find that the 'gnulib' package would fail the manifest
crosscheck for the 'package_write_rpm' task. By switching from
'noexec' to 'deltask' for this task (and its "siblings") we completely
remove the task and thus there is not crosscheck to fail.

NOTE that there is a pending merge which will change the backtrace for
a proper ERROR: [package_manager.py: Print offending package instead
of non-sense trace]

Signed-off-by: Mark Asselstine 
---
 meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb 
b/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb
index b505ac1..b72ffa9 100644
--- a/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb
+++ b/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb
@@ -29,8 +29,8 @@ do_configure[noexec] = "1"
 do_compile[noexec] = "1"
 do_package[noexec] = "1"
 do_packagedata[noexec] = "1"
-do_package_write_ipk[noexec] = "1"
-do_package_write_deb[noexec] = "1"
-do_package_write_rpm[noexec] = "1"
+deltask package_write_ipk
+deltask package_write_deb
+deltask package_write_rpm
 
 BBCLASSEXTEND = "native"
-- 
2.7.4

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


Re: [oe] [meta-python][PATCH] python3-blivet: fix invoking dd timeout caused partition failed

2018-03-07 Thread Tim Orling
Can we make the default not be infinite timeout? You are solving a corner
case, special need with a default infinite timeout that may have unforeseen
side effects in the general case (like a system that never responds). Just
a thought. What does upstream think?
On Tue, Mar 6, 2018 at 5:18 PM Hongxu Jia  wrote:

> This large timeout is needed when running on machines with
> lots of disks, or with slow disks.
>
> Signed-off-by: Hongxu Jia 
> ---
>  .../0014-invoking-dd-with-infinite-timeout.patch   | 31
> ++
>  .../python-blivet/python3-blivet_2.2.0.bb  |  1 +
>  2 files changed, 32 insertions(+)
>  create mode 100644
> meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch
>
> diff --git
> a/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch
> b/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch
> new file mode 100644
> index 000..12a9e4f
> --- /dev/null
> +++
> b/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch
> @@ -0,0 +1,31 @@
> +From 92fe7dfd01131c93a9b2013cabf77d5f46900fab Mon Sep 17 00:00:00 2001
> +From: Hongxu Jia 
> +Date: Tue, 6 Mar 2018 17:28:56 +0800
> +Subject: [PATCH] invoking dd with infinite timeout
> +
> +This large timeout is needed when running on machines with
> +lots of disks, or with slow disks.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Hongxu Jia 
> +---
> + blivet/devices/partition.py | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/blivet/devices/partition.py b/blivet/devices/partition.py
> +index a7372fb..8947472 100644
> +--- a/blivet/devices/partition.py
>  b/blivet/devices/partition.py
> +@@ -594,7 +594,7 @@ class PartitionDevice(StorageDevice):
> + cmd = ["dd", "if=/dev/zero", "of=%s" % device, "bs=%d" % bs,
> +"seek=%d" % start, "count=%d" % count]
> + try:
> +-util.run_program(cmd)
> ++util.run_program(cmd, timeout=-1)
> + except OSError as e:
> + log.error(str(e))
> + finally:
> +--
> +1.8.3.1
> +
> diff --git a/meta-python/recipes-extended/python-blivet/
> python3-blivet_2.2.0.bb b/meta-python/recipes-extended/python-blivet/
> python3-blivet_2.2.0.bb
> index cacca67..46dc32d 100644
> --- a/meta-python/recipes-extended/python-blivet/python3-blivet_2.2.0.bb
> +++ b/meta-python/recipes-extended/python-blivet/python3-blivet_2.2.0.bb
> @@ -23,6 +23,7 @@ SRC_URI = "git://
> github.com/rhinstaller/blivet;branch=2.2-devel \
> file://0011-invoking-fsck-with-infinite-timeout.patch \
> file://0012-invoking-mkfs-with-infinite-timeout.patch \
> file://0013-Revert-Adapt-to-logging-module-name-change.patch \
> +   file://0014-invoking-dd-with-infinite-timeout.patch \
>  "
>
>  inherit distro_features_check
> --
> 1.8.3.1
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel