gnu: sugar: Add metacity to inputs.

* gnu/packages/sugar.scm (sugar)[inputs]: Add metacity.
[arguments]: Patch references to metacity executables.
This commit is contained in:
Ricardo Wurmus 2023-02-14 09:36:50 +01:00
parent d1e68f4f23
commit ae2ecd04fc
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -80,6 +80,11 @@ (define-public sugar
(substitute* "bin/sugar.in"
(("exec python3")
(string-append "exec " (which "python3"))))
(substitute* "src/jarabe/main.py"
(("'metacity'")
(string-append "'" (search-input-file inputs "/bin/metacity") "'"))
(("'metacity-message")
(string-append "'" (search-input-file inputs "/bin/metacity-message"))))
(substitute* "extensions/cpsection/datetime/model.py"
(("/usr/share/zoneinfo/zone.tab")
(search-input-file inputs "/share/zoneinfo/zone.tab")))
@ -111,6 +116,7 @@ (define-public sugar
(find-files (string-append #$output "/bin") "^sugar.*")))))))
(inputs
(list gtk+
metacity
mobile-broadband-provider-info
python
sugar-artwork