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, 2020 Eric Bavier <bavier@posteo.net>
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, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
59 ;;; This file is part of GNU Guix.
61 ;;; GNU Guix is free software; you can redistribute it and/or modify it
62 ;;; under the terms of the GNU General Public License as published by
63 ;;; the Free Software Foundation; either version 3 of the License, or (at
64 ;;; your option) any later version.
66 ;;; GNU Guix is distributed in the hope that it will be useful, but
67 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
68 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69 ;;; GNU General Public License for more details.
71 ;;; You should have received a copy of the GNU General Public License
72 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
74 (define-module (gnu packages gnome)
75 #:use-module (gnu packages)
76 #:use-module (gnu packages admin)
77 #:use-module (gnu packages aspell)
78 #:use-module (gnu packages autotools)
79 #:use-module (gnu packages avahi)
80 #:use-module (gnu packages backup)
81 #:use-module (gnu packages base)
82 #:use-module (gnu packages bash)
83 #:use-module (gnu packages bison)
84 #:use-module (gnu packages boost)
85 #:use-module (gnu packages build-tools)
86 #:use-module (gnu packages calendar)
87 #:use-module (gnu packages cdrom)
88 #:use-module (gnu packages check)
89 #:use-module (gnu packages cmake)
90 #:use-module (gnu packages compression)
91 #:use-module (gnu packages crates-io)
92 #:use-module (gnu packages cups)
93 #:use-module (gnu packages curl)
94 #:use-module (gnu packages cyrus-sasl)
95 #:use-module (gnu packages databases)
96 #:use-module (gnu packages dbm)
97 #:use-module (gnu packages djvu)
98 #:use-module (gnu packages dns)
99 #:use-module (gnu packages docbook)
100 #:use-module (gnu packages documentation)
101 #:use-module (gnu packages enchant)
102 #:use-module (gnu packages flex)
103 #:use-module (gnu packages fonts)
104 #:use-module (gnu packages file-systems)
105 #:use-module (gnu packages fontutils)
106 #:use-module (gnu packages freedesktop)
107 #:use-module (gnu packages game-development)
108 #:use-module (gnu packages gettext)
109 #:use-module (gnu packages ghostscript)
110 #:use-module (gnu packages gl)
111 #:use-module (gnu packages glib)
112 #:use-module (gnu packages gnupg)
113 #:use-module (gnu packages gnuzilla)
114 #:use-module (gnu packages geo)
115 #:use-module (gnu packages gperf)
116 #:use-module (gnu packages graphviz)
117 #:use-module (gnu packages gstreamer)
118 #:use-module (gnu packages gtk)
119 #:use-module (gnu packages guile)
120 #:use-module (gnu packages ibus)
121 #:use-module (gnu packages icu4c)
122 #:use-module (gnu packages image)
123 #:use-module (gnu packages imagemagick)
124 #:use-module (gnu packages inkscape)
125 #:use-module (gnu packages iso-codes)
126 #:use-module (gnu packages kerberos)
127 #:use-module (gnu packages libcanberra)
128 #:use-module (gnu packages libunistring)
129 #:use-module (gnu packages libunwind)
130 #:use-module (gnu packages libusb)
131 #:use-module (gnu packages linux)
132 #:use-module (gnu packages lirc)
133 #:use-module (gnu packages lua)
134 #:use-module (gnu packages mail)
135 #:use-module (gnu packages mp3)
136 #:use-module (gnu packages multiprecision)
137 #:use-module (gnu packages music)
138 #:use-module (gnu packages ncurses)
139 #:use-module (gnu packages nettle)
140 #:use-module (gnu packages networking)
141 #:use-module (gnu packages ninja)
142 #:use-module (gnu packages nss)
143 #:use-module (gnu packages openldap)
144 #:use-module (gnu packages password-utils)
145 #:use-module (gnu packages pcre)
146 #:use-module (gnu packages pdf)
147 #:use-module (gnu packages perl)
148 #:use-module (gnu packages photo)
149 #:use-module (gnu packages php)
150 #:use-module (gnu packages pkg-config)
151 #:use-module (gnu packages polkit)
152 #:use-module (gnu packages popt)
153 #:use-module (gnu packages pretty-print)
154 #:use-module (gnu packages pulseaudio)
155 #:use-module (gnu packages python)
156 #:use-module (gnu packages python-crypto)
157 #:use-module (gnu packages python-web)
158 #:use-module (gnu packages python-xyz)
159 #:use-module (gnu packages rdesktop)
160 #:use-module (gnu packages readline)
161 #:use-module (gnu packages ruby)
162 #:use-module (gnu packages rust)
163 #:use-module (gnu packages samba)
164 #:use-module (gnu packages scanner)
165 #:use-module (gnu packages selinux)
166 #:use-module (gnu packages slang)
167 #:use-module (gnu packages speech)
168 #:use-module (gnu packages spice)
169 #:use-module (gnu packages sqlite)
170 #:use-module (gnu packages ssh)
171 #:use-module (gnu packages swig)
172 #:use-module (gnu packages tex)
173 #:use-module (gnu packages time)
174 #:use-module (gnu packages tls)
175 #:use-module (gnu packages valgrind)
176 #:use-module (gnu packages version-control)
177 #:use-module (gnu packages video)
178 #:use-module (gnu packages virtualization)
179 #:use-module (gnu packages vpn)
180 #:use-module (gnu packages web)
181 #:use-module (gnu packages webkit)
182 #:use-module (gnu packages xdisorg)
183 #:use-module (gnu packages xiph)
184 #:use-module (gnu packages xml)
185 #:use-module (gnu packages xorg)
186 #:use-module (gnu artwork)
187 #:use-module ((guix build utils) #:select (modify-phases))
188 #:use-module (guix build-system cargo)
189 #:use-module (guix build-system cmake)
190 #:use-module (guix build-system glib-or-gtk)
191 #:use-module (guix build-system gnu)
192 #:use-module (guix build-system meson)
193 #:use-module (guix build-system python)
194 #:use-module (guix build-system trivial)
195 #:use-module (guix download)
196 #:use-module (guix git-download)
197 #:use-module ((guix licenses) #:prefix license:)
198 #:use-module (guix packages)
199 #:use-module (guix utils)
200 #:use-module (guix gexp)
201 #:use-module (guix monads)
202 #:use-module (guix store)
203 #:use-module (ice-9 match)
204 #:use-module (srfi srfi-1))
206 (define-public brasero
212 (uri (string-append "mirror://gnome/sources/brasero/"
213 (version-major+minor version) "/"
214 "brasero-" version ".tar.xz"))
217 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
218 (build-system glib-or-gtk-build-system)
220 `(#:configure-flags (list
221 (string-append "--with-girdir="
222 (assoc-ref %outputs "out")
224 (string-append "--with-typelibdir="
225 (assoc-ref %outputs "out")
226 "/lib/girepository-1.0"))
228 (modify-phases %standard-phases
229 (add-before 'configure 'embed-growisofs
230 (lambda* (#:key inputs #:allow-other-keys)
231 (substitute* "plugins/growisofs/burn-growisofs.c"
232 (("\"growisofs") (string-append "\"" (which "growisofs"))))
235 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
237 `(("intltool" ,intltool)
239 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
240 ("gobject-introspection" ,gobject-introspection)
241 ("pkg-config" ,pkg-config)))
243 `(("dvd+rw-tools" ,dvd+rw-tools)
245 ("gnome-doc-utils" ,gnome-doc-utils)
246 ("gstreamer" ,gstreamer)
247 ("gst-plugins-base" ,gst-plugins-base)
249 ("libcanberra" ,libcanberra)
251 ("libnotify" ,libnotify)
254 ("totem-pl-parser" ,totem-pl-parser)))
255 (home-page "https://wiki.gnome.org/Apps/Brasero")
256 (synopsis "CD/DVD burning tool for Gnome")
257 (description "Brasero is an application to burn CD/DVD for the Gnome
258 Desktop. It is designed to be as simple as possible and has some unique
259 features to enable users to create their discs easily and quickly.")
260 (license license:gpl2+)))
262 (define-public notification-daemon
264 (name "notification-daemon")
270 (string-append "mirror://gnome/sources/" name "/"
271 (version-major+minor version) "/"
272 name "-" version ".tar.xz"))
275 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
276 (build-system glib-or-gtk-build-system)
278 `(("intltool" ,intltool)
279 ("pkg-config" ,pkg-config)))
284 (synopsis "Notification Daemon for GNOME Desktop")
285 (description "Notification-Daemon is the server implementation of the
286 freedesktop.org desktop notification specification.")
287 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
288 (license license:gpl2+)))
290 (define-public mm-common
296 (uri (string-append "mirror://gnome/sources/mm-common/"
297 (version-major+minor version) "/"
298 "mm-common-" version ".tar.xz"))
301 "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8"))))
302 (build-system meson-build-system)
305 (modify-phases %standard-phases
306 (add-after 'unpack 'patch
307 (lambda* (#:key inputs #:allow-other-keys)
308 (substitute* "util/mm-common-prepare.in"
309 (("ln") (string-append (assoc-ref inputs "coreutils")
311 (("cp") (string-append (assoc-ref inputs "coreutils")
313 (("sed") (string-append (assoc-ref inputs "sed")
315 (("cat") (string-append (assoc-ref inputs "coreutils")
319 `(("coreutils" ,coreutils)
320 ("gettext" ,gettext-minimal)
321 ("pkg-config" ,pkg-config)
324 `(("python" ,python)))
325 (synopsis "Module of GNOME C++ bindings")
326 (description "The mm-common module provides the build infrastructure
327 and utilities shared among the GNOME C++ binding libraries. Release
328 archives of mm-common include the Doxygen tag file for the GNU C++
329 Library reference documentation.")
330 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
331 (license license:gpl2+)))
333 (define-public phodav
339 (uri (string-append "mirror://gnome/sources/" name "/"
340 (version-major+minor version) "/"
341 name "-" version ".tar.xz"))
344 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
345 (build-system meson-build-system)
347 `(("gettext" ,gettext-minimal)
348 ("glib:bin" ,glib "bin")
350 ("pkg-config" ,pkg-config)))
353 ("libgudev" ,libgudev)
354 ("libsoup" ,libsoup)))
355 (synopsis "WebDav server implementation using libsoup")
356 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
357 but it is generic enough to be reused in other projects,
358 in particular in the GNOME desktop.")
359 (home-page "https://wiki.gnome.org/phodav")
360 (license license:lgpl2.1+)))
362 (define-public gnome-color-manager
364 (name "gnome-color-manager")
368 (uri (string-append "mirror://gnome/sources/" name "/"
369 (version-major+minor version) "/"
370 name "-" version ".tar.xz"))
373 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
374 (build-system meson-build-system)
378 (modify-phases %standard-phases
382 ;; Tests require a running X server.
384 (setenv "DISPLAY" ":1")
387 `(("desktop-file-utils" ,desktop-file-utils)
388 ("gettext" ,gettext-minimal)
389 ("glib:bin" ,glib "bin")
390 ("gtk+:bin" ,gtk+ "bin")
392 ("pkg-config" ,pkg-config)
393 ("xorg-server" ,xorg-server-for-tests)))
395 `(("adwaita-icon-theme" ,adwaita-icon-theme)
396 ("appstream-glib" ,appstream-glib)
397 ("colord-gtk" ,colord-gtk)
399 ("gnome-desktop" ,gnome-desktop)
400 ("libcanberra" ,libcanberra)
403 ("libxrandr" ,libxrandr)
405 ("libxxf86vm" ,libxxf86vm)
407 ("xorgproto" ,xorgproto)))
408 (synopsis "Color profile manager for the GNOME desktop")
409 (description "GNOME Color Manager is a session framework that makes
410 it easy to manage, install and generate color profiles
411 in the GNOME desktop.")
412 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
413 (license license:gpl2+)))
415 (define-public gnome-online-miners
417 (name "gnome-online-miners")
421 (uri (string-append "mirror://gnome/sources/" name "/"
422 (version-major+minor version) "/"
423 name "-" version ".tar.xz"))
426 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
427 (build-system glib-or-gtk-build-system)
429 `(("gettext" ,gettext-minimal)
430 ("glib:bin" ,glib "bin")
431 ("gobject-introspection" ,gobject-introspection)
432 ("gtk+:bin" ,gtk+ "bin")
433 ("pkg-config" ,pkg-config)))
435 `(("gnome-online-accounts" ,gnome-online-accounts)
436 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
438 ("libgdata" ,libgdata)
439 ("libgfbgraph" ,gfbgraph)
440 ("libzapojit" ,libzapojit)
442 ("tracker" ,tracker)))
443 (synopsis "Web Crawlers for GNOME")
444 (description "GNOME Online Miners provides a set of crawlers that
445 go through your online content and index them locally in Tracker.
446 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
447 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
448 (license license:gpl2+)))
456 (uri (string-append "mirror://gnome/sources/" name "/"
457 (version-major+minor version) "/"
458 name "-" version ".tar.xz"))
461 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
462 (build-system meson-build-system)
464 `(("gettext" ,gettext-minimal)
465 ("glib:bin" ,glib "bin")
466 ("gobject-introspection" ,gobject-introspection)
468 ("pkg-config" ,pkg-config)
472 ("libsoup" ,libsoup)))
473 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
474 Protocol} for GNOME")
475 (description "This package provides a library to handle resource discovery
476 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
477 a debugging tool, @command{gssdp-device-sniffer}.")
478 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
479 (license license:lgpl2.0+)))
487 (uri (string-append "mirror://gnome/sources/" name "/"
488 (version-major+minor version) "/"
489 name "-" version ".tar.xz"))
492 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
493 (build-system meson-build-system)
495 `(("gettext" ,gettext-minimal)
496 ("glib:bin" ,glib "bin")
497 ("gobject-introspection" ,gobject-introspection)
499 ("pkg-config" ,pkg-config)
504 ("libsoup" ,libsoup)))
505 (synopsis "PnP API for GNOME")
506 (description "This package provides GUPnP, an object-oriented framework
507 for creating UPnP devices and control points, written in C using
508 @code{GObject} and @code{libsoup}.")
509 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
510 (license license:lgpl2.0+)))
512 (define-public gupnp-dlna
518 (uri (string-append "mirror://gnome/sources/" name "/"
519 (version-major+minor version) "/"
520 name "-" version ".tar.xz"))
523 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
524 (build-system gnu-build-system)
526 `(("gettext" ,gettext-minimal)
527 ("glib:bin" ,glib "bin")
528 ("gobject-introspection" ,gobject-introspection)
531 ("pkg-config" ,pkg-config)
534 `(("gstreamer" ,gstreamer)
537 `(("gst-plugins-base" ,gst-plugins-base)
538 ("gst-plugins-good" ,gst-plugins-good)))
539 (synopsis "GUPnP DLNA for GNOME")
540 (description "This package provides a small utility library to
541 support DLNA-related tasks such as media profile guessing, transcoding to a
542 given profile, etc. DLNA is a subset of UPnP A/V.")
543 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
544 (license license:lgpl2.0+)))
546 (define-public gupnp-av
552 (uri (string-append "mirror://gnome/sources/" name "/"
553 (version-major+minor version) "/"
554 name "-" version ".tar.xz"))
557 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
558 (build-system gnu-build-system)
560 `(("gettext" ,gettext-minimal)
561 ("glib:bin" ,glib "bin")
562 ("gobject-introspection" ,gobject-introspection)
565 ("pkg-config" ,pkg-config)))
569 (synopsis "GUPnP A/V for GNOME")
570 (description "This package provides a small library for handling
571 and implementation of UPnP A/V profiles.")
572 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
573 (license license:lgpl2.0+)))
575 (define-public libmediaart
581 (uri (string-append "mirror://gnome/sources/" name "/"
582 (version-major+minor version) "/"
583 name "-" version ".tar.xz"))
586 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
587 (build-system gnu-build-system)
589 `(("glib:bin" ,glib "bin")
590 ("pkg-config" ,pkg-config)))
592 `(("gdk-pixbuf" ,gdk-pixbuf)
593 ("gettext" ,gettext-minimal)
594 ("gobject-introspection" ,gobject-introspection)
595 ("gtk+:doc", gtk+ "doc")
597 (synopsis "Media art library for the GNOME desktop")
599 "The libmediaart library is the foundation for media art caching,
600 extraction, and lookup for applications on the desktop.")
601 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
602 (license license:lgpl2.1+)))
604 (define-public gnome-initial-setup
606 (name "gnome-initial-setup")
610 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
611 (version-major+minor version)
612 "/gnome-initial-setup-" version ".tar.xz"))
615 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
616 (build-system meson-build-system)
618 '(#:configure-flags '(;; Enable camera support for user selfie.
621 #:phases (modify-phases %standard-phases
622 (add-after 'unpack 'set-gkbd-file-name
623 (lambda* (#:key inputs #:allow-other-keys)
624 ;; Allow the "Preview" button in the keyboard layout
625 ;; selection dialog to display the layout.
626 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
627 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
628 (("\"gkbd-keyboard-display")
629 (string-append "\"" libgnomekbd
630 "/bin/gkbd-keyboard-display")))
633 `(("gettext" ,gettext-minimal)
634 ("glib:bin" ,glib "bin")
635 ("gobject-introspection" ,gobject-introspection)
636 ("gtk+:bin" ,gtk+ "bin")
637 ("pkg-config" ,pkg-config)))
639 `(("accountsservice" ,accountsservice)
640 ;("adwaita-icon-theme" ,adwaita-icon-theme)
643 ("gnome-desktop" ,gnome-desktop)
644 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
645 ("gnome-online-accounts" ,gnome-online-accounts)
646 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
647 ("gstreamer" ,gstreamer)
649 ("json-glib" ,json-glib)
651 ("libgweather" ,libgweather)
653 ("libsecret" ,libsecret)
654 ("network-manager" ,network-manager)
655 ("packagekit" ,packagekit)
657 ("pwquality" ,libpwquality)
660 ("webkitgtk" ,webkitgtk)
661 ("libgnomekbd" ,libgnomekbd)))
662 (synopsis "Initial setup wizard for GNOME desktop")
663 (description "This package provides a set-up wizard when a
664 user logs into GNOME for the first time. It typically provides a
665 tour of all gnome components and allows the user to set them up.")
666 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
667 (license license:gpl2)))
669 (define-public gnome-user-share
671 (name "gnome-user-share")
675 (uri (string-append "mirror://gnome/sources/" name "/"
676 (version-major+minor version) "/"
677 name "-" version ".tar.xz"))
680 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
681 (build-system meson-build-system)
686 ;; Enable nautilus extension for file sharing.
687 "-Dnautilus_extension=true")))
689 `(("gettext" ,gettext-minimal)
690 ("glib:bin" ,glib "bin")
691 ("gobject-introspection" ,gobject-introspection)
692 ("gtk+:bin" ,gtk+ "bin")
693 ("pkg-config" ,pkg-config)
694 ("yelp-tools" ,yelp-tools)))
697 ("gnome-bluetooth" ,gnome-bluetooth)
699 ("libcanberra" ,libcanberra)
700 ("libnotify" ,libnotify)
701 ("nautilus" ,nautilus))) ; For nautilus extension.
702 (synopsis "File sharing for GNOME desktop")
703 (description "GNOME User Share is a small package that binds together
704 various free software projects to bring easy to use user-level file
705 sharing to the masses.")
706 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
707 (license license:gpl2+)))
715 (uri (string-append "mirror://gnome/sources/" name "/"
716 (version-major+minor version) "/"
717 name "-" version ".tar.xz"))
720 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
721 (build-system meson-build-system)
725 (modify-phases %standard-phases
726 (add-after 'glib-or-gtk-wrap 'wrap-typelib
727 (lambda* (#:key outputs #:allow-other-keys)
728 (let ((prog (string-append (assoc-ref outputs "out")
730 ;; Put existing typelibs before sushi's deps, so as to correctly
733 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
736 `(("glib:bin" ,glib "bin")
737 ("gettext" ,gettext-minimal)
738 ("gobject-introspection" ,gobject-introspection)
739 ("pkg-config" ,pkg-config)))
741 `(("clutter" ,clutter)
742 ("clutter-gst" ,clutter-gst)
743 ("clutter-gtk" ,clutter-gtk)
744 ("evince" ,evince) ; For file previewing.
745 ("freetype" ,freetype)
746 ("gdk-pixbuf" ,gdk-pixbuf)
748 ("gst-plugins-base" ,gst-plugins-base)
749 ("gstreamer" ,gstreamer)
750 ("gtksourceview" ,gtksourceview-3)
751 ("harfbuzz" ,harfbuzz)
752 ("libepoxy" ,libepoxy)
753 ("libmusicbrainz" ,libmusicbrainz)
756 ("webkitgtk" ,webkitgtk)))
757 (synopsis "File previewer for the GNOME desktop")
758 (description "Sushi is a DBus-activated service that allows applications to
759 preview files on the GNOME desktop.")
760 (home-page "https://gitlab.gnome.org/GNOME/sushi")
761 (license license:gpl2+)))
769 (uri (string-append "mirror://gnome/sources/" name "/"
770 (version-major+minor version) "/"
771 name "-" version ".tar.xz"))
774 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
775 (build-system gnu-build-system)
777 `(("gettext" ,gettext-minimal)
778 ("gobject-introspection" ,gobject-introspection)
780 ("pkg-config" ,pkg-config)
783 `(("gdk-pixbuf" ,gdk-pixbuf)
785 ("gstreamer" ,gstreamer)
786 ("gst-plugins-base" ,gst-plugins-base)
789 ("gupnp-av" ,gupnp-av)
790 ("gupnp-dlna" ,gupnp-dlna)
792 ("libmediaart" ,libmediaart)
795 ("libunistring" ,libunistring)
796 ("tracker" ,tracker)))
797 (synopsis "Share audio, video, and pictures with other devices")
799 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
800 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
801 pictures, and to control a media player on your home network.
803 Rygel achieves interoperability with other devices by trying to conform to the
804 strict requirements of DLNA and by converting media on-the-fly to formats that
805 client devices can handle.")
806 (home-page "https://wiki.gnome.org/Projects/Rygel")
808 ;; For logo (data/icons/*).
813 (define-public libnma
819 (uri (string-append "mirror://gnome/sources/" name "/"
820 (version-major+minor version) "/"
821 name "-" version ".tar.xz"))
824 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
825 (build-system meson-build-system)
828 (modify-phases %standard-phases
829 (add-after 'unpack 'patch-docbook-xml
830 (lambda* (#:key inputs #:allow-other-keys)
831 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
832 "/xml/dtd/docbook")))
833 (substitute* "libnma-docs.xml"
834 (("http://.*/docbookx\\.dtd")
835 (string-append xmldoc "/docbookx.dtd")))
838 `(("docbook-xml" ,docbook-xml-4.3)
839 ("gettext" ,gettext-minimal)
840 ("glib:bin" ,glib "bin")
842 ("gobject-introspection" ,gobject-introspection)
843 ("pkg-config" ,pkg-config)
848 ("iso-codes" ,iso-codes)
849 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
850 ("network-manager" ,network-manager)))
851 (synopsis "Network Manager's applet library")
852 (description "Libnma is an applet library for Network Manager. It was
853 initially part of network-manager-applet and has now become a separate
855 (home-page "https://gitlab.gnome.org/GNOME/libnma")
856 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
858 (license license:gpl2+)))
860 (define-public gnome-menus
866 (uri (string-append "mirror://gnome/sources/gnome-menus/"
867 (version-major+minor version) "/"
868 name "-" version ".tar.xz"))
871 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
872 (build-system gnu-build-system)
874 `(("gettext" ,gettext-minimal)
876 ("pkg-config" ,pkg-config)))
877 (synopsis "Menu support for GNOME desktop")
878 (description "GNOME Menus contains the libgnome-menu library, the layout
879 configuration files for the GNOME menu, as well as a simple menu editor.")
880 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
881 (license license:lgpl2.0+)))
883 (define-public deja-dup
889 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
890 version "/deja-dup-" version ".tar.bz2"))
893 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
894 (build-system meson-build-system)
899 ;; Otherwise, the RUNPATH will lack the final path component.
900 (string-append "-Dc_link_args=-Wl,-rpath="
901 (assoc-ref %outputs "out") "/lib/deja-dup"))
903 (modify-phases %standard-phases
904 (add-after 'unpack 'patch-paths
905 (lambda* (#:key inputs #:allow-other-keys)
906 (let ((python (assoc-ref inputs "python")))
907 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
908 "libdeja/tests/scripts/instance-error.test")
911 (substitute* "libdeja/tests/runner.vala"
914 (substitute* "libdeja/tests/scripts/instance-error.test"
916 (string-append python "/bin/python3"))))))
917 (add-after 'unpack 'patch-libgpg-error
918 (lambda* (#:key inputs #:allow-other-keys)
919 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
920 (substitute* "meson.build"
921 (("(gpgerror_libs = ).*" _ var)
922 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
924 (add-after 'unpack 'skip-gtk-update-icon-cache
925 ;; Don't create 'icon-theme.cache'.
927 (substitute* "data/post-install.sh"
928 (("gtk-update-icon-cache") "true"))
931 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
932 ("duplicity" ,duplicity)
934 ("python-pygobject" ,python-pygobject)
936 ("json-glib" ,json-glib)
937 ("libnotify" ,libnotify)
938 ("libgpg-error" ,libgpg-error)
939 ("libsecret" ,libsecret)
941 ("packagekit" ,packagekit)))
943 `(("appstream-glib" ,appstream-glib)
944 ("desktop-file-utils" ,desktop-file-utils)
945 ("gettext" ,gettext-minimal)
946 ("glib" ,glib "bin") ; for glib-compile-schemas.
947 ("gobject-introspection" ,gobject-introspection)
949 ("pkg-config" ,pkg-config)
951 (home-page "https://wiki.gnome.org/Apps/DejaDup")
952 (synopsis "Simple backup tool, for regular encrypted backups")
954 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
955 uses duplicity as the backend, which supports incremental backups and storage
956 either on a local, or remote machine via a number of methods.")
957 (license license:gpl3+)))
959 (define-public gnome-user-docs
961 (name "gnome-user-docs")
966 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
967 (version-major+minor version)
968 "/gnome-user-docs-" version ".tar.xz"))
970 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
971 (build-system gnu-build-system)
973 `(("gettext" ,gettext-minimal)
975 ("pkg-config" ,pkg-config)
976 ("xmllint" ,libxml2)))
977 (synopsis "User documentation for the GNOME desktop")
979 "The GNOME User Documentation explains how to use the GNOME desktop and its
980 components. It covers usage and setup of the core GNOME programs by end-users
981 and system administrators.")
982 (home-page "https://live.gnome.org/DocumentationProject")
983 (license license:cc-by3.0)))
985 (define-public gnome-getting-started-docs
987 (name "gnome-getting-started-docs")
992 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
993 (version-major+minor version)
994 "/gnome-getting-started-docs-" version ".tar.xz"))
996 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
997 (build-system gnu-build-system)
999 `(("gettext" ,gettext-minimal)
1000 ("itstool" ,itstool)
1001 ("pkg-config" ,pkg-config)
1002 ("xmllint" ,libxml2)))
1003 (synopsis "Help to get new users started with the GNOME desktop")
1005 "The GNOME Getting Started Documentation contains GNOME's intuitive
1006 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1008 It is normally used together with @command{gnome-initial-setup}, but is also
1009 useful as a tutorial and users' guide for new or less experienced users.")
1010 (home-page "https://live.gnome.org/DocumentationProject")
1011 (license license:cc-by-sa3.0)))
1014 ;; This version from GNOME's repository includes fixes for compiling with
1015 ;; recent versions of the build tools. The latest activity on the
1016 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1018 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1022 (version (git-version "0.97.3" revision commit))
1026 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1028 (file-name (git-file-name name version))
1031 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1032 (build-system meson-build-system)
1034 `(("graphene" ,graphene)
1036 ("libxml2" ,libxml2)
1037 ("libxslt" ,libxslt)
1038 ("poppler" ,poppler)
1039 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1040 ;; ERROR: Unknown method "dependency" in object.
1041 ("python-2" ,python-2)))
1043 `(("appstream-glib" ,appstream-glib)
1044 ("docbook-xsl" ,docbook-xsl)
1045 ("glib" ,glib "bin")
1046 ("intltool" ,intltool)
1047 ("pkg-config" ,pkg-config)))
1048 (home-page "https://wiki.gnome.org/Apps/Dia")
1049 (synopsis "Diagram creation for GNOME")
1050 (description "Dia can be used to draw different types of diagrams, and
1051 includes support for UML static structure diagrams (class diagrams), entity
1052 relationship modeling, and network diagrams. The program supports various file
1053 formats like PNG, SVG, PDF and EPS.")
1054 (license license:gpl2+))))
1056 ;; This is the unstable release, but it is required for the current stable
1057 ;; release of gvfs (1.38.1).
1058 (define-public libgdata
1064 (uri (string-append "mirror://gnome/sources/" name "/"
1065 (version-major+minor version) "/"
1066 name "-" version ".tar.xz"))
1069 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1070 (build-system gnu-build-system)
1073 (modify-phases %standard-phases
1074 (add-before 'check 'disable-failing-tests
1076 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1077 ;; They have been removed in libgdata 0.17.6, so just do the same.
1078 (substitute* "gdata/tests/Makefile"
1079 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1082 `(("glib:bin" ,glib "bin")
1083 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1084 ("intltool" ,intltool)
1085 ("pkg-config" ,pkg-config)
1086 ("uhttpmock" ,uhttpmock)))
1088 `(("cyrus-sasl" ,cyrus-sasl)
1089 ("glib-networking" ,glib-networking)))
1093 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1094 ("json-glib" ,json-glib)
1095 ("liboauth" ,liboauth)
1096 ("libsoup" ,libsoup)
1097 ("libxml2" ,libxml2)))
1098 (home-page "https://wiki.gnome.org/Projects/libgdata")
1099 (synopsis "Library for accessing online service APIs")
1101 "libgdata is a GLib-based library for accessing online service APIs using
1102 the GData protocol — most notably, Google's services. It provides APIs to
1103 access the common Google services, and has full asynchronous support.")
1104 (license license:lgpl2.1+)))
1106 (define-public libgxps
1112 (uri (string-append "mirror://gnome/sources/" name "/"
1113 (version-major+minor version) "/"
1114 name "-" version ".tar.xz"))
1117 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1118 (build-system meson-build-system)
1120 `(("gobject-introspection" ,gobject-introspection)
1121 ("pkg-config" ,pkg-config)))
1124 ("libjpeg" ,libjpeg-turbo)
1126 ("libtiff" ,libtiff)))
1128 ;; In Requires of libgxps.pc.
1131 ("libarchive" ,libarchive)))
1132 (home-page "https://wiki.gnome.org/Projects/libgxps")
1133 (synopsis "GObject-based library for handling and rendering XPS documents")
1135 "libgxps is a GObject-based library for handling and rendering XPS
1136 documents. This package also contains binaries that can convert XPS documents
1138 (license license:lgpl2.1+)))
1140 (define-public gnome-characters
1142 (name "gnome-characters")
1147 (uri (string-append "mirror://gnome/sources/"
1148 "gnome-characters/" (version-major+minor version)
1149 "/gnome-characters-" version ".tar.xz"))
1152 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1153 (build-system meson-build-system)
1156 #:phases (modify-phases %standard-phases
1157 (add-after 'install 'wrap
1158 (lambda* (#:key outputs #:allow-other-keys)
1159 ;; GNOME Characters needs Typelib files from GTK and
1161 (wrap-program (string-append (assoc-ref outputs "out")
1162 "/bin/gnome-characters")
1163 `("GI_TYPELIB_PATH" ":" prefix
1164 (,(getenv "GI_TYPELIB_PATH"))))
1167 `(("gettext" ,gettext-minimal)
1168 ("glib:bin" ,glib "bin")
1169 ("gtk+:bin" ,gtk+ "bin")
1170 ("pkg-config" ,pkg-config)
1171 ("python" ,python-minimal)))
1175 ("libunistring" ,libunistring)
1176 ("gnome-desktop" ,gnome-desktop)))
1177 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1178 (synopsis "Find and insert unusual characters")
1179 (description "Characters is a simple utility application to find
1180 and insert unusual characters. It allows you to quickly find the
1181 character you are looking for by searching for keywords.")
1182 (license license:bsd-3)))
1184 (define-public gnome-common
1186 (name "gnome-common")
1191 (uri (string-append "mirror://gnome/sources/" name "/"
1192 (version-major+minor version) "/"
1193 name "-" version ".tar.xz"))
1196 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1197 (build-system gnu-build-system)
1198 (home-page "https://www.gnome.org/")
1199 (synopsis "Bootstrap GNOME modules built from Git")
1200 (description "gnome-common contains various files needed to bootstrap
1201 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1202 can be used to configure a source directory checked out from Git and some
1203 commonly used macros.")
1204 (license license:gpl2+)))
1206 (define-public gnome-contacts
1208 (name "gnome-contacts")
1212 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1213 (version-major+minor version) "/"
1214 name "-" version ".tar.xz"))
1217 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1218 (build-system meson-build-system)
1220 `(#:configure-flags '("-Dcheese=false")
1222 (modify-phases %standard-phases
1223 (add-after 'unpack 'generate-vapis
1224 (lambda* (#:key inputs #:allow-other-keys)
1225 ;; To generate goa's missing .vapi file
1227 (assoc-ref inputs "gnome-online-accounts:lib"))
1229 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1231 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1233 (add-after 'unpack 'skip-gtk-update-icon-cache
1234 ;; Don't create 'icon-theme.cache'.
1236 (substitute* "build-aux/meson_post_install.py"
1237 (("gtk-update-icon-cache") "true"))
1240 `(("glib:bin" ,glib "bin")
1241 ("pkg-config" ,pkg-config)))
1243 `(("docbook-xml" ,docbook-xml)
1244 ("dockbook-xsl" ,docbook-xsl)
1245 ("evolution-data-server" ,evolution-data-server)
1246 ("gettext" ,gettext-minimal)
1247 ("gnome-desktop" ,gnome-desktop)
1248 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1249 ("gobject-introspection" ,gobject-introspection)
1250 ("gst-plugins-base" ,gst-plugins-base)
1253 ("libxslt" ,libxslt)
1254 ("telepathy-glib" ,telepathy-glib)
1258 ("telepathy-mission-control" ,telepathy-mission-control)))
1259 (synopsis "GNOME's integrated address book")
1261 "GNOME Contacts organizes your contact information from online and
1262 offline sources, providing a centralized place for managing your contacts.")
1263 (home-page "https://wiki.gnome.org/Apps/Contacts")
1264 (license license:gpl2+)))
1266 (define-public gnome-desktop
1268 (name "gnome-desktop")
1273 (uri (string-append "mirror://gnome/sources/" name "/"
1274 (version-major+minor version) "/"
1275 name "-" version ".tar.xz"))
1278 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1279 (build-system meson-build-system)
1282 (modify-phases %standard-phases
1283 (add-before 'configure 'patch-path
1284 (lambda* (#:key inputs #:allow-other-keys)
1285 (let ((libc (assoc-ref inputs "libc")))
1286 (substitute* "libgnome-desktop/gnome-languages.c"
1288 (string-append "\"" libc "/bin/locale\"")))
1290 (add-before 'configure 'patch-bubblewrap
1291 (lambda* (#:key inputs #:allow-other-keys)
1292 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
1294 (string-append "\"" (which "bwrap") "\","))
1295 (("\"--ro-bind\", \"/usr\", \"/usr\",")
1296 (string-append "\"--ro-bind\", \""
1301 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
1303 (add-before 'check 'pre-check
1304 (lambda* (#:key inputs #:allow-other-keys)
1305 ;; Tests require a running X server and locales.
1306 (system "Xvfb :1 &")
1307 (setenv "DISPLAY" ":1")
1308 (setenv "GUIX_LOCPATH"
1309 (string-append (assoc-ref inputs "glibc-locales")
1313 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1314 ("glibc-locales" ,glibc-locales) ; for tests
1315 ("gobject-introspection" ,gobject-introspection)
1316 ("itstool" ,itstool)
1317 ("intltool" ,intltool)
1318 ("pkg-config" ,pkg-config)
1319 ("xmllint" ,libxml2)
1320 ("xorg-server" ,xorg-server-for-tests)))
1322 ;; Required by gnome-desktop-3.0.pc.
1323 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1325 ("iso-codes" ,iso-codes)
1326 ("libseccomp" ,libseccomp)
1328 ("xkeyboard-config" ,xkeyboard-config)))
1330 `(("gdk-pixbuf" ,gdk-pixbuf)
1332 ("bubblewrap" ,bubblewrap)
1333 ("libxext" ,libxext)
1334 ("libxkbfile" ,libxkbfile)
1335 ("libxrandr" ,libxrandr)))
1336 (home-page "https://www.gnome.org/")
1338 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1340 "The libgnome-desktop library provides API shared by several applications
1341 on the desktop, but that cannot live in the platform for various reasons.
1342 There is no API or ABI guarantee, although we are doing our best to provide
1343 stability. Documentation for the API is available with gtk-doc.
1345 The gnome-about program helps find which version of GNOME is installed.")
1346 ; Some bits under the LGPL.
1347 (license license:gpl2+)))
1349 (define-public gnome-doc-utils
1351 (name "gnome-doc-utils")
1356 (uri (string-append "mirror://gnome/sources/" name "/"
1357 (version-major+minor version) "/"
1358 name "-" version ".tar.xz"))
1361 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1362 (build-system gnu-build-system)
1364 `(("intltool" ,intltool)
1365 ("docbook-xml" ,docbook-xml-4.4)
1366 ("python2-libxml2" ,python2-libxml2)
1367 ("libxml2" ,libxml2)
1368 ("libxslt" ,libxslt)
1369 ("pkg-config" ,pkg-config)
1370 ("python-2" ,python-2)))
1371 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1373 "Documentation utilities for the Gnome project")
1375 "Gnome-doc-utils is a collection of documentation utilities for the
1376 Gnome project. It includes xml2po tool which makes it easier to translate
1377 and keep up to date translations of documentation.")
1378 (license license:gpl2+))) ; xslt under lgpl
1380 (define-public gnome-disk-utility
1382 (name "gnome-disk-utility")
1386 (uri (string-append "mirror://gnome/sources/" name "/"
1387 (version-major+minor version) "/"
1388 name "-" version ".tar.xz"))
1391 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1392 (build-system meson-build-system)
1394 '(#:configure-flags '("-Dlogind=libelogind")
1396 (modify-phases %standard-phases
1397 (add-after 'unpack 'skip-gtk-update-icon-cache
1398 ;; Don't create 'icon-theme.cache'.
1400 (substitute* "meson_post_install.py"
1401 (("gtk-update-icon-cache") "true"))
1404 `(("glib:bin" ,glib "bin")
1405 ("intltool" ,intltool)
1406 ("pkg-config" ,pkg-config)
1407 ("docbook-xml" ,docbook-xml)
1408 ("docbook-xsl" ,docbook-xsl)
1409 ("libxml2" ,libxml2)
1410 ("libxslt" ,libxslt)))
1412 `(("elogind" ,elogind)
1414 ("appstream-glib" ,appstream-glib)
1415 ("gnome-settings-daemon" ,gnome-settings-daemon)
1417 ("libcanberra" ,libcanberra)
1418 ("libdvdread" ,libdvdread)
1419 ("libnotify" ,libnotify)
1420 ("libpwquality" ,libpwquality)
1421 ("libsecret" ,libsecret)
1422 ("udisks" ,udisks)))
1423 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1424 (synopsis "Disk management utility for GNOME")
1425 (description "Disk management utility for GNOME.")
1426 (license license:gpl2+)))
1428 (define-public gnome-font-viewer
1430 (name "gnome-font-viewer")
1434 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1435 (version-major+minor version)
1436 "/gnome-font-viewer-" version ".tar.xz"))
1439 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1440 (build-system meson-build-system)
1443 (modify-phases %standard-phases
1444 (add-after 'unpack 'patch-post-install-script
1446 (substitute* "meson-postinstall.sh"
1447 (("update-desktop-database") (which "true")))
1450 `(("gettext" ,gettext-minimal)
1451 ("glib:bin" ,glib "bin")
1452 ("pkg-config" ,pkg-config)))
1455 ("gnome-desktop" ,gnome-desktop)
1457 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1458 (synopsis "GNOME Fonts")
1459 (description "Application to show you the fonts installed on your computer
1460 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1461 the font would look under various sizes.")
1462 (license license:gpl2+)))
1470 (uri (string-append "mirror://gnome/sources/" name "/"
1471 (version-major+minor version) "/"
1472 name "-" version ".tar.xz"))
1475 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1476 (build-system gnu-build-system)
1479 (modify-phases %standard-phases
1480 ;; These fail because /var/lib/dbus/machine-id is not present in the
1481 ;; build environment.
1482 (add-after 'unpack 'disable-failing-tests
1484 (substitute* "Makefile.in"
1485 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1488 (add-before 'check 'pre-check
1490 ;; Some tests expect to write to $HOME.
1491 (setenv "HOME" "/tmp")
1495 ("gnupg" ,gnupg) ;called as a child process during tests
1496 ("libgcrypt" ,libgcrypt)))
1498 `(("python" ,python-wrapper) ;for tests
1499 ("pkg-config" ,pkg-config)
1500 ("gettext" ,gettext-minimal)
1501 ("glib" ,glib "bin")
1502 ("gobject-introspection" ,gobject-introspection)
1503 ("libxml2" ,libxml2)
1505 ("xsltproc" ,libxslt)))
1506 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1508 `(("p11-kit" ,p11-kit)
1511 (home-page "https://www.gnome.org")
1512 (synopsis "Libraries for displaying certificates and accessing key stores")
1514 "The GCR package contains libraries used for displaying certificates and
1515 accessing key stores. It also provides the viewer for crypto files on the
1517 (license license:lgpl2.1+)))
1526 (url "https://gitlab.gnome.org/GNOME/gdl.git")
1527 (commit (string-append "GDL_" (string-map (match-lambda
1531 (file-name (git-file-name name version))
1534 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
1535 (build-system gnu-build-system)
1537 `(("autoconf" ,autoconf)
1538 ("automake" ,automake)
1539 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1540 ("gnome-common" ,gnome-common)
1541 ("gtk-doc" ,gtk-doc)
1542 ("intltool" ,intltool)
1543 ("pkg-config" ,pkg-config)
1544 ("libtool" ,libtool)
1547 `(("libxml2" ,libxml2)))
1549 ;; The gdl-3.0.pc file 'Requires' GTK+.
1551 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
1552 (synopsis "GNOME docking library")
1553 (description "This library provides docking features for gtk+.")
1554 (license license:lgpl2.1+)))
1556 ;;; A minimal variant used to break a cycle with Inkscape.
1557 (define-public gdl-minimal
1560 (name "gdl-minimal")
1563 (modify-phases %standard-phases
1564 (add-after 'unpack 'disable-doc-generation
1565 ;; XXX: There is no easy way to disable generating the
1568 (substitute* "configure.in"
1569 (("GTK_DOC_CHECK.*") "")
1571 (substitute* "Makefile.am"
1572 (("gdl docs po") "gdl po"))
1574 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
1576 (define-public libgnome-keyring
1578 (name "libgnome-keyring")
1582 (uri (string-append "mirror://gnome/sources/" name "/"
1583 (version-major+minor version) "/"
1584 name "-" version ".tar.xz"))
1587 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1588 (build-system gnu-build-system)
1590 `(("libgcrypt" ,libgcrypt)
1593 `(("pkg-config" ,pkg-config)
1594 ("glib" ,glib "bin")
1595 ("intltool" ,intltool)))
1597 ;; Referred to in .h files and .pc.
1599 (home-page "https://www.gnome.org")
1600 (synopsis "Accessing passwords from the GNOME keyring")
1602 "Client library to access passwords from the GNOME keyring.")
1604 ;; Though a couple of files are LGPLv2.1+.
1605 (license license:lgpl2.0+)))
1607 (define-public gnome-keyring
1609 (name "gnome-keyring")
1613 (uri (string-append "mirror://gnome/sources/" name "/"
1614 (version-major+minor version) "/"
1615 name "-" version ".tar.xz"))
1618 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1619 (build-system gnu-build-system)
1621 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1625 (string-append "--with-pkcs11-config="
1626 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1627 (string-append "--with-pkcs11-modules="
1628 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1630 (modify-phases %standard-phases
1631 (add-after 'unpack 'fix-/bin/sh-reference
1633 (substitute* "po/Makefile.in.in"
1634 (("/bin/sh") (which "sh")))
1636 (add-after 'unpack 'fix-docbook
1637 (lambda* (#:key inputs #:allow-other-keys)
1638 (substitute* "docs/Makefile.am"
1639 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1640 (string-append (assoc-ref inputs "docbook-xsl")
1641 "/xml/xsl/docbook-xsl-"
1642 ,(package-version docbook-xsl)
1643 "/manpages/docbook.xsl")))
1644 (setenv "XML_CATALOG_FILES"
1645 (string-append (assoc-ref inputs "docbook-xml")
1646 "/xml/dtd/docbook/catalog.xml"))
1647 ;; Rerun the whole thing to avoid version mismatch ("This is
1648 ;; Automake 1.15.1, but the definition used by this
1649 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1650 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1653 (invoke "automake" "-ac"))))))
1655 `(("libgcrypt" ,libgcrypt)
1656 ("linux-pam" ,linux-pam)
1657 ("openssh" ,openssh)
1661 `(("pkg-config" ,pkg-config)
1662 ("glib" ,glib "bin")
1663 ("glib" ,glib) ; for m4 macros
1664 ("python" ,python-2) ;for tests
1665 ("intltool" ,intltool)
1666 ("autoconf" ,autoconf)
1667 ("automake" ,automake)
1668 ("libxslt" ,libxslt) ;for documentation
1669 ("docbook-xml" ,docbook-xml-4.2)
1670 ("docbook-xsl" ,docbook-xsl)))
1671 (home-page "https://www.gnome.org")
1672 (synopsis "Daemon to store passwords and encryption keys")
1674 "gnome-keyring is a program that keeps passwords and other secrets for
1675 users. It is run as a daemon in the session, similar to ssh-agent, and other
1676 applications locate it via an environment variable or D-Bus.
1678 The program can manage several keyrings, each with its own master password,
1679 and there is also a session keyring which is never stored to disk, but
1680 forgotten when the session ends.")
1681 (license license:lgpl2.1+)))
1683 (define-public evince
1689 (uri (string-append "mirror://gnome/sources/evince/"
1690 (version-major+minor version) "/"
1691 "evince-" version ".tar.xz"))
1694 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
1695 (build-system glib-or-gtk-build-system)
1697 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1699 (modify-phases %standard-phases
1700 (add-before 'install 'skip-gtk-update-icon-cache
1701 ;; Don't create 'icon-theme.cache'.
1703 (substitute* "data/Makefile"
1704 (("gtk-update-icon-cache") "true"))
1707 `(("libarchive" ,libarchive)
1708 ("libgxps" ,libgxps)
1709 ("libspectre" ,libspectre)
1710 ("djvulibre" ,djvulibre)
1711 ("ghostscript" ,ghostscript)
1712 ("poppler" ,poppler)
1713 ("libtiff" ,libtiff)
1715 ;; Build libkpathsea as a shared library for DVI support.
1716 ;; ("libkpathsea" ,texlive-bin)
1717 ("gnome-desktop" ,gnome-desktop)
1718 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1720 ("libgnome-keyring" ,libgnome-keyring)
1721 ("adwaita-icon-theme" ,adwaita-icon-theme)
1722 ("gdk-pixbuf" ,gdk-pixbuf)
1727 ("libxml2" ,libxml2)
1730 ("shared-mime-info" ,shared-mime-info)
1732 ("libcanberra" ,libcanberra)
1733 ("libsecret" ,libsecret)
1736 ("dogtail" ,python2-dogtail)))
1738 `(("itstool" ,itstool)
1739 ("intltool" ,intltool)
1740 ("glib" ,glib "bin")
1741 ("gobject-introspection" ,gobject-introspection)
1742 ("pkg-config" ,pkg-config)
1743 ("xmllint" ,libxml2)))
1744 (home-page "https://www.gnome.org/projects/evince/")
1745 (synopsis "GNOME's document viewer")
1747 "Evince is a document viewer for multiple document formats. It
1748 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1749 of Evince is to replace the multiple document viewers that exist
1750 on the GNOME Desktop with a single simple application.")
1751 (license license:gpl2+)))
1753 (define-public gsettings-desktop-schemas
1755 (name "gsettings-desktop-schemas")
1760 (uri (string-append "mirror://gnome/sources/" name "/"
1761 (version-major+minor version) "/"
1762 name "-" version ".tar.xz"))
1765 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1766 (build-system meson-build-system)
1768 '(#:phases (modify-phases %standard-phases
1769 (add-after 'unpack 'patch-schemas
1770 (lambda* (#:key inputs #:allow-other-keys)
1771 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1772 (substitute* (find-files "schemas"
1773 "\\.gschema\\.xml\\.in$")
1774 ;; Provide the correct file name of the default GNOME
1775 ;; background, 'adwaita-timed.xml'.
1776 (("@datadir@/backgrounds/gnome")
1777 (string-append theme "/share/backgrounds/gnome"))
1778 ;; Do not reference fonts, that may not exist.
1779 (("'Source Code Pro 10'") "'Monospace 11'"))
1783 ("gnome-backgrounds" ,gnome-backgrounds)))
1785 `(("intltool" ,intltool)
1786 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1787 ("gobject-introspection" ,gobject-introspection)
1788 ("pkg-config" ,pkg-config)))
1789 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1791 "GNOME settings for various desktop components")
1793 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1794 for settings shared by various components of the GNOME desktop.")
1795 (license license:lgpl2.1+)))
1797 (define-public icon-naming-utils
1799 (name "icon-naming-utils")
1804 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1805 version ".tar.bz2"))
1808 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1809 (build-system gnu-build-system)
1812 ("perl-xml-simple" ,perl-xml-simple)))
1815 (modify-phases %standard-phases
1816 (add-after 'install 'set-load-paths
1817 ;; Tell 'icon-name-mapping' where XML::Simple is.
1818 (lambda* (#:key outputs #:allow-other-keys)
1819 (let* ((out (assoc-ref outputs "out"))
1820 (prog (string-append out "/libexec/icon-name-mapping")))
1823 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1825 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1827 "Utility to implement the Freedesktop Icon Naming Specification")
1829 "To help with the transition to the Freedesktop Icon Naming
1830 Specification, the icon naming utility maps the icon names used by the
1831 GNOME and KDE desktops to the icon names proposed in the specification.")
1832 (license license:lgpl2.1+)))
1834 (define-public gnome-icon-theme
1836 (name "gnome-icon-theme")
1841 (uri (string-append "mirror://gnome/sources/" name "/"
1842 (version-major+minor version) "/"
1843 name "-" version ".tar.xz"))
1846 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1847 (build-system gnu-build-system)
1850 ;; Don't create 'icon-theme.cache'.
1851 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1852 (true (string-append coreutils "/bin/true")))
1853 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1855 `(("icon-naming-utils" ,icon-naming-utils)
1856 ("intltool" ,intltool)
1857 ("pkg-config" ,pkg-config)))
1858 (home-page "https://wiki.gnome.org/Personalization")
1859 (synopsis "GNOME icon theme")
1860 (description "Icons for the GNOME desktop.")
1861 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1863 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1864 (define-public adwaita-icon-theme
1865 (package (inherit gnome-icon-theme)
1866 (name "adwaita-icon-theme")
1870 (uri (string-append "mirror://gnome/sources/" name "/"
1871 (version-major+minor version) "/"
1872 name "-" version ".tar.xz"))
1875 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1877 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1879 (define-public tango-icon-theme
1881 (name "tango-icon-theme")
1885 (uri (string-append "http://tango.freedesktop.org/releases/"
1886 "tango-icon-theme-" version ".tar.bz2"))
1889 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1890 (build-system gnu-build-system)
1892 `(("icon-naming-utils" ,icon-naming-utils)
1893 ("intltool" ,intltool)
1894 ("imagemagick" ,imagemagick)
1895 ("pkg-config" ,pkg-config)))
1896 (home-page "http://tango-project.org/")
1897 (synopsis "Tango icon theme")
1898 (description "This is an icon theme that follows the Tango visual
1900 (license license:public-domain)))
1902 (define-public shared-mime-info
1904 (name "shared-mime-info")
1909 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1910 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1914 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1915 (build-system gnu-build-system)
1917 ;; The build system appears not to be parallel-safe.
1918 '(#:parallel-build? #f))
1921 ("libxml2" ,libxml2)))
1923 `(("gettext" ,gettext-minimal)
1924 ("itstool" ,itstool)
1925 ("pkg-config" ,pkg-config)))
1926 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1927 (synopsis "Database of common MIME types")
1929 "The shared-mime-info package contains the core database of common types
1930 and the update-mime-database command used to extend it. It requires glib2 to
1931 be installed for building the update command. Additionally, it uses intltool
1932 for translations, though this is only a dependency for the maintainers. This
1933 database is translated at Transifex.")
1934 (license license:gpl2+)))
1936 (define-public system-config-printer
1938 (name "system-config-printer")
1944 "https://github.com/OpenPrinting/system-config-printer/releases/"
1946 "/system-config-printer-" version ".tar.xz"))
1948 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1949 (build-system glib-or-gtk-build-system)
1951 `(#:imported-modules ((guix build python-build-system)
1952 ,@%glib-or-gtk-build-system-modules)
1954 (modify-phases %standard-phases
1955 (add-after 'unpack 'patch-Makefile.am
1957 ;; The Makefile generates some scripts, so set a valid shebang
1958 (substitute* "Makefile.am"
1959 (("/bin/bash") (which "bash")))
1960 (delete-file "configure")
1962 (add-after 'unpack 'patch-docbook-xml
1963 (lambda* (#:key inputs #:allow-other-keys)
1964 ;; Modify the man XML otherwise xmlto tries to access the network
1965 (substitute* "man/system-config-printer.xml"
1966 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1967 (string-append (assoc-ref inputs "docbook-xml")
1968 "/xml/dtd/docbook/")))
1970 (add-after 'install 'wrap-for-python
1971 (@@ (guix build python-build-system) wrap))
1972 (add-after 'install 'wrap
1973 (lambda* (#:key outputs #:allow-other-keys)
1974 (let ((out (assoc-ref outputs "out"))
1975 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1978 (wrap-program program
1979 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1981 (string-append out "/bin/" name))
1982 '("system-config-printer"
1983 "system-config-printer-applet"
1984 "install-printerdriver"
1985 "scp-dbus-service"))))
1988 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1989 ("gobject-introspection" ,gobject-introspection)
1993 ("python-dbus" ,python-dbus)
1994 ("python-pygobject" ,python-pygobject)
1995 ("python-pycups" ,python-pycups)
1996 ("python-requests" ,python-requests)
1997 ("python-pycairo" ,python-pycairo)
1998 ("libnotify" ,libnotify)
1999 ("packagekit" ,packagekit)))
2001 `(("pkg-config" ,pkg-config)
2002 ("desktop-file-utils" ,desktop-file-utils)
2004 ("autoconf" ,autoconf)
2005 ("automake" ,automake)
2006 ("intltool" ,intltool)
2008 ("docbook-xml" ,docbook-xml-4.1.2)
2009 ("docbook-xsl" ,docbook-xsl)
2010 ("libxml2" ,libxml2)))
2011 (home-page "https://github.com/zdohnal/system-config-printer")
2012 (synopsis "CUPS administration tool")
2014 "system-config-printer is a CUPS administration tool. It's written in
2015 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2017 (license license:gpl2+)))
2019 (define-public hicolor-icon-theme
2021 (name "hicolor-icon-theme")
2026 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2027 "hicolor-icon-theme-" version ".tar.xz"))
2030 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2031 (build-system gnu-build-system)
2033 `(#:tests? #f)) ; no check target
2034 (home-page "https://icon-theme.freedesktop.org/releases/")
2036 "Freedesktop icon theme")
2038 "Freedesktop icon theme.")
2039 (license license:gpl2)))
2041 (define-public libnotify
2048 (uri (string-append "mirror://gnome/sources/" name "/"
2049 (version-major+minor version) "/"
2050 name "-" version ".tar.xz"))
2053 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2054 (build-system gnu-build-system)
2056 `(#:configure-flags '("--disable-static")))
2058 `(;; In Requires of libnotify.pc.
2059 ("gdk-pixbuf" ,gdk-pixbuf)
2063 ("libpng" ,libpng)))
2065 `(("pkg-config" ,pkg-config)
2066 ("glib" ,glib "bin")
2067 ("gobject-introspection" ,gobject-introspection)))
2068 (home-page "https://developer-next.gnome.org/libnotify/")
2070 "GNOME desktop notification library")
2072 "Libnotify is a library that sends desktop notifications to a
2073 notification daemon, as defined in the Desktop Notifications spec. These
2074 notifications can be used to inform the user about an event or display
2075 some form of information without getting in the user's way.")
2076 (license license:lgpl2.1+)))
2078 (define-public libpeas
2085 (uri (string-append "mirror://gnome/sources/" name "/"
2086 (version-major+minor version) "/"
2087 name "-" version ".tar.xz"))
2090 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2091 (build-system meson-build-system)
2094 (modify-phases %standard-phases
2095 (add-before 'check 'start-xserver
2096 (lambda* (#:key inputs #:allow-other-keys)
2097 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2099 (setenv "DISPLAY" disp)
2100 ;; Tests require a running X server.
2101 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2107 ("python-pygobject" ,python-pygobject)))
2109 `(("pkg-config" ,pkg-config)
2110 ("gettext" ,gettext-minimal)
2111 ("glib:bin" ,glib "bin")
2112 ("gobject-introspection" ,gobject-introspection)
2113 ("xorg-server" ,xorg-server-for-tests)))
2115 ;; The .pc file "Requires" gobject-introspection.
2116 `(("gobject-introspection" ,gobject-introspection)))
2117 (home-page "https://wiki.gnome.org/Libpeas")
2118 (synopsis "GObject plugin system")
2120 "Libpeas is a gobject-based plugin engine, targeted at giving every
2121 application the chance to assume its own extensibility. It also has a set of
2122 features including, but not limited to: multiple extension points; on-demand
2123 (lazy) programming language support for C, Python and JS; simplicity of the
2125 (license license:lgpl2.0+)))
2127 (define-public gtkglext
2133 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2134 version "/gtkglext-" version ".tar.gz"))
2136 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2137 (patches (search-patches
2138 "gtkglext-disable-disable-deprecated.patch"))))
2139 (build-system gnu-build-system)
2142 (modify-phases %standard-phases
2143 ;; Fix a collision between a local variable and a definition from
2144 ;; glibc's string.h.
2145 (add-after 'unpack 'fix-collision
2147 (substitute* "gdk/gdkglshapes.c"
2148 ((" index") " triangle_index"))
2150 (inputs `(("gtk+" ,gtk+-2)
2155 (native-inputs `(("pkg-config" ,pkg-config)
2156 ("glib" ,glib "bin")))
2157 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2158 (home-page "https://projects.gnome.org/gtkglext")
2159 (synopsis "OpenGL extension to GTK+")
2160 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2161 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2162 API add-ons to make GTK+ widgets OpenGL-capable.")
2163 (license license:lgpl2.1+)))
2165 (define-public glade3
2171 (uri (string-append "mirror://gnome/sources/" name "/"
2172 (version-major+minor version) "/"
2173 name "-" version ".tar.xz"))
2176 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
2177 (build-system glib-or-gtk-build-system)
2180 (modify-phases %standard-phases
2181 (add-before 'configure 'fix-docbook
2182 (lambda* (#:key inputs #:allow-other-keys)
2183 (substitute* "man/Makefile.in"
2184 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2185 (string-append (assoc-ref inputs "docbook-xsl")
2186 "/xml/xsl/docbook-xsl-"
2187 ,(package-version docbook-xsl)
2188 "/manpages/docbook.xsl")))
2190 (add-before 'check 'pre-check
2192 (setenv "HOME" "/tmp")
2193 ;; Tests require a running X server.
2194 (system "Xvfb :1 &")
2195 (setenv "DISPLAY" ":1")
2199 ("libxml2" ,libxml2)))
2201 `(("hicolor-icon-theme" ,hicolor-icon-theme)
2202 ("intltool" ,intltool)
2203 ("itstool" ,itstool)
2204 ("libxslt" ,libxslt) ;for xsltproc
2205 ("docbook-xml" ,docbook-xml-4.2)
2206 ("docbook-xsl" ,docbook-xsl)
2207 ("python" ,python-2)
2208 ("pkg-config" ,pkg-config)
2209 ("xorg-server" ,xorg-server-for-tests)))
2210 (home-page "https://glade.gnome.org")
2211 (synopsis "GTK+ rapid application development tool")
2212 (description "Glade is a rapid application development (RAD) tool to
2213 enable quick & easy development of user interfaces for the GTK+ toolkit and
2214 the GNOME desktop environment.")
2215 (license license:lgpl2.0+)))
2217 (define-public libcroco
2223 (uri (string-append "mirror://gnome/sources/" name "/"
2224 (version-major+minor version) "/"
2225 name "-" version ".tar.xz"))
2228 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2229 (build-system gnu-build-system)
2231 `(("pkg-config" ,pkg-config)))
2234 ("libxml2" ,libxml2)
2236 (home-page "https://github.com/GNOME/libcroco")
2237 (synopsis "CSS2 parsing and manipulation library")
2239 "Libcroco is a standalone CSS2 parsing and manipulation library.
2240 The parser provides a low level event driven SAC-like API and a CSS object
2241 model like API. Libcroco provides a CSS2 selection engine and an experimental
2242 XML/CSS rendering engine.")
2245 (license license:lgpl2.1)))
2247 (define-public libgsf
2253 (uri (string-append "mirror://gnome/sources/" name "/"
2254 (version-major+minor version) "/"
2255 name "-" version ".tar.xz"))
2258 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2259 (build-system gnu-build-system)
2261 '(#:configure-flags '("--disable-static")))
2263 `(("pkg-config" ,pkg-config)
2264 ("gettext" ,gettext-minimal)
2268 ("perl-xml-parser" ,perl-xml-parser)))
2273 `(("gdk-pixbuf" ,gdk-pixbuf)
2275 ("libxml2" ,libxml2)))
2276 (home-page "https://www.gnome.org/projects/libgsf")
2277 (synopsis "GNOME's Structured File Library")
2279 "Libgsf aims to provide an efficient extensible I/O abstraction for
2280 dealing with different structured file formats.")
2283 (license license:lgpl2.1)))
2285 (define-public librsvg
2291 (uri (string-append "mirror://gnome/sources/" name "/"
2292 (version-major+minor version) "/"
2293 name "-" version ".tar.xz"))
2296 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2297 (build-system gnu-build-system)
2300 (list "--disable-static"
2301 "--enable-vala") ; needed for e.g. gnome-mines
2303 (modify-phases %standard-phases
2304 (add-before 'configure 'pre-configure
2305 (lambda* (#:key inputs #:allow-other-keys)
2306 (substitute* "gdk-pixbuf-loader/Makefile.in"
2307 ;; By default the gdk-pixbuf loader is installed under
2308 ;; gdk-pixbuf's prefix. Work around that.
2309 (("gdk_pixbuf_moduledir = .*$")
2310 (string-append "gdk_pixbuf_moduledir = "
2311 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2313 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2314 (("gdk_pixbuf_cache_file = .*$")
2315 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2317 (add-before 'check 'remove-failing-tests
2319 (with-directory-excursion "tests/fixtures/reftests"
2320 (for-each delete-file
2321 '(;; This test fails on i686:
2322 "svg1.1/masking-path-04-b.svg"
2323 ;; This test fails on armhf:
2324 "svg1.1/masking-mask-01-b.svg"
2325 ;; This test fails on aarch64:
2326 "bugs/777834-empty-text-children.svg")))
2329 `(("pkg-config" ,pkg-config)
2331 ("glib" ,glib "bin") ; glib-mkenums, etc.
2332 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2334 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2335 ;; this ancient version of librsvg.
2336 ("pango" ,pango-1.42)
2337 ("libcroco" ,libcroco)
2340 ("libxml2" ,libxml2)))
2342 ;; librsvg-2.0.pc refers to all of that.
2344 ("gdk-pixbuf" ,gdk-pixbuf)
2346 (home-page "https://wiki.gnome.org/LibRsvg")
2347 (synopsis "Render SVG files using Cairo")
2349 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2351 (license license:lgpl2.0+)))
2353 (define-public librsvg-next
2360 (uri (string-append "mirror://gnome/sources/librsvg/"
2361 (version-major+minor version) "/"
2362 "librsvg-" version ".tar.xz"))
2365 "14i6xzghcidv64cyd3g0wdjbl82rph737yxn9s3x29nzpcjs707l"))
2366 (modules '((guix build utils)))
2368 '(begin (delete-file-recursively "vendor")
2370 (build-system cargo-build-system)
2372 `(#:modules ((guix build cargo-build-system)
2374 ((guix build gnu-build-system) #:prefix gnu:))
2375 #:vendor-dir "vendor"
2377 (("rust-bitflags" ,rust-bitflags-1)
2378 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
2379 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2380 ("rust-cast" ,rust-cast-0.2)
2381 ("rust-cssparser" ,rust-cssparser-0.27)
2382 ("rust-data-url" ,rust-data-url-0.1)
2383 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2384 ("rust-encoding" ,rust-encoding-0.2)
2385 ("rust-float-cmp" ,rust-float-cmp-0.6)
2386 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
2387 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2388 ("rust-gio" ,rust-gio-0.8)
2389 ("rust-gio-sys" ,rust-gio-sys-0.9)
2390 ("rust-glib" ,rust-glib-0.9)
2391 ("rust-glib-sys" ,rust-glib-sys-0.9)
2392 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2393 ("rust-itertools" ,rust-itertools-0.8)
2394 ("rust-language-tags" ,rust-language-tags-0.2)
2395 ("rust-libc" ,rust-libc-0.2)
2396 ("rust-locale-config" ,rust-locale-config-0.3)
2397 ("rust-markup5ever" ,rust-markup5ever-0.10)
2398 ("rust-nalgebra" ,rust-nalgebra-0.19)
2399 ("rust-num-traits" ,rust-num-traits-0.2)
2400 ("rust-once-cell" ,rust-once-cell-1.2)
2401 ("rust-pkg-config" ,rust-pkg-config-0.3)
2402 ("rust-pango" ,rust-pango-0.8)
2403 ("rust-pango-sys" ,rust-pango-sys-0.9)
2404 ("rust-pangocairo" ,rust-pangocairo-0.9)
2405 ("rust-rayon" ,rust-rayon-1)
2406 ("rust-rctree" ,rust-rctree-0.3)
2407 ("rust-rgb" ,rust-rgb-0.8)
2408 ("rust-regex" ,rust-regex-1)
2409 ("rust-selectors" ,rust-selectors-0.22)
2410 ("rust-url" ,rust-url-2.1)
2411 ("rust-xml5ever" ,rust-xml5ever-0.16))
2412 #:cargo-development-inputs
2413 (("rust-cairo-rs" ,rust-cairo-rs-0.8)
2414 ("rust-criterion" ,rust-criterion-0.3))
2416 (modify-phases %standard-phases
2417 (add-after 'unpack 'prepare-for-build
2419 ;; In lieu of #:make-flags
2420 (setenv "CC" ,(cc-for-target))
2421 ;; Something about the build environment resists building
2422 ;; successfully with the '--locked' flag.
2423 (substitute* '("Makefile.am"
2427 (add-before 'configure 'pre-configure
2429 (substitute* "gdk-pixbuf-loader/Makefile.in"
2430 ;; By default the gdk-pixbuf loader is installed under
2431 ;; gdk-pixbuf's prefix. Work around that.
2432 (("gdk_pixbuf_moduledir = .*$")
2433 (string-append "gdk_pixbuf_moduledir = "
2434 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2436 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2437 (("gdk_pixbuf_cache_file = .*$")
2438 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2440 (add-after 'configure 'gnu-configure
2441 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
2442 ((assoc-ref gnu:%standard-phases 'configure)
2443 #:native-inputs native-inputs
2446 #:configure-flags (list "--disable-static"
2448 (add-after 'configure 'dont-vendor-self
2449 (lambda* (#:key vendor-dir #:allow-other-keys)
2450 ;; Don't keep the whole tarball in the vendor directory
2451 (delete-file-recursively
2452 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2455 (assoc-ref gnu:%standard-phases 'build))
2458 ((assoc-ref gnu:%standard-phases 'check)
2459 #:test-target "check")))
2461 (assoc-ref gnu:%standard-phases 'install)))))
2464 ,@(alist-delete "pango" (package-inputs librsvg))))
2465 (license license:lgpl2.1+)))
2467 (define-public libidl
2473 (uri (string-append "mirror://gnome/sources/libIDL/"
2474 (version-major+minor version) "/"
2475 "libIDL-" version ".tar.bz2"))
2478 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2479 (build-system gnu-build-system)
2480 (inputs `(("glib" ,glib)))
2482 `(("pkg-config" ,pkg-config)
2485 (home-page "http://freecode.com/projects/libidl")
2486 (synopsis "Create trees of CORBA Interface Definition Language files")
2487 (description "Libidl is a library for creating trees of CORBA Interface
2488 Definition Language (idl) files, which is a specification for defining
2489 portable interfaces. libidl was initially written for orbit (the orb from the
2490 GNOME project, and the primary means of libidl distribution). However, the
2491 functionality was designed to be as reusable and portable as possible.")
2492 (properties `((upstream-name . "libIDL")))
2493 (license license:lgpl2.0+)))
2496 (define-public orbit2
2502 (uri (let ((upstream-name "ORBit2"))
2503 (string-append "mirror://gnome/sources/" upstream-name "/"
2504 (version-major+minor version) "/"
2505 upstream-name "-" version ".tar.bz2")))
2508 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2509 (build-system gnu-build-system)
2511 `(;; The "timeout-server" test hangs when run in parallel.
2512 #:parallel-tests? #f
2514 '(;; We don't need static libraries, plus they don't build reproducibly
2515 ;; (non-deterministic ordering of .o files in the archive.)
2518 ;; The programmer kindly gives us a hook to turn off deprecation
2520 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2521 ;; ... which they then completly ignore !!
2523 (modify-phases %standard-phases
2524 (add-before 'configure 'ignore-deprecations
2526 (substitute* "linc2/src/Makefile.in"
2527 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2529 (inputs `(("glib" ,glib)
2530 ("libidl" ,libidl)))
2532 `(("pkg-config" ,pkg-config)))
2533 (home-page "https://projects.gnome.org/orbit2/")
2534 (synopsis "CORBA 2.4-compliant Object Request Broker")
2535 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2536 featuring mature C, C++ and Python bindings.")
2537 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2538 ;; a version. SOME of the code files have licence notices for GPLv2+.
2539 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2540 (license license:gpl2+)
2541 (properties `((upstream-name . "ORBit2")))))
2544 (define-public libbonobo
2550 (uri (string-append "mirror://gnome/sources/" name "/"
2551 (version-major+minor version)
2552 "/" name "-" version ".tar.bz2"))
2554 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2555 (patches (search-patches
2556 "libbonobo-activation-test-race.patch"))))
2557 (build-system gnu-build-system)
2559 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2561 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2562 ;; ... which they then completly ignore !!
2564 (modify-phases %standard-phases
2565 (add-before 'configure 'ignore-deprecations
2567 (substitute* "activation-server/Makefile.in"
2568 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2571 ;; There's apparently a race condition between the server stub
2572 ;; generation and linking of the example under 'samples/echo' that can
2573 ;; lead do undefined references when building in parallel, as reported
2574 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2575 ;; Thus, disable parallel builds.
2576 #:parallel-build? #f))
2577 (inputs `(("popt" ,popt)
2578 ("libxml2" ,libxml2)))
2579 ;; The following are Required by the .pc file
2582 ("orbit2" ,orbit2)))
2584 `(("intltool" ,intltool)
2585 ("pkg-config" ,pkg-config)
2586 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2589 (home-page "https://developer.gnome.org/libbonobo/")
2590 (synopsis "Framework for creating reusable components for use in GNOME applications")
2591 (description "Bonobo is a framework for creating reusable components for
2592 use in GNOME applications, built on top of CORBA.")
2593 ;; Licence not explicitly stated. Source files contain no licence notices.
2594 ;; Tarball contains text of both GPLv2 and LGPLv2
2595 ;; GPLv2 covers both conditions
2596 (license license:gpl2+)))
2599 (define-public gconf
2606 (let ((upstream-name "GConf"))
2607 (string-append "mirror://gnome/sources/" upstream-name "/"
2608 (version-major+minor version) "/"
2609 upstream-name "-" version ".tar.xz")))
2611 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2612 (build-system gnu-build-system)
2613 (inputs `(("dbus-glib" ,dbus-glib)
2614 ("libxml2" ,libxml2)))
2615 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2616 ("orbit2" ,orbit2)))
2618 `(("intltool" ,intltool)
2619 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2620 ("pkg-config" ,pkg-config)))
2621 (home-page "https://projects.gnome.org/gconf/")
2622 (synopsis "Store application preferences")
2623 (description "Gconf is a system for storing application preferences. It
2624 is intended for user preferences; not arbitrary data storage.")
2625 (license license:lgpl2.0+)
2626 (properties '((upstream-name . "GConf")))))
2629 (define-public gnome-mime-data
2631 (name "gnome-mime-data")
2635 (uri (string-append "mirror://gnome/sources/" name "/"
2636 (version-major+minor version) "/"
2637 name "-" version ".tar.bz2"))
2640 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2641 (build-system gnu-build-system)
2644 ("intltool" ,intltool)))
2646 '(#:phases (modify-phases %standard-phases
2647 (add-after 'configure 'use-our-intltool
2649 ;; Do not use the bundled intltool commands, which lack
2650 ;; the "dotless @INC" fixes of our 'intltool' package.
2651 (substitute* (find-files "." "^Makefile$")
2652 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2653 (string-append "INTLTOOL_" tool " = intltool-"
2654 (string-downcase tool) "\n")))
2656 (home-page "https://www.gnome.org")
2657 (synopsis "Base MIME and Application database for GNOME")
2658 (description "GNOME Mime Data is a module which contains the base MIME
2659 and Application database for GNOME. The data stored by this module is
2660 designed to be accessed through the MIME functions in GnomeVFS.")
2661 (license license:gpl2+)))
2664 (define-public gnome-vfs
2670 (uri (string-append "mirror://gnome/sources/" name "/"
2671 (version-major+minor version) "/"
2672 name "-" version ".tar.bz2"))
2675 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2676 (build-system gnu-build-system)
2679 (modify-phases %standard-phases
2680 (add-before 'configure 'ignore-deprecations
2682 (substitute* '("libgnomevfs/Makefile.in"
2683 "daemon/Makefile.in")
2684 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2686 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2688 (substitute* "test/test-async-cancel.c"
2689 (("EXIT_FAILURE") "77"))
2691 (inputs `(("libxml2" ,libxml2)
2692 ("dbus-glib" ,dbus-glib)
2694 ("gnome-mime-data" ,gnome-mime-data)
2697 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2698 ("intltool" ,intltool)
2699 ("pkg-config" ,pkg-config)))
2700 (home-page "https://developer.gnome.org/gnome-vfs/")
2701 (synopsis "Access files and folders in GNOME applications")
2703 "GnomeVFS is the core library used to access files and folders in GNOME
2704 applications. It provides a file system abstraction which allows applications
2705 to access local and remote files with a single consistent API.")
2706 (license license:lgpl2.0+)))
2710 (define-public libgnome
2716 (uri (string-append "mirror://gnome/sources/" name "/"
2717 (version-major+minor version) "/"
2718 name "-" version ".tar.bz2"))
2721 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2722 (patches (search-patches "libgnome-encoding.patch"))))
2723 (build-system gnu-build-system)
2726 (modify-phases %standard-phases
2727 (add-before 'configure 'enable-deprecated
2729 (substitute* "libgnome/Makefile.in"
2730 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2732 (inputs `(("libxml2" ,libxml2)))
2734 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2735 ("intltool" ,intltool)
2736 ("pkg-config" ,pkg-config)))
2737 ;; The following are listed as Required in the .pc file
2738 ;; (except for libcanberra -- which seems to be oversight on the part
2739 ;; of the upstream developers -- anything that links against libgnome,
2740 ;; must also link against libcanberra
2742 `(("libcanberra" ,libcanberra)
2743 ("libbonobo" ,libbonobo)
2745 ("gnome-vfs" ,gnome-vfs)
2746 ("popt" ,popt))) ;gnome-program.h includes popt.h
2747 (home-page "https://developer.gnome.org/libgnome/")
2748 (synopsis "Useful routines for building applications")
2749 (description "The libgnome library provides a number of useful routines
2750 for building modern applications, including session management, activation of
2751 files and URIs, and displaying help.")
2752 (license license:lgpl2.0+)))
2755 (define-public libart-lgpl
2757 (name "libart-lgpl")
2761 (uri (let ((upstream-name "libart_lgpl"))
2762 (string-append "mirror://gnome/sources/" upstream-name "/"
2763 (version-major+minor version) "/"
2764 upstream-name "-" version ".tar.bz2")))
2767 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2768 (build-system gnu-build-system)
2770 `(("pkg-config" ,pkg-config)))
2771 (home-page "https://people.gnome.org/~mathieu/libart")
2772 (synopsis "2D drawing library")
2773 (description "Libart is a 2D drawing library intended as a
2774 high-quality vector-based 2D library with antialiasing and alpha composition.")
2775 (license license:lgpl2.0+)))
2779 (define-public libgnomecanvas
2781 (name "libgnomecanvas")
2785 (uri (string-append "mirror://gnome/sources/" name "/"
2786 (version-major+minor version) "/"
2787 name "-" version ".tar.gz"))
2790 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2791 (build-system gnu-build-system)
2792 ;; Mentioned as Required in the .pc file
2793 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2796 `(("intltool" ,intltool)
2797 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2798 ("pkg-config" ,pkg-config)))
2799 (home-page "https://developer.gnome.org/libgnomecanvas/")
2800 (synopsis "Flexible widget for creating interactive structured graphics")
2801 (description "The GnomeCanvas widget provides a flexible widget for
2802 creating interactive structured graphics.")
2803 (license license:lgpl2.0+)))
2805 (define-public libgnomecanvasmm
2807 (name "libgnomecanvasmm")
2811 (uri (string-append "mirror://gnome/sources/" name "/"
2812 (version-major+minor version) "/"
2813 name "-" version ".tar.bz2"))
2816 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2817 (build-system gnu-build-system)
2818 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2820 `(("gtkmm-2" ,gtkmm-2)
2821 ("pkg-config" ,pkg-config)))
2822 (home-page "https://gtkmm.org")
2823 (synopsis "C++ bindings to the GNOME Canvas library")
2824 (description "C++ bindings to the GNOME Canvas library.")
2825 (license license:lgpl2.0+)))
2827 (define-public libgnomeui
2833 (uri (string-append "mirror://gnome/sources/" name "/"
2834 (version-major+minor version) "/"
2835 name "-" version ".tar.bz2"))
2836 (patches (search-patches "libgnomeui-utf8.patch"))
2839 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2840 (build-system gnu-build-system)
2841 ;; Mentioned as Required in the .pc file
2842 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2843 ("libgnome" ,libgnome)
2844 ("libgnomecanvas" ,libgnomecanvas)
2845 ("libgnome-keyring" ,libgnome-keyring)))
2846 (inputs `(("libjpeg" ,libjpeg-turbo)
2848 ("libbonobo" ,libbonobo)
2849 ("libxml2" ,libxml2)
2850 ("libglade" ,libglade)))
2852 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2853 ("intltool" ,intltool)
2854 ("pkg-config" ,pkg-config)))
2855 (home-page "https://developer.gnome.org/libgnomeui/")
2856 (synopsis "Additional widgets for applications")
2857 (description "The libgnomeui library provides additional widgets for
2858 applications. Many of the widgets from libgnomeui have already been
2860 (license license:lgpl2.0+)))
2862 (define-public libglade
2868 (uri (string-append "mirror://gnome/sources/" name "/"
2869 (version-major+minor version) "/"
2870 name "-" version ".tar.bz2"))
2873 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2874 (build-system gnu-build-system)
2876 `(("python" ,python))) ;; needed for the optional libglade-convert program
2878 `(("gtk+-2" ,gtk+-2)
2879 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2881 `(("pkg-config" ,pkg-config)))
2882 (home-page "https://developer.gnome.org/libglade")
2883 (synopsis "Load glade interfaces and access the glade built widgets")
2884 (description "Libglade is a library that provides interfaces for loading
2885 graphical interfaces described in glade files and for accessing the
2886 widgets built in the loading process.")
2887 (license license:gpl2+))) ; This is correct. GPL not LGPL
2889 (define-public libgnomeprint
2890 ;; This library has been deprecated since 2006; see
2891 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2893 (name "libgnomeprint")
2897 (uri (string-append "mirror://gnome/sources/" name "/"
2898 (version-major+minor version) "/"
2899 name "-" version ".tar.bz2"))
2902 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2903 (build-system gnu-build-system)
2906 ("libart-lgpl" ,libart-lgpl)
2908 ("libxml2" ,libxml2)))
2910 `(("intltool" ,intltool)
2911 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2912 ("pkg-config" ,pkg-config)))
2913 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2914 (synopsis "Printing framework for GNOME")
2916 "GNOME-print was a printing framework for GNOME. It has been deprecated
2917 since ca. 2006, when GTK+ itself incorporated printing support.")
2918 (license license:lgpl2.0+)))
2921 (define-public libgnomeprintui
2922 ;; Deprecated; see libgnomeprint.
2924 (name "libgnomeprintui")
2928 (uri (string-append "mirror://gnome/sources/" name "/"
2929 (version-major+minor version) "/"
2930 name "-" version ".tar.bz2"))
2933 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2934 (build-system gnu-build-system)
2935 ;; Mentioned as Required in the .pc file
2936 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2937 (inputs `(("gtk+" ,gtk+-2)
2939 ("gnome-icon-theme" ,gnome-icon-theme)
2940 ("libgnomecanvas" ,libgnomecanvas)
2941 ("libxml2" ,libxml2)))
2943 `(("intltool" ,intltool)
2944 ("pkg-config" ,pkg-config)))
2945 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2946 (synopsis "Printing framework for GNOME")
2947 (description (package-description libgnomeprint))
2948 (license license:lgpl2.0+)))
2950 (define-public libbonoboui
2952 (name "libbonoboui")
2956 (uri (string-append "mirror://gnome/sources/" name "/"
2957 (version-major+minor version) "/"
2958 name "-" version ".tar.bz2"))
2961 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2962 (build-system gnu-build-system)
2965 (modify-phases %standard-phases
2966 (add-before 'check 'start-xserver
2967 (lambda* (#:key inputs #:allow-other-keys)
2968 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2971 (setenv "HOME" (getcwd))
2972 (setenv "DISPLAY" disp)
2973 ;; There must be a running X server and make check doesn't start one.
2974 ;; Therefore we must do it.
2975 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2976 ;; Mentioned as Required by the .pc file
2977 (propagated-inputs `(("libxml2" ,libxml2)))
2980 ("pangox-compat" ,pangox-compat)
2981 ("libgnome" ,libgnome)
2982 ("libgnomecanvas" ,libgnomecanvas)
2983 ("libglade" ,libglade)))
2985 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2986 ("intltool" ,intltool)
2987 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2988 ("pkg-config" ,pkg-config)))
2989 (home-page "https://developer.gnome.org/libbonoboui/")
2990 (synopsis "Some user interface controls using Bonobo")
2991 (description "The Bonobo UI library provides a number of user interface
2992 controls using the Bonobo component framework.")
2993 (license license:lgpl2.0+)))
2995 (define-public libwnck
3001 (uri (string-append "mirror://gnome/sources/" name "/"
3002 (version-major+minor version) "/"
3003 name "-" version ".tar.xz"))
3006 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3007 (build-system meson-build-system)
3009 `(("pkg-config" ,pkg-config)
3010 ("glib" ,glib "bin") ; for glib-mkenums
3011 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
3012 ("intltool" ,intltool)))
3015 ("libxres" ,libxres)
3016 ("startup-notification" ,startup-notification)))
3017 (home-page "https://developer.gnome.org/libwnck/")
3018 (synopsis "Window Navigator Construction Kit")
3020 "Libwnck is the Window Navigator Construction Kit, a library for use in
3021 writing pagers, tasklists, and more generally applications that are dealing
3022 with window management. It tries hard to respect the Extended Window Manager
3023 Hints specification (EWMH).")
3024 (license license:lgpl2.0+)))
3026 ;; stable version for gtk2, required by xfwm4.
3027 (define-public libwnck-2
3028 (package (inherit libwnck)
3033 (uri (string-append "mirror://gnome/sources/" name "/"
3034 (version-major+minor version) "/"
3035 name "-" version ".tar.xz"))
3038 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
3039 (build-system gnu-build-system)
3041 `(("pkg-config" ,pkg-config)
3042 ("intltool" ,intltool)))
3045 ("libxres" ,libxres)
3046 ("startup-notification" ,startup-notification)))))
3048 (define-public goffice
3054 (uri (string-append "mirror://gnome/sources/goffice/"
3055 (version-major+minor version) "/"
3056 "goffice-" version ".tar.xz"))
3058 (base32 "0xmigfdzvmlpa0fw79mf3xwchmxc8rlidryn5syv8bz7msmrb215"))))
3059 (build-system gnu-build-system)
3061 "doc")) ; 4.0 MiB of gtk-doc
3063 '(#:configure-flags (list (string-append "--with-html-dir="
3064 (assoc-ref %outputs "doc")
3065 "/share/gtk-doc/html"))))
3069 ("librsvg" ,librsvg)
3070 ("libxslt" ,libxslt)
3071 ("libxml2" ,libxml2)))
3073 `(("intltool" ,intltool)
3074 ("glib" ,glib "bin")
3075 ("pkg-config" ,pkg-config)))
3076 (home-page "https://developer.gnome.org/goffice/")
3077 (synopsis "Document-centric objects and utilities")
3078 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3080 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3082 (list license:gpl2 license:gpl3))))
3084 (define-public goffice-0.8
3085 (package (inherit goffice)
3089 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3090 (version-major+minor version) "/"
3091 (package-name goffice) "-" version ".tar.xz"))
3093 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3096 (modify-phases %standard-phases
3097 (add-after 'unpack 'fix-pcre-check
3099 ;; Only glib.h can be included directly. See
3100 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3101 (substitute* "configure"
3102 (("glib/gregex\\.h") "glib.h")) #t)))
3104 ,@(package-arguments goffice)))
3106 ;; libgoffice-0.8.pc mentions libgsf-1
3107 `(("libgsf" ,libgsf)))
3110 ,@(alist-delete "gtk" (package-inputs goffice))))))
3112 (define-public gnumeric
3118 (uri (string-append "mirror://gnome/sources/gnumeric/"
3119 (version-major+minor version) "/"
3120 "gnumeric-" version ".tar.xz"))
3123 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3124 (build-system glib-or-gtk-build-system)
3126 `(;; The gnumeric developers don't worry much about failing tests.
3127 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3130 (modify-phases %standard-phases
3132 'configure 'pre-conf
3133 (lambda* (#:key outputs #:allow-other-keys)
3134 ;; Make install tries to write into the directory of goffice
3135 ;; I am informed that this only affects the possibility to embed a
3136 ;; spreadsheet inside an Abiword document. So presumably when we
3137 ;; package Abiword we'll have to refer it to this directory.
3138 (substitute* "configure"
3139 (("^GOFFICE_PLUGINS_DIR=.*")
3140 (string-append "GOFFICE_PLUGINS_DIR="
3141 (assoc-ref outputs "out")
3142 "/goffice/plugins"))))))))
3146 ("goffice" ,goffice)
3148 ("librsvg" ,librsvg)
3149 ("libxml2" ,libxml2)
3150 ("libxslt" ,libxslt)
3151 ("python" ,python-2)
3152 ("python2-pygobject" ,python2-pygobject)
3156 ("docbook-xml" ,docbook-xml)
3157 ("intltool" ,intltool)
3158 ("itstool" ,itstool)
3159 ("glib:bin" ,glib "bin")
3160 ("pkg-config" ,pkg-config)))
3161 (home-page "http://www.gnumeric.org")
3162 (synopsis "Spreadsheet application")
3164 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3165 interoperable with other spreadsheet applications. It has a vast array of
3166 features beyond typical spreadsheet functionality, such as support for linear
3167 and non-linear solvers, statistical analysis, and telecommunication
3170 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3171 (list license:gpl2 license:gpl3))))
3173 (define-public gnome-themes-standard
3175 (name "gnome-themes-standard")
3180 (uri (string-append "mirror://gnome/sources/" name "/"
3181 (version-major+minor version) "/" name "-"
3185 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3186 (build-system gnu-build-system)
3189 ;; Don't create 'icon-theme.cache'.
3190 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3191 (true (string-append coreutils "/bin/true")))
3192 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3196 ("librsvg" ,librsvg)
3197 ("libxml2" ,libxml2)
3200 `(("intltool" ,intltool)
3201 ("glib:bin" ,glib "bin")
3202 ("pkg-config" ,pkg-config)))
3203 (home-page "https://launchpad.net/gnome-themes-standard")
3204 (synopsis "Default GNOME 3 themes")
3206 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3207 (license license:lgpl2.1+)))
3209 (define-public seahorse
3216 (uri (string-append "mirror://gnome/sources/" name "/"
3217 (version-major+minor version) "/" name "-"
3221 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3222 (build-system meson-build-system)
3226 (modify-phases %standard-phases
3227 (add-after 'unpack 'skip-gtk-update-icon-cache
3228 ;; Don't create 'icon-theme.cache'.
3230 (substitute* "build-aux/meson_post_install.py"
3231 (("gtk-update-icon-cache") "true"))
3238 ("openldap" ,openldap)
3239 ("openssh" ,openssh)
3241 ("libpwquality" ,libpwquality)
3242 ("libsecret" ,libsecret)
3243 ("libsoup" ,libsoup)))
3245 `(("gettext" ,gettext-minimal)
3246 ("glib:bin" ,glib "bin")
3247 ("itstool" ,itstool)
3248 ("pkg-config" ,pkg-config)
3250 ("xmllint" ,libxml2)))
3251 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3252 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3254 "Seahorse is a GNOME application for managing encryption keys and
3255 passwords in the GNOME keyring.")
3256 (license license:gpl2+)))
3264 (uri (string-append "mirror://gnome/sources/" name "/"
3265 (version-major+minor version) "/"
3266 name "-" version ".tar.xz"))
3269 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3270 (build-system gnu-build-system)
3273 (modify-phases %standard-phases
3274 (add-before 'check 'pre-check
3277 (substitute* "valadoc/tests/testrunner.sh"
3278 (("export PKG_CONFIG_PATH=" m)
3279 (string-append m "$PKG_CONFIG_PATH:")))
3280 ;; For missing '/etc/machine-id'.
3281 (setenv "DBUS_FATAL_WARNINGS" "0")
3284 `(("pkg-config" ,pkg-config)
3287 ("xsltproc" ,libxslt)
3288 ("dbus" ,dbus) ; for dbus tests
3289 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3291 `(("graphviz" ,graphviz)))
3293 `(("glib" ,glib))) ; required by libvala-0.40.pc
3294 (home-page "https://live.gnome.org/Vala/")
3295 (synopsis "Compiler for the GObject type system")
3297 "Vala is a programming language that aims to bring modern programming
3298 language features to GNOME developers without imposing any additional runtime
3299 requirements and without using a different ABI compared to applications and
3300 libraries written in C.")
3301 (license license:lgpl2.1+)))
3303 (define-public vala-0.48
3309 (uri (string-append "mirror://gnome/sources/vala/"
3310 (version-major+minor version) "/"
3311 "vala-" version ".tar.xz"))
3314 "0lswkb7gj0chas9n3l3dbrm9l71hs77adhvm2v600id2ipi37pi8"))))))
3322 (uri (string-append "mirror://gnome/sources/vte/"
3323 (version-major+minor version) "/"
3324 "vte-" version ".tar.xz"))
3327 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
3328 (build-system meson-build-system)
3332 "-D_systemd=false")))
3334 `(("pkg-config" ,pkg-config)
3335 ("gettext" ,gettext-minimal)
3337 ("gobject-introspection" ,gobject-introspection)
3338 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3340 ("xmllint" ,libxml2)))
3342 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3343 ("gnutls" ,gnutls) ; ditto
3344 ("pcre2" ,pcre2))) ; ditto
3345 (home-page "https://www.gnome.org/")
3346 (synopsis "Virtual Terminal Emulator")
3348 "VTE is a library (libvte) implementing a terminal emulator widget for
3349 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3350 gnome-terminal, but can also be used to embed a console/terminal in games,
3351 editors, IDEs, etc.")
3352 (license license:lgpl2.1+)))
3354 (define-public vte-ng
3358 (version "0.58.2.a")
3359 (home-page "https://github.com/thestinger/vte-ng")
3362 (uri (git-reference (url home-page) (commit version)))
3363 (file-name (git-file-name name version))
3366 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3367 (build-system meson-build-system)
3369 `(("gtk-doc" ,gtk-doc)
3370 ,@(package-native-inputs vte)))
3372 `(#:configure-flags '("-Ddocs=true")))
3373 (synopsis "Enhanced VTE terminal widget")
3375 "VTE is a library (libvte) implementing a terminal emulator widget for
3376 GTK+, this fork provides additional functions exposed for keyboard text
3377 selection and URL hints.")))
3379 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
3380 (define-public vte/gtk+-2
3381 (package (inherit vte)
3386 (uri (string-append "mirror://gnome/sources/" name "/"
3387 (version-major+minor version) "/"
3388 name "-" version ".tar.xz"))
3391 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3392 (patches (search-patches
3393 "vte-CVE-2012-2738-pt1.patch"
3394 "vte-CVE-2012-2738-pt2.patch"))))
3395 (build-system gnu-build-system)
3397 '(#:configure-flags '("--disable-python")))
3399 `(("pkg-config" ,pkg-config)
3400 ("intltool" ,intltool)
3401 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3403 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3404 ("ncurses" ,ncurses))))) ; required by libvte.la
3406 (define-public vinagre
3412 (uri (string-append "mirror://gnome/sources/" name "/"
3413 (version-major+minor version) "/"
3414 name "-" version ".tar.xz"))
3415 (patches (search-patches "vinagre-newer-freerdp.patch"
3416 "vinagre-newer-rdp-parameters.patch"))
3419 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3420 (build-system glib-or-gtk-build-system)
3422 ;; Disable -Werror and such, to avoid build failures on compilation
3424 '(#:configure-flags '("--enable-compile-warnings=minimum")
3426 (modify-phases %standard-phases
3427 (add-before 'install 'skip-gtk-update-icon-cache
3429 ;; Don't create 'icon-theme.cache'
3430 (substitute* (find-files "." "^Makefile$")
3431 (("gtk-update-icon-cache") (which "true")))
3433 (add-after 'unpack 'patch-configure
3435 (substitute* "configure"
3436 (("freerdp") "freerdp2"))
3439 `(("pkg-config" ,pkg-config)
3440 ("intltool" ,intltool)
3441 ("itstool" ,itstool)
3442 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3444 `(("libxml2" ,libxml2)
3445 ("gtk-vnc" ,gtk-vnc)
3446 ("gnome-keyring" ,gnome-keyring)
3447 ("libsecret" ,libsecret)
3448 ("freerdp" ,freerdp)
3450 ("spice-gtk" ,spice-gtk)
3451 ("telepathy-glib" ,telepathy-glib)
3453 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3454 (synopsis "Remote desktop viewer for GNOME")
3455 (description "Vinagre is a remote display client supporting the VNC, SPICE
3456 and RDP protocols.")
3457 (license license:gpl3+)))
3459 (define-public dconf
3466 "mirror://gnome/sources/" name "/"
3467 (version-major+minor version) "/"
3468 name "-" version ".tar.xz"))
3469 (patches (search-patches "dconf-meson-0.52.patch"))
3472 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3473 (build-system meson-build-system)
3475 ;; In Requires of dconf.pc.
3481 `(("bash-completion" ,bash-completion)
3482 ("libxslt" ,libxslt) ;for xsltproc
3483 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3484 ("docbook-xml" ,docbook-xml-4.2)
3485 ("docbook-xsl" ,docbook-xsl)
3486 ("glib:bin" ,glib "bin")
3487 ("gtk-doc" ,gtk-doc)
3488 ("pkg-config" ,pkg-config)
3491 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3492 ; or /etc/machine-id.
3494 #:configure-flags '("-Denable-gtk-doc=true")))
3495 (home-page "https://developer.gnome.org/dconf/")
3496 (synopsis "Low-level GNOME configuration system")
3497 (description "Dconf is a low-level configuration system. Its main purpose
3498 is to provide a backend to GSettings on platforms that don't already have
3499 configuration storage systems.")
3500 (license license:lgpl2.1+)))
3502 (define-public json-glib
3508 (uri (string-append "mirror://gnome/sources/" name "/"
3509 (version-major+minor version) "/"
3510 name "-" version ".tar.xz"))
3513 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3514 (build-system meson-build-system)
3516 `(("gettext" ,gettext-minimal)
3517 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3518 ("gobject-introspection" ,gobject-introspection)
3519 ("pkg-config" ,pkg-config)))
3521 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3522 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3523 (synopsis "Compiler for the GObject type system")
3525 "JSON-GLib is a C library based on GLib providing serialization and
3526 deserialization support for the JavaScript Object Notation (JSON) format
3527 described by RFC 4627. It provides parser and generator GObject classes and
3528 various wrappers for the complex data types employed by JSON, such as arrays
3530 (license license:lgpl2.1+)))
3532 (define-public libxklavier
3534 (name "libxklavier")
3537 ;; Note: There's no tarball at ftp.gnome.org for this version.
3540 (url "https://anongit.freedesktop.org/git/libxklavier")
3541 (commit (string-append "libxklavier-" version))))
3544 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3545 (file-name (git-file-name name version))))
3546 (build-system gnu-build-system)
3549 (list (string-append "--with-xkb-base="
3550 (assoc-ref %build-inputs "xkeyboard-config")
3552 "--disable-xmodmap-support")))
3554 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3555 ("gobject-introspection" ,gobject-introspection)
3556 ("pkg-config" ,pkg-config)
3557 ("gtk-doc" ,gtk-doc)
3558 ("intltool" ,intltool)
3560 ("autoconf" ,autoconf)
3561 ("automake" ,automake)
3562 ("libtool" ,libtool)))
3564 ;; Required by libxklavier.pc.
3566 ("libxml2" ,libxml2)))
3568 `(("iso-codes" ,iso-codes)
3570 ("libxkbfile" ,libxkbfile)
3571 ("xkbcomp" ,xkbcomp)
3572 ("xkeyboard-config" ,xkeyboard-config)))
3573 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3574 (synopsis "High-level API for X Keyboard Extension")
3576 "LibXklavier is a library providing high-level API for X Keyboard
3577 Extension known as XKB. This library is intended to support XFree86 and other
3578 commercial X servers. It is useful for creating XKB-related software (layout
3580 (license license:lgpl2.0+)))
3582 (define-public python2-rsvg
3583 ;; XXX: This is actually a subset of gnome-python-desktop.
3585 (name "python2-rsvg")
3591 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3592 version ".tar.bz2"))
3595 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3596 (build-system gnu-build-system)
3598 `(("pkg-config" ,pkg-config)))
3600 `(("python" ,python-2)
3601 ("python2-pygtk" ,python2-pygtk)
3602 ("librsvg" ,librsvg)))
3603 (home-page "https://www.gnome.org")
3604 (synopsis "Python bindings to librsvg")
3606 "This package provides Python bindings to librsvg, the SVG rendering
3609 ;; This is the license of the rsvg bindings. The license of each module
3610 ;; of gnome-python-desktop is given in 'COPYING'.
3611 (license license:lgpl2.1+)))
3613 (define-public glib-networking
3615 (name "glib-networking")
3619 (uri (string-append "mirror://gnome/sources/glib-networking/"
3620 (version-major+minor version) "/"
3621 "glib-networking-" version ".tar.xz"))
3624 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3625 (build-system meson-build-system)
3627 `(#:configure-flags '("-Dlibproxy_support=false")))
3629 `(("pkg-config" ,pkg-config)
3630 ("intltool" ,intltool)))
3634 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3635 (home-page "https://www.gnome.org")
3636 (synopsis "Network-related GIO modules")
3638 "This package contains various network related extensions for the GIO
3640 (license license:lgpl2.0+)))
3648 (uri (string-append "mirror://gnome/sources/rest/"
3649 (version-major+minor version) "/"
3650 name "-" version ".tar.xz"))
3653 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3654 (build-system gnu-build-system)
3656 '(#:tests? #f ; tests require internet connection
3658 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3660 `(("glib-mkenums" ,glib "bin")
3661 ("gobject-introspection" ,gobject-introspection)
3662 ("pkg-config" ,pkg-config)))
3664 ;; rest-0.7.pc refers to all these.
3666 ("libsoup" ,libsoup)
3667 ("libxml2" ,libxml2)))
3668 (home-page "https://www.gtk.org/")
3669 (synopsis "RESTful web api query library")
3671 "This library was designed to make it easier to access web services that
3672 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3673 libxml to ease remote use of the RESTful API.")
3674 (license license:lgpl2.1+)))
3676 (define-public libsoup
3682 (uri (string-append "mirror://gnome/sources/libsoup/"
3683 (version-major+minor version) "/"
3684 "libsoup-" version ".tar.xz"))
3687 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3688 (build-system meson-build-system)
3689 (outputs '("out" "doc"))
3691 `(#:modules ((guix build utils)
3692 (guix build meson-build-system)
3695 #:configure-flags '("-Dgtk_doc=true")
3697 (modify-phases %standard-phases
3698 (add-after 'unpack 'adjust-tests
3700 ;; This test fails due to missing /etc/nsswitch.conf
3701 ;; in the build environment.
3702 (substitute* "tests/socket-test.c"
3703 ((".*/sockets/unconnected.*") ""))
3705 ;; These fail because "subdomain.localhost" does not resolve in
3706 ;; the build environment.
3707 (substitute* "tests/hsts-test.c"
3708 ((".*/hsts/basic.*") "")
3709 ((".*/hsts/subdomains.*") "")
3710 ((".*/hsts/superdomain.*") "")
3711 ((".*/hsts/utf8-address.*") ""))
3712 (substitute* "tests/hsts-db-test.c"
3713 ((".*/hsts-db/subdomains.*") ""))
3715 ;; Generate a self-signed certificate that has "localhost" as its
3716 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3717 ;; 3.5.12, tests such as "ssl-tests" fail:
3719 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3721 ;; 'certtool' is interactive so we have to pipe it the answers.
3722 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3723 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3724 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3725 (for-each (lambda (line)
3730 "Guix" ;Organizational unit name
3731 "GNU" ;Organization name
3733 "" ;State or province
3735 "" ;subject's domain component (DC)
3738 "-1" ;expiration time
3739 "N" ;belong to authority?
3740 "N" ;web client certificate?
3742 "Y" ;web server certificate?
3743 "localhost" ;dnsName of subject
3744 "" ;dnsName of subject (end)
3746 "127.0.0.1" ;IP address of subject
3748 "" ;encryption (RSA)?
3749 "" ;data encryption?
3750 "" ;sign OCSP requests?
3753 "" ;email protection?
3754 "" ;URI of the CRL distribution point
3759 (add-after 'install 'move-doc
3760 (lambda* (#:key outputs #:allow-other-keys)
3761 (let ((out (assoc-ref outputs "out"))
3762 (doc (assoc-ref outputs "doc")))
3763 (mkdir-p (string-append doc "/share"))
3764 (copy-recursively (string-append out "/share/gtk-doc")
3765 (string-append doc "/share/gtk-doc"))
3766 (delete-file-recursively (string-append out "/share/gtk-doc"))
3769 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3770 ("gobject-introspection" ,gobject-introspection)
3771 ("gtk-doc" ,gtk-doc)
3772 ("intltool" ,intltool)
3773 ("pkg-config" ,pkg-config)
3774 ("python" ,python-wrapper)
3778 ("gnutls" ,gnutls) ;for 'certtool'
3781 ;; libsoup-2.4.pc refers to all these.
3782 `(("brotli" ,google-brotli)
3785 ("libxml2" ,libxml2)
3789 `(("glib-networking" ,glib-networking)
3790 ("mit-krb5" ,mit-krb5)))
3791 (home-page "https://live.gnome.org/LibSoup/")
3792 (synopsis "GLib-based HTTP Library")
3794 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3795 and the GLib main loop, to integrate well with GNOME applications.")
3796 (license license:lgpl2.0+)))
3799 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
3800 (define-public libsoup-minimal
3803 (name "libsoup-minimal")
3804 (outputs (delete "doc" (package-outputs libsoup)))
3806 (substitute-keyword-arguments (package-arguments libsoup)
3807 ((#:configure-flags configure-flags)
3808 `(delete "-Dgtk_doc=true" ,configure-flags))
3810 `(modify-phases ,phases
3811 (delete 'move-doc)))))
3812 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
3814 (define-public libsecret
3821 "mirror://gnome/sources/libsecret/"
3822 (version-major+minor version) "/"
3823 "libsecret-" version ".tar.xz"))
3826 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
3827 (build-system gnu-build-system)
3828 (outputs '("out" "doc"))
3830 `(#:tests? #f ; FIXME: Testing hangs.
3832 (list (string-append "--with-html-dir="
3833 (assoc-ref %outputs "doc")
3834 "/share/gtk-doc/html"))))
3836 `(("gettext" ,gettext-minimal)
3837 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3838 ("gobject-introspection" ,gobject-introspection)
3839 ("pkg-config" ,pkg-config)
3841 ("xsltproc" ,libxslt)))
3842 ;; These are needed for the tests.
3843 ;; FIXME: Add gjs once available.
3845 ;("python2" ,python-2)
3846 ;("python2-dbus" ,python2-dbus)
3847 ;("python2-pygobject" ,python2-pygobject)
3848 ;("python2-pygobject-2" ,python2-pygobject-2)))
3850 `(("glib" ,glib))) ; required by libsecret-1.pc
3852 `(("docbook-xsl" ,docbook-xsl)
3853 ("libgcrypt" ,libgcrypt)
3854 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3855 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3856 (synopsis "GObject bindings for \"Secret Service\" API")
3858 "Libsecret is a GObject based library for storing and retrieving passwords
3859 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3860 (license license:lgpl2.1+)))
3862 (define-public five-or-more
3864 (name "five-or-more")
3869 (uri (string-append "mirror://gnome/sources/five-or-more/"
3870 (version-major+minor version) "/"
3871 "five-or-more-" version ".tar.xz"))
3873 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
3874 (build-system meson-build-system)
3878 (modify-phases %standard-phases
3879 (add-after 'unpack 'skip-gtk-update-icon-cache
3881 (substitute* "meson_post_install.py"
3882 (("gtk-update-icon-cache") (which "true")))
3885 `(("pkg-config" ,pkg-config)
3886 ("appstream-glib" ,appstream-glib)
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 ("libgnome-games-support" ,libgnome-games-support)
3896 ("librsvg" ,librsvg)))
3897 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3898 (synopsis "Logic puzzle game")
3899 (description "Five or More is a game where you try to align
3900 five or more objects of the same color and shape causing them to disappear.
3901 On every turn more objects will appear, until the board is full.
3902 Try to last as long as possible.")
3903 (license license:gpl2+)))
3905 (define-public gnome-mines
3907 (name "gnome-mines")
3912 (uri (string-append "mirror://gnome/sources/" name "/"
3913 (version-major+minor version) "/"
3914 name "-" version ".tar.xz"))
3917 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
3918 (build-system meson-build-system)
3922 (modify-phases %standard-phases
3923 (add-after 'unpack 'skip-gtk-update-icon-cache
3925 (substitute* "build-aux/meson_post_install.py"
3926 (("gtk-update-icon-cache") (which "true")))
3929 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3930 ("pkg-config" ,pkg-config)
3931 ("desktop-file-utils" ,desktop-file-utils)
3932 ("intltool" ,intltool)
3933 ("itstool" ,itstool)
3936 ("appstream-glib" ,appstream-glib)))
3939 ("libgnome-games-support" ,libgnome-games-support)
3940 ("librsvg" ,librsvg)))
3941 (home-page "https://wiki.gnome.org/Apps/Mines")
3942 (synopsis "Minesweeper game")
3944 "Mines (previously gnomine) is a puzzle game where you locate mines
3945 floating in an ocean using only your brain and a little bit of luck.")
3946 (license license:gpl2+)))
3948 (define-public gnome-multi-writer
3950 (name "gnome-multi-writer")
3955 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
3956 (version-major+minor version) "/"
3957 "gnome-multi-writer-" version ".tar.xz"))
3960 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
3961 (build-system meson-build-system)
3965 (modify-phases %standard-phases
3966 (add-after 'unpack 'skip-post-install
3968 (substitute* "meson.build"
3969 (("meson.add_install_script" &) (string-append "# " &)))
3972 `(("glib:bin" ,glib "bin")
3973 ("pkg-config" ,pkg-config)))
3976 ("glib" ,glib) ; for gio
3979 ("libgudev" ,libgudev)
3980 ("libcanberra" ,libcanberra)
3981 ("polkit" ,polkit)))
3982 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
3983 (synopsis "Write to multiple USB devices at once")
3985 "MultiWriter can be used to write an ISO file to multiple USB devices at
3987 (license license:gpl2+)))
3989 (define-public gnome-sudoku
3991 (name "gnome-sudoku")
3996 (uri (string-append "mirror://gnome/sources/" name "/"
3997 (version-major+minor version) "/"
3998 name "-" version ".tar.xz"))
4001 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
4002 (build-system meson-build-system)
4006 (modify-phases %standard-phases
4007 (add-after 'unpack 'skip-gtk-update-icon-cache
4009 (substitute* "build-aux/post_install.py"
4010 (("gtk-update-icon-cache") (which "true")))
4013 `(("pkg-config" ,pkg-config)
4014 ("desktop-file-utils" ,desktop-file-utils)
4015 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4016 ("intltool" ,intltool)
4017 ("itstool" ,itstool)
4019 ("xmllint" ,libxml2)))
4022 ("json-glib" ,json-glib)
4024 ("librsvg" ,librsvg)
4025 ("qqwing" ,qqwing)))
4026 (home-page "https://wiki.gnome.org/Apps/Sudoku")
4027 (synopsis "Japanese logic game")
4029 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
4030 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
4031 possible while still providing features that make playing difficult Sudoku
4033 (license license:gpl2+)))
4035 (define-public gnome-terminal
4037 (name "gnome-terminal")
4042 (uri (string-append "mirror://gnome/sources/" name "/"
4043 (version-major+minor version) "/"
4044 name "-" version ".tar.xz"))
4047 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
4048 (build-system glib-or-gtk-build-system)
4051 (list "--disable-migration" "--disable-search-provider"
4052 "--without-nautilus-extension")
4054 (modify-phases %standard-phases
4055 (add-before 'configure 'patch-/bin/true
4057 (substitute* "configure"
4058 (("/bin/true") (which "true"))))))))
4060 `(("pkg-config" ,pkg-config)
4061 ("desktop-file-utils" ,desktop-file-utils)
4062 ("intltool" ,intltool)
4063 ("itstool" ,itstool)
4064 ("xmllint" ,libxml2)))
4066 `(("dconf" ,dconf)))
4071 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4072 ("util-linux" ,util-linux "lib")
4074 (home-page "https://wiki.gnome.org/Apps/Terminal")
4075 (synopsis "Terminal emulator")
4077 "GNOME Terminal is a terminal emulator application for accessing a
4078 UNIX shell environment which can be used to run programs available on
4081 It supports several profiles, multiple tabs and implements several
4082 keyboard shortcuts.")
4083 (license license:gpl3+)))
4085 (define-public colord
4092 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
4093 "colord-" version ".tar.xz"))
4095 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
4096 (build-system meson-build-system)
4098 '(;; FIXME: One test fails:
4099 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4100 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4101 ;; application/x-zerosize
4104 #:configure-flags (list "-Dlocalstatedir=/var"
4105 ;; No dep on systemd.
4107 ;; Wants to install to global completion dir;
4109 "-Dbash_completion=false"
4110 "-Ddaemon_user=colord"
4113 ;; Requires spotread.
4114 "-Dargyllcms_sensor=false"
4115 ;; TODO: Requires docbook2x.
4118 (modify-phases %standard-phases
4119 (add-before 'configure 'patch-build-system
4120 (lambda* (#:key outputs #:allow-other-keys)
4121 (substitute* "rules/meson.build"
4122 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4123 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4125 (add-before 'configure 'set-sqlite3-file-name
4126 (lambda* (#:key inputs #:allow-other-keys)
4127 ;; "colormgr dump" works by invoking the "sqlite3" command.
4128 ;; Record its absolute file name.
4129 (let ((sqlite (assoc-ref inputs "sqlite")))
4130 (substitute* "client/cd-util.c"
4132 (string-append "\"" sqlite "/bin/sqlite3\"")))
4135 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4136 ("gettext" ,gettext-minimal)
4137 ("gobject-introspection" ,gobject-introspection)
4138 ("gtk-doc" ,gtk-doc)
4139 ("pkg-config" ,pkg-config)
4142 ;; colord.pc refers to all these.
4147 `(("dbus-glib" ,dbus-glib)
4149 ("libgudev" ,libgudev)
4152 ("python" ,python-wrapper)
4154 ("sane-backends" ,sane-backends)))
4155 (home-page "https://www.freedesktop.org/software/colord/")
4156 (synopsis "Color management service")
4157 (description "Colord is a system service that makes it easy to manage,
4158 install and generate color profiles to accurately color manage input and
4160 (license license:gpl2+)))
4162 (define-public geoclue
4170 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4171 version "/geoclue-" version ".tar.bz2"))
4173 (base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
4174 (patches (search-patches "geoclue-config.patch"))))
4175 (build-system meson-build-system)
4177 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4179 `(("pkg-config" ,pkg-config)
4180 ("gobject-introspection" ,gobject-introspection)
4181 ("modem-manager" ,modem-manager)
4182 ("libnotify" ,libnotify)
4183 ("gtk-doc", gtk-doc)
4184 ("intltool" ,intltool)))
4187 ("glib:bin" ,glib "bin")
4188 ("glib-networking" ,glib-networking)
4189 ("json-glib" ,json-glib)
4190 ("libsoup" ,libsoup)))
4191 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4192 (synopsis "Geolocation service")
4193 (description "Geoclue is a D-Bus service that provides location
4194 information. The primary goal of the Geoclue project is to make creating
4195 location-aware applications as simple as possible, while the secondary goal is
4196 to ensure that no application can access location information without explicit
4197 permission from user.")
4198 (license license:gpl2+)))
4200 (define-public geocode-glib
4202 (name "geocode-glib")
4206 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4207 (version-major+minor version) "/"
4208 "geocode-glib-" version ".tar.xz"))
4211 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4212 (build-system meson-build-system)
4215 (modify-phases %standard-phases
4216 ;; The tests require a bunch of locales.
4217 (add-before 'check 'set-locales
4218 (lambda* (#:key inputs #:allow-other-keys)
4219 (setenv "GUIX_LOCPATH"
4220 (string-append (assoc-ref inputs "glibc-locales")
4224 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4225 ("glibc-locales" ,glibc-locales) ; for tests
4226 ("gettext" ,gettext-minimal)
4227 ("gobject-introspection" ,gobject-introspection)
4228 ("gtk-doc" ,gtk-doc)
4229 ("pkg-config" ,pkg-config)
4230 ("json-glib" ,json-glib)))
4232 ;; geocode-glib-1.0.pc refers to GIO.
4235 `(("libsoup" ,libsoup)))
4236 (home-page "https://github.com/GNOME/geocode-glib/")
4237 (synopsis "Geocoding and reverse-geocoding library")
4239 "geocode-glib is a convenience library for geocoding (finding longitude,
4240 and latitude from an address) and reverse geocoding (finding an address from
4241 coordinates) using the Nominatim service. geocode-glib caches requests for
4242 faster results and to avoid unnecessary server load.")
4243 (license license:lgpl2.0+)))
4245 (define-public upower
4251 (uri (string-append "https://upower.freedesktop.org/releases/"
4252 "upower-" version ".tar.xz"))
4255 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4256 (patches (search-patches "upower-builddir.patch"))
4257 (modules '((guix build utils)))
4261 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4262 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4263 ;; 'dbus-configuration-directory' in (gnu services dbus)
4264 ;; expects it in etc/. Thus, move it back to its previous
4266 (substitute* "src/Makefile.in"
4267 (("^dbusconfdir =.*$")
4268 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4270 (build-system glib-or-gtk-build-system)
4273 (modify-phases %standard-phases
4274 (add-before 'check 'pre-check
4275 (lambda* (#:key inputs #:allow-other-keys)
4276 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
4278 (setenv "LD_LIBRARY_PATH" umockdev))
4280 #:configure-flags (list "--localstatedir=/var"
4281 (string-append "--with-udevrulesdir="
4282 (assoc-ref %outputs "out")
4283 "/lib/udev/rules.d"))))
4285 `(("gobject-introspection" ,gobject-introspection)
4286 ("pkg-config" ,pkg-config)
4287 ("intltool" ,intltool)
4291 ("python-dbus" ,python-dbus)
4292 ("python-dbusmock" ,python-dbusmock)
4293 ("python-pygobject" ,python-pygobject)
4294 ("umockdev" ,umockdev)
4297 ("libxslt" ,libxslt) ;for 'xsltproc'
4298 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4299 ("docbook-xsl" ,docbook-xsl)))
4301 `(("dbus-glib" ,dbus-glib)
4302 ("libgudev" ,libgudev)
4303 ("libusb" ,libusb)))
4305 ;; In Requires of upower-glib.pc.
4307 (home-page "https://upower.freedesktop.org/")
4308 (synopsis "System daemon for managing power devices")
4310 "UPower is an abstraction for enumerating power devices,
4311 listening to device events and querying history and statistics. Any
4312 application or service on the system can access the org.freedesktop.UPower
4313 service via the system message bus.")
4314 (license license:gpl2+)))
4316 (define-public libgweather
4318 (name "libgweather")
4322 (uri (string-append "mirror://gnome/sources/" name "/"
4323 (version-major+minor version) "/"
4324 name "-" version ".tar.xz"))
4327 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4328 (build-system meson-build-system)
4330 `(#:tests? #f ; one of two tests requires network access
4332 `(,(string-append "-Dzoneinfo_dir="
4333 (assoc-ref %build-inputs "tzdata")
4334 "/share/zoneinfo"))))
4336 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4337 ("gobject-introspection" ,gobject-introspection)
4338 ("pkg-config" ,pkg-config)
4340 ("intltool" ,intltool)))
4342 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4345 ("gdk-pixbuf" ,gdk-pixbuf)
4346 ("libxml2" ,libxml2)
4347 ("libsoup" ,libsoup)
4348 ("geocode-glib" ,geocode-glib)))
4350 `(("tzdata" ,tzdata)))
4351 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4352 (synopsis "Location, time zone, and weather library for GNOME")
4354 "libgweather is a library to access weather information from online
4355 services for numerous locations.")
4356 (license license:gpl2+)))
4358 (define-public gnome-settings-daemon
4360 (name "gnome-settings-daemon")
4365 (uri (string-append "mirror://gnome/sources/" name "/"
4366 (version-major+minor version) "/"
4367 name "-" version ".tar.xz"))
4370 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4371 (build-system meson-build-system)
4375 (list (string-append "-Dudev_dir="
4376 (assoc-ref %outputs "out")
4377 "/lib/udev/rules.d/")
4379 ;; Otherwise, the RUNPATH will lack the final path component.
4380 (string-append "-Dc_link_args=-Wl,-rpath="
4381 (assoc-ref %outputs "out")
4382 "/lib/gnome-settings-daemon-3.0"))
4383 ;; Color management test can't reach the colord system service.
4386 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4387 ("pkg-config" ,pkg-config)
4388 ("intltool" ,intltool)
4389 ("xsltproc" ,libxslt)
4390 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4391 ("docbook-xml" ,docbook-xml-4.2)
4392 ("docbook-xsl" ,docbook-xsl)))
4394 `(("alsa-lib" ,alsa-lib)
4396 ("libgudev" ,libgudev)
4399 ("pulseaudio" ,pulseaudio)
4400 ("libcanberra" ,libcanberra)
4402 ("libxtst" ,libxtst)
4404 ("libnotify" ,libnotify)
4405 ("geoclue" ,geoclue)
4406 ("geocode-glib" ,geocode-glib)
4407 ("libgweather" ,libgweather)
4408 ("gnome-desktop" ,gnome-desktop)
4411 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4412 ("libwacom" ,libwacom)
4413 ("librsvg" ,librsvg)
4414 ("xf86-input-wacom" ,xf86-input-wacom)
4415 ("wayland" ,wayland)
4416 ("network-manager" ,network-manager)
4418 ("modem-manager" ,modem-manager)))
4419 (home-page "https://www.gnome.org")
4420 (synopsis "GNOME settings daemon")
4422 "This package contains the daemon responsible for setting the various
4423 parameters of a GNOME session and the applications that run under it. It
4424 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4425 settings, themes, mouse settings, and startup of other daemons.")
4426 (license license:gpl2+)))
4428 (define-public totem-pl-parser
4430 (name "totem-pl-parser")
4434 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4435 (version-major+minor version) "/"
4436 "totem-pl-parser-" version ".tar.xz"))
4439 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4440 (build-system meson-build-system)
4442 ;; FIXME: Tests require gvfs.
4445 `(("intltool" ,intltool)
4446 ("glib" ,glib "bin")
4447 ("gobject-introspection" ,gobject-introspection)
4448 ("pkg-config" ,pkg-config)))
4452 ("libarchive" ,libarchive)
4453 ("libgcrypt" ,libgcrypt)
4454 ("libxml2" ,libxml2)))
4456 `(("libsoup" ,libsoup)))
4457 (home-page "https://projects.gnome.org/totem")
4458 (synopsis "Library to parse and save media playlists for GNOME")
4459 (description "Totem-pl-parser is a GObjects-based library to parse and save
4460 playlists in a variety of formats.")
4461 (license license:lgpl2.0+)))
4463 (define-public aisleriot
4469 (uri (string-append "mirror://gnome/sources/aisleriot/"
4470 (version-major+minor version) "/"
4471 "aisleriot-" version ".tar.xz"))
4474 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4475 (build-system glib-or-gtk-build-system)
4478 '("--with-platform=gtk-only"
4479 "--with-card-theme-formats=svg")))
4481 `(("desktop-file-utils" ,desktop-file-utils)
4482 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4483 ("intltool" ,intltool)
4484 ("itstool" ,itstool)
4485 ("pkg-config" ,pkg-config)
4486 ("xmllint" ,libxml2)))
4489 ("guile" ,guile-2.2)
4490 ("libcanberra" ,libcanberra)
4491 ("librsvg" ,librsvg)))
4492 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4493 (synopsis "Solitaire card games")
4495 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4496 which are easy to play with the aid of a mouse.")
4497 (license license:gpl3+)))
4505 (uri (string-append "mirror://gnome/sources/amtk/"
4506 (version-major+minor version) "/"
4507 "amtk-" version ".tar.xz"))
4510 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4511 (build-system gnu-build-system)
4513 '(#:configure-flags '("--enable-gtk-doc")))
4515 `(("gobject-introspection" ,gobject-introspection)
4516 ("glib:bin" ,glib "bin") ; for glib-mkenums
4517 ("gtk-doc" ,gtk-doc)
4518 ("pkg-config" ,pkg-config)))
4522 (home-page "https://wiki.gnome.org/Projects/Amtk")
4523 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4525 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4526 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4527 both a traditional UI or a modern UI with a GtkHeaderBar.")
4528 (license license:lgpl2.1+)))
4530 (define-public devhelp
4536 (uri (string-append "mirror://gnome/sources/" name "/"
4537 (version-major+minor version) "/"
4538 name "-" version ".tar.xz"))
4541 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4542 (build-system meson-build-system)
4546 (modify-phases %standard-phases
4547 (add-after 'unpack 'skip-gtk-update-icon-cache
4548 ;; Don't create 'icon-theme.cache'.
4550 (substitute* "meson_post_install.py"
4551 (("gtk-update-icon-cache") "true"))
4554 `(("intltool" ,intltool)
4555 ("itstool" ,itstool)
4556 ("gobject-introspection" ,gobject-introspection)
4557 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4558 ("pkg-config" ,pkg-config)))
4561 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4562 ("webkitgtk" ,webkitgtk)))
4563 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4564 (synopsis "API documentation browser for GNOME")
4566 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4567 natively with GTK-Doc (the API reference system developed for GTK+ and used
4568 throughout GNOME for API documentation).")
4569 (license license:gpl2+)))
4578 (uri (string-append "mirror://gnome/sources/cogl/"
4579 (version-major+minor version) "/"
4580 "cogl-" version ".tar.xz"))
4582 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
4583 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4584 ;; cogl, corresponding changes may be appropriate in mutter as well.
4585 (build-system gnu-build-system)
4587 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4588 ("gobject-introspection" ,gobject-introspection)
4589 ("xorg-server" ,xorg-server-for-tests)
4590 ("pkg-config" ,pkg-config)))
4593 ("gdk-pixbuf" ,gdk-pixbuf)
4595 ("libxext" ,libxext)
4596 ("libxfixes" ,libxfixes)
4597 ("libxdamage" ,libxdamage)
4598 ("libxcomposite" ,libxcomposite)
4599 ("libxrandr" ,libxrandr)))
4604 ("gstreamer" ,gstreamer)
4605 ("gst-plugins-base" ,gst-plugins-base)
4606 ("wayland" ,wayland)))
4608 `(#:disallowed-references (,xorg-server-for-tests)
4609 #:configure-flags (list "--enable-cogl-gst"
4610 "--enable-wayland-egl-platform"
4611 "--enable-wayland-egl-server"
4613 ;; Arrange to pass an absolute file name to
4614 ;; dlopen for libGL.so.
4615 (string-append "--with-gl-libname="
4616 (assoc-ref %build-inputs "mesa")
4619 (modify-phases %standard-phases
4620 (add-after 'unpack 'fix-build-with-mesa-20
4622 ;; Work around a problem with Mesa 20 where some macros used by
4623 ;; Cogl went missing from eglext.h. This can likely be removed
4624 ;; for newer versions of Cogl or Mesa.
4625 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
4626 (substitute* '("configure"
4627 "cogl/winsys/cogl-winsys-egl-kms.c")
4628 (("#include <EGL/eglext.h>" all)
4629 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
4631 (add-before 'check 'start-xorg-server
4632 (lambda* (#:key tests? inputs #:allow-other-keys)
4635 ;; The test suite requires a running X server.
4636 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
4637 (assoc-ref inputs "xorg-server")))
4638 (setenv "DISPLAY" ":1")
4640 (format #t "test suite not run~%"))
4642 (home-page "https://www.cogl3d.org")
4643 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4645 "Cogl is a small library for using 3D graphics hardware to draw pretty
4646 pictures. The API departs from the flat state machine style of OpenGL and is
4647 designed to make it easy to write orthogonal components that can render
4648 without stepping on each others toes.")
4649 (license (list license:expat ; most of the code
4650 license:bsd-3 ; cogl/cogl-point-in-poly.c
4651 license:sgifreeb2.0 ; cogl-path/tesselator/
4652 license:asl2.0)))) ; examples/android/
4654 (define-public clutter
4661 (uri (string-append "mirror://gnome/sources/" name "/"
4662 (version-major+minor version) "/"
4663 name "-" version ".tar.xz"))
4666 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4667 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4668 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4669 (build-system gnu-build-system)
4671 "doc")) ;9 MiB of gtk-doc HTML pages
4673 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4674 ("gobject-introspection" ,gobject-introspection)
4675 ("pkg-config" ,pkg-config)
4676 ("xsltproc" ,libxslt)))
4682 ("json-glib" ,json-glib)
4684 ("libxcomposite" ,libxcomposite)
4685 ("libxdamage" ,libxdamage)
4686 ("libxext" ,libxext)
4687 ("xinput" ,xinput)))
4689 `(("libxkbcommon" ,libxkbcommon)
4692 `(#:configure-flags (list "--enable-x11-backend=yes"
4694 ;; This produces share/doc/{clutter,cally}.
4695 (string-append "--with-html-dir="
4696 (assoc-ref %outputs "doc")
4698 ;; XXX FIXME: Get test suite working. It would probably fail in the
4699 ;; same way the cogl tests fail, since clutter is based on cogl.
4701 (home-page "http://www.clutter-project.org")
4702 (synopsis "OpenGL-based interactive canvas library")
4704 "Clutter is an OpenGL-based interactive canvas library, designed for
4705 creating fast, mainly 2D single window applications such as media box UIs,
4706 presentations, kiosk style applications and so on.")
4707 (license license:lgpl2.0+)))
4709 (define-public clutter-gtk
4711 (name "clutter-gtk")
4716 (uri (string-append "mirror://gnome/sources/" name "/"
4717 (version-major+minor version) "/"
4718 name "-" version ".tar.xz"))
4721 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4722 (build-system gnu-build-system)
4724 `(("pkg-config" ,pkg-config)
4725 ("gobject-introspection" ,gobject-introspection)))
4727 ;; clutter-gtk.pc refers to all these.
4728 `(("clutter" ,clutter)
4730 (home-page "http://www.clutter-project.org")
4731 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4733 "Clutter is an OpenGL-based interactive canvas library, designed for
4734 creating fast, mainly 2D single window applications such as media box UIs,
4735 presentations, kiosk style applications and so on.")
4736 (license license:lgpl2.0+)))
4738 (define-public clutter-gst
4740 (name "clutter-gst")
4745 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4746 (version-major+minor version) "/"
4747 "clutter-gst-" version ".tar.xz"))
4749 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4750 (build-system gnu-build-system)
4752 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4753 ("pkg-config" ,pkg-config)
4754 ("gobject-introspection" ,gobject-introspection)))
4756 `(("clutter" ,clutter)
4757 ("gstreamer" ,gstreamer)
4758 ("gst-plugins-base" ,gst-plugins-base)))
4759 (home-page "http://www.clutter-project.org")
4760 (synopsis "Integration library for using GStreamer with Clutter")
4762 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4763 It provides a GStreamer sink to upload frames to GL and an actor that
4764 implements the ClutterGstPlayer interface using playbin. Clutter is an
4765 OpenGL-based interactive canvas library.")
4766 (license license:lgpl2.0+)))
4768 (define-public libchamplain
4770 (name "libchamplain")
4775 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4779 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4780 (build-system gnu-build-system)
4781 (arguments '(#:configure-flags '("--enable-vala")))
4783 `(("gobject-introspection" ,gobject-introspection)
4784 ("pkg-config" ,pkg-config)
4787 `(("libsoup" ,libsoup)
4789 ("clutter" ,clutter)
4790 ("clutter-gtk" ,clutter-gtk)
4791 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4795 (home-page "https://projects.gnome.org/libchamplain/")
4796 (synopsis "C library providing a ClutterActor to display maps")
4798 "libchamplain is a C library providing a ClutterActor to display maps.
4799 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4800 and Perl bindings are also available. It supports numerous free map sources
4801 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4802 (license license:lgpl2.1+)))
4811 (uri (string-append "mirror://gnome/sources/gom/"
4812 (version-major+minor version) "/"
4813 "gom-" version ".tar.xz"))
4816 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4817 (build-system gnu-build-system)
4819 `(("intltool" ,intltool)
4820 ("pkg-config" ,pkg-config)
4821 ("gobject-introspection" ,gobject-introspection)))
4824 ("gdk-pixbuf" ,gdk-pixbuf)
4825 ("sqlite" ,sqlite)))
4826 ;; XXX TODO: Figure out how to run the test suite.
4827 (arguments `(#:tests? #f))
4828 (home-page "https://wiki.gnome.org/Projects/Gom")
4829 (synopsis "Object mapper from GObjects to SQLite")
4831 "Gom provides an object mapper from GObjects to SQLite. It helps you
4832 write applications that need to store structured data as well as make complex
4833 queries upon that data.")
4834 (license license:lgpl2.1+)))
4836 (define-public libgnome-games-support
4838 (name "libgnome-games-support")
4842 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4843 (version-major+minor version) "/"
4844 "libgnome-games-support-" version ".tar.xz"))
4847 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4848 (build-system gnu-build-system)
4851 (modify-phases %standard-phases
4852 (add-before 'check 'pre-check
4854 ;; Tests require a writable HOME.
4855 (setenv "HOME" (getcwd))
4858 `(("intltool" ,intltool)
4859 ("pkg-config" ,pkg-config)
4862 ;; Required by libgnome-games-support-1.0.pc
4864 ("libgee" ,libgee)))
4865 (home-page "https://www.gnome.org/")
4866 (synopsis "Useful functionality shared among GNOME games")
4868 "libgnome-games-support is a small library intended for internal use by
4869 GNOME Games, but it may be used by others.")
4870 (license license:lgpl3+)))
4872 (define-public gnome-klotski
4874 (name "gnome-klotski")
4878 (uri (string-append "mirror://gnome/sources/" name "/"
4879 (version-major+minor version) "/"
4880 name "-" version ".tar.xz"))
4883 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
4884 (build-system meson-build-system)
4888 (modify-phases %standard-phases
4889 (add-after 'unpack 'skip-gtk-update-icon-cache
4890 ;; Don't create 'icon-theme.cache'.
4892 (substitute* "build-aux/meson_post_install.py"
4893 (("gtk-update-icon-cache") (which "true")))
4896 `(("desktop-file-utils" ,desktop-file-utils)
4897 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4898 ("intltool" ,intltool)
4899 ("itstool" ,itstool)
4900 ("pkg-config" ,pkg-config)
4902 ("xmllint" ,libxml2)))
4905 ("libgnome-games-support" ,libgnome-games-support)
4906 ("librsvg" ,librsvg)))
4907 (home-page "https://wiki.gnome.org/Apps/Klotski")
4908 (synopsis "Sliding block puzzles")
4910 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4911 the patterned block to the area bordered by green markers. To do so, you will
4912 need to slide other blocks out of the way. Complete each puzzle in as few moves
4914 (license license:gpl2+)))
4916 (define-public grilo
4923 (uri (string-append "mirror://gnome/sources/" name "/"
4924 (version-major+minor version) "/"
4925 name "-" version ".tar.xz"))
4928 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4929 (build-system meson-build-system)
4931 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4932 ("intltool" ,intltool)
4933 ("pkg-config" ,pkg-config)
4934 ("gobject-introspection" ,gobject-introspection)
4935 ("gtk-doc" ,gtk-doc)
4938 `(("cyrus-sasl" ,cyrus-sasl)
4941 ("libxml2" ,libxml2)
4942 ("liboauth" ,liboauth)
4943 ("libsoup" ,libsoup)
4944 ("totem-pl-parser" ,totem-pl-parser)))
4945 (native-search-paths
4946 (list (search-path-specification
4947 (variable "GRL_PLUGIN_PATH")
4948 (files (list (string-append "lib/grilo-"
4949 (version-major+minor version)))))))
4950 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4951 (synopsis "Framework for discovering and browsing media")
4953 "Grilo is a framework focused on making media discovery and browsing easy
4954 for application developers.")
4955 (license license:lgpl2.1+)))
4957 (define-public grilo-plugins
4959 (name "grilo-plugins")
4964 (uri (string-append "mirror://gnome/sources/" name "/"
4965 (version-major+minor version) "/"
4966 name "-" version ".tar.xz"))
4969 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4970 (build-system meson-build-system)
4972 `(("gettext" ,gettext-minimal)
4973 ("glib:bin" ,glib "bin")
4974 ("gtk+:bin" ,gtk+ "bin")
4975 ("itstool" ,itstool)
4976 ("pkg-config" ,pkg-config)))
4977 ;; TODO: ahavi, gstreamer
4980 ;("gmime" ,gmime) ; unused
4981 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4983 ;("gssdp" ,gssdp) ; unused
4984 ;("gupnp" ,gupnp) ; unused
4985 ;("gupnp-av" ,gupnp-av) ; unused
4986 ("json-glib" ,json-glib)
4988 ("libgdata" ,libgdata)
4989 ("libmediaart" ,libmediaart)
4990 ;("librest" ,rest) ; unused
4991 ("libsoup" ,libsoup)
4992 ("totam-pl-parser" ,totem-pl-parser)
4993 ("tracker" ,tracker))) ; unused because it's too old
4996 ;;Disable lua-factory as it needs missing dependencies
4997 #:configure-flags '("-Denable-lua-factory=no")))
4998 (home-page "https://live.gnome.org/Grilo")
4999 (synopsis "Plugins for the Grilo media discovery library")
5001 "Grilo is a framework focused on making media discovery and browsing easy
5002 for application developers. This package provides plugins for common media
5003 discovery protocols.")
5004 (license license:lgpl2.1+)))
5006 (define-public totem
5013 (uri (string-append "mirror://gnome/sources/totem/"
5014 (version-major+minor version) "/"
5015 "totem-" version ".tar.xz"))
5018 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
5019 (build-system meson-build-system)
5021 `(("pkg-config" ,pkg-config)
5022 ("desktop-file-utils" ,desktop-file-utils)
5023 ("gobject-introspection" ,gobject-introspection)
5024 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
5025 ("intltool" ,intltool)
5026 ("itstool" ,itstool)
5027 ("xmllint" ,libxml2)
5028 ("xorg-server" ,xorg-server-for-tests)))
5030 `(("dconf" ,dconf)))
5033 ("gdk-pixbuf" ,gdk-pixbuf)
5036 ("dbus-glib" ,dbus-glib)
5037 ("clutter" ,clutter)
5038 ("clutter-gtk" ,clutter-gtk)
5039 ("clutter-gst" ,clutter-gst)
5040 ("xorgproto" ,xorgproto)
5041 ("libxxf86vm" ,libxxf86vm)
5042 ("libxtst" ,libxtst)
5043 ("libxrandr" ,libxrandr)
5044 ("libxml2" ,libxml2)
5045 ("libsoup" ,libsoup)
5046 ("libpeas" ,libpeas)
5047 ("librsvg" ,librsvg)
5049 ("gnome-desktop" ,gnome-desktop)
5050 ("gstreamer" ,gstreamer)
5051 ("gst-plugins-base" ,gst-plugins-base)
5052 ("gst-plugins-good" ,gst-plugins-good)
5053 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5054 ("adwaita-icon-theme" ,adwaita-icon-theme)
5056 ("python-pygobject" ,python-pygobject)
5057 ("totem-pl-parser" ,totem-pl-parser)
5059 ("grilo-plugins" ,grilo-plugins)
5064 ;; Disable automatic GStreamer plugin installation via PackageKit and
5066 #:configure-flags '("-D" "enable-easy-codec-installation=no"
5068 ;; Do not build .a files for the plugins, it's
5069 ;; completely useless. This saves 2 MiB.
5070 "--default-library" "shared")
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"))
5080 'install 'disable-cache-generation
5082 (setenv "DESTDIR" "/")
5087 ;; Tests require a running X server.
5088 (system "Xvfb :1 &")
5089 (setenv "DISPLAY" ":1")
5092 'install 'wrap-totem
5093 (lambda* (#:key inputs outputs #:allow-other-keys)
5094 (let ((out (assoc-ref outputs "out"))
5095 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5096 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5097 (wrap-program (string-append out "/bin/totem")
5098 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5099 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5100 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5101 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
5103 (home-page "https://wiki.gnome.org/Apps/Videos")
5104 (synopsis "Simple media player for GNOME based on GStreamer")
5105 (description "Totem is a simple yet featureful media player for GNOME
5106 which can read a large number of file formats.")
5107 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5108 ;; to be used and distributed together with GStreamer and Totem. See
5109 ;; file://COPYING in the source distribution for details.
5110 (license license:gpl2+)))
5112 (define-public rhythmbox
5118 (uri (string-append "mirror://gnome/sources/rhythmbox/"
5119 (version-major+minor version) "/"
5120 "rhythmbox-" version ".tar.xz"))
5123 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5124 (build-system glib-or-gtk-build-system)
5127 (list "--enable-lirc"
5134 (modify-phases %standard-phases
5136 'install 'wrap-rhythmbox
5137 (lambda* (#:key inputs outputs #:allow-other-keys)
5138 (let ((out (assoc-ref outputs "out"))
5139 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5140 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5141 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5142 (python-path (getenv "PYTHONPATH")))
5143 (wrap-program (string-append out "/bin/rhythmbox")
5144 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5145 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5146 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5147 `("PYTHONPATH" ":" prefix (,python-path))))
5150 `(("dconf" ,dconf)))
5152 `(("itstool" ,itstool)
5153 ("intltool" ,intltool)
5154 ("glib" ,glib "bin")
5155 ("gobject-introspection" ,gobject-introspection)
5156 ("desktop-file-utils" ,desktop-file-utils)
5157 ("pkg-config" ,pkg-config)
5158 ("xmllint" ,libxml2)))
5160 `(("json-glib" ,json-glib)
5162 ("gnome-desktop" ,gnome-desktop)
5164 ("python-pygobject" ,python2-pygobject)
5167 ("adwaita-icon-theme" ,adwaita-icon-theme)
5169 ("grilo-plugins" ,grilo-plugins)
5170 ("gstreamer" ,gstreamer)
5171 ("gst-plugins-base" ,gst-plugins-base)
5172 ("gst-plugins-good" ,gst-plugins-good)
5173 ("totem-pl-parser" ,totem-pl-parser)
5174 ("libgudev" ,libgudev)
5175 ;;("libmtp" ,libmtp) FIXME: Not detected
5176 ("libsecret" ,libsecret)
5177 ("libsoup" ,libsoup)
5178 ("libnotify" ,libnotify)
5179 ("libpeas" ,libpeas)
5181 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5182 ;;("clutter" ,clutter)
5183 ;;("clutter-gtk" ,clutter-gtk)
5184 ;;("clutter-gst" ,clutter-gst)
5185 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5192 ("brasero" ,brasero)))
5193 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5194 (synopsis "Music player for GNOME")
5195 (description "Rhythmbox is a music playing application for GNOME. It
5196 supports playlists, song ratings, and any codecs installed through gstreamer.")
5197 (license license:gpl2+)))
5205 (uri (string-append "mirror://gnome/sources/" name "/"
5206 (version-major+minor version) "/"
5207 name "-" version ".tar.xz"))
5210 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5211 (build-system meson-build-system)
5214 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5215 (list (string-append "-Dc_link_args=-Wl,-rpath="
5216 (assoc-ref %outputs "out") "/lib/eog"))
5218 (modify-phases %standard-phases
5219 (add-after 'unpack 'skip-gtk-update-icon-cache
5220 ;; Don't create 'icon-theme.cache'.
5222 (substitute* "meson_post_install.py"
5223 (("gtk-update-icon-cache") "true"))
5225 (add-after 'install 'wrap-eog
5226 (lambda* (#:key outputs #:allow-other-keys)
5227 (let ((out (assoc-ref outputs "out"))
5228 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5229 (wrap-program (string-append out "/bin/eog")
5230 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5233 `(("dconf" ,dconf)))
5235 `(("intltool" ,intltool)
5236 ("itstool" ,itstool)
5237 ("glib" ,glib "bin")
5238 ("gobject-introspection" ,gobject-introspection)
5239 ("pkg-config" ,pkg-config)
5240 ("xmllint" ,libxml2)))
5242 `(("gnome-desktop" ,gnome-desktop)
5243 ("shared-mime-info" ,shared-mime-info)
5244 ("adwaita-icon-theme" ,adwaita-icon-theme)
5247 ("libexif" ,libexif)
5248 ("libpeas" ,libpeas)
5249 ("libjpeg" ,libjpeg-turbo)
5250 ("librsvg" ,librsvg-next)
5251 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5253 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5254 (synopsis "GNOME image viewer")
5255 (description "Eye of GNOME is the GNOME image viewer. It
5256 supports image conversion, rotation, and slideshows.")
5257 (license license:gpl2+)))
5259 (define-public eog-plugins
5260 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5261 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5262 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5263 ;; 'XDG_DATA_DIRS' appropriately set.
5265 (name "eog-plugins")
5269 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5270 (version-major+minor version) "/"
5271 "eog-plugins-" version ".tar.xz"))
5274 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5275 (build-system gnu-build-system)
5276 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5277 (synopsis "Extensions for the Eye of GNOME image viewer")
5279 `(("pkg-config" ,pkg-config)
5280 ("gettext" ,gettext-minimal)))
5285 ("libpeas" ,libpeas)
5286 ("libexif" ,libexif)
5287 ("libchamplain" ,libchamplain)))
5289 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5293 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5294 @item @dfn{Map}, which displays a map of where the picture was taken on the
5296 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5299 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5300 ;; long suspicious byte stream that goes to a
5301 ;; ".gresource.eog_postasa_plugin" ELF section.
5302 (license license:gpl2+)))
5304 (define-public libgudev
5310 (uri (string-append "mirror://gnome/sources/" name "/"
5311 version "/" name "-" version ".tar.xz"))
5314 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5315 (build-system gnu-build-system)
5318 ;; umockdev depends on libgudev.
5319 (list "--disable-umockdev")))
5321 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5322 ("gobject-introspection" ,gobject-introspection)
5323 ("pkg-config" ,pkg-config)))
5325 `(("glib" ,glib))) ; required by gudev-1.0.pc
5328 (home-page "https://wiki.gnome.org/Projects/libgudev")
5329 (synopsis "GObject bindings for libudev")
5331 "This library provides GObject bindings for libudev. It was originally
5332 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5333 (license license:lgpl2.1+)))
5341 (uri (string-append "mirror://gnome/sources/gvfs/"
5342 (version-major+minor version) "/"
5343 "gvfs-" version ".tar.xz"))
5346 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
5347 ;; This patch may be removed when upgrading to version 1.46.x.
5349 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
5350 (build-system meson-build-system)
5354 (list "-Dsystemduserunitdir=no"
5356 ;; Otherwise, the RUNPATH will lack the final path component.
5357 (string-append "-Dc_link_args=-Wl,-rpath="
5358 (assoc-ref %outputs "out") "/lib/gvfs"))))
5360 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5361 ("gettext" ,gettext-minimal)
5362 ("gtk-doc" ,gtk-doc)
5363 ("pkg-config" ,pkg-config)
5364 ("xsltproc" ,libxslt)))
5367 ("docbook-xml" ,docbook-xml-4.2)
5368 ("docbook-xsl" ,docbook-xsl)
5370 ("elogind" ,elogind)
5374 ("gnome-online-accounts" ,gnome-online-accounts)
5375 ("libarchive" ,libarchive)
5376 ("libbluray" ,libbluray)
5378 ("libcdio-paranoia" ,libcdio-paranoia)
5379 ("libgcrypt" ,libgcrypt)
5380 ("libgdata" ,libgdata)
5381 ("libgphoto2" ,libgphoto2)
5382 ("libgudev" ,libgudev)
5383 ("libimobiledevice" ,libimobiledevice)
5386 ("libsecret" ,libsecret)
5387 ("libsmbclient" ,samba)
5388 ("libsoup" ,libsoup)
5389 ("libxml2" ,libxml2)
5390 ("openssh" ,openssh)
5392 ("udisks" ,udisks)))
5393 (home-page "https://wiki.gnome.org/gvfs/")
5394 (synopsis "Userspace virtual file system for GIO")
5396 "GVFS is a userspace virtual file system designed to work with the I/O
5397 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5398 to all applications using the GIO API. It also supports exposing the GVFS
5399 mounts to non-GIO applications using FUSE.
5401 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5403 (license license:lgpl2.0+)))
5412 (url "https://github.com/hughsie/libgusb")
5414 (file-name (git-file-name name version))
5417 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5418 (build-system meson-build-system)
5420 `(("gobject-introspection" ,gobject-introspection)
5421 ("pkg-config" ,pkg-config)
5423 ("gtk-doc" ,gtk-doc)))
5425 ;; Both of these are required by gusb.pc.
5427 ("libusb" ,libusb)))
5429 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5430 (home-page "https://github.com/hughsie/libgusb")
5431 (synopsis "GLib binding for libusb1")
5433 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5434 asynchronous control, bulk and interrupt transfers with proper cancellation
5435 and integration into a mainloop. This makes it easy to integrate low level
5436 USB transfers with your high-level application or system daemon.")
5437 (license license:lgpl2.1+)))
5439 (define-public simple-scan
5441 (name "simple-scan")
5446 (uri (string-append "mirror://gnome/sources/simple-scan/"
5447 (version-major+minor version) "/"
5448 "simple-scan-" version ".tar.xz"))
5450 (base32 "0gsz7jqk0fdj0mama3cnss9i1adw18cpdnlcjcjh4r5qijmvx0vh"))))
5451 (build-system meson-build-system)
5452 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5454 '(#:glib-or-gtk? #t))
5460 ("gdk-pixbuf" ,gdk-pixbuf)
5462 ("libsane" ,sane-backends)))
5464 `(("gettext" ,gettext-minimal)
5465 ("itstool" ,itstool)
5466 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5467 ("pkg-config" ,pkg-config)
5469 ("xmllint" ,libxml2)))
5470 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5471 (synopsis "Document and image scanner")
5473 "Document Scanner is an easy-to-use application that lets you connect your
5474 scanner and quickly capture images and documents in an appropriate format. It
5475 supports any scanner for which a suitable SANE driver is available, which is
5476 almost all of them.")
5477 (license license:gpl3+)))
5479 (define-public eolie
5482 (version "0.9.98.1")
5485 (uri (string-append "https://adishatz.org/eolie/eolie-"
5489 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5490 (build-system meson-build-system)
5494 (modify-phases %standard-phases
5495 (add-after 'unpack 'skip-gtk-update-icon-cache
5496 ;; Don't create 'icon-theme.cache'.
5498 (substitute* "meson_post_install.py"
5499 (("gtk-update-icon-cache") "true"))
5501 (add-after 'wrap 'wrap-more
5502 (lambda* (#:key inputs outputs #:allow-other-keys)
5503 (let* ((out (assoc-ref outputs "out"))
5504 ;; These libraries must be on LD_LIBRARY_PATH.
5505 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5506 "atk" "gtk+" "gsettings-desktop-schemas"
5507 "gobject-introspection"))
5510 (string-append (assoc-ref inputs lib) "/lib"))
5513 (wrap-program (string-append out "/bin/eolie")
5514 `("LD_LIBRARY_PATH" ":" prefix (,path))
5515 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5516 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5519 `(("intltool" ,intltool)
5520 ("itstool" ,itstool)
5521 ("pkg-config" ,pkg-config)
5523 ("glib:bin" ,glib "bin")))
5525 `(("gobject-introspection" ,gobject-introspection)
5526 ("glib-networking" ,glib-networking)
5529 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5530 ("python" ,python-wrapper)
5531 ("python-dateutil" ,python-dateutil)
5532 ("python-pyfxa" ,python-pyfxa)
5533 ("python-pygobject" ,python-pygobject)
5534 ("python-pycairo" ,python-pycairo)
5535 ("python-pycrypto" ,python-pycrypto)
5536 ("libsecret" ,libsecret)
5537 ("gtkspell3" ,gtkspell3)
5538 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5539 ("webkitgtk" ,webkitgtk)))
5540 (home-page "https://wiki.gnome.org/Apps/Eolie")
5541 (synopsis "Web browser for GNOME")
5543 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5544 a secret password store, an adblocker, and a modern UI.")
5545 (license license:gpl3+)))
5547 (define-public epiphany
5553 (uri (string-append "mirror://gnome/sources/epiphany/"
5554 (version-major+minor version) "/"
5555 "epiphany-" version ".tar.xz"))
5558 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5560 (build-system meson-build-system)
5564 (modify-phases %standard-phases
5565 (add-after 'unpack 'skip-gtk-update-icon-cache
5566 ;; Don't create 'icon-theme.cache'.
5568 (substitute* "post_install.py"
5569 (("gtk-update-icon-cache") "true"))
5571 (add-after 'unpack 'disable-failing-tests
5573 (substitute* "tests/meson.build"
5574 ;; embed_shell fails, because webkitgtk apparently no longer supports
5575 ;; overriding the ftp schema
5576 ;; web_app_utils fails due to missing network access
5577 (("(embed_shell|web_app_utils)_test,")
5578 "find_program('sh'), args: ['-c', 'exit 77'],"))
5580 (add-before 'check 'pre-check
5582 ;; Tests require a running X server.
5583 (system "Xvfb :1 &")
5584 (setenv "DISPLAY" ":1")
5587 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5588 (list (string-append "-Dc_link_args=-Wl,-rpath="
5589 (assoc-ref %outputs "out") "/lib/epiphany"))))
5591 `(("dconf" ,dconf)))
5593 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5594 ("glib:bin" ,glib "bin") ; for glib-mkenums
5595 ("intltool" ,intltool)
5596 ("itstool" ,itstool)
5597 ("pkg-config" ,pkg-config)
5598 ("xmllint" ,libxml2)
5599 ("xorg-server" ,xorg-server-for-tests)))
5603 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5604 ("glib-networking" ,glib-networking)
5605 ("gnome-desktop" ,gnome-desktop)
5606 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5607 ("json-glib" ,json-glib)
5608 ("iso-codes" ,iso-codes)
5609 ("libdazzle" ,libdazzle)
5610 ("libnotify" ,libnotify)
5611 ("libsecret" ,libsecret)
5612 ("libxslt" ,libxslt)
5613 ("nettle" ,nettle) ; for hogweed
5615 ("webkitgtk" ,webkitgtk)))
5616 (home-page "https://wiki.gnome.org/Apps/Web")
5617 (synopsis "GNOME web browser")
5619 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5620 principles are simplicity and standards compliance.")
5621 (license license:gpl2+)))
5623 (define-public d-feet
5629 (uri (string-append "mirror://gnome/sources/" name "/"
5630 (version-major+minor version) "/"
5631 name "-" version ".tar.xz"))
5634 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5635 (build-system glib-or-gtk-build-system)
5637 '(#:out-of-source? #f ; tests need to run in the source directory.
5639 (modify-phases %standard-phases
5643 ;; The test suite requires a running X server.
5644 (system "Xvfb :1 &")
5645 (setenv "DISPLAY" ":1")
5646 ;; Don't fail on missing '/etc/machine-id'.
5647 (setenv "DBUS_FATAL_WARNINGS" "0")
5648 ;; tests.py and window.py don't meet E402:
5649 ;; E402 module level import not at top of file
5650 (substitute* "src/tests/Makefile"
5651 (("--ignore=E123") "--ignore=E123,E402"))
5654 'install 'wrap-program
5655 (lambda* (#:key outputs #:allow-other-keys)
5656 (let ((prog (string-append (assoc-ref outputs "out")
5659 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5660 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5663 `(("intltool" ,intltool)
5664 ("itstool" ,itstool)
5665 ("pkg-config" ,pkg-config)
5666 ("python-pep8" ,python-pep8)
5667 ("xmllint" ,libxml2)
5668 ("xorg-server" ,xorg-server-for-tests)))
5670 `(("gobject-introspection" ,gobject-introspection)
5672 ("python" ,python-wrapper)
5673 ("hicolor-icon-theme" ,hicolor-icon-theme)
5674 ("python-pygobject" ,python-pygobject)))
5675 (home-page "https://wiki.gnome.org/Apps/DFeet")
5676 (synopsis "D-Bus debugger")
5678 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5679 of running programs and invoke methods on those interfaces.")
5680 (license license:gpl2+)))
5682 (define-public yelp-xsl
5688 (uri (string-append "mirror://gnome/sources/" name "/"
5689 (version-major+minor version) "/"
5690 name "-" version ".tar.xz"))
5693 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5694 (build-system gnu-build-system)
5696 `(("gettext-minimal" ,gettext-minimal)
5697 ("itstool" ,itstool)
5698 ("xmllint" ,libxml2)))
5699 (home-page "https://wiki.gnome.org/Apps/Yelp")
5700 (synopsis "XSL stylesheets for Yelp")
5702 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5703 to format Docbook and Mallard documents.")
5704 (license license:gpl2+)))
5712 (uri (string-append "mirror://gnome/sources/" name "/"
5713 (version-major+minor version) "/"
5714 name "-" version ".tar.xz"))
5717 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5718 (build-system glib-or-gtk-build-system)
5720 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5721 ("intltool" ,intltool)
5722 ("itstool" ,itstool)
5723 ("pkg-config" ,pkg-config)))
5725 `(("dconf" ,dconf)))
5727 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5728 ("libxslt" ,libxslt)
5730 ("webkitgtk" ,webkitgtk)
5731 ("yelp-xsl" ,yelp-xsl)))
5732 (home-page "https://wiki.gnome.org/Apps/Yelp")
5733 (synopsis "GNOME help browser")
5735 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5736 man, info, and HTML documents. It can locate documents according to the
5737 freedesktop.org help system specification.")
5738 (license license:gpl2+)))
5740 (define-public yelp-tools
5746 (uri (string-append "mirror://gnome/sources/" name "/"
5747 (version-major+minor version) "/"
5748 name "-" version ".tar.xz"))
5751 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5752 (build-system gnu-build-system)
5754 `(("pkg-config" ,pkg-config)))
5756 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5757 `(("itstool" ,itstool)
5758 ("xmllint" ,libxml2)
5759 ("xsltproc" ,libxslt)))
5761 `(("yelp-xsl" ,yelp-xsl)))
5762 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5763 (synopsis "Yelp documentation tools")
5765 "Yelp-tools is a collection of scripts and build utilities to help create,
5766 manage, and publish documentation for Yelp and the web. Most of the heavy
5767 lifting is done by packages like yelp-xsl and itstool. This package just
5768 wraps things up in a developer-friendly way.")
5769 (license license:gpl2+)))
5771 (define-public libgee
5777 (uri (string-append "mirror://gnome/sources/libgee/"
5778 (version-major+minor version) "/"
5779 "libgee-" version ".tar.xz"))
5782 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5783 (build-system gnu-build-system)
5786 (modify-phases %standard-phases
5787 (add-after 'unpack 'fix-introspection-install-dir
5788 (lambda* (#:key outputs #:allow-other-keys)
5789 (let ((out (assoc-ref outputs "out")))
5790 (substitute* "gee/Makefile.in"
5791 (("@INTROSPECTION_GIRDIR@")
5792 (string-append out "/share/gir-1.0/"))
5793 (("@INTROSPECTION_TYPELIBDIR@")
5794 (string-append out "/lib/girepository-1.0/")))))))))
5796 `(("glib" ,glib "bin")
5797 ("pkg-config" ,pkg-config)))
5800 ("gobject-introspection" ,gobject-introspection)))
5801 (home-page "https://wiki.gnome.org/Projects/Libgee")
5802 (synopsis "GObject collection library")
5804 "Libgee is a utility library providing GObject-based interfaces and
5805 classes for commonly used data structures.")
5806 (license license:lgpl2.1+)))
5808 (define-public gexiv2
5814 (uri (string-append "mirror://gnome/sources/" name "/"
5815 (version-major+minor version) "/"
5816 name "-" version ".tar.xz"))
5819 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
5820 (build-system meson-build-system)
5823 ("glib" ,glib "bin")
5824 ("pkg-config" ,pkg-config)
5827 ;; Listed in "Requires" section of gexiv2.pc
5828 `(("exiv2" ,exiv2)))
5831 ("gobject-introspection" ,gobject-introspection)))
5832 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5833 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5835 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5836 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5837 metadata in photo and video files of various formats.")
5838 (license license:gpl2+)))
5840 (define-public shotwell
5846 (uri (string-append "mirror://gnome/sources/shotwell/"
5847 (version-major+minor version) "/"
5848 "shotwell-" version ".tar.xz"))
5851 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
5852 (build-system meson-build-system)
5856 (modify-phases %standard-phases
5857 (add-after 'unpack 'skip-gtk-update-icon-cache
5859 (substitute* "build-aux/meson/postinstall.py"
5860 (("gtk-update-icon-cache") (which "true"))
5861 (("update-desktop-database") (which "true")))
5864 `(("dconf" ,dconf)))
5866 `(("gettext" ,gettext-minimal)
5867 ("glib:bin" ,glib "bin")
5868 ("itstool" ,itstool)
5869 ("pkg-config" ,pkg-config)
5874 ("gst-plugins-base" ,gst-plugins-base)
5875 ("gstreamer" ,gstreamer)
5876 ("json-glib" ,json-glib)
5877 ("libgdata" ,libgdata)
5879 ("libgphoto2" ,libgphoto2)
5880 ("libgudev" ,libgudev)
5882 ("libsoup" ,libsoup)
5883 ("libxml2" ,libxml2)
5885 ("webkitgtk" ,webkitgtk)))
5886 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5887 (synopsis "Photo manager for GNOME 3")
5889 "Shotwell is a digital photo manager designed for the GNOME desktop
5890 environment. It allows you to import photos from disk or camera, organize
5891 them by keywords and events, view them in full-window or fullscreen mode, and
5892 share them with others via social networking and more.")
5893 (license license:lgpl2.1+)))
5895 (define-public file-roller
5897 (name "file-roller")
5901 (uri (string-append "mirror://gnome/sources/file-roller/"
5902 (version-major+minor version) "/"
5903 "file-roller-" version ".tar.xz"))
5906 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5907 (build-system meson-build-system)
5909 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5910 ("intltool" ,intltool)
5911 ("itstool" ,itstool)
5912 ("pkg-config" ,pkg-config)
5913 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5914 ("glib:bin" ,glib "bin")))
5915 ;; TODO: Add libnautilus.
5918 ("gdk-pixbuf" ,gdk-pixbuf)
5919 ("json-glib" ,json-glib)
5920 ("libarchive" ,libarchive)
5921 ("libnotify" ,libnotify)
5923 ("libxml2" ,libxml2)))
5924 (synopsis "Graphical archive manager for GNOME")
5925 (description "File Roller is an archive manager for the GNOME desktop
5926 environment that allows users to view, unpack, and create compressed archives
5927 such as gzip tarballs.")
5928 (home-page "http://fileroller.sourceforge.net/")
5929 (license license:gpl2+)))
5931 (define-public gnome-session
5933 (name "gnome-session")
5937 (uri (string-append "mirror://gnome/sources/" name "/"
5938 (version-major+minor version) "/"
5939 name "-" version ".tar.xz"))
5942 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5946 (modify-phases %standard-phases
5947 (add-before 'configure 'pre-configure
5948 (lambda* (#:key outputs #:allow-other-keys)
5949 ;; Use elogind instead of systemd.
5950 (substitute* "meson.build"
5951 (("libsystemd-login") "libelogind")
5952 (("and libsystemd_daemon_dep.found.*") ","))
5953 (substitute* "gnome-session/gsm-systemd.c"
5954 (("#include <systemd/sd-login.h>")
5955 "#include <elogind/sd-login.h>"))
5956 ;; Remove uses of the systemd daemon.
5957 (substitute* "gnome-session/gsm-autostart-app.c"
5958 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5960 (add-after 'install 'wrap-gnome-session
5961 (lambda* (#:key inputs outputs #:allow-other-keys)
5962 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5963 (let ((glib (assoc-ref inputs "glib:bin"))
5964 (out (assoc-ref outputs "out")))
5965 (wrap-program (string-append out "/bin/gnome-session")
5966 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5970 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5971 "-Dman=false" ; FIXME: disabled because of docbook validation error
5972 "-Dsystemd_journal=false")))
5973 (build-system meson-build-system)
5975 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5976 ("pkg-config" ,pkg-config)
5977 ("intltool" ,intltool)
5978 ("xsltproc" ,libxslt)
5979 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5980 ("docbook-xsl" ,docbook-xsl)
5981 ("docbook-xml" ,docbook-xml)
5984 `(("elogind" ,elogind)
5985 ("gnome-desktop" ,gnome-desktop)
5986 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5988 ("json-glib" ,json-glib)
5990 ("libxcomposite" ,libxcomposite)
5991 ("libxtst" ,libxtst)
5994 ("xtrans" ,xtrans)))
5995 (synopsis "Session manager for GNOME")
5997 "This package contains the GNOME session manager, as well as a
5998 configuration program to choose applications starting on login.")
5999 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
6000 (license license:gpl2+)))
6008 (uri (string-append "mirror://gnome/sources/" name "/"
6009 (version-major+minor version) "/"
6010 name "-" version ".tar.xz"))
6013 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
6014 (build-system gnu-build-system)
6017 (modify-phases %standard-phases
6021 ;; The test suite requires a running X server.
6022 (system "Xvfb :1 &")
6023 (setenv "DISPLAY" ":1")
6025 ;; For the missing /etc/machine-id.
6026 (setenv "DBUS_FATAL_WARNINGS" "0")
6028 ;; Our mozjs-38 package does not compile the required Intl API
6029 ;; support for these failing tests.
6030 (substitute* "installed-tests/js/testLocale.js"
6031 ((".*toBeDefined.*") "")
6032 ((".*expect\\(datestr\\).*") ""))
6033 (substitute* "installed-tests/scripts/testCommandLine.sh"
6038 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
6039 ("pkg-config" ,pkg-config)
6040 ("xmllint" ,libxml2)
6042 ("dbus-launch" ,dbus)
6043 ("dconf" ,dconf) ; required to properly store settings
6044 ("uuidgen" ,util-linux)
6045 ("xvfb" ,xorg-server-for-tests)))
6047 ;; These are all in the Requires.private field of gjs-1.0.pc.
6049 ("gobject-introspection" ,gobject-introspection)
6050 ("mozjs" ,mozjs-60)))
6053 ("readline" ,readline)))
6054 (synopsis "Javascript bindings for GNOME")
6055 (home-page "https://live.gnome.org/Gjs")
6057 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6058 javascript engine and the GObject introspection framework.")
6059 (license license:gpl2+)))
6061 (define-public gedit
6067 (uri (string-append "mirror://gnome/sources/" name "/"
6068 (version-major+minor version) "/"
6069 name "-" version ".tar.xz"))
6072 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
6073 (build-system meson-build-system)
6077 ;; Otherwise, the RUNPATH will lack the final path component.
6078 (list (string-append "-Dc_link_args=-Wl,-rpath="
6079 (assoc-ref %outputs "out") "/lib/gedit"))
6081 ;; XXX: Generated .h files are sometimes used before being built.
6082 #:parallel-build? #f
6085 (modify-phases %standard-phases
6086 (add-after 'unpack 'skip-gtk-update-icon-cache
6087 ;; Don't create 'icon-theme.cache'.
6089 (substitute* "build-aux/meson/post_install.py"
6090 (("gtk-update-icon-cache") (which "true")))
6092 (add-after 'unpack 'patch-libgd-fetch
6093 (lambda* (#:key inputs #:allow-other-keys)
6094 (let ((libgd (assoc-ref inputs "libgd")))
6095 ;; Calling git is unnecessary because libgd is fetched as a
6096 ;; native input to this package.
6097 (substitute* "meson.build"
6099 (copy-recursively libgd "subprojects/libgd")
6101 (add-after 'install 'wrap-gedit
6102 (lambda* (#:key inputs outputs #:allow-other-keys)
6103 (let ((out (assoc-ref outputs "out"))
6104 (gtksourceview (assoc-ref inputs "gtksourceview"))
6105 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6106 (python-path (getenv "PYTHONPATH")))
6107 (wrap-program (string-append out "/bin/gedit")
6109 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6110 `("PYTHONPATH" ":" prefix (,python-path))
6111 ;; For language-specs.
6112 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6116 `(("dconf" ,dconf)))
6118 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6119 ("intltool" ,intltool)
6120 ("itstool" ,itstool)
6121 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6122 ("gobject-introspection" ,gobject-introspection)
6127 (url "https://gitlab.gnome.org/GNOME/libgd")
6128 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6129 (file-name (git-file-name "libgd" version))
6131 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6132 ("pkg-config" ,pkg-config)))
6137 ("gtksourceview" ,gtksourceview)
6138 ("libpeas" ,libpeas)
6139 ("libxml2" ,libxml2)
6140 ("iso-codes" ,iso-codes)
6141 ("python-pygobject" ,python-pygobject)
6143 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6146 ("adwaita-icon-theme" ,adwaita-icon-theme)
6147 ("libsoup" ,libsoup)
6148 ("gnome-desktop" ,gnome-desktop)))
6149 (home-page "https://wiki.gnome.org/Apps/Gedit")
6150 (synopsis "GNOME text editor")
6151 (description "While aiming at simplicity and ease of use, gedit is a
6152 powerful general purpose text editor.")
6153 (license license:gpl2+)))
6155 (define-public zenity
6161 (uri (string-append "mirror://gnome/sources/zenity/"
6162 (version-major+minor version) "/"
6163 "zenity-" version ".tar.xz"))
6166 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6167 (build-system gnu-build-system)
6169 `(("gettext" ,gettext-minimal)
6170 ("itstool" ,itstool)
6171 ("pkg-config" ,pkg-config)))
6173 `(("libnotify" ,libnotify)
6174 ("webkitgtk" ,webkitgtk)))
6175 (synopsis "Display graphical dialog boxes from shell scripts")
6176 (home-page "https://www.gnome.org")
6178 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6179 to display dialog boxes from the commandline and shell scripts.")
6180 (license license:lgpl2.0+)))
6182 (define-public mutter
6188 (uri (string-append "mirror://gnome/sources/" name "/"
6189 (version-major+minor version) "/"
6190 name "-" version ".tar.xz"))
6193 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6194 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6195 ;; versions of cogl and clutter. As a result, many of the inputs,
6196 ;; propagated-inputs, and configure flags used in cogl and clutter are
6197 ;; needed here as well.
6198 (build-system meson-build-system)
6200 '(;; XXX: All mutter tests fail with the following error:
6201 ;; Settings schema 'org.gnome.mutter' is not installed
6205 ;; TODO: Enable profiler when Sysprof is packaged.
6206 (list "-Dprofiler=false"
6207 ;; Otherwise, the RUNPATH will lack the final path component.
6208 (string-append "-Dc_link_args=-Wl,-rpath="
6209 (assoc-ref %outputs "out") "/lib:"
6210 (assoc-ref %outputs "out") "/lib/mutter-5")
6212 ;; The following flags are needed for the bundled clutter
6213 (string-append "-Dxwayland_path="
6214 (assoc-ref %build-inputs "xorg-server-xwayland")
6217 ;; the remaining flags are needed for the bundled cogl
6218 (string-append "-Dopengl_libname="
6219 (assoc-ref %build-inputs "mesa")
6221 #:phases (modify-phases %standard-phases
6222 (add-after 'unpack 'fix-build-with-mesa-20
6224 ;; Mimic upstream commit a444a4c5f58ea516ad for
6225 ;; compatibility with Mesa 20. Remove for 3.36.
6226 (substitute* '("src/backends/meta-egl-ext.h"
6227 "src/backends/meta-egl.c"
6228 "src/backends/meta-egl.h")
6229 (("#include <EGL/eglext\\.h>" all)
6230 (string-append all "\n#include <EGL/eglmesaext.h>")))
6231 (substitute* "cogl/cogl/meson.build"
6232 (("#include <EGL/eglext\\.h>" all)
6233 (string-append all "\\n#include <EGL/eglmesaext.h>")))
6236 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6237 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6238 ("gobject-introspection" ,gobject-introspection)
6239 ("intltool" ,intltool)
6240 ("pkg-config" ,pkg-config)
6241 ("xorg-server" ,xorg-server-for-tests)
6243 ("autoconf" ,autoconf)
6244 ("automake" ,automake)
6245 ("libtool" ,libtool)))
6247 `(;; libmutter.pc refers to these:
6248 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6250 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6253 ("gdk-pixbuf" ,gdk-pixbuf)
6255 ("json-glib" ,json-glib)
6256 ("libinput" ,libinput)
6258 ("libxcomposite" ,libxcomposite)
6259 ("libxdamage" ,libxdamage)
6260 ("libxext" ,libxext)
6261 ("libxfixes" ,libxfixes)
6262 ("libxkbcommon" ,libxkbcommon)
6263 ("libxrandr" ,libxrandr)
6267 ("xinput" ,xinput)))
6269 `(("elogind" ,elogind)
6270 ("gnome-desktop" ,gnome-desktop)
6271 ("gnome-settings-daemon" ,gnome-settings-daemon)
6272 ("libcanberra-gtk" ,libcanberra)
6273 ("libgudev" ,libgudev)
6276 ("libwacom" ,libwacom)
6277 ("libxkbfile" ,libxkbfile)
6278 ("libxrandr" ,libxrandr)
6279 ("libxtst" ,libxtst)
6280 ("pipewire" ,pipewire)
6281 ("startup-notification" ,startup-notification)
6282 ("upower-glib" ,upower)
6283 ("xkeyboard-config" ,xkeyboard-config)
6284 ("xorg-server-xwayland" ,xorg-server-xwayland)
6285 ("zenity" ,zenity)))
6286 (synopsis "Window and compositing manager")
6287 (home-page "https://www.gnome.org")
6289 "Mutter is a window and compositing manager that displays and manages your
6290 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6291 Clutter toolkit with solid window-management logic inherited from the Metacity
6293 (license license:gpl2+)))
6295 (define-public gnome-online-accounts
6297 (name "gnome-online-accounts")
6301 (uri (string-append "mirror://gnome/sources/" name "/"
6302 (version-major+minor version) "/"
6303 name "-" version ".tar.xz"))
6306 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6307 (outputs '("out" "lib"))
6308 (build-system glib-or-gtk-build-system)
6311 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6313 (modify-phases %standard-phases
6314 (add-before 'configure 'patch-libgoa-output
6315 (lambda* (#:key outputs #:allow-other-keys)
6316 (let ((lib (assoc-ref outputs "lib")))
6317 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6319 (("@exec_prefix@") lib)
6320 (("@libdir@") (string-append lib "/lib"))
6321 (("@includedir@") (string-append lib "/include"))
6322 (("@datadir@") (string-append lib "/share")))
6323 ;; Make sure gobject-introspection knows about the output
6324 ;; too (see <https://bugs.gnu.org/36535>).
6325 (setenv "outputs" "out lib")
6328 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6329 ("gobject-introspection" ,gobject-introspection)
6330 ("intltool" ,intltool)
6331 ("pkg-config" ,pkg-config)
6333 ("xsltproc" ,libxslt)))
6335 `(("glib" ,glib) ; required by goa-1.0.pc
6336 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6338 `(("docbook-xsl" ,docbook-xsl)
6339 ("json-glib" ,json-glib)
6340 ("libsecret" ,libsecret)
6342 ("webkitgtk" ,webkitgtk)))
6343 (synopsis "Single sign-on framework for GNOME")
6344 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6346 "GNOME Online Accounts provides interfaces so that applications and
6347 libraries in GNOME can access the user's online accounts. It has providers for
6348 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6349 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6350 (license license:lgpl2.0+)))
6352 (define-public evolution-data-server
6354 (name "evolution-data-server")
6358 (uri (string-append "mirror://gnome/sources/" name "/"
6359 (version-major+minor version) "/"
6360 name "-" version ".tar.xz"))
6361 (patches (search-patches "evolution-data-server-locales.patch"
6362 "evolution-data-server-libical-compat.patch"))
6365 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6366 (build-system cmake-build-system)
6369 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6370 (runpaths (map (lambda (s)
6371 (string-append lib "/evolution-data-server/" s))
6372 '("addressbook-backends" "calendar-backends"
6373 "camel-providers" "credential-modules"
6374 "registry-modules"))))
6375 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6376 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6377 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6378 "-DENABLE_VALA_BINDINGS=ON"
6379 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6380 (string-append lib "/evolution-data-server;")
6381 (string-join runpaths ";"))
6382 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6384 (modify-phases %standard-phases
6385 (add-after 'unpack 'disable-failing-tests
6387 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6388 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6389 (delete-file-recursively "tests/book-migration")
6390 (substitute* "tests/CMakeLists.txt"
6391 (("add_subdirectory\\(book-migration\\)") ""))
6393 (add-after 'unpack 'patch-paths
6395 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6396 "tests/libedata-book/data-test-utils.c"
6397 "tests/libedata-book/test-book-cache-utils.c"
6398 "tests/libedata-cal/test-cal-cache-utils.c")
6399 (("/bin/rm") (which "rm")))
6401 (add-before 'configure 'dont-override-rpath
6403 (substitute* "CMakeLists.txt"
6404 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6405 ;; Remove it so the configure flag is respected.
6406 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6409 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6410 ("gobject-introspection" ,gobject-introspection)
6412 ("intltool" ,intltool)
6413 ("pkg-config" ,pkg-config)
6415 ("python" ,python-wrapper)))
6417 ;; These are all in the Requires field of .pc files.
6419 ("libical" ,libical)
6420 ("libsecret" ,libsecret)
6421 ("libsoup" ,libsoup)
6423 ("sqlite" ,sqlite)))
6427 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6428 ("json-glib" ,json-glib)
6429 ("libcanberra" ,libcanberra)
6430 ("libgweather" ,libgweather)
6431 ("mit-krb5" ,mit-krb5)
6432 ("openldap" ,openldap)
6433 ("webkitgtk" ,webkitgtk)))
6434 (synopsis "Store address books and calendars")
6435 (home-page "https://wiki.gnome.org/Apps/Evolution")
6437 "This package provides a unified backend for programs that work with
6438 contacts, tasks, and calendar information. It was originally developed for
6439 Evolution (hence the name), but is now used by other packages as well.")
6440 (license license:lgpl2.0)))
6442 (define-public caribou
6448 (uri (string-append "mirror://gnome/sources/" name "/"
6449 (version-major+minor version) "/"
6450 name "-" version ".tar.xz"))
6453 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6454 (build-system glib-or-gtk-build-system)
6457 (modify-phases %standard-phases
6460 (lambda* (#:key outputs #:allow-other-keys)
6461 (let ((out (assoc-ref outputs "out")))
6462 ;; Use absolute shared library path in Caribou-1.0.typelib.
6463 (substitute* "libcaribou/Makefile"
6464 (("--shared-library=libcaribou.so")
6465 (string-append "--shared-library="
6466 out "/lib/libcaribou.so")))
6468 (add-after 'install 'wrap-programs
6469 (lambda* (#:key outputs #:allow-other-keys)
6470 (let* ((out (assoc-ref outputs "out"))
6471 (python-path (getenv "PYTHONPATH"))
6472 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6476 `("PYTHONPATH" ":" prefix (,python-path))
6477 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6478 (list (string-append out "/bin/caribou-preferences")
6479 (string-append out "/libexec/antler-keyboard"))))
6482 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6483 ("gobject-introspection" ,gobject-introspection)
6484 ("intltool" ,intltool)
6485 ("pkg-config" ,pkg-config)
6488 ("xsltproc" ,libxslt)))
6490 ;; caribou-1.0.pc refers to all these.
6491 `(("libgee" ,libgee)
6492 ("libxklavier" ,libxklavier)
6493 ("libxtst" ,libxtst)
6496 `(("clutter" ,clutter)
6499 ("python-pygobject" ,python-pygobject)))
6500 (synopsis "Text entry and UI navigation application")
6501 (home-page "https://wiki.gnome.org/Projects/Caribou")
6503 "Caribou is an input assistive technology intended for switch and pointer
6505 (license license:lgpl2.1)))
6507 (define-public network-manager
6509 (name "network-manager")
6513 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6514 (version-major+minor version) "/"
6515 "NetworkManager-" version ".tar.xz"))
6516 (patches (search-patches "network-manager-plugin-path.patch"))
6519 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
6520 (modules '((guix build utils)))
6523 (substitute* "src/devices/wwan/nm-modem-manager.c"
6524 (("systemd") "elogind"))
6526 (build-system meson-build-system)
6528 "doc")) ; 8 MiB of gtk-doc HTML
6531 (let ((out (assoc-ref %outputs "out"))
6532 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6535 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
6537 (string-append "-Dc_link_args=-Wl,-rpath="
6539 out "/lib/NetworkManager/" ,version)
6540 "-Dsystemd_journal=false"
6541 "-Dsession_tracking=elogind"
6542 "-Dsuspend_resume=elogind"
6543 "-Dsystemdsystemunitdir=no"
6544 "-Dsession_tracking_consolekit=false"
6553 "--localstatedir=/var"
6554 (string-append "-Dudev_dir="
6556 (string-append "-Ddbus_conf_dir="
6557 out "/etc/dbus-1/system.d")
6559 (string-append "-Ddhclient=" dhclient)))
6561 (modify-phases %standard-phases
6562 (add-before 'configure 'pre-configure
6564 ;; These tests try to test aspects of network-manager's
6565 ;; functionality within restricted containers, but they don't
6566 ;; cope with being already in the Guix build jail as that jail
6567 ;; lacks some features that they would like to proxy over (like
6569 (substitute* "src/platform/tests/meson.build"
6570 ((".*test-address-linux.*") "")
6571 ((".*test-cleanup-linux.*") "")
6572 ((".*test-link-linux.*") "")
6573 ((".*test-route-linux.*") ""))
6574 (substitute* "src/devices/tests/meson.build"
6575 ((".*test-acd.*") "")
6576 ((".*test-lldp.*") ""))
6578 (add-after 'unpack 'patch-docbook-xml
6579 (lambda* (#:key inputs #:allow-other-keys)
6580 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
6581 "/xml/dtd/docbook")))
6582 (substitute* (find-files "." ".*\\.(xsl|xml)")
6583 (("http://.*/docbookx\\.dtd")
6584 (string-append xmldoc "/docbookx.dtd")))
6586 (add-before 'check 'pre-check
6588 ;; For the missing /etc/machine-id.
6589 (setenv "DBUS_FATAL_WARNINGS" "0")
6591 (add-before 'install 'no-polkit-magic
6592 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
6594 (setenv "PKEXEC_UID" "something")
6596 (add-after 'install 'move-doc
6597 (lambda* (#:key outputs #:allow-other-keys)
6598 (let ((out (assoc-ref outputs "out"))
6599 (doc (assoc-ref outputs "doc")))
6600 (mkdir-p (string-append doc "/share"))
6601 (for-each (lambda (directory)
6602 (copy-recursively (string-append out directory)
6603 (string-append doc directory))
6604 (delete-file-recursively
6605 (string-append out directory)))
6606 '("/share/doc" "/share/gtk-doc"))
6611 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6612 ("gtk-doc" ,gtk-doc)
6613 ("gobject-introspection" ,gobject-introspection)
6614 ("docbook-xml" ,docbook-xml)
6615 ("docbook-xsl" ,docbook-xsl)
6616 ("intltool" ,intltool)
6617 ("libxslt" ,libxslt)
6618 ("libxml2" ,libxml2)
6619 ("pkg-config" ,pkg-config)
6622 ("python" ,python-wrapper)
6623 ("python-dbus" ,python-dbus)
6624 ("python-pygobject" ,python-pygobject)))
6627 ("cyrus-sasl" ,cyrus-sasl)
6628 ("dbus-glib" ,dbus-glib)
6629 ("dnsmasq" ,dnsmasq)
6632 ("iptables" ,iptables)
6633 ("isc-dhcp" ,isc-dhcp)
6634 ("iwd" ,iwd) ; wpa_supplicant alternative
6635 ("jansson" ,jansson)
6637 ("libgcrypt" ,libgcrypt)
6638 ("libgudev" ,libgudev)
6641 ("libsoup" ,libsoup)
6642 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
6643 ("modem-manager" ,modem-manager)
6644 ("newt" ,newt) ;for the 'nmtui' console interface
6645 ("openresolv" ,openresolv) ; alternative resolv.conf manager
6648 ("readline" ,readline)
6649 ("util-linux" ,util-linux)
6650 ("elogind" ,elogind)))
6651 (synopsis "Network connection manager")
6652 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6654 "NetworkManager is a system network service that manages your network
6655 devices and connections, attempting to keep active network connectivity when
6656 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6657 devices, and provides VPN integration with a variety of different VPN
6659 ;; “This NetworkManager project consists of the daemon, client tools, and
6660 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
6662 (license (list license:gpl2+
6664 (properties '((upstream-name . "NetworkManager")))))
6666 (define-public network-manager-openvpn
6668 (name "network-manager-openvpn")
6673 "mirror://gnome/sources/NetworkManager-openvpn/"
6674 (version-major+minor version)
6675 "/NetworkManager-openvpn-" version ".tar.xz"))
6678 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
6679 (build-system gnu-build-system)
6681 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6683 (modify-phases %standard-phases
6684 (add-after 'configure 'patch-path
6685 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6686 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6688 (modprobe (string-append (assoc-ref inputs "kmod")
6690 (pretty-ovpn (string-append "\"" ovpn "\"")))
6694 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6695 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6696 (("\"/sbin/openvpn\"") pretty-ovpn)
6697 (("/sbin/modprobe") modprobe)))
6698 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6701 `(("pkg-config" ,pkg-config)
6702 ("intltool" ,intltool)))
6706 ("openvpn" ,openvpn)
6707 ("network-manager" ,network-manager)
6709 ("libsecret" ,libsecret)))
6710 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6711 (synopsis "OpenVPN plug-in for NetworkManager")
6713 "This extension of NetworkManager allows it to take care of connections
6714 to virtual private networks (VPNs) via OpenVPN.")
6715 (license license:gpl2+)
6716 (properties `((upstream-name . "NetworkManager-openvpn")))))
6718 (define-public network-manager-vpnc
6720 (name "network-manager-vpnc")
6725 "mirror://gnome/sources/NetworkManager-vpnc/"
6726 (version-major+minor version)
6727 "/NetworkManager-vpnc-" version ".tar.xz"))
6730 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6731 (build-system gnu-build-system)
6733 `(#:configure-flags '("--enable-absolute-paths"
6734 "--localstatedir=/var"
6735 ;; libnm-glib has been removed from network-manager
6736 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
6737 "--with-libnm-glib=no")
6739 (modify-phases %standard-phases
6740 (add-after 'configure 'patch-path
6741 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6742 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6744 (modprobe (string-append (assoc-ref inputs "kmod")
6746 (pretty-ovpn (string-append "\"" vpnc "\"")))
6747 (substitute* "src/nm-vpnc-service.c"
6748 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6749 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6750 (("\"/sbin/vpnc\"") pretty-ovpn)
6751 (("/sbin/modprobe") modprobe)))
6754 `(("pkg-config" ,pkg-config)
6755 ("intltool" ,intltool)))
6760 ("network-manager" ,network-manager)
6762 ("libsecret" ,libsecret)))
6763 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6764 (synopsis "VPNC plug-in for NetworkManager")
6766 "Support for configuring virtual private networks based on VPNC.
6767 Compatible with Cisco VPN concentrators configured to use IPsec.")
6768 (license license:gpl2+)
6769 (properties `((upstream-name . "NetworkManager-vpnc")))))
6771 (define-public network-manager-openconnect
6773 (name "network-manager-openconnect")
6778 "mirror://gnome/sources/NetworkManager-openconnect/"
6779 (version-major+minor version)
6780 "/NetworkManager-openconnect-" version ".tar.xz"))
6783 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6784 (build-system gnu-build-system)
6786 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6788 (modify-phases %standard-phases
6789 (add-after 'configure 'patch-path
6790 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6791 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6792 "/sbin/openconnect"))
6793 (modprobe (string-append (assoc-ref inputs "kmod")
6795 (pretty-ovpn (string-append "\"" openconnect "\"")))
6796 (substitute* "src/nm-openconnect-service.c"
6797 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
6798 (("/sbin/modprobe") modprobe)))
6801 `(("intltool" ,intltool)
6803 ("pkg-config" ,pkg-config)))
6808 ("libsecret" ,libsecret)
6809 ("libxml2" ,libxml2)
6811 ("network-manager" ,network-manager)
6812 ("openconnect" ,openconnect)))
6813 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6814 (synopsis "OpenConnect plug-in for NetworkManager")
6816 "This extension of NetworkManager allows it to take care of connections
6817 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6818 Cisco's AnyConnect SSL VPN.")
6819 (license license:gpl2+)
6820 (properties `((upstream-name . "NetworkManager-openconnect")
6822 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6823 ;; file refers to account "nm-openconnect". Specify it here
6824 ;; so that 'network-manager-service-type' creates it.
6825 (user-accounts . ("nm-openconnect"))))))
6827 (define-public mobile-broadband-provider-info
6829 (name "mobile-broadband-provider-info")
6830 (version "20190116")
6834 "mirror://gnome/sources/"
6835 "mobile-broadband-provider-info/" version "/"
6836 "mobile-broadband-provider-info-" version ".tar.xz"))
6839 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6840 (build-system gnu-build-system)
6842 `(#:tests? #f)) ; no tests
6843 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6844 (synopsis "Database of broadband connection configuration")
6845 (description "Database of broadband connection configuration.")
6846 (license license:public-domain)))
6848 (define-public network-manager-applet
6850 (name "network-manager-applet")
6854 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6855 (version-major+minor version) "/"
6856 "network-manager-applet-" version ".tar.xz"))
6859 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
6860 (build-system meson-build-system)
6862 '(#:glib-or-gtk? #t))
6864 `(("intltool" ,intltool)
6865 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6866 ("gobject-introspection" ,gobject-introspection)
6867 ("gtk-doc" ,gtk-doc)
6868 ("pkg-config" ,pkg-config)))
6870 ;; libnm-gtk.pc refers to all these.
6871 `(("dbus-glib" ,dbus-glib)
6873 ("network-manager" ,network-manager)
6874 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
6875 ("libnma" ,libnma)))
6878 ("libgudev" ,libgudev)
6879 ("libnotify" ,libnotify)
6880 ("libsecret" ,libsecret)
6881 ("libselinux" ,libselinux)
6882 ("jansson" ,jansson) ; for team support
6883 ("modem-manager" ,modem-manager)))
6884 (synopsis "Applet for managing network connections")
6885 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6887 "This package contains a systray applet for NetworkManager. It displays
6888 the available networks and allows users to easily switch between them.")
6889 (license license:gpl2+)))
6891 (define-public libxml++
6897 (uri (string-append "mirror://gnome/sources/" name "/"
6898 (version-major+minor version) "/"
6899 name "-" version ".tar.xz"))
6902 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6903 (build-system gnu-build-system)
6904 ;; libxml++-3.0.pc refers to all these.
6906 `(("libxml2" ,libxml2)
6907 ("glibmm" ,glibmm)))
6910 ("pkg-config" ,pkg-config)))
6911 (home-page "http://libxmlplusplus.sourceforge.net/")
6912 (synopsis "C++ wrapper for XML parser library libxml2")
6914 "This package provides a C++ wrapper for the XML parser library
6916 (license license:lgpl2.1+)))
6918 (define-public libxml++-2
6925 (uri (string-append "mirror://gnome/sources/" name "/"
6926 (version-major+minor version) "/"
6927 name "-" version ".tar.xz"))
6930 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6938 (uri (string-append "mirror://gnome/sources/" name "/"
6939 (version-major+minor version) "/"
6940 name "-" version ".tar.xz"))
6943 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6944 (patches (search-patches "gdm-default-session.patch"))))
6945 (build-system glib-or-gtk-build-system)
6948 `("--without-plymouth"
6949 "--disable-systemd-journal"
6951 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6952 ;; instead of having to replace it (i.e., stopping the mingetty
6953 ;; service for TTY 1 before starting GDM).
6954 "--with-initial-vt=7"
6956 ;; Use '/etc/environment' for locale settings instead of the
6957 ;; systemd-specific '/etc/locale.conf'.
6958 "--with-lang-file=/etc/environment"
6960 ,(string-append "--with-udevdir="
6961 (assoc-ref %outputs "out") "/lib/udev")
6963 "--localstatedir=/var"
6964 ,(string-append "--with-default-path="
6965 (string-join '("/run/setuid-programs"
6966 "/run/current-system/profile/bin"
6967 "/run/current-system/profile/sbin")
6969 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6970 ;; XDG_DATA_DIRS so that it finds its schemas.
6971 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6973 (modify-phases %standard-phases
6975 'configure 'pre-configure
6976 (lambda* (#:key inputs outputs #:allow-other-keys)
6977 ;; We don't have <systemd/sd-daemon.h>.
6978 (substitute* '("common/gdm-log.c"
6979 "daemon/gdm-server.c"
6980 "daemon/gdm-session-worker.c"
6981 "daemon/gdm-session-worker-job.c")
6982 (("#include <systemd/sd-daemon\\.h>") ""))
6983 ;; Use elogind for sd-login.
6984 (substitute* '("common/gdm-common.c"
6985 "daemon/gdm-local-display-factory.c"
6986 "daemon/gdm-manager.c"
6987 "libgdm/gdm-user-switching.c")
6988 (("#include <systemd/sd-login\\.h>")
6989 "#include <elogind/sd-login.h>"))
6990 ;; Check for elogind.
6991 (substitute* '("configure")
6994 ;; Look for system-installed sessions in
6995 ;; /run/current-system/profile/share.
6996 (substitute* '("libgdm/gdm-sessions.c"
6997 "daemon/gdm-session.c"
6998 "daemon/gdm-display.c"
6999 "daemon/gdm-launch-environment.c")
7001 "\"/run/current-system/profile/share/x")
7002 (("DATADIR \"/wayland")
7003 "\"/run/current-system/profile/share/wayland")
7004 (("DATADIR \"/gnome")
7005 "\"/run/current-system/profile/share/gnome"))
7006 (let ((propagate '("GDM_CUSTOM_CONF"
7010 ;; XXX: Remove this once GNOME Shell is
7011 ;; a dependency of GDM.
7013 (substitute* "daemon/gdm-session.c"
7014 (("set_up_session_environment \\(self\\);")
7015 (apply string-append
7016 "set_up_session_environment (self);\n"
7019 "gdm_session_set_environment_variable "
7020 "(self, \"" name "\","
7021 "g_getenv (\"" name "\"));\n"))
7023 ;; Find the configuration file using an environment variable.
7024 (substitute* '("common/gdm-settings.c")
7025 (("GDM_CUSTOM_CONF")
7026 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
7027 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
7028 " : GDM_CUSTOM_CONF)")))
7029 ;; Use service-supplied path to X.
7030 (substitute* '("daemon/gdm-server.c")
7031 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
7032 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
7033 (substitute* '("daemon/gdm-wayland-session.c"
7034 "daemon/gdm-x-session.c")
7035 (("\"dbus-daemon\"")
7036 "g_getenv (\"GDM_DBUS_DAEMON\")")
7038 "g_getenv (\"GDM_X_SERVER\")")
7039 (("GDMCONFDIR \"/Xsession\"")
7040 "g_getenv (\"GDM_X_SESSION\")"))
7041 ;; Use an absolute path for GNOME Session.
7042 (substitute* "daemon/gdm-launch-environment.c"
7043 (("\"gnome-session\"")
7044 (string-append "\"" (assoc-ref inputs "gnome-session")
7045 "/bin/gnome-session\"")))
7046 ;; Do not automatically select the placeholder session.
7047 (substitute* "daemon/gdm-session.c"
7048 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
7049 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
7050 "(g_strcmp0(search_dirs[i], \""
7051 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
7053 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
7054 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
7055 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
7057 ;; GDM requires that there be at least one desktop entry
7058 ;; file. This phase installs a hidden one that simply
7059 ;; fails. This enables users to use GDM with a
7060 ;; '~/.xsession' script with no other desktop entry files.
7061 ;; See <https://bugs.gnu.org/35068>.
7062 (add-after 'install 'install-placeholder-desktop-entry
7063 (lambda* (#:key inputs outputs #:allow-other-keys)
7064 (let* ((out (assoc-ref outputs "out"))
7065 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7066 (fail (string-append sessions "/fail.desktop")))
7068 (with-output-to-file fail
7072 '("[Desktop Entry]\n"
7074 "Type=Application\n"
7076 "Comment=This session fails immediately.\n"
7080 ;; GDM needs GNOME Session to run these applications. We link
7081 ;; their autostart files in `share/gdm/greeter/autostart'
7082 ;; because GDM explicitly tells GNOME Session to look there.
7084 ;; XXX: GNOME Shell should be linked here too, but currently
7085 ;; GNOME Shell depends on GDM.
7086 (add-after 'install 'link-autostart-files
7087 (lambda* (#:key inputs outputs #:allow-other-keys)
7088 (let* ((out (assoc-ref outputs "out"))
7089 (autostart (string-append out "/share/gdm/"
7090 "greeter/autostart"))
7091 (settings (assoc-ref inputs "gnome-settings-daemon")))
7093 (with-directory-excursion autostart
7094 (for-each (lambda (desktop)
7095 (symlink desktop (basename desktop)))
7096 (find-files (string-append settings "/etc/xdg"))))
7100 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7101 ("gobject-introspection" ,gobject-introspection)
7102 ("intltool" ,intltool)
7103 ("itstool" ,itstool)
7104 ("pkg-config" ,pkg-config)
7105 ("xmllint" ,libxml2)))
7107 `(("accountsservice" ,accountsservice)
7108 ("check" ,check) ; for testing
7109 ("elogind" ,elogind)
7110 ("gnome-session" ,gnome-session)
7111 ("gnome-settings-daemon" ,gnome-settings-daemon)
7113 ("iso-codes" ,iso-codes)
7114 ("libcanberra" ,libcanberra)
7115 ("linux-pam" ,linux-pam)))
7116 (synopsis "Display manager for GNOME")
7117 (home-page "https://wiki.gnome.org/Projects/GDM/")
7119 "GNOME Display Manager is a system service that is responsible for
7120 providing graphical log-ins and managing local and remote displays.")
7121 (license license:gpl2+)))
7123 (define-public libgtop
7129 (uri (string-append "mirror://gnome/sources/libgtop/"
7130 (version-major+minor version) "/"
7131 "libgtop-" version ".tar.xz"))
7134 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
7135 (build-system gnu-build-system)
7137 `(("gobject-introspection" ,gobject-introspection)
7138 ("intltool" ,intltool)
7140 ("pkg-config" ,pkg-config)))
7142 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7143 (synopsis "Portable system access library")
7144 (home-page "https://www.gnome.org/")
7146 "LibGTop is a library to get system specific data such as CPU and memory
7147 usage and information about running processes.")
7148 (license license:gpl2+)))
7150 (define-public gnome-bluetooth
7152 (name "gnome-bluetooth")
7156 (uri (string-append "mirror://gnome/sources/" name "/"
7157 (version-major+minor version) "/"
7158 name "-" version ".tar.xz"))
7161 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7162 (build-system meson-build-system)
7164 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7165 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7166 ("gobject-introspection" ,gobject-introspection)
7167 ("intltool" ,intltool)
7168 ("pkg-config" ,pkg-config)
7169 ("xmllint" ,libxml2)))
7171 ;; gnome-bluetooth-1.0.pc refers to all these.
7176 ("libcanberra" ,libcanberra)
7177 ("libnotify" ,libnotify)))
7178 (synopsis "GNOME Bluetooth subsystem")
7179 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7181 "This package contains tools for managing and manipulating Bluetooth
7182 devices using the GNOME desktop.")
7183 (license license:lgpl2.1+)))
7185 (define-public gnome-control-center
7187 (name "gnome-control-center")
7191 (uri (string-append "mirror://gnome/sources/" name "/"
7192 (version-major+minor version) "/"
7193 name "-" version ".tar.xz"))
7196 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7197 (build-system meson-build-system)
7201 (list "-Dcheese=false"
7202 (string-append "-Dgnome_session_libexecdir="
7203 (assoc-ref %build-inputs "gnome-session")
7206 (modify-phases %standard-phases
7207 (add-before 'configure 'patch-paths
7208 (lambda* (#:key inputs #:allow-other-keys)
7209 (let ((libc (assoc-ref inputs "libc"))
7210 (tzdata (assoc-ref inputs "tzdata"))
7211 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7212 (nm-applet (assoc-ref inputs "network-manager-applet"))
7213 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7214 (substitute* "panels/datetime/tz.h"
7215 (("/usr/share/zoneinfo/zone.tab")
7216 (string-append tzdata "/share/zoneinfo/zone.tab")))
7217 (substitute* "tests/datetime/test-endianess.c"
7218 (("/usr/share/locale")
7219 (string-append libc "/share/locale")))
7220 (substitute* "panels/region/cc-region-panel.c"
7221 (("\"gkbd-keyboard-display")
7222 (string-append "\"" libgnomekbd
7223 "/bin/gkbd-keyboard-display")))
7224 (substitute* '("panels/network/net-device-wifi.c"
7225 "panels/network/net-device.c"
7226 "panels/network/connection-editor/net-connection-editor.c")
7227 (("\"nm-connection-editor")
7228 (string-append "\"" nm-applet
7229 "/bin/nm-connection-editor")))
7230 (substitute* '("panels/user-accounts/run-passwd.c")
7231 (("/usr/bin/passwd")
7232 "/run/setuid-programs/passwd"))
7233 (substitute* "panels/info/cc-info-overview-panel.c"
7234 (("DATADIR \"/gnome/gnome-version.xml\"")
7235 (string-append "\"" gnome-desktop
7236 "/share/gnome/gnome-version.xml\"")))
7238 (add-after 'unpack 'skip-gtk-update-icon-cache
7239 ;; Don't create 'icon-theme.cache'.
7241 (substitute* "build-aux/meson/meson_post_install.py"
7242 (("gtk-update-icon-cache") (which "true")))
7245 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7246 ("intltool" ,intltool)
7247 ("pkg-config" ,pkg-config)
7248 ("xsltproc" ,libxslt)
7250 ("hicolor-icon-theme" ,hicolor-icon-theme)
7251 ("python-dbusmock" ,python-dbusmock)
7252 ("xorg-server" ,xorg-server-for-tests)))
7254 `(("accountsservice" ,accountsservice)
7255 ("clutter-gtk" ,clutter-gtk)
7256 ("colord-gtk" ,colord-gtk)
7259 ("docbook-xsl" ,docbook-xsl)
7260 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7261 ("gnome-bluetooth" ,gnome-bluetooth)
7262 ("gnome-desktop" ,gnome-desktop)
7263 ("gnome-online-accounts" ,gnome-online-accounts)
7264 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7265 ("gnome-session" ,gnome-session)
7266 ("gnome-settings-daemon" ,gnome-settings-daemon)
7270 ("libcanberra" ,libcanberra)
7271 ("libgnomekbd" ,libgnomekbd)
7272 ("libgudev" ,libgudev)
7273 ("libgtop" ,libgtop)
7275 ("libpwquality" ,libpwquality)
7276 ("libsecret" ,libsecret)
7277 ("libsoup" ,libsoup)
7278 ("libxml2" ,libxml2)
7279 ("libwacom" ,libwacom)
7281 ("mit-krb5" ,mit-krb5)
7282 ("modem-manager" ,modem-manager)
7283 ("network-manager-applet" ,network-manager-applet)
7285 ("pulseaudio" ,pulseaudio)
7286 ("smbclient" ,samba)
7289 ("upower" ,upower)))
7290 (synopsis "Utilities to configure the GNOME desktop")
7291 (home-page "https://www.gnome.org/")
7293 "This package contains configuration applets for the GNOME desktop,
7294 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7295 properties, sound setup, desktop theme and background, user interface
7296 properties, screen resolution, and other GNOME parameters.")
7297 (license license:gpl2+)))
7299 (define-public gnome-shell
7301 (name "gnome-shell")
7305 (uri (string-append "mirror://gnome/sources/" name "/"
7306 (version-major+minor version) "/"
7307 name "-" version ".tar.xz"))
7310 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7311 (patches (search-patches "gnome-shell-theme.patch"
7312 "gnome-shell-disable-test.patch"))
7313 (modules '((guix build utils)))
7316 ;; Copy images for use on the GDM log-in screen.
7317 (copy-file #$(file-append %artwork-repository
7318 "/slim/0.x/background.png")
7319 "data/theme/guix-background.png")
7320 (copy-file #$(file-append %artwork-repository
7321 "/logo/Guix-horizontal-white.svg")
7322 "data/theme/guix-logo.svg")
7324 (build-system meson-build-system)
7327 #:disallowed-references ((,glib "bin")
7331 (list "-Dsystemd=false"
7332 ;; Otherwise, the RUNPATH will lack the final path component.
7333 (string-append "-Dc_link_args=-Wl,-rpath="
7334 (assoc-ref %outputs "out")
7335 "/lib/gnome-shell"))
7337 #:modules ((guix build meson-build-system)
7342 (modify-phases %standard-phases
7343 (add-after 'unpack 'fix-keysdir
7344 (lambda* (#:key outputs #:allow-other-keys)
7345 (let* ((out (assoc-ref outputs "out"))
7346 (keysdir (string-append
7347 out "/share/gnome-control-center/keybindings")))
7348 (substitute* "meson.build"
7350 (string-append "keysdir = '" keysdir "'\n")))
7352 (add-before 'configure 'convert-logo-to-png
7353 (lambda* (#:key inputs #:allow-other-keys)
7354 ;; Convert the logo from SVG to PNG.
7355 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7356 "data/theme/guix-logo.svg")))
7357 (add-before 'configure 'record-absolute-file-names
7358 (lambda* (#:key inputs #:allow-other-keys)
7359 (substitute* "js/misc/ibusManager.js"
7361 (string-append "'" (assoc-ref inputs "ibus")
7362 "/bin/ibus-daemon'")))
7363 (substitute* "js/ui/status/keyboard.js"
7364 (("'gkbd-keyboard-display'")
7365 (string-append "'" (assoc-ref inputs "libgnomekbd")
7366 "/bin/gkbd-keyboard-display'")))
7368 (add-before 'check 'pre-check
7369 (lambda* (#:key inputs #:allow-other-keys)
7370 ;; Tests require a running X server.
7371 (system "Xvfb :1 &")
7372 (setenv "DISPLAY" ":1")
7374 (add-after 'install 'wrap-programs
7375 (lambda* (#:key inputs outputs #:allow-other-keys)
7376 (let ((out (assoc-ref outputs "out"))
7377 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7378 (python-path (getenv "PYTHONPATH")))
7379 (wrap-program (string-append out "/bin/gnome-shell")
7380 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7381 ;; FIXME: gnome-shell loads these libraries with unqualified
7382 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7383 ;; alternative might be to patch gnome-shell.
7384 `("LD_LIBRARY_PATH" ":" prefix
7386 (string-append (assoc-ref inputs pkg) "/lib"))
7388 "gnome-bluetooth" "librsvg" "libgweather"))))
7391 (wrap-program (string-append out "/bin/" prog)
7392 `("PYTHONPATH" ":" prefix (,python-path))
7393 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7394 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7396 (replace 'glib-or-gtk-wrap
7397 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7398 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7399 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7400 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7401 ;; phase. Fix that since we don't need these.
7402 (wrap #:inputs (fold alist-delete inputs
7403 '("inkscape" "intltool" "glib:bin"))
7404 #:outputs outputs)))))))
7406 `(("asciidoc" ,asciidoc)
7407 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7408 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7409 ("gobject-introspection" ,gobject-introspection)
7410 ("inkscape" ,inkscape)
7411 ("intltool" ,intltool)
7412 ("pkg-config" ,pkg-config)
7414 ("ruby-sass" ,ruby-sass)
7416 ("xsltproc" ,libxslt)
7418 ("xorg-server" ,xorg-server-for-tests)))
7420 `(("accountsservice" ,accountsservice)
7421 ("caribou" ,caribou)
7422 ("docbook-xsl" ,docbook-xsl)
7423 ("evolution-data-server" ,evolution-data-server)
7426 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7428 ("gnome-autoar" ,gnome-autoar)
7429 ("gnome-bluetooth" ,gnome-bluetooth)
7430 ("gnome-desktop" ,gnome-desktop)
7431 ("gnome-settings-daemon" ,gnome-settings-daemon)
7432 ("gst-plugins-base" ,gst-plugins-base)
7434 ("libcanberra" ,libcanberra)
7435 ("libcroco" ,libcroco)
7436 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7437 ("libgweather" ,libgweather)
7439 ("libsoup" ,libsoup)
7440 ("mesa-headers" ,mesa-headers)
7442 ("network-manager-applet" ,network-manager-applet)
7444 ("pulseaudio" ,pulseaudio)
7445 ("python-pygobject" ,python-pygobject)
7446 ("startup-notification" ,startup-notification)
7447 ("telepathy-logger" ,telepathy-logger)
7449 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7450 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7451 ("librsvg" ,librsvg)
7452 ("geoclue" ,geoclue)))
7453 (synopsis "Desktop shell for GNOME")
7454 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7456 "GNOME Shell provides core user interface functions for the GNOME desktop,
7457 like switching to windows and launching applications.")
7458 (license license:gpl2+)))
7460 (define-public gtk-vnc
7467 (uri (string-append "mirror://gnome/sources/" name "/"
7468 (version-major+minor version) "/"
7469 name "-" version ".tar.xz"))
7472 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7473 (build-system gnu-build-system)
7475 '(#:configure-flags '("--with-gtk=3.0")))
7477 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7479 `(("cyrus-sasl" ,cyrus-sasl)
7481 ("libgcrypt" ,libgcrypt)
7482 ("pulseaudio" ,pulseaudio)))
7484 `(("glib:bin" ,glib "bin")
7485 ("gobject-introspection" ,gobject-introspection)
7486 ("intltool" ,intltool)
7487 ("pkg-config" ,pkg-config)
7488 ("python-wrapper" ,python-wrapper)
7490 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7491 (synopsis "VNC viewer widget for GTK+")
7493 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7494 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7495 GTK-VNC implements client side RFB protocol and authentication extensions such
7496 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7497 (license license:lgpl2.1+)))
7499 (define-public gnome-autoar
7501 (name "gnome-autoar")
7505 (uri (string-append "mirror://gnome/sources/" name "/"
7506 (version-major+minor version) "/"
7507 name "-" version ".tar.xz"))
7510 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7511 (build-system glib-or-gtk-build-system)
7513 `(("gobject-introspection" ,gobject-introspection)
7514 ("pkg-config" ,pkg-config)))
7516 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7519 (synopsis "Archives integration support for GNOME")
7520 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7522 "GNOME Autoar is a library which makes creating and extracting archives
7523 easy, safe, and automatic.")
7524 (license license:lgpl2.1+)))
7526 (define-public tracker
7532 (uri (string-append "mirror://gnome/sources/tracker/"
7533 (version-major+minor version) "/"
7534 "tracker-" version ".tar.xz"))
7537 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7538 (build-system meson-build-system)
7542 ;; Otherwise, the RUNPATH will lack the final path component.
7543 (list (string-append "-Dc_link_args=-Wl,-rpath="
7544 (assoc-ref %outputs "out") "/lib:"
7545 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7547 (modify-phases %standard-phases
7548 (add-before 'check 'pre-check
7550 ;; Some tests expect to write to $HOME.
7551 (setenv "HOME" "/tmp")
7554 `(("glib:bin" ,glib "bin")
7555 ("gobject-introspection" ,gobject-introspection)
7556 ("python-pygobject" ,python-pygobject)
7557 ("intltool" ,intltool)
7558 ("pkg-config" ,pkg-config)
7563 ("libxml2" ,libxml2)
7564 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7565 ("json-glib" ,json-glib)
7566 ("libsoup" ,libsoup)))
7567 (synopsis "Metadata database, indexer and search tool")
7568 (home-page "https://wiki.gnome.org/Projects/Tracker")
7570 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7572 It is a middleware component aimed at desktop application developers who want
7573 their apps to browse and search user content. It's not designed to be used
7574 directly by desktop users, but it provides a commandline tool named
7575 @command{tracker} for the adventurous.
7577 Tracker allows your application to instantly perform full-text searches across
7578 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7579 example. This is achieved by indexing the user's home directory in the
7582 Tracker also allows your application to query and list content that the user
7583 has stored. For example, GNOME Music displays all the music files that are
7584 found by Tracker. This means that GNOME Music doesn't need to maintain a
7585 database of its own.
7587 If you need to go beyond simple searches, Tracker is also a linked data
7588 endpoint and it understands SPARQL. ")
7589 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7590 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7591 ;; libstemmer is bsd-3 and the rest is gpl2+.
7592 (license (list license:gpl2+
7594 license:lgpl2.1+))))
7596 (define-public tracker-miners
7598 (name "tracker-miners")
7602 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7603 (version-major+minor version)
7604 "/tracker-miners-" version ".tar.xz"))
7607 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7608 (build-system meson-build-system)
7612 (list "-Dminer_rss=false" ; libgrss is required.
7613 ;; Ensure the RUNPATH contains all installed library locations.
7614 (string-append "-Dc_link_args=-Wl,-rpath="
7615 (assoc-ref %outputs "out")
7616 "/lib/tracker-miners-2.0")
7617 ;; TODO: Enable functional tests. Currently, the following error
7619 ;; Exception: The functional tests require DConf to be the default
7620 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7621 "-Dfunctional_tests=false")))
7624 ("intltool" ,intltool)
7625 ("glib:bin" ,glib "bin")
7626 ("gobject-introspection" ,gobject-introspection)
7627 ("pkg-config" ,pkg-config)
7628 ("python-pygobject" ,python-pygobject)))
7630 `(("exempi" ,exempi)
7635 ("gstreamer" ,gstreamer)
7638 ("libexif" ,libexif)
7640 ("libgxps" ,libgxps)
7641 ("libiptcdata" ,libiptcdata)
7642 ("libjpeg" ,libjpeg-turbo)
7643 ("libosinfo" ,libosinfo)
7645 ("libseccomp" ,libseccomp)
7646 ("libtiff" ,libtiff)
7647 ("libvorbis" ,libvorbis)
7648 ("libxml2" ,libxml2)
7649 ("poppler" ,poppler)
7651 ("totem-pl-parser" ,totem-pl-parser)
7652 ("tracker" ,tracker)
7655 (synopsis "Metadata database, indexer and search tool")
7656 (home-page "https://wiki.gnome.org/Projects/Tracker")
7658 "Tracker is an advanced framework for first class objects with associated
7659 metadata and tags. It provides a one stop solution for all metadata, tags,
7660 shared object databases, search tools and indexing.")
7661 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7662 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7663 (license (list license:gpl2+
7665 license:lgpl2.0+))))
7667 (define-public nautilus
7673 (uri (string-append "mirror://gnome/sources/" name "/"
7674 (version-major+minor version) "/"
7675 name "-" version ".tar.xz"))
7678 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7679 (build-system meson-build-system)
7683 (modify-phases %standard-phases
7684 (add-after 'unpack 'skip-gtk-update-icon-cache
7685 ;; Don't create 'icon-theme.cache'.
7687 (substitute* "build-aux/meson/postinstall.py"
7688 (("gtk-update-icon-cache") "true"))
7690 ;; XXX: FAIL: check-nautilus
7691 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7694 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7695 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7696 ("gobject-introspection" ,gobject-introspection)
7697 ("intltool" ,intltool)
7698 ("pkg-config" ,pkg-config)))
7704 ("gnome-desktop" ,gnome-desktop)
7705 ("gnome-autoar" ,gnome-autoar)
7706 ("gst-plugins-base" ,gst-plugins-base)
7707 ("libseccomp" ,libseccomp)
7708 ("libselinux" ,libselinux)
7709 ("tracker" ,tracker)
7710 ("tracker-miners" ,tracker-miners)
7711 ;; XXX: gtk+ is required by libnautilus-extension.pc
7713 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7715 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7717 ("libexif" ,libexif)
7718 ("libxml2" ,libxml2)))
7719 (synopsis "File manager for GNOME")
7720 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7722 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7723 design and behaviour, giving the user a simple way to navigate and manage its
7725 (license license:gpl2+)))
7727 (define-public baobab
7734 "mirror://gnome/sources/" name "/"
7735 (version-major+minor version) "/"
7736 name "-" version ".tar.xz"))
7739 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7740 (build-system meson-build-system)
7742 '(#:glib-or-gtk? #t))
7744 `(("intltool" ,intltool)
7745 ("pkg-config" ,pkg-config)
7746 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7747 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7748 ("itstool" ,itstool)
7749 ("xmllint" ,libxml2)
7750 ("glib" ,glib "bin")
7754 (synopsis "Disk usage analyzer for GNOME")
7756 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7757 usage in the GNOME desktop environment. It can easily scan device volumes or
7758 a specific user-requested directory branch (local or remote). Once the scan
7759 is complete it provides a graphical representation of each selected folder.")
7760 (home-page "https://wiki.gnome.org/Apps/Baobab")
7761 (license license:gpl2+)))
7763 (define-public gnome-backgrounds
7765 (name "gnome-backgrounds")
7770 (uri (string-append "mirror://gnome/sources/" name "/"
7771 (version-major+minor version) "/"
7772 name "-" version ".tar.xz"))
7775 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7776 (build-system meson-build-system)
7778 `(("intltool" ,intltool)))
7779 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7780 (synopsis "Background images for the GNOME desktop")
7782 "GNOME backgrounds package contains a collection of graphics files which
7783 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7784 the package creates the proper framework and directory structure so that you
7785 can add your own files to the collection.")
7786 (license (list license:gpl2+
7789 license:cc-by-sa3.0))))
7791 (define-public gnome-screenshot
7793 (name "gnome-screenshot")
7798 (uri (string-append "mirror://gnome/sources/" name "/"
7799 (version-major+minor version) "/"
7800 name "-" version ".tar.xz"))
7803 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7804 (build-system meson-build-system)
7807 (modify-phases %standard-phases
7808 (add-after 'unpack 'skip-gtk-update-icon-cache
7809 ;; Don't create 'icon-theme.cache'.
7811 (substitute* "build-aux/postinstall.py"
7812 (("gtk-update-icon-cache") "true"))
7815 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7816 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7817 ("intltool" ,intltool)
7818 ("appstream-glib" ,appstream-glib)
7819 ("pkg-config" ,pkg-config)))
7822 ("libcanberra" ,libcanberra)
7824 ("libxext" ,libxext)))
7825 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7826 (synopsis "Take pictures of your screen")
7828 "GNOME Screenshot is a utility used for taking screenshots of the entire
7829 screen, a window or a user defined area of the screen, with optional
7830 beautifying border effects.")
7831 (license license:gpl2+)))
7833 (define-public dconf-editor
7835 (name "dconf-editor")
7840 (uri (string-append "mirror://gnome/sources/" name "/"
7841 (version-major+minor version) "/"
7842 name "-" version ".tar.xz"))
7845 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7846 (build-system meson-build-system)
7848 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7849 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7850 ("intltool" ,intltool)
7851 ("pkg-config" ,pkg-config)
7856 ("libxml2" ,libxml2)))
7857 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7858 (synopsis "Graphical editor for GNOME's dconf configuration system")
7860 "Dconf-editor is a graphical tool for browsing and editing the dconf
7861 configuration system for GNOME. It allows users to configure desktop
7862 software that do not provide their own configuration interface.")
7863 (license license:lgpl2.1+)))
7865 (define-public gnome-default-applications
7867 (name "gnome-default-applications")
7869 (build-system trivial-build-system)
7872 `(("nautilus" ,nautilus)
7873 ("evince" ,evince)))
7875 `(#:modules ((guix build utils))
7878 (use-modules (guix build utils))
7879 (let* ((out (assoc-ref %outputs "out"))
7880 (apps (string-append out "/share/applications")))
7882 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7884 (format port "[Default Applications]\n")
7885 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7886 (format port "application/pdf=evince.desktop\n")
7887 (format port "application/postscript=evince.desktop\n")))
7889 (synopsis "Default MIME type associations for the GNOME desktop")
7891 "Given many installed packages which might handle a given MIME type, a
7892 user running the GNOME desktop probably has some preferences: for example,
7893 that folders be opened by default by the Nautilus file manager, not the Baobab
7894 disk usage analyzer. This package establishes that set of default MIME type
7895 associations for GNOME.")
7896 (license license:gpl3+)
7899 (define-public libgovirt
7905 (uri (string-append "mirror://gnome/sources/" name "/"
7906 (version-major+minor version) "/"
7907 name "-" version ".tar.xz"))
7910 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7911 (build-system glib-or-gtk-build-system)
7913 `(("gettext" ,gettext-minimal)
7914 ("glib:bin" ,glib "bin")
7915 ("gobject-introspection" ,gobject-introspection)
7916 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7917 ("gtk+:bin" ,gtk+ "bin")
7918 ("pkg-config" ,pkg-config)))
7920 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7922 (synopsis "GoVirt Library")
7923 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7924 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7925 (license license:gpl2+)))
7927 (define-public gnome-weather
7929 (name "gnome-weather")
7933 (uri (string-append "mirror://gnome/sources/" name "/"
7934 (version-major+minor version) "/"
7935 name "-" version ".tar.xz"))
7938 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7939 (build-system meson-build-system)
7941 `(("gettext" ,gettext-minimal)
7942 ("glib:bin" ,glib "bin")
7943 ("gobject-introspection" ,gobject-introspection)
7944 ("gtk+:bin" ,gtk+ "bin")
7945 ("pkg-config" ,pkg-config)))
7947 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7948 ("appstream-glib" ,appstream-glib)
7949 ("geoclue" ,geoclue)
7950 ("gdk-pixbuf" ,gdk-pixbuf)
7952 ("gnome-desktop" ,gnome-desktop)
7953 ("libgweather" ,libgweather)))
7957 (modify-phases %standard-phases
7958 (add-after 'install 'fix-desktop-file
7959 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7960 ;; See https://issues.guix.gnu.org/issue/39324.
7961 (lambda* (#:key outputs #:allow-other-keys)
7962 (let* ((out (assoc-ref outputs "out"))
7963 (applications (string-append out "/share/applications")))
7964 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7965 (("Exec=.*") "Exec=gnome-weather\n"))
7967 (add-after 'install 'wrap
7968 (lambda* (#:key inputs outputs #:allow-other-keys)
7969 (let ((out (assoc-ref outputs "out"))
7970 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7971 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
7972 (wrap-program (string-append out "/bin/gnome-weather")
7973 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
7975 (synopsis "Weather monitoring for GNOME desktop")
7976 (description "GNOME Weather is a small application that allows you to
7977 monitor the current weather conditions for your city, or anywhere in the
7979 (home-page "https://wiki.gnome.org/Apps/Weather")
7980 (license license:gpl2+)))
7982 (define-public gnome
7985 (version (package-version gnome-shell))
7987 (build-system trivial-build-system)
7988 (arguments '(#:builder (begin (mkdir %output) #t)))
7990 ;; TODO: Add or remove packages according to:
7991 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7993 ;; GNOME-Core-OS-Services
7994 ("accountsservice" ,accountsservice)
7995 ("network-manager" ,network-manager)
7996 ("packagekit" ,packagekit)
7999 ("adwaita-icon-theme" ,adwaita-icon-theme)
8001 ("glib-networking" ,glib-networking)
8002 ("gnome-backgrounds" ,gnome-backgrounds)
8003 ("gnome-bluetooth" ,gnome-bluetooth)
8004 ("gnome-color-manager" ,gnome-color-manager)
8005 ("gnome-control-center" ,gnome-control-center)
8006 ("gnome-desktop" ,gnome-desktop)
8007 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8008 ("gnome-initial-setup" ,gnome-initial-setup)
8009 ("gnome-keyring" ,gnome-keyring)
8010 ("gnome-menus" ,gnome-menus)
8011 ("gnome-session" ,gnome-session)
8012 ("gnome-settings-daemon" ,gnome-settings-daemon)
8013 ("gnome-shell-extensions" ,gnome-shell-extensions)
8014 ("gnome-shell" ,gnome-shell)
8015 ("gnome-themes-extra" ,gnome-themes-extra)
8016 ("gnome-user-docs" ,gnome-user-docs)
8017 ("gnome-user-share" ,gnome-user-share)
8018 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8024 ;; GNOME-Core-Utilities
8027 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
8028 ;; only works on x86_64, so exclude it on other architectures.
8029 ,@(if (string-prefix? "x86_64" (%current-system))
8032 ("epiphany" ,epiphany)
8034 ("file-roller" ,file-roller)
8036 ("gnome-boxes" ,gnome-boxes)
8037 ("gnome-calculator" ,gnome-calculator)
8038 ("gnome-calendar" ,gnome-calendar)
8039 ("gnome-characters" ,gnome-characters)
8040 ("gnome-clocks" ,gnome-clocks)
8041 ("gnome-contacts" ,gnome-contacts)
8042 ("gnome-disk-utility" ,gnome-disk-utility)
8043 ("gnome-font-viewer" ,gnome-font-viewer)
8044 ("gnome-maps" ,gnome-maps)
8045 ; TODO: ("gnome-music" ,gnome-music)
8046 ; TODO: ("gnome-photos" ,gnome-photos)
8047 ("gnome-screenshot" ,gnome-screenshot)
8048 ("gnome-system-monitor" ,gnome-system-monitor)
8049 ("gnome-terminal" ,gnome-terminal)
8050 ("gnome-weather" ,gnome-weather)
8051 ("nautilus" ,nautilus)
8052 ("simple-scan" ,simple-scan)
8056 ("hicolor-icon-theme" ,hicolor-icon-theme)
8057 ("gnome-online-accounts" ,gnome-online-accounts)
8059 ;; Packages not part of GNOME proper but that are needed for a good
8060 ;; experience. See <https://bugs.gnu.org/39646>.
8061 ;; XXX: Find out exactly which ones are needed and why.
8062 ("font-cantarell" ,font-cantarell)
8063 ("font-dejavu" ,font-dejavu)
8064 ("at-spi2-core" ,at-spi2-core)
8067 ("desktop-file-utils" ,desktop-file-utils)
8068 ("gnome-default-applications" ,gnome-default-applications)
8069 ("gnome-themes-standard" ,gnome-themes-standard)
8070 ("gst-plugins-base" ,gst-plugins-base)
8071 ("gst-plugins-good" ,gst-plugins-good)
8072 ("gucharmap" ,gucharmap)
8073 ("pinentry-gnome3" ,pinentry-gnome3)
8074 ("pulseaudio" ,pulseaudio)
8075 ("shared-mime-info" ,shared-mime-info)
8076 ("system-config-printer" ,system-config-printer)
8077 ("xdg-user-dirs" ,xdg-user-dirs)
8079 ("zenity" ,zenity)))
8080 (synopsis "The GNU desktop environment")
8081 (home-page "https://www.gnome.org/")
8083 "GNOME is the graphical desktop for GNU. It includes a wide variety of
8084 applications for browsing the web, editing text and images, creating
8085 documents and diagrams, playing media, scanning, and much more.")
8086 (license license:gpl2+)))
8088 (define-public byzanz
8089 ;; The last stable release of Byzanz was in 2011, but there have been many
8090 ;; useful commits made to the Byzanz repository since then that it would be
8091 ;; silly to use such an old release.
8092 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
8095 (version (string-append "0.2-1." (string-take commit 7)))
8099 (url "https://git.gnome.org/browse/byzanz")
8101 (file-name (string-append name "-" version "-checkout"))
8104 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8105 (build-system glib-or-gtk-build-system)
8108 (modify-phases %standard-phases
8109 (add-before 'bootstrap 'build-without-Werror
8111 ;; The build system cleverly detects that we're not building from
8112 ;; a release tarball and turns on -Werror for GCC.
8113 ;; Unsurprisingly, there is a warning during compilation that
8114 ;; causes the build to fail unnecessarily, so we remove the flag.
8115 (substitute* '("configure.ac")
8119 `(("autoconf" ,autoconf)
8120 ("automake" ,automake)
8121 ("gnome-common" ,gnome-common)
8122 ("intltool" ,intltool)
8123 ("libtool" ,libtool)
8124 ("pkg-config" ,pkg-config)
8128 ("gstreamer" ,gstreamer)
8129 ("gst-plugins-base" ,gst-plugins-base)
8131 (synopsis "Desktop recording program")
8132 (description "Byzanz is a simple desktop recording program with a
8133 command-line interface. It can record part or all of an X display for a
8134 specified duration and save it as a GIF encoded animated image file.")
8135 (home-page "https://git.gnome.org/browse/byzanz")
8136 (license license:gpl2+))))
8138 (define-public gsound
8144 (uri (string-append "mirror://gnome/sources/" name "/"
8145 (version-major+minor version) "/"
8146 name "-" version ".tar.xz"))
8149 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8150 (build-system glib-or-gtk-build-system)
8152 `(("pkg-config" ,pkg-config)
8153 ("gobject-introspection" ,gobject-introspection)
8157 ("libcanberra" ,libcanberra)))
8158 (home-page "https://wiki.gnome.org/Projects/GSound")
8159 (synopsis "GObject wrapper for libcanberra")
8161 "GSound is a small library for playing system sounds. It's designed to be
8162 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8164 (license license:lgpl2.1+)))
8166 (define-public libzapojit
8172 (uri (string-append "mirror://gnome/sources/" name "/"
8173 (version-major+minor version) "/"
8174 name "-" version ".tar.xz"))
8177 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8178 (build-system gnu-build-system)
8180 `(("gobject-introspection" ,gobject-introspection)
8181 ("intltool" ,intltool)
8182 ("pkg-config" ,pkg-config)))
8184 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8185 ("json-glib" ,json-glib)
8187 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8188 (synopsis "Library for accessing SkyDrive and Hotmail")
8190 "Libzapojit is a GLib-based library for accessing online service APIs of
8191 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8192 (license license:lgpl2.1+)))
8194 (define-public gnome-clocks
8196 (name "gnome-clocks")
8200 (uri (string-append "mirror://gnome/sources/" name "/"
8201 (version-major+minor version) "/"
8202 name "-" version ".tar.xz"))
8205 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8206 (build-system meson-build-system)
8210 (modify-phases %standard-phases
8211 (add-after 'unpack 'skip-gtk-update-icon-cache
8212 ;; Don't create 'icon-theme.cache'.
8214 (substitute* "build-aux/post-install.py"
8215 (("gtk-update-icon-cache") "true"))
8219 ("pkg-config" ,pkg-config)
8220 ("glib" ,glib "bin") ; for glib-compile-resources
8221 ("desktop-file-utils" ,desktop-file-utils)
8222 ("gettext" ,gettext-minimal)
8223 ("itstool" ,itstool)))
8228 ("geoclue" ,geoclue)
8229 ("geocode-glib" ,geocode-glib)
8230 ("libgweather" ,libgweather)
8231 ("gnome-desktop" ,gnome-desktop)))
8232 (home-page "https://wiki.gnome.org/Apps/Clocks")
8233 (synopsis "GNOME's clock application")
8235 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8236 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8237 (license license:gpl3+)))
8239 (define-public gnome-calendar
8241 (name "gnome-calendar")
8245 (uri (string-append "mirror://gnome/sources/" name "/"
8246 (version-major+minor version) "/"
8247 name "-" version ".tar.xz"))
8250 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8251 (build-system meson-build-system)
8254 ;; gnome-calendar has to be installed before the tests can be run
8255 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8258 (modify-phases %standard-phases
8259 (add-after 'unpack 'skip-gtk-update-icon-cache
8260 ;; Don't create 'icon-theme.cache'.
8262 (substitute* "build-aux/meson/meson_post_install.py"
8263 (("gtk-update-icon-cache") "true"))
8266 `(("gettext" ,gettext-minimal)
8267 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8268 ("pkg-config" ,pkg-config)))
8270 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8271 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8272 ("libdazzle" ,libdazzle)
8273 ("libedataserverui" ,evolution-data-server)
8274 ("libgweather" ,libgweather)
8275 ("geoclue" ,geoclue)))
8277 `(("evolution-data-server" ,evolution-data-server)))
8278 (home-page "https://wiki.gnome.org/Apps/Calendar")
8279 (synopsis "GNOME's calendar application")
8281 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8282 desktop. It supports multiple calendars, month, week and year view.")
8283 (license license:gpl3+)))
8285 (define-public gnome-todo
8291 (uri (string-append "mirror://gnome/sources/" name "/"
8292 (version-major+minor version) "/"
8293 name "-" version ".tar.xz"))
8296 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8298 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8299 (build-system meson-build-system)
8302 #:phases (modify-phases %standard-phases
8304 'install 'wrap-gnome-todo
8305 (lambda* (#:key inputs outputs #:allow-other-keys)
8306 (let ((out (assoc-ref outputs "out"))
8307 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8308 (python-path (getenv "PYTHONPATH")))
8309 (wrap-program (string-append out "/bin/gnome-todo")
8310 ;; XXX: gi plugins are broken.
8311 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8313 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8314 `("PYTHONPATH" ":" prefix (,python-path))))
8317 `(("gettext" ,gettext-minimal)
8318 ("gobject-introspection" ,gobject-introspection)
8319 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8320 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8321 ("pkg-config" ,pkg-config)))
8323 `(("rest" ,rest) ; For Todoist plugin
8324 ("json-glib" ,json-glib) ; For Todoist plugin
8325 ("libedataserverui" ,evolution-data-server)
8326 ("libical" ,libical)
8327 ("libpeas" ,libpeas)
8328 ("python-pygobject" ,python-pygobject)
8329 ("evolution-data-server" ,evolution-data-server)
8330 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8331 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8332 (home-page "https://wiki.gnome.org/Apps/Todo")
8333 (synopsis "GNOME's ToDo Application")
8335 "GNOME To Do is a simplistic personal task manager designed to perfectly
8336 fit the GNOME desktop.")
8337 (license license:gpl3+)))
8339 (define-public gnome-dictionary
8341 (name "gnome-dictionary")
8345 (uri (string-append "mirror://gnome/sources/" name "/"
8346 (version-major+minor version) "/"
8347 name "-" version ".tar.xz"))
8350 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8351 (build-system meson-build-system)
8352 (arguments '(#:glib-or-gtk? #t
8353 #:phases (modify-phases %standard-phases
8354 (add-after 'unpack 'patch-install-script
8356 ;; This script attempts to compile glib schemas
8357 ;; and create an empty MIME database. We do
8358 ;; that elsewhere, so prevent it from running.
8359 (substitute* "build-aux/post-install.sh"
8360 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8363 `(("glib:bin" ,glib "bin")
8364 ("gobject-introspection" ,gobject-introspection)
8365 ("intltool" ,intltool)
8366 ("itstool" ,itstool)
8367 ("pkg-config" ,pkg-config)
8368 ("xmllint" ,libxml2)))
8370 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8372 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8373 (synopsis "Look up words in dictionary sources")
8375 "GNOME Dictionary can look for the definition or translation of a word in
8376 existing databases over the internet.")
8377 (license license:gpl3+)))
8379 (define-public gnome-tweaks
8381 (name "gnome-tweaks")
8385 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8386 (version-major+minor version) "/"
8387 "gnome-tweaks-" version ".tar.xz"))
8389 (list (search-patch "gnome-tweaks-search-paths.patch")))
8392 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8393 (build-system meson-build-system)
8396 #:configure-flags '("-Dlocalstatedir=/tmp"
8397 "-Dsysconfdir=/tmp")
8398 #:imported-modules ((guix build python-build-system)
8399 ,@%meson-build-system-modules)
8401 (modify-phases %standard-phases
8402 (add-after 'unpack 'skip-gtk-update-icon-cache
8403 ;; Don't create 'icon-theme.cache'.
8405 (substitute* "meson-postinstall.py"
8406 (("gtk-update-icon-cache") "true"))
8408 (add-after 'install 'wrap
8409 (@@ (guix build python-build-system) wrap))
8410 (add-after 'wrap 'wrap-gi-typelib
8411 (lambda* (#:key inputs outputs #:allow-other-keys)
8412 (let ((out (assoc-ref outputs "out"))
8413 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8414 (wrap-program (string-append out "/bin/gnome-tweaks")
8415 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8418 `(("intltool" ,intltool)
8419 ("pkg-config" ,pkg-config)))
8421 `(("gnome-desktop" ,gnome-desktop)
8423 ("gobject-introspection" ,gobject-introspection)
8424 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8425 ("libhandy" ,libhandy)
8426 ("libnotify" ,libnotify)
8427 ("libsoup" ,libsoup)
8428 ("nautilus" ,nautilus)
8430 ("python-pygobject" ,python-pygobject)))
8431 (synopsis "Customize advanced GNOME 3 options")
8432 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8434 "GNOME Tweaks allows adjusting advanced configuration settings in
8435 GNOME 3. This includes things like the fonts used in user interface elements,
8436 alternative user interface themes, changes in window management behavior,
8437 GNOME Shell appearance and extension, etc.")
8438 (license license:gpl3+)))
8440 (define-public gnome-shell-extensions
8442 (name "gnome-shell-extensions")
8446 (uri (string-append "mirror://gnome/sources/" name "/"
8447 (version-major+minor version) "/"
8448 name "-" version ".tar.xz"))
8451 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8452 (build-system meson-build-system)
8454 '(#:configure-flags '("-Dextension_set=all")))
8456 `(("glib:bin" ,glib "bin")
8457 ("intltool" ,intltool)
8458 ("pkg-config" ,pkg-config)))
8461 (synopsis "Extensions for GNOME Shell")
8462 (description "GNOME Shell extensions modify and extend GNOME Shell
8463 functionality and behavior.")
8464 (home-page "https://extensions.gnome.org/")
8465 (license license:gpl3+)))
8467 (define-public arc-theme
8470 (version "20190917")
8474 (url "https://github.com/NicoHood/arc-theme")
8476 (file-name (git-file-name name version))
8479 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8480 (build-system gnu-build-system)
8483 (modify-phases %standard-phases
8484 ;; autogen.sh calls configure at the end of the script.
8486 (lambda _ (invoke "autoreconf" "-vfi")))
8487 (add-before 'build 'set-home ;placate Inkscape
8489 (setenv "HOME" (getcwd))
8492 `(("autoconf" ,autoconf)
8493 ("automake" ,automake)
8494 ("glib" ,glib "bin") ; for glib-compile-resources
8495 ("gnome-shell" ,gnome-shell)
8497 ("inkscape" ,inkscape)
8498 ("optipng" ,optipng)
8499 ("pkg-config" ,pkg-config)
8500 ("sassc" ,sassc/libsass-3.5)))
8501 (synopsis "A flat GTK+ theme with transparent elements")
8502 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8503 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8504 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8505 (home-page "https://github.com/horst3180/arc-theme")
8506 ;; No "or later" language found.
8507 (license license:gpl3+)))
8509 (define-public faba-icon-theme
8511 (name "faba-icon-theme")
8517 (url "https://github.com/snwh/faba-icon-theme")
8518 (commit (string-append "v" version))))
8519 (file-name (git-file-name name version))
8521 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8522 (build-system meson-build-system)
8525 (modify-phases %standard-phases
8526 (add-before 'configure 'disable-post-install
8528 (substitute* "meson.build"
8529 (("meson.add_install_script.*") "")))))))
8531 `(("autoconf" ,autoconf)
8532 ("automake" ,automake)))
8533 (synopsis "Faba icon theme")
8535 "Faba is a minimal icon set used as a basis for other themes such as
8537 (home-page "https://snwh.org/moka")
8538 (license (list license:lgpl3+
8539 license:cc-by-sa4.0))))
8541 (define-public moka-icon-theme
8543 (inherit faba-icon-theme)
8544 (name "moka-icon-theme")
8550 (url "https://github.com/snwh/moka-icon-theme")
8551 (commit (string-append "v" version))))
8552 (file-name (git-file-name name version))
8554 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8556 ;; Moka is based on Faba by using it as a fallback icon set instead of
8557 ;; bundling it, so we need to add it as a propagated input.
8558 `(("faba-icon-theme" ,faba-icon-theme)))
8559 (synopsis "Moka icon theme")
8560 (description "Moka is a stylized desktop icon set, designed to be clear,
8561 simple and consistent.")
8562 (license (list license:gpl3+
8563 license:cc-by-sa4.0))))
8565 (define-public arc-icon-theme
8567 (name "arc-icon-theme")
8568 (version "20161122")
8573 (url "https://github.com/horst3180/arc-icon-theme")
8575 (file-name (git-file-name name version))
8577 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8578 (build-system gnu-build-system)
8581 (modify-phases %standard-phases
8582 (add-after 'unpack 'disable-configure-during-bootstrap
8584 (substitute* "autogen.sh"
8585 (("^\"\\$srcdir/configure\".*") ""))
8588 `(("autoconf" ,autoconf)
8589 ("automake" ,automake)))
8590 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8592 `(("moka-icon-theme" ,moka-icon-theme)))
8593 (synopsis "Arc icon theme")
8594 (description "The Arc icon theme provides a set of icons matching the
8595 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8596 the Moka icon theme.")
8597 (home-page "https://github.com/horst3180/arc-icon-theme")
8598 (license license:gpl3+)))
8600 (define-public folks
8607 "mirror://gnome/sources/folks/"
8608 (version-major+minor version) "/"
8609 "folks-" version ".tar.xz"))
8612 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8613 (build-system meson-build-system)
8616 (modify-phases %standard-phases
8617 (add-after 'unpack 'skip-gtk-update-icon-cache
8618 ;; Don't create 'icon-theme.cache'.
8620 (substitute* "meson_post_install.py"
8621 (("gtk-update-icon-cache") "true"))
8625 ("dbus-glib" ,dbus-glib)
8626 ("evolution-data-server" ,evolution-data-server)
8629 ("readline" ,readline)
8630 ("telepathy-glib" ,telepathy-glib)))
8632 `(("glib:bin" ,glib "bin")
8633 ("gobject-introspection" ,gobject-introspection)
8634 ("intltool" ,intltool)
8635 ("pkg-config" ,pkg-config)
8637 (synopsis "Library to aggregate data about people")
8638 (description "Libfolks is a library that aggregates information about people
8639 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8640 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8641 etc.) to create metacontacts. It's written in Vala, which generates C code when
8643 (home-page "https://wiki.gnome.org/Projects/Folks")
8644 (license license:lgpl2.1+)))
8646 (define-public gfbgraph
8653 "mirror://gnome/sources/gfbgraph/"
8654 (version-major+minor version) "/"
8655 "gfbgraph-" version ".tar.xz"))
8658 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
8659 (build-system glib-or-gtk-build-system)
8661 `(#:tests? #f ; tests appear to require the network
8662 #:configure-flags '("--disable-static"
8664 "--enable-introspection")))
8666 `(("gobject-introspection" ,gobject-introspection)
8667 ("gtk-doc" ,gtk-doc)
8668 ("pkg-config" ,pkg-config)
8670 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
8671 ("autoconf" ,autoconf)
8672 ("automake" ,automake)
8673 ("libtool" ,libtool)
8676 `(("json-glib" ,json-glib)
8677 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8679 (synopsis "GLib/GObject wrapper for the Facebook API")
8680 (description "This library allows you to use the Facebook API from
8681 GLib/GObject code.")
8682 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8683 (license license:lgpl2.1+)))
8685 (define-public libgnomekbd
8687 (name "libgnomekbd")
8691 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8692 (version-major+minor version) "/"
8693 "libgnomekbd-" version ".tar.xz"))
8696 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8697 (build-system gnu-build-system)
8699 `(("pkg-config" ,pkg-config)
8700 ("glib" ,glib "bin")
8701 ("intltool" ,intltool)))
8703 ;; Referred to in .h files and .pc.
8706 ("libxklavier" ,libxklavier)))
8707 (home-page "https://www.gnome.org")
8708 (synopsis "GNOME keyboard configuration library")
8710 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8711 environment, which can notably display keyboard layouts.")
8712 (license license:lgpl2.0+)))
8714 ;;; This package is no longer maintained:
8715 ;;; https://wiki.gnome.org/Attic/LibUnique
8716 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8717 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8718 (define-public libunique
8724 (uri (string-append "mirror://gnome/sources/" name "/"
8725 (version-major+minor version) "/"
8726 name "-" version ".tar.xz"))
8729 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8730 (build-system glib-or-gtk-build-system)
8732 `(#:configure-flags '("--disable-static"
8733 "--disable-dbus" ; use gdbus
8734 "--enable-introspection")))
8736 `(("pkg-config" ,pkg-config)
8737 ("gobject-introspection" ,gobject-introspection)
8738 ("glib:bin" ,glib "bin")
8739 ("gtk-doc" ,gtk-doc)))
8741 ;; Referred to in .h files and .pc.
8743 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8744 (synopsis "Library for writing single instance applications")
8746 "Libunique is a library for writing single instance applications. If you
8747 launch a single instance application twice, the second instance will either just
8748 quit or will send a message to the running instance. Libunique makes it easy to
8749 write this kind of application, by providing a base class, taking care of all
8750 the IPC machinery needed to send messages to a running instance, and also
8751 handling the startup notification side.")
8752 (license license:lgpl2.1+)))
8754 (define-public gnome-calculator
8756 (name "gnome-calculator")
8761 (uri (string-append "mirror://gnome/sources/" name "/"
8762 (version-major+minor version) "/"
8763 name "-" version ".tar.xz"))
8766 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8767 (build-system meson-build-system)
8768 (arguments '(#:glib-or-gtk? #t))
8770 `(("gettext" ,gettext-minimal)
8771 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8772 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8773 ("itstool" ,itstool)
8775 ("pkg-config" ,pkg-config)))
8778 ("gtksourceview" ,gtksourceview)
8780 ("libsoup" ,libsoup)
8781 ("libxml2" ,libxml2)
8784 (home-page "https://wiki.gnome.org/Apps/Calculator")
8785 (synopsis "Desktop calculator")
8787 "Calculator is an application that solves mathematical equations and
8788 is suitable as a default application in a Desktop environment.")
8789 (license license:gpl3)))
8798 (uri (string-append "https://launchpad.net/xpad/trunk/"
8799 version "/+download/"
8800 name "-" version ".tar.bz2"))
8803 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8804 (build-system gnu-build-system)
8806 `(("autoconf" ,autoconf)
8807 ("automake" ,automake)
8808 ("gtk+:bin" ,gtk+ "bin")
8809 ("intltool" ,intltool)
8810 ("pkg-config" ,pkg-config)))
8812 `(("gtksourceview" ,gtksourceview-3)
8814 (home-page "https://wiki.gnome.org/Apps/Xpad")
8815 (synopsis "Virtual sticky note")
8817 "Xpad is a sticky note that strives to be simple, fault tolerant,
8818 and customizable. Xpad consists of independent pad windows, each is
8819 basically a text box in which notes can be written.")
8820 (license license:gpl3+)))
8822 (define-public gucharmap
8823 (let ((unicode-files
8825 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8827 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8829 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8831 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8833 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8835 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8842 (uri (string-append "mirror://gnome/sources/" name "/"
8843 (version-major+minor version) "/"
8844 name "-" version ".tar.xz"))
8847 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8848 (build-system glib-or-gtk-build-system)
8850 `(#:modules ((ice-9 match)
8851 (guix build glib-or-gtk-build-system)
8854 (list "--with-unicode-data=../unicode-data")
8856 (modify-phases %standard-phases
8857 (add-after 'unpack 'prepare-unicode-data
8858 (lambda* (#:key inputs #:allow-other-keys)
8859 (mkdir-p "../unicode-data")
8860 (with-directory-excursion "../unicode-data"
8861 (for-each (match-lambda
8863 (install-file (assoc-ref inputs file) ".")))
8867 `(("desktop-file-utils" ,desktop-file-utils)
8868 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8869 ("gobject-introspection" ,gobject-introspection)
8870 ("intltool" ,intltool)
8871 ("itstool" ,itstool)
8872 ("pkg-config" ,pkg-config)
8873 ,@(map (match-lambda
8879 "http://www.unicode.org/Public/12.0.0/ucd/"
8881 (sha256 (base32 hash))))))
8886 ("xmllint" ,libxml2)))
8887 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8888 (synopsis "Unicode character picker and font browser")
8890 "This program allows you to browse through all the available Unicode
8891 characters and categories for the installed fonts, and to examine their
8892 detailed properties. It is an easy way to find the character you might
8893 only know by its Unicode name or code point.")
8894 (license license:gpl3+))))
8896 (define-public bluefish
8903 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8904 "bluefish-" version ".tar.gz"))
8906 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8907 (build-system gnu-build-system)
8909 `(("desktop-file-utils" ,desktop-file-utils)
8910 ("intltool" ,intltool)
8911 ("pkg-config" ,pkg-config)))
8913 `(("enchant" ,enchant)
8915 ("python" ,python-wrapper)
8916 ("xmllint" ,libxml2)
8917 ("gucharmap" ,gucharmap)))
8918 (home-page "http://bluefish.openoffice.nl")
8919 (synopsis "Web development studio")
8921 "Bluefish is an editor targeted towards programmers and web developers,
8922 with many options to write web sites, scripts and other code.
8923 Bluefish supports many programming and markup languages.")
8924 (license license:gpl3+)))
8926 (define-public gnome-system-monitor
8928 (name "gnome-system-monitor")
8933 (uri (string-append "mirror://gnome/sources/" name "/"
8934 (version-major+minor version) "/"
8935 name "-" version ".tar.xz"))
8938 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8939 (build-system meson-build-system)
8942 #:configure-flags '("-Dsystemd=false")))
8944 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8945 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8946 ("intltool" ,intltool)
8947 ("itstool" ,itstool)
8948 ("libgtop" ,libgtop)
8950 ("pkg-config" ,pkg-config)))
8952 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8955 ("librsvg" ,librsvg)
8956 ("libxml2" ,libxml2)
8957 ("libwnck" ,libwnck)))
8958 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8959 (synopsis "Process viewer and system resource monitor for GNOME")
8961 "GNOME System Monitor is a GNOME process viewer and system monitor with
8962 an attractive, easy-to-use interface. It has features, such as a tree view
8963 for process dependencies, icons for processes, the ability to hide processes,
8964 graphical time histories of CPU/memory/swap usage and the ability to
8965 kill/reinice processes.")
8966 (license license:gpl2+)))
8968 (define-public python-pyatspi
8970 (name "python-pyatspi")
8975 "mirror://gnome/sources/pyatspi/"
8976 (version-major+minor version)
8977 "/pyatspi-" version ".tar.xz"))
8980 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8981 (build-system gnu-build-system)
8984 (modify-phases %standard-phases
8985 (add-before 'build 'fix-atk-load
8987 (substitute* "pyatspi/__init__.py"
8988 (("from gi.repository import Atspi")
8989 "gi.require_version('Gtk', '3.0')
8990 from gi.repository import Gtk
8991 from gi.repository import Atspi"))
8994 `(("pkg-config" ,pkg-config)))
8996 `(("python" ,python)))
8998 `(("python-pygobject" ,python-pygobject)))
8999 (synopsis "Python client bindings for D-Bus AT-SPI")
9000 (home-page "https://wiki.linuxfoundation.org/accessibility\
9001 /atk/at-spi/at-spi_on_d-bus")
9003 "This package includes a python client library for the AT-SPI D-Bus
9004 accessibility infrastructure.")
9005 (license license:lgpl2.0)
9006 (properties '((upstream-name . "pyatspi")))))
9008 (define-public python2-pyatspi
9010 (inherit python-pyatspi)
9011 (name "python2-pyatspi")
9013 `(("python" ,python-2)))
9015 `(("python-pygobject" ,python2-pygobject)))))
9024 "mirror://gnome/sources/" name "/"
9025 (version-major+minor version) "/"
9026 name "-" version ".tar.xz"))
9029 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
9030 (build-system glib-or-gtk-build-system)
9033 (modify-phases %standard-phases
9034 (add-before 'configure 'qualify-xkbcomp
9035 (lambda* (#:key inputs #:allow-other-keys)
9036 (let ((xkbcomp (string-append
9037 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
9038 (substitute* "src/orca/orca.py"
9039 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
9041 (add-after 'install 'wrap-orca
9042 (lambda* (#:key outputs #:allow-other-keys)
9043 (let* ((out (assoc-ref outputs "out"))
9044 (prog (string-append out "/bin/orca")))
9046 `("GI_TYPELIB_PATH" ":" prefix
9047 (,(getenv "GI_TYPELIB_PATH")))
9048 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
9049 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
9050 `("PYTHONPATH" ":" prefix
9051 (,(getenv "PYTHONPATH")))))
9054 `(("intltool" ,intltool)
9055 ("itstool" ,itstool)
9056 ("pkg-config" ,pkg-config)
9057 ("xmllint" ,libxml2)))
9059 `(("at-spi2-atk" ,at-spi2-atk)
9060 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9061 ("gstreamer" ,gstreamer)
9062 ("gst-plugins-base" ,gst-plugins-base)
9063 ("gst-plugins-good" ,gst-plugins-good)
9066 ("python-pygobject" ,python-pygobject)
9067 ("python-pyatspi" ,python-pyatspi)
9068 ("python-speechd" ,speech-dispatcher)
9069 ("xkbcomp" ,xkbcomp)))
9071 "Screen reader for individuals who are blind or visually impaired")
9072 (home-page "https://wiki.gnome.org/Projects/Orca")
9074 "Orca is a screen reader that provides access to the graphical desktop
9075 via speech and refreshable braille. Orca works with applications and toolkits
9076 that support the Assistive Technology Service Provider Interface (AT-SPI).")
9077 (license license:lgpl2.1+)))
9079 (define-public gspell
9085 (uri (string-append "mirror://gnome/sources/" name "/"
9086 (version-major+minor version) "/"
9087 name "-" version ".tar.xz"))
9090 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
9091 (patches (search-patches "gspell-dash-test.patch"))))
9092 (build-system glib-or-gtk-build-system)
9094 '(#:configure-flags (list "--enable-vala")
9096 (modify-phases %standard-phases
9097 (add-before 'check 'pre-check
9098 (lambda* (#:key inputs #:allow-other-keys)
9099 ;; Tests require a running X server.
9100 (system "Xvfb :1 &")
9101 (setenv "DISPLAY" ":1")
9103 ;; For the missing /etc/machine-id.
9104 (setenv "DBUS_FATAL_WARNINGS" "0")
9106 ;; Allow Enchant and its Aspell backend to find the en_US
9108 (setenv "ASPELL_DICT_DIR"
9109 (string-append (assoc-ref inputs "aspell-dict-en")
9115 ("iso-codes" ,iso-codes)))
9117 `(("glib" ,glib "bin")
9118 ("gobject-introspection" ,gobject-introspection)
9119 ("pkg-config" ,pkg-config)
9120 ("vala" ,vala) ;for VAPI, needed by Geary
9121 ("xmllint" ,libxml2)
9124 ("aspell-dict-en" ,aspell-dict-en)
9125 ("xorg-server" ,xorg-server-for-tests)))
9127 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
9128 (home-page "https://wiki.gnome.org/Projects/gspell")
9129 (synopsis "GNOME's alternative spell checker")
9131 "gspell provides a flexible API to add spell-checking to a GTK+
9132 application. It provides a GObject API, spell-checking to text entries and
9133 text views, and buttons to choose the language.")
9134 (license license:gpl2+)))
9136 (define-public gnome-planner
9138 (name "gnome-planner")
9142 (uri (string-append "mirror://gnome/sources/planner/"
9143 (version-major+minor version) "/planner-"
9147 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9148 (build-system glib-or-gtk-build-system)
9150 ;; Disable the Python bindings because the Planner program functions
9151 ;; without them, and (as of 2017-06-13) we have not packaged all of
9152 ;; packages that are necessary for building the Python bindings.
9154 (list "--disable-python"
9155 ,@(if (string=? "aarch64-linux" (%current-system))
9156 '("--build=aarch64-unknown-linux-gnu")
9159 `(("libgnomecanvas" ,libgnomecanvas)
9160 ("libgnomeui" ,libgnomeui)
9161 ("libglade" ,libglade)
9162 ("gnome-vfs" ,gnome-vfs)
9164 ("libxml2" ,libxml2)
9165 ("libxslt" ,libxslt)
9169 `(("intltool" ,intltool)
9170 ("scrollkeeper" ,scrollkeeper)
9171 ("pkg-config" ,pkg-config)))
9172 (home-page "https://wiki.gnome.org/Apps/Planner")
9173 (synopsis "Project management software for the GNOME desktop")
9175 "GNOME Planner is a project management tool based on the Work Breakdown
9176 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9177 the resources, tasks, and constraints that you define, Planner generates
9178 various views into a project. For example, Planner can show a Gantt chart of
9179 the project. It can show a detailed summary of tasks including their
9180 duration, cost, and current progress. It can also show a report of resource
9181 utilization that highlights under-utilized and over-utilized resources. These
9182 views can be printed as PDF or PostScript files, or exported to HTML.")
9183 (license license:gpl2+)))
9185 (define-public lollypop
9192 (uri (string-append "https://adishatz.org/lollypop/"
9193 "lollypop-" version ".tar.xz"))
9195 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9196 (build-system meson-build-system)
9198 `(#:imported-modules
9199 (,@%meson-build-system-modules
9200 (guix build python-build-system))
9202 ((guix build meson-build-system)
9203 ((guix build python-build-system) #:prefix python:)
9206 #:tests? #f ; no test suite
9208 (modify-phases %standard-phases
9209 (add-after 'install 'wrap-program
9210 (lambda* (#:key outputs #:allow-other-keys)
9211 (let ((out (assoc-ref outputs "out"))
9212 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9213 (wrap-program (string-append out "/bin/lollypop")
9214 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9216 (add-after 'install 'wrap-python
9217 (assoc-ref python:%standard-phases 'wrap)))))
9219 `(("intltool" ,intltool)
9220 ("itstool" ,itstool)
9221 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9222 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9223 ("pkg-config" ,pkg-config)))
9225 `(("gobject-introspection" ,gobject-introspection)
9226 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9227 ("gst-plugins-base" ,gst-plugins-base)
9228 ("libnotify" ,libnotify)
9229 ("libsecret" ,libsecret)
9230 ("libsoup" ,libsoup)
9232 ("python-beautifulsoup4" ,python-beautifulsoup4)
9233 ("python-gst" ,python-gst)
9234 ("python-pil" ,python-pillow)
9235 ("python-pycairo" ,python-pycairo)
9236 ("python-pygobject" ,python-pygobject)
9237 ("python-pylast" ,python-pylast)
9238 ("totem-pl-parser" ,totem-pl-parser)
9239 ("webkitgtk" ,webkitgtk)))
9241 `(;; gst-plugins-base is required to start Lollypop,
9242 ;; the others are required to play streaming.
9243 ("gst-plugins-good" ,gst-plugins-good)
9244 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9245 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9246 (synopsis "GNOME music playing application")
9248 "Lollypop is a music player designed to play well with GNOME desktop.
9249 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9250 from artists and tracks from the web. It also fetches cover artworks
9251 automatically and it can stream songs from online music services and charts.")
9252 (license license:gpl3+)))
9254 (define-public gnome-video-effects
9256 (name "gnome-video-effects")
9260 (uri (string-append "mirror://gnome/sources/" name "/"
9261 (version-major+minor version) "/" name "-"
9265 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9266 (build-system glib-or-gtk-build-system)
9268 `(#:out-of-source? #f))
9270 `(("glib:bin" ,glib "bin")
9271 ("intltool" ,intltool)
9272 ("gettext" ,gettext-minimal)
9273 ("pkg-config" ,pkg-config)))
9274 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9275 (synopsis "Video effects for Cheese and other GNOME applications")
9277 "A collection of GStreamer video filters and effects to be used in
9278 photo-booth-like software, such as Cheese.")
9279 (license license:gpl2+)))
9281 (define-public cheese
9287 (uri (string-append "mirror://gnome/sources/" name "/"
9288 (version-major+minor version) "/" name "-"
9292 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9295 ;; Tests require GDK.
9298 (modify-phases %standard-phases
9299 (add-after 'unpack 'skip-gtk-update-icon-cache
9301 ;; Don't create 'icon-theme.cache'
9302 (substitute* "meson_post_install.py"
9303 (("gtk-update-icon-cache") (which "true")))
9305 (add-after 'install 'wrap-cheese
9306 (lambda* (#:key inputs outputs #:allow-other-keys)
9307 (let ((out (assoc-ref outputs "out"))
9308 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9309 (wrap-program (string-append out "/bin/cheese")
9310 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9312 (build-system meson-build-system)
9314 `(("docbook-xsl" ,docbook-xsl)
9315 ("glib:bin" ,glib "bin")
9316 ("gtk-doc" ,gtk-doc)
9317 ("intltool" ,intltool)
9318 ("itstool" ,itstool)
9319 ("libxml2" ,libxml2)
9320 ("libxslt" ,libxslt)
9321 ("pkg-config" ,pkg-config)
9324 `(("gnome-video-effects" ,gnome-video-effects)
9325 ("clutter" ,clutter)
9326 ("clutter-gst" ,clutter-gst)
9327 ("clutter-gtk" ,clutter-gtk)
9328 ("libcanberra" ,libcanberra)
9329 ("gdk-pixbuf" ,gdk-pixbuf)
9331 ("gstreamer" ,gstreamer)))
9333 `(("gnome-desktop" ,gnome-desktop)
9334 ("gobject-introspection" ,gobject-introspection)
9335 ("gst-plugins-base" ,gst-plugins-base)
9336 ("gst-plugins-bad" ,gst-plugins-bad)
9339 ("libxtst" ,libxtst)))
9340 (home-page "https://wiki.gnome.org/Apps/Cheese")
9341 (synopsis "Webcam photo booth software for GNOME")
9343 "Cheese uses your webcam to take photos and videos. Cheese can also
9344 apply fancy special effects and lets you share the fun with others.")
9345 (license license:gpl2+)))
9347 (define-public sound-juicer
9349 (name "sound-juicer")
9354 (uri (string-append "mirror://gnome/sources/" name "/"
9355 (version-major+minor version) "/"
9356 name "-" version ".tar.xz"))
9359 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9360 (build-system glib-or-gtk-build-system)
9362 `(("desktop-file-utils" ,desktop-file-utils)
9363 ("intltool" ,intltool)
9364 ("itstool" ,itstool)
9365 ("pkg-config" ,pkg-config)
9366 ("xmllint" ,libxml2)))
9369 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9370 ("gstreamer" ,gstreamer)
9371 ("gst-plugins-base" ,gst-plugins-base)
9372 ("gst-plugins-good" ,gst-plugins-good)
9373 ("iso-codes" ,iso-codes)
9374 ("libbrasero-media3" ,brasero)
9375 ("libcanberra" ,libcanberra)
9376 ("libdiscid" ,libdiscid)
9377 ("libmusicbrainz" ,libmusicbrainz)
9379 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9380 (synopsis "Audio music cd ripper")
9381 (description "Sound Juicer extracts audio from compact discs and convert it
9382 into audio files that a personal computer or digital audio player can play.
9383 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9384 mp3, Ogg Vorbis and FLAC")
9385 (license license:gpl2+)))
9387 (define-public soundconverter
9389 (name "soundconverter")
9394 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9395 version "/+download/"
9396 "soundconverter-" version ".tar.xz"))
9399 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
9400 (build-system glib-or-gtk-build-system)
9402 `(#:imported-modules ((guix build python-build-system)
9403 (guix build glib-or-gtk-build-system)
9404 ,@%gnu-build-system-modules)
9406 #:modules ((guix build glib-or-gtk-build-system)
9408 ((guix build gnu-build-system) #:prefix gnu:)
9409 ((guix build python-build-system) #:prefix python:))
9412 (modify-phases %standard-phases
9413 (add-after 'install 'wrap-soundconverter-for-python
9414 (assoc-ref python:%standard-phases 'wrap))
9415 (add-after 'install 'wrap-soundconverter
9416 (lambda* (#:key inputs outputs #:allow-other-keys)
9417 (let ((out (assoc-ref outputs "out"))
9418 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9419 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9420 (wrap-program (string-append out "/bin/soundconverter")
9421 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9422 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9425 `(("intltool" ,intltool)
9426 ("pkg-config" ,pkg-config)
9427 ("glib:bin" ,glib "bin")))
9431 ("python-pygobject" ,python-pygobject)
9432 ("gstreamer" ,gstreamer)
9433 ("gst-plugins-base" ,gst-plugins-base)))
9434 (home-page "https://soundconverter.org/")
9435 (synopsis "Convert between audio formats with a graphical interface")
9437 "SoundConverter supports converting between many audio formats including
9438 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9439 configurable file renaming. ")
9440 (license license:gpl3)))
9442 (define-public workrave
9450 (url "https://github.com/rcaelers/workrave")
9451 (commit (string-append "v" (string-map
9452 (match-lambda (#\. #\_) (chr chr))
9454 (file-name (git-file-name name version))
9456 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9457 (build-system glib-or-gtk-build-system)
9459 ;; The only tests are maintainer tests (in po/), which fail.
9461 (inputs `(("glib" ,glib)
9463 ("gdk-pixbuf" ,gdk-pixbuf)
9467 ("libxtst" ,libxtst)
9471 ("libxscrnsaver" ,libxscrnsaver)))
9472 (native-inputs `(("boost" ,boost)
9473 ("pkg-config" ,pkg-config)
9474 ("gettext" ,gettext-minimal)
9475 ("autoconf" ,autoconf)
9476 ("autoconf-archive" , autoconf-archive)
9477 ("automake" ,automake)
9478 ("libtool" ,libtool)
9479 ("intltool" ,intltool)
9480 ("gobject-introspection" ,gobject-introspection)
9481 ("python3" ,python-3)
9482 ("python-jinja2" ,python-jinja2)))
9483 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9485 "Workrave is a program that assists in the recovery and prevention of
9486 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9487 micro-pauses and rest breaks, and restricts you to your daily limit.")
9488 (home-page "http://www.workrave.org")
9489 (license license:gpl3+)))
9497 (uri (string-append "mirror://gnome/sources/ghex/"
9498 (version-major+minor version) "/"
9499 "ghex-" version ".tar.xz"))
9502 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9503 (build-system meson-build-system)
9507 (modify-phases %standard-phases
9508 (add-after 'unpack 'skip-gtk-update-icon-cache
9509 ;; Don't create 'icon-theme.cache'.
9511 (substitute* "meson_post_install.py"
9512 (("gtk-update-icon-cache") (which "true")))
9515 `(("pkg-config" ,pkg-config)
9516 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9517 ("gnome-common" ,gnome-common)
9519 ("intltool" ,intltool)
9520 ("yelp-tools" ,yelp-tools)
9521 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9525 (synopsis "GNOME hexadecimal editor")
9526 (description "The GHex program can view and edit files in two ways:
9527 hexadecimal or ASCII. It is useful for editing binary files in general.")
9528 (home-page "https://wiki.gnome.org/Apps/Ghex")
9529 (license license:gpl2)))
9531 (define-public libdazzle
9537 (uri (string-append "mirror://gnome/sources/libdazzle/"
9538 (version-major+minor version) "/"
9539 "libdazzle-" version ".tar.xz"))
9542 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9543 (build-system meson-build-system)
9546 (modify-phases %standard-phases
9547 (add-before 'check 'pre-check
9549 ;; Tests require a running X server.
9550 (system "Xvfb :1 &")
9551 (setenv "DISPLAY" ":1")
9554 `(("glib" ,glib "bin") ; glib-compile-resources
9555 ("pkg-config" ,pkg-config)
9557 ("xorg-server" ,xorg-server-for-tests)))
9560 ("gobject-introspection" ,gobject-introspection)
9563 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9564 (synopsis "Companion library to GObject and Gtk+")
9565 (description "The libdazzle library is a companion library to GObject and
9566 Gtk+. It provides various features that the authors wish were in the
9567 underlying library but cannot for various reasons. In most cases, they are
9568 wildly out of scope for those libraries. In other cases, they are not quite
9569 generic enough to work for everyone.")
9570 (license license:gpl3+)))
9572 (define-public evolution
9578 (uri (string-append "mirror://gnome/sources/evolution/"
9579 (version-major+minor version) "/"
9580 "evolution-" version ".tar.xz"))
9583 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9584 (build-system cmake-build-system)
9586 `(#:imported-modules (,@%cmake-build-system-modules
9587 (guix build glib-or-gtk-build-system))
9588 #:modules ((guix build cmake-build-system)
9589 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9592 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9593 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9594 ; in four years and cannot be built.
9596 (modify-phases %standard-phases
9597 ;; The build system attempts to install user interface modules to the
9598 ;; output directory of the "evolution-data-server" package. This
9599 ;; change redirects that change.
9600 (add-after 'unpack 'patch-ui-module-dir
9601 (lambda* (#:key outputs #:allow-other-keys)
9602 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9603 (("\\$\\{edsuimoduledir\\}")
9604 (string-append (assoc-ref outputs "out")
9605 "/lib/evolution-data-server/ui-modules")))
9607 (add-after 'install 'glib-or-gtk-compile-schemas
9608 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9609 (add-after 'install 'glib-or-gtk-wrap
9610 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9612 `(("glib" ,glib "bin") ; glib-mkenums
9613 ("pkg-config" ,pkg-config)
9614 ("intltool" ,intltool)
9615 ("itstool" ,itstool)))
9617 `(("enchant" ,enchant)
9618 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9620 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9621 ("gnome-autoar" ,gnome-autoar)
9622 ("gnome-desktop" ,gnome-desktop)
9624 ("highlight" ,highlight)
9625 ("libcanberra" ,libcanberra)
9626 ("libgweather" ,libgweather)
9627 ("libnotify" ,libnotify)
9628 ("libsoup" ,libsoup)
9630 ("openldap" ,openldap)
9631 ("webkitgtk" ,webkitgtk)
9633 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9634 (synopsis "Manage your email, contacts and schedule")
9635 (description "Evolution is a personal information management application
9636 that provides integrated mail, calendaring and address book
9638 ;; See COPYING for details.
9639 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9640 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9641 license:lgpl2.1+)))) ; smime/lib/*
9643 (define-public gthumb
9649 (uri (string-append "mirror://gnome/sources/gthumb/"
9650 (version-major+minor version) "/"
9651 "gthumb-" version ".tar.xz"))
9654 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9655 (build-system meson-build-system)
9659 ;; Ensure the RUNPATH contains all installed library locations.
9660 (list (string-append "-Dc_link_args=-Wl,-rpath="
9661 (assoc-ref %outputs "out")
9662 "/lib/gthumb/extensions")
9663 (string-append "-Dcpp_link_args=-Wl,-rpath="
9664 (assoc-ref %outputs "out")
9665 "/lib/gthumb/extensions"))))
9667 `(("pkg-config" ,pkg-config)
9668 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9669 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9670 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9671 ("intltool" ,intltool)
9672 ("itstool" ,itstool)))
9676 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9677 ("gstreamer" ,gstreamer)
9678 ("clutter" ,clutter)
9679 ("clutter-gst" ,clutter-gst)
9680 ("clutter-gtk" ,clutter-gtk)
9681 ("libjpeg" ,libjpeg-turbo)
9682 ("libtiff" ,libtiff)
9683 ("libraw" ,libraw)))
9684 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9685 (synopsis "GNOME image viewer and browser")
9686 (description "GThumb is an image viewer, browser, organizer, editor and
9687 advanced image management tool")
9688 (license license:gpl2+)))
9690 (define-public terminator
9696 (uri (string-append "https://launchpad.net/" name "/"
9697 "gtk3/" version "/" "+download/"
9698 name "-" version ".tar.gz"))
9701 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9702 (build-system python-build-system)
9704 `(("intltool" ,intltool)
9705 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9706 ("gettext" ,gettext-minimal)
9707 ("pkg-config" ,pkg-config)))
9710 ("gobject-introspection" ,gobject-introspection)
9711 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9712 ("python2-pycairo" ,python2-pycairo)
9713 ("python2-pygobject" ,python2-pygobject)
9714 ("python2-psutil" ,python2-psutil)
9717 `(#:python ,python-2 ; Python 3 isn't supported
9718 #:imported-modules ((guix build glib-or-gtk-build-system)
9719 ,@%python-build-system-modules)
9720 #:modules ((guix build python-build-system)
9721 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9724 (modify-phases %standard-phases
9726 'install 'wrap-program
9727 (lambda* (#:key outputs #:allow-other-keys)
9728 (let ((prog (string-append (assoc-ref outputs "out")
9729 "/bin/terminator")))
9731 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9732 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9734 (add-after 'wrap-program 'glib-or-gtk-wrap
9735 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9736 (home-page "https://gnometerminator.blogspot.com/")
9737 (synopsis "Store and run multiple GNOME terminals in one window")
9739 "Terminator allows you to run multiple GNOME terminals in a grid and
9740 +tabs, and it supports drag and drop re-ordering of terminals.")
9741 (license license:gpl2)))
9743 (define-public libhandy
9751 (url "https://source.puri.sm/Librem5/libhandy")
9752 (commit (string-append "v" version))))
9753 (file-name (git-file-name name version))
9755 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9756 (build-system meson-build-system)
9759 '("-Dglade_catalog=disabled"
9762 (modify-phases %standard-phases
9763 (add-before 'check 'pre-check
9765 ;; Tests require a running X server.
9766 (system "Xvfb :1 &")
9767 (setenv "DISPLAY" ":1")
9772 `(("glib:bin" ,glib "bin")
9773 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9775 ("gtk-doc" ,gtk-doc)
9776 ("pkg-config" ,pkg-config)
9777 ("gettext" ,gettext-minimal)
9779 ;; Test suite dependencies.
9780 ("xorg-server" ,xorg-server-for-tests)
9781 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9782 (home-page "https://source.puri.sm/Librem5/libhandy")
9783 (synopsis "Library full of GTK+ widgets for mobile phones")
9784 (description "The aim of the handy library is to help with developing user
9785 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9786 for usage on small and big screens.")
9787 (license license:lgpl2.1+)))
9789 (define-public libgit2-glib
9791 (name "libgit2-glib")
9792 (version "0.99.0.1")
9795 (uri (string-append "mirror://gnome/sources/" name "/"
9796 (version-major+minor version) "/"
9797 name "-" version ".tar.xz"))
9800 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9801 (build-system meson-build-system)
9803 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9804 ("gobject-introspection" ,gobject-introspection)
9805 ("pkg-config" ,pkg-config)
9806 ("python-pygobject" ,python-pygobject)
9807 ("python-wrapper" ,python-wrapper)
9811 ("libssh2" ,libssh2)))
9813 `(;; In Requires of libgit2-glib.pc.
9814 ("libgit2" ,libgit2)))
9815 (synopsis "GLib wrapper around the libgit2 Git access library")
9816 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9817 access library. It only implements the core plumbing functions, not really the
9818 higher level porcelain stuff.")
9819 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9820 (license license:gpl2+)))
9828 (uri (string-append "mirror://gnome/sources/" name "/"
9829 (version-major+minor version) "/"
9830 name "-" version ".tar.xz"))
9833 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9834 (build-system meson-build-system)
9838 (modify-phases %standard-phases
9839 (add-after 'unpack 'disable-post-install-partially
9841 (substitute* "meson_post_install.py"
9842 (("'python'") ; there are no python sources to compile
9843 (string-append "'" (which "true") "'"))
9844 (("gtk-update-icon-cache") (which "true")))
9846 (add-after 'unpack 'fix-test-sources
9848 (substitute* "tests/libgitg/test-commit.vala"
9849 (("/bin/bash") (which "bash")))
9851 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9852 (lambda* (#:key outputs #:allow-other-keys)
9853 (let ((prog (string-append (assoc-ref outputs "out")
9856 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9860 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9862 ("gtkspell3" ,gtkspell3)
9863 ("gtksourceview" ,gtksourceview-3)
9864 ("json-glib" ,json-glib)
9865 ("libdazzle" ,libdazzle)
9867 ("libgit2-glib" ,libgit2-glib)
9868 ("libpeas" ,libpeas)
9869 ("libsecret" ,libsecret)
9870 ("libsoup" ,libsoup)
9871 ("libxml2" ,libxml2)))
9873 `(("glib:bin" ,glib "bin")
9874 ("gtk+:bin" ,gtk+ "bin")
9875 ("gobject-introspection" ,gobject-introspection)
9876 ("intltool" ,intltool)
9877 ("pkg-config" ,pkg-config)
9879 (synopsis "Graphical user interface for git")
9881 "gitg is a graphical user interface for git. It aims at being a small,
9882 fast and convenient tool to visualize the history of git repositories.
9883 Besides visualization, gitg also provides several utilities to manage your
9884 repository and commit your work.")
9885 (home-page "https://wiki.gnome.org/Apps/Gitg")
9886 (license license:gpl2+)))
9888 (define-public gamin
9894 (uri (string-append "mirror://gnome/sources/" name "/"
9895 (version-major+minor version) "/"
9896 name "-" version ".tar.bz2"))
9899 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9900 (build-system gnu-build-system)
9903 (modify-phases %standard-phases
9904 (add-after 'unpack 'remove-deprecated-macro
9906 (substitute* '("server/gam_node.c"
9907 "server/gam_subscription.h"
9909 "server/gam_subscription.c")
9910 (("G_CONST_RETURN") "const"))
9915 `(("intltool" ,intltool)
9916 ("pkg-config" ,pkg-config)))
9917 (home-page "https://people.gnome.org/~veillard/gamin/")
9918 (synopsis "File alteration monitor")
9920 "Gamin is a file and directory monitoring system defined to be a subset
9921 of the FAM (File Alteration Monitor) system. This is a service provided by a
9922 library which detects when a file or a directory has been modified.")
9923 (license license:gpl2+)))
9925 (define-public gnome-mahjongg
9927 (name "gnome-mahjongg")
9932 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9934 (file-name (git-file-name name version))
9937 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9938 (build-system meson-build-system)
9940 `(#:glib-or-gtk? #t))
9942 `(("appstream-glib" ,appstream-glib)
9943 ("gettext" ,gettext-minimal)
9944 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9945 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9946 ("itstool" ,itstool)
9947 ("pkg-config" ,pkg-config)
9950 `(("dconf" ,dconf)))
9954 ("librsvg" ,librsvg)))
9955 (synopsis "Mahjongg tile-matching game")
9956 (description "GNOME Mahjongg is a game based on the classic Chinese
9957 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9958 and a high score table.")
9959 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9960 (license license:gpl2+)))
9962 (define-public gnome-themes-extra
9964 (name "gnome-themes-extra")
9969 (uri (string-append "mirror://gnome/sources/" name "/"
9970 (version-major+minor version) "/" name "-"
9974 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9975 (build-system gnu-build-system)
9978 ;; Don't create 'icon-theme.cache'.
9979 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9980 (true (string-append coreutils "/bin/true")))
9981 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9983 `(("glib:bin" ,glib "bin")
9984 ("intltool" ,intltool)
9985 ("pkg-config" ,pkg-config)))
9990 ("librsvg" ,librsvg)
9991 ("libxml2" ,libxml2)))
9992 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9993 (synopsis "GNOME Extra Themes")
9994 (description "This package provides themes and related elements that don't
9995 really fit in other upstream packages. It offers legacy support for GTK+ 2
9996 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9997 index files needed for Adwaita to be used outside of GNOME.")
9998 (license license:lgpl2.1+)))
10000 (define-public polari
10006 (uri (string-append "mirror://gnome/sources/polari/"
10007 (version-major+minor version)
10008 "/polari-" version ".tar.xz"))
10011 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
10012 (build-system meson-build-system)
10014 `(#:glib-or-gtk? #t
10016 (modify-phases %standard-phases
10017 (add-after 'unpack 'skip-gtk-update-icon-cache
10019 (substitute* "meson/meson-postinstall.sh"
10020 (("gtk-update-icon-cache") (which "true")))
10022 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10023 (lambda* (#:key outputs #:allow-other-keys)
10024 (let ((prog (string-append (assoc-ref outputs "out")
10027 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10031 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10035 ("libsecret" ,libsecret)
10036 ("libsoup" ,libsoup)
10037 ("telepathy-glib" ,telepathy-glib)
10038 ("telepathy-logger" ,telepathy-logger)))
10040 `(("glib:bin" ,glib "bin")
10041 ("gobject-introspection" ,gobject-introspection)
10042 ("intltool" ,intltool)
10043 ("pkg-config" ,pkg-config)
10044 ("yelp-tools" ,yelp-tools)))
10046 `(("telepathy-idle" ,telepathy-idle)
10047 ("telepathy-mission-control" ,telepathy-mission-control)))
10048 (synopsis "Simple IRC Client")
10050 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
10051 integrate seamlessly with the GNOME desktop.")
10052 (home-page "https://wiki.gnome.org/Apps/Polari")
10053 (license license:gpl2+)))
10055 (define-public gnome-boxes
10057 (name "gnome-boxes")
10062 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
10063 (version-major+minor version) "/"
10064 "gnome-boxes-" version ".tar.xz"))
10066 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
10067 (build-system meson-build-system)
10069 '(#:glib-or-gtk? #t
10070 #:configure-flags (list "-Drdp=false"
10071 (string-append "-Dc_link_args=-Wl,-rpath="
10072 (assoc-ref %outputs "out")
10073 "/lib/gnome-boxes"))))
10075 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
10076 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10077 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10078 ("itstool" ,itstool)
10079 ("intltool" ,intltool)
10081 ("pkg-config" ,pkg-config)))
10083 `(("libarchive" ,libarchive)
10084 ("glib-networking" ,glib-networking) ;for TLS support
10085 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10087 ("gtk-vnc" ,gtk-vnc)
10088 ("libosinfo" ,libosinfo)
10089 ("libsecret" ,libsecret)
10090 ("libsoup" ,libsoup)
10092 ("libvirt" ,libvirt)
10093 ("libvirt-glib" ,libvirt-glib)
10094 ("libxml" ,libxml2)
10095 ("spice-gtk" ,spice-gtk)
10096 ("sparql-query" ,sparql-query)
10098 ("webkitgtk" ,webkitgtk)
10099 ("tracker" ,tracker)
10100 ("libgudev" ,libgudev)))
10101 (home-page "https://wiki.gnome.org/Apps/Boxes")
10102 (synopsis "View, access, and manage remote and virtual systems")
10103 (description "GNOME Boxes is a simple application to view, access, and
10104 manage remote and virtual systems. Note that this application requires the
10105 @code{libvirt} and @code{virtlog} daemons to run. Use the command
10106 @command{info '(guix) Virtualization Services'} to learn how to configure
10107 these services on the Guix System.")
10109 ;; For data/icons/empty-boxes.png.
10112 license:lgpl2.0+))))
10114 (define-public geary
10120 (uri (git-reference
10121 (url "https://gitlab.gnome.org/GNOME/geary")
10123 (file-name (git-file-name name version))
10126 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
10127 (build-system meson-build-system)
10129 `(#:glib-or-gtk? #t
10130 #:phases (modify-phases %standard-phases
10131 (add-after 'unpack 'disable-failing-tests
10133 (substitute* "test/meson.build"
10134 (("test\\('client-tests', geary_test_client_bin\\)")
10137 (add-after 'unpack 'disable-postinstall-script
10139 (substitute* "meson.build"
10140 (("meson.add_install_script\\(\
10141 join_paths\\('build-aux', 'post_install.py'\\)\\)")
10144 (add-before 'check 'setup-xvfb
10146 (system "Xvfb :1 &")
10147 (setenv "DISPLAY" ":1")
10150 `(("enchant" ,enchant)
10154 ("gmime" ,gmime-2.6)
10155 ("gnome-online-accounts:lib"
10156 ,gnome-online-accounts "lib")
10159 ("iso-codes" ,iso-codes)
10160 ("json-glib" ,json-glib)
10161 ("libcanberra" ,libcanberra)
10163 ("libhandy" ,libhandy)
10164 ("libpeas" ,libpeas)
10165 ("libsecret" ,libsecret)
10166 ("libunwind" ,libunwind)
10168 ("webkitgtk" ,webkitgtk)
10171 `(("appstream-glib" ,appstream-glib)
10172 ("cmake-minimal" ,cmake-minimal)
10173 ("desktop-file-utils" ,desktop-file-utils)
10174 ("gettext" ,gettext-minimal)
10175 ("glib:bin" ,glib "bin")
10176 ("gobject-introspection" ,gobject-introspection)
10177 ("itstool" ,itstool)
10178 ("libarchive" ,libarchive)
10179 ("libxml2" ,libxml2)
10180 ("pkg-config" ,pkg-config)
10182 ("xvfb" ,xorg-server-for-tests)))
10183 (synopsis "GNOME email application built around conversations")
10185 "Geary collects related messages together into conversations,
10186 making it easy to find and follow your discussions. Full-text and keyword
10187 search makes it easy to find the email you are looking for. Geary's
10188 full-featured composer lets you send rich, styled text with images, links, and
10189 lists, but also send lightweight, easy to read text messages. Geary
10190 automatically picks up your existing GNOME Online Accounts, and adding more is
10191 easy. Geary has a clean, fast, modern interface that works like you want it
10193 (home-page "https://wiki.gnome.org/Apps/Geary")
10199 license:cc-by-sa3.0
10200 license:public-domain
10204 (define-public glabels
10211 (uri (string-append "mirror://gnome/sources/" name "/"
10212 (version-major+minor version) "/"
10213 "glabels-" version ".tar.xz"))
10215 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10216 (build-system glib-or-gtk-build-system)
10218 `(("gettext" ,gettext-minimal)
10219 ("glib:bin" ,glib "bin")
10220 ("intltool" ,intltool)
10221 ("itstool" ,itstool)
10222 ("pkg-config" ,pkg-config)))
10225 ("librsvg" ,librsvg)
10226 ("libxml2" ,libxml2)))
10227 (home-page "https://glabels.org/")
10228 (synopsis "Program for creating labels and business cards")
10230 "gLabels is a program for creating labels and business cards. It is
10231 designed to work with various laser/ink-jet peel-off label and business
10232 card sheets that you’ll find at most office supply stores.")
10233 (license license:gpl3+)))
10235 (define-public libratbag
10242 (uri (git-reference
10243 (url "https://github.com/libratbag/libratbag")
10244 (commit (string-append "v" version))))
10245 (file-name (git-file-name name version))
10247 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10248 (build-system meson-build-system)
10250 `(#:configure-flags
10251 (list "-Dsystemd=false"
10252 "-Dlogind-provider=elogind")
10254 (modify-phases %standard-phases
10255 (add-after 'install 'wrap
10256 (lambda* (#:key inputs outputs #:allow-other-keys)
10257 (let* ((out (assoc-ref outputs "out"))
10258 (site (string-append
10260 ,(version-major+minor (package-version python))
10262 (evdev (string-append
10263 (assoc-ref inputs "python-evdev") site))
10264 (pygo (string-append
10265 (assoc-ref inputs "python-pygobject") site))
10267 `("PYTHONPATH" = (,evdev ,pygo))))
10268 (wrap-program (string-append out "/bin/" "ratbagctl")
10273 ("pkg-config" ,pkg-config)
10275 ("valgrind" ,valgrind)))
10278 ("json-glib" ,json-glib)
10279 ("libevdev" ,libevdev)
10280 ("libsystemd" ,elogind)
10281 ("libunistring" ,libunistring)
10282 ("python-evdev" ,python-evdev)
10283 ("python-pygobject" ,python-pygobject)
10285 (home-page "https://github.com/libratbag/libratbag")
10286 (synopsis "DBus daemon and utility for configuring gaming mice")
10287 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10288 configure input devices, mainly gaming mice. The daemon provides a generic
10289 way to access the various features exposed by these mice and abstracts away
10290 hardware-specific and kernel-specific quirks. There is also the
10291 @command{ratbagctl} command line interface for configuring devices.
10293 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10296 The ratbagd DBus service can be enabled by adding the following service to
10297 your operating-system definition:
10299 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10300 (license license:expat)))
10302 (define-public piper
10309 (uri (git-reference
10310 (url "https://github.com/libratbag/piper")
10313 (base32 "00vrcsbsv2477l1ncpyzc61lhxgac84dsgr3sjs8qxw3nh1gaasv"))
10314 (file-name (git-file-name name version))))
10315 (build-system meson-build-system)
10317 `(("gettext" ,gettext-minimal)
10318 ("glib:bin" ,glib "bin")
10319 ("gobject-introspection" ,gobject-introspection)
10320 ("pkg-config" ,pkg-config)
10321 ("python-flake8" ,python-flake8)))
10323 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10325 ("gtk:bin" ,gtk+ "bin")
10326 ("librsvg" ,librsvg)
10327 ("python-evdev" ,python-evdev)
10328 ("python-lxml" ,python-lxml)
10329 ("python-pycairo" ,python-pycairo)
10330 ("python-pygobject" ,python-pygobject)))
10332 `(#:imported-modules ((guix build python-build-system)
10333 ,@%meson-build-system-modules)
10334 #:modules (((guix build python-build-system) #:prefix python:)
10335 (guix build meson-build-system)
10336 (guix build utils))
10338 (modify-phases %standard-phases
10339 (add-after 'unpack 'dont-update-gtk-icon-cache
10341 (substitute* "meson.build"
10342 (("meson.add_install_script('meson_install.sh')") ""))
10344 ;; TODO: Switch to wrap-script when it is fixed.
10345 (add-after 'install 'wrap-python
10346 (assoc-ref python:%standard-phases 'wrap))
10347 (add-after 'wrap-python 'wrap
10348 (lambda* (#:key outputs #:allow-other-keys)
10350 (string-append (assoc-ref outputs "out" )"/bin/piper")
10351 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10353 (home-page "https://github.com/libratbag/piper/")
10354 (synopsis "Configure bindings and LEDs on gaming mice")
10355 (description "Piper is a GTK+ application for configuring gaming mice with
10356 onboard configuration for key bindings via libratbag. Piper requires
10357 a @command{ratbagd} daemon running with root privileges. It can be run
10358 manually as root, but is preferably configured as a DBus service that can
10359 launch on demand. This can be configured by enabling the following service,
10360 provided there is a DBus service present:
10362 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10363 (license license:gpl2)))
10365 (define-public parlatype
10372 (uri (git-reference
10373 (url "https://github.com/gkarsay/parlatype.git")
10374 (commit (string-append "v" version))))
10375 (file-name (git-file-name name version))
10377 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
10378 (build-system meson-build-system)
10380 `(#:glib-or-gtk? #t
10381 #:tests? #f ;require internet access
10383 (modify-phases %standard-phases
10384 (add-after 'install 'wrap-parlatype
10385 ;; Add gstreamer plugin provided in this package to system's
10387 (lambda* (#:key outputs #:allow-other-keys)
10388 (let* ((out (assoc-ref outputs "out"))
10389 (gst-plugin-path (string-append
10390 out "/lib/gstreamer-1.0/"
10392 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10393 (wrap-program (string-append out "/bin/parlatype")
10394 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10397 `(("appstream-glib" ,appstream-glib)
10398 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10399 ("gettext" ,gettext-minimal)
10400 ("glib" ,glib "bin") ;for glib-compile-resources
10401 ("pkg-config" ,pkg-config)
10402 ("yelp-tools" ,yelp-tools)))
10404 `(("gst-plugins-base" ,gst-plugins-base)
10405 ("gst-plugins-good" ,gst-plugins-good)
10406 ("gstreamer" ,gstreamer)
10408 ("pocketsphinx" ,pocketsphinx)
10409 ("pulseaudio" ,pulseaudio)
10410 ("sphinxbase" ,sphinxbase)))
10411 (home-page "http://gkarsay.github.io/parlatype/")
10412 (synopsis "GNOME audio player for transcription")
10413 (description "Parlatype is an audio player for the GNOME desktop
10414 environment. Its main purpose is the manual transcription of spoken
10416 (license license:gpl3+)))
10418 (define-public jsonrpc-glib
10420 (name "jsonrpc-glib")
10424 (uri (string-append "mirror://gnome/sources/" name "/"
10425 (version-major+minor version) "/"
10426 name "-" version ".tar.xz"))
10429 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10430 (build-system meson-build-system)
10432 `(("json-glib" ,json-glib)
10435 `(("pkg-config" ,pkg-config)
10436 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10437 ("gobject-introspection" ,gobject-introspection)
10439 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10440 (synopsis "JSON-RPC library for GLib")
10441 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10442 peers in either a synchronous or asynchronous fashion. It also allows
10443 communicating using the GVariant serialization format instead of JSON when
10444 both peers support it. You might want that when communicating on a single
10445 host to avoid parser overhead and memory-allocator fragmentation.")
10446 (license license:lgpl2.1+)))
10448 (define-public feedbackd
10451 (version "0.0.0+git20200527")
10454 (uri (git-reference
10455 (url "https://source.puri.sm/Librem5/feedbackd.git")
10456 (commit (string-append "v" version))))
10457 (file-name (git-file-name name version))
10460 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
10461 (build-system meson-build-system)
10463 `(("glib:bin" ,glib "bin")
10464 ("gobject-introspection" ,gobject-introspection)
10465 ("pkg-config" ,pkg-config)
10470 ("json-glib" ,json-glib)
10471 ("libgudev" ,libgudev)))
10473 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
10474 (synopsis "Haptic/visual/audio feedback via DBus")
10475 (description "Feedbackd provides a DBus daemon to act on events to provide
10476 haptic, visual and audio feedback. It offers the libfeedbackd library and
10477 GObject introspection bindings.")
10478 (home-page "https://source.puri.sm/Librem5/feedbackd")
10479 (license (list license:lgpl2.1+ ; libfeedbackd
10480 license:lgpl3+)))) ; the rest
10482 (define-public sysprof
10488 (uri (string-append "mirror://gnome/sources/" name "/"
10489 (version-major+minor version) "/"
10490 name "-" version ".tar.xz"))
10493 "1l4kr1av7933vb4zql9c5lgzivlw64hyky4nr8xin1v5if6vnjw4"))))
10494 (build-system meson-build-system)
10496 `(#:configure-flags
10497 (list (string-append "-Dsystemdunitdir="
10500 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
10502 (modify-phases %standard-phases
10503 (add-after 'unpack 'patch-install-script
10505 (substitute* "build-aux/meson/post_install.sh"
10506 (("gtk-update-icon-cache") "true")
10507 (("update-desktop-database") "true"))
10512 ("libdazzle" ,libdazzle)
10513 ("polkit" ,polkit)))
10515 `(("gettext" ,gettext-minimal)
10516 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
10517 ("itstool" ,itstool)
10518 ("pkg-config" ,pkg-config)
10519 ("xmllint" ,libxml2)))
10520 (home-page "http://www.sysprof.com/")
10521 (synopsis "System-wide performance profiler")
10522 (description "Sysprof is a sampling profiler that uses a kernel module
10523 to generate stacktraces which are then interpreted by the userspace program
10524 @command{sysprof}.")
10525 (license license:gpl3+)))
10527 (define-public gnome-builder
10529 (name "gnome-builder")
10533 (uri (string-append "mirror://gnome/sources/" name "/"
10534 (version-major+minor version) "/"
10535 name "-" version ".tar.xz"))
10538 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
10539 (build-system meson-build-system)
10541 `(#:configure-flags (list "-Dnetwork_tests=false"
10542 ;; TODO: Enable all plugins...
10543 "-Dplugin_clang=false"
10544 "-Dplugin_flatpak=false"
10545 "-Dplugin_glade=false"
10546 ;; ... except this one.
10547 "-Dplugin_update_manager=false")
10549 (modify-phases %standard-phases
10550 (add-after 'unpack 'patch-meson
10551 (lambda* (#:key inputs #:allow-other-keys)
10552 (substitute* "build-aux/meson/post_install.py"
10553 (("gtk-update-icon-cache") "true")
10554 (("update-desktop-database") "true"))
10555 (substitute* "src/libide/meson.build"
10557 (string-append (assoc-ref inputs "python-pygobject")
10560 (add-before 'check 'pre-check
10562 (system "Xvfb :1 &")
10563 (setenv "DISPLAY" ":1")
10566 `(("devhelp" ,devhelp)
10569 ("json-glib" ,json-glib)
10570 ("jsonrpc-glib" ,jsonrpc-glib)
10571 ("libdazzle" ,libdazzle)
10572 ("libgit2-glib" ,libgit2-glib)
10573 ("libpeas" ,libpeas)
10574 ("python-pygobject" ,python-pygobject)
10575 ("sysprof" ,sysprof)
10576 ("template-glib" ,template-glib)
10578 ("webkitgtk" ,webkitgtk)))
10580 `(("gtksourceview" ,gtksourceview))) ;needed for settings
10582 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10583 ("glib:bin" ,glib "bin")
10584 ("gettext" ,gettext-minimal)
10585 ("pkg-config" ,pkg-config)
10587 ("xorg-server" ,xorg-server-for-tests)))
10588 (home-page "https://wiki.gnome.org/Apps/Builder")
10589 (synopsis "Toolsmith for GNOME-based applications")
10590 (description "Builder aims to be an integrated development
10591 environment (IDE) for writing GNOME-based software. It features fuzzy search,
10592 auto-completion, a mini code map, documentation browsing, Git integration, an
10593 integrated profiler via Sysprof, debugging support, and more.")
10594 (license license:gpl3+)))