From unknown Fri Jun 20 19:45:51 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68716 <68716@debbugs.gnu.org> To: bug#68716 <68716@debbugs.gnu.org> Subject: Status: Modularize gnome-desktop-service Reply-To: bug#68716 <68716@debbugs.gnu.org> Date: Sat, 21 Jun 2025 02:45:51 +0000 retitle 68716 Modularize gnome-desktop-service reassign 68716 guix-patches submitter 68716 Liliana Marie Prikler severity 68716 normal tag 68716 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 25 11:13:25 2024 Received: (at submit) by debbugs.gnu.org; 25 Jan 2024 16:13:26 +0000 Received: from localhost ([127.0.0.1]:48941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2M1-0007O2-JP for submit@debbugs.gnu.org; Thu, 25 Jan 2024 11:13:25 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2Lz-0007No-FF for submit@debbugs.gnu.org; Thu, 25 Jan 2024 11:13:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rT2Ln-0003SS-S6 for guix-patches@gnu.org; Thu, 25 Jan 2024 11:13:11 -0500 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rT2Lm-00024u-DJ for guix-patches@gnu.org; Thu, 25 Jan 2024 11:13:11 -0500 Received: by mail-ej1-x643.google.com with SMTP id a640c23a62f3a-a30ed6dbdadso273978166b.1 for ; Thu, 25 Jan 2024 08:13:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706199188; x=1706803988; darn=gnu.org; h=to:content-transfer-encoding:mime-version:subject:date:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=3CmTmlFeixAfM0wDstOIAvekZanR5c3p9kprZV8/EOk=; b=bgLf5t2eySTDGbTM8CdIk79GFtjAtD0YdvUbi8g9WOEUCapWExdy90Z7PABIYHIT0l P8djdcPHmR8ooNtLDjADCPgJS2RG5ASXkbM4O0eH/U6dLAYFxO+U8HgI+6Pi0AMWWdWm nM0WsY62+uEYYAriDfZYiwL6usYlgcxtmyH62AcZC+3Y36sNSzRLpuPxxlRQnIPflpkp of8tRDZi9Fida5fi+RQX/1QBZdv8MN6S5WKqbivaXM8plYkV0nPlsNLAThykTms1+JoN n4s7AI1/P+bVkZfUD1ehJ/GejTAf5wdoGTqPsgGml1Wk6+/D+qmo7a9M7lC5XrHh5Mt7 HUyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706199188; x=1706803988; h=to:content-transfer-encoding:mime-version:subject:date:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3CmTmlFeixAfM0wDstOIAvekZanR5c3p9kprZV8/EOk=; b=uoWFKBfBNb8adAQMxznXnlbzPkANxNUh0Zqcs4Vf0RCz4EjBFupKk6PoiKARsA6USo edaYNzydFJPdO/Fcjhb+Vw+k5F2fFnCTqCo8TyS0ncB3kumqdows2pgxwgXs/FUMW2x9 tlzRCJ8f/xzk46QVfnmSc1T7mkq2k/MSkCJ4037gg+YLWKKsmQzozYwO84cfdaB8TLm4 E+R34qEi0qcPGGzfq9P1bd9QneQCU39LYa+P2DQHmYv4/7d7JoT00tE6uKdlMQwfYMr7 qHNdxAfrHoFqtLHmHw1NjeFQb5PhnY8HR6lK4yKbYNDK7k2c+nP/p5XXANbeEsSmBWw/ ylpA== X-Gm-Message-State: AOJu0YxMAZ03muzNgEcoTo390GMVRq5t8lMciTliqGmluZzW3698Y16D laNhq/BwtSbRcrLJhyXdtVydsO0rsrsiblZfB/PGD/NA+frDfLhZpkZ/8qMa2LA= X-Google-Smtp-Source: AGHT+IGRAiVCZcuGF9GEhiz7FApNOdskRSaqfsr1hnoKvC73fjL+zC/heOjXzus3L/O2IkePMP2eRg== X-Received: by 2002:a17:907:cca5:b0:a31:484a:2db2 with SMTP id up37-20020a170907cca500b00a31484a2db2mr457638ejc.117.1706199187763; Thu, 25 Jan 2024 08:13:07 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id vu9-20020a170907a64900b00a317db07080sm764712ejc.86.2024.01.25.08.13.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 08:13:07 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 17:12:26 +0100 Subject: [PATCH gnome-team RFC 0/3] *** SUBJECT HERE *** MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: guix-patches@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::643; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x643.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) *** BLURB HERE *** Liliana Marie Prikler (3): services: Modularise gnome-desktop-configuration. gnu: Deprecate gnome meta-package. services: gnome-desktop: Add core packages for GNOME 44. gnu/packages/gnome.scm | 3 +- gnu/services/desktop.scm | 174 +++++++++++++++++++++++++++++++++++---- 2 files changed, 162 insertions(+), 15 deletions(-) base-commit: 2e7d78b1f02a8eae82c34e5183134c9d1a0d02b3 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 25 11:27:28 2024 Received: (at control) by debbugs.gnu.org; 25 Jan 2024 16:27:28 +0000 Received: from localhost ([127.0.0.1]:49002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2Zb-0007nu-RX for submit@debbugs.gnu.org; Thu, 25 Jan 2024 11:27:28 -0500 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]:44464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2Za-0007na-1s for control@debbugs.gnu.org; Thu, 25 Jan 2024 11:27:26 -0500 Received: by mail-ej1-x642.google.com with SMTP id a640c23a62f3a-a30ed6dbdadso275814066b.1 for ; Thu, 25 Jan 2024 08:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706200034; x=1706804834; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:date:to:from :subject:message-id:from:to:cc:subject:date:message-id:reply-to; bh=mNllJ8ZL1TbjtVBTky/mBpD4JEAiWvU99PKNfY+QPPo=; b=O0XTxOM94uEutUNhTqwLO4wT/BU/fhRsJ/zqA7tHQnzOp/wFyK0rYf44ypDHTCt2kd udpI4YpiiM2X3Z19kZxZxO7VXbypNggZdK4d2zwMdPMoni3ElTrfrQLZGX1414tjlrqI ODF4LvF+FYp84+2ct/IxI9cHA8msE1/j1dA2Hk4Iu1JGTsJp8Ng43J+9/x/9MaH7cJCm gyzxhZI3rHawfYu7xVZvwdHhQKK7Oa6KvnzSPf4r4pQVjgv20cNFVn7NmJ3To6bIlR4j a/rCwqSo4mH2FyJx+cAYfkHoNDlEImqaR2lblK1Wtt8zkrVSpOGguPz4QuvdpbvSA6Cm HOPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706200034; x=1706804834; h=mime-version:user-agent:content-transfer-encoding:date:to:from :subject:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mNllJ8ZL1TbjtVBTky/mBpD4JEAiWvU99PKNfY+QPPo=; b=cEDV6XCYT0hqpvVdWV0Ujh6QTEnnwHi0VB0TV1YyNRTLiBbvppko1dqJSS2DgwYI2w IeoInA0aWFZYFVqm3ttrlYX+Pmk2TOwYrGY1SKJZzbENYYR0bD9wiuu75ga1crUCCIGw XvrViFNeHhqZDxgafkgqUAYP56XqZFSdiHx5emf6BUbbvzPSh8M5+03cdbDepBX/C3v8 tl1c2VcFRDCDYWbnUAmUKmzpcyphIK1YmJcB88bGaOKQDKIni0NvcwQP8wIxvw9YlUoA rPfg4LuGCdR8d1u2fABE48mRNJFv4wetId0E1pPGTZjSebT1LGzruK7Yi+N3JfZAw1aF XfrA== X-Gm-Message-State: AOJu0Ywzi3VCptGSK1Ml1oN3uuqm03kJQQvGuMHHQ5UaMP7cz4OsXGHn xu7b+oGJVGwYtvFa2LZmQeQ7U8ChWAyItcrkm6hwi8hxf7yr6+FKtPNp3KSKM0w= X-Google-Smtp-Source: AGHT+IFupyFScVcrcurxjZtMSDpp5nzx4/BcbrVCovXdNvdcW1yu8vIpeWufWPyrLFbGDe+JSi3+Xw== X-Received: by 2002:a17:906:c8d2:b0:a23:5411:1c59 with SMTP id gc18-20020a170906c8d200b00a2354111c59mr597304ejb.35.1706200033964; Thu, 25 Jan 2024 08:27:13 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id vo8-20020a170907a80800b00a317165027fsm908603ejc.13.2024.01.25.08.27.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 08:27:13 -0800 (PST) Message-ID: Subject: From: Liliana Marie Prikler To: control@debbugs.gnu.org Date: Thu, 25 Jan 2024 17:27:11 +0100 Content-Type: text/plain Content-Transfer-Encoding: 7bit User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 68716 Modularize gnome-desktop-service thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:642 listed in] [list.dnswl.org] 2.0 BLANK_SUBJECT Subject is present but empty -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) retitle 68716 Modularize gnome-desktop-service thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 25 11:28:11 2024 Received: (at 68716) by debbugs.gnu.org; 25 Jan 2024 16:28:11 +0000 Received: from localhost ([127.0.0.1]:49009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2aJ-0007qA-5I for submit@debbugs.gnu.org; Thu, 25 Jan 2024 11:28:11 -0500 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]:46132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2aH-0007ph-60 for 68716@debbugs.gnu.org; Thu, 25 Jan 2024 11:28:09 -0500 Received: by mail-ej1-x642.google.com with SMTP id a640c23a62f3a-a30f7c9574eso290644166b.0 for <68716@debbugs.gnu.org>; Thu, 25 Jan 2024 08:28:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706200077; x=1706804877; darn=debbugs.gnu.org; h=to:content-transfer-encoding:mime-version:subject:date:from :references:in-reply-to:message-id:from:to:cc:subject:date :message-id:reply-to; bh=QSoEgaxAUCjXAA0xePFBox2yI3qijn9AG/X6pCsh/BY=; b=L+KHXO0rbVswPWoKzfm3BnAuFnlp/c3gc2tzHmoQuD1aybWvuLMBWnjDwVzOBeuYJ3 Dz8jFb2UGKWTPEM++KsljKEA19e3BA7uy++bvZKOYrEjQ97qq8KafMeIEjCVTqjcTVKO ULRLiFFtRCz5ziVZVHnXGJd8ktWOtzu0z60v6iMl9iaiotc7s2flyu9yiK+OoRt3Ytl3 ydFFyjdD3ezbKtkuK6LZ8BYNULwuXsCeap/NKaqwcJ4CIcwkm4uS+knDL62ReDXiUg0D WO0MczxsaYQjd4tuMu+K3KrsFqVPw5OsannXNr/NQtqL5mQm1PmPSpMnHEvjIQ3xGejK Ez1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706200077; x=1706804877; h=to:content-transfer-encoding:mime-version:subject:date:from :references:in-reply-to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QSoEgaxAUCjXAA0xePFBox2yI3qijn9AG/X6pCsh/BY=; b=fS6kZmhKNZl+v0yth79K6RDDv8PnBe6u+0Iip6Zusikmo/1PJpGYFRmc36ypRd7tSD Gm9zu6MVtV93usPSeiYQnzN9bdXO5yqOL3v6ul6K/Z+etb4/9X7kqJ31N3JVzhBqVvZf PhlLjhpxf560cDtaMqoQf0y9Z3hX/hbP6DRB2Cg/Figv7NOrByS/HCf97a5aqH6/eJ3g 6pZVC4mIhGL1ml3p6hx97FGfYwjbes3sAQcIRZH2IoVU9/ocvLCCmD5AqoAlyMncsu0F AlnWo/DKXpQ1IT6MM5wR0F5VyKIw2QcHpH3BHg+CVJZ/HWYPDcDzA5GBMXFWXYR3jCHh 3+0w== X-Gm-Message-State: AOJu0YznzjpnZ5zjEB2Ywr+KMj3fYCE7WNwWox6Itn8K6BSPaN73CJgF /pGZlPARwXp1aNbNYHEf2Vk1oSdyGkpcfFXXoMOM+NashG8FVNVMGx1lTowxCgk= X-Google-Smtp-Source: AGHT+IHM4Ff32FA7ZVJQ/FWbKMuvfWLt0k2eh1avPqwcV5bVo0nUxGGLeSM/KM3/vBvZLA1p8adoqA== X-Received: by 2002:a17:906:4693:b0:a30:3418:8468 with SMTP id a19-20020a170906469300b00a3034188468mr449081ejr.132.1706200077411; Thu, 25 Jan 2024 08:27:57 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id vx10-20020a170907a78a00b00a3162e76a6csm1037731ejc.215.2024.01.25.08.27.56 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 08:27:57 -0800 (PST) Message-ID: In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:35:17 +0100 Subject: [PATCH gnome-team RFC 1/3] services: Modularise gnome-desktop-configuration. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/services/gnome.scm (%gnome-core-services, %gnome-core-shell) (%gnome-core-utilities, %gnome-essential-extras): New variables. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, ‘utilities’, and ‘extra-packages’. Deprecate ‘gnome’. (gnome-desktop-configuration-core-services, gnome-desktop-configuration-shell) (gnome-desktop-configuration-utilities) (gnome-desktop-configuration-extra-packages): Export publicly. (gnome-udev-rules, gnome-polkit-settings): Adjust accordingly. (gnome-profile): New variable. (gnome-desktop-service-type): Adjust accordingly. --- gnu/services/desktop.scm | 172 +++++++++++++++++++++++++++++++++++---- 1 file changed, 158 insertions(+), 14 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 5b79fbcda1..86be99252d 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -37,6 +37,7 @@ (define-module (gnu services desktop) #:use-module (gnu services) #:use-module (gnu services shepherd) #:use-module (gnu services base) + #:use-module (gnu services configuration) #:use-module (gnu services dbus) #:use-module (gnu services avahi) #:use-module (gnu services xorg) @@ -56,10 +57,16 @@ (define-module (gnu services desktop) #:use-module (gnu packages admin) #:use-module (gnu packages cups) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages fonts) + #:use-module (gnu packages geo) + #:use-module (gnu packages gstreamer) + #:use-module (gnu packages gtk) #:use-module (gnu packages gnome) + #:use-module (gnu packages gnupg) #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-plasma) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages xfce) #:use-module (gnu packages avahi) #:use-module (gnu packages xdisorg) @@ -73,6 +80,7 @@ (define-module (gnu services desktop) #:use-module (gnu packages nfs) #:use-module (gnu packages enlightenment) #:use-module (guix deprecation) + #:use-module (guix diagnostics) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -81,6 +89,7 @@ (define-module (gnu services desktop) #:use-module (guix gexp) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) + #:use-module (srfi srfi-35) #:use-module (ice-9 format) #:use-module (ice-9 match) #:export ( @@ -137,8 +146,16 @@ (define-module (gnu services desktop) cups-pk-helper-service-type sane-service-type + %gnome-core-services + %gnome-core-shell + %gnome-core-utilities + %gnome-essential-extras gnome-desktop-configuration gnome-desktop-configuration? + gnome-desktop-configuration-core-services + gnome-desktop-configuration-shell + gnome-desktop-configuration-utilities + gnome-desktop-configuration-extra-packages gnome-desktop-service gnome-desktop-service-type @@ -1382,11 +1399,100 @@ (define sane-service-type ;;; GNOME desktop service. ;;; -(define-record-type* gnome-desktop-configuration - make-gnome-desktop-configuration - gnome-desktop-configuration? - (gnome gnome-desktop-configuration-gnome - (default gnome))) +(define %gnome-core-services + (list accountsservice network-manager packagekit upower)) + +(define %gnome-core-shell + (list gdm + gnome-backgrounds + gnome-bluetooth + gnome-color-manager + gnome-desktop + gnome-initial-setup + gnome-keyring + gnome-menus + gnome-session + gnome-settings-daemon + gnome-shell-extensions + gnome-shell + gnome-user-docs + gnome-user-share + gvfs + mutter + orca + rygel + sushi + adwaita-icon-theme + glib-networking + gsettings-desktop-schemas)) + +(define %gnome-core-utilities + (list baobab + cheese + eog + epiphany + evince + file-roller + gnome-calculator + gnome-calendar + gnome-characters + gnome-clocks + gnome-console + gnome-contacts + gnome-disk-utility + gnome-font-viewer + gnome-maps + gnome-music + gnome-photos + gnome-screenshot + gnome-system-monitor + gnome-text-editor + gnome-weather + nautilus + simple-scan + totem + tracker-miners + xdg-desktop-portal-gnome + yelp)) + +(define %gnome-essential-extras + (list at-spi2-core + dbus + dconf + desktop-file-utils + font-abattis-cantarell + font-dejavu + gnome-default-applications ; XXX: Allow customization by records + gst-plugins-base + gst-plugins-good + gucharmap + pinentry-gnome3 + pulseaudio ; XXX: Replace with pipewire + shared-mime-info + system-config-printer + xdg-user-dirs + zenity)) + +(define-maybe/no-serialization package) + +(define-configuration/no-serialization gnome-desktop-configuration + (core-services + (list-of-packages %gnome-core-services) + "A list of packages that the GNOME Shell and applications may rely on.") + (shell + (list-of-packages %gnome-core-shell) + "A list of packages that constitute the GNOME Shell, without applications.") + (utilities + (list-of-packages %gnome-core-utilities) + "A list of packages that serve as applications to use on top of the \ +GNOME Shell.") + (gnome (maybe-package) "Deprecated. Do not use.") + (extra-packages + (list-of-packages %gnome-essential-extras) + "A list of GNOME-adjacent packages to also include. This field is intended +for users to add their own packages to their GNOME experience. Note, that it +already includes some packages that are considered essential by some (most?) +GNOME users.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1400,18 +1506,56 @@ (define (gnome-packages gnome names) (define (gnome-udev-rules config) "Return the list of GNOME dependencies that provide udev rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome '("gnome-settings-daemon")))) + (let* ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda + ((and pkg (= package-name "gnome-settings-daemon")) + (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome '("gnome-settings-daemon"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gnome-settings-daemon")))))))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome - '("gnome-settings-daemon" - "gnome-control-center" - "gnome-system-monitor" - "gvfs")))) + (let ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda ((and pkg (= package-name "gvfs")) (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome + '("gnome-settings-daemon" + "gnome-control-center" + "gnome-system-monitor" + "gvfs"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gvfs")))))))) + +(define (gnome-profile config) + "Return a list of packages propagated through CONFIG." + (append + (gnome-desktop-configuration-core-services config) + (gnome-desktop-configuration-shell config) + (gnome-desktop-configuration-utilities config) + (let ((gnome-meta (gnome-desktop-configuration-gnome config))) + (if (maybe-value-set? gnome-meta) + (begin + (warning + (gnome-desktop-configuration-source-location config) + (G_ "Using a meta-package for gnome-desktop is discouraged.~%")) + (list gnome-meta)) + (list))) + (gnome-desktop-configuration-extra-packages config))) (define gnome-desktop-service-type (service-type @@ -1422,7 +1566,7 @@ (define gnome-desktop-service-type (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type - (compose list gnome-desktop-configuration-gnome)))) + gnome-profile))) (default-value (gnome-desktop-configuration)) (description "Run the GNOME desktop environment."))) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 25 11:28:15 2024 Received: (at 68716) by debbugs.gnu.org; 25 Jan 2024 16:28:15 +0000 Received: from localhost ([127.0.0.1]:49011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2aM-0007qP-P3 for submit@debbugs.gnu.org; Thu, 25 Jan 2024 11:28:15 -0500 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]:53643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2aI-0007pk-6I for 68716@debbugs.gnu.org; Thu, 25 Jan 2024 11:28:10 -0500 Received: by mail-ej1-x643.google.com with SMTP id a640c23a62f3a-a31798a73bfso62808566b.3 for <68716@debbugs.gnu.org>; Thu, 25 Jan 2024 08:28:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706200078; x=1706804878; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=XMaiTrOR7wyMTGgByhvorOqHPsutxCiCIh2m8cnowsc=; b=dHfWj9y+C0uGpUI7IWslwN8y+g+ZmzzfHKRpqKeVDodLCe7rAIouWviB/9RRcOzYCd 5E5tEau1TQ5NI4DeVIHHqYOpw3ciVOwLJcn3PEmh5fhoGWI+H0AbsX6HbOvGjJ1zxPQY GW3GC3oUlGORJ+klTnzcuUsD7AnU7O2K3gwUyUZNcM0rjzgigRRYZ+ybBN2nabjdEDmQ GQ01raPeXzEsocvU0ewqCgHFTfM22gx10oLbgL8xxXjSw+4DUKWpZTgDkI0b2O2CP50W 4lMm/u6cFYDXuQRPfLkmRl1HyY7roIZwRzgLfhQ7hrI6BXgtLwwfJr5Zll2SMYfahT4B 0aLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706200078; x=1706804878; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XMaiTrOR7wyMTGgByhvorOqHPsutxCiCIh2m8cnowsc=; b=q3+j8N4HNTFaS3/lGM6NKzI+2VBxqDxSsd5H2VK2PcAu/jayICfxUCY4czbdczUGOy WkuIFSmu0YSM1/tHCdOmXm0/8dXQKKaeDvk7MJ8yDkyuIJLQ0MOdbuimPBwAnm5fhNHw NmVcdBUDJB+lbR98wfhjbLP95RcBefZWyVDIhDRyiyyX1F8I+dAS+8nBxDSmOr8WHMj+ EjSJv4TQA6A7ZBISC0LZ90C6h0LAx2hSdckdVeaOBw/4yLWGNm4b9G0D9hB7RQiIkavj d1iL2eFZ8zYxD3QbFGzSfNMBdG18vadxSCPJDgKiVevi8/zEXkB7pla6w8oGOfj4wAoC tZpQ== X-Gm-Message-State: AOJu0YzIc2MOanHBN96cN+C+Fc0hsglEHjh1vRYin98q/5WSYHtCRBf/ dscWdvvNpjsmwy5ukGXfNjX6JfNEtYK7deMN4ZFNafoRMuMm2vkbmgiZ3huIMdQ= X-Google-Smtp-Source: AGHT+IGtmFvg870slKb6PQk9Z8Jnw36qVGwDH4V+eglgB99nUdehn7kUb557zeSR41Izckud5lB8VQ== X-Received: by 2002:a17:906:ae06:b0:a31:3162:4a71 with SMTP id le6-20020a170906ae0600b00a3131624a71mr603408ejb.62.1706200078487; Thu, 25 Jan 2024 08:27:58 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id vx10-20020a170907a78a00b00a3162e76a6csm1037731ejc.215.2024.01.25.08.27.58 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 08:27:58 -0800 (PST) Message-ID: <5d7ba29661a605837ccb75a502b223c698c234b4.1706199146.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 17:06:34 +0100 Subject: [PATCH gnome-team RFC 3/3] services: gnome-desktop: Add core packages for GNOME 44. X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/services/desktop.scm (%gnome-core-shell): Add gnome-remote-desktop. (%gnome-core-utilities): Add gnome-connections. --- gnu/services/desktop.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 86be99252d..f929a6cf31 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1411,6 +1411,7 @@ (define %gnome-core-shell gnome-initial-setup gnome-keyring gnome-menus + gnome-remote-desktop gnome-session gnome-settings-daemon gnome-shell-extensions @@ -1437,6 +1438,7 @@ (define %gnome-core-utilities gnome-calendar gnome-characters gnome-clocks + gnome-connections gnome-console gnome-contacts gnome-disk-utility -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 25 11:28:15 2024 Received: (at 68716) by debbugs.gnu.org; 25 Jan 2024 16:28:15 +0000 Received: from localhost ([127.0.0.1]:49013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2aN-0007qR-2h for submit@debbugs.gnu.org; Thu, 25 Jan 2024 11:28:15 -0500 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]:57513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2aH-0007pi-Nl for 68716@debbugs.gnu.org; Thu, 25 Jan 2024 11:28:10 -0500 Received: by mail-ej1-x641.google.com with SMTP id a640c23a62f3a-a2dc7827a97so777813166b.2 for <68716@debbugs.gnu.org>; Thu, 25 Jan 2024 08:28:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706200078; x=1706804878; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dlBx0qzHkpy06SGv351MbGE5yrlnuH4O3JfAVUe7tLc=; b=RfCpIdPVqpKsqr6jrP1CnXcxreuorm/Pv9vn4QeX9/jRPl+NwklgRKFYJLd2jg0h2H VIjZKA38RmKrNoP+i48S+db2HsQSN5K4kQKpJNtKt3ZIc99N0xMkHzDRTcyfByloUrrB ZGg0ZYZfxYN8a3sDcn0ucd6CADwyToCejOd+PF7EmG2hjq1r6h+69lc5CtBCVI1K+TO5 c0RqiF/wFRwXfXqvP8VRvctw5b1qgi+pMoUVkG9dXFYGzHvyB3N7ERQXVRtdKOXJygt1 eAj+3yvEdccZitJroqQEn9k9CfmyEAIiik+lYwol/RfQkc9aZn0n8Em5MVkwasyaHWbo mn8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706200078; x=1706804878; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dlBx0qzHkpy06SGv351MbGE5yrlnuH4O3JfAVUe7tLc=; b=KwAwKqJjHRcJn7yN6r9r8J45ZBJk+HYRujZY43akpn3OjCdO4uHBFurMEayrez8zAb hQM882th45NZcgHTxfxEMeVpClNgzHCAaKiiD8uQ/KfSuCzsehj5zN6rKNkL/DDDVrmd l8lCNeiClspML8dt2meE76G9/bls40qfy9dXedSjHdLSrEHV+svurykfY2XST5GatMhj HZu31CDUPKcRRY74gSFeyJCLVFXm8sYVW3UZXpeTDa+1ridRMxecCz0vwEyNCLc5Fs9n dYjHPF9ci0r4lZf9I+Ll/lXUbPjirxsvucEykcc2iWEtq8EAvx+e44CYBqRqZxbfMPbV ktwg== X-Gm-Message-State: AOJu0YwnUGttLe6dGXJY7y8GlFEkAETLekjfSv8KHND37wXv+C29vtFf fHExD35kgqBiXFZQUZTJFFYc4GBKvAf050/Sf/NY44CGCCHAkL8SlV6wzq1ZOXw= X-Google-Smtp-Source: AGHT+IFKLmqoY2bH8YgtcYRO/9yuelmMP2PRUQpQkSu9/RIj+skKe7OIAYyW3q1Ok89fP7Hm9FuhuQ== X-Received: by 2002:a17:907:d509:b0:a2f:beff:49be with SMTP id wb9-20020a170907d50900b00a2fbeff49bemr745444ejc.125.1706200077943; Thu, 25 Jan 2024 08:27:57 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id vx10-20020a170907a78a00b00a3162e76a6csm1037731ejc.215.2024.01.25.08.27.57 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 08:27:57 -0800 (PST) Message-ID: In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:55:44 +0100 Subject: [PATCH gnome-team RFC 2/3] gnu: Deprecate gnome meta-package. X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable towards the needs of users. As such, it is silly to insist on a single meta-package to make everyone happy. * gnu/packages/gnome.scm (gnome): Deprecate. --- gnu/packages/gnome.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3d89f06d6a..2726c052d4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -236,6 +236,7 @@ (define-module (gnu packages gnome) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix deprecation) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) @@ -10131,7 +10132,7 @@ (define-public gnome-weather (home-page "https://wiki.gnome.org/Apps/Weather") (license license:gpl2+))) -(define-public gnome +(define-deprecated/public gnome #f (package (name "gnome") (version (package-version gnome-shell)) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 25 12:09:01 2024 Received: (at 68716) by debbugs.gnu.org; 25 Jan 2024 17:09:01 +0000 Received: from localhost ([127.0.0.1]:49086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT3Dp-0003Iw-1i for submit@debbugs.gnu.org; Thu, 25 Jan 2024 12:09:01 -0500 Received: from planete-kraus.eu ([89.234.140.182]:36722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT3Dl-0003If-Qz for 68716@debbugs.gnu.org; Thu, 25 Jan 2024 12:08:59 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id f415cc7c; Thu, 25 Jan 2024 17:08:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:content-transfer-encoding:mime-version; s= albinoniA; bh=QPRScurqpZNRGiFrHI8mqAF4Lzs=; b=GM9r5a0yPWSS0M6CZn YL/vvCQvDTtJg3GEeioKPt7Gv5gLOi9ane65oVwiD3/qkuKRrCFs4x/G25G5wzla ssSbLYgC46y29ktV7pX/L90uOo+Y4M8C2vot9kCA93hIcvTH5kPHmOXO/7kheFS/ /0TTBovywqGIAbKTTvRY/lsVUjnT/RcnH8Pya3m+H2rfM8x+ur5+bKSEOsVhNfV2 qZ2j3HQLNfUCZHLbh3SlnmTyWVvlpPITwjfBKRdgxqmbGRrgRSgW8tU1VKn3XPGM Mco6HWTfwQCmFm4PLkE7GOMJJ11wC6XrzcJQ6Wy8+ZViXtFamYGcCilHy5VQ09Db WuJQ== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 36904fcc (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 25 Jan 2024 17:08:44 +0000 (UTC) Message-ID: <4d7b7ed7da044d557271f02b3d90ba87ce12ccf0.camel@planete-kraus.eu> Subject: Re: [bug#68716] [PATCH gnome-team RFC 1/3] services: Modularise gnome-desktop-configuration. From: Vivien Kraus To: Liliana Marie Prikler , 68716@debbugs.gnu.org Date: Thu, 25 Jan 2024 18:12:09 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello! Thank you for this series. Le jeudi 25 janvier 2024 =C3=A0 16:35 +0100, Liliana Marie Prikler a =C3=A9= crit=C2=A0: > =C2=A0(define (gnome-udev-rules config) > =C2=A0=C2=A0 "Return the list of GNOME dependencies that provide udev rul= es." > -=C2=A0 (let ((gnome (gnome-desktop-configuration-gnome config))) > -=C2=A0=C2=A0=C2=A0 (gnome-packages gnome '("gnome-settings-daemon")))) > +=C2=A0 (let* ((gnome (gnome-desktop-configuration-gnome config)) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (shell (gnome-desktop-c= onfiguration-shell config))) > +=C2=A0=C2=A0=C2=A0 (or (any (match-lambda > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ((and pkg (=3D package-name "gnome-settings-daemon")) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (list pkg)) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (_ #f)) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= shell) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (and (maybe-value-set? gnome) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= (gnome-packages gnome '("gnome-settings-daemon"))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (raise > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (condition > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (&error-location > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (location (= gnome-desktop-configuration-source-location > config))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (&message (messag= e (G_ "Missing gnome-settings- > daemon")))))))) > =C2=A0 Is there a reason why we can=E2=80=99t just add everything (like what your = new gnome-profile function does)? As far as I understand, the user doesn=E2=80=99t have a say over which individual rules will be used, among the rules that come from the same package. So if we want the user to have full control over the rules that are picked, then the current configuration record does not allow sufficient precision. Also, we now have udev hardware files. I=E2=80=99m not sure we have any GNO= ME packages that install hardware files, but the user might have some. The gnome-udev-rules function name is misleading now (sorry, my bad, I should have renamed it when the udev service changed), because every package listed here will also have its hardware files installed, not just rules. If you want to pick rules separately from hardware files, you have to use file->udev-rule, file->udev-hardware (or udev-rule and udev-hardware) from (gnu services base). > @@ -1422,7 +1566,7 @@ (define gnome-desktop-service-type > (service-extension polkit-service-type > gnome-polkit-settings) > (service-extension profile-service-type > - (compose list gnome-desktop- > configuration-gnome)))) > + gnome-profile))) > (default-value (gnome-desktop-configuration)) > (description "Run the GNOME desktop environment."))) I think the gnome-desktop-service-type could be easily made extensible, so that e.g a gnome-circle-service-type could add all the circles applications in their respective sections. Maybe it could be extended with other instances of gnome-desktop- configuration? It looks to me that merging multiple instances is quite easy, as you could just merge the lists for each category, and the "gnome" field of the extension could simply be ignored. There are still issues, such as: how can a service extension replace a package with a conflicting one. Maybe that case is too far out of scope. That being said, the extensibility of the gnome-desktop-service-type is not very much needed, because we can also extend the udev, polkit and profile services directly. Other than that, the series looks great to me! Vivien From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 25 12:39:14 2024 Received: (at 68716) by debbugs.gnu.org; 25 Jan 2024 17:39:14 +0000 Received: from localhost ([127.0.0.1]:49126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT3h4-00048H-0o for submit@debbugs.gnu.org; Thu, 25 Jan 2024 12:39:14 -0500 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:59643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT3h1-000482-4M for 68716@debbugs.gnu.org; Thu, 25 Jan 2024 12:39:13 -0500 Received: by mail-lj1-x242.google.com with SMTP id 38308e7fff4ca-2cf2b218c62so24945771fa.2 for <68716@debbugs.gnu.org>; Thu, 25 Jan 2024 09:39:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706204339; x=1706809139; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=fYJJrlnravttSfXEj9f3GMGb00L4Hr7ir0Q5AcGVBCw=; b=hPdFW/WtMXspZl+9FlTo+XkSDYVLPjXTt4EV7ypaxJjldEKuZqSF0BIAEEBGReYv+m DcFds5mlz/g5LHD9kPtzCn3t25nrF3YqYj9QwQBbu04BKNMhh6op+cfcWh8MGZwSGpUn kY4x9q1AZKl0GNN3jkH0s9MF2QAZtg/tmbioJlm5fGbxLP/sjfs1q3XeliOKru1y+CC/ qo6/07z4CapDMTCkpO5ekX8KnbPASplrESx6R6TJVVLsUP7xfh0Ti8GZ9wqFNsvsgYTH 2V8g6SYLJoc4FdXTpvonpXOSBV19Rt1IGO6Oylp3yW2Fg7GrRkD4twSZeS04rMTjP30q V+qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706204339; x=1706809139; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fYJJrlnravttSfXEj9f3GMGb00L4Hr7ir0Q5AcGVBCw=; b=q9IcKGmynAVKoQZUxAco6l1O7crlPz6Hz27BuK1NNAInkNOY/U6VTPQryLtHKo+Yxx w/bEf/B2fZvxDHtmIB95dFrn07QSgTPYIUbFPVvCV9ntUUsH+CraHcKfiEKVAobCM3Sg BviF7RAdgR4yGENtO6TRZPcAJ95ckEJYhIrSKeWPsPRcYAsopt5R5JGTEhbKYjukWVim z6Kjb4FpPq5rnXb9hSMxclsmU+dGGeOxcE51DazQXJuMAY4/hKCB8xH0WSi8QZbVkB9U LkFZrcmCOi2+h0wK/NMd0kJ8FdkpzIxLE4/432ntNivqwjNNfVHDwkfr3zQadAAm3eVH npCA== X-Gm-Message-State: AOJu0YyNfvFs84HyGrgGCC3wkJyn6Gu9FtJZqbLqML4sD3T85Wb4Jfbj omTtHHcf29tT+FULhIwZunjQZGp6ISoyjy9/gjxMBaokPyhB+2hb X-Google-Smtp-Source: AGHT+IFsqzzQ0EkqaKIuS6R0xPZiZWGFtY24fRwdVz/hlVWR1iGePcJtFMzyTNuEabWaBntV2GKQ8w== X-Received: by 2002:a05:6512:33ca:b0:50e:66c1:f886 with SMTP id d10-20020a05651233ca00b0050e66c1f886mr52997lfg.148.1706204338686; Thu, 25 Jan 2024 09:38:58 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id a17-20020a1709066d5100b00a3483e12dd2sm185044ejt.16.2024.01.25.09.38.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 09:38:58 -0800 (PST) Message-ID: <1dc89038a0afc877b7b0e7de3166242406be0033.camel@gmail.com> Subject: Re: [bug#68716] [PATCH gnome-team RFC 1/3] services: Modularise gnome-desktop-configuration. From: Liliana Marie Prikler To: Vivien Kraus , 68716@debbugs.gnu.org Date: Thu, 25 Jan 2024 18:38:57 +0100 In-Reply-To: <4d7b7ed7da044d557271f02b3d90ba87ce12ccf0.camel@planete-kraus.eu> References: <4d7b7ed7da044d557271f02b3d90ba87ce12ccf0.camel@planete-kraus.eu> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Donnerstag, dem 25.01.2024 um 18:12 +0100 schrieb Vivien Kraus: > Hello! >=20 > Thank you for this series. >=20 > Le jeudi 25 janvier 2024 =C3=A0 16:35 +0100, Liliana Marie Prikler a > =C3=A9crit=C2=A0: > > =C2=A0(define (gnome-udev-rules config) > > =C2=A0=C2=A0 "Return the list of GNOME dependencies that provide udev r= ules." > > -=C2=A0 (let ((gnome (gnome-desktop-configuration-gnome config))) > > -=C2=A0=C2=A0=C2=A0 (gnome-packages gnome '("gnome-settings-daemon")))) > > +=C2=A0 (let* ((gnome (gnome-desktop-configuration-gnome config)) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (shell (gnome-desktop= -configuration-shell config))) > > +=C2=A0=C2=A0=C2=A0 (or (any (match-lambda > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ((and pkg (=3D package-name "gnome-settings-daemon")) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 (list pkg)) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 (_ #f)) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 shell) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (and (maybe-value-set? gnom= e) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (gnome-packages gnome '("gnome-settings-daemon"))) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (raise > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (condition > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (&error-locatio= n > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (location= (gnome-desktop-configuration-source-location > > config))) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (&message (mess= age (G_ "Missing gnome-settings- > > daemon")))))))) > > =C2=A0 > Is there a reason why we can=E2=80=99t just add everything (like what you= r > new gnome-profile function does)? >=20 > As far as I understand, the user doesn=E2=80=99t have a say over which > individual rules will be used, among the rules that come from the > same package. So if we want the user to have full control over the > rules that are picked, then the current configuration record does not > allow sufficient precision. >=20 > Also, we now have udev hardware files. I=E2=80=99m not sure we have any G= NOME > packages that install hardware files, but the user might have some. > The gnome-udev-rules function name is misleading now (sorry, my bad, > I should have renamed it when the udev service changed), because > every package listed here will also have its hardware files > installed, not just rules. If you want to pick rules separately from > hardware files, you have to use file->udev-rule, file->udev-hardware > (or udev-rule and udev-hardware) from (gnu services base). That is a good point that I've been debating with myself. For v1, I simply aimed at service equivalence, but I have yet to decide whether that's desirable or useful. I don't want to simply drop all packages into udev-service-type, though, unless there's some clever filtering going on behind the back. I'm not sure at which stage we could efficiently check for the presence of these magic directories and add them. > > @@ -1422,7 +1566,7 @@ (define gnome-desktop-service-type > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (service-e= xtension polkit-service-type > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gnome-polkit-settings) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (service-e= xtension profile-service-type > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (compose list gnome-desktop- > > configuration-gnome)))) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 gnome-profile))) > > =C2=A0=C2=A0=C2=A0 (default-value (gnome-desktop-configuration)) > > =C2=A0=C2=A0=C2=A0 (description "Run the GNOME desktop environment."))) > I think the gnome-desktop-service-type could be easily made > extensible, so that e.g a gnome-circle-service-type could add all the > circles applications in their respective sections. >=20 > Maybe it could be extended with other instances of gnome-desktop- > configuration? It looks to me that merging multiple instances is > quite easy, as you could just merge the lists for each category, and > the "gnome" field of the extension could simply be ignored. There are > still issues, such as: how can a service extension replace a package > with a conflicting one. Maybe that case is too far out of scope. In my humble opinion, instantiating services twice and merging them doesn't make sense for a number of services, with gnome being one of them. We already have an escape hatch for further packages and configuration records support extension via inheritance (+ public accessors). > That being said, the extensibility of the gnome-desktop-service-type > is not very much needed, because we can also extend the udev, polkit > and profile services directly. That too. Cheers From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 26 16:13:24 2024 Received: (at 68716) by debbugs.gnu.org; 26 Jan 2024 21:13:24 +0000 Received: from localhost ([127.0.0.1]:52922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTTVs-0002bb-K2 for submit@debbugs.gnu.org; Fri, 26 Jan 2024 16:13:24 -0500 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:44243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTTVr-0002bN-PL for 68716@debbugs.gnu.org; Fri, 26 Jan 2024 16:13:24 -0500 Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-42a75ec56dcso8028811cf.0 for <68716@debbugs.gnu.org>; Fri, 26 Jan 2024 13:13:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706303591; x=1706908391; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=dM5EEjDy2w9SBgCjHkEO3EGFICGolqHsCylEK5/eKu4=; b=fAW+jLfr/tBxJh5lM5wG5wFBV09OVV/KVNj+xARjM4AgZNwg1IdDf9sNAn8PJRIdeG NTjgtWd/qJfOCnSlaoqQ0cTITXR0C7synXGbFRW30KJX6ZtqkUlZL0YiKROM7ihFfU5Y tWm2cGYzJ5psF7XwUqC3p7JP01gPauVOFtvyuDXBpOfgLAoZ17AC8aHdCMSCndaGTTm9 59HDBooEgjNj0KOWGUv3kxW6A0brM9ArvcV/T7dx3eLr98/OKW/bSk/2a6l3NYilPop4 MxmN0JBf6P1KEFL785zJmOnLOOJ78f6qgop5H5cxOvMBbi7NcORv7vT+DIoh3jxDo+yB JxGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706303591; x=1706908391; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dM5EEjDy2w9SBgCjHkEO3EGFICGolqHsCylEK5/eKu4=; b=ZIM0PFFZNvRqp6ysPyCoOM8L8o5+pjrKtnNMKpmnZGenXvzKCXj/mxc3+qCTF5aLJF Wmg/Sp29ntBRIRTbpcO+AJ7Pu9OoBfdLqmgsZ/RjyfZ4WRe5vjdn3NI7hOgtnacJpV73 aNwNGGAKMC+55+lIZFwPJ7TKGACiGmax1IaoGWsm13n0yk11zll5hhrqIWQWPCnfQBhJ RA3vQrkmW3oUePqFRJLoLg+/qlacI0U5B4qsMA26gqgSRXdTNigy3Rqhs/7GeMP/VdMc NS4M/z31r77saTSXEshHWeT5FptRhKTLyX5zAucZFFTAa/Im4IBTReg8s+94A4G9N7Mh ocpg== X-Gm-Message-State: AOJu0YwNyf7VGGfmiocqGyO60rh6pMd9Q/wR76EP70JDXZfjlgDsbq23 Gylkq0AvIIRN7pz1/1tNseS7P2EZGNs/PgBXqRO3sJCUE03kEB9x X-Google-Smtp-Source: AGHT+IEZCdirDnpQXQgNkhAjCLrebDmCYSxh9queAMSDUSL+FMRSEFxws6ecknAKHk+9l6b2AG+zVA== X-Received: by 2002:ac8:5a53:0:b0:42a:74e1:d2b with SMTP id o19-20020ac85a53000000b0042a74e10d2bmr561620qta.20.1706303591389; Fri, 26 Jan 2024 13:13:11 -0800 (PST) Received: from hurd (dsl-153-164.b2b2c.ca. [66.158.153.164]) by smtp.gmail.com with ESMTPSA id ep5-20020a05622a548500b00429acfe5bb4sm392499qtb.40.2024.01.26.13.13.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 13:13:10 -0800 (PST) From: Maxim Cournoyer To: Liliana Marie Prikler Subject: Re: [bug#68716] [PATCH gnome-team RFC 0/3] *** SUBJECT HERE *** In-Reply-To: (Liliana Marie Prikler's message of "Thu, 25 Jan 2024 17:12:26 +0100") References: Date: Fri, 26 Jan 2024 16:13:08 -0500 Message-ID: <87le8b23yz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, 68716@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Liliana, Liliana Marie Prikler writes: > *** BLURB HERE *** > > Liliana Marie Prikler (3): > services: Modularise gnome-desktop-configuration. > gnu: Deprecate gnome meta-package. > services: gnome-desktop: Add core packages for GNOME 44. > > gnu/packages/gnome.scm | 3 +- Since this is an RFC, you may want to leave it open for the full 2 weeks, but otherwise, I like the directive of making the core set of GNOME packages configurable. Reviewed-by: Maxim Cournoyer -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 15:02:24 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 20:02:24 +0000 Received: from localhost ([127.0.0.1]:52349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Ae-0004F8-2c for submit@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:24 -0500 Received: from planete-kraus.eu ([89.234.140.182]:37406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Aa-0004Eo-FN for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:22 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 2545c3bc; Mon, 5 Feb 2024 20:02:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:from:date:subject:mime-version:content-type :content-transfer-encoding:to:cc; s=albinoniB; bh=ET8QNYKTTpjnQT 9O5Vesu2sDktc=; b=xU/+7gTWPevdlzij97agbHW+NsyKHlygiD5vxuB51D5SQA KqoTYHwuWztz2l75W78Ni1XWsMNWlqJNV21rwKlOPOLeagoJLjPK0GTAGeJ/aAyd GZH9rJbB0YW+ftcmTJn8IMzJ3hrIAuL9Y5H0NLzbyghidPlLZpbexD1dgwm5X6IR vAJz1DS4aLnxumo2K3wtCyYEZBCQHK1+mRjTUPgYM7swWrrZz39fywfv1B+shMBP q8MzbK3uEz3xsOYeqdP/6EzYQq6AXH5ZL4C0Wh6qo7O+zUtPjth1OrT/CZHYvoyp vEFDK2kPJMNYClZOCuO1rJSMJT8nDI/ZvQu4WhQg== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id a340f0e2 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 20:02:00 +0000 (UTC) Message-ID: From: Vivien Kraus Date: Mon, 5 Feb 2024 21:00:01 +0100 Subject: [PATCH gnome-team v2 0/5] Modularization of the gnome desktop service with udev blocklist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: 68716@debbugs.gnu.org User-Agent: Evolution 3.48.4 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear guix, Here is a suggestion for the udev service type extension of the gnome desktop service: add every rule and hardware, and let the system administrator configure a blocklist of rules and hardware files. This way, when newer packages provide different rules and hardware, they are automatically used unless explicitely disabled. What do you think? Best regards, Vivien Liliana Marie Prikler (3): services: Modularise gnome-desktop-configuration. services: gnome-desktop: Add core packages for GNOME 44. gnu: Deprecate gnome meta-package. Vivien Kraus (2): services: Rename gnome-udev-rules. services: gnome: Use a blocklist for udev configurations. gnu/packages/gnome.scm | 3 +- gnu/services/desktop.scm | 214 +++++++++++++++++++++++++++++++++++---- 2 files changed, 199 insertions(+), 18 deletions(-) base-commit: 6d3c414f11e5ec9eb029fbfd20fb08731c2b9aab -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 15:02:28 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 20:02:28 +0000 Received: from localhost ([127.0.0.1]:52354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Ah-0004Fd-Eg for submit@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:28 -0500 Received: from planete-kraus.eu ([89.234.140.182]:37406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Ad-0004Eo-8q for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:24 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 5bce9231; Mon, 5 Feb 2024 20:02:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:mime-version :content-type:content-transfer-encoding:to:cc; s=albinoniB; bh=U x2jSJNdiZX67B9KVp1sI3aPBm8=; b=luQCnr1q11jGnze+s00v+1ZFPH9uo9+DT /k2Lo+cpMJ3v1Bo+d9xtEckfeq0bRQLZ4XLLE7F2FD1ck1/hksPaPGNPR96wm3vX nRPioo+pLytZQE0V2IMmpiaawW4KY1sTvsVbnmV9Z0G/9Tm6d8tIjuaWNqw99bBO hR6e81GwUDwpcdVfDxGoJcxdNkssvX/9f/Cy+2FYsWJQ/rtlML/4274y9P9B/26P jL2QVcgLVN8Pg5GUJJACJPwwAmn4pULnx10WUqHLSf19CmEKfNAKg6aT63mF/Rnk G42L8cl7aHh3VdacNz9+q8pAbcMcsuNgY5EIopUABrRm0KG1Jzw5A== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 05cddff9 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 20:02:03 +0000 (UTC) Message-ID: In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:35:17 +0100 Subject: [PATCH gnome-team v2 1/5] services: Modularise gnome-desktop-configuration. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: 68716@debbugs.gnu.org User-Agent: Evolution 3.48.4 X-Spam-Score: 4.0 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/gnome.scm (%gnome-core-services, %gnome-core-shell) (%gnome-core-utilities, %gnome-essential-extras): New variables. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, [...] Content analysis details: (4.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/gnome.scm (%gnome-core-services, %gnome-core-shell) (%gnome-core-utilities, %gnome-essential-extras): New variables. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/services/gnome.scm (%gnome-core-services, %gnome-core-shell) (%gnome-core-utilities, %gnome-essential-extras): New variables. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, ‘utilities’, and ‘extra-packages’. Deprecate ‘gnome’. (gnome-desktop-configuration-core-services, gnome-desktop-configuration-shell) (gnome-desktop-configuration-utilities) (gnome-desktop-configuration-extra-packages): Export publicly. (gnome-udev-rules, gnome-polkit-settings): Adjust accordingly. (gnome-profile): New variable. (gnome-desktop-service-type): Adjust accordingly. --- gnu/services/desktop.scm | 172 +++++++++++++++++++++++++++++++++++---- 1 file changed, 158 insertions(+), 14 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 5b79fbcda1..86be99252d 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -37,6 +37,7 @@ (define-module (gnu services desktop) #:use-module (gnu services) #:use-module (gnu services shepherd) #:use-module (gnu services base) + #:use-module (gnu services configuration) #:use-module (gnu services dbus) #:use-module (gnu services avahi) #:use-module (gnu services xorg) @@ -56,10 +57,16 @@ (define-module (gnu services desktop) #:use-module (gnu packages admin) #:use-module (gnu packages cups) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages fonts) + #:use-module (gnu packages geo) + #:use-module (gnu packages gstreamer) + #:use-module (gnu packages gtk) #:use-module (gnu packages gnome) + #:use-module (gnu packages gnupg) #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-plasma) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages xfce) #:use-module (gnu packages avahi) #:use-module (gnu packages xdisorg) @@ -73,6 +80,7 @@ (define-module (gnu services desktop) #:use-module (gnu packages nfs) #:use-module (gnu packages enlightenment) #:use-module (guix deprecation) + #:use-module (guix diagnostics) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -81,6 +89,7 @@ (define-module (gnu services desktop) #:use-module (guix gexp) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) + #:use-module (srfi srfi-35) #:use-module (ice-9 format) #:use-module (ice-9 match) #:export ( @@ -137,8 +146,16 @@ (define-module (gnu services desktop) cups-pk-helper-service-type sane-service-type + %gnome-core-services + %gnome-core-shell + %gnome-core-utilities + %gnome-essential-extras gnome-desktop-configuration gnome-desktop-configuration? + gnome-desktop-configuration-core-services + gnome-desktop-configuration-shell + gnome-desktop-configuration-utilities + gnome-desktop-configuration-extra-packages gnome-desktop-service gnome-desktop-service-type @@ -1382,11 +1399,100 @@ (define sane-service-type ;;; GNOME desktop service. ;;; -(define-record-type* gnome-desktop-configuration - make-gnome-desktop-configuration - gnome-desktop-configuration? - (gnome gnome-desktop-configuration-gnome - (default gnome))) +(define %gnome-core-services + (list accountsservice network-manager packagekit upower)) + +(define %gnome-core-shell + (list gdm + gnome-backgrounds + gnome-bluetooth + gnome-color-manager + gnome-desktop + gnome-initial-setup + gnome-keyring + gnome-menus + gnome-session + gnome-settings-daemon + gnome-shell-extensions + gnome-shell + gnome-user-docs + gnome-user-share + gvfs + mutter + orca + rygel + sushi + adwaita-icon-theme + glib-networking + gsettings-desktop-schemas)) + +(define %gnome-core-utilities + (list baobab + cheese + eog + epiphany + evince + file-roller + gnome-calculator + gnome-calendar + gnome-characters + gnome-clocks + gnome-console + gnome-contacts + gnome-disk-utility + gnome-font-viewer + gnome-maps + gnome-music + gnome-photos + gnome-screenshot + gnome-system-monitor + gnome-text-editor + gnome-weather + nautilus + simple-scan + totem + tracker-miners + xdg-desktop-portal-gnome + yelp)) + +(define %gnome-essential-extras + (list at-spi2-core + dbus + dconf + desktop-file-utils + font-abattis-cantarell + font-dejavu + gnome-default-applications ; XXX: Allow customization by records + gst-plugins-base + gst-plugins-good + gucharmap + pinentry-gnome3 + pulseaudio ; XXX: Replace with pipewire + shared-mime-info + system-config-printer + xdg-user-dirs + zenity)) + +(define-maybe/no-serialization package) + +(define-configuration/no-serialization gnome-desktop-configuration + (core-services + (list-of-packages %gnome-core-services) + "A list of packages that the GNOME Shell and applications may rely on.") + (shell + (list-of-packages %gnome-core-shell) + "A list of packages that constitute the GNOME Shell, without applications.") + (utilities + (list-of-packages %gnome-core-utilities) + "A list of packages that serve as applications to use on top of the \ +GNOME Shell.") + (gnome (maybe-package) "Deprecated. Do not use.") + (extra-packages + (list-of-packages %gnome-essential-extras) + "A list of GNOME-adjacent packages to also include. This field is intended +for users to add their own packages to their GNOME experience. Note, that it +already includes some packages that are considered essential by some (most?) +GNOME users.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1400,18 +1506,56 @@ (define (gnome-packages gnome names) (define (gnome-udev-rules config) "Return the list of GNOME dependencies that provide udev rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome '("gnome-settings-daemon")))) + (let* ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda + ((and pkg (= package-name "gnome-settings-daemon")) + (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome '("gnome-settings-daemon"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gnome-settings-daemon")))))))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome - '("gnome-settings-daemon" - "gnome-control-center" - "gnome-system-monitor" - "gvfs")))) + (let ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda ((and pkg (= package-name "gvfs")) (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome + '("gnome-settings-daemon" + "gnome-control-center" + "gnome-system-monitor" + "gvfs"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gvfs")))))))) + +(define (gnome-profile config) + "Return a list of packages propagated through CONFIG." + (append + (gnome-desktop-configuration-core-services config) + (gnome-desktop-configuration-shell config) + (gnome-desktop-configuration-utilities config) + (let ((gnome-meta (gnome-desktop-configuration-gnome config))) + (if (maybe-value-set? gnome-meta) + (begin + (warning + (gnome-desktop-configuration-source-location config) + (G_ "Using a meta-package for gnome-desktop is discouraged.~%")) + (list gnome-meta)) + (list))) + (gnome-desktop-configuration-extra-packages config))) (define gnome-desktop-service-type (service-type @@ -1422,7 +1566,7 @@ (define gnome-desktop-service-type (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type - (compose list gnome-desktop-configuration-gnome)))) + gnome-profile))) (default-value (gnome-desktop-configuration)) (description "Run the GNOME desktop environment."))) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 15:02:28 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 20:02:28 +0000 Received: from localhost ([127.0.0.1]:52356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Ai-0004Fg-3z for submit@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:28 -0500 Received: from planete-kraus.eu ([89.234.140.182]:37406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Ae-0004Eo-HK for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:25 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id e251ea62; Mon, 5 Feb 2024 20:02:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniB; bh=baijmumi2VMGM5BicG73Ls5w+vQ=; b=A jr2iF9HywkE+PWSTQwvPj3Ts6w4KUnaQar3dJkgtcQd4Ne840E/oGidJotOlAtfr 7xZX5e/PyPp/qaqAL/fjX+HF04bIP2rsd7lMVmbz5dmXrWAJKF9IUi3ag5ujQigq NJwOvmn2HtKDO1hiXVT6S478RB60kJs9DxzFwtTDXjIGtOej8rHIFi4MNuyD2niC xJ73DrmzykoxIMyt86zZPapTdmps0QzKW5MroD1Q2Dti+kWEbG18aP4Q1+7OwCSE nP5ZSPm5MxQyZT2bwQbP6Jr7Pm/Lu0U5K5fbpo3wgjwBacLzD2Os6uM21up2jpKa MGXk1E7WMrWm9ecd5Ypow== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id e2a4998a (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 20:02:06 +0000 (UTC) Message-ID: In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 17:06:34 +0100 Subject: [PATCH gnome-team v2 2/5] services: gnome-desktop: Add core packages for GNOME 44. To: 68716@debbugs.gnu.org MIME-Version: 1.0 User-Agent: Evolution 3.48.4 X-Spam-Score: 4.0 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/desktop.scm (%gnome-core-shell): Add gnome-remote-desktop. (%gnome-core-utilities): Add gnome-connections. --- gnu/services/desktop.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 86be99252d..f929a6cf31 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1411,6 +1411,7 @@ (define %gnome- [...] Content analysis details: (4.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/desktop.scm (%gnome-core-shell): Add gnome-remote-desktop. (%gnome-core-utilities): Add gnome-connections. --- gnu/services/desktop.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 86be99252d..f929a6cf31 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1411,6 +1411,7 @@ (define %gnome- [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/services/desktop.scm (%gnome-core-shell): Add gnome-remote-desktop. (%gnome-core-utilities): Add gnome-connections. --- gnu/services/desktop.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 86be99252d..f929a6cf31 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1411,6 +1411,7 @@ (define %gnome-core-shell gnome-initial-setup gnome-keyring gnome-menus + gnome-remote-desktop gnome-session gnome-settings-daemon gnome-shell-extensions @@ -1437,6 +1438,7 @@ (define %gnome-core-utilities gnome-calendar gnome-characters gnome-clocks + gnome-connections gnome-console gnome-contacts gnome-disk-utility -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 15:02:28 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 20:02:28 +0000 Received: from localhost ([127.0.0.1]:52358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Ai-0004Fn-Dx for submit@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:28 -0500 Received: from planete-kraus.eu ([2a00:5881:4008:2810::309]:52512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Ae-0004Et-HL for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:25 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id d1f8cf2c; Mon, 5 Feb 2024 20:02:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniB; bh=NIns70qKa3VVUqG22gLtsEhauP0=; b=2 ZaVrlpgcAmzhWW5crAUsOEt2ht06W9kPiD3HpQ/AVFlgjvwTHbOC/cCgv8xmGN1K dOqd4V+tzOIg79VKFbKIJxunS0oFObaqRnamAM2lZ1RPSbDXZLcm7FFeZqOAaqNp 7xY/DzIb2Anzs4xxoqFPSJK7QGjKN9/H7oLGpRi7xwgt+wPP+8eThm4+W9UY6oU2 sd+wyQXjDmbH7PAYa30eAKLbYnJNvcED/MEKT4uFjrrWolf5ZhuB8by2+NkPOgqm MkTjF9gyb2Jf8EvtGyj7uIdcEcZ3JOnDkQXK50b/IKjYIhYh+BM/O+xPq7wejBD6 UAAwVUPhxTuQI/AUvU/qQ== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id bb17ad2e (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 20:02:09 +0000 (UTC) Message-ID: <04093d75b073b6d6fad760ea521d0512b9b66d00.1707163201.git.vivien@planete-kraus.eu> In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:55:44 +0100 Subject: [PATCH gnome-team v2 3/5] gnu: Deprecate gnome meta-package. To: 68716@debbugs.gnu.org MIME-Version: 1.0 User-Agent: Evolution 3.48.4 X-Spam-Score: 4.0 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable to [...] Content analysis details: (4.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable to [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable towards the needs of users. As such, it is silly to insist on a single meta-package to make everyone happy. * gnu/packages/gnome.scm (gnome): Deprecate. --- gnu/packages/gnome.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index e98f4ac15f..e066da4d77 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -236,6 +236,7 @@ (define-module (gnu packages gnome) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix deprecation) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) @@ -10143,7 +10144,7 @@ (define-public gnome-weather (home-page "https://wiki.gnome.org/Apps/Weather") (license license:gpl2+))) -(define-public gnome +(define-deprecated/public gnome #f (package (name "gnome") (version (package-version gnome-shell)) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 15:02:29 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 20:02:29 +0000 Received: from localhost ([127.0.0.1]:52360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Ai-0004Fu-Qx for submit@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:29 -0500 Received: from planete-kraus.eu ([89.234.140.182]:37406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Af-0004Eo-Et for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:25 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id cc74fb30; Mon, 5 Feb 2024 20:02:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniB; bh=S7Nl2Z5I86Y6gPjIIqjUxuvzN18=; b=R +8qrj3lh8hsMFA/8jUlJOvH7leeeBeQhBn3ex1ThODnsbB3NKgUb+WTIxxw5YsSO Ujta1qu3xXmE+mrgZQQJ+TjJODaStgJ7mzKQdddLPcwMtB7eQWGciwxUj9ejtdHp vWalCqsWEZysgk1LZ3jCX2mghFmbF0tgaDrAeMqE4r4Y3dLapnV/FOJcVDt6yp3/ 4XLc/oXzkTz5vLLhqm7Zk4uPVrj95YEF9iKR82QmdVyY/aip8zvEo33q7j6A7bRR BQRqSEUI5aroCjcm2BZp5UpuGInncRBRVXWDc+12JMlYaCuG5lLBMreW13+/2hyD GMmPgLjEs2oyfPO+JrQ+A== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 9c4881f7 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 20:02:11 +0000 (UTC) Message-ID: <7d56e8c01341114bf15d347dd59f30278ac2130b.1707163201.git.vivien@planete-kraus.eu> In-Reply-To: References: From: Vivien Kraus Date: Mon, 5 Feb 2024 18:05:41 +0100 Subject: [PATCH gnome-team v2 4/5] services: Rename gnome-udev-rules. To: 68716@debbugs.gnu.org MIME-Version: 1.0 User-Agent: Evolution 3.48.4 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This function manages both rules and hardware files. * gnu/services/desktop.scm (gnome-udev-resources): Rename to gnome-udev-configuration-files. (gnome-desktop-service-type): Use the new function name gnome-udev-configuration-files. Change-Id: I195ea6ba032e1e9b5ee45519de109bbd969b6503 --- gnu/services/desktop.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index f929a6cf31..263ae61698 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1506,8 +1506,9 @@ (define (gnome-packages gnome names) "Return the package NAMES among the GNOME package inputs." (map (cut gnome-package gnome <>) names)) -(define (gnome-udev-rules config) - "Return the list of GNOME dependencies that provide udev rules." +(define (gnome-udev-configuration-files config) + "Return the list of GNOME dependencies that provide udev rules and hardware +files." (let* ((gnome (gnome-desktop-configuration-gnome config)) (shell (gnome-desktop-configuration-shell config))) (or (any (match-lambda @@ -1564,7 +1565,7 @@ (define gnome-desktop-service-type (name 'gnome-desktop) (extensions (list (service-extension udev-service-type - gnome-udev-rules) + gnome-udev-configuration-files) (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 15:02:45 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 20:02:45 +0000 Received: from localhost ([127.0.0.1]:52364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Az-0004GV-8F for submit@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:45 -0500 Received: from planete-kraus.eu ([89.234.140.182]:37406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5Aj-0004Eo-9b for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 15:02:29 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 5e4f27b1; Mon, 5 Feb 2024 20:02:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniB; bh=iFmy3EYCOqyEiskktEKwe8ue73s=; b=d 2zS4HFG75iq593//jIO4xwAy+nN5ZmKVWXNZxHhcB8Y1tlghS2xdtp4RMkD8QMK1 EVRG5Dp6BPt5SN44Fnq//GQnQ/4EYLUCJ1j1juUarU3dg0jwTydrgovndlvaAPAs UhAcXrlZ+GNRRUiNUu1DCdZEwqFUlIOpX24SBAdsFYihBBUyl7k4JR3ILxrzK5yN rPIaBzfcdhwEy32fCQrFOZWTeBmLXPZW6YnyksFkkVi14PcWx5LVduFWKeOLwUvv tMGlOPDL4QcY5bW0s5YGPMT6uKFC0eYHKmVSvuD9MIQKdgLV3XK6449drMMX+g4a iASvFnXmT372WCtRBf8Kw== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 4ca062d0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 20:02:14 +0000 (UTC) Message-ID: In-Reply-To: References: From: Vivien Kraus Date: Mon, 5 Feb 2024 19:30:25 +0100 Subject: [PATCH gnome-team v2 5/5] services: gnome: Use a blocklist for udev configurations. To: 68716@debbugs.gnu.org MIME-Version: 1.0 User-Agent: Evolution 3.48.4 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) The gnome-udev-configuration-files now lists every udev rule and hardware file, and remove files based on a user-supplied list of regular expressions. * gnu/services/desktop.scm (gnome-desktop-configuration): Add the udev-blocklist field. (gnome-udev-configuration-files): Change behavior. Change-Id: I6df4b896652581c42a35ea3ba1e4849ad72d12ef --- gnu/services/desktop.scm | 63 ++++++++++++++++++++++++++++++---------- 1 file changed, 48 insertions(+), 15 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 263ae61698..8045406c10 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -87,6 +87,7 @@ (define-module (gnu services desktop) #:use-module (guix ui) #:use-module (guix utils) #:use-module (guix gexp) + #:use-module (guix modules) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-35) @@ -156,6 +157,7 @@ (define-module (gnu services desktop) gnome-desktop-configuration-shell gnome-desktop-configuration-utilities gnome-desktop-configuration-extra-packages + gnome-desktop-configuration-udev-blocklist gnome-desktop-service gnome-desktop-service-type @@ -1494,7 +1496,12 @@ (define-configuration/no-serialization gnome-desktop-configuration "A list of GNOME-adjacent packages to also include. This field is intended for users to add their own packages to their GNOME experience. Note, that it already includes some packages that are considered essential by some (most?) -GNOME users.")) +GNOME users.") + (udev-blocklist + (list-of-strings '()) + "A list of regular expressions denoting udev rules or hardware file names +provided by any package, that should not be installed. By default, every udev +rule and hardware file specified by all packages are installed.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1509,20 +1516,46 @@ (define (gnome-packages gnome names) (define (gnome-udev-configuration-files config) "Return the list of GNOME dependencies that provide udev rules and hardware files." - (let* ((gnome (gnome-desktop-configuration-gnome config)) - (shell (gnome-desktop-configuration-shell config))) - (or (any (match-lambda - ((and pkg (= package-name "gnome-settings-daemon")) - (list pkg)) - (_ #f)) - shell) - (and (maybe-value-set? gnome) - (gnome-packages gnome '("gnome-settings-daemon"))) - (raise - (condition - (&error-location - (location (gnome-desktop-configuration-source-location config))) - (&message (message (G_ "Missing gnome-settings-daemon")))))))) + (let* ((all-packages + (append + (gnome-desktop-configuration-core-services config) + (gnome-desktop-configuration-shell config) + (gnome-desktop-configuration-utilities config) + (let ((gnome-meta (gnome-desktop-configuration-gnome config))) + (if (maybe-value-set? gnome-meta) + (begin + (warning + (gnome-desktop-configuration-source-location config) + (G_ "Using a meta-package for gnome-desktop is discouraged.~%")) + (list gnome-meta)) + (list))) + (gnome-desktop-configuration-extra-packages config)))) + (list + (computed-file + "gnome-udev-configurations" + (with-imported-modules + (source-module-closure '((guix build utils))) + #~(begin + (use-modules (guix build utils)) + (for-each + (lambda (package) + (with-directory-excursion + package + (for-each + (lambda (filename) + (mkdir-p (dirname (string-append #$output "/" filename))) + (copy-file filename (string-append #$output "/" filename))) + (find-files "." + (lambda (name st) + (or (string-prefix? "./lib/udev/" name) + (string-prefix? "./libexec/udev/" name))))))) + (list #$@all-packages)) + (for-each + (lambda (pattern) + (for-each + delete-file-recursively + (find-files #$output pattern))) + (list #$@(gnome-desktop-configuration-udev-blocklist config))))))))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 15:53:01 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 20:53:02 +0000 Received: from localhost ([127.0.0.1]:52388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5xd-0005Ua-8q for submit@debbugs.gnu.org; Mon, 05 Feb 2024 15:53:01 -0500 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:57538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX5xY-0005UE-8s for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 15:53:00 -0500 Received: by mail-ed1-x544.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so6358511a12.2 for <68716@debbugs.gnu.org>; Mon, 05 Feb 2024 12:52:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707166357; x=1707771157; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=QKe5/c6kX+4UcQjU1O4snxFoN+USLvTUgi/gqBdKAYg=; b=A9sW5p51nltODWgj14e6H0Qq0CRwN34cdaFx9d9g3trMwoMxtKTkbbOVltMnNFTLn+ eo5iWM9EfXP5Zwn0oGw9JfAKIcvZl+1I61WoxkteZXgZTnjHiYHRqYXL1+2MZbAI+AjC IwulUW6kmg9ktZMy4AcfcEwgnLJpVnFocflY2dTlQUqf77nP5bKfqOf6Z2dNxaDARutP Nja7drqwodqCfQnXZTCP0Ku8bsFh6UCV2bPzMOpBkfZQyl80hUmy/n/bDKdez7VOp4pS YmZXZVxixJjKk9SYRqmC1n20968MBLJwQ/FuDPEepnCTzgdRho/phxJfnjZvxQknVQPg vFBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707166357; x=1707771157; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QKe5/c6kX+4UcQjU1O4snxFoN+USLvTUgi/gqBdKAYg=; b=UQ4oX+qVISIdT6M0EmFua8VWglX5t0WFQfoWiv+cq8VOlfH1gd2FDp7fbI/qv2Qu2I n2c4eo8pQpfoUKknAJUvsC67OPQl3nbsyZxfQ+gA92tmVHdKSfgGMydNQx1gOZbjEBuZ ZCTCsKsKOFzUm2dNZToO3903sLmr+N2VzwfiyEtu4ntI9Sw3swDjOvsc05W40/9nMYhJ S1Szdb/gKMW7ErJPhyDlLQ8XpM88qlYBHdpluni529sXKidnvIgmy5QwLNO0Vu1Ub4uj 5xS6wN1PBI5Wa2ms4i3O0EBOLJnnpKRNkSJYKhxyumHkCLqZkISmdfxUlBVZyhxPbHvI GvDg== X-Gm-Message-State: AOJu0YzFL4z+v91u1KndL1rhVAOgppsjGdDRGf3PatPxonOq2peGVd/d NeARrMDZFsnBS6+q4InF6Fil9IB/m3hOkxzd+Tkws83gvtNTyflE X-Google-Smtp-Source: AGHT+IG+bOe+63rg/5ekQDo6ib95Sq+1I8uzuGSHoty0s5+TGu6aI7v4S/Np/4DC2A/kiOd3tDH05A== X-Received: by 2002:a17:906:5791:b0:a35:ee95:7e63 with SMTP id k17-20020a170906579100b00a35ee957e63mr96381ejq.32.1707166356738; Mon, 05 Feb 2024 12:52:36 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWY9Qtj0WlTOu8/iO/zS4COJ3Z6SVjolPFy1Ba/kGph3SJLNH8dD4WFRN23gII7h5ulEyb8jG+cJ4+1iQBMZUmcN9QOp9nC+Bz5OHOVzzlu9sIcv0DisCcLwh3szS7+ Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id q23-20020a170906a09700b00a377e9e1425sm250376ejy.87.2024.02.05.12.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 12:52:36 -0800 (PST) Message-ID: <2671e8ad3f84f79252e8b8ccfc5ebf7b13966ef2.camel@gmail.com> Subject: Re: [PATCH gnome-team v2 5/5] services: gnome: Use a blocklist for udev configurations. From: Liliana Marie Prikler To: Vivien Kraus , 68716@debbugs.gnu.org Date: Mon, 05 Feb 2024 21:52:34 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) QW0gTW9udGFnLCBkZW0gMDUuMDIuMjAyNCB1bSAxOTozMCArMDEwMCBzY2hyaWViIFZpdmllbiBL cmF1czoKPiBUaGUgZ25vbWUtdWRldi1jb25maWd1cmF0aW9uLWZpbGVzIG5vdyBsaXN0cyBldmVy eSB1ZGV2IHJ1bGUgYW5kCj4gaGFyZHdhcmUKPiBmaWxlLCBhbmQgcmVtb3ZlIGZpbGVzIGJhc2Vk IG9uIGEgdXNlci1zdXBwbGllZCBsaXN0IG9mIHJlZ3VsYXIKPiBleHByZXNzaW9ucy4KPiAKPiAq IGdudS9zZXJ2aWNlcy9kZXNrdG9wLnNjbSAoZ25vbWUtZGVza3RvcC1jb25maWd1cmF0aW9uKTog QWRkIHRoZQo+IHVkZXYtYmxvY2tsaXN0IGZpZWxkLgo+IChnbm9tZS11ZGV2LWNvbmZpZ3VyYXRp b24tZmlsZXMpOiBDaGFuZ2UgYmVoYXZpb3IuCj4gCj4gQ2hhbmdlLUlkOiBJNmRmNGI4OTY2NTI1 ODFjNDJhMzVlYTNiYTFlNDg0OWFkNzJkMTJlZgo+IC0tLQo+IMKgZ251L3NlcnZpY2VzL2Rlc2t0 b3Auc2NtIHwgNjMgKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrLS0tLS0tLS0KPiAtLQo+ IMKgMSBmaWxlIGNoYW5nZWQsIDQ4IGluc2VydGlvbnMoKyksIDE1IGRlbGV0aW9ucygtKQo+IAo+ IGRpZmYgLS1naXQgYS9nbnUvc2VydmljZXMvZGVza3RvcC5zY20gYi9nbnUvc2VydmljZXMvZGVz a3RvcC5zY20KPiBpbmRleCAyNjNhZTYxNjk4Li44MDQ1NDA2YzEwIDEwMDY0NAo+IC0tLSBhL2du dS9zZXJ2aWNlcy9kZXNrdG9wLnNjbQo+ICsrKyBiL2dudS9zZXJ2aWNlcy9kZXNrdG9wLnNjbQo+ IEBAIC04Nyw2ICs4Nyw3IEBAIChkZWZpbmUtbW9kdWxlIChnbnUgc2VydmljZXMgZGVza3RvcCkK PiDCoMKgICM6dXNlLW1vZHVsZSAoZ3VpeCB1aSkKPiDCoMKgICM6dXNlLW1vZHVsZSAoZ3VpeCB1 dGlscykKPiDCoMKgICM6dXNlLW1vZHVsZSAoZ3VpeCBnZXhwKQo+ICvCoCAjOnVzZS1tb2R1bGUg KGd1aXggbW9kdWxlcykKPiDCoMKgICM6dXNlLW1vZHVsZSAoc3JmaSBzcmZpLTEpCj4gwqDCoCAj OnVzZS1tb2R1bGUgKHNyZmkgc3JmaS0yNikKPiDCoMKgICM6dXNlLW1vZHVsZSAoc3JmaSBzcmZp LTM1KQo+IEBAIC0xNTYsNiArMTU3LDcgQEAgKGRlZmluZS1tb2R1bGUgKGdudSBzZXJ2aWNlcyBk ZXNrdG9wKQo+IMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBnbm9tZS1kZXNrdG9wLWNvbmZpZ3Vy YXRpb24tc2hlbGwKPiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgZ25vbWUtZGVza3RvcC1jb25m aWd1cmF0aW9uLXV0aWxpdGllcwo+IMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBnbm9tZS1kZXNr dG9wLWNvbmZpZ3VyYXRpb24tZXh0cmEtcGFja2FnZXMKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDC oCBnbm9tZS1kZXNrdG9wLWNvbmZpZ3VyYXRpb24tdWRldi1ibG9ja2xpc3QKPiDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqAgZ25vbWUtZGVza3RvcC1zZXJ2aWNlCj4gwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgIGdub21lLWRlc2t0b3Atc2VydmljZS10eXBlCj4gwqAKPiBAQCAtMTQ5NCw3ICsxNDk2 LDEyIEBAIChkZWZpbmUtY29uZmlndXJhdGlvbi9uby1zZXJpYWxpemF0aW9uIGdub21lLQo+IGRl c2t0b3AtY29uZmlndXJhdGlvbgo+IMKgwqDCoCAiQSBsaXN0IG9mIEdOT01FLWFkamFjZW50IHBh Y2thZ2VzIHRvIGFsc28gaW5jbHVkZS7CoCBUaGlzIGZpZWxkCj4gaXMgaW50ZW5kZWQKPiDCoGZv ciB1c2VycyB0byBhZGQgdGhlaXIgb3duIHBhY2thZ2VzIHRvIHRoZWlyIEdOT01FIGV4cGVyaWVu Y2UuwqAKPiBOb3RlLCB0aGF0IGl0Cj4gwqBhbHJlYWR5IGluY2x1ZGVzIHNvbWUgcGFja2FnZXMg dGhhdCBhcmUgY29uc2lkZXJlZCBlc3NlbnRpYWwgYnkgc29tZQo+IChtb3N0PykKPiAtR05PTUUg dXNlcnMuIikpCj4gK0dOT01FIHVzZXJzLiIpCj4gK8KgICh1ZGV2LWJsb2NrbGlzdAo+ICvCoMKg IChsaXN0LW9mLXN0cmluZ3MgJygpKQo+ICvCoMKgICJBIGxpc3Qgb2YgcmVndWxhciBleHByZXNz aW9ucyBkZW5vdGluZyB1ZGV2IHJ1bGVzIG9yIGhhcmR3YXJlCj4gZmlsZSBuYW1lcwo+ICtwcm92 aWRlZCBieSBhbnkgcGFja2FnZSwgdGhhdCBzaG91bGQgbm90IGJlIGluc3RhbGxlZC7CoCBCeSBk ZWZhdWx0LAo+IGV2ZXJ5IHVkZXYKPiArcnVsZSBhbmQgaGFyZHdhcmUgZmlsZSBzcGVjaWZpZWQg YnkgYWxsIHBhY2thZ2VzIGFyZSBpbnN0YWxsZWQuIikpCj4gwqAKPiDCoChkZWZpbmUgKGdub21l LXBhY2thZ2UgZ25vbWUgbmFtZSkKPiDCoMKgICJSZXR1cm4gdGhlIHBhY2thZ2UgTkFNRSBhbW9u ZyB0aGUgR05PTUUgcGFja2FnZSBpbnB1dHMuwqAgTkFNRSBjYW4KPiBiZSBhCj4gQEAgLTE1MDks MjAgKzE1MTYsNDYgQEAgKGRlZmluZSAoZ25vbWUtcGFja2FnZXMgZ25vbWUgbmFtZXMpCj4gwqAo ZGVmaW5lIChnbm9tZS11ZGV2LWNvbmZpZ3VyYXRpb24tZmlsZXMgY29uZmlnKQo+IMKgwqAgIlJl dHVybiB0aGUgbGlzdCBvZiBHTk9NRSBkZXBlbmRlbmNpZXMgdGhhdCBwcm92aWRlIHVkZXYgcnVs ZXMgYW5kCj4gaGFyZHdhcmUKPiDCoGZpbGVzLiIKPiAtwqAgKGxldCogKChnbm9tZSAoZ25vbWUt ZGVza3RvcC1jb25maWd1cmF0aW9uLWdub21lIGNvbmZpZykpCj4gLcKgwqDCoMKgwqDCoMKgwqAg KHNoZWxsIChnbm9tZS1kZXNrdG9wLWNvbmZpZ3VyYXRpb24tc2hlbGwgY29uZmlnKSkpCj4gLcKg wqDCoCAob3IgKGFueSAobWF0Y2gtbGFtYmRhCj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqAgKChhbmQgcGtnICg9IHBhY2thZ2UtbmFtZSAiZ25vbWUtc2V0dGluZ3MtZGFlbW9uIikpCj4g LcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAobGlzdCBwa2cpKQo+IC3CoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgIChfICNmKSkKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIHNo ZWxsKQo+IC3CoMKgwqDCoMKgwqDCoCAoYW5kIChtYXliZS12YWx1ZS1zZXQ/IGdub21lKQo+IC3C oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGdub21lLXBhY2thZ2VzIGdub21lICcoImdub21lLXNl dHRpbmdzLWRhZW1vbiIpKSkKPiAtwqDCoMKgwqDCoMKgwqAgKHJhaXNlCj4gLcKgwqDCoMKgwqDC oMKgwqAgKGNvbmRpdGlvbgo+IC3CoMKgwqDCoMKgwqDCoMKgwqAgKCZlcnJvci1sb2NhdGlvbgo+ IC3CoMKgwqDCoMKgwqDCoMKgwqDCoCAobG9jYXRpb24gKGdub21lLWRlc2t0b3AtY29uZmlndXJh dGlvbi1zb3VyY2UtbG9jYXRpb24KPiBjb25maWcpKSkKPiAtwqDCoMKgwqDCoMKgwqDCoMKgICgm bWVzc2FnZSAobWVzc2FnZSAoR18gIk1pc3NpbmcgZ25vbWUtc2V0dGluZ3MtCj4gZGFlbW9uIikp KSkpKSkpCj4gK8KgIChsZXQqICgoYWxsLXBhY2thZ2VzCj4gK8KgwqDCoMKgwqDCoMKgwqDCoCAo YXBwZW5kCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgIChnbm9tZS1kZXNrdG9wLWNvbmZpZ3VyYXRp b24tY29yZS1zZXJ2aWNlcyBjb25maWcpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgIChnbm9tZS1k ZXNrdG9wLWNvbmZpZ3VyYXRpb24tc2hlbGwgY29uZmlnKQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDC oCAoZ25vbWUtZGVza3RvcC1jb25maWd1cmF0aW9uLXV0aWxpdGllcyBjb25maWcpCj4gK8KgwqDC oMKgwqDCoMKgwqDCoMKgIChsZXQgKChnbm9tZS1tZXRhIChnbm9tZS1kZXNrdG9wLWNvbmZpZ3Vy YXRpb24tZ25vbWUKPiBjb25maWcpKSkKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChpZiAo bWF5YmUtdmFsdWUtc2V0PyBnbm9tZS1tZXRhKQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoCAoYmVnaW4KPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICh3 YXJuaW5nCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChnbm9tZS1k ZXNrdG9wLWNvbmZpZ3VyYXRpb24tc291cmNlLWxvY2F0aW9uCj4gY29uZmlnKQo+ICvCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoR18gIlVzaW5nIGEgbWV0YS1wYWNrYWdl IGZvciBnbm9tZS1kZXNrdG9wIGlzCj4gZGlzY291cmFnZWQufiUiKSkKPiArwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChsaXN0IGdub21lLW1ldGEpKQo+ICvCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAobGlzdCkpKQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoCAo Z25vbWUtZGVza3RvcC1jb25maWd1cmF0aW9uLWV4dHJhLXBhY2thZ2VzIGNvbmZpZykpKSkKWW91 IGNvdWxkIHJldXNlIHRoZSBmdW5jdGlvbiB0aGF0IHdlIGhhdmUgdG8gaW1wbGVtZW50IGZvciB0 aGUgcHJvZmlsZQpzZXJ2aWNlIGFueXdheSwgbm8/Cj4gK8KgwqDCoCAobGlzdAo+ICvCoMKgwqDC oCAoY29tcHV0ZWQtZmlsZQo+ICvCoMKgwqDCoMKgICJnbm9tZS11ZGV2LWNvbmZpZ3VyYXRpb25z Igo+ICvCoMKgwqDCoMKgICh3aXRoLWltcG9ydGVkLW1vZHVsZXMKPiArwqDCoMKgwqDCoMKgwqDC oMKgIChzb3VyY2UtbW9kdWxlLWNsb3N1cmUgJygoZ3VpeCBidWlsZCB1dGlscykpKQo+ICvCoMKg wqDCoMKgwqDCoCAjfihiZWdpbgo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICh1c2UtbW9kdWxl cyAoZ3VpeCBidWlsZCB1dGlscykpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGZvci1lYWNo Cj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAobGFtYmRhIChwYWNrYWdlKQo+ICvCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgICh3aXRoLWRpcmVjdG9yeS1leGN1cnNpb24KPiArwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIHBhY2thZ2UKPiArwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqAgKGZvci1lYWNoCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqAgKGxhbWJkYSAoZmlsZW5hbWUpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgIChta2Rpci1wIChkaXJuYW1lIChzdHJpbmctYXBwZW5kICMkb3V0cHV0ICIv Igo+IGZpbGVuYW1lKSkpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg IChjb3B5LWZpbGUgZmlsZW5hbWUgKHN0cmluZy1hcHBlbmQgIyRvdXRwdXQgIi8iCj4gZmlsZW5h bWUpKSkKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoZmluZC1maWxlcyAi LiIKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoCAobGFtYmRhIChuYW1lIHN0KQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAob3IgKHN0cmluZy1wcmVmaXg/ICIu L2xpYi91ZGV2LyIKPiBuYW1lKQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChzdHJpbmctcHJlZml4Pwo+ICIu L2xpYmV4ZWMvdWRldi8iIG5hbWUpKSkpKSkpCklJUkMsIHN0cmluZy1wcmVmaXggbWF0Y2hpbmcg aXMgbm90IGEgZ3JlYXQgaWRlYSB3aXRoIGZpbmQtZmlsZXMuIApzZWFyY2gtcGF0aC1hcy1saXN0 IGZyb20gKGd1aXggYnVpbGQgdXRpbHMpIGlzIHByb2JhYmx5IHByZWZlcmFibGUuCj4gK8KgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoCAobGlzdCAjJEBhbGwtcGFja2FnZXMpKQo+ICvCoMKgwqDCoMKg wqDCoMKgwqDCoMKgIChmb3ItZWFjaAo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGxhbWJk YSAocGF0dGVybikKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoZm9yLWVhY2gKPiAr wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIGRlbGV0ZS1maWxlLXJlY3Vyc2l2ZWx5Cj4g K8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoZmluZC1maWxlcyAjJG91dHB1dCBwYXR0 ZXJuKSkpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAobGlzdCAjJEAoZ25vbWUtZGVza3Rv cC1jb25maWd1cmF0aW9uLXVkZXYtYmxvY2tsaXN0Cj4gY29uZmlnKSkpKSkpKSkpCj4gwqAKPiDC oChkZWZpbmUgKGdub21lLXBvbGtpdC1zZXR0aW5ncyBjb25maWcpCj4gwqDCoCAiUmV0dXJuIHRo ZSBsaXN0IG9mIEdOT01FIGRlcGVuZGVuY2llcyB0aGF0IHByb3ZpZGUgcG9sa2l0IGFjdGlvbnMK PiBhbmQKQ2hlZXJzCg== From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 18:31:16 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 23:31:16 +0000 Received: from localhost ([127.0.0.1]:52801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Qm-000735-0Y for submit@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:16 -0500 Received: from planete-kraus.eu ([89.234.140.182]:54456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Qj-00072m-Ix for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:14 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 05b49f6c; Mon, 5 Feb 2024 23:30:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniB; bh=NIns70qKa3VVUqG22gLtsEhauP0=; b=s pNxe5QrwqJ3imggjroUHjr8ZC066aZ/aINsh6YGhIztBDlUzB99YmvTUPSnEJ+aO mwj9nJSUwVW8PRNjqNYv2JTeTbWK+yfr318F93z5t8tpUGmt0q5OEauv5nXk2uA8 zKpynwVT0L6G525XtXI4UEaY2x0igyWwfVg4/Xx7CXmnJr5TsLzp7PtQnm11pBz9 8ZCLTkM3qeLuvy3JIWtJ64Uels6iCi2u0oozzvyuWEXmqZBn/uj6qx2CROpOYh1u 3ciGjL0OMRYlZI53E9kxKWPLGPWR9JK1ytOHv3Zxb47v0reuUdE15+ZN7bgB8+l6 XMmGMquteOWFByErseSSw== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id f6fb04ca (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 23:30:53 +0000 (UTC) Message-ID: In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:55:44 +0100 Subject: [PATCH gnome-team v3 3/5] gnu: Deprecate gnome meta-package. To: 68716@debbugs.gnu.org MIME-Version: 1.0 User-Agent: Evolution 3.48.4 X-Spam-Score: 4.0 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable to [...] Content analysis details: (4.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable to [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable towards the needs of users. As such, it is silly to insist on a single meta-package to make everyone happy. * gnu/packages/gnome.scm (gnome): Deprecate. --- gnu/packages/gnome.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index e98f4ac15f..e066da4d77 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -236,6 +236,7 @@ (define-module (gnu packages gnome) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix deprecation) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) @@ -10143,7 +10144,7 @@ (define-public gnome-weather (home-page "https://wiki.gnome.org/Apps/Weather") (license license:gpl2+))) -(define-public gnome +(define-deprecated/public gnome #f (package (name "gnome") (version (package-version gnome-shell)) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 18:31:22 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 23:31:23 +0000 Received: from localhost ([127.0.0.1]:52806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Qs-00073g-Dw for submit@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:22 -0500 Received: from planete-kraus.eu ([89.234.140.182]:54456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Ql-00072m-2v for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:16 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id cc0f6ad3; Mon, 5 Feb 2024 23:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniB; bh=JepUA8O+J6uPi4mDdMnf+IM3XVg=; b=A 9Mg0tYeMRW0rexKH4jMdFCMLAYXBm1HqwMdKQ5quFfjeksjg24VYQgqrdIJGvuk2 BA8jDuk1tai5S1k8Y2Q0qbIIS+Up+4/NEt/Trnc+gy97QUt4TBx418a628euEU6K iaI1+i0Nc9a9oddsauIxjIXEFM7dw5cY5D7wncrJ/x2Rc1xds5gbMi7/WA0CiguU QzPwgwX2fPkPuX22ecCH+nrfQQ4GqEeMtTKNYFYKCGWlNsLbRUP6sJX2xVWLrsVg QFOFVaEVk76emUn7J0woe73d1mmB4TbBLpEmFyfC5quqDUst5Q1bUHMUAgP9rT+s 2fr/mEWCA8kYoXueiMAnA== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 0addf52a (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 23:30:56 +0000 (UTC) Message-ID: <2887b3fe20091da84408d10cc25f17b160d184ab.1707175669.git.vivien@planete-kraus.eu> In-Reply-To: References: From: Vivien Kraus Date: Mon, 5 Feb 2024 19:30:25 +0100 Subject: [PATCH gnome-team v3 5/5] services: gnome: Use a blocklist for udev configurations. To: 68716@debbugs.gnu.org MIME-Version: 1.0 User-Agent: Evolution 3.48.4 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The gnome-udev-configuration-files now lists every udev rule and hardware file, and remove files based on a user-supplied list of regular expressions. * gnu/services/desktop.scm (gnome-desktop-configuration): Add the udev-blocklist field. (gnome-udev-configuration-files): Change behavior. Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) The gnome-udev-configuration-files now lists every udev rule and hardware file, and remove files based on a user-supplied list of regular expressions. * gnu/services/desktop.scm (gnome-desktop-configuration): Add the udev-blocklist field. (gnome-udev-configuration-files): Change behavior. Change-Id: I6df4b896652581c42a35ea3ba1e4849ad72d12ef --- gnu/services/desktop.scm | 46 +++++++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 263ae61698..f04e99ba9a 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -87,6 +87,7 @@ (define-module (gnu services desktop) #:use-module (guix ui) #:use-module (guix utils) #:use-module (guix gexp) + #:use-module (guix modules) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-35) @@ -156,6 +157,7 @@ (define-module (gnu services desktop) gnome-desktop-configuration-shell gnome-desktop-configuration-utilities gnome-desktop-configuration-extra-packages + gnome-desktop-configuration-udev-blocklist gnome-desktop-service gnome-desktop-service-type @@ -1494,7 +1496,12 @@ (define-configuration/no-serialization gnome-desktop-configuration "A list of GNOME-adjacent packages to also include. This field is intended for users to add their own packages to their GNOME experience. Note, that it already includes some packages that are considered essential by some (most?) -GNOME users.")) +GNOME users.") + (udev-blocklist + (list-of-strings '()) + "A list of regular expressions denoting udev rules or hardware file names +provided by any package, that should not be installed. By default, every udev +rule and hardware file specified by all packages are installed.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1509,20 +1516,29 @@ (define (gnome-packages gnome names) (define (gnome-udev-configuration-files config) "Return the list of GNOME dependencies that provide udev rules and hardware files." - (let* ((gnome (gnome-desktop-configuration-gnome config)) - (shell (gnome-desktop-configuration-shell config))) - (or (any (match-lambda - ((and pkg (= package-name "gnome-settings-daemon")) - (list pkg)) - (_ #f)) - shell) - (and (maybe-value-set? gnome) - (gnome-packages gnome '("gnome-settings-daemon"))) - (raise - (condition - (&error-location - (location (gnome-desktop-configuration-source-location config))) - (&message (message (G_ "Missing gnome-settings-daemon")))))))) + (list + (computed-file + "gnome-udev-configurations" + (with-imported-modules + (source-module-closure '((guix build utils) + (guix build union))) + #~(begin + (use-modules (guix build utils) + (guix build union)) + ;; If rules.d or hwdb.d is not a proper directory but a symlink, + ;; then it will not be possible to delete individual files in this + ;; directory. + (union-build #$output + (search-path-as-list + (list "lib/udev" "libexec/udev") + (list #$@(gnome-profile config))) + #:create-all-directories? #t) + (for-each + (lambda (pattern) + (for-each + delete-file-recursively + (find-files #$output pattern))) + (list #$@(gnome-desktop-configuration-udev-blocklist config)))))))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 18:31:23 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 23:31:23 +0000 Received: from localhost ([127.0.0.1]:52808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Qs-00073i-RR for submit@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:23 -0500 Received: from planete-kraus.eu ([2a00:5881:4008:2810::309]:39924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Qm-00072p-6y for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:17 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 8b4e40a8; Mon, 5 Feb 2024 23:30:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:from:date:subject:mime-version:content-type :content-transfer-encoding:to:cc; s=albinoniB; bh=VrKMHuxIFxAs/t L3bgrkdbxgmzI=; b=f+qmIv4rcNqk7MLBnKsztQint5KADjCfLAy5fFMQScJq7q oeoQzX+MoYdZY9h4H83l+1yG0dkFxPmBDgd9gWXBiWaOzGMDuFaCjmTf3r0xgCCI 8hWFO1WrJgk8g96Rqsecrh5nR0AIgJcBZqbj8JQBPzV7NgjZYvJcr4fQUCdcDmFW d635eX2Oi4S9nRrPN/QhNB6WmqmSTgKpbkiBBxi4hZ3tE8bH1dPoKhKKj1fLMCqh r7ehYC9M0qlGC3gaMs3+EYebOBWGsZYHQx8Hjj4zlNwayy9csAYk8eatv05T2Iin wII/m9WqZxWN7hDJIkJ4tB7+iEPDIZRVPLw0Sr8A== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id a42a0481 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 23:30:58 +0000 (UTC) Message-ID: From: Vivien Kraus Date: Tue, 6 Feb 2024 00:27:49 +0100 Subject: [PATCH gnome-team v3 0/5] More elegant filtering of udev configurations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: 68716@debbugs.gnu.org User-Agent: Evolution 3.48.4 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear guix, Here is a new version, where I use union-build to gather all udev files, and then I remove the files that belong to the blocklist. What do you think? Best regards, Vivien Liliana Marie Prikler (3): services: Modularise gnome-desktop-configuration. services: gnome-desktop: Add core packages for GNOME 44. gnu: Deprecate gnome meta-package. Vivien Kraus (2): services: Rename gnome-udev-rules. services: gnome: Use a blocklist for udev configurations. gnu/packages/gnome.scm | 3 +- gnu/services/desktop.scm | 197 +++++++++++++++++++++++++++++++++++---- 2 files changed, 182 insertions(+), 18 deletions(-) base-commit: 6d3c414f11e5ec9eb029fbfd20fb08731c2b9aab -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 18:31:24 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 23:31:24 +0000 Received: from localhost ([127.0.0.1]:52810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Qt-00073p-7S for submit@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:23 -0500 Received: from planete-kraus.eu ([89.234.140.182]:54456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Qm-00072m-PZ for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:17 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id e6b7707f; Mon, 5 Feb 2024 23:31:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:mime-version :content-type:content-transfer-encoding:to:cc; s=albinoniB; bh=U x2jSJNdiZX67B9KVp1sI3aPBm8=; b=n8SXctPoEilG4IEVbktcaX+toImi8LFI3 eLCRrn9g4v9fFkuq2nf6QH05i4waifAyb5P6NX3B/twCvDertNLdd94BTM+gkHij hHnsxqDmPtT7Oo7MzuDw8yNRj+bUzFTXCbPuS75fV+l8GVr70WBBJj04amRGC7oY iaaC5P1J46zIwhPBO57t0i1Lv4xmV+ZmjsngxWMSdgyKZUYhgfH3fsIQPSdmQst2 NmPcPEWORCJKF1NWb9cqpvwx7kMvUngwaMEAhRbUPYkb5Ti6YgcZwmbMyuSWjOe0 GD1qm44LZqpSYxwJcNVAs7EJ8sSipOm7MYZroBSMd7+gpt80abOYw== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id d763b967 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 23:31:01 +0000 (UTC) Message-ID: <5a32e4ce61dd8d0aa204e1da57753acfbea378b3.1707175669.git.vivien@planete-kraus.eu> In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:35:17 +0100 Subject: [PATCH gnome-team v3 1/5] services: Modularise gnome-desktop-configuration. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: 68716@debbugs.gnu.org User-Agent: Evolution 3.48.4 X-Spam-Score: 4.0 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/gnome.scm (%gnome-core-services, %gnome-core-shell) (%gnome-core-utilities, %gnome-essential-extras): New variables. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, [...] Content analysis details: (4.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/gnome.scm (%gnome-core-services, %gnome-core-shell) (%gnome-core-utilities, %gnome-essential-extras): New variables. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/services/gnome.scm (%gnome-core-services, %gnome-core-shell) (%gnome-core-utilities, %gnome-essential-extras): New variables. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, ‘utilities’, and ‘extra-packages’. Deprecate ‘gnome’. (gnome-desktop-configuration-core-services, gnome-desktop-configuration-shell) (gnome-desktop-configuration-utilities) (gnome-desktop-configuration-extra-packages): Export publicly. (gnome-udev-rules, gnome-polkit-settings): Adjust accordingly. (gnome-profile): New variable. (gnome-desktop-service-type): Adjust accordingly. --- gnu/services/desktop.scm | 172 +++++++++++++++++++++++++++++++++++---- 1 file changed, 158 insertions(+), 14 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 5b79fbcda1..86be99252d 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -37,6 +37,7 @@ (define-module (gnu services desktop) #:use-module (gnu services) #:use-module (gnu services shepherd) #:use-module (gnu services base) + #:use-module (gnu services configuration) #:use-module (gnu services dbus) #:use-module (gnu services avahi) #:use-module (gnu services xorg) @@ -56,10 +57,16 @@ (define-module (gnu services desktop) #:use-module (gnu packages admin) #:use-module (gnu packages cups) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages fonts) + #:use-module (gnu packages geo) + #:use-module (gnu packages gstreamer) + #:use-module (gnu packages gtk) #:use-module (gnu packages gnome) + #:use-module (gnu packages gnupg) #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-plasma) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages xfce) #:use-module (gnu packages avahi) #:use-module (gnu packages xdisorg) @@ -73,6 +80,7 @@ (define-module (gnu services desktop) #:use-module (gnu packages nfs) #:use-module (gnu packages enlightenment) #:use-module (guix deprecation) + #:use-module (guix diagnostics) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -81,6 +89,7 @@ (define-module (gnu services desktop) #:use-module (guix gexp) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) + #:use-module (srfi srfi-35) #:use-module (ice-9 format) #:use-module (ice-9 match) #:export ( @@ -137,8 +146,16 @@ (define-module (gnu services desktop) cups-pk-helper-service-type sane-service-type + %gnome-core-services + %gnome-core-shell + %gnome-core-utilities + %gnome-essential-extras gnome-desktop-configuration gnome-desktop-configuration? + gnome-desktop-configuration-core-services + gnome-desktop-configuration-shell + gnome-desktop-configuration-utilities + gnome-desktop-configuration-extra-packages gnome-desktop-service gnome-desktop-service-type @@ -1382,11 +1399,100 @@ (define sane-service-type ;;; GNOME desktop service. ;;; -(define-record-type* gnome-desktop-configuration - make-gnome-desktop-configuration - gnome-desktop-configuration? - (gnome gnome-desktop-configuration-gnome - (default gnome))) +(define %gnome-core-services + (list accountsservice network-manager packagekit upower)) + +(define %gnome-core-shell + (list gdm + gnome-backgrounds + gnome-bluetooth + gnome-color-manager + gnome-desktop + gnome-initial-setup + gnome-keyring + gnome-menus + gnome-session + gnome-settings-daemon + gnome-shell-extensions + gnome-shell + gnome-user-docs + gnome-user-share + gvfs + mutter + orca + rygel + sushi + adwaita-icon-theme + glib-networking + gsettings-desktop-schemas)) + +(define %gnome-core-utilities + (list baobab + cheese + eog + epiphany + evince + file-roller + gnome-calculator + gnome-calendar + gnome-characters + gnome-clocks + gnome-console + gnome-contacts + gnome-disk-utility + gnome-font-viewer + gnome-maps + gnome-music + gnome-photos + gnome-screenshot + gnome-system-monitor + gnome-text-editor + gnome-weather + nautilus + simple-scan + totem + tracker-miners + xdg-desktop-portal-gnome + yelp)) + +(define %gnome-essential-extras + (list at-spi2-core + dbus + dconf + desktop-file-utils + font-abattis-cantarell + font-dejavu + gnome-default-applications ; XXX: Allow customization by records + gst-plugins-base + gst-plugins-good + gucharmap + pinentry-gnome3 + pulseaudio ; XXX: Replace with pipewire + shared-mime-info + system-config-printer + xdg-user-dirs + zenity)) + +(define-maybe/no-serialization package) + +(define-configuration/no-serialization gnome-desktop-configuration + (core-services + (list-of-packages %gnome-core-services) + "A list of packages that the GNOME Shell and applications may rely on.") + (shell + (list-of-packages %gnome-core-shell) + "A list of packages that constitute the GNOME Shell, without applications.") + (utilities + (list-of-packages %gnome-core-utilities) + "A list of packages that serve as applications to use on top of the \ +GNOME Shell.") + (gnome (maybe-package) "Deprecated. Do not use.") + (extra-packages + (list-of-packages %gnome-essential-extras) + "A list of GNOME-adjacent packages to also include. This field is intended +for users to add their own packages to their GNOME experience. Note, that it +already includes some packages that are considered essential by some (most?) +GNOME users.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1400,18 +1506,56 @@ (define (gnome-packages gnome names) (define (gnome-udev-rules config) "Return the list of GNOME dependencies that provide udev rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome '("gnome-settings-daemon")))) + (let* ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda + ((and pkg (= package-name "gnome-settings-daemon")) + (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome '("gnome-settings-daemon"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gnome-settings-daemon")))))))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome - '("gnome-settings-daemon" - "gnome-control-center" - "gnome-system-monitor" - "gvfs")))) + (let ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda ((and pkg (= package-name "gvfs")) (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome + '("gnome-settings-daemon" + "gnome-control-center" + "gnome-system-monitor" + "gvfs"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gvfs")))))))) + +(define (gnome-profile config) + "Return a list of packages propagated through CONFIG." + (append + (gnome-desktop-configuration-core-services config) + (gnome-desktop-configuration-shell config) + (gnome-desktop-configuration-utilities config) + (let ((gnome-meta (gnome-desktop-configuration-gnome config))) + (if (maybe-value-set? gnome-meta) + (begin + (warning + (gnome-desktop-configuration-source-location config) + (G_ "Using a meta-package for gnome-desktop is discouraged.~%")) + (list gnome-meta)) + (list))) + (gnome-desktop-configuration-extra-packages config))) (define gnome-desktop-service-type (service-type @@ -1422,7 +1566,7 @@ (define gnome-desktop-service-type (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type - (compose list gnome-desktop-configuration-gnome)))) + gnome-profile))) (default-value (gnome-desktop-configuration)) (description "Run the GNOME desktop environment."))) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 18:31:24 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 23:31:24 +0000 Received: from localhost ([127.0.0.1]:52812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Qt-00073x-VQ for submit@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:24 -0500 Received: from planete-kraus.eu ([89.234.140.182]:54456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Qo-00072m-1D for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:18 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 29a3d98c; Mon, 5 Feb 2024 23:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniB; bh=S7Nl2Z5I86Y6gPjIIqjUxuvzN18=; b=A orRaO+Fb6kJWTRsBQIAYMfkdV2KEQUNPmjlDKUD4iAX4BNp8ltJqaCFpPeTs3xCP wRmPmM2BbtvBXIBWHGMQQcxuZ0rF4/ubOuPleOh+W4czLiMMRapO3h6mK1ybzEBf Mpb7W9fHzCpDWE4TCVwuvUcF69tiON4VUiKbOAy2kEK78XSYoz7FXa65aaDUM0r4 gFI9f0JgFX6adfvx1yEXn3YhPZy16dSbBkvwUDP9MY3ixeMe+xGfJtCW5K2skfOE YFdXgRhZk9ZrCmszLZEUShG/8A83eMKx7a7ECgAJs0//ogNhr4E5RYSZT8tCtXyU EHyen3sUcgvOJklAz4l/g== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 27872f1e (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 23:31:03 +0000 (UTC) Message-ID: <8de89efd7bc23466a840be8c099ce875014b2ca3.1707175669.git.vivien@planete-kraus.eu> In-Reply-To: References: From: Vivien Kraus Date: Mon, 5 Feb 2024 18:05:41 +0100 Subject: [PATCH gnome-team v3 4/5] services: Rename gnome-udev-rules. To: 68716@debbugs.gnu.org MIME-Version: 1.0 User-Agent: Evolution 3.48.4 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This function manages both rules and hardware files. * gnu/services/desktop.scm (gnome-udev-resources): Rename to gnome-udev-configuration-files. (gnome-desktop-service-type): Use the new function name gnome-udev-configuration-files. Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 1.1 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) This function manages both rules and hardware files. * gnu/services/desktop.scm (gnome-udev-resources): Rename to gnome-udev-configuration-files. (gnome-desktop-service-type): Use the new function name gnome-udev-configuration-files. Change-Id: I195ea6ba032e1e9b5ee45519de109bbd969b6503 --- gnu/services/desktop.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index f929a6cf31..263ae61698 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1506,8 +1506,9 @@ (define (gnome-packages gnome names) "Return the package NAMES among the GNOME package inputs." (map (cut gnome-package gnome <>) names)) -(define (gnome-udev-rules config) - "Return the list of GNOME dependencies that provide udev rules." +(define (gnome-udev-configuration-files config) + "Return the list of GNOME dependencies that provide udev rules and hardware +files." (let* ((gnome (gnome-desktop-configuration-gnome config)) (shell (gnome-desktop-configuration-shell config))) (or (any (match-lambda @@ -1564,7 +1565,7 @@ (define gnome-desktop-service-type (name 'gnome-desktop) (extensions (list (service-extension udev-service-type - gnome-udev-rules) + gnome-udev-configuration-files) (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 18:31:34 2024 Received: (at 68716) by debbugs.gnu.org; 5 Feb 2024 23:31:34 +0000 Received: from localhost ([127.0.0.1]:52815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8R4-00074Q-DK for submit@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:34 -0500 Received: from planete-kraus.eu ([89.234.140.182]:57666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8R3-00074C-3B for 68716@debbugs.gnu.org; Mon, 05 Feb 2024 18:31:33 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 86239119; Mon, 5 Feb 2024 23:31:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniB; bh=baijmumi2VMGM5BicG73Ls5w+vQ=; b=E oEvrLmdXNsabeXq4VnwlCN1zpztlS1wR4cxHGvYIYIxm7xX3fUzQAqUK6Qg9+74I Sy1fDro5idh1ZFzZ8sO6sKesQFwdLUmJxVKVAUZ/Gt3bkqgF9R/Hy1GKf/bJgSdu UHBAAxr2AG5Vxdy6VdrsqKYVwRr9k3SflPVKTASu6ySwUnE8oIAr0gkWNlSSSnvX PhIP0ARjCRIUD+mV2bMqC2gfSBO3kN2W964c6hSdTf30ttTPVnypokFwftRJIjz3 +rkJyUFRW7FewQYth2YaIExFpPF4bd6NWlYx+EXFoDVwjQl9KhzrZIRTPMNVf+jw xpzfODqjLqylKy5vcUYgA== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 932292ad (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Feb 2024 23:31:06 +0000 (UTC) Message-ID: In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 17:06:34 +0100 Subject: [PATCH gnome-team v3 2/5] services: gnome-desktop: Add core packages for GNOME 44. To: 68716@debbugs.gnu.org MIME-Version: 1.0 User-Agent: Evolution 3.48.4 X-Spam-Score: 4.0 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/desktop.scm (%gnome-core-shell): Add gnome-remote-desktop. (%gnome-core-utilities): Add gnome-connections. --- gnu/services/desktop.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 86be99252d..f929a6cf31 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1411,6 +1411,7 @@ (define %gnome- [...] Content analysis details: (4.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/desktop.scm (%gnome-core-shell): Add gnome-remote-desktop. (%gnome-core-utilities): Add gnome-connections. --- gnu/services/desktop.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 86be99252d..f929a6cf31 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1411,6 +1411,7 @@ (define %gnome- [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/services/desktop.scm (%gnome-core-shell): Add gnome-remote-desktop. (%gnome-core-utilities): Add gnome-connections. --- gnu/services/desktop.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 86be99252d..f929a6cf31 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1411,6 +1411,7 @@ (define %gnome-core-shell gnome-initial-setup gnome-keyring gnome-menus + gnome-remote-desktop gnome-session gnome-settings-daemon gnome-shell-extensions @@ -1437,6 +1438,7 @@ (define %gnome-core-utilities gnome-calendar gnome-characters gnome-clocks + gnome-connections gnome-console gnome-contacts gnome-disk-utility -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 06 00:14:26 2024 Received: (at 68716) by debbugs.gnu.org; 6 Feb 2024 05:14:26 +0000 Received: from localhost ([127.0.0.1]:53090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXDmd-0007ey-29 for submit@debbugs.gnu.org; Tue, 06 Feb 2024 00:14:26 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:57436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXDmY-0007eK-AW for 68716@debbugs.gnu.org; Tue, 06 Feb 2024 00:14:09 -0500 Received: by mail-wm1-x341.google.com with SMTP id 5b1f17b1804b1-40fdf5e7039so6386005e9.2 for <68716@debbugs.gnu.org>; Mon, 05 Feb 2024 21:13:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707196427; x=1707801227; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=AeddX7k+2RW613d4VdkwAQ6oiBfaoRQBqetTTy72NQA=; b=TsADYaUUtCuI3i0OJ56/xZyskJmdtbXWW0lQk8UcUO/W9tqmmmue9ziu+nLO34/qxl yYdTbQj86pbouf69qV/fhVoYVui4THc5EvQ4bYXMbfqXHhE42iadWzrpXloRkjUvo2m0 bsgCpckM+QYvr+YWD18GGJHAYx0pa8JIHFIhcj0iMwUIDKGI4DKXs41KNEI7ry1oeQS2 N6JG/qyAIhFCp+Ph+aUtshAJYOEBaURmLuLJKkULgrftiUDXAFbuCS6CYBe9GMYvY4Ez rLP/TZDXEBe0KH+BKXupmLM0RbJ231tymecHbqIwoN+GDAMwpnrb9cHRu4oCWToouGLl 7KgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707196427; x=1707801227; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AeddX7k+2RW613d4VdkwAQ6oiBfaoRQBqetTTy72NQA=; b=jm26z4SRAFNzgueLa+nmPvxtmJ8OG7qeLyTD/AlQCj3JY0riRMxAEof54AARNXfXMp zKSuX4efFg8sYMspbQnt0jC5XekgczxiEwjPZp8Y8NSalKOJJBg7p97fnWiRmrIdu8e0 CmUT1cqYyQcXxjToN8TCe01Afp7hT2Xbnita/7RzzNeHUReAzSifX8nucmdibBeyJ+0X U13pK+P4LPFFimMh1pEPPB0TzFLOde8OZWXOv39E4darOEoE84TqN8Orf3OzrlOdCimd Xgxpo2lT/aMOYoCwXEfkBB5MoLmNHvaUS4EZrIhbV91UfN6udivFOLFaaC0pbNlzJq/t AAbg== X-Gm-Message-State: AOJu0Yxw/M69zG3z2/vb37fLWJXNfRHfZqzmOiSK9TmPKe1c6W3c6nwJ mm0wy2ylR9uu55Cd5LsphyC6BBVIpIiTPHrVvEl2Bdb1UJtdqYEp X-Google-Smtp-Source: AGHT+IHeEUteGxuEhRuP2p9EhXlji3T5azwwRw8LctTwxEu5vIHhz925mxcUa9GHSfbmeicRzGoatg== X-Received: by 2002:a05:600c:3153:b0:40f:dd72:d9f with SMTP id h19-20020a05600c315300b0040fdd720d9fmr662145wmo.39.1707196427437; Mon, 05 Feb 2024 21:13:47 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUa7UQJFNtkuTImT/161VnndMM2FnQutncZlprFpHE+X+VAMVcORDML2fKq4fsPykRPojJDxCPgtUQR0VtHX73ftiMRZZ2QBD3Psvm0krQf4ljRswOeo/9cRF0jEULl Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id az38-20020a05600c602600b0040fbc6749e7sm666512wmb.8.2024.02.05.21.13.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 21:13:46 -0800 (PST) Message-ID: Subject: Re: [PATCH gnome-team v3 0/5] More elegant filtering of udev configurations From: Liliana Marie Prikler To: Vivien Kraus , 68716@debbugs.gnu.org Date: Tue, 06 Feb 2024 06:13:45 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Dienstag, dem 06.02.2024 um 00:27 +0100 schrieb Vivien Kraus: > Dear guix, >=20 > Here is a new version, where I use union-build to gather all udev > files, and then I remove the files that belong to the blocklist. >=20 > What do you think? LGTM, but I need to retouch my own 1-3. Will send a v4 with everything once that's done. Cheers From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 07 16:38:30 2024 Received: (at 68716) by debbugs.gnu.org; 7 Feb 2024 21:38:30 +0000 Received: from localhost ([127.0.0.1]:58065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXpck-0002ON-D7 for submit@debbugs.gnu.org; Wed, 07 Feb 2024 16:38:30 -0500 Received: from planete-kraus.eu ([89.234.140.182]:41694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXpci-0002O7-8x for 68716@debbugs.gnu.org; Wed, 07 Feb 2024 16:38:29 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 4b580b02; Wed, 7 Feb 2024 21:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:content-transfer-encoding:mime-version; s= albinoniB; bh=hyZ7caFWelB9SLabmrYpOcddsao=; b=TcSm/9uKsEXBx9XXKp kvGyQcUx4VFwPSe5N2LZhftSw+wgjbShcRPXHUGkfCIe8F3KNkugfF+J++rr7VHF YNkzP1t2Sf5YR9J90mKAefMGpHpBauM2/W/aklvCvYFhgeFg3gADZDdcdWGco+Kh 26Oqf8VwQJ9pcLU8TQrMiCki7HuZes3xDRMEHdhWlf9U2X4GzhMYqCbRtIWZuuBz 5QNps6zOkqbhgo7jHV+ZsMuSQ79ThTRep9o5hw9btiBGcWvCCUrUfAPzXkObaRYE X3/VcpJrru5tf5/Zx3i6KnMQG2svfs+bELZB6lCN+yFaLDbsHRVJETMzoHys1wmB rqbg== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 9172e958 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 7 Feb 2024 21:38:07 +0000 (UTC) Message-ID: <74ed95468711757bebf1fcdc18ee7ebbe1b1767a.camel@planete-kraus.eu> Subject: Re: [PATCH gnome-team v3 0/5] More elegant filtering of udev configurations From: Vivien Kraus To: Liliana Marie Prikler , 68716@debbugs.gnu.org Date: Wed, 07 Feb 2024 22:38:00 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Le mardi 06 f=C3=A9vrier 2024 =C3=A0 06:13 +0100, Liliana Marie Prikler a = =C3=A9crit=C2=A0: > I need to retouch my own 1-3.=C2=A0 Will send a v4 with everything > once that's done. I noticed that gnome-control-center, gnome-online-accounts, gnome- themes-extra and hicolor-icon-theme got lost in the process. Both gnome-control-center and gnome-online-accounts seem vital to me, and the others may be of interest too. Best regards, Vivien From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 07:44:28 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 12:44:28 +0000 Received: from localhost ([127.0.0.1]:57986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZr-0008B1-Tj for submit@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:28 -0500 Received: from mail-ej1-f68.google.com ([209.85.218.68]:47162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZo-0008Ag-Tc for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:27 -0500 Received: by mail-ej1-f68.google.com with SMTP id a640c23a62f3a-a26ed1e05c7so273544466b.2 for <68716@debbugs.gnu.org>; Fri, 16 Feb 2024 04:44:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708087380; x=1708692180; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GTmIRHHbFGlON8YxtcEoth3sSl0QoZIEqyq0sSAJjJA=; b=ZQDegBCN27BuDwM6Gf+qXXeglpoVpnwznnlOgF8AsY12ZzakcC+TwSjIKWBzCEXpSX jy3s8T0RdtZs6UscWu3+SGdj3Gw6Z8jWLg6RS5X/MHKn6ZHBNUUtDvd88aR0d5gaA3yZ PWvODPYelahzmYj9IANUqF98M28ej/k+qA+h/RWELHP+z1s5CeJHQFaWOIhIW5qawwnW jtNvGIEoMQ21oaotyu0eKuXmgbeIo6GQthQIThgabH6oWCFSBPAO5Nv6BStJRsEef7WV zblHWO89qpHEImybvWR7K/6y8hfc58yyHhFPnIPLTuZaesFXf38n4d+isuzw7Rmm6wco yjGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708087380; x=1708692180; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GTmIRHHbFGlON8YxtcEoth3sSl0QoZIEqyq0sSAJjJA=; b=fBWZ3O5H7dnnDRa5YPg8KReePl93MaeQrxeruZlI7oP6ifHPW6zoMKrnnpiZCTOlSI 3qUjAYQWaxACpPRbJPxFHF4sM//qJcQUHC+sc1LnU33JHm1QEjZnB0X8tTDPuph1uAUO fQ1LdN/QzGFbeMj/VdgpQa06bEmvQxnM+JOplWrA9QrzW2cKxrXfrJvDljLO8gaved+j dREioWdm4SJRisxZhtY4MXtId1EaL0pbyO1oWJ6DQt+2oh5iNHiAvYt2rrrrpTrEBSDt qoaQeqHR8d4UQQmXJdTFZtJpTiC+p3gvlxymarVEnZ1YmJQ5rBRkaf+EcC6AVGSkMSQ7 n/0Q== X-Gm-Message-State: AOJu0Yz577sKH7hZQSJHxkZEREUFDjwyinynoMWc5r/iVnJrhM9zzBM1 tGprARBBKj7NVe2uxix0iSw4Impy9f4urBpyMGE6bpnQQ1c/o782LxCu7h8SM30= X-Google-Smtp-Source: AGHT+IHI7MR5ADRx82bf1sWEbR4iwhcx3MPcuaCHlmAyAUBKmn+XBJeeXVlHuTPpYSGSQq1LOdt3fA== X-Received: by 2002:a17:906:c417:b0:a3d:e2e9:a7f7 with SMTP id u23-20020a170906c41700b00a3de2e9a7f7mr1105024ejz.27.1708087379957; Fri, 16 Feb 2024 04:42:59 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id hw12-20020a170907a0cc00b00a3d5d8ff745sm1544090ejc.144.2024.02.16.04.42.59 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 04:42:59 -0800 (PST) Message-ID: In-Reply-To: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Fri, 16 Feb 2024 12:02:42 +0100 Subject: [PATCH gnome-team v4 2/7] gnu: gnome: Add core packages for GNOME 44. X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) * gnu/packages/gnome.scm (gnome-meta-core-shell): Add gnome-remote-desktop. (gnome-meta-core-utilities): Add gnome-connections. --- gnu/packages/gnome.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 4fde75f612..f3d1548fe9 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -10200,6 +10200,7 @@ (define-public gnome-meta-core-shell gnome-initial-setup gnome-keyring gnome-menus + gnome-remote-desktop gnome-session gnome-settings-daemon gnome-shell @@ -10232,6 +10233,7 @@ (define-public gnome-meta-core-utilities gnome-calendar gnome-characters gnome-clocks + gnome-connections gnome-console gnome-contacts gnome-disk-utility -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 07:44:32 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 12:44:32 +0000 Received: from localhost ([127.0.0.1]:57990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZv-0008Bh-QK for submit@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:32 -0500 Received: from mail-ej1-f68.google.com ([209.85.218.68]:44231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZq-0008Aj-M9 for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:28 -0500 Received: by mail-ej1-f68.google.com with SMTP id a640c23a62f3a-a26fa294e56so301197666b.0 for <68716@debbugs.gnu.org>; Fri, 16 Feb 2024 04:44:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708087382; x=1708692182; darn=debbugs.gnu.org; h=to:content-transfer-encoding:mime-version:subject:date:references :in-reply-to:message-id:from:from:to:cc:subject:date:message-id :reply-to; bh=FaNHHr3tQ1pZmSq7BDJeYMJLzSa6LK16q5JFFSL7bVY=; b=XWaIUZ36t973lYYI9WQgKlVMnlkmOwdbg5wqtjeLYSF4xW9YmUepYMG06RYy7kKyPj 3izuPyaq4wIUD4QrgzpC2ene5+PHbEM46tEcUk5YjIjRSI8zMvVrRH//Op+RNync+Cjr fg4K6SPW3fh1YRZSuwo9sl3XY1YWp8XtabZWPetTcJWYtzHDg1ddoq8vDZWS9LTocl8+ 56Yh4Tc3sI34vABU07IBFBWEOs6UHi8YM8HZ1I5OYiMBWNKiBxijlcVin1AryR8w9h53 kaLx7AHHzcuSh+ztmDlQOtGF1swcJ2o8G8MKDn9kGbNq2FnqN5SZpf5hkibRDjTq6ETI OqJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708087382; x=1708692182; h=to:content-transfer-encoding:mime-version:subject:date:references :in-reply-to:message-id:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=FaNHHr3tQ1pZmSq7BDJeYMJLzSa6LK16q5JFFSL7bVY=; b=iLIx2yuj1hDF/lWA3YPhozGvQnwK7OvuKwyH6qnD6DjvTo/HexfjadDZ/WFlgNCywG +oggG6/7Q2VvOFNfdr7MVZuXcm1LXFs1NliKlAy6bK1g7bq42bt7Rfstwy38GD5T3F8R lQL5L6ocET3G3a3dIjt3eOlXokvVsspESLSBPRVF6WwmOHQGrHwaWZAH293mdqOfokuV +K9RRDk76aCmtRXf0064FQbkVCCdKIRExJKCFX960aYoA/dZ00hWgvn0zhRmgH8qYnza Y++MZk714ejxpnEbojza61tLUvgFRIPNLm1aYhyvrcHqKZIqDGJFhbEkHoD46dwddEH1 wSWQ== X-Gm-Message-State: AOJu0YwvHzopr4Grt8llg6TIAPwvSpeo+BzU/UJuPYzZWMg+LHq2mwLD qotR6fzENtnU+apFNdPuLTnG4mpMv9dU5THjaCDXIwRViGBMPO5XnslIyTWaOXs= X-Google-Smtp-Source: AGHT+IEmh/SYqShYuf/CRjmLbsLOjVVEnPN3tuYP6H9q0Y7mz9ReVcnzzSa0E+Mf5CULEF7e7K50zQ== X-Received: by 2002:a17:907:b9c6:b0:a3d:2e34:30a5 with SMTP id xa6-20020a170907b9c600b00a3d2e3430a5mr3238926ejc.29.1708087381722; Fri, 16 Feb 2024 04:43:01 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id hw12-20020a170907a0cc00b00a3d5d8ff745sm1544090ejc.144.2024.02.16.04.43.00 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 04:43:01 -0800 (PST) From: Vivien Kraus X-Google-Original-From: Vivien Kraus Message-ID: In-Reply-To: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> Date: Mon, 5 Feb 2024 18:05:41 +0100 Subject: [PATCH gnome-team v4 4/7] services: Extend udev capabilities of gnome-desktop-service. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org X-Spam-Score: 2.8 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Our udev service is capable of handling both rules and hardware databases. This patch makes it so that gnome can install any such needed rules or databases, while also allowing users to supply a list [...] Content analysis details: (2.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.68 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.68 listed in list.dnswl.org] 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.218.68 listed in bl.score.senderscore.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 3.4 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 MALFORMED_FREEMAIL Bad headers on message from free email service -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Our udev service is capable of handling both rules and hardware databases. This patch makes it so that gnome can install any such needed rules or databases, while also allowing users to supply a list [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.68 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.68 listed in list.dnswl.org] 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.218.68 listed in bl.score.senderscore.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 3.4 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 MALFORMED_FREEMAIL Bad headers on message from free email service -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Our udev service is capable of handling both rules and hardware databases. This patch makes it so that gnome can install any such needed rules or databases, while also allowing users to supply a list of names to ignore (via regular expressions). * gnu/services/desktop.scm (gnome-desktop-configuration): Add udev-ignorelist. (gnome-udev-resources): Rename to… (gnome-udev-configuration-files): … this. Account for udev-ignorelist. (gnome-desktop-service-type): Adjust accordingly. Change-Id: I6df4b896652581c42a35ea3ba1e4849ad72d12ef --- gnu/services/desktop.scm | 54 ++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 0667acfaba..0631571c49 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -82,6 +82,7 @@ (define-module (gnu services desktop) #:use-module (guix ui) #:use-module (guix utils) #:use-module (guix gexp) + #:use-module (guix modules) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-35) @@ -147,6 +148,7 @@ (define-module (gnu services desktop) gnome-desktop-configuration-shell gnome-desktop-configuration-utilities gnome-desktop-configuration-extra-packages + gnome-desktop-configuration-udev-ignorelist gnome-desktop-service gnome-desktop-service-type @@ -1417,7 +1419,13 @@ (define-configuration/no-serialization gnome-desktop-configuration "A list of GNOME-adjacent packages to also include. This field is intended for users to add their own packages to their GNOME experience. Note, that it already includes some packages that are considered essential by some (most?) -GNOME users.")) +GNOME users.") + (udev-ignorelist + (list-of-strings '()) + "A list of regular expressions denoting udev rules or hardware file names +provided by any package that should not be installed. By default, every udev +rule and hardware file specified by any package referenced in the other fields +are installed.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1429,22 +1437,32 @@ (define (gnome-packages gnome names) "Return the package NAMES among the GNOME package inputs." (map (cut gnome-package gnome <>) names)) -(define (gnome-udev-rules config) - "Return the list of GNOME dependencies that provide udev rules." - (let* ((gnome (gnome-desktop-configuration-gnome config)) - (shell (gnome-desktop-configuration-shell config))) - (or (any (match-lambda - ((and pkg (= package-name "gnome-settings-daemon")) - (list pkg)) - (_ #f)) - shell) - (and (maybe-value-set? gnome) - (gnome-packages gnome '("gnome-settings-daemon"))) - (raise - (condition - (&error-location - (location (gnome-desktop-configuration-source-location config))) - (&message (message (G_ "Missing gnome-settings-daemon")))))))) +(define (gnome-udev-configuration-files config) + "Return the GNOME udev rules and hardware files as computed from its +dependencies by filtering out the ignorelist." + (list + (computed-file + "gnome-udev-configurations" + (with-imported-modules + (source-module-closure '((guix build utils) + (guix build union))) + #~(begin + (use-modules (guix build utils) + (guix build union)) + ;; If rules.d or hwdb.d is not a proper directory but a symlink, + ;; then it will not be possible to delete individual files in this + ;; directory. + (union-build #$output + (search-path-as-list + (list "lib/udev" "libexec/udev") + (list #$@(gnome-profile config))) + #:create-all-directories? #t) + (for-each + (lambda (pattern) + (for-each + delete-file-recursively + (find-files #$output pattern))) + (list #$@(gnome-desktop-configuration-udev-ignorelist config)))))))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and @@ -1487,7 +1505,7 @@ (define gnome-desktop-service-type (name 'gnome-desktop) (extensions (list (service-extension udev-service-type - gnome-udev-rules) + gnome-udev-configuration-files) (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 07:44:33 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 12:44:33 +0000 Received: from localhost ([127.0.0.1]:57992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZw-0008Bj-AZ for submit@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:32 -0500 Received: from mail-ej1-f67.google.com ([209.85.218.67]:56737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZp-0008Ah-Op for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:28 -0500 Received: by mail-ej1-f67.google.com with SMTP id a640c23a62f3a-a29c4bbb2f4so263689066b.1 for <68716@debbugs.gnu.org>; Fri, 16 Feb 2024 04:44:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708087381; x=1708692181; darn=debbugs.gnu.org; h=to:content-transfer-encoding:mime-version:subject:date:from :references:in-reply-to:message-id:from:to:cc:subject:date :message-id:reply-to; bh=y5fhioA4z5D+5iKHDnf4iX5nY5uAvB+83CXIUhdsb5o=; b=QwXJ/bIfy8g+GDIYBIztXiR44YuKV13xvushTqgOgB224SS5oKlXTOpIwgGDtEbQ+a yM+w0sJvGmZ4UtMO5R4v7UUIOK+HM58qDHeb7SFrVTqXjdfUX+r6ueS7mIY6BlvT0mUM 4JQh7EgqjVzy8Y9SWC6mmnsWY2PCOD9IUgZUE7n3hRaf+yVYkkTtonveCjmmuUAa+3XL rOLlGKgejDstdx+kTihIASn8Y04saRG1gWSXhOpiDz64MnUJlBP/WiKMdDr3x+B23Oqi r/Qen7iJk8HOh4GYQTHhmDGsmi5nQso07rjsEer2/MoIHf1ySKpANuvh4Rd4227tpKdC UHiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708087381; x=1708692181; h=to:content-transfer-encoding:mime-version:subject:date:from :references:in-reply-to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y5fhioA4z5D+5iKHDnf4iX5nY5uAvB+83CXIUhdsb5o=; b=jkGbkhD4JO9VfXBN4SuLU3rU8XmEY+WkWzk1CFHg0+eXt6sZRZa0SSEho5GjlfPeeL uP5oBLbqIgzT26NTcm0rrRGLneLUkhl7VOc286IjzMWqqY6wsOd/+EV8fpRut7lfk+OY Zye0TqMOQn5G1aRYdYLNPyrTW2SexCmOKyVrNtdcRFM5vLPqWQsWf3UzzNDUITZYzzm2 0yHdDxdeUILKtIjjsNN7cA/kNw5PlCm/UsIlpM4TC3AViS/kNUVI9FJOf8fszC5cI0Xt TL5hTuqkAuMK9cU7PG64/2shjwz4pVnvUuECOmI751wg59i4GbxTaT9ikNuQC8hcZwjk L6fQ== X-Gm-Message-State: AOJu0YyJ+HZvmulj30PIzcO+X3MP9gyjL/uSX2Sv8tSjN+TK1iM4G1sC 4Q3yvmp7cP3SGTFOvYynpOBk8J6DL9atYbCt+yGRppM8kxEuncMSvZSYIDU8tCY= X-Google-Smtp-Source: AGHT+IFoPmjNIUYWe0VFQsz6Ywyh2q+et863tnA603ORbapiP+FvZZSMDNq0WgqDbsL+H6h1nMX4lg== X-Received: by 2002:a17:906:7196:b0:a3c:7fcc:3967 with SMTP id h22-20020a170906719600b00a3c7fcc3967mr3678204ejk.40.1708087380632; Fri, 16 Feb 2024 04:43:00 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id hw12-20020a170907a0cc00b00a3d5d8ff745sm1544090ejc.144.2024.02.16.04.43.00 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 04:43:00 -0800 (PST) Message-ID: <5a3f4ee73a4798d3e5ebc3c5bdc2980cf8fb16c8.1708087345.git.liliana.prikler@gmail.com> In-Reply-To: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:35:17 +0100 Subject: [PATCH gnome-team v4 3/7] services: Modularise gnome-desktop-configuration. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/gnome.scm (extract-propagated-inputs): New variable. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, ‘utilities’, and ‘extra-packages’. Deprecate ‘gnome [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.67 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.67 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 3.4 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 MALFORMED_FREEMAIL Bad headers on message from free email service -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) * gnu/services/gnome.scm (extract-propagated-inputs): New variable. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, ‘utilities’, and ‘extra-packages’. Deprecate ‘gnome’. (gnome-desktop-configuration-core-services, gnome-desktop-configuration-shell) (gnome-desktop-configuration-utilities) (gnome-desktop-configuration-extra-packages): Export publicly. (gnome-udev-rules, gnome-polkit-settings): Adjust accordingly. (gnome-profile): New variable. (gnome-desktop-service-type): Adjust accordingly. --- gnu/services/desktop.scm | 97 ++++++++++++++++++++++++++++++++++------ 1 file changed, 83 insertions(+), 14 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 5b79fbcda1..0667acfaba 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -37,6 +37,7 @@ (define-module (gnu services desktop) #:use-module (gnu services) #:use-module (gnu services shepherd) #:use-module (gnu services base) + #:use-module (gnu services configuration) #:use-module (gnu services dbus) #:use-module (gnu services avahi) #:use-module (gnu services xorg) @@ -60,6 +61,7 @@ (define-module (gnu services desktop) #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-plasma) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages xfce) #:use-module (gnu packages avahi) #:use-module (gnu packages xdisorg) @@ -73,6 +75,7 @@ (define-module (gnu services desktop) #:use-module (gnu packages nfs) #:use-module (gnu packages enlightenment) #:use-module (guix deprecation) + #:use-module (guix diagnostics) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -81,6 +84,7 @@ (define-module (gnu services desktop) #:use-module (guix gexp) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) + #:use-module (srfi srfi-35) #:use-module (ice-9 format) #:use-module (ice-9 match) #:export ( @@ -139,6 +143,10 @@ (define-module (gnu services desktop) gnome-desktop-configuration gnome-desktop-configuration? + gnome-desktop-configuration-core-services + gnome-desktop-configuration-shell + gnome-desktop-configuration-utilities + gnome-desktop-configuration-extra-packages gnome-desktop-service gnome-desktop-service-type @@ -1382,11 +1390,34 @@ (define sane-service-type ;;; GNOME desktop service. ;;; -(define-record-type* gnome-desktop-configuration - make-gnome-desktop-configuration - gnome-desktop-configuration? - (gnome gnome-desktop-configuration-gnome - (default gnome))) +(define-maybe/no-serialization package) + +(define (extract-propagated-inputs package) + ;; Drop input labels. Attempt to support outputs. + (map + (match-lambda + ((_ (? package? pkg)) pkg) + ((_ (? package? pkg) output) (list pkg output))) + (package-propagated-inputs package))) + +(define-configuration/no-serialization gnome-desktop-configuration + (core-services + (list-of-packages (extract-propagated-inputs gnome-meta-core-services)) + "A list of packages that the GNOME Shell and applications may rely on.") + (shell + (list-of-packages (extract-propagated-inputs gnome-meta-core-shell)) + "A list of packages that constitute the GNOME Shell, without applications.") + (utilities + (list-of-packages (extract-propagated-inputs gnome-meta-core-utilities)) + "A list of packages that serve as applications to use on top of the \ +GNOME Shell.") + (gnome (maybe-package) "Deprecated. Do not use.") + (extra-packages + (list-of-packages (extract-propagated-inputs gnome-essential-extras)) + "A list of GNOME-adjacent packages to also include. This field is intended +for users to add their own packages to their GNOME experience. Note, that it +already includes some packages that are considered essential by some (most?) +GNOME users.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1400,18 +1431,56 @@ (define (gnome-packages gnome names) (define (gnome-udev-rules config) "Return the list of GNOME dependencies that provide udev rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome '("gnome-settings-daemon")))) + (let* ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda + ((and pkg (= package-name "gnome-settings-daemon")) + (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome '("gnome-settings-daemon"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gnome-settings-daemon")))))))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome - '("gnome-settings-daemon" - "gnome-control-center" - "gnome-system-monitor" - "gvfs")))) + (let ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda ((and pkg (= package-name "gvfs")) (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome + '("gnome-settings-daemon" + "gnome-control-center" + "gnome-system-monitor" + "gvfs"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gvfs")))))))) + +(define (gnome-profile config) + "Return a list of packages propagated through CONFIG." + (append + (gnome-desktop-configuration-core-services config) + (gnome-desktop-configuration-shell config) + (gnome-desktop-configuration-utilities config) + (let ((gnome-meta (gnome-desktop-configuration-gnome config))) + (if (maybe-value-set? gnome-meta) + (begin + (warning + (gnome-desktop-configuration-source-location config) + (G_ "Using a meta-package for gnome-desktop is discouraged.~%")) + (list gnome-meta)) + (list))) + (gnome-desktop-configuration-extra-packages config))) (define gnome-desktop-service-type (service-type @@ -1422,7 +1491,7 @@ (define gnome-desktop-service-type (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type - (compose list gnome-desktop-configuration-gnome)))) + gnome-profile))) (default-value (gnome-desktop-configuration)) (description "Run the GNOME desktop environment."))) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 07:44:33 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 12:44:33 +0000 Received: from localhost ([127.0.0.1]:57994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZx-0008Br-03 for submit@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:33 -0500 Received: from mail-ej1-f67.google.com ([209.85.218.67]:43232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZo-0008Ae-Mt for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:28 -0500 Received: by mail-ej1-f67.google.com with SMTP id a640c23a62f3a-a3ddc13bbb3so102903766b.0 for <68716@debbugs.gnu.org>; Fri, 16 Feb 2024 04:44:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708087379; x=1708692179; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:message-id:from:to:cc:subject :date:message-id:reply-to; bh=IqPY4xmBBTUfXOO/T+jLg7ADN2/2PTMOHKZ48Sus8Bg=; b=dC9sgc6Qkjpb/OnDKVgvPJhoF5FUYUskxJJT6CTboGboEGCIf5JpAbEp3zAwTTyULk xEpDyUAqEKz+E9SHzvCuykhRbjCkdLZY6vTyklct/5jM9py/aIqm0PumRJ/lnL9m/mSs aMmlNzzBGiXpLzPy0AypzbJt9i+TtbAmwBm5ZYNfGF98pQ0+cR3clR+RZ07NWC+d724c R4LL7Okw3MjY/Pq9j9yV06Me5lrKwF4gBePATyfdRSbrzia3LbCTO7SLRBbqHXwDWuRv ukJLzh5sdaFEDYsAW4AcqFzje9GQdzhqHCR9TIk54lRmQNjOqvU4rjiRgp+DdWLNt4hS aGQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708087379; x=1708692179; h=mime-version:to:subject:date:from:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IqPY4xmBBTUfXOO/T+jLg7ADN2/2PTMOHKZ48Sus8Bg=; b=lH77vYAl0brxDnR09yNdH+gmhcwmSeQSy7mxVbVPLjHFGEsvgnU78IZqX4M0Are49v /sjR0jtqJ2FpkgTAGR0L6CcYblYEFG36GPflyW/iTxeey9yOSy1WqUD9pN7v3BcaNC6x Yi2rUfBZ7h9j6s3aHGVm+kaWf1gur+s24lo1/VjZST3X79LqrYNgAssjKl4wxw/Dcm9u GuC65ee9UMUjKajfsDg6mI65yuOjh4LWOftGM0iRialhK9dsy25F8FhgviFqy5/DVcc0 KysTHDxBpbi0ZxFoDH+oV/ijoY9FB4Ig0sf99fvRCTJorO61yH7Jwj6sxi505ngBMbEC 6hWA== X-Gm-Message-State: AOJu0YxhWvQ0rnVRy+oSoseu1egt1Sw59bjl4xapPwEFS8NzK4WYNDnq MB2H86Qyqoc3xX10Zj5aXVFmywGbbBvuxCq9PwHrgHfFgr1aXj+kU+Mwjp+9LWM= X-Google-Smtp-Source: AGHT+IHwdx09esnLTY8dByaCCmo0tklwl5HH2c7u4CM2CAV0fiGge9HWtngyaVuRJq0zX1AYnSeu4Q== X-Received: by 2002:a17:906:5614:b0:a3d:75f9:f22c with SMTP id f20-20020a170906561400b00a3d75f9f22cmr4133467ejq.0.1708087379316; Fri, 16 Feb 2024 04:42:59 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id hw12-20020a170907a0cc00b00a3d5d8ff745sm1544090ejc.144.2024.02.16.04.42.58 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 04:42:58 -0800 (PST) Message-ID: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Fri, 16 Feb 2024 11:53:43 +0100 Subject: [PATCH gnome-team v4 1/7] gnu: Split gnome into more meta-packages. X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) * gnu/packages/gnome.scm (gnome-meta-package): New syntax rule. (gnome-meta-core-services, gnome-meta-core-shell, gnome-meta-core-utilities) (gnome-essential-extras): New variables. (gnome): Implement in terms of the former. --- gnu/packages/gnome.scm | 179 ++++++++++++++++++++++++----------------- 1 file changed, 105 insertions(+), 74 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 7397148c2b..4fde75f612 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -10154,52 +10154,76 @@ (define-public gnome-weather (home-page "https://wiki.gnome.org/Apps/Weather") (license license:gpl2+))) -(define-public gnome +(define-syntax-rule (gnome-meta-package %name propagate) (package - (name "gnome") + (name %name) (version (package-version gnome-shell)) (source #f) (build-system trivial-build-system) - (arguments '(#:builder (begin (mkdir %output) #t))) - (propagated-inputs - `(,@(if (string-prefix? "x86_64" (%current-system)) - ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently - ;; only works on x86_64, so exclude it on other architectures. - (list eog) - '()) - ,@(list - ;; GNOME-Core-OS-Services. - accountsservice - network-manager - packagekit - upower - ;; GNOME-Core-Shell. - adwaita-icon-theme - gdm - glib-networking - gnome-backgrounds - gnome-bluetooth - gnome-color-manager - gnome-control-center - gnome-desktop - gnome-initial-setup - gnome-keyring - gnome-menus - gnome-session - gnome-settings-daemon - gnome-shell - gnome-shell-extensions - gnome-themes-extra - gnome-user-docs - gnome-user-share - gsettings-desktop-schemas - gvfs - mutter - orca - rygel - sushi - ;; GNOME-Core-Utilities. - baobab + (arguments + (list #:builder + #~(begin + (format (current-warning-port) + "Building ~a is useless. \ +Refer to its propagated inputs instead.\n" + #$name) + (mkdir #$output)))) + (propagated-inputs propagate) + (home-page "https://www.gnome.org") + (synopsis "The GNU desktop environment") + (description + "GNOME is the graphical desktop for GNU. It includes a wide variety of +applications for browsing the web, editing text and images, creating +documents and diagrams, playing media, scanning, and much more.") + (license license:gpl2+) + (properties `((hidden? . #t))))) + +(define-public gnome-meta-core-services + (gnome-meta-package + "gnome-meta-core-services" + (list accountsservice + network-manager + packagekit + upower))) + +(define-public gnome-meta-core-shell + (gnome-meta-package + "gnome-meta-core-shell" + (list adwaita-icon-theme + gdm + glib-networking + gnome-backgrounds + gnome-bluetooth + gnome-color-manager + gnome-control-center + gnome-desktop + gnome-initial-setup + gnome-keyring + gnome-menus + gnome-session + gnome-settings-daemon + gnome-shell + gnome-shell-extensions + gnome-themes-extra + gnome-user-docs + gnome-user-share + gsettings-desktop-schemas + gvfs + mutter + orca + rygel + sushi))) + +(define-public gnome-meta-core-utilities + (gnome-meta-package + "gnome-meta-core-utilities" + (append + ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently + ;; only works on x86_64, so exclude it on other architectures. + (if (string-prefix? "x86_64" (%current-system)) + (list eog) + '()) + (list baobab cheese epiphany evince @@ -10224,38 +10248,45 @@ (define-public gnome totem tracker-miners xdg-desktop-portal-gnome - yelp - ;; Others. - gnome-online-accounts - hicolor-icon-theme - - ;; Packages not part of GNOME proper but that are needed for a good - ;; experience. See . - ;; XXX: Find out exactly which ones are needed and why. - at-spi2-core - dbus - dconf - desktop-file-utils - font-abattis-cantarell - font-dejavu - gnome-default-applications - gst-plugins-base - gst-plugins-good - gucharmap - pinentry-gnome3 - pulseaudio - shared-mime-info - system-config-printer - xdg-user-dirs - yelp - zenity))) - (synopsis "The GNU desktop environment") - (home-page "https://www.gnome.org/") - (description - "GNOME is the graphical desktop for GNU. It includes a wide variety of -applications for browsing the web, editing text and images, creating -documents and diagrams, playing media, scanning, and much more.") - (license license:gpl2+))) + yelp)))) + +(define-public gnome-essential-extras + (package + (inherit + (gnome-meta-package + "gnome-essential-extras" + (list at-spi2-core + dbus + dconf + desktop-file-utils + font-abattis-cantarell + font-dejavu + gnome-default-applications + gnome-online-accounts + gst-plugins-base + gst-plugins-good + gucharmap + hicolor-icon-theme + pinentry-gnome3 + pulseaudio + shared-mime-info + system-config-printer + xdg-user-dirs + yelp + zenity))) + (description "This package provides a list of packages required for +a good GNOME experience, mixed from core dependencies and other implicitly +relied-on packages."))) + +(define-public gnome + (package + (inherit (gnome-meta-package "gnome" + (append-map package-propagated-inputs + (list gnome-meta-core-services + gnome-meta-core-shell + gnome-meta-core-utilities + gnome-essential-extras)))) + (properties (list)))) (define-public byzanz ;; The last stable release of Byzanz was in 2011, but there have been many base-commit: 622df12ef389c9e91f68ae10c54c043f34828c83 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 07:44:33 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 12:44:34 +0000 Received: from localhost ([127.0.0.1]:57996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZx-0008By-Km for submit@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:33 -0500 Received: from mail-ej1-f68.google.com ([209.85.218.68]:49469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZr-0008Am-R9 for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:29 -0500 Received: by mail-ej1-f68.google.com with SMTP id a640c23a62f3a-a26f73732c5so109802866b.3 for <68716@debbugs.gnu.org>; Fri, 16 Feb 2024 04:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708087383; x=1708692183; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=bmmZFzdnENYRVQPggATJhB80gWUHH9omf7WRONhe7No=; b=ef+vf1GTqyMfqlD3V05X2Zu/CuhSUB2YFwVnPJu2BtHpbb8q9KDidYSM7rrl9oRK1b k1TViYySaHNDA26PB+LvMXB9pStoEDczd4tuDc82fWb8pVNgQgFBgSJi0IatRuw9y6N/ znyX4Kl5qJB/ZJfjhBYMOEO8/AMaL6XmKeHk7ZoQImH/Hz95e1Ep8DbM2vk4ZVqhmpIR z4XE6tPPbAXUwUZhIb59GJqEVhk6G7gfFMn7VOPiGMdXHMWv3fCGA6pw3DVF9FIl9/Ws F3eYbHXnA3PT2Y409Bb17Krrw6KaFoQC1N2qmPBIogcu34U1ANkKf+PGhA9rHeHIUe74 Ec5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708087383; x=1708692183; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bmmZFzdnENYRVQPggATJhB80gWUHH9omf7WRONhe7No=; b=Mvx6gw67ulBJCjlAfVQbHptNMa8MFmlywrkH3PyeMv+8TuoZ7/Fz1SCg4xp2krhfBa BUgTzECU3Xrvio0EDhPyPbGPLVRb2+jy77R54HQ4wQLCulu27S3ANX7BUGLnVP2oeja0 s/S0CFWAoyOc0oCLy1lUJiKNQ/O0unTzZjHUvP1CWmAxk2V/CCwApSBFRqgetv0UbHWz fOOysEOD5s8s/o8dFcsCMQW7knT6qmwfU6ukN6nUYdg+HeVixV3gIFjK53OQ6rzpGo4G 3ZNXOrKAWMM5gIwseKWKerFESi26jVs3bNC92QFnWs0XJ0q0OUxH1auYOEozSt6znrBM EEpQ== X-Gm-Message-State: AOJu0YzRfbHE+9v9tMjMnfTurXZ7lXQJKIJeZqbkON9JDPEgilUG5SLl DEPFhmotKIbQm/uo3rZUxaZ1785lA2HndoTR6SQ3Yc4Gwr1IcLLJvzMPdPZm99A= X-Google-Smtp-Source: AGHT+IGV/mWjfHODS5KCMANvR77Lu6EFKmNitAluF9hqfsvklqTURYstFzwFqEZlq7zodCbxIaNmgg== X-Received: by 2002:a17:906:7c16:b0:a3d:1458:5e58 with SMTP id t22-20020a1709067c1600b00a3d14585e58mr3741400ejo.46.1708087383019; Fri, 16 Feb 2024 04:43:03 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id hw12-20020a170907a0cc00b00a3d5d8ff745sm1544090ejc.144.2024.02.16.04.43.02 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 04:43:02 -0800 (PST) Message-ID: In-Reply-To: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Fri, 16 Feb 2024 13:35:56 +0100 Subject: [PATCH gnome-team v4 6/7] services: desktop: Remove unused imports. X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) These imports were needed for a short time to consider two variants of finding udev/polkit configuration files. They are no longer needed, since the respective procedures use all packages now. * gnu/services/desktop.scm: Strip use of (guix diagnostics) and (srfi srfi-35). --- gnu/services/desktop.scm | 2 -- 1 file changed, 2 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index b3c0f4fc41..02a7802d58 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -75,7 +75,6 @@ (define-module (gnu services desktop) #:use-module (gnu packages nfs) #:use-module (gnu packages enlightenment) #:use-module (guix deprecation) - #:use-module (guix diagnostics) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -85,7 +84,6 @@ (define-module (gnu services desktop) #:use-module (guix modules) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) - #:use-module (srfi srfi-35) #:use-module (ice-9 format) #:use-module (ice-9 match) #:export ( -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 07:44:34 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 12:44:34 +0000 Received: from localhost ([127.0.0.1]:57998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZx-0008C6-V3 for submit@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:34 -0500 Received: from mail-ej1-f65.google.com ([209.85.218.65]:48192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZr-0008Al-Bq for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:29 -0500 Received: by mail-ej1-f65.google.com with SMTP id a640c23a62f3a-a3d82926ed2so89414166b.0 for <68716@debbugs.gnu.org>; Fri, 16 Feb 2024 04:44:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708087382; x=1708692182; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=77MF/Wc5xfDslCA8yVnEhnhiPyC9kkF8FZAf9ZvIMEQ=; b=fGPihckD28EED6hmzNM1UGJySU72SznA42B2CCrgGAt5PIct68140DCknFzInxgfW3 0QhikoCoEey6p037co2ffPWb/TeXY6D0RW6vPwT2nr3iH6xUh58EipQ2dl0W/fzS6Nyl Gv4qb+9aaxA8tR47Ns2+xLPMpac7utGki8cMfT5+qiO68n4mtttDlmIVEQPnb+6rYloP ooBhRw0Ezw0w5PQ3GjAg4Jnl6YQpGIYN4QRLV8lTZi5FMnSH6rmWSUrP8Z22JG4u/ll9 ydjtiQ7slgCHGLwP5cRYTQSsl4AMs6X4sPdLksnETXx2B1yOdnoXZBEKmcTvLCqGUUdA ZTvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708087382; x=1708692182; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=77MF/Wc5xfDslCA8yVnEhnhiPyC9kkF8FZAf9ZvIMEQ=; b=eYCcHl+ZqsiXA2Sm5avT0emv/yT2q/gfGGiR1RCxYwnU4jB6DxWANMKRHypV4+bLQb mrP2r93kWRjicoTdGRPVKjgfLPTgiYAvTrLPxyrf2mh4pAClQqC/unPRmtMUSt6LMNKu x/29BPn92CokBk6lJhUw+mAXERZ+2xBTqNdB+cHbXNDz/uMpTwrz0yGukfRqpBzwAz5C vbXweuRjYoERWZGJzwipmPVszviX25mpXv9AVKxlW+h4jyex4knvQGkDGwf/AbcySpCN lDIbbTK+Gxqoqe1yWkyipciLnAjRbaQizUxFsbmZw2bK0a8RbSvt3ElKEk0mIZjWaFYX Qgsg== X-Gm-Message-State: AOJu0Yzh0rSpytUJnwvzr1ZP6q+wYNl9h2DSudQF//+5h4ZX7iyokbCj uNPLGfXW3fuY/vp6IfknOdpteAyC6YEL+7fJAYZKC7RgkSEZLZfSBFHxkobfL9U= X-Google-Smtp-Source: AGHT+IHhZS7CkKt/asfzc5dZK3kXfcLErc5AsCgoVVlq/b0Eqnxo/ef7mAB6RT5N9zg2klSJzN0o6Q== X-Received: by 2002:a17:906:a2c6:b0:a3c:ed94:5612 with SMTP id by6-20020a170906a2c600b00a3ced945612mr3635428ejb.27.1708087382398; Fri, 16 Feb 2024 04:43:02 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id hw12-20020a170907a0cc00b00a3d5d8ff745sm1544090ejc.144.2024.02.16.04.43.01 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 04:43:02 -0800 (PST) Message-ID: <00013ffb07bdd7231f561e8c6c5d220d33b3e32f.1708087345.git.liliana.prikler@gmail.com> In-Reply-To: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Fri, 16 Feb 2024 13:08:11 +0100 Subject: [PATCH gnome-team v4 5/7] services: Extend polkit capabilities of gnome-desktop-service. X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) As with our udev extension, this makes it so that all inputs are considered modulo a new ignorelist. * gnu/services/desktop.scm (gnome-desktop-configuration): Add polkit-ignorelist. (gnome-polkit-settings): Adjust accordingly. --- gnu/services/desktop.scm | 44 ++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 0631571c49..b3c0f4fc41 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1425,7 +1425,12 @@ (define-configuration/no-serialization gnome-desktop-configuration "A list of regular expressions denoting udev rules or hardware file names provided by any package that should not be installed. By default, every udev rule and hardware file specified by any package referenced in the other fields -are installed.")) +are installed.") + (polkit-ignorelist + (list-of-strings '()) + "A list of regular expressions denoting polkit rules provided by any package +that should not be installed. By default, every polkit rule added by any package +referenced in the other fields are installed.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1467,22 +1472,27 @@ (define (gnome-udev-configuration-files config) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and rules." - (let ((gnome (gnome-desktop-configuration-gnome config)) - (shell (gnome-desktop-configuration-shell config))) - (or (any (match-lambda ((and pkg (= package-name "gvfs")) (list pkg)) - (_ #f)) - shell) - (and (maybe-value-set? gnome) - (gnome-packages gnome - '("gnome-settings-daemon" - "gnome-control-center" - "gnome-system-monitor" - "gvfs"))) - (raise - (condition - (&error-location - (location (gnome-desktop-configuration-source-location config))) - (&message (message (G_ "Missing gvfs")))))))) + (list + (computed-file + "gnome-polkit-settings" + (with-imported-modules + (source-module-closure '((guix build utils) + (guix build union))) + #~(let ((output (string-append #$output "/share/polkit-1"))) + (use-modules (guix build utils) + (guix build union)) + (mkdir-p (dirname output)) + (union-build output + (search-path-as-list + (list "share/polkit-1") + (list #$@(gnome-profile config))) + #:create-all-directories? #t) + (for-each + (lambda (pattern) + (for-each + delete-file-recursively + (find-files output pattern))) + (list #$@(gnome-desktop-configuration-polkit-ignorelist config)))))))) (define (gnome-profile config) "Return a list of packages propagated through CONFIG." -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 07:44:34 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 12:44:34 +0000 Received: from localhost ([127.0.0.1]:58000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZy-0008CD-Db for submit@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:34 -0500 Received: from mail-lf1-f44.google.com ([209.85.167.44]:50372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxZt-0008Ao-6I for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 07:44:29 -0500 Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-5128812662eso977159e87.0 for <68716@debbugs.gnu.org>; Fri, 16 Feb 2024 04:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708087384; x=1708692184; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=MPtOpE7auy8lW18YnUeBFfW56rMgLYMKUdKDcVXCWnc=; b=HBbV+05UFx5dgQsd1/4+BKt1LSSSkLkZh6WPBUQ7/mIn4d4ZlzxDwt4Ox5SJNV7yEE uddXEyHhLf6W467qpMwElcjO/0aspwvI8E+aRWvmJ2IiJG+VGxTZF8DaAMnVkDfzZk9D 4AhAUS8SoJPHlcoaxi+N7vS1jMJ0N/aC64+Seao+4J0IBxYtmiMtpYDQn1C2fVdAshrE 6NnWlG78xE1134gxTyOv9Mx8RQW/9R7B7Y5mG0U++SMhAVgz4SJRXrPoCGn5cSsyMWHE hDUdJkwEutucyTPDypFsZW0trqmzfru4OGRvQz+RT5X4wv/sHx7LntnQYVVoVIZfup6i w49g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708087384; x=1708692184; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MPtOpE7auy8lW18YnUeBFfW56rMgLYMKUdKDcVXCWnc=; b=sa3NcZ5MnDM5G5rtscT13vc8EahVjO1Y5TKnY8gCxE8LGZF2xpycmSqcEVwC17QuGC cvSZW2p3E3ePQ40C1z0dN3SxFDkk59E30tCzCOZVTceqZnIR8/RrjXOUrStnwrtSBPVj lGAviGi538HSO65VL/7uS981x9iluayehA/C1Nil9Ho2vYBRdhXh6ByR/5NsfS+Uqziv eA7ohNmxnmN1boTlMYJ0VAa8ZiSYpqQOhjO0vASt4jbNz/LDXh0+x4MYRCvwdQK41oSL zaGjT8wYtPghWZZvGme61n0/2V1LD5gFlkPUlFBDspy0zL8f4bZC4mtCCZohNEnMwZn4 V49g== X-Gm-Message-State: AOJu0YxOn8MS7cS3hc53dwX1bkFLMfueNHQFYOlfosA6Pg1JkW80w46T SEgF6frX1FHAarm8Ci29sTwf7bxFTAQBJeutDBmDco40/NCtW2PJ4pHhXPcd X-Google-Smtp-Source: AGHT+IFF1N5pA/OJV8lY8qBweFK2L+ChpjWNj4t8a6ArpoJC1pXlIyhxpX3XA87CjOdQQn5Z8WWPPA== X-Received: by 2002:ac2:5f83:0:b0:511:3ed0:f0e with SMTP id r3-20020ac25f83000000b005113ed00f0emr3964650lfe.13.1708087383704; Fri, 16 Feb 2024 04:43:03 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id hw12-20020a170907a0cc00b00a3d5d8ff745sm1544090ejc.144.2024.02.16.04.43.03 for <68716@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 04:43:03 -0800 (PST) Message-ID: <0ef52d621063bf7cd5487b287b4d4421ec3b786c.1708087345.git.liliana.prikler@gmail.com> In-Reply-To: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:55:44 +0100 Subject: [PATCH gnome-team v4 7/7] gnu: Deprecate gnome meta-package. X-Debbugs-Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable to [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 3.4 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.167.44 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.167.44 listed in list.dnswl.org] 0.0 MALFORMED_FREEMAIL Bad headers on message from free email service -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable towards the needs of users. As such, it is silly to insist on a single meta-package to make everyone happy. * gnu/packages/gnome.scm (gnome): Deprecate. --- gnu/packages/gnome.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index f3d1548fe9..e47a4576f5 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -237,6 +237,7 @@ (define-module (gnu packages gnome) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix deprecation) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) @@ -10280,7 +10281,7 @@ (define-public gnome-essential-extras a good GNOME experience, mixed from core dependencies and other implicitly relied-on packages."))) -(define-public gnome +(define-deprecated/public gnome #f (package (inherit (gnome-meta-package "gnome" (append-map package-propagated-inputs -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 12:44:36 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 17:44:36 +0000 Received: from localhost ([127.0.0.1]:60170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rb2GK-0002Qa-1V for submit@debbugs.gnu.org; Fri, 16 Feb 2024 12:44:36 -0500 Received: from planete-kraus.eu ([89.234.140.182]:59956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rb2GH-0002QL-5n for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 12:44:34 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 473e3f1d; Fri, 16 Feb 2024 17:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:content-transfer-encoding:mime-version; s= albinoniB; bh=hvUwZhLh5kLXWRFvYdunePCnLJE=; b=QE7z/OeFKgf7jhKd5m uwYTCWUeTt9C72EXt/DlRe2cnvpJm59a2HH2BMWivpDtA+VEfTU5bR4B0lWPjBI8 xhALb5fDnGMwcB36r0PnJgMrAE7GthJZouhDzXO90RHM5ML0h/YYjc3zVm5uqddP /Rn4uPuEddY4JU0zhaMB85LxvJrkYQHUOpbuDs/6rh7KoBmqOWCE6wKbGqaeCNGT MYQtVMUMNnQtiISZlk/o/g4oIbKhCdtsySkhc1Q3gFTjtdZa92H85EL4J2gnjJtp cU/Yrdki68X4pr4OeLwgg34xQNWMjtG8ALUcCzkdUyckS0Tjq28Yn1v9zOV9DQAw IZdw== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 25b42787 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 16 Feb 2024 17:44:05 +0000 (UTC) Message-ID: <7bf8118fbb5392b1ca0a885f282cd39525f97691.camel@planete-kraus.eu> Subject: Re: [bug#68716] [PATCH gnome-team v4 7/7] gnu: Deprecate gnome meta-package. From: Vivien Kraus To: Liliana Marie Prikler , 68716@debbugs.gnu.org Date: Fri, 16 Feb 2024 18:44:04 +0100 In-Reply-To: <0ef52d621063bf7cd5487b287b4d4421ec3b786c.1708087345.git.liliana.prikler@gmail.com> References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> <0ef52d621063bf7cd5487b287b4d4421ec3b786c.1708087345.git.liliana.prikler@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, maxim.cournoyer@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Hello! The whole series seems good to me. I reconfigured my system and rebooted into it, and it works. Best regards, Vivien Le jeudi 25 janvier 2024 =C3=A0 16:55 +0100, Liliana Marie Prikler a =C3=A9= crit=C2=A0: > GNOME is not a "one size fits all" environment, but with the > introduction of > World, Circle, and to some extent Developer Extras and recent > explorations of > mobile form factors much more customizable towards the needs of > users.=C2=A0 As > such, it is silly to insist on a single meta-package to make everyone > happy. >=20 > * gnu/packages/gnome.scm (gnome): Deprecate. > --- > =C2=A0gnu/packages/gnome.scm | 3 ++- > =C2=A01 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index f3d1548fe9..e47a4576f5 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -237,6 +237,7 @@ (define-module (gnu packages gnome) > =C2=A0=C2=A0 #:use-module (guix build-system meson) > =C2=A0=C2=A0 #:use-module (guix build-system python) > =C2=A0=C2=A0 #:use-module (guix build-system trivial) > +=C2=A0 #:use-module (guix deprecation) > =C2=A0=C2=A0 #:use-module (guix download) > =C2=A0=C2=A0 #:use-module (guix git-download) > =C2=A0=C2=A0 #:use-module ((guix licenses) #:prefix license:) > @@ -10280,7 +10281,7 @@ (define-public gnome-essential-extras > =C2=A0a good GNOME experience, mixed from core dependencies and other > implicitly > =C2=A0relied-on packages."))) > =C2=A0 > -(define-public gnome > +(define-deprecated/public gnome #f > =C2=A0=C2=A0 (package > =C2=A0=C2=A0=C2=A0=C2=A0 (inherit (gnome-meta-package "gnome" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (append-map package-pro= pagated- > inputs From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 14:45:59 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 19:45:59 +0000 Received: from localhost ([127.0.0.1]:60236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rb49m-0005RL-Jm for submit@debbugs.gnu.org; Fri, 16 Feb 2024 14:45:59 -0500 Received: from mail-qk1-f175.google.com ([209.85.222.175]:56533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rb49i-0005R6-Gj for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 14:45:57 -0500 Received: by mail-qk1-f175.google.com with SMTP id af79cd13be357-785d57056b0so129728585a.0 for <68716@debbugs.gnu.org>; Fri, 16 Feb 2024 11:45:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708112669; x=1708717469; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Yclrp8pQsD9qJ0JFLm7LvJ2fm7LnaXepHgIfSkHheHs=; b=lqI2mg8OYIAh3QKK14iNivlS8YMgJkGIMGi5l9BzTB98pvb7VX6KUhe41mxpDAwx8f 6DMmdxQycJLuhMfmQyBrdhiimF1Jj1xx0BOBfZGQ9p0jhKJG3z56XnUI1xcw3eBnvvmH RXNu2io5hZeQ0Smd1BCWank1aYXmYxR2BVqVS2KQqBAbLuwbQ+rZpek8Hz0HN2JXeTK0 ObDHIrnxzHDDZUsv7IBy1tmaGVuqTl1720Df6isRPRjyNm7vbQyFrb/+KBTT+0GcOj47 He9taqnBPF6IkW2CaZtDNI47IC+SfMBTyMNj9iIqXQ6FN1Ri8zvrkzhd0RPg0w7SId3f /naA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708112669; x=1708717469; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Yclrp8pQsD9qJ0JFLm7LvJ2fm7LnaXepHgIfSkHheHs=; b=XJD0/0KavbVzA2oE5wrR5Q1oHrjtwHYgi0yrazTJmn8cvxHo60eaVzkG279fKlp0kc hi/3dkIG1nq1vUmmDGnRu6NpU86GQ+xJLuX5KATzwqyUct327ACd1rfyqQqURwyrNy3e 5uDvVFhVGWgzguDPsQPeU7cfM790wyeBSUC+ywQeKPduGisLxxcq8/K159lAnBMZX0OL i1Ru/9dofkKdPDjrYkHAM7VkTyozqsz66uH/NnkniXIEty2i/1U9KIga0oDdCxc2NxHe oOjREiROsqUt7RL6xQJjOX3MVumV3QBSaun5n6NqPvslpCbTV/qOGEeqbkyLePDI86kv abQg== X-Gm-Message-State: AOJu0Yw+dMK+QX8KdWpmunpR2JSAAJvacIqAvbUnFl6Qamw2bY7ZA7Nu vmvAMqJ5hKZj3MVntcn5m3b8I0zw3Swr9WBWvFCVWEl51+RNgmIk X-Google-Smtp-Source: AGHT+IF7XgrMk4wehyiSG94sOOA4AaHgDVvCSjI9vsVrgxLQcs7e5MkIiwjpn693+5O3tQA8OJcx8A== X-Received: by 2002:a05:620a:4915:b0:785:5fde:bf32 with SMTP id vy21-20020a05620a491500b007855fdebf32mr6394020qkn.68.1708112669471; Fri, 16 Feb 2024 11:44:29 -0800 (PST) Received: from hurd (dsl-148-13.b2b2c.ca. [66.158.148.13]) by smtp.gmail.com with ESMTPSA id bs31-20020a05620a471f00b0078726d8637asm227250qkb.122.2024.02.16.11.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 11:44:28 -0800 (PST) From: Maxim Cournoyer To: Liliana Marie Prikler Subject: Re: [bug#68716] [PATCH gnome-team v4 1/7] gnu: Split gnome into more meta-packages. In-Reply-To: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> (Liliana Marie Prikler's message of "Fri, 16 Feb 2024 11:53:43 +0100") References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> Date: Fri, 16 Feb 2024 14:44:27 -0500 Message-ID: <87mss0ry78.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, 68716@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Hi, Liliana Marie Prikler writes: > * gnu/packages/gnome.scm (gnome-meta-package): New syntax rule. > (gnome-meta-core-services, gnome-meta-core-shell, gnome-meta-core-utilities) > (gnome-essential-extras): New variables. > (gnome): Implement in terms of the former. > --- > gnu/packages/gnome.scm | 179 ++++++++++++++++++++++++----------------- > 1 file changed, 105 insertions(+), 74 deletions(-) > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index 7397148c2b..4fde75f612 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -10154,52 +10154,76 @@ (define-public gnome-weather > (home-page "https://wiki.gnome.org/Apps/Weather") > (license license:gpl2+))) > > -(define-public gnome > +(define-syntax-rule (gnome-meta-package %name propagate) It'd be nice to allow any kind of extra fields to be appended to the package definition, as done e.g. for the make-openjdk syntax. > (package > - (name "gnome") > + (name %name) Nitpick: I'd use name*, as %name is often associated with globals in Guix. > (version (package-version gnome-shell)) > (source #f) > (build-system trivial-build-system) > - (arguments '(#:builder (begin (mkdir %output) #t))) > - (propagated-inputs > - `(,@(if (string-prefix? "x86_64" (%current-system)) > - ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently > - ;; only works on x86_64, so exclude it on other architectures. > - (list eog) > - '()) > - ,@(list > - ;; GNOME-Core-OS-Services. > - accountsservice > - network-manager > - packagekit > - upower > - ;; GNOME-Core-Shell. > - adwaita-icon-theme > - gdm > - glib-networking > - gnome-backgrounds > - gnome-bluetooth > - gnome-color-manager > - gnome-control-center > - gnome-desktop > - gnome-initial-setup > - gnome-keyring > - gnome-menus > - gnome-session > - gnome-settings-daemon > - gnome-shell > - gnome-shell-extensions > - gnome-themes-extra > - gnome-user-docs > - gnome-user-share > - gsettings-desktop-schemas > - gvfs > - mutter > - orca > - rygel > - sushi > - ;; GNOME-Core-Utilities. > - baobab > + (arguments > + (list #:builder > + #~(begin > + (format (current-warning-port) > + "Building ~a is useless. \ > +Refer to its propagated inputs instead.\n" > + #$name) > + (mkdir #$output)))) > + (propagated-inputs propagate) > + (home-page "https://www.gnome.org") > + (synopsis "The GNU desktop environment") > + (description > + "GNOME is the graphical desktop for GNU. It includes a wide variety of I think it's misleading to associate GNOME with GNU at this point in time. They aren't even a GNU project anymore. > +applications for browsing the web, editing text and images, creating > +documents and diagrams, playing media, scanning, and much more.") > + (license license:gpl2+) > + (properties `((hidden? . #t))))) > + > +(define-public gnome-meta-core-services > + (gnome-meta-package > + "gnome-meta-core-services" > + (list accountsservice > + network-manager > + packagekit > + upower))) > + > +(define-public gnome-meta-core-shell > + (gnome-meta-package > + "gnome-meta-core-shell" > + (list adwaita-icon-theme > + gdm > + glib-networking > + gnome-backgrounds > + gnome-bluetooth > + gnome-color-manager > + gnome-control-center > + gnome-desktop > + gnome-initial-setup > + gnome-keyring > + gnome-menus > + gnome-session > + gnome-settings-daemon > + gnome-shell > + gnome-shell-extensions > + gnome-themes-extra > + gnome-user-docs > + gnome-user-share > + gsettings-desktop-schemas > + gvfs > + mutter > + orca > + rygel > + sushi))) > + > +(define-public gnome-meta-core-utilities > + (gnome-meta-package > + "gnome-meta-core-utilities" > + (append > + ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently > + ;; only works on x86_64, so exclude it on other architectures. > + (if (string-prefix? "x86_64" (%current-system)) > + (list eog) > + '()) > + (list baobab > cheese > epiphany > evince > @@ -10224,38 +10248,45 @@ (define-public gnome > totem > tracker-miners > xdg-desktop-portal-gnome > - yelp > - ;; Others. > - gnome-online-accounts > - hicolor-icon-theme > - > - ;; Packages not part of GNOME proper but that are needed for a good > - ;; experience. See . > - ;; XXX: Find out exactly which ones are needed and why. > - at-spi2-core > - dbus > - dconf > - desktop-file-utils > - font-abattis-cantarell > - font-dejavu > - gnome-default-applications > - gst-plugins-base > - gst-plugins-good > - gucharmap > - pinentry-gnome3 > - pulseaudio > - shared-mime-info > - system-config-printer > - xdg-user-dirs > - yelp > - zenity))) > - (synopsis "The GNU desktop environment") > - (home-page "https://www.gnome.org/") > - (description > - "GNOME is the graphical desktop for GNU. It includes a wide variety of > -applications for browsing the web, editing text and images, creating > -documents and diagrams, playing media, scanning, and much more.") > - (license license:gpl2+))) > + yelp)))) > + > +(define-public gnome-essential-extras > + (package > + (inherit > + (gnome-meta-package > + "gnome-essential-extras" > + (list at-spi2-core > + dbus > + dconf > + desktop-file-utils > + font-abattis-cantarell > + font-dejavu > + gnome-default-applications > + gnome-online-accounts > + gst-plugins-base > + gst-plugins-good > + gucharmap > + hicolor-icon-theme > + pinentry-gnome3 > + pulseaudio > + shared-mime-info > + system-config-printer > + xdg-user-dirs > + yelp > + zenity))) > + (description "This package provides a list of packages required for > +a good GNOME experience, mixed from core dependencies and other implicitly > +relied-on packages."))) > + > +(define-public gnome > + (package > + (inherit (gnome-meta-package "gnome" > + (append-map package-propagated-inputs > + (list gnome-meta-core-services > + gnome-meta-core-shell > + gnome-meta-core-utilities > + gnome-essential-extras)))) > + (properties (list)))) With the make-openjdk like change I suggested above, this could be expressed without using inherit as: --8<---------------cut here---------------start------------->8--- (define-public gnome (gnome-meta-package "gnome" (append-map package-propagated-inputs (list gnome-meta-core-services gnome-meta-core-shell gnome-meta-core-utilities gnome-essential-extras)) (properties '()))) --8<---------------cut here---------------end--------------->8--- which I find more pleasing to read. Otherwise, Reviewed-by: Maxim Cournoyer -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 15:10:08 2024 Received: (at 68716) by debbugs.gnu.org; 16 Feb 2024 20:10:08 +0000 Received: from localhost ([127.0.0.1]:60252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rb4XA-00067G-4U for submit@debbugs.gnu.org; Fri, 16 Feb 2024 15:10:08 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:48617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rb4X7-00066h-FG for 68716@debbugs.gnu.org; Fri, 16 Feb 2024 15:10:06 -0500 Received: by mail-wr1-f68.google.com with SMTP id ffacd0b85a97d-337cc8e72f5so863389f8f.1 for <68716@debbugs.gnu.org>; Fri, 16 Feb 2024 12:09:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708114120; x=1708718920; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=LN8tEgu3h3lSHY7ELoyVQI+CMkOEugmAleeA8yNPixo=; b=f31PmQrUCEdRXjxcQafKJ1/OYAEN5FYj4a5a4lQlqlAyu62jeqmrQWkd0k26IRUkbL yOLkQWQelbpMe/bshyKyCLyX7/LUANWBbu7qHM08SY5xzMDAM3czq++5ZKwc9qn2tJl1 4GmeEX3siXRsNxHIWWeYcidIHzJAwjwl02ky3fAbet2Munlnc7bf9Qr9jUtZb2porWGq QXcODCiXQb27wcawGhZxQhChY9vZtpCG1GgUZ3Dp8rE4DxnTaK+uXPsH44CEqiNSlxVw TLCZU6CQxjv1u8a09xGYJC942YI5yBcINuz2FS54T2q7vcOsLhwoIyzKdHFhHZFqVmqA FuNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708114120; x=1708718920; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LN8tEgu3h3lSHY7ELoyVQI+CMkOEugmAleeA8yNPixo=; b=Tl4wBnJSWWDFhIPoTiZeTWNcHj9XLrXzDXh9fydYiDqZCyR/wl78zzbNg9P8CV44f1 9ZAjWAfHaE6H3OJ3M6FR8TRXaj5ksG7sztZHuJ9a2x6T7fdMfxzgkPgLhDaqoJz3Gu5v XvMa2kNrrzwt2HW6aNT4BAZ60kryIB/q8yhZh8orGcK9hxWvsR6TWs41m+7yxTXkxY1o KYcdQV6UKnQq/Io2mK71Ta9AidIdX6zq7a8Q9+N1wKPGKnIbLwUO6AekjaSkQBO/NjMA HdjvjBXXr5KbZANdB9LBPXvkXlWD60EEepywHm8yK0VC+axsBPSxEQ0+ZpmKW65QC98C tUKg== X-Gm-Message-State: AOJu0YzHokSaorINXYbkPLb6jEPxSC3Y8fmEM9g8bbiBCJM48qVDT93U 76Kvb5F9Eg/mv/QSqOEjDojMxxAPC/Oxc3txuCbxjKz7BdjqupvP X-Google-Smtp-Source: AGHT+IHTjU/3Q2OL6rIpU7i+ffl+flSxrL+VYC7qD7tJgvwgXbWNagP4AvVQ5GU/LkUw4RVmCGyiKA== X-Received: by 2002:a05:6000:3:b0:33d:1cc1:bb08 with SMTP id h3-20020a056000000300b0033d1cc1bb08mr2106799wrx.22.1708114119790; Fri, 16 Feb 2024 12:08:39 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id p6-20020adfe606000000b0033cdbe335bcsm3033506wrm.71.2024.02.16.12.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 12:08:39 -0800 (PST) Message-ID: Subject: Re: [bug#68716] [PATCH gnome-team v4 1/7] gnu: Split gnome into more meta-packages. From: Liliana Marie Prikler To: Maxim Cournoyer Date: Fri, 16 Feb 2024 21:08:34 +0100 In-Reply-To: <87mss0ry78.fsf@gmail.com> References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> <87mss0ry78.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, 68716@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) QW0gRnJlaXRhZywgZGVtIDE2LjAyLjIwMjQgdW0gMTQ6NDQgLTA1MDAgc2NocmllYiBNYXhpbSBD b3Vybm95ZXI6Cj4gSGksCj4gCj4gTGlsaWFuYSBNYXJpZSBQcmlrbGVyIDxsaWxpYW5hLnByaWts ZXJAZ21haWwuY29tPiB3cml0ZXM6Cj4gCj4gPiAqIGdudS9wYWNrYWdlcy9nbm9tZS5zY20gKGdu b21lLW1ldGEtcGFja2FnZSk6IE5ldyBzeW50YXggcnVsZS4KPiA+IChnbm9tZS1tZXRhLWNvcmUt c2VydmljZXMsIGdub21lLW1ldGEtY29yZS1zaGVsbCwgZ25vbWUtbWV0YS1jb3JlLQo+ID4gdXRp bGl0aWVzKQo+ID4gKGdub21lLWVzc2VudGlhbC1leHRyYXMpOiBOZXcgdmFyaWFibGVzLgo+ID4g KGdub21lKTogSW1wbGVtZW50IGluIHRlcm1zIG9mIHRoZSBmb3JtZXIuCj4gPiAtLS0KPiA+IMKg Z251L3BhY2thZ2VzL2dub21lLnNjbSB8IDE3OSArKysrKysrKysrKysrKysrKysrKysrKystLS0t LS0tLS0tLS0tCj4gPiAtLS0tCj4gPiDCoDEgZmlsZSBjaGFuZ2VkLCAxMDUgaW5zZXJ0aW9ucygr KSwgNzQgZGVsZXRpb25zKC0pCj4gPiAKPiA+IGRpZmYgLS1naXQgYS9nbnUvcGFja2FnZXMvZ25v bWUuc2NtIGIvZ251L3BhY2thZ2VzL2dub21lLnNjbQo+ID4gaW5kZXggNzM5NzE0OGMyYi4uNGZk ZTc1ZjYxMiAxMDA2NDQKPiA+IC0tLSBhL2dudS9wYWNrYWdlcy9nbm9tZS5zY20KPiA+ICsrKyBi L2dudS9wYWNrYWdlcy9nbm9tZS5zY20KPiA+IEBAIC0xMDE1NCw1MiArMTAxNTQsNzYgQEAgKGRl ZmluZS1wdWJsaWMgZ25vbWUtd2VhdGhlcgo+ID4gwqDCoMKgwqAgKGhvbWUtcGFnZSAiaHR0cHM6 Ly93aWtpLmdub21lLm9yZy9BcHBzL1dlYXRoZXIiKQo+ID4gwqDCoMKgwqAgKGxpY2Vuc2UgbGlj ZW5zZTpncGwyKykpKQo+ID4gwqAKPiA+IC0oZGVmaW5lLXB1YmxpYyBnbm9tZQo+ID4gKyhkZWZp bmUtc3ludGF4LXJ1bGUgKGdub21lLW1ldGEtcGFja2FnZSAlbmFtZSBwcm9wYWdhdGUpCj4gCj4g SXQnZCBiZSBuaWNlIHRvIGFsbG93IGFueSBraW5kIG9mIGV4dHJhIGZpZWxkcyB0byBiZSBhcHBl bmRlZCB0byB0aGUKPiBwYWNrYWdlIGRlZmluaXRpb24sIGFzIGRvbmUgZS5nLiBmb3IgdGhlIG1h a2Utb3BlbmpkayBzeW50YXguClRoYW5rcyBmb3IgdGhlIGhpbnQuCgo+ID4gwqDCoCAocGFja2Fn ZQo+ID4gLcKgwqDCoCAobmFtZSAiZ25vbWUiKQo+ID4gK8KgwqDCoCAobmFtZSAlbmFtZSkKPiAK PiBOaXRwaWNrOiBJJ2QgdXNlIG5hbWUqLCBhcyAlbmFtZSBpcyBvZnRlbiBhc3NvY2lhdGVkIHdp dGggZ2xvYmFscyBpbgo+IEd1aXguCkkgdGhpbmsgSSdsbCBiZSB1c2luZyBhIGR1bW15IG5hbWUg aW5zdGVhZCBzbyB0aGF0IHdlIGNhbiB1c2UgcmVndWxhcgpmaWVsZCBzeW50YXguCgo+ID4gwqDC oMKgwqAgKHZlcnNpb24gKHBhY2thZ2UtdmVyc2lvbiBnbm9tZS1zaGVsbCkpCj4gPiDCoMKgwqDC oCAoc291cmNlICNmKQo+ID4gwqDCoMKgwqAgKGJ1aWxkLXN5c3RlbSB0cml2aWFsLWJ1aWxkLXN5 c3RlbSkKPiA+IC3CoMKgwqAgKGFyZ3VtZW50cyAnKCM6YnVpbGRlciAoYmVnaW4gKG1rZGlyICVv dXRwdXQpICN0KSkpCj4gPiAtwqDCoMKgIChwcm9wYWdhdGVkLWlucHV0cwo+ID4gLcKgwqDCoMKg IGAoLEAoaWYgKHN0cmluZy1wcmVmaXg/ICJ4ODZfNjQiICglY3VycmVudC1zeXN0ZW0pKQo+ID4g LcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA7OyBYWFg6IEVvRyByZXF1aXJlcyBsaWJyc3ZnLW5l eHQsIHdoaWNoIGRlcGVuZHMgb24KPiA+IFJ1c3QsIHdoaWNoIGN1cnJlbnRseQo+ID4gLcKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoCA7OyBvbmx5IHdvcmtzIG9uIHg4Nl82NCwgc28gZXhjbHVkZSBp dCBvbiBvdGhlcgo+ID4gYXJjaGl0ZWN0dXJlcy4KPiA+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqAgKGxpc3QgZW9nKQo+ID4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAnKCkpCj4gPiAtwqDC oMKgwqDCoMKgICxAKGxpc3QKPiA+IC3CoMKgwqDCoMKgwqDCoMKgwqAgOzsgR05PTUUtQ29yZS1P Uy1TZXJ2aWNlcy4KPiA+IC3CoMKgwqDCoMKgwqDCoMKgwqAgYWNjb3VudHNzZXJ2aWNlCj4gPiAt wqDCoMKgwqDCoMKgwqDCoMKgIG5ldHdvcmstbWFuYWdlcgo+ID4gLcKgwqDCoMKgwqDCoMKgwqDC oCBwYWNrYWdla2l0Cj4gPiAtwqDCoMKgwqDCoMKgwqDCoMKgIHVwb3dlcgo+ID4gLcKgwqDCoMKg wqDCoMKgwqDCoCA7OyBHTk9NRS1Db3JlLVNoZWxsLgo+ID4gLcKgwqDCoMKgwqDCoMKgwqDCoCBh ZHdhaXRhLWljb24tdGhlbWUKPiA+IC3CoMKgwqDCoMKgwqDCoMKgwqAgZ2RtCj4gPiAtwqDCoMKg wqDCoMKgwqDCoMKgIGdsaWItbmV0d29ya2luZwo+ID4gLcKgwqDCoMKgwqDCoMKgwqDCoCBnbm9t ZS1iYWNrZ3JvdW5kcwo+ID4gLcKgwqDCoMKgwqDCoMKgwqDCoCBnbm9tZS1ibHVldG9vdGgKPiA+ IC3CoMKgwqDCoMKgwqDCoMKgwqAgZ25vbWUtY29sb3ItbWFuYWdlcgo+ID4gLcKgwqDCoMKgwqDC oMKgwqDCoCBnbm9tZS1jb250cm9sLWNlbnRlcgo+ID4gLcKgwqDCoMKgwqDCoMKgwqDCoCBnbm9t ZS1kZXNrdG9wCj4gPiAtwqDCoMKgwqDCoMKgwqDCoMKgIGdub21lLWluaXRpYWwtc2V0dXAKPiA+ IC3CoMKgwqDCoMKgwqDCoMKgwqAgZ25vbWUta2V5cmluZwo+ID4gLcKgwqDCoMKgwqDCoMKgwqDC oCBnbm9tZS1tZW51cwo+ID4gLcKgwqDCoMKgwqDCoMKgwqDCoCBnbm9tZS1zZXNzaW9uCj4gPiAt wqDCoMKgwqDCoMKgwqDCoMKgIGdub21lLXNldHRpbmdzLWRhZW1vbgo+ID4gLcKgwqDCoMKgwqDC oMKgwqDCoCBnbm9tZS1zaGVsbAo+ID4gLcKgwqDCoMKgwqDCoMKgwqDCoCBnbm9tZS1zaGVsbC1l eHRlbnNpb25zCj4gPiAtwqDCoMKgwqDCoMKgwqDCoMKgIGdub21lLXRoZW1lcy1leHRyYQo+ID4g LcKgwqDCoMKgwqDCoMKgwqDCoCBnbm9tZS11c2VyLWRvY3MKPiA+IC3CoMKgwqDCoMKgwqDCoMKg wqAgZ25vbWUtdXNlci1zaGFyZQo+ID4gLcKgwqDCoMKgwqDCoMKgwqDCoCBnc2V0dGluZ3MtZGVz a3RvcC1zY2hlbWFzCj4gPiAtwqDCoMKgwqDCoMKgwqDCoMKgIGd2ZnMKPiA+IC3CoMKgwqDCoMKg wqDCoMKgwqAgbXV0dGVyCj4gPiAtwqDCoMKgwqDCoMKgwqDCoMKgIG9yY2EKPiA+IC3CoMKgwqDC oMKgwqDCoMKgwqAgcnlnZWwKPiA+IC3CoMKgwqDCoMKgwqDCoMKgwqAgc3VzaGkKPiA+IC3CoMKg wqDCoMKgwqDCoMKgwqAgOzsgR05PTUUtQ29yZS1VdGlsaXRpZXMuCj4gPiAtwqDCoMKgwqDCoMKg wqDCoMKgIGJhb2JhYgo+ID4gK8KgwqDCoCAoYXJndW1lbnRzCj4gPiArwqDCoMKgwqAgKGxpc3Qg IzpidWlsZGVyCj4gPiArwqDCoMKgwqDCoMKgwqDCoMKgwqAgI34oYmVnaW4KPiA+ICvCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgIChmb3JtYXQgKGN1cnJlbnQtd2FybmluZy1wb3J0KQo+ID4g K8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICJCdWlsZGluZyB+ YSBpcyB1c2VsZXNzLsKgIFwKPiA+ICtSZWZlciB0byBpdHMgcHJvcGFnYXRlZCBpbnB1dHMgaW5z dGVhZC5cbiIKPiA+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oCAjJG5hbWUpCj4gPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAobWtkaXIgIyRvdXRw dXQpKSkpCj4gPiArwqDCoMKgIChwcm9wYWdhdGVkLWlucHV0cyBwcm9wYWdhdGUpCj4gPiArwqDC oMKgIChob21lLXBhZ2UgImh0dHBzOi8vd3d3Lmdub21lLm9yZyIpCj4gPiArwqDCoMKgIChzeW5v cHNpcyAiVGhlIEdOVSBkZXNrdG9wIGVudmlyb25tZW50IikKPiA+ICvCoMKgwqAgKGRlc2NyaXB0 aW9uCj4gPiArwqDCoMKgwqAgIkdOT01FIGlzIHRoZSBncmFwaGljYWwgZGVza3RvcCBmb3IgR05V LsKgIEl0IGluY2x1ZGVzIGEgd2lkZQo+ID4gdmFyaWV0eSBvZgo+IAo+IEkgdGhpbmsgaXQncyBt aXNsZWFkaW5nIHRvIGFzc29jaWF0ZSBHTk9NRSB3aXRoIEdOVSBhdCB0aGlzIHBvaW50IGluCj4g dGltZS7CoCBUaGV5IGFyZW4ndCBldmVuIGEgR05VIHByb2plY3QgYW55bW9yZS4KSSB0b29rIHRo ZSBzeW5vcHNpcyBhbmQgZGVzY3JpcHRpb24gb2YgdGhlIGV4aXN0aW5nIEdOT01FIHBhY2thZ2Uu IApGZWVsIGZyZWUgdG8gc3VnZ2VzdCBhbiBhbHRlcm5hdGl2ZS4KCkNoZWVycwo+IAoK From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 02:51:07 2024 Received: (at 68716) by debbugs.gnu.org; 17 Feb 2024 07:51:07 +0000 Received: from localhost ([127.0.0.1]:60371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbFTW-0004cG-L8 for submit@debbugs.gnu.org; Sat, 17 Feb 2024 02:51:06 -0500 Received: from planete-kraus.eu ([89.234.140.182]:46034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbFTU-0004bj-7l for 68716@debbugs.gnu.org; Sat, 17 Feb 2024 02:51:06 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id e4367e68; Sat, 17 Feb 2024 07:50:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:content-transfer-encoding:mime-version; s= albinoniB; bh=VDUignFvuuequD5l7COgtEupbcw=; b=ujlzd5y5RMXFk4iRC4 vgnlf19nYY92/mAaXQP0rBnNsam2CudiEMgdp1u2VnbuYnjnNW8dSjBWU78qxCtc lrH5MFQpesqPSTRkApcTljmPAtFPdIskGqJX5xIksPJ4GKvi/HBzON8zhpVaqIMi B2zcwUmxmvC/6+VKvukRITwWQQMe0NMDCHAnRhgv6E761R2pcOMPTWSdm0SCszbA LEGQyTWq3bOgJpmrMSTAQIUaooakszgQhLZVa9C6WJi5W0G8fb4aujBSUjcEHuTY Fxpd/9v3uflzjXA/cnFepWUsVjfX6dY0pwJmJrQhlsAse7/k/aFgqMA5AjTsdAks 12Lw== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 5ff78430 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 17 Feb 2024 07:50:36 +0000 (UTC) Message-ID: <1e69a08515d3344caa93cec2edf1bf728351275f.camel@planete-kraus.eu> Subject: Re: [bug#68716] [PATCH gnome-team v4 1/7] gnu: Split gnome into more meta-packages. From: Vivien Kraus To: Liliana Marie Prikler , Maxim Cournoyer Date: Sat, 17 Feb 2024 08:50:35 +0100 In-Reply-To: References: <5e0b95c296a3abfe2da6c1828dfbbc1a47886083.1708087345.git.liliana.prikler@gmail.com> <87mss0ry78.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, 68716@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Hello, Le vendredi 16 f=C3=A9vrier 2024 =C3=A0 21:08 +0100, Liliana Marie Prikler = a =C3=A9crit=C2=A0: > > > +=C2=A0=C2=A0=C2=A0=C2=A0 "GNOME is the graphical desktop for GNU.=C2= =A0 It includes a > > > wide > > > variety of > >=20 > > I think it's misleading to associate GNOME with GNU at this point > > in > > time.=C2=A0 They aren't even a GNU project anymore. > I took the synopsis and description of the existing GNOME package.=20 > Feel free to suggest an alternative. Here is my suggestion: GNOME is a graphical desktop environment. It includes a wide variety of applications with a common interface for browsing the web, editing text and images, creating documents and diagrams, playing media, scanning, and much more. It also provides libraries and tools to help write such applications. What do you think? Best regards, Vivien From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 03:25:41 2024 Received: (at 68716) by debbugs.gnu.org; 17 Feb 2024 08:25:41 +0000 Received: from localhost ([127.0.0.1]:60392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG0w-0005PS-VX for submit@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:41 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:52391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG0s-0005Ox-5C for 68716@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:37 -0500 Received: by mail-ed1-f67.google.com with SMTP id 4fb4d7f45d1cf-564372fb762so41282a12.0 for <68716@debbugs.gnu.org>; Sat, 17 Feb 2024 00:25:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708158248; x=1708763048; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:from:message-id:from:to:cc:subject :date:message-id:reply-to; bh=YdH/ZpPhcYqPGuf+NO2NAFDS/xUplRQaYHkpXxdwgKc=; b=UzSJjwtD/HnQZn5LRzYm/NC4hjyV9B5t2oepMvx2bCHRKVKLMLOZx0lioI0hhuxGdA G+H6qVsfWTjA3U8BGb+4q1E7zgMqMxM7urCk4V+huIrN9XJHjy3iTXF/+oPlHLQgELF9 D97R2yEO3ShkXMRe0vD8F0vPw6TeeEZvHCyVCD36LH8y3WgUhekxXIeDliBF8QPCtZH3 WYioXybbLCwWOq4n9cY5bkjkDIBk5iF997V9peqeRaWgGdOftQmoPURq+B0XAB3Cwtjy 0ftSdjYaJsE1dzzn3SM8hjxgKIOhb8ql6Il6ZPFkIdMPNX/1D46OXF9UtvGBzN6RsfT2 ryyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708158248; x=1708763048; h=mime-version:cc:to:subject:date:from:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YdH/ZpPhcYqPGuf+NO2NAFDS/xUplRQaYHkpXxdwgKc=; b=kSLij2IGnBE4utB19g1S2zuX6tJS5lFJbEaGOe4MaBOoyPbDthJwiag83KltCxoimp rzZPfHTFp0Diob/Mj8RR+8nMmowT3EJxG7YP9va0quBOSn7Ps9bbuKYqMRuAHOH0IC9I FrFTQn2Bb1PoaMMmAJ9pgh44L9u9vO3PoXyE/JY1QXooVD59YNk5NfcrVuwalpR/hgeX cJHGhF0Zeq4Mme29ijX25HelD0RM/juWNak4m6FEeJqczsGUrD8fJu4csYeiSFbkrqK+ ruLreZ9CCySdmG6DaEwig4kPhDP7vhtFJu50hiMGDLLWPAd3XhTUNENd7NOVtOMr6wZn 0J/A== X-Gm-Message-State: AOJu0Yxw2apbwR9JGEPD9AUuNd0kgv8b3XezXXaYLA59ltFv9JmLqgzv J6Dg0vTBs+ZXHGapxPW5ifR8iaDjad2jN+AbExhegC2LIB6Gz0AwSB1zl2D7JGE= X-Google-Smtp-Source: AGHT+IEy28PmyTRStSNuylACfPHDtwWxQaIeqYinDHI5rX8Q1KYpsDbDvr9GhcsAv78SMz2/n+Crow== X-Received: by 2002:a05:6402:1804:b0:562:f25:b124 with SMTP id g4-20020a056402180400b005620f25b124mr4757155edy.15.1708158248054; Sat, 17 Feb 2024 00:24:08 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cs1-20020a0564020c4100b005617cebd051sm707218edb.78.2024.02.17.00.24.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 00:24:07 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Fri, 16 Feb 2024 11:53:43 +0100 Subject: [PATCH v5 1/8] gnu: Split gnome into more meta-packages. to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, Vivien Kraus , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) * gnu/packages/gnome.scm (gnome-meta-package): New syntax rule. (gnome-meta-core-services, gnome-meta-core-shell, gnome-meta-core-utilities) (gnome-essential-extras): New variables. (gnome): Implement in terms of the former. --- gnu/packages/gnome.scm | 235 +++++++++++++++++++++++------------------ 1 file changed, 135 insertions(+), 100 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 7397148c2b..9a27343353 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -10154,108 +10154,143 @@ (define-public gnome-weather (home-page "https://wiki.gnome.org/Apps/Weather") (license license:gpl2+))) -(define-public gnome - (package - (name "gnome") - (version (package-version gnome-shell)) - (source #f) - (build-system trivial-build-system) - (arguments '(#:builder (begin (mkdir %output) #t))) - (propagated-inputs - `(,@(if (string-prefix? "x86_64" (%current-system)) - ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently - ;; only works on x86_64, so exclude it on other architectures. - (list eog) - '()) - ,@(list - ;; GNOME-Core-OS-Services. - accountsservice - network-manager - packagekit - upower - ;; GNOME-Core-Shell. - adwaita-icon-theme - gdm - glib-networking - gnome-backgrounds - gnome-bluetooth - gnome-color-manager - gnome-control-center - gnome-desktop - gnome-initial-setup - gnome-keyring - gnome-menus - gnome-session - gnome-settings-daemon - gnome-shell - gnome-shell-extensions - gnome-themes-extra - gnome-user-docs - gnome-user-share - gsettings-desktop-schemas - gvfs - mutter - orca - rygel - sushi - ;; GNOME-Core-Utilities. - baobab - cheese - epiphany - evince - file-roller - gnome-calculator - gnome-calendar - gnome-characters - gnome-clocks - gnome-console - gnome-contacts - gnome-disk-utility - gnome-font-viewer - gnome-maps - gnome-music - gnome-photos - gnome-screenshot - gnome-system-monitor - gnome-text-editor - gnome-weather - nautilus - simple-scan - totem - tracker-miners - xdg-desktop-portal-gnome - yelp - ;; Others. - gnome-online-accounts - hicolor-icon-theme - - ;; Packages not part of GNOME proper but that are needed for a good - ;; experience. See . - ;; XXX: Find out exactly which ones are needed and why. - at-spi2-core - dbus - dconf - desktop-file-utils - font-abattis-cantarell - font-dejavu - gnome-default-applications - gst-plugins-base - gst-plugins-good - gucharmap - pinentry-gnome3 - pulseaudio - shared-mime-info - system-config-printer - xdg-user-dirs - yelp - zenity))) - (synopsis "The GNU desktop environment") - (home-page "https://www.gnome.org/") - (description - "GNOME is the graphical desktop for GNU. It includes a wide variety of +(define-syntax gnome-meta-package + (lambda (x) + (syntax-case x () + ((_ field ...) + (with-syntax ((base (datum->syntax x 'base))) + #'(let ((base + (package + (name #f) ; we're hidden by default, so don't worry + (version (package-version gnome-shell)) + (source #f) + (build-system trivial-build-system) + (arguments + (list #:builder + #~(begin (format (current-warning-port) + "Building ~a is useless. \ +Refer to its propagated inputs instead.\n" + #$(package-name this-package)) + (mkdir #$output)))) + (home-page "https://www.gnome.org") + (synopsis "The GNU desktop environment") + (description "\ +GNOME is the graphical desktop for GNU. It includes a wide variety of applications for browsing the web, editing text and images, creating documents and diagrams, playing media, scanning, and much more.") - (license license:gpl2+))) + (license license:gpl2+) + (properties `((hidden? . #t)))))) + (package (inherit base) + field ...))))))) + +(define-public gnome-meta-core-services + (gnome-meta-package + (name "gnome-meta-core-services") + (propagated-inputs (list accountsservice + network-manager + packagekit + upower)))) + +(define-public gnome-meta-core-shell + (gnome-meta-package + (name "gnome-meta-core-shell") + (propagated-inputs (list adwaita-icon-theme + gdm + glib-networking + gnome-backgrounds + gnome-bluetooth + gnome-color-manager + gnome-control-center + gnome-desktop + gnome-initial-setup + gnome-keyring + gnome-menus + gnome-session + gnome-settings-daemon + gnome-shell + gnome-shell-extensions + gnome-themes-extra + gnome-user-docs + gnome-user-share + gsettings-desktop-schemas + gvfs + mutter + orca + rygel + sushi)))) + +(define-public gnome-meta-core-utilities + (gnome-meta-package + (name "gnome-meta-core-utilities") + (propagated-inputs (append + ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently + ;; only works on x86_64, so exclude it on other architectures. + (if (string-prefix? "x86_64" (%current-system)) + (list eog) + '()) + (list baobab + cheese + epiphany + evince + file-roller + gnome-calculator + gnome-calendar + gnome-characters + gnome-clocks + gnome-console + gnome-contacts + gnome-disk-utility + gnome-font-viewer + gnome-maps + gnome-music + gnome-photos + gnome-screenshot + gnome-system-monitor + gnome-text-editor + gnome-weather + nautilus + simple-scan + totem + tracker-miners + xdg-desktop-portal-gnome + yelp))))) + +(define-public gnome-essential-extras + (gnome-meta-package + (name "gnome-essential-extras") + (propagated-inputs (list at-spi2-core + dbus + dconf + desktop-file-utils + font-abattis-cantarell + font-dejavu + gnome-default-applications + gnome-online-accounts + gst-plugins-base + gst-plugins-good + gucharmap + hicolor-icon-theme + pinentry-gnome3 + pulseaudio + shared-mime-info + system-config-printer + xdg-user-dirs + yelp + zenity)) + (description "This package provides a list of packages required for +a good GNOME experience, mixed from core dependencies and other implicitly +relied-on packages."))) + +(define-public gnome + (gnome-meta-package + (name "gnome") + (propagated-inputs + (append-map package-propagated-inputs + (list gnome-meta-core-services + gnome-meta-core-shell + gnome-meta-core-utilities + gnome-essential-extras))) + (properties (list)))) (define-public byzanz ;; The last stable release of Byzanz was in 2011, but there have been many base-commit: 622df12ef389c9e91f68ae10c54c043f34828c83 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 03:25:43 2024 Received: (at 68716) by debbugs.gnu.org; 17 Feb 2024 08:25:43 +0000 Received: from localhost ([127.0.0.1]:60394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG11-0005Q7-AD for submit@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:43 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:51265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG0s-0005Oy-D4 for 68716@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:38 -0500 Received: by mail-ed1-f66.google.com with SMTP id 4fb4d7f45d1cf-563d56ee65cso1809686a12.2 for <68716@debbugs.gnu.org>; Sat, 17 Feb 2024 00:25:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708158249; x=1708763049; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:from:to:cc:subject:date:message-id:reply-to; bh=ck+iM5/EHR7DeDqUjPElj0yk0FmpJZJOQ216xdvqwGE=; b=EInUs6IaIx8ShMNHSYZyqZfLxtbVeejxg1D5E+liyqJ8Uw41tK2YYT2mWmzTY4+RQd WuApRGZgc0M6u7mz2pYI3Jm1p6LwPZshvffvsjDCxdDHyPX1c9DsyWsDM+Gud2u6iKnL m8zKeIFJumsee8+H+QzyfpK+Kj59gLqnYfCyJtBrZy8SZwkPqHwCa2aqbQBV73rqfkEm sIpgQ9E54AQKcXw6Sq3JdLUehWC14ugd0So/TBSLuiFh696PKBTOBGRXjDQ51x0DEvDE p0aGg7Qrf5QAlX7I9c+Nuwrn4uWMpKNSoAAqA/BWSNB5cy5kVTM1V4Xiw/nBA3FMjlwd wcag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708158249; x=1708763049; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ck+iM5/EHR7DeDqUjPElj0yk0FmpJZJOQ216xdvqwGE=; b=lohjlAFqjrqag9aAeRL3EWbw89AZDVSj+Y+Z/8P//0oIPasDGEPK6A9ZFSV2coOLtF m0l72Ra27ib/9Y+AEmmI4hyB+HK4YshkxEsXKi0RhwNYytT7ijAN/B22V6Hcz6ZgP8Nk X+HFnZ/xXZhWdJL43XjCfGsjbpWLjRz28HrPCIiDrYjqSodfUiEi6DlB0kaICueHFCJ+ 0wfBYMb4xl8Dl0ZMuqlY7xoIQrtCIZmMGVB+KMfJFoGOZhuYSPPwimuIV/gH67t8FHbC w7vh87JQyREPvxa2tq6/0uFIwHiStPNV/huB3pPCo2RAZ8NPqIxlwliIIuVbHW+JhJtl pYQw== X-Gm-Message-State: AOJu0YyTjF5l81gMJPGtmC1xEA2xHTztvFQhlYe+woniXx/QC/BI3CDd kkvwsXxqusyWQTVJwQj8UJwwD5WeFnKqDO31VaehfJY4CxGt/Ese7+72JM7UT9s= X-Google-Smtp-Source: AGHT+IFUfNqJRImBIY0jPP9DXhb3JWttwplMiNT90fn2RX7jon6+2MNoLiFc+zCuAugPXAE4xlrpwQ== X-Received: by 2002:aa7:d403:0:b0:564:1004:42ac with SMTP id z3-20020aa7d403000000b00564100442acmr1270689edq.4.1708158248801; Sat, 17 Feb 2024 00:24:08 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cs1-20020a0564020c4100b005617cebd051sm707218edb.78.2024.02.17.00.24.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 00:24:08 -0800 (PST) Message-ID: <948a04ec358b02194ab3ae448b73801ba340f065.1708158195.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Fri, 16 Feb 2024 12:02:42 +0100 Subject: [PATCH v5 2/8] gnu: gnome: Add core packages for GNOME 44. to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, Vivien Kraus , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) * gnu/packages/gnome.scm (gnome-meta-core-shell): Add gnome-remote-desktop. (gnome-meta-core-utilities): Add gnome-connections. --- gnu/packages/gnome.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 9a27343353..119f957def 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -10205,6 +10205,7 @@ (define-public gnome-meta-core-shell gnome-initial-setup gnome-keyring gnome-menus + gnome-remote-desktop gnome-session gnome-settings-daemon gnome-shell @@ -10237,6 +10238,7 @@ (define-public gnome-meta-core-utilities gnome-calendar gnome-characters gnome-clocks + gnome-connections gnome-console gnome-contacts gnome-disk-utility -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 03:25:44 2024 Received: (at 68716) by debbugs.gnu.org; 17 Feb 2024 08:25:44 +0000 Received: from localhost ([127.0.0.1]:60396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG11-0005QD-Ob for submit@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:44 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:50371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG0t-0005P0-Hm for 68716@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:38 -0500 Received: by mail-ed1-f65.google.com with SMTP id 4fb4d7f45d1cf-55ee686b5d5so1809763a12.0 for <68716@debbugs.gnu.org>; Sat, 17 Feb 2024 00:25:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708158249; x=1708763049; darn=debbugs.gnu.org; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :references:in-reply-to:message-id:from:to:cc:subject:date :message-id:reply-to; bh=y5fhioA4z5D+5iKHDnf4iX5nY5uAvB+83CXIUhdsb5o=; b=jrxr1DGATeETjLTFZhcg7yuOVHEmNYpBjKMgFrW6ouYJ2MUSqI/KTKf8maqqbrpP6B 5ZIvOfSGkx4A6/MOmmZWS/JI86l6XFytp7qnfiDKvCQ3WAI73zYipvxm9twMSPAbbSEQ OC5t4xzzndh6XsYBQSQA15GRFFz2od9WVSht7OUBL2sQ1QEAOCWIcXbBP6dhSZbutLfh JVtWwVFDdW0YRPdZaGIeo6wEKV+qK8fwB3GiayshqLJTzvu8O4Y2KH9lZutNoTGOl8/n 42ljuakl+XqdVzHSDjPoX5E5JGORB5SJzaNOhSoZSxil1UJszYdrJO8p8CAEfn6IdRmC TPfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708158250; x=1708763050; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :references:in-reply-to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y5fhioA4z5D+5iKHDnf4iX5nY5uAvB+83CXIUhdsb5o=; b=vFa5GKRxCoYTfLomQfJahdse5Ijd64KsDe6Q8yccVLviCo2ObFw07dQR6slDdKCVtM cspMHSeMNbxgzUDcXw53z/vGmfmorz771pv37D70VvoyZvEvA2wHbLaTX7QkpiA33BJ8 uu5w5GTzGyYscKFPBGvTtxh16ZCH9w3f6JhLwQQmb9dgpn6iKQ5FOpRx0qBR992MD2ip 2MDjVgKskMOCDB6nZjlC4dJxEaOSh4cyxGBtZD+aJKkzboa017rfJuG4WBjTu40JlGFD bd6iNk8pIHEVfNNNhTMjcb6aUjDqP5rg07INisoU28Wn9K6WPAKCOkJprQwjG+TKMfxl oaUw== X-Gm-Message-State: AOJu0YwCo8VoBIPLwLS31xR42y22W3SHMbqWYaDselzf2zoYWTrxKT1b FsJOucMGV7fex8i0lMXWopEbFx1mnGWMNjFeQanSVNoOFFU/b+Dy4l6KqT9AnMw= X-Google-Smtp-Source: AGHT+IFLH9rkoIghhs6vceS1L3C3PCOGjV5Z5U4BJay1srVdpRtnFOrIQnURUFhN9rnjAzc0r+Mi0w== X-Received: by 2002:a05:6402:1851:b0:564:1ecd:35d9 with SMTP id v17-20020a056402185100b005641ecd35d9mr592667edy.8.1708158249575; Sat, 17 Feb 2024 00:24:09 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cs1-20020a0564020c4100b005617cebd051sm707218edb.78.2024.02.17.00.24.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 00:24:09 -0800 (PST) Message-ID: <2869f41835d62e93d4f501f5bbb50a1c7a67c91c.1708158195.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:35:17 +0100 Subject: [PATCH v5 3/8] services: Modularise gnome-desktop-configuration. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to: 68716@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/services/gnome.scm (extract-propagated-inputs): New variable. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, ‘utilities’, and ‘extra-packages’. Deprecate ‘gnome [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.65 listed in wl.mailspike.net] 3.4 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.65 listed in list.dnswl.org] 0.0 MALFORMED_FREEMAIL Bad headers on message from free email service -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, Vivien Kraus , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) * gnu/services/gnome.scm (extract-propagated-inputs): New variable. (gnome-desktop-configuration): Add ‘core-services’, ‘shell’, ‘utilities’, and ‘extra-packages’. Deprecate ‘gnome’. (gnome-desktop-configuration-core-services, gnome-desktop-configuration-shell) (gnome-desktop-configuration-utilities) (gnome-desktop-configuration-extra-packages): Export publicly. (gnome-udev-rules, gnome-polkit-settings): Adjust accordingly. (gnome-profile): New variable. (gnome-desktop-service-type): Adjust accordingly. --- gnu/services/desktop.scm | 97 ++++++++++++++++++++++++++++++++++------ 1 file changed, 83 insertions(+), 14 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 5b79fbcda1..0667acfaba 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -37,6 +37,7 @@ (define-module (gnu services desktop) #:use-module (gnu services) #:use-module (gnu services shepherd) #:use-module (gnu services base) + #:use-module (gnu services configuration) #:use-module (gnu services dbus) #:use-module (gnu services avahi) #:use-module (gnu services xorg) @@ -60,6 +61,7 @@ (define-module (gnu services desktop) #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-plasma) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages xfce) #:use-module (gnu packages avahi) #:use-module (gnu packages xdisorg) @@ -73,6 +75,7 @@ (define-module (gnu services desktop) #:use-module (gnu packages nfs) #:use-module (gnu packages enlightenment) #:use-module (guix deprecation) + #:use-module (guix diagnostics) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -81,6 +84,7 @@ (define-module (gnu services desktop) #:use-module (guix gexp) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) + #:use-module (srfi srfi-35) #:use-module (ice-9 format) #:use-module (ice-9 match) #:export ( @@ -139,6 +143,10 @@ (define-module (gnu services desktop) gnome-desktop-configuration gnome-desktop-configuration? + gnome-desktop-configuration-core-services + gnome-desktop-configuration-shell + gnome-desktop-configuration-utilities + gnome-desktop-configuration-extra-packages gnome-desktop-service gnome-desktop-service-type @@ -1382,11 +1390,34 @@ (define sane-service-type ;;; GNOME desktop service. ;;; -(define-record-type* gnome-desktop-configuration - make-gnome-desktop-configuration - gnome-desktop-configuration? - (gnome gnome-desktop-configuration-gnome - (default gnome))) +(define-maybe/no-serialization package) + +(define (extract-propagated-inputs package) + ;; Drop input labels. Attempt to support outputs. + (map + (match-lambda + ((_ (? package? pkg)) pkg) + ((_ (? package? pkg) output) (list pkg output))) + (package-propagated-inputs package))) + +(define-configuration/no-serialization gnome-desktop-configuration + (core-services + (list-of-packages (extract-propagated-inputs gnome-meta-core-services)) + "A list of packages that the GNOME Shell and applications may rely on.") + (shell + (list-of-packages (extract-propagated-inputs gnome-meta-core-shell)) + "A list of packages that constitute the GNOME Shell, without applications.") + (utilities + (list-of-packages (extract-propagated-inputs gnome-meta-core-utilities)) + "A list of packages that serve as applications to use on top of the \ +GNOME Shell.") + (gnome (maybe-package) "Deprecated. Do not use.") + (extra-packages + (list-of-packages (extract-propagated-inputs gnome-essential-extras)) + "A list of GNOME-adjacent packages to also include. This field is intended +for users to add their own packages to their GNOME experience. Note, that it +already includes some packages that are considered essential by some (most?) +GNOME users.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1400,18 +1431,56 @@ (define (gnome-packages gnome names) (define (gnome-udev-rules config) "Return the list of GNOME dependencies that provide udev rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome '("gnome-settings-daemon")))) + (let* ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda + ((and pkg (= package-name "gnome-settings-daemon")) + (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome '("gnome-settings-daemon"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gnome-settings-daemon")))))))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and rules." - (let ((gnome (gnome-desktop-configuration-gnome config))) - (gnome-packages gnome - '("gnome-settings-daemon" - "gnome-control-center" - "gnome-system-monitor" - "gvfs")))) + (let ((gnome (gnome-desktop-configuration-gnome config)) + (shell (gnome-desktop-configuration-shell config))) + (or (any (match-lambda ((and pkg (= package-name "gvfs")) (list pkg)) + (_ #f)) + shell) + (and (maybe-value-set? gnome) + (gnome-packages gnome + '("gnome-settings-daemon" + "gnome-control-center" + "gnome-system-monitor" + "gvfs"))) + (raise + (condition + (&error-location + (location (gnome-desktop-configuration-source-location config))) + (&message (message (G_ "Missing gvfs")))))))) + +(define (gnome-profile config) + "Return a list of packages propagated through CONFIG." + (append + (gnome-desktop-configuration-core-services config) + (gnome-desktop-configuration-shell config) + (gnome-desktop-configuration-utilities config) + (let ((gnome-meta (gnome-desktop-configuration-gnome config))) + (if (maybe-value-set? gnome-meta) + (begin + (warning + (gnome-desktop-configuration-source-location config) + (G_ "Using a meta-package for gnome-desktop is discouraged.~%")) + (list gnome-meta)) + (list))) + (gnome-desktop-configuration-extra-packages config))) (define gnome-desktop-service-type (service-type @@ -1422,7 +1491,7 @@ (define gnome-desktop-service-type (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type - (compose list gnome-desktop-configuration-gnome)))) + gnome-profile))) (default-value (gnome-desktop-configuration)) (description "Run the GNOME desktop environment."))) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 03:25:44 2024 Received: (at 68716) by debbugs.gnu.org; 17 Feb 2024 08:25:44 +0000 Received: from localhost ([127.0.0.1]:60398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG12-0005QI-Cx for submit@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:44 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:56572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG0v-0005P7-RG for 68716@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:39 -0500 Received: by mail-ed1-f67.google.com with SMTP id 4fb4d7f45d1cf-55a179f5fa1so3857911a12.0 for <68716@debbugs.gnu.org>; Sat, 17 Feb 2024 00:25:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708158252; x=1708763052; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:from:to:cc:subject:date:message-id:reply-to; bh=Wx+RmiVJPE21FF0XXkPbBuEOyoJEbYOfI/jhAv2KhSM=; b=EW/oNc19GDGKO6aAyJV0N6oUzsBISE4i4fwV6ELs4T1EzhsWZhHX7Ayd+ZV8E6EN16 bgUsnA2WL7Xv1SxVUiA3LD5bqIiFC9/VUZRpMbCtLl6DC4zBSXndQfMsSV8tbGu7OqC2 p+yTQlICBt3LjXbGpLB3+pEgRzpEqChIO+M/UyYtHA64/haJ2iDjEcJBDskwM6o5x6R/ IEHbO53F+JjDgdl96wyKQFjGWnYZEsU5xzvvsnHsKUAkc/t5HxZUH6y1IwPr6athz6Zo Jmdfdmy+fRF6rq8A0FmhVZFXZiCRtdBK/o1fbrgds9RjkFN7ReCDaW3uRmpRdTtubskx Df+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708158252; x=1708763052; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Wx+RmiVJPE21FF0XXkPbBuEOyoJEbYOfI/jhAv2KhSM=; b=mJgxWvVKZBpzy8Az60cHUXoUQ6Wkg+2V61zmcQ14GoqJ7ulzdqhU/tJh1UWD7OYLzB Xp7I4hukahJXE8JwO5c8WKv7lOL0liT6leVtbKAVSG2ETuVmdWVlvXkDDHUMGxzEELyf SMECoCPMfto+2fT7A+br1CLaF52jDh2HfrP3PAmTUhDdJBGCPUE9hG0wKghyCqolEw/Y Wbt/HHKJl1IfXyTgV6Xbf549KkZFS5t6RJi4ux/xnybSYd8Udqa2xOtNgC8N5jBBCKMO IeVNAUto88C8zjTBEJE8NvveAWLQ3ReWQRkxv558Sf/oxBYsVnQaDTdQQ8xQi29Gr5AB 4tgg== X-Gm-Message-State: AOJu0Yw0vaOBS10eEevN7KWR9kqHBvhU+SopQTc9A5TJzW+yzw7rZ6HJ l3xcJMsdQYWkTdFPXHCXotO4yYo9kH130JMC/Aq+9B3kst3WAd5WF+WmJ62iogE= X-Google-Smtp-Source: AGHT+IEeVyOqtiX+R2Qgxe7AwiLdLvabz80iaM1kemzFy98cmDNwh1r8rKfeH93uZq5/3jZS5SpkuA== X-Received: by 2002:a05:6402:214a:b0:563:bd95:4ef8 with SMTP id bq10-20020a056402214a00b00563bd954ef8mr4726421edb.23.1708158252494; Sat, 17 Feb 2024 00:24:12 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cs1-20020a0564020c4100b005617cebd051sm707218edb.78.2024.02.17.00.24.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 00:24:12 -0800 (PST) Message-ID: <1e2625c51c274850da6622775cef74d0d76ad554.1708158195.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 16:55:44 +0100 Subject: [PATCH v5 7/8] gnu: Deprecate gnome meta-package. to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable to [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.67 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.67 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 3.4 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 MALFORMED_FREEMAIL Bad headers on message from free email service -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, Vivien Kraus , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) GNOME is not a "one size fits all" environment, but with the introduction of World, Circle, and to some extent Developer Extras and recent explorations of mobile form factors much more customizable towards the needs of users. As such, it is silly to insist on a single meta-package to make everyone happy. * gnu/packages/gnome.scm (gnome): Deprecate. --- gnu/packages/gnome.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 119f957def..3736b9c351 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -237,6 +237,7 @@ (define-module (gnu packages gnome) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix deprecation) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) @@ -10283,7 +10284,7 @@ (define-public gnome-essential-extras a good GNOME experience, mixed from core dependencies and other implicitly relied-on packages."))) -(define-public gnome +(define-deprecated/public gnome #f (gnome-meta-package (name "gnome") (propagated-inputs -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 03:25:45 2024 Received: (at 68716) by debbugs.gnu.org; 17 Feb 2024 08:25:45 +0000 Received: from localhost ([127.0.0.1]:60400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG12-0005QP-OQ for submit@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:45 -0500 Received: from mail-ed1-f52.google.com ([209.85.208.52]:42452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG0w-0005P9-O7 for 68716@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:40 -0500 Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-561587ce966so5494143a12.1 for <68716@debbugs.gnu.org>; Sat, 17 Feb 2024 00:25:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708158253; x=1708763053; darn=debbugs.gnu.org; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :references:in-reply-to:message-id:from:to:cc:subject:date :message-id:reply-to; bh=SVK2xzibWybNSxaMEbgnejodo9o+smlznPF2YL0myPM=; b=ECGMVbTCSCe7749LFeycpxnVULAJtdsror9GEa6JoCE8BSBDgY6Xoz6kQLkVAvu9/r clH4X6WBEBV4cKzhI+Pd9+Cnsj+VQF7ig7Z823uoX8YNZdEFzgRof3bW+/oqrsPtvYNc abH7vNWUcZ2ucajsJdm0Lfi3La0Yy/a92mOYp5UWE+6LIuwfjEYdqfs9X+LmVVqRsi+i x7T/Si/Cqyov4GjUYwM6P+9n9mWE55dgIB3xl83N7myN1UGcN9MBpZIKVlOMhNUFbmV/ sDS255MpVmhW0sBTnclVUVFAVhPyX8kREkAjIp0KFO9SN3EhMRqg2UkEBCdv9QtUExJX MZhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708158253; x=1708763053; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :references:in-reply-to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SVK2xzibWybNSxaMEbgnejodo9o+smlznPF2YL0myPM=; b=UZ0VCimnqatcE/Sf76W64NjZfE/NfFUxYySnQfGL3/VeXznrbIgwel2hbZEcV3P79K aCneLP7ovgDuNMSIS1FY06h/U/id1+O2xv6CLMCH7MBaVJ/4bXv9hXzB+djdY4vH8tSR +s8YaZ883A1g+akzPDDKjUFvFwcy/PsGliDlbELqJlpE/kFWIgorAxWN5TtBmq3IFoDz 1NJ2sP+rP93nkhhGrGihEU65KYb91JTjpPDpDuD8qLHHSaPqodCJCa7+K/bwWCN6TQHd 4JN91Am6JiN08VylroLjqkrsFRLo79o/kwPKJ8JFAblVxdST5/kuYeDkIg4dlmtkyKF2 dwQQ== X-Gm-Message-State: AOJu0YxsDStZe3MsmYWA0LoIoMm8pkwRmOjZUmScXPud3L0rsCLC/WPa mxadPZiaWXKMOWsQK1uloOiNRnoaCVl4Y0mfumib1pN8VuCmRYldF02cxeWB X-Google-Smtp-Source: AGHT+IGGHoppqupfmhNH6uD3n8ZsZ5Zvp5IeDGP+8B5SZpvnKws0pZysdNFONhlYmkvMm0rBL1axww== X-Received: by 2002:a05:6402:708:b0:564:1de7:23b1 with SMTP id w8-20020a056402070800b005641de723b1mr873667edx.9.1708158253270; Sat, 17 Feb 2024 00:24:13 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cs1-20020a0564020c4100b005617cebd051sm707218edb.78.2024.02.17.00.24.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 00:24:12 -0800 (PST) Message-ID: <148822e650a43b1084633018a626d618cc30da95.1708158195.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Sat, 17 Feb 2024 09:19:28 +0100 Subject: [PATCH v5 8/8] gnu: gnome: Update synopsis and description. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to: 68716@debbugs.gnu.org X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, Vivien Kraus , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Gnome no longer considers itself “The GNU desktop environment”™, so let's reflect that. * gnu/packages/gnome.scm (gnome-meta-package)[synopsis]: Shorten to “Graphical desktop environment”. [description]: Adjust accordingly. --- gnu/packages/gnome.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3736b9c351..43126388e9 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -10174,11 +10174,11 @@ (define-syntax gnome-meta-package #$(package-name this-package)) (mkdir #$output)))) (home-page "https://www.gnome.org") - (synopsis "The GNU desktop environment") - (description "\ -GNOME is the graphical desktop for GNU. It includes a wide variety of -applications for browsing the web, editing text and images, creating -documents and diagrams, playing media, scanning, and much more.") + (synopsis "Graphical desktop environment") + (description "GNOME is a graphical desktop environment. +It includes a wide variety of applications with a common interface for +browsing the web, editing text and images, creating documents and diagrams, +playing media, scanning, and much more.") (license license:gpl2+) (properties `((hidden? . #t)))))) (package (inherit base) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 03:25:46 2024 Received: (at 68716) by debbugs.gnu.org; 17 Feb 2024 08:25:46 +0000 Received: from localhost ([127.0.0.1]:60402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG13-0005QX-KS for submit@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:45 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:50372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG0v-0005P5-3B for 68716@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:40 -0500 Received: by mail-ed1-f65.google.com with SMTP id 4fb4d7f45d1cf-55ee686b5d5so1809785a12.0 for <68716@debbugs.gnu.org>; Sat, 17 Feb 2024 00:25:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708158252; x=1708763052; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:from:to:cc:subject:date:message-id:reply-to; bh=bmmZFzdnENYRVQPggATJhB80gWUHH9omf7WRONhe7No=; b=McrqrzPrgR1voYQ/Fpu5ZsZQWRtuPYwy+dndCeYeDjlepMwBEeKk9v7HOpLN4b1TF2 9YnhX/sfnhV8N6Z+Gl2QehOGEtrP4uccUW4s/3sjMPuvjOg+A3xzKi9opR5w21eLB3zB WYSOuiEfQUY6EkMDAgvAorX4irNpFcnHNdIHgxm7ha73229e43kSpDyH1+lhk9faLe1o ayDW3MwrFrS9bEgi3RdgVbLCftkhq99xEBCGNSNaA8grDP6oVlUS+bj1zwRe59EavbbP BR1m+Zs/s8hpZLNJVN00lZJqF1XTsjOC+7WRWcfQs9K4Jgu4pDyrRPSijN4Rt9v9evyZ lVUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708158252; x=1708763052; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bmmZFzdnENYRVQPggATJhB80gWUHH9omf7WRONhe7No=; b=oX5338R43jnV2zh83uKXPIJP0vRk9HYFJ3q/ulowlhzmM9yHo+9ADEHccRuqCfRXeT BNJSNZPiHplZ/W5sysXVbuzivvPl/O0Mph+LVTTkBUEqB2zYbkmS7rUkGX59Qzr7VnD5 I6cbvwzou7eF1s1RbkhpsMh5ZXexFstnONbkKgMstU5++ds0hMkRtyROkKeYxuRRdKoo LKtGEQelAyM4XGviSAGK/YsacyK2zKB9XG5E5ZbT+iOh4wq32pug0nu4/RQrzhmL9mg2 rzlu73CuWF+dPXqg6b1qdnDpI7QpRImSl4b+N64PQ27b9wrCgqVHENis+VpiMsf4VF74 U7UQ== X-Gm-Message-State: AOJu0Yx8HPysdWRTdfwHEpRAmhCQ8nU8Hk/hxG4rSoszS4+TLVAsJ6J1 GBV+JOJqNII3UvR8P9PTE8K5xhIsyqda62/x2TflZ7h9Kn6FSiGLer+GjzJgjx4= X-Google-Smtp-Source: AGHT+IGGKf4JnXHQF4gm2a2J/+wKGk/i7eO04pG/7pguwVSu3m2xRf0TY8GuNBtm2Lfjq+HQ1Llobw== X-Received: by 2002:a05:6402:202e:b0:564:17dd:d7db with SMTP id ay14-20020a056402202e00b0056417ddd7dbmr882596edb.11.1708158251767; Sat, 17 Feb 2024 00:24:11 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cs1-20020a0564020c4100b005617cebd051sm707218edb.78.2024.02.17.00.24.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 00:24:11 -0800 (PST) Message-ID: In-Reply-To: References: From: Liliana Marie Prikler Date: Fri, 16 Feb 2024 13:35:56 +0100 Subject: [PATCH v5 6/8] services: desktop: Remove unused imports. to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, Vivien Kraus , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) These imports were needed for a short time to consider two variants of finding udev/polkit configuration files. They are no longer needed, since the respective procedures use all packages now. * gnu/services/desktop.scm: Strip use of (guix diagnostics) and (srfi srfi-35). --- gnu/services/desktop.scm | 2 -- 1 file changed, 2 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index b3c0f4fc41..02a7802d58 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -75,7 +75,6 @@ (define-module (gnu services desktop) #:use-module (gnu packages nfs) #:use-module (gnu packages enlightenment) #:use-module (guix deprecation) - #:use-module (guix diagnostics) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -85,7 +84,6 @@ (define-module (gnu services desktop) #:use-module (guix modules) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) - #:use-module (srfi srfi-35) #:use-module (ice-9 format) #:use-module (ice-9 match) #:export ( -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 03:25:46 2024 Received: (at 68716) by debbugs.gnu.org; 17 Feb 2024 08:25:46 +0000 Received: from localhost ([127.0.0.1]:60404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG14-0005Qe-1I for submit@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:46 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:48241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG0u-0005P3-Dn for 68716@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:40 -0500 Received: by mail-ed1-f67.google.com with SMTP id 4fb4d7f45d1cf-563e330351dso1648280a12.0 for <68716@debbugs.gnu.org>; Sat, 17 Feb 2024 00:25:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708158251; x=1708763051; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:from:to:cc:subject:date:message-id:reply-to; bh=77MF/Wc5xfDslCA8yVnEhnhiPyC9kkF8FZAf9ZvIMEQ=; b=dvvfmPWd4iIMBeepoSEvkt0lr1WrSBDksf87ANRzIDvB5KQ/sa8uCEdhSrWa1CYwfl lJmnK5qq1bmq+IZsVqdlqV8meHhkLDL9WYpLMLuTWHSOJbrJNnxwAVD4Wyp3jhyEQbAt cHsfRN1mpvDXCMB+mkA3L/f+LEvNGVD17eTzh2Pp8ikf/1ItxriY5P22mF2toOrqrmBU DyDC2WYa/w10kdmKLfx7Z/9Qi9Q5Oug33B9z1s0OTUYNW/Jv9QK9FpH3k8pIg8s4wrbt YB7ATfNQNpcUWPa2JwcW+TgKAlKupQNOI7xyxjXlOn2QjsxoN87asu8TR2oJAbhMZ+Qx euIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708158251; x=1708763051; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=77MF/Wc5xfDslCA8yVnEhnhiPyC9kkF8FZAf9ZvIMEQ=; b=uIH+D/0SSdE9Cuf3KE2lP895/axNnRYuKA4wM5YxhekZzHa+n3fzX/sDiyvSUYvD9y mtV+xxxfngf0mt6K8QBCbQfccZWjSBquh4E3RvS5RGMGL5mTUtrB7VSknvj38e5z8NVg BLIeec+jICGABco7DMi1qGfsOWtlpGe0MQYOcR+p+kZVG84XI00lOtbfIzbGxlonNrwa bG0TkbNSNjxOdL70vzWJG1qKLvFIsMKhRQmG7MvAPUDtRS1u8ny3F1QrxxOVjnjbVmlr bC0trd605Wpc1sAM4pz6U37xWtDJXGUXczHaEk0vEzO5CrpKo7p5NXqTfO192P0qZqcw 7l/g== X-Gm-Message-State: AOJu0YxOYfZ3sqh9a5KVlBaY8C92/CmzPpO+YVT6q51lt1Fp92c+x47F fol55U0QJOCVOhhGNeMDREJ9u8qhJqgNAOeXOpB0CL+ewXdvfOs2bAgF8h2duwg= X-Google-Smtp-Source: AGHT+IH4v+mjpbOMW7DA0k9gLrl/FX3y4dbubGjZwyGcwTE+E/XL9o+QDN90yC6I94/j8YTfVB4EWA== X-Received: by 2002:aa7:da48:0:b0:564:329e:5832 with SMTP id w8-20020aa7da48000000b00564329e5832mr216005eds.18.1708158251031; Sat, 17 Feb 2024 00:24:11 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cs1-20020a0564020c4100b005617cebd051sm707218edb.78.2024.02.17.00.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 00:24:10 -0800 (PST) Message-ID: <546e128bfc3a77723987a842d5979c08a4153c6c.1708158195.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Fri, 16 Feb 2024 13:08:11 +0100 Subject: [PATCH v5 5/8] services: Extend polkit capabilities of gnome-desktop-service. to: 68716@debbugs.gnu.org MIME-Version: 1.0 X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, Vivien Kraus , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) As with our udev extension, this makes it so that all inputs are considered modulo a new ignorelist. * gnu/services/desktop.scm (gnome-desktop-configuration): Add polkit-ignorelist. (gnome-polkit-settings): Adjust accordingly. --- gnu/services/desktop.scm | 44 ++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 0631571c49..b3c0f4fc41 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1425,7 +1425,12 @@ (define-configuration/no-serialization gnome-desktop-configuration "A list of regular expressions denoting udev rules or hardware file names provided by any package that should not be installed. By default, every udev rule and hardware file specified by any package referenced in the other fields -are installed.")) +are installed.") + (polkit-ignorelist + (list-of-strings '()) + "A list of regular expressions denoting polkit rules provided by any package +that should not be installed. By default, every polkit rule added by any package +referenced in the other fields are installed.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1467,22 +1472,27 @@ (define (gnome-udev-configuration-files config) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and rules." - (let ((gnome (gnome-desktop-configuration-gnome config)) - (shell (gnome-desktop-configuration-shell config))) - (or (any (match-lambda ((and pkg (= package-name "gvfs")) (list pkg)) - (_ #f)) - shell) - (and (maybe-value-set? gnome) - (gnome-packages gnome - '("gnome-settings-daemon" - "gnome-control-center" - "gnome-system-monitor" - "gvfs"))) - (raise - (condition - (&error-location - (location (gnome-desktop-configuration-source-location config))) - (&message (message (G_ "Missing gvfs")))))))) + (list + (computed-file + "gnome-polkit-settings" + (with-imported-modules + (source-module-closure '((guix build utils) + (guix build union))) + #~(let ((output (string-append #$output "/share/polkit-1"))) + (use-modules (guix build utils) + (guix build union)) + (mkdir-p (dirname output)) + (union-build output + (search-path-as-list + (list "share/polkit-1") + (list #$@(gnome-profile config))) + #:create-all-directories? #t) + (for-each + (lambda (pattern) + (for-each + delete-file-recursively + (find-files output pattern))) + (list #$@(gnome-desktop-configuration-polkit-ignorelist config)))))))) (define (gnome-profile config) "Return a list of packages propagated through CONFIG." -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 03:25:47 2024 Received: (at 68716) by debbugs.gnu.org; 17 Feb 2024 08:25:47 +0000 Received: from localhost ([127.0.0.1]:60406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG14-0005Qn-JX for submit@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:47 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:52708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbG0t-0005P1-Uy for 68716@debbugs.gnu.org; Sat, 17 Feb 2024 03:25:40 -0500 Received: by mail-ed1-f68.google.com with SMTP id 4fb4d7f45d1cf-563a6656c46so4313097a12.1 for <68716@debbugs.gnu.org>; Sat, 17 Feb 2024 00:25:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708158250; x=1708763050; darn=debbugs.gnu.org; h=cc:to:content-transfer-encoding:mime-version:subject:date :references:in-reply-to:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=FaNHHr3tQ1pZmSq7BDJeYMJLzSa6LK16q5JFFSL7bVY=; b=YcgMxdR0zqwRgFImS5X6rMibT9JFnhNhqY8ImguIAm19eagSL14/BlFBZo1yOhbbnx dtD8rVaSE3/KpuKZUTBD8FYms10zq5I/GfBgsAaPrvTCmpIO9je/JFkCX9IAX642uW7u 8foi6GFku/yxNWvbifA1ZXOjJT2ZpO7TwRDUUE4et+EgbGEi4S58botpT4qL5jsXQrZn p8hcGcl2C5zHehKXwG3HANUbA8Ooe5+PmUqEEiKkZ2Q1/5uCJGQ2RrSKVLDBPhvHMcKs hsf8Dkgy8xjb7cGGNuy4DyZZ1bX0HJSyBBxeCWLRRbxTigplxsLksYW6zFGWUf/DuuT1 XE1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708158250; x=1708763050; h=cc:to:content-transfer-encoding:mime-version:subject:date :references:in-reply-to:message-id:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=FaNHHr3tQ1pZmSq7BDJeYMJLzSa6LK16q5JFFSL7bVY=; b=tcwnIkvOlHc8qnwcuLYTHTw1A2Z9RC6RW2FCA47H3F5amIxd7AbIUs5f0KTc1Lb66a GdegGKJ3oR07se+xSSL+mzaN2cNp6Bju6E0rINhkOQocjNvUvzxV7nvQUN/sSetYwvQ8 tGi+pjuK6Vqd2AMg8i3j5sDmCvZtmbgkal6xgywRxzQhD7VZs0UxYNdj7kzfaEFFi9YX 9cvcSMAUSiS2k9/guy0O53BmSt2sBGtRUD80QLAEKypaFfyV9tWc3w99686NRlQJtGE/ K470nFUY33/IIZ7WhQkGhokndNKHfxkWyV9kYL51X4w7dXmI8+GsLTKoR9WaEuB0BwXr aA9A== X-Gm-Message-State: AOJu0Yw7D8JxNSAwjZpQLMVjgD4Eg1lKp8vaQY4nVgVIlO6qQKuf6u3x gXSRp4raRsJgYYNjcjQC/A4Cr6BhmEWvyl/eJk2A6k47gCCv1EttDoiAfTSzb6g= X-Google-Smtp-Source: AGHT+IHWLUoj7hL53ZVp4i2znfwJrVwMzyLzFFeYYBI3Bq7mP8ox9s+5R6CGgKmeL7EnTq2fa7bf4w== X-Received: by 2002:a05:6402:31ee:b0:564:2a5b:93ab with SMTP id dy14-20020a05640231ee00b005642a5b93abmr411255edb.10.1708158250300; Sat, 17 Feb 2024 00:24:10 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cs1-20020a0564020c4100b005617cebd051sm707218edb.78.2024.02.17.00.24.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 00:24:10 -0800 (PST) From: Vivien Kraus X-Google-Original-From: Vivien Kraus Message-ID: <18430b0ce6613e52113e07ae6305e529270e3265.1708158195.git.liliana.prikler@gmail.com> In-Reply-To: References: Date: Mon, 5 Feb 2024 18:05:41 +0100 Subject: [PATCH v5 4/8] services: Extend udev capabilities of gnome-desktop-service. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to: 68716@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Our udev service is capable of handling both rules and hardware databases. This patch makes it so that gnome can install any such needed rules or databases, while also allowing users to supply a list [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.68 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.68 listed in wl.mailspike.net] 3.4 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 MALFORMED_FREEMAIL Bad headers on message from free email service -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 68716 Cc: rg@raghavgururajan.name, Vivien Kraus , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Our udev service is capable of handling both rules and hardware databases. This patch makes it so that gnome can install any such needed rules or databases, while also allowing users to supply a list of names to ignore (via regular expressions). * gnu/services/desktop.scm (gnome-desktop-configuration): Add udev-ignorelist. (gnome-udev-resources): Rename to… (gnome-udev-configuration-files): … this. Account for udev-ignorelist. (gnome-desktop-service-type): Adjust accordingly. Change-Id: I6df4b896652581c42a35ea3ba1e4849ad72d12ef --- gnu/services/desktop.scm | 54 ++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 0667acfaba..0631571c49 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -82,6 +82,7 @@ (define-module (gnu services desktop) #:use-module (guix ui) #:use-module (guix utils) #:use-module (guix gexp) + #:use-module (guix modules) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-35) @@ -147,6 +148,7 @@ (define-module (gnu services desktop) gnome-desktop-configuration-shell gnome-desktop-configuration-utilities gnome-desktop-configuration-extra-packages + gnome-desktop-configuration-udev-ignorelist gnome-desktop-service gnome-desktop-service-type @@ -1417,7 +1419,13 @@ (define-configuration/no-serialization gnome-desktop-configuration "A list of GNOME-adjacent packages to also include. This field is intended for users to add their own packages to their GNOME experience. Note, that it already includes some packages that are considered essential by some (most?) -GNOME users.")) +GNOME users.") + (udev-ignorelist + (list-of-strings '()) + "A list of regular expressions denoting udev rules or hardware file names +provided by any package that should not be installed. By default, every udev +rule and hardware file specified by any package referenced in the other fields +are installed.")) (define (gnome-package gnome name) "Return the package NAME among the GNOME package inputs. NAME can be a @@ -1429,22 +1437,32 @@ (define (gnome-packages gnome names) "Return the package NAMES among the GNOME package inputs." (map (cut gnome-package gnome <>) names)) -(define (gnome-udev-rules config) - "Return the list of GNOME dependencies that provide udev rules." - (let* ((gnome (gnome-desktop-configuration-gnome config)) - (shell (gnome-desktop-configuration-shell config))) - (or (any (match-lambda - ((and pkg (= package-name "gnome-settings-daemon")) - (list pkg)) - (_ #f)) - shell) - (and (maybe-value-set? gnome) - (gnome-packages gnome '("gnome-settings-daemon"))) - (raise - (condition - (&error-location - (location (gnome-desktop-configuration-source-location config))) - (&message (message (G_ "Missing gnome-settings-daemon")))))))) +(define (gnome-udev-configuration-files config) + "Return the GNOME udev rules and hardware files as computed from its +dependencies by filtering out the ignorelist." + (list + (computed-file + "gnome-udev-configurations" + (with-imported-modules + (source-module-closure '((guix build utils) + (guix build union))) + #~(begin + (use-modules (guix build utils) + (guix build union)) + ;; If rules.d or hwdb.d is not a proper directory but a symlink, + ;; then it will not be possible to delete individual files in this + ;; directory. + (union-build #$output + (search-path-as-list + (list "lib/udev" "libexec/udev") + (list #$@(gnome-profile config))) + #:create-all-directories? #t) + (for-each + (lambda (pattern) + (for-each + delete-file-recursively + (find-files #$output pattern))) + (list #$@(gnome-desktop-configuration-udev-ignorelist config)))))))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and @@ -1487,7 +1505,7 @@ (define gnome-desktop-service-type (name 'gnome-desktop) (extensions (list (service-extension udev-service-type - gnome-udev-rules) + gnome-udev-configuration-files) (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 24 01:48:14 2024 Received: (at 68716-done) by debbugs.gnu.org; 24 Feb 2024 06:48:14 +0000 Received: from localhost ([127.0.0.1]:59110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdlpW-0001UD-9H for submit@debbugs.gnu.org; Sat, 24 Feb 2024 01:48:14 -0500 Received: from mail-ej1-f66.google.com ([209.85.218.66]:49247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdlpU-0001TE-HC for 68716-done@debbugs.gnu.org; Sat, 24 Feb 2024 01:48:12 -0500 Received: by mail-ej1-f66.google.com with SMTP id a640c23a62f3a-a3fb8b0b7acso201837166b.2 for <68716-done@debbugs.gnu.org>; Fri, 23 Feb 2024 22:47:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708757203; x=1709362003; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=fBE5ZwzLTChLSzhnkSr+RnTutg7NCXycXP2H74oXHNU=; b=RsyAxLaqgkixWctyNi6N8rbAyD13pjrIpDBoaVVBX8lQzJKHX4u4jXaPx9v5P4CayX dHHGLNsijpnU96H93hmnzF0aKzNz/AwfBnXTOXo+Ez+d7K8eN3HI4irUIsLwEWwNPURX rPnjBIWMAF/bwPMiqE1a5YrIJwH4SyMM4XQWjTr0FLZG/lGeUU5+Fyj0wOkza3kUsiGz IC3+7a/bZfV1mC3E4BRAKlWXlnslgthxfYcPuMN/Kbk0Ikbqxb49pkIzF2ghAxeuyiZd MQu7bQMg5z4QlPRbB9T0Qg2K/VPoOe1yGuQUGUltV9e4VzN1YZEa1iYnlpSZics8SJTa x1ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708757203; x=1709362003; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fBE5ZwzLTChLSzhnkSr+RnTutg7NCXycXP2H74oXHNU=; b=GphtVMVA5c/AFKMwq666qKu3iQvv6yWD/KW2yuxYZIJR+IfLeJoCvFB4WYg72kKAh2 cBXl45Wvw1rmt1497N7/Z3agha8AUin4a+FdQMzHsn4p9Brs3kbHevr1Ma9S1MZxMmln 5oTqFqb2377D6zkho9SteXPDiY4d/Qu1HmYy/rADBOATXkobQYJLa2UqUfCoWyDe0ibe zoQD1owpVl+xzQ2UW493cEeXPtfISM+0ICtIFrVdD2hjEjx3Ju6NSmd71P80nmU1Js/0 JtBrSofLtvJ4hMQb+RD/GD9nqGoSMjyLiJiNNqKjYzW8dsx0ACgdpp5Iis7k39Fezt3F FftQ== X-Gm-Message-State: AOJu0Yx8nPkkyWD0YJrMpRv97RCUpQ0mfrZ1CX/Fk5YPPMiablX9I/Yz gk2WzLePOcxaezl0qPf8Mf2c8oMw3RDICU8Dz65ifoeiq+EdGs8Vty7nUACpk0k= X-Google-Smtp-Source: AGHT+IGe//PTpp4ZcSqdcA2iymN3wmP0hh13TH62i03/dBv7KC5dmqAWP+AFQvUA1K4J66V+9yqbVQ== X-Received: by 2002:a17:906:64b:b0:a3f:bcff:18b8 with SMTP id t11-20020a170906064b00b00a3fbcff18b8mr1170074ejb.27.1708756813256; Fri, 23 Feb 2024 22:40:13 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id 27-20020a170906329b00b00a381ca0e589sm300440ejw.22.2024.02.23.22.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 22:40:12 -0800 (PST) Message-ID: <460eb418793291de0a700b0dcdaa1865b811592f.camel@gmail.com> Subject: Re: [PATCH v5 1/8] gnu: Split gnome into more meta-packages. From: Liliana Marie Prikler To: 68716-done@debbugs.gnu.org Date: Sat, 24 Feb 2024 07:40:11 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68716-done Cc: rg@raghavgururajan.name, Vivien Kraus , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Freitag, dem 16.02.2024 um 11:53 +0100 schrieb Liliana Marie Prikler: > * gnu/packages/gnome.scm (gnome-meta-package): New syntax rule. > (gnome-meta-core-services, gnome-meta-core-shell, gnome-meta-core- > utilities) > (gnome-essential-extras): New variables. > (gnome): Implement in terms of the former. > --- Pushed. From unknown Fri Jun 20 19:45:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Mar 2024 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator