cheese: Require x11 distro feature
PATCH 1/18 cheese: Require x11 distro feature
libcanberra needs to be compiled with gtk3 and x11 support otherwise cheese fails to find libcanberra-gtk3 package which makes it hard depend upon x11
--- meta-gnome/recipes-gnome/cheese/cheese_44.1.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/cheese/cheese_44.1.bb +4 -1
@@ -5,7 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf" inherit gnomebase gobject-introspection vala itstool gtk-icon-cache gsettings gnome-help gtk-doc -REQUIRED_DISTRO_FEATURES = "opengl" +# x11 is needed due to libcanberra dependency which does not compile +# gtk3 support with out it and cheese look for +# | aarch64-yoe-linux-ld.lld: error: unable to find library -lcanberra-gtk3 +REQUIRED_DISTRO_FEATURES = "opengl x11" SRC_URI += "file://0001-libcheese-Add-GtkWidget-cast-to-avoid-an-incompatibl.patch"
PATCH 2/18 libcanberra: Upgrade to 0.30-20
* Revert "Disable tdb feature on loong64 for bootstrapping"
---
.../{libcanberra_0.30-19.bb => libcanberra_0.30-20.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-support/libcanberra/{libcanberra_0.30-19.bb => libcanberra_0.30-20.bb} (97%)meta-oe/recipes-support/libcanberra/libcanberra_0.30-20.bb renamed from meta-oe/recipes-support/libcanberra/libcanberra_0.30-19.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI = " \ git://salsa.debian.org/gnome-team/libcanberra;protocol=https;branch=debian/latest;tag=debian/${PV} \ file://0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch \ " -SRCREV = "d1ed1ac0c9950ed3908c04abb7c4a6de5c51ed94" +SRCREV = "47d67f43c58af36143060888fc8e69a9cb0eddea" EXTRA_OECONF = "\ --enable-null \
PATCH 3/18 systemd-netlogd: Upgrade to 1.4.5 release
In reply to Khem RajFix build on 32-bit with 64-bit time_t
Fix build with C23 on
For full details:
https://github.com/systemd/systemd-netlogd/releases/tag/v1.4.5
---
...tness-for-pointer-variables-to-refer.patch | 60 +++++++++++++++++++
...logd_1.4.4.bb => systemd-netlogd_1.4.5.bb} | 6 +-
2 files changed, 64 insertions(+), 2 deletions(-)
create mode 100644 meta-oe/recipes-support/systemd-netlogd/systemd-netlogd/0001-Fix-const-correctness-for-pointer-variables-to-refer.patch
rename meta-oe/recipes-support/systemd-netlogd/{systemd-netlogd_1.4.4.bb => systemd-netlogd_1.4.5.bb} (83%)meta-oe/recipes-support/systemd-netlogd/systemd-netlogd/0001-Fix-const-correctness-for-pointer-variables-to-refer.patch new file +60 -0
@@ -0,0 +1,60 @@ +From 515e23b37ad1400bfb73797771c4f0fd78655328 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Wed, 15 Apr 2026 10:52:05 -0700 +Subject: [PATCH] Fix const-correctness for pointer variables to referred + strings + +Mark pointer variables 'e' as 'const char *' in +config_parse_netlog_remote_address,file_in_same_dir, and +socket_address_parse, since they point to memory they do not +own or modify. + +Upstream-Status: Submitted [https://github.com/systemd/systemd-netlogd/pull/148] +Signed-off-by: Khem Raj <[email protected]> +--- + src/netlog/netlog-conf.c | 2 +- + src/share/path-util.c | 3 ++- + src/share/socket-util.c | 3 ++- + 3 files changed, 5 insertions(+), 3 deletions(-) + +diff --git a/src/netlog/netlog-conf.c b/src/netlog/netlog-conf.c +index a4cf0da..59bdd23 100644 +--- a/src/netlog/netlog-conf.c ++++ b/src/netlog/netlog-conf.c +@@ -22,7 +22,7 @@ int config_parse_netlog_remote_address(const char *unit, + void *data, + void *userdata) { + Manager *m = userdata; +- char *e; ++ const char *e; + int r; + + assert(filename); +diff --git a/src/share/path-util.c b/src/share/path-util.c +index dda7ec6..ad6f24a 100644 +--- a/src/share/path-util.c ++++ b/src/share/path-util.c +@@ -327,7 +327,8 @@ bool path_is_safe(const char *p) { + } + + char *file_in_same_dir(const char *path, const char *filename) { +- char *e, *ret; ++ const char *e; ++ char *ret; + size_t k; + + assert(path); +diff --git a/src/share/socket-util.c b/src/share/socket-util.c +index ae33338..5a6284b 100644 +--- a/src/share/socket-util.c ++++ b/src/share/socket-util.c +@@ -33,7 +33,8 @@ + #include "util.h" + + int socket_address_parse(SocketAddress *a, const char *s) { +- char *e, *n; ++ const char *e; ++ char *n; + unsigned u; + int r; +
meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.5.bb renamed from meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb +4 -2
@@ -3,8 +3,10 @@ SUMMARY = "Forwards messages from the journal to other hosts over the network us LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "git://github.com/systemd/systemd-netlogd.git;protocol=https;branch=main" -SRCREV = "b03cc3b1a75048c7cf19467d8918a4b7320767e6" +SRC_URI = "git://github.com/systemd/systemd-netlogd.git;protocol=https;branch=main;tag=v${PV} \ + file://0001-Fix-const-correctness-for-pointer-variables-to-refer.patch \ + " +SRCREV = "20534091417686d1185acb3f29e93944d8663c4b" inherit meson systemd pkgconfig useradd features_check
PATCH 4/18 libvarlink: Fix build with C23 support in glibc
In reply to Khem Raj--- ...use-const-for-strchr-return-pointers.patch | 96 +++++++++++++++++++ .../libvarlink/libvarlink_24.0.1.bb | 4 +- 2 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/libvarlink/libvarlink/0001-transport-tool-use-const-for-strchr-return-pointers.patch
meta-oe/recipes-support/libvarlink/libvarlink/0001-transport-tool-use-const-for-strchr-return-pointers.patch new file +96 -0
@@ -0,0 +1,96 @@ +From 27e4f4504b3c60356b9507e926aae2b82ba47275 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Wed, 15 Apr 2026 11:10:01 -0700 +Subject: [PATCH] transport,tool: use const for strchr return pointers + +Fixes errors seen after c23 implemented in glibc + +lib/transport-device.c:13:14: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] + 13 | parm = strchr(address, ';'); + | ^ ~~~~~~~~~~~~~~~~~~~~ +1 error generated. + +Upstream-Status: Submitted [https://github.com/varlink/libvarlink/pull/85] +Signed-off-by: Khem Raj <[email protected]> +--- + lib/transport-device.c | 2 +- + lib/transport-tcp.c | 4 ++-- + lib/transport-unix.c | 2 +- + tool/command-format.c | 2 +- + tool/command-info.c | 2 +- + 5 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/lib/transport-device.c b/lib/transport-device.c +index 0b8cec5..205eac4 100644 +--- a/lib/transport-device.c ++++ b/lib/transport-device.c +@@ -7,7 +7,7 @@ + #include <fcntl.h> + + static int strip_parameters(const char *address, char **devicep) { +- char *parm; ++ const char *parm; + _cleanup_(freep) char *device = NULL; + + parm = strchr(address, ';'); +diff --git a/lib/transport-tcp.c b/lib/transport-tcp.c +index 92a0e7b..fff2379 100644 +--- a/lib/transport-tcp.c ++++ b/lib/transport-tcp.c +@@ -10,7 +10,7 @@ + #include <sys/socket.h> + + static int strip_parameters(const char *address, char **hostp) { +- char *parm; ++ const char *parm; + _cleanup_(freep) char *host = NULL; + + parm = strchr(address, ';'); +@@ -34,7 +34,7 @@ static void freeaddrinfop(struct addrinfo **ai) { + static int resolve_addrinfo(const char *address, struct addrinfo **resultp) { + _cleanup_(freep) char *host = NULL; + char *endptr; +- char *port; ++ const char *port; + struct addrinfo hints = { + .ai_family = AF_UNSPEC, + .ai_socktype = SOCK_STREAM, +diff --git a/lib/transport-unix.c b/lib/transport-unix.c +index 5dc3853..2414b29 100644 +--- a/lib/transport-unix.c ++++ b/lib/transport-unix.c +@@ -10,7 +10,7 @@ + #include <unistd.h> + + static int strip_parameters(const char *address, char **pathp) { +- char *parm; ++ const char *parm; + _cleanup_(freep) char *path = NULL; + + parm = strchr(address, ';'); +diff --git a/tool/command-format.c b/tool/command-format.c +index 6932bc4..0f5ef8c 100644 +--- a/tool/command-format.c ++++ b/tool/command-format.c +@@ -155,7 +155,7 @@ static long format_run(Cli *UNUSED(cli), int argc, char **argv) { + static long format_complete(Cli *cli, int argc, char **UNUSED(argv), const char *current) { + _cleanup_(freep) char *prefix = NULL; + DIR *dir; +- char *p; ++ const char *p; + + if (argc != 1) + return 0; +diff --git a/tool/command-info.c b/tool/command-info.c +index 571b6fd..9d252f7 100644 +--- a/tool/command-info.c ++++ b/tool/command-info.c +@@ -137,7 +137,7 @@ static long info_run(Cli *cli, int argc, char **argv) { + static long info_complete(Cli *UNUSED(cli), int argc, char **UNUSED(argv), const char *current) { + _cleanup_(freep) char *prefix = NULL; + DIR *dir; +- char *p; ++ const char *p; + + if (argc != 1) + return 0;
meta-oe/recipes-support/libvarlink/libvarlink_24.0.1.bb +3 -1
@@ -6,7 +6,9 @@ SECION = "devel" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" -SRC_URI = "git://github.com/varlink/libvarlink.git;protocol=https;branch=master;tag=v${PV}" +SRC_URI = "git://github.com/varlink/libvarlink.git;protocol=https;branch=master;tag=v${PV} \ + file://0001-transport-tool-use-const-for-strchr-return-pointers.patch \ + " SRCREV = "2ad4ec7ca62e148dbf0ad98646ec68c2e7e8a88e" inherit meson bash-completion lib_package
PATCH 5/18 magic-enum: Upgrade to latest
In reply to Khem Raj--- meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb +2 -1
@@ -16,7 +16,8 @@ SRC_URI = " \ file://run-ptest \ " -SRCREV = "e046b69a3736d314fad813e159b1c192eaef92cd" +SRCREV = "715b442682f3cac6e04636d8beaf4104c20bac23" +PV .= "+git" inherit cmake ptest
PATCH 6/18 dhcp-relay: disable C23 support to fix configure check
In reply to Khem RajSet ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.
--- meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb +1 -1
@@ -39,7 +39,7 @@ BIND_EXTRA_CONFIG = "\ --host=${HOST_SYS} \ --target=${TARGET_SYS} \ " - +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" EXTRA_OECONF = "--with-bind-extra-config="${BIND_EXTRA_CONFIG}" \ --enable-paranoia \ --disable-static \
PATCH 7/18 ruli: disable C23 support to fix build
In reply to Khem RajAvoid potential build failures as the package
is not yet fully ported to support C23 standard.
--- meta-networking/recipes-support/ruli/ruli_0.36.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/ruli/ruli_0.36.bb +1 -1
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "11d32def5b514748fbd9ea8c88049ae99e1bb358efc74eb91a4d268a39 # -shared is passed via CFLAGS, clang complains since its used during linking # and not compiling -CFLAGS:append:toolchain-clang = " -Wno-error=unused-command-line-argument" +CFLAGS:append:toolchain-clang = " -std=gnu11 -Wno-error=unused-command-line-argument" EXTRA_OEMAKE = 'CC="${CC}" CPPFLAGS="${CFLAGS}" OOP_BASE_DIR="${STAGING_EXECPREFIXDIR}" \ INSTALL_BASE_DIR="${D}${exec_prefix}" \
PATCH 8/18 dante,openflow,linux-atm: disable C23 support to fix configure check
In reply to Khem RajSet ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.
--- meta-networking/recipes-protocols/dante/dante_1.4.4.bb | 2 ++ meta-networking/recipes-protocols/openflow/openflow_git.bb | 2 ++ meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | 2 ++ 3 files changed, 6 insertions(+)
meta-networking/recipes-protocols/dante/dante_1.4.4.bb +2 -0
@@ -25,6 +25,8 @@ EXTRA_OECONF += "--without-gssapi --sbindir=${bindir}" DEPENDS += "flex-native bison-native libpam libtirpc" inherit autotools-brokensep features_check +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + CPPFLAGS += "-P" CFLAGS += "-I${STAGING_INCDIR}/tirpc" LIBS += "-ltirpc"
meta-networking/recipes-protocols/openflow/openflow_git.bb +2 -0
@@ -40,6 +40,8 @@ DEPENDS:append:libc-musl = " libexecinfo" inherit autotools-brokensep pkgconfig +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + do_configure:prepend() { ./boot.sh }
meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb +2 -0
@@ -32,6 +32,8 @@ file://COPYING.LGPL;md5=6e29c688d912da12b66b73e32b03d812" inherit autotools pkgconfig +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + EXTRA_OEMAKE += "ROOTPREFIX=${root_prefix}" FILES:${PN} += "${nonarch_base_libdir}/firmware"
PATCH 9/18 sthttpd: disable C23 support to fix configure check
In reply to Khem RajSet ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.
--- meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb +2 -0
@@ -19,6 +19,8 @@ UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+).tar.gz" inherit autotools update-rc.d systemd update-alternatives +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + ALTERNATIVE_PRIORITY = "100" ALTERNATIVE:${PN}-doc = "htpasswd.1" ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1"
PATCH 10/18 audiofile: disable C23 support to fix configure check
In reply to Khem RajSet ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.
Drop enforcing -std=c++14 as thats no longer needed
--- meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb +1 -1
@@ -30,7 +30,7 @@ SRC_URI[sha256sum] = "ea2449ad3f201ec590d811db9da6d02ffc5e87a677d06b92ab15363d8c inherit autotools lib_package pkgconfig ptest -CXXFLAGS += "-std=c++14" +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" DEPENDS = " \ asciidoc-native \
PATCH 11/18 meta-oe/recipes: disable C23 support to fix configure check
In reply to Khem RajSet ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.
--- meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb | 2 +- meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb | 2 ++ meta-oe/recipes-extended/enscript/enscript_1.6.6.bb | 2 ++ meta-oe/recipes-extended/figlet/figlet_git.bb | 1 + meta-oe/recipes-extended/lprng/lprng_3.9.0.bb | 1 + meta-oe/recipes-extended/rsyslog/rsyslog_8.2512.0.bb | 1 + meta-oe/recipes-extended/zsync/zsync-curl_git.bb | 2 ++ meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb | 3 +++ meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb | 1 + 9 files changed, 14 insertions(+), 1 deletion(-)
meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb +1 -1
@@ -15,7 +15,7 @@ SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557" COMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64).*-linux*" - +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" EXTRA_OECONF += "--enable-largefile --with-system-luajit --with-system-ck --without-gcc-arch --with-lib-prefix=no" PACKAGECONFIG ??= "" PACKAGECONFIG[aio] = "--enable-aio,--disable-aio,libaio,"
meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb +2 -0
@@ -16,6 +16,8 @@ UPSTREAM_CHECK_REGEX = "Libmcrypt/(?P<pver>\d+(\.\d+)+)/" inherit autotools-brokensep gettext binconfig multilib_script +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + CFLAGS += "-Wno-error=implicit-int" do_configure() {
meta-oe/recipes-extended/enscript/enscript_1.6.6.bb +2 -0
@@ -19,6 +19,8 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ inherit autotools gettext +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + EXTRA_OECONF += "PERL='${USRBINPATH}/env perl'" SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb"
meta-oe/recipes-extended/figlet/figlet_git.bb +1 -0
@@ -10,5 +10,6 @@ SRCREV = "5bbcd7383a8c3a531299b216b0c734e1495c6db3" PV = "2.2.5+git" inherit autotools +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" BBCLASSEXTEND = "native nativesdk"
meta-oe/recipes-extended/lprng/lprng_3.9.0.bb +1 -0
@@ -10,6 +10,7 @@ UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lprng/files/lprng/" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" inherit autotools gettext +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost \ CHOWN=${base_bindir}/chown CHGRP=${base_bindir}/chgrp \
meta-oe/recipes-extended/rsyslog/rsyslog_8.2512.0.bb +1 -0
@@ -40,6 +40,7 @@ CVE_STATUS[CVE-2015-3243] = "fix-file-included: The shipped default rsyslog.conf inherit autotools pkgconfig systemd update-rc.d ptest +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" EXTRA_OECONF += "--enable-imfile-tests ${ATOMICS}" ATOMICS = "ap_cv_atomic_builtins_64=yes ap_cv_atomic_builtins=yes" ATOMICS:mipsarch = ""
meta-oe/recipes-extended/zsync/zsync-curl_git.bb +2 -0
@@ -15,6 +15,8 @@ UPSTREAM_CHECK_COMMITS = "1" inherit autotools +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + AUTOTOOLS_SCRIPT_PATH = "${S}/src" BBCLASSEXTEND = "native nativesdk"
meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb +3 -0
@@ -20,6 +20,9 @@ UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)" DEPENDS += "bison-native flex-native wget-native gawk-native" inherit autotools-brokensep update-alternatives + +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + ALTERNATIVE_PRIORITY = "50" ALTERNATIVE:${PN}-yang = " ietf-interfaces ietf-netconf-acm ietf-netconf-with-defaults ietf-netconf" ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang"
meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb +1 -0
@@ -50,6 +50,7 @@ EXTRA_OECONF = " \ --disable-farstream \ --disable-vv \ " +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" # CONFIG_ARGS is used to display build info. Replace full paths by reproducible # variables ($S, $WORKDIR)
PATCH 12/18 ruli: Delete -ansi and -pedantic from compiler commandline
In reply to Khem RajThe build fails because ruli is compiled with -ansi (which implies C89/C90), but glibc's memchr macro uses _Generic, a C11 feature. Clang treats this as an error via -Werror,-Wc11-extensions.
Fixes build with glibc 2.43+
| ruli_conf.c:86:12: error: '_Generic' is a C11 extension [-Werror,-Wc11-extensions] | 86 | if (!memchr(inbuf, '\0', LOAD_SEARCH_LIST_INBUFSZ)) | | ^
--- ...ake-space-for-flags-from-environment.patch | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-)
meta-networking/recipes-support/ruli/files/0001-Make-space-for-flags-from-environment.patch +15 -10
@@ -12,8 +12,6 @@ Signed-off-by: Khem Raj <[email protected]> src/Makefile | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) -diff --git a/sample/Makefile b/sample/Makefile -index 15cafd9..d83641f 100644 --- a/sample/Makefile +++ b/sample/Makefile @@ -35,9 +35,9 @@ ifeq ($(PLATFORM),SunOS)
@@ -50,13 +48,23 @@ index 15cafd9..d83641f 100644 %.o: %.c $(CC) $(ARCH) $(CPPFLAGS) $(CFLAGS) -c $< -diff --git a/src/Makefile b/src/Makefile -index 9b56b5e..39a5ea1 100644 --- a/src/Makefile +++ b/src/Makefile -@@ -45,7 +45,7 @@ endif +@@ -2,7 +2,7 @@ + # $Id: Makefile,v 1.57 2005/06/13 16:34:53 evertonm Exp $ + # - WARN = -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual \ +-#DEBUG += -DRULI_SRV_DEBUG ++#DEBUG += -DRULI_SRV_DEBUG + #DEBUG += -DRULI_HOST_DEBUG + #DEBUG += -DRULI_RES_DEBUG + #DEBUG += -DRULI_TXT_COMPARE_DEBUG +@@ -43,9 +43,9 @@ ifeq ($(PLATFORM),SunOS) + DEFINE_SOLARIS = -D_RULI_SOLARIS_ + endif + +-WARN = -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual \ ++WARN = -Wshadow -Wpointer-arith -Wcast-qual \ -Wcast-align -Wwrite-strings -Wredundant-decls -CC = gcc +CC ?= gcc
@@ -72,7 +80,7 @@ index 9b56b5e..39a5ea1 100644 LIBOBJ = ruli_isaac.o ruli_mem.o ruli_rand.o ruli_util.o ruli_list.o \ ruli_addr.o ruli_sock.o ruli_txt.o ruli_msg.o ruli_fsm.o \ ruli_res.o ruli_parse.o ruli_host.o ruli_srv.o ruli_conf.o \ -@@ -66,7 +66,7 @@ LIBOBJ = ruli_isaac.o ruli_mem.o ruli_rand.o ruli_util.o ruli_list.o \ +@@ -66,7 +66,7 @@ LIBOBJ = ruli_isaac.o ruli_mem.o ruli_ra ruli_getaddrinfo.o SHAREDOBJ = $(LIBOBJ:%.o=%.os) SONAME = libruli.so.4
@@ -90,6 +98,3 @@ index 9b56b5e..39a5ea1 100644 @echo @echo "REMINDER:" @echo "Add $(INSTALL_LIB_DIR) to your dynamic loader path:" --- -2.24.0 -
PATCH 13/18 eog: Update to 49.3
In reply to Khem RajTurn color management into packageconfig knob which is turned off by default as it needs x11 support.
---
meta-gnome/recipes-gnome/eog/{eog_49.1.bb => eog_49.3.bb} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
rename meta-gnome/recipes-gnome/eog/{eog_49.1.bb => eog_49.3.bb} (75%)meta-gnome/recipes-gnome/eog/eog_49.3.bb renamed from meta-gnome/recipes-gnome/eog/eog_49.1.bb +5 -2
@@ -13,7 +13,6 @@ DEPENDS = " \ libpeas-1 \ libportal \ libexif \ - lcms \ "
@@ -22,7 +21,11 @@ inherit gnomebase pkgconfig gsettings gobject-introspection gettext mime-xdg fea # FIXME: whilst eog uses libpeas <2, g-i is needed. This can be removed when libpeas2 is used. REQUIRED_DISTRO_FEATURES = "opengl gobject-introspection-data" -SRC_URI[archive.sha256sum] = "fadd12e14ba9cd2be6989dfbcef40001645b63440ceed8e04867b07587b066dc" +SRC_URI[archive.sha256sum] = "6b4e69c7a8086ae85d556ca4a24daa665b5622c4097e1ee59564bff4cc963124" + +PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11','cms', '', d)}" + +PACKAGECONFIG[cms] = "-Dcms=true,-Dcms=false,lcms" GTKDOC_MESON_OPTION = "gtk_doc"
PATCH 14/18 taisei: Fix build with glibc 2.43 + c23
In reply to Khem Raj--- ...ed-const-qualifiers-in-char-pointer-.patch | 56 +++++++++++++++ ...necessary-recursion-in-vfs_mkparents.patch | 71 +++++++++++++++++++ .../recipes-graphics/taisei/taisei_1.4.4.bb | 5 +- 3 files changed, 131 insertions(+), 1 deletion(-) create mode 100644 meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-misc-fix-discarded-const-qualifiers-in-char-pointer-.patch create mode 100644 meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-vfs-avoid-unnecessary-recursion-in-vfs_mkparents.patch
meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-misc-fix-discarded-const-qualifiers-in-char-pointer-.patch new file +56 -0
@@ -0,0 +1,56 @@ +From d0326cd89b01600a6d8ba5e32e8e090f2ea29f2d Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Wed, 15 Apr 2026 16:28:28 -0700 +Subject: [PATCH] misc: fix discarded const qualifiers in char pointer + assignments + +These show up with glibc 2.43 + clang-22, glibc-2.43 has C23 versions +of str* mem* functions + +Upstream-Status: Backport [https://github.com/taisei-project/taisei/commit/1c8f773912cbbd72b4a4df271fda1bd6d2aeb27f] +Signed-off-by: Khem Raj <[email protected]> +--- + src/log.c | 2 +- + src/pixmap/pixmap.c | 2 +- + src/vfs/pathutil.c | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/log.c b/src/log.c +index 8194535a..88f34386 100644 +--- a/src/log.c ++++ b/src/log.c +@@ -161,7 +161,7 @@ static void add_debug_info(StringBuffer *buf) { + static size_t modname(const char *filename, size_t filename_len, char *mod) { + size_t mlen = filename_len; + +- char *dot = memchr(filename, '.', mlen); ++ const char *dot = memchr(filename, '.', mlen); + if(dot) { + mlen = dot - filename; + } +diff --git a/src/pixmap/pixmap.c b/src/pixmap/pixmap.c +index 25105215..9717f22a 100644 +--- a/src/pixmap/pixmap.c ++++ b/src/pixmap/pixmap.c +@@ -49,7 +49,7 @@ void *pixmap_alloc_buffer_for_conversion(const Pixmap *src, PixmapFormat format, + } + + static PixmapFileFormatHandler *pixmap_handler_for_filename(const char *file) { +- char *ext = strrchr(file, '.'); ++ const char *ext = strrchr(file, '.'); + + if(!ext || !*(++ext)) { + return NULL; +diff --git a/src/vfs/pathutil.c b/src/vfs/pathutil.c +index f6bd6a80..85ccf5ee 100644 +--- a/src/vfs/pathutil.c ++++ b/src/vfs/pathutil.c +@@ -14,7 +14,7 @@ char *vfs_path_normalize(const char *path, char *out) { + const char *p = path; + char *o = out; + char *last_sep = out - 1; +- char *path_end = strchr(path, 0); ++ const char *path_end = strchr(path, 0); + + #define IS_SEP_OR_NUL(chr) (VFS_IS_PATH_SEPARATOR(chr) || (chr == '\0')) +
meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-vfs-avoid-unnecessary-recursion-in-vfs_mkparents.patch new file +71 -0
71 lines not on this page · raw message
meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb +4 -1
@@ -20,7 +20,10 @@ DEPENDS = "\ DEPENDS:append:libc-musl = " libucontext" LDFLAGS:append:libc-musl = " -lucontext" -SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=https;tag=v${PV}" +SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=https;tag=v${PV} \ + file://0001-misc-fix-discarded-const-qualifiers-in-char-pointer-.patch \ + file://0001-vfs-avoid-unnecessary-recursion-in-vfs_mkparents.patch \ + " SRCREV = "6a484e6e61cc51a22a9943762dc2ff6883914f38" inherit features_check meson mime mime-xdg pkgconfig
PATCH 15/18 hiawatha: Upgrade to 12.1 release
In reply to Khem Raj- HTTP/2 support added via the nghttp2 library (credits to Heiko Zimmermann) — noted as experimental, so testing carefully before enabling on production servers is recommended.
- mbed TLS updated from 4.0.0 to 4.1.0.
- ssi-cgi removed — the release notes suggest using Hiawatha's XSLT support as a more advanced alternative.
---
.../hiawatha/{hiawatha_12.0.bb => hiawatha_12.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-webserver/recipes-httpd/hiawatha/{hiawatha_12.0.bb => hiawatha_12.1.bb} (97%)meta-webserver/recipes-httpd/hiawatha/hiawatha_12.1.bb renamed from meta-webserver/recipes-httpd/hiawatha/hiawatha_12.0.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI = "https://hiawatha.leisink.net/files/download/hiawatha-${PV}.tar.gz \ file://hiawatha.service \ " -SRC_URI[sha256sum] = "57b61a6d2640e72601d5ba0a063d6f1639613b910287871216f7ea06c75bfb96" +SRC_URI[sha256sum] = "e93e5964e69d98061d366fa4a0ec7b5d33d3e92e6c02efa8b291a79c646006b1" INITSCRIPT_NAME = "hiawatha" INITSCRIPT_PARAMS = "defaults 70"
PATCH 16/18 xrdp: Guard ptests with x11 distro feature
In reply to Khem Rajxrdp only builds when x11 is enabled, make it consistent
--- meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/conf/include/ptest-packagelists-meta-oe.inc +1 -1
@@ -59,7 +59,7 @@ PTESTS_FAST_META_OE = "\ utf8proc \ uthash \ xdg-dbus-proxy \ - ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'xrdp', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'pam x11', 'xrdp', '', d)} \ zeromq \ " PTESTS_FAST_META_OE:append:x86 = " mcelog"
PATCH 17/18 packagegroup-meta-oe: Make pcp and remmina depend upon x11 distro feature
In reply to Khem Raj--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +2 -4
@@ -840,12 +840,11 @@ RDEPENDS:packagegroup-meta-oe-support = "\ openldap \ opensc \ p910nd \ - pcp \ pcsc-lite \ pcsc-tools \ picocom \ pidgin \ - ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pidgin-otr", "", d)} \ + ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pcp pidgin-otr", "", d)} \ pidgin-sipe \ pngcheck \ poco \
@@ -861,7 +860,6 @@ RDEPENDS:packagegroup-meta-oe-support = "\ rdfind \ re2 \ read-edid \ - remmina \ rsnapshot \ sassc \ satyr \
@@ -875,7 +873,7 @@ RDEPENDS:packagegroup-meta-oe-support = "\ srecord \ ssiapi \ stm32flash \ - ${@bb.utils.contains("DISTRO_FEATURES", "x11", "synergy", "", d)} \ + ${@bb.utils.contains("DISTRO_FEATURES", "x11", "remmina synergy", "", d)} \ syslog-ng \ tbb \ thin-provisioning-tools \
PATCH 18/18 packagegroup-meta-python: Enable python3-pyatspi conditional upon GI data
In reply to Khem Raj--- .../recipes-core/packagegroups/packagegroup-meta-python.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -1
@@ -300,7 +300,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-py-ubjson \ python3-pyalsaaudio \ python3-pyasn1-modules \ - python3-pyatspi \ + ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data ${GTK2DISTROFEATURES}", "python3-pyatspi", "", d)} \ python3-pyaudio \ python3-pybind11 \ python3-pybind11-json \