[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
312/402: gnu: simple-scan: Update package definition.
From: |
guix-commits |
Subject: |
312/402: gnu: simple-scan: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:48:11 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 9ac0235808b6ea352114726da0eba6bbfad25873
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sat Aug 8 19:07:31 2020 -0400
gnu: simple-scan: Update package definition.
* gnu/packages/gnome.scm (simple-scan) [version]: Update to 3.36.4.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "help".
[arguments]<#:phases>['move-help]: New phase.
[inputs]: Add glib, libwebp and packagekit. Change gdk-pixbuf to
gdk-pixbuf+svg.
[synopsis]: Modify.
[description]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 57 +++++++++++++++++++++++++++++++-------------------
1 file changed, 35 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ebc3efe..6b2fc3d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7559,41 +7559,54 @@ USB transfers with your high-level application or
system daemon.")
(define-public simple-scan
(package
(name "simple-scan")
- (version "3.36.3")
+ (version "3.36.4")
(source
(origin
(method url-fetch)
- (uri (string-append "mirror://gnome/sources/simple-scan/"
- (version-major+minor version) "/"
- "simple-scan-" version ".tar.xz"))
+ (uri
+ (string-append "mirror://gnome/sources/simple-scan/"
+ (version-major+minor version) "/"
+ "simple-scan-" version ".tar.xz"))
(sha256
- (base32 "0gsz7jqk0fdj0mama3cnss9i1adw18cpdnlcjcjh4r5qijmvx0vh"))))
+ (base32 "09gmzrlljdqkj3w6wa1c27wypy6j8z9dw3jzv9izfqvp38liibsn"))))
(build-system meson-build-system)
- ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
+ (outputs '("out" "help"))
(arguments
- '(#:glib-or-gtk? #t))
- (inputs
- `(("gtk" ,gtk+)
- ("zlib" ,zlib)
- ("cairo" ,cairo)
- ("colord" ,colord)
- ("gdk-pixbuf" ,gdk-pixbuf)
- ("gusb" ,gusb)
- ("libsane" ,sane-backends)))
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'move-help
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (help (assoc-ref outputs "help")))
+ (mkdir-p (string-append help "/share"))
+ (rename-file
+ (string-append out "/share/help")
+ (string-append help "/share/help"))
+ #t))))))
(native-inputs
`(("gettext" ,gettext-minimal)
+ ("glib" ,glib "bin")
("itstool" ,itstool)
- ("glib" ,glib "bin") ; glib-compile-schemas, etc.
("pkg-config" ,pkg-config)
("vala" ,vala)
("xmllint" ,libxml2)))
+ (inputs
+ `(("cairo" ,cairo)
+ ("colord" ,colord)
+ ("gdk-pixbuf" ,gdk-pixbuf+svg)
+ ("glib" ,glib)
+ ("gtk" ,gtk+)
+ ("gusb" ,gusb)
+ ("libwebp" ,libwebp)
+ ("packagekit-glib" ,packagekit)
+ ("sane-backends" ,sane-backends)
+ ("zlib" ,zlib)))
+ (synopsis "Document scanner")
+ (description "Simple-Scan is a document scanning application for GNOME. It
+allows you to capture images using image scanners that have suitable SANE
+drivers installed.")
(home-page "https://gitlab.gnome.org/GNOME/simple-scan")
- (synopsis "Document and image scanner")
- (description
- "Document Scanner is an easy-to-use application that lets you connect your
-scanner and quickly capture images and documents in an appropriate format. It
-supports any scanner for which a suitable SANE driver is available, which is
-almost all of them.")
(license license:gpl3+)))
(define-public eolie
- 296/402: gnu: gnome-shell-extensions: Update package definition., (continued)
- 296/402: gnu: gnome-shell-extensions: Update package definition., guix-commits, 2020/08/18
- 304/402: gnu: Add liblouis., guix-commits, 2020/08/18
- 305/402: gnu: Add liblouisutdml., guix-commits, 2020/08/18
- 306/402: gnu: Add latex2html., guix-commits, 2020/08/18
- 310/402: gnu: gst-editing-services: Update package definition., guix-commits, 2020/08/18
- 315/402: gnu: totem: Update package definition., guix-commits, 2020/08/18
- 313/402: gnu: libmusicbrainz: Propagate inputs., guix-commits, 2020/08/18
- 316/402: gnu: wayland: Update package definition., guix-commits, 2020/08/18
- 324/402: gnu: gnome-shell: Update package definition., guix-commits, 2020/08/18
- 320/402: gnu: Add mozjs-68., guix-commits, 2020/08/18
- 312/402: gnu: simple-scan: Update package definition.,
guix-commits <=
- 319/402: gnu: Add egl-wayland., guix-commits, 2020/08/18
- 317/402: gnu: wayland-protocols: Update package definition., guix-commits, 2020/08/18
- 325/402: build-system/glib-or-gtk: Include GI_TYPELIB_PATH in wrapper., guix-commits, 2020/08/18
- 327/402: build-system/python: Also wrap executables that are in "libexec"., guix-commits, 2020/08/18
- 330/402: gnu: gnome: Revise package definition., guix-commits, 2020/08/18
- 331/402: gnu: Add gnome-minimal., guix-commits, 2020/08/18
- 334/402: build-system/cmake: Only include phases that are enabled., guix-commits, 2020/08/18
- 335/402: gnu: gdm: Fix elogind., guix-commits, 2020/08/18
- 336/402: gnu: flatpak: Fix build., guix-commits, 2020/08/18
- 337/402: gnu: at-spi2-core: Include python phases., guix-commits, 2020/08/18