[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/14: gnu: Add babeltrace/dev.
|
From: |
guix-commits |
|
Subject: |
08/14: gnu: Add babeltrace/dev. |
|
Date: |
Wed, 22 Nov 2023 10:52:43 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 0bc856034076b49cfa20f505a4c11c830b68c1b0
Author: Olivier Dion <odion@efficios.com>
AuthorDate: Wed Nov 1 16:35:16 2023 -0400
gnu: Add babeltrace/dev.
* gnu/packages/instrumentation.scm (babeltrace/dev): New variable.
Change-Id: Ib54ced9a1ede5d9acc9a53ff325663a28a3b447f
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/instrumentation.scm | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index 3097eba033..8b1a2a1c02 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -97,11 +97,9 @@
(modify-phases %standard-phases
;; These are recommended in the project's README for a development
;; build configuration.
- (add-before 'configure 'set-environment-variables
+ (add-after 'unpack 'reconfigure
(lambda _
- (setenv "BABELTRACE_DEV_MODE" "1")
- (setenv "BABELTRACE_MINIMAL_LOG_LEVEL" "TRACE")
- (invoke "autoreconf" "-vfi"))))))
+ (delete-file "configure"))))))
(inputs
(list glib))
;; NOTE - elfutils is used for the LTTng debug information filter
@@ -143,6 +141,21 @@ LTTng and barectf. This package provides a library with a
C API, Python 3
bindings, and the command-line tool @command{babeltrace2}.")
(license license:expat)))
+(define-public babeltrace/dev
+ (package/inherit babeltrace
+ ;; This dev variant of the package babeltrace is slower but allows better
+ ;; development of plugins as recommended by the authors.
+ (name "babeltrace-dev")
+ (synopsis "Trace manipulation toolkit (variant for plugin developers)")
+ (arguments
+ (substitute-keyword-arguments (package-arguments babeltrace)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-before 'configure 'set-environment-variables
+ (lambda _
+ (setenv "BABELTRACE_DEV_MODE" "1")
+ (setenv "BABELTRACE_MINIMAL_LOG_LEVEL" "TRACE")))))))))
+
(define-public barectf
(package
(name "barectf")
- branch master updated (857f501750 -> b150c546b0), guix-commits, 2023/11/22
- 04/14: gnu: tilda: Run guix style on tilda@1.5.4, guix-commits, 2023/11/22
- 03/14: gnu: tilda: Fix lint error by updating input list format for v1.5.4, guix-commits, 2023/11/22
- 01/14: style: ‘guix style -f’ warns when passed zero arguments., guix-commits, 2023/11/22
- 02/14: gnu: tilda: Add version 1.6-alpha with D-Bus support, guix-commits, 2023/11/22
- 07/14: gnu: babeltrace: Do not install bindings as egg., guix-commits, 2023/11/22
- 08/14: gnu: Add babeltrace/dev.,
guix-commits <=
- 10/14: gnu: duplicity: Use ‘search-input-file’., guix-commits, 2023/11/22
- 11/14: gnu: duplicity: Remove input labels and use gexps., guix-commits, 2023/11/22
- 12/14: read-print: Properly indent ‘parameterize’., guix-commits, 2023/11/22
- 09/14: gnu: duplicity: Update to 2.1.4., guix-commits, 2023/11/22
- 05/14: gnu: Add findimagedupes., guix-commits, 2023/11/22
- 06/14: gnu: Add clifm., guix-commits, 2023/11/22
- 13/14: gnu: cuirass: Update to bdc1f9f., guix-commits, 2023/11/22
- 14/14: git: Shell out to ‘git gc’ when necessary., guix-commits, 2023/11/22