guix-commits
[Top][All Lists]
Advanced

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

25/27: gnu: olm: Drop custom ‘lib-’ prefix.


From: guix-commits
Subject: 25/27: gnu: olm: Drop custom ‘lib-’ prefix.
Date: Thu, 15 Dec 2022 13:44:22 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit d1c3681e38a3ea70d1ce4df1077fba11fb88508b
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Dec 11 01:00:00 2022 +0100

    gnu: olm: Drop custom ‘lib-’ prefix.
    
    * gnu/packages/crypto.scm (olm): New variable, renamed from…
    (libolm): …this one, which is now a DEPRECATED-PACKAGE alias of olm.
    Adjust all users.
    [synopsis, description]: Adjust.  Capitalise proper nouns.
    (python-olm)[description]: Remove implementation detail.
---
 gnu/packages/crypto.scm    | 18 ++++++++++--------
 gnu/packages/messaging.scm |  6 +++---
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index cc633cb4bf..791de39368 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1293,9 +1293,9 @@ signatures include trusted comments in addition to 
untrusted comments.
 Trusted comments are signed, thus verified, before being displayed.")
     (license license:isc)))
 
-(define-public libolm
+(define-public olm
   (package
-    (name "libolm")
+    (name "olm")
     (version "3.2.12")
     (source (origin
               (method git-fetch)
@@ -1319,13 +1319,16 @@ Trusted comments are signed, thus verified, before 
being displayed.")
              (when tests?
                (with-directory-excursion "tests"
                  (invoke "ctest" "."))))))))
-    (synopsis "Implementation of the olm and megolm cryptographic ratchets")
-    (description "The libolm library implements the Double Ratchet
+    (synopsis "Implementation of the Olm and Megolm cryptographic ratchets")
+    (description "The Olm library implements the Double Ratchet
 cryptographic ratchet.  It is written in C and C++11, and exposed as a C
 API.")
     (home-page "https://matrix.org/docs/projects/other/olm/";)
     (license license:asl2.0)))
 
+(define-public libolm
+  (deprecated-package "libolm" olm))
+
 (define-public python-olm
   (package
     ;; python-olm is part of libolm and must be updated at the same time.
@@ -1351,10 +1354,9 @@ API.")
      (list python-cffi python-future))
     (native-inputs
      (list python-pytest python-pytest-benchmark python-aspectlib))
-    (synopsis "Python bindings for libolm")
-    (description "The libolm library implements the Double Ratchet
-cryptographic ratchet.  It is written in C and C++11, and exposed as a C
-API.  This package contains its Python bindings.")))
+    (synopsis "Python bindings for Olm")
+    (description "The Olm library implements the Double Ratchet
+cryptographic ratchet.  This package contains its Python bindings.")))
 
 (define-public hash-extender
   (let ((commit "cb8aaee49f93e9c0d2f03eb3cafb429c9eed723d")
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 8b35480400..27a68439ef 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2380,7 +2380,7 @@ QMatrixClient project.")
            curl
            json-modern-cxx
            libevent
-           libolm
+           olm
            libsodium
            openssl
            spdlog
@@ -2463,7 +2463,7 @@ for the Matrix protocol.  It is built on to of 
@code{Boost.Asio}.")
            json-modern-cxx
            libevent
            libnice                      ; for voip
-           libolm
+           olm
            lmdb
            lmdbxx
            mtxclient
@@ -2884,7 +2884,7 @@ validating international phone numbers.")
            libgcrypt
            libgee
            libhandy
-           libolm
+           olm
            libphonenumber
            modem-manager
            pidgin



reply via email to

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