From patchwork Wed Oct 21 10:07:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 101555 Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.8051.1792577264640540119 for ; Wed, 21 Oct 2026 03:07:44 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=f_l_k@t-online.de header.s=20260216 header.b=AczxBrQ1; spf=pass (domain: t-online.de, ip: 194.25.134.21, mailfrom: f_l_k@t-online.de) Received: from fwd71.aul.t-online.de (fwd71.aul.t-online.de [10.223.144.97]) by mailout10.t-online.de (Postfix) with SMTP id 58D7537E3C for ; Wed, 21 Oct 2026 12:07:40 +0200 (CEST) Received: from localhost.localdomain ([84.163.40.237]) by fwd71.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1xJTEM-0cELaO0; Wed, 21 Oct 2026 12:07:34 +0200 From: Markus Volk To: openembedded-devel@lists.openembedded.org Subject: [meta-gnome][PATCH 21/26] gnome-tweaks: upgrade 40.10 -> 49.0 Date: Wed, 21 Oct 2026 12:07:09 +0200 Message-ID: <20261021100717.11068-21-f_l_k@t-online.de> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261021100717.11068-1-f_l_k@t-online.de> References: <20261021100717.11068-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1792577254-877FD903-AD660E69/0/0 CLEAN NORMAL X-TOI-MSGID: 1f07408c-a5c2-4936-b8e0-40061ff96f8a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t-online.de; s=20260216; t=1792577260; i=f_l_k@t-online.de; bh=lAItBbk7s+oFhhMPdEyFIJS6Y+3wlRtTKBK5W0TkMc0=; h=From:To:Subject:Date:In-Reply-To:References; b=AczxBrQ1u1W01PUdPFm7AeKe2ZY/nkLuZm25WcQYkURehjWfFhSafLtRDCruecpGV +CWlekRvn/3wzPcIRdq7NQfZs3qMb+vejVpXp9ih3c8nuh37KASzWG+GEhZPky1GTn uxOMrZITYtuUjQxe+Rp1mtLy4DVpxvX8/eZYogEPt+uNdmoKlhKceuXYD9hHTNbuOJ fJSb8H0xEwWpXKvq3R7+JMb5BZr/2QEoHU+ciSPvUKC12kqa9huFaB7nIHDDkJiRUL mDpz3Iax8tNC4skL48OL9lxzequwQYfAqYXjkeq6qIyxHYsIitMk7r3Vx17FKDZtjm s4k/W6jCQ1KFQ== 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 ; Wed, 21 Oct 2026 10:07:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/131251 gnome-tweaks is ported to GTK 4 and libadwaita. Update DEPENDS and RDEPENDS and package the new D-Bus service file. The python path patch is dropped: meson installs the python module into the configured site-packages directory itself. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Markus Volk --- .../0001-Make-python-path-configurable.patch | 41 ------------------- ...e-tweaks_40.10.bb => gnome-tweaks_49.0.bb} | 13 ++---- 2 files changed, 4 insertions(+), 50 deletions(-) delete mode 100644 meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch rename meta-gnome/recipes-gnome/gnome-tweaks/{gnome-tweaks_40.10.bb => gnome-tweaks_49.0.bb} (70%) diff --git a/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch deleted file mode 100644 index 733249c7e6..0000000000 --- a/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch +++ /dev/null @@ -1,41 +0,0 @@ -From db94983c93f38bd8494b47d9fa1b3e5368dc9abe Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= -Date: Wed, 11 Dec 2019 01:34:01 +0100 -Subject: [PATCH] Make python path configurable -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Upstream-Status: Inappropriate [Configuration] - -Signed-off-by: Andreas Müller ---- - meson.build | 2 +- - meson_options.txt | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - create mode 100644 meson_options.txt - -diff --git a/meson.build b/meson.build -index 5b824e9..a673d9c 100644 ---- a/meson.build -+++ b/meson.build -@@ -18,7 +18,7 @@ bindir = join_paths(prefix, get_option('bindir')) - datadir = join_paths(prefix, get_option('datadir')) - libexecdir = join_paths(prefix, get_option('libexecdir')) - localedir = join_paths(prefix, get_option('localedir')) --pythondir = join_paths(prefix, python3.get_path('purelib')) -+pythondir = get_option('python_site_dir') - - pkgdatadir = join_paths(datadir, meson.project_name()) - -diff --git a/meson_options.txt b/meson_options.txt -new file mode 100644 -index 0000000..03455ca ---- /dev/null -+++ b/meson_options.txt -@@ -0,0 +1,2 @@ -+option('python_site_dir', type: 'string', value: '') -+ --- -2.21.0 - diff --git a/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.10.bb b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_49.0.bb similarity index 70% rename from meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.10.bb rename to meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_49.0.bb index 6395a34f85..ebfe8231d6 100644 --- a/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.10.bb +++ b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_49.0.bb @@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = " \ file://LICENSES/GPL-3.0;md5=9eef91148a9b14ec7f9df333daebc746 \ " -DEPENDS = "libhandy" - +DEPENDS = "glib-2.0 gtk4 libadwaita libgudev python3-pygobject gsettings-desktop-schemas" inherit gnomebase gtk-icon-cache gobject-introspection features_check @@ -17,12 +16,7 @@ REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam" REQUIRED_DISTRO_FEATURES += "gobject-introspection-data" GIR_MESON_OPTION = "" -SRC_URI[archive.sha256sum] = "cffd3b33a399577fbb4491ce8fbd02f54c5924f1056f30114e8d420290ef23fc" -SRC_URI += " \ - file://0001-Make-python-path-configurable.patch \ -" - -EXTRA_OEMESON = "-Dpython_site_dir=${PYTHON_SITEPACKAGES_DIR}" +SRC_URI[archive.sha256sum] = "b3909bdcb4905b68427d6ab581e01f436dff8e5c0a389b1e0b14500f18806ebb" # The optimised .pyc files contain buildpaths, delete them and leave the # normal ones to be packaged. @@ -31,8 +25,9 @@ do_install:append() { } FILES:${PN} += " \ + ${datadir}/dbus-1 \ ${datadir}/metainfo \ ${PYTHON_SITEPACKAGES_DIR} \ " -RDEPENDS:${PN} += "gnome-shell python3-core python3-logging libhandy" +RDEPENDS:${PN} += "gnome-shell python3-core python3-logging python3-pygobject gtk4 libadwaita gnome-desktop libgudev libnotify"