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>
54 ;;; This file is part of GNU Guix.
56 ;;; GNU Guix is free software; you can redistribute it and/or modify it
57 ;;; under the terms of the GNU General Public License as published by
58 ;;; the Free Software Foundation; either version 3 of the License, or (at
59 ;;; your option) any later version.
61 ;;; GNU Guix is distributed in the hope that it will be useful, but
62 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
63 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
64 ;;; GNU General Public License for more details.
66 ;;; You should have received a copy of the GNU General Public License
67 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
69 (define-module (gnu packages gnome)
70 #:use-module (gnu packages)
71 #:use-module (gnu packages admin)
72 #:use-module (gnu packages aspell)
73 #:use-module (gnu packages autotools)
74 #:use-module (gnu packages avahi)
75 #:use-module (gnu packages backup)
76 #:use-module (gnu packages base)
77 #:use-module (gnu packages bash)
78 #:use-module (gnu packages bison)
79 #:use-module (gnu packages boost)
80 #:use-module (gnu packages build-tools)
81 #:use-module (gnu packages calendar)
82 #:use-module (gnu packages cdrom)
83 #:use-module (gnu packages check)
84 #:use-module (gnu packages cmake)
85 #:use-module (gnu packages compression)
86 #:use-module (gnu packages crates-io)
87 #:use-module (gnu packages cups)
88 #:use-module (gnu packages curl)
89 #:use-module (gnu packages cyrus-sasl)
90 #:use-module (gnu packages databases)
91 #:use-module (gnu packages dbm)
92 #:use-module (gnu packages djvu)
93 #:use-module (gnu packages dns)
94 #:use-module (gnu packages docbook)
95 #:use-module (gnu packages documentation)
96 #:use-module (gnu packages enchant)
97 #:use-module (gnu packages flex)
98 #:use-module (gnu packages fonts)
99 #:use-module (gnu packages file-systems)
100 #:use-module (gnu packages fontutils)
101 #:use-module (gnu packages freedesktop)
102 #:use-module (gnu packages game-development)
103 #:use-module (gnu packages gettext)
104 #:use-module (gnu packages ghostscript)
105 #:use-module (gnu packages gl)
106 #:use-module (gnu packages glib)
107 #:use-module (gnu packages gnupg)
108 #:use-module (gnu packages gnuzilla)
109 #:use-module (gnu packages geo)
110 #:use-module (gnu packages gperf)
111 #:use-module (gnu packages graphviz)
112 #:use-module (gnu packages gstreamer)
113 #:use-module (gnu packages gtk)
114 #:use-module (gnu packages guile)
115 #:use-module (gnu packages ibus)
116 #:use-module (gnu packages icu4c)
117 #:use-module (gnu packages image)
118 #:use-module (gnu packages imagemagick)
119 #:use-module (gnu packages inkscape)
120 #:use-module (gnu packages iso-codes)
121 #:use-module (gnu packages kerberos)
122 #:use-module (gnu packages libcanberra)
123 #:use-module (gnu packages libunistring)
124 #:use-module (gnu packages libunwind)
125 #:use-module (gnu packages libusb)
126 #:use-module (gnu packages linux)
127 #:use-module (gnu packages lirc)
128 #:use-module (gnu packages lua)
129 #:use-module (gnu packages mail)
130 #:use-module (gnu packages mp3)
131 #:use-module (gnu packages multiprecision)
132 #:use-module (gnu packages music)
133 #:use-module (gnu packages ncurses)
134 #:use-module (gnu packages nettle)
135 #:use-module (gnu packages networking)
136 #:use-module (gnu packages ninja)
137 #:use-module (gnu packages nss)
138 #:use-module (gnu packages openldap)
139 #:use-module (gnu packages password-utils)
140 #:use-module (gnu packages pcre)
141 #:use-module (gnu packages pdf)
142 #:use-module (gnu packages perl)
143 #:use-module (gnu packages photo)
144 #:use-module (gnu packages pkg-config)
145 #:use-module (gnu packages polkit)
146 #:use-module (gnu packages popt)
147 #:use-module (gnu packages pretty-print)
148 #:use-module (gnu packages pulseaudio)
149 #:use-module (gnu packages python)
150 #:use-module (gnu packages python-crypto)
151 #:use-module (gnu packages python-web)
152 #:use-module (gnu packages python-xyz)
153 #:use-module (gnu packages rdesktop)
154 #:use-module (gnu packages readline)
155 #:use-module (gnu packages ruby)
156 #:use-module (gnu packages rust)
157 #:use-module (gnu packages samba)
158 #:use-module (gnu packages scanner)
159 #:use-module (gnu packages selinux)
160 #:use-module (gnu packages slang)
161 #:use-module (gnu packages speech)
162 #:use-module (gnu packages spice)
163 #:use-module (gnu packages sqlite)
164 #:use-module (gnu packages ssh)
165 #:use-module (gnu packages swig)
166 #:use-module (gnu packages tex)
167 #:use-module (gnu packages time)
168 #:use-module (gnu packages tls)
169 #:use-module (gnu packages valgrind)
170 #:use-module (gnu packages version-control)
171 #:use-module (gnu packages video)
172 #:use-module (gnu packages virtualization)
173 #:use-module (gnu packages vpn)
174 #:use-module (gnu packages web)
175 #:use-module (gnu packages webkit)
176 #:use-module (gnu packages xdisorg)
177 #:use-module (gnu packages xiph)
178 #:use-module (gnu packages xml)
179 #:use-module (gnu packages xorg)
180 #:use-module (gnu artwork)
181 #:use-module (guix build-system cargo)
182 #:use-module (guix build-system cmake)
183 #:use-module (guix build-system glib-or-gtk)
184 #:use-module (guix build-system gnu)
185 #:use-module (guix build-system meson)
186 #:use-module (guix build-system python)
187 #:use-module (guix build-system trivial)
188 #:use-module (guix download)
189 #:use-module (guix git-download)
190 #:use-module ((guix licenses) #:prefix license:)
191 #:use-module (guix packages)
192 #:use-module (guix utils)
193 #:use-module (guix gexp)
194 #:use-module (guix monads)
195 #:use-module (guix store)
196 #:use-module (ice-9 match)
197 #:use-module (srfi srfi-1))
199 (define-public brasero
205 (uri (string-append "mirror://gnome/sources/brasero/"
206 (version-major+minor version) "/"
207 "brasero-" version ".tar.xz"))
210 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
211 (build-system glib-or-gtk-build-system)
213 `(#:configure-flags (list
214 (string-append "--with-girdir="
215 (assoc-ref %outputs "out")
217 (string-append "--with-typelibdir="
218 (assoc-ref %outputs "out")
219 "/lib/girepository-1.0"))
221 (modify-phases %standard-phases
222 (add-before 'configure 'embed-growisofs
223 (lambda* (#:key inputs #:allow-other-keys)
224 (substitute* "plugins/growisofs/burn-growisofs.c"
225 (("\"growisofs") (string-append "\"" (which "growisofs"))))
228 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
230 `(("intltool" ,intltool)
232 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
233 ("gobject-introspection" ,gobject-introspection)
234 ("pkg-config" ,pkg-config)))
236 `(("dvd+rw-tools" ,dvd+rw-tools)
238 ("gnome-doc-utils" ,gnome-doc-utils)
239 ("gstreamer" ,gstreamer)
240 ("gst-plugins-base" ,gst-plugins-base)
242 ("libcanberra" ,libcanberra)
244 ("libnotify" ,libnotify)
247 ("totem-pl-parser" ,totem-pl-parser)))
248 (home-page "https://wiki.gnome.org/Apps/Brasero")
249 (synopsis "CD/DVD burning tool for Gnome")
250 (description "Brasero is an application to burn CD/DVD for the Gnome
251 Desktop. It is designed to be as simple as possible and has some unique
252 features to enable users to create their discs easily and quickly.")
253 (license license:gpl2+)))
255 (define-public notification-daemon
257 (name "notification-daemon")
263 (string-append "mirror://gnome/sources/" name "/"
264 (version-major+minor version) "/"
265 name "-" version ".tar.xz"))
268 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
269 (build-system glib-or-gtk-build-system)
271 `(("intltool" ,intltool)
272 ("pkg-config" ,pkg-config)))
277 (synopsis "Notification Daemon for GNOME Desktop")
278 (description "Notification-Daemon is the server implementation of the
279 freedesktop.org desktop notification specification.")
280 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
281 (license license:gpl2+)))
283 (define-public mm-common
289 (uri (string-append "mirror://gnome/sources/" name "/"
290 (version-major+minor version) "/"
291 name "-" version ".tar.xz"))
294 "1m4w33da9f4rx2d6kdj3ix3kl0gn16ml82v2mdn4hljr3q29nzdr"))))
295 (build-system meson-build-system)
298 (modify-phases %standard-phases
299 (add-after 'unpack 'patch
300 (lambda* (#:key inputs #:allow-other-keys)
301 (substitute* "util/mm-common-prepare.in"
302 (("ln") (string-append (assoc-ref inputs "coreutils")
304 (("cp") (string-append (assoc-ref inputs "coreutils")
306 (("sed") (string-append (assoc-ref inputs "sed")
308 (("cat") (string-append (assoc-ref inputs "coreutils")
312 `(("coreutils" ,coreutils)
313 ("gettext" ,gettext-minimal)
314 ("pkg-config" ,pkg-config)
317 `(("python" ,python)))
318 (synopsis "Module of GNOME C++ bindings")
319 (description "The mm-common module provides the build infrastructure
320 and utilities shared among the GNOME C++ binding libraries. Release
321 archives of mm-common include the Doxygen tag file for the GNU C++
322 Library reference documentation.")
323 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
324 (license license:gpl2+)))
326 (define-public phodav
332 (uri (string-append "mirror://gnome/sources/" name "/"
333 (version-major+minor version) "/"
334 name "-" version ".tar.xz"))
337 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
338 (build-system meson-build-system)
340 `(("gettext" ,gettext-minimal)
341 ("glib:bin" ,glib "bin")
343 ("pkg-config" ,pkg-config)))
346 ("libgudev" ,libgudev)
347 ("libsoup" ,libsoup)))
348 (synopsis "WebDav server implementation using libsoup")
349 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
350 but it is generic enough to be reused in other projects,
351 in particular in the GNOME desktop.")
352 (home-page "https://wiki.gnome.org/phodav")
353 (license license:lgpl2.1+)))
355 (define-public gnome-color-manager
357 (name "gnome-color-manager")
361 (uri (string-append "mirror://gnome/sources/" name "/"
362 (version-major+minor version) "/"
363 name "-" version ".tar.xz"))
366 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
367 (build-system meson-build-system)
371 (modify-phases %standard-phases
375 ;; Tests require a running X server.
377 (setenv "DISPLAY" ":1")
380 `(("desktop-file-utils" ,desktop-file-utils)
381 ("gettext" ,gettext-minimal)
382 ("glib:bin" ,glib "bin")
383 ("gtk+:bin" ,gtk+ "bin")
385 ("pkg-config" ,pkg-config)
386 ("xorg-server" ,xorg-server-for-tests)))
388 `(("adwaita-icon-theme" ,adwaita-icon-theme)
389 ("appstream-glib" ,appstream-glib)
390 ("colord-gtk" ,colord-gtk)
392 ("gnome-desktop" ,gnome-desktop)
393 ("libcanberra" ,libcanberra)
396 ("libxrandr" ,libxrandr)
398 ("libxxf86vm" ,libxxf86vm)
400 ("xorgproto" ,xorgproto)))
401 (synopsis "Color profile manager for the GNOME desktop")
402 (description "GNOME Color Manager is a session framework that makes
403 it easy to manage, install and generate color profiles
404 in the GNOME desktop.")
405 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
406 (license license:gpl2+)))
408 (define-public gnome-online-miners
410 (name "gnome-online-miners")
414 (uri (string-append "mirror://gnome/sources/" name "/"
415 (version-major+minor version) "/"
416 name "-" version ".tar.xz"))
419 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
420 (build-system glib-or-gtk-build-system)
422 `(("gettext" ,gettext-minimal)
423 ("glib:bin" ,glib "bin")
424 ("gobject-introspection" ,gobject-introspection)
425 ("gtk+:bin" ,gtk+ "bin")
426 ("pkg-config" ,pkg-config)))
428 `(("gnome-online-accounts" ,gnome-online-accounts)
429 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
431 ("libgdata" ,libgdata)
432 ("libgfbgraph" ,gfbgraph)
433 ("libzapojit" ,libzapojit)
435 ("tracker" ,tracker)))
436 (synopsis "Web Crawlers for GNOME")
437 (description "GNOME Online Miners provides a set of crawlers that
438 go through your online content and index them locally in Tracker.
439 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
440 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
441 (license license:gpl2+)))
449 (uri (string-append "mirror://gnome/sources/" name "/"
450 (version-major+minor version) "/"
451 name "-" version ".tar.xz"))
454 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
455 (build-system meson-build-system)
457 `(("gettext" ,gettext-minimal)
458 ("glib:bin" ,glib "bin")
459 ("gobject-introspection" ,gobject-introspection)
461 ("pkg-config" ,pkg-config)
465 ("libsoup" ,libsoup)))
466 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
467 Protocol} for GNOME")
468 (description "This package provides a library to handle resource discovery
469 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
470 a debugging tool, @command{gssdp-device-sniffer}.")
471 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
472 (license license:lgpl2.0+)))
480 (uri (string-append "mirror://gnome/sources/" name "/"
481 (version-major+minor version) "/"
482 name "-" version ".tar.xz"))
485 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
486 (build-system meson-build-system)
488 `(("gettext" ,gettext-minimal)
489 ("glib:bin" ,glib "bin")
490 ("gobject-introspection" ,gobject-introspection)
492 ("pkg-config" ,pkg-config)
497 ("libsoup" ,libsoup)))
498 (synopsis "PnP API for GNOME")
499 (description "This package provides GUPnP, an object-oriented framework
500 for creating UPnP devices and control points, written in C using
501 @code{GObject} and @code{libsoup}.")
502 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
503 (license license:lgpl2.0+)))
505 (define-public gupnp-dlna
511 (uri (string-append "mirror://gnome/sources/" name "/"
512 (version-major+minor version) "/"
513 name "-" version ".tar.xz"))
516 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
517 (build-system gnu-build-system)
519 `(("gettext" ,gettext-minimal)
520 ("glib:bin" ,glib "bin")
521 ("gobject-introspection" ,gobject-introspection)
524 ("pkg-config" ,pkg-config)
527 `(("gstreamer" ,gstreamer)
530 `(("gst-plugins-base" ,gst-plugins-base)
531 ("gst-plugins-good" ,gst-plugins-good)))
532 (synopsis "GUPnP DLNA for GNOME")
533 (description "This package provides a small utility library to
534 support DLNA-related tasks such as media profile guessing, transcoding to a
535 given profile, etc. DLNA is a subset of UPnP A/V.")
536 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
537 (license license:lgpl2.0+)))
539 (define-public gupnp-av
545 (uri (string-append "mirror://gnome/sources/" name "/"
546 (version-major+minor version) "/"
547 name "-" version ".tar.xz"))
550 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
551 (build-system gnu-build-system)
553 `(("gettext" ,gettext-minimal)
554 ("glib:bin" ,glib "bin")
555 ("gobject-introspection" ,gobject-introspection)
558 ("pkg-config" ,pkg-config)))
562 (synopsis "GUPnP A/V for GNOME")
563 (description "This package provides a small library for handling
564 and implementation of UPnP A/V profiles.")
565 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
566 (license license:lgpl2.0+)))
568 (define-public libmediaart
574 (uri (string-append "mirror://gnome/sources/" name "/"
575 (version-major+minor version) "/"
576 name "-" version ".tar.xz"))
579 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
580 (build-system gnu-build-system)
582 `(("glib:bin" ,glib "bin")
583 ("pkg-config" ,pkg-config)))
585 `(("gdk-pixbuf" ,gdk-pixbuf)
586 ("gettext" ,gettext-minimal)
587 ("gobject-introspection" ,gobject-introspection)
588 ("gtk+:doc", gtk+ "doc")
590 (synopsis "Media art library for the GNOME desktop")
592 "The libmediaart library is the foundation for media art caching,
593 extraction, and lookup for applications on the desktop.")
594 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
595 (license license:lgpl2.1+)))
597 (define-public gnome-initial-setup
599 (name "gnome-initial-setup")
603 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
604 (version-major+minor version)
605 "/gnome-initial-setup-" version ".tar.xz"))
608 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
609 (build-system meson-build-system)
611 '(#:configure-flags '(;; Enable camera support for user selfie.
614 #:phases (modify-phases %standard-phases
615 (add-after 'unpack 'set-gkbd-file-name
616 (lambda* (#:key inputs #:allow-other-keys)
617 ;; Allow the "Preview" button in the keyboard layout
618 ;; selection dialog to display the layout.
619 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
620 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
621 (("\"gkbd-keyboard-display")
622 (string-append "\"" libgnomekbd
623 "/bin/gkbd-keyboard-display")))
626 `(("gettext" ,gettext-minimal)
627 ("glib:bin" ,glib "bin")
628 ("gobject-introspection" ,gobject-introspection)
629 ("gtk+:bin" ,gtk+ "bin")
630 ("pkg-config" ,pkg-config)))
632 `(("accountsservice" ,accountsservice)
633 ;("adwaita-icon-theme" ,adwaita-icon-theme)
636 ("gnome-desktop" ,gnome-desktop)
637 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
638 ("gnome-online-accounts" ,gnome-online-accounts)
639 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
640 ("gstreamer" ,gstreamer)
642 ("json-glib" ,json-glib)
644 ("libgweather" ,libgweather)
645 ("libsecret" ,libsecret)
646 ("network-manager" ,network-manager)
647 ("network-manager-applet" ,network-manager-applet)
648 ("packagekit" ,packagekit)
650 ("pwquality" ,libpwquality)
653 ("webkitgtk" ,webkitgtk)
654 ("libgnomekbd" ,libgnomekbd)))
655 (synopsis "Initial setup wizard for GNOME desktop")
656 (description "This package provides a set-up wizard when a
657 user logs into GNOME for the first time. It typically provides a
658 tour of all gnome components and allows the user to set them up.")
659 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
660 (license license:gpl2)))
662 (define-public gnome-user-share
664 (name "gnome-user-share")
668 (uri (string-append "mirror://gnome/sources/" name "/"
669 (version-major+minor version) "/"
670 name "-" version ".tar.xz"))
673 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
674 (build-system meson-build-system)
679 ;; Enable nautilus extension for file sharing.
680 "-Dnautilus_extension=true")))
682 `(("gettext" ,gettext-minimal)
683 ("glib:bin" ,glib "bin")
684 ("gobject-introspection" ,gobject-introspection)
685 ("gtk+:bin" ,gtk+ "bin")
686 ("pkg-config" ,pkg-config)
687 ("yelp-tools" ,yelp-tools)))
690 ("gnome-bluetooth" ,gnome-bluetooth)
692 ("libcanberra" ,libcanberra)
693 ("libnotify" ,libnotify)
694 ("nautilus" ,nautilus))) ; For nautilus extension.
695 (synopsis "File sharing for GNOME desktop")
696 (description "GNOME User Share is a small package that binds together
697 various free software projects to bring easy to use user-level file
698 sharing to the masses.")
699 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
700 (license license:gpl2+)))
708 (uri (string-append "mirror://gnome/sources/" name "/"
709 (version-major+minor version) "/"
710 name "-" version ".tar.xz"))
713 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
714 (build-system meson-build-system)
718 (modify-phases %standard-phases
719 (add-after 'glib-or-gtk-wrap 'wrap-typelib
720 (lambda* (#:key outputs #:allow-other-keys)
721 (let ((prog (string-append (assoc-ref outputs "out")
723 ;; Put existing typelibs before sushi's deps, so as to correctly
726 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
729 `(("glib:bin" ,glib "bin")
730 ("gettext" ,gettext-minimal)
731 ("gobject-introspection" ,gobject-introspection)
732 ("pkg-config" ,pkg-config)))
734 `(("clutter" ,clutter)
735 ("clutter-gst" ,clutter-gst)
736 ("clutter-gtk" ,clutter-gtk)
737 ("evince" ,evince) ; For file previewing.
738 ("freetype" ,freetype)
739 ("gdk-pixbuf" ,gdk-pixbuf)
741 ("gst-plugins-base" ,gst-plugins-base)
742 ("gstreamer" ,gstreamer)
743 ("gtksourceview" ,gtksourceview-3)
744 ("harfbuzz" ,harfbuzz)
745 ("libepoxy" ,libepoxy)
746 ("libmusicbrainz" ,libmusicbrainz)
749 ("webkitgtk" ,webkitgtk)))
750 (synopsis "File previewer for the GNOME desktop")
751 (description "Sushi is a DBus-activated service that allows applications to
752 preview files on the GNOME desktop.")
753 (home-page "https://gitlab.gnome.org/GNOME/sushi")
754 (license license:gpl2+)))
762 (uri (string-append "mirror://gnome/sources/" name "/"
763 (version-major+minor version) "/"
764 name "-" version ".tar.xz"))
767 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
768 (build-system gnu-build-system)
770 `(("gettext" ,gettext-minimal)
771 ("gobject-introspection" ,gobject-introspection)
773 ("pkg-config" ,pkg-config)
776 `(("gdk-pixbuf" ,gdk-pixbuf)
778 ("gstreamer" ,gstreamer)
779 ("gst-plugins-base" ,gst-plugins-base)
782 ("gupnp-av" ,gupnp-av)
783 ("gupnp-dlna" ,gupnp-dlna)
785 ("libmediaart" ,libmediaart)
788 ("libunistring" ,libunistring)
789 ("tracker" ,tracker)))
790 (synopsis "Share audio, video, and pictures with other devices")
792 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
793 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
794 pictures, and to control a media player on your home network.
796 Rygel achieves interoperability with other devices by trying to conform to the
797 strict requirements of DLNA and by converting media on-the-fly to formats that
798 client devices can handle.")
799 (home-page "https://wiki.gnome.org/Projects/Rygel")
801 ;; For logo (data/icons/*).
806 (define-public libnma
812 (uri (string-append "mirror://gnome/sources/" name "/"
813 (version-major+minor version) "/"
814 name "-" version ".tar.xz"))
817 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
818 (build-system meson-build-system)
820 `(#:glib-or-gtk? #t))
822 `(("gettext" ,gettext-minimal)
823 ("glib:bin" ,glib "bin")
825 ("gobject-introspection" ,gobject-introspection)
826 ("pkg-config" ,pkg-config)))
828 `(("adwaita-icon-theme" ,adwaita-icon-theme)
831 ("iso-codes" ,iso-codes)
832 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
833 ("network-manager" ,network-manager)))
834 (synopsis "Network Manager's applet library")
835 (description "Libnma is an applet library for Network Manager. It was
836 initially part of network-manager-applet and has now become a separate
838 (home-page "https://gitlab.gnome.org/GNOME/libnma")
840 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
842 (license license:gpl2+)))
844 (define-public gnome-menus
850 (uri (string-append "mirror://gnome/sources/gnome-menus/"
851 (version-major+minor version) "/"
852 name "-" version ".tar.xz"))
855 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
856 (build-system gnu-build-system)
858 `(("gettext" ,gettext-minimal)
860 ("pkg-config" ,pkg-config)))
861 (synopsis "Menu support for GNOME desktop")
862 (description "GNOME Menus contains the libgnome-menu library, the layout
863 configuration files for the GNOME menu, as well as a simple menu editor.")
864 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
865 (license license:lgpl2.0+)))
867 (define-public deja-dup
873 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
876 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
878 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
879 (build-system glib-or-gtk-build-system)
881 `(#:modules ((guix build gnu-build-system)
882 ((guix build cmake-build-system) #:prefix cmake:)
883 (guix build glib-or-gtk-build-system)
885 #:imported-modules (,@%glib-or-gtk-build-system-modules
886 (guix build cmake-build-system))
888 #:configure-flags (list (string-append
889 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
891 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
893 (modify-phases %standard-phases
894 (add-after 'unpack 'patch-lockfile-deletion
896 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
900 (assoc-ref cmake:%standard-phases 'configure))
901 (delete 'check) ;; Fails due to issues with DBus
902 (add-after 'install 'wrap-deja-dup
903 (lambda* (#:key inputs outputs #:allow-other-keys)
904 (let ((python (assoc-ref inputs "python"))
905 (python-path (getenv "PYTHONPATH"))
906 (duplicity (assoc-ref inputs "duplicity"))
907 (out (assoc-ref outputs "out")))
910 (wrap-program program
911 `("PATH" ":" prefix (,(string-append python "/bin")
912 ,(string-append duplicity "/bin"))))
913 (wrap-program program
914 `("PYTHONPATH" ":" prefix (,python-path))))
916 (find-files (string-append out "/bin")))
919 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
920 ("gobject-introspection" ,gobject-introspection)
921 ("duplicity" ,duplicity)
923 ("python-pygobject" ,python2-pygobject)
925 ("libnotify" ,libnotify)
927 ("libsecret" ,libsecret)
928 ("packagekit" ,packagekit)))
930 `(("pkg-config" ,pkg-config)
932 ("gettext" ,gettext-minimal)
934 ("intltool" ,intltool)
935 ("cmake" ,cmake-minimal)))
936 (home-page "https://launchpad.net/deja-dup")
937 (synopsis "Simple backup tool, for regular encrypted backups")
939 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
940 uses duplicity as the backend, which supports incremental backups and storage
941 either on a local, or remote machine via a number of methods.")
942 (license license:gpl3+)))
944 (define-public gnome-user-docs
946 (name "gnome-user-docs")
951 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
952 (version-major+minor version)
953 "/gnome-user-docs-" version ".tar.xz"))
955 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
956 (build-system gnu-build-system)
958 `(("gettext" ,gettext-minimal)
960 ("pkg-config" ,pkg-config)
961 ("xmllint" ,libxml2)))
962 (synopsis "User documentation for the GNOME desktop")
964 "The GNOME User Documentation explains how to use the GNOME desktop and its
965 components. It covers usage and setup of the core GNOME programs by end-users
966 and system administrators.")
967 (home-page "https://live.gnome.org/DocumentationProject")
968 (license license:cc-by3.0)))
970 (define-public gnome-getting-started-docs
972 (name "gnome-getting-started-docs")
977 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
978 (version-major+minor version)
979 "/gnome-getting-started-docs-" version ".tar.xz"))
981 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
982 (build-system gnu-build-system)
984 `(("gettext" ,gettext-minimal)
986 ("pkg-config" ,pkg-config)
987 ("xmllint" ,libxml2)))
988 (synopsis "Help to get new users started with the GNOME desktop")
990 "The GNOME Getting Started Documentation contains GNOME's intuitive
991 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
993 It is normally used together with @command{gnome-initial-setup}, but is also
994 useful as a tutorial and users' guide for new or less experienced users.")
995 (home-page "https://live.gnome.org/DocumentationProject")
996 (license license:cc-by-sa3.0)))
999 ;; This version from GNOME's repository includes fixes for compiling with
1000 ;; recent versions of the build tools. The latest activity on the
1001 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1003 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
1006 (version (git-version "0.97.3" "1" commit))
1010 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1012 (file-name (git-file-name name version))
1015 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
1016 (build-system gnu-build-system)
1018 `(("freetype" ,freetype)
1019 ("gdk-pixbuf" ,gdk-pixbuf)
1021 ("libart-lgpl" ,libart-lgpl)
1022 ("libxml2" ,libxml2)
1025 `(("autoconf" ,autoconf)
1026 ("automake" ,automake)
1027 ("intltool" ,intltool)
1028 ("glib" ,glib "bin")
1029 ("libtool" ,libtool)
1031 ("pkg-config" ,pkg-config)
1032 ("python-wrapper" ,python-wrapper)))
1033 (home-page "https://wiki.gnome.org/Apps/Dia")
1034 (synopsis "Diagram creation for GNOME")
1035 (description "Dia can be used to draw different types of diagrams, and
1036 includes support for UML static structure diagrams (class diagrams), entity
1037 relationship modeling, and network diagrams. The program supports various file
1038 formats like PNG, SVG, PDF and EPS.")
1039 (license license:gpl2+))))
1041 ;; This is the unstable release, but it is required for the current stable
1042 ;; release of gvfs (1.38.1).
1043 (define-public libgdata
1049 (uri (string-append "mirror://gnome/sources/" name "/"
1050 (version-major+minor version) "/"
1051 name "-" version ".tar.xz"))
1054 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1055 (build-system gnu-build-system)
1058 (modify-phases %standard-phases
1059 (add-before 'check 'disable-failing-tests
1061 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1062 ;; They have been removed in libgdata 0.17.6, so just do the same.
1063 (substitute* "gdata/tests/Makefile"
1064 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1067 `(("glib:bin" ,glib "bin")
1068 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1069 ("intltool" ,intltool)
1070 ("pkg-config" ,pkg-config)
1071 ("uhttpmock" ,uhttpmock)))
1073 `(("cyrus-sasl" ,cyrus-sasl)
1074 ("glib-networking" ,glib-networking)))
1078 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1079 ("json-glib" ,json-glib)
1080 ("liboauth" ,liboauth)
1081 ("libsoup" ,libsoup)
1082 ("libxml2" ,libxml2)))
1083 (home-page "https://wiki.gnome.org/Projects/libgdata")
1084 (synopsis "Library for accessing online service APIs")
1086 "libgdata is a GLib-based library for accessing online service APIs using
1087 the GData protocol — most notably, Google's services. It provides APIs to
1088 access the common Google services, and has full asynchronous support.")
1089 (license license:lgpl2.1+)))
1091 (define-public libgxps
1097 (uri (string-append "mirror://gnome/sources/" name "/"
1098 (version-major+minor version) "/"
1099 name "-" version ".tar.xz"))
1102 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1103 (build-system meson-build-system)
1105 `(("gobject-introspection" ,gobject-introspection)
1106 ("pkg-config" ,pkg-config)))
1109 ("libjpeg" ,libjpeg-turbo)
1111 ("libtiff" ,libtiff)))
1113 ;; In Requires of libgxps.pc.
1116 ("libarchive" ,libarchive)))
1117 (home-page "https://wiki.gnome.org/Projects/libgxps")
1118 (synopsis "GObject-based library for handling and rendering XPS documents")
1120 "libgxps is a GObject-based library for handling and rendering XPS
1121 documents. This package also contains binaries that can convert XPS documents
1123 (license license:lgpl2.1+)))
1125 (define-public gnome-characters
1127 (name "gnome-characters")
1132 (uri (string-append "mirror://gnome/sources/"
1133 "gnome-characters/" (version-major+minor version)
1134 "/gnome-characters-" version ".tar.xz"))
1137 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1138 (build-system meson-build-system)
1141 #:phases (modify-phases %standard-phases
1142 (add-after 'install 'wrap
1143 (lambda* (#:key outputs #:allow-other-keys)
1144 ;; GNOME Characters needs Typelib files from GTK and
1146 (wrap-program (string-append (assoc-ref outputs "out")
1147 "/bin/gnome-characters")
1148 `("GI_TYPELIB_PATH" ":" prefix
1149 (,(getenv "GI_TYPELIB_PATH"))))
1152 `(("gettext" ,gettext-minimal)
1153 ("glib:bin" ,glib "bin")
1154 ("gtk+:bin" ,gtk+ "bin")
1155 ("pkg-config" ,pkg-config)
1156 ("python" ,python-minimal)))
1160 ("libunistring" ,libunistring)
1161 ("gnome-desktop" ,gnome-desktop)))
1162 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1163 (synopsis "Find and insert unusual characters")
1164 (description "Characters is a simple utility application to find
1165 and insert unusual characters. It allows you to quickly find the
1166 character you are looking for by searching for keywords.")
1167 (license license:bsd-3)))
1169 (define-public gnome-common
1171 (name "gnome-common")
1176 (uri (string-append "mirror://gnome/sources/" name "/"
1177 (version-major+minor version) "/"
1178 name "-" version ".tar.xz"))
1181 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1182 (build-system gnu-build-system)
1183 (home-page "https://www.gnome.org/")
1184 (synopsis "Bootstrap GNOME modules built from Git")
1185 (description "gnome-common contains various files needed to bootstrap
1186 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1187 can be used to configure a source directory checked out from Git and some
1188 commonly used macros.")
1189 (license license:gpl2+)))
1191 (define-public gnome-contacts
1193 (name "gnome-contacts")
1197 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1198 (version-major+minor version) "/"
1199 name "-" version ".tar.xz"))
1202 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1203 (build-system meson-build-system)
1205 `(#:configure-flags '("-Dcheese=false")
1207 (modify-phases %standard-phases
1208 (add-after 'unpack 'generate-vapis
1209 (lambda* (#:key inputs #:allow-other-keys)
1210 ;; To generate goa's missing .vapi file
1212 (assoc-ref inputs "gnome-online-accounts:lib"))
1214 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1216 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1218 (add-after 'unpack 'skip-gtk-update-icon-cache
1219 ;; Don't create 'icon-theme.cache'.
1221 (substitute* "build-aux/meson_post_install.py"
1222 (("gtk-update-icon-cache") "true"))
1225 `(("glib:bin" ,glib "bin")
1226 ("pkg-config" ,pkg-config)))
1228 `(("docbook-xml" ,docbook-xml)
1229 ("dockbook-xsl" ,docbook-xsl)
1230 ("evolution-data-server" ,evolution-data-server)
1231 ("gettext" ,gettext-minimal)
1232 ("gnome-desktop" ,gnome-desktop)
1233 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1234 ("gobject-introspection" ,gobject-introspection)
1235 ("gst-plugins-base" ,gst-plugins-base)
1238 ("libxslt" ,libxslt)
1239 ("telepathy-glib" ,telepathy-glib)
1243 ("telepathy-mission-control" ,telepathy-mission-control)))
1244 (synopsis "GNOME's integrated address book")
1246 "GNOME Contacts organizes your contact information from online and
1247 offline sources, providing a centralized place for managing your contacts.")
1248 (home-page "https://wiki.gnome.org/Apps/Contacts")
1249 (license license:gpl2+)))
1251 (define-public gnome-desktop
1253 (name "gnome-desktop")
1258 (uri (string-append "mirror://gnome/sources/" name "/"
1259 (version-major+minor version) "/"
1260 name "-" version ".tar.xz"))
1263 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1264 (build-system meson-build-system)
1267 (modify-phases %standard-phases
1268 (add-before 'configure 'patch-path
1269 (lambda* (#:key inputs #:allow-other-keys)
1270 (let ((libc (assoc-ref inputs "libc")))
1271 (substitute* "libgnome-desktop/gnome-languages.c"
1273 (string-append "\"" libc "/bin/locale\"")))
1275 (add-before 'check 'pre-check
1276 (lambda* (#:key inputs #:allow-other-keys)
1277 ;; Tests require a running X server and locales.
1278 (system "Xvfb :1 &")
1279 (setenv "DISPLAY" ":1")
1280 (setenv "GUIX_LOCPATH"
1281 (string-append (assoc-ref inputs "glibc-locales")
1285 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1286 ("glibc-locales" ,glibc-locales) ; for tests
1287 ("gobject-introspection" ,gobject-introspection)
1288 ("itstool" ,itstool)
1289 ("intltool" ,intltool)
1290 ("pkg-config" ,pkg-config)
1291 ("xmllint" ,libxml2)
1292 ("xorg-server" ,xorg-server-for-tests)))
1294 ;; Required by gnome-desktop-3.0.pc.
1295 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1297 ("iso-codes" ,iso-codes)
1298 ("libseccomp" ,libseccomp)
1300 ("xkeyboard-config" ,xkeyboard-config)))
1302 `(("gdk-pixbuf" ,gdk-pixbuf)
1304 ("libxext" ,libxext)
1305 ("libxkbfile" ,libxkbfile)
1306 ("libxrandr" ,libxrandr)))
1307 (home-page "https://www.gnome.org/")
1309 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1311 "The libgnome-desktop library provides API shared by several applications
1312 on the desktop, but that cannot live in the platform for various reasons.
1313 There is no API or ABI guarantee, although we are doing our best to provide
1314 stability. Documentation for the API is available with gtk-doc.
1316 The gnome-about program helps find which version of GNOME is installed.")
1317 ; Some bits under the LGPL.
1318 (license license:gpl2+)))
1320 (define-public gnome-doc-utils
1322 (name "gnome-doc-utils")
1327 (uri (string-append "mirror://gnome/sources/" name "/"
1328 (version-major+minor version) "/"
1329 name "-" version ".tar.xz"))
1332 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1333 (build-system gnu-build-system)
1335 `(("intltool" ,intltool)
1336 ("docbook-xml" ,docbook-xml-4.4)
1337 ("python2-libxml2" ,python2-libxml2)
1338 ("libxml2" ,libxml2)
1339 ("libxslt" ,libxslt)
1340 ("pkg-config" ,pkg-config)
1341 ("python-2" ,python-2)))
1342 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1344 "Documentation utilities for the Gnome project")
1346 "Gnome-doc-utils is a collection of documentation utilities for the
1347 Gnome project. It includes xml2po tool which makes it easier to translate
1348 and keep up to date translations of documentation.")
1349 (license license:gpl2+))) ; xslt under lgpl
1351 (define-public gnome-disk-utility
1353 (name "gnome-disk-utility")
1357 (uri (string-append "mirror://gnome/sources/" name "/"
1358 (version-major+minor version) "/"
1359 name "-" version ".tar.xz"))
1362 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1363 (build-system meson-build-system)
1365 '(#:configure-flags '("-Dlogind=libelogind")
1367 (modify-phases %standard-phases
1368 (add-after 'unpack 'skip-gtk-update-icon-cache
1369 ;; Don't create 'icon-theme.cache'.
1371 (substitute* "meson_post_install.py"
1372 (("gtk-update-icon-cache") "true"))
1375 `(("glib:bin" ,glib "bin")
1376 ("intltool" ,intltool)
1377 ("pkg-config" ,pkg-config)
1378 ("docbook-xml" ,docbook-xml)
1379 ("docbook-xsl" ,docbook-xsl)
1380 ("libxml2" ,libxml2)
1381 ("libxslt" ,libxslt)))
1383 `(("elogind" ,elogind)
1385 ("appstream-glib" ,appstream-glib)
1386 ("gnome-settings-daemon" ,gnome-settings-daemon)
1388 ("libcanberra" ,libcanberra)
1389 ("libdvdread" ,libdvdread)
1390 ("libnotify" ,libnotify)
1391 ("libpwquality" ,libpwquality)
1392 ("libsecret" ,libsecret)
1393 ("udisks" ,udisks)))
1394 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1395 (synopsis "Disk management utility for GNOME")
1396 (description "Disk management utility for GNOME.")
1397 (license license:gpl2+)))
1399 (define-public gnome-font-viewer
1401 (name "gnome-font-viewer")
1405 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1406 (version-major+minor version)
1407 "/gnome-font-viewer-" version ".tar.xz"))
1410 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1411 (build-system meson-build-system)
1414 (modify-phases %standard-phases
1415 (add-after 'unpack 'patch-post-install-script
1417 (substitute* "meson-postinstall.sh"
1418 (("update-desktop-database") (which "true")))
1421 `(("gettext" ,gettext-minimal)
1422 ("glib:bin" ,glib "bin")
1423 ("pkg-config" ,pkg-config)))
1426 ("gnome-desktop" ,gnome-desktop)
1428 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1429 (synopsis "GNOME Fonts")
1430 (description "Application to show you the fonts installed on your computer
1431 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1432 the font would look under various sizes.")
1433 (license license:gpl2+)))
1441 (uri (string-append "mirror://gnome/sources/" name "/"
1442 (version-major+minor version) "/"
1443 name "-" version ".tar.xz"))
1446 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1447 (build-system gnu-build-system)
1450 (modify-phases %standard-phases
1451 ;; These fail because /var/lib/dbus/machine-id is not present in the
1452 ;; build environment.
1453 (add-after 'unpack 'disable-failing-tests
1455 (substitute* "Makefile.in"
1456 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1459 (add-before 'check 'pre-check
1461 ;; Some tests expect to write to $HOME.
1462 (setenv "HOME" "/tmp")
1466 ("gnupg" ,gnupg) ;called as a child process during tests
1467 ("libgcrypt" ,libgcrypt)))
1469 `(("python" ,python-wrapper) ;for tests
1470 ("pkg-config" ,pkg-config)
1471 ("gettext" ,gettext-minimal)
1472 ("glib" ,glib "bin")
1473 ("gobject-introspection" ,gobject-introspection)
1474 ("libxml2" ,libxml2)
1476 ("xsltproc" ,libxslt)))
1477 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1479 `(("p11-kit" ,p11-kit)
1482 (home-page "https://www.gnome.org")
1483 (synopsis "Libraries for displaying certificates and accessing key stores")
1485 "The GCR package contains libraries used for displaying certificates and
1486 accessing key stores. It also provides the viewer for crypto files on the
1488 (license license:lgpl2.1+)))
1490 (define-public libgnome-keyring
1492 (name "libgnome-keyring")
1496 (uri (string-append "mirror://gnome/sources/" name "/"
1497 (version-major+minor version) "/"
1498 name "-" version ".tar.xz"))
1501 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1502 (build-system gnu-build-system)
1504 `(("libgcrypt" ,libgcrypt)
1507 `(("pkg-config" ,pkg-config)
1508 ("glib" ,glib "bin")
1509 ("intltool" ,intltool)))
1511 ;; Referred to in .h files and .pc.
1513 (home-page "https://www.gnome.org")
1514 (synopsis "Accessing passwords from the GNOME keyring")
1516 "Client library to access passwords from the GNOME keyring.")
1518 ;; Though a couple of files are LGPLv2.1+.
1519 (license license:lgpl2.0+)))
1521 (define-public gnome-keyring
1523 (name "gnome-keyring")
1527 (uri (string-append "mirror://gnome/sources/" name "/"
1528 (version-major+minor version) "/"
1529 name "-" version ".tar.xz"))
1532 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1533 (build-system gnu-build-system)
1535 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1539 (string-append "--with-pkcs11-config="
1540 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1541 (string-append "--with-pkcs11-modules="
1542 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1544 (modify-phases %standard-phases
1545 (add-after 'unpack 'fix-/bin/sh-reference
1547 (substitute* "po/Makefile.in.in"
1548 (("/bin/sh") (which "sh")))
1550 (add-after 'unpack 'fix-docbook
1551 (lambda* (#:key inputs #:allow-other-keys)
1552 (substitute* "docs/Makefile.am"
1553 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1554 (string-append (assoc-ref inputs "docbook-xsl")
1555 "/xml/xsl/docbook-xsl-"
1556 ,(package-version docbook-xsl)
1557 "/manpages/docbook.xsl")))
1558 (setenv "XML_CATALOG_FILES"
1559 (string-append (assoc-ref inputs "docbook-xml")
1560 "/xml/dtd/docbook/catalog.xml"))
1561 ;; Rerun the whole thing to avoid version mismatch ("This is
1562 ;; Automake 1.15.1, but the definition used by this
1563 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1564 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1567 (invoke "automake" "-ac"))))))
1569 `(("libgcrypt" ,libgcrypt)
1570 ("linux-pam" ,linux-pam)
1571 ("openssh" ,openssh)
1575 `(("pkg-config" ,pkg-config)
1576 ("glib" ,glib "bin")
1577 ("glib" ,glib) ; for m4 macros
1578 ("python" ,python-2) ;for tests
1579 ("intltool" ,intltool)
1580 ("autoconf" ,autoconf)
1581 ("automake" ,automake)
1582 ("libxslt" ,libxslt) ;for documentation
1583 ("docbook-xml" ,docbook-xml-4.2)
1584 ("docbook-xsl" ,docbook-xsl)))
1585 (home-page "https://www.gnome.org")
1586 (synopsis "Daemon to store passwords and encryption keys")
1588 "gnome-keyring is a program that keeps passwords and other secrets for
1589 users. It is run as a daemon in the session, similar to ssh-agent, and other
1590 applications locate it via an environment variable or D-Bus.
1592 The program can manage several keyrings, each with its own master password,
1593 and there is also a session keyring which is never stored to disk, but
1594 forgotten when the session ends.")
1595 (license license:lgpl2.1+)))
1597 (define-public evince
1603 (uri (string-append "mirror://gnome/sources/evince/"
1604 (version-major+minor version) "/"
1605 "evince-" version ".tar.xz"))
1608 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1609 (build-system glib-or-gtk-build-system)
1611 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1613 (modify-phases %standard-phases
1614 (add-before 'install 'skip-gtk-update-icon-cache
1615 ;; Don't create 'icon-theme.cache'.
1617 (substitute* "data/Makefile"
1618 (("gtk-update-icon-cache") "true"))
1621 `(("libarchive" ,libarchive)
1622 ("libgxps" ,libgxps)
1623 ("libspectre" ,libspectre)
1624 ("djvulibre" ,djvulibre)
1625 ("ghostscript" ,ghostscript)
1626 ("poppler" ,poppler)
1627 ("libtiff" ,libtiff)
1629 ;; Build libkpathsea as a shared library for DVI support.
1630 ;; ("libkpathsea" ,texlive-bin)
1631 ("gnome-desktop" ,gnome-desktop)
1632 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1634 ("libgnome-keyring" ,libgnome-keyring)
1635 ("adwaita-icon-theme" ,adwaita-icon-theme)
1636 ("gdk-pixbuf" ,gdk-pixbuf)
1641 ("libxml2" ,libxml2)
1644 ("shared-mime-info" ,shared-mime-info)
1646 ("libcanberra" ,libcanberra)
1647 ("libsecret" ,libsecret)
1650 ("dogtail" ,python2-dogtail)))
1652 `(("itstool" ,itstool)
1653 ("intltool" ,intltool)
1654 ("glib" ,glib "bin")
1655 ("gobject-introspection" ,gobject-introspection)
1656 ("pkg-config" ,pkg-config)
1657 ("xmllint" ,libxml2)))
1659 "https://www.gnome.org/projects/evince/")
1660 (synopsis "GNOME's document viewer")
1662 "Evince is a document viewer for multiple document formats. It
1663 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1664 of Evince is to replace the multiple document viewers that exist
1665 on the GNOME Desktop with a single simple application.")
1666 (license license:gpl2+)))
1668 (define-public gsettings-desktop-schemas
1670 (name "gsettings-desktop-schemas")
1675 (uri (string-append "mirror://gnome/sources/" name "/"
1676 (version-major+minor version) "/"
1677 name "-" version ".tar.xz"))
1680 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1681 (build-system meson-build-system)
1683 '(#:phases (modify-phases %standard-phases
1684 (add-after 'unpack 'patch-schemas
1685 (lambda* (#:key inputs #:allow-other-keys)
1686 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1687 (substitute* (find-files "schemas"
1688 "\\.gschema\\.xml\\.in$")
1689 ;; Provide the correct file name of the default GNOME
1690 ;; background, 'adwaita-timed.xml'.
1691 (("@datadir@/backgrounds/gnome")
1692 (string-append theme "/share/backgrounds/gnome"))
1693 ;; Do not reference fonts, that may not exist.
1694 (("'Source Code Pro 10'") "'Monospace 11'"))
1698 ("gnome-backgrounds" ,gnome-backgrounds)))
1700 `(("intltool" ,intltool)
1701 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1702 ("gobject-introspection" ,gobject-introspection)
1703 ("pkg-config" ,pkg-config)))
1704 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1706 "GNOME settings for various desktop components")
1708 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1709 for settings shared by various components of the GNOME desktop.")
1710 (license license:lgpl2.1+)))
1712 (define-public icon-naming-utils
1714 (name "icon-naming-utils")
1719 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1720 version ".tar.bz2"))
1723 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1724 (build-system gnu-build-system)
1727 ("perl-xml-simple" ,perl-xml-simple)))
1730 (modify-phases %standard-phases
1731 (add-after 'install 'set-load-paths
1732 ;; Tell 'icon-name-mapping' where XML::Simple is.
1733 (lambda* (#:key outputs #:allow-other-keys)
1734 (let* ((out (assoc-ref outputs "out"))
1735 (prog (string-append out "/libexec/icon-name-mapping")))
1738 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1740 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1742 "Utility to implement the Freedesktop Icon Naming Specification")
1744 "To help with the transition to the Freedesktop Icon Naming
1745 Specification, the icon naming utility maps the icon names used by the
1746 GNOME and KDE desktops to the icon names proposed in the specification.")
1747 (license license:lgpl2.1+)))
1749 (define-public gnome-icon-theme
1751 (name "gnome-icon-theme")
1756 (uri (string-append "mirror://gnome/sources/" name "/"
1757 (version-major+minor version) "/"
1758 name "-" version ".tar.xz"))
1761 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1762 (build-system gnu-build-system)
1765 ;; Don't create 'icon-theme.cache'.
1766 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1767 (true (string-append coreutils "/bin/true")))
1768 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1770 `(("icon-naming-utils" ,icon-naming-utils)
1771 ("intltool" ,intltool)
1772 ("pkg-config" ,pkg-config)))
1773 (home-page "https://wiki.gnome.org/Personalization")
1774 (synopsis "GNOME icon theme")
1775 (description "Icons for the GNOME desktop.")
1776 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1778 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1779 (define-public adwaita-icon-theme
1780 (package (inherit gnome-icon-theme)
1781 (name "adwaita-icon-theme")
1785 (uri (string-append "mirror://gnome/sources/" name "/"
1786 (version-major+minor version) "/"
1787 name "-" version ".tar.xz"))
1790 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1792 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1794 (define-public tango-icon-theme
1796 (name "tango-icon-theme")
1800 (uri (string-append "http://tango.freedesktop.org/releases/"
1801 "tango-icon-theme-" version ".tar.bz2"))
1804 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1805 (build-system gnu-build-system)
1807 `(("icon-naming-utils" ,icon-naming-utils)
1808 ("intltool" ,intltool)
1809 ("imagemagick" ,imagemagick)
1810 ("pkg-config" ,pkg-config)))
1811 (home-page "http://tango-project.org/")
1812 (synopsis "Tango icon theme")
1813 (description "This is an icon theme that follows the Tango visual
1815 (license license:public-domain)))
1817 (define-public shared-mime-info
1819 (name "shared-mime-info")
1824 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1825 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1829 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1830 (build-system gnu-build-system)
1832 ;; The build system appears not to be parallel-safe.
1833 '(#:parallel-build? #f))
1836 ("libxml2" ,libxml2)))
1838 `(("gettext" ,gettext-minimal)
1839 ("itstool" ,itstool)
1840 ("pkg-config" ,pkg-config)))
1841 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1842 (synopsis "Database of common MIME types")
1844 "The shared-mime-info package contains the core database of common types
1845 and the update-mime-database command used to extend it. It requires glib2 to
1846 be installed for building the update command. Additionally, it uses intltool
1847 for translations, though this is only a dependency for the maintainers. This
1848 database is translated at Transifex.")
1849 (license license:gpl2+)))
1851 (define-public system-config-printer
1853 (name "system-config-printer")
1859 "https://github.com/OpenPrinting/system-config-printer/releases/"
1861 "/system-config-printer-" version ".tar.xz"))
1863 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1864 (build-system glib-or-gtk-build-system)
1866 `(#:imported-modules ((guix build python-build-system)
1867 ,@%glib-or-gtk-build-system-modules)
1869 (modify-phases %standard-phases
1870 (add-after 'unpack 'patch-Makefile.am
1872 ;; The Makefile generates some scripts, so set a valid shebang
1873 (substitute* "Makefile.am"
1874 (("/bin/bash") (which "bash")))
1875 (delete-file "configure")
1877 (add-after 'unpack 'patch-docbook-xml
1878 (lambda* (#:key inputs #:allow-other-keys)
1879 ;; Modify the man XML otherwise xmlto tries to access the network
1880 (substitute* "man/system-config-printer.xml"
1881 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1882 (string-append (assoc-ref inputs "docbook-xml")
1883 "/xml/dtd/docbook/")))
1885 (add-after 'install 'wrap-for-python
1886 (@@ (guix build python-build-system) wrap))
1887 (add-after 'install 'wrap
1888 (lambda* (#:key outputs #:allow-other-keys)
1889 (let ((out (assoc-ref outputs "out"))
1890 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1893 (wrap-program program
1894 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1896 (string-append out "/bin/" name))
1897 '("system-config-printer"
1898 "system-config-printer-applet"
1899 "install-printerdriver"
1900 "scp-dbus-service"))))
1903 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1904 ("gobject-introspection" ,gobject-introspection)
1907 ("python-dbus" ,python-dbus)
1908 ("python-pygobject" ,python-pygobject)
1909 ("python-pycups" ,python-pycups)
1910 ("python-requests" ,python-requests)
1911 ("python-pycairo" ,python-pycairo)
1912 ("libnotify" ,libnotify)
1913 ("packagekit" ,packagekit)))
1915 `(("pkg-config" ,pkg-config)
1916 ("desktop-file-utils" ,desktop-file-utils)
1918 ("autoconf" ,autoconf)
1919 ("automake" ,automake)
1920 ("intltool" ,intltool)
1922 ("docbook-xml" ,docbook-xml-4.1.2)
1923 ("docbook-xsl" ,docbook-xsl)
1924 ("libxml2" ,libxml2)))
1925 (home-page "https://github.com/zdohnal/system-config-printer")
1926 (synopsis "CUPS administration tool")
1928 "system-config-printer is a CUPS administration tool. It's written in
1929 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1931 (license license:gpl2+)))
1933 (define-public hicolor-icon-theme
1935 (name "hicolor-icon-theme")
1940 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1941 "hicolor-icon-theme-" version ".tar.xz"))
1944 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1945 (build-system gnu-build-system)
1947 `(#:tests? #f)) ; no check target
1948 (home-page "https://icon-theme.freedesktop.org/releases/")
1950 "Freedesktop icon theme")
1952 "Freedesktop icon theme.")
1953 (license license:gpl2)))
1955 (define-public libnotify
1962 (uri (string-append "mirror://gnome/sources/" name "/"
1963 (version-major+minor version) "/"
1964 name "-" version ".tar.xz"))
1967 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1968 (build-system gnu-build-system)
1970 `(#:configure-flags '("--disable-static")))
1972 `(;; In Requires of libnotify.pc.
1973 ("gdk-pixbuf" ,gdk-pixbuf)
1977 ("libpng" ,libpng)))
1979 `(("pkg-config" ,pkg-config)
1980 ("glib" ,glib "bin")
1981 ("gobject-introspection" ,gobject-introspection)))
1982 (home-page "https://developer-next.gnome.org/libnotify/")
1984 "GNOME desktop notification library")
1986 "Libnotify is a library that sends desktop notifications to a
1987 notification daemon, as defined in the Desktop Notifications spec. These
1988 notifications can be used to inform the user about an event or display
1989 some form of information without getting in the user's way.")
1990 (license license:lgpl2.1+)))
1992 (define-public libpeas
1999 (uri (string-append "mirror://gnome/sources/" name "/"
2000 (version-major+minor version) "/"
2001 name "-" version ".tar.xz"))
2004 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2005 (build-system meson-build-system)
2008 (modify-phases %standard-phases
2009 (add-before 'check 'start-xserver
2010 (lambda* (#:key inputs #:allow-other-keys)
2011 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2013 (setenv "DISPLAY" disp)
2014 ;; Tests require a running X server.
2015 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2021 ("python-pygobject" ,python-pygobject)))
2023 `(("pkg-config" ,pkg-config)
2024 ("gettext" ,gettext-minimal)
2025 ("glib:bin" ,glib "bin")
2026 ("gobject-introspection" ,gobject-introspection)
2027 ("xorg-server" ,xorg-server-for-tests)))
2029 ;; The .pc file "Requires" gobject-introspection.
2030 `(("gobject-introspection" ,gobject-introspection)))
2031 (home-page "https://wiki.gnome.org/Libpeas")
2032 (synopsis "GObject plugin system")
2034 "Libpeas is a gobject-based plugin engine, targeted at giving every
2035 application the chance to assume its own extensibility. It also has a set of
2036 features including, but not limited to: multiple extension points; on-demand
2037 (lazy) programming language support for C, Python and JS; simplicity of the
2039 (license license:lgpl2.0+)))
2041 (define-public gtkglext
2047 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2048 version "/gtkglext-" version ".tar.gz"))
2050 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2051 (patches (search-patches
2052 "gtkglext-disable-disable-deprecated.patch"))))
2053 (build-system gnu-build-system)
2056 (modify-phases %standard-phases
2057 ;; Fix a collision between a local variable and a definition from
2058 ;; glibc's string.h.
2059 (add-after 'unpack 'fix-collision
2061 (substitute* "gdk/gdkglshapes.c"
2062 ((" index") " triangle_index"))
2064 (inputs `(("gtk+" ,gtk+-2)
2069 (native-inputs `(("pkg-config" ,pkg-config)
2070 ("glib" ,glib "bin")))
2071 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2072 (home-page "https://projects.gnome.org/gtkglext")
2073 (synopsis "OpenGL extension to GTK+")
2074 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2075 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2076 API add-ons to make GTK+ widgets OpenGL-capable.")
2077 (license license:lgpl2.1+)))
2079 (define-public glade3
2085 (uri (string-append "mirror://gnome/sources/" name "/"
2086 (version-major+minor version) "/"
2087 name "-" version ".tar.xz"))
2090 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2091 (build-system glib-or-gtk-build-system)
2093 `(#:tests? #f ; needs X, GL, and software rendering
2095 (modify-phases %standard-phases
2096 (add-before 'configure 'fix-docbook
2097 (lambda* (#:key inputs #:allow-other-keys)
2098 (substitute* "man/Makefile.in"
2099 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2100 (string-append (assoc-ref inputs "docbook-xsl")
2101 "/xml/xsl/docbook-xsl-"
2102 ,(package-version docbook-xsl)
2103 "/manpages/docbook.xsl")))
2107 ("libxml2" ,libxml2)))
2109 `(("intltool" ,intltool)
2110 ("itstool" ,itstool)
2111 ("libxslt" ,libxslt) ;for xsltproc
2112 ("docbook-xml" ,docbook-xml-4.2)
2113 ("docbook-xsl" ,docbook-xsl)
2114 ("python" ,python-2)
2115 ("pkg-config" ,pkg-config)))
2116 (home-page "https://glade.gnome.org")
2117 (synopsis "GTK+ rapid application development tool")
2118 (description "Glade is a rapid application development (RAD) tool to
2119 enable quick & easy development of user interfaces for the GTK+ toolkit and
2120 the GNOME desktop environment.")
2121 (license license:lgpl2.0+)))
2123 (define-public libcroco
2129 (uri (string-append "mirror://gnome/sources/" name "/"
2130 (version-major+minor version) "/"
2131 name "-" version ".tar.xz"))
2134 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2135 (build-system gnu-build-system)
2137 `(("pkg-config" ,pkg-config)))
2140 ("libxml2" ,libxml2)
2142 (home-page "https://github.com/GNOME/libcroco")
2143 (synopsis "CSS2 parsing and manipulation library")
2145 "Libcroco is a standalone CSS2 parsing and manipulation library.
2146 The parser provides a low level event driven SAC-like API and a CSS object
2147 model like API. Libcroco provides a CSS2 selection engine and an experimental
2148 XML/CSS rendering engine.")
2151 (license license:lgpl2.1)))
2153 (define-public libgsf
2159 (uri (string-append "mirror://gnome/sources/" name "/"
2160 (version-major+minor version) "/"
2161 name "-" version ".tar.xz"))
2164 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2165 (build-system gnu-build-system)
2167 '(#:configure-flags '("--disable-static")))
2169 `(("pkg-config" ,pkg-config)
2170 ("gettext" ,gettext-minimal)
2174 ("perl-xml-parser" ,perl-xml-parser)))
2179 `(("gdk-pixbuf" ,gdk-pixbuf)
2181 ("libxml2" ,libxml2)))
2182 (home-page "https://www.gnome.org/projects/libgsf")
2183 (synopsis "GNOME's Structured File Library")
2185 "Libgsf aims to provide an efficient extensible I/O abstraction for
2186 dealing with different structured file formats.")
2189 (license license:lgpl2.1)))
2191 (define-public librsvg
2197 (uri (string-append "mirror://gnome/sources/" name "/"
2198 (version-major+minor version) "/"
2199 name "-" version ".tar.xz"))
2202 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2203 (build-system gnu-build-system)
2206 (list "--disable-static"
2207 "--enable-vala") ; needed for e.g. gnome-mines
2209 (modify-phases %standard-phases
2210 (add-before 'configure 'pre-configure
2211 (lambda* (#:key inputs #:allow-other-keys)
2212 (substitute* "gdk-pixbuf-loader/Makefile.in"
2213 ;; By default the gdk-pixbuf loader is installed under
2214 ;; gdk-pixbuf's prefix. Work around that.
2215 (("gdk_pixbuf_moduledir = .*$")
2216 (string-append "gdk_pixbuf_moduledir = "
2217 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2219 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2220 (("gdk_pixbuf_cache_file = .*$")
2221 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2223 (add-before 'check 'remove-failing-tests
2225 (with-directory-excursion "tests/fixtures/reftests"
2226 (for-each delete-file
2227 '(;; This test fails on i686:
2228 "svg1.1/masking-path-04-b.svg"
2229 ;; This test fails on armhf:
2230 "svg1.1/masking-mask-01-b.svg"
2231 ;; This test fails on aarch64:
2232 "bugs/777834-empty-text-children.svg")))
2235 `(("pkg-config" ,pkg-config)
2237 ("glib" ,glib "bin") ; glib-mkenums, etc.
2238 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2240 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2241 ;; this ancient version of librsvg.
2242 ("pango" ,pango-1.42)
2243 ("libcroco" ,libcroco)
2246 ("libxml2" ,libxml2)))
2248 ;; librsvg-2.0.pc refers to all of that.
2250 ("gdk-pixbuf" ,gdk-pixbuf)
2252 (home-page "https://wiki.gnome.org/LibRsvg")
2253 (synopsis "Render SVG files using Cairo")
2255 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2257 (license license:lgpl2.0+)))
2259 (define-public librsvg-next
2266 (uri (string-append "mirror://gnome/sources/librsvg/"
2267 (version-major+minor version) "/"
2268 "librsvg-" version ".tar.xz"))
2271 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2272 (modules '((guix build utils)))
2274 '(begin (delete-file-recursively "vendor")
2275 ;; Don't demand an exact version for string_cache
2276 (substitute* "rsvg_internals/Cargo.toml"
2279 (build-system cargo-build-system)
2281 `(#:modules ((guix build cargo-build-system)
2283 ((guix build gnu-build-system) #:prefix gnu:))
2284 #:vendor-dir "vendor"
2286 (("rust-bitflags" ,rust-bitflags-1)
2287 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2288 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2289 ("rust-cssparser" ,rust-cssparser-0.25)
2290 ("rust-data-url" ,rust-data-url-0.1)
2291 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2292 ("rust-encoding" ,rust-encoding-0.2)
2293 ("rust-float-cmp" ,rust-float-cmp-0.5)
2294 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2295 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2296 ("rust-gio" ,rust-gio-0.7)
2297 ("rust-gio-sys" ,rust-gio-sys-0.9)
2298 ("rust-glib" ,rust-glib-0.8)
2299 ("rust-glib-sys" ,rust-glib-sys-0.9)
2300 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2301 ("rust-itertools" ,rust-itertools-0.8)
2302 ("rust-language-tags" ,rust-language-tags-0.2)
2303 ("rust-lazy-static" ,rust-lazy-static-1)
2304 ("rust-libc" ,rust-libc-0.2)
2305 ("rust-locale-config" ,rust-locale-config-0.3)
2306 ("rust-markup5ever" ,rust-markup5ever-0.9)
2307 ("rust-nalgebra" ,rust-nalgebra-0.18)
2308 ("rust-num-traits" ,rust-num-traits-0.2)
2309 ("rust-pkg-config" ,rust-pkg-config-0.3)
2310 ("rust-pango" ,rust-pango-0.7)
2311 ("rust-pango-sys" ,rust-pango-sys-0.9)
2312 ("rust-pangocairo" ,rust-pangocairo-0.8)
2313 ("rust-phf" ,rust-phf-0.7)
2314 ("rust-rayon" ,rust-rayon-1.3)
2315 ("rust-rctree" ,rust-rctree-0.3)
2316 ("rust-string-cache" ,rust-string-cache-0.7)
2317 ("rust-regex" ,rust-regex-1.3)
2318 ("rust-url" ,rust-url-2.1)
2319 ("rust-xml-rs" ,rust-xml-rs-0.8))
2320 #:cargo-development-inputs
2321 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2322 ("rust-criterion" ,rust-criterion-0.2))
2324 (modify-phases %standard-phases
2325 (add-after 'unpack 'prepare-for-build
2327 ;; In lieu of #:make-flags
2329 ;; Something about the build environment resists building
2330 ;; successfully with the '--locked' flag.
2331 (substitute* '("Makefile.am"
2335 (add-before 'configure 'pre-configure
2337 (substitute* "gdk-pixbuf-loader/Makefile.in"
2338 ;; By default the gdk-pixbuf loader is installed under
2339 ;; gdk-pixbuf's prefix. Work around that.
2340 (("gdk_pixbuf_moduledir = .*$")
2341 (string-append "gdk_pixbuf_moduledir = "
2342 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2344 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2345 (("gdk_pixbuf_cache_file = .*$")
2346 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2348 (add-after 'configure 'gnu-configure
2349 (assoc-ref gnu:%standard-phases 'configure))
2350 ;(lambda* (#:key outputs #:allow-other-keys)
2351 ; ((assoc-ref gnu:%standard-phases 'configure)
2353 ; #:configure-flags ("--disable-static"
2354 ; "--enable-vala"))))
2355 (add-after 'configure 'dont-vendor-self
2356 (lambda* (#:key vendor-dir #:allow-other-keys)
2357 ;; Don't keep the whole tarball in the vendor directory
2358 (delete-file-recursively
2359 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2362 (assoc-ref gnu:%standard-phases 'build))
2365 ((assoc-ref gnu:%standard-phases 'check)
2366 #:test-target "check")))
2368 (assoc-ref gnu:%standard-phases 'install))
2369 (add-before 'check 'remove-failing-tests
2371 (with-directory-excursion "tests/fixtures/reftests"
2372 (for-each delete-file
2373 '(;; The images produced by these tests differ slightly
2374 ;; from their reference counterparts due to differences
2375 ;; in the build environment (missing fonts, etc). See
2376 ;; <tests/README.md> for details.
2377 ;; These fail on x86_64.
2378 "svg1.1/coords-viewattr-02-b.svg"
2379 "svg1.1/filters-composite-04-f.svg"
2380 "svg1.1/filters-image-01-b.svg"
2381 "svg1.1/filters-conv-02-f.svg"
2382 "svg1.1/filters-conv-04-f.svg"
2383 ;; This test fails on i686:
2384 "svg1.1/masking-path-04-b.svg"
2385 ;; This test fails on armhf:
2386 "svg1.1/masking-mask-01-b.svg"
2387 ;; This test fails on aarch64:
2388 "bugs/777834-empty-text-children.svg")))
2390 (license license:lgpl2.1+)))
2392 (define-public libidl
2398 (uri (string-append "mirror://gnome/sources/libIDL/"
2399 (version-major+minor version) "/"
2400 "libIDL-" version ".tar.bz2"))
2403 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2404 (build-system gnu-build-system)
2405 (inputs `(("glib" ,glib)))
2407 `(("pkg-config" ,pkg-config)
2410 (home-page "http://freecode.com/projects/libidl")
2411 (synopsis "Create trees of CORBA Interface Definition Language files")
2412 (description "Libidl is a library for creating trees of CORBA Interface
2413 Definition Language (idl) files, which is a specification for defining
2414 portable interfaces. libidl was initially written for orbit (the orb from the
2415 GNOME project, and the primary means of libidl distribution). However, the
2416 functionality was designed to be as reusable and portable as possible.")
2417 (properties `((upstream-name . "libIDL")))
2418 (license license:lgpl2.0+)))
2421 (define-public orbit2
2427 (uri (let ((upstream-name "ORBit2"))
2428 (string-append "mirror://gnome/sources/" upstream-name "/"
2429 (version-major+minor version) "/"
2430 upstream-name "-" version ".tar.bz2")))
2433 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2434 (build-system gnu-build-system)
2436 `(;; The "timeout-server" test hangs when run in parallel.
2437 #:parallel-tests? #f
2439 '(;; We don't need static libraries, plus they don't build reproducibly
2440 ;; (non-deterministic ordering of .o files in the archive.)
2443 ;; The programmer kindly gives us a hook to turn off deprecation
2445 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2446 ;; ... which they then completly ignore !!
2448 (modify-phases %standard-phases
2449 (add-before 'configure 'ignore-deprecations
2451 (substitute* "linc2/src/Makefile.in"
2452 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2454 (inputs `(("glib" ,glib)
2455 ("libidl" ,libidl)))
2457 `(("pkg-config" ,pkg-config)))
2458 (home-page "https://projects.gnome.org/orbit2/")
2459 (synopsis "CORBA 2.4-compliant Object Request Broker")
2460 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2461 featuring mature C, C++ and Python bindings.")
2462 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2463 ;; a version. SOME of the code files have licence notices for GPLv2+.
2464 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2465 (license license:gpl2+)
2466 (properties `((upstream-name . "ORBit2")))))
2469 (define-public libbonobo
2475 (uri (string-append "mirror://gnome/sources/" name "/"
2476 (version-major+minor version)
2477 "/" name "-" version ".tar.bz2"))
2479 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2480 (patches (search-patches
2481 "libbonobo-activation-test-race.patch"))))
2482 (build-system gnu-build-system)
2484 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2486 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2487 ;; ... which they then completly ignore !!
2489 (modify-phases %standard-phases
2490 (add-before 'configure 'ignore-deprecations
2492 (substitute* "activation-server/Makefile.in"
2493 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2496 ;; There's apparently a race condition between the server stub
2497 ;; generation and linking of the example under 'samples/echo' that can
2498 ;; lead do undefined references when building in parallel, as reported
2499 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2500 ;; Thus, disable parallel builds.
2501 #:parallel-build? #f))
2502 (inputs `(("popt" ,popt)
2503 ("libxml2" ,libxml2)))
2504 ;; The following are Required by the .pc file
2507 ("orbit2" ,orbit2)))
2509 `(("intltool" ,intltool)
2510 ("pkg-config" ,pkg-config)
2511 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2514 (home-page "https://developer.gnome.org/libbonobo/")
2515 (synopsis "Framework for creating reusable components for use in GNOME applications")
2516 (description "Bonobo is a framework for creating reusable components for
2517 use in GNOME applications, built on top of CORBA.")
2518 ;; Licence not explicitly stated. Source files contain no licence notices.
2519 ;; Tarball contains text of both GPLv2 and LGPLv2
2520 ;; GPLv2 covers both conditions
2521 (license license:gpl2+)))
2524 (define-public gconf
2531 (let ((upstream-name "GConf"))
2532 (string-append "mirror://gnome/sources/" upstream-name "/"
2533 (version-major+minor version) "/"
2534 upstream-name "-" version ".tar.xz")))
2536 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2537 (build-system gnu-build-system)
2538 (inputs `(("dbus-glib" ,dbus-glib)
2539 ("libxml2" ,libxml2)))
2540 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2541 ("orbit2" ,orbit2)))
2543 `(("intltool" ,intltool)
2544 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2545 ("pkg-config" ,pkg-config)))
2546 (home-page "https://projects.gnome.org/gconf/")
2547 (synopsis "Store application preferences")
2548 (description "Gconf is a system for storing application preferences. It
2549 is intended for user preferences; not arbitrary data storage.")
2550 (license license:lgpl2.0+)
2551 (properties '((upstream-name . "GConf")))))
2554 (define-public gnome-mime-data
2556 (name "gnome-mime-data")
2560 (uri (string-append "mirror://gnome/sources/" name "/"
2561 (version-major+minor version) "/"
2562 name "-" version ".tar.bz2"))
2565 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2566 (build-system gnu-build-system)
2569 ("intltool" ,intltool)))
2571 '(#:phases (modify-phases %standard-phases
2572 (add-after 'configure 'use-our-intltool
2574 ;; Do not use the bundled intltool commands, which lack
2575 ;; the "dotless @INC" fixes of our 'intltool' package.
2576 (substitute* (find-files "." "^Makefile$")
2577 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2578 (string-append "INTLTOOL_" tool " = intltool-"
2579 (string-downcase tool) "\n")))
2581 (home-page "https://www.gnome.org")
2582 (synopsis "Base MIME and Application database for GNOME")
2583 (description "GNOME Mime Data is a module which contains the base MIME
2584 and Application database for GNOME. The data stored by this module is
2585 designed to be accessed through the MIME functions in GnomeVFS.")
2586 (license license:gpl2+)))
2589 (define-public gnome-vfs
2595 (uri (string-append "mirror://gnome/sources/" name "/"
2596 (version-major+minor version) "/"
2597 name "-" version ".tar.bz2"))
2600 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2601 (build-system gnu-build-system)
2604 (modify-phases %standard-phases
2605 (add-before 'configure 'ignore-deprecations
2607 (substitute* '("libgnomevfs/Makefile.in"
2608 "daemon/Makefile.in")
2609 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2611 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2613 (substitute* "test/test-async-cancel.c"
2614 (("EXIT_FAILURE") "77"))
2616 (inputs `(("libxml2" ,libxml2)
2617 ("dbus-glib" ,dbus-glib)
2619 ("gnome-mime-data" ,gnome-mime-data)
2622 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2623 ("intltool" ,intltool)
2624 ("pkg-config" ,pkg-config)))
2625 (home-page "https://developer.gnome.org/gnome-vfs/")
2626 (synopsis "Access files and folders in GNOME applications")
2628 "GnomeVFS is the core library used to access files and folders in GNOME
2629 applications. It provides a file system abstraction which allows applications
2630 to access local and remote files with a single consistent API.")
2631 (license license:lgpl2.0+)))
2635 (define-public libgnome
2641 (uri (string-append "mirror://gnome/sources/" name "/"
2642 (version-major+minor version) "/"
2643 name "-" version ".tar.bz2"))
2646 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2647 (patches (search-patches "libgnome-encoding.patch"))))
2648 (build-system gnu-build-system)
2651 (modify-phases %standard-phases
2652 (add-before 'configure 'enable-deprecated
2654 (substitute* "libgnome/Makefile.in"
2655 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2657 (inputs `(("libxml2" ,libxml2)))
2659 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2660 ("intltool" ,intltool)
2661 ("pkg-config" ,pkg-config)))
2662 ;; The following are listed as Required in the .pc file
2663 ;; (except for libcanberra -- which seems to be oversight on the part
2664 ;; of the upstream developers -- anything that links against libgnome,
2665 ;; must also link against libcanberra
2667 `(("libcanberra" ,libcanberra)
2668 ("libbonobo" ,libbonobo)
2670 ("gnome-vfs" ,gnome-vfs)
2671 ("popt" ,popt))) ;gnome-program.h includes popt.h
2672 (home-page "https://developer.gnome.org/libgnome/")
2673 (synopsis "Useful routines for building applications")
2674 (description "The libgnome library provides a number of useful routines
2675 for building modern applications, including session management, activation of
2676 files and URIs, and displaying help.")
2677 (license license:lgpl2.0+)))
2680 (define-public libart-lgpl
2682 (name "libart-lgpl")
2686 (uri (let ((upstream-name "libart_lgpl"))
2687 (string-append "mirror://gnome/sources/" upstream-name "/"
2688 (version-major+minor version) "/"
2689 upstream-name "-" version ".tar.bz2")))
2692 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2693 (build-system gnu-build-system)
2695 `(("pkg-config" ,pkg-config)))
2696 (home-page "https://people.gnome.org/~mathieu/libart")
2697 (synopsis "2D drawing library")
2698 (description "Libart is a 2D drawing library intended as a
2699 high-quality vector-based 2D library with antialiasing and alpha composition.")
2700 (license license:lgpl2.0+)))
2704 (define-public libgnomecanvas
2706 (name "libgnomecanvas")
2710 (uri (string-append "mirror://gnome/sources/" name "/"
2711 (version-major+minor version) "/"
2712 name "-" version ".tar.gz"))
2715 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2716 (build-system gnu-build-system)
2717 ;; Mentioned as Required in the .pc file
2718 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2721 `(("intltool" ,intltool)
2722 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2723 ("pkg-config" ,pkg-config)))
2724 (home-page "https://developer.gnome.org/libgnomecanvas/")
2725 (synopsis "Flexible widget for creating interactive structured graphics")
2726 (description "The GnomeCanvas widget provides a flexible widget for
2727 creating interactive structured graphics.")
2728 (license license:lgpl2.0+)))
2730 (define-public libgnomecanvasmm
2732 (name "libgnomecanvasmm")
2736 (uri (string-append "mirror://gnome/sources/" name "/"
2737 (version-major+minor version) "/"
2738 name "-" version ".tar.bz2"))
2741 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2742 (build-system gnu-build-system)
2743 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2745 `(("gtkmm-2" ,gtkmm-2)
2746 ("pkg-config" ,pkg-config)))
2747 (home-page "https://gtkmm.org")
2748 (synopsis "C++ bindings to the GNOME Canvas library")
2749 (description "C++ bindings to the GNOME Canvas library.")
2750 (license license:lgpl2.0+)))
2752 (define-public libgnomeui
2758 (uri (string-append "mirror://gnome/sources/" name "/"
2759 (version-major+minor version) "/"
2760 name "-" version ".tar.bz2"))
2761 (patches (search-patches "libgnomeui-utf8.patch"))
2764 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2765 (build-system gnu-build-system)
2766 ;; Mentioned as Required in the .pc file
2767 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2768 ("libgnome" ,libgnome)
2769 ("libgnomecanvas" ,libgnomecanvas)
2770 ("libgnome-keyring" ,libgnome-keyring)))
2771 (inputs `(("libjpeg" ,libjpeg-turbo)
2773 ("libbonobo" ,libbonobo)
2774 ("libxml2" ,libxml2)
2775 ("libglade" ,libglade)))
2777 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2778 ("intltool" ,intltool)
2779 ("pkg-config" ,pkg-config)))
2780 (home-page "https://developer.gnome.org/libgnomeui/")
2781 (synopsis "Additional widgets for applications")
2782 (description "The libgnomeui library provides additional widgets for
2783 applications. Many of the widgets from libgnomeui have already been
2785 (license license:lgpl2.0+)))
2787 (define-public libglade
2793 (uri (string-append "mirror://gnome/sources/" name "/"
2794 (version-major+minor version) "/"
2795 name "-" version ".tar.bz2"))
2798 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2799 (build-system gnu-build-system)
2801 `(("python" ,python))) ;; needed for the optional libglade-convert program
2803 `(("gtk+-2" ,gtk+-2)
2804 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2806 `(("pkg-config" ,pkg-config)))
2807 (home-page "https://developer.gnome.org/libglade")
2808 (synopsis "Load glade interfaces and access the glade built widgets")
2809 (description "Libglade is a library that provides interfaces for loading
2810 graphical interfaces described in glade files and for accessing the
2811 widgets built in the loading process.")
2812 (license license:gpl2+))) ; This is correct. GPL not LGPL
2814 (define-public libgnomeprint
2815 ;; This library has been deprecated since 2006; see
2816 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2818 (name "libgnomeprint")
2822 (uri (string-append "mirror://gnome/sources/" name "/"
2823 (version-major+minor version) "/"
2824 name "-" version ".tar.bz2"))
2827 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2828 (build-system gnu-build-system)
2831 ("libart-lgpl" ,libart-lgpl)
2833 ("libxml2" ,libxml2)))
2835 `(("intltool" ,intltool)
2836 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2837 ("pkg-config" ,pkg-config)))
2838 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2839 (synopsis "Printing framework for GNOME")
2841 "GNOME-print was a printing framework for GNOME. It has been deprecated
2842 since ca. 2006, when GTK+ itself incorporated printing support.")
2843 (license license:lgpl2.0+)))
2846 (define-public libgnomeprintui
2847 ;; Deprecated; see libgnomeprint.
2849 (name "libgnomeprintui")
2853 (uri (string-append "mirror://gnome/sources/" name "/"
2854 (version-major+minor version) "/"
2855 name "-" version ".tar.bz2"))
2858 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2859 (build-system gnu-build-system)
2860 ;; Mentioned as Required in the .pc file
2861 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2862 (inputs `(("gtk+" ,gtk+-2)
2864 ("gnome-icon-theme" ,gnome-icon-theme)
2865 ("libgnomecanvas" ,libgnomecanvas)
2866 ("libxml2" ,libxml2)))
2868 `(("intltool" ,intltool)
2869 ("pkg-config" ,pkg-config)))
2870 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2871 (synopsis "Printing framework for GNOME")
2872 (description (package-description libgnomeprint))
2873 (license license:lgpl2.0+)))
2875 (define-public libbonoboui
2877 (name "libbonoboui")
2881 (uri (string-append "mirror://gnome/sources/" name "/"
2882 (version-major+minor version) "/"
2883 name "-" version ".tar.bz2"))
2886 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2887 (build-system gnu-build-system)
2890 (modify-phases %standard-phases
2891 (add-before 'check 'start-xserver
2892 (lambda* (#:key inputs #:allow-other-keys)
2893 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2896 (setenv "HOME" (getcwd))
2897 (setenv "DISPLAY" disp)
2898 ;; There must be a running X server and make check doesn't start one.
2899 ;; Therefore we must do it.
2900 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2901 ;; Mentioned as Required by the .pc file
2902 (propagated-inputs `(("libxml2" ,libxml2)))
2905 ("pangox-compat" ,pangox-compat)
2906 ("libgnome" ,libgnome)
2907 ("libgnomecanvas" ,libgnomecanvas)
2908 ("libglade" ,libglade)))
2910 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2911 ("intltool" ,intltool)
2912 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2913 ("pkg-config" ,pkg-config)))
2914 (home-page "https://developer.gnome.org/libbonoboui/")
2915 (synopsis "Some user interface controls using Bonobo")
2916 (description "The Bonobo UI library provides a number of user interface
2917 controls using the Bonobo component framework.")
2918 (license license:lgpl2.0+)))
2920 (define-public libwnck
2926 (uri (string-append "mirror://gnome/sources/" name "/"
2927 (version-major+minor version) "/"
2928 name "-" version ".tar.xz"))
2931 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2932 (build-system meson-build-system)
2934 `(("pkg-config" ,pkg-config)
2935 ("glib" ,glib "bin") ; for glib-mkenums
2936 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2937 ("intltool" ,intltool)))
2940 ("libxres" ,libxres)
2941 ("startup-notification" ,startup-notification)))
2942 (home-page "https://developer.gnome.org/libwnck/")
2943 (synopsis "Window Navigator Construction Kit")
2945 "Libwnck is the Window Navigator Construction Kit, a library for use in
2946 writing pagers, tasklists, and more generally applications that are dealing
2947 with window management. It tries hard to respect the Extended Window Manager
2948 Hints specification (EWMH).")
2949 (license license:lgpl2.0+)))
2951 ;; stable version for gtk2, required by xfwm4.
2952 (define-public libwnck-2
2953 (package (inherit libwnck)
2958 (uri (string-append "mirror://gnome/sources/" name "/"
2959 (version-major+minor version) "/"
2960 name "-" version ".tar.xz"))
2963 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2964 (build-system gnu-build-system)
2966 `(("pkg-config" ,pkg-config)
2967 ("intltool" ,intltool)))
2970 ("libxres" ,libxres)
2971 ("startup-notification" ,startup-notification)))))
2973 (define-public goffice
2979 (uri (string-append "mirror://gnome/sources/goffice/"
2980 (version-major+minor version) "/"
2981 "goffice-" version ".tar.xz"))
2983 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2984 (build-system gnu-build-system)
2986 "doc")) ; 4.0 MiB of gtk-doc
2988 '(#:configure-flags (list (string-append "--with-html-dir="
2989 (assoc-ref %outputs "doc")
2990 "/share/gtk-doc/html"))))
2994 ("librsvg" ,librsvg)
2995 ("libxslt" ,libxslt)
2996 ("libxml2" ,libxml2)))
2998 `(("intltool" ,intltool)
2999 ("glib" ,glib "bin")
3000 ("pkg-config" ,pkg-config)))
3001 (home-page "https://developer.gnome.org/goffice/")
3002 (synopsis "Document-centric objects and utilities")
3003 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3005 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3007 (list license:gpl2 license:gpl3))))
3009 (define-public goffice-0.8
3010 (package (inherit goffice)
3014 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3015 (version-major+minor version) "/"
3016 (package-name goffice) "-" version ".tar.xz"))
3018 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3021 (modify-phases %standard-phases
3022 (add-after 'unpack 'fix-pcre-check
3024 ;; Only glib.h can be included directly. See
3025 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3026 (substitute* "configure"
3027 (("glib/gregex\\.h") "glib.h")) #t)))
3029 ,@(package-arguments goffice)))
3031 ;; libgoffice-0.8.pc mentions libgsf-1
3032 `(("libgsf" ,libgsf)))
3035 ,@(alist-delete "gtk" (package-inputs goffice))))))
3037 (define-public gnumeric
3043 (uri (string-append "mirror://gnome/sources/gnumeric/"
3044 (version-major+minor version) "/"
3045 "gnumeric-" version ".tar.xz"))
3048 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3049 (build-system glib-or-gtk-build-system)
3051 `(;; The gnumeric developers don't worry much about failing tests.
3052 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3055 (modify-phases %standard-phases
3057 'configure 'pre-conf
3058 (lambda* (#:key outputs #:allow-other-keys)
3059 ;; Make install tries to write into the directory of goffice
3060 ;; I am informed that this only affects the possibility to embed a
3061 ;; spreadsheet inside an Abiword document. So presumably when we
3062 ;; package Abiword we'll have to refer it to this directory.
3063 (substitute* "configure"
3064 (("^GOFFICE_PLUGINS_DIR=.*")
3065 (string-append "GOFFICE_PLUGINS_DIR="
3066 (assoc-ref outputs "out")
3067 "/goffice/plugins"))))))))
3071 ("goffice" ,goffice)
3073 ("librsvg" ,librsvg)
3074 ("libxml2" ,libxml2)
3075 ("libxslt" ,libxslt)
3076 ("python" ,python-2)
3077 ("python2-pygobject" ,python2-pygobject)
3081 ("docbook-xml" ,docbook-xml)
3082 ("intltool" ,intltool)
3083 ("itstool" ,itstool)
3084 ("glib:bin" ,glib "bin")
3085 ("pkg-config" ,pkg-config)))
3086 (home-page "http://www.gnumeric.org")
3087 (synopsis "Spreadsheet application")
3089 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3090 interoperable with other spreadsheet applications. It has a vast array of
3091 features beyond typical spreadsheet functionality, such as support for linear
3092 and non-linear solvers, statistical analysis, and telecommunication
3095 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3096 (list license:gpl2 license:gpl3))))
3098 (define-public gnome-themes-standard
3100 (name "gnome-themes-standard")
3105 (uri (string-append "mirror://gnome/sources/" name "/"
3106 (version-major+minor version) "/" name "-"
3110 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3111 (build-system gnu-build-system)
3114 ;; Don't create 'icon-theme.cache'.
3115 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3116 (true (string-append coreutils "/bin/true")))
3117 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3121 ("librsvg" ,librsvg)
3122 ("libxml2" ,libxml2)
3125 `(("intltool" ,intltool)
3126 ("glib:bin" ,glib "bin")
3127 ("pkg-config" ,pkg-config)))
3128 (home-page "https://launchpad.net/gnome-themes-standard")
3129 (synopsis "Default GNOME 3 themes")
3131 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3132 (license license:lgpl2.1+)))
3134 (define-public seahorse
3141 (uri (string-append "mirror://gnome/sources/" name "/"
3142 (version-major+minor version) "/" name "-"
3146 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3147 (build-system meson-build-system)
3151 (modify-phases %standard-phases
3152 (add-after 'unpack 'skip-gtk-update-icon-cache
3153 ;; Don't create 'icon-theme.cache'.
3155 (substitute* "build-aux/meson_post_install.py"
3156 (("gtk-update-icon-cache") "true"))
3163 ("openldap" ,openldap)
3164 ("openssh" ,openssh)
3166 ("libpwquality" ,libpwquality)
3167 ("libsecret" ,libsecret)
3168 ("libsoup" ,libsoup)))
3170 `(("gettext" ,gettext-minimal)
3171 ("glib:bin" ,glib "bin")
3172 ("itstool" ,itstool)
3173 ("pkg-config" ,pkg-config)
3175 ("xmllint" ,libxml2)))
3176 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3177 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3179 "Seahorse is a GNOME application for managing encryption keys and
3180 passwords in the GNOME keyring.")
3181 (license license:gpl2+)))
3189 (uri (string-append "mirror://gnome/sources/" name "/"
3190 (version-major+minor version) "/"
3191 name "-" version ".tar.xz"))
3194 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3195 (build-system gnu-build-system)
3198 (modify-phases %standard-phases
3199 (add-before 'check 'pre-check
3202 (substitute* "valadoc/tests/testrunner.sh"
3203 (("export PKG_CONFIG_PATH=" m)
3204 (string-append m "$PKG_CONFIG_PATH:")))
3205 ;; For missing '/etc/machine-id'.
3206 (setenv "DBUS_FATAL_WARNINGS" "0")
3209 `(("pkg-config" ,pkg-config)
3212 ("xsltproc" ,libxslt)
3213 ("dbus" ,dbus) ; for dbus tests
3214 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3216 `(("graphviz" ,graphviz)))
3218 `(("glib" ,glib))) ; required by libvala-0.40.pc
3219 (home-page "https://live.gnome.org/Vala/")
3220 (synopsis "Compiler for the GObject type system")
3222 "Vala is a programming language that aims to bring modern programming
3223 language features to GNOME developers without imposing any additional runtime
3224 requirements and without using a different ABI compared to applications and
3225 libraries written in C.")
3226 (license license:lgpl2.1+)))
3234 (uri (string-append "mirror://gnome/sources/vte/"
3235 (version-major+minor version) "/"
3236 "vte-" version ".tar.xz"))
3239 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3240 (build-system meson-build-system)
3242 `(("pkg-config" ,pkg-config)
3243 ("intltool" ,intltool)
3245 ("gobject-introspection" ,gobject-introspection)
3246 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3248 ("xmllint" ,libxml2)))
3250 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3251 ("gnutls" ,gnutls) ; ditto
3252 ("pcre2" ,pcre2))) ; ditto
3253 (home-page "https://www.gnome.org/")
3254 (synopsis "Virtual Terminal Emulator")
3256 "VTE is a library (libvte) implementing a terminal emulator widget for
3257 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3258 gnome-terminal, but can also be used to embed a console/terminal in games,
3259 editors, IDEs, etc.")
3260 (license license:lgpl2.1+)))
3262 (define-public vte-ng
3266 (version "0.58.2.a")
3267 (home-page "https://github.com/thestinger/vte-ng")
3270 (uri (git-reference (url home-page) (commit version)))
3271 (file-name (git-file-name name version))
3274 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3275 (build-system meson-build-system)
3277 `(("gtk-doc" ,gtk-doc)
3278 ,@(package-native-inputs vte)))
3280 `(#:configure-flags '("-Ddocs=true")))
3281 (synopsis "Enhanced VTE terminal widget")
3283 "VTE is a library (libvte) implementing a terminal emulator widget for
3284 GTK+, this fork provides additional functions exposed for keyboard text
3285 selection and URL hints.")))
3287 ;; provides vte 2.90, required for some terminal emulators
3288 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3289 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3290 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3291 ;; pantheon-terminal, roxterm are not currently packaged
3292 (define-public vte-0.36
3293 (package (inherit vte)
3298 (uri (string-append "mirror://gnome/sources/" name "/"
3299 (version-major+minor version) "/"
3300 name "-" version ".tar.xz"))
3303 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3306 ("ncurses" ,ncurses)))))
3308 ;; stable version for gtk2, required by xfce4-terminal.
3309 (define-public vte/gtk+-2
3310 (package (inherit vte)
3315 (uri (string-append "mirror://gnome/sources/" name "/"
3316 (version-major+minor version) "/"
3317 name "-" version ".tar.xz"))
3320 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3321 (patches (search-patches
3322 "vte-CVE-2012-2738-pt1.patch"
3323 "vte-CVE-2012-2738-pt2.patch"))))
3324 (build-system gnu-build-system)
3326 '(#:configure-flags '("--disable-python")))
3328 `(("pkg-config" ,pkg-config)
3329 ("intltool" ,intltool)
3330 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3332 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3333 ("ncurses" ,ncurses))))) ; required by libvte.la
3335 (define-public vinagre
3341 (uri (string-append "mirror://gnome/sources/" name "/"
3342 (version-major+minor version) "/"
3343 name "-" version ".tar.xz"))
3344 (patches (search-patches "vinagre-newer-freerdp.patch"
3345 "vinagre-newer-rdp-parameters.patch"))
3348 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3349 (build-system glib-or-gtk-build-system)
3351 ;; Disable -Werror and such, to avoid build failures on compilation
3353 '(#:configure-flags '("--enable-compile-warnings=minimum")
3355 (modify-phases %standard-phases
3356 (add-before 'install 'skip-gtk-update-icon-cache
3358 ;; Don't create 'icon-theme.cache'
3359 (substitute* (find-files "." "^Makefile$")
3360 (("gtk-update-icon-cache") (which "true")))
3362 (add-after 'unpack 'patch-configure
3364 (substitute* "configure"
3365 (("freerdp") "freerdp2"))
3368 `(("pkg-config" ,pkg-config)
3369 ("intltool" ,intltool)
3370 ("itstool" ,itstool)
3371 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3373 `(("libxml2" ,libxml2)
3374 ("gtk-vnc" ,gtk-vnc)
3375 ("gnome-keyring" ,gnome-keyring)
3376 ("libsecret" ,libsecret)
3377 ("freerdp" ,freerdp)
3379 ("spice-gtk" ,spice-gtk)
3380 ("telepathy-glib" ,telepathy-glib)
3382 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3383 (synopsis "Remote desktop viewer for GNOME")
3384 (description "Vinagre is a remote display client supporting the VNC, SPICE
3385 and RDP protocols.")
3386 (license license:gpl3+)))
3388 (define-public dconf
3395 "mirror://gnome/sources/" name "/"
3396 (version-major+minor version) "/"
3397 name "-" version ".tar.xz"))
3398 (patches (search-patches "dconf-meson-0.52.patch"))
3401 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3402 (build-system meson-build-system)
3404 ;; In Requires of dconf.pc.
3410 `(("bash-completion" ,bash-completion)
3411 ("libxslt" ,libxslt) ;for xsltproc
3412 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3413 ("docbook-xml" ,docbook-xml-4.2)
3414 ("docbook-xsl" ,docbook-xsl)
3415 ("glib:bin" ,glib "bin")
3416 ("gtk-doc" ,gtk-doc)
3417 ("pkg-config" ,pkg-config)
3420 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3421 ; or /etc/machine-id.
3423 #:configure-flags '("-Denable-gtk-doc=true")))
3424 (home-page "https://developer.gnome.org/dconf")
3425 (synopsis "Low-level GNOME configuration system")
3426 (description "Dconf is a low-level configuration system. Its main purpose
3427 is to provide a backend to GSettings on platforms that don't already have
3428 configuration storage systems.")
3429 (license license:lgpl2.1+)))
3431 (define-public json-glib
3437 (uri (string-append "mirror://gnome/sources/" name "/"
3438 (version-major+minor version) "/"
3439 name "-" version ".tar.xz"))
3442 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3443 (build-system meson-build-system)
3445 `(("gettext" ,gettext-minimal)
3446 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3447 ("gobject-introspection" ,gobject-introspection)
3448 ("pkg-config" ,pkg-config)))
3450 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3451 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3452 (synopsis "Compiler for the GObject type system")
3454 "JSON-GLib is a C library based on GLib providing serialization and
3455 deserialization support for the JavaScript Object Notation (JSON) format
3456 described by RFC 4627. It provides parser and generator GObject classes and
3457 various wrappers for the complex data types employed by JSON, such as arrays
3459 (license license:lgpl2.1+)))
3461 (define-public libxklavier
3463 (name "libxklavier")
3466 ;; Note: There's no tarball at ftp.gnome.org for this version.
3469 (url "https://anongit.freedesktop.org/git/libxklavier")
3470 (commit (string-append "libxklavier-" version))))
3473 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3474 (file-name (git-file-name name version))))
3475 (build-system gnu-build-system)
3478 (list (string-append "--with-xkb-base="
3479 (assoc-ref %build-inputs "xkeyboard-config")
3481 "--disable-xmodmap-support")))
3483 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3484 ("gobject-introspection" ,gobject-introspection)
3485 ("pkg-config" ,pkg-config)
3486 ("gtk-doc" ,gtk-doc)
3487 ("intltool" ,intltool)
3489 ("autoconf" ,autoconf)
3490 ("automake" ,automake)
3491 ("libtool" ,libtool)))
3493 ;; Required by libxklavier.pc.
3495 ("libxml2" ,libxml2)))
3497 `(("iso-codes" ,iso-codes)
3499 ("libxkbfile" ,libxkbfile)
3500 ("xkbcomp" ,xkbcomp)
3501 ("xkeyboard-config" ,xkeyboard-config)))
3502 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3503 (synopsis "High-level API for X Keyboard Extension")
3505 "LibXklavier is a library providing high-level API for X Keyboard
3506 Extension known as XKB. This library is intended to support XFree86 and other
3507 commercial X servers. It is useful for creating XKB-related software (layout
3509 (license license:lgpl2.0+)))
3511 (define-public python2-rsvg
3512 ;; XXX: This is actually a subset of gnome-python-desktop.
3514 (name "python2-rsvg")
3520 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3521 version ".tar.bz2"))
3524 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3525 (build-system gnu-build-system)
3527 `(("pkg-config" ,pkg-config)))
3529 `(("python" ,python-2)
3530 ("python2-pygtk" ,python2-pygtk)
3531 ("librsvg" ,librsvg)))
3532 (home-page "https://www.gnome.org")
3533 (synopsis "Python bindings to librsvg")
3535 "This package provides Python bindings to librsvg, the SVG rendering
3538 ;; This is the license of the rsvg bindings. The license of each module
3539 ;; of gnome-python-desktop is given in 'COPYING'.
3540 (license license:lgpl2.1+)))
3542 (define-public glib-networking
3544 (name "glib-networking")
3548 (uri (string-append "mirror://gnome/sources/glib-networking/"
3549 (version-major+minor version) "/"
3550 "glib-networking-" version ".tar.xz"))
3553 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3554 (build-system meson-build-system)
3556 `(#:configure-flags '("-Dlibproxy_support=false")))
3558 `(("pkg-config" ,pkg-config)
3559 ("intltool" ,intltool)))
3563 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3564 (home-page "https://www.gnome.org")
3565 (synopsis "Network-related GIO modules")
3567 "This package contains various network related extensions for the GIO
3569 (license license:lgpl2.0+)))
3577 (uri (string-append "mirror://gnome/sources/rest/"
3578 (version-major+minor version) "/"
3579 name "-" version ".tar.xz"))
3582 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3583 (build-system gnu-build-system)
3585 '(#:tests? #f ; tests require internet connection
3587 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3589 `(("glib-mkenums" ,glib "bin")
3590 ("gobject-introspection" ,gobject-introspection)
3591 ("pkg-config" ,pkg-config)))
3593 ;; rest-0.7.pc refers to all these.
3595 ("libsoup" ,libsoup)
3596 ("libxml2" ,libxml2)))
3597 (home-page "https://www.gtk.org/")
3598 (synopsis "RESTful web api query library")
3600 "This library was designed to make it easier to access web services that
3601 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3602 libxml to ease remote use of the RESTful API.")
3603 (license license:lgpl2.1+)))
3605 (define-public libsoup
3611 (uri (string-append "mirror://gnome/sources/libsoup/"
3612 (version-major+minor version) "/"
3613 "libsoup-" version ".tar.xz"))
3616 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3617 (build-system meson-build-system)
3618 (outputs '("out" "doc"))
3620 `(#:modules ((guix build utils)
3621 (guix build meson-build-system)
3624 #:configure-flags '("-Dgtk_doc=true")
3626 (modify-phases %standard-phases
3627 (add-after 'unpack 'adjust-tests
3629 ;; This test fails due to missing /etc/nsswitch.conf
3630 ;; in the build environment.
3631 (substitute* "tests/socket-test.c"
3632 ((".*/sockets/unconnected.*") ""))
3634 ;; These fail because "subdomain.localhost" does not resolve in
3635 ;; the build environment.
3636 (substitute* "tests/hsts-test.c"
3637 ((".*/hsts/basic.*") "")
3638 ((".*/hsts/subdomains.*") "")
3639 ((".*/hsts/superdomain.*") "")
3640 ((".*/hsts/utf8-address.*") ""))
3641 (substitute* "tests/hsts-db-test.c"
3642 ((".*/hsts-db/subdomains.*") ""))
3644 ;; Generate a self-signed certificate that has "localhost" as its
3645 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3646 ;; 3.5.12, tests such as "ssl-tests" fail:
3648 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3650 ;; 'certtool' is interactive so we have to pipe it the answers.
3651 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3652 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3653 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3654 (for-each (lambda (line)
3659 "Guix" ;Organizational unit name
3660 "GNU" ;Organization name
3662 "" ;State or province
3664 "" ;subject's domain component (DC)
3667 "-1" ;expiration time
3668 "N" ;belong to authority?
3669 "N" ;web client certificate?
3671 "Y" ;web server certificate?
3672 "localhost" ;dnsName of subject
3673 "" ;dnsName of subject (end)
3675 "127.0.0.1" ;IP address of subject
3677 "" ;encryption (RSA)?
3678 "" ;data encryption?
3679 "" ;sign OCSP requests?
3682 "" ;email protection?
3683 "" ;URI of the CRL distribution point
3688 (add-after 'install 'move-doc
3689 (lambda* (#:key outputs #:allow-other-keys)
3690 (let ((out (assoc-ref outputs "out"))
3691 (doc (assoc-ref outputs "doc")))
3692 (mkdir-p (string-append doc "/share"))
3693 (copy-recursively (string-append out "/share/gtk-doc")
3694 (string-append doc "/share/gtk-doc"))
3695 (delete-file-recursively (string-append out "/share/gtk-doc"))
3698 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3699 ("gobject-introspection" ,gobject-introspection)
3700 ("gtk-doc" ,gtk-doc)
3701 ("intltool" ,intltool)
3702 ("pkg-config" ,pkg-config)
3703 ("python" ,python-wrapper)
3705 ;; These are needed for the tests.
3706 ;; FIXME: Add PHP once available.
3708 ("gnutls" ,gnutls) ;for 'certtool'
3711 ;; libsoup-2.4.pc refers to all these.
3712 `(("brotli" ,google-brotli)
3715 ("libxml2" ,libxml2)
3719 `(("glib-networking" ,glib-networking)
3720 ("mit-krb5" ,mit-krb5)))
3721 (home-page "https://live.gnome.org/LibSoup/")
3722 (synopsis "GLib-based HTTP Library")
3724 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3725 and the GLib main loop, to integrate well with GNOME applications.")
3726 (license license:lgpl2.0+)))
3728 (define-public libsecret
3735 "mirror://gnome/sources/libsecret/"
3736 (version-major+minor version) "/"
3737 "libsecret-" version ".tar.xz"))
3740 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
3741 (build-system gnu-build-system)
3742 (outputs '("out" "doc"))
3744 `(#:tests? #f ; FIXME: Testing hangs.
3746 (list (string-append "--with-html-dir="
3747 (assoc-ref %outputs "doc")
3748 "/share/gtk-doc/html"))))
3750 `(("gettext" ,gettext-minimal)
3751 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3752 ("gobject-introspection" ,gobject-introspection)
3753 ("pkg-config" ,pkg-config)
3755 ("xsltproc" ,libxslt)))
3756 ;; These are needed for the tests.
3757 ;; FIXME: Add gjs once available.
3759 ;("python2" ,python-2)
3760 ;("python2-dbus" ,python2-dbus)
3761 ;("python2-pygobject" ,python2-pygobject)
3762 ;("python2-pygobject-2" ,python2-pygobject-2)))
3764 `(("glib" ,glib))) ; required by libsecret-1.pc
3766 `(("docbook-xsl" ,docbook-xsl)
3767 ("libgcrypt" ,libgcrypt)
3768 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3769 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3770 (synopsis "GObject bindings for \"Secret Service\" API")
3772 "Libsecret is a GObject based library for storing and retrieving passwords
3773 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3774 (license license:lgpl2.1+)))
3776 (define-public five-or-more
3778 (name "five-or-more")
3783 (uri (string-append "mirror://gnome/sources/five-or-more/"
3784 (version-major+minor version) "/"
3785 "five-or-more-" version ".tar.xz"))
3787 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
3788 (build-system meson-build-system)
3792 (modify-phases %standard-phases
3793 (add-after 'unpack 'skip-gtk-update-icon-cache
3795 (substitute* "meson_post_install.py"
3796 (("gtk-update-icon-cache") (which "true")))
3799 `(("pkg-config" ,pkg-config)
3800 ("appstream-glib" ,appstream-glib)
3801 ("desktop-file-utils" ,desktop-file-utils)
3802 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3803 ("intltool" ,intltool)
3804 ("itstool" ,itstool)
3806 ("xmllint" ,libxml2)))
3809 ("libgnome-games-support" ,libgnome-games-support)
3810 ("librsvg" ,librsvg)))
3811 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3812 (synopsis "Logic puzzle game")
3813 (description "Five or More is a game where you try to align
3814 five or more objects of the same color and shape causing them to disappear.
3815 On every turn more objects will appear, until the board is full.
3816 Try to last as long as possible.")
3817 (license license:gpl2+)))
3819 (define-public gnome-mines
3821 (name "gnome-mines")
3826 (uri (string-append "mirror://gnome/sources/" name "/"
3827 (version-major+minor version) "/"
3828 name "-" version ".tar.xz"))
3831 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
3832 (build-system meson-build-system)
3836 (modify-phases %standard-phases
3837 (add-after 'unpack 'skip-gtk-update-icon-cache
3839 (substitute* "build-aux/meson_post_install.py"
3840 (("gtk-update-icon-cache") (which "true")))
3843 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3844 ("pkg-config" ,pkg-config)
3845 ("desktop-file-utils" ,desktop-file-utils)
3846 ("intltool" ,intltool)
3847 ("itstool" ,itstool)
3850 ("appstream-glib" ,appstream-glib)))
3853 ("libgnome-games-support" ,libgnome-games-support)
3854 ("librsvg" ,librsvg)))
3855 (home-page "https://wiki.gnome.org/Apps/Mines")
3856 (synopsis "Minesweeper game")
3858 "Mines (previously gnomine) is a puzzle game where you locate mines
3859 floating in an ocean using only your brain and a little bit of luck.")
3860 (license license:gpl2+)))
3862 (define-public gnome-sudoku
3864 (name "gnome-sudoku")
3869 (uri (string-append "mirror://gnome/sources/" name "/"
3870 (version-major+minor version) "/"
3871 name "-" version ".tar.xz"))
3874 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
3875 (build-system meson-build-system)
3879 (modify-phases %standard-phases
3880 (add-after 'unpack 'skip-gtk-update-icon-cache
3882 (substitute* "build-aux/post_install.py"
3883 (("gtk-update-icon-cache") (which "true")))
3886 `(("pkg-config" ,pkg-config)
3887 ("desktop-file-utils" ,desktop-file-utils)
3888 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3889 ("intltool" ,intltool)
3890 ("itstool" ,itstool)
3892 ("xmllint" ,libxml2)))
3895 ("json-glib" ,json-glib)
3897 ("librsvg" ,librsvg)
3898 ("qqwing" ,qqwing)))
3899 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3900 (synopsis "Japanese logic game")
3902 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3903 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3904 possible while still providing features that make playing difficult Sudoku
3906 (license license:gpl2+)))
3908 (define-public gnome-terminal
3910 (name "gnome-terminal")
3915 (uri (string-append "mirror://gnome/sources/" name "/"
3916 (version-major+minor version) "/"
3917 name "-" version ".tar.xz"))
3920 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
3921 (build-system glib-or-gtk-build-system)
3924 (list "--disable-migration" "--disable-search-provider"
3925 "--without-nautilus-extension")
3927 (modify-phases %standard-phases
3928 (add-before 'configure 'patch-/bin/true
3930 (substitute* "configure"
3931 (("/bin/true") (which "true"))))))))
3933 `(("pkg-config" ,pkg-config)
3934 ("desktop-file-utils" ,desktop-file-utils)
3935 ("intltool" ,intltool)
3936 ("itstool" ,itstool)
3937 ("xmllint" ,libxml2)))
3939 `(("dconf" ,dconf)))
3944 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3945 ("util-linux" ,util-linux "lib")
3947 (home-page "https://wiki.gnome.org/Apps/Terminal")
3948 (synopsis "Terminal emulator")
3950 "GNOME Terminal is a terminal emulator application for accessing a
3951 UNIX shell environment which can be used to run programs available on
3954 It supports several profiles, multiple tabs and implements several
3955 keyboard shortcuts.")
3956 (license license:gpl3+)))
3958 (define-public colord
3965 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3966 "colord-" version ".tar.xz"))
3968 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3969 (build-system meson-build-system)
3971 '(;; FIXME: One test fails:
3972 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3973 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3974 ;; application/x-zerosize
3977 #:configure-flags (list "-Dlocalstatedir=/var"
3978 ;; No dep on systemd.
3980 ;; Wants to install to global completion dir;
3982 "-Dbash_completion=false"
3983 "-Ddaemon_user=colord"
3986 ;; Requires spotread.
3987 "-Dargyllcms_sensor=false"
3988 ;; TODO: Requires docbook2x.
3991 (modify-phases %standard-phases
3992 (add-before 'configure 'patch-build-system
3993 (lambda* (#:key outputs #:allow-other-keys)
3994 (substitute* "rules/meson.build"
3995 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3996 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3998 (add-before 'configure 'set-sqlite3-file-name
3999 (lambda* (#:key inputs #:allow-other-keys)
4000 ;; "colormgr dump" works by invoking the "sqlite3" command.
4001 ;; Record its absolute file name.
4002 (let ((sqlite (assoc-ref inputs "sqlite")))
4003 (substitute* "client/cd-util.c"
4005 (string-append "\"" sqlite "/bin/sqlite3\"")))
4008 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4009 ("gettext" ,gettext-minimal)
4010 ("gobject-introspection" ,gobject-introspection)
4011 ("gtk-doc" ,gtk-doc)
4012 ("pkg-config" ,pkg-config)
4015 ;; colord.pc refers to all these.
4020 `(("dbus-glib" ,dbus-glib)
4022 ("libgudev" ,libgudev)
4025 ("python" ,python-wrapper)
4027 ("sane-backends" ,sane-backends)))
4028 (home-page "https://www.freedesktop.org/software/colord/")
4029 (synopsis "Color management service")
4030 (description "Colord is a system service that makes it easy to manage,
4031 install and generate color profiles to accurately color manage input and
4033 (license license:gpl2+)))
4035 (define-public geoclue
4043 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4044 version "/geoclue-" version ".tar.bz2"))
4047 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4048 (patches (search-patches "geoclue-config.patch"))))
4049 (build-system meson-build-system)
4051 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4053 `(("pkg-config" ,pkg-config)
4054 ("gobject-introspection" ,gobject-introspection)
4055 ("modem-manager" ,modem-manager)
4056 ("libnotify" ,libnotify)
4057 ("gtk-doc", gtk-doc)
4058 ("intltool" ,intltool)))
4061 ("glib:bin" ,glib "bin")
4062 ("glib-networking" ,glib-networking)
4063 ("json-glib" ,json-glib)
4064 ("libsoup" ,libsoup)))
4065 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4066 (synopsis "Geolocation service")
4067 (description "Geoclue is a D-Bus service that provides location
4068 information. The primary goal of the Geoclue project is to make creating
4069 location-aware applications as simple as possible, while the secondary goal is
4070 to ensure that no application can access location information without explicit
4071 permission from user.")
4072 (license license:gpl2+)))
4074 (define-public geocode-glib
4076 (name "geocode-glib")
4080 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4081 (version-major+minor version) "/"
4082 "geocode-glib-" version ".tar.xz"))
4085 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4086 (build-system meson-build-system)
4089 (modify-phases %standard-phases
4090 ;; The tests require a bunch of locales.
4091 (add-before 'check 'set-locales
4092 (lambda* (#:key inputs #:allow-other-keys)
4093 (setenv "GUIX_LOCPATH"
4094 (string-append (assoc-ref inputs "glibc-locales")
4098 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4099 ("glibc-locales" ,glibc-locales) ; for tests
4100 ("gettext" ,gettext-minimal)
4101 ("gobject-introspection" ,gobject-introspection)
4102 ("gtk-doc" ,gtk-doc)
4103 ("pkg-config" ,pkg-config)
4104 ("json-glib" ,json-glib)))
4106 ;; geocode-glib-1.0.pc refers to GIO.
4109 `(("libsoup" ,libsoup)))
4110 (home-page "https://github.com/GNOME/geocode-glib/")
4111 (synopsis "Geocoding and reverse-geocoding library")
4113 "geocode-glib is a convenience library for geocoding (finding longitude,
4114 and latitude from an address) and reverse geocoding (finding an address from
4115 coordinates) using the Nominatim service. geocode-glib caches requests for
4116 faster results and to avoid unnecessary server load.")
4117 (license license:lgpl2.0+)))
4119 (define-public upower
4125 (uri (string-append "https://upower.freedesktop.org/releases/"
4126 "upower-" version ".tar.xz"))
4129 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4130 (patches (search-patches "upower-builddir.patch"))
4131 (modules '((guix build utils)))
4135 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4136 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4137 ;; 'dbus-configuration-directory' in (gnu services dbus)
4138 ;; expects it in etc/. Thus, move it back to its previous
4140 (substitute* "src/Makefile.in"
4141 (("^dbusconfdir =.*$")
4142 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4144 (build-system glib-or-gtk-build-system)
4146 '( ;; The tests want to contact the system bus, which can't be done in the
4147 ;; build environment. The integration test can run, but the last of
4148 ;; the up-self-tests doesn't. Disable tests for now.
4150 #:configure-flags (list "--localstatedir=/var"
4151 (string-append "--with-udevrulesdir="
4152 (assoc-ref %outputs "out")
4153 "/lib/udev/rules.d"))))
4155 `(("gobject-introspection" ,gobject-introspection)
4156 ("pkg-config" ,pkg-config)
4157 ("intltool" ,intltool)
4161 ("libxslt" ,libxslt) ;for 'xsltproc'
4162 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4163 ("docbook-xsl" ,docbook-xsl)))
4165 `(("dbus-glib" ,dbus-glib)
4166 ("libgudev" ,libgudev)
4167 ("libusb" ,libusb)))
4169 ;; In Requires of upower-glib.pc.
4171 (home-page "https://upower.freedesktop.org/")
4172 (synopsis "System daemon for managing power devices")
4174 "UPower is an abstraction for enumerating power devices,
4175 listening to device events and querying history and statistics. Any
4176 application or service on the system can access the org.freedesktop.UPower
4177 service via the system message bus.")
4178 (license license:gpl2+)))
4180 (define-public libgweather
4182 (name "libgweather")
4186 (uri (string-append "mirror://gnome/sources/" name "/"
4187 (version-major+minor version) "/"
4188 name "-" version ".tar.xz"))
4191 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4192 (build-system meson-build-system)
4194 `(#:tests? #f ; one of two tests requires network access
4196 `(,(string-append "-Dzoneinfo_dir="
4197 (assoc-ref %build-inputs "tzdata")
4198 "/share/zoneinfo"))))
4200 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4201 ("gobject-introspection" ,gobject-introspection)
4202 ("pkg-config" ,pkg-config)
4204 ("intltool" ,intltool)))
4206 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4209 ("gdk-pixbuf" ,gdk-pixbuf)
4210 ("libxml2" ,libxml2)
4211 ("libsoup" ,libsoup)
4212 ("geocode-glib" ,geocode-glib)))
4214 `(("tzdata" ,tzdata)))
4215 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4216 (synopsis "Location, time zone, and weather library for GNOME")
4218 "libgweather is a library to access weather information from online
4219 services for numerous locations.")
4220 (license license:gpl2+)))
4222 (define-public gnome-settings-daemon
4224 (name "gnome-settings-daemon")
4229 (uri (string-append "mirror://gnome/sources/" name "/"
4230 (version-major+minor version) "/"
4231 name "-" version ".tar.xz"))
4234 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4235 (build-system meson-build-system)
4239 (list (string-append "-Dudev_dir="
4240 (assoc-ref %outputs "out")
4241 "/lib/udev/rules.d/")
4243 ;; Otherwise, the RUNPATH will lack the final path component.
4244 (string-append "-Dc_link_args=-Wl,-rpath="
4245 (assoc-ref %outputs "out")
4246 "/lib/gnome-settings-daemon-3.0"))
4247 ;; Color management test can't reach the colord system service.
4250 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4251 ("pkg-config" ,pkg-config)
4252 ("intltool" ,intltool)
4253 ("xsltproc" ,libxslt)
4254 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4255 ("docbook-xml" ,docbook-xml-4.2)
4256 ("docbook-xsl" ,docbook-xsl)))
4258 `(("alsa-lib" ,alsa-lib)
4260 ("libgudev" ,libgudev)
4263 ("pulseaudio" ,pulseaudio)
4264 ("libcanberra" ,libcanberra)
4266 ("libxtst" ,libxtst)
4268 ("libnotify" ,libnotify)
4269 ("geoclue" ,geoclue)
4270 ("geocode-glib" ,geocode-glib)
4271 ("libgweather" ,libgweather)
4272 ("gnome-desktop" ,gnome-desktop)
4275 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4276 ("libwacom" ,libwacom)
4277 ("librsvg" ,librsvg)
4278 ("xf86-input-wacom" ,xf86-input-wacom)
4279 ("wayland" ,wayland)
4280 ("network-manager" ,network-manager)
4282 ("modem-manager" ,modem-manager)))
4283 (home-page "https://www.gnome.org")
4284 (synopsis "GNOME settings daemon")
4286 "This package contains the daemon responsible for setting the various
4287 parameters of a GNOME session and the applications that run under it. It
4288 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4289 settings, themes, mouse settings, and startup of other daemons.")
4290 (license license:gpl2+)))
4292 (define-public totem-pl-parser
4294 (name "totem-pl-parser")
4298 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4299 (version-major+minor version) "/"
4300 "totem-pl-parser-" version ".tar.xz"))
4303 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4304 (build-system meson-build-system)
4306 ;; FIXME: Tests require gvfs.
4309 `(("intltool" ,intltool)
4310 ("glib" ,glib "bin")
4311 ("gobject-introspection" ,gobject-introspection)
4312 ("pkg-config" ,pkg-config)))
4316 ("libarchive" ,libarchive)
4317 ("libgcrypt" ,libgcrypt)
4318 ("libxml2" ,libxml2)))
4320 `(("libsoup" ,libsoup)))
4321 (home-page "https://projects.gnome.org/totem")
4322 (synopsis "Library to parse and save media playlists for GNOME")
4323 (description "Totem-pl-parser is a GObjects-based library to parse and save
4324 playlists in a variety of formats.")
4325 (license license:lgpl2.0+)))
4327 (define-public aisleriot
4333 (uri (string-append "mirror://gnome/sources/aisleriot/"
4334 (version-major+minor version) "/"
4335 "aisleriot-" version ".tar.xz"))
4338 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4339 (build-system glib-or-gtk-build-system)
4342 '("--with-platform=gtk-only"
4343 "--with-card-theme-formats=svg")))
4345 `(("desktop-file-utils" ,desktop-file-utils)
4346 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4347 ("intltool" ,intltool)
4348 ("itstool" ,itstool)
4349 ("pkg-config" ,pkg-config)
4350 ("xmllint" ,libxml2)))
4353 ("guile" ,guile-2.2)
4354 ("libcanberra" ,libcanberra)
4355 ("librsvg" ,librsvg)))
4356 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4357 (synopsis "Solitaire card games")
4359 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4360 which are easy to play with the aid of a mouse.")
4361 (license license:gpl3+)))
4369 (uri (string-append "mirror://gnome/sources/amtk/"
4370 (version-major+minor version) "/"
4371 "amtk-" version ".tar.xz"))
4374 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4375 (build-system gnu-build-system)
4377 '(#:configure-flags '("--enable-gtk-doc")))
4379 `(("gobject-introspection" ,gobject-introspection)
4380 ("glib:bin" ,glib "bin") ; for glib-mkenums
4381 ("gtk-doc" ,gtk-doc)
4382 ("pkg-config" ,pkg-config)))
4386 (home-page "https://wiki.gnome.org/Projects/Amtk")
4387 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4389 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4390 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4391 both a traditional UI or a modern UI with a GtkHeaderBar.")
4392 (license license:lgpl2.1+)))
4394 (define-public devhelp
4400 (uri (string-append "mirror://gnome/sources/" name "/"
4401 (version-major+minor version) "/"
4402 name "-" version ".tar.xz"))
4405 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4406 (build-system meson-build-system)
4410 (modify-phases %standard-phases
4411 (add-after 'unpack 'skip-gtk-update-icon-cache
4412 ;; Don't create 'icon-theme.cache'.
4414 (substitute* "meson_post_install.py"
4415 (("gtk-update-icon-cache") "true"))
4418 `(("intltool" ,intltool)
4419 ("itstool" ,itstool)
4420 ("gobject-introspection" ,gobject-introspection)
4421 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4422 ("pkg-config" ,pkg-config)))
4425 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4426 ("webkitgtk" ,webkitgtk)))
4427 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4428 (synopsis "API documentation browser for GNOME")
4430 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4431 natively with GTK-Doc (the API reference system developed for GTK+ and used
4432 throughout GNOME for API documentation).")
4433 (license license:gpl2+)))
4442 (uri (string-append "mirror://gnome/sources/cogl/"
4443 (version-major+minor version) "/"
4444 "cogl-" version ".tar.xz"))
4446 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
4447 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4448 ;; cogl, corresponding changes may be appropriate in mutter as well.
4449 (build-system gnu-build-system)
4451 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4452 ("gobject-introspection" ,gobject-introspection)
4453 ;;("xorg-server" ,xorg-server) ; for the test suite
4454 ("pkg-config" ,pkg-config)))
4457 ("gdk-pixbuf" ,gdk-pixbuf)
4459 ("libxext" ,libxext)
4460 ("libxfixes" ,libxfixes)
4461 ("libxdamage" ,libxdamage)
4462 ("libxcomposite" ,libxcomposite)
4463 ("libxrandr" ,libxrandr)))
4468 ("gstreamer" ,gstreamer)
4469 ("gst-plugins-base" ,gst-plugins-base)
4470 ("wayland" ,wayland)))
4472 `(#:configure-flags (list "--enable-cogl-gst"
4473 "--enable-wayland-egl-platform"
4474 "--enable-wayland-egl-server"
4476 ;; Arrange to pass an absolute file name to
4477 ;; dlopen for libGL.so.
4478 (string-append "--with-gl-libname="
4479 (assoc-ref %build-inputs "mesa")
4481 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4482 ;; _FontTransOpen: Unable to Parse address
4483 ;; ${prefix}/share/fonts/X11/misc/
4487 (modify-phases %standard-phases
4488 (add-before 'check 'start-xorg-server
4489 (lambda* (#:key inputs #:allow-other-keys)
4490 ;; The test suite requires a running X server.
4491 (system (format #f "~a/bin/Xvfb :1 &"
4492 (assoc-ref inputs "xorg-server")))
4493 (setenv "DISPLAY" ":1")
4495 (home-page "https://www.cogl3d.org")
4496 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4498 "Cogl is a small library for using 3D graphics hardware to draw pretty
4499 pictures. The API departs from the flat state machine style of OpenGL and is
4500 designed to make it easy to write orthogonal components that can render
4501 without stepping on each others toes.")
4502 (license (list license:expat ; most of the code
4503 license:bsd-3 ; cogl/cogl-point-in-poly.c
4504 license:sgifreeb2.0 ; cogl-path/tesselator/
4505 license:asl2.0)))) ; examples/android/
4507 (define-public clutter
4514 (uri (string-append "mirror://gnome/sources/" name "/"
4515 (version-major+minor version) "/"
4516 name "-" version ".tar.xz"))
4519 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4520 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4521 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4522 (build-system gnu-build-system)
4524 "doc")) ;9 MiB of gtk-doc HTML pages
4526 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4527 ("gobject-introspection" ,gobject-introspection)
4528 ("pkg-config" ,pkg-config)
4529 ("xsltproc" ,libxslt)))
4535 ("json-glib" ,json-glib)
4537 ("libxcomposite" ,libxcomposite)
4538 ("libxdamage" ,libxdamage)
4539 ("libxext" ,libxext)
4540 ("xinput" ,xinput)))
4542 `(("libxkbcommon" ,libxkbcommon)
4545 `(#:configure-flags (list "--enable-x11-backend=yes"
4547 ;; This produces share/doc/{clutter,cally}.
4548 (string-append "--with-html-dir="
4549 (assoc-ref %outputs "doc")
4551 ;; XXX FIXME: Get test suite working. It would probably fail in the
4552 ;; same way the cogl tests fail, since clutter is based on cogl.
4554 (home-page "http://www.clutter-project.org")
4555 (synopsis "OpenGL-based interactive canvas library")
4557 "Clutter is an OpenGL-based interactive canvas library, designed for
4558 creating fast, mainly 2D single window applications such as media box UIs,
4559 presentations, kiosk style applications and so on.")
4560 (license license:lgpl2.0+)))
4562 (define-public clutter-gtk
4564 (name "clutter-gtk")
4569 (uri (string-append "mirror://gnome/sources/" name "/"
4570 (version-major+minor version) "/"
4571 name "-" version ".tar.xz"))
4574 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4575 (build-system gnu-build-system)
4577 `(("pkg-config" ,pkg-config)
4578 ("gobject-introspection" ,gobject-introspection)))
4580 ;; clutter-gtk.pc refers to all these.
4581 `(("clutter" ,clutter)
4583 (home-page "http://www.clutter-project.org")
4584 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4586 "Clutter is an OpenGL-based interactive canvas library, designed for
4587 creating fast, mainly 2D single window applications such as media box UIs,
4588 presentations, kiosk style applications and so on.")
4589 (license license:lgpl2.0+)))
4591 (define-public clutter-gst
4593 (name "clutter-gst")
4598 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4599 (version-major+minor version) "/"
4600 "clutter-gst-" version ".tar.xz"))
4602 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4603 (build-system gnu-build-system)
4605 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4606 ("pkg-config" ,pkg-config)
4607 ("gobject-introspection" ,gobject-introspection)))
4609 `(("clutter" ,clutter)
4610 ("gstreamer" ,gstreamer)
4611 ("gst-plugins-base" ,gst-plugins-base)))
4612 (home-page "http://www.clutter-project.org")
4613 (synopsis "Integration library for using GStreamer with Clutter")
4615 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4616 It provides a GStreamer sink to upload frames to GL and an actor that
4617 implements the ClutterGstPlayer interface using playbin. Clutter is an
4618 OpenGL-based interactive canvas library.")
4619 (license license:lgpl2.0+)))
4621 (define-public libchamplain
4623 (name "libchamplain")
4628 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4632 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4633 (build-system gnu-build-system)
4634 (arguments '(#:configure-flags '("--enable-vala")))
4636 `(("gobject-introspection" ,gobject-introspection)
4637 ("pkg-config" ,pkg-config)
4640 `(("libsoup" ,libsoup)
4642 ("clutter" ,clutter)
4643 ("clutter-gtk" ,clutter-gtk)
4644 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4648 (home-page "https://projects.gnome.org/libchamplain/")
4649 (synopsis "C library providing a ClutterActor to display maps")
4651 "libchamplain is a C library providing a ClutterActor to display maps.
4652 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4653 and Perl bindings are also available. It supports numerous free map sources
4654 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4655 (license license:lgpl2.1+)))
4664 (uri (string-append "mirror://gnome/sources/gom/"
4665 (version-major+minor version) "/"
4666 "gom-" version ".tar.xz"))
4669 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4670 (build-system gnu-build-system)
4672 `(("intltool" ,intltool)
4673 ("pkg-config" ,pkg-config)
4674 ("gobject-introspection" ,gobject-introspection)))
4677 ("gdk-pixbuf" ,gdk-pixbuf)
4678 ("sqlite" ,sqlite)))
4679 ;; XXX TODO: Figure out how to run the test suite.
4680 (arguments `(#:tests? #f))
4681 (home-page "https://wiki.gnome.org/Projects/Gom")
4682 (synopsis "Object mapper from GObjects to SQLite")
4684 "Gom provides an object mapper from GObjects to SQLite. It helps you
4685 write applications that need to store structured data as well as make complex
4686 queries upon that data.")
4687 (license license:lgpl2.1+)))
4689 (define-public libgnome-games-support
4691 (name "libgnome-games-support")
4695 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4696 (version-major+minor version) "/"
4697 "libgnome-games-support-" version ".tar.xz"))
4700 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4701 (build-system gnu-build-system)
4704 (modify-phases %standard-phases
4705 (add-before 'check 'pre-check
4707 ;; Tests require a writable HOME.
4708 (setenv "HOME" (getcwd))
4711 `(("intltool" ,intltool)
4712 ("pkg-config" ,pkg-config)
4715 ;; Required by libgnome-games-support-1.0.pc
4717 ("libgee" ,libgee)))
4718 (home-page "https://www.gnome.org/")
4719 (synopsis "Useful functionality shared among GNOME games")
4721 "libgnome-games-support is a small library intended for internal use by
4722 GNOME Games, but it may be used by others.")
4723 (license license:lgpl3+)))
4725 (define-public gnome-klotski
4727 (name "gnome-klotski")
4731 (uri (string-append "mirror://gnome/sources/" name "/"
4732 (version-major+minor version) "/"
4733 name "-" version ".tar.xz"))
4736 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
4737 (build-system meson-build-system)
4741 (modify-phases %standard-phases
4742 (add-after 'unpack 'skip-gtk-update-icon-cache
4743 ;; Don't create 'icon-theme.cache'.
4745 (substitute* "build-aux/meson_post_install.py"
4746 (("gtk-update-icon-cache") (which "true")))
4749 `(("desktop-file-utils" ,desktop-file-utils)
4750 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4751 ("intltool" ,intltool)
4752 ("itstool" ,itstool)
4753 ("pkg-config" ,pkg-config)
4755 ("xmllint" ,libxml2)))
4758 ("libgnome-games-support" ,libgnome-games-support)
4759 ("librsvg" ,librsvg)))
4760 (home-page "https://wiki.gnome.org/Apps/Klotski")
4761 (synopsis "Sliding block puzzles")
4763 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4764 the patterned block to the area bordered by green markers. To do so, you will
4765 need to slide other blocks out of the way. Complete each puzzle in as few moves
4767 (license license:gpl2+)))
4769 (define-public grilo
4776 (uri (string-append "mirror://gnome/sources/" name "/"
4777 (version-major+minor version) "/"
4778 name "-" version ".tar.xz"))
4781 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4782 (build-system meson-build-system)
4784 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4785 ("intltool" ,intltool)
4786 ("pkg-config" ,pkg-config)
4787 ("gobject-introspection" ,gobject-introspection)
4788 ("gtk-doc" ,gtk-doc)
4791 `(("cyrus-sasl" ,cyrus-sasl)
4794 ("libxml2" ,libxml2)
4795 ("liboauth" ,liboauth)
4796 ("libsoup" ,libsoup)
4797 ("totem-pl-parser" ,totem-pl-parser)))
4798 (native-search-paths
4799 (list (search-path-specification
4800 (variable "GRL_PLUGIN_PATH")
4801 (files (list (string-append "lib/grilo-"
4802 (version-major+minor version)))))))
4803 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4804 (synopsis "Framework for discovering and browsing media")
4806 "Grilo is a framework focused on making media discovery and browsing easy
4807 for application developers.")
4808 (license license:lgpl2.1+)))
4810 (define-public grilo-plugins
4812 (name "grilo-plugins")
4817 (uri (string-append "mirror://gnome/sources/" name "/"
4818 (version-major+minor version) "/"
4819 name "-" version ".tar.xz"))
4822 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4823 (build-system meson-build-system)
4825 `(("gettext" ,gettext-minimal)
4826 ("glib:bin" ,glib "bin")
4827 ("gtk+:bin" ,gtk+ "bin")
4828 ("itstool" ,itstool)
4829 ("pkg-config" ,pkg-config)))
4830 ;; TODO: ahavi, gstreamer
4833 ;("gmime" ,gmime) ; unused
4834 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4836 ;("gssdp" ,gssdp) ; unused
4837 ;("gupnp" ,gupnp) ; unused
4838 ;("gupnp-av" ,gupnp-av) ; unused
4839 ("json-glib" ,json-glib)
4841 ("libgdata" ,libgdata)
4842 ("libmediaart" ,libmediaart)
4843 ;("librest" ,rest) ; unused
4844 ("libsoup" ,libsoup)
4845 ("totam-pl-parser" ,totem-pl-parser)
4846 ("tracker" ,tracker))) ; unused because it's too old
4849 ;;Disable lua-factory as it needs missing dependencies
4850 #:configure-flags '("-Denable-lua-factory=no")))
4851 (home-page "https://live.gnome.org/Grilo")
4852 (synopsis "Plugins for the Grilo media discovery library")
4854 "Grilo is a framework focused on making media discovery and browsing easy
4855 for application developers. This package provides plugins for common media
4856 discovery protocols.")
4857 (license license:lgpl2.1+)))
4859 (define-public totem
4866 (uri (string-append "mirror://gnome/sources/" name "/"
4867 (version-major+minor version) "/"
4868 name "-" version ".tar.xz"))
4871 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
4872 (build-system meson-build-system)
4874 `(("pkg-config" ,pkg-config)
4875 ("desktop-file-utils" ,desktop-file-utils)
4876 ("gobject-introspection" ,gobject-introspection)
4877 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4878 ("intltool" ,intltool)
4879 ("itstool" ,itstool)
4880 ("xmllint" ,libxml2)
4881 ("python-pylint" ,python-pylint)
4882 ("xorg-server" ,xorg-server-for-tests)))
4884 `(("dconf" ,dconf)))
4887 ("gdk-pixbuf" ,gdk-pixbuf)
4890 ("dbus-glib" ,dbus-glib)
4891 ("clutter" ,clutter)
4892 ("clutter-gtk" ,clutter-gtk)
4893 ("clutter-gst" ,clutter-gst)
4894 ("xorgproto" ,xorgproto)
4895 ("libxxf86vm" ,libxxf86vm)
4896 ("libxtst" ,libxtst)
4897 ("libxrandr" ,libxrandr)
4898 ("libxml2" ,libxml2)
4899 ("libsoup" ,libsoup)
4900 ("libpeas" ,libpeas)
4901 ("librsvg" ,librsvg)
4903 ("gnome-desktop" ,gnome-desktop)
4904 ("gstreamer" ,gstreamer)
4905 ("gst-plugins-base" ,gst-plugins-base)
4906 ("gst-plugins-good" ,gst-plugins-good)
4907 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4908 ("adwaita-icon-theme" ,adwaita-icon-theme)
4910 ("python-pygobject" ,python-pygobject)
4911 ("totem-pl-parser" ,totem-pl-parser)
4913 ("grilo-plugins" ,grilo-plugins)
4918 ;; Disable automatic GStreamer plugin installation via PackageKit and
4920 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4922 ;; Do not build .a files for the plugins, it's
4923 ;; completely useless. This saves 2 MiB.
4924 "--default-library" "shared")
4926 (modify-phases %standard-phases
4927 (add-after 'unpack 'skip-gtk-update-icon-cache
4928 ;; Don't create 'icon-theme.cache'.
4930 (substitute* "meson_post_install.py"
4931 (("gtk-update-icon-cache") "true"))
4934 'install 'disable-cache-generation
4936 (setenv "DESTDIR" "/")
4941 ;; Tests require a running X server.
4942 (system "Xvfb :1 &")
4943 (setenv "DISPLAY" ":1")
4946 'install 'wrap-totem
4947 (lambda* (#:key inputs outputs #:allow-other-keys)
4948 (let ((out (assoc-ref outputs "out"))
4949 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4950 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4951 (wrap-program (string-append out "/bin/totem")
4952 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4953 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4954 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4955 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4957 (home-page "https://wiki.gnome.org/Apps/Videos")
4958 (synopsis "Simple media player for GNOME based on GStreamer")
4959 (description "Totem is a simple yet featureful media player for GNOME
4960 which can read a large number of file formats.")
4961 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4962 ;; to be used and distributed together with GStreamer and Totem. See
4963 ;; file://COPYING in the source distribution for details.
4964 (license license:gpl2+)))
4966 (define-public rhythmbox
4972 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4973 (version-major+minor version) "/"
4974 "rhythmbox-" version ".tar.xz"))
4977 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4978 (build-system glib-or-gtk-build-system)
4981 (list "--enable-lirc"
4988 (modify-phases %standard-phases
4990 'install 'wrap-rhythmbox
4991 (lambda* (#:key inputs outputs #:allow-other-keys)
4992 (let ((out (assoc-ref outputs "out"))
4993 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4994 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4995 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4996 (python-path (getenv "PYTHONPATH")))
4997 (wrap-program (string-append out "/bin/rhythmbox")
4998 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4999 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5000 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5001 `("PYTHONPATH" ":" prefix (,python-path))))
5004 `(("dconf" ,dconf)))
5006 `(("itstool" ,itstool)
5007 ("intltool" ,intltool)
5008 ("glib" ,glib "bin")
5009 ("gobject-introspection" ,gobject-introspection)
5010 ("desktop-file-utils" ,desktop-file-utils)
5011 ("pkg-config" ,pkg-config)
5012 ("xmllint" ,libxml2)))
5014 `(("json-glib" ,json-glib)
5016 ("gnome-desktop" ,gnome-desktop)
5018 ("python-pygobject" ,python2-pygobject)
5021 ("adwaita-icon-theme" ,adwaita-icon-theme)
5023 ("grilo-plugins" ,grilo-plugins)
5024 ("gstreamer" ,gstreamer)
5025 ("gst-plugins-base" ,gst-plugins-base)
5026 ("gst-plugins-good" ,gst-plugins-good)
5027 ("totem-pl-parser" ,totem-pl-parser)
5028 ("libgudev" ,libgudev)
5029 ;;("libmtp" ,libmtp) FIXME: Not detected
5030 ("libsecret" ,libsecret)
5031 ("libsoup" ,libsoup)
5032 ("libnotify" ,libnotify)
5033 ("libpeas" ,libpeas)
5035 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5036 ;;("clutter" ,clutter)
5037 ;;("clutter-gtk" ,clutter-gtk)
5038 ;;("clutter-gst" ,clutter-gst)
5039 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5046 ("brasero" ,brasero)))
5047 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5048 (synopsis "Music player for GNOME")
5049 (description "Rhythmbox is a music playing application for GNOME. It
5050 supports playlists, song ratings, and any codecs installed through gstreamer.")
5051 (license license:gpl2+)))
5059 (uri (string-append "mirror://gnome/sources/" name "/"
5060 (version-major+minor version) "/"
5061 name "-" version ".tar.xz"))
5064 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5065 (build-system meson-build-system)
5068 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5069 (list (string-append "-Dc_link_args=-Wl,-rpath="
5070 (assoc-ref %outputs "out") "/lib/eog"))
5072 (modify-phases %standard-phases
5073 (add-after 'unpack 'skip-gtk-update-icon-cache
5074 ;; Don't create 'icon-theme.cache'.
5076 (substitute* "meson_post_install.py"
5077 (("gtk-update-icon-cache") "true"))
5079 (add-after 'install 'wrap-eog
5080 (lambda* (#:key outputs #:allow-other-keys)
5081 (let ((out (assoc-ref outputs "out"))
5082 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5083 (wrap-program (string-append out "/bin/eog")
5084 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5087 `(("dconf" ,dconf)))
5089 `(("intltool" ,intltool)
5090 ("itstool" ,itstool)
5091 ("glib" ,glib "bin")
5092 ("gobject-introspection" ,gobject-introspection)
5093 ("pkg-config" ,pkg-config)
5094 ("xmllint" ,libxml2)))
5096 `(("gnome-desktop" ,gnome-desktop)
5097 ("shared-mime-info" ,shared-mime-info)
5098 ("adwaita-icon-theme" ,adwaita-icon-theme)
5101 ("libexif" ,libexif)
5102 ("libpeas" ,libpeas)
5103 ("libjpeg" ,libjpeg-turbo)
5104 ("librsvg" ,librsvg-next)
5105 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5107 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5108 (synopsis "GNOME image viewer")
5109 (description "Eye of GNOME is the GNOME image viewer. It
5110 supports image conversion, rotation, and slideshows.")
5111 (license license:gpl2+)))
5113 (define-public eog-plugins
5114 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5115 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5116 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5117 ;; 'XDG_DATA_DIRS' appropriately set.
5119 (name "eog-plugins")
5123 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5124 (version-major+minor version) "/"
5125 "eog-plugins-" version ".tar.xz"))
5128 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5129 (build-system gnu-build-system)
5130 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5131 (synopsis "Extensions for the Eye of GNOME image viewer")
5133 `(("pkg-config" ,pkg-config)
5134 ("gettext" ,gettext-minimal)))
5139 ("libpeas" ,libpeas)
5140 ("libexif" ,libexif)
5141 ("libchamplain" ,libchamplain)))
5143 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5147 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5148 @item @dfn{Map}, which displays a map of where the picture was taken on the
5150 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5153 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5154 ;; long suspicious byte stream that goes to a
5155 ;; ".gresource.eog_postasa_plugin" ELF section.
5156 (license license:gpl2+)))
5158 (define-public libgudev
5164 (uri (string-append "mirror://gnome/sources/" name "/"
5165 version "/" name "-" version ".tar.xz"))
5168 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5169 (build-system gnu-build-system)
5172 ;; umockdev depends on libgudev.
5173 (list "--disable-umockdev")))
5175 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5176 ("gobject-introspection" ,gobject-introspection)
5177 ("pkg-config" ,pkg-config)))
5179 `(("glib" ,glib))) ; required by gudev-1.0.pc
5182 (home-page "https://wiki.gnome.org/Projects/libgudev")
5183 (synopsis "GObject bindings for libudev")
5185 "This library provides GObject bindings for libudev. It was originally
5186 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5187 (license license:lgpl2.1+)))
5195 (uri (string-append "mirror://gnome/sources/gvfs/"
5196 (version-major+minor version) "/"
5197 "gvfs-" version ".tar.xz"))
5200 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5201 (build-system meson-build-system)
5205 (list "-Dsystemduserunitdir=no"
5207 ;; Otherwise, the RUNPATH will lack the final path component.
5208 (string-append "-Dc_link_args=-Wl,-rpath="
5209 (assoc-ref %outputs "out") "/lib/gvfs"))))
5211 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5212 ("gettext" ,gettext-minimal)
5213 ("gtk-doc" ,gtk-doc)
5214 ("pkg-config" ,pkg-config)
5215 ("xsltproc" ,libxslt)))
5218 ("docbook-xml" ,docbook-xml-4.2)
5219 ("docbook-xsl" ,docbook-xsl)
5221 ("elogind" ,elogind)
5225 ("gnome-online-accounts" ,gnome-online-accounts)
5226 ("libarchive" ,libarchive)
5227 ("libbluray" ,libbluray)
5229 ("libcdio-paranoia" ,libcdio-paranoia)
5230 ("libgcrypt" ,libgcrypt)
5231 ("libgdata" ,libgdata)
5232 ("libgphoto2" ,libgphoto2)
5233 ("libgudev" ,libgudev)
5234 ("libimobiledevice" ,libimobiledevice)
5237 ("libsecret" ,libsecret)
5238 ("libsmbclient" ,samba)
5239 ("libsoup" ,libsoup)
5240 ("libxml2" ,libxml2)
5241 ("openssh" ,openssh)
5243 ("udisks" ,udisks)))
5244 (home-page "https://wiki.gnome.org/gvfs/")
5245 (synopsis "Userspace virtual file system for GIO")
5247 "GVFS is a userspace virtual file system designed to work with the I/O
5248 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5249 to all applications using the GIO API. It also supports exposing the GVFS
5250 mounts to non-GIO applications using FUSE.
5252 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5254 (license license:lgpl2.0+)))
5263 (url "https://github.com/hughsie/libgusb.git")
5265 (file-name (git-file-name name version))
5268 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5269 (build-system meson-build-system)
5271 `(("gobject-introspection" ,gobject-introspection)
5272 ("pkg-config" ,pkg-config)
5274 ("gtk-doc" ,gtk-doc)))
5276 ;; Both of these are required by gusb.pc.
5278 ("libusb" ,libusb)))
5280 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5281 (home-page "https://github.com/hughsie/libgusb")
5282 (synopsis "GLib binding for libusb1")
5284 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5285 asynchronous control, bulk and interrupt transfers with proper cancellation
5286 and integration into a mainloop. This makes it easy to integrate low level
5287 USB transfers with your high-level application or system daemon.")
5288 (license license:lgpl2.1+)))
5290 (define-public simple-scan
5292 (name "simple-scan")
5293 (version "3.36.2.1")
5297 (uri (string-append "mirror://gnome/sources/simple-scan/"
5298 (version-major+minor version) "/"
5299 "simple-scan-" version ".tar.xz"))
5301 (base32 "0aq1pf0wk536b91as54684xgmhl7lps0k2xcwha5wh6h1isyb35v"))))
5302 (build-system meson-build-system)
5303 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5305 '(#:glib-or-gtk? #t))
5311 ("gdk-pixbuf" ,gdk-pixbuf)
5313 ("libsane" ,sane-backends)))
5315 `(("gettext" ,gettext-minimal)
5316 ("itstool" ,itstool)
5317 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5318 ("pkg-config" ,pkg-config)
5320 ("xmllint" ,libxml2)))
5321 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5322 (synopsis "Document and image scanner")
5324 "Document Scanner is an easy-to-use application that lets you connect your
5325 scanner and quickly capture images and documents in an appropriate format. It
5326 supports any scanner for which a suitable SANE driver is available, which is
5327 almost all of them.")
5328 (license license:gpl3+)))
5330 (define-public eolie
5333 (version "0.9.98.1")
5336 (uri (string-append "https://adishatz.org/eolie/eolie-"
5340 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5341 (build-system meson-build-system)
5345 (modify-phases %standard-phases
5346 (add-after 'unpack 'skip-gtk-update-icon-cache
5347 ;; Don't create 'icon-theme.cache'.
5349 (substitute* "meson_post_install.py"
5350 (("gtk-update-icon-cache") "true"))
5352 (add-after 'wrap 'wrap-more
5353 (lambda* (#:key inputs outputs #:allow-other-keys)
5354 (let* ((out (assoc-ref outputs "out"))
5355 ;; These libraries must be on LD_LIBRARY_PATH.
5356 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5357 "atk" "gtk+" "gsettings-desktop-schemas"
5358 "gobject-introspection"))
5361 (string-append (assoc-ref inputs lib) "/lib"))
5364 (wrap-program (string-append out "/bin/eolie")
5365 `("LD_LIBRARY_PATH" ":" prefix (,path))
5366 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5367 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5370 `(("intltool" ,intltool)
5371 ("itstool" ,itstool)
5372 ("pkg-config" ,pkg-config)
5374 ("glib:bin" ,glib "bin")))
5376 `(("gobject-introspection" ,gobject-introspection)
5377 ("glib-networking" ,glib-networking)
5380 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5381 ("python" ,python-wrapper)
5382 ("python-dateutil" ,python-dateutil)
5383 ("python-pyfxa" ,python-pyfxa)
5384 ("python-pygobject" ,python-pygobject)
5385 ("python-pycairo" ,python-pycairo)
5386 ("python-pycrypto" ,python-pycrypto)
5387 ("libsecret" ,libsecret)
5388 ("gtkspell3" ,gtkspell3)
5389 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5390 ("webkitgtk" ,webkitgtk)))
5391 (home-page "https://wiki.gnome.org/Apps/Eolie")
5392 (synopsis "Web browser for GNOME")
5394 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5395 a secret password store, an adblocker, and a modern UI.")
5396 (license license:gpl3+)))
5398 (define-public epiphany
5404 (uri (string-append "mirror://gnome/sources/epiphany/"
5405 (version-major+minor version) "/"
5406 "epiphany-" version ".tar.xz"))
5409 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5411 (build-system meson-build-system)
5415 (modify-phases %standard-phases
5416 (add-after 'unpack 'skip-gtk-update-icon-cache
5417 ;; Don't create 'icon-theme.cache'.
5419 (substitute* "post_install.py"
5420 (("gtk-update-icon-cache") "true"))
5422 (add-after 'unpack 'disable-failing-tests
5424 (substitute* "tests/meson.build"
5425 ;; embed_shell fails, because webkitgtk apparently no longer supports
5426 ;; overriding the ftp schema
5427 ;; web_app_utils fails due to missing network access
5428 (("(embed_shell|web_app_utils)_test,")
5429 "find_program('sh'), args: ['-c', 'exit 77'],"))
5431 (add-before 'check 'pre-check
5433 ;; Tests require a running X server.
5434 (system "Xvfb :1 &")
5435 (setenv "DISPLAY" ":1")
5438 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5439 (list (string-append "-Dc_link_args=-Wl,-rpath="
5440 (assoc-ref %outputs "out") "/lib/epiphany"))))
5442 `(("dconf" ,dconf)))
5444 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5445 ("glib:bin" ,glib "bin") ; for glib-mkenums
5446 ("intltool" ,intltool)
5447 ("itstool" ,itstool)
5448 ("pkg-config" ,pkg-config)
5449 ("xmllint" ,libxml2)
5450 ("xorg-server" ,xorg-server-for-tests)))
5454 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5455 ("glib-networking" ,glib-networking)
5456 ("gnome-desktop" ,gnome-desktop)
5457 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5458 ("json-glib" ,json-glib)
5459 ("iso-codes" ,iso-codes)
5460 ("libdazzle" ,libdazzle)
5461 ("libnotify" ,libnotify)
5462 ("libsecret" ,libsecret)
5463 ("libxslt" ,libxslt)
5464 ("nettle" ,nettle) ; for hogweed
5466 ("webkitgtk" ,webkitgtk)))
5467 (home-page "https://wiki.gnome.org/Apps/Web")
5468 (synopsis "GNOME web browser")
5470 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5471 principles are simplicity and standards compliance.")
5472 (license license:gpl2+)))
5474 (define-public d-feet
5480 (uri (string-append "mirror://gnome/sources/" name "/"
5481 (version-major+minor version) "/"
5482 name "-" version ".tar.xz"))
5485 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5486 (build-system glib-or-gtk-build-system)
5488 '(#:out-of-source? #f ; tests need to run in the source directory.
5490 (modify-phases %standard-phases
5494 ;; The test suite requires a running X server.
5495 (system "Xvfb :1 &")
5496 (setenv "DISPLAY" ":1")
5497 ;; Don't fail on missing '/etc/machine-id'.
5498 (setenv "DBUS_FATAL_WARNINGS" "0")
5499 ;; tests.py and window.py don't meet E402:
5500 ;; E402 module level import not at top of file
5501 (substitute* "src/tests/Makefile"
5502 (("--ignore=E123") "--ignore=E123,E402"))
5505 'install 'wrap-program
5506 (lambda* (#:key outputs #:allow-other-keys)
5507 (let ((prog (string-append (assoc-ref outputs "out")
5510 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5511 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5514 `(("intltool" ,intltool)
5515 ("itstool" ,itstool)
5516 ("pkg-config" ,pkg-config)
5517 ("python-pep8" ,python-pep8)
5518 ("xmllint" ,libxml2)
5519 ("xorg-server" ,xorg-server-for-tests)))
5521 `(("gobject-introspection" ,gobject-introspection)
5523 ("python" ,python-wrapper)
5524 ("hicolor-icon-theme" ,hicolor-icon-theme)
5525 ("python-pygobject" ,python-pygobject)))
5526 (home-page "https://wiki.gnome.org/Apps/DFeet")
5527 (synopsis "D-Bus debugger")
5529 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5530 of running programs and invoke methods on those interfaces.")
5531 (license license:gpl2+)))
5533 (define-public yelp-xsl
5539 (uri (string-append "mirror://gnome/sources/" name "/"
5540 (version-major+minor version) "/"
5541 name "-" version ".tar.xz"))
5544 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5545 (build-system gnu-build-system)
5547 `(("gettext-minimal" ,gettext-minimal)
5548 ("itstool" ,itstool)
5549 ("xmllint" ,libxml2)))
5550 (home-page "https://wiki.gnome.org/Apps/Yelp")
5551 (synopsis "XSL stylesheets for Yelp")
5553 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5554 to format Docbook and Mallard documents.")
5555 (license license:gpl2+)))
5563 (uri (string-append "mirror://gnome/sources/" name "/"
5564 (version-major+minor version) "/"
5565 name "-" version ".tar.xz"))
5568 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5569 (build-system glib-or-gtk-build-system)
5571 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5572 ("intltool" ,intltool)
5573 ("itstool" ,itstool)
5574 ("pkg-config" ,pkg-config)))
5576 `(("dconf" ,dconf)))
5578 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5579 ("libxslt" ,libxslt)
5581 ("webkitgtk" ,webkitgtk)
5582 ("yelp-xsl" ,yelp-xsl)))
5583 (home-page "https://wiki.gnome.org/Apps/Yelp")
5584 (synopsis "GNOME help browser")
5586 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5587 man, info, and HTML documents. It can locate documents according to the
5588 freedesktop.org help system specification.")
5589 (license license:gpl2+)))
5591 (define-public yelp-tools
5597 (uri (string-append "mirror://gnome/sources/" name "/"
5598 (version-major+minor version) "/"
5599 name "-" version ".tar.xz"))
5602 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5603 (build-system gnu-build-system)
5605 `(("pkg-config" ,pkg-config)))
5607 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5608 `(("itstool" ,itstool)
5609 ("xmllint" ,libxml2)
5610 ("xsltproc" ,libxslt)))
5612 `(("yelp-xsl" ,yelp-xsl)))
5613 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5614 (synopsis "Yelp documentation tools")
5616 "Yelp-tools is a collection of scripts and build utilities to help create,
5617 manage, and publish documentation for Yelp and the web. Most of the heavy
5618 lifting is done by packages like yelp-xsl and itstool. This package just
5619 wraps things up in a developer-friendly way.")
5620 (license license:gpl2+)))
5622 (define-public libgee
5628 (uri (string-append "mirror://gnome/sources/libgee/"
5629 (version-major+minor version) "/"
5630 "libgee-" version ".tar.xz"))
5633 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5634 (build-system gnu-build-system)
5637 (modify-phases %standard-phases
5638 (add-after 'unpack 'fix-introspection-install-dir
5639 (lambda* (#:key outputs #:allow-other-keys)
5640 (let ((out (assoc-ref outputs "out")))
5641 (substitute* "gee/Makefile.in"
5642 (("@INTROSPECTION_GIRDIR@")
5643 (string-append out "/share/gir-1.0/"))
5644 (("@INTROSPECTION_TYPELIBDIR@")
5645 (string-append out "/lib/girepository-1.0/")))))))))
5647 `(("glib" ,glib "bin")
5648 ("pkg-config" ,pkg-config)))
5651 ("gobject-introspection" ,gobject-introspection)))
5652 (home-page "https://wiki.gnome.org/Projects/Libgee")
5653 (synopsis "GObject collection library")
5655 "Libgee is a utility library providing GObject-based interfaces and
5656 classes for commonly used data structures.")
5657 (license license:lgpl2.1+)))
5659 (define-public gexiv2
5665 (uri (string-append "mirror://gnome/sources/" name "/"
5666 (version-major+minor version) "/"
5667 name "-" version ".tar.xz"))
5670 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5671 (build-system meson-build-system)
5674 ("glib" ,glib "bin")
5675 ("pkg-config" ,pkg-config)
5678 ;; Listed in "Requires" section of gexiv2.pc
5679 `(("exiv2" ,exiv2)))
5682 ("gobject-introspection" ,gobject-introspection)))
5683 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5684 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5686 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5687 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5688 metadata in photo and video files of various formats.")
5689 (license license:gpl2+)))
5691 (define-public shotwell
5697 (uri (string-append "mirror://gnome/sources/shotwell/"
5698 (version-major+minor version) "/"
5699 "shotwell-" version ".tar.xz"))
5702 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
5703 (build-system meson-build-system)
5707 (modify-phases %standard-phases
5708 (add-after 'unpack 'skip-gtk-update-icon-cache
5710 (substitute* "build-aux/meson/postinstall.py"
5711 (("gtk-update-icon-cache") (which "true"))
5712 (("update-desktop-database") (which "true")))
5715 `(("dconf" ,dconf)))
5717 `(("gettext" ,gettext-minimal)
5718 ("glib:bin" ,glib "bin")
5719 ("itstool" ,itstool)
5720 ("pkg-config" ,pkg-config)
5725 ("gst-plugins-base" ,gst-plugins-base)
5726 ("gstreamer" ,gstreamer)
5727 ("json-glib" ,json-glib)
5728 ("libgdata" ,libgdata)
5730 ("libgphoto2" ,libgphoto2)
5731 ("libgudev" ,libgudev)
5733 ("libsoup" ,libsoup)
5734 ("libxml2" ,libxml2)
5736 ("webkitgtk" ,webkitgtk)))
5737 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5738 (synopsis "Photo manager for GNOME 3")
5740 "Shotwell is a digital photo manager designed for the GNOME desktop
5741 environment. It allows you to import photos from disk or camera, organize
5742 them by keywords and events, view them in full-window or fullscreen mode, and
5743 share them with others via social networking and more.")
5744 (license license:lgpl2.1+)))
5746 (define-public file-roller
5748 (name "file-roller")
5752 (uri (string-append "mirror://gnome/sources/file-roller/"
5753 (version-major+minor version) "/"
5754 "file-roller-" version ".tar.xz"))
5757 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5758 (build-system meson-build-system)
5760 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5761 ("intltool" ,intltool)
5762 ("itstool" ,itstool)
5763 ("pkg-config" ,pkg-config)
5764 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5765 ("glib:bin" ,glib "bin")))
5766 ;; TODO: Add libnautilus.
5769 ("gdk-pixbuf" ,gdk-pixbuf)
5770 ("json-glib" ,json-glib)
5771 ("libarchive" ,libarchive)
5772 ("libnotify" ,libnotify)
5774 ("libxml2" ,libxml2)))
5775 (synopsis "Graphical archive manager for GNOME")
5776 (description "File Roller is an archive manager for the GNOME desktop
5777 environment that allows users to view, unpack, and create compressed archives
5778 such as gzip tarballs.")
5779 (home-page "http://fileroller.sourceforge.net/")
5780 (license license:gpl2+)))
5782 (define-public gnome-session
5784 (name "gnome-session")
5788 (uri (string-append "mirror://gnome/sources/" name "/"
5789 (version-major+minor version) "/"
5790 name "-" version ".tar.xz"))
5793 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5797 (modify-phases %standard-phases
5798 (add-before 'configure 'pre-configure
5799 (lambda* (#:key outputs #:allow-other-keys)
5800 ;; Use elogind instead of systemd.
5801 (substitute* "meson.build"
5802 (("libsystemd-login") "libelogind")
5803 (("and libsystemd_daemon_dep.found.*") ","))
5804 (substitute* "gnome-session/gsm-systemd.c"
5805 (("#include <systemd/sd-login.h>")
5806 "#include <elogind/sd-login.h>"))
5807 ;; Remove uses of the systemd daemon.
5808 (substitute* "gnome-session/gsm-autostart-app.c"
5809 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5811 (add-after 'install 'wrap-gnome-session
5812 (lambda* (#:key inputs outputs #:allow-other-keys)
5813 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5814 (let ((glib (assoc-ref inputs "glib:bin"))
5815 (out (assoc-ref outputs "out")))
5816 (wrap-program (string-append out "/bin/gnome-session")
5817 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5821 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5822 "-Dman=false" ; FIXME: disabled because of docbook validation error
5823 "-Dsystemd_journal=false")))
5824 (build-system meson-build-system)
5826 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5827 ("pkg-config" ,pkg-config)
5828 ("intltool" ,intltool)
5829 ("xsltproc" ,libxslt)
5830 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5831 ("docbook-xsl" ,docbook-xsl)
5832 ("docbook-xml" ,docbook-xml)
5835 `(("elogind" ,elogind)
5836 ("gnome-desktop" ,gnome-desktop)
5837 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5839 ("json-glib" ,json-glib)
5841 ("libxcomposite" ,libxcomposite)
5842 ("libxtst" ,libxtst)
5845 ("xtrans" ,xtrans)))
5846 (synopsis "Session manager for GNOME")
5848 "This package contains the GNOME session manager, as well as a
5849 configuration program to choose applications starting on login.")
5850 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5851 (license license:gpl2+)))
5859 (uri (string-append "mirror://gnome/sources/" name "/"
5860 (version-major+minor version) "/"
5861 name "-" version ".tar.xz"))
5864 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
5865 (build-system gnu-build-system)
5868 (modify-phases %standard-phases
5872 ;; The test suite requires a running X server.
5873 (system "Xvfb :1 &")
5874 (setenv "DISPLAY" ":1")
5876 ;; For the missing /etc/machine-id.
5877 (setenv "DBUS_FATAL_WARNINGS" "0")
5879 ;; Our mozjs-38 package does not compile the required Intl API
5880 ;; support for these failing tests.
5881 (substitute* "installed-tests/js/testLocale.js"
5882 ((".*toBeDefined.*") "")
5883 ((".*expect\\(datestr\\).*") ""))
5884 (substitute* "installed-tests/scripts/testCommandLine.sh"
5889 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5890 ("pkg-config" ,pkg-config)
5891 ("xmllint" ,libxml2)
5893 ("dbus-launch" ,dbus)
5894 ("dconf" ,dconf) ; required to properly store settings
5895 ("uuidgen" ,util-linux)
5896 ("xvfb" ,xorg-server-for-tests)))
5898 ;; These are all in the Requires.private field of gjs-1.0.pc.
5900 ("gobject-introspection" ,gobject-introspection)
5901 ("mozjs" ,mozjs-60)))
5904 ("readline" ,readline)))
5905 (synopsis "Javascript bindings for GNOME")
5906 (home-page "https://live.gnome.org/Gjs")
5908 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5909 javascript engine and the GObject introspection framework.")
5910 (license license:gpl2+)))
5912 (define-public gedit
5918 (uri (string-append "mirror://gnome/sources/" name "/"
5919 (version-major+minor version) "/"
5920 name "-" version ".tar.xz"))
5923 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
5924 (build-system meson-build-system)
5928 ;; Otherwise, the RUNPATH will lack the final path component.
5929 (list (string-append "-Dc_link_args=-Wl,-rpath="
5930 (assoc-ref %outputs "out") "/lib/gedit"))
5932 ;; XXX: Generated .h files are sometimes used before being built.
5933 #:parallel-build? #f
5936 (modify-phases %standard-phases
5937 (add-after 'unpack 'skip-gtk-update-icon-cache
5938 ;; Don't create 'icon-theme.cache'.
5940 (substitute* "build-aux/meson/post_install.py"
5941 (("gtk-update-icon-cache") (which "true")))
5943 (add-after 'unpack 'patch-libgd-fetch
5944 (lambda* (#:key inputs #:allow-other-keys)
5945 (let ((libgd (assoc-ref inputs "libgd")))
5946 ;; Calling git is unnecessary because libgd is fetched as a
5947 ;; native input to this package.
5948 (substitute* "meson.build"
5950 (copy-recursively libgd "subprojects/libgd")
5952 (add-after 'install 'wrap-gedit
5953 (lambda* (#:key inputs outputs #:allow-other-keys)
5954 (let ((out (assoc-ref outputs "out"))
5955 (gtksourceview (assoc-ref inputs "gtksourceview"))
5956 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5957 (python-path (getenv "PYTHONPATH")))
5958 (wrap-program (string-append out "/bin/gedit")
5960 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5961 `("PYTHONPATH" ":" prefix (,python-path))
5962 ;; For language-specs.
5963 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5967 `(("dconf" ,dconf)))
5969 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5970 ("intltool" ,intltool)
5971 ("itstool" ,itstool)
5972 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5973 ("gobject-introspection" ,gobject-introspection)
5978 (url "https://gitlab.gnome.org/GNOME/libgd")
5979 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5980 (file-name (git-file-name "libgd" version))
5982 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
5983 ("pkg-config" ,pkg-config)))
5988 ("gtksourceview" ,gtksourceview)
5989 ("libpeas" ,libpeas)
5990 ("libxml2" ,libxml2)
5991 ("iso-codes" ,iso-codes)
5992 ("python-pygobject" ,python-pygobject)
5994 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5997 ("adwaita-icon-theme" ,adwaita-icon-theme)
5998 ("libsoup" ,libsoup)
5999 ("gnome-desktop" ,gnome-desktop)))
6000 (home-page "https://wiki.gnome.org/Apps/Gedit")
6001 (synopsis "GNOME text editor")
6002 (description "While aiming at simplicity and ease of use, gedit is a
6003 powerful general purpose text editor.")
6004 (license license:gpl2+)))
6006 (define-public zenity
6012 (uri (string-append "mirror://gnome/sources/zenity/"
6013 (version-major+minor version) "/"
6014 "zenity-" version ".tar.xz"))
6017 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6018 (build-system gnu-build-system)
6020 `(("gettext" ,gettext-minimal)
6021 ("itstool" ,itstool)
6022 ("pkg-config" ,pkg-config)))
6024 `(("libnotify" ,libnotify)
6025 ("webkitgtk" ,webkitgtk)))
6026 (synopsis "Display graphical dialog boxes from shell scripts")
6027 (home-page "https://www.gnome.org")
6029 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6030 to display dialog boxes from the commandline and shell scripts.")
6031 (license license:lgpl2.0+)))
6033 (define-public mutter
6039 (uri (string-append "mirror://gnome/sources/" name "/"
6040 (version-major+minor version) "/"
6041 name "-" version ".tar.xz"))
6044 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6045 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6046 ;; versions of cogl and clutter. As a result, many of the inputs,
6047 ;; propagated-inputs, and configure flags used in cogl and clutter are
6048 ;; needed here as well.
6049 (build-system meson-build-system)
6051 '(;; XXX: All mutter tests fail with the following error:
6052 ;; Settings schema 'org.gnome.mutter' is not installed
6056 ;; TODO: Enable profiler when Sysprof is packaged.
6057 (list "-Dprofiler=false"
6058 ;; Otherwise, the RUNPATH will lack the final path component.
6059 (string-append "-Dc_link_args=-Wl,-rpath="
6060 (assoc-ref %outputs "out") "/lib:"
6061 (assoc-ref %outputs "out") "/lib/mutter-5")
6063 ;; The following flags are needed for the bundled clutter
6064 (string-append "-Dxwayland_path="
6065 (assoc-ref %build-inputs "xorg-server-xwayland")
6068 ;; the remaining flags are needed for the bundled cogl
6069 (string-append "-Dopengl_libname="
6070 (assoc-ref %build-inputs "mesa")
6073 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6074 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6075 ("gobject-introspection" ,gobject-introspection)
6076 ("intltool" ,intltool)
6077 ("pkg-config" ,pkg-config)
6078 ("xorg-server" ,xorg-server-for-tests)
6080 ("autoconf" ,autoconf)
6081 ("automake" ,automake)
6082 ("libtool" ,libtool)))
6084 `(;; libmutter.pc refers to these:
6085 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6087 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6090 ("gdk-pixbuf" ,gdk-pixbuf)
6092 ("json-glib" ,json-glib)
6093 ("libinput" ,libinput)
6095 ("libxcomposite" ,libxcomposite)
6096 ("libxdamage" ,libxdamage)
6097 ("libxext" ,libxext)
6098 ("libxfixes" ,libxfixes)
6099 ("libxkbcommon" ,libxkbcommon)
6100 ("libxrandr" ,libxrandr)
6104 ("xinput" ,xinput)))
6106 `(("elogind" ,elogind)
6107 ("gnome-desktop" ,gnome-desktop)
6108 ("gnome-settings-daemon" ,gnome-settings-daemon)
6109 ("libcanberra-gtk" ,libcanberra)
6110 ("libgudev" ,libgudev)
6113 ("libwacom" ,libwacom)
6114 ("libxkbfile" ,libxkbfile)
6115 ("libxrandr" ,libxrandr)
6116 ("libxtst" ,libxtst)
6117 ("pipewire" ,pipewire)
6118 ("startup-notification" ,startup-notification)
6119 ("upower-glib" ,upower)
6120 ("xkeyboard-config" ,xkeyboard-config)
6121 ("xorg-server-xwayland" ,xorg-server-xwayland)
6122 ("zenity" ,zenity)))
6123 (synopsis "Window and compositing manager")
6124 (home-page "https://www.gnome.org")
6126 "Mutter is a window and compositing manager that displays and manages your
6127 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6128 Clutter toolkit with solid window-management logic inherited from the Metacity
6130 (license license:gpl2+)))
6132 (define-public gnome-online-accounts
6134 (name "gnome-online-accounts")
6138 (uri (string-append "mirror://gnome/sources/" name "/"
6139 (version-major+minor version) "/"
6140 name "-" version ".tar.xz"))
6143 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6144 (outputs '("out" "lib"))
6145 (build-system glib-or-gtk-build-system)
6148 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6150 (modify-phases %standard-phases
6151 (add-before 'configure 'patch-libgoa-output
6152 (lambda* (#:key outputs #:allow-other-keys)
6153 (let ((lib (assoc-ref outputs "lib")))
6154 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6156 (("@exec_prefix@") lib)
6157 (("@libdir@") (string-append lib "/lib"))
6158 (("@includedir@") (string-append lib "/include"))
6159 (("@datadir@") (string-append lib "/share")))
6160 ;; Make sure gobject-introspection knows about the output
6161 ;; too (see <https://bugs.gnu.org/36535>).
6162 (setenv "outputs" "out lib")
6165 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6166 ("gobject-introspection" ,gobject-introspection)
6167 ("intltool" ,intltool)
6168 ("pkg-config" ,pkg-config)
6170 ("xsltproc" ,libxslt)))
6172 `(("glib" ,glib) ; required by goa-1.0.pc
6173 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6175 `(("docbook-xsl" ,docbook-xsl)
6176 ("json-glib" ,json-glib)
6177 ("libsecret" ,libsecret)
6179 ("webkitgtk" ,webkitgtk)))
6180 (synopsis "Single sign-on framework for GNOME")
6181 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6183 "GNOME Online Accounts provides interfaces so that applications and
6184 libraries in GNOME can access the user's online accounts. It has providers for
6185 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6186 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6187 (license license:lgpl2.0+)))
6189 (define-public evolution-data-server
6191 (name "evolution-data-server")
6195 (uri (string-append "mirror://gnome/sources/" name "/"
6196 (version-major+minor version) "/"
6197 name "-" version ".tar.xz"))
6198 (patches (search-patches "evolution-data-server-locales.patch"
6199 "evolution-data-server-libical-compat.patch"))
6202 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6203 (build-system cmake-build-system)
6206 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6207 (runpaths (map (lambda (s)
6208 (string-append lib "/evolution-data-server/" s))
6209 '("addressbook-backends" "calendar-backends"
6210 "camel-providers" "credential-modules"
6211 "registry-modules"))))
6212 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6213 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6214 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6215 "-DENABLE_VALA_BINDINGS=ON"
6216 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6217 (string-append lib "/evolution-data-server;")
6218 (string-join runpaths ";"))
6219 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6221 (modify-phases %standard-phases
6222 (add-after 'unpack 'disable-failing-tests
6224 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6225 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6226 (delete-file-recursively "tests/book-migration")
6227 (substitute* "tests/CMakeLists.txt"
6228 (("add_subdirectory\\(book-migration\\)") ""))
6230 (add-after 'unpack 'patch-paths
6232 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6233 "tests/libedata-book/data-test-utils.c"
6234 "tests/libedata-book/test-book-cache-utils.c"
6235 "tests/libedata-cal/test-cal-cache-utils.c")
6236 (("/bin/rm") (which "rm")))
6238 (add-before 'configure 'dont-override-rpath
6240 (substitute* "CMakeLists.txt"
6241 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6242 ;; Remove it so the configure flag is respected.
6243 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6246 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6247 ("gobject-introspection" ,gobject-introspection)
6249 ("intltool" ,intltool)
6250 ("pkg-config" ,pkg-config)
6252 ("python" ,python-wrapper)))
6254 ;; These are all in the Requires field of .pc files.
6256 ("libical" ,libical)
6257 ("libsecret" ,libsecret)
6258 ("libsoup" ,libsoup)
6260 ("sqlite" ,sqlite)))
6264 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6265 ("json-glib" ,json-glib)
6266 ("libcanberra" ,libcanberra)
6267 ("libgweather" ,libgweather)
6268 ("mit-krb5" ,mit-krb5)
6269 ("openldap" ,openldap)
6270 ("webkitgtk" ,webkitgtk)))
6271 (synopsis "Store address books and calendars")
6272 (home-page "https://wiki.gnome.org/Apps/Evolution")
6274 "This package provides a unified backend for programs that work with
6275 contacts, tasks, and calendar information. It was originally developed for
6276 Evolution (hence the name), but is now used by other packages as well.")
6277 (license license:lgpl2.0)))
6279 (define-public caribou
6285 (uri (string-append "mirror://gnome/sources/" name "/"
6286 (version-major+minor version) "/"
6287 name "-" version ".tar.xz"))
6290 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6291 (build-system glib-or-gtk-build-system)
6294 (modify-phases %standard-phases
6297 (lambda* (#:key outputs #:allow-other-keys)
6298 (let ((out (assoc-ref outputs "out")))
6299 ;; Use absolute shared library path in Caribou-1.0.typelib.
6300 (substitute* "libcaribou/Makefile"
6301 (("--shared-library=libcaribou.so")
6302 (string-append "--shared-library="
6303 out "/lib/libcaribou.so")))
6305 (add-after 'install 'wrap-programs
6306 (lambda* (#:key outputs #:allow-other-keys)
6307 (let* ((out (assoc-ref outputs "out"))
6308 (python-path (getenv "PYTHONPATH"))
6309 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6313 `("PYTHONPATH" ":" prefix (,python-path))
6314 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6315 (list (string-append out "/bin/caribou-preferences")
6316 (string-append out "/libexec/antler-keyboard"))))
6319 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6320 ("gobject-introspection" ,gobject-introspection)
6321 ("intltool" ,intltool)
6322 ("pkg-config" ,pkg-config)
6325 ("xsltproc" ,libxslt)))
6327 ;; caribou-1.0.pc refers to all these.
6328 `(("libgee" ,libgee)
6329 ("libxklavier" ,libxklavier)
6330 ("libxtst" ,libxtst)
6333 `(("clutter" ,clutter)
6336 ("python-pygobject" ,python-pygobject)))
6337 (synopsis "Text entry and UI navigation application")
6338 (home-page "https://wiki.gnome.org/Projects/Caribou")
6340 "Caribou is an input assistive technology intended for switch and pointer
6342 (license license:lgpl2.1)))
6344 (define-public network-manager
6346 (name "network-manager")
6350 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6351 (version-major+minor version) "/"
6352 "NetworkManager-" version ".tar.xz"))
6353 (patches (search-patches "nm-plugin-path.patch"))
6356 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6357 (modules '((guix build utils)))
6360 (substitute* "src/devices/wwan/nm-modem-manager.c"
6361 (("systemd") "elogind"))
6363 (build-system gnu-build-system)
6365 "doc")) ; 8 MiB of gtk-doc HTML
6368 (let ((out (assoc-ref %outputs "out"))
6369 (doc (assoc-ref %outputs "doc"))
6370 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6372 (list "--with-libnm-glib" ; needed by network-manager-applet
6373 "--with-systemd-journal=no"
6374 "--with-session-tracking=elogind"
6375 "--with-suspend-resume=elogind"
6376 "--with-consolekit=no"
6377 "--with-crypto=gnutls"
6378 "--disable-config-plugin-ibft"
6380 "--localstatedir=/var"
6381 (string-append "--with-udev-dir="
6383 (string-append "--with-dbus-sys-dir="
6384 out "/etc/dbus-1/system.d")
6385 (string-append "--with-html-dir="
6386 doc "/share/gtk-doc/html")
6387 (string-append "--with-dhclient=" dhclient)))
6389 (modify-phases %standard-phases
6390 ;; This bare "ls" invocation breaks some tests.
6391 (add-after 'unpack 'patch-ls-invocation
6393 (substitute* "build-aux/ltmain.sh"
6395 (string-append "`" (which "ls") " -")))
6397 (add-before 'configure 'pre-configure
6399 ;; These tests try to test aspects of network-manager's
6400 ;; functionality within restricted containers, but they don't
6401 ;; cope with being already in the Guix build jail as that jail
6402 ;; lacks some features that they would like to proxy over (like
6404 (substitute* '("Makefile.in")
6405 (("src/platform/tests/test-address-linux") " ")
6406 (("src/platform/tests/test-cleanup-linux") " ")
6407 (("src/platform/tests/test-link-linux") " ")
6408 (("src/platform/tests/test-route-linux") " ")
6409 (("src/devices/tests/test-acd") "")
6410 (("src/devices/tests/test-arping") " ")
6411 (("src/devices/tests/test-lldp") " ")
6412 (("src/tests/test-route-manager-linux") " "))
6414 (add-after 'unpack 'delete-failing-tests
6416 ;; FIXME: These three tests fail for unknown reasons.
6417 ;; ERROR:libnm-core/tests/test-general.c:5842:
6418 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6419 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6420 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6421 ;; ERROR:libnm-core/tests/test-setting.c:907:
6422 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6423 (substitute* "Makefile.in"
6424 (("libnm-core/tests/test-general") " ")
6425 (("libnm-core/tests/test-keyfile") " ")
6426 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6428 (add-before 'check 'pre-check
6430 ;; For the missing /etc/machine-id.
6431 (setenv "DBUS_FATAL_WARNINGS" "0")
6433 ;; XXX: Regenerate some of the tests that are dependent on Python version.
6434 ;; Try removing this variable for newer versions of NetworkManager.
6435 (setenv "NM_TEST_REGENERATE" "1")
6443 "nmstatedir=/tmp/nm"
6449 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6450 ("gobject-introspection" ,gobject-introspection)
6451 ("docbook-xsl" ,docbook-xsl)
6452 ("intltool" ,intltool)
6453 ("libxslt" ,libxslt)
6454 ("libxml2" ,libxml2)
6455 ("pkg-config" ,pkg-config)
6457 ("python" ,python-wrapper)
6458 ("python-dbus" ,python-dbus)
6459 ("python-pygobject" ,python-pygobject)))
6461 `(("coreutils" ,coreutils) ; for ls
6463 ("cyrus-sasl" ,cyrus-sasl)
6464 ("dbus-glib" ,dbus-glib)
6465 ("dnsmasq" ,dnsmasq)
6468 ("iptables" ,iptables)
6469 ("isc-dhcp" ,isc-dhcp)
6470 ("jansson" ,jansson)
6471 ("libgcrypt" ,libgcrypt)
6472 ("libgudev" ,libgudev)
6475 ("libsoup" ,libsoup)
6476 ("modem-manager" ,modem-manager)
6477 ("newt" ,newt) ;for the 'nmtui' console interface
6480 ("readline" ,readline)
6481 ("util-linux" ,util-linux)
6482 ("elogind" ,elogind)))
6483 (synopsis "Network connection manager")
6484 (home-page "https://www.gnome.org/projects/NetworkManager/")
6486 "NetworkManager is a system network service that manages your network
6487 devices and connections, attempting to keep active network connectivity when
6488 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6489 devices, and provides VPN integration with a variety of different VPN
6491 (license license:gpl2+)
6492 (properties '((upstream-name . "NetworkManager")))))
6494 (define-public network-manager-openvpn
6496 (name "network-manager-openvpn")
6497 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6502 "mirror://gnome/sources/NetworkManager-openvpn/"
6503 (version-major+minor version)
6504 "/NetworkManager-openvpn-" version ".tar.xz"))
6507 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6508 (build-system gnu-build-system)
6510 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6512 (modify-phases %standard-phases
6513 (add-after 'configure 'patch-path
6514 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6515 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6517 (modprobe (string-append (assoc-ref inputs "kmod")
6519 (pretty-ovpn (string-append "\"" ovpn "\"")))
6523 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6524 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6525 (("\"/sbin/openvpn\"") pretty-ovpn)
6526 (("/sbin/modprobe") modprobe)))
6527 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6530 `(("pkg-config" ,pkg-config)
6531 ("intltool" ,intltool)))
6535 ("openvpn" ,openvpn)
6536 ("network-manager" ,network-manager)
6537 ("network-manager-applet" ,network-manager-applet) ;for libnma
6538 ("libsecret" ,libsecret)))
6539 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6540 (synopsis "OpenVPN plug-in for NetworkManager")
6542 "This extension of NetworkManager allows it to take care of connections
6543 to virtual private networks (VPNs) via OpenVPN.")
6544 (license license:gpl2+)
6545 (properties `((upstream-name . "NetworkManager-openvpn")))))
6547 (define-public network-manager-vpnc
6549 (name "network-manager-vpnc")
6554 "mirror://gnome/sources/NetworkManager-vpnc/"
6555 (version-major+minor version)
6556 "/NetworkManager-vpnc-" version ".tar.xz"))
6559 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6560 (build-system gnu-build-system)
6562 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6564 (modify-phases %standard-phases
6565 (add-after 'configure 'patch-path
6566 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6567 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6569 (modprobe (string-append (assoc-ref inputs "kmod")
6571 (pretty-ovpn (string-append "\"" vpnc "\"")))
6572 (substitute* "src/nm-vpnc-service.c"
6573 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6574 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6575 (("\"/sbin/vpnc\"") pretty-ovpn)
6576 (("/sbin/modprobe") modprobe)))
6579 `(("pkg-config" ,pkg-config)
6580 ("intltool" ,intltool)))
6585 ("network-manager" ,network-manager)
6586 ("network-manager-applet" ,network-manager-applet) ;for libnma
6587 ("libsecret" ,libsecret)))
6588 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6589 (synopsis "VPNC plug-in for NetworkManager")
6591 "Support for configuring virtual private networks based on VPNC.
6592 Compatible with Cisco VPN concentrators configured to use IPsec.")
6593 (license license:gpl2+)
6594 (properties `((upstream-name . "NetworkManager-vpnc")))))
6596 (define-public network-manager-openconnect
6598 (name "network-manager-openconnect")
6603 "mirror://gnome/sources/NetworkManager-openconnect/"
6604 (version-major+minor version)
6605 "/NetworkManager-openconnect-" version ".tar.xz"))
6608 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6609 (build-system gnu-build-system)
6611 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6613 (modify-phases %standard-phases
6614 (add-after 'configure 'patch-path
6615 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6616 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6617 "/sbin/openconnect"))
6618 (modprobe (string-append (assoc-ref inputs "kmod")
6620 (pretty-ovpn (string-append "\"" openconnect "\"")))
6621 (substitute* "src/nm-openconnect-service.c"
6622 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6623 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6624 (("/sbin/modprobe") modprobe)))
6627 `(("intltool" ,intltool)
6628 ("network-manager-applet" ,network-manager-applet) ;for libnma
6629 ("pkg-config" ,pkg-config)))
6634 ("libsecret" ,libsecret)
6635 ("libxml2" ,libxml2)
6637 ("network-manager" ,network-manager)
6638 ("openconnect" ,openconnect)))
6639 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6640 (synopsis "OpenConnect plug-in for NetworkManager")
6642 "This extension of NetworkManager allows it to take care of connections
6643 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6644 Cisco's AnyConnect SSL VPN.")
6645 (license license:gpl2+)
6646 (properties `((upstream-name . "NetworkManager-openconnect")
6648 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6649 ;; file refers to account "nm-openconnect". Specify it here
6650 ;; so that 'network-manager-service-type' creates it.
6651 (user-accounts . ("nm-openconnect"))))))
6653 (define-public mobile-broadband-provider-info
6655 (name "mobile-broadband-provider-info")
6656 (version "20190116")
6660 "mirror://gnome/sources/"
6661 "mobile-broadband-provider-info/" version "/"
6662 "mobile-broadband-provider-info-" version ".tar.xz"))
6665 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6666 (build-system gnu-build-system)
6668 `(#:tests? #f)) ; no tests
6669 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6670 (synopsis "Database of broadband connection configuration")
6671 (description "Database of broadband connection configuration.")
6672 (license license:public-domain)))
6674 (define-public network-manager-applet
6676 (name "network-manager-applet")
6680 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6681 (version-major+minor version) "/"
6682 "network-manager-applet-" version ".tar.xz"))
6685 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6686 (build-system meson-build-system)
6689 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6690 (list "-Dlibnm_gtk=true")
6693 `(("intltool" ,intltool)
6694 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6695 ("gobject-introspection" ,gobject-introspection)
6696 ("gtk-doc" ,gtk-doc)
6697 ("pkg-config" ,pkg-config)))
6699 ;; libnm-gtk.pc refers to all these.
6700 `(("dbus-glib" ,dbus-glib)
6702 ("network-manager" ,network-manager)))
6705 ("iso-codes" ,iso-codes)
6706 ("libgudev" ,libgudev)
6707 ("libnotify" ,libnotify)
6708 ("libsecret" ,libsecret)
6709 ("libselinux" ,libselinux)
6710 ("jansson" ,jansson) ; for team support
6711 ("modem-manager" ,modem-manager)
6712 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6713 (synopsis "Applet for managing network connections")
6714 (home-page "https://www.gnome.org/projects/NetworkManager/")
6716 "This package contains a systray applet for NetworkManager. It displays
6717 the available networks and allows users to easily switch between them.")
6718 (license license:gpl2+)))
6720 (define-public libxml++
6726 (uri (string-append "mirror://gnome/sources/" name "/"
6727 (version-major+minor version) "/"
6728 name "-" version ".tar.xz"))
6731 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6732 (build-system gnu-build-system)
6733 ;; libxml++-3.0.pc refers to all these.
6735 `(("libxml2" ,libxml2)
6736 ("glibmm" ,glibmm)))
6739 ("pkg-config" ,pkg-config)))
6740 (home-page "http://libxmlplusplus.sourceforge.net/")
6741 (synopsis "C++ wrapper for XML parser library libxml2")
6743 "This package provides a C++ wrapper for the XML parser library
6745 (license license:lgpl2.1+)))
6747 (define-public libxml++-2
6754 (uri (string-append "mirror://gnome/sources/" name "/"
6755 (version-major+minor version) "/"
6756 name "-" version ".tar.xz"))
6759 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6767 (uri (string-append "mirror://gnome/sources/" name "/"
6768 (version-major+minor version) "/"
6769 name "-" version ".tar.xz"))
6772 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6773 (patches (search-patches "gdm-default-session.patch"))))
6774 (build-system glib-or-gtk-build-system)
6777 `("--without-plymouth"
6778 "--disable-systemd-journal"
6780 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6781 ;; instead of having to replace it (i.e., stopping the mingetty
6782 ;; service for TTY 1 before starting GDM).
6783 "--with-initial-vt=7"
6785 ;; Use '/etc/environment' for locale settings instead of the
6786 ;; systemd-specific '/etc/locale.conf'.
6787 "--with-lang-file=/etc/environment"
6789 ,(string-append "--with-udevdir="
6790 (assoc-ref %outputs "out") "/lib/udev")
6792 "--localstatedir=/var"
6793 ,(string-append "--with-default-path="
6794 (string-join '("/run/setuid-programs"
6795 "/run/current-system/profile/bin"
6796 "/run/current-system/profile/sbin")
6798 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6799 ;; XDG_DATA_DIRS so that it finds its schemas.
6800 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6802 (modify-phases %standard-phases
6804 'configure 'pre-configure
6805 (lambda* (#:key inputs outputs #:allow-other-keys)
6806 ;; We don't have <systemd/sd-daemon.h>.
6807 (substitute* '("common/gdm-log.c"
6808 "daemon/gdm-server.c"
6809 "daemon/gdm-session-worker.c"
6810 "daemon/gdm-session-worker-job.c")
6811 (("#include <systemd/sd-daemon\\.h>") ""))
6812 ;; Use elogind for sd-login.
6813 (substitute* '("common/gdm-common.c"
6814 "daemon/gdm-local-display-factory.c"
6815 "daemon/gdm-manager.c"
6816 "libgdm/gdm-user-switching.c")
6817 (("#include <systemd/sd-login\\.h>")
6818 "#include <elogind/sd-login.h>"))
6819 ;; Check for elogind.
6820 (substitute* '("configure")
6823 ;; Look for system-installed sessions in
6824 ;; /run/current-system/profile/share.
6825 (substitute* '("libgdm/gdm-sessions.c"
6826 "daemon/gdm-session.c"
6827 "daemon/gdm-display.c"
6828 "daemon/gdm-launch-environment.c")
6830 "\"/run/current-system/profile/share/x")
6831 (("DATADIR \"/wayland")
6832 "\"/run/current-system/profile/share/wayland")
6833 (("DATADIR \"/gnome")
6834 "\"/run/current-system/profile/share/gnome"))
6835 (let ((propagate '("GDM_CUSTOM_CONF"
6839 ;; XXX: Remove this once GNOME Shell is
6840 ;; a dependency of GDM.
6842 (substitute* "daemon/gdm-session.c"
6843 (("set_up_session_environment \\(self\\);")
6844 (apply string-append
6845 "set_up_session_environment (self);\n"
6848 "gdm_session_set_environment_variable "
6849 "(self, \"" name "\","
6850 "g_getenv (\"" name "\"));\n"))
6852 ;; Find the configuration file using an environment variable.
6853 (substitute* '("common/gdm-settings.c")
6854 (("GDM_CUSTOM_CONF")
6855 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6856 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6857 " : GDM_CUSTOM_CONF)")))
6858 ;; Use service-supplied path to X.
6859 (substitute* '("daemon/gdm-server.c")
6860 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6861 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6862 (substitute* '("daemon/gdm-wayland-session.c"
6863 "daemon/gdm-x-session.c")
6864 (("\"dbus-daemon\"")
6865 "g_getenv (\"GDM_DBUS_DAEMON\")")
6867 "g_getenv (\"GDM_X_SERVER\")")
6868 (("GDMCONFDIR \"/Xsession\"")
6869 "g_getenv (\"GDM_X_SESSION\")"))
6870 ;; Use an absolute path for GNOME Session.
6871 (substitute* "daemon/gdm-launch-environment.c"
6872 (("\"gnome-session\"")
6873 (string-append "\"" (assoc-ref inputs "gnome-session")
6874 "/bin/gnome-session\"")))
6875 ;; Do not automatically select the placeholder session.
6876 (substitute* "daemon/gdm-session.c"
6877 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6878 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6879 "(g_strcmp0(search_dirs[i], \""
6880 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6882 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6883 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6884 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6886 ;; GDM requires that there be at least one desktop entry
6887 ;; file. This phase installs a hidden one that simply
6888 ;; fails. This enables users to use GDM with a
6889 ;; '~/.xsession' script with no other desktop entry files.
6890 ;; See <https://bugs.gnu.org/35068>.
6891 (add-after 'install 'install-placeholder-desktop-entry
6892 (lambda* (#:key inputs outputs #:allow-other-keys)
6893 (let* ((out (assoc-ref outputs "out"))
6894 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6895 (fail (string-append sessions "/fail.desktop")))
6897 (with-output-to-file fail
6901 '("[Desktop Entry]\n"
6903 "Type=Application\n"
6905 "Comment=This session fails immediately.\n"
6909 ;; GDM needs GNOME Session to run these applications. We link
6910 ;; their autostart files in `share/gdm/greeter/autostart'
6911 ;; because GDM explicitly tells GNOME Session to look there.
6913 ;; XXX: GNOME Shell should be linked here too, but currently
6914 ;; GNOME Shell depends on GDM.
6915 (add-after 'install 'link-autostart-files
6916 (lambda* (#:key inputs outputs #:allow-other-keys)
6917 (let* ((out (assoc-ref outputs "out"))
6918 (autostart (string-append out "/share/gdm/"
6919 "greeter/autostart"))
6920 (settings (assoc-ref inputs "gnome-settings-daemon")))
6922 (with-directory-excursion autostart
6923 (for-each (lambda (desktop)
6924 (symlink desktop (basename desktop)))
6925 (find-files (string-append settings "/etc/xdg"))))
6929 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6930 ("gobject-introspection" ,gobject-introspection)
6931 ("intltool" ,intltool)
6932 ("itstool" ,itstool)
6933 ("pkg-config" ,pkg-config)
6934 ("xmllint" ,libxml2)))
6936 `(("accountsservice" ,accountsservice)
6937 ("check" ,check) ; for testing
6938 ("elogind" ,elogind)
6939 ("gnome-session" ,gnome-session)
6940 ("gnome-settings-daemon" ,gnome-settings-daemon)
6942 ("iso-codes" ,iso-codes)
6943 ("libcanberra" ,libcanberra)
6944 ("linux-pam" ,linux-pam)))
6945 (synopsis "Display manager for GNOME")
6946 (home-page "https://wiki.gnome.org/Projects/GDM/")
6948 "GNOME Display Manager is a system service that is responsible for
6949 providing graphical log-ins and managing local and remote displays.")
6950 (license license:gpl2+)))
6952 (define-public libgtop
6958 (uri (string-append "mirror://gnome/sources/libgtop/"
6959 (version-major+minor version) "/"
6960 "libgtop-" version ".tar.xz"))
6963 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6964 (build-system gnu-build-system)
6966 `(("gobject-introspection" ,gobject-introspection)
6967 ("intltool" ,intltool)
6969 ("pkg-config" ,pkg-config)))
6971 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6972 (synopsis "Portable system access library")
6973 (home-page "https://www.gnome.org/")
6975 "LibGTop is a library to get system specific data such as CPU and memory
6976 usage and information about running processes.")
6977 (license license:gpl2+)))
6979 (define-public gnome-bluetooth
6981 (name "gnome-bluetooth")
6985 (uri (string-append "mirror://gnome/sources/" name "/"
6986 (version-major+minor version) "/"
6987 name "-" version ".tar.xz"))
6990 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
6991 (build-system meson-build-system)
6993 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
6994 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6995 ("gobject-introspection" ,gobject-introspection)
6996 ("intltool" ,intltool)
6997 ("pkg-config" ,pkg-config)
6998 ("xmllint" ,libxml2)))
7000 ;; gnome-bluetooth-1.0.pc refers to all these.
7005 ("libcanberra" ,libcanberra)
7006 ("libnotify" ,libnotify)))
7007 (synopsis "GNOME Bluetooth subsystem")
7008 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7010 "This package contains tools for managing and manipulating Bluetooth
7011 devices using the GNOME desktop.")
7012 (license license:lgpl2.1+)))
7014 (define-public gnome-control-center
7016 (name "gnome-control-center")
7020 (uri (string-append "mirror://gnome/sources/" name "/"
7021 (version-major+minor version) "/"
7022 name "-" version ".tar.xz"))
7025 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7026 (build-system meson-build-system)
7030 (list "-Dcheese=false"
7031 (string-append "-Dgnome_session_libexecdir="
7032 (assoc-ref %build-inputs "gnome-session")
7035 (modify-phases %standard-phases
7036 (add-before 'configure 'patch-paths
7037 (lambda* (#:key inputs #:allow-other-keys)
7038 (let ((libc (assoc-ref inputs "libc"))
7039 (tzdata (assoc-ref inputs "tzdata"))
7040 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7041 (nm-applet (assoc-ref inputs "network-manager-applet"))
7042 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7043 (substitute* "panels/datetime/tz.h"
7044 (("/usr/share/zoneinfo/zone.tab")
7045 (string-append tzdata "/share/zoneinfo/zone.tab")))
7046 (substitute* "tests/datetime/test-endianess.c"
7047 (("/usr/share/locale")
7048 (string-append libc "/share/locale")))
7049 (substitute* "panels/region/cc-region-panel.c"
7050 (("\"gkbd-keyboard-display")
7051 (string-append "\"" libgnomekbd
7052 "/bin/gkbd-keyboard-display")))
7053 (substitute* '("panels/network/net-device-wifi.c"
7054 "panels/network/net-device.c"
7055 "panels/network/connection-editor/net-connection-editor.c")
7056 (("\"nm-connection-editor")
7057 (string-append "\"" nm-applet
7058 "/bin/nm-connection-editor")))
7059 (substitute* '("panels/user-accounts/run-passwd.c")
7060 (("/usr/bin/passwd")
7061 "/run/setuid-programs/passwd"))
7062 (substitute* "panels/info/cc-info-overview-panel.c"
7063 (("DATADIR \"/gnome/gnome-version.xml\"")
7064 (string-append "\"" gnome-desktop
7065 "/share/gnome/gnome-version.xml\"")))
7067 (add-after 'unpack 'skip-gtk-update-icon-cache
7068 ;; Don't create 'icon-theme.cache'.
7070 (substitute* "build-aux/meson/meson_post_install.py"
7071 (("gtk-update-icon-cache") (which "true")))
7074 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7075 ("intltool" ,intltool)
7076 ("pkg-config" ,pkg-config)
7077 ("xsltproc" ,libxslt)
7079 ("hicolor-icon-theme" ,hicolor-icon-theme)
7080 ("python-dbusmock" ,python-dbusmock)
7081 ("xorg-server" ,xorg-server-for-tests)))
7083 `(("accountsservice" ,accountsservice)
7084 ("clutter-gtk" ,clutter-gtk)
7085 ("colord-gtk" ,colord-gtk)
7088 ("docbook-xsl" ,docbook-xsl)
7089 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7090 ("gnome-bluetooth" ,gnome-bluetooth)
7091 ("gnome-desktop" ,gnome-desktop)
7092 ("gnome-online-accounts" ,gnome-online-accounts)
7093 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7094 ("gnome-session" ,gnome-session)
7095 ("gnome-settings-daemon" ,gnome-settings-daemon)
7099 ("libcanberra" ,libcanberra)
7100 ("libgnomekbd" ,libgnomekbd)
7101 ("libgudev" ,libgudev)
7102 ("libgtop" ,libgtop)
7103 ("libpwquality" ,libpwquality)
7104 ("libsecret" ,libsecret)
7105 ("libsoup" ,libsoup)
7106 ("libxml2" ,libxml2)
7107 ("libwacom" ,libwacom)
7109 ("mit-krb5" ,mit-krb5)
7110 ("modem-manager" ,modem-manager)
7111 ("network-manager-applet" ,network-manager-applet)
7113 ("pulseaudio" ,pulseaudio)
7114 ("smbclient" ,samba)
7117 ("upower" ,upower)))
7118 (synopsis "Utilities to configure the GNOME desktop")
7119 (home-page "https://www.gnome.org/")
7121 "This package contains configuration applets for the GNOME desktop,
7122 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7123 properties, sound setup, desktop theme and background, user interface
7124 properties, screen resolution, and other GNOME parameters.")
7125 (license license:gpl2+)))
7127 (define-public gnome-shell
7129 (name "gnome-shell")
7133 (uri (string-append "mirror://gnome/sources/" name "/"
7134 (version-major+minor version) "/"
7135 name "-" version ".tar.xz"))
7138 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7139 (patches (search-patches "gnome-shell-theme.patch"
7140 "gnome-shell-disable-test.patch"))
7141 (modules '((guix build utils)))
7144 ;; Copy images for use on the GDM log-in screen.
7145 (copy-file #$(file-append %artwork-repository
7146 "/slim/0.x/background.png")
7147 "data/theme/guix-background.png")
7148 (copy-file #$(file-append %artwork-repository
7149 "/logo/Guix-horizontal-white.svg")
7150 "data/theme/guix-logo.svg")
7152 (build-system meson-build-system)
7155 #:disallowed-references ((,glib "bin")
7159 (list "-Dsystemd=false"
7160 ;; Otherwise, the RUNPATH will lack the final path component.
7161 (string-append "-Dc_link_args=-Wl,-rpath="
7162 (assoc-ref %outputs "out")
7163 "/lib/gnome-shell"))
7165 #:modules ((guix build meson-build-system)
7170 (modify-phases %standard-phases
7171 (add-after 'unpack 'fix-keysdir
7172 (lambda* (#:key outputs #:allow-other-keys)
7173 (let* ((out (assoc-ref outputs "out"))
7174 (keysdir (string-append
7175 out "/share/gnome-control-center/keybindings")))
7176 (substitute* "meson.build"
7178 (string-append "keysdir = '" keysdir "'\n")))
7180 (add-before 'configure 'convert-logo-to-png
7181 (lambda* (#:key inputs #:allow-other-keys)
7182 ;; Convert the logo from SVG to PNG.
7183 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7184 "data/theme/guix-logo.svg")))
7185 (add-before 'configure 'record-absolute-file-names
7186 (lambda* (#:key inputs #:allow-other-keys)
7187 (substitute* "js/misc/ibusManager.js"
7189 (string-append "'" (assoc-ref inputs "ibus")
7190 "/bin/ibus-daemon'")))
7191 (substitute* "js/ui/status/keyboard.js"
7192 (("'gkbd-keyboard-display'")
7193 (string-append "'" (assoc-ref inputs "libgnomekbd")
7194 "/bin/gkbd-keyboard-display'")))
7196 (add-before 'check 'pre-check
7197 (lambda* (#:key inputs #:allow-other-keys)
7198 ;; Tests require a running X server.
7199 (system "Xvfb :1 &")
7200 (setenv "DISPLAY" ":1")
7202 (add-after 'install 'wrap-programs
7203 (lambda* (#:key inputs outputs #:allow-other-keys)
7204 (let ((out (assoc-ref outputs "out"))
7205 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7206 (python-path (getenv "PYTHONPATH")))
7207 (wrap-program (string-append out "/bin/gnome-shell")
7208 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7209 ;; FIXME: gnome-shell loads these libraries with unqualified
7210 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7211 ;; alternative might be to patch gnome-shell.
7212 `("LD_LIBRARY_PATH" ":" prefix
7214 (string-append (assoc-ref inputs pkg) "/lib"))
7216 "gnome-bluetooth" "librsvg" "libgweather"))))
7219 (wrap-program (string-append out "/bin/" prog)
7220 `("PYTHONPATH" ":" prefix (,python-path))
7221 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7222 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7224 (replace 'glib-or-gtk-wrap
7225 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7226 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7227 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7228 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7229 ;; phase. Fix that since we don't need these.
7230 (wrap #:inputs (fold alist-delete inputs
7231 '("inkscape" "intltool" "glib:bin"))
7232 #:outputs outputs)))))))
7234 `(("asciidoc" ,asciidoc)
7235 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7236 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7237 ("gobject-introspection" ,gobject-introspection)
7238 ("inkscape" ,inkscape)
7239 ("intltool" ,intltool)
7240 ("pkg-config" ,pkg-config)
7242 ("ruby-sass" ,ruby-sass)
7244 ("xsltproc" ,libxslt)
7246 ("xorg-server" ,xorg-server-for-tests)))
7248 `(("accountsservice" ,accountsservice)
7249 ("caribou" ,caribou)
7250 ("docbook-xsl" ,docbook-xsl)
7251 ("evolution-data-server" ,evolution-data-server)
7254 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7256 ("gnome-autoar" ,gnome-autoar)
7257 ("gnome-bluetooth" ,gnome-bluetooth)
7258 ("gnome-desktop" ,gnome-desktop)
7259 ("gnome-settings-daemon" ,gnome-settings-daemon)
7260 ("gst-plugins-base" ,gst-plugins-base)
7262 ("libcanberra" ,libcanberra)
7263 ("libcroco" ,libcroco)
7264 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7265 ("libgweather" ,libgweather)
7266 ("libsoup" ,libsoup)
7267 ("mesa-headers" ,mesa-headers)
7269 ("network-manager-applet" ,network-manager-applet)
7271 ("pulseaudio" ,pulseaudio)
7272 ("python-pygobject" ,python-pygobject)
7273 ("startup-notification" ,startup-notification)
7274 ("telepathy-logger" ,telepathy-logger)
7276 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7277 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7278 ("librsvg" ,librsvg)
7279 ("geoclue" ,geoclue)))
7280 (synopsis "Desktop shell for GNOME")
7281 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7283 "GNOME Shell provides core user interface functions for the GNOME desktop,
7284 like switching to windows and launching applications.")
7285 (license license:gpl2+)))
7287 (define-public gtk-vnc
7294 (uri (string-append "mirror://gnome/sources/" name "/"
7295 (version-major+minor version) "/"
7296 name "-" version ".tar.xz"))
7299 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7300 (build-system gnu-build-system)
7302 '(#:configure-flags '("--with-gtk=3.0")))
7304 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7306 `(("cyrus-sasl" ,cyrus-sasl)
7308 ("libgcrypt" ,libgcrypt)
7309 ("pulseaudio" ,pulseaudio)))
7311 `(("glib:bin" ,glib "bin")
7312 ("gobject-introspection" ,gobject-introspection)
7313 ("intltool" ,intltool)
7314 ("pkg-config" ,pkg-config)
7315 ("python-wrapper" ,python-wrapper)
7317 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7318 (synopsis "VNC viewer widget for GTK+")
7320 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7321 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7322 GTK-VNC implements client side RFB protocol and authentication extensions such
7323 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7324 (license license:lgpl2.1+)))
7326 (define-public gnome-autoar
7328 (name "gnome-autoar")
7332 (uri (string-append "mirror://gnome/sources/" name "/"
7333 (version-major+minor version) "/"
7334 name "-" version ".tar.xz"))
7337 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7338 (build-system glib-or-gtk-build-system)
7340 `(("gobject-introspection" ,gobject-introspection)
7341 ("pkg-config" ,pkg-config)))
7343 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7346 (synopsis "Archives integration support for GNOME")
7347 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7349 "GNOME Autoar is a library which makes creating and extracting archives
7350 easy, safe, and automatic.")
7351 (license license:lgpl2.1+)))
7353 (define-public tracker
7359 (uri (string-append "mirror://gnome/sources/tracker/"
7360 (version-major+minor version) "/"
7361 "tracker-" version ".tar.xz"))
7364 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7365 (build-system meson-build-system)
7369 ;; Otherwise, the RUNPATH will lack the final path component.
7370 (list (string-append "-Dc_link_args=-Wl,-rpath="
7371 (assoc-ref %outputs "out") "/lib:"
7372 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7374 (modify-phases %standard-phases
7375 (add-before 'check 'pre-check
7377 ;; Some tests expect to write to $HOME.
7378 (setenv "HOME" "/tmp")
7381 `(("glib:bin" ,glib "bin")
7382 ("gobject-introspection" ,gobject-introspection)
7383 ("python-pygobject" ,python-pygobject)
7384 ("intltool" ,intltool)
7385 ("pkg-config" ,pkg-config)
7390 ("libxml2" ,libxml2)
7391 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7392 ("json-glib" ,json-glib)
7393 ("libsoup" ,libsoup)))
7394 (synopsis "Metadata database, indexer and search tool")
7395 (home-page "https://wiki.gnome.org/Projects/Tracker")
7397 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7399 It is a middleware component aimed at desktop application developers who want
7400 their apps to browse and search user content. It's not designed to be used
7401 directly by desktop users, but it provides a commandline tool named
7402 @command{tracker} for the adventurous.
7404 Tracker allows your application to instantly perform full-text searches across
7405 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7406 example. This is achieved by indexing the user's home directory in the
7409 Tracker also allows your application to query and list content that the user
7410 has stored. For example, GNOME Music displays all the music files that are
7411 found by Tracker. This means that GNOME Music doesn't need to maintain a
7412 database of its own.
7414 If you need to go beyond simple searches, Tracker is also a linked data
7415 endpoint and it understands SPARQL. ")
7416 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7417 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7418 ;; libstemmer is bsd-3 and the rest is gpl2+.
7419 (license (list license:gpl2+
7421 license:lgpl2.1+))))
7423 (define-public tracker-miners
7425 (name "tracker-miners")
7429 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7430 (version-major+minor version)
7431 "/tracker-miners-" version ".tar.xz"))
7434 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7435 (build-system meson-build-system)
7439 (list "-Dminer_rss=false" ; libgrss is required.
7440 ;; Ensure the RUNPATH contains all installed library locations.
7441 (string-append "-Dc_link_args=-Wl,-rpath="
7442 (assoc-ref %outputs "out")
7443 "/lib/tracker-miners-2.0")
7444 ;; TODO: Enable functional tests. Currently, the following error
7446 ;; Exception: The functional tests require DConf to be the default
7447 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7448 "-Dfunctional_tests=false")))
7451 ("intltool" ,intltool)
7452 ("glib:bin" ,glib "bin")
7453 ("gobject-introspection" ,gobject-introspection)
7454 ("pkg-config" ,pkg-config)
7455 ("python-pygobject" ,python-pygobject)))
7457 `(("exempi" ,exempi)
7462 ("gstreamer" ,gstreamer)
7465 ("libexif" ,libexif)
7467 ("libgxps" ,libgxps)
7468 ("libiptcdata" ,libiptcdata)
7469 ("libjpeg" ,libjpeg-turbo)
7470 ("libosinfo" ,libosinfo)
7472 ("libseccomp" ,libseccomp)
7473 ("libtiff" ,libtiff)
7474 ("libvorbis" ,libvorbis)
7475 ("libxml2" ,libxml2)
7476 ("poppler" ,poppler)
7478 ("totem-pl-parser" ,totem-pl-parser)
7479 ("tracker" ,tracker)
7482 (synopsis "Metadata database, indexer and search tool")
7483 (home-page "https://wiki.gnome.org/Projects/Tracker")
7485 "Tracker is an advanced framework for first class objects with associated
7486 metadata and tags. It provides a one stop solution for all metadata, tags,
7487 shared object databases, search tools and indexing.")
7488 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7489 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7490 (license (list license:gpl2+
7492 license:lgpl2.0+))))
7494 (define-public nautilus
7500 (uri (string-append "mirror://gnome/sources/" name "/"
7501 (version-major+minor version) "/"
7502 name "-" version ".tar.xz"))
7505 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7506 (build-system meson-build-system)
7510 (modify-phases %standard-phases
7511 (add-after 'unpack 'skip-gtk-update-icon-cache
7512 ;; Don't create 'icon-theme.cache'.
7514 (substitute* "build-aux/meson/postinstall.py"
7515 (("gtk-update-icon-cache") "true"))
7517 ;; XXX: FAIL: check-nautilus
7518 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7521 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7522 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7523 ("gobject-introspection" ,gobject-introspection)
7524 ("intltool" ,intltool)
7525 ("pkg-config" ,pkg-config)))
7531 ("gnome-desktop" ,gnome-desktop)
7532 ("gnome-autoar" ,gnome-autoar)
7533 ("gst-plugins-base" ,gst-plugins-base)
7534 ("libseccomp" ,libseccomp)
7535 ("libselinux" ,libselinux)
7536 ("tracker" ,tracker)
7537 ("tracker-miners" ,tracker-miners)
7538 ;; XXX: gtk+ is required by libnautilus-extension.pc
7540 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7542 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7544 ("libexif" ,libexif)
7545 ("libxml2" ,libxml2)))
7546 (synopsis "File manager for GNOME")
7547 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7549 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7550 design and behaviour, giving the user a simple way to navigate and manage its
7552 (license license:gpl2+)))
7554 (define-public baobab
7561 "mirror://gnome/sources/" name "/"
7562 (version-major+minor version) "/"
7563 name "-" version ".tar.xz"))
7566 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7567 (build-system meson-build-system)
7569 '(#:glib-or-gtk? #t))
7571 `(("intltool" ,intltool)
7572 ("pkg-config" ,pkg-config)
7573 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7574 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7575 ("itstool" ,itstool)
7576 ("xmllint" ,libxml2)
7577 ("glib" ,glib "bin")
7581 (synopsis "Disk usage analyzer for GNOME")
7583 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7584 usage in the GNOME desktop environment. It can easily scan device volumes or
7585 a specific user-requested directory branch (local or remote). Once the scan
7586 is complete it provides a graphical representation of each selected folder.")
7587 (home-page "https://wiki.gnome.org/Apps/Baobab")
7588 (license license:gpl2+)))
7590 (define-public gnome-backgrounds
7592 (name "gnome-backgrounds")
7597 (uri (string-append "mirror://gnome/sources/" name "/"
7598 (version-major+minor version) "/"
7599 name "-" version ".tar.xz"))
7602 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7603 (build-system meson-build-system)
7605 `(("intltool" ,intltool)))
7606 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7607 (synopsis "Background images for the GNOME desktop")
7609 "GNOME backgrounds package contains a collection of graphics files which
7610 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7611 the package creates the proper framework and directory structure so that you
7612 can add your own files to the collection.")
7613 (license (list license:gpl2+
7616 license:cc-by-sa3.0))))
7618 (define-public gnome-screenshot
7620 (name "gnome-screenshot")
7625 (uri (string-append "mirror://gnome/sources/" name "/"
7626 (version-major+minor version) "/"
7627 name "-" version ".tar.xz"))
7630 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7631 (build-system meson-build-system)
7634 (modify-phases %standard-phases
7635 (add-after 'unpack 'skip-gtk-update-icon-cache
7636 ;; Don't create 'icon-theme.cache'.
7638 (substitute* "build-aux/postinstall.py"
7639 (("gtk-update-icon-cache") "true"))
7642 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7643 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7644 ("intltool" ,intltool)
7645 ("appstream-glib" ,appstream-glib)
7646 ("pkg-config" ,pkg-config)))
7649 ("libcanberra" ,libcanberra)
7651 ("libxext" ,libxext)))
7652 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7653 (synopsis "Take pictures of your screen")
7655 "GNOME Screenshot is a utility used for taking screenshots of the entire
7656 screen, a window or a user defined area of the screen, with optional
7657 beautifying border effects.")
7658 (license license:gpl2+)))
7660 (define-public dconf-editor
7662 (name "dconf-editor")
7667 (uri (string-append "mirror://gnome/sources/" name "/"
7668 (version-major+minor version) "/"
7669 name "-" version ".tar.xz"))
7672 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7673 (build-system meson-build-system)
7675 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7676 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7677 ("intltool" ,intltool)
7678 ("pkg-config" ,pkg-config)
7683 ("libxml2" ,libxml2)))
7684 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7685 (synopsis "Graphical editor for GNOME's dconf configuration system")
7687 "Dconf-editor is a graphical tool for browsing and editing the dconf
7688 configuration system for GNOME. It allows users to configure desktop
7689 software that do not provide their own configuration interface.")
7690 (license license:lgpl2.1+)))
7692 (define-public gnome-default-applications
7694 (name "gnome-default-applications")
7696 (build-system trivial-build-system)
7699 `(("nautilus" ,nautilus)
7700 ("evince" ,evince)))
7702 `(#:modules ((guix build utils))
7705 (use-modules (guix build utils))
7706 (let* ((out (assoc-ref %outputs "out"))
7707 (apps (string-append out "/share/applications")))
7709 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7711 (format port "[Default Applications]\n")
7712 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7713 (format port "application/pdf=evince.desktop\n")
7714 (format port "application/postscript=evince.desktop\n")))
7716 (synopsis "Default MIME type associations for the GNOME desktop")
7718 "Given many installed packages which might handle a given MIME type, a
7719 user running the GNOME desktop probably has some preferences: for example,
7720 that folders be opened by default by the Nautilus file manager, not the Baobab
7721 disk usage analyzer. This package establishes that set of default MIME type
7722 associations for GNOME.")
7723 (license license:gpl3+)
7726 (define-public libgovirt
7732 (uri (string-append "mirror://gnome/sources/" name "/"
7733 (version-major+minor version) "/"
7734 name "-" version ".tar.xz"))
7737 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7738 (build-system glib-or-gtk-build-system)
7740 `(("gettext" ,gettext-minimal)
7741 ("glib:bin" ,glib "bin")
7742 ("gobject-introspection" ,gobject-introspection)
7743 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7744 ("gtk+:bin" ,gtk+ "bin")
7745 ("pkg-config" ,pkg-config)))
7747 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7749 (synopsis "GoVirt Library")
7750 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7751 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7752 (license license:gpl2+)))
7754 (define-public gnome-weather
7756 (name "gnome-weather")
7760 (uri (string-append "mirror://gnome/sources/" name "/"
7761 (version-major+minor version) "/"
7762 name "-" version ".tar.xz"))
7765 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7766 (build-system meson-build-system)
7768 `(("gettext" ,gettext-minimal)
7769 ("glib:bin" ,glib "bin")
7770 ("gobject-introspection" ,gobject-introspection)
7771 ("gtk+:bin" ,gtk+ "bin")
7772 ("pkg-config" ,pkg-config)))
7774 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7775 ("appstream-glib" ,appstream-glib)
7776 ("geoclue" ,geoclue)
7777 ("gdk-pixbuf" ,gdk-pixbuf)
7779 ("gnome-desktop" ,gnome-desktop)
7780 ("libgweather" ,libgweather)))
7784 (modify-phases %standard-phases
7785 (add-after 'install 'fix-desktop-file
7786 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7787 ;; See https://issues.guix.gnu.org/issue/39324.
7788 (lambda* (#:key outputs #:allow-other-keys)
7789 (let* ((out (assoc-ref outputs "out"))
7790 (applications (string-append out "/share/applications")))
7791 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7792 (("Exec=.*") "Exec=gnome-weather\n"))
7794 (add-after 'install 'wrap
7795 (lambda* (#:key inputs outputs #:allow-other-keys)
7796 (let ((out (assoc-ref outputs "out"))
7797 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7798 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
7799 (wrap-program (string-append out "/bin/gnome-weather")
7800 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
7802 (synopsis "Weather monitoring for GNOME desktop")
7803 (description "GNOME Weather is a small application that allows you to
7804 monitor the current weather conditions for your city, or anywhere in the
7806 (home-page "https://wiki.gnome.org/Apps/Weather")
7807 (license license:gpl2+)))
7809 (define-public gnome
7812 (version (package-version gnome-shell))
7814 (build-system trivial-build-system)
7815 (arguments '(#:builder (begin (mkdir %output) #t)))
7817 ;; TODO: Add or remove packages according to:
7818 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7820 ;; GNOME-Core-OS-Services
7821 ("accountsservice" ,accountsservice)
7822 ("network-manager" ,network-manager)
7823 ("packagekit" ,packagekit)
7826 ("adwaita-icon-theme" ,adwaita-icon-theme)
7828 ("glib-networking" ,glib-networking)
7829 ("gnome-backgrounds" ,gnome-backgrounds)
7830 ("gnome-bluetooth" ,gnome-bluetooth)
7831 ("gnome-color-manager" ,gnome-color-manager)
7832 ("gnome-control-center" ,gnome-control-center)
7833 ("gnome-desktop" ,gnome-desktop)
7834 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7835 ("gnome-initial-setup" ,gnome-initial-setup)
7836 ("gnome-keyring" ,gnome-keyring)
7837 ("gnome-menus" ,gnome-menus)
7838 ("gnome-session" ,gnome-session)
7839 ("gnome-settings-daemon" ,gnome-settings-daemon)
7840 ("gnome-shell-extensions" ,gnome-shell-extensions)
7841 ("gnome-shell" ,gnome-shell)
7842 ("gnome-themes-extra" ,gnome-themes-extra)
7843 ("gnome-user-docs" ,gnome-user-docs)
7844 ("gnome-user-share" ,gnome-user-share)
7845 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7851 ;; GNOME-Core-Utilities
7854 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
7855 ;; only works on x86_64, so exclude it on other architectures.
7856 ,@(if (string-prefix? "x86_64" (%current-system))
7859 ("epiphany" ,epiphany)
7861 ("file-roller" ,file-roller)
7863 ; TODO: ("gnome-boxes" ,gnome-boxes)
7864 ("gnome-calculator" ,gnome-calculator)
7865 ("gnome-calendar" ,gnome-calendar)
7866 ("gnome-characters" ,gnome-characters)
7867 ("gnome-clocks" ,gnome-clocks)
7868 ("gnome-contacts" ,gnome-contacts)
7869 ("gnome-disk-utility" ,gnome-disk-utility)
7870 ("gnome-font-viewer" ,gnome-font-viewer)
7871 ("gnome-maps" ,gnome-maps)
7872 ; TODO: ("gnome-music" ,gnome-music)
7873 ; TODO: ("gnome-photos" ,gnome-photos)
7874 ("gnome-screenshot" ,gnome-screenshot)
7875 ("gnome-system-monitor" ,gnome-system-monitor)
7876 ("gnome-terminal" ,gnome-terminal)
7877 ("gnome-weather" ,gnome-weather)
7878 ("nautilus" ,nautilus)
7879 ("simple-scan" ,simple-scan)
7883 ("hicolor-icon-theme" ,hicolor-icon-theme)
7884 ("gnome-online-accounts" ,gnome-online-accounts)
7886 ;; Packages not part of GNOME proper but that are needed for a good
7887 ;; experience. See <https://bugs.gnu.org/39646>.
7888 ;; XXX: Find out exactly which ones are needed and why.
7889 ("font-cantarell" ,font-cantarell)
7890 ("font-dejavu" ,font-dejavu)
7891 ("at-spi2-core" ,at-spi2-core)
7894 ("desktop-file-utils" ,desktop-file-utils)
7895 ("gnome-default-applications" ,gnome-default-applications)
7896 ("gnome-themes-standard" ,gnome-themes-standard)
7897 ("gst-plugins-base" ,gst-plugins-base)
7898 ("gst-plugins-good" ,gst-plugins-good)
7899 ("gucharmap" ,gucharmap)
7900 ("pinentry-gnome3" ,pinentry-gnome3)
7901 ("pulseaudio" ,pulseaudio)
7902 ("shared-mime-info" ,shared-mime-info)
7903 ("system-config-printer" ,system-config-printer)
7904 ("xdg-user-dirs" ,xdg-user-dirs)
7906 ("zenity" ,zenity)))
7907 (synopsis "The GNU desktop environment")
7908 (home-page "https://www.gnome.org/")
7910 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7911 applications for browsing the web, editing text and images, creating
7912 documents and diagrams, playing media, scanning, and much more.")
7913 (license license:gpl2+)))
7915 (define-public byzanz
7916 ;; The last stable release of Byzanz was in 2011, but there have been many
7917 ;; useful commits made to the Byzanz repository since then that it would be
7918 ;; silly to use such an old release.
7919 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7922 (version (string-append "0.2-1." (string-take commit 7)))
7926 (url "https://git.gnome.org/browse/byzanz")
7928 (file-name (string-append name "-" version "-checkout"))
7931 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7932 (build-system glib-or-gtk-build-system)
7935 (modify-phases %standard-phases
7936 (add-before 'bootstrap 'build-without-Werror
7938 ;; The build system cleverly detects that we're not building from
7939 ;; a release tarball and turns on -Werror for GCC.
7940 ;; Unsurprisingly, there is a warning during compilation that
7941 ;; causes the build to fail unnecessarily, so we remove the flag.
7942 (substitute* '("configure.ac")
7946 `(("autoconf" ,autoconf)
7947 ("automake" ,automake)
7948 ("gnome-common" ,gnome-common)
7949 ("intltool" ,intltool)
7950 ("libtool" ,libtool)
7951 ("pkg-config" ,pkg-config)
7955 ("gstreamer" ,gstreamer)
7956 ("gst-plugins-base" ,gst-plugins-base)
7958 (synopsis "Desktop recording program")
7959 (description "Byzanz is a simple desktop recording program with a
7960 command-line interface. It can record part or all of an X display for a
7961 specified duration and save it as a GIF encoded animated image file.")
7962 (home-page "https://git.gnome.org/browse/byzanz")
7963 (license license:gpl2+))))
7965 (define-public gsound
7971 (uri (string-append "mirror://gnome/sources/" name "/"
7972 (version-major+minor version) "/"
7973 name "-" version ".tar.xz"))
7976 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7977 (build-system glib-or-gtk-build-system)
7979 `(("pkg-config" ,pkg-config)
7980 ("gobject-introspection" ,gobject-introspection)
7984 ("libcanberra" ,libcanberra)))
7985 (home-page "https://wiki.gnome.org/Projects/GSound")
7986 (synopsis "GObject wrapper for libcanberra")
7988 "GSound is a small library for playing system sounds. It's designed to be
7989 used via GObject Introspection, and is a thin wrapper around the libcanberra C
7991 (license license:lgpl2.1+)))
7993 (define-public libzapojit
7999 (uri (string-append "mirror://gnome/sources/" name "/"
8000 (version-major+minor version) "/"
8001 name "-" version ".tar.xz"))
8004 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8005 (build-system gnu-build-system)
8007 `(("gobject-introspection" ,gobject-introspection)
8008 ("intltool" ,intltool)
8009 ("pkg-config" ,pkg-config)))
8011 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8012 ("json-glib" ,json-glib)
8014 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8015 (synopsis "Library for accessing SkyDrive and Hotmail")
8017 "Libzapojit is a GLib-based library for accessing online service APIs of
8018 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8019 (license license:lgpl2.1+)))
8021 (define-public gnome-clocks
8023 (name "gnome-clocks")
8027 (uri (string-append "mirror://gnome/sources/" name "/"
8028 (version-major+minor version) "/"
8029 name "-" version ".tar.xz"))
8032 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8033 (build-system meson-build-system)
8037 (modify-phases %standard-phases
8038 (add-after 'unpack 'skip-gtk-update-icon-cache
8039 ;; Don't create 'icon-theme.cache'.
8041 (substitute* "build-aux/post-install.py"
8042 (("gtk-update-icon-cache") "true"))
8046 ("pkg-config" ,pkg-config)
8047 ("glib" ,glib "bin") ; for glib-compile-resources
8048 ("desktop-file-utils" ,desktop-file-utils)
8049 ("gettext" ,gettext-minimal)
8050 ("itstool" ,itstool)))
8055 ("geoclue" ,geoclue)
8056 ("geocode-glib" ,geocode-glib)
8057 ("libgweather" ,libgweather)
8058 ("gnome-desktop" ,gnome-desktop)))
8059 (home-page "https://wiki.gnome.org/Apps/Clocks")
8060 (synopsis "GNOME's clock application")
8062 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8063 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8064 (license license:gpl3+)))
8066 (define-public gnome-calendar
8068 (name "gnome-calendar")
8072 (uri (string-append "mirror://gnome/sources/" name "/"
8073 (version-major+minor version) "/"
8074 name "-" version ".tar.xz"))
8077 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8078 (build-system meson-build-system)
8081 ;; gnome-calendar has to be installed before the tests can be run
8082 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8085 (modify-phases %standard-phases
8086 (add-after 'unpack 'skip-gtk-update-icon-cache
8087 ;; Don't create 'icon-theme.cache'.
8089 (substitute* "build-aux/meson/meson_post_install.py"
8090 (("gtk-update-icon-cache") "true"))
8093 `(("gettext" ,gettext-minimal)
8094 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8095 ("pkg-config" ,pkg-config)))
8097 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8098 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8099 ("libdazzle" ,libdazzle)
8100 ("libedataserverui" ,evolution-data-server)
8101 ("libgweather" ,libgweather)
8102 ("geoclue" ,geoclue)))
8104 `(("evolution-data-server" ,evolution-data-server)))
8105 (home-page "https://wiki.gnome.org/Apps/Calendar")
8106 (synopsis "GNOME's calendar application")
8108 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8109 desktop. It supports multiple calendars, month, week and year view.")
8110 (license license:gpl3+)))
8112 (define-public gnome-todo
8118 (uri (string-append "mirror://gnome/sources/" name "/"
8119 (version-major+minor version) "/"
8120 name "-" version ".tar.xz"))
8123 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8125 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8126 (build-system meson-build-system)
8129 #:phases (modify-phases %standard-phases
8131 'install 'wrap-gnome-todo
8132 (lambda* (#:key inputs outputs #:allow-other-keys)
8133 (let ((out (assoc-ref outputs "out"))
8134 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8135 (python-path (getenv "PYTHONPATH")))
8136 (wrap-program (string-append out "/bin/gnome-todo")
8137 ;; XXX: gi plugins are broken.
8138 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8140 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8141 `("PYTHONPATH" ":" prefix (,python-path))))
8144 `(("gettext" ,gettext-minimal)
8145 ("gobject-introspection" ,gobject-introspection)
8146 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8147 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8148 ("pkg-config" ,pkg-config)))
8150 `(("rest" ,rest) ; For Todoist plugin
8151 ("json-glib" ,json-glib) ; For Todoist plugin
8152 ("libedataserverui" ,evolution-data-server)
8153 ("libical" ,libical)
8154 ("libpeas" ,libpeas)
8155 ("python-pygobject" ,python-pygobject)
8156 ("evolution-data-server" ,evolution-data-server)
8157 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8158 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8159 (home-page "https://wiki.gnome.org/Apps/Todo")
8160 (synopsis "GNOME's ToDo Application")
8162 "GNOME To Do is a simplistic personal task manager designed to perfectly
8163 fit the GNOME desktop.")
8164 (license license:gpl3+)))
8166 (define-public gnome-dictionary
8168 (name "gnome-dictionary")
8172 (uri (string-append "mirror://gnome/sources/" name "/"
8173 (version-major+minor version) "/"
8174 name "-" version ".tar.xz"))
8177 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8178 (build-system meson-build-system)
8179 (arguments '(#:glib-or-gtk? #t
8180 #:phases (modify-phases %standard-phases
8181 (add-after 'unpack 'patch-install-script
8183 ;; This script attempts to compile glib schemas
8184 ;; and create an empty MIME database. We do
8185 ;; that elsewhere, so prevent it from running.
8186 (substitute* "build-aux/post-install.sh"
8187 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8190 `(("glib:bin" ,glib "bin")
8191 ("gobject-introspection" ,gobject-introspection)
8192 ("intltool" ,intltool)
8193 ("itstool" ,itstool)
8194 ("pkg-config" ,pkg-config)
8195 ("xmllint" ,libxml2)))
8197 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8199 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8200 (synopsis "Look up words in dictionary sources")
8202 "GNOME Dictionary can look for the definition or translation of a word in
8203 existing databases over the internet.")
8204 (license license:gpl3+)))
8206 (define-public gnome-tweaks
8208 (name "gnome-tweaks")
8212 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8213 (version-major+minor version) "/"
8214 "gnome-tweaks-" version ".tar.xz"))
8216 (list (search-patch "gnome-tweaks-search-paths.patch")))
8219 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8220 (build-system meson-build-system)
8223 #:configure-flags '("-Dlocalstatedir=/tmp"
8224 "-Dsysconfdir=/tmp")
8225 #:imported-modules ((guix build python-build-system)
8226 ,@%meson-build-system-modules)
8228 (modify-phases %standard-phases
8229 (add-after 'unpack 'skip-gtk-update-icon-cache
8230 ;; Don't create 'icon-theme.cache'.
8232 (substitute* "meson-postinstall.py"
8233 (("gtk-update-icon-cache") "true"))
8235 (add-after 'install 'wrap
8236 (@@ (guix build python-build-system) wrap))
8237 (add-after 'wrap 'wrap-gi-typelib
8238 (lambda* (#:key inputs outputs #:allow-other-keys)
8239 (let ((out (assoc-ref outputs "out"))
8240 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8241 (wrap-program (string-append out "/bin/gnome-tweaks")
8242 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8245 `(("intltool" ,intltool)
8246 ("pkg-config" ,pkg-config)))
8248 `(("gnome-desktop" ,gnome-desktop)
8250 ("gobject-introspection" ,gobject-introspection)
8251 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8252 ("libhandy" ,libhandy)
8253 ("libnotify" ,libnotify)
8254 ("libsoup" ,libsoup)
8255 ("nautilus" ,nautilus)
8257 ("python-pygobject" ,python-pygobject)))
8258 (synopsis "Customize advanced GNOME 3 options")
8259 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8261 "GNOME Tweaks allows adjusting advanced configuration settings in
8262 GNOME 3. This includes things like the fonts used in user interface elements,
8263 alternative user interface themes, changes in window management behavior,
8264 GNOME Shell appearance and extension, etc.")
8265 (license license:gpl3+)))
8267 (define-public gnome-shell-extensions
8269 (name "gnome-shell-extensions")
8273 (uri (string-append "mirror://gnome/sources/" name "/"
8274 (version-major+minor version) "/"
8275 name "-" version ".tar.xz"))
8278 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8279 (build-system meson-build-system)
8281 '(#:configure-flags '("-Dextension_set=all")))
8283 `(("glib:bin" ,glib "bin")
8284 ("intltool" ,intltool)
8285 ("pkg-config" ,pkg-config)))
8288 (synopsis "Extensions for GNOME Shell")
8289 (description "GNOME Shell extensions modify and extend GNOME Shell
8290 functionality and behavior.")
8291 (home-page "https://extensions.gnome.org/")
8292 (license license:gpl3+)))
8294 (define-public arc-theme
8297 (version "20190917")
8301 (url "https://github.com/NicoHood/arc-theme.git")
8303 (file-name (git-file-name name version))
8306 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8307 (build-system gnu-build-system)
8310 (modify-phases %standard-phases
8311 ;; autogen.sh calls configure at the end of the script.
8313 (lambda _ (invoke "autoreconf" "-vfi")))
8314 (add-before 'build 'set-home ;placate Inkscape
8316 (setenv "HOME" (getcwd))
8319 `(("autoconf" ,autoconf)
8320 ("automake" ,automake)
8321 ("glib" ,glib "bin") ; for glib-compile-resources
8322 ("gnome-shell" ,gnome-shell)
8324 ("inkscape" ,inkscape)
8325 ("optipng" ,optipng)
8326 ("pkg-config" ,pkg-config)
8327 ("sassc" ,sassc/libsass-3.5)))
8328 (synopsis "A flat GTK+ theme with transparent elements")
8329 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8330 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8331 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8332 (home-page "https://github.com/horst3180/arc-theme")
8333 ;; No "or later" language found.
8334 (license license:gpl3+)))
8336 (define-public faba-icon-theme
8338 (name "faba-icon-theme")
8344 (url "https://github.com/snwh/faba-icon-theme.git")
8345 (commit (string-append "v" version))))
8346 (file-name (git-file-name name version))
8348 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8349 (build-system meson-build-system)
8352 (modify-phases %standard-phases
8353 (add-before 'configure 'disable-post-install
8355 (substitute* "meson.build"
8356 (("meson.add_install_script.*") "")))))))
8358 `(("autoconf" ,autoconf)
8359 ("automake" ,automake)))
8360 (synopsis "Faba icon theme")
8362 "Faba is a minimal icon set used as a basis for other themes such as
8364 (home-page "https://snwh.org/moka")
8365 (license (list license:lgpl3+
8366 license:cc-by-sa4.0))))
8368 (define-public moka-icon-theme
8370 (inherit faba-icon-theme)
8371 (name "moka-icon-theme")
8377 (url "https://github.com/snwh/moka-icon-theme.git")
8378 (commit (string-append "v" version))))
8379 (file-name (git-file-name name version))
8381 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8383 ;; Moka is based on Faba by using it as a fallback icon set instead of
8384 ;; bundling it, so we need to add it as a propagated input.
8385 `(("faba-icon-theme" ,faba-icon-theme)))
8386 (synopsis "Moka icon theme")
8387 (description "Moka is a stylized desktop icon set, designed to be clear,
8388 simple and consistent.")
8389 (license (list license:gpl3+
8390 license:cc-by-sa4.0))))
8392 (define-public arc-icon-theme
8394 (name "arc-icon-theme")
8395 (version "20161122")
8400 (url "https://github.com/horst3180/arc-icon-theme.git")
8402 (file-name (git-file-name name version))
8404 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8405 (build-system gnu-build-system)
8408 (modify-phases %standard-phases
8409 (add-after 'unpack 'disable-configure-during-bootstrap
8411 (substitute* "autogen.sh"
8412 (("^\"\\$srcdir/configure\".*") ""))
8415 `(("autoconf" ,autoconf)
8416 ("automake" ,automake)))
8417 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8419 `(("moka-icon-theme" ,moka-icon-theme)))
8420 (synopsis "Arc icon theme")
8421 (description "The Arc icon theme provides a set of icons matching the
8422 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8423 the Moka icon theme.")
8424 (home-page "https://github.com/horst3180/arc-icon-theme")
8425 (license license:gpl3+)))
8427 (define-public folks
8434 "mirror://gnome/sources/folks/"
8435 (version-major+minor version) "/"
8436 "folks-" version ".tar.xz"))
8439 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8440 (build-system meson-build-system)
8443 (modify-phases %standard-phases
8444 (add-after 'unpack 'skip-gtk-update-icon-cache
8445 ;; Don't create 'icon-theme.cache'.
8447 (substitute* "meson_post_install.py"
8448 (("gtk-update-icon-cache") "true"))
8452 ("dbus-glib" ,dbus-glib)
8453 ("evolution-data-server" ,evolution-data-server)
8456 ("readline" ,readline)
8457 ("telepathy-glib" ,telepathy-glib)))
8459 `(("glib:bin" ,glib "bin")
8460 ("gobject-introspection" ,gobject-introspection)
8461 ("intltool" ,intltool)
8462 ("pkg-config" ,pkg-config)
8464 (synopsis "Library to aggregate data about people")
8465 (description "Libfolks is a library that aggregates information about people
8466 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8467 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8468 etc.) to create metacontacts. It's written in Vala, which generates C code when
8470 (home-page "https://wiki.gnome.org/Projects/Folks")
8471 (license license:lgpl2.1+)))
8473 (define-public gfbgraph
8480 "mirror://gnome/sources/gfbgraph/"
8481 (version-major+minor version) "/"
8482 "gfbgraph-" version ".tar.xz"))
8485 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8486 (build-system glib-or-gtk-build-system)
8488 `(#:tests? #f ; Tests appear to require the network.
8489 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8490 #:configure-flags '("--disable-gtk-doc"
8492 "--enable-introspection")))
8494 `(("pkg-config" ,pkg-config)
8495 ("gobject-introspection" ,gobject-introspection)))
8497 `(("json-glib" ,json-glib)
8498 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8500 (synopsis "GLib/GObject wrapper for the Facebook API")
8501 (description "This library allows you to use the Facebook API from
8502 GLib/GObject code.")
8503 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8504 (license license:lgpl2.1+)))
8506 (define-public libgnomekbd
8508 (name "libgnomekbd")
8512 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8513 (version-major+minor version) "/"
8514 "libgnomekbd-" version ".tar.xz"))
8517 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8518 (build-system gnu-build-system)
8520 `(("pkg-config" ,pkg-config)
8521 ("glib" ,glib "bin")
8522 ("intltool" ,intltool)))
8524 ;; Referred to in .h files and .pc.
8527 ("libxklavier" ,libxklavier)))
8528 (home-page "https://www.gnome.org")
8529 (synopsis "GNOME keyboard configuration library")
8531 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8532 environment, which can notably display keyboard layouts.")
8533 (license license:lgpl2.0+)))
8535 ;;; This package is no longer maintained:
8536 ;;; https://wiki.gnome.org/Attic/LibUnique
8537 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8538 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8539 (define-public libunique
8545 (uri (string-append "mirror://gnome/sources/" name "/"
8546 (version-major+minor version) "/"
8547 name "-" version ".tar.xz"))
8550 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8551 (build-system glib-or-gtk-build-system)
8553 `(#:configure-flags '("--disable-static"
8554 "--disable-dbus" ; use gdbus
8555 "--enable-introspection")))
8557 `(("pkg-config" ,pkg-config)
8558 ("gobject-introspection" ,gobject-introspection)
8559 ("glib:bin" ,glib "bin")
8560 ("gtk-doc" ,gtk-doc)))
8562 ;; Referred to in .h files and .pc.
8564 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8565 (synopsis "Library for writing single instance applications")
8567 "Libunique is a library for writing single instance applications. If you
8568 launch a single instance application twice, the second instance will either just
8569 quit or will send a message to the running instance. Libunique makes it easy to
8570 write this kind of application, by providing a base class, taking care of all
8571 the IPC machinery needed to send messages to a running instance, and also
8572 handling the startup notification side.")
8573 (license license:lgpl2.1+)))
8575 (define-public gnome-calculator
8577 (name "gnome-calculator")
8582 (uri (string-append "mirror://gnome/sources/" name "/"
8583 (version-major+minor version) "/"
8584 name "-" version ".tar.xz"))
8587 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8588 (build-system meson-build-system)
8589 (arguments '(#:glib-or-gtk? #t))
8591 `(("gettext" ,gettext-minimal)
8592 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8593 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8594 ("itstool" ,itstool)
8596 ("pkg-config" ,pkg-config)))
8599 ("gtksourceview" ,gtksourceview)
8601 ("libsoup" ,libsoup)
8602 ("libxml2" ,libxml2)
8605 (home-page "https://wiki.gnome.org/Apps/Calculator")
8606 (synopsis "Desktop calculator")
8608 "Calculator is an application that solves mathematical equations and
8609 is suitable as a default application in a Desktop environment.")
8610 (license license:gpl3)))
8619 (uri (string-append "https://launchpad.net/xpad/trunk/"
8620 version "/+download/"
8621 name "-" version ".tar.bz2"))
8624 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8625 (build-system gnu-build-system)
8627 `(("autoconf" ,autoconf)
8628 ("automake" ,automake)
8629 ("gtk+:bin" ,gtk+ "bin")
8630 ("intltool" ,intltool)
8631 ("pkg-config" ,pkg-config)))
8633 `(("gtksourceview" ,gtksourceview-3)
8635 (home-page "https://wiki.gnome.org/Apps/Xpad")
8636 (synopsis "Virtual sticky note")
8638 "Xpad is a sticky note that strives to be simple, fault tolerant,
8639 and customizable. Xpad consists of independent pad windows, each is
8640 basically a text box in which notes can be written.")
8641 (license license:gpl3+)))
8643 (define-public gucharmap
8644 (let ((unicode-files
8646 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8648 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8650 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8652 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8654 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8656 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8663 (uri (string-append "mirror://gnome/sources/" name "/"
8664 (version-major+minor version) "/"
8665 name "-" version ".tar.xz"))
8668 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8669 (build-system glib-or-gtk-build-system)
8671 `(#:modules ((ice-9 match)
8672 (guix build glib-or-gtk-build-system)
8675 (list "--with-unicode-data=../unicode-data")
8677 (modify-phases %standard-phases
8678 (add-after 'unpack 'prepare-unicode-data
8679 (lambda* (#:key inputs #:allow-other-keys)
8680 (mkdir-p "../unicode-data")
8681 (with-directory-excursion "../unicode-data"
8682 (for-each (match-lambda
8684 (install-file (assoc-ref inputs file) ".")))
8688 `(("desktop-file-utils" ,desktop-file-utils)
8689 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8690 ("gobject-introspection" ,gobject-introspection)
8691 ("intltool" ,intltool)
8692 ("itstool" ,itstool)
8693 ("pkg-config" ,pkg-config)
8694 ,@(map (match-lambda
8700 "http://www.unicode.org/Public/12.0.0/ucd/"
8702 (sha256 (base32 hash))))))
8707 ("xmllint" ,libxml2)))
8708 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8709 (synopsis "Unicode character picker and font browser")
8711 "This program allows you to browse through all the available Unicode
8712 characters and categories for the installed fonts, and to examine their
8713 detailed properties. It is an easy way to find the character you might
8714 only know by its Unicode name or code point.")
8715 (license license:gpl3+))))
8717 (define-public bluefish
8724 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8725 "bluefish-" version ".tar.gz"))
8727 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8728 (build-system gnu-build-system)
8730 `(("desktop-file-utils" ,desktop-file-utils)
8731 ("intltool" ,intltool)
8732 ("pkg-config" ,pkg-config)))
8734 `(("enchant" ,enchant)
8736 ("python" ,python-wrapper)
8737 ("xmllint" ,libxml2)
8738 ("gucharmap" ,gucharmap)))
8739 (home-page "http://bluefish.openoffice.nl")
8740 (synopsis "Web development studio")
8742 "Bluefish is an editor targeted towards programmers and web developers,
8743 with many options to write web sites, scripts and other code.
8744 Bluefish supports many programming and markup languages.")
8745 (license license:gpl3+)))
8747 (define-public gnome-system-monitor
8749 (name "gnome-system-monitor")
8754 (uri (string-append "mirror://gnome/sources/" name "/"
8755 (version-major+minor version) "/"
8756 name "-" version ".tar.xz"))
8759 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8760 (build-system meson-build-system)
8763 #:configure-flags '("-Dsystemd=false")))
8765 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8766 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8767 ("intltool" ,intltool)
8768 ("itstool" ,itstool)
8769 ("libgtop" ,libgtop)
8771 ("pkg-config" ,pkg-config)))
8773 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8776 ("librsvg" ,librsvg)
8777 ("libxml2" ,libxml2)
8778 ("libwnck" ,libwnck)))
8779 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8780 (synopsis "Process viewer and system resource monitor for GNOME")
8782 "GNOME System Monitor is a GNOME process viewer and system monitor with
8783 an attractive, easy-to-use interface. It has features, such as a tree view
8784 for process dependencies, icons for processes, the ability to hide processes,
8785 graphical time histories of CPU/memory/swap usage and the ability to
8786 kill/reinice processes.")
8787 (license license:gpl2+)))
8789 (define-public python-pyatspi
8791 (name "python-pyatspi")
8796 "mirror://gnome/sources/pyatspi/"
8797 (version-major+minor version)
8798 "/pyatspi-" version ".tar.xz"))
8801 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8802 (build-system gnu-build-system)
8805 (modify-phases %standard-phases
8806 (add-before 'build 'fix-atk-load
8808 (substitute* "pyatspi/__init__.py"
8809 (("from gi.repository import Atspi")
8810 "gi.require_version('Gtk', '3.0')
8811 from gi.repository import Gtk
8812 from gi.repository import Atspi"))
8815 `(("pkg-config" ,pkg-config)))
8817 `(("python" ,python)
8818 ("python-pygobject" ,python-pygobject)))
8819 (synopsis "Python client bindings for D-Bus AT-SPI")
8820 (home-page "https://wiki.linuxfoundation.org/accessibility\
8821 /atk/at-spi/at-spi_on_d-bus")
8823 "This package includes a python client library for the AT-SPI D-Bus
8824 accessibility infrastructure.")
8825 (license license:lgpl2.0)
8826 (properties '((upstream-name . "pyatspi")))))
8835 "mirror://gnome/sources/" name "/"
8836 (version-major+minor version) "/"
8837 name "-" version ".tar.xz"))
8840 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
8841 (build-system glib-or-gtk-build-system)
8844 (modify-phases %standard-phases
8845 (add-before 'configure 'qualify-xkbcomp
8846 (lambda* (#:key inputs #:allow-other-keys)
8847 (let ((xkbcomp (string-append
8848 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8849 (substitute* "src/orca/orca.py"
8850 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8852 (add-after 'install 'wrap-orca
8853 (lambda* (#:key outputs #:allow-other-keys)
8854 (let* ((out (assoc-ref outputs "out"))
8855 (prog (string-append out "/bin/orca")))
8857 `("GI_TYPELIB_PATH" ":" prefix
8858 (,(getenv "GI_TYPELIB_PATH")))
8859 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8860 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8861 `("PYTHONPATH" ":" prefix
8862 (,(getenv "PYTHONPATH")))))
8865 `(("intltool" ,intltool)
8866 ("itstool" ,itstool)
8867 ("pkg-config" ,pkg-config)
8868 ("xmllint" ,libxml2)))
8870 `(("at-spi2-atk" ,at-spi2-atk)
8871 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8872 ("gstreamer" ,gstreamer)
8873 ("gst-plugins-base" ,gst-plugins-base)
8874 ("gst-plugins-good" ,gst-plugins-good)
8877 ("python-pygobject" ,python-pygobject)
8878 ("python-pyatspi" ,python-pyatspi)
8879 ("python-speechd" ,speech-dispatcher)
8880 ("xkbcomp" ,xkbcomp)))
8882 "Screen reader for individuals who are blind or visually impaired")
8883 (home-page "https://wiki.gnome.org/Projects/Orca")
8885 "Orca is a screen reader that provides access to the graphical desktop
8886 via speech and refreshable braille. Orca works with applications and toolkits
8887 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8888 (license license:lgpl2.1+)))
8890 (define-public gspell
8896 (uri (string-append "mirror://gnome/sources/" name "/"
8897 (version-major+minor version) "/"
8898 name "-" version ".tar.xz"))
8901 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8902 (patches (search-patches "gspell-dash-test.patch"))))
8903 (build-system glib-or-gtk-build-system)
8905 '(#:configure-flags (list "--enable-vala")
8907 (modify-phases %standard-phases
8908 (add-before 'check 'pre-check
8909 (lambda* (#:key inputs #:allow-other-keys)
8910 ;; Tests require a running X server.
8911 (system "Xvfb :1 &")
8912 (setenv "DISPLAY" ":1")
8914 ;; For the missing /etc/machine-id.
8915 (setenv "DBUS_FATAL_WARNINGS" "0")
8917 ;; Allow Enchant and its Aspell backend to find the en_US
8919 (setenv "ASPELL_DICT_DIR"
8920 (string-append (assoc-ref inputs "aspell-dict-en")
8926 ("iso-codes" ,iso-codes)))
8928 `(("glib" ,glib "bin")
8929 ("gobject-introspection" ,gobject-introspection)
8930 ("pkg-config" ,pkg-config)
8931 ("vala" ,vala) ;for VAPI, needed by Geary
8932 ("xmllint" ,libxml2)
8935 ("aspell-dict-en" ,aspell-dict-en)
8936 ("xorg-server" ,xorg-server-for-tests)))
8938 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8939 (home-page "https://wiki.gnome.org/Projects/gspell")
8940 (synopsis "GNOME's alternative spell checker")
8942 "gspell provides a flexible API to add spell-checking to a GTK+
8943 application. It provides a GObject API, spell-checking to text entries and
8944 text views, and buttons to choose the language.")
8945 (license license:gpl2+)))
8947 (define-public gnome-planner
8949 (name "gnome-planner")
8953 (uri (string-append "mirror://gnome/sources/planner/"
8954 (version-major+minor version) "/planner-"
8958 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8959 (build-system glib-or-gtk-build-system)
8961 ;; Disable the Python bindings because the Planner program functions
8962 ;; without them, and (as of 2017-06-13) we have not packaged all of
8963 ;; packages that are necessary for building the Python bindings.
8965 (list "--disable-python"
8966 ,@(if (string=? "aarch64-linux" (%current-system))
8967 '("--build=aarch64-unknown-linux-gnu")
8970 `(("libgnomecanvas" ,libgnomecanvas)
8971 ("libgnomeui" ,libgnomeui)
8972 ("libglade" ,libglade)
8973 ("gnome-vfs" ,gnome-vfs)
8975 ("libxml2" ,libxml2)
8976 ("libxslt" ,libxslt)
8980 `(("intltool" ,intltool)
8981 ("scrollkeeper" ,scrollkeeper)
8982 ("pkg-config" ,pkg-config)))
8983 (home-page "https://wiki.gnome.org/Apps/Planner")
8984 (synopsis "Project management software for the GNOME desktop")
8986 "GNOME Planner is a project management tool based on the Work Breakdown
8987 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8988 the resources, tasks, and constraints that you define, Planner generates
8989 various views into a project. For example, Planner can show a Gantt chart of
8990 the project. It can show a detailed summary of tasks including their
8991 duration, cost, and current progress. It can also show a report of resource
8992 utilization that highlights under-utilized and over-utilized resources. These
8993 views can be printed as PDF or PostScript files, or exported to HTML.")
8994 (license license:gpl2+)))
8996 (define-public lollypop
9003 (uri (string-append "https://adishatz.org/lollypop/"
9004 "lollypop-" version ".tar.xz"))
9006 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9007 (build-system meson-build-system)
9009 `(#:imported-modules
9010 (,@%meson-build-system-modules
9011 (guix build python-build-system))
9013 ((guix build meson-build-system)
9014 ((guix build python-build-system) #:prefix python:)
9017 #:tests? #f ; no test suite
9019 (modify-phases %standard-phases
9020 (add-after 'install 'wrap-program
9021 (lambda* (#:key outputs #:allow-other-keys)
9022 (let ((out (assoc-ref outputs "out"))
9023 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9024 (wrap-program (string-append out "/bin/lollypop")
9025 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9027 (add-after 'install 'wrap-python
9028 (assoc-ref python:%standard-phases 'wrap)))))
9030 `(("intltool" ,intltool)
9031 ("itstool" ,itstool)
9032 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9033 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9034 ("pkg-config" ,pkg-config)))
9036 `(("gobject-introspection" ,gobject-introspection)
9037 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9038 ("gst-plugins-base" ,gst-plugins-base)
9039 ("libnotify" ,libnotify)
9040 ("libsecret" ,libsecret)
9041 ("libsoup" ,libsoup)
9043 ("python-beautifulsoup4" ,python-beautifulsoup4)
9044 ("python-gst" ,python-gst)
9045 ("python-pil" ,python-pillow)
9046 ("python-pycairo" ,python-pycairo)
9047 ("python-pygobject" ,python-pygobject)
9048 ("python-pylast" ,python-pylast)
9049 ("totem-pl-parser" ,totem-pl-parser)
9050 ("webkitgtk" ,webkitgtk)))
9052 `(;; gst-plugins-base is required to start Lollypop,
9053 ;; the others are required to play streaming.
9054 ("gst-plugins-good" ,gst-plugins-good)
9055 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9056 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9057 (synopsis "GNOME music playing application")
9059 "Lollypop is a music player designed to play well with GNOME desktop.
9060 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9061 from artists and tracks from the web. It also fetches cover artworks
9062 automatically and it can stream songs from online music services and charts.")
9063 (license license:gpl3+)))
9065 (define-public gnome-video-effects
9067 (name "gnome-video-effects")
9071 (uri (string-append "mirror://gnome/sources/" name "/"
9072 (version-major+minor version) "/" name "-"
9076 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9077 (build-system glib-or-gtk-build-system)
9079 `(#:out-of-source? #f))
9081 `(("glib:bin" ,glib "bin")
9082 ("intltool" ,intltool)
9083 ("gettext" ,gettext-minimal)
9084 ("pkg-config" ,pkg-config)))
9085 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9086 (synopsis "Video effects for Cheese and other GNOME applications")
9088 "A collection of GStreamer video filters and effects to be used in
9089 photo-booth-like software, such as Cheese.")
9090 (license license:gpl2+)))
9092 (define-public cheese
9098 (uri (string-append "mirror://gnome/sources/" name "/"
9099 (version-major+minor version) "/" name "-"
9103 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9106 ;; Tests require GDK.
9109 (modify-phases %standard-phases
9110 (add-after 'unpack 'skip-gtk-update-icon-cache
9112 ;; Don't create 'icon-theme.cache'
9113 (substitute* "meson_post_install.py"
9114 (("gtk-update-icon-cache") (which "true")))
9116 (add-after 'install 'wrap-cheese
9117 (lambda* (#:key inputs outputs #:allow-other-keys)
9118 (let ((out (assoc-ref outputs "out"))
9119 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9120 (wrap-program (string-append out "/bin/cheese")
9121 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9123 (build-system meson-build-system)
9125 `(("docbook-xsl" ,docbook-xsl)
9126 ("glib:bin" ,glib "bin")
9127 ("gtk-doc" ,gtk-doc)
9128 ("intltool" ,intltool)
9129 ("itstool" ,itstool)
9130 ("libxml2" ,libxml2)
9131 ("libxslt" ,libxslt)
9132 ("pkg-config" ,pkg-config)
9135 `(("gnome-video-effects" ,gnome-video-effects)
9136 ("clutter" ,clutter)
9137 ("clutter-gst" ,clutter-gst)
9138 ("clutter-gtk" ,clutter-gtk)
9139 ("libcanberra" ,libcanberra)
9140 ("gdk-pixbuf" ,gdk-pixbuf)
9142 ("gstreamer" ,gstreamer)))
9144 `(("gnome-desktop" ,gnome-desktop)
9145 ("gobject-introspection" ,gobject-introspection)
9146 ("gst-plugins-base" ,gst-plugins-base)
9147 ("gst-plugins-bad" ,gst-plugins-bad)
9150 ("libxtst" ,libxtst)))
9151 (home-page "https://wiki.gnome.org/Apps/Cheese")
9152 (synopsis "Webcam photo booth software for GNOME")
9154 "Cheese uses your webcam to take photos and videos. Cheese can also
9155 apply fancy special effects and lets you share the fun with others.")
9156 (license license:gpl2+)))
9158 (define-public sound-juicer
9160 (name "sound-juicer")
9165 (uri (string-append "mirror://gnome/sources/" name "/"
9166 (version-major+minor version) "/"
9167 name "-" version ".tar.xz"))
9170 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9171 (build-system glib-or-gtk-build-system)
9173 `(("desktop-file-utils" ,desktop-file-utils)
9174 ("intltool" ,intltool)
9175 ("itstool" ,itstool)
9176 ("pkg-config" ,pkg-config)
9177 ("xmllint" ,libxml2)))
9180 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9181 ("gstreamer" ,gstreamer)
9182 ("gst-plugins-base" ,gst-plugins-base)
9183 ("gst-plugins-good" ,gst-plugins-good)
9184 ("iso-codes" ,iso-codes)
9185 ("libbrasero-media3" ,brasero)
9186 ("libcanberra" ,libcanberra)
9187 ("libdiscid" ,libdiscid)
9188 ("libmusicbrainz" ,libmusicbrainz)
9190 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9191 (synopsis "Audio music cd ripper")
9192 (description "Sound Juicer extracts audio from compact discs and convert it
9193 into audio files that a personal computer or digital audio player can play.
9194 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9195 mp3, Ogg Vorbis and FLAC")
9196 (license license:gpl2+)))
9198 (define-public soundconverter
9200 (name "soundconverter")
9205 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9206 version "/+download/"
9207 "soundconverter-" version ".tar.xz"))
9210 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
9213 "soundconverter-remove-gconf-dependency.patch"))))
9214 (build-system glib-or-gtk-build-system)
9216 `(#:imported-modules ((guix build python-build-system)
9217 (guix build glib-or-gtk-build-system)
9218 ,@%gnu-build-system-modules)
9220 #:modules ((guix build glib-or-gtk-build-system)
9222 ((guix build gnu-build-system) #:prefix gnu:)
9223 ((guix build python-build-system) #:prefix python:))
9226 (modify-phases %standard-phases
9227 (add-after 'install 'wrap-soundconverter-for-python
9228 (assoc-ref python:%standard-phases 'wrap))
9229 (add-after 'install 'wrap-soundconverter
9230 (lambda* (#:key inputs outputs #:allow-other-keys)
9231 (let ((out (assoc-ref outputs "out"))
9232 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9233 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9234 (wrap-program (string-append out "/bin/soundconverter")
9235 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9236 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9239 `(("intltool" ,intltool)
9240 ("pkg-config" ,pkg-config)
9241 ("glib:bin" ,glib "bin")))
9245 ("python-pygobject" ,python-pygobject)
9246 ("gstreamer" ,gstreamer)
9247 ("gst-plugins-base" ,gst-plugins-base)))
9248 (home-page "https://soundconverter.org/")
9249 (synopsis "Convert between audio formats with a graphical interface")
9251 "SoundConverter supports converting between many audio formats including
9252 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9253 configurable file renaming. ")
9254 (license license:gpl3)))
9256 (define-public workrave
9264 (url "https://github.com/rcaelers/workrave.git")
9265 (commit (string-append "v" (string-map
9266 (match-lambda (#\. #\_) (chr chr))
9268 (file-name (git-file-name name version))
9270 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9271 (build-system glib-or-gtk-build-system)
9273 ;; The only tests are maintainer tests (in po/), which fail.
9275 (inputs `(("glib" ,glib)
9277 ("gdk-pixbuf" ,gdk-pixbuf)
9281 ("libxtst" ,libxtst)
9285 ("libxscrnsaver" ,libxscrnsaver)))
9286 (native-inputs `(("boost" ,boost)
9287 ("pkg-config" ,pkg-config)
9288 ("gettext" ,gettext-minimal)
9289 ("autoconf" ,autoconf)
9290 ("autoconf-archive" , autoconf-archive)
9291 ("automake" ,automake)
9292 ("libtool" ,libtool)
9293 ("intltool" ,intltool)
9294 ("gobject-introspection" ,gobject-introspection)
9295 ("python3" ,python-3)
9296 ("python-jinja2" ,python-jinja2)))
9297 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9299 "Workrave is a program that assists in the recovery and prevention of
9300 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9301 micro-pauses and rest breaks, and restricts you to your daily limit.")
9302 (home-page "http://www.workrave.org")
9303 (license license:gpl3+)))
9311 (uri (string-append "mirror://gnome/sources/ghex/"
9312 (version-major+minor version) "/"
9313 "ghex-" version ".tar.xz"))
9316 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9317 (build-system meson-build-system)
9321 (modify-phases %standard-phases
9322 (add-after 'unpack 'skip-gtk-update-icon-cache
9323 ;; Don't create 'icon-theme.cache'.
9325 (substitute* "meson_post_install.py"
9326 (("gtk-update-icon-cache") (which "true")))
9329 `(("pkg-config" ,pkg-config)
9330 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9331 ("gnome-common" ,gnome-common)
9333 ("intltool" ,intltool)
9334 ("yelp-tools" ,yelp-tools)
9335 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9339 (synopsis "GNOME hexadecimal editor")
9340 (description "The GHex program can view and edit files in two ways:
9341 hexadecimal or ASCII. It is useful for editing binary files in general.")
9342 (home-page "https://wiki.gnome.org/Apps/Ghex")
9343 (license license:gpl2)))
9345 (define-public libdazzle
9351 (uri (string-append "mirror://gnome/sources/libdazzle/"
9352 (version-major+minor version) "/"
9353 "libdazzle-" version ".tar.xz"))
9356 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9357 (build-system meson-build-system)
9360 (modify-phases %standard-phases
9361 (add-before 'check 'pre-check
9363 ;; Tests require a running X server.
9364 (system "Xvfb :1 &")
9365 (setenv "DISPLAY" ":1")
9368 `(("glib" ,glib "bin") ; glib-compile-resources
9369 ("pkg-config" ,pkg-config)
9371 ("xorg-server" ,xorg-server-for-tests)))
9374 ("gobject-introspection" ,gobject-introspection)
9377 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9378 (synopsis "Companion library to GObject and Gtk+")
9379 (description "The libdazzle library is a companion library to GObject and
9380 Gtk+. It provides various features that the authors wish were in the
9381 underlying library but cannot for various reasons. In most cases, they are
9382 wildly out of scope for those libraries. In other cases, they are not quite
9383 generic enough to work for everyone.")
9384 (license license:gpl3+)))
9386 (define-public evolution
9392 (uri (string-append "mirror://gnome/sources/evolution/"
9393 (version-major+minor version) "/"
9394 "evolution-" version ".tar.xz"))
9397 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9398 (build-system cmake-build-system)
9400 `(#:imported-modules (,@%cmake-build-system-modules
9401 (guix build glib-or-gtk-build-system))
9402 #:modules ((guix build cmake-build-system)
9403 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9406 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9407 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9408 ; in four years and cannot be built.
9410 (modify-phases %standard-phases
9411 ;; The build system attempts to install user interface modules to the
9412 ;; output directory of the "evolution-data-server" package. This
9413 ;; change redirects that change.
9414 (add-after 'unpack 'patch-ui-module-dir
9415 (lambda* (#:key outputs #:allow-other-keys)
9416 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9417 (("\\$\\{edsuimoduledir\\}")
9418 (string-append (assoc-ref outputs "out")
9419 "/lib/evolution-data-server/ui-modules")))
9421 (add-after 'install 'glib-or-gtk-compile-schemas
9422 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9423 (add-after 'install 'glib-or-gtk-wrap
9424 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9426 `(("glib" ,glib "bin") ; glib-mkenums
9427 ("pkg-config" ,pkg-config)
9428 ("intltool" ,intltool)
9429 ("itstool" ,itstool)))
9431 `(("enchant" ,enchant)
9432 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9434 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9435 ("gnome-autoar" ,gnome-autoar)
9436 ("gnome-desktop" ,gnome-desktop)
9438 ("highlight" ,highlight)
9439 ("libcanberra" ,libcanberra)
9440 ("libgweather" ,libgweather)
9441 ("libnotify" ,libnotify)
9442 ("libsoup" ,libsoup)
9444 ("openldap" ,openldap)
9445 ("webkitgtk" ,webkitgtk)
9447 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9448 (synopsis "Manage your email, contacts and schedule")
9449 (description "Evolution is a personal information management application
9450 that provides integrated mail, calendaring and address book
9452 ;; See COPYING for details.
9453 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9454 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9455 license:lgpl2.1+)))) ; smime/lib/*
9457 (define-public gthumb
9463 (uri (string-append "mirror://gnome/sources/gthumb/"
9464 (version-major+minor version) "/"
9465 "gthumb-" version ".tar.xz"))
9468 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9469 (build-system meson-build-system)
9473 ;; Ensure the RUNPATH contains all installed library locations.
9474 (list (string-append "-Dc_link_args=-Wl,-rpath="
9475 (assoc-ref %outputs "out")
9476 "/lib/gthumb/extensions")
9477 (string-append "-Dcpp_link_args=-Wl,-rpath="
9478 (assoc-ref %outputs "out")
9479 "/lib/gthumb/extensions"))))
9481 `(("pkg-config" ,pkg-config)
9482 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9483 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9484 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9485 ("intltool" ,intltool)
9486 ("itstool" ,itstool)))
9490 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9491 ("gstreamer" ,gstreamer)
9492 ("clutter" ,clutter)
9493 ("clutter-gst" ,clutter-gst)
9494 ("clutter-gtk" ,clutter-gtk)
9495 ("libjpeg" ,libjpeg-turbo)
9496 ("libtiff" ,libtiff)
9497 ("libraw" ,libraw)))
9498 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9499 (synopsis "GNOME image viewer and browser")
9500 (description "GThumb is an image viewer, browser, organizer, editor and
9501 advanced image management tool")
9502 (license license:gpl2+)))
9504 (define-public terminator
9510 (uri (string-append "https://launchpad.net/" name "/"
9511 "gtk3/" version "/" "+download/"
9512 name "-" version ".tar.gz"))
9515 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9516 (build-system python-build-system)
9518 `(("intltool" ,intltool)
9519 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9520 ("gettext" ,gettext-minimal)
9521 ("pkg-config" ,pkg-config)))
9524 ("gobject-introspection" ,gobject-introspection)
9525 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9526 ("python2-pycairo" ,python2-pycairo)
9527 ("python2-pygobject" ,python2-pygobject)
9528 ("python2-psutil" ,python2-psutil)
9531 `(#:python ,python-2 ; Python 3 isn't supported
9532 #:imported-modules ((guix build glib-or-gtk-build-system)
9533 ,@%python-build-system-modules)
9534 #:modules ((guix build python-build-system)
9535 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9538 (modify-phases %standard-phases
9540 'install 'wrap-program
9541 (lambda* (#:key outputs #:allow-other-keys)
9542 (let ((prog (string-append (assoc-ref outputs "out")
9543 "/bin/terminator")))
9545 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9546 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9548 (add-after 'wrap-program 'glib-or-gtk-wrap
9549 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9550 (home-page "https://gnometerminator.blogspot.com/")
9551 (synopsis "Store and run multiple GNOME terminals in one window")
9553 "Terminator allows you to run multiple GNOME terminals in a grid and
9554 +tabs, and it supports drag and drop re-ordering of terminals.")
9555 (license license:gpl2)))
9557 (define-public libhandy
9565 (url "https://source.puri.sm/Librem5/libhandy")
9566 (commit (string-append "v" version))))
9567 (file-name (git-file-name name version))
9569 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9570 (build-system meson-build-system)
9573 '("-Dglade_catalog=disabled"
9576 (modify-phases %standard-phases
9577 (add-before 'check 'pre-check
9579 ;; Tests require a running X server.
9580 (system "Xvfb :1 &")
9581 (setenv "DISPLAY" ":1")
9586 `(("glib:bin" ,glib "bin")
9587 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9589 ("gtk-doc" ,gtk-doc)
9590 ("pkg-config" ,pkg-config)
9591 ("gettext" ,gettext-minimal)
9593 ;; Test suite dependencies.
9594 ("xorg-server" ,xorg-server-for-tests)
9595 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9596 (home-page "https://source.puri.sm/Librem5/libhandy")
9597 (synopsis "Library full of GTK+ widgets for mobile phones")
9598 (description "The aim of the handy library is to help with developing user
9599 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9600 for usage on small and big screens.")
9601 (license license:lgpl2.1+)))
9603 (define-public libgit2-glib
9605 (name "libgit2-glib")
9606 (version "0.99.0.1")
9609 (uri (string-append "mirror://gnome/sources/" name "/"
9610 (version-major+minor version) "/"
9611 name "-" version ".tar.xz"))
9614 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9615 (build-system meson-build-system)
9617 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9618 ("gobject-introspection" ,gobject-introspection)
9619 ("pkg-config" ,pkg-config)
9620 ("python-pygobject" ,python-pygobject)
9621 ("python-wrapper" ,python-wrapper)
9625 ("libssh2" ,libssh2)))
9627 `(;; In Requires of libgit2-glib.pc.
9628 ("libgit2" ,libgit2)))
9629 (synopsis "GLib wrapper around the libgit2 Git access library")
9630 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9631 access library. It only implements the core plumbing functions, not really the
9632 higher level porcelain stuff.")
9633 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9634 (license license:gpl2+)))
9642 (uri (string-append "mirror://gnome/sources/" name "/"
9643 (version-major+minor version) "/"
9644 name "-" version ".tar.xz"))
9647 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9648 (build-system meson-build-system)
9652 (modify-phases %standard-phases
9653 (add-after 'unpack 'disable-post-install-partially
9655 (substitute* "meson_post_install.py"
9656 (("'python'") ; there are no python sources to compile
9657 (string-append "'" (which "true") "'"))
9658 (("gtk-update-icon-cache") (which "true")))
9660 (add-after 'unpack 'fix-test-sources
9662 (substitute* "tests/libgitg/test-commit.vala"
9663 (("/bin/bash") (which "bash")))
9665 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9666 (lambda* (#:key outputs #:allow-other-keys)
9667 (let ((prog (string-append (assoc-ref outputs "out")
9670 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9674 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9676 ("gtkspell3" ,gtkspell3)
9677 ("gtksourceview" ,gtksourceview-3)
9678 ("json-glib" ,json-glib)
9679 ("libdazzle" ,libdazzle)
9681 ("libgit2-glib" ,libgit2-glib)
9682 ("libpeas" ,libpeas)
9683 ("libsecret" ,libsecret)
9684 ("libsoup" ,libsoup)
9685 ("libxml2" ,libxml2)))
9687 `(("glib:bin" ,glib "bin")
9688 ("gtk+:bin" ,gtk+ "bin")
9689 ("gobject-introspection" ,gobject-introspection)
9690 ("intltool" ,intltool)
9691 ("pkg-config" ,pkg-config)
9693 (synopsis "Graphical user interface for git")
9695 "gitg is a graphical user interface for git. It aims at being a small,
9696 fast and convenient tool to visualize the history of git repositories.
9697 Besides visualization, gitg also provides several utilities to manage your
9698 repository and commit your work.")
9699 (home-page "https://wiki.gnome.org/Apps/Gitg")
9700 (license license:gpl2+)))
9702 (define-public gamin
9708 (uri (string-append "mirror://gnome/sources/" name "/"
9709 (version-major+minor version) "/"
9710 name "-" version ".tar.bz2"))
9713 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9714 (build-system gnu-build-system)
9717 (modify-phases %standard-phases
9718 (add-after 'unpack 'remove-deprecated-macro
9720 (substitute* '("server/gam_node.c"
9721 "server/gam_subscription.h"
9723 "server/gam_subscription.c")
9724 (("G_CONST_RETURN") "const"))
9729 `(("intltool" ,intltool)
9730 ("pkg-config" ,pkg-config)))
9731 (home-page "https://people.gnome.org/~veillard/gamin/")
9732 (synopsis "File alteration monitor")
9734 "Gamin is a file and directory monitoring system defined to be a subset
9735 of the FAM (File Alteration Monitor) system. This is a service provided by a
9736 library which detects when a file or a directory has been modified.")
9737 (license license:gpl2+)))
9739 (define-public gnome-mahjongg
9741 (name "gnome-mahjongg")
9746 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9748 (file-name (git-file-name name version))
9751 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9752 (build-system meson-build-system)
9754 `(#:glib-or-gtk? #t))
9756 `(("appstream-glib" ,appstream-glib)
9757 ("gettext" ,gettext-minimal)
9758 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9759 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9760 ("itstool" ,itstool)
9761 ("pkg-config" ,pkg-config)
9764 `(("dconf" ,dconf)))
9768 ("librsvg" ,librsvg)))
9769 (synopsis "Mahjongg tile-matching game")
9770 (description "GNOME Mahjongg is a game based on the classic Chinese
9771 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9772 and a high score table.")
9773 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9774 (license license:gpl2+)))
9776 (define-public gnome-themes-extra
9778 (name "gnome-themes-extra")
9783 (uri (string-append "mirror://gnome/sources/" name "/"
9784 (version-major+minor version) "/" name "-"
9788 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9789 (build-system gnu-build-system)
9792 ;; Don't create 'icon-theme.cache'.
9793 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9794 (true (string-append coreutils "/bin/true")))
9795 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9797 `(("glib:bin" ,glib "bin")
9798 ("intltool" ,intltool)
9799 ("pkg-config" ,pkg-config)))
9804 ("librsvg" ,librsvg)
9805 ("libxml2" ,libxml2)))
9806 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9807 (synopsis "GNOME Extra Themes")
9808 (description "This package provides themes and related elements that don't
9809 really fit in other upstream packages. It offers legacy support for GTK+ 2
9810 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9811 index files needed for Adwaita to be used outside of GNOME.")
9812 (license license:lgpl2.1+)))
9814 (define-public polari
9820 (uri (string-append "mirror://gnome/sources/polari/"
9821 (version-major+minor version)
9822 "/polari-" version ".tar.xz"))
9825 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9826 (build-system meson-build-system)
9830 (modify-phases %standard-phases
9831 (add-after 'unpack 'skip-gtk-update-icon-cache
9833 (substitute* "meson/meson-postinstall.sh"
9834 (("gtk-update-icon-cache") (which "true")))
9836 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9837 (lambda* (#:key outputs #:allow-other-keys)
9838 (let ((prog (string-append (assoc-ref outputs "out")
9841 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9845 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9849 ("libsecret" ,libsecret)
9850 ("libsoup" ,libsoup)
9851 ("telepathy-glib" ,telepathy-glib)
9852 ("telepathy-logger" ,telepathy-logger)))
9854 `(("glib:bin" ,glib "bin")
9855 ("gobject-introspection" ,gobject-introspection)
9856 ("intltool" ,intltool)
9857 ("pkg-config" ,pkg-config)
9858 ("yelp-tools" ,yelp-tools)))
9860 `(("telepathy-idle" ,telepathy-idle)
9861 ("telepathy-mission-control" ,telepathy-mission-control)))
9862 (synopsis "Simple IRC Client")
9864 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9865 integrate seamlessly with the GNOME desktop.")
9866 (home-page "https://wiki.gnome.org/Apps/Polari")
9867 (license license:gpl2+)))
9869 (define-public gnome-boxes
9871 (name "gnome-boxes")
9876 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9877 (version-major+minor version) "/"
9878 "gnome-boxes-" version ".tar.xz"))
9881 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9882 (build-system meson-build-system)
9885 #:configure-flags (list "-Drdp=false"
9886 (string-append "-Dc_link_args=-Wl,-rpath="
9887 (assoc-ref %outputs "out")
9888 "/lib/gnome-boxes"))))
9890 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9891 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9892 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9893 ("itstool" ,itstool)
9894 ("intltool" ,intltool)
9896 ("pkg-config" ,pkg-config)))
9898 `(("libarchive" ,libarchive)
9900 ("gtk-vnc" ,gtk-vnc)
9901 ("libosinfo" ,libosinfo)
9902 ("libsecret" ,libsecret)
9903 ("libsoup" ,libsoup)
9905 ("libvirt" ,libvirt)
9906 ("libvirt-glib" ,libvirt-glib)
9908 ("spice-gtk" ,spice-gtk)
9909 ("sparql-query" ,sparql-query)
9911 ("webkitgtk" ,webkitgtk)
9912 ("tracker" ,tracker)
9913 ("libgudev" ,libgudev)))
9914 (home-page "https://wiki.gnome.org/Apps/Boxes")
9915 (synopsis "View, access, and manage remote and virtual systems")
9916 (description "GNOME Boxes is a simple application to view, access, and
9917 manage remote and virtual systems.")
9919 ;; For data/icons/empty-boxes.png.
9922 license:lgpl2.0+))))
9924 (define-public geary
9931 (url "https://gitlab.gnome.org/GNOME/geary")
9933 (file-name (git-file-name name version))
9936 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9937 (build-system meson-build-system)
9940 #:phases (modify-phases %standard-phases
9941 (add-after 'unpack 'disable-failing-tests
9943 (substitute* "test/meson.build"
9944 (("test\\('client-tests', geary_test_client_bin\\)")
9947 (add-after 'unpack 'disable-postinstall-script
9949 (substitute* "meson.build"
9950 (("meson.add_install_script\\(\
9951 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9954 (add-before 'check 'setup-xvfb
9956 (system "Xvfb :1 &")
9957 (setenv "DISPLAY" ":1")
9960 `(("enchant" ,enchant)
9964 ("gmime" ,gmime-2.6)
9965 ("gnome-online-accounts:lib"
9966 ,gnome-online-accounts "lib")
9969 ("iso-codes" ,iso-codes)
9970 ("json-glib" ,json-glib)
9971 ("libcanberra" ,libcanberra)
9973 ("libhandy" ,libhandy)
9974 ("libpeas" ,libpeas)
9975 ("libsecret" ,libsecret)
9976 ("libunwind" ,libunwind)
9978 ("webkitgtk" ,webkitgtk)
9981 `(("appstream-glib" ,appstream-glib)
9982 ("cmake-minimal" ,cmake-minimal)
9983 ("desktop-file-utils" ,desktop-file-utils)
9984 ("gettext" ,gettext-minimal)
9985 ("glib:bin" ,glib "bin")
9986 ("gobject-introspection" ,gobject-introspection)
9987 ("itstool" ,itstool)
9988 ("libarchive" ,libarchive)
9989 ("libxml2" ,libxml2)
9990 ("pkg-config" ,pkg-config)
9992 ("xvfb" ,xorg-server-for-tests)))
9993 (synopsis "GNOME email application built around conversations")
9995 "Geary collects related messages together into conversations,
9996 making it easy to find and follow your discussions. Full-text and keyword
9997 search makes it easy to find the email you are looking for. Geary's
9998 full-featured composer lets you send rich, styled text with images, links, and
9999 lists, but also send lightweight, easy to read text messages. Geary
10000 automatically picks up your existing GNOME Online Accounts, and adding more is
10001 easy. Geary has a clean, fast, modern interface that works like you want it
10003 (home-page "https://wiki.gnome.org/Apps/Geary")
10009 license:cc-by-sa3.0
10010 license:public-domain
10014 (define-public libratbag
10021 (uri (git-reference
10022 (url "https://github.com/libratbag/libratbag.git")
10023 (commit (string-append "v" version))))
10024 (file-name (git-file-name name version))
10026 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10027 (build-system meson-build-system)
10029 `(#:configure-flags
10030 (list "-Dsystemd=false"
10031 "-Dlogind-provider=elogind")
10033 (modify-phases %standard-phases
10034 (add-after 'install 'wrap
10035 (lambda* (#:key inputs outputs #:allow-other-keys)
10036 (let* ((out (assoc-ref outputs "out"))
10037 (site (string-append
10039 ,(version-major+minor (package-version python))
10041 (evdev (string-append
10042 (assoc-ref inputs "python-evdev") site))
10043 (pygo (string-append
10044 (assoc-ref inputs "python-pygobject") site))
10046 `("PYTHONPATH" = (,evdev ,pygo))))
10047 (wrap-program (string-append out "/bin/" "ratbagctl")
10052 ("pkg-config" ,pkg-config)
10054 ("valgrind" ,valgrind)))
10057 ("json-glib" ,json-glib)
10058 ("libevdev" ,libevdev)
10059 ("libsystemd" ,elogind)
10060 ("libunistring" ,libunistring)
10061 ("python-evdev" ,python-evdev)
10062 ("python-pygobject" ,python-pygobject)
10064 (home-page "https://github.com/libratbag/libratbag")
10065 (synopsis "DBus daemon and utility for configuring gaming mice")
10066 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10067 configure input devices, mainly gaming mice. The daemon provides a generic
10068 way to access the various features exposed by these mice and abstracts away
10069 hardware-specific and kernel-specific quirks. There is also the
10070 @command{ratbagctl} command line interface for configuring devices.
10072 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10075 The ratbagd DBus service can be enabled by adding the following service to
10076 your operating-system definition:
10078 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10079 (license license:expat)))
10081 (define-public piper
10088 (uri (git-reference
10089 (url "https://github.com/libratbag/piper.git")
10092 (base32 "17h06j8lxpbfygq8fzycl7lml4vv7r05bsyhh3gga2hp0zms4mvg"))))
10093 (build-system meson-build-system)
10095 `(("gettext" ,gettext-minimal)
10096 ("glib:bin" ,glib "bin")
10097 ("gobject-introspection" ,gobject-introspection)
10098 ("pkg-config" ,pkg-config)
10099 ("python-flake8" ,python-flake8)))
10101 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10103 ("gtk:bin" ,gtk+ "bin")
10104 ("librsvg" ,librsvg)
10105 ("python-evdev" ,python-evdev)
10106 ("python-lxml" ,python-lxml)
10107 ("python-pycairo" ,python-pycairo)
10108 ("python-pygobject" ,python-pygobject)))
10110 `(#:imported-modules ((guix build python-build-system)
10111 ,@%meson-build-system-modules)
10112 #:modules (((guix build python-build-system) #:prefix python:)
10113 (guix build meson-build-system)
10114 (guix build utils))
10116 (modify-phases %standard-phases
10117 (add-after 'unpack 'dont-update-gtk-icon-cache
10119 (substitute* "meson.build"
10120 (("meson.add_install_script('meson_install.sh')") ""))
10122 ;; TODO: Switch to wrap-script when it is fixed.
10123 (add-after 'install 'wrap-python
10124 (assoc-ref python:%standard-phases 'wrap))
10125 (add-after 'wrap-python 'wrap
10126 (lambda* (#:key outputs #:allow-other-keys)
10128 (string-append (assoc-ref outputs "out" )"/bin/piper")
10129 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10131 (home-page "https://github.com/libratbag/piper/")
10132 (synopsis "Configure bindings and LEDs on gaming mice")
10133 (description "Piper is a GTK+ application for configuring gaming mice with
10134 onboard configuration for key bindings via libratbag. Piper requires
10135 a @command{ratbagd} daemon running with root privileges. It can be run
10136 manually as root, but is preferably configured as a DBus service that can
10137 launch on demand. This can be configured by enabling the following service,
10138 provided there is a DBus service present:
10140 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10141 (license license:gpl2)))
10143 (define-public parlatype
10144 ;; This is one commit away from 2.0, because the latter introduced
10145 ;; a regression in ASR.
10146 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
10150 (version (git-version "2.0" revision commit))
10154 (uri (git-reference
10155 (url "https://github.com/gkarsay/parlatype.git")
10157 (file-name (git-file-name name version))
10159 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
10160 (build-system meson-build-system)
10162 `(#:glib-or-gtk? #t
10163 #:tests? #f ;require internet access
10165 (modify-phases %standard-phases
10166 (add-after 'install 'wrap-parlatype
10167 ;; Add gstreamer plugin provided in this package to system's
10169 (lambda* (#:key outputs #:allow-other-keys)
10170 (let* ((out (assoc-ref outputs "out"))
10171 (gst-plugin-path (string-append
10172 out "/lib/gstreamer-1.0/"
10174 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10175 (wrap-program (string-append out "/bin/parlatype")
10176 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10179 `(("appstream-glib" ,appstream-glib)
10180 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10181 ("gettext" ,gettext-minimal)
10182 ("glib" ,glib "bin") ;for glib-compile-resources
10183 ("pkg-config" ,pkg-config)
10184 ("yelp-tools" ,yelp-tools)))
10186 `(("gst-plugins-base" ,gst-plugins-base)
10187 ("gst-plugins-good" ,gst-plugins-good)
10188 ("gstreamer" ,gstreamer)
10190 ("pocketsphinx" ,pocketsphinx)
10191 ("pulseaudio" ,pulseaudio)
10192 ("sphinxbase" ,sphinxbase)))
10193 (home-page "http://gkarsay.github.io/parlatype/")
10194 (synopsis "GNOME audio player for transcription")
10195 (description "Parlatype is an audio player for the GNOME desktop
10196 environment. Its main purpose is the manual transcription of spoken
10198 (license license:gpl3+))))
10200 (define-public jsonrpc-glib
10202 (name "jsonrpc-glib")
10206 (uri (string-append "mirror://gnome/sources/" name "/"
10207 (version-major+minor version) "/"
10208 name "-" version ".tar.xz"))
10211 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10212 (build-system meson-build-system)
10214 `(("json-glib" ,json-glib)
10217 `(("pkg-config" ,pkg-config)
10218 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10219 ("gobject-introspection" ,gobject-introspection)
10221 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10222 (synopsis "JSON-RPC library for GLib")
10223 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10224 peers in either a synchronous or asynchronous fashion. It also allows
10225 communicating using the GVariant serialization format instead of JSON when
10226 both peers support it. You might want that when communicating on a single
10227 host to avoid parser overhead and memory-allocator fragmentation.")
10228 (license license:lgpl2.1+)))