[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/18: gnu: viewnior: Use new style inputs and fix indentation.
From: |
guix-commits |
Subject: |
06/18: gnu: viewnior: Use new style inputs and fix indentation. |
Date: |
Wed, 17 Aug 2022 22:57:54 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 8d60951864aea62440fb0de70ec6739bd3dcc594
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Aug 17 22:04:20 2022 -0400
gnu: viewnior: Use new style inputs and fix indentation.
* gnu/packages/image-viewers.scm (viewnior)[phases]: Delete trailing #t.
[native-inputs, inputs]: Remove labels.
---
gnu/packages/image-viewers.scm | 47 +++++++++++++++++++++---------------------
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 3ab450dec6..52c9584f67 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 dissent <disseminatedissent@protonmail.com>
;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -412,34 +413,32 @@ needs.")
(name "viewnior")
(version "1.8")
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/hellosiyan/Viewnior")
- (commit (string-append name "-" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "14qvx1wajncd5ab0207274cwk32f4ipfnlaci6phmah0cwra2did"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hellosiyan/Viewnior")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "14qvx1wajncd5ab0207274cwk32f4ipfnlaci6phmah0cwra2did"))))
(build-system meson-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-source
- (lambda _
- ;; Don't create 'icon-theme.cache'
- (substitute* "meson.build"
- (("meson.add_install_script*") ""))
- #t)))
- #:tests? #f)) ; no tests
+ '(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda _
+ ;; Don't create 'icon-theme.cache'
+ (substitute* "meson.build"
+ (("meson.add_install_script*") "")))))
+ #:tests? #f)) ;no tests
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib" ,glib "bin") ; glib-genmarshal
- ("pkg-config" ,pkg-config)
- ("shared-mime-info" ,shared-mime-info)))
+ (list gettext-minimal
+ `(,glib "bin") ;glib-genmarshal
+ pkg-config
+ shared-mime-info))
(inputs
- `(("exiv2" ,exiv2)
- ("gdk-pixbuf" ,gdk-pixbuf)
- ("gtk+-2" ,gtk+-2)))
+ (list exiv2
+ gdk-pixbuf
+ gtk+-2))
(home-page "https://siyanpanayotov.com/project/viewnior")
(synopsis "Simple, fast and elegant image viewer")
(description "Viewnior is an image viewer program. Created to be simple,
- branch master updated (6c2e14a43a -> 741c8efd6a), guix-commits, 2022/08/17
- 17/18: gnu: lxinput: Use a mirror:// URI., guix-commits, 2022/08/17
- 01/18: gnu: openjdk: Add a variable tracking the latest openjdk package., guix-commits, 2022/08/17
- 02/18: gnu: libfm: Build with GTK 3., guix-commits, 2022/08/17
- 06/18: gnu: viewnior: Use new style inputs and fix indentation.,
guix-commits <=
- 04/18: gnu: lxpanel: Build with GTK 3, use gexps and new style inputs., guix-commits, 2022/08/17
- 05/18: gnu: gpicview: Build with GTK 3., guix-commits, 2022/08/17
- 16/18: gnu: lxde-common: Use a mirror:// URI., guix-commits, 2022/08/17
- 13/18: gnu: Update LXDE packages home page., guix-commits, 2022/08/17
- 03/18: gnu: pcmanfm: Build with GTK 3., guix-commits, 2022/08/17
- 09/18: gnu: lxrandr: Build with GTK 3., guix-commits, 2022/08/17
- 11/18: gnu: lxinput: Build with GTK 3., guix-commits, 2022/08/17
- 12/18: gnu: lxterminal: Build with GTK 3., guix-commits, 2022/08/17
- 08/18: gnu: lxsession: Build with GTK 3., guix-commits, 2022/08/17
- 14/18: gnu: lxmenu-data: Use a mirror:// URI., guix-commits, 2022/08/17