[Top][All Lists]

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

03/03: services: jami-configuration: Rename 'jamid' field to 'libjami'.

From: guix-commits
Subject: 03/03: services: jami-configuration: Rename 'jamid' field to 'libjami'.
Date: Sat, 11 Jun 2022 00:15:01 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 8649ac5eaa0447a766b18550787b60639e57a7fb
Author: Maxim Cournoyer <>
AuthorDate: Fri Jun 10 09:53:32 2022 -0400

    services: jami-configuration: Rename 'jamid' field to 'libjami'.
    * gnu/services/telephony.scm (gnu):
    (jami-configuration)[jamid]: Rename field to...
    [libjami]: ... this.
    (jami-configuration->command-line-arguments): Adjust accordingly.
    (jami-shepherd-services): Likewise.
 doc/guix.texi              |  2 +-
 gnu/services/telephony.scm | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 6811429cda..2961cf3608 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -25543,7 +25543,7 @@ The complete set of available configuration options is 
detailed below.
 Available @code{jami-configuration} fields are:
 @table @asis
-@item @code{jamid} (default: @code{libjami}) (type: package)
+@item @code{libjami} (default: @code{libjami}) (type: package)
 The Jami daemon package to use.
 @item @code{dbus} (default: @code{dbus-for-jami}) (type: package)
diff --git a/gnu/services/telephony.scm b/gnu/services/telephony.scm
index 3b397054a8..0a11e283a0 100644
--- a/gnu/services/telephony.scm
+++ b/gnu/services/telephony.scm
@@ -49,7 +49,7 @@
-            jami-configuration-jamid
+            jami-configuration-libjami
@@ -228,7 +228,7 @@ SET-ACCOUNT-DETAILS."
 (define-maybe/no-serialization jami-account-list)
 (define-configuration/no-serialization jami-configuration
-  (jamid
+  (libjami
    (file-like libjami)
    "The Jami daemon package to use.")
@@ -266,8 +266,8 @@ consistent state."))
   "Derive the command line arguments to used to launch the Jami daemon from
 CONFIG, a <jami-configuration> object."
   (match-record config <jami-configuration>
-    (jamid dbus enable-logging? debug? auto-answer?)
-    `(,(file-append jamid "/libexec/jamid")
+    (libjami dbus enable-logging? debug? auto-answer?)
+    `(,(file-append libjami "/libexec/jamid")
       "--persistent"                    ;stay alive after client quits
       ,@(if enable-logging?
             '()                         ;logs go to syslog by default
@@ -302,7 +302,7 @@ CONFIG, a <jami-configuration> object."
 (define (jami-shepherd-services config)
   "Return a <shepherd-service> running the Jami daemon."
-  (let* ((jamid (jami-configuration-jamid config))
+  (let* ((libjami (jami-configuration-libjami config))
          (nss-certs (jami-configuration-nss-certs config))
          (dbus (jami-configuration-dbus config))
          (dbus-daemon (file-append dbus "/bin/dbus-daemon"))
@@ -524,7 +524,7 @@ argument, either a registered username or the fingerprint 
of the account.")
                    ;; This is so that the cx.ring.Ring service D-Bus
                    ;; definition is found by dbus-daemon.
-                   (list (string-append "XDG_DATA_DIRS=" #$jamid "/share"))))
+                   (list (string-append "XDG_DATA_DIRS=" #$libjami "/share"))))
                (stop #~(make-kill-destructor)))

reply via email to

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