me
/
guix
Archived
1
0
Fork 0

gnu: sugar: Patch brightness module.

* gnu/packages/sugar.scm (sugar)[arguments]: Fix syntax error; disable
brightness module.
Ricardo Wurmus 2023-02-27 16:10:45 +01:00
parent f14f2752fc
commit 596a4db9f9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 0 deletions

View File

@ -95,6 +95,15 @@
(dirname
(search-input-file inputs
"/share/mobile-broadband-provider-info/serviceproviders.xml"))))
;; XXX: spawn_command_line_sync is not used correctly here, so
;; we need to patch invocations.
(substitute* '("extensions/cpsection/aboutcomputer/model.py"
"src/jarabe/model/brightness.py")
(("spawn_command_line_sync\\(cmd\\)")
"spawn_command_line_sync(cmd, 0)"))
;; 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.
#;