1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
57 ;;; This file is part of GNU Guix.
59 ;;; GNU Guix is free software; you can redistribute it and/or modify it
60 ;;; under the terms of the GNU General Public License as published by
61 ;;; the Free Software Foundation; either version 3 of the License, or (at
62 ;;; your option) any later version.
64 ;;; GNU Guix is distributed in the hope that it will be useful, but
65 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
66 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67 ;;; GNU General Public License for more details.
69 ;;; You should have received a copy of the GNU General Public License
70 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
72 (define-module (gnu packages gnome)
73 #:use-module (gnu packages)
74 #:use-module (gnu packages admin)
75 #:use-module (gnu packages aspell)
76 #:use-module (gnu packages autotools)
77 #:use-module (gnu packages avahi)
78 #:use-module (gnu packages backup)
79 #:use-module (gnu packages base)
80 #:use-module (gnu packages bash)
81 #:use-module (gnu packages bison)
82 #:use-module (gnu packages boost)
83 #:use-module (gnu packages build-tools)
84 #:use-module (gnu packages calendar)
85 #:use-module (gnu packages cdrom)
86 #:use-module (gnu packages check)
87 #:use-module (gnu packages cmake)
88 #:use-module (gnu packages compression)
89 #:use-module (gnu packages crates-io)
90 #:use-module (gnu packages cups)
91 #:use-module (gnu packages curl)
92 #:use-module (gnu packages cyrus-sasl)
93 #:use-module (gnu packages databases)
94 #:use-module (gnu packages dbm)
95 #:use-module (gnu packages djvu)
96 #:use-module (gnu packages dns)
97 #:use-module (gnu packages docbook)
98 #:use-module (gnu packages documentation)
99 #:use-module (gnu packages enchant)
100 #:use-module (gnu packages flex)
101 #:use-module (gnu packages fonts)
102 #:use-module (gnu packages file-systems)
103 #:use-module (gnu packages fontutils)
104 #:use-module (gnu packages freedesktop)
105 #:use-module (gnu packages game-development)
106 #:use-module (gnu packages gettext)
107 #:use-module (gnu packages ghostscript)
108 #:use-module (gnu packages gl)
109 #:use-module (gnu packages glib)
110 #:use-module (gnu packages gnupg)
111 #:use-module (gnu packages gnuzilla)
112 #:use-module (gnu packages geo)
113 #:use-module (gnu packages gperf)
114 #:use-module (gnu packages graphviz)
115 #:use-module (gnu packages gstreamer)
116 #:use-module (gnu packages gtk)
117 #:use-module (gnu packages guile)
118 #:use-module (gnu packages ibus)
119 #:use-module (gnu packages icu4c)
120 #:use-module (gnu packages image)
121 #:use-module (gnu packages imagemagick)
122 #:use-module (gnu packages inkscape)
123 #:use-module (gnu packages iso-codes)
124 #:use-module (gnu packages kerberos)
125 #:use-module (gnu packages libcanberra)
126 #:use-module (gnu packages libunistring)
127 #:use-module (gnu packages libunwind)
128 #:use-module (gnu packages libusb)
129 #:use-module (gnu packages linux)
130 #:use-module (gnu packages lirc)
131 #:use-module (gnu packages lua)
132 #:use-module (gnu packages mail)
133 #:use-module (gnu packages mp3)
134 #:use-module (gnu packages multiprecision)
135 #:use-module (gnu packages music)
136 #:use-module (gnu packages ncurses)
137 #:use-module (gnu packages nettle)
138 #:use-module (gnu packages networking)
139 #:use-module (gnu packages ninja)
140 #:use-module (gnu packages nss)
141 #:use-module (gnu packages openldap)
142 #:use-module (gnu packages password-utils)
143 #:use-module (gnu packages pcre)
144 #:use-module (gnu packages pdf)
145 #:use-module (gnu packages perl)
146 #:use-module (gnu packages photo)
147 #:use-module (gnu packages pkg-config)
148 #:use-module (gnu packages polkit)
149 #:use-module (gnu packages popt)
150 #:use-module (gnu packages pretty-print)
151 #:use-module (gnu packages pulseaudio)
152 #:use-module (gnu packages python)
153 #:use-module (gnu packages python-crypto)
154 #:use-module (gnu packages python-web)
155 #:use-module (gnu packages python-xyz)
156 #:use-module (gnu packages rdesktop)
157 #:use-module (gnu packages readline)
158 #:use-module (gnu packages ruby)
159 #:use-module (gnu packages rust)
160 #:use-module (gnu packages samba)
161 #:use-module (gnu packages scanner)
162 #:use-module (gnu packages selinux)
163 #:use-module (gnu packages slang)
164 #:use-module (gnu packages speech)
165 #:use-module (gnu packages spice)
166 #:use-module (gnu packages sqlite)
167 #:use-module (gnu packages ssh)
168 #:use-module (gnu packages swig)
169 #:use-module (gnu packages tex)
170 #:use-module (gnu packages time)
171 #:use-module (gnu packages tls)
172 #:use-module (gnu packages valgrind)
173 #:use-module (gnu packages version-control)
174 #:use-module (gnu packages video)
175 #:use-module (gnu packages virtualization)
176 #:use-module (gnu packages vpn)
177 #:use-module (gnu packages web)
178 #:use-module (gnu packages webkit)
179 #:use-module (gnu packages xdisorg)
180 #:use-module (gnu packages xiph)
181 #:use-module (gnu packages xml)
182 #:use-module (gnu packages xorg)
183 #:use-module (gnu artwork)
184 #:use-module (guix build-system cargo)
185 #:use-module (guix build-system cmake)
186 #:use-module (guix build-system glib-or-gtk)
187 #:use-module (guix build-system gnu)
188 #:use-module (guix build-system meson)
189 #:use-module (guix build-system python)
190 #:use-module (guix build-system trivial)
191 #:use-module (guix download)
192 #:use-module (guix git-download)
193 #:use-module ((guix licenses) #:prefix license:)
194 #:use-module (guix packages)
195 #:use-module (guix utils)
196 #:use-module (guix gexp)
197 #:use-module (guix monads)
198 #:use-module (guix store)
199 #:use-module (ice-9 match)
200 #:use-module (srfi srfi-1))
202 (define-public brasero
208 (uri (string-append "mirror://gnome/sources/brasero/"
209 (version-major+minor version) "/"
210 "brasero-" version ".tar.xz"))
213 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
214 (build-system glib-or-gtk-build-system)
216 `(#:configure-flags (list
217 (string-append "--with-girdir="
218 (assoc-ref %outputs "out")
220 (string-append "--with-typelibdir="
221 (assoc-ref %outputs "out")
222 "/lib/girepository-1.0"))
224 (modify-phases %standard-phases
225 (add-before 'configure 'embed-growisofs
226 (lambda* (#:key inputs #:allow-other-keys)
227 (substitute* "plugins/growisofs/burn-growisofs.c"
228 (("\"growisofs") (string-append "\"" (which "growisofs"))))
231 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
233 `(("intltool" ,intltool)
235 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
236 ("gobject-introspection" ,gobject-introspection)
237 ("pkg-config" ,pkg-config)))
239 `(("dvd+rw-tools" ,dvd+rw-tools)
241 ("gnome-doc-utils" ,gnome-doc-utils)
242 ("gstreamer" ,gstreamer)
243 ("gst-plugins-base" ,gst-plugins-base)
245 ("libcanberra" ,libcanberra)
247 ("libnotify" ,libnotify)
250 ("totem-pl-parser" ,totem-pl-parser)))
251 (home-page "https://wiki.gnome.org/Apps/Brasero")
252 (synopsis "CD/DVD burning tool for Gnome")
253 (description "Brasero is an application to burn CD/DVD for the Gnome
254 Desktop. It is designed to be as simple as possible and has some unique
255 features to enable users to create their discs easily and quickly.")
256 (license license:gpl2+)))
258 (define-public notification-daemon
260 (name "notification-daemon")
266 (string-append "mirror://gnome/sources/" name "/"
267 (version-major+minor version) "/"
268 name "-" version ".tar.xz"))
271 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
272 (build-system glib-or-gtk-build-system)
274 `(("intltool" ,intltool)
275 ("pkg-config" ,pkg-config)))
280 (synopsis "Notification Daemon for GNOME Desktop")
281 (description "Notification-Daemon is the server implementation of the
282 freedesktop.org desktop notification specification.")
283 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
284 (license license:gpl2+)))
286 (define-public mm-common
292 (uri (string-append "mirror://gnome/sources/" name "/"
293 (version-major+minor version) "/"
294 name "-" version ".tar.xz"))
297 "1m4w33da9f4rx2d6kdj3ix3kl0gn16ml82v2mdn4hljr3q29nzdr"))))
298 (build-system meson-build-system)
301 (modify-phases %standard-phases
302 (add-after 'unpack 'patch
303 (lambda* (#:key inputs #:allow-other-keys)
304 (substitute* "util/mm-common-prepare.in"
305 (("ln") (string-append (assoc-ref inputs "coreutils")
307 (("cp") (string-append (assoc-ref inputs "coreutils")
309 (("sed") (string-append (assoc-ref inputs "sed")
311 (("cat") (string-append (assoc-ref inputs "coreutils")
315 `(("coreutils" ,coreutils)
316 ("gettext" ,gettext-minimal)
317 ("pkg-config" ,pkg-config)
320 `(("python" ,python)))
321 (synopsis "Module of GNOME C++ bindings")
322 (description "The mm-common module provides the build infrastructure
323 and utilities shared among the GNOME C++ binding libraries. Release
324 archives of mm-common include the Doxygen tag file for the GNU C++
325 Library reference documentation.")
326 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
327 (license license:gpl2+)))
329 (define-public phodav
335 (uri (string-append "mirror://gnome/sources/" name "/"
336 (version-major+minor version) "/"
337 name "-" version ".tar.xz"))
340 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
341 (build-system meson-build-system)
343 `(("gettext" ,gettext-minimal)
344 ("glib:bin" ,glib "bin")
346 ("pkg-config" ,pkg-config)))
349 ("libgudev" ,libgudev)
350 ("libsoup" ,libsoup)))
351 (synopsis "WebDav server implementation using libsoup")
352 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
353 but it is generic enough to be reused in other projects,
354 in particular in the GNOME desktop.")
355 (home-page "https://wiki.gnome.org/phodav")
356 (license license:lgpl2.1+)))
358 (define-public gnome-color-manager
360 (name "gnome-color-manager")
364 (uri (string-append "mirror://gnome/sources/" name "/"
365 (version-major+minor version) "/"
366 name "-" version ".tar.xz"))
369 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
370 (build-system meson-build-system)
374 (modify-phases %standard-phases
378 ;; Tests require a running X server.
380 (setenv "DISPLAY" ":1")
383 `(("desktop-file-utils" ,desktop-file-utils)
384 ("gettext" ,gettext-minimal)
385 ("glib:bin" ,glib "bin")
386 ("gtk+:bin" ,gtk+ "bin")
388 ("pkg-config" ,pkg-config)
389 ("xorg-server" ,xorg-server-for-tests)))
391 `(("adwaita-icon-theme" ,adwaita-icon-theme)
392 ("appstream-glib" ,appstream-glib)
393 ("colord-gtk" ,colord-gtk)
395 ("gnome-desktop" ,gnome-desktop)
396 ("libcanberra" ,libcanberra)
399 ("libxrandr" ,libxrandr)
401 ("libxxf86vm" ,libxxf86vm)
403 ("xorgproto" ,xorgproto)))
404 (synopsis "Color profile manager for the GNOME desktop")
405 (description "GNOME Color Manager is a session framework that makes
406 it easy to manage, install and generate color profiles
407 in the GNOME desktop.")
408 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
409 (license license:gpl2+)))
411 (define-public gnome-online-miners
413 (name "gnome-online-miners")
417 (uri (string-append "mirror://gnome/sources/" name "/"
418 (version-major+minor version) "/"
419 name "-" version ".tar.xz"))
422 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
423 (build-system glib-or-gtk-build-system)
425 `(("gettext" ,gettext-minimal)
426 ("glib:bin" ,glib "bin")
427 ("gobject-introspection" ,gobject-introspection)
428 ("gtk+:bin" ,gtk+ "bin")
429 ("pkg-config" ,pkg-config)))
431 `(("gnome-online-accounts" ,gnome-online-accounts)
432 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
434 ("libgdata" ,libgdata)
435 ("libgfbgraph" ,gfbgraph)
436 ("libzapojit" ,libzapojit)
438 ("tracker" ,tracker)))
439 (synopsis "Web Crawlers for GNOME")
440 (description "GNOME Online Miners provides a set of crawlers that
441 go through your online content and index them locally in Tracker.
442 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
443 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
444 (license license:gpl2+)))
452 (uri (string-append "mirror://gnome/sources/" name "/"
453 (version-major+minor version) "/"
454 name "-" version ".tar.xz"))
457 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
458 (build-system meson-build-system)
460 `(("gettext" ,gettext-minimal)
461 ("glib:bin" ,glib "bin")
462 ("gobject-introspection" ,gobject-introspection)
464 ("pkg-config" ,pkg-config)
468 ("libsoup" ,libsoup)))
469 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
470 Protocol} for GNOME")
471 (description "This package provides a library to handle resource discovery
472 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
473 a debugging tool, @command{gssdp-device-sniffer}.")
474 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
475 (license license:lgpl2.0+)))
483 (uri (string-append "mirror://gnome/sources/" name "/"
484 (version-major+minor version) "/"
485 name "-" version ".tar.xz"))
488 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
489 (build-system meson-build-system)
491 `(("gettext" ,gettext-minimal)
492 ("glib:bin" ,glib "bin")
493 ("gobject-introspection" ,gobject-introspection)
495 ("pkg-config" ,pkg-config)
500 ("libsoup" ,libsoup)))
501 (synopsis "PnP API for GNOME")
502 (description "This package provides GUPnP, an object-oriented framework
503 for creating UPnP devices and control points, written in C using
504 @code{GObject} and @code{libsoup}.")
505 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
506 (license license:lgpl2.0+)))
508 (define-public gupnp-dlna
514 (uri (string-append "mirror://gnome/sources/" name "/"
515 (version-major+minor version) "/"
516 name "-" version ".tar.xz"))
519 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
520 (build-system gnu-build-system)
522 `(("gettext" ,gettext-minimal)
523 ("glib:bin" ,glib "bin")
524 ("gobject-introspection" ,gobject-introspection)
527 ("pkg-config" ,pkg-config)
530 `(("gstreamer" ,gstreamer)
533 `(("gst-plugins-base" ,gst-plugins-base)
534 ("gst-plugins-good" ,gst-plugins-good)))
535 (synopsis "GUPnP DLNA for GNOME")
536 (description "This package provides a small utility library to
537 support DLNA-related tasks such as media profile guessing, transcoding to a
538 given profile, etc. DLNA is a subset of UPnP A/V.")
539 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
540 (license license:lgpl2.0+)))
542 (define-public gupnp-av
548 (uri (string-append "mirror://gnome/sources/" name "/"
549 (version-major+minor version) "/"
550 name "-" version ".tar.xz"))
553 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
554 (build-system gnu-build-system)
556 `(("gettext" ,gettext-minimal)
557 ("glib:bin" ,glib "bin")
558 ("gobject-introspection" ,gobject-introspection)
561 ("pkg-config" ,pkg-config)))
565 (synopsis "GUPnP A/V for GNOME")
566 (description "This package provides a small library for handling
567 and implementation of UPnP A/V profiles.")
568 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
569 (license license:lgpl2.0+)))
571 (define-public libmediaart
577 (uri (string-append "mirror://gnome/sources/" name "/"
578 (version-major+minor version) "/"
579 name "-" version ".tar.xz"))
582 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
583 (build-system gnu-build-system)
585 `(("glib:bin" ,glib "bin")
586 ("pkg-config" ,pkg-config)))
588 `(("gdk-pixbuf" ,gdk-pixbuf)
589 ("gettext" ,gettext-minimal)
590 ("gobject-introspection" ,gobject-introspection)
591 ("gtk+:doc", gtk+ "doc")
593 (synopsis "Media art library for the GNOME desktop")
595 "The libmediaart library is the foundation for media art caching,
596 extraction, and lookup for applications on the desktop.")
597 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
598 (license license:lgpl2.1+)))
600 (define-public gnome-initial-setup
602 (name "gnome-initial-setup")
606 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
607 (version-major+minor version)
608 "/gnome-initial-setup-" version ".tar.xz"))
611 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
612 (build-system meson-build-system)
614 '(#:configure-flags '(;; Enable camera support for user selfie.
617 #:phases (modify-phases %standard-phases
618 (add-after 'unpack 'set-gkbd-file-name
619 (lambda* (#:key inputs #:allow-other-keys)
620 ;; Allow the "Preview" button in the keyboard layout
621 ;; selection dialog to display the layout.
622 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
623 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
624 (("\"gkbd-keyboard-display")
625 (string-append "\"" libgnomekbd
626 "/bin/gkbd-keyboard-display")))
629 `(("gettext" ,gettext-minimal)
630 ("glib:bin" ,glib "bin")
631 ("gobject-introspection" ,gobject-introspection)
632 ("gtk+:bin" ,gtk+ "bin")
633 ("pkg-config" ,pkg-config)))
635 `(("accountsservice" ,accountsservice)
636 ;("adwaita-icon-theme" ,adwaita-icon-theme)
639 ("gnome-desktop" ,gnome-desktop)
640 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
641 ("gnome-online-accounts" ,gnome-online-accounts)
642 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
643 ("gstreamer" ,gstreamer)
645 ("json-glib" ,json-glib)
647 ("libgweather" ,libgweather)
648 ("libsecret" ,libsecret)
649 ("network-manager" ,network-manager)
650 ("network-manager-applet" ,network-manager-applet)
651 ("packagekit" ,packagekit)
653 ("pwquality" ,libpwquality)
656 ("webkitgtk" ,webkitgtk)
657 ("libgnomekbd" ,libgnomekbd)))
658 (synopsis "Initial setup wizard for GNOME desktop")
659 (description "This package provides a set-up wizard when a
660 user logs into GNOME for the first time. It typically provides a
661 tour of all gnome components and allows the user to set them up.")
662 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
663 (license license:gpl2)))
665 (define-public gnome-user-share
667 (name "gnome-user-share")
671 (uri (string-append "mirror://gnome/sources/" name "/"
672 (version-major+minor version) "/"
673 name "-" version ".tar.xz"))
676 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
677 (build-system meson-build-system)
682 ;; Enable nautilus extension for file sharing.
683 "-Dnautilus_extension=true")))
685 `(("gettext" ,gettext-minimal)
686 ("glib:bin" ,glib "bin")
687 ("gobject-introspection" ,gobject-introspection)
688 ("gtk+:bin" ,gtk+ "bin")
689 ("pkg-config" ,pkg-config)
690 ("yelp-tools" ,yelp-tools)))
693 ("gnome-bluetooth" ,gnome-bluetooth)
695 ("libcanberra" ,libcanberra)
696 ("libnotify" ,libnotify)
697 ("nautilus" ,nautilus))) ; For nautilus extension.
698 (synopsis "File sharing for GNOME desktop")
699 (description "GNOME User Share is a small package that binds together
700 various free software projects to bring easy to use user-level file
701 sharing to the masses.")
702 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
703 (license license:gpl2+)))
711 (uri (string-append "mirror://gnome/sources/" name "/"
712 (version-major+minor version) "/"
713 name "-" version ".tar.xz"))
716 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
717 (build-system meson-build-system)
721 (modify-phases %standard-phases
722 (add-after 'glib-or-gtk-wrap 'wrap-typelib
723 (lambda* (#:key outputs #:allow-other-keys)
724 (let ((prog (string-append (assoc-ref outputs "out")
726 ;; Put existing typelibs before sushi's deps, so as to correctly
729 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
732 `(("glib:bin" ,glib "bin")
733 ("gettext" ,gettext-minimal)
734 ("gobject-introspection" ,gobject-introspection)
735 ("pkg-config" ,pkg-config)))
737 `(("clutter" ,clutter)
738 ("clutter-gst" ,clutter-gst)
739 ("clutter-gtk" ,clutter-gtk)
740 ("evince" ,evince) ; For file previewing.
741 ("freetype" ,freetype)
742 ("gdk-pixbuf" ,gdk-pixbuf)
744 ("gst-plugins-base" ,gst-plugins-base)
745 ("gstreamer" ,gstreamer)
746 ("gtksourceview" ,gtksourceview-3)
747 ("harfbuzz" ,harfbuzz)
748 ("libepoxy" ,libepoxy)
749 ("libmusicbrainz" ,libmusicbrainz)
752 ("webkitgtk" ,webkitgtk)))
753 (synopsis "File previewer for the GNOME desktop")
754 (description "Sushi is a DBus-activated service that allows applications to
755 preview files on the GNOME desktop.")
756 (home-page "https://gitlab.gnome.org/GNOME/sushi")
757 (license license:gpl2+)))
765 (uri (string-append "mirror://gnome/sources/" name "/"
766 (version-major+minor version) "/"
767 name "-" version ".tar.xz"))
770 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
771 (build-system gnu-build-system)
773 `(("gettext" ,gettext-minimal)
774 ("gobject-introspection" ,gobject-introspection)
776 ("pkg-config" ,pkg-config)
779 `(("gdk-pixbuf" ,gdk-pixbuf)
781 ("gstreamer" ,gstreamer)
782 ("gst-plugins-base" ,gst-plugins-base)
785 ("gupnp-av" ,gupnp-av)
786 ("gupnp-dlna" ,gupnp-dlna)
788 ("libmediaart" ,libmediaart)
791 ("libunistring" ,libunistring)
792 ("tracker" ,tracker)))
793 (synopsis "Share audio, video, and pictures with other devices")
795 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
796 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
797 pictures, and to control a media player on your home network.
799 Rygel achieves interoperability with other devices by trying to conform to the
800 strict requirements of DLNA and by converting media on-the-fly to formats that
801 client devices can handle.")
802 (home-page "https://wiki.gnome.org/Projects/Rygel")
804 ;; For logo (data/icons/*).
809 (define-public libnma
815 (uri (string-append "mirror://gnome/sources/" name "/"
816 (version-major+minor version) "/"
817 name "-" version ".tar.xz"))
820 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
821 (build-system meson-build-system)
824 (modify-phases %standard-phases
825 (add-after 'unpack 'patch-docbook-xml
826 (lambda* (#:key inputs #:allow-other-keys)
827 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
828 "/xml/dtd/docbook")))
829 (substitute* "libnma-docs.xml"
830 (("http://.*/docbookx\\.dtd")
831 (string-append xmldoc "/docbookx.dtd")))
834 `(("docbook-xml" ,docbook-xml-4.3)
835 ("gettext" ,gettext-minimal)
836 ("glib:bin" ,glib "bin")
838 ("gobject-introspection" ,gobject-introspection)
839 ("pkg-config" ,pkg-config)
844 ("iso-codes" ,iso-codes)
845 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
846 ("network-manager" ,network-manager)))
847 (synopsis "Network Manager's applet library")
848 (description "Libnma is an applet library for Network Manager. It was
849 initially part of network-manager-applet and has now become a separate
851 (home-page "https://gitlab.gnome.org/GNOME/libnma")
852 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
854 (license license:gpl2+)))
856 (define-public gnome-menus
862 (uri (string-append "mirror://gnome/sources/gnome-menus/"
863 (version-major+minor version) "/"
864 name "-" version ".tar.xz"))
867 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
868 (build-system gnu-build-system)
870 `(("gettext" ,gettext-minimal)
872 ("pkg-config" ,pkg-config)))
873 (synopsis "Menu support for GNOME desktop")
874 (description "GNOME Menus contains the libgnome-menu library, the layout
875 configuration files for the GNOME menu, as well as a simple menu editor.")
876 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
877 (license license:lgpl2.0+)))
879 (define-public deja-dup
885 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
888 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
890 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
891 (build-system glib-or-gtk-build-system)
893 `(#:modules ((guix build gnu-build-system)
894 ((guix build cmake-build-system) #:prefix cmake:)
895 (guix build glib-or-gtk-build-system)
897 #:imported-modules (,@%glib-or-gtk-build-system-modules
898 (guix build cmake-build-system))
900 #:configure-flags (list (string-append
901 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
903 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
905 (modify-phases %standard-phases
906 (add-after 'unpack 'patch-lockfile-deletion
908 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
912 (assoc-ref cmake:%standard-phases 'configure))
913 (delete 'check) ;; Fails due to issues with DBus
914 (add-after 'install 'wrap-deja-dup
915 (lambda* (#:key inputs outputs #:allow-other-keys)
916 (let ((python (assoc-ref inputs "python"))
917 (python-path (getenv "PYTHONPATH"))
918 (duplicity (assoc-ref inputs "duplicity"))
919 (out (assoc-ref outputs "out")))
922 (wrap-program program
923 `("PATH" ":" prefix (,(string-append python "/bin")
924 ,(string-append duplicity "/bin"))))
925 (wrap-program program
926 `("PYTHONPATH" ":" prefix (,python-path))))
928 (find-files (string-append out "/bin")))
931 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
932 ("gobject-introspection" ,gobject-introspection)
933 ("duplicity" ,duplicity)
935 ("python-pygobject" ,python2-pygobject)
937 ("libnotify" ,libnotify)
939 ("libsecret" ,libsecret)
940 ("packagekit" ,packagekit)))
942 `(("pkg-config" ,pkg-config)
944 ("gettext" ,gettext-minimal)
946 ("intltool" ,intltool)
947 ("cmake" ,cmake-minimal)))
948 (home-page "https://launchpad.net/deja-dup")
949 (synopsis "Simple backup tool, for regular encrypted backups")
951 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
952 uses duplicity as the backend, which supports incremental backups and storage
953 either on a local, or remote machine via a number of methods.")
954 (license license:gpl3+)))
956 (define-public gnome-user-docs
958 (name "gnome-user-docs")
963 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
964 (version-major+minor version)
965 "/gnome-user-docs-" version ".tar.xz"))
967 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
968 (build-system gnu-build-system)
970 `(("gettext" ,gettext-minimal)
972 ("pkg-config" ,pkg-config)
973 ("xmllint" ,libxml2)))
974 (synopsis "User documentation for the GNOME desktop")
976 "The GNOME User Documentation explains how to use the GNOME desktop and its
977 components. It covers usage and setup of the core GNOME programs by end-users
978 and system administrators.")
979 (home-page "https://live.gnome.org/DocumentationProject")
980 (license license:cc-by3.0)))
982 (define-public gnome-getting-started-docs
984 (name "gnome-getting-started-docs")
989 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
990 (version-major+minor version)
991 "/gnome-getting-started-docs-" version ".tar.xz"))
993 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
994 (build-system gnu-build-system)
996 `(("gettext" ,gettext-minimal)
998 ("pkg-config" ,pkg-config)
999 ("xmllint" ,libxml2)))
1000 (synopsis "Help to get new users started with the GNOME desktop")
1002 "The GNOME Getting Started Documentation contains GNOME's intuitive
1003 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1005 It is normally used together with @command{gnome-initial-setup}, but is also
1006 useful as a tutorial and users' guide for new or less experienced users.")
1007 (home-page "https://live.gnome.org/DocumentationProject")
1008 (license license:cc-by-sa3.0)))
1011 ;; This version from GNOME's repository includes fixes for compiling with
1012 ;; recent versions of the build tools. The latest activity on the
1013 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1015 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
1018 (version (git-version "0.97.3" "1" commit))
1022 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1024 (file-name (git-file-name name version))
1027 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
1028 (build-system gnu-build-system)
1030 `(("freetype" ,freetype)
1031 ("gdk-pixbuf" ,gdk-pixbuf)
1033 ("libart-lgpl" ,libart-lgpl)
1034 ("libxml2" ,libxml2)
1037 `(("autoconf" ,autoconf)
1038 ("automake" ,automake)
1039 ("intltool" ,intltool)
1040 ("glib" ,glib "bin")
1041 ("libtool" ,libtool)
1043 ("pkg-config" ,pkg-config)
1044 ("python-wrapper" ,python-wrapper)))
1045 (home-page "https://wiki.gnome.org/Apps/Dia")
1046 (synopsis "Diagram creation for GNOME")
1047 (description "Dia can be used to draw different types of diagrams, and
1048 includes support for UML static structure diagrams (class diagrams), entity
1049 relationship modeling, and network diagrams. The program supports various file
1050 formats like PNG, SVG, PDF and EPS.")
1051 (license license:gpl2+))))
1053 ;; This is the unstable release, but it is required for the current stable
1054 ;; release of gvfs (1.38.1).
1055 (define-public libgdata
1061 (uri (string-append "mirror://gnome/sources/" name "/"
1062 (version-major+minor version) "/"
1063 name "-" version ".tar.xz"))
1066 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1067 (build-system gnu-build-system)
1070 (modify-phases %standard-phases
1071 (add-before 'check 'disable-failing-tests
1073 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1074 ;; They have been removed in libgdata 0.17.6, so just do the same.
1075 (substitute* "gdata/tests/Makefile"
1076 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1079 `(("glib:bin" ,glib "bin")
1080 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1081 ("intltool" ,intltool)
1082 ("pkg-config" ,pkg-config)
1083 ("uhttpmock" ,uhttpmock)))
1085 `(("cyrus-sasl" ,cyrus-sasl)
1086 ("glib-networking" ,glib-networking)))
1090 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1091 ("json-glib" ,json-glib)
1092 ("liboauth" ,liboauth)
1093 ("libsoup" ,libsoup)
1094 ("libxml2" ,libxml2)))
1095 (home-page "https://wiki.gnome.org/Projects/libgdata")
1096 (synopsis "Library for accessing online service APIs")
1098 "libgdata is a GLib-based library for accessing online service APIs using
1099 the GData protocol — most notably, Google's services. It provides APIs to
1100 access the common Google services, and has full asynchronous support.")
1101 (license license:lgpl2.1+)))
1103 (define-public libgxps
1109 (uri (string-append "mirror://gnome/sources/" name "/"
1110 (version-major+minor version) "/"
1111 name "-" version ".tar.xz"))
1114 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1115 (build-system meson-build-system)
1117 `(("gobject-introspection" ,gobject-introspection)
1118 ("pkg-config" ,pkg-config)))
1121 ("libjpeg" ,libjpeg-turbo)
1123 ("libtiff" ,libtiff)))
1125 ;; In Requires of libgxps.pc.
1128 ("libarchive" ,libarchive)))
1129 (home-page "https://wiki.gnome.org/Projects/libgxps")
1130 (synopsis "GObject-based library for handling and rendering XPS documents")
1132 "libgxps is a GObject-based library for handling and rendering XPS
1133 documents. This package also contains binaries that can convert XPS documents
1135 (license license:lgpl2.1+)))
1137 (define-public gnome-characters
1139 (name "gnome-characters")
1144 (uri (string-append "mirror://gnome/sources/"
1145 "gnome-characters/" (version-major+minor version)
1146 "/gnome-characters-" version ".tar.xz"))
1149 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1150 (build-system meson-build-system)
1153 #:phases (modify-phases %standard-phases
1154 (add-after 'install 'wrap
1155 (lambda* (#:key outputs #:allow-other-keys)
1156 ;; GNOME Characters needs Typelib files from GTK and
1158 (wrap-program (string-append (assoc-ref outputs "out")
1159 "/bin/gnome-characters")
1160 `("GI_TYPELIB_PATH" ":" prefix
1161 (,(getenv "GI_TYPELIB_PATH"))))
1164 `(("gettext" ,gettext-minimal)
1165 ("glib:bin" ,glib "bin")
1166 ("gtk+:bin" ,gtk+ "bin")
1167 ("pkg-config" ,pkg-config)
1168 ("python" ,python-minimal)))
1172 ("libunistring" ,libunistring)
1173 ("gnome-desktop" ,gnome-desktop)))
1174 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1175 (synopsis "Find and insert unusual characters")
1176 (description "Characters is a simple utility application to find
1177 and insert unusual characters. It allows you to quickly find the
1178 character you are looking for by searching for keywords.")
1179 (license license:bsd-3)))
1181 (define-public gnome-common
1183 (name "gnome-common")
1188 (uri (string-append "mirror://gnome/sources/" name "/"
1189 (version-major+minor version) "/"
1190 name "-" version ".tar.xz"))
1193 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1194 (build-system gnu-build-system)
1195 (home-page "https://www.gnome.org/")
1196 (synopsis "Bootstrap GNOME modules built from Git")
1197 (description "gnome-common contains various files needed to bootstrap
1198 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1199 can be used to configure a source directory checked out from Git and some
1200 commonly used macros.")
1201 (license license:gpl2+)))
1203 (define-public gnome-contacts
1205 (name "gnome-contacts")
1209 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1210 (version-major+minor version) "/"
1211 name "-" version ".tar.xz"))
1214 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1215 (build-system meson-build-system)
1217 `(#:configure-flags '("-Dcheese=false")
1219 (modify-phases %standard-phases
1220 (add-after 'unpack 'generate-vapis
1221 (lambda* (#:key inputs #:allow-other-keys)
1222 ;; To generate goa's missing .vapi file
1224 (assoc-ref inputs "gnome-online-accounts:lib"))
1226 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1228 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1230 (add-after 'unpack 'skip-gtk-update-icon-cache
1231 ;; Don't create 'icon-theme.cache'.
1233 (substitute* "build-aux/meson_post_install.py"
1234 (("gtk-update-icon-cache") "true"))
1237 `(("glib:bin" ,glib "bin")
1238 ("pkg-config" ,pkg-config)))
1240 `(("docbook-xml" ,docbook-xml)
1241 ("dockbook-xsl" ,docbook-xsl)
1242 ("evolution-data-server" ,evolution-data-server)
1243 ("gettext" ,gettext-minimal)
1244 ("gnome-desktop" ,gnome-desktop)
1245 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1246 ("gobject-introspection" ,gobject-introspection)
1247 ("gst-plugins-base" ,gst-plugins-base)
1250 ("libxslt" ,libxslt)
1251 ("telepathy-glib" ,telepathy-glib)
1255 ("telepathy-mission-control" ,telepathy-mission-control)))
1256 (synopsis "GNOME's integrated address book")
1258 "GNOME Contacts organizes your contact information from online and
1259 offline sources, providing a centralized place for managing your contacts.")
1260 (home-page "https://wiki.gnome.org/Apps/Contacts")
1261 (license license:gpl2+)))
1263 (define-public gnome-desktop
1265 (name "gnome-desktop")
1270 (uri (string-append "mirror://gnome/sources/" name "/"
1271 (version-major+minor version) "/"
1272 name "-" version ".tar.xz"))
1275 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1276 (build-system meson-build-system)
1279 (modify-phases %standard-phases
1280 (add-before 'configure 'patch-path
1281 (lambda* (#:key inputs #:allow-other-keys)
1282 (let ((libc (assoc-ref inputs "libc")))
1283 (substitute* "libgnome-desktop/gnome-languages.c"
1285 (string-append "\"" libc "/bin/locale\"")))
1287 (add-before 'check 'pre-check
1288 (lambda* (#:key inputs #:allow-other-keys)
1289 ;; Tests require a running X server and locales.
1290 (system "Xvfb :1 &")
1291 (setenv "DISPLAY" ":1")
1292 (setenv "GUIX_LOCPATH"
1293 (string-append (assoc-ref inputs "glibc-locales")
1297 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1298 ("glibc-locales" ,glibc-locales) ; for tests
1299 ("gobject-introspection" ,gobject-introspection)
1300 ("itstool" ,itstool)
1301 ("intltool" ,intltool)
1302 ("pkg-config" ,pkg-config)
1303 ("xmllint" ,libxml2)
1304 ("xorg-server" ,xorg-server-for-tests)))
1306 ;; Required by gnome-desktop-3.0.pc.
1307 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1309 ("iso-codes" ,iso-codes)
1310 ("libseccomp" ,libseccomp)
1312 ("xkeyboard-config" ,xkeyboard-config)))
1314 `(("gdk-pixbuf" ,gdk-pixbuf)
1316 ("libxext" ,libxext)
1317 ("libxkbfile" ,libxkbfile)
1318 ("libxrandr" ,libxrandr)))
1319 (home-page "https://www.gnome.org/")
1321 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1323 "The libgnome-desktop library provides API shared by several applications
1324 on the desktop, but that cannot live in the platform for various reasons.
1325 There is no API or ABI guarantee, although we are doing our best to provide
1326 stability. Documentation for the API is available with gtk-doc.
1328 The gnome-about program helps find which version of GNOME is installed.")
1329 ; Some bits under the LGPL.
1330 (license license:gpl2+)))
1332 (define-public gnome-doc-utils
1334 (name "gnome-doc-utils")
1339 (uri (string-append "mirror://gnome/sources/" name "/"
1340 (version-major+minor version) "/"
1341 name "-" version ".tar.xz"))
1344 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1345 (build-system gnu-build-system)
1347 `(("intltool" ,intltool)
1348 ("docbook-xml" ,docbook-xml-4.4)
1349 ("python2-libxml2" ,python2-libxml2)
1350 ("libxml2" ,libxml2)
1351 ("libxslt" ,libxslt)
1352 ("pkg-config" ,pkg-config)
1353 ("python-2" ,python-2)))
1354 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1356 "Documentation utilities for the Gnome project")
1358 "Gnome-doc-utils is a collection of documentation utilities for the
1359 Gnome project. It includes xml2po tool which makes it easier to translate
1360 and keep up to date translations of documentation.")
1361 (license license:gpl2+))) ; xslt under lgpl
1363 (define-public gnome-disk-utility
1365 (name "gnome-disk-utility")
1369 (uri (string-append "mirror://gnome/sources/" name "/"
1370 (version-major+minor version) "/"
1371 name "-" version ".tar.xz"))
1374 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1375 (build-system meson-build-system)
1377 '(#:configure-flags '("-Dlogind=libelogind")
1379 (modify-phases %standard-phases
1380 (add-after 'unpack 'skip-gtk-update-icon-cache
1381 ;; Don't create 'icon-theme.cache'.
1383 (substitute* "meson_post_install.py"
1384 (("gtk-update-icon-cache") "true"))
1387 `(("glib:bin" ,glib "bin")
1388 ("intltool" ,intltool)
1389 ("pkg-config" ,pkg-config)
1390 ("docbook-xml" ,docbook-xml)
1391 ("docbook-xsl" ,docbook-xsl)
1392 ("libxml2" ,libxml2)
1393 ("libxslt" ,libxslt)))
1395 `(("elogind" ,elogind)
1397 ("appstream-glib" ,appstream-glib)
1398 ("gnome-settings-daemon" ,gnome-settings-daemon)
1400 ("libcanberra" ,libcanberra)
1401 ("libdvdread" ,libdvdread)
1402 ("libnotify" ,libnotify)
1403 ("libpwquality" ,libpwquality)
1404 ("libsecret" ,libsecret)
1405 ("udisks" ,udisks)))
1406 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1407 (synopsis "Disk management utility for GNOME")
1408 (description "Disk management utility for GNOME.")
1409 (license license:gpl2+)))
1411 (define-public gnome-font-viewer
1413 (name "gnome-font-viewer")
1417 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1418 (version-major+minor version)
1419 "/gnome-font-viewer-" version ".tar.xz"))
1422 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1423 (build-system meson-build-system)
1426 (modify-phases %standard-phases
1427 (add-after 'unpack 'patch-post-install-script
1429 (substitute* "meson-postinstall.sh"
1430 (("update-desktop-database") (which "true")))
1433 `(("gettext" ,gettext-minimal)
1434 ("glib:bin" ,glib "bin")
1435 ("pkg-config" ,pkg-config)))
1438 ("gnome-desktop" ,gnome-desktop)
1440 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1441 (synopsis "GNOME Fonts")
1442 (description "Application to show you the fonts installed on your computer
1443 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1444 the font would look under various sizes.")
1445 (license license:gpl2+)))
1453 (uri (string-append "mirror://gnome/sources/" name "/"
1454 (version-major+minor version) "/"
1455 name "-" version ".tar.xz"))
1458 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1459 (build-system gnu-build-system)
1462 (modify-phases %standard-phases
1463 ;; These fail because /var/lib/dbus/machine-id is not present in the
1464 ;; build environment.
1465 (add-after 'unpack 'disable-failing-tests
1467 (substitute* "Makefile.in"
1468 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1471 (add-before 'check 'pre-check
1473 ;; Some tests expect to write to $HOME.
1474 (setenv "HOME" "/tmp")
1478 ("gnupg" ,gnupg) ;called as a child process during tests
1479 ("libgcrypt" ,libgcrypt)))
1481 `(("python" ,python-wrapper) ;for tests
1482 ("pkg-config" ,pkg-config)
1483 ("gettext" ,gettext-minimal)
1484 ("glib" ,glib "bin")
1485 ("gobject-introspection" ,gobject-introspection)
1486 ("libxml2" ,libxml2)
1488 ("xsltproc" ,libxslt)))
1489 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1491 `(("p11-kit" ,p11-kit)
1494 (home-page "https://www.gnome.org")
1495 (synopsis "Libraries for displaying certificates and accessing key stores")
1497 "The GCR package contains libraries used for displaying certificates and
1498 accessing key stores. It also provides the viewer for crypto files on the
1500 (license license:lgpl2.1+)))
1502 (define-public libgnome-keyring
1504 (name "libgnome-keyring")
1508 (uri (string-append "mirror://gnome/sources/" name "/"
1509 (version-major+minor version) "/"
1510 name "-" version ".tar.xz"))
1513 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1514 (build-system gnu-build-system)
1516 `(("libgcrypt" ,libgcrypt)
1519 `(("pkg-config" ,pkg-config)
1520 ("glib" ,glib "bin")
1521 ("intltool" ,intltool)))
1523 ;; Referred to in .h files and .pc.
1525 (home-page "https://www.gnome.org")
1526 (synopsis "Accessing passwords from the GNOME keyring")
1528 "Client library to access passwords from the GNOME keyring.")
1530 ;; Though a couple of files are LGPLv2.1+.
1531 (license license:lgpl2.0+)))
1533 (define-public gnome-keyring
1535 (name "gnome-keyring")
1539 (uri (string-append "mirror://gnome/sources/" name "/"
1540 (version-major+minor version) "/"
1541 name "-" version ".tar.xz"))
1544 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1545 (build-system gnu-build-system)
1547 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1551 (string-append "--with-pkcs11-config="
1552 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1553 (string-append "--with-pkcs11-modules="
1554 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1556 (modify-phases %standard-phases
1557 (add-after 'unpack 'fix-/bin/sh-reference
1559 (substitute* "po/Makefile.in.in"
1560 (("/bin/sh") (which "sh")))
1562 (add-after 'unpack 'fix-docbook
1563 (lambda* (#:key inputs #:allow-other-keys)
1564 (substitute* "docs/Makefile.am"
1565 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1566 (string-append (assoc-ref inputs "docbook-xsl")
1567 "/xml/xsl/docbook-xsl-"
1568 ,(package-version docbook-xsl)
1569 "/manpages/docbook.xsl")))
1570 (setenv "XML_CATALOG_FILES"
1571 (string-append (assoc-ref inputs "docbook-xml")
1572 "/xml/dtd/docbook/catalog.xml"))
1573 ;; Rerun the whole thing to avoid version mismatch ("This is
1574 ;; Automake 1.15.1, but the definition used by this
1575 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1576 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1579 (invoke "automake" "-ac"))))))
1581 `(("libgcrypt" ,libgcrypt)
1582 ("linux-pam" ,linux-pam)
1583 ("openssh" ,openssh)
1587 `(("pkg-config" ,pkg-config)
1588 ("glib" ,glib "bin")
1589 ("glib" ,glib) ; for m4 macros
1590 ("python" ,python-2) ;for tests
1591 ("intltool" ,intltool)
1592 ("autoconf" ,autoconf)
1593 ("automake" ,automake)
1594 ("libxslt" ,libxslt) ;for documentation
1595 ("docbook-xml" ,docbook-xml-4.2)
1596 ("docbook-xsl" ,docbook-xsl)))
1597 (home-page "https://www.gnome.org")
1598 (synopsis "Daemon to store passwords and encryption keys")
1600 "gnome-keyring is a program that keeps passwords and other secrets for
1601 users. It is run as a daemon in the session, similar to ssh-agent, and other
1602 applications locate it via an environment variable or D-Bus.
1604 The program can manage several keyrings, each with its own master password,
1605 and there is also a session keyring which is never stored to disk, but
1606 forgotten when the session ends.")
1607 (license license:lgpl2.1+)))
1609 (define-public evince
1615 (uri (string-append "mirror://gnome/sources/evince/"
1616 (version-major+minor version) "/"
1617 "evince-" version ".tar.xz"))
1620 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1621 (build-system glib-or-gtk-build-system)
1623 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1625 (modify-phases %standard-phases
1626 (add-before 'install 'skip-gtk-update-icon-cache
1627 ;; Don't create 'icon-theme.cache'.
1629 (substitute* "data/Makefile"
1630 (("gtk-update-icon-cache") "true"))
1633 `(("libarchive" ,libarchive)
1634 ("libgxps" ,libgxps)
1635 ("libspectre" ,libspectre)
1636 ("djvulibre" ,djvulibre)
1637 ("ghostscript" ,ghostscript)
1638 ("poppler" ,poppler)
1639 ("libtiff" ,libtiff)
1641 ;; Build libkpathsea as a shared library for DVI support.
1642 ;; ("libkpathsea" ,texlive-bin)
1643 ("gnome-desktop" ,gnome-desktop)
1644 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1646 ("libgnome-keyring" ,libgnome-keyring)
1647 ("adwaita-icon-theme" ,adwaita-icon-theme)
1648 ("gdk-pixbuf" ,gdk-pixbuf)
1653 ("libxml2" ,libxml2)
1656 ("shared-mime-info" ,shared-mime-info)
1658 ("libcanberra" ,libcanberra)
1659 ("libsecret" ,libsecret)
1662 ("dogtail" ,python2-dogtail)))
1664 `(("itstool" ,itstool)
1665 ("intltool" ,intltool)
1666 ("glib" ,glib "bin")
1667 ("gobject-introspection" ,gobject-introspection)
1668 ("pkg-config" ,pkg-config)
1669 ("xmllint" ,libxml2)))
1671 "https://www.gnome.org/projects/evince/")
1672 (synopsis "GNOME's document viewer")
1674 "Evince is a document viewer for multiple document formats. It
1675 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1676 of Evince is to replace the multiple document viewers that exist
1677 on the GNOME Desktop with a single simple application.")
1678 (license license:gpl2+)))
1680 (define-public gsettings-desktop-schemas
1682 (name "gsettings-desktop-schemas")
1687 (uri (string-append "mirror://gnome/sources/" name "/"
1688 (version-major+minor version) "/"
1689 name "-" version ".tar.xz"))
1692 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1693 (build-system meson-build-system)
1695 '(#:phases (modify-phases %standard-phases
1696 (add-after 'unpack 'patch-schemas
1697 (lambda* (#:key inputs #:allow-other-keys)
1698 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1699 (substitute* (find-files "schemas"
1700 "\\.gschema\\.xml\\.in$")
1701 ;; Provide the correct file name of the default GNOME
1702 ;; background, 'adwaita-timed.xml'.
1703 (("@datadir@/backgrounds/gnome")
1704 (string-append theme "/share/backgrounds/gnome"))
1705 ;; Do not reference fonts, that may not exist.
1706 (("'Source Code Pro 10'") "'Monospace 11'"))
1710 ("gnome-backgrounds" ,gnome-backgrounds)))
1712 `(("intltool" ,intltool)
1713 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1714 ("gobject-introspection" ,gobject-introspection)
1715 ("pkg-config" ,pkg-config)))
1716 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1718 "GNOME settings for various desktop components")
1720 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1721 for settings shared by various components of the GNOME desktop.")
1722 (license license:lgpl2.1+)))
1724 (define-public icon-naming-utils
1726 (name "icon-naming-utils")
1731 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1732 version ".tar.bz2"))
1735 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1736 (build-system gnu-build-system)
1739 ("perl-xml-simple" ,perl-xml-simple)))
1742 (modify-phases %standard-phases
1743 (add-after 'install 'set-load-paths
1744 ;; Tell 'icon-name-mapping' where XML::Simple is.
1745 (lambda* (#:key outputs #:allow-other-keys)
1746 (let* ((out (assoc-ref outputs "out"))
1747 (prog (string-append out "/libexec/icon-name-mapping")))
1750 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1752 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1754 "Utility to implement the Freedesktop Icon Naming Specification")
1756 "To help with the transition to the Freedesktop Icon Naming
1757 Specification, the icon naming utility maps the icon names used by the
1758 GNOME and KDE desktops to the icon names proposed in the specification.")
1759 (license license:lgpl2.1+)))
1761 (define-public gnome-icon-theme
1763 (name "gnome-icon-theme")
1768 (uri (string-append "mirror://gnome/sources/" name "/"
1769 (version-major+minor version) "/"
1770 name "-" version ".tar.xz"))
1773 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1774 (build-system gnu-build-system)
1777 ;; Don't create 'icon-theme.cache'.
1778 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1779 (true (string-append coreutils "/bin/true")))
1780 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1782 `(("icon-naming-utils" ,icon-naming-utils)
1783 ("intltool" ,intltool)
1784 ("pkg-config" ,pkg-config)))
1785 (home-page "https://wiki.gnome.org/Personalization")
1786 (synopsis "GNOME icon theme")
1787 (description "Icons for the GNOME desktop.")
1788 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1790 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1791 (define-public adwaita-icon-theme
1792 (package (inherit gnome-icon-theme)
1793 (name "adwaita-icon-theme")
1797 (uri (string-append "mirror://gnome/sources/" name "/"
1798 (version-major+minor version) "/"
1799 name "-" version ".tar.xz"))
1802 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1804 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1806 (define-public tango-icon-theme
1808 (name "tango-icon-theme")
1812 (uri (string-append "http://tango.freedesktop.org/releases/"
1813 "tango-icon-theme-" version ".tar.bz2"))
1816 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1817 (build-system gnu-build-system)
1819 `(("icon-naming-utils" ,icon-naming-utils)
1820 ("intltool" ,intltool)
1821 ("imagemagick" ,imagemagick)
1822 ("pkg-config" ,pkg-config)))
1823 (home-page "http://tango-project.org/")
1824 (synopsis "Tango icon theme")
1825 (description "This is an icon theme that follows the Tango visual
1827 (license license:public-domain)))
1829 (define-public shared-mime-info
1831 (name "shared-mime-info")
1836 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1837 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1841 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1842 (build-system gnu-build-system)
1844 ;; The build system appears not to be parallel-safe.
1845 '(#:parallel-build? #f))
1848 ("libxml2" ,libxml2)))
1850 `(("gettext" ,gettext-minimal)
1851 ("itstool" ,itstool)
1852 ("pkg-config" ,pkg-config)))
1853 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1854 (synopsis "Database of common MIME types")
1856 "The shared-mime-info package contains the core database of common types
1857 and the update-mime-database command used to extend it. It requires glib2 to
1858 be installed for building the update command. Additionally, it uses intltool
1859 for translations, though this is only a dependency for the maintainers. This
1860 database is translated at Transifex.")
1861 (license license:gpl2+)))
1863 (define-public system-config-printer
1865 (name "system-config-printer")
1871 "https://github.com/OpenPrinting/system-config-printer/releases/"
1873 "/system-config-printer-" version ".tar.xz"))
1875 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1876 (build-system glib-or-gtk-build-system)
1878 `(#:imported-modules ((guix build python-build-system)
1879 ,@%glib-or-gtk-build-system-modules)
1881 (modify-phases %standard-phases
1882 (add-after 'unpack 'patch-Makefile.am
1884 ;; The Makefile generates some scripts, so set a valid shebang
1885 (substitute* "Makefile.am"
1886 (("/bin/bash") (which "bash")))
1887 (delete-file "configure")
1889 (add-after 'unpack 'patch-docbook-xml
1890 (lambda* (#:key inputs #:allow-other-keys)
1891 ;; Modify the man XML otherwise xmlto tries to access the network
1892 (substitute* "man/system-config-printer.xml"
1893 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1894 (string-append (assoc-ref inputs "docbook-xml")
1895 "/xml/dtd/docbook/")))
1897 (add-after 'install 'wrap-for-python
1898 (@@ (guix build python-build-system) wrap))
1899 (add-after 'install 'wrap
1900 (lambda* (#:key outputs #:allow-other-keys)
1901 (let ((out (assoc-ref outputs "out"))
1902 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1905 (wrap-program program
1906 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1908 (string-append out "/bin/" name))
1909 '("system-config-printer"
1910 "system-config-printer-applet"
1911 "install-printerdriver"
1912 "scp-dbus-service"))))
1915 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1916 ("gobject-introspection" ,gobject-introspection)
1919 ("python-dbus" ,python-dbus)
1920 ("python-pygobject" ,python-pygobject)
1921 ("python-pycups" ,python-pycups)
1922 ("python-requests" ,python-requests)
1923 ("python-pycairo" ,python-pycairo)
1924 ("libnotify" ,libnotify)
1925 ("packagekit" ,packagekit)))
1927 `(("pkg-config" ,pkg-config)
1928 ("desktop-file-utils" ,desktop-file-utils)
1930 ("autoconf" ,autoconf)
1931 ("automake" ,automake)
1932 ("intltool" ,intltool)
1934 ("docbook-xml" ,docbook-xml-4.1.2)
1935 ("docbook-xsl" ,docbook-xsl)
1936 ("libxml2" ,libxml2)))
1937 (home-page "https://github.com/zdohnal/system-config-printer")
1938 (synopsis "CUPS administration tool")
1940 "system-config-printer is a CUPS administration tool. It's written in
1941 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1943 (license license:gpl2+)))
1945 (define-public hicolor-icon-theme
1947 (name "hicolor-icon-theme")
1952 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1953 "hicolor-icon-theme-" version ".tar.xz"))
1956 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1957 (build-system gnu-build-system)
1959 `(#:tests? #f)) ; no check target
1960 (home-page "https://icon-theme.freedesktop.org/releases/")
1962 "Freedesktop icon theme")
1964 "Freedesktop icon theme.")
1965 (license license:gpl2)))
1967 (define-public libnotify
1974 (uri (string-append "mirror://gnome/sources/" name "/"
1975 (version-major+minor version) "/"
1976 name "-" version ".tar.xz"))
1979 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1980 (build-system gnu-build-system)
1982 `(#:configure-flags '("--disable-static")))
1984 `(;; In Requires of libnotify.pc.
1985 ("gdk-pixbuf" ,gdk-pixbuf)
1989 ("libpng" ,libpng)))
1991 `(("pkg-config" ,pkg-config)
1992 ("glib" ,glib "bin")
1993 ("gobject-introspection" ,gobject-introspection)))
1994 (home-page "https://developer-next.gnome.org/libnotify/")
1996 "GNOME desktop notification library")
1998 "Libnotify is a library that sends desktop notifications to a
1999 notification daemon, as defined in the Desktop Notifications spec. These
2000 notifications can be used to inform the user about an event or display
2001 some form of information without getting in the user's way.")
2002 (license license:lgpl2.1+)))
2004 (define-public libpeas
2011 (uri (string-append "mirror://gnome/sources/" name "/"
2012 (version-major+minor version) "/"
2013 name "-" version ".tar.xz"))
2016 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2017 (build-system meson-build-system)
2020 (modify-phases %standard-phases
2021 (add-before 'check 'start-xserver
2022 (lambda* (#:key inputs #:allow-other-keys)
2023 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2025 (setenv "DISPLAY" disp)
2026 ;; Tests require a running X server.
2027 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2033 ("python-pygobject" ,python-pygobject)))
2035 `(("pkg-config" ,pkg-config)
2036 ("gettext" ,gettext-minimal)
2037 ("glib:bin" ,glib "bin")
2038 ("gobject-introspection" ,gobject-introspection)
2039 ("xorg-server" ,xorg-server-for-tests)))
2041 ;; The .pc file "Requires" gobject-introspection.
2042 `(("gobject-introspection" ,gobject-introspection)))
2043 (home-page "https://wiki.gnome.org/Libpeas")
2044 (synopsis "GObject plugin system")
2046 "Libpeas is a gobject-based plugin engine, targeted at giving every
2047 application the chance to assume its own extensibility. It also has a set of
2048 features including, but not limited to: multiple extension points; on-demand
2049 (lazy) programming language support for C, Python and JS; simplicity of the
2051 (license license:lgpl2.0+)))
2053 (define-public gtkglext
2059 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2060 version "/gtkglext-" version ".tar.gz"))
2062 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2063 (patches (search-patches
2064 "gtkglext-disable-disable-deprecated.patch"))))
2065 (build-system gnu-build-system)
2068 (modify-phases %standard-phases
2069 ;; Fix a collision between a local variable and a definition from
2070 ;; glibc's string.h.
2071 (add-after 'unpack 'fix-collision
2073 (substitute* "gdk/gdkglshapes.c"
2074 ((" index") " triangle_index"))
2076 (inputs `(("gtk+" ,gtk+-2)
2081 (native-inputs `(("pkg-config" ,pkg-config)
2082 ("glib" ,glib "bin")))
2083 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2084 (home-page "https://projects.gnome.org/gtkglext")
2085 (synopsis "OpenGL extension to GTK+")
2086 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2087 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2088 API add-ons to make GTK+ widgets OpenGL-capable.")
2089 (license license:lgpl2.1+)))
2091 (define-public glade3
2097 (uri (string-append "mirror://gnome/sources/" name "/"
2098 (version-major+minor version) "/"
2099 name "-" version ".tar.xz"))
2102 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2103 (build-system glib-or-gtk-build-system)
2105 `(#:tests? #f ; needs X, GL, and software rendering
2107 (modify-phases %standard-phases
2108 (add-before 'configure 'fix-docbook
2109 (lambda* (#:key inputs #:allow-other-keys)
2110 (substitute* "man/Makefile.in"
2111 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2112 (string-append (assoc-ref inputs "docbook-xsl")
2113 "/xml/xsl/docbook-xsl-"
2114 ,(package-version docbook-xsl)
2115 "/manpages/docbook.xsl")))
2119 ("libxml2" ,libxml2)))
2121 `(("intltool" ,intltool)
2122 ("itstool" ,itstool)
2123 ("libxslt" ,libxslt) ;for xsltproc
2124 ("docbook-xml" ,docbook-xml-4.2)
2125 ("docbook-xsl" ,docbook-xsl)
2126 ("python" ,python-2)
2127 ("pkg-config" ,pkg-config)))
2128 (home-page "https://glade.gnome.org")
2129 (synopsis "GTK+ rapid application development tool")
2130 (description "Glade is a rapid application development (RAD) tool to
2131 enable quick & easy development of user interfaces for the GTK+ toolkit and
2132 the GNOME desktop environment.")
2133 (license license:lgpl2.0+)))
2135 (define-public libcroco
2141 (uri (string-append "mirror://gnome/sources/" name "/"
2142 (version-major+minor version) "/"
2143 name "-" version ".tar.xz"))
2146 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2147 (build-system gnu-build-system)
2149 `(("pkg-config" ,pkg-config)))
2152 ("libxml2" ,libxml2)
2154 (home-page "https://github.com/GNOME/libcroco")
2155 (synopsis "CSS2 parsing and manipulation library")
2157 "Libcroco is a standalone CSS2 parsing and manipulation library.
2158 The parser provides a low level event driven SAC-like API and a CSS object
2159 model like API. Libcroco provides a CSS2 selection engine and an experimental
2160 XML/CSS rendering engine.")
2163 (license license:lgpl2.1)))
2165 (define-public libgsf
2171 (uri (string-append "mirror://gnome/sources/" name "/"
2172 (version-major+minor version) "/"
2173 name "-" version ".tar.xz"))
2176 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2177 (build-system gnu-build-system)
2179 '(#:configure-flags '("--disable-static")))
2181 `(("pkg-config" ,pkg-config)
2182 ("gettext" ,gettext-minimal)
2186 ("perl-xml-parser" ,perl-xml-parser)))
2191 `(("gdk-pixbuf" ,gdk-pixbuf)
2193 ("libxml2" ,libxml2)))
2194 (home-page "https://www.gnome.org/projects/libgsf")
2195 (synopsis "GNOME's Structured File Library")
2197 "Libgsf aims to provide an efficient extensible I/O abstraction for
2198 dealing with different structured file formats.")
2201 (license license:lgpl2.1)))
2203 (define-public librsvg
2209 (uri (string-append "mirror://gnome/sources/" name "/"
2210 (version-major+minor version) "/"
2211 name "-" version ".tar.xz"))
2214 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2215 (build-system gnu-build-system)
2218 (list "--disable-static"
2219 "--enable-vala") ; needed for e.g. gnome-mines
2221 (modify-phases %standard-phases
2222 (add-before 'configure 'pre-configure
2223 (lambda* (#:key inputs #:allow-other-keys)
2224 (substitute* "gdk-pixbuf-loader/Makefile.in"
2225 ;; By default the gdk-pixbuf loader is installed under
2226 ;; gdk-pixbuf's prefix. Work around that.
2227 (("gdk_pixbuf_moduledir = .*$")
2228 (string-append "gdk_pixbuf_moduledir = "
2229 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2231 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2232 (("gdk_pixbuf_cache_file = .*$")
2233 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2235 (add-before 'check 'remove-failing-tests
2237 (with-directory-excursion "tests/fixtures/reftests"
2238 (for-each delete-file
2239 '(;; This test fails on i686:
2240 "svg1.1/masking-path-04-b.svg"
2241 ;; This test fails on armhf:
2242 "svg1.1/masking-mask-01-b.svg"
2243 ;; This test fails on aarch64:
2244 "bugs/777834-empty-text-children.svg")))
2247 `(("pkg-config" ,pkg-config)
2249 ("glib" ,glib "bin") ; glib-mkenums, etc.
2250 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2252 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2253 ;; this ancient version of librsvg.
2254 ("pango" ,pango-1.42)
2255 ("libcroco" ,libcroco)
2258 ("libxml2" ,libxml2)))
2260 ;; librsvg-2.0.pc refers to all of that.
2262 ("gdk-pixbuf" ,gdk-pixbuf)
2264 (home-page "https://wiki.gnome.org/LibRsvg")
2265 (synopsis "Render SVG files using Cairo")
2267 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2269 (license license:lgpl2.0+)))
2271 (define-public librsvg-next
2278 (uri (string-append "mirror://gnome/sources/librsvg/"
2279 (version-major+minor version) "/"
2280 "librsvg-" version ".tar.xz"))
2283 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2284 (modules '((guix build utils)))
2286 '(begin (delete-file-recursively "vendor")
2287 ;; Don't demand an exact version for string_cache
2288 (substitute* "rsvg_internals/Cargo.toml"
2291 (build-system cargo-build-system)
2293 `(#:modules ((guix build cargo-build-system)
2295 ((guix build gnu-build-system) #:prefix gnu:))
2296 #:vendor-dir "vendor"
2298 (("rust-bitflags" ,rust-bitflags-1)
2299 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2300 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2301 ("rust-cssparser" ,rust-cssparser-0.25)
2302 ("rust-data-url" ,rust-data-url-0.1)
2303 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2304 ("rust-encoding" ,rust-encoding-0.2)
2305 ("rust-float-cmp" ,rust-float-cmp-0.5)
2306 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2307 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2308 ("rust-gio" ,rust-gio-0.7)
2309 ("rust-gio-sys" ,rust-gio-sys-0.9)
2310 ("rust-glib" ,rust-glib-0.8)
2311 ("rust-glib-sys" ,rust-glib-sys-0.9)
2312 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2313 ("rust-itertools" ,rust-itertools-0.8)
2314 ("rust-language-tags" ,rust-language-tags-0.2)
2315 ("rust-lazy-static" ,rust-lazy-static-1)
2316 ("rust-libc" ,rust-libc-0.2)
2317 ("rust-locale-config" ,rust-locale-config-0.3)
2318 ("rust-markup5ever" ,rust-markup5ever-0.9)
2319 ("rust-nalgebra" ,rust-nalgebra-0.18)
2320 ("rust-num-traits" ,rust-num-traits-0.2)
2321 ("rust-pkg-config" ,rust-pkg-config-0.3)
2322 ("rust-pango" ,rust-pango-0.7)
2323 ("rust-pango-sys" ,rust-pango-sys-0.9)
2324 ("rust-pangocairo" ,rust-pangocairo-0.8)
2325 ("rust-phf" ,rust-phf-0.7)
2326 ("rust-rayon" ,rust-rayon-1.3)
2327 ("rust-rctree" ,rust-rctree-0.3)
2328 ("rust-string-cache" ,rust-string-cache-0.7)
2329 ("rust-regex" ,rust-regex-1.3)
2330 ("rust-url" ,rust-url-2.1)
2331 ("rust-xml-rs" ,rust-xml-rs-0.8))
2332 #:cargo-development-inputs
2333 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2334 ("rust-criterion" ,rust-criterion-0.2))
2336 (modify-phases %standard-phases
2337 (add-after 'unpack 'prepare-for-build
2339 ;; In lieu of #:make-flags
2341 ;; Something about the build environment resists building
2342 ;; successfully with the '--locked' flag.
2343 (substitute* '("Makefile.am"
2347 (add-before 'configure 'pre-configure
2349 (substitute* "gdk-pixbuf-loader/Makefile.in"
2350 ;; By default the gdk-pixbuf loader is installed under
2351 ;; gdk-pixbuf's prefix. Work around that.
2352 (("gdk_pixbuf_moduledir = .*$")
2353 (string-append "gdk_pixbuf_moduledir = "
2354 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2356 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2357 (("gdk_pixbuf_cache_file = .*$")
2358 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2360 (add-after 'configure 'gnu-configure
2361 (assoc-ref gnu:%standard-phases 'configure))
2362 ;(lambda* (#:key outputs #:allow-other-keys)
2363 ; ((assoc-ref gnu:%standard-phases 'configure)
2365 ; #:configure-flags ("--disable-static"
2366 ; "--enable-vala"))))
2367 (add-after 'configure 'dont-vendor-self
2368 (lambda* (#:key vendor-dir #:allow-other-keys)
2369 ;; Don't keep the whole tarball in the vendor directory
2370 (delete-file-recursively
2371 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2374 (assoc-ref gnu:%standard-phases 'build))
2377 ((assoc-ref gnu:%standard-phases 'check)
2378 #:test-target "check")))
2380 (assoc-ref gnu:%standard-phases 'install))
2381 (add-before 'check 'remove-failing-tests
2383 (with-directory-excursion "tests/fixtures/reftests"
2384 (for-each delete-file
2385 '(;; The images produced by these tests differ slightly
2386 ;; from their reference counterparts due to differences
2387 ;; in the build environment (missing fonts, etc). See
2388 ;; <tests/README.md> for details.
2389 ;; These fail on x86_64.
2390 "svg1.1/coords-viewattr-02-b.svg"
2391 "svg1.1/filters-composite-04-f.svg"
2392 "svg1.1/filters-image-01-b.svg"
2393 "svg1.1/filters-conv-02-f.svg"
2394 "svg1.1/filters-conv-04-f.svg"
2395 ;; This test fails on i686:
2396 "svg1.1/masking-path-04-b.svg"
2397 ;; This test fails on armhf:
2398 "svg1.1/masking-mask-01-b.svg"
2399 ;; This test fails on aarch64:
2400 "bugs/777834-empty-text-children.svg")))
2402 (license license:lgpl2.1+)))
2404 (define-public libidl
2410 (uri (string-append "mirror://gnome/sources/libIDL/"
2411 (version-major+minor version) "/"
2412 "libIDL-" version ".tar.bz2"))
2415 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2416 (build-system gnu-build-system)
2417 (inputs `(("glib" ,glib)))
2419 `(("pkg-config" ,pkg-config)
2422 (home-page "http://freecode.com/projects/libidl")
2423 (synopsis "Create trees of CORBA Interface Definition Language files")
2424 (description "Libidl is a library for creating trees of CORBA Interface
2425 Definition Language (idl) files, which is a specification for defining
2426 portable interfaces. libidl was initially written for orbit (the orb from the
2427 GNOME project, and the primary means of libidl distribution). However, the
2428 functionality was designed to be as reusable and portable as possible.")
2429 (properties `((upstream-name . "libIDL")))
2430 (license license:lgpl2.0+)))
2433 (define-public orbit2
2439 (uri (let ((upstream-name "ORBit2"))
2440 (string-append "mirror://gnome/sources/" upstream-name "/"
2441 (version-major+minor version) "/"
2442 upstream-name "-" version ".tar.bz2")))
2445 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2446 (build-system gnu-build-system)
2448 `(;; The "timeout-server" test hangs when run in parallel.
2449 #:parallel-tests? #f
2451 '(;; We don't need static libraries, plus they don't build reproducibly
2452 ;; (non-deterministic ordering of .o files in the archive.)
2455 ;; The programmer kindly gives us a hook to turn off deprecation
2457 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2458 ;; ... which they then completly ignore !!
2460 (modify-phases %standard-phases
2461 (add-before 'configure 'ignore-deprecations
2463 (substitute* "linc2/src/Makefile.in"
2464 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2466 (inputs `(("glib" ,glib)
2467 ("libidl" ,libidl)))
2469 `(("pkg-config" ,pkg-config)))
2470 (home-page "https://projects.gnome.org/orbit2/")
2471 (synopsis "CORBA 2.4-compliant Object Request Broker")
2472 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2473 featuring mature C, C++ and Python bindings.")
2474 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2475 ;; a version. SOME of the code files have licence notices for GPLv2+.
2476 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2477 (license license:gpl2+)
2478 (properties `((upstream-name . "ORBit2")))))
2481 (define-public libbonobo
2487 (uri (string-append "mirror://gnome/sources/" name "/"
2488 (version-major+minor version)
2489 "/" name "-" version ".tar.bz2"))
2491 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2492 (patches (search-patches
2493 "libbonobo-activation-test-race.patch"))))
2494 (build-system gnu-build-system)
2496 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2498 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2499 ;; ... which they then completly ignore !!
2501 (modify-phases %standard-phases
2502 (add-before 'configure 'ignore-deprecations
2504 (substitute* "activation-server/Makefile.in"
2505 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2508 ;; There's apparently a race condition between the server stub
2509 ;; generation and linking of the example under 'samples/echo' that can
2510 ;; lead do undefined references when building in parallel, as reported
2511 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2512 ;; Thus, disable parallel builds.
2513 #:parallel-build? #f))
2514 (inputs `(("popt" ,popt)
2515 ("libxml2" ,libxml2)))
2516 ;; The following are Required by the .pc file
2519 ("orbit2" ,orbit2)))
2521 `(("intltool" ,intltool)
2522 ("pkg-config" ,pkg-config)
2523 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2526 (home-page "https://developer.gnome.org/libbonobo/")
2527 (synopsis "Framework for creating reusable components for use in GNOME applications")
2528 (description "Bonobo is a framework for creating reusable components for
2529 use in GNOME applications, built on top of CORBA.")
2530 ;; Licence not explicitly stated. Source files contain no licence notices.
2531 ;; Tarball contains text of both GPLv2 and LGPLv2
2532 ;; GPLv2 covers both conditions
2533 (license license:gpl2+)))
2536 (define-public gconf
2543 (let ((upstream-name "GConf"))
2544 (string-append "mirror://gnome/sources/" upstream-name "/"
2545 (version-major+minor version) "/"
2546 upstream-name "-" version ".tar.xz")))
2548 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2549 (build-system gnu-build-system)
2550 (inputs `(("dbus-glib" ,dbus-glib)
2551 ("libxml2" ,libxml2)))
2552 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2553 ("orbit2" ,orbit2)))
2555 `(("intltool" ,intltool)
2556 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2557 ("pkg-config" ,pkg-config)))
2558 (home-page "https://projects.gnome.org/gconf/")
2559 (synopsis "Store application preferences")
2560 (description "Gconf is a system for storing application preferences. It
2561 is intended for user preferences; not arbitrary data storage.")
2562 (license license:lgpl2.0+)
2563 (properties '((upstream-name . "GConf")))))
2566 (define-public gnome-mime-data
2568 (name "gnome-mime-data")
2572 (uri (string-append "mirror://gnome/sources/" name "/"
2573 (version-major+minor version) "/"
2574 name "-" version ".tar.bz2"))
2577 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2578 (build-system gnu-build-system)
2581 ("intltool" ,intltool)))
2583 '(#:phases (modify-phases %standard-phases
2584 (add-after 'configure 'use-our-intltool
2586 ;; Do not use the bundled intltool commands, which lack
2587 ;; the "dotless @INC" fixes of our 'intltool' package.
2588 (substitute* (find-files "." "^Makefile$")
2589 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2590 (string-append "INTLTOOL_" tool " = intltool-"
2591 (string-downcase tool) "\n")))
2593 (home-page "https://www.gnome.org")
2594 (synopsis "Base MIME and Application database for GNOME")
2595 (description "GNOME Mime Data is a module which contains the base MIME
2596 and Application database for GNOME. The data stored by this module is
2597 designed to be accessed through the MIME functions in GnomeVFS.")
2598 (license license:gpl2+)))
2601 (define-public gnome-vfs
2607 (uri (string-append "mirror://gnome/sources/" name "/"
2608 (version-major+minor version) "/"
2609 name "-" version ".tar.bz2"))
2612 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2613 (build-system gnu-build-system)
2616 (modify-phases %standard-phases
2617 (add-before 'configure 'ignore-deprecations
2619 (substitute* '("libgnomevfs/Makefile.in"
2620 "daemon/Makefile.in")
2621 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2623 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2625 (substitute* "test/test-async-cancel.c"
2626 (("EXIT_FAILURE") "77"))
2628 (inputs `(("libxml2" ,libxml2)
2629 ("dbus-glib" ,dbus-glib)
2631 ("gnome-mime-data" ,gnome-mime-data)
2634 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2635 ("intltool" ,intltool)
2636 ("pkg-config" ,pkg-config)))
2637 (home-page "https://developer.gnome.org/gnome-vfs/")
2638 (synopsis "Access files and folders in GNOME applications")
2640 "GnomeVFS is the core library used to access files and folders in GNOME
2641 applications. It provides a file system abstraction which allows applications
2642 to access local and remote files with a single consistent API.")
2643 (license license:lgpl2.0+)))
2647 (define-public libgnome
2653 (uri (string-append "mirror://gnome/sources/" name "/"
2654 (version-major+minor version) "/"
2655 name "-" version ".tar.bz2"))
2658 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2659 (patches (search-patches "libgnome-encoding.patch"))))
2660 (build-system gnu-build-system)
2663 (modify-phases %standard-phases
2664 (add-before 'configure 'enable-deprecated
2666 (substitute* "libgnome/Makefile.in"
2667 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2669 (inputs `(("libxml2" ,libxml2)))
2671 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2672 ("intltool" ,intltool)
2673 ("pkg-config" ,pkg-config)))
2674 ;; The following are listed as Required in the .pc file
2675 ;; (except for libcanberra -- which seems to be oversight on the part
2676 ;; of the upstream developers -- anything that links against libgnome,
2677 ;; must also link against libcanberra
2679 `(("libcanberra" ,libcanberra)
2680 ("libbonobo" ,libbonobo)
2682 ("gnome-vfs" ,gnome-vfs)
2683 ("popt" ,popt))) ;gnome-program.h includes popt.h
2684 (home-page "https://developer.gnome.org/libgnome/")
2685 (synopsis "Useful routines for building applications")
2686 (description "The libgnome library provides a number of useful routines
2687 for building modern applications, including session management, activation of
2688 files and URIs, and displaying help.")
2689 (license license:lgpl2.0+)))
2692 (define-public libart-lgpl
2694 (name "libart-lgpl")
2698 (uri (let ((upstream-name "libart_lgpl"))
2699 (string-append "mirror://gnome/sources/" upstream-name "/"
2700 (version-major+minor version) "/"
2701 upstream-name "-" version ".tar.bz2")))
2704 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2705 (build-system gnu-build-system)
2707 `(("pkg-config" ,pkg-config)))
2708 (home-page "https://people.gnome.org/~mathieu/libart")
2709 (synopsis "2D drawing library")
2710 (description "Libart is a 2D drawing library intended as a
2711 high-quality vector-based 2D library with antialiasing and alpha composition.")
2712 (license license:lgpl2.0+)))
2716 (define-public libgnomecanvas
2718 (name "libgnomecanvas")
2722 (uri (string-append "mirror://gnome/sources/" name "/"
2723 (version-major+minor version) "/"
2724 name "-" version ".tar.gz"))
2727 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2728 (build-system gnu-build-system)
2729 ;; Mentioned as Required in the .pc file
2730 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2733 `(("intltool" ,intltool)
2734 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2735 ("pkg-config" ,pkg-config)))
2736 (home-page "https://developer.gnome.org/libgnomecanvas/")
2737 (synopsis "Flexible widget for creating interactive structured graphics")
2738 (description "The GnomeCanvas widget provides a flexible widget for
2739 creating interactive structured graphics.")
2740 (license license:lgpl2.0+)))
2742 (define-public libgnomecanvasmm
2744 (name "libgnomecanvasmm")
2748 (uri (string-append "mirror://gnome/sources/" name "/"
2749 (version-major+minor version) "/"
2750 name "-" version ".tar.bz2"))
2753 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2754 (build-system gnu-build-system)
2755 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2757 `(("gtkmm-2" ,gtkmm-2)
2758 ("pkg-config" ,pkg-config)))
2759 (home-page "https://gtkmm.org")
2760 (synopsis "C++ bindings to the GNOME Canvas library")
2761 (description "C++ bindings to the GNOME Canvas library.")
2762 (license license:lgpl2.0+)))
2764 (define-public libgnomeui
2770 (uri (string-append "mirror://gnome/sources/" name "/"
2771 (version-major+minor version) "/"
2772 name "-" version ".tar.bz2"))
2773 (patches (search-patches "libgnomeui-utf8.patch"))
2776 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2777 (build-system gnu-build-system)
2778 ;; Mentioned as Required in the .pc file
2779 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2780 ("libgnome" ,libgnome)
2781 ("libgnomecanvas" ,libgnomecanvas)
2782 ("libgnome-keyring" ,libgnome-keyring)))
2783 (inputs `(("libjpeg" ,libjpeg-turbo)
2785 ("libbonobo" ,libbonobo)
2786 ("libxml2" ,libxml2)
2787 ("libglade" ,libglade)))
2789 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2790 ("intltool" ,intltool)
2791 ("pkg-config" ,pkg-config)))
2792 (home-page "https://developer.gnome.org/libgnomeui/")
2793 (synopsis "Additional widgets for applications")
2794 (description "The libgnomeui library provides additional widgets for
2795 applications. Many of the widgets from libgnomeui have already been
2797 (license license:lgpl2.0+)))
2799 (define-public libglade
2805 (uri (string-append "mirror://gnome/sources/" name "/"
2806 (version-major+minor version) "/"
2807 name "-" version ".tar.bz2"))
2810 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2811 (build-system gnu-build-system)
2813 `(("python" ,python))) ;; needed for the optional libglade-convert program
2815 `(("gtk+-2" ,gtk+-2)
2816 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2818 `(("pkg-config" ,pkg-config)))
2819 (home-page "https://developer.gnome.org/libglade")
2820 (synopsis "Load glade interfaces and access the glade built widgets")
2821 (description "Libglade is a library that provides interfaces for loading
2822 graphical interfaces described in glade files and for accessing the
2823 widgets built in the loading process.")
2824 (license license:gpl2+))) ; This is correct. GPL not LGPL
2826 (define-public libgnomeprint
2827 ;; This library has been deprecated since 2006; see
2828 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2830 (name "libgnomeprint")
2834 (uri (string-append "mirror://gnome/sources/" name "/"
2835 (version-major+minor version) "/"
2836 name "-" version ".tar.bz2"))
2839 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2840 (build-system gnu-build-system)
2843 ("libart-lgpl" ,libart-lgpl)
2845 ("libxml2" ,libxml2)))
2847 `(("intltool" ,intltool)
2848 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2849 ("pkg-config" ,pkg-config)))
2850 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2851 (synopsis "Printing framework for GNOME")
2853 "GNOME-print was a printing framework for GNOME. It has been deprecated
2854 since ca. 2006, when GTK+ itself incorporated printing support.")
2855 (license license:lgpl2.0+)))
2858 (define-public libgnomeprintui
2859 ;; Deprecated; see libgnomeprint.
2861 (name "libgnomeprintui")
2865 (uri (string-append "mirror://gnome/sources/" name "/"
2866 (version-major+minor version) "/"
2867 name "-" version ".tar.bz2"))
2870 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2871 (build-system gnu-build-system)
2872 ;; Mentioned as Required in the .pc file
2873 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2874 (inputs `(("gtk+" ,gtk+-2)
2876 ("gnome-icon-theme" ,gnome-icon-theme)
2877 ("libgnomecanvas" ,libgnomecanvas)
2878 ("libxml2" ,libxml2)))
2880 `(("intltool" ,intltool)
2881 ("pkg-config" ,pkg-config)))
2882 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2883 (synopsis "Printing framework for GNOME")
2884 (description (package-description libgnomeprint))
2885 (license license:lgpl2.0+)))
2887 (define-public libbonoboui
2889 (name "libbonoboui")
2893 (uri (string-append "mirror://gnome/sources/" name "/"
2894 (version-major+minor version) "/"
2895 name "-" version ".tar.bz2"))
2898 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2899 (build-system gnu-build-system)
2902 (modify-phases %standard-phases
2903 (add-before 'check 'start-xserver
2904 (lambda* (#:key inputs #:allow-other-keys)
2905 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2908 (setenv "HOME" (getcwd))
2909 (setenv "DISPLAY" disp)
2910 ;; There must be a running X server and make check doesn't start one.
2911 ;; Therefore we must do it.
2912 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2913 ;; Mentioned as Required by the .pc file
2914 (propagated-inputs `(("libxml2" ,libxml2)))
2917 ("pangox-compat" ,pangox-compat)
2918 ("libgnome" ,libgnome)
2919 ("libgnomecanvas" ,libgnomecanvas)
2920 ("libglade" ,libglade)))
2922 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2923 ("intltool" ,intltool)
2924 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2925 ("pkg-config" ,pkg-config)))
2926 (home-page "https://developer.gnome.org/libbonoboui/")
2927 (synopsis "Some user interface controls using Bonobo")
2928 (description "The Bonobo UI library provides a number of user interface
2929 controls using the Bonobo component framework.")
2930 (license license:lgpl2.0+)))
2932 (define-public libwnck
2938 (uri (string-append "mirror://gnome/sources/" name "/"
2939 (version-major+minor version) "/"
2940 name "-" version ".tar.xz"))
2943 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2944 (build-system meson-build-system)
2946 `(("pkg-config" ,pkg-config)
2947 ("glib" ,glib "bin") ; for glib-mkenums
2948 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2949 ("intltool" ,intltool)))
2952 ("libxres" ,libxres)
2953 ("startup-notification" ,startup-notification)))
2954 (home-page "https://developer.gnome.org/libwnck/")
2955 (synopsis "Window Navigator Construction Kit")
2957 "Libwnck is the Window Navigator Construction Kit, a library for use in
2958 writing pagers, tasklists, and more generally applications that are dealing
2959 with window management. It tries hard to respect the Extended Window Manager
2960 Hints specification (EWMH).")
2961 (license license:lgpl2.0+)))
2963 ;; stable version for gtk2, required by xfwm4.
2964 (define-public libwnck-2
2965 (package (inherit libwnck)
2970 (uri (string-append "mirror://gnome/sources/" name "/"
2971 (version-major+minor version) "/"
2972 name "-" version ".tar.xz"))
2975 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2976 (build-system gnu-build-system)
2978 `(("pkg-config" ,pkg-config)
2979 ("intltool" ,intltool)))
2982 ("libxres" ,libxres)
2983 ("startup-notification" ,startup-notification)))))
2985 (define-public goffice
2991 (uri (string-append "mirror://gnome/sources/goffice/"
2992 (version-major+minor version) "/"
2993 "goffice-" version ".tar.xz"))
2995 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2996 (build-system gnu-build-system)
2998 "doc")) ; 4.0 MiB of gtk-doc
3000 '(#:configure-flags (list (string-append "--with-html-dir="
3001 (assoc-ref %outputs "doc")
3002 "/share/gtk-doc/html"))))
3006 ("librsvg" ,librsvg)
3007 ("libxslt" ,libxslt)
3008 ("libxml2" ,libxml2)))
3010 `(("intltool" ,intltool)
3011 ("glib" ,glib "bin")
3012 ("pkg-config" ,pkg-config)))
3013 (home-page "https://developer.gnome.org/goffice/")
3014 (synopsis "Document-centric objects and utilities")
3015 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3017 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3019 (list license:gpl2 license:gpl3))))
3021 (define-public goffice-0.8
3022 (package (inherit goffice)
3026 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3027 (version-major+minor version) "/"
3028 (package-name goffice) "-" version ".tar.xz"))
3030 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3033 (modify-phases %standard-phases
3034 (add-after 'unpack 'fix-pcre-check
3036 ;; Only glib.h can be included directly. See
3037 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3038 (substitute* "configure"
3039 (("glib/gregex\\.h") "glib.h")) #t)))
3041 ,@(package-arguments goffice)))
3043 ;; libgoffice-0.8.pc mentions libgsf-1
3044 `(("libgsf" ,libgsf)))
3047 ,@(alist-delete "gtk" (package-inputs goffice))))))
3049 (define-public gnumeric
3055 (uri (string-append "mirror://gnome/sources/gnumeric/"
3056 (version-major+minor version) "/"
3057 "gnumeric-" version ".tar.xz"))
3060 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3061 (build-system glib-or-gtk-build-system)
3063 `(;; The gnumeric developers don't worry much about failing tests.
3064 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3067 (modify-phases %standard-phases
3069 'configure 'pre-conf
3070 (lambda* (#:key outputs #:allow-other-keys)
3071 ;; Make install tries to write into the directory of goffice
3072 ;; I am informed that this only affects the possibility to embed a
3073 ;; spreadsheet inside an Abiword document. So presumably when we
3074 ;; package Abiword we'll have to refer it to this directory.
3075 (substitute* "configure"
3076 (("^GOFFICE_PLUGINS_DIR=.*")
3077 (string-append "GOFFICE_PLUGINS_DIR="
3078 (assoc-ref outputs "out")
3079 "/goffice/plugins"))))))))
3083 ("goffice" ,goffice)
3085 ("librsvg" ,librsvg)
3086 ("libxml2" ,libxml2)
3087 ("libxslt" ,libxslt)
3088 ("python" ,python-2)
3089 ("python2-pygobject" ,python2-pygobject)
3093 ("docbook-xml" ,docbook-xml)
3094 ("intltool" ,intltool)
3095 ("itstool" ,itstool)
3096 ("glib:bin" ,glib "bin")
3097 ("pkg-config" ,pkg-config)))
3098 (home-page "http://www.gnumeric.org")
3099 (synopsis "Spreadsheet application")
3101 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3102 interoperable with other spreadsheet applications. It has a vast array of
3103 features beyond typical spreadsheet functionality, such as support for linear
3104 and non-linear solvers, statistical analysis, and telecommunication
3107 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3108 (list license:gpl2 license:gpl3))))
3110 (define-public gnome-themes-standard
3112 (name "gnome-themes-standard")
3117 (uri (string-append "mirror://gnome/sources/" name "/"
3118 (version-major+minor version) "/" name "-"
3122 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3123 (build-system gnu-build-system)
3126 ;; Don't create 'icon-theme.cache'.
3127 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3128 (true (string-append coreutils "/bin/true")))
3129 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3133 ("librsvg" ,librsvg)
3134 ("libxml2" ,libxml2)
3137 `(("intltool" ,intltool)
3138 ("glib:bin" ,glib "bin")
3139 ("pkg-config" ,pkg-config)))
3140 (home-page "https://launchpad.net/gnome-themes-standard")
3141 (synopsis "Default GNOME 3 themes")
3143 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3144 (license license:lgpl2.1+)))
3146 (define-public seahorse
3153 (uri (string-append "mirror://gnome/sources/" name "/"
3154 (version-major+minor version) "/" name "-"
3158 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3159 (build-system meson-build-system)
3163 (modify-phases %standard-phases
3164 (add-after 'unpack 'skip-gtk-update-icon-cache
3165 ;; Don't create 'icon-theme.cache'.
3167 (substitute* "build-aux/meson_post_install.py"
3168 (("gtk-update-icon-cache") "true"))
3175 ("openldap" ,openldap)
3176 ("openssh" ,openssh)
3178 ("libpwquality" ,libpwquality)
3179 ("libsecret" ,libsecret)
3180 ("libsoup" ,libsoup)))
3182 `(("gettext" ,gettext-minimal)
3183 ("glib:bin" ,glib "bin")
3184 ("itstool" ,itstool)
3185 ("pkg-config" ,pkg-config)
3187 ("xmllint" ,libxml2)))
3188 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3189 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3191 "Seahorse is a GNOME application for managing encryption keys and
3192 passwords in the GNOME keyring.")
3193 (license license:gpl2+)))
3201 (uri (string-append "mirror://gnome/sources/" name "/"
3202 (version-major+minor version) "/"
3203 name "-" version ".tar.xz"))
3206 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3207 (build-system gnu-build-system)
3210 (modify-phases %standard-phases
3211 (add-before 'check 'pre-check
3214 (substitute* "valadoc/tests/testrunner.sh"
3215 (("export PKG_CONFIG_PATH=" m)
3216 (string-append m "$PKG_CONFIG_PATH:")))
3217 ;; For missing '/etc/machine-id'.
3218 (setenv "DBUS_FATAL_WARNINGS" "0")
3221 `(("pkg-config" ,pkg-config)
3224 ("xsltproc" ,libxslt)
3225 ("dbus" ,dbus) ; for dbus tests
3226 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3228 `(("graphviz" ,graphviz)))
3230 `(("glib" ,glib))) ; required by libvala-0.40.pc
3231 (home-page "https://live.gnome.org/Vala/")
3232 (synopsis "Compiler for the GObject type system")
3234 "Vala is a programming language that aims to bring modern programming
3235 language features to GNOME developers without imposing any additional runtime
3236 requirements and without using a different ABI compared to applications and
3237 libraries written in C.")
3238 (license license:lgpl2.1+)))
3246 (uri (string-append "mirror://gnome/sources/vte/"
3247 (version-major+minor version) "/"
3248 "vte-" version ".tar.xz"))
3251 "19ccbw0yca78h5qcnm8claj4fg1pj68nj1fsjqqfpzhj7w72i81m"))))
3252 (build-system meson-build-system)
3256 "-D_systemd=false")))
3258 `(("pkg-config" ,pkg-config)
3259 ("gettext" ,gettext-minimal)
3261 ("gobject-introspection" ,gobject-introspection)
3262 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3264 ("xmllint" ,libxml2)))
3266 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3267 ("gnutls" ,gnutls) ; ditto
3268 ("pcre2" ,pcre2))) ; ditto
3269 (home-page "https://www.gnome.org/")
3270 (synopsis "Virtual Terminal Emulator")
3272 "VTE is a library (libvte) implementing a terminal emulator widget for
3273 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3274 gnome-terminal, but can also be used to embed a console/terminal in games,
3275 editors, IDEs, etc.")
3276 (license license:lgpl2.1+)))
3278 (define-public vte-ng
3282 (version "0.58.2.a")
3283 (home-page "https://github.com/thestinger/vte-ng")
3286 (uri (git-reference (url home-page) (commit version)))
3287 (file-name (git-file-name name version))
3290 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3291 (build-system meson-build-system)
3293 `(("gtk-doc" ,gtk-doc)
3294 ,@(package-native-inputs vte)))
3296 `(#:configure-flags '("-Ddocs=true")))
3297 (synopsis "Enhanced VTE terminal widget")
3299 "VTE is a library (libvte) implementing a terminal emulator widget for
3300 GTK+, this fork provides additional functions exposed for keyboard text
3301 selection and URL hints.")))
3303 ;; provides vte 2.90, required for some terminal emulators
3304 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3305 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3306 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3307 ;; pantheon-terminal, roxterm are not currently packaged
3308 (define-public vte-0.36
3309 (package (inherit vte)
3314 (uri (string-append "mirror://gnome/sources/" name "/"
3315 (version-major+minor version) "/"
3316 name "-" version ".tar.xz"))
3319 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3322 ("ncurses" ,ncurses)))))
3324 ;; stable version for gtk2, required by xfce4-terminal.
3325 (define-public vte/gtk+-2
3326 (package (inherit vte)
3331 (uri (string-append "mirror://gnome/sources/" name "/"
3332 (version-major+minor version) "/"
3333 name "-" version ".tar.xz"))
3336 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3337 (patches (search-patches
3338 "vte-CVE-2012-2738-pt1.patch"
3339 "vte-CVE-2012-2738-pt2.patch"))))
3340 (build-system gnu-build-system)
3342 '(#:configure-flags '("--disable-python")))
3344 `(("pkg-config" ,pkg-config)
3345 ("intltool" ,intltool)
3346 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3348 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3349 ("ncurses" ,ncurses))))) ; required by libvte.la
3351 (define-public vinagre
3357 (uri (string-append "mirror://gnome/sources/" name "/"
3358 (version-major+minor version) "/"
3359 name "-" version ".tar.xz"))
3360 (patches (search-patches "vinagre-newer-freerdp.patch"
3361 "vinagre-newer-rdp-parameters.patch"))
3364 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3365 (build-system glib-or-gtk-build-system)
3367 ;; Disable -Werror and such, to avoid build failures on compilation
3369 '(#:configure-flags '("--enable-compile-warnings=minimum")
3371 (modify-phases %standard-phases
3372 (add-before 'install 'skip-gtk-update-icon-cache
3374 ;; Don't create 'icon-theme.cache'
3375 (substitute* (find-files "." "^Makefile$")
3376 (("gtk-update-icon-cache") (which "true")))
3378 (add-after 'unpack 'patch-configure
3380 (substitute* "configure"
3381 (("freerdp") "freerdp2"))
3384 `(("pkg-config" ,pkg-config)
3385 ("intltool" ,intltool)
3386 ("itstool" ,itstool)
3387 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3389 `(("libxml2" ,libxml2)
3390 ("gtk-vnc" ,gtk-vnc)
3391 ("gnome-keyring" ,gnome-keyring)
3392 ("libsecret" ,libsecret)
3393 ("freerdp" ,freerdp)
3395 ("spice-gtk" ,spice-gtk)
3396 ("telepathy-glib" ,telepathy-glib)
3398 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3399 (synopsis "Remote desktop viewer for GNOME")
3400 (description "Vinagre is a remote display client supporting the VNC, SPICE
3401 and RDP protocols.")
3402 (license license:gpl3+)))
3404 (define-public dconf
3411 "mirror://gnome/sources/" name "/"
3412 (version-major+minor version) "/"
3413 name "-" version ".tar.xz"))
3414 (patches (search-patches "dconf-meson-0.52.patch"))
3417 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3418 (build-system meson-build-system)
3420 ;; In Requires of dconf.pc.
3426 `(("bash-completion" ,bash-completion)
3427 ("libxslt" ,libxslt) ;for xsltproc
3428 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3429 ("docbook-xml" ,docbook-xml-4.2)
3430 ("docbook-xsl" ,docbook-xsl)
3431 ("glib:bin" ,glib "bin")
3432 ("gtk-doc" ,gtk-doc)
3433 ("pkg-config" ,pkg-config)
3436 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3437 ; or /etc/machine-id.
3439 #:configure-flags '("-Denable-gtk-doc=true")))
3440 (home-page "https://developer.gnome.org/dconf")
3441 (synopsis "Low-level GNOME configuration system")
3442 (description "Dconf is a low-level configuration system. Its main purpose
3443 is to provide a backend to GSettings on platforms that don't already have
3444 configuration storage systems.")
3445 (license license:lgpl2.1+)))
3447 (define-public json-glib
3453 (uri (string-append "mirror://gnome/sources/" name "/"
3454 (version-major+minor version) "/"
3455 name "-" version ".tar.xz"))
3458 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3459 (build-system meson-build-system)
3461 `(("gettext" ,gettext-minimal)
3462 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3463 ("gobject-introspection" ,gobject-introspection)
3464 ("pkg-config" ,pkg-config)))
3466 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3467 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3468 (synopsis "Compiler for the GObject type system")
3470 "JSON-GLib is a C library based on GLib providing serialization and
3471 deserialization support for the JavaScript Object Notation (JSON) format
3472 described by RFC 4627. It provides parser and generator GObject classes and
3473 various wrappers for the complex data types employed by JSON, such as arrays
3475 (license license:lgpl2.1+)))
3477 (define-public libxklavier
3479 (name "libxklavier")
3482 ;; Note: There's no tarball at ftp.gnome.org for this version.
3485 (url "https://anongit.freedesktop.org/git/libxklavier")
3486 (commit (string-append "libxklavier-" version))))
3489 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3490 (file-name (git-file-name name version))))
3491 (build-system gnu-build-system)
3494 (list (string-append "--with-xkb-base="
3495 (assoc-ref %build-inputs "xkeyboard-config")
3497 "--disable-xmodmap-support")))
3499 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3500 ("gobject-introspection" ,gobject-introspection)
3501 ("pkg-config" ,pkg-config)
3502 ("gtk-doc" ,gtk-doc)
3503 ("intltool" ,intltool)
3505 ("autoconf" ,autoconf)
3506 ("automake" ,automake)
3507 ("libtool" ,libtool)))
3509 ;; Required by libxklavier.pc.
3511 ("libxml2" ,libxml2)))
3513 `(("iso-codes" ,iso-codes)
3515 ("libxkbfile" ,libxkbfile)
3516 ("xkbcomp" ,xkbcomp)
3517 ("xkeyboard-config" ,xkeyboard-config)))
3518 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3519 (synopsis "High-level API for X Keyboard Extension")
3521 "LibXklavier is a library providing high-level API for X Keyboard
3522 Extension known as XKB. This library is intended to support XFree86 and other
3523 commercial X servers. It is useful for creating XKB-related software (layout
3525 (license license:lgpl2.0+)))
3527 (define-public python2-rsvg
3528 ;; XXX: This is actually a subset of gnome-python-desktop.
3530 (name "python2-rsvg")
3536 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3537 version ".tar.bz2"))
3540 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3541 (build-system gnu-build-system)
3543 `(("pkg-config" ,pkg-config)))
3545 `(("python" ,python-2)
3546 ("python2-pygtk" ,python2-pygtk)
3547 ("librsvg" ,librsvg)))
3548 (home-page "https://www.gnome.org")
3549 (synopsis "Python bindings to librsvg")
3551 "This package provides Python bindings to librsvg, the SVG rendering
3554 ;; This is the license of the rsvg bindings. The license of each module
3555 ;; of gnome-python-desktop is given in 'COPYING'.
3556 (license license:lgpl2.1+)))
3558 (define-public glib-networking
3560 (name "glib-networking")
3564 (uri (string-append "mirror://gnome/sources/glib-networking/"
3565 (version-major+minor version) "/"
3566 "glib-networking-" version ".tar.xz"))
3569 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3570 (build-system meson-build-system)
3572 `(#:configure-flags '("-Dlibproxy_support=false")))
3574 `(("pkg-config" ,pkg-config)
3575 ("intltool" ,intltool)))
3579 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3580 (home-page "https://www.gnome.org")
3581 (synopsis "Network-related GIO modules")
3583 "This package contains various network related extensions for the GIO
3585 (license license:lgpl2.0+)))
3593 (uri (string-append "mirror://gnome/sources/rest/"
3594 (version-major+minor version) "/"
3595 name "-" version ".tar.xz"))
3598 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3599 (build-system gnu-build-system)
3601 '(#:tests? #f ; tests require internet connection
3603 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3605 `(("glib-mkenums" ,glib "bin")
3606 ("gobject-introspection" ,gobject-introspection)
3607 ("pkg-config" ,pkg-config)))
3609 ;; rest-0.7.pc refers to all these.
3611 ("libsoup" ,libsoup)
3612 ("libxml2" ,libxml2)))
3613 (home-page "https://www.gtk.org/")
3614 (synopsis "RESTful web api query library")
3616 "This library was designed to make it easier to access web services that
3617 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3618 libxml to ease remote use of the RESTful API.")
3619 (license license:lgpl2.1+)))
3621 (define-public libsoup
3627 (uri (string-append "mirror://gnome/sources/libsoup/"
3628 (version-major+minor version) "/"
3629 "libsoup-" version ".tar.xz"))
3632 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3633 (build-system meson-build-system)
3634 (outputs '("out" "doc"))
3636 `(#:modules ((guix build utils)
3637 (guix build meson-build-system)
3640 #:configure-flags '("-Dgtk_doc=true")
3642 (modify-phases %standard-phases
3643 (add-after 'unpack 'adjust-tests
3645 ;; This test fails due to missing /etc/nsswitch.conf
3646 ;; in the build environment.
3647 (substitute* "tests/socket-test.c"
3648 ((".*/sockets/unconnected.*") ""))
3650 ;; These fail because "subdomain.localhost" does not resolve in
3651 ;; the build environment.
3652 (substitute* "tests/hsts-test.c"
3653 ((".*/hsts/basic.*") "")
3654 ((".*/hsts/subdomains.*") "")
3655 ((".*/hsts/superdomain.*") "")
3656 ((".*/hsts/utf8-address.*") ""))
3657 (substitute* "tests/hsts-db-test.c"
3658 ((".*/hsts-db/subdomains.*") ""))
3660 ;; Generate a self-signed certificate that has "localhost" as its
3661 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3662 ;; 3.5.12, tests such as "ssl-tests" fail:
3664 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3666 ;; 'certtool' is interactive so we have to pipe it the answers.
3667 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3668 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3669 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3670 (for-each (lambda (line)
3675 "Guix" ;Organizational unit name
3676 "GNU" ;Organization name
3678 "" ;State or province
3680 "" ;subject's domain component (DC)
3683 "-1" ;expiration time
3684 "N" ;belong to authority?
3685 "N" ;web client certificate?
3687 "Y" ;web server certificate?
3688 "localhost" ;dnsName of subject
3689 "" ;dnsName of subject (end)
3691 "127.0.0.1" ;IP address of subject
3693 "" ;encryption (RSA)?
3694 "" ;data encryption?
3695 "" ;sign OCSP requests?
3698 "" ;email protection?
3699 "" ;URI of the CRL distribution point
3704 (add-after 'install 'move-doc
3705 (lambda* (#:key outputs #:allow-other-keys)
3706 (let ((out (assoc-ref outputs "out"))
3707 (doc (assoc-ref outputs "doc")))
3708 (mkdir-p (string-append doc "/share"))
3709 (copy-recursively (string-append out "/share/gtk-doc")
3710 (string-append doc "/share/gtk-doc"))
3711 (delete-file-recursively (string-append out "/share/gtk-doc"))
3714 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3715 ("gobject-introspection" ,gobject-introspection)
3716 ("gtk-doc" ,gtk-doc)
3717 ("intltool" ,intltool)
3718 ("pkg-config" ,pkg-config)
3719 ("python" ,python-wrapper)
3721 ;; These are needed for the tests.
3722 ;; FIXME: Add PHP once available.
3724 ("gnutls" ,gnutls) ;for 'certtool'
3727 ;; libsoup-2.4.pc refers to all these.
3728 `(("brotli" ,google-brotli)
3731 ("libxml2" ,libxml2)
3735 `(("glib-networking" ,glib-networking)
3736 ("mit-krb5" ,mit-krb5)))
3737 (home-page "https://live.gnome.org/LibSoup/")
3738 (synopsis "GLib-based HTTP Library")
3740 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3741 and the GLib main loop, to integrate well with GNOME applications.")
3742 (license license:lgpl2.0+)))
3744 (define-public libsecret
3751 "mirror://gnome/sources/libsecret/"
3752 (version-major+minor version) "/"
3753 "libsecret-" version ".tar.xz"))
3756 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
3757 (build-system gnu-build-system)
3758 (outputs '("out" "doc"))
3760 `(#:tests? #f ; FIXME: Testing hangs.
3762 (list (string-append "--with-html-dir="
3763 (assoc-ref %outputs "doc")
3764 "/share/gtk-doc/html"))))
3766 `(("gettext" ,gettext-minimal)
3767 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3768 ("gobject-introspection" ,gobject-introspection)
3769 ("pkg-config" ,pkg-config)
3771 ("xsltproc" ,libxslt)))
3772 ;; These are needed for the tests.
3773 ;; FIXME: Add gjs once available.
3775 ;("python2" ,python-2)
3776 ;("python2-dbus" ,python2-dbus)
3777 ;("python2-pygobject" ,python2-pygobject)
3778 ;("python2-pygobject-2" ,python2-pygobject-2)))
3780 `(("glib" ,glib))) ; required by libsecret-1.pc
3782 `(("docbook-xsl" ,docbook-xsl)
3783 ("libgcrypt" ,libgcrypt)
3784 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3785 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3786 (synopsis "GObject bindings for \"Secret Service\" API")
3788 "Libsecret is a GObject based library for storing and retrieving passwords
3789 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3790 (license license:lgpl2.1+)))
3792 (define-public five-or-more
3794 (name "five-or-more")
3799 (uri (string-append "mirror://gnome/sources/five-or-more/"
3800 (version-major+minor version) "/"
3801 "five-or-more-" version ".tar.xz"))
3803 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
3804 (build-system meson-build-system)
3808 (modify-phases %standard-phases
3809 (add-after 'unpack 'skip-gtk-update-icon-cache
3811 (substitute* "meson_post_install.py"
3812 (("gtk-update-icon-cache") (which "true")))
3815 `(("pkg-config" ,pkg-config)
3816 ("appstream-glib" ,appstream-glib)
3817 ("desktop-file-utils" ,desktop-file-utils)
3818 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3819 ("intltool" ,intltool)
3820 ("itstool" ,itstool)
3822 ("xmllint" ,libxml2)))
3825 ("libgnome-games-support" ,libgnome-games-support)
3826 ("librsvg" ,librsvg)))
3827 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3828 (synopsis "Logic puzzle game")
3829 (description "Five or More is a game where you try to align
3830 five or more objects of the same color and shape causing them to disappear.
3831 On every turn more objects will appear, until the board is full.
3832 Try to last as long as possible.")
3833 (license license:gpl2+)))
3835 (define-public gnome-mines
3837 (name "gnome-mines")
3842 (uri (string-append "mirror://gnome/sources/" name "/"
3843 (version-major+minor version) "/"
3844 name "-" version ".tar.xz"))
3847 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
3848 (build-system meson-build-system)
3852 (modify-phases %standard-phases
3853 (add-after 'unpack 'skip-gtk-update-icon-cache
3855 (substitute* "build-aux/meson_post_install.py"
3856 (("gtk-update-icon-cache") (which "true")))
3859 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3860 ("pkg-config" ,pkg-config)
3861 ("desktop-file-utils" ,desktop-file-utils)
3862 ("intltool" ,intltool)
3863 ("itstool" ,itstool)
3866 ("appstream-glib" ,appstream-glib)))
3869 ("libgnome-games-support" ,libgnome-games-support)
3870 ("librsvg" ,librsvg)))
3871 (home-page "https://wiki.gnome.org/Apps/Mines")
3872 (synopsis "Minesweeper game")
3874 "Mines (previously gnomine) is a puzzle game where you locate mines
3875 floating in an ocean using only your brain and a little bit of luck.")
3876 (license license:gpl2+)))
3878 (define-public gnome-sudoku
3880 (name "gnome-sudoku")
3885 (uri (string-append "mirror://gnome/sources/" name "/"
3886 (version-major+minor version) "/"
3887 name "-" version ".tar.xz"))
3890 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
3891 (build-system meson-build-system)
3895 (modify-phases %standard-phases
3896 (add-after 'unpack 'skip-gtk-update-icon-cache
3898 (substitute* "build-aux/post_install.py"
3899 (("gtk-update-icon-cache") (which "true")))
3902 `(("pkg-config" ,pkg-config)
3903 ("desktop-file-utils" ,desktop-file-utils)
3904 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3905 ("intltool" ,intltool)
3906 ("itstool" ,itstool)
3908 ("xmllint" ,libxml2)))
3911 ("json-glib" ,json-glib)
3913 ("librsvg" ,librsvg)
3914 ("qqwing" ,qqwing)))
3915 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3916 (synopsis "Japanese logic game")
3918 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3919 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3920 possible while still providing features that make playing difficult Sudoku
3922 (license license:gpl2+)))
3924 (define-public gnome-terminal
3926 (name "gnome-terminal")
3931 (uri (string-append "mirror://gnome/sources/" name "/"
3932 (version-major+minor version) "/"
3933 name "-" version ".tar.xz"))
3936 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
3937 (build-system glib-or-gtk-build-system)
3940 (list "--disable-migration" "--disable-search-provider"
3941 "--without-nautilus-extension")
3943 (modify-phases %standard-phases
3944 (add-before 'configure 'patch-/bin/true
3946 (substitute* "configure"
3947 (("/bin/true") (which "true"))))))))
3949 `(("pkg-config" ,pkg-config)
3950 ("desktop-file-utils" ,desktop-file-utils)
3951 ("intltool" ,intltool)
3952 ("itstool" ,itstool)
3953 ("xmllint" ,libxml2)))
3955 `(("dconf" ,dconf)))
3960 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3961 ("util-linux" ,util-linux "lib")
3963 (home-page "https://wiki.gnome.org/Apps/Terminal")
3964 (synopsis "Terminal emulator")
3966 "GNOME Terminal is a terminal emulator application for accessing a
3967 UNIX shell environment which can be used to run programs available on
3970 It supports several profiles, multiple tabs and implements several
3971 keyboard shortcuts.")
3972 (license license:gpl3+)))
3974 (define-public colord
3981 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3982 "colord-" version ".tar.xz"))
3984 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3985 (build-system meson-build-system)
3987 '(;; FIXME: One test fails:
3988 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3989 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3990 ;; application/x-zerosize
3993 #:configure-flags (list "-Dlocalstatedir=/var"
3994 ;; No dep on systemd.
3996 ;; Wants to install to global completion dir;
3998 "-Dbash_completion=false"
3999 "-Ddaemon_user=colord"
4002 ;; Requires spotread.
4003 "-Dargyllcms_sensor=false"
4004 ;; TODO: Requires docbook2x.
4007 (modify-phases %standard-phases
4008 (add-before 'configure 'patch-build-system
4009 (lambda* (#:key outputs #:allow-other-keys)
4010 (substitute* "rules/meson.build"
4011 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4012 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4014 (add-before 'configure 'set-sqlite3-file-name
4015 (lambda* (#:key inputs #:allow-other-keys)
4016 ;; "colormgr dump" works by invoking the "sqlite3" command.
4017 ;; Record its absolute file name.
4018 (let ((sqlite (assoc-ref inputs "sqlite")))
4019 (substitute* "client/cd-util.c"
4021 (string-append "\"" sqlite "/bin/sqlite3\"")))
4024 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4025 ("gettext" ,gettext-minimal)
4026 ("gobject-introspection" ,gobject-introspection)
4027 ("gtk-doc" ,gtk-doc)
4028 ("pkg-config" ,pkg-config)
4031 ;; colord.pc refers to all these.
4036 `(("dbus-glib" ,dbus-glib)
4038 ("libgudev" ,libgudev)
4041 ("python" ,python-wrapper)
4043 ("sane-backends" ,sane-backends)))
4044 (home-page "https://www.freedesktop.org/software/colord/")
4045 (synopsis "Color management service")
4046 (description "Colord is a system service that makes it easy to manage,
4047 install and generate color profiles to accurately color manage input and
4049 (license license:gpl2+)))
4051 (define-public geoclue
4059 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4060 version "/geoclue-" version ".tar.bz2"))
4063 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4064 (patches (search-patches "geoclue-config.patch"))))
4065 (build-system meson-build-system)
4067 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4069 `(("pkg-config" ,pkg-config)
4070 ("gobject-introspection" ,gobject-introspection)
4071 ("modem-manager" ,modem-manager)
4072 ("libnotify" ,libnotify)
4073 ("gtk-doc", gtk-doc)
4074 ("intltool" ,intltool)))
4077 ("glib:bin" ,glib "bin")
4078 ("glib-networking" ,glib-networking)
4079 ("json-glib" ,json-glib)
4080 ("libsoup" ,libsoup)))
4081 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4082 (synopsis "Geolocation service")
4083 (description "Geoclue is a D-Bus service that provides location
4084 information. The primary goal of the Geoclue project is to make creating
4085 location-aware applications as simple as possible, while the secondary goal is
4086 to ensure that no application can access location information without explicit
4087 permission from user.")
4088 (license license:gpl2+)))
4090 (define-public geocode-glib
4092 (name "geocode-glib")
4096 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4097 (version-major+minor version) "/"
4098 "geocode-glib-" version ".tar.xz"))
4101 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4102 (build-system meson-build-system)
4105 (modify-phases %standard-phases
4106 ;; The tests require a bunch of locales.
4107 (add-before 'check 'set-locales
4108 (lambda* (#:key inputs #:allow-other-keys)
4109 (setenv "GUIX_LOCPATH"
4110 (string-append (assoc-ref inputs "glibc-locales")
4114 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4115 ("glibc-locales" ,glibc-locales) ; for tests
4116 ("gettext" ,gettext-minimal)
4117 ("gobject-introspection" ,gobject-introspection)
4118 ("gtk-doc" ,gtk-doc)
4119 ("pkg-config" ,pkg-config)
4120 ("json-glib" ,json-glib)))
4122 ;; geocode-glib-1.0.pc refers to GIO.
4125 `(("libsoup" ,libsoup)))
4126 (home-page "https://github.com/GNOME/geocode-glib/")
4127 (synopsis "Geocoding and reverse-geocoding library")
4129 "geocode-glib is a convenience library for geocoding (finding longitude,
4130 and latitude from an address) and reverse geocoding (finding an address from
4131 coordinates) using the Nominatim service. geocode-glib caches requests for
4132 faster results and to avoid unnecessary server load.")
4133 (license license:lgpl2.0+)))
4135 (define-public upower
4141 (uri (string-append "https://upower.freedesktop.org/releases/"
4142 "upower-" version ".tar.xz"))
4145 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4146 (patches (search-patches "upower-builddir.patch"))
4147 (modules '((guix build utils)))
4151 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4152 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4153 ;; 'dbus-configuration-directory' in (gnu services dbus)
4154 ;; expects it in etc/. Thus, move it back to its previous
4156 (substitute* "src/Makefile.in"
4157 (("^dbusconfdir =.*$")
4158 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4160 (build-system glib-or-gtk-build-system)
4162 '( ;; The tests want to contact the system bus, which can't be done in the
4163 ;; build environment. The integration test can run, but the last of
4164 ;; the up-self-tests doesn't. Disable tests for now.
4166 #:configure-flags (list "--localstatedir=/var"
4167 (string-append "--with-udevrulesdir="
4168 (assoc-ref %outputs "out")
4169 "/lib/udev/rules.d"))))
4171 `(("gobject-introspection" ,gobject-introspection)
4172 ("pkg-config" ,pkg-config)
4173 ("intltool" ,intltool)
4177 ("libxslt" ,libxslt) ;for 'xsltproc'
4178 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4179 ("docbook-xsl" ,docbook-xsl)))
4181 `(("dbus-glib" ,dbus-glib)
4182 ("libgudev" ,libgudev)
4183 ("libusb" ,libusb)))
4185 ;; In Requires of upower-glib.pc.
4187 (home-page "https://upower.freedesktop.org/")
4188 (synopsis "System daemon for managing power devices")
4190 "UPower is an abstraction for enumerating power devices,
4191 listening to device events and querying history and statistics. Any
4192 application or service on the system can access the org.freedesktop.UPower
4193 service via the system message bus.")
4194 (license license:gpl2+)))
4196 (define-public libgweather
4198 (name "libgweather")
4202 (uri (string-append "mirror://gnome/sources/" name "/"
4203 (version-major+minor version) "/"
4204 name "-" version ".tar.xz"))
4207 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4208 (build-system meson-build-system)
4210 `(#:tests? #f ; one of two tests requires network access
4212 `(,(string-append "-Dzoneinfo_dir="
4213 (assoc-ref %build-inputs "tzdata")
4214 "/share/zoneinfo"))))
4216 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4217 ("gobject-introspection" ,gobject-introspection)
4218 ("pkg-config" ,pkg-config)
4220 ("intltool" ,intltool)))
4222 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4225 ("gdk-pixbuf" ,gdk-pixbuf)
4226 ("libxml2" ,libxml2)
4227 ("libsoup" ,libsoup)
4228 ("geocode-glib" ,geocode-glib)))
4230 `(("tzdata" ,tzdata)))
4231 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4232 (synopsis "Location, time zone, and weather library for GNOME")
4234 "libgweather is a library to access weather information from online
4235 services for numerous locations.")
4236 (license license:gpl2+)))
4238 (define-public gnome-settings-daemon
4240 (name "gnome-settings-daemon")
4245 (uri (string-append "mirror://gnome/sources/" name "/"
4246 (version-major+minor version) "/"
4247 name "-" version ".tar.xz"))
4250 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4251 (build-system meson-build-system)
4255 (list (string-append "-Dudev_dir="
4256 (assoc-ref %outputs "out")
4257 "/lib/udev/rules.d/")
4259 ;; Otherwise, the RUNPATH will lack the final path component.
4260 (string-append "-Dc_link_args=-Wl,-rpath="
4261 (assoc-ref %outputs "out")
4262 "/lib/gnome-settings-daemon-3.0"))
4263 ;; Color management test can't reach the colord system service.
4266 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4267 ("pkg-config" ,pkg-config)
4268 ("intltool" ,intltool)
4269 ("xsltproc" ,libxslt)
4270 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4271 ("docbook-xml" ,docbook-xml-4.2)
4272 ("docbook-xsl" ,docbook-xsl)))
4274 `(("alsa-lib" ,alsa-lib)
4276 ("libgudev" ,libgudev)
4279 ("pulseaudio" ,pulseaudio)
4280 ("libcanberra" ,libcanberra)
4282 ("libxtst" ,libxtst)
4284 ("libnotify" ,libnotify)
4285 ("geoclue" ,geoclue)
4286 ("geocode-glib" ,geocode-glib)
4287 ("libgweather" ,libgweather)
4288 ("gnome-desktop" ,gnome-desktop)
4291 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4292 ("libwacom" ,libwacom)
4293 ("librsvg" ,librsvg)
4294 ("xf86-input-wacom" ,xf86-input-wacom)
4295 ("wayland" ,wayland)
4296 ("network-manager" ,network-manager)
4298 ("modem-manager" ,modem-manager)))
4299 (home-page "https://www.gnome.org")
4300 (synopsis "GNOME settings daemon")
4302 "This package contains the daemon responsible for setting the various
4303 parameters of a GNOME session and the applications that run under it. It
4304 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4305 settings, themes, mouse settings, and startup of other daemons.")
4306 (license license:gpl2+)))
4308 (define-public totem-pl-parser
4310 (name "totem-pl-parser")
4314 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4315 (version-major+minor version) "/"
4316 "totem-pl-parser-" version ".tar.xz"))
4319 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4320 (build-system meson-build-system)
4322 ;; FIXME: Tests require gvfs.
4325 `(("intltool" ,intltool)
4326 ("glib" ,glib "bin")
4327 ("gobject-introspection" ,gobject-introspection)
4328 ("pkg-config" ,pkg-config)))
4332 ("libarchive" ,libarchive)
4333 ("libgcrypt" ,libgcrypt)
4334 ("libxml2" ,libxml2)))
4336 `(("libsoup" ,libsoup)))
4337 (home-page "https://projects.gnome.org/totem")
4338 (synopsis "Library to parse and save media playlists for GNOME")
4339 (description "Totem-pl-parser is a GObjects-based library to parse and save
4340 playlists in a variety of formats.")
4341 (license license:lgpl2.0+)))
4343 (define-public aisleriot
4349 (uri (string-append "mirror://gnome/sources/aisleriot/"
4350 (version-major+minor version) "/"
4351 "aisleriot-" version ".tar.xz"))
4354 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4355 (build-system glib-or-gtk-build-system)
4358 '("--with-platform=gtk-only"
4359 "--with-card-theme-formats=svg")))
4361 `(("desktop-file-utils" ,desktop-file-utils)
4362 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4363 ("intltool" ,intltool)
4364 ("itstool" ,itstool)
4365 ("pkg-config" ,pkg-config)
4366 ("xmllint" ,libxml2)))
4369 ("guile" ,guile-2.2)
4370 ("libcanberra" ,libcanberra)
4371 ("librsvg" ,librsvg)))
4372 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4373 (synopsis "Solitaire card games")
4375 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4376 which are easy to play with the aid of a mouse.")
4377 (license license:gpl3+)))
4385 (uri (string-append "mirror://gnome/sources/amtk/"
4386 (version-major+minor version) "/"
4387 "amtk-" version ".tar.xz"))
4390 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4391 (build-system gnu-build-system)
4393 '(#:configure-flags '("--enable-gtk-doc")))
4395 `(("gobject-introspection" ,gobject-introspection)
4396 ("glib:bin" ,glib "bin") ; for glib-mkenums
4397 ("gtk-doc" ,gtk-doc)
4398 ("pkg-config" ,pkg-config)))
4402 (home-page "https://wiki.gnome.org/Projects/Amtk")
4403 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4405 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4406 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4407 both a traditional UI or a modern UI with a GtkHeaderBar.")
4408 (license license:lgpl2.1+)))
4410 (define-public devhelp
4416 (uri (string-append "mirror://gnome/sources/" name "/"
4417 (version-major+minor version) "/"
4418 name "-" version ".tar.xz"))
4421 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4422 (build-system meson-build-system)
4426 (modify-phases %standard-phases
4427 (add-after 'unpack 'skip-gtk-update-icon-cache
4428 ;; Don't create 'icon-theme.cache'.
4430 (substitute* "meson_post_install.py"
4431 (("gtk-update-icon-cache") "true"))
4434 `(("intltool" ,intltool)
4435 ("itstool" ,itstool)
4436 ("gobject-introspection" ,gobject-introspection)
4437 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4438 ("pkg-config" ,pkg-config)))
4441 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4442 ("webkitgtk" ,webkitgtk)))
4443 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4444 (synopsis "API documentation browser for GNOME")
4446 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4447 natively with GTK-Doc (the API reference system developed for GTK+ and used
4448 throughout GNOME for API documentation).")
4449 (license license:gpl2+)))
4458 (uri (string-append "mirror://gnome/sources/cogl/"
4459 (version-major+minor version) "/"
4460 "cogl-" version ".tar.xz"))
4462 (base32 "0x8v4n61q89qy27v824bqswpz6bmn801403w2q3pa1lcwk9ln4vd"))))
4463 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4464 ;; cogl, corresponding changes may be appropriate in mutter as well.
4465 (build-system gnu-build-system)
4467 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4468 ("gobject-introspection" ,gobject-introspection)
4469 ("xorg-server" ,xorg-server-for-tests)
4470 ("pkg-config" ,pkg-config)))
4473 ("gdk-pixbuf" ,gdk-pixbuf)
4475 ("libxext" ,libxext)
4476 ("libxfixes" ,libxfixes)
4477 ("libxdamage" ,libxdamage)
4478 ("libxcomposite" ,libxcomposite)
4479 ("libxrandr" ,libxrandr)))
4484 ("gstreamer" ,gstreamer)
4485 ("gst-plugins-base" ,gst-plugins-base)
4486 ("wayland" ,wayland)))
4488 `(#:disallowed-references (,xorg-server-for-tests)
4489 #:configure-flags (list "--enable-cogl-gst"
4490 "--enable-wayland-egl-platform"
4491 "--enable-wayland-egl-server"
4493 ;; Arrange to pass an absolute file name to
4494 ;; dlopen for libGL.so.
4495 (string-append "--with-gl-libname="
4496 (assoc-ref %build-inputs "mesa")
4499 (modify-phases %standard-phases
4500 (add-before 'check 'start-xorg-server
4501 (lambda* (#:key tests? inputs #:allow-other-keys)
4504 ;; The test suite requires a running X server.
4505 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
4506 (assoc-ref inputs "xorg-server")))
4507 (setenv "DISPLAY" ":1")
4509 (format #t "test suite not run~%"))
4511 (home-page "https://www.cogl3d.org")
4512 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4514 "Cogl is a small library for using 3D graphics hardware to draw pretty
4515 pictures. The API departs from the flat state machine style of OpenGL and is
4516 designed to make it easy to write orthogonal components that can render
4517 without stepping on each others toes.")
4518 (license (list license:expat ; most of the code
4519 license:bsd-3 ; cogl/cogl-point-in-poly.c
4520 license:sgifreeb2.0 ; cogl-path/tesselator/
4521 license:asl2.0)))) ; examples/android/
4523 (define-public clutter
4530 (uri (string-append "mirror://gnome/sources/" name "/"
4531 (version-major+minor version) "/"
4532 name "-" version ".tar.xz"))
4535 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4536 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4537 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4538 (build-system gnu-build-system)
4540 "doc")) ;9 MiB of gtk-doc HTML pages
4542 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4543 ("gobject-introspection" ,gobject-introspection)
4544 ("pkg-config" ,pkg-config)
4545 ("xsltproc" ,libxslt)))
4551 ("json-glib" ,json-glib)
4553 ("libxcomposite" ,libxcomposite)
4554 ("libxdamage" ,libxdamage)
4555 ("libxext" ,libxext)
4556 ("xinput" ,xinput)))
4558 `(("libxkbcommon" ,libxkbcommon)
4561 `(#:configure-flags (list "--enable-x11-backend=yes"
4563 ;; This produces share/doc/{clutter,cally}.
4564 (string-append "--with-html-dir="
4565 (assoc-ref %outputs "doc")
4567 ;; XXX FIXME: Get test suite working. It would probably fail in the
4568 ;; same way the cogl tests fail, since clutter is based on cogl.
4570 (home-page "http://www.clutter-project.org")
4571 (synopsis "OpenGL-based interactive canvas library")
4573 "Clutter is an OpenGL-based interactive canvas library, designed for
4574 creating fast, mainly 2D single window applications such as media box UIs,
4575 presentations, kiosk style applications and so on.")
4576 (license license:lgpl2.0+)))
4578 (define-public clutter-gtk
4580 (name "clutter-gtk")
4585 (uri (string-append "mirror://gnome/sources/" name "/"
4586 (version-major+minor version) "/"
4587 name "-" version ".tar.xz"))
4590 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4591 (build-system gnu-build-system)
4593 `(("pkg-config" ,pkg-config)
4594 ("gobject-introspection" ,gobject-introspection)))
4596 ;; clutter-gtk.pc refers to all these.
4597 `(("clutter" ,clutter)
4599 (home-page "http://www.clutter-project.org")
4600 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4602 "Clutter is an OpenGL-based interactive canvas library, designed for
4603 creating fast, mainly 2D single window applications such as media box UIs,
4604 presentations, kiosk style applications and so on.")
4605 (license license:lgpl2.0+)))
4607 (define-public clutter-gst
4609 (name "clutter-gst")
4614 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4615 (version-major+minor version) "/"
4616 "clutter-gst-" version ".tar.xz"))
4618 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4619 (build-system gnu-build-system)
4621 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4622 ("pkg-config" ,pkg-config)
4623 ("gobject-introspection" ,gobject-introspection)))
4625 `(("clutter" ,clutter)
4626 ("gstreamer" ,gstreamer)
4627 ("gst-plugins-base" ,gst-plugins-base)))
4628 (home-page "http://www.clutter-project.org")
4629 (synopsis "Integration library for using GStreamer with Clutter")
4631 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4632 It provides a GStreamer sink to upload frames to GL and an actor that
4633 implements the ClutterGstPlayer interface using playbin. Clutter is an
4634 OpenGL-based interactive canvas library.")
4635 (license license:lgpl2.0+)))
4637 (define-public libchamplain
4639 (name "libchamplain")
4644 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4648 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4649 (build-system gnu-build-system)
4650 (arguments '(#:configure-flags '("--enable-vala")))
4652 `(("gobject-introspection" ,gobject-introspection)
4653 ("pkg-config" ,pkg-config)
4656 `(("libsoup" ,libsoup)
4658 ("clutter" ,clutter)
4659 ("clutter-gtk" ,clutter-gtk)
4660 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4664 (home-page "https://projects.gnome.org/libchamplain/")
4665 (synopsis "C library providing a ClutterActor to display maps")
4667 "libchamplain is a C library providing a ClutterActor to display maps.
4668 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4669 and Perl bindings are also available. It supports numerous free map sources
4670 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4671 (license license:lgpl2.1+)))
4680 (uri (string-append "mirror://gnome/sources/gom/"
4681 (version-major+minor version) "/"
4682 "gom-" version ".tar.xz"))
4685 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4686 (build-system gnu-build-system)
4688 `(("intltool" ,intltool)
4689 ("pkg-config" ,pkg-config)
4690 ("gobject-introspection" ,gobject-introspection)))
4693 ("gdk-pixbuf" ,gdk-pixbuf)
4694 ("sqlite" ,sqlite)))
4695 ;; XXX TODO: Figure out how to run the test suite.
4696 (arguments `(#:tests? #f))
4697 (home-page "https://wiki.gnome.org/Projects/Gom")
4698 (synopsis "Object mapper from GObjects to SQLite")
4700 "Gom provides an object mapper from GObjects to SQLite. It helps you
4701 write applications that need to store structured data as well as make complex
4702 queries upon that data.")
4703 (license license:lgpl2.1+)))
4705 (define-public libgnome-games-support
4707 (name "libgnome-games-support")
4711 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4712 (version-major+minor version) "/"
4713 "libgnome-games-support-" version ".tar.xz"))
4716 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4717 (build-system gnu-build-system)
4720 (modify-phases %standard-phases
4721 (add-before 'check 'pre-check
4723 ;; Tests require a writable HOME.
4724 (setenv "HOME" (getcwd))
4727 `(("intltool" ,intltool)
4728 ("pkg-config" ,pkg-config)
4731 ;; Required by libgnome-games-support-1.0.pc
4733 ("libgee" ,libgee)))
4734 (home-page "https://www.gnome.org/")
4735 (synopsis "Useful functionality shared among GNOME games")
4737 "libgnome-games-support is a small library intended for internal use by
4738 GNOME Games, but it may be used by others.")
4739 (license license:lgpl3+)))
4741 (define-public gnome-klotski
4743 (name "gnome-klotski")
4747 (uri (string-append "mirror://gnome/sources/" name "/"
4748 (version-major+minor version) "/"
4749 name "-" version ".tar.xz"))
4752 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
4753 (build-system meson-build-system)
4757 (modify-phases %standard-phases
4758 (add-after 'unpack 'skip-gtk-update-icon-cache
4759 ;; Don't create 'icon-theme.cache'.
4761 (substitute* "build-aux/meson_post_install.py"
4762 (("gtk-update-icon-cache") (which "true")))
4765 `(("desktop-file-utils" ,desktop-file-utils)
4766 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4767 ("intltool" ,intltool)
4768 ("itstool" ,itstool)
4769 ("pkg-config" ,pkg-config)
4771 ("xmllint" ,libxml2)))
4774 ("libgnome-games-support" ,libgnome-games-support)
4775 ("librsvg" ,librsvg)))
4776 (home-page "https://wiki.gnome.org/Apps/Klotski")
4777 (synopsis "Sliding block puzzles")
4779 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4780 the patterned block to the area bordered by green markers. To do so, you will
4781 need to slide other blocks out of the way. Complete each puzzle in as few moves
4783 (license license:gpl2+)))
4785 (define-public grilo
4792 (uri (string-append "mirror://gnome/sources/" name "/"
4793 (version-major+minor version) "/"
4794 name "-" version ".tar.xz"))
4797 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4798 (build-system meson-build-system)
4800 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4801 ("intltool" ,intltool)
4802 ("pkg-config" ,pkg-config)
4803 ("gobject-introspection" ,gobject-introspection)
4804 ("gtk-doc" ,gtk-doc)
4807 `(("cyrus-sasl" ,cyrus-sasl)
4810 ("libxml2" ,libxml2)
4811 ("liboauth" ,liboauth)
4812 ("libsoup" ,libsoup)
4813 ("totem-pl-parser" ,totem-pl-parser)))
4814 (native-search-paths
4815 (list (search-path-specification
4816 (variable "GRL_PLUGIN_PATH")
4817 (files (list (string-append "lib/grilo-"
4818 (version-major+minor version)))))))
4819 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4820 (synopsis "Framework for discovering and browsing media")
4822 "Grilo is a framework focused on making media discovery and browsing easy
4823 for application developers.")
4824 (license license:lgpl2.1+)))
4826 (define-public grilo-plugins
4828 (name "grilo-plugins")
4833 (uri (string-append "mirror://gnome/sources/" name "/"
4834 (version-major+minor version) "/"
4835 name "-" version ".tar.xz"))
4838 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4839 (build-system meson-build-system)
4841 `(("gettext" ,gettext-minimal)
4842 ("glib:bin" ,glib "bin")
4843 ("gtk+:bin" ,gtk+ "bin")
4844 ("itstool" ,itstool)
4845 ("pkg-config" ,pkg-config)))
4846 ;; TODO: ahavi, gstreamer
4849 ;("gmime" ,gmime) ; unused
4850 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4852 ;("gssdp" ,gssdp) ; unused
4853 ;("gupnp" ,gupnp) ; unused
4854 ;("gupnp-av" ,gupnp-av) ; unused
4855 ("json-glib" ,json-glib)
4857 ("libgdata" ,libgdata)
4858 ("libmediaart" ,libmediaart)
4859 ;("librest" ,rest) ; unused
4860 ("libsoup" ,libsoup)
4861 ("totam-pl-parser" ,totem-pl-parser)
4862 ("tracker" ,tracker))) ; unused because it's too old
4865 ;;Disable lua-factory as it needs missing dependencies
4866 #:configure-flags '("-Denable-lua-factory=no")))
4867 (home-page "https://live.gnome.org/Grilo")
4868 (synopsis "Plugins for the Grilo media discovery library")
4870 "Grilo is a framework focused on making media discovery and browsing easy
4871 for application developers. This package provides plugins for common media
4872 discovery protocols.")
4873 (license license:lgpl2.1+)))
4875 (define-public totem
4882 (uri (string-append "mirror://gnome/sources/" name "/"
4883 (version-major+minor version) "/"
4884 name "-" version ".tar.xz"))
4887 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
4888 (build-system meson-build-system)
4890 `(("pkg-config" ,pkg-config)
4891 ("desktop-file-utils" ,desktop-file-utils)
4892 ("gobject-introspection" ,gobject-introspection)
4893 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4894 ("intltool" ,intltool)
4895 ("itstool" ,itstool)
4896 ("xmllint" ,libxml2)
4897 ("python-pylint" ,python-pylint)
4898 ("xorg-server" ,xorg-server-for-tests)))
4900 `(("dconf" ,dconf)))
4903 ("gdk-pixbuf" ,gdk-pixbuf)
4906 ("dbus-glib" ,dbus-glib)
4907 ("clutter" ,clutter)
4908 ("clutter-gtk" ,clutter-gtk)
4909 ("clutter-gst" ,clutter-gst)
4910 ("xorgproto" ,xorgproto)
4911 ("libxxf86vm" ,libxxf86vm)
4912 ("libxtst" ,libxtst)
4913 ("libxrandr" ,libxrandr)
4914 ("libxml2" ,libxml2)
4915 ("libsoup" ,libsoup)
4916 ("libpeas" ,libpeas)
4917 ("librsvg" ,librsvg)
4919 ("gnome-desktop" ,gnome-desktop)
4920 ("gstreamer" ,gstreamer)
4921 ("gst-plugins-base" ,gst-plugins-base)
4922 ("gst-plugins-good" ,gst-plugins-good)
4923 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4924 ("adwaita-icon-theme" ,adwaita-icon-theme)
4926 ("python-pygobject" ,python-pygobject)
4927 ("totem-pl-parser" ,totem-pl-parser)
4929 ("grilo-plugins" ,grilo-plugins)
4934 ;; Disable automatic GStreamer plugin installation via PackageKit and
4936 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4938 ;; Do not build .a files for the plugins, it's
4939 ;; completely useless. This saves 2 MiB.
4940 "--default-library" "shared")
4942 (modify-phases %standard-phases
4943 (add-after 'unpack 'skip-gtk-update-icon-cache
4944 ;; Don't create 'icon-theme.cache'.
4946 (substitute* "meson_post_install.py"
4947 (("gtk-update-icon-cache") "true"))
4950 'install 'disable-cache-generation
4952 (setenv "DESTDIR" "/")
4957 ;; Tests require a running X server.
4958 (system "Xvfb :1 &")
4959 (setenv "DISPLAY" ":1")
4962 'install 'wrap-totem
4963 (lambda* (#:key inputs outputs #:allow-other-keys)
4964 (let ((out (assoc-ref outputs "out"))
4965 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4966 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4967 (wrap-program (string-append out "/bin/totem")
4968 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4969 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4970 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4971 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4973 (home-page "https://wiki.gnome.org/Apps/Videos")
4974 (synopsis "Simple media player for GNOME based on GStreamer")
4975 (description "Totem is a simple yet featureful media player for GNOME
4976 which can read a large number of file formats.")
4977 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4978 ;; to be used and distributed together with GStreamer and Totem. See
4979 ;; file://COPYING in the source distribution for details.
4980 (license license:gpl2+)))
4982 (define-public rhythmbox
4988 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4989 (version-major+minor version) "/"
4990 "rhythmbox-" version ".tar.xz"))
4993 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4994 (build-system glib-or-gtk-build-system)
4997 (list "--enable-lirc"
5004 (modify-phases %standard-phases
5006 'install 'wrap-rhythmbox
5007 (lambda* (#:key inputs outputs #:allow-other-keys)
5008 (let ((out (assoc-ref outputs "out"))
5009 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5010 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5011 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5012 (python-path (getenv "PYTHONPATH")))
5013 (wrap-program (string-append out "/bin/rhythmbox")
5014 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5015 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5016 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5017 `("PYTHONPATH" ":" prefix (,python-path))))
5020 `(("dconf" ,dconf)))
5022 `(("itstool" ,itstool)
5023 ("intltool" ,intltool)
5024 ("glib" ,glib "bin")
5025 ("gobject-introspection" ,gobject-introspection)
5026 ("desktop-file-utils" ,desktop-file-utils)
5027 ("pkg-config" ,pkg-config)
5028 ("xmllint" ,libxml2)))
5030 `(("json-glib" ,json-glib)
5032 ("gnome-desktop" ,gnome-desktop)
5034 ("python-pygobject" ,python2-pygobject)
5037 ("adwaita-icon-theme" ,adwaita-icon-theme)
5039 ("grilo-plugins" ,grilo-plugins)
5040 ("gstreamer" ,gstreamer)
5041 ("gst-plugins-base" ,gst-plugins-base)
5042 ("gst-plugins-good" ,gst-plugins-good)
5043 ("totem-pl-parser" ,totem-pl-parser)
5044 ("libgudev" ,libgudev)
5045 ;;("libmtp" ,libmtp) FIXME: Not detected
5046 ("libsecret" ,libsecret)
5047 ("libsoup" ,libsoup)
5048 ("libnotify" ,libnotify)
5049 ("libpeas" ,libpeas)
5051 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5052 ;;("clutter" ,clutter)
5053 ;;("clutter-gtk" ,clutter-gtk)
5054 ;;("clutter-gst" ,clutter-gst)
5055 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5062 ("brasero" ,brasero)))
5063 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5064 (synopsis "Music player for GNOME")
5065 (description "Rhythmbox is a music playing application for GNOME. It
5066 supports playlists, song ratings, and any codecs installed through gstreamer.")
5067 (license license:gpl2+)))
5075 (uri (string-append "mirror://gnome/sources/" name "/"
5076 (version-major+minor version) "/"
5077 name "-" version ".tar.xz"))
5080 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5081 (build-system meson-build-system)
5084 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5085 (list (string-append "-Dc_link_args=-Wl,-rpath="
5086 (assoc-ref %outputs "out") "/lib/eog"))
5088 (modify-phases %standard-phases
5089 (add-after 'unpack 'skip-gtk-update-icon-cache
5090 ;; Don't create 'icon-theme.cache'.
5092 (substitute* "meson_post_install.py"
5093 (("gtk-update-icon-cache") "true"))
5095 (add-after 'install 'wrap-eog
5096 (lambda* (#:key outputs #:allow-other-keys)
5097 (let ((out (assoc-ref outputs "out"))
5098 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5099 (wrap-program (string-append out "/bin/eog")
5100 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5103 `(("dconf" ,dconf)))
5105 `(("intltool" ,intltool)
5106 ("itstool" ,itstool)
5107 ("glib" ,glib "bin")
5108 ("gobject-introspection" ,gobject-introspection)
5109 ("pkg-config" ,pkg-config)
5110 ("xmllint" ,libxml2)))
5112 `(("gnome-desktop" ,gnome-desktop)
5113 ("shared-mime-info" ,shared-mime-info)
5114 ("adwaita-icon-theme" ,adwaita-icon-theme)
5117 ("libexif" ,libexif)
5118 ("libpeas" ,libpeas)
5119 ("libjpeg" ,libjpeg-turbo)
5120 ("librsvg" ,librsvg-next)
5121 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5123 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5124 (synopsis "GNOME image viewer")
5125 (description "Eye of GNOME is the GNOME image viewer. It
5126 supports image conversion, rotation, and slideshows.")
5127 (license license:gpl2+)))
5129 (define-public eog-plugins
5130 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5131 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5132 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5133 ;; 'XDG_DATA_DIRS' appropriately set.
5135 (name "eog-plugins")
5139 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5140 (version-major+minor version) "/"
5141 "eog-plugins-" version ".tar.xz"))
5144 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5145 (build-system gnu-build-system)
5146 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5147 (synopsis "Extensions for the Eye of GNOME image viewer")
5149 `(("pkg-config" ,pkg-config)
5150 ("gettext" ,gettext-minimal)))
5155 ("libpeas" ,libpeas)
5156 ("libexif" ,libexif)
5157 ("libchamplain" ,libchamplain)))
5159 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5163 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5164 @item @dfn{Map}, which displays a map of where the picture was taken on the
5166 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5169 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5170 ;; long suspicious byte stream that goes to a
5171 ;; ".gresource.eog_postasa_plugin" ELF section.
5172 (license license:gpl2+)))
5174 (define-public libgudev
5180 (uri (string-append "mirror://gnome/sources/" name "/"
5181 version "/" name "-" version ".tar.xz"))
5184 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5185 (build-system gnu-build-system)
5188 ;; umockdev depends on libgudev.
5189 (list "--disable-umockdev")))
5191 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5192 ("gobject-introspection" ,gobject-introspection)
5193 ("pkg-config" ,pkg-config)))
5195 `(("glib" ,glib))) ; required by gudev-1.0.pc
5198 (home-page "https://wiki.gnome.org/Projects/libgudev")
5199 (synopsis "GObject bindings for libudev")
5201 "This library provides GObject bindings for libudev. It was originally
5202 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5203 (license license:lgpl2.1+)))
5211 (uri (string-append "mirror://gnome/sources/gvfs/"
5212 (version-major+minor version) "/"
5213 "gvfs-" version ".tar.xz"))
5216 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5217 (build-system meson-build-system)
5221 (list "-Dsystemduserunitdir=no"
5223 ;; Otherwise, the RUNPATH will lack the final path component.
5224 (string-append "-Dc_link_args=-Wl,-rpath="
5225 (assoc-ref %outputs "out") "/lib/gvfs"))))
5227 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5228 ("gettext" ,gettext-minimal)
5229 ("gtk-doc" ,gtk-doc)
5230 ("pkg-config" ,pkg-config)
5231 ("xsltproc" ,libxslt)))
5234 ("docbook-xml" ,docbook-xml-4.2)
5235 ("docbook-xsl" ,docbook-xsl)
5237 ("elogind" ,elogind)
5241 ("gnome-online-accounts" ,gnome-online-accounts)
5242 ("libarchive" ,libarchive)
5243 ("libbluray" ,libbluray)
5245 ("libcdio-paranoia" ,libcdio-paranoia)
5246 ("libgcrypt" ,libgcrypt)
5247 ("libgdata" ,libgdata)
5248 ("libgphoto2" ,libgphoto2)
5249 ("libgudev" ,libgudev)
5250 ("libimobiledevice" ,libimobiledevice)
5253 ("libsecret" ,libsecret)
5254 ("libsmbclient" ,samba)
5255 ("libsoup" ,libsoup)
5256 ("libxml2" ,libxml2)
5257 ("openssh" ,openssh)
5259 ("udisks" ,udisks)))
5260 (home-page "https://wiki.gnome.org/gvfs/")
5261 (synopsis "Userspace virtual file system for GIO")
5263 "GVFS is a userspace virtual file system designed to work with the I/O
5264 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5265 to all applications using the GIO API. It also supports exposing the GVFS
5266 mounts to non-GIO applications using FUSE.
5268 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5270 (license license:lgpl2.0+)))
5279 (url "https://github.com/hughsie/libgusb.git")
5281 (file-name (git-file-name name version))
5284 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5285 (build-system meson-build-system)
5287 `(("gobject-introspection" ,gobject-introspection)
5288 ("pkg-config" ,pkg-config)
5290 ("gtk-doc" ,gtk-doc)))
5292 ;; Both of these are required by gusb.pc.
5294 ("libusb" ,libusb)))
5296 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5297 (home-page "https://github.com/hughsie/libgusb")
5298 (synopsis "GLib binding for libusb1")
5300 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5301 asynchronous control, bulk and interrupt transfers with proper cancellation
5302 and integration into a mainloop. This makes it easy to integrate low level
5303 USB transfers with your high-level application or system daemon.")
5304 (license license:lgpl2.1+)))
5306 (define-public simple-scan
5308 (name "simple-scan")
5309 (version "3.36.2.1")
5313 (uri (string-append "mirror://gnome/sources/simple-scan/"
5314 (version-major+minor version) "/"
5315 "simple-scan-" version ".tar.xz"))
5317 (base32 "0aq1pf0wk536b91as54684xgmhl7lps0k2xcwha5wh6h1isyb35v"))))
5318 (build-system meson-build-system)
5319 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5321 '(#:glib-or-gtk? #t))
5327 ("gdk-pixbuf" ,gdk-pixbuf)
5329 ("libsane" ,sane-backends)))
5331 `(("gettext" ,gettext-minimal)
5332 ("itstool" ,itstool)
5333 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5334 ("pkg-config" ,pkg-config)
5336 ("xmllint" ,libxml2)))
5337 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5338 (synopsis "Document and image scanner")
5340 "Document Scanner is an easy-to-use application that lets you connect your
5341 scanner and quickly capture images and documents in an appropriate format. It
5342 supports any scanner for which a suitable SANE driver is available, which is
5343 almost all of them.")
5344 (license license:gpl3+)))
5346 (define-public eolie
5349 (version "0.9.98.1")
5352 (uri (string-append "https://adishatz.org/eolie/eolie-"
5356 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5357 (build-system meson-build-system)
5361 (modify-phases %standard-phases
5362 (add-after 'unpack 'skip-gtk-update-icon-cache
5363 ;; Don't create 'icon-theme.cache'.
5365 (substitute* "meson_post_install.py"
5366 (("gtk-update-icon-cache") "true"))
5368 (add-after 'wrap 'wrap-more
5369 (lambda* (#:key inputs outputs #:allow-other-keys)
5370 (let* ((out (assoc-ref outputs "out"))
5371 ;; These libraries must be on LD_LIBRARY_PATH.
5372 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5373 "atk" "gtk+" "gsettings-desktop-schemas"
5374 "gobject-introspection"))
5377 (string-append (assoc-ref inputs lib) "/lib"))
5380 (wrap-program (string-append out "/bin/eolie")
5381 `("LD_LIBRARY_PATH" ":" prefix (,path))
5382 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5383 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5386 `(("intltool" ,intltool)
5387 ("itstool" ,itstool)
5388 ("pkg-config" ,pkg-config)
5390 ("glib:bin" ,glib "bin")))
5392 `(("gobject-introspection" ,gobject-introspection)
5393 ("glib-networking" ,glib-networking)
5396 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5397 ("python" ,python-wrapper)
5398 ("python-dateutil" ,python-dateutil)
5399 ("python-pyfxa" ,python-pyfxa)
5400 ("python-pygobject" ,python-pygobject)
5401 ("python-pycairo" ,python-pycairo)
5402 ("python-pycrypto" ,python-pycrypto)
5403 ("libsecret" ,libsecret)
5404 ("gtkspell3" ,gtkspell3)
5405 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5406 ("webkitgtk" ,webkitgtk)))
5407 (home-page "https://wiki.gnome.org/Apps/Eolie")
5408 (synopsis "Web browser for GNOME")
5410 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5411 a secret password store, an adblocker, and a modern UI.")
5412 (license license:gpl3+)))
5414 (define-public epiphany
5420 (uri (string-append "mirror://gnome/sources/epiphany/"
5421 (version-major+minor version) "/"
5422 "epiphany-" version ".tar.xz"))
5425 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5427 (build-system meson-build-system)
5431 (modify-phases %standard-phases
5432 (add-after 'unpack 'skip-gtk-update-icon-cache
5433 ;; Don't create 'icon-theme.cache'.
5435 (substitute* "post_install.py"
5436 (("gtk-update-icon-cache") "true"))
5438 (add-after 'unpack 'disable-failing-tests
5440 (substitute* "tests/meson.build"
5441 ;; embed_shell fails, because webkitgtk apparently no longer supports
5442 ;; overriding the ftp schema
5443 ;; web_app_utils fails due to missing network access
5444 (("(embed_shell|web_app_utils)_test,")
5445 "find_program('sh'), args: ['-c', 'exit 77'],"))
5447 (add-before 'check 'pre-check
5449 ;; Tests require a running X server.
5450 (system "Xvfb :1 &")
5451 (setenv "DISPLAY" ":1")
5454 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5455 (list (string-append "-Dc_link_args=-Wl,-rpath="
5456 (assoc-ref %outputs "out") "/lib/epiphany"))))
5458 `(("dconf" ,dconf)))
5460 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5461 ("glib:bin" ,glib "bin") ; for glib-mkenums
5462 ("intltool" ,intltool)
5463 ("itstool" ,itstool)
5464 ("pkg-config" ,pkg-config)
5465 ("xmllint" ,libxml2)
5466 ("xorg-server" ,xorg-server-for-tests)))
5470 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5471 ("glib-networking" ,glib-networking)
5472 ("gnome-desktop" ,gnome-desktop)
5473 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5474 ("json-glib" ,json-glib)
5475 ("iso-codes" ,iso-codes)
5476 ("libdazzle" ,libdazzle)
5477 ("libnotify" ,libnotify)
5478 ("libsecret" ,libsecret)
5479 ("libxslt" ,libxslt)
5480 ("nettle" ,nettle) ; for hogweed
5482 ("webkitgtk" ,webkitgtk)))
5483 (home-page "https://wiki.gnome.org/Apps/Web")
5484 (synopsis "GNOME web browser")
5486 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5487 principles are simplicity and standards compliance.")
5488 (license license:gpl2+)))
5490 (define-public d-feet
5496 (uri (string-append "mirror://gnome/sources/" name "/"
5497 (version-major+minor version) "/"
5498 name "-" version ".tar.xz"))
5501 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5502 (build-system glib-or-gtk-build-system)
5504 '(#:out-of-source? #f ; tests need to run in the source directory.
5506 (modify-phases %standard-phases
5510 ;; The test suite requires a running X server.
5511 (system "Xvfb :1 &")
5512 (setenv "DISPLAY" ":1")
5513 ;; Don't fail on missing '/etc/machine-id'.
5514 (setenv "DBUS_FATAL_WARNINGS" "0")
5515 ;; tests.py and window.py don't meet E402:
5516 ;; E402 module level import not at top of file
5517 (substitute* "src/tests/Makefile"
5518 (("--ignore=E123") "--ignore=E123,E402"))
5521 'install 'wrap-program
5522 (lambda* (#:key outputs #:allow-other-keys)
5523 (let ((prog (string-append (assoc-ref outputs "out")
5526 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5527 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5530 `(("intltool" ,intltool)
5531 ("itstool" ,itstool)
5532 ("pkg-config" ,pkg-config)
5533 ("python-pep8" ,python-pep8)
5534 ("xmllint" ,libxml2)
5535 ("xorg-server" ,xorg-server-for-tests)))
5537 `(("gobject-introspection" ,gobject-introspection)
5539 ("python" ,python-wrapper)
5540 ("hicolor-icon-theme" ,hicolor-icon-theme)
5541 ("python-pygobject" ,python-pygobject)))
5542 (home-page "https://wiki.gnome.org/Apps/DFeet")
5543 (synopsis "D-Bus debugger")
5545 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5546 of running programs and invoke methods on those interfaces.")
5547 (license license:gpl2+)))
5549 (define-public yelp-xsl
5555 (uri (string-append "mirror://gnome/sources/" name "/"
5556 (version-major+minor version) "/"
5557 name "-" version ".tar.xz"))
5560 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5561 (build-system gnu-build-system)
5563 `(("gettext-minimal" ,gettext-minimal)
5564 ("itstool" ,itstool)
5565 ("xmllint" ,libxml2)))
5566 (home-page "https://wiki.gnome.org/Apps/Yelp")
5567 (synopsis "XSL stylesheets for Yelp")
5569 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5570 to format Docbook and Mallard documents.")
5571 (license license:gpl2+)))
5579 (uri (string-append "mirror://gnome/sources/" name "/"
5580 (version-major+minor version) "/"
5581 name "-" version ".tar.xz"))
5584 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5585 (build-system glib-or-gtk-build-system)
5587 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5588 ("intltool" ,intltool)
5589 ("itstool" ,itstool)
5590 ("pkg-config" ,pkg-config)))
5592 `(("dconf" ,dconf)))
5594 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5595 ("libxslt" ,libxslt)
5597 ("webkitgtk" ,webkitgtk)
5598 ("yelp-xsl" ,yelp-xsl)))
5599 (home-page "https://wiki.gnome.org/Apps/Yelp")
5600 (synopsis "GNOME help browser")
5602 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5603 man, info, and HTML documents. It can locate documents according to the
5604 freedesktop.org help system specification.")
5605 (license license:gpl2+)))
5607 (define-public yelp-tools
5613 (uri (string-append "mirror://gnome/sources/" name "/"
5614 (version-major+minor version) "/"
5615 name "-" version ".tar.xz"))
5618 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5619 (build-system gnu-build-system)
5621 `(("pkg-config" ,pkg-config)))
5623 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5624 `(("itstool" ,itstool)
5625 ("xmllint" ,libxml2)
5626 ("xsltproc" ,libxslt)))
5628 `(("yelp-xsl" ,yelp-xsl)))
5629 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5630 (synopsis "Yelp documentation tools")
5632 "Yelp-tools is a collection of scripts and build utilities to help create,
5633 manage, and publish documentation for Yelp and the web. Most of the heavy
5634 lifting is done by packages like yelp-xsl and itstool. This package just
5635 wraps things up in a developer-friendly way.")
5636 (license license:gpl2+)))
5638 (define-public libgee
5644 (uri (string-append "mirror://gnome/sources/libgee/"
5645 (version-major+minor version) "/"
5646 "libgee-" version ".tar.xz"))
5649 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5650 (build-system gnu-build-system)
5653 (modify-phases %standard-phases
5654 (add-after 'unpack 'fix-introspection-install-dir
5655 (lambda* (#:key outputs #:allow-other-keys)
5656 (let ((out (assoc-ref outputs "out")))
5657 (substitute* "gee/Makefile.in"
5658 (("@INTROSPECTION_GIRDIR@")
5659 (string-append out "/share/gir-1.0/"))
5660 (("@INTROSPECTION_TYPELIBDIR@")
5661 (string-append out "/lib/girepository-1.0/")))))))))
5663 `(("glib" ,glib "bin")
5664 ("pkg-config" ,pkg-config)))
5667 ("gobject-introspection" ,gobject-introspection)))
5668 (home-page "https://wiki.gnome.org/Projects/Libgee")
5669 (synopsis "GObject collection library")
5671 "Libgee is a utility library providing GObject-based interfaces and
5672 classes for commonly used data structures.")
5673 (license license:lgpl2.1+)))
5675 (define-public gexiv2
5681 (uri (string-append "mirror://gnome/sources/" name "/"
5682 (version-major+minor version) "/"
5683 name "-" version ".tar.xz"))
5686 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5687 (build-system meson-build-system)
5690 ("glib" ,glib "bin")
5691 ("pkg-config" ,pkg-config)
5694 ;; Listed in "Requires" section of gexiv2.pc
5695 `(("exiv2" ,exiv2)))
5698 ("gobject-introspection" ,gobject-introspection)))
5699 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5700 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5702 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5703 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5704 metadata in photo and video files of various formats.")
5705 (license license:gpl2+)))
5707 (define-public shotwell
5713 (uri (string-append "mirror://gnome/sources/shotwell/"
5714 (version-major+minor version) "/"
5715 "shotwell-" version ".tar.xz"))
5718 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
5719 (build-system meson-build-system)
5723 (modify-phases %standard-phases
5724 (add-after 'unpack 'skip-gtk-update-icon-cache
5726 (substitute* "build-aux/meson/postinstall.py"
5727 (("gtk-update-icon-cache") (which "true"))
5728 (("update-desktop-database") (which "true")))
5731 `(("dconf" ,dconf)))
5733 `(("gettext" ,gettext-minimal)
5734 ("glib:bin" ,glib "bin")
5735 ("itstool" ,itstool)
5736 ("pkg-config" ,pkg-config)
5741 ("gst-plugins-base" ,gst-plugins-base)
5742 ("gstreamer" ,gstreamer)
5743 ("json-glib" ,json-glib)
5744 ("libgdata" ,libgdata)
5746 ("libgphoto2" ,libgphoto2)
5747 ("libgudev" ,libgudev)
5749 ("libsoup" ,libsoup)
5750 ("libxml2" ,libxml2)
5752 ("webkitgtk" ,webkitgtk)))
5753 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5754 (synopsis "Photo manager for GNOME 3")
5756 "Shotwell is a digital photo manager designed for the GNOME desktop
5757 environment. It allows you to import photos from disk or camera, organize
5758 them by keywords and events, view them in full-window or fullscreen mode, and
5759 share them with others via social networking and more.")
5760 (license license:lgpl2.1+)))
5762 (define-public file-roller
5764 (name "file-roller")
5768 (uri (string-append "mirror://gnome/sources/file-roller/"
5769 (version-major+minor version) "/"
5770 "file-roller-" version ".tar.xz"))
5773 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5774 (build-system meson-build-system)
5776 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5777 ("intltool" ,intltool)
5778 ("itstool" ,itstool)
5779 ("pkg-config" ,pkg-config)
5780 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5781 ("glib:bin" ,glib "bin")))
5782 ;; TODO: Add libnautilus.
5785 ("gdk-pixbuf" ,gdk-pixbuf)
5786 ("json-glib" ,json-glib)
5787 ("libarchive" ,libarchive)
5788 ("libnotify" ,libnotify)
5790 ("libxml2" ,libxml2)))
5791 (synopsis "Graphical archive manager for GNOME")
5792 (description "File Roller is an archive manager for the GNOME desktop
5793 environment that allows users to view, unpack, and create compressed archives
5794 such as gzip tarballs.")
5795 (home-page "http://fileroller.sourceforge.net/")
5796 (license license:gpl2+)))
5798 (define-public gnome-session
5800 (name "gnome-session")
5804 (uri (string-append "mirror://gnome/sources/" name "/"
5805 (version-major+minor version) "/"
5806 name "-" version ".tar.xz"))
5809 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5813 (modify-phases %standard-phases
5814 (add-before 'configure 'pre-configure
5815 (lambda* (#:key outputs #:allow-other-keys)
5816 ;; Use elogind instead of systemd.
5817 (substitute* "meson.build"
5818 (("libsystemd-login") "libelogind")
5819 (("and libsystemd_daemon_dep.found.*") ","))
5820 (substitute* "gnome-session/gsm-systemd.c"
5821 (("#include <systemd/sd-login.h>")
5822 "#include <elogind/sd-login.h>"))
5823 ;; Remove uses of the systemd daemon.
5824 (substitute* "gnome-session/gsm-autostart-app.c"
5825 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5827 (add-after 'install 'wrap-gnome-session
5828 (lambda* (#:key inputs outputs #:allow-other-keys)
5829 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5830 (let ((glib (assoc-ref inputs "glib:bin"))
5831 (out (assoc-ref outputs "out")))
5832 (wrap-program (string-append out "/bin/gnome-session")
5833 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5837 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5838 "-Dman=false" ; FIXME: disabled because of docbook validation error
5839 "-Dsystemd_journal=false")))
5840 (build-system meson-build-system)
5842 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5843 ("pkg-config" ,pkg-config)
5844 ("intltool" ,intltool)
5845 ("xsltproc" ,libxslt)
5846 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5847 ("docbook-xsl" ,docbook-xsl)
5848 ("docbook-xml" ,docbook-xml)
5851 `(("elogind" ,elogind)
5852 ("gnome-desktop" ,gnome-desktop)
5853 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5855 ("json-glib" ,json-glib)
5857 ("libxcomposite" ,libxcomposite)
5858 ("libxtst" ,libxtst)
5861 ("xtrans" ,xtrans)))
5862 (synopsis "Session manager for GNOME")
5864 "This package contains the GNOME session manager, as well as a
5865 configuration program to choose applications starting on login.")
5866 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5867 (license license:gpl2+)))
5875 (uri (string-append "mirror://gnome/sources/" name "/"
5876 (version-major+minor version) "/"
5877 name "-" version ".tar.xz"))
5880 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
5881 (build-system gnu-build-system)
5884 (modify-phases %standard-phases
5888 ;; The test suite requires a running X server.
5889 (system "Xvfb :1 &")
5890 (setenv "DISPLAY" ":1")
5892 ;; For the missing /etc/machine-id.
5893 (setenv "DBUS_FATAL_WARNINGS" "0")
5895 ;; Our mozjs-38 package does not compile the required Intl API
5896 ;; support for these failing tests.
5897 (substitute* "installed-tests/js/testLocale.js"
5898 ((".*toBeDefined.*") "")
5899 ((".*expect\\(datestr\\).*") ""))
5900 (substitute* "installed-tests/scripts/testCommandLine.sh"
5905 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5906 ("pkg-config" ,pkg-config)
5907 ("xmllint" ,libxml2)
5909 ("dbus-launch" ,dbus)
5910 ("dconf" ,dconf) ; required to properly store settings
5911 ("uuidgen" ,util-linux)
5912 ("xvfb" ,xorg-server-for-tests)))
5914 ;; These are all in the Requires.private field of gjs-1.0.pc.
5916 ("gobject-introspection" ,gobject-introspection)
5917 ("mozjs" ,mozjs-60)))
5920 ("readline" ,readline)))
5921 (synopsis "Javascript bindings for GNOME")
5922 (home-page "https://live.gnome.org/Gjs")
5924 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5925 javascript engine and the GObject introspection framework.")
5926 (license license:gpl2+)))
5928 (define-public gedit
5934 (uri (string-append "mirror://gnome/sources/" name "/"
5935 (version-major+minor version) "/"
5936 name "-" version ".tar.xz"))
5939 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
5940 (build-system meson-build-system)
5944 ;; Otherwise, the RUNPATH will lack the final path component.
5945 (list (string-append "-Dc_link_args=-Wl,-rpath="
5946 (assoc-ref %outputs "out") "/lib/gedit"))
5948 ;; XXX: Generated .h files are sometimes used before being built.
5949 #:parallel-build? #f
5952 (modify-phases %standard-phases
5953 (add-after 'unpack 'skip-gtk-update-icon-cache
5954 ;; Don't create 'icon-theme.cache'.
5956 (substitute* "build-aux/meson/post_install.py"
5957 (("gtk-update-icon-cache") (which "true")))
5959 (add-after 'unpack 'patch-libgd-fetch
5960 (lambda* (#:key inputs #:allow-other-keys)
5961 (let ((libgd (assoc-ref inputs "libgd")))
5962 ;; Calling git is unnecessary because libgd is fetched as a
5963 ;; native input to this package.
5964 (substitute* "meson.build"
5966 (copy-recursively libgd "subprojects/libgd")
5968 (add-after 'install 'wrap-gedit
5969 (lambda* (#:key inputs outputs #:allow-other-keys)
5970 (let ((out (assoc-ref outputs "out"))
5971 (gtksourceview (assoc-ref inputs "gtksourceview"))
5972 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5973 (python-path (getenv "PYTHONPATH")))
5974 (wrap-program (string-append out "/bin/gedit")
5976 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5977 `("PYTHONPATH" ":" prefix (,python-path))
5978 ;; For language-specs.
5979 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5983 `(("dconf" ,dconf)))
5985 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5986 ("intltool" ,intltool)
5987 ("itstool" ,itstool)
5988 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5989 ("gobject-introspection" ,gobject-introspection)
5994 (url "https://gitlab.gnome.org/GNOME/libgd")
5995 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5996 (file-name (git-file-name "libgd" version))
5998 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
5999 ("pkg-config" ,pkg-config)))
6004 ("gtksourceview" ,gtksourceview)
6005 ("libpeas" ,libpeas)
6006 ("libxml2" ,libxml2)
6007 ("iso-codes" ,iso-codes)
6008 ("python-pygobject" ,python-pygobject)
6010 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6013 ("adwaita-icon-theme" ,adwaita-icon-theme)
6014 ("libsoup" ,libsoup)
6015 ("gnome-desktop" ,gnome-desktop)))
6016 (home-page "https://wiki.gnome.org/Apps/Gedit")
6017 (synopsis "GNOME text editor")
6018 (description "While aiming at simplicity and ease of use, gedit is a
6019 powerful general purpose text editor.")
6020 (license license:gpl2+)))
6022 (define-public zenity
6028 (uri (string-append "mirror://gnome/sources/zenity/"
6029 (version-major+minor version) "/"
6030 "zenity-" version ".tar.xz"))
6033 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6034 (build-system gnu-build-system)
6036 `(("gettext" ,gettext-minimal)
6037 ("itstool" ,itstool)
6038 ("pkg-config" ,pkg-config)))
6040 `(("libnotify" ,libnotify)
6041 ("webkitgtk" ,webkitgtk)))
6042 (synopsis "Display graphical dialog boxes from shell scripts")
6043 (home-page "https://www.gnome.org")
6045 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6046 to display dialog boxes from the commandline and shell scripts.")
6047 (license license:lgpl2.0+)))
6049 (define-public mutter
6055 (uri (string-append "mirror://gnome/sources/" name "/"
6056 (version-major+minor version) "/"
6057 name "-" version ".tar.xz"))
6060 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6061 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6062 ;; versions of cogl and clutter. As a result, many of the inputs,
6063 ;; propagated-inputs, and configure flags used in cogl and clutter are
6064 ;; needed here as well.
6065 (build-system meson-build-system)
6067 '(;; XXX: All mutter tests fail with the following error:
6068 ;; Settings schema 'org.gnome.mutter' is not installed
6072 ;; TODO: Enable profiler when Sysprof is packaged.
6073 (list "-Dprofiler=false"
6074 ;; Otherwise, the RUNPATH will lack the final path component.
6075 (string-append "-Dc_link_args=-Wl,-rpath="
6076 (assoc-ref %outputs "out") "/lib:"
6077 (assoc-ref %outputs "out") "/lib/mutter-5")
6079 ;; The following flags are needed for the bundled clutter
6080 (string-append "-Dxwayland_path="
6081 (assoc-ref %build-inputs "xorg-server-xwayland")
6084 ;; the remaining flags are needed for the bundled cogl
6085 (string-append "-Dopengl_libname="
6086 (assoc-ref %build-inputs "mesa")
6089 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6090 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6091 ("gobject-introspection" ,gobject-introspection)
6092 ("intltool" ,intltool)
6093 ("pkg-config" ,pkg-config)
6094 ("xorg-server" ,xorg-server-for-tests)
6096 ("autoconf" ,autoconf)
6097 ("automake" ,automake)
6098 ("libtool" ,libtool)))
6100 `(;; libmutter.pc refers to these:
6101 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6103 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6106 ("gdk-pixbuf" ,gdk-pixbuf)
6108 ("json-glib" ,json-glib)
6109 ("libinput" ,libinput)
6111 ("libxcomposite" ,libxcomposite)
6112 ("libxdamage" ,libxdamage)
6113 ("libxext" ,libxext)
6114 ("libxfixes" ,libxfixes)
6115 ("libxkbcommon" ,libxkbcommon)
6116 ("libxrandr" ,libxrandr)
6120 ("xinput" ,xinput)))
6122 `(("elogind" ,elogind)
6123 ("gnome-desktop" ,gnome-desktop)
6124 ("gnome-settings-daemon" ,gnome-settings-daemon)
6125 ("libcanberra-gtk" ,libcanberra)
6126 ("libgudev" ,libgudev)
6129 ("libwacom" ,libwacom)
6130 ("libxkbfile" ,libxkbfile)
6131 ("libxrandr" ,libxrandr)
6132 ("libxtst" ,libxtst)
6133 ("pipewire" ,pipewire)
6134 ("startup-notification" ,startup-notification)
6135 ("upower-glib" ,upower)
6136 ("xkeyboard-config" ,xkeyboard-config)
6137 ("xorg-server-xwayland" ,xorg-server-xwayland)
6138 ("zenity" ,zenity)))
6139 (synopsis "Window and compositing manager")
6140 (home-page "https://www.gnome.org")
6142 "Mutter is a window and compositing manager that displays and manages your
6143 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6144 Clutter toolkit with solid window-management logic inherited from the Metacity
6146 (license license:gpl2+)))
6148 (define-public gnome-online-accounts
6150 (name "gnome-online-accounts")
6154 (uri (string-append "mirror://gnome/sources/" name "/"
6155 (version-major+minor version) "/"
6156 name "-" version ".tar.xz"))
6159 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6160 (outputs '("out" "lib"))
6161 (build-system glib-or-gtk-build-system)
6164 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6166 (modify-phases %standard-phases
6167 (add-before 'configure 'patch-libgoa-output
6168 (lambda* (#:key outputs #:allow-other-keys)
6169 (let ((lib (assoc-ref outputs "lib")))
6170 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6172 (("@exec_prefix@") lib)
6173 (("@libdir@") (string-append lib "/lib"))
6174 (("@includedir@") (string-append lib "/include"))
6175 (("@datadir@") (string-append lib "/share")))
6176 ;; Make sure gobject-introspection knows about the output
6177 ;; too (see <https://bugs.gnu.org/36535>).
6178 (setenv "outputs" "out lib")
6181 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6182 ("gobject-introspection" ,gobject-introspection)
6183 ("intltool" ,intltool)
6184 ("pkg-config" ,pkg-config)
6186 ("xsltproc" ,libxslt)))
6188 `(("glib" ,glib) ; required by goa-1.0.pc
6189 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6191 `(("docbook-xsl" ,docbook-xsl)
6192 ("json-glib" ,json-glib)
6193 ("libsecret" ,libsecret)
6195 ("webkitgtk" ,webkitgtk)))
6196 (synopsis "Single sign-on framework for GNOME")
6197 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6199 "GNOME Online Accounts provides interfaces so that applications and
6200 libraries in GNOME can access the user's online accounts. It has providers for
6201 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6202 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6203 (license license:lgpl2.0+)))
6205 (define-public evolution-data-server
6207 (name "evolution-data-server")
6211 (uri (string-append "mirror://gnome/sources/" name "/"
6212 (version-major+minor version) "/"
6213 name "-" version ".tar.xz"))
6214 (patches (search-patches "evolution-data-server-locales.patch"
6215 "evolution-data-server-libical-compat.patch"))
6218 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6219 (build-system cmake-build-system)
6222 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6223 (runpaths (map (lambda (s)
6224 (string-append lib "/evolution-data-server/" s))
6225 '("addressbook-backends" "calendar-backends"
6226 "camel-providers" "credential-modules"
6227 "registry-modules"))))
6228 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6229 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6230 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6231 "-DENABLE_VALA_BINDINGS=ON"
6232 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6233 (string-append lib "/evolution-data-server;")
6234 (string-join runpaths ";"))
6235 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6237 (modify-phases %standard-phases
6238 (add-after 'unpack 'disable-failing-tests
6240 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6241 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6242 (delete-file-recursively "tests/book-migration")
6243 (substitute* "tests/CMakeLists.txt"
6244 (("add_subdirectory\\(book-migration\\)") ""))
6246 (add-after 'unpack 'patch-paths
6248 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6249 "tests/libedata-book/data-test-utils.c"
6250 "tests/libedata-book/test-book-cache-utils.c"
6251 "tests/libedata-cal/test-cal-cache-utils.c")
6252 (("/bin/rm") (which "rm")))
6254 (add-before 'configure 'dont-override-rpath
6256 (substitute* "CMakeLists.txt"
6257 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6258 ;; Remove it so the configure flag is respected.
6259 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6262 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6263 ("gobject-introspection" ,gobject-introspection)
6265 ("intltool" ,intltool)
6266 ("pkg-config" ,pkg-config)
6268 ("python" ,python-wrapper)))
6270 ;; These are all in the Requires field of .pc files.
6272 ("libical" ,libical)
6273 ("libsecret" ,libsecret)
6274 ("libsoup" ,libsoup)
6276 ("sqlite" ,sqlite)))
6280 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6281 ("json-glib" ,json-glib)
6282 ("libcanberra" ,libcanberra)
6283 ("libgweather" ,libgweather)
6284 ("mit-krb5" ,mit-krb5)
6285 ("openldap" ,openldap)
6286 ("webkitgtk" ,webkitgtk)))
6287 (synopsis "Store address books and calendars")
6288 (home-page "https://wiki.gnome.org/Apps/Evolution")
6290 "This package provides a unified backend for programs that work with
6291 contacts, tasks, and calendar information. It was originally developed for
6292 Evolution (hence the name), but is now used by other packages as well.")
6293 (license license:lgpl2.0)))
6295 (define-public caribou
6301 (uri (string-append "mirror://gnome/sources/" name "/"
6302 (version-major+minor version) "/"
6303 name "-" version ".tar.xz"))
6306 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6307 (build-system glib-or-gtk-build-system)
6310 (modify-phases %standard-phases
6313 (lambda* (#:key outputs #:allow-other-keys)
6314 (let ((out (assoc-ref outputs "out")))
6315 ;; Use absolute shared library path in Caribou-1.0.typelib.
6316 (substitute* "libcaribou/Makefile"
6317 (("--shared-library=libcaribou.so")
6318 (string-append "--shared-library="
6319 out "/lib/libcaribou.so")))
6321 (add-after 'install 'wrap-programs
6322 (lambda* (#:key outputs #:allow-other-keys)
6323 (let* ((out (assoc-ref outputs "out"))
6324 (python-path (getenv "PYTHONPATH"))
6325 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6329 `("PYTHONPATH" ":" prefix (,python-path))
6330 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6331 (list (string-append out "/bin/caribou-preferences")
6332 (string-append out "/libexec/antler-keyboard"))))
6335 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6336 ("gobject-introspection" ,gobject-introspection)
6337 ("intltool" ,intltool)
6338 ("pkg-config" ,pkg-config)
6341 ("xsltproc" ,libxslt)))
6343 ;; caribou-1.0.pc refers to all these.
6344 `(("libgee" ,libgee)
6345 ("libxklavier" ,libxklavier)
6346 ("libxtst" ,libxtst)
6349 `(("clutter" ,clutter)
6352 ("python-pygobject" ,python-pygobject)))
6353 (synopsis "Text entry and UI navigation application")
6354 (home-page "https://wiki.gnome.org/Projects/Caribou")
6356 "Caribou is an input assistive technology intended for switch and pointer
6358 (license license:lgpl2.1)))
6360 (define-public network-manager
6362 (name "network-manager")
6366 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6367 (version-major+minor version) "/"
6368 "NetworkManager-" version ".tar.xz"))
6369 (patches (search-patches "network-manager-plugin-path.patch"))
6372 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
6373 (modules '((guix build utils)))
6376 (substitute* "src/devices/wwan/nm-modem-manager.c"
6377 (("systemd") "elogind"))
6379 (build-system meson-build-system)
6381 "doc")) ; 8 MiB of gtk-doc HTML
6384 (let ((out (assoc-ref %outputs "out"))
6385 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6388 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
6390 (string-append "-Dc_link_args=-Wl,-rpath="
6392 out "/lib/NetworkManager/" ,version)
6393 "-Dsystemd_journal=false"
6394 "-Dsession_tracking=elogind"
6395 "-Dsuspend_resume=elogind"
6396 "-Dsystemdsystemunitdir=no"
6397 "-Dsession_tracking_consolekit=false"
6406 "--localstatedir=/var"
6407 (string-append "-Dudev_dir="
6409 (string-append "-Ddbus_conf_dir="
6410 out "/etc/dbus-1/system.d")
6412 (string-append "-Ddhclient=" dhclient)))
6414 (modify-phases %standard-phases
6415 (add-before 'configure 'pre-configure
6417 ;; These tests try to test aspects of network-manager's
6418 ;; functionality within restricted containers, but they don't
6419 ;; cope with being already in the Guix build jail as that jail
6420 ;; lacks some features that they would like to proxy over (like
6422 (substitute* "src/platform/tests/meson.build"
6423 ((".*test-address-linux.*") "")
6424 ((".*test-cleanup-linux.*") "")
6425 ((".*test-link-linux.*") "")
6426 ((".*test-route-linux.*") ""))
6427 (substitute* "src/devices/tests/meson.build"
6428 ((".*test-acd.*") "")
6429 ((".*test-lldp.*") ""))
6431 (add-after 'unpack 'patch-docbook-xml
6432 (lambda* (#:key inputs #:allow-other-keys)
6433 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
6434 "/xml/dtd/docbook")))
6435 (substitute* (find-files "." ".*\\.(xsl|xml)")
6436 (("http://.*/docbookx\\.dtd")
6437 (string-append xmldoc "/docbookx.dtd")))
6439 (add-before 'check 'pre-check
6441 ;; For the missing /etc/machine-id.
6442 (setenv "DBUS_FATAL_WARNINGS" "0")
6444 (add-before 'install 'no-polkit-magic
6445 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
6447 (setenv "PKEXEC_UID" "something")
6449 (add-after 'install 'move-doc
6450 (lambda* (#:key outputs #:allow-other-keys)
6451 (let ((out (assoc-ref outputs "out"))
6452 (doc (assoc-ref outputs "doc")))
6453 (mkdir-p (string-append doc "/share"))
6454 (for-each (lambda (directory)
6455 (copy-recursively (string-append out directory)
6456 (string-append doc directory))
6457 (delete-file-recursively
6458 (string-append out directory)))
6459 '("/share/doc" "/share/gtk-doc"))
6464 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6465 ("gtk-doc" ,gtk-doc)
6466 ("gobject-introspection" ,gobject-introspection)
6467 ("docbook-xml" ,docbook-xml)
6468 ("docbook-xsl" ,docbook-xsl)
6469 ("intltool" ,intltool)
6470 ("libxslt" ,libxslt)
6471 ("libxml2" ,libxml2)
6472 ("pkg-config" ,pkg-config)
6475 ("python" ,python-wrapper)
6476 ("python-dbus" ,python-dbus)
6477 ("python-pygobject" ,python-pygobject)))
6480 ("cyrus-sasl" ,cyrus-sasl)
6481 ("dbus-glib" ,dbus-glib)
6482 ("dnsmasq" ,dnsmasq)
6485 ("iptables" ,iptables)
6486 ("isc-dhcp" ,isc-dhcp)
6487 ("iwd" ,iwd) ; wpa_supplicant alternative
6488 ("jansson" ,jansson)
6490 ("libgcrypt" ,libgcrypt)
6491 ("libgudev" ,libgudev)
6494 ("libsoup" ,libsoup)
6495 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
6496 ("modem-manager" ,modem-manager)
6497 ("newt" ,newt) ;for the 'nmtui' console interface
6498 ("openresolv" ,openresolv) ; alternative resolv.conf manager
6501 ("readline" ,readline)
6502 ("util-linux" ,util-linux)
6503 ("elogind" ,elogind)))
6504 (synopsis "Network connection manager")
6505 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6507 "NetworkManager is a system network service that manages your network
6508 devices and connections, attempting to keep active network connectivity when
6509 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6510 devices, and provides VPN integration with a variety of different VPN
6512 ;; “This NetworkManager project consists of the daemon, client tools, and
6513 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
6515 (license (list license:gpl2+
6517 (properties '((upstream-name . "NetworkManager")))))
6519 (define-public network-manager-openvpn
6521 (name "network-manager-openvpn")
6526 "mirror://gnome/sources/NetworkManager-openvpn/"
6527 (version-major+minor version)
6528 "/NetworkManager-openvpn-" version ".tar.xz"))
6531 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
6532 (build-system gnu-build-system)
6534 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6536 (modify-phases %standard-phases
6537 (add-after 'configure 'patch-path
6538 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6539 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6541 (modprobe (string-append (assoc-ref inputs "kmod")
6543 (pretty-ovpn (string-append "\"" ovpn "\"")))
6547 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6548 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6549 (("\"/sbin/openvpn\"") pretty-ovpn)
6550 (("/sbin/modprobe") modprobe)))
6551 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6554 `(("pkg-config" ,pkg-config)
6555 ("intltool" ,intltool)))
6559 ("openvpn" ,openvpn)
6560 ("network-manager" ,network-manager)
6562 ("libsecret" ,libsecret)))
6563 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6564 (synopsis "OpenVPN plug-in for NetworkManager")
6566 "This extension of NetworkManager allows it to take care of connections
6567 to virtual private networks (VPNs) via OpenVPN.")
6568 (license license:gpl2+)
6569 (properties `((upstream-name . "NetworkManager-openvpn")))))
6571 (define-public network-manager-vpnc
6573 (name "network-manager-vpnc")
6578 "mirror://gnome/sources/NetworkManager-vpnc/"
6579 (version-major+minor version)
6580 "/NetworkManager-vpnc-" version ".tar.xz"))
6583 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6584 (build-system gnu-build-system)
6586 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6588 (modify-phases %standard-phases
6589 (add-after 'configure 'patch-path
6590 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6591 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6593 (modprobe (string-append (assoc-ref inputs "kmod")
6595 (pretty-ovpn (string-append "\"" vpnc "\"")))
6596 (substitute* "src/nm-vpnc-service.c"
6597 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6598 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6599 (("\"/sbin/vpnc\"") pretty-ovpn)
6600 (("/sbin/modprobe") modprobe)))
6603 `(("pkg-config" ,pkg-config)
6604 ("intltool" ,intltool)))
6609 ("network-manager" ,network-manager)
6610 ("network-manager-applet" ,network-manager-applet) ;for libnma
6611 ("libsecret" ,libsecret)))
6612 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6613 (synopsis "VPNC plug-in for NetworkManager")
6615 "Support for configuring virtual private networks based on VPNC.
6616 Compatible with Cisco VPN concentrators configured to use IPsec.")
6617 (license license:gpl2+)
6618 (properties `((upstream-name . "NetworkManager-vpnc")))))
6620 (define-public network-manager-openconnect
6622 (name "network-manager-openconnect")
6627 "mirror://gnome/sources/NetworkManager-openconnect/"
6628 (version-major+minor version)
6629 "/NetworkManager-openconnect-" version ".tar.xz"))
6632 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6633 (build-system gnu-build-system)
6635 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6637 (modify-phases %standard-phases
6638 (add-after 'configure 'patch-path
6639 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6640 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6641 "/sbin/openconnect"))
6642 (modprobe (string-append (assoc-ref inputs "kmod")
6644 (pretty-ovpn (string-append "\"" openconnect "\"")))
6645 (substitute* "src/nm-openconnect-service.c"
6646 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6647 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6648 (("/sbin/modprobe") modprobe)))
6651 `(("intltool" ,intltool)
6653 ("pkg-config" ,pkg-config)))
6658 ("libsecret" ,libsecret)
6659 ("libxml2" ,libxml2)
6661 ("network-manager" ,network-manager)
6662 ("openconnect" ,openconnect)))
6663 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6664 (synopsis "OpenConnect plug-in for NetworkManager")
6666 "This extension of NetworkManager allows it to take care of connections
6667 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6668 Cisco's AnyConnect SSL VPN.")
6669 (license license:gpl2+)
6670 (properties `((upstream-name . "NetworkManager-openconnect")
6672 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6673 ;; file refers to account "nm-openconnect". Specify it here
6674 ;; so that 'network-manager-service-type' creates it.
6675 (user-accounts . ("nm-openconnect"))))))
6677 (define-public mobile-broadband-provider-info
6679 (name "mobile-broadband-provider-info")
6680 (version "20190116")
6684 "mirror://gnome/sources/"
6685 "mobile-broadband-provider-info/" version "/"
6686 "mobile-broadband-provider-info-" version ".tar.xz"))
6689 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6690 (build-system gnu-build-system)
6692 `(#:tests? #f)) ; no tests
6693 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6694 (synopsis "Database of broadband connection configuration")
6695 (description "Database of broadband connection configuration.")
6696 (license license:public-domain)))
6698 (define-public network-manager-applet
6700 (name "network-manager-applet")
6704 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6705 (version-major+minor version) "/"
6706 "network-manager-applet-" version ".tar.xz"))
6709 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6710 (build-system meson-build-system)
6713 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6714 (list "-Dlibnm_gtk=true")
6717 `(("intltool" ,intltool)
6718 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6719 ("gobject-introspection" ,gobject-introspection)
6720 ("gtk-doc" ,gtk-doc)
6721 ("pkg-config" ,pkg-config)))
6723 ;; libnm-gtk.pc refers to all these.
6724 `(("dbus-glib" ,dbus-glib)
6726 ("network-manager" ,network-manager)))
6729 ("iso-codes" ,iso-codes)
6730 ("libgudev" ,libgudev)
6731 ("libnotify" ,libnotify)
6732 ("libsecret" ,libsecret)
6733 ("libselinux" ,libselinux)
6734 ("jansson" ,jansson) ; for team support
6735 ("modem-manager" ,modem-manager)
6736 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6737 (synopsis "Applet for managing network connections")
6738 (home-page "https://www.gnome.org/projects/NetworkManager/")
6740 "This package contains a systray applet for NetworkManager. It displays
6741 the available networks and allows users to easily switch between them.")
6742 (license license:gpl2+)))
6744 (define-public libxml++
6750 (uri (string-append "mirror://gnome/sources/" name "/"
6751 (version-major+minor version) "/"
6752 name "-" version ".tar.xz"))
6755 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6756 (build-system gnu-build-system)
6757 ;; libxml++-3.0.pc refers to all these.
6759 `(("libxml2" ,libxml2)
6760 ("glibmm" ,glibmm)))
6763 ("pkg-config" ,pkg-config)))
6764 (home-page "http://libxmlplusplus.sourceforge.net/")
6765 (synopsis "C++ wrapper for XML parser library libxml2")
6767 "This package provides a C++ wrapper for the XML parser library
6769 (license license:lgpl2.1+)))
6771 (define-public libxml++-2
6778 (uri (string-append "mirror://gnome/sources/" name "/"
6779 (version-major+minor version) "/"
6780 name "-" version ".tar.xz"))
6783 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6791 (uri (string-append "mirror://gnome/sources/" name "/"
6792 (version-major+minor version) "/"
6793 name "-" version ".tar.xz"))
6796 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6797 (patches (search-patches "gdm-default-session.patch"))))
6798 (build-system glib-or-gtk-build-system)
6801 `("--without-plymouth"
6802 "--disable-systemd-journal"
6804 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6805 ;; instead of having to replace it (i.e., stopping the mingetty
6806 ;; service for TTY 1 before starting GDM).
6807 "--with-initial-vt=7"
6809 ;; Use '/etc/environment' for locale settings instead of the
6810 ;; systemd-specific '/etc/locale.conf'.
6811 "--with-lang-file=/etc/environment"
6813 ,(string-append "--with-udevdir="
6814 (assoc-ref %outputs "out") "/lib/udev")
6816 "--localstatedir=/var"
6817 ,(string-append "--with-default-path="
6818 (string-join '("/run/setuid-programs"
6819 "/run/current-system/profile/bin"
6820 "/run/current-system/profile/sbin")
6822 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6823 ;; XDG_DATA_DIRS so that it finds its schemas.
6824 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6826 (modify-phases %standard-phases
6828 'configure 'pre-configure
6829 (lambda* (#:key inputs outputs #:allow-other-keys)
6830 ;; We don't have <systemd/sd-daemon.h>.
6831 (substitute* '("common/gdm-log.c"
6832 "daemon/gdm-server.c"
6833 "daemon/gdm-session-worker.c"
6834 "daemon/gdm-session-worker-job.c")
6835 (("#include <systemd/sd-daemon\\.h>") ""))
6836 ;; Use elogind for sd-login.
6837 (substitute* '("common/gdm-common.c"
6838 "daemon/gdm-local-display-factory.c"
6839 "daemon/gdm-manager.c"
6840 "libgdm/gdm-user-switching.c")
6841 (("#include <systemd/sd-login\\.h>")
6842 "#include <elogind/sd-login.h>"))
6843 ;; Check for elogind.
6844 (substitute* '("configure")
6847 ;; Look for system-installed sessions in
6848 ;; /run/current-system/profile/share.
6849 (substitute* '("libgdm/gdm-sessions.c"
6850 "daemon/gdm-session.c"
6851 "daemon/gdm-display.c"
6852 "daemon/gdm-launch-environment.c")
6854 "\"/run/current-system/profile/share/x")
6855 (("DATADIR \"/wayland")
6856 "\"/run/current-system/profile/share/wayland")
6857 (("DATADIR \"/gnome")
6858 "\"/run/current-system/profile/share/gnome"))
6859 (let ((propagate '("GDM_CUSTOM_CONF"
6863 ;; XXX: Remove this once GNOME Shell is
6864 ;; a dependency of GDM.
6866 (substitute* "daemon/gdm-session.c"
6867 (("set_up_session_environment \\(self\\);")
6868 (apply string-append
6869 "set_up_session_environment (self);\n"
6872 "gdm_session_set_environment_variable "
6873 "(self, \"" name "\","
6874 "g_getenv (\"" name "\"));\n"))
6876 ;; Find the configuration file using an environment variable.
6877 (substitute* '("common/gdm-settings.c")
6878 (("GDM_CUSTOM_CONF")
6879 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6880 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6881 " : GDM_CUSTOM_CONF)")))
6882 ;; Use service-supplied path to X.
6883 (substitute* '("daemon/gdm-server.c")
6884 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6885 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6886 (substitute* '("daemon/gdm-wayland-session.c"
6887 "daemon/gdm-x-session.c")
6888 (("\"dbus-daemon\"")
6889 "g_getenv (\"GDM_DBUS_DAEMON\")")
6891 "g_getenv (\"GDM_X_SERVER\")")
6892 (("GDMCONFDIR \"/Xsession\"")
6893 "g_getenv (\"GDM_X_SESSION\")"))
6894 ;; Use an absolute path for GNOME Session.
6895 (substitute* "daemon/gdm-launch-environment.c"
6896 (("\"gnome-session\"")
6897 (string-append "\"" (assoc-ref inputs "gnome-session")
6898 "/bin/gnome-session\"")))
6899 ;; Do not automatically select the placeholder session.
6900 (substitute* "daemon/gdm-session.c"
6901 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6902 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6903 "(g_strcmp0(search_dirs[i], \""
6904 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6906 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6907 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6908 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6910 ;; GDM requires that there be at least one desktop entry
6911 ;; file. This phase installs a hidden one that simply
6912 ;; fails. This enables users to use GDM with a
6913 ;; '~/.xsession' script with no other desktop entry files.
6914 ;; See <https://bugs.gnu.org/35068>.
6915 (add-after 'install 'install-placeholder-desktop-entry
6916 (lambda* (#:key inputs outputs #:allow-other-keys)
6917 (let* ((out (assoc-ref outputs "out"))
6918 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6919 (fail (string-append sessions "/fail.desktop")))
6921 (with-output-to-file fail
6925 '("[Desktop Entry]\n"
6927 "Type=Application\n"
6929 "Comment=This session fails immediately.\n"
6933 ;; GDM needs GNOME Session to run these applications. We link
6934 ;; their autostart files in `share/gdm/greeter/autostart'
6935 ;; because GDM explicitly tells GNOME Session to look there.
6937 ;; XXX: GNOME Shell should be linked here too, but currently
6938 ;; GNOME Shell depends on GDM.
6939 (add-after 'install 'link-autostart-files
6940 (lambda* (#:key inputs outputs #:allow-other-keys)
6941 (let* ((out (assoc-ref outputs "out"))
6942 (autostart (string-append out "/share/gdm/"
6943 "greeter/autostart"))
6944 (settings (assoc-ref inputs "gnome-settings-daemon")))
6946 (with-directory-excursion autostart
6947 (for-each (lambda (desktop)
6948 (symlink desktop (basename desktop)))
6949 (find-files (string-append settings "/etc/xdg"))))
6953 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6954 ("gobject-introspection" ,gobject-introspection)
6955 ("intltool" ,intltool)
6956 ("itstool" ,itstool)
6957 ("pkg-config" ,pkg-config)
6958 ("xmllint" ,libxml2)))
6960 `(("accountsservice" ,accountsservice)
6961 ("check" ,check) ; for testing
6962 ("elogind" ,elogind)
6963 ("gnome-session" ,gnome-session)
6964 ("gnome-settings-daemon" ,gnome-settings-daemon)
6966 ("iso-codes" ,iso-codes)
6967 ("libcanberra" ,libcanberra)
6968 ("linux-pam" ,linux-pam)))
6969 (synopsis "Display manager for GNOME")
6970 (home-page "https://wiki.gnome.org/Projects/GDM/")
6972 "GNOME Display Manager is a system service that is responsible for
6973 providing graphical log-ins and managing local and remote displays.")
6974 (license license:gpl2+)))
6976 (define-public libgtop
6982 (uri (string-append "mirror://gnome/sources/libgtop/"
6983 (version-major+minor version) "/"
6984 "libgtop-" version ".tar.xz"))
6987 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6988 (build-system gnu-build-system)
6990 `(("gobject-introspection" ,gobject-introspection)
6991 ("intltool" ,intltool)
6993 ("pkg-config" ,pkg-config)))
6995 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6996 (synopsis "Portable system access library")
6997 (home-page "https://www.gnome.org/")
6999 "LibGTop is a library to get system specific data such as CPU and memory
7000 usage and information about running processes.")
7001 (license license:gpl2+)))
7003 (define-public gnome-bluetooth
7005 (name "gnome-bluetooth")
7009 (uri (string-append "mirror://gnome/sources/" name "/"
7010 (version-major+minor version) "/"
7011 name "-" version ".tar.xz"))
7014 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7015 (build-system meson-build-system)
7017 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7018 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7019 ("gobject-introspection" ,gobject-introspection)
7020 ("intltool" ,intltool)
7021 ("pkg-config" ,pkg-config)
7022 ("xmllint" ,libxml2)))
7024 ;; gnome-bluetooth-1.0.pc refers to all these.
7029 ("libcanberra" ,libcanberra)
7030 ("libnotify" ,libnotify)))
7031 (synopsis "GNOME Bluetooth subsystem")
7032 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7034 "This package contains tools for managing and manipulating Bluetooth
7035 devices using the GNOME desktop.")
7036 (license license:lgpl2.1+)))
7038 (define-public gnome-control-center
7040 (name "gnome-control-center")
7044 (uri (string-append "mirror://gnome/sources/" name "/"
7045 (version-major+minor version) "/"
7046 name "-" version ".tar.xz"))
7049 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7050 (build-system meson-build-system)
7054 (list "-Dcheese=false"
7055 (string-append "-Dgnome_session_libexecdir="
7056 (assoc-ref %build-inputs "gnome-session")
7059 (modify-phases %standard-phases
7060 (add-before 'configure 'patch-paths
7061 (lambda* (#:key inputs #:allow-other-keys)
7062 (let ((libc (assoc-ref inputs "libc"))
7063 (tzdata (assoc-ref inputs "tzdata"))
7064 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7065 (nm-applet (assoc-ref inputs "network-manager-applet"))
7066 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7067 (substitute* "panels/datetime/tz.h"
7068 (("/usr/share/zoneinfo/zone.tab")
7069 (string-append tzdata "/share/zoneinfo/zone.tab")))
7070 (substitute* "tests/datetime/test-endianess.c"
7071 (("/usr/share/locale")
7072 (string-append libc "/share/locale")))
7073 (substitute* "panels/region/cc-region-panel.c"
7074 (("\"gkbd-keyboard-display")
7075 (string-append "\"" libgnomekbd
7076 "/bin/gkbd-keyboard-display")))
7077 (substitute* '("panels/network/net-device-wifi.c"
7078 "panels/network/net-device.c"
7079 "panels/network/connection-editor/net-connection-editor.c")
7080 (("\"nm-connection-editor")
7081 (string-append "\"" nm-applet
7082 "/bin/nm-connection-editor")))
7083 (substitute* '("panels/user-accounts/run-passwd.c")
7084 (("/usr/bin/passwd")
7085 "/run/setuid-programs/passwd"))
7086 (substitute* "panels/info/cc-info-overview-panel.c"
7087 (("DATADIR \"/gnome/gnome-version.xml\"")
7088 (string-append "\"" gnome-desktop
7089 "/share/gnome/gnome-version.xml\"")))
7091 (add-after 'unpack 'skip-gtk-update-icon-cache
7092 ;; Don't create 'icon-theme.cache'.
7094 (substitute* "build-aux/meson/meson_post_install.py"
7095 (("gtk-update-icon-cache") (which "true")))
7098 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7099 ("intltool" ,intltool)
7100 ("pkg-config" ,pkg-config)
7101 ("xsltproc" ,libxslt)
7103 ("hicolor-icon-theme" ,hicolor-icon-theme)
7104 ("python-dbusmock" ,python-dbusmock)
7105 ("xorg-server" ,xorg-server-for-tests)))
7107 `(("accountsservice" ,accountsservice)
7108 ("clutter-gtk" ,clutter-gtk)
7109 ("colord-gtk" ,colord-gtk)
7112 ("docbook-xsl" ,docbook-xsl)
7113 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7114 ("gnome-bluetooth" ,gnome-bluetooth)
7115 ("gnome-desktop" ,gnome-desktop)
7116 ("gnome-online-accounts" ,gnome-online-accounts)
7117 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7118 ("gnome-session" ,gnome-session)
7119 ("gnome-settings-daemon" ,gnome-settings-daemon)
7123 ("libcanberra" ,libcanberra)
7124 ("libgnomekbd" ,libgnomekbd)
7125 ("libgudev" ,libgudev)
7126 ("libgtop" ,libgtop)
7127 ("libpwquality" ,libpwquality)
7128 ("libsecret" ,libsecret)
7129 ("libsoup" ,libsoup)
7130 ("libxml2" ,libxml2)
7131 ("libwacom" ,libwacom)
7133 ("mit-krb5" ,mit-krb5)
7134 ("modem-manager" ,modem-manager)
7135 ("network-manager-applet" ,network-manager-applet)
7137 ("pulseaudio" ,pulseaudio)
7138 ("smbclient" ,samba)
7141 ("upower" ,upower)))
7142 (synopsis "Utilities to configure the GNOME desktop")
7143 (home-page "https://www.gnome.org/")
7145 "This package contains configuration applets for the GNOME desktop,
7146 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7147 properties, sound setup, desktop theme and background, user interface
7148 properties, screen resolution, and other GNOME parameters.")
7149 (license license:gpl2+)))
7151 (define-public gnome-shell
7153 (name "gnome-shell")
7157 (uri (string-append "mirror://gnome/sources/" name "/"
7158 (version-major+minor version) "/"
7159 name "-" version ".tar.xz"))
7162 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7163 (patches (search-patches "gnome-shell-theme.patch"
7164 "gnome-shell-disable-test.patch"))
7165 (modules '((guix build utils)))
7168 ;; Copy images for use on the GDM log-in screen.
7169 (copy-file #$(file-append %artwork-repository
7170 "/slim/0.x/background.png")
7171 "data/theme/guix-background.png")
7172 (copy-file #$(file-append %artwork-repository
7173 "/logo/Guix-horizontal-white.svg")
7174 "data/theme/guix-logo.svg")
7176 (build-system meson-build-system)
7179 #:disallowed-references ((,glib "bin")
7183 (list "-Dsystemd=false"
7184 ;; Otherwise, the RUNPATH will lack the final path component.
7185 (string-append "-Dc_link_args=-Wl,-rpath="
7186 (assoc-ref %outputs "out")
7187 "/lib/gnome-shell"))
7189 #:modules ((guix build meson-build-system)
7194 (modify-phases %standard-phases
7195 (add-after 'unpack 'fix-keysdir
7196 (lambda* (#:key outputs #:allow-other-keys)
7197 (let* ((out (assoc-ref outputs "out"))
7198 (keysdir (string-append
7199 out "/share/gnome-control-center/keybindings")))
7200 (substitute* "meson.build"
7202 (string-append "keysdir = '" keysdir "'\n")))
7204 (add-before 'configure 'convert-logo-to-png
7205 (lambda* (#:key inputs #:allow-other-keys)
7206 ;; Convert the logo from SVG to PNG.
7207 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7208 "data/theme/guix-logo.svg")))
7209 (add-before 'configure 'record-absolute-file-names
7210 (lambda* (#:key inputs #:allow-other-keys)
7211 (substitute* "js/misc/ibusManager.js"
7213 (string-append "'" (assoc-ref inputs "ibus")
7214 "/bin/ibus-daemon'")))
7215 (substitute* "js/ui/status/keyboard.js"
7216 (("'gkbd-keyboard-display'")
7217 (string-append "'" (assoc-ref inputs "libgnomekbd")
7218 "/bin/gkbd-keyboard-display'")))
7220 (add-before 'check 'pre-check
7221 (lambda* (#:key inputs #:allow-other-keys)
7222 ;; Tests require a running X server.
7223 (system "Xvfb :1 &")
7224 (setenv "DISPLAY" ":1")
7226 (add-after 'install 'wrap-programs
7227 (lambda* (#:key inputs outputs #:allow-other-keys)
7228 (let ((out (assoc-ref outputs "out"))
7229 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7230 (python-path (getenv "PYTHONPATH")))
7231 (wrap-program (string-append out "/bin/gnome-shell")
7232 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7233 ;; FIXME: gnome-shell loads these libraries with unqualified
7234 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7235 ;; alternative might be to patch gnome-shell.
7236 `("LD_LIBRARY_PATH" ":" prefix
7238 (string-append (assoc-ref inputs pkg) "/lib"))
7240 "gnome-bluetooth" "librsvg" "libgweather"))))
7243 (wrap-program (string-append out "/bin/" prog)
7244 `("PYTHONPATH" ":" prefix (,python-path))
7245 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7246 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7248 (replace 'glib-or-gtk-wrap
7249 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7250 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7251 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7252 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7253 ;; phase. Fix that since we don't need these.
7254 (wrap #:inputs (fold alist-delete inputs
7255 '("inkscape" "intltool" "glib:bin"))
7256 #:outputs outputs)))))))
7258 `(("asciidoc" ,asciidoc)
7259 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7260 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7261 ("gobject-introspection" ,gobject-introspection)
7262 ("inkscape" ,inkscape)
7263 ("intltool" ,intltool)
7264 ("pkg-config" ,pkg-config)
7266 ("ruby-sass" ,ruby-sass)
7268 ("xsltproc" ,libxslt)
7270 ("xorg-server" ,xorg-server-for-tests)))
7272 `(("accountsservice" ,accountsservice)
7273 ("caribou" ,caribou)
7274 ("docbook-xsl" ,docbook-xsl)
7275 ("evolution-data-server" ,evolution-data-server)
7278 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7280 ("gnome-autoar" ,gnome-autoar)
7281 ("gnome-bluetooth" ,gnome-bluetooth)
7282 ("gnome-desktop" ,gnome-desktop)
7283 ("gnome-settings-daemon" ,gnome-settings-daemon)
7284 ("gst-plugins-base" ,gst-plugins-base)
7286 ("libcanberra" ,libcanberra)
7287 ("libcroco" ,libcroco)
7288 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7289 ("libgweather" ,libgweather)
7290 ("libsoup" ,libsoup)
7291 ("mesa-headers" ,mesa-headers)
7293 ("network-manager-applet" ,network-manager-applet)
7295 ("pulseaudio" ,pulseaudio)
7296 ("python-pygobject" ,python-pygobject)
7297 ("startup-notification" ,startup-notification)
7298 ("telepathy-logger" ,telepathy-logger)
7300 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7301 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7302 ("librsvg" ,librsvg)
7303 ("geoclue" ,geoclue)))
7304 (synopsis "Desktop shell for GNOME")
7305 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7307 "GNOME Shell provides core user interface functions for the GNOME desktop,
7308 like switching to windows and launching applications.")
7309 (license license:gpl2+)))
7311 (define-public gtk-vnc
7318 (uri (string-append "mirror://gnome/sources/" name "/"
7319 (version-major+minor version) "/"
7320 name "-" version ".tar.xz"))
7323 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7324 (build-system gnu-build-system)
7326 '(#:configure-flags '("--with-gtk=3.0")))
7328 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7330 `(("cyrus-sasl" ,cyrus-sasl)
7332 ("libgcrypt" ,libgcrypt)
7333 ("pulseaudio" ,pulseaudio)))
7335 `(("glib:bin" ,glib "bin")
7336 ("gobject-introspection" ,gobject-introspection)
7337 ("intltool" ,intltool)
7338 ("pkg-config" ,pkg-config)
7339 ("python-wrapper" ,python-wrapper)
7341 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7342 (synopsis "VNC viewer widget for GTK+")
7344 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7345 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7346 GTK-VNC implements client side RFB protocol and authentication extensions such
7347 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7348 (license license:lgpl2.1+)))
7350 (define-public gnome-autoar
7352 (name "gnome-autoar")
7356 (uri (string-append "mirror://gnome/sources/" name "/"
7357 (version-major+minor version) "/"
7358 name "-" version ".tar.xz"))
7361 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7362 (build-system glib-or-gtk-build-system)
7364 `(("gobject-introspection" ,gobject-introspection)
7365 ("pkg-config" ,pkg-config)))
7367 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7370 (synopsis "Archives integration support for GNOME")
7371 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7373 "GNOME Autoar is a library which makes creating and extracting archives
7374 easy, safe, and automatic.")
7375 (license license:lgpl2.1+)))
7377 (define-public tracker
7383 (uri (string-append "mirror://gnome/sources/tracker/"
7384 (version-major+minor version) "/"
7385 "tracker-" version ".tar.xz"))
7388 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7389 (build-system meson-build-system)
7393 ;; Otherwise, the RUNPATH will lack the final path component.
7394 (list (string-append "-Dc_link_args=-Wl,-rpath="
7395 (assoc-ref %outputs "out") "/lib:"
7396 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7398 (modify-phases %standard-phases
7399 (add-before 'check 'pre-check
7401 ;; Some tests expect to write to $HOME.
7402 (setenv "HOME" "/tmp")
7405 `(("glib:bin" ,glib "bin")
7406 ("gobject-introspection" ,gobject-introspection)
7407 ("python-pygobject" ,python-pygobject)
7408 ("intltool" ,intltool)
7409 ("pkg-config" ,pkg-config)
7414 ("libxml2" ,libxml2)
7415 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7416 ("json-glib" ,json-glib)
7417 ("libsoup" ,libsoup)))
7418 (synopsis "Metadata database, indexer and search tool")
7419 (home-page "https://wiki.gnome.org/Projects/Tracker")
7421 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7423 It is a middleware component aimed at desktop application developers who want
7424 their apps to browse and search user content. It's not designed to be used
7425 directly by desktop users, but it provides a commandline tool named
7426 @command{tracker} for the adventurous.
7428 Tracker allows your application to instantly perform full-text searches across
7429 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7430 example. This is achieved by indexing the user's home directory in the
7433 Tracker also allows your application to query and list content that the user
7434 has stored. For example, GNOME Music displays all the music files that are
7435 found by Tracker. This means that GNOME Music doesn't need to maintain a
7436 database of its own.
7438 If you need to go beyond simple searches, Tracker is also a linked data
7439 endpoint and it understands SPARQL. ")
7440 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7441 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7442 ;; libstemmer is bsd-3 and the rest is gpl2+.
7443 (license (list license:gpl2+
7445 license:lgpl2.1+))))
7447 (define-public tracker-miners
7449 (name "tracker-miners")
7453 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7454 (version-major+minor version)
7455 "/tracker-miners-" version ".tar.xz"))
7458 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7459 (build-system meson-build-system)
7463 (list "-Dminer_rss=false" ; libgrss is required.
7464 ;; Ensure the RUNPATH contains all installed library locations.
7465 (string-append "-Dc_link_args=-Wl,-rpath="
7466 (assoc-ref %outputs "out")
7467 "/lib/tracker-miners-2.0")
7468 ;; TODO: Enable functional tests. Currently, the following error
7470 ;; Exception: The functional tests require DConf to be the default
7471 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7472 "-Dfunctional_tests=false")))
7475 ("intltool" ,intltool)
7476 ("glib:bin" ,glib "bin")
7477 ("gobject-introspection" ,gobject-introspection)
7478 ("pkg-config" ,pkg-config)
7479 ("python-pygobject" ,python-pygobject)))
7481 `(("exempi" ,exempi)
7486 ("gstreamer" ,gstreamer)
7489 ("libexif" ,libexif)
7491 ("libgxps" ,libgxps)
7492 ("libiptcdata" ,libiptcdata)
7493 ("libjpeg" ,libjpeg-turbo)
7494 ("libosinfo" ,libosinfo)
7496 ("libseccomp" ,libseccomp)
7497 ("libtiff" ,libtiff)
7498 ("libvorbis" ,libvorbis)
7499 ("libxml2" ,libxml2)
7500 ("poppler" ,poppler)
7502 ("totem-pl-parser" ,totem-pl-parser)
7503 ("tracker" ,tracker)
7506 (synopsis "Metadata database, indexer and search tool")
7507 (home-page "https://wiki.gnome.org/Projects/Tracker")
7509 "Tracker is an advanced framework for first class objects with associated
7510 metadata and tags. It provides a one stop solution for all metadata, tags,
7511 shared object databases, search tools and indexing.")
7512 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7513 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7514 (license (list license:gpl2+
7516 license:lgpl2.0+))))
7518 (define-public nautilus
7524 (uri (string-append "mirror://gnome/sources/" name "/"
7525 (version-major+minor version) "/"
7526 name "-" version ".tar.xz"))
7529 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7530 (build-system meson-build-system)
7534 (modify-phases %standard-phases
7535 (add-after 'unpack 'skip-gtk-update-icon-cache
7536 ;; Don't create 'icon-theme.cache'.
7538 (substitute* "build-aux/meson/postinstall.py"
7539 (("gtk-update-icon-cache") "true"))
7541 ;; XXX: FAIL: check-nautilus
7542 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7545 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7546 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7547 ("gobject-introspection" ,gobject-introspection)
7548 ("intltool" ,intltool)
7549 ("pkg-config" ,pkg-config)))
7555 ("gnome-desktop" ,gnome-desktop)
7556 ("gnome-autoar" ,gnome-autoar)
7557 ("gst-plugins-base" ,gst-plugins-base)
7558 ("libseccomp" ,libseccomp)
7559 ("libselinux" ,libselinux)
7560 ("tracker" ,tracker)
7561 ("tracker-miners" ,tracker-miners)
7562 ;; XXX: gtk+ is required by libnautilus-extension.pc
7564 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7566 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7568 ("libexif" ,libexif)
7569 ("libxml2" ,libxml2)))
7570 (synopsis "File manager for GNOME")
7571 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7573 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7574 design and behaviour, giving the user a simple way to navigate and manage its
7576 (license license:gpl2+)))
7578 (define-public baobab
7585 "mirror://gnome/sources/" name "/"
7586 (version-major+minor version) "/"
7587 name "-" version ".tar.xz"))
7590 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7591 (build-system meson-build-system)
7593 '(#:glib-or-gtk? #t))
7595 `(("intltool" ,intltool)
7596 ("pkg-config" ,pkg-config)
7597 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7598 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7599 ("itstool" ,itstool)
7600 ("xmllint" ,libxml2)
7601 ("glib" ,glib "bin")
7605 (synopsis "Disk usage analyzer for GNOME")
7607 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7608 usage in the GNOME desktop environment. It can easily scan device volumes or
7609 a specific user-requested directory branch (local or remote). Once the scan
7610 is complete it provides a graphical representation of each selected folder.")
7611 (home-page "https://wiki.gnome.org/Apps/Baobab")
7612 (license license:gpl2+)))
7614 (define-public gnome-backgrounds
7616 (name "gnome-backgrounds")
7621 (uri (string-append "mirror://gnome/sources/" name "/"
7622 (version-major+minor version) "/"
7623 name "-" version ".tar.xz"))
7626 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7627 (build-system meson-build-system)
7629 `(("intltool" ,intltool)))
7630 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7631 (synopsis "Background images for the GNOME desktop")
7633 "GNOME backgrounds package contains a collection of graphics files which
7634 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7635 the package creates the proper framework and directory structure so that you
7636 can add your own files to the collection.")
7637 (license (list license:gpl2+
7640 license:cc-by-sa3.0))))
7642 (define-public gnome-screenshot
7644 (name "gnome-screenshot")
7649 (uri (string-append "mirror://gnome/sources/" name "/"
7650 (version-major+minor version) "/"
7651 name "-" version ".tar.xz"))
7654 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7655 (build-system meson-build-system)
7658 (modify-phases %standard-phases
7659 (add-after 'unpack 'skip-gtk-update-icon-cache
7660 ;; Don't create 'icon-theme.cache'.
7662 (substitute* "build-aux/postinstall.py"
7663 (("gtk-update-icon-cache") "true"))
7666 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7667 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7668 ("intltool" ,intltool)
7669 ("appstream-glib" ,appstream-glib)
7670 ("pkg-config" ,pkg-config)))
7673 ("libcanberra" ,libcanberra)
7675 ("libxext" ,libxext)))
7676 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7677 (synopsis "Take pictures of your screen")
7679 "GNOME Screenshot is a utility used for taking screenshots of the entire
7680 screen, a window or a user defined area of the screen, with optional
7681 beautifying border effects.")
7682 (license license:gpl2+)))
7684 (define-public dconf-editor
7686 (name "dconf-editor")
7691 (uri (string-append "mirror://gnome/sources/" name "/"
7692 (version-major+minor version) "/"
7693 name "-" version ".tar.xz"))
7696 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7697 (build-system meson-build-system)
7699 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7700 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7701 ("intltool" ,intltool)
7702 ("pkg-config" ,pkg-config)
7707 ("libxml2" ,libxml2)))
7708 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7709 (synopsis "Graphical editor for GNOME's dconf configuration system")
7711 "Dconf-editor is a graphical tool for browsing and editing the dconf
7712 configuration system for GNOME. It allows users to configure desktop
7713 software that do not provide their own configuration interface.")
7714 (license license:lgpl2.1+)))
7716 (define-public gnome-default-applications
7718 (name "gnome-default-applications")
7720 (build-system trivial-build-system)
7723 `(("nautilus" ,nautilus)
7724 ("evince" ,evince)))
7726 `(#:modules ((guix build utils))
7729 (use-modules (guix build utils))
7730 (let* ((out (assoc-ref %outputs "out"))
7731 (apps (string-append out "/share/applications")))
7733 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7735 (format port "[Default Applications]\n")
7736 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7737 (format port "application/pdf=evince.desktop\n")
7738 (format port "application/postscript=evince.desktop\n")))
7740 (synopsis "Default MIME type associations for the GNOME desktop")
7742 "Given many installed packages which might handle a given MIME type, a
7743 user running the GNOME desktop probably has some preferences: for example,
7744 that folders be opened by default by the Nautilus file manager, not the Baobab
7745 disk usage analyzer. This package establishes that set of default MIME type
7746 associations for GNOME.")
7747 (license license:gpl3+)
7750 (define-public libgovirt
7756 (uri (string-append "mirror://gnome/sources/" name "/"
7757 (version-major+minor version) "/"
7758 name "-" version ".tar.xz"))
7761 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7762 (build-system glib-or-gtk-build-system)
7764 `(("gettext" ,gettext-minimal)
7765 ("glib:bin" ,glib "bin")
7766 ("gobject-introspection" ,gobject-introspection)
7767 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7768 ("gtk+:bin" ,gtk+ "bin")
7769 ("pkg-config" ,pkg-config)))
7771 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7773 (synopsis "GoVirt Library")
7774 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7775 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7776 (license license:gpl2+)))
7778 (define-public gnome-weather
7780 (name "gnome-weather")
7784 (uri (string-append "mirror://gnome/sources/" name "/"
7785 (version-major+minor version) "/"
7786 name "-" version ".tar.xz"))
7789 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7790 (build-system meson-build-system)
7792 `(("gettext" ,gettext-minimal)
7793 ("glib:bin" ,glib "bin")
7794 ("gobject-introspection" ,gobject-introspection)
7795 ("gtk+:bin" ,gtk+ "bin")
7796 ("pkg-config" ,pkg-config)))
7798 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7799 ("appstream-glib" ,appstream-glib)
7800 ("geoclue" ,geoclue)
7801 ("gdk-pixbuf" ,gdk-pixbuf)
7803 ("gnome-desktop" ,gnome-desktop)
7804 ("libgweather" ,libgweather)))
7808 (modify-phases %standard-phases
7809 (add-after 'install 'fix-desktop-file
7810 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7811 ;; See https://issues.guix.gnu.org/issue/39324.
7812 (lambda* (#:key outputs #:allow-other-keys)
7813 (let* ((out (assoc-ref outputs "out"))
7814 (applications (string-append out "/share/applications")))
7815 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7816 (("Exec=.*") "Exec=gnome-weather\n"))
7818 (add-after 'install 'wrap
7819 (lambda* (#:key inputs outputs #:allow-other-keys)
7820 (let ((out (assoc-ref outputs "out"))
7821 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7822 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
7823 (wrap-program (string-append out "/bin/gnome-weather")
7824 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
7826 (synopsis "Weather monitoring for GNOME desktop")
7827 (description "GNOME Weather is a small application that allows you to
7828 monitor the current weather conditions for your city, or anywhere in the
7830 (home-page "https://wiki.gnome.org/Apps/Weather")
7831 (license license:gpl2+)))
7833 (define-public gnome
7836 (version (package-version gnome-shell))
7838 (build-system trivial-build-system)
7839 (arguments '(#:builder (begin (mkdir %output) #t)))
7841 ;; TODO: Add or remove packages according to:
7842 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7844 ;; GNOME-Core-OS-Services
7845 ("accountsservice" ,accountsservice)
7846 ("network-manager" ,network-manager)
7847 ("packagekit" ,packagekit)
7850 ("adwaita-icon-theme" ,adwaita-icon-theme)
7852 ("glib-networking" ,glib-networking)
7853 ("gnome-backgrounds" ,gnome-backgrounds)
7854 ("gnome-bluetooth" ,gnome-bluetooth)
7855 ("gnome-color-manager" ,gnome-color-manager)
7856 ("gnome-control-center" ,gnome-control-center)
7857 ("gnome-desktop" ,gnome-desktop)
7858 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7859 ("gnome-initial-setup" ,gnome-initial-setup)
7860 ("gnome-keyring" ,gnome-keyring)
7861 ("gnome-menus" ,gnome-menus)
7862 ("gnome-session" ,gnome-session)
7863 ("gnome-settings-daemon" ,gnome-settings-daemon)
7864 ("gnome-shell-extensions" ,gnome-shell-extensions)
7865 ("gnome-shell" ,gnome-shell)
7866 ("gnome-themes-extra" ,gnome-themes-extra)
7867 ("gnome-user-docs" ,gnome-user-docs)
7868 ("gnome-user-share" ,gnome-user-share)
7869 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7875 ;; GNOME-Core-Utilities
7878 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
7879 ;; only works on x86_64, so exclude it on other architectures.
7880 ,@(if (string-prefix? "x86_64" (%current-system))
7883 ("epiphany" ,epiphany)
7885 ("file-roller" ,file-roller)
7887 ; TODO: ("gnome-boxes" ,gnome-boxes)
7888 ("gnome-calculator" ,gnome-calculator)
7889 ("gnome-calendar" ,gnome-calendar)
7890 ("gnome-characters" ,gnome-characters)
7891 ("gnome-clocks" ,gnome-clocks)
7892 ("gnome-contacts" ,gnome-contacts)
7893 ("gnome-disk-utility" ,gnome-disk-utility)
7894 ("gnome-font-viewer" ,gnome-font-viewer)
7895 ("gnome-maps" ,gnome-maps)
7896 ; TODO: ("gnome-music" ,gnome-music)
7897 ; TODO: ("gnome-photos" ,gnome-photos)
7898 ("gnome-screenshot" ,gnome-screenshot)
7899 ("gnome-system-monitor" ,gnome-system-monitor)
7900 ("gnome-terminal" ,gnome-terminal)
7901 ("gnome-weather" ,gnome-weather)
7902 ("nautilus" ,nautilus)
7903 ("simple-scan" ,simple-scan)
7907 ("hicolor-icon-theme" ,hicolor-icon-theme)
7908 ("gnome-online-accounts" ,gnome-online-accounts)
7910 ;; Packages not part of GNOME proper but that are needed for a good
7911 ;; experience. See <https://bugs.gnu.org/39646>.
7912 ;; XXX: Find out exactly which ones are needed and why.
7913 ("font-cantarell" ,font-cantarell)
7914 ("font-dejavu" ,font-dejavu)
7915 ("at-spi2-core" ,at-spi2-core)
7918 ("desktop-file-utils" ,desktop-file-utils)
7919 ("gnome-default-applications" ,gnome-default-applications)
7920 ("gnome-themes-standard" ,gnome-themes-standard)
7921 ("gst-plugins-base" ,gst-plugins-base)
7922 ("gst-plugins-good" ,gst-plugins-good)
7923 ("gucharmap" ,gucharmap)
7924 ("pinentry-gnome3" ,pinentry-gnome3)
7925 ("pulseaudio" ,pulseaudio)
7926 ("shared-mime-info" ,shared-mime-info)
7927 ("system-config-printer" ,system-config-printer)
7928 ("xdg-user-dirs" ,xdg-user-dirs)
7930 ("zenity" ,zenity)))
7931 (synopsis "The GNU desktop environment")
7932 (home-page "https://www.gnome.org/")
7934 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7935 applications for browsing the web, editing text and images, creating
7936 documents and diagrams, playing media, scanning, and much more.")
7937 (license license:gpl2+)))
7939 (define-public byzanz
7940 ;; The last stable release of Byzanz was in 2011, but there have been many
7941 ;; useful commits made to the Byzanz repository since then that it would be
7942 ;; silly to use such an old release.
7943 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7946 (version (string-append "0.2-1." (string-take commit 7)))
7950 (url "https://git.gnome.org/browse/byzanz")
7952 (file-name (string-append name "-" version "-checkout"))
7955 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7956 (build-system glib-or-gtk-build-system)
7959 (modify-phases %standard-phases
7960 (add-before 'bootstrap 'build-without-Werror
7962 ;; The build system cleverly detects that we're not building from
7963 ;; a release tarball and turns on -Werror for GCC.
7964 ;; Unsurprisingly, there is a warning during compilation that
7965 ;; causes the build to fail unnecessarily, so we remove the flag.
7966 (substitute* '("configure.ac")
7970 `(("autoconf" ,autoconf)
7971 ("automake" ,automake)
7972 ("gnome-common" ,gnome-common)
7973 ("intltool" ,intltool)
7974 ("libtool" ,libtool)
7975 ("pkg-config" ,pkg-config)
7979 ("gstreamer" ,gstreamer)
7980 ("gst-plugins-base" ,gst-plugins-base)
7982 (synopsis "Desktop recording program")
7983 (description "Byzanz is a simple desktop recording program with a
7984 command-line interface. It can record part or all of an X display for a
7985 specified duration and save it as a GIF encoded animated image file.")
7986 (home-page "https://git.gnome.org/browse/byzanz")
7987 (license license:gpl2+))))
7989 (define-public gsound
7995 (uri (string-append "mirror://gnome/sources/" name "/"
7996 (version-major+minor version) "/"
7997 name "-" version ".tar.xz"))
8000 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8001 (build-system glib-or-gtk-build-system)
8003 `(("pkg-config" ,pkg-config)
8004 ("gobject-introspection" ,gobject-introspection)
8008 ("libcanberra" ,libcanberra)))
8009 (home-page "https://wiki.gnome.org/Projects/GSound")
8010 (synopsis "GObject wrapper for libcanberra")
8012 "GSound is a small library for playing system sounds. It's designed to be
8013 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8015 (license license:lgpl2.1+)))
8017 (define-public libzapojit
8023 (uri (string-append "mirror://gnome/sources/" name "/"
8024 (version-major+minor version) "/"
8025 name "-" version ".tar.xz"))
8028 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8029 (build-system gnu-build-system)
8031 `(("gobject-introspection" ,gobject-introspection)
8032 ("intltool" ,intltool)
8033 ("pkg-config" ,pkg-config)))
8035 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8036 ("json-glib" ,json-glib)
8038 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8039 (synopsis "Library for accessing SkyDrive and Hotmail")
8041 "Libzapojit is a GLib-based library for accessing online service APIs of
8042 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8043 (license license:lgpl2.1+)))
8045 (define-public gnome-clocks
8047 (name "gnome-clocks")
8051 (uri (string-append "mirror://gnome/sources/" name "/"
8052 (version-major+minor version) "/"
8053 name "-" version ".tar.xz"))
8056 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8057 (build-system meson-build-system)
8061 (modify-phases %standard-phases
8062 (add-after 'unpack 'skip-gtk-update-icon-cache
8063 ;; Don't create 'icon-theme.cache'.
8065 (substitute* "build-aux/post-install.py"
8066 (("gtk-update-icon-cache") "true"))
8070 ("pkg-config" ,pkg-config)
8071 ("glib" ,glib "bin") ; for glib-compile-resources
8072 ("desktop-file-utils" ,desktop-file-utils)
8073 ("gettext" ,gettext-minimal)
8074 ("itstool" ,itstool)))
8079 ("geoclue" ,geoclue)
8080 ("geocode-glib" ,geocode-glib)
8081 ("libgweather" ,libgweather)
8082 ("gnome-desktop" ,gnome-desktop)))
8083 (home-page "https://wiki.gnome.org/Apps/Clocks")
8084 (synopsis "GNOME's clock application")
8086 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8087 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8088 (license license:gpl3+)))
8090 (define-public gnome-calendar
8092 (name "gnome-calendar")
8096 (uri (string-append "mirror://gnome/sources/" name "/"
8097 (version-major+minor version) "/"
8098 name "-" version ".tar.xz"))
8101 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8102 (build-system meson-build-system)
8105 ;; gnome-calendar has to be installed before the tests can be run
8106 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8109 (modify-phases %standard-phases
8110 (add-after 'unpack 'skip-gtk-update-icon-cache
8111 ;; Don't create 'icon-theme.cache'.
8113 (substitute* "build-aux/meson/meson_post_install.py"
8114 (("gtk-update-icon-cache") "true"))
8117 `(("gettext" ,gettext-minimal)
8118 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8119 ("pkg-config" ,pkg-config)))
8121 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8122 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8123 ("libdazzle" ,libdazzle)
8124 ("libedataserverui" ,evolution-data-server)
8125 ("libgweather" ,libgweather)
8126 ("geoclue" ,geoclue)))
8128 `(("evolution-data-server" ,evolution-data-server)))
8129 (home-page "https://wiki.gnome.org/Apps/Calendar")
8130 (synopsis "GNOME's calendar application")
8132 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8133 desktop. It supports multiple calendars, month, week and year view.")
8134 (license license:gpl3+)))
8136 (define-public gnome-todo
8142 (uri (string-append "mirror://gnome/sources/" name "/"
8143 (version-major+minor version) "/"
8144 name "-" version ".tar.xz"))
8147 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8149 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8150 (build-system meson-build-system)
8153 #:phases (modify-phases %standard-phases
8155 'install 'wrap-gnome-todo
8156 (lambda* (#:key inputs outputs #:allow-other-keys)
8157 (let ((out (assoc-ref outputs "out"))
8158 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8159 (python-path (getenv "PYTHONPATH")))
8160 (wrap-program (string-append out "/bin/gnome-todo")
8161 ;; XXX: gi plugins are broken.
8162 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8164 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8165 `("PYTHONPATH" ":" prefix (,python-path))))
8168 `(("gettext" ,gettext-minimal)
8169 ("gobject-introspection" ,gobject-introspection)
8170 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8171 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8172 ("pkg-config" ,pkg-config)))
8174 `(("rest" ,rest) ; For Todoist plugin
8175 ("json-glib" ,json-glib) ; For Todoist plugin
8176 ("libedataserverui" ,evolution-data-server)
8177 ("libical" ,libical)
8178 ("libpeas" ,libpeas)
8179 ("python-pygobject" ,python-pygobject)
8180 ("evolution-data-server" ,evolution-data-server)
8181 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8182 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8183 (home-page "https://wiki.gnome.org/Apps/Todo")
8184 (synopsis "GNOME's ToDo Application")
8186 "GNOME To Do is a simplistic personal task manager designed to perfectly
8187 fit the GNOME desktop.")
8188 (license license:gpl3+)))
8190 (define-public gnome-dictionary
8192 (name "gnome-dictionary")
8196 (uri (string-append "mirror://gnome/sources/" name "/"
8197 (version-major+minor version) "/"
8198 name "-" version ".tar.xz"))
8201 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8202 (build-system meson-build-system)
8203 (arguments '(#:glib-or-gtk? #t
8204 #:phases (modify-phases %standard-phases
8205 (add-after 'unpack 'patch-install-script
8207 ;; This script attempts to compile glib schemas
8208 ;; and create an empty MIME database. We do
8209 ;; that elsewhere, so prevent it from running.
8210 (substitute* "build-aux/post-install.sh"
8211 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8214 `(("glib:bin" ,glib "bin")
8215 ("gobject-introspection" ,gobject-introspection)
8216 ("intltool" ,intltool)
8217 ("itstool" ,itstool)
8218 ("pkg-config" ,pkg-config)
8219 ("xmllint" ,libxml2)))
8221 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8223 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8224 (synopsis "Look up words in dictionary sources")
8226 "GNOME Dictionary can look for the definition or translation of a word in
8227 existing databases over the internet.")
8228 (license license:gpl3+)))
8230 (define-public gnome-tweaks
8232 (name "gnome-tweaks")
8236 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8237 (version-major+minor version) "/"
8238 "gnome-tweaks-" version ".tar.xz"))
8240 (list (search-patch "gnome-tweaks-search-paths.patch")))
8243 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8244 (build-system meson-build-system)
8247 #:configure-flags '("-Dlocalstatedir=/tmp"
8248 "-Dsysconfdir=/tmp")
8249 #:imported-modules ((guix build python-build-system)
8250 ,@%meson-build-system-modules)
8252 (modify-phases %standard-phases
8253 (add-after 'unpack 'skip-gtk-update-icon-cache
8254 ;; Don't create 'icon-theme.cache'.
8256 (substitute* "meson-postinstall.py"
8257 (("gtk-update-icon-cache") "true"))
8259 (add-after 'install 'wrap
8260 (@@ (guix build python-build-system) wrap))
8261 (add-after 'wrap 'wrap-gi-typelib
8262 (lambda* (#:key inputs outputs #:allow-other-keys)
8263 (let ((out (assoc-ref outputs "out"))
8264 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8265 (wrap-program (string-append out "/bin/gnome-tweaks")
8266 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8269 `(("intltool" ,intltool)
8270 ("pkg-config" ,pkg-config)))
8272 `(("gnome-desktop" ,gnome-desktop)
8274 ("gobject-introspection" ,gobject-introspection)
8275 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8276 ("libhandy" ,libhandy)
8277 ("libnotify" ,libnotify)
8278 ("libsoup" ,libsoup)
8279 ("nautilus" ,nautilus)
8281 ("python-pygobject" ,python-pygobject)))
8282 (synopsis "Customize advanced GNOME 3 options")
8283 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8285 "GNOME Tweaks allows adjusting advanced configuration settings in
8286 GNOME 3. This includes things like the fonts used in user interface elements,
8287 alternative user interface themes, changes in window management behavior,
8288 GNOME Shell appearance and extension, etc.")
8289 (license license:gpl3+)))
8291 (define-public gnome-shell-extensions
8293 (name "gnome-shell-extensions")
8297 (uri (string-append "mirror://gnome/sources/" name "/"
8298 (version-major+minor version) "/"
8299 name "-" version ".tar.xz"))
8302 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8303 (build-system meson-build-system)
8305 '(#:configure-flags '("-Dextension_set=all")))
8307 `(("glib:bin" ,glib "bin")
8308 ("intltool" ,intltool)
8309 ("pkg-config" ,pkg-config)))
8312 (synopsis "Extensions for GNOME Shell")
8313 (description "GNOME Shell extensions modify and extend GNOME Shell
8314 functionality and behavior.")
8315 (home-page "https://extensions.gnome.org/")
8316 (license license:gpl3+)))
8318 (define-public arc-theme
8321 (version "20190917")
8325 (url "https://github.com/NicoHood/arc-theme.git")
8327 (file-name (git-file-name name version))
8330 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8331 (build-system gnu-build-system)
8334 (modify-phases %standard-phases
8335 ;; autogen.sh calls configure at the end of the script.
8337 (lambda _ (invoke "autoreconf" "-vfi")))
8338 (add-before 'build 'set-home ;placate Inkscape
8340 (setenv "HOME" (getcwd))
8343 `(("autoconf" ,autoconf)
8344 ("automake" ,automake)
8345 ("glib" ,glib "bin") ; for glib-compile-resources
8346 ("gnome-shell" ,gnome-shell)
8348 ("inkscape" ,inkscape)
8349 ("optipng" ,optipng)
8350 ("pkg-config" ,pkg-config)
8351 ("sassc" ,sassc/libsass-3.5)))
8352 (synopsis "A flat GTK+ theme with transparent elements")
8353 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8354 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8355 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8356 (home-page "https://github.com/horst3180/arc-theme")
8357 ;; No "or later" language found.
8358 (license license:gpl3+)))
8360 (define-public faba-icon-theme
8362 (name "faba-icon-theme")
8368 (url "https://github.com/snwh/faba-icon-theme.git")
8369 (commit (string-append "v" version))))
8370 (file-name (git-file-name name version))
8372 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8373 (build-system meson-build-system)
8376 (modify-phases %standard-phases
8377 (add-before 'configure 'disable-post-install
8379 (substitute* "meson.build"
8380 (("meson.add_install_script.*") "")))))))
8382 `(("autoconf" ,autoconf)
8383 ("automake" ,automake)))
8384 (synopsis "Faba icon theme")
8386 "Faba is a minimal icon set used as a basis for other themes such as
8388 (home-page "https://snwh.org/moka")
8389 (license (list license:lgpl3+
8390 license:cc-by-sa4.0))))
8392 (define-public moka-icon-theme
8394 (inherit faba-icon-theme)
8395 (name "moka-icon-theme")
8401 (url "https://github.com/snwh/moka-icon-theme.git")
8402 (commit (string-append "v" version))))
8403 (file-name (git-file-name name version))
8405 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8407 ;; Moka is based on Faba by using it as a fallback icon set instead of
8408 ;; bundling it, so we need to add it as a propagated input.
8409 `(("faba-icon-theme" ,faba-icon-theme)))
8410 (synopsis "Moka icon theme")
8411 (description "Moka is a stylized desktop icon set, designed to be clear,
8412 simple and consistent.")
8413 (license (list license:gpl3+
8414 license:cc-by-sa4.0))))
8416 (define-public arc-icon-theme
8418 (name "arc-icon-theme")
8419 (version "20161122")
8424 (url "https://github.com/horst3180/arc-icon-theme.git")
8426 (file-name (git-file-name name version))
8428 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8429 (build-system gnu-build-system)
8432 (modify-phases %standard-phases
8433 (add-after 'unpack 'disable-configure-during-bootstrap
8435 (substitute* "autogen.sh"
8436 (("^\"\\$srcdir/configure\".*") ""))
8439 `(("autoconf" ,autoconf)
8440 ("automake" ,automake)))
8441 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8443 `(("moka-icon-theme" ,moka-icon-theme)))
8444 (synopsis "Arc icon theme")
8445 (description "The Arc icon theme provides a set of icons matching the
8446 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8447 the Moka icon theme.")
8448 (home-page "https://github.com/horst3180/arc-icon-theme")
8449 (license license:gpl3+)))
8451 (define-public folks
8458 "mirror://gnome/sources/folks/"
8459 (version-major+minor version) "/"
8460 "folks-" version ".tar.xz"))
8463 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8464 (build-system meson-build-system)
8467 (modify-phases %standard-phases
8468 (add-after 'unpack 'skip-gtk-update-icon-cache
8469 ;; Don't create 'icon-theme.cache'.
8471 (substitute* "meson_post_install.py"
8472 (("gtk-update-icon-cache") "true"))
8476 ("dbus-glib" ,dbus-glib)
8477 ("evolution-data-server" ,evolution-data-server)
8480 ("readline" ,readline)
8481 ("telepathy-glib" ,telepathy-glib)))
8483 `(("glib:bin" ,glib "bin")
8484 ("gobject-introspection" ,gobject-introspection)
8485 ("intltool" ,intltool)
8486 ("pkg-config" ,pkg-config)
8488 (synopsis "Library to aggregate data about people")
8489 (description "Libfolks is a library that aggregates information about people
8490 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8491 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8492 etc.) to create metacontacts. It's written in Vala, which generates C code when
8494 (home-page "https://wiki.gnome.org/Projects/Folks")
8495 (license license:lgpl2.1+)))
8497 (define-public gfbgraph
8504 "mirror://gnome/sources/gfbgraph/"
8505 (version-major+minor version) "/"
8506 "gfbgraph-" version ".tar.xz"))
8509 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8510 (build-system glib-or-gtk-build-system)
8512 `(#:tests? #f ; Tests appear to require the network.
8513 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8514 #:configure-flags '("--disable-gtk-doc"
8516 "--enable-introspection")))
8518 `(("pkg-config" ,pkg-config)
8519 ("gobject-introspection" ,gobject-introspection)))
8521 `(("json-glib" ,json-glib)
8522 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8524 (synopsis "GLib/GObject wrapper for the Facebook API")
8525 (description "This library allows you to use the Facebook API from
8526 GLib/GObject code.")
8527 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8528 (license license:lgpl2.1+)))
8530 (define-public libgnomekbd
8532 (name "libgnomekbd")
8536 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8537 (version-major+minor version) "/"
8538 "libgnomekbd-" version ".tar.xz"))
8541 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8542 (build-system gnu-build-system)
8544 `(("pkg-config" ,pkg-config)
8545 ("glib" ,glib "bin")
8546 ("intltool" ,intltool)))
8548 ;; Referred to in .h files and .pc.
8551 ("libxklavier" ,libxklavier)))
8552 (home-page "https://www.gnome.org")
8553 (synopsis "GNOME keyboard configuration library")
8555 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8556 environment, which can notably display keyboard layouts.")
8557 (license license:lgpl2.0+)))
8559 ;;; This package is no longer maintained:
8560 ;;; https://wiki.gnome.org/Attic/LibUnique
8561 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8562 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8563 (define-public libunique
8569 (uri (string-append "mirror://gnome/sources/" name "/"
8570 (version-major+minor version) "/"
8571 name "-" version ".tar.xz"))
8574 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8575 (build-system glib-or-gtk-build-system)
8577 `(#:configure-flags '("--disable-static"
8578 "--disable-dbus" ; use gdbus
8579 "--enable-introspection")))
8581 `(("pkg-config" ,pkg-config)
8582 ("gobject-introspection" ,gobject-introspection)
8583 ("glib:bin" ,glib "bin")
8584 ("gtk-doc" ,gtk-doc)))
8586 ;; Referred to in .h files and .pc.
8588 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8589 (synopsis "Library for writing single instance applications")
8591 "Libunique is a library for writing single instance applications. If you
8592 launch a single instance application twice, the second instance will either just
8593 quit or will send a message to the running instance. Libunique makes it easy to
8594 write this kind of application, by providing a base class, taking care of all
8595 the IPC machinery needed to send messages to a running instance, and also
8596 handling the startup notification side.")
8597 (license license:lgpl2.1+)))
8599 (define-public gnome-calculator
8601 (name "gnome-calculator")
8606 (uri (string-append "mirror://gnome/sources/" name "/"
8607 (version-major+minor version) "/"
8608 name "-" version ".tar.xz"))
8611 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8612 (build-system meson-build-system)
8613 (arguments '(#:glib-or-gtk? #t))
8615 `(("gettext" ,gettext-minimal)
8616 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8617 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8618 ("itstool" ,itstool)
8620 ("pkg-config" ,pkg-config)))
8623 ("gtksourceview" ,gtksourceview)
8625 ("libsoup" ,libsoup)
8626 ("libxml2" ,libxml2)
8629 (home-page "https://wiki.gnome.org/Apps/Calculator")
8630 (synopsis "Desktop calculator")
8632 "Calculator is an application that solves mathematical equations and
8633 is suitable as a default application in a Desktop environment.")
8634 (license license:gpl3)))
8643 (uri (string-append "https://launchpad.net/xpad/trunk/"
8644 version "/+download/"
8645 name "-" version ".tar.bz2"))
8648 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8649 (build-system gnu-build-system)
8651 `(("autoconf" ,autoconf)
8652 ("automake" ,automake)
8653 ("gtk+:bin" ,gtk+ "bin")
8654 ("intltool" ,intltool)
8655 ("pkg-config" ,pkg-config)))
8657 `(("gtksourceview" ,gtksourceview-3)
8659 (home-page "https://wiki.gnome.org/Apps/Xpad")
8660 (synopsis "Virtual sticky note")
8662 "Xpad is a sticky note that strives to be simple, fault tolerant,
8663 and customizable. Xpad consists of independent pad windows, each is
8664 basically a text box in which notes can be written.")
8665 (license license:gpl3+)))
8667 (define-public gucharmap
8668 (let ((unicode-files
8670 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8672 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8674 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8676 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8678 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8680 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8687 (uri (string-append "mirror://gnome/sources/" name "/"
8688 (version-major+minor version) "/"
8689 name "-" version ".tar.xz"))
8692 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8693 (build-system glib-or-gtk-build-system)
8695 `(#:modules ((ice-9 match)
8696 (guix build glib-or-gtk-build-system)
8699 (list "--with-unicode-data=../unicode-data")
8701 (modify-phases %standard-phases
8702 (add-after 'unpack 'prepare-unicode-data
8703 (lambda* (#:key inputs #:allow-other-keys)
8704 (mkdir-p "../unicode-data")
8705 (with-directory-excursion "../unicode-data"
8706 (for-each (match-lambda
8708 (install-file (assoc-ref inputs file) ".")))
8712 `(("desktop-file-utils" ,desktop-file-utils)
8713 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8714 ("gobject-introspection" ,gobject-introspection)
8715 ("intltool" ,intltool)
8716 ("itstool" ,itstool)
8717 ("pkg-config" ,pkg-config)
8718 ,@(map (match-lambda
8724 "http://www.unicode.org/Public/12.0.0/ucd/"
8726 (sha256 (base32 hash))))))
8731 ("xmllint" ,libxml2)))
8732 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8733 (synopsis "Unicode character picker and font browser")
8735 "This program allows you to browse through all the available Unicode
8736 characters and categories for the installed fonts, and to examine their
8737 detailed properties. It is an easy way to find the character you might
8738 only know by its Unicode name or code point.")
8739 (license license:gpl3+))))
8741 (define-public bluefish
8748 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8749 "bluefish-" version ".tar.gz"))
8751 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8752 (build-system gnu-build-system)
8754 `(("desktop-file-utils" ,desktop-file-utils)
8755 ("intltool" ,intltool)
8756 ("pkg-config" ,pkg-config)))
8758 `(("enchant" ,enchant)
8760 ("python" ,python-wrapper)
8761 ("xmllint" ,libxml2)
8762 ("gucharmap" ,gucharmap)))
8763 (home-page "http://bluefish.openoffice.nl")
8764 (synopsis "Web development studio")
8766 "Bluefish is an editor targeted towards programmers and web developers,
8767 with many options to write web sites, scripts and other code.
8768 Bluefish supports many programming and markup languages.")
8769 (license license:gpl3+)))
8771 (define-public gnome-system-monitor
8773 (name "gnome-system-monitor")
8778 (uri (string-append "mirror://gnome/sources/" name "/"
8779 (version-major+minor version) "/"
8780 name "-" version ".tar.xz"))
8783 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8784 (build-system meson-build-system)
8787 #:configure-flags '("-Dsystemd=false")))
8789 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8790 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8791 ("intltool" ,intltool)
8792 ("itstool" ,itstool)
8793 ("libgtop" ,libgtop)
8795 ("pkg-config" ,pkg-config)))
8797 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8800 ("librsvg" ,librsvg)
8801 ("libxml2" ,libxml2)
8802 ("libwnck" ,libwnck)))
8803 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8804 (synopsis "Process viewer and system resource monitor for GNOME")
8806 "GNOME System Monitor is a GNOME process viewer and system monitor with
8807 an attractive, easy-to-use interface. It has features, such as a tree view
8808 for process dependencies, icons for processes, the ability to hide processes,
8809 graphical time histories of CPU/memory/swap usage and the ability to
8810 kill/reinice processes.")
8811 (license license:gpl2+)))
8813 (define-public python-pyatspi
8815 (name "python-pyatspi")
8820 "mirror://gnome/sources/pyatspi/"
8821 (version-major+minor version)
8822 "/pyatspi-" version ".tar.xz"))
8825 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8826 (build-system gnu-build-system)
8829 (modify-phases %standard-phases
8830 (add-before 'build 'fix-atk-load
8832 (substitute* "pyatspi/__init__.py"
8833 (("from gi.repository import Atspi")
8834 "gi.require_version('Gtk', '3.0')
8835 from gi.repository import Gtk
8836 from gi.repository import Atspi"))
8839 `(("pkg-config" ,pkg-config)))
8841 `(("python" ,python)
8842 ("python-pygobject" ,python-pygobject)))
8843 (synopsis "Python client bindings for D-Bus AT-SPI")
8844 (home-page "https://wiki.linuxfoundation.org/accessibility\
8845 /atk/at-spi/at-spi_on_d-bus")
8847 "This package includes a python client library for the AT-SPI D-Bus
8848 accessibility infrastructure.")
8849 (license license:lgpl2.0)
8850 (properties '((upstream-name . "pyatspi")))))
8859 "mirror://gnome/sources/" name "/"
8860 (version-major+minor version) "/"
8861 name "-" version ".tar.xz"))
8864 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
8865 (build-system glib-or-gtk-build-system)
8868 (modify-phases %standard-phases
8869 (add-before 'configure 'qualify-xkbcomp
8870 (lambda* (#:key inputs #:allow-other-keys)
8871 (let ((xkbcomp (string-append
8872 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8873 (substitute* "src/orca/orca.py"
8874 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8876 (add-after 'install 'wrap-orca
8877 (lambda* (#:key outputs #:allow-other-keys)
8878 (let* ((out (assoc-ref outputs "out"))
8879 (prog (string-append out "/bin/orca")))
8881 `("GI_TYPELIB_PATH" ":" prefix
8882 (,(getenv "GI_TYPELIB_PATH")))
8883 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8884 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8885 `("PYTHONPATH" ":" prefix
8886 (,(getenv "PYTHONPATH")))))
8889 `(("intltool" ,intltool)
8890 ("itstool" ,itstool)
8891 ("pkg-config" ,pkg-config)
8892 ("xmllint" ,libxml2)))
8894 `(("at-spi2-atk" ,at-spi2-atk)
8895 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8896 ("gstreamer" ,gstreamer)
8897 ("gst-plugins-base" ,gst-plugins-base)
8898 ("gst-plugins-good" ,gst-plugins-good)
8901 ("python-pygobject" ,python-pygobject)
8902 ("python-pyatspi" ,python-pyatspi)
8903 ("python-speechd" ,speech-dispatcher)
8904 ("xkbcomp" ,xkbcomp)))
8906 "Screen reader for individuals who are blind or visually impaired")
8907 (home-page "https://wiki.gnome.org/Projects/Orca")
8909 "Orca is a screen reader that provides access to the graphical desktop
8910 via speech and refreshable braille. Orca works with applications and toolkits
8911 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8912 (license license:lgpl2.1+)))
8914 (define-public gspell
8920 (uri (string-append "mirror://gnome/sources/" name "/"
8921 (version-major+minor version) "/"
8922 name "-" version ".tar.xz"))
8925 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8926 (patches (search-patches "gspell-dash-test.patch"))))
8927 (build-system glib-or-gtk-build-system)
8929 '(#:configure-flags (list "--enable-vala")
8931 (modify-phases %standard-phases
8932 (add-before 'check 'pre-check
8933 (lambda* (#:key inputs #:allow-other-keys)
8934 ;; Tests require a running X server.
8935 (system "Xvfb :1 &")
8936 (setenv "DISPLAY" ":1")
8938 ;; For the missing /etc/machine-id.
8939 (setenv "DBUS_FATAL_WARNINGS" "0")
8941 ;; Allow Enchant and its Aspell backend to find the en_US
8943 (setenv "ASPELL_DICT_DIR"
8944 (string-append (assoc-ref inputs "aspell-dict-en")
8950 ("iso-codes" ,iso-codes)))
8952 `(("glib" ,glib "bin")
8953 ("gobject-introspection" ,gobject-introspection)
8954 ("pkg-config" ,pkg-config)
8955 ("vala" ,vala) ;for VAPI, needed by Geary
8956 ("xmllint" ,libxml2)
8959 ("aspell-dict-en" ,aspell-dict-en)
8960 ("xorg-server" ,xorg-server-for-tests)))
8962 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8963 (home-page "https://wiki.gnome.org/Projects/gspell")
8964 (synopsis "GNOME's alternative spell checker")
8966 "gspell provides a flexible API to add spell-checking to a GTK+
8967 application. It provides a GObject API, spell-checking to text entries and
8968 text views, and buttons to choose the language.")
8969 (license license:gpl2+)))
8971 (define-public gnome-planner
8973 (name "gnome-planner")
8977 (uri (string-append "mirror://gnome/sources/planner/"
8978 (version-major+minor version) "/planner-"
8982 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8983 (build-system glib-or-gtk-build-system)
8985 ;; Disable the Python bindings because the Planner program functions
8986 ;; without them, and (as of 2017-06-13) we have not packaged all of
8987 ;; packages that are necessary for building the Python bindings.
8989 (list "--disable-python"
8990 ,@(if (string=? "aarch64-linux" (%current-system))
8991 '("--build=aarch64-unknown-linux-gnu")
8994 `(("libgnomecanvas" ,libgnomecanvas)
8995 ("libgnomeui" ,libgnomeui)
8996 ("libglade" ,libglade)
8997 ("gnome-vfs" ,gnome-vfs)
8999 ("libxml2" ,libxml2)
9000 ("libxslt" ,libxslt)
9004 `(("intltool" ,intltool)
9005 ("scrollkeeper" ,scrollkeeper)
9006 ("pkg-config" ,pkg-config)))
9007 (home-page "https://wiki.gnome.org/Apps/Planner")
9008 (synopsis "Project management software for the GNOME desktop")
9010 "GNOME Planner is a project management tool based on the Work Breakdown
9011 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9012 the resources, tasks, and constraints that you define, Planner generates
9013 various views into a project. For example, Planner can show a Gantt chart of
9014 the project. It can show a detailed summary of tasks including their
9015 duration, cost, and current progress. It can also show a report of resource
9016 utilization that highlights under-utilized and over-utilized resources. These
9017 views can be printed as PDF or PostScript files, or exported to HTML.")
9018 (license license:gpl2+)))
9020 (define-public lollypop
9027 (uri (string-append "https://adishatz.org/lollypop/"
9028 "lollypop-" version ".tar.xz"))
9030 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9031 (build-system meson-build-system)
9033 `(#:imported-modules
9034 (,@%meson-build-system-modules
9035 (guix build python-build-system))
9037 ((guix build meson-build-system)
9038 ((guix build python-build-system) #:prefix python:)
9041 #:tests? #f ; no test suite
9043 (modify-phases %standard-phases
9044 (add-after 'install 'wrap-program
9045 (lambda* (#:key outputs #:allow-other-keys)
9046 (let ((out (assoc-ref outputs "out"))
9047 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9048 (wrap-program (string-append out "/bin/lollypop")
9049 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9051 (add-after 'install 'wrap-python
9052 (assoc-ref python:%standard-phases 'wrap)))))
9054 `(("intltool" ,intltool)
9055 ("itstool" ,itstool)
9056 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9057 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9058 ("pkg-config" ,pkg-config)))
9060 `(("gobject-introspection" ,gobject-introspection)
9061 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9062 ("gst-plugins-base" ,gst-plugins-base)
9063 ("libnotify" ,libnotify)
9064 ("libsecret" ,libsecret)
9065 ("libsoup" ,libsoup)
9067 ("python-beautifulsoup4" ,python-beautifulsoup4)
9068 ("python-gst" ,python-gst)
9069 ("python-pil" ,python-pillow)
9070 ("python-pycairo" ,python-pycairo)
9071 ("python-pygobject" ,python-pygobject)
9072 ("python-pylast" ,python-pylast)
9073 ("totem-pl-parser" ,totem-pl-parser)
9074 ("webkitgtk" ,webkitgtk)))
9076 `(;; gst-plugins-base is required to start Lollypop,
9077 ;; the others are required to play streaming.
9078 ("gst-plugins-good" ,gst-plugins-good)
9079 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9080 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9081 (synopsis "GNOME music playing application")
9083 "Lollypop is a music player designed to play well with GNOME desktop.
9084 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9085 from artists and tracks from the web. It also fetches cover artworks
9086 automatically and it can stream songs from online music services and charts.")
9087 (license license:gpl3+)))
9089 (define-public gnome-video-effects
9091 (name "gnome-video-effects")
9095 (uri (string-append "mirror://gnome/sources/" name "/"
9096 (version-major+minor version) "/" name "-"
9100 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9101 (build-system glib-or-gtk-build-system)
9103 `(#:out-of-source? #f))
9105 `(("glib:bin" ,glib "bin")
9106 ("intltool" ,intltool)
9107 ("gettext" ,gettext-minimal)
9108 ("pkg-config" ,pkg-config)))
9109 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9110 (synopsis "Video effects for Cheese and other GNOME applications")
9112 "A collection of GStreamer video filters and effects to be used in
9113 photo-booth-like software, such as Cheese.")
9114 (license license:gpl2+)))
9116 (define-public cheese
9122 (uri (string-append "mirror://gnome/sources/" name "/"
9123 (version-major+minor version) "/" name "-"
9127 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9130 ;; Tests require GDK.
9133 (modify-phases %standard-phases
9134 (add-after 'unpack 'skip-gtk-update-icon-cache
9136 ;; Don't create 'icon-theme.cache'
9137 (substitute* "meson_post_install.py"
9138 (("gtk-update-icon-cache") (which "true")))
9140 (add-after 'install 'wrap-cheese
9141 (lambda* (#:key inputs outputs #:allow-other-keys)
9142 (let ((out (assoc-ref outputs "out"))
9143 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9144 (wrap-program (string-append out "/bin/cheese")
9145 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9147 (build-system meson-build-system)
9149 `(("docbook-xsl" ,docbook-xsl)
9150 ("glib:bin" ,glib "bin")
9151 ("gtk-doc" ,gtk-doc)
9152 ("intltool" ,intltool)
9153 ("itstool" ,itstool)
9154 ("libxml2" ,libxml2)
9155 ("libxslt" ,libxslt)
9156 ("pkg-config" ,pkg-config)
9159 `(("gnome-video-effects" ,gnome-video-effects)
9160 ("clutter" ,clutter)
9161 ("clutter-gst" ,clutter-gst)
9162 ("clutter-gtk" ,clutter-gtk)
9163 ("libcanberra" ,libcanberra)
9164 ("gdk-pixbuf" ,gdk-pixbuf)
9166 ("gstreamer" ,gstreamer)))
9168 `(("gnome-desktop" ,gnome-desktop)
9169 ("gobject-introspection" ,gobject-introspection)
9170 ("gst-plugins-base" ,gst-plugins-base)
9171 ("gst-plugins-bad" ,gst-plugins-bad)
9174 ("libxtst" ,libxtst)))
9175 (home-page "https://wiki.gnome.org/Apps/Cheese")
9176 (synopsis "Webcam photo booth software for GNOME")
9178 "Cheese uses your webcam to take photos and videos. Cheese can also
9179 apply fancy special effects and lets you share the fun with others.")
9180 (license license:gpl2+)))
9182 (define-public sound-juicer
9184 (name "sound-juicer")
9189 (uri (string-append "mirror://gnome/sources/" name "/"
9190 (version-major+minor version) "/"
9191 name "-" version ".tar.xz"))
9194 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9195 (build-system glib-or-gtk-build-system)
9197 `(("desktop-file-utils" ,desktop-file-utils)
9198 ("intltool" ,intltool)
9199 ("itstool" ,itstool)
9200 ("pkg-config" ,pkg-config)
9201 ("xmllint" ,libxml2)))
9204 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9205 ("gstreamer" ,gstreamer)
9206 ("gst-plugins-base" ,gst-plugins-base)
9207 ("gst-plugins-good" ,gst-plugins-good)
9208 ("iso-codes" ,iso-codes)
9209 ("libbrasero-media3" ,brasero)
9210 ("libcanberra" ,libcanberra)
9211 ("libdiscid" ,libdiscid)
9212 ("libmusicbrainz" ,libmusicbrainz)
9214 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9215 (synopsis "Audio music cd ripper")
9216 (description "Sound Juicer extracts audio from compact discs and convert it
9217 into audio files that a personal computer or digital audio player can play.
9218 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9219 mp3, Ogg Vorbis and FLAC")
9220 (license license:gpl2+)))
9222 (define-public soundconverter
9224 (name "soundconverter")
9229 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9230 version "/+download/"
9231 "soundconverter-" version ".tar.xz"))
9234 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
9235 (build-system glib-or-gtk-build-system)
9237 `(#:imported-modules ((guix build python-build-system)
9238 (guix build glib-or-gtk-build-system)
9239 ,@%gnu-build-system-modules)
9241 #:modules ((guix build glib-or-gtk-build-system)
9243 ((guix build gnu-build-system) #:prefix gnu:)
9244 ((guix build python-build-system) #:prefix python:))
9247 (modify-phases %standard-phases
9248 (add-after 'install 'wrap-soundconverter-for-python
9249 (assoc-ref python:%standard-phases 'wrap))
9250 (add-after 'install 'wrap-soundconverter
9251 (lambda* (#:key inputs outputs #:allow-other-keys)
9252 (let ((out (assoc-ref outputs "out"))
9253 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9254 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9255 (wrap-program (string-append out "/bin/soundconverter")
9256 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9257 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9260 `(("intltool" ,intltool)
9261 ("pkg-config" ,pkg-config)
9262 ("glib:bin" ,glib "bin")))
9266 ("python-pygobject" ,python-pygobject)
9267 ("gstreamer" ,gstreamer)
9268 ("gst-plugins-base" ,gst-plugins-base)))
9269 (home-page "https://soundconverter.org/")
9270 (synopsis "Convert between audio formats with a graphical interface")
9272 "SoundConverter supports converting between many audio formats including
9273 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9274 configurable file renaming. ")
9275 (license license:gpl3)))
9277 (define-public workrave
9285 (url "https://github.com/rcaelers/workrave.git")
9286 (commit (string-append "v" (string-map
9287 (match-lambda (#\. #\_) (chr chr))
9289 (file-name (git-file-name name version))
9291 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9292 (build-system glib-or-gtk-build-system)
9294 ;; The only tests are maintainer tests (in po/), which fail.
9296 (inputs `(("glib" ,glib)
9298 ("gdk-pixbuf" ,gdk-pixbuf)
9302 ("libxtst" ,libxtst)
9306 ("libxscrnsaver" ,libxscrnsaver)))
9307 (native-inputs `(("boost" ,boost)
9308 ("pkg-config" ,pkg-config)
9309 ("gettext" ,gettext-minimal)
9310 ("autoconf" ,autoconf)
9311 ("autoconf-archive" , autoconf-archive)
9312 ("automake" ,automake)
9313 ("libtool" ,libtool)
9314 ("intltool" ,intltool)
9315 ("gobject-introspection" ,gobject-introspection)
9316 ("python3" ,python-3)
9317 ("python-jinja2" ,python-jinja2)))
9318 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9320 "Workrave is a program that assists in the recovery and prevention of
9321 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9322 micro-pauses and rest breaks, and restricts you to your daily limit.")
9323 (home-page "http://www.workrave.org")
9324 (license license:gpl3+)))
9332 (uri (string-append "mirror://gnome/sources/ghex/"
9333 (version-major+minor version) "/"
9334 "ghex-" version ".tar.xz"))
9337 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9338 (build-system meson-build-system)
9342 (modify-phases %standard-phases
9343 (add-after 'unpack 'skip-gtk-update-icon-cache
9344 ;; Don't create 'icon-theme.cache'.
9346 (substitute* "meson_post_install.py"
9347 (("gtk-update-icon-cache") (which "true")))
9350 `(("pkg-config" ,pkg-config)
9351 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9352 ("gnome-common" ,gnome-common)
9354 ("intltool" ,intltool)
9355 ("yelp-tools" ,yelp-tools)
9356 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9360 (synopsis "GNOME hexadecimal editor")
9361 (description "The GHex program can view and edit files in two ways:
9362 hexadecimal or ASCII. It is useful for editing binary files in general.")
9363 (home-page "https://wiki.gnome.org/Apps/Ghex")
9364 (license license:gpl2)))
9366 (define-public libdazzle
9372 (uri (string-append "mirror://gnome/sources/libdazzle/"
9373 (version-major+minor version) "/"
9374 "libdazzle-" version ".tar.xz"))
9377 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9378 (build-system meson-build-system)
9381 (modify-phases %standard-phases
9382 (add-before 'check 'pre-check
9384 ;; Tests require a running X server.
9385 (system "Xvfb :1 &")
9386 (setenv "DISPLAY" ":1")
9389 `(("glib" ,glib "bin") ; glib-compile-resources
9390 ("pkg-config" ,pkg-config)
9392 ("xorg-server" ,xorg-server-for-tests)))
9395 ("gobject-introspection" ,gobject-introspection)
9398 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9399 (synopsis "Companion library to GObject and Gtk+")
9400 (description "The libdazzle library is a companion library to GObject and
9401 Gtk+. It provides various features that the authors wish were in the
9402 underlying library but cannot for various reasons. In most cases, they are
9403 wildly out of scope for those libraries. In other cases, they are not quite
9404 generic enough to work for everyone.")
9405 (license license:gpl3+)))
9407 (define-public evolution
9413 (uri (string-append "mirror://gnome/sources/evolution/"
9414 (version-major+minor version) "/"
9415 "evolution-" version ".tar.xz"))
9418 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9419 (build-system cmake-build-system)
9421 `(#:imported-modules (,@%cmake-build-system-modules
9422 (guix build glib-or-gtk-build-system))
9423 #:modules ((guix build cmake-build-system)
9424 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9427 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9428 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9429 ; in four years and cannot be built.
9431 (modify-phases %standard-phases
9432 ;; The build system attempts to install user interface modules to the
9433 ;; output directory of the "evolution-data-server" package. This
9434 ;; change redirects that change.
9435 (add-after 'unpack 'patch-ui-module-dir
9436 (lambda* (#:key outputs #:allow-other-keys)
9437 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9438 (("\\$\\{edsuimoduledir\\}")
9439 (string-append (assoc-ref outputs "out")
9440 "/lib/evolution-data-server/ui-modules")))
9442 (add-after 'install 'glib-or-gtk-compile-schemas
9443 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9444 (add-after 'install 'glib-or-gtk-wrap
9445 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9447 `(("glib" ,glib "bin") ; glib-mkenums
9448 ("pkg-config" ,pkg-config)
9449 ("intltool" ,intltool)
9450 ("itstool" ,itstool)))
9452 `(("enchant" ,enchant)
9453 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9455 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9456 ("gnome-autoar" ,gnome-autoar)
9457 ("gnome-desktop" ,gnome-desktop)
9459 ("highlight" ,highlight)
9460 ("libcanberra" ,libcanberra)
9461 ("libgweather" ,libgweather)
9462 ("libnotify" ,libnotify)
9463 ("libsoup" ,libsoup)
9465 ("openldap" ,openldap)
9466 ("webkitgtk" ,webkitgtk)
9468 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9469 (synopsis "Manage your email, contacts and schedule")
9470 (description "Evolution is a personal information management application
9471 that provides integrated mail, calendaring and address book
9473 ;; See COPYING for details.
9474 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9475 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9476 license:lgpl2.1+)))) ; smime/lib/*
9478 (define-public gthumb
9484 (uri (string-append "mirror://gnome/sources/gthumb/"
9485 (version-major+minor version) "/"
9486 "gthumb-" version ".tar.xz"))
9489 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9490 (build-system meson-build-system)
9494 ;; Ensure the RUNPATH contains all installed library locations.
9495 (list (string-append "-Dc_link_args=-Wl,-rpath="
9496 (assoc-ref %outputs "out")
9497 "/lib/gthumb/extensions")
9498 (string-append "-Dcpp_link_args=-Wl,-rpath="
9499 (assoc-ref %outputs "out")
9500 "/lib/gthumb/extensions"))))
9502 `(("pkg-config" ,pkg-config)
9503 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9504 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9505 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9506 ("intltool" ,intltool)
9507 ("itstool" ,itstool)))
9511 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9512 ("gstreamer" ,gstreamer)
9513 ("clutter" ,clutter)
9514 ("clutter-gst" ,clutter-gst)
9515 ("clutter-gtk" ,clutter-gtk)
9516 ("libjpeg" ,libjpeg-turbo)
9517 ("libtiff" ,libtiff)
9518 ("libraw" ,libraw)))
9519 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9520 (synopsis "GNOME image viewer and browser")
9521 (description "GThumb is an image viewer, browser, organizer, editor and
9522 advanced image management tool")
9523 (license license:gpl2+)))
9525 (define-public terminator
9531 (uri (string-append "https://launchpad.net/" name "/"
9532 "gtk3/" version "/" "+download/"
9533 name "-" version ".tar.gz"))
9536 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9537 (build-system python-build-system)
9539 `(("intltool" ,intltool)
9540 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9541 ("gettext" ,gettext-minimal)
9542 ("pkg-config" ,pkg-config)))
9545 ("gobject-introspection" ,gobject-introspection)
9546 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9547 ("python2-pycairo" ,python2-pycairo)
9548 ("python2-pygobject" ,python2-pygobject)
9549 ("python2-psutil" ,python2-psutil)
9552 `(#:python ,python-2 ; Python 3 isn't supported
9553 #:imported-modules ((guix build glib-or-gtk-build-system)
9554 ,@%python-build-system-modules)
9555 #:modules ((guix build python-build-system)
9556 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9559 (modify-phases %standard-phases
9561 'install 'wrap-program
9562 (lambda* (#:key outputs #:allow-other-keys)
9563 (let ((prog (string-append (assoc-ref outputs "out")
9564 "/bin/terminator")))
9566 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9567 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9569 (add-after 'wrap-program 'glib-or-gtk-wrap
9570 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9571 (home-page "https://gnometerminator.blogspot.com/")
9572 (synopsis "Store and run multiple GNOME terminals in one window")
9574 "Terminator allows you to run multiple GNOME terminals in a grid and
9575 +tabs, and it supports drag and drop re-ordering of terminals.")
9576 (license license:gpl2)))
9578 (define-public libhandy
9586 (url "https://source.puri.sm/Librem5/libhandy")
9587 (commit (string-append "v" version))))
9588 (file-name (git-file-name name version))
9590 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9591 (build-system meson-build-system)
9594 '("-Dglade_catalog=disabled"
9597 (modify-phases %standard-phases
9598 (add-before 'check 'pre-check
9600 ;; Tests require a running X server.
9601 (system "Xvfb :1 &")
9602 (setenv "DISPLAY" ":1")
9607 `(("glib:bin" ,glib "bin")
9608 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9610 ("gtk-doc" ,gtk-doc)
9611 ("pkg-config" ,pkg-config)
9612 ("gettext" ,gettext-minimal)
9614 ;; Test suite dependencies.
9615 ("xorg-server" ,xorg-server-for-tests)
9616 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9617 (home-page "https://source.puri.sm/Librem5/libhandy")
9618 (synopsis "Library full of GTK+ widgets for mobile phones")
9619 (description "The aim of the handy library is to help with developing user
9620 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9621 for usage on small and big screens.")
9622 (license license:lgpl2.1+)))
9624 (define-public libgit2-glib
9626 (name "libgit2-glib")
9627 (version "0.99.0.1")
9630 (uri (string-append "mirror://gnome/sources/" name "/"
9631 (version-major+minor version) "/"
9632 name "-" version ".tar.xz"))
9635 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9636 (build-system meson-build-system)
9638 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9639 ("gobject-introspection" ,gobject-introspection)
9640 ("pkg-config" ,pkg-config)
9641 ("python-pygobject" ,python-pygobject)
9642 ("python-wrapper" ,python-wrapper)
9646 ("libssh2" ,libssh2)))
9648 `(;; In Requires of libgit2-glib.pc.
9649 ("libgit2" ,libgit2)))
9650 (synopsis "GLib wrapper around the libgit2 Git access library")
9651 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9652 access library. It only implements the core plumbing functions, not really the
9653 higher level porcelain stuff.")
9654 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9655 (license license:gpl2+)))
9663 (uri (string-append "mirror://gnome/sources/" name "/"
9664 (version-major+minor version) "/"
9665 name "-" version ".tar.xz"))
9668 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9669 (build-system meson-build-system)
9673 (modify-phases %standard-phases
9674 (add-after 'unpack 'disable-post-install-partially
9676 (substitute* "meson_post_install.py"
9677 (("'python'") ; there are no python sources to compile
9678 (string-append "'" (which "true") "'"))
9679 (("gtk-update-icon-cache") (which "true")))
9681 (add-after 'unpack 'fix-test-sources
9683 (substitute* "tests/libgitg/test-commit.vala"
9684 (("/bin/bash") (which "bash")))
9686 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9687 (lambda* (#:key outputs #:allow-other-keys)
9688 (let ((prog (string-append (assoc-ref outputs "out")
9691 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9695 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9697 ("gtkspell3" ,gtkspell3)
9698 ("gtksourceview" ,gtksourceview-3)
9699 ("json-glib" ,json-glib)
9700 ("libdazzle" ,libdazzle)
9702 ("libgit2-glib" ,libgit2-glib)
9703 ("libpeas" ,libpeas)
9704 ("libsecret" ,libsecret)
9705 ("libsoup" ,libsoup)
9706 ("libxml2" ,libxml2)))
9708 `(("glib:bin" ,glib "bin")
9709 ("gtk+:bin" ,gtk+ "bin")
9710 ("gobject-introspection" ,gobject-introspection)
9711 ("intltool" ,intltool)
9712 ("pkg-config" ,pkg-config)
9714 (synopsis "Graphical user interface for git")
9716 "gitg is a graphical user interface for git. It aims at being a small,
9717 fast and convenient tool to visualize the history of git repositories.
9718 Besides visualization, gitg also provides several utilities to manage your
9719 repository and commit your work.")
9720 (home-page "https://wiki.gnome.org/Apps/Gitg")
9721 (license license:gpl2+)))
9723 (define-public gamin
9729 (uri (string-append "mirror://gnome/sources/" name "/"
9730 (version-major+minor version) "/"
9731 name "-" version ".tar.bz2"))
9734 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9735 (build-system gnu-build-system)
9738 (modify-phases %standard-phases
9739 (add-after 'unpack 'remove-deprecated-macro
9741 (substitute* '("server/gam_node.c"
9742 "server/gam_subscription.h"
9744 "server/gam_subscription.c")
9745 (("G_CONST_RETURN") "const"))
9750 `(("intltool" ,intltool)
9751 ("pkg-config" ,pkg-config)))
9752 (home-page "https://people.gnome.org/~veillard/gamin/")
9753 (synopsis "File alteration monitor")
9755 "Gamin is a file and directory monitoring system defined to be a subset
9756 of the FAM (File Alteration Monitor) system. This is a service provided by a
9757 library which detects when a file or a directory has been modified.")
9758 (license license:gpl2+)))
9760 (define-public gnome-mahjongg
9762 (name "gnome-mahjongg")
9767 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9769 (file-name (git-file-name name version))
9772 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9773 (build-system meson-build-system)
9775 `(#:glib-or-gtk? #t))
9777 `(("appstream-glib" ,appstream-glib)
9778 ("gettext" ,gettext-minimal)
9779 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9780 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9781 ("itstool" ,itstool)
9782 ("pkg-config" ,pkg-config)
9785 `(("dconf" ,dconf)))
9789 ("librsvg" ,librsvg)))
9790 (synopsis "Mahjongg tile-matching game")
9791 (description "GNOME Mahjongg is a game based on the classic Chinese
9792 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9793 and a high score table.")
9794 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9795 (license license:gpl2+)))
9797 (define-public gnome-themes-extra
9799 (name "gnome-themes-extra")
9804 (uri (string-append "mirror://gnome/sources/" name "/"
9805 (version-major+minor version) "/" name "-"
9809 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9810 (build-system gnu-build-system)
9813 ;; Don't create 'icon-theme.cache'.
9814 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9815 (true (string-append coreutils "/bin/true")))
9816 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9818 `(("glib:bin" ,glib "bin")
9819 ("intltool" ,intltool)
9820 ("pkg-config" ,pkg-config)))
9825 ("librsvg" ,librsvg)
9826 ("libxml2" ,libxml2)))
9827 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9828 (synopsis "GNOME Extra Themes")
9829 (description "This package provides themes and related elements that don't
9830 really fit in other upstream packages. It offers legacy support for GTK+ 2
9831 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9832 index files needed for Adwaita to be used outside of GNOME.")
9833 (license license:lgpl2.1+)))
9835 (define-public polari
9841 (uri (string-append "mirror://gnome/sources/polari/"
9842 (version-major+minor version)
9843 "/polari-" version ".tar.xz"))
9846 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9847 (build-system meson-build-system)
9851 (modify-phases %standard-phases
9852 (add-after 'unpack 'skip-gtk-update-icon-cache
9854 (substitute* "meson/meson-postinstall.sh"
9855 (("gtk-update-icon-cache") (which "true")))
9857 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9858 (lambda* (#:key outputs #:allow-other-keys)
9859 (let ((prog (string-append (assoc-ref outputs "out")
9862 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9866 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9870 ("libsecret" ,libsecret)
9871 ("libsoup" ,libsoup)
9872 ("telepathy-glib" ,telepathy-glib)
9873 ("telepathy-logger" ,telepathy-logger)))
9875 `(("glib:bin" ,glib "bin")
9876 ("gobject-introspection" ,gobject-introspection)
9877 ("intltool" ,intltool)
9878 ("pkg-config" ,pkg-config)
9879 ("yelp-tools" ,yelp-tools)))
9881 `(("telepathy-idle" ,telepathy-idle)
9882 ("telepathy-mission-control" ,telepathy-mission-control)))
9883 (synopsis "Simple IRC Client")
9885 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9886 integrate seamlessly with the GNOME desktop.")
9887 (home-page "https://wiki.gnome.org/Apps/Polari")
9888 (license license:gpl2+)))
9890 (define-public gnome-boxes
9892 (name "gnome-boxes")
9897 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9898 (version-major+minor version) "/"
9899 "gnome-boxes-" version ".tar.xz"))
9902 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9903 (build-system meson-build-system)
9906 #:configure-flags (list "-Drdp=false"
9907 (string-append "-Dc_link_args=-Wl,-rpath="
9908 (assoc-ref %outputs "out")
9909 "/lib/gnome-boxes"))))
9911 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9912 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9913 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9914 ("itstool" ,itstool)
9915 ("intltool" ,intltool)
9917 ("pkg-config" ,pkg-config)))
9919 `(("libarchive" ,libarchive)
9921 ("gtk-vnc" ,gtk-vnc)
9922 ("libosinfo" ,libosinfo)
9923 ("libsecret" ,libsecret)
9924 ("libsoup" ,libsoup)
9926 ("libvirt" ,libvirt)
9927 ("libvirt-glib" ,libvirt-glib)
9929 ("spice-gtk" ,spice-gtk)
9930 ("sparql-query" ,sparql-query)
9932 ("webkitgtk" ,webkitgtk)
9933 ("tracker" ,tracker)
9934 ("libgudev" ,libgudev)))
9935 (home-page "https://wiki.gnome.org/Apps/Boxes")
9936 (synopsis "View, access, and manage remote and virtual systems")
9937 (description "GNOME Boxes is a simple application to view, access, and
9938 manage remote and virtual systems.")
9940 ;; For data/icons/empty-boxes.png.
9943 license:lgpl2.0+))))
9945 (define-public geary
9952 (url "https://gitlab.gnome.org/GNOME/geary")
9954 (file-name (git-file-name name version))
9957 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9958 (build-system meson-build-system)
9961 #:phases (modify-phases %standard-phases
9962 (add-after 'unpack 'disable-failing-tests
9964 (substitute* "test/meson.build"
9965 (("test\\('client-tests', geary_test_client_bin\\)")
9968 (add-after 'unpack 'disable-postinstall-script
9970 (substitute* "meson.build"
9971 (("meson.add_install_script\\(\
9972 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9975 (add-before 'check 'setup-xvfb
9977 (system "Xvfb :1 &")
9978 (setenv "DISPLAY" ":1")
9981 `(("enchant" ,enchant)
9985 ("gmime" ,gmime-2.6)
9986 ("gnome-online-accounts:lib"
9987 ,gnome-online-accounts "lib")
9990 ("iso-codes" ,iso-codes)
9991 ("json-glib" ,json-glib)
9992 ("libcanberra" ,libcanberra)
9994 ("libhandy" ,libhandy)
9995 ("libpeas" ,libpeas)
9996 ("libsecret" ,libsecret)
9997 ("libunwind" ,libunwind)
9999 ("webkitgtk" ,webkitgtk)
10002 `(("appstream-glib" ,appstream-glib)
10003 ("cmake-minimal" ,cmake-minimal)
10004 ("desktop-file-utils" ,desktop-file-utils)
10005 ("gettext" ,gettext-minimal)
10006 ("glib:bin" ,glib "bin")
10007 ("gobject-introspection" ,gobject-introspection)
10008 ("itstool" ,itstool)
10009 ("libarchive" ,libarchive)
10010 ("libxml2" ,libxml2)
10011 ("pkg-config" ,pkg-config)
10013 ("xvfb" ,xorg-server-for-tests)))
10014 (synopsis "GNOME email application built around conversations")
10016 "Geary collects related messages together into conversations,
10017 making it easy to find and follow your discussions. Full-text and keyword
10018 search makes it easy to find the email you are looking for. Geary's
10019 full-featured composer lets you send rich, styled text with images, links, and
10020 lists, but also send lightweight, easy to read text messages. Geary
10021 automatically picks up your existing GNOME Online Accounts, and adding more is
10022 easy. Geary has a clean, fast, modern interface that works like you want it
10024 (home-page "https://wiki.gnome.org/Apps/Geary")
10030 license:cc-by-sa3.0
10031 license:public-domain
10035 (define-public glabels
10042 (uri (string-append "mirror://gnome/sources/" name "/"
10043 (version-major+minor version) "/"
10044 "glabels-" version ".tar.xz"))
10046 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10047 (build-system glib-or-gtk-build-system)
10049 `(("gettext" ,gettext-minimal)
10050 ("glib:bin" ,glib "bin")
10051 ("intltool" ,intltool)
10052 ("itstool" ,itstool)
10053 ("pkg-config" ,pkg-config)))
10056 ("librsvg" ,librsvg)
10057 ("libxml2" ,libxml2)))
10058 (home-page "https://glabels.org/")
10059 (synopsis "Program for creating labels and business cards")
10061 "gLabels is a program for creating labels and business cards. It is
10062 designed to work with various laser/ink-jet peel-off label and business
10063 card sheets that you’ll find at most office supply stores.")
10064 (license license:gpl3+)))
10066 (define-public libratbag
10073 (uri (git-reference
10074 (url "https://github.com/libratbag/libratbag.git")
10075 (commit (string-append "v" version))))
10076 (file-name (git-file-name name version))
10078 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10079 (build-system meson-build-system)
10081 `(#:configure-flags
10082 (list "-Dsystemd=false"
10083 "-Dlogind-provider=elogind")
10085 (modify-phases %standard-phases
10086 (add-after 'install 'wrap
10087 (lambda* (#:key inputs outputs #:allow-other-keys)
10088 (let* ((out (assoc-ref outputs "out"))
10089 (site (string-append
10091 ,(version-major+minor (package-version python))
10093 (evdev (string-append
10094 (assoc-ref inputs "python-evdev") site))
10095 (pygo (string-append
10096 (assoc-ref inputs "python-pygobject") site))
10098 `("PYTHONPATH" = (,evdev ,pygo))))
10099 (wrap-program (string-append out "/bin/" "ratbagctl")
10104 ("pkg-config" ,pkg-config)
10106 ("valgrind" ,valgrind)))
10109 ("json-glib" ,json-glib)
10110 ("libevdev" ,libevdev)
10111 ("libsystemd" ,elogind)
10112 ("libunistring" ,libunistring)
10113 ("python-evdev" ,python-evdev)
10114 ("python-pygobject" ,python-pygobject)
10116 (home-page "https://github.com/libratbag/libratbag")
10117 (synopsis "DBus daemon and utility for configuring gaming mice")
10118 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10119 configure input devices, mainly gaming mice. The daemon provides a generic
10120 way to access the various features exposed by these mice and abstracts away
10121 hardware-specific and kernel-specific quirks. There is also the
10122 @command{ratbagctl} command line interface for configuring devices.
10124 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10127 The ratbagd DBus service can be enabled by adding the following service to
10128 your operating-system definition:
10130 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10131 (license license:expat)))
10133 (define-public piper
10140 (uri (git-reference
10141 (url "https://github.com/libratbag/piper.git")
10144 (base32 "17h06j8lxpbfygq8fzycl7lml4vv7r05bsyhh3gga2hp0zms4mvg"))))
10145 (build-system meson-build-system)
10147 `(("gettext" ,gettext-minimal)
10148 ("glib:bin" ,glib "bin")
10149 ("gobject-introspection" ,gobject-introspection)
10150 ("pkg-config" ,pkg-config)
10151 ("python-flake8" ,python-flake8)))
10153 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10155 ("gtk:bin" ,gtk+ "bin")
10156 ("librsvg" ,librsvg)
10157 ("python-evdev" ,python-evdev)
10158 ("python-lxml" ,python-lxml)
10159 ("python-pycairo" ,python-pycairo)
10160 ("python-pygobject" ,python-pygobject)))
10162 `(#:imported-modules ((guix build python-build-system)
10163 ,@%meson-build-system-modules)
10164 #:modules (((guix build python-build-system) #:prefix python:)
10165 (guix build meson-build-system)
10166 (guix build utils))
10168 (modify-phases %standard-phases
10169 (add-after 'unpack 'dont-update-gtk-icon-cache
10171 (substitute* "meson.build"
10172 (("meson.add_install_script('meson_install.sh')") ""))
10174 ;; TODO: Switch to wrap-script when it is fixed.
10175 (add-after 'install 'wrap-python
10176 (assoc-ref python:%standard-phases 'wrap))
10177 (add-after 'wrap-python 'wrap
10178 (lambda* (#:key outputs #:allow-other-keys)
10180 (string-append (assoc-ref outputs "out" )"/bin/piper")
10181 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10183 (home-page "https://github.com/libratbag/piper/")
10184 (synopsis "Configure bindings and LEDs on gaming mice")
10185 (description "Piper is a GTK+ application for configuring gaming mice with
10186 onboard configuration for key bindings via libratbag. Piper requires
10187 a @command{ratbagd} daemon running with root privileges. It can be run
10188 manually as root, but is preferably configured as a DBus service that can
10189 launch on demand. This can be configured by enabling the following service,
10190 provided there is a DBus service present:
10192 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10193 (license license:gpl2)))
10195 (define-public parlatype
10196 ;; This is one commit away from 2.0, because the latter introduced
10197 ;; a regression in ASR.
10198 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
10202 (version (git-version "2.0" revision commit))
10206 (uri (git-reference
10207 (url "https://github.com/gkarsay/parlatype.git")
10209 (file-name (git-file-name name version))
10211 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
10212 (build-system meson-build-system)
10214 `(#:glib-or-gtk? #t
10215 #:tests? #f ;require internet access
10217 (modify-phases %standard-phases
10218 (add-after 'install 'wrap-parlatype
10219 ;; Add gstreamer plugin provided in this package to system's
10221 (lambda* (#:key outputs #:allow-other-keys)
10222 (let* ((out (assoc-ref outputs "out"))
10223 (gst-plugin-path (string-append
10224 out "/lib/gstreamer-1.0/"
10226 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10227 (wrap-program (string-append out "/bin/parlatype")
10228 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10231 `(("appstream-glib" ,appstream-glib)
10232 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10233 ("gettext" ,gettext-minimal)
10234 ("glib" ,glib "bin") ;for glib-compile-resources
10235 ("pkg-config" ,pkg-config)
10236 ("yelp-tools" ,yelp-tools)))
10238 `(("gst-plugins-base" ,gst-plugins-base)
10239 ("gst-plugins-good" ,gst-plugins-good)
10240 ("gstreamer" ,gstreamer)
10242 ("pocketsphinx" ,pocketsphinx)
10243 ("pulseaudio" ,pulseaudio)
10244 ("sphinxbase" ,sphinxbase)))
10245 (home-page "http://gkarsay.github.io/parlatype/")
10246 (synopsis "GNOME audio player for transcription")
10247 (description "Parlatype is an audio player for the GNOME desktop
10248 environment. Its main purpose is the manual transcription of spoken
10250 (license license:gpl3+))))
10252 (define-public jsonrpc-glib
10254 (name "jsonrpc-glib")
10258 (uri (string-append "mirror://gnome/sources/" name "/"
10259 (version-major+minor version) "/"
10260 name "-" version ".tar.xz"))
10263 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10264 (build-system meson-build-system)
10266 `(("json-glib" ,json-glib)
10269 `(("pkg-config" ,pkg-config)
10270 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10271 ("gobject-introspection" ,gobject-introspection)
10273 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10274 (synopsis "JSON-RPC library for GLib")
10275 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10276 peers in either a synchronous or asynchronous fashion. It also allows
10277 communicating using the GVariant serialization format instead of JSON when
10278 both peers support it. You might want that when communicating on a single
10279 host to avoid parser overhead and memory-allocator fragmentation.")
10280 (license license:lgpl2.1+)))