[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/24: gnu: epson-inkjet-printer-escpr: Use new style.
From: |
guix-commits |
Subject: |
08/24: gnu: epson-inkjet-printer-escpr: Use new style. |
Date: |
Sat, 7 May 2022 16:57:43 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit ad99a09abe7cd58e15064f1c3f72ca1712bb290f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun May 1 02:00:00 2022 +0200
gnu: epson-inkjet-printer-escpr: Use new style.
* gnu/packages/cups.scm (epson-inkjet-printer-escpr)[arguments]:
Rewrite with (guix gexp).
[inputs]: Use new style.
---
gnu/packages/cups.scm | 58 ++++++++++++++++++++++++---------------------------
1 file changed, 27 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 7f30ea8518..617a89d954 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -53,6 +53,7 @@
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -869,40 +870,35 @@ HP@tie{}LaserJet, and possibly other printers. See
@file{README} for details.")
(base32 "06pa47rl1gy19bg3fsp4a4y9vdy4ya2maajm14n791ivhf2hcwyh"))))
(build-system gnu-build-system)
(arguments
- `(#:modules
- ((srfi srfi-26)
- ,@%gnu-build-system-modules)
- #:configure-flags
- `("--disable-static"
- ,(string-append "--prefix="
- (assoc-ref %outputs "out"))
- ,(string-append "--with-cupsfilterdir="
- (assoc-ref %outputs "out") "/lib/cups/filter")
- ,(string-append "--with-cupsppddir="
- (assoc-ref %outputs "out") "/share/cups/model"))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-autotools-version-requirement
- (lambda _
- (substitute* "aclocal.m4"
- (("1\\.15")
- ,(package-version automake)))
- (substitute* "configure"
- (("^(ACLOCAL=).*" _ match)
- (string-append match "aclocal"))
- (("^(AUTOMAKE=).*" _ match)
- (string-append match "automake")))
- #t))
- (add-after 'install 'compress-PPDs
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (with-directory-excursion out
- (for-each (cut invoke "gzip" "-9" <>)
- (find-files "share/cups" "\\.ppd$")))))))))
+ (list #:modules
+ `((srfi srfi-26)
+ ,@%gnu-build-system-modules)
+ #:configure-flags
+ #~(list "--disable-static"
+ (string-append "--prefix=" #$output)
+ (string-append "--with-cupsfilterdir=" #$output
"/lib/cups/filter")
+ (string-append "--with-cupsppddir=" #$output
"/share/cups/model"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-autotools-version-requirement
+ (lambda _
+ (substitute* "aclocal.m4"
+ (("1\\.15")
+ #$(package-version automake)))
+ (substitute* "configure"
+ (("^(ACLOCAL=).*" _ match)
+ (string-append match "aclocal"))
+ (("^(AUTOMAKE=).*" _ match)
+ (string-append match "automake")))))
+ (add-after 'install 'compress-PPDs
+ (lambda _
+ (with-directory-excursion #$output
+ (for-each (cut invoke "gzip" "-9" <>)
+ (find-files "share/cups" "\\.ppd$"))))))))
(native-inputs
(list autoconf automake))
(inputs
- `(("cups" ,cups-minimal)))
+ (list cups-minimal))
(synopsis "ESC/P-R printer driver")
(description
"This package provides a filter for @acronym{CUPS, the Common UNIX
Printing
- 03/24: gnu: enblend-enfuse: Fix build., (continued)
- 03/24: gnu: enblend-enfuse: Fix build., guix-commits, 2022/05/07
- 05/24: gnu: tor: Use G-expressions., guix-commits, 2022/05/07
- 18/24: gnu: lziprecover: Update to 1.23., guix-commits, 2022/05/07
- 12/24: gnu: nsd: Update to 4.4.0., guix-commits, 2022/05/07
- 13/24: gnu: mcelog: Update to 181., guix-commits, 2022/05/07
- 01/24: gnu: Remove linux-libre@4.4 configuration files., guix-commits, 2022/05/07
- 14/24: gnu: rasdaemon: Update to 0.6.8., guix-commits, 2022/05/07
- 23/24: gnu: plzip: Update to 1.10., guix-commits, 2022/05/07
- 17/24: gnu: audit: Update to 3.0.8., guix-commits, 2022/05/07
- 07/24: gnu: epson-inkjet-printer-escpr: Use HTTPS home page., guix-commits, 2022/05/07
- 08/24: gnu: epson-inkjet-printer-escpr: Use new style.,
guix-commits <=
- 10/24: gnu: gptfdisk: Use new input style., guix-commits, 2022/05/07
- 04/24: gnu: tor: Update to 0.4.7.7., guix-commits, 2022/05/07
- 20/24: gnu: lunzip: Update to 1.13., guix-commits, 2022/05/07
- 15/24: gnu: acpica: Update to 20220331., guix-commits, 2022/05/07
- 21/24: gnu: clzip: Update to 1.13., guix-commits, 2022/05/07
- 09/24: gnu: gptfdisk: Update to 1.0.9., guix-commits, 2022/05/07
- 22/24: gnu: lzlib: Update to 1.13., guix-commits, 2022/05/07
- 11/24: gnu: gptfdisk: Correct gettext input type., guix-commits, 2022/05/07
- 16/24: gnu: libshout: Update to 2.4.6., guix-commits, 2022/05/07
- 19/24: gnu: lrzip: Update to 0.651., guix-commits, 2022/05/07