~ruther/guix-local

7342d8b3f034b1525541bcf12268064ff5b2bd56 — Ricardo Wurmus 2 years ago 20513ed
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
1 files changed, 3 insertions(+), 4 deletions(-)

M gnu/packages/sugar.scm
M gnu/packages/sugar.scm => gnu/packages/sugar.scm +3 -4
@@ 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/"))))