[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: sane-backends-minimal: Remove obsolete #t return values.
From: |
guix-commits |
Subject: |
07/08: gnu: sane-backends-minimal: Remove obsolete #t return values. |
Date: |
Mon, 15 Feb 2021 11:25:25 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit cf9047b222934a3e4455cb1e1058d21c94b7214d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Feb 15 15:54:39 2021 +0100
gnu: sane-backends-minimal: Remove obsolete #t return values.
* gnu/packages/scanner.scm (sane-backends-minimal)[source, arguments]:
Don't return #t from snippet or phases.
---
gnu/packages/scanner.scm | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
index 0db373e..08dd871 100644
--- a/gnu/packages/scanner.scm
+++ b/gnu/packages/scanner.scm
@@ -59,8 +59,7 @@
'(begin
(substitute* "tools/sane-desc.c"
(("asctime \\(localtime \\(¤t_time\\)\\)")
- "\"1970-01-01\""))
- #t))))
+ "\"1970-01-01\""))))))
(build-system gnu-build-system)
(native-inputs
`(("autoconf" ,autoconf)
@@ -87,8 +86,7 @@
;; Disable tests that may require back ends to be built.
(substitute* "testsuite/Makefile.in"
- ((" backend ") " "))
- #t))
+ ((" backend ") " "))))
(add-before 'configure 'disable-failing-tests
(lambda _
;; Disable unmaintained tests that that fail with errors
resembling:
@@ -109,8 +107,7 @@
;; sanei_usb_test: sanei_usb_test.c:849: main: Assertion
;; `test_init (1)' failed.
(substitute* "testsuite/sanei/Makefile.in"
- (("sanei_usb_test\\$\\(EXEEXT\\) ") ""))
- #t))
+ (("sanei_usb_test\\$\\(EXEEXT\\) ") ""))))
(add-before 'build 'build-pixma_sane_options.c
;; "No rule to make target '../backend/pixma/pixma_sane_options.c',
;; needed by 'sane-backends.pot-update'."
@@ -123,8 +120,7 @@
(copy-file "tools/udev/libsane.rules"
(string-append out
"/lib/udev/rules.d/"
- "60-libsane.rules"))
- #t)))
+ "60-libsane.rules")))))
(add-after 'install 'make-reproducible
;; XXX Work around an old bug <https://issues.guix.gnu.org/26247>.
;; Then work around "Throw to key `decoding-error' ..." by using
sed.
- branch master updated (ca372a4 -> 78ce446), guix-commits, 2021/02/15
- 01/08: gnu: emacs-exec-path-from-shell: Fix Texinfo mark-up., guix-commits, 2021/02/15
- 06/08: gnu: sane-backends-minimal: Don't use unstable tarball., guix-commits, 2021/02/15
- 08/08: gnu: sane-backends-minimal: Update to 1.0.32., guix-commits, 2021/02/15
- 04/08: gnu: exfatprogs: Update to 1.1.0., guix-commits, 2021/02/15
- 03/08: gnu: w3m: Update to 0.5.3+git20210102., guix-commits, 2021/02/15
- 05/08: gnu: nsd: Update to 4.3.5., guix-commits, 2021/02/15
- 02/08: gnu: Fix copyright notice., guix-commits, 2021/02/15
- 07/08: gnu: sane-backends-minimal: Remove obsolete #t return values.,
guix-commits <=