From patchwork Thu Apr 10 19:26:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Cordonnier X-Patchwork-Id: 61135 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 80BBCC369A2 for ; Thu, 10 Apr 2025 19:26:55 +0000 (UTC) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by mx.groups.io with SMTP id smtpd.web10.7098.1744313205876592733 for ; Thu, 10 Apr 2025 12:26:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@snap.com header.s=google header.b=VWg7ltOo; spf=pass (domain: snapchat.com, ip: 209.85.208.45, mailfrom: ecordonnier@snapchat.com) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-5e5e8274a74so1916340a12.1 for ; Thu, 10 Apr 2025 12:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snap.com; s=google; t=1744313204; x=1744918004; 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=XXJIPIlzkepJ5syNlYdZpvD+DHxI0i/pzuELOeZipk0=; b=VWg7ltOoba7o5O8Klw3u1bG5x+qyZUh0xdRkfbYKxAcwqfaruwPYqj1byO52tsvZQv 470Mk1aJ+/DYCBKVeBCBh8tCBe970pr7vbno297nhu3Q14pLCJhDNIvwdsSj7xxk+baq Q2ucAMBTsvrwCW1lhS+fqVPbEVrhNNfN2bOLA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744313204; x=1744918004; 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=XXJIPIlzkepJ5syNlYdZpvD+DHxI0i/pzuELOeZipk0=; b=ia7EU6ZWn+1BzFKwJaUpm1Jbi28wTP6VNCjd8LFqlupr7+PPunt9JQXhUh5MqCA6wB O/WnJ0IbBsQRMky5VXvnnDV+G1uHa8C6vQg0dF2O0nItPAGdQRo3isPdtnVjBGNlnrJ6 cyDTRzqU8s5oGcLo8hF9Ab8Ef1hv6YuhZA9gwjGG7f9BvHOlPTflfAxmJd9b6babnYZc lUAhflKLBk8CkX6w8nXTKfPXuuSaa2Nav8Yzy7HpuuYqhC5GLKl3fMVQ2JaeZL/0w37s hYXAR+zSNAdg02Jjb5J/KfBzuCFcXUw42HppAn/bMxm2Nmj2I/aHGyO5bPrYwjq9VgUi jM2A== X-Gm-Message-State: AOJu0Yy3d3b/Z6mC3Z5RFpkEbis1VvSitJaopSJJkAIjtRE1z+iJlOzd F8A5tavjOVLwbIzJdiVLlkeqHw2+vMYQBlHxQwP4u81TT4QZLyIJDy0xPBANjkQNTt/zx27I1f3 r6fM= X-Gm-Gg: ASbGnctVw5q3q12UAO3Wv70tI9T55bdEU3S0hyyaEEdpJ7lpcePn3lBM2d4y6s8nhh0 I13TuiiyWHoToNHMu3bNETACpPZbYncO8anRt+DkeiTVz+7dDKEiLwIWdiEofiMQ0eNZ7GFw5CZ A1xwWNmQQGg/JjONlohDMZWG1VKmAkii5JX+ur319mlee9sXtBBVPXqZ6QrwphhPijet/8m4m5b xl3pN8CZJm+aWT4VOWZnMI5RnpzHkCNa0KIu6UCgWbd7O4B5x5N0Evzi78r21vSXTLJj4TuoRMb TP7Mbvxs2txQ7Htd6OC/udhtCYz4blgEZTwDjBT2VpmT1YkItuRy3A== X-Google-Smtp-Source: AGHT+IF4wG9/dwaorvJiA0VQhLKXQu70xMoZsXHM80FqiOoLT7t35k0sH9dndgvxVC2QZow69Al+ww== X-Received: by 2002:a17:907:2daa:b0:ac6:b811:e65b with SMTP id a640c23a62f3a-acabd21094cmr429122666b.36.1744313203452; Thu, 10 Apr 2025 12:26:43 -0700 (PDT) Received: from lj8k2dq3.sc-core.net ([213.249.125.50]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-acaa1bb3508sm318235366b.8.2025.04.10.12.26.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 12:26:42 -0700 (PDT) From: ecordonnier@snap.com To: openembedded-core@lists.openembedded.org Cc: Etienne Cordonnier Subject: [PATCH 1/2] gdb: add source-highlight PACKAGECONFIG option Date: Thu, 10 Apr 2025 21:26:31 +0200 Message-ID: <20250410192632.2818966-1-ecordonnier@snap.com> X-Mailer: git-send-email 2.43.0 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 ; Thu, 10 Apr 2025 19:26:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/214701 From: Etienne Cordonnier From gdb documentation: > There are two ways that highlighting can be done. First, if > gdb was linked with the GNU Source Highlight library, then it > is used. Otherwise, if gdb was configured with Python > scripting support, and if the Python Pygments package is available, > then it will be used. Signed-off-by: Etienne Cordonnier --- meta/recipes-devtools/gdb/gdb-common.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc index c0312f0f05c..474cdf65145 100644 --- a/meta/recipes-devtools/gdb/gdb-common.inc +++ b/meta/recipes-devtools/gdb/gdb-common.inc @@ -38,6 +38,7 @@ PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base" PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz" PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" +PACKAGECONFIG[source-highlight] = "--enable-source-highlight,--disable-source-highlight,source-highlight" GDBPROPREFIX = "--program-prefix=''" From patchwork Thu Apr 10 19:26:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Cordonnier X-Patchwork-Id: 61136 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 7EE05C3601E for ; Thu, 10 Apr 2025 19:26:55 +0000 (UTC) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by mx.groups.io with SMTP id smtpd.web10.7100.1744313210642111704 for ; Thu, 10 Apr 2025 12:26:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@snap.com header.s=google header.b=R7q15OO2; spf=pass (domain: snapchat.com, ip: 209.85.208.43, mailfrom: ecordonnier@snapchat.com) Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5edc07c777eso1588183a12.3 for ; Thu, 10 Apr 2025 12:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snap.com; s=google; t=1744313208; x=1744918008; 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=b2wRmrqo7mFtqtO33p879oseQxg+MpWAjf1o5piNRBg=; b=R7q15OO2IMFL0OnW9dhhai1xmbsEloJr8IlwWwRvPlAXGwlaZLMqu25IpkCesV8f9g C17upBHmdzlYll62fEJELtAvGqSBiNgQYDMPW/KtRk/u8Y+v7XDbiYHy1Z9shgdbxwJl /g+ZgpR30mh1CaJS9RVBiBgw4YStKvJICp34k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744313208; x=1744918008; 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=b2wRmrqo7mFtqtO33p879oseQxg+MpWAjf1o5piNRBg=; b=n5sjs3iwpsdQ5Fi2JuvIRpFyjPIqYqviFA1qRjrtQdoVtPd8u7W03IXHm79oFy5Imm B9CkAV4lKjMNqtOm4sNzJIOPhYkIcfldwO3ik8qDnBdFvnKIF/3NJEnnGz7UFNT0s96m H20rP2fv5Y7JAZYdJx9epyfTdVnlIIh22T7BMXlBDbycMSej9Tb+a62VdoQHSQHW+wMy KlYNzGzfoI3E8UUseJrN3dU9vHmkgsv/16jnzms/UvqyBSiL/7/3sTsRrdvGFRQMw4+f y5ckz0HhM/Q8xEU7zMRg8kMrQYLCNVRQ2HcM/EiHIJvGwmIMYt0/LXE6powRaGLhj2+5 VElA== X-Gm-Message-State: AOJu0Yxhp5GB8u7zSLJmWTGzYZVmUtHnHLorXsKKrCovf8Fk/jwj+cA4 cWi59HH6cAa63actpuF0AcJJuduPzPdZVVwaWDTqQhbA2wxBZWvLBSSbbmPGhKOiH29j9E6NGXz HVK4= X-Gm-Gg: ASbGncuDLazAFHKIyXStrbNJ9GKborfdXslDnedoAewaWl5gQWp+9112ZXCXv8MKYYg GTSiGCPObUwXEeDDcbNb170P5YA34EkN8vFeaCbHRchjAKsdoZrnpD9jpdK0tbyQR4RmBuomY5K jTTuqVrSFTW55VgEBU47ZAkWgpVERuVVsRoQ+UPl+gTgyLS8mPPnwpJ4Xl3QC4m4WYbbKjNPLPR vObrYpZZXeii10DG8yvh23L9x3hmAU7zjMhiKebFaMaeNL3rpQ0dVJx/MgnMuKBf/dLrvemRQHA e12Z7ZPgRmJUyn4iiyomYsVhpjqtNx3WW0Hrqxu7zkLlcChZ0+6ewQ== X-Google-Smtp-Source: AGHT+IE/pg74SEecPDoKzqa+tOUUtjDnjRn6G8wovSNuSWx6aXFmQyHZxGJjjoXonCxDAdqz+20iWw== X-Received: by 2002:a17:907:3e11:b0:ac7:ec6f:a7c with SMTP id a640c23a62f3a-acabd1ddb9amr364383966b.13.1744313208309; Thu, 10 Apr 2025 12:26:48 -0700 (PDT) Received: from lj8k2dq3.sc-core.net ([213.249.125.50]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-acaa1bb3508sm318235366b.8.2025.04.10.12.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 12:26:48 -0700 (PDT) From: ecordonnier@snap.com To: openembedded-core@lists.openembedded.org Cc: Etienne Cordonnier Subject: [PATCH 2/2] source-highlight: re-add recipe Date: Thu, 10 Apr 2025 21:26:32 +0200 Message-ID: <20250410192632.2818966-2-ecordonnier@snap.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250410192632.2818966-1-ecordonnier@snap.com> References: <20250410192632.2818966-1-ecordonnier@snap.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 ; Thu, 10 Apr 2025 19:26:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/214702 From: Etienne Cordonnier source-highlight version 3.1.8 was removed in https://web.git.yoctoproject.org/poky/commit/?id=6560db9ddfd39a2715ede96430228306b00f53dd in June 2019 because the was no user left, however there is now a gdb PACKAGECONFIG option which uses it. Since the last release was in 2019, let's rather use the latest git version. Signed-off-by: Etienne Cordonnier --- meta/conf/distro/include/maintainers.inc | 1 + .../source-highlight/source-highlight_git.bb | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-support/source-highlight/source-highlight_git.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 2b47d3103c0..831494312b6 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -777,6 +777,7 @@ RECIPE_MAINTAINER:pn-shutdown-desktop = "Unassigned