From patchwork Fri May 17 06:39:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 43792 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A0BEC41513 for ; Fri, 17 May 2024 06:39:43 +0000 (UTC) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.web11.34587.1715927978806664276 for ; Thu, 16 May 2024 23:39:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m0M1+Ce/; 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-6f472d550cbso941861b3a.1 for ; Thu, 16 May 2024 23:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715927978; x=1716532778; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NAkgbrI7WSGYBhv8Cd+ykclglmExq5tSr/hj8klpSzg=; b=m0M1+Ce/u2onG2nXPGwsZGZbGTxS6gutX0PfAFSgMOJKA1zSxfEuH9/sKRFMvWHBaV rVBUhuai9h9PeVakmSaFqZlEpv3+atCjGADzH+TiqK73RKC3Zox/8UYM8vyd9wM9I7rZ UIJNswRVNE+OgCR/umSg1Ehjh1vRaq9mSIfaxM4J4SnB5CPVnGp5BmLDEV+QSpUOiXwN pcAqQukkF1/+kUSGp3zqHAslYKg8PV1FNwM3+Ll/VY/z4t1foC0o8BT5qdcd/Mlhpzvy I0Avse2rQKfQBMEAbHx1tOuptWQd+f+XgjLjFPMDH5EAyTyTO00jdat0S92+MvRMChnF b/Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715927978; x=1716532778; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NAkgbrI7WSGYBhv8Cd+ykclglmExq5tSr/hj8klpSzg=; b=dnY8FbM8DJeBWsaeh9e7LAYCg63ptjdEXLEh7q347LGT8jqkOnBI8a3aT+M6ryqQuq vWbVnCdMZhZjzIr1KqfdzvpuzGleTq8JhBXYuE873qooyJJ9lmhGj+n/HuEsLXo/JOu8 HBhQc0cav61VQGlh1DJVtcyhm7jrNpOeaSPaj1PLVSe87fl8XEQHT/q19spd+IKhuv1s /Al4eNQDNPdUTezTj4RO3oh1mBlBg2Lfe1EoDUge90WM0Eyf2WOPBGBo9oG5u4lBBcPi 4K9zPRP8sacmpWJ/jwZIodu+Ii5AjNhSxWUdc+qUCtTH/mpVwt1WU2O6Quk9dkOOCWa4 TV3g== X-Gm-Message-State: AOJu0YwSbI4HTzAgAkIbwjCfXZGvH81i4ZKFyiS8qAMKvWXlfH/fkh9i FnDSSwSuLozIMn0Nrgq+V0HyIKv83JY/3BninC1pQWYE1C36QbHaxiX690O57rc= X-Google-Smtp-Source: AGHT+IFyUW5zQVuxyAaRv1qOSaJYDvStbyyzg//gxae9MbB9V1peUJNzdqRwHpopD+vPYo4RC9CItg== X-Received: by 2002:a05:6a20:c891:b0:1a9:7afc:591c with SMTP id adf61e73a8af0-1afde08230bmr31344088637.10.1715927977955; Thu, 16 May 2024 23:39:37 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::e372]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2b62886b669sm16622575a91.24.2024.05.16.23.39.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 23:39:37 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 1/3] poke: Upgrade to 4.0 Date: Thu, 16 May 2024 23:39:32 -0700 Message-ID: <20240517063934.753527-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 May 2024 06:39:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110420 - Drop patches not needed anymore - Package vim and emacs files into package of their own Signed-off-by: Khem Raj --- ...ck-for-Tcl-Tk-if-disable-gui-is-spec.patch | 45 ------------------ ...nfig.in-avoit-host-poisoning-while-c.patch | 47 ------------------- ...P2MAN-replace-by-true-when-cross-com.patch | 11 ++--- .../poke/{poke_1.2.bb => poke_4.0.bb} | 9 ++-- 4 files changed, 8 insertions(+), 104 deletions(-) delete mode 100644 meta-oe/recipes-devtools/poke/poke/0001-build-do-not-check-for-Tcl-Tk-if-disable-gui-is-spec.patch delete mode 100644 meta-oe/recipes-devtools/poke/poke/0002-jitter-jitter-config.in-avoit-host-poisoning-while-c.patch rename meta-oe/recipes-devtools/poke/{poke_1.2.bb => poke_4.0.bb} (79%) diff --git a/meta-oe/recipes-devtools/poke/poke/0001-build-do-not-check-for-Tcl-Tk-if-disable-gui-is-spec.patch b/meta-oe/recipes-devtools/poke/poke/0001-build-do-not-check-for-Tcl-Tk-if-disable-gui-is-spec.patch deleted file mode 100644 index a41f985eb8..0000000000 --- a/meta-oe/recipes-devtools/poke/poke/0001-build-do-not-check-for-Tcl-Tk-if-disable-gui-is-spec.patch +++ /dev/null @@ -1,45 +0,0 @@ -From cef3fc90f02ef4fc49515745194bac3d81a2265b Mon Sep 17 00:00:00 2001 -From: "Jose E. Marchesi" -Date: Fri, 30 Apr 2021 13:17:05 +0200 -Subject: [PATCH] build: do not check for Tcl/Tk if --disable-gui is specified - -2021-04-30 Jose E. Marchesi - - * configure.ac: Do not check for tcl/tk if --disable-gui is - specified at configure time. - -(cherry picked from commit 280a5e154287e43c0a40d9530a9cc658a7367a9c) -[Romain: remove Changelog entry] -Signed-off-by: Romain Naour ---- -Upstream-Status: Pending - - configure.ac | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -diff --git a/configure.ac b/configure.ac -index c7205513..c2f0760a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -214,12 +214,15 @@ fi - dnl The GUI is optional, and depends on the availability of Tcl and - dnl Tk. - --POKE_TCLTK -- - AC_ARG_ENABLE([gui], - AS_HELP_STRING([--enable-gui], - [Enable the GUI (default is YES)]), -- [gui_enabled=$enableval], [gui_enabled=$has_tcltk]) -+ [gui_enabled=$enableval], [gui_enabled=yes]) -+ -+if test "x$gui_enabled" = "xyes"; then -+ POKE_TCLTK -+ gui_enabled=$has_tcltk -+fi - - AM_CONDITIONAL([GUI], [test "x$gui_enabled" = "xyes"]) - --- -2.30.2 - diff --git a/meta-oe/recipes-devtools/poke/poke/0002-jitter-jitter-config.in-avoit-host-poisoning-while-c.patch b/meta-oe/recipes-devtools/poke/poke/0002-jitter-jitter-config.in-avoit-host-poisoning-while-c.patch deleted file mode 100644 index 660b19f514..0000000000 --- a/meta-oe/recipes-devtools/poke/poke/0002-jitter-jitter-config.in-avoit-host-poisoning-while-c.patch +++ /dev/null @@ -1,47 +0,0 @@ -From c37419e459bd5863534719fa50755174d0912e6d Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 30 Apr 2021 14:32:21 +0200 -Subject: [PATCH] jitter: jitter-config.in: avoit host poisoning while - cross-compiling - -When jitter is bundled into another project (poke), jitter-config --cppflags -return an unsafe path "-I /usr/include". - -In the context of Buildroot, such configuration script woulf be "fixed" -after installation. But jitter-config is not installed by poke since it's -build as static library and liked to poke. - -For now, patch jitter-config.in instead of jitter-config.in.m4sh since -there is an issue while converting the M4sh m4sh script ( .in.m4sh ) -into a portable shell script ( .in ) ready to be processed by aclocal -for @-substitutions. - -[1] https://git.buildroot.net/buildroot/tree/package/pkg-generic.mk?h=2021.02.1#n291 - -Signed-off-by: Romain Naour ---- -Upstream-Status: Pending - - jitter/bin/jitter-config.in | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -diff --git a/jitter/bin/jitter-config.in b/jitter/bin/jitter-config.in -index 5e124f0..af0ac9d 100644 ---- a/jitter/bin/jitter-config.in -+++ b/jitter/bin/jitter-config.in -@@ -998,11 +998,7 @@ while test "$#" != "0"; do - append_to_output cflags;; - --cppflags) - no_option_argument -- append_to_output cppflags -- # Append a -I argument. This is defined separately from the rest, -- # as the installation prefix can be decided very late, at Jitter -- # installation time. -- output="$output -I $includedir";; -+ append_to_output cppflags;; - --ldadd) - no_option_argument - append_to_output ldadd;; --- -2.30.2 - diff --git a/meta-oe/recipes-devtools/poke/poke/0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch b/meta-oe/recipes-devtools/poke/poke/0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch index ad2bf764d3..67384b73d4 100644 --- a/meta-oe/recipes-devtools/poke/poke/0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch +++ b/meta-oe/recipes-devtools/poke/poke/0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch @@ -11,18 +11,16 @@ Avoid: ./../poke/poke -o ./poke.1 ../run: line 51: exec: :: not found +Upstream-Status: Pending Signed-off-by: Romain Naour --- -Upstream-Status: Pending configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/configure.ac b/configure.ac -index c2f0760a..93769ef9 100644 --- a/configure.ac +++ b/configure.ac -@@ -74,7 +74,7 @@ gl_LIBTEXTSTYLE_OPTIONAL([0.20.5]) +@@ -148,7 +148,7 @@ gl_LIBTEXTSTYLE_OPTIONAL([0.20.5]) if test $cross_compiling = no; then AM_MISSING_PROG(HELP2MAN, help2man) else @@ -30,7 +28,4 @@ index c2f0760a..93769ef9 100644 + HELP2MAN=true fi - dnl recfix is part of the GNU recutils suite, and is used in cfg.mk to --- -2.30.2 - + dnl The following Automake conditional is used in some Makefile.am files diff --git a/meta-oe/recipes-devtools/poke/poke_1.2.bb b/meta-oe/recipes-devtools/poke/poke_4.0.bb similarity index 79% rename from meta-oe/recipes-devtools/poke/poke_1.2.bb rename to meta-oe/recipes-devtools/poke/poke_4.0.bb index af85d21705..9e68ba4ead 100644 --- a/meta-oe/recipes-devtools/poke/poke_1.2.bb +++ b/meta-oe/recipes-devtools/poke/poke_4.0.bb @@ -6,14 +6,12 @@ LICENSE = "GPL-3.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = "${GNU_MIRROR}/poke/poke-${PV}.tar.gz \ - file://0001-build-do-not-check-for-Tcl-Tk-if-disable-gui-is-spec.patch \ - file://0002-jitter-jitter-config.in-avoit-host-poisoning-while-c.patch \ file://0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch \ " DEPENDS = "flex-native bison-native bdwgc readline" -SRC_URI[sha256sum] = "f61cf8da5b64c01a1359373725aad1ca257f35c1c9269e4d50dd0664183ddf62" +SRC_URI[sha256sum] = "02bab22cb1fa6153a1b6a927c8bb3cd58d508543c144842a6d7ee74f19973a77" # poke does not support using out-of-tree builds inherit autotools-brokensep gettext pkgconfig @@ -29,4 +27,7 @@ EXTRA_OECONF = "--disable-gui \ PACKAGECONFIG[mi] = "--enable-mi,--disable-mi,json-c" -FILES:${PN} += "${datadir}/emacs/site-lisp" +PACKAGES =+ "${PN}-emacs ${PN}-vim" + +FILES:${PN}-emacs += "${datadir}/emacs/site-lisp" +FILES:${PN}-vim += "${datadir}/vim/vimfiles" From patchwork Fri May 17 06:39:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 43793 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06070C04FFE for ; Fri, 17 May 2024 06:39:53 +0000 (UTC) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.web10.34065.1715927979733634984 for ; Thu, 16 May 2024 23:39:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ut7Nnq1p; spf=pass (domain: gmail.com, ip: 209.85.215.179, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-61be599ab77so597254a12.1 for ; Thu, 16 May 2024 23:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715927979; x=1716532779; 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; bh=8w8MRQwY8XR0RgcPsZ0fT/YY/F9eEluj6owZn6faXLs=; b=Ut7Nnq1pmoYe3HLCtADrf6mhYC5uteJbWtFi3w5qNwCB6LS+31RCozhbV+qxsA27+w UYROnwqAw/OjFo8kYwJXhHJCcVjazpFwJ7xevignAEnQPWhFR51Queotu5guEHTy8GIS EWy3wKabpX2w3uZ6buHBp0Tp+5MTvg0f20rxZiW9mvhKkCxICmR8kl/xCwhq5bNERlt1 rYGpS0XKp29eWvn8Yk6s6FHyeNVW9YCOcJlXsOeUNtRERBKifYjk399wj0SSvUaw59YW iNNvtvFWDtNb45/nFTASqhopROmPZk0AJex5I20ye//ypt/y6V8EETXzwnmOgA/1c0Zw 19Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715927979; x=1716532779; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8w8MRQwY8XR0RgcPsZ0fT/YY/F9eEluj6owZn6faXLs=; b=eJOosw93DlNlr4VmupO2bup8io+XFAfapcbE4MLZB20dkBohEgiuHQL4857nPRsHZ6 TDUI0+rqRp/9vDIWbn6lfcx40YfCn5+AYHUzVgdJ2wv5478Iya/Hc449Np5Phoa/ZpuF DrTnr+smF+JVVoUocyRC1LKv4Lf6QmL5ve48agRSJRMqRBDTtPivSF1WjTEzTmfYGVV6 +ny8Q13BkMmQxBh2vxy55h495Dcke4277MqgwjEWIkRP/JLrMZZI/lT0VvdhEHhPplh9 69GtDdbbQ/tgMIi3hOI8EErVsEU7V2DgRX17zVlyo2tL57Zifty7FgX+3/jnPWuZtJRO ukZQ== X-Gm-Message-State: AOJu0Yy/roskBz7mXRjrd83AAg3CvMV7rXbfhstfZKvNQHVL0k9jGTc5 DAwspwA90yeSbyZsuVd3uqvVq8B2xdacVOf8wwimwxZK+oZHTCYsM6OJKqUxq5E= X-Google-Smtp-Source: AGHT+IFrrlQOfl9csA0bKPVtpDB5pSsJaqrE8wtJo5EbSwNIeD/BjnfMF9EbtcWaGLNIbB9nxlsZow== X-Received: by 2002:a17:90a:c284:b0:2b4:39dc:8639 with SMTP id 98e67ed59e1d1-2b6ccfed238mr17826640a91.46.1715927978800; Thu, 16 May 2024 23:39:38 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::e372]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2b62886b669sm16622575a91.24.2024.05.16.23.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 23:39:38 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 2/3] tinyalsa: Upgrade to tip of trunk Date: Thu, 16 May 2024 23:39:33 -0700 Message-ID: <20240517063934.753527-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240517063934.753527-1-raj.khem@gmail.com> References: <20240517063934.753527-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 May 2024 06:39:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110421 This fixes build with musl + gcc14 Signed-off-by: Khem Raj --- .../recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb index e261611afd..b513e959d3 100644 --- a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb +++ b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb @@ -4,16 +4,15 @@ HOMEPAGE = "https://github.com/tinyalsa/tinyalsa" SECTION = "libs/multimedia" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://NOTICE;md5=e04cd6fa58488e016f7fb648ebea1db4" +LIC_FILES_CHKSUM = "file://NOTICE;md5=d2918795d9185efcbf430b9ad5cda46d" -SRCREV = "1c5fb68ced57d838f2b7ecd0c00bc1fefc9ab60d" -SRC_URI = "git://github.com/tinyalsa/tinyalsa;branch=master;protocol=https \ - file://0001-fixed-compilation-error-caused-by-strncpy.patch \ - " +PV .= "+git" +SRCREV = "f78ed25aced2dfea743867b8205a787bfb091340" +SRC_URI = "git://github.com/tinyalsa/tinyalsa;branch=master;protocol=https" S = "${WORKDIR}/git" -inherit cmake +inherit meson # tinyalsa is built as a static library. Enable PIC to avoid relocation # errors like these: From patchwork Fri May 17 06:39:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 43791 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28E55C04FFE for ; Fri, 17 May 2024 06:39:43 +0000 (UTC) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mx.groups.io with SMTP id smtpd.web10.34066.1715927980574548069 for ; Thu, 16 May 2024 23:39:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PkxrWi/U; spf=pass (domain: gmail.com, ip: 209.85.216.47, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-2b2b42b5126so868725a91.3 for ; Thu, 16 May 2024 23:39:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715927980; x=1716532780; 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; bh=ucAqbrauCDiZ/Jxq3n06Tq9mrkwcBevk2w6Bzw+MGzw=; b=PkxrWi/UHJurXNvussw326zkcfty/GdPwVz3W+RG/l+TqeH3J4BZTOLnLdlHThWr+h AZKrSUOKpfD9F2mzRm8ULpDF4kl35x85oigg7baFnV26DVROxiy+arx5fcpM61hpd6N7 setMREEYqNNcqMeoxre8kbN3oHO7G7+5NcN7zdhgYSI4qM3Awq/4dvw3rSXVkM882kKb NVBfImhkd9bSZ3N3JfLyJnwL7O4Rttwo7haNmz1tqwdKejTz9jYPncViJXu2WPaIGe6n hgNhDzgbZiTqJAvJUHk9YknaUJ9QLpy94eqLaPQeDM4pnxMnu36j9CF7exUIJHpmDgQF Ifgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715927980; x=1716532780; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ucAqbrauCDiZ/Jxq3n06Tq9mrkwcBevk2w6Bzw+MGzw=; b=t5JP+QAGzf+0e/bq7Qg9z1d03FfQP+iDHD+KSV+0ZSaYuehahvAXY10j3WxKqK23wY /C0JwAAOJLgSgwwLieeSYPYngvygmhga7nLtBFj+77OfBxSlXbdgQHch8jGhA08OIYZq lyyF/DjDw0GxbuMRGZUhbSRu6tjQ8aLltaIHAaseSULG30vlMbvuEgTcoE0CJArs/aIM Gjp7jyl5/tYjGYIUOr19sVArta956zJRmN6qQ0YoH4TIoX/3LmKZjgYovrXNyMaKa3YZ crZ8JFAiNq3ZbJIjEm9s/MncmB47HtPSjCI9MlDAHk8UO4ee0t6i7O/hVBk9Bdz4snNQ 3XTw== X-Gm-Message-State: AOJu0YymH0c4TdaPdJ/awgjDb9kpZ9xLvlC3GgpRwiTlt4dGd65W+LLn /DF+8doC2UI4M35URIdhjF+zsreIereSVcHHFEEyF8FBHWAAJyaggzKr7O+NgEU= X-Google-Smtp-Source: AGHT+IEZagfIU5oSVf5eFOWkS+/wugZ7752mV67eXVJ+rqQi5jvEE8QZVreyRybgLzBIYncuHRGMKw== X-Received: by 2002:a17:90a:5318:b0:2a5:8ff:9d1 with SMTP id 98e67ed59e1d1-2b6cc4547efmr20226229a91.14.1715927979716; Thu, 16 May 2024 23:39:39 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::e372]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2b62886b669sm16622575a91.24.2024.05.16.23.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 23:39:39 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 3/3] xterm: Upgrade to 391 Date: Thu, 16 May 2024 23:39:34 -0700 Message-ID: <20240517063934.753527-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240517063934.753527-1-raj.khem@gmail.com> References: <20240517063934.753527-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 May 2024 06:39:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110422 Add a patch to fix build with musl Signed-off-by: Khem Raj --- ...-Add-configure-time-check-for-setsid.patch | 75 ------------------- ...ude-missing-pty.h-header-for-openpty.patch | 35 +++++++++ .../xorg-app/{xterm_388.bb => xterm_391.bb} | 7 +- 3 files changed, 38 insertions(+), 79 deletions(-) delete mode 100644 meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch create mode 100644 meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch rename meta-oe/recipes-graphics/xorg-app/{xterm_388.bb => xterm_391.bb} (85%) diff --git a/meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch b/meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch deleted file mode 100644 index a6cf16e4e9..0000000000 --- a/meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch +++ /dev/null @@ -1,75 +0,0 @@ -From b23d38f1216c4d70738edaa367cf9ecd2dd4b660 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 13 Dec 2019 12:59:26 -0800 -Subject: [PATCH] Add configure time check for setsid - -Do not assume glibc == linux - -Upstream-Status: Pending -Signed-off-by: Khem Raj - ---- - configure | 1 + - configure.in | 1 + - main.c | 4 ++-- - xtermcfg.hin | 1 + - 4 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 72342c7..c2ec2ac 100755 ---- a/configure -+++ b/configure -@@ -5803,6 +5803,7 @@ for ac_func in \ - unsetenv \ - sched_yield \ - setpgid \ -+ setsid \ - strftime \ - tcgetattr \ - waitpid \ -diff --git a/configure.in b/configure.in -index 56dbc25..0608c80 100644 ---- a/configure.in -+++ b/configure.in -@@ -99,6 +99,7 @@ AC_CHECK_FUNCS( \ - unsetenv \ - sched_yield \ - setpgid \ -+ setsid \ - strftime \ - tcgetattr \ - waitpid \ -diff --git a/main.c b/main.c -index 24da0eb..332174c 100644 ---- a/main.c -+++ b/main.c -@@ -2956,7 +2956,7 @@ main(int argc, char *argv[]ENVP_ARG) - } - } - --#if defined(__osf__) || (defined(__GLIBC__) && !defined(USE_USG_PTYS)) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) -+#if defined(__osf__) || (defined(__linux__) && !defined(USE_USG_PTYS)) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) - #define USE_OPENPTY 1 - static int opened_tty = -1; - #endif -@@ -4205,7 +4205,7 @@ spawnXTerm(XtermWidget xw, unsigned line_speed) - /* - * now in child process - */ --#if defined(_POSIX_SOURCE) || defined(SVR4) || defined(__convex__) || defined(__SCO__) || defined(__QNX__) -+#if HAVE_SETSID - int pgrp = setsid(); /* variable may not be used... */ - #else - int pgrp = getpid(); -diff --git a/xtermcfg.hin b/xtermcfg.hin -index 19048cd..e54d2cd 100644 ---- a/xtermcfg.hin -+++ b/xtermcfg.hin -@@ -98,6 +98,7 @@ - #undef HAVE_SCHED_YIELD /* AC_CHECK_FUNCS(sched_yield) */ - #undef HAVE_SETITIMER /* CF_SETITIMER */ - #undef HAVE_SETPGID /* AC_CHECK_FUNCS(setpgid) */ -+#undef HAVE_SETSID /* AC_CHECK_FUNCS(setsid) */ - #undef HAVE_STDINT_H /* AC_PROG_CC_STDC */ - #undef HAVE_STDLIB_H /* AC_CHECK_HEADERS(stdlib.h) */ - #undef HAVE_STDNORETURN_H /* CF_C11_NORETURN */ diff --git a/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch b/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch new file mode 100644 index 0000000000..56c317200d --- /dev/null +++ b/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch @@ -0,0 +1,35 @@ +From e30ab2d73a21bc55511cbedbb9ae603246dbfcd1 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 16 May 2024 23:10:00 -0700 +Subject: [PATCH] include missing pty.h header for openpty() + +On musl this problem is unearthed + +Fix +./main.c: In function 'get_pty': +./main.c:3123:14: error: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] + 3123 | result = openpty(pty, &opened_tty, ttydev, NULL, NULL); + | ^~~~~~~ + | openat + +Upstream-Status: Submitted [sent to dickey@invisible-island.net] +Signed-off-by: Khem Raj +--- + main.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/main.c b/main.c +index 7165938..04a2aa2 100644 +--- a/main.c ++++ b/main.c +@@ -92,6 +92,7 @@ + #include + #include + #include ++#include + /* xterm uses these X Toolkit resource names, which are exported in array */ + #undef XtNborderWidth + #undef XtNiconName +-- +2.45.1 + diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_388.bb b/meta-oe/recipes-graphics/xorg-app/xterm_391.bb similarity index 85% rename from meta-oe/recipes-graphics/xorg-app/xterm_388.bb rename to meta-oe/recipes-graphics/xorg-app/xterm_391.bb index 8578f0cc97..633d025eea 100644 --- a/meta-oe/recipes-graphics/xorg-app/xterm_388.bb +++ b/meta-oe/recipes-graphics/xorg-app/xterm_391.bb @@ -2,13 +2,12 @@ require recipes-graphics/xorg-app/xorg-app-common.inc SUMMARY = "xterm is the standard terminal emulator for the X Window System" DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native" -LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=9c96124b492c0c02356850c243aaeca2" +LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=1a3032aa728f8fda9d686948940ca58d" SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ - file://0001-Add-configure-time-check-for-setsid.patch \ + file://0001-include-missing-pty.h-header-for-openpty.patch \ " - -SRC_URI[sha256sum] = "ac429345e6f937a5945a89d425a265fee6c215fc669dbdc6a0326e21f4c5f674" +SRC_URI[sha256sum] = "6091371e94de867ce186cc1bc306947b0482d71631847fdeab7982acb20ae6b8" PACKAGECONFIG ?= "" PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native"