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 ng0 <ng0@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>
54 ;;; This file is part of GNU Guix.
56 ;;; GNU Guix is free software; you can redistribute it and/or modify it
57 ;;; under the terms of the GNU General Public License as published by
58 ;;; the Free Software Foundation; either version 3 of the License, or (at
59 ;;; your option) any later version.
61 ;;; GNU Guix is distributed in the hope that it will be useful, but
62 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
63 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
64 ;;; GNU General Public License for more details.
66 ;;; You should have received a copy of the GNU General Public License
67 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
69 (define-module (gnu packages gnome)
70 #:use-module (gnu packages)
71 #:use-module (gnu packages admin)
72 #:use-module (gnu packages aspell)
73 #:use-module (gnu packages autotools)
74 #:use-module (gnu packages avahi)
75 #:use-module (gnu packages backup)
76 #:use-module (gnu packages base)
77 #:use-module (gnu packages bash)
78 #:use-module (gnu packages bison)
79 #:use-module (gnu packages boost)
80 #:use-module (gnu packages build-tools)
81 #:use-module (gnu packages calendar)
82 #:use-module (gnu packages cdrom)
83 #:use-module (gnu packages check)
84 #:use-module (gnu packages cmake)
85 #:use-module (gnu packages compression)
86 #:use-module (gnu packages crates-io)
87 #:use-module (gnu packages cups)
88 #:use-module (gnu packages curl)
89 #:use-module (gnu packages cyrus-sasl)
90 #:use-module (gnu packages databases)
91 #:use-module (gnu packages dbm)
92 #:use-module (gnu packages djvu)
93 #:use-module (gnu packages dns)
94 #:use-module (gnu packages docbook)
95 #:use-module (gnu packages documentation)
96 #:use-module (gnu packages enchant)
97 #:use-module (gnu packages flex)
98 #:use-module (gnu packages fonts)
99 #:use-module (gnu packages file-systems)
100 #:use-module (gnu packages fontutils)
101 #:use-module (gnu packages freedesktop)
102 #:use-module (gnu packages game-development)
103 #:use-module (gnu packages gettext)
104 #:use-module (gnu packages ghostscript)
105 #:use-module (gnu packages gl)
106 #:use-module (gnu packages glib)
107 #:use-module (gnu packages gnupg)
108 #:use-module (gnu packages gnuzilla)
109 #:use-module (gnu packages geo)
110 #:use-module (gnu packages gperf)
111 #:use-module (gnu packages graphviz)
112 #:use-module (gnu packages gstreamer)
113 #:use-module (gnu packages gtk)
114 #:use-module (gnu packages guile)
115 #:use-module (gnu packages ibus)
116 #:use-module (gnu packages icu4c)
117 #:use-module (gnu packages image)
118 #:use-module (gnu packages imagemagick)
119 #:use-module (gnu packages inkscape)
120 #:use-module (gnu packages iso-codes)
121 #:use-module (gnu packages kerberos)
122 #:use-module (gnu packages libcanberra)
123 #:use-module (gnu packages libunistring)
124 #:use-module (gnu packages libunwind)
125 #:use-module (gnu packages libusb)
126 #:use-module (gnu packages linux)
127 #:use-module (gnu packages lirc)
128 #:use-module (gnu packages lua)
129 #:use-module (gnu packages mail)
130 #:use-module (gnu packages mp3)
131 #:use-module (gnu packages multiprecision)
132 #:use-module (gnu packages music)
133 #:use-module (gnu packages ncurses)
134 #:use-module (gnu packages nettle)
135 #:use-module (gnu packages networking)
136 #:use-module (gnu packages ninja)
137 #:use-module (gnu packages nss)
138 #:use-module (gnu packages openldap)
139 #:use-module (gnu packages password-utils)
140 #:use-module (gnu packages pcre)
141 #:use-module (gnu packages pdf)
142 #:use-module (gnu packages perl)
143 #:use-module (gnu packages photo)
144 #:use-module (gnu packages pkg-config)
145 #:use-module (gnu packages polkit)
146 #:use-module (gnu packages popt)
147 #:use-module (gnu packages pretty-print)
148 #:use-module (gnu packages pulseaudio)
149 #:use-module (gnu packages python)
150 #:use-module (gnu packages python-crypto)
151 #:use-module (gnu packages python-web)
152 #:use-module (gnu packages python-xyz)
153 #:use-module (gnu packages rdesktop)
154 #:use-module (gnu packages readline)
155 #:use-module (gnu packages ruby)
156 #:use-module (gnu packages rust)
157 #:use-module (gnu packages samba)
158 #:use-module (gnu packages scanner)
159 #:use-module (gnu packages selinux)
160 #:use-module (gnu packages slang)
161 #:use-module (gnu packages speech)
162 #:use-module (gnu packages spice)
163 #:use-module (gnu packages sqlite)
164 #:use-module (gnu packages ssh)
165 #:use-module (gnu packages swig)
166 #:use-module (gnu packages tex)
167 #:use-module (gnu packages time)
168 #:use-module (gnu packages tls)
169 #:use-module (gnu packages valgrind)
170 #:use-module (gnu packages version-control)
171 #:use-module (gnu packages video)
172 #:use-module (gnu packages virtualization)
173 #:use-module (gnu packages vpn)
174 #:use-module (gnu packages web)
175 #:use-module (gnu packages webkit)
176 #:use-module (gnu packages xdisorg)
177 #:use-module (gnu packages xiph)
178 #:use-module (gnu packages xml)
179 #:use-module (gnu packages xorg)
180 #:use-module (gnu artwork)
181 #:use-module (guix build-system cargo)
182 #:use-module (guix build-system cmake)
183 #:use-module (guix build-system glib-or-gtk)
184 #:use-module (guix build-system gnu)
185 #:use-module (guix build-system meson)
186 #:use-module (guix build-system python)
187 #:use-module (guix build-system trivial)
188 #:use-module (guix download)
189 #:use-module (guix git-download)
190 #:use-module ((guix licenses) #:prefix license:)
191 #:use-module (guix packages)
192 #:use-module (guix utils)
193 #:use-module (guix gexp)
194 #:use-module (guix monads)
195 #:use-module (guix store)
196 #:use-module (ice-9 match)
197 #:use-module (srfi srfi-1))
199 (define-public brasero
205 (uri (string-append "mirror://gnome/sources/brasero/"
206 (version-major+minor version) "/"
207 "brasero-" version ".tar.xz"))
210 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
211 (build-system glib-or-gtk-build-system)
213 `(#:configure-flags (list
214 (string-append "--with-girdir="
215 (assoc-ref %outputs "out")
217 (string-append "--with-typelibdir="
218 (assoc-ref %outputs "out")
219 "/lib/girepository-1.0"))
221 (modify-phases %standard-phases
222 (add-before 'configure 'embed-growisofs
223 (lambda* (#:key inputs #:allow-other-keys)
224 (substitute* "plugins/growisofs/burn-growisofs.c"
225 (("\"growisofs") (string-append "\"" (which "growisofs"))))
228 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
230 `(("intltool" ,intltool)
232 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
233 ("gobject-introspection" ,gobject-introspection)
234 ("pkg-config" ,pkg-config)))
236 `(("dvd+rw-tools" ,dvd+rw-tools)
238 ("gnome-doc-utils" ,gnome-doc-utils)
239 ("gstreamer" ,gstreamer)
240 ("gst-plugins-base" ,gst-plugins-base)
242 ("libcanberra" ,libcanberra)
244 ("libnotify" ,libnotify)
247 ("totem-pl-parser" ,totem-pl-parser)))
248 (home-page "https://wiki.gnome.org/Apps/Brasero")
249 (synopsis "CD/DVD burning tool for Gnome")
250 (description "Brasero is an application to burn CD/DVD for the Gnome
251 Desktop. It is designed to be as simple as possible and has some unique
252 features to enable users to create their discs easily and quickly.")
253 (license license:gpl2+)))
255 (define-public notification-daemon
257 (name "notification-daemon")
263 (string-append "mirror://gnome/sources/" name "/"
264 (version-major+minor version) "/"
265 name "-" version ".tar.xz"))
268 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
269 (build-system glib-or-gtk-build-system)
271 `(("intltool" ,intltool)
272 ("pkg-config" ,pkg-config)))
277 (synopsis "Notification Daemon for GNOME Desktop")
278 (description "Notification-Daemon is the server implementation of the
279 freedesktop.org desktop notification specification.")
280 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
281 (license license:gpl2+)))
283 (define-public mm-common
289 (uri (string-append "mirror://gnome/sources/" name "/"
290 (version-major+minor version) "/"
291 name "-" version ".tar.xz"))
294 "1m4w33da9f4rx2d6kdj3ix3kl0gn16ml82v2mdn4hljr3q29nzdr"))))
295 (build-system meson-build-system)
298 (modify-phases %standard-phases
299 (add-after 'unpack 'patch
300 (lambda* (#:key inputs #:allow-other-keys)
301 (substitute* "util/mm-common-prepare.in"
302 (("ln") (string-append (assoc-ref inputs "coreutils")
304 (("cp") (string-append (assoc-ref inputs "coreutils")
306 (("sed") (string-append (assoc-ref inputs "sed")
308 (("cat") (string-append (assoc-ref inputs "coreutils")
312 `(("coreutils" ,coreutils)
313 ("gettext" ,gettext-minimal)
314 ("pkg-config" ,pkg-config)
317 `(("python" ,python)))
318 (synopsis "Module of GNOME C++ bindings")
319 (description "The mm-common module provides the build infrastructure
320 and utilities shared among the GNOME C++ binding libraries. Release
321 archives of mm-common include the Doxygen tag file for the GNU C++
322 Library reference documentation.")
323 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
324 (license license:gpl2+)))
326 (define-public phodav
332 (uri (string-append "mirror://gnome/sources/" name "/"
333 (version-major+minor version) "/"
334 name "-" version ".tar.xz"))
337 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
338 (build-system meson-build-system)
340 `(("gettext" ,gettext-minimal)
341 ("glib:bin" ,glib "bin")
343 ("pkg-config" ,pkg-config)))
346 ("libgudev" ,libgudev)
347 ("libsoup" ,libsoup)))
348 (synopsis "WebDav server implementation using libsoup")
349 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
350 but it is generic enough to be reused in other projects,
351 in particular in the GNOME desktop.")
352 (home-page "https://wiki.gnome.org/phodav")
353 (license license:lgpl2.1+)))
355 (define-public gnome-color-manager
357 (name "gnome-color-manager")
361 (uri (string-append "mirror://gnome/sources/" name "/"
362 (version-major+minor version) "/"
363 name "-" version ".tar.xz"))
366 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
367 (build-system meson-build-system)
371 (modify-phases %standard-phases
375 ;; Tests require a running X server.
377 (setenv "DISPLAY" ":1")
380 `(("desktop-file-utils" ,desktop-file-utils)
381 ("gettext" ,gettext-minimal)
382 ("glib:bin" ,glib "bin")
383 ("gtk+:bin" ,gtk+ "bin")
385 ("pkg-config" ,pkg-config)
386 ("xorg-server" ,xorg-server-for-tests)))
388 `(("adwaita-icon-theme" ,adwaita-icon-theme)
389 ("appstream-glib" ,appstream-glib)
390 ("colord-gtk" ,colord-gtk)
392 ("gnome-desktop" ,gnome-desktop)
393 ("libcanberra" ,libcanberra)
396 ("libxrandr" ,libxrandr)
398 ("libxxf86vm" ,libxxf86vm)
400 ("xorgproto" ,xorgproto)))
401 (synopsis "Color profile manager for the GNOME desktop")
402 (description "GNOME Color Manager is a session framework that makes
403 it easy to manage, install and generate color profiles
404 in the GNOME desktop.")
405 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
406 (license license:gpl2+)))
408 (define-public gnome-online-miners
410 (name "gnome-online-miners")
414 (uri (string-append "mirror://gnome/sources/" name "/"
415 (version-major+minor version) "/"
416 name "-" version ".tar.xz"))
419 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
420 (build-system glib-or-gtk-build-system)
422 `(("gettext" ,gettext-minimal)
423 ("glib:bin" ,glib "bin")
424 ("gobject-introspection" ,gobject-introspection)
425 ("gtk+:bin" ,gtk+ "bin")
426 ("pkg-config" ,pkg-config)))
428 `(("gnome-online-accounts" ,gnome-online-accounts)
429 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
431 ("libgdata" ,libgdata)
432 ("libgfbgraph" ,gfbgraph)
433 ("libzapojit" ,libzapojit)
435 ("tracker" ,tracker)))
436 (synopsis "Web Crawlers for GNOME")
437 (description "GNOME Online Miners provides a set of crawlers that
438 go through your online content and index them locally in Tracker.
439 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
440 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
441 (license license:gpl2+)))
449 (uri (string-append "mirror://gnome/sources/" name "/"
450 (version-major+minor version) "/"
451 name "-" version ".tar.xz"))
454 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
455 (build-system meson-build-system)
457 `(("gettext" ,gettext-minimal)
458 ("glib:bin" ,glib "bin")
459 ("gobject-introspection" ,gobject-introspection)
461 ("pkg-config" ,pkg-config)
465 ("libsoup" ,libsoup)))
466 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
467 Protocol} for GNOME")
468 (description "This package provides a library to handle resource discovery
469 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
470 a debugging tool, @command{gssdp-device-sniffer}.")
471 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
472 (license license:lgpl2.0+)))
480 (uri (string-append "mirror://gnome/sources/" name "/"
481 (version-major+minor version) "/"
482 name "-" version ".tar.xz"))
485 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
486 (build-system meson-build-system)
488 `(("gettext" ,gettext-minimal)
489 ("glib:bin" ,glib "bin")
490 ("gobject-introspection" ,gobject-introspection)
492 ("pkg-config" ,pkg-config)
497 ("libsoup" ,libsoup)))
498 (synopsis "PnP API for GNOME")
499 (description "This package provides GUPnP, an object-oriented framework
500 for creating UPnP devices and control points, written in C using
501 @code{GObject} and @code{libsoup}.")
502 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
503 (license license:lgpl2.0+)))
505 (define-public gupnp-dlna
511 (uri (string-append "mirror://gnome/sources/" name "/"
512 (version-major+minor version) "/"
513 name "-" version ".tar.xz"))
516 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
517 (build-system gnu-build-system)
519 `(("gettext" ,gettext-minimal)
520 ("glib:bin" ,glib "bin")
521 ("gobject-introspection" ,gobject-introspection)
524 ("pkg-config" ,pkg-config)
527 `(("gstreamer" ,gstreamer)
530 `(("gst-plugins-base" ,gst-plugins-base)
531 ("gst-plugins-good" ,gst-plugins-good)))
532 (synopsis "GUPnP DLNA for GNOME")
533 (description "This package provides a small utility library to
534 support DLNA-related tasks such as media profile guessing, transcoding to a
535 given profile, etc. DLNA is a subset of UPnP A/V.")
536 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
537 (license license:lgpl2.0+)))
539 (define-public gupnp-av
545 (uri (string-append "mirror://gnome/sources/" name "/"
546 (version-major+minor version) "/"
547 name "-" version ".tar.xz"))
550 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
551 (build-system gnu-build-system)
553 `(("gettext" ,gettext-minimal)
554 ("glib:bin" ,glib "bin")
555 ("gobject-introspection" ,gobject-introspection)
558 ("pkg-config" ,pkg-config)))
562 (synopsis "GUPnP A/V for GNOME")
563 (description "This package provides a small library for handling
564 and implementation of UPnP A/V profiles.")
565 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
566 (license license:lgpl2.0+)))
568 (define-public libmediaart
574 (uri (string-append "mirror://gnome/sources/" name "/"
575 (version-major+minor version) "/"
576 name "-" version ".tar.xz"))
579 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
580 (build-system gnu-build-system)
582 `(("glib:bin" ,glib "bin")
583 ("pkg-config" ,pkg-config)))
585 `(("gdk-pixbuf" ,gdk-pixbuf)
586 ("gettext" ,gettext-minimal)
587 ("gobject-introspection" ,gobject-introspection)
588 ("gtk+:doc", gtk+ "doc")
590 (synopsis "Media art library for the GNOME desktop")
592 "The libmediaart library is the foundation for media art caching,
593 extraction, and lookup for applications on the desktop.")
594 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
595 (license license:lgpl2.1+)))
597 (define-public gnome-initial-setup
599 (name "gnome-initial-setup")
603 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
604 (version-major+minor version)
605 "/gnome-initial-setup-" version ".tar.xz"))
608 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
609 (build-system meson-build-system)
611 '(#:configure-flags '(;; Enable camera support for user selfie.
614 #:phases (modify-phases %standard-phases
615 (add-after 'unpack 'set-gkbd-file-name
616 (lambda* (#:key inputs #:allow-other-keys)
617 ;; Allow the "Preview" button in the keyboard layout
618 ;; selection dialog to display the layout.
619 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
620 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
621 (("\"gkbd-keyboard-display")
622 (string-append "\"" libgnomekbd
623 "/bin/gkbd-keyboard-display")))
626 `(("gettext" ,gettext-minimal)
627 ("glib:bin" ,glib "bin")
628 ("gobject-introspection" ,gobject-introspection)
629 ("gtk+:bin" ,gtk+ "bin")
630 ("pkg-config" ,pkg-config)))
632 `(("accountsservice" ,accountsservice)
633 ;("adwaita-icon-theme" ,adwaita-icon-theme)
636 ("gnome-desktop" ,gnome-desktop)
637 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
638 ("gnome-online-accounts" ,gnome-online-accounts)
639 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
640 ("gstreamer" ,gstreamer)
642 ("json-glib" ,json-glib)
644 ("libgweather" ,libgweather)
645 ("libsecret" ,libsecret)
646 ("network-manager" ,network-manager)
647 ("network-manager-applet" ,network-manager-applet)
648 ("packagekit" ,packagekit)
650 ("pwquality" ,libpwquality)
653 ("webkitgtk" ,webkitgtk)
654 ("libgnomekbd" ,libgnomekbd)))
655 (synopsis "Initial setup wizard for GNOME desktop")
656 (description "This package provides a set-up wizard when a
657 user logs into GNOME for the first time. It typically provides a
658 tour of all gnome components and allows the user to set them up.")
659 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
660 (license license:gpl2)))
662 (define-public gnome-user-share
664 (name "gnome-user-share")
668 (uri (string-append "mirror://gnome/sources/" name "/"
669 (version-major+minor version) "/"
670 name "-" version ".tar.xz"))
673 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
674 (build-system meson-build-system)
679 ;; Enable nautilus extension for file sharing.
680 "-Dnautilus_extension=true")))
682 `(("gettext" ,gettext-minimal)
683 ("glib:bin" ,glib "bin")
684 ("gobject-introspection" ,gobject-introspection)
685 ("gtk+:bin" ,gtk+ "bin")
686 ("pkg-config" ,pkg-config)
687 ("yelp-tools" ,yelp-tools)))
690 ("gnome-bluetooth" ,gnome-bluetooth)
692 ("libcanberra" ,libcanberra)
693 ("libnotify" ,libnotify)
694 ("nautilus" ,nautilus))) ; For nautilus extension.
695 (synopsis "File sharing for GNOME desktop")
696 (description "GNOME User Share is a small package that binds together
697 various free software projects to bring easy to use user-level file
698 sharing to the masses.")
699 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
700 (license license:gpl2+)))
708 (uri (string-append "mirror://gnome/sources/" name "/"
709 (version-major+minor version) "/"
710 name "-" version ".tar.xz"))
713 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
714 (build-system meson-build-system)
718 (modify-phases %standard-phases
719 (add-after 'glib-or-gtk-wrap 'wrap-typelib
720 (lambda* (#:key outputs #:allow-other-keys)
721 (let ((prog (string-append (assoc-ref outputs "out")
723 ;; Put existing typelibs before sushi's deps, so as to correctly
726 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
729 `(("glib:bin" ,glib "bin")
730 ("gettext" ,gettext-minimal)
731 ("gobject-introspection" ,gobject-introspection)
732 ("pkg-config" ,pkg-config)))
734 `(("clutter" ,clutter)
735 ("clutter-gst" ,clutter-gst)
736 ("clutter-gtk" ,clutter-gtk)
737 ("evince" ,evince) ; For file previewing.
738 ("freetype" ,freetype)
739 ("gdk-pixbuf" ,gdk-pixbuf)
741 ("gst-plugins-base" ,gst-plugins-base)
742 ("gstreamer" ,gstreamer)
743 ("gtksourceview" ,gtksourceview-3)
744 ("harfbuzz" ,harfbuzz)
745 ("libepoxy" ,libepoxy)
746 ("libmusicbrainz" ,libmusicbrainz)
749 ("webkitgtk" ,webkitgtk)))
750 (synopsis "File previewer for the GNOME desktop")
751 (description "Sushi is a DBus-activated service that allows applications to
752 preview files on the GNOME desktop.")
753 (home-page "https://gitlab.gnome.org/GNOME/sushi")
754 (license license:gpl2+)))
762 (uri (string-append "mirror://gnome/sources/" name "/"
763 (version-major+minor version) "/"
764 name "-" version ".tar.xz"))
767 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
768 (build-system gnu-build-system)
770 `(("gettext" ,gettext-minimal)
771 ("gobject-introspection" ,gobject-introspection)
773 ("pkg-config" ,pkg-config)
776 `(("gdk-pixbuf" ,gdk-pixbuf)
778 ("gstreamer" ,gstreamer)
779 ("gst-plugins-base" ,gst-plugins-base)
782 ("gupnp-av" ,gupnp-av)
783 ("gupnp-dlna" ,gupnp-dlna)
785 ("libmediaart" ,libmediaart)
788 ("libunistring" ,libunistring)
789 ("tracker" ,tracker)))
790 (synopsis "Share audio, video, and pictures with other devices")
792 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
793 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
794 pictures, and to control a media player on your home network.
796 Rygel achieves interoperability with other devices by trying to conform to the
797 strict requirements of DLNA and by converting media on-the-fly to formats that
798 client devices can handle.")
799 (home-page "https://wiki.gnome.org/Projects/Rygel")
801 ;; For logo (data/icons/*).
806 (define-public libnma
812 (uri (string-append "mirror://gnome/sources/" name "/"
813 (version-major+minor version) "/"
814 name "-" version ".tar.xz"))
817 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
818 (build-system meson-build-system)
820 `(#:glib-or-gtk? #t))
822 `(("gettext" ,gettext-minimal)
823 ("glib:bin" ,glib "bin")
825 ("gobject-introspection" ,gobject-introspection)
826 ("pkg-config" ,pkg-config)))
828 `(("adwaita-icon-theme" ,adwaita-icon-theme)
831 ("iso-codes" ,iso-codes)
832 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
833 ("network-manager" ,network-manager)))
834 (synopsis "Network Manager's applet library")
835 (description "Libnma is an applet library for Network Manager. It was
836 initially part of network-manager-applet and has now become a separate
838 (home-page "https://gitlab.gnome.org/GNOME/libnma")
840 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
842 (license license:gpl2+)))
844 (define-public gnome-menus
850 (uri (string-append "mirror://gnome/sources/gnome-menus/"
851 (version-major+minor version) "/"
852 name "-" version ".tar.xz"))
855 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
856 (build-system gnu-build-system)
858 `(("gettext" ,gettext-minimal)
860 ("pkg-config" ,pkg-config)))
861 (synopsis "Menu support for GNOME desktop")
862 (description "GNOME Menus contains the libgnome-menu library, the layout
863 configuration files for the GNOME menu, as well as a simple menu editor.")
864 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
865 (license license:lgpl2.0+)))
867 (define-public deja-dup
873 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
876 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
878 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
879 (build-system glib-or-gtk-build-system)
881 `(#:modules ((guix build gnu-build-system)
882 ((guix build cmake-build-system) #:prefix cmake:)
883 (guix build glib-or-gtk-build-system)
885 #:imported-modules (,@%glib-or-gtk-build-system-modules
886 (guix build cmake-build-system))
888 #:configure-flags (list (string-append
889 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
891 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
893 (modify-phases %standard-phases
894 (add-after 'unpack 'patch-lockfile-deletion
896 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
900 (assoc-ref cmake:%standard-phases 'configure))
901 (delete 'check) ;; Fails due to issues with DBus
902 (add-after 'install 'wrap-deja-dup
903 (lambda* (#:key inputs outputs #:allow-other-keys)
904 (let ((python (assoc-ref inputs "python"))
905 (python-path (getenv "PYTHONPATH"))
906 (duplicity (assoc-ref inputs "duplicity"))
907 (out (assoc-ref outputs "out")))
910 (wrap-program program
911 `("PATH" ":" prefix (,(string-append python "/bin")
912 ,(string-append duplicity "/bin"))))
913 (wrap-program program
914 `("PYTHONPATH" ":" prefix (,python-path))))
916 (find-files (string-append out "/bin")))
919 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
920 ("gobject-introspection" ,gobject-introspection)
921 ("duplicity" ,duplicity)
923 ("python-pygobject" ,python2-pygobject)
925 ("libnotify" ,libnotify)
927 ("libsecret" ,libsecret)
928 ("packagekit" ,packagekit)))
930 `(("pkg-config" ,pkg-config)
932 ("gettext" ,gettext-minimal)
934 ("intltool" ,intltool)
935 ("cmake" ,cmake-minimal)))
936 (home-page "https://launchpad.net/deja-dup")
937 (synopsis "Simple backup tool, for regular encrypted backups")
939 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
940 uses duplicity as the backend, which supports incremental backups and storage
941 either on a local, or remote machine via a number of methods.")
942 (license license:gpl3+)))
944 (define-public gnome-user-docs
946 (name "gnome-user-docs")
951 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
952 (version-major+minor version)
953 "/gnome-user-docs-" version ".tar.xz"))
955 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
956 (build-system gnu-build-system)
958 `(("gettext" ,gettext-minimal)
960 ("pkg-config" ,pkg-config)
961 ("xmllint" ,libxml2)))
962 (synopsis "User documentation for the GNOME desktop")
964 "The GNOME User Documentation explains how to use the GNOME desktop and its
965 components. It covers usage and setup of the core GNOME programs by end-users
966 and system administrators.")
967 (home-page "https://live.gnome.org/DocumentationProject")
968 (license license:cc-by3.0)))
970 (define-public gnome-getting-started-docs
972 (name "gnome-getting-started-docs")
977 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
978 (version-major+minor version)
979 "/gnome-getting-started-docs-" version ".tar.xz"))
981 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
982 (build-system gnu-build-system)
984 `(("gettext" ,gettext-minimal)
986 ("pkg-config" ,pkg-config)
987 ("xmllint" ,libxml2)))
988 (synopsis "Help to get new users started with the GNOME desktop")
990 "The GNOME Getting Started Documentation contains GNOME's intuitive
991 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
993 It is normally used together with @command{gnome-initial-setup}, but is also
994 useful as a tutorial and users' guide for new or less experienced users.")
995 (home-page "https://live.gnome.org/DocumentationProject")
996 (license license:cc-by-sa3.0)))
999 ;; This version from GNOME's repository includes fixes for compiling with
1000 ;; recent versions of the build tools. The latest activity on the
1001 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1003 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
1006 (version (git-version "0.97.3" "1" commit))
1010 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1012 (file-name (git-file-name name version))
1015 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
1016 (build-system gnu-build-system)
1018 `(("freetype" ,freetype)
1019 ("gdk-pixbuf" ,gdk-pixbuf)
1021 ("libart-lgpl" ,libart-lgpl)
1022 ("libxml2" ,libxml2)
1025 `(("autoconf" ,autoconf)
1026 ("automake" ,automake)
1027 ("intltool" ,intltool)
1028 ("glib" ,glib "bin")
1029 ("libtool" ,libtool)
1031 ("pkg-config" ,pkg-config)
1032 ("python-wrapper" ,python-wrapper)))
1035 (modify-phases %standard-phases
1036 (add-before 'bootstrap 'dont-configure-during-bootstrap
1038 (setenv "NOCONFIGURE" "true")
1040 (home-page "https://wiki.gnome.org/Apps/Dia")
1041 (synopsis "Diagram creation for GNOME")
1042 (description "Dia can be used to draw different types of diagrams, and
1043 includes support for UML static structure diagrams (class diagrams), entity
1044 relationship modeling, and network diagrams. The program supports various file
1045 formats like PNG, SVG, PDF and EPS.")
1046 (license license:gpl2+))))
1048 ;; This is the unstable release, but it is required for the current stable
1049 ;; release of gvfs (1.38.1).
1050 (define-public libgdata
1056 (uri (string-append "mirror://gnome/sources/" name "/"
1057 (version-major+minor version) "/"
1058 name "-" version ".tar.xz"))
1061 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1062 (build-system gnu-build-system)
1065 (modify-phases %standard-phases
1066 (add-before 'check 'disable-failing-tests
1068 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1069 ;; They have been removed in libgdata 0.17.6, so just do the same.
1070 (substitute* "gdata/tests/Makefile"
1071 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1074 `(("glib:bin" ,glib "bin")
1075 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1076 ("intltool" ,intltool)
1077 ("pkg-config" ,pkg-config)
1078 ("uhttpmock" ,uhttpmock)))
1080 `(("cyrus-sasl" ,cyrus-sasl)
1081 ("glib-networking" ,glib-networking)))
1085 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1086 ("json-glib" ,json-glib)
1087 ("liboauth" ,liboauth)
1088 ("libsoup" ,libsoup)
1089 ("libxml2" ,libxml2)))
1090 (home-page "https://wiki.gnome.org/Projects/libgdata")
1091 (synopsis "Library for accessing online service APIs")
1093 "libgdata is a GLib-based library for accessing online service APIs using
1094 the GData protocol — most notably, Google's services. It provides APIs to
1095 access the common Google services, and has full asynchronous support.")
1096 (license license:lgpl2.1+)))
1098 (define-public libgxps
1104 (uri (string-append "mirror://gnome/sources/" name "/"
1105 (version-major+minor version) "/"
1106 name "-" version ".tar.xz"))
1109 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1110 (build-system meson-build-system)
1112 `(("gobject-introspection" ,gobject-introspection)
1113 ("pkg-config" ,pkg-config)))
1116 ("libjpeg" ,libjpeg-turbo)
1118 ("libtiff" ,libtiff)))
1120 ;; In Requires of libgxps.pc.
1123 ("libarchive" ,libarchive)))
1124 (home-page "https://wiki.gnome.org/Projects/libgxps")
1125 (synopsis "GObject-based library for handling and rendering XPS documents")
1127 "libgxps is a GObject-based library for handling and rendering XPS
1128 documents. This package also contains binaries that can convert XPS documents
1130 (license license:lgpl2.1+)))
1132 (define-public gnome-characters
1134 (name "gnome-characters")
1139 (uri (string-append "mirror://gnome/sources/"
1140 "gnome-characters/" (version-major+minor version)
1141 "/gnome-characters-" version ".tar.xz"))
1144 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1145 (build-system meson-build-system)
1148 #:phases (modify-phases %standard-phases
1149 (add-after 'install 'wrap
1150 (lambda* (#:key outputs #:allow-other-keys)
1151 ;; GNOME Characters needs Typelib files from GTK and
1153 (wrap-program (string-append (assoc-ref outputs "out")
1154 "/bin/gnome-characters")
1155 `("GI_TYPELIB_PATH" ":" prefix
1156 (,(getenv "GI_TYPELIB_PATH"))))
1159 `(("gettext" ,gettext-minimal)
1160 ("glib:bin" ,glib "bin")
1161 ("gtk+:bin" ,gtk+ "bin")
1162 ("pkg-config" ,pkg-config)
1163 ("python" ,python-minimal)))
1167 ("libunistring" ,libunistring)
1168 ("gnome-desktop" ,gnome-desktop)))
1169 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1170 (synopsis "Find and insert unusual characters")
1171 (description "Characters is a simple utility application to find
1172 and insert unusual characters. It allows you to quickly find the
1173 character you are looking for by searching for keywords.")
1174 (license license:bsd-3)))
1176 (define-public gnome-common
1178 (name "gnome-common")
1183 (uri (string-append "mirror://gnome/sources/" name "/"
1184 (version-major+minor version) "/"
1185 name "-" version ".tar.xz"))
1188 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1189 (build-system gnu-build-system)
1190 (home-page "https://www.gnome.org/")
1191 (synopsis "Bootstrap GNOME modules built from Git")
1192 (description "gnome-common contains various files needed to bootstrap
1193 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1194 can be used to configure a source directory checked out from Git and some
1195 commonly used macros.")
1196 (license license:gpl2+)))
1198 (define-public gnome-contacts
1200 (name "gnome-contacts")
1204 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1205 (version-major+minor version) "/"
1206 name "-" version ".tar.xz"))
1209 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
1210 (build-system meson-build-system)
1213 (modify-phases %standard-phases
1214 (add-after 'unpack 'generate-vapis
1215 (lambda* (#:key inputs #:allow-other-keys)
1216 ;; To generate goa's missing .vapi file
1218 (assoc-ref inputs "gnome-online-accounts:lib"))
1220 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1222 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1225 `(("glib:bin" ,glib "bin")
1226 ("gtk+:bin" ,gtk+ "bin")
1227 ("pkg-config" ,pkg-config)))
1229 `(("cheese" ,cheese)
1230 ("docbook-xml" ,docbook-xml)
1231 ("dockbook-xsl" ,docbook-xsl)
1232 ("evolution-data-server" ,evolution-data-server)
1233 ("gettext" ,gettext-minimal)
1234 ("gnome-desktop" ,gnome-desktop)
1235 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1236 ("gobject-introspection" ,gobject-introspection)
1237 ("gst-plugins-base" ,gst-plugins-base)
1240 ("libxslt" ,libxslt)
1241 ("telepathy-glib" ,telepathy-glib)
1245 ("telepathy-mission-control" ,telepathy-mission-control)))
1246 (synopsis "GNOME's integrated address book")
1248 "GNOME Contacts organizes your contact information from online and
1249 offline sources, providing a centralized place for managing your contacts.")
1250 (home-page "https://wiki.gnome.org/Apps/Contacts")
1251 (license license:gpl2+)))
1253 (define-public gnome-desktop
1255 (name "gnome-desktop")
1260 (uri (string-append "mirror://gnome/sources/" name "/"
1261 (version-major+minor version) "/"
1262 name "-" version ".tar.xz"))
1265 "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9"))))
1266 (build-system meson-build-system)
1269 (modify-phases %standard-phases
1270 (add-before 'configure 'patch-path
1271 (lambda* (#:key inputs #:allow-other-keys)
1272 (let ((libc (assoc-ref inputs "libc")))
1273 (substitute* "libgnome-desktop/gnome-languages.c"
1275 (string-append "\"" libc "/bin/locale\"")))
1277 (add-before 'check 'pre-check
1278 (lambda* (#:key inputs #:allow-other-keys)
1279 ;; Tests require a running X server and locales.
1280 (system "Xvfb :1 &")
1281 (setenv "DISPLAY" ":1")
1282 (setenv "GUIX_LOCPATH"
1283 (string-append (assoc-ref inputs "glibc-locales")
1287 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1288 ("glibc-locales" ,glibc-locales) ; for tests
1289 ("gobject-introspection" ,gobject-introspection)
1290 ("itstool" ,itstool)
1291 ("intltool" ,intltool)
1292 ("pkg-config" ,pkg-config)
1293 ("xmllint" ,libxml2)
1294 ("xorg-server" ,xorg-server-for-tests)))
1296 ;; Required by gnome-desktop-3.0.pc.
1297 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1299 ("iso-codes" ,iso-codes)
1300 ("libseccomp" ,libseccomp)
1302 ("xkeyboard-config" ,xkeyboard-config)))
1304 `(("gdk-pixbuf" ,gdk-pixbuf)
1306 ("libxext" ,libxext)
1307 ("libxkbfile" ,libxkbfile)
1308 ("libxrandr" ,libxrandr)))
1309 (home-page "https://www.gnome.org/")
1311 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1313 "The libgnome-desktop library provides API shared by several applications
1314 on the desktop, but that cannot live in the platform for various reasons.
1315 There is no API or ABI guarantee, although we are doing our best to provide
1316 stability. Documentation for the API is available with gtk-doc.
1318 The gnome-about program helps find which version of GNOME is installed.")
1319 ; Some bits under the LGPL.
1320 (license license:gpl2+)))
1322 (define-public gnome-doc-utils
1324 (name "gnome-doc-utils")
1329 (uri (string-append "mirror://gnome/sources/" name "/"
1330 (version-major+minor version) "/"
1331 name "-" version ".tar.xz"))
1334 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1335 (build-system gnu-build-system)
1337 `(("intltool" ,intltool)
1338 ("docbook-xml" ,docbook-xml-4.4)
1339 ("python2-libxml2" ,python2-libxml2)
1340 ("libxml2" ,libxml2)
1341 ("libxslt" ,libxslt)
1342 ("pkg-config" ,pkg-config)
1343 ("python-2" ,python-2)))
1344 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1346 "Documentation utilities for the Gnome project")
1348 "Gnome-doc-utils is a collection of documentation utilities for the
1349 Gnome project. It includes xml2po tool which makes it easier to translate
1350 and keep up to date translations of documentation.")
1351 (license license:gpl2+))) ; xslt under lgpl
1353 (define-public gnome-disk-utility
1355 (name "gnome-disk-utility")
1359 (uri (string-append "mirror://gnome/sources/" name "/"
1360 (version-major+minor version) "/"
1361 name "-" version ".tar.xz"))
1364 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
1365 (build-system meson-build-system)
1368 (modify-phases %standard-phases
1369 (add-after 'unpack 'skip-gtk-update-icon-cache
1370 ;; Don't create 'icon-theme.cache'.
1372 (substitute* "meson_post_install.py"
1373 (("gtk-update-icon-cache") "true"))
1376 `(("glib:bin" ,glib "bin")
1377 ("intltool" ,intltool)
1378 ("pkg-config" ,pkg-config)
1379 ("docbook-xml" ,docbook-xml)
1380 ("docbook-xsl" ,docbook-xsl)
1381 ("libxml2" ,libxml2)
1382 ("libxslt" ,libxslt)))
1385 ("appstream-glib" ,appstream-glib)
1386 ("gnome-settings-daemon" ,gnome-settings-daemon)
1388 ("libcanberra" ,libcanberra)
1389 ("libdvdread" ,libdvdread)
1390 ("libnotify" ,libnotify)
1391 ("libpwquality" ,libpwquality)
1392 ("libsecret" ,libsecret)
1393 ("udisks" ,udisks)))
1394 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1395 (synopsis "Disk management utility for GNOME")
1396 (description "Disk management utility for GNOME.")
1397 (license license:gpl2+)))
1399 (define-public gnome-font-viewer
1401 (name "gnome-font-viewer")
1405 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1406 (version-major+minor version)
1407 "/gnome-font-viewer-" version ".tar.xz"))
1410 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1411 (build-system meson-build-system)
1414 (modify-phases %standard-phases
1415 (add-after 'unpack 'patch-post-install-script
1417 (substitute* "meson-postinstall.sh"
1418 (("update-desktop-database") (which "true")))
1421 `(("gettext" ,gettext-minimal)
1422 ("glib:bin" ,glib "bin")
1423 ("pkg-config" ,pkg-config)))
1426 ("gnome-desktop" ,gnome-desktop)
1428 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1429 (synopsis "GNOME Fonts")
1430 (description "Application to show you the fonts installed on your computer
1431 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1432 the font would look under various sizes.")
1433 (license license:gpl2+)))
1441 (uri (string-append "mirror://gnome/sources/" name "/"
1442 (version-major+minor version) "/"
1443 name "-" version ".tar.xz"))
1446 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
1449 ;; This patch solves an ordering issue that showed up when
1450 ;; running the test suite against newer Glib 2.60. See
1451 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
1454 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
1455 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
1456 (file-name "gcr-hashtable-ordering.patch")
1459 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
1460 (build-system gnu-build-system)
1463 (modify-phases %standard-phases
1464 ;; These fail because /var/lib/dbus/machine-id is not present in the
1465 ;; build environment.
1466 (add-after 'unpack 'disable-failing-tests
1468 (substitute* "gcr/test-system-prompt.c"
1469 (("g_test_add") "//")
1470 (("return.*") "return 0;"))
1472 (add-before 'check 'pre-check
1474 ;; Some tests expect to write to $HOME.
1475 (setenv "HOME" "/tmp")
1479 ("gnupg" ,gnupg) ;called as a child process during tests
1480 ("libgcrypt" ,libgcrypt)))
1482 `(("python" ,python-2) ;for tests
1483 ("pkg-config" ,pkg-config)
1484 ("glib" ,glib "bin")
1485 ("gobject-introspection" ,gobject-introspection)
1486 ("intltool" ,intltool)
1487 ("libxml2" ,libxml2)
1489 ("xsltproc" ,libxslt)))
1490 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1492 `(("p11-kit" ,p11-kit)
1495 (home-page "https://www.gnome.org")
1496 (synopsis "Libraries for displaying certificates and accessing key stores")
1498 "The GCR package contains libraries used for displaying certificates and
1499 accessing key stores. It also provides the viewer for crypto files on the
1501 (license license:lgpl2.1+)))
1503 (define-public libgnome-keyring
1505 (name "libgnome-keyring")
1509 (uri (string-append "mirror://gnome/sources/" name "/"
1510 (version-major+minor version) "/"
1511 name "-" version ".tar.xz"))
1514 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1515 (build-system gnu-build-system)
1517 `(("libgcrypt" ,libgcrypt)
1520 `(("pkg-config" ,pkg-config)
1521 ("glib" ,glib "bin")
1522 ("intltool" ,intltool)))
1524 ;; Referred to in .h files and .pc.
1526 (home-page "https://www.gnome.org")
1527 (synopsis "Accessing passwords from the GNOME keyring")
1529 "Client library to access passwords from the GNOME keyring.")
1531 ;; Though a couple of files are LGPLv2.1+.
1532 (license license:lgpl2.0+)))
1534 (define-public gnome-keyring
1536 (name "gnome-keyring")
1540 (uri (string-append "mirror://gnome/sources/" name "/"
1541 (version-major+minor version) "/"
1542 name "-" version ".tar.xz"))
1545 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
1546 (build-system gnu-build-system)
1548 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1552 (string-append "--with-pkcs11-config="
1553 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1554 (string-append "--with-pkcs11-modules="
1555 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1557 (modify-phases %standard-phases
1558 (add-after 'unpack 'fix-/bin/sh-reference
1560 (substitute* "po/Makefile.in.in"
1561 (("/bin/sh") (which "sh")))
1563 (add-after 'unpack 'fix-docbook
1564 (lambda* (#:key inputs #:allow-other-keys)
1565 (substitute* "docs/Makefile.am"
1566 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1567 (string-append (assoc-ref inputs "docbook-xsl")
1568 "/xml/xsl/docbook-xsl-"
1569 ,(package-version docbook-xsl)
1570 "/manpages/docbook.xsl")))
1571 (setenv "XML_CATALOG_FILES"
1572 (string-append (assoc-ref inputs "docbook-xml")
1573 "/xml/dtd/docbook/catalog.xml"))
1574 ;; Rerun the whole thing to avoid version mismatch ("This is
1575 ;; Automake 1.15.1, but the definition used by this
1576 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1577 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1580 (invoke "automake" "-ac"))))))
1582 `(("libgcrypt" ,libgcrypt)
1583 ("linux-pam" ,linux-pam)
1584 ("openssh" ,openssh)
1588 `(("pkg-config" ,pkg-config)
1589 ("glib" ,glib "bin")
1590 ("glib" ,glib) ; for m4 macros
1591 ("python" ,python-2) ;for tests
1592 ("intltool" ,intltool)
1593 ("autoconf" ,autoconf)
1594 ("automake" ,automake)
1595 ("libxslt" ,libxslt) ;for documentation
1596 ("docbook-xml" ,docbook-xml-4.2)
1597 ("docbook-xsl" ,docbook-xsl)))
1598 (home-page "https://www.gnome.org")
1599 (synopsis "Daemon to store passwords and encryption keys")
1601 "gnome-keyring is a program that keeps passwords and other secrets for
1602 users. It is run as a daemon in the session, similar to ssh-agent, and other
1603 applications locate it via an environment variable or D-Bus.
1605 The program can manage several keyrings, each with its own master password,
1606 and there is also a session keyring which is never stored to disk, but
1607 forgotten when the session ends.")
1608 (license license:lgpl2.1+)))
1610 (define-public evince
1616 (uri (string-append "mirror://gnome/sources/evince/"
1617 (version-major+minor version) "/"
1618 "evince-" version ".tar.xz"))
1621 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1622 (build-system glib-or-gtk-build-system)
1624 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1626 (modify-phases %standard-phases
1627 (add-before 'install 'skip-gtk-update-icon-cache
1628 ;; Don't create 'icon-theme.cache'.
1630 (substitute* "data/Makefile"
1631 (("gtk-update-icon-cache") "true"))
1634 `(("libarchive" ,libarchive)
1635 ("libgxps" ,libgxps)
1636 ("libspectre" ,libspectre)
1637 ("djvulibre" ,djvulibre)
1638 ("ghostscript" ,ghostscript)
1639 ("poppler" ,poppler)
1640 ("libtiff" ,libtiff)
1642 ;; Build libkpathsea as a shared library for DVI support.
1643 ;; ("libkpathsea" ,texlive-bin)
1644 ("gnome-desktop" ,gnome-desktop)
1645 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1647 ("libgnome-keyring" ,libgnome-keyring)
1648 ("adwaita-icon-theme" ,adwaita-icon-theme)
1649 ("gdk-pixbuf" ,gdk-pixbuf)
1654 ("libxml2" ,libxml2)
1657 ("shared-mime-info" ,shared-mime-info)
1659 ("libcanberra" ,libcanberra)
1660 ("libsecret" ,libsecret)
1663 ("dogtail" ,python2-dogtail)))
1665 `(("itstool" ,itstool)
1666 ("intltool" ,intltool)
1667 ("glib" ,glib "bin")
1668 ("gobject-introspection" ,gobject-introspection)
1669 ("pkg-config" ,pkg-config)
1670 ("xmllint" ,libxml2)))
1672 "https://www.gnome.org/projects/evince/")
1673 (synopsis "GNOME's document viewer")
1675 "Evince is a document viewer for multiple document formats. It
1676 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1677 of Evince is to replace the multiple document viewers that exist
1678 on the GNOME Desktop with a single simple application.")
1679 (license license:gpl2+)))
1681 (define-public gsettings-desktop-schemas
1683 (name "gsettings-desktop-schemas")
1688 (uri (string-append "mirror://gnome/sources/" name "/"
1689 (version-major+minor version) "/"
1690 name "-" version ".tar.xz"))
1693 "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d"))))
1694 (build-system meson-build-system)
1696 '(#:phases (modify-phases %standard-phases
1697 (add-after 'unpack 'patch-schemas
1698 (lambda* (#:key inputs #:allow-other-keys)
1699 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1700 (substitute* (find-files "schemas"
1701 "\\.gschema\\.xml\\.in$")
1702 ;; Provide the correct file name of the default GNOME
1703 ;; background, 'adwaita-timed.xml'.
1704 (("@datadir@/backgrounds/gnome")
1705 (string-append theme "/share/backgrounds/gnome"))
1706 ;; Do not reference fonts, that may not exist.
1707 (("'Source Code Pro 10'") "'Monospace 11'"))
1711 ("gnome-backgrounds" ,gnome-backgrounds)))
1713 `(("intltool" ,intltool)
1714 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1715 ("gobject-introspection" ,gobject-introspection)
1716 ("pkg-config" ,pkg-config)))
1717 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1719 "GNOME settings for various desktop components")
1721 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1722 for settings shared by various components of the GNOME desktop.")
1723 (license license:lgpl2.1+)))
1725 (define-public icon-naming-utils
1727 (name "icon-naming-utils")
1732 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1733 version ".tar.bz2"))
1736 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1737 (build-system gnu-build-system)
1740 ("perl-xml-simple" ,perl-xml-simple)))
1743 (modify-phases %standard-phases
1744 (add-after 'install 'set-load-paths
1745 ;; Tell 'icon-name-mapping' where XML::Simple is.
1746 (lambda* (#:key outputs #:allow-other-keys)
1747 (let* ((out (assoc-ref outputs "out"))
1748 (prog (string-append out "/libexec/icon-name-mapping")))
1751 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1753 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1755 "Utility to implement the Freedesktop Icon Naming Specification")
1757 "To help with the transition to the Freedesktop Icon Naming
1758 Specification, the icon naming utility maps the icon names used by the
1759 GNOME and KDE desktops to the icon names proposed in the specification.")
1760 (license license:lgpl2.1+)))
1762 (define-public gnome-icon-theme
1764 (name "gnome-icon-theme")
1769 (uri (string-append "mirror://gnome/sources/" name "/"
1770 (version-major+minor version) "/"
1771 name "-" version ".tar.xz"))
1774 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1775 (build-system gnu-build-system)
1778 ;; Don't create 'icon-theme.cache'.
1779 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1780 (true (string-append coreutils "/bin/true")))
1781 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1783 `(("icon-naming-utils" ,icon-naming-utils)
1784 ("intltool" ,intltool)
1785 ("pkg-config" ,pkg-config)))
1786 (home-page "https://wiki.gnome.org/Personalization")
1787 (synopsis "GNOME icon theme")
1788 (description "Icons for the GNOME desktop.")
1789 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1791 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1792 (define-public adwaita-icon-theme
1793 (package (inherit gnome-icon-theme)
1794 (name "adwaita-icon-theme")
1798 (uri (string-append "mirror://gnome/sources/" name "/"
1799 (version-major+minor version) "/"
1800 name "-" version ".tar.xz"))
1803 "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9"))))
1805 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1807 (define-public tango-icon-theme
1809 (name "tango-icon-theme")
1813 (uri (string-append "http://tango.freedesktop.org/releases/"
1814 "tango-icon-theme-" version ".tar.bz2"))
1817 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1818 (build-system gnu-build-system)
1820 `(("icon-naming-utils" ,icon-naming-utils)
1821 ("intltool" ,intltool)
1822 ("imagemagick" ,imagemagick)
1823 ("pkg-config" ,pkg-config)))
1824 (home-page "http://tango-project.org/")
1825 (synopsis "Tango icon theme")
1826 (description "This is an icon theme that follows the Tango visual
1828 (license license:public-domain)))
1830 (define-public shared-mime-info
1832 (name "shared-mime-info")
1836 (uri (string-append "https://freedesktop.org/~hadess/"
1837 "shared-mime-info-" version ".tar.xz"))
1840 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
1841 (build-system gnu-build-system)
1843 ;; The build system appears not to be parallel-safe.
1844 '(#:parallel-build? #f))
1847 ("libxml2" ,libxml2)))
1849 `(("intltool" ,intltool)
1850 ("pkg-config" ,pkg-config)))
1851 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1852 (synopsis "Database of common MIME types")
1854 "The shared-mime-info package contains the core database of common types
1855 and the update-mime-database command used to extend it. It requires glib2 to
1856 be installed for building the update command. Additionally, it uses intltool
1857 for translations, though this is only a dependency for the maintainers. This
1858 database is translated at Transifex.")
1859 (license license:gpl2+)))
1861 (define-public system-config-printer
1863 (name "system-config-printer")
1869 "https://github.com/OpenPrinting/system-config-printer/releases/"
1871 "/system-config-printer-" version ".tar.xz"))
1873 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1874 (build-system glib-or-gtk-build-system)
1876 `(#:imported-modules ((guix build python-build-system)
1877 ,@%glib-or-gtk-build-system-modules)
1879 (modify-phases %standard-phases
1880 (add-after 'unpack 'patch-Makefile.am
1882 ;; The Makefile generates some scripts, so set a valid shebang
1883 (substitute* "Makefile.am"
1884 (("/bin/bash") (which "bash")))
1885 (delete-file "configure")
1887 (add-after 'unpack 'patch-docbook-xml
1888 (lambda* (#:key inputs #:allow-other-keys)
1889 ;; Modify the man XML otherwise xmlto tries to access the network
1890 (substitute* "man/system-config-printer.xml"
1891 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1892 (string-append (assoc-ref inputs "docbook-xml")
1893 "/xml/dtd/docbook/")))
1895 (add-after 'install 'wrap-for-python
1896 (@@ (guix build python-build-system) wrap))
1897 (add-after 'install 'wrap
1898 (lambda* (#:key outputs #:allow-other-keys)
1899 (let ((out (assoc-ref outputs "out"))
1900 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1903 (wrap-program program
1904 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1906 (string-append out "/bin/" name))
1907 '("system-config-printer"
1908 "system-config-printer-applet"
1909 "install-printerdriver"
1910 "scp-dbus-service"))))
1913 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1914 ("gobject-introspection" ,gobject-introspection)
1917 ("python-dbus" ,python-dbus)
1918 ("python-pygobject" ,python-pygobject)
1919 ("python-pycups" ,python-pycups)
1920 ("python-requests" ,python-requests)
1921 ("python-pycairo" ,python-pycairo)
1922 ("libnotify" ,libnotify)
1923 ("packagekit" ,packagekit)))
1925 `(("pkg-config" ,pkg-config)
1926 ("desktop-file-utils" ,desktop-file-utils)
1928 ("autoconf" ,autoconf)
1929 ("automake" ,automake)
1930 ("intltool" ,intltool)
1932 ("docbook-xml" ,docbook-xml-4.1.2)
1933 ("docbook-xsl" ,docbook-xsl)
1934 ("libxml2" ,libxml2)))
1935 (home-page "https://github.com/zdohnal/system-config-printer")
1936 (synopsis "CUPS administration tool")
1938 "system-config-printer is a CUPS administration tool. It's written in
1939 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1941 (license license:gpl2+)))
1943 (define-public hicolor-icon-theme
1945 (name "hicolor-icon-theme")
1950 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1951 "hicolor-icon-theme-" version ".tar.xz"))
1954 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1955 (build-system gnu-build-system)
1957 `(#:tests? #f)) ; no check target
1958 (home-page "https://icon-theme.freedesktop.org/releases/")
1960 "Freedesktop icon theme")
1962 "Freedesktop icon theme.")
1963 (license license:gpl2)))
1965 (define-public libnotify
1972 (uri (string-append "mirror://gnome/sources/" name "/"
1973 (version-major+minor version) "/"
1974 name "-" version ".tar.xz"))
1977 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1978 (build-system gnu-build-system)
1980 `(#:configure-flags '("--disable-static")))
1982 `(;; In Requires of libnotify.pc.
1983 ("gdk-pixbuf" ,gdk-pixbuf)
1987 ("libpng" ,libpng)))
1989 `(("pkg-config" ,pkg-config)
1990 ("glib" ,glib "bin")
1991 ("gobject-introspection" ,gobject-introspection)))
1992 (home-page "https://developer-next.gnome.org/libnotify/")
1994 "GNOME desktop notification library")
1996 "Libnotify is a library that sends desktop notifications to a
1997 notification daemon, as defined in the Desktop Notifications spec. These
1998 notifications can be used to inform the user about an event or display
1999 some form of information without getting in the user's way.")
2000 (license license:lgpl2.1+)))
2002 (define-public libpeas
2009 (uri (string-append "mirror://gnome/sources/" name "/"
2010 (version-major+minor version) "/"
2011 name "-" version ".tar.xz"))
2014 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2015 (build-system meson-build-system)
2018 (modify-phases %standard-phases
2019 (add-before 'check 'start-xserver
2020 (lambda* (#:key inputs #:allow-other-keys)
2021 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2023 (setenv "DISPLAY" disp)
2024 ;; Tests require a running X server.
2025 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2031 ("python-pygobject" ,python-pygobject)))
2033 `(("pkg-config" ,pkg-config)
2034 ("gettext" ,gettext-minimal)
2035 ("glib:bin" ,glib "bin")
2036 ("gobject-introspection" ,gobject-introspection)
2037 ("xorg-server" ,xorg-server-for-tests)))
2039 ;; The .pc file "Requires" gobject-introspection.
2040 `(("gobject-introspection" ,gobject-introspection)))
2041 (home-page "https://wiki.gnome.org/Libpeas")
2042 (synopsis "GObject plugin system")
2044 "Libpeas is a gobject-based plugin engine, targeted at giving every
2045 application the chance to assume its own extensibility. It also has a set of
2046 features including, but not limited to: multiple extension points; on-demand
2047 (lazy) programming language support for C, Python and JS; simplicity of the
2049 (license license:lgpl2.0+)))
2051 (define-public gtkglext
2057 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2058 version "/gtkglext-" version ".tar.gz"))
2060 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2061 (patches (search-patches
2062 "gtkglext-disable-disable-deprecated.patch"))))
2063 (build-system gnu-build-system)
2066 (modify-phases %standard-phases
2067 ;; Fix a collision between a local variable and a definition from
2068 ;; glibc's string.h.
2069 (add-after 'unpack 'fix-collision
2071 (substitute* "gdk/gdkglshapes.c"
2072 ((" index") " triangle_index"))
2074 (inputs `(("gtk+" ,gtk+-2)
2079 (native-inputs `(("pkg-config" ,pkg-config)
2080 ("glib" ,glib "bin")))
2081 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2082 (home-page "https://projects.gnome.org/gtkglext")
2083 (synopsis "OpenGL extension to GTK+")
2084 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2085 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2086 API add-ons to make GTK+ widgets OpenGL-capable.")
2087 (license license:lgpl2.1+)))
2089 (define-public glade3
2095 (uri (string-append "mirror://gnome/sources/" name "/"
2096 (version-major+minor version) "/"
2097 name "-" version ".tar.xz"))
2100 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2101 (build-system glib-or-gtk-build-system)
2103 `(#:tests? #f ; needs X, GL, and software rendering
2105 (modify-phases %standard-phases
2106 (add-before 'configure 'fix-docbook
2107 (lambda* (#:key inputs #:allow-other-keys)
2108 (substitute* "man/Makefile.in"
2109 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2110 (string-append (assoc-ref inputs "docbook-xsl")
2111 "/xml/xsl/docbook-xsl-"
2112 ,(package-version docbook-xsl)
2113 "/manpages/docbook.xsl")))
2117 ("libxml2" ,libxml2)))
2119 `(("intltool" ,intltool)
2120 ("itstool" ,itstool)
2121 ("libxslt" ,libxslt) ;for xsltproc
2122 ("docbook-xml" ,docbook-xml-4.2)
2123 ("docbook-xsl" ,docbook-xsl)
2124 ("python" ,python-2)
2125 ("pkg-config" ,pkg-config)))
2126 (home-page "https://glade.gnome.org")
2127 (synopsis "GTK+ rapid application development tool")
2128 (description "Glade is a rapid application development (RAD) tool to
2129 enable quick & easy development of user interfaces for the GTK+ toolkit and
2130 the GNOME desktop environment.")
2131 (license license:lgpl2.0+)))
2133 (define-public libcroco
2139 (uri (string-append "mirror://gnome/sources/" name "/"
2140 (version-major+minor version) "/"
2141 name "-" version ".tar.xz"))
2144 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2145 (build-system gnu-build-system)
2147 `(("pkg-config" ,pkg-config)))
2150 ("libxml2" ,libxml2)
2152 (home-page "https://github.com/GNOME/libcroco")
2153 (synopsis "CSS2 parsing and manipulation library")
2155 "Libcroco is a standalone CSS2 parsing and manipulation library.
2156 The parser provides a low level event driven SAC-like API and a CSS object
2157 model like API. Libcroco provides a CSS2 selection engine and an experimental
2158 XML/CSS rendering engine.")
2161 (license license:lgpl2.1)))
2163 (define-public libgsf
2169 (uri (string-append "mirror://gnome/sources/" name "/"
2170 (version-major+minor version) "/"
2171 name "-" version ".tar.xz"))
2174 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
2175 (build-system gnu-build-system)
2177 `(("intltool" ,intltool)
2178 ("pkg-config" ,pkg-config)))
2180 `(("python" ,python)
2184 `(("gdk-pixbuf" ,gdk-pixbuf)
2186 ("libxml2" ,libxml2)))
2187 (home-page "https://www.gnome.org/projects/libgsf")
2188 (synopsis "GNOME's Structured File Library")
2190 "Libgsf aims to provide an efficient extensible I/O abstraction for
2191 dealing with different structured file formats.")
2194 (license license:lgpl2.1)))
2196 (define-public librsvg
2198 (replacement librsvg/fixed)
2203 (uri (string-append "mirror://gnome/sources/" name "/"
2204 (version-major+minor version) "/"
2205 name "-" version ".tar.xz"))
2208 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
2209 (build-system gnu-build-system)
2212 (list "--disable-static"
2213 "--enable-vala") ; needed for e.g. gnome-mines
2215 (modify-phases %standard-phases
2216 (add-before 'configure 'pre-configure
2217 (lambda* (#:key inputs #:allow-other-keys)
2218 (substitute* "gdk-pixbuf-loader/Makefile.in"
2219 ;; By default the gdk-pixbuf loader is installed under
2220 ;; gdk-pixbuf's prefix. Work around that.
2221 (("gdk_pixbuf_moduledir = .*$")
2222 (string-append "gdk_pixbuf_moduledir = "
2223 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2225 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2226 (("gdk_pixbuf_cache_file = .*$")
2227 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2229 (add-before 'check 'remove-failing-tests
2231 (with-directory-excursion "tests/fixtures/reftests"
2232 (for-each delete-file
2233 '(;; This test fails on i686:
2234 "svg1.1/masking-path-04-b.svg"
2235 ;; This test fails on armhf:
2236 "svg1.1/masking-mask-01-b.svg"
2237 ;; This test fails on aarch64:
2238 "bugs/777834-empty-text-children.svg")))
2241 `(("pkg-config" ,pkg-config)
2243 ("glib" ,glib "bin") ; glib-mkenums, etc.
2244 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2247 ("libcroco" ,libcroco)
2250 ("libxml2" ,libxml2)))
2252 ;; librsvg-2.0.pc refers to all of that.
2254 ("gdk-pixbuf" ,gdk-pixbuf)
2256 (home-page "https://wiki.gnome.org/LibRsvg")
2257 (synopsis "Render SVG files using Cairo")
2259 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2261 (license license:lgpl2.0+)))
2263 (define librsvg/fixed
2270 (uri (string-append "mirror://gnome/sources/" name "/"
2271 (version-major+minor version) "/"
2272 name "-" version ".tar.xz"))
2275 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))))
2277 (define-public librsvg-next
2284 (uri (string-append "mirror://gnome/sources/librsvg/"
2285 (version-major+minor version) "/"
2286 "librsvg-" version ".tar.xz"))
2289 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2290 (modules '((guix build utils)))
2292 '(begin (delete-file-recursively "vendor")
2293 ;; Don't demand an exact version for string_cache
2294 (substitute* "rsvg_internals/Cargo.toml"
2297 (build-system cargo-build-system)
2299 `(#:modules ((guix build cargo-build-system)
2301 ((guix build gnu-build-system) #:prefix gnu:))
2302 #:vendor-dir "vendor"
2304 (("rust-bitflags" ,rust-bitflags-1)
2305 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2306 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2307 ("rust-cssparser" ,rust-cssparser-0.25)
2308 ("rust-data-url" ,rust-data-url-0.1)
2309 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2310 ("rust-encoding" ,rust-encoding-0.2)
2311 ("rust-float-cmp" ,rust-float-cmp-0.5)
2312 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2313 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2314 ("rust-gio" ,rust-gio-0.7)
2315 ("rust-gio-sys" ,rust-gio-sys-0.9)
2316 ("rust-glib" ,rust-glib-0.8)
2317 ("rust-glib-sys" ,rust-glib-sys-0.9)
2318 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2319 ("rust-itertools" ,rust-itertools-0.8)
2320 ("rust-language-tags" ,rust-language-tags-0.2)
2321 ("rust-lazy-static" ,rust-lazy-static-1)
2322 ("rust-libc" ,rust-libc-0.2)
2323 ("rust-locale-config" ,rust-locale-config-0.3)
2324 ("rust-markup5ever" ,rust-markup5ever-0.9)
2325 ("rust-nalgebra" ,rust-nalgebra-0.18)
2326 ("rust-num-traits" ,rust-num-traits-0.2)
2327 ("rust-pkg-config" ,rust-pkg-config-0.3)
2328 ("rust-pango" ,rust-pango-0.7)
2329 ("rust-pango-sys" ,rust-pango-sys-0.9)
2330 ("rust-pangocairo" ,rust-pangocairo-0.8)
2331 ("rust-phf" ,rust-phf-0.7)
2332 ("rust-rayon" ,rust-rayon-1.3)
2333 ("rust-rctree" ,rust-rctree-0.3)
2334 ("rust-string-cache" ,rust-string-cache-0.7)
2335 ("rust-regex" ,rust-regex-1.3)
2336 ("rust-url" ,rust-url-2.1)
2337 ("rust-xml-rs" ,rust-xml-rs-0.8))
2338 #:cargo-development-inputs
2339 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2340 ("rust-criterion" ,rust-criterion-0.2))
2342 (modify-phases %standard-phases
2343 (add-after 'unpack 'prepare-for-build
2345 ;; In lieu of #:make-flags
2347 ;; Something about the build environment resists building
2348 ;; successfully with the '--locked' flag.
2349 (substitute* '("Makefile.am"
2353 (add-before 'configure 'pre-configure
2355 (substitute* "gdk-pixbuf-loader/Makefile.in"
2356 ;; By default the gdk-pixbuf loader is installed under
2357 ;; gdk-pixbuf's prefix. Work around that.
2358 (("gdk_pixbuf_moduledir = .*$")
2359 (string-append "gdk_pixbuf_moduledir = "
2360 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2362 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2363 (("gdk_pixbuf_cache_file = .*$")
2364 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2366 (add-after 'configure 'gnu-configure
2367 (assoc-ref gnu:%standard-phases 'configure))
2368 ;(lambda* (#:key outputs #:allow-other-keys)
2369 ; ((assoc-ref gnu:%standard-phases 'configure)
2371 ; #:configure-flags ("--disable-static"
2372 ; "--enable-vala"))))
2373 (add-after 'configure 'dont-vendor-self
2374 (lambda* (#:key vendor-dir #:allow-other-keys)
2375 ;; Don't keep the whole tarball in the vendor directory
2376 (delete-file-recursively
2377 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2380 (assoc-ref gnu:%standard-phases 'build))
2383 ((assoc-ref gnu:%standard-phases 'check)
2384 #:test-target "check")))
2386 (assoc-ref gnu:%standard-phases 'install))
2387 (add-before 'check 'remove-failing-tests
2389 (with-directory-excursion "tests/fixtures/reftests"
2390 (for-each delete-file
2391 '(;; The images produced by these tests differ slightly
2392 ;; from their reference counterparts due to differences
2393 ;; in the build environment (missing fonts, etc). See
2394 ;; <tests/README.md> for details.
2395 ;; These fail on x86_64.
2396 "svg1.1/coords-viewattr-02-b.svg"
2397 "svg1.1/filters-composite-04-f.svg"
2398 "svg1.1/filters-image-01-b.svg"
2399 "svg1.1/filters-conv-02-f.svg"
2400 "svg1.1/filters-conv-04-f.svg"
2401 ;; This test fails on i686:
2402 "svg1.1/masking-path-04-b.svg"
2403 ;; This test fails on armhf:
2404 "svg1.1/masking-mask-01-b.svg"
2405 ;; This test fails on aarch64:
2406 "bugs/777834-empty-text-children.svg")))
2408 (license license:lgpl2.1+)))
2410 (define-public libidl
2416 (uri (string-append "mirror://gnome/sources/libIDL/"
2417 (version-major+minor version) "/"
2418 "libIDL-" version ".tar.bz2"))
2421 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2422 (build-system gnu-build-system)
2423 (inputs `(("glib" ,glib)))
2425 `(("pkg-config" ,pkg-config)
2428 (home-page "http://freecode.com/projects/libidl")
2429 (synopsis "Create trees of CORBA Interface Definition Language files")
2430 (description "Libidl is a library for creating trees of CORBA Interface
2431 Definition Language (idl) files, which is a specification for defining
2432 portable interfaces. libidl was initially written for orbit (the orb from the
2433 GNOME project, and the primary means of libidl distribution). However, the
2434 functionality was designed to be as reusable and portable as possible.")
2435 (properties `((upstream-name . "libIDL")))
2436 (license license:lgpl2.0+)))
2439 (define-public orbit2
2445 (uri (let ((upstream-name "ORBit2"))
2446 (string-append "mirror://gnome/sources/" upstream-name "/"
2447 (version-major+minor version) "/"
2448 upstream-name "-" version ".tar.bz2")))
2451 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2452 (build-system gnu-build-system)
2455 '(;; We don't need static libraries, plus they don't build reproducibly
2456 ;; (non-deterministic ordering of .o files in the archive.)
2459 ;; The programmer kindly gives us a hook to turn off deprecation
2461 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2462 ;; ... which they then completly ignore !!
2464 (modify-phases %standard-phases
2465 (add-before 'configure 'ignore-deprecations
2467 (substitute* "linc2/src/Makefile.in"
2468 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2470 (inputs `(("glib" ,glib)
2471 ("libidl" ,libidl)))
2473 `(("pkg-config" ,pkg-config)))
2474 (home-page "https://projects.gnome.org/orbit2/")
2475 (synopsis "CORBA 2.4-compliant Object Request Broker")
2476 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2477 featuring mature C, C++ and Python bindings.")
2478 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2479 ;; a version. SOME of the code files have licence notices for GPLv2+.
2480 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2481 (license license:gpl2+)
2482 (properties `((upstream-name . "ORBit2")))))
2485 (define-public libbonobo
2491 (uri (string-append "mirror://gnome/sources/" name "/"
2492 (version-major+minor version)
2493 "/" name "-" version ".tar.bz2"))
2495 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2496 (patches (search-patches
2497 "libbonobo-activation-test-race.patch"))))
2498 (build-system gnu-build-system)
2500 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2502 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2503 ;; ... which they then completly ignore !!
2505 (modify-phases %standard-phases
2506 (add-before 'configure 'ignore-deprecations
2508 (substitute* "activation-server/Makefile.in"
2509 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2512 ;; There's apparently a race condition between the server stub
2513 ;; generation and linking of the example under 'samples/echo' that can
2514 ;; lead do undefined references when building in parallel, as reported
2515 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2516 ;; Thus, disable parallel builds.
2517 #:parallel-build? #f))
2518 (inputs `(("popt" ,popt)
2519 ("libxml2" ,libxml2)))
2520 ;; The following are Required by the .pc file
2523 ("orbit2" ,orbit2)))
2525 `(("intltool" ,intltool)
2526 ("pkg-config" ,pkg-config)
2527 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2530 (home-page "https://developer.gnome.org/libbonobo/")
2531 (synopsis "Framework for creating reusable components for use in GNOME applications")
2532 (description "Bonobo is a framework for creating reusable components for
2533 use in GNOME applications, built on top of CORBA.")
2534 ;; Licence not explicitly stated. Source files contain no licence notices.
2535 ;; Tarball contains text of both GPLv2 and LGPLv2
2536 ;; GPLv2 covers both conditions
2537 (license license:gpl2+)))
2540 (define-public gconf
2547 (let ((upstream-name "GConf"))
2548 (string-append "mirror://gnome/sources/" upstream-name "/"
2549 (version-major+minor version) "/"
2550 upstream-name "-" version ".tar.xz")))
2552 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2553 (build-system gnu-build-system)
2554 (inputs `(("dbus-glib" ,dbus-glib)
2555 ("libxml2" ,libxml2)))
2556 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2557 ("orbit2" ,orbit2)))
2559 `(("intltool" ,intltool)
2560 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2561 ("pkg-config" ,pkg-config)))
2562 (home-page "https://projects.gnome.org/gconf/")
2563 (synopsis "Store application preferences")
2564 (description "Gconf is a system for storing application preferences. It
2565 is intended for user preferences; not arbitrary data storage.")
2566 (license license:lgpl2.0+)
2567 (properties '((upstream-name . "GConf")))))
2570 (define-public gnome-mime-data
2572 (name "gnome-mime-data")
2576 (uri (string-append "mirror://gnome/sources/" name "/"
2577 (version-major+minor version) "/"
2578 name "-" version ".tar.bz2"))
2581 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2582 (build-system gnu-build-system)
2585 ("intltool" ,intltool)))
2587 '(#:phases (modify-phases %standard-phases
2588 (add-after 'configure 'use-our-intltool
2590 ;; Do not use the bundled intltool commands, which lack
2591 ;; the "dotless @INC" fixes of our 'intltool' package.
2592 (substitute* (find-files "." "^Makefile$")
2593 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2594 (string-append "INTLTOOL_" tool " = intltool-"
2595 (string-downcase tool) "\n")))
2597 (home-page "https://www.gnome.org")
2598 (synopsis "Base MIME and Application database for GNOME")
2599 (description "GNOME Mime Data is a module which contains the base MIME
2600 and Application database for GNOME. The data stored by this module is
2601 designed to be accessed through the MIME functions in GnomeVFS.")
2602 (license license:gpl2+)))
2605 (define-public gnome-vfs
2611 (uri (string-append "mirror://gnome/sources/" name "/"
2612 (version-major+minor version) "/"
2613 name "-" version ".tar.bz2"))
2616 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2617 (build-system gnu-build-system)
2620 (modify-phases %standard-phases
2621 (add-before 'configure 'ignore-deprecations
2623 (substitute* '("libgnomevfs/Makefile.in"
2624 "daemon/Makefile.in")
2625 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2627 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2629 (substitute* "test/test-async-cancel.c"
2630 (("EXIT_FAILURE") "77"))
2632 (inputs `(("libxml2" ,libxml2)
2633 ("dbus-glib" ,dbus-glib)
2635 ("gnome-mime-data" ,gnome-mime-data)
2638 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2639 ("intltool" ,intltool)
2640 ("pkg-config" ,pkg-config)))
2641 (home-page "https://developer.gnome.org/gnome-vfs/")
2642 (synopsis "Access files and folders in GNOME applications")
2644 "GnomeVFS is the core library used to access files and folders in GNOME
2645 applications. It provides a file system abstraction which allows applications
2646 to access local and remote files with a single consistent API.")
2647 (license license:lgpl2.0+)))
2651 (define-public libgnome
2657 (uri (string-append "mirror://gnome/sources/" name "/"
2658 (version-major+minor version) "/"
2659 name "-" version ".tar.bz2"))
2662 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2663 (patches (search-patches "libgnome-encoding.patch"))))
2664 (build-system gnu-build-system)
2667 (modify-phases %standard-phases
2668 (add-before 'configure 'enable-deprecated
2670 (substitute* "libgnome/Makefile.in"
2671 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2673 (inputs `(("libxml2" ,libxml2)))
2675 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2676 ("intltool" ,intltool)
2677 ("pkg-config" ,pkg-config)))
2678 ;; The following are listed as Required in the .pc file
2679 ;; (except for libcanberra -- which seems to be oversight on the part
2680 ;; of the upstream developers -- anything that links against libgnome,
2681 ;; must also link against libcanberra
2683 `(("libcanberra" ,libcanberra)
2684 ("libbonobo" ,libbonobo)
2686 ("gnome-vfs" ,gnome-vfs)
2687 ("popt" ,popt))) ;gnome-program.h includes popt.h
2688 (home-page "https://developer.gnome.org/libgnome/")
2689 (synopsis "Useful routines for building applications")
2690 (description "The libgnome library provides a number of useful routines
2691 for building modern applications, including session management, activation of
2692 files and URIs, and displaying help.")
2693 (license license:lgpl2.0+)))
2696 (define-public libart-lgpl
2698 (name "libart-lgpl")
2702 (uri (let ((upstream-name "libart_lgpl"))
2703 (string-append "mirror://gnome/sources/" upstream-name "/"
2704 (version-major+minor version) "/"
2705 upstream-name "-" version ".tar.bz2")))
2708 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2709 (build-system gnu-build-system)
2711 `(("pkg-config" ,pkg-config)))
2712 (home-page "https://people.gnome.org/~mathieu/libart")
2713 (synopsis "2D drawing library")
2714 (description "Libart is a 2D drawing library intended as a
2715 high-quality vector-based 2D library with antialiasing and alpha composition.")
2716 (license license:lgpl2.0+)))
2720 (define-public libgnomecanvas
2722 (name "libgnomecanvas")
2726 (uri (string-append "mirror://gnome/sources/" name "/"
2727 (version-major+minor version) "/"
2728 name "-" version ".tar.gz"))
2731 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2732 (build-system gnu-build-system)
2733 ;; Mentioned as Required in the .pc file
2734 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2737 `(("intltool" ,intltool)
2738 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2739 ("pkg-config" ,pkg-config)))
2740 (home-page "https://developer.gnome.org/libgnomecanvas/")
2741 (synopsis "Flexible widget for creating interactive structured graphics")
2742 (description "The GnomeCanvas widget provides a flexible widget for
2743 creating interactive structured graphics.")
2744 (license license:lgpl2.0+)))
2746 (define-public libgnomecanvasmm
2748 (name "libgnomecanvasmm")
2752 (uri (string-append "mirror://gnome/sources/" name "/"
2753 (version-major+minor version) "/"
2754 name "-" version ".tar.bz2"))
2757 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2758 (build-system gnu-build-system)
2759 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2761 `(("gtkmm-2" ,gtkmm-2)
2762 ("pkg-config" ,pkg-config)))
2763 (home-page "https://gtkmm.org")
2764 (synopsis "C++ bindings to the GNOME Canvas library")
2765 (description "C++ bindings to the GNOME Canvas library.")
2766 (license license:lgpl2.0+)))
2768 (define-public libgnomeui
2774 (uri (string-append "mirror://gnome/sources/" name "/"
2775 (version-major+minor version) "/"
2776 name "-" version ".tar.bz2"))
2777 (patches (search-patches "libgnomeui-utf8.patch"))
2780 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2781 (build-system gnu-build-system)
2782 ;; Mentioned as Required in the .pc file
2783 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2784 ("libgnome" ,libgnome)
2785 ("libgnomecanvas" ,libgnomecanvas)
2786 ("libgnome-keyring" ,libgnome-keyring)))
2787 (inputs `(("libjpeg" ,libjpeg)
2789 ("libbonobo" ,libbonobo)
2790 ("libxml2" ,libxml2)
2791 ("libglade" ,libglade)))
2793 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2794 ("intltool" ,intltool)
2795 ("pkg-config" ,pkg-config)))
2796 (home-page "https://developer.gnome.org/libgnomeui/")
2797 (synopsis "Additional widgets for applications")
2798 (description "The libgnomeui library provides additional widgets for
2799 applications. Many of the widgets from libgnomeui have already been
2801 (license license:lgpl2.0+)))
2803 (define-public libglade
2809 (uri (string-append "mirror://gnome/sources/" name "/"
2810 (version-major+minor version) "/"
2811 name "-" version ".tar.bz2"))
2814 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2815 (build-system gnu-build-system)
2817 `(("python" ,python))) ;; needed for the optional libglade-convert program
2819 `(("gtk+-2" ,gtk+-2)
2820 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2822 `(("pkg-config" ,pkg-config)))
2823 (home-page "https://developer.gnome.org/libglade")
2824 (synopsis "Load glade interfaces and access the glade built widgets")
2825 (description "Libglade is a library that provides interfaces for loading
2826 graphical interfaces described in glade files and for accessing the
2827 widgets built in the loading process.")
2828 (license license:gpl2+))) ; This is correct. GPL not LGPL
2830 (define-public libgnomeprint
2831 ;; This library has been deprecated since 2006; see
2832 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2834 (name "libgnomeprint")
2838 (uri (string-append "mirror://gnome/sources/" name "/"
2839 (version-major+minor version) "/"
2840 name "-" version ".tar.bz2"))
2843 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2844 (build-system gnu-build-system)
2847 ("libart-lgpl" ,libart-lgpl)
2849 ("libxml2" ,libxml2)))
2851 `(("intltool" ,intltool)
2852 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2853 ("pkg-config" ,pkg-config)))
2854 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2855 (synopsis "Printing framework for GNOME")
2857 "GNOME-print was a printing framework for GNOME. It has been deprecated
2858 since ca. 2006, when GTK+ itself incorporated printing support.")
2859 (license license:lgpl2.0+)))
2862 (define-public libgnomeprintui
2863 ;; Deprecated; see libgnomeprint.
2865 (name "libgnomeprintui")
2869 (uri (string-append "mirror://gnome/sources/" name "/"
2870 (version-major+minor version) "/"
2871 name "-" version ".tar.bz2"))
2874 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2875 (build-system gnu-build-system)
2876 ;; Mentioned as Required in the .pc file
2877 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2878 (inputs `(("gtk+" ,gtk+-2)
2880 ("gnome-icon-theme" ,gnome-icon-theme)
2881 ("libgnomecanvas" ,libgnomecanvas)
2882 ("libxml2" ,libxml2)))
2884 `(("intltool" ,intltool)
2885 ("pkg-config" ,pkg-config)))
2886 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2887 (synopsis "Printing framework for GNOME")
2888 (description (package-description libgnomeprint))
2889 (license license:lgpl2.0+)))
2891 (define-public libbonoboui
2893 (name "libbonoboui")
2897 (uri (string-append "mirror://gnome/sources/" name "/"
2898 (version-major+minor version) "/"
2899 name "-" version ".tar.bz2"))
2902 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2903 (build-system gnu-build-system)
2906 (modify-phases %standard-phases
2907 (add-before 'check 'start-xserver
2908 (lambda* (#:key inputs #:allow-other-keys)
2909 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2912 (setenv "HOME" (getcwd))
2913 (setenv "DISPLAY" disp)
2914 ;; There must be a running X server and make check doesn't start one.
2915 ;; Therefore we must do it.
2916 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2917 ;; Mentioned as Required by the .pc file
2918 (propagated-inputs `(("libxml2" ,libxml2)))
2921 ("pangox-compat" ,pangox-compat)
2922 ("libgnome" ,libgnome)
2923 ("libgnomecanvas" ,libgnomecanvas)
2924 ("libglade" ,libglade)))
2926 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2927 ("intltool" ,intltool)
2928 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2929 ("pkg-config" ,pkg-config)))
2930 (home-page "https://developer.gnome.org/libbonoboui/")
2931 (synopsis "Some user interface controls using Bonobo")
2932 (description "The Bonobo UI library provides a number of user interface
2933 controls using the Bonobo component framework.")
2934 (license license:lgpl2.0+)))
2936 (define-public libwnck
2942 (uri (string-append "mirror://gnome/sources/" name "/"
2943 (version-major+minor version) "/"
2944 name "-" version ".tar.xz"))
2947 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2948 (build-system meson-build-system)
2950 `(("pkg-config" ,pkg-config)
2951 ("glib" ,glib "bin") ; for glib-mkenums
2952 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2953 ("intltool" ,intltool)))
2956 ("libxres" ,libxres)
2957 ("startup-notification" ,startup-notification)))
2958 (home-page "https://developer.gnome.org/libwnck/")
2959 (synopsis "Window Navigator Construction Kit")
2961 "Libwnck is the Window Navigator Construction Kit, a library for use in
2962 writing pagers, tasklists, and more generally applications that are dealing
2963 with window management. It tries hard to respect the Extended Window Manager
2964 Hints specification (EWMH).")
2965 (license license:lgpl2.0+)))
2967 ;; stable version for gtk2, required by xfwm4.
2968 (define-public libwnck-2
2969 (package (inherit libwnck)
2974 (uri (string-append "mirror://gnome/sources/" name "/"
2975 (version-major+minor version) "/"
2976 name "-" version ".tar.xz"))
2979 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2980 (build-system gnu-build-system)
2982 `(("pkg-config" ,pkg-config)
2983 ("intltool" ,intltool)))
2986 ("libxres" ,libxres)
2987 ("startup-notification" ,startup-notification)))))
2989 (define-public goffice
2995 (uri (string-append "mirror://gnome/sources/goffice/"
2996 (version-major+minor version) "/"
2997 "goffice-" version ".tar.xz"))
2999 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
3000 (build-system gnu-build-system)
3002 "doc")) ; 4.0 MiB of gtk-doc
3004 '(#:configure-flags (list (string-append "--with-html-dir="
3005 (assoc-ref %outputs "doc")
3006 "/share/gtk-doc/html"))))
3010 ("librsvg" ,librsvg)
3011 ("libxslt" ,libxslt)
3012 ("libxml2" ,libxml2)))
3014 `(("intltool" ,intltool)
3015 ("glib" ,glib "bin")
3016 ("pkg-config" ,pkg-config)))
3017 (home-page "https://developer.gnome.org/goffice/")
3018 (synopsis "Document-centric objects and utilities")
3019 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3021 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3023 (list license:gpl2 license:gpl3))))
3025 (define-public goffice-0.8
3026 (package (inherit goffice)
3030 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3031 (version-major+minor version) "/"
3032 (package-name goffice) "-" version ".tar.xz"))
3034 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3037 (modify-phases %standard-phases
3038 (add-after 'unpack 'fix-pcre-check
3040 ;; Only glib.h can be included directly. See
3041 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3042 (substitute* "configure"
3043 (("glib/gregex\\.h") "glib.h")) #t)))
3045 ,@(package-arguments goffice)))
3047 ;; libgoffice-0.8.pc mentions libgsf-1
3048 `(("libgsf" ,libgsf)))
3051 ,@(alist-delete "gtk" (package-inputs goffice))))))
3053 (define-public gnumeric
3059 (uri (string-append "mirror://gnome/sources/gnumeric/"
3060 (version-major+minor version) "/"
3061 "gnumeric-" version ".tar.xz"))
3064 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3065 (build-system glib-or-gtk-build-system)
3067 `(;; The gnumeric developers don't worry much about failing tests.
3068 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3071 (modify-phases %standard-phases
3073 'configure 'pre-conf
3074 (lambda* (#:key outputs #:allow-other-keys)
3075 ;; Make install tries to write into the directory of goffice
3076 ;; I am informed that this only affects the possibility to embed a
3077 ;; spreadsheet inside an Abiword document. So presumably when we
3078 ;; package Abiword we'll have to refer it to this directory.
3079 (substitute* "configure"
3080 (("^GOFFICE_PLUGINS_DIR=.*")
3081 (string-append "GOFFICE_PLUGINS_DIR="
3082 (assoc-ref outputs "out")
3083 "/goffice/plugins"))))))))
3087 ("goffice" ,goffice)
3089 ("librsvg" ,librsvg)
3090 ("libxml2" ,libxml2)
3091 ("libxslt" ,libxslt)
3092 ("python" ,python-2)
3093 ("python2-pygobject" ,python2-pygobject)
3097 ("docbook-xml" ,docbook-xml)
3098 ("intltool" ,intltool)
3099 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
3100 ("glib:bin" ,glib "bin")
3101 ("pkg-config" ,pkg-config)))
3102 (home-page "http://www.gnumeric.org")
3103 (synopsis "Spreadsheet application")
3105 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3106 interoperable with other spreadsheet applications. It has a vast array of
3107 features beyond typical spreadsheet functionality, such as support for linear
3108 and non-linear solvers, statistical analysis, and telecommunication
3111 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3112 (list license:gpl2 license:gpl3))))
3114 (define-public gnome-themes-standard
3116 (name "gnome-themes-standard")
3121 (uri (string-append "mirror://gnome/sources/" name "/"
3122 (version-major+minor version) "/" name "-"
3126 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3127 (build-system gnu-build-system)
3130 ;; Don't create 'icon-theme.cache'.
3131 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3132 (true (string-append coreutils "/bin/true")))
3133 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3137 ("librsvg" ,librsvg)
3138 ("libxml2" ,libxml2)
3141 `(("intltool" ,intltool)
3142 ("glib:bin" ,glib "bin")
3143 ("pkg-config" ,pkg-config)))
3144 (home-page "https://launchpad.net/gnome-themes-standard")
3145 (synopsis "Default GNOME 3 themes")
3147 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3148 (license license:lgpl2.1+)))
3150 (define-public seahorse
3157 (uri (string-append "mirror://gnome/sources/" name "/"
3158 (version-major+minor version) "/" name "-"
3162 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
3163 (patches (search-patches
3164 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3165 (build-system meson-build-system)
3169 (modify-phases %standard-phases
3170 (add-after 'unpack 'skip-gtk-update-icon-cache
3171 ;; Don't create 'icon-theme.cache'.
3173 (substitute* "build-aux/meson_post_install.py"
3174 (("gtk-update-icon-cache") "true"))
3181 ("openldap" ,openldap)
3182 ("openssh" ,openssh)
3184 ("libpwquality" ,libpwquality)
3185 ("libsecret" ,libsecret)
3186 ("libsoup" ,libsoup)))
3188 `(("gettext" ,gettext-minimal)
3189 ("glib:bin" ,glib "bin")
3190 ("itstool" ,itstool)
3191 ("pkg-config" ,pkg-config)
3193 ("xmllint" ,libxml2)))
3194 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3195 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3197 "Seahorse is a GNOME application for managing encryption keys and
3198 passwords in the GNOME keyring.")
3199 (license license:gpl2+)))
3207 (uri (string-append "mirror://gnome/sources/" name "/"
3208 (version-major+minor version) "/"
3209 name "-" version ".tar.xz"))
3212 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
3213 (build-system gnu-build-system)
3216 (modify-phases %standard-phases
3217 (add-before 'check 'pre-check
3220 (substitute* "valadoc/tests/testrunner.sh"
3221 (("export PKG_CONFIG_PATH=" m)
3222 (string-append m "$PKG_CONFIG_PATH:")))
3223 ;; For missing '/etc/machine-id'.
3224 (setenv "DBUS_FATAL_WARNINGS" "0")
3227 `(("pkg-config" ,pkg-config)
3230 ("xsltproc" ,libxslt)
3231 ("dbus" ,dbus) ; for dbus tests
3232 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3234 `(("graphviz" ,graphviz)))
3236 `(("glib" ,glib))) ; required by libvala-0.40.pc
3237 (home-page "https://live.gnome.org/Vala/")
3238 (synopsis "Compiler for the GObject type system")
3240 "Vala is a programming language that aims to bring modern programming
3241 language features to GNOME developers without imposing any additional runtime
3242 requirements and without using a different ABI compared to applications and
3243 libraries written in C.")
3244 (license license:lgpl2.1+)))
3252 (uri (string-append "mirror://gnome/sources/vte/"
3253 (version-major+minor version) "/"
3254 "vte-" version ".tar.xz"))
3257 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3258 (build-system meson-build-system)
3260 `(("pkg-config" ,pkg-config)
3261 ("intltool" ,intltool)
3263 ("gobject-introspection" ,gobject-introspection)
3264 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3266 ("xmllint" ,libxml2)))
3268 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3269 ("gnutls" ,gnutls) ; ditto
3270 ("pcre2" ,pcre2))) ; ditto
3271 (home-page "https://www.gnome.org/")
3272 (synopsis "Virtual Terminal Emulator")
3274 "VTE is a library (libvte) implementing a terminal emulator widget for
3275 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3276 gnome-terminal, but can also be used to embed a console/terminal in games,
3277 editors, IDEs, etc.")
3278 (license license:lgpl2.1+)))
3280 (define-public vte-ng
3284 (version "0.58.2.a")
3285 (home-page "https://github.com/thestinger/vte-ng")
3288 (uri (git-reference (url home-page) (commit version)))
3289 (file-name (git-file-name name version))
3292 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3293 (build-system meson-build-system)
3295 `(("gtk-doc" ,gtk-doc)
3296 ,@(package-native-inputs vte)))
3298 `(#:configure-flags '("-Ddocs=true")))
3299 (synopsis "Enhanced VTE terminal widget")
3301 "VTE is a library (libvte) implementing a terminal emulator widget for
3302 GTK+, this fork provides additional functions exposed for keyboard text
3303 selection and URL hints.")))
3305 ;; provides vte 2.90, required for some terminal emulators
3306 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3307 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3308 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3309 ;; pantheon-terminal, roxterm are not currently packaged
3310 (define-public vte-0.36
3311 (package (inherit vte)
3316 (uri (string-append "mirror://gnome/sources/" name "/"
3317 (version-major+minor version) "/"
3318 name "-" version ".tar.xz"))
3321 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3324 ("ncurses" ,ncurses)))))
3326 ;; stable version for gtk2, required by xfce4-terminal.
3327 (define-public vte/gtk+-2
3328 (package (inherit vte)
3333 (uri (string-append "mirror://gnome/sources/" name "/"
3334 (version-major+minor version) "/"
3335 name "-" version ".tar.xz"))
3338 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3339 (patches (search-patches
3340 "vte-CVE-2012-2738-pt1.patch"
3341 "vte-CVE-2012-2738-pt2.patch"))))
3342 (build-system gnu-build-system)
3344 '(#:configure-flags '("--disable-python")))
3346 `(("pkg-config" ,pkg-config)
3347 ("intltool" ,intltool)
3348 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3350 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3351 ("ncurses" ,ncurses))))) ; required by libvte.la
3353 (define-public vinagre
3359 (uri (string-append "mirror://gnome/sources/" name "/"
3360 (version-major+minor version) "/"
3361 name "-" version ".tar.xz"))
3362 (patches (search-patches "vinagre-newer-freerdp.patch"
3363 "vinagre-newer-rdp-parameters.patch"))
3366 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3367 (build-system glib-or-gtk-build-system)
3369 ;; Disable -Werror and such, to avoid build failures on compilation
3371 '(#:configure-flags '("--enable-compile-warnings=minimum")
3373 (modify-phases %standard-phases
3374 (add-before 'install 'skip-gtk-update-icon-cache
3376 ;; Don't create 'icon-theme.cache'
3377 (substitute* (find-files "." "^Makefile$")
3378 (("gtk-update-icon-cache") (which "true")))
3380 (add-after 'unpack 'patch-configure
3382 (substitute* "configure"
3383 (("freerdp") "freerdp2"))
3386 `(("pkg-config" ,pkg-config)
3387 ("intltool" ,intltool)
3388 ("itstool" ,itstool)
3389 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3391 `(("libxml2" ,libxml2)
3392 ("gtk-vnc" ,gtk-vnc)
3393 ("gnome-keyring" ,gnome-keyring)
3394 ("libsecret" ,libsecret)
3395 ("freerdp" ,freerdp)
3397 ("spice-gtk" ,spice-gtk)
3398 ("telepathy-glib" ,telepathy-glib)
3400 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3401 (synopsis "Remote desktop viewer for GNOME")
3402 (description "Vinagre is a remote display client supporting the VNC, SPICE
3403 and RDP protocols.")
3404 (license license:gpl3+)))
3406 (define-public dconf
3413 "mirror://gnome/sources/" name "/"
3414 (version-major+minor version) "/"
3415 name "-" version ".tar.xz"))
3418 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
3419 (build-system meson-build-system)
3421 ;; In Requires of dconf.pc.
3427 `(("bash-completion" ,bash-completion)
3428 ("libxslt" ,libxslt) ;for xsltproc
3429 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3430 ("docbook-xml" ,docbook-xml-4.2)
3431 ("docbook-xsl" ,docbook-xsl)
3432 ("glib:bin" ,glib "bin")
3433 ("gtk-doc" ,gtk-doc)
3434 ("pkg-config" ,pkg-config)
3437 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3438 ; or /etc/machine-id.
3440 #:configure-flags '("-Denable-gtk-doc=true")))
3441 (home-page "https://developer.gnome.org/dconf")
3442 (synopsis "Low-level GNOME configuration system")
3443 (description "Dconf is a low-level configuration system. Its main purpose
3444 is to provide a backend to GSettings on platforms that don't already have
3445 configuration storage systems.")
3446 (license license:lgpl2.1+)))
3448 (define-public json-glib
3454 (uri (string-append "mirror://gnome/sources/" name "/"
3455 (version-major+minor version) "/"
3456 name "-" version ".tar.xz"))
3459 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3460 (build-system meson-build-system)
3462 `(("gettext" ,gettext-minimal)
3463 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3464 ("gobject-introspection" ,gobject-introspection)
3465 ("pkg-config" ,pkg-config)))
3467 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3468 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3469 (synopsis "Compiler for the GObject type system")
3471 "JSON-GLib is a C library based on GLib providing serialization and
3472 deserialization support for the JavaScript Object Notation (JSON) format
3473 described by RFC 4627. It provides parser and generator GObject classes and
3474 various wrappers for the complex data types employed by JSON, such as arrays
3476 (license license:lgpl2.1+)))
3478 (define-public libxklavier
3480 (name "libxklavier")
3483 ;; Note: There's no tarball at ftp.gnome.org for this version.
3486 (url "https://anongit.freedesktop.org/git/libxklavier")
3487 (commit (string-append "libxklavier-" version))))
3490 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3491 (file-name (git-file-name name version))))
3492 (build-system gnu-build-system)
3495 (modify-phases %standard-phases
3496 (add-after 'unpack 'no-configure
3498 (setenv "NOCONFIGURE" "1")
3501 (list (string-append "--with-xkb-base="
3502 (assoc-ref %build-inputs "xkeyboard-config")
3504 "--disable-xmodmap-support")))
3506 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3507 ("gobject-introspection" ,gobject-introspection)
3508 ("pkg-config" ,pkg-config)
3509 ("gtk-doc" ,gtk-doc)
3510 ("intltool" ,intltool)
3512 ("autoconf" ,autoconf)
3513 ("automake" ,automake)
3514 ("libtool" ,libtool)))
3516 ;; Required by libxklavier.pc.
3518 ("libxml2" ,libxml2)))
3520 `(("iso-codes" ,iso-codes)
3522 ("libxkbfile" ,libxkbfile)
3523 ("xkbcomp" ,xkbcomp)
3524 ("xkeyboard-config" ,xkeyboard-config)))
3525 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3526 (synopsis "High-level API for X Keyboard Extension")
3528 "LibXklavier is a library providing high-level API for X Keyboard
3529 Extension known as XKB. This library is intended to support XFree86 and other
3530 commercial X servers. It is useful for creating XKB-related software (layout
3532 (license license:lgpl2.0+)))
3534 (define-public python2-rsvg
3535 ;; XXX: This is actually a subset of gnome-python-desktop.
3537 (name "python2-rsvg")
3543 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3544 version ".tar.bz2"))
3547 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3548 (build-system gnu-build-system)
3550 `(("pkg-config" ,pkg-config)))
3552 `(("python" ,python-2)
3553 ("python2-pygtk" ,python2-pygtk)
3554 ("librsvg" ,librsvg)))
3555 (home-page "https://www.gnome.org")
3556 (synopsis "Python bindings to librsvg")
3558 "This package provides Python bindings to librsvg, the SVG rendering
3561 ;; This is the license of the rsvg bindings. The license of each module
3562 ;; of gnome-python-desktop is given in 'COPYING'.
3563 (license license:lgpl2.1+)))
3565 (define-public glib-networking
3567 (name "glib-networking")
3571 (uri (string-append "mirror://gnome/sources/glib-networking/"
3572 (version-major+minor version) "/"
3573 "glib-networking-" version ".tar.xz"))
3576 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
3577 (build-system meson-build-system)
3579 `(#:configure-flags '("-Dlibproxy_support=false")))
3581 `(("pkg-config" ,pkg-config)
3582 ("intltool" ,intltool)))
3586 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3587 (home-page "https://www.gnome.org")
3588 (synopsis "Network-related GIO modules")
3590 "This package contains various network related extensions for the GIO
3592 (license license:lgpl2.0+)))
3600 (uri (string-append "mirror://gnome/sources/rest/"
3601 (version-major+minor version) "/"
3602 name "-" version ".tar.xz"))
3605 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3606 (build-system gnu-build-system)
3608 '(#:tests? #f ; tests require internet connection
3610 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3612 `(("glib-mkenums" ,glib "bin")
3613 ("gobject-introspection" ,gobject-introspection)
3614 ("pkg-config" ,pkg-config)))
3616 ;; rest-0.7.pc refers to all these.
3618 ("libsoup" ,libsoup)
3619 ("libxml2" ,libxml2)))
3620 (home-page "https://www.gtk.org/")
3621 (synopsis "RESTful web api query library")
3623 "This library was designed to make it easier to access web services that
3624 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3625 libxml to ease remote use of the RESTful API.")
3626 (license license:lgpl2.1+)))
3628 (define-public libsoup
3634 (uri (string-append "mirror://gnome/sources/libsoup/"
3635 (version-major+minor version) "/"
3636 "libsoup-" version ".tar.xz"))
3639 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3640 (build-system meson-build-system)
3641 (outputs '("out" "doc"))
3643 `(#:modules ((guix build utils)
3644 (guix build meson-build-system)
3647 #:configure-flags '("-Dgtk_doc=true")
3649 (modify-phases %standard-phases
3650 (add-after 'unpack 'adjust-tests
3652 ;; This test fails due to missing /etc/nsswitch.conf
3653 ;; in the build environment.
3654 (substitute* "tests/socket-test.c"
3655 ((".*/sockets/unconnected.*") ""))
3657 ;; These fail because "subdomain.localhost" does not resolve in
3658 ;; the build environment.
3659 (substitute* "tests/hsts-test.c"
3660 ((".*/hsts/basic.*") "")
3661 ((".*/hsts/subdomains.*") "")
3662 ((".*/hsts/superdomain.*") "")
3663 ((".*/hsts/utf8-address.*") ""))
3664 (substitute* "tests/hsts-db-test.c"
3665 ((".*/hsts-db/subdomains.*") ""))
3667 ;; Generate a self-signed certificate that has "localhost" as its
3668 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3669 ;; 3.5.12, tests such as "ssl-tests" fail:
3671 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3673 ;; 'certtool' is interactive so we have to pipe it the answers.
3674 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3675 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3676 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3677 (for-each (lambda (line)
3682 "Guix" ;Organizational unit name
3683 "GNU" ;Organization name
3685 "" ;State or province
3687 "" ;subject's domain component (DC)
3690 "-1" ;expiration time
3691 "N" ;belong to authority?
3692 "N" ;web client certificate?
3694 "Y" ;web server certificate?
3695 "localhost" ;dnsName of subject
3696 "" ;dnsName of subject (end)
3698 "127.0.0.1" ;IP address of subject
3700 "" ;encryption (RSA)?
3701 "" ;data encryption?
3702 "" ;sign OCSP requests?
3705 "" ;email protection?
3706 "" ;URI of the CRL distribution point
3711 (add-after 'install 'move-doc
3712 (lambda* (#:key outputs #:allow-other-keys)
3713 (let ((out (assoc-ref outputs "out"))
3714 (doc (assoc-ref outputs "doc")))
3715 (mkdir-p (string-append doc "/share"))
3716 (copy-recursively (string-append out "/share/gtk-doc")
3717 (string-append doc "/share/gtk-doc"))
3718 (delete-file-recursively (string-append out "/share/gtk-doc"))
3721 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3722 ("gobject-introspection" ,gobject-introspection)
3723 ("gtk-doc" ,gtk-doc)
3724 ("intltool" ,intltool)
3725 ("pkg-config" ,pkg-config)
3726 ("python" ,python-wrapper)
3728 ;; These are needed for the tests.
3729 ;; FIXME: Add PHP once available.
3731 ("gnutls" ,gnutls) ;for 'certtool'
3734 ;; libsoup-2.4.pc refers to all these.
3735 `(("brotli" ,google-brotli)
3738 ("libxml2" ,libxml2)
3742 `(("glib-networking" ,glib-networking)
3743 ("mit-krb5" ,mit-krb5)))
3744 (home-page "https://live.gnome.org/LibSoup/")
3745 (synopsis "GLib-based HTTP Library")
3747 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3748 and the GLib main loop, to integrate well with GNOME applications.")
3749 (license license:lgpl2.0+)))
3751 (define-public libsecret
3758 "mirror://gnome/sources/libsecret/"
3759 (version-major+minor version) "/"
3760 "libsecret-" version ".tar.xz"))
3763 "1hzz34gmsxxf1jm1b7qin390rkwbg8sx198xdkwxqp3q6cw19sc1"))))
3764 (build-system gnu-build-system)
3765 (outputs '("out" "doc"))
3767 `(#:tests? #f ; FIXME: Testing hangs.
3769 (list (string-append "--with-html-dir="
3770 (assoc-ref %outputs "doc")
3771 "/share/gtk-doc/html"))))
3773 `(("gettext" ,gettext-minimal)
3774 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3775 ("gobject-introspection" ,gobject-introspection)
3776 ("pkg-config" ,pkg-config)
3778 ("xsltproc" ,libxslt)))
3779 ;; These are needed for the tests.
3780 ;; FIXME: Add gjs once available.
3782 ;("python2" ,python-2)
3783 ;("python2-dbus" ,python2-dbus)
3784 ;("python2-pygobject" ,python2-pygobject)
3785 ;("python2-pygobject-2" ,python2-pygobject-2)))
3787 `(("glib" ,glib))) ; required by libsecret-1.pc
3789 `(("docbook-xsl" ,docbook-xsl)
3790 ("libgcrypt" ,libgcrypt)
3791 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3792 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3793 (synopsis "GObject bindings for \"Secret Service\" API")
3795 "Libsecret is a GObject based library for storing and retrieving passwords
3796 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3797 (license license:lgpl2.1+)))
3799 (define-public five-or-more
3801 (name "five-or-more")
3806 (uri (string-append "mirror://gnome/sources/five-or-more/"
3807 (version-major+minor version) "/"
3808 "five-or-more-" version ".tar.xz"))
3810 (base32 "0xw05dd2dwi9vsph9h158b4n89s5k07xrh6bjz1icm0pdmjwhpgk"))))
3811 (build-system meson-build-system)
3815 (modify-phases %standard-phases
3816 (add-after 'unpack 'skip-gtk-update-icon-cache
3818 (substitute* "meson_post_install.py"
3819 (("gtk-update-icon-cache") (which "true")))
3822 `(("pkg-config" ,pkg-config)
3823 ("appstream-glib" ,appstream-glib)
3824 ("desktop-file-utils" ,desktop-file-utils)
3825 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3826 ("intltool" ,intltool)
3827 ("itstool" ,itstool)
3829 ("xmllint" ,libxml2)))
3832 ("libgnome-games-support" ,libgnome-games-support)
3833 ("librsvg" ,librsvg)))
3834 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3835 (synopsis "Logic puzzle game")
3836 (description "Five or More is a game where you try to align
3837 five or more objects of the same color and shape causing them to disappear.
3838 On every turn more objects will appear, until the board is full.
3839 Try to last as long as possible.")
3840 (license license:gpl2+)))
3842 (define-public gnome-mines
3844 (name "gnome-mines")
3849 (uri (string-append "mirror://gnome/sources/" name "/"
3850 (version-major+minor version) "/"
3851 name "-" version ".tar.xz"))
3854 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
3855 (build-system meson-build-system)
3859 (modify-phases %standard-phases
3860 (add-after 'unpack 'skip-gtk-update-icon-cache
3862 (substitute* "build-aux/meson_post_install.py"
3863 (("gtk-update-icon-cache") (which "true")))
3866 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3867 ("pkg-config" ,pkg-config)
3868 ("desktop-file-utils" ,desktop-file-utils)
3869 ("intltool" ,intltool)
3870 ("itstool" ,itstool)
3873 ("appstream-glib" ,appstream-glib)))
3876 ("libgnome-games-support" ,libgnome-games-support)
3877 ("librsvg" ,librsvg)))
3878 (home-page "https://wiki.gnome.org/Apps/Mines")
3879 (synopsis "Minesweeper game")
3881 "Mines (previously gnomine) is a puzzle game where you locate mines
3882 floating in an ocean using only your brain and a little bit of luck.")
3883 (license license:gpl2+)))
3885 (define-public gnome-sudoku
3887 (name "gnome-sudoku")
3892 (uri (string-append "mirror://gnome/sources/" name "/"
3893 (version-major+minor version) "/"
3894 name "-" version ".tar.xz"))
3897 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3898 (build-system meson-build-system)
3902 (modify-phases %standard-phases
3903 (add-after 'unpack 'skip-gtk-update-icon-cache
3905 (substitute* "build-aux/post_install.py"
3906 (("gtk-update-icon-cache") (which "true")))
3909 `(("pkg-config" ,pkg-config)
3910 ("desktop-file-utils" ,desktop-file-utils)
3911 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3912 ("intltool" ,intltool)
3913 ("itstool" ,itstool)
3915 ("xmllint" ,libxml2)))
3918 ("json-glib" ,json-glib)
3920 ("librsvg" ,librsvg)
3921 ("qqwing" ,qqwing)))
3922 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3923 (synopsis "Japanese logic game")
3925 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3926 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3927 possible while still providing features that make playing difficult Sudoku
3929 (license license:gpl2+)))
3931 (define-public gnome-terminal
3933 (name "gnome-terminal")
3938 (uri (string-append "mirror://gnome/sources/" name "/"
3939 (version-major+minor version) "/"
3940 name "-" version ".tar.xz"))
3943 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
3944 (build-system glib-or-gtk-build-system)
3947 (list "--disable-migration" "--disable-search-provider"
3948 "--without-nautilus-extension")
3950 (modify-phases %standard-phases
3951 (add-before 'configure 'patch-/bin/true
3953 (substitute* "configure"
3954 (("/bin/true") (which "true"))))))))
3956 `(("pkg-config" ,pkg-config)
3957 ("desktop-file-utils" ,desktop-file-utils)
3958 ("intltool" ,intltool)
3959 ("itstool" ,itstool)
3960 ("xmllint" ,libxml2)))
3962 `(("dconf" ,dconf)))
3967 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3968 ("util-linux" ,util-linux)
3970 (home-page "https://wiki.gnome.org/Apps/Terminal")
3971 (synopsis "Terminal emulator")
3973 "GNOME Terminal is a terminal emulator application for accessing a
3974 UNIX shell environment which can be used to run programs available on
3977 It supports several profiles, multiple tabs and implements several
3978 keyboard shortcuts.")
3979 (license license:gpl3+)))
3981 (define-public colord
3988 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3989 "colord-" version ".tar.xz"))
3991 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3992 (build-system meson-build-system)
3994 '(;; FIXME: One test fails:
3995 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3996 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3997 ;; application/x-zerosize
4000 #:configure-flags (list "-Dlocalstatedir=/var"
4001 ;; No dep on systemd.
4003 ;; Wants to install to global completion dir;
4005 "-Dbash_completion=false"
4006 "-Ddaemon_user=colord"
4009 ;; Requires spotread.
4010 "-Dargyllcms_sensor=false"
4011 ;; TODO: Requires docbook2x.
4014 (modify-phases %standard-phases
4015 (add-before 'configure 'patch-build-system
4016 (lambda* (#:key outputs #:allow-other-keys)
4017 (substitute* "rules/meson.build"
4018 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4019 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4021 (add-before 'configure 'set-sqlite3-file-name
4022 (lambda* (#:key inputs #:allow-other-keys)
4023 ;; "colormgr dump" works by invoking the "sqlite3" command.
4024 ;; Record its absolute file name.
4025 (let ((sqlite (assoc-ref inputs "sqlite")))
4026 (substitute* "client/cd-util.c"
4028 (string-append "\"" sqlite "/bin/sqlite3\"")))
4031 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4032 ("gettext" ,gettext-minimal)
4033 ("gobject-introspection" ,gobject-introspection)
4034 ("gtk-doc" ,gtk-doc)
4035 ("pkg-config" ,pkg-config)
4038 ;; colord.pc refers to all these.
4043 `(("dbus-glib" ,dbus-glib)
4045 ("libgudev" ,libgudev)
4048 ("python" ,python-wrapper)
4050 ("sane-backends" ,sane-backends)))
4051 (home-page "https://www.freedesktop.org/software/colord/")
4052 (synopsis "Color management service")
4053 (description "Colord is a system service that makes it easy to manage,
4054 install and generate color profiles to accurately color manage input and
4056 (license license:gpl2+)))
4058 (define-public geoclue
4066 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4067 version "/geoclue-" version ".tar.bz2"))
4070 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4071 (patches (search-patches "geoclue-config.patch"))))
4072 (build-system meson-build-system)
4074 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4076 `(("pkg-config" ,pkg-config)
4077 ("gobject-introspection" ,gobject-introspection)
4078 ("modem-manager" ,modem-manager)
4079 ("libnotify" ,libnotify)
4080 ("gtk-doc", gtk-doc)
4081 ("intltool" ,intltool)))
4084 ("glib:bin" ,glib "bin")
4085 ("glib-networking" ,glib-networking)
4086 ("json-glib" ,json-glib)
4087 ("libsoup" ,libsoup)))
4088 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4089 (synopsis "Geolocation service")
4090 (description "Geoclue is a D-Bus service that provides location
4091 information. The primary goal of the Geoclue project is to make creating
4092 location-aware applications as simple as possible, while the secondary goal is
4093 to ensure that no application can access location information without explicit
4094 permission from user.")
4095 (license license:gpl2+)))
4097 (define-public geocode-glib
4099 (name "geocode-glib")
4103 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4104 (version-major+minor version) "/"
4105 "geocode-glib-" version ".tar.xz"))
4108 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4109 (build-system meson-build-system)
4112 (modify-phases %standard-phases
4113 ;; The tests require a bunch of locales.
4114 (add-before 'check 'set-locales
4115 (lambda* (#:key inputs #:allow-other-keys)
4116 (setenv "GUIX_LOCPATH"
4117 (string-append (assoc-ref inputs "glibc-locales")
4121 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4122 ("glibc-locales" ,glibc-locales) ; for tests
4123 ("gettext" ,gettext-minimal)
4124 ("gobject-introspection" ,gobject-introspection)
4125 ("gtk-doc" ,gtk-doc)
4126 ("pkg-config" ,pkg-config)
4127 ("json-glib" ,json-glib)))
4129 ;; geocode-glib-1.0.pc refers to GIO.
4132 `(("libsoup" ,libsoup)))
4133 (home-page "https://github.com/GNOME/geocode-glib/")
4134 (synopsis "Geocoding and reverse-geocoding library")
4136 "geocode-glib is a convenience library for geocoding (finding longitude,
4137 and latitude from an address) and reverse geocoding (finding an address from
4138 coordinates) using the Nominatim service. geocode-glib caches requests for
4139 faster results and to avoid unnecessary server load.")
4140 (license license:lgpl2.0+)))
4142 (define-public upower
4148 (uri (string-append "https://upower.freedesktop.org/releases/"
4149 "upower-" version ".tar.xz"))
4152 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4153 (patches (search-patches "upower-builddir.patch"))
4154 (modules '((guix build utils)))
4158 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4159 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4160 ;; 'dbus-configuration-directory' in (gnu services dbus)
4161 ;; expects it in etc/. Thus, move it back to its previous
4163 (substitute* "src/Makefile.in"
4164 (("^dbusconfdir =.*$")
4165 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4167 (build-system glib-or-gtk-build-system)
4169 '( ;; The tests want to contact the system bus, which can't be done in the
4170 ;; build environment. The integration test can run, but the last of
4171 ;; the up-self-tests doesn't. Disable tests for now.
4173 #:configure-flags (list "--localstatedir=/var"
4174 (string-append "--with-udevrulesdir="
4175 (assoc-ref %outputs "out")
4176 "/lib/udev/rules.d"))))
4178 `(("gobject-introspection" ,gobject-introspection)
4179 ("pkg-config" ,pkg-config)
4180 ("intltool" ,intltool)
4184 ("libxslt" ,libxslt) ;for 'xsltproc'
4185 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4186 ("docbook-xsl" ,docbook-xsl)))
4188 `(("dbus-glib" ,dbus-glib)
4189 ("libgudev" ,libgudev)
4190 ("libusb" ,libusb)))
4192 ;; In Requires of upower-glib.pc.
4194 (home-page "https://upower.freedesktop.org/")
4195 (synopsis "System daemon for managing power devices")
4197 "UPower is an abstraction for enumerating power devices,
4198 listening to device events and querying history and statistics. Any
4199 application or service on the system can access the org.freedesktop.UPower
4200 service via the system message bus.")
4201 (license license:gpl2+)))
4203 (define-public libgweather
4205 (name "libgweather")
4209 (uri (string-append "mirror://gnome/sources/" name "/"
4210 (version-major+minor version) "/"
4211 name "-" version ".tar.xz"))
4214 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
4215 (build-system meson-build-system)
4217 `(#:tests? #f ; one of two tests requires network access
4219 `(,(string-append "-Dzoneinfo_dir="
4220 (assoc-ref %build-inputs "tzdata")
4221 "/share/zoneinfo"))))
4223 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4224 ("gobject-introspection" ,gobject-introspection)
4225 ("pkg-config" ,pkg-config)
4227 ("intltool" ,intltool)))
4229 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4232 ("gdk-pixbuf" ,gdk-pixbuf)
4233 ("libxml2" ,libxml2)
4234 ("libsoup" ,libsoup)
4235 ("geocode-glib" ,geocode-glib)))
4237 `(("tzdata" ,tzdata)))
4238 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4239 (synopsis "Location, time zone, and weather library for GNOME")
4241 "libgweather is a library to access weather information from online
4242 services for numerous locations.")
4243 (license license:gpl2+)))
4245 (define-public gnome-settings-daemon
4247 (name "gnome-settings-daemon")
4252 (uri (string-append "mirror://gnome/sources/" name "/"
4253 (version-major+minor version) "/"
4254 name "-" version ".tar.xz"))
4257 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
4258 (build-system meson-build-system)
4262 (list (string-append "-Dudev_dir="
4263 (assoc-ref %outputs "out")
4264 "/lib/udev/rules.d/")
4265 ;; Otherwise, the RUNPATH will lack the final path component.
4266 (string-append "-Dc_link_args=-Wl,-rpath="
4267 (assoc-ref %outputs "out")
4268 "/lib/gnome-settings-daemon-3.0"))
4269 ;; Color management test can't reach the colord system service.
4272 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4273 ("pkg-config" ,pkg-config)
4274 ("intltool" ,intltool)
4275 ("xsltproc" ,libxslt)
4276 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4277 ("docbook-xml" ,docbook-xml-4.2)
4278 ("docbook-xsl" ,docbook-xsl)))
4280 `(("alsa-lib" ,alsa-lib)
4282 ("libgudev" ,libgudev)
4285 ("pulseaudio" ,pulseaudio)
4286 ("libcanberra" ,libcanberra)
4288 ("libxtst" ,libxtst)
4290 ("libnotify" ,libnotify)
4291 ("geoclue" ,geoclue)
4292 ("geocode-glib" ,geocode-glib)
4293 ("libgweather" ,libgweather)
4294 ("gnome-desktop" ,gnome-desktop)
4297 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4298 ("libwacom" ,libwacom)
4299 ("librsvg" ,librsvg)
4300 ("xf86-input-wacom" ,xf86-input-wacom)
4301 ("wayland" ,wayland)
4302 ("network-manager" ,network-manager)))
4303 (home-page "https://www.gnome.org")
4304 (synopsis "GNOME settings daemon")
4306 "This package contains the daemon responsible for setting the various
4307 parameters of a GNOME session and the applications that run under it. It
4308 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4309 settings, themes, mouse settings, and startup of other daemons.")
4310 (license license:gpl2+)))
4312 (define-public totem-pl-parser
4314 (name "totem-pl-parser")
4318 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4319 (version-major+minor version) "/"
4320 "totem-pl-parser-" version ".tar.xz"))
4323 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4324 (build-system meson-build-system)
4326 ;; FIXME: Tests require gvfs.
4329 `(("intltool" ,intltool)
4330 ("glib" ,glib "bin")
4331 ("gobject-introspection" ,gobject-introspection)
4332 ("pkg-config" ,pkg-config)))
4336 ("libarchive" ,libarchive)
4337 ("libgcrypt" ,libgcrypt)
4338 ("libxml2" ,libxml2)))
4340 `(("libsoup" ,libsoup)))
4341 (home-page "https://projects.gnome.org/totem")
4342 (synopsis "Library to parse and save media playlists for GNOME")
4343 (description "Totem-pl-parser is a GObjects-based library to parse and save
4344 playlists in a variety of formats.")
4345 (license license:lgpl2.0+)))
4347 (define-public aisleriot
4353 (uri (string-append "mirror://gnome/sources/aisleriot/"
4354 (version-major+minor version) "/"
4355 "aisleriot-" version ".tar.xz"))
4358 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4359 (build-system glib-or-gtk-build-system)
4362 '("--with-platform=gtk-only"
4363 "--with-card-theme-formats=svg")))
4365 `(("desktop-file-utils" ,desktop-file-utils)
4366 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4367 ("intltool" ,intltool)
4368 ("itstool" ,itstool)
4369 ("pkg-config" ,pkg-config)
4370 ("xmllint" ,libxml2)))
4373 ("guile" ,guile-2.2)
4374 ("libcanberra" ,libcanberra)
4375 ("librsvg" ,librsvg)))
4376 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4377 (synopsis "Solitaire card games")
4379 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4380 which are easy to play with the aid of a mouse.")
4381 (license license:gpl3+)))
4389 (uri (string-append "mirror://gnome/sources/amtk/"
4390 (version-major+minor version) "/"
4391 "amtk-" version ".tar.xz"))
4394 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4395 (build-system gnu-build-system)
4397 '(#:configure-flags '("--enable-gtk-doc")))
4399 `(("gobject-introspection" ,gobject-introspection)
4400 ("glib:bin" ,glib "bin") ; for glib-mkenums
4401 ("gtk-doc" ,gtk-doc)
4402 ("pkg-config" ,pkg-config)))
4406 (home-page "https://wiki.gnome.org/Projects/Amtk")
4407 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4409 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4410 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4411 both a traditional UI or a modern UI with a GtkHeaderBar.")
4412 (license license:lgpl2.1+)))
4414 (define-public devhelp
4420 (uri (string-append "mirror://gnome/sources/" name "/"
4421 (version-major+minor version) "/"
4422 name "-" version ".tar.xz"))
4425 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
4426 (build-system meson-build-system)
4430 (modify-phases %standard-phases
4431 (add-after 'unpack 'skip-gtk-update-icon-cache
4432 ;; Don't create 'icon-theme.cache'.
4434 (substitute* "meson_post_install.py"
4435 (("gtk-update-icon-cache") "true"))
4438 `(("intltool" ,intltool)
4439 ("itstool" ,itstool)
4440 ("gobject-introspection" ,gobject-introspection)
4441 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4442 ("pkg-config" ,pkg-config)))
4445 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4446 ("webkitgtk" ,webkitgtk)))
4447 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4448 (synopsis "API documentation browser for GNOME")
4450 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4451 natively with GTK-Doc (the API reference system developed for GTK+ and used
4452 throughout GNOME for API documentation).")
4453 (license license:gpl2+)))
4462 (uri (string-append "mirror://gnome/sources/cogl/"
4463 (version-major+minor version) "/"
4464 "cogl-" version ".tar.xz"))
4466 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
4467 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4468 ;; cogl, corresponding changes may be appropriate in mutter as well.
4469 (build-system gnu-build-system)
4471 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4472 ("gobject-introspection" ,gobject-introspection)
4473 ;;("xorg-server" ,xorg-server) ; for the test suite
4474 ("pkg-config" ,pkg-config)))
4477 ("gdk-pixbuf" ,gdk-pixbuf)
4479 ("libxext" ,libxext)
4480 ("libxfixes" ,libxfixes)
4481 ("libxdamage" ,libxdamage)
4482 ("libxcomposite" ,libxcomposite)
4483 ("libxrandr" ,libxrandr)))
4488 ("gstreamer" ,gstreamer)
4489 ("gst-plugins-base" ,gst-plugins-base)
4490 ("wayland" ,wayland)))
4492 `(#:configure-flags (list "--enable-cogl-gst"
4493 "--enable-wayland-egl-platform"
4494 "--enable-wayland-egl-server"
4496 ;; Arrange to pass an absolute file name to
4497 ;; dlopen for libGL.so.
4498 (string-append "--with-gl-libname="
4499 (assoc-ref %build-inputs "mesa")
4501 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4502 ;; _FontTransOpen: Unable to Parse address
4503 ;; ${prefix}/share/fonts/X11/misc/
4507 (modify-phases %standard-phases
4508 (add-before 'check 'start-xorg-server
4509 (lambda* (#:key inputs #:allow-other-keys)
4510 ;; The test suite requires a running X server.
4511 (system (format #f "~a/bin/Xvfb :1 &"
4512 (assoc-ref inputs "xorg-server")))
4513 (setenv "DISPLAY" ":1")
4515 (home-page "https://www.cogl3d.org")
4516 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4518 "Cogl is a small library for using 3D graphics hardware to draw pretty
4519 pictures. The API departs from the flat state machine style of OpenGL and is
4520 designed to make it easy to write orthogonal components that can render
4521 without stepping on each others toes.")
4522 (license (list license:expat ; most of the code
4523 license:bsd-3 ; cogl/cogl-point-in-poly.c
4524 license:sgifreeb2.0 ; cogl-path/tesselator/
4525 license:asl2.0)))) ; examples/android/
4527 (define-public clutter
4534 (uri (string-append "mirror://gnome/sources/" name "/"
4535 (version-major+minor version) "/"
4536 name "-" version ".tar.xz"))
4539 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4540 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4541 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4542 (build-system gnu-build-system)
4544 "doc")) ;9 MiB of gtk-doc HTML pages
4546 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4547 ("gobject-introspection" ,gobject-introspection)
4548 ("pkg-config" ,pkg-config)
4549 ("xsltproc" ,libxslt)))
4555 ("json-glib" ,json-glib)
4557 ("libxcomposite" ,libxcomposite)
4558 ("libxdamage" ,libxdamage)
4559 ("libxext" ,libxext)
4560 ("xinput" ,xinput)))
4562 `(("libxkbcommon" ,libxkbcommon)
4565 `(#:configure-flags (list "--enable-x11-backend=yes"
4567 ;; This produces share/doc/{clutter,cally}.
4568 (string-append "--with-html-dir="
4569 (assoc-ref %outputs "doc")
4571 ;; XXX FIXME: Get test suite working. It would probably fail in the
4572 ;; same way the cogl tests fail, since clutter is based on cogl.
4574 (home-page "http://www.clutter-project.org")
4575 (synopsis "OpenGL-based interactive canvas library")
4577 "Clutter is an OpenGL-based interactive canvas library, designed for
4578 creating fast, mainly 2D single window applications such as media box UIs,
4579 presentations, kiosk style applications and so on.")
4580 (license license:lgpl2.0+)))
4582 (define-public clutter-gtk
4584 (name "clutter-gtk")
4589 (uri (string-append "mirror://gnome/sources/" name "/"
4590 (version-major+minor version) "/"
4591 name "-" version ".tar.xz"))
4594 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4595 (build-system gnu-build-system)
4597 `(("pkg-config" ,pkg-config)
4598 ("gobject-introspection" ,gobject-introspection)))
4600 ;; clutter-gtk.pc refers to all these.
4601 `(("clutter" ,clutter)
4603 (home-page "http://www.clutter-project.org")
4604 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4606 "Clutter is an OpenGL-based interactive canvas library, designed for
4607 creating fast, mainly 2D single window applications such as media box UIs,
4608 presentations, kiosk style applications and so on.")
4609 (license license:lgpl2.0+)))
4611 (define-public clutter-gst
4613 (name "clutter-gst")
4618 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4619 (version-major+minor version) "/"
4620 "clutter-gst-" version ".tar.xz"))
4622 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4623 (build-system gnu-build-system)
4625 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4626 ("pkg-config" ,pkg-config)
4627 ("gobject-introspection" ,gobject-introspection)))
4629 `(("clutter" ,clutter)
4630 ("gstreamer" ,gstreamer)
4631 ("gst-plugins-base" ,gst-plugins-base)))
4632 (home-page "http://www.clutter-project.org")
4633 (synopsis "Integration library for using GStreamer with Clutter")
4635 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4636 It provides a GStreamer sink to upload frames to GL and an actor that
4637 implements the ClutterGstPlayer interface using playbin. Clutter is an
4638 OpenGL-based interactive canvas library.")
4639 (license license:lgpl2.0+)))
4641 (define-public libchamplain
4643 (name "libchamplain")
4648 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4652 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4653 (build-system gnu-build-system)
4654 (arguments '(#:configure-flags '("--enable-vala")))
4656 `(("gobject-introspection" ,gobject-introspection)
4657 ("pkg-config" ,pkg-config)
4660 `(("libsoup" ,libsoup)
4662 ("clutter" ,clutter)
4663 ("clutter-gtk" ,clutter-gtk)
4664 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4668 (home-page "https://projects.gnome.org/libchamplain/")
4669 (synopsis "C library providing a ClutterActor to display maps")
4671 "libchamplain is a C library providing a ClutterActor to display maps.
4672 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4673 and Perl bindings are also available. It supports numerous free map sources
4674 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4675 (license license:lgpl2.1+)))
4684 (uri (string-append "mirror://gnome/sources/gom/"
4685 (version-major+minor version) "/"
4686 "gom-" version ".tar.xz"))
4689 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4690 (build-system gnu-build-system)
4692 `(("intltool" ,intltool)
4693 ("pkg-config" ,pkg-config)
4694 ("gobject-introspection" ,gobject-introspection)))
4697 ("gdk-pixbuf" ,gdk-pixbuf)
4698 ("sqlite" ,sqlite)))
4699 ;; XXX TODO: Figure out how to run the test suite.
4700 (arguments `(#:tests? #f))
4701 (home-page "https://wiki.gnome.org/Projects/Gom")
4702 (synopsis "Object mapper from GObjects to SQLite")
4704 "Gom provides an object mapper from GObjects to SQLite. It helps you
4705 write applications that need to store structured data as well as make complex
4706 queries upon that data.")
4707 (license license:lgpl2.1+)))
4709 (define-public libgnome-games-support
4711 (name "libgnome-games-support")
4715 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4716 (version-major+minor version) "/"
4717 "libgnome-games-support-" version ".tar.xz"))
4720 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4721 (build-system gnu-build-system)
4724 (modify-phases %standard-phases
4725 (add-before 'check 'pre-check
4727 ;; Tests require a writable HOME.
4728 (setenv "HOME" (getcwd))
4731 `(("intltool" ,intltool)
4732 ("pkg-config" ,pkg-config)
4735 ;; Required by libgnome-games-support-1.0.pc
4737 ("libgee" ,libgee)))
4738 (home-page "https://www.gnome.org/")
4739 (synopsis "Useful functionality shared among GNOME games")
4741 "libgnome-games-support is a small library intended for internal use by
4742 GNOME Games, but it may be used by others.")
4743 (license license:lgpl3+)))
4745 (define-public gnome-klotski
4747 (name "gnome-klotski")
4751 (uri (string-append "mirror://gnome/sources/" name "/"
4752 (version-major+minor version) "/"
4753 name "-" version ".tar.xz"))
4756 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4757 (build-system meson-build-system)
4761 (modify-phases %standard-phases
4762 (add-after 'unpack 'skip-gtk-update-icon-cache
4763 ;; Don't create 'icon-theme.cache'.
4765 (substitute* "build-aux/meson_post_install.py"
4766 (("gtk-update-icon-cache") (which "true")))
4769 `(("desktop-file-utils" ,desktop-file-utils)
4770 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4771 ("intltool" ,intltool)
4772 ("itstool" ,itstool)
4773 ("pkg-config" ,pkg-config)
4775 ("xmllint" ,libxml2)))
4778 ("libgnome-games-support" ,libgnome-games-support)
4779 ("librsvg" ,librsvg)))
4780 (home-page "https://wiki.gnome.org/Apps/Klotski")
4781 (synopsis "Sliding block puzzles")
4783 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4784 the patterned block to the area bordered by green markers. To do so, you will
4785 need to slide other blocks out of the way. Complete each puzzle in as few moves
4787 (license license:gpl2+)))
4789 (define-public grilo
4796 (uri (string-append "mirror://gnome/sources/" name "/"
4797 (version-major+minor version) "/"
4798 name "-" version ".tar.xz"))
4801 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4802 (build-system meson-build-system)
4804 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4805 ("intltool" ,intltool)
4806 ("pkg-config" ,pkg-config)
4807 ("gobject-introspection" ,gobject-introspection)
4808 ("gtk-doc" ,gtk-doc)
4811 `(("cyrus-sasl" ,cyrus-sasl)
4814 ("libxml2" ,libxml2)
4815 ("liboauth" ,liboauth)
4816 ("libsoup" ,libsoup)
4817 ("totem-pl-parser" ,totem-pl-parser)))
4818 (native-search-paths
4819 (list (search-path-specification
4820 (variable "GRL_PLUGIN_PATH")
4821 (files (list (string-append "lib/grilo-"
4822 (version-major+minor version)))))))
4823 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4824 (synopsis "Framework for discovering and browsing media")
4826 "Grilo is a framework focused on making media discovery and browsing easy
4827 for application developers.")
4828 (license license:lgpl2.1+)))
4830 (define-public grilo-plugins
4832 (name "grilo-plugins")
4837 (uri (string-append "mirror://gnome/sources/" name "/"
4838 (version-major+minor version) "/"
4839 name "-" version ".tar.xz"))
4842 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4843 (build-system meson-build-system)
4845 `(("gettext" ,gettext-minimal)
4846 ("glib:bin" ,glib "bin")
4847 ("gtk+:bin" ,gtk+ "bin")
4848 ("itstool" ,itstool)
4849 ("pkg-config" ,pkg-config)))
4850 ;; TODO: ahavi, gstreamer
4853 ;("gmime" ,gmime) ; unused
4854 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4856 ;("gssdp" ,gssdp) ; unused
4857 ;("gupnp" ,gupnp) ; unused
4858 ;("gupnp-av" ,gupnp-av) ; unused
4859 ("json-glib" ,json-glib)
4861 ("libgdata" ,libgdata)
4862 ("libmediaart" ,libmediaart)
4863 ;("librest" ,rest) ; unused
4864 ("libsoup" ,libsoup)
4865 ("totam-pl-parser" ,totem-pl-parser)
4866 ("tracker" ,tracker))) ; unused because it's too old
4869 ;;Disable lua-factory as it needs missing dependencies
4870 #:configure-flags '("-Denable-lua-factory=no")))
4871 (home-page "https://live.gnome.org/Grilo")
4872 (synopsis "Plugins for the Grilo media discovery library")
4874 "Grilo is a framework focused on making media discovery and browsing easy
4875 for application developers. This package provides plugins for common media
4876 discovery protocols.")
4877 (license license:lgpl2.1+)))
4879 (define-public totem
4886 (uri (string-append "mirror://gnome/sources/" name "/"
4887 (version-major+minor version) "/"
4888 name "-" version ".tar.xz"))
4891 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
4892 (build-system meson-build-system)
4894 `(("pkg-config" ,pkg-config)
4895 ("desktop-file-utils" ,desktop-file-utils)
4896 ("gobject-introspection" ,gobject-introspection)
4897 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4898 ("intltool" ,intltool)
4899 ("itstool" ,itstool)
4900 ("xmllint" ,libxml2)
4901 ("python-pylint" ,python-pylint)
4902 ("xorg-server" ,xorg-server-for-tests)))
4904 `(("dconf" ,dconf)))
4907 ("gdk-pixbuf" ,gdk-pixbuf)
4910 ("dbus-glib" ,dbus-glib)
4911 ("clutter" ,clutter)
4912 ("clutter-gtk" ,clutter-gtk)
4913 ("clutter-gst" ,clutter-gst)
4914 ("xorgproto" ,xorgproto)
4915 ("libxxf86vm" ,libxxf86vm)
4916 ("libxtst" ,libxtst)
4917 ("libxrandr" ,libxrandr)
4918 ("libxml2" ,libxml2)
4919 ("libsoup" ,libsoup)
4920 ("libpeas" ,libpeas)
4921 ("librsvg" ,librsvg)
4923 ("gnome-desktop" ,gnome-desktop)
4924 ("gstreamer" ,gstreamer)
4925 ("gst-plugins-base" ,gst-plugins-base)
4926 ("gst-plugins-good" ,gst-plugins-good)
4927 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4928 ("adwaita-icon-theme" ,adwaita-icon-theme)
4930 ("python-pygobject" ,python-pygobject)
4931 ("totem-pl-parser" ,totem-pl-parser)
4933 ("grilo-plugins" ,grilo-plugins)
4938 ;; Disable automatic GStreamer plugin installation via PackageKit and
4940 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4942 ;; Do not build .a files for the plugins, it's
4943 ;; completely useless. This saves 2 MiB.
4944 "--default-library" "shared")
4946 (modify-phases %standard-phases
4947 (add-after 'unpack 'skip-gtk-update-icon-cache
4948 ;; Don't create 'icon-theme.cache'.
4950 (substitute* "meson_post_install.py"
4951 (("gtk-update-icon-cache") "true"))
4954 'install 'disable-cache-generation
4956 (setenv "DESTDIR" "/")
4961 ;; Tests require a running X server.
4962 (system "Xvfb :1 &")
4963 (setenv "DISPLAY" ":1")
4966 'install 'wrap-totem
4967 (lambda* (#:key inputs outputs #:allow-other-keys)
4968 (let ((out (assoc-ref outputs "out"))
4969 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4970 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4971 (wrap-program (string-append out "/bin/totem")
4972 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4973 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4974 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4975 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4977 (home-page "https://wiki.gnome.org/Apps/Videos")
4978 (synopsis "Simple media player for GNOME based on GStreamer")
4979 (description "Totem is a simple yet featureful media player for GNOME
4980 which can read a large number of file formats.")
4981 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4982 ;; to be used and distributed together with GStreamer and Totem. See
4983 ;; file://COPYING in the source distribution for details.
4984 (license license:gpl2+)))
4986 (define-public rhythmbox
4992 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4993 (version-major+minor version) "/"
4994 "rhythmbox-" version ".tar.xz"))
4997 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4998 (build-system glib-or-gtk-build-system)
5001 (list "--enable-lirc"
5008 (modify-phases %standard-phases
5010 'install 'wrap-rhythmbox
5011 (lambda* (#:key inputs outputs #:allow-other-keys)
5012 (let ((out (assoc-ref outputs "out"))
5013 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5014 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5015 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5016 (python-path (getenv "PYTHONPATH")))
5017 (wrap-program (string-append out "/bin/rhythmbox")
5018 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5019 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5020 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5021 `("PYTHONPATH" ":" prefix (,python-path))))
5024 `(("dconf" ,dconf)))
5026 `(("itstool" ,itstool)
5027 ("intltool" ,intltool)
5028 ("glib" ,glib "bin")
5029 ("gobject-introspection" ,gobject-introspection)
5030 ("desktop-file-utils" ,desktop-file-utils)
5031 ("pkg-config" ,pkg-config)
5032 ("xmllint" ,libxml2)))
5034 `(("json-glib" ,json-glib)
5036 ("gnome-desktop" ,gnome-desktop)
5038 ("python-pygobject" ,python2-pygobject)
5041 ("adwaita-icon-theme" ,adwaita-icon-theme)
5043 ("grilo-plugins" ,grilo-plugins)
5044 ("gstreamer" ,gstreamer)
5045 ("gst-plugins-base" ,gst-plugins-base)
5046 ("gst-plugins-good" ,gst-plugins-good)
5047 ("totem-pl-parser" ,totem-pl-parser)
5048 ("libgudev" ,libgudev)
5049 ;;("libmtp" ,libmtp) FIXME: Not detected
5050 ("libsecret" ,libsecret)
5051 ("libsoup" ,libsoup)
5052 ("libnotify" ,libnotify)
5053 ("libpeas" ,libpeas)
5055 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5056 ;;("clutter" ,clutter)
5057 ;;("clutter-gtk" ,clutter-gtk)
5058 ;;("clutter-gst" ,clutter-gst)
5059 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5066 ("brasero" ,brasero)))
5067 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5068 (synopsis "Music player for GNOME")
5069 (description "Rhythmbox is a music playing application for GNOME. It
5070 supports playlists, song ratings, and any codecs installed through gstreamer.")
5071 (license license:gpl2+)))
5079 (uri (string-append "mirror://gnome/sources/" name "/"
5080 (version-major+minor version) "/"
5081 name "-" version ".tar.xz"))
5084 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
5085 (build-system meson-build-system)
5088 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5089 (list (string-append "-Dc_link_args=-Wl,-rpath="
5090 (assoc-ref %outputs "out") "/lib/eog"))
5092 (modify-phases %standard-phases
5093 (add-after 'unpack 'skip-gtk-update-icon-cache
5094 ;; Don't create 'icon-theme.cache'.
5096 (substitute* "meson_post_install.py"
5097 (("gtk-update-icon-cache") "true"))
5099 (add-after 'install 'wrap-eog
5100 (lambda* (#:key outputs #:allow-other-keys)
5101 (let ((out (assoc-ref outputs "out"))
5102 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5103 (wrap-program (string-append out "/bin/eog")
5104 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5107 `(("dconf" ,dconf)))
5109 `(("intltool" ,intltool)
5110 ("itstool" ,itstool)
5111 ("glib" ,glib "bin")
5112 ("gobject-introspection" ,gobject-introspection)
5113 ("pkg-config" ,pkg-config)
5114 ("xmllint" ,libxml2)))
5116 `(("gnome-desktop" ,gnome-desktop)
5117 ("shared-mime-info" ,shared-mime-info)
5118 ("adwaita-icon-theme" ,adwaita-icon-theme)
5121 ("libexif" ,libexif)
5122 ("libpeas" ,libpeas)
5123 ("libjpeg" ,libjpeg)
5124 ("librsvg" ,librsvg)
5125 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5127 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5128 (synopsis "GNOME image viewer")
5129 (description "Eye of GNOME is the GNOME image viewer. It
5130 supports image conversion, rotation, and slideshows.")
5131 (license license:gpl2+)))
5133 (define-public eog-plugins
5134 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5135 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5136 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5137 ;; 'XDG_DATA_DIRS' appropriately set.
5139 (name "eog-plugins")
5143 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5144 (version-major+minor version) "/"
5145 "eog-plugins-" version ".tar.xz"))
5148 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5149 (build-system gnu-build-system)
5150 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5151 (synopsis "Extensions for the Eye of GNOME image viewer")
5153 `(("pkg-config" ,pkg-config)
5154 ("gettext" ,gettext-minimal)))
5159 ("libpeas" ,libpeas)
5160 ("libexif" ,libexif)
5161 ("libchamplain" ,libchamplain)))
5163 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5167 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5168 @item @dfn{Map}, which displays a map of where the picture was taken on the
5170 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5173 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5174 ;; long suspicious byte stream that goes to a
5175 ;; ".gresource.eog_postasa_plugin" ELF section.
5176 (license license:gpl2+)))
5178 (define-public libgudev
5184 (uri (string-append "mirror://gnome/sources/" name "/"
5185 version "/" name "-" version ".tar.xz"))
5188 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5189 (build-system gnu-build-system)
5192 ;; umockdev depends on libgudev.
5193 (list "--disable-umockdev")))
5195 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5196 ("gobject-introspection" ,gobject-introspection)
5197 ("pkg-config" ,pkg-config)))
5199 `(("glib" ,glib))) ; required by gudev-1.0.pc
5202 (home-page "https://wiki.gnome.org/Projects/libgudev")
5203 (synopsis "GObject bindings for libudev")
5205 "This library provides GObject bindings for libudev. It was originally
5206 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5207 (license license:lgpl2.1+)))
5215 (uri (string-append "mirror://gnome/sources/gvfs/"
5216 (version-major+minor version) "/"
5217 "gvfs-" version ".tar.xz"))
5220 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5221 (build-system meson-build-system)
5225 (list "-Dsystemduserunitdir=no"
5227 ;; Otherwise, the RUNPATH will lack the final path component.
5228 (string-append "-Dc_link_args=-Wl,-rpath="
5229 (assoc-ref %outputs "out") "/lib/gvfs"))))
5231 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5232 ("gettext" ,gettext-minimal)
5233 ("gtk-doc" ,gtk-doc)
5234 ("pkg-config" ,pkg-config)
5235 ("xsltproc" ,libxslt)))
5238 ("docbook-xml" ,docbook-xml-4.2)
5239 ("docbook-xsl" ,docbook-xsl)
5241 ("elogind" ,elogind)
5245 ("gnome-online-accounts" ,gnome-online-accounts)
5246 ("libarchive" ,libarchive)
5247 ("libbluray" ,libbluray)
5249 ("libcdio-paranoia" ,libcdio-paranoia)
5250 ("libgcrypt" ,libgcrypt)
5251 ("libgdata" ,libgdata)
5252 ("libgphoto2" ,libgphoto2)
5253 ("libgudev" ,libgudev)
5254 ("libimobiledevice" ,libimobiledevice)
5257 ("libsecret" ,libsecret)
5258 ("libsmbclient" ,samba)
5259 ("libsoup" ,libsoup)
5260 ("libxml2" ,libxml2)
5261 ("openssh" ,openssh)
5263 ("udisks" ,udisks)))
5264 (home-page "https://wiki.gnome.org/gvfs/")
5265 (synopsis "Userspace virtual file system for GIO")
5267 "GVFS is a userspace virtual file system designed to work with the I/O
5268 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5269 to all applications using the GIO API. It also supports exposing the GVFS
5270 mounts to non-GIO applications using FUSE.
5272 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5274 (license license:lgpl2.0+)))
5283 (url "https://github.com/hughsie/libgusb.git")
5285 (file-name (git-file-name name version))
5288 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5289 (build-system meson-build-system)
5291 `(("gobject-introspection" ,gobject-introspection)
5292 ("pkg-config" ,pkg-config)
5294 ("gtk-doc" ,gtk-doc)))
5296 ;; Both of these are required by gusb.pc.
5298 ("libusb" ,libusb)))
5300 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5301 (home-page "https://github.com/hughsie/libgusb")
5302 (synopsis "GLib binding for libusb1")
5304 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5305 asynchronous control, bulk and interrupt transfers with proper cancellation
5306 and integration into a mainloop. This makes it easy to integrate low level
5307 USB transfers with your high-level application or system daemon.")
5308 (license license:lgpl2.1+)))
5310 (define-public simple-scan
5312 (name "simple-scan")
5317 (uri (string-append "mirror://gnome/sources/simple-scan/"
5318 (version-major+minor version) "/"
5319 "simple-scan-" version ".tar.xz"))
5321 (base32 "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"))))
5322 (build-system meson-build-system)
5323 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5325 '(#:glib-or-gtk? #t))
5331 ("gdk-pixbuf" ,gdk-pixbuf)
5333 ("libsane" ,sane-backends)))
5335 `(("gettext" ,gettext-minimal)
5336 ("itstool" ,itstool)
5337 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5338 ("pkg-config" ,pkg-config)
5340 ("xmllint" ,libxml2)))
5341 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5342 (synopsis "Document and image scanner")
5344 "Document Scanner is an easy-to-use application that lets you connect your
5345 scanner and quickly capture images and documents in an appropriate format. It
5346 supports any scanner for which a suitable SANE driver is available, which is
5347 almost all of them.")
5348 (license license:gpl3+)))
5350 (define-public eolie
5353 (version "0.9.98.1")
5356 (uri (string-append "https://adishatz.org/eolie/eolie-"
5360 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5361 (build-system meson-build-system)
5365 (modify-phases %standard-phases
5366 (add-after 'unpack 'skip-gtk-update-icon-cache
5367 ;; Don't create 'icon-theme.cache'.
5369 (substitute* "meson_post_install.py"
5370 (("gtk-update-icon-cache") "true"))
5372 (add-after 'wrap 'wrap-more
5373 (lambda* (#:key inputs outputs #:allow-other-keys)
5374 (let* ((out (assoc-ref outputs "out"))
5375 ;; These libraries must be on LD_LIBRARY_PATH.
5376 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5377 "atk" "gtk+" "gsettings-desktop-schemas"
5378 "gobject-introspection"))
5381 (string-append (assoc-ref inputs lib) "/lib"))
5384 (wrap-program (string-append out "/bin/eolie")
5385 `("LD_LIBRARY_PATH" ":" prefix (,path))
5386 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5387 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5390 `(("intltool" ,intltool)
5391 ("itstool" ,itstool)
5392 ("pkg-config" ,pkg-config)
5394 ("glib:bin" ,glib "bin")))
5396 `(("gobject-introspection" ,gobject-introspection)
5397 ("glib-networking" ,glib-networking)
5400 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5401 ("python" ,python-wrapper)
5402 ("python-dateutil" ,python-dateutil)
5403 ("python-pyfxa" ,python-pyfxa)
5404 ("python-pygobject" ,python-pygobject)
5405 ("python-pycairo" ,python-pycairo)
5406 ("python-pycrypto" ,python-pycrypto)
5407 ("libsecret" ,libsecret)
5408 ("gtkspell3" ,gtkspell3)
5409 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5410 ("webkitgtk" ,webkitgtk)))
5411 (home-page "https://wiki.gnome.org/Apps/Eolie")
5412 (synopsis "Web browser for GNOME")
5414 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5415 a secret password store, an adblocker, and a modern UI.")
5416 (license license:gpl3+)))
5418 (define-public epiphany
5424 (uri (string-append "mirror://gnome/sources/epiphany/"
5425 (version-major+minor version) "/"
5426 "epiphany-" version ".tar.xz"))
5429 "1hj4yy53fwh96h17cqiw3gxc070vmc7yqwc7phvhnpyinkp9g5my"))))
5431 (build-system meson-build-system)
5433 ;; FIXME: tests run under Xvfb, but fail with:
5434 ;; /src/bookmarks/ephy-bookmarks/create:
5435 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5441 (modify-phases %standard-phases
5442 (add-after 'unpack 'skip-gtk-update-icon-cache
5443 ;; Don't create 'icon-theme.cache'.
5445 (substitute* "post_install.py"
5446 (("gtk-update-icon-cache") "true"))
5449 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5450 (list (string-append "-Dc_link_args=-Wl,-rpath="
5451 (assoc-ref %outputs "out") "/lib/epiphany"))))
5453 `(("dconf" ,dconf)))
5455 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5456 ("glib:bin" ,glib "bin") ; for glib-mkenums
5457 ("intltool" ,intltool)
5458 ("itstool" ,itstool)
5459 ("pkg-config" ,pkg-config)
5460 ("xmllint" ,libxml2)))
5464 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5465 ("glib-networking" ,glib-networking)
5466 ("gnome-desktop" ,gnome-desktop)
5467 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5468 ("json-glib" ,json-glib)
5469 ("iso-codes" ,iso-codes)
5470 ("libdazzle" ,libdazzle)
5471 ("libnotify" ,libnotify)
5472 ("libsecret" ,libsecret)
5473 ("libxslt" ,libxslt)
5474 ("nettle" ,nettle) ; for hogweed
5476 ("webkitgtk" ,webkitgtk)))
5477 (home-page "https://wiki.gnome.org/Apps/Web")
5478 (synopsis "GNOME web browser")
5480 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5481 principles are simplicity and standards compliance.")
5482 (license license:gpl2+)))
5484 (define-public d-feet
5490 (uri (string-append "mirror://gnome/sources/" name "/"
5491 (version-major+minor version) "/"
5492 name "-" version ".tar.xz"))
5495 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5496 (build-system glib-or-gtk-build-system)
5498 '(#:out-of-source? #f ; tests need to run in the source directory.
5500 (modify-phases %standard-phases
5504 ;; The test suite requires a running X server.
5505 (system "Xvfb :1 &")
5506 (setenv "DISPLAY" ":1")
5507 ;; Don't fail on missing '/etc/machine-id'.
5508 (setenv "DBUS_FATAL_WARNINGS" "0")
5509 ;; tests.py and window.py don't meet E402:
5510 ;; E402 module level import not at top of file
5511 (substitute* "src/tests/Makefile"
5512 (("--ignore=E123") "--ignore=E123,E402"))
5515 'install 'wrap-program
5516 (lambda* (#:key outputs #:allow-other-keys)
5517 (let ((prog (string-append (assoc-ref outputs "out")
5520 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5521 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5524 `(("intltool" ,intltool)
5525 ("itstool" ,itstool)
5526 ("pkg-config" ,pkg-config)
5527 ("python-pep8" ,python-pep8)
5528 ("xmllint" ,libxml2)
5529 ("xorg-server" ,xorg-server-for-tests)))
5531 `(("gobject-introspection" ,gobject-introspection)
5533 ("python" ,python-wrapper)
5534 ("hicolor-icon-theme" ,hicolor-icon-theme)
5535 ("python-pygobject" ,python-pygobject)))
5536 (home-page "https://wiki.gnome.org/Apps/DFeet")
5537 (synopsis "D-Bus debugger")
5539 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5540 of running programs and invoke methods on those interfaces.")
5541 (license license:gpl2+)))
5543 (define-public yelp-xsl
5549 (uri (string-append "mirror://gnome/sources/" name "/"
5550 (version-major+minor version) "/"
5551 name "-" version ".tar.xz"))
5554 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
5555 (build-system gnu-build-system)
5557 `(("intltool" ,intltool)
5558 ("itstool" ,itstool)
5559 ("xmllint" ,libxml2)))
5560 (home-page "https://wiki.gnome.org/Apps/Yelp")
5561 (synopsis "XSL stylesheets for Yelp")
5563 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5564 to format Docbook and Mallard documents.")
5565 (license license:gpl2+)))
5573 (uri (string-append "mirror://gnome/sources/" name "/"
5574 (version-major+minor version) "/"
5575 name "-" version ".tar.xz"))
5578 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5579 (build-system glib-or-gtk-build-system)
5581 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5582 ("intltool" ,intltool)
5583 ("itstool" ,itstool)
5584 ("pkg-config" ,pkg-config)))
5586 `(("dconf" ,dconf)))
5588 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5589 ("libxslt" ,libxslt)
5591 ("webkitgtk" ,webkitgtk)
5592 ("yelp-xsl" ,yelp-xsl)))
5593 (home-page "https://wiki.gnome.org/Apps/Yelp")
5594 (synopsis "GNOME help browser")
5596 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5597 man, info, and HTML documents. It can locate documents according to the
5598 freedesktop.org help system specification.")
5599 (license license:gpl2+)))
5601 (define-public yelp-tools
5607 (uri (string-append "mirror://gnome/sources/" name "/"
5608 (version-major+minor version) "/"
5609 name "-" version ".tar.xz"))
5612 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
5613 (build-system gnu-build-system)
5615 `(("pkg-config" ,pkg-config)))
5617 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5618 `(("itstool" ,itstool)
5619 ("xmllint" ,libxml2)
5620 ("xsltproc" ,libxslt)))
5622 `(("yelp-xsl" ,yelp-xsl)))
5623 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5624 (synopsis "Yelp documentation tools")
5626 "Yelp-tools is a collection of scripts and build utilities to help create,
5627 manage, and publish documentation for Yelp and the web. Most of the heavy
5628 lifting is done by packages like yelp-xsl and itstool. This package just
5629 wraps things up in a developer-friendly way.")
5630 (license license:gpl2+)))
5632 (define-public yelp-tools/fixed
5633 ;; This variant fixes a python-libxml2 crash when processing UTF-8
5634 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
5635 ;; the next rebuild cycle.
5640 `(("itstool" ,itstool/fixed)
5641 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
5643 (define-public libgee
5649 (uri (string-append "mirror://gnome/sources/libgee/"
5650 (version-major+minor version) "/"
5651 "libgee-" version ".tar.xz"))
5654 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5655 (build-system gnu-build-system)
5658 (modify-phases %standard-phases
5659 (add-after 'unpack 'fix-introspection-install-dir
5660 (lambda* (#:key outputs #:allow-other-keys)
5661 (let ((out (assoc-ref outputs "out")))
5662 (substitute* "gee/Makefile.in"
5663 (("@INTROSPECTION_GIRDIR@")
5664 (string-append out "/share/gir-1.0/"))
5665 (("@INTROSPECTION_TYPELIBDIR@")
5666 (string-append out "/lib/girepository-1.0/")))))))))
5668 `(("glib" ,glib "bin")
5669 ("pkg-config" ,pkg-config)))
5672 ("gobject-introspection" ,gobject-introspection)))
5673 (home-page "https://wiki.gnome.org/Projects/Libgee")
5674 (synopsis "GObject collection library")
5676 "Libgee is a utility library providing GObject-based interfaces and
5677 classes for commonly used data structures.")
5678 (license license:lgpl2.1+)))
5680 (define-public gexiv2
5686 (uri (string-append "mirror://gnome/sources/" name "/"
5687 (version-major+minor version) "/"
5688 name "-" version ".tar.xz"))
5691 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5692 (build-system meson-build-system)
5695 ("glib" ,glib "bin")
5696 ("pkg-config" ,pkg-config)
5699 ;; Listed in "Requires" section of gexiv2.pc
5700 `(("exiv2" ,exiv2)))
5703 ("gobject-introspection" ,gobject-introspection)))
5704 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5705 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5707 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5708 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5709 metadata in photo and video files of various formats.")
5710 (license license:gpl2+)))
5712 (define-public shotwell
5718 (uri (string-append "mirror://gnome/sources/shotwell/"
5719 (version-major+minor version) "/"
5720 "shotwell-" version ".tar.xz"))
5723 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
5724 (build-system meson-build-system)
5728 (modify-phases %standard-phases
5729 (add-after 'unpack 'skip-gtk-update-icon-cache
5731 (substitute* "build-aux/meson/postinstall.py"
5732 (("gtk-update-icon-cache") (which "true"))
5733 (("update-desktop-database") (which "true")))
5736 `(("dconf" ,dconf)))
5738 `(("gettext" ,gettext-minimal)
5739 ("glib:bin" ,glib "bin")
5740 ("itstool" ,itstool)
5741 ("pkg-config" ,pkg-config)
5746 ("gst-plugins-base" ,gst-plugins-base)
5747 ("gstreamer" ,gstreamer)
5748 ("json-glib" ,json-glib)
5749 ("libgdata" ,libgdata)
5751 ("libgphoto2" ,libgphoto2)
5752 ("libgudev" ,libgudev)
5754 ("libsoup" ,libsoup)
5755 ("libxml2" ,libxml2)
5757 ("webkitgtk" ,webkitgtk)))
5758 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5759 (synopsis "Photo manager for GNOME 3")
5761 "Shotwell is a digital photo manager designed for the GNOME desktop
5762 environment. It allows you to import photos from disk or camera, organize
5763 them by keywords and events, view them in full-window or fullscreen mode, and
5764 share them with others via social networking and more.")
5765 (license license:lgpl2.1+)))
5767 (define-public file-roller
5769 (name "file-roller")
5773 (uri (string-append "mirror://gnome/sources/file-roller/"
5774 (version-major+minor version) "/"
5775 "file-roller-" version ".tar.xz"))
5778 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5779 (build-system meson-build-system)
5781 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5782 ("intltool" ,intltool)
5783 ("itstool" ,itstool)
5784 ("pkg-config" ,pkg-config)
5785 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5786 ("glib:bin" ,glib "bin")))
5787 ;; TODO: Add libnautilus.
5790 ("gdk-pixbuf" ,gdk-pixbuf)
5791 ("json-glib" ,json-glib)
5792 ("libarchive" ,libarchive)
5793 ("libnotify" ,libnotify)
5795 ("libxml2" ,libxml2)))
5796 (synopsis "Graphical archive manager for GNOME")
5797 (description "File Roller is an archive manager for the GNOME desktop
5798 environment that allows users to view, unpack, and create compressed archives
5799 such as gzip tarballs.")
5800 (home-page "http://fileroller.sourceforge.net/")
5801 (license license:gpl2+)))
5803 (define-public gnome-session
5805 (name "gnome-session")
5809 (uri (string-append "mirror://gnome/sources/" name "/"
5810 (version-major+minor version) "/"
5811 name "-" version ".tar.xz"))
5814 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
5818 (modify-phases %standard-phases
5819 (add-before 'configure 'pre-configure
5820 (lambda* (#:key outputs #:allow-other-keys)
5821 ;; Use elogind instead of systemd.
5822 (substitute* "meson.build"
5823 (("libsystemd-login") "libelogind")
5824 (("and libsystemd_daemon_dep.found.*") ","))
5825 (substitute* "gnome-session/gsm-systemd.c"
5826 (("#include <systemd/sd-login.h>")
5827 "#include <elogind/sd-login.h>"))
5828 ;; Remove uses of the systemd daemon.
5829 (substitute* "gnome-session/gsm-autostart-app.c"
5830 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5832 (add-after 'install 'wrap-gnome-session
5833 (lambda* (#:key inputs outputs #:allow-other-keys)
5834 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5835 (let ((glib (assoc-ref inputs "glib:bin"))
5836 (out (assoc-ref outputs "out")))
5837 (wrap-program (string-append out "/bin/gnome-session")
5838 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5842 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5843 "-Dman=false" ; FIXME: disabled because of docbook validation error
5844 "-Dsystemd_journal=false")))
5845 (build-system meson-build-system)
5847 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5848 ("pkg-config" ,pkg-config)
5849 ("intltool" ,intltool)
5850 ("xsltproc" ,libxslt)
5851 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5852 ("docbook-xsl" ,docbook-xsl)
5853 ("docbook-xml" ,docbook-xml)
5856 `(("elogind" ,elogind)
5857 ("gnome-desktop" ,gnome-desktop)
5858 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5860 ("json-glib" ,json-glib)
5862 ("libxcomposite" ,libxcomposite)
5863 ("libxtst" ,libxtst)
5866 ("xtrans" ,xtrans)))
5867 (synopsis "Session manager for GNOME")
5869 "This package contains the GNOME session manager, as well as a
5870 configuration program to choose applications starting on login.")
5871 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5872 (license license:gpl2+)))
5880 (uri (string-append "mirror://gnome/sources/" name "/"
5881 (version-major+minor version) "/"
5882 name "-" version ".tar.xz"))
5885 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
5886 (build-system gnu-build-system)
5889 (modify-phases %standard-phases
5893 ;; The test suite requires a running X server.
5894 (system "Xvfb :1 &")
5895 (setenv "DISPLAY" ":1")
5897 ;; For the missing /etc/machine-id.
5898 (setenv "DBUS_FATAL_WARNINGS" "0")
5900 ;; Our mozjs-38 package does not compile the required Intl API
5901 ;; support for these failing tests.
5902 (substitute* "installed-tests/js/testLocale.js"
5903 ((".*toBeDefined.*") "")
5904 ((".*expect\\(datestr\\).*") ""))
5905 (substitute* "installed-tests/scripts/testCommandLine.sh"
5910 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5911 ("pkg-config" ,pkg-config)
5912 ("xmllint" ,libxml2)
5914 ("dbus-launch" ,dbus)
5915 ("uuidgen" ,util-linux)
5916 ("xvfb" ,xorg-server-for-tests)))
5918 ;; These are all in the Requires.private field of gjs-1.0.pc.
5920 ("gobject-introspection" ,gobject-introspection)
5921 ("mozjs" ,mozjs-60)))
5924 ("readline" ,readline)))
5925 (synopsis "Javascript bindings for GNOME")
5926 (home-page "https://live.gnome.org/Gjs")
5928 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5929 javascript engine and the GObject introspection framework.")
5930 (license license:gpl2+)))
5932 (define-public gedit
5938 (uri (string-append "mirror://gnome/sources/" name "/"
5939 (version-major+minor version) "/"
5940 name "-" version ".tar.xz"))
5943 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
5944 (build-system meson-build-system)
5948 ;; Otherwise, the RUNPATH will lack the final path component.
5949 (list (string-append "-Dc_link_args=-Wl,-rpath="
5950 (assoc-ref %outputs "out") "/lib/gedit"))
5952 ;; XXX: Generated .h files are sometimes used before being built.
5953 #:parallel-build? #f
5956 (modify-phases %standard-phases
5957 (add-after 'unpack 'skip-gtk-update-icon-cache
5958 ;; Don't create 'icon-theme.cache'.
5960 (substitute* "build-aux/meson/post_install.py"
5961 (("gtk-update-icon-cache") (which "true")))
5963 (add-after 'unpack 'patch-libgd-fetch
5964 (lambda* (#:key inputs #:allow-other-keys)
5965 (let ((libgd (assoc-ref inputs "libgd")))
5966 ;; Calling git is unnecessary because libgd is fetched as a
5967 ;; native input to this package.
5968 (substitute* "meson.build"
5970 (copy-recursively libgd "subprojects/libgd")
5972 (add-after 'install 'wrap-gedit
5973 (lambda* (#:key inputs outputs #:allow-other-keys)
5974 (let ((out (assoc-ref outputs "out"))
5975 (gtksourceview (assoc-ref inputs "gtksourceview"))
5976 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5977 (python-path (getenv "PYTHONPATH")))
5978 (wrap-program (string-append out "/bin/gedit")
5980 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5981 `("PYTHONPATH" ":" prefix (,python-path))
5982 ;; For language-specs.
5983 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5987 `(("dconf" ,dconf)))
5989 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5990 ("intltool" ,intltool)
5991 ("itstool" ,itstool)
5992 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5993 ("gobject-introspection" ,gobject-introspection)
5998 (url "https://gitlab.gnome.org/GNOME/libgd")
5999 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6000 (file-name (git-file-name "libgd" version))
6002 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6003 ("pkg-config" ,pkg-config)))
6008 ("gtksourceview" ,gtksourceview)
6009 ("libpeas" ,libpeas)
6010 ("libxml2" ,libxml2)
6011 ("iso-codes" ,iso-codes)
6012 ("python-pygobject" ,python-pygobject)
6014 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6017 ("adwaita-icon-theme" ,adwaita-icon-theme)
6018 ("libsoup" ,libsoup)
6019 ("gnome-desktop" ,gnome-desktop)))
6020 (home-page "https://wiki.gnome.org/Apps/Gedit")
6021 (synopsis "GNOME text editor")
6022 (description "While aiming at simplicity and ease of use, gedit is a
6023 powerful general purpose text editor.")
6024 (license license:gpl2+)))
6026 (define-public zenity
6032 (uri (string-append "mirror://gnome/sources/zenity/"
6033 (version-major+minor version) "/"
6034 "zenity-" version ".tar.xz"))
6037 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6038 (build-system gnu-build-system)
6040 `(("gettext" ,gettext-minimal)
6041 ("itstool" ,itstool)
6042 ("pkg-config" ,pkg-config)))
6044 `(("libnotify" ,libnotify)
6045 ("webkitgtk" ,webkitgtk)))
6046 (synopsis "Display graphical dialog boxes from shell scripts")
6047 (home-page "https://www.gnome.org")
6049 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6050 to display dialog boxes from the commandline and shell scripts.")
6051 (license license:lgpl2.0+)))
6053 (define-public mutter
6059 (uri (string-append "mirror://gnome/sources/" name "/"
6060 (version-major+minor version) "/"
6061 name "-" version ".tar.xz"))
6064 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
6065 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6066 ;; versions of cogl and clutter. As a result, many of the inputs,
6067 ;; propagated-inputs, and configure flags used in cogl and clutter are
6068 ;; needed here as well.
6069 (build-system meson-build-system)
6071 '(;; XXX: All mutter tests fail with the following error:
6072 ;; Settings schema 'org.gnome.mutter' is not installed
6076 ;; Otherwise, the RUNPATH will lack the final path component.
6077 (list (string-append "-Dc_link_args=-Wl,-rpath="
6078 (assoc-ref %outputs "out") "/lib:"
6079 (assoc-ref %outputs "out") "/lib/mutter-4")
6081 ;; The following flags are needed for the bundled clutter
6082 (string-append "-Dxwayland_path="
6083 (assoc-ref %build-inputs "xorg-server-xwayland")
6086 ;; the remaining flags are needed for the bundled cogl
6087 (string-append "-Dopengl_libname="
6088 (assoc-ref %build-inputs "mesa")
6091 (modify-phases %standard-phases
6092 (add-after 'unpack 'disable-werror
6094 ;; XXX: build fails with [-Werror]:
6095 ;; backends/meta-cursor-renderer.c:112:5: error:
6096 ;; implicit declaration of function ?roundf?
6097 (substitute* "meson.build"
6098 (("'-Werror=.*',") ""))
6100 ;; Replace references to systemd libraries to elogind references.
6101 (add-before 'configure 'use-elogind
6103 (substitute* (list "meson.build"
6104 "src/backends/native/meta-launcher.c"
6106 (("systemd") "elogind"))
6109 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6110 ("gobject-introspection" ,gobject-introspection)
6111 ("intltool" ,intltool)
6112 ("pkg-config" ,pkg-config)
6113 ("xorg-server" ,xorg-server-for-tests)
6115 ("autoconf" ,autoconf)
6116 ("automake" ,automake)
6117 ("libtool" ,libtool)))
6119 `(;; libmutter.pc refers to these:
6120 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6122 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6125 ("gdk-pixbuf" ,gdk-pixbuf)
6127 ("json-glib" ,json-glib)
6128 ("libinput" ,libinput)
6130 ("libxcomposite" ,libxcomposite)
6131 ("libxdamage" ,libxdamage)
6132 ("libxext" ,libxext)
6133 ("libxfixes" ,libxfixes)
6134 ("libxkbcommon" ,libxkbcommon)
6135 ("libxrandr" ,libxrandr)
6139 ("xinput" ,xinput)))
6141 `(("elogind" ,elogind)
6142 ("gnome-desktop" ,gnome-desktop)
6143 ("gnome-settings-daemon" ,gnome-settings-daemon)
6144 ("libcanberra-gtk" ,libcanberra)
6145 ("libgudev" ,libgudev)
6148 ("libwacom" ,libwacom)
6149 ("libxkbfile" ,libxkbfile)
6150 ("libxrandr" ,libxrandr)
6151 ("libxtst" ,libxtst)
6152 ("pipewire" ,pipewire)
6153 ("startup-notification" ,startup-notification)
6154 ("upower-glib" ,upower)
6155 ("xkeyboard-config" ,xkeyboard-config)
6156 ("xorg-server-xwayland" ,xorg-server-xwayland)
6157 ("zenity" ,zenity)))
6158 (synopsis "Window and compositing manager")
6159 (home-page "https://www.gnome.org")
6161 "Mutter is a window and compositing manager that displays and manages your
6162 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6163 Clutter toolkit with solid window-management logic inherited from the Metacity
6165 (license license:gpl2+)))
6167 (define-public gnome-online-accounts
6169 (name "gnome-online-accounts")
6173 (uri (string-append "mirror://gnome/sources/" name "/"
6174 (version-major+minor version) "/"
6175 name "-" version ".tar.xz"))
6178 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6179 (outputs '("out" "lib"))
6180 (build-system glib-or-gtk-build-system)
6183 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6185 (modify-phases %standard-phases
6186 (add-before 'configure 'patch-libgoa-output
6187 (lambda* (#:key outputs #:allow-other-keys)
6188 (let ((lib (assoc-ref outputs "lib")))
6189 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6191 (("@exec_prefix@") lib)
6192 (("@libdir@") (string-append lib "/lib"))
6193 (("@includedir@") (string-append lib "/include"))
6194 (("@datadir@") (string-append lib "/share")))
6195 ;; Make sure gobject-introspection knows about the output
6196 ;; too (see <https://bugs.gnu.org/36535>).
6197 (setenv "outputs" "out lib")
6200 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6201 ("gobject-introspection" ,gobject-introspection)
6202 ("intltool" ,intltool)
6203 ("pkg-config" ,pkg-config)
6205 ("xsltproc" ,libxslt)))
6207 `(("glib" ,glib) ; required by goa-1.0.pc
6208 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6210 `(("docbook-xsl" ,docbook-xsl)
6211 ("json-glib" ,json-glib)
6212 ("libsecret" ,libsecret)
6214 ("webkitgtk" ,webkitgtk)))
6215 (synopsis "Single sign-on framework for GNOME")
6216 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6218 "GNOME Online Accounts provides interfaces so that applications and
6219 libraries in GNOME can access the user's online accounts. It has providers for
6220 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6221 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6222 (license license:lgpl2.0+)))
6224 (define-public evolution-data-server
6226 (name "evolution-data-server")
6230 (uri (string-append "mirror://gnome/sources/" name "/"
6231 (version-major+minor version) "/"
6232 name "-" version ".tar.xz"))
6233 (patches (search-patches "evolution-data-server-locales.patch"
6234 "evolution-data-server-libical-compat.patch"))
6237 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
6238 (build-system cmake-build-system)
6241 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6242 (runpaths (map (lambda (s)
6243 (string-append lib "/evolution-data-server/" s))
6244 '("addressbook-backends" "calendar-backends"
6245 "camel-providers" "credential-modules"
6246 "registry-modules"))))
6247 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6248 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6249 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6250 "-DENABLE_VALA_BINDINGS=ON"
6251 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6252 (string-append lib "/evolution-data-server;")
6253 (string-join runpaths ";"))
6254 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6256 (modify-phases %standard-phases
6257 (add-after 'unpack 'disable-failing-tests
6259 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6260 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6261 (delete-file-recursively "tests/book-migration")
6262 (substitute* "tests/CMakeLists.txt"
6263 (("add_subdirectory\\(book-migration\\)") ""))
6264 ;; tests/libebook/client/test-book-client-view-operations:8077):
6265 ;; e-data-server-WARNING **:
6266 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6267 ;; runtime check failed:
6268 ;; (!g_main_context_pending (closure->main_context))
6269 (substitute* "tests/libebook/client/CMakeLists.txt"
6270 (("test-book-client-view-operations") ""))
6272 (add-after 'unpack 'patch-paths
6274 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6275 "tests/libedata-book/data-test-utils.c"
6276 "tests/libedata-book/test-book-cache-utils.c"
6277 "tests/libedata-cal/test-cal-cache-utils.c")
6278 (("/bin/rm") (which "rm")))
6280 (add-before 'configure 'dont-override-rpath
6282 (substitute* "CMakeLists.txt"
6283 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6284 ;; Remove it so the configure flag is respected.
6285 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6288 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6289 ("gobject-introspection" ,gobject-introspection)
6291 ("intltool" ,intltool)
6292 ("pkg-config" ,pkg-config)
6294 ("python" ,python-wrapper)))
6296 ;; These are all in the Requires field of .pc files.
6298 ("libical" ,libical)
6299 ("libsecret" ,libsecret)
6300 ("libsoup" ,libsoup)
6302 ("sqlite" ,sqlite)))
6306 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6307 ("json-glib" ,json-glib)
6308 ("libcanberra" ,libcanberra)
6309 ("libgweather" ,libgweather)
6310 ("mit-krb5" ,mit-krb5)
6311 ("openldap" ,openldap)
6312 ("webkitgtk" ,webkitgtk)))
6313 (synopsis "Store address books and calendars")
6314 (home-page "https://wiki.gnome.org/Apps/Evolution")
6316 "This package provides a unified backend for programs that work with
6317 contacts, tasks, and calendar information. It was originally developed for
6318 Evolution (hence the name), but is now used by other packages as well.")
6319 (license license:lgpl2.0)))
6321 (define-public caribou
6327 (uri (string-append "mirror://gnome/sources/" name "/"
6328 (version-major+minor version) "/"
6329 name "-" version ".tar.xz"))
6332 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6333 (build-system glib-or-gtk-build-system)
6336 (modify-phases %standard-phases
6339 (lambda* (#:key outputs #:allow-other-keys)
6340 (let ((out (assoc-ref outputs "out")))
6341 ;; Use absolute shared library path in Caribou-1.0.typelib.
6342 (substitute* "libcaribou/Makefile"
6343 (("--shared-library=libcaribou.so")
6344 (string-append "--shared-library="
6345 out "/lib/libcaribou.so")))
6347 (add-after 'install 'wrap-programs
6348 (lambda* (#:key outputs #:allow-other-keys)
6349 (let* ((out (assoc-ref outputs "out"))
6350 (python-path (getenv "PYTHONPATH"))
6351 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6355 `("PYTHONPATH" ":" prefix (,python-path))
6356 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6357 (list (string-append out "/bin/caribou-preferences")
6358 (string-append out "/libexec/antler-keyboard"))))
6361 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6362 ("gobject-introspection" ,gobject-introspection)
6363 ("intltool" ,intltool)
6364 ("pkg-config" ,pkg-config)
6367 ("xsltproc" ,libxslt)))
6369 ;; caribou-1.0.pc refers to all these.
6370 `(("libgee" ,libgee)
6371 ("libxklavier" ,libxklavier)
6372 ("libxtst" ,libxtst)
6375 `(("clutter" ,clutter)
6378 ("python-pygobject" ,python-pygobject)))
6379 (synopsis "Text entry and UI navigation application")
6380 (home-page "https://wiki.gnome.org/Projects/Caribou")
6382 "Caribou is an input assistive technology intended for switch and pointer
6384 (license license:lgpl2.1)))
6386 (define-public network-manager
6388 (name "network-manager")
6392 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6393 (version-major+minor version) "/"
6394 "NetworkManager-" version ".tar.xz"))
6395 (patches (search-patches "nm-plugin-path.patch"))
6398 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6399 (modules '((guix build utils)))
6402 (substitute* "src/devices/wwan/nm-modem-manager.c"
6403 (("systemd") "elogind"))
6405 (build-system gnu-build-system)
6407 "doc")) ; 8 MiB of gtk-doc HTML
6410 (let ((out (assoc-ref %outputs "out"))
6411 (doc (assoc-ref %outputs "doc"))
6412 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6414 (list "--with-libnm-glib" ; needed by network-manager-applet
6415 "--with-systemd-journal=no"
6416 "--with-session-tracking=elogind"
6417 "--with-suspend-resume=elogind"
6418 "--with-consolekit=no"
6419 "--with-crypto=gnutls"
6420 "--disable-config-plugin-ibft"
6422 "--localstatedir=/var"
6423 (string-append "--with-udev-dir="
6425 (string-append "--with-dbus-sys-dir="
6426 out "/etc/dbus-1/system.d")
6427 (string-append "--with-html-dir="
6428 doc "/share/gtk-doc/html")
6429 (string-append "--with-dhclient=" dhclient)))
6431 (modify-phases %standard-phases
6432 ;; This bare "ls" invocation breaks some tests.
6433 (add-after 'unpack 'patch-ls-invocation
6435 (substitute* "build-aux/ltmain.sh"
6437 (string-append "`" (which "ls") " -")))
6439 (add-before 'configure 'pre-configure
6441 ;; These tests try to test aspects of network-manager's
6442 ;; functionality within restricted containers, but they don't
6443 ;; cope with being already in the Guix build jail as that jail
6444 ;; lacks some features that they would like to proxy over (like
6446 (substitute* '("Makefile.in")
6447 (("src/platform/tests/test-address-linux") " ")
6448 (("src/platform/tests/test-cleanup-linux") " ")
6449 (("src/platform/tests/test-link-linux") " ")
6450 (("src/platform/tests/test-route-linux") " ")
6451 (("src/devices/tests/test-acd") "")
6452 (("src/devices/tests/test-arping") " ")
6453 (("src/devices/tests/test-lldp") " ")
6454 (("src/tests/test-route-manager-linux") " "))
6456 (add-after 'unpack 'delete-failing-tests
6458 ;; FIXME: These three tests fail for unknown reasons.
6459 ;; ERROR:libnm-core/tests/test-general.c:5842:
6460 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6461 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6462 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6463 ;; ERROR:libnm-core/tests/test-setting.c:907:
6464 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6465 (substitute* "Makefile.in"
6466 (("libnm-core/tests/test-general") " ")
6467 (("libnm-core/tests/test-keyfile") " ")
6468 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6470 (add-before 'check 'pre-check
6472 ;; For the missing /etc/machine-id.
6473 (setenv "DBUS_FATAL_WARNINGS" "0")
6481 "nmstatedir=/tmp/nm"
6487 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6488 ("gobject-introspection" ,gobject-introspection)
6489 ("docbook-xsl" ,docbook-xsl)
6490 ("intltool" ,intltool)
6491 ("libxslt" ,libxslt)
6492 ("libxml2" ,libxml2)
6493 ("pkg-config" ,pkg-config)
6495 ("python" ,python-wrapper)
6496 ("python-dbus" ,python-dbus)
6497 ("python-pygobject" ,python-pygobject)))
6499 `(("coreutils" ,coreutils) ; for ls
6501 ("cyrus-sasl" ,cyrus-sasl)
6502 ("dbus-glib" ,dbus-glib)
6503 ("dnsmasq" ,dnsmasq)
6506 ("iptables" ,iptables)
6507 ("isc-dhcp" ,isc-dhcp)
6508 ("jansson" ,jansson)
6509 ("libgcrypt" ,libgcrypt)
6510 ("libgudev" ,libgudev)
6513 ("libsoup" ,libsoup)
6514 ("modem-manager" ,modem-manager)
6515 ("newt" ,newt) ;for the 'nmtui' console interface
6518 ("readline" ,readline)
6519 ("util-linux" ,util-linux)
6520 ("elogind" ,elogind)))
6521 (synopsis "Network connection manager")
6522 (home-page "https://www.gnome.org/projects/NetworkManager/")
6524 "NetworkManager is a system network service that manages your network
6525 devices and connections, attempting to keep active network connectivity when
6526 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6527 devices, and provides VPN integration with a variety of different VPN
6529 (license license:gpl2+)
6530 (properties '((upstream-name . "NetworkManager")))))
6532 (define-public network-manager-openvpn
6534 (name "network-manager-openvpn")
6535 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6540 "mirror://gnome/sources/NetworkManager-openvpn/"
6541 (version-major+minor version)
6542 "/NetworkManager-openvpn-" version ".tar.xz"))
6545 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6546 (build-system gnu-build-system)
6548 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6550 (modify-phases %standard-phases
6551 (add-after 'configure 'patch-path
6552 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6553 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6555 (modprobe (string-append (assoc-ref inputs "kmod")
6557 (pretty-ovpn (string-append "\"" ovpn "\"")))
6561 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6562 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6563 (("\"/sbin/openvpn\"") pretty-ovpn)
6564 (("/sbin/modprobe") modprobe)))
6565 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6568 `(("pkg-config" ,pkg-config)
6569 ("intltool" ,intltool)))
6573 ("openvpn" ,openvpn)
6574 ("network-manager" ,network-manager)
6575 ("network-manager-applet" ,network-manager-applet) ;for libnma
6576 ("libsecret" ,libsecret)))
6577 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6578 (synopsis "OpenVPN plug-in for NetworkManager")
6580 "This extension of NetworkManager allows it to take care of connections
6581 to virtual private networks (VPNs) via OpenVPN.")
6582 (license license:gpl2+)
6583 (properties `((upstream-name . "NetworkManager-openvpn")))))
6585 (define-public network-manager-vpnc
6587 (name "network-manager-vpnc")
6592 "mirror://gnome/sources/NetworkManager-vpnc/"
6593 (version-major+minor version)
6594 "/NetworkManager-vpnc-" version ".tar.xz"))
6597 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6598 (build-system gnu-build-system)
6600 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6602 (modify-phases %standard-phases
6603 (add-after 'configure 'patch-path
6604 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6605 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6607 (modprobe (string-append (assoc-ref inputs "kmod")
6609 (pretty-ovpn (string-append "\"" vpnc "\"")))
6610 (substitute* "src/nm-vpnc-service.c"
6611 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6612 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6613 (("\"/sbin/vpnc\"") pretty-ovpn)
6614 (("/sbin/modprobe") modprobe)))
6617 `(("pkg-config" ,pkg-config)
6618 ("intltool" ,intltool)))
6623 ("network-manager" ,network-manager)
6624 ("network-manager-applet" ,network-manager-applet) ;for libnma
6625 ("libsecret" ,libsecret)))
6626 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6627 (synopsis "VPNC plug-in for NetworkManager")
6629 "Support for configuring virtual private networks based on VPNC.
6630 Compatible with Cisco VPN concentrators configured to use IPsec.")
6631 (license license:gpl2+)
6632 (properties `((upstream-name . "NetworkManager-vpnc")))))
6634 (define-public network-manager-openconnect
6636 (name "network-manager-openconnect")
6641 "mirror://gnome/sources/NetworkManager-openconnect/"
6642 (version-major+minor version)
6643 "/NetworkManager-openconnect-" version ".tar.xz"))
6646 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6647 (build-system gnu-build-system)
6649 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6651 (modify-phases %standard-phases
6652 (add-after 'configure 'patch-path
6653 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6654 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6655 "/sbin/openconnect"))
6656 (modprobe (string-append (assoc-ref inputs "kmod")
6658 (pretty-ovpn (string-append "\"" openconnect "\"")))
6659 (substitute* "src/nm-openconnect-service.c"
6660 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6661 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6662 (("/sbin/modprobe") modprobe)))
6665 `(("intltool" ,intltool)
6666 ("network-manager-applet" ,network-manager-applet) ;for libnma
6667 ("pkg-config" ,pkg-config)))
6672 ("libsecret" ,libsecret)
6673 ("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 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6723 (build-system meson-build-system)
6726 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6727 (list "-Dlibnm_gtk=true")
6730 `(("intltool" ,intltool)
6731 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6732 ("gobject-introspection" ,gobject-introspection)
6733 ("gtk-doc" ,gtk-doc)
6734 ("pkg-config" ,pkg-config)))
6736 ;; libnm-gtk.pc refers to all these.
6737 `(("dbus-glib" ,dbus-glib)
6739 ("network-manager" ,network-manager)))
6742 ("iso-codes" ,iso-codes)
6743 ("libgudev" ,libgudev)
6744 ("libnotify" ,libnotify)
6745 ("libsecret" ,libsecret)
6746 ("libselinux" ,libselinux)
6747 ("jansson" ,jansson) ; for team support
6748 ("modem-manager" ,modem-manager)
6749 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6750 (synopsis "Applet for managing network connections")
6751 (home-page "https://www.gnome.org/projects/NetworkManager/")
6753 "This package contains a systray applet for NetworkManager. It displays
6754 the available networks and allows users to easily switch between them.")
6755 (license license:gpl2+)))
6757 (define-public libxml++
6763 (uri (string-append "mirror://gnome/sources/" name "/"
6764 (version-major+minor version) "/"
6765 name "-" version ".tar.xz"))
6768 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6769 (build-system gnu-build-system)
6770 ;; libxml++-3.0.pc refers to all these.
6772 `(("libxml2" ,libxml2)
6773 ("glibmm" ,glibmm)))
6776 ("pkg-config" ,pkg-config)))
6777 (home-page "http://libxmlplusplus.sourceforge.net/")
6778 (synopsis "C++ wrapper for XML parser library libxml2")
6780 "This package provides a C++ wrapper for the XML parser library
6782 (license license:lgpl2.1+)))
6784 (define-public libxml++-2
6791 (uri (string-append "mirror://gnome/sources/" name "/"
6792 (version-major+minor version) "/"
6793 name "-" version ".tar.xz"))
6796 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6804 (uri (string-append "mirror://gnome/sources/" name "/"
6805 (version-major+minor version) "/"
6806 name "-" version ".tar.xz"))
6809 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))
6810 (patches (search-patches "gdm-default-session.patch"))))
6811 (build-system glib-or-gtk-build-system)
6814 `("--without-plymouth"
6815 "--disable-systemd-journal"
6817 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6818 ;; instead of having to replace it (i.e., stopping the mingetty
6819 ;; service for TTY 1 before starting GDM).
6820 "--with-initial-vt=7"
6822 ;; Use '/etc/environment' for locale settings instead of the
6823 ;; systemd-specific '/etc/locale.conf'.
6824 "--with-lang-file=/etc/environment"
6826 ,(string-append "--with-udevdir="
6827 (assoc-ref %outputs "out") "/lib/udev")
6829 "--localstatedir=/var"
6830 ,(string-append "--with-default-path="
6831 (string-join '("/run/setuid-programs"
6832 "/run/current-system/profile/bin"
6833 "/run/current-system/profile/sbin")
6835 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6836 ;; XDG_DATA_DIRS so that it finds its schemas.
6837 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6839 (modify-phases %standard-phases
6841 'configure 'pre-configure
6842 (lambda* (#:key inputs outputs #:allow-other-keys)
6843 ;; We don't have <systemd/sd-daemon.h>.
6844 (substitute* '("common/gdm-log.c"
6845 "daemon/gdm-server.c"
6846 "daemon/gdm-session-worker.c"
6847 "daemon/gdm-session-worker-job.c")
6848 (("#include <systemd/sd-daemon\\.h>") ""))
6849 ;; Use elogind for sd-login.
6850 (substitute* '("common/gdm-common.c"
6851 "daemon/gdm-manager.c"
6852 "libgdm/gdm-user-switching.c")
6853 (("#include <systemd/sd-login\\.h>")
6854 "#include <elogind/sd-login.h>"))
6855 ;; Check for elogind.
6856 (substitute* '("configure")
6859 ;; Look for system-installed sessions in
6860 ;; /run/current-system/profile/share.
6861 (substitute* '("libgdm/gdm-sessions.c"
6862 "daemon/gdm-session.c"
6863 "daemon/gdm-display.c"
6864 "daemon/gdm-launch-environment.c")
6866 "\"/run/current-system/profile/share/x")
6867 (("DATADIR \"/wayland")
6868 "\"/run/current-system/profile/share/wayland")
6869 (("DATADIR \"/gnome")
6870 "\"/run/current-system/profile/share/gnome"))
6871 (let ((propagate '("GDM_CUSTOM_CONF"
6875 ;; XXX: Remove this once GNOME Shell is
6876 ;; a dependency of GDM.
6878 (substitute* "daemon/gdm-session.c"
6879 (("set_up_session_environment \\(self\\);")
6880 (apply string-append
6881 "set_up_session_environment (self);\n"
6884 "gdm_session_set_environment_variable "
6885 "(self, \"" name "\","
6886 "g_getenv (\"" name "\"));\n"))
6888 ;; Find the configuration file using an environment variable.
6889 (substitute* '("common/gdm-settings.c")
6890 (("GDM_CUSTOM_CONF")
6891 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6892 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6893 " : GDM_CUSTOM_CONF)")))
6894 ;; Use service-supplied path to X.
6895 (substitute* '("daemon/gdm-server.c")
6896 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6897 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6898 (substitute* '("daemon/gdm-x-session.c")
6899 (("\"dbus-daemon\"")
6900 "g_getenv (\"GDM_DBUS_DAEMON\")")
6902 "g_getenv (\"GDM_X_SERVER\")")
6903 (("GDMCONFDIR \"/Xsession\"")
6904 "g_getenv (\"GDM_X_SESSION\")"))
6905 ;; Use an absolute path for GNOME Session.
6906 (substitute* "daemon/gdm-launch-environment.c"
6907 (("\"gnome-session\"")
6908 (string-append "\"" (assoc-ref inputs "gnome-session")
6909 "/bin/gnome-session\"")))
6910 ;; Do not automatically select the placeholder session.
6911 (substitute* "daemon/gdm-session.c"
6912 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6913 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6914 "(g_strcmp0(search_dirs[i], \""
6915 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6917 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6918 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6919 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6921 ;; GDM requires that there be at least one desktop entry
6922 ;; file. This phase installs a hidden one that simply
6923 ;; fails. This enables users to use GDM with a
6924 ;; '~/.xsession' script with no other desktop entry files.
6925 ;; See <https://bugs.gnu.org/35068>.
6926 (add-after 'install 'install-placeholder-desktop-entry
6927 (lambda* (#:key inputs outputs #:allow-other-keys)
6928 (let* ((out (assoc-ref outputs "out"))
6929 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6930 (fail (string-append sessions "/fail.desktop")))
6932 (with-output-to-file fail
6936 '("[Desktop Entry]\n"
6938 "Type=Application\n"
6940 "Comment=This session fails immediately.\n"
6944 ;; GDM needs GNOME Session to run these applications. We link
6945 ;; their autostart files in `share/gdm/greeter/autostart'
6946 ;; because GDM explicitly tells GNOME Session to look there.
6948 ;; XXX: GNOME Shell should be linked here too, but currently
6949 ;; GNOME Shell depends on GDM.
6950 (add-after 'install 'link-autostart-files
6951 (lambda* (#:key inputs outputs #:allow-other-keys)
6952 (let* ((out (assoc-ref outputs "out"))
6953 (autostart (string-append out "/share/gdm/"
6954 "greeter/autostart"))
6955 (settings (assoc-ref inputs "gnome-settings-daemon")))
6957 (with-directory-excursion autostart
6958 (for-each (lambda (desktop)
6959 (symlink desktop (basename desktop)))
6960 (find-files (string-append settings "/etc/xdg"))))
6964 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6965 ("gobject-introspection" ,gobject-introspection)
6966 ("intltool" ,intltool)
6967 ("itstool" ,itstool)
6968 ("pkg-config" ,pkg-config)
6969 ("xmllint" ,libxml2)))
6971 `(("accountsservice" ,accountsservice)
6972 ("check" ,check) ; for testing
6973 ("elogind" ,elogind)
6974 ("gnome-session" ,gnome-session)
6975 ("gnome-settings-daemon" ,gnome-settings-daemon)
6977 ("iso-codes" ,iso-codes)
6978 ("libcanberra" ,libcanberra)
6979 ("linux-pam" ,linux-pam)))
6980 (synopsis "Display manager for GNOME")
6981 (home-page "https://wiki.gnome.org/Projects/GDM/")
6983 "GNOME Display Manager is a system service that is responsible for
6984 providing graphical log-ins and managing local and remote displays.")
6985 (license license:gpl2+)))
6987 (define-public libgtop
6993 (uri (string-append "mirror://gnome/sources/libgtop/"
6994 (version-major+minor version) "/"
6995 "libgtop-" version ".tar.xz"))
6998 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6999 (build-system gnu-build-system)
7001 `(("gobject-introspection" ,gobject-introspection)
7002 ("intltool" ,intltool)
7004 ("pkg-config" ,pkg-config)))
7006 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7007 (synopsis "Portable system access library")
7008 (home-page "https://www.gnome.org/")
7010 "LibGTop is a library to get system specific data such as CPU and memory
7011 usage and information about running processes.")
7012 (license license:gpl2+)))
7014 (define-public gnome-bluetooth
7016 (name "gnome-bluetooth")
7020 (uri (string-append "mirror://gnome/sources/" name "/"
7021 (version-major+minor version) "/"
7022 name "-" version ".tar.xz"))
7025 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
7026 (build-system meson-build-system)
7028 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7029 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7030 ("gobject-introspection" ,gobject-introspection)
7031 ("intltool" ,intltool)
7032 ("pkg-config" ,pkg-config)
7033 ("xmllint" ,libxml2)))
7035 ;; gnome-bluetooth-1.0.pc refers to all these.
7040 ("libcanberra" ,libcanberra)
7041 ("libnotify" ,libnotify)))
7042 (synopsis "GNOME Bluetooth subsystem")
7043 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7045 "This package contains tools for managing and manipulating Bluetooth
7046 devices using the GNOME desktop.")
7047 (license license:lgpl2.1+)))
7049 (define-public gnome-control-center
7051 (name "gnome-control-center")
7055 (uri (string-append "mirror://gnome/sources/" name "/"
7056 (version-major+minor version) "/"
7057 name "-" version ".tar.xz"))
7060 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
7061 (build-system meson-build-system)
7065 (list "-Dcheese=false"
7066 (string-append "-Dgnome_session_libexecdir="
7067 (assoc-ref %build-inputs "gnome-session")
7070 (modify-phases %standard-phases
7071 (add-before 'configure 'patch-paths
7072 (lambda* (#:key inputs #:allow-other-keys)
7073 (let ((libc (assoc-ref inputs "libc"))
7074 (tzdata (assoc-ref inputs "tzdata"))
7075 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7076 (nm-applet (assoc-ref inputs "network-manager-applet"))
7077 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7078 (substitute* "panels/datetime/tz.h"
7079 (("/usr/share/zoneinfo/zone.tab")
7080 (string-append tzdata "/share/zoneinfo/zone.tab")))
7081 (substitute* "tests/datetime/test-endianess.c"
7082 (("/usr/share/locale")
7083 (string-append libc "/share/locale")))
7084 (substitute* "panels/region/cc-region-panel.c"
7085 (("\"gkbd-keyboard-display")
7086 (string-append "\"" libgnomekbd
7087 "/bin/gkbd-keyboard-display")))
7088 (substitute* '("panels/network/net-device-wifi.c"
7089 "panels/network/net-device.c"
7090 "panels/network/connection-editor/net-connection-editor.c")
7091 (("\"nm-connection-editor")
7092 (string-append "\"" nm-applet
7093 "/bin/nm-connection-editor")))
7094 (substitute* '("panels/user-accounts/run-passwd.c")
7095 (("/usr/bin/passwd")
7096 "/run/setuid-programs/passwd"))
7097 (substitute* "panels/info/cc-info-overview-panel.c"
7098 (("DATADIR \"/gnome/gnome-version.xml\"")
7099 (string-append "\"" gnome-desktop
7100 "/share/gnome/gnome-version.xml\"")))
7103 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7104 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7105 ("intltool" ,intltool)
7106 ("pkg-config" ,pkg-config)
7107 ("xsltproc" ,libxslt)
7109 ("hicolor-icon-theme" ,hicolor-icon-theme)
7110 ("python-dbusmock" ,python-dbusmock)
7111 ("xorg-server" ,xorg-server-for-tests)))
7113 `(("accountsservice" ,accountsservice)
7114 ("clutter-gtk" ,clutter-gtk)
7115 ("colord-gtk" ,colord-gtk)
7118 ("docbook-xsl" ,docbook-xsl)
7119 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7120 ("gnome-bluetooth" ,gnome-bluetooth)
7121 ("gnome-desktop" ,gnome-desktop)
7122 ("gnome-online-accounts" ,gnome-online-accounts)
7123 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7124 ("gnome-session" ,gnome-session)
7125 ("gnome-settings-daemon" ,gnome-settings-daemon)
7129 ("libcanberra" ,libcanberra)
7130 ("libgnomekbd" ,libgnomekbd)
7131 ("libgudev" ,libgudev)
7132 ("libgtop" ,libgtop)
7133 ("libpwquality" ,libpwquality)
7134 ("libsecret" ,libsecret)
7135 ("libsoup" ,libsoup)
7136 ("libxml2" ,libxml2)
7137 ("libwacom" ,libwacom)
7139 ("mit-krb5" ,mit-krb5)
7140 ("modem-manager" ,modem-manager)
7141 ("network-manager-applet" ,network-manager-applet)
7143 ("pulseaudio" ,pulseaudio)
7144 ("smbclient" ,samba)
7147 ("upower" ,upower)))
7148 (synopsis "Utilities to configure the GNOME desktop")
7149 (home-page "https://www.gnome.org/")
7151 "This package contains configuration applets for the GNOME desktop,
7152 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7153 properties, sound setup, desktop theme and background, user interface
7154 properties, screen resolution, and other GNOME parameters.")
7155 (license license:gpl2+)))
7157 (define-public gnome-shell
7159 (name "gnome-shell")
7163 (uri (string-append "mirror://gnome/sources/" name "/"
7164 (version-major+minor version) "/"
7165 name "-" version ".tar.xz"))
7168 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
7169 (patches (search-patches "gnome-shell-theme.patch"))
7170 (modules '((guix build utils)))
7173 ;; Copy images for use on the GDM log-in screen.
7174 (copy-file #$(file-append %artwork-repository
7175 "/slim/0.x/background.png")
7176 "data/theme/guix-background.png")
7177 (copy-file #$(file-append %artwork-repository
7178 "/logo/Guix-horizontal-white.svg")
7179 "data/theme/guix-logo.svg")
7181 (build-system meson-build-system)
7184 #:disallowed-references ((,glib "bin")
7188 (list "-Dsystemd=false"
7189 ;; Otherwise, the RUNPATH will lack the final path component.
7190 (string-append "-Dc_link_args=-Wl,-rpath="
7191 (assoc-ref %outputs "out")
7192 "/lib/gnome-shell"))
7194 #:modules ((guix build meson-build-system)
7199 (modify-phases %standard-phases
7200 (add-after 'unpack 'fix-keysdir
7201 (lambda* (#:key outputs #:allow-other-keys)
7202 (let* ((out (assoc-ref outputs "out"))
7203 (keysdir (string-append
7204 out "/share/gnome-control-center/keybindings")))
7205 (substitute* "meson.build"
7207 (string-append "keysdir = '" keysdir "'\n")))
7209 (add-before 'configure 'convert-logo-to-png
7210 (lambda* (#:key inputs #:allow-other-keys)
7211 ;; Convert the logo from SVG to PNG.
7212 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7213 "data/theme/guix-logo.svg")))
7214 (add-before 'configure 'record-absolute-file-names
7215 (lambda* (#:key inputs #:allow-other-keys)
7216 (substitute* "js/misc/ibusManager.js"
7218 (string-append "'" (assoc-ref inputs "ibus")
7219 "/bin/ibus-daemon'")))
7220 (substitute* "js/ui/status/keyboard.js"
7221 (("'gkbd-keyboard-display'")
7222 (string-append "'" (assoc-ref inputs "libgnomekbd")
7223 "/bin/gkbd-keyboard-display'")))
7225 (add-before 'check 'pre-check
7226 (lambda* (#:key inputs #:allow-other-keys)
7227 ;; Tests require a running X server.
7228 (system "Xvfb :1 &")
7229 (setenv "DISPLAY" ":1")
7231 (add-after 'install 'wrap-programs
7232 (lambda* (#:key inputs outputs #:allow-other-keys)
7233 (let ((out (assoc-ref outputs "out"))
7234 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7235 (python-path (getenv "PYTHONPATH")))
7236 (wrap-program (string-append out "/bin/gnome-shell")
7237 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7238 ;; FIXME: gnome-shell loads these libraries with unqualified
7239 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7240 ;; alternative might be to patch gnome-shell.
7241 `("LD_LIBRARY_PATH" ":" prefix
7243 (string-append (assoc-ref inputs pkg) "/lib"))
7245 "gnome-bluetooth" "librsvg" "libgweather"))))
7248 (wrap-program (string-append out "/bin/" prog)
7249 `("PYTHONPATH" ":" prefix (,python-path))
7250 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7251 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7253 (replace 'glib-or-gtk-wrap
7254 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7255 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7256 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7257 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7258 ;; phase. Fix that since we don't need these.
7259 (wrap #:inputs (fold alist-delete inputs
7260 '("inkscape" "intltool" "glib:bin"))
7261 #:outputs outputs)))))))
7263 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7264 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7265 ("gobject-introspection" ,gobject-introspection)
7266 ("inkscape" ,inkscape)
7267 ("intltool" ,intltool)
7268 ("pkg-config" ,pkg-config)
7270 ("ruby-sass" ,ruby-sass)
7272 ("xsltproc" ,libxslt)
7274 ("xorg-server" ,xorg-server-for-tests)))
7276 `(("accountsservice" ,accountsservice)
7277 ("caribou" ,caribou)
7278 ("docbook-xsl" ,docbook-xsl)
7279 ("evolution-data-server" ,evolution-data-server)
7282 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7284 ("gnome-bluetooth" ,gnome-bluetooth)
7285 ("gnome-desktop" ,gnome-desktop)
7286 ("gnome-settings-daemon" ,gnome-settings-daemon)
7287 ("gst-plugins-base" ,gst-plugins-base)
7289 ("libcanberra" ,libcanberra)
7290 ("libcroco" ,libcroco)
7291 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7292 ("libgweather" ,libgweather)
7293 ("libsoup" ,libsoup)
7294 ("mesa-headers" ,mesa-headers)
7296 ("network-manager-applet" ,network-manager-applet)
7298 ("pulseaudio" ,pulseaudio)
7299 ("python-pygobject" ,python-pygobject)
7300 ("startup-notification" ,startup-notification)
7301 ("telepathy-logger" ,telepathy-logger)
7303 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7304 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7305 ("librsvg" ,librsvg)
7306 ("geoclue" ,geoclue)))
7307 (synopsis "Desktop shell for GNOME")
7308 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7310 "GNOME Shell provides core user interface functions for the GNOME desktop,
7311 like switching to windows and launching applications.")
7312 (license license:gpl2+)))
7314 (define-public gtk-vnc
7321 (uri (string-append "mirror://gnome/sources/" name "/"
7322 (version-major+minor version) "/"
7323 name "-" version ".tar.xz"))
7326 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7327 (build-system gnu-build-system)
7329 '(#:configure-flags '("--with-gtk=3.0")))
7331 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7333 `(("cyrus-sasl" ,cyrus-sasl)
7335 ("libgcrypt" ,libgcrypt)
7336 ("pulseaudio" ,pulseaudio)))
7338 `(("glib:bin" ,glib "bin")
7339 ("gobject-introspection" ,gobject-introspection)
7340 ("intltool" ,intltool)
7341 ("pkg-config" ,pkg-config)
7342 ("python-wrapper" ,python-wrapper)
7344 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7345 (synopsis "VNC viewer widget for GTK+")
7347 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7348 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7349 GTK-VNC implements client side RFB protocol and authentication extensions such
7350 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7351 (license license:lgpl2.1+)))
7353 (define-public gnome-autoar
7355 (name "gnome-autoar")
7359 (uri (string-append "mirror://gnome/sources/" name "/"
7360 (version-major+minor version) "/"
7361 name "-" version ".tar.xz"))
7364 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
7365 (build-system glib-or-gtk-build-system)
7367 `(("gnome-common" ,gnome-common)
7368 ("gobject-introspection" ,gobject-introspection)
7369 ("pkg-config" ,pkg-config)))
7371 `(("libarchive" ,libarchive))) ; XXX document why
7374 (synopsis "Archives integration support for GNOME")
7375 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7377 "GNOME Autoar is a library which makes creating and extracting archives
7378 easy, safe, and automatic.")
7379 (license license:lgpl2.1+)))
7381 (define-public tracker
7387 (uri (string-append "mirror://gnome/sources/tracker/"
7388 (version-major+minor version) "/"
7389 "tracker-" version ".tar.xz"))
7392 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7393 (build-system meson-build-system)
7397 ;; Otherwise, the RUNPATH will lack the final path component.
7398 (list (string-append "-Dc_link_args=-Wl,-rpath="
7399 (assoc-ref %outputs "out") "/lib:"
7400 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7402 (modify-phases %standard-phases
7403 (add-before 'check 'pre-check
7405 ;; Some tests expect to write to $HOME.
7406 (setenv "HOME" "/tmp")
7409 `(("glib:bin" ,glib "bin")
7410 ("gobject-introspection" ,gobject-introspection)
7411 ("python-pygobject" ,python-pygobject)
7412 ("intltool" ,intltool)
7413 ("pkg-config" ,pkg-config)
7418 ("libxml2" ,libxml2)
7419 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7420 ("json-glib" ,json-glib)
7421 ("libsoup" ,libsoup)))
7422 (synopsis "Metadata database, indexer and search tool")
7423 (home-page "https://wiki.gnome.org/Projects/Tracker")
7425 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7427 It is a middleware component aimed at desktop application developers who want
7428 their apps to browse and search user content. It's not designed to be used
7429 directly by desktop users, but it provides a commandline tool named
7430 @command{tracker} for the adventurous.
7432 Tracker allows your application to instantly perform full-text searches across
7433 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7434 example. This is achieved by indexing the user's home directory in the
7437 Tracker also allows your application to query and list content that the user
7438 has stored. For example, GNOME Music displays all the music files that are
7439 found by Tracker. This means that GNOME Music doesn't need to maintain a
7440 database of its own.
7442 If you need to go beyond simple searches, Tracker is also a linked data
7443 endpoint and it understands SPARQL. ")
7444 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7445 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7446 ;; libstemmer is bsd-3 and the rest is gpl2+.
7447 (license (list license:gpl2+
7449 license:lgpl2.1+))))
7451 (define-public tracker-miners
7453 (name "tracker-miners")
7457 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7458 (version-major+minor version)
7459 "/tracker-miners-" version ".tar.xz"))
7462 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7463 (build-system meson-build-system)
7467 (list "-Dminer_rss=false" ; libgrss is required.
7468 ;; Ensure the RUNPATH contains all installed library locations.
7469 (string-append "-Dc_link_args=-Wl,-rpath="
7470 (assoc-ref %outputs "out")
7471 "/lib/tracker-miners-2.0")
7472 ;; TODO: Enable functional tests. Currently, the following error
7474 ;; Exception: The functional tests require DConf to be the default
7475 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7476 "-Dfunctional_tests=false")))
7479 ("intltool" ,intltool)
7480 ("glib:bin" ,glib "bin")
7481 ("gobject-introspection" ,gobject-introspection)
7482 ("pkg-config" ,pkg-config)
7483 ("python-pygobject" ,python-pygobject)))
7485 `(("exempi" ,exempi)
7490 ("gstreamer" ,gstreamer)
7493 ("libexif" ,libexif)
7495 ("libgxps" ,libgxps)
7496 ("libiptcdata" ,libiptcdata)
7497 ("libjpeg" ,libjpeg)
7498 ("libosinfo" ,libosinfo)
7500 ("libseccomp" ,libseccomp)
7501 ("libtiff" ,libtiff)
7502 ("libvorbis" ,libvorbis)
7503 ("libxml2" ,libxml2)
7504 ("poppler" ,poppler)
7506 ("totem-pl-parser" ,totem-pl-parser)
7507 ("tracker" ,tracker)
7510 (synopsis "Metadata database, indexer and search tool")
7511 (home-page "https://wiki.gnome.org/Projects/Tracker")
7513 "Tracker is an advanced framework for first class objects with associated
7514 metadata and tags. It provides a one stop solution for all metadata, tags,
7515 shared object databases, search tools and indexing.")
7516 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7517 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7518 (license (list license:gpl2+
7520 license:lgpl2.0+))))
7522 (define-public nautilus
7528 (uri (string-append "mirror://gnome/sources/" name "/"
7529 (version-major+minor version) "/"
7530 name "-" version ".tar.xz"))
7533 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
7534 (build-system meson-build-system)
7537 ;; XXX: FAIL: check-nautilus
7538 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7541 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7542 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7543 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7544 ("gobject-introspection" ,gobject-introspection)
7545 ("intltool" ,intltool)
7546 ("pkg-config" ,pkg-config)))
7552 ("gnome-desktop" ,gnome-desktop)
7553 ("gnome-autoar" ,gnome-autoar)
7554 ("gst-plugins-base" ,gst-plugins-base)
7555 ("libseccomp" ,libseccomp)
7556 ("libselinux" ,libselinux)
7557 ("tracker" ,tracker)
7558 ("tracker-miners" ,tracker-miners)
7559 ;; XXX: gtk+ is required by libnautilus-extension.pc
7561 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7563 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7565 ("libexif" ,libexif)
7566 ("libxml2" ,libxml2)))
7567 (synopsis "File manager for GNOME")
7568 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7570 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7571 design and behaviour, giving the user a simple way to navigate and manage its
7573 (license license:gpl2+)))
7575 (define-public baobab
7582 "mirror://gnome/sources/" name "/"
7583 (version-major+minor version) "/"
7584 name "-" version ".tar.xz"))
7587 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7588 (build-system meson-build-system)
7590 '(#:glib-or-gtk? #t))
7592 `(("intltool" ,intltool)
7593 ("pkg-config" ,pkg-config)
7594 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7595 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7596 ("itstool" ,itstool)
7597 ("xmllint" ,libxml2)
7598 ("glib" ,glib "bin")
7602 (synopsis "Disk usage analyzer for GNOME")
7604 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7605 usage in the GNOME desktop environment. It can easily scan device volumes or
7606 a specific user-requested directory branch (local or remote). Once the scan
7607 is complete it provides a graphical representation of each selected folder.")
7608 (home-page "https://wiki.gnome.org/Apps/Baobab")
7609 (license license:gpl2+)))
7611 (define-public gnome-backgrounds
7613 (name "gnome-backgrounds")
7618 (uri (string-append "mirror://gnome/sources/" name "/"
7619 (version-major+minor version) "/"
7620 name "-" version ".tar.xz"))
7623 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
7624 (build-system meson-build-system)
7626 `(("intltool" ,intltool)))
7627 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7628 (synopsis "Background images for the GNOME desktop")
7630 "GNOME backgrounds package contains a collection of graphics files which
7631 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7632 the package creates the proper framework and directory structure so that you
7633 can add your own files to the collection.")
7634 (license (list license:gpl2+
7637 license:cc-by-sa3.0))))
7639 (define-public gnome-screenshot
7641 (name "gnome-screenshot")
7646 (uri (string-append "mirror://gnome/sources/" name "/"
7647 (version-major+minor version) "/"
7648 name "-" version ".tar.xz"))
7651 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
7652 (build-system meson-build-system)
7654 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7655 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7656 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7657 ("intltool" ,intltool)
7658 ("appstream-glib" ,appstream-glib)
7659 ("pkg-config" ,pkg-config)))
7662 ("libcanberra" ,libcanberra)
7664 ("libxext" ,libxext)))
7665 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7666 (synopsis "Take pictures of your screen")
7668 "GNOME Screenshot is a utility used for taking screenshots of the entire
7669 screen, a window or a user defined area of the screen, with optional
7670 beautifying border effects.")
7671 (license license:gpl2+)))
7673 (define-public dconf-editor
7675 (name "dconf-editor")
7680 (uri (string-append "mirror://gnome/sources/" name "/"
7681 (version-major+minor version) "/"
7682 name "-" version ".tar.xz"))
7685 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
7686 (build-system meson-build-system)
7688 '(#:phases (modify-phases %standard-phases
7689 (add-before 'configure 'set-glib-minimum-version
7691 ;; Change the minimum required GLib version so that
7692 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7693 ;; do that, it complains that "55" is not an even
7694 ;; number. See <https://bugs.gnu.org/37503>.
7695 (substitute* "editor/meson.build"
7696 (("2\\.55\\.1") "2.60.0"))
7699 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7700 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7701 ("intltool" ,intltool)
7702 ("pkg-config" ,pkg-config)
7707 ("libxml2" ,libxml2)))
7708 (home-page "https://git.gnome.org/browse/dconf-editor")
7709 (synopsis "Graphical editor for GNOME's dconf configuration system")
7711 "Dconf-editor is a graphical tool for browsing and editing the dconf
7712 configuration system for GNOME. It allows users to configure desktop
7713 software that do not provide their own configuration interface.")
7714 (license license:lgpl2.1+)))
7716 (define-public gnome-default-applications
7718 (name "gnome-default-applications")
7720 (build-system trivial-build-system)
7723 `(("nautilus" ,nautilus)
7724 ("evince" ,evince)))
7726 `(#:modules ((guix build utils))
7729 (use-modules (guix build utils))
7730 (let* ((out (assoc-ref %outputs "out"))
7731 (apps (string-append out "/share/applications")))
7733 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7735 (format port "[Default Applications]\n")
7736 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7737 (format port "application/pdf=evince.desktop\n")
7738 (format port "application/postscript=evince.desktop\n")))
7740 (synopsis "Default MIME type associations for the GNOME desktop")
7742 "Given many installed packages which might handle a given MIME type, a
7743 user running the GNOME desktop probably has some preferences: for example,
7744 that folders be opened by default by the Nautilus file manager, not the Baobab
7745 disk usage analyzer. This package establishes that set of default MIME type
7746 associations for GNOME.")
7747 (license license:gpl3+)
7750 (define-public libgovirt
7756 (uri (string-append "mirror://gnome/sources/" name "/"
7757 (version-major+minor version) "/"
7758 name "-" version ".tar.xz"))
7761 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7762 (build-system glib-or-gtk-build-system)
7764 `(("gettext" ,gettext-minimal)
7765 ("glib:bin" ,glib "bin")
7766 ("gobject-introspection" ,gobject-introspection)
7767 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7768 ("gtk+:bin" ,gtk+ "bin")
7769 ("pkg-config" ,pkg-config)))
7771 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7773 (synopsis "GoVirt Library")
7774 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7775 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7776 (license license:gpl2+)))
7778 (define-public gnome-weather
7780 (name "gnome-weather")
7784 (uri (string-append "mirror://gnome/sources/" name "/"
7785 (version-major+minor version) "/"
7786 name "-" version ".tar.xz"))
7789 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7790 (build-system meson-build-system)
7792 `(("gettext" ,gettext-minimal)
7793 ("glib:bin" ,glib "bin")
7794 ("gobject-introspection" ,gobject-introspection)
7795 ("gtk+:bin" ,gtk+ "bin")
7796 ("pkg-config" ,pkg-config)))
7798 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7799 ("appstream-glib" ,appstream-glib)
7800 ("geoclue" ,geoclue)
7801 ("gdk-pixbuf" ,gdk-pixbuf)
7803 ("gnome-desktop" ,gnome-desktop)
7804 ("libgweather" ,libgweather)))
7807 (modify-phases %standard-phases
7808 (add-after 'install 'fix-desktop-file
7809 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7810 ;; See https://issues.guix.gnu.org/issue/39324.
7811 (lambda* (#:key outputs #:allow-other-keys)
7812 (let* ((out (assoc-ref outputs "out"))
7813 (applications (string-append out "/share/applications")))
7814 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7815 (("Exec=.*") "Exec=gnome-weather\n"))))))))
7816 (synopsis "Weather monitoring for GNOME desktop")
7817 (description "GNOME Weather is a small application that allows you to
7818 monitor the current weather conditions for your city, or anywhere in the
7820 (home-page "https://wiki.gnome.org/Apps/Weather")
7821 (license license:gpl2+)))
7823 (define-public gnome
7826 (version (package-version gnome-shell))
7828 (build-system trivial-build-system)
7829 (arguments '(#:builder (begin (mkdir %output) #t)))
7831 ;; TODO: Add or remove packages according to:
7832 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7834 ;; GNOME-Core-OS-Services
7835 ("accountsservice" ,accountsservice)
7836 ("network-manager" ,network-manager)
7837 ("packagekit" ,packagekit)
7840 ("adwaita-icon-theme" ,adwaita-icon-theme)
7842 ("glib-networking" ,glib-networking)
7843 ("gnome-backgrounds" ,gnome-backgrounds)
7844 ("gnome-bluetooth" ,gnome-bluetooth)
7845 ("gnome-color-manager" ,gnome-color-manager)
7846 ("gnome-control-center" ,gnome-control-center)
7847 ("gnome-desktop" ,gnome-desktop)
7848 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7849 ("gnome-initial-setup" ,gnome-initial-setup)
7850 ("gnome-keyring" ,gnome-keyring)
7851 ("gnome-menus" ,gnome-menus)
7852 ("gnome-session" ,gnome-session)
7853 ("gnome-settings-daemon" ,gnome-settings-daemon)
7854 ("gnome-shell-extensions" ,gnome-shell-extensions)
7855 ("gnome-shell" ,gnome-shell)
7856 ("gnome-themes-extra" ,gnome-themes-extra)
7857 ("gnome-user-docs" ,gnome-user-docs)
7858 ("gnome-user-share" ,gnome-user-share)
7859 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7865 ;; GNOME-Core-Utilities
7869 ("epiphany" ,epiphany)
7871 ("file-roller" ,file-roller)
7873 ; TODO: ("gnome-boxes" ,gnome-boxes)
7874 ("gnome-calculator" ,gnome-calculator)
7875 ("gnome-calendar" ,gnome-calendar)
7876 ("gnome-characters" ,gnome-characters)
7877 ("gnome-clocks" ,gnome-clocks)
7878 ("gnome-contacts" ,gnome-contacts)
7879 ("gnome-disk-utility" ,gnome-disk-utility)
7880 ("gnome-font-viewer" ,gnome-font-viewer)
7881 ("gnome-maps" ,gnome-maps)
7882 ; TODO: ("gnome-music" ,gnome-music)
7883 ; TODO: ("gnome-photos" ,gnome-photos)
7884 ("gnome-screenshot" ,gnome-screenshot)
7885 ("gnome-system-monitor" ,gnome-system-monitor)
7886 ("gnome-terminal" ,gnome-terminal)
7887 ("gnome-weather" ,gnome-weather)
7888 ("nautilus" ,nautilus)
7889 ("simple-scan" ,simple-scan)
7893 ("hicolor-icon-theme" ,hicolor-icon-theme)
7894 ("gnome-online-accounts" ,gnome-online-accounts)
7896 ;; Packages not part of GNOME proper but that are needed for a good
7897 ;; experience. See <https://bugs.gnu.org/39646>.
7898 ;; XXX: Find out exactly which ones are needed and why.
7899 ("font-cantarell" ,font-cantarell)
7900 ("font-dejavu" ,font-dejavu)
7901 ("at-spi2-core" ,at-spi2-core)
7904 ("desktop-file-utils" ,desktop-file-utils)
7905 ("gnome-default-applications" ,gnome-default-applications)
7906 ("gnome-themes-standard" ,gnome-themes-standard)
7907 ("gst-plugins-base" ,gst-plugins-base)
7908 ("gst-plugins-good" ,gst-plugins-good)
7909 ("gucharmap" ,gucharmap)
7910 ("pinentry-gnome3" ,pinentry-gnome3)
7911 ("pulseaudio" ,pulseaudio)
7912 ("shared-mime-info" ,shared-mime-info)
7913 ("system-config-printer" ,system-config-printer)
7914 ("xdg-user-dirs" ,xdg-user-dirs)
7916 ("zenity" ,zenity)))
7917 (synopsis "The GNU desktop environment")
7918 (home-page "https://www.gnome.org/")
7920 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7921 applications for browsing the web, editing text and images, creating
7922 documents and diagrams, playing media, scanning, and much more.")
7923 (license license:gpl2+)))
7925 (define-public byzanz
7926 ;; The last stable release of Byzanz was in 2011, but there have been many
7927 ;; useful commits made to the Byzanz repository since then that it would be
7928 ;; silly to use such an old release.
7929 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7932 (version (string-append "0.2-1." (string-take commit 7)))
7936 (url "https://git.gnome.org/browse/byzanz")
7938 (file-name (string-append name "-" version "-checkout"))
7941 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7942 (build-system glib-or-gtk-build-system)
7945 (modify-phases %standard-phases
7948 ;; The build system cleverly detects that we're not building from
7949 ;; a release tarball and turns on -Werror for GCC.
7950 ;; Unsurprisingly, there is a warning during compilation that
7951 ;; causes the build to fail unnecessarily, so we remove the flag.
7952 (substitute* '("configure.ac")
7954 ;; The autogen.sh script in gnome-common will run ./configure
7955 ;; by default, which is problematic because source shebangs
7956 ;; have not yet been patched.
7957 (setenv "NOCONFIGURE" "t")
7958 (zero? (system* "sh" "autogen.sh")))))))
7960 `(("autoconf" ,autoconf)
7961 ("automake" ,automake)
7962 ("gnome-common" ,gnome-common)
7963 ("intltool" ,intltool)
7964 ("libtool" ,libtool)
7965 ("pkg-config" ,pkg-config)
7969 ("gstreamer" ,gstreamer)
7970 ("gst-plugins-base" ,gst-plugins-base)
7972 (synopsis "Desktop recording program")
7973 (description "Byzanz is a simple desktop recording program with a
7974 command-line interface. It can record part or all of an X display for a
7975 specified duration and save it as a GIF encoded animated image file.")
7976 (home-page "https://git.gnome.org/browse/byzanz")
7977 (license license:gpl2+))))
7979 (define-public gsound
7985 (uri (string-append "mirror://gnome/sources/" name "/"
7986 (version-major+minor version) "/"
7987 name "-" version ".tar.xz"))
7990 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7991 (build-system glib-or-gtk-build-system)
7993 `(("pkg-config" ,pkg-config)
7994 ("gobject-introspection" ,gobject-introspection)
7998 ("libcanberra" ,libcanberra)))
7999 (home-page "https://wiki.gnome.org/Projects/GSound")
8000 (synopsis "GObject wrapper for libcanberra")
8002 "GSound is a small library for playing system sounds. It's designed to be
8003 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8005 (license license:lgpl2.1+)))
8007 (define-public libzapojit
8013 (uri (string-append "mirror://gnome/sources/" name "/"
8014 (version-major+minor version) "/"
8015 name "-" version ".tar.xz"))
8018 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8019 (build-system gnu-build-system)
8021 `(("gobject-introspection" ,gobject-introspection)
8022 ("intltool" ,intltool)
8023 ("pkg-config" ,pkg-config)))
8025 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8026 ("json-glib" ,json-glib)
8028 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8029 (synopsis "Library for accessing SkyDrive and Hotmail")
8031 "Libzapojit is a GLib-based library for accessing online service APIs of
8032 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8033 (license license:lgpl2.1+)))
8035 (define-public gnome-clocks
8037 (name "gnome-clocks")
8041 (uri (string-append "mirror://gnome/sources/" name "/"
8042 (version-major+minor version) "/"
8043 name "-" version ".tar.xz"))
8046 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
8047 (build-system meson-build-system)
8049 '(#:glib-or-gtk? #t))
8052 ("pkg-config" ,pkg-config)
8053 ("glib" ,glib "bin") ; for glib-compile-resources
8054 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8055 ("desktop-file-utils" ,desktop-file-utils)
8056 ("gettext" ,gettext-minimal)
8057 ("itstool" ,itstool)))
8062 ("geoclue" ,geoclue)
8063 ("geocode-glib" ,geocode-glib)
8064 ("libgweather" ,libgweather)
8065 ("gnome-desktop" ,gnome-desktop)))
8066 (home-page "https://wiki.gnome.org/Apps/Clocks")
8067 (synopsis "GNOME's clock application")
8069 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8070 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8071 (license license:gpl3+)))
8073 (define-public gnome-calendar
8075 (name "gnome-calendar")
8079 (uri (string-append "mirror://gnome/sources/" name "/"
8080 (version-major+minor version) "/"
8081 name "-" version ".tar.xz"))
8084 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
8085 (build-system meson-build-system)
8088 ;; gnome-calendar has to be installed before the tests can be run
8089 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8092 `(("gettext" ,gettext-minimal)
8093 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8094 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8095 ("pkg-config" ,pkg-config)))
8097 `(("evolution-data-server" ,evolution-data-server)
8098 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8099 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8100 ("libdazzle" ,libdazzle)
8101 ("libedataserverui" ,evolution-data-server)
8102 ("libgweather" ,libgweather)
8103 ("geoclue" ,geoclue)))
8104 (home-page "https://wiki.gnome.org/Apps/Calendar")
8105 (synopsis "GNOME's calendar application")
8107 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8108 desktop. It supports multiple calendars, month, week and year view.")
8109 (license license:gpl3+)))
8111 (define-public gnome-todo
8117 (uri (string-append "mirror://gnome/sources/" name "/"
8118 (version-major+minor version) "/"
8119 name "-" version ".tar.xz"))
8122 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
8123 (build-system meson-build-system)
8126 #:phases (modify-phases %standard-phases
8128 'install 'wrap-gnome-todo
8129 (lambda* (#:key inputs outputs #:allow-other-keys)
8130 (let ((out (assoc-ref outputs "out"))
8131 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8132 (python-path (getenv "PYTHONPATH")))
8133 (wrap-program (string-append out "/bin/gnome-todo")
8134 ;; XXX: gi plugins are broken.
8135 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8137 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8138 `("PYTHONPATH" ":" prefix (,python-path))))
8141 `(("gettext" ,gettext-minimal)
8142 ("gobject-introspection" ,gobject-introspection)
8143 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8144 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8145 ("pkg-config" ,pkg-config)))
8147 `(("rest" ,rest) ; For Todoist plugin
8148 ("json-glib" ,json-glib) ; For Todoist plugin
8149 ("libedataserverui" ,evolution-data-server)
8150 ("libical" ,libical)
8151 ("libpeas" ,libpeas)
8152 ("python-pygobject" ,python-pygobject)
8153 ("evolution-data-server" ,evolution-data-server)
8154 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8155 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8156 (home-page "https://wiki.gnome.org/Apps/Todo")
8157 (synopsis "GNOME's ToDo Application")
8159 "GNOME To Do is a simplistic personal task manager designed to perfectly
8160 fit the GNOME desktop.")
8161 (license license:gpl3+)))
8163 (define-public gnome-dictionary
8165 (name "gnome-dictionary")
8169 (uri (string-append "mirror://gnome/sources/" name "/"
8170 (version-major+minor version) "/"
8171 name "-" version ".tar.xz"))
8174 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8175 (build-system meson-build-system)
8176 (arguments '(#:glib-or-gtk? #t
8177 #:phases (modify-phases %standard-phases
8178 (add-after 'unpack 'patch-install-script
8180 ;; This script attempts to compile glib schemas
8181 ;; and create an empty MIME database. We do
8182 ;; that elsewhere, so prevent it from running.
8183 (substitute* "build-aux/post-install.sh"
8184 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8187 `(("glib:bin" ,glib "bin")
8188 ("gobject-introspection" ,gobject-introspection)
8189 ("intltool" ,intltool)
8190 ("itstool" ,itstool)
8191 ("pkg-config" ,pkg-config)
8192 ("xmllint" ,libxml2)))
8194 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8196 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8197 (synopsis "Look up words in dictionary sources")
8199 "GNOME Dictionary can look for the definition or translation of a word in
8200 existing databases over the internet.")
8201 (license license:gpl3+)))
8203 (define-public gnome-tweaks
8205 (name "gnome-tweaks")
8209 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8210 (version-major+minor version) "/"
8211 "gnome-tweaks-" version ".tar.xz"))
8213 (list (search-patch "gnome-tweaks-search-paths.patch")))
8216 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
8217 (build-system meson-build-system)
8220 #:configure-flags '("-Dlocalstatedir=/tmp"
8221 "-Dsysconfdir=/tmp")
8222 #:imported-modules ((guix build python-build-system)
8223 ,@%meson-build-system-modules)
8225 (modify-phases %standard-phases
8226 (add-after 'install 'wrap
8227 (@@ (guix build python-build-system) wrap))
8228 (add-after 'wrap 'wrap-gi-typelib
8229 (lambda* (#:key inputs outputs #:allow-other-keys)
8230 (let ((out (assoc-ref outputs "out"))
8231 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8232 (wrap-program (string-append out "/bin/gnome-tweaks")
8233 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8236 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8237 ("intltool" ,intltool)
8238 ("pkg-config" ,pkg-config)))
8240 `(("gnome-desktop" ,gnome-desktop)
8242 ("gobject-introspection" ,gobject-introspection)
8243 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8244 ("libnotify" ,libnotify)
8245 ("libsoup" ,libsoup)
8246 ("nautilus" ,nautilus)
8248 ("python-pygobject" ,python-pygobject)))
8249 (synopsis "Customize advanced GNOME 3 options")
8250 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8252 "GNOME Tweaks allows adjusting advanced configuration settings in
8253 GNOME 3. This includes things like the fonts used in user interface elements,
8254 alternative user interface themes, changes in window management behavior,
8255 GNOME Shell appearance and extension, etc.")
8256 (license license:gpl3+)))
8258 (define-public gnome-shell-extensions
8260 (name "gnome-shell-extensions")
8264 (uri (string-append "mirror://gnome/sources/" name "/"
8265 (version-major+minor version) "/"
8266 name "-" version ".tar.xz"))
8269 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
8270 (build-system meson-build-system)
8272 '(#:configure-flags '("-Dextension_set=all")))
8274 `(("glib:bin" ,glib "bin")
8275 ("intltool" ,intltool)
8276 ("pkg-config" ,pkg-config)))
8279 (synopsis "Extensions for GNOME Shell")
8280 (description "GNOME Shell extensions modify and extend GNOME Shell
8281 functionality and behavior.")
8282 (home-page "https://extensions.gnome.org/")
8283 (license license:gpl3+)))
8285 (define-public arc-theme
8288 (version "20190917")
8292 (url "https://github.com/NicoHood/arc-theme.git")
8294 (file-name (git-file-name name version))
8297 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8298 (build-system gnu-build-system)
8301 (modify-phases %standard-phases
8302 ;; autogen.sh calls configure at the end of the script.
8304 (lambda _ (invoke "autoreconf" "-vfi")))
8305 (add-before 'build 'set-home ;placate Inkscape
8307 (setenv "HOME" (getcwd))
8310 `(("autoconf" ,autoconf)
8311 ("automake" ,automake)
8312 ("glib" ,glib "bin") ; for glib-compile-resources
8313 ("gnome-shell" ,gnome-shell)
8315 ("inkscape" ,inkscape)
8316 ("optipng" ,optipng)
8317 ("pkg-config" ,pkg-config)
8318 ("sassc" ,sassc/libsass-3.5)))
8319 (synopsis "A flat GTK+ theme with transparent elements")
8320 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8321 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8322 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8323 (home-page "https://github.com/horst3180/arc-theme")
8324 ;; No "or later" language found.
8325 (license license:gpl3+)))
8327 (define-public faba-icon-theme
8329 (name "faba-icon-theme")
8335 (url "https://github.com/snwh/faba-icon-theme.git")
8336 (commit (string-append "v" version))))
8337 (file-name (git-file-name name version))
8339 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8340 (build-system meson-build-system)
8343 (modify-phases %standard-phases
8344 (add-before 'configure 'disable-post-install
8346 (substitute* "meson.build"
8347 (("meson.add_install_script.*") "")))))))
8349 `(("autoconf" ,autoconf)
8350 ("automake" ,automake)))
8351 (synopsis "Faba icon theme")
8353 "Faba is a minimal icon set used as a basis for other themes such as
8355 (home-page "https://snwh.org/moka")
8356 (license (list license:lgpl3+
8357 license:cc-by-sa4.0))))
8359 (define-public moka-icon-theme
8361 (inherit faba-icon-theme)
8362 (name "moka-icon-theme")
8368 (url "https://github.com/snwh/moka-icon-theme.git")
8369 (commit (string-append "v" version))))
8370 (file-name (git-file-name name version))
8372 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8374 ;; Moka is based on Faba by using it as a fallback icon set instead of
8375 ;; bundling it, so we need to add it as a propagated input.
8376 `(("faba-icon-theme" ,faba-icon-theme)))
8377 (synopsis "Moka icon theme")
8378 (description "Moka is a stylized desktop icon set, designed to be clear,
8379 simple and consistent.")
8380 (license (list license:gpl3+
8381 license:cc-by-sa4.0))))
8383 (define-public arc-icon-theme
8385 (name "arc-icon-theme")
8386 (version "20161122")
8391 (url "https://github.com/horst3180/arc-icon-theme.git")
8393 (file-name (git-file-name name version))
8395 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8396 (build-system gnu-build-system)
8399 (modify-phases %standard-phases
8400 (add-after 'unpack 'disable-configure-during-bootstrap
8402 (substitute* "autogen.sh"
8403 (("^\"\\$srcdir/configure\".*") ""))
8406 `(("autoconf" ,autoconf)
8407 ("automake" ,automake)))
8408 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8410 `(("moka-icon-theme" ,moka-icon-theme)))
8411 (synopsis "Arc icon theme")
8412 (description "The Arc icon theme provides a set of icons matching the
8413 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8414 the Moka icon theme.")
8415 (home-page "https://github.com/horst3180/arc-icon-theme")
8416 (license license:gpl3+)))
8418 (define-public folks
8425 "mirror://gnome/sources/folks/"
8426 (version-major+minor version) "/"
8427 "folks-" version ".tar.xz"))
8430 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
8431 (build-system glib-or-gtk-build-system)
8434 ("dbus-glib" ,dbus-glib)
8435 ("evolution-data-server" ,evolution-data-server)
8438 ("telepathy-glib" ,telepathy-glib)))
8440 `(("gobject-introspection" ,gobject-introspection)
8441 ("intltool" ,intltool)
8442 ("pkg-config" ,pkg-config)
8444 (synopsis "Library to aggregate data about people")
8445 (description "Libfolks is a library that aggregates information about people
8446 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8447 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8448 etc.) to create metacontacts. It's written in Vala, which generates C code when
8450 (home-page "https://wiki.gnome.org/Projects/Folks")
8451 (license license:lgpl2.1+)))
8453 (define-public gfbgraph
8460 "mirror://gnome/sources/gfbgraph/"
8461 (version-major+minor version) "/"
8462 "gfbgraph-" version ".tar.xz"))
8465 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8466 (build-system glib-or-gtk-build-system)
8468 `(#:tests? #f ; Tests appear to require the network.
8469 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8470 #:configure-flags '("--disable-gtk-doc"
8472 "--enable-introspection")))
8474 `(("pkg-config" ,pkg-config)
8475 ("gobject-introspection" ,gobject-introspection)))
8477 `(("json-glib" ,json-glib)
8478 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8480 (synopsis "GLib/GObject wrapper for the Facebook API")
8481 (description "This library allows you to use the Facebook API from
8482 GLib/GObject code.")
8483 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8484 (license license:lgpl2.1+)))
8486 (define-public libgnomekbd
8488 (name "libgnomekbd")
8492 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8493 (version-major+minor version) "/"
8494 "libgnomekbd-" version ".tar.xz"))
8497 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8498 (build-system gnu-build-system)
8500 `(("pkg-config" ,pkg-config)
8501 ("glib" ,glib "bin")
8502 ("intltool" ,intltool)))
8504 ;; Referred to in .h files and .pc.
8507 ("libxklavier" ,libxklavier)))
8508 (home-page "https://www.gnome.org")
8509 (synopsis "GNOME keyboard configuration library")
8511 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8512 environment, which can notably display keyboard layouts.")
8513 (license license:lgpl2.0+)))
8515 ;;; This package is no longer maintained:
8516 ;;; https://wiki.gnome.org/Attic/LibUnique
8517 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8518 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8519 (define-public libunique
8525 (uri (string-append "mirror://gnome/sources/" name "/"
8526 (version-major+minor version) "/"
8527 name "-" version ".tar.xz"))
8530 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8531 (build-system glib-or-gtk-build-system)
8533 `(#:configure-flags '("--disable-static"
8534 "--disable-dbus" ; use gdbus
8535 "--enable-introspection")))
8537 `(("pkg-config" ,pkg-config)
8538 ("gobject-introspection" ,gobject-introspection)
8539 ("glib:bin" ,glib "bin")
8540 ("gtk-doc" ,gtk-doc)))
8542 ;; Referred to in .h files and .pc.
8544 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8545 (synopsis "Library for writing single instance applications")
8547 "Libunique is a library for writing single instance applications. If you
8548 launch a single instance application twice, the second instance will either just
8549 quit or will send a message to the running instance. Libunique makes it easy to
8550 write this kind of application, by providing a base class, taking care of all
8551 the IPC machinery needed to send messages to a running instance, and also
8552 handling the startup notification side.")
8553 (license license:lgpl2.1+)))
8555 (define-public gnome-calculator
8557 (name "gnome-calculator")
8562 (uri (string-append "mirror://gnome/sources/" name "/"
8563 (version-major+minor version) "/"
8564 name "-" version ".tar.xz"))
8567 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
8568 (build-system meson-build-system)
8569 (arguments '(#:glib-or-gtk? #t))
8571 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8572 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8573 ("intltool" ,intltool)
8574 ("itstool" ,itstool)
8576 ("pkg-config" ,pkg-config)))
8579 ("gtksourceview" ,gtksourceview)
8580 ("libsoup" ,libsoup)
8581 ("libxml2" ,libxml2)
8584 (home-page "https://wiki.gnome.org/Apps/Calculator")
8585 (synopsis "Desktop calculator")
8587 "Calculator is an application that solves mathematical equations and
8588 is suitable as a default application in a Desktop environment.")
8589 (license license:gpl3)))
8598 (uri (string-append "https://launchpad.net/xpad/trunk/"
8599 version "/+download/"
8600 name "-" version ".tar.bz2"))
8603 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8604 (build-system gnu-build-system)
8606 `(("autoconf" ,autoconf)
8607 ("automake" ,automake)
8608 ("gtk+:bin" ,gtk+ "bin")
8609 ("intltool" ,intltool)
8610 ("pkg-config" ,pkg-config)))
8612 `(("gtksourceview" ,gtksourceview-3)
8614 (home-page "https://wiki.gnome.org/Apps/Xpad")
8615 (synopsis "Virtual sticky note")
8617 "Xpad is a sticky note that strives to be simple, fault tolerant,
8618 and customizable. Xpad consists of independent pad windows, each is
8619 basically a text box in which notes can be written.")
8620 (license license:gpl3+)))
8622 (define-public gucharmap
8623 (let ((unicode-files
8625 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8627 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8629 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8631 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8633 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8635 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8642 (uri (string-append "mirror://gnome/sources/" name "/"
8643 (version-major+minor version) "/"
8644 name "-" version ".tar.xz"))
8647 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8648 (build-system glib-or-gtk-build-system)
8650 `(#:modules ((ice-9 match)
8651 (guix build glib-or-gtk-build-system)
8654 (list "--with-unicode-data=../unicode-data")
8656 (modify-phases %standard-phases
8657 (add-after 'unpack 'prepare-unicode-data
8658 (lambda* (#:key inputs #:allow-other-keys)
8659 (mkdir-p "../unicode-data")
8660 (with-directory-excursion "../unicode-data"
8661 (for-each (match-lambda
8663 (install-file (assoc-ref inputs file) ".")))
8667 `(("desktop-file-utils" ,desktop-file-utils)
8668 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8669 ("gobject-introspection" ,gobject-introspection)
8670 ("intltool" ,intltool)
8671 ("itstool" ,itstool)
8672 ("pkg-config" ,pkg-config)
8673 ,@(map (match-lambda
8679 "http://www.unicode.org/Public/12.0.0/ucd/"
8681 (sha256 (base32 hash))))))
8686 ("xmllint" ,libxml2)))
8687 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8688 (synopsis "Unicode character picker and font browser")
8690 "This program allows you to browse through all the available Unicode
8691 characters and categories for the installed fonts, and to examine their
8692 detailed properties. It is an easy way to find the character you might
8693 only know by its Unicode name or code point.")
8694 (license license:gpl3+))))
8696 (define-public bluefish
8703 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8704 "bluefish-" version ".tar.gz"))
8706 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8707 (build-system gnu-build-system)
8709 `(("desktop-file-utils" ,desktop-file-utils)
8710 ("intltool" ,intltool)
8711 ("pkg-config" ,pkg-config)))
8713 `(("enchant" ,enchant)
8715 ("python" ,python-wrapper)
8716 ("xmllint" ,libxml2)
8717 ("gucharmap" ,gucharmap)))
8718 (home-page "http://bluefish.openoffice.nl")
8719 (synopsis "Web development studio")
8721 "Bluefish is an editor targeted towards programmers and web developers,
8722 with many options to write web sites, scripts and other code.
8723 Bluefish supports many programming and markup languages.")
8724 (license license:gpl3+)))
8726 (define-public gnome-system-monitor
8728 (name "gnome-system-monitor")
8733 (uri (string-append "mirror://gnome/sources/" name "/"
8734 (version-major+minor version) "/"
8735 name "-" version ".tar.xz"))
8738 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8739 (build-system meson-build-system)
8742 #:configure-flags '("-Dsystemd=false")))
8744 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8745 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8746 ("intltool" ,intltool)
8747 ("itstool" ,itstool)
8748 ("libgtop" ,libgtop)
8750 ("pkg-config" ,pkg-config)))
8752 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8755 ("librsvg" ,librsvg)
8756 ("libxml2" ,libxml2)
8757 ("libwnck" ,libwnck)))
8758 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8759 (synopsis "Process viewer and system resource monitor for GNOME")
8761 "GNOME System Monitor is a GNOME process viewer and system monitor with
8762 an attractive, easy-to-use interface. It has features, such as a tree view
8763 for process dependencies, icons for processes, the ability to hide processes,
8764 graphical time histories of CPU/memory/swap usage and the ability to
8765 kill/reinice processes.")
8766 (license license:gpl2+)))
8768 (define-public python-pyatspi
8770 (name "python-pyatspi")
8775 "mirror://gnome/sources/pyatspi/"
8776 (version-major+minor version)
8777 "/pyatspi-" version ".tar.xz"))
8780 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8781 (build-system gnu-build-system)
8784 (modify-phases %standard-phases
8785 (add-before 'build 'fix-atk-load
8787 (substitute* "pyatspi/__init__.py"
8788 (("from gi.repository import Atspi")
8789 "gi.require_version('Gtk', '3.0')
8790 from gi.repository import Gtk
8791 from gi.repository import Atspi"))
8794 `(("pkg-config" ,pkg-config)))
8796 `(("python" ,python)
8797 ("python-pygobject" ,python-pygobject)))
8798 (synopsis "Python client bindings for D-Bus AT-SPI")
8799 (home-page "https://wiki.linuxfoundation.org/accessibility\
8800 /atk/at-spi/at-spi_on_d-bus")
8802 "This package includes a python client library for the AT-SPI D-Bus
8803 accessibility infrastructure.")
8804 (license license:lgpl2.0)
8805 (properties '((upstream-name . "pyatspi")))))
8814 "mirror://gnome/sources/" name "/"
8815 (version-major+minor version) "/"
8816 name "-" version ".tar.xz"))
8819 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
8820 (build-system glib-or-gtk-build-system)
8823 (modify-phases %standard-phases
8824 (add-before 'configure 'qualify-xkbcomp
8825 (lambda* (#:key inputs #:allow-other-keys)
8826 (let ((xkbcomp (string-append
8827 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8828 (substitute* "src/orca/orca.py"
8829 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8831 (add-after 'install 'wrap-orca
8832 (lambda* (#:key outputs #:allow-other-keys)
8833 (let* ((out (assoc-ref outputs "out"))
8834 (prog (string-append out "/bin/orca")))
8836 `("GI_TYPELIB_PATH" ":" prefix
8837 (,(getenv "GI_TYPELIB_PATH")))
8838 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8839 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8840 `("PYTHONPATH" ":" prefix
8841 (,(getenv "PYTHONPATH")))))
8844 `(("intltool" ,intltool)
8845 ("itstool" ,itstool)
8846 ("pkg-config" ,pkg-config)
8847 ("xmllint" ,libxml2)))
8849 `(("at-spi2-atk" ,at-spi2-atk)
8850 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8851 ("gstreamer" ,gstreamer)
8852 ("gst-plugins-base" ,gst-plugins-base)
8853 ("gst-plugins-good" ,gst-plugins-good)
8856 ("python-pygobject" ,python-pygobject)
8857 ("python-pyatspi" ,python-pyatspi)
8858 ("python-speechd" ,speech-dispatcher)
8859 ("xkbcomp" ,xkbcomp)))
8861 "Screen reader for individuals who are blind or visually impaired")
8862 (home-page "https://wiki.gnome.org/Projects/Orca")
8864 "Orca is a screen reader that provides access to the graphical desktop
8865 via speech and refreshable braille. Orca works with applications and toolkits
8866 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8867 (license license:lgpl2.1+)))
8869 (define-public gspell
8875 (uri (string-append "mirror://gnome/sources/" name "/"
8876 (version-major+minor version) "/"
8877 name "-" version ".tar.xz"))
8880 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8881 (patches (search-patches "gspell-dash-test.patch"))))
8882 (build-system glib-or-gtk-build-system)
8884 '(#:configure-flags (list "--enable-vala")
8886 (modify-phases %standard-phases
8887 (add-before 'check 'pre-check
8888 (lambda* (#:key inputs #:allow-other-keys)
8889 ;; Tests require a running X server.
8890 (system "Xvfb :1 &")
8891 (setenv "DISPLAY" ":1")
8893 ;; For the missing /etc/machine-id.
8894 (setenv "DBUS_FATAL_WARNINGS" "0")
8896 ;; Allow Enchant and its Aspell backend to find the en_US
8898 (setenv "ASPELL_DICT_DIR"
8899 (string-append (assoc-ref inputs "aspell-dict-en")
8905 ("iso-codes" ,iso-codes)))
8907 `(("glib" ,glib "bin")
8908 ("gobject-introspection" ,gobject-introspection)
8909 ("pkg-config" ,pkg-config)
8910 ("vala" ,vala) ;for VAPI, needed by Geary
8911 ("xmllint" ,libxml2)
8914 ("aspell-dict-en" ,aspell-dict-en)
8915 ("xorg-server" ,xorg-server-for-tests)))
8917 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8918 (home-page "https://wiki.gnome.org/Projects/gspell")
8919 (synopsis "GNOME's alternative spell checker")
8921 "gspell provides a flexible API to add spell-checking to a GTK+
8922 application. It provides a GObject API, spell-checking to text entries and
8923 text views, and buttons to choose the language.")
8924 (license license:gpl2+)))
8926 (define-public gnome-planner
8928 (name "gnome-planner")
8932 (uri (string-append "mirror://gnome/sources/planner/"
8933 (version-major+minor version) "/planner-"
8937 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8938 (build-system glib-or-gtk-build-system)
8940 ;; Disable the Python bindings because the Planner program functions
8941 ;; without them, and (as of 2017-06-13) we have not packaged all of
8942 ;; packages that are necessary for building the Python bindings.
8944 (list "--disable-python"
8945 ,@(if (string=? "aarch64-linux" (%current-system))
8946 '("--build=aarch64-unknown-linux-gnu")
8949 `(("libgnomecanvas" ,libgnomecanvas)
8950 ("libgnomeui" ,libgnomeui)
8951 ("libglade" ,libglade)
8952 ("gnome-vfs" ,gnome-vfs)
8954 ("libxml2" ,libxml2)
8955 ("libxslt" ,libxslt)
8959 `(("intltool" ,intltool)
8960 ("scrollkeeper" ,scrollkeeper)
8961 ("pkg-config" ,pkg-config)))
8962 (home-page "https://wiki.gnome.org/Apps/Planner")
8963 (synopsis "Project management software for the GNOME desktop")
8965 "GNOME Planner is a project management tool based on the Work Breakdown
8966 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8967 the resources, tasks, and constraints that you define, Planner generates
8968 various views into a project. For example, Planner can show a Gantt chart of
8969 the project. It can show a detailed summary of tasks including their
8970 duration, cost, and current progress. It can also show a report of resource
8971 utilization that highlights under-utilized and over-utilized resources. These
8972 views can be printed as PDF or PostScript files, or exported to HTML.")
8973 (license license:gpl2+)))
8975 (define-public lollypop
8982 (uri (string-append "https://adishatz.org/lollypop/"
8983 "lollypop-" version ".tar.xz"))
8985 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
8986 (build-system meson-build-system)
8988 `(#:imported-modules
8989 (,@%meson-build-system-modules
8990 (guix build python-build-system))
8992 ((guix build meson-build-system)
8993 ((guix build python-build-system) #:prefix python:)
8996 #:tests? #f ; no test suite
8998 (modify-phases %standard-phases
8999 (add-after 'install 'wrap-program
9000 (lambda* (#:key outputs #:allow-other-keys)
9001 (let ((out (assoc-ref outputs "out"))
9002 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9003 (wrap-program (string-append out "/bin/lollypop")
9004 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9006 (add-after 'install 'wrap-python
9007 (assoc-ref python:%standard-phases 'wrap)))))
9009 `(("intltool" ,intltool)
9010 ("itstool" ,itstool)
9011 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9012 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9013 ("pkg-config" ,pkg-config)))
9015 `(("gobject-introspection" ,gobject-introspection)
9016 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9017 ("gst-plugins-base" ,gst-plugins-base)
9018 ("libnotify" ,libnotify)
9019 ("libsecret" ,libsecret)
9020 ("libsoup" ,libsoup)
9022 ("python-beautifulsoup4" ,python-beautifulsoup4)
9023 ("python-gst" ,python-gst)
9024 ("python-pil" ,python-pillow)
9025 ("python-pycairo" ,python-pycairo)
9026 ("python-pygobject" ,python-pygobject-3.34)
9027 ("python-pylast" ,python-pylast)
9028 ("totem-pl-parser" ,totem-pl-parser)
9029 ("webkitgtk" ,webkitgtk)))
9031 `(;; gst-plugins-base is required to start Lollypop,
9032 ;; the others are required to play streaming.
9033 ("gst-plugins-good" ,gst-plugins-good)
9034 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9035 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9036 (synopsis "GNOME music playing application")
9038 "Lollypop is a music player designed to play well with GNOME desktop.
9039 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9040 from artists and tracks from the web. It also fetches cover artworks
9041 automatically and it can stream songs from online music services and charts.")
9042 (license license:gpl3+)))
9044 (define-public gnome-video-effects
9046 (name "gnome-video-effects")
9050 (uri (string-append "mirror://gnome/sources/" name "/"
9051 (version-major+minor version) "/" name "-"
9055 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9056 (build-system glib-or-gtk-build-system)
9058 `(#:out-of-source? #f))
9060 `(("glib:bin" ,glib "bin")
9061 ("intltool" ,intltool)
9062 ("gettext" ,gettext-minimal)
9063 ("pkg-config" ,pkg-config)))
9064 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9065 (synopsis "Video effects for Cheese and other GNOME applications")
9067 "A collection of GStreamer video filters and effects to be used in
9068 photo-booth-like software, such as Cheese.")
9069 (license license:gpl2+)))
9071 (define-public cheese
9077 (uri (string-append "mirror://gnome/sources/" name "/"
9078 (version-major+minor version) "/" name "-"
9082 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
9084 ;; Tests require GDK.
9087 (modify-phases %standard-phases
9088 (add-before 'install 'skip-gtk-update-icon-cache
9090 ;; Don't create 'icon-theme.cache'
9091 (substitute* "Makefile"
9092 (("gtk-update-icon-cache") (which "true")))
9094 (add-after 'install 'wrap-cheese
9095 (lambda* (#:key inputs outputs #:allow-other-keys)
9096 (let ((out (assoc-ref outputs "out"))
9097 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9098 (wrap-program (string-append out "/bin/cheese")
9099 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9101 (build-system glib-or-gtk-build-system)
9103 `(("glib:bin" ,glib "bin")
9104 ("intltool" ,intltool)
9105 ("itstool" ,itstool)
9106 ("libxml2" ,libxml2)
9107 ("pkg-config" ,pkg-config)
9110 `(("gnome-video-effects" ,gnome-video-effects)
9111 ("clutter" ,clutter)
9112 ("clutter-gst" ,clutter-gst)
9113 ("clutter-gtk" ,clutter-gtk)
9114 ("libcanberra" ,libcanberra)
9115 ("gdk-pixbuf" ,gdk-pixbuf)
9117 ("gstreamer" ,gstreamer)))
9119 `(("gnome-desktop" ,gnome-desktop)
9120 ("gobject-introspection" ,gobject-introspection)
9121 ("gst-plugins-base" ,gst-plugins-base)
9122 ("gst-plugins-bad" ,gst-plugins-bad)
9125 ("libxtst" ,libxtst)))
9126 (home-page "https://wiki.gnome.org/Apps/Cheese")
9127 (synopsis "Webcam photo booth software for GNOME")
9129 "Cheese uses your webcam to take photos and videos. Cheese can also
9130 apply fancy special effects and lets you share the fun with others.")
9131 (license license:gpl2+)))
9133 (define-public sound-juicer
9135 (name "sound-juicer")
9140 (uri (string-append "mirror://gnome/sources/" name "/"
9141 (version-major+minor version) "/"
9142 name "-" version ".tar.xz"))
9145 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9146 (build-system glib-or-gtk-build-system)
9148 `(("desktop-file-utils" ,desktop-file-utils)
9149 ("intltool" ,intltool)
9150 ("itstool" ,itstool)
9151 ("pkg-config" ,pkg-config)
9152 ("xmllint" ,libxml2)))
9155 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9156 ("gstreamer" ,gstreamer)
9157 ("gst-plugins-base" ,gst-plugins-base)
9158 ("gst-plugins-good" ,gst-plugins-good)
9159 ("iso-codes" ,iso-codes)
9160 ("libbrasero-media3" ,brasero)
9161 ("libcanberra" ,libcanberra)
9162 ("libdiscid" ,libdiscid)
9163 ("libmusicbrainz" ,libmusicbrainz)
9165 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9166 (synopsis "Audio music cd ripper")
9167 (description "Sound Juicer extracts audio from compact discs and convert it
9168 into audio files that a personal computer or digital audio player can play.
9169 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9170 mp3, Ogg Vorbis and FLAC")
9171 (license license:gpl2+)))
9173 (define-public soundconverter
9175 (name "soundconverter")
9180 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9181 version "/+download/"
9182 "soundconverter-" version ".tar.xz"))
9185 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
9188 "soundconverter-remove-gconf-dependency.patch"))))
9189 (build-system glib-or-gtk-build-system)
9191 `(#:imported-modules ((guix build python-build-system)
9192 (guix build glib-or-gtk-build-system)
9193 ,@%gnu-build-system-modules)
9195 #:modules ((guix build glib-or-gtk-build-system)
9197 ((guix build gnu-build-system) #:prefix gnu:)
9198 ((guix build python-build-system) #:prefix python:))
9201 (modify-phases %standard-phases
9202 (add-after 'install 'wrap-soundconverter-for-python
9203 (assoc-ref python:%standard-phases 'wrap))
9204 (add-after 'install 'wrap-soundconverter
9205 (lambda* (#:key inputs outputs #:allow-other-keys)
9206 (let ((out (assoc-ref outputs "out"))
9207 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9208 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9209 (wrap-program (string-append out "/bin/soundconverter")
9210 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9211 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9214 `(("intltool" ,intltool)
9215 ("pkg-config" ,pkg-config)
9216 ("glib:bin" ,glib "bin")))
9220 ("python-pygobject" ,python-pygobject)
9221 ("gstreamer" ,gstreamer)
9222 ("gst-plugins-base" ,gst-plugins-base)))
9223 (home-page "https://soundconverter.org/")
9224 (synopsis "Convert between audio formats with a graphical interface")
9226 "SoundConverter supports converting between many audio formats including
9227 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9228 configurable file renaming. ")
9229 (license license:gpl3)))
9231 (define-public workrave
9239 (url "https://github.com/rcaelers/workrave.git")
9240 (commit (string-append "v" (string-map
9241 (match-lambda (#\. #\_) (chr chr))
9243 (file-name (git-file-name name version))
9245 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9246 (build-system glib-or-gtk-build-system)
9248 ;; The only tests are maintainer tests (in po/), which fail.
9250 (inputs `(("glib" ,glib)
9252 ("gdk-pixbuf" ,gdk-pixbuf)
9256 ("libxtst" ,libxtst)
9260 ("libxscrnsaver" ,libxscrnsaver)))
9261 (native-inputs `(("boost" ,boost)
9262 ("pkg-config" ,pkg-config)
9263 ("gettext" ,gettext-minimal)
9264 ("autoconf" ,autoconf)
9265 ("autoconf-archive" , autoconf-archive)
9266 ("automake" ,automake)
9267 ("libtool" ,libtool)
9268 ("intltool" ,intltool)
9269 ("gobject-introspection" ,gobject-introspection)
9270 ("python3" ,python-3)
9271 ("python-jinja2" ,python-jinja2)))
9272 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9274 "Workrave is a program that assists in the recovery and prevention of
9275 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9276 micro-pauses and rest breaks, and restricts you to your daily limit.")
9277 (home-page "http://www.workrave.org")
9278 (license license:gpl3+)))
9286 (uri (string-append "mirror://gnome/sources/ghex/"
9287 (version-major+minor version) "/"
9288 "ghex-" version ".tar.xz"))
9291 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9292 (build-system meson-build-system)
9296 (modify-phases %standard-phases
9297 (add-after 'unpack 'skip-gtk-update-icon-cache
9298 ;; Don't create 'icon-theme.cache'.
9300 (substitute* "meson_post_install.py"
9301 (("gtk-update-icon-cache") (which "true")))
9304 `(("pkg-config" ,pkg-config)
9305 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9306 ("gnome-common" ,gnome-common)
9308 ("intltool" ,intltool)
9309 ("yelp-tools" ,yelp-tools)
9310 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9314 (synopsis "GNOME hexadecimal editor")
9315 (description "The GHex program can view and edit files in two ways:
9316 hexadecimal or ASCII. It is useful for editing binary files in general.")
9317 (home-page "https://wiki.gnome.org/Apps/Ghex")
9318 (license license:gpl2)))
9320 (define-public libdazzle
9326 (uri (string-append "mirror://gnome/sources/libdazzle/"
9327 (version-major+minor version) "/"
9328 "libdazzle-" version ".tar.xz"))
9331 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
9332 (build-system meson-build-system)
9335 (modify-phases %standard-phases
9336 (add-before 'check 'pre-check
9338 ;; Tests require a running X server.
9339 (system "Xvfb :1 &")
9340 (setenv "DISPLAY" ":1")
9343 `(("glib" ,glib "bin") ; glib-compile-resources
9344 ("pkg-config" ,pkg-config)
9346 ("xorg-server" ,xorg-server-for-tests)))
9349 ("gobject-introspection" ,gobject-introspection)
9352 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9353 (synopsis "Companion library to GObject and Gtk+")
9354 (description "The libdazzle library is a companion library to GObject and
9355 Gtk+. It provides various features that the authors wish were in the
9356 underlying library but cannot for various reasons. In most cases, they are
9357 wildly out of scope for those libraries. In other cases, they are not quite
9358 generic enough to work for everyone.")
9359 (license license:gpl3+)))
9361 (define-public evolution
9367 (uri (string-append "mirror://gnome/sources/evolution/"
9368 (version-major+minor version) "/"
9369 "evolution-" version ".tar.xz"))
9372 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
9373 (build-system cmake-build-system)
9375 `(#:imported-modules (,@%cmake-build-system-modules
9376 (guix build glib-or-gtk-build-system))
9377 #:modules ((guix build cmake-build-system)
9378 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9381 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9382 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9383 ; in four years and cannot be built.
9385 (modify-phases %standard-phases
9386 ;; The build system attempts to install user interface modules to the
9387 ;; output directory of the "evolution-data-server" package. This
9388 ;; change redirects that change.
9389 (add-after 'unpack 'patch-ui-module-dir
9390 (lambda* (#:key outputs #:allow-other-keys)
9391 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9392 (("\\$\\{edsuimoduledir\\}")
9393 (string-append (assoc-ref outputs "out")
9394 "/lib/evolution-data-server/ui-modules")))
9396 (add-after 'install 'glib-or-gtk-compile-schemas
9397 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9398 (add-after 'install 'glib-or-gtk-wrap
9399 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9401 `(("glib" ,glib "bin") ; glib-mkenums
9402 ("pkg-config" ,pkg-config)
9403 ("intltool" ,intltool)
9404 ("itstool" ,itstool)))
9406 `(("enchant" ,enchant)
9407 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9409 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9410 ("gnome-autoar" ,gnome-autoar)
9411 ("gnome-desktop" ,gnome-desktop)
9412 ("gtkspell3" ,gtkspell3)
9413 ("highlight" ,highlight)
9414 ("libcanberra" ,libcanberra)
9415 ("libedataserverui" ,evolution-data-server)
9416 ("libgweather" ,libgweather)
9417 ("libnotify" ,libnotify)
9418 ("libsoup" ,libsoup)
9420 ("openldap" ,openldap)
9421 ("webkitgtk" ,webkitgtk)
9423 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9424 (synopsis "Manage your email, contacts and schedule")
9425 (description "Evolution is a personal information management application
9426 that provides integrated mail, calendaring and address book
9428 ;; See COPYING for details.
9429 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9430 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9431 license:lgpl2.1+)))) ; smime/lib/*
9433 (define-public gthumb
9439 (uri (string-append "mirror://gnome/sources/gthumb/"
9440 (version-major+minor version) "/"
9441 "gthumb-" version ".tar.xz"))
9444 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9445 (build-system meson-build-system)
9449 ;; Ensure the RUNPATH contains all installed library locations.
9450 (list (string-append "-Dc_link_args=-Wl,-rpath="
9451 (assoc-ref %outputs "out")
9452 "/lib/gthumb/extensions")
9453 (string-append "-Dcpp_link_args=-Wl,-rpath="
9454 (assoc-ref %outputs "out")
9455 "/lib/gthumb/extensions"))))
9457 `(("pkg-config" ,pkg-config)
9458 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9459 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9460 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9461 ("intltool" ,intltool)
9462 ("itstool" ,itstool)))
9466 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9467 ("gstreamer" ,gstreamer)
9468 ("clutter" ,clutter)
9469 ("clutter-gst" ,clutter-gst)
9470 ("clutter-gtk" ,clutter-gtk)
9471 ("libjpeg" ,libjpeg)
9472 ("libtiff" ,libtiff)
9473 ("libraw" ,libraw)))
9474 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9475 (synopsis "GNOME image viewer and browser")
9476 (description "GThumb is an image viewer, browser, organizer, editor and
9477 advanced image management tool")
9478 (license license:gpl2+)))
9480 (define-public terminator
9486 (uri (string-append "https://launchpad.net/" name "/"
9487 "gtk3/" version "/" "+download/"
9488 name "-" version ".tar.gz"))
9491 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9492 (build-system python-build-system)
9494 `(("intltool" ,intltool)
9495 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9496 ("gettext" ,gettext-minimal)
9497 ("pkg-config" ,pkg-config)))
9500 ("gobject-introspection" ,gobject-introspection)
9501 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9502 ("python2-pycairo" ,python2-pycairo)
9503 ("python2-pygobject" ,python2-pygobject)
9504 ("python2-psutil" ,python2-psutil)
9507 `(#:python ,python-2 ; Python 3 isn't supported
9508 #:imported-modules ((guix build glib-or-gtk-build-system)
9509 ,@%python-build-system-modules)
9510 #:modules ((guix build python-build-system)
9511 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9514 (modify-phases %standard-phases
9516 'install 'wrap-program
9517 (lambda* (#:key outputs #:allow-other-keys)
9518 (let ((prog (string-append (assoc-ref outputs "out")
9519 "/bin/terminator")))
9521 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9522 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9524 (add-after 'wrap-program 'glib-or-gtk-wrap
9525 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9526 (home-page "https://gnometerminator.blogspot.com/")
9527 (synopsis "Store and run multiple GNOME terminals in one window")
9529 "Terminator allows you to run multiple GNOME terminals in a grid and
9530 +tabs, and it supports drag and drop re-ordering of terminals.")
9531 (license license:gpl2)))
9533 (define-public libhandy
9541 (url "https://source.puri.sm/Librem5/libhandy")
9542 (commit (string-append "v" version))))
9543 (file-name (git-file-name name version))
9545 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9546 (build-system meson-build-system)
9549 '("-Dglade_catalog=disabled"
9552 (modify-phases %standard-phases
9553 (add-before 'check 'pre-check
9555 ;; Tests require a running X server.
9556 (system "Xvfb :1 &")
9557 (setenv "DISPLAY" ":1")
9562 `(("glib:bin" ,glib "bin")
9563 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9565 ("gtk-doc" ,gtk-doc)
9566 ("pkg-config" ,pkg-config)
9567 ("gettext" ,gettext-minimal)
9569 ;; Test suite dependencies.
9570 ("xorg-server" ,xorg-server-for-tests)
9571 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9572 (home-page "https://source.puri.sm/Librem5/libhandy")
9573 (synopsis "Library full of GTK+ widgets for mobile phones")
9574 (description "The aim of the handy library is to help with developing user
9575 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9576 for usage on small and big screens.")
9577 (license license:lgpl2.1+)))
9579 (define-public libgit2-glib
9581 (name "libgit2-glib")
9582 (version "0.99.0.1")
9585 (uri (string-append "mirror://gnome/sources/" name "/"
9586 (version-major+minor version) "/"
9587 name "-" version ".tar.xz"))
9590 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9591 (build-system meson-build-system)
9593 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9594 ("gobject-introspection" ,gobject-introspection)
9595 ("pkg-config" ,pkg-config)
9596 ("python-pygobject" ,python-pygobject)
9597 ("python-wrapper" ,python-wrapper)
9601 ("libssh2" ,libssh2)))
9603 `(;; In Requires of libgit2-glib.pc.
9604 ("libgit2" ,libgit2)))
9605 (synopsis "GLib wrapper around the libgit2 Git access library")
9606 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9607 access library. It only implements the core plumbing functions, not really the
9608 higher level porcelain stuff.")
9609 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9610 (license license:gpl2+)))
9618 (uri (string-append "mirror://gnome/sources/" name "/"
9619 (version-major+minor version) "/"
9620 name "-" version ".tar.xz"))
9623 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9624 (build-system meson-build-system)
9628 (modify-phases %standard-phases
9629 (add-after 'unpack 'disable-post-install-partially
9631 (substitute* "meson_post_install.py"
9632 (("'python'") ; there are no python sources to compile
9633 (string-append "'" (which "true") "'"))
9634 (("gtk-update-icon-cache") (which "true")))
9636 (add-after 'unpack 'fix-test-sources
9638 (substitute* "tests/libgitg/test-commit.vala"
9639 (("/bin/bash") (which "bash")))
9641 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9642 (lambda* (#:key outputs #:allow-other-keys)
9643 (let ((prog (string-append (assoc-ref outputs "out")
9646 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9650 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9652 ("gtkspell3" ,gtkspell3)
9653 ("gtksourceview" ,gtksourceview-3)
9654 ("json-glib" ,json-glib)
9655 ("libdazzle" ,libdazzle)
9657 ("libgit2-glib" ,libgit2-glib)
9658 ("libpeas" ,libpeas)
9659 ("libsecret" ,libsecret)
9660 ("libsoup" ,libsoup)
9661 ("libxml2" ,libxml2)))
9663 `(("glib:bin" ,glib "bin")
9664 ("gtk+:bin" ,gtk+ "bin")
9665 ("gobject-introspection" ,gobject-introspection)
9666 ("intltool" ,intltool)
9667 ("pkg-config" ,pkg-config)
9669 (synopsis "Graphical user interface for git")
9671 "gitg is a graphical user interface for git. It aims at being a small,
9672 fast and convenient tool to visualize the history of git repositories.
9673 Besides visualization, gitg also provides several utilities to manage your
9674 repository and commit your work.")
9675 (home-page "https://wiki.gnome.org/Apps/Gitg")
9676 (license license:gpl2+)))
9678 (define-public gamin
9684 (uri (string-append "mirror://gnome/sources/" name "/"
9685 (version-major+minor version) "/"
9686 name "-" version ".tar.bz2"))
9689 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9690 (build-system gnu-build-system)
9693 (modify-phases %standard-phases
9694 (add-after 'unpack 'remove-deprecated-macro
9696 (substitute* '("server/gam_node.c"
9697 "server/gam_subscription.h"
9699 "server/gam_subscription.c")
9700 (("G_CONST_RETURN") "const"))
9705 `(("intltool" ,intltool)
9706 ("pkg-config" ,pkg-config)))
9707 (home-page "https://people.gnome.org/~veillard/gamin/")
9708 (synopsis "File alteration monitor")
9710 "Gamin is a file and directory monitoring system defined to be a subset
9711 of the FAM (File Alteration Monitor) system. This is a service provided by a
9712 library which detects when a file or a directory has been modified.")
9713 (license license:gpl2+)))
9715 (define-public gnome-mahjongg
9717 (name "gnome-mahjongg")
9722 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9724 (file-name (git-file-name name version))
9727 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9728 (build-system meson-build-system)
9730 `(#:glib-or-gtk? #t))
9732 `(("appstream-glib" ,appstream-glib)
9733 ("gettext" ,gettext-minimal)
9734 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9735 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9736 ("itstool" ,itstool)
9737 ("pkg-config" ,pkg-config)
9740 `(("dconf" ,dconf)))
9744 ("librsvg" ,librsvg)))
9745 (synopsis "Mahjongg tile-matching game")
9746 (description "GNOME Mahjongg is a game based on the classic Chinese
9747 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9748 and a high score table.")
9749 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9750 (license license:gpl2+)))
9752 (define-public gnome-themes-extra
9754 (name "gnome-themes-extra")
9759 (uri (string-append "mirror://gnome/sources/" name "/"
9760 (version-major+minor version) "/" name "-"
9764 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9765 (build-system gnu-build-system)
9768 ;; Don't create 'icon-theme.cache'.
9769 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9770 (true (string-append coreutils "/bin/true")))
9771 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9773 `(("glib:bin" ,glib "bin")
9774 ("intltool" ,intltool)
9775 ("pkg-config" ,pkg-config)))
9780 ("librsvg" ,librsvg)
9781 ("libxml2" ,libxml2)))
9782 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9783 (synopsis "GNOME Extra Themes")
9784 (description "This package provides themes and related elements that don't
9785 really fit in other upstream packages. It offers legacy support for GTK+ 2
9786 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9787 index files needed for Adwaita to be used outside of GNOME.")
9788 (license license:lgpl2.1+)))
9790 (define-public polari
9796 (uri (string-append "mirror://gnome/sources/polari/"
9797 (version-major+minor version)
9798 "/polari-" version ".tar.xz"))
9801 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9802 (build-system meson-build-system)
9806 (modify-phases %standard-phases
9807 (add-after 'unpack 'skip-gtk-update-icon-cache
9809 (substitute* "meson/meson-postinstall.sh"
9810 (("gtk-update-icon-cache") (which "true")))
9812 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9813 (lambda* (#:key outputs #:allow-other-keys)
9814 (let ((prog (string-append (assoc-ref outputs "out")
9817 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9821 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9825 ("libsecret" ,libsecret)
9826 ("libsoup" ,libsoup)
9827 ("telepathy-glib" ,telepathy-glib)
9828 ("telepathy-logger" ,telepathy-logger)))
9830 `(("glib:bin" ,glib "bin")
9831 ("gobject-introspection" ,gobject-introspection)
9832 ("intltool" ,intltool)
9833 ("pkg-config" ,pkg-config)
9834 ("yelp-tools" ,yelp-tools)))
9836 `(("telepathy-idle" ,telepathy-idle)
9837 ("telepathy-mission-control" ,telepathy-mission-control)))
9838 (synopsis "Simple IRC Client")
9840 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9841 integrate seamlessly with the GNOME desktop.")
9842 (home-page "https://wiki.gnome.org/Apps/Polari")
9843 (license license:gpl2+)))
9845 (define-public gnome-boxes
9847 (name "gnome-boxes")
9852 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9853 (version-major+minor version) "/"
9854 "gnome-boxes-" version ".tar.xz"))
9857 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9858 (build-system meson-build-system)
9861 #:configure-flags (list "-Drdp=false"
9862 (string-append "-Dc_link_args=-Wl,-rpath="
9863 (assoc-ref %outputs "out")
9864 "/lib/gnome-boxes"))))
9866 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9867 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9868 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9869 ("itstool" ,itstool)
9870 ("intltool" ,intltool)
9872 ("pkg-config" ,pkg-config)))
9874 `(("libarchive" ,libarchive)
9876 ("gtk-vnc" ,gtk-vnc)
9877 ("libosinfo" ,libosinfo)
9878 ("libsecret" ,libsecret)
9879 ("libsoup" ,libsoup)
9881 ("libvirt" ,libvirt)
9882 ("libvirt-glib" ,libvirt-glib)
9884 ("spice-gtk" ,spice-gtk)
9885 ("sparql-query" ,sparql-query)
9887 ("webkitgtk" ,webkitgtk)
9888 ("tracker" ,tracker)
9889 ("libgudev" ,libgudev)))
9890 (home-page "https://wiki.gnome.org/Apps/Boxes")
9891 (synopsis "View, access, and manage remote and virtual systems")
9892 (description "GNOME Boxes is a simple application to view, access, and
9893 manage remote and virtual systems.")
9895 ;; For data/icons/empty-boxes.png.
9898 license:lgpl2.0+))))
9900 (define-public geary
9907 (url "https://gitlab.gnome.org/GNOME/geary")
9909 (file-name (git-file-name name version))
9912 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9913 (build-system meson-build-system)
9916 #:phases (modify-phases %standard-phases
9917 (add-after 'unpack 'disable-failing-tests
9919 (substitute* "test/meson.build"
9920 (("test\\('client-tests', geary_test_client_bin\\)")
9923 (add-after 'unpack 'disable-postinstall-script
9925 (substitute* "meson.build"
9926 (("meson.add_install_script\\(\
9927 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9930 (add-before 'check 'setup-xvfb
9932 (system "Xvfb :1 &")
9933 (setenv "DISPLAY" ":1")
9936 `(("enchant" ,enchant)
9940 ("gmime" ,gmime-2.6)
9941 ("gnome-online-accounts:lib"
9942 ,gnome-online-accounts "lib")
9945 ("iso-codes" ,iso-codes)
9946 ("json-glib" ,json-glib)
9947 ("libcanberra" ,libcanberra)
9949 ("libhandy" ,libhandy)
9950 ("libpeas" ,libpeas)
9951 ("libsecret" ,libsecret)
9952 ("libunwind" ,libunwind)
9954 ("webkitgtk" ,webkitgtk)
9957 `(("appstream-glib" ,appstream-glib)
9958 ("cmake-minimal" ,cmake-minimal)
9959 ("desktop-file-utils" ,desktop-file-utils)
9960 ("gettext" ,gettext-minimal)
9961 ("glib:bin" ,glib "bin")
9962 ("gobject-introspection" ,gobject-introspection)
9963 ("itstool" ,itstool)
9964 ("libarchive" ,libarchive)
9965 ("libxml2" ,libxml2)
9966 ("pkg-config" ,pkg-config)
9968 ("xvfb" ,xorg-server-for-tests)))
9969 (synopsis "GNOME email application built around conversations")
9971 "Geary collects related messages together into conversations,
9972 making it easy to find and follow your discussions. Full-text and keyword
9973 search makes it easy to find the email you are looking for. Geary's
9974 full-featured composer lets you send rich, styled text with images, links, and
9975 lists, but also send lightweight, easy to read text messages. Geary
9976 automatically picks up your existing GNOME Online Accounts, and adding more is
9977 easy. Geary has a clean, fast, modern interface that works like you want it
9979 (home-page "https://wiki.gnome.org/Apps/Geary")
9986 license:public-domain
9990 (define-public libratbag
9998 (url "https://github.com/libratbag/libratbag.git")
9999 (commit (string-append "v" version))))
10000 (file-name (git-file-name name version))
10002 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10003 (build-system meson-build-system)
10005 `(#:configure-flags
10006 (list "-Dsystemd=false"
10007 "-Dlogind-provider=elogind")
10009 (modify-phases %standard-phases
10010 (add-after 'install 'wrap
10011 (lambda* (#:key inputs outputs #:allow-other-keys)
10012 (let* ((out (assoc-ref outputs "out"))
10013 (site (string-append
10015 ,(version-major+minor (package-version python))
10017 (evdev (string-append
10018 (assoc-ref inputs "python-evdev") site))
10019 (pygo (string-append
10020 (assoc-ref inputs "python-pygobject") site))
10022 `("PYTHONPATH" = (,evdev ,pygo))))
10023 (wrap-program (string-append out "/bin/" "ratbagctl")
10028 ("pkg-config" ,pkg-config)
10030 ("valgrind" ,valgrind)))
10033 ("json-glib" ,json-glib)
10034 ("libevdev" ,libevdev)
10035 ("libsystemd" ,elogind)
10036 ("libunistring" ,libunistring)
10037 ("python-evdev" ,python-evdev)
10038 ("python-pygobject" ,python-pygobject)
10040 (home-page "https://github.com/libratbag/libratbag")
10041 (synopsis "DBus daemon and utility for configuring gaming mice")
10042 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10043 configure input devices, mainly gaming mice. The daemon provides a generic
10044 way to access the various features exposed by these mice and abstracts away
10045 hardware-specific and kernel-specific quirks. There is also the
10046 @command{ratbagctl} command line interface for configuring devices.
10048 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10051 The ratbagd DBus service can be enabled by adding the following service to
10052 your operating-system definition:
10054 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10055 (license license:expat)))
10057 (define-public parlatype
10058 ;; This is one commit away from 2.0, because the latter introduced
10059 ;; a regression in ASR.
10060 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
10064 (version (git-version "2.0" revision commit))
10068 (uri (git-reference
10069 (url "https://github.com/gkarsay/parlatype.git")
10071 (file-name (git-file-name name version))
10073 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
10074 (build-system meson-build-system)
10076 `(#:glib-or-gtk? #t
10077 #:tests? #f ;require internet access
10079 (modify-phases %standard-phases
10080 (add-after 'install 'wrap-parlatype
10081 ;; Add gstreamer plugin provided in this package to system's
10083 (lambda* (#:key outputs #:allow-other-keys)
10084 (let* ((out (assoc-ref outputs "out"))
10085 (gst-plugin-path (string-append
10086 out "/lib/gstreamer-1.0/"
10088 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10089 (wrap-program (string-append out "/bin/parlatype")
10090 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10093 `(("appstream-glib" ,appstream-glib)
10094 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10095 ("gettext" ,gettext-minimal)
10096 ("glib" ,glib "bin") ;for glib-compile-resources
10097 ("pkg-config" ,pkg-config)
10098 ("yelp-tools" ,yelp-tools)))
10100 `(("gst-plugins-base" ,gst-plugins-base)
10101 ("gst-plugins-good" ,gst-plugins-good)
10102 ("gstreamer" ,gstreamer)
10104 ("pocketsphinx" ,pocketsphinx)
10105 ("pulseaudio" ,pulseaudio)
10106 ("sphinxbase" ,sphinxbase)))
10107 (home-page "http://gkarsay.github.io/parlatype/")
10108 (synopsis "GNOME audio player for transcription")
10109 (description "Parlatype is an audio player for the GNOME desktop
10110 environment. Its main purpose is the manual transcription of spoken
10112 (license license:gpl3+))))
10114 (define-public jsonrpc-glib
10116 (name "jsonrpc-glib")
10120 (uri (string-append "mirror://gnome/sources/" name "/"
10121 (version-major+minor version) "/"
10122 name "-" version ".tar.xz"))
10125 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10126 (build-system meson-build-system)
10128 `(("json-glib" ,json-glib)
10131 `(("pkg-config" ,pkg-config)
10132 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10133 ("gobject-introspection" ,gobject-introspection)
10135 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10136 (synopsis "JSON-RPC library for GLib")
10137 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10138 peers in either a synchronous or asynchronous fashion. It also allows
10139 communicating using the GVariant serialization format instead of JSON when
10140 both peers support it. You might want that when communicating on a single
10141 host to avoid parser overhead and memory-allocator fragmentation.")
10142 (license license:lgpl2.1+)))