From 6a1464b0cc8c0b3e53d2580661a8c69d79f183ab Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 3 Mar 2023 23:45:36 +0100 Subject: gnu: Add telepathy-salut. * gnu/packages/freedesktop.scm (telepathy-salut): New variable. --- gnu/packages/freedesktop.scm | 78 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 77 insertions(+), 1 deletion(-) (limited to 'gnu/packages/freedesktop.scm') diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 08f3c3f56f..2f2c9442b1 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015 Sou Bunnbu ;;; Copyright © 2015, 2017 Andy Wingo ;;; Copyright © 2015-2017, 2019, 2021-2022 Ludovic Courtès -;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022 Ricardo Wurmus +;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022, 2023 Ricardo Wurmus ;;; Copyright © 2015 David Hashe ;;; Copyright © 2016, 2017, 2019, 2021, 2022 Efraim Flashner ;;; Copyright © 2016 Kei Kebreau @@ -66,6 +66,7 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages acl) #:use-module (gnu packages admin) #:use-module (gnu packages autotools) + #:use-module (gnu packages avahi) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages boost) @@ -121,6 +122,7 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages samba) #:use-module (gnu packages serialization) #:use-module (gnu packages sqlite) + #:use-module (gnu packages tls) #:use-module (gnu packages valgrind) #:use-module (gnu packages video) #:use-module (gnu packages w3m) @@ -1934,6 +1936,80 @@ (define-public telepathy-mission-control share connections to real-time communication services without conflicting.") (license license:lgpl2.1))) +(define-public telepathy-salut + ;; telepathy-salut bundles wocky, an unreleased library. The latest commit + ;; includes a more recent version. + (let ((commit "90dbe5e74ccdd063cb123212a754f994c9d2019f") + (revision "1")) + (package + (name "telepathy-salut") + (version (git-version "0.8.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/TelepathyIM/telepathy-salut") + (commit commit) + (recursive? #true))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "195pz8dgwhyy1cygd0rlncyr3c4wzhnf99sfjj5qmc8j195j1k7a")))) + (build-system gnu-build-system) + (arguments + (list + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'delete-autogen + (lambda _ (delete-file "autogen.sh"))) + ;; The twisted tests all fail, but there are no logs, so we can't + ;; tell what's wrong. + (add-after 'unpack 'disable-twisted-tests + (lambda _ + (substitute* "tests/Makefile.am" + (("SUBDIRS = twisted") "")))) + (add-before 'configure 'configure-wocky + (lambda* (#:key configure-flags #:allow-other-keys) + (with-directory-excursion "lib/ext/wocky" + (invoke "gtkdocize") + (invoke "bash" "autoreconf" "-vif") + (substitute* "configure" + (("/bin/sh") (which "sh"))) + (apply invoke "bash" "configure" configure-flags))))) + #:configure-flags + #~(list (string-append "--prefix=" #$output) + "--disable-avahi-tests" + "--without-ca-certificates" + "--disable-Werror"))) + (native-inputs + (list autoconf + automake + libtool + `(,glib "bin") ;for glib-compile-schemas, etc. + gtk-doc + pkg-config)) + (inputs + (list avahi + dbus + glib + gnutls + gobject-introspection + libxml2 + libxslt + libsoup-minimal-2 + python + `(,util-linux "lib"))) + (propagated-inputs + (list telepathy-glib)) + (home-page "https://telepathy.freedesktop.org/wiki/Components/") + (synopsis "Link-local XMPP connection manager") + (description + "Salut is a link-local XMPP (XEP-0174) connection manager for the +Telepathy framework, currently supporting presence and single-user chats with +iChat interoperability, and multi-user chats and Tubes using the +@url{https://telepathy.freedesktop.org/wiki/Clique,Clique} protocol.") + (license license:lgpl2.1)))) + (define-public colord-gtk (package (name "colord-gtk") -- cgit v1.2.3 From 4acc5e03099c4be6bb7c41515d1dbbcf8b200c6a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 4 Mar 2023 15:19:21 +0100 Subject: gnu: Add telepathy-gabble. * gnu/packages/freedesktop.scm (telepathy-gabble): New variable. --- gnu/packages/freedesktop.scm | 80 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) (limited to 'gnu/packages/freedesktop.scm') diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 2f2c9442b1..9e0dbdfb71 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -1842,6 +1842,86 @@ (define-public modem-manager '((upstream-name . "ModemManager"))) (license license:gpl2+))) +(define-public telepathy-gabble + ;; telepathy-gabble bundles wocky, an unreleased library. The latest commit + ;; includes a more recent version. + (let ((commit "f1c762df6328916b811a834047fedac8529cf157") + (revision "1")) + (package + (name "telepathy-gabble") + (version (git-version "0.18.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/TelepathyIM/telepathy-gabble/") + (commit commit) + (recursive? #true))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "00ss14hf1qwb42648cldghmfjfn1nkjvpy508b7vaz322fj37qa4")))) + (build-system gnu-build-system) + (arguments + (list + ;; Parallel tests freeze. + #:parallel-tests? #false + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'delete-autogen + (lambda _ (delete-file "autogen.sh"))) + (add-before 'configure 'configure-wocky + (lambda* (#:key configure-flags #:allow-other-keys) + (with-directory-excursion "lib/ext/wocky" + (invoke "gtkdocize") + (invoke "bash" "autoreconf" "-vif") + (substitute* "configure" + (("/bin/sh") (which "sh"))) + (apply invoke "bash" "configure" configure-flags))))) + #:configure-flags + #~(list (string-append "--prefix=" #$output) + "--disable-avahi-tests" + "--disable-dependency-tracking" + "--disable-Werror" + "--without-ca-certificates"))) + (native-inputs + (list autoconf + automake + libtool + `(,glib "bin") ;for glib-compile-schemas, etc. + gtk-doc + pkg-config)) + (inputs + (list dbus + glib + gnutls + gobject-introspection + libnice + libsoup-minimal-2 + libxslt + python)) + (propagated-inputs + (list telepathy-glib)) + (home-page "https://telepathy.freedesktop.org/components/telepathy-gabble/") + (synopsis "XMPP connection manager for Telepathy") + (description + "Gabble is a Jabber/XMPP connection manager for the Telepathy +framework, currently supporting: + +@itemize +@item single-user chats +@item multi-user chats +@item voice/video calling +@item file transfer +@end itemize + +with Jabber/XMPP interoperability. + +Telepathy is a D-Bus framework for unifying real time communication, including +instant messaging, voice calls and video calls. It abstracts differences +between protocols to provide a unified interface for applications.") + (license license:lgpl2.1)))) + (define-public telepathy-logger (package (name "telepathy-logger") -- cgit v1.2.3 From ed63a3d9d62e6461be4056653fd933a63e19328b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 4 Mar 2023 17:55:23 +0100 Subject: gnu: telepathy-salut: Enable OLPC extensions. * gnu/packages/freedesktop.scm (telepathy-salut)[arguments]: Enable OLPC support in configure flags. --- gnu/packages/freedesktop.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/freedesktop.scm') diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 9e0dbdfb71..40edcfdab4 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -2060,7 +2060,8 @@ (define-public telepathy-salut #~(list (string-append "--prefix=" #$output) "--disable-avahi-tests" "--without-ca-certificates" - "--disable-Werror"))) + "--disable-Werror" + "--enable-olpc"))) (native-inputs (list autoconf automake -- cgit v1.2.3