[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: imake: Remove input labels.
From: |
guix-commits |
Subject: |
12/12: gnu: imake: Remove input labels. |
Date: |
Fri, 17 Dec 2021 16:51:46 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit b4ee524e5adb2153a0de607a32100a8db2b12585
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Fri Dec 17 21:48:59 2021 +0100
gnu: imake: Remove input labels.
* gnu/packages/xorg.scm (imake)[inputs]: Remove input labels.
[arguments]: Gexp accordingly.
---
gnu/packages/xorg.scm | 45 ++++++++++++++++++++++-----------------------
1 file changed, 22 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index d4ce6f8..9a854bc 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -49,6 +49,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages xorg)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
@@ -152,31 +153,29 @@
(base32 "00m7l90ws72k1qm101sd2rx92ckd50cszyng5d4dd77jncbf9lmq"))))
(build-system gnu-build-system)
(native-inputs
- (list pkg-config))
+ (list pkg-config))
(inputs
- `(("xorg-cf-files" ,xorg-cf-files)
- ("xorgproto" ,xorgproto)))
+ (list xorg-cf-files xorgproto))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-data
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((cf-files (assoc-ref inputs "xorg-cf-files"))
- (out (assoc-ref outputs "out"))
- (unpack (assoc-ref %standard-phases 'unpack))
- (patch-source-shebangs
- (assoc-ref %standard-phases 'patch-source-shebangs)))
- (mkdir "xorg-cf-files")
- (with-directory-excursion "xorg-cf-files"
- (apply unpack (list #:source cf-files))
- (apply patch-source-shebangs (list #:source cf-files))
- (substitute* '("mingw.cf" "Imake.tmpl" "nto.cf" "os2.cf"
- "linux.cf" "Amoeba.cf" "cygwin.cf")
- (("/bin/sh") (which "bash")))
- (invoke "./configure"
- (string-append "SHELL=" (which "bash"))
- (string-append "--prefix=" out))
- (invoke "make" "install"))))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-data
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (unpack (assoc-ref %standard-phases 'unpack))
+ (patch-source-shebangs
+ (assoc-ref %standard-phases 'patch-source-shebangs)))
+ (mkdir "xorg-cf-files")
+ (with-directory-excursion "xorg-cf-files"
+ (unpack #:source #$xorg-cf-files)
+ (patch-source-shebangs #:source #$xorg-cf-files)
+ (substitute* '("mingw.cf" "Imake.tmpl" "nto.cf" "os2.cf"
+ "linux.cf" "Amoeba.cf" "cygwin.cf")
+ (("/bin/sh") (which "bash")))
+ (invoke "./configure"
+ (string-append "SHELL=" (which "bash"))
+ (string-append "--prefix=" out))
+ (invoke "make" "install"))))))))
(home-page "https://www.x.org/")
(synopsis "Source code configuration and build system")
(description
- 01/12: gnu: libfilezilla: Update to 0.35.0., (continued)
- 01/12: gnu: libfilezilla: Update to 0.35.0., guix-commits, 2021/12/17
- 06/12: gnu: nsd: Update to 4.3.9., guix-commits, 2021/12/17
- 02/12: gnu: libfilezilla: Remove input labels., guix-commits, 2021/12/17
- 05/12: gnu: memkind: Update to 1.12.0., guix-commits, 2021/12/17
- 04/12: gnu: filezilla: Remove input labels., guix-commits, 2021/12/17
- 10/12: gnu: interception-tools: Remove input labels., guix-commits, 2021/12/17
- 09/12: gnu: interception-tools: Update to 0.6.8., guix-commits, 2021/12/17
- 07/12: gnu: knot-resolver: Update to 5.4.3., guix-commits, 2021/12/17
- 11/12: gnu: mutt: Update to 2.1.4., guix-commits, 2021/12/17
- 08/12: gnu: cpuid: Update to 20211210., guix-commits, 2021/12/17
- 12/12: gnu: imake: Remove input labels.,
guix-commits <=