[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/17: gnu: Add xfsprogs-static.
From: |
guix-commits |
Subject: |
09/17: gnu: Add xfsprogs-static. |
Date: |
Thu, 23 Sep 2021 12:20:55 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 2b260efbfc035d4ce33f1ab6094f938e11c2c91d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Sep 22 22:52:55 2021 +0200
gnu: Add xfsprogs-static.
* gnu/packages/linux.scm (xfsprogs/static): New public variable.
---
gnu/packages/linux.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b3354d1..08a3995 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7731,6 +7731,31 @@ file systems.")
;; licensed under lgpl2.1. the other stuff is licensed under gpl2.
(license (list license:gpl2 license:lgpl2.1))))
+(define-public xfsprogs/static
+ (package
+ (inherit xfsprogs)
+ (name "xfsprogs-static")
+ (outputs (list "out"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments xfsprogs)
+ ((#:make-flags make-flags ''())
+ `(cons* "LLDFLAGS=-all-static" ,make-flags))
+ ((#:phases _ ''())
+ `(modify-phases %standard-phases
+ (add-after 'install 'delete-useless-files
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion (assoc-ref outputs "out")
+ (for-each delete-file-recursively
+ (list "include" "lib")))))))))
+ (inputs
+ `(("libinih:static" ,libinih "static")
+ ("util-linux:static" ,util-linux "static")
+ ,@(remove (match-lambda
+ ((label . _)
+ (member label '("python"))))
+ (package-inputs xfsprogs))))
+ (synopsis "Statically linked XFS file system tools")))
+
(define-public genext2fs
(package
(name "genext2fs")
- branch master updated (e1401fb -> 0b298cb), guix-commits, 2021/09/23
- 09/17: gnu: Add xfsprogs-static.,
guix-commits <=
- 01/17: gnu: rsync: Enable zstd & lz4 compression., guix-commits, 2021/09/23
- 05/17: syscalls: Deduplicate device number conversion., guix-commits, 2021/09/23
- 04/17: gnu: Don't abuse check-btrfs-file-system to scan., guix-commits, 2021/09/23
- 03/17: linux-boot: Honour fsck.mode & fsck.repair., guix-commits, 2021/09/23
- 11/17: uuid: Support XFS., guix-commits, 2021/09/23
- 14/17: file-systems: Add support for XFS., guix-commits, 2021/09/23
- 17/17: tests: install: Test an XFS root file system., guix-commits, 2021/09/23
- 13/17: file-systems: Add file system to *-SUPERBLOCK-VOLUME-NAME docstrings., guix-commits, 2021/09/23
- 07/17: gnu: libinih: Build & install static libraries., guix-commits, 2021/09/23
- 02/17: file-systems: Support forced checks & repairs., guix-commits, 2021/09/23