cherry-picks from master branch (batch-3)
cover cherry-picks from master branch (batch-3)
Trying to keep recipes in the walnascar branch updated with useful fixes from the master branch.
I have tried to carefully review the change logs and commit logs while updating recipe versions.
Did basic validation by building against qemux86-64 and qemuarm64 machine targets.
Bartosz Golaszewski (1):
libgpiod: update to v2.2.2
Denis OSTERLAND-HEIM (1):
libusbgx: fix example gadget start
Gyorgy Sarvari (4):
zlog: upgrade 1.2.16 -> 1.2.18
nmap: set correct license
tokyocabinet: fix license
daemonize: update to latest revision
Jan Vermaete (1):
freeglut: changed SRC_URI to github + added UPSTREAM_CHECK
Jason Schonberg (1):
Remove the use of http://ftp.gnome.org/pub/gnome
Kéléfa Sané (1):
crash: fix reproducibility
Markus Volk (1):
malcontent: update 0.13.0 -> 0.13.1
Nylon Chen (1):
kernel-selftest: handle missing -64.h headers
Patrick Zacharias (1):
libcanberra: Fix sound not playing on Colibri iMX8X
Sana Kazi (1):
imagemagick: guard sed operations in do_install for optional files
Wang Mingyu (5):
parallel: upgrade 20250322 -> 20250422
parallel: upgrade 20250422 -> 20250522
parallel: upgrade 20250522 -> 20250622
parallel: upgrade 20250622 -> 20250722
parallel: upgrade 20250722 -> 20250822
Yi Zhao (1):
nmap: set UPSTREAM_CHECK_REGEX
Yoann Congal (2):
boinc-client: fix hostname reproducibility
gutenprint: fix a build race-condition
jacobpanov (1):
kernel-selftest: Fix PTP selftest compilation for kernel 6.7+
meta-oe/conf/include/non-repro-meta-oe.inc | 3 -
meta-oe/licenses/NPSL | 583 ++++++++++++++++++
.../libsigc++-2.0/libsigc++-2.0_2.12.1.bb | 2 +-
.../libsigc++-2.0/libsigc++-3_3.6.0.bb | 2 +-
.../proxy-libintl/proxy-libintl_20100902.bb | 4 +-
.../recipes-devtools/glade/glade_3.36.0.bb | 2 +-
.../boinc/boinc-client_7.20.5.bb | 5 +-
...allel_20250322.bb => parallel_20250822.bb} | 2 +-
...01-Don-t-overwrite-systemwide-cflags.patch | 31 +
.../files/upgrade_cmake_minimum_version.patch | 25 +
meta-oe/recipes-extended/zlog/zlog_1.2.16.bb | 17 -
meta-oe/recipes-extended/zlog/zlog_1.2.18.bb | 14 +
.../gnome-themes/gnome-themes-extra_3.28.bb | 2 +-
meta-oe/recipes-gnome/gtk+/gtk+_2.24.33.bb | 2 +-
.../recipes-gnome/malcontent/malcontent.inc | 6 +-
.../freeglut/freeglut_3.4.0.bb | 6 +-
meta-oe/recipes-kernel/crash/crash.inc | 1 +
...e-CC-env-var-to-get-compiler-version.patch | 48 ++
.../kernel-selftest/kernel-selftest.bb | 17 +-
...-race-condition-around-empty-directo.patch | 60 ++
.../gutenprint/gutenprint_5.3.4.bb | 4 +-
meta-oe/recipes-security/nmap/nmap_7.95.bb | 5 +-
...-many-arguments-to-function-write-er.patch | 46 --
.../daemonize/daemonize_git.bb | 3 +-
.../imagemagick/imagemagick_7.1.1-43.bb | 23 +-
...udio-buffer-size-for-a-time-of-500ms.patch | 42 ++
.../libcanberra/libcanberra_0.30.bb | 1 +
.../{libgpiod_2.2.1.bb => libgpiod_2.2.2.bb} | 2 +-
.../recipes-support/libusbgx/libusbgx_git.bb | 2 +-
.../tokyocabinet/tokyocabinet_1.4.48.bb | 2 +-
30 files changed, 869 insertions(+), 93 deletions(-)
create mode 100644 meta-oe/licenses/NPSL
rename meta-oe/recipes-extended/parallel/{parallel_20250322.bb => parallel_20250822.bb} (93%)
create mode 100644 meta-oe/recipes-extended/zlog/files/0001-Don-t-overwrite-systemwide-cflags.patch
create mode 100644 meta-oe/recipes-extended/zlog/files/upgrade_cmake_minimum_version.patch
delete mode 100644 meta-oe/recipes-extended/zlog/zlog_1.2.16.bb
create mode 100644 meta-oe/recipes-extended/zlog/zlog_1.2.18.bb
create mode 100644 meta-oe/recipes-kernel/crash/crash/0001-Use-CC-env-var-to-get-compiler-version.patch
create mode 100644 meta-oe/recipes-printing/gutenprint/gutenprint/0001-cups-fix-a-build-race-condition-around-empty-directo.patch
delete mode 100644 meta-oe/recipes-support/daemonize/daemonize/0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch
create mode 100644 meta-oe/recipes-support/libcanberra/files/0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch
rename meta-oe/recipes-support/libgpiod/{libgpiod_2.2.1.bb => libgpiod_2.2.2.bb} (98%)PATCH 1/22 zlog: upgrade 1.2.16 -> 1.2.18
From: Gyorgy Sarvari <[email protected]>
Switched to cmake. Added a backported patch to be able to use the latest version of cmake.
Also, add a new patch to avoid overwritingg all the CFLAGS set by Yocto, which helps with avoiding the inclusion of TMPDIR in the generated files.
License-Update: License changed to Apache2:
https://github.com/HardySimpson/zlog/commit/1a7b1a6fb956b92a4079ccc91f30da21f34ca063
Changelog:
1.2.18:
- patched severe vulnerability CVE-2024-22857
- restructured build system
1.2.17:
- Change Lience to Apache 2.0, for more people
--- ...01-Don-t-overwrite-systemwide-cflags.patch | 31 +++++++++++++++++++ .../files/upgrade_cmake_minimum_version.patch | 25 +++++++++++++++ meta-oe/recipes-extended/zlog/zlog_1.2.16.bb | 17 ---------- meta-oe/recipes-extended/zlog/zlog_1.2.18.bb | 14 +++++++++ 4 files changed, 70 insertions(+), 17 deletions(-) create mode 100644 meta-oe/recipes-extended/zlog/files/0001-Don-t-overwrite-systemwide-cflags.patch create mode 100644 meta-oe/recipes-extended/zlog/files/upgrade_cmake_minimum_version.patch delete mode 100644 meta-oe/recipes-extended/zlog/zlog_1.2.16.bb create mode 100644 meta-oe/recipes-extended/zlog/zlog_1.2.18.bb
meta-oe/recipes-extended/zlog/files/0001-Don-t-overwrite-systemwide-cflags.patch new file +31 -0
@@ -0,0 +1,31 @@ +From ee35b6507993e79fc594e3b7ad50174e33e68daa Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari <[email protected]> +Date: Wed, 24 Sep 2025 11:22:29 +0200 +Subject: [PATCH] Don't overwrite systemwide cflags + +Instead of overriding the cflags from the system, just append to them. + +Upstream-Status: Submitted [https://github.com/HardySimpson/zlog/pull/306] + +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + CMakeLists.txt | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8981934..f2bd574 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -33,9 +33,9 @@ SET(ZLOG_SO_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}) + message(STATUS "platform : ${CMAKE_SYSTEM}") + + add_definitions("-g -Wall -Wstrict-prototypes") +-set(CMAKE_C_FLAGS "-std=c99 -pedantic -D_DEFAULT_SOURCE") +-set(CMAKE_C_FLAGS_DEBUG "-ggdb3 -DDEBUG") +-set(CMAKE_C_FLAGS_RELEASE "-O2") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -pedantic -D_DEFAULT_SOURCE") ++set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3 -DDEBUG") ++set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2") + + if (WIN32) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 ")
meta-oe/recipes-extended/zlog/files/upgrade_cmake_minimum_version.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 3715879775f725260aeda14f94887bbc7a007e29 Mon Sep 17 00:00:00 2001 +From: haydenZhou <[email protected]> +Date: Sun, 8 Jun 2025 10:45:05 +0800 +Subject: [PATCH] upgrade cmake minimum version + +Upstream-Status: Backport [https://github.com/HardySimpson/zlog/commit/3715879775f725260aeda14f94887bbc7a007e29] + +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5ddaf8d..31a1553 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -14,7 +14,7 @@ + # limitations under the License. + #/ + +-cmake_minimum_required(VERSION 2.8.5) ++cmake_minimum_required(VERSION 3.12) + + message(STATUS "path : ${CMAKE_FIND_ROOT_PATH}") + project(zlog)
meta-oe/recipes-extended/zlog/zlog_1.2.16.bb deleted +0 -17
@@ -1,17 +0,0 @@ -DESCRIPTION = "Zlog is a pure C logging library" -HOMEPAGE = "https://github.com/HardySimpson/zlog" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -SRCREV = "dc2c284664757fce6ef8f96f8b3ab667a53ef489" -SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https" - -S = "${WORKDIR}/git" - -inherit pkgconfig - -EXTRA_OEMAKE = "CC='${CC}' LD='${LD}' LIBRARY_PATH=${baselib}" - -do_install() { - oe_runmake install PREFIX=${D}${exec_prefix} INSTALL=install -}
meta-oe/recipes-extended/zlog/zlog_1.2.18.bb new file +14 -0
@@ -0,0 +1,14 @@ +DESCRIPTION = "Zlog is a pure C logging library" +HOMEPAGE = "https://github.com/HardySimpson/zlog" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https;tag=${PV} \ + file://upgrade_cmake_minimum_version.patch \ + file://0001-Don-t-overwrite-systemwide-cflags.patch" +SRCREV = "7fe61ca6265516e9327a51fc394b2adb126c2ef3" + +S = "${WORKDIR}/git" + +inherit cmake +
Re: [oe][meta-oe][walnascar][PATCH 01/22] zlog: upgrade 1.2.16 -> 1.2.18
I am not able to accept relicensed updates in stable branches. If you could send that CVE patch separately, that would be nice though... (if you have time for that)
Quoted 145 lines · Ankur Tyagi
From: Gyorgy Sarvari <[email protected]>
Switched to cmake. Added a backported patch to be able to use the latest version of cmake.
Also, add a new patch to avoid overwritingg all the CFLAGS set by Yocto, which helps with avoiding the inclusion of TMPDIR in the generated files.
License-Update: License changed to Apache2:
https://github.com/HardySimpson/zlog/commit/1a7b1a6fb956b92a4079ccc91f30da21f34ca063Changelog:
1.2.18:
- patched severe vulnerability CVE-2024-22857
- restructured build system1.2.17:
- Change Lience to Apache 2.0, for more peopleSigned-off-by Gyorgy Sarvari <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 8891ca87488384c0ab65b5d77c1278187080753d)Signed-off-by Ankur Tyagi <[email protected]>--- ...01-Don-t-overwrite-systemwide-cflags.patch | 31 +++++++++++++++++++ .../files/upgrade_cmake_minimum_version.patch | 25 +++++++++++++++ meta-oe/recipes-extended/zlog/zlog_1.2.16.bb | 17 ---------- meta-oe/recipes-extended/zlog/zlog_1.2.18.bb | 14 +++++++++ 4 files changed, 70 insertions(+), 17 deletions(-) create mode 100644 meta-oe/recipes-extended/zlog/files/0001-Don-t-overwrite-systemwide-cflags.patch create mode 100644 meta-oe/recipes-extended/zlog/files/upgrade_cmake_minimum_version.patch delete mode 100644 meta-oe/recipes-extended/zlog/zlog_1.2.16.bb create mode 100644 meta-oe/recipes-extended/zlog/zlog_1.2.18.bbmeta-oe/recipes-extended/zlog/files/0001-Don-t-overwrite-systemwide-cflags.patch new file +31
-0@@ -0,0 +1,31 @@ +From ee35b6507993e79fc594e3b7ad50174e33e68daa Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari <[email protected]> +Date: Wed, 24 Sep 2025 11:22:29 +0200 +Subject: [PATCH] Don't overwrite systemwide cflags + +Instead of overriding the cflags from the system, just append to them. + +Upstream-Status: Submitted [https://github.com/HardySimpson/zlog/pull/306] + +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + CMakeLists.txt | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8981934..f2bd574 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -33,9 +33,9 @@ SET(ZLOG_SO_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}) + message(STATUS "platform : ${CMAKE_SYSTEM}") + + add_definitions("-g -Wall -Wstrict-prototypes") +-set(CMAKE_C_FLAGS "-std=c99 -pedantic -D_DEFAULT_SOURCE") +-set(CMAKE_C_FLAGS_DEBUG "-ggdb3 -DDEBUG") +-set(CMAKE_C_FLAGS_RELEASE "-O2") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -pedantic -D_DEFAULT_SOURCE") ++set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3 -DDEBUG") ++set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2") + + if (WIN32) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 ")meta-oe/recipes-extended/zlog/files/upgrade_cmake_minimum_version.patch new file +25
-0@@ -0,0 +1,25 @@ +From 3715879775f725260aeda14f94887bbc7a007e29 Mon Sep 17 00:00:00 2001 +From: haydenZhou <[email protected]> +Date: Sun, 8 Jun 2025 10:45:05 +0800 +Subject: [PATCH] upgrade cmake minimum version + +Upstream-Status: Backport [https://github.com/HardySimpson/zlog/commit/3715879775f725260aeda14f94887bbc7a007e29] + +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5ddaf8d..31a1553 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -14,7 +14,7 @@ + # limitations under the License. + #/ + +-cmake_minimum_required(VERSION 2.8.5) ++cmake_minimum_required(VERSION 3.12) + + message(STATUS "path : ${CMAKE_FIND_ROOT_PATH}") + project(zlog)meta-oe/recipes-extended/zlog/zlog_1.2.16.bb deleted +0
-17@@ -1,17 +0,0 @@ -DESCRIPTION = "Zlog is a pure C logging library" -HOMEPAGE = "https://github.com/HardySimpson/zlog" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -SRCREV = "dc2c284664757fce6ef8f96f8b3ab667a53ef489" -SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https" - -S = "${WORKDIR}/git" - -inherit pkgconfig - -EXTRA_OEMAKE = "CC='${CC}' LD='${LD}' LIBRARY_PATH=${baselib}" - -do_install() { - oe_runmake install PREFIX=${D}${exec_prefix} INSTALL=install -}meta-oe/recipes-extended/zlog/zlog_1.2.18.bb new file +14
-0@@ -0,0 +1,14 @@ +DESCRIPTION = "Zlog is a pure C logging library" +HOMEPAGE = "https://github.com/HardySimpson/zlog" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https;tag=${PV} \ + file://upgrade_cmake_minimum_version.patch \ + file://0001-Don-t-overwrite-systemwide-cflags.patch" +SRCREV = "7fe61ca6265516e9327a51fc394b2adb126c2ef3" + +S = "${WORKDIR}/git" + +inherit cmake +
Re: [oe][meta-oe][walnascar][PATCH 01/22] zlog: upgrade 1.2.16 -> 1.2.18
fair enough, please drop this patch and I'll send another one for the CVE.
Quoted 152 lines · Gyorgy Sarvari
I am not able to accept relicensed updates in stable branches. If you could send that CVE patch separately, that would be nice though... (if you have time for that)
Quoted 145 lines · Ankur Tyagi
From: Gyorgy Sarvari <[email protected]>
Switched to cmake. Added a backported patch to be able to use the latest version of cmake.
Also, add a new patch to avoid overwritingg all the CFLAGS set by Yocto, which helps with avoiding the inclusion of TMPDIR in the generated files.
License-Update: License changed to Apache2:
https://github.com/HardySimpson/zlog/commit/1a7b1a6fb956b92a4079ccc91f30da21f34ca063Changelog:
1.2.18:
- patched severe vulnerability CVE-2024-22857
- restructured build system1.2.17:
- Change Lience to Apache 2.0, for more peopleSigned-off-by Gyorgy Sarvari <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 8891ca87488384c0ab65b5d77c1278187080753d)Signed-off-by Ankur Tyagi <[email protected]>--- ...01-Don-t-overwrite-systemwide-cflags.patch | 31 +++++++++++++++++++ .../files/upgrade_cmake_minimum_version.patch | 25 +++++++++++++++ meta-oe/recipes-extended/zlog/zlog_1.2.16.bb | 17 ---------- meta-oe/recipes-extended/zlog/zlog_1.2.18.bb | 14 +++++++++ 4 files changed, 70 insertions(+), 17 deletions(-) create mode 100644 meta-oe/recipes-extended/zlog/files/0001-Don-t-overwrite-systemwide-cflags.patch create mode 100644 meta-oe/recipes-extended/zlog/files/upgrade_cmake_minimum_version.patch delete mode 100644 meta-oe/recipes-extended/zlog/zlog_1.2.16.bb create mode 100644 meta-oe/recipes-extended/zlog/zlog_1.2.18.bbmeta-oe/recipes-extended/zlog/files/0001-Don-t-overwrite-systemwide-cflags.patch new file +31
-0@@ -0,0 +1,31 @@ +From ee35b6507993e79fc594e3b7ad50174e33e68daa Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari <[email protected]> +Date: Wed, 24 Sep 2025 11:22:29 +0200 +Subject: [PATCH] Don't overwrite systemwide cflags + +Instead of overriding the cflags from the system, just append to them. + +Upstream-Status: Submitted [https://github.com/HardySimpson/zlog/pull/306] + +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + CMakeLists.txt | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8981934..f2bd574 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -33,9 +33,9 @@ SET(ZLOG_SO_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}) + message(STATUS "platform : ${CMAKE_SYSTEM}") + + add_definitions("-g -Wall -Wstrict-prototypes") +-set(CMAKE_C_FLAGS "-std=c99 -pedantic -D_DEFAULT_SOURCE") +-set(CMAKE_C_FLAGS_DEBUG "-ggdb3 -DDEBUG") +-set(CMAKE_C_FLAGS_RELEASE "-O2") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -pedantic -D_DEFAULT_SOURCE") ++set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3 -DDEBUG") ++set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2") + + if (WIN32) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 ")meta-oe/recipes-extended/zlog/files/upgrade_cmake_minimum_version.patch new file +25
-0@@ -0,0 +1,25 @@ +From 3715879775f725260aeda14f94887bbc7a007e29 Mon Sep 17 00:00:00 2001 +From: haydenZhou <[email protected]> +Date: Sun, 8 Jun 2025 10:45:05 +0800 +Subject: [PATCH] upgrade cmake minimum version + +Upstream-Status: Backport [https://github.com/HardySimpson/zlog/commit/3715879775f725260aeda14f94887bbc7a007e29] + +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5ddaf8d..31a1553 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -14,7 +14,7 @@ + # limitations under the License. + #/ + +-cmake_minimum_required(VERSION 2.8.5) ++cmake_minimum_required(VERSION 3.12) + + message(STATUS "path : ${CMAKE_FIND_ROOT_PATH}") + project(zlog)meta-oe/recipes-extended/zlog/zlog_1.2.16.bb deleted +0
-17@@ -1,17 +0,0 @@ -DESCRIPTION = "Zlog is a pure C logging library" -HOMEPAGE = "https://github.com/HardySimpson/zlog" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -SRCREV = "dc2c284664757fce6ef8f96f8b3ab667a53ef489" -SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https" - -S = "${WORKDIR}/git" - -inherit pkgconfig - -EXTRA_OEMAKE = "CC='${CC}' LD='${LD}' LIBRARY_PATH=${baselib}" - -do_install() { - oe_runmake install PREFIX=${D}${exec_prefix} INSTALL=install -}meta-oe/recipes-extended/zlog/zlog_1.2.18.bb new file +14
-0@@ -0,0 +1,14 @@ +DESCRIPTION = "Zlog is a pure C logging library" +HOMEPAGE = "https://github.com/HardySimpson/zlog" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https;tag=${PV} \ + file://upgrade_cmake_minimum_version.patch \ + file://0001-Don-t-overwrite-systemwide-cflags.patch" +SRCREV = "7fe61ca6265516e9327a51fc394b2adb126c2ef3" + +S = "${WORKDIR}/git" + +inherit cmake +
PATCH 2/22 parallel: upgrade 20250322 -> 20250422
In reply to Ankur TyagiFrom: Wang Mingyu <[email protected]>
---
.../parallel/{parallel_20250322.bb => parallel_20250422.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/parallel/{parallel_20250322.bb => parallel_20250422.bb} (93%)meta-oe/recipes-extended/parallel/parallel_20250422.bb renamed from meta-oe/recipes-extended/parallel/parallel_20250322.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \ " SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2" -SRC_URI[sha256sum] = "c82896e779b18c2a157527f32f35de9a6d984f8b8ebad2b41dbc78c33adbaabe" +SRC_URI[sha256sum] = "10f0a7b7fbed87edcbd63a403fdc0ee1a1f86c241a3605f33162b4b9aff248dd" inherit autotools bash-completion
PATCH 3/22 parallel: upgrade 20250422 -> 20250522
In reply to Ankur TyagiFrom: Wang Mingyu <[email protected]>
---
.../parallel/{parallel_20250422.bb => parallel_20250522.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/parallel/{parallel_20250422.bb => parallel_20250522.bb} (93%)meta-oe/recipes-extended/parallel/parallel_20250522.bb renamed from meta-oe/recipes-extended/parallel/parallel_20250422.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \ " SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2" -SRC_URI[sha256sum] = "10f0a7b7fbed87edcbd63a403fdc0ee1a1f86c241a3605f33162b4b9aff248dd" +SRC_URI[sha256sum] = "b4b28f475f8cff8bb6ed4b03cc5a67041f18fc73fa256923b23181b56afdb2cb" inherit autotools bash-completion
PATCH 4/22 parallel: upgrade 20250522 -> 20250622
In reply to Ankur TyagiFrom: Wang Mingyu <[email protected]>
---
.../parallel/{parallel_20250522.bb => parallel_20250622.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/parallel/{parallel_20250522.bb => parallel_20250622.bb} (93%)meta-oe/recipes-extended/parallel/parallel_20250622.bb renamed from meta-oe/recipes-extended/parallel/parallel_20250522.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \ " SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2" -SRC_URI[sha256sum] = "b4b28f475f8cff8bb6ed4b03cc5a67041f18fc73fa256923b23181b56afdb2cb" +SRC_URI[sha256sum] = "69f578cf11f1b124ba3c2b673a16641debe63aeb3d2ac4cec5ad65f8a53d489b" inherit autotools bash-completion
PATCH 5/22 parallel: upgrade 20250622 -> 20250722
In reply to Ankur TyagiFrom: Wang Mingyu <[email protected]>
---
.../parallel/{parallel_20250622.bb => parallel_20250722.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/parallel/{parallel_20250622.bb => parallel_20250722.bb} (93%)meta-oe/recipes-extended/parallel/parallel_20250722.bb renamed from meta-oe/recipes-extended/parallel/parallel_20250622.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \ " SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2" -SRC_URI[sha256sum] = "69f578cf11f1b124ba3c2b673a16641debe63aeb3d2ac4cec5ad65f8a53d489b" +SRC_URI[sha256sum] = "91a81ff4129cdf5ad3c3c45ec033e75f2bbea5447f4b6813a0d8cfe8e5c7843b" inherit autotools bash-completion
PATCH 6/22 parallel: upgrade 20250722 -> 20250822
In reply to Ankur TyagiFrom: Wang Mingyu <[email protected]>
---
.../parallel/{parallel_20250722.bb => parallel_20250822.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/parallel/{parallel_20250722.bb => parallel_20250822.bb} (93%)meta-oe/recipes-extended/parallel/parallel_20250822.bb renamed from meta-oe/recipes-extended/parallel/parallel_20250722.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \ " SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2" -SRC_URI[sha256sum] = "91a81ff4129cdf5ad3c3c45ec033e75f2bbea5447f4b6813a0d8cfe8e5c7843b" +SRC_URI[sha256sum] = "019d328722867cffe918c449364308c0df048456c69299b91451a3e6fac9167a" inherit autotools bash-completion
PATCH 7/22 boinc-client: fix hostname reproducibility
In reply to Ankur TyagiFrom: Yoann Congal <[email protected]>
The generated svn_version.h contains the hostname which makes it non-reproducible. Fix this by removing the hostname from the file.
--- meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb +4 -1
@@ -78,7 +78,10 @@ do_install:prepend() { } do_install:append() { - sed -i -e 's#${S}##g' ${D}${includedir}/boinc/svn_version.h + # By default, the SVN_VERSION definition looks like: + #define SVN_VERSION "$SHA1 [https://github.com/BOINC/boinc] ($HOSTNAME:$S [client_release/7/7.20]) [Server-Release: server_release/1.1/1.1.0]" + # ... remove HOSTNAME and S to make it reproducible. + sed -i -e '/^#define SVN_VERSION /s#(\S*:\S* \[#([#g' ${D}${includedir}/boinc/svn_version.h } SYSTEMD_SERVICE:${PN} = "boinc-client.service"
PATCH 8/22 malcontent: update 0.13.0 -> 0.13.1
In reply to Ankur TyagiFrom: Markus Volk <[email protected]>
Bugs fixed:
(or any click on carousel's icons) (Philip Withnall)
!244 malcontent-control: Fix callback argument list
--- meta-oe/recipes-gnome/malcontent/malcontent.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-gnome/malcontent/malcontent.inc +3 -3
@@ -1,4 +1,4 @@ -SRC_URI = "git://gitlab.freedesktop.org/pwithnall/malcontent.git;protocol=https;branch=main" +SRC_URI = "git://gitlab.freedesktop.org/pwithnall/malcontent.git;protocol=https;branch=malcontent-0.13" S = "${WORKDIR}/git" -SRCREV = "21f3ef7b6f984710a23b607d2298fe16e554f0c3" -PV = "0.13.0" +SRCREV = "090042fec5181621e2fd8cfef9fc446ed86db98b" +PV = "0.13.1"
PATCH 9/22 Remove the use of http://ftp.gnome.org/pub/gnome
In reply to Ankur TyagiFrom: Jason Schonberg <[email protected]>
Use https://download.gnome.org instead.
In SRC_URI where the reference is https://download.gnome.org/sources
${GNOME_MIRROR} can be substituted.
--- meta-oe/recipes-core/libsigc++-2.0/libsigc++-2.0_2.12.1.bb | 2 +- meta-oe/recipes-core/libsigc++-2.0/libsigc++-3_3.6.0.bb | 2 +- meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb | 4 ++-- meta-oe/recipes-devtools/glade/glade_3.36.0.bb | 2 +- meta-oe/recipes-gnome/gnome-themes/gnome-themes-extra_3.28.bb | 2 +- meta-oe/recipes-gnome/gtk+/gtk+_2.24.33.bb | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
meta-oe/recipes-core/libsigc++-2.0/libsigc++-2.0_2.12.1.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" DEPENDS = "mm-common" -SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.12/libsigc++-${PV}.tar.xz" +SRC_URI = "${GNOME_MIRROR}/libsigc++/2.12/libsigc++-${PV}.tar.xz" SRC_URI[sha256sum] = "a9dbee323351d109b7aee074a9cb89ca3e7bcf8ad8edef1851f4cf359bd50843" UPSTREAM_CHECK_URI = "https://download.gnome.org/sources/libsigc++/2.12/"
meta-oe/recipes-core/libsigc++-2.0/libsigc++-3_3.6.0.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=959bffe2993816eb32ec4bc1ec1d5875" DEPENDS = "mm-common" -SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libsigc++/3.6/libsigc++-${PV}.tar.xz" +SRC_URI = "${GNOME_MIRROR}/libsigc++/3.6/libsigc++-${PV}.tar.xz" SRC_URI[sha256sum] = "c3d23b37dfd6e39f2e09f091b77b1541fbfa17c4f0b6bf5c89baef7229080e17" UPSTREAM_CHECK_URI = "https://download.gnome.org/sources/libsigc++/3.6/"
meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb +2 -2
@@ -1,5 +1,5 @@ SUMMARY = "Proxy libintl" -HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/" +HOMEPAGE = "https://download.gnome.org/binaries/win32/dependencies/" SECTION = "libs" LICENSE = "LGPL-2.0-only" LIC_FILES_CHKSUM = "file://${UNPACKDIR}/src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e"
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://${UNPACKDIR}/src/proxy-libintl/COPYING.LIB.txt;md5=bc PROVIDES = "virtual/libintl" SRC_URI = " \ - http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/${BPN}-dev_${PV}_win32.zip \ + https://download.gnome.org/binaries/win32/dependencies/${BPN}-dev_${PV}_win32.zip \ " SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356f9ae91"
meta-oe/recipes-devtools/glade/glade_3.36.0.bb +1 -1
@@ -15,7 +15,7 @@ inherit features_check autotools gettext pkgconfig gnomebase gobject-introspecti # cairo would at least needed to be built with xlib. ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" -SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade/3.36/glade-${PV}.tar.xz \ +SRC_URI = "${GNOME_MIRROR}/glade/3.36/glade-${PV}.tar.xz \ file://remove-yelp-help-rules-var.patch \ file://CVE-2020-36774.patch \ "
meta-oe/recipes-gnome/gnome-themes/gnome-themes-extra_3.28.bb +1 -1
@@ -1,5 +1,5 @@ SUMMARY = "GTK+2 standard themes" -HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/" +HOMEPAGE = "https://download.gnome.org/sources/gnome-themes-standard/" BUGTRACKER = "https://bugzilla.gnome.org/" SECTION = "x11/gnome"
meta-oe/recipes-gnome/gtk+/gtk+_2.24.33.bb +1 -1
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \ file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \ file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c" -SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${PV}.tar.xz \ +SRC_URI = "${GNOME_MIRROR}/gtk+/2.24/gtk+-${PV}.tar.xz \ file://xsettings.patch \ file://toggle-font.diff;striplevel=0 \ file://doc-fixes.patch \
PATCH 10/22 freeglut: changed SRC_URI to github + added UPSTREAM_CHECK
In reply to Ankur TyagiFrom: Jan Vermaete <[email protected]>
- added HOMEPAGE
- downloads are now from github
"Stable releases are available on our releases page on github, where you can find more information about each release. All releases are also mirrored on the old downloads page on sourceforge." @see: https://freeglut.sourceforge.net/
- fixed 'devtool check-upgrade-status'
--- meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +5 -1
@@ -1,9 +1,10 @@ DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \ Utility Toolkit (GLUT) library" +HOMEPAGE = "https://freeglut.sourceforge.net" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" -SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz" +SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz" SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec" inherit cmake features_check pkgconfig
@@ -24,6 +25,9 @@ PROVIDES += "mesa-glut" DEPENDS = "virtual/libgl libxi" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)" +UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" + do_install:append() { # Remove buildpaths sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/FreeGLUT/FreeGLUTTargets.cmake
Re: [oe][meta-oe][walnascar][PATCH 10/22] freeglut: changed SRC_URI to github + added UPSTREAM_CHECK
If the SRC_URI is not dead, I would just leave this as it is in Walnascar.
Quoted 51 lines · Ankur Tyagi via lists.openembedded.org
From: Jan Vermaete <[email protected]>
- added HOMEPAGE
- downloads are now from github
"Stable releases are available on our releases page on github, where you can find more information about each release. All releases are also mirrored on the old downloads page on sourceforge." @see: https://freeglut.sourceforge.net/
- fixed 'devtool check-upgrade-status'Signed-off-by Jan Vermaete <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 6afcc7939e74023b06fc8655f4120647e4907f8c)Signed-off-by Ankur Tyagi <[email protected]>--- meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +5
-2@@ -1,9 +1,10 @@ DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \ Utility Toolkit (GLUT) library" +HOMEPAGE = "https://freeglut.sourceforge.net" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" -SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz" +SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz" SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec" inherit cmake features_check pkgconfig@@ -24,6 +25,9 @@ PROVIDES += "mesa-glut" DEPENDS = "virtual/libgl libxi" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)" +UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" + do_install:append() { # Remove buildpaths sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/FreeGLUT/FreeGLUTTargets.cmake -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#120062): https://lists.openembedded.org/g/openembedded-devel/message/120062
Mute This Topic: https://lists.openembedded.org/mt/115510966/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe][meta-oe][walnascar][PATCH 10/22] freeglut: changed SRC_URI to github + added UPSTREAM_CHECK
Quoted 2 lines · Gyorgy Sarvari
If the
SRC_URIis not dead, I would just leave this as it is in Walnascar.
SRC_URI still works, we can drop this patch then.
Quoted 54 lines · Ankur Tyagi via lists.openembedded.org
Quoted 51 lines
From: Jan Vermaete <[email protected]>
- added HOMEPAGE
- downloads are now from github
"Stable releases are available on our releases page on github, where you can find more information about each release. All releases are also mirrored on the old downloads page on sourceforge." @see: https://freeglut.sourceforge.net/
- fixed 'devtool check-upgrade-status'Signed-off-by Jan Vermaete <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 6afcc7939e74023b06fc8655f4120647e4907f8c)Signed-off-by Ankur Tyagi <[email protected]>--- meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +5
-2@@ -1,9 +1,10 @@ DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \ Utility Toolkit (GLUT) library" +HOMEPAGE = "https://freeglut.sourceforge.net" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" -SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz" +SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz" SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec" inherit cmake features_check pkgconfig@@ -24,6 +25,9 @@ PROVIDES += "mesa-glut" DEPENDS = "virtual/libgl libxi" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)" +UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" + do_install:append() { # Remove buildpaths sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/FreeGLUT/FreeGLUTTargets.cmake -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#120062): https://lists.openembedded.org/g/openembedded-devel/message/120062
Mute This Topic: https://lists.openembedded.org/mt/115510966/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 11/22 kernel-selftest: Fix PTP selftest compilation for kernel 6.7+
In reply to Ankur TyagiFrom: jacobpanov <[email protected]>
The PTP selftest fails to compile with kernel versions 6.7+ due to missing header definitions for PTP_MASK_CLEAR_ALL and PTP_MASK_EN_SINGLE. These definitions were introduced in kernel v6.7 with commit c5a445b.
This fix adds kernel headers to CFLAGS during compilation to ensure the required definitions are available.
Error before fix:
testptp.c:613:31: error: 'PTP_MASK_CLEAR_ALL' undeclared testptp.c:615:38: error: 'PTP_MASK_EN_SINGLE' undeclared
--- meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +6 -0
@@ -97,6 +97,12 @@ either install it and add it to HOSTTOOLS, or add clang-native from meta-clang t sed -i -e '/mrecord-mcount/d' ${S}/Makefile sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/Makefile sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/scripts/Makefile.* + + # Add kernel headers to CFLAGS to fix PTP selftest compilation + # Required for PTP_MASK_CLEAR_ALL and PTP_MASK_EN_SINGLE definitions + # introduced in kernel v6.7 (commit c5a445b) + export CFLAGS="${CFLAGS} -I${STAGING_KERNEL_BUILDDIR}/usr/include" + oe_runmake -C ${S}/tools/testing/selftests TARGETS="${TEST_LIST}" }
PATCH 12/22 kernel-selftest: handle missing -64.h headers
In reply to Ankur TyagiFrom: Nylon Chen <[email protected]>
Some toolchains ship only bits/*.h without the -64.h suffix, causing the recipe to fail. Add a fallback to use *.h if *-64.h is not found, and warn if neither exists.
--- .../recipes-kernel/kernel-selftest/kernel-selftest.bb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +10 -1
@@ -89,7 +89,16 @@ either install it and add it to HOSTTOOLS, or add clang-native from meta-clang t install -Dm 0644 ${STAGING_KERNEL_BUILDDIR}/.config ${S}/include/config/auto.conf if [ "${SITEINFO_BITS}" != "32" ]; then for f in long-double endianness floatn struct_rwlock; do - cp ${RECIPE_SYSROOT}${includedir}/bits/$f-64.h ${S}/bits/$f-32.h + src_base="${RECIPE_SYSROOT}${includedir}/bits/${f}" + if [ -f "${src_base}-64.h" ]; then + src="${src_base}-64.h" + elif [ -f "${src_base}.h" ]; then + src="${src_base}.h" + else + bbwarn "Missing header for bits/${f}{-64,.h} under ${RECIPE_SYSROOT}${includedir}/bits skipped" + continue + fi + install -m 0644 "${src}" "${S}/bits/${f}-32.h" done fi oe_runmake -C ${S} headers
PATCH 13/22 crash: fix reproducibility
In reply to Ankur TyagiFrom: Kéléfa Sané <[email protected]>
Fix reproducibility issue by retrieving the compiler version from the CC env variable, which define the compiler used in the build and not from the native gcc compiler install in the host machine.
--- meta-oe/conf/include/non-repro-meta-oe.inc | 3 -- meta-oe/recipes-kernel/crash/crash.inc | 1 + ...e-CC-env-var-to-get-compiler-version.patch | 48 +++++++++++++++++++ 3 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-kernel/crash/crash/0001-Use-CC-env-var-to-get-compiler-version.patch
meta-oe/conf/include/non-repro-meta-oe.inc +0 -3
@@ -7,9 +7,6 @@ KNOWN_NON_REPRO_META_OE = " \ boinc-client-dev \ cjson-ptest \ cpuid-doc \ - crash \ - crash-dbg \ - crash-src \ dhrystone \ dhrystone-dbg \ dhrystone-dev \
meta-oe/recipes-kernel/crash/crash.inc +1 -0
@@ -27,6 +27,7 @@ SRC_URI = "git://github.com/crash-utility/${BPN}.git;branch=master;protocol=http file://0003-Fix-build-failure-in-readline-lib.patch \ file://0004-tools.c-do-not-use-keywords-nullptr-as-a-variable-in.patch \ file://0005-Fix-build-failure-on-32bit-machine-i686.patch \ + file://0001-Use-CC-env-var-to-get-compiler-version.patch \ " SRCREV = "f13853cef53f5c5463a51021edbc81977e2b1405"
meta-oe/recipes-kernel/crash/crash/0001-Use-CC-env-var-to-get-compiler-version.patch new file +48 -0
48 lines not on this page · raw message
PATCH 14/22 gutenprint: fix a build race-condition
In reply to Ankur TyagiFrom: Yoann Congal <[email protected]>
Gutenprint install hooks run in parallel but depend on each other. This is a race condition and might trigger a build failure (e.g on AB [0]):
| chmod 700 $WORKDIR/image/usr/libexec/cups/backend/backend_gutenprint | chmod: cannot access '$WORKDIR/image/usr/libexec/cups/backend/backend_gutenprint': Not a directory | make[5]: *** [Makefile:2166: install-exec-hook] Error 1
Fixes this by adding an explicit dependency between the dependent targets.
[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/46/steps/33/logs/stdio
--- ...-race-condition-around-empty-directo.patch | 60 +++++++++++++++++++ .../gutenprint/gutenprint_5.3.4.bb | 4 +- 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-printing/gutenprint/gutenprint/0001-cups-fix-a-build-race-condition-around-empty-directo.patch
meta-oe/recipes-printing/gutenprint/gutenprint/0001-cups-fix-a-build-race-condition-around-empty-directo.patch new file +60 -0
@@ -0,0 +1,60 @@ +From e3b0952fe936f90cfda9cbed368fae2143b72089 Mon Sep 17 00:00:00 2001 +From: Yoann Congal <[email protected]> +Date: Thu, 3 Jul 2025 15:27:04 +0200 +Subject: [PATCH] cups: fix a build race-condition around empty directories + removal + +In automake, install-exec and install-data happen in parallel. +install-exec installs executables and install-data finishes with +install-data-hook that removes empty directories. If install-data-hook +happen before install-exec finishes, it might remove a directory while +it is used by the install process and make it fail. + +Fix this by adding an explicit dependency between install-data-hook and +install-exec. + +For example, here is the log of such a failure: +| make install-data-hook +| hosttools/mkdir -p 'image/usr/libexec/cups/backend' +| make[5]: Entering directory '$WORKDIR/build/src/cups' +| Expect a number of "rmdir: Directory not empty" warnings +| /bin/bash ../../libtool --mode=install $HOSTTOOLS/install -c backend_gutenprint '$WORKDIR/image/usr/libexec/cups/backend' + # Start of the install process (from install-exec) +| These messages are harmless and should be ignored. +... +| rmdir $WORKDIR/image/usr/libexec/cups/backend + # empty /usr/libexec/cups/backend is removed (from install-data-hook) +... +| libtool: install: $HOSTTOOLS/install -c backend_gutenprint $WORKDIR/image/usr/libexec/cups/backend + # install in a non-existing directory: backend_gutenprint is installed + # as /usr/libexec/cups/backend (this is now a file instead of a + # directory) +| make install-exec-hook +| make[5]: Entering directory '$WORKDIR/build/src/cups' +| chmod 700 $WORKDIR/image/usr/libexec/cups/backend/backend_gutenprint +| chmod: cannot access '$WORKDIR/image/usr/libexec/cups/backend/backend_gutenprint': Not a directory + # chmod fails because /usr/libexec/cups/backend is a file and not a + # directory +| make[5]: *** [Makefile:2166: install-exec-hook] Error 1 + +Signed-off-by: Yoann Congal <[email protected]> +Upstream-Status: Submitted [https://sourceforge.net/p/gimp-print/mailman/gimp-print-devel/thread/20250703164244.1120340-1-yoann.congal%40smile.fr/#msg59202153] +--- + src/cups/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/cups/Makefile.am b/src/cups/Makefile.am +index 7928ee3..fe45c92 100644 +--- a/src/cups/Makefile.am ++++ b/src/cups/Makefile.am +@@ -206,8 +206,9 @@ uninstall-local: $(INSTALL_DATA_LOCAL_DEPS) $(INSTALL_BLACKLIST) + $(RM) -f "$(DESTDIR)$(cupsdata_blacklistdir)/net.sf.gimp-print.usb-quirks" + $(RM) -f "$(DESTDIR)$(pkglibdir)/backend/gutenprint$(GUTENPRINT_MAJOR_VERSION)$(GUTENPRINT_MINOR_VERSION)+usb" + +-install-data-hook: ++install-data-hook: install-exec + # Remove unused directories in install tree ++# Note: it removes "exec" directories, so it must happen after install-exec. + -@echo 'Expect a number of "rmdir: Directory not empty" warnings' + -@echo 'These messages are harmless and should be ignored.' + -rmdir $(DESTDIR)$(cups_modeldir)
meta-oe/recipes-printing/gutenprint/gutenprint_5.3.4.bb +3 -1
@@ -14,7 +14,9 @@ HOMEPAGE = "http://gimp-print.sourceforge.net/" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" -SRC_URI = "https://downloads.sourceforge.net/gimp-print/${BP}.tar.xz" +SRC_URI = "https://downloads.sourceforge.net/gimp-print/${BP}.tar.xz \ + file://0001-cups-fix-a-build-race-condition-around-empty-directo.patch \ + " SRC_URI[sha256sum] = "db44a701d2b8e6a8931c83cec06c91226be266d23e5c189d20a39dd175f2023b" inherit autotools gettext pkgconfig
PATCH 15/22 nmap: set UPSTREAM_CHECK_REGEX
In reply to Ankur TyagiFrom: Yi Zhao <[email protected]>
Set UPSTREAM_CHECK_REGEX to check the correct latest stable verison.
Before the fix:
$ devtool latest-version nmap INFO: Current version: 7.95 INFO: Latest version: 7.95-1
After the fix:
$ devtool latest-version nmap INFO: Current version: 7.95 INFO: Latest version: 7.95
--- meta-oe/recipes-security/nmap/nmap_7.95.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-security/nmap/nmap_7.95.bb +3 -0
@@ -14,6 +14,9 @@ SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \ file://0001-fix-racing-between-build-ncat-and-build-lua.patch \ " SRC_URI[sha256sum] = "e14ab530e47b5afd88f1c8a2bac7f89cd8fe6b478e22d255c5b9bddb7a1c5778" + +UPSTREAM_CHECK_REGEX = "nmap-(?P<pver>\d+(\.\d+)+)\.tar" + inherit autotools-brokensep pkgconfig python3native PACKAGECONFIG ?= "pcre ncat nping pcap"
PATCH 16/22 nmap: set correct license
In reply to Ankur TyagiFrom: Gyorgy Sarvari <[email protected]>
Nmap has switched from GPLv2 to their own "Nmap Public Source License" since a few release. Set it in the recipe accordingly.
The NPSL file in the license firectory has been downloaded directly from https://svn.nmap.org/nmap/LICENSE
--- meta-oe/licenses/NPSL | 583 +++++++++++++++++++++ meta-oe/recipes-security/nmap/nmap_7.95.bb | 2 +- 2 files changed, 584 insertions(+), 1 deletion(-) create mode 100644 meta-oe/licenses/NPSL
meta-oe/licenses/NPSL new file +583 -0
@@ -0,0 +1,583 @@ +Nmap Public Source License Version 0.95 +For more information on this license, see https://nmap.org/npsl/ + +0. Preamble + +The intent of this license is to establish freedom to share and change +the software regulated by this license under the open source model. It +also includes a Contributor Agreement and disclaims any warranty on +Covered Software. Companies wishing to use or incorporate Covered +Software within their own products may find that our Nmap OEM product +(https://nmap.org/oem/) better suits their needs. Open source +developers who wish to incorporate parts of Covered Software into free +software with conflicting licenses may write Licensor to request a +waiver of terms. + +If the Nmap Project (directly or through one of its commercial +licensing customers) has granted you additional rights to Nmap or Nmap +OEM, those additional rights take precedence where they conflict with +the terms of this license agreement. + +This License represents the complete agreement concerning subject +matter hereof. It contains the license terms themselves, but not the +reasoning behind them or detailed explanations. For further +information about this License, see https://nmap.org/npsl/ . That page +makes a good faith attempt to explain this License, but it does not +and can not modify its governing terms in any way. + +1. Definitions + +* "Contribution" means any work of authorship, including the original + version of the Work and any modifications or additions to that Work + or Derivative Works thereof, that is intentionally submitted to + Licensor by the copyright owner or by an individual or Legal Entity + authorized to submit on behalf of the copyright owner. For the + purposes of this definition, "submitted" means any form of + electronic, verbal, or written communication sent to the Licensor or + its representatives, including but not limited to communication on + electronic mailing lists, source code control systems, web sites, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a + Contribution." + +* "Contributor" means Licensor and any individual or Legal Entity on + behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +* "Covered Software" means the work of authorship, whether in Source + or Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + +* "Derivative Work" or "Collective Work" means any work, whether in + Source or Object form, that is based on (or derived from) the Work + and for which the editorial revisions, annotations, elaborations, or + other modifications represent, as a whole, an original work of + authorship. It includes software as described in Section 3 of this + License. + +* "Executable" means Covered Software in any form other than Source Code. + +* "Externally Deploy" means to Deploy the Covered Software in any way + that may be accessed or used by anyone other than You, used to + provide any services to anyone other than You, or used in any way to + deliver any content to anyone other than You, whether the Covered + Software is distributed to those parties, made available as an + application intended for use over a computer network, or used to + provide services or otherwise deliver content to anyone other than + You. + +* "GPL" means the GNU General Public License Version 2, as published + by the Free Software Foundation and provided in Exhibit A. + +* "Legal Entity" means the union of the acting entity and all other + entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + +* "License" means this document, including Exhibits. + +* "Licensor" means Nmap Software LLC and its successors and assigns. + +* "Main License Body" means all of the terms of this document, + excluding Exhibits. + +* "You" (or "Your") means an individual or Legal Entity exercising + permissions granted by this License. + +2. General Terms + +Covered Software is licensed to you under the terms of the GPL +(Exhibit A), with all the exceptions, clarifications, and additions +noted in this Main License Body. Where the terms in this Main License +Body conflict in any way with the GPL, the Main License Body terms +shall take precedence. These additional terms mean that You may not +distribute Covered Software or Derivative Works under plain GPL terms +without special permission from Licensor. + +You are not required to accept this License. However, nothing else +grants You permission to use, copy, modify or distribute the software +or its derivative works. These actions are prohibited by law if You do +not accept this License. Therefore, by modifying, copying or +distributing the software (or any work based on the software), You +indicate your acceptance of this License to do so, and all its terms +and conditions. In addition, you agree to the terms of this License by +clicking the Accept button or downloading the software. + +3. Derivative Works + +This License (including the GPL portion) places important restrictions +on derived works. Licensor interprets that term quite broadly. To +avoid any misunderstandings, we consider software to constitute a +"derivative work" of Covered Software for the purposes of this license +if it does any of the following: + +* Integrates source code from Covered Software + +* Reads or includes Covered Software data files, such as nmap-os-db or + nmap-service-probes. + +* Is designed specifically to execute Covered Software and parse the + results (as opposed to typical shell or execution-menu apps, which + will execute anything you tell them to). + +* Includes Covered Software in a proprietary executable installer. The + installers produced by InstallShield are an example of + this. Including Nmap with other software in compressed or archival + form does not trigger this provision, provided appropriate open + source decompression or de-archiving software is widely available + for no charge. For the purposes of this license, an installer is + considered to include Covered Software even if it actually retrieves + a copy of Covered Software from another source during runtime (such + as by downloading it from the Internet). + +* Links (statically or dynamically) to a library which does any of the + above + +* Executes a helper program, module, or script to do any of the above. + + +This list is not exclusive, but is meant to clarify Licensor's +intentions with some common examples. Distribution of any works which +meet these criteria (and that also choose to accept this license to +benefit from the rights granted herein) must be under the terms of +this license (including this Main License Body and GPL), with no +additional conditions or restrictions. They must abide by all +restrictions that the GPL places on derivative or collective works, +including the requirements for distributing their source code and +allowing royalty-free redistribution. + +Licensor does not purport to control through this license any software +which does not require the rights granted herein (such as rights to +redistribute and/or incorporate Covered Software executables and +source code). In particular, many software packages include the +ability to parse Covered Software results provided by an end user or +to execute Covered Software that end user may have already installed +on their system. To the extent that copyright doctrines such as fair +use allow their practices without the need to exercise any rights +granted by this license, vendors and distributors of such software are +not bound by our definition of derivative works or any other clauses +in this license. + +4. Contributor Agreement (Grant of Copyright and Patent Licenses) + +Each Contributor hereby grants to Licensor a perpetual, worldwide, +non-exclusive, no-charge, royalty-free, irrevocable copyright license +to reproduce, prepare Derivative Works of, publicly display, publicly +perform, sublicense, and distribute the Contribution and such +Derivative Works in Source or Object form. + +Each Contributor hereby grants to You and Licensor a perpetual, +worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except +as stated in this section) patent license to make, have made, use, +offer to sell, sell, import, and otherwise transfer the Work, where +such license applies only to those patent claims licensable by such +Contributor that are necessarily infringed by their Contribution(s) +alone or by combination of their Contribution(s) with the Work to +which such Contribution(s) was submitted. If You institute patent +litigation against any entity (including a cross-claim or counterclaim +in a lawsuit) alleging that the Work or a Contribution incorporated +within the Work constitutes direct or contributory patent +infringement, then any patent licenses granted to You under this +License for that Work shall terminate as of the date such litigation +is filed. + +Contributors may impose different terms on their Contributions by +stating those terms in writing at the time the Contribution is +made. Contributors may withhold all authority from Licensor to +incorporate submissions by conspicuously marking or otherwise +designating them in writing as "Not a Contribution" at the time they +make the work available. + +5. Disclaimer of Warranty and Limitation of Liability + +Unless required by applicable law or agreed to in writing, Licensor +provides the Covered Software (and each Contributor provides its +Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, either express or implied, including, without limitation, +any warranties or conditions of TITLE, NON-INFRINGEMENT, +MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely +responsible for determining the appropriateness of using or +redistributing the Covered Software and assume any risks associated +with Your exercise of permissions under this License. + +In no event and under no legal theory, whether in tort (including +negligence), contract, or otherwise, unless required by applicable law +(such as deliberate and grossly negligent acts) or agreed to in +writing, shall any Contributor be liable to You for damages, including +any direct, indirect, special, incidental, or consequential damages of +any character arising as a result of this License or out of the use or +inability to use the Covered Software (including but not limited to +damages for loss of goodwill, work stoppage, computer failure or +malfunction, or any and all other commercial damages or losses), even +if such Contributor has been advised of the possibility of such +damages. + +6. External Deployment + +If You Externally Deploy Covered Software, such as hosting a website +designed to execute Nmap scans for users, the system and its +documentation must, if technically feasible, prominently display a +notice stating that the system uses the Nmap Security Scanner to +perform its tasks. If technically feasible, the notice must contain a +hyperlink to https://nmap.org/ or provide that URL in the text. + +7. Trademarks + +This License does not grant permission to use the trade names, +trademarks, service marks, or product names of the Licensor, except as +required for reasonable and customary use in describing the origin of +the Covered Software. + +8. Termination for Patent Action + +This License shall terminate automatically and You may no longer +exercise any of the rights granted to You by this License as of the +date You commence an action, including a cross-claim or counterclaim, +against Licensor or any licensee alleging that the Covered Software +infringes a patent. This termination provision shall not apply for an +action alleging patent infringement by combinations of the Covered +Software with other software or hardware. + +9. Jurisdiction, Venue and Governing Law + +This License is governed by the laws of the State of Washington and +the intellectual property laws of the United States of America, +excluding the jurisdiction's conflict-of-law provisions. Any +litigation or other dispute resolution between You and Licensor +relating to this License shall take place in the Northern District of +California, and You and Licensor hereby consent to the personal +jurisdiction of, and venue in, the state and federal courts within +that District with respect to this License. The application of the +United Nations Convention on Contracts for the International Sale of +Goods is expressly excluded. + +10. Npcap and the Official Nmap Windows Builds + +The official Windows Nmap builds includes the Npcap driver and library +(https://npcap.com) for packet capture and transmission on +Windows. That software is under its own separate license terms rather +than this license. Therefore anyone wishing to use or redistribute +both pieces of software must comply with both licenses. Since Npcap +does not allow for redistribution without special permission, the +official Nmap Windows builds which include Npcap may not be +redistributed without special permission. Such permission can be +requested by email to [email protected]. + +11. Permission to link with OpenSSL + +Licensor grants permission to link Covered Software with any version +of the OpenSSL library from OpenSSL.Org, and distribute linked +combinations including the two (assuming such distribution is +otherwise allowed by this agreement). You must obey this License in +all respects for all code used other than OpenSSL. + +12. Waiver; Construction + +Failure by Licensor or any Contributor to enforce any provision of +this License will not be deemed a waiver of future enforcement of that +or any other provision. Any law or regulation which provides that the +language of a contract shall be construed against the drafter will not +apply to this License. + +13. Enforceability + +If any provision of this License is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this License, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable. + +Exhibit A. The GNU General Public License Version 2 +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. +Preamble + +The licenses for most software are designed to take away your freedom +to share and change it. By contrast, the GNU General Public License is +intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + +We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, +we want its recipients to know that what they have is not the +original, so that any problems introduced by others will not reflect +on the original authors' reputations. + +Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at +all. + +The precise terms and conditions for copying, distribution and +modification follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a +notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the Program +(independent of having been made by running the Program). Whether that +is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously +and appropriately publish on each copy an appropriate copyright notice +and disclaimer of warranty; keep intact all the notices that refer to +this License and to the absence of any warranty; and give any other +recipients of the Program a copy of this License along with the +Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a +fee. + +2. You may modify your copy or copies of the Program or any portion of +it, thus forming a work based on the Program, and copy and distribute +such modifications or work under the terms of Section 1 above, +provided that you also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices +stating that you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in +whole or in part contains or is derived from the Program or any part +thereof, to be licensed as a whole at no charge to all third parties +under the terms of this License. + +c) If the modified program normally reads commands interactively when +run, you must cause it, when started running for such interactive use +in the most ordinary way, to print or display an announcement +including an appropriate copyright notice and a notice that there is +no warranty (or else, saying that you provide a warranty) and that +users may redistribute the program under these conditions, and telling +the user how to view a copy of this License. (Exception: if the +Program itself is interactive but does not normally print such an +announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable +source code, which must be distributed under the terms of Sections 1 +and 2 above on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, +to give any third party, for a charge no more than your cost of +physically performing source distribution, a complete machine-readable +copy of the corresponding source code, to be distributed under the +terms of Sections 1 and 2 above on a medium customarily used for +software interchange; or, + +c) Accompany it with the information you received as to the offer to +distribute corresponding source code. (This alternative is allowed +only for noncommercial distribution and only if you received the +program in object code or executable form with such an offer, in +accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt otherwise +to copy, modify, sublicense or distribute the Program is void, and +will automatically terminate your rights under this License. However, +parties who have received copies, or rights, from you under this +License will not have their licenses terminated so long as such +parties remain in full compliance. + +5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted +herein. You are not responsible for enforcing compliance by third +parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new +versions of the General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Program does not specify a +version number of this License, you may choose any version ever +published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the +author to ask for permission. For software which is copyrighted by the +Free Software Foundation, write to the Free Software Foundation; we +sometimes make exceptions for this. Our decision will be guided by the +two goals of preserving the free status of all derivatives of our free +software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE +LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS +AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF +ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + +END OF TERMS AND CONDITIONS + +[For brevity, we've cut out the GPL's final section on "How to Apply +These Terms to Your New Program", but you can find that at +https://www.gnu.org/licenses/gpl-2.0.html#SEC4 ] +
meta-oe/recipes-security/nmap/nmap_7.95.bb +1 -1
@@ -1,7 +1,7 @@ SUMMARY = "network auditing tool" DESCRIPTION = "Nmap (Network Mapper) is a free and open source (license) utility for network discovery and security auditing.\nGui support via appending to IMAGE_FEATURES x11-base in local.conf" SECTION = "security" -LICENSE = "GPL-2.0-only" +LICENSE = "NPSL" LIC_FILES_CHKSUM = "file://LICENSE;md5=895af8527fe4bcb72f271fd1841fd2f6"
PATCH 17/22 tokyocabinet: fix license
In reply to Ankur TyagiFrom: Gyorgy Sarvari <[email protected]>
The application is distributed under the LGPL license, not GPL.
--- meta-oe/recipes-support/tokyocabinet/tokyocabinet_1.4.48.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/tokyocabinet/tokyocabinet_1.4.48.bb +1 -1
@@ -12,7 +12,7 @@ Records are organized in hash table, B+ tree, or fixed-length array." HOMEPAGE = "http://fallabs.com/tokyocabinet/" -LICENSE = "GPL-2.0-only" +LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" SRC_URI = "http://fallabs.com/tokyocabinet/${BP}.tar.gz \
PATCH 18/22 libusbgx: fix example gadget start
In reply to Ankur TyagiFrom: Denis OSTERLAND-HEIM <[email protected]>
From variables docu:
Quoted 2 lines
Setting it to "0" does not disable inhibition.
Only the empty string will disable inhibition.
That means in case of examples enabled we need ""
and if not "1" to disable update-rc.d.
--- meta-oe/recipes-support/libusbgx/libusbgx_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libusbgx/libusbgx_git.bb +1 -1
@@ -35,7 +35,7 @@ SYSTEMD_AUTO_ENABLE:${PN}-examples = "${@bb.utils.contains('PACKAGECONFIG', 'exa INITSCRIPT_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'examples', '${PN}-examples', '', d)}" INITSCRIPT_NAME = "usbgx" INITSCRIPT_PARAMS = "defaults" -INHIBIT_UPDATERCD_BBCLASS = "${@bb.utils.contains('PACKAGECONFIG', 'examples', '1', '0', d)}" +INHIBIT_UPDATERCD_BBCLASS = "${@bb.utils.contains('PACKAGECONFIG', 'examples', '', '1', d)}" do_install:append() { install -Dm 0755 ${UNPACKDIR}/gadget-start ${D}${bindir}/gadget-start
PATCH 19/22 daemonize: update to latest revision
In reply to Ankur TyagiFrom: Gyorgy Sarvari <[email protected]>
Drop a patch that has been incorporated into this version.
(That is also the changelog - the only change is the accepted patch)
--- ...-many-arguments-to-function-write-er.patch | 46 ------------------- .../daemonize/daemonize_git.bb | 3 +- 2 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 meta-oe/recipes-support/daemonize/daemonize/0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch
meta-oe/recipes-support/daemonize/daemonize/0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch deleted +0 -46
@@ -1,46 +0,0 @@ -From c47fdcc0a900aea93b1967c20db42743171ab1ac Mon Sep 17 00:00:00 2001 -From: "mark.yang" <[email protected]> -Date: Thu, 27 Mar 2025 16:46:42 +0900 -Subject: [PATCH] fix getopt.c too many arguments to function 'write' error in - gcc-15.0.1 - -In the original code, write() was declared as 'extern int write();', -which is interpreted as a function taking no parameters. -This caused errors when actually calling it with 3 parameters. -The current fix to declare it as 'extern int write(int, const void *, unsigned);' -is the correct solution. -This properly defines the write function to accept 3 parameters. - -../git/getopt.c: In function 'x_getopt': -../git/getopt.c:51:16: error: too many arguments to function 'write'; expected 0, have 3 - 51 | (void) write(2, argv[0], (unsigned)strlen(argv[0]));\ - | ^~~~~ ~ -../git/getopt.c:78:17: note: in expansion of macro 'ERR' - 78 | ERR(": illegal option -- ", c); - | ^~~ -../git/getopt.c:48:20: note: declared here - 48 | extern int write();\ - | ^~~~~ - -Upstream-Status: Submitted [https://github.com/bmc/daemonize/pull/37] -Signed-off-by: mark.yang <[email protected]> ---- - getopt.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/getopt.c b/getopt.c -index 3f37c55..f298da7 100644 ---- a/getopt.c -+++ b/getopt.c -@@ -45,7 +45,7 @@ - #include <string.h> - - #define ERR(s, c) if(x_opterr){\ -- extern int write();\ -+ extern int write(int, const void *, unsigned);\ - char errbuf[2];\ - errbuf[0] = c; errbuf[1] = '\n';\ - (void) write(2, argv[0], (unsigned)strlen(argv[0]));\ --- -2.34.1 -
meta-oe/recipes-support/daemonize/daemonize_git.bb +1 -2
@@ -6,10 +6,9 @@ PV = "1.7.8" inherit autotools -SRCREV = "18869a797dab12bf1c917ba3b4782fef484c407c" +SRCREV = "58237626e6999e68b9583ed1b4b08136f118f68c" SRC_URI = " \ git://github.com/bmc/daemonize.git;branch=master;protocol=https \ - file://0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch \ " S = "${WORKDIR}/git"
PATCH 20/22 imagemagick: guard sed operations in do_install for optional files
In reply to Ankur TyagiFrom: Sana Kazi <[email protected]>
When PACKAGECONFIG options like 'cxx' 'webp' and 'xml' are disabled, certain files such as Magick++-config.im7, configure.xml, or delegates.xml are not installed. Unconditionally running sed
on these files results in errors during do_install
Error:
sed: can't read .../image/usr/bin/Magick++-config.im7: No such file or directory
--- .../imagemagick/imagemagick_7.1.1-43.bb | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-)
meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb +17 -6
@@ -37,13 +37,24 @@ PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 libxext libxt" PACKAGECONFIG[xml] = "--with-xml,--without-xml,libxml2" do_install:append:class-target() { - for file in MagickCore-config.im7 MagickWand-config.im7 Magick++-config.im7; do - sed -i 's,${STAGING_DIR_TARGET},,g' ${D}${bindir}/"$file" + for file in MagickCore-config.im7 MagickWand-config.im7; do + sed -i 's,${STAGING_DIR_TARGET},,g' "${D}${bindir}/$file" done - sed -i 's,${S},,g' ${D}${libdir}/ImageMagick-${BASE_PV}/config-Q16HDRI/configure.xml - sed -i 's,${B},,g' ${D}${libdir}/ImageMagick-${BASE_PV}/config-Q16HDRI/configure.xml - sed -i 's,${RECIPE_SYSROOT},,g' ${D}${libdir}/ImageMagick-${BASE_PV}/config-Q16HDRI/configure.xml - sed -i 's,${HOSTTOOLS_DIR},${bindir},g' ${D}${sysconfdir}/ImageMagick-7/delegates.xml + + if ${@bb.utils.contains('PACKAGECONFIG', 'cxx', 'true', 'false', d)}; then + sed -i 's,${STAGING_DIR_TARGET},,g' "${D}${bindir}/Magick++-config.im7" + fi + + if ${@bb.utils.contains('PACKAGECONFIG', 'xml', 'true', 'false', d)}; then + xml_config="${D}${libdir}/ImageMagick-${BASE_PV}/config-Q16HDRI/configure.xml" + sed -i 's,${S},,g' "$xml_config" + sed -i 's,${B},,g' "$xml_config" + sed -i 's,${RECIPE_SYSROOT},,g' "$xml_config" + fi + + if ${@bb.utils.contains_any('PACKAGECONFIG', 'webp openjpeg', 'true', 'false', d)}; then + sed -i 's,${HOSTTOOLS_DIR},${bindir},g' "${D}${sysconfdir}/ImageMagick-7/delegates.xml" + fi } FILES:${PN} += "${libdir}/ImageMagick-${BASE_PV}/config-Q16* \
PATCH 21/22 libcanberra: Fix sound not playing on Colibri iMX8X
In reply to Ankur TyagiFrom: Patrick Zacharias <[email protected]>
Canberra does not specify a buffer size, which leads to ALSA rejecting the settings. By specfiying a buffer time of 500ms and a period time with a fourth of that, an appropriate buffer size can be calculated.
This behaviour is mimicked from aplay for compatibility.
--- ...udio-buffer-size-for-a-time-of-500ms.patch | 42 +++++++++++++++++++ .../libcanberra/libcanberra_0.30.bb | 1 + 2 files changed, 43 insertions(+) create mode 100644 meta-oe/recipes-support/libcanberra/files/0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch
meta-oe/recipes-support/libcanberra/files/0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch new file +42 -0
@@ -0,0 +1,42 @@ +From 86488a7fc209ac08dd92c9d50a77e3330e7aedd9 Mon Sep 17 00:00:00 2001 +From: Patrick Zacharias <[email protected]> +Date: Thu, 7 Nov 2024 14:03:29 +0100 +Subject: [PATCH] Determine audio buffer size for a time of 500ms + +On some hardware like the SGTL5000, not specifying a buffer size +results to EINVAL being returned. + +This code sets the buffer time to 500ms and the period time to a fourth of that, +or whatever is nearest to that. + +Upstream-Status: Pending +--- + src/alsa.c | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +diff --git a/src/alsa.c b/src/alsa.c +index bebcc4a..ac26578 100644 +--- a/src/alsa.c ++++ b/src/alsa.c +@@ -258,6 +258,21 @@ static int open_alsa(ca_context *c, struct outstanding *out) { + if ((ret = snd_pcm_hw_params_set_channels(out->pcm, hwparams, ca_sound_file_get_nchannels(out->file))) < 0) + goto finish; + ++ unsigned int buffer_time = 0; ++ if ((ret = snd_pcm_hw_params_get_buffer_time_max(hwparams, &buffer_time, 0)) < 0) ++ goto finish; ++ ++ // Cap the buffer time to 500ms ++ if (buffer_time > 500000) ++ buffer_time = 500000; ++ ++ unsigned int period_time = buffer_time / 4; ++ if ((ret = snd_pcm_hw_params_set_period_time_near(out->pcm, hwparams, &period_time, 0)) < 0) ++ goto finish; ++ ++ if ((ret = snd_pcm_hw_params_set_buffer_time_near(out->pcm, hwparams, &buffer_time, 0)) < 0) ++ goto finish; ++ + if ((ret = snd_pcm_hw_params(out->pcm, hwparams)) < 0) + goto finish; +
meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb +1 -0
@@ -13,6 +13,7 @@ SRC_URI = " \ file://0001-build-gtk-and-gtk3-version-for-canberra_gtk_play.patch \ file://0001-gtk-Don-t-assume-all-GdkDisplays-are-GdkX11Displays-.patch \ file://0001-remove-dropped-templates.patch \ + file://0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch \ " SRC_URI[sha256sum] = "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72"
PATCH 22/22 libgpiod: update to v2.2.2
In reply to Ankur TyagiFrom: Bartosz Golaszewski <[email protected]>
This is a bugfix release addressing issues in tools and core library. No API changes.
---
.../libgpiod/{libgpiod_2.2.1.bb => libgpiod_2.2.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-support/libgpiod/{libgpiod_2.2.1.bb => libgpiod_2.2.2.bb} (98%)meta-oe/recipes-support/libgpiod/libgpiod_2.2.2.bb renamed from meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb +1 -1
@@ -13,7 +13,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:" SRC_URI += "file://gpio-manager.init" -SRC_URI[sha256sum] = "0e948049c309b87c220fb24ee0d605d7cd5b72f22376e608470903fffa2d4b18" +SRC_URI[sha256sum] = "7e3bff0209d75fbca2e9fcff1fd5f07cc58b543e129e08b6d4bb1e4a56cfec0d" # Enable all project features for ptest PACKAGECONFIG[tests] = " \