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)
649 ("libsecret" ,libsecret)
650 ("network-manager" ,network-manager)
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 (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
886 version "/deja-dup-" version ".tar.bz2"))
889 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
890 (build-system meson-build-system)
895 ;; Otherwise, the RUNPATH will lack the final path component.
896 (string-append "-Dc_link_args=-Wl,-rpath="
897 (assoc-ref %outputs "out") "/lib/deja-dup"))
899 (modify-phases %standard-phases
900 (add-after 'unpack 'patch-paths
901 (lambda* (#:key inputs #:allow-other-keys)
902 (let ((python (assoc-ref inputs "python")))
903 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
904 "libdeja/tests/scripts/instance-error.test")
907 (substitute* "libdeja/tests/runner.vala"
910 (substitute* "libdeja/tests/scripts/instance-error.test"
912 (string-append python "/bin/python3"))))))
913 (add-after 'unpack 'patch-libgpg-error
914 (lambda* (#:key inputs #:allow-other-keys)
915 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
916 (substitute* "meson.build"
917 (("(gpgerror_libs = ).*" _ var)
918 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
920 (add-after 'unpack 'skip-gtk-update-icon-cache
921 ;; Don't create 'icon-theme.cache'.
923 (substitute* "data/post-install.sh"
924 (("gtk-update-icon-cache") "true"))
927 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
928 ("duplicity" ,duplicity)
930 ("python-pygobject" ,python-pygobject)
932 ("json-glib" ,json-glib)
933 ("libnotify" ,libnotify)
934 ("libgpg-error" ,libgpg-error)
935 ("libsecret" ,libsecret)
937 ("packagekit" ,packagekit)))
939 `(("appstream-glib" ,appstream-glib)
940 ("desktop-file-utils" ,desktop-file-utils)
941 ("gettext" ,gettext-minimal)
942 ("glib" ,glib "bin") ; for glib-compile-schemas.
943 ("gobject-introspection" ,gobject-introspection)
945 ("pkg-config" ,pkg-config)
947 (home-page "https://wiki.gnome.org/Apps/DejaDup")
948 (synopsis "Simple backup tool, for regular encrypted backups")
950 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
951 uses duplicity as the backend, which supports incremental backups and storage
952 either on a local, or remote machine via a number of methods.")
953 (license license:gpl3+)))
955 (define-public gnome-user-docs
957 (name "gnome-user-docs")
962 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
963 (version-major+minor version)
964 "/gnome-user-docs-" version ".tar.xz"))
966 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
967 (build-system gnu-build-system)
969 `(("gettext" ,gettext-minimal)
971 ("pkg-config" ,pkg-config)
972 ("xmllint" ,libxml2)))
973 (synopsis "User documentation for the GNOME desktop")
975 "The GNOME User Documentation explains how to use the GNOME desktop and its
976 components. It covers usage and setup of the core GNOME programs by end-users
977 and system administrators.")
978 (home-page "https://live.gnome.org/DocumentationProject")
979 (license license:cc-by3.0)))
981 (define-public gnome-getting-started-docs
983 (name "gnome-getting-started-docs")
988 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
989 (version-major+minor version)
990 "/gnome-getting-started-docs-" version ".tar.xz"))
992 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
993 (build-system gnu-build-system)
995 `(("gettext" ,gettext-minimal)
997 ("pkg-config" ,pkg-config)
998 ("xmllint" ,libxml2)))
999 (synopsis "Help to get new users started with the GNOME desktop")
1001 "The GNOME Getting Started Documentation contains GNOME's intuitive
1002 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1004 It is normally used together with @command{gnome-initial-setup}, but is also
1005 useful as a tutorial and users' guide for new or less experienced users.")
1006 (home-page "https://live.gnome.org/DocumentationProject")
1007 (license license:cc-by-sa3.0)))
1010 ;; This version from GNOME's repository includes fixes for compiling with
1011 ;; recent versions of the build tools. The latest activity on the
1012 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1014 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1018 (version (git-version "0.97.3" revision commit))
1022 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1024 (file-name (git-file-name name version))
1027 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1028 (build-system meson-build-system)
1030 `(("graphene" ,graphene)
1032 ("libxml2" ,libxml2)
1033 ("libxslt" ,libxslt)
1034 ("poppler" ,poppler)
1035 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1036 ;; ERROR: Unknown method "dependency" in object.
1037 ("python-2" ,python-2)))
1039 `(("appstream-glib" ,appstream-glib)
1040 ("docbook-xsl" ,docbook-xsl)
1041 ("glib" ,glib "bin")
1042 ("intltool" ,intltool)
1043 ("pkg-config" ,pkg-config)))
1044 (home-page "https://wiki.gnome.org/Apps/Dia")
1045 (synopsis "Diagram creation for GNOME")
1046 (description "Dia can be used to draw different types of diagrams, and
1047 includes support for UML static structure diagrams (class diagrams), entity
1048 relationship modeling, and network diagrams. The program supports various file
1049 formats like PNG, SVG, PDF and EPS.")
1050 (license license:gpl2+))))
1052 ;; This is the unstable release, but it is required for the current stable
1053 ;; release of gvfs (1.38.1).
1054 (define-public libgdata
1060 (uri (string-append "mirror://gnome/sources/" name "/"
1061 (version-major+minor version) "/"
1062 name "-" version ".tar.xz"))
1065 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1066 (build-system gnu-build-system)
1069 (modify-phases %standard-phases
1070 (add-before 'check 'disable-failing-tests
1072 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1073 ;; They have been removed in libgdata 0.17.6, so just do the same.
1074 (substitute* "gdata/tests/Makefile"
1075 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1078 `(("glib:bin" ,glib "bin")
1079 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1080 ("intltool" ,intltool)
1081 ("pkg-config" ,pkg-config)
1082 ("uhttpmock" ,uhttpmock)))
1084 `(("cyrus-sasl" ,cyrus-sasl)
1085 ("glib-networking" ,glib-networking)))
1089 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1090 ("json-glib" ,json-glib)
1091 ("liboauth" ,liboauth)
1092 ("libsoup" ,libsoup)
1093 ("libxml2" ,libxml2)))
1094 (home-page "https://wiki.gnome.org/Projects/libgdata")
1095 (synopsis "Library for accessing online service APIs")
1097 "libgdata is a GLib-based library for accessing online service APIs using
1098 the GData protocol — most notably, Google's services. It provides APIs to
1099 access the common Google services, and has full asynchronous support.")
1100 (license license:lgpl2.1+)))
1102 (define-public libgxps
1108 (uri (string-append "mirror://gnome/sources/" name "/"
1109 (version-major+minor version) "/"
1110 name "-" version ".tar.xz"))
1113 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1114 (build-system meson-build-system)
1116 `(("gobject-introspection" ,gobject-introspection)
1117 ("pkg-config" ,pkg-config)))
1120 ("libjpeg" ,libjpeg-turbo)
1122 ("libtiff" ,libtiff)))
1124 ;; In Requires of libgxps.pc.
1127 ("libarchive" ,libarchive)))
1128 (home-page "https://wiki.gnome.org/Projects/libgxps")
1129 (synopsis "GObject-based library for handling and rendering XPS documents")
1131 "libgxps is a GObject-based library for handling and rendering XPS
1132 documents. This package also contains binaries that can convert XPS documents
1134 (license license:lgpl2.1+)))
1136 (define-public gnome-characters
1138 (name "gnome-characters")
1143 (uri (string-append "mirror://gnome/sources/"
1144 "gnome-characters/" (version-major+minor version)
1145 "/gnome-characters-" version ".tar.xz"))
1148 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1149 (build-system meson-build-system)
1152 #:phases (modify-phases %standard-phases
1153 (add-after 'install 'wrap
1154 (lambda* (#:key outputs #:allow-other-keys)
1155 ;; GNOME Characters needs Typelib files from GTK and
1157 (wrap-program (string-append (assoc-ref outputs "out")
1158 "/bin/gnome-characters")
1159 `("GI_TYPELIB_PATH" ":" prefix
1160 (,(getenv "GI_TYPELIB_PATH"))))
1163 `(("gettext" ,gettext-minimal)
1164 ("glib:bin" ,glib "bin")
1165 ("gtk+:bin" ,gtk+ "bin")
1166 ("pkg-config" ,pkg-config)
1167 ("python" ,python-minimal)))
1171 ("libunistring" ,libunistring)
1172 ("gnome-desktop" ,gnome-desktop)))
1173 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1174 (synopsis "Find and insert unusual characters")
1175 (description "Characters is a simple utility application to find
1176 and insert unusual characters. It allows you to quickly find the
1177 character you are looking for by searching for keywords.")
1178 (license license:bsd-3)))
1180 (define-public gnome-common
1182 (name "gnome-common")
1187 (uri (string-append "mirror://gnome/sources/" name "/"
1188 (version-major+minor version) "/"
1189 name "-" version ".tar.xz"))
1192 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1193 (build-system gnu-build-system)
1194 (home-page "https://www.gnome.org/")
1195 (synopsis "Bootstrap GNOME modules built from Git")
1196 (description "gnome-common contains various files needed to bootstrap
1197 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1198 can be used to configure a source directory checked out from Git and some
1199 commonly used macros.")
1200 (license license:gpl2+)))
1202 (define-public gnome-contacts
1204 (name "gnome-contacts")
1208 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1209 (version-major+minor version) "/"
1210 name "-" version ".tar.xz"))
1213 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1214 (build-system meson-build-system)
1216 `(#:configure-flags '("-Dcheese=false")
1218 (modify-phases %standard-phases
1219 (add-after 'unpack 'generate-vapis
1220 (lambda* (#:key inputs #:allow-other-keys)
1221 ;; To generate goa's missing .vapi file
1223 (assoc-ref inputs "gnome-online-accounts:lib"))
1225 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1227 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1229 (add-after 'unpack 'skip-gtk-update-icon-cache
1230 ;; Don't create 'icon-theme.cache'.
1232 (substitute* "build-aux/meson_post_install.py"
1233 (("gtk-update-icon-cache") "true"))
1236 `(("glib:bin" ,glib "bin")
1237 ("pkg-config" ,pkg-config)))
1239 `(("docbook-xml" ,docbook-xml)
1240 ("dockbook-xsl" ,docbook-xsl)
1241 ("evolution-data-server" ,evolution-data-server)
1242 ("gettext" ,gettext-minimal)
1243 ("gnome-desktop" ,gnome-desktop)
1244 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1245 ("gobject-introspection" ,gobject-introspection)
1246 ("gst-plugins-base" ,gst-plugins-base)
1249 ("libxslt" ,libxslt)
1250 ("telepathy-glib" ,telepathy-glib)
1254 ("telepathy-mission-control" ,telepathy-mission-control)))
1255 (synopsis "GNOME's integrated address book")
1257 "GNOME Contacts organizes your contact information from online and
1258 offline sources, providing a centralized place for managing your contacts.")
1259 (home-page "https://wiki.gnome.org/Apps/Contacts")
1260 (license license:gpl2+)))
1262 (define-public gnome-desktop
1264 (name "gnome-desktop")
1269 (uri (string-append "mirror://gnome/sources/" name "/"
1270 (version-major+minor version) "/"
1271 name "-" version ".tar.xz"))
1274 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1275 (build-system meson-build-system)
1278 (modify-phases %standard-phases
1279 (add-before 'configure 'patch-path
1280 (lambda* (#:key inputs #:allow-other-keys)
1281 (let ((libc (assoc-ref inputs "libc")))
1282 (substitute* "libgnome-desktop/gnome-languages.c"
1284 (string-append "\"" libc "/bin/locale\"")))
1286 (add-before 'check 'pre-check
1287 (lambda* (#:key inputs #:allow-other-keys)
1288 ;; Tests require a running X server and locales.
1289 (system "Xvfb :1 &")
1290 (setenv "DISPLAY" ":1")
1291 (setenv "GUIX_LOCPATH"
1292 (string-append (assoc-ref inputs "glibc-locales")
1296 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1297 ("glibc-locales" ,glibc-locales) ; for tests
1298 ("gobject-introspection" ,gobject-introspection)
1299 ("itstool" ,itstool)
1300 ("intltool" ,intltool)
1301 ("pkg-config" ,pkg-config)
1302 ("xmllint" ,libxml2)
1303 ("xorg-server" ,xorg-server-for-tests)))
1305 ;; Required by gnome-desktop-3.0.pc.
1306 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1308 ("iso-codes" ,iso-codes)
1309 ("libseccomp" ,libseccomp)
1311 ("xkeyboard-config" ,xkeyboard-config)))
1313 `(("gdk-pixbuf" ,gdk-pixbuf)
1315 ("libxext" ,libxext)
1316 ("libxkbfile" ,libxkbfile)
1317 ("libxrandr" ,libxrandr)))
1318 (home-page "https://www.gnome.org/")
1320 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1322 "The libgnome-desktop library provides API shared by several applications
1323 on the desktop, but that cannot live in the platform for various reasons.
1324 There is no API or ABI guarantee, although we are doing our best to provide
1325 stability. Documentation for the API is available with gtk-doc.
1327 The gnome-about program helps find which version of GNOME is installed.")
1328 ; Some bits under the LGPL.
1329 (license license:gpl2+)))
1331 (define-public gnome-doc-utils
1333 (name "gnome-doc-utils")
1338 (uri (string-append "mirror://gnome/sources/" name "/"
1339 (version-major+minor version) "/"
1340 name "-" version ".tar.xz"))
1343 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1344 (build-system gnu-build-system)
1346 `(("intltool" ,intltool)
1347 ("docbook-xml" ,docbook-xml-4.4)
1348 ("python2-libxml2" ,python2-libxml2)
1349 ("libxml2" ,libxml2)
1350 ("libxslt" ,libxslt)
1351 ("pkg-config" ,pkg-config)
1352 ("python-2" ,python-2)))
1353 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1355 "Documentation utilities for the Gnome project")
1357 "Gnome-doc-utils is a collection of documentation utilities for the
1358 Gnome project. It includes xml2po tool which makes it easier to translate
1359 and keep up to date translations of documentation.")
1360 (license license:gpl2+))) ; xslt under lgpl
1362 (define-public gnome-disk-utility
1364 (name "gnome-disk-utility")
1368 (uri (string-append "mirror://gnome/sources/" name "/"
1369 (version-major+minor version) "/"
1370 name "-" version ".tar.xz"))
1373 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1374 (build-system meson-build-system)
1376 '(#:configure-flags '("-Dlogind=libelogind")
1378 (modify-phases %standard-phases
1379 (add-after 'unpack 'skip-gtk-update-icon-cache
1380 ;; Don't create 'icon-theme.cache'.
1382 (substitute* "meson_post_install.py"
1383 (("gtk-update-icon-cache") "true"))
1386 `(("glib:bin" ,glib "bin")
1387 ("intltool" ,intltool)
1388 ("pkg-config" ,pkg-config)
1389 ("docbook-xml" ,docbook-xml)
1390 ("docbook-xsl" ,docbook-xsl)
1391 ("libxml2" ,libxml2)
1392 ("libxslt" ,libxslt)))
1394 `(("elogind" ,elogind)
1396 ("appstream-glib" ,appstream-glib)
1397 ("gnome-settings-daemon" ,gnome-settings-daemon)
1399 ("libcanberra" ,libcanberra)
1400 ("libdvdread" ,libdvdread)
1401 ("libnotify" ,libnotify)
1402 ("libpwquality" ,libpwquality)
1403 ("libsecret" ,libsecret)
1404 ("udisks" ,udisks)))
1405 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1406 (synopsis "Disk management utility for GNOME")
1407 (description "Disk management utility for GNOME.")
1408 (license license:gpl2+)))
1410 (define-public gnome-font-viewer
1412 (name "gnome-font-viewer")
1416 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1417 (version-major+minor version)
1418 "/gnome-font-viewer-" version ".tar.xz"))
1421 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1422 (build-system meson-build-system)
1425 (modify-phases %standard-phases
1426 (add-after 'unpack 'patch-post-install-script
1428 (substitute* "meson-postinstall.sh"
1429 (("update-desktop-database") (which "true")))
1432 `(("gettext" ,gettext-minimal)
1433 ("glib:bin" ,glib "bin")
1434 ("pkg-config" ,pkg-config)))
1437 ("gnome-desktop" ,gnome-desktop)
1439 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1440 (synopsis "GNOME Fonts")
1441 (description "Application to show you the fonts installed on your computer
1442 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1443 the font would look under various sizes.")
1444 (license license:gpl2+)))
1452 (uri (string-append "mirror://gnome/sources/" name "/"
1453 (version-major+minor version) "/"
1454 name "-" version ".tar.xz"))
1457 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1458 (build-system gnu-build-system)
1461 (modify-phases %standard-phases
1462 ;; These fail because /var/lib/dbus/machine-id is not present in the
1463 ;; build environment.
1464 (add-after 'unpack 'disable-failing-tests
1466 (substitute* "Makefile.in"
1467 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1470 (add-before 'check 'pre-check
1472 ;; Some tests expect to write to $HOME.
1473 (setenv "HOME" "/tmp")
1477 ("gnupg" ,gnupg) ;called as a child process during tests
1478 ("libgcrypt" ,libgcrypt)))
1480 `(("python" ,python-wrapper) ;for tests
1481 ("pkg-config" ,pkg-config)
1482 ("gettext" ,gettext-minimal)
1483 ("glib" ,glib "bin")
1484 ("gobject-introspection" ,gobject-introspection)
1485 ("libxml2" ,libxml2)
1487 ("xsltproc" ,libxslt)))
1488 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1490 `(("p11-kit" ,p11-kit)
1493 (home-page "https://www.gnome.org")
1494 (synopsis "Libraries for displaying certificates and accessing key stores")
1496 "The GCR package contains libraries used for displaying certificates and
1497 accessing key stores. It also provides the viewer for crypto files on the
1499 (license license:lgpl2.1+)))
1501 (define-public libgnome-keyring
1503 (name "libgnome-keyring")
1507 (uri (string-append "mirror://gnome/sources/" name "/"
1508 (version-major+minor version) "/"
1509 name "-" version ".tar.xz"))
1512 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1513 (build-system gnu-build-system)
1515 `(("libgcrypt" ,libgcrypt)
1518 `(("pkg-config" ,pkg-config)
1519 ("glib" ,glib "bin")
1520 ("intltool" ,intltool)))
1522 ;; Referred to in .h files and .pc.
1524 (home-page "https://www.gnome.org")
1525 (synopsis "Accessing passwords from the GNOME keyring")
1527 "Client library to access passwords from the GNOME keyring.")
1529 ;; Though a couple of files are LGPLv2.1+.
1530 (license license:lgpl2.0+)))
1532 (define-public gnome-keyring
1534 (name "gnome-keyring")
1538 (uri (string-append "mirror://gnome/sources/" name "/"
1539 (version-major+minor version) "/"
1540 name "-" version ".tar.xz"))
1543 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1544 (build-system gnu-build-system)
1546 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1550 (string-append "--with-pkcs11-config="
1551 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1552 (string-append "--with-pkcs11-modules="
1553 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1555 (modify-phases %standard-phases
1556 (add-after 'unpack 'fix-/bin/sh-reference
1558 (substitute* "po/Makefile.in.in"
1559 (("/bin/sh") (which "sh")))
1561 (add-after 'unpack 'fix-docbook
1562 (lambda* (#:key inputs #:allow-other-keys)
1563 (substitute* "docs/Makefile.am"
1564 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1565 (string-append (assoc-ref inputs "docbook-xsl")
1566 "/xml/xsl/docbook-xsl-"
1567 ,(package-version docbook-xsl)
1568 "/manpages/docbook.xsl")))
1569 (setenv "XML_CATALOG_FILES"
1570 (string-append (assoc-ref inputs "docbook-xml")
1571 "/xml/dtd/docbook/catalog.xml"))
1572 ;; Rerun the whole thing to avoid version mismatch ("This is
1573 ;; Automake 1.15.1, but the definition used by this
1574 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1575 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1578 (invoke "automake" "-ac"))))))
1580 `(("libgcrypt" ,libgcrypt)
1581 ("linux-pam" ,linux-pam)
1582 ("openssh" ,openssh)
1586 `(("pkg-config" ,pkg-config)
1587 ("glib" ,glib "bin")
1588 ("glib" ,glib) ; for m4 macros
1589 ("python" ,python-2) ;for tests
1590 ("intltool" ,intltool)
1591 ("autoconf" ,autoconf)
1592 ("automake" ,automake)
1593 ("libxslt" ,libxslt) ;for documentation
1594 ("docbook-xml" ,docbook-xml-4.2)
1595 ("docbook-xsl" ,docbook-xsl)))
1596 (home-page "https://www.gnome.org")
1597 (synopsis "Daemon to store passwords and encryption keys")
1599 "gnome-keyring is a program that keeps passwords and other secrets for
1600 users. It is run as a daemon in the session, similar to ssh-agent, and other
1601 applications locate it via an environment variable or D-Bus.
1603 The program can manage several keyrings, each with its own master password,
1604 and there is also a session keyring which is never stored to disk, but
1605 forgotten when the session ends.")
1606 (license license:lgpl2.1+)))
1608 (define-public evince
1614 (uri (string-append "mirror://gnome/sources/evince/"
1615 (version-major+minor version) "/"
1616 "evince-" version ".tar.xz"))
1619 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1620 (build-system glib-or-gtk-build-system)
1622 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1624 (modify-phases %standard-phases
1625 (add-before 'install 'skip-gtk-update-icon-cache
1626 ;; Don't create 'icon-theme.cache'.
1628 (substitute* "data/Makefile"
1629 (("gtk-update-icon-cache") "true"))
1632 `(("libarchive" ,libarchive)
1633 ("libgxps" ,libgxps)
1634 ("libspectre" ,libspectre)
1635 ("djvulibre" ,djvulibre)
1636 ("ghostscript" ,ghostscript)
1637 ("poppler" ,poppler)
1638 ("libtiff" ,libtiff)
1640 ;; Build libkpathsea as a shared library for DVI support.
1641 ;; ("libkpathsea" ,texlive-bin)
1642 ("gnome-desktop" ,gnome-desktop)
1643 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1645 ("libgnome-keyring" ,libgnome-keyring)
1646 ("adwaita-icon-theme" ,adwaita-icon-theme)
1647 ("gdk-pixbuf" ,gdk-pixbuf)
1652 ("libxml2" ,libxml2)
1655 ("shared-mime-info" ,shared-mime-info)
1657 ("libcanberra" ,libcanberra)
1658 ("libsecret" ,libsecret)
1661 ("dogtail" ,python2-dogtail)))
1663 `(("itstool" ,itstool)
1664 ("intltool" ,intltool)
1665 ("glib" ,glib "bin")
1666 ("gobject-introspection" ,gobject-introspection)
1667 ("pkg-config" ,pkg-config)
1668 ("xmllint" ,libxml2)))
1670 "https://www.gnome.org/projects/evince/")
1671 (synopsis "GNOME's document viewer")
1673 "Evince is a document viewer for multiple document formats. It
1674 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1675 of Evince is to replace the multiple document viewers that exist
1676 on the GNOME Desktop with a single simple application.")
1677 (license license:gpl2+)))
1679 (define-public gsettings-desktop-schemas
1681 (name "gsettings-desktop-schemas")
1686 (uri (string-append "mirror://gnome/sources/" name "/"
1687 (version-major+minor version) "/"
1688 name "-" version ".tar.xz"))
1691 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1692 (build-system meson-build-system)
1694 '(#:phases (modify-phases %standard-phases
1695 (add-after 'unpack 'patch-schemas
1696 (lambda* (#:key inputs #:allow-other-keys)
1697 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1698 (substitute* (find-files "schemas"
1699 "\\.gschema\\.xml\\.in$")
1700 ;; Provide the correct file name of the default GNOME
1701 ;; background, 'adwaita-timed.xml'.
1702 (("@datadir@/backgrounds/gnome")
1703 (string-append theme "/share/backgrounds/gnome"))
1704 ;; Do not reference fonts, that may not exist.
1705 (("'Source Code Pro 10'") "'Monospace 11'"))
1709 ("gnome-backgrounds" ,gnome-backgrounds)))
1711 `(("intltool" ,intltool)
1712 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1713 ("gobject-introspection" ,gobject-introspection)
1714 ("pkg-config" ,pkg-config)))
1715 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1717 "GNOME settings for various desktop components")
1719 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1720 for settings shared by various components of the GNOME desktop.")
1721 (license license:lgpl2.1+)))
1723 (define-public icon-naming-utils
1725 (name "icon-naming-utils")
1730 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1731 version ".tar.bz2"))
1734 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1735 (build-system gnu-build-system)
1738 ("perl-xml-simple" ,perl-xml-simple)))
1741 (modify-phases %standard-phases
1742 (add-after 'install 'set-load-paths
1743 ;; Tell 'icon-name-mapping' where XML::Simple is.
1744 (lambda* (#:key outputs #:allow-other-keys)
1745 (let* ((out (assoc-ref outputs "out"))
1746 (prog (string-append out "/libexec/icon-name-mapping")))
1749 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1751 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1753 "Utility to implement the Freedesktop Icon Naming Specification")
1755 "To help with the transition to the Freedesktop Icon Naming
1756 Specification, the icon naming utility maps the icon names used by the
1757 GNOME and KDE desktops to the icon names proposed in the specification.")
1758 (license license:lgpl2.1+)))
1760 (define-public gnome-icon-theme
1762 (name "gnome-icon-theme")
1767 (uri (string-append "mirror://gnome/sources/" name "/"
1768 (version-major+minor version) "/"
1769 name "-" version ".tar.xz"))
1772 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1773 (build-system gnu-build-system)
1776 ;; Don't create 'icon-theme.cache'.
1777 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1778 (true (string-append coreutils "/bin/true")))
1779 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1781 `(("icon-naming-utils" ,icon-naming-utils)
1782 ("intltool" ,intltool)
1783 ("pkg-config" ,pkg-config)))
1784 (home-page "https://wiki.gnome.org/Personalization")
1785 (synopsis "GNOME icon theme")
1786 (description "Icons for the GNOME desktop.")
1787 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1789 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1790 (define-public adwaita-icon-theme
1791 (package (inherit gnome-icon-theme)
1792 (name "adwaita-icon-theme")
1796 (uri (string-append "mirror://gnome/sources/" name "/"
1797 (version-major+minor version) "/"
1798 name "-" version ".tar.xz"))
1801 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1803 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1805 (define-public tango-icon-theme
1807 (name "tango-icon-theme")
1811 (uri (string-append "http://tango.freedesktop.org/releases/"
1812 "tango-icon-theme-" version ".tar.bz2"))
1815 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1816 (build-system gnu-build-system)
1818 `(("icon-naming-utils" ,icon-naming-utils)
1819 ("intltool" ,intltool)
1820 ("imagemagick" ,imagemagick)
1821 ("pkg-config" ,pkg-config)))
1822 (home-page "http://tango-project.org/")
1823 (synopsis "Tango icon theme")
1824 (description "This is an icon theme that follows the Tango visual
1826 (license license:public-domain)))
1828 (define-public shared-mime-info
1830 (name "shared-mime-info")
1835 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1836 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1840 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1841 (build-system gnu-build-system)
1843 ;; The build system appears not to be parallel-safe.
1844 '(#:parallel-build? #f))
1847 ("libxml2" ,libxml2)))
1849 `(("gettext" ,gettext-minimal)
1850 ("itstool" ,itstool)
1851 ("pkg-config" ,pkg-config)))
1852 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1853 (synopsis "Database of common MIME types")
1855 "The shared-mime-info package contains the core database of common types
1856 and the update-mime-database command used to extend it. It requires glib2 to
1857 be installed for building the update command. Additionally, it uses intltool
1858 for translations, though this is only a dependency for the maintainers. This
1859 database is translated at Transifex.")
1860 (license license:gpl2+)))
1862 (define-public system-config-printer
1864 (name "system-config-printer")
1870 "https://github.com/OpenPrinting/system-config-printer/releases/"
1872 "/system-config-printer-" version ".tar.xz"))
1874 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1875 (build-system glib-or-gtk-build-system)
1877 `(#:imported-modules ((guix build python-build-system)
1878 ,@%glib-or-gtk-build-system-modules)
1880 (modify-phases %standard-phases
1881 (add-after 'unpack 'patch-Makefile.am
1883 ;; The Makefile generates some scripts, so set a valid shebang
1884 (substitute* "Makefile.am"
1885 (("/bin/bash") (which "bash")))
1886 (delete-file "configure")
1888 (add-after 'unpack 'patch-docbook-xml
1889 (lambda* (#:key inputs #:allow-other-keys)
1890 ;; Modify the man XML otherwise xmlto tries to access the network
1891 (substitute* "man/system-config-printer.xml"
1892 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1893 (string-append (assoc-ref inputs "docbook-xml")
1894 "/xml/dtd/docbook/")))
1896 (add-after 'install 'wrap-for-python
1897 (@@ (guix build python-build-system) wrap))
1898 (add-after 'install 'wrap
1899 (lambda* (#:key outputs #:allow-other-keys)
1900 (let ((out (assoc-ref outputs "out"))
1901 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1904 (wrap-program program
1905 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1907 (string-append out "/bin/" name))
1908 '("system-config-printer"
1909 "system-config-printer-applet"
1910 "install-printerdriver"
1911 "scp-dbus-service"))))
1914 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1915 ("gobject-introspection" ,gobject-introspection)
1918 ("python-dbus" ,python-dbus)
1919 ("python-pygobject" ,python-pygobject)
1920 ("python-pycups" ,python-pycups)
1921 ("python-requests" ,python-requests)
1922 ("python-pycairo" ,python-pycairo)
1923 ("libnotify" ,libnotify)
1924 ("packagekit" ,packagekit)))
1926 `(("pkg-config" ,pkg-config)
1927 ("desktop-file-utils" ,desktop-file-utils)
1929 ("autoconf" ,autoconf)
1930 ("automake" ,automake)
1931 ("intltool" ,intltool)
1933 ("docbook-xml" ,docbook-xml-4.1.2)
1934 ("docbook-xsl" ,docbook-xsl)
1935 ("libxml2" ,libxml2)))
1936 (home-page "https://github.com/zdohnal/system-config-printer")
1937 (synopsis "CUPS administration tool")
1939 "system-config-printer is a CUPS administration tool. It's written in
1940 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1942 (license license:gpl2+)))
1944 (define-public hicolor-icon-theme
1946 (name "hicolor-icon-theme")
1951 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1952 "hicolor-icon-theme-" version ".tar.xz"))
1955 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1956 (build-system gnu-build-system)
1958 `(#:tests? #f)) ; no check target
1959 (home-page "https://icon-theme.freedesktop.org/releases/")
1961 "Freedesktop icon theme")
1963 "Freedesktop icon theme.")
1964 (license license:gpl2)))
1966 (define-public libnotify
1973 (uri (string-append "mirror://gnome/sources/" name "/"
1974 (version-major+minor version) "/"
1975 name "-" version ".tar.xz"))
1978 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1979 (build-system gnu-build-system)
1981 `(#:configure-flags '("--disable-static")))
1983 `(;; In Requires of libnotify.pc.
1984 ("gdk-pixbuf" ,gdk-pixbuf)
1988 ("libpng" ,libpng)))
1990 `(("pkg-config" ,pkg-config)
1991 ("glib" ,glib "bin")
1992 ("gobject-introspection" ,gobject-introspection)))
1993 (home-page "https://developer-next.gnome.org/libnotify/")
1995 "GNOME desktop notification library")
1997 "Libnotify is a library that sends desktop notifications to a
1998 notification daemon, as defined in the Desktop Notifications spec. These
1999 notifications can be used to inform the user about an event or display
2000 some form of information without getting in the user's way.")
2001 (license license:lgpl2.1+)))
2003 (define-public libpeas
2010 (uri (string-append "mirror://gnome/sources/" name "/"
2011 (version-major+minor version) "/"
2012 name "-" version ".tar.xz"))
2015 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2016 (build-system meson-build-system)
2019 (modify-phases %standard-phases
2020 (add-before 'check 'start-xserver
2021 (lambda* (#:key inputs #:allow-other-keys)
2022 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2024 (setenv "DISPLAY" disp)
2025 ;; Tests require a running X server.
2026 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2032 ("python-pygobject" ,python-pygobject)))
2034 `(("pkg-config" ,pkg-config)
2035 ("gettext" ,gettext-minimal)
2036 ("glib:bin" ,glib "bin")
2037 ("gobject-introspection" ,gobject-introspection)
2038 ("xorg-server" ,xorg-server-for-tests)))
2040 ;; The .pc file "Requires" gobject-introspection.
2041 `(("gobject-introspection" ,gobject-introspection)))
2042 (home-page "https://wiki.gnome.org/Libpeas")
2043 (synopsis "GObject plugin system")
2045 "Libpeas is a gobject-based plugin engine, targeted at giving every
2046 application the chance to assume its own extensibility. It also has a set of
2047 features including, but not limited to: multiple extension points; on-demand
2048 (lazy) programming language support for C, Python and JS; simplicity of the
2050 (license license:lgpl2.0+)))
2052 (define-public gtkglext
2058 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2059 version "/gtkglext-" version ".tar.gz"))
2061 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2062 (patches (search-patches
2063 "gtkglext-disable-disable-deprecated.patch"))))
2064 (build-system gnu-build-system)
2067 (modify-phases %standard-phases
2068 ;; Fix a collision between a local variable and a definition from
2069 ;; glibc's string.h.
2070 (add-after 'unpack 'fix-collision
2072 (substitute* "gdk/gdkglshapes.c"
2073 ((" index") " triangle_index"))
2075 (inputs `(("gtk+" ,gtk+-2)
2080 (native-inputs `(("pkg-config" ,pkg-config)
2081 ("glib" ,glib "bin")))
2082 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2083 (home-page "https://projects.gnome.org/gtkglext")
2084 (synopsis "OpenGL extension to GTK+")
2085 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2086 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2087 API add-ons to make GTK+ widgets OpenGL-capable.")
2088 (license license:lgpl2.1+)))
2090 (define-public glade3
2096 (uri (string-append "mirror://gnome/sources/" name "/"
2097 (version-major+minor version) "/"
2098 name "-" version ".tar.xz"))
2101 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2102 (build-system glib-or-gtk-build-system)
2104 `(#:tests? #f ; needs X, GL, and software rendering
2106 (modify-phases %standard-phases
2107 (add-before 'configure 'fix-docbook
2108 (lambda* (#:key inputs #:allow-other-keys)
2109 (substitute* "man/Makefile.in"
2110 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2111 (string-append (assoc-ref inputs "docbook-xsl")
2112 "/xml/xsl/docbook-xsl-"
2113 ,(package-version docbook-xsl)
2114 "/manpages/docbook.xsl")))
2118 ("libxml2" ,libxml2)))
2120 `(("intltool" ,intltool)
2121 ("itstool" ,itstool)
2122 ("libxslt" ,libxslt) ;for xsltproc
2123 ("docbook-xml" ,docbook-xml-4.2)
2124 ("docbook-xsl" ,docbook-xsl)
2125 ("python" ,python-2)
2126 ("pkg-config" ,pkg-config)))
2127 (home-page "https://glade.gnome.org")
2128 (synopsis "GTK+ rapid application development tool")
2129 (description "Glade is a rapid application development (RAD) tool to
2130 enable quick & easy development of user interfaces for the GTK+ toolkit and
2131 the GNOME desktop environment.")
2132 (license license:lgpl2.0+)))
2134 (define-public libcroco
2140 (uri (string-append "mirror://gnome/sources/" name "/"
2141 (version-major+minor version) "/"
2142 name "-" version ".tar.xz"))
2145 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2146 (build-system gnu-build-system)
2148 `(("pkg-config" ,pkg-config)))
2151 ("libxml2" ,libxml2)
2153 (home-page "https://github.com/GNOME/libcroco")
2154 (synopsis "CSS2 parsing and manipulation library")
2156 "Libcroco is a standalone CSS2 parsing and manipulation library.
2157 The parser provides a low level event driven SAC-like API and a CSS object
2158 model like API. Libcroco provides a CSS2 selection engine and an experimental
2159 XML/CSS rendering engine.")
2162 (license license:lgpl2.1)))
2164 (define-public libgsf
2170 (uri (string-append "mirror://gnome/sources/" name "/"
2171 (version-major+minor version) "/"
2172 name "-" version ".tar.xz"))
2175 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2176 (build-system gnu-build-system)
2178 '(#:configure-flags '("--disable-static")))
2180 `(("pkg-config" ,pkg-config)
2181 ("gettext" ,gettext-minimal)
2185 ("perl-xml-parser" ,perl-xml-parser)))
2190 `(("gdk-pixbuf" ,gdk-pixbuf)
2192 ("libxml2" ,libxml2)))
2193 (home-page "https://www.gnome.org/projects/libgsf")
2194 (synopsis "GNOME's Structured File Library")
2196 "Libgsf aims to provide an efficient extensible I/O abstraction for
2197 dealing with different structured file formats.")
2200 (license license:lgpl2.1)))
2202 (define-public librsvg
2208 (uri (string-append "mirror://gnome/sources/" name "/"
2209 (version-major+minor version) "/"
2210 name "-" version ".tar.xz"))
2213 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2214 (build-system gnu-build-system)
2217 (list "--disable-static"
2218 "--enable-vala") ; needed for e.g. gnome-mines
2220 (modify-phases %standard-phases
2221 (add-before 'configure 'pre-configure
2222 (lambda* (#:key inputs #:allow-other-keys)
2223 (substitute* "gdk-pixbuf-loader/Makefile.in"
2224 ;; By default the gdk-pixbuf loader is installed under
2225 ;; gdk-pixbuf's prefix. Work around that.
2226 (("gdk_pixbuf_moduledir = .*$")
2227 (string-append "gdk_pixbuf_moduledir = "
2228 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2230 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2231 (("gdk_pixbuf_cache_file = .*$")
2232 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2234 (add-before 'check 'remove-failing-tests
2236 (with-directory-excursion "tests/fixtures/reftests"
2237 (for-each delete-file
2238 '(;; This test fails on i686:
2239 "svg1.1/masking-path-04-b.svg"
2240 ;; This test fails on armhf:
2241 "svg1.1/masking-mask-01-b.svg"
2242 ;; This test fails on aarch64:
2243 "bugs/777834-empty-text-children.svg")))
2246 `(("pkg-config" ,pkg-config)
2248 ("glib" ,glib "bin") ; glib-mkenums, etc.
2249 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2251 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2252 ;; this ancient version of librsvg.
2253 ("pango" ,pango-1.42)
2254 ("libcroco" ,libcroco)
2257 ("libxml2" ,libxml2)))
2259 ;; librsvg-2.0.pc refers to all of that.
2261 ("gdk-pixbuf" ,gdk-pixbuf)
2263 (home-page "https://wiki.gnome.org/LibRsvg")
2264 (synopsis "Render SVG files using Cairo")
2266 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2268 (license license:lgpl2.0+)))
2270 (define-public librsvg-next
2277 (uri (string-append "mirror://gnome/sources/librsvg/"
2278 (version-major+minor version) "/"
2279 "librsvg-" version ".tar.xz"))
2282 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2283 (modules '((guix build utils)))
2285 '(begin (delete-file-recursively "vendor")
2286 ;; Don't demand an exact version for string_cache
2287 (substitute* "rsvg_internals/Cargo.toml"
2290 (build-system cargo-build-system)
2292 `(#:modules ((guix build cargo-build-system)
2294 ((guix build gnu-build-system) #:prefix gnu:))
2295 #:vendor-dir "vendor"
2297 (("rust-bitflags" ,rust-bitflags-1)
2298 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2299 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2300 ("rust-cssparser" ,rust-cssparser-0.25)
2301 ("rust-data-url" ,rust-data-url-0.1)
2302 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2303 ("rust-encoding" ,rust-encoding-0.2)
2304 ("rust-float-cmp" ,rust-float-cmp-0.5)
2305 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2306 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2307 ("rust-gio" ,rust-gio-0.7)
2308 ("rust-gio-sys" ,rust-gio-sys-0.9)
2309 ("rust-glib" ,rust-glib-0.8)
2310 ("rust-glib-sys" ,rust-glib-sys-0.9)
2311 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2312 ("rust-itertools" ,rust-itertools-0.8)
2313 ("rust-language-tags" ,rust-language-tags-0.2)
2314 ("rust-lazy-static" ,rust-lazy-static-1)
2315 ("rust-libc" ,rust-libc-0.2)
2316 ("rust-locale-config" ,rust-locale-config-0.3)
2317 ("rust-markup5ever" ,rust-markup5ever-0.9)
2318 ("rust-nalgebra" ,rust-nalgebra-0.18)
2319 ("rust-num-traits" ,rust-num-traits-0.2)
2320 ("rust-pkg-config" ,rust-pkg-config-0.3)
2321 ("rust-pango" ,rust-pango-0.7)
2322 ("rust-pango-sys" ,rust-pango-sys-0.9)
2323 ("rust-pangocairo" ,rust-pangocairo-0.8)
2324 ("rust-phf" ,rust-phf-0.7)
2325 ("rust-rayon" ,rust-rayon-1.3)
2326 ("rust-rctree" ,rust-rctree-0.3)
2327 ("rust-string-cache" ,rust-string-cache-0.7)
2328 ("rust-regex" ,rust-regex-1.3)
2329 ("rust-url" ,rust-url-2.1)
2330 ("rust-xml-rs" ,rust-xml-rs-0.8))
2331 #:cargo-development-inputs
2332 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2333 ("rust-criterion" ,rust-criterion-0.2))
2335 (modify-phases %standard-phases
2336 (add-after 'unpack 'prepare-for-build
2338 ;; In lieu of #:make-flags
2340 ;; Something about the build environment resists building
2341 ;; successfully with the '--locked' flag.
2342 (substitute* '("Makefile.am"
2346 (add-before 'configure 'pre-configure
2348 (substitute* "gdk-pixbuf-loader/Makefile.in"
2349 ;; By default the gdk-pixbuf loader is installed under
2350 ;; gdk-pixbuf's prefix. Work around that.
2351 (("gdk_pixbuf_moduledir = .*$")
2352 (string-append "gdk_pixbuf_moduledir = "
2353 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2355 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2356 (("gdk_pixbuf_cache_file = .*$")
2357 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2359 (add-after 'configure 'gnu-configure
2360 (assoc-ref gnu:%standard-phases 'configure))
2361 ;(lambda* (#:key outputs #:allow-other-keys)
2362 ; ((assoc-ref gnu:%standard-phases 'configure)
2364 ; #:configure-flags ("--disable-static"
2365 ; "--enable-vala"))))
2366 (add-after 'configure 'dont-vendor-self
2367 (lambda* (#:key vendor-dir #:allow-other-keys)
2368 ;; Don't keep the whole tarball in the vendor directory
2369 (delete-file-recursively
2370 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2373 (assoc-ref gnu:%standard-phases 'build))
2376 ((assoc-ref gnu:%standard-phases 'check)
2377 #:test-target "check")))
2379 (assoc-ref gnu:%standard-phases 'install))
2380 (add-before 'check 'remove-failing-tests
2382 (with-directory-excursion "tests/fixtures/reftests"
2383 (for-each delete-file
2384 '(;; The images produced by these tests differ slightly
2385 ;; from their reference counterparts due to differences
2386 ;; in the build environment (missing fonts, etc). See
2387 ;; <tests/README.md> for details.
2388 ;; These fail on x86_64.
2389 "svg1.1/coords-viewattr-02-b.svg"
2390 "svg1.1/filters-composite-04-f.svg"
2391 "svg1.1/filters-image-01-b.svg"
2392 "svg1.1/filters-conv-02-f.svg"
2393 "svg1.1/filters-conv-04-f.svg"
2394 ;; This test fails on i686:
2395 "svg1.1/masking-path-04-b.svg"
2396 ;; This test fails on armhf:
2397 "svg1.1/masking-mask-01-b.svg"
2398 ;; This test fails on aarch64:
2399 "bugs/777834-empty-text-children.svg")))
2401 (license license:lgpl2.1+)))
2403 (define-public libidl
2409 (uri (string-append "mirror://gnome/sources/libIDL/"
2410 (version-major+minor version) "/"
2411 "libIDL-" version ".tar.bz2"))
2414 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2415 (build-system gnu-build-system)
2416 (inputs `(("glib" ,glib)))
2418 `(("pkg-config" ,pkg-config)
2421 (home-page "http://freecode.com/projects/libidl")
2422 (synopsis "Create trees of CORBA Interface Definition Language files")
2423 (description "Libidl is a library for creating trees of CORBA Interface
2424 Definition Language (idl) files, which is a specification for defining
2425 portable interfaces. libidl was initially written for orbit (the orb from the
2426 GNOME project, and the primary means of libidl distribution). However, the
2427 functionality was designed to be as reusable and portable as possible.")
2428 (properties `((upstream-name . "libIDL")))
2429 (license license:lgpl2.0+)))
2432 (define-public orbit2
2438 (uri (let ((upstream-name "ORBit2"))
2439 (string-append "mirror://gnome/sources/" upstream-name "/"
2440 (version-major+minor version) "/"
2441 upstream-name "-" version ".tar.bz2")))
2444 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2445 (build-system gnu-build-system)
2447 `(;; The "timeout-server" test hangs when run in parallel.
2448 #:parallel-tests? #f
2450 '(;; We don't need static libraries, plus they don't build reproducibly
2451 ;; (non-deterministic ordering of .o files in the archive.)
2454 ;; The programmer kindly gives us a hook to turn off deprecation
2456 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2457 ;; ... which they then completly ignore !!
2459 (modify-phases %standard-phases
2460 (add-before 'configure 'ignore-deprecations
2462 (substitute* "linc2/src/Makefile.in"
2463 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2465 (inputs `(("glib" ,glib)
2466 ("libidl" ,libidl)))
2468 `(("pkg-config" ,pkg-config)))
2469 (home-page "https://projects.gnome.org/orbit2/")
2470 (synopsis "CORBA 2.4-compliant Object Request Broker")
2471 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2472 featuring mature C, C++ and Python bindings.")
2473 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2474 ;; a version. SOME of the code files have licence notices for GPLv2+.
2475 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2476 (license license:gpl2+)
2477 (properties `((upstream-name . "ORBit2")))))
2480 (define-public libbonobo
2486 (uri (string-append "mirror://gnome/sources/" name "/"
2487 (version-major+minor version)
2488 "/" name "-" version ".tar.bz2"))
2490 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2491 (patches (search-patches
2492 "libbonobo-activation-test-race.patch"))))
2493 (build-system gnu-build-system)
2495 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2497 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2498 ;; ... which they then completly ignore !!
2500 (modify-phases %standard-phases
2501 (add-before 'configure 'ignore-deprecations
2503 (substitute* "activation-server/Makefile.in"
2504 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2507 ;; There's apparently a race condition between the server stub
2508 ;; generation and linking of the example under 'samples/echo' that can
2509 ;; lead do undefined references when building in parallel, as reported
2510 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2511 ;; Thus, disable parallel builds.
2512 #:parallel-build? #f))
2513 (inputs `(("popt" ,popt)
2514 ("libxml2" ,libxml2)))
2515 ;; The following are Required by the .pc file
2518 ("orbit2" ,orbit2)))
2520 `(("intltool" ,intltool)
2521 ("pkg-config" ,pkg-config)
2522 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2525 (home-page "https://developer.gnome.org/libbonobo/")
2526 (synopsis "Framework for creating reusable components for use in GNOME applications")
2527 (description "Bonobo is a framework for creating reusable components for
2528 use in GNOME applications, built on top of CORBA.")
2529 ;; Licence not explicitly stated. Source files contain no licence notices.
2530 ;; Tarball contains text of both GPLv2 and LGPLv2
2531 ;; GPLv2 covers both conditions
2532 (license license:gpl2+)))
2535 (define-public gconf
2542 (let ((upstream-name "GConf"))
2543 (string-append "mirror://gnome/sources/" upstream-name "/"
2544 (version-major+minor version) "/"
2545 upstream-name "-" version ".tar.xz")))
2547 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2548 (build-system gnu-build-system)
2549 (inputs `(("dbus-glib" ,dbus-glib)
2550 ("libxml2" ,libxml2)))
2551 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2552 ("orbit2" ,orbit2)))
2554 `(("intltool" ,intltool)
2555 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2556 ("pkg-config" ,pkg-config)))
2557 (home-page "https://projects.gnome.org/gconf/")
2558 (synopsis "Store application preferences")
2559 (description "Gconf is a system for storing application preferences. It
2560 is intended for user preferences; not arbitrary data storage.")
2561 (license license:lgpl2.0+)
2562 (properties '((upstream-name . "GConf")))))
2565 (define-public gnome-mime-data
2567 (name "gnome-mime-data")
2571 (uri (string-append "mirror://gnome/sources/" name "/"
2572 (version-major+minor version) "/"
2573 name "-" version ".tar.bz2"))
2576 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2577 (build-system gnu-build-system)
2580 ("intltool" ,intltool)))
2582 '(#:phases (modify-phases %standard-phases
2583 (add-after 'configure 'use-our-intltool
2585 ;; Do not use the bundled intltool commands, which lack
2586 ;; the "dotless @INC" fixes of our 'intltool' package.
2587 (substitute* (find-files "." "^Makefile$")
2588 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2589 (string-append "INTLTOOL_" tool " = intltool-"
2590 (string-downcase tool) "\n")))
2592 (home-page "https://www.gnome.org")
2593 (synopsis "Base MIME and Application database for GNOME")
2594 (description "GNOME Mime Data is a module which contains the base MIME
2595 and Application database for GNOME. The data stored by this module is
2596 designed to be accessed through the MIME functions in GnomeVFS.")
2597 (license license:gpl2+)))
2600 (define-public gnome-vfs
2606 (uri (string-append "mirror://gnome/sources/" name "/"
2607 (version-major+minor version) "/"
2608 name "-" version ".tar.bz2"))
2611 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2612 (build-system gnu-build-system)
2615 (modify-phases %standard-phases
2616 (add-before 'configure 'ignore-deprecations
2618 (substitute* '("libgnomevfs/Makefile.in"
2619 "daemon/Makefile.in")
2620 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2622 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2624 (substitute* "test/test-async-cancel.c"
2625 (("EXIT_FAILURE") "77"))
2627 (inputs `(("libxml2" ,libxml2)
2628 ("dbus-glib" ,dbus-glib)
2630 ("gnome-mime-data" ,gnome-mime-data)
2633 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2634 ("intltool" ,intltool)
2635 ("pkg-config" ,pkg-config)))
2636 (home-page "https://developer.gnome.org/gnome-vfs/")
2637 (synopsis "Access files and folders in GNOME applications")
2639 "GnomeVFS is the core library used to access files and folders in GNOME
2640 applications. It provides a file system abstraction which allows applications
2641 to access local and remote files with a single consistent API.")
2642 (license license:lgpl2.0+)))
2646 (define-public libgnome
2652 (uri (string-append "mirror://gnome/sources/" name "/"
2653 (version-major+minor version) "/"
2654 name "-" version ".tar.bz2"))
2657 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2658 (patches (search-patches "libgnome-encoding.patch"))))
2659 (build-system gnu-build-system)
2662 (modify-phases %standard-phases
2663 (add-before 'configure 'enable-deprecated
2665 (substitute* "libgnome/Makefile.in"
2666 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2668 (inputs `(("libxml2" ,libxml2)))
2670 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2671 ("intltool" ,intltool)
2672 ("pkg-config" ,pkg-config)))
2673 ;; The following are listed as Required in the .pc file
2674 ;; (except for libcanberra -- which seems to be oversight on the part
2675 ;; of the upstream developers -- anything that links against libgnome,
2676 ;; must also link against libcanberra
2678 `(("libcanberra" ,libcanberra)
2679 ("libbonobo" ,libbonobo)
2681 ("gnome-vfs" ,gnome-vfs)
2682 ("popt" ,popt))) ;gnome-program.h includes popt.h
2683 (home-page "https://developer.gnome.org/libgnome/")
2684 (synopsis "Useful routines for building applications")
2685 (description "The libgnome library provides a number of useful routines
2686 for building modern applications, including session management, activation of
2687 files and URIs, and displaying help.")
2688 (license license:lgpl2.0+)))
2691 (define-public libart-lgpl
2693 (name "libart-lgpl")
2697 (uri (let ((upstream-name "libart_lgpl"))
2698 (string-append "mirror://gnome/sources/" upstream-name "/"
2699 (version-major+minor version) "/"
2700 upstream-name "-" version ".tar.bz2")))
2703 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2704 (build-system gnu-build-system)
2706 `(("pkg-config" ,pkg-config)))
2707 (home-page "https://people.gnome.org/~mathieu/libart")
2708 (synopsis "2D drawing library")
2709 (description "Libart is a 2D drawing library intended as a
2710 high-quality vector-based 2D library with antialiasing and alpha composition.")
2711 (license license:lgpl2.0+)))
2715 (define-public libgnomecanvas
2717 (name "libgnomecanvas")
2721 (uri (string-append "mirror://gnome/sources/" name "/"
2722 (version-major+minor version) "/"
2723 name "-" version ".tar.gz"))
2726 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2727 (build-system gnu-build-system)
2728 ;; Mentioned as Required in the .pc file
2729 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2732 `(("intltool" ,intltool)
2733 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2734 ("pkg-config" ,pkg-config)))
2735 (home-page "https://developer.gnome.org/libgnomecanvas/")
2736 (synopsis "Flexible widget for creating interactive structured graphics")
2737 (description "The GnomeCanvas widget provides a flexible widget for
2738 creating interactive structured graphics.")
2739 (license license:lgpl2.0+)))
2741 (define-public libgnomecanvasmm
2743 (name "libgnomecanvasmm")
2747 (uri (string-append "mirror://gnome/sources/" name "/"
2748 (version-major+minor version) "/"
2749 name "-" version ".tar.bz2"))
2752 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2753 (build-system gnu-build-system)
2754 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2756 `(("gtkmm-2" ,gtkmm-2)
2757 ("pkg-config" ,pkg-config)))
2758 (home-page "https://gtkmm.org")
2759 (synopsis "C++ bindings to the GNOME Canvas library")
2760 (description "C++ bindings to the GNOME Canvas library.")
2761 (license license:lgpl2.0+)))
2763 (define-public libgnomeui
2769 (uri (string-append "mirror://gnome/sources/" name "/"
2770 (version-major+minor version) "/"
2771 name "-" version ".tar.bz2"))
2772 (patches (search-patches "libgnomeui-utf8.patch"))
2775 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2776 (build-system gnu-build-system)
2777 ;; Mentioned as Required in the .pc file
2778 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2779 ("libgnome" ,libgnome)
2780 ("libgnomecanvas" ,libgnomecanvas)
2781 ("libgnome-keyring" ,libgnome-keyring)))
2782 (inputs `(("libjpeg" ,libjpeg-turbo)
2784 ("libbonobo" ,libbonobo)
2785 ("libxml2" ,libxml2)
2786 ("libglade" ,libglade)))
2788 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2789 ("intltool" ,intltool)
2790 ("pkg-config" ,pkg-config)))
2791 (home-page "https://developer.gnome.org/libgnomeui/")
2792 (synopsis "Additional widgets for applications")
2793 (description "The libgnomeui library provides additional widgets for
2794 applications. Many of the widgets from libgnomeui have already been
2796 (license license:lgpl2.0+)))
2798 (define-public libglade
2804 (uri (string-append "mirror://gnome/sources/" name "/"
2805 (version-major+minor version) "/"
2806 name "-" version ".tar.bz2"))
2809 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2810 (build-system gnu-build-system)
2812 `(("python" ,python))) ;; needed for the optional libglade-convert program
2814 `(("gtk+-2" ,gtk+-2)
2815 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2817 `(("pkg-config" ,pkg-config)))
2818 (home-page "https://developer.gnome.org/libglade")
2819 (synopsis "Load glade interfaces and access the glade built widgets")
2820 (description "Libglade is a library that provides interfaces for loading
2821 graphical interfaces described in glade files and for accessing the
2822 widgets built in the loading process.")
2823 (license license:gpl2+))) ; This is correct. GPL not LGPL
2825 (define-public libgnomeprint
2826 ;; This library has been deprecated since 2006; see
2827 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2829 (name "libgnomeprint")
2833 (uri (string-append "mirror://gnome/sources/" name "/"
2834 (version-major+minor version) "/"
2835 name "-" version ".tar.bz2"))
2838 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2839 (build-system gnu-build-system)
2842 ("libart-lgpl" ,libart-lgpl)
2844 ("libxml2" ,libxml2)))
2846 `(("intltool" ,intltool)
2847 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2848 ("pkg-config" ,pkg-config)))
2849 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2850 (synopsis "Printing framework for GNOME")
2852 "GNOME-print was a printing framework for GNOME. It has been deprecated
2853 since ca. 2006, when GTK+ itself incorporated printing support.")
2854 (license license:lgpl2.0+)))
2857 (define-public libgnomeprintui
2858 ;; Deprecated; see libgnomeprint.
2860 (name "libgnomeprintui")
2864 (uri (string-append "mirror://gnome/sources/" name "/"
2865 (version-major+minor version) "/"
2866 name "-" version ".tar.bz2"))
2869 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2870 (build-system gnu-build-system)
2871 ;; Mentioned as Required in the .pc file
2872 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2873 (inputs `(("gtk+" ,gtk+-2)
2875 ("gnome-icon-theme" ,gnome-icon-theme)
2876 ("libgnomecanvas" ,libgnomecanvas)
2877 ("libxml2" ,libxml2)))
2879 `(("intltool" ,intltool)
2880 ("pkg-config" ,pkg-config)))
2881 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2882 (synopsis "Printing framework for GNOME")
2883 (description (package-description libgnomeprint))
2884 (license license:lgpl2.0+)))
2886 (define-public libbonoboui
2888 (name "libbonoboui")
2892 (uri (string-append "mirror://gnome/sources/" name "/"
2893 (version-major+minor version) "/"
2894 name "-" version ".tar.bz2"))
2897 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2898 (build-system gnu-build-system)
2901 (modify-phases %standard-phases
2902 (add-before 'check 'start-xserver
2903 (lambda* (#:key inputs #:allow-other-keys)
2904 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2907 (setenv "HOME" (getcwd))
2908 (setenv "DISPLAY" disp)
2909 ;; There must be a running X server and make check doesn't start one.
2910 ;; Therefore we must do it.
2911 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2912 ;; Mentioned as Required by the .pc file
2913 (propagated-inputs `(("libxml2" ,libxml2)))
2916 ("pangox-compat" ,pangox-compat)
2917 ("libgnome" ,libgnome)
2918 ("libgnomecanvas" ,libgnomecanvas)
2919 ("libglade" ,libglade)))
2921 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2922 ("intltool" ,intltool)
2923 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2924 ("pkg-config" ,pkg-config)))
2925 (home-page "https://developer.gnome.org/libbonoboui/")
2926 (synopsis "Some user interface controls using Bonobo")
2927 (description "The Bonobo UI library provides a number of user interface
2928 controls using the Bonobo component framework.")
2929 (license license:lgpl2.0+)))
2931 (define-public libwnck
2937 (uri (string-append "mirror://gnome/sources/" name "/"
2938 (version-major+minor version) "/"
2939 name "-" version ".tar.xz"))
2942 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2943 (build-system meson-build-system)
2945 `(("pkg-config" ,pkg-config)
2946 ("glib" ,glib "bin") ; for glib-mkenums
2947 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2948 ("intltool" ,intltool)))
2951 ("libxres" ,libxres)
2952 ("startup-notification" ,startup-notification)))
2953 (home-page "https://developer.gnome.org/libwnck/")
2954 (synopsis "Window Navigator Construction Kit")
2956 "Libwnck is the Window Navigator Construction Kit, a library for use in
2957 writing pagers, tasklists, and more generally applications that are dealing
2958 with window management. It tries hard to respect the Extended Window Manager
2959 Hints specification (EWMH).")
2960 (license license:lgpl2.0+)))
2962 ;; stable version for gtk2, required by xfwm4.
2963 (define-public libwnck-2
2964 (package (inherit libwnck)
2969 (uri (string-append "mirror://gnome/sources/" name "/"
2970 (version-major+minor version) "/"
2971 name "-" version ".tar.xz"))
2974 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2975 (build-system gnu-build-system)
2977 `(("pkg-config" ,pkg-config)
2978 ("intltool" ,intltool)))
2981 ("libxres" ,libxres)
2982 ("startup-notification" ,startup-notification)))))
2984 (define-public goffice
2990 (uri (string-append "mirror://gnome/sources/goffice/"
2991 (version-major+minor version) "/"
2992 "goffice-" version ".tar.xz"))
2994 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2995 (build-system gnu-build-system)
2997 "doc")) ; 4.0 MiB of gtk-doc
2999 '(#:configure-flags (list (string-append "--with-html-dir="
3000 (assoc-ref %outputs "doc")
3001 "/share/gtk-doc/html"))))
3005 ("librsvg" ,librsvg)
3006 ("libxslt" ,libxslt)
3007 ("libxml2" ,libxml2)))
3009 `(("intltool" ,intltool)
3010 ("glib" ,glib "bin")
3011 ("pkg-config" ,pkg-config)))
3012 (home-page "https://developer.gnome.org/goffice/")
3013 (synopsis "Document-centric objects and utilities")
3014 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3016 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3018 (list license:gpl2 license:gpl3))))
3020 (define-public goffice-0.8
3021 (package (inherit goffice)
3025 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3026 (version-major+minor version) "/"
3027 (package-name goffice) "-" version ".tar.xz"))
3029 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3032 (modify-phases %standard-phases
3033 (add-after 'unpack 'fix-pcre-check
3035 ;; Only glib.h can be included directly. See
3036 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3037 (substitute* "configure"
3038 (("glib/gregex\\.h") "glib.h")) #t)))
3040 ,@(package-arguments goffice)))
3042 ;; libgoffice-0.8.pc mentions libgsf-1
3043 `(("libgsf" ,libgsf)))
3046 ,@(alist-delete "gtk" (package-inputs goffice))))))
3048 (define-public gnumeric
3054 (uri (string-append "mirror://gnome/sources/gnumeric/"
3055 (version-major+minor version) "/"
3056 "gnumeric-" version ".tar.xz"))
3059 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3060 (build-system glib-or-gtk-build-system)
3062 `(;; The gnumeric developers don't worry much about failing tests.
3063 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3066 (modify-phases %standard-phases
3068 'configure 'pre-conf
3069 (lambda* (#:key outputs #:allow-other-keys)
3070 ;; Make install tries to write into the directory of goffice
3071 ;; I am informed that this only affects the possibility to embed a
3072 ;; spreadsheet inside an Abiword document. So presumably when we
3073 ;; package Abiword we'll have to refer it to this directory.
3074 (substitute* "configure"
3075 (("^GOFFICE_PLUGINS_DIR=.*")
3076 (string-append "GOFFICE_PLUGINS_DIR="
3077 (assoc-ref outputs "out")
3078 "/goffice/plugins"))))))))
3082 ("goffice" ,goffice)
3084 ("librsvg" ,librsvg)
3085 ("libxml2" ,libxml2)
3086 ("libxslt" ,libxslt)
3087 ("python" ,python-2)
3088 ("python2-pygobject" ,python2-pygobject)
3092 ("docbook-xml" ,docbook-xml)
3093 ("intltool" ,intltool)
3094 ("itstool" ,itstool)
3095 ("glib:bin" ,glib "bin")
3096 ("pkg-config" ,pkg-config)))
3097 (home-page "http://www.gnumeric.org")
3098 (synopsis "Spreadsheet application")
3100 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3101 interoperable with other spreadsheet applications. It has a vast array of
3102 features beyond typical spreadsheet functionality, such as support for linear
3103 and non-linear solvers, statistical analysis, and telecommunication
3106 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3107 (list license:gpl2 license:gpl3))))
3109 (define-public gnome-themes-standard
3111 (name "gnome-themes-standard")
3116 (uri (string-append "mirror://gnome/sources/" name "/"
3117 (version-major+minor version) "/" name "-"
3121 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3122 (build-system gnu-build-system)
3125 ;; Don't create 'icon-theme.cache'.
3126 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3127 (true (string-append coreutils "/bin/true")))
3128 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3132 ("librsvg" ,librsvg)
3133 ("libxml2" ,libxml2)
3136 `(("intltool" ,intltool)
3137 ("glib:bin" ,glib "bin")
3138 ("pkg-config" ,pkg-config)))
3139 (home-page "https://launchpad.net/gnome-themes-standard")
3140 (synopsis "Default GNOME 3 themes")
3142 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3143 (license license:lgpl2.1+)))
3145 (define-public seahorse
3152 (uri (string-append "mirror://gnome/sources/" name "/"
3153 (version-major+minor version) "/" name "-"
3157 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3158 (build-system meson-build-system)
3162 (modify-phases %standard-phases
3163 (add-after 'unpack 'skip-gtk-update-icon-cache
3164 ;; Don't create 'icon-theme.cache'.
3166 (substitute* "build-aux/meson_post_install.py"
3167 (("gtk-update-icon-cache") "true"))
3174 ("openldap" ,openldap)
3175 ("openssh" ,openssh)
3177 ("libpwquality" ,libpwquality)
3178 ("libsecret" ,libsecret)
3179 ("libsoup" ,libsoup)))
3181 `(("gettext" ,gettext-minimal)
3182 ("glib:bin" ,glib "bin")
3183 ("itstool" ,itstool)
3184 ("pkg-config" ,pkg-config)
3186 ("xmllint" ,libxml2)))
3187 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3188 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3190 "Seahorse is a GNOME application for managing encryption keys and
3191 passwords in the GNOME keyring.")
3192 (license license:gpl2+)))
3200 (uri (string-append "mirror://gnome/sources/" name "/"
3201 (version-major+minor version) "/"
3202 name "-" version ".tar.xz"))
3205 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3206 (build-system gnu-build-system)
3209 (modify-phases %standard-phases
3210 (add-before 'check 'pre-check
3213 (substitute* "valadoc/tests/testrunner.sh"
3214 (("export PKG_CONFIG_PATH=" m)
3215 (string-append m "$PKG_CONFIG_PATH:")))
3216 ;; For missing '/etc/machine-id'.
3217 (setenv "DBUS_FATAL_WARNINGS" "0")
3220 `(("pkg-config" ,pkg-config)
3223 ("xsltproc" ,libxslt)
3224 ("dbus" ,dbus) ; for dbus tests
3225 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3227 `(("graphviz" ,graphviz)))
3229 `(("glib" ,glib))) ; required by libvala-0.40.pc
3230 (home-page "https://live.gnome.org/Vala/")
3231 (synopsis "Compiler for the GObject type system")
3233 "Vala is a programming language that aims to bring modern programming
3234 language features to GNOME developers without imposing any additional runtime
3235 requirements and without using a different ABI compared to applications and
3236 libraries written in C.")
3237 (license license:lgpl2.1+)))
3245 (uri (string-append "mirror://gnome/sources/vte/"
3246 (version-major+minor version) "/"
3247 "vte-" version ".tar.xz"))
3250 "19ccbw0yca78h5qcnm8claj4fg1pj68nj1fsjqqfpzhj7w72i81m"))))
3251 (build-system meson-build-system)
3255 "-D_systemd=false")))
3257 `(("pkg-config" ,pkg-config)
3258 ("gettext" ,gettext-minimal)
3260 ("gobject-introspection" ,gobject-introspection)
3261 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3263 ("xmllint" ,libxml2)))
3265 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3266 ("gnutls" ,gnutls) ; ditto
3267 ("pcre2" ,pcre2))) ; ditto
3268 (home-page "https://www.gnome.org/")
3269 (synopsis "Virtual Terminal Emulator")
3271 "VTE is a library (libvte) implementing a terminal emulator widget for
3272 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3273 gnome-terminal, but can also be used to embed a console/terminal in games,
3274 editors, IDEs, etc.")
3275 (license license:lgpl2.1+)))
3277 (define-public vte-ng
3281 (version "0.58.2.a")
3282 (home-page "https://github.com/thestinger/vte-ng")
3285 (uri (git-reference (url home-page) (commit version)))
3286 (file-name (git-file-name name version))
3289 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3290 (build-system meson-build-system)
3292 `(("gtk-doc" ,gtk-doc)
3293 ,@(package-native-inputs vte)))
3295 `(#:configure-flags '("-Ddocs=true")))
3296 (synopsis "Enhanced VTE terminal widget")
3298 "VTE is a library (libvte) implementing a terminal emulator widget for
3299 GTK+, this fork provides additional functions exposed for keyboard text
3300 selection and URL hints.")))
3302 ;; provides vte 2.90, required for some terminal emulators
3303 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3304 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3305 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3306 ;; pantheon-terminal, roxterm are not currently packaged
3307 (define-public vte-0.36
3308 (package (inherit vte)
3313 (uri (string-append "mirror://gnome/sources/" name "/"
3314 (version-major+minor version) "/"
3315 name "-" version ".tar.xz"))
3318 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3321 ("ncurses" ,ncurses)))))
3323 ;; stable version for gtk2, required by xfce4-terminal.
3324 (define-public vte/gtk+-2
3325 (package (inherit vte)
3330 (uri (string-append "mirror://gnome/sources/" name "/"
3331 (version-major+minor version) "/"
3332 name "-" version ".tar.xz"))
3335 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3336 (patches (search-patches
3337 "vte-CVE-2012-2738-pt1.patch"
3338 "vte-CVE-2012-2738-pt2.patch"))))
3339 (build-system gnu-build-system)
3341 '(#:configure-flags '("--disable-python")))
3343 `(("pkg-config" ,pkg-config)
3344 ("intltool" ,intltool)
3345 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3347 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3348 ("ncurses" ,ncurses))))) ; required by libvte.la
3350 (define-public vinagre
3356 (uri (string-append "mirror://gnome/sources/" name "/"
3357 (version-major+minor version) "/"
3358 name "-" version ".tar.xz"))
3359 (patches (search-patches "vinagre-newer-freerdp.patch"
3360 "vinagre-newer-rdp-parameters.patch"))
3363 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3364 (build-system glib-or-gtk-build-system)
3366 ;; Disable -Werror and such, to avoid build failures on compilation
3368 '(#:configure-flags '("--enable-compile-warnings=minimum")
3370 (modify-phases %standard-phases
3371 (add-before 'install 'skip-gtk-update-icon-cache
3373 ;; Don't create 'icon-theme.cache'
3374 (substitute* (find-files "." "^Makefile$")
3375 (("gtk-update-icon-cache") (which "true")))
3377 (add-after 'unpack 'patch-configure
3379 (substitute* "configure"
3380 (("freerdp") "freerdp2"))
3383 `(("pkg-config" ,pkg-config)
3384 ("intltool" ,intltool)
3385 ("itstool" ,itstool)
3386 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3388 `(("libxml2" ,libxml2)
3389 ("gtk-vnc" ,gtk-vnc)
3390 ("gnome-keyring" ,gnome-keyring)
3391 ("libsecret" ,libsecret)
3392 ("freerdp" ,freerdp)
3394 ("spice-gtk" ,spice-gtk)
3395 ("telepathy-glib" ,telepathy-glib)
3397 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3398 (synopsis "Remote desktop viewer for GNOME")
3399 (description "Vinagre is a remote display client supporting the VNC, SPICE
3400 and RDP protocols.")
3401 (license license:gpl3+)))
3403 (define-public dconf
3410 "mirror://gnome/sources/" name "/"
3411 (version-major+minor version) "/"
3412 name "-" version ".tar.xz"))
3413 (patches (search-patches "dconf-meson-0.52.patch"))
3416 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3417 (build-system meson-build-system)
3419 ;; In Requires of dconf.pc.
3425 `(("bash-completion" ,bash-completion)
3426 ("libxslt" ,libxslt) ;for xsltproc
3427 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3428 ("docbook-xml" ,docbook-xml-4.2)
3429 ("docbook-xsl" ,docbook-xsl)
3430 ("glib:bin" ,glib "bin")
3431 ("gtk-doc" ,gtk-doc)
3432 ("pkg-config" ,pkg-config)
3435 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3436 ; or /etc/machine-id.
3438 #:configure-flags '("-Denable-gtk-doc=true")))
3439 (home-page "https://developer.gnome.org/dconf/")
3440 (synopsis "Low-level GNOME configuration system")
3441 (description "Dconf is a low-level configuration system. Its main purpose
3442 is to provide a backend to GSettings on platforms that don't already have
3443 configuration storage systems.")
3444 (license license:lgpl2.1+)))
3446 (define-public json-glib
3452 (uri (string-append "mirror://gnome/sources/" name "/"
3453 (version-major+minor version) "/"
3454 name "-" version ".tar.xz"))
3457 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3458 (build-system meson-build-system)
3460 `(("gettext" ,gettext-minimal)
3461 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3462 ("gobject-introspection" ,gobject-introspection)
3463 ("pkg-config" ,pkg-config)))
3465 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3466 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3467 (synopsis "Compiler for the GObject type system")
3469 "JSON-GLib is a C library based on GLib providing serialization and
3470 deserialization support for the JavaScript Object Notation (JSON) format
3471 described by RFC 4627. It provides parser and generator GObject classes and
3472 various wrappers for the complex data types employed by JSON, such as arrays
3474 (license license:lgpl2.1+)))
3476 (define-public libxklavier
3478 (name "libxklavier")
3481 ;; Note: There's no tarball at ftp.gnome.org for this version.
3484 (url "https://anongit.freedesktop.org/git/libxklavier")
3485 (commit (string-append "libxklavier-" version))))
3488 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3489 (file-name (git-file-name name version))))
3490 (build-system gnu-build-system)
3493 (list (string-append "--with-xkb-base="
3494 (assoc-ref %build-inputs "xkeyboard-config")
3496 "--disable-xmodmap-support")))
3498 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3499 ("gobject-introspection" ,gobject-introspection)
3500 ("pkg-config" ,pkg-config)
3501 ("gtk-doc" ,gtk-doc)
3502 ("intltool" ,intltool)
3504 ("autoconf" ,autoconf)
3505 ("automake" ,automake)
3506 ("libtool" ,libtool)))
3508 ;; Required by libxklavier.pc.
3510 ("libxml2" ,libxml2)))
3512 `(("iso-codes" ,iso-codes)
3514 ("libxkbfile" ,libxkbfile)
3515 ("xkbcomp" ,xkbcomp)
3516 ("xkeyboard-config" ,xkeyboard-config)))
3517 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3518 (synopsis "High-level API for X Keyboard Extension")
3520 "LibXklavier is a library providing high-level API for X Keyboard
3521 Extension known as XKB. This library is intended to support XFree86 and other
3522 commercial X servers. It is useful for creating XKB-related software (layout
3524 (license license:lgpl2.0+)))
3526 (define-public python2-rsvg
3527 ;; XXX: This is actually a subset of gnome-python-desktop.
3529 (name "python2-rsvg")
3535 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3536 version ".tar.bz2"))
3539 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3540 (build-system gnu-build-system)
3542 `(("pkg-config" ,pkg-config)))
3544 `(("python" ,python-2)
3545 ("python2-pygtk" ,python2-pygtk)
3546 ("librsvg" ,librsvg)))
3547 (home-page "https://www.gnome.org")
3548 (synopsis "Python bindings to librsvg")
3550 "This package provides Python bindings to librsvg, the SVG rendering
3553 ;; This is the license of the rsvg bindings. The license of each module
3554 ;; of gnome-python-desktop is given in 'COPYING'.
3555 (license license:lgpl2.1+)))
3557 (define-public glib-networking
3559 (name "glib-networking")
3563 (uri (string-append "mirror://gnome/sources/glib-networking/"
3564 (version-major+minor version) "/"
3565 "glib-networking-" version ".tar.xz"))
3568 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3569 (build-system meson-build-system)
3571 `(#:configure-flags '("-Dlibproxy_support=false")))
3573 `(("pkg-config" ,pkg-config)
3574 ("intltool" ,intltool)))
3578 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3579 (home-page "https://www.gnome.org")
3580 (synopsis "Network-related GIO modules")
3582 "This package contains various network related extensions for the GIO
3584 (license license:lgpl2.0+)))
3592 (uri (string-append "mirror://gnome/sources/rest/"
3593 (version-major+minor version) "/"
3594 name "-" version ".tar.xz"))
3597 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3598 (build-system gnu-build-system)
3600 '(#:tests? #f ; tests require internet connection
3602 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3604 `(("glib-mkenums" ,glib "bin")
3605 ("gobject-introspection" ,gobject-introspection)
3606 ("pkg-config" ,pkg-config)))
3608 ;; rest-0.7.pc refers to all these.
3610 ("libsoup" ,libsoup)
3611 ("libxml2" ,libxml2)))
3612 (home-page "https://www.gtk.org/")
3613 (synopsis "RESTful web api query library")
3615 "This library was designed to make it easier to access web services that
3616 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3617 libxml to ease remote use of the RESTful API.")
3618 (license license:lgpl2.1+)))
3620 (define-public libsoup
3626 (uri (string-append "mirror://gnome/sources/libsoup/"
3627 (version-major+minor version) "/"
3628 "libsoup-" version ".tar.xz"))
3631 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3632 (build-system meson-build-system)
3633 (outputs '("out" "doc"))
3635 `(#:modules ((guix build utils)
3636 (guix build meson-build-system)
3639 #:configure-flags '("-Dgtk_doc=true")
3641 (modify-phases %standard-phases
3642 (add-after 'unpack 'adjust-tests
3644 ;; This test fails due to missing /etc/nsswitch.conf
3645 ;; in the build environment.
3646 (substitute* "tests/socket-test.c"
3647 ((".*/sockets/unconnected.*") ""))
3649 ;; These fail because "subdomain.localhost" does not resolve in
3650 ;; the build environment.
3651 (substitute* "tests/hsts-test.c"
3652 ((".*/hsts/basic.*") "")
3653 ((".*/hsts/subdomains.*") "")
3654 ((".*/hsts/superdomain.*") "")
3655 ((".*/hsts/utf8-address.*") ""))
3656 (substitute* "tests/hsts-db-test.c"
3657 ((".*/hsts-db/subdomains.*") ""))
3659 ;; Generate a self-signed certificate that has "localhost" as its
3660 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3661 ;; 3.5.12, tests such as "ssl-tests" fail:
3663 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3665 ;; 'certtool' is interactive so we have to pipe it the answers.
3666 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3667 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3668 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3669 (for-each (lambda (line)
3674 "Guix" ;Organizational unit name
3675 "GNU" ;Organization name
3677 "" ;State or province
3679 "" ;subject's domain component (DC)
3682 "-1" ;expiration time
3683 "N" ;belong to authority?
3684 "N" ;web client certificate?
3686 "Y" ;web server certificate?
3687 "localhost" ;dnsName of subject
3688 "" ;dnsName of subject (end)
3690 "127.0.0.1" ;IP address of subject
3692 "" ;encryption (RSA)?
3693 "" ;data encryption?
3694 "" ;sign OCSP requests?
3697 "" ;email protection?
3698 "" ;URI of the CRL distribution point
3703 (add-after 'install 'move-doc
3704 (lambda* (#:key outputs #:allow-other-keys)
3705 (let ((out (assoc-ref outputs "out"))
3706 (doc (assoc-ref outputs "doc")))
3707 (mkdir-p (string-append doc "/share"))
3708 (copy-recursively (string-append out "/share/gtk-doc")
3709 (string-append doc "/share/gtk-doc"))
3710 (delete-file-recursively (string-append out "/share/gtk-doc"))
3713 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3714 ("gobject-introspection" ,gobject-introspection)
3715 ("gtk-doc" ,gtk-doc)
3716 ("intltool" ,intltool)
3717 ("pkg-config" ,pkg-config)
3718 ("python" ,python-wrapper)
3720 ;; These are needed for the tests.
3721 ;; FIXME: Add PHP once available.
3723 ("gnutls" ,gnutls) ;for 'certtool'
3726 ;; libsoup-2.4.pc refers to all these.
3727 `(("brotli" ,google-brotli)
3730 ("libxml2" ,libxml2)
3734 `(("glib-networking" ,glib-networking)
3735 ("mit-krb5" ,mit-krb5)))
3736 (home-page "https://live.gnome.org/LibSoup/")
3737 (synopsis "GLib-based HTTP Library")
3739 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3740 and the GLib main loop, to integrate well with GNOME applications.")
3741 (license license:lgpl2.0+)))
3743 (define-public libsecret
3750 "mirror://gnome/sources/libsecret/"
3751 (version-major+minor version) "/"
3752 "libsecret-" version ".tar.xz"))
3755 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
3756 (build-system gnu-build-system)
3757 (outputs '("out" "doc"))
3759 `(#:tests? #f ; FIXME: Testing hangs.
3761 (list (string-append "--with-html-dir="
3762 (assoc-ref %outputs "doc")
3763 "/share/gtk-doc/html"))))
3765 `(("gettext" ,gettext-minimal)
3766 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3767 ("gobject-introspection" ,gobject-introspection)
3768 ("pkg-config" ,pkg-config)
3770 ("xsltproc" ,libxslt)))
3771 ;; These are needed for the tests.
3772 ;; FIXME: Add gjs once available.
3774 ;("python2" ,python-2)
3775 ;("python2-dbus" ,python2-dbus)
3776 ;("python2-pygobject" ,python2-pygobject)
3777 ;("python2-pygobject-2" ,python2-pygobject-2)))
3779 `(("glib" ,glib))) ; required by libsecret-1.pc
3781 `(("docbook-xsl" ,docbook-xsl)
3782 ("libgcrypt" ,libgcrypt)
3783 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3784 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3785 (synopsis "GObject bindings for \"Secret Service\" API")
3787 "Libsecret is a GObject based library for storing and retrieving passwords
3788 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3789 (license license:lgpl2.1+)))
3791 (define-public five-or-more
3793 (name "five-or-more")
3798 (uri (string-append "mirror://gnome/sources/five-or-more/"
3799 (version-major+minor version) "/"
3800 "five-or-more-" version ".tar.xz"))
3802 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
3803 (build-system meson-build-system)
3807 (modify-phases %standard-phases
3808 (add-after 'unpack 'skip-gtk-update-icon-cache
3810 (substitute* "meson_post_install.py"
3811 (("gtk-update-icon-cache") (which "true")))
3814 `(("pkg-config" ,pkg-config)
3815 ("appstream-glib" ,appstream-glib)
3816 ("desktop-file-utils" ,desktop-file-utils)
3817 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3818 ("intltool" ,intltool)
3819 ("itstool" ,itstool)
3821 ("xmllint" ,libxml2)))
3824 ("libgnome-games-support" ,libgnome-games-support)
3825 ("librsvg" ,librsvg)))
3826 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3827 (synopsis "Logic puzzle game")
3828 (description "Five or More is a game where you try to align
3829 five or more objects of the same color and shape causing them to disappear.
3830 On every turn more objects will appear, until the board is full.
3831 Try to last as long as possible.")
3832 (license license:gpl2+)))
3834 (define-public gnome-mines
3836 (name "gnome-mines")
3841 (uri (string-append "mirror://gnome/sources/" name "/"
3842 (version-major+minor version) "/"
3843 name "-" version ".tar.xz"))
3846 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
3847 (build-system meson-build-system)
3851 (modify-phases %standard-phases
3852 (add-after 'unpack 'skip-gtk-update-icon-cache
3854 (substitute* "build-aux/meson_post_install.py"
3855 (("gtk-update-icon-cache") (which "true")))
3858 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3859 ("pkg-config" ,pkg-config)
3860 ("desktop-file-utils" ,desktop-file-utils)
3861 ("intltool" ,intltool)
3862 ("itstool" ,itstool)
3865 ("appstream-glib" ,appstream-glib)))
3868 ("libgnome-games-support" ,libgnome-games-support)
3869 ("librsvg" ,librsvg)))
3870 (home-page "https://wiki.gnome.org/Apps/Mines")
3871 (synopsis "Minesweeper game")
3873 "Mines (previously gnomine) is a puzzle game where you locate mines
3874 floating in an ocean using only your brain and a little bit of luck.")
3875 (license license:gpl2+)))
3877 (define-public gnome-sudoku
3879 (name "gnome-sudoku")
3884 (uri (string-append "mirror://gnome/sources/" name "/"
3885 (version-major+minor version) "/"
3886 name "-" version ".tar.xz"))
3889 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
3890 (build-system meson-build-system)
3894 (modify-phases %standard-phases
3895 (add-after 'unpack 'skip-gtk-update-icon-cache
3897 (substitute* "build-aux/post_install.py"
3898 (("gtk-update-icon-cache") (which "true")))
3901 `(("pkg-config" ,pkg-config)
3902 ("desktop-file-utils" ,desktop-file-utils)
3903 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3904 ("intltool" ,intltool)
3905 ("itstool" ,itstool)
3907 ("xmllint" ,libxml2)))
3910 ("json-glib" ,json-glib)
3912 ("librsvg" ,librsvg)
3913 ("qqwing" ,qqwing)))
3914 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3915 (synopsis "Japanese logic game")
3917 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3918 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3919 possible while still providing features that make playing difficult Sudoku
3921 (license license:gpl2+)))
3923 (define-public gnome-terminal
3925 (name "gnome-terminal")
3930 (uri (string-append "mirror://gnome/sources/" name "/"
3931 (version-major+minor version) "/"
3932 name "-" version ".tar.xz"))
3935 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
3936 (build-system glib-or-gtk-build-system)
3939 (list "--disable-migration" "--disable-search-provider"
3940 "--without-nautilus-extension")
3942 (modify-phases %standard-phases
3943 (add-before 'configure 'patch-/bin/true
3945 (substitute* "configure"
3946 (("/bin/true") (which "true"))))))))
3948 `(("pkg-config" ,pkg-config)
3949 ("desktop-file-utils" ,desktop-file-utils)
3950 ("intltool" ,intltool)
3951 ("itstool" ,itstool)
3952 ("xmllint" ,libxml2)))
3954 `(("dconf" ,dconf)))
3959 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3960 ("util-linux" ,util-linux "lib")
3962 (home-page "https://wiki.gnome.org/Apps/Terminal")
3963 (synopsis "Terminal emulator")
3965 "GNOME Terminal is a terminal emulator application for accessing a
3966 UNIX shell environment which can be used to run programs available on
3969 It supports several profiles, multiple tabs and implements several
3970 keyboard shortcuts.")
3971 (license license:gpl3+)))
3973 (define-public colord
3980 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3981 "colord-" version ".tar.xz"))
3983 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3984 (build-system meson-build-system)
3986 '(;; FIXME: One test fails:
3987 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3988 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3989 ;; application/x-zerosize
3992 #:configure-flags (list "-Dlocalstatedir=/var"
3993 ;; No dep on systemd.
3995 ;; Wants to install to global completion dir;
3997 "-Dbash_completion=false"
3998 "-Ddaemon_user=colord"
4001 ;; Requires spotread.
4002 "-Dargyllcms_sensor=false"
4003 ;; TODO: Requires docbook2x.
4006 (modify-phases %standard-phases
4007 (add-before 'configure 'patch-build-system
4008 (lambda* (#:key outputs #:allow-other-keys)
4009 (substitute* "rules/meson.build"
4010 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4011 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4013 (add-before 'configure 'set-sqlite3-file-name
4014 (lambda* (#:key inputs #:allow-other-keys)
4015 ;; "colormgr dump" works by invoking the "sqlite3" command.
4016 ;; Record its absolute file name.
4017 (let ((sqlite (assoc-ref inputs "sqlite")))
4018 (substitute* "client/cd-util.c"
4020 (string-append "\"" sqlite "/bin/sqlite3\"")))
4023 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4024 ("gettext" ,gettext-minimal)
4025 ("gobject-introspection" ,gobject-introspection)
4026 ("gtk-doc" ,gtk-doc)
4027 ("pkg-config" ,pkg-config)
4030 ;; colord.pc refers to all these.
4035 `(("dbus-glib" ,dbus-glib)
4037 ("libgudev" ,libgudev)
4040 ("python" ,python-wrapper)
4042 ("sane-backends" ,sane-backends)))
4043 (home-page "https://www.freedesktop.org/software/colord/")
4044 (synopsis "Color management service")
4045 (description "Colord is a system service that makes it easy to manage,
4046 install and generate color profiles to accurately color manage input and
4048 (license license:gpl2+)))
4050 (define-public geoclue
4058 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4059 version "/geoclue-" version ".tar.bz2"))
4062 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4063 (patches (search-patches "geoclue-config.patch"))))
4064 (build-system meson-build-system)
4066 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4068 `(("pkg-config" ,pkg-config)
4069 ("gobject-introspection" ,gobject-introspection)
4070 ("modem-manager" ,modem-manager)
4071 ("libnotify" ,libnotify)
4072 ("gtk-doc", gtk-doc)
4073 ("intltool" ,intltool)))
4076 ("glib:bin" ,glib "bin")
4077 ("glib-networking" ,glib-networking)
4078 ("json-glib" ,json-glib)
4079 ("libsoup" ,libsoup)))
4080 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4081 (synopsis "Geolocation service")
4082 (description "Geoclue is a D-Bus service that provides location
4083 information. The primary goal of the Geoclue project is to make creating
4084 location-aware applications as simple as possible, while the secondary goal is
4085 to ensure that no application can access location information without explicit
4086 permission from user.")
4087 (license license:gpl2+)))
4089 (define-public geocode-glib
4091 (name "geocode-glib")
4095 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4096 (version-major+minor version) "/"
4097 "geocode-glib-" version ".tar.xz"))
4100 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4101 (build-system meson-build-system)
4104 (modify-phases %standard-phases
4105 ;; The tests require a bunch of locales.
4106 (add-before 'check 'set-locales
4107 (lambda* (#:key inputs #:allow-other-keys)
4108 (setenv "GUIX_LOCPATH"
4109 (string-append (assoc-ref inputs "glibc-locales")
4113 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4114 ("glibc-locales" ,glibc-locales) ; for tests
4115 ("gettext" ,gettext-minimal)
4116 ("gobject-introspection" ,gobject-introspection)
4117 ("gtk-doc" ,gtk-doc)
4118 ("pkg-config" ,pkg-config)
4119 ("json-glib" ,json-glib)))
4121 ;; geocode-glib-1.0.pc refers to GIO.
4124 `(("libsoup" ,libsoup)))
4125 (home-page "https://github.com/GNOME/geocode-glib/")
4126 (synopsis "Geocoding and reverse-geocoding library")
4128 "geocode-glib is a convenience library for geocoding (finding longitude,
4129 and latitude from an address) and reverse geocoding (finding an address from
4130 coordinates) using the Nominatim service. geocode-glib caches requests for
4131 faster results and to avoid unnecessary server load.")
4132 (license license:lgpl2.0+)))
4134 (define-public upower
4140 (uri (string-append "https://upower.freedesktop.org/releases/"
4141 "upower-" version ".tar.xz"))
4144 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4145 (patches (search-patches "upower-builddir.patch"))
4146 (modules '((guix build utils)))
4150 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4151 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4152 ;; 'dbus-configuration-directory' in (gnu services dbus)
4153 ;; expects it in etc/. Thus, move it back to its previous
4155 (substitute* "src/Makefile.in"
4156 (("^dbusconfdir =.*$")
4157 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4159 (build-system glib-or-gtk-build-system)
4162 (modify-phases %standard-phases
4163 (add-before 'check 'pre-check
4164 (lambda* (#:key inputs #:allow-other-keys)
4165 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
4167 (setenv "LD_LIBRARY_PATH" umockdev))
4169 #:configure-flags (list "--localstatedir=/var"
4170 (string-append "--with-udevrulesdir="
4171 (assoc-ref %outputs "out")
4172 "/lib/udev/rules.d"))))
4174 `(("gobject-introspection" ,gobject-introspection)
4175 ("pkg-config" ,pkg-config)
4176 ("intltool" ,intltool)
4180 ("python-dbus" ,python-dbus)
4181 ("python-dbusmock" ,python-dbusmock)
4182 ("python-pygobject" ,python-pygobject)
4183 ("umockdev" ,umockdev)
4186 ("libxslt" ,libxslt) ;for 'xsltproc'
4187 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4188 ("docbook-xsl" ,docbook-xsl)))
4190 `(("dbus-glib" ,dbus-glib)
4191 ("libgudev" ,libgudev)
4192 ("libusb" ,libusb)))
4194 ;; In Requires of upower-glib.pc.
4196 (home-page "https://upower.freedesktop.org/")
4197 (synopsis "System daemon for managing power devices")
4199 "UPower is an abstraction for enumerating power devices,
4200 listening to device events and querying history and statistics. Any
4201 application or service on the system can access the org.freedesktop.UPower
4202 service via the system message bus.")
4203 (license license:gpl2+)))
4205 (define-public libgweather
4207 (name "libgweather")
4211 (uri (string-append "mirror://gnome/sources/" name "/"
4212 (version-major+minor version) "/"
4213 name "-" version ".tar.xz"))
4216 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4217 (build-system meson-build-system)
4219 `(#:tests? #f ; one of two tests requires network access
4221 `(,(string-append "-Dzoneinfo_dir="
4222 (assoc-ref %build-inputs "tzdata")
4223 "/share/zoneinfo"))))
4225 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4226 ("gobject-introspection" ,gobject-introspection)
4227 ("pkg-config" ,pkg-config)
4229 ("intltool" ,intltool)))
4231 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4234 ("gdk-pixbuf" ,gdk-pixbuf)
4235 ("libxml2" ,libxml2)
4236 ("libsoup" ,libsoup)
4237 ("geocode-glib" ,geocode-glib)))
4239 `(("tzdata" ,tzdata)))
4240 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4241 (synopsis "Location, time zone, and weather library for GNOME")
4243 "libgweather is a library to access weather information from online
4244 services for numerous locations.")
4245 (license license:gpl2+)))
4247 (define-public gnome-settings-daemon
4249 (name "gnome-settings-daemon")
4254 (uri (string-append "mirror://gnome/sources/" name "/"
4255 (version-major+minor version) "/"
4256 name "-" version ".tar.xz"))
4259 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4260 (build-system meson-build-system)
4264 (list (string-append "-Dudev_dir="
4265 (assoc-ref %outputs "out")
4266 "/lib/udev/rules.d/")
4268 ;; Otherwise, the RUNPATH will lack the final path component.
4269 (string-append "-Dc_link_args=-Wl,-rpath="
4270 (assoc-ref %outputs "out")
4271 "/lib/gnome-settings-daemon-3.0"))
4272 ;; Color management test can't reach the colord system service.
4275 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4276 ("pkg-config" ,pkg-config)
4277 ("intltool" ,intltool)
4278 ("xsltproc" ,libxslt)
4279 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4280 ("docbook-xml" ,docbook-xml-4.2)
4281 ("docbook-xsl" ,docbook-xsl)))
4283 `(("alsa-lib" ,alsa-lib)
4285 ("libgudev" ,libgudev)
4288 ("pulseaudio" ,pulseaudio)
4289 ("libcanberra" ,libcanberra)
4291 ("libxtst" ,libxtst)
4293 ("libnotify" ,libnotify)
4294 ("geoclue" ,geoclue)
4295 ("geocode-glib" ,geocode-glib)
4296 ("libgweather" ,libgweather)
4297 ("gnome-desktop" ,gnome-desktop)
4300 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4301 ("libwacom" ,libwacom)
4302 ("librsvg" ,librsvg)
4303 ("xf86-input-wacom" ,xf86-input-wacom)
4304 ("wayland" ,wayland)
4305 ("network-manager" ,network-manager)
4307 ("modem-manager" ,modem-manager)))
4308 (home-page "https://www.gnome.org")
4309 (synopsis "GNOME settings daemon")
4311 "This package contains the daemon responsible for setting the various
4312 parameters of a GNOME session and the applications that run under it. It
4313 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4314 settings, themes, mouse settings, and startup of other daemons.")
4315 (license license:gpl2+)))
4317 (define-public totem-pl-parser
4319 (name "totem-pl-parser")
4323 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4324 (version-major+minor version) "/"
4325 "totem-pl-parser-" version ".tar.xz"))
4328 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4329 (build-system meson-build-system)
4331 ;; FIXME: Tests require gvfs.
4334 `(("intltool" ,intltool)
4335 ("glib" ,glib "bin")
4336 ("gobject-introspection" ,gobject-introspection)
4337 ("pkg-config" ,pkg-config)))
4341 ("libarchive" ,libarchive)
4342 ("libgcrypt" ,libgcrypt)
4343 ("libxml2" ,libxml2)))
4345 `(("libsoup" ,libsoup)))
4346 (home-page "https://projects.gnome.org/totem")
4347 (synopsis "Library to parse and save media playlists for GNOME")
4348 (description "Totem-pl-parser is a GObjects-based library to parse and save
4349 playlists in a variety of formats.")
4350 (license license:lgpl2.0+)))
4352 (define-public aisleriot
4358 (uri (string-append "mirror://gnome/sources/aisleriot/"
4359 (version-major+minor version) "/"
4360 "aisleriot-" version ".tar.xz"))
4363 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4364 (build-system glib-or-gtk-build-system)
4367 '("--with-platform=gtk-only"
4368 "--with-card-theme-formats=svg")))
4370 `(("desktop-file-utils" ,desktop-file-utils)
4371 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4372 ("intltool" ,intltool)
4373 ("itstool" ,itstool)
4374 ("pkg-config" ,pkg-config)
4375 ("xmllint" ,libxml2)))
4378 ("guile" ,guile-2.2)
4379 ("libcanberra" ,libcanberra)
4380 ("librsvg" ,librsvg)))
4381 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4382 (synopsis "Solitaire card games")
4384 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4385 which are easy to play with the aid of a mouse.")
4386 (license license:gpl3+)))
4394 (uri (string-append "mirror://gnome/sources/amtk/"
4395 (version-major+minor version) "/"
4396 "amtk-" version ".tar.xz"))
4399 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4400 (build-system gnu-build-system)
4402 '(#:configure-flags '("--enable-gtk-doc")))
4404 `(("gobject-introspection" ,gobject-introspection)
4405 ("glib:bin" ,glib "bin") ; for glib-mkenums
4406 ("gtk-doc" ,gtk-doc)
4407 ("pkg-config" ,pkg-config)))
4411 (home-page "https://wiki.gnome.org/Projects/Amtk")
4412 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4414 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4415 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4416 both a traditional UI or a modern UI with a GtkHeaderBar.")
4417 (license license:lgpl2.1+)))
4419 (define-public devhelp
4425 (uri (string-append "mirror://gnome/sources/" name "/"
4426 (version-major+minor version) "/"
4427 name "-" version ".tar.xz"))
4430 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4431 (build-system meson-build-system)
4435 (modify-phases %standard-phases
4436 (add-after 'unpack 'skip-gtk-update-icon-cache
4437 ;; Don't create 'icon-theme.cache'.
4439 (substitute* "meson_post_install.py"
4440 (("gtk-update-icon-cache") "true"))
4443 `(("intltool" ,intltool)
4444 ("itstool" ,itstool)
4445 ("gobject-introspection" ,gobject-introspection)
4446 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4447 ("pkg-config" ,pkg-config)))
4450 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4451 ("webkitgtk" ,webkitgtk)))
4452 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4453 (synopsis "API documentation browser for GNOME")
4455 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4456 natively with GTK-Doc (the API reference system developed for GTK+ and used
4457 throughout GNOME for API documentation).")
4458 (license license:gpl2+)))
4467 (uri (string-append "mirror://gnome/sources/cogl/"
4468 (version-major+minor version) "/"
4469 "cogl-" version ".tar.xz"))
4471 (base32 "0x8v4n61q89qy27v824bqswpz6bmn801403w2q3pa1lcwk9ln4vd"))))
4472 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4473 ;; cogl, corresponding changes may be appropriate in mutter as well.
4474 (build-system gnu-build-system)
4476 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4477 ("gobject-introspection" ,gobject-introspection)
4478 ("xorg-server" ,xorg-server-for-tests)
4479 ("pkg-config" ,pkg-config)))
4482 ("gdk-pixbuf" ,gdk-pixbuf)
4484 ("libxext" ,libxext)
4485 ("libxfixes" ,libxfixes)
4486 ("libxdamage" ,libxdamage)
4487 ("libxcomposite" ,libxcomposite)
4488 ("libxrandr" ,libxrandr)))
4493 ("gstreamer" ,gstreamer)
4494 ("gst-plugins-base" ,gst-plugins-base)
4495 ("wayland" ,wayland)))
4497 `(#:disallowed-references (,xorg-server-for-tests)
4498 #:configure-flags (list "--enable-cogl-gst"
4499 "--enable-wayland-egl-platform"
4500 "--enable-wayland-egl-server"
4502 ;; Arrange to pass an absolute file name to
4503 ;; dlopen for libGL.so.
4504 (string-append "--with-gl-libname="
4505 (assoc-ref %build-inputs "mesa")
4508 (modify-phases %standard-phases
4509 (add-before 'check 'start-xorg-server
4510 (lambda* (#:key tests? inputs #:allow-other-keys)
4513 ;; The test suite requires a running X server.
4514 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
4515 (assoc-ref inputs "xorg-server")))
4516 (setenv "DISPLAY" ":1")
4518 (format #t "test suite not run~%"))
4520 (home-page "https://www.cogl3d.org")
4521 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4523 "Cogl is a small library for using 3D graphics hardware to draw pretty
4524 pictures. The API departs from the flat state machine style of OpenGL and is
4525 designed to make it easy to write orthogonal components that can render
4526 without stepping on each others toes.")
4527 (license (list license:expat ; most of the code
4528 license:bsd-3 ; cogl/cogl-point-in-poly.c
4529 license:sgifreeb2.0 ; cogl-path/tesselator/
4530 license:asl2.0)))) ; examples/android/
4532 (define-public clutter
4539 (uri (string-append "mirror://gnome/sources/" name "/"
4540 (version-major+minor version) "/"
4541 name "-" version ".tar.xz"))
4544 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4545 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4546 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4547 (build-system gnu-build-system)
4549 "doc")) ;9 MiB of gtk-doc HTML pages
4551 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4552 ("gobject-introspection" ,gobject-introspection)
4553 ("pkg-config" ,pkg-config)
4554 ("xsltproc" ,libxslt)))
4560 ("json-glib" ,json-glib)
4562 ("libxcomposite" ,libxcomposite)
4563 ("libxdamage" ,libxdamage)
4564 ("libxext" ,libxext)
4565 ("xinput" ,xinput)))
4567 `(("libxkbcommon" ,libxkbcommon)
4570 `(#:configure-flags (list "--enable-x11-backend=yes"
4572 ;; This produces share/doc/{clutter,cally}.
4573 (string-append "--with-html-dir="
4574 (assoc-ref %outputs "doc")
4576 ;; XXX FIXME: Get test suite working. It would probably fail in the
4577 ;; same way the cogl tests fail, since clutter is based on cogl.
4579 (home-page "http://www.clutter-project.org")
4580 (synopsis "OpenGL-based interactive canvas library")
4582 "Clutter is an OpenGL-based interactive canvas library, designed for
4583 creating fast, mainly 2D single window applications such as media box UIs,
4584 presentations, kiosk style applications and so on.")
4585 (license license:lgpl2.0+)))
4587 (define-public clutter-gtk
4589 (name "clutter-gtk")
4594 (uri (string-append "mirror://gnome/sources/" name "/"
4595 (version-major+minor version) "/"
4596 name "-" version ".tar.xz"))
4599 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4600 (build-system gnu-build-system)
4602 `(("pkg-config" ,pkg-config)
4603 ("gobject-introspection" ,gobject-introspection)))
4605 ;; clutter-gtk.pc refers to all these.
4606 `(("clutter" ,clutter)
4608 (home-page "http://www.clutter-project.org")
4609 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4611 "Clutter is an OpenGL-based interactive canvas library, designed for
4612 creating fast, mainly 2D single window applications such as media box UIs,
4613 presentations, kiosk style applications and so on.")
4614 (license license:lgpl2.0+)))
4616 (define-public clutter-gst
4618 (name "clutter-gst")
4623 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4624 (version-major+minor version) "/"
4625 "clutter-gst-" version ".tar.xz"))
4627 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4628 (build-system gnu-build-system)
4630 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4631 ("pkg-config" ,pkg-config)
4632 ("gobject-introspection" ,gobject-introspection)))
4634 `(("clutter" ,clutter)
4635 ("gstreamer" ,gstreamer)
4636 ("gst-plugins-base" ,gst-plugins-base)))
4637 (home-page "http://www.clutter-project.org")
4638 (synopsis "Integration library for using GStreamer with Clutter")
4640 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4641 It provides a GStreamer sink to upload frames to GL and an actor that
4642 implements the ClutterGstPlayer interface using playbin. Clutter is an
4643 OpenGL-based interactive canvas library.")
4644 (license license:lgpl2.0+)))
4646 (define-public libchamplain
4648 (name "libchamplain")
4653 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4657 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4658 (build-system gnu-build-system)
4659 (arguments '(#:configure-flags '("--enable-vala")))
4661 `(("gobject-introspection" ,gobject-introspection)
4662 ("pkg-config" ,pkg-config)
4665 `(("libsoup" ,libsoup)
4667 ("clutter" ,clutter)
4668 ("clutter-gtk" ,clutter-gtk)
4669 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4673 (home-page "https://projects.gnome.org/libchamplain/")
4674 (synopsis "C library providing a ClutterActor to display maps")
4676 "libchamplain is a C library providing a ClutterActor to display maps.
4677 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4678 and Perl bindings are also available. It supports numerous free map sources
4679 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4680 (license license:lgpl2.1+)))
4689 (uri (string-append "mirror://gnome/sources/gom/"
4690 (version-major+minor version) "/"
4691 "gom-" version ".tar.xz"))
4694 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4695 (build-system gnu-build-system)
4697 `(("intltool" ,intltool)
4698 ("pkg-config" ,pkg-config)
4699 ("gobject-introspection" ,gobject-introspection)))
4702 ("gdk-pixbuf" ,gdk-pixbuf)
4703 ("sqlite" ,sqlite)))
4704 ;; XXX TODO: Figure out how to run the test suite.
4705 (arguments `(#:tests? #f))
4706 (home-page "https://wiki.gnome.org/Projects/Gom")
4707 (synopsis "Object mapper from GObjects to SQLite")
4709 "Gom provides an object mapper from GObjects to SQLite. It helps you
4710 write applications that need to store structured data as well as make complex
4711 queries upon that data.")
4712 (license license:lgpl2.1+)))
4714 (define-public libgnome-games-support
4716 (name "libgnome-games-support")
4720 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4721 (version-major+minor version) "/"
4722 "libgnome-games-support-" version ".tar.xz"))
4725 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4726 (build-system gnu-build-system)
4729 (modify-phases %standard-phases
4730 (add-before 'check 'pre-check
4732 ;; Tests require a writable HOME.
4733 (setenv "HOME" (getcwd))
4736 `(("intltool" ,intltool)
4737 ("pkg-config" ,pkg-config)
4740 ;; Required by libgnome-games-support-1.0.pc
4742 ("libgee" ,libgee)))
4743 (home-page "https://www.gnome.org/")
4744 (synopsis "Useful functionality shared among GNOME games")
4746 "libgnome-games-support is a small library intended for internal use by
4747 GNOME Games, but it may be used by others.")
4748 (license license:lgpl3+)))
4750 (define-public gnome-klotski
4752 (name "gnome-klotski")
4756 (uri (string-append "mirror://gnome/sources/" name "/"
4757 (version-major+minor version) "/"
4758 name "-" version ".tar.xz"))
4761 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
4762 (build-system meson-build-system)
4766 (modify-phases %standard-phases
4767 (add-after 'unpack 'skip-gtk-update-icon-cache
4768 ;; Don't create 'icon-theme.cache'.
4770 (substitute* "build-aux/meson_post_install.py"
4771 (("gtk-update-icon-cache") (which "true")))
4774 `(("desktop-file-utils" ,desktop-file-utils)
4775 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4776 ("intltool" ,intltool)
4777 ("itstool" ,itstool)
4778 ("pkg-config" ,pkg-config)
4780 ("xmllint" ,libxml2)))
4783 ("libgnome-games-support" ,libgnome-games-support)
4784 ("librsvg" ,librsvg)))
4785 (home-page "https://wiki.gnome.org/Apps/Klotski")
4786 (synopsis "Sliding block puzzles")
4788 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4789 the patterned block to the area bordered by green markers. To do so, you will
4790 need to slide other blocks out of the way. Complete each puzzle in as few moves
4792 (license license:gpl2+)))
4794 (define-public grilo
4801 (uri (string-append "mirror://gnome/sources/" name "/"
4802 (version-major+minor version) "/"
4803 name "-" version ".tar.xz"))
4806 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4807 (build-system meson-build-system)
4809 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4810 ("intltool" ,intltool)
4811 ("pkg-config" ,pkg-config)
4812 ("gobject-introspection" ,gobject-introspection)
4813 ("gtk-doc" ,gtk-doc)
4816 `(("cyrus-sasl" ,cyrus-sasl)
4819 ("libxml2" ,libxml2)
4820 ("liboauth" ,liboauth)
4821 ("libsoup" ,libsoup)
4822 ("totem-pl-parser" ,totem-pl-parser)))
4823 (native-search-paths
4824 (list (search-path-specification
4825 (variable "GRL_PLUGIN_PATH")
4826 (files (list (string-append "lib/grilo-"
4827 (version-major+minor version)))))))
4828 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4829 (synopsis "Framework for discovering and browsing media")
4831 "Grilo is a framework focused on making media discovery and browsing easy
4832 for application developers.")
4833 (license license:lgpl2.1+)))
4835 (define-public grilo-plugins
4837 (name "grilo-plugins")
4842 (uri (string-append "mirror://gnome/sources/" name "/"
4843 (version-major+minor version) "/"
4844 name "-" version ".tar.xz"))
4847 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4848 (build-system meson-build-system)
4850 `(("gettext" ,gettext-minimal)
4851 ("glib:bin" ,glib "bin")
4852 ("gtk+:bin" ,gtk+ "bin")
4853 ("itstool" ,itstool)
4854 ("pkg-config" ,pkg-config)))
4855 ;; TODO: ahavi, gstreamer
4858 ;("gmime" ,gmime) ; unused
4859 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4861 ;("gssdp" ,gssdp) ; unused
4862 ;("gupnp" ,gupnp) ; unused
4863 ;("gupnp-av" ,gupnp-av) ; unused
4864 ("json-glib" ,json-glib)
4866 ("libgdata" ,libgdata)
4867 ("libmediaart" ,libmediaart)
4868 ;("librest" ,rest) ; unused
4869 ("libsoup" ,libsoup)
4870 ("totam-pl-parser" ,totem-pl-parser)
4871 ("tracker" ,tracker))) ; unused because it's too old
4874 ;;Disable lua-factory as it needs missing dependencies
4875 #:configure-flags '("-Denable-lua-factory=no")))
4876 (home-page "https://live.gnome.org/Grilo")
4877 (synopsis "Plugins for the Grilo media discovery library")
4879 "Grilo is a framework focused on making media discovery and browsing easy
4880 for application developers. This package provides plugins for common media
4881 discovery protocols.")
4882 (license license:lgpl2.1+)))
4884 (define-public totem
4891 (uri (string-append "mirror://gnome/sources/" name "/"
4892 (version-major+minor version) "/"
4893 name "-" version ".tar.xz"))
4896 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
4897 (build-system meson-build-system)
4899 `(("pkg-config" ,pkg-config)
4900 ("desktop-file-utils" ,desktop-file-utils)
4901 ("gobject-introspection" ,gobject-introspection)
4902 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4903 ("intltool" ,intltool)
4904 ("itstool" ,itstool)
4905 ("xmllint" ,libxml2)
4906 ("python-pylint" ,python-pylint)
4907 ("xorg-server" ,xorg-server-for-tests)))
4909 `(("dconf" ,dconf)))
4912 ("gdk-pixbuf" ,gdk-pixbuf)
4915 ("dbus-glib" ,dbus-glib)
4916 ("clutter" ,clutter)
4917 ("clutter-gtk" ,clutter-gtk)
4918 ("clutter-gst" ,clutter-gst)
4919 ("xorgproto" ,xorgproto)
4920 ("libxxf86vm" ,libxxf86vm)
4921 ("libxtst" ,libxtst)
4922 ("libxrandr" ,libxrandr)
4923 ("libxml2" ,libxml2)
4924 ("libsoup" ,libsoup)
4925 ("libpeas" ,libpeas)
4926 ("librsvg" ,librsvg)
4928 ("gnome-desktop" ,gnome-desktop)
4929 ("gstreamer" ,gstreamer)
4930 ("gst-plugins-base" ,gst-plugins-base)
4931 ("gst-plugins-good" ,gst-plugins-good)
4932 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4933 ("adwaita-icon-theme" ,adwaita-icon-theme)
4935 ("python-pygobject" ,python-pygobject)
4936 ("totem-pl-parser" ,totem-pl-parser)
4938 ("grilo-plugins" ,grilo-plugins)
4943 ;; Disable automatic GStreamer plugin installation via PackageKit and
4945 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4947 ;; Do not build .a files for the plugins, it's
4948 ;; completely useless. This saves 2 MiB.
4949 "--default-library" "shared")
4951 (modify-phases %standard-phases
4952 (add-after 'unpack 'skip-gtk-update-icon-cache
4953 ;; Don't create 'icon-theme.cache'.
4955 (substitute* "meson_post_install.py"
4956 (("gtk-update-icon-cache") "true"))
4959 'install 'disable-cache-generation
4961 (setenv "DESTDIR" "/")
4966 ;; Tests require a running X server.
4967 (system "Xvfb :1 &")
4968 (setenv "DISPLAY" ":1")
4971 'install 'wrap-totem
4972 (lambda* (#:key inputs outputs #:allow-other-keys)
4973 (let ((out (assoc-ref outputs "out"))
4974 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4975 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4976 (wrap-program (string-append out "/bin/totem")
4977 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4978 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4979 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4980 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4982 (home-page "https://wiki.gnome.org/Apps/Videos")
4983 (synopsis "Simple media player for GNOME based on GStreamer")
4984 (description "Totem is a simple yet featureful media player for GNOME
4985 which can read a large number of file formats.")
4986 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4987 ;; to be used and distributed together with GStreamer and Totem. See
4988 ;; file://COPYING in the source distribution for details.
4989 (license license:gpl2+)))
4991 (define-public rhythmbox
4997 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4998 (version-major+minor version) "/"
4999 "rhythmbox-" version ".tar.xz"))
5002 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5003 (build-system glib-or-gtk-build-system)
5006 (list "--enable-lirc"
5013 (modify-phases %standard-phases
5015 'install 'wrap-rhythmbox
5016 (lambda* (#:key inputs outputs #:allow-other-keys)
5017 (let ((out (assoc-ref outputs "out"))
5018 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5019 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5020 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5021 (python-path (getenv "PYTHONPATH")))
5022 (wrap-program (string-append out "/bin/rhythmbox")
5023 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5024 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5025 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5026 `("PYTHONPATH" ":" prefix (,python-path))))
5029 `(("dconf" ,dconf)))
5031 `(("itstool" ,itstool)
5032 ("intltool" ,intltool)
5033 ("glib" ,glib "bin")
5034 ("gobject-introspection" ,gobject-introspection)
5035 ("desktop-file-utils" ,desktop-file-utils)
5036 ("pkg-config" ,pkg-config)
5037 ("xmllint" ,libxml2)))
5039 `(("json-glib" ,json-glib)
5041 ("gnome-desktop" ,gnome-desktop)
5043 ("python-pygobject" ,python2-pygobject)
5046 ("adwaita-icon-theme" ,adwaita-icon-theme)
5048 ("grilo-plugins" ,grilo-plugins)
5049 ("gstreamer" ,gstreamer)
5050 ("gst-plugins-base" ,gst-plugins-base)
5051 ("gst-plugins-good" ,gst-plugins-good)
5052 ("totem-pl-parser" ,totem-pl-parser)
5053 ("libgudev" ,libgudev)
5054 ;;("libmtp" ,libmtp) FIXME: Not detected
5055 ("libsecret" ,libsecret)
5056 ("libsoup" ,libsoup)
5057 ("libnotify" ,libnotify)
5058 ("libpeas" ,libpeas)
5060 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5061 ;;("clutter" ,clutter)
5062 ;;("clutter-gtk" ,clutter-gtk)
5063 ;;("clutter-gst" ,clutter-gst)
5064 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5071 ("brasero" ,brasero)))
5072 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5073 (synopsis "Music player for GNOME")
5074 (description "Rhythmbox is a music playing application for GNOME. It
5075 supports playlists, song ratings, and any codecs installed through gstreamer.")
5076 (license license:gpl2+)))
5084 (uri (string-append "mirror://gnome/sources/" name "/"
5085 (version-major+minor version) "/"
5086 name "-" version ".tar.xz"))
5089 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5090 (build-system meson-build-system)
5093 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5094 (list (string-append "-Dc_link_args=-Wl,-rpath="
5095 (assoc-ref %outputs "out") "/lib/eog"))
5097 (modify-phases %standard-phases
5098 (add-after 'unpack 'skip-gtk-update-icon-cache
5099 ;; Don't create 'icon-theme.cache'.
5101 (substitute* "meson_post_install.py"
5102 (("gtk-update-icon-cache") "true"))
5104 (add-after 'install 'wrap-eog
5105 (lambda* (#:key outputs #:allow-other-keys)
5106 (let ((out (assoc-ref outputs "out"))
5107 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5108 (wrap-program (string-append out "/bin/eog")
5109 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5112 `(("dconf" ,dconf)))
5114 `(("intltool" ,intltool)
5115 ("itstool" ,itstool)
5116 ("glib" ,glib "bin")
5117 ("gobject-introspection" ,gobject-introspection)
5118 ("pkg-config" ,pkg-config)
5119 ("xmllint" ,libxml2)))
5121 `(("gnome-desktop" ,gnome-desktop)
5122 ("shared-mime-info" ,shared-mime-info)
5123 ("adwaita-icon-theme" ,adwaita-icon-theme)
5126 ("libexif" ,libexif)
5127 ("libpeas" ,libpeas)
5128 ("libjpeg" ,libjpeg-turbo)
5129 ("librsvg" ,librsvg-next)
5130 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5132 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5133 (synopsis "GNOME image viewer")
5134 (description "Eye of GNOME is the GNOME image viewer. It
5135 supports image conversion, rotation, and slideshows.")
5136 (license license:gpl2+)))
5138 (define-public eog-plugins
5139 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5140 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5141 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5142 ;; 'XDG_DATA_DIRS' appropriately set.
5144 (name "eog-plugins")
5148 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5149 (version-major+minor version) "/"
5150 "eog-plugins-" version ".tar.xz"))
5153 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5154 (build-system gnu-build-system)
5155 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5156 (synopsis "Extensions for the Eye of GNOME image viewer")
5158 `(("pkg-config" ,pkg-config)
5159 ("gettext" ,gettext-minimal)))
5164 ("libpeas" ,libpeas)
5165 ("libexif" ,libexif)
5166 ("libchamplain" ,libchamplain)))
5168 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5172 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5173 @item @dfn{Map}, which displays a map of where the picture was taken on the
5175 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5178 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5179 ;; long suspicious byte stream that goes to a
5180 ;; ".gresource.eog_postasa_plugin" ELF section.
5181 (license license:gpl2+)))
5183 (define-public libgudev
5189 (uri (string-append "mirror://gnome/sources/" name "/"
5190 version "/" name "-" version ".tar.xz"))
5193 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5194 (build-system gnu-build-system)
5197 ;; umockdev depends on libgudev.
5198 (list "--disable-umockdev")))
5200 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5201 ("gobject-introspection" ,gobject-introspection)
5202 ("pkg-config" ,pkg-config)))
5204 `(("glib" ,glib))) ; required by gudev-1.0.pc
5207 (home-page "https://wiki.gnome.org/Projects/libgudev")
5208 (synopsis "GObject bindings for libudev")
5210 "This library provides GObject bindings for libudev. It was originally
5211 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5212 (license license:lgpl2.1+)))
5220 (uri (string-append "mirror://gnome/sources/gvfs/"
5221 (version-major+minor version) "/"
5222 "gvfs-" version ".tar.xz"))
5225 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5226 (build-system meson-build-system)
5230 (list "-Dsystemduserunitdir=no"
5232 ;; Otherwise, the RUNPATH will lack the final path component.
5233 (string-append "-Dc_link_args=-Wl,-rpath="
5234 (assoc-ref %outputs "out") "/lib/gvfs"))))
5236 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5237 ("gettext" ,gettext-minimal)
5238 ("gtk-doc" ,gtk-doc)
5239 ("pkg-config" ,pkg-config)
5240 ("xsltproc" ,libxslt)))
5243 ("docbook-xml" ,docbook-xml-4.2)
5244 ("docbook-xsl" ,docbook-xsl)
5246 ("elogind" ,elogind)
5250 ("gnome-online-accounts" ,gnome-online-accounts)
5251 ("libarchive" ,libarchive)
5252 ("libbluray" ,libbluray)
5254 ("libcdio-paranoia" ,libcdio-paranoia)
5255 ("libgcrypt" ,libgcrypt)
5256 ("libgdata" ,libgdata)
5257 ("libgphoto2" ,libgphoto2)
5258 ("libgudev" ,libgudev)
5259 ("libimobiledevice" ,libimobiledevice)
5262 ("libsecret" ,libsecret)
5263 ("libsmbclient" ,samba)
5264 ("libsoup" ,libsoup)
5265 ("libxml2" ,libxml2)
5266 ("openssh" ,openssh)
5268 ("udisks" ,udisks)))
5269 (home-page "https://wiki.gnome.org/gvfs/")
5270 (synopsis "Userspace virtual file system for GIO")
5272 "GVFS is a userspace virtual file system designed to work with the I/O
5273 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5274 to all applications using the GIO API. It also supports exposing the GVFS
5275 mounts to non-GIO applications using FUSE.
5277 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5279 (license license:lgpl2.0+)))
5288 (url "https://github.com/hughsie/libgusb.git")
5290 (file-name (git-file-name name version))
5293 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5294 (build-system meson-build-system)
5296 `(("gobject-introspection" ,gobject-introspection)
5297 ("pkg-config" ,pkg-config)
5299 ("gtk-doc" ,gtk-doc)))
5301 ;; Both of these are required by gusb.pc.
5303 ("libusb" ,libusb)))
5305 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5306 (home-page "https://github.com/hughsie/libgusb")
5307 (synopsis "GLib binding for libusb1")
5309 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5310 asynchronous control, bulk and interrupt transfers with proper cancellation
5311 and integration into a mainloop. This makes it easy to integrate low level
5312 USB transfers with your high-level application or system daemon.")
5313 (license license:lgpl2.1+)))
5315 (define-public simple-scan
5317 (name "simple-scan")
5318 (version "3.36.2.1")
5322 (uri (string-append "mirror://gnome/sources/simple-scan/"
5323 (version-major+minor version) "/"
5324 "simple-scan-" version ".tar.xz"))
5326 (base32 "0aq1pf0wk536b91as54684xgmhl7lps0k2xcwha5wh6h1isyb35v"))))
5327 (build-system meson-build-system)
5328 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5330 '(#:glib-or-gtk? #t))
5336 ("gdk-pixbuf" ,gdk-pixbuf)
5338 ("libsane" ,sane-backends)))
5340 `(("gettext" ,gettext-minimal)
5341 ("itstool" ,itstool)
5342 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5343 ("pkg-config" ,pkg-config)
5345 ("xmllint" ,libxml2)))
5346 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5347 (synopsis "Document and image scanner")
5349 "Document Scanner is an easy-to-use application that lets you connect your
5350 scanner and quickly capture images and documents in an appropriate format. It
5351 supports any scanner for which a suitable SANE driver is available, which is
5352 almost all of them.")
5353 (license license:gpl3+)))
5355 (define-public eolie
5358 (version "0.9.98.1")
5361 (uri (string-append "https://adishatz.org/eolie/eolie-"
5365 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5366 (build-system meson-build-system)
5370 (modify-phases %standard-phases
5371 (add-after 'unpack 'skip-gtk-update-icon-cache
5372 ;; Don't create 'icon-theme.cache'.
5374 (substitute* "meson_post_install.py"
5375 (("gtk-update-icon-cache") "true"))
5377 (add-after 'wrap 'wrap-more
5378 (lambda* (#:key inputs outputs #:allow-other-keys)
5379 (let* ((out (assoc-ref outputs "out"))
5380 ;; These libraries must be on LD_LIBRARY_PATH.
5381 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5382 "atk" "gtk+" "gsettings-desktop-schemas"
5383 "gobject-introspection"))
5386 (string-append (assoc-ref inputs lib) "/lib"))
5389 (wrap-program (string-append out "/bin/eolie")
5390 `("LD_LIBRARY_PATH" ":" prefix (,path))
5391 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5392 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5395 `(("intltool" ,intltool)
5396 ("itstool" ,itstool)
5397 ("pkg-config" ,pkg-config)
5399 ("glib:bin" ,glib "bin")))
5401 `(("gobject-introspection" ,gobject-introspection)
5402 ("glib-networking" ,glib-networking)
5405 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5406 ("python" ,python-wrapper)
5407 ("python-dateutil" ,python-dateutil)
5408 ("python-pyfxa" ,python-pyfxa)
5409 ("python-pygobject" ,python-pygobject)
5410 ("python-pycairo" ,python-pycairo)
5411 ("python-pycrypto" ,python-pycrypto)
5412 ("libsecret" ,libsecret)
5413 ("gtkspell3" ,gtkspell3)
5414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5415 ("webkitgtk" ,webkitgtk)))
5416 (home-page "https://wiki.gnome.org/Apps/Eolie")
5417 (synopsis "Web browser for GNOME")
5419 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5420 a secret password store, an adblocker, and a modern UI.")
5421 (license license:gpl3+)))
5423 (define-public epiphany
5429 (uri (string-append "mirror://gnome/sources/epiphany/"
5430 (version-major+minor version) "/"
5431 "epiphany-" version ".tar.xz"))
5434 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5436 (build-system meson-build-system)
5440 (modify-phases %standard-phases
5441 (add-after 'unpack 'skip-gtk-update-icon-cache
5442 ;; Don't create 'icon-theme.cache'.
5444 (substitute* "post_install.py"
5445 (("gtk-update-icon-cache") "true"))
5447 (add-after 'unpack 'disable-failing-tests
5449 (substitute* "tests/meson.build"
5450 ;; embed_shell fails, because webkitgtk apparently no longer supports
5451 ;; overriding the ftp schema
5452 ;; web_app_utils fails due to missing network access
5453 (("(embed_shell|web_app_utils)_test,")
5454 "find_program('sh'), args: ['-c', 'exit 77'],"))
5456 (add-before 'check 'pre-check
5458 ;; Tests require a running X server.
5459 (system "Xvfb :1 &")
5460 (setenv "DISPLAY" ":1")
5463 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5464 (list (string-append "-Dc_link_args=-Wl,-rpath="
5465 (assoc-ref %outputs "out") "/lib/epiphany"))))
5467 `(("dconf" ,dconf)))
5469 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5470 ("glib:bin" ,glib "bin") ; for glib-mkenums
5471 ("intltool" ,intltool)
5472 ("itstool" ,itstool)
5473 ("pkg-config" ,pkg-config)
5474 ("xmllint" ,libxml2)
5475 ("xorg-server" ,xorg-server-for-tests)))
5479 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5480 ("glib-networking" ,glib-networking)
5481 ("gnome-desktop" ,gnome-desktop)
5482 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5483 ("json-glib" ,json-glib)
5484 ("iso-codes" ,iso-codes)
5485 ("libdazzle" ,libdazzle)
5486 ("libnotify" ,libnotify)
5487 ("libsecret" ,libsecret)
5488 ("libxslt" ,libxslt)
5489 ("nettle" ,nettle) ; for hogweed
5491 ("webkitgtk" ,webkitgtk)))
5492 (home-page "https://wiki.gnome.org/Apps/Web")
5493 (synopsis "GNOME web browser")
5495 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5496 principles are simplicity and standards compliance.")
5497 (license license:gpl2+)))
5499 (define-public d-feet
5505 (uri (string-append "mirror://gnome/sources/" name "/"
5506 (version-major+minor version) "/"
5507 name "-" version ".tar.xz"))
5510 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5511 (build-system glib-or-gtk-build-system)
5513 '(#:out-of-source? #f ; tests need to run in the source directory.
5515 (modify-phases %standard-phases
5519 ;; The test suite requires a running X server.
5520 (system "Xvfb :1 &")
5521 (setenv "DISPLAY" ":1")
5522 ;; Don't fail on missing '/etc/machine-id'.
5523 (setenv "DBUS_FATAL_WARNINGS" "0")
5524 ;; tests.py and window.py don't meet E402:
5525 ;; E402 module level import not at top of file
5526 (substitute* "src/tests/Makefile"
5527 (("--ignore=E123") "--ignore=E123,E402"))
5530 'install 'wrap-program
5531 (lambda* (#:key outputs #:allow-other-keys)
5532 (let ((prog (string-append (assoc-ref outputs "out")
5535 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5536 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5539 `(("intltool" ,intltool)
5540 ("itstool" ,itstool)
5541 ("pkg-config" ,pkg-config)
5542 ("python-pep8" ,python-pep8)
5543 ("xmllint" ,libxml2)
5544 ("xorg-server" ,xorg-server-for-tests)))
5546 `(("gobject-introspection" ,gobject-introspection)
5548 ("python" ,python-wrapper)
5549 ("hicolor-icon-theme" ,hicolor-icon-theme)
5550 ("python-pygobject" ,python-pygobject)))
5551 (home-page "https://wiki.gnome.org/Apps/DFeet")
5552 (synopsis "D-Bus debugger")
5554 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5555 of running programs and invoke methods on those interfaces.")
5556 (license license:gpl2+)))
5558 (define-public yelp-xsl
5564 (uri (string-append "mirror://gnome/sources/" name "/"
5565 (version-major+minor version) "/"
5566 name "-" version ".tar.xz"))
5569 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5570 (build-system gnu-build-system)
5572 `(("gettext-minimal" ,gettext-minimal)
5573 ("itstool" ,itstool)
5574 ("xmllint" ,libxml2)))
5575 (home-page "https://wiki.gnome.org/Apps/Yelp")
5576 (synopsis "XSL stylesheets for Yelp")
5578 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5579 to format Docbook and Mallard documents.")
5580 (license license:gpl2+)))
5588 (uri (string-append "mirror://gnome/sources/" name "/"
5589 (version-major+minor version) "/"
5590 name "-" version ".tar.xz"))
5593 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5594 (build-system glib-or-gtk-build-system)
5596 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5597 ("intltool" ,intltool)
5598 ("itstool" ,itstool)
5599 ("pkg-config" ,pkg-config)))
5601 `(("dconf" ,dconf)))
5603 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5604 ("libxslt" ,libxslt)
5606 ("webkitgtk" ,webkitgtk)
5607 ("yelp-xsl" ,yelp-xsl)))
5608 (home-page "https://wiki.gnome.org/Apps/Yelp")
5609 (synopsis "GNOME help browser")
5611 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5612 man, info, and HTML documents. It can locate documents according to the
5613 freedesktop.org help system specification.")
5614 (license license:gpl2+)))
5616 (define-public yelp-tools
5622 (uri (string-append "mirror://gnome/sources/" name "/"
5623 (version-major+minor version) "/"
5624 name "-" version ".tar.xz"))
5627 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5628 (build-system gnu-build-system)
5630 `(("pkg-config" ,pkg-config)))
5632 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5633 `(("itstool" ,itstool)
5634 ("xmllint" ,libxml2)
5635 ("xsltproc" ,libxslt)))
5637 `(("yelp-xsl" ,yelp-xsl)))
5638 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5639 (synopsis "Yelp documentation tools")
5641 "Yelp-tools is a collection of scripts and build utilities to help create,
5642 manage, and publish documentation for Yelp and the web. Most of the heavy
5643 lifting is done by packages like yelp-xsl and itstool. This package just
5644 wraps things up in a developer-friendly way.")
5645 (license license:gpl2+)))
5647 (define-public libgee
5653 (uri (string-append "mirror://gnome/sources/libgee/"
5654 (version-major+minor version) "/"
5655 "libgee-" version ".tar.xz"))
5658 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5659 (build-system gnu-build-system)
5662 (modify-phases %standard-phases
5663 (add-after 'unpack 'fix-introspection-install-dir
5664 (lambda* (#:key outputs #:allow-other-keys)
5665 (let ((out (assoc-ref outputs "out")))
5666 (substitute* "gee/Makefile.in"
5667 (("@INTROSPECTION_GIRDIR@")
5668 (string-append out "/share/gir-1.0/"))
5669 (("@INTROSPECTION_TYPELIBDIR@")
5670 (string-append out "/lib/girepository-1.0/")))))))))
5672 `(("glib" ,glib "bin")
5673 ("pkg-config" ,pkg-config)))
5676 ("gobject-introspection" ,gobject-introspection)))
5677 (home-page "https://wiki.gnome.org/Projects/Libgee")
5678 (synopsis "GObject collection library")
5680 "Libgee is a utility library providing GObject-based interfaces and
5681 classes for commonly used data structures.")
5682 (license license:lgpl2.1+)))
5684 (define-public gexiv2
5690 (uri (string-append "mirror://gnome/sources/" name "/"
5691 (version-major+minor version) "/"
5692 name "-" version ".tar.xz"))
5695 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5696 (build-system meson-build-system)
5699 ("glib" ,glib "bin")
5700 ("pkg-config" ,pkg-config)
5703 ;; Listed in "Requires" section of gexiv2.pc
5704 `(("exiv2" ,exiv2)))
5707 ("gobject-introspection" ,gobject-introspection)))
5708 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5709 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5711 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5712 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5713 metadata in photo and video files of various formats.")
5714 (license license:gpl2+)))
5716 (define-public shotwell
5722 (uri (string-append "mirror://gnome/sources/shotwell/"
5723 (version-major+minor version) "/"
5724 "shotwell-" version ".tar.xz"))
5727 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
5728 (build-system meson-build-system)
5732 (modify-phases %standard-phases
5733 (add-after 'unpack 'skip-gtk-update-icon-cache
5735 (substitute* "build-aux/meson/postinstall.py"
5736 (("gtk-update-icon-cache") (which "true"))
5737 (("update-desktop-database") (which "true")))
5740 `(("dconf" ,dconf)))
5742 `(("gettext" ,gettext-minimal)
5743 ("glib:bin" ,glib "bin")
5744 ("itstool" ,itstool)
5745 ("pkg-config" ,pkg-config)
5750 ("gst-plugins-base" ,gst-plugins-base)
5751 ("gstreamer" ,gstreamer)
5752 ("json-glib" ,json-glib)
5753 ("libgdata" ,libgdata)
5755 ("libgphoto2" ,libgphoto2)
5756 ("libgudev" ,libgudev)
5758 ("libsoup" ,libsoup)
5759 ("libxml2" ,libxml2)
5761 ("webkitgtk" ,webkitgtk)))
5762 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5763 (synopsis "Photo manager for GNOME 3")
5765 "Shotwell is a digital photo manager designed for the GNOME desktop
5766 environment. It allows you to import photos from disk or camera, organize
5767 them by keywords and events, view them in full-window or fullscreen mode, and
5768 share them with others via social networking and more.")
5769 (license license:lgpl2.1+)))
5771 (define-public file-roller
5773 (name "file-roller")
5777 (uri (string-append "mirror://gnome/sources/file-roller/"
5778 (version-major+minor version) "/"
5779 "file-roller-" version ".tar.xz"))
5782 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5783 (build-system meson-build-system)
5785 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5786 ("intltool" ,intltool)
5787 ("itstool" ,itstool)
5788 ("pkg-config" ,pkg-config)
5789 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5790 ("glib:bin" ,glib "bin")))
5791 ;; TODO: Add libnautilus.
5794 ("gdk-pixbuf" ,gdk-pixbuf)
5795 ("json-glib" ,json-glib)
5796 ("libarchive" ,libarchive)
5797 ("libnotify" ,libnotify)
5799 ("libxml2" ,libxml2)))
5800 (synopsis "Graphical archive manager for GNOME")
5801 (description "File Roller is an archive manager for the GNOME desktop
5802 environment that allows users to view, unpack, and create compressed archives
5803 such as gzip tarballs.")
5804 (home-page "http://fileroller.sourceforge.net/")
5805 (license license:gpl2+)))
5807 (define-public gnome-session
5809 (name "gnome-session")
5813 (uri (string-append "mirror://gnome/sources/" name "/"
5814 (version-major+minor version) "/"
5815 name "-" version ".tar.xz"))
5818 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5822 (modify-phases %standard-phases
5823 (add-before 'configure 'pre-configure
5824 (lambda* (#:key outputs #:allow-other-keys)
5825 ;; Use elogind instead of systemd.
5826 (substitute* "meson.build"
5827 (("libsystemd-login") "libelogind")
5828 (("and libsystemd_daemon_dep.found.*") ","))
5829 (substitute* "gnome-session/gsm-systemd.c"
5830 (("#include <systemd/sd-login.h>")
5831 "#include <elogind/sd-login.h>"))
5832 ;; Remove uses of the systemd daemon.
5833 (substitute* "gnome-session/gsm-autostart-app.c"
5834 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5836 (add-after 'install 'wrap-gnome-session
5837 (lambda* (#:key inputs outputs #:allow-other-keys)
5838 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5839 (let ((glib (assoc-ref inputs "glib:bin"))
5840 (out (assoc-ref outputs "out")))
5841 (wrap-program (string-append out "/bin/gnome-session")
5842 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5846 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5847 "-Dman=false" ; FIXME: disabled because of docbook validation error
5848 "-Dsystemd_journal=false")))
5849 (build-system meson-build-system)
5851 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5852 ("pkg-config" ,pkg-config)
5853 ("intltool" ,intltool)
5854 ("xsltproc" ,libxslt)
5855 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5856 ("docbook-xsl" ,docbook-xsl)
5857 ("docbook-xml" ,docbook-xml)
5860 `(("elogind" ,elogind)
5861 ("gnome-desktop" ,gnome-desktop)
5862 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5864 ("json-glib" ,json-glib)
5866 ("libxcomposite" ,libxcomposite)
5867 ("libxtst" ,libxtst)
5870 ("xtrans" ,xtrans)))
5871 (synopsis "Session manager for GNOME")
5873 "This package contains the GNOME session manager, as well as a
5874 configuration program to choose applications starting on login.")
5875 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5876 (license license:gpl2+)))
5884 (uri (string-append "mirror://gnome/sources/" name "/"
5885 (version-major+minor version) "/"
5886 name "-" version ".tar.xz"))
5889 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
5890 (build-system gnu-build-system)
5893 (modify-phases %standard-phases
5897 ;; The test suite requires a running X server.
5898 (system "Xvfb :1 &")
5899 (setenv "DISPLAY" ":1")
5901 ;; For the missing /etc/machine-id.
5902 (setenv "DBUS_FATAL_WARNINGS" "0")
5904 ;; Our mozjs-38 package does not compile the required Intl API
5905 ;; support for these failing tests.
5906 (substitute* "installed-tests/js/testLocale.js"
5907 ((".*toBeDefined.*") "")
5908 ((".*expect\\(datestr\\).*") ""))
5909 (substitute* "installed-tests/scripts/testCommandLine.sh"
5914 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5915 ("pkg-config" ,pkg-config)
5916 ("xmllint" ,libxml2)
5918 ("dbus-launch" ,dbus)
5919 ("dconf" ,dconf) ; required to properly store settings
5920 ("uuidgen" ,util-linux)
5921 ("xvfb" ,xorg-server-for-tests)))
5923 ;; These are all in the Requires.private field of gjs-1.0.pc.
5925 ("gobject-introspection" ,gobject-introspection)
5926 ("mozjs" ,mozjs-60)))
5929 ("readline" ,readline)))
5930 (synopsis "Javascript bindings for GNOME")
5931 (home-page "https://live.gnome.org/Gjs")
5933 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5934 javascript engine and the GObject introspection framework.")
5935 (license license:gpl2+)))
5937 (define-public gedit
5943 (uri (string-append "mirror://gnome/sources/" name "/"
5944 (version-major+minor version) "/"
5945 name "-" version ".tar.xz"))
5948 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
5949 (build-system meson-build-system)
5953 ;; Otherwise, the RUNPATH will lack the final path component.
5954 (list (string-append "-Dc_link_args=-Wl,-rpath="
5955 (assoc-ref %outputs "out") "/lib/gedit"))
5957 ;; XXX: Generated .h files are sometimes used before being built.
5958 #:parallel-build? #f
5961 (modify-phases %standard-phases
5962 (add-after 'unpack 'skip-gtk-update-icon-cache
5963 ;; Don't create 'icon-theme.cache'.
5965 (substitute* "build-aux/meson/post_install.py"
5966 (("gtk-update-icon-cache") (which "true")))
5968 (add-after 'unpack 'patch-libgd-fetch
5969 (lambda* (#:key inputs #:allow-other-keys)
5970 (let ((libgd (assoc-ref inputs "libgd")))
5971 ;; Calling git is unnecessary because libgd is fetched as a
5972 ;; native input to this package.
5973 (substitute* "meson.build"
5975 (copy-recursively libgd "subprojects/libgd")
5977 (add-after 'install 'wrap-gedit
5978 (lambda* (#:key inputs outputs #:allow-other-keys)
5979 (let ((out (assoc-ref outputs "out"))
5980 (gtksourceview (assoc-ref inputs "gtksourceview"))
5981 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5982 (python-path (getenv "PYTHONPATH")))
5983 (wrap-program (string-append out "/bin/gedit")
5985 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5986 `("PYTHONPATH" ":" prefix (,python-path))
5987 ;; For language-specs.
5988 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5992 `(("dconf" ,dconf)))
5994 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5995 ("intltool" ,intltool)
5996 ("itstool" ,itstool)
5997 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5998 ("gobject-introspection" ,gobject-introspection)
6003 (url "https://gitlab.gnome.org/GNOME/libgd")
6004 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6005 (file-name (git-file-name "libgd" version))
6007 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6008 ("pkg-config" ,pkg-config)))
6013 ("gtksourceview" ,gtksourceview)
6014 ("libpeas" ,libpeas)
6015 ("libxml2" ,libxml2)
6016 ("iso-codes" ,iso-codes)
6017 ("python-pygobject" ,python-pygobject)
6019 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6022 ("adwaita-icon-theme" ,adwaita-icon-theme)
6023 ("libsoup" ,libsoup)
6024 ("gnome-desktop" ,gnome-desktop)))
6025 (home-page "https://wiki.gnome.org/Apps/Gedit")
6026 (synopsis "GNOME text editor")
6027 (description "While aiming at simplicity and ease of use, gedit is a
6028 powerful general purpose text editor.")
6029 (license license:gpl2+)))
6031 (define-public zenity
6037 (uri (string-append "mirror://gnome/sources/zenity/"
6038 (version-major+minor version) "/"
6039 "zenity-" version ".tar.xz"))
6042 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6043 (build-system gnu-build-system)
6045 `(("gettext" ,gettext-minimal)
6046 ("itstool" ,itstool)
6047 ("pkg-config" ,pkg-config)))
6049 `(("libnotify" ,libnotify)
6050 ("webkitgtk" ,webkitgtk)))
6051 (synopsis "Display graphical dialog boxes from shell scripts")
6052 (home-page "https://www.gnome.org")
6054 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6055 to display dialog boxes from the commandline and shell scripts.")
6056 (license license:lgpl2.0+)))
6058 (define-public mutter
6064 (uri (string-append "mirror://gnome/sources/" name "/"
6065 (version-major+minor version) "/"
6066 name "-" version ".tar.xz"))
6069 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6070 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6071 ;; versions of cogl and clutter. As a result, many of the inputs,
6072 ;; propagated-inputs, and configure flags used in cogl and clutter are
6073 ;; needed here as well.
6074 (build-system meson-build-system)
6076 '(;; XXX: All mutter tests fail with the following error:
6077 ;; Settings schema 'org.gnome.mutter' is not installed
6081 ;; TODO: Enable profiler when Sysprof is packaged.
6082 (list "-Dprofiler=false"
6083 ;; Otherwise, the RUNPATH will lack the final path component.
6084 (string-append "-Dc_link_args=-Wl,-rpath="
6085 (assoc-ref %outputs "out") "/lib:"
6086 (assoc-ref %outputs "out") "/lib/mutter-5")
6088 ;; The following flags are needed for the bundled clutter
6089 (string-append "-Dxwayland_path="
6090 (assoc-ref %build-inputs "xorg-server-xwayland")
6093 ;; the remaining flags are needed for the bundled cogl
6094 (string-append "-Dopengl_libname="
6095 (assoc-ref %build-inputs "mesa")
6098 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6099 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6100 ("gobject-introspection" ,gobject-introspection)
6101 ("intltool" ,intltool)
6102 ("pkg-config" ,pkg-config)
6103 ("xorg-server" ,xorg-server-for-tests)
6105 ("autoconf" ,autoconf)
6106 ("automake" ,automake)
6107 ("libtool" ,libtool)))
6109 `(;; libmutter.pc refers to these:
6110 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6112 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6115 ("gdk-pixbuf" ,gdk-pixbuf)
6117 ("json-glib" ,json-glib)
6118 ("libinput" ,libinput)
6120 ("libxcomposite" ,libxcomposite)
6121 ("libxdamage" ,libxdamage)
6122 ("libxext" ,libxext)
6123 ("libxfixes" ,libxfixes)
6124 ("libxkbcommon" ,libxkbcommon)
6125 ("libxrandr" ,libxrandr)
6129 ("xinput" ,xinput)))
6131 `(("elogind" ,elogind)
6132 ("gnome-desktop" ,gnome-desktop)
6133 ("gnome-settings-daemon" ,gnome-settings-daemon)
6134 ("libcanberra-gtk" ,libcanberra)
6135 ("libgudev" ,libgudev)
6138 ("libwacom" ,libwacom)
6139 ("libxkbfile" ,libxkbfile)
6140 ("libxrandr" ,libxrandr)
6141 ("libxtst" ,libxtst)
6142 ("pipewire" ,pipewire)
6143 ("startup-notification" ,startup-notification)
6144 ("upower-glib" ,upower)
6145 ("xkeyboard-config" ,xkeyboard-config)
6146 ("xorg-server-xwayland" ,xorg-server-xwayland)
6147 ("zenity" ,zenity)))
6148 (synopsis "Window and compositing manager")
6149 (home-page "https://www.gnome.org")
6151 "Mutter is a window and compositing manager that displays and manages your
6152 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6153 Clutter toolkit with solid window-management logic inherited from the Metacity
6155 (license license:gpl2+)))
6157 (define-public gnome-online-accounts
6159 (name "gnome-online-accounts")
6163 (uri (string-append "mirror://gnome/sources/" name "/"
6164 (version-major+minor version) "/"
6165 name "-" version ".tar.xz"))
6168 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6169 (outputs '("out" "lib"))
6170 (build-system glib-or-gtk-build-system)
6173 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6175 (modify-phases %standard-phases
6176 (add-before 'configure 'patch-libgoa-output
6177 (lambda* (#:key outputs #:allow-other-keys)
6178 (let ((lib (assoc-ref outputs "lib")))
6179 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6181 (("@exec_prefix@") lib)
6182 (("@libdir@") (string-append lib "/lib"))
6183 (("@includedir@") (string-append lib "/include"))
6184 (("@datadir@") (string-append lib "/share")))
6185 ;; Make sure gobject-introspection knows about the output
6186 ;; too (see <https://bugs.gnu.org/36535>).
6187 (setenv "outputs" "out lib")
6190 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6191 ("gobject-introspection" ,gobject-introspection)
6192 ("intltool" ,intltool)
6193 ("pkg-config" ,pkg-config)
6195 ("xsltproc" ,libxslt)))
6197 `(("glib" ,glib) ; required by goa-1.0.pc
6198 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6200 `(("docbook-xsl" ,docbook-xsl)
6201 ("json-glib" ,json-glib)
6202 ("libsecret" ,libsecret)
6204 ("webkitgtk" ,webkitgtk)))
6205 (synopsis "Single sign-on framework for GNOME")
6206 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6208 "GNOME Online Accounts provides interfaces so that applications and
6209 libraries in GNOME can access the user's online accounts. It has providers for
6210 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6211 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6212 (license license:lgpl2.0+)))
6214 (define-public evolution-data-server
6216 (name "evolution-data-server")
6220 (uri (string-append "mirror://gnome/sources/" name "/"
6221 (version-major+minor version) "/"
6222 name "-" version ".tar.xz"))
6223 (patches (search-patches "evolution-data-server-locales.patch"
6224 "evolution-data-server-libical-compat.patch"))
6227 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6228 (build-system cmake-build-system)
6231 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6232 (runpaths (map (lambda (s)
6233 (string-append lib "/evolution-data-server/" s))
6234 '("addressbook-backends" "calendar-backends"
6235 "camel-providers" "credential-modules"
6236 "registry-modules"))))
6237 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6238 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6239 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6240 "-DENABLE_VALA_BINDINGS=ON"
6241 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6242 (string-append lib "/evolution-data-server;")
6243 (string-join runpaths ";"))
6244 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6246 (modify-phases %standard-phases
6247 (add-after 'unpack 'disable-failing-tests
6249 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6250 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6251 (delete-file-recursively "tests/book-migration")
6252 (substitute* "tests/CMakeLists.txt"
6253 (("add_subdirectory\\(book-migration\\)") ""))
6255 (add-after 'unpack 'patch-paths
6257 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6258 "tests/libedata-book/data-test-utils.c"
6259 "tests/libedata-book/test-book-cache-utils.c"
6260 "tests/libedata-cal/test-cal-cache-utils.c")
6261 (("/bin/rm") (which "rm")))
6263 (add-before 'configure 'dont-override-rpath
6265 (substitute* "CMakeLists.txt"
6266 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6267 ;; Remove it so the configure flag is respected.
6268 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6271 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6272 ("gobject-introspection" ,gobject-introspection)
6274 ("intltool" ,intltool)
6275 ("pkg-config" ,pkg-config)
6277 ("python" ,python-wrapper)))
6279 ;; These are all in the Requires field of .pc files.
6281 ("libical" ,libical)
6282 ("libsecret" ,libsecret)
6283 ("libsoup" ,libsoup)
6285 ("sqlite" ,sqlite)))
6289 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6290 ("json-glib" ,json-glib)
6291 ("libcanberra" ,libcanberra)
6292 ("libgweather" ,libgweather)
6293 ("mit-krb5" ,mit-krb5)
6294 ("openldap" ,openldap)
6295 ("webkitgtk" ,webkitgtk)))
6296 (synopsis "Store address books and calendars")
6297 (home-page "https://wiki.gnome.org/Apps/Evolution")
6299 "This package provides a unified backend for programs that work with
6300 contacts, tasks, and calendar information. It was originally developed for
6301 Evolution (hence the name), but is now used by other packages as well.")
6302 (license license:lgpl2.0)))
6304 (define-public caribou
6310 (uri (string-append "mirror://gnome/sources/" name "/"
6311 (version-major+minor version) "/"
6312 name "-" version ".tar.xz"))
6315 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6316 (build-system glib-or-gtk-build-system)
6319 (modify-phases %standard-phases
6322 (lambda* (#:key outputs #:allow-other-keys)
6323 (let ((out (assoc-ref outputs "out")))
6324 ;; Use absolute shared library path in Caribou-1.0.typelib.
6325 (substitute* "libcaribou/Makefile"
6326 (("--shared-library=libcaribou.so")
6327 (string-append "--shared-library="
6328 out "/lib/libcaribou.so")))
6330 (add-after 'install 'wrap-programs
6331 (lambda* (#:key outputs #:allow-other-keys)
6332 (let* ((out (assoc-ref outputs "out"))
6333 (python-path (getenv "PYTHONPATH"))
6334 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6338 `("PYTHONPATH" ":" prefix (,python-path))
6339 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6340 (list (string-append out "/bin/caribou-preferences")
6341 (string-append out "/libexec/antler-keyboard"))))
6344 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6345 ("gobject-introspection" ,gobject-introspection)
6346 ("intltool" ,intltool)
6347 ("pkg-config" ,pkg-config)
6350 ("xsltproc" ,libxslt)))
6352 ;; caribou-1.0.pc refers to all these.
6353 `(("libgee" ,libgee)
6354 ("libxklavier" ,libxklavier)
6355 ("libxtst" ,libxtst)
6358 `(("clutter" ,clutter)
6361 ("python-pygobject" ,python-pygobject)))
6362 (synopsis "Text entry and UI navigation application")
6363 (home-page "https://wiki.gnome.org/Projects/Caribou")
6365 "Caribou is an input assistive technology intended for switch and pointer
6367 (license license:lgpl2.1)))
6369 (define-public network-manager
6371 (name "network-manager")
6375 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6376 (version-major+minor version) "/"
6377 "NetworkManager-" version ".tar.xz"))
6378 (patches (search-patches "network-manager-plugin-path.patch"))
6381 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
6382 (modules '((guix build utils)))
6385 (substitute* "src/devices/wwan/nm-modem-manager.c"
6386 (("systemd") "elogind"))
6388 (build-system meson-build-system)
6390 "doc")) ; 8 MiB of gtk-doc HTML
6393 (let ((out (assoc-ref %outputs "out"))
6394 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6397 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
6399 (string-append "-Dc_link_args=-Wl,-rpath="
6401 out "/lib/NetworkManager/" ,version)
6402 "-Dsystemd_journal=false"
6403 "-Dsession_tracking=elogind"
6404 "-Dsuspend_resume=elogind"
6405 "-Dsystemdsystemunitdir=no"
6406 "-Dsession_tracking_consolekit=false"
6415 "--localstatedir=/var"
6416 (string-append "-Dudev_dir="
6418 (string-append "-Ddbus_conf_dir="
6419 out "/etc/dbus-1/system.d")
6421 (string-append "-Ddhclient=" dhclient)))
6423 (modify-phases %standard-phases
6424 (add-before 'configure 'pre-configure
6426 ;; These tests try to test aspects of network-manager's
6427 ;; functionality within restricted containers, but they don't
6428 ;; cope with being already in the Guix build jail as that jail
6429 ;; lacks some features that they would like to proxy over (like
6431 (substitute* "src/platform/tests/meson.build"
6432 ((".*test-address-linux.*") "")
6433 ((".*test-cleanup-linux.*") "")
6434 ((".*test-link-linux.*") "")
6435 ((".*test-route-linux.*") ""))
6436 (substitute* "src/devices/tests/meson.build"
6437 ((".*test-acd.*") "")
6438 ((".*test-lldp.*") ""))
6440 (add-after 'unpack 'patch-docbook-xml
6441 (lambda* (#:key inputs #:allow-other-keys)
6442 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
6443 "/xml/dtd/docbook")))
6444 (substitute* (find-files "." ".*\\.(xsl|xml)")
6445 (("http://.*/docbookx\\.dtd")
6446 (string-append xmldoc "/docbookx.dtd")))
6448 (add-before 'check 'pre-check
6450 ;; For the missing /etc/machine-id.
6451 (setenv "DBUS_FATAL_WARNINGS" "0")
6453 (add-before 'install 'no-polkit-magic
6454 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
6456 (setenv "PKEXEC_UID" "something")
6458 (add-after 'install 'move-doc
6459 (lambda* (#:key outputs #:allow-other-keys)
6460 (let ((out (assoc-ref outputs "out"))
6461 (doc (assoc-ref outputs "doc")))
6462 (mkdir-p (string-append doc "/share"))
6463 (for-each (lambda (directory)
6464 (copy-recursively (string-append out directory)
6465 (string-append doc directory))
6466 (delete-file-recursively
6467 (string-append out directory)))
6468 '("/share/doc" "/share/gtk-doc"))
6473 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6474 ("gtk-doc" ,gtk-doc)
6475 ("gobject-introspection" ,gobject-introspection)
6476 ("docbook-xml" ,docbook-xml)
6477 ("docbook-xsl" ,docbook-xsl)
6478 ("intltool" ,intltool)
6479 ("libxslt" ,libxslt)
6480 ("libxml2" ,libxml2)
6481 ("pkg-config" ,pkg-config)
6484 ("python" ,python-wrapper)
6485 ("python-dbus" ,python-dbus)
6486 ("python-pygobject" ,python-pygobject)))
6489 ("cyrus-sasl" ,cyrus-sasl)
6490 ("dbus-glib" ,dbus-glib)
6491 ("dnsmasq" ,dnsmasq)
6494 ("iptables" ,iptables)
6495 ("isc-dhcp" ,isc-dhcp)
6496 ("iwd" ,iwd) ; wpa_supplicant alternative
6497 ("jansson" ,jansson)
6499 ("libgcrypt" ,libgcrypt)
6500 ("libgudev" ,libgudev)
6503 ("libsoup" ,libsoup)
6504 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
6505 ("modem-manager" ,modem-manager)
6506 ("newt" ,newt) ;for the 'nmtui' console interface
6507 ("openresolv" ,openresolv) ; alternative resolv.conf manager
6510 ("readline" ,readline)
6511 ("util-linux" ,util-linux)
6512 ("elogind" ,elogind)))
6513 (synopsis "Network connection manager")
6514 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6516 "NetworkManager is a system network service that manages your network
6517 devices and connections, attempting to keep active network connectivity when
6518 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6519 devices, and provides VPN integration with a variety of different VPN
6521 ;; “This NetworkManager project consists of the daemon, client tools, and
6522 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
6524 (license (list license:gpl2+
6526 (properties '((upstream-name . "NetworkManager")))))
6528 (define-public network-manager-openvpn
6530 (name "network-manager-openvpn")
6535 "mirror://gnome/sources/NetworkManager-openvpn/"
6536 (version-major+minor version)
6537 "/NetworkManager-openvpn-" version ".tar.xz"))
6540 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
6541 (build-system gnu-build-system)
6543 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6545 (modify-phases %standard-phases
6546 (add-after 'configure 'patch-path
6547 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6548 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6550 (modprobe (string-append (assoc-ref inputs "kmod")
6552 (pretty-ovpn (string-append "\"" ovpn "\"")))
6556 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6557 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6558 (("\"/sbin/openvpn\"") pretty-ovpn)
6559 (("/sbin/modprobe") modprobe)))
6560 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6563 `(("pkg-config" ,pkg-config)
6564 ("intltool" ,intltool)))
6568 ("openvpn" ,openvpn)
6569 ("network-manager" ,network-manager)
6571 ("libsecret" ,libsecret)))
6572 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6573 (synopsis "OpenVPN plug-in for NetworkManager")
6575 "This extension of NetworkManager allows it to take care of connections
6576 to virtual private networks (VPNs) via OpenVPN.")
6577 (license license:gpl2+)
6578 (properties `((upstream-name . "NetworkManager-openvpn")))))
6580 (define-public network-manager-vpnc
6582 (name "network-manager-vpnc")
6587 "mirror://gnome/sources/NetworkManager-vpnc/"
6588 (version-major+minor version)
6589 "/NetworkManager-vpnc-" version ".tar.xz"))
6592 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6593 (build-system gnu-build-system)
6595 `(#:configure-flags '("--enable-absolute-paths"
6596 "--localstatedir=/var"
6597 ;; libnm-glib has been removed from network-manager
6598 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
6599 "--with-libnm-glib=no")
6601 (modify-phases %standard-phases
6602 (add-after 'configure 'patch-path
6603 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6604 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6606 (modprobe (string-append (assoc-ref inputs "kmod")
6608 (pretty-ovpn (string-append "\"" vpnc "\"")))
6609 (substitute* "src/nm-vpnc-service.c"
6610 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6611 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6612 (("\"/sbin/vpnc\"") pretty-ovpn)
6613 (("/sbin/modprobe") modprobe)))
6616 `(("pkg-config" ,pkg-config)
6617 ("intltool" ,intltool)))
6622 ("network-manager" ,network-manager)
6624 ("libsecret" ,libsecret)))
6625 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6626 (synopsis "VPNC plug-in for NetworkManager")
6628 "Support for configuring virtual private networks based on VPNC.
6629 Compatible with Cisco VPN concentrators configured to use IPsec.")
6630 (license license:gpl2+)
6631 (properties `((upstream-name . "NetworkManager-vpnc")))))
6633 (define-public network-manager-openconnect
6635 (name "network-manager-openconnect")
6640 "mirror://gnome/sources/NetworkManager-openconnect/"
6641 (version-major+minor version)
6642 "/NetworkManager-openconnect-" version ".tar.xz"))
6645 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6646 (build-system gnu-build-system)
6648 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6650 (modify-phases %standard-phases
6651 (add-after 'configure 'patch-path
6652 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6653 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6654 "/sbin/openconnect"))
6655 (modprobe (string-append (assoc-ref inputs "kmod")
6657 (pretty-ovpn (string-append "\"" openconnect "\"")))
6658 (substitute* "src/nm-openconnect-service.c"
6659 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6660 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6661 (("/sbin/modprobe") modprobe)))
6664 `(("intltool" ,intltool)
6666 ("pkg-config" ,pkg-config)))
6671 ("libsecret" ,libsecret)
6672 ("libxml2" ,libxml2)
6674 ("network-manager" ,network-manager)
6675 ("openconnect" ,openconnect)))
6676 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6677 (synopsis "OpenConnect plug-in for NetworkManager")
6679 "This extension of NetworkManager allows it to take care of connections
6680 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6681 Cisco's AnyConnect SSL VPN.")
6682 (license license:gpl2+)
6683 (properties `((upstream-name . "NetworkManager-openconnect")
6685 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6686 ;; file refers to account "nm-openconnect". Specify it here
6687 ;; so that 'network-manager-service-type' creates it.
6688 (user-accounts . ("nm-openconnect"))))))
6690 (define-public mobile-broadband-provider-info
6692 (name "mobile-broadband-provider-info")
6693 (version "20190116")
6697 "mirror://gnome/sources/"
6698 "mobile-broadband-provider-info/" version "/"
6699 "mobile-broadband-provider-info-" version ".tar.xz"))
6702 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6703 (build-system gnu-build-system)
6705 `(#:tests? #f)) ; no tests
6706 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6707 (synopsis "Database of broadband connection configuration")
6708 (description "Database of broadband connection configuration.")
6709 (license license:public-domain)))
6711 (define-public network-manager-applet
6713 (name "network-manager-applet")
6717 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6718 (version-major+minor version) "/"
6719 "network-manager-applet-" version ".tar.xz"))
6722 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
6723 (build-system meson-build-system)
6725 '(#:glib-or-gtk? #t))
6727 `(("intltool" ,intltool)
6728 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6729 ("gobject-introspection" ,gobject-introspection)
6730 ("gtk-doc" ,gtk-doc)
6731 ("pkg-config" ,pkg-config)))
6733 ;; libnm-gtk.pc refers to all these.
6734 `(("dbus-glib" ,dbus-glib)
6736 ("network-manager" ,network-manager)))
6740 ("libgudev" ,libgudev)
6741 ("libnotify" ,libnotify)
6742 ("libsecret" ,libsecret)
6743 ("libselinux" ,libselinux)
6744 ("jansson" ,jansson) ; for team support
6745 ("modem-manager" ,modem-manager)))
6746 (synopsis "Applet for managing network connections")
6747 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6749 "This package contains a systray applet for NetworkManager. It displays
6750 the available networks and allows users to easily switch between them.")
6751 (license license:gpl2+)))
6753 (define-public libxml++
6759 (uri (string-append "mirror://gnome/sources/" name "/"
6760 (version-major+minor version) "/"
6761 name "-" version ".tar.xz"))
6764 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6765 (build-system gnu-build-system)
6766 ;; libxml++-3.0.pc refers to all these.
6768 `(("libxml2" ,libxml2)
6769 ("glibmm" ,glibmm)))
6772 ("pkg-config" ,pkg-config)))
6773 (home-page "http://libxmlplusplus.sourceforge.net/")
6774 (synopsis "C++ wrapper for XML parser library libxml2")
6776 "This package provides a C++ wrapper for the XML parser library
6778 (license license:lgpl2.1+)))
6780 (define-public libxml++-2
6787 (uri (string-append "mirror://gnome/sources/" name "/"
6788 (version-major+minor version) "/"
6789 name "-" version ".tar.xz"))
6792 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6800 (uri (string-append "mirror://gnome/sources/" name "/"
6801 (version-major+minor version) "/"
6802 name "-" version ".tar.xz"))
6805 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6806 (patches (search-patches "gdm-default-session.patch"))))
6807 (build-system glib-or-gtk-build-system)
6810 `("--without-plymouth"
6811 "--disable-systemd-journal"
6813 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6814 ;; instead of having to replace it (i.e., stopping the mingetty
6815 ;; service for TTY 1 before starting GDM).
6816 "--with-initial-vt=7"
6818 ;; Use '/etc/environment' for locale settings instead of the
6819 ;; systemd-specific '/etc/locale.conf'.
6820 "--with-lang-file=/etc/environment"
6822 ,(string-append "--with-udevdir="
6823 (assoc-ref %outputs "out") "/lib/udev")
6825 "--localstatedir=/var"
6826 ,(string-append "--with-default-path="
6827 (string-join '("/run/setuid-programs"
6828 "/run/current-system/profile/bin"
6829 "/run/current-system/profile/sbin")
6831 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6832 ;; XDG_DATA_DIRS so that it finds its schemas.
6833 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6835 (modify-phases %standard-phases
6837 'configure 'pre-configure
6838 (lambda* (#:key inputs outputs #:allow-other-keys)
6839 ;; We don't have <systemd/sd-daemon.h>.
6840 (substitute* '("common/gdm-log.c"
6841 "daemon/gdm-server.c"
6842 "daemon/gdm-session-worker.c"
6843 "daemon/gdm-session-worker-job.c")
6844 (("#include <systemd/sd-daemon\\.h>") ""))
6845 ;; Use elogind for sd-login.
6846 (substitute* '("common/gdm-common.c"
6847 "daemon/gdm-local-display-factory.c"
6848 "daemon/gdm-manager.c"
6849 "libgdm/gdm-user-switching.c")
6850 (("#include <systemd/sd-login\\.h>")
6851 "#include <elogind/sd-login.h>"))
6852 ;; Check for elogind.
6853 (substitute* '("configure")
6856 ;; Look for system-installed sessions in
6857 ;; /run/current-system/profile/share.
6858 (substitute* '("libgdm/gdm-sessions.c"
6859 "daemon/gdm-session.c"
6860 "daemon/gdm-display.c"
6861 "daemon/gdm-launch-environment.c")
6863 "\"/run/current-system/profile/share/x")
6864 (("DATADIR \"/wayland")
6865 "\"/run/current-system/profile/share/wayland")
6866 (("DATADIR \"/gnome")
6867 "\"/run/current-system/profile/share/gnome"))
6868 (let ((propagate '("GDM_CUSTOM_CONF"
6872 ;; XXX: Remove this once GNOME Shell is
6873 ;; a dependency of GDM.
6875 (substitute* "daemon/gdm-session.c"
6876 (("set_up_session_environment \\(self\\);")
6877 (apply string-append
6878 "set_up_session_environment (self);\n"
6881 "gdm_session_set_environment_variable "
6882 "(self, \"" name "\","
6883 "g_getenv (\"" name "\"));\n"))
6885 ;; Find the configuration file using an environment variable.
6886 (substitute* '("common/gdm-settings.c")
6887 (("GDM_CUSTOM_CONF")
6888 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6889 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6890 " : GDM_CUSTOM_CONF)")))
6891 ;; Use service-supplied path to X.
6892 (substitute* '("daemon/gdm-server.c")
6893 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6894 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6895 (substitute* '("daemon/gdm-wayland-session.c"
6896 "daemon/gdm-x-session.c")
6897 (("\"dbus-daemon\"")
6898 "g_getenv (\"GDM_DBUS_DAEMON\")")
6900 "g_getenv (\"GDM_X_SERVER\")")
6901 (("GDMCONFDIR \"/Xsession\"")
6902 "g_getenv (\"GDM_X_SESSION\")"))
6903 ;; Use an absolute path for GNOME Session.
6904 (substitute* "daemon/gdm-launch-environment.c"
6905 (("\"gnome-session\"")
6906 (string-append "\"" (assoc-ref inputs "gnome-session")
6907 "/bin/gnome-session\"")))
6908 ;; Do not automatically select the placeholder session.
6909 (substitute* "daemon/gdm-session.c"
6910 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6911 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6912 "(g_strcmp0(search_dirs[i], \""
6913 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6915 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6916 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6917 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6919 ;; GDM requires that there be at least one desktop entry
6920 ;; file. This phase installs a hidden one that simply
6921 ;; fails. This enables users to use GDM with a
6922 ;; '~/.xsession' script with no other desktop entry files.
6923 ;; See <https://bugs.gnu.org/35068>.
6924 (add-after 'install 'install-placeholder-desktop-entry
6925 (lambda* (#:key inputs outputs #:allow-other-keys)
6926 (let* ((out (assoc-ref outputs "out"))
6927 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6928 (fail (string-append sessions "/fail.desktop")))
6930 (with-output-to-file fail
6934 '("[Desktop Entry]\n"
6936 "Type=Application\n"
6938 "Comment=This session fails immediately.\n"
6942 ;; GDM needs GNOME Session to run these applications. We link
6943 ;; their autostart files in `share/gdm/greeter/autostart'
6944 ;; because GDM explicitly tells GNOME Session to look there.
6946 ;; XXX: GNOME Shell should be linked here too, but currently
6947 ;; GNOME Shell depends on GDM.
6948 (add-after 'install 'link-autostart-files
6949 (lambda* (#:key inputs outputs #:allow-other-keys)
6950 (let* ((out (assoc-ref outputs "out"))
6951 (autostart (string-append out "/share/gdm/"
6952 "greeter/autostart"))
6953 (settings (assoc-ref inputs "gnome-settings-daemon")))
6955 (with-directory-excursion autostart
6956 (for-each (lambda (desktop)
6957 (symlink desktop (basename desktop)))
6958 (find-files (string-append settings "/etc/xdg"))))
6962 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6963 ("gobject-introspection" ,gobject-introspection)
6964 ("intltool" ,intltool)
6965 ("itstool" ,itstool)
6966 ("pkg-config" ,pkg-config)
6967 ("xmllint" ,libxml2)))
6969 `(("accountsservice" ,accountsservice)
6970 ("check" ,check) ; for testing
6971 ("elogind" ,elogind)
6972 ("gnome-session" ,gnome-session)
6973 ("gnome-settings-daemon" ,gnome-settings-daemon)
6975 ("iso-codes" ,iso-codes)
6976 ("libcanberra" ,libcanberra)
6977 ("linux-pam" ,linux-pam)))
6978 (synopsis "Display manager for GNOME")
6979 (home-page "https://wiki.gnome.org/Projects/GDM/")
6981 "GNOME Display Manager is a system service that is responsible for
6982 providing graphical log-ins and managing local and remote displays.")
6983 (license license:gpl2+)))
6985 (define-public libgtop
6991 (uri (string-append "mirror://gnome/sources/libgtop/"
6992 (version-major+minor version) "/"
6993 "libgtop-" version ".tar.xz"))
6996 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6997 (build-system gnu-build-system)
6999 `(("gobject-introspection" ,gobject-introspection)
7000 ("intltool" ,intltool)
7002 ("pkg-config" ,pkg-config)))
7004 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7005 (synopsis "Portable system access library")
7006 (home-page "https://www.gnome.org/")
7008 "LibGTop is a library to get system specific data such as CPU and memory
7009 usage and information about running processes.")
7010 (license license:gpl2+)))
7012 (define-public gnome-bluetooth
7014 (name "gnome-bluetooth")
7018 (uri (string-append "mirror://gnome/sources/" name "/"
7019 (version-major+minor version) "/"
7020 name "-" version ".tar.xz"))
7023 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7024 (build-system meson-build-system)
7026 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7027 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7028 ("gobject-introspection" ,gobject-introspection)
7029 ("intltool" ,intltool)
7030 ("pkg-config" ,pkg-config)
7031 ("xmllint" ,libxml2)))
7033 ;; gnome-bluetooth-1.0.pc refers to all these.
7038 ("libcanberra" ,libcanberra)
7039 ("libnotify" ,libnotify)))
7040 (synopsis "GNOME Bluetooth subsystem")
7041 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7043 "This package contains tools for managing and manipulating Bluetooth
7044 devices using the GNOME desktop.")
7045 (license license:lgpl2.1+)))
7047 (define-public gnome-control-center
7049 (name "gnome-control-center")
7053 (uri (string-append "mirror://gnome/sources/" name "/"
7054 (version-major+minor version) "/"
7055 name "-" version ".tar.xz"))
7058 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7059 (build-system meson-build-system)
7063 (list "-Dcheese=false"
7064 (string-append "-Dgnome_session_libexecdir="
7065 (assoc-ref %build-inputs "gnome-session")
7068 (modify-phases %standard-phases
7069 (add-before 'configure 'patch-paths
7070 (lambda* (#:key inputs #:allow-other-keys)
7071 (let ((libc (assoc-ref inputs "libc"))
7072 (tzdata (assoc-ref inputs "tzdata"))
7073 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7074 (nm-applet (assoc-ref inputs "network-manager-applet"))
7075 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7076 (substitute* "panels/datetime/tz.h"
7077 (("/usr/share/zoneinfo/zone.tab")
7078 (string-append tzdata "/share/zoneinfo/zone.tab")))
7079 (substitute* "tests/datetime/test-endianess.c"
7080 (("/usr/share/locale")
7081 (string-append libc "/share/locale")))
7082 (substitute* "panels/region/cc-region-panel.c"
7083 (("\"gkbd-keyboard-display")
7084 (string-append "\"" libgnomekbd
7085 "/bin/gkbd-keyboard-display")))
7086 (substitute* '("panels/network/net-device-wifi.c"
7087 "panels/network/net-device.c"
7088 "panels/network/connection-editor/net-connection-editor.c")
7089 (("\"nm-connection-editor")
7090 (string-append "\"" nm-applet
7091 "/bin/nm-connection-editor")))
7092 (substitute* '("panels/user-accounts/run-passwd.c")
7093 (("/usr/bin/passwd")
7094 "/run/setuid-programs/passwd"))
7095 (substitute* "panels/info/cc-info-overview-panel.c"
7096 (("DATADIR \"/gnome/gnome-version.xml\"")
7097 (string-append "\"" gnome-desktop
7098 "/share/gnome/gnome-version.xml\"")))
7100 (add-after 'unpack 'skip-gtk-update-icon-cache
7101 ;; Don't create 'icon-theme.cache'.
7103 (substitute* "build-aux/meson/meson_post_install.py"
7104 (("gtk-update-icon-cache") (which "true")))
7107 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7108 ("intltool" ,intltool)
7109 ("pkg-config" ,pkg-config)
7110 ("xsltproc" ,libxslt)
7112 ("hicolor-icon-theme" ,hicolor-icon-theme)
7113 ("python-dbusmock" ,python-dbusmock)
7114 ("xorg-server" ,xorg-server-for-tests)))
7116 `(("accountsservice" ,accountsservice)
7117 ("clutter-gtk" ,clutter-gtk)
7118 ("colord-gtk" ,colord-gtk)
7121 ("docbook-xsl" ,docbook-xsl)
7122 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7123 ("gnome-bluetooth" ,gnome-bluetooth)
7124 ("gnome-desktop" ,gnome-desktop)
7125 ("gnome-online-accounts" ,gnome-online-accounts)
7126 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7127 ("gnome-session" ,gnome-session)
7128 ("gnome-settings-daemon" ,gnome-settings-daemon)
7132 ("libcanberra" ,libcanberra)
7133 ("libgnomekbd" ,libgnomekbd)
7134 ("libgudev" ,libgudev)
7135 ("libgtop" ,libgtop)
7137 ("libpwquality" ,libpwquality)
7138 ("libsecret" ,libsecret)
7139 ("libsoup" ,libsoup)
7140 ("libxml2" ,libxml2)
7141 ("libwacom" ,libwacom)
7143 ("mit-krb5" ,mit-krb5)
7144 ("modem-manager" ,modem-manager)
7145 ("network-manager-applet" ,network-manager-applet)
7147 ("pulseaudio" ,pulseaudio)
7148 ("smbclient" ,samba)
7151 ("upower" ,upower)))
7152 (synopsis "Utilities to configure the GNOME desktop")
7153 (home-page "https://www.gnome.org/")
7155 "This package contains configuration applets for the GNOME desktop,
7156 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7157 properties, sound setup, desktop theme and background, user interface
7158 properties, screen resolution, and other GNOME parameters.")
7159 (license license:gpl2+)))
7161 (define-public gnome-shell
7163 (name "gnome-shell")
7167 (uri (string-append "mirror://gnome/sources/" name "/"
7168 (version-major+minor version) "/"
7169 name "-" version ".tar.xz"))
7172 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7173 (patches (search-patches "gnome-shell-theme.patch"
7174 "gnome-shell-disable-test.patch"))
7175 (modules '((guix build utils)))
7178 ;; Copy images for use on the GDM log-in screen.
7179 (copy-file #$(file-append %artwork-repository
7180 "/slim/0.x/background.png")
7181 "data/theme/guix-background.png")
7182 (copy-file #$(file-append %artwork-repository
7183 "/logo/Guix-horizontal-white.svg")
7184 "data/theme/guix-logo.svg")
7186 (build-system meson-build-system)
7189 #:disallowed-references ((,glib "bin")
7193 (list "-Dsystemd=false"
7194 ;; Otherwise, the RUNPATH will lack the final path component.
7195 (string-append "-Dc_link_args=-Wl,-rpath="
7196 (assoc-ref %outputs "out")
7197 "/lib/gnome-shell"))
7199 #:modules ((guix build meson-build-system)
7204 (modify-phases %standard-phases
7205 (add-after 'unpack 'fix-keysdir
7206 (lambda* (#:key outputs #:allow-other-keys)
7207 (let* ((out (assoc-ref outputs "out"))
7208 (keysdir (string-append
7209 out "/share/gnome-control-center/keybindings")))
7210 (substitute* "meson.build"
7212 (string-append "keysdir = '" keysdir "'\n")))
7214 (add-before 'configure 'convert-logo-to-png
7215 (lambda* (#:key inputs #:allow-other-keys)
7216 ;; Convert the logo from SVG to PNG.
7217 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7218 "data/theme/guix-logo.svg")))
7219 (add-before 'configure 'record-absolute-file-names
7220 (lambda* (#:key inputs #:allow-other-keys)
7221 (substitute* "js/misc/ibusManager.js"
7223 (string-append "'" (assoc-ref inputs "ibus")
7224 "/bin/ibus-daemon'")))
7225 (substitute* "js/ui/status/keyboard.js"
7226 (("'gkbd-keyboard-display'")
7227 (string-append "'" (assoc-ref inputs "libgnomekbd")
7228 "/bin/gkbd-keyboard-display'")))
7230 (add-before 'check 'pre-check
7231 (lambda* (#:key inputs #:allow-other-keys)
7232 ;; Tests require a running X server.
7233 (system "Xvfb :1 &")
7234 (setenv "DISPLAY" ":1")
7236 (add-after 'install 'wrap-programs
7237 (lambda* (#:key inputs outputs #:allow-other-keys)
7238 (let ((out (assoc-ref outputs "out"))
7239 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7240 (python-path (getenv "PYTHONPATH")))
7241 (wrap-program (string-append out "/bin/gnome-shell")
7242 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7243 ;; FIXME: gnome-shell loads these libraries with unqualified
7244 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7245 ;; alternative might be to patch gnome-shell.
7246 `("LD_LIBRARY_PATH" ":" prefix
7248 (string-append (assoc-ref inputs pkg) "/lib"))
7250 "gnome-bluetooth" "librsvg" "libgweather"))))
7253 (wrap-program (string-append out "/bin/" prog)
7254 `("PYTHONPATH" ":" prefix (,python-path))
7255 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7256 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7258 (replace 'glib-or-gtk-wrap
7259 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7260 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7261 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7262 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7263 ;; phase. Fix that since we don't need these.
7264 (wrap #:inputs (fold alist-delete inputs
7265 '("inkscape" "intltool" "glib:bin"))
7266 #:outputs outputs)))))))
7268 `(("asciidoc" ,asciidoc)
7269 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7270 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7271 ("gobject-introspection" ,gobject-introspection)
7272 ("inkscape" ,inkscape)
7273 ("intltool" ,intltool)
7274 ("pkg-config" ,pkg-config)
7276 ("ruby-sass" ,ruby-sass)
7278 ("xsltproc" ,libxslt)
7280 ("xorg-server" ,xorg-server-for-tests)))
7282 `(("accountsservice" ,accountsservice)
7283 ("caribou" ,caribou)
7284 ("docbook-xsl" ,docbook-xsl)
7285 ("evolution-data-server" ,evolution-data-server)
7288 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7290 ("gnome-autoar" ,gnome-autoar)
7291 ("gnome-bluetooth" ,gnome-bluetooth)
7292 ("gnome-desktop" ,gnome-desktop)
7293 ("gnome-settings-daemon" ,gnome-settings-daemon)
7294 ("gst-plugins-base" ,gst-plugins-base)
7296 ("libcanberra" ,libcanberra)
7297 ("libcroco" ,libcroco)
7298 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7299 ("libgweather" ,libgweather)
7301 ("libsoup" ,libsoup)
7302 ("mesa-headers" ,mesa-headers)
7304 ("network-manager-applet" ,network-manager-applet)
7306 ("pulseaudio" ,pulseaudio)
7307 ("python-pygobject" ,python-pygobject)
7308 ("startup-notification" ,startup-notification)
7309 ("telepathy-logger" ,telepathy-logger)
7311 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7312 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7313 ("librsvg" ,librsvg)
7314 ("geoclue" ,geoclue)))
7315 (synopsis "Desktop shell for GNOME")
7316 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7318 "GNOME Shell provides core user interface functions for the GNOME desktop,
7319 like switching to windows and launching applications.")
7320 (license license:gpl2+)))
7322 (define-public gtk-vnc
7329 (uri (string-append "mirror://gnome/sources/" name "/"
7330 (version-major+minor version) "/"
7331 name "-" version ".tar.xz"))
7334 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7335 (build-system gnu-build-system)
7337 '(#:configure-flags '("--with-gtk=3.0")))
7339 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7341 `(("cyrus-sasl" ,cyrus-sasl)
7343 ("libgcrypt" ,libgcrypt)
7344 ("pulseaudio" ,pulseaudio)))
7346 `(("glib:bin" ,glib "bin")
7347 ("gobject-introspection" ,gobject-introspection)
7348 ("intltool" ,intltool)
7349 ("pkg-config" ,pkg-config)
7350 ("python-wrapper" ,python-wrapper)
7352 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7353 (synopsis "VNC viewer widget for GTK+")
7355 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7356 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7357 GTK-VNC implements client side RFB protocol and authentication extensions such
7358 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7359 (license license:lgpl2.1+)))
7361 (define-public gnome-autoar
7363 (name "gnome-autoar")
7367 (uri (string-append "mirror://gnome/sources/" name "/"
7368 (version-major+minor version) "/"
7369 name "-" version ".tar.xz"))
7372 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7373 (build-system glib-or-gtk-build-system)
7375 `(("gobject-introspection" ,gobject-introspection)
7376 ("pkg-config" ,pkg-config)))
7378 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7381 (synopsis "Archives integration support for GNOME")
7382 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7384 "GNOME Autoar is a library which makes creating and extracting archives
7385 easy, safe, and automatic.")
7386 (license license:lgpl2.1+)))
7388 (define-public tracker
7394 (uri (string-append "mirror://gnome/sources/tracker/"
7395 (version-major+minor version) "/"
7396 "tracker-" version ".tar.xz"))
7399 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7400 (build-system meson-build-system)
7404 ;; Otherwise, the RUNPATH will lack the final path component.
7405 (list (string-append "-Dc_link_args=-Wl,-rpath="
7406 (assoc-ref %outputs "out") "/lib:"
7407 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7409 (modify-phases %standard-phases
7410 (add-before 'check 'pre-check
7412 ;; Some tests expect to write to $HOME.
7413 (setenv "HOME" "/tmp")
7416 `(("glib:bin" ,glib "bin")
7417 ("gobject-introspection" ,gobject-introspection)
7418 ("python-pygobject" ,python-pygobject)
7419 ("intltool" ,intltool)
7420 ("pkg-config" ,pkg-config)
7425 ("libxml2" ,libxml2)
7426 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7427 ("json-glib" ,json-glib)
7428 ("libsoup" ,libsoup)))
7429 (synopsis "Metadata database, indexer and search tool")
7430 (home-page "https://wiki.gnome.org/Projects/Tracker")
7432 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7434 It is a middleware component aimed at desktop application developers who want
7435 their apps to browse and search user content. It's not designed to be used
7436 directly by desktop users, but it provides a commandline tool named
7437 @command{tracker} for the adventurous.
7439 Tracker allows your application to instantly perform full-text searches across
7440 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7441 example. This is achieved by indexing the user's home directory in the
7444 Tracker also allows your application to query and list content that the user
7445 has stored. For example, GNOME Music displays all the music files that are
7446 found by Tracker. This means that GNOME Music doesn't need to maintain a
7447 database of its own.
7449 If you need to go beyond simple searches, Tracker is also a linked data
7450 endpoint and it understands SPARQL. ")
7451 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7452 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7453 ;; libstemmer is bsd-3 and the rest is gpl2+.
7454 (license (list license:gpl2+
7456 license:lgpl2.1+))))
7458 (define-public tracker-miners
7460 (name "tracker-miners")
7464 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7465 (version-major+minor version)
7466 "/tracker-miners-" version ".tar.xz"))
7469 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7470 (build-system meson-build-system)
7474 (list "-Dminer_rss=false" ; libgrss is required.
7475 ;; Ensure the RUNPATH contains all installed library locations.
7476 (string-append "-Dc_link_args=-Wl,-rpath="
7477 (assoc-ref %outputs "out")
7478 "/lib/tracker-miners-2.0")
7479 ;; TODO: Enable functional tests. Currently, the following error
7481 ;; Exception: The functional tests require DConf to be the default
7482 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7483 "-Dfunctional_tests=false")))
7486 ("intltool" ,intltool)
7487 ("glib:bin" ,glib "bin")
7488 ("gobject-introspection" ,gobject-introspection)
7489 ("pkg-config" ,pkg-config)
7490 ("python-pygobject" ,python-pygobject)))
7492 `(("exempi" ,exempi)
7497 ("gstreamer" ,gstreamer)
7500 ("libexif" ,libexif)
7502 ("libgxps" ,libgxps)
7503 ("libiptcdata" ,libiptcdata)
7504 ("libjpeg" ,libjpeg-turbo)
7505 ("libosinfo" ,libosinfo)
7507 ("libseccomp" ,libseccomp)
7508 ("libtiff" ,libtiff)
7509 ("libvorbis" ,libvorbis)
7510 ("libxml2" ,libxml2)
7511 ("poppler" ,poppler)
7513 ("totem-pl-parser" ,totem-pl-parser)
7514 ("tracker" ,tracker)
7517 (synopsis "Metadata database, indexer and search tool")
7518 (home-page "https://wiki.gnome.org/Projects/Tracker")
7520 "Tracker is an advanced framework for first class objects with associated
7521 metadata and tags. It provides a one stop solution for all metadata, tags,
7522 shared object databases, search tools and indexing.")
7523 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7524 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7525 (license (list license:gpl2+
7527 license:lgpl2.0+))))
7529 (define-public nautilus
7535 (uri (string-append "mirror://gnome/sources/" name "/"
7536 (version-major+minor version) "/"
7537 name "-" version ".tar.xz"))
7540 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7541 (build-system meson-build-system)
7545 (modify-phases %standard-phases
7546 (add-after 'unpack 'skip-gtk-update-icon-cache
7547 ;; Don't create 'icon-theme.cache'.
7549 (substitute* "build-aux/meson/postinstall.py"
7550 (("gtk-update-icon-cache") "true"))
7552 ;; XXX: FAIL: check-nautilus
7553 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7556 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7557 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7558 ("gobject-introspection" ,gobject-introspection)
7559 ("intltool" ,intltool)
7560 ("pkg-config" ,pkg-config)))
7566 ("gnome-desktop" ,gnome-desktop)
7567 ("gnome-autoar" ,gnome-autoar)
7568 ("gst-plugins-base" ,gst-plugins-base)
7569 ("libseccomp" ,libseccomp)
7570 ("libselinux" ,libselinux)
7571 ("tracker" ,tracker)
7572 ("tracker-miners" ,tracker-miners)
7573 ;; XXX: gtk+ is required by libnautilus-extension.pc
7575 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7577 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7579 ("libexif" ,libexif)
7580 ("libxml2" ,libxml2)))
7581 (synopsis "File manager for GNOME")
7582 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7584 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7585 design and behaviour, giving the user a simple way to navigate and manage its
7587 (license license:gpl2+)))
7589 (define-public baobab
7596 "mirror://gnome/sources/" name "/"
7597 (version-major+minor version) "/"
7598 name "-" version ".tar.xz"))
7601 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7602 (build-system meson-build-system)
7604 '(#:glib-or-gtk? #t))
7606 `(("intltool" ,intltool)
7607 ("pkg-config" ,pkg-config)
7608 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7609 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7610 ("itstool" ,itstool)
7611 ("xmllint" ,libxml2)
7612 ("glib" ,glib "bin")
7616 (synopsis "Disk usage analyzer for GNOME")
7618 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7619 usage in the GNOME desktop environment. It can easily scan device volumes or
7620 a specific user-requested directory branch (local or remote). Once the scan
7621 is complete it provides a graphical representation of each selected folder.")
7622 (home-page "https://wiki.gnome.org/Apps/Baobab")
7623 (license license:gpl2+)))
7625 (define-public gnome-backgrounds
7627 (name "gnome-backgrounds")
7632 (uri (string-append "mirror://gnome/sources/" name "/"
7633 (version-major+minor version) "/"
7634 name "-" version ".tar.xz"))
7637 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7638 (build-system meson-build-system)
7640 `(("intltool" ,intltool)))
7641 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7642 (synopsis "Background images for the GNOME desktop")
7644 "GNOME backgrounds package contains a collection of graphics files which
7645 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7646 the package creates the proper framework and directory structure so that you
7647 can add your own files to the collection.")
7648 (license (list license:gpl2+
7651 license:cc-by-sa3.0))))
7653 (define-public gnome-screenshot
7655 (name "gnome-screenshot")
7660 (uri (string-append "mirror://gnome/sources/" name "/"
7661 (version-major+minor version) "/"
7662 name "-" version ".tar.xz"))
7665 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7666 (build-system meson-build-system)
7669 (modify-phases %standard-phases
7670 (add-after 'unpack 'skip-gtk-update-icon-cache
7671 ;; Don't create 'icon-theme.cache'.
7673 (substitute* "build-aux/postinstall.py"
7674 (("gtk-update-icon-cache") "true"))
7677 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7678 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7679 ("intltool" ,intltool)
7680 ("appstream-glib" ,appstream-glib)
7681 ("pkg-config" ,pkg-config)))
7684 ("libcanberra" ,libcanberra)
7686 ("libxext" ,libxext)))
7687 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7688 (synopsis "Take pictures of your screen")
7690 "GNOME Screenshot is a utility used for taking screenshots of the entire
7691 screen, a window or a user defined area of the screen, with optional
7692 beautifying border effects.")
7693 (license license:gpl2+)))
7695 (define-public dconf-editor
7697 (name "dconf-editor")
7702 (uri (string-append "mirror://gnome/sources/" name "/"
7703 (version-major+minor version) "/"
7704 name "-" version ".tar.xz"))
7707 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7708 (build-system meson-build-system)
7710 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7711 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7712 ("intltool" ,intltool)
7713 ("pkg-config" ,pkg-config)
7718 ("libxml2" ,libxml2)))
7719 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7720 (synopsis "Graphical editor for GNOME's dconf configuration system")
7722 "Dconf-editor is a graphical tool for browsing and editing the dconf
7723 configuration system for GNOME. It allows users to configure desktop
7724 software that do not provide their own configuration interface.")
7725 (license license:lgpl2.1+)))
7727 (define-public gnome-default-applications
7729 (name "gnome-default-applications")
7731 (build-system trivial-build-system)
7734 `(("nautilus" ,nautilus)
7735 ("evince" ,evince)))
7737 `(#:modules ((guix build utils))
7740 (use-modules (guix build utils))
7741 (let* ((out (assoc-ref %outputs "out"))
7742 (apps (string-append out "/share/applications")))
7744 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7746 (format port "[Default Applications]\n")
7747 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7748 (format port "application/pdf=evince.desktop\n")
7749 (format port "application/postscript=evince.desktop\n")))
7751 (synopsis "Default MIME type associations for the GNOME desktop")
7753 "Given many installed packages which might handle a given MIME type, a
7754 user running the GNOME desktop probably has some preferences: for example,
7755 that folders be opened by default by the Nautilus file manager, not the Baobab
7756 disk usage analyzer. This package establishes that set of default MIME type
7757 associations for GNOME.")
7758 (license license:gpl3+)
7761 (define-public libgovirt
7767 (uri (string-append "mirror://gnome/sources/" name "/"
7768 (version-major+minor version) "/"
7769 name "-" version ".tar.xz"))
7772 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7773 (build-system glib-or-gtk-build-system)
7775 `(("gettext" ,gettext-minimal)
7776 ("glib:bin" ,glib "bin")
7777 ("gobject-introspection" ,gobject-introspection)
7778 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7779 ("gtk+:bin" ,gtk+ "bin")
7780 ("pkg-config" ,pkg-config)))
7782 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7784 (synopsis "GoVirt Library")
7785 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7786 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7787 (license license:gpl2+)))
7789 (define-public gnome-weather
7791 (name "gnome-weather")
7795 (uri (string-append "mirror://gnome/sources/" name "/"
7796 (version-major+minor version) "/"
7797 name "-" version ".tar.xz"))
7800 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7801 (build-system meson-build-system)
7803 `(("gettext" ,gettext-minimal)
7804 ("glib:bin" ,glib "bin")
7805 ("gobject-introspection" ,gobject-introspection)
7806 ("gtk+:bin" ,gtk+ "bin")
7807 ("pkg-config" ,pkg-config)))
7809 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7810 ("appstream-glib" ,appstream-glib)
7811 ("geoclue" ,geoclue)
7812 ("gdk-pixbuf" ,gdk-pixbuf)
7814 ("gnome-desktop" ,gnome-desktop)
7815 ("libgweather" ,libgweather)))
7819 (modify-phases %standard-phases
7820 (add-after 'install 'fix-desktop-file
7821 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7822 ;; See https://issues.guix.gnu.org/issue/39324.
7823 (lambda* (#:key outputs #:allow-other-keys)
7824 (let* ((out (assoc-ref outputs "out"))
7825 (applications (string-append out "/share/applications")))
7826 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7827 (("Exec=.*") "Exec=gnome-weather\n"))
7829 (add-after 'install 'wrap
7830 (lambda* (#:key inputs outputs #:allow-other-keys)
7831 (let ((out (assoc-ref outputs "out"))
7832 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7833 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
7834 (wrap-program (string-append out "/bin/gnome-weather")
7835 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
7837 (synopsis "Weather monitoring for GNOME desktop")
7838 (description "GNOME Weather is a small application that allows you to
7839 monitor the current weather conditions for your city, or anywhere in the
7841 (home-page "https://wiki.gnome.org/Apps/Weather")
7842 (license license:gpl2+)))
7844 (define-public gnome
7847 (version (package-version gnome-shell))
7849 (build-system trivial-build-system)
7850 (arguments '(#:builder (begin (mkdir %output) #t)))
7852 ;; TODO: Add or remove packages according to:
7853 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7855 ;; GNOME-Core-OS-Services
7856 ("accountsservice" ,accountsservice)
7857 ("network-manager" ,network-manager)
7858 ("packagekit" ,packagekit)
7861 ("adwaita-icon-theme" ,adwaita-icon-theme)
7863 ("glib-networking" ,glib-networking)
7864 ("gnome-backgrounds" ,gnome-backgrounds)
7865 ("gnome-bluetooth" ,gnome-bluetooth)
7866 ("gnome-color-manager" ,gnome-color-manager)
7867 ("gnome-control-center" ,gnome-control-center)
7868 ("gnome-desktop" ,gnome-desktop)
7869 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7870 ("gnome-initial-setup" ,gnome-initial-setup)
7871 ("gnome-keyring" ,gnome-keyring)
7872 ("gnome-menus" ,gnome-menus)
7873 ("gnome-session" ,gnome-session)
7874 ("gnome-settings-daemon" ,gnome-settings-daemon)
7875 ("gnome-shell-extensions" ,gnome-shell-extensions)
7876 ("gnome-shell" ,gnome-shell)
7877 ("gnome-themes-extra" ,gnome-themes-extra)
7878 ("gnome-user-docs" ,gnome-user-docs)
7879 ("gnome-user-share" ,gnome-user-share)
7880 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7886 ;; GNOME-Core-Utilities
7889 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
7890 ;; only works on x86_64, so exclude it on other architectures.
7891 ,@(if (string-prefix? "x86_64" (%current-system))
7894 ("epiphany" ,epiphany)
7896 ("file-roller" ,file-roller)
7898 ; TODO: ("gnome-boxes" ,gnome-boxes)
7899 ("gnome-calculator" ,gnome-calculator)
7900 ("gnome-calendar" ,gnome-calendar)
7901 ("gnome-characters" ,gnome-characters)
7902 ("gnome-clocks" ,gnome-clocks)
7903 ("gnome-contacts" ,gnome-contacts)
7904 ("gnome-disk-utility" ,gnome-disk-utility)
7905 ("gnome-font-viewer" ,gnome-font-viewer)
7906 ("gnome-maps" ,gnome-maps)
7907 ; TODO: ("gnome-music" ,gnome-music)
7908 ; TODO: ("gnome-photos" ,gnome-photos)
7909 ("gnome-screenshot" ,gnome-screenshot)
7910 ("gnome-system-monitor" ,gnome-system-monitor)
7911 ("gnome-terminal" ,gnome-terminal)
7912 ("gnome-weather" ,gnome-weather)
7913 ("nautilus" ,nautilus)
7914 ("simple-scan" ,simple-scan)
7918 ("hicolor-icon-theme" ,hicolor-icon-theme)
7919 ("gnome-online-accounts" ,gnome-online-accounts)
7921 ;; Packages not part of GNOME proper but that are needed for a good
7922 ;; experience. See <https://bugs.gnu.org/39646>.
7923 ;; XXX: Find out exactly which ones are needed and why.
7924 ("font-cantarell" ,font-cantarell)
7925 ("font-dejavu" ,font-dejavu)
7926 ("at-spi2-core" ,at-spi2-core)
7929 ("desktop-file-utils" ,desktop-file-utils)
7930 ("gnome-default-applications" ,gnome-default-applications)
7931 ("gnome-themes-standard" ,gnome-themes-standard)
7932 ("gst-plugins-base" ,gst-plugins-base)
7933 ("gst-plugins-good" ,gst-plugins-good)
7934 ("gucharmap" ,gucharmap)
7935 ("pinentry-gnome3" ,pinentry-gnome3)
7936 ("pulseaudio" ,pulseaudio)
7937 ("shared-mime-info" ,shared-mime-info)
7938 ("system-config-printer" ,system-config-printer)
7939 ("xdg-user-dirs" ,xdg-user-dirs)
7941 ("zenity" ,zenity)))
7942 (synopsis "The GNU desktop environment")
7943 (home-page "https://www.gnome.org/")
7945 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7946 applications for browsing the web, editing text and images, creating
7947 documents and diagrams, playing media, scanning, and much more.")
7948 (license license:gpl2+)))
7950 (define-public byzanz
7951 ;; The last stable release of Byzanz was in 2011, but there have been many
7952 ;; useful commits made to the Byzanz repository since then that it would be
7953 ;; silly to use such an old release.
7954 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7957 (version (string-append "0.2-1." (string-take commit 7)))
7961 (url "https://git.gnome.org/browse/byzanz")
7963 (file-name (string-append name "-" version "-checkout"))
7966 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7967 (build-system glib-or-gtk-build-system)
7970 (modify-phases %standard-phases
7971 (add-before 'bootstrap 'build-without-Werror
7973 ;; The build system cleverly detects that we're not building from
7974 ;; a release tarball and turns on -Werror for GCC.
7975 ;; Unsurprisingly, there is a warning during compilation that
7976 ;; causes the build to fail unnecessarily, so we remove the flag.
7977 (substitute* '("configure.ac")
7981 `(("autoconf" ,autoconf)
7982 ("automake" ,automake)
7983 ("gnome-common" ,gnome-common)
7984 ("intltool" ,intltool)
7985 ("libtool" ,libtool)
7986 ("pkg-config" ,pkg-config)
7990 ("gstreamer" ,gstreamer)
7991 ("gst-plugins-base" ,gst-plugins-base)
7993 (synopsis "Desktop recording program")
7994 (description "Byzanz is a simple desktop recording program with a
7995 command-line interface. It can record part or all of an X display for a
7996 specified duration and save it as a GIF encoded animated image file.")
7997 (home-page "https://git.gnome.org/browse/byzanz")
7998 (license license:gpl2+))))
8000 (define-public gsound
8006 (uri (string-append "mirror://gnome/sources/" name "/"
8007 (version-major+minor version) "/"
8008 name "-" version ".tar.xz"))
8011 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8012 (build-system glib-or-gtk-build-system)
8014 `(("pkg-config" ,pkg-config)
8015 ("gobject-introspection" ,gobject-introspection)
8019 ("libcanberra" ,libcanberra)))
8020 (home-page "https://wiki.gnome.org/Projects/GSound")
8021 (synopsis "GObject wrapper for libcanberra")
8023 "GSound is a small library for playing system sounds. It's designed to be
8024 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8026 (license license:lgpl2.1+)))
8028 (define-public libzapojit
8034 (uri (string-append "mirror://gnome/sources/" name "/"
8035 (version-major+minor version) "/"
8036 name "-" version ".tar.xz"))
8039 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8040 (build-system gnu-build-system)
8042 `(("gobject-introspection" ,gobject-introspection)
8043 ("intltool" ,intltool)
8044 ("pkg-config" ,pkg-config)))
8046 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8047 ("json-glib" ,json-glib)
8049 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8050 (synopsis "Library for accessing SkyDrive and Hotmail")
8052 "Libzapojit is a GLib-based library for accessing online service APIs of
8053 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8054 (license license:lgpl2.1+)))
8056 (define-public gnome-clocks
8058 (name "gnome-clocks")
8062 (uri (string-append "mirror://gnome/sources/" name "/"
8063 (version-major+minor version) "/"
8064 name "-" version ".tar.xz"))
8067 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8068 (build-system meson-build-system)
8072 (modify-phases %standard-phases
8073 (add-after 'unpack 'skip-gtk-update-icon-cache
8074 ;; Don't create 'icon-theme.cache'.
8076 (substitute* "build-aux/post-install.py"
8077 (("gtk-update-icon-cache") "true"))
8081 ("pkg-config" ,pkg-config)
8082 ("glib" ,glib "bin") ; for glib-compile-resources
8083 ("desktop-file-utils" ,desktop-file-utils)
8084 ("gettext" ,gettext-minimal)
8085 ("itstool" ,itstool)))
8090 ("geoclue" ,geoclue)
8091 ("geocode-glib" ,geocode-glib)
8092 ("libgweather" ,libgweather)
8093 ("gnome-desktop" ,gnome-desktop)))
8094 (home-page "https://wiki.gnome.org/Apps/Clocks")
8095 (synopsis "GNOME's clock application")
8097 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8098 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8099 (license license:gpl3+)))
8101 (define-public gnome-calendar
8103 (name "gnome-calendar")
8107 (uri (string-append "mirror://gnome/sources/" name "/"
8108 (version-major+minor version) "/"
8109 name "-" version ".tar.xz"))
8112 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8113 (build-system meson-build-system)
8116 ;; gnome-calendar has to be installed before the tests can be run
8117 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8120 (modify-phases %standard-phases
8121 (add-after 'unpack 'skip-gtk-update-icon-cache
8122 ;; Don't create 'icon-theme.cache'.
8124 (substitute* "build-aux/meson/meson_post_install.py"
8125 (("gtk-update-icon-cache") "true"))
8128 `(("gettext" ,gettext-minimal)
8129 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8130 ("pkg-config" ,pkg-config)))
8132 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8133 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8134 ("libdazzle" ,libdazzle)
8135 ("libedataserverui" ,evolution-data-server)
8136 ("libgweather" ,libgweather)
8137 ("geoclue" ,geoclue)))
8139 `(("evolution-data-server" ,evolution-data-server)))
8140 (home-page "https://wiki.gnome.org/Apps/Calendar")
8141 (synopsis "GNOME's calendar application")
8143 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8144 desktop. It supports multiple calendars, month, week and year view.")
8145 (license license:gpl3+)))
8147 (define-public gnome-todo
8153 (uri (string-append "mirror://gnome/sources/" name "/"
8154 (version-major+minor version) "/"
8155 name "-" version ".tar.xz"))
8158 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8160 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8161 (build-system meson-build-system)
8164 #:phases (modify-phases %standard-phases
8166 'install 'wrap-gnome-todo
8167 (lambda* (#:key inputs outputs #:allow-other-keys)
8168 (let ((out (assoc-ref outputs "out"))
8169 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8170 (python-path (getenv "PYTHONPATH")))
8171 (wrap-program (string-append out "/bin/gnome-todo")
8172 ;; XXX: gi plugins are broken.
8173 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8175 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8176 `("PYTHONPATH" ":" prefix (,python-path))))
8179 `(("gettext" ,gettext-minimal)
8180 ("gobject-introspection" ,gobject-introspection)
8181 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8182 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8183 ("pkg-config" ,pkg-config)))
8185 `(("rest" ,rest) ; For Todoist plugin
8186 ("json-glib" ,json-glib) ; For Todoist plugin
8187 ("libedataserverui" ,evolution-data-server)
8188 ("libical" ,libical)
8189 ("libpeas" ,libpeas)
8190 ("python-pygobject" ,python-pygobject)
8191 ("evolution-data-server" ,evolution-data-server)
8192 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8193 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8194 (home-page "https://wiki.gnome.org/Apps/Todo")
8195 (synopsis "GNOME's ToDo Application")
8197 "GNOME To Do is a simplistic personal task manager designed to perfectly
8198 fit the GNOME desktop.")
8199 (license license:gpl3+)))
8201 (define-public gnome-dictionary
8203 (name "gnome-dictionary")
8207 (uri (string-append "mirror://gnome/sources/" name "/"
8208 (version-major+minor version) "/"
8209 name "-" version ".tar.xz"))
8212 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8213 (build-system meson-build-system)
8214 (arguments '(#:glib-or-gtk? #t
8215 #:phases (modify-phases %standard-phases
8216 (add-after 'unpack 'patch-install-script
8218 ;; This script attempts to compile glib schemas
8219 ;; and create an empty MIME database. We do
8220 ;; that elsewhere, so prevent it from running.
8221 (substitute* "build-aux/post-install.sh"
8222 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8225 `(("glib:bin" ,glib "bin")
8226 ("gobject-introspection" ,gobject-introspection)
8227 ("intltool" ,intltool)
8228 ("itstool" ,itstool)
8229 ("pkg-config" ,pkg-config)
8230 ("xmllint" ,libxml2)))
8232 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8234 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8235 (synopsis "Look up words in dictionary sources")
8237 "GNOME Dictionary can look for the definition or translation of a word in
8238 existing databases over the internet.")
8239 (license license:gpl3+)))
8241 (define-public gnome-tweaks
8243 (name "gnome-tweaks")
8247 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8248 (version-major+minor version) "/"
8249 "gnome-tweaks-" version ".tar.xz"))
8251 (list (search-patch "gnome-tweaks-search-paths.patch")))
8254 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8255 (build-system meson-build-system)
8258 #:configure-flags '("-Dlocalstatedir=/tmp"
8259 "-Dsysconfdir=/tmp")
8260 #:imported-modules ((guix build python-build-system)
8261 ,@%meson-build-system-modules)
8263 (modify-phases %standard-phases
8264 (add-after 'unpack 'skip-gtk-update-icon-cache
8265 ;; Don't create 'icon-theme.cache'.
8267 (substitute* "meson-postinstall.py"
8268 (("gtk-update-icon-cache") "true"))
8270 (add-after 'install 'wrap
8271 (@@ (guix build python-build-system) wrap))
8272 (add-after 'wrap 'wrap-gi-typelib
8273 (lambda* (#:key inputs outputs #:allow-other-keys)
8274 (let ((out (assoc-ref outputs "out"))
8275 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8276 (wrap-program (string-append out "/bin/gnome-tweaks")
8277 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8280 `(("intltool" ,intltool)
8281 ("pkg-config" ,pkg-config)))
8283 `(("gnome-desktop" ,gnome-desktop)
8285 ("gobject-introspection" ,gobject-introspection)
8286 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8287 ("libhandy" ,libhandy)
8288 ("libnotify" ,libnotify)
8289 ("libsoup" ,libsoup)
8290 ("nautilus" ,nautilus)
8292 ("python-pygobject" ,python-pygobject)))
8293 (synopsis "Customize advanced GNOME 3 options")
8294 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8296 "GNOME Tweaks allows adjusting advanced configuration settings in
8297 GNOME 3. This includes things like the fonts used in user interface elements,
8298 alternative user interface themes, changes in window management behavior,
8299 GNOME Shell appearance and extension, etc.")
8300 (license license:gpl3+)))
8302 (define-public gnome-shell-extensions
8304 (name "gnome-shell-extensions")
8308 (uri (string-append "mirror://gnome/sources/" name "/"
8309 (version-major+minor version) "/"
8310 name "-" version ".tar.xz"))
8313 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8314 (build-system meson-build-system)
8316 '(#:configure-flags '("-Dextension_set=all")))
8318 `(("glib:bin" ,glib "bin")
8319 ("intltool" ,intltool)
8320 ("pkg-config" ,pkg-config)))
8323 (synopsis "Extensions for GNOME Shell")
8324 (description "GNOME Shell extensions modify and extend GNOME Shell
8325 functionality and behavior.")
8326 (home-page "https://extensions.gnome.org/")
8327 (license license:gpl3+)))
8329 (define-public arc-theme
8332 (version "20190917")
8336 (url "https://github.com/NicoHood/arc-theme.git")
8338 (file-name (git-file-name name version))
8341 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8342 (build-system gnu-build-system)
8345 (modify-phases %standard-phases
8346 ;; autogen.sh calls configure at the end of the script.
8348 (lambda _ (invoke "autoreconf" "-vfi")))
8349 (add-before 'build 'set-home ;placate Inkscape
8351 (setenv "HOME" (getcwd))
8354 `(("autoconf" ,autoconf)
8355 ("automake" ,automake)
8356 ("glib" ,glib "bin") ; for glib-compile-resources
8357 ("gnome-shell" ,gnome-shell)
8359 ("inkscape" ,inkscape)
8360 ("optipng" ,optipng)
8361 ("pkg-config" ,pkg-config)
8362 ("sassc" ,sassc/libsass-3.5)))
8363 (synopsis "A flat GTK+ theme with transparent elements")
8364 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8365 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8366 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8367 (home-page "https://github.com/horst3180/arc-theme")
8368 ;; No "or later" language found.
8369 (license license:gpl3+)))
8371 (define-public faba-icon-theme
8373 (name "faba-icon-theme")
8379 (url "https://github.com/snwh/faba-icon-theme.git")
8380 (commit (string-append "v" version))))
8381 (file-name (git-file-name name version))
8383 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8384 (build-system meson-build-system)
8387 (modify-phases %standard-phases
8388 (add-before 'configure 'disable-post-install
8390 (substitute* "meson.build"
8391 (("meson.add_install_script.*") "")))))))
8393 `(("autoconf" ,autoconf)
8394 ("automake" ,automake)))
8395 (synopsis "Faba icon theme")
8397 "Faba is a minimal icon set used as a basis for other themes such as
8399 (home-page "https://snwh.org/moka")
8400 (license (list license:lgpl3+
8401 license:cc-by-sa4.0))))
8403 (define-public moka-icon-theme
8405 (inherit faba-icon-theme)
8406 (name "moka-icon-theme")
8412 (url "https://github.com/snwh/moka-icon-theme.git")
8413 (commit (string-append "v" version))))
8414 (file-name (git-file-name name version))
8416 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8418 ;; Moka is based on Faba by using it as a fallback icon set instead of
8419 ;; bundling it, so we need to add it as a propagated input.
8420 `(("faba-icon-theme" ,faba-icon-theme)))
8421 (synopsis "Moka icon theme")
8422 (description "Moka is a stylized desktop icon set, designed to be clear,
8423 simple and consistent.")
8424 (license (list license:gpl3+
8425 license:cc-by-sa4.0))))
8427 (define-public arc-icon-theme
8429 (name "arc-icon-theme")
8430 (version "20161122")
8435 (url "https://github.com/horst3180/arc-icon-theme.git")
8437 (file-name (git-file-name name version))
8439 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8440 (build-system gnu-build-system)
8443 (modify-phases %standard-phases
8444 (add-after 'unpack 'disable-configure-during-bootstrap
8446 (substitute* "autogen.sh"
8447 (("^\"\\$srcdir/configure\".*") ""))
8450 `(("autoconf" ,autoconf)
8451 ("automake" ,automake)))
8452 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8454 `(("moka-icon-theme" ,moka-icon-theme)))
8455 (synopsis "Arc icon theme")
8456 (description "The Arc icon theme provides a set of icons matching the
8457 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8458 the Moka icon theme.")
8459 (home-page "https://github.com/horst3180/arc-icon-theme")
8460 (license license:gpl3+)))
8462 (define-public folks
8469 "mirror://gnome/sources/folks/"
8470 (version-major+minor version) "/"
8471 "folks-" version ".tar.xz"))
8474 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8475 (build-system meson-build-system)
8478 (modify-phases %standard-phases
8479 (add-after 'unpack 'skip-gtk-update-icon-cache
8480 ;; Don't create 'icon-theme.cache'.
8482 (substitute* "meson_post_install.py"
8483 (("gtk-update-icon-cache") "true"))
8487 ("dbus-glib" ,dbus-glib)
8488 ("evolution-data-server" ,evolution-data-server)
8491 ("readline" ,readline)
8492 ("telepathy-glib" ,telepathy-glib)))
8494 `(("glib:bin" ,glib "bin")
8495 ("gobject-introspection" ,gobject-introspection)
8496 ("intltool" ,intltool)
8497 ("pkg-config" ,pkg-config)
8499 (synopsis "Library to aggregate data about people")
8500 (description "Libfolks is a library that aggregates information about people
8501 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8502 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8503 etc.) to create metacontacts. It's written in Vala, which generates C code when
8505 (home-page "https://wiki.gnome.org/Projects/Folks")
8506 (license license:lgpl2.1+)))
8508 (define-public gfbgraph
8515 "mirror://gnome/sources/gfbgraph/"
8516 (version-major+minor version) "/"
8517 "gfbgraph-" version ".tar.xz"))
8520 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8521 (build-system glib-or-gtk-build-system)
8523 `(#:tests? #f ; Tests appear to require the network.
8524 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8525 #:configure-flags '("--disable-gtk-doc"
8527 "--enable-introspection")))
8529 `(("pkg-config" ,pkg-config)
8530 ("gobject-introspection" ,gobject-introspection)))
8532 `(("json-glib" ,json-glib)
8533 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8535 (synopsis "GLib/GObject wrapper for the Facebook API")
8536 (description "This library allows you to use the Facebook API from
8537 GLib/GObject code.")
8538 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8539 (license license:lgpl2.1+)))
8541 (define-public libgnomekbd
8543 (name "libgnomekbd")
8547 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8548 (version-major+minor version) "/"
8549 "libgnomekbd-" version ".tar.xz"))
8552 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8553 (build-system gnu-build-system)
8555 `(("pkg-config" ,pkg-config)
8556 ("glib" ,glib "bin")
8557 ("intltool" ,intltool)))
8559 ;; Referred to in .h files and .pc.
8562 ("libxklavier" ,libxklavier)))
8563 (home-page "https://www.gnome.org")
8564 (synopsis "GNOME keyboard configuration library")
8566 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8567 environment, which can notably display keyboard layouts.")
8568 (license license:lgpl2.0+)))
8570 ;;; This package is no longer maintained:
8571 ;;; https://wiki.gnome.org/Attic/LibUnique
8572 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8573 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8574 (define-public libunique
8580 (uri (string-append "mirror://gnome/sources/" name "/"
8581 (version-major+minor version) "/"
8582 name "-" version ".tar.xz"))
8585 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8586 (build-system glib-or-gtk-build-system)
8588 `(#:configure-flags '("--disable-static"
8589 "--disable-dbus" ; use gdbus
8590 "--enable-introspection")))
8592 `(("pkg-config" ,pkg-config)
8593 ("gobject-introspection" ,gobject-introspection)
8594 ("glib:bin" ,glib "bin")
8595 ("gtk-doc" ,gtk-doc)))
8597 ;; Referred to in .h files and .pc.
8599 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8600 (synopsis "Library for writing single instance applications")
8602 "Libunique is a library for writing single instance applications. If you
8603 launch a single instance application twice, the second instance will either just
8604 quit or will send a message to the running instance. Libunique makes it easy to
8605 write this kind of application, by providing a base class, taking care of all
8606 the IPC machinery needed to send messages to a running instance, and also
8607 handling the startup notification side.")
8608 (license license:lgpl2.1+)))
8610 (define-public gnome-calculator
8612 (name "gnome-calculator")
8617 (uri (string-append "mirror://gnome/sources/" name "/"
8618 (version-major+minor version) "/"
8619 name "-" version ".tar.xz"))
8622 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8623 (build-system meson-build-system)
8624 (arguments '(#:glib-or-gtk? #t))
8626 `(("gettext" ,gettext-minimal)
8627 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8628 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8629 ("itstool" ,itstool)
8631 ("pkg-config" ,pkg-config)))
8634 ("gtksourceview" ,gtksourceview)
8636 ("libsoup" ,libsoup)
8637 ("libxml2" ,libxml2)
8640 (home-page "https://wiki.gnome.org/Apps/Calculator")
8641 (synopsis "Desktop calculator")
8643 "Calculator is an application that solves mathematical equations and
8644 is suitable as a default application in a Desktop environment.")
8645 (license license:gpl3)))
8654 (uri (string-append "https://launchpad.net/xpad/trunk/"
8655 version "/+download/"
8656 name "-" version ".tar.bz2"))
8659 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8660 (build-system gnu-build-system)
8662 `(("autoconf" ,autoconf)
8663 ("automake" ,automake)
8664 ("gtk+:bin" ,gtk+ "bin")
8665 ("intltool" ,intltool)
8666 ("pkg-config" ,pkg-config)))
8668 `(("gtksourceview" ,gtksourceview-3)
8670 (home-page "https://wiki.gnome.org/Apps/Xpad")
8671 (synopsis "Virtual sticky note")
8673 "Xpad is a sticky note that strives to be simple, fault tolerant,
8674 and customizable. Xpad consists of independent pad windows, each is
8675 basically a text box in which notes can be written.")
8676 (license license:gpl3+)))
8678 (define-public gucharmap
8679 (let ((unicode-files
8681 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8683 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8685 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8687 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8689 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8691 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8698 (uri (string-append "mirror://gnome/sources/" name "/"
8699 (version-major+minor version) "/"
8700 name "-" version ".tar.xz"))
8703 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8704 (build-system glib-or-gtk-build-system)
8706 `(#:modules ((ice-9 match)
8707 (guix build glib-or-gtk-build-system)
8710 (list "--with-unicode-data=../unicode-data")
8712 (modify-phases %standard-phases
8713 (add-after 'unpack 'prepare-unicode-data
8714 (lambda* (#:key inputs #:allow-other-keys)
8715 (mkdir-p "../unicode-data")
8716 (with-directory-excursion "../unicode-data"
8717 (for-each (match-lambda
8719 (install-file (assoc-ref inputs file) ".")))
8723 `(("desktop-file-utils" ,desktop-file-utils)
8724 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8725 ("gobject-introspection" ,gobject-introspection)
8726 ("intltool" ,intltool)
8727 ("itstool" ,itstool)
8728 ("pkg-config" ,pkg-config)
8729 ,@(map (match-lambda
8735 "http://www.unicode.org/Public/12.0.0/ucd/"
8737 (sha256 (base32 hash))))))
8742 ("xmllint" ,libxml2)))
8743 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8744 (synopsis "Unicode character picker and font browser")
8746 "This program allows you to browse through all the available Unicode
8747 characters and categories for the installed fonts, and to examine their
8748 detailed properties. It is an easy way to find the character you might
8749 only know by its Unicode name or code point.")
8750 (license license:gpl3+))))
8752 (define-public bluefish
8759 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8760 "bluefish-" version ".tar.gz"))
8762 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8763 (build-system gnu-build-system)
8765 `(("desktop-file-utils" ,desktop-file-utils)
8766 ("intltool" ,intltool)
8767 ("pkg-config" ,pkg-config)))
8769 `(("enchant" ,enchant)
8771 ("python" ,python-wrapper)
8772 ("xmllint" ,libxml2)
8773 ("gucharmap" ,gucharmap)))
8774 (home-page "http://bluefish.openoffice.nl")
8775 (synopsis "Web development studio")
8777 "Bluefish is an editor targeted towards programmers and web developers,
8778 with many options to write web sites, scripts and other code.
8779 Bluefish supports many programming and markup languages.")
8780 (license license:gpl3+)))
8782 (define-public gnome-system-monitor
8784 (name "gnome-system-monitor")
8789 (uri (string-append "mirror://gnome/sources/" name "/"
8790 (version-major+minor version) "/"
8791 name "-" version ".tar.xz"))
8794 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8795 (build-system meson-build-system)
8798 #:configure-flags '("-Dsystemd=false")))
8800 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8801 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8802 ("intltool" ,intltool)
8803 ("itstool" ,itstool)
8804 ("libgtop" ,libgtop)
8806 ("pkg-config" ,pkg-config)))
8808 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8811 ("librsvg" ,librsvg)
8812 ("libxml2" ,libxml2)
8813 ("libwnck" ,libwnck)))
8814 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8815 (synopsis "Process viewer and system resource monitor for GNOME")
8817 "GNOME System Monitor is a GNOME process viewer and system monitor with
8818 an attractive, easy-to-use interface. It has features, such as a tree view
8819 for process dependencies, icons for processes, the ability to hide processes,
8820 graphical time histories of CPU/memory/swap usage and the ability to
8821 kill/reinice processes.")
8822 (license license:gpl2+)))
8824 (define-public python-pyatspi
8826 (name "python-pyatspi")
8831 "mirror://gnome/sources/pyatspi/"
8832 (version-major+minor version)
8833 "/pyatspi-" version ".tar.xz"))
8836 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8837 (build-system gnu-build-system)
8840 (modify-phases %standard-phases
8841 (add-before 'build 'fix-atk-load
8843 (substitute* "pyatspi/__init__.py"
8844 (("from gi.repository import Atspi")
8845 "gi.require_version('Gtk', '3.0')
8846 from gi.repository import Gtk
8847 from gi.repository import Atspi"))
8850 `(("pkg-config" ,pkg-config)))
8852 `(("python" ,python)
8853 ("python-pygobject" ,python-pygobject)))
8854 (synopsis "Python client bindings for D-Bus AT-SPI")
8855 (home-page "https://wiki.linuxfoundation.org/accessibility\
8856 /atk/at-spi/at-spi_on_d-bus")
8858 "This package includes a python client library for the AT-SPI D-Bus
8859 accessibility infrastructure.")
8860 (license license:lgpl2.0)
8861 (properties '((upstream-name . "pyatspi")))))
8863 (define-public python2-pyatspi
8865 (inherit python-pyatspi)
8866 (name "python2-pyatspi")
8868 `(("python" ,python-2)
8869 ("python-pygobject" ,python2-pygobject)))))
8878 "mirror://gnome/sources/" name "/"
8879 (version-major+minor version) "/"
8880 name "-" version ".tar.xz"))
8883 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
8884 (build-system glib-or-gtk-build-system)
8887 (modify-phases %standard-phases
8888 (add-before 'configure 'qualify-xkbcomp
8889 (lambda* (#:key inputs #:allow-other-keys)
8890 (let ((xkbcomp (string-append
8891 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8892 (substitute* "src/orca/orca.py"
8893 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8895 (add-after 'install 'wrap-orca
8896 (lambda* (#:key outputs #:allow-other-keys)
8897 (let* ((out (assoc-ref outputs "out"))
8898 (prog (string-append out "/bin/orca")))
8900 `("GI_TYPELIB_PATH" ":" prefix
8901 (,(getenv "GI_TYPELIB_PATH")))
8902 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8903 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8904 `("PYTHONPATH" ":" prefix
8905 (,(getenv "PYTHONPATH")))))
8908 `(("intltool" ,intltool)
8909 ("itstool" ,itstool)
8910 ("pkg-config" ,pkg-config)
8911 ("xmllint" ,libxml2)))
8913 `(("at-spi2-atk" ,at-spi2-atk)
8914 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8915 ("gstreamer" ,gstreamer)
8916 ("gst-plugins-base" ,gst-plugins-base)
8917 ("gst-plugins-good" ,gst-plugins-good)
8920 ("python-pygobject" ,python-pygobject)
8921 ("python-pyatspi" ,python-pyatspi)
8922 ("python-speechd" ,speech-dispatcher)
8923 ("xkbcomp" ,xkbcomp)))
8925 "Screen reader for individuals who are blind or visually impaired")
8926 (home-page "https://wiki.gnome.org/Projects/Orca")
8928 "Orca is a screen reader that provides access to the graphical desktop
8929 via speech and refreshable braille. Orca works with applications and toolkits
8930 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8931 (license license:lgpl2.1+)))
8933 (define-public gspell
8939 (uri (string-append "mirror://gnome/sources/" name "/"
8940 (version-major+minor version) "/"
8941 name "-" version ".tar.xz"))
8944 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8945 (patches (search-patches "gspell-dash-test.patch"))))
8946 (build-system glib-or-gtk-build-system)
8948 '(#:configure-flags (list "--enable-vala")
8950 (modify-phases %standard-phases
8951 (add-before 'check 'pre-check
8952 (lambda* (#:key inputs #:allow-other-keys)
8953 ;; Tests require a running X server.
8954 (system "Xvfb :1 &")
8955 (setenv "DISPLAY" ":1")
8957 ;; For the missing /etc/machine-id.
8958 (setenv "DBUS_FATAL_WARNINGS" "0")
8960 ;; Allow Enchant and its Aspell backend to find the en_US
8962 (setenv "ASPELL_DICT_DIR"
8963 (string-append (assoc-ref inputs "aspell-dict-en")
8969 ("iso-codes" ,iso-codes)))
8971 `(("glib" ,glib "bin")
8972 ("gobject-introspection" ,gobject-introspection)
8973 ("pkg-config" ,pkg-config)
8974 ("vala" ,vala) ;for VAPI, needed by Geary
8975 ("xmllint" ,libxml2)
8978 ("aspell-dict-en" ,aspell-dict-en)
8979 ("xorg-server" ,xorg-server-for-tests)))
8981 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8982 (home-page "https://wiki.gnome.org/Projects/gspell")
8983 (synopsis "GNOME's alternative spell checker")
8985 "gspell provides a flexible API to add spell-checking to a GTK+
8986 application. It provides a GObject API, spell-checking to text entries and
8987 text views, and buttons to choose the language.")
8988 (license license:gpl2+)))
8990 (define-public gnome-planner
8992 (name "gnome-planner")
8996 (uri (string-append "mirror://gnome/sources/planner/"
8997 (version-major+minor version) "/planner-"
9001 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9002 (build-system glib-or-gtk-build-system)
9004 ;; Disable the Python bindings because the Planner program functions
9005 ;; without them, and (as of 2017-06-13) we have not packaged all of
9006 ;; packages that are necessary for building the Python bindings.
9008 (list "--disable-python"
9009 ,@(if (string=? "aarch64-linux" (%current-system))
9010 '("--build=aarch64-unknown-linux-gnu")
9013 `(("libgnomecanvas" ,libgnomecanvas)
9014 ("libgnomeui" ,libgnomeui)
9015 ("libglade" ,libglade)
9016 ("gnome-vfs" ,gnome-vfs)
9018 ("libxml2" ,libxml2)
9019 ("libxslt" ,libxslt)
9023 `(("intltool" ,intltool)
9024 ("scrollkeeper" ,scrollkeeper)
9025 ("pkg-config" ,pkg-config)))
9026 (home-page "https://wiki.gnome.org/Apps/Planner")
9027 (synopsis "Project management software for the GNOME desktop")
9029 "GNOME Planner is a project management tool based on the Work Breakdown
9030 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9031 the resources, tasks, and constraints that you define, Planner generates
9032 various views into a project. For example, Planner can show a Gantt chart of
9033 the project. It can show a detailed summary of tasks including their
9034 duration, cost, and current progress. It can also show a report of resource
9035 utilization that highlights under-utilized and over-utilized resources. These
9036 views can be printed as PDF or PostScript files, or exported to HTML.")
9037 (license license:gpl2+)))
9039 (define-public lollypop
9046 (uri (string-append "https://adishatz.org/lollypop/"
9047 "lollypop-" version ".tar.xz"))
9049 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9050 (build-system meson-build-system)
9052 `(#:imported-modules
9053 (,@%meson-build-system-modules
9054 (guix build python-build-system))
9056 ((guix build meson-build-system)
9057 ((guix build python-build-system) #:prefix python:)
9060 #:tests? #f ; no test suite
9062 (modify-phases %standard-phases
9063 (add-after 'install 'wrap-program
9064 (lambda* (#:key outputs #:allow-other-keys)
9065 (let ((out (assoc-ref outputs "out"))
9066 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9067 (wrap-program (string-append out "/bin/lollypop")
9068 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9070 (add-after 'install 'wrap-python
9071 (assoc-ref python:%standard-phases 'wrap)))))
9073 `(("intltool" ,intltool)
9074 ("itstool" ,itstool)
9075 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9076 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9077 ("pkg-config" ,pkg-config)))
9079 `(("gobject-introspection" ,gobject-introspection)
9080 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9081 ("gst-plugins-base" ,gst-plugins-base)
9082 ("libnotify" ,libnotify)
9083 ("libsecret" ,libsecret)
9084 ("libsoup" ,libsoup)
9086 ("python-beautifulsoup4" ,python-beautifulsoup4)
9087 ("python-gst" ,python-gst)
9088 ("python-pil" ,python-pillow)
9089 ("python-pycairo" ,python-pycairo)
9090 ("python-pygobject" ,python-pygobject)
9091 ("python-pylast" ,python-pylast)
9092 ("totem-pl-parser" ,totem-pl-parser)
9093 ("webkitgtk" ,webkitgtk)))
9095 `(;; gst-plugins-base is required to start Lollypop,
9096 ;; the others are required to play streaming.
9097 ("gst-plugins-good" ,gst-plugins-good)
9098 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9099 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9100 (synopsis "GNOME music playing application")
9102 "Lollypop is a music player designed to play well with GNOME desktop.
9103 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9104 from artists and tracks from the web. It also fetches cover artworks
9105 automatically and it can stream songs from online music services and charts.")
9106 (license license:gpl3+)))
9108 (define-public gnome-video-effects
9110 (name "gnome-video-effects")
9114 (uri (string-append "mirror://gnome/sources/" name "/"
9115 (version-major+minor version) "/" name "-"
9119 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9120 (build-system glib-or-gtk-build-system)
9122 `(#:out-of-source? #f))
9124 `(("glib:bin" ,glib "bin")
9125 ("intltool" ,intltool)
9126 ("gettext" ,gettext-minimal)
9127 ("pkg-config" ,pkg-config)))
9128 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9129 (synopsis "Video effects for Cheese and other GNOME applications")
9131 "A collection of GStreamer video filters and effects to be used in
9132 photo-booth-like software, such as Cheese.")
9133 (license license:gpl2+)))
9135 (define-public cheese
9141 (uri (string-append "mirror://gnome/sources/" name "/"
9142 (version-major+minor version) "/" name "-"
9146 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9149 ;; Tests require GDK.
9152 (modify-phases %standard-phases
9153 (add-after 'unpack 'skip-gtk-update-icon-cache
9155 ;; Don't create 'icon-theme.cache'
9156 (substitute* "meson_post_install.py"
9157 (("gtk-update-icon-cache") (which "true")))
9159 (add-after 'install 'wrap-cheese
9160 (lambda* (#:key inputs outputs #:allow-other-keys)
9161 (let ((out (assoc-ref outputs "out"))
9162 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9163 (wrap-program (string-append out "/bin/cheese")
9164 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9166 (build-system meson-build-system)
9168 `(("docbook-xsl" ,docbook-xsl)
9169 ("glib:bin" ,glib "bin")
9170 ("gtk-doc" ,gtk-doc)
9171 ("intltool" ,intltool)
9172 ("itstool" ,itstool)
9173 ("libxml2" ,libxml2)
9174 ("libxslt" ,libxslt)
9175 ("pkg-config" ,pkg-config)
9178 `(("gnome-video-effects" ,gnome-video-effects)
9179 ("clutter" ,clutter)
9180 ("clutter-gst" ,clutter-gst)
9181 ("clutter-gtk" ,clutter-gtk)
9182 ("libcanberra" ,libcanberra)
9183 ("gdk-pixbuf" ,gdk-pixbuf)
9185 ("gstreamer" ,gstreamer)))
9187 `(("gnome-desktop" ,gnome-desktop)
9188 ("gobject-introspection" ,gobject-introspection)
9189 ("gst-plugins-base" ,gst-plugins-base)
9190 ("gst-plugins-bad" ,gst-plugins-bad)
9193 ("libxtst" ,libxtst)))
9194 (home-page "https://wiki.gnome.org/Apps/Cheese")
9195 (synopsis "Webcam photo booth software for GNOME")
9197 "Cheese uses your webcam to take photos and videos. Cheese can also
9198 apply fancy special effects and lets you share the fun with others.")
9199 (license license:gpl2+)))
9201 (define-public sound-juicer
9203 (name "sound-juicer")
9208 (uri (string-append "mirror://gnome/sources/" name "/"
9209 (version-major+minor version) "/"
9210 name "-" version ".tar.xz"))
9213 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9214 (build-system glib-or-gtk-build-system)
9216 `(("desktop-file-utils" ,desktop-file-utils)
9217 ("intltool" ,intltool)
9218 ("itstool" ,itstool)
9219 ("pkg-config" ,pkg-config)
9220 ("xmllint" ,libxml2)))
9223 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9224 ("gstreamer" ,gstreamer)
9225 ("gst-plugins-base" ,gst-plugins-base)
9226 ("gst-plugins-good" ,gst-plugins-good)
9227 ("iso-codes" ,iso-codes)
9228 ("libbrasero-media3" ,brasero)
9229 ("libcanberra" ,libcanberra)
9230 ("libdiscid" ,libdiscid)
9231 ("libmusicbrainz" ,libmusicbrainz)
9233 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9234 (synopsis "Audio music cd ripper")
9235 (description "Sound Juicer extracts audio from compact discs and convert it
9236 into audio files that a personal computer or digital audio player can play.
9237 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9238 mp3, Ogg Vorbis and FLAC")
9239 (license license:gpl2+)))
9241 (define-public soundconverter
9243 (name "soundconverter")
9248 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9249 version "/+download/"
9250 "soundconverter-" version ".tar.xz"))
9253 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
9254 (build-system glib-or-gtk-build-system)
9256 `(#:imported-modules ((guix build python-build-system)
9257 (guix build glib-or-gtk-build-system)
9258 ,@%gnu-build-system-modules)
9260 #:modules ((guix build glib-or-gtk-build-system)
9262 ((guix build gnu-build-system) #:prefix gnu:)
9263 ((guix build python-build-system) #:prefix python:))
9266 (modify-phases %standard-phases
9267 (add-after 'install 'wrap-soundconverter-for-python
9268 (assoc-ref python:%standard-phases 'wrap))
9269 (add-after 'install 'wrap-soundconverter
9270 (lambda* (#:key inputs outputs #:allow-other-keys)
9271 (let ((out (assoc-ref outputs "out"))
9272 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9273 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9274 (wrap-program (string-append out "/bin/soundconverter")
9275 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9276 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9279 `(("intltool" ,intltool)
9280 ("pkg-config" ,pkg-config)
9281 ("glib:bin" ,glib "bin")))
9285 ("python-pygobject" ,python-pygobject)
9286 ("gstreamer" ,gstreamer)
9287 ("gst-plugins-base" ,gst-plugins-base)))
9288 (home-page "https://soundconverter.org/")
9289 (synopsis "Convert between audio formats with a graphical interface")
9291 "SoundConverter supports converting between many audio formats including
9292 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9293 configurable file renaming. ")
9294 (license license:gpl3)))
9296 (define-public workrave
9304 (url "https://github.com/rcaelers/workrave.git")
9305 (commit (string-append "v" (string-map
9306 (match-lambda (#\. #\_) (chr chr))
9308 (file-name (git-file-name name version))
9310 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9311 (build-system glib-or-gtk-build-system)
9313 ;; The only tests are maintainer tests (in po/), which fail.
9315 (inputs `(("glib" ,glib)
9317 ("gdk-pixbuf" ,gdk-pixbuf)
9321 ("libxtst" ,libxtst)
9325 ("libxscrnsaver" ,libxscrnsaver)))
9326 (native-inputs `(("boost" ,boost)
9327 ("pkg-config" ,pkg-config)
9328 ("gettext" ,gettext-minimal)
9329 ("autoconf" ,autoconf)
9330 ("autoconf-archive" , autoconf-archive)
9331 ("automake" ,automake)
9332 ("libtool" ,libtool)
9333 ("intltool" ,intltool)
9334 ("gobject-introspection" ,gobject-introspection)
9335 ("python3" ,python-3)
9336 ("python-jinja2" ,python-jinja2)))
9337 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9339 "Workrave is a program that assists in the recovery and prevention of
9340 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9341 micro-pauses and rest breaks, and restricts you to your daily limit.")
9342 (home-page "http://www.workrave.org")
9343 (license license:gpl3+)))
9351 (uri (string-append "mirror://gnome/sources/ghex/"
9352 (version-major+minor version) "/"
9353 "ghex-" version ".tar.xz"))
9356 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9357 (build-system meson-build-system)
9361 (modify-phases %standard-phases
9362 (add-after 'unpack 'skip-gtk-update-icon-cache
9363 ;; Don't create 'icon-theme.cache'.
9365 (substitute* "meson_post_install.py"
9366 (("gtk-update-icon-cache") (which "true")))
9369 `(("pkg-config" ,pkg-config)
9370 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9371 ("gnome-common" ,gnome-common)
9373 ("intltool" ,intltool)
9374 ("yelp-tools" ,yelp-tools)
9375 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9379 (synopsis "GNOME hexadecimal editor")
9380 (description "The GHex program can view and edit files in two ways:
9381 hexadecimal or ASCII. It is useful for editing binary files in general.")
9382 (home-page "https://wiki.gnome.org/Apps/Ghex")
9383 (license license:gpl2)))
9385 (define-public libdazzle
9391 (uri (string-append "mirror://gnome/sources/libdazzle/"
9392 (version-major+minor version) "/"
9393 "libdazzle-" version ".tar.xz"))
9396 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9397 (build-system meson-build-system)
9400 (modify-phases %standard-phases
9401 (add-before 'check 'pre-check
9403 ;; Tests require a running X server.
9404 (system "Xvfb :1 &")
9405 (setenv "DISPLAY" ":1")
9408 `(("glib" ,glib "bin") ; glib-compile-resources
9409 ("pkg-config" ,pkg-config)
9411 ("xorg-server" ,xorg-server-for-tests)))
9414 ("gobject-introspection" ,gobject-introspection)
9417 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9418 (synopsis "Companion library to GObject and Gtk+")
9419 (description "The libdazzle library is a companion library to GObject and
9420 Gtk+. It provides various features that the authors wish were in the
9421 underlying library but cannot for various reasons. In most cases, they are
9422 wildly out of scope for those libraries. In other cases, they are not quite
9423 generic enough to work for everyone.")
9424 (license license:gpl3+)))
9426 (define-public evolution
9432 (uri (string-append "mirror://gnome/sources/evolution/"
9433 (version-major+minor version) "/"
9434 "evolution-" version ".tar.xz"))
9437 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9438 (build-system cmake-build-system)
9440 `(#:imported-modules (,@%cmake-build-system-modules
9441 (guix build glib-or-gtk-build-system))
9442 #:modules ((guix build cmake-build-system)
9443 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9446 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9447 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9448 ; in four years and cannot be built.
9450 (modify-phases %standard-phases
9451 ;; The build system attempts to install user interface modules to the
9452 ;; output directory of the "evolution-data-server" package. This
9453 ;; change redirects that change.
9454 (add-after 'unpack 'patch-ui-module-dir
9455 (lambda* (#:key outputs #:allow-other-keys)
9456 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9457 (("\\$\\{edsuimoduledir\\}")
9458 (string-append (assoc-ref outputs "out")
9459 "/lib/evolution-data-server/ui-modules")))
9461 (add-after 'install 'glib-or-gtk-compile-schemas
9462 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9463 (add-after 'install 'glib-or-gtk-wrap
9464 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9466 `(("glib" ,glib "bin") ; glib-mkenums
9467 ("pkg-config" ,pkg-config)
9468 ("intltool" ,intltool)
9469 ("itstool" ,itstool)))
9471 `(("enchant" ,enchant)
9472 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9474 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9475 ("gnome-autoar" ,gnome-autoar)
9476 ("gnome-desktop" ,gnome-desktop)
9478 ("highlight" ,highlight)
9479 ("libcanberra" ,libcanberra)
9480 ("libgweather" ,libgweather)
9481 ("libnotify" ,libnotify)
9482 ("libsoup" ,libsoup)
9484 ("openldap" ,openldap)
9485 ("webkitgtk" ,webkitgtk)
9487 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9488 (synopsis "Manage your email, contacts and schedule")
9489 (description "Evolution is a personal information management application
9490 that provides integrated mail, calendaring and address book
9492 ;; See COPYING for details.
9493 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9494 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9495 license:lgpl2.1+)))) ; smime/lib/*
9497 (define-public gthumb
9503 (uri (string-append "mirror://gnome/sources/gthumb/"
9504 (version-major+minor version) "/"
9505 "gthumb-" version ".tar.xz"))
9508 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9509 (build-system meson-build-system)
9513 ;; Ensure the RUNPATH contains all installed library locations.
9514 (list (string-append "-Dc_link_args=-Wl,-rpath="
9515 (assoc-ref %outputs "out")
9516 "/lib/gthumb/extensions")
9517 (string-append "-Dcpp_link_args=-Wl,-rpath="
9518 (assoc-ref %outputs "out")
9519 "/lib/gthumb/extensions"))))
9521 `(("pkg-config" ,pkg-config)
9522 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9523 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9524 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9525 ("intltool" ,intltool)
9526 ("itstool" ,itstool)))
9530 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9531 ("gstreamer" ,gstreamer)
9532 ("clutter" ,clutter)
9533 ("clutter-gst" ,clutter-gst)
9534 ("clutter-gtk" ,clutter-gtk)
9535 ("libjpeg" ,libjpeg-turbo)
9536 ("libtiff" ,libtiff)
9537 ("libraw" ,libraw)))
9538 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9539 (synopsis "GNOME image viewer and browser")
9540 (description "GThumb is an image viewer, browser, organizer, editor and
9541 advanced image management tool")
9542 (license license:gpl2+)))
9544 (define-public terminator
9550 (uri (string-append "https://launchpad.net/" name "/"
9551 "gtk3/" version "/" "+download/"
9552 name "-" version ".tar.gz"))
9555 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9556 (build-system python-build-system)
9558 `(("intltool" ,intltool)
9559 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9560 ("gettext" ,gettext-minimal)
9561 ("pkg-config" ,pkg-config)))
9564 ("gobject-introspection" ,gobject-introspection)
9565 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9566 ("python2-pycairo" ,python2-pycairo)
9567 ("python2-pygobject" ,python2-pygobject)
9568 ("python2-psutil" ,python2-psutil)
9571 `(#:python ,python-2 ; Python 3 isn't supported
9572 #:imported-modules ((guix build glib-or-gtk-build-system)
9573 ,@%python-build-system-modules)
9574 #:modules ((guix build python-build-system)
9575 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9578 (modify-phases %standard-phases
9580 'install 'wrap-program
9581 (lambda* (#:key outputs #:allow-other-keys)
9582 (let ((prog (string-append (assoc-ref outputs "out")
9583 "/bin/terminator")))
9585 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9586 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9588 (add-after 'wrap-program 'glib-or-gtk-wrap
9589 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9590 (home-page "https://gnometerminator.blogspot.com/")
9591 (synopsis "Store and run multiple GNOME terminals in one window")
9593 "Terminator allows you to run multiple GNOME terminals in a grid and
9594 +tabs, and it supports drag and drop re-ordering of terminals.")
9595 (license license:gpl2)))
9597 (define-public libhandy
9605 (url "https://source.puri.sm/Librem5/libhandy")
9606 (commit (string-append "v" version))))
9607 (file-name (git-file-name name version))
9609 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9610 (build-system meson-build-system)
9613 '("-Dglade_catalog=disabled"
9616 (modify-phases %standard-phases
9617 (add-before 'check 'pre-check
9619 ;; Tests require a running X server.
9620 (system "Xvfb :1 &")
9621 (setenv "DISPLAY" ":1")
9626 `(("glib:bin" ,glib "bin")
9627 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9629 ("gtk-doc" ,gtk-doc)
9630 ("pkg-config" ,pkg-config)
9631 ("gettext" ,gettext-minimal)
9633 ;; Test suite dependencies.
9634 ("xorg-server" ,xorg-server-for-tests)
9635 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9636 (home-page "https://source.puri.sm/Librem5/libhandy")
9637 (synopsis "Library full of GTK+ widgets for mobile phones")
9638 (description "The aim of the handy library is to help with developing user
9639 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9640 for usage on small and big screens.")
9641 (license license:lgpl2.1+)))
9643 (define-public libgit2-glib
9645 (name "libgit2-glib")
9646 (version "0.99.0.1")
9649 (uri (string-append "mirror://gnome/sources/" name "/"
9650 (version-major+minor version) "/"
9651 name "-" version ".tar.xz"))
9654 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9655 (build-system meson-build-system)
9657 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9658 ("gobject-introspection" ,gobject-introspection)
9659 ("pkg-config" ,pkg-config)
9660 ("python-pygobject" ,python-pygobject)
9661 ("python-wrapper" ,python-wrapper)
9665 ("libssh2" ,libssh2)))
9667 `(;; In Requires of libgit2-glib.pc.
9668 ("libgit2" ,libgit2)))
9669 (synopsis "GLib wrapper around the libgit2 Git access library")
9670 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9671 access library. It only implements the core plumbing functions, not really the
9672 higher level porcelain stuff.")
9673 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9674 (license license:gpl2+)))
9682 (uri (string-append "mirror://gnome/sources/" name "/"
9683 (version-major+minor version) "/"
9684 name "-" version ".tar.xz"))
9687 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9688 (build-system meson-build-system)
9692 (modify-phases %standard-phases
9693 (add-after 'unpack 'disable-post-install-partially
9695 (substitute* "meson_post_install.py"
9696 (("'python'") ; there are no python sources to compile
9697 (string-append "'" (which "true") "'"))
9698 (("gtk-update-icon-cache") (which "true")))
9700 (add-after 'unpack 'fix-test-sources
9702 (substitute* "tests/libgitg/test-commit.vala"
9703 (("/bin/bash") (which "bash")))
9705 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9706 (lambda* (#:key outputs #:allow-other-keys)
9707 (let ((prog (string-append (assoc-ref outputs "out")
9710 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9714 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9716 ("gtkspell3" ,gtkspell3)
9717 ("gtksourceview" ,gtksourceview-3)
9718 ("json-glib" ,json-glib)
9719 ("libdazzle" ,libdazzle)
9721 ("libgit2-glib" ,libgit2-glib)
9722 ("libpeas" ,libpeas)
9723 ("libsecret" ,libsecret)
9724 ("libsoup" ,libsoup)
9725 ("libxml2" ,libxml2)))
9727 `(("glib:bin" ,glib "bin")
9728 ("gtk+:bin" ,gtk+ "bin")
9729 ("gobject-introspection" ,gobject-introspection)
9730 ("intltool" ,intltool)
9731 ("pkg-config" ,pkg-config)
9733 (synopsis "Graphical user interface for git")
9735 "gitg is a graphical user interface for git. It aims at being a small,
9736 fast and convenient tool to visualize the history of git repositories.
9737 Besides visualization, gitg also provides several utilities to manage your
9738 repository and commit your work.")
9739 (home-page "https://wiki.gnome.org/Apps/Gitg")
9740 (license license:gpl2+)))
9742 (define-public gamin
9748 (uri (string-append "mirror://gnome/sources/" name "/"
9749 (version-major+minor version) "/"
9750 name "-" version ".tar.bz2"))
9753 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9754 (build-system gnu-build-system)
9757 (modify-phases %standard-phases
9758 (add-after 'unpack 'remove-deprecated-macro
9760 (substitute* '("server/gam_node.c"
9761 "server/gam_subscription.h"
9763 "server/gam_subscription.c")
9764 (("G_CONST_RETURN") "const"))
9769 `(("intltool" ,intltool)
9770 ("pkg-config" ,pkg-config)))
9771 (home-page "https://people.gnome.org/~veillard/gamin/")
9772 (synopsis "File alteration monitor")
9774 "Gamin is a file and directory monitoring system defined to be a subset
9775 of the FAM (File Alteration Monitor) system. This is a service provided by a
9776 library which detects when a file or a directory has been modified.")
9777 (license license:gpl2+)))
9779 (define-public gnome-mahjongg
9781 (name "gnome-mahjongg")
9786 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9788 (file-name (git-file-name name version))
9791 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9792 (build-system meson-build-system)
9794 `(#:glib-or-gtk? #t))
9796 `(("appstream-glib" ,appstream-glib)
9797 ("gettext" ,gettext-minimal)
9798 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9799 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9800 ("itstool" ,itstool)
9801 ("pkg-config" ,pkg-config)
9804 `(("dconf" ,dconf)))
9808 ("librsvg" ,librsvg)))
9809 (synopsis "Mahjongg tile-matching game")
9810 (description "GNOME Mahjongg is a game based on the classic Chinese
9811 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9812 and a high score table.")
9813 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9814 (license license:gpl2+)))
9816 (define-public gnome-themes-extra
9818 (name "gnome-themes-extra")
9823 (uri (string-append "mirror://gnome/sources/" name "/"
9824 (version-major+minor version) "/" name "-"
9828 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9829 (build-system gnu-build-system)
9832 ;; Don't create 'icon-theme.cache'.
9833 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9834 (true (string-append coreutils "/bin/true")))
9835 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9837 `(("glib:bin" ,glib "bin")
9838 ("intltool" ,intltool)
9839 ("pkg-config" ,pkg-config)))
9844 ("librsvg" ,librsvg)
9845 ("libxml2" ,libxml2)))
9846 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9847 (synopsis "GNOME Extra Themes")
9848 (description "This package provides themes and related elements that don't
9849 really fit in other upstream packages. It offers legacy support for GTK+ 2
9850 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9851 index files needed for Adwaita to be used outside of GNOME.")
9852 (license license:lgpl2.1+)))
9854 (define-public polari
9860 (uri (string-append "mirror://gnome/sources/polari/"
9861 (version-major+minor version)
9862 "/polari-" version ".tar.xz"))
9865 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9866 (build-system meson-build-system)
9870 (modify-phases %standard-phases
9871 (add-after 'unpack 'skip-gtk-update-icon-cache
9873 (substitute* "meson/meson-postinstall.sh"
9874 (("gtk-update-icon-cache") (which "true")))
9876 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9877 (lambda* (#:key outputs #:allow-other-keys)
9878 (let ((prog (string-append (assoc-ref outputs "out")
9881 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9885 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9889 ("libsecret" ,libsecret)
9890 ("libsoup" ,libsoup)
9891 ("telepathy-glib" ,telepathy-glib)
9892 ("telepathy-logger" ,telepathy-logger)))
9894 `(("glib:bin" ,glib "bin")
9895 ("gobject-introspection" ,gobject-introspection)
9896 ("intltool" ,intltool)
9897 ("pkg-config" ,pkg-config)
9898 ("yelp-tools" ,yelp-tools)))
9900 `(("telepathy-idle" ,telepathy-idle)
9901 ("telepathy-mission-control" ,telepathy-mission-control)))
9902 (synopsis "Simple IRC Client")
9904 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9905 integrate seamlessly with the GNOME desktop.")
9906 (home-page "https://wiki.gnome.org/Apps/Polari")
9907 (license license:gpl2+)))
9909 (define-public gnome-boxes
9911 (name "gnome-boxes")
9916 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9917 (version-major+minor version) "/"
9918 "gnome-boxes-" version ".tar.xz"))
9921 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9922 (build-system meson-build-system)
9925 #:configure-flags (list "-Drdp=false"
9926 (string-append "-Dc_link_args=-Wl,-rpath="
9927 (assoc-ref %outputs "out")
9928 "/lib/gnome-boxes"))))
9930 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9931 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9932 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9933 ("itstool" ,itstool)
9934 ("intltool" ,intltool)
9936 ("pkg-config" ,pkg-config)))
9938 `(("libarchive" ,libarchive)
9940 ("gtk-vnc" ,gtk-vnc)
9941 ("libosinfo" ,libosinfo)
9942 ("libsecret" ,libsecret)
9943 ("libsoup" ,libsoup)
9945 ("libvirt" ,libvirt)
9946 ("libvirt-glib" ,libvirt-glib)
9948 ("spice-gtk" ,spice-gtk)
9949 ("sparql-query" ,sparql-query)
9951 ("webkitgtk" ,webkitgtk)
9952 ("tracker" ,tracker)
9953 ("libgudev" ,libgudev)))
9954 (home-page "https://wiki.gnome.org/Apps/Boxes")
9955 (synopsis "View, access, and manage remote and virtual systems")
9956 (description "GNOME Boxes is a simple application to view, access, and
9957 manage remote and virtual systems.")
9959 ;; For data/icons/empty-boxes.png.
9962 license:lgpl2.0+))))
9964 (define-public geary
9971 (url "https://gitlab.gnome.org/GNOME/geary")
9973 (file-name (git-file-name name version))
9976 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9977 (build-system meson-build-system)
9980 #:phases (modify-phases %standard-phases
9981 (add-after 'unpack 'disable-failing-tests
9983 (substitute* "test/meson.build"
9984 (("test\\('client-tests', geary_test_client_bin\\)")
9987 (add-after 'unpack 'disable-postinstall-script
9989 (substitute* "meson.build"
9990 (("meson.add_install_script\\(\
9991 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9994 (add-before 'check 'setup-xvfb
9996 (system "Xvfb :1 &")
9997 (setenv "DISPLAY" ":1")
10000 `(("enchant" ,enchant)
10004 ("gmime" ,gmime-2.6)
10005 ("gnome-online-accounts:lib"
10006 ,gnome-online-accounts "lib")
10009 ("iso-codes" ,iso-codes)
10010 ("json-glib" ,json-glib)
10011 ("libcanberra" ,libcanberra)
10013 ("libhandy" ,libhandy)
10014 ("libpeas" ,libpeas)
10015 ("libsecret" ,libsecret)
10016 ("libunwind" ,libunwind)
10018 ("webkitgtk" ,webkitgtk)
10021 `(("appstream-glib" ,appstream-glib)
10022 ("cmake-minimal" ,cmake-minimal)
10023 ("desktop-file-utils" ,desktop-file-utils)
10024 ("gettext" ,gettext-minimal)
10025 ("glib:bin" ,glib "bin")
10026 ("gobject-introspection" ,gobject-introspection)
10027 ("itstool" ,itstool)
10028 ("libarchive" ,libarchive)
10029 ("libxml2" ,libxml2)
10030 ("pkg-config" ,pkg-config)
10032 ("xvfb" ,xorg-server-for-tests)))
10033 (synopsis "GNOME email application built around conversations")
10035 "Geary collects related messages together into conversations,
10036 making it easy to find and follow your discussions. Full-text and keyword
10037 search makes it easy to find the email you are looking for. Geary's
10038 full-featured composer lets you send rich, styled text with images, links, and
10039 lists, but also send lightweight, easy to read text messages. Geary
10040 automatically picks up your existing GNOME Online Accounts, and adding more is
10041 easy. Geary has a clean, fast, modern interface that works like you want it
10043 (home-page "https://wiki.gnome.org/Apps/Geary")
10049 license:cc-by-sa3.0
10050 license:public-domain
10054 (define-public glabels
10061 (uri (string-append "mirror://gnome/sources/" name "/"
10062 (version-major+minor version) "/"
10063 "glabels-" version ".tar.xz"))
10065 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10066 (build-system glib-or-gtk-build-system)
10068 `(("gettext" ,gettext-minimal)
10069 ("glib:bin" ,glib "bin")
10070 ("intltool" ,intltool)
10071 ("itstool" ,itstool)
10072 ("pkg-config" ,pkg-config)))
10075 ("librsvg" ,librsvg)
10076 ("libxml2" ,libxml2)))
10077 (home-page "https://glabels.org/")
10078 (synopsis "Program for creating labels and business cards")
10080 "gLabels is a program for creating labels and business cards. It is
10081 designed to work with various laser/ink-jet peel-off label and business
10082 card sheets that you’ll find at most office supply stores.")
10083 (license license:gpl3+)))
10085 (define-public libratbag
10092 (uri (git-reference
10093 (url "https://github.com/libratbag/libratbag.git")
10094 (commit (string-append "v" version))))
10095 (file-name (git-file-name name version))
10097 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10098 (build-system meson-build-system)
10100 `(#:configure-flags
10101 (list "-Dsystemd=false"
10102 "-Dlogind-provider=elogind")
10104 (modify-phases %standard-phases
10105 (add-after 'install 'wrap
10106 (lambda* (#:key inputs outputs #:allow-other-keys)
10107 (let* ((out (assoc-ref outputs "out"))
10108 (site (string-append
10110 ,(version-major+minor (package-version python))
10112 (evdev (string-append
10113 (assoc-ref inputs "python-evdev") site))
10114 (pygo (string-append
10115 (assoc-ref inputs "python-pygobject") site))
10117 `("PYTHONPATH" = (,evdev ,pygo))))
10118 (wrap-program (string-append out "/bin/" "ratbagctl")
10123 ("pkg-config" ,pkg-config)
10125 ("valgrind" ,valgrind)))
10128 ("json-glib" ,json-glib)
10129 ("libevdev" ,libevdev)
10130 ("libsystemd" ,elogind)
10131 ("libunistring" ,libunistring)
10132 ("python-evdev" ,python-evdev)
10133 ("python-pygobject" ,python-pygobject)
10135 (home-page "https://github.com/libratbag/libratbag")
10136 (synopsis "DBus daemon and utility for configuring gaming mice")
10137 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10138 configure input devices, mainly gaming mice. The daemon provides a generic
10139 way to access the various features exposed by these mice and abstracts away
10140 hardware-specific and kernel-specific quirks. There is also the
10141 @command{ratbagctl} command line interface for configuring devices.
10143 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10146 The ratbagd DBus service can be enabled by adding the following service to
10147 your operating-system definition:
10149 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10150 (license license:expat)))
10152 (define-public piper
10159 (uri (git-reference
10160 (url "https://github.com/libratbag/piper.git")
10163 (base32 "17h06j8lxpbfygq8fzycl7lml4vv7r05bsyhh3gga2hp0zms4mvg"))))
10164 (build-system meson-build-system)
10166 `(("gettext" ,gettext-minimal)
10167 ("glib:bin" ,glib "bin")
10168 ("gobject-introspection" ,gobject-introspection)
10169 ("pkg-config" ,pkg-config)
10170 ("python-flake8" ,python-flake8)))
10172 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10174 ("gtk:bin" ,gtk+ "bin")
10175 ("librsvg" ,librsvg)
10176 ("python-evdev" ,python-evdev)
10177 ("python-lxml" ,python-lxml)
10178 ("python-pycairo" ,python-pycairo)
10179 ("python-pygobject" ,python-pygobject)))
10181 `(#:imported-modules ((guix build python-build-system)
10182 ,@%meson-build-system-modules)
10183 #:modules (((guix build python-build-system) #:prefix python:)
10184 (guix build meson-build-system)
10185 (guix build utils))
10187 (modify-phases %standard-phases
10188 (add-after 'unpack 'dont-update-gtk-icon-cache
10190 (substitute* "meson.build"
10191 (("meson.add_install_script('meson_install.sh')") ""))
10193 ;; TODO: Switch to wrap-script when it is fixed.
10194 (add-after 'install 'wrap-python
10195 (assoc-ref python:%standard-phases 'wrap))
10196 (add-after 'wrap-python 'wrap
10197 (lambda* (#:key outputs #:allow-other-keys)
10199 (string-append (assoc-ref outputs "out" )"/bin/piper")
10200 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10202 (home-page "https://github.com/libratbag/piper/")
10203 (synopsis "Configure bindings and LEDs on gaming mice")
10204 (description "Piper is a GTK+ application for configuring gaming mice with
10205 onboard configuration for key bindings via libratbag. Piper requires
10206 a @command{ratbagd} daemon running with root privileges. It can be run
10207 manually as root, but is preferably configured as a DBus service that can
10208 launch on demand. This can be configured by enabling the following service,
10209 provided there is a DBus service present:
10211 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10212 (license license:gpl2)))
10214 (define-public parlatype
10215 ;; This is one commit away from 2.0, because the latter introduced
10216 ;; a regression in ASR.
10217 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
10221 (version (git-version "2.0" revision commit))
10225 (uri (git-reference
10226 (url "https://github.com/gkarsay/parlatype.git")
10228 (file-name (git-file-name name version))
10230 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
10231 (build-system meson-build-system)
10233 `(#:glib-or-gtk? #t
10234 #:tests? #f ;require internet access
10236 (modify-phases %standard-phases
10237 (add-after 'install 'wrap-parlatype
10238 ;; Add gstreamer plugin provided in this package to system's
10240 (lambda* (#:key outputs #:allow-other-keys)
10241 (let* ((out (assoc-ref outputs "out"))
10242 (gst-plugin-path (string-append
10243 out "/lib/gstreamer-1.0/"
10245 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10246 (wrap-program (string-append out "/bin/parlatype")
10247 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10250 `(("appstream-glib" ,appstream-glib)
10251 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10252 ("gettext" ,gettext-minimal)
10253 ("glib" ,glib "bin") ;for glib-compile-resources
10254 ("pkg-config" ,pkg-config)
10255 ("yelp-tools" ,yelp-tools)))
10257 `(("gst-plugins-base" ,gst-plugins-base)
10258 ("gst-plugins-good" ,gst-plugins-good)
10259 ("gstreamer" ,gstreamer)
10261 ("pocketsphinx" ,pocketsphinx)
10262 ("pulseaudio" ,pulseaudio)
10263 ("sphinxbase" ,sphinxbase)))
10264 (home-page "http://gkarsay.github.io/parlatype/")
10265 (synopsis "GNOME audio player for transcription")
10266 (description "Parlatype is an audio player for the GNOME desktop
10267 environment. Its main purpose is the manual transcription of spoken
10269 (license license:gpl3+))))
10271 (define-public jsonrpc-glib
10273 (name "jsonrpc-glib")
10277 (uri (string-append "mirror://gnome/sources/" name "/"
10278 (version-major+minor version) "/"
10279 name "-" version ".tar.xz"))
10282 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10283 (build-system meson-build-system)
10285 `(("json-glib" ,json-glib)
10288 `(("pkg-config" ,pkg-config)
10289 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10290 ("gobject-introspection" ,gobject-introspection)
10292 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10293 (synopsis "JSON-RPC library for GLib")
10294 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10295 peers in either a synchronous or asynchronous fashion. It also allows
10296 communicating using the GVariant serialization format instead of JSON when
10297 both peers support it. You might want that when communicating on a single
10298 host to avoid parser overhead and memory-allocator fragmentation.")
10299 (license license:lgpl2.1+)))