GNU bug report logs - #75847
[PATCH 0/2] Reinstate auto-configuration for GNOME Boxes.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sun, 26 Jan 2025 02:51:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: bug#75847: closed (Re: [PATCH 1/2] services/desktop: Use
 transitively propagated GNOME packages for polkit/udev.)
Date: Sun, 26 Jan 2025 17:06:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#75847: [PATCH 0/2] Reinstate auto-configuration for GNOME Boxes.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 75847 <at> debbugs.gnu.org.

-- 
75847: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75847
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 75847-done <at> debbugs.gnu.org
Subject: Re: [PATCH 1/2] services/desktop: Use transitively propagated GNOME
 packages for polkit/udev.
Date: Mon, 27 Jan 2025 02:05:30 +0900
Hi Liliana,

Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:

[...]

>> +(define* (gnome-profile config #:key transitive?)
>> +  "Return the list of the packages specified in CONFIG.  When
>> TRANSITIVE? is
>> +#t, also include their transitive propagated inputs."
>> +  (define gnome-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)))
>> +  (if transitive?
>> +      (append gnome-packages
>> +              (append-map (compose (cut map second <>) ;discard
>> labels
>> +                                   package-transitive-propagated-
>> inputs)
>> +                          gnome-packages))
> There is a small bug in here in that packages with outputs will have
> said output ignored.  This typically doesn't matter, but for the sake
> of completeness, something like
>   (match-lambda
>     ((_ pkg) pkg)
>     ((_ pkg out) (list pkg out)))
> preserves the output.

Well observed.  I've used something similar to the above, but using
gexp-input objects so that lowering the gexp would result in store paths
compatible with the 'search-path-as-list' for example.

I added Reviewed-by git trailers to credit your review and pushed, after
testing I could successfully reconfigure my system with the change.

-- 
Thanks,
Maxim
[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH 0/2] Reinstate auto-configuration for GNOME Boxes.
Date: Sun, 26 Jan 2025 11:50:08 +0900
A recent regression had made the GNOME Boxes USB redirection feature harder to
configure.  This changes makes it so that adding the 'gnome-boxes' package to
e.g. the 'extra-packages' field of your gnome-desktop-configuration will
autoconfigure it as it used to be the case.

Maxim Cournoyer (2):
  services/desktop: Use transitively propagated GNOME packages for
    polkit/udev.
  services/gnome: Reinstate auto-configuration for GNOME Boxes.

 gnu/packages/gnome.scm   | 32 +++++++++++++++-----
 gnu/services/desktop.scm | 63 ++++++++++++++++++++++++++++------------
 2 files changed, 69 insertions(+), 26 deletions(-)


base-commit: 4797fb64caf7bf869b0183c96e1c24885313abbc
-- 
2.47.1




This bug report was last modified 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.