1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
55 ;;; This file is part of GNU Guix.
57 ;;; GNU Guix is free software; you can redistribute it and/or modify it
58 ;;; under the terms of the GNU General Public License as published by
59 ;;; the Free Software Foundation; either version 3 of the License, or (at
60 ;;; your option) any later version.
62 ;;; GNU Guix is distributed in the hope that it will be useful, but
63 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
64 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
65 ;;; GNU General Public License for more details.
67 ;;; You should have received a copy of the GNU General Public License
68 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
70 (define-module (gnu packages gnome)
71 #:use-module (gnu packages)
72 #:use-module (gnu packages admin)
73 #:use-module (gnu packages aspell)
74 #:use-module (gnu packages autotools)
75 #:use-module (gnu packages avahi)
76 #:use-module (gnu packages backup)
77 #:use-module (gnu packages base)
78 #:use-module (gnu packages bash)
79 #:use-module (gnu packages bison)
80 #:use-module (gnu packages boost)
81 #:use-module (gnu packages build-tools)
82 #:use-module (gnu packages calendar)
83 #:use-module (gnu packages cdrom)
84 #:use-module (gnu packages check)
85 #:use-module (gnu packages cmake)
86 #:use-module (gnu packages compression)
87 #:use-module (gnu packages crates-io)
88 #:use-module (gnu packages cups)
89 #:use-module (gnu packages curl)
90 #:use-module (gnu packages cyrus-sasl)
91 #:use-module (gnu packages databases)
92 #:use-module (gnu packages dbm)
93 #:use-module (gnu packages djvu)
94 #:use-module (gnu packages dns)
95 #:use-module (gnu packages docbook)
96 #:use-module (gnu packages documentation)
97 #:use-module (gnu packages enchant)
98 #:use-module (gnu packages flex)
99 #:use-module (gnu packages fonts)
100 #:use-module (gnu packages file-systems)
101 #:use-module (gnu packages fontutils)
102 #:use-module (gnu packages freedesktop)
103 #:use-module (gnu packages game-development)
104 #:use-module (gnu packages gettext)
105 #:use-module (gnu packages ghostscript)
106 #:use-module (gnu packages gl)
107 #:use-module (gnu packages glib)
108 #:use-module (gnu packages gnupg)
109 #:use-module (gnu packages gnuzilla)
110 #:use-module (gnu packages geo)
111 #:use-module (gnu packages gperf)
112 #:use-module (gnu packages graphviz)
113 #:use-module (gnu packages gstreamer)
114 #:use-module (gnu packages gtk)
115 #:use-module (gnu packages guile)
116 #:use-module (gnu packages ibus)
117 #:use-module (gnu packages icu4c)
118 #:use-module (gnu packages image)
119 #:use-module (gnu packages imagemagick)
120 #:use-module (gnu packages inkscape)
121 #:use-module (gnu packages iso-codes)
122 #:use-module (gnu packages kerberos)
123 #:use-module (gnu packages libcanberra)
124 #:use-module (gnu packages libunistring)
125 #:use-module (gnu packages libunwind)
126 #:use-module (gnu packages libusb)
127 #:use-module (gnu packages linux)
128 #:use-module (gnu packages lirc)
129 #:use-module (gnu packages lua)
130 #:use-module (gnu packages mail)
131 #:use-module (gnu packages mp3)
132 #:use-module (gnu packages multiprecision)
133 #:use-module (gnu packages music)
134 #:use-module (gnu packages ncurses)
135 #:use-module (gnu packages nettle)
136 #:use-module (gnu packages networking)
137 #:use-module (gnu packages ninja)
138 #:use-module (gnu packages nss)
139 #:use-module (gnu packages openldap)
140 #:use-module (gnu packages password-utils)
141 #:use-module (gnu packages pcre)
142 #:use-module (gnu packages pdf)
143 #:use-module (gnu packages perl)
144 #:use-module (gnu packages photo)
145 #:use-module (gnu packages pkg-config)
146 #:use-module (gnu packages polkit)
147 #:use-module (gnu packages popt)
148 #:use-module (gnu packages pretty-print)
149 #:use-module (gnu packages pulseaudio)
150 #:use-module (gnu packages python)
151 #:use-module (gnu packages python-crypto)
152 #:use-module (gnu packages python-web)
153 #:use-module (gnu packages python-xyz)
154 #:use-module (gnu packages rdesktop)
155 #:use-module (gnu packages readline)
156 #:use-module (gnu packages ruby)
157 #:use-module (gnu packages rust)
158 #:use-module (gnu packages samba)
159 #:use-module (gnu packages scanner)
160 #:use-module (gnu packages selinux)
161 #:use-module (gnu packages slang)
162 #:use-module (gnu packages speech)
163 #:use-module (gnu packages spice)
164 #:use-module (gnu packages sqlite)
165 #:use-module (gnu packages ssh)
166 #:use-module (gnu packages swig)
167 #:use-module (gnu packages tex)
168 #:use-module (gnu packages time)
169 #:use-module (gnu packages tls)
170 #:use-module (gnu packages valgrind)
171 #:use-module (gnu packages version-control)
172 #:use-module (gnu packages video)
173 #:use-module (gnu packages virtualization)
174 #:use-module (gnu packages vpn)
175 #:use-module (gnu packages web)
176 #:use-module (gnu packages webkit)
177 #:use-module (gnu packages xdisorg)
178 #:use-module (gnu packages xiph)
179 #:use-module (gnu packages xml)
180 #:use-module (gnu packages xorg)
181 #:use-module (gnu artwork)
182 #:use-module (guix build-system cargo)
183 #:use-module (guix build-system cmake)
184 #:use-module (guix build-system glib-or-gtk)
185 #:use-module (guix build-system gnu)
186 #:use-module (guix build-system meson)
187 #:use-module (guix build-system python)
188 #:use-module (guix build-system trivial)
189 #:use-module (guix download)
190 #:use-module (guix git-download)
191 #:use-module ((guix licenses) #:prefix license:)
192 #:use-module (guix packages)
193 #:use-module (guix utils)
194 #:use-module (guix gexp)
195 #:use-module (guix monads)
196 #:use-module (guix store)
197 #:use-module (ice-9 match)
198 #:use-module (srfi srfi-1))
200 (define-public brasero
206 (uri (string-append "mirror://gnome/sources/brasero/"
207 (version-major+minor version) "/"
208 "brasero-" version ".tar.xz"))
211 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
212 (build-system glib-or-gtk-build-system)
214 `(#:configure-flags (list
215 (string-append "--with-girdir="
216 (assoc-ref %outputs "out")
218 (string-append "--with-typelibdir="
219 (assoc-ref %outputs "out")
220 "/lib/girepository-1.0"))
222 (modify-phases %standard-phases
223 (add-before 'configure 'embed-growisofs
224 (lambda* (#:key inputs #:allow-other-keys)
225 (substitute* "plugins/growisofs/burn-growisofs.c"
226 (("\"growisofs") (string-append "\"" (which "growisofs"))))
229 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
231 `(("intltool" ,intltool)
233 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
234 ("gobject-introspection" ,gobject-introspection)
235 ("pkg-config" ,pkg-config)))
237 `(("dvd+rw-tools" ,dvd+rw-tools)
239 ("gnome-doc-utils" ,gnome-doc-utils)
240 ("gstreamer" ,gstreamer)
241 ("gst-plugins-base" ,gst-plugins-base)
243 ("libcanberra" ,libcanberra)
245 ("libnotify" ,libnotify)
248 ("totem-pl-parser" ,totem-pl-parser)))
249 (home-page "https://wiki.gnome.org/Apps/Brasero")
250 (synopsis "CD/DVD burning tool for Gnome")
251 (description "Brasero is an application to burn CD/DVD for the Gnome
252 Desktop. It is designed to be as simple as possible and has some unique
253 features to enable users to create their discs easily and quickly.")
254 (license license:gpl2+)))
256 (define-public notification-daemon
258 (name "notification-daemon")
264 (string-append "mirror://gnome/sources/" name "/"
265 (version-major+minor version) "/"
266 name "-" version ".tar.xz"))
269 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
270 (build-system glib-or-gtk-build-system)
272 `(("intltool" ,intltool)
273 ("pkg-config" ,pkg-config)))
278 (synopsis "Notification Daemon for GNOME Desktop")
279 (description "Notification-Daemon is the server implementation of the
280 freedesktop.org desktop notification specification.")
281 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
282 (license license:gpl2+)))
284 (define-public mm-common
290 (uri (string-append "mirror://gnome/sources/" name "/"
291 (version-major+minor version) "/"
292 name "-" version ".tar.xz"))
295 "1m4w33da9f4rx2d6kdj3ix3kl0gn16ml82v2mdn4hljr3q29nzdr"))))
296 (build-system meson-build-system)
299 (modify-phases %standard-phases
300 (add-after 'unpack 'patch
301 (lambda* (#:key inputs #:allow-other-keys)
302 (substitute* "util/mm-common-prepare.in"
303 (("ln") (string-append (assoc-ref inputs "coreutils")
305 (("cp") (string-append (assoc-ref inputs "coreutils")
307 (("sed") (string-append (assoc-ref inputs "sed")
309 (("cat") (string-append (assoc-ref inputs "coreutils")
313 `(("coreutils" ,coreutils)
314 ("gettext" ,gettext-minimal)
315 ("pkg-config" ,pkg-config)
318 `(("python" ,python)))
319 (synopsis "Module of GNOME C++ bindings")
320 (description "The mm-common module provides the build infrastructure
321 and utilities shared among the GNOME C++ binding libraries. Release
322 archives of mm-common include the Doxygen tag file for the GNU C++
323 Library reference documentation.")
324 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
325 (license license:gpl2+)))
327 (define-public phodav
333 (uri (string-append "mirror://gnome/sources/" name "/"
334 (version-major+minor version) "/"
335 name "-" version ".tar.xz"))
338 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
339 (build-system meson-build-system)
341 `(("gettext" ,gettext-minimal)
342 ("glib:bin" ,glib "bin")
344 ("pkg-config" ,pkg-config)))
347 ("libgudev" ,libgudev)
348 ("libsoup" ,libsoup)))
349 (synopsis "WebDav server implementation using libsoup")
350 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
351 but it is generic enough to be reused in other projects,
352 in particular in the GNOME desktop.")
353 (home-page "https://wiki.gnome.org/phodav")
354 (license license:lgpl2.1+)))
356 (define-public gnome-color-manager
358 (name "gnome-color-manager")
362 (uri (string-append "mirror://gnome/sources/" name "/"
363 (version-major+minor version) "/"
364 name "-" version ".tar.xz"))
367 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
368 (build-system meson-build-system)
372 (modify-phases %standard-phases
376 ;; Tests require a running X server.
378 (setenv "DISPLAY" ":1")
381 `(("desktop-file-utils" ,desktop-file-utils)
382 ("gettext" ,gettext-minimal)
383 ("glib:bin" ,glib "bin")
384 ("gtk+:bin" ,gtk+ "bin")
386 ("pkg-config" ,pkg-config)
387 ("xorg-server" ,xorg-server-for-tests)))
389 `(("adwaita-icon-theme" ,adwaita-icon-theme)
390 ("appstream-glib" ,appstream-glib)
391 ("colord-gtk" ,colord-gtk)
393 ("gnome-desktop" ,gnome-desktop)
394 ("libcanberra" ,libcanberra)
397 ("libxrandr" ,libxrandr)
399 ("libxxf86vm" ,libxxf86vm)
401 ("xorgproto" ,xorgproto)))
402 (synopsis "Color profile manager for the GNOME desktop")
403 (description "GNOME Color Manager is a session framework that makes
404 it easy to manage, install and generate color profiles
405 in the GNOME desktop.")
406 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
407 (license license:gpl2+)))
409 (define-public gnome-online-miners
411 (name "gnome-online-miners")
415 (uri (string-append "mirror://gnome/sources/" name "/"
416 (version-major+minor version) "/"
417 name "-" version ".tar.xz"))
420 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
421 (build-system glib-or-gtk-build-system)
423 `(("gettext" ,gettext-minimal)
424 ("glib:bin" ,glib "bin")
425 ("gobject-introspection" ,gobject-introspection)
426 ("gtk+:bin" ,gtk+ "bin")
427 ("pkg-config" ,pkg-config)))
429 `(("gnome-online-accounts" ,gnome-online-accounts)
430 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
432 ("libgdata" ,libgdata)
433 ("libgfbgraph" ,gfbgraph)
434 ("libzapojit" ,libzapojit)
436 ("tracker" ,tracker)))
437 (synopsis "Web Crawlers for GNOME")
438 (description "GNOME Online Miners provides a set of crawlers that
439 go through your online content and index them locally in Tracker.
440 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
441 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
442 (license license:gpl2+)))
450 (uri (string-append "mirror://gnome/sources/" name "/"
451 (version-major+minor version) "/"
452 name "-" version ".tar.xz"))
455 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
456 (build-system meson-build-system)
458 `(("gettext" ,gettext-minimal)
459 ("glib:bin" ,glib "bin")
460 ("gobject-introspection" ,gobject-introspection)
462 ("pkg-config" ,pkg-config)
466 ("libsoup" ,libsoup)))
467 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
468 Protocol} for GNOME")
469 (description "This package provides a library to handle resource discovery
470 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
471 a debugging tool, @command{gssdp-device-sniffer}.")
472 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
473 (license license:lgpl2.0+)))
481 (uri (string-append "mirror://gnome/sources/" name "/"
482 (version-major+minor version) "/"
483 name "-" version ".tar.xz"))
486 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
487 (build-system meson-build-system)
489 `(("gettext" ,gettext-minimal)
490 ("glib:bin" ,glib "bin")
491 ("gobject-introspection" ,gobject-introspection)
493 ("pkg-config" ,pkg-config)
498 ("libsoup" ,libsoup)))
499 (synopsis "PnP API for GNOME")
500 (description "This package provides GUPnP, an object-oriented framework
501 for creating UPnP devices and control points, written in C using
502 @code{GObject} and @code{libsoup}.")
503 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
504 (license license:lgpl2.0+)))
506 (define-public gupnp-dlna
512 (uri (string-append "mirror://gnome/sources/" name "/"
513 (version-major+minor version) "/"
514 name "-" version ".tar.xz"))
517 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
518 (build-system gnu-build-system)
520 `(("gettext" ,gettext-minimal)
521 ("glib:bin" ,glib "bin")
522 ("gobject-introspection" ,gobject-introspection)
525 ("pkg-config" ,pkg-config)
528 `(("gstreamer" ,gstreamer)
531 `(("gst-plugins-base" ,gst-plugins-base)
532 ("gst-plugins-good" ,gst-plugins-good)))
533 (synopsis "GUPnP DLNA for GNOME")
534 (description "This package provides a small utility library to
535 support DLNA-related tasks such as media profile guessing, transcoding to a
536 given profile, etc. DLNA is a subset of UPnP A/V.")
537 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
538 (license license:lgpl2.0+)))
540 (define-public gupnp-av
546 (uri (string-append "mirror://gnome/sources/" name "/"
547 (version-major+minor version) "/"
548 name "-" version ".tar.xz"))
551 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
552 (build-system gnu-build-system)
554 `(("gettext" ,gettext-minimal)
555 ("glib:bin" ,glib "bin")
556 ("gobject-introspection" ,gobject-introspection)
559 ("pkg-config" ,pkg-config)))
563 (synopsis "GUPnP A/V for GNOME")
564 (description "This package provides a small library for handling
565 and implementation of UPnP A/V profiles.")
566 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
567 (license license:lgpl2.0+)))
569 (define-public libmediaart
575 (uri (string-append "mirror://gnome/sources/" name "/"
576 (version-major+minor version) "/"
577 name "-" version ".tar.xz"))
580 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
581 (build-system gnu-build-system)
583 `(("glib:bin" ,glib "bin")
584 ("pkg-config" ,pkg-config)))
586 `(("gdk-pixbuf" ,gdk-pixbuf)
587 ("gettext" ,gettext-minimal)
588 ("gobject-introspection" ,gobject-introspection)
589 ("gtk+:doc", gtk+ "doc")
591 (synopsis "Media art library for the GNOME desktop")
593 "The libmediaart library is the foundation for media art caching,
594 extraction, and lookup for applications on the desktop.")
595 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
596 (license license:lgpl2.1+)))
598 (define-public gnome-initial-setup
600 (name "gnome-initial-setup")
604 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
605 (version-major+minor version)
606 "/gnome-initial-setup-" version ".tar.xz"))
609 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
610 (build-system meson-build-system)
612 '(#:configure-flags '(;; Enable camera support for user selfie.
615 #:phases (modify-phases %standard-phases
616 (add-after 'unpack 'set-gkbd-file-name
617 (lambda* (#:key inputs #:allow-other-keys)
618 ;; Allow the "Preview" button in the keyboard layout
619 ;; selection dialog to display the layout.
620 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
621 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
622 (("\"gkbd-keyboard-display")
623 (string-append "\"" libgnomekbd
624 "/bin/gkbd-keyboard-display")))
627 `(("gettext" ,gettext-minimal)
628 ("glib:bin" ,glib "bin")
629 ("gobject-introspection" ,gobject-introspection)
630 ("gtk+:bin" ,gtk+ "bin")
631 ("pkg-config" ,pkg-config)))
633 `(("accountsservice" ,accountsservice)
634 ;("adwaita-icon-theme" ,adwaita-icon-theme)
637 ("gnome-desktop" ,gnome-desktop)
638 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
639 ("gnome-online-accounts" ,gnome-online-accounts)
640 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
641 ("gstreamer" ,gstreamer)
643 ("json-glib" ,json-glib)
645 ("libgweather" ,libgweather)
646 ("libsecret" ,libsecret)
647 ("network-manager" ,network-manager)
648 ("network-manager-applet" ,network-manager-applet)
649 ("packagekit" ,packagekit)
651 ("pwquality" ,libpwquality)
654 ("webkitgtk" ,webkitgtk)
655 ("libgnomekbd" ,libgnomekbd)))
656 (synopsis "Initial setup wizard for GNOME desktop")
657 (description "This package provides a set-up wizard when a
658 user logs into GNOME for the first time. It typically provides a
659 tour of all gnome components and allows the user to set them up.")
660 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
661 (license license:gpl2)))
663 (define-public gnome-user-share
665 (name "gnome-user-share")
669 (uri (string-append "mirror://gnome/sources/" name "/"
670 (version-major+minor version) "/"
671 name "-" version ".tar.xz"))
674 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
675 (build-system meson-build-system)
680 ;; Enable nautilus extension for file sharing.
681 "-Dnautilus_extension=true")))
683 `(("gettext" ,gettext-minimal)
684 ("glib:bin" ,glib "bin")
685 ("gobject-introspection" ,gobject-introspection)
686 ("gtk+:bin" ,gtk+ "bin")
687 ("pkg-config" ,pkg-config)
688 ("yelp-tools" ,yelp-tools)))
691 ("gnome-bluetooth" ,gnome-bluetooth)
693 ("libcanberra" ,libcanberra)
694 ("libnotify" ,libnotify)
695 ("nautilus" ,nautilus))) ; For nautilus extension.
696 (synopsis "File sharing for GNOME desktop")
697 (description "GNOME User Share is a small package that binds together
698 various free software projects to bring easy to use user-level file
699 sharing to the masses.")
700 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
701 (license license:gpl2+)))
709 (uri (string-append "mirror://gnome/sources/" name "/"
710 (version-major+minor version) "/"
711 name "-" version ".tar.xz"))
714 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
715 (build-system meson-build-system)
719 (modify-phases %standard-phases
720 (add-after 'glib-or-gtk-wrap 'wrap-typelib
721 (lambda* (#:key outputs #:allow-other-keys)
722 (let ((prog (string-append (assoc-ref outputs "out")
724 ;; Put existing typelibs before sushi's deps, so as to correctly
727 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
730 `(("glib:bin" ,glib "bin")
731 ("gettext" ,gettext-minimal)
732 ("gobject-introspection" ,gobject-introspection)
733 ("pkg-config" ,pkg-config)))
735 `(("clutter" ,clutter)
736 ("clutter-gst" ,clutter-gst)
737 ("clutter-gtk" ,clutter-gtk)
738 ("evince" ,evince) ; For file previewing.
739 ("freetype" ,freetype)
740 ("gdk-pixbuf" ,gdk-pixbuf)
742 ("gst-plugins-base" ,gst-plugins-base)
743 ("gstreamer" ,gstreamer)
744 ("gtksourceview" ,gtksourceview-3)
745 ("harfbuzz" ,harfbuzz)
746 ("libepoxy" ,libepoxy)
747 ("libmusicbrainz" ,libmusicbrainz)
750 ("webkitgtk" ,webkitgtk)))
751 (synopsis "File previewer for the GNOME desktop")
752 (description "Sushi is a DBus-activated service that allows applications to
753 preview files on the GNOME desktop.")
754 (home-page "https://gitlab.gnome.org/GNOME/sushi")
755 (license license:gpl2+)))
763 (uri (string-append "mirror://gnome/sources/" name "/"
764 (version-major+minor version) "/"
765 name "-" version ".tar.xz"))
768 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
769 (build-system gnu-build-system)
771 `(("gettext" ,gettext-minimal)
772 ("gobject-introspection" ,gobject-introspection)
774 ("pkg-config" ,pkg-config)
777 `(("gdk-pixbuf" ,gdk-pixbuf)
779 ("gstreamer" ,gstreamer)
780 ("gst-plugins-base" ,gst-plugins-base)
783 ("gupnp-av" ,gupnp-av)
784 ("gupnp-dlna" ,gupnp-dlna)
786 ("libmediaart" ,libmediaart)
789 ("libunistring" ,libunistring)
790 ("tracker" ,tracker)))
791 (synopsis "Share audio, video, and pictures with other devices")
793 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
794 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
795 pictures, and to control a media player on your home network.
797 Rygel achieves interoperability with other devices by trying to conform to the
798 strict requirements of DLNA and by converting media on-the-fly to formats that
799 client devices can handle.")
800 (home-page "https://wiki.gnome.org/Projects/Rygel")
802 ;; For logo (data/icons/*).
807 (define-public libnma
813 (uri (string-append "mirror://gnome/sources/" name "/"
814 (version-major+minor version) "/"
815 name "-" version ".tar.xz"))
818 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
819 (build-system meson-build-system)
821 `(#:glib-or-gtk? #t))
823 `(("gettext" ,gettext-minimal)
824 ("glib:bin" ,glib "bin")
826 ("gobject-introspection" ,gobject-introspection)
827 ("pkg-config" ,pkg-config)))
829 `(("adwaita-icon-theme" ,adwaita-icon-theme)
832 ("iso-codes" ,iso-codes)
833 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
834 ("network-manager" ,network-manager)))
835 (synopsis "Network Manager's applet library")
836 (description "Libnma is an applet library for Network Manager. It was
837 initially part of network-manager-applet and has now become a separate
839 (home-page "https://gitlab.gnome.org/GNOME/libnma")
841 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
843 (license license:gpl2+)))
845 (define-public gnome-menus
851 (uri (string-append "mirror://gnome/sources/gnome-menus/"
852 (version-major+minor version) "/"
853 name "-" version ".tar.xz"))
856 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
857 (build-system gnu-build-system)
859 `(("gettext" ,gettext-minimal)
861 ("pkg-config" ,pkg-config)))
862 (synopsis "Menu support for GNOME desktop")
863 (description "GNOME Menus contains the libgnome-menu library, the layout
864 configuration files for the GNOME menu, as well as a simple menu editor.")
865 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
866 (license license:lgpl2.0+)))
868 (define-public deja-dup
874 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
877 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
879 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
880 (build-system glib-or-gtk-build-system)
882 `(#:modules ((guix build gnu-build-system)
883 ((guix build cmake-build-system) #:prefix cmake:)
884 (guix build glib-or-gtk-build-system)
886 #:imported-modules (,@%glib-or-gtk-build-system-modules
887 (guix build cmake-build-system))
889 #:configure-flags (list (string-append
890 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
892 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
894 (modify-phases %standard-phases
895 (add-after 'unpack 'patch-lockfile-deletion
897 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
901 (assoc-ref cmake:%standard-phases 'configure))
902 (delete 'check) ;; Fails due to issues with DBus
903 (add-after 'install 'wrap-deja-dup
904 (lambda* (#:key inputs outputs #:allow-other-keys)
905 (let ((python (assoc-ref inputs "python"))
906 (python-path (getenv "PYTHONPATH"))
907 (duplicity (assoc-ref inputs "duplicity"))
908 (out (assoc-ref outputs "out")))
911 (wrap-program program
912 `("PATH" ":" prefix (,(string-append python "/bin")
913 ,(string-append duplicity "/bin"))))
914 (wrap-program program
915 `("PYTHONPATH" ":" prefix (,python-path))))
917 (find-files (string-append out "/bin")))
920 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
921 ("gobject-introspection" ,gobject-introspection)
922 ("duplicity" ,duplicity)
924 ("python-pygobject" ,python2-pygobject)
926 ("libnotify" ,libnotify)
928 ("libsecret" ,libsecret)
929 ("packagekit" ,packagekit)))
931 `(("pkg-config" ,pkg-config)
933 ("gettext" ,gettext-minimal)
935 ("intltool" ,intltool)
936 ("cmake" ,cmake-minimal)))
937 (home-page "https://launchpad.net/deja-dup")
938 (synopsis "Simple backup tool, for regular encrypted backups")
940 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
941 uses duplicity as the backend, which supports incremental backups and storage
942 either on a local, or remote machine via a number of methods.")
943 (license license:gpl3+)))
945 (define-public gnome-user-docs
947 (name "gnome-user-docs")
952 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
953 (version-major+minor version)
954 "/gnome-user-docs-" version ".tar.xz"))
956 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
957 (build-system gnu-build-system)
959 `(("gettext" ,gettext-minimal)
961 ("pkg-config" ,pkg-config)
962 ("xmllint" ,libxml2)))
963 (synopsis "User documentation for the GNOME desktop")
965 "The GNOME User Documentation explains how to use the GNOME desktop and its
966 components. It covers usage and setup of the core GNOME programs by end-users
967 and system administrators.")
968 (home-page "https://live.gnome.org/DocumentationProject")
969 (license license:cc-by3.0)))
971 (define-public gnome-getting-started-docs
973 (name "gnome-getting-started-docs")
978 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
979 (version-major+minor version)
980 "/gnome-getting-started-docs-" version ".tar.xz"))
982 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
983 (build-system gnu-build-system)
985 `(("gettext" ,gettext-minimal)
987 ("pkg-config" ,pkg-config)
988 ("xmllint" ,libxml2)))
989 (synopsis "Help to get new users started with the GNOME desktop")
991 "The GNOME Getting Started Documentation contains GNOME's intuitive
992 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
994 It is normally used together with @command{gnome-initial-setup}, but is also
995 useful as a tutorial and users' guide for new or less experienced users.")
996 (home-page "https://live.gnome.org/DocumentationProject")
997 (license license:cc-by-sa3.0)))
1000 ;; This version from GNOME's repository includes fixes for compiling with
1001 ;; recent versions of the build tools. The latest activity on the
1002 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1004 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
1007 (version (git-version "0.97.3" "1" commit))
1011 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1013 (file-name (git-file-name name version))
1016 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
1017 (build-system gnu-build-system)
1019 `(("freetype" ,freetype)
1020 ("gdk-pixbuf" ,gdk-pixbuf)
1022 ("libart-lgpl" ,libart-lgpl)
1023 ("libxml2" ,libxml2)
1026 `(("autoconf" ,autoconf)
1027 ("automake" ,automake)
1028 ("intltool" ,intltool)
1029 ("glib" ,glib "bin")
1030 ("libtool" ,libtool)
1032 ("pkg-config" ,pkg-config)
1033 ("python-wrapper" ,python-wrapper)))
1034 (home-page "https://wiki.gnome.org/Apps/Dia")
1035 (synopsis "Diagram creation for GNOME")
1036 (description "Dia can be used to draw different types of diagrams, and
1037 includes support for UML static structure diagrams (class diagrams), entity
1038 relationship modeling, and network diagrams. The program supports various file
1039 formats like PNG, SVG, PDF and EPS.")
1040 (license license:gpl2+))))
1042 ;; This is the unstable release, but it is required for the current stable
1043 ;; release of gvfs (1.38.1).
1044 (define-public libgdata
1050 (uri (string-append "mirror://gnome/sources/" name "/"
1051 (version-major+minor version) "/"
1052 name "-" version ".tar.xz"))
1055 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1056 (build-system gnu-build-system)
1059 (modify-phases %standard-phases
1060 (add-before 'check 'disable-failing-tests
1062 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1063 ;; They have been removed in libgdata 0.17.6, so just do the same.
1064 (substitute* "gdata/tests/Makefile"
1065 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1068 `(("glib:bin" ,glib "bin")
1069 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1070 ("intltool" ,intltool)
1071 ("pkg-config" ,pkg-config)
1072 ("uhttpmock" ,uhttpmock)))
1074 `(("cyrus-sasl" ,cyrus-sasl)
1075 ("glib-networking" ,glib-networking)))
1079 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1080 ("json-glib" ,json-glib)
1081 ("liboauth" ,liboauth)
1082 ("libsoup" ,libsoup)
1083 ("libxml2" ,libxml2)))
1084 (home-page "https://wiki.gnome.org/Projects/libgdata")
1085 (synopsis "Library for accessing online service APIs")
1087 "libgdata is a GLib-based library for accessing online service APIs using
1088 the GData protocol — most notably, Google's services. It provides APIs to
1089 access the common Google services, and has full asynchronous support.")
1090 (license license:lgpl2.1+)))
1092 (define-public libgxps
1098 (uri (string-append "mirror://gnome/sources/" name "/"
1099 (version-major+minor version) "/"
1100 name "-" version ".tar.xz"))
1103 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1104 (build-system meson-build-system)
1106 `(("gobject-introspection" ,gobject-introspection)
1107 ("pkg-config" ,pkg-config)))
1110 ("libjpeg" ,libjpeg-turbo)
1112 ("libtiff" ,libtiff)))
1114 ;; In Requires of libgxps.pc.
1117 ("libarchive" ,libarchive)))
1118 (home-page "https://wiki.gnome.org/Projects/libgxps")
1119 (synopsis "GObject-based library for handling and rendering XPS documents")
1121 "libgxps is a GObject-based library for handling and rendering XPS
1122 documents. This package also contains binaries that can convert XPS documents
1124 (license license:lgpl2.1+)))
1126 (define-public gnome-characters
1128 (name "gnome-characters")
1133 (uri (string-append "mirror://gnome/sources/"
1134 "gnome-characters/" (version-major+minor version)
1135 "/gnome-characters-" version ".tar.xz"))
1138 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1139 (build-system meson-build-system)
1142 #:phases (modify-phases %standard-phases
1143 (add-after 'install 'wrap
1144 (lambda* (#:key outputs #:allow-other-keys)
1145 ;; GNOME Characters needs Typelib files from GTK and
1147 (wrap-program (string-append (assoc-ref outputs "out")
1148 "/bin/gnome-characters")
1149 `("GI_TYPELIB_PATH" ":" prefix
1150 (,(getenv "GI_TYPELIB_PATH"))))
1153 `(("gettext" ,gettext-minimal)
1154 ("glib:bin" ,glib "bin")
1155 ("gtk+:bin" ,gtk+ "bin")
1156 ("pkg-config" ,pkg-config)
1157 ("python" ,python-minimal)))
1161 ("libunistring" ,libunistring)
1162 ("gnome-desktop" ,gnome-desktop)))
1163 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1164 (synopsis "Find and insert unusual characters")
1165 (description "Characters is a simple utility application to find
1166 and insert unusual characters. It allows you to quickly find the
1167 character you are looking for by searching for keywords.")
1168 (license license:bsd-3)))
1170 (define-public gnome-common
1172 (name "gnome-common")
1177 (uri (string-append "mirror://gnome/sources/" name "/"
1178 (version-major+minor version) "/"
1179 name "-" version ".tar.xz"))
1182 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1183 (build-system gnu-build-system)
1184 (home-page "https://www.gnome.org/")
1185 (synopsis "Bootstrap GNOME modules built from Git")
1186 (description "gnome-common contains various files needed to bootstrap
1187 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1188 can be used to configure a source directory checked out from Git and some
1189 commonly used macros.")
1190 (license license:gpl2+)))
1192 (define-public gnome-contacts
1194 (name "gnome-contacts")
1198 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1199 (version-major+minor version) "/"
1200 name "-" version ".tar.xz"))
1203 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1204 (build-system meson-build-system)
1206 `(#:configure-flags '("-Dcheese=false")
1208 (modify-phases %standard-phases
1209 (add-after 'unpack 'generate-vapis
1210 (lambda* (#:key inputs #:allow-other-keys)
1211 ;; To generate goa's missing .vapi file
1213 (assoc-ref inputs "gnome-online-accounts:lib"))
1215 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1217 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1219 (add-after 'unpack 'skip-gtk-update-icon-cache
1220 ;; Don't create 'icon-theme.cache'.
1222 (substitute* "build-aux/meson_post_install.py"
1223 (("gtk-update-icon-cache") "true"))
1226 `(("glib:bin" ,glib "bin")
1227 ("pkg-config" ,pkg-config)))
1229 `(("docbook-xml" ,docbook-xml)
1230 ("dockbook-xsl" ,docbook-xsl)
1231 ("evolution-data-server" ,evolution-data-server)
1232 ("gettext" ,gettext-minimal)
1233 ("gnome-desktop" ,gnome-desktop)
1234 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1235 ("gobject-introspection" ,gobject-introspection)
1236 ("gst-plugins-base" ,gst-plugins-base)
1239 ("libxslt" ,libxslt)
1240 ("telepathy-glib" ,telepathy-glib)
1244 ("telepathy-mission-control" ,telepathy-mission-control)))
1245 (synopsis "GNOME's integrated address book")
1247 "GNOME Contacts organizes your contact information from online and
1248 offline sources, providing a centralized place for managing your contacts.")
1249 (home-page "https://wiki.gnome.org/Apps/Contacts")
1250 (license license:gpl2+)))
1252 (define-public gnome-desktop
1254 (name "gnome-desktop")
1259 (uri (string-append "mirror://gnome/sources/" name "/"
1260 (version-major+minor version) "/"
1261 name "-" version ".tar.xz"))
1264 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1265 (build-system meson-build-system)
1268 (modify-phases %standard-phases
1269 (add-before 'configure 'patch-path
1270 (lambda* (#:key inputs #:allow-other-keys)
1271 (let ((libc (assoc-ref inputs "libc")))
1272 (substitute* "libgnome-desktop/gnome-languages.c"
1274 (string-append "\"" libc "/bin/locale\"")))
1276 (add-before 'check 'pre-check
1277 (lambda* (#:key inputs #:allow-other-keys)
1278 ;; Tests require a running X server and locales.
1279 (system "Xvfb :1 &")
1280 (setenv "DISPLAY" ":1")
1281 (setenv "GUIX_LOCPATH"
1282 (string-append (assoc-ref inputs "glibc-locales")
1286 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1287 ("glibc-locales" ,glibc-locales) ; for tests
1288 ("gobject-introspection" ,gobject-introspection)
1289 ("itstool" ,itstool)
1290 ("intltool" ,intltool)
1291 ("pkg-config" ,pkg-config)
1292 ("xmllint" ,libxml2)
1293 ("xorg-server" ,xorg-server-for-tests)))
1295 ;; Required by gnome-desktop-3.0.pc.
1296 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1298 ("iso-codes" ,iso-codes)
1299 ("libseccomp" ,libseccomp)
1301 ("xkeyboard-config" ,xkeyboard-config)))
1303 `(("gdk-pixbuf" ,gdk-pixbuf)
1305 ("libxext" ,libxext)
1306 ("libxkbfile" ,libxkbfile)
1307 ("libxrandr" ,libxrandr)))
1308 (home-page "https://www.gnome.org/")
1310 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1312 "The libgnome-desktop library provides API shared by several applications
1313 on the desktop, but that cannot live in the platform for various reasons.
1314 There is no API or ABI guarantee, although we are doing our best to provide
1315 stability. Documentation for the API is available with gtk-doc.
1317 The gnome-about program helps find which version of GNOME is installed.")
1318 ; Some bits under the LGPL.
1319 (license license:gpl2+)))
1321 (define-public gnome-doc-utils
1323 (name "gnome-doc-utils")
1328 (uri (string-append "mirror://gnome/sources/" name "/"
1329 (version-major+minor version) "/"
1330 name "-" version ".tar.xz"))
1333 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1334 (build-system gnu-build-system)
1336 `(("intltool" ,intltool)
1337 ("docbook-xml" ,docbook-xml-4.4)
1338 ("python2-libxml2" ,python2-libxml2)
1339 ("libxml2" ,libxml2)
1340 ("libxslt" ,libxslt)
1341 ("pkg-config" ,pkg-config)
1342 ("python-2" ,python-2)))
1343 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1345 "Documentation utilities for the Gnome project")
1347 "Gnome-doc-utils is a collection of documentation utilities for the
1348 Gnome project. It includes xml2po tool which makes it easier to translate
1349 and keep up to date translations of documentation.")
1350 (license license:gpl2+))) ; xslt under lgpl
1352 (define-public gnome-disk-utility
1354 (name "gnome-disk-utility")
1358 (uri (string-append "mirror://gnome/sources/" name "/"
1359 (version-major+minor version) "/"
1360 name "-" version ".tar.xz"))
1363 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1364 (build-system meson-build-system)
1366 '(#:configure-flags '("-Dlogind=libelogind")
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)))
1384 `(("elogind" ,elogind)
1386 ("appstream-glib" ,appstream-glib)
1387 ("gnome-settings-daemon" ,gnome-settings-daemon)
1389 ("libcanberra" ,libcanberra)
1390 ("libdvdread" ,libdvdread)
1391 ("libnotify" ,libnotify)
1392 ("libpwquality" ,libpwquality)
1393 ("libsecret" ,libsecret)
1394 ("udisks" ,udisks)))
1395 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1396 (synopsis "Disk management utility for GNOME")
1397 (description "Disk management utility for GNOME.")
1398 (license license:gpl2+)))
1400 (define-public gnome-font-viewer
1402 (name "gnome-font-viewer")
1406 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1407 (version-major+minor version)
1408 "/gnome-font-viewer-" version ".tar.xz"))
1411 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1412 (build-system meson-build-system)
1415 (modify-phases %standard-phases
1416 (add-after 'unpack 'patch-post-install-script
1418 (substitute* "meson-postinstall.sh"
1419 (("update-desktop-database") (which "true")))
1422 `(("gettext" ,gettext-minimal)
1423 ("glib:bin" ,glib "bin")
1424 ("pkg-config" ,pkg-config)))
1427 ("gnome-desktop" ,gnome-desktop)
1429 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1430 (synopsis "GNOME Fonts")
1431 (description "Application to show you the fonts installed on your computer
1432 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1433 the font would look under various sizes.")
1434 (license license:gpl2+)))
1442 (uri (string-append "mirror://gnome/sources/" name "/"
1443 (version-major+minor version) "/"
1444 name "-" version ".tar.xz"))
1447 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1448 (build-system gnu-build-system)
1451 (modify-phases %standard-phases
1452 ;; These fail because /var/lib/dbus/machine-id is not present in the
1453 ;; build environment.
1454 (add-after 'unpack 'disable-failing-tests
1456 (substitute* "Makefile.in"
1457 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1460 (add-before 'check 'pre-check
1462 ;; Some tests expect to write to $HOME.
1463 (setenv "HOME" "/tmp")
1467 ("gnupg" ,gnupg) ;called as a child process during tests
1468 ("libgcrypt" ,libgcrypt)))
1470 `(("python" ,python-wrapper) ;for tests
1471 ("pkg-config" ,pkg-config)
1472 ("gettext" ,gettext-minimal)
1473 ("glib" ,glib "bin")
1474 ("gobject-introspection" ,gobject-introspection)
1475 ("libxml2" ,libxml2)
1477 ("xsltproc" ,libxslt)))
1478 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1480 `(("p11-kit" ,p11-kit)
1483 (home-page "https://www.gnome.org")
1484 (synopsis "Libraries for displaying certificates and accessing key stores")
1486 "The GCR package contains libraries used for displaying certificates and
1487 accessing key stores. It also provides the viewer for crypto files on the
1489 (license license:lgpl2.1+)))
1491 (define-public libgnome-keyring
1493 (name "libgnome-keyring")
1497 (uri (string-append "mirror://gnome/sources/" name "/"
1498 (version-major+minor version) "/"
1499 name "-" version ".tar.xz"))
1502 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1503 (build-system gnu-build-system)
1505 `(("libgcrypt" ,libgcrypt)
1508 `(("pkg-config" ,pkg-config)
1509 ("glib" ,glib "bin")
1510 ("intltool" ,intltool)))
1512 ;; Referred to in .h files and .pc.
1514 (home-page "https://www.gnome.org")
1515 (synopsis "Accessing passwords from the GNOME keyring")
1517 "Client library to access passwords from the GNOME keyring.")
1519 ;; Though a couple of files are LGPLv2.1+.
1520 (license license:lgpl2.0+)))
1522 (define-public gnome-keyring
1524 (name "gnome-keyring")
1528 (uri (string-append "mirror://gnome/sources/" name "/"
1529 (version-major+minor version) "/"
1530 name "-" version ".tar.xz"))
1533 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1534 (build-system gnu-build-system)
1536 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1540 (string-append "--with-pkcs11-config="
1541 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1542 (string-append "--with-pkcs11-modules="
1543 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1545 (modify-phases %standard-phases
1546 (add-after 'unpack 'fix-/bin/sh-reference
1548 (substitute* "po/Makefile.in.in"
1549 (("/bin/sh") (which "sh")))
1551 (add-after 'unpack 'fix-docbook
1552 (lambda* (#:key inputs #:allow-other-keys)
1553 (substitute* "docs/Makefile.am"
1554 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1555 (string-append (assoc-ref inputs "docbook-xsl")
1556 "/xml/xsl/docbook-xsl-"
1557 ,(package-version docbook-xsl)
1558 "/manpages/docbook.xsl")))
1559 (setenv "XML_CATALOG_FILES"
1560 (string-append (assoc-ref inputs "docbook-xml")
1561 "/xml/dtd/docbook/catalog.xml"))
1562 ;; Rerun the whole thing to avoid version mismatch ("This is
1563 ;; Automake 1.15.1, but the definition used by this
1564 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1565 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1568 (invoke "automake" "-ac"))))))
1570 `(("libgcrypt" ,libgcrypt)
1571 ("linux-pam" ,linux-pam)
1572 ("openssh" ,openssh)
1576 `(("pkg-config" ,pkg-config)
1577 ("glib" ,glib "bin")
1578 ("glib" ,glib) ; for m4 macros
1579 ("python" ,python-2) ;for tests
1580 ("intltool" ,intltool)
1581 ("autoconf" ,autoconf)
1582 ("automake" ,automake)
1583 ("libxslt" ,libxslt) ;for documentation
1584 ("docbook-xml" ,docbook-xml-4.2)
1585 ("docbook-xsl" ,docbook-xsl)))
1586 (home-page "https://www.gnome.org")
1587 (synopsis "Daemon to store passwords and encryption keys")
1589 "gnome-keyring is a program that keeps passwords and other secrets for
1590 users. It is run as a daemon in the session, similar to ssh-agent, and other
1591 applications locate it via an environment variable or D-Bus.
1593 The program can manage several keyrings, each with its own master password,
1594 and there is also a session keyring which is never stored to disk, but
1595 forgotten when the session ends.")
1596 (license license:lgpl2.1+)))
1598 (define-public evince
1604 (uri (string-append "mirror://gnome/sources/evince/"
1605 (version-major+minor version) "/"
1606 "evince-" version ".tar.xz"))
1609 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1610 (build-system glib-or-gtk-build-system)
1612 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1614 (modify-phases %standard-phases
1615 (add-before 'install 'skip-gtk-update-icon-cache
1616 ;; Don't create 'icon-theme.cache'.
1618 (substitute* "data/Makefile"
1619 (("gtk-update-icon-cache") "true"))
1622 `(("libarchive" ,libarchive)
1623 ("libgxps" ,libgxps)
1624 ("libspectre" ,libspectre)
1625 ("djvulibre" ,djvulibre)
1626 ("ghostscript" ,ghostscript)
1627 ("poppler" ,poppler)
1628 ("libtiff" ,libtiff)
1630 ;; Build libkpathsea as a shared library for DVI support.
1631 ;; ("libkpathsea" ,texlive-bin)
1632 ("gnome-desktop" ,gnome-desktop)
1633 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1635 ("libgnome-keyring" ,libgnome-keyring)
1636 ("adwaita-icon-theme" ,adwaita-icon-theme)
1637 ("gdk-pixbuf" ,gdk-pixbuf)
1642 ("libxml2" ,libxml2)
1645 ("shared-mime-info" ,shared-mime-info)
1647 ("libcanberra" ,libcanberra)
1648 ("libsecret" ,libsecret)
1651 ("dogtail" ,python2-dogtail)))
1653 `(("itstool" ,itstool)
1654 ("intltool" ,intltool)
1655 ("glib" ,glib "bin")
1656 ("gobject-introspection" ,gobject-introspection)
1657 ("pkg-config" ,pkg-config)
1658 ("xmllint" ,libxml2)))
1660 "https://www.gnome.org/projects/evince/")
1661 (synopsis "GNOME's document viewer")
1663 "Evince is a document viewer for multiple document formats. It
1664 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1665 of Evince is to replace the multiple document viewers that exist
1666 on the GNOME Desktop with a single simple application.")
1667 (license license:gpl2+)))
1669 (define-public gsettings-desktop-schemas
1671 (name "gsettings-desktop-schemas")
1676 (uri (string-append "mirror://gnome/sources/" name "/"
1677 (version-major+minor version) "/"
1678 name "-" version ".tar.xz"))
1681 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1682 (build-system meson-build-system)
1684 '(#:phases (modify-phases %standard-phases
1685 (add-after 'unpack 'patch-schemas
1686 (lambda* (#:key inputs #:allow-other-keys)
1687 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1688 (substitute* (find-files "schemas"
1689 "\\.gschema\\.xml\\.in$")
1690 ;; Provide the correct file name of the default GNOME
1691 ;; background, 'adwaita-timed.xml'.
1692 (("@datadir@/backgrounds/gnome")
1693 (string-append theme "/share/backgrounds/gnome"))
1694 ;; Do not reference fonts, that may not exist.
1695 (("'Source Code Pro 10'") "'Monospace 11'"))
1699 ("gnome-backgrounds" ,gnome-backgrounds)))
1701 `(("intltool" ,intltool)
1702 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1703 ("gobject-introspection" ,gobject-introspection)
1704 ("pkg-config" ,pkg-config)))
1705 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1707 "GNOME settings for various desktop components")
1709 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1710 for settings shared by various components of the GNOME desktop.")
1711 (license license:lgpl2.1+)))
1713 (define-public icon-naming-utils
1715 (name "icon-naming-utils")
1720 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1721 version ".tar.bz2"))
1724 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1725 (build-system gnu-build-system)
1728 ("perl-xml-simple" ,perl-xml-simple)))
1731 (modify-phases %standard-phases
1732 (add-after 'install 'set-load-paths
1733 ;; Tell 'icon-name-mapping' where XML::Simple is.
1734 (lambda* (#:key outputs #:allow-other-keys)
1735 (let* ((out (assoc-ref outputs "out"))
1736 (prog (string-append out "/libexec/icon-name-mapping")))
1739 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1741 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1743 "Utility to implement the Freedesktop Icon Naming Specification")
1745 "To help with the transition to the Freedesktop Icon Naming
1746 Specification, the icon naming utility maps the icon names used by the
1747 GNOME and KDE desktops to the icon names proposed in the specification.")
1748 (license license:lgpl2.1+)))
1750 (define-public gnome-icon-theme
1752 (name "gnome-icon-theme")
1757 (uri (string-append "mirror://gnome/sources/" name "/"
1758 (version-major+minor version) "/"
1759 name "-" version ".tar.xz"))
1762 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1763 (build-system gnu-build-system)
1766 ;; Don't create 'icon-theme.cache'.
1767 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1768 (true (string-append coreutils "/bin/true")))
1769 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1771 `(("icon-naming-utils" ,icon-naming-utils)
1772 ("intltool" ,intltool)
1773 ("pkg-config" ,pkg-config)))
1774 (home-page "https://wiki.gnome.org/Personalization")
1775 (synopsis "GNOME icon theme")
1776 (description "Icons for the GNOME desktop.")
1777 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1779 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1780 (define-public adwaita-icon-theme
1781 (package (inherit gnome-icon-theme)
1782 (name "adwaita-icon-theme")
1786 (uri (string-append "mirror://gnome/sources/" name "/"
1787 (version-major+minor version) "/"
1788 name "-" version ".tar.xz"))
1791 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1793 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1795 (define-public tango-icon-theme
1797 (name "tango-icon-theme")
1801 (uri (string-append "http://tango.freedesktop.org/releases/"
1802 "tango-icon-theme-" version ".tar.bz2"))
1805 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1806 (build-system gnu-build-system)
1808 `(("icon-naming-utils" ,icon-naming-utils)
1809 ("intltool" ,intltool)
1810 ("imagemagick" ,imagemagick)
1811 ("pkg-config" ,pkg-config)))
1812 (home-page "http://tango-project.org/")
1813 (synopsis "Tango icon theme")
1814 (description "This is an icon theme that follows the Tango visual
1816 (license license:public-domain)))
1818 (define-public shared-mime-info
1820 (name "shared-mime-info")
1825 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1826 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1830 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1831 (build-system gnu-build-system)
1833 ;; The build system appears not to be parallel-safe.
1834 '(#:parallel-build? #f))
1837 ("libxml2" ,libxml2)))
1839 `(("gettext" ,gettext-minimal)
1840 ("itstool" ,itstool)
1841 ("pkg-config" ,pkg-config)))
1842 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1843 (synopsis "Database of common MIME types")
1845 "The shared-mime-info package contains the core database of common types
1846 and the update-mime-database command used to extend it. It requires glib2 to
1847 be installed for building the update command. Additionally, it uses intltool
1848 for translations, though this is only a dependency for the maintainers. This
1849 database is translated at Transifex.")
1850 (license license:gpl2+)))
1852 (define-public system-config-printer
1854 (name "system-config-printer")
1860 "https://github.com/OpenPrinting/system-config-printer/releases/"
1862 "/system-config-printer-" version ".tar.xz"))
1864 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1865 (build-system glib-or-gtk-build-system)
1867 `(#:imported-modules ((guix build python-build-system)
1868 ,@%glib-or-gtk-build-system-modules)
1870 (modify-phases %standard-phases
1871 (add-after 'unpack 'patch-Makefile.am
1873 ;; The Makefile generates some scripts, so set a valid shebang
1874 (substitute* "Makefile.am"
1875 (("/bin/bash") (which "bash")))
1876 (delete-file "configure")
1878 (add-after 'unpack 'patch-docbook-xml
1879 (lambda* (#:key inputs #:allow-other-keys)
1880 ;; Modify the man XML otherwise xmlto tries to access the network
1881 (substitute* "man/system-config-printer.xml"
1882 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1883 (string-append (assoc-ref inputs "docbook-xml")
1884 "/xml/dtd/docbook/")))
1886 (add-after 'install 'wrap-for-python
1887 (@@ (guix build python-build-system) wrap))
1888 (add-after 'install 'wrap
1889 (lambda* (#:key outputs #:allow-other-keys)
1890 (let ((out (assoc-ref outputs "out"))
1891 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1894 (wrap-program program
1895 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1897 (string-append out "/bin/" name))
1898 '("system-config-printer"
1899 "system-config-printer-applet"
1900 "install-printerdriver"
1901 "scp-dbus-service"))))
1904 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1905 ("gobject-introspection" ,gobject-introspection)
1908 ("python-dbus" ,python-dbus)
1909 ("python-pygobject" ,python-pygobject)
1910 ("python-pycups" ,python-pycups)
1911 ("python-requests" ,python-requests)
1912 ("python-pycairo" ,python-pycairo)
1913 ("libnotify" ,libnotify)
1914 ("packagekit" ,packagekit)))
1916 `(("pkg-config" ,pkg-config)
1917 ("desktop-file-utils" ,desktop-file-utils)
1919 ("autoconf" ,autoconf)
1920 ("automake" ,automake)
1921 ("intltool" ,intltool)
1923 ("docbook-xml" ,docbook-xml-4.1.2)
1924 ("docbook-xsl" ,docbook-xsl)
1925 ("libxml2" ,libxml2)))
1926 (home-page "https://github.com/zdohnal/system-config-printer")
1927 (synopsis "CUPS administration tool")
1929 "system-config-printer is a CUPS administration tool. It's written in
1930 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1932 (license license:gpl2+)))
1934 (define-public hicolor-icon-theme
1936 (name "hicolor-icon-theme")
1941 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1942 "hicolor-icon-theme-" version ".tar.xz"))
1945 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1946 (build-system gnu-build-system)
1948 `(#:tests? #f)) ; no check target
1949 (home-page "https://icon-theme.freedesktop.org/releases/")
1951 "Freedesktop icon theme")
1953 "Freedesktop icon theme.")
1954 (license license:gpl2)))
1956 (define-public libnotify
1963 (uri (string-append "mirror://gnome/sources/" name "/"
1964 (version-major+minor version) "/"
1965 name "-" version ".tar.xz"))
1968 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1969 (build-system gnu-build-system)
1971 `(#:configure-flags '("--disable-static")))
1973 `(;; In Requires of libnotify.pc.
1974 ("gdk-pixbuf" ,gdk-pixbuf)
1978 ("libpng" ,libpng)))
1980 `(("pkg-config" ,pkg-config)
1981 ("glib" ,glib "bin")
1982 ("gobject-introspection" ,gobject-introspection)))
1983 (home-page "https://developer-next.gnome.org/libnotify/")
1985 "GNOME desktop notification library")
1987 "Libnotify is a library that sends desktop notifications to a
1988 notification daemon, as defined in the Desktop Notifications spec. These
1989 notifications can be used to inform the user about an event or display
1990 some form of information without getting in the user's way.")
1991 (license license:lgpl2.1+)))
1993 (define-public libpeas
2000 (uri (string-append "mirror://gnome/sources/" name "/"
2001 (version-major+minor version) "/"
2002 name "-" version ".tar.xz"))
2005 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2006 (build-system meson-build-system)
2009 (modify-phases %standard-phases
2010 (add-before 'check 'start-xserver
2011 (lambda* (#:key inputs #:allow-other-keys)
2012 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2014 (setenv "DISPLAY" disp)
2015 ;; Tests require a running X server.
2016 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2022 ("python-pygobject" ,python-pygobject)))
2024 `(("pkg-config" ,pkg-config)
2025 ("gettext" ,gettext-minimal)
2026 ("glib:bin" ,glib "bin")
2027 ("gobject-introspection" ,gobject-introspection)
2028 ("xorg-server" ,xorg-server-for-tests)))
2030 ;; The .pc file "Requires" gobject-introspection.
2031 `(("gobject-introspection" ,gobject-introspection)))
2032 (home-page "https://wiki.gnome.org/Libpeas")
2033 (synopsis "GObject plugin system")
2035 "Libpeas is a gobject-based plugin engine, targeted at giving every
2036 application the chance to assume its own extensibility. It also has a set of
2037 features including, but not limited to: multiple extension points; on-demand
2038 (lazy) programming language support for C, Python and JS; simplicity of the
2040 (license license:lgpl2.0+)))
2042 (define-public gtkglext
2048 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2049 version "/gtkglext-" version ".tar.gz"))
2051 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2052 (patches (search-patches
2053 "gtkglext-disable-disable-deprecated.patch"))))
2054 (build-system gnu-build-system)
2057 (modify-phases %standard-phases
2058 ;; Fix a collision between a local variable and a definition from
2059 ;; glibc's string.h.
2060 (add-after 'unpack 'fix-collision
2062 (substitute* "gdk/gdkglshapes.c"
2063 ((" index") " triangle_index"))
2065 (inputs `(("gtk+" ,gtk+-2)
2070 (native-inputs `(("pkg-config" ,pkg-config)
2071 ("glib" ,glib "bin")))
2072 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2073 (home-page "https://projects.gnome.org/gtkglext")
2074 (synopsis "OpenGL extension to GTK+")
2075 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2076 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2077 API add-ons to make GTK+ widgets OpenGL-capable.")
2078 (license license:lgpl2.1+)))
2080 (define-public glade3
2086 (uri (string-append "mirror://gnome/sources/" name "/"
2087 (version-major+minor version) "/"
2088 name "-" version ".tar.xz"))
2091 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2092 (build-system glib-or-gtk-build-system)
2094 `(#:tests? #f ; needs X, GL, and software rendering
2096 (modify-phases %standard-phases
2097 (add-before 'configure 'fix-docbook
2098 (lambda* (#:key inputs #:allow-other-keys)
2099 (substitute* "man/Makefile.in"
2100 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2101 (string-append (assoc-ref inputs "docbook-xsl")
2102 "/xml/xsl/docbook-xsl-"
2103 ,(package-version docbook-xsl)
2104 "/manpages/docbook.xsl")))
2108 ("libxml2" ,libxml2)))
2110 `(("intltool" ,intltool)
2111 ("itstool" ,itstool)
2112 ("libxslt" ,libxslt) ;for xsltproc
2113 ("docbook-xml" ,docbook-xml-4.2)
2114 ("docbook-xsl" ,docbook-xsl)
2115 ("python" ,python-2)
2116 ("pkg-config" ,pkg-config)))
2117 (home-page "https://glade.gnome.org")
2118 (synopsis "GTK+ rapid application development tool")
2119 (description "Glade is a rapid application development (RAD) tool to
2120 enable quick & easy development of user interfaces for the GTK+ toolkit and
2121 the GNOME desktop environment.")
2122 (license license:lgpl2.0+)))
2124 (define-public libcroco
2130 (uri (string-append "mirror://gnome/sources/" name "/"
2131 (version-major+minor version) "/"
2132 name "-" version ".tar.xz"))
2135 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2136 (build-system gnu-build-system)
2138 `(("pkg-config" ,pkg-config)))
2141 ("libxml2" ,libxml2)
2143 (home-page "https://github.com/GNOME/libcroco")
2144 (synopsis "CSS2 parsing and manipulation library")
2146 "Libcroco is a standalone CSS2 parsing and manipulation library.
2147 The parser provides a low level event driven SAC-like API and a CSS object
2148 model like API. Libcroco provides a CSS2 selection engine and an experimental
2149 XML/CSS rendering engine.")
2152 (license license:lgpl2.1)))
2154 (define-public libgsf
2160 (uri (string-append "mirror://gnome/sources/" name "/"
2161 (version-major+minor version) "/"
2162 name "-" version ".tar.xz"))
2165 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2166 (build-system gnu-build-system)
2168 '(#:configure-flags '("--disable-static")))
2170 `(("pkg-config" ,pkg-config)
2171 ("gettext" ,gettext-minimal)
2175 ("perl-xml-parser" ,perl-xml-parser)))
2180 `(("gdk-pixbuf" ,gdk-pixbuf)
2182 ("libxml2" ,libxml2)))
2183 (home-page "https://www.gnome.org/projects/libgsf")
2184 (synopsis "GNOME's Structured File Library")
2186 "Libgsf aims to provide an efficient extensible I/O abstraction for
2187 dealing with different structured file formats.")
2190 (license license:lgpl2.1)))
2192 (define-public librsvg
2198 (uri (string-append "mirror://gnome/sources/" name "/"
2199 (version-major+minor version) "/"
2200 name "-" version ".tar.xz"))
2203 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2204 (build-system gnu-build-system)
2207 (list "--disable-static"
2208 "--enable-vala") ; needed for e.g. gnome-mines
2210 (modify-phases %standard-phases
2211 (add-before 'configure 'pre-configure
2212 (lambda* (#:key inputs #:allow-other-keys)
2213 (substitute* "gdk-pixbuf-loader/Makefile.in"
2214 ;; By default the gdk-pixbuf loader is installed under
2215 ;; gdk-pixbuf's prefix. Work around that.
2216 (("gdk_pixbuf_moduledir = .*$")
2217 (string-append "gdk_pixbuf_moduledir = "
2218 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2220 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2221 (("gdk_pixbuf_cache_file = .*$")
2222 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2224 (add-before 'check 'remove-failing-tests
2226 (with-directory-excursion "tests/fixtures/reftests"
2227 (for-each delete-file
2228 '(;; This test fails on i686:
2229 "svg1.1/masking-path-04-b.svg"
2230 ;; This test fails on armhf:
2231 "svg1.1/masking-mask-01-b.svg"
2232 ;; This test fails on aarch64:
2233 "bugs/777834-empty-text-children.svg")))
2236 `(("pkg-config" ,pkg-config)
2238 ("glib" ,glib "bin") ; glib-mkenums, etc.
2239 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2241 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2242 ;; this ancient version of librsvg.
2243 ("pango" ,pango-1.42)
2244 ("libcroco" ,libcroco)
2247 ("libxml2" ,libxml2)))
2249 ;; librsvg-2.0.pc refers to all of that.
2251 ("gdk-pixbuf" ,gdk-pixbuf)
2253 (home-page "https://wiki.gnome.org/LibRsvg")
2254 (synopsis "Render SVG files using Cairo")
2256 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2258 (license license:lgpl2.0+)))
2260 (define-public librsvg-next
2267 (uri (string-append "mirror://gnome/sources/librsvg/"
2268 (version-major+minor version) "/"
2269 "librsvg-" version ".tar.xz"))
2272 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2273 (modules '((guix build utils)))
2275 '(begin (delete-file-recursively "vendor")
2276 ;; Don't demand an exact version for string_cache
2277 (substitute* "rsvg_internals/Cargo.toml"
2280 (build-system cargo-build-system)
2282 `(#:modules ((guix build cargo-build-system)
2284 ((guix build gnu-build-system) #:prefix gnu:))
2285 #:vendor-dir "vendor"
2287 (("rust-bitflags" ,rust-bitflags-1)
2288 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2289 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2290 ("rust-cssparser" ,rust-cssparser-0.25)
2291 ("rust-data-url" ,rust-data-url-0.1)
2292 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2293 ("rust-encoding" ,rust-encoding-0.2)
2294 ("rust-float-cmp" ,rust-float-cmp-0.5)
2295 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2296 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2297 ("rust-gio" ,rust-gio-0.7)
2298 ("rust-gio-sys" ,rust-gio-sys-0.9)
2299 ("rust-glib" ,rust-glib-0.8)
2300 ("rust-glib-sys" ,rust-glib-sys-0.9)
2301 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2302 ("rust-itertools" ,rust-itertools-0.8)
2303 ("rust-language-tags" ,rust-language-tags-0.2)
2304 ("rust-lazy-static" ,rust-lazy-static-1)
2305 ("rust-libc" ,rust-libc-0.2)
2306 ("rust-locale-config" ,rust-locale-config-0.3)
2307 ("rust-markup5ever" ,rust-markup5ever-0.9)
2308 ("rust-nalgebra" ,rust-nalgebra-0.18)
2309 ("rust-num-traits" ,rust-num-traits-0.2)
2310 ("rust-pkg-config" ,rust-pkg-config-0.3)
2311 ("rust-pango" ,rust-pango-0.7)
2312 ("rust-pango-sys" ,rust-pango-sys-0.9)
2313 ("rust-pangocairo" ,rust-pangocairo-0.8)
2314 ("rust-phf" ,rust-phf-0.7)
2315 ("rust-rayon" ,rust-rayon-1.3)
2316 ("rust-rctree" ,rust-rctree-0.3)
2317 ("rust-string-cache" ,rust-string-cache-0.7)
2318 ("rust-regex" ,rust-regex-1.3)
2319 ("rust-url" ,rust-url-2.1)
2320 ("rust-xml-rs" ,rust-xml-rs-0.8))
2321 #:cargo-development-inputs
2322 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2323 ("rust-criterion" ,rust-criterion-0.2))
2325 (modify-phases %standard-phases
2326 (add-after 'unpack 'prepare-for-build
2328 ;; In lieu of #:make-flags
2330 ;; Something about the build environment resists building
2331 ;; successfully with the '--locked' flag.
2332 (substitute* '("Makefile.am"
2336 (add-before 'configure 'pre-configure
2338 (substitute* "gdk-pixbuf-loader/Makefile.in"
2339 ;; By default the gdk-pixbuf loader is installed under
2340 ;; gdk-pixbuf's prefix. Work around that.
2341 (("gdk_pixbuf_moduledir = .*$")
2342 (string-append "gdk_pixbuf_moduledir = "
2343 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2345 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2346 (("gdk_pixbuf_cache_file = .*$")
2347 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2349 (add-after 'configure 'gnu-configure
2350 (assoc-ref gnu:%standard-phases 'configure))
2351 ;(lambda* (#:key outputs #:allow-other-keys)
2352 ; ((assoc-ref gnu:%standard-phases 'configure)
2354 ; #:configure-flags ("--disable-static"
2355 ; "--enable-vala"))))
2356 (add-after 'configure 'dont-vendor-self
2357 (lambda* (#:key vendor-dir #:allow-other-keys)
2358 ;; Don't keep the whole tarball in the vendor directory
2359 (delete-file-recursively
2360 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2363 (assoc-ref gnu:%standard-phases 'build))
2366 ((assoc-ref gnu:%standard-phases 'check)
2367 #:test-target "check")))
2369 (assoc-ref gnu:%standard-phases 'install))
2370 (add-before 'check 'remove-failing-tests
2372 (with-directory-excursion "tests/fixtures/reftests"
2373 (for-each delete-file
2374 '(;; The images produced by these tests differ slightly
2375 ;; from their reference counterparts due to differences
2376 ;; in the build environment (missing fonts, etc). See
2377 ;; <tests/README.md> for details.
2378 ;; These fail on x86_64.
2379 "svg1.1/coords-viewattr-02-b.svg"
2380 "svg1.1/filters-composite-04-f.svg"
2381 "svg1.1/filters-image-01-b.svg"
2382 "svg1.1/filters-conv-02-f.svg"
2383 "svg1.1/filters-conv-04-f.svg"
2384 ;; This test fails on i686:
2385 "svg1.1/masking-path-04-b.svg"
2386 ;; This test fails on armhf:
2387 "svg1.1/masking-mask-01-b.svg"
2388 ;; This test fails on aarch64:
2389 "bugs/777834-empty-text-children.svg")))
2391 (license license:lgpl2.1+)))
2393 (define-public libidl
2399 (uri (string-append "mirror://gnome/sources/libIDL/"
2400 (version-major+minor version) "/"
2401 "libIDL-" version ".tar.bz2"))
2404 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2405 (build-system gnu-build-system)
2406 (inputs `(("glib" ,glib)))
2408 `(("pkg-config" ,pkg-config)
2411 (home-page "http://freecode.com/projects/libidl")
2412 (synopsis "Create trees of CORBA Interface Definition Language files")
2413 (description "Libidl is a library for creating trees of CORBA Interface
2414 Definition Language (idl) files, which is a specification for defining
2415 portable interfaces. libidl was initially written for orbit (the orb from the
2416 GNOME project, and the primary means of libidl distribution). However, the
2417 functionality was designed to be as reusable and portable as possible.")
2418 (properties `((upstream-name . "libIDL")))
2419 (license license:lgpl2.0+)))
2422 (define-public orbit2
2428 (uri (let ((upstream-name "ORBit2"))
2429 (string-append "mirror://gnome/sources/" upstream-name "/"
2430 (version-major+minor version) "/"
2431 upstream-name "-" version ".tar.bz2")))
2434 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2435 (build-system gnu-build-system)
2437 `(;; The "timeout-server" test hangs when run in parallel.
2438 #:parallel-tests? #f
2440 '(;; We don't need static libraries, plus they don't build reproducibly
2441 ;; (non-deterministic ordering of .o files in the archive.)
2444 ;; The programmer kindly gives us a hook to turn off deprecation
2446 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2447 ;; ... which they then completly ignore !!
2449 (modify-phases %standard-phases
2450 (add-before 'configure 'ignore-deprecations
2452 (substitute* "linc2/src/Makefile.in"
2453 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2455 (inputs `(("glib" ,glib)
2456 ("libidl" ,libidl)))
2458 `(("pkg-config" ,pkg-config)))
2459 (home-page "https://projects.gnome.org/orbit2/")
2460 (synopsis "CORBA 2.4-compliant Object Request Broker")
2461 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2462 featuring mature C, C++ and Python bindings.")
2463 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2464 ;; a version. SOME of the code files have licence notices for GPLv2+.
2465 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2466 (license license:gpl2+)
2467 (properties `((upstream-name . "ORBit2")))))
2470 (define-public libbonobo
2476 (uri (string-append "mirror://gnome/sources/" name "/"
2477 (version-major+minor version)
2478 "/" name "-" version ".tar.bz2"))
2480 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2481 (patches (search-patches
2482 "libbonobo-activation-test-race.patch"))))
2483 (build-system gnu-build-system)
2485 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2487 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2488 ;; ... which they then completly ignore !!
2490 (modify-phases %standard-phases
2491 (add-before 'configure 'ignore-deprecations
2493 (substitute* "activation-server/Makefile.in"
2494 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2497 ;; There's apparently a race condition between the server stub
2498 ;; generation and linking of the example under 'samples/echo' that can
2499 ;; lead do undefined references when building in parallel, as reported
2500 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2501 ;; Thus, disable parallel builds.
2502 #:parallel-build? #f))
2503 (inputs `(("popt" ,popt)
2504 ("libxml2" ,libxml2)))
2505 ;; The following are Required by the .pc file
2508 ("orbit2" ,orbit2)))
2510 `(("intltool" ,intltool)
2511 ("pkg-config" ,pkg-config)
2512 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2515 (home-page "https://developer.gnome.org/libbonobo/")
2516 (synopsis "Framework for creating reusable components for use in GNOME applications")
2517 (description "Bonobo is a framework for creating reusable components for
2518 use in GNOME applications, built on top of CORBA.")
2519 ;; Licence not explicitly stated. Source files contain no licence notices.
2520 ;; Tarball contains text of both GPLv2 and LGPLv2
2521 ;; GPLv2 covers both conditions
2522 (license license:gpl2+)))
2525 (define-public gconf
2532 (let ((upstream-name "GConf"))
2533 (string-append "mirror://gnome/sources/" upstream-name "/"
2534 (version-major+minor version) "/"
2535 upstream-name "-" version ".tar.xz")))
2537 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2538 (build-system gnu-build-system)
2539 (inputs `(("dbus-glib" ,dbus-glib)
2540 ("libxml2" ,libxml2)))
2541 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2542 ("orbit2" ,orbit2)))
2544 `(("intltool" ,intltool)
2545 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2546 ("pkg-config" ,pkg-config)))
2547 (home-page "https://projects.gnome.org/gconf/")
2548 (synopsis "Store application preferences")
2549 (description "Gconf is a system for storing application preferences. It
2550 is intended for user preferences; not arbitrary data storage.")
2551 (license license:lgpl2.0+)
2552 (properties '((upstream-name . "GConf")))))
2555 (define-public gnome-mime-data
2557 (name "gnome-mime-data")
2561 (uri (string-append "mirror://gnome/sources/" name "/"
2562 (version-major+minor version) "/"
2563 name "-" version ".tar.bz2"))
2566 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2567 (build-system gnu-build-system)
2570 ("intltool" ,intltool)))
2572 '(#:phases (modify-phases %standard-phases
2573 (add-after 'configure 'use-our-intltool
2575 ;; Do not use the bundled intltool commands, which lack
2576 ;; the "dotless @INC" fixes of our 'intltool' package.
2577 (substitute* (find-files "." "^Makefile$")
2578 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2579 (string-append "INTLTOOL_" tool " = intltool-"
2580 (string-downcase tool) "\n")))
2582 (home-page "https://www.gnome.org")
2583 (synopsis "Base MIME and Application database for GNOME")
2584 (description "GNOME Mime Data is a module which contains the base MIME
2585 and Application database for GNOME. The data stored by this module is
2586 designed to be accessed through the MIME functions in GnomeVFS.")
2587 (license license:gpl2+)))
2590 (define-public gnome-vfs
2596 (uri (string-append "mirror://gnome/sources/" name "/"
2597 (version-major+minor version) "/"
2598 name "-" version ".tar.bz2"))
2601 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2602 (build-system gnu-build-system)
2605 (modify-phases %standard-phases
2606 (add-before 'configure 'ignore-deprecations
2608 (substitute* '("libgnomevfs/Makefile.in"
2609 "daemon/Makefile.in")
2610 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2612 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2614 (substitute* "test/test-async-cancel.c"
2615 (("EXIT_FAILURE") "77"))
2617 (inputs `(("libxml2" ,libxml2)
2618 ("dbus-glib" ,dbus-glib)
2620 ("gnome-mime-data" ,gnome-mime-data)
2623 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2624 ("intltool" ,intltool)
2625 ("pkg-config" ,pkg-config)))
2626 (home-page "https://developer.gnome.org/gnome-vfs/")
2627 (synopsis "Access files and folders in GNOME applications")
2629 "GnomeVFS is the core library used to access files and folders in GNOME
2630 applications. It provides a file system abstraction which allows applications
2631 to access local and remote files with a single consistent API.")
2632 (license license:lgpl2.0+)))
2636 (define-public libgnome
2642 (uri (string-append "mirror://gnome/sources/" name "/"
2643 (version-major+minor version) "/"
2644 name "-" version ".tar.bz2"))
2647 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2648 (patches (search-patches "libgnome-encoding.patch"))))
2649 (build-system gnu-build-system)
2652 (modify-phases %standard-phases
2653 (add-before 'configure 'enable-deprecated
2655 (substitute* "libgnome/Makefile.in"
2656 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2658 (inputs `(("libxml2" ,libxml2)))
2660 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2661 ("intltool" ,intltool)
2662 ("pkg-config" ,pkg-config)))
2663 ;; The following are listed as Required in the .pc file
2664 ;; (except for libcanberra -- which seems to be oversight on the part
2665 ;; of the upstream developers -- anything that links against libgnome,
2666 ;; must also link against libcanberra
2668 `(("libcanberra" ,libcanberra)
2669 ("libbonobo" ,libbonobo)
2671 ("gnome-vfs" ,gnome-vfs)
2672 ("popt" ,popt))) ;gnome-program.h includes popt.h
2673 (home-page "https://developer.gnome.org/libgnome/")
2674 (synopsis "Useful routines for building applications")
2675 (description "The libgnome library provides a number of useful routines
2676 for building modern applications, including session management, activation of
2677 files and URIs, and displaying help.")
2678 (license license:lgpl2.0+)))
2681 (define-public libart-lgpl
2683 (name "libart-lgpl")
2687 (uri (let ((upstream-name "libart_lgpl"))
2688 (string-append "mirror://gnome/sources/" upstream-name "/"
2689 (version-major+minor version) "/"
2690 upstream-name "-" version ".tar.bz2")))
2693 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2694 (build-system gnu-build-system)
2696 `(("pkg-config" ,pkg-config)))
2697 (home-page "https://people.gnome.org/~mathieu/libart")
2698 (synopsis "2D drawing library")
2699 (description "Libart is a 2D drawing library intended as a
2700 high-quality vector-based 2D library with antialiasing and alpha composition.")
2701 (license license:lgpl2.0+)))
2705 (define-public libgnomecanvas
2707 (name "libgnomecanvas")
2711 (uri (string-append "mirror://gnome/sources/" name "/"
2712 (version-major+minor version) "/"
2713 name "-" version ".tar.gz"))
2716 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2717 (build-system gnu-build-system)
2718 ;; Mentioned as Required in the .pc file
2719 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2722 `(("intltool" ,intltool)
2723 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2724 ("pkg-config" ,pkg-config)))
2725 (home-page "https://developer.gnome.org/libgnomecanvas/")
2726 (synopsis "Flexible widget for creating interactive structured graphics")
2727 (description "The GnomeCanvas widget provides a flexible widget for
2728 creating interactive structured graphics.")
2729 (license license:lgpl2.0+)))
2731 (define-public libgnomecanvasmm
2733 (name "libgnomecanvasmm")
2737 (uri (string-append "mirror://gnome/sources/" name "/"
2738 (version-major+minor version) "/"
2739 name "-" version ".tar.bz2"))
2742 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2743 (build-system gnu-build-system)
2744 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2746 `(("gtkmm-2" ,gtkmm-2)
2747 ("pkg-config" ,pkg-config)))
2748 (home-page "https://gtkmm.org")
2749 (synopsis "C++ bindings to the GNOME Canvas library")
2750 (description "C++ bindings to the GNOME Canvas library.")
2751 (license license:lgpl2.0+)))
2753 (define-public libgnomeui
2759 (uri (string-append "mirror://gnome/sources/" name "/"
2760 (version-major+minor version) "/"
2761 name "-" version ".tar.bz2"))
2762 (patches (search-patches "libgnomeui-utf8.patch"))
2765 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2766 (build-system gnu-build-system)
2767 ;; Mentioned as Required in the .pc file
2768 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2769 ("libgnome" ,libgnome)
2770 ("libgnomecanvas" ,libgnomecanvas)
2771 ("libgnome-keyring" ,libgnome-keyring)))
2772 (inputs `(("libjpeg" ,libjpeg-turbo)
2774 ("libbonobo" ,libbonobo)
2775 ("libxml2" ,libxml2)
2776 ("libglade" ,libglade)))
2778 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2779 ("intltool" ,intltool)
2780 ("pkg-config" ,pkg-config)))
2781 (home-page "https://developer.gnome.org/libgnomeui/")
2782 (synopsis "Additional widgets for applications")
2783 (description "The libgnomeui library provides additional widgets for
2784 applications. Many of the widgets from libgnomeui have already been
2786 (license license:lgpl2.0+)))
2788 (define-public libglade
2794 (uri (string-append "mirror://gnome/sources/" name "/"
2795 (version-major+minor version) "/"
2796 name "-" version ".tar.bz2"))
2799 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2800 (build-system gnu-build-system)
2802 `(("python" ,python))) ;; needed for the optional libglade-convert program
2804 `(("gtk+-2" ,gtk+-2)
2805 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2807 `(("pkg-config" ,pkg-config)))
2808 (home-page "https://developer.gnome.org/libglade")
2809 (synopsis "Load glade interfaces and access the glade built widgets")
2810 (description "Libglade is a library that provides interfaces for loading
2811 graphical interfaces described in glade files and for accessing the
2812 widgets built in the loading process.")
2813 (license license:gpl2+))) ; This is correct. GPL not LGPL
2815 (define-public libgnomeprint
2816 ;; This library has been deprecated since 2006; see
2817 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2819 (name "libgnomeprint")
2823 (uri (string-append "mirror://gnome/sources/" name "/"
2824 (version-major+minor version) "/"
2825 name "-" version ".tar.bz2"))
2828 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2829 (build-system gnu-build-system)
2832 ("libart-lgpl" ,libart-lgpl)
2834 ("libxml2" ,libxml2)))
2836 `(("intltool" ,intltool)
2837 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2838 ("pkg-config" ,pkg-config)))
2839 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2840 (synopsis "Printing framework for GNOME")
2842 "GNOME-print was a printing framework for GNOME. It has been deprecated
2843 since ca. 2006, when GTK+ itself incorporated printing support.")
2844 (license license:lgpl2.0+)))
2847 (define-public libgnomeprintui
2848 ;; Deprecated; see libgnomeprint.
2850 (name "libgnomeprintui")
2854 (uri (string-append "mirror://gnome/sources/" name "/"
2855 (version-major+minor version) "/"
2856 name "-" version ".tar.bz2"))
2859 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2860 (build-system gnu-build-system)
2861 ;; Mentioned as Required in the .pc file
2862 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2863 (inputs `(("gtk+" ,gtk+-2)
2865 ("gnome-icon-theme" ,gnome-icon-theme)
2866 ("libgnomecanvas" ,libgnomecanvas)
2867 ("libxml2" ,libxml2)))
2869 `(("intltool" ,intltool)
2870 ("pkg-config" ,pkg-config)))
2871 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2872 (synopsis "Printing framework for GNOME")
2873 (description (package-description libgnomeprint))
2874 (license license:lgpl2.0+)))
2876 (define-public libbonoboui
2878 (name "libbonoboui")
2882 (uri (string-append "mirror://gnome/sources/" name "/"
2883 (version-major+minor version) "/"
2884 name "-" version ".tar.bz2"))
2887 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2888 (build-system gnu-build-system)
2891 (modify-phases %standard-phases
2892 (add-before 'check 'start-xserver
2893 (lambda* (#:key inputs #:allow-other-keys)
2894 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2897 (setenv "HOME" (getcwd))
2898 (setenv "DISPLAY" disp)
2899 ;; There must be a running X server and make check doesn't start one.
2900 ;; Therefore we must do it.
2901 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2902 ;; Mentioned as Required by the .pc file
2903 (propagated-inputs `(("libxml2" ,libxml2)))
2906 ("pangox-compat" ,pangox-compat)
2907 ("libgnome" ,libgnome)
2908 ("libgnomecanvas" ,libgnomecanvas)
2909 ("libglade" ,libglade)))
2911 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2912 ("intltool" ,intltool)
2913 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2914 ("pkg-config" ,pkg-config)))
2915 (home-page "https://developer.gnome.org/libbonoboui/")
2916 (synopsis "Some user interface controls using Bonobo")
2917 (description "The Bonobo UI library provides a number of user interface
2918 controls using the Bonobo component framework.")
2919 (license license:lgpl2.0+)))
2921 (define-public libwnck
2927 (uri (string-append "mirror://gnome/sources/" name "/"
2928 (version-major+minor version) "/"
2929 name "-" version ".tar.xz"))
2932 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2933 (build-system meson-build-system)
2935 `(("pkg-config" ,pkg-config)
2936 ("glib" ,glib "bin") ; for glib-mkenums
2937 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2938 ("intltool" ,intltool)))
2941 ("libxres" ,libxres)
2942 ("startup-notification" ,startup-notification)))
2943 (home-page "https://developer.gnome.org/libwnck/")
2944 (synopsis "Window Navigator Construction Kit")
2946 "Libwnck is the Window Navigator Construction Kit, a library for use in
2947 writing pagers, tasklists, and more generally applications that are dealing
2948 with window management. It tries hard to respect the Extended Window Manager
2949 Hints specification (EWMH).")
2950 (license license:lgpl2.0+)))
2952 ;; stable version for gtk2, required by xfwm4.
2953 (define-public libwnck-2
2954 (package (inherit libwnck)
2959 (uri (string-append "mirror://gnome/sources/" name "/"
2960 (version-major+minor version) "/"
2961 name "-" version ".tar.xz"))
2964 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2965 (build-system gnu-build-system)
2967 `(("pkg-config" ,pkg-config)
2968 ("intltool" ,intltool)))
2971 ("libxres" ,libxres)
2972 ("startup-notification" ,startup-notification)))))
2974 (define-public goffice
2980 (uri (string-append "mirror://gnome/sources/goffice/"
2981 (version-major+minor version) "/"
2982 "goffice-" version ".tar.xz"))
2984 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2985 (build-system gnu-build-system)
2987 "doc")) ; 4.0 MiB of gtk-doc
2989 '(#:configure-flags (list (string-append "--with-html-dir="
2990 (assoc-ref %outputs "doc")
2991 "/share/gtk-doc/html"))))
2995 ("librsvg" ,librsvg)
2996 ("libxslt" ,libxslt)
2997 ("libxml2" ,libxml2)))
2999 `(("intltool" ,intltool)
3000 ("glib" ,glib "bin")
3001 ("pkg-config" ,pkg-config)))
3002 (home-page "https://developer.gnome.org/goffice/")
3003 (synopsis "Document-centric objects and utilities")
3004 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3006 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3008 (list license:gpl2 license:gpl3))))
3010 (define-public goffice-0.8
3011 (package (inherit goffice)
3015 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3016 (version-major+minor version) "/"
3017 (package-name goffice) "-" version ".tar.xz"))
3019 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3022 (modify-phases %standard-phases
3023 (add-after 'unpack 'fix-pcre-check
3025 ;; Only glib.h can be included directly. See
3026 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3027 (substitute* "configure"
3028 (("glib/gregex\\.h") "glib.h")) #t)))
3030 ,@(package-arguments goffice)))
3032 ;; libgoffice-0.8.pc mentions libgsf-1
3033 `(("libgsf" ,libgsf)))
3036 ,@(alist-delete "gtk" (package-inputs goffice))))))
3038 (define-public gnumeric
3044 (uri (string-append "mirror://gnome/sources/gnumeric/"
3045 (version-major+minor version) "/"
3046 "gnumeric-" version ".tar.xz"))
3049 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3050 (build-system glib-or-gtk-build-system)
3052 `(;; The gnumeric developers don't worry much about failing tests.
3053 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3056 (modify-phases %standard-phases
3058 'configure 'pre-conf
3059 (lambda* (#:key outputs #:allow-other-keys)
3060 ;; Make install tries to write into the directory of goffice
3061 ;; I am informed that this only affects the possibility to embed a
3062 ;; spreadsheet inside an Abiword document. So presumably when we
3063 ;; package Abiword we'll have to refer it to this directory.
3064 (substitute* "configure"
3065 (("^GOFFICE_PLUGINS_DIR=.*")
3066 (string-append "GOFFICE_PLUGINS_DIR="
3067 (assoc-ref outputs "out")
3068 "/goffice/plugins"))))))))
3072 ("goffice" ,goffice)
3074 ("librsvg" ,librsvg)
3075 ("libxml2" ,libxml2)
3076 ("libxslt" ,libxslt)
3077 ("python" ,python-2)
3078 ("python2-pygobject" ,python2-pygobject)
3082 ("docbook-xml" ,docbook-xml)
3083 ("intltool" ,intltool)
3084 ("itstool" ,itstool)
3085 ("glib:bin" ,glib "bin")
3086 ("pkg-config" ,pkg-config)))
3087 (home-page "http://www.gnumeric.org")
3088 (synopsis "Spreadsheet application")
3090 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3091 interoperable with other spreadsheet applications. It has a vast array of
3092 features beyond typical spreadsheet functionality, such as support for linear
3093 and non-linear solvers, statistical analysis, and telecommunication
3096 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3097 (list license:gpl2 license:gpl3))))
3099 (define-public gnome-themes-standard
3101 (name "gnome-themes-standard")
3106 (uri (string-append "mirror://gnome/sources/" name "/"
3107 (version-major+minor version) "/" name "-"
3111 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3112 (build-system gnu-build-system)
3115 ;; Don't create 'icon-theme.cache'.
3116 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3117 (true (string-append coreutils "/bin/true")))
3118 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3122 ("librsvg" ,librsvg)
3123 ("libxml2" ,libxml2)
3126 `(("intltool" ,intltool)
3127 ("glib:bin" ,glib "bin")
3128 ("pkg-config" ,pkg-config)))
3129 (home-page "https://launchpad.net/gnome-themes-standard")
3130 (synopsis "Default GNOME 3 themes")
3132 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3133 (license license:lgpl2.1+)))
3135 (define-public seahorse
3142 (uri (string-append "mirror://gnome/sources/" name "/"
3143 (version-major+minor version) "/" name "-"
3147 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3148 (build-system meson-build-system)
3152 (modify-phases %standard-phases
3153 (add-after 'unpack 'skip-gtk-update-icon-cache
3154 ;; Don't create 'icon-theme.cache'.
3156 (substitute* "build-aux/meson_post_install.py"
3157 (("gtk-update-icon-cache") "true"))
3164 ("openldap" ,openldap)
3165 ("openssh" ,openssh)
3167 ("libpwquality" ,libpwquality)
3168 ("libsecret" ,libsecret)
3169 ("libsoup" ,libsoup)))
3171 `(("gettext" ,gettext-minimal)
3172 ("glib:bin" ,glib "bin")
3173 ("itstool" ,itstool)
3174 ("pkg-config" ,pkg-config)
3176 ("xmllint" ,libxml2)))
3177 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3178 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3180 "Seahorse is a GNOME application for managing encryption keys and
3181 passwords in the GNOME keyring.")
3182 (license license:gpl2+)))
3190 (uri (string-append "mirror://gnome/sources/" name "/"
3191 (version-major+minor version) "/"
3192 name "-" version ".tar.xz"))
3195 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3196 (build-system gnu-build-system)
3199 (modify-phases %standard-phases
3200 (add-before 'check 'pre-check
3203 (substitute* "valadoc/tests/testrunner.sh"
3204 (("export PKG_CONFIG_PATH=" m)
3205 (string-append m "$PKG_CONFIG_PATH:")))
3206 ;; For missing '/etc/machine-id'.
3207 (setenv "DBUS_FATAL_WARNINGS" "0")
3210 `(("pkg-config" ,pkg-config)
3213 ("xsltproc" ,libxslt)
3214 ("dbus" ,dbus) ; for dbus tests
3215 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3217 `(("graphviz" ,graphviz)))
3219 `(("glib" ,glib))) ; required by libvala-0.40.pc
3220 (home-page "https://live.gnome.org/Vala/")
3221 (synopsis "Compiler for the GObject type system")
3223 "Vala is a programming language that aims to bring modern programming
3224 language features to GNOME developers without imposing any additional runtime
3225 requirements and without using a different ABI compared to applications and
3226 libraries written in C.")
3227 (license license:lgpl2.1+)))
3235 (uri (string-append "mirror://gnome/sources/vte/"
3236 (version-major+minor version) "/"
3237 "vte-" version ".tar.xz"))
3240 "19ccbw0yca78h5qcnm8claj4fg1pj68nj1fsjqqfpzhj7w72i81m"))))
3241 (build-system meson-build-system)
3245 "-D_systemd=false")))
3247 `(("pkg-config" ,pkg-config)
3248 ("gettext" ,gettext-minimal)
3250 ("gobject-introspection" ,gobject-introspection)
3251 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3253 ("xmllint" ,libxml2)))
3255 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3256 ("gnutls" ,gnutls) ; ditto
3257 ("pcre2" ,pcre2))) ; ditto
3258 (home-page "https://www.gnome.org/")
3259 (synopsis "Virtual Terminal Emulator")
3261 "VTE is a library (libvte) implementing a terminal emulator widget for
3262 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3263 gnome-terminal, but can also be used to embed a console/terminal in games,
3264 editors, IDEs, etc.")
3265 (license license:lgpl2.1+)))
3267 (define-public vte-ng
3271 (version "0.58.2.a")
3272 (home-page "https://github.com/thestinger/vte-ng")
3275 (uri (git-reference (url home-page) (commit version)))
3276 (file-name (git-file-name name version))
3279 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3280 (build-system meson-build-system)
3282 `(("gtk-doc" ,gtk-doc)
3283 ,@(package-native-inputs vte)))
3285 `(#:configure-flags '("-Ddocs=true")))
3286 (synopsis "Enhanced VTE terminal widget")
3288 "VTE is a library (libvte) implementing a terminal emulator widget for
3289 GTK+, this fork provides additional functions exposed for keyboard text
3290 selection and URL hints.")))
3292 ;; provides vte 2.90, required for some terminal emulators
3293 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3294 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3295 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3296 ;; pantheon-terminal, roxterm are not currently packaged
3297 (define-public vte-0.36
3298 (package (inherit vte)
3303 (uri (string-append "mirror://gnome/sources/" name "/"
3304 (version-major+minor version) "/"
3305 name "-" version ".tar.xz"))
3308 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3311 ("ncurses" ,ncurses)))))
3313 ;; stable version for gtk2, required by xfce4-terminal.
3314 (define-public vte/gtk+-2
3315 (package (inherit vte)
3320 (uri (string-append "mirror://gnome/sources/" name "/"
3321 (version-major+minor version) "/"
3322 name "-" version ".tar.xz"))
3325 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3326 (patches (search-patches
3327 "vte-CVE-2012-2738-pt1.patch"
3328 "vte-CVE-2012-2738-pt2.patch"))))
3329 (build-system gnu-build-system)
3331 '(#:configure-flags '("--disable-python")))
3333 `(("pkg-config" ,pkg-config)
3334 ("intltool" ,intltool)
3335 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3337 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3338 ("ncurses" ,ncurses))))) ; required by libvte.la
3340 (define-public vinagre
3346 (uri (string-append "mirror://gnome/sources/" name "/"
3347 (version-major+minor version) "/"
3348 name "-" version ".tar.xz"))
3349 (patches (search-patches "vinagre-newer-freerdp.patch"
3350 "vinagre-newer-rdp-parameters.patch"))
3353 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3354 (build-system glib-or-gtk-build-system)
3356 ;; Disable -Werror and such, to avoid build failures on compilation
3358 '(#:configure-flags '("--enable-compile-warnings=minimum")
3360 (modify-phases %standard-phases
3361 (add-before 'install 'skip-gtk-update-icon-cache
3363 ;; Don't create 'icon-theme.cache'
3364 (substitute* (find-files "." "^Makefile$")
3365 (("gtk-update-icon-cache") (which "true")))
3367 (add-after 'unpack 'patch-configure
3369 (substitute* "configure"
3370 (("freerdp") "freerdp2"))
3373 `(("pkg-config" ,pkg-config)
3374 ("intltool" ,intltool)
3375 ("itstool" ,itstool)
3376 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3378 `(("libxml2" ,libxml2)
3379 ("gtk-vnc" ,gtk-vnc)
3380 ("gnome-keyring" ,gnome-keyring)
3381 ("libsecret" ,libsecret)
3382 ("freerdp" ,freerdp)
3384 ("spice-gtk" ,spice-gtk)
3385 ("telepathy-glib" ,telepathy-glib)
3387 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3388 (synopsis "Remote desktop viewer for GNOME")
3389 (description "Vinagre is a remote display client supporting the VNC, SPICE
3390 and RDP protocols.")
3391 (license license:gpl3+)))
3393 (define-public dconf
3400 "mirror://gnome/sources/" name "/"
3401 (version-major+minor version) "/"
3402 name "-" version ".tar.xz"))
3403 (patches (search-patches "dconf-meson-0.52.patch"))
3406 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3407 (build-system meson-build-system)
3409 ;; In Requires of dconf.pc.
3415 `(("bash-completion" ,bash-completion)
3416 ("libxslt" ,libxslt) ;for xsltproc
3417 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3418 ("docbook-xml" ,docbook-xml-4.2)
3419 ("docbook-xsl" ,docbook-xsl)
3420 ("glib:bin" ,glib "bin")
3421 ("gtk-doc" ,gtk-doc)
3422 ("pkg-config" ,pkg-config)
3425 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3426 ; or /etc/machine-id.
3428 #:configure-flags '("-Denable-gtk-doc=true")))
3429 (home-page "https://developer.gnome.org/dconf")
3430 (synopsis "Low-level GNOME configuration system")
3431 (description "Dconf is a low-level configuration system. Its main purpose
3432 is to provide a backend to GSettings on platforms that don't already have
3433 configuration storage systems.")
3434 (license license:lgpl2.1+)))
3436 (define-public json-glib
3442 (uri (string-append "mirror://gnome/sources/" name "/"
3443 (version-major+minor version) "/"
3444 name "-" version ".tar.xz"))
3447 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3448 (build-system meson-build-system)
3450 `(("gettext" ,gettext-minimal)
3451 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3452 ("gobject-introspection" ,gobject-introspection)
3453 ("pkg-config" ,pkg-config)))
3455 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3456 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3457 (synopsis "Compiler for the GObject type system")
3459 "JSON-GLib is a C library based on GLib providing serialization and
3460 deserialization support for the JavaScript Object Notation (JSON) format
3461 described by RFC 4627. It provides parser and generator GObject classes and
3462 various wrappers for the complex data types employed by JSON, such as arrays
3464 (license license:lgpl2.1+)))
3466 (define-public libxklavier
3468 (name "libxklavier")
3471 ;; Note: There's no tarball at ftp.gnome.org for this version.
3474 (url "https://anongit.freedesktop.org/git/libxklavier")
3475 (commit (string-append "libxklavier-" version))))
3478 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3479 (file-name (git-file-name name version))))
3480 (build-system gnu-build-system)
3483 (list (string-append "--with-xkb-base="
3484 (assoc-ref %build-inputs "xkeyboard-config")
3486 "--disable-xmodmap-support")))
3488 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3489 ("gobject-introspection" ,gobject-introspection)
3490 ("pkg-config" ,pkg-config)
3491 ("gtk-doc" ,gtk-doc)
3492 ("intltool" ,intltool)
3494 ("autoconf" ,autoconf)
3495 ("automake" ,automake)
3496 ("libtool" ,libtool)))
3498 ;; Required by libxklavier.pc.
3500 ("libxml2" ,libxml2)))
3502 `(("iso-codes" ,iso-codes)
3504 ("libxkbfile" ,libxkbfile)
3505 ("xkbcomp" ,xkbcomp)
3506 ("xkeyboard-config" ,xkeyboard-config)))
3507 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3508 (synopsis "High-level API for X Keyboard Extension")
3510 "LibXklavier is a library providing high-level API for X Keyboard
3511 Extension known as XKB. This library is intended to support XFree86 and other
3512 commercial X servers. It is useful for creating XKB-related software (layout
3514 (license license:lgpl2.0+)))
3516 (define-public python2-rsvg
3517 ;; XXX: This is actually a subset of gnome-python-desktop.
3519 (name "python2-rsvg")
3525 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3526 version ".tar.bz2"))
3529 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3530 (build-system gnu-build-system)
3532 `(("pkg-config" ,pkg-config)))
3534 `(("python" ,python-2)
3535 ("python2-pygtk" ,python2-pygtk)
3536 ("librsvg" ,librsvg)))
3537 (home-page "https://www.gnome.org")
3538 (synopsis "Python bindings to librsvg")
3540 "This package provides Python bindings to librsvg, the SVG rendering
3543 ;; This is the license of the rsvg bindings. The license of each module
3544 ;; of gnome-python-desktop is given in 'COPYING'.
3545 (license license:lgpl2.1+)))
3547 (define-public glib-networking
3549 (name "glib-networking")
3553 (uri (string-append "mirror://gnome/sources/glib-networking/"
3554 (version-major+minor version) "/"
3555 "glib-networking-" version ".tar.xz"))
3558 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3559 (build-system meson-build-system)
3561 `(#:configure-flags '("-Dlibproxy_support=false")))
3563 `(("pkg-config" ,pkg-config)
3564 ("intltool" ,intltool)))
3568 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3569 (home-page "https://www.gnome.org")
3570 (synopsis "Network-related GIO modules")
3572 "This package contains various network related extensions for the GIO
3574 (license license:lgpl2.0+)))
3582 (uri (string-append "mirror://gnome/sources/rest/"
3583 (version-major+minor version) "/"
3584 name "-" version ".tar.xz"))
3587 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3588 (build-system gnu-build-system)
3590 '(#:tests? #f ; tests require internet connection
3592 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3594 `(("glib-mkenums" ,glib "bin")
3595 ("gobject-introspection" ,gobject-introspection)
3596 ("pkg-config" ,pkg-config)))
3598 ;; rest-0.7.pc refers to all these.
3600 ("libsoup" ,libsoup)
3601 ("libxml2" ,libxml2)))
3602 (home-page "https://www.gtk.org/")
3603 (synopsis "RESTful web api query library")
3605 "This library was designed to make it easier to access web services that
3606 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3607 libxml to ease remote use of the RESTful API.")
3608 (license license:lgpl2.1+)))
3610 (define-public libsoup
3616 (uri (string-append "mirror://gnome/sources/libsoup/"
3617 (version-major+minor version) "/"
3618 "libsoup-" version ".tar.xz"))
3621 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3622 (build-system meson-build-system)
3623 (outputs '("out" "doc"))
3625 `(#:modules ((guix build utils)
3626 (guix build meson-build-system)
3629 #:configure-flags '("-Dgtk_doc=true")
3631 (modify-phases %standard-phases
3632 (add-after 'unpack 'adjust-tests
3634 ;; This test fails due to missing /etc/nsswitch.conf
3635 ;; in the build environment.
3636 (substitute* "tests/socket-test.c"
3637 ((".*/sockets/unconnected.*") ""))
3639 ;; These fail because "subdomain.localhost" does not resolve in
3640 ;; the build environment.
3641 (substitute* "tests/hsts-test.c"
3642 ((".*/hsts/basic.*") "")
3643 ((".*/hsts/subdomains.*") "")
3644 ((".*/hsts/superdomain.*") "")
3645 ((".*/hsts/utf8-address.*") ""))
3646 (substitute* "tests/hsts-db-test.c"
3647 ((".*/hsts-db/subdomains.*") ""))
3649 ;; Generate a self-signed certificate that has "localhost" as its
3650 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3651 ;; 3.5.12, tests such as "ssl-tests" fail:
3653 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3655 ;; 'certtool' is interactive so we have to pipe it the answers.
3656 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3657 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3658 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3659 (for-each (lambda (line)
3664 "Guix" ;Organizational unit name
3665 "GNU" ;Organization name
3667 "" ;State or province
3669 "" ;subject's domain component (DC)
3672 "-1" ;expiration time
3673 "N" ;belong to authority?
3674 "N" ;web client certificate?
3676 "Y" ;web server certificate?
3677 "localhost" ;dnsName of subject
3678 "" ;dnsName of subject (end)
3680 "127.0.0.1" ;IP address of subject
3682 "" ;encryption (RSA)?
3683 "" ;data encryption?
3684 "" ;sign OCSP requests?
3687 "" ;email protection?
3688 "" ;URI of the CRL distribution point
3693 (add-after 'install 'move-doc
3694 (lambda* (#:key outputs #:allow-other-keys)
3695 (let ((out (assoc-ref outputs "out"))
3696 (doc (assoc-ref outputs "doc")))
3697 (mkdir-p (string-append doc "/share"))
3698 (copy-recursively (string-append out "/share/gtk-doc")
3699 (string-append doc "/share/gtk-doc"))
3700 (delete-file-recursively (string-append out "/share/gtk-doc"))
3703 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3704 ("gobject-introspection" ,gobject-introspection)
3705 ("gtk-doc" ,gtk-doc)
3706 ("intltool" ,intltool)
3707 ("pkg-config" ,pkg-config)
3708 ("python" ,python-wrapper)
3710 ;; These are needed for the tests.
3711 ;; FIXME: Add PHP once available.
3713 ("gnutls" ,gnutls) ;for 'certtool'
3716 ;; libsoup-2.4.pc refers to all these.
3717 `(("brotli" ,google-brotli)
3720 ("libxml2" ,libxml2)
3724 `(("glib-networking" ,glib-networking)
3725 ("mit-krb5" ,mit-krb5)))
3726 (home-page "https://live.gnome.org/LibSoup/")
3727 (synopsis "GLib-based HTTP Library")
3729 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3730 and the GLib main loop, to integrate well with GNOME applications.")
3731 (license license:lgpl2.0+)))
3733 (define-public libsecret
3740 "mirror://gnome/sources/libsecret/"
3741 (version-major+minor version) "/"
3742 "libsecret-" version ".tar.xz"))
3745 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
3746 (build-system gnu-build-system)
3747 (outputs '("out" "doc"))
3749 `(#:tests? #f ; FIXME: Testing hangs.
3751 (list (string-append "--with-html-dir="
3752 (assoc-ref %outputs "doc")
3753 "/share/gtk-doc/html"))))
3755 `(("gettext" ,gettext-minimal)
3756 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3757 ("gobject-introspection" ,gobject-introspection)
3758 ("pkg-config" ,pkg-config)
3760 ("xsltproc" ,libxslt)))
3761 ;; These are needed for the tests.
3762 ;; FIXME: Add gjs once available.
3764 ;("python2" ,python-2)
3765 ;("python2-dbus" ,python2-dbus)
3766 ;("python2-pygobject" ,python2-pygobject)
3767 ;("python2-pygobject-2" ,python2-pygobject-2)))
3769 `(("glib" ,glib))) ; required by libsecret-1.pc
3771 `(("docbook-xsl" ,docbook-xsl)
3772 ("libgcrypt" ,libgcrypt)
3773 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3774 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3775 (synopsis "GObject bindings for \"Secret Service\" API")
3777 "Libsecret is a GObject based library for storing and retrieving passwords
3778 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3779 (license license:lgpl2.1+)))
3781 (define-public five-or-more
3783 (name "five-or-more")
3788 (uri (string-append "mirror://gnome/sources/five-or-more/"
3789 (version-major+minor version) "/"
3790 "five-or-more-" version ".tar.xz"))
3792 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
3793 (build-system meson-build-system)
3797 (modify-phases %standard-phases
3798 (add-after 'unpack 'skip-gtk-update-icon-cache
3800 (substitute* "meson_post_install.py"
3801 (("gtk-update-icon-cache") (which "true")))
3804 `(("pkg-config" ,pkg-config)
3805 ("appstream-glib" ,appstream-glib)
3806 ("desktop-file-utils" ,desktop-file-utils)
3807 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3808 ("intltool" ,intltool)
3809 ("itstool" ,itstool)
3811 ("xmllint" ,libxml2)))
3814 ("libgnome-games-support" ,libgnome-games-support)
3815 ("librsvg" ,librsvg)))
3816 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3817 (synopsis "Logic puzzle game")
3818 (description "Five or More is a game where you try to align
3819 five or more objects of the same color and shape causing them to disappear.
3820 On every turn more objects will appear, until the board is full.
3821 Try to last as long as possible.")
3822 (license license:gpl2+)))
3824 (define-public gnome-mines
3826 (name "gnome-mines")
3831 (uri (string-append "mirror://gnome/sources/" name "/"
3832 (version-major+minor version) "/"
3833 name "-" version ".tar.xz"))
3836 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
3837 (build-system meson-build-system)
3841 (modify-phases %standard-phases
3842 (add-after 'unpack 'skip-gtk-update-icon-cache
3844 (substitute* "build-aux/meson_post_install.py"
3845 (("gtk-update-icon-cache") (which "true")))
3848 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3849 ("pkg-config" ,pkg-config)
3850 ("desktop-file-utils" ,desktop-file-utils)
3851 ("intltool" ,intltool)
3852 ("itstool" ,itstool)
3855 ("appstream-glib" ,appstream-glib)))
3858 ("libgnome-games-support" ,libgnome-games-support)
3859 ("librsvg" ,librsvg)))
3860 (home-page "https://wiki.gnome.org/Apps/Mines")
3861 (synopsis "Minesweeper game")
3863 "Mines (previously gnomine) is a puzzle game where you locate mines
3864 floating in an ocean using only your brain and a little bit of luck.")
3865 (license license:gpl2+)))
3867 (define-public gnome-sudoku
3869 (name "gnome-sudoku")
3874 (uri (string-append "mirror://gnome/sources/" name "/"
3875 (version-major+minor version) "/"
3876 name "-" version ".tar.xz"))
3879 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
3880 (build-system meson-build-system)
3884 (modify-phases %standard-phases
3885 (add-after 'unpack 'skip-gtk-update-icon-cache
3887 (substitute* "build-aux/post_install.py"
3888 (("gtk-update-icon-cache") (which "true")))
3891 `(("pkg-config" ,pkg-config)
3892 ("desktop-file-utils" ,desktop-file-utils)
3893 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3894 ("intltool" ,intltool)
3895 ("itstool" ,itstool)
3897 ("xmllint" ,libxml2)))
3900 ("json-glib" ,json-glib)
3902 ("librsvg" ,librsvg)
3903 ("qqwing" ,qqwing)))
3904 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3905 (synopsis "Japanese logic game")
3907 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3908 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3909 possible while still providing features that make playing difficult Sudoku
3911 (license license:gpl2+)))
3913 (define-public gnome-terminal
3915 (name "gnome-terminal")
3920 (uri (string-append "mirror://gnome/sources/" name "/"
3921 (version-major+minor version) "/"
3922 name "-" version ".tar.xz"))
3925 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
3926 (build-system glib-or-gtk-build-system)
3929 (list "--disable-migration" "--disable-search-provider"
3930 "--without-nautilus-extension")
3932 (modify-phases %standard-phases
3933 (add-before 'configure 'patch-/bin/true
3935 (substitute* "configure"
3936 (("/bin/true") (which "true"))))))))
3938 `(("pkg-config" ,pkg-config)
3939 ("desktop-file-utils" ,desktop-file-utils)
3940 ("intltool" ,intltool)
3941 ("itstool" ,itstool)
3942 ("xmllint" ,libxml2)))
3944 `(("dconf" ,dconf)))
3949 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3950 ("util-linux" ,util-linux "lib")
3952 (home-page "https://wiki.gnome.org/Apps/Terminal")
3953 (synopsis "Terminal emulator")
3955 "GNOME Terminal is a terminal emulator application for accessing a
3956 UNIX shell environment which can be used to run programs available on
3959 It supports several profiles, multiple tabs and implements several
3960 keyboard shortcuts.")
3961 (license license:gpl3+)))
3963 (define-public colord
3970 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3971 "colord-" version ".tar.xz"))
3973 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3974 (build-system meson-build-system)
3976 '(;; FIXME: One test fails:
3977 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3978 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3979 ;; application/x-zerosize
3982 #:configure-flags (list "-Dlocalstatedir=/var"
3983 ;; No dep on systemd.
3985 ;; Wants to install to global completion dir;
3987 "-Dbash_completion=false"
3988 "-Ddaemon_user=colord"
3991 ;; Requires spotread.
3992 "-Dargyllcms_sensor=false"
3993 ;; TODO: Requires docbook2x.
3996 (modify-phases %standard-phases
3997 (add-before 'configure 'patch-build-system
3998 (lambda* (#:key outputs #:allow-other-keys)
3999 (substitute* "rules/meson.build"
4000 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4001 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4003 (add-before 'configure 'set-sqlite3-file-name
4004 (lambda* (#:key inputs #:allow-other-keys)
4005 ;; "colormgr dump" works by invoking the "sqlite3" command.
4006 ;; Record its absolute file name.
4007 (let ((sqlite (assoc-ref inputs "sqlite")))
4008 (substitute* "client/cd-util.c"
4010 (string-append "\"" sqlite "/bin/sqlite3\"")))
4013 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4014 ("gettext" ,gettext-minimal)
4015 ("gobject-introspection" ,gobject-introspection)
4016 ("gtk-doc" ,gtk-doc)
4017 ("pkg-config" ,pkg-config)
4020 ;; colord.pc refers to all these.
4025 `(("dbus-glib" ,dbus-glib)
4027 ("libgudev" ,libgudev)
4030 ("python" ,python-wrapper)
4032 ("sane-backends" ,sane-backends)))
4033 (home-page "https://www.freedesktop.org/software/colord/")
4034 (synopsis "Color management service")
4035 (description "Colord is a system service that makes it easy to manage,
4036 install and generate color profiles to accurately color manage input and
4038 (license license:gpl2+)))
4040 (define-public geoclue
4048 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4049 version "/geoclue-" version ".tar.bz2"))
4052 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4053 (patches (search-patches "geoclue-config.patch"))))
4054 (build-system meson-build-system)
4056 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4058 `(("pkg-config" ,pkg-config)
4059 ("gobject-introspection" ,gobject-introspection)
4060 ("modem-manager" ,modem-manager)
4061 ("libnotify" ,libnotify)
4062 ("gtk-doc", gtk-doc)
4063 ("intltool" ,intltool)))
4066 ("glib:bin" ,glib "bin")
4067 ("glib-networking" ,glib-networking)
4068 ("json-glib" ,json-glib)
4069 ("libsoup" ,libsoup)))
4070 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4071 (synopsis "Geolocation service")
4072 (description "Geoclue is a D-Bus service that provides location
4073 information. The primary goal of the Geoclue project is to make creating
4074 location-aware applications as simple as possible, while the secondary goal is
4075 to ensure that no application can access location information without explicit
4076 permission from user.")
4077 (license license:gpl2+)))
4079 (define-public geocode-glib
4081 (name "geocode-glib")
4085 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4086 (version-major+minor version) "/"
4087 "geocode-glib-" version ".tar.xz"))
4090 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4091 (build-system meson-build-system)
4094 (modify-phases %standard-phases
4095 ;; The tests require a bunch of locales.
4096 (add-before 'check 'set-locales
4097 (lambda* (#:key inputs #:allow-other-keys)
4098 (setenv "GUIX_LOCPATH"
4099 (string-append (assoc-ref inputs "glibc-locales")
4103 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4104 ("glibc-locales" ,glibc-locales) ; for tests
4105 ("gettext" ,gettext-minimal)
4106 ("gobject-introspection" ,gobject-introspection)
4107 ("gtk-doc" ,gtk-doc)
4108 ("pkg-config" ,pkg-config)
4109 ("json-glib" ,json-glib)))
4111 ;; geocode-glib-1.0.pc refers to GIO.
4114 `(("libsoup" ,libsoup)))
4115 (home-page "https://github.com/GNOME/geocode-glib/")
4116 (synopsis "Geocoding and reverse-geocoding library")
4118 "geocode-glib is a convenience library for geocoding (finding longitude,
4119 and latitude from an address) and reverse geocoding (finding an address from
4120 coordinates) using the Nominatim service. geocode-glib caches requests for
4121 faster results and to avoid unnecessary server load.")
4122 (license license:lgpl2.0+)))
4124 (define-public upower
4130 (uri (string-append "https://upower.freedesktop.org/releases/"
4131 "upower-" version ".tar.xz"))
4134 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4135 (patches (search-patches "upower-builddir.patch"))
4136 (modules '((guix build utils)))
4140 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4141 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4142 ;; 'dbus-configuration-directory' in (gnu services dbus)
4143 ;; expects it in etc/. Thus, move it back to its previous
4145 (substitute* "src/Makefile.in"
4146 (("^dbusconfdir =.*$")
4147 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4149 (build-system glib-or-gtk-build-system)
4151 '( ;; The tests want to contact the system bus, which can't be done in the
4152 ;; build environment. The integration test can run, but the last of
4153 ;; the up-self-tests doesn't. Disable tests for now.
4155 #:configure-flags (list "--localstatedir=/var"
4156 (string-append "--with-udevrulesdir="
4157 (assoc-ref %outputs "out")
4158 "/lib/udev/rules.d"))))
4160 `(("gobject-introspection" ,gobject-introspection)
4161 ("pkg-config" ,pkg-config)
4162 ("intltool" ,intltool)
4166 ("libxslt" ,libxslt) ;for 'xsltproc'
4167 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4168 ("docbook-xsl" ,docbook-xsl)))
4170 `(("dbus-glib" ,dbus-glib)
4171 ("libgudev" ,libgudev)
4172 ("libusb" ,libusb)))
4174 ;; In Requires of upower-glib.pc.
4176 (home-page "https://upower.freedesktop.org/")
4177 (synopsis "System daemon for managing power devices")
4179 "UPower is an abstraction for enumerating power devices,
4180 listening to device events and querying history and statistics. Any
4181 application or service on the system can access the org.freedesktop.UPower
4182 service via the system message bus.")
4183 (license license:gpl2+)))
4185 (define-public libgweather
4187 (name "libgweather")
4191 (uri (string-append "mirror://gnome/sources/" name "/"
4192 (version-major+minor version) "/"
4193 name "-" version ".tar.xz"))
4196 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4197 (build-system meson-build-system)
4199 `(#:tests? #f ; one of two tests requires network access
4201 `(,(string-append "-Dzoneinfo_dir="
4202 (assoc-ref %build-inputs "tzdata")
4203 "/share/zoneinfo"))))
4205 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4206 ("gobject-introspection" ,gobject-introspection)
4207 ("pkg-config" ,pkg-config)
4209 ("intltool" ,intltool)))
4211 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4214 ("gdk-pixbuf" ,gdk-pixbuf)
4215 ("libxml2" ,libxml2)
4216 ("libsoup" ,libsoup)
4217 ("geocode-glib" ,geocode-glib)))
4219 `(("tzdata" ,tzdata)))
4220 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4221 (synopsis "Location, time zone, and weather library for GNOME")
4223 "libgweather is a library to access weather information from online
4224 services for numerous locations.")
4225 (license license:gpl2+)))
4227 (define-public gnome-settings-daemon
4229 (name "gnome-settings-daemon")
4234 (uri (string-append "mirror://gnome/sources/" name "/"
4235 (version-major+minor version) "/"
4236 name "-" version ".tar.xz"))
4239 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4240 (build-system meson-build-system)
4244 (list (string-append "-Dudev_dir="
4245 (assoc-ref %outputs "out")
4246 "/lib/udev/rules.d/")
4248 ;; Otherwise, the RUNPATH will lack the final path component.
4249 (string-append "-Dc_link_args=-Wl,-rpath="
4250 (assoc-ref %outputs "out")
4251 "/lib/gnome-settings-daemon-3.0"))
4252 ;; Color management test can't reach the colord system service.
4255 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4256 ("pkg-config" ,pkg-config)
4257 ("intltool" ,intltool)
4258 ("xsltproc" ,libxslt)
4259 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4260 ("docbook-xml" ,docbook-xml-4.2)
4261 ("docbook-xsl" ,docbook-xsl)))
4263 `(("alsa-lib" ,alsa-lib)
4265 ("libgudev" ,libgudev)
4268 ("pulseaudio" ,pulseaudio)
4269 ("libcanberra" ,libcanberra)
4271 ("libxtst" ,libxtst)
4273 ("libnotify" ,libnotify)
4274 ("geoclue" ,geoclue)
4275 ("geocode-glib" ,geocode-glib)
4276 ("libgweather" ,libgweather)
4277 ("gnome-desktop" ,gnome-desktop)
4280 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4281 ("libwacom" ,libwacom)
4282 ("librsvg" ,librsvg)
4283 ("xf86-input-wacom" ,xf86-input-wacom)
4284 ("wayland" ,wayland)
4285 ("network-manager" ,network-manager)
4287 ("modem-manager" ,modem-manager)))
4288 (home-page "https://www.gnome.org")
4289 (synopsis "GNOME settings daemon")
4291 "This package contains the daemon responsible for setting the various
4292 parameters of a GNOME session and the applications that run under it. It
4293 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4294 settings, themes, mouse settings, and startup of other daemons.")
4295 (license license:gpl2+)))
4297 (define-public totem-pl-parser
4299 (name "totem-pl-parser")
4303 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4304 (version-major+minor version) "/"
4305 "totem-pl-parser-" version ".tar.xz"))
4308 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4309 (build-system meson-build-system)
4311 ;; FIXME: Tests require gvfs.
4314 `(("intltool" ,intltool)
4315 ("glib" ,glib "bin")
4316 ("gobject-introspection" ,gobject-introspection)
4317 ("pkg-config" ,pkg-config)))
4321 ("libarchive" ,libarchive)
4322 ("libgcrypt" ,libgcrypt)
4323 ("libxml2" ,libxml2)))
4325 `(("libsoup" ,libsoup)))
4326 (home-page "https://projects.gnome.org/totem")
4327 (synopsis "Library to parse and save media playlists for GNOME")
4328 (description "Totem-pl-parser is a GObjects-based library to parse and save
4329 playlists in a variety of formats.")
4330 (license license:lgpl2.0+)))
4332 (define-public aisleriot
4338 (uri (string-append "mirror://gnome/sources/aisleriot/"
4339 (version-major+minor version) "/"
4340 "aisleriot-" version ".tar.xz"))
4343 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4344 (build-system glib-or-gtk-build-system)
4347 '("--with-platform=gtk-only"
4348 "--with-card-theme-formats=svg")))
4350 `(("desktop-file-utils" ,desktop-file-utils)
4351 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4352 ("intltool" ,intltool)
4353 ("itstool" ,itstool)
4354 ("pkg-config" ,pkg-config)
4355 ("xmllint" ,libxml2)))
4358 ("guile" ,guile-2.2)
4359 ("libcanberra" ,libcanberra)
4360 ("librsvg" ,librsvg)))
4361 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4362 (synopsis "Solitaire card games")
4364 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4365 which are easy to play with the aid of a mouse.")
4366 (license license:gpl3+)))
4374 (uri (string-append "mirror://gnome/sources/amtk/"
4375 (version-major+minor version) "/"
4376 "amtk-" version ".tar.xz"))
4379 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4380 (build-system gnu-build-system)
4382 '(#:configure-flags '("--enable-gtk-doc")))
4384 `(("gobject-introspection" ,gobject-introspection)
4385 ("glib:bin" ,glib "bin") ; for glib-mkenums
4386 ("gtk-doc" ,gtk-doc)
4387 ("pkg-config" ,pkg-config)))
4391 (home-page "https://wiki.gnome.org/Projects/Amtk")
4392 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4394 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4395 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4396 both a traditional UI or a modern UI with a GtkHeaderBar.")
4397 (license license:lgpl2.1+)))
4399 (define-public devhelp
4405 (uri (string-append "mirror://gnome/sources/" name "/"
4406 (version-major+minor version) "/"
4407 name "-" version ".tar.xz"))
4410 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4411 (build-system meson-build-system)
4415 (modify-phases %standard-phases
4416 (add-after 'unpack 'skip-gtk-update-icon-cache
4417 ;; Don't create 'icon-theme.cache'.
4419 (substitute* "meson_post_install.py"
4420 (("gtk-update-icon-cache") "true"))
4423 `(("intltool" ,intltool)
4424 ("itstool" ,itstool)
4425 ("gobject-introspection" ,gobject-introspection)
4426 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4427 ("pkg-config" ,pkg-config)))
4430 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4431 ("webkitgtk" ,webkitgtk)))
4432 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4433 (synopsis "API documentation browser for GNOME")
4435 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4436 natively with GTK-Doc (the API reference system developed for GTK+ and used
4437 throughout GNOME for API documentation).")
4438 (license license:gpl2+)))
4447 (uri (string-append "mirror://gnome/sources/cogl/"
4448 (version-major+minor version) "/"
4449 "cogl-" version ".tar.xz"))
4451 (base32 "0x8v4n61q89qy27v824bqswpz6bmn801403w2q3pa1lcwk9ln4vd"))))
4452 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4453 ;; cogl, corresponding changes may be appropriate in mutter as well.
4454 (build-system gnu-build-system)
4456 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4457 ("gobject-introspection" ,gobject-introspection)
4458 ("xorg-server" ,xorg-server-for-tests)
4459 ("pkg-config" ,pkg-config)))
4462 ("gdk-pixbuf" ,gdk-pixbuf)
4464 ("libxext" ,libxext)
4465 ("libxfixes" ,libxfixes)
4466 ("libxdamage" ,libxdamage)
4467 ("libxcomposite" ,libxcomposite)
4468 ("libxrandr" ,libxrandr)))
4473 ("gstreamer" ,gstreamer)
4474 ("gst-plugins-base" ,gst-plugins-base)
4475 ("wayland" ,wayland)))
4477 `(#:disallowed-references (,xorg-server-for-tests)
4478 #:configure-flags (list "--enable-cogl-gst"
4479 "--enable-wayland-egl-platform"
4480 "--enable-wayland-egl-server"
4482 ;; Arrange to pass an absolute file name to
4483 ;; dlopen for libGL.so.
4484 (string-append "--with-gl-libname="
4485 (assoc-ref %build-inputs "mesa")
4488 (modify-phases %standard-phases
4489 (add-before 'check 'start-xorg-server
4490 (lambda* (#:key tests? inputs #:allow-other-keys)
4493 ;; The test suite requires a running X server.
4494 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
4495 (assoc-ref inputs "xorg-server")))
4496 (setenv "DISPLAY" ":1")
4498 (format #t "test suite not run~%"))
4500 (home-page "https://www.cogl3d.org")
4501 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4503 "Cogl is a small library for using 3D graphics hardware to draw pretty
4504 pictures. The API departs from the flat state machine style of OpenGL and is
4505 designed to make it easy to write orthogonal components that can render
4506 without stepping on each others toes.")
4507 (license (list license:expat ; most of the code
4508 license:bsd-3 ; cogl/cogl-point-in-poly.c
4509 license:sgifreeb2.0 ; cogl-path/tesselator/
4510 license:asl2.0)))) ; examples/android/
4512 (define-public clutter
4519 (uri (string-append "mirror://gnome/sources/" name "/"
4520 (version-major+minor version) "/"
4521 name "-" version ".tar.xz"))
4524 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4525 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4526 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4527 (build-system gnu-build-system)
4529 "doc")) ;9 MiB of gtk-doc HTML pages
4531 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4532 ("gobject-introspection" ,gobject-introspection)
4533 ("pkg-config" ,pkg-config)
4534 ("xsltproc" ,libxslt)))
4540 ("json-glib" ,json-glib)
4542 ("libxcomposite" ,libxcomposite)
4543 ("libxdamage" ,libxdamage)
4544 ("libxext" ,libxext)
4545 ("xinput" ,xinput)))
4547 `(("libxkbcommon" ,libxkbcommon)
4550 `(#:configure-flags (list "--enable-x11-backend=yes"
4552 ;; This produces share/doc/{clutter,cally}.
4553 (string-append "--with-html-dir="
4554 (assoc-ref %outputs "doc")
4556 ;; XXX FIXME: Get test suite working. It would probably fail in the
4557 ;; same way the cogl tests fail, since clutter is based on cogl.
4559 (home-page "http://www.clutter-project.org")
4560 (synopsis "OpenGL-based interactive canvas library")
4562 "Clutter is an OpenGL-based interactive canvas library, designed for
4563 creating fast, mainly 2D single window applications such as media box UIs,
4564 presentations, kiosk style applications and so on.")
4565 (license license:lgpl2.0+)))
4567 (define-public clutter-gtk
4569 (name "clutter-gtk")
4574 (uri (string-append "mirror://gnome/sources/" name "/"
4575 (version-major+minor version) "/"
4576 name "-" version ".tar.xz"))
4579 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4580 (build-system gnu-build-system)
4582 `(("pkg-config" ,pkg-config)
4583 ("gobject-introspection" ,gobject-introspection)))
4585 ;; clutter-gtk.pc refers to all these.
4586 `(("clutter" ,clutter)
4588 (home-page "http://www.clutter-project.org")
4589 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4591 "Clutter is an OpenGL-based interactive canvas library, designed for
4592 creating fast, mainly 2D single window applications such as media box UIs,
4593 presentations, kiosk style applications and so on.")
4594 (license license:lgpl2.0+)))
4596 (define-public clutter-gst
4598 (name "clutter-gst")
4603 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4604 (version-major+minor version) "/"
4605 "clutter-gst-" version ".tar.xz"))
4607 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4608 (build-system gnu-build-system)
4610 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4611 ("pkg-config" ,pkg-config)
4612 ("gobject-introspection" ,gobject-introspection)))
4614 `(("clutter" ,clutter)
4615 ("gstreamer" ,gstreamer)
4616 ("gst-plugins-base" ,gst-plugins-base)))
4617 (home-page "http://www.clutter-project.org")
4618 (synopsis "Integration library for using GStreamer with Clutter")
4620 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4621 It provides a GStreamer sink to upload frames to GL and an actor that
4622 implements the ClutterGstPlayer interface using playbin. Clutter is an
4623 OpenGL-based interactive canvas library.")
4624 (license license:lgpl2.0+)))
4626 (define-public libchamplain
4628 (name "libchamplain")
4633 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4637 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4638 (build-system gnu-build-system)
4639 (arguments '(#:configure-flags '("--enable-vala")))
4641 `(("gobject-introspection" ,gobject-introspection)
4642 ("pkg-config" ,pkg-config)
4645 `(("libsoup" ,libsoup)
4647 ("clutter" ,clutter)
4648 ("clutter-gtk" ,clutter-gtk)
4649 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4653 (home-page "https://projects.gnome.org/libchamplain/")
4654 (synopsis "C library providing a ClutterActor to display maps")
4656 "libchamplain is a C library providing a ClutterActor to display maps.
4657 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4658 and Perl bindings are also available. It supports numerous free map sources
4659 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4660 (license license:lgpl2.1+)))
4669 (uri (string-append "mirror://gnome/sources/gom/"
4670 (version-major+minor version) "/"
4671 "gom-" version ".tar.xz"))
4674 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4675 (build-system gnu-build-system)
4677 `(("intltool" ,intltool)
4678 ("pkg-config" ,pkg-config)
4679 ("gobject-introspection" ,gobject-introspection)))
4682 ("gdk-pixbuf" ,gdk-pixbuf)
4683 ("sqlite" ,sqlite)))
4684 ;; XXX TODO: Figure out how to run the test suite.
4685 (arguments `(#:tests? #f))
4686 (home-page "https://wiki.gnome.org/Projects/Gom")
4687 (synopsis "Object mapper from GObjects to SQLite")
4689 "Gom provides an object mapper from GObjects to SQLite. It helps you
4690 write applications that need to store structured data as well as make complex
4691 queries upon that data.")
4692 (license license:lgpl2.1+)))
4694 (define-public libgnome-games-support
4696 (name "libgnome-games-support")
4700 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4701 (version-major+minor version) "/"
4702 "libgnome-games-support-" version ".tar.xz"))
4705 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4706 (build-system gnu-build-system)
4709 (modify-phases %standard-phases
4710 (add-before 'check 'pre-check
4712 ;; Tests require a writable HOME.
4713 (setenv "HOME" (getcwd))
4716 `(("intltool" ,intltool)
4717 ("pkg-config" ,pkg-config)
4720 ;; Required by libgnome-games-support-1.0.pc
4722 ("libgee" ,libgee)))
4723 (home-page "https://www.gnome.org/")
4724 (synopsis "Useful functionality shared among GNOME games")
4726 "libgnome-games-support is a small library intended for internal use by
4727 GNOME Games, but it may be used by others.")
4728 (license license:lgpl3+)))
4730 (define-public gnome-klotski
4732 (name "gnome-klotski")
4736 (uri (string-append "mirror://gnome/sources/" name "/"
4737 (version-major+minor version) "/"
4738 name "-" version ".tar.xz"))
4741 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
4742 (build-system meson-build-system)
4746 (modify-phases %standard-phases
4747 (add-after 'unpack 'skip-gtk-update-icon-cache
4748 ;; Don't create 'icon-theme.cache'.
4750 (substitute* "build-aux/meson_post_install.py"
4751 (("gtk-update-icon-cache") (which "true")))
4754 `(("desktop-file-utils" ,desktop-file-utils)
4755 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4756 ("intltool" ,intltool)
4757 ("itstool" ,itstool)
4758 ("pkg-config" ,pkg-config)
4760 ("xmllint" ,libxml2)))
4763 ("libgnome-games-support" ,libgnome-games-support)
4764 ("librsvg" ,librsvg)))
4765 (home-page "https://wiki.gnome.org/Apps/Klotski")
4766 (synopsis "Sliding block puzzles")
4768 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4769 the patterned block to the area bordered by green markers. To do so, you will
4770 need to slide other blocks out of the way. Complete each puzzle in as few moves
4772 (license license:gpl2+)))
4774 (define-public grilo
4781 (uri (string-append "mirror://gnome/sources/" name "/"
4782 (version-major+minor version) "/"
4783 name "-" version ".tar.xz"))
4786 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4787 (build-system meson-build-system)
4789 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4790 ("intltool" ,intltool)
4791 ("pkg-config" ,pkg-config)
4792 ("gobject-introspection" ,gobject-introspection)
4793 ("gtk-doc" ,gtk-doc)
4796 `(("cyrus-sasl" ,cyrus-sasl)
4799 ("libxml2" ,libxml2)
4800 ("liboauth" ,liboauth)
4801 ("libsoup" ,libsoup)
4802 ("totem-pl-parser" ,totem-pl-parser)))
4803 (native-search-paths
4804 (list (search-path-specification
4805 (variable "GRL_PLUGIN_PATH")
4806 (files (list (string-append "lib/grilo-"
4807 (version-major+minor version)))))))
4808 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4809 (synopsis "Framework for discovering and browsing media")
4811 "Grilo is a framework focused on making media discovery and browsing easy
4812 for application developers.")
4813 (license license:lgpl2.1+)))
4815 (define-public grilo-plugins
4817 (name "grilo-plugins")
4822 (uri (string-append "mirror://gnome/sources/" name "/"
4823 (version-major+minor version) "/"
4824 name "-" version ".tar.xz"))
4827 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4828 (build-system meson-build-system)
4830 `(("gettext" ,gettext-minimal)
4831 ("glib:bin" ,glib "bin")
4832 ("gtk+:bin" ,gtk+ "bin")
4833 ("itstool" ,itstool)
4834 ("pkg-config" ,pkg-config)))
4835 ;; TODO: ahavi, gstreamer
4838 ;("gmime" ,gmime) ; unused
4839 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4841 ;("gssdp" ,gssdp) ; unused
4842 ;("gupnp" ,gupnp) ; unused
4843 ;("gupnp-av" ,gupnp-av) ; unused
4844 ("json-glib" ,json-glib)
4846 ("libgdata" ,libgdata)
4847 ("libmediaart" ,libmediaart)
4848 ;("librest" ,rest) ; unused
4849 ("libsoup" ,libsoup)
4850 ("totam-pl-parser" ,totem-pl-parser)
4851 ("tracker" ,tracker))) ; unused because it's too old
4854 ;;Disable lua-factory as it needs missing dependencies
4855 #:configure-flags '("-Denable-lua-factory=no")))
4856 (home-page "https://live.gnome.org/Grilo")
4857 (synopsis "Plugins for the Grilo media discovery library")
4859 "Grilo is a framework focused on making media discovery and browsing easy
4860 for application developers. This package provides plugins for common media
4861 discovery protocols.")
4862 (license license:lgpl2.1+)))
4864 (define-public totem
4871 (uri (string-append "mirror://gnome/sources/" name "/"
4872 (version-major+minor version) "/"
4873 name "-" version ".tar.xz"))
4876 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
4877 (build-system meson-build-system)
4879 `(("pkg-config" ,pkg-config)
4880 ("desktop-file-utils" ,desktop-file-utils)
4881 ("gobject-introspection" ,gobject-introspection)
4882 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4883 ("intltool" ,intltool)
4884 ("itstool" ,itstool)
4885 ("xmllint" ,libxml2)
4886 ("python-pylint" ,python-pylint)
4887 ("xorg-server" ,xorg-server-for-tests)))
4889 `(("dconf" ,dconf)))
4892 ("gdk-pixbuf" ,gdk-pixbuf)
4895 ("dbus-glib" ,dbus-glib)
4896 ("clutter" ,clutter)
4897 ("clutter-gtk" ,clutter-gtk)
4898 ("clutter-gst" ,clutter-gst)
4899 ("xorgproto" ,xorgproto)
4900 ("libxxf86vm" ,libxxf86vm)
4901 ("libxtst" ,libxtst)
4902 ("libxrandr" ,libxrandr)
4903 ("libxml2" ,libxml2)
4904 ("libsoup" ,libsoup)
4905 ("libpeas" ,libpeas)
4906 ("librsvg" ,librsvg)
4908 ("gnome-desktop" ,gnome-desktop)
4909 ("gstreamer" ,gstreamer)
4910 ("gst-plugins-base" ,gst-plugins-base)
4911 ("gst-plugins-good" ,gst-plugins-good)
4912 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4913 ("adwaita-icon-theme" ,adwaita-icon-theme)
4915 ("python-pygobject" ,python-pygobject)
4916 ("totem-pl-parser" ,totem-pl-parser)
4918 ("grilo-plugins" ,grilo-plugins)
4923 ;; Disable automatic GStreamer plugin installation via PackageKit and
4925 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4927 ;; Do not build .a files for the plugins, it's
4928 ;; completely useless. This saves 2 MiB.
4929 "--default-library" "shared")
4931 (modify-phases %standard-phases
4932 (add-after 'unpack 'skip-gtk-update-icon-cache
4933 ;; Don't create 'icon-theme.cache'.
4935 (substitute* "meson_post_install.py"
4936 (("gtk-update-icon-cache") "true"))
4939 'install 'disable-cache-generation
4941 (setenv "DESTDIR" "/")
4946 ;; Tests require a running X server.
4947 (system "Xvfb :1 &")
4948 (setenv "DISPLAY" ":1")
4951 'install 'wrap-totem
4952 (lambda* (#:key inputs outputs #:allow-other-keys)
4953 (let ((out (assoc-ref outputs "out"))
4954 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4955 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4956 (wrap-program (string-append out "/bin/totem")
4957 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4958 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4959 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4960 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4962 (home-page "https://wiki.gnome.org/Apps/Videos")
4963 (synopsis "Simple media player for GNOME based on GStreamer")
4964 (description "Totem is a simple yet featureful media player for GNOME
4965 which can read a large number of file formats.")
4966 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4967 ;; to be used and distributed together with GStreamer and Totem. See
4968 ;; file://COPYING in the source distribution for details.
4969 (license license:gpl2+)))
4971 (define-public rhythmbox
4977 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4978 (version-major+minor version) "/"
4979 "rhythmbox-" version ".tar.xz"))
4982 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4983 (build-system glib-or-gtk-build-system)
4986 (list "--enable-lirc"
4993 (modify-phases %standard-phases
4995 'install 'wrap-rhythmbox
4996 (lambda* (#:key inputs outputs #:allow-other-keys)
4997 (let ((out (assoc-ref outputs "out"))
4998 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4999 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5000 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5001 (python-path (getenv "PYTHONPATH")))
5002 (wrap-program (string-append out "/bin/rhythmbox")
5003 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5004 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5005 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5006 `("PYTHONPATH" ":" prefix (,python-path))))
5009 `(("dconf" ,dconf)))
5011 `(("itstool" ,itstool)
5012 ("intltool" ,intltool)
5013 ("glib" ,glib "bin")
5014 ("gobject-introspection" ,gobject-introspection)
5015 ("desktop-file-utils" ,desktop-file-utils)
5016 ("pkg-config" ,pkg-config)
5017 ("xmllint" ,libxml2)))
5019 `(("json-glib" ,json-glib)
5021 ("gnome-desktop" ,gnome-desktop)
5023 ("python-pygobject" ,python2-pygobject)
5026 ("adwaita-icon-theme" ,adwaita-icon-theme)
5028 ("grilo-plugins" ,grilo-plugins)
5029 ("gstreamer" ,gstreamer)
5030 ("gst-plugins-base" ,gst-plugins-base)
5031 ("gst-plugins-good" ,gst-plugins-good)
5032 ("totem-pl-parser" ,totem-pl-parser)
5033 ("libgudev" ,libgudev)
5034 ;;("libmtp" ,libmtp) FIXME: Not detected
5035 ("libsecret" ,libsecret)
5036 ("libsoup" ,libsoup)
5037 ("libnotify" ,libnotify)
5038 ("libpeas" ,libpeas)
5040 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5041 ;;("clutter" ,clutter)
5042 ;;("clutter-gtk" ,clutter-gtk)
5043 ;;("clutter-gst" ,clutter-gst)
5044 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5051 ("brasero" ,brasero)))
5052 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5053 (synopsis "Music player for GNOME")
5054 (description "Rhythmbox is a music playing application for GNOME. It
5055 supports playlists, song ratings, and any codecs installed through gstreamer.")
5056 (license license:gpl2+)))
5064 (uri (string-append "mirror://gnome/sources/" name "/"
5065 (version-major+minor version) "/"
5066 name "-" version ".tar.xz"))
5069 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5070 (build-system meson-build-system)
5073 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5074 (list (string-append "-Dc_link_args=-Wl,-rpath="
5075 (assoc-ref %outputs "out") "/lib/eog"))
5077 (modify-phases %standard-phases
5078 (add-after 'unpack 'skip-gtk-update-icon-cache
5079 ;; Don't create 'icon-theme.cache'.
5081 (substitute* "meson_post_install.py"
5082 (("gtk-update-icon-cache") "true"))
5084 (add-after 'install 'wrap-eog
5085 (lambda* (#:key outputs #:allow-other-keys)
5086 (let ((out (assoc-ref outputs "out"))
5087 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5088 (wrap-program (string-append out "/bin/eog")
5089 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5092 `(("dconf" ,dconf)))
5094 `(("intltool" ,intltool)
5095 ("itstool" ,itstool)
5096 ("glib" ,glib "bin")
5097 ("gobject-introspection" ,gobject-introspection)
5098 ("pkg-config" ,pkg-config)
5099 ("xmllint" ,libxml2)))
5101 `(("gnome-desktop" ,gnome-desktop)
5102 ("shared-mime-info" ,shared-mime-info)
5103 ("adwaita-icon-theme" ,adwaita-icon-theme)
5106 ("libexif" ,libexif)
5107 ("libpeas" ,libpeas)
5108 ("libjpeg" ,libjpeg-turbo)
5109 ("librsvg" ,librsvg-next)
5110 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5112 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5113 (synopsis "GNOME image viewer")
5114 (description "Eye of GNOME is the GNOME image viewer. It
5115 supports image conversion, rotation, and slideshows.")
5116 (license license:gpl2+)))
5118 (define-public eog-plugins
5119 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5120 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5121 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5122 ;; 'XDG_DATA_DIRS' appropriately set.
5124 (name "eog-plugins")
5128 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5129 (version-major+minor version) "/"
5130 "eog-plugins-" version ".tar.xz"))
5133 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5134 (build-system gnu-build-system)
5135 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5136 (synopsis "Extensions for the Eye of GNOME image viewer")
5138 `(("pkg-config" ,pkg-config)
5139 ("gettext" ,gettext-minimal)))
5144 ("libpeas" ,libpeas)
5145 ("libexif" ,libexif)
5146 ("libchamplain" ,libchamplain)))
5148 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5152 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5153 @item @dfn{Map}, which displays a map of where the picture was taken on the
5155 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5158 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5159 ;; long suspicious byte stream that goes to a
5160 ;; ".gresource.eog_postasa_plugin" ELF section.
5161 (license license:gpl2+)))
5163 (define-public libgudev
5169 (uri (string-append "mirror://gnome/sources/" name "/"
5170 version "/" name "-" version ".tar.xz"))
5173 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5174 (build-system gnu-build-system)
5177 ;; umockdev depends on libgudev.
5178 (list "--disable-umockdev")))
5180 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5181 ("gobject-introspection" ,gobject-introspection)
5182 ("pkg-config" ,pkg-config)))
5184 `(("glib" ,glib))) ; required by gudev-1.0.pc
5187 (home-page "https://wiki.gnome.org/Projects/libgudev")
5188 (synopsis "GObject bindings for libudev")
5190 "This library provides GObject bindings for libudev. It was originally
5191 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5192 (license license:lgpl2.1+)))
5200 (uri (string-append "mirror://gnome/sources/gvfs/"
5201 (version-major+minor version) "/"
5202 "gvfs-" version ".tar.xz"))
5205 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5206 (build-system meson-build-system)
5210 (list "-Dsystemduserunitdir=no"
5212 ;; Otherwise, the RUNPATH will lack the final path component.
5213 (string-append "-Dc_link_args=-Wl,-rpath="
5214 (assoc-ref %outputs "out") "/lib/gvfs"))))
5216 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5217 ("gettext" ,gettext-minimal)
5218 ("gtk-doc" ,gtk-doc)
5219 ("pkg-config" ,pkg-config)
5220 ("xsltproc" ,libxslt)))
5223 ("docbook-xml" ,docbook-xml-4.2)
5224 ("docbook-xsl" ,docbook-xsl)
5226 ("elogind" ,elogind)
5230 ("gnome-online-accounts" ,gnome-online-accounts)
5231 ("libarchive" ,libarchive)
5232 ("libbluray" ,libbluray)
5234 ("libcdio-paranoia" ,libcdio-paranoia)
5235 ("libgcrypt" ,libgcrypt)
5236 ("libgdata" ,libgdata)
5237 ("libgphoto2" ,libgphoto2)
5238 ("libgudev" ,libgudev)
5239 ("libimobiledevice" ,libimobiledevice)
5242 ("libsecret" ,libsecret)
5243 ("libsmbclient" ,samba)
5244 ("libsoup" ,libsoup)
5245 ("libxml2" ,libxml2)
5246 ("openssh" ,openssh)
5248 ("udisks" ,udisks)))
5249 (home-page "https://wiki.gnome.org/gvfs/")
5250 (synopsis "Userspace virtual file system for GIO")
5252 "GVFS is a userspace virtual file system designed to work with the I/O
5253 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5254 to all applications using the GIO API. It also supports exposing the GVFS
5255 mounts to non-GIO applications using FUSE.
5257 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5259 (license license:lgpl2.0+)))
5268 (url "https://github.com/hughsie/libgusb.git")
5270 (file-name (git-file-name name version))
5273 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5274 (build-system meson-build-system)
5276 `(("gobject-introspection" ,gobject-introspection)
5277 ("pkg-config" ,pkg-config)
5279 ("gtk-doc" ,gtk-doc)))
5281 ;; Both of these are required by gusb.pc.
5283 ("libusb" ,libusb)))
5285 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5286 (home-page "https://github.com/hughsie/libgusb")
5287 (synopsis "GLib binding for libusb1")
5289 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5290 asynchronous control, bulk and interrupt transfers with proper cancellation
5291 and integration into a mainloop. This makes it easy to integrate low level
5292 USB transfers with your high-level application or system daemon.")
5293 (license license:lgpl2.1+)))
5295 (define-public simple-scan
5297 (name "simple-scan")
5298 (version "3.36.2.1")
5302 (uri (string-append "mirror://gnome/sources/simple-scan/"
5303 (version-major+minor version) "/"
5304 "simple-scan-" version ".tar.xz"))
5306 (base32 "0aq1pf0wk536b91as54684xgmhl7lps0k2xcwha5wh6h1isyb35v"))))
5307 (build-system meson-build-system)
5308 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5310 '(#:glib-or-gtk? #t))
5316 ("gdk-pixbuf" ,gdk-pixbuf)
5318 ("libsane" ,sane-backends)))
5320 `(("gettext" ,gettext-minimal)
5321 ("itstool" ,itstool)
5322 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5323 ("pkg-config" ,pkg-config)
5325 ("xmllint" ,libxml2)))
5326 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5327 (synopsis "Document and image scanner")
5329 "Document Scanner is an easy-to-use application that lets you connect your
5330 scanner and quickly capture images and documents in an appropriate format. It
5331 supports any scanner for which a suitable SANE driver is available, which is
5332 almost all of them.")
5333 (license license:gpl3+)))
5335 (define-public eolie
5338 (version "0.9.98.1")
5341 (uri (string-append "https://adishatz.org/eolie/eolie-"
5345 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5346 (build-system meson-build-system)
5350 (modify-phases %standard-phases
5351 (add-after 'unpack 'skip-gtk-update-icon-cache
5352 ;; Don't create 'icon-theme.cache'.
5354 (substitute* "meson_post_install.py"
5355 (("gtk-update-icon-cache") "true"))
5357 (add-after 'wrap 'wrap-more
5358 (lambda* (#:key inputs outputs #:allow-other-keys)
5359 (let* ((out (assoc-ref outputs "out"))
5360 ;; These libraries must be on LD_LIBRARY_PATH.
5361 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5362 "atk" "gtk+" "gsettings-desktop-schemas"
5363 "gobject-introspection"))
5366 (string-append (assoc-ref inputs lib) "/lib"))
5369 (wrap-program (string-append out "/bin/eolie")
5370 `("LD_LIBRARY_PATH" ":" prefix (,path))
5371 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5372 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5375 `(("intltool" ,intltool)
5376 ("itstool" ,itstool)
5377 ("pkg-config" ,pkg-config)
5379 ("glib:bin" ,glib "bin")))
5381 `(("gobject-introspection" ,gobject-introspection)
5382 ("glib-networking" ,glib-networking)
5385 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5386 ("python" ,python-wrapper)
5387 ("python-dateutil" ,python-dateutil)
5388 ("python-pyfxa" ,python-pyfxa)
5389 ("python-pygobject" ,python-pygobject)
5390 ("python-pycairo" ,python-pycairo)
5391 ("python-pycrypto" ,python-pycrypto)
5392 ("libsecret" ,libsecret)
5393 ("gtkspell3" ,gtkspell3)
5394 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5395 ("webkitgtk" ,webkitgtk)))
5396 (home-page "https://wiki.gnome.org/Apps/Eolie")
5397 (synopsis "Web browser for GNOME")
5399 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5400 a secret password store, an adblocker, and a modern UI.")
5401 (license license:gpl3+)))
5403 (define-public epiphany
5409 (uri (string-append "mirror://gnome/sources/epiphany/"
5410 (version-major+minor version) "/"
5411 "epiphany-" version ".tar.xz"))
5414 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5416 (build-system meson-build-system)
5420 (modify-phases %standard-phases
5421 (add-after 'unpack 'skip-gtk-update-icon-cache
5422 ;; Don't create 'icon-theme.cache'.
5424 (substitute* "post_install.py"
5425 (("gtk-update-icon-cache") "true"))
5427 (add-after 'unpack 'disable-failing-tests
5429 (substitute* "tests/meson.build"
5430 ;; embed_shell fails, because webkitgtk apparently no longer supports
5431 ;; overriding the ftp schema
5432 ;; web_app_utils fails due to missing network access
5433 (("(embed_shell|web_app_utils)_test,")
5434 "find_program('sh'), args: ['-c', 'exit 77'],"))
5436 (add-before 'check 'pre-check
5438 ;; Tests require a running X server.
5439 (system "Xvfb :1 &")
5440 (setenv "DISPLAY" ":1")
5443 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5444 (list (string-append "-Dc_link_args=-Wl,-rpath="
5445 (assoc-ref %outputs "out") "/lib/epiphany"))))
5447 `(("dconf" ,dconf)))
5449 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5450 ("glib:bin" ,glib "bin") ; for glib-mkenums
5451 ("intltool" ,intltool)
5452 ("itstool" ,itstool)
5453 ("pkg-config" ,pkg-config)
5454 ("xmllint" ,libxml2)
5455 ("xorg-server" ,xorg-server-for-tests)))
5459 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5460 ("glib-networking" ,glib-networking)
5461 ("gnome-desktop" ,gnome-desktop)
5462 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5463 ("json-glib" ,json-glib)
5464 ("iso-codes" ,iso-codes)
5465 ("libdazzle" ,libdazzle)
5466 ("libnotify" ,libnotify)
5467 ("libsecret" ,libsecret)
5468 ("libxslt" ,libxslt)
5469 ("nettle" ,nettle) ; for hogweed
5471 ("webkitgtk" ,webkitgtk)))
5472 (home-page "https://wiki.gnome.org/Apps/Web")
5473 (synopsis "GNOME web browser")
5475 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5476 principles are simplicity and standards compliance.")
5477 (license license:gpl2+)))
5479 (define-public d-feet
5485 (uri (string-append "mirror://gnome/sources/" name "/"
5486 (version-major+minor version) "/"
5487 name "-" version ".tar.xz"))
5490 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5491 (build-system glib-or-gtk-build-system)
5493 '(#:out-of-source? #f ; tests need to run in the source directory.
5495 (modify-phases %standard-phases
5499 ;; The test suite requires a running X server.
5500 (system "Xvfb :1 &")
5501 (setenv "DISPLAY" ":1")
5502 ;; Don't fail on missing '/etc/machine-id'.
5503 (setenv "DBUS_FATAL_WARNINGS" "0")
5504 ;; tests.py and window.py don't meet E402:
5505 ;; E402 module level import not at top of file
5506 (substitute* "src/tests/Makefile"
5507 (("--ignore=E123") "--ignore=E123,E402"))
5510 'install 'wrap-program
5511 (lambda* (#:key outputs #:allow-other-keys)
5512 (let ((prog (string-append (assoc-ref outputs "out")
5515 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5516 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5519 `(("intltool" ,intltool)
5520 ("itstool" ,itstool)
5521 ("pkg-config" ,pkg-config)
5522 ("python-pep8" ,python-pep8)
5523 ("xmllint" ,libxml2)
5524 ("xorg-server" ,xorg-server-for-tests)))
5526 `(("gobject-introspection" ,gobject-introspection)
5528 ("python" ,python-wrapper)
5529 ("hicolor-icon-theme" ,hicolor-icon-theme)
5530 ("python-pygobject" ,python-pygobject)))
5531 (home-page "https://wiki.gnome.org/Apps/DFeet")
5532 (synopsis "D-Bus debugger")
5534 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5535 of running programs and invoke methods on those interfaces.")
5536 (license license:gpl2+)))
5538 (define-public yelp-xsl
5544 (uri (string-append "mirror://gnome/sources/" name "/"
5545 (version-major+minor version) "/"
5546 name "-" version ".tar.xz"))
5549 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5550 (build-system gnu-build-system)
5552 `(("gettext-minimal" ,gettext-minimal)
5553 ("itstool" ,itstool)
5554 ("xmllint" ,libxml2)))
5555 (home-page "https://wiki.gnome.org/Apps/Yelp")
5556 (synopsis "XSL stylesheets for Yelp")
5558 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5559 to format Docbook and Mallard documents.")
5560 (license license:gpl2+)))
5568 (uri (string-append "mirror://gnome/sources/" name "/"
5569 (version-major+minor version) "/"
5570 name "-" version ".tar.xz"))
5573 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5574 (build-system glib-or-gtk-build-system)
5576 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5577 ("intltool" ,intltool)
5578 ("itstool" ,itstool)
5579 ("pkg-config" ,pkg-config)))
5581 `(("dconf" ,dconf)))
5583 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5584 ("libxslt" ,libxslt)
5586 ("webkitgtk" ,webkitgtk)
5587 ("yelp-xsl" ,yelp-xsl)))
5588 (home-page "https://wiki.gnome.org/Apps/Yelp")
5589 (synopsis "GNOME help browser")
5591 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5592 man, info, and HTML documents. It can locate documents according to the
5593 freedesktop.org help system specification.")
5594 (license license:gpl2+)))
5596 (define-public yelp-tools
5602 (uri (string-append "mirror://gnome/sources/" name "/"
5603 (version-major+minor version) "/"
5604 name "-" version ".tar.xz"))
5607 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5608 (build-system gnu-build-system)
5610 `(("pkg-config" ,pkg-config)))
5612 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5613 `(("itstool" ,itstool)
5614 ("xmllint" ,libxml2)
5615 ("xsltproc" ,libxslt)))
5617 `(("yelp-xsl" ,yelp-xsl)))
5618 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5619 (synopsis "Yelp documentation tools")
5621 "Yelp-tools is a collection of scripts and build utilities to help create,
5622 manage, and publish documentation for Yelp and the web. Most of the heavy
5623 lifting is done by packages like yelp-xsl and itstool. This package just
5624 wraps things up in a developer-friendly way.")
5625 (license license:gpl2+)))
5627 (define-public libgee
5633 (uri (string-append "mirror://gnome/sources/libgee/"
5634 (version-major+minor version) "/"
5635 "libgee-" version ".tar.xz"))
5638 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5639 (build-system gnu-build-system)
5642 (modify-phases %standard-phases
5643 (add-after 'unpack 'fix-introspection-install-dir
5644 (lambda* (#:key outputs #:allow-other-keys)
5645 (let ((out (assoc-ref outputs "out")))
5646 (substitute* "gee/Makefile.in"
5647 (("@INTROSPECTION_GIRDIR@")
5648 (string-append out "/share/gir-1.0/"))
5649 (("@INTROSPECTION_TYPELIBDIR@")
5650 (string-append out "/lib/girepository-1.0/")))))))))
5652 `(("glib" ,glib "bin")
5653 ("pkg-config" ,pkg-config)))
5656 ("gobject-introspection" ,gobject-introspection)))
5657 (home-page "https://wiki.gnome.org/Projects/Libgee")
5658 (synopsis "GObject collection library")
5660 "Libgee is a utility library providing GObject-based interfaces and
5661 classes for commonly used data structures.")
5662 (license license:lgpl2.1+)))
5664 (define-public gexiv2
5670 (uri (string-append "mirror://gnome/sources/" name "/"
5671 (version-major+minor version) "/"
5672 name "-" version ".tar.xz"))
5675 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5676 (build-system meson-build-system)
5679 ("glib" ,glib "bin")
5680 ("pkg-config" ,pkg-config)
5683 ;; Listed in "Requires" section of gexiv2.pc
5684 `(("exiv2" ,exiv2)))
5687 ("gobject-introspection" ,gobject-introspection)))
5688 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5689 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5691 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5692 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5693 metadata in photo and video files of various formats.")
5694 (license license:gpl2+)))
5696 (define-public shotwell
5702 (uri (string-append "mirror://gnome/sources/shotwell/"
5703 (version-major+minor version) "/"
5704 "shotwell-" version ".tar.xz"))
5707 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
5708 (build-system meson-build-system)
5712 (modify-phases %standard-phases
5713 (add-after 'unpack 'skip-gtk-update-icon-cache
5715 (substitute* "build-aux/meson/postinstall.py"
5716 (("gtk-update-icon-cache") (which "true"))
5717 (("update-desktop-database") (which "true")))
5720 `(("dconf" ,dconf)))
5722 `(("gettext" ,gettext-minimal)
5723 ("glib:bin" ,glib "bin")
5724 ("itstool" ,itstool)
5725 ("pkg-config" ,pkg-config)
5730 ("gst-plugins-base" ,gst-plugins-base)
5731 ("gstreamer" ,gstreamer)
5732 ("json-glib" ,json-glib)
5733 ("libgdata" ,libgdata)
5735 ("libgphoto2" ,libgphoto2)
5736 ("libgudev" ,libgudev)
5738 ("libsoup" ,libsoup)
5739 ("libxml2" ,libxml2)
5741 ("webkitgtk" ,webkitgtk)))
5742 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5743 (synopsis "Photo manager for GNOME 3")
5745 "Shotwell is a digital photo manager designed for the GNOME desktop
5746 environment. It allows you to import photos from disk or camera, organize
5747 them by keywords and events, view them in full-window or fullscreen mode, and
5748 share them with others via social networking and more.")
5749 (license license:lgpl2.1+)))
5751 (define-public file-roller
5753 (name "file-roller")
5757 (uri (string-append "mirror://gnome/sources/file-roller/"
5758 (version-major+minor version) "/"
5759 "file-roller-" version ".tar.xz"))
5762 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5763 (build-system meson-build-system)
5765 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5766 ("intltool" ,intltool)
5767 ("itstool" ,itstool)
5768 ("pkg-config" ,pkg-config)
5769 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5770 ("glib:bin" ,glib "bin")))
5771 ;; TODO: Add libnautilus.
5774 ("gdk-pixbuf" ,gdk-pixbuf)
5775 ("json-glib" ,json-glib)
5776 ("libarchive" ,libarchive)
5777 ("libnotify" ,libnotify)
5779 ("libxml2" ,libxml2)))
5780 (synopsis "Graphical archive manager for GNOME")
5781 (description "File Roller is an archive manager for the GNOME desktop
5782 environment that allows users to view, unpack, and create compressed archives
5783 such as gzip tarballs.")
5784 (home-page "http://fileroller.sourceforge.net/")
5785 (license license:gpl2+)))
5787 (define-public gnome-session
5789 (name "gnome-session")
5793 (uri (string-append "mirror://gnome/sources/" name "/"
5794 (version-major+minor version) "/"
5795 name "-" version ".tar.xz"))
5798 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5802 (modify-phases %standard-phases
5803 (add-before 'configure 'pre-configure
5804 (lambda* (#:key outputs #:allow-other-keys)
5805 ;; Use elogind instead of systemd.
5806 (substitute* "meson.build"
5807 (("libsystemd-login") "libelogind")
5808 (("and libsystemd_daemon_dep.found.*") ","))
5809 (substitute* "gnome-session/gsm-systemd.c"
5810 (("#include <systemd/sd-login.h>")
5811 "#include <elogind/sd-login.h>"))
5812 ;; Remove uses of the systemd daemon.
5813 (substitute* "gnome-session/gsm-autostart-app.c"
5814 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5816 (add-after 'install 'wrap-gnome-session
5817 (lambda* (#:key inputs outputs #:allow-other-keys)
5818 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5819 (let ((glib (assoc-ref inputs "glib:bin"))
5820 (out (assoc-ref outputs "out")))
5821 (wrap-program (string-append out "/bin/gnome-session")
5822 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5826 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5827 "-Dman=false" ; FIXME: disabled because of docbook validation error
5828 "-Dsystemd_journal=false")))
5829 (build-system meson-build-system)
5831 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5832 ("pkg-config" ,pkg-config)
5833 ("intltool" ,intltool)
5834 ("xsltproc" ,libxslt)
5835 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5836 ("docbook-xsl" ,docbook-xsl)
5837 ("docbook-xml" ,docbook-xml)
5840 `(("elogind" ,elogind)
5841 ("gnome-desktop" ,gnome-desktop)
5842 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5844 ("json-glib" ,json-glib)
5846 ("libxcomposite" ,libxcomposite)
5847 ("libxtst" ,libxtst)
5850 ("xtrans" ,xtrans)))
5851 (synopsis "Session manager for GNOME")
5853 "This package contains the GNOME session manager, as well as a
5854 configuration program to choose applications starting on login.")
5855 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5856 (license license:gpl2+)))
5864 (uri (string-append "mirror://gnome/sources/" name "/"
5865 (version-major+minor version) "/"
5866 name "-" version ".tar.xz"))
5869 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
5870 (build-system gnu-build-system)
5873 (modify-phases %standard-phases
5877 ;; The test suite requires a running X server.
5878 (system "Xvfb :1 &")
5879 (setenv "DISPLAY" ":1")
5881 ;; For the missing /etc/machine-id.
5882 (setenv "DBUS_FATAL_WARNINGS" "0")
5884 ;; Our mozjs-38 package does not compile the required Intl API
5885 ;; support for these failing tests.
5886 (substitute* "installed-tests/js/testLocale.js"
5887 ((".*toBeDefined.*") "")
5888 ((".*expect\\(datestr\\).*") ""))
5889 (substitute* "installed-tests/scripts/testCommandLine.sh"
5894 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5895 ("pkg-config" ,pkg-config)
5896 ("xmllint" ,libxml2)
5898 ("dbus-launch" ,dbus)
5899 ("dconf" ,dconf) ; required to properly store settings
5900 ("uuidgen" ,util-linux)
5901 ("xvfb" ,xorg-server-for-tests)))
5903 ;; These are all in the Requires.private field of gjs-1.0.pc.
5905 ("gobject-introspection" ,gobject-introspection)
5906 ("mozjs" ,mozjs-60)))
5909 ("readline" ,readline)))
5910 (synopsis "Javascript bindings for GNOME")
5911 (home-page "https://live.gnome.org/Gjs")
5913 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5914 javascript engine and the GObject introspection framework.")
5915 (license license:gpl2+)))
5917 (define-public gedit
5923 (uri (string-append "mirror://gnome/sources/" name "/"
5924 (version-major+minor version) "/"
5925 name "-" version ".tar.xz"))
5928 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
5929 (build-system meson-build-system)
5933 ;; Otherwise, the RUNPATH will lack the final path component.
5934 (list (string-append "-Dc_link_args=-Wl,-rpath="
5935 (assoc-ref %outputs "out") "/lib/gedit"))
5937 ;; XXX: Generated .h files are sometimes used before being built.
5938 #:parallel-build? #f
5941 (modify-phases %standard-phases
5942 (add-after 'unpack 'skip-gtk-update-icon-cache
5943 ;; Don't create 'icon-theme.cache'.
5945 (substitute* "build-aux/meson/post_install.py"
5946 (("gtk-update-icon-cache") (which "true")))
5948 (add-after 'unpack 'patch-libgd-fetch
5949 (lambda* (#:key inputs #:allow-other-keys)
5950 (let ((libgd (assoc-ref inputs "libgd")))
5951 ;; Calling git is unnecessary because libgd is fetched as a
5952 ;; native input to this package.
5953 (substitute* "meson.build"
5955 (copy-recursively libgd "subprojects/libgd")
5957 (add-after 'install 'wrap-gedit
5958 (lambda* (#:key inputs outputs #:allow-other-keys)
5959 (let ((out (assoc-ref outputs "out"))
5960 (gtksourceview (assoc-ref inputs "gtksourceview"))
5961 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5962 (python-path (getenv "PYTHONPATH")))
5963 (wrap-program (string-append out "/bin/gedit")
5965 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5966 `("PYTHONPATH" ":" prefix (,python-path))
5967 ;; For language-specs.
5968 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5972 `(("dconf" ,dconf)))
5974 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5975 ("intltool" ,intltool)
5976 ("itstool" ,itstool)
5977 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5978 ("gobject-introspection" ,gobject-introspection)
5983 (url "https://gitlab.gnome.org/GNOME/libgd")
5984 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5985 (file-name (git-file-name "libgd" version))
5987 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
5988 ("pkg-config" ,pkg-config)))
5993 ("gtksourceview" ,gtksourceview)
5994 ("libpeas" ,libpeas)
5995 ("libxml2" ,libxml2)
5996 ("iso-codes" ,iso-codes)
5997 ("python-pygobject" ,python-pygobject)
5999 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6002 ("adwaita-icon-theme" ,adwaita-icon-theme)
6003 ("libsoup" ,libsoup)
6004 ("gnome-desktop" ,gnome-desktop)))
6005 (home-page "https://wiki.gnome.org/Apps/Gedit")
6006 (synopsis "GNOME text editor")
6007 (description "While aiming at simplicity and ease of use, gedit is a
6008 powerful general purpose text editor.")
6009 (license license:gpl2+)))
6011 (define-public zenity
6017 (uri (string-append "mirror://gnome/sources/zenity/"
6018 (version-major+minor version) "/"
6019 "zenity-" version ".tar.xz"))
6022 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6023 (build-system gnu-build-system)
6025 `(("gettext" ,gettext-minimal)
6026 ("itstool" ,itstool)
6027 ("pkg-config" ,pkg-config)))
6029 `(("libnotify" ,libnotify)
6030 ("webkitgtk" ,webkitgtk)))
6031 (synopsis "Display graphical dialog boxes from shell scripts")
6032 (home-page "https://www.gnome.org")
6034 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6035 to display dialog boxes from the commandline and shell scripts.")
6036 (license license:lgpl2.0+)))
6038 (define-public mutter
6044 (uri (string-append "mirror://gnome/sources/" name "/"
6045 (version-major+minor version) "/"
6046 name "-" version ".tar.xz"))
6049 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6050 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6051 ;; versions of cogl and clutter. As a result, many of the inputs,
6052 ;; propagated-inputs, and configure flags used in cogl and clutter are
6053 ;; needed here as well.
6054 (build-system meson-build-system)
6056 '(;; XXX: All mutter tests fail with the following error:
6057 ;; Settings schema 'org.gnome.mutter' is not installed
6061 ;; TODO: Enable profiler when Sysprof is packaged.
6062 (list "-Dprofiler=false"
6063 ;; Otherwise, the RUNPATH will lack the final path component.
6064 (string-append "-Dc_link_args=-Wl,-rpath="
6065 (assoc-ref %outputs "out") "/lib:"
6066 (assoc-ref %outputs "out") "/lib/mutter-5")
6068 ;; The following flags are needed for the bundled clutter
6069 (string-append "-Dxwayland_path="
6070 (assoc-ref %build-inputs "xorg-server-xwayland")
6073 ;; the remaining flags are needed for the bundled cogl
6074 (string-append "-Dopengl_libname="
6075 (assoc-ref %build-inputs "mesa")
6078 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6079 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6080 ("gobject-introspection" ,gobject-introspection)
6081 ("intltool" ,intltool)
6082 ("pkg-config" ,pkg-config)
6083 ("xorg-server" ,xorg-server-for-tests)
6085 ("autoconf" ,autoconf)
6086 ("automake" ,automake)
6087 ("libtool" ,libtool)))
6089 `(;; libmutter.pc refers to these:
6090 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6092 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6095 ("gdk-pixbuf" ,gdk-pixbuf)
6097 ("json-glib" ,json-glib)
6098 ("libinput" ,libinput)
6100 ("libxcomposite" ,libxcomposite)
6101 ("libxdamage" ,libxdamage)
6102 ("libxext" ,libxext)
6103 ("libxfixes" ,libxfixes)
6104 ("libxkbcommon" ,libxkbcommon)
6105 ("libxrandr" ,libxrandr)
6109 ("xinput" ,xinput)))
6111 `(("elogind" ,elogind)
6112 ("gnome-desktop" ,gnome-desktop)
6113 ("gnome-settings-daemon" ,gnome-settings-daemon)
6114 ("libcanberra-gtk" ,libcanberra)
6115 ("libgudev" ,libgudev)
6118 ("libwacom" ,libwacom)
6119 ("libxkbfile" ,libxkbfile)
6120 ("libxrandr" ,libxrandr)
6121 ("libxtst" ,libxtst)
6122 ("pipewire" ,pipewire)
6123 ("startup-notification" ,startup-notification)
6124 ("upower-glib" ,upower)
6125 ("xkeyboard-config" ,xkeyboard-config)
6126 ("xorg-server-xwayland" ,xorg-server-xwayland)
6127 ("zenity" ,zenity)))
6128 (synopsis "Window and compositing manager")
6129 (home-page "https://www.gnome.org")
6131 "Mutter is a window and compositing manager that displays and manages your
6132 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6133 Clutter toolkit with solid window-management logic inherited from the Metacity
6135 (license license:gpl2+)))
6137 (define-public gnome-online-accounts
6139 (name "gnome-online-accounts")
6143 (uri (string-append "mirror://gnome/sources/" name "/"
6144 (version-major+minor version) "/"
6145 name "-" version ".tar.xz"))
6148 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6149 (outputs '("out" "lib"))
6150 (build-system glib-or-gtk-build-system)
6153 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6155 (modify-phases %standard-phases
6156 (add-before 'configure 'patch-libgoa-output
6157 (lambda* (#:key outputs #:allow-other-keys)
6158 (let ((lib (assoc-ref outputs "lib")))
6159 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6161 (("@exec_prefix@") lib)
6162 (("@libdir@") (string-append lib "/lib"))
6163 (("@includedir@") (string-append lib "/include"))
6164 (("@datadir@") (string-append lib "/share")))
6165 ;; Make sure gobject-introspection knows about the output
6166 ;; too (see <https://bugs.gnu.org/36535>).
6167 (setenv "outputs" "out lib")
6170 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6171 ("gobject-introspection" ,gobject-introspection)
6172 ("intltool" ,intltool)
6173 ("pkg-config" ,pkg-config)
6175 ("xsltproc" ,libxslt)))
6177 `(("glib" ,glib) ; required by goa-1.0.pc
6178 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6180 `(("docbook-xsl" ,docbook-xsl)
6181 ("json-glib" ,json-glib)
6182 ("libsecret" ,libsecret)
6184 ("webkitgtk" ,webkitgtk)))
6185 (synopsis "Single sign-on framework for GNOME")
6186 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6188 "GNOME Online Accounts provides interfaces so that applications and
6189 libraries in GNOME can access the user's online accounts. It has providers for
6190 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6191 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6192 (license license:lgpl2.0+)))
6194 (define-public evolution-data-server
6196 (name "evolution-data-server")
6200 (uri (string-append "mirror://gnome/sources/" name "/"
6201 (version-major+minor version) "/"
6202 name "-" version ".tar.xz"))
6203 (patches (search-patches "evolution-data-server-locales.patch"
6204 "evolution-data-server-libical-compat.patch"))
6207 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6208 (build-system cmake-build-system)
6211 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6212 (runpaths (map (lambda (s)
6213 (string-append lib "/evolution-data-server/" s))
6214 '("addressbook-backends" "calendar-backends"
6215 "camel-providers" "credential-modules"
6216 "registry-modules"))))
6217 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6218 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6219 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6220 "-DENABLE_VALA_BINDINGS=ON"
6221 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6222 (string-append lib "/evolution-data-server;")
6223 (string-join runpaths ";"))
6224 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6226 (modify-phases %standard-phases
6227 (add-after 'unpack 'disable-failing-tests
6229 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6230 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6231 (delete-file-recursively "tests/book-migration")
6232 (substitute* "tests/CMakeLists.txt"
6233 (("add_subdirectory\\(book-migration\\)") ""))
6235 (add-after 'unpack 'patch-paths
6237 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6238 "tests/libedata-book/data-test-utils.c"
6239 "tests/libedata-book/test-book-cache-utils.c"
6240 "tests/libedata-cal/test-cal-cache-utils.c")
6241 (("/bin/rm") (which "rm")))
6243 (add-before 'configure 'dont-override-rpath
6245 (substitute* "CMakeLists.txt"
6246 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6247 ;; Remove it so the configure flag is respected.
6248 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6251 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6252 ("gobject-introspection" ,gobject-introspection)
6254 ("intltool" ,intltool)
6255 ("pkg-config" ,pkg-config)
6257 ("python" ,python-wrapper)))
6259 ;; These are all in the Requires field of .pc files.
6261 ("libical" ,libical)
6262 ("libsecret" ,libsecret)
6263 ("libsoup" ,libsoup)
6265 ("sqlite" ,sqlite)))
6269 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6270 ("json-glib" ,json-glib)
6271 ("libcanberra" ,libcanberra)
6272 ("libgweather" ,libgweather)
6273 ("mit-krb5" ,mit-krb5)
6274 ("openldap" ,openldap)
6275 ("webkitgtk" ,webkitgtk)))
6276 (synopsis "Store address books and calendars")
6277 (home-page "https://wiki.gnome.org/Apps/Evolution")
6279 "This package provides a unified backend for programs that work with
6280 contacts, tasks, and calendar information. It was originally developed for
6281 Evolution (hence the name), but is now used by other packages as well.")
6282 (license license:lgpl2.0)))
6284 (define-public caribou
6290 (uri (string-append "mirror://gnome/sources/" name "/"
6291 (version-major+minor version) "/"
6292 name "-" version ".tar.xz"))
6295 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6296 (build-system glib-or-gtk-build-system)
6299 (modify-phases %standard-phases
6302 (lambda* (#:key outputs #:allow-other-keys)
6303 (let ((out (assoc-ref outputs "out")))
6304 ;; Use absolute shared library path in Caribou-1.0.typelib.
6305 (substitute* "libcaribou/Makefile"
6306 (("--shared-library=libcaribou.so")
6307 (string-append "--shared-library="
6308 out "/lib/libcaribou.so")))
6310 (add-after 'install 'wrap-programs
6311 (lambda* (#:key outputs #:allow-other-keys)
6312 (let* ((out (assoc-ref outputs "out"))
6313 (python-path (getenv "PYTHONPATH"))
6314 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6318 `("PYTHONPATH" ":" prefix (,python-path))
6319 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6320 (list (string-append out "/bin/caribou-preferences")
6321 (string-append out "/libexec/antler-keyboard"))))
6324 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6325 ("gobject-introspection" ,gobject-introspection)
6326 ("intltool" ,intltool)
6327 ("pkg-config" ,pkg-config)
6330 ("xsltproc" ,libxslt)))
6332 ;; caribou-1.0.pc refers to all these.
6333 `(("libgee" ,libgee)
6334 ("libxklavier" ,libxklavier)
6335 ("libxtst" ,libxtst)
6338 `(("clutter" ,clutter)
6341 ("python-pygobject" ,python-pygobject)))
6342 (synopsis "Text entry and UI navigation application")
6343 (home-page "https://wiki.gnome.org/Projects/Caribou")
6345 "Caribou is an input assistive technology intended for switch and pointer
6347 (license license:lgpl2.1)))
6349 (define-public network-manager
6351 (name "network-manager")
6355 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6356 (version-major+minor version) "/"
6357 "NetworkManager-" version ".tar.xz"))
6358 (patches (search-patches "nm-plugin-path.patch"))
6361 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6362 (modules '((guix build utils)))
6365 (substitute* "src/devices/wwan/nm-modem-manager.c"
6366 (("systemd") "elogind"))
6368 (build-system gnu-build-system)
6370 "doc")) ; 8 MiB of gtk-doc HTML
6373 (let ((out (assoc-ref %outputs "out"))
6374 (doc (assoc-ref %outputs "doc"))
6375 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6377 (list "--with-libnm-glib" ; needed by network-manager-applet
6378 "--with-systemd-journal=no"
6379 "--with-session-tracking=elogind"
6380 "--with-suspend-resume=elogind"
6381 "--with-consolekit=no"
6382 "--with-crypto=gnutls"
6383 "--disable-config-plugin-ibft"
6385 "--localstatedir=/var"
6386 (string-append "--with-udev-dir="
6388 (string-append "--with-dbus-sys-dir="
6389 out "/etc/dbus-1/system.d")
6390 (string-append "--with-html-dir="
6391 doc "/share/gtk-doc/html")
6392 (string-append "--with-dhclient=" dhclient)))
6394 (modify-phases %standard-phases
6395 ;; This bare "ls" invocation breaks some tests.
6396 (add-after 'unpack 'patch-ls-invocation
6398 (substitute* "build-aux/ltmain.sh"
6400 (string-append "`" (which "ls") " -")))
6402 (add-before 'configure 'pre-configure
6404 ;; These tests try to test aspects of network-manager's
6405 ;; functionality within restricted containers, but they don't
6406 ;; cope with being already in the Guix build jail as that jail
6407 ;; lacks some features that they would like to proxy over (like
6409 (substitute* '("Makefile.in")
6410 (("src/platform/tests/test-address-linux") " ")
6411 (("src/platform/tests/test-cleanup-linux") " ")
6412 (("src/platform/tests/test-link-linux") " ")
6413 (("src/platform/tests/test-route-linux") " ")
6414 (("src/devices/tests/test-acd") "")
6415 (("src/devices/tests/test-arping") " ")
6416 (("src/devices/tests/test-lldp") " ")
6417 (("src/tests/test-route-manager-linux") " "))
6419 (add-after 'unpack 'delete-failing-tests
6421 ;; FIXME: These three tests fail for unknown reasons.
6422 ;; ERROR:libnm-core/tests/test-general.c:5842:
6423 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6424 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6425 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6426 ;; ERROR:libnm-core/tests/test-setting.c:907:
6427 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6428 (substitute* "Makefile.in"
6429 (("libnm-core/tests/test-general") " ")
6430 (("libnm-core/tests/test-keyfile") " ")
6431 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6433 (add-before 'check 'pre-check
6435 ;; For the missing /etc/machine-id.
6436 (setenv "DBUS_FATAL_WARNINGS" "0")
6438 ;; XXX: Regenerate some of the tests that are dependent on Python version.
6439 ;; Try removing this variable for newer versions of NetworkManager.
6440 (setenv "NM_TEST_REGENERATE" "1")
6448 "nmstatedir=/tmp/nm"
6454 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6455 ("gobject-introspection" ,gobject-introspection)
6456 ("docbook-xsl" ,docbook-xsl)
6457 ("intltool" ,intltool)
6458 ("libxslt" ,libxslt)
6459 ("libxml2" ,libxml2)
6460 ("pkg-config" ,pkg-config)
6462 ("python" ,python-wrapper)
6463 ("python-dbus" ,python-dbus)
6464 ("python-pygobject" ,python-pygobject)))
6466 `(("coreutils" ,coreutils) ; for ls
6468 ("cyrus-sasl" ,cyrus-sasl)
6469 ("dbus-glib" ,dbus-glib)
6470 ("dnsmasq" ,dnsmasq)
6473 ("iptables" ,iptables)
6474 ("isc-dhcp" ,isc-dhcp)
6475 ("jansson" ,jansson)
6476 ("libgcrypt" ,libgcrypt)
6477 ("libgudev" ,libgudev)
6480 ("libsoup" ,libsoup)
6481 ("modem-manager" ,modem-manager)
6482 ("newt" ,newt) ;for the 'nmtui' console interface
6485 ("readline" ,readline)
6486 ("util-linux" ,util-linux)
6487 ("elogind" ,elogind)))
6488 (synopsis "Network connection manager")
6489 (home-page "https://www.gnome.org/projects/NetworkManager/")
6491 "NetworkManager is a system network service that manages your network
6492 devices and connections, attempting to keep active network connectivity when
6493 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6494 devices, and provides VPN integration with a variety of different VPN
6496 (license license:gpl2+)
6497 (properties '((upstream-name . "NetworkManager")))))
6499 (define-public network-manager-openvpn
6501 (name "network-manager-openvpn")
6502 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6507 "mirror://gnome/sources/NetworkManager-openvpn/"
6508 (version-major+minor version)
6509 "/NetworkManager-openvpn-" version ".tar.xz"))
6512 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6513 (build-system gnu-build-system)
6515 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6517 (modify-phases %standard-phases
6518 (add-after 'configure 'patch-path
6519 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6520 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6522 (modprobe (string-append (assoc-ref inputs "kmod")
6524 (pretty-ovpn (string-append "\"" ovpn "\"")))
6528 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6529 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6530 (("\"/sbin/openvpn\"") pretty-ovpn)
6531 (("/sbin/modprobe") modprobe)))
6532 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6535 `(("pkg-config" ,pkg-config)
6536 ("intltool" ,intltool)))
6540 ("openvpn" ,openvpn)
6541 ("network-manager" ,network-manager)
6542 ("network-manager-applet" ,network-manager-applet) ;for libnma
6543 ("libsecret" ,libsecret)))
6544 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6545 (synopsis "OpenVPN plug-in for NetworkManager")
6547 "This extension of NetworkManager allows it to take care of connections
6548 to virtual private networks (VPNs) via OpenVPN.")
6549 (license license:gpl2+)
6550 (properties `((upstream-name . "NetworkManager-openvpn")))))
6552 (define-public network-manager-vpnc
6554 (name "network-manager-vpnc")
6559 "mirror://gnome/sources/NetworkManager-vpnc/"
6560 (version-major+minor version)
6561 "/NetworkManager-vpnc-" version ".tar.xz"))
6564 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6565 (build-system gnu-build-system)
6567 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6569 (modify-phases %standard-phases
6570 (add-after 'configure 'patch-path
6571 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6572 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6574 (modprobe (string-append (assoc-ref inputs "kmod")
6576 (pretty-ovpn (string-append "\"" vpnc "\"")))
6577 (substitute* "src/nm-vpnc-service.c"
6578 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6579 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6580 (("\"/sbin/vpnc\"") pretty-ovpn)
6581 (("/sbin/modprobe") modprobe)))
6584 `(("pkg-config" ,pkg-config)
6585 ("intltool" ,intltool)))
6590 ("network-manager" ,network-manager)
6591 ("network-manager-applet" ,network-manager-applet) ;for libnma
6592 ("libsecret" ,libsecret)))
6593 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6594 (synopsis "VPNC plug-in for NetworkManager")
6596 "Support for configuring virtual private networks based on VPNC.
6597 Compatible with Cisco VPN concentrators configured to use IPsec.")
6598 (license license:gpl2+)
6599 (properties `((upstream-name . "NetworkManager-vpnc")))))
6601 (define-public network-manager-openconnect
6603 (name "network-manager-openconnect")
6608 "mirror://gnome/sources/NetworkManager-openconnect/"
6609 (version-major+minor version)
6610 "/NetworkManager-openconnect-" version ".tar.xz"))
6613 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6614 (build-system gnu-build-system)
6616 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6618 (modify-phases %standard-phases
6619 (add-after 'configure 'patch-path
6620 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6621 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6622 "/sbin/openconnect"))
6623 (modprobe (string-append (assoc-ref inputs "kmod")
6625 (pretty-ovpn (string-append "\"" openconnect "\"")))
6626 (substitute* "src/nm-openconnect-service.c"
6627 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6628 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6629 (("/sbin/modprobe") modprobe)))
6632 `(("intltool" ,intltool)
6633 ("network-manager-applet" ,network-manager-applet) ;for libnma
6634 ("pkg-config" ,pkg-config)))
6639 ("libsecret" ,libsecret)
6640 ("libxml2" ,libxml2)
6642 ("network-manager" ,network-manager)
6643 ("openconnect" ,openconnect)))
6644 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6645 (synopsis "OpenConnect plug-in for NetworkManager")
6647 "This extension of NetworkManager allows it to take care of connections
6648 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6649 Cisco's AnyConnect SSL VPN.")
6650 (license license:gpl2+)
6651 (properties `((upstream-name . "NetworkManager-openconnect")
6653 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6654 ;; file refers to account "nm-openconnect". Specify it here
6655 ;; so that 'network-manager-service-type' creates it.
6656 (user-accounts . ("nm-openconnect"))))))
6658 (define-public mobile-broadband-provider-info
6660 (name "mobile-broadband-provider-info")
6661 (version "20190116")
6665 "mirror://gnome/sources/"
6666 "mobile-broadband-provider-info/" version "/"
6667 "mobile-broadband-provider-info-" version ".tar.xz"))
6670 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6671 (build-system gnu-build-system)
6673 `(#:tests? #f)) ; no tests
6674 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6675 (synopsis "Database of broadband connection configuration")
6676 (description "Database of broadband connection configuration.")
6677 (license license:public-domain)))
6679 (define-public network-manager-applet
6681 (name "network-manager-applet")
6685 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6686 (version-major+minor version) "/"
6687 "network-manager-applet-" version ".tar.xz"))
6690 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6691 (build-system meson-build-system)
6694 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6695 (list "-Dlibnm_gtk=true")
6698 `(("intltool" ,intltool)
6699 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6700 ("gobject-introspection" ,gobject-introspection)
6701 ("gtk-doc" ,gtk-doc)
6702 ("pkg-config" ,pkg-config)))
6704 ;; libnm-gtk.pc refers to all these.
6705 `(("dbus-glib" ,dbus-glib)
6707 ("network-manager" ,network-manager)))
6710 ("iso-codes" ,iso-codes)
6711 ("libgudev" ,libgudev)
6712 ("libnotify" ,libnotify)
6713 ("libsecret" ,libsecret)
6714 ("libselinux" ,libselinux)
6715 ("jansson" ,jansson) ; for team support
6716 ("modem-manager" ,modem-manager)
6717 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6718 (synopsis "Applet for managing network connections")
6719 (home-page "https://www.gnome.org/projects/NetworkManager/")
6721 "This package contains a systray applet for NetworkManager. It displays
6722 the available networks and allows users to easily switch between them.")
6723 (license license:gpl2+)))
6725 (define-public libxml++
6731 (uri (string-append "mirror://gnome/sources/" name "/"
6732 (version-major+minor version) "/"
6733 name "-" version ".tar.xz"))
6736 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6737 (build-system gnu-build-system)
6738 ;; libxml++-3.0.pc refers to all these.
6740 `(("libxml2" ,libxml2)
6741 ("glibmm" ,glibmm)))
6744 ("pkg-config" ,pkg-config)))
6745 (home-page "http://libxmlplusplus.sourceforge.net/")
6746 (synopsis "C++ wrapper for XML parser library libxml2")
6748 "This package provides a C++ wrapper for the XML parser library
6750 (license license:lgpl2.1+)))
6752 (define-public libxml++-2
6759 (uri (string-append "mirror://gnome/sources/" name "/"
6760 (version-major+minor version) "/"
6761 name "-" version ".tar.xz"))
6764 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6772 (uri (string-append "mirror://gnome/sources/" name "/"
6773 (version-major+minor version) "/"
6774 name "-" version ".tar.xz"))
6777 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6778 (patches (search-patches "gdm-default-session.patch"))))
6779 (build-system glib-or-gtk-build-system)
6782 `("--without-plymouth"
6783 "--disable-systemd-journal"
6785 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6786 ;; instead of having to replace it (i.e., stopping the mingetty
6787 ;; service for TTY 1 before starting GDM).
6788 "--with-initial-vt=7"
6790 ;; Use '/etc/environment' for locale settings instead of the
6791 ;; systemd-specific '/etc/locale.conf'.
6792 "--with-lang-file=/etc/environment"
6794 ,(string-append "--with-udevdir="
6795 (assoc-ref %outputs "out") "/lib/udev")
6797 "--localstatedir=/var"
6798 ,(string-append "--with-default-path="
6799 (string-join '("/run/setuid-programs"
6800 "/run/current-system/profile/bin"
6801 "/run/current-system/profile/sbin")
6803 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6804 ;; XDG_DATA_DIRS so that it finds its schemas.
6805 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6807 (modify-phases %standard-phases
6809 'configure 'pre-configure
6810 (lambda* (#:key inputs outputs #:allow-other-keys)
6811 ;; We don't have <systemd/sd-daemon.h>.
6812 (substitute* '("common/gdm-log.c"
6813 "daemon/gdm-server.c"
6814 "daemon/gdm-session-worker.c"
6815 "daemon/gdm-session-worker-job.c")
6816 (("#include <systemd/sd-daemon\\.h>") ""))
6817 ;; Use elogind for sd-login.
6818 (substitute* '("common/gdm-common.c"
6819 "daemon/gdm-local-display-factory.c"
6820 "daemon/gdm-manager.c"
6821 "libgdm/gdm-user-switching.c")
6822 (("#include <systemd/sd-login\\.h>")
6823 "#include <elogind/sd-login.h>"))
6824 ;; Check for elogind.
6825 (substitute* '("configure")
6828 ;; Look for system-installed sessions in
6829 ;; /run/current-system/profile/share.
6830 (substitute* '("libgdm/gdm-sessions.c"
6831 "daemon/gdm-session.c"
6832 "daemon/gdm-display.c"
6833 "daemon/gdm-launch-environment.c")
6835 "\"/run/current-system/profile/share/x")
6836 (("DATADIR \"/wayland")
6837 "\"/run/current-system/profile/share/wayland")
6838 (("DATADIR \"/gnome")
6839 "\"/run/current-system/profile/share/gnome"))
6840 (let ((propagate '("GDM_CUSTOM_CONF"
6844 ;; XXX: Remove this once GNOME Shell is
6845 ;; a dependency of GDM.
6847 (substitute* "daemon/gdm-session.c"
6848 (("set_up_session_environment \\(self\\);")
6849 (apply string-append
6850 "set_up_session_environment (self);\n"
6853 "gdm_session_set_environment_variable "
6854 "(self, \"" name "\","
6855 "g_getenv (\"" name "\"));\n"))
6857 ;; Find the configuration file using an environment variable.
6858 (substitute* '("common/gdm-settings.c")
6859 (("GDM_CUSTOM_CONF")
6860 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6861 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6862 " : GDM_CUSTOM_CONF)")))
6863 ;; Use service-supplied path to X.
6864 (substitute* '("daemon/gdm-server.c")
6865 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6866 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6867 (substitute* '("daemon/gdm-wayland-session.c"
6868 "daemon/gdm-x-session.c")
6869 (("\"dbus-daemon\"")
6870 "g_getenv (\"GDM_DBUS_DAEMON\")")
6872 "g_getenv (\"GDM_X_SERVER\")")
6873 (("GDMCONFDIR \"/Xsession\"")
6874 "g_getenv (\"GDM_X_SESSION\")"))
6875 ;; Use an absolute path for GNOME Session.
6876 (substitute* "daemon/gdm-launch-environment.c"
6877 (("\"gnome-session\"")
6878 (string-append "\"" (assoc-ref inputs "gnome-session")
6879 "/bin/gnome-session\"")))
6880 ;; Do not automatically select the placeholder session.
6881 (substitute* "daemon/gdm-session.c"
6882 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6883 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6884 "(g_strcmp0(search_dirs[i], \""
6885 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6887 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6888 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6889 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6891 ;; GDM requires that there be at least one desktop entry
6892 ;; file. This phase installs a hidden one that simply
6893 ;; fails. This enables users to use GDM with a
6894 ;; '~/.xsession' script with no other desktop entry files.
6895 ;; See <https://bugs.gnu.org/35068>.
6896 (add-after 'install 'install-placeholder-desktop-entry
6897 (lambda* (#:key inputs outputs #:allow-other-keys)
6898 (let* ((out (assoc-ref outputs "out"))
6899 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6900 (fail (string-append sessions "/fail.desktop")))
6902 (with-output-to-file fail
6906 '("[Desktop Entry]\n"
6908 "Type=Application\n"
6910 "Comment=This session fails immediately.\n"
6914 ;; GDM needs GNOME Session to run these applications. We link
6915 ;; their autostart files in `share/gdm/greeter/autostart'
6916 ;; because GDM explicitly tells GNOME Session to look there.
6918 ;; XXX: GNOME Shell should be linked here too, but currently
6919 ;; GNOME Shell depends on GDM.
6920 (add-after 'install 'link-autostart-files
6921 (lambda* (#:key inputs outputs #:allow-other-keys)
6922 (let* ((out (assoc-ref outputs "out"))
6923 (autostart (string-append out "/share/gdm/"
6924 "greeter/autostart"))
6925 (settings (assoc-ref inputs "gnome-settings-daemon")))
6927 (with-directory-excursion autostart
6928 (for-each (lambda (desktop)
6929 (symlink desktop (basename desktop)))
6930 (find-files (string-append settings "/etc/xdg"))))
6934 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6935 ("gobject-introspection" ,gobject-introspection)
6936 ("intltool" ,intltool)
6937 ("itstool" ,itstool)
6938 ("pkg-config" ,pkg-config)
6939 ("xmllint" ,libxml2)))
6941 `(("accountsservice" ,accountsservice)
6942 ("check" ,check) ; for testing
6943 ("elogind" ,elogind)
6944 ("gnome-session" ,gnome-session)
6945 ("gnome-settings-daemon" ,gnome-settings-daemon)
6947 ("iso-codes" ,iso-codes)
6948 ("libcanberra" ,libcanberra)
6949 ("linux-pam" ,linux-pam)))
6950 (synopsis "Display manager for GNOME")
6951 (home-page "https://wiki.gnome.org/Projects/GDM/")
6953 "GNOME Display Manager is a system service that is responsible for
6954 providing graphical log-ins and managing local and remote displays.")
6955 (license license:gpl2+)))
6957 (define-public libgtop
6963 (uri (string-append "mirror://gnome/sources/libgtop/"
6964 (version-major+minor version) "/"
6965 "libgtop-" version ".tar.xz"))
6968 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6969 (build-system gnu-build-system)
6971 `(("gobject-introspection" ,gobject-introspection)
6972 ("intltool" ,intltool)
6974 ("pkg-config" ,pkg-config)))
6976 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6977 (synopsis "Portable system access library")
6978 (home-page "https://www.gnome.org/")
6980 "LibGTop is a library to get system specific data such as CPU and memory
6981 usage and information about running processes.")
6982 (license license:gpl2+)))
6984 (define-public gnome-bluetooth
6986 (name "gnome-bluetooth")
6990 (uri (string-append "mirror://gnome/sources/" name "/"
6991 (version-major+minor version) "/"
6992 name "-" version ".tar.xz"))
6995 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
6996 (build-system meson-build-system)
6998 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
6999 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7000 ("gobject-introspection" ,gobject-introspection)
7001 ("intltool" ,intltool)
7002 ("pkg-config" ,pkg-config)
7003 ("xmllint" ,libxml2)))
7005 ;; gnome-bluetooth-1.0.pc refers to all these.
7010 ("libcanberra" ,libcanberra)
7011 ("libnotify" ,libnotify)))
7012 (synopsis "GNOME Bluetooth subsystem")
7013 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7015 "This package contains tools for managing and manipulating Bluetooth
7016 devices using the GNOME desktop.")
7017 (license license:lgpl2.1+)))
7019 (define-public gnome-control-center
7021 (name "gnome-control-center")
7025 (uri (string-append "mirror://gnome/sources/" name "/"
7026 (version-major+minor version) "/"
7027 name "-" version ".tar.xz"))
7030 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7031 (build-system meson-build-system)
7035 (list "-Dcheese=false"
7036 (string-append "-Dgnome_session_libexecdir="
7037 (assoc-ref %build-inputs "gnome-session")
7040 (modify-phases %standard-phases
7041 (add-before 'configure 'patch-paths
7042 (lambda* (#:key inputs #:allow-other-keys)
7043 (let ((libc (assoc-ref inputs "libc"))
7044 (tzdata (assoc-ref inputs "tzdata"))
7045 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7046 (nm-applet (assoc-ref inputs "network-manager-applet"))
7047 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7048 (substitute* "panels/datetime/tz.h"
7049 (("/usr/share/zoneinfo/zone.tab")
7050 (string-append tzdata "/share/zoneinfo/zone.tab")))
7051 (substitute* "tests/datetime/test-endianess.c"
7052 (("/usr/share/locale")
7053 (string-append libc "/share/locale")))
7054 (substitute* "panels/region/cc-region-panel.c"
7055 (("\"gkbd-keyboard-display")
7056 (string-append "\"" libgnomekbd
7057 "/bin/gkbd-keyboard-display")))
7058 (substitute* '("panels/network/net-device-wifi.c"
7059 "panels/network/net-device.c"
7060 "panels/network/connection-editor/net-connection-editor.c")
7061 (("\"nm-connection-editor")
7062 (string-append "\"" nm-applet
7063 "/bin/nm-connection-editor")))
7064 (substitute* '("panels/user-accounts/run-passwd.c")
7065 (("/usr/bin/passwd")
7066 "/run/setuid-programs/passwd"))
7067 (substitute* "panels/info/cc-info-overview-panel.c"
7068 (("DATADIR \"/gnome/gnome-version.xml\"")
7069 (string-append "\"" gnome-desktop
7070 "/share/gnome/gnome-version.xml\"")))
7072 (add-after 'unpack 'skip-gtk-update-icon-cache
7073 ;; Don't create 'icon-theme.cache'.
7075 (substitute* "build-aux/meson/meson_post_install.py"
7076 (("gtk-update-icon-cache") (which "true")))
7079 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7080 ("intltool" ,intltool)
7081 ("pkg-config" ,pkg-config)
7082 ("xsltproc" ,libxslt)
7084 ("hicolor-icon-theme" ,hicolor-icon-theme)
7085 ("python-dbusmock" ,python-dbusmock)
7086 ("xorg-server" ,xorg-server-for-tests)))
7088 `(("accountsservice" ,accountsservice)
7089 ("clutter-gtk" ,clutter-gtk)
7090 ("colord-gtk" ,colord-gtk)
7093 ("docbook-xsl" ,docbook-xsl)
7094 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7095 ("gnome-bluetooth" ,gnome-bluetooth)
7096 ("gnome-desktop" ,gnome-desktop)
7097 ("gnome-online-accounts" ,gnome-online-accounts)
7098 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7099 ("gnome-session" ,gnome-session)
7100 ("gnome-settings-daemon" ,gnome-settings-daemon)
7104 ("libcanberra" ,libcanberra)
7105 ("libgnomekbd" ,libgnomekbd)
7106 ("libgudev" ,libgudev)
7107 ("libgtop" ,libgtop)
7108 ("libpwquality" ,libpwquality)
7109 ("libsecret" ,libsecret)
7110 ("libsoup" ,libsoup)
7111 ("libxml2" ,libxml2)
7112 ("libwacom" ,libwacom)
7114 ("mit-krb5" ,mit-krb5)
7115 ("modem-manager" ,modem-manager)
7116 ("network-manager-applet" ,network-manager-applet)
7118 ("pulseaudio" ,pulseaudio)
7119 ("smbclient" ,samba)
7122 ("upower" ,upower)))
7123 (synopsis "Utilities to configure the GNOME desktop")
7124 (home-page "https://www.gnome.org/")
7126 "This package contains configuration applets for the GNOME desktop,
7127 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7128 properties, sound setup, desktop theme and background, user interface
7129 properties, screen resolution, and other GNOME parameters.")
7130 (license license:gpl2+)))
7132 (define-public gnome-shell
7134 (name "gnome-shell")
7138 (uri (string-append "mirror://gnome/sources/" name "/"
7139 (version-major+minor version) "/"
7140 name "-" version ".tar.xz"))
7143 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7144 (patches (search-patches "gnome-shell-theme.patch"
7145 "gnome-shell-disable-test.patch"))
7146 (modules '((guix build utils)))
7149 ;; Copy images for use on the GDM log-in screen.
7150 (copy-file #$(file-append %artwork-repository
7151 "/slim/0.x/background.png")
7152 "data/theme/guix-background.png")
7153 (copy-file #$(file-append %artwork-repository
7154 "/logo/Guix-horizontal-white.svg")
7155 "data/theme/guix-logo.svg")
7157 (build-system meson-build-system)
7160 #:disallowed-references ((,glib "bin")
7164 (list "-Dsystemd=false"
7165 ;; Otherwise, the RUNPATH will lack the final path component.
7166 (string-append "-Dc_link_args=-Wl,-rpath="
7167 (assoc-ref %outputs "out")
7168 "/lib/gnome-shell"))
7170 #:modules ((guix build meson-build-system)
7175 (modify-phases %standard-phases
7176 (add-after 'unpack 'fix-keysdir
7177 (lambda* (#:key outputs #:allow-other-keys)
7178 (let* ((out (assoc-ref outputs "out"))
7179 (keysdir (string-append
7180 out "/share/gnome-control-center/keybindings")))
7181 (substitute* "meson.build"
7183 (string-append "keysdir = '" keysdir "'\n")))
7185 (add-before 'configure 'convert-logo-to-png
7186 (lambda* (#:key inputs #:allow-other-keys)
7187 ;; Convert the logo from SVG to PNG.
7188 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7189 "data/theme/guix-logo.svg")))
7190 (add-before 'configure 'record-absolute-file-names
7191 (lambda* (#:key inputs #:allow-other-keys)
7192 (substitute* "js/misc/ibusManager.js"
7194 (string-append "'" (assoc-ref inputs "ibus")
7195 "/bin/ibus-daemon'")))
7196 (substitute* "js/ui/status/keyboard.js"
7197 (("'gkbd-keyboard-display'")
7198 (string-append "'" (assoc-ref inputs "libgnomekbd")
7199 "/bin/gkbd-keyboard-display'")))
7201 (add-before 'check 'pre-check
7202 (lambda* (#:key inputs #:allow-other-keys)
7203 ;; Tests require a running X server.
7204 (system "Xvfb :1 &")
7205 (setenv "DISPLAY" ":1")
7207 (add-after 'install 'wrap-programs
7208 (lambda* (#:key inputs outputs #:allow-other-keys)
7209 (let ((out (assoc-ref outputs "out"))
7210 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7211 (python-path (getenv "PYTHONPATH")))
7212 (wrap-program (string-append out "/bin/gnome-shell")
7213 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7214 ;; FIXME: gnome-shell loads these libraries with unqualified
7215 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7216 ;; alternative might be to patch gnome-shell.
7217 `("LD_LIBRARY_PATH" ":" prefix
7219 (string-append (assoc-ref inputs pkg) "/lib"))
7221 "gnome-bluetooth" "librsvg" "libgweather"))))
7224 (wrap-program (string-append out "/bin/" prog)
7225 `("PYTHONPATH" ":" prefix (,python-path))
7226 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7227 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7229 (replace 'glib-or-gtk-wrap
7230 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7231 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7232 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7233 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7234 ;; phase. Fix that since we don't need these.
7235 (wrap #:inputs (fold alist-delete inputs
7236 '("inkscape" "intltool" "glib:bin"))
7237 #:outputs outputs)))))))
7239 `(("asciidoc" ,asciidoc)
7240 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7241 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7242 ("gobject-introspection" ,gobject-introspection)
7243 ("inkscape" ,inkscape)
7244 ("intltool" ,intltool)
7245 ("pkg-config" ,pkg-config)
7247 ("ruby-sass" ,ruby-sass)
7249 ("xsltproc" ,libxslt)
7251 ("xorg-server" ,xorg-server-for-tests)))
7253 `(("accountsservice" ,accountsservice)
7254 ("caribou" ,caribou)
7255 ("docbook-xsl" ,docbook-xsl)
7256 ("evolution-data-server" ,evolution-data-server)
7259 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7261 ("gnome-autoar" ,gnome-autoar)
7262 ("gnome-bluetooth" ,gnome-bluetooth)
7263 ("gnome-desktop" ,gnome-desktop)
7264 ("gnome-settings-daemon" ,gnome-settings-daemon)
7265 ("gst-plugins-base" ,gst-plugins-base)
7267 ("libcanberra" ,libcanberra)
7268 ("libcroco" ,libcroco)
7269 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7270 ("libgweather" ,libgweather)
7271 ("libsoup" ,libsoup)
7272 ("mesa-headers" ,mesa-headers)
7274 ("network-manager-applet" ,network-manager-applet)
7276 ("pulseaudio" ,pulseaudio)
7277 ("python-pygobject" ,python-pygobject)
7278 ("startup-notification" ,startup-notification)
7279 ("telepathy-logger" ,telepathy-logger)
7281 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7282 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7283 ("librsvg" ,librsvg)
7284 ("geoclue" ,geoclue)))
7285 (synopsis "Desktop shell for GNOME")
7286 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7288 "GNOME Shell provides core user interface functions for the GNOME desktop,
7289 like switching to windows and launching applications.")
7290 (license license:gpl2+)))
7292 (define-public gtk-vnc
7299 (uri (string-append "mirror://gnome/sources/" name "/"
7300 (version-major+minor version) "/"
7301 name "-" version ".tar.xz"))
7304 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7305 (build-system gnu-build-system)
7307 '(#:configure-flags '("--with-gtk=3.0")))
7309 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7311 `(("cyrus-sasl" ,cyrus-sasl)
7313 ("libgcrypt" ,libgcrypt)
7314 ("pulseaudio" ,pulseaudio)))
7316 `(("glib:bin" ,glib "bin")
7317 ("gobject-introspection" ,gobject-introspection)
7318 ("intltool" ,intltool)
7319 ("pkg-config" ,pkg-config)
7320 ("python-wrapper" ,python-wrapper)
7322 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7323 (synopsis "VNC viewer widget for GTK+")
7325 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7326 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7327 GTK-VNC implements client side RFB protocol and authentication extensions such
7328 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7329 (license license:lgpl2.1+)))
7331 (define-public gnome-autoar
7333 (name "gnome-autoar")
7337 (uri (string-append "mirror://gnome/sources/" name "/"
7338 (version-major+minor version) "/"
7339 name "-" version ".tar.xz"))
7342 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7343 (build-system glib-or-gtk-build-system)
7345 `(("gobject-introspection" ,gobject-introspection)
7346 ("pkg-config" ,pkg-config)))
7348 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7351 (synopsis "Archives integration support for GNOME")
7352 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7354 "GNOME Autoar is a library which makes creating and extracting archives
7355 easy, safe, and automatic.")
7356 (license license:lgpl2.1+)))
7358 (define-public tracker
7364 (uri (string-append "mirror://gnome/sources/tracker/"
7365 (version-major+minor version) "/"
7366 "tracker-" version ".tar.xz"))
7369 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7370 (build-system meson-build-system)
7374 ;; Otherwise, the RUNPATH will lack the final path component.
7375 (list (string-append "-Dc_link_args=-Wl,-rpath="
7376 (assoc-ref %outputs "out") "/lib:"
7377 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7379 (modify-phases %standard-phases
7380 (add-before 'check 'pre-check
7382 ;; Some tests expect to write to $HOME.
7383 (setenv "HOME" "/tmp")
7386 `(("glib:bin" ,glib "bin")
7387 ("gobject-introspection" ,gobject-introspection)
7388 ("python-pygobject" ,python-pygobject)
7389 ("intltool" ,intltool)
7390 ("pkg-config" ,pkg-config)
7395 ("libxml2" ,libxml2)
7396 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7397 ("json-glib" ,json-glib)
7398 ("libsoup" ,libsoup)))
7399 (synopsis "Metadata database, indexer and search tool")
7400 (home-page "https://wiki.gnome.org/Projects/Tracker")
7402 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7404 It is a middleware component aimed at desktop application developers who want
7405 their apps to browse and search user content. It's not designed to be used
7406 directly by desktop users, but it provides a commandline tool named
7407 @command{tracker} for the adventurous.
7409 Tracker allows your application to instantly perform full-text searches across
7410 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7411 example. This is achieved by indexing the user's home directory in the
7414 Tracker also allows your application to query and list content that the user
7415 has stored. For example, GNOME Music displays all the music files that are
7416 found by Tracker. This means that GNOME Music doesn't need to maintain a
7417 database of its own.
7419 If you need to go beyond simple searches, Tracker is also a linked data
7420 endpoint and it understands SPARQL. ")
7421 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7422 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7423 ;; libstemmer is bsd-3 and the rest is gpl2+.
7424 (license (list license:gpl2+
7426 license:lgpl2.1+))))
7428 (define-public tracker-miners
7430 (name "tracker-miners")
7434 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7435 (version-major+minor version)
7436 "/tracker-miners-" version ".tar.xz"))
7439 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7440 (build-system meson-build-system)
7444 (list "-Dminer_rss=false" ; libgrss is required.
7445 ;; Ensure the RUNPATH contains all installed library locations.
7446 (string-append "-Dc_link_args=-Wl,-rpath="
7447 (assoc-ref %outputs "out")
7448 "/lib/tracker-miners-2.0")
7449 ;; TODO: Enable functional tests. Currently, the following error
7451 ;; Exception: The functional tests require DConf to be the default
7452 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7453 "-Dfunctional_tests=false")))
7456 ("intltool" ,intltool)
7457 ("glib:bin" ,glib "bin")
7458 ("gobject-introspection" ,gobject-introspection)
7459 ("pkg-config" ,pkg-config)
7460 ("python-pygobject" ,python-pygobject)))
7462 `(("exempi" ,exempi)
7467 ("gstreamer" ,gstreamer)
7470 ("libexif" ,libexif)
7472 ("libgxps" ,libgxps)
7473 ("libiptcdata" ,libiptcdata)
7474 ("libjpeg" ,libjpeg-turbo)
7475 ("libosinfo" ,libosinfo)
7477 ("libseccomp" ,libseccomp)
7478 ("libtiff" ,libtiff)
7479 ("libvorbis" ,libvorbis)
7480 ("libxml2" ,libxml2)
7481 ("poppler" ,poppler)
7483 ("totem-pl-parser" ,totem-pl-parser)
7484 ("tracker" ,tracker)
7487 (synopsis "Metadata database, indexer and search tool")
7488 (home-page "https://wiki.gnome.org/Projects/Tracker")
7490 "Tracker is an advanced framework for first class objects with associated
7491 metadata and tags. It provides a one stop solution for all metadata, tags,
7492 shared object databases, search tools and indexing.")
7493 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7494 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7495 (license (list license:gpl2+
7497 license:lgpl2.0+))))
7499 (define-public nautilus
7505 (uri (string-append "mirror://gnome/sources/" name "/"
7506 (version-major+minor version) "/"
7507 name "-" version ".tar.xz"))
7510 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7511 (build-system meson-build-system)
7515 (modify-phases %standard-phases
7516 (add-after 'unpack 'skip-gtk-update-icon-cache
7517 ;; Don't create 'icon-theme.cache'.
7519 (substitute* "build-aux/meson/postinstall.py"
7520 (("gtk-update-icon-cache") "true"))
7522 ;; XXX: FAIL: check-nautilus
7523 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7526 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7527 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7528 ("gobject-introspection" ,gobject-introspection)
7529 ("intltool" ,intltool)
7530 ("pkg-config" ,pkg-config)))
7536 ("gnome-desktop" ,gnome-desktop)
7537 ("gnome-autoar" ,gnome-autoar)
7538 ("gst-plugins-base" ,gst-plugins-base)
7539 ("libseccomp" ,libseccomp)
7540 ("libselinux" ,libselinux)
7541 ("tracker" ,tracker)
7542 ("tracker-miners" ,tracker-miners)
7543 ;; XXX: gtk+ is required by libnautilus-extension.pc
7545 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7547 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7549 ("libexif" ,libexif)
7550 ("libxml2" ,libxml2)))
7551 (synopsis "File manager for GNOME")
7552 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7554 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7555 design and behaviour, giving the user a simple way to navigate and manage its
7557 (license license:gpl2+)))
7559 (define-public baobab
7566 "mirror://gnome/sources/" name "/"
7567 (version-major+minor version) "/"
7568 name "-" version ".tar.xz"))
7571 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7572 (build-system meson-build-system)
7574 '(#:glib-or-gtk? #t))
7576 `(("intltool" ,intltool)
7577 ("pkg-config" ,pkg-config)
7578 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7579 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7580 ("itstool" ,itstool)
7581 ("xmllint" ,libxml2)
7582 ("glib" ,glib "bin")
7586 (synopsis "Disk usage analyzer for GNOME")
7588 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7589 usage in the GNOME desktop environment. It can easily scan device volumes or
7590 a specific user-requested directory branch (local or remote). Once the scan
7591 is complete it provides a graphical representation of each selected folder.")
7592 (home-page "https://wiki.gnome.org/Apps/Baobab")
7593 (license license:gpl2+)))
7595 (define-public gnome-backgrounds
7597 (name "gnome-backgrounds")
7602 (uri (string-append "mirror://gnome/sources/" name "/"
7603 (version-major+minor version) "/"
7604 name "-" version ".tar.xz"))
7607 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7608 (build-system meson-build-system)
7610 `(("intltool" ,intltool)))
7611 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7612 (synopsis "Background images for the GNOME desktop")
7614 "GNOME backgrounds package contains a collection of graphics files which
7615 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7616 the package creates the proper framework and directory structure so that you
7617 can add your own files to the collection.")
7618 (license (list license:gpl2+
7621 license:cc-by-sa3.0))))
7623 (define-public gnome-screenshot
7625 (name "gnome-screenshot")
7630 (uri (string-append "mirror://gnome/sources/" name "/"
7631 (version-major+minor version) "/"
7632 name "-" version ".tar.xz"))
7635 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7636 (build-system meson-build-system)
7639 (modify-phases %standard-phases
7640 (add-after 'unpack 'skip-gtk-update-icon-cache
7641 ;; Don't create 'icon-theme.cache'.
7643 (substitute* "build-aux/postinstall.py"
7644 (("gtk-update-icon-cache") "true"))
7647 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7648 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7649 ("intltool" ,intltool)
7650 ("appstream-glib" ,appstream-glib)
7651 ("pkg-config" ,pkg-config)))
7654 ("libcanberra" ,libcanberra)
7656 ("libxext" ,libxext)))
7657 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7658 (synopsis "Take pictures of your screen")
7660 "GNOME Screenshot is a utility used for taking screenshots of the entire
7661 screen, a window or a user defined area of the screen, with optional
7662 beautifying border effects.")
7663 (license license:gpl2+)))
7665 (define-public dconf-editor
7667 (name "dconf-editor")
7672 (uri (string-append "mirror://gnome/sources/" name "/"
7673 (version-major+minor version) "/"
7674 name "-" version ".tar.xz"))
7677 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7678 (build-system meson-build-system)
7680 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7681 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7682 ("intltool" ,intltool)
7683 ("pkg-config" ,pkg-config)
7688 ("libxml2" ,libxml2)))
7689 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7690 (synopsis "Graphical editor for GNOME's dconf configuration system")
7692 "Dconf-editor is a graphical tool for browsing and editing the dconf
7693 configuration system for GNOME. It allows users to configure desktop
7694 software that do not provide their own configuration interface.")
7695 (license license:lgpl2.1+)))
7697 (define-public gnome-default-applications
7699 (name "gnome-default-applications")
7701 (build-system trivial-build-system)
7704 `(("nautilus" ,nautilus)
7705 ("evince" ,evince)))
7707 `(#:modules ((guix build utils))
7710 (use-modules (guix build utils))
7711 (let* ((out (assoc-ref %outputs "out"))
7712 (apps (string-append out "/share/applications")))
7714 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7716 (format port "[Default Applications]\n")
7717 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7718 (format port "application/pdf=evince.desktop\n")
7719 (format port "application/postscript=evince.desktop\n")))
7721 (synopsis "Default MIME type associations for the GNOME desktop")
7723 "Given many installed packages which might handle a given MIME type, a
7724 user running the GNOME desktop probably has some preferences: for example,
7725 that folders be opened by default by the Nautilus file manager, not the Baobab
7726 disk usage analyzer. This package establishes that set of default MIME type
7727 associations for GNOME.")
7728 (license license:gpl3+)
7731 (define-public libgovirt
7737 (uri (string-append "mirror://gnome/sources/" name "/"
7738 (version-major+minor version) "/"
7739 name "-" version ".tar.xz"))
7742 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7743 (build-system glib-or-gtk-build-system)
7745 `(("gettext" ,gettext-minimal)
7746 ("glib:bin" ,glib "bin")
7747 ("gobject-introspection" ,gobject-introspection)
7748 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7749 ("gtk+:bin" ,gtk+ "bin")
7750 ("pkg-config" ,pkg-config)))
7752 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7754 (synopsis "GoVirt Library")
7755 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7756 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7757 (license license:gpl2+)))
7759 (define-public gnome-weather
7761 (name "gnome-weather")
7765 (uri (string-append "mirror://gnome/sources/" name "/"
7766 (version-major+minor version) "/"
7767 name "-" version ".tar.xz"))
7770 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7771 (build-system meson-build-system)
7773 `(("gettext" ,gettext-minimal)
7774 ("glib:bin" ,glib "bin")
7775 ("gobject-introspection" ,gobject-introspection)
7776 ("gtk+:bin" ,gtk+ "bin")
7777 ("pkg-config" ,pkg-config)))
7779 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7780 ("appstream-glib" ,appstream-glib)
7781 ("geoclue" ,geoclue)
7782 ("gdk-pixbuf" ,gdk-pixbuf)
7784 ("gnome-desktop" ,gnome-desktop)
7785 ("libgweather" ,libgweather)))
7789 (modify-phases %standard-phases
7790 (add-after 'install 'fix-desktop-file
7791 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7792 ;; See https://issues.guix.gnu.org/issue/39324.
7793 (lambda* (#:key outputs #:allow-other-keys)
7794 (let* ((out (assoc-ref outputs "out"))
7795 (applications (string-append out "/share/applications")))
7796 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7797 (("Exec=.*") "Exec=gnome-weather\n"))
7799 (add-after 'install 'wrap
7800 (lambda* (#:key inputs outputs #:allow-other-keys)
7801 (let ((out (assoc-ref outputs "out"))
7802 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7803 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
7804 (wrap-program (string-append out "/bin/gnome-weather")
7805 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
7807 (synopsis "Weather monitoring for GNOME desktop")
7808 (description "GNOME Weather is a small application that allows you to
7809 monitor the current weather conditions for your city, or anywhere in the
7811 (home-page "https://wiki.gnome.org/Apps/Weather")
7812 (license license:gpl2+)))
7814 (define-public gnome
7817 (version (package-version gnome-shell))
7819 (build-system trivial-build-system)
7820 (arguments '(#:builder (begin (mkdir %output) #t)))
7822 ;; TODO: Add or remove packages according to:
7823 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7825 ;; GNOME-Core-OS-Services
7826 ("accountsservice" ,accountsservice)
7827 ("network-manager" ,network-manager)
7828 ("packagekit" ,packagekit)
7831 ("adwaita-icon-theme" ,adwaita-icon-theme)
7833 ("glib-networking" ,glib-networking)
7834 ("gnome-backgrounds" ,gnome-backgrounds)
7835 ("gnome-bluetooth" ,gnome-bluetooth)
7836 ("gnome-color-manager" ,gnome-color-manager)
7837 ("gnome-control-center" ,gnome-control-center)
7838 ("gnome-desktop" ,gnome-desktop)
7839 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7840 ("gnome-initial-setup" ,gnome-initial-setup)
7841 ("gnome-keyring" ,gnome-keyring)
7842 ("gnome-menus" ,gnome-menus)
7843 ("gnome-session" ,gnome-session)
7844 ("gnome-settings-daemon" ,gnome-settings-daemon)
7845 ("gnome-shell-extensions" ,gnome-shell-extensions)
7846 ("gnome-shell" ,gnome-shell)
7847 ("gnome-themes-extra" ,gnome-themes-extra)
7848 ("gnome-user-docs" ,gnome-user-docs)
7849 ("gnome-user-share" ,gnome-user-share)
7850 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7856 ;; GNOME-Core-Utilities
7859 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
7860 ;; only works on x86_64, so exclude it on other architectures.
7861 ,@(if (string-prefix? "x86_64" (%current-system))
7864 ("epiphany" ,epiphany)
7866 ("file-roller" ,file-roller)
7868 ; TODO: ("gnome-boxes" ,gnome-boxes)
7869 ("gnome-calculator" ,gnome-calculator)
7870 ("gnome-calendar" ,gnome-calendar)
7871 ("gnome-characters" ,gnome-characters)
7872 ("gnome-clocks" ,gnome-clocks)
7873 ("gnome-contacts" ,gnome-contacts)
7874 ("gnome-disk-utility" ,gnome-disk-utility)
7875 ("gnome-font-viewer" ,gnome-font-viewer)
7876 ("gnome-maps" ,gnome-maps)
7877 ; TODO: ("gnome-music" ,gnome-music)
7878 ; TODO: ("gnome-photos" ,gnome-photos)
7879 ("gnome-screenshot" ,gnome-screenshot)
7880 ("gnome-system-monitor" ,gnome-system-monitor)
7881 ("gnome-terminal" ,gnome-terminal)
7882 ("gnome-weather" ,gnome-weather)
7883 ("nautilus" ,nautilus)
7884 ("simple-scan" ,simple-scan)
7888 ("hicolor-icon-theme" ,hicolor-icon-theme)
7889 ("gnome-online-accounts" ,gnome-online-accounts)
7891 ;; Packages not part of GNOME proper but that are needed for a good
7892 ;; experience. See <https://bugs.gnu.org/39646>.
7893 ;; XXX: Find out exactly which ones are needed and why.
7894 ("font-cantarell" ,font-cantarell)
7895 ("font-dejavu" ,font-dejavu)
7896 ("at-spi2-core" ,at-spi2-core)
7899 ("desktop-file-utils" ,desktop-file-utils)
7900 ("gnome-default-applications" ,gnome-default-applications)
7901 ("gnome-themes-standard" ,gnome-themes-standard)
7902 ("gst-plugins-base" ,gst-plugins-base)
7903 ("gst-plugins-good" ,gst-plugins-good)
7904 ("gucharmap" ,gucharmap)
7905 ("pinentry-gnome3" ,pinentry-gnome3)
7906 ("pulseaudio" ,pulseaudio)
7907 ("shared-mime-info" ,shared-mime-info)
7908 ("system-config-printer" ,system-config-printer)
7909 ("xdg-user-dirs" ,xdg-user-dirs)
7911 ("zenity" ,zenity)))
7912 (synopsis "The GNU desktop environment")
7913 (home-page "https://www.gnome.org/")
7915 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7916 applications for browsing the web, editing text and images, creating
7917 documents and diagrams, playing media, scanning, and much more.")
7918 (license license:gpl2+)))
7920 (define-public byzanz
7921 ;; The last stable release of Byzanz was in 2011, but there have been many
7922 ;; useful commits made to the Byzanz repository since then that it would be
7923 ;; silly to use such an old release.
7924 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7927 (version (string-append "0.2-1." (string-take commit 7)))
7931 (url "https://git.gnome.org/browse/byzanz")
7933 (file-name (string-append name "-" version "-checkout"))
7936 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7937 (build-system glib-or-gtk-build-system)
7940 (modify-phases %standard-phases
7941 (add-before 'bootstrap 'build-without-Werror
7943 ;; The build system cleverly detects that we're not building from
7944 ;; a release tarball and turns on -Werror for GCC.
7945 ;; Unsurprisingly, there is a warning during compilation that
7946 ;; causes the build to fail unnecessarily, so we remove the flag.
7947 (substitute* '("configure.ac")
7951 `(("autoconf" ,autoconf)
7952 ("automake" ,automake)
7953 ("gnome-common" ,gnome-common)
7954 ("intltool" ,intltool)
7955 ("libtool" ,libtool)
7956 ("pkg-config" ,pkg-config)
7960 ("gstreamer" ,gstreamer)
7961 ("gst-plugins-base" ,gst-plugins-base)
7963 (synopsis "Desktop recording program")
7964 (description "Byzanz is a simple desktop recording program with a
7965 command-line interface. It can record part or all of an X display for a
7966 specified duration and save it as a GIF encoded animated image file.")
7967 (home-page "https://git.gnome.org/browse/byzanz")
7968 (license license:gpl2+))))
7970 (define-public gsound
7976 (uri (string-append "mirror://gnome/sources/" name "/"
7977 (version-major+minor version) "/"
7978 name "-" version ".tar.xz"))
7981 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7982 (build-system glib-or-gtk-build-system)
7984 `(("pkg-config" ,pkg-config)
7985 ("gobject-introspection" ,gobject-introspection)
7989 ("libcanberra" ,libcanberra)))
7990 (home-page "https://wiki.gnome.org/Projects/GSound")
7991 (synopsis "GObject wrapper for libcanberra")
7993 "GSound is a small library for playing system sounds. It's designed to be
7994 used via GObject Introspection, and is a thin wrapper around the libcanberra C
7996 (license license:lgpl2.1+)))
7998 (define-public libzapojit
8004 (uri (string-append "mirror://gnome/sources/" name "/"
8005 (version-major+minor version) "/"
8006 name "-" version ".tar.xz"))
8009 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8010 (build-system gnu-build-system)
8012 `(("gobject-introspection" ,gobject-introspection)
8013 ("intltool" ,intltool)
8014 ("pkg-config" ,pkg-config)))
8016 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8017 ("json-glib" ,json-glib)
8019 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8020 (synopsis "Library for accessing SkyDrive and Hotmail")
8022 "Libzapojit is a GLib-based library for accessing online service APIs of
8023 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8024 (license license:lgpl2.1+)))
8026 (define-public gnome-clocks
8028 (name "gnome-clocks")
8032 (uri (string-append "mirror://gnome/sources/" name "/"
8033 (version-major+minor version) "/"
8034 name "-" version ".tar.xz"))
8037 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8038 (build-system meson-build-system)
8042 (modify-phases %standard-phases
8043 (add-after 'unpack 'skip-gtk-update-icon-cache
8044 ;; Don't create 'icon-theme.cache'.
8046 (substitute* "build-aux/post-install.py"
8047 (("gtk-update-icon-cache") "true"))
8051 ("pkg-config" ,pkg-config)
8052 ("glib" ,glib "bin") ; for glib-compile-resources
8053 ("desktop-file-utils" ,desktop-file-utils)
8054 ("gettext" ,gettext-minimal)
8055 ("itstool" ,itstool)))
8060 ("geoclue" ,geoclue)
8061 ("geocode-glib" ,geocode-glib)
8062 ("libgweather" ,libgweather)
8063 ("gnome-desktop" ,gnome-desktop)))
8064 (home-page "https://wiki.gnome.org/Apps/Clocks")
8065 (synopsis "GNOME's clock application")
8067 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8068 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8069 (license license:gpl3+)))
8071 (define-public gnome-calendar
8073 (name "gnome-calendar")
8077 (uri (string-append "mirror://gnome/sources/" name "/"
8078 (version-major+minor version) "/"
8079 name "-" version ".tar.xz"))
8082 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8083 (build-system meson-build-system)
8086 ;; gnome-calendar has to be installed before the tests can be run
8087 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8090 (modify-phases %standard-phases
8091 (add-after 'unpack 'skip-gtk-update-icon-cache
8092 ;; Don't create 'icon-theme.cache'.
8094 (substitute* "build-aux/meson/meson_post_install.py"
8095 (("gtk-update-icon-cache") "true"))
8098 `(("gettext" ,gettext-minimal)
8099 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8100 ("pkg-config" ,pkg-config)))
8102 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8103 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8104 ("libdazzle" ,libdazzle)
8105 ("libedataserverui" ,evolution-data-server)
8106 ("libgweather" ,libgweather)
8107 ("geoclue" ,geoclue)))
8109 `(("evolution-data-server" ,evolution-data-server)))
8110 (home-page "https://wiki.gnome.org/Apps/Calendar")
8111 (synopsis "GNOME's calendar application")
8113 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8114 desktop. It supports multiple calendars, month, week and year view.")
8115 (license license:gpl3+)))
8117 (define-public gnome-todo
8123 (uri (string-append "mirror://gnome/sources/" name "/"
8124 (version-major+minor version) "/"
8125 name "-" version ".tar.xz"))
8128 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8130 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8131 (build-system meson-build-system)
8134 #:phases (modify-phases %standard-phases
8136 'install 'wrap-gnome-todo
8137 (lambda* (#:key inputs outputs #:allow-other-keys)
8138 (let ((out (assoc-ref outputs "out"))
8139 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8140 (python-path (getenv "PYTHONPATH")))
8141 (wrap-program (string-append out "/bin/gnome-todo")
8142 ;; XXX: gi plugins are broken.
8143 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8145 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8146 `("PYTHONPATH" ":" prefix (,python-path))))
8149 `(("gettext" ,gettext-minimal)
8150 ("gobject-introspection" ,gobject-introspection)
8151 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8152 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8153 ("pkg-config" ,pkg-config)))
8155 `(("rest" ,rest) ; For Todoist plugin
8156 ("json-glib" ,json-glib) ; For Todoist plugin
8157 ("libedataserverui" ,evolution-data-server)
8158 ("libical" ,libical)
8159 ("libpeas" ,libpeas)
8160 ("python-pygobject" ,python-pygobject)
8161 ("evolution-data-server" ,evolution-data-server)
8162 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8163 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8164 (home-page "https://wiki.gnome.org/Apps/Todo")
8165 (synopsis "GNOME's ToDo Application")
8167 "GNOME To Do is a simplistic personal task manager designed to perfectly
8168 fit the GNOME desktop.")
8169 (license license:gpl3+)))
8171 (define-public gnome-dictionary
8173 (name "gnome-dictionary")
8177 (uri (string-append "mirror://gnome/sources/" name "/"
8178 (version-major+minor version) "/"
8179 name "-" version ".tar.xz"))
8182 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8183 (build-system meson-build-system)
8184 (arguments '(#:glib-or-gtk? #t
8185 #:phases (modify-phases %standard-phases
8186 (add-after 'unpack 'patch-install-script
8188 ;; This script attempts to compile glib schemas
8189 ;; and create an empty MIME database. We do
8190 ;; that elsewhere, so prevent it from running.
8191 (substitute* "build-aux/post-install.sh"
8192 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8195 `(("glib:bin" ,glib "bin")
8196 ("gobject-introspection" ,gobject-introspection)
8197 ("intltool" ,intltool)
8198 ("itstool" ,itstool)
8199 ("pkg-config" ,pkg-config)
8200 ("xmllint" ,libxml2)))
8202 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8204 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8205 (synopsis "Look up words in dictionary sources")
8207 "GNOME Dictionary can look for the definition or translation of a word in
8208 existing databases over the internet.")
8209 (license license:gpl3+)))
8211 (define-public gnome-tweaks
8213 (name "gnome-tweaks")
8217 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8218 (version-major+minor version) "/"
8219 "gnome-tweaks-" version ".tar.xz"))
8221 (list (search-patch "gnome-tweaks-search-paths.patch")))
8224 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8225 (build-system meson-build-system)
8228 #:configure-flags '("-Dlocalstatedir=/tmp"
8229 "-Dsysconfdir=/tmp")
8230 #:imported-modules ((guix build python-build-system)
8231 ,@%meson-build-system-modules)
8233 (modify-phases %standard-phases
8234 (add-after 'unpack 'skip-gtk-update-icon-cache
8235 ;; Don't create 'icon-theme.cache'.
8237 (substitute* "meson-postinstall.py"
8238 (("gtk-update-icon-cache") "true"))
8240 (add-after 'install 'wrap
8241 (@@ (guix build python-build-system) wrap))
8242 (add-after 'wrap 'wrap-gi-typelib
8243 (lambda* (#:key inputs outputs #:allow-other-keys)
8244 (let ((out (assoc-ref outputs "out"))
8245 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8246 (wrap-program (string-append out "/bin/gnome-tweaks")
8247 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8250 `(("intltool" ,intltool)
8251 ("pkg-config" ,pkg-config)))
8253 `(("gnome-desktop" ,gnome-desktop)
8255 ("gobject-introspection" ,gobject-introspection)
8256 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8257 ("libhandy" ,libhandy)
8258 ("libnotify" ,libnotify)
8259 ("libsoup" ,libsoup)
8260 ("nautilus" ,nautilus)
8262 ("python-pygobject" ,python-pygobject)))
8263 (synopsis "Customize advanced GNOME 3 options")
8264 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8266 "GNOME Tweaks allows adjusting advanced configuration settings in
8267 GNOME 3. This includes things like the fonts used in user interface elements,
8268 alternative user interface themes, changes in window management behavior,
8269 GNOME Shell appearance and extension, etc.")
8270 (license license:gpl3+)))
8272 (define-public gnome-shell-extensions
8274 (name "gnome-shell-extensions")
8278 (uri (string-append "mirror://gnome/sources/" name "/"
8279 (version-major+minor version) "/"
8280 name "-" version ".tar.xz"))
8283 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8284 (build-system meson-build-system)
8286 '(#:configure-flags '("-Dextension_set=all")))
8288 `(("glib:bin" ,glib "bin")
8289 ("intltool" ,intltool)
8290 ("pkg-config" ,pkg-config)))
8293 (synopsis "Extensions for GNOME Shell")
8294 (description "GNOME Shell extensions modify and extend GNOME Shell
8295 functionality and behavior.")
8296 (home-page "https://extensions.gnome.org/")
8297 (license license:gpl3+)))
8299 (define-public arc-theme
8302 (version "20190917")
8306 (url "https://github.com/NicoHood/arc-theme.git")
8308 (file-name (git-file-name name version))
8311 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8312 (build-system gnu-build-system)
8315 (modify-phases %standard-phases
8316 ;; autogen.sh calls configure at the end of the script.
8318 (lambda _ (invoke "autoreconf" "-vfi")))
8319 (add-before 'build 'set-home ;placate Inkscape
8321 (setenv "HOME" (getcwd))
8324 `(("autoconf" ,autoconf)
8325 ("automake" ,automake)
8326 ("glib" ,glib "bin") ; for glib-compile-resources
8327 ("gnome-shell" ,gnome-shell)
8329 ("inkscape" ,inkscape)
8330 ("optipng" ,optipng)
8331 ("pkg-config" ,pkg-config)
8332 ("sassc" ,sassc/libsass-3.5)))
8333 (synopsis "A flat GTK+ theme with transparent elements")
8334 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8335 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8336 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8337 (home-page "https://github.com/horst3180/arc-theme")
8338 ;; No "or later" language found.
8339 (license license:gpl3+)))
8341 (define-public faba-icon-theme
8343 (name "faba-icon-theme")
8349 (url "https://github.com/snwh/faba-icon-theme.git")
8350 (commit (string-append "v" version))))
8351 (file-name (git-file-name name version))
8353 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8354 (build-system meson-build-system)
8357 (modify-phases %standard-phases
8358 (add-before 'configure 'disable-post-install
8360 (substitute* "meson.build"
8361 (("meson.add_install_script.*") "")))))))
8363 `(("autoconf" ,autoconf)
8364 ("automake" ,automake)))
8365 (synopsis "Faba icon theme")
8367 "Faba is a minimal icon set used as a basis for other themes such as
8369 (home-page "https://snwh.org/moka")
8370 (license (list license:lgpl3+
8371 license:cc-by-sa4.0))))
8373 (define-public moka-icon-theme
8375 (inherit faba-icon-theme)
8376 (name "moka-icon-theme")
8382 (url "https://github.com/snwh/moka-icon-theme.git")
8383 (commit (string-append "v" version))))
8384 (file-name (git-file-name name version))
8386 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8388 ;; Moka is based on Faba by using it as a fallback icon set instead of
8389 ;; bundling it, so we need to add it as a propagated input.
8390 `(("faba-icon-theme" ,faba-icon-theme)))
8391 (synopsis "Moka icon theme")
8392 (description "Moka is a stylized desktop icon set, designed to be clear,
8393 simple and consistent.")
8394 (license (list license:gpl3+
8395 license:cc-by-sa4.0))))
8397 (define-public arc-icon-theme
8399 (name "arc-icon-theme")
8400 (version "20161122")
8405 (url "https://github.com/horst3180/arc-icon-theme.git")
8407 (file-name (git-file-name name version))
8409 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8410 (build-system gnu-build-system)
8413 (modify-phases %standard-phases
8414 (add-after 'unpack 'disable-configure-during-bootstrap
8416 (substitute* "autogen.sh"
8417 (("^\"\\$srcdir/configure\".*") ""))
8420 `(("autoconf" ,autoconf)
8421 ("automake" ,automake)))
8422 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8424 `(("moka-icon-theme" ,moka-icon-theme)))
8425 (synopsis "Arc icon theme")
8426 (description "The Arc icon theme provides a set of icons matching the
8427 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8428 the Moka icon theme.")
8429 (home-page "https://github.com/horst3180/arc-icon-theme")
8430 (license license:gpl3+)))
8432 (define-public folks
8439 "mirror://gnome/sources/folks/"
8440 (version-major+minor version) "/"
8441 "folks-" version ".tar.xz"))
8444 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8445 (build-system meson-build-system)
8448 (modify-phases %standard-phases
8449 (add-after 'unpack 'skip-gtk-update-icon-cache
8450 ;; Don't create 'icon-theme.cache'.
8452 (substitute* "meson_post_install.py"
8453 (("gtk-update-icon-cache") "true"))
8457 ("dbus-glib" ,dbus-glib)
8458 ("evolution-data-server" ,evolution-data-server)
8461 ("readline" ,readline)
8462 ("telepathy-glib" ,telepathy-glib)))
8464 `(("glib:bin" ,glib "bin")
8465 ("gobject-introspection" ,gobject-introspection)
8466 ("intltool" ,intltool)
8467 ("pkg-config" ,pkg-config)
8469 (synopsis "Library to aggregate data about people")
8470 (description "Libfolks is a library that aggregates information about people
8471 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8472 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8473 etc.) to create metacontacts. It's written in Vala, which generates C code when
8475 (home-page "https://wiki.gnome.org/Projects/Folks")
8476 (license license:lgpl2.1+)))
8478 (define-public gfbgraph
8485 "mirror://gnome/sources/gfbgraph/"
8486 (version-major+minor version) "/"
8487 "gfbgraph-" version ".tar.xz"))
8490 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8491 (build-system glib-or-gtk-build-system)
8493 `(#:tests? #f ; Tests appear to require the network.
8494 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8495 #:configure-flags '("--disable-gtk-doc"
8497 "--enable-introspection")))
8499 `(("pkg-config" ,pkg-config)
8500 ("gobject-introspection" ,gobject-introspection)))
8502 `(("json-glib" ,json-glib)
8503 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8505 (synopsis "GLib/GObject wrapper for the Facebook API")
8506 (description "This library allows you to use the Facebook API from
8507 GLib/GObject code.")
8508 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8509 (license license:lgpl2.1+)))
8511 (define-public libgnomekbd
8513 (name "libgnomekbd")
8517 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8518 (version-major+minor version) "/"
8519 "libgnomekbd-" version ".tar.xz"))
8522 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8523 (build-system gnu-build-system)
8525 `(("pkg-config" ,pkg-config)
8526 ("glib" ,glib "bin")
8527 ("intltool" ,intltool)))
8529 ;; Referred to in .h files and .pc.
8532 ("libxklavier" ,libxklavier)))
8533 (home-page "https://www.gnome.org")
8534 (synopsis "GNOME keyboard configuration library")
8536 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8537 environment, which can notably display keyboard layouts.")
8538 (license license:lgpl2.0+)))
8540 ;;; This package is no longer maintained:
8541 ;;; https://wiki.gnome.org/Attic/LibUnique
8542 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8543 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8544 (define-public libunique
8550 (uri (string-append "mirror://gnome/sources/" name "/"
8551 (version-major+minor version) "/"
8552 name "-" version ".tar.xz"))
8555 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8556 (build-system glib-or-gtk-build-system)
8558 `(#:configure-flags '("--disable-static"
8559 "--disable-dbus" ; use gdbus
8560 "--enable-introspection")))
8562 `(("pkg-config" ,pkg-config)
8563 ("gobject-introspection" ,gobject-introspection)
8564 ("glib:bin" ,glib "bin")
8565 ("gtk-doc" ,gtk-doc)))
8567 ;; Referred to in .h files and .pc.
8569 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8570 (synopsis "Library for writing single instance applications")
8572 "Libunique is a library for writing single instance applications. If you
8573 launch a single instance application twice, the second instance will either just
8574 quit or will send a message to the running instance. Libunique makes it easy to
8575 write this kind of application, by providing a base class, taking care of all
8576 the IPC machinery needed to send messages to a running instance, and also
8577 handling the startup notification side.")
8578 (license license:lgpl2.1+)))
8580 (define-public gnome-calculator
8582 (name "gnome-calculator")
8587 (uri (string-append "mirror://gnome/sources/" name "/"
8588 (version-major+minor version) "/"
8589 name "-" version ".tar.xz"))
8592 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8593 (build-system meson-build-system)
8594 (arguments '(#:glib-or-gtk? #t))
8596 `(("gettext" ,gettext-minimal)
8597 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8598 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8599 ("itstool" ,itstool)
8601 ("pkg-config" ,pkg-config)))
8604 ("gtksourceview" ,gtksourceview)
8606 ("libsoup" ,libsoup)
8607 ("libxml2" ,libxml2)
8610 (home-page "https://wiki.gnome.org/Apps/Calculator")
8611 (synopsis "Desktop calculator")
8613 "Calculator is an application that solves mathematical equations and
8614 is suitable as a default application in a Desktop environment.")
8615 (license license:gpl3)))
8624 (uri (string-append "https://launchpad.net/xpad/trunk/"
8625 version "/+download/"
8626 name "-" version ".tar.bz2"))
8629 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8630 (build-system gnu-build-system)
8632 `(("autoconf" ,autoconf)
8633 ("automake" ,automake)
8634 ("gtk+:bin" ,gtk+ "bin")
8635 ("intltool" ,intltool)
8636 ("pkg-config" ,pkg-config)))
8638 `(("gtksourceview" ,gtksourceview-3)
8640 (home-page "https://wiki.gnome.org/Apps/Xpad")
8641 (synopsis "Virtual sticky note")
8643 "Xpad is a sticky note that strives to be simple, fault tolerant,
8644 and customizable. Xpad consists of independent pad windows, each is
8645 basically a text box in which notes can be written.")
8646 (license license:gpl3+)))
8648 (define-public gucharmap
8649 (let ((unicode-files
8651 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8653 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8655 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8657 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8659 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8661 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8668 (uri (string-append "mirror://gnome/sources/" name "/"
8669 (version-major+minor version) "/"
8670 name "-" version ".tar.xz"))
8673 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8674 (build-system glib-or-gtk-build-system)
8676 `(#:modules ((ice-9 match)
8677 (guix build glib-or-gtk-build-system)
8680 (list "--with-unicode-data=../unicode-data")
8682 (modify-phases %standard-phases
8683 (add-after 'unpack 'prepare-unicode-data
8684 (lambda* (#:key inputs #:allow-other-keys)
8685 (mkdir-p "../unicode-data")
8686 (with-directory-excursion "../unicode-data"
8687 (for-each (match-lambda
8689 (install-file (assoc-ref inputs file) ".")))
8693 `(("desktop-file-utils" ,desktop-file-utils)
8694 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8695 ("gobject-introspection" ,gobject-introspection)
8696 ("intltool" ,intltool)
8697 ("itstool" ,itstool)
8698 ("pkg-config" ,pkg-config)
8699 ,@(map (match-lambda
8705 "http://www.unicode.org/Public/12.0.0/ucd/"
8707 (sha256 (base32 hash))))))
8712 ("xmllint" ,libxml2)))
8713 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8714 (synopsis "Unicode character picker and font browser")
8716 "This program allows you to browse through all the available Unicode
8717 characters and categories for the installed fonts, and to examine their
8718 detailed properties. It is an easy way to find the character you might
8719 only know by its Unicode name or code point.")
8720 (license license:gpl3+))))
8722 (define-public bluefish
8729 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8730 "bluefish-" version ".tar.gz"))
8732 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8733 (build-system gnu-build-system)
8735 `(("desktop-file-utils" ,desktop-file-utils)
8736 ("intltool" ,intltool)
8737 ("pkg-config" ,pkg-config)))
8739 `(("enchant" ,enchant)
8741 ("python" ,python-wrapper)
8742 ("xmllint" ,libxml2)
8743 ("gucharmap" ,gucharmap)))
8744 (home-page "http://bluefish.openoffice.nl")
8745 (synopsis "Web development studio")
8747 "Bluefish is an editor targeted towards programmers and web developers,
8748 with many options to write web sites, scripts and other code.
8749 Bluefish supports many programming and markup languages.")
8750 (license license:gpl3+)))
8752 (define-public gnome-system-monitor
8754 (name "gnome-system-monitor")
8759 (uri (string-append "mirror://gnome/sources/" name "/"
8760 (version-major+minor version) "/"
8761 name "-" version ".tar.xz"))
8764 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8765 (build-system meson-build-system)
8768 #:configure-flags '("-Dsystemd=false")))
8770 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8771 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8772 ("intltool" ,intltool)
8773 ("itstool" ,itstool)
8774 ("libgtop" ,libgtop)
8776 ("pkg-config" ,pkg-config)))
8778 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8781 ("librsvg" ,librsvg)
8782 ("libxml2" ,libxml2)
8783 ("libwnck" ,libwnck)))
8784 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8785 (synopsis "Process viewer and system resource monitor for GNOME")
8787 "GNOME System Monitor is a GNOME process viewer and system monitor with
8788 an attractive, easy-to-use interface. It has features, such as a tree view
8789 for process dependencies, icons for processes, the ability to hide processes,
8790 graphical time histories of CPU/memory/swap usage and the ability to
8791 kill/reinice processes.")
8792 (license license:gpl2+)))
8794 (define-public python-pyatspi
8796 (name "python-pyatspi")
8801 "mirror://gnome/sources/pyatspi/"
8802 (version-major+minor version)
8803 "/pyatspi-" version ".tar.xz"))
8806 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8807 (build-system gnu-build-system)
8810 (modify-phases %standard-phases
8811 (add-before 'build 'fix-atk-load
8813 (substitute* "pyatspi/__init__.py"
8814 (("from gi.repository import Atspi")
8815 "gi.require_version('Gtk', '3.0')
8816 from gi.repository import Gtk
8817 from gi.repository import Atspi"))
8820 `(("pkg-config" ,pkg-config)))
8822 `(("python" ,python)
8823 ("python-pygobject" ,python-pygobject)))
8824 (synopsis "Python client bindings for D-Bus AT-SPI")
8825 (home-page "https://wiki.linuxfoundation.org/accessibility\
8826 /atk/at-spi/at-spi_on_d-bus")
8828 "This package includes a python client library for the AT-SPI D-Bus
8829 accessibility infrastructure.")
8830 (license license:lgpl2.0)
8831 (properties '((upstream-name . "pyatspi")))))
8840 "mirror://gnome/sources/" name "/"
8841 (version-major+minor version) "/"
8842 name "-" version ".tar.xz"))
8845 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
8846 (build-system glib-or-gtk-build-system)
8849 (modify-phases %standard-phases
8850 (add-before 'configure 'qualify-xkbcomp
8851 (lambda* (#:key inputs #:allow-other-keys)
8852 (let ((xkbcomp (string-append
8853 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8854 (substitute* "src/orca/orca.py"
8855 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8857 (add-after 'install 'wrap-orca
8858 (lambda* (#:key outputs #:allow-other-keys)
8859 (let* ((out (assoc-ref outputs "out"))
8860 (prog (string-append out "/bin/orca")))
8862 `("GI_TYPELIB_PATH" ":" prefix
8863 (,(getenv "GI_TYPELIB_PATH")))
8864 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8865 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8866 `("PYTHONPATH" ":" prefix
8867 (,(getenv "PYTHONPATH")))))
8870 `(("intltool" ,intltool)
8871 ("itstool" ,itstool)
8872 ("pkg-config" ,pkg-config)
8873 ("xmllint" ,libxml2)))
8875 `(("at-spi2-atk" ,at-spi2-atk)
8876 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8877 ("gstreamer" ,gstreamer)
8878 ("gst-plugins-base" ,gst-plugins-base)
8879 ("gst-plugins-good" ,gst-plugins-good)
8882 ("python-pygobject" ,python-pygobject)
8883 ("python-pyatspi" ,python-pyatspi)
8884 ("python-speechd" ,speech-dispatcher)
8885 ("xkbcomp" ,xkbcomp)))
8887 "Screen reader for individuals who are blind or visually impaired")
8888 (home-page "https://wiki.gnome.org/Projects/Orca")
8890 "Orca is a screen reader that provides access to the graphical desktop
8891 via speech and refreshable braille. Orca works with applications and toolkits
8892 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8893 (license license:lgpl2.1+)))
8895 (define-public gspell
8901 (uri (string-append "mirror://gnome/sources/" name "/"
8902 (version-major+minor version) "/"
8903 name "-" version ".tar.xz"))
8906 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8907 (patches (search-patches "gspell-dash-test.patch"))))
8908 (build-system glib-or-gtk-build-system)
8910 '(#:configure-flags (list "--enable-vala")
8912 (modify-phases %standard-phases
8913 (add-before 'check 'pre-check
8914 (lambda* (#:key inputs #:allow-other-keys)
8915 ;; Tests require a running X server.
8916 (system "Xvfb :1 &")
8917 (setenv "DISPLAY" ":1")
8919 ;; For the missing /etc/machine-id.
8920 (setenv "DBUS_FATAL_WARNINGS" "0")
8922 ;; Allow Enchant and its Aspell backend to find the en_US
8924 (setenv "ASPELL_DICT_DIR"
8925 (string-append (assoc-ref inputs "aspell-dict-en")
8931 ("iso-codes" ,iso-codes)))
8933 `(("glib" ,glib "bin")
8934 ("gobject-introspection" ,gobject-introspection)
8935 ("pkg-config" ,pkg-config)
8936 ("vala" ,vala) ;for VAPI, needed by Geary
8937 ("xmllint" ,libxml2)
8940 ("aspell-dict-en" ,aspell-dict-en)
8941 ("xorg-server" ,xorg-server-for-tests)))
8943 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8944 (home-page "https://wiki.gnome.org/Projects/gspell")
8945 (synopsis "GNOME's alternative spell checker")
8947 "gspell provides a flexible API to add spell-checking to a GTK+
8948 application. It provides a GObject API, spell-checking to text entries and
8949 text views, and buttons to choose the language.")
8950 (license license:gpl2+)))
8952 (define-public gnome-planner
8954 (name "gnome-planner")
8958 (uri (string-append "mirror://gnome/sources/planner/"
8959 (version-major+minor version) "/planner-"
8963 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8964 (build-system glib-or-gtk-build-system)
8966 ;; Disable the Python bindings because the Planner program functions
8967 ;; without them, and (as of 2017-06-13) we have not packaged all of
8968 ;; packages that are necessary for building the Python bindings.
8970 (list "--disable-python"
8971 ,@(if (string=? "aarch64-linux" (%current-system))
8972 '("--build=aarch64-unknown-linux-gnu")
8975 `(("libgnomecanvas" ,libgnomecanvas)
8976 ("libgnomeui" ,libgnomeui)
8977 ("libglade" ,libglade)
8978 ("gnome-vfs" ,gnome-vfs)
8980 ("libxml2" ,libxml2)
8981 ("libxslt" ,libxslt)
8985 `(("intltool" ,intltool)
8986 ("scrollkeeper" ,scrollkeeper)
8987 ("pkg-config" ,pkg-config)))
8988 (home-page "https://wiki.gnome.org/Apps/Planner")
8989 (synopsis "Project management software for the GNOME desktop")
8991 "GNOME Planner is a project management tool based on the Work Breakdown
8992 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8993 the resources, tasks, and constraints that you define, Planner generates
8994 various views into a project. For example, Planner can show a Gantt chart of
8995 the project. It can show a detailed summary of tasks including their
8996 duration, cost, and current progress. It can also show a report of resource
8997 utilization that highlights under-utilized and over-utilized resources. These
8998 views can be printed as PDF or PostScript files, or exported to HTML.")
8999 (license license:gpl2+)))
9001 (define-public lollypop
9008 (uri (string-append "https://adishatz.org/lollypop/"
9009 "lollypop-" version ".tar.xz"))
9011 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9012 (build-system meson-build-system)
9014 `(#:imported-modules
9015 (,@%meson-build-system-modules
9016 (guix build python-build-system))
9018 ((guix build meson-build-system)
9019 ((guix build python-build-system) #:prefix python:)
9022 #:tests? #f ; no test suite
9024 (modify-phases %standard-phases
9025 (add-after 'install 'wrap-program
9026 (lambda* (#:key outputs #:allow-other-keys)
9027 (let ((out (assoc-ref outputs "out"))
9028 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9029 (wrap-program (string-append out "/bin/lollypop")
9030 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9032 (add-after 'install 'wrap-python
9033 (assoc-ref python:%standard-phases 'wrap)))))
9035 `(("intltool" ,intltool)
9036 ("itstool" ,itstool)
9037 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9038 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9039 ("pkg-config" ,pkg-config)))
9041 `(("gobject-introspection" ,gobject-introspection)
9042 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9043 ("gst-plugins-base" ,gst-plugins-base)
9044 ("libnotify" ,libnotify)
9045 ("libsecret" ,libsecret)
9046 ("libsoup" ,libsoup)
9048 ("python-beautifulsoup4" ,python-beautifulsoup4)
9049 ("python-gst" ,python-gst)
9050 ("python-pil" ,python-pillow)
9051 ("python-pycairo" ,python-pycairo)
9052 ("python-pygobject" ,python-pygobject)
9053 ("python-pylast" ,python-pylast)
9054 ("totem-pl-parser" ,totem-pl-parser)
9055 ("webkitgtk" ,webkitgtk)))
9057 `(;; gst-plugins-base is required to start Lollypop,
9058 ;; the others are required to play streaming.
9059 ("gst-plugins-good" ,gst-plugins-good)
9060 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9061 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9062 (synopsis "GNOME music playing application")
9064 "Lollypop is a music player designed to play well with GNOME desktop.
9065 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9066 from artists and tracks from the web. It also fetches cover artworks
9067 automatically and it can stream songs from online music services and charts.")
9068 (license license:gpl3+)))
9070 (define-public gnome-video-effects
9072 (name "gnome-video-effects")
9076 (uri (string-append "mirror://gnome/sources/" name "/"
9077 (version-major+minor version) "/" name "-"
9081 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9082 (build-system glib-or-gtk-build-system)
9084 `(#:out-of-source? #f))
9086 `(("glib:bin" ,glib "bin")
9087 ("intltool" ,intltool)
9088 ("gettext" ,gettext-minimal)
9089 ("pkg-config" ,pkg-config)))
9090 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9091 (synopsis "Video effects for Cheese and other GNOME applications")
9093 "A collection of GStreamer video filters and effects to be used in
9094 photo-booth-like software, such as Cheese.")
9095 (license license:gpl2+)))
9097 (define-public cheese
9103 (uri (string-append "mirror://gnome/sources/" name "/"
9104 (version-major+minor version) "/" name "-"
9108 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9111 ;; Tests require GDK.
9114 (modify-phases %standard-phases
9115 (add-after 'unpack 'skip-gtk-update-icon-cache
9117 ;; Don't create 'icon-theme.cache'
9118 (substitute* "meson_post_install.py"
9119 (("gtk-update-icon-cache") (which "true")))
9121 (add-after 'install 'wrap-cheese
9122 (lambda* (#:key inputs outputs #:allow-other-keys)
9123 (let ((out (assoc-ref outputs "out"))
9124 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9125 (wrap-program (string-append out "/bin/cheese")
9126 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9128 (build-system meson-build-system)
9130 `(("docbook-xsl" ,docbook-xsl)
9131 ("glib:bin" ,glib "bin")
9132 ("gtk-doc" ,gtk-doc)
9133 ("intltool" ,intltool)
9134 ("itstool" ,itstool)
9135 ("libxml2" ,libxml2)
9136 ("libxslt" ,libxslt)
9137 ("pkg-config" ,pkg-config)
9140 `(("gnome-video-effects" ,gnome-video-effects)
9141 ("clutter" ,clutter)
9142 ("clutter-gst" ,clutter-gst)
9143 ("clutter-gtk" ,clutter-gtk)
9144 ("libcanberra" ,libcanberra)
9145 ("gdk-pixbuf" ,gdk-pixbuf)
9147 ("gstreamer" ,gstreamer)))
9149 `(("gnome-desktop" ,gnome-desktop)
9150 ("gobject-introspection" ,gobject-introspection)
9151 ("gst-plugins-base" ,gst-plugins-base)
9152 ("gst-plugins-bad" ,gst-plugins-bad)
9155 ("libxtst" ,libxtst)))
9156 (home-page "https://wiki.gnome.org/Apps/Cheese")
9157 (synopsis "Webcam photo booth software for GNOME")
9159 "Cheese uses your webcam to take photos and videos. Cheese can also
9160 apply fancy special effects and lets you share the fun with others.")
9161 (license license:gpl2+)))
9163 (define-public sound-juicer
9165 (name "sound-juicer")
9170 (uri (string-append "mirror://gnome/sources/" name "/"
9171 (version-major+minor version) "/"
9172 name "-" version ".tar.xz"))
9175 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9176 (build-system glib-or-gtk-build-system)
9178 `(("desktop-file-utils" ,desktop-file-utils)
9179 ("intltool" ,intltool)
9180 ("itstool" ,itstool)
9181 ("pkg-config" ,pkg-config)
9182 ("xmllint" ,libxml2)))
9185 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9186 ("gstreamer" ,gstreamer)
9187 ("gst-plugins-base" ,gst-plugins-base)
9188 ("gst-plugins-good" ,gst-plugins-good)
9189 ("iso-codes" ,iso-codes)
9190 ("libbrasero-media3" ,brasero)
9191 ("libcanberra" ,libcanberra)
9192 ("libdiscid" ,libdiscid)
9193 ("libmusicbrainz" ,libmusicbrainz)
9195 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9196 (synopsis "Audio music cd ripper")
9197 (description "Sound Juicer extracts audio from compact discs and convert it
9198 into audio files that a personal computer or digital audio player can play.
9199 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9200 mp3, Ogg Vorbis and FLAC")
9201 (license license:gpl2+)))
9203 (define-public soundconverter
9205 (name "soundconverter")
9210 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9211 version "/+download/"
9212 "soundconverter-" version ".tar.xz"))
9215 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
9216 (build-system glib-or-gtk-build-system)
9218 `(#:imported-modules ((guix build python-build-system)
9219 (guix build glib-or-gtk-build-system)
9220 ,@%gnu-build-system-modules)
9222 #:modules ((guix build glib-or-gtk-build-system)
9224 ((guix build gnu-build-system) #:prefix gnu:)
9225 ((guix build python-build-system) #:prefix python:))
9228 (modify-phases %standard-phases
9229 (add-after 'install 'wrap-soundconverter-for-python
9230 (assoc-ref python:%standard-phases 'wrap))
9231 (add-after 'install 'wrap-soundconverter
9232 (lambda* (#:key inputs outputs #:allow-other-keys)
9233 (let ((out (assoc-ref outputs "out"))
9234 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9235 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9236 (wrap-program (string-append out "/bin/soundconverter")
9237 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9238 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9241 `(("intltool" ,intltool)
9242 ("pkg-config" ,pkg-config)
9243 ("glib:bin" ,glib "bin")))
9247 ("python-pygobject" ,python-pygobject)
9248 ("gstreamer" ,gstreamer)
9249 ("gst-plugins-base" ,gst-plugins-base)))
9250 (home-page "https://soundconverter.org/")
9251 (synopsis "Convert between audio formats with a graphical interface")
9253 "SoundConverter supports converting between many audio formats including
9254 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9255 configurable file renaming. ")
9256 (license license:gpl3)))
9258 (define-public workrave
9266 (url "https://github.com/rcaelers/workrave.git")
9267 (commit (string-append "v" (string-map
9268 (match-lambda (#\. #\_) (chr chr))
9270 (file-name (git-file-name name version))
9272 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9273 (build-system glib-or-gtk-build-system)
9275 ;; The only tests are maintainer tests (in po/), which fail.
9277 (inputs `(("glib" ,glib)
9279 ("gdk-pixbuf" ,gdk-pixbuf)
9283 ("libxtst" ,libxtst)
9287 ("libxscrnsaver" ,libxscrnsaver)))
9288 (native-inputs `(("boost" ,boost)
9289 ("pkg-config" ,pkg-config)
9290 ("gettext" ,gettext-minimal)
9291 ("autoconf" ,autoconf)
9292 ("autoconf-archive" , autoconf-archive)
9293 ("automake" ,automake)
9294 ("libtool" ,libtool)
9295 ("intltool" ,intltool)
9296 ("gobject-introspection" ,gobject-introspection)
9297 ("python3" ,python-3)
9298 ("python-jinja2" ,python-jinja2)))
9299 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9301 "Workrave is a program that assists in the recovery and prevention of
9302 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9303 micro-pauses and rest breaks, and restricts you to your daily limit.")
9304 (home-page "http://www.workrave.org")
9305 (license license:gpl3+)))
9313 (uri (string-append "mirror://gnome/sources/ghex/"
9314 (version-major+minor version) "/"
9315 "ghex-" version ".tar.xz"))
9318 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9319 (build-system meson-build-system)
9323 (modify-phases %standard-phases
9324 (add-after 'unpack 'skip-gtk-update-icon-cache
9325 ;; Don't create 'icon-theme.cache'.
9327 (substitute* "meson_post_install.py"
9328 (("gtk-update-icon-cache") (which "true")))
9331 `(("pkg-config" ,pkg-config)
9332 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9333 ("gnome-common" ,gnome-common)
9335 ("intltool" ,intltool)
9336 ("yelp-tools" ,yelp-tools)
9337 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9341 (synopsis "GNOME hexadecimal editor")
9342 (description "The GHex program can view and edit files in two ways:
9343 hexadecimal or ASCII. It is useful for editing binary files in general.")
9344 (home-page "https://wiki.gnome.org/Apps/Ghex")
9345 (license license:gpl2)))
9347 (define-public libdazzle
9353 (uri (string-append "mirror://gnome/sources/libdazzle/"
9354 (version-major+minor version) "/"
9355 "libdazzle-" version ".tar.xz"))
9358 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9359 (build-system meson-build-system)
9362 (modify-phases %standard-phases
9363 (add-before 'check 'pre-check
9365 ;; Tests require a running X server.
9366 (system "Xvfb :1 &")
9367 (setenv "DISPLAY" ":1")
9370 `(("glib" ,glib "bin") ; glib-compile-resources
9371 ("pkg-config" ,pkg-config)
9373 ("xorg-server" ,xorg-server-for-tests)))
9376 ("gobject-introspection" ,gobject-introspection)
9379 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9380 (synopsis "Companion library to GObject and Gtk+")
9381 (description "The libdazzle library is a companion library to GObject and
9382 Gtk+. It provides various features that the authors wish were in the
9383 underlying library but cannot for various reasons. In most cases, they are
9384 wildly out of scope for those libraries. In other cases, they are not quite
9385 generic enough to work for everyone.")
9386 (license license:gpl3+)))
9388 (define-public evolution
9394 (uri (string-append "mirror://gnome/sources/evolution/"
9395 (version-major+minor version) "/"
9396 "evolution-" version ".tar.xz"))
9399 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9400 (build-system cmake-build-system)
9402 `(#:imported-modules (,@%cmake-build-system-modules
9403 (guix build glib-or-gtk-build-system))
9404 #:modules ((guix build cmake-build-system)
9405 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9408 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9409 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9410 ; in four years and cannot be built.
9412 (modify-phases %standard-phases
9413 ;; The build system attempts to install user interface modules to the
9414 ;; output directory of the "evolution-data-server" package. This
9415 ;; change redirects that change.
9416 (add-after 'unpack 'patch-ui-module-dir
9417 (lambda* (#:key outputs #:allow-other-keys)
9418 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9419 (("\\$\\{edsuimoduledir\\}")
9420 (string-append (assoc-ref outputs "out")
9421 "/lib/evolution-data-server/ui-modules")))
9423 (add-after 'install 'glib-or-gtk-compile-schemas
9424 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9425 (add-after 'install 'glib-or-gtk-wrap
9426 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9428 `(("glib" ,glib "bin") ; glib-mkenums
9429 ("pkg-config" ,pkg-config)
9430 ("intltool" ,intltool)
9431 ("itstool" ,itstool)))
9433 `(("enchant" ,enchant)
9434 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9436 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9437 ("gnome-autoar" ,gnome-autoar)
9438 ("gnome-desktop" ,gnome-desktop)
9440 ("highlight" ,highlight)
9441 ("libcanberra" ,libcanberra)
9442 ("libgweather" ,libgweather)
9443 ("libnotify" ,libnotify)
9444 ("libsoup" ,libsoup)
9446 ("openldap" ,openldap)
9447 ("webkitgtk" ,webkitgtk)
9449 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9450 (synopsis "Manage your email, contacts and schedule")
9451 (description "Evolution is a personal information management application
9452 that provides integrated mail, calendaring and address book
9454 ;; See COPYING for details.
9455 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9456 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9457 license:lgpl2.1+)))) ; smime/lib/*
9459 (define-public gthumb
9465 (uri (string-append "mirror://gnome/sources/gthumb/"
9466 (version-major+minor version) "/"
9467 "gthumb-" version ".tar.xz"))
9470 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9471 (build-system meson-build-system)
9475 ;; Ensure the RUNPATH contains all installed library locations.
9476 (list (string-append "-Dc_link_args=-Wl,-rpath="
9477 (assoc-ref %outputs "out")
9478 "/lib/gthumb/extensions")
9479 (string-append "-Dcpp_link_args=-Wl,-rpath="
9480 (assoc-ref %outputs "out")
9481 "/lib/gthumb/extensions"))))
9483 `(("pkg-config" ,pkg-config)
9484 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9485 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9486 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9487 ("intltool" ,intltool)
9488 ("itstool" ,itstool)))
9492 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9493 ("gstreamer" ,gstreamer)
9494 ("clutter" ,clutter)
9495 ("clutter-gst" ,clutter-gst)
9496 ("clutter-gtk" ,clutter-gtk)
9497 ("libjpeg" ,libjpeg-turbo)
9498 ("libtiff" ,libtiff)
9499 ("libraw" ,libraw)))
9500 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9501 (synopsis "GNOME image viewer and browser")
9502 (description "GThumb is an image viewer, browser, organizer, editor and
9503 advanced image management tool")
9504 (license license:gpl2+)))
9506 (define-public terminator
9512 (uri (string-append "https://launchpad.net/" name "/"
9513 "gtk3/" version "/" "+download/"
9514 name "-" version ".tar.gz"))
9517 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9518 (build-system python-build-system)
9520 `(("intltool" ,intltool)
9521 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9522 ("gettext" ,gettext-minimal)
9523 ("pkg-config" ,pkg-config)))
9526 ("gobject-introspection" ,gobject-introspection)
9527 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9528 ("python2-pycairo" ,python2-pycairo)
9529 ("python2-pygobject" ,python2-pygobject)
9530 ("python2-psutil" ,python2-psutil)
9533 `(#:python ,python-2 ; Python 3 isn't supported
9534 #:imported-modules ((guix build glib-or-gtk-build-system)
9535 ,@%python-build-system-modules)
9536 #:modules ((guix build python-build-system)
9537 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9540 (modify-phases %standard-phases
9542 'install 'wrap-program
9543 (lambda* (#:key outputs #:allow-other-keys)
9544 (let ((prog (string-append (assoc-ref outputs "out")
9545 "/bin/terminator")))
9547 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9548 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9550 (add-after 'wrap-program 'glib-or-gtk-wrap
9551 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9552 (home-page "https://gnometerminator.blogspot.com/")
9553 (synopsis "Store and run multiple GNOME terminals in one window")
9555 "Terminator allows you to run multiple GNOME terminals in a grid and
9556 +tabs, and it supports drag and drop re-ordering of terminals.")
9557 (license license:gpl2)))
9559 (define-public libhandy
9567 (url "https://source.puri.sm/Librem5/libhandy")
9568 (commit (string-append "v" version))))
9569 (file-name (git-file-name name version))
9571 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9572 (build-system meson-build-system)
9575 '("-Dglade_catalog=disabled"
9578 (modify-phases %standard-phases
9579 (add-before 'check 'pre-check
9581 ;; Tests require a running X server.
9582 (system "Xvfb :1 &")
9583 (setenv "DISPLAY" ":1")
9588 `(("glib:bin" ,glib "bin")
9589 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9591 ("gtk-doc" ,gtk-doc)
9592 ("pkg-config" ,pkg-config)
9593 ("gettext" ,gettext-minimal)
9595 ;; Test suite dependencies.
9596 ("xorg-server" ,xorg-server-for-tests)
9597 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9598 (home-page "https://source.puri.sm/Librem5/libhandy")
9599 (synopsis "Library full of GTK+ widgets for mobile phones")
9600 (description "The aim of the handy library is to help with developing user
9601 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9602 for usage on small and big screens.")
9603 (license license:lgpl2.1+)))
9605 (define-public libgit2-glib
9607 (name "libgit2-glib")
9608 (version "0.99.0.1")
9611 (uri (string-append "mirror://gnome/sources/" name "/"
9612 (version-major+minor version) "/"
9613 name "-" version ".tar.xz"))
9616 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9617 (build-system meson-build-system)
9619 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9620 ("gobject-introspection" ,gobject-introspection)
9621 ("pkg-config" ,pkg-config)
9622 ("python-pygobject" ,python-pygobject)
9623 ("python-wrapper" ,python-wrapper)
9627 ("libssh2" ,libssh2)))
9629 `(;; In Requires of libgit2-glib.pc.
9630 ("libgit2" ,libgit2)))
9631 (synopsis "GLib wrapper around the libgit2 Git access library")
9632 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9633 access library. It only implements the core plumbing functions, not really the
9634 higher level porcelain stuff.")
9635 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9636 (license license:gpl2+)))
9644 (uri (string-append "mirror://gnome/sources/" name "/"
9645 (version-major+minor version) "/"
9646 name "-" version ".tar.xz"))
9649 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9650 (build-system meson-build-system)
9654 (modify-phases %standard-phases
9655 (add-after 'unpack 'disable-post-install-partially
9657 (substitute* "meson_post_install.py"
9658 (("'python'") ; there are no python sources to compile
9659 (string-append "'" (which "true") "'"))
9660 (("gtk-update-icon-cache") (which "true")))
9662 (add-after 'unpack 'fix-test-sources
9664 (substitute* "tests/libgitg/test-commit.vala"
9665 (("/bin/bash") (which "bash")))
9667 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9668 (lambda* (#:key outputs #:allow-other-keys)
9669 (let ((prog (string-append (assoc-ref outputs "out")
9672 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9676 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9678 ("gtkspell3" ,gtkspell3)
9679 ("gtksourceview" ,gtksourceview-3)
9680 ("json-glib" ,json-glib)
9681 ("libdazzle" ,libdazzle)
9683 ("libgit2-glib" ,libgit2-glib)
9684 ("libpeas" ,libpeas)
9685 ("libsecret" ,libsecret)
9686 ("libsoup" ,libsoup)
9687 ("libxml2" ,libxml2)))
9689 `(("glib:bin" ,glib "bin")
9690 ("gtk+:bin" ,gtk+ "bin")
9691 ("gobject-introspection" ,gobject-introspection)
9692 ("intltool" ,intltool)
9693 ("pkg-config" ,pkg-config)
9695 (synopsis "Graphical user interface for git")
9697 "gitg is a graphical user interface for git. It aims at being a small,
9698 fast and convenient tool to visualize the history of git repositories.
9699 Besides visualization, gitg also provides several utilities to manage your
9700 repository and commit your work.")
9701 (home-page "https://wiki.gnome.org/Apps/Gitg")
9702 (license license:gpl2+)))
9704 (define-public gamin
9710 (uri (string-append "mirror://gnome/sources/" name "/"
9711 (version-major+minor version) "/"
9712 name "-" version ".tar.bz2"))
9715 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9716 (build-system gnu-build-system)
9719 (modify-phases %standard-phases
9720 (add-after 'unpack 'remove-deprecated-macro
9722 (substitute* '("server/gam_node.c"
9723 "server/gam_subscription.h"
9725 "server/gam_subscription.c")
9726 (("G_CONST_RETURN") "const"))
9731 `(("intltool" ,intltool)
9732 ("pkg-config" ,pkg-config)))
9733 (home-page "https://people.gnome.org/~veillard/gamin/")
9734 (synopsis "File alteration monitor")
9736 "Gamin is a file and directory monitoring system defined to be a subset
9737 of the FAM (File Alteration Monitor) system. This is a service provided by a
9738 library which detects when a file or a directory has been modified.")
9739 (license license:gpl2+)))
9741 (define-public gnome-mahjongg
9743 (name "gnome-mahjongg")
9748 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9750 (file-name (git-file-name name version))
9753 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9754 (build-system meson-build-system)
9756 `(#:glib-or-gtk? #t))
9758 `(("appstream-glib" ,appstream-glib)
9759 ("gettext" ,gettext-minimal)
9760 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9761 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9762 ("itstool" ,itstool)
9763 ("pkg-config" ,pkg-config)
9766 `(("dconf" ,dconf)))
9770 ("librsvg" ,librsvg)))
9771 (synopsis "Mahjongg tile-matching game")
9772 (description "GNOME Mahjongg is a game based on the classic Chinese
9773 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9774 and a high score table.")
9775 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9776 (license license:gpl2+)))
9778 (define-public gnome-themes-extra
9780 (name "gnome-themes-extra")
9785 (uri (string-append "mirror://gnome/sources/" name "/"
9786 (version-major+minor version) "/" name "-"
9790 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9791 (build-system gnu-build-system)
9794 ;; Don't create 'icon-theme.cache'.
9795 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9796 (true (string-append coreutils "/bin/true")))
9797 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9799 `(("glib:bin" ,glib "bin")
9800 ("intltool" ,intltool)
9801 ("pkg-config" ,pkg-config)))
9806 ("librsvg" ,librsvg)
9807 ("libxml2" ,libxml2)))
9808 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9809 (synopsis "GNOME Extra Themes")
9810 (description "This package provides themes and related elements that don't
9811 really fit in other upstream packages. It offers legacy support for GTK+ 2
9812 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9813 index files needed for Adwaita to be used outside of GNOME.")
9814 (license license:lgpl2.1+)))
9816 (define-public polari
9822 (uri (string-append "mirror://gnome/sources/polari/"
9823 (version-major+minor version)
9824 "/polari-" version ".tar.xz"))
9827 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9828 (build-system meson-build-system)
9832 (modify-phases %standard-phases
9833 (add-after 'unpack 'skip-gtk-update-icon-cache
9835 (substitute* "meson/meson-postinstall.sh"
9836 (("gtk-update-icon-cache") (which "true")))
9838 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9839 (lambda* (#:key outputs #:allow-other-keys)
9840 (let ((prog (string-append (assoc-ref outputs "out")
9843 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9847 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9851 ("libsecret" ,libsecret)
9852 ("libsoup" ,libsoup)
9853 ("telepathy-glib" ,telepathy-glib)
9854 ("telepathy-logger" ,telepathy-logger)))
9856 `(("glib:bin" ,glib "bin")
9857 ("gobject-introspection" ,gobject-introspection)
9858 ("intltool" ,intltool)
9859 ("pkg-config" ,pkg-config)
9860 ("yelp-tools" ,yelp-tools)))
9862 `(("telepathy-idle" ,telepathy-idle)
9863 ("telepathy-mission-control" ,telepathy-mission-control)))
9864 (synopsis "Simple IRC Client")
9866 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9867 integrate seamlessly with the GNOME desktop.")
9868 (home-page "https://wiki.gnome.org/Apps/Polari")
9869 (license license:gpl2+)))
9871 (define-public gnome-boxes
9873 (name "gnome-boxes")
9878 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9879 (version-major+minor version) "/"
9880 "gnome-boxes-" version ".tar.xz"))
9883 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9884 (build-system meson-build-system)
9887 #:configure-flags (list "-Drdp=false"
9888 (string-append "-Dc_link_args=-Wl,-rpath="
9889 (assoc-ref %outputs "out")
9890 "/lib/gnome-boxes"))))
9892 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9893 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9894 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9895 ("itstool" ,itstool)
9896 ("intltool" ,intltool)
9898 ("pkg-config" ,pkg-config)))
9900 `(("libarchive" ,libarchive)
9902 ("gtk-vnc" ,gtk-vnc)
9903 ("libosinfo" ,libosinfo)
9904 ("libsecret" ,libsecret)
9905 ("libsoup" ,libsoup)
9907 ("libvirt" ,libvirt)
9908 ("libvirt-glib" ,libvirt-glib)
9910 ("spice-gtk" ,spice-gtk)
9911 ("sparql-query" ,sparql-query)
9913 ("webkitgtk" ,webkitgtk)
9914 ("tracker" ,tracker)
9915 ("libgudev" ,libgudev)))
9916 (home-page "https://wiki.gnome.org/Apps/Boxes")
9917 (synopsis "View, access, and manage remote and virtual systems")
9918 (description "GNOME Boxes is a simple application to view, access, and
9919 manage remote and virtual systems.")
9921 ;; For data/icons/empty-boxes.png.
9924 license:lgpl2.0+))))
9926 (define-public geary
9933 (url "https://gitlab.gnome.org/GNOME/geary")
9935 (file-name (git-file-name name version))
9938 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9939 (build-system meson-build-system)
9942 #:phases (modify-phases %standard-phases
9943 (add-after 'unpack 'disable-failing-tests
9945 (substitute* "test/meson.build"
9946 (("test\\('client-tests', geary_test_client_bin\\)")
9949 (add-after 'unpack 'disable-postinstall-script
9951 (substitute* "meson.build"
9952 (("meson.add_install_script\\(\
9953 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9956 (add-before 'check 'setup-xvfb
9958 (system "Xvfb :1 &")
9959 (setenv "DISPLAY" ":1")
9962 `(("enchant" ,enchant)
9966 ("gmime" ,gmime-2.6)
9967 ("gnome-online-accounts:lib"
9968 ,gnome-online-accounts "lib")
9971 ("iso-codes" ,iso-codes)
9972 ("json-glib" ,json-glib)
9973 ("libcanberra" ,libcanberra)
9975 ("libhandy" ,libhandy)
9976 ("libpeas" ,libpeas)
9977 ("libsecret" ,libsecret)
9978 ("libunwind" ,libunwind)
9980 ("webkitgtk" ,webkitgtk)
9983 `(("appstream-glib" ,appstream-glib)
9984 ("cmake-minimal" ,cmake-minimal)
9985 ("desktop-file-utils" ,desktop-file-utils)
9986 ("gettext" ,gettext-minimal)
9987 ("glib:bin" ,glib "bin")
9988 ("gobject-introspection" ,gobject-introspection)
9989 ("itstool" ,itstool)
9990 ("libarchive" ,libarchive)
9991 ("libxml2" ,libxml2)
9992 ("pkg-config" ,pkg-config)
9994 ("xvfb" ,xorg-server-for-tests)))
9995 (synopsis "GNOME email application built around conversations")
9997 "Geary collects related messages together into conversations,
9998 making it easy to find and follow your discussions. Full-text and keyword
9999 search makes it easy to find the email you are looking for. Geary's
10000 full-featured composer lets you send rich, styled text with images, links, and
10001 lists, but also send lightweight, easy to read text messages. Geary
10002 automatically picks up your existing GNOME Online Accounts, and adding more is
10003 easy. Geary has a clean, fast, modern interface that works like you want it
10005 (home-page "https://wiki.gnome.org/Apps/Geary")
10011 license:cc-by-sa3.0
10012 license:public-domain
10016 (define-public libratbag
10023 (uri (git-reference
10024 (url "https://github.com/libratbag/libratbag.git")
10025 (commit (string-append "v" version))))
10026 (file-name (git-file-name name version))
10028 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10029 (build-system meson-build-system)
10031 `(#:configure-flags
10032 (list "-Dsystemd=false"
10033 "-Dlogind-provider=elogind")
10035 (modify-phases %standard-phases
10036 (add-after 'install 'wrap
10037 (lambda* (#:key inputs outputs #:allow-other-keys)
10038 (let* ((out (assoc-ref outputs "out"))
10039 (site (string-append
10041 ,(version-major+minor (package-version python))
10043 (evdev (string-append
10044 (assoc-ref inputs "python-evdev") site))
10045 (pygo (string-append
10046 (assoc-ref inputs "python-pygobject") site))
10048 `("PYTHONPATH" = (,evdev ,pygo))))
10049 (wrap-program (string-append out "/bin/" "ratbagctl")
10054 ("pkg-config" ,pkg-config)
10056 ("valgrind" ,valgrind)))
10059 ("json-glib" ,json-glib)
10060 ("libevdev" ,libevdev)
10061 ("libsystemd" ,elogind)
10062 ("libunistring" ,libunistring)
10063 ("python-evdev" ,python-evdev)
10064 ("python-pygobject" ,python-pygobject)
10066 (home-page "https://github.com/libratbag/libratbag")
10067 (synopsis "DBus daemon and utility for configuring gaming mice")
10068 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10069 configure input devices, mainly gaming mice. The daemon provides a generic
10070 way to access the various features exposed by these mice and abstracts away
10071 hardware-specific and kernel-specific quirks. There is also the
10072 @command{ratbagctl} command line interface for configuring devices.
10074 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10077 The ratbagd DBus service can be enabled by adding the following service to
10078 your operating-system definition:
10080 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10081 (license license:expat)))
10083 (define-public piper
10090 (uri (git-reference
10091 (url "https://github.com/libratbag/piper.git")
10094 (base32 "17h06j8lxpbfygq8fzycl7lml4vv7r05bsyhh3gga2hp0zms4mvg"))))
10095 (build-system meson-build-system)
10097 `(("gettext" ,gettext-minimal)
10098 ("glib:bin" ,glib "bin")
10099 ("gobject-introspection" ,gobject-introspection)
10100 ("pkg-config" ,pkg-config)
10101 ("python-flake8" ,python-flake8)))
10103 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10105 ("gtk:bin" ,gtk+ "bin")
10106 ("librsvg" ,librsvg)
10107 ("python-evdev" ,python-evdev)
10108 ("python-lxml" ,python-lxml)
10109 ("python-pycairo" ,python-pycairo)
10110 ("python-pygobject" ,python-pygobject)))
10112 `(#:imported-modules ((guix build python-build-system)
10113 ,@%meson-build-system-modules)
10114 #:modules (((guix build python-build-system) #:prefix python:)
10115 (guix build meson-build-system)
10116 (guix build utils))
10118 (modify-phases %standard-phases
10119 (add-after 'unpack 'dont-update-gtk-icon-cache
10121 (substitute* "meson.build"
10122 (("meson.add_install_script('meson_install.sh')") ""))
10124 ;; TODO: Switch to wrap-script when it is fixed.
10125 (add-after 'install 'wrap-python
10126 (assoc-ref python:%standard-phases 'wrap))
10127 (add-after 'wrap-python 'wrap
10128 (lambda* (#:key outputs #:allow-other-keys)
10130 (string-append (assoc-ref outputs "out" )"/bin/piper")
10131 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10133 (home-page "https://github.com/libratbag/piper/")
10134 (synopsis "Configure bindings and LEDs on gaming mice")
10135 (description "Piper is a GTK+ application for configuring gaming mice with
10136 onboard configuration for key bindings via libratbag. Piper requires
10137 a @command{ratbagd} daemon running with root privileges. It can be run
10138 manually as root, but is preferably configured as a DBus service that can
10139 launch on demand. This can be configured by enabling the following service,
10140 provided there is a DBus service present:
10142 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10143 (license license:gpl2)))
10145 (define-public parlatype
10146 ;; This is one commit away from 2.0, because the latter introduced
10147 ;; a regression in ASR.
10148 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
10152 (version (git-version "2.0" revision commit))
10156 (uri (git-reference
10157 (url "https://github.com/gkarsay/parlatype.git")
10159 (file-name (git-file-name name version))
10161 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
10162 (build-system meson-build-system)
10164 `(#:glib-or-gtk? #t
10165 #:tests? #f ;require internet access
10167 (modify-phases %standard-phases
10168 (add-after 'install 'wrap-parlatype
10169 ;; Add gstreamer plugin provided in this package to system's
10171 (lambda* (#:key outputs #:allow-other-keys)
10172 (let* ((out (assoc-ref outputs "out"))
10173 (gst-plugin-path (string-append
10174 out "/lib/gstreamer-1.0/"
10176 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10177 (wrap-program (string-append out "/bin/parlatype")
10178 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10181 `(("appstream-glib" ,appstream-glib)
10182 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10183 ("gettext" ,gettext-minimal)
10184 ("glib" ,glib "bin") ;for glib-compile-resources
10185 ("pkg-config" ,pkg-config)
10186 ("yelp-tools" ,yelp-tools)))
10188 `(("gst-plugins-base" ,gst-plugins-base)
10189 ("gst-plugins-good" ,gst-plugins-good)
10190 ("gstreamer" ,gstreamer)
10192 ("pocketsphinx" ,pocketsphinx)
10193 ("pulseaudio" ,pulseaudio)
10194 ("sphinxbase" ,sphinxbase)))
10195 (home-page "http://gkarsay.github.io/parlatype/")
10196 (synopsis "GNOME audio player for transcription")
10197 (description "Parlatype is an audio player for the GNOME desktop
10198 environment. Its main purpose is the manual transcription of spoken
10200 (license license:gpl3+))))
10202 (define-public jsonrpc-glib
10204 (name "jsonrpc-glib")
10208 (uri (string-append "mirror://gnome/sources/" name "/"
10209 (version-major+minor version) "/"
10210 name "-" version ".tar.xz"))
10213 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10214 (build-system meson-build-system)
10216 `(("json-glib" ,json-glib)
10219 `(("pkg-config" ,pkg-config)
10220 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10221 ("gobject-introspection" ,gobject-introspection)
10223 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10224 (synopsis "JSON-RPC library for GLib")
10225 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10226 peers in either a synchronous or asynchronous fashion. It also allows
10227 communicating using the GVariant serialization format instead of JSON when
10228 both peers support it. You might want that when communicating on a single
10229 host to avoid parser overhead and memory-allocator fragmentation.")
10230 (license license:lgpl2.1+)))