Re: [oe] [meta-perl][PATCH] libconfig-autoconf-perl: add recipe

2020-01-02 Thread Jens Rehsack


> Am 03.01.2020 um 04:28 schrieb Khem Raj :
> 
> On Thu, Jan 2, 2020 at 5:37 AM Jens Rehsack  wrote:
>> 
>> Introduce Config::Autoconf module to meta-perl which will allow some
>> probes can be run without leaving perl5 context.
>> 
>> Signed-off-by: Jens Rehsack 
>> ---
>> .../libconfig-autoconf-perl_0.317.bb  | 41 +++
>> 1 file changed, 41 insertions(+)
>> create mode 100644 
>> meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
>> 
>> diff --git 
>> a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb 
>> b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
>> new file mode 100644
>> index 0..62983764f
>> --- /dev/null
>> +++ b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
>> @@ -0,0 +1,41 @@
>> +# Copyright (C) 2020 Jens Rehsack 
>> +# Released under the MIT license (see COPYING.MIT for the terms)
>> +
>> +SUMMARY = "A module to implement some of AutoConf macros in pure perl"
>> +DESCRIPTION = "Config::AutoConf is intended to provide the same 
>> opportunities to Perl \
>> +developers as GNU Autoconf  does for 
>> \
>> +Shell developers."
>> +
>> +HOMEPAGE=   "https://metacpan.org/release/Config-AutoConf;
>> +
>> +SECTION = "libs"
>> +LICENSE = "Artistic-1.0 | GPL-1.0+"
>> +
>> +LIC_FILES_CHKSUM = 
>> "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798
>>  \
>> +file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
>> +
>> +SRC_URI = 
>> "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Config-AutoConf-0.317.tar.gz"
>> +
>> +SRC_URI[md5sum] = "29f87fc7803f1725f6daafcf416089ce"
>> +SRC_URI[sha256sum] = 
>> "01e4b22d2fecb7cfd3cc1f4dabe95cd137cf249cc5e38184f88556e5c98a9ce1"
>> +RDEPENDS_${PN} += "libcapture-tiny-perl"
>> +RDEPENDS_${PN} += "perl-module-base"
>> +RDEPENDS_${PN} += "perl-module-carp"
>> +RDEPENDS_${PN} += "perl-module-config"
>> +RDEPENDS_${PN} += "perl-module-constant"
>> +RDEPENDS_${PN} += "perl-module-file-basename"
>> +RDEPENDS_${PN} += "perl-module-file-spec"
>> +RDEPENDS_${PN} += "perl-module-file-temp"
>> +RDEPENDS_${PN} += "perl-module-extutils-cbuilder"
>> +RDEPENDS_${PN} += "perl-module-extutils-cbuilder-unix"
> 
> perl-module-extutils-cbuilder-unix seems to be not provided by anyone,
> I am seeing
> 
> 18:24:25 WARNING: libconfig-autoconf-perl-0.317-r0 do_package_qa: QA
> Issue: libconfig-autoconf-perl rdepends on
> perl-module-extutils-cbuilder-unix, but it isn't a build dependency?
> [build-deps]

That's because the (autogenerated) package is 
perl-module-extutils-cbuilder-platform-unix - a typo.
Could be that one, too.

> perhaps you need to bring this recipe along, from meta-cpan

meta-cpan packages only CPAN distributions. That one is a core module, 
automatically
split into zillion of micro-packages ... :/

>> +RDEPENDS_${PN} += "perl-module-scalar-util"
>> +RDEPENDS_${PN} += "perl-module-strict"
>> +RDEPENDS_${PN} += "perl-module-text-parsewords"
>> +RDEPENDS_${PN} += "perl-module-warnings"
>> +RRECOMMENDS_${PN} += "libfile-slurper-perl"
>> +
>> +S = "${WORKDIR}/Config-AutoConf-${PV}"
>> +
>> +inherit cpan ptest-perl allarch
>> +
>> +BBCLASSEXTEND = "native nativesdk"
>> --
>> 2.17.1
>> 
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Jens Rehsack - rehs...@gmail.com



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


[oe] [meta-oe][PATCH v2] libbytesize: disable doc build

2020-01-02 Thread kai.kang
From: Kai Kang 

It fails to build doc for libbytesize and the documents are simple and
not important, so disable doc build.

Signed-off-by: Kai Kang 
---
 meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb 
b/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
index 07bf1faae..1a5c1848b 100644
--- a/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
+++ b/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
@@ -25,8 +25,6 @@ FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
 
 PACKAGECONFIG ??= "python3"
 PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core"
-PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
 
+EXTRA_OECONF = "--without-gtk-doc"
 EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}"
-
-
-- 
2.17.1

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


Re: [oe] [meta-oe][PATCH] libbytesize: disable doc build

2020-01-02 Thread Khem Raj
On Thu, Jan 2, 2020 at 6:52 PM  wrote:
>
> From: Kai Kang 
>
> It fails to build doc for libbytesize and the documents are simpole and

   ^^^
typo


> not important, so disable doc build.
>
> Signed-off-by: Kai Kang 
> ---
>  meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb 
> b/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
> index 07bf1faae..1a5c1848b 100644
> --- a/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
> +++ b/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
> @@ -25,8 +25,6 @@ FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
>
>  PACKAGECONFIG ??= "python3"
>  PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core"
> -PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
>
> +EXTRA_OECONF = "--without-gtk-doc"
>  EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}"
> -
> -
> --
> 2.17.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] [zeus 00/17] Patch review

2020-01-02 Thread Khem Raj
On Thu, Jan 2, 2020 at 6:49 PM Armin Kuster  wrote:
>
> Please have comments back by Saturday.
>
> The following changes since commit fbe4cf8d56eea586c096621e7c913b24bd99c9c6:
>
>   gtkwave: add the libtirpc dependence and config (2019-12-17 21:57:51 -0800)
>
> are available in the Git repository at:
>
>   https://git.openembedded.org/meta-openembedded-contrib stable/zeus-nut
>   
> http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=stable/zeus-nut
>
> Adrian Bunk (3):
>   networkmanager: Upgrade 1.18.2 -> 1.18.4
>   gpsd: Backport a memory leak fix
>   libqmi: Upgrade 1.24.0 -> 1.24.2
>
> Changqing Li (1):
>   xfce-dusk-gtk3: correct invalid SRC_URI
>
> Hongxu Jia (1):
>   python-more-itertools: downgrade 7.2.0 -> 5.0.0
>
> Kai Kang (1):
>   fltk: fix build error when enable package config examples
>
> Khem Raj (9):
>   grpc: Define libdir and cmakedir in terms of multilib
>   tinyalsa: fix installation libdir path to match multilibs
>   libqb: Add --enable-nosection-fallback with mips64/clang
>   x11vnc: Fix build for 32bit arches with 64bit time_t
>   evtest: Fix build for 32bit arches with 64bit time_t
>   lirc: Fix build for 32bit arches with 64bit time_t
>   utouch-evemu,utouch-frame: Fix build for 32bit arches with 64bit
> time_t
>   directfb: Fix build for 32bit arches with 64bit time_t
>   ruli: Fix install step and build samples too
>

64bit time_t fixes are not necessary but are not hurtful either, since the
C libraries in zeus do not have the needed bits to enable 64bit time_t
so unless someone else has issues with it, I am fine to bring them to zeus

> Stefan Agner (1):
>   networkmanager: do not deploy unnecessary udev rule file
>
> zhangxiao (1):
>   syslog-ng: Fix multilib header conflict - syslog-ng-config.h
>
>  .../recipes-multimedia/tinyalsa/tinyalsa.bb   |   4 +-
>  ...L_-path-instead-of-hardcoding-bin-li.patch |  46 +
>  ...ger_1.18.2.bb => networkmanager_1.18.4.bb} |   9 +-
>  .../recipes-devtools/grpc/grpc_1.24.1.bb  |   4 +-
>  ...-Fix-build-with-format-string-checks.patch |  29 ++-
>  ...ake-space-for-flags-from-environment.patch |  95 +
>  ...v-Mark-prev_addr_list_size-as-unused.patch |  35 
>  .../recipes-support/ruli/files/Makefile.patch | 122 
>  .../recipes-support/ruli/ruli_0.36.bb |  23 ++-
>  .../{libqmi_1.24.0.bb => libqmi_1.24.2.bb}|   4 +-
>  ...ld-on-32bit-arches-with-64bit-time_t.patch |  40 
>  .../recipes-connectivity/lirc/lirc_0.9.4d.bb  |   1 +
>  meta-oe/recipes-extended/libqb/libqb_1.0.5.bb |   6 +-
>  .../recipes-graphics/directfb/directfb.inc|   3 +-
>  ...ld-on-32bit-arches-with-64bit-time_t.patch | 139 +
>  ...ld-on-32bit-arches-with-64bit-time_t.patch | 111 +++
>  .../recipes-graphics/x11vnc/x11vnc_0.9.16.bb  |   5 +-
>  .../0001-gps_shm_close-Free-privdata.patch|  37 
>  meta-oe/recipes-navigation/gpsd/gpsd_3.19.bb  |   1 +
>  meta-oe/recipes-support/fltk/fltk.bb  |   7 +-
>  ...-when-enable-package-config-examples.patch | 182 ++
>  .../recipes-support/syslog-ng/syslog-ng.inc   |   4 +-
>  ...ld-on-32bit-arches-with-64bit-time_t.patch |  76 
>  .../utouch/utouch-evemu_git.bb|   4 +-
>  ...ld-on-32bit-arches-with-64bit-time_t.patch |  41 
>  ...tat.h-for-fixing-build-issue-on-musl.patch |   0
>  .../remove-man-page-creation.patch|   0
>  .../utouch/utouch-frame_git.bb|   1 +
>  ...ld-on-32bit-arches-with-64bit-time_t.patch |  41 
>  meta-oe/recipes-test/evtest/evtest_1.34.bb|   6 +-
>  .../python/python-more-itertools.inc  |   3 -
>  .../python/python-more-itertools_5.0.0.bb |   7 +
>  .../python/python-more-itertools_7.2.0.bb |   2 -
>  .../python/python3-more-itertools_7.2.0.bb|   3 +
>  .../xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb  |   2 +-
>  35 files changed, 935 insertions(+), 158 deletions(-)
>  create mode 100644 
> meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch
>  rename 
> meta-networking/recipes-connectivity/networkmanager/{networkmanager_1.18.2.bb 
> => networkmanager_1.18.4.bb} (94%)
>  create mode 100644 
> meta-networking/recipes-support/ruli/files/0001-Make-space-for-flags-from-environment.patch
>  create mode 100644 
> meta-networking/recipes-support/ruli/files/0001-ruli_srv-Mark-prev_addr_list_size-as-unused.patch
>  delete mode 100644 meta-networking/recipes-support/ruli/files/Makefile.patch
>  rename meta-oe/recipes-connectivity/libqmi/{libqmi_1.24.0.bb => 
> libqmi_1.24.2.bb} (85%)
>  create mode 100644 
> meta-oe/recipes-connectivity/lirc/lirc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
>  create mode 100644 
> meta-oe/recipes-graphics/directfb/directfb/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
>  create mode 100644 
> meta-oe/recipes-graphics/x11vnc/files/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
>  create mode 100644 
> 

Re: [oe] [meta-perl][PATCH] libconfig-autoconf-perl: add recipe

2020-01-02 Thread Khem Raj
On Thu, Jan 2, 2020 at 5:37 AM Jens Rehsack  wrote:
>
> Introduce Config::Autoconf module to meta-perl which will allow some
> probes can be run without leaving perl5 context.
>
> Signed-off-by: Jens Rehsack 
> ---
>  .../libconfig-autoconf-perl_0.317.bb  | 41 +++
>  1 file changed, 41 insertions(+)
>  create mode 100644 
> meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
>
> diff --git 
> a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb 
> b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
> new file mode 100644
> index 0..62983764f
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
> @@ -0,0 +1,41 @@
> +# Copyright (C) 2020 Jens Rehsack 
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +
> +SUMMARY = "A module to implement some of AutoConf macros in pure perl"
> +DESCRIPTION = "Config::AutoConf is intended to provide the same 
> opportunities to Perl \
> +developers as GNU Autoconf  does for \
> +Shell developers."
> +
> +HOMEPAGE=   "https://metacpan.org/release/Config-AutoConf;
> +
> +SECTION = "libs"
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +
> +LIC_FILES_CHKSUM = 
> "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798
>  \
> +file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
> +
> +SRC_URI = 
> "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Config-AutoConf-0.317.tar.gz"
> +
> +SRC_URI[md5sum] = "29f87fc7803f1725f6daafcf416089ce"
> +SRC_URI[sha256sum] = 
> "01e4b22d2fecb7cfd3cc1f4dabe95cd137cf249cc5e38184f88556e5c98a9ce1"
> +RDEPENDS_${PN} += "libcapture-tiny-perl"
> +RDEPENDS_${PN} += "perl-module-base"
> +RDEPENDS_${PN} += "perl-module-carp"
> +RDEPENDS_${PN} += "perl-module-config"
> +RDEPENDS_${PN} += "perl-module-constant"
> +RDEPENDS_${PN} += "perl-module-file-basename"
> +RDEPENDS_${PN} += "perl-module-file-spec"
> +RDEPENDS_${PN} += "perl-module-file-temp"
> +RDEPENDS_${PN} += "perl-module-extutils-cbuilder"
> +RDEPENDS_${PN} += "perl-module-extutils-cbuilder-unix"

perl-module-extutils-cbuilder-unix seems to be not provided by anyone,
I am seeing

18:24:25 WARNING: libconfig-autoconf-perl-0.317-r0 do_package_qa: QA
Issue: libconfig-autoconf-perl rdepends on
perl-module-extutils-cbuilder-unix, but it isn't a build dependency?
[build-deps]

perhaps you need to bring this recipe along, from meta-cpan

> +RDEPENDS_${PN} += "perl-module-scalar-util"
> +RDEPENDS_${PN} += "perl-module-strict"
> +RDEPENDS_${PN} += "perl-module-text-parsewords"
> +RDEPENDS_${PN} += "perl-module-warnings"
> +RRECOMMENDS_${PN} += "libfile-slurper-perl"
> +
> +S = "${WORKDIR}/Config-AutoConf-${PV}"
> +
> +inherit cpan ptest-perl allarch
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.17.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


[oe] [meta-oe][PATCH] libbytesize: disable doc build

2020-01-02 Thread kai.kang
From: Kai Kang 

It fails to build doc for libbytesize and the documents are simpole and
not important, so disable doc build.

Signed-off-by: Kai Kang 
---
 meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb 
b/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
index 07bf1faae..1a5c1848b 100644
--- a/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
+++ b/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
@@ -25,8 +25,6 @@ FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
 
 PACKAGECONFIG ??= "python3"
 PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core"
-PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
 
+EXTRA_OECONF = "--without-gtk-doc"
 EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}"
-
-
-- 
2.17.1

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


[oe] [zeus 10/17] utouch-evemu, utouch-frame: Fix build for 32bit arches with 64bit time_t

2020-01-02 Thread Armin Kuster
From: Khem Raj 

Move patches from files/ directory into PN folders to avoid conflicts

Signed-off-by: Khem Raj 
(cherry picked from commit 91f8512c8e97068876f9a4053775c7881e8b32d4)
Signed-off-by: Armin Kuster 
---
 ...ld-on-32bit-arches-with-64bit-time_t.patch | 76 +++
 .../utouch/utouch-evemu_git.bb|  4 +-
 ...ld-on-32bit-arches-with-64bit-time_t.patch | 41 ++
 ...tat.h-for-fixing-build-issue-on-musl.patch |  0
 .../remove-man-page-creation.patch|  0
 .../utouch/utouch-frame_git.bb|  1 +
 6 files changed, 121 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 create mode 100644 
meta-oe/recipes-support/utouch/utouch-frame/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 rename meta-oe/recipes-support/utouch/{files => 
utouch-frame}/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch 
(100%)
 rename meta-oe/recipes-support/utouch/{files => 
utouch-frame}/remove-man-page-creation.patch (100%)

diff --git 
a/meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 
b/meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
new file mode 100644
index 000..71bf5726994
--- /dev/null
+++ 
b/meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
@@ -0,0 +1,76 @@
+From 60987a1df8eb8c9196222375574dcd7bc0ad2daa Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sat, 30 Nov 2019 20:23:27 -0800
+Subject: [PATCH] Fix build on 32bit arches with 64bit time_t
+
+time element is deprecated on new input_event structure in kernel's
+input.h [1]
+
+[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+---
+ src/evemu-impl.h |  5 +
+ src/evemu.c  | 16 +---
+ 2 files changed, 14 insertions(+), 7 deletions(-)
+
+diff --git a/src/evemu-impl.h b/src/evemu-impl.h
+index acf2976..c08d861 100644
+--- a/src/evemu-impl.h
 b/src/evemu-impl.h
+@@ -21,6 +21,11 @@
+ #include 
+ #include 
+ 
++#ifndef input_event_sec
++#define input_event_sec time.tv_sec
++#define input_event_usec time.tv_usec
++#endif
++
+ #define EVPLAY_NBITS  KEY_CNT
+ #define EVPLAY_NBYTES ((EVPLAY_NBITS + 7) / 8)
+ 
+diff --git a/src/evemu.c b/src/evemu.c
+index 21187af..160c915 100644
+--- a/src/evemu.c
 b/src/evemu.c
+@@ -363,7 +363,7 @@ int evemu_read(struct evemu_device *dev, FILE *fp)
+ int evemu_write_event(FILE *fp, const struct input_event *ev)
+ {
+   return fprintf(fp, "E: %lu.%06u %04x %04x %d\n",
+- ev->time.tv_sec, (unsigned)ev->time.tv_usec,
++ ev->input_event_sec, (unsigned)ev->input_event_usec,
+  ev->type, ev->code, ev->value);
+ }
+ 
+@@ -391,8 +391,8 @@ int evemu_read_event(FILE *fp, struct input_event *ev)
+   int value;
+   int ret = fscanf(fp, "E: %lu.%06u %04x %04x %d\n",
+, , , , );
+-  ev->time.tv_sec = sec;
+-  ev->time.tv_usec = usec;
++  ev->input_event_sec = sec;
++  ev->input_event_usec = usec;
+   ev->type = type;
+   ev->code = code;
+   ev->value = value;
+@@ -411,12 +411,14 @@ int evemu_read_event_realtime(FILE *fp, struct 
input_event *ev,
+ 
+   if (evtime) {
+   if (!evtime->tv_sec)
+-  *evtime = ev->time;
+-  usec = 100L * (ev->time.tv_sec - evtime->tv_sec);
+-  usec += ev->time.tv_usec - evtime->tv_usec;
++  evtime->tv_sec = ev->input_event_sec;
++  evtime->tv_usec = ev->input_event_usec;
++  usec = 100L * (ev->input_event_sec - evtime->tv_sec);
++  usec += ev->input_event_usec - evtime->tv_usec;
+   if (usec > 500) {
+   usleep(usec);
+-  *evtime = ev->time;
++  evtime->tv_sec = ev->input_event_sec;
++  evtime->tv_usec = ev->input_event_usec;
+   }
+   }
+ 
diff --git a/meta-oe/recipes-support/utouch/utouch-evemu_git.bb 
b/meta-oe/recipes-support/utouch/utouch-evemu_git.bb
index 1dd5a86d505..41d1cbfd978 100644
--- a/meta-oe/recipes-support/utouch/utouch-evemu_git.bb
+++ b/meta-oe/recipes-support/utouch/utouch-evemu_git.bb
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
 
 inherit autotools
 
-SRC_URI = "git://bitmath.org/git/evemu.git;protocol=http"
+SRC_URI = "git://bitmath.org/git/evemu.git;protocol=http \
+   file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \
+   "
 SRCREV = "9752b50e922572e4cd214ac45ed95e4ee410fe24"
 
 PV = "1.0.5+git${SRCPV}"
diff --git 
a/meta-oe/recipes-support/utouch/utouch-frame/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 

[oe] [zeus 07/17] x11vnc: Fix build for 32bit arches with 64bit time_t

2020-01-02 Thread Armin Kuster
From: Khem Raj 

Signed-off-by: Khem Raj 
(cherry picked from commit aa86b55286e74e5a6d779a14c526561a091cd21e)
Signed-off-by: Armin Kuster 
---
 ...ld-on-32bit-arches-with-64bit-time_t.patch | 111 ++
 .../recipes-graphics/x11vnc/x11vnc_0.9.16.bb  |   5 +-
 2 files changed, 114 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-graphics/x11vnc/files/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch

diff --git 
a/meta-oe/recipes-graphics/x11vnc/files/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 
b/meta-oe/recipes-graphics/x11vnc/files/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
new file mode 100644
index 000..d5fa9f5
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/x11vnc/files/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
@@ -0,0 +1,111 @@
+From 8ab672ccc67b64058cffac2cd19a0d3b75d5aa25 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sat, 30 Nov 2019 11:43:32 -0800
+Subject: [PATCH] Fix build on 32bit arches with 64bit time_t
+
+time element is deprecated on new input_event structure in kernel's
+input.h [1]
+
+[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f
+
+Upstream-Status: Submitted [https://github.com/LibVNC/x11vnc/pull/117]
+Signed-off-by: Khem Raj 
+---
+ src/uinput.c | 28 
+ 1 file changed, 24 insertions(+), 4 deletions(-)
+
+diff --git a/src/uinput.c b/src/uinput.c
+index 28fbad3..343b7c5 100644
+--- a/src/uinput.c
 b/src/uinput.c
+@@ -54,6 +54,11 @@ so, delete this exception statement from your version.
+ #include 
+ #include 
+ 
++#ifndef input_event_sec
++#define input_event_sec time.tv_sec
++#define input_event_usec time.tv_usec
++#endif
++
+ #if !defined(EV_SYN) || !defined(SYN_REPORT)
+ #undef UINPUT_OK
+ #endif
+@@ -710,6 +715,7 @@ void parse_uinput_str(char *in) {
+ static void ptr_move(int dx, int dy) {
+ #ifdef UINPUT_OK
+   struct input_event ev;
++  struct timeval tval;
+   int d = direct_rel_fd < 0 ? fd : direct_rel_fd;
+ 
+   if (injectable && strchr(injectable, 'M') == NULL) {
+@@ -720,7 +726,9 @@ static void ptr_move(int dx, int dy) {
+ 
+   if (db) fprintf(stderr, "ptr_move(%d, %d) fd=%d\n", dx, dy, d);
+ 
+-  gettimeofday(, NULL);
++  gettimeofday(, NULL);
++  ev.input_event_sec = tval.tv_sec;
++  ev.input_event_usec = tval.tv_usec;
+   ev.type = EV_REL;
+   ev.code = REL_Y;
+   ev.value = dy;
+@@ -755,6 +763,7 @@ static void apply_tslib(int *x, int *y) {
+ static void ptr_abs(int x, int y, int p) {
+ #ifdef UINPUT_OK
+   struct input_event ev;
++  struct timeval tval;
+   int x0, y0;
+   int d = direct_abs_fd < 0 ? fd : direct_abs_fd;
+ 
+@@ -773,7 +782,9 @@ static void ptr_abs(int x, int y, int p) {
+ 
+   if (db) fprintf(stderr, "ptr_abs(%d, %d => %d %d, p=%d) fd=%d\n", x0, 
y0, x, y, p, d);
+ 
+-  gettimeofday(, NULL);
++  gettimeofday(, NULL);
++  ev.input_event_sec = tval.tv_sec;
++  ev.input_event_usec = tval.tv_usec;
+   ev.type = EV_ABS;
+   ev.code = ABS_Y;
+   ev.value = y;
+@@ -950,6 +961,7 @@ if (0) {usleep(100*1000) ;}
+ static void button_click(int down, int btn) {
+ #ifdef UINPUT_OK
+   struct input_event ev;
++  struct timeval tval;
+   int d = direct_btn_fd < 0 ? fd : direct_btn_fd;
+ 
+   if (injectable && strchr(injectable, 'B') == NULL) {
+@@ -959,7 +971,12 @@ static void button_click(int down, int btn) {
+   if (db) fprintf(stderr, "button_click: btn %d %s fd=%d\n", btn, down ? 
"down" : "up", d);
+ 
+   memset(, 0, sizeof(ev));
+-  gettimeofday(, NULL);
++  gettimeofday(, NULL);
++  gettimeofday(, NULL);
++  ev.input_event_sec = tval.tv_sec;
++  ev.input_event_usec = tval.tv_usec;
++  ev.input_event_sec = tval.tv_sec;
++  ev.input_event_usec = tval.tv_usec;
+   ev.type = EV_KEY;
+   ev.value = down;
+ 
+@@ -1230,6 +1247,7 @@ void uinput_pointer_command(int mask, int x, int y, 
rfbClientPtr client) {
+ void uinput_key_command(int down, int keysym, rfbClientPtr client) {
+ #ifdef UINPUT_OK
+   struct input_event ev;
++  struct timeval tval;
+   int scancode;
+   allowed_input_t input;
+   int d = direct_key_fd < 0 ? fd : direct_key_fd;
+@@ -1253,7 +1271,9 @@ void uinput_key_command(int down, int keysym, 
rfbClientPtr client) {
+   if (db) fprintf(stderr, "uinput_key_command: %d -> %d %s fd=%d\n", 
keysym, scancode, down ? "down" : "up", d);
+ 
+   memset(, 0, sizeof(ev));
+-  gettimeofday(, NULL);
++  gettimeofday(, NULL);
++  ev.input_event_sec = tval.tv_sec;
++  ev.input_event_usec = tval.tv_usec;
+   ev.type = EV_KEY;
+   ev.code = (unsigned char) scancode;
+   ev.value = down;
diff --git a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb 
b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb
index e4a0321357b..af01fb0fd84 100644
--- a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb
+++ 

[oe] [zeus 16/17] python-more-itertools: downgrade 7.2.0 -> 5.0.0

2020-01-02 Thread Armin Kuster
From: Hongxu Jia 

Python 2.7 is no longer supported. The 5.0.0 release will be the last
version targeting Python 2.7. [1]

[1] 
https://github.com/erikrose/more-itertools/commit/560b045b430e8292c18cf5283de4fdc3e13e56f7

Signed-off-by: Hongxu Jia 
Signed-off-by: Khem Raj 
Signed-off-by: Adrian Bunk 
Signed-off-by: Armin Kuster 
---
 .../recipes-devtools/python/python-more-itertools.inc  | 3 ---
 .../recipes-devtools/python/python-more-itertools_5.0.0.bb | 7 +++
 .../recipes-devtools/python/python-more-itertools_7.2.0.bb | 2 --
 .../python/python3-more-itertools_7.2.0.bb | 3 +++
 4 files changed, 10 insertions(+), 5 deletions(-)
 create mode 100644 
meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb
 delete mode 100644 
meta-python/recipes-devtools/python/python-more-itertools_7.2.0.bb

diff --git a/meta-python/recipes-devtools/python/python-more-itertools.inc 
b/meta-python/recipes-devtools/python/python-more-itertools.inc
index 8d814a6f032..33095b3d387 100644
--- a/meta-python/recipes-devtools/python/python-more-itertools.inc
+++ b/meta-python/recipes-devtools/python/python-more-itertools.inc
@@ -2,6 +2,3 @@ DESCRIPTION = "More routines for operating on iterables, beyond 
itertools"
 HOMEPAGE = "https://github.com/erikrose/more-itertools;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
-
-SRC_URI[md5sum] = "f647bfd27243a7bebe53b5ddb6a3b1c4"
-SRC_URI[sha256sum] = 
"409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832"
diff --git a/meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb 
b/meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb
new file mode 100644
index 000..6c44df40a3a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb
@@ -0,0 +1,7 @@
+inherit pypi setuptools
+require python-more-itertools.inc
+
+SRC_URI[md5sum] = "f2ea58aa336ce6c13b7b225b3bbe305d"
+SRC_URI[sha256sum] = 
"38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4"
+
+PE = "1"
diff --git a/meta-python/recipes-devtools/python/python-more-itertools_7.2.0.bb 
b/meta-python/recipes-devtools/python/python-more-itertools_7.2.0.bb
deleted file mode 100644
index 0702aad4efb..000
--- a/meta-python/recipes-devtools/python/python-more-itertools_7.2.0.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-inherit pypi setuptools
-require python-more-itertools.inc
diff --git 
a/meta-python/recipes-devtools/python/python3-more-itertools_7.2.0.bb 
b/meta-python/recipes-devtools/python/python3-more-itertools_7.2.0.bb
index 28ddf88fb85..06d45ce5453 100644
--- a/meta-python/recipes-devtools/python/python3-more-itertools_7.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-more-itertools_7.2.0.bb
@@ -1,2 +1,5 @@
 inherit pypi setuptools3
 require python-more-itertools.inc
+
+SRC_URI[md5sum] = "f647bfd27243a7bebe53b5ddb6a3b1c4"
+SRC_URI[sha256sum] = 
"409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832"
-- 
2.17.1

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


[oe] [zeus 06/17] syslog-ng: Fix multilib header conflict - syslog-ng-config.h

2020-01-02 Thread Armin Kuster
From: zhangxiao 

Header file conflict between 32-bit and 64-bit versions.

Signed-off-by: Zhang Xiao 
Signed-off-by: Khem Raj 
(cherry picked from commit b6c9a83e3622a82d990c926a5e8686f9be19502f)
Signed-off-by: Armin Kuster 
---
 meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc 
b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
index b00cb91ee14..737c5e8bc3e 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
@@ -25,7 +25,7 @@ SRC_URI = 
"https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.ta
 
 UPSTREAM_CHECK_URI = "https://github.com/balabit/syslog-ng/releases;
 
-inherit autotools gettext systemd pkgconfig update-rc.d
+inherit autotools gettext systemd pkgconfig update-rc.d multilib_header
 
 EXTRA_OECONF = " \
 --enable-dynamic-linking \
@@ -98,6 +98,8 @@ do_install_append() {
 else
 install ${WORKDIR}/syslog-ng.conf.sysvinit 
${D}${sysconfdir}/${BPN}/${BPN}.conf
 fi
+
+oe_multilib_header syslog-ng/syslog-ng-config.h
 }
 
 FILES_${PN} += "${datadir}/include/scl/ ${datadir}/xsd ${datadir}/tools 
${systemd_unitdir}/system/multi-user.target.wants/*"
-- 
2.17.1

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


[oe] [zeus 13/17] networkmanager: Upgrade 1.18.2 -> 1.18.4

2020-01-02 Thread Armin Kuster
From: Adrian Bunk 

Signed-off-by: Adrian Bunk 
Signed-off-by: Khem Raj 
(cherry picked from commit 1db745db41e31c61448743842104d92a61e7ddfb)
Signed-off-by: Armin Kuster 
---
 .../{networkmanager_1.18.2.bb => networkmanager_1.18.4.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename 
meta-networking/recipes-connectivity/networkmanager/{networkmanager_1.18.2.bb 
=> networkmanager_1.18.4.bb} (97%)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.2.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.4.bb
similarity index 97%
rename from 
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.2.bb
rename to 
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.4.bb
index 0d6e1a0b0d2..085807c4ce9 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.2.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.4.bb
@@ -31,8 +31,8 @@ SRC_URI_append_libc-musl = " \
 file://musl/0001-Fix-build-with-musl-systemd-specific.patch \
 file://musl/0002-Fix-build-with-musl.patch \
 "
-SRC_URI[md5sum] = "ca1e6175c6ba97ca1adf65a67861ccd9"
-SRC_URI[sha256sum] = 
"4dd97ca974cd1f97990746527258f551f4257cbf011fecd01d10b7d74a6fa5c3"
+SRC_URI[md5sum] = "fc86588a3ae54e0d406b560a312d5a5d"
+SRC_URI[sha256sum] = 
"a3bd07f695b6d3529ec6adbd9a1d6385b967e9c8ae90946f51d8852b320fd05e"
 
 S = "${WORKDIR}/NetworkManager-${PV}"
 
-- 
2.17.1

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


[oe] [zeus 14/17] networkmanager: do not deploy unnecessary udev rule file

2020-01-02 Thread Armin Kuster
From: Stefan Agner 

The 84-nm-drivers.rules is not required for systemd-udevd versions
v210 and later. The file has been split into a separate file so
distributions with a new enough systemd version can drop it. See
also:
https://github.com/NetworkManager/NetworkManager/commit/1e0375826252abf9aab2aef273a2a24cd08c9f42

I noticed this while investigating into a warning show during
bootup:
  /usr/lib/udev/rules.d/84-nm-drivers.rules:10 Invalid value "/bin/sh -c
  'ethtool -i $1 | sed -n s/^driver:\ //p' -- $env{INTERFACE}" for PROGRAM
  (char 24: invalid substitution type), ignoring, but please fix it.

Signed-off-by: Stefan Agner 
Signed-off-by: Khem Raj 
(cherry picked from commit 82ecc0e69fe3920360d1ba8bd1b5e6ede164de42)
Signed-off-by: Armin Kuster 
---
 .../networkmanager/networkmanager_1.18.4.bb  | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.4.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.4.bb
index 085807c4ce9..27508c4d938 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.4.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.4.bb
@@ -141,8 +141,11 @@ do_install_append() {
 
 rm -rf ${D}/run ${D}${localstatedir}/run
 
-# For read-only filesystem, do not create links during bootup
 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; 
then
+# For read-only filesystem, do not create links during bootup
 ln -sf ../run/NetworkManager/resolv.conf 
${D}${sysconfdir}/resolv-conf.NetworkManager
+
+# systemd v210 and newer do not need this rule file
+rm ${D}/${nonarch_base_libdir}/udev/rules.d/84-nm-drivers.rules
 fi
 }
-- 
2.17.1

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


[oe] [zeus 17/17] libqmi: Upgrade 1.24.0 -> 1.24.2

2020-01-02 Thread Armin Kuster
From: Adrian Bunk 

This is a bugfix release on the 1.24 stable branch.

Signed-off-by: Adrian Bunk 
Signed-off-by: Khem Raj 
Signed-off-by: Armin Kuster 
---
 .../libqmi/{libqmi_1.24.0.bb => libqmi_1.24.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-connectivity/libqmi/{libqmi_1.24.0.bb => 
libqmi_1.24.2.bb} (85%)

diff --git a/meta-oe/recipes-connectivity/libqmi/libqmi_1.24.0.bb 
b/meta-oe/recipes-connectivity/libqmi/libqmi_1.24.2.bb
similarity index 85%
rename from meta-oe/recipes-connectivity/libqmi/libqmi_1.24.0.bb
rename to meta-oe/recipes-connectivity/libqmi/libqmi_1.24.2.bb
index 9b89e1dd8e3..35a58d2f1d4 100644
--- a/meta-oe/recipes-connectivity/libqmi/libqmi_1.24.0.bb
+++ b/meta-oe/recipes-connectivity/libqmi/libqmi_1.24.2.bb
@@ -14,8 +14,8 @@ inherit autotools pkgconfig bash-completion
 SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz \
"
 
-SRC_URI[md5sum] = "4b181c0a8b933226ce3dce09565fe8f8"
-SRC_URI[sha256sum] = 
"aeb69f90c273467cce246176cba0967c6413f1995a976992770a597c4fe28c79"
+SRC_URI[md5sum] = "e49c419112d708b5301af7ccc2c090ff"
+SRC_URI[sha256sum] = 
"4ae4e476f960dbc0d04b1c0368776eb78edffd4421f3e4c074bb2bfb6375b282"
 
 PACKAGECONFIG ??= "udev mbim"
 PACKAGECONFIG[udev] = ",--without-udev,libgudev"
-- 
2.17.1

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


[oe] [zeus 09/17] lirc: Fix build for 32bit arches with 64bit time_t

2020-01-02 Thread Armin Kuster
From: Khem Raj 

Signed-off-by: Khem Raj 
(cherry picked from commit 049a2a371fd29e61a4ae1a79a6bd4064f12120dd)
Signed-off-by: Armin Kuster 
---
 ...ld-on-32bit-arches-with-64bit-time_t.patch | 40 +++
 .../recipes-connectivity/lirc/lirc_0.9.4d.bb  |  1 +
 2 files changed, 41 insertions(+)
 create mode 100644 
meta-oe/recipes-connectivity/lirc/lirc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch

diff --git 
a/meta-oe/recipes-connectivity/lirc/lirc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 
b/meta-oe/recipes-connectivity/lirc/lirc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
new file mode 100644
index 000..0e38f7d8ece
--- /dev/null
+++ 
b/meta-oe/recipes-connectivity/lirc/lirc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
@@ -0,0 +1,40 @@
+From 50a48a7bd8d65a165ce2aac4ba0c1e02bded04aa Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sat, 30 Nov 2019 12:21:31 -0800
+Subject: [PATCH] Fix build on 32bit arches with 64bit time_t
+
+time element is deprecated on new input_event structure in kernel's
+input.h [1]
+
+[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f
+
+Signed-off-by: Khem Raj 
+---
+ plugins/devinput.c | 7 ++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/plugins/devinput.c b/plugins/devinput.c
+index d4d733a..feb4a61 100644
+--- a/plugins/devinput.c
 b/plugins/devinput.c
+@@ -34,6 +34,11 @@
+ #include 
+ #include 
+ 
++#ifndef input_event_sec
++#define input_event_sec time.tv_sec
++#define input_event_usec time.tv_usec
++#endif
++
+ #ifndef EV_SYN
+ /* previous name */
+ #define EV_SYN EV_RST
+@@ -459,7 +464,7 @@ char* devinput_rec(struct ir_remote* remotes)
+   return 0;
+   }
+ 
+-  log_trace("time %ld.%06ld  type %d  code %d  value %d", 
event.time.tv_sec, event.time.tv_usec, event.type,
++  log_trace("time %ld.%06ld  type %d  code %d  value %d", 
event.input_event_sec, event.input_event_usec, event.type,
+ event.code, event.value);
+ 
+   value = (unsigned)event.value;
diff --git a/meta-oe/recipes-connectivity/lirc/lirc_0.9.4d.bb 
b/meta-oe/recipes-connectivity/lirc/lirc_0.9.4d.bb
index b13163debb6..606caee8928 100644
--- a/meta-oe/recipes-connectivity/lirc/lirc_0.9.4d.bb
+++ b/meta-oe/recipes-connectivity/lirc/lirc_0.9.4d.bb
@@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "http://prdownloads.sourceforge.net/lirc/lirc-${PV}.tar.bz2 \
 file://pollfd.patch \
+file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \
 file://lircd.service \
 file://lircd.init \
 file://lircexec.init \
-- 
2.17.1

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


[oe] [zeus 11/17] directfb: Fix build for 32bit arches with 64bit time_t

2020-01-02 Thread Armin Kuster
From: Khem Raj 

Signed-off-by: Khem Raj 
(cherry picked from commit 310047ec9f2667ae1a98a55aa14edb87cd1e1e6c)
Signed-off-by: Armin Kuster 
---
 .../recipes-graphics/directfb/directfb.inc|   3 +-
 ...ld-on-32bit-arches-with-64bit-time_t.patch | 139 ++
 2 files changed, 141 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch

diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc 
b/meta-oe/recipes-graphics/directfb/directfb.inc
index 96aa31117f2..65fd89e6fef 100644
--- a/meta-oe/recipes-graphics/directfb/directfb.inc
+++ b/meta-oe/recipes-graphics/directfb/directfb.inc
@@ -21,7 +21,8 @@ SRC_URI = 
"http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.g
file://use-PTHREAD_MUTEX_RECURSIVE.patch \
file://fix-client-gfx_state-initialisation.patch \
file://fix-tslib-version-check.patch \
-  "
+   file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \
+   "
 
 S = "${WORKDIR}/DirectFB-${PV}"
 
diff --git 
a/meta-oe/recipes-graphics/directfb/directfb/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 
b/meta-oe/recipes-graphics/directfb/directfb/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
new file mode 100644
index 000..2f766465e1c
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/directfb/directfb/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
@@ -0,0 +1,139 @@
+From 0b66557f2e924023b12006b58d8e86149c745aed Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sat, 30 Nov 2019 20:34:33 -0800
+Subject: [PATCH] Fix build on 32bit arches with 64bit time_t
+
+time element is deprecated on new input_event structure in kernel's
+input.h [1]
+
+[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+---
+ inputdrivers/linux_input/linux_input.c | 36 ++
+ 1 file changed, 25 insertions(+), 11 deletions(-)
+
+diff --git a/inputdrivers/linux_input/linux_input.c 
b/inputdrivers/linux_input/linux_input.c
+index 7e9a6ad..03deebc 100644
+--- a/inputdrivers/linux_input/linux_input.c
 b/inputdrivers/linux_input/linux_input.c
+@@ -42,6 +42,11 @@ typedef unsigned long kernel_ulong_t;
+ 
+ #include 
+ 
++#ifndef input_event_sec
++#define input_event_sec time.tv_sec
++#define input_event_usec time.tv_usec
++#endif
++
+ #ifndef KEY_OK
+ /* Linux kernel 2.5.42+ defines additional keys in linux/input.h */
+ #include "input_fake.h"
+@@ -754,7 +759,8 @@ translate_event( const LinuxInputData *data,
+  DFBInputEvent*devt )
+ {
+  devt->flags = DIEF_TIMESTAMP;
+- devt->timestamp = levt->time;
++ devt->timestamp.tv_sec = levt->input_event_sec;
++ devt->timestamp.tv_usec = levt->input_event_usec;
+ 
+  switch (levt->type) {
+   case EV_KEY:
+@@ -2139,7 +2145,8 @@ touchpad_translate( struct touchpad_fsm_state *state,
+  int abs, rel;
+ 
+  devt->flags = DIEF_TIMESTAMP | (dfb_config->linux_input_touch_abs ? 
DIEF_AXISABS : DIEF_AXISREL);
+- devt->timestamp = levt->time;
++ devt->timestamp.tv_sec = levt->input_event_sec;
++ devt->timestamp.tv_usec = levt->input_event_usec;
+  devt->type  = DIET_AXISMOTION;
+ 
+  switch (levt->code) {
+@@ -2204,7 +2211,7 @@ touchpad_fsm( struct touchpad_fsm_state *state,
+   DFBInputEvent *devt )
+ {
+  struct timeval timeout = { 0, 125000 };
+-
++ struct timeval tval;
+  /* select() timeout? */
+  if (!levt) {
+   /* Check if button release is due. */
+@@ -2223,6 +2230,8 @@ touchpad_fsm( struct touchpad_fsm_state *state,
+   return 0;
+  }
+ 
++ tval.tv_sec = levt->input_event_sec;
++ tval.tv_usec = levt->input_event_usec;
+  /* More or less ignore these events for now */
+  if ((levt->type == EV_SYN && levt->code == SYN_REPORT) ||
+  (levt->type == EV_ABS && levt->code == ABS_PRESSURE) ||
+@@ -2233,7 +2242,7 @@ touchpad_fsm( struct touchpad_fsm_state *state,
+ 
+   /* Check if button release is due. */
+   if (state->fsm_state == TOUCHPAD_FSM_DRAG_START &&
+-  timeout_passed( >timeout, >time )) {
++  timeout_passed( >timeout,  )) {
+devt->flags = DIEF_TIMESTAMP;
+devt->timestamp = state->timeout; /* timeout of levt->time? */
+devt->type  = DIET_BUTTONRELEASE;
+@@ -2255,7 +2264,8 @@ touchpad_fsm( struct touchpad_fsm_state *state,
+  case TOUCHPAD_FSM_START:
+   if (touchpad_finger_landing( levt )) {
+state->fsm_state = TOUCHPAD_FSM_MAIN;
+-   state->timeout = levt->time;
++   state->timeout.tv_sec = levt->input_event_sec;
++   state->timeout.tv_usec = levt->input_event_usec;
+timeout_add( >timeout,  );
+   }

[oe] [zeus 15/17] gpsd: Backport a memory leak fix

2020-01-02 Thread Armin Kuster
From: Adrian Bunk 

Signed-off-by: Adrian Bunk 
Signed-off-by: Khem Raj 
Signed-off-by: Armin Kuster 
---
 .../0001-gps_shm_close-Free-privdata.patch| 37 +++
 meta-oe/recipes-navigation/gpsd/gpsd_3.19.bb  |  1 +
 2 files changed, 38 insertions(+)
 create mode 100644 
meta-oe/recipes-navigation/gpsd/gpsd/0001-gps_shm_close-Free-privdata.patch

diff --git 
a/meta-oe/recipes-navigation/gpsd/gpsd/0001-gps_shm_close-Free-privdata.patch 
b/meta-oe/recipes-navigation/gpsd/gpsd/0001-gps_shm_close-Free-privdata.patch
new file mode 100644
index 000..9b38015800c
--- /dev/null
+++ 
b/meta-oe/recipes-navigation/gpsd/gpsd/0001-gps_shm_close-Free-privdata.patch
@@ -0,0 +1,37 @@
+From 2a4b3bcde0d73a3a4a6644d5f944ac9d16023ba9 Mon Sep 17 00:00:00 2001
+From: Adrian Bunk 
+Date: Mon, 21 Oct 2019 13:53:25 +0300
+Subject: gps_shm_close: Free privdata
+
+Previously every open/close cycle leaked privdata.
+
+Signed-off-by: Adrian Bunk 
+Signed-off-by: Gary E. Miller 
+
+Upstream-Status: Backport
+---
+ libgps_shm.c | 8 ++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/libgps_shm.c b/libgps_shm.c
+index d93972bba..12bb3760b 100644
+--- a/libgps_shm.c
 b/libgps_shm.c
+@@ -163,8 +163,12 @@ int gps_shm_read(struct gps_data_t *gpsdata)
+ 
+ void gps_shm_close(struct gps_data_t *gpsdata)
+ {
+-if (PRIVATE(gpsdata) && PRIVATE(gpsdata)->shmseg != NULL)
+-  (void)shmdt((const void *)PRIVATE(gpsdata)->shmseg);
++if (PRIVATE(gpsdata)) {
++if (PRIVATE(gpsdata)->shmseg != NULL)
++  (void)shmdt((const void *)PRIVATE(gpsdata)->shmseg);
++free(PRIVATE(gpsdata));
++gpsdata->privdata = NULL;
++}
+ }
+ 
+ int gps_shm_mainloop(struct gps_data_t *gpsdata, int timeout,
+-- 
+2.20.1
+
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.19.bb 
b/meta-oe/recipes-navigation/gpsd/gpsd_3.19.bb
index a28d59dce13..054af40829e 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.19.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.19.bb
@@ -9,6 +9,7 @@ EXTRANATIVEPATH += "chrpath-native"
 
 SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
 file://0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch \
+file://0001-gps_shm_close-Free-privdata.patch \
 "
 SRC_URI[md5sum] = "b3bf88706794eb8e5f2c2543bf7ba87b"
 SRC_URI[sha256sum] = 
"27dd24d45b2ac69baab7933da2bf6ae5fb0be90130f67e753c110a3477155f39"
-- 
2.17.1

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


[oe] [zeus 08/17] evtest: Fix build for 32bit arches with 64bit time_t

2020-01-02 Thread Armin Kuster
From: Khem Raj 

Signed-off-by: Khem Raj 
(cherry picked from commit 64f07ba8528cda14ad552e492dfd2e7f054fbb08)
Signed-off-by: Armin Kuster 
---
 ...ld-on-32bit-arches-with-64bit-time_t.patch | 41 +++
 meta-oe/recipes-test/evtest/evtest_1.34.bb|  6 ++-
 2 files changed, 45 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch

diff --git 
a/meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 
b/meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
new file mode 100644
index 000..706322d5653
--- /dev/null
+++ 
b/meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
@@ -0,0 +1,41 @@
+From fa57c78c33d26084f85f1a6b4c29378631dc9395 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sat, 30 Nov 2019 11:58:58 -0800
+Subject: [PATCH] Fix build on 32bit arches with 64bit time_t
+
+time element is deprecated on new input_event structure in kernel's
+input.h [1]
+
+[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f
+
+Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/libevdev/evtest/merge_requests/6]
+Signed-off-by: Khem Raj 
+---
+ evtest.c | 7 ++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/evtest.c b/evtest.c
+index 548c203..93063cd 100644
+--- a/evtest.c
 b/evtest.c
+@@ -61,6 +61,11 @@
+ #include 
+ #include 
+ 
++#ifndef input_event_sec
++#define input_event_sec time.tv_sec
++#define input_event_usec time.tv_usec
++#endif
++
+ #define BITS_PER_LONG (sizeof(long) * 8)
+ #define NBITS(x) x)-1)/BITS_PER_LONG)+1)
+ #define OFF(x)  ((x)%BITS_PER_LONG)
+@@ -1140,7 +1145,7 @@ static int print_events(int fd)
+   type = ev[i].type;
+   code = ev[i].code;
+ 
+-  printf("Event: time %ld.%06ld, ", ev[i].time.tv_sec, 
ev[i].time.tv_usec);
++  printf("Event: time %ld.%06ld, ", 
ev[i].input_event_sec, ev[i].input_event_sec);
+ 
+   if (type == EV_SYN) {
+   if (code == SYN_MT_REPORT)
diff --git a/meta-oe/recipes-test/evtest/evtest_1.34.bb 
b/meta-oe/recipes-test/evtest/evtest_1.34.bb
index 3b6dc61408c..a3a23c89516 100644
--- a/meta-oe/recipes-test/evtest/evtest_1.34.bb
+++ b/meta-oe/recipes-test/evtest/evtest_1.34.bb
@@ -8,8 +8,10 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 DEPENDS = "libxml2"
 
 SRCREV = "16e5104127a620686bdddc4a9ad62881134d6c69"
-SRC_URI = "git://anongit.freedesktop.org/evtest;protocol=git \
-   file://add_missing_limits_h_include.patch"
+SRC_URI = "git://gitlab.freedesktop.org/libevdev/evtest.git;protocol=https \
+   file://add_missing_limits_h_include.patch \
+   file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \
+   "
 
 S = "${WORKDIR}/git"
 
-- 
2.17.1

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


[oe] [zeus 12/17] ruli: Fix install step and build samples too

2020-01-02 Thread Armin Kuster
From: Khem Raj 

do_install never executed as a result it was empty install
Create ruli-bin package for utilities, so libraries can be packages
granularily

Drop the makefile patch which is no longer needed, set the make
variables to get the needed bits set

Signed-off-by: Khem Raj 
(cherry picked from commit f4e6224b340fba198639bdd4585a81efdf15303e)
Signed-off-by: Armin Kuster 
---
 ...-Fix-build-with-format-string-checks.patch |  29 -
 ...ake-space-for-flags-from-environment.patch |  95 ++
 ...v-Mark-prev_addr_list_size-as-unused.patch |  35 +
 .../recipes-support/ruli/files/Makefile.patch | 122 --
 .../recipes-support/ruli/ruli_0.36.bb |  23 +++-
 5 files changed, 169 insertions(+), 135 deletions(-)
 create mode 100644 
meta-networking/recipes-support/ruli/files/0001-Make-space-for-flags-from-environment.patch
 create mode 100644 
meta-networking/recipes-support/ruli/files/0001-ruli_srv-Mark-prev_addr_list_size-as-unused.patch
 delete mode 100644 meta-networking/recipes-support/ruli/files/Makefile.patch

diff --git 
a/meta-networking/recipes-support/ruli/files/0001-Fix-build-with-format-string-checks.patch
 
b/meta-networking/recipes-support/ruli/files/0001-Fix-build-with-format-string-checks.patch
index f8eb3ae67a4..8ca26b51bbb 100644
--- 
a/meta-networking/recipes-support/ruli/files/0001-Fix-build-with-format-string-checks.patch
+++ 
b/meta-networking/recipes-support/ruli/files/0001-Fix-build-with-format-string-checks.patch
@@ -15,11 +15,9 @@ Signed-off-by: Khem Raj 
  src/ruli_addr.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/src/ruli_addr.c b/src/ruli_addr.c
-index 00d5d0d..f1eabae 100644
 --- a/src/ruli_addr.c
 +++ b/src/ruli_addr.c
-@@ -415,7 +415,7 @@ int ruli_in_print(FILE *out, const _ruli_addr *addr, int 
family)
+@@ -415,7 +415,7 @@ int ruli_in_print(FILE *out, const _ruli
  {
switch (family) {
case PF_INET:
@@ -28,6 +26,25 @@ index 00d5d0d..f1eabae 100644
  
case PF_INET6:
  return ruli_inet6_print(out, >ipv6);
--- 
-2.13.1
-
+--- a/sample/getaddrinfo.c
 b/sample/getaddrinfo.c
+@@ -174,7 +174,7 @@ static void solve(const char *fullname)
+ 
+   for (ai = ai_res; ai; ai = ai->ai_next) {
+ 
+-  printf(fullname);
++  printf("%s", fullname);
+ 
+   switch (ai->ai_family) {
+   case PF_INET:
+--- a/sample/ruli-getaddrinfo.c
 b/sample/ruli-getaddrinfo.c
+@@ -176,7 +176,7 @@ static void solve(const char *fullname)
+ 
+   for (ai = ai_res; ai; ai = ai->ai_next) {
+ 
+-  printf(fullname);
++  printf("%s", fullname);
+ 
+   switch (ai->ai_family) {
+   case PF_INET:
diff --git 
a/meta-networking/recipes-support/ruli/files/0001-Make-space-for-flags-from-environment.patch
 
b/meta-networking/recipes-support/ruli/files/0001-Make-space-for-flags-from-environment.patch
new file mode 100644
index 000..c3ca07a3903
--- /dev/null
+++ 
b/meta-networking/recipes-support/ruli/files/0001-Make-space-for-flags-from-environment.patch
@@ -0,0 +1,95 @@
+From bb19a2c7e5b3142d70d3e13c2d8a92a63f2b840a Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Wed, 20 Nov 2019 22:12:52 -0800
+Subject: [PATCH] Make space for flags from environment
+
+Add force option to ln cmd, so do_install can be rerun in same directory
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+---
+ sample/Makefile | 20 ++--
+ src/Makefile|  8 
+ 2 files changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/sample/Makefile b/sample/Makefile
+index 15cafd9..d83641f 100644
+--- a/sample/Makefile
 b/sample/Makefile
+@@ -35,9 +35,9 @@ ifeq ($(PLATFORM),SunOS)
+ SOLARIS_LIBS = -lresolv -lnsl -lsocket
+ endif
+ 
+-CC  = gcc
+-CFLAGS  = -O2 -pipe -Wall -g -I../src -I$(OOP_INCLUDE_DIR)
+-LDFLAGS = -L../src -L$(OOP_LIB_DIR) $(SOLARIS_LDFLAGS)
++CC  ?= gcc
++CFLAGS  += -O2 -pipe -Wall -g -I../src -I$(OOP_INCLUDE_DIR)
++LDFLAGS += -L../src -L$(OOP_LIB_DIR) $(SOLARIS_LDFLAGS)
+ UNRULI_LINK = $(CC) $(ARCH) $(LDFLAGS) -o $@ $^ $(SOLARIS_LIBS)
+ LINK = $(UNRULI_LINK) -lruli -loop
+ 
+@@ -65,13 +65,13 @@ install: $(TARGETS)
+   mkdir -p $(INSTALL_BIN_DIR) $(INSTALL_MAN1_DIR)
+   cp $(TARGETS) $(INSTALL_BIN_DIR)
+   cp ../doc/man/*.1 $(INSTALL_MAN1_DIR)
+-  cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 smtpsearch.1
+-  cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 httpsearch.1
+-  cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 sync_srvsearch.1
+-  cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 sync_smtpsearch.1
+-  cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 sync_httpsearch.1
+-  cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 ruli-getaddrinfo.1
+-  cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 getaddrinfo.1
++  cd $(INSTALL_MAN_DIR)/man1 && ln -sf srvsearch.1 smtpsearch.1
++  cd $(INSTALL_MAN_DIR)/man1 && ln -sf srvsearch.1 httpsearch.1
++  cd $(INSTALL_MAN_DIR)/man1 && ln -sf srvsearch.1 sync_srvsearch.1
++  cd 

[oe] [zeus 05/17] fltk: fix build error when enable package config examples

2020-01-02 Thread Armin Kuster
From: Kai Kang 

Backport patch to fix fltk build error when enable package config
'examples'. Drop the useless parts such as .gitignore and Makefile
from the patch.

fltk-native is also required by package config 'examples'.

Signed-off-by: Kai Kang 
Signed-off-by: Khem Raj 
(cherry picked from commit bbecc5dfc4d6da8ff3b4606d7cd24eeb2df0a7bc)
Signed-off-by: Armin Kuster 
---
 meta-oe/recipes-support/fltk/fltk.bb  |   7 +-
 ...-when-enable-package-config-examples.patch | 182 ++
 2 files changed, 187 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch

diff --git a/meta-oe/recipes-support/fltk/fltk.bb 
b/meta-oe/recipes-support/fltk/fltk.bb
index ec9e04bed62..0f30acc3a11 100644
--- a/meta-oe/recipes-support/fltk/fltk.bb
+++ b/meta-oe/recipes-support/fltk/fltk.bb
@@ -5,7 +5,10 @@ DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
 inherit distro_features_check binconfig lib_package gtk-icon-cache mime
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRC_URI += 
"file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch"
+SRC_URI += " \
+file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch \
+file://0004-Fix-build-error-when-enable-package-config-examples.patch \
+"
 
 EXTRA_OECMAKE = " \
 -DOPTION_BUILD_SHARED_LIBS=ON \
@@ -17,7 +20,7 @@ EXTRA_OECMAKE = " \
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
 
-PACKAGECONFIG[examples] = 
"-DOPTION_BUILD_EXAMPLES=ON,-DOPTION_BUILD_EXAMPLES=OFF,"
+PACKAGECONFIG[examples] = 
"-DOPTION_BUILD_EXAMPLES=ON,-DOPTION_BUILD_EXAMPLES=OFF,fltk-native"
 PACKAGECONFIG[cairo] = "-DOPTION_CAIRO=ON,-DOPTION_CAIRO=OFF,cairo"
 PACKAGECONFIG[opengl] = "-DOPTION_USE_GL=ON,-DOPTION_USE_GL=OFF,virtual/libgl"
 PACKAGECONFIG[xinerama] = 
"-DOPTION_USE_XINERAMA=ON,-DOPTION_USE_XINERAMA=OFF,libxinerama"
diff --git 
a/meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch
 
b/meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch
new file mode 100644
index 000..974c02fe619
--- /dev/null
+++ 
b/meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch
@@ -0,0 +1,182 @@
+Fix build error when enable package config examples.
+
+Upstream-Status: Backport [https://github.com/fltk/fltk/commit/16774dd]
+
+Signed-off-by: Kai Kang 
+
+
+From 16774ddc4e000c89e560fde0ced8be9814ef041e Mon Sep 17 00:00:00 2001
+From: Albrecht Schlosser 
+Date: Wed, 8 Feb 2017 02:06:52 +
+Subject: [PATCH] Rename test/help demo program to test/help_dialog.
+
+This change avoids a name conflict with CMake's auto-generated target 'help'
+for "Unix Makefiles", "Ninja", and supposedly other generators as well.
+
+
+git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12171 
ea41ed52-d2ee-0310-a9c1-e6b18d33e121
+---
+ CMake/macros.cmake|  5 -
+ documentation/src/examples.dox|  8 +++
+ test/CMakeLists.txt   | 27 +++
+ test/demo.menu|  2 +-
+ test/{help.cxx => help_dialog.cxx}|  6 ++---
+ test/{help-test.html => help_dialog.html} |  0
+ 6 files changed, 31 insertions(+), 17 deletions(-)
+ rename test/{help.cxx => help_dialog.cxx} (88%)
+ rename test/{help-test.html => help_dialog.html} (100%)
+
+diff --git a/CMake/macros.cmake b/CMake/macros.cmake
+index 5b0d0fa..7134fcb 100644
+--- a/CMake/macros.cmake
 b/CMake/macros.cmake
+@@ -90,11 +90,6 @@ function(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
+ 
+ set (tname ${NAME})   # target name
+ 
+-# rename reserved target name "help" (CMake 2.8.12 and later)
+-if (${tname} MATCHES "^help$")
+-set (tname "test_help")
+-endif (${tname} MATCHES "^help$")
+-
+ foreach(src ${SOURCES})
+ if ("${src}" MATCHES "\\.fl$")
+ list(APPEND flsrcs ${src})
+diff --git a/documentation/src/examples.dox b/documentation/src/examples.dox
+index 5105b7b..7961b02 100644
+--- a/documentation/src/examples.dox
 b/documentation/src/examples.dox
+@@ -60,7 +60,7 @@ you build FLTK, unlike those in the 'test' directory shown 
below.
+ 
+ 
+  \ref examples_hello   
+- \ref examples_help
++ \ref examples_help_dialog 
+  \ref examples_iconize 
+  \ref examples_image   
+  \ref examples_inactive
+@@ -326,13 +326,13 @@ easily under FLTK.
+ tiny demo shows how little is needed to get a functioning application
+ running with FLTK. Quite impressive, I'd say.
+ 
+-\subsection examples_help help
++\subsection examples_help_dialog help_dialog
+ 
+ \par
+-\c help displays the built-in FLTK help browser. The 
++\c help_dialog displays the built-in FLTK help browser. The
+ Fl_Help_Dialog understands a subset of html and renders
+ various image formats. This widget makes it easy to provide help

[oe] [zeus 04/17] xfce-dusk-gtk3: correct invalid SRC_URI

2020-01-02 Thread Armin Kuster
From: Changqing Li 

original SRC_URI is invalid now, and current upstream address
is such a long address(see below), and this package has not been
updated since 2011, so use http://sources.openembedded.org/.

https://dllb2.pling.com/api/files/download/id/1460766718/s/938c137c59bf7f1a6a6cc100c940feafd6904dc6478d5f96d09f3a631f9708e559055433db9e97654b196881fecbae445f094347befba0a5e477e961a73a7434/t/1576230019/c/a3f98e1fd43cfd072d46d7bedf6646191f5a020476297e0da678723a0078b9b8d284736bb34c4e876389b4e518777dc6a23c8666bb6bd42ceb1b893c9c264cce/lt/download/141404-xfce_dusk_gtk3-1_3.tar.gz

Signed-off-by: Changqing Li 
Acked-by: Kai Kang 
Signed-off-by: Khem Raj 
(cherry picked from commit f5ec79e25957a9231ba52fd09825ab8da68dc5e7)
Signed-off-by: Armin Kuster 
---
 meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb 
b/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb
index b05c7485295..89dab4923f4 100644
--- a/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb
+++ b/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=8f0e2cd40e05189ec81232da84bd6e1a"
 
 inherit allarch
 
-SRC_URI = 
"http://xfce-look.org/CONTENT/content-files/141404-xfce_dusk_gtk3-1_3.tar.gz;subdir=${BPN}-${PV};
+SRC_URI = 
"http://sources.openembedded.org/141404-xfce_dusk_gtk3-1_3.tar.gz;subdir=${BPN}-${PV};
 SRC_URI[md5sum] = "b3ad37ad8173b14ec090e60a80e65d8f"
 SRC_URI[sha256sum] = 
"bfa8a88607d1a1da5bd0b9e4e075767c54400a3c5a0fae88b619ed71532f30b4"
 
-- 
2.17.1

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


[oe] [zeus 02/17] tinyalsa: fix installation libdir path to match multilibs

2020-01-02 Thread Armin Kuster
From: Khem Raj 

Fixes
ERROR: tinyalsa-1.1.1+gitAUTOINC+8449529c7e-r0 do_package: QA Issue: tinyalsa: 
Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libtinyalsa.a
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Khem Raj 
Cc: Andreas Müller 
Acked-by: Andreas Müller 
Signed-off-by: Khem Raj 
(cherry picked from commit d9f3e6dbed8e5d96f2069280f0a566af89afb2fa)
Signed-off-by: Armin Kuster 
---
 .../recipes-multimedia/tinyalsa/tinyalsa.bb   |  4 +-
 ...L_-path-instead-of-hardcoding-bin-li.patch | 46 +++
 2 files changed, 49 insertions(+), 1 deletion(-)
 create mode 100644 
meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch

diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb 
b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb
index 8b86f824303..062096892ee 100644
--- a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb
+++ b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb
@@ -7,7 +7,9 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://NOTICE;md5=dbdefe400d894b510a9de14813181d0b"
 
 SRCREV = "8449529c7e50f432091539ba7b438e79b04059b5"
-SRC_URI = "git://github.com/tinyalsa/tinyalsa"
+SRC_URI = "git://github.com/tinyalsa/tinyalsa \
+   
file://0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch \
+  "
 PV = "1.1.1+git${SRCPV}"
 
 S = "${WORKDIR}/git"
diff --git 
a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch
 
b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch
new file mode 100644
index 000..6f9c39996bf
--- /dev/null
+++ 
b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch
@@ -0,0 +1,46 @@
+From fe4f3c2a37a81201f463ff962364f014f50c9896 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Mon, 16 Dec 2019 22:58:41 -0800
+Subject: [PATCH] Use CMAKE_INSTALL_ instead of hardcoding bin/lib/
+ install paths
+
+Helps fix build/packaging issues on machines where default libdir is not
+lib but say lib64
+
+Upstream-Status: Submitted [https://github.com/tinyalsa/tinyalsa/pull/143]
+Signed-off-by: Khem Raj 
+---
+ CMakeLists.txt | 14 +++---
+ 1 file changed, 11 insertions(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cb31c58..1cc4a85 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -41,12 +41,20 @@ add_util("tinymix" "utils/tinymix.c")
+ install(FILES ${HDRS}
+ DESTINATION "include/tinyalsa")
+ 
++if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
++set(CMAKE_INSTALL_LIBDIR lib)
++endif()
++
++if(NOT DEFINED CMAKE_INSTALL_BINDIR)
++  set(CMAKE_INSTALL_BINDIR bin)
++endif()
++
+ install(TARGETS "tinyalsa"
+ "tinyplay"
+ "tinycap"
+ "tinymix"
+ "tinypcminfo"
+-RUNTIME DESTINATION "bin"
+-ARCHIVE DESTINATION "lib"
+-LIBRARY DESTINATION "lib")
++RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ 
+-- 
+2.24.1
+
-- 
2.17.1

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


[oe] [zeus 01/17] grpc: Define libdir and cmakedir in terms of multilib

2020-01-02 Thread Armin Kuster
From: Khem Raj 

This helps in avoiding packaging errors seen with distros enabling
multilib

Fixes

ERROR: grpc-1.24.3-r0 do_package: QA Issue: grpc: Files/directories were 
installed but not shipped in any package:
  /usr/lib/libgrpc++.so.1.24.3
  ...
  /usr/lib/cmake
  /usr/lib/cmake/grpc
  /usr/lib/cmake/grpc/gRPCConfigVersion.cmake
  /usr/lib/cmake/grpc/gRPCConfig.cmake
  /usr/lib/cmake/grpc/gRPCTargets-noconfig.cmake
  /usr/lib/cmake/grpc/gRPCTargets.cmake
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded, avoid installing them or de
lete them within do_install.

Signed-off-by: Khem Raj 
(cherry picked from commit e18d8c957034908f27350e6ffcae2a3d05a4387b)
Signed-off-by: Armin Kuster 
---
 meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb 
b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
index 5cfa3aa82e2..8d54dbeff81 100644
--- a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
+++ b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
@@ -36,6 +36,8 @@ EXTRA_OECMAKE = " \
 -DgRPC_INSTALL=ON \
 -DCMAKE_CROSSCOMPILING=ON \
 -DBUILD_SHARED_LIBS=ON \
+-DgRPC_INSTALL_LIBDIR=${baselib} \
+-DgRPC_INSTALL_CMAKEDIR=${baselib}/cmake/${BPN} \
 "
 
 do_configure_prepend_mipsarch() {
@@ -44,6 +46,6 @@ do_configure_prepend_mipsarch() {
 
 BBCLASSEXTEND = "native nativesdk"
 
-SYSROOT_DIRS_BLACKLIST_append_class-target = "${libdir}/cmake/grpc"
+SYSROOT_DIRS_BLACKLIST_append_class-target = "${baselib}/cmake/grpc"
 
 FILES_${PN}-dev += "${bindir}"
-- 
2.17.1

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


[oe] [zeus 00/17] Patch review

2020-01-02 Thread Armin Kuster
Please have comments back by Saturday.

The following changes since commit fbe4cf8d56eea586c096621e7c913b24bd99c9c6:

  gtkwave: add the libtirpc dependence and config (2019-12-17 21:57:51 -0800)

are available in the Git repository at:

  https://git.openembedded.org/meta-openembedded-contrib stable/zeus-nut
  http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=stable/zeus-nut

Adrian Bunk (3):
  networkmanager: Upgrade 1.18.2 -> 1.18.4
  gpsd: Backport a memory leak fix
  libqmi: Upgrade 1.24.0 -> 1.24.2

Changqing Li (1):
  xfce-dusk-gtk3: correct invalid SRC_URI

Hongxu Jia (1):
  python-more-itertools: downgrade 7.2.0 -> 5.0.0

Kai Kang (1):
  fltk: fix build error when enable package config examples

Khem Raj (9):
  grpc: Define libdir and cmakedir in terms of multilib
  tinyalsa: fix installation libdir path to match multilibs
  libqb: Add --enable-nosection-fallback with mips64/clang
  x11vnc: Fix build for 32bit arches with 64bit time_t
  evtest: Fix build for 32bit arches with 64bit time_t
  lirc: Fix build for 32bit arches with 64bit time_t
  utouch-evemu,utouch-frame: Fix build for 32bit arches with 64bit
time_t
  directfb: Fix build for 32bit arches with 64bit time_t
  ruli: Fix install step and build samples too

Stefan Agner (1):
  networkmanager: do not deploy unnecessary udev rule file

zhangxiao (1):
  syslog-ng: Fix multilib header conflict - syslog-ng-config.h

 .../recipes-multimedia/tinyalsa/tinyalsa.bb   |   4 +-
 ...L_-path-instead-of-hardcoding-bin-li.patch |  46 +
 ...ger_1.18.2.bb => networkmanager_1.18.4.bb} |   9 +-
 .../recipes-devtools/grpc/grpc_1.24.1.bb  |   4 +-
 ...-Fix-build-with-format-string-checks.patch |  29 ++-
 ...ake-space-for-flags-from-environment.patch |  95 +
 ...v-Mark-prev_addr_list_size-as-unused.patch |  35 
 .../recipes-support/ruli/files/Makefile.patch | 122 
 .../recipes-support/ruli/ruli_0.36.bb |  23 ++-
 .../{libqmi_1.24.0.bb => libqmi_1.24.2.bb}|   4 +-
 ...ld-on-32bit-arches-with-64bit-time_t.patch |  40 
 .../recipes-connectivity/lirc/lirc_0.9.4d.bb  |   1 +
 meta-oe/recipes-extended/libqb/libqb_1.0.5.bb |   6 +-
 .../recipes-graphics/directfb/directfb.inc|   3 +-
 ...ld-on-32bit-arches-with-64bit-time_t.patch | 139 +
 ...ld-on-32bit-arches-with-64bit-time_t.patch | 111 +++
 .../recipes-graphics/x11vnc/x11vnc_0.9.16.bb  |   5 +-
 .../0001-gps_shm_close-Free-privdata.patch|  37 
 meta-oe/recipes-navigation/gpsd/gpsd_3.19.bb  |   1 +
 meta-oe/recipes-support/fltk/fltk.bb  |   7 +-
 ...-when-enable-package-config-examples.patch | 182 ++
 .../recipes-support/syslog-ng/syslog-ng.inc   |   4 +-
 ...ld-on-32bit-arches-with-64bit-time_t.patch |  76 
 .../utouch/utouch-evemu_git.bb|   4 +-
 ...ld-on-32bit-arches-with-64bit-time_t.patch |  41 
 ...tat.h-for-fixing-build-issue-on-musl.patch |   0
 .../remove-man-page-creation.patch|   0
 .../utouch/utouch-frame_git.bb|   1 +
 ...ld-on-32bit-arches-with-64bit-time_t.patch |  41 
 meta-oe/recipes-test/evtest/evtest_1.34.bb|   6 +-
 .../python/python-more-itertools.inc  |   3 -
 .../python/python-more-itertools_5.0.0.bb |   7 +
 .../python/python-more-itertools_7.2.0.bb |   2 -
 .../python/python3-more-itertools_7.2.0.bb|   3 +
 .../xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb  |   2 +-
 35 files changed, 935 insertions(+), 158 deletions(-)
 create mode 100644 
meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch
 rename 
meta-networking/recipes-connectivity/networkmanager/{networkmanager_1.18.2.bb 
=> networkmanager_1.18.4.bb} (94%)
 create mode 100644 
meta-networking/recipes-support/ruli/files/0001-Make-space-for-flags-from-environment.patch
 create mode 100644 
meta-networking/recipes-support/ruli/files/0001-ruli_srv-Mark-prev_addr_list_size-as-unused.patch
 delete mode 100644 meta-networking/recipes-support/ruli/files/Makefile.patch
 rename meta-oe/recipes-connectivity/libqmi/{libqmi_1.24.0.bb => 
libqmi_1.24.2.bb} (85%)
 create mode 100644 
meta-oe/recipes-connectivity/lirc/lirc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 create mode 100644 
meta-oe/recipes-graphics/x11vnc/files/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 create mode 100644 
meta-oe/recipes-navigation/gpsd/gpsd/0001-gps_shm_close-Free-privdata.patch
 create mode 100644 
meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch
 create mode 100644 
meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 create mode 100644 
meta-oe/recipes-support/utouch/utouch-frame/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 rename 

[oe] [zeus 03/17] libqb: Add --enable-nosection-fallback with mips64/clang

2020-01-02 Thread Armin Kuster
From: Khem Raj 

Same issue happens with clang/mips64 so extend the gold fix to cover for
this case

Signed-off-by: Khem Raj 
(cherry picked from commit dd69fafd7f2c51fb69df66dbeae7f5a4b092580c)
Signed-off-by: Armin Kuster 
---
 meta-oe/recipes-extended/libqb/libqb_1.0.5.bb | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb 
b/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb
index b205186e0b2..82503a168b5 100644
--- a/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb
+++ b/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb
@@ -22,9 +22,13 @@ S = "${WORKDIR}/git"
 # 
WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld:
 error: conftest.ld: SECTIONS seen after other input files; try -T/--script
 # 
WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld:
 internal error in write_sections, at ../../gold/reloc.cc:791
 # collect2: error: ld returned 1 exit status
-EXTRA_OECONF_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' 
--enable-nosection-fallback', '', d)}"
+NOSECTION_FALLBACK = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', 
'--enable-nosection-fallback', '', d)}"
+NOSECTION_FALLBACK_toolchain-clang_mips64 = "--enable-nosection-fallback"
+
+EXTRA_OECONF += "${NOSECTION_FALLBACK}"
 
 CFLAGS += "-pthread -D_REENTRANT"
+
 do_configure_prepend() {
 ( cd ${S}
 ${S}/autogen.sh )
-- 
2.17.1

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


[oe] [meta-networking][PATCH] ntp: restrict NTP mode 6 queries

2020-01-02 Thread Yi Zhao
The current NTP server responds to mode 6 queries from any clients.
Devices that respond to these queries have the potential to be used in
NTP amplification attacks. An unauthenticated, remote attacker could
potentially exploit this, via a specially crafted mode 6 query, to cause
a reflected denial of service condition.

See: https://www.tenable.com/plugins/nessus/97861
 https://scan.shadowserver.org/ntpversion/

Update ntp.conf to restrict NTP mode 6 queries.

Signed-off-by: Yi Zhao 
---
 meta-networking/recipes-support/ntp/ntp/ntp.conf | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/ntp/ntp/ntp.conf 
b/meta-networking/recipes-support/ntp/ntp/ntp.conf
index 676e18645..b59003092 100644
--- a/meta-networking/recipes-support/ntp/ntp/ntp.conf
+++ b/meta-networking/recipes-support/ntp/ntp/ntp.conf
@@ -14,4 +14,8 @@ driftfile /var/lib/ntp/drift
 server 127.127.1.0
 fudge 127.127.1.0 stratum 14
 # Defining a default security setting
-restrict default
+restrict -4 default notrap nomodify nopeer noquery
+restrict -6 default notrap nomodify nopeer noquery
+
+restrict 127.0.0.1# allow local host
+restrict ::1  # allow local host
-- 
2.17.1

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


[oe] [meta-python][PATCH] python-cachetools: upgrade 3.1.1 -> 4.0.0

2020-01-02 Thread Wang Mingyu
Signed-off-by: Wang Mingyu 
---
 meta-python/recipes-devtools/python/python-cachetools.inc | 4 ++--
 ...{python-cachetools_3.1.1.bb => python-cachetools_4.0.0.bb} | 0
 ...ython3-cachetools_3.1.1.bb => python3-cachetools_4.0.0.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-cachetools_3.1.1.bb => 
python-cachetools_4.0.0.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-cachetools_3.1.1.bb => 
python3-cachetools_4.0.0.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-cachetools.inc 
b/meta-python/recipes-devtools/python/python-cachetools.inc
index 9c793808f..f3d3bc6bc 100644
--- a/meta-python/recipes-devtools/python/python-cachetools.inc
+++ b/meta-python/recipes-devtools/python/python-cachetools.inc
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=27f7518eb6f7dc686d0f953b2f28dae5"
 
 inherit pypi
 
-SRC_URI[md5sum] = "91aa9b611b6345154df84e8e37746f41"
-SRC_URI[sha256sum] = 
"8ea2d3ce97850f31e4a08b0e2b5e6c34997d7216a9d2c98e0f3978630d4da69a"
+SRC_URI[md5sum] = "6a88df13467e80eb61dd2bedad19b83c"
+SRC_URI[sha256sum] = 
"9a52dd97a85f257f4e4127f15818e71a0c7899f121b34591fcc1173ea79a0198"
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-cachetools_3.1.1.bb 
b/meta-python/recipes-devtools/python/python-cachetools_4.0.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-cachetools_3.1.1.bb
rename to meta-python/recipes-devtools/python/python-cachetools_4.0.0.bb
diff --git a/meta-python/recipes-devtools/python/python3-cachetools_3.1.1.bb 
b/meta-python/recipes-devtools/python/python3-cachetools_4.0.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-cachetools_3.1.1.bb
rename to meta-python/recipes-devtools/python/python3-cachetools_4.0.0.bb
-- 
2.17.1



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


[oe] [meta-python][PATCH] python-sqlalchemy: upgrade 1.1.17 -> 1.3.12

2020-01-02 Thread Wang Mingyu
-License-Update: Copyright year updated to 2019.

Signed-off-by: Wang Mingyu 
---
 meta-python/recipes-devtools/python/python-sqlalchemy.inc   | 6 +++---
 ...hon-sqlalchemy_1.1.17.bb => python-sqlalchemy_1.3.12.bb} | 0
 ...n3-sqlalchemy_1.1.17.bb => python3-sqlalchemy_1.3.12.bb} | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-sqlalchemy_1.1.17.bb => 
python-sqlalchemy_1.3.12.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-sqlalchemy_1.1.17.bb => 
python3-sqlalchemy_1.3.12.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy.inc 
b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
index 0c191ae7d..3763a39ae 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=b1c412c9d8d1ce018f7a9374407c22bb"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2f5eb030c48975d5294baf0f5d01af1c"
 
 PYPI_PACKAGE = "SQLAlchemy"
 inherit pypi
 
-SRC_URI[md5sum] = "03db1c8f8ae911977c0bf3950a4c9c21"
-SRC_URI[sha256sum] = 
"6b55ec379c11ad696f9371ce8e0de93c7f21134323f56a56a1b0d8fbef17013c"
+SRC_URI[md5sum] = "02a46be841903b60c52a83342d3ced8e"
+SRC_URI[sha256sum] = 
"bfb8f464a5000b567ac1d350b9090cf081180ec1ab4aa87e7bca12dab25320ec"
 
 RDEPENDS_${PN} += " \
 ${PYTHON_PN}-json \
diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.17.bb 
b/meta-python/recipes-devtools/python/python-sqlalchemy_1.3.12.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-sqlalchemy_1.1.17.bb
rename to meta-python/recipes-devtools/python/python-sqlalchemy_1.3.12.bb
diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.17.bb 
b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.3.12.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.17.bb
rename to meta-python/recipes-devtools/python/python3-sqlalchemy_1.3.12.bb
-- 
2.17.1



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


[oe] [meta-python][PATCH] python-waitress: upgrade 1.3.1 -> 1.4.1

2020-01-02 Thread Wang Mingyu
Signed-off-by: Wang Mingyu 
---
 meta-python/recipes-devtools/python/python-waitress.inc   | 4 ++--
 .../{python-waitress_1.3.1.bb => python-waitress_1.4.1.bb}| 0
 .../{python3-waitress_1.3.1.bb => python3-waitress_1.4.1.bb}  | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-waitress_1.3.1.bb => 
python-waitress_1.4.1.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-waitress_1.3.1.bb => 
python3-waitress_1.4.1.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-waitress.inc 
b/meta-python/recipes-devtools/python/python-waitress.inc
index 732c31dbd..a8d337fd5 100644
--- a/meta-python/recipes-devtools/python/python-waitress.inc
+++ b/meta-python/recipes-devtools/python/python-waitress.inc
@@ -6,5 +6,5 @@ SECTION = "devel/python"
 LICENSE = "ZPL-2.1"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78ccb3640dc841e1baecb3e27a6966b2"
 
-SRC_URI[md5sum] = "d9132d313de0c5e0fec34ef9ede5442e"
-SRC_URI[sha256sum] = 
"278e09d6849acc1365404bbf7d790d0423b159802e850c726e8cd0a126a2dac7"
+SRC_URI[md5sum] = "e6b9f0406cb4e6fedcc3add96411786d"
+SRC_URI[sha256sum] = 
"f4118cbce75985fd60aeb4f0d781aba8dc7ae28c18e50753e913d7a7dee76b62"
diff --git a/meta-python/recipes-devtools/python/python-waitress_1.3.1.bb 
b/meta-python/recipes-devtools/python/python-waitress_1.4.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-waitress_1.3.1.bb
rename to meta-python/recipes-devtools/python/python-waitress_1.4.1.bb
diff --git a/meta-python/recipes-devtools/python/python3-waitress_1.3.1.bb 
b/meta-python/recipes-devtools/python/python3-waitress_1.4.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-waitress_1.3.1.bb
rename to meta-python/recipes-devtools/python/python3-waitress_1.4.1.bb
-- 
2.17.1



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


[oe] [meta-python][PATCH] python-pytest: upgrade 5.2.1 -> 5.3.2

2020-01-02 Thread Wang Mingyu
Signed-off-by: Wang Mingyu 
---
 meta-python/recipes-devtools/python/python-pytest.inc | 4 ++--
 .../python/{python-pytest_5.3.1.bb => python-pytest_5.3.2.bb} | 0
 .../{python3-pytest_5.3.1.bb => python3-pytest_5.3.2.bb}  | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-pytest_5.3.1.bb => 
python-pytest_5.3.2.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-pytest_5.3.1.bb => 
python3-pytest_5.3.2.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-pytest.inc 
b/meta-python/recipes-devtools/python/python-pytest.inc
index e35d56685..752d67e36 100644
--- a/meta-python/recipes-devtools/python/python-pytest.inc
+++ b/meta-python/recipes-devtools/python/python-pytest.inc
@@ -3,8 +3,8 @@ HOMEPAGE = "http://pytest.org;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=640061b8cee64b308a4d2f9f556c12f2"
 
-SRC_URI[md5sum] = "06cdb939a1f45f6b82b304abb87c3e30"
-SRC_URI[sha256sum] = 
"f67403f33b2b1d25a6756184077394167fe5e2f9d8bdaab30707d19ccec35427"
+SRC_URI[md5sum] = "71a8eb2ab5efb76512d9a69bd6477034"
+SRC_URI[sha256sum] = 
"6b571215b5a790f9b41f19f3531c53a45cf6bb8ef2988bc1ff9afb38270b25fa"
 
 SRC_URI_append = " 
file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch \
"
diff --git a/meta-python/recipes-devtools/python/python-pytest_5.3.1.bb 
b/meta-python/recipes-devtools/python/python-pytest_5.3.2.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pytest_5.3.1.bb
rename to meta-python/recipes-devtools/python/python-pytest_5.3.2.bb
diff --git a/meta-python/recipes-devtools/python/python3-pytest_5.3.1.bb 
b/meta-python/recipes-devtools/python/python3-pytest_5.3.2.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pytest_5.3.1.bb
rename to meta-python/recipes-devtools/python/python3-pytest_5.3.2.bb
-- 
2.17.1



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


[oe] [meta-oe][PATCH] hwdata: upgrade 0.329 -> 0.330

2020-01-02 Thread Wang Mingyu
Signed-off-by: Wang Mingyu 
---
 meta-oe/recipes-support/hwdata/hwdata_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/hwdata/hwdata_git.bb 
b/meta-oe/recipes-support/hwdata/hwdata_git.bb
index a8479466a..e20bec5d8 100644
--- a/meta-oe/recipes-support/hwdata/hwdata_git.bb
+++ b/meta-oe/recipes-support/hwdata/hwdata_git.bb
@@ -5,8 +5,8 @@ SECTION = "System/Base"
 LICENSE = "GPL-2.0+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
 
-PV = "0.329"
-SRCREV = "3b93b226177b6a8d219fa5edee2a417758cf74db"
+PV = "0.330"
+SRCREV = "335f72f8ed4ad0cf335526d3c6c4701f7e58f45b"
 SRC_URI = "git://github.com/vcrhonek/${BPN}.git"
 
 S = "${WORKDIR}/git"
-- 
2.17.1



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


Re: [oe] [meta-perl][PATCH] libconfig-autoconf-perl: add recipe

2020-01-02 Thread Jens Rehsack
I uploaded 0.318 today to PAUSE.
Sending new patch for that or an update - depending whether this is in master 
tomorrow morning or not ;)

> Am 02.01.2020 um 14:37 schrieb Jens Rehsack :
> 
> Introduce Config::Autoconf module to meta-perl which will allow some
> probes can be run without leaving perl5 context.
> 
> Signed-off-by: Jens Rehsack 
> ---
> .../libconfig-autoconf-perl_0.317.bb  | 41 +++
> 1 file changed, 41 insertions(+)
> create mode 100644 
> meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
> 
> diff --git 
> a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb 
> b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
> new file mode 100644
> index 0..62983764f
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
> @@ -0,0 +1,41 @@
> +# Copyright (C) 2020 Jens Rehsack 
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +
> +SUMMARY = "A module to implement some of AutoConf macros in pure perl"
> +DESCRIPTION = "Config::AutoConf is intended to provide the same 
> opportunities to Perl \
> +developers as GNU Autoconf  does for \
> +Shell developers."
> +
> +HOMEPAGE=   "https://metacpan.org/release/Config-AutoConf;
> +
> +SECTION = "libs"
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +
> +LIC_FILES_CHKSUM = 
> "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798
>  \
> +file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
> +
> +SRC_URI = 
> "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Config-AutoConf-0.317.tar.gz"
> +
> +SRC_URI[md5sum] = "29f87fc7803f1725f6daafcf416089ce"
> +SRC_URI[sha256sum] = 
> "01e4b22d2fecb7cfd3cc1f4dabe95cd137cf249cc5e38184f88556e5c98a9ce1"
> +RDEPENDS_${PN} += "libcapture-tiny-perl"
> +RDEPENDS_${PN} += "perl-module-base"
> +RDEPENDS_${PN} += "perl-module-carp"
> +RDEPENDS_${PN} += "perl-module-config"
> +RDEPENDS_${PN} += "perl-module-constant"
> +RDEPENDS_${PN} += "perl-module-file-basename"
> +RDEPENDS_${PN} += "perl-module-file-spec"
> +RDEPENDS_${PN} += "perl-module-file-temp"
> +RDEPENDS_${PN} += "perl-module-extutils-cbuilder"
> +RDEPENDS_${PN} += "perl-module-extutils-cbuilder-unix"
> +RDEPENDS_${PN} += "perl-module-scalar-util"
> +RDEPENDS_${PN} += "perl-module-strict"
> +RDEPENDS_${PN} += "perl-module-text-parsewords"
> +RDEPENDS_${PN} += "perl-module-warnings"
> +RRECOMMENDS_${PN} += "libfile-slurper-perl"
> +
> +S = "${WORKDIR}/Config-AutoConf-${PV}"
> +
> +inherit cpan ptest-perl allarch
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.17.1
> 

--
Jens Rehsack - rehs...@gmail.com



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


Re: [oe] [meta-perl][PATCH] libunix-statgrab: add recipe

2020-01-02 Thread Jens Rehsack


> Am 02.01.2020 um 19:30 schrieb Khem Raj :
> 
> This seems to fail
> https://errors.yoctoproject.org/Errors/Details/301385/
> https://errors.yoctoproject.org/Errors/Details/301387/

Weird. pkg_config_prog should be provided by

DEPENDS += "libconfig-autoconf-perl-native"

Can you find the "config.log" of one of those builds?
Maybe pkg-config itself is missing and I have to add this dependency somehow ...

> On Thu, Jan 2, 2020 at 5:39 AM Jens Rehsack  wrote:
>> 
>> Add recipe for Unix::Statgrab perl module, a sane language binding for
>> libstatgrab.
>> 
>> Signed-off-by: Jens Rehsack 
>> ---
>> .../libstatgrab/libunix-statgrab_0.112.bb | 38 +++
>> 1 file changed, 38 insertions(+)
>> create mode 100644 
>> meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
>> 
>> diff --git a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb 
>> b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
>> new file mode 100644
>> index 0..7402eb879
>> --- /dev/null
>> +++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
>> @@ -0,0 +1,38 @@
>> +SUMMARY = "Perl interface to the libstatgrab library"
>> +DESCRIPTION = "Unix::Statgrab is a wrapper for libstatgrab as available 
>> from \
>> +. It is a reasonably portable attempt 
>> \
>> +to query interesting stats about your computer. It covers information on \
>> +the operating system, CPU, memory usage, network interfaces, hard-disks \
>> +etc."
>> +
>> +HOMEPAGE = "https://metacpan.org/release/Unix-Statgrab;
>> +SECTION = "libs"
>> +LICENSE = "Artistic-1.0 | GPL-1.0+ | LGPL-2.1+"
>> +DEPENDS += "libcapture-tiny-perl-native"
>> +DEPENDS += "libconfig-autoconf-perl-native"
>> +DEPENDS += "libstatgrab"
>> +RDEPENDS_${PN} += "\
>> +libstatgrab \
>> +perl-module-autoloader \
>> +perl-module-carp \
>> +perl-module-dynaloader \
>> +perl-module-exporter \
>> +perl-module-strict \
>> +perl-module-vars \
>> +perl-module-warnings \
>> +"
>> +
>> +SRC_URI = 
>> "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Unix-Statgrab-${PV}.tar.gz"
>> +LIC_FILES_CHKSUM = 
>> "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798
>>  \
>> +
>> file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d \
>> +
>> file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \
>> +"
>> +
>> +SRC_URI[md5sum] = "a6bc06b3f7749f7d77a2b1bd13402821"
>> +SRC_URI[sha256sum] = 
>> "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa"
>> +
>> +S = "${WORKDIR}/Unix-Statgrab-${PV}"
>> +
>> +inherit cpan ptest-perl
>> +
>> +BBCLASSEXTEND = "native"
>> --
>> 2.17.1
>> 
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Jens Rehsack - rehs...@gmail.com



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


[oe] [meta-python][PATCH v2 2/2] python3-license-expression: add recipe

2020-01-02 Thread Peter Kolbus
python3-license-expression is a utility library to parse and work with
license expressions.

Signed-off-by: Peter Kolbus 
---
 .../python/python-license-expression.inc | 16 
 .../python/python3-license-expression_1.0.bb |  2 ++
 2 files changed, 18 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-license-expression.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-license-expression_1.0.bb

diff --git a/meta-python/recipes-devtools/python/python-license-expression.inc 
b/meta-python/recipes-devtools/python/python-license-expression.inc
new file mode 100644
index 0..4c35e8dd7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-license-expression.inc
@@ -0,0 +1,16 @@
+SUMMARY = "Utility library to parse, compare, simplify and normalize license 
expressions"
+HOMEPAGE = "https://github.com/nexB/license-expression;
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = 
"file://apache-2.0.LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa"
+
+SRC_URI[md5sum] = "81477f779099f55071c6a7b88a29bb01"
+SRC_URI[sha256sum] = 
"8aaa455c5b97c4f2174090178b19792b2a1c620e80591aafd4e0a99b713f9e8d"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-booleanpy \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git 
a/meta-python/recipes-devtools/python/python3-license-expression_1.0.bb 
b/meta-python/recipes-devtools/python/python3-license-expression_1.0.bb
new file mode 100644
index 0..10a702ca4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-license-expression_1.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-license-expression.inc
-- 
2.24.1

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


[oe] [meta-python][PATCH v2 1/2] python3-booleanpy: add recipe

2020-01-02 Thread Peter Kolbus
boolean.py is a library to define and parse boolean algebras. It is
used by python3-license-expression.

Signed-off-by: Peter Kolbus 
---
 .../recipes-devtools/python/python-booleanpy.inc   | 14 ++
 .../python/python3-booleanpy_3.7.bb|  2 ++
 2 files changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-booleanpy.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb

diff --git a/meta-python/recipes-devtools/python/python-booleanpy.inc 
b/meta-python/recipes-devtools/python/python-booleanpy.inc
new file mode 100644
index 0..335d7d396
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-booleanpy.inc
@@ -0,0 +1,14 @@
+SUMMARY = "Define boolean algebras, create and parse boolean expressions and 
create custom boolean DSL"
+HOMEPAGE = "https://github.com/bastikr/boolean.py;
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e319747a5eb94cddf646037c01ddba47"
+
+SRC_URI[md5sum] = "1189d115a38f84f5df743014926a9159"
+SRC_URI[sha256sum] = 
"bd19b412435611ecc712603d0fd7d0e280e24698e7a6e3d5f610473870c5dd1e"
+
+PYPI_PACKAGE = "boolean.py"
+
+inherit pypi
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb 
b/meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb
new file mode 100644
index 0..5f8602d18
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-booleanpy.inc
-- 
2.24.1

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


Re: [oe] [meta-perl][PATCH] libunix-statgrab: add recipe

2020-01-02 Thread Khem Raj
This seems to fail
https://errors.yoctoproject.org/Errors/Details/301385/
https://errors.yoctoproject.org/Errors/Details/301387/

On Thu, Jan 2, 2020 at 5:39 AM Jens Rehsack  wrote:
>
> Add recipe for Unix::Statgrab perl module, a sane language binding for
> libstatgrab.
>
> Signed-off-by: Jens Rehsack 
> ---
>  .../libstatgrab/libunix-statgrab_0.112.bb | 38 +++
>  1 file changed, 38 insertions(+)
>  create mode 100644 
> meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
>
> diff --git a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb 
> b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
> new file mode 100644
> index 0..7402eb879
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "Perl interface to the libstatgrab library"
> +DESCRIPTION = "Unix::Statgrab is a wrapper for libstatgrab as available from 
> \
> +. It is a reasonably portable attempt \
> +to query interesting stats about your computer. It covers information on \
> +the operating system, CPU, memory usage, network interfaces, hard-disks \
> +etc."
> +
> +HOMEPAGE = "https://metacpan.org/release/Unix-Statgrab;
> +SECTION = "libs"
> +LICENSE = "Artistic-1.0 | GPL-1.0+ | LGPL-2.1+"
> +DEPENDS += "libcapture-tiny-perl-native"
> +DEPENDS += "libconfig-autoconf-perl-native"
> +DEPENDS += "libstatgrab"
> +RDEPENDS_${PN} += "\
> +libstatgrab \
> +perl-module-autoloader \
> +perl-module-carp \
> +perl-module-dynaloader \
> +perl-module-exporter \
> +perl-module-strict \
> +perl-module-vars \
> +perl-module-warnings \
> +"
> +
> +SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Unix-Statgrab-${PV}.tar.gz"
> +LIC_FILES_CHKSUM = 
> "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798
>  \
> +
> file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d \
> +
> file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \
> +"
> +
> +SRC_URI[md5sum] = "a6bc06b3f7749f7d77a2b1bd13402821"
> +SRC_URI[sha256sum] = 
> "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa"
> +
> +S = "${WORKDIR}/Unix-Statgrab-${PV}"
> +
> +inherit cpan ptest-perl
> +
> +BBCLASSEXTEND = "native"
> --
> 2.17.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


[oe] [meta-oe][PATCH v2 2/4] gtkperf: Fix build with latest gettext 0.20.x

2020-01-02 Thread Khem Raj
Signed-off-by: Khem Raj 
---
v2: Do not remove intl/ directory

 .../gtkperf/gtkperf/gettext.patch | 36 +++
 .../recipes-graphics/gtkperf/gtkperf_0.40.bb  |  1 +
 2 files changed, 37 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/gtkperf/gtkperf/gettext.patch

diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf/gettext.patch 
b/meta-oe/recipes-graphics/gtkperf/gtkperf/gettext.patch
new file mode 100644
index 00..4a727d3c06
--- /dev/null
+++ b/meta-oe/recipes-graphics/gtkperf/gtkperf/gettext.patch
@@ -0,0 +1,36 @@
+Fix build with gettext 0.20.x
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+
+--- a/Makefile.am
 b/Makefile.am
+@@ -3,7 +3,7 @@
+ ## If you don't want it to overwrite it,
+ ##Please disable it in the Anjuta project configuration
+ 
+-SUBDIRS = intl po src pixmaps
++SUBDIRS = po src pixmaps
+ 
+ gtkperfdocdir = ${prefix}/doc/gtkperf
+ gtkperfdoc_DATA = \
+--- a/configure.in
 b/configure.in
+@@ -31,8 +31,7 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GE
+ 
+ dnl Languages which your application supports
+ ALL_LINGUAS=""
+-AM_GNU_GETTEXT
+-AM_GNU_GETTEXT_VERSION(0.10.40)
++AM_GNU_GETTEXT([external])
+ 
+ dnl Set PACKAGE_LOCALE_DIR in config.h.
+ if test "x${prefix}" = "xNONE"; then
+@@ -100,7 +99,6 @@ AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "
+ 
+ AC_OUTPUT([
+ Makefile
+-intl/Makefile
+ po/Makefile.in
+ src/Makefile
+ pixmaps/Makefile
diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb 
b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
index 6fe258271d..b4d94ff6a2 100644
--- a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
+++ b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
@@ -7,6 +7,7 @@ SRC_URI = 
"http://prdownloads.sourceforge.net/${BPN}/${BPN}_${PV}.tar.gz \
file://Makevars \
file://0001-Include-stdlib.h-for-exit-API.patch \
file://0002-timing.c-Fix-format-security-errors.patch \
+   file://gettext.patch \
"
 
 SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53"
-- 
2.24.1

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


[oe] [meta-multimedia][PATCH v2 4/4] vorbis-tools: Use external gettext

2020-01-02 Thread Khem Raj
Fixes build with gettext 0.20.x

Signed-off-by: Khem Raj 
---
v2: Do not remove intl/ directory

 .../vorbis-tools/vorbis-tools/gettext.patch   | 37 +++
 .../vorbis-tools/vorbis-tools_1.4.0.bb|  1 +
 2 files changed, 38 insertions(+)
 create mode 100644 
meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools/gettext.patch

diff --git 
a/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools/gettext.patch 
b/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools/gettext.patch
new file mode 100644
index 00..b61ce7c184
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools/gettext.patch
@@ -0,0 +1,37 @@
+Fix build with gettext 0.20.x
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+
+--- a/Makefile.am
 b/Makefile.am
+@@ -2,8 +2,8 @@
+ 
+ AUTOMAKE_OPTIONS = foreign dist-zip
+ 
+-SUBDIRS = po intl include share debian win32 @OPT_SUBDIRS@
+-DIST_SUBDIRS = po intl include share debian win32 ogg123 oggenc oggdec 
ogginfo \
++SUBDIRS = po include share debian win32 @OPT_SUBDIRS@
++DIST_SUBDIRS = po include share debian win32 ogg123 oggenc oggdec ogginfo \
+   vcut vorbiscomment m4
+ 
+ EXTRA_DIST = config.rpath README AUTHORS COPYING CHANGES vorbis-tools.spec 
config.h mkinstalldirs
+--- a/configure.ac
 b/configure.ac
+@@ -31,7 +31,7 @@ CFLAGS="$cflags_save"
+ AC_PROG_LIBTOOL
+ 
+ ALL_LINGUAS="be cs da en_GB eo es fr hr hu nl pl ro ru sk sv uk vi"
+-AM_GNU_GETTEXT
++AM_GNU_GETTEXT([external])
+ 
+ dnl --
+ dnl System checks
+@@ -383,7 +383,6 @@ AC_OUTPUT([
+ Makefile
+ m4/Makefile
+ po/Makefile.in
+-intl/Makefile
+ include/Makefile
+ share/Makefile
+ win32/Makefile
diff --git 
a/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb 
b/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb
index 8e9914b498..89e66528ac 100644
--- a/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb
+++ b/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb
@@ -13,6 +13,7 @@ DEPENDS = "libogg libvorbis"
 SRC_URI = "http://downloads.xiph.org/releases/vorbis/${BP}.tar.gz \
file://0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch \

file://0004-Fix-format-error-blocking-compilation-with-hardening.patch \
+   file://gettext.patch \
   "
 
 SRC_URI[md5sum] = "567e0fb8d321b2cd7124f8208b8b90e6"
-- 
2.24.1

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


[oe] [meta-oe][PATCH v2 3/4] hddtemp: Fix build with latest gettext 0.20.x

2020-01-02 Thread Khem Raj
Signed-off-by: Khem Raj 
---
v2: Do not remove intl/ directory

 ...ame-to-configure.ac-and-use-external.patch | 703 ++
 .../hddtemp/hddtemp_0.3-beta15.bb |   1 +
 2 files changed, 704 insertions(+)
 create mode 100644 
meta-oe/recipes-support/hddtemp/hddtemp/0001-configure.ac-Rename-to-configure.ac-and-use-external.patch

diff --git 
a/meta-oe/recipes-support/hddtemp/hddtemp/0001-configure.ac-Rename-to-configure.ac-and-use-external.patch
 
b/meta-oe/recipes-support/hddtemp/hddtemp/0001-configure.ac-Rename-to-configure.ac-and-use-external.patch
new file mode 100644
index 00..d2de0bbe61
--- /dev/null
+++ 
b/meta-oe/recipes-support/hddtemp/hddtemp/0001-configure.ac-Rename-to-configure.ac-and-use-external.patch
@@ -0,0 +1,703 @@
+From d7e6fe2ac69333c2d943a4b8eb139373d1fb2ce2 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Tue, 31 Dec 2019 18:08:09 -0800
+Subject: [PATCH] configure.ac: Rename to configure.ac and use external gettext
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+---
+ configure.ac | 81 
+ 1 file changed, 81 insertions(+)
+ create mode 100644 configure.ac
+
+--- /dev/null
 b/configure.ac
+@@ -0,0 +1,81 @@
++dnl Process this file with autoconf to produce a configure script.
++
++# Initialization
++AC_INIT
++AC_CONFIG_SRCDIR([Makefile.am])
++AC_CONFIG_HEADERS([config.h])
++
++# Determine the host and build type. The target is always a PIC.
++AC_CANONICAL_HOST
++
++AM_INIT_AUTOMAKE(hddtemp, 0.3-beta15)
++
++dnl Checks for programs.
++AC_PROG_CC
++AC_PROG_INSTALL
++
++# append the host alias to the tools for cross compiling
++AC_HEADER_STDC
++AC_CHECK_HEADERS(fcntl.h)
++AC_CHECK_HEADERS(iconv.h)
++AC_CHECK_HEADERS(netinet/in.h)
++AC_CHECK_TYPE(in_addr_t, ,[AC_DEFINE_UNQUOTED([in_addr_t], [uint32_t], 
[Define to 'uint32_t' if  does not define.])], [#include 
])
++
++# Checks for typedefs, structures, and compiler characteristics.
++AC_C_CONST
++AC_STRUCT_TM
++
++dnl internationalization macros
++AM_GNU_GETTEXT([external])
++
++AC_CHECK_FUNCS([bindtextdomain textdomain iconv])
++
++dnl reasonable guesses for where stuff is installed
++dnl if we don't do that now, the config.h will use ${prefix}
++dnl for DEFAULT_DATABASE_PATH.
++if test "x$prefix" = "xNONE"; then
++   prefix="/usr/local"
++fi
++if test "x$exec_prefix" = "xNONE"; then
++   exec_prefix=$prefix
++fi
++
++AC_MSG_CHECKING([Location of hddtemp.db])
++DEFAULT_DATABASE_PATH=
++#db_path=\"`eval echo ${datadir}`/misc/hddtemp.db\"
++db_path=\"/usr/share/misc/hddtemp.db\"
++AC_ARG_WITH(db_path,
++   [  --with-db-path=PATH \
++Default location of hddtemp.db file 
[/usr/share/misc/hddtemp.db]],
++   [  if test -d "$withval"; then
++ AC_MSG_FAILURE([new file name for db-path])
++  fi
++  DEFAULT_DATABASE_PATH="\"$withval\""
++   ],
++   [  DEFAULT_DATABASE_PATH="$db_path" ])
++AC_MSG_RESULT($DEFAULT_DATABASE_PATH)
++AC_DEFINE_UNQUOTED([DEFAULT_DATABASE_PATH], [$DEFAULT_DATABASE_PATH], 
[Default location of drive info database])
++
++#CFLAGS="$CFLAGS -Wall -fomit-frame-pointer -Wcast-align"
++CFLAGS="$CFLAGS -Wall -W -Wcast-align"
++
++# Substitute configuration variables
++AC_CONFIG_FILES([Makefile \
++po/Makefile.in \
++m4/Makefile \
++src/Makefile \
++doc/Makefile \
++])
++AC_OUTPUT
++
++AC_MSG_RESULT([
++
++hddtemp-$VERSION is now configured for $canonical_host_type
++
++  Build:$build
++  Host: $host
++  Source directory: $srcdir
++  Installation prefix:  $prefix
++  C compiler:   $CC $CFLAGS
++
++])
+--- a/Makefile.am
 b/Makefile.am
+@@ -12,7 +12,7 @@ EXTRA_DIST = config.rpath  autogen.sh \
+  README \
+  TODO
+
+-SUBDIRS = intl po m4 src doc
++SUBDIRS = po m4 src doc
+ 
+ CLEANFILES = *~
+ 
+--- a/configure.in
 /dev/null
+@@ -1,83 +0,0 @@
+-dnl Process this file with autoconf to produce a configure script.
+-
+-# Initialization
+-AC_INIT
+-AC_CONFIG_SRCDIR([Makefile.am])
+-AC_CONFIG_HEADERS([config.h])
+-
+-# Determine the host and build type. The target is always a PIC.
+-AC_CANONICAL_HOST
+-
+-AM_INIT_AUTOMAKE(hddtemp, 0.3-beta15)
+-
+-dnl Checks for programs.
+-AC_PROG_CC
+-AC_PROG_INSTALL
+-
+-# append the host alias to the tools for cross compiling
+-AC_HEADER_STDC
+-AC_CHECK_HEADERS(fcntl.h)
+-AC_CHECK_HEADERS(iconv.h)
+-AC_CHECK_HEADERS(netinet/in.h)
+-AC_CHECK_TYPE(in_addr_t, ,[AC_DEFINE_UNQUOTED([in_addr_t], [uint32_t], 
[Define to 'uint32_t' if  does not define.])], [#include 
])
+-
+-# Checks for typedefs, structures, and compiler characteristics.
+-AC_C_CONST
+-AC_STRUCT_TM
+-
+-dnl internationalization macros
+-AM_GNU_GETTEXT_VERSION
+-AM_GNU_GETTEXT
+-#AM_GNU_GETTEXT([external])
+-
+-AC_CHECK_FUNCS([bindtextdomain textdomain iconv])
+-
+-dnl reasonable guesses for where stuff is installed
+-dnl if we don't do that now, the 

[oe] [meta-networking][PATCH v2 1/4] netcat: Fix build with gettext 0.20.x

2020-01-02 Thread Khem Raj
Signed-off-by: Khem Raj 
---
v2: Do not remove intl/ directory

 .../recipes-support/netcat/netcat/gettext.patch  | 16 
 .../recipes-support/netcat/netcat_0.7.1.bb   |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 meta-networking/recipes-support/netcat/netcat/gettext.patch

diff --git a/meta-networking/recipes-support/netcat/netcat/gettext.patch 
b/meta-networking/recipes-support/netcat/netcat/gettext.patch
new file mode 100644
index 00..f2e5f99270
--- /dev/null
+++ b/meta-networking/recipes-support/netcat/netcat/gettext.patch
@@ -0,0 +1,16 @@
+Fix build with gettext 0.20.x
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+
+--- a/configure.ac
 b/configure.ac
+@@ -49,7 +49,7 @@ AC_SUBST(all_libraries)
+ dnl I18n support
+ ALL_LINGUAS="it sk"
+ AM_GNU_GETTEXT([external], need-ngettext)
+-AM_INTL_SUBDIR
++#AM_INTL_SUBDIR
+ 
+ dnl find resolver functions and the socket library on some broken OS
+ AC_LBL_LIBRARY_NET
diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb 
b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
index d961af542c..14d743f820 100644
--- a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
+++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
@@ -8,6 +8,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \
file://obsolete_autoconf_macros.patch \
file://netcat-locale_h.patch \
file://make-netcat_flag_count_work.patch \
+   file://gettext.patch \
 "
 
 SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
-- 
2.24.1

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


Re: [oe] [meta-oe][PATCH 3/6] gtkperf: Fix build with latest gettext 0.20.x

2020-01-02 Thread Khem Raj
On Thu, Jan 2, 2020 at 8:22 AM Khem Raj  wrote:
>
>
>
> On Thu, Jan 2, 2020 at 2:55 AM Adrian Bunk  wrote:
>>
>> It might be time to remove gtkperf?
>>
>> It is a benchmarking tool for the old GTK+2, and with no upstream
>> release in 15 years there is not much chance that gtkperf will get
>> ported to more recent GTK versions
>
>
> I think that’s reasonable. I will perhaps prefer to remove it as well
>

we still carry gtk+2 in meta-gnome. On second thought I think now that we
have fixed it for this case, I will keep it until it breaks next time.

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


Re: [oe] [meta-oe][PATCH 4/6] hddtemp: Fix build with latest gettext 0.20.x

2020-01-02 Thread Khem Raj
On Thu, Jan 2, 2020 at 3:08 AM Adrian Bunk  wrote:
>
> On Wed, Jan 01, 2020 at 10:13:28PM -0800, Khem Raj wrote:
> >...
> >  ...ame-to-configure.ac-and-use-external.patch | 14743 
>
> It should not be necessary to remove intl/ in the diff.
>
> Removing intl from SUBDIRS and AC_CONFIG_FILES should be sufficient and
> keep the patch at a readable size.
>

right perhaps better, I was playing with distroclean targets and
thought it will be better to clean it out
I will send a v2 for the relevant patches in this series.

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


[oe] [meta-python][PATCH] python3-twisted: fix broken MemoryReactor import

2020-01-02 Thread Trevor Gamblin
Twisted's application/runner/test/test_runner.py was trying to import
from a deprecated module and failing. The module import has been
corrected and accepted in Twisted upstream, but there's no release
with it yet for Yocto to upgrade to, hence the backport.

Signed-off-by: Trevor Gamblin 
---
 .../python/python-twisted.inc |  5 +++
 ...r-import-in-test_runner-to-be-from-t.patch | 38 +++
 2 files changed, 43 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch

diff --git a/meta-python/recipes-devtools/python/python-twisted.inc 
b/meta-python/recipes-devtools/python/python-twisted.inc
index 084123b97..d005a2ac2 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -7,6 +7,11 @@ HOMEPAGE = "http://www.twistedmatrix.com;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1743f12d8b8f5aec625c0569a058f0a6"
 
+# allow for common patches for python- and python3-twisted
+FILESEXTRAPATHS_prepend := "${THISDIR}/python-twisted:"
+
+SRC_URI += 
"file://0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch"
+
 SRC_URI[sha256sum] = 
"7394ba7f272ae722a74f3d969dcf599bc4ef093bc392038748a490f1724a515d"
 SRC_URI[md5sum] = "f2d70f7a66ecdf54152310164cceadfe"
 
diff --git 
a/meta-python/recipes-devtools/python/python-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch
 
b/meta-python/recipes-devtools/python/python-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch
new file mode 100644
index 0..39fc7d43e
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch
@@ -0,0 +1,38 @@
+From 754f21282ad2775db8ff501d40bbc497faeb17ba Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin 
+Date: Tue, 17 Dec 2019 15:09:22 -0500
+Subject: [PATCH] fix MemoryReactor import in test_runner to be from
+ twisted.internet.testing
+
+Upstream-Status: Backport 
[https://github.com/twisted/twisted/commit/754f21282ad2775db8ff501d40bbc497faeb17ba]
+
+Signed-off-by: Trevor Gamblin 
+---
+ src/twisted/application/newsfragments/9746.misc| 1 +
+ src/twisted/application/runner/test/test_runner.py | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+ create mode 100644 src/twisted/application/newsfragments/9746.misc
+
+diff --git a/src/twisted/application/newsfragments/9746.misc 
b/src/twisted/application/newsfragments/9746.misc
+new file mode 100644
+index 0..8b1378917
+--- /dev/null
 b/src/twisted/application/newsfragments/9746.misc
+@@ -0,0 +1 @@
++
+diff --git a/src/twisted/application/runner/test/test_runner.py 
b/src/twisted/application/runner/test/test_runner.py
+index 9abc3449a..cce495b12 100644
+--- a/src/twisted/application/runner/test/test_runner.py
 b/src/twisted/application/runner/test/test_runner.py
+@@ -15,7 +15,7 @@ from twisted.logger import (
+ LogLevel, LogPublisher, LogBeginner,
+ FileLogObserver, FilteringLogObserver, LogLevelFilterPredicate,
+ )
+-from twisted.test.proto_helpers import MemoryReactor
++from twisted.internet.testing import MemoryReactor
+ 
+ from ...runner import _runner
+ from .._exit import ExitStatus
+-- 
+2.24.1
+
-- 
2.24.1

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


Re: [oe] [meta-oe][PATCH 3/6] gtkperf: Fix build with latest gettext 0.20.x

2020-01-02 Thread Khem Raj
On Thu, Jan 2, 2020 at 2:55 AM Adrian Bunk  wrote:

> It might be time to remove gtkperf?
>
> It is a benchmarking tool for the old GTK+2, and with no upstream
> release in 15 years there is not much chance that gtkperf will get
> ported to more recent GTK versions


I think that’s reasonable. I will perhaps prefer to remove it as well

cu

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


[oe] [meta-perl][PATCH] libunix-statgrab: add recipe

2020-01-02 Thread Jens Rehsack
Add recipe for Unix::Statgrab perl module, a sane language binding for
libstatgrab.

Signed-off-by: Jens Rehsack 
---
 .../libstatgrab/libunix-statgrab_0.112.bb | 38 +++
 1 file changed, 38 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb

diff --git a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb 
b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
new file mode 100644
index 0..7402eb879
--- /dev/null
+++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Perl interface to the libstatgrab library"
+DESCRIPTION = "Unix::Statgrab is a wrapper for libstatgrab as available from \
+. It is a reasonably portable attempt \
+to query interesting stats about your computer. It covers information on \
+the operating system, CPU, memory usage, network interfaces, hard-disks \
+etc."
+
+HOMEPAGE = "https://metacpan.org/release/Unix-Statgrab;
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+ | LGPL-2.1+"
+DEPENDS += "libcapture-tiny-perl-native"
+DEPENDS += "libconfig-autoconf-perl-native"
+DEPENDS += "libstatgrab"
+RDEPENDS_${PN} += "\
+libstatgrab \
+perl-module-autoloader \
+perl-module-carp \
+perl-module-dynaloader \
+perl-module-exporter \
+perl-module-strict \
+perl-module-vars \
+perl-module-warnings \
+"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Unix-Statgrab-${PV}.tar.gz"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 
\
+file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d \
+file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 
\
+"
+
+SRC_URI[md5sum] = "a6bc06b3f7749f7d77a2b1bd13402821"
+SRC_URI[sha256sum] = 
"16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa"
+
+S = "${WORKDIR}/Unix-Statgrab-${PV}"
+
+inherit cpan ptest-perl
+
+BBCLASSEXTEND = "native"
-- 
2.17.1

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


[oe] [meta-perl][PATCH] libconfig-autoconf-perl: add recipe

2020-01-02 Thread Jens Rehsack
Introduce Config::Autoconf module to meta-perl which will allow some
probes can be run without leaving perl5 context.

Signed-off-by: Jens Rehsack 
---
 .../libconfig-autoconf-perl_0.317.bb  | 41 +++
 1 file changed, 41 insertions(+)
 create mode 100644 
meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb

diff --git a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb 
b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
new file mode 100644
index 0..62983764f
--- /dev/null
+++ b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
@@ -0,0 +1,41 @@
+# Copyright (C) 2020 Jens Rehsack 
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "A module to implement some of AutoConf macros in pure perl"
+DESCRIPTION = "Config::AutoConf is intended to provide the same opportunities 
to Perl \
+developers as GNU Autoconf  does for \
+Shell developers."
+
+HOMEPAGE=   "https://metacpan.org/release/Config-AutoConf;
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 
\
+file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Config-AutoConf-0.317.tar.gz"
+
+SRC_URI[md5sum] = "29f87fc7803f1725f6daafcf416089ce"
+SRC_URI[sha256sum] = 
"01e4b22d2fecb7cfd3cc1f4dabe95cd137cf249cc5e38184f88556e5c98a9ce1"
+RDEPENDS_${PN} += "libcapture-tiny-perl"
+RDEPENDS_${PN} += "perl-module-base"
+RDEPENDS_${PN} += "perl-module-carp"
+RDEPENDS_${PN} += "perl-module-config"
+RDEPENDS_${PN} += "perl-module-constant"
+RDEPENDS_${PN} += "perl-module-file-basename"
+RDEPENDS_${PN} += "perl-module-file-spec"
+RDEPENDS_${PN} += "perl-module-file-temp"
+RDEPENDS_${PN} += "perl-module-extutils-cbuilder"
+RDEPENDS_${PN} += "perl-module-extutils-cbuilder-unix"
+RDEPENDS_${PN} += "perl-module-scalar-util"
+RDEPENDS_${PN} += "perl-module-strict"
+RDEPENDS_${PN} += "perl-module-text-parsewords"
+RDEPENDS_${PN} += "perl-module-warnings"
+RRECOMMENDS_${PN} += "libfile-slurper-perl"
+
+S = "${WORKDIR}/Config-AutoConf-${PV}"
+
+inherit cpan ptest-perl allarch
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1

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


[oe] [meta-perl][PATCH] libfile-slurper-perl: add recipe

2020-01-02 Thread Jens Rehsack
Since File::Slurp is broken since ages and File::Slurp::Tiny discouraged
for some years, newer perl5 module distributions often rely on File::Slurper.

Signed-off-by: Jens Rehsack 
---
 .../libfile/libfile-slurper-perl_0.012.bb | 36 +++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb

diff --git a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb 
b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb
new file mode 100644
index 0..b684abd4b
--- /dev/null
+++ b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb
@@ -0,0 +1,36 @@
+SUMMARY = "A simple, sane and efficient module to slurp a file"
+DESCRIPTION = "This module provides functions for fast and correct slurping 
and spewing. \
+All functions are optionally exported. All functions throw exceptions on \
+errors, write functions don't return any meaningful value."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+HOMEPAGE=   "https://metacpan.org/release/File-Slurper;
+
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 
\
+file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/File-Slurper-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "5742c63096392dfee50b8db314bcca18"
+SRC_URI[sha256sum] = 
"4efb2ea416b110a1bda6f8133549cc6ea3676402e3caf7529fce0313250aa578"
+RDEPENDS_${PN} = " \
+perl-module-carp \
+perl-module-encode \
+perl-module-exporter \
+perl-module-perlio \
+perl-module-perlio-encoding \
+perl-module-strict \
+perl-module-warnings \
+"
+
+RDEPENDS_${PN}-ptest += "libtest-warnings-perl \
+perl-module-test-more \
+"
+
+S = "${WORKDIR}/File-Slurper-${PV}"
+
+inherit cpan allarch ptest-perl
+
+BBCLASSEXTEND = "native"
-- 
2.17.1

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


[oe] [meta-perl][PATCH] libtest-warnings-perl: add recipe

2020-01-02 Thread Jens Rehsack
Add recipe for Test::Warnings modulem widely used by Kwalitee tests
is modern perl5 module distributions.

Signed-off-by: Jens Rehsack 
---
 .../libtest/libtest-warnings-perl_0.028.bb| 29 +++
 1 file changed, 29 insertions(+)
 create mode 100644 
meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.028.bb

diff --git a/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.028.bb 
b/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.028.bb
new file mode 100644
index 0..b40a5456e
--- /dev/null
+++ b/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.028.bb
@@ -0,0 +1,29 @@
+# Copyright (C) 2020 Jens Rehsack 
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there 
are no \
+warnings generated by your tests, combined with the convenience of \
+\\"done_testing\\" to not have to declare a test count, you'll have discovered 
\
+that these two features do not play well together, as the test count will \
+be calculated *before* the warnings test is run, resulting in a TAP error. \
+(See "examples/test_nowarnings.pl" in this distribution for a \
+demonstration.)"
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+HOMEPAGE=   "https://metacpan.org/release/Test-Warnings;
+
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 
\
+file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = 
"https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz;
+
+SRC_URI[md5sum] = "cd007342017fedfb02d6fde75602e473"
+SRC_URI[sha256sum] = 
"26fda9f8d279e943d27e43a4a3a5cea8a6592cd36e7308695f8dc6602262c0e0"
+
+S = "${WORKDIR}/Test-Warnings-${PV}"
+
+inherit cpan allarch ptest-perl
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1

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


Re: [oe] [meta-oe][PATCH 4/6] hddtemp: Fix build with latest gettext 0.20.x

2020-01-02 Thread Adrian Bunk
On Wed, Jan 01, 2020 at 10:13:28PM -0800, Khem Raj wrote:
>...
>  ...ame-to-configure.ac-and-use-external.patch | 14743 

It should not be necessary to remove intl/ in the diff.

Removing intl from SUBDIRS and AC_CONFIG_FILES should be sufficient and
keep the patch at a readable size.

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


[oe] [meta-oe][PATCH 2/2] libsigrokdecode: upgrade v0.5.2 -> v0.5.3

2020-01-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

Update libsigrokdecode to the newest release.

Signed-off-by: Bartosz Golaszewski 
---
 .../{libsigrokdecode_0.5.2.bb => libsigrokdecode_0.5.3.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/sigrok/{libsigrokdecode_0.5.2.bb => 
libsigrokdecode_0.5.3.bb} (74%)

diff --git a/meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.2.bb 
b/meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.3.bb
similarity index 74%
rename from meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.2.bb
rename to meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.3.bb
index b8e1e4705..f9c1d1a3a 100644
--- a/meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.2.bb
+++ b/meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.3.bb
@@ -10,5 +10,5 @@ inherit autotools pkgconfig
 
 SRC_URI = 
"http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-${PV}.tar.gz;
 
-SRC_URI[md5sum] = "b9033bc7e68bc17fd4fdd793f5a1"
-SRC_URI[sha256sum] = 
"e08d9e797c54eccf3144da631b6e5f1498ac531e51520428df537a1da82583f0"
+SRC_URI[md5sum] = "7ba4ed4ef1f06ae96979751e096c2821"
+SRC_URI[sha256sum] = 
"c50814aa6743cd8c4e88c84a0cdd8889d883c3be122289be90c63d7d67883fc0"
-- 
2.19.1

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


[oe] [meta-oe][PATCH 1/2] libsigrok: upgrade v0.5.1 -> v0.5.2

2020-01-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

Upgrade libsigrok to the newest release.

Signed-off-by: Bartosz Golaszewski 
---
 .../sigrok/{libsigrok_0.5.1.bb => libsigrok_0.5.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/sigrok/{libsigrok_0.5.1.bb => 
libsigrok_0.5.2.bb} (85%)

diff --git a/meta-oe/recipes-extended/sigrok/libsigrok_0.5.1.bb 
b/meta-oe/recipes-extended/sigrok/libsigrok_0.5.2.bb
similarity index 85%
rename from meta-oe/recipes-extended/sigrok/libsigrok_0.5.1.bb
rename to meta-oe/recipes-extended/sigrok/libsigrok_0.5.2.bb
index 8152ca7ca..aad8fa56a 100644
--- a/meta-oe/recipes-extended/sigrok/libsigrok_0.5.1.bb
+++ b/meta-oe/recipes-extended/sigrok/libsigrok_0.5.2.bb
@@ -17,7 +17,7 @@ inherit autotools pkgconfig
 
 SRC_URI = "http://sigrok.org/download/source/libsigrok/libsigrok-${PV}.tar.gz;
 
-SRC_URI[md5sum] = "a3de9e52a660e51d27a6aca025d204a7"
-SRC_URI[sha256sum] = 
"e40fde7af98d29e922e9d3cbe0a6c0569889153fc31e47b8b1afe4d846292b9c"
+SRC_URI[md5sum] = "e258d471b6d5eaa58daf927a0dc3ba67"
+SRC_URI[sha256sum] = 
"4d341f90b6220d3e8cb251dacf726c41165285612248f2c52d15df4590a1ce3c"
 
 FILES_${PN} += "${datadir}/*"
-- 
2.19.1

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


Re: [oe] [meta-oe][PATCH 3/6] gtkperf: Fix build with latest gettext 0.20.x

2020-01-02 Thread Adrian Bunk
It might be time to remove gtkperf?

It is a benchmarking tool for the old GTK+2, and with no upstream 
release in 15 years there is not much chance that gtkperf will get 
ported to more recent GTK versions.

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


[oe] [meta-oe][PATCH] doxygen: upgrade v1.8.16 -> v1.8.17

2020-01-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

Upgrade doxygen to the most recent release. Add nativesdk to
BBCLASSEXTEND to make it buildable as part of the SDK.

Signed-off-by: Bartosz Golaszewski 
---
 .../doxygen/{doxygen_1.8.16.bb => doxygen_1.8.17.bb}| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/doxygen/{doxygen_1.8.16.bb => 
doxygen_1.8.17.bb} (70%)

diff --git a/meta-oe/recipes-devtools/doxygen/doxygen_1.8.16.bb 
b/meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb
similarity index 70%
rename from meta-oe/recipes-devtools/doxygen/doxygen_1.8.16.bb
rename to meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb
index 4df994c75..7a4eee32c 100644
--- a/meta-oe/recipes-devtools/doxygen/doxygen_1.8.16.bb
+++ b/meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb
@@ -9,9 +9,9 @@ DEPENDS = "flex-native bison-native"
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \
file://0001-build-don-t-look-for-Iconv.patch \
 "
-SRC_URI[md5sum] = "3ec5f8bfda38a05845161fbbd5d8b439"
-SRC_URI[sha256sum] = 
"ff981fb6f5db4af9deb1dd0c0d9325e0f9ba807d17bd5750636595cf16da3c82"
+SRC_URI[md5sum] = "7997a15c73a8bd6d003eaba5c2ee2b47"
+SRC_URI[sha256sum] = 
"2cba988af2d495541cbbe5541b3bee0ee11144dcb23a81eada19f5501fd8b599"
 
 inherit cmake python3native
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.19.1

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


[oe] [meta-oe][PATCH] speedtest-cli: new package

2020-01-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

Add a recipe for speedtest-cli - a command-line utility for internet
speed testing using speedtest.net.

Signed-off-by: Bartosz Golaszewski 
---
 .../speedtest-cli/speedtest-cli_2.1.2.bb   | 14 ++
 1 file changed, 14 insertions(+)
 create mode 100644 
meta-oe/recipes-benchmark/speedtest-cli/speedtest-cli_2.1.2.bb

diff --git a/meta-oe/recipes-benchmark/speedtest-cli/speedtest-cli_2.1.2.bb 
b/meta-oe/recipes-benchmark/speedtest-cli/speedtest-cli_2.1.2.bb
new file mode 100644
index 0..de4fa1642
--- /dev/null
+++ b/meta-oe/recipes-benchmark/speedtest-cli/speedtest-cli_2.1.2.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Command line interface for testing internet bandwidth using 
speedtest.net"
+AUTHOR = "Matt Martz"
+
+LICENSE="Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+inherit setuptools3
+
+SRC_URI = "git://github.com/sivel/speedtest-cli.git"
+SRCREV = "c58ad3367bf27f4b4a4d5b1bca29ebd574731c5d"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} = "python3 python3-setuptools-scm"
-- 
2.19.1

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


[oe] [meta-oe][PATCH] libstatgrab: add logging/tracing options

2020-01-02 Thread Jens Rehsack
Introduce opportunity to enable/disable logging with and without log4cplus
dependency.

Signed-off-by: Jens Rehsack 
---
 meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb | 5 +
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb 
b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb
index 4ede3c8c6..c61d7c99d 100644
--- a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb
+++ b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb
@@ -17,6 +17,11 @@ SRC_URI[sha256sum] = 
"5bf1906aff9ffc3eeacf32567270f4d819055d8386d98b9c8c05519012
 # Perl5 is for tests only
 EXTRA_OECONF = "--without-perl5 --with-mnttab=/proc/mounts"
 
+# use with caution - default properties are configured to trace
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[log4cplus] = "--with-log4cplus,--without-log4cplus,log4cplus"
+PACKAGECONFIG[logging] = "--enable-logging,--disable-logging,"
+
 inherit autotools pkgconfig
 
 FILES_statgrab = "${bindir}/statgrab"
-- 
2.17.1

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


[oe] [meta-oe][PATCH] log4cplus: update to 2.0.5

2020-01-02 Thread Jens Rehsack
Update log4cplus library to 2019-12-23 released version containing (relevant
for *nix)
* Modernized CMake build.
* Fix issue with std::va_list value reuse.
* Fix parsing of include in configuration when included file path
  contains =. (Patch by Peter Pei)
* Change of default behaviour: Instantiate thread pool with only 4 threads

Signed-off-by: Jens Rehsack 
---
 ...-version-entry-from-ELF-.comment-sec.patch | 40 ---
 ...{log4cplus_2.0.4.bb => log4cplus_2.0.5.bb} |  5 +--
 2 files changed, 2 insertions(+), 43 deletions(-)
 delete mode 100644 
meta-oe/recipes-devtools/log4cplus/log4cplus/0001-Remove-log4cplus-version-entry-from-ELF-.comment-sec.patch
 rename meta-oe/recipes-devtools/log4cplus/{log4cplus_2.0.4.bb => 
log4cplus_2.0.5.bb} (73%)

diff --git 
a/meta-oe/recipes-devtools/log4cplus/log4cplus/0001-Remove-log4cplus-version-entry-from-ELF-.comment-sec.patch
 
b/meta-oe/recipes-devtools/log4cplus/log4cplus/0001-Remove-log4cplus-version-entry-from-ELF-.comment-sec.patch
deleted file mode 100644
index 44a835c35..0
--- 
a/meta-oe/recipes-devtools/log4cplus/log4cplus/0001-Remove-log4cplus-version-entry-from-ELF-.comment-sec.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From da5338e68f146efadab7c221291ba4c949d8f12f Mon Sep 17 00:00:00 2001
-From: Vaclav Haisman 
-Date: Sun, 21 Jul 2019 23:23:16 -0700
-Subject: [PATCH] Remove log4cplus version entry from ELF .comment section
-
-Reverts
-https://github.com/log4cplus/log4cplus/commit/9cb0d4ade619da4e40628c9b95ff51de3df29f1b
-
-Upstream-Status: Backport 
[https://github.com/log4cplus/log4cplus/commit/7e6addc70dffd2e30e902efd18eb845c5d5dd7bb]
-
-Suggested-by: Adrian Bunk 
-Signed-off-by: Khem Raj 

- src/version.cxx | 12 
- 1 file changed, 12 deletions(-)
-
-diff --git a/src/version.cxx b/src/version.cxx
-index ce18212..e002de9 100644
 a/src/version.cxx
-+++ b/src/version.cxx
-@@ -34,16 +34,4 @@ namespace log4cplus
- unsigned const version = LOG4CPLUS_VERSION;
- char const versionStr[] = LOG4CPLUS_VERSION_STR LOG4CPLUS_VERSION_STR_SUFFIX;
- 
--namespace
--{
--
--#if defined (__ELF__) && (defined (__GNUC__) || defined (__clang__))
--char const versionStrComment[]
--__attribute__ ((__used__, __section__ ((".comment"
--= "log4cplus " LOG4CPLUS_VERSION_STR LOG4CPLUS_VERSION_STR_SUFFIX;
--#endif
--
--
--} // namespace
--
- } // namespace log4cplus
--- 
-2.22.0
-
diff --git a/meta-oe/recipes-devtools/log4cplus/log4cplus_2.0.4.bb 
b/meta-oe/recipes-devtools/log4cplus/log4cplus_2.0.5.bb
similarity index 73%
rename from meta-oe/recipes-devtools/log4cplus/log4cplus_2.0.4.bb
rename to meta-oe/recipes-devtools/log4cplus/log4cplus_2.0.5.bb
index 566de2853..967ac7623 100644
--- a/meta-oe/recipes-devtools/log4cplus/log4cplus_2.0.4.bb
+++ b/meta-oe/recipes-devtools/log4cplus/log4cplus_2.0.5.bb
@@ -7,10 +7,9 @@ LICENSE = "Apache-2.0 & BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=41e8e060c26822886b592ab4765c756b"
 
 SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz \
-   
file://0001-Remove-log4cplus-version-entry-from-ELF-.comment-sec.patch \
   "
-SRC_URI[md5sum] = "2b5b7bc294698bf30a315a259ef9eec2"
-SRC_URI[sha256sum] = 
"196eedbc7f2dd792dae721b1159c7ac132255bb368226353c24d4d5fa7c7797a"
+SRC_URI[md5sum] = "71dd956bf686195127559671f1426cff"
+SRC_URI[sha256sum] = 
"c07115c23219390633798def30b7b51a0f79fdeb857e4b49632f17746d0ceb97"
 
 UPSTREAM_CHECK_URI = 
"https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/;
 UPSTREAM_CHECK_REGEX = "log4cplus-stable/(?P\d+(\.\d+)+)/"
-- 
2.17.1

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


[oe] [meta-python][PATCH] python3-astor: fix VERSION file not found

2020-01-02 Thread Hongxu Jia
...
import astor
  File "/usr/lib/python3.7/site-packages/astor/__init__.py", line 24, in 

with open(os.path.join(ROOT, 'VERSION')) as version_file:
FileNotFoundError: [Errno 2] No such file or directory: 
'/usr/lib/python3.7/site-packages/astor/VERSION'
...

Place the value in a simple VERSION text file and have both setup.py and the
project code read it. With this approach you must make sure that the VERSION
file is included in all your source and binary distributions (e.g. add include
VERSION to your MANIFEST.in). [1]

[1] https://packaging.python.org/guides/single-sourcing-package-version/

Signed-off-by: Hongxu Jia 
---
 ...f3ff7ad8818475b6e107e63aa9a54252d2a9.patch | 22 ---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git 
a/meta-python/recipes-devtools/python/python3-astor/f820f3ff7ad8818475b6e107e63aa9a54252d2a9.patch
 
b/meta-python/recipes-devtools/python/python3-astor/f820f3ff7ad8818475b6e107e63aa9a54252d2a9.patch
index 823699339..6d71be992 100644
--- 
a/meta-python/recipes-devtools/python/python3-astor/f820f3ff7ad8818475b6e107e63aa9a54252d2a9.patch
+++ 
b/meta-python/recipes-devtools/python/python3-astor/f820f3ff7ad8818475b6e107e63aa9a54252d2a9.patch
@@ -3,14 +3,27 @@ From: Jonathan Ringer 
 Date: Thu, 17 Oct 2019 16:54:16 -0700
 Subject: [PATCH] Fix packaging for setuptools>=41.4
 
+Upstream-Status: Pending
+
+Signed-off-by: Hongxu Jia 
 ---
+ MANIFEST.in   |  1 +
  astor/VERSION |  1 +
  astor/__init__.py |  5 -
  setup.cfg |  3 ++-
  setup.py  | 16 +---
- 4 files changed, 8 insertions(+), 17 deletions(-)
+ 5 files changed, 9 insertions(+), 17 deletions(-)
  create mode 100644 astor/VERSION
 
+diff --git a/MANIFEST.in b/MANIFEST.in
+index b12a6fe..81e72d5 100644
+--- a/MANIFEST.in
 b/MANIFEST.in
+@@ -1,3 +1,4 @@
+ include README.rst AUTHORS LICENSE CHANGES
+ include setuputils.py
++include astor/VERSION
+ recursive-include tests *.py
 diff --git a/astor/VERSION b/astor/VERSION
 new file mode 100644
 index 000..a3df0a6
@@ -22,7 +35,7 @@ diff --git a/astor/__init__.py b/astor/__init__.py
 index 3b02983..8dfcdb1 100644
 --- a/astor/__init__.py
 +++ b/astor/__init__.py
-@@ -9,6 +9,7 @@
+@@ -9,6 +9,7 @@ Copyright 2013 (c) Berker Peksag
  
  """
  
@@ -30,7 +43,7 @@ index 3b02983..8dfcdb1 100644
  import warnings
  
  from .code_gen import SourceGenerator, to_source  # NOQA
-@@ -19,7 +20,9 @@
+@@ -19,7 +20,9 @@ from .op_util import get_op_symbol, get_op_precedence  # NOQA
  from .op_util import symbol_data  # NOQA
  from .tree_walk import TreeWalk  # NOQA
  
@@ -85,3 +98,6 @@ index 4a111b5..6068493 100644
  
 -setup(**config['options'])
 +setup()
+-- 
+2.21.0
+
-- 
2.21.0

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


[oe] [meta-python] [PATCH] python-backports-functools-lru-cache: Add python3 version

2020-01-02 Thread Zang Ruochen
Signed-off-by: Zang Ruochen 
---
 .../python-backports-functools-lru-cache.inc  | 19 +
 ...ython-backports-functools-lru-cache_1.5.bb | 21 ++-
 ...thon3-backports-functools-lru-cache_1.5.bb |  2 ++
 3 files changed, 23 insertions(+), 19 deletions(-)
 create mode 100644 
meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb

diff --git 
a/meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc 
b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
new file mode 100644
index 0..bce44a28b
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
@@ -0,0 +1,19 @@
+SUMMARY = "Backport of functools.lru_cache from Python 3.3"
+HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache;
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://setup.py;beginline=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be"
+
+PYPI_PACKAGE = "backports.functools_lru_cache"
+
+SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754"
+SRC_URI[sha256sum] = 
"9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-pickle \
+${PYTHON_PN}-threading \
+"
diff --git 
a/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
 
b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
index 825444ff3..5e0f2f1e8 100644
--- 
a/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
+++ 
b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
@@ -1,19 +1,2 @@
-SUMMARY = "Backport of functools.lru_cache from Python 3.3"
-HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache;
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://setup.py;beginline=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be"
-
-PYPI_PACKAGE = "backports.functools_lru_cache"
-
-SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754"
-SRC_URI[sha256sum] = 
"9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
-
-DEPENDS += "python-setuptools-scm-native"
-
-inherit setuptools pypi
-
-RDEPENDS_${PN} += "\
-${PYTHON_PN}-pickle \
-${PYTHON_PN}-threading \
-"
+require python-backports-functools-lru-cache.inc
+inherit setuptools
diff --git 
a/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb
 
b/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb
new file mode 100644
index 0..91fcc41fc
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb
@@ -0,0 +1,2 @@
+require python-backports-functools-lru-cache.inc
+inherit setuptools3
-- 
2.20.1



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