GNU bug report logs -
#75847
[PATCH 0/2] Reinstate auto-configuration for GNOME Boxes.
Previous Next
Full log
View this message in rfc822 format
[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)]
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)]
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.