[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add dbus-verbose.

From: guix-commits
Subject: 01/02: gnu: Add dbus-verbose.
Date: Tue, 14 Jun 2022 14:24:13 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 3aaf52a129ccf1d42aefd31322d21f697ce026b4
Author: Maxim Cournoyer <>
AuthorDate: Tue Dec 7 22:20:02 2021 -0500

    gnu: Add dbus-verbose.
    * gnu/packages/glib.scm (dbus-verbose): New variable.
 gnu/packages/glib.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 732b1aea8a..98267fcee5 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -193,6 +193,21 @@ shared NFS home directories.")
+;;; The reason this is not enabled in the regular dbus package is because it
+;;; impacts the performance of D-Bus (including its library) as a whole, even
+;;; when the DBUS_VERBOSE environment variable is not set.
+(define-public dbus-verbose
+  (package/inherit dbus
+    (name "dbus-verbose")
+    (arguments (substitute-keyword-arguments (package-arguments dbus)
+                 ((#:configure-flags flags '())
+                  `(cons "--enable-verbose-mode" ,flags))))
+    (synopsis "D-Bus with verbose mode enabled for debugging")
+    (description "This variant D-Bus package is built with verbose mode, which
+eases debugging of D-Bus services by printing various debug information when
+the @code{DBUS_VERBOSE} environment variable is set to @samp{1}.  For more
+information, refer to the @samp{dbus-daemon(1)} man page.")))
 (define glib
     (name "glib")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]