1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
4 ;;; Copyright © 2015 Andy Wingo <wingo@pobox.com>
5 ;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
6 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
8 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
10 ;;; Copyright © 2017 Mark H Weaver <mhw@netris.org>
12 ;;; This file is part of GNU Guix.
14 ;;; GNU Guix is free software; you can redistribute it and/or modify it
15 ;;; under the terms of the GNU General Public License as published by
16 ;;; the Free Software Foundation; either version 3 of the License, or (at
17 ;;; your option) any later version.
19 ;;; GNU Guix is distributed in the hope that it will be useful, but
20 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
21 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ;;; GNU General Public License for more details.
24 ;;; You should have received a copy of the GNU General Public License
25 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
27 (define-module (gnu packages freedesktop)
28 #:use-module ((guix licenses) #:prefix license:)
29 #:use-module (guix packages)
30 #:use-module (guix download)
31 #:use-module (guix git-download)
32 #:use-module (guix build-system gnu)
33 #:use-module (guix build-system python)
34 #:use-module (gnu packages acl)
35 #:use-module (gnu packages admin)
36 #:use-module (gnu packages autotools)
37 #:use-module (gnu packages boost)
38 #:use-module (gnu packages compression)
39 #:use-module (gnu packages databases)
40 #:use-module (gnu packages docbook)
41 #:use-module (gnu packages documentation)
42 #:use-module (gnu packages gettext)
43 #:use-module (gnu packages gl)
44 #:use-module (gnu packages glib) ;intltool
45 #:use-module (gnu packages gnome)
46 #:use-module (gnu packages gnuzilla)
47 #:use-module (gnu packages gperf)
48 #:use-module (gnu packages graphviz)
49 #:use-module (gnu packages gtk)
50 #:use-module (gnu packages libffi)
51 #:use-module (gnu packages libunwind)
52 #:use-module (gnu packages libusb)
53 #:use-module (gnu packages linux)
54 #:use-module (gnu packages m4)
55 #:use-module (gnu packages polkit)
56 #:use-module (gnu packages pkg-config)
57 #:use-module (gnu packages python)
58 #:use-module (gnu packages xml)
59 #:use-module (gnu packages xdisorg)
60 #:use-module (gnu packages xorg))
62 (define-public xdg-utils
70 "https://portland.freedesktop.org/download/xdg-utils-"
74 "1b019d3r1379b60p33d6z44kx589xjgga62ijz9vha95dg8vgbi1"))))
75 (build-system gnu-build-system)
77 `(("xprop" ,xprop) ; for Xfce detecting
78 ("xset" ,xset))) ; for xdg-screensaver
80 `(#:tests? #f)) ; no check target
81 (home-page "http://portland.freedesktop.org/")
82 (synopsis "Freedesktop.org scripts for desktop integration")
83 (description "The xdg-utils package is a set of simple scripts that
84 provide basic desktop integration functions in the framework of the
85 freedesktop.org project.")
86 (license license:expat)))
88 (define-public libinput
94 (uri (string-append "https://freedesktop.org/software/libinput/"
95 name "-" version ".tar.xz"))
98 "18bx2fz04mf41nf3021pr9k3f741zvc6i8pzvypc6ycffac2gnkl"))))
99 (build-system gnu-build-system)
103 ("pkg-config" ,pkg-config)))
105 `(("libudev" ,eudev))) ; required by libinput.pc
108 ("libevdev" ,libevdev)
110 ("libwacom" ,libwacom)))
111 (home-page "https://www.freedesktop.org/wiki/Software/libinput/")
112 (synopsis "Input devices handling library")
114 "Libinput is a library to handle input devices for display servers and
115 other applications that need to directly deal with input devices.")
116 (license license:x11)))
118 (define-public libinput-minimal
119 (package (inherit libinput)
120 (name "libinput-minimal")
122 `(("pkg-config" ,pkg-config)))
124 `(("libevdev" ,libevdev)
128 '("--disable-libwacom")))))
130 (define-public libxdg-basedir
132 (name "libxdg-basedir")
137 "https://github.com/devnev/libxdg-basedir/archive/"
138 name "-" version ".tar.gz"))
141 "0s28c7sfwqimsmb3kn91mx7wi55fs3flhbmynl9k60rrllr00aqw"))))
142 (build-system gnu-build-system)
145 (modify-phases %standard-phases
146 (add-after 'unpack 'autogen
148 ;; Run 'configure' in its own phase, not now.
149 (substitute* "autogen.sh"
150 (("^.*\\./configure.*") ""))
151 (zero? (system* "sh" "autogen.sh")))))))
153 `(("autoconf" ,autoconf)
154 ("automake" ,automake)
155 ("libtool" ,libtool)))
156 (home-page "https://github.com/devnev/libxdg-basedir")
157 (synopsis "Implementation of the XDG Base Directory specification")
159 "libxdg-basedir is a C library providing some functions to use with
160 the freedesktop.org XDG Base Directory specification.")
161 (license license:expat)))
163 (define-public elogind
169 (uri (string-append "https://wingolog.org/pub/" name "/"
170 name "-" version ".tar.xz"))
173 "1jckc4wx199n1q4r4fv43ibjs6nlq91s39w9r78ilk1z383m1hcx"))
174 (modules '((guix build utils)))
177 (use-modules (guix build utils))
178 (substitute* "Makefile.am"
179 ;; Avoid validation against DTD because the DTDs for
180 ;; both doctype 4.2 and 4.5 are needed.
181 (("XSLTPROC_FLAGS = ") "XSLTPROC_FLAGS = --novalid"))))))
182 (build-system gnu-build-system)
185 (list (string-append "--with-libcap="
186 (assoc-ref %build-inputs "libcap"))
187 (string-append "--with-udevrulesdir="
188 (assoc-ref %outputs "out")
189 "/lib/udev/rules.d"))
190 #:make-flags '("PKTTYAGENT=/run/current-system/profile/bin/pkttyagent")
191 #:phases (modify-phases %standard-phases
192 (add-before 'build 'fix-service-file
193 (lambda* (#:key outputs #:allow-other-keys)
194 ;; Fix the file name of the 'elogind' binary in the D-Bus
196 (substitute* "src/login/org.freedesktop.login1.service"
198 (string-append "Exec=" (assoc-ref %outputs "out")
199 "/libexec/elogind/elogind\n"))))))))
201 `(("intltool" ,intltool)
202 ("gettext" ,gettext-minimal)
203 ("docbook-xsl" ,docbook-xsl)
204 ("docbook-xml" ,docbook-xml)
205 ("xsltproc" ,libxslt)
207 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
208 ("pkg-config" ,pkg-config)
211 `(("linux-pam" ,linux-pam)
212 ("linux-libre-headers" ,linux-libre-headers)
214 ("shepherd" ,shepherd) ;for 'halt' and 'reboot', invoked
215 ;when pressing the power button
218 ("acl" ,acl))) ;to add individual users to ACLs on /dev nodes
219 (home-page "https://github.com/wingo/elogind")
220 (synopsis "User, seat, and session management service")
221 (description "Elogind is the systemd project's \"logind\" service,
222 extracted out as a separate project. Elogind integrates with PAM to provide
223 the org.freedesktop.login1 interface over the system bus, allowing other parts
224 of a the system to know what users are logged in, and where.")
225 (license license:lgpl2.1+)))
227 (define-public python-pyxdg
229 (name "python-pyxdg")
235 "https://pypi.python.org/packages/source/p/pyxdg/pyxdg-"
239 "179767h8m634ydlm4v8lnz01ba42gckfp684id764zaip7h87s41"))))
240 (build-system python-build-system)
245 (lambda* (#:key inputs #:allow-other-keys)
246 (setenv "XDG_DATA_DIRS"
247 (string-append (assoc-ref inputs "shared-mime-info")
249 (substitute* "test/test-icon.py"
250 (("/usr/share/icons/hicolor/index.theme")
251 (string-append (assoc-ref inputs "hicolor-icon-theme")
252 "/share/icons/hicolor/index.theme")))
254 ;; One test fails with:
255 ;; AssertionError: 'x-apple-ios-png' != 'png'
256 (substitute* "test/test-mime.py"
257 (("self.check_mimetype\\(imgpng, 'image', 'png'\\)") "#"))
258 (zero? (system* "nosetests" "-v")))
261 `(("shared-mime-info" ,shared-mime-info) ;for tests
262 ("hicolor-icon-theme" ,hicolor-icon-theme) ;for tests
263 ("python-nose" ,python-nose)))
264 (home-page "http://freedesktop.org/wiki/Software/pyxdg")
265 (synopsis "Implementations of freedesktop.org standards in Python")
267 "PyXDG is a collection of implementations of freedesktop.org standards in
269 (license license:lgpl2.0)))
271 (define-public python2-pyxdg
272 (package-with-python2 python-pyxdg))
274 (define-public wayland
280 (uri (string-append "https://wayland.freedesktop.org/releases/"
281 name "-" version ".tar.xz"))
284 "1c0d5ivy9n44hykvw2ggrvqrnn7naw3wg11vbvgwzgi8g5gr4h4m"))))
285 (build-system gnu-build-system)
286 (arguments `(#:parallel-tests? #f))
288 `(("doxygen" ,doxygen)
289 ("graphviz" ,graphviz)
290 ("pkg-config" ,pkg-config)
292 ("xsltproc" ,libxslt)))
294 `(("docbook-xml" ,docbook-xml)
295 ("docbook-xsl" ,docbook-xsl)
298 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
299 (home-page "https://wayland.freedesktop.org/")
300 (synopsis "Display server protocol")
302 "Wayland is a protocol for a compositor to talk to its clients as well as
303 a C library implementation of that protocol. The compositor can be a standalone
304 display server running on Linux kernel modesetting and evdev input devices, an X
305 application, or a wayland client itself. The clients can be traditional
306 applications, X servers (rootless or fullscreen) or other display servers.")
307 (license license:x11)))
309 (define-public wayland-protocols
311 (name "wayland-protocols")
316 "https://wayland.freedesktop.org/releases/"
317 "wayland-protocols-" version ".tar.xz"))
320 "07qw166s6bm81zfnhf4lmww6wj0il960fm3vp7n1z3rign9jlpv3"))))
321 (build-system gnu-build-system)
323 `(("wayland" ,wayland)))
325 `(("pkg-config" ,pkg-config)))
326 (synopsis "Wayland protocols")
327 (description "This package contains XML definitions of the Wayland protocols.")
328 (home-page "https://wayland.freedesktop.org")
329 (license license:expat)))
331 (define-public weston
338 "https://wayland.freedesktop.org/releases/"
339 "weston-" version ".tar.xz"))
342 "09biddxw3ar797kxf9mywjkb2iwky6my39gpp51ni846y7lqdq05"))))
343 (build-system gnu-build-system)
345 `(("pkg-config" ,pkg-config)
346 ("xorg-server" ,xorg-server)))
348 `(("cairo" ,cairo-xcb)
351 ("libinput" ,libinput-minimal)
352 ("libunwind" ,libunwind)
353 ("libxcursor" ,libxcursor)
354 ("libxkbcommon" ,libxkbcommon)
357 ("linux-pam" ,linux-pam)
359 ("wayland-protocols" ,wayland-protocols)
360 ("xorg-server-xwayland" ,xorg-server-xwayland)))
363 (list "--disable-setuid-install"
364 "--enable-systemd-login"
365 (string-append "--with-xserver-path="
366 (assoc-ref %build-inputs "xorg-server-xwayland")
369 (modify-phases %standard-phases
370 (add-before 'configure 'use-elogind
372 ;; Use elogind instead of systemd
373 (substitute* "configure"
374 (("libsystemd-login >= 198") "libelogind"))
375 (substitute* '("src/launcher-logind.c" "src/weston-launch.c")
376 (("#include <systemd/sd-login.h>")
377 "#include <elogind/sd-login.h>"))))
378 (add-after 'configure 'patch-confdefs.h
380 (system "echo \"#define HAVE_SYSTEMD_LOGIN_209 1\" >> confdefs.h")))
381 (add-before 'check 'setup
383 (setenv "HOME" (getcwd))
384 (setenv "XDG_RUNTIME_DIR" (getcwd))
386 (add-before 'check 'start-xorg-server
387 (lambda* (#:key inputs #:allow-other-keys)
388 ;; The test suite requires a running X server.
389 (system (string-append (assoc-ref inputs "xorg-server")
391 (setenv "DISPLAY" ":1")
393 (home-page "https://wayland.freedesktop.org")
394 (synopsis "Reference implementation of a Wayland compositor")
395 (description "Weston is the reference implementation of a Wayland
396 compositor, and a useful compositor in its own right.
398 A Wayland compositor allows applications to render to a shared offscreen
399 buffer using OpenGL ES. The compositor then culls the hidden parts and
400 composes the final output. A Wayland compositor is essentially a
401 multiplexer to the KMS/DRM Linux kernel devices.")
402 (license license:expat)))
404 (define-public exempi
411 "https://libopenraw.freedesktop.org/download/"
412 name "-" version ".tar.bz2"))
415 "0jcrv3w8m415cq8xi886hcxfqbrn5dczxbzybx9bhf3dbqsyv6nq"))))
416 (build-system gnu-build-system)
418 `(#:configure-flags (list (string-append "--with-boost="
419 (assoc-ref %build-inputs "boost")))))
421 `(("boost" ,boost))) ; tests
425 (home-page "https://wiki.freedesktop.org/libopenraw/Exempi")
426 (synopsis "XMP metadata handling library")
427 (description "Exempi is an implementation of the Extensible Metadata
428 Platform (XMP), which enables embedding metadata in PDF and image formats.")
429 (license license:bsd-3)))
431 (define-public libatasmart
437 (uri (string-append "http://0pointer.de/public/"
438 name "-" version ".tar.xz"))
441 "138gvgdwk6h4ljrjsr09pxk1nrki4b155hqdzyr8mlk3bwsfmw31"))))
442 (build-system gnu-build-system)
444 `(("pkg-config" ,pkg-config)))
447 (home-page "http://0pointer.de/blog/projects/being-smart.html")
448 (synopsis "ATA S.M.A.R.T. reading and parsing library")
450 "This library supports a subset of the ATA S.M.A.R.T. (Self-Monitoring,
451 Analysis and Reporting Technology) functionality.")
452 (license license:lgpl2.1+)))
454 (define-public udisks
460 (uri (string-append "https://udisks.freedesktop.org/releases/"
461 name "-" version ".tar.bz2"))
464 "1nkxhnqh39c9pzvm4zfj50rgv6apqawdx09bv3sfaxrah4a6jhfs"))))
465 (build-system gnu-build-system)
467 `(("docbook-xml" ,docbook-xml-4.3) ; to build the manpages
468 ("docbook-xsl" ,docbook-xsl)
469 ("glib:bin" ,glib "bin") ; for glib-mkenums
470 ("gobject-introspection" ,gobject-introspection)
471 ("intltool" ,intltool)
472 ("pkg-config" ,pkg-config)
473 ("xsltproc" ,libxslt)))
475 `(("glib" ,glib))) ; required by udisks2.pc
478 ("libatasmart" ,libatasmart)
479 ("libgudev" ,libgudev)
481 ("util-linux" ,util-linux)))
483 "doc")) ;5 MiB of gtk-doc HTML
485 `(#:tests? #f ; requiring system message dbus
486 #:disallowed-references ("doc") ;enforce separation of "doc"
489 "--localstatedir=/var"
490 "--enable-fhs-media" ;mount devices in /media, not /run/media
491 (string-append "--with-html-dir="
492 (assoc-ref %outputs "doc")
493 "/share/doc/udisks/html")
494 (string-append "--with-udevdir=" %output "/lib/udev"))
496 (let* ((docbook-xsl-name-version ,(string-append
497 (package-name docbook-xsl) "-"
498 (package-version docbook-xsl)))
499 (docbook-xsl-catalog-file (string-append
500 (assoc-ref %build-inputs "docbook-xsl")
502 docbook-xsl-name-version
504 (docbook-xml-catalog-file (string-append
505 (assoc-ref %build-inputs "docbook-xml")
506 "/xml/dtd/docbook/catalog.xml")))
507 ;; Reference the catalog files required to build the manpages.
508 (list (string-append "XML_CATALOG_FILES=" docbook-xsl-catalog-file " "
509 docbook-xml-catalog-file)))
511 (modify-phases %standard-phases
513 'configure 'fix-girdir
515 ;; Install introspection data to its own output.
516 (substitute* "udisks/Makefile.in"
518 "girdir = $(datadir)/gir-1.0\n")
519 (("typelibsdir = .*")
520 "typelibsdir = $(libdir)/girepository-1.0\n"))))
521 (add-after 'install 'set-mount-file-name
522 (lambda* (#:key outputs inputs #:allow-other-keys)
523 ;; Tell 'udisksd' where to find the 'mount' command.
524 (let ((out (assoc-ref outputs "out"))
525 (utils (assoc-ref inputs "util-linux")))
526 (wrap-program (string-append out "/libexec/udisks2/udisksd")
528 (,(string-append utils "/bin") ;for 'mount'
529 "/run/current-system/profile/bin"
530 "/run/current-system/profile/sbin")))
532 (home-page "https://www.freedesktop.org/wiki/Software/udisks/")
533 (synopsis "Disk manager service")
535 "UDisks provides interfaces to enumerate and perform operations on disks
536 and storage devices. Any application (including unprivileged ones) can access
537 the udisksd(8) daemon via the name org.freedesktop.UDisks2 on the system
539 ;; The dynamic library are under LGPLv2+, others are GPLv2+.
540 (license (list license:gpl2+ license:lgpl2.0+))))
542 (define-public accountsservice
544 (name "accountsservice")
548 (uri (string-append "https://www.freedesktop.org/software/"
549 name "/" name "-" version ".tar.xz"))
552 "1k6n9079001sgcwlkq0bz6mkn4m8y4dwf6hs1qm85swcld5ajfzd"))))
553 (build-system gnu-build-system)
555 '(#:tests? #f ; XXX: tests require DocBook 4.1.2
557 '("--localstatedir=/var")
559 (modify-phases %standard-phases
561 'configure 'pre-configure
563 ;; Don't try to create /var/lib/AccoutsService.
564 (substitute* "src/Makefile.in"
565 (("\\$\\(MKDIR_P\\).*/lib/AccountsService.*") "true"))
568 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
569 ("gobject-introspection" ,gobject-introspection)
570 ("intltool" ,intltool)
571 ("pkg-config" ,pkg-config)))
573 `(("polkit" ,polkit)))
574 (home-page "http://www.freedesktop.org/wiki/Software/AccountsService/")
575 (synopsis "D-Bus interface for user account query and manipulation")
577 "The AccountService project provides a set of D-Bus interfaces for querying
578 and manipulating user account information and an implementation of these
579 interfaces, based on the useradd, usermod and userdel commands.")
580 (license license:gpl3+)))
582 (define-public libmbim
589 "https://www.freedesktop.org/software/" name "/"
590 name "-" version ".tar.xz"))
593 "0flpgzsqpjgybjkx4smbb4rjxf2w1xgd1v9gmz61rvl89qasznbv"))))
594 (build-system gnu-build-system)
596 `(("glib:bin" ,glib "bin") ; for glib-mkenums
597 ("pkg-config" ,pkg-config)
598 ("python" ,python-wrapper)))
600 `(("glib" ,glib))) ; required by mbim-glib.pc
602 `(("libgudev" ,libgudev)))
603 (synopsis "Library to communicate with MBIM-powered modems")
604 (home-page "https://www.freedesktop.org/wiki/Software/libmbim/")
606 "Libmbim is a GLib-based library for talking to WWAN modems and devices
607 which speak the Mobile Interface Broadband Model (MBIM) protocol.")
609 ;; The libmbim-glib library is released under the LGPLv2+ license.
610 ;; The mbimcli tool is released under the GPLv2+ license.
611 (list license:lgpl2.0+ license:gpl2+))))
613 (define-public libqmi
620 "https://www.freedesktop.org/software/" name "/"
621 name "-" version ".tar.xz"))
624 "0h009bzss4bal47nk21lyp4s3mmlcivhhaaj7r9229qvx85bi0v2"))))
625 (build-system gnu-build-system)
627 `(("glib:bin" ,glib "bin") ; for glib-mkenums
628 ("pkg-config" ,pkg-config)
629 ("python" ,python-wrapper)))
631 `(("glib" ,glib))) ; required by qmi-glib.pc
632 (synopsis "Library to communicate with QMI-powered modems")
633 (home-page "https://www.freedesktop.org/wiki/Software/libqmi/")
635 "Libqmi is a GLib-based library for talking to WWAN modems and devices
636 which speak the Qualcomm MSM Interface (QMI) protocol.")
638 ;; The libqmi-glib library is released under the LGPLv2+ license.
639 ;; The qmicli tool is released under the GPLv2+ license.
640 (list license:lgpl2.0+ license:gpl2+))))
642 (define-public modem-manager
644 (name "modem-manager")
649 "https://www.freedesktop.org/software/ModemManager/"
650 "ModemManager-" version ".tar.xz"))
653 "18hvffwcncwz14kdzk42jbkh362n0kjv3kgx7axbqx572pawvrmb"))))
654 (build-system gnu-build-system)
657 `(,(string-append "--with-udev-base-dir=" %output "/lib/udev"))))
659 `(("glib:bin" ,glib "bin") ; for glib-mkenums
660 ("gobject-introspection" ,gobject-introspection)
661 ("intltool" ,intltool)
662 ("pkg-config" ,pkg-config)
667 `(("glib" ,glib))) ; required by mm-glib.pc
669 `(("libgudev" ,libgudev)
673 (synopsis "Mobile broadband modems manager")
674 (home-page "http://www.freedesktop.org/wiki/Software/ModemManager/")
676 "ModemManager is a DBus-activated daemon which controls mobile
677 broadband (2G/3G/4G) devices and connections. Whether built-in devices, USB
678 dongles, bluetooth-paired telephones, or professional RS232/USB devices with
679 external power supplies, ModemManager is able to prepare and configure the
680 modems and setup connections with them.")
681 (license license:gpl2+)))
683 (define-public telepathy-logger
685 (name "telepathy-logger")
689 (uri (string-append "https://telepathy.freedesktop.org/releases/"
690 name "/" name "-" version ".tar.bz2"))
693 "1bjx85k7jyfi5pvl765fzc7q2iz9va51anrc2djv7caksqsdbjlg"))))
694 (build-system gnu-build-system)
696 '(#:parallel-tests? #f
698 (modify-phases %standard-phases
699 (add-before 'check 'pre-check
701 (setenv "HOME" (getenv "TMPDIR"))
704 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
705 ("gobject-introspection" ,gobject-introspection)
706 ("intltool" ,intltool)
707 ("pkg-config" ,pkg-config)
709 ("xsltproc" ,libxslt)))
711 ;; telepathy-logger-0.2.pc refers to all these.
712 `(("libxml2" ,libxml2)
714 ("telepathy-glib" ,telepathy-glib)))
715 (synopsis "Telepathy logger library")
716 (home-page "http://telepathy.freedesktop.org/")
718 "Telepathy logger is a headless observer client that logs information
719 received by the Telepathy framework. It features pluggable backends to log
720 different sorts of messages in different formats.")
721 (license license:lgpl2.1+)))
723 (define-public telepathy-idle
725 (name "telepathy-idle")
729 (uri (string-append "https://telepathy.freedesktop.org/releases/"
730 name "/" name "-" version ".tar.bz2"))
733 "1argdzbif1vdmwp5vqbgkadq9ancjmgdm2ncp0qfckni715ss4rh"))))
734 (build-system gnu-build-system)
736 `(("pkg-config" ,pkg-config)))
738 `(("xsltproc" ,libxslt)
740 ("python-dbus" ,python2-dbus)))
742 `(("telepathy-glib" ,telepathy-glib)))
743 (home-page "http://telepathy.freedesktop.org/")
744 (synopsis "Telepathy IRC connection manager")
746 "Idle is an IRC connection manager for the Telepathy framework. This
747 package enables usage of IRC channels and private messages in Telepathy instant
748 messaging clients such as Empathy, GNOME Shell or KDE Telepathy.")
749 (license (list license:lgpl2.1 license:lgpl2.1+))))
751 (define-public telepathy-mission-control
753 (name "telepathy-mission-control")
757 (uri (string-append "https://telepathy.freedesktop.org/releases/"
758 name "/" name "-" version ".tar.gz"))
761 "1jz6wwgsfxixha6ys2hbzbk5faqnj9kh2m5qdlgx5anqgandsscp"))))
762 (build-system gnu-build-system)
764 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
765 ("pkg-config" ,pkg-config)))
769 ("libgnome-keyring" ,libgnome-keyring)
771 ("xsltproc" ,libxslt)))
773 `(("telepathy-glib" ,telepathy-glib)))
774 (home-page "https://telepathy.freedesktop.org/wiki/Components/Mission_Control/")
775 (synopsis "Telepathy real-time communication framework management daemon")
777 "Telepathy Mission Control 5 is an account manager and channel dispatcher
778 for the Telepathy framework, allowing user interfaces and other clients to
779 share connections to real-time communication services without conflicting.")
780 (license license:lgpl2.1)))
782 (define-public colord-gtk
788 (uri (string-append "https://www.freedesktop.org/software/colord"
789 "/releases/" name "-" version ".tar.xz"))
792 "0i9y3bb5apj6a0f8cx36l6mjzs7xc0k7nf0magmf58vy2mzhpl18"))))
793 (build-system gnu-build-system)
794 (arguments '(#:tests? #f)) ; require the colord system service
796 `(("gobject-introspection" ,gobject-introspection)
797 ("intltool" ,intltool)
798 ("pkg-config" ,pkg-config)
801 ;; colord-gtk.pc refers to all these.
804 (synopsis "GTK integration for libcolord")
805 (home-page "http://www.freedesktop.org/software/colord/")
807 "This is a GTK+ convenience library for interacting with colord. It is
808 useful for both applications which need colour management and applications that
809 wish to perform colour calibration.")
810 (license license:lgpl2.1+)))
812 (define-public libfprint
818 (uri (string-append "https://people.freedesktop.org/~hadess/"
819 name "-" version ".tar.xz"))
822 "1giwh2z63mn45galsjb59rhyrvgwcy01hvvp4g01iaa2snvzr0r5"))))
823 (build-system gnu-build-system)
825 '(#:configure-flags (list (string-append "--with-udev-rules-dir="
826 (assoc-ref %outputs "out")
827 "/lib/udev/rules.d"))))
829 `(("pkg-config" ,pkg-config)))
836 (home-page "https://www.freedesktop.org/wiki/Software/fprint/libfprint/")
837 (synopsis "Library to access fingerprint readers")
839 "libfprint is a library designed to make it easy for application
840 developers to add support for consumer fingerprint readers to their
842 (license license:lgpl2.1+)))
844 (define-public fprintd
851 "https://people.freedesktop.org/~hadess/fprintd-"
855 "05915i0bv7q62fqrs5diqwr8dz3pwqa1c1ivcgggkjyw0xk4ldp5"))))
856 (build-system gnu-build-system)
858 '(#:phases (modify-phases %standard-phases
859 (add-before 'build 'set-sysconfdir
860 (lambda* (#:key outputs #:allow-other-keys)
861 ;; Work around a bug whereby the 'SYSCONFDIR' macro
862 ;; expands literally to '${prefix}/etc'.
863 (let ((out (assoc-ref outputs "out")))
864 (substitute* "src/main.c"
865 (("SYSCONFDIR, \"fprintd.conf\"")
866 (string-append "\"" out "/etc\", "
867 "\"fprintd.conf\"")))
870 `(("pkg-config" ,pkg-config)
871 ("intltool" ,intltool)))
873 `(("libfprint" ,libfprint)
874 ("dbus-glib" ,dbus-glib)
876 ("linux-pam" ,linux-pam))) ;for pam_fprintd
877 (home-page "https://www.freedesktop.org/wiki/Software/fprint/fprintd/")
878 (synopsis "D-Bus daemon that exposes fingerprint reader functionality")
880 "fprintd is a D-Bus daemon that offers functionality of libfprint, a
881 library to access fingerprint readers, over the D-Bus interprocess
882 communication bus. This daemon layer above libfprint solves problems related
883 to applications simultaneously competing for fingerprint readers.")
884 (license license:gpl2+)))