me
/
guix
Archived
1
0
Fork 0

gnu: Add dbus-verbose.

* gnu/packages/glib.scm (dbus-verbose): New variable.
Maxim Cournoyer 2021-12-07 22:20:02 -05:00
parent 330d2778a9
commit 3aaf52a129
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 15 additions and 0 deletions

View File

@ -193,6 +193,21 @@ shared NFS home directories.")
(("@SYSCONFDIR_FROM_PKGDATADIR@/dbus-1/session-local.conf")
"/var/run/jami/session-local.conf")))))))))))
;;; 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
(package
(name "glib")