me
/
guix
Archived
1
0
Fork 0

gnu: sugar-typing-turtle-activity: Add setxkbmap to inputs.

* gnu/packages/sugar.scm (sugar-typing-turtle-activity)[inputs]: Add
setxkbmap.
[arguments]: Patch invocation of setxkbmap.
master
Ricardo Wurmus 2023-02-28 12:17:14 +01:00
parent 3bb2078a12
commit 5e22f8962a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 0 deletions

View File

@ -407,6 +407,11 @@ to provide users with easy access to documentation and manuals.")
#:test-target "check"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-reference-to-executables
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "keyboard.py"
(("setxkbmap")
(search-input-file inputs "/bin/setxkbmap")))))
(add-after 'unpack 'patch-launcher
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "activity/activity.info"
@ -419,6 +424,8 @@ to provide users with easy access to documentation and manuals.")
(string-append "--prefix=" #$output)))))))
(native-inputs
(list gettext-minimal sugar-toolkit-gtk3))
(inputs
(list setxkbmap))
(home-page "https://help.sugarlabs.org/en/typing_turtle.html")
(synopsis "Learn typing")
(description "Need some help typing? In this activity for the Sugar