guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/11: gnu: sugar: Patch background image location.


From: guix-commits
Subject: 10/11: gnu: sugar: Patch background image location.
Date: Tue, 13 Feb 2024 09:05:25 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 7342d8b3f034b1525541bcf12268064ff5b2bd56
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 13 13:10:22 2024 +0100

    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
---
 gnu/packages/sugar.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 94c6f6d80f..6fec47b14f 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -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/"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]