From patchwork Mon Nov 30 08:46:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106440 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.28745.1796028466135802613 for ; Mon, 30 Nov 2026 00:47:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Wr9/Unx5; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-8b2382bf051so5232601b3a.3 for ; Mon, 30 Nov 2026 00:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796028465; x=1796633265; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ygCuKpfoxb9QQltxO5ucFWQq3t3tw5CIUoaEgjOK4KI=; b=Wr9/Unx58zaJDUh1FjeUWbtAKYmNRltC5PFWqT4lvqbzGxSmC39mClaEQ3uDM4ftSv k/b4MSdyWxEmBsjeYA2K4qbHccbak9KLljjV6f7KyDCvKBcU7rZM3wVR90NWh0zoSjZ3 7mvJDjVe8bSPsWPi4346J4soWNMeIJAcuyH/ltgJsO319SnpqXQvHZskvrvxRmO24+7i meYhJvxVKNThK3y4kCxKK7XUWrJ5BA9SCCrm2/ALTCW0KX4h8Iis528XAoP6Y5GZtrlY 516UdGh7JKfw0ubuCqXy9GPxsysCFoj7482yzscF9aStFQzUCq6yhRPGa5SpwVLil1Li x5gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796028465; x=1796633265; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ygCuKpfoxb9QQltxO5ucFWQq3t3tw5CIUoaEgjOK4KI=; b=QbwiuvABG8MN608gqI911WSw1Hm8xs1d12Lv5UOB/fGdshZ1170LILeHCXqfJyWW4X RgfCLiOgs9EMj6Qy6O1XyES4U5EWrOt8zvxVX2V3vZRWUJ9HZ+hRahFCrtTCAlMtdfZp 1fAux6LAlvGNJjWiI1VUnH0Bc9Rz6rKO2nLLHccPrZaQrWDFGjdFFA+wny4KqOH4MhPy UvBdSYFkLMm3/ojFq067h3bcDtMoPT7IiR7+4bDnSegAEkNMgfXbPNuhC8ABh2OAY5yb 9jib7zXu2Ui6edQcyB7QShQltGDLspC8Dn1LDApc0Y803UfhZ0M92hCHDyFAftvmx1xy Tv+A== X-Gm-Message-State: APuU4Z+XHISyoYtbQjfi7D1imxLCzLL7aibvH+QlTUKP3rsS50LXUd+a KgmPKUscXd3jsmb6JO697Mi6sPaHYb77IqBLVW7nfZmmoSrxJMv6NsG6dMyZcDBm X-Gm-Gg: AZFdTZefDPpH6SmEXU1KHWowLwDw/3IdhlFFkmZiS8WEeWk/Thx4eC8LF22tawVyR5J 4rSmgOxl2hu1ak5j58hFGhZca85W4qQuA4/mA+VwH+A9x6kbGFXGx/5FhAnlSyPcqeGeEoV0AaW qskqsdJURhfNG5A6lpztbuBvN8BWYyfdtqlw5/o0FBDGZt/8zGMg7jwiFQ1ldKYHjW0ZgC6Q2Ts bfNrzE8NAJEy7u3+Y/eA8Ju+XP9Atz3apQRrMgDPhTyH09lJHx+pTtsGHo6b7j6yV34szE9JSBr QT46h+In+gweDYXuC86vvJVoXAQ2Ha358vIePZkBiSXEILiHHWwfJixPQjGA/9NYpyeIN7OTEXL IlZiy4ZHOU+Lg4RqhA+gzdT8GU62CqJ9Uyxhg9TgyuZDBgCKudmo2RlJXViGCMOQCobrEhy+9WC 3CaTfRoY2nrXIxs2+97cAtT48M9abiB8ZkWQfrEYENc0kfIWUxN1dWi8i+Lm/bp/GKmIm4WGNPU BeLtYwHxAFjyyLOEZ41i38RG1L2Bt95pl/FR2KhGjS0vzHrQYcyyOYtW51iamINxGD2bNyR7ne/ uzF9rdV+QIDHRl7wMyo9yNHnedJIyS4YAchI6fOa+c1JYydhjstcHIIQMAOkqIqfrkb0zi3NLbh TBGCvhE8FjKq/rZt1NNOzpehibtmTEaCKp0EOpXUMmzhuPSRgJ01hF7OdukZw5UhBXdXCGmmgkD BliKESTcr6tSAIsmXmntHA8Ve8FWyxpTycuNcBT+r1O9QiGtXZ4uAkm3pCPw9tVVLIUl4JjjFLp 1kg0C+PqnVoUWl/wzjvyBc5jm+GUGH9ElkWGaD6LVjQmNbezVX5GDkWthO0Uz+5ZcNeoWEaIweo i1t4dbgMDoHb6gwe1G5bEZpYKMY= X-Received: by 2002:a05:6a00:8717:b0:89e:779b:d03 with SMTP id d2e1a72fcca58-8ceed599789mr13000948b3a.6.1796028465355; Mon, 30 Nov 2026 00:47:45 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e45eccsm17553649b3a.31.2026.11.30.00.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 00:47:44 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 59/72] qad: Update to latest tip on main Date: Mon, 30 Nov 2026 00:46:30 -0800 Message-ID: <20261130084643.1500716-60-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261130084643.1500716-1-khem.raj@oss.qualcomm.com> References: <20261130084643.1500716-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 08:47:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133496 Move SRCREV from ae0c099c1fdc (2023-08-08) to e70b84fd915a (2026-03-23), 40 commits. Adds an optional ILM (Wayland IVI) screen backend next to KMS, an option to stop swipes at the final coordinates and pause intervals between key strokes, fixes the evdev button handling, memory leaks and the build without KMS, and documents uinput usage. The glibc 2.43 and clang warning fixes are upstream; drop both patches. Upstream now builds cJSON from git submodules listed in .gitmodules. Fetch each with its own git SRC_URI entry, pinned to the revision qad records, which keeps the pins visible and the build reproducible: cJSON v1.7.16 (cb8693b058ba) in src/cjson and wayland-ivi-extension 2.3.1 (469400ad40a3) in src/wayland-ivi-extension. Add the bundled cJSON's MIT license to LIC_FILES_CHKSUM and drop cjson from DEPENDS. The build now defaults to static linking (-static); pass -Dstatic=false. qad then links the shared libmicrohttpd although meson.build asks for it with static: true. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...Fix-warnings-found-by-clang-compiler.patch | 53 ------------------- ...0001-fix-compilation-with-glibc-2.43.patch | 30 ----------- meta-oe/recipes-extended/qad/qad_git.bb | 20 +++++-- 3 files changed, 15 insertions(+), 88 deletions(-) delete mode 100644 meta-oe/recipes-extended/qad/qad/0001-Fix-warnings-found-by-clang-compiler.patch delete mode 100644 meta-oe/recipes-extended/qad/qad/0001-fix-compilation-with-glibc-2.43.patch diff --git a/meta-oe/recipes-extended/qad/qad/0001-Fix-warnings-found-by-clang-compiler.patch b/meta-oe/recipes-extended/qad/qad/0001-Fix-warnings-found-by-clang-compiler.patch deleted file mode 100644 index 7a9937d685..0000000000 --- a/meta-oe/recipes-extended/qad/qad/0001-Fix-warnings-found-by-clang-compiler.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 2e871d6d6d13955ff363ff756adfdd257e72e9e8 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Thu, 10 Aug 2023 23:58:43 -0700 -Subject: [PATCH] Fix warnings found by clang compiler - -Fix diagnostics found with -Wdeprecated-non-prototype using clang -compiler - -e.g. -| ../git/src/server.c:108:35: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] | 108 | if (backend->input_backend->move(x, y, event) < 0) { | | ^ - -Upstream-Status: Submitted [https://gitlab.com/CodethinkLabs/qad/qad/-/merge_requests/33] -Signed-off-by: Khem Raj ---- - include/backend.h | 8 ++++---- - src/backends/input/input_common.h | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/include/backend.h b/include/backend.h -index 8f4c7c1..4bfe510 100644 ---- a/include/backend.h -+++ b/include/backend.h -@@ -41,10 +41,10 @@ typedef struct qad_screen_buffer_s { - } qad_screen_buffer_t; - - typedef struct qad_backend_input_s { -- int (*move)(); -- int (*button)(); -- int (*touch)(); -- int (*swipe)(); -+ int (*move)(int, int, int); -+ int (*button)(int, int); -+ int (*touch)(int, int, int, int); -+ int (*swipe)(int, int, int, int, int, int); - void *data; - } qad_backend_input_t; - -diff --git a/src/backends/input/input_common.h b/src/backends/input/input_common.h -index 8e099a5..f2ea73f 100644 ---- a/src/backends/input/input_common.h -+++ b/src/backends/input/input_common.h -@@ -28,7 +28,7 @@ - #define BTN_DOWN 1 - #define BTN_UP 0 - --qad_backend_input_t *create_input_backend(); -+qad_backend_input_t *create_input_backend(char input_type[]); - - // int move(int x, int y, int event); - --- -2.41.0 - diff --git a/meta-oe/recipes-extended/qad/qad/0001-fix-compilation-with-glibc-2.43.patch b/meta-oe/recipes-extended/qad/qad/0001-fix-compilation-with-glibc-2.43.patch deleted file mode 100644 index 3bebcc1b11..0000000000 --- a/meta-oe/recipes-extended/qad/qad/0001-fix-compilation-with-glibc-2.43.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 030b4983e3515b214f4faa61ce1b7c552c007340 Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari -Date: Thu, 19 Mar 2026 18:05:00 +0100 -Subject: [PATCH] fix compilation with glibc 2.43 - -Fioxes compilation error: -| ../sources/qad-0.0+git/src/server.c:212:22: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] -| 212 | char *pLastSlash = strrchr(url, '/'); - -Upstream-Status: Submitted [https://gitlab.com/CodethinkLabs/qad/qad/-/merge_requests/56] -Signed-off-by: Gyorgy Sarvari ---- - src/server.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/server.c b/src/server.c -index 648fb46..11ec114 100644 ---- a/src/server.c -+++ b/src/server.c -@@ -307,8 +307,8 @@ void qad_text(const char *post_data, int post_data_size, qad_backend_t *backend, - void qad_screenshot(struct MHD_Connection *connection, const char *url, - qad_backend_t *backend, connection_info_struct_t *con_info, - char *error) { -- char *pLastSlash = strrchr(url, '/'); -- char *screenName = pLastSlash ? pLastSlash + 1 : NULL; -+ const char *pLastSlash = strrchr(url, '/'); -+ const char *screenName = pLastSlash ? pLastSlash + 1 : NULL; - int screenNumber = -1; - - if (screenName && *screenName != '\0') { diff --git a/meta-oe/recipes-extended/qad/qad_git.bb b/meta-oe/recipes-extended/qad/qad_git.bb index 7a50fbe334..010febaaab 100644 --- a/meta-oe/recipes-extended/qad/qad_git.bb +++ b/meta-oe/recipes-extended/qad/qad_git.bb @@ -8,23 +8,33 @@ for tasks to be carried out entirely automatically." LICENSE = "GPL-2.0-or-later AND MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=402cce7fbcb6ea9ab5a0378dd7f40806 \ file://openqa/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://src/cjson/LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0 \ " -SRC_URI = "git://gitlab.com/CodethinkLabs/qad/qad;branch=main;protocol=https \ - file://0001-Fix-warnings-found-by-clang-compiler.patch \ - file://0001-fix-compilation-with-glibc-2.43.patch" +SRC_URI = "git://gitlab.com/CodethinkLabs/qad/qad;branch=main;protocol=https;name=qad \ + git://github.com/DaveGamble/cJSON.git;branch=master;protocol=https;name=cjson;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/cjson \ + git://github.com/COVESA/wayland-ivi-extension.git;branch=master;protocol=https;name=ivi;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/wayland-ivi-extension \ +" -SRCREV = "ae0c099c1fdc0ca6f5d631cea6b302937122b362" +# Submodules listed in .gitmodules, at the revisions qad pins +SRCREV_qad = "e70b84fd915a8bfec5fd00d298892f33bb4230eb" +# v1.7.16 +SRCREV_cjson = "cb8693b058ba302f4829ec6d03f609ac6f848546" +# 2.3.1 +SRCREV_ivi = "469400ad40a3b4fbd2b61c9a092d8f30ed3fcb33" +SRCREV_FORMAT = "qad" # Upstream repo does not tag UPSTREAM_CHECK_COMMITS = "1" PV = "0.0+git" -DEPENDS = "cjson libmicrohttpd libdrm libpng" +DEPENDS = "libmicrohttpd libdrm libpng" FILES:${PN} += "qad" inherit meson pkgconfig +EXTRA_OEMESON += "-Dstatic=false" + do_install () { install -d ${D}${bindir} install -p -m 755 qad ${D}${bindir}/