gnu: Add telepathy-salut.

* gnu/packages/freedesktop.scm (telepathy-salut): New variable.
This commit is contained in:
Ricardo Wurmus 2023-03-03 23:45:36 +01:00
parent 8f084b2c7c
commit 6a1464b0cc
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3,7 +3,7 @@
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015, 2017 Andy Wingo <wingo@pobox.com>
;;; Copyright © 2015-2017, 2019, 2021-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
;;; Copyright © 2016, 2017, 2019, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
@ -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")