me
/
guix
Archived
1
0
Fork 0

gnu: sugar: Patch background image location.

* gnu/packages/sugar.scm (sugar)[arguments]: Use current system profile's
/share/backgrounds directory for background images.

Change-Id: I9f995e8761b845e56ed40e8116eee3f542a2c9d7
master
Ricardo Wurmus 2024-02-13 13:10:22 +01:00
parent 20513ed554
commit 7342d8b3f0
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 4 deletions

View File

@ -120,12 +120,11 @@
;; XXX: The brightness component crashes, so we disable it here.
(substitute* "src/jarabe/main.py"
(("brightness.get_instance\\(\\)") ""))
;; TODO: these locations should be set to places that exist on
;; Guix System.
#;
;; This is a global location on Guix System. Ideally we would
;; have a search path here.
(substitute* "extensions/cpsection/background/model.py"
(("\\('/usr', 'share', 'backgrounds'\\)")
"('TODO')"))
"('/run', 'current-system', 'profile', 'share', 'backgrounds')"))
(substitute* "src/jarabe/view/viewhelp.py"
(("/usr/share/sugar/activities/")
"/run/current-system/profile/share/sugar/activities/"))))