mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: sugar-read-activity: Update to 124.
* gnu/packages/sugar.scm (sugar-read-activity): Update to 124. Change-Id: I46fd70c70ca471ff9514296bc0187d4fb5423830
This commit is contained in:
parent
65c78c05a9
commit
a0dc945a1f
1 changed files with 39 additions and 43 deletions
|
@ -990,53 +990,49 @@ (define-public sugar-physics-activity
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public sugar-read-activity
|
(define-public sugar-read-activity
|
||||||
(let ((commit "25f69e41a4fa69d93c73c0c9367b4777a014b1cd")
|
(package
|
||||||
(revision "1"))
|
(name "sugar-read-activity")
|
||||||
(package
|
(version "124")
|
||||||
(name "sugar-read-activity")
|
(source (origin
|
||||||
(version (git-version "123" revision commit))
|
(method url-fetch)
|
||||||
(source (origin
|
(uri (string-append "https://download.sugarlabs.org/sources/sucrose/fructose/"
|
||||||
(method git-fetch)
|
"Read/Read-" version ".tar.bz2"))
|
||||||
(uri (git-reference
|
(sha256
|
||||||
(url "https://github.com/sugarlabs/read-activity")
|
(base32
|
||||||
(commit commit)))
|
"1hla80vclprqzahr8yfnin09spv4mab7il6a00ilz4anyahrzgzy"))))
|
||||||
(file-name (git-file-name name version))
|
(build-system python-build-system)
|
||||||
(sha256
|
(arguments
|
||||||
(base32
|
(list
|
||||||
"03piap3r6j58s38cza55bm16g5icrmnhl0s6kpy5hj46vaa5x4fh"))))
|
#:test-target "check"
|
||||||
(build-system python-build-system)
|
#:phases
|
||||||
(arguments
|
#~(modify-phases %standard-phases
|
||||||
(list
|
(add-after 'unpack 'patch-launcher
|
||||||
#:test-target "check"
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
#:phases
|
(substitute* "activity/activity.info"
|
||||||
#~(modify-phases %standard-phases
|
(("exec = sugar-activity3")
|
||||||
(add-after 'unpack 'patch-launcher
|
(string-append "exec = "
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(search-input-file inputs "/bin/sugar-activity3"))))))
|
||||||
(substitute* "activity/activity.info"
|
(replace 'install
|
||||||
(("exec = sugar-activity3")
|
(lambda _
|
||||||
(string-append "exec = "
|
(setenv "HOME" "/tmp")
|
||||||
(search-input-file inputs "/bin/sugar-activity3"))))))
|
(invoke "python" "setup.py" "install"
|
||||||
(replace 'install
|
(string-append "--prefix=" #$output)))))))
|
||||||
(lambda _
|
;; All these libraries are accessed via gobject introspection.
|
||||||
(setenv "HOME" "/tmp")
|
(propagated-inputs
|
||||||
(invoke "python" "setup.py" "install"
|
(list evince
|
||||||
(string-append "--prefix=" #$output)))))))
|
gtk+
|
||||||
;; All these libraries are accessed via gobject introspection.
|
sugar-toolkit-gtk3
|
||||||
(propagated-inputs
|
webkitgtk-for-gtk3))
|
||||||
(list evince
|
(inputs
|
||||||
gtk+
|
(list gettext-minimal))
|
||||||
sugar-toolkit-gtk3
|
(home-page "https://help.sugarlabs.org/read.html")
|
||||||
webkitgtk-for-gtk3))
|
(synopsis "Read PDF and TXT files in the Sugar learning environment")
|
||||||
(inputs
|
(description "The Read activity allows the laptop to act as a book
|
||||||
(list gettext-minimal))
|
|
||||||
(home-page "https://help.sugarlabs.org/read.html")
|
|
||||||
(synopsis "Read PDF and TXT files in the Sugar learning environment")
|
|
||||||
(description "The Read activity allows the laptop to act as a book
|
|
||||||
reader. It has a simple interface, and will view many kinds of text and
|
reader. It has a simple interface, and will view many kinds of text and
|
||||||
image-based book-like materials. It will have particular strengths in
|
image-based book-like materials. It will have particular strengths in
|
||||||
handheld mode, with extremely low power consumption and simple navigation
|
handheld mode, with extremely low power consumption and simple navigation
|
||||||
controls.")
|
controls.")
|
||||||
(license license:gpl2+))))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public sugar-river-crossing-activity
|
(define-public sugar-river-crossing-activity
|
||||||
(let ((commit "0abbeb455363672ed29d734e6e48f50ef78ec48b")
|
(let ((commit "0abbeb455363672ed29d734e6e48f50ef78ec48b")
|
||||||
|
|
Loading…
Reference in a new issue