[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: Add libtracefs.
From: |
guix-commits |
Subject: |
02/07: gnu: Add libtracefs. |
Date: |
Fri, 4 Aug 2023 19:24:31 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 2c7f12a6cb3f8a6646098ef8985c0f6061ccd3fc
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 23 02:00:00 2023 +0200
gnu: Add libtracefs.
* gnu/packages/linux.scm (libtracefs): New public variable.
---
gnu/packages/linux.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 3aec03a3ec..595866699e 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9975,6 +9975,46 @@ formats.")
(license (list license:gpl2
license:lgpl2.1))))
+(define-public libtracefs
+ (package
+ (name "libtracefs")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0v896n3q0df0nxx5drbwyaqhrqiyxl06rvrdw3gp2r37awa9g1zb"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ (substitute* (list "Makefile" "scripts/utils.mk")
+ (("/bin/(pwd)" _ command) command))))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #f ; no test suite
+ #:make-flags
+ #~(list
+ (string-append "CC=" #$(cc-for-target))
+ (string-append "pkgconfig_dir=" #$output "/lib/pkgconfig")
+ (string-append "prefix=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)))) ; no configure script
+ (native-inputs (list pkg-config))
+ (inputs (list libtraceevent))
+ (home-page "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/")
+ (synopsis "Linux kernel trace file system library")
+ (description
+ "This library provides APIs to access the Linux kernel's trace file
+system.")
+ (license (list license:gpl2
+ license:lgpl2.1))))
+
(define-public libtree
(package
(name "libtree")
- branch master updated (17fadbb5ea -> 42ae42cf41), guix-commits, 2023/08/04
- 04/07: gnu: ndctl: Update to 78., guix-commits, 2023/08/04
- 01/07: gnu: diffoscope: Update to 247., guix-commits, 2023/08/04
- 03/07: gnu: libtraceevent: Tweak description., guix-commits, 2023/08/04
- 06/07: gnu: reprotest: Update to 0.7.26., guix-commits, 2023/08/04
- 05/07: gnu: sudo: Update to 1.9.14p3., guix-commits, 2023/08/04
- 02/07: gnu: Add libtracefs.,
guix-commits <=
- 07/07: gnu: tlpui: Fix build., guix-commits, 2023/08/04