[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: services: Adjust the jami service for the upgraded jami.
From: |
guix-commits |
Subject: |
07/07: services: Adjust the jami service for the upgraded jami. |
Date: |
Thu, 13 Jan 2022 01:05:23 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 374fea0f3bc8035f626cb29e6045130df9ffdaf8
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Jan 12 23:13:35 2022 -0500
services: Adjust the jami service for the upgraded jami.
* gnu/services/telephony.scm (jami-configuration)[jamid]: Rename libring to
libjami.
* gnu/services/telephony.scm
(jami-configuration->command-line-arguments): Adjust daemon file name.
* gnu/services/telephony.scm (jami-service-type): Adjust doc.
* gnu/tests/telephony.scm (run-jami-test): Check for 'jamid' process, not
'dring'.
* doc/guix.texi (Telephony Services): Adjust doc for the jami-qt to jami and
libring to libjami packages renaming.
---
doc/guix.texi | 8 ++++----
gnu/services/telephony.scm | 8 ++++----
gnu/tests/telephony.scm | 4 ++--
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 876172fa3a..bc289bad7b 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -23849,9 +23849,9 @@ service found under @file{/var/lib/jami} are recreated
every time the
service starts.
Jami accounts and their corresponding backup archives can be generated
-using either the @code{jami-qt} or @code{jami-gnome} Jami clients. The
-accounts should not be password-protected, but it is wise to ensure
-their files are only readable by @samp{root}.
+using the @code{jami} or @code{jami-gnome} Jami clients. The accounts
+should not be password-protected, but it is wise to ensure their files
+are only readable by @samp{root}.
The next example shows how to declare that only some contacts should be
allowed to communicate with a given account:
@@ -23966,7 +23966,7 @@ The complete set of available configuration options is
detailed below.
Available @code{jami-configuration} fields are:
@table @asis
-@item @code{jamid} (default: @code{libring}) (type: package)
+@item @code{jamid} (default: @code{libjami}) (type: package)
The Jami daemon package to use.
@item @code{dbus} (default: @code{dbus}) (type: package)
diff --git a/gnu/services/telephony.scm b/gnu/services/telephony.scm
index 7c83f13b2a..e678bae87c 100644
--- a/gnu/services/telephony.scm
+++ b/gnu/services/telephony.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 nee <nee-git@hidamari.blue>
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -227,7 +227,7 @@ SET-ACCOUNT-DETAILS."
(define-configuration/no-serialization jami-configuration
(jamid
- (file-like libring)
+ (file-like libjami)
"The Jami daemon package to use.")
(dbus
(file-like dbus)
@@ -265,7 +265,7 @@ consistent state."))
CONFIG, a <jami-configuration> object."
(match-record config <jami-configuration>
(jamid dbus enable-logging? debug? auto-answer?)
- `(,(file-append jamid "/lib/ring/dring")
+ `(,(file-append jamid "/libexec/jamid")
"--persistent" ;stay alive after client quits
,@(if enable-logging?
'() ;logs go to syslog by default
@@ -739,7 +739,7 @@ argument, either a registered username or the fingerprint
of the account.")
(const %jami-accounts))
(service-extension activation-service-type
jami-dbus-session-activation)))
- (description "Run the Jami daemon (@command{dring}). This service is
+ (description "Run the Jami daemon (@command{jamid}). This service is
geared toward the use case of hosting Jami rendezvous points over a headless
server. If you use Jami on your local machine, you may prefer to setup a user
Shepherd service for it instead; this way, the daemon will be shared via your
diff --git a/gnu/tests/telephony.scm b/gnu/tests/telephony.scm
index 998bdbccf9..bc464a431a 100644
--- a/gnu/tests/telephony.scm
+++ b/gnu/tests/telephony.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gnu.org>.
+;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>.
;;;
;;; This file is part of GNU Guix.
;;;
@@ -174,7 +174,7 @@ accounts provisioning feature of the service."
;; in the service; use retries.
(with-retries 20 1
(not (zero? (status:exit-val
- (system* "pgrep" "dring")))))))
+ (system* "pgrep" "jamid")))))))
marionette))
(test-assert "service can be restarted"
- branch master updated (20f798f30f -> 374fea0f3b), guix-commits, 2022/01/13
- 03/07: gnu: pjproject: Remove the make-source-files-writable phase., guix-commits, 2022/01/13
- 06/07: gnu: jami: Update to 20211223.2.37be4c3., guix-commits, 2022/01/13
- 02/07: gnu: opendht: Use the GNU build system., guix-commits, 2022/01/13
- 04/07: gnu: pjproject: Apply patch to install the libpjsua2 shared library., guix-commits, 2022/01/13
- 05/07: gnu: pjproject: Update to 2.11.1., guix-commits, 2022/01/13
- 07/07: services: Adjust the jami service for the upgraded jami.,
guix-commits <=
- 01/07: gnu: opendht: Update to 2.3.1-0.dbbfdaa., guix-commits, 2022/01/13