Patch review
cover Patch review
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 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%)
create mode 100644 meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
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.bbSignature · 1 line
2.17.1
PATCH 1/17 grpc: Define libdir and cmakedir in terms of multilib
From: Khem Raj <[email protected]>
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.
--- meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb +3 -1
@@ -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}"
Signature · 1 line
2.17.1
PATCH 2/17 tinyalsa: fix installation libdir path to match multilibs
In reply to Armin KusterFrom: Khem Raj <[email protected]>
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.
--- .../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
meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb +3 -1
@@ -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"
meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch new file +46 -0
46 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 3/17 libqb: Add --enable-nosection-fallback with mips64/clang
In reply to Armin KusterFrom: Khem Raj <[email protected]>
Same issue happens with clang/mips64 so extend the gold fix to cover for this case
--- meta-oe/recipes-extended/libqb/libqb_1.0.5.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/libqb/libqb_1.0.5.bb +5 -1
@@ -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 )
Signature · 1 line
2.17.1
PATCH 4/17 xfce-dusk-gtk3: correct invalid SRC_URI
In reply to Armin KusterFrom: Changqing Li <[email protected]>
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/.
--- meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb +1 -1
@@ -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"
Signature · 1 line
2.17.1
PATCH 5/17 fltk: fix build error when enable package config examples
In reply to Armin KusterFrom: Kai Kang <[email protected]>
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'.
--- 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
meta-oe/recipes-support/fltk/fltk.bb +5 -2
@@ -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"
meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch new file +182 -0
182 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 6/17 syslog-ng: Fix multilib header conflict - syslog-ng-config.h
In reply to Armin KusterFrom: zhangxiao <[email protected]>
Header file conflict between 32-bit and 64-bit versions.
--- meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/syslog-ng/syslog-ng.inc +3 -1
@@ -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/*"
Signature · 1 line
2.17.1
PATCH 7/17 x11vnc: Fix build for 32bit arches with 64bit time_t
In reply to Armin KusterFrom: Khem Raj <[email protected]>
--- ...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
meta-oe/recipes-graphics/x11vnc/files/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch new file +111 -0
@@ -0,0 +1,111 @@ +From 8ab672ccc67b64058cffac2cd19a0d3b75d5aa25 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +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 <[email protected]> +--- + 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 <linux/input.h> + #include <linux/uinput.h> + ++#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(&ev.time, NULL); ++ gettimeofday(&tval, 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(&ev.time, NULL); ++ gettimeofday(&tval, 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(&ev, 0, sizeof(ev)); +- gettimeofday(&ev.time, NULL); ++ gettimeofday(&tval, NULL); ++ gettimeofday(&tval, 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(&ev, 0, sizeof(ev)); +- gettimeofday(&ev.time, NULL); ++ gettimeofday(&tval, 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;
meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb +3 -2
@@ -10,8 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRCREV = "4ca006fed80410bd9b061a1519bd5d9366bb0bc8" SRC_URI = "git://github.com/LibVNC/x11vnc \ file://starting-fix.patch \ - file://0001-misc-Makefile.am-don-t-install-Xdummy-when-configure.patch \ -" + file://0001-misc-Makefile.am-don-t-install-Xdummy-when-configure.patch \ + file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \ + " S = "${WORKDIR}/git" DEPENDS = "\
Signature · 1 line
2.17.1
PATCH 8/17 evtest: Fix build for 32bit arches with 64bit time_t
In reply to Armin KusterFrom: Khem Raj <[email protected]>
--- ...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
meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch new file +41 -0
@@ -0,0 +1,41 @@ +From fa57c78c33d26084f85f1a6b4c29378631dc9395 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +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 <[email protected]> +--- + 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 <sys/types.h> + #include <unistd.h> + ++#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)
meta-oe/recipes-test/evtest/evtest_1.34.bb +4 -2
@@ -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"
Signature · 1 line
2.17.1
PATCH 9/17 lirc: Fix build for 32bit arches with 64bit time_t
In reply to Armin KusterFrom: Khem Raj <[email protected]>
--- ...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
meta-oe/recipes-connectivity/lirc/lirc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 50a48a7bd8d65a165ce2aac4ba0c1e02bded04aa Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +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 <[email protected]> +--- + 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 <linux/uinput.h> + #include <sys/stat.h> + ++#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;
meta-oe/recipes-connectivity/lirc/lirc_0.9.4d.bb +1 -0
@@ -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 \
Signature · 1 line
2.17.1
PATCH 10/17 utouch-evemu, utouch-frame: Fix build for 32bit arches with 64bit time_t
In reply to Armin KusterFrom: Khem Raj <[email protected]>
Move patches from files/ directory into PN folders to avoid conflicts
---
...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%)meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch new file +76 -0
@@ -0,0 +1,76 @@ +From 60987a1df8eb8c9196222375574dcd7bc0ad2daa Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +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 <[email protected]> +--- + 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 <evemu.h> + #include <linux/uinput.h> + ++#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", + &sec, &usec, &type, &code, &value); +- 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 = 1000000L * (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 = 1000000L * (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; + } + } +
meta-oe/recipes-support/utouch/utouch-evemu_git.bb +3 -1
@@ -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}"
meta-oe/recipes-support/utouch/utouch-frame/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch new file +41 -0
41 lines not on this page · raw message
meta-oe/recipes-support/utouch/utouch-frame/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch renamed from meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch +0 -0
meta-oe/recipes-support/utouch/utouch-frame/remove-man-page-creation.patch renamed from meta-oe/recipes-support/utouch/files/remove-man-page-creation.patch +0 -0
meta-oe/recipes-support/utouch/utouch-frame_git.bb +1 -0
@@ -12,6 +12,7 @@ inherit autotools pkgconfig SRC_URI = "git://bitmath.org/git/frame.git;protocol=http \ file://remove-man-page-creation.patch \ file://0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch \ + file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \ " SRCREV = "95363d5a1f7394d71144bf3b408ef4e6db4350fc"
Signature · 1 line
2.17.1
PATCH 11/17 directfb: Fix build for 32bit arches with 64bit time_t
In reply to Armin KusterFrom: Khem Raj <[email protected]>
--- .../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
meta-oe/recipes-graphics/directfb/directfb.inc +2 -1
@@ -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}"
meta-oe/recipes-graphics/directfb/directfb/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch new file +139 -0
139 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 12/17 ruli: Fix install step and build samples too
In reply to Armin KusterFrom: Khem Raj <[email protected]>
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
--- ...-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
meta-networking/recipes-support/ruli/files/0001-Fix-build-with-format-string-checks.patch +23 -6
@@ -15,11 +15,9 @@ Signed-off-by: Khem Raj <[email protected]> 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, &addr->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:
meta-networking/recipes-support/ruli/files/0001-Make-space-for-flags-from-environment.patch new file +95 -0
95 lines not on this page · raw message
meta-networking/recipes-support/ruli/files/0001-ruli_srv-Mark-prev_addr_list_size-as-unused.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 895ae26e36c4498677ad0b2695a6e5af05548a29 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Wed, 20 Nov 2019 22:02:43 -0800 +Subject: [PATCH] ruli_srv: Mark prev_addr_list_size as unused + +This ensures that compiler does not trip on building it + +ruli_srv.c:157:20: error: variable 'prev_addr_list_size' set but not used [-Werror=unused-but-set-variable] +| int prev_addr_list_size; +| ^~~~~~~~~~~~~~~~~~~ +cc1: all warnings being treated as errors + +Upstream-Status: Inappropriate [Workaround] + +Signed-off-by: Khem Raj <[email protected]> +--- + src/ruli_srv.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ruli_srv.c b/src/ruli_srv.c +index 45c70c7..ff82349 100644 +--- a/src/ruli_srv.c ++++ b/src/ruli_srv.c +@@ -154,7 +154,7 @@ static void *on_walk_answer(ruli_host_t *host_qry, void *qry_arg) + walk_t *walk_qry = (walk_t *) qry_arg; + ruli_srv_t *srv_qry = walk_qry->srv_query; + ruli_srv_entry_t *srv_entry; +- int prev_addr_list_size; ++ __attribute__((unused)) int prev_addr_list_size; + + assert(ruli_host_answer_code(host_qry) != RULI_SRV_CODE_VOID); + +-- +2.24.0 +
meta-networking/recipes-support/ruli/files/Makefile.patch deleted +0 -122
122 lines not on this page · raw message
meta-networking/recipes-support/ruli/ruli_0.36.bb +16 -7
@@ -8,18 +8,27 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" DEPENDS = "liboop" SRC_URI = "http://download.savannah.gnu.org/releases/ruli/ruli_${PV}.orig.tar.gz \ - file://Makefile.patch \ file://0001-Fix-build-with-format-string-checks.patch \ file://0001-src-ruli_addr.c-Add-missing-format-string.patch \ + file://0001-ruli_srv-Mark-prev_addr_list_size-as-unused.patch \ + file://0001-Make-space-for-flags-from-environment.patch \ " SRC_URI[md5sum] = "e73fbfdeadddb68a703a70cea5271468" SRC_URI[sha256sum] = "11d32def5b514748fbd9ea8c88049ae99e1bb358efc74eb91a4d268a3999dbfa" -do_install1() { - install -d ${D}${includedir}/ruli - install -d ${D}${libdir} - install -m 0644 ${S}/src/ruli*.h ${D}${includedir}/ruli - install -m 0644 ${S}/src/libruli.so ${D}${libdir} - install -m 0644 ${S}/src/libruli.so.4 ${D}${libdir} +B = "${S}" + +EXTRA_OEMAKE = 'CC="${CC}" OOP_BASE_DIR="${STAGING_EXECPREFIXDIR}" INSTALL_BASE_DIR="${D}${exec_prefix}"' + +do_configure() { + touch configure-stamp +} + +do_install() { + oe_runmake install } + +PACKAGES =+ "${PN}-bin" + +FILES_${PN} =+ "${bindir}"
Signature · 1 line
2.17.1
PATCH 13/17 networkmanager: Upgrade 1.18.2 -> 1.18.4
In reply to Armin KusterFrom: Adrian Bunk <[email protected]>
---
.../{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%)meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.4.bb renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.2.bb +2 -2
@@ -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}"
Signature · 1 line
2.17.1
PATCH 14/17 networkmanager: do not deploy unnecessary udev rule file
In reply to Armin KusterFrom: Stefan Agner <[email protected]>
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.
--- .../networkmanager/networkmanager_1.18.4.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.4.bb +4 -1
@@ -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 }
Signature · 1 line
2.17.1
PATCH 15/17 gpsd: Backport a memory leak fix
In reply to Armin KusterFrom: Adrian Bunk <[email protected]>
--- .../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
meta-oe/recipes-navigation/gpsd/gpsd/0001-gps_shm_close-Free-privdata.patch new file +37 -0
@@ -0,0 +1,37 @@ +From 2a4b3bcde0d73a3a4a6644d5f944ac9d16023ba9 Mon Sep 17 00:00:00 2001 +From: Adrian Bunk <[email protected]> +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 <[email protected]> +Signed-off-by: Gary E. Miller <[email protected]> + +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 +
meta-oe/recipes-navigation/gpsd/gpsd_3.19.bb +1 -0
@@ -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"
Signature · 1 line
2.17.1
PATCH 16/17 python-more-itertools: downgrade 7.2.0 -> 5.0.0
In reply to Armin KusterFrom: Hongxu Jia <[email protected]>
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
--- .../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
meta-python/recipes-devtools/python/python-more-itertools.inc +0 -3
@@ -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"
meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb new file +7 -0
@@ -0,0 +1,7 @@ +inherit pypi setuptools +require python-more-itertools.inc + +SRC_URI[md5sum] = "f2ea58aa336ce6c13b7b225b3bbe305d" +SRC_URI[sha256sum] = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4" + +PE = "1"
meta-python/recipes-devtools/python/python-more-itertools_7.2.0.bb deleted +0 -2
@@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-more-itertools.inc
meta-python/recipes-devtools/python/python3-more-itertools_7.2.0.bb +3 -0
@@ -1,2 +1,5 @@ inherit pypi setuptools3 require python-more-itertools.inc + +SRC_URI[md5sum] = "f647bfd27243a7bebe53b5ddb6a3b1c4" +SRC_URI[sha256sum] = "409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832"
Signature · 1 line
2.17.1
PATCH 17/17 libqmi: Upgrade 1.24.0 -> 1.24.2
In reply to Armin KusterFrom: Adrian Bunk <[email protected]>
This is a bugfix release on the 1.24 stable branch.
---
.../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%)meta-oe/recipes-connectivity/libqmi/libqmi_1.24.2.bb renamed from meta-oe/recipes-connectivity/libqmi/libqmi_1.24.0.bb +2 -2
@@ -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"
Signature · 1 line
2.17.1
Quoted 26 lines · 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-nutAdrian Bunk (3):
networkmanager: Upgrade 1.18.2 -> 1.18.4
gpsd: Backport a memory leak fix
libqmi: Upgrade 1.24.0 -> 1.24.2Changqing Li (1):
xfce-dusk-gtk3: correct invalidSRC_URIHongxu Jia (1):
python-more-itertools: downgrade 7.2.0 -> 5.0.0Kai Kang (1):
fltk: fix build error when enable package config examples
Quoted 12 lines
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 64bittime_t
evtest: Fix build for 32bit arches with 64bittime_t
lirc: Fix build for 32bit arches with 64bittime_tutouch-evemu,utouch-frame: Fix build for 32bit arches with 64bit
time_t
directfb: Fix build for 32bit arches with 64bittime_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
Quoted 69 lines
Stefan Agner (1):
networkmanager: do not deploy unnecessary udev rule filezhangxiao (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 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%) create mode 100644 meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch 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--
2.17.1--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 15 lines · Khem Raj
On Thu, Jan 2, 2020 at 6:49 PM Armin Kuster <[email protected]> wrote:
...Quoted 12 lines
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 64bittime_t
evtest: Fix build for 32bit arches with 64bittime_t
lirc: Fix build for 32bit arches with 64bittime_tutouch-evemu,utouch-frame: Fix build for 32bit arches with 64bit
time_t
directfb: Fix build for 32bit arches with 64bittime_t
ruli: Fix install step and build samples too
Quoted 4 lines
64bit
time_tfixes are not necessary but are not hurtful either, since the C libraries in zeus do not have the needed bits to enable 64bittime_tso unless someone else has issues with it, I am fine to bring them to zeus
...
There are zero benefits and a non-zero regression risk if backporting them, I would recommend against adding them to zeus.
cu
Adrian
Quoted 38 lines · Khem Raj
Quoted 25 lines · 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-nutAdrian Bunk (3):
networkmanager: Upgrade 1.18.2 -> 1.18.4
gpsd: Backport a memory leak fix
libqmi: Upgrade 1.24.0 -> 1.24.2Changqing Li (1):
xfce-dusk-gtk3: correct invalidSRC_URIHongxu Jia (1):
python-more-itertools: downgrade 7.2.0 -> 5.0.0Kai Kang (1):
fltk: fix build error when enable package config examplesQuoted 12 lines
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 64bittime_t
evtest: Fix build for 32bit arches with 64bittime_t
lirc: Fix build for 32bit arches with 64bittime_tutouch-evemu,utouch-frame: Fix build for 32bit arches with 64bit
time_t
directfb: Fix build for 32bit arches with 64bittime_t
ruli: Fix install step and build samples too
Quoted 3 lines
64bit
time_tfixes are not necessary but are not hurtful either, since the C libraries in zeus do not have the needed bits to enable 64bittime_tso unless someone else has issues with it, I am fine to bring them to zeus
will drop the 64bit time_t changes.
- armin
Quoted 70 lines
Quoted 70 lines
Stefan Agner (1):
networkmanager: do not deploy unnecessary udev rule filezhangxiao (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 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%) create mode 100644 meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch 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--
2.17.1--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel