[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
312/334: gnu: simple-scan: Update package definition.
From: |
guix-commits |
Subject: |
312/334: gnu: simple-scan: Update package definition. |
Date: |
Sat, 15 Aug 2020 16:27:45 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit ef10f2b1b0aa314c0cb5534ce7daa371982e8f4b
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 1b434d3..b167d90 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7556,41 +7556,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
- 288/334: gnu: gnome-keyring: Update package definition., (continued)
- 288/334: gnu: gnome-keyring: Update package definition., guix-commits, 2020/08/15
- 291/334: gnu: gnome-music: Update package definition., guix-commits, 2020/08/15
- 293/334: gnu: gnome-screenshot: Update package definition., guix-commits, 2020/08/15
- 294/334: gnu: gnome-session: Update package definition., guix-commits, 2020/08/15
- 295/334: gnu: gnome-settings-daemon: Update package definition., guix-commits, 2020/08/15
- 299/334: gnu: gnome-themes-extra: Update package definition., guix-commits, 2020/08/15
- 300/334: gnu: gnome-user-docs: Update package definition., guix-commits, 2020/08/15
- 302/334: gnu: gnome-weather: Update package definition., guix-commits, 2020/08/15
- 307/334: gnu: Add libbraille., guix-commits, 2020/08/15
- 313/334: gnu: libmusicbrainz: Propagate inputs., guix-commits, 2020/08/15
- 312/334: gnu: simple-scan: Update package definition.,
guix-commits <=
- 315/334: gnu: totem: Update package definition., guix-commits, 2020/08/15
- 317/334: gnu: wayland-protocols: Update package definition., guix-commits, 2020/08/15
- 320/334: gnu: Add mozjs-68., guix-commits, 2020/08/15
- 326/334: build-system/glib-or-gtk: Also wrap executables that are in "sbin"., guix-commits, 2020/08/15
- 328/334: build-system/meson: Wrap Python executables, too., guix-commits, 2020/08/15
- 331/334: gnu: Add gnome-minimal., guix-commits, 2020/08/15
- 333/334: build-system/meson: Only include phases that are enabled., guix-commits, 2020/08/15
- 301/334: gnu: gnome-user-share: Update package definition., guix-commits, 2020/08/15
- 308/334: gnu: Add brltty., guix-commits, 2020/08/15
- 332/334: gnu: opencv: Fix build with new version of jasper., guix-commits, 2020/08/15