aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/sugar.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-09-09 10:47:30 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-10-02 22:54:11 +0200
commita0dc945a1fde6712ec1840d7957b297324d7b7f8 (patch)
treea9058a2ce0051cf95677b90d3c22344c56ff4fcf /gnu/packages/sugar.scm
parent65c78c05a9ad0c59388ddec5508b769fca4c3727 (diff)
downloadguix-a0dc945a1fde6712ec1840d7957b297324d7b7f8.tar
guix-a0dc945a1fde6712ec1840d7957b297324d7b7f8.tar.gz
gnu: sugar-read-activity: Update to 124.
* gnu/packages/sugar.scm (sugar-read-activity): Update to 124. Change-Id: I46fd70c70ca471ff9514296bc0187d4fb5423830
Diffstat (limited to 'gnu/packages/sugar.scm')
-rw-r--r--gnu/packages/sugar.scm82
1 files changed, 39 insertions, 43 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index c0a4d286f2..77008bc078 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -990,53 +990,49 @@ inertia (ahh, slow down!).")
(license license:gpl3+))))
(define-public sugar-read-activity
- (let ((commit "25f69e41a4fa69d93c73c0c9367b4777a014b1cd")
- (revision "1"))
- (package
- (name "sugar-read-activity")
- (version (git-version "123" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/sugarlabs/read-activity")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "03piap3r6j58s38cza55bm16g5icrmnhl0s6kpy5hj46vaa5x4fh"))))
- (build-system python-build-system)
- (arguments
- (list
- #:test-target "check"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'patch-launcher
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "activity/activity.info"
- (("exec = sugar-activity3")
- (string-append "exec = "
- (search-input-file inputs "/bin/sugar-activity3"))))))
- (replace 'install
- (lambda _
- (setenv "HOME" "/tmp")
- (invoke "python" "setup.py" "install"
- (string-append "--prefix=" #$output)))))))
- ;; All these libraries are accessed via gobject introspection.
- (propagated-inputs
- (list evince
- gtk+
- sugar-toolkit-gtk3
- webkitgtk-for-gtk3))
- (inputs
- (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
+ (package
+ (name "sugar-read-activity")
+ (version "124")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://download.sugarlabs.org/sources/sucrose/fructose/"
+ "Read/Read-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1hla80vclprqzahr8yfnin09spv4mab7il6a00ilz4anyahrzgzy"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:test-target "check"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-launcher
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "activity/activity.info"
+ (("exec = sugar-activity3")
+ (string-append "exec = "
+ (search-input-file inputs "/bin/sugar-activity3"))))))
+ (replace 'install
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (invoke "python" "setup.py" "install"
+ (string-append "--prefix=" #$output)))))))
+ ;; All these libraries are accessed via gobject introspection.
+ (propagated-inputs
+ (list evince
+ gtk+
+ sugar-toolkit-gtk3
+ webkitgtk-for-gtk3))
+ (inputs
+ (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
image-based book-like materials. It will have particular strengths in
handheld mode, with extremely low power consumption and simple navigation
controls.")
- (license license:gpl2+))))
+ (license license:gpl2+)))
(define-public sugar-river-crossing-activity
(let ((commit "0abbeb455363672ed29d734e6e48f50ef78ec48b")