1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
54 ;;; This file is part of GNU Guix.
56 ;;; GNU Guix is free software; you can redistribute it and/or modify it
57 ;;; under the terms of the GNU General Public License as published by
58 ;;; the Free Software Foundation; either version 3 of the License, or (at
59 ;;; your option) any later version.
61 ;;; GNU Guix is distributed in the hope that it will be useful, but
62 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
63 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
64 ;;; GNU General Public License for more details.
66 ;;; You should have received a copy of the GNU General Public License
67 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
69 (define-module (gnu packages gnome)
70 #:use-module (gnu packages)
71 #:use-module (gnu packages admin)
72 #:use-module (gnu packages aspell)
73 #:use-module (gnu packages autotools)
74 #:use-module (gnu packages avahi)
75 #:use-module (gnu packages backup)
76 #:use-module (gnu packages base)
77 #:use-module (gnu packages bash)
78 #:use-module (gnu packages bison)
79 #:use-module (gnu packages boost)
80 #:use-module (gnu packages build-tools)
81 #:use-module (gnu packages calendar)
82 #:use-module (gnu packages cdrom)
83 #:use-module (gnu packages check)
84 #:use-module (gnu packages cmake)
85 #:use-module (gnu packages compression)
86 #:use-module (gnu packages crates-io)
87 #:use-module (gnu packages cups)
88 #:use-module (gnu packages curl)
89 #:use-module (gnu packages cyrus-sasl)
90 #:use-module (gnu packages databases)
91 #:use-module (gnu packages dbm)
92 #:use-module (gnu packages djvu)
93 #:use-module (gnu packages dns)
94 #:use-module (gnu packages docbook)
95 #:use-module (gnu packages documentation)
96 #:use-module (gnu packages enchant)
97 #:use-module (gnu packages flex)
98 #:use-module (gnu packages fonts)
99 #:use-module (gnu packages file-systems)
100 #:use-module (gnu packages fontutils)
101 #:use-module (gnu packages freedesktop)
102 #:use-module (gnu packages game-development)
103 #:use-module (gnu packages gettext)
104 #:use-module (gnu packages ghostscript)
105 #:use-module (gnu packages gl)
106 #:use-module (gnu packages glib)
107 #:use-module (gnu packages gnupg)
108 #:use-module (gnu packages gnuzilla)
109 #:use-module (gnu packages geo)
110 #:use-module (gnu packages gperf)
111 #:use-module (gnu packages graphviz)
112 #:use-module (gnu packages gstreamer)
113 #:use-module (gnu packages gtk)
114 #:use-module (gnu packages guile)
115 #:use-module (gnu packages ibus)
116 #:use-module (gnu packages icu4c)
117 #:use-module (gnu packages image)
118 #:use-module (gnu packages imagemagick)
119 #:use-module (gnu packages inkscape)
120 #:use-module (gnu packages iso-codes)
121 #:use-module (gnu packages kerberos)
122 #:use-module (gnu packages libcanberra)
123 #:use-module (gnu packages libunistring)
124 #:use-module (gnu packages libunwind)
125 #:use-module (gnu packages libusb)
126 #:use-module (gnu packages linux)
127 #:use-module (gnu packages lirc)
128 #:use-module (gnu packages lua)
129 #:use-module (gnu packages mail)
130 #:use-module (gnu packages mp3)
131 #:use-module (gnu packages multiprecision)
132 #:use-module (gnu packages music)
133 #:use-module (gnu packages ncurses)
134 #:use-module (gnu packages nettle)
135 #:use-module (gnu packages networking)
136 #:use-module (gnu packages ninja)
137 #:use-module (gnu packages nss)
138 #:use-module (gnu packages openldap)
139 #:use-module (gnu packages password-utils)
140 #:use-module (gnu packages pcre)
141 #:use-module (gnu packages pdf)
142 #:use-module (gnu packages perl)
143 #:use-module (gnu packages photo)
144 #:use-module (gnu packages pkg-config)
145 #:use-module (gnu packages polkit)
146 #:use-module (gnu packages popt)
147 #:use-module (gnu packages pretty-print)
148 #:use-module (gnu packages pulseaudio)
149 #:use-module (gnu packages python)
150 #:use-module (gnu packages python-crypto)
151 #:use-module (gnu packages python-web)
152 #:use-module (gnu packages python-xyz)
153 #:use-module (gnu packages rdesktop)
154 #:use-module (gnu packages readline)
155 #:use-module (gnu packages ruby)
156 #:use-module (gnu packages rust)
157 #:use-module (gnu packages samba)
158 #:use-module (gnu packages scanner)
159 #:use-module (gnu packages selinux)
160 #:use-module (gnu packages slang)
161 #:use-module (gnu packages speech)
162 #:use-module (gnu packages spice)
163 #:use-module (gnu packages sqlite)
164 #:use-module (gnu packages ssh)
165 #:use-module (gnu packages tex)
166 #:use-module (gnu packages time)
167 #:use-module (gnu packages tls)
168 #:use-module (gnu packages version-control)
169 #:use-module (gnu packages video)
170 #:use-module (gnu packages virtualization)
171 #:use-module (gnu packages vpn)
172 #:use-module (gnu packages web)
173 #:use-module (gnu packages webkit)
174 #:use-module (gnu packages xdisorg)
175 #:use-module (gnu packages xiph)
176 #:use-module (gnu packages xml)
177 #:use-module (gnu packages xorg)
178 #:use-module (gnu artwork)
179 #:use-module (guix build-system cargo)
180 #:use-module (guix build-system cmake)
181 #:use-module (guix build-system glib-or-gtk)
182 #:use-module (guix build-system gnu)
183 #:use-module (guix build-system meson)
184 #:use-module (guix build-system python)
185 #:use-module (guix build-system trivial)
186 #:use-module (guix download)
187 #:use-module (guix git-download)
188 #:use-module ((guix licenses) #:prefix license:)
189 #:use-module (guix packages)
190 #:use-module (guix utils)
191 #:use-module (guix gexp)
192 #:use-module (guix monads)
193 #:use-module (guix store)
194 #:use-module (ice-9 match)
195 #:use-module (srfi srfi-1))
197 (define-public brasero
203 (uri (string-append "mirror://gnome/sources/brasero/"
204 (version-major+minor version) "/"
205 "brasero-" version ".tar.xz"))
208 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
209 (build-system glib-or-gtk-build-system)
211 `(#:configure-flags (list
212 (string-append "--with-girdir="
213 (assoc-ref %outputs "out")
215 (string-append "--with-typelibdir="
216 (assoc-ref %outputs "out")
217 "/lib/girepository-1.0"))
219 (modify-phases %standard-phases
220 (add-before 'configure 'embed-growisofs
221 (lambda* (#:key inputs #:allow-other-keys)
222 (substitute* "plugins/growisofs/burn-growisofs.c"
223 (("\"growisofs") (string-append "\"" (which "growisofs"))))
226 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
228 `(("intltool" ,intltool)
230 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
231 ("gobject-introspection" ,gobject-introspection)
232 ("pkg-config" ,pkg-config)))
234 `(("dvd+rw-tools" ,dvd+rw-tools)
236 ("gnome-doc-utils" ,gnome-doc-utils)
237 ("gstreamer" ,gstreamer)
238 ("gst-plugins-base" ,gst-plugins-base)
240 ("libcanberra" ,libcanberra)
242 ("libnotify" ,libnotify)
245 ("totem-pl-parser" ,totem-pl-parser)))
246 (home-page "https://wiki.gnome.org/Apps/Brasero")
247 (synopsis "CD/DVD burning tool for Gnome")
248 (description "Brasero is an application to burn CD/DVD for the Gnome
249 Desktop. It is designed to be as simple as possible and has some unique
250 features to enable users to create their discs easily and quickly.")
251 (license license:gpl2+)))
253 (define-public mm-common
259 (uri (string-append "mirror://gnome/sources/" name "/"
260 (version-major+minor version) "/"
261 name "-" version ".tar.xz"))
264 "1m4w33da9f4rx2d6kdj3ix3kl0gn16ml82v2mdn4hljr3q29nzdr"))))
265 (build-system meson-build-system)
268 (modify-phases %standard-phases
269 (add-after 'unpack 'patch
270 (lambda* (#:key inputs #:allow-other-keys)
271 (substitute* "util/mm-common-prepare.in"
272 (("ln") (string-append (assoc-ref inputs "coreutils")
274 (("cp") (string-append (assoc-ref inputs "coreutils")
276 (("sed") (string-append (assoc-ref inputs "sed")
278 (("cat") (string-append (assoc-ref inputs "coreutils")
282 `(("coreutils" ,coreutils)
283 ("gettext" ,gettext-minimal)
284 ("pkg-config" ,pkg-config)
287 `(("python" ,python)))
288 (synopsis "Module of GNOME C++ bindings")
289 (description "The mm-common module provides the build infrastructure
290 and utilities shared among the GNOME C++ binding libraries. Release
291 archives of mm-common include the Doxygen tag file for the GNU C++
292 Library reference documentation.")
293 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
294 (license license:gpl2+)))
296 (define-public phodav
302 (uri (string-append "mirror://gnome/sources/" name "/"
303 (version-major+minor version) "/"
304 name "-" version ".tar.xz"))
307 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
308 (build-system meson-build-system)
310 `(("gettext" ,gettext-minimal)
311 ("glib:bin" ,glib "bin")
313 ("pkg-config" ,pkg-config)))
316 ("libgudev" ,libgudev)
317 ("libsoup" ,libsoup)))
318 (synopsis "WebDav server implementation using libsoup")
319 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
320 but it is generic enough to be reused in other projects,
321 in particular in the GNOME desktop.")
322 (home-page "https://wiki.gnome.org/phodav")
323 (license license:lgpl2.1+)))
325 (define-public gnome-color-manager
327 (name "gnome-color-manager")
331 (uri (string-append "mirror://gnome/sources/" name "/"
332 (version-major+minor version) "/"
333 name "-" version ".tar.xz"))
336 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
337 (build-system meson-build-system)
341 (modify-phases %standard-phases
345 ;; Tests require a running X server.
347 (setenv "DISPLAY" ":1")
350 `(("desktop-file-utils" ,desktop-file-utils)
351 ("gettext" ,gettext-minimal)
352 ("glib:bin" ,glib "bin")
353 ("gtk+:bin" ,gtk+ "bin")
355 ("pkg-config" ,pkg-config)
356 ("xorg-server" ,xorg-server-for-tests)))
358 `(("adwaita-icon-theme" ,adwaita-icon-theme)
359 ("appstream-glib" ,appstream-glib)
360 ("colord-gtk" ,colord-gtk)
362 ("gnome-desktop" ,gnome-desktop)
363 ("libcanberra" ,libcanberra)
366 ("libxrandr" ,libxrandr)
368 ("libxxf86vm" ,libxxf86vm)
370 ("xorgproto" ,xorgproto)))
371 (synopsis "Color profile manager for the GNOME desktop")
372 (description "GNOME Color Manager is a session framework that makes
373 it easy to manage, install and generate color profiles
374 in the GNOME desktop.")
375 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
376 (license license:gpl2+)))
378 (define-public gnome-online-miners
380 (name "gnome-online-miners")
384 (uri (string-append "mirror://gnome/sources/" name "/"
385 (version-major+minor version) "/"
386 name "-" version ".tar.xz"))
389 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
390 (build-system glib-or-gtk-build-system)
392 `(("gettext" ,gettext-minimal)
393 ("glib:bin" ,glib "bin")
394 ("gobject-introspection" ,gobject-introspection)
395 ("gtk+:bin" ,gtk+ "bin")
396 ("pkg-config" ,pkg-config)))
398 `(("gnome-online-accounts" ,gnome-online-accounts)
399 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
401 ("libgdata" ,libgdata)
402 ("libgfbgraph" ,gfbgraph)
403 ("libzapojit" ,libzapojit)
405 ("tracker" ,tracker)))
406 (synopsis "Web Crawlers for GNOME")
407 (description "GNOME Online Miners provides a set of crawlers that
408 go through your online content and index them locally in Tracker.
409 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
410 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
411 (license license:gpl2+)))
419 (uri (string-append "mirror://gnome/sources/" name "/"
420 (version-major+minor version) "/"
421 name "-" version ".tar.xz"))
424 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
425 (build-system meson-build-system)
427 `(("gettext" ,gettext-minimal)
428 ("glib:bin" ,glib "bin")
429 ("gobject-introspection" ,gobject-introspection)
431 ("pkg-config" ,pkg-config)
435 ("libsoup" ,libsoup)))
436 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
437 Protocol} for GNOME")
438 (description "This package provides a library to handle resource discovery
439 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
440 a debugging tool, @command{gssdp-device-sniffer}.")
441 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
442 (license license:lgpl2.0+)))
450 (uri (string-append "mirror://gnome/sources/" name "/"
451 (version-major+minor version) "/"
452 name "-" version ".tar.xz"))
455 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
456 (build-system meson-build-system)
458 `(("gettext" ,gettext-minimal)
459 ("glib:bin" ,glib "bin")
460 ("gobject-introspection" ,gobject-introspection)
462 ("pkg-config" ,pkg-config)
467 ("libsoup" ,libsoup)))
468 (synopsis "PnP API for GNOME")
469 (description "This package provides GUPnP, an object-oriented framework
470 for creating UPnP devices and control points, written in C using
471 @code{GObject} and @code{libsoup}.")
472 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
473 (license license:lgpl2.0+)))
475 (define-public gupnp-dlna
481 (uri (string-append "mirror://gnome/sources/" name "/"
482 (version-major+minor version) "/"
483 name "-" version ".tar.xz"))
486 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
487 (build-system gnu-build-system)
489 `(("gettext" ,gettext-minimal)
490 ("glib:bin" ,glib "bin")
491 ("gobject-introspection" ,gobject-introspection)
494 ("pkg-config" ,pkg-config)
497 `(("gstreamer" ,gstreamer)
500 `(("gst-plugins-base" ,gst-plugins-base)
501 ("gst-plugins-good" ,gst-plugins-good)))
502 (synopsis "GUPnP DLNA for GNOME")
503 (description "This package provides a small utility library to
504 support DLNA-related tasks such as media profile guessing, transcoding to a
505 given profile, etc. DLNA is a subset of UPnP A/V.")
506 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
507 (license license:lgpl2.0+)))
509 (define-public gupnp-av
515 (uri (string-append "mirror://gnome/sources/" name "/"
516 (version-major+minor version) "/"
517 name "-" version ".tar.xz"))
520 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
521 (build-system gnu-build-system)
523 `(("gettext" ,gettext-minimal)
524 ("glib:bin" ,glib "bin")
525 ("gobject-introspection" ,gobject-introspection)
528 ("pkg-config" ,pkg-config)))
532 (synopsis "GUPnP A/V for GNOME")
533 (description "This package provides a small library for handling
534 and implementation of UPnP A/V profiles.")
535 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
536 (license license:lgpl2.0+)))
538 (define-public libmediaart
544 (uri (string-append "mirror://gnome/sources/" name "/"
545 (version-major+minor version) "/"
546 name "-" version ".tar.xz"))
549 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
550 (build-system gnu-build-system)
552 `(("glib:bin" ,glib "bin")
553 ("pkg-config" ,pkg-config)))
555 `(("gdk-pixbuf" ,gdk-pixbuf)
556 ("gettext" ,gettext-minimal)
557 ("gobject-introspection" ,gobject-introspection)
558 ("gtk+:doc", gtk+ "doc")
560 (synopsis "Media art library for the GNOME desktop")
562 "The libmediaart library is the foundation for media art caching,
563 extraction, and lookup for applications on the desktop.")
564 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
565 (license license:lgpl2.1+)))
567 (define-public gnome-initial-setup
569 (name "gnome-initial-setup")
573 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
574 (version-major+minor version)
575 "/gnome-initial-setup-" version ".tar.xz"))
578 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
579 (build-system meson-build-system)
581 '(#:configure-flags '(;; Enable camera support for user selfie.
584 #:phases (modify-phases %standard-phases
585 (add-after 'unpack 'set-gkbd-file-name
586 (lambda* (#:key inputs #:allow-other-keys)
587 ;; Allow the "Preview" button in the keyboard layout
588 ;; selection dialog to display the layout.
589 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
590 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
591 (("\"gkbd-keyboard-display")
592 (string-append "\"" libgnomekbd
593 "/bin/gkbd-keyboard-display")))
596 `(("gettext" ,gettext-minimal)
597 ("glib:bin" ,glib "bin")
598 ("gobject-introspection" ,gobject-introspection)
599 ("gtk+:bin" ,gtk+ "bin")
600 ("pkg-config" ,pkg-config)))
602 `(("accountsservice" ,accountsservice)
603 ;("adwaita-icon-theme" ,adwaita-icon-theme)
606 ("gnome-desktop" ,gnome-desktop)
607 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
608 ("gnome-online-accounts" ,gnome-online-accounts)
609 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
610 ("gstreamer" ,gstreamer)
612 ("json-glib" ,json-glib)
614 ("libgweather" ,libgweather)
615 ("libsecret" ,libsecret)
616 ("network-manager" ,network-manager)
617 ("network-manager-applet" ,network-manager-applet)
618 ("packagekit" ,packagekit)
620 ("pwquality" ,libpwquality)
623 ("webkitgtk" ,webkitgtk)
624 ("libgnomekbd" ,libgnomekbd)))
625 (synopsis "Initial setup wizard for GNOME desktop")
626 (description "This package provides a set-up wizard when a
627 user logs into GNOME for the first time. It typically provides a
628 tour of all gnome components and allows the user to set them up.")
629 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
630 (license license:gpl2)))
632 (define-public gnome-user-share
634 (name "gnome-user-share")
638 (uri (string-append "mirror://gnome/sources/" name "/"
639 (version-major+minor version) "/"
640 name "-" version ".tar.xz"))
643 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
644 (build-system meson-build-system)
649 ;; Enable nautilus extension for file sharing.
650 "-Dnautilus_extension=true")))
652 `(("gettext" ,gettext-minimal)
653 ("glib:bin" ,glib "bin")
654 ("gobject-introspection" ,gobject-introspection)
655 ("gtk+:bin" ,gtk+ "bin")
656 ("pkg-config" ,pkg-config)
657 ("yelp-tools" ,yelp-tools)))
660 ("gnome-bluetooth" ,gnome-bluetooth)
662 ("libcanberra" ,libcanberra)
663 ("libnotify" ,libnotify)
664 ("nautilus" ,nautilus))) ; For nautilus extension.
665 (synopsis "File sharing for GNOME desktop")
666 (description "GNOME User Share is a small package that binds together
667 various free software projects to bring easy to use user-level file
668 sharing to the masses.")
669 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
670 (license license:gpl2+)))
678 (uri (string-append "mirror://gnome/sources/" name "/"
679 (version-major+minor version) "/"
680 name "-" version ".tar.xz"))
683 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
684 (build-system meson-build-system)
688 (modify-phases %standard-phases
689 (add-after 'glib-or-gtk-wrap 'wrap-typelib
690 (lambda* (#:key outputs #:allow-other-keys)
691 (let ((prog (string-append (assoc-ref outputs "out")
693 ;; Put existing typelibs before sushi's deps, so as to correctly
696 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
699 `(("glib:bin" ,glib "bin")
700 ("gettext" ,gettext-minimal)
701 ("gobject-introspection" ,gobject-introspection)
702 ("pkg-config" ,pkg-config)))
704 `(("clutter" ,clutter)
705 ("clutter-gst" ,clutter-gst)
706 ("clutter-gtk" ,clutter-gtk)
707 ("evince" ,evince) ; For file previewing.
708 ("freetype" ,freetype)
709 ("gdk-pixbuf" ,gdk-pixbuf)
711 ("gst-plugins-base" ,gst-plugins-base)
712 ("gstreamer" ,gstreamer)
713 ("gtksourceview" ,gtksourceview-3)
714 ("harfbuzz" ,harfbuzz)
715 ("libepoxy" ,libepoxy)
716 ("libmusicbrainz" ,libmusicbrainz)
719 ("webkitgtk" ,webkitgtk)))
720 (synopsis "File previewer for the GNOME desktop")
721 (description "Sushi is a DBus-activated service that allows applications to
722 preview files on the GNOME desktop.")
723 (home-page "https://gitlab.gnome.org/GNOME/sushi")
724 (license license:gpl2+)))
732 (uri (string-append "mirror://gnome/sources/" name "/"
733 (version-major+minor version) "/"
734 name "-" version ".tar.xz"))
737 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
738 (build-system gnu-build-system)
740 `(("gettext" ,gettext-minimal)
741 ("gobject-introspection" ,gobject-introspection)
743 ("pkg-config" ,pkg-config)
746 `(("gdk-pixbuf" ,gdk-pixbuf)
748 ("gstreamer" ,gstreamer)
749 ("gst-plugins-base" ,gst-plugins-base)
752 ("gupnp-av" ,gupnp-av)
753 ("gupnp-dlna" ,gupnp-dlna)
755 ("libmediaart" ,libmediaart)
758 ("libunistring" ,libunistring)
759 ("tracker" ,tracker)))
760 (synopsis "Share audio, video, and pictures with other devices")
762 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
763 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
764 pictures, and to control a media player on your home network.
766 Rygel achieves interoperability with other devices by trying to conform to the
767 strict requirements of DLNA and by converting media on-the-fly to formats that
768 client devices can handle.")
769 (home-page "https://wiki.gnome.org/Projects/Rygel")
771 ;; For logo (data/icons/*).
776 (define-public libnma
782 (uri (string-append "mirror://gnome/sources/" name "/"
783 (version-major+minor version) "/"
784 name "-" version ".tar.xz"))
787 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
788 (build-system meson-build-system)
790 `(#:glib-or-gtk? #t))
792 `(("gettext" ,gettext-minimal)
793 ("glib:bin" ,glib "bin")
795 ("gobject-introspection" ,gobject-introspection)
796 ("pkg-config" ,pkg-config)))
798 `(("adwaita-icon-theme" ,adwaita-icon-theme)
801 ("iso-codes" ,iso-codes)
802 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
803 ("network-manager" ,network-manager)))
804 (synopsis "Network Manager's applet library")
805 (description "Libnma is an applet library for Network Manager. It was
806 initially part of network-manager-applet and has now become a separate
808 (home-page "https://gitlab.gnome.org/GNOME/libnma")
810 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
812 (license license:gpl2+)))
814 (define-public gnome-menus
820 (uri (string-append "mirror://gnome/sources/gnome-menus/"
821 (version-major+minor version) "/"
822 name "-" version ".tar.xz"))
825 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
826 (build-system gnu-build-system)
828 `(("gettext" ,gettext-minimal)
830 ("pkg-config" ,pkg-config)))
831 (synopsis "Menu support for GNOME desktop")
832 (description "GNOME Menus contains the libgnome-menu library, the layout
833 configuration files for the GNOME menu, as well as a simple menu editor.")
834 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
835 (license license:lgpl2.0+)))
837 (define-public deja-dup
843 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
846 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
848 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
849 (build-system glib-or-gtk-build-system)
851 `(#:modules ((guix build gnu-build-system)
852 ((guix build cmake-build-system) #:prefix cmake:)
853 (guix build glib-or-gtk-build-system)
855 #:imported-modules (,@%glib-or-gtk-build-system-modules
856 (guix build cmake-build-system))
858 #:configure-flags (list (string-append
859 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
861 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
863 (modify-phases %standard-phases
864 (add-after 'unpack 'patch-lockfile-deletion
866 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
870 (assoc-ref cmake:%standard-phases 'configure))
871 (delete 'check) ;; Fails due to issues with DBus
872 (add-after 'install 'wrap-deja-dup
873 (lambda* (#:key inputs outputs #:allow-other-keys)
874 (let ((python (assoc-ref inputs "python"))
875 (python-path (getenv "PYTHONPATH"))
876 (duplicity (assoc-ref inputs "duplicity"))
877 (out (assoc-ref outputs "out")))
880 (wrap-program program
881 `("PATH" ":" prefix (,(string-append python "/bin")
882 ,(string-append duplicity "/bin"))))
883 (wrap-program program
884 `("PYTHONPATH" ":" prefix (,python-path))))
886 (find-files (string-append out "/bin")))
889 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
890 ("gobject-introspection" ,gobject-introspection)
891 ("duplicity" ,duplicity)
893 ("python-pygobject" ,python2-pygobject)
895 ("libnotify" ,libnotify)
897 ("libsecret" ,libsecret)
898 ("packagekit" ,packagekit)))
900 `(("pkg-config" ,pkg-config)
902 ("gettext" ,gettext-minimal)
904 ("intltool" ,intltool)
905 ("cmake" ,cmake-minimal)))
906 (home-page "https://launchpad.net/deja-dup")
907 (synopsis "Simple backup tool, for regular encrypted backups")
909 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
910 uses duplicity as the backend, which supports incremental backups and storage
911 either on a local, or remote machine via a number of methods.")
912 (license license:gpl3+)))
914 (define-public gnome-user-docs
916 (name "gnome-user-docs")
921 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
922 (version-major+minor version)
923 "/gnome-user-docs-" version ".tar.xz"))
925 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
926 (build-system gnu-build-system)
928 `(("gettext" ,gettext-minimal)
930 ("pkg-config" ,pkg-config)
931 ("xmllint" ,libxml2)))
932 (synopsis "User documentation for the GNOME desktop")
934 "The GNOME User Documentation explains how to use the GNOME desktop and its
935 components. It covers usage and setup of the core GNOME programs by end-users
936 and system administrators.")
937 (home-page "https://live.gnome.org/DocumentationProject")
938 (license license:cc-by3.0)))
940 (define-public gnome-getting-started-docs
942 (name "gnome-getting-started-docs")
947 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
948 (version-major+minor version)
949 "/gnome-getting-started-docs-" version ".tar.xz"))
951 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
952 (build-system gnu-build-system)
954 `(("gettext" ,gettext-minimal)
956 ("pkg-config" ,pkg-config)
957 ("xmllint" ,libxml2)))
958 (synopsis "Help to get new users started with the GNOME desktop")
960 "The GNOME Getting Started Documentation contains GNOME's intuitive
961 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
963 It is normally used together with @command{gnome-initial-setup}, but is also
964 useful as a tutorial and users' guide for new or less experienced users.")
965 (home-page "https://live.gnome.org/DocumentationProject")
966 (license license:cc-by-sa3.0)))
969 ;; This version from GNOME's repository includes fixes for compiling with
970 ;; recent versions of the build tools. The latest activity on the
971 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
973 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
976 (version (git-version "0.97.3" "1" commit))
980 (url "https://gitlab.gnome.org/GNOME/dia.git/")
982 (file-name (git-file-name name version))
985 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
986 (build-system gnu-build-system)
988 `(("freetype" ,freetype)
989 ("gdk-pixbuf" ,gdk-pixbuf)
991 ("libart-lgpl" ,libart-lgpl)
995 `(("autoconf" ,autoconf)
996 ("automake" ,automake)
997 ("intltool" ,intltool)
1001 ("pkg-config" ,pkg-config)
1002 ("python-wrapper" ,python-wrapper)))
1003 (home-page "https://wiki.gnome.org/Apps/Dia")
1004 (synopsis "Diagram creation for GNOME")
1005 (description "Dia can be used to draw different types of diagrams, and
1006 includes support for UML static structure diagrams (class diagrams), entity
1007 relationship modeling, and network diagrams. The program supports various file
1008 formats like PNG, SVG, PDF and EPS.")
1009 (license license:gpl2+))))
1011 ;; This is the unstable release, but it is required for the current stable
1012 ;; release of gvfs (1.38.1).
1013 (define-public libgdata
1019 (uri (string-append "mirror://gnome/sources/" name "/"
1020 (version-major+minor version) "/"
1021 name "-" version ".tar.xz"))
1024 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1025 (build-system gnu-build-system)
1028 (modify-phases %standard-phases
1029 (add-before 'check 'disable-failing-tests
1031 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1032 ;; They have been removed in libgdata 0.17.6, so just do the same.
1033 (substitute* "gdata/tests/Makefile"
1034 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1037 `(("glib:bin" ,glib "bin")
1038 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1039 ("intltool" ,intltool)
1040 ("pkg-config" ,pkg-config)
1041 ("uhttpmock" ,uhttpmock)))
1043 `(("cyrus-sasl" ,cyrus-sasl)
1044 ("glib-networking" ,glib-networking)))
1048 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1049 ("json-glib" ,json-glib)
1050 ("liboauth" ,liboauth)
1051 ("libsoup" ,libsoup)
1052 ("libxml2" ,libxml2)))
1053 (home-page "https://wiki.gnome.org/Projects/libgdata")
1054 (synopsis "Library for accessing online service APIs")
1056 "libgdata is a GLib-based library for accessing online service APIs using
1057 the GData protocol — most notably, Google's services. It provides APIs to
1058 access the common Google services, and has full asynchronous support.")
1059 (license license:lgpl2.1+)))
1061 (define-public libgxps
1067 (uri (string-append "mirror://gnome/sources/" name "/"
1068 (version-major+minor version) "/"
1069 name "-" version ".tar.xz"))
1072 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1073 (build-system meson-build-system)
1075 `(("gobject-introspection" ,gobject-introspection)
1076 ("pkg-config" ,pkg-config)))
1079 ("libjpeg" ,libjpeg-turbo)
1081 ("libtiff" ,libtiff)))
1083 ;; In Requires of libgxps.pc.
1086 ("libarchive" ,libarchive)))
1087 (home-page "https://wiki.gnome.org/Projects/libgxps")
1088 (synopsis "GObject-based library for handling and rendering XPS documents")
1090 "libgxps is a GObject-based library for handling and rendering XPS
1091 documents. This package also contains binaries that can convert XPS documents
1093 (license license:lgpl2.1+)))
1095 (define-public gnome-characters
1097 (name "gnome-characters")
1102 (uri (string-append "mirror://gnome/sources/"
1103 "gnome-characters/" (version-major+minor version)
1104 "/gnome-characters-" version ".tar.xz"))
1107 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1108 (build-system meson-build-system)
1111 #:phases (modify-phases %standard-phases
1112 (add-after 'install 'wrap
1113 (lambda* (#:key outputs #:allow-other-keys)
1114 ;; GNOME Characters needs Typelib files from GTK and
1116 (wrap-program (string-append (assoc-ref outputs "out")
1117 "/bin/gnome-characters")
1118 `("GI_TYPELIB_PATH" ":" prefix
1119 (,(getenv "GI_TYPELIB_PATH"))))
1122 `(("gettext" ,gettext-minimal)
1123 ("glib:bin" ,glib "bin")
1124 ("gtk+:bin" ,gtk+ "bin")
1125 ("pkg-config" ,pkg-config)
1126 ("python" ,python-minimal)))
1130 ("libunistring" ,libunistring)
1131 ("gnome-desktop" ,gnome-desktop)))
1132 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1133 (synopsis "Find and insert unusual characters")
1134 (description "Characters is a simple utility application to find
1135 and insert unusual characters. It allows you to quickly find the
1136 character you are looking for by searching for keywords.")
1137 (license license:bsd-3)))
1139 (define-public gnome-common
1141 (name "gnome-common")
1146 (uri (string-append "mirror://gnome/sources/" name "/"
1147 (version-major+minor version) "/"
1148 name "-" version ".tar.xz"))
1151 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1152 (build-system gnu-build-system)
1153 (home-page "https://www.gnome.org/")
1154 (synopsis "Bootstrap GNOME modules built from Git")
1155 (description "gnome-common contains various files needed to bootstrap
1156 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1157 can be used to configure a source directory checked out from Git and some
1158 commonly used macros.")
1159 (license license:gpl2+)))
1161 (define-public gnome-contacts
1163 (name "gnome-contacts")
1167 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1168 (version-major+minor version) "/"
1169 name "-" version ".tar.xz"))
1172 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1173 (build-system meson-build-system)
1175 `(#:configure-flags '("-Dcheese=false")
1177 (modify-phases %standard-phases
1178 (add-after 'unpack 'generate-vapis
1179 (lambda* (#:key inputs #:allow-other-keys)
1180 ;; To generate goa's missing .vapi file
1182 (assoc-ref inputs "gnome-online-accounts:lib"))
1184 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1186 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1188 (add-after 'unpack 'skip-gtk-update-icon-cache
1189 ;; Don't create 'icon-theme.cache'.
1191 (substitute* "build-aux/meson_post_install.py"
1192 (("gtk-update-icon-cache") "true"))
1195 `(("glib:bin" ,glib "bin")
1196 ("pkg-config" ,pkg-config)))
1198 `(("docbook-xml" ,docbook-xml)
1199 ("dockbook-xsl" ,docbook-xsl)
1200 ("evolution-data-server" ,evolution-data-server)
1201 ("gettext" ,gettext-minimal)
1202 ("gnome-desktop" ,gnome-desktop)
1203 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1204 ("gobject-introspection" ,gobject-introspection)
1205 ("gst-plugins-base" ,gst-plugins-base)
1208 ("libxslt" ,libxslt)
1209 ("telepathy-glib" ,telepathy-glib)
1213 ("telepathy-mission-control" ,telepathy-mission-control)))
1214 (synopsis "GNOME's integrated address book")
1216 "GNOME Contacts organizes your contact information from online and
1217 offline sources, providing a centralized place for managing your contacts.")
1218 (home-page "https://wiki.gnome.org/Apps/Contacts")
1219 (license license:gpl2+)))
1221 (define-public gnome-desktop
1223 (name "gnome-desktop")
1228 (uri (string-append "mirror://gnome/sources/" name "/"
1229 (version-major+minor version) "/"
1230 name "-" version ".tar.xz"))
1233 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1234 (build-system meson-build-system)
1237 (modify-phases %standard-phases
1238 (add-before 'configure 'patch-path
1239 (lambda* (#:key inputs #:allow-other-keys)
1240 (let ((libc (assoc-ref inputs "libc")))
1241 (substitute* "libgnome-desktop/gnome-languages.c"
1243 (string-append "\"" libc "/bin/locale\"")))
1245 (add-before 'check 'pre-check
1246 (lambda* (#:key inputs #:allow-other-keys)
1247 ;; Tests require a running X server and locales.
1248 (system "Xvfb :1 &")
1249 (setenv "DISPLAY" ":1")
1250 (setenv "GUIX_LOCPATH"
1251 (string-append (assoc-ref inputs "glibc-locales")
1255 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1256 ("glibc-locales" ,glibc-locales) ; for tests
1257 ("gobject-introspection" ,gobject-introspection)
1258 ("itstool" ,itstool)
1259 ("intltool" ,intltool)
1260 ("pkg-config" ,pkg-config)
1261 ("xmllint" ,libxml2)
1262 ("xorg-server" ,xorg-server-for-tests)))
1264 ;; Required by gnome-desktop-3.0.pc.
1265 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1267 ("iso-codes" ,iso-codes)
1268 ("libseccomp" ,libseccomp)
1270 ("xkeyboard-config" ,xkeyboard-config)))
1272 `(("gdk-pixbuf" ,gdk-pixbuf)
1274 ("libxext" ,libxext)
1275 ("libxkbfile" ,libxkbfile)
1276 ("libxrandr" ,libxrandr)))
1277 (home-page "https://www.gnome.org/")
1279 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1281 "The libgnome-desktop library provides API shared by several applications
1282 on the desktop, but that cannot live in the platform for various reasons.
1283 There is no API or ABI guarantee, although we are doing our best to provide
1284 stability. Documentation for the API is available with gtk-doc.
1286 The gnome-about program helps find which version of GNOME is installed.")
1287 ; Some bits under the LGPL.
1288 (license license:gpl2+)))
1290 (define-public gnome-doc-utils
1292 (name "gnome-doc-utils")
1297 (uri (string-append "mirror://gnome/sources/" name "/"
1298 (version-major+minor version) "/"
1299 name "-" version ".tar.xz"))
1302 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1303 (build-system gnu-build-system)
1305 `(("intltool" ,intltool)
1306 ("docbook-xml" ,docbook-xml-4.4)
1307 ("python2-libxml2" ,python2-libxml2)
1308 ("libxml2" ,libxml2)
1309 ("libxslt" ,libxslt)
1310 ("pkg-config" ,pkg-config)
1311 ("python-2" ,python-2)))
1312 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1314 "Documentation utilities for the Gnome project")
1316 "Gnome-doc-utils is a collection of documentation utilities for the
1317 Gnome project. It includes xml2po tool which makes it easier to translate
1318 and keep up to date translations of documentation.")
1319 (license license:gpl2+))) ; xslt under lgpl
1321 (define-public gnome-disk-utility
1323 (name "gnome-disk-utility")
1327 (uri (string-append "mirror://gnome/sources/" name "/"
1328 (version-major+minor version) "/"
1329 name "-" version ".tar.xz"))
1332 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1333 (build-system meson-build-system)
1335 '(#:configure-flags '("-Dlogind=libelogind")
1337 (modify-phases %standard-phases
1338 (add-after 'unpack 'skip-gtk-update-icon-cache
1339 ;; Don't create 'icon-theme.cache'.
1341 (substitute* "meson_post_install.py"
1342 (("gtk-update-icon-cache") "true"))
1345 `(("glib:bin" ,glib "bin")
1346 ("intltool" ,intltool)
1347 ("pkg-config" ,pkg-config)
1348 ("docbook-xml" ,docbook-xml)
1349 ("docbook-xsl" ,docbook-xsl)
1350 ("libxml2" ,libxml2)
1351 ("libxslt" ,libxslt)))
1353 `(("elogind" ,elogind)
1355 ("appstream-glib" ,appstream-glib)
1356 ("gnome-settings-daemon" ,gnome-settings-daemon)
1358 ("libcanberra" ,libcanberra)
1359 ("libdvdread" ,libdvdread)
1360 ("libnotify" ,libnotify)
1361 ("libpwquality" ,libpwquality)
1362 ("libsecret" ,libsecret)
1363 ("udisks" ,udisks)))
1364 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1365 (synopsis "Disk management utility for GNOME")
1366 (description "Disk management utility for GNOME.")
1367 (license license:gpl2+)))
1369 (define-public gnome-font-viewer
1371 (name "gnome-font-viewer")
1375 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1376 (version-major+minor version)
1377 "/gnome-font-viewer-" version ".tar.xz"))
1380 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1381 (build-system meson-build-system)
1384 (modify-phases %standard-phases
1385 (add-after 'unpack 'patch-post-install-script
1387 (substitute* "meson-postinstall.sh"
1388 (("update-desktop-database") (which "true")))
1391 `(("gettext" ,gettext-minimal)
1392 ("glib:bin" ,glib "bin")
1393 ("pkg-config" ,pkg-config)))
1396 ("gnome-desktop" ,gnome-desktop)
1398 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1399 (synopsis "GNOME Fonts")
1400 (description "Application to show you the fonts installed on your computer
1401 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1402 the font would look under various sizes.")
1403 (license license:gpl2+)))
1411 (uri (string-append "mirror://gnome/sources/" name "/"
1412 (version-major+minor version) "/"
1413 name "-" version ".tar.xz"))
1416 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1417 (build-system gnu-build-system)
1420 (modify-phases %standard-phases
1421 ;; These fail because /var/lib/dbus/machine-id is not present in the
1422 ;; build environment.
1423 (add-after 'unpack 'disable-failing-tests
1425 (substitute* "Makefile.in"
1426 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1429 (add-before 'check 'pre-check
1431 ;; Some tests expect to write to $HOME.
1432 (setenv "HOME" "/tmp")
1436 ("gnupg" ,gnupg) ;called as a child process during tests
1437 ("libgcrypt" ,libgcrypt)))
1439 `(("python" ,python-wrapper) ;for tests
1440 ("pkg-config" ,pkg-config)
1441 ("gettext" ,gettext-minimal)
1442 ("glib" ,glib "bin")
1443 ("gobject-introspection" ,gobject-introspection)
1444 ("libxml2" ,libxml2)
1446 ("xsltproc" ,libxslt)))
1447 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1449 `(("p11-kit" ,p11-kit)
1452 (home-page "https://www.gnome.org")
1453 (synopsis "Libraries for displaying certificates and accessing key stores")
1455 "The GCR package contains libraries used for displaying certificates and
1456 accessing key stores. It also provides the viewer for crypto files on the
1458 (license license:lgpl2.1+)))
1460 (define-public libgnome-keyring
1462 (name "libgnome-keyring")
1466 (uri (string-append "mirror://gnome/sources/" name "/"
1467 (version-major+minor version) "/"
1468 name "-" version ".tar.xz"))
1471 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1472 (build-system gnu-build-system)
1474 `(("libgcrypt" ,libgcrypt)
1477 `(("pkg-config" ,pkg-config)
1478 ("glib" ,glib "bin")
1479 ("intltool" ,intltool)))
1481 ;; Referred to in .h files and .pc.
1483 (home-page "https://www.gnome.org")
1484 (synopsis "Accessing passwords from the GNOME keyring")
1486 "Client library to access passwords from the GNOME keyring.")
1488 ;; Though a couple of files are LGPLv2.1+.
1489 (license license:lgpl2.0+)))
1491 (define-public gnome-keyring
1493 (name "gnome-keyring")
1497 (uri (string-append "mirror://gnome/sources/" name "/"
1498 (version-major+minor version) "/"
1499 name "-" version ".tar.xz"))
1502 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1503 (build-system gnu-build-system)
1505 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1509 (string-append "--with-pkcs11-config="
1510 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1511 (string-append "--with-pkcs11-modules="
1512 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1514 (modify-phases %standard-phases
1515 (add-after 'unpack 'fix-/bin/sh-reference
1517 (substitute* "po/Makefile.in.in"
1518 (("/bin/sh") (which "sh")))
1520 (add-after 'unpack 'fix-docbook
1521 (lambda* (#:key inputs #:allow-other-keys)
1522 (substitute* "docs/Makefile.am"
1523 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1524 (string-append (assoc-ref inputs "docbook-xsl")
1525 "/xml/xsl/docbook-xsl-"
1526 ,(package-version docbook-xsl)
1527 "/manpages/docbook.xsl")))
1528 (setenv "XML_CATALOG_FILES"
1529 (string-append (assoc-ref inputs "docbook-xml")
1530 "/xml/dtd/docbook/catalog.xml"))
1531 ;; Rerun the whole thing to avoid version mismatch ("This is
1532 ;; Automake 1.15.1, but the definition used by this
1533 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1534 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1537 (invoke "automake" "-ac"))))))
1539 `(("libgcrypt" ,libgcrypt)
1540 ("linux-pam" ,linux-pam)
1541 ("openssh" ,openssh)
1545 `(("pkg-config" ,pkg-config)
1546 ("glib" ,glib "bin")
1547 ("glib" ,glib) ; for m4 macros
1548 ("python" ,python-2) ;for tests
1549 ("intltool" ,intltool)
1550 ("autoconf" ,autoconf)
1551 ("automake" ,automake)
1552 ("libxslt" ,libxslt) ;for documentation
1553 ("docbook-xml" ,docbook-xml-4.2)
1554 ("docbook-xsl" ,docbook-xsl)))
1555 (home-page "https://www.gnome.org")
1556 (synopsis "Daemon to store passwords and encryption keys")
1558 "gnome-keyring is a program that keeps passwords and other secrets for
1559 users. It is run as a daemon in the session, similar to ssh-agent, and other
1560 applications locate it via an environment variable or D-Bus.
1562 The program can manage several keyrings, each with its own master password,
1563 and there is also a session keyring which is never stored to disk, but
1564 forgotten when the session ends.")
1565 (license license:lgpl2.1+)))
1567 (define-public evince
1573 (uri (string-append "mirror://gnome/sources/evince/"
1574 (version-major+minor version) "/"
1575 "evince-" version ".tar.xz"))
1578 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1579 (build-system glib-or-gtk-build-system)
1581 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1583 (modify-phases %standard-phases
1584 (add-before 'install 'skip-gtk-update-icon-cache
1585 ;; Don't create 'icon-theme.cache'.
1587 (substitute* "data/Makefile"
1588 (("gtk-update-icon-cache") "true"))
1591 `(("libarchive" ,libarchive)
1592 ("libgxps" ,libgxps)
1593 ("libspectre" ,libspectre)
1594 ("djvulibre" ,djvulibre)
1595 ("ghostscript" ,ghostscript)
1596 ("poppler" ,poppler)
1597 ("libtiff" ,libtiff)
1599 ;; Build libkpathsea as a shared library for DVI support.
1600 ;; ("libkpathsea" ,texlive-bin)
1601 ("gnome-desktop" ,gnome-desktop)
1602 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1604 ("libgnome-keyring" ,libgnome-keyring)
1605 ("adwaita-icon-theme" ,adwaita-icon-theme)
1606 ("gdk-pixbuf" ,gdk-pixbuf)
1611 ("libxml2" ,libxml2)
1614 ("shared-mime-info" ,shared-mime-info)
1616 ("libcanberra" ,libcanberra)
1617 ("libsecret" ,libsecret)
1620 ("dogtail" ,python2-dogtail)))
1622 `(("itstool" ,itstool)
1623 ("intltool" ,intltool)
1624 ("glib" ,glib "bin")
1625 ("gobject-introspection" ,gobject-introspection)
1626 ("pkg-config" ,pkg-config)
1627 ("xmllint" ,libxml2)))
1629 "https://www.gnome.org/projects/evince/")
1630 (synopsis "GNOME's document viewer")
1632 "Evince is a document viewer for multiple document formats. It
1633 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1634 of Evince is to replace the multiple document viewers that exist
1635 on the GNOME Desktop with a single simple application.")
1636 (license license:gpl2+)))
1638 (define-public gsettings-desktop-schemas
1640 (name "gsettings-desktop-schemas")
1645 (uri (string-append "mirror://gnome/sources/" name "/"
1646 (version-major+minor version) "/"
1647 name "-" version ".tar.xz"))
1650 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1651 (build-system meson-build-system)
1653 '(#:phases (modify-phases %standard-phases
1654 (add-after 'unpack 'patch-schemas
1655 (lambda* (#:key inputs #:allow-other-keys)
1656 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1657 (substitute* (find-files "schemas"
1658 "\\.gschema\\.xml\\.in$")
1659 ;; Provide the correct file name of the default GNOME
1660 ;; background, 'adwaita-timed.xml'.
1661 (("@datadir@/backgrounds/gnome")
1662 (string-append theme "/share/backgrounds/gnome"))
1663 ;; Do not reference fonts, that may not exist.
1664 (("'Source Code Pro 10'") "'Monospace 11'"))
1668 ("gnome-backgrounds" ,gnome-backgrounds)))
1670 `(("intltool" ,intltool)
1671 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1672 ("gobject-introspection" ,gobject-introspection)
1673 ("pkg-config" ,pkg-config)))
1674 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1676 "GNOME settings for various desktop components")
1678 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1679 for settings shared by various components of the GNOME desktop.")
1680 (license license:lgpl2.1+)))
1682 (define-public icon-naming-utils
1684 (name "icon-naming-utils")
1689 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1690 version ".tar.bz2"))
1693 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1694 (build-system gnu-build-system)
1697 ("perl-xml-simple" ,perl-xml-simple)))
1700 (modify-phases %standard-phases
1701 (add-after 'install 'set-load-paths
1702 ;; Tell 'icon-name-mapping' where XML::Simple is.
1703 (lambda* (#:key outputs #:allow-other-keys)
1704 (let* ((out (assoc-ref outputs "out"))
1705 (prog (string-append out "/libexec/icon-name-mapping")))
1708 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1710 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1712 "Utility to implement the Freedesktop Icon Naming Specification")
1714 "To help with the transition to the Freedesktop Icon Naming
1715 Specification, the icon naming utility maps the icon names used by the
1716 GNOME and KDE desktops to the icon names proposed in the specification.")
1717 (license license:lgpl2.1+)))
1719 (define-public gnome-icon-theme
1721 (name "gnome-icon-theme")
1726 (uri (string-append "mirror://gnome/sources/" name "/"
1727 (version-major+minor version) "/"
1728 name "-" version ".tar.xz"))
1731 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1732 (build-system gnu-build-system)
1735 ;; Don't create 'icon-theme.cache'.
1736 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1737 (true (string-append coreutils "/bin/true")))
1738 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1740 `(("icon-naming-utils" ,icon-naming-utils)
1741 ("intltool" ,intltool)
1742 ("pkg-config" ,pkg-config)))
1743 (home-page "https://wiki.gnome.org/Personalization")
1744 (synopsis "GNOME icon theme")
1745 (description "Icons for the GNOME desktop.")
1746 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1748 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1749 (define-public adwaita-icon-theme
1750 (package (inherit gnome-icon-theme)
1751 (name "adwaita-icon-theme")
1755 (uri (string-append "mirror://gnome/sources/" name "/"
1756 (version-major+minor version) "/"
1757 name "-" version ".tar.xz"))
1760 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1762 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1764 (define-public tango-icon-theme
1766 (name "tango-icon-theme")
1770 (uri (string-append "http://tango.freedesktop.org/releases/"
1771 "tango-icon-theme-" version ".tar.bz2"))
1774 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1775 (build-system gnu-build-system)
1777 `(("icon-naming-utils" ,icon-naming-utils)
1778 ("intltool" ,intltool)
1779 ("imagemagick" ,imagemagick)
1780 ("pkg-config" ,pkg-config)))
1781 (home-page "http://tango-project.org/")
1782 (synopsis "Tango icon theme")
1783 (description "This is an icon theme that follows the Tango visual
1785 (license license:public-domain)))
1787 (define-public shared-mime-info
1789 (name "shared-mime-info")
1794 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1795 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1799 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1800 (build-system gnu-build-system)
1802 ;; The build system appears not to be parallel-safe.
1803 '(#:parallel-build? #f))
1806 ("libxml2" ,libxml2)))
1808 `(("gettext" ,gettext-minimal)
1809 ("itstool" ,itstool)
1810 ("pkg-config" ,pkg-config)))
1811 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1812 (synopsis "Database of common MIME types")
1814 "The shared-mime-info package contains the core database of common types
1815 and the update-mime-database command used to extend it. It requires glib2 to
1816 be installed for building the update command. Additionally, it uses intltool
1817 for translations, though this is only a dependency for the maintainers. This
1818 database is translated at Transifex.")
1819 (license license:gpl2+)))
1821 (define-public system-config-printer
1823 (name "system-config-printer")
1829 "https://github.com/OpenPrinting/system-config-printer/releases/"
1831 "/system-config-printer-" version ".tar.xz"))
1833 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1834 (build-system glib-or-gtk-build-system)
1836 `(#:imported-modules ((guix build python-build-system)
1837 ,@%glib-or-gtk-build-system-modules)
1839 (modify-phases %standard-phases
1840 (add-after 'unpack 'patch-Makefile.am
1842 ;; The Makefile generates some scripts, so set a valid shebang
1843 (substitute* "Makefile.am"
1844 (("/bin/bash") (which "bash")))
1845 (delete-file "configure")
1847 (add-after 'unpack 'patch-docbook-xml
1848 (lambda* (#:key inputs #:allow-other-keys)
1849 ;; Modify the man XML otherwise xmlto tries to access the network
1850 (substitute* "man/system-config-printer.xml"
1851 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1852 (string-append (assoc-ref inputs "docbook-xml")
1853 "/xml/dtd/docbook/")))
1855 (add-after 'install 'wrap-for-python
1856 (@@ (guix build python-build-system) wrap))
1857 (add-after 'install 'wrap
1858 (lambda* (#:key outputs #:allow-other-keys)
1859 (let ((out (assoc-ref outputs "out"))
1860 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1863 (wrap-program program
1864 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1866 (string-append out "/bin/" name))
1867 '("system-config-printer"
1868 "system-config-printer-applet"
1869 "install-printerdriver"
1870 "scp-dbus-service"))))
1873 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1874 ("gobject-introspection" ,gobject-introspection)
1877 ("python-dbus" ,python-dbus)
1878 ("python-pygobject" ,python-pygobject)
1879 ("python-pycups" ,python-pycups)
1880 ("python-requests" ,python-requests)
1881 ("python-pycairo" ,python-pycairo)
1882 ("libnotify" ,libnotify)
1883 ("packagekit" ,packagekit)))
1885 `(("pkg-config" ,pkg-config)
1886 ("desktop-file-utils" ,desktop-file-utils)
1888 ("autoconf" ,autoconf)
1889 ("automake" ,automake)
1890 ("intltool" ,intltool)
1892 ("docbook-xml" ,docbook-xml-4.1.2)
1893 ("docbook-xsl" ,docbook-xsl)
1894 ("libxml2" ,libxml2)))
1895 (home-page "https://github.com/zdohnal/system-config-printer")
1896 (synopsis "CUPS administration tool")
1898 "system-config-printer is a CUPS administration tool. It's written in
1899 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1901 (license license:gpl2+)))
1903 (define-public hicolor-icon-theme
1905 (name "hicolor-icon-theme")
1910 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1911 "hicolor-icon-theme-" version ".tar.xz"))
1914 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1915 (build-system gnu-build-system)
1917 `(#:tests? #f)) ; no check target
1918 (home-page "https://icon-theme.freedesktop.org/releases/")
1920 "Freedesktop icon theme")
1922 "Freedesktop icon theme.")
1923 (license license:gpl2)))
1925 (define-public libnotify
1932 (uri (string-append "mirror://gnome/sources/" name "/"
1933 (version-major+minor version) "/"
1934 name "-" version ".tar.xz"))
1937 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1938 (build-system gnu-build-system)
1940 `(#:configure-flags '("--disable-static")))
1942 `(;; In Requires of libnotify.pc.
1943 ("gdk-pixbuf" ,gdk-pixbuf)
1947 ("libpng" ,libpng)))
1949 `(("pkg-config" ,pkg-config)
1950 ("glib" ,glib "bin")
1951 ("gobject-introspection" ,gobject-introspection)))
1952 (home-page "https://developer-next.gnome.org/libnotify/")
1954 "GNOME desktop notification library")
1956 "Libnotify is a library that sends desktop notifications to a
1957 notification daemon, as defined in the Desktop Notifications spec. These
1958 notifications can be used to inform the user about an event or display
1959 some form of information without getting in the user's way.")
1960 (license license:lgpl2.1+)))
1962 (define-public libpeas
1969 (uri (string-append "mirror://gnome/sources/" name "/"
1970 (version-major+minor version) "/"
1971 name "-" version ".tar.xz"))
1974 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
1975 (build-system meson-build-system)
1978 (modify-phases %standard-phases
1979 (add-before 'check 'start-xserver
1980 (lambda* (#:key inputs #:allow-other-keys)
1981 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1983 (setenv "DISPLAY" disp)
1984 ;; Tests require a running X server.
1985 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
1991 ("python-pygobject" ,python-pygobject)))
1993 `(("pkg-config" ,pkg-config)
1994 ("gettext" ,gettext-minimal)
1995 ("glib:bin" ,glib "bin")
1996 ("gobject-introspection" ,gobject-introspection)
1997 ("xorg-server" ,xorg-server-for-tests)))
1999 ;; The .pc file "Requires" gobject-introspection.
2000 `(("gobject-introspection" ,gobject-introspection)))
2001 (home-page "https://wiki.gnome.org/Libpeas")
2002 (synopsis "GObject plugin system")
2004 "Libpeas is a gobject-based plugin engine, targeted at giving every
2005 application the chance to assume its own extensibility. It also has a set of
2006 features including, but not limited to: multiple extension points; on-demand
2007 (lazy) programming language support for C, Python and JS; simplicity of the
2009 (license license:lgpl2.0+)))
2011 (define-public gtkglext
2017 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2018 version "/gtkglext-" version ".tar.gz"))
2020 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2021 (patches (search-patches
2022 "gtkglext-disable-disable-deprecated.patch"))))
2023 (build-system gnu-build-system)
2026 (modify-phases %standard-phases
2027 ;; Fix a collision between a local variable and a definition from
2028 ;; glibc's string.h.
2029 (add-after 'unpack 'fix-collision
2031 (substitute* "gdk/gdkglshapes.c"
2032 ((" index") " triangle_index"))
2034 (inputs `(("gtk+" ,gtk+-2)
2039 (native-inputs `(("pkg-config" ,pkg-config)
2040 ("glib" ,glib "bin")))
2041 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2042 (home-page "https://projects.gnome.org/gtkglext")
2043 (synopsis "OpenGL extension to GTK+")
2044 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2045 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2046 API add-ons to make GTK+ widgets OpenGL-capable.")
2047 (license license:lgpl2.1+)))
2049 (define-public glade3
2055 (uri (string-append "mirror://gnome/sources/" name "/"
2056 (version-major+minor version) "/"
2057 name "-" version ".tar.xz"))
2060 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2061 (build-system glib-or-gtk-build-system)
2063 `(#:tests? #f ; needs X, GL, and software rendering
2065 (modify-phases %standard-phases
2066 (add-before 'configure 'fix-docbook
2067 (lambda* (#:key inputs #:allow-other-keys)
2068 (substitute* "man/Makefile.in"
2069 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2070 (string-append (assoc-ref inputs "docbook-xsl")
2071 "/xml/xsl/docbook-xsl-"
2072 ,(package-version docbook-xsl)
2073 "/manpages/docbook.xsl")))
2077 ("libxml2" ,libxml2)))
2079 `(("intltool" ,intltool)
2080 ("itstool" ,itstool)
2081 ("libxslt" ,libxslt) ;for xsltproc
2082 ("docbook-xml" ,docbook-xml-4.2)
2083 ("docbook-xsl" ,docbook-xsl)
2084 ("python" ,python-2)
2085 ("pkg-config" ,pkg-config)))
2086 (home-page "https://glade.gnome.org")
2087 (synopsis "GTK+ rapid application development tool")
2088 (description "Glade is a rapid application development (RAD) tool to
2089 enable quick & easy development of user interfaces for the GTK+ toolkit and
2090 the GNOME desktop environment.")
2091 (license license:lgpl2.0+)))
2093 (define-public libcroco
2099 (uri (string-append "mirror://gnome/sources/" name "/"
2100 (version-major+minor version) "/"
2101 name "-" version ".tar.xz"))
2104 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2105 (build-system gnu-build-system)
2107 `(("pkg-config" ,pkg-config)))
2110 ("libxml2" ,libxml2)
2112 (home-page "https://github.com/GNOME/libcroco")
2113 (synopsis "CSS2 parsing and manipulation library")
2115 "Libcroco is a standalone CSS2 parsing and manipulation library.
2116 The parser provides a low level event driven SAC-like API and a CSS object
2117 model like API. Libcroco provides a CSS2 selection engine and an experimental
2118 XML/CSS rendering engine.")
2121 (license license:lgpl2.1)))
2123 (define-public libgsf
2129 (uri (string-append "mirror://gnome/sources/" name "/"
2130 (version-major+minor version) "/"
2131 name "-" version ".tar.xz"))
2134 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2135 (build-system gnu-build-system)
2137 '(#:configure-flags '("--disable-static")))
2139 `(("pkg-config" ,pkg-config)
2140 ("gettext" ,gettext-minimal)
2144 ("perl-xml-parser" ,perl-xml-parser)))
2149 `(("gdk-pixbuf" ,gdk-pixbuf)
2151 ("libxml2" ,libxml2)))
2152 (home-page "https://www.gnome.org/projects/libgsf")
2153 (synopsis "GNOME's Structured File Library")
2155 "Libgsf aims to provide an efficient extensible I/O abstraction for
2156 dealing with different structured file formats.")
2159 (license license:lgpl2.1)))
2161 (define-public librsvg
2167 (uri (string-append "mirror://gnome/sources/" name "/"
2168 (version-major+minor version) "/"
2169 name "-" version ".tar.xz"))
2172 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2173 (build-system gnu-build-system)
2176 (list "--disable-static"
2177 "--enable-vala") ; needed for e.g. gnome-mines
2179 (modify-phases %standard-phases
2180 (add-before 'configure 'pre-configure
2181 (lambda* (#:key inputs #:allow-other-keys)
2182 (substitute* "gdk-pixbuf-loader/Makefile.in"
2183 ;; By default the gdk-pixbuf loader is installed under
2184 ;; gdk-pixbuf's prefix. Work around that.
2185 (("gdk_pixbuf_moduledir = .*$")
2186 (string-append "gdk_pixbuf_moduledir = "
2187 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2189 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2190 (("gdk_pixbuf_cache_file = .*$")
2191 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2193 (add-before 'check 'remove-failing-tests
2195 (with-directory-excursion "tests/fixtures/reftests"
2196 (for-each delete-file
2197 '(;; This test fails on i686:
2198 "svg1.1/masking-path-04-b.svg"
2199 ;; This test fails on armhf:
2200 "svg1.1/masking-mask-01-b.svg"
2201 ;; This test fails on aarch64:
2202 "bugs/777834-empty-text-children.svg")))
2205 `(("pkg-config" ,pkg-config)
2207 ("glib" ,glib "bin") ; glib-mkenums, etc.
2208 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2210 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2211 ;; this ancient version of librsvg.
2212 ("pango" ,pango-1.42)
2213 ("libcroco" ,libcroco)
2216 ("libxml2" ,libxml2)))
2218 ;; librsvg-2.0.pc refers to all of that.
2220 ("gdk-pixbuf" ,gdk-pixbuf)
2222 (home-page "https://wiki.gnome.org/LibRsvg")
2223 (synopsis "Render SVG files using Cairo")
2225 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2227 (license license:lgpl2.0+)))
2229 (define-public librsvg-next
2236 (uri (string-append "mirror://gnome/sources/librsvg/"
2237 (version-major+minor version) "/"
2238 "librsvg-" version ".tar.xz"))
2241 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2242 (modules '((guix build utils)))
2244 '(begin (delete-file-recursively "vendor")
2245 ;; Don't demand an exact version for string_cache
2246 (substitute* "rsvg_internals/Cargo.toml"
2249 (build-system cargo-build-system)
2251 `(#:modules ((guix build cargo-build-system)
2253 ((guix build gnu-build-system) #:prefix gnu:))
2254 #:vendor-dir "vendor"
2256 (("rust-bitflags" ,rust-bitflags-1)
2257 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2258 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2259 ("rust-cssparser" ,rust-cssparser-0.25)
2260 ("rust-data-url" ,rust-data-url-0.1)
2261 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2262 ("rust-encoding" ,rust-encoding-0.2)
2263 ("rust-float-cmp" ,rust-float-cmp-0.5)
2264 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2265 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2266 ("rust-gio" ,rust-gio-0.7)
2267 ("rust-gio-sys" ,rust-gio-sys-0.9)
2268 ("rust-glib" ,rust-glib-0.8)
2269 ("rust-glib-sys" ,rust-glib-sys-0.9)
2270 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2271 ("rust-itertools" ,rust-itertools-0.8)
2272 ("rust-language-tags" ,rust-language-tags-0.2)
2273 ("rust-lazy-static" ,rust-lazy-static-1)
2274 ("rust-libc" ,rust-libc-0.2)
2275 ("rust-locale-config" ,rust-locale-config-0.3)
2276 ("rust-markup5ever" ,rust-markup5ever-0.9)
2277 ("rust-nalgebra" ,rust-nalgebra-0.18)
2278 ("rust-num-traits" ,rust-num-traits-0.2)
2279 ("rust-pkg-config" ,rust-pkg-config-0.3)
2280 ("rust-pango" ,rust-pango-0.7)
2281 ("rust-pango-sys" ,rust-pango-sys-0.9)
2282 ("rust-pangocairo" ,rust-pangocairo-0.8)
2283 ("rust-phf" ,rust-phf-0.7)
2284 ("rust-rayon" ,rust-rayon-1.3)
2285 ("rust-rctree" ,rust-rctree-0.3)
2286 ("rust-string-cache" ,rust-string-cache-0.7)
2287 ("rust-regex" ,rust-regex-1.3)
2288 ("rust-url" ,rust-url-2.1)
2289 ("rust-xml-rs" ,rust-xml-rs-0.8))
2290 #:cargo-development-inputs
2291 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2292 ("rust-criterion" ,rust-criterion-0.2))
2294 (modify-phases %standard-phases
2295 (add-after 'unpack 'prepare-for-build
2297 ;; In lieu of #:make-flags
2299 ;; Something about the build environment resists building
2300 ;; successfully with the '--locked' flag.
2301 (substitute* '("Makefile.am"
2305 (add-before 'configure 'pre-configure
2307 (substitute* "gdk-pixbuf-loader/Makefile.in"
2308 ;; By default the gdk-pixbuf loader is installed under
2309 ;; gdk-pixbuf's prefix. Work around that.
2310 (("gdk_pixbuf_moduledir = .*$")
2311 (string-append "gdk_pixbuf_moduledir = "
2312 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2314 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2315 (("gdk_pixbuf_cache_file = .*$")
2316 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2318 (add-after 'configure 'gnu-configure
2319 (assoc-ref gnu:%standard-phases 'configure))
2320 ;(lambda* (#:key outputs #:allow-other-keys)
2321 ; ((assoc-ref gnu:%standard-phases 'configure)
2323 ; #:configure-flags ("--disable-static"
2324 ; "--enable-vala"))))
2325 (add-after 'configure 'dont-vendor-self
2326 (lambda* (#:key vendor-dir #:allow-other-keys)
2327 ;; Don't keep the whole tarball in the vendor directory
2328 (delete-file-recursively
2329 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2332 (assoc-ref gnu:%standard-phases 'build))
2335 ((assoc-ref gnu:%standard-phases 'check)
2336 #:test-target "check")))
2338 (assoc-ref gnu:%standard-phases 'install))
2339 (add-before 'check 'remove-failing-tests
2341 (with-directory-excursion "tests/fixtures/reftests"
2342 (for-each delete-file
2343 '(;; The images produced by these tests differ slightly
2344 ;; from their reference counterparts due to differences
2345 ;; in the build environment (missing fonts, etc). See
2346 ;; <tests/README.md> for details.
2347 ;; These fail on x86_64.
2348 "svg1.1/coords-viewattr-02-b.svg"
2349 "svg1.1/filters-composite-04-f.svg"
2350 "svg1.1/filters-image-01-b.svg"
2351 "svg1.1/filters-conv-02-f.svg"
2352 "svg1.1/filters-conv-04-f.svg"
2353 ;; This test fails on i686:
2354 "svg1.1/masking-path-04-b.svg"
2355 ;; This test fails on armhf:
2356 "svg1.1/masking-mask-01-b.svg"
2357 ;; This test fails on aarch64:
2358 "bugs/777834-empty-text-children.svg")))
2360 (license license:lgpl2.1+)))
2362 (define-public libidl
2368 (uri (string-append "mirror://gnome/sources/libIDL/"
2369 (version-major+minor version) "/"
2370 "libIDL-" version ".tar.bz2"))
2373 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2374 (build-system gnu-build-system)
2375 (inputs `(("glib" ,glib)))
2377 `(("pkg-config" ,pkg-config)
2380 (home-page "http://freecode.com/projects/libidl")
2381 (synopsis "Create trees of CORBA Interface Definition Language files")
2382 (description "Libidl is a library for creating trees of CORBA Interface
2383 Definition Language (idl) files, which is a specification for defining
2384 portable interfaces. libidl was initially written for orbit (the orb from the
2385 GNOME project, and the primary means of libidl distribution). However, the
2386 functionality was designed to be as reusable and portable as possible.")
2387 (properties `((upstream-name . "libIDL")))
2388 (license license:lgpl2.0+)))
2391 (define-public orbit2
2397 (uri (let ((upstream-name "ORBit2"))
2398 (string-append "mirror://gnome/sources/" upstream-name "/"
2399 (version-major+minor version) "/"
2400 upstream-name "-" version ".tar.bz2")))
2403 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2404 (build-system gnu-build-system)
2406 `(;; The "timeout-server" test hangs when run in parallel.
2407 #:parallel-tests? #f
2409 '(;; We don't need static libraries, plus they don't build reproducibly
2410 ;; (non-deterministic ordering of .o files in the archive.)
2413 ;; The programmer kindly gives us a hook to turn off deprecation
2415 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2416 ;; ... which they then completly ignore !!
2418 (modify-phases %standard-phases
2419 (add-before 'configure 'ignore-deprecations
2421 (substitute* "linc2/src/Makefile.in"
2422 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2424 (inputs `(("glib" ,glib)
2425 ("libidl" ,libidl)))
2427 `(("pkg-config" ,pkg-config)))
2428 (home-page "https://projects.gnome.org/orbit2/")
2429 (synopsis "CORBA 2.4-compliant Object Request Broker")
2430 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2431 featuring mature C, C++ and Python bindings.")
2432 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2433 ;; a version. SOME of the code files have licence notices for GPLv2+.
2434 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2435 (license license:gpl2+)
2436 (properties `((upstream-name . "ORBit2")))))
2439 (define-public libbonobo
2445 (uri (string-append "mirror://gnome/sources/" name "/"
2446 (version-major+minor version)
2447 "/" name "-" version ".tar.bz2"))
2449 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2450 (patches (search-patches
2451 "libbonobo-activation-test-race.patch"))))
2452 (build-system gnu-build-system)
2454 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2456 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2457 ;; ... which they then completly ignore !!
2459 (modify-phases %standard-phases
2460 (add-before 'configure 'ignore-deprecations
2462 (substitute* "activation-server/Makefile.in"
2463 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2466 ;; There's apparently a race condition between the server stub
2467 ;; generation and linking of the example under 'samples/echo' that can
2468 ;; lead do undefined references when building in parallel, as reported
2469 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2470 ;; Thus, disable parallel builds.
2471 #:parallel-build? #f))
2472 (inputs `(("popt" ,popt)
2473 ("libxml2" ,libxml2)))
2474 ;; The following are Required by the .pc file
2477 ("orbit2" ,orbit2)))
2479 `(("intltool" ,intltool)
2480 ("pkg-config" ,pkg-config)
2481 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2484 (home-page "https://developer.gnome.org/libbonobo/")
2485 (synopsis "Framework for creating reusable components for use in GNOME applications")
2486 (description "Bonobo is a framework for creating reusable components for
2487 use in GNOME applications, built on top of CORBA.")
2488 ;; Licence not explicitly stated. Source files contain no licence notices.
2489 ;; Tarball contains text of both GPLv2 and LGPLv2
2490 ;; GPLv2 covers both conditions
2491 (license license:gpl2+)))
2494 (define-public gconf
2501 (let ((upstream-name "GConf"))
2502 (string-append "mirror://gnome/sources/" upstream-name "/"
2503 (version-major+minor version) "/"
2504 upstream-name "-" version ".tar.xz")))
2506 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2507 (build-system gnu-build-system)
2508 (inputs `(("dbus-glib" ,dbus-glib)
2509 ("libxml2" ,libxml2)))
2510 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2511 ("orbit2" ,orbit2)))
2513 `(("intltool" ,intltool)
2514 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2515 ("pkg-config" ,pkg-config)))
2516 (home-page "https://projects.gnome.org/gconf/")
2517 (synopsis "Store application preferences")
2518 (description "Gconf is a system for storing application preferences. It
2519 is intended for user preferences; not arbitrary data storage.")
2520 (license license:lgpl2.0+)
2521 (properties '((upstream-name . "GConf")))))
2524 (define-public gnome-mime-data
2526 (name "gnome-mime-data")
2530 (uri (string-append "mirror://gnome/sources/" name "/"
2531 (version-major+minor version) "/"
2532 name "-" version ".tar.bz2"))
2535 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2536 (build-system gnu-build-system)
2539 ("intltool" ,intltool)))
2541 '(#:phases (modify-phases %standard-phases
2542 (add-after 'configure 'use-our-intltool
2544 ;; Do not use the bundled intltool commands, which lack
2545 ;; the "dotless @INC" fixes of our 'intltool' package.
2546 (substitute* (find-files "." "^Makefile$")
2547 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2548 (string-append "INTLTOOL_" tool " = intltool-"
2549 (string-downcase tool) "\n")))
2551 (home-page "https://www.gnome.org")
2552 (synopsis "Base MIME and Application database for GNOME")
2553 (description "GNOME Mime Data is a module which contains the base MIME
2554 and Application database for GNOME. The data stored by this module is
2555 designed to be accessed through the MIME functions in GnomeVFS.")
2556 (license license:gpl2+)))
2559 (define-public gnome-vfs
2565 (uri (string-append "mirror://gnome/sources/" name "/"
2566 (version-major+minor version) "/"
2567 name "-" version ".tar.bz2"))
2570 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2571 (build-system gnu-build-system)
2574 (modify-phases %standard-phases
2575 (add-before 'configure 'ignore-deprecations
2577 (substitute* '("libgnomevfs/Makefile.in"
2578 "daemon/Makefile.in")
2579 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2581 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2583 (substitute* "test/test-async-cancel.c"
2584 (("EXIT_FAILURE") "77"))
2586 (inputs `(("libxml2" ,libxml2)
2587 ("dbus-glib" ,dbus-glib)
2589 ("gnome-mime-data" ,gnome-mime-data)
2592 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2593 ("intltool" ,intltool)
2594 ("pkg-config" ,pkg-config)))
2595 (home-page "https://developer.gnome.org/gnome-vfs/")
2596 (synopsis "Access files and folders in GNOME applications")
2598 "GnomeVFS is the core library used to access files and folders in GNOME
2599 applications. It provides a file system abstraction which allows applications
2600 to access local and remote files with a single consistent API.")
2601 (license license:lgpl2.0+)))
2605 (define-public libgnome
2611 (uri (string-append "mirror://gnome/sources/" name "/"
2612 (version-major+minor version) "/"
2613 name "-" version ".tar.bz2"))
2616 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2617 (patches (search-patches "libgnome-encoding.patch"))))
2618 (build-system gnu-build-system)
2621 (modify-phases %standard-phases
2622 (add-before 'configure 'enable-deprecated
2624 (substitute* "libgnome/Makefile.in"
2625 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2627 (inputs `(("libxml2" ,libxml2)))
2629 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2630 ("intltool" ,intltool)
2631 ("pkg-config" ,pkg-config)))
2632 ;; The following are listed as Required in the .pc file
2633 ;; (except for libcanberra -- which seems to be oversight on the part
2634 ;; of the upstream developers -- anything that links against libgnome,
2635 ;; must also link against libcanberra
2637 `(("libcanberra" ,libcanberra)
2638 ("libbonobo" ,libbonobo)
2640 ("gnome-vfs" ,gnome-vfs)
2641 ("popt" ,popt))) ;gnome-program.h includes popt.h
2642 (home-page "https://developer.gnome.org/libgnome/")
2643 (synopsis "Useful routines for building applications")
2644 (description "The libgnome library provides a number of useful routines
2645 for building modern applications, including session management, activation of
2646 files and URIs, and displaying help.")
2647 (license license:lgpl2.0+)))
2650 (define-public libart-lgpl
2652 (name "libart-lgpl")
2656 (uri (let ((upstream-name "libart_lgpl"))
2657 (string-append "mirror://gnome/sources/" upstream-name "/"
2658 (version-major+minor version) "/"
2659 upstream-name "-" version ".tar.bz2")))
2662 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2663 (build-system gnu-build-system)
2665 `(("pkg-config" ,pkg-config)))
2666 (home-page "https://people.gnome.org/~mathieu/libart")
2667 (synopsis "2D drawing library")
2668 (description "Libart is a 2D drawing library intended as a
2669 high-quality vector-based 2D library with antialiasing and alpha composition.")
2670 (license license:lgpl2.0+)))
2674 (define-public libgnomecanvas
2676 (name "libgnomecanvas")
2680 (uri (string-append "mirror://gnome/sources/" name "/"
2681 (version-major+minor version) "/"
2682 name "-" version ".tar.gz"))
2685 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2686 (build-system gnu-build-system)
2687 ;; Mentioned as Required in the .pc file
2688 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2691 `(("intltool" ,intltool)
2692 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2693 ("pkg-config" ,pkg-config)))
2694 (home-page "https://developer.gnome.org/libgnomecanvas/")
2695 (synopsis "Flexible widget for creating interactive structured graphics")
2696 (description "The GnomeCanvas widget provides a flexible widget for
2697 creating interactive structured graphics.")
2698 (license license:lgpl2.0+)))
2700 (define-public libgnomecanvasmm
2702 (name "libgnomecanvasmm")
2706 (uri (string-append "mirror://gnome/sources/" name "/"
2707 (version-major+minor version) "/"
2708 name "-" version ".tar.bz2"))
2711 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2712 (build-system gnu-build-system)
2713 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2715 `(("gtkmm-2" ,gtkmm-2)
2716 ("pkg-config" ,pkg-config)))
2717 (home-page "https://gtkmm.org")
2718 (synopsis "C++ bindings to the GNOME Canvas library")
2719 (description "C++ bindings to the GNOME Canvas library.")
2720 (license license:lgpl2.0+)))
2722 (define-public libgnomeui
2728 (uri (string-append "mirror://gnome/sources/" name "/"
2729 (version-major+minor version) "/"
2730 name "-" version ".tar.bz2"))
2731 (patches (search-patches "libgnomeui-utf8.patch"))
2734 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2735 (build-system gnu-build-system)
2736 ;; Mentioned as Required in the .pc file
2737 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2738 ("libgnome" ,libgnome)
2739 ("libgnomecanvas" ,libgnomecanvas)
2740 ("libgnome-keyring" ,libgnome-keyring)))
2741 (inputs `(("libjpeg" ,libjpeg-turbo)
2743 ("libbonobo" ,libbonobo)
2744 ("libxml2" ,libxml2)
2745 ("libglade" ,libglade)))
2747 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2748 ("intltool" ,intltool)
2749 ("pkg-config" ,pkg-config)))
2750 (home-page "https://developer.gnome.org/libgnomeui/")
2751 (synopsis "Additional widgets for applications")
2752 (description "The libgnomeui library provides additional widgets for
2753 applications. Many of the widgets from libgnomeui have already been
2755 (license license:lgpl2.0+)))
2757 (define-public libglade
2763 (uri (string-append "mirror://gnome/sources/" name "/"
2764 (version-major+minor version) "/"
2765 name "-" version ".tar.bz2"))
2768 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2769 (build-system gnu-build-system)
2771 `(("python" ,python))) ;; needed for the optional libglade-convert program
2773 `(("gtk+-2" ,gtk+-2)
2774 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2776 `(("pkg-config" ,pkg-config)))
2777 (home-page "https://developer.gnome.org/libglade")
2778 (synopsis "Load glade interfaces and access the glade built widgets")
2779 (description "Libglade is a library that provides interfaces for loading
2780 graphical interfaces described in glade files and for accessing the
2781 widgets built in the loading process.")
2782 (license license:gpl2+))) ; This is correct. GPL not LGPL
2784 (define-public libgnomeprint
2785 ;; This library has been deprecated since 2006; see
2786 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2788 (name "libgnomeprint")
2792 (uri (string-append "mirror://gnome/sources/" name "/"
2793 (version-major+minor version) "/"
2794 name "-" version ".tar.bz2"))
2797 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2798 (build-system gnu-build-system)
2801 ("libart-lgpl" ,libart-lgpl)
2803 ("libxml2" ,libxml2)))
2805 `(("intltool" ,intltool)
2806 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2807 ("pkg-config" ,pkg-config)))
2808 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2809 (synopsis "Printing framework for GNOME")
2811 "GNOME-print was a printing framework for GNOME. It has been deprecated
2812 since ca. 2006, when GTK+ itself incorporated printing support.")
2813 (license license:lgpl2.0+)))
2816 (define-public libgnomeprintui
2817 ;; Deprecated; see libgnomeprint.
2819 (name "libgnomeprintui")
2823 (uri (string-append "mirror://gnome/sources/" name "/"
2824 (version-major+minor version) "/"
2825 name "-" version ".tar.bz2"))
2828 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2829 (build-system gnu-build-system)
2830 ;; Mentioned as Required in the .pc file
2831 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2832 (inputs `(("gtk+" ,gtk+-2)
2834 ("gnome-icon-theme" ,gnome-icon-theme)
2835 ("libgnomecanvas" ,libgnomecanvas)
2836 ("libxml2" ,libxml2)))
2838 `(("intltool" ,intltool)
2839 ("pkg-config" ,pkg-config)))
2840 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2841 (synopsis "Printing framework for GNOME")
2842 (description (package-description libgnomeprint))
2843 (license license:lgpl2.0+)))
2845 (define-public libbonoboui
2847 (name "libbonoboui")
2851 (uri (string-append "mirror://gnome/sources/" name "/"
2852 (version-major+minor version) "/"
2853 name "-" version ".tar.bz2"))
2856 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2857 (build-system gnu-build-system)
2860 (modify-phases %standard-phases
2861 (add-before 'check 'start-xserver
2862 (lambda* (#:key inputs #:allow-other-keys)
2863 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2866 (setenv "HOME" (getcwd))
2867 (setenv "DISPLAY" disp)
2868 ;; There must be a running X server and make check doesn't start one.
2869 ;; Therefore we must do it.
2870 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2871 ;; Mentioned as Required by the .pc file
2872 (propagated-inputs `(("libxml2" ,libxml2)))
2875 ("pangox-compat" ,pangox-compat)
2876 ("libgnome" ,libgnome)
2877 ("libgnomecanvas" ,libgnomecanvas)
2878 ("libglade" ,libglade)))
2880 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2881 ("intltool" ,intltool)
2882 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2883 ("pkg-config" ,pkg-config)))
2884 (home-page "https://developer.gnome.org/libbonoboui/")
2885 (synopsis "Some user interface controls using Bonobo")
2886 (description "The Bonobo UI library provides a number of user interface
2887 controls using the Bonobo component framework.")
2888 (license license:lgpl2.0+)))
2890 (define-public libwnck
2896 (uri (string-append "mirror://gnome/sources/" name "/"
2897 (version-major+minor version) "/"
2898 name "-" version ".tar.xz"))
2901 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2902 (build-system meson-build-system)
2904 `(("pkg-config" ,pkg-config)
2905 ("glib" ,glib "bin") ; for glib-mkenums
2906 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2907 ("intltool" ,intltool)))
2910 ("libxres" ,libxres)
2911 ("startup-notification" ,startup-notification)))
2912 (home-page "https://developer.gnome.org/libwnck/")
2913 (synopsis "Window Navigator Construction Kit")
2915 "Libwnck is the Window Navigator Construction Kit, a library for use in
2916 writing pagers, tasklists, and more generally applications that are dealing
2917 with window management. It tries hard to respect the Extended Window Manager
2918 Hints specification (EWMH).")
2919 (license license:lgpl2.0+)))
2921 ;; stable version for gtk2, required by xfwm4.
2922 (define-public libwnck-2
2923 (package (inherit libwnck)
2928 (uri (string-append "mirror://gnome/sources/" name "/"
2929 (version-major+minor version) "/"
2930 name "-" version ".tar.xz"))
2933 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2934 (build-system gnu-build-system)
2936 `(("pkg-config" ,pkg-config)
2937 ("intltool" ,intltool)))
2940 ("libxres" ,libxres)
2941 ("startup-notification" ,startup-notification)))))
2943 (define-public goffice
2949 (uri (string-append "mirror://gnome/sources/goffice/"
2950 (version-major+minor version) "/"
2951 "goffice-" version ".tar.xz"))
2953 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2954 (build-system gnu-build-system)
2956 "doc")) ; 4.0 MiB of gtk-doc
2958 '(#:configure-flags (list (string-append "--with-html-dir="
2959 (assoc-ref %outputs "doc")
2960 "/share/gtk-doc/html"))))
2964 ("librsvg" ,librsvg)
2965 ("libxslt" ,libxslt)
2966 ("libxml2" ,libxml2)))
2968 `(("intltool" ,intltool)
2969 ("glib" ,glib "bin")
2970 ("pkg-config" ,pkg-config)))
2971 (home-page "https://developer.gnome.org/goffice/")
2972 (synopsis "Document-centric objects and utilities")
2973 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2975 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2977 (list license:gpl2 license:gpl3))))
2979 (define-public goffice-0.8
2980 (package (inherit goffice)
2984 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2985 (version-major+minor version) "/"
2986 (package-name goffice) "-" version ".tar.xz"))
2988 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2991 (modify-phases %standard-phases
2992 (add-after 'unpack 'fix-pcre-check
2994 ;; Only glib.h can be included directly. See
2995 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2996 (substitute* "configure"
2997 (("glib/gregex\\.h") "glib.h")) #t)))
2999 ,@(package-arguments goffice)))
3001 ;; libgoffice-0.8.pc mentions libgsf-1
3002 `(("libgsf" ,libgsf)))
3005 ,@(alist-delete "gtk" (package-inputs goffice))))))
3007 (define-public gnumeric
3013 (uri (string-append "mirror://gnome/sources/gnumeric/"
3014 (version-major+minor version) "/"
3015 "gnumeric-" version ".tar.xz"))
3018 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3019 (build-system glib-or-gtk-build-system)
3021 `(;; The gnumeric developers don't worry much about failing tests.
3022 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3025 (modify-phases %standard-phases
3027 'configure 'pre-conf
3028 (lambda* (#:key outputs #:allow-other-keys)
3029 ;; Make install tries to write into the directory of goffice
3030 ;; I am informed that this only affects the possibility to embed a
3031 ;; spreadsheet inside an Abiword document. So presumably when we
3032 ;; package Abiword we'll have to refer it to this directory.
3033 (substitute* "configure"
3034 (("^GOFFICE_PLUGINS_DIR=.*")
3035 (string-append "GOFFICE_PLUGINS_DIR="
3036 (assoc-ref outputs "out")
3037 "/goffice/plugins"))))))))
3041 ("goffice" ,goffice)
3043 ("librsvg" ,librsvg)
3044 ("libxml2" ,libxml2)
3045 ("libxslt" ,libxslt)
3046 ("python" ,python-2)
3047 ("python2-pygobject" ,python2-pygobject)
3051 ("docbook-xml" ,docbook-xml)
3052 ("intltool" ,intltool)
3053 ("itstool" ,itstool)
3054 ("glib:bin" ,glib "bin")
3055 ("pkg-config" ,pkg-config)))
3056 (home-page "http://www.gnumeric.org")
3057 (synopsis "Spreadsheet application")
3059 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3060 interoperable with other spreadsheet applications. It has a vast array of
3061 features beyond typical spreadsheet functionality, such as support for linear
3062 and non-linear solvers, statistical analysis, and telecommunication
3065 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3066 (list license:gpl2 license:gpl3))))
3068 (define-public gnome-themes-standard
3070 (name "gnome-themes-standard")
3075 (uri (string-append "mirror://gnome/sources/" name "/"
3076 (version-major+minor version) "/" name "-"
3080 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3081 (build-system gnu-build-system)
3084 ;; Don't create 'icon-theme.cache'.
3085 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3086 (true (string-append coreutils "/bin/true")))
3087 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3091 ("librsvg" ,librsvg)
3092 ("libxml2" ,libxml2)
3095 `(("intltool" ,intltool)
3096 ("glib:bin" ,glib "bin")
3097 ("pkg-config" ,pkg-config)))
3098 (home-page "https://launchpad.net/gnome-themes-standard")
3099 (synopsis "Default GNOME 3 themes")
3101 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3102 (license license:lgpl2.1+)))
3104 (define-public seahorse
3111 (uri (string-append "mirror://gnome/sources/" name "/"
3112 (version-major+minor version) "/" name "-"
3116 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
3117 (patches (search-patches
3118 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3119 (build-system meson-build-system)
3123 (modify-phases %standard-phases
3124 (add-after 'unpack 'skip-gtk-update-icon-cache
3125 ;; Don't create 'icon-theme.cache'.
3127 (substitute* "build-aux/meson_post_install.py"
3128 (("gtk-update-icon-cache") "true"))
3135 ("openldap" ,openldap)
3136 ("openssh" ,openssh)
3138 ("libpwquality" ,libpwquality)
3139 ("libsecret" ,libsecret)
3140 ("libsoup" ,libsoup)))
3142 `(("gettext" ,gettext-minimal)
3143 ("glib:bin" ,glib "bin")
3144 ("itstool" ,itstool)
3145 ("pkg-config" ,pkg-config)
3147 ("xmllint" ,libxml2)))
3148 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3149 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3151 "Seahorse is a GNOME application for managing encryption keys and
3152 passwords in the GNOME keyring.")
3153 (license license:gpl2+)))
3161 (uri (string-append "mirror://gnome/sources/" name "/"
3162 (version-major+minor version) "/"
3163 name "-" version ".tar.xz"))
3166 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3167 (build-system gnu-build-system)
3170 (modify-phases %standard-phases
3171 (add-before 'check 'pre-check
3174 (substitute* "valadoc/tests/testrunner.sh"
3175 (("export PKG_CONFIG_PATH=" m)
3176 (string-append m "$PKG_CONFIG_PATH:")))
3177 ;; For missing '/etc/machine-id'.
3178 (setenv "DBUS_FATAL_WARNINGS" "0")
3181 `(("pkg-config" ,pkg-config)
3184 ("xsltproc" ,libxslt)
3185 ("dbus" ,dbus) ; for dbus tests
3186 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3188 `(("graphviz" ,graphviz)))
3190 `(("glib" ,glib))) ; required by libvala-0.40.pc
3191 (home-page "https://live.gnome.org/Vala/")
3192 (synopsis "Compiler for the GObject type system")
3194 "Vala is a programming language that aims to bring modern programming
3195 language features to GNOME developers without imposing any additional runtime
3196 requirements and without using a different ABI compared to applications and
3197 libraries written in C.")
3198 (license license:lgpl2.1+)))
3206 (uri (string-append "mirror://gnome/sources/vte/"
3207 (version-major+minor version) "/"
3208 "vte-" version ".tar.xz"))
3211 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3212 (build-system meson-build-system)
3214 `(("pkg-config" ,pkg-config)
3215 ("intltool" ,intltool)
3217 ("gobject-introspection" ,gobject-introspection)
3218 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3220 ("xmllint" ,libxml2)))
3222 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3223 ("gnutls" ,gnutls) ; ditto
3224 ("pcre2" ,pcre2))) ; ditto
3225 (home-page "https://www.gnome.org/")
3226 (synopsis "Virtual Terminal Emulator")
3228 "VTE is a library (libvte) implementing a terminal emulator widget for
3229 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3230 gnome-terminal, but can also be used to embed a console/terminal in games,
3231 editors, IDEs, etc.")
3232 (license license:lgpl2.1+)))
3234 (define-public vte-ng
3238 (version "0.58.2.a")
3239 (home-page "https://github.com/thestinger/vte-ng")
3242 (uri (git-reference (url home-page) (commit version)))
3243 (file-name (git-file-name name version))
3246 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3247 (build-system meson-build-system)
3249 `(("gtk-doc" ,gtk-doc)
3250 ,@(package-native-inputs vte)))
3252 `(#:configure-flags '("-Ddocs=true")))
3253 (synopsis "Enhanced VTE terminal widget")
3255 "VTE is a library (libvte) implementing a terminal emulator widget for
3256 GTK+, this fork provides additional functions exposed for keyboard text
3257 selection and URL hints.")))
3259 ;; provides vte 2.90, required for some terminal emulators
3260 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3261 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3262 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3263 ;; pantheon-terminal, roxterm are not currently packaged
3264 (define-public vte-0.36
3265 (package (inherit vte)
3270 (uri (string-append "mirror://gnome/sources/" name "/"
3271 (version-major+minor version) "/"
3272 name "-" version ".tar.xz"))
3275 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3278 ("ncurses" ,ncurses)))))
3280 ;; stable version for gtk2, required by xfce4-terminal.
3281 (define-public vte/gtk+-2
3282 (package (inherit vte)
3287 (uri (string-append "mirror://gnome/sources/" name "/"
3288 (version-major+minor version) "/"
3289 name "-" version ".tar.xz"))
3292 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3293 (patches (search-patches
3294 "vte-CVE-2012-2738-pt1.patch"
3295 "vte-CVE-2012-2738-pt2.patch"))))
3296 (build-system gnu-build-system)
3298 '(#:configure-flags '("--disable-python")))
3300 `(("pkg-config" ,pkg-config)
3301 ("intltool" ,intltool)
3302 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3304 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3305 ("ncurses" ,ncurses))))) ; required by libvte.la
3307 (define-public vinagre
3313 (uri (string-append "mirror://gnome/sources/" name "/"
3314 (version-major+minor version) "/"
3315 name "-" version ".tar.xz"))
3316 (patches (search-patches "vinagre-newer-freerdp.patch"
3317 "vinagre-newer-rdp-parameters.patch"))
3320 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3321 (build-system glib-or-gtk-build-system)
3323 ;; Disable -Werror and such, to avoid build failures on compilation
3325 '(#:configure-flags '("--enable-compile-warnings=minimum")
3327 (modify-phases %standard-phases
3328 (add-before 'install 'skip-gtk-update-icon-cache
3330 ;; Don't create 'icon-theme.cache'
3331 (substitute* (find-files "." "^Makefile$")
3332 (("gtk-update-icon-cache") (which "true")))
3334 (add-after 'unpack 'patch-configure
3336 (substitute* "configure"
3337 (("freerdp") "freerdp2"))
3340 `(("pkg-config" ,pkg-config)
3341 ("intltool" ,intltool)
3342 ("itstool" ,itstool)
3343 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3345 `(("libxml2" ,libxml2)
3346 ("gtk-vnc" ,gtk-vnc)
3347 ("gnome-keyring" ,gnome-keyring)
3348 ("libsecret" ,libsecret)
3349 ("freerdp" ,freerdp)
3351 ("spice-gtk" ,spice-gtk)
3352 ("telepathy-glib" ,telepathy-glib)
3354 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3355 (synopsis "Remote desktop viewer for GNOME")
3356 (description "Vinagre is a remote display client supporting the VNC, SPICE
3357 and RDP protocols.")
3358 (license license:gpl3+)))
3360 (define-public dconf
3367 "mirror://gnome/sources/" name "/"
3368 (version-major+minor version) "/"
3369 name "-" version ".tar.xz"))
3370 (patches (search-patches "dconf-meson-0.52.patch"))
3373 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3374 (build-system meson-build-system)
3376 ;; In Requires of dconf.pc.
3382 `(("bash-completion" ,bash-completion)
3383 ("libxslt" ,libxslt) ;for xsltproc
3384 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3385 ("docbook-xml" ,docbook-xml-4.2)
3386 ("docbook-xsl" ,docbook-xsl)
3387 ("glib:bin" ,glib "bin")
3388 ("gtk-doc" ,gtk-doc)
3389 ("pkg-config" ,pkg-config)
3392 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3393 ; or /etc/machine-id.
3395 #:configure-flags '("-Denable-gtk-doc=true")))
3396 (home-page "https://developer.gnome.org/dconf")
3397 (synopsis "Low-level GNOME configuration system")
3398 (description "Dconf is a low-level configuration system. Its main purpose
3399 is to provide a backend to GSettings on platforms that don't already have
3400 configuration storage systems.")
3401 (license license:lgpl2.1+)))
3403 (define-public json-glib
3409 (uri (string-append "mirror://gnome/sources/" name "/"
3410 (version-major+minor version) "/"
3411 name "-" version ".tar.xz"))
3414 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3415 (build-system meson-build-system)
3417 `(("gettext" ,gettext-minimal)
3418 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3419 ("gobject-introspection" ,gobject-introspection)
3420 ("pkg-config" ,pkg-config)))
3422 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3423 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3424 (synopsis "Compiler for the GObject type system")
3426 "JSON-GLib is a C library based on GLib providing serialization and
3427 deserialization support for the JavaScript Object Notation (JSON) format
3428 described by RFC 4627. It provides parser and generator GObject classes and
3429 various wrappers for the complex data types employed by JSON, such as arrays
3431 (license license:lgpl2.1+)))
3433 (define-public libxklavier
3435 (name "libxklavier")
3438 ;; Note: There's no tarball at ftp.gnome.org for this version.
3441 (url "https://anongit.freedesktop.org/git/libxklavier")
3442 (commit (string-append "libxklavier-" version))))
3445 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3446 (file-name (git-file-name name version))))
3447 (build-system gnu-build-system)
3450 (list (string-append "--with-xkb-base="
3451 (assoc-ref %build-inputs "xkeyboard-config")
3453 "--disable-xmodmap-support")))
3455 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3456 ("gobject-introspection" ,gobject-introspection)
3457 ("pkg-config" ,pkg-config)
3458 ("gtk-doc" ,gtk-doc)
3459 ("intltool" ,intltool)
3461 ("autoconf" ,autoconf)
3462 ("automake" ,automake)
3463 ("libtool" ,libtool)))
3465 ;; Required by libxklavier.pc.
3467 ("libxml2" ,libxml2)))
3469 `(("iso-codes" ,iso-codes)
3471 ("libxkbfile" ,libxkbfile)
3472 ("xkbcomp" ,xkbcomp)
3473 ("xkeyboard-config" ,xkeyboard-config)))
3474 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3475 (synopsis "High-level API for X Keyboard Extension")
3477 "LibXklavier is a library providing high-level API for X Keyboard
3478 Extension known as XKB. This library is intended to support XFree86 and other
3479 commercial X servers. It is useful for creating XKB-related software (layout
3481 (license license:lgpl2.0+)))
3483 (define-public python2-rsvg
3484 ;; XXX: This is actually a subset of gnome-python-desktop.
3486 (name "python2-rsvg")
3492 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3493 version ".tar.bz2"))
3496 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3497 (build-system gnu-build-system)
3499 `(("pkg-config" ,pkg-config)))
3501 `(("python" ,python-2)
3502 ("python2-pygtk" ,python2-pygtk)
3503 ("librsvg" ,librsvg)))
3504 (home-page "https://www.gnome.org")
3505 (synopsis "Python bindings to librsvg")
3507 "This package provides Python bindings to librsvg, the SVG rendering
3510 ;; This is the license of the rsvg bindings. The license of each module
3511 ;; of gnome-python-desktop is given in 'COPYING'.
3512 (license license:lgpl2.1+)))
3514 (define-public glib-networking
3516 (name "glib-networking")
3520 (uri (string-append "mirror://gnome/sources/glib-networking/"
3521 (version-major+minor version) "/"
3522 "glib-networking-" version ".tar.xz"))
3525 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3526 (build-system meson-build-system)
3528 `(#:configure-flags '("-Dlibproxy_support=false")))
3530 `(("pkg-config" ,pkg-config)
3531 ("intltool" ,intltool)))
3535 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3536 (home-page "https://www.gnome.org")
3537 (synopsis "Network-related GIO modules")
3539 "This package contains various network related extensions for the GIO
3541 (license license:lgpl2.0+)))
3549 (uri (string-append "mirror://gnome/sources/rest/"
3550 (version-major+minor version) "/"
3551 name "-" version ".tar.xz"))
3554 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3555 (build-system gnu-build-system)
3557 '(#:tests? #f ; tests require internet connection
3559 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3561 `(("glib-mkenums" ,glib "bin")
3562 ("gobject-introspection" ,gobject-introspection)
3563 ("pkg-config" ,pkg-config)))
3565 ;; rest-0.7.pc refers to all these.
3567 ("libsoup" ,libsoup)
3568 ("libxml2" ,libxml2)))
3569 (home-page "https://www.gtk.org/")
3570 (synopsis "RESTful web api query library")
3572 "This library was designed to make it easier to access web services that
3573 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3574 libxml to ease remote use of the RESTful API.")
3575 (license license:lgpl2.1+)))
3577 (define-public libsoup
3583 (uri (string-append "mirror://gnome/sources/libsoup/"
3584 (version-major+minor version) "/"
3585 "libsoup-" version ".tar.xz"))
3588 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3589 (build-system meson-build-system)
3590 (outputs '("out" "doc"))
3592 `(#:modules ((guix build utils)
3593 (guix build meson-build-system)
3596 #:configure-flags '("-Dgtk_doc=true")
3598 (modify-phases %standard-phases
3599 (add-after 'unpack 'adjust-tests
3601 ;; This test fails due to missing /etc/nsswitch.conf
3602 ;; in the build environment.
3603 (substitute* "tests/socket-test.c"
3604 ((".*/sockets/unconnected.*") ""))
3606 ;; These fail because "subdomain.localhost" does not resolve in
3607 ;; the build environment.
3608 (substitute* "tests/hsts-test.c"
3609 ((".*/hsts/basic.*") "")
3610 ((".*/hsts/subdomains.*") "")
3611 ((".*/hsts/superdomain.*") "")
3612 ((".*/hsts/utf8-address.*") ""))
3613 (substitute* "tests/hsts-db-test.c"
3614 ((".*/hsts-db/subdomains.*") ""))
3616 ;; Generate a self-signed certificate that has "localhost" as its
3617 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3618 ;; 3.5.12, tests such as "ssl-tests" fail:
3620 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3622 ;; 'certtool' is interactive so we have to pipe it the answers.
3623 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3624 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3625 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3626 (for-each (lambda (line)
3631 "Guix" ;Organizational unit name
3632 "GNU" ;Organization name
3634 "" ;State or province
3636 "" ;subject's domain component (DC)
3639 "-1" ;expiration time
3640 "N" ;belong to authority?
3641 "N" ;web client certificate?
3643 "Y" ;web server certificate?
3644 "localhost" ;dnsName of subject
3645 "" ;dnsName of subject (end)
3647 "127.0.0.1" ;IP address of subject
3649 "" ;encryption (RSA)?
3650 "" ;data encryption?
3651 "" ;sign OCSP requests?
3654 "" ;email protection?
3655 "" ;URI of the CRL distribution point
3660 (add-after 'install 'move-doc
3661 (lambda* (#:key outputs #:allow-other-keys)
3662 (let ((out (assoc-ref outputs "out"))
3663 (doc (assoc-ref outputs "doc")))
3664 (mkdir-p (string-append doc "/share"))
3665 (copy-recursively (string-append out "/share/gtk-doc")
3666 (string-append doc "/share/gtk-doc"))
3667 (delete-file-recursively (string-append out "/share/gtk-doc"))
3670 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3671 ("gobject-introspection" ,gobject-introspection)
3672 ("gtk-doc" ,gtk-doc)
3673 ("intltool" ,intltool)
3674 ("pkg-config" ,pkg-config)
3675 ("python" ,python-wrapper)
3677 ;; These are needed for the tests.
3678 ;; FIXME: Add PHP once available.
3680 ("gnutls" ,gnutls) ;for 'certtool'
3683 ;; libsoup-2.4.pc refers to all these.
3684 `(("brotli" ,google-brotli)
3687 ("libxml2" ,libxml2)
3691 `(("glib-networking" ,glib-networking)
3692 ("mit-krb5" ,mit-krb5)))
3693 (home-page "https://live.gnome.org/LibSoup/")
3694 (synopsis "GLib-based HTTP Library")
3696 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3697 and the GLib main loop, to integrate well with GNOME applications.")
3698 (license license:lgpl2.0+)))
3700 (define-public libsecret
3707 "mirror://gnome/sources/libsecret/"
3708 (version-major+minor version) "/"
3709 "libsecret-" version ".tar.xz"))
3712 "1hzz34gmsxxf1jm1b7qin390rkwbg8sx198xdkwxqp3q6cw19sc1"))))
3713 (build-system gnu-build-system)
3714 (outputs '("out" "doc"))
3716 `(#:tests? #f ; FIXME: Testing hangs.
3718 (list (string-append "--with-html-dir="
3719 (assoc-ref %outputs "doc")
3720 "/share/gtk-doc/html"))))
3722 `(("gettext" ,gettext-minimal)
3723 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3724 ("gobject-introspection" ,gobject-introspection)
3725 ("pkg-config" ,pkg-config)
3727 ("xsltproc" ,libxslt)))
3728 ;; These are needed for the tests.
3729 ;; FIXME: Add gjs once available.
3731 ;("python2" ,python-2)
3732 ;("python2-dbus" ,python2-dbus)
3733 ;("python2-pygobject" ,python2-pygobject)
3734 ;("python2-pygobject-2" ,python2-pygobject-2)))
3736 `(("glib" ,glib))) ; required by libsecret-1.pc
3738 `(("docbook-xsl" ,docbook-xsl)
3739 ("libgcrypt" ,libgcrypt)
3740 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3741 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3742 (synopsis "GObject bindings for \"Secret Service\" API")
3744 "Libsecret is a GObject based library for storing and retrieving passwords
3745 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3746 (license license:lgpl2.1+)))
3748 (define-public five-or-more
3750 (name "five-or-more")
3755 (uri (string-append "mirror://gnome/sources/five-or-more/"
3756 (version-major+minor version) "/"
3757 "five-or-more-" version ".tar.xz"))
3759 (base32 "0xw05dd2dwi9vsph9h158b4n89s5k07xrh6bjz1icm0pdmjwhpgk"))))
3760 (build-system meson-build-system)
3764 (modify-phases %standard-phases
3765 (add-after 'unpack 'skip-gtk-update-icon-cache
3767 (substitute* "meson_post_install.py"
3768 (("gtk-update-icon-cache") (which "true")))
3771 `(("pkg-config" ,pkg-config)
3772 ("appstream-glib" ,appstream-glib)
3773 ("desktop-file-utils" ,desktop-file-utils)
3774 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3775 ("intltool" ,intltool)
3776 ("itstool" ,itstool)
3778 ("xmllint" ,libxml2)))
3781 ("libgnome-games-support" ,libgnome-games-support)
3782 ("librsvg" ,librsvg)))
3783 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3784 (synopsis "Logic puzzle game")
3785 (description "Five or More is a game where you try to align
3786 five or more objects of the same color and shape causing them to disappear.
3787 On every turn more objects will appear, until the board is full.
3788 Try to last as long as possible.")
3789 (license license:gpl2+)))
3791 (define-public gnome-mines
3793 (name "gnome-mines")
3798 (uri (string-append "mirror://gnome/sources/" name "/"
3799 (version-major+minor version) "/"
3800 name "-" version ".tar.xz"))
3803 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
3804 (build-system meson-build-system)
3808 (modify-phases %standard-phases
3809 (add-after 'unpack 'skip-gtk-update-icon-cache
3811 (substitute* "build-aux/meson_post_install.py"
3812 (("gtk-update-icon-cache") (which "true")))
3815 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3816 ("pkg-config" ,pkg-config)
3817 ("desktop-file-utils" ,desktop-file-utils)
3818 ("intltool" ,intltool)
3819 ("itstool" ,itstool)
3822 ("appstream-glib" ,appstream-glib)))
3825 ("libgnome-games-support" ,libgnome-games-support)
3826 ("librsvg" ,librsvg)))
3827 (home-page "https://wiki.gnome.org/Apps/Mines")
3828 (synopsis "Minesweeper game")
3830 "Mines (previously gnomine) is a puzzle game where you locate mines
3831 floating in an ocean using only your brain and a little bit of luck.")
3832 (license license:gpl2+)))
3834 (define-public gnome-sudoku
3836 (name "gnome-sudoku")
3841 (uri (string-append "mirror://gnome/sources/" name "/"
3842 (version-major+minor version) "/"
3843 name "-" version ".tar.xz"))
3846 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3847 (build-system meson-build-system)
3851 (modify-phases %standard-phases
3852 (add-after 'unpack 'skip-gtk-update-icon-cache
3854 (substitute* "build-aux/post_install.py"
3855 (("gtk-update-icon-cache") (which "true")))
3858 `(("pkg-config" ,pkg-config)
3859 ("desktop-file-utils" ,desktop-file-utils)
3860 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3861 ("intltool" ,intltool)
3862 ("itstool" ,itstool)
3864 ("xmllint" ,libxml2)))
3867 ("json-glib" ,json-glib)
3869 ("librsvg" ,librsvg)
3870 ("qqwing" ,qqwing)))
3871 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3872 (synopsis "Japanese logic game")
3874 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3875 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3876 possible while still providing features that make playing difficult Sudoku
3878 (license license:gpl2+)))
3880 (define-public gnome-terminal
3882 (name "gnome-terminal")
3887 (uri (string-append "mirror://gnome/sources/" name "/"
3888 (version-major+minor version) "/"
3889 name "-" version ".tar.xz"))
3892 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
3893 (build-system glib-or-gtk-build-system)
3896 (list "--disable-migration" "--disable-search-provider"
3897 "--without-nautilus-extension")
3899 (modify-phases %standard-phases
3900 (add-before 'configure 'patch-/bin/true
3902 (substitute* "configure"
3903 (("/bin/true") (which "true"))))))))
3905 `(("pkg-config" ,pkg-config)
3906 ("desktop-file-utils" ,desktop-file-utils)
3907 ("intltool" ,intltool)
3908 ("itstool" ,itstool)
3909 ("xmllint" ,libxml2)))
3911 `(("dconf" ,dconf)))
3916 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3917 ("util-linux" ,util-linux "lib")
3919 (home-page "https://wiki.gnome.org/Apps/Terminal")
3920 (synopsis "Terminal emulator")
3922 "GNOME Terminal is a terminal emulator application for accessing a
3923 UNIX shell environment which can be used to run programs available on
3926 It supports several profiles, multiple tabs and implements several
3927 keyboard shortcuts.")
3928 (license license:gpl3+)))
3930 (define-public colord
3937 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3938 "colord-" version ".tar.xz"))
3940 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3941 (build-system meson-build-system)
3943 '(;; FIXME: One test fails:
3944 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3945 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3946 ;; application/x-zerosize
3949 #:configure-flags (list "-Dlocalstatedir=/var"
3950 ;; No dep on systemd.
3952 ;; Wants to install to global completion dir;
3954 "-Dbash_completion=false"
3955 "-Ddaemon_user=colord"
3958 ;; Requires spotread.
3959 "-Dargyllcms_sensor=false"
3960 ;; TODO: Requires docbook2x.
3963 (modify-phases %standard-phases
3964 (add-before 'configure 'patch-build-system
3965 (lambda* (#:key outputs #:allow-other-keys)
3966 (substitute* "rules/meson.build"
3967 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3968 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3970 (add-before 'configure 'set-sqlite3-file-name
3971 (lambda* (#:key inputs #:allow-other-keys)
3972 ;; "colormgr dump" works by invoking the "sqlite3" command.
3973 ;; Record its absolute file name.
3974 (let ((sqlite (assoc-ref inputs "sqlite")))
3975 (substitute* "client/cd-util.c"
3977 (string-append "\"" sqlite "/bin/sqlite3\"")))
3980 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3981 ("gettext" ,gettext-minimal)
3982 ("gobject-introspection" ,gobject-introspection)
3983 ("gtk-doc" ,gtk-doc)
3984 ("pkg-config" ,pkg-config)
3987 ;; colord.pc refers to all these.
3992 `(("dbus-glib" ,dbus-glib)
3994 ("libgudev" ,libgudev)
3997 ("python" ,python-wrapper)
3999 ("sane-backends" ,sane-backends)))
4000 (home-page "https://www.freedesktop.org/software/colord/")
4001 (synopsis "Color management service")
4002 (description "Colord is a system service that makes it easy to manage,
4003 install and generate color profiles to accurately color manage input and
4005 (license license:gpl2+)))
4007 (define-public geoclue
4015 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4016 version "/geoclue-" version ".tar.bz2"))
4019 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4020 (patches (search-patches "geoclue-config.patch"))))
4021 (build-system meson-build-system)
4023 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4025 `(("pkg-config" ,pkg-config)
4026 ("gobject-introspection" ,gobject-introspection)
4027 ("modem-manager" ,modem-manager)
4028 ("libnotify" ,libnotify)
4029 ("gtk-doc", gtk-doc)
4030 ("intltool" ,intltool)))
4033 ("glib:bin" ,glib "bin")
4034 ("glib-networking" ,glib-networking)
4035 ("json-glib" ,json-glib)
4036 ("libsoup" ,libsoup)))
4037 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4038 (synopsis "Geolocation service")
4039 (description "Geoclue is a D-Bus service that provides location
4040 information. The primary goal of the Geoclue project is to make creating
4041 location-aware applications as simple as possible, while the secondary goal is
4042 to ensure that no application can access location information without explicit
4043 permission from user.")
4044 (license license:gpl2+)))
4046 (define-public geocode-glib
4048 (name "geocode-glib")
4052 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4053 (version-major+minor version) "/"
4054 "geocode-glib-" version ".tar.xz"))
4057 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4058 (build-system meson-build-system)
4061 (modify-phases %standard-phases
4062 ;; The tests require a bunch of locales.
4063 (add-before 'check 'set-locales
4064 (lambda* (#:key inputs #:allow-other-keys)
4065 (setenv "GUIX_LOCPATH"
4066 (string-append (assoc-ref inputs "glibc-locales")
4070 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4071 ("glibc-locales" ,glibc-locales) ; for tests
4072 ("gettext" ,gettext-minimal)
4073 ("gobject-introspection" ,gobject-introspection)
4074 ("gtk-doc" ,gtk-doc)
4075 ("pkg-config" ,pkg-config)
4076 ("json-glib" ,json-glib)))
4078 ;; geocode-glib-1.0.pc refers to GIO.
4081 `(("libsoup" ,libsoup)))
4082 (home-page "https://github.com/GNOME/geocode-glib/")
4083 (synopsis "Geocoding and reverse-geocoding library")
4085 "geocode-glib is a convenience library for geocoding (finding longitude,
4086 and latitude from an address) and reverse geocoding (finding an address from
4087 coordinates) using the Nominatim service. geocode-glib caches requests for
4088 faster results and to avoid unnecessary server load.")
4089 (license license:lgpl2.0+)))
4091 (define-public upower
4097 (uri (string-append "https://upower.freedesktop.org/releases/"
4098 "upower-" version ".tar.xz"))
4101 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4102 (patches (search-patches "upower-builddir.patch"))
4103 (modules '((guix build utils)))
4107 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4108 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4109 ;; 'dbus-configuration-directory' in (gnu services dbus)
4110 ;; expects it in etc/. Thus, move it back to its previous
4112 (substitute* "src/Makefile.in"
4113 (("^dbusconfdir =.*$")
4114 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4116 (build-system glib-or-gtk-build-system)
4118 '( ;; The tests want to contact the system bus, which can't be done in the
4119 ;; build environment. The integration test can run, but the last of
4120 ;; the up-self-tests doesn't. Disable tests for now.
4122 #:configure-flags (list "--localstatedir=/var"
4123 (string-append "--with-udevrulesdir="
4124 (assoc-ref %outputs "out")
4125 "/lib/udev/rules.d"))))
4127 `(("gobject-introspection" ,gobject-introspection)
4128 ("pkg-config" ,pkg-config)
4129 ("intltool" ,intltool)
4133 ("libxslt" ,libxslt) ;for 'xsltproc'
4134 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4135 ("docbook-xsl" ,docbook-xsl)))
4137 `(("dbus-glib" ,dbus-glib)
4138 ("libgudev" ,libgudev)
4139 ("libusb" ,libusb)))
4141 ;; In Requires of upower-glib.pc.
4143 (home-page "https://upower.freedesktop.org/")
4144 (synopsis "System daemon for managing power devices")
4146 "UPower is an abstraction for enumerating power devices,
4147 listening to device events and querying history and statistics. Any
4148 application or service on the system can access the org.freedesktop.UPower
4149 service via the system message bus.")
4150 (license license:gpl2+)))
4152 (define-public libgweather
4154 (name "libgweather")
4158 (uri (string-append "mirror://gnome/sources/" name "/"
4159 (version-major+minor version) "/"
4160 name "-" version ".tar.xz"))
4163 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4164 (build-system meson-build-system)
4166 `(#:tests? #f ; one of two tests requires network access
4168 `(,(string-append "-Dzoneinfo_dir="
4169 (assoc-ref %build-inputs "tzdata")
4170 "/share/zoneinfo"))))
4172 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4173 ("gobject-introspection" ,gobject-introspection)
4174 ("pkg-config" ,pkg-config)
4176 ("intltool" ,intltool)))
4178 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4181 ("gdk-pixbuf" ,gdk-pixbuf)
4182 ("libxml2" ,libxml2)
4183 ("libsoup" ,libsoup)
4184 ("geocode-glib" ,geocode-glib)))
4186 `(("tzdata" ,tzdata)))
4187 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4188 (synopsis "Location, time zone, and weather library for GNOME")
4190 "libgweather is a library to access weather information from online
4191 services for numerous locations.")
4192 (license license:gpl2+)))
4194 (define-public gnome-settings-daemon
4196 (name "gnome-settings-daemon")
4201 (uri (string-append "mirror://gnome/sources/" name "/"
4202 (version-major+minor version) "/"
4203 name "-" version ".tar.xz"))
4206 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4207 (build-system meson-build-system)
4211 (list (string-append "-Dudev_dir="
4212 (assoc-ref %outputs "out")
4213 "/lib/udev/rules.d/")
4215 ;; Otherwise, the RUNPATH will lack the final path component.
4216 (string-append "-Dc_link_args=-Wl,-rpath="
4217 (assoc-ref %outputs "out")
4218 "/lib/gnome-settings-daemon-3.0"))
4219 ;; Color management test can't reach the colord system service.
4222 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4223 ("pkg-config" ,pkg-config)
4224 ("intltool" ,intltool)
4225 ("xsltproc" ,libxslt)
4226 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4227 ("docbook-xml" ,docbook-xml-4.2)
4228 ("docbook-xsl" ,docbook-xsl)))
4230 `(("alsa-lib" ,alsa-lib)
4232 ("libgudev" ,libgudev)
4235 ("pulseaudio" ,pulseaudio)
4236 ("libcanberra" ,libcanberra)
4238 ("libxtst" ,libxtst)
4240 ("libnotify" ,libnotify)
4241 ("geoclue" ,geoclue)
4242 ("geocode-glib" ,geocode-glib)
4243 ("libgweather" ,libgweather)
4244 ("gnome-desktop" ,gnome-desktop)
4247 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4248 ("libwacom" ,libwacom)
4249 ("librsvg" ,librsvg)
4250 ("xf86-input-wacom" ,xf86-input-wacom)
4251 ("wayland" ,wayland)
4252 ("network-manager" ,network-manager)
4254 ("modem-manager" ,modem-manager)))
4255 (home-page "https://www.gnome.org")
4256 (synopsis "GNOME settings daemon")
4258 "This package contains the daemon responsible for setting the various
4259 parameters of a GNOME session and the applications that run under it. It
4260 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4261 settings, themes, mouse settings, and startup of other daemons.")
4262 (license license:gpl2+)))
4264 (define-public totem-pl-parser
4266 (name "totem-pl-parser")
4270 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4271 (version-major+minor version) "/"
4272 "totem-pl-parser-" version ".tar.xz"))
4275 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4276 (build-system meson-build-system)
4278 ;; FIXME: Tests require gvfs.
4281 `(("intltool" ,intltool)
4282 ("glib" ,glib "bin")
4283 ("gobject-introspection" ,gobject-introspection)
4284 ("pkg-config" ,pkg-config)))
4288 ("libarchive" ,libarchive)
4289 ("libgcrypt" ,libgcrypt)
4290 ("libxml2" ,libxml2)))
4292 `(("libsoup" ,libsoup)))
4293 (home-page "https://projects.gnome.org/totem")
4294 (synopsis "Library to parse and save media playlists for GNOME")
4295 (description "Totem-pl-parser is a GObjects-based library to parse and save
4296 playlists in a variety of formats.")
4297 (license license:lgpl2.0+)))
4299 (define-public aisleriot
4305 (uri (string-append "mirror://gnome/sources/aisleriot/"
4306 (version-major+minor version) "/"
4307 "aisleriot-" version ".tar.xz"))
4310 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4311 (build-system glib-or-gtk-build-system)
4314 '("--with-platform=gtk-only"
4315 "--with-card-theme-formats=svg")))
4317 `(("desktop-file-utils" ,desktop-file-utils)
4318 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4319 ("intltool" ,intltool)
4320 ("itstool" ,itstool)
4321 ("pkg-config" ,pkg-config)
4322 ("xmllint" ,libxml2)))
4325 ("guile" ,guile-2.2)
4326 ("libcanberra" ,libcanberra)
4327 ("librsvg" ,librsvg)))
4328 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4329 (synopsis "Solitaire card games")
4331 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4332 which are easy to play with the aid of a mouse.")
4333 (license license:gpl3+)))
4341 (uri (string-append "mirror://gnome/sources/amtk/"
4342 (version-major+minor version) "/"
4343 "amtk-" version ".tar.xz"))
4346 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4347 (build-system gnu-build-system)
4349 '(#:configure-flags '("--enable-gtk-doc")))
4351 `(("gobject-introspection" ,gobject-introspection)
4352 ("glib:bin" ,glib "bin") ; for glib-mkenums
4353 ("gtk-doc" ,gtk-doc)
4354 ("pkg-config" ,pkg-config)))
4358 (home-page "https://wiki.gnome.org/Projects/Amtk")
4359 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4361 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4362 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4363 both a traditional UI or a modern UI with a GtkHeaderBar.")
4364 (license license:lgpl2.1+)))
4366 (define-public devhelp
4372 (uri (string-append "mirror://gnome/sources/" name "/"
4373 (version-major+minor version) "/"
4374 name "-" version ".tar.xz"))
4377 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
4378 (build-system meson-build-system)
4382 (modify-phases %standard-phases
4383 (add-after 'unpack 'skip-gtk-update-icon-cache
4384 ;; Don't create 'icon-theme.cache'.
4386 (substitute* "meson_post_install.py"
4387 (("gtk-update-icon-cache") "true"))
4390 `(("intltool" ,intltool)
4391 ("itstool" ,itstool)
4392 ("gobject-introspection" ,gobject-introspection)
4393 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4394 ("pkg-config" ,pkg-config)))
4397 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4398 ("webkitgtk" ,webkitgtk)))
4399 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4400 (synopsis "API documentation browser for GNOME")
4402 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4403 natively with GTK-Doc (the API reference system developed for GTK+ and used
4404 throughout GNOME for API documentation).")
4405 (license license:gpl2+)))
4414 (uri (string-append "mirror://gnome/sources/cogl/"
4415 (version-major+minor version) "/"
4416 "cogl-" version ".tar.xz"))
4418 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
4419 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4420 ;; cogl, corresponding changes may be appropriate in mutter as well.
4421 (build-system gnu-build-system)
4423 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4424 ("gobject-introspection" ,gobject-introspection)
4425 ;;("xorg-server" ,xorg-server) ; for the test suite
4426 ("pkg-config" ,pkg-config)))
4429 ("gdk-pixbuf" ,gdk-pixbuf)
4431 ("libxext" ,libxext)
4432 ("libxfixes" ,libxfixes)
4433 ("libxdamage" ,libxdamage)
4434 ("libxcomposite" ,libxcomposite)
4435 ("libxrandr" ,libxrandr)))
4440 ("gstreamer" ,gstreamer)
4441 ("gst-plugins-base" ,gst-plugins-base)
4442 ("wayland" ,wayland)))
4444 `(#:configure-flags (list "--enable-cogl-gst"
4445 "--enable-wayland-egl-platform"
4446 "--enable-wayland-egl-server"
4448 ;; Arrange to pass an absolute file name to
4449 ;; dlopen for libGL.so.
4450 (string-append "--with-gl-libname="
4451 (assoc-ref %build-inputs "mesa")
4453 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4454 ;; _FontTransOpen: Unable to Parse address
4455 ;; ${prefix}/share/fonts/X11/misc/
4459 (modify-phases %standard-phases
4460 (add-before 'check 'start-xorg-server
4461 (lambda* (#:key inputs #:allow-other-keys)
4462 ;; The test suite requires a running X server.
4463 (system (format #f "~a/bin/Xvfb :1 &"
4464 (assoc-ref inputs "xorg-server")))
4465 (setenv "DISPLAY" ":1")
4467 (home-page "https://www.cogl3d.org")
4468 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4470 "Cogl is a small library for using 3D graphics hardware to draw pretty
4471 pictures. The API departs from the flat state machine style of OpenGL and is
4472 designed to make it easy to write orthogonal components that can render
4473 without stepping on each others toes.")
4474 (license (list license:expat ; most of the code
4475 license:bsd-3 ; cogl/cogl-point-in-poly.c
4476 license:sgifreeb2.0 ; cogl-path/tesselator/
4477 license:asl2.0)))) ; examples/android/
4479 (define-public clutter
4486 (uri (string-append "mirror://gnome/sources/" name "/"
4487 (version-major+minor version) "/"
4488 name "-" version ".tar.xz"))
4491 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4492 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4493 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4494 (build-system gnu-build-system)
4496 "doc")) ;9 MiB of gtk-doc HTML pages
4498 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4499 ("gobject-introspection" ,gobject-introspection)
4500 ("pkg-config" ,pkg-config)
4501 ("xsltproc" ,libxslt)))
4507 ("json-glib" ,json-glib)
4509 ("libxcomposite" ,libxcomposite)
4510 ("libxdamage" ,libxdamage)
4511 ("libxext" ,libxext)
4512 ("xinput" ,xinput)))
4514 `(("libxkbcommon" ,libxkbcommon)
4517 `(#:configure-flags (list "--enable-x11-backend=yes"
4519 ;; This produces share/doc/{clutter,cally}.
4520 (string-append "--with-html-dir="
4521 (assoc-ref %outputs "doc")
4523 ;; XXX FIXME: Get test suite working. It would probably fail in the
4524 ;; same way the cogl tests fail, since clutter is based on cogl.
4526 (home-page "http://www.clutter-project.org")
4527 (synopsis "OpenGL-based interactive canvas library")
4529 "Clutter is an OpenGL-based interactive canvas library, designed for
4530 creating fast, mainly 2D single window applications such as media box UIs,
4531 presentations, kiosk style applications and so on.")
4532 (license license:lgpl2.0+)))
4534 (define-public clutter-gtk
4536 (name "clutter-gtk")
4541 (uri (string-append "mirror://gnome/sources/" name "/"
4542 (version-major+minor version) "/"
4543 name "-" version ".tar.xz"))
4546 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4547 (build-system gnu-build-system)
4549 `(("pkg-config" ,pkg-config)
4550 ("gobject-introspection" ,gobject-introspection)))
4552 ;; clutter-gtk.pc refers to all these.
4553 `(("clutter" ,clutter)
4555 (home-page "http://www.clutter-project.org")
4556 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4558 "Clutter is an OpenGL-based interactive canvas library, designed for
4559 creating fast, mainly 2D single window applications such as media box UIs,
4560 presentations, kiosk style applications and so on.")
4561 (license license:lgpl2.0+)))
4563 (define-public clutter-gst
4565 (name "clutter-gst")
4570 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4571 (version-major+minor version) "/"
4572 "clutter-gst-" version ".tar.xz"))
4574 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4575 (build-system gnu-build-system)
4577 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4578 ("pkg-config" ,pkg-config)
4579 ("gobject-introspection" ,gobject-introspection)))
4581 `(("clutter" ,clutter)
4582 ("gstreamer" ,gstreamer)
4583 ("gst-plugins-base" ,gst-plugins-base)))
4584 (home-page "http://www.clutter-project.org")
4585 (synopsis "Integration library for using GStreamer with Clutter")
4587 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4588 It provides a GStreamer sink to upload frames to GL and an actor that
4589 implements the ClutterGstPlayer interface using playbin. Clutter is an
4590 OpenGL-based interactive canvas library.")
4591 (license license:lgpl2.0+)))
4593 (define-public libchamplain
4595 (name "libchamplain")
4600 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4604 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4605 (build-system gnu-build-system)
4606 (arguments '(#:configure-flags '("--enable-vala")))
4608 `(("gobject-introspection" ,gobject-introspection)
4609 ("pkg-config" ,pkg-config)
4612 `(("libsoup" ,libsoup)
4614 ("clutter" ,clutter)
4615 ("clutter-gtk" ,clutter-gtk)
4616 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4620 (home-page "https://projects.gnome.org/libchamplain/")
4621 (synopsis "C library providing a ClutterActor to display maps")
4623 "libchamplain is a C library providing a ClutterActor to display maps.
4624 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4625 and Perl bindings are also available. It supports numerous free map sources
4626 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4627 (license license:lgpl2.1+)))
4636 (uri (string-append "mirror://gnome/sources/gom/"
4637 (version-major+minor version) "/"
4638 "gom-" version ".tar.xz"))
4641 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4642 (build-system gnu-build-system)
4644 `(("intltool" ,intltool)
4645 ("pkg-config" ,pkg-config)
4646 ("gobject-introspection" ,gobject-introspection)))
4649 ("gdk-pixbuf" ,gdk-pixbuf)
4650 ("sqlite" ,sqlite)))
4651 ;; XXX TODO: Figure out how to run the test suite.
4652 (arguments `(#:tests? #f))
4653 (home-page "https://wiki.gnome.org/Projects/Gom")
4654 (synopsis "Object mapper from GObjects to SQLite")
4656 "Gom provides an object mapper from GObjects to SQLite. It helps you
4657 write applications that need to store structured data as well as make complex
4658 queries upon that data.")
4659 (license license:lgpl2.1+)))
4661 (define-public libgnome-games-support
4663 (name "libgnome-games-support")
4667 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4668 (version-major+minor version) "/"
4669 "libgnome-games-support-" version ".tar.xz"))
4672 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4673 (build-system gnu-build-system)
4676 (modify-phases %standard-phases
4677 (add-before 'check 'pre-check
4679 ;; Tests require a writable HOME.
4680 (setenv "HOME" (getcwd))
4683 `(("intltool" ,intltool)
4684 ("pkg-config" ,pkg-config)
4687 ;; Required by libgnome-games-support-1.0.pc
4689 ("libgee" ,libgee)))
4690 (home-page "https://www.gnome.org/")
4691 (synopsis "Useful functionality shared among GNOME games")
4693 "libgnome-games-support is a small library intended for internal use by
4694 GNOME Games, but it may be used by others.")
4695 (license license:lgpl3+)))
4697 (define-public gnome-klotski
4699 (name "gnome-klotski")
4703 (uri (string-append "mirror://gnome/sources/" name "/"
4704 (version-major+minor version) "/"
4705 name "-" version ".tar.xz"))
4708 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4709 (build-system meson-build-system)
4713 (modify-phases %standard-phases
4714 (add-after 'unpack 'skip-gtk-update-icon-cache
4715 ;; Don't create 'icon-theme.cache'.
4717 (substitute* "build-aux/meson_post_install.py"
4718 (("gtk-update-icon-cache") (which "true")))
4721 `(("desktop-file-utils" ,desktop-file-utils)
4722 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4723 ("intltool" ,intltool)
4724 ("itstool" ,itstool)
4725 ("pkg-config" ,pkg-config)
4727 ("xmllint" ,libxml2)))
4730 ("libgnome-games-support" ,libgnome-games-support)
4731 ("librsvg" ,librsvg)))
4732 (home-page "https://wiki.gnome.org/Apps/Klotski")
4733 (synopsis "Sliding block puzzles")
4735 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4736 the patterned block to the area bordered by green markers. To do so, you will
4737 need to slide other blocks out of the way. Complete each puzzle in as few moves
4739 (license license:gpl2+)))
4741 (define-public grilo
4748 (uri (string-append "mirror://gnome/sources/" name "/"
4749 (version-major+minor version) "/"
4750 name "-" version ".tar.xz"))
4753 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4754 (build-system meson-build-system)
4756 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4757 ("intltool" ,intltool)
4758 ("pkg-config" ,pkg-config)
4759 ("gobject-introspection" ,gobject-introspection)
4760 ("gtk-doc" ,gtk-doc)
4763 `(("cyrus-sasl" ,cyrus-sasl)
4766 ("libxml2" ,libxml2)
4767 ("liboauth" ,liboauth)
4768 ("libsoup" ,libsoup)
4769 ("totem-pl-parser" ,totem-pl-parser)))
4770 (native-search-paths
4771 (list (search-path-specification
4772 (variable "GRL_PLUGIN_PATH")
4773 (files (list (string-append "lib/grilo-"
4774 (version-major+minor version)))))))
4775 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4776 (synopsis "Framework for discovering and browsing media")
4778 "Grilo is a framework focused on making media discovery and browsing easy
4779 for application developers.")
4780 (license license:lgpl2.1+)))
4782 (define-public grilo-plugins
4784 (name "grilo-plugins")
4789 (uri (string-append "mirror://gnome/sources/" name "/"
4790 (version-major+minor version) "/"
4791 name "-" version ".tar.xz"))
4794 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4795 (build-system meson-build-system)
4797 `(("gettext" ,gettext-minimal)
4798 ("glib:bin" ,glib "bin")
4799 ("gtk+:bin" ,gtk+ "bin")
4800 ("itstool" ,itstool)
4801 ("pkg-config" ,pkg-config)))
4802 ;; TODO: ahavi, gstreamer
4805 ;("gmime" ,gmime) ; unused
4806 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4808 ;("gssdp" ,gssdp) ; unused
4809 ;("gupnp" ,gupnp) ; unused
4810 ;("gupnp-av" ,gupnp-av) ; unused
4811 ("json-glib" ,json-glib)
4813 ("libgdata" ,libgdata)
4814 ("libmediaart" ,libmediaart)
4815 ;("librest" ,rest) ; unused
4816 ("libsoup" ,libsoup)
4817 ("totam-pl-parser" ,totem-pl-parser)
4818 ("tracker" ,tracker))) ; unused because it's too old
4821 ;;Disable lua-factory as it needs missing dependencies
4822 #:configure-flags '("-Denable-lua-factory=no")))
4823 (home-page "https://live.gnome.org/Grilo")
4824 (synopsis "Plugins for the Grilo media discovery library")
4826 "Grilo is a framework focused on making media discovery and browsing easy
4827 for application developers. This package provides plugins for common media
4828 discovery protocols.")
4829 (license license:lgpl2.1+)))
4831 (define-public totem
4838 (uri (string-append "mirror://gnome/sources/" name "/"
4839 (version-major+minor version) "/"
4840 name "-" version ".tar.xz"))
4843 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
4844 (build-system meson-build-system)
4846 `(("pkg-config" ,pkg-config)
4847 ("desktop-file-utils" ,desktop-file-utils)
4848 ("gobject-introspection" ,gobject-introspection)
4849 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4850 ("intltool" ,intltool)
4851 ("itstool" ,itstool)
4852 ("xmllint" ,libxml2)
4853 ("python-pylint" ,python-pylint)
4854 ("xorg-server" ,xorg-server-for-tests)))
4856 `(("dconf" ,dconf)))
4859 ("gdk-pixbuf" ,gdk-pixbuf)
4862 ("dbus-glib" ,dbus-glib)
4863 ("clutter" ,clutter)
4864 ("clutter-gtk" ,clutter-gtk)
4865 ("clutter-gst" ,clutter-gst)
4866 ("xorgproto" ,xorgproto)
4867 ("libxxf86vm" ,libxxf86vm)
4868 ("libxtst" ,libxtst)
4869 ("libxrandr" ,libxrandr)
4870 ("libxml2" ,libxml2)
4871 ("libsoup" ,libsoup)
4872 ("libpeas" ,libpeas)
4873 ("librsvg" ,librsvg)
4875 ("gnome-desktop" ,gnome-desktop)
4876 ("gstreamer" ,gstreamer)
4877 ("gst-plugins-base" ,gst-plugins-base)
4878 ("gst-plugins-good" ,gst-plugins-good)
4879 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4880 ("adwaita-icon-theme" ,adwaita-icon-theme)
4882 ("python-pygobject" ,python-pygobject)
4883 ("totem-pl-parser" ,totem-pl-parser)
4885 ("grilo-plugins" ,grilo-plugins)
4890 ;; Disable automatic GStreamer plugin installation via PackageKit and
4892 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4894 ;; Do not build .a files for the plugins, it's
4895 ;; completely useless. This saves 2 MiB.
4896 "--default-library" "shared")
4898 (modify-phases %standard-phases
4899 (add-after 'unpack 'skip-gtk-update-icon-cache
4900 ;; Don't create 'icon-theme.cache'.
4902 (substitute* "meson_post_install.py"
4903 (("gtk-update-icon-cache") "true"))
4906 'install 'disable-cache-generation
4908 (setenv "DESTDIR" "/")
4913 ;; Tests require a running X server.
4914 (system "Xvfb :1 &")
4915 (setenv "DISPLAY" ":1")
4918 'install 'wrap-totem
4919 (lambda* (#:key inputs outputs #:allow-other-keys)
4920 (let ((out (assoc-ref outputs "out"))
4921 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4922 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4923 (wrap-program (string-append out "/bin/totem")
4924 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4925 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4926 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4927 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4929 (home-page "https://wiki.gnome.org/Apps/Videos")
4930 (synopsis "Simple media player for GNOME based on GStreamer")
4931 (description "Totem is a simple yet featureful media player for GNOME
4932 which can read a large number of file formats.")
4933 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4934 ;; to be used and distributed together with GStreamer and Totem. See
4935 ;; file://COPYING in the source distribution for details.
4936 (license license:gpl2+)))
4938 (define-public rhythmbox
4944 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4945 (version-major+minor version) "/"
4946 "rhythmbox-" version ".tar.xz"))
4949 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4950 (build-system glib-or-gtk-build-system)
4953 (list "--enable-lirc"
4960 (modify-phases %standard-phases
4962 'install 'wrap-rhythmbox
4963 (lambda* (#:key inputs outputs #:allow-other-keys)
4964 (let ((out (assoc-ref outputs "out"))
4965 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4966 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4967 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4968 (python-path (getenv "PYTHONPATH")))
4969 (wrap-program (string-append out "/bin/rhythmbox")
4970 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4971 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4972 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4973 `("PYTHONPATH" ":" prefix (,python-path))))
4976 `(("dconf" ,dconf)))
4978 `(("itstool" ,itstool)
4979 ("intltool" ,intltool)
4980 ("glib" ,glib "bin")
4981 ("gobject-introspection" ,gobject-introspection)
4982 ("desktop-file-utils" ,desktop-file-utils)
4983 ("pkg-config" ,pkg-config)
4984 ("xmllint" ,libxml2)))
4986 `(("json-glib" ,json-glib)
4988 ("gnome-desktop" ,gnome-desktop)
4990 ("python-pygobject" ,python2-pygobject)
4993 ("adwaita-icon-theme" ,adwaita-icon-theme)
4995 ("grilo-plugins" ,grilo-plugins)
4996 ("gstreamer" ,gstreamer)
4997 ("gst-plugins-base" ,gst-plugins-base)
4998 ("gst-plugins-good" ,gst-plugins-good)
4999 ("totem-pl-parser" ,totem-pl-parser)
5000 ("libgudev" ,libgudev)
5001 ;;("libmtp" ,libmtp) FIXME: Not detected
5002 ("libsecret" ,libsecret)
5003 ("libsoup" ,libsoup)
5004 ("libnotify" ,libnotify)
5005 ("libpeas" ,libpeas)
5007 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5008 ;;("clutter" ,clutter)
5009 ;;("clutter-gtk" ,clutter-gtk)
5010 ;;("clutter-gst" ,clutter-gst)
5011 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5018 ("brasero" ,brasero)))
5019 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5020 (synopsis "Music player for GNOME")
5021 (description "Rhythmbox is a music playing application for GNOME. It
5022 supports playlists, song ratings, and any codecs installed through gstreamer.")
5023 (license license:gpl2+)))
5031 (uri (string-append "mirror://gnome/sources/" name "/"
5032 (version-major+minor version) "/"
5033 name "-" version ".tar.xz"))
5036 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5037 (build-system meson-build-system)
5040 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5041 (list (string-append "-Dc_link_args=-Wl,-rpath="
5042 (assoc-ref %outputs "out") "/lib/eog"))
5044 (modify-phases %standard-phases
5045 (add-after 'unpack 'skip-gtk-update-icon-cache
5046 ;; Don't create 'icon-theme.cache'.
5048 (substitute* "meson_post_install.py"
5049 (("gtk-update-icon-cache") "true"))
5051 (add-after 'install 'wrap-eog
5052 (lambda* (#:key outputs #:allow-other-keys)
5053 (let ((out (assoc-ref outputs "out"))
5054 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5055 (wrap-program (string-append out "/bin/eog")
5056 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5059 `(("dconf" ,dconf)))
5061 `(("intltool" ,intltool)
5062 ("itstool" ,itstool)
5063 ("glib" ,glib "bin")
5064 ("gobject-introspection" ,gobject-introspection)
5065 ("pkg-config" ,pkg-config)
5066 ("xmllint" ,libxml2)))
5068 `(("gnome-desktop" ,gnome-desktop)
5069 ("shared-mime-info" ,shared-mime-info)
5070 ("adwaita-icon-theme" ,adwaita-icon-theme)
5073 ("libexif" ,libexif)
5074 ("libpeas" ,libpeas)
5075 ("libjpeg" ,libjpeg-turbo)
5076 ("librsvg" ,librsvg-next)
5077 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5079 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5080 (synopsis "GNOME image viewer")
5081 (description "Eye of GNOME is the GNOME image viewer. It
5082 supports image conversion, rotation, and slideshows.")
5083 (license license:gpl2+)))
5085 (define-public eog-plugins
5086 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5087 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5088 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5089 ;; 'XDG_DATA_DIRS' appropriately set.
5091 (name "eog-plugins")
5095 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5096 (version-major+minor version) "/"
5097 "eog-plugins-" version ".tar.xz"))
5100 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5101 (build-system gnu-build-system)
5102 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5103 (synopsis "Extensions for the Eye of GNOME image viewer")
5105 `(("pkg-config" ,pkg-config)
5106 ("gettext" ,gettext-minimal)))
5111 ("libpeas" ,libpeas)
5112 ("libexif" ,libexif)
5113 ("libchamplain" ,libchamplain)))
5115 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5119 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5120 @item @dfn{Map}, which displays a map of where the picture was taken on the
5122 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5125 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5126 ;; long suspicious byte stream that goes to a
5127 ;; ".gresource.eog_postasa_plugin" ELF section.
5128 (license license:gpl2+)))
5130 (define-public libgudev
5136 (uri (string-append "mirror://gnome/sources/" name "/"
5137 version "/" name "-" version ".tar.xz"))
5140 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5141 (build-system gnu-build-system)
5144 ;; umockdev depends on libgudev.
5145 (list "--disable-umockdev")))
5147 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5148 ("gobject-introspection" ,gobject-introspection)
5149 ("pkg-config" ,pkg-config)))
5151 `(("glib" ,glib))) ; required by gudev-1.0.pc
5154 (home-page "https://wiki.gnome.org/Projects/libgudev")
5155 (synopsis "GObject bindings for libudev")
5157 "This library provides GObject bindings for libudev. It was originally
5158 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5159 (license license:lgpl2.1+)))
5167 (uri (string-append "mirror://gnome/sources/gvfs/"
5168 (version-major+minor version) "/"
5169 "gvfs-" version ".tar.xz"))
5172 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5173 (build-system meson-build-system)
5177 (list "-Dsystemduserunitdir=no"
5179 ;; Otherwise, the RUNPATH will lack the final path component.
5180 (string-append "-Dc_link_args=-Wl,-rpath="
5181 (assoc-ref %outputs "out") "/lib/gvfs"))))
5183 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5184 ("gettext" ,gettext-minimal)
5185 ("gtk-doc" ,gtk-doc)
5186 ("pkg-config" ,pkg-config)
5187 ("xsltproc" ,libxslt)))
5190 ("docbook-xml" ,docbook-xml-4.2)
5191 ("docbook-xsl" ,docbook-xsl)
5193 ("elogind" ,elogind)
5197 ("gnome-online-accounts" ,gnome-online-accounts)
5198 ("libarchive" ,libarchive)
5199 ("libbluray" ,libbluray)
5201 ("libcdio-paranoia" ,libcdio-paranoia)
5202 ("libgcrypt" ,libgcrypt)
5203 ("libgdata" ,libgdata)
5204 ("libgphoto2" ,libgphoto2)
5205 ("libgudev" ,libgudev)
5206 ("libimobiledevice" ,libimobiledevice)
5209 ("libsecret" ,libsecret)
5210 ("libsmbclient" ,samba)
5211 ("libsoup" ,libsoup)
5212 ("libxml2" ,libxml2)
5213 ("openssh" ,openssh)
5215 ("udisks" ,udisks)))
5216 (home-page "https://wiki.gnome.org/gvfs/")
5217 (synopsis "Userspace virtual file system for GIO")
5219 "GVFS is a userspace virtual file system designed to work with the I/O
5220 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5221 to all applications using the GIO API. It also supports exposing the GVFS
5222 mounts to non-GIO applications using FUSE.
5224 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5226 (license license:lgpl2.0+)))
5235 (url "https://github.com/hughsie/libgusb.git")
5237 (file-name (git-file-name name version))
5240 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5241 (build-system meson-build-system)
5243 `(("gobject-introspection" ,gobject-introspection)
5244 ("pkg-config" ,pkg-config)
5246 ("gtk-doc" ,gtk-doc)))
5248 ;; Both of these are required by gusb.pc.
5250 ("libusb" ,libusb)))
5252 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5253 (home-page "https://github.com/hughsie/libgusb")
5254 (synopsis "GLib binding for libusb1")
5256 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5257 asynchronous control, bulk and interrupt transfers with proper cancellation
5258 and integration into a mainloop. This makes it easy to integrate low level
5259 USB transfers with your high-level application or system daemon.")
5260 (license license:lgpl2.1+)))
5262 (define-public simple-scan
5264 (name "simple-scan")
5269 (uri (string-append "mirror://gnome/sources/simple-scan/"
5270 (version-major+minor version) "/"
5271 "simple-scan-" version ".tar.xz"))
5273 (base32 "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"))))
5274 (build-system meson-build-system)
5275 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5277 '(#:glib-or-gtk? #t))
5283 ("gdk-pixbuf" ,gdk-pixbuf)
5285 ("libsane" ,sane-backends)))
5287 `(("gettext" ,gettext-minimal)
5288 ("itstool" ,itstool)
5289 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5290 ("pkg-config" ,pkg-config)
5292 ("xmllint" ,libxml2)))
5293 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5294 (synopsis "Document and image scanner")
5296 "Document Scanner is an easy-to-use application that lets you connect your
5297 scanner and quickly capture images and documents in an appropriate format. It
5298 supports any scanner for which a suitable SANE driver is available, which is
5299 almost all of them.")
5300 (license license:gpl3+)))
5302 (define-public eolie
5305 (version "0.9.98.1")
5308 (uri (string-append "https://adishatz.org/eolie/eolie-"
5312 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5313 (build-system meson-build-system)
5317 (modify-phases %standard-phases
5318 (add-after 'unpack 'skip-gtk-update-icon-cache
5319 ;; Don't create 'icon-theme.cache'.
5321 (substitute* "meson_post_install.py"
5322 (("gtk-update-icon-cache") "true"))
5324 (add-after 'wrap 'wrap-more
5325 (lambda* (#:key inputs outputs #:allow-other-keys)
5326 (let* ((out (assoc-ref outputs "out"))
5327 ;; These libraries must be on LD_LIBRARY_PATH.
5328 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5329 "atk" "gtk+" "gsettings-desktop-schemas"
5330 "gobject-introspection"))
5333 (string-append (assoc-ref inputs lib) "/lib"))
5336 (wrap-program (string-append out "/bin/eolie")
5337 `("LD_LIBRARY_PATH" ":" prefix (,path))
5338 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5339 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5342 `(("intltool" ,intltool)
5343 ("itstool" ,itstool)
5344 ("pkg-config" ,pkg-config)
5346 ("glib:bin" ,glib "bin")))
5348 `(("gobject-introspection" ,gobject-introspection)
5349 ("glib-networking" ,glib-networking)
5352 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5353 ("python" ,python-wrapper)
5354 ("python-dateutil" ,python-dateutil)
5355 ("python-pyfxa" ,python-pyfxa)
5356 ("python-pygobject" ,python-pygobject)
5357 ("python-pycairo" ,python-pycairo)
5358 ("python-pycrypto" ,python-pycrypto)
5359 ("libsecret" ,libsecret)
5360 ("gtkspell3" ,gtkspell3)
5361 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5362 ("webkitgtk" ,webkitgtk)))
5363 (home-page "https://wiki.gnome.org/Apps/Eolie")
5364 (synopsis "Web browser for GNOME")
5366 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5367 a secret password store, an adblocker, and a modern UI.")
5368 (license license:gpl3+)))
5370 (define-public epiphany
5376 (uri (string-append "mirror://gnome/sources/epiphany/"
5377 (version-major+minor version) "/"
5378 "epiphany-" version ".tar.xz"))
5381 "18d48vcp2nxs63bddkdplslgbnlfq79pm2ivl8hk38kkggy3dahf"))))
5383 (build-system meson-build-system)
5385 ;; FIXME: tests run under Xvfb, but fail with:
5386 ;; /src/bookmarks/ephy-bookmarks/create:
5387 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5393 (modify-phases %standard-phases
5394 (add-after 'unpack 'skip-gtk-update-icon-cache
5395 ;; Don't create 'icon-theme.cache'.
5397 (substitute* "post_install.py"
5398 (("gtk-update-icon-cache") "true"))
5401 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5402 (list (string-append "-Dc_link_args=-Wl,-rpath="
5403 (assoc-ref %outputs "out") "/lib/epiphany"))))
5405 `(("dconf" ,dconf)))
5407 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5408 ("glib:bin" ,glib "bin") ; for glib-mkenums
5409 ("intltool" ,intltool)
5410 ("itstool" ,itstool)
5411 ("pkg-config" ,pkg-config)
5412 ("xmllint" ,libxml2)))
5416 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5417 ("glib-networking" ,glib-networking)
5418 ("gnome-desktop" ,gnome-desktop)
5419 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5420 ("json-glib" ,json-glib)
5421 ("iso-codes" ,iso-codes)
5422 ("libdazzle" ,libdazzle)
5423 ("libnotify" ,libnotify)
5424 ("libsecret" ,libsecret)
5425 ("libxslt" ,libxslt)
5426 ("nettle" ,nettle) ; for hogweed
5428 ("webkitgtk" ,webkitgtk)))
5429 (home-page "https://wiki.gnome.org/Apps/Web")
5430 (synopsis "GNOME web browser")
5432 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5433 principles are simplicity and standards compliance.")
5434 (license license:gpl2+)))
5436 (define-public d-feet
5442 (uri (string-append "mirror://gnome/sources/" name "/"
5443 (version-major+minor version) "/"
5444 name "-" version ".tar.xz"))
5447 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5448 (build-system glib-or-gtk-build-system)
5450 '(#:out-of-source? #f ; tests need to run in the source directory.
5452 (modify-phases %standard-phases
5456 ;; The test suite requires a running X server.
5457 (system "Xvfb :1 &")
5458 (setenv "DISPLAY" ":1")
5459 ;; Don't fail on missing '/etc/machine-id'.
5460 (setenv "DBUS_FATAL_WARNINGS" "0")
5461 ;; tests.py and window.py don't meet E402:
5462 ;; E402 module level import not at top of file
5463 (substitute* "src/tests/Makefile"
5464 (("--ignore=E123") "--ignore=E123,E402"))
5467 'install 'wrap-program
5468 (lambda* (#:key outputs #:allow-other-keys)
5469 (let ((prog (string-append (assoc-ref outputs "out")
5472 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5473 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5476 `(("intltool" ,intltool)
5477 ("itstool" ,itstool)
5478 ("pkg-config" ,pkg-config)
5479 ("python-pep8" ,python-pep8)
5480 ("xmllint" ,libxml2)
5481 ("xorg-server" ,xorg-server-for-tests)))
5483 `(("gobject-introspection" ,gobject-introspection)
5485 ("python" ,python-wrapper)
5486 ("hicolor-icon-theme" ,hicolor-icon-theme)
5487 ("python-pygobject" ,python-pygobject)))
5488 (home-page "https://wiki.gnome.org/Apps/DFeet")
5489 (synopsis "D-Bus debugger")
5491 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5492 of running programs and invoke methods on those interfaces.")
5493 (license license:gpl2+)))
5495 (define-public yelp-xsl
5501 (uri (string-append "mirror://gnome/sources/" name "/"
5502 (version-major+minor version) "/"
5503 name "-" version ".tar.xz"))
5506 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5507 (build-system gnu-build-system)
5509 `(("gettext-minimal" ,gettext-minimal)
5510 ("itstool" ,itstool)
5511 ("xmllint" ,libxml2)))
5512 (home-page "https://wiki.gnome.org/Apps/Yelp")
5513 (synopsis "XSL stylesheets for Yelp")
5515 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5516 to format Docbook and Mallard documents.")
5517 (license license:gpl2+)))
5525 (uri (string-append "mirror://gnome/sources/" name "/"
5526 (version-major+minor version) "/"
5527 name "-" version ".tar.xz"))
5530 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5531 (build-system glib-or-gtk-build-system)
5533 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5534 ("intltool" ,intltool)
5535 ("itstool" ,itstool)
5536 ("pkg-config" ,pkg-config)))
5538 `(("dconf" ,dconf)))
5540 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5541 ("libxslt" ,libxslt)
5543 ("webkitgtk" ,webkitgtk)
5544 ("yelp-xsl" ,yelp-xsl)))
5545 (home-page "https://wiki.gnome.org/Apps/Yelp")
5546 (synopsis "GNOME help browser")
5548 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5549 man, info, and HTML documents. It can locate documents according to the
5550 freedesktop.org help system specification.")
5551 (license license:gpl2+)))
5553 (define-public yelp-tools
5559 (uri (string-append "mirror://gnome/sources/" name "/"
5560 (version-major+minor version) "/"
5561 name "-" version ".tar.xz"))
5564 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5565 (build-system gnu-build-system)
5567 `(("pkg-config" ,pkg-config)))
5569 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5570 `(("itstool" ,itstool)
5571 ("xmllint" ,libxml2)
5572 ("xsltproc" ,libxslt)))
5574 `(("yelp-xsl" ,yelp-xsl)))
5575 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5576 (synopsis "Yelp documentation tools")
5578 "Yelp-tools is a collection of scripts and build utilities to help create,
5579 manage, and publish documentation for Yelp and the web. Most of the heavy
5580 lifting is done by packages like yelp-xsl and itstool. This package just
5581 wraps things up in a developer-friendly way.")
5582 (license license:gpl2+)))
5584 (define-public libgee
5590 (uri (string-append "mirror://gnome/sources/libgee/"
5591 (version-major+minor version) "/"
5592 "libgee-" version ".tar.xz"))
5595 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5596 (build-system gnu-build-system)
5599 (modify-phases %standard-phases
5600 (add-after 'unpack 'fix-introspection-install-dir
5601 (lambda* (#:key outputs #:allow-other-keys)
5602 (let ((out (assoc-ref outputs "out")))
5603 (substitute* "gee/Makefile.in"
5604 (("@INTROSPECTION_GIRDIR@")
5605 (string-append out "/share/gir-1.0/"))
5606 (("@INTROSPECTION_TYPELIBDIR@")
5607 (string-append out "/lib/girepository-1.0/")))))))))
5609 `(("glib" ,glib "bin")
5610 ("pkg-config" ,pkg-config)))
5613 ("gobject-introspection" ,gobject-introspection)))
5614 (home-page "https://wiki.gnome.org/Projects/Libgee")
5615 (synopsis "GObject collection library")
5617 "Libgee is a utility library providing GObject-based interfaces and
5618 classes for commonly used data structures.")
5619 (license license:lgpl2.1+)))
5621 (define-public gexiv2
5627 (uri (string-append "mirror://gnome/sources/" name "/"
5628 (version-major+minor version) "/"
5629 name "-" version ".tar.xz"))
5632 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5633 (build-system meson-build-system)
5636 ("glib" ,glib "bin")
5637 ("pkg-config" ,pkg-config)
5640 ;; Listed in "Requires" section of gexiv2.pc
5641 `(("exiv2" ,exiv2)))
5644 ("gobject-introspection" ,gobject-introspection)))
5645 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5646 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5648 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5649 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5650 metadata in photo and video files of various formats.")
5651 (license license:gpl2+)))
5653 (define-public shotwell
5659 (uri (string-append "mirror://gnome/sources/shotwell/"
5660 (version-major+minor version) "/"
5661 "shotwell-" version ".tar.xz"))
5664 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
5665 (build-system meson-build-system)
5669 (modify-phases %standard-phases
5670 (add-after 'unpack 'skip-gtk-update-icon-cache
5672 (substitute* "build-aux/meson/postinstall.py"
5673 (("gtk-update-icon-cache") (which "true"))
5674 (("update-desktop-database") (which "true")))
5677 `(("dconf" ,dconf)))
5679 `(("gettext" ,gettext-minimal)
5680 ("glib:bin" ,glib "bin")
5681 ("itstool" ,itstool)
5682 ("pkg-config" ,pkg-config)
5687 ("gst-plugins-base" ,gst-plugins-base)
5688 ("gstreamer" ,gstreamer)
5689 ("json-glib" ,json-glib)
5690 ("libgdata" ,libgdata)
5692 ("libgphoto2" ,libgphoto2)
5693 ("libgudev" ,libgudev)
5695 ("libsoup" ,libsoup)
5696 ("libxml2" ,libxml2)
5698 ("webkitgtk" ,webkitgtk)))
5699 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5700 (synopsis "Photo manager for GNOME 3")
5702 "Shotwell is a digital photo manager designed for the GNOME desktop
5703 environment. It allows you to import photos from disk or camera, organize
5704 them by keywords and events, view them in full-window or fullscreen mode, and
5705 share them with others via social networking and more.")
5706 (license license:lgpl2.1+)))
5708 (define-public file-roller
5710 (name "file-roller")
5714 (uri (string-append "mirror://gnome/sources/file-roller/"
5715 (version-major+minor version) "/"
5716 "file-roller-" version ".tar.xz"))
5719 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5720 (build-system meson-build-system)
5722 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5723 ("intltool" ,intltool)
5724 ("itstool" ,itstool)
5725 ("pkg-config" ,pkg-config)
5726 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5727 ("glib:bin" ,glib "bin")))
5728 ;; TODO: Add libnautilus.
5731 ("gdk-pixbuf" ,gdk-pixbuf)
5732 ("json-glib" ,json-glib)
5733 ("libarchive" ,libarchive)
5734 ("libnotify" ,libnotify)
5736 ("libxml2" ,libxml2)))
5737 (synopsis "Graphical archive manager for GNOME")
5738 (description "File Roller is an archive manager for the GNOME desktop
5739 environment that allows users to view, unpack, and create compressed archives
5740 such as gzip tarballs.")
5741 (home-page "http://fileroller.sourceforge.net/")
5742 (license license:gpl2+)))
5744 (define-public gnome-session
5746 (name "gnome-session")
5750 (uri (string-append "mirror://gnome/sources/" name "/"
5751 (version-major+minor version) "/"
5752 name "-" version ".tar.xz"))
5755 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5759 (modify-phases %standard-phases
5760 (add-before 'configure 'pre-configure
5761 (lambda* (#:key outputs #:allow-other-keys)
5762 ;; Use elogind instead of systemd.
5763 (substitute* "meson.build"
5764 (("libsystemd-login") "libelogind")
5765 (("and libsystemd_daemon_dep.found.*") ","))
5766 (substitute* "gnome-session/gsm-systemd.c"
5767 (("#include <systemd/sd-login.h>")
5768 "#include <elogind/sd-login.h>"))
5769 ;; Remove uses of the systemd daemon.
5770 (substitute* "gnome-session/gsm-autostart-app.c"
5771 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5773 (add-after 'install 'wrap-gnome-session
5774 (lambda* (#:key inputs outputs #:allow-other-keys)
5775 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5776 (let ((glib (assoc-ref inputs "glib:bin"))
5777 (out (assoc-ref outputs "out")))
5778 (wrap-program (string-append out "/bin/gnome-session")
5779 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5783 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5784 "-Dman=false" ; FIXME: disabled because of docbook validation error
5785 "-Dsystemd_journal=false")))
5786 (build-system meson-build-system)
5788 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5789 ("pkg-config" ,pkg-config)
5790 ("intltool" ,intltool)
5791 ("xsltproc" ,libxslt)
5792 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5793 ("docbook-xsl" ,docbook-xsl)
5794 ("docbook-xml" ,docbook-xml)
5797 `(("elogind" ,elogind)
5798 ("gnome-desktop" ,gnome-desktop)
5799 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5801 ("json-glib" ,json-glib)
5803 ("libxcomposite" ,libxcomposite)
5804 ("libxtst" ,libxtst)
5807 ("xtrans" ,xtrans)))
5808 (synopsis "Session manager for GNOME")
5810 "This package contains the GNOME session manager, as well as a
5811 configuration program to choose applications starting on login.")
5812 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5813 (license license:gpl2+)))
5821 (uri (string-append "mirror://gnome/sources/" name "/"
5822 (version-major+minor version) "/"
5823 name "-" version ".tar.xz"))
5826 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
5827 (build-system gnu-build-system)
5830 (modify-phases %standard-phases
5834 ;; The test suite requires a running X server.
5835 (system "Xvfb :1 &")
5836 (setenv "DISPLAY" ":1")
5838 ;; For the missing /etc/machine-id.
5839 (setenv "DBUS_FATAL_WARNINGS" "0")
5841 ;; Our mozjs-38 package does not compile the required Intl API
5842 ;; support for these failing tests.
5843 (substitute* "installed-tests/js/testLocale.js"
5844 ((".*toBeDefined.*") "")
5845 ((".*expect\\(datestr\\).*") ""))
5846 (substitute* "installed-tests/scripts/testCommandLine.sh"
5851 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5852 ("pkg-config" ,pkg-config)
5853 ("xmllint" ,libxml2)
5855 ("dbus-launch" ,dbus)
5856 ("uuidgen" ,util-linux)
5857 ("xvfb" ,xorg-server-for-tests)))
5859 ;; These are all in the Requires.private field of gjs-1.0.pc.
5861 ("gobject-introspection" ,gobject-introspection)
5862 ("mozjs" ,mozjs-60)))
5865 ("readline" ,readline)))
5866 (synopsis "Javascript bindings for GNOME")
5867 (home-page "https://live.gnome.org/Gjs")
5869 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5870 javascript engine and the GObject introspection framework.")
5871 (license license:gpl2+)))
5873 (define-public gedit
5879 (uri (string-append "mirror://gnome/sources/" name "/"
5880 (version-major+minor version) "/"
5881 name "-" version ".tar.xz"))
5884 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
5885 (build-system meson-build-system)
5889 ;; Otherwise, the RUNPATH will lack the final path component.
5890 (list (string-append "-Dc_link_args=-Wl,-rpath="
5891 (assoc-ref %outputs "out") "/lib/gedit"))
5893 ;; XXX: Generated .h files are sometimes used before being built.
5894 #:parallel-build? #f
5897 (modify-phases %standard-phases
5898 (add-after 'unpack 'skip-gtk-update-icon-cache
5899 ;; Don't create 'icon-theme.cache'.
5901 (substitute* "build-aux/meson/post_install.py"
5902 (("gtk-update-icon-cache") (which "true")))
5904 (add-after 'unpack 'patch-libgd-fetch
5905 (lambda* (#:key inputs #:allow-other-keys)
5906 (let ((libgd (assoc-ref inputs "libgd")))
5907 ;; Calling git is unnecessary because libgd is fetched as a
5908 ;; native input to this package.
5909 (substitute* "meson.build"
5911 (copy-recursively libgd "subprojects/libgd")
5913 (add-after 'install 'wrap-gedit
5914 (lambda* (#:key inputs outputs #:allow-other-keys)
5915 (let ((out (assoc-ref outputs "out"))
5916 (gtksourceview (assoc-ref inputs "gtksourceview"))
5917 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5918 (python-path (getenv "PYTHONPATH")))
5919 (wrap-program (string-append out "/bin/gedit")
5921 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5922 `("PYTHONPATH" ":" prefix (,python-path))
5923 ;; For language-specs.
5924 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5928 `(("dconf" ,dconf)))
5930 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5931 ("intltool" ,intltool)
5932 ("itstool" ,itstool)
5933 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5934 ("gobject-introspection" ,gobject-introspection)
5939 (url "https://gitlab.gnome.org/GNOME/libgd")
5940 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5941 (file-name (git-file-name "libgd" version))
5943 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
5944 ("pkg-config" ,pkg-config)))
5949 ("gtksourceview" ,gtksourceview)
5950 ("libpeas" ,libpeas)
5951 ("libxml2" ,libxml2)
5952 ("iso-codes" ,iso-codes)
5953 ("python-pygobject" ,python-pygobject)
5955 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5958 ("adwaita-icon-theme" ,adwaita-icon-theme)
5959 ("libsoup" ,libsoup)
5960 ("gnome-desktop" ,gnome-desktop)))
5961 (home-page "https://wiki.gnome.org/Apps/Gedit")
5962 (synopsis "GNOME text editor")
5963 (description "While aiming at simplicity and ease of use, gedit is a
5964 powerful general purpose text editor.")
5965 (license license:gpl2+)))
5967 (define-public zenity
5973 (uri (string-append "mirror://gnome/sources/zenity/"
5974 (version-major+minor version) "/"
5975 "zenity-" version ".tar.xz"))
5978 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
5979 (build-system gnu-build-system)
5981 `(("gettext" ,gettext-minimal)
5982 ("itstool" ,itstool)
5983 ("pkg-config" ,pkg-config)))
5985 `(("libnotify" ,libnotify)
5986 ("webkitgtk" ,webkitgtk)))
5987 (synopsis "Display graphical dialog boxes from shell scripts")
5988 (home-page "https://www.gnome.org")
5990 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5991 to display dialog boxes from the commandline and shell scripts.")
5992 (license license:lgpl2.0+)))
5994 (define-public mutter
6000 (uri (string-append "mirror://gnome/sources/" name "/"
6001 (version-major+minor version) "/"
6002 name "-" version ".tar.xz"))
6005 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6006 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6007 ;; versions of cogl and clutter. As a result, many of the inputs,
6008 ;; propagated-inputs, and configure flags used in cogl and clutter are
6009 ;; needed here as well.
6010 (build-system meson-build-system)
6012 '(;; XXX: All mutter tests fail with the following error:
6013 ;; Settings schema 'org.gnome.mutter' is not installed
6017 ;; TODO: Enable profiler when Sysprof is packaged.
6018 (list "-Dprofiler=false"
6019 ;; Otherwise, the RUNPATH will lack the final path component.
6020 (string-append "-Dc_link_args=-Wl,-rpath="
6021 (assoc-ref %outputs "out") "/lib:"
6022 (assoc-ref %outputs "out") "/lib/mutter-5")
6024 ;; The following flags are needed for the bundled clutter
6025 (string-append "-Dxwayland_path="
6026 (assoc-ref %build-inputs "xorg-server-xwayland")
6029 ;; the remaining flags are needed for the bundled cogl
6030 (string-append "-Dopengl_libname="
6031 (assoc-ref %build-inputs "mesa")
6034 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6035 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6036 ("gobject-introspection" ,gobject-introspection)
6037 ("intltool" ,intltool)
6038 ("pkg-config" ,pkg-config)
6039 ("xorg-server" ,xorg-server-for-tests)
6041 ("autoconf" ,autoconf)
6042 ("automake" ,automake)
6043 ("libtool" ,libtool)))
6045 `(;; libmutter.pc refers to these:
6046 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6048 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6051 ("gdk-pixbuf" ,gdk-pixbuf)
6053 ("json-glib" ,json-glib)
6054 ("libinput" ,libinput)
6056 ("libxcomposite" ,libxcomposite)
6057 ("libxdamage" ,libxdamage)
6058 ("libxext" ,libxext)
6059 ("libxfixes" ,libxfixes)
6060 ("libxkbcommon" ,libxkbcommon)
6061 ("libxrandr" ,libxrandr)
6065 ("xinput" ,xinput)))
6067 `(("elogind" ,elogind)
6068 ("gnome-desktop" ,gnome-desktop)
6069 ("gnome-settings-daemon" ,gnome-settings-daemon)
6070 ("libcanberra-gtk" ,libcanberra)
6071 ("libgudev" ,libgudev)
6074 ("libwacom" ,libwacom)
6075 ("libxkbfile" ,libxkbfile)
6076 ("libxrandr" ,libxrandr)
6077 ("libxtst" ,libxtst)
6078 ("pipewire" ,pipewire)
6079 ("startup-notification" ,startup-notification)
6080 ("upower-glib" ,upower)
6081 ("xkeyboard-config" ,xkeyboard-config)
6082 ("xorg-server-xwayland" ,xorg-server-xwayland)
6083 ("zenity" ,zenity)))
6084 (synopsis "Window and compositing manager")
6085 (home-page "https://www.gnome.org")
6087 "Mutter is a window and compositing manager that displays and manages your
6088 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6089 Clutter toolkit with solid window-management logic inherited from the Metacity
6091 (license license:gpl2+)))
6093 (define-public gnome-online-accounts
6095 (name "gnome-online-accounts")
6099 (uri (string-append "mirror://gnome/sources/" name "/"
6100 (version-major+minor version) "/"
6101 name "-" version ".tar.xz"))
6104 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6105 (outputs '("out" "lib"))
6106 (build-system glib-or-gtk-build-system)
6109 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6111 (modify-phases %standard-phases
6112 (add-before 'configure 'patch-libgoa-output
6113 (lambda* (#:key outputs #:allow-other-keys)
6114 (let ((lib (assoc-ref outputs "lib")))
6115 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6117 (("@exec_prefix@") lib)
6118 (("@libdir@") (string-append lib "/lib"))
6119 (("@includedir@") (string-append lib "/include"))
6120 (("@datadir@") (string-append lib "/share")))
6121 ;; Make sure gobject-introspection knows about the output
6122 ;; too (see <https://bugs.gnu.org/36535>).
6123 (setenv "outputs" "out lib")
6126 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6127 ("gobject-introspection" ,gobject-introspection)
6128 ("intltool" ,intltool)
6129 ("pkg-config" ,pkg-config)
6131 ("xsltproc" ,libxslt)))
6133 `(("glib" ,glib) ; required by goa-1.0.pc
6134 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6136 `(("docbook-xsl" ,docbook-xsl)
6137 ("json-glib" ,json-glib)
6138 ("libsecret" ,libsecret)
6140 ("webkitgtk" ,webkitgtk)))
6141 (synopsis "Single sign-on framework for GNOME")
6142 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6144 "GNOME Online Accounts provides interfaces so that applications and
6145 libraries in GNOME can access the user's online accounts. It has providers for
6146 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6147 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6148 (license license:lgpl2.0+)))
6150 (define-public evolution-data-server
6152 (name "evolution-data-server")
6156 (uri (string-append "mirror://gnome/sources/" name "/"
6157 (version-major+minor version) "/"
6158 name "-" version ".tar.xz"))
6159 (patches (search-patches "evolution-data-server-locales.patch"
6160 "evolution-data-server-libical-compat.patch"))
6163 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6164 (build-system cmake-build-system)
6167 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6168 (runpaths (map (lambda (s)
6169 (string-append lib "/evolution-data-server/" s))
6170 '("addressbook-backends" "calendar-backends"
6171 "camel-providers" "credential-modules"
6172 "registry-modules"))))
6173 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6174 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6175 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6176 "-DENABLE_VALA_BINDINGS=ON"
6177 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6178 (string-append lib "/evolution-data-server;")
6179 (string-join runpaths ";"))
6180 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6182 (modify-phases %standard-phases
6183 (add-after 'unpack 'disable-failing-tests
6185 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6186 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6187 (delete-file-recursively "tests/book-migration")
6188 (substitute* "tests/CMakeLists.txt"
6189 (("add_subdirectory\\(book-migration\\)") ""))
6191 (add-after 'unpack 'patch-paths
6193 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6194 "tests/libedata-book/data-test-utils.c"
6195 "tests/libedata-book/test-book-cache-utils.c"
6196 "tests/libedata-cal/test-cal-cache-utils.c")
6197 (("/bin/rm") (which "rm")))
6199 (add-before 'configure 'dont-override-rpath
6201 (substitute* "CMakeLists.txt"
6202 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6203 ;; Remove it so the configure flag is respected.
6204 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6207 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6208 ("gobject-introspection" ,gobject-introspection)
6210 ("intltool" ,intltool)
6211 ("pkg-config" ,pkg-config)
6213 ("python" ,python-wrapper)))
6215 ;; These are all in the Requires field of .pc files.
6217 ("libical" ,libical)
6218 ("libsecret" ,libsecret)
6219 ("libsoup" ,libsoup)
6221 ("sqlite" ,sqlite)))
6225 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6226 ("json-glib" ,json-glib)
6227 ("libcanberra" ,libcanberra)
6228 ("libgweather" ,libgweather)
6229 ("mit-krb5" ,mit-krb5)
6230 ("openldap" ,openldap)
6231 ("webkitgtk" ,webkitgtk)))
6232 (synopsis "Store address books and calendars")
6233 (home-page "https://wiki.gnome.org/Apps/Evolution")
6235 "This package provides a unified backend for programs that work with
6236 contacts, tasks, and calendar information. It was originally developed for
6237 Evolution (hence the name), but is now used by other packages as well.")
6238 (license license:lgpl2.0)))
6240 (define-public caribou
6246 (uri (string-append "mirror://gnome/sources/" name "/"
6247 (version-major+minor version) "/"
6248 name "-" version ".tar.xz"))
6251 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6252 (build-system glib-or-gtk-build-system)
6255 (modify-phases %standard-phases
6258 (lambda* (#:key outputs #:allow-other-keys)
6259 (let ((out (assoc-ref outputs "out")))
6260 ;; Use absolute shared library path in Caribou-1.0.typelib.
6261 (substitute* "libcaribou/Makefile"
6262 (("--shared-library=libcaribou.so")
6263 (string-append "--shared-library="
6264 out "/lib/libcaribou.so")))
6266 (add-after 'install 'wrap-programs
6267 (lambda* (#:key outputs #:allow-other-keys)
6268 (let* ((out (assoc-ref outputs "out"))
6269 (python-path (getenv "PYTHONPATH"))
6270 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6274 `("PYTHONPATH" ":" prefix (,python-path))
6275 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6276 (list (string-append out "/bin/caribou-preferences")
6277 (string-append out "/libexec/antler-keyboard"))))
6280 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6281 ("gobject-introspection" ,gobject-introspection)
6282 ("intltool" ,intltool)
6283 ("pkg-config" ,pkg-config)
6286 ("xsltproc" ,libxslt)))
6288 ;; caribou-1.0.pc refers to all these.
6289 `(("libgee" ,libgee)
6290 ("libxklavier" ,libxklavier)
6291 ("libxtst" ,libxtst)
6294 `(("clutter" ,clutter)
6297 ("python-pygobject" ,python-pygobject)))
6298 (synopsis "Text entry and UI navigation application")
6299 (home-page "https://wiki.gnome.org/Projects/Caribou")
6301 "Caribou is an input assistive technology intended for switch and pointer
6303 (license license:lgpl2.1)))
6305 (define-public network-manager
6307 (name "network-manager")
6311 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6312 (version-major+minor version) "/"
6313 "NetworkManager-" version ".tar.xz"))
6314 (patches (search-patches "nm-plugin-path.patch"))
6317 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6318 (modules '((guix build utils)))
6321 (substitute* "src/devices/wwan/nm-modem-manager.c"
6322 (("systemd") "elogind"))
6324 (build-system gnu-build-system)
6326 "doc")) ; 8 MiB of gtk-doc HTML
6329 (let ((out (assoc-ref %outputs "out"))
6330 (doc (assoc-ref %outputs "doc"))
6331 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6333 (list "--with-libnm-glib" ; needed by network-manager-applet
6334 "--with-systemd-journal=no"
6335 "--with-session-tracking=elogind"
6336 "--with-suspend-resume=elogind"
6337 "--with-consolekit=no"
6338 "--with-crypto=gnutls"
6339 "--disable-config-plugin-ibft"
6341 "--localstatedir=/var"
6342 (string-append "--with-udev-dir="
6344 (string-append "--with-dbus-sys-dir="
6345 out "/etc/dbus-1/system.d")
6346 (string-append "--with-html-dir="
6347 doc "/share/gtk-doc/html")
6348 (string-append "--with-dhclient=" dhclient)))
6350 (modify-phases %standard-phases
6351 ;; This bare "ls" invocation breaks some tests.
6352 (add-after 'unpack 'patch-ls-invocation
6354 (substitute* "build-aux/ltmain.sh"
6356 (string-append "`" (which "ls") " -")))
6358 (add-before 'configure 'pre-configure
6360 ;; These tests try to test aspects of network-manager's
6361 ;; functionality within restricted containers, but they don't
6362 ;; cope with being already in the Guix build jail as that jail
6363 ;; lacks some features that they would like to proxy over (like
6365 (substitute* '("Makefile.in")
6366 (("src/platform/tests/test-address-linux") " ")
6367 (("src/platform/tests/test-cleanup-linux") " ")
6368 (("src/platform/tests/test-link-linux") " ")
6369 (("src/platform/tests/test-route-linux") " ")
6370 (("src/devices/tests/test-acd") "")
6371 (("src/devices/tests/test-arping") " ")
6372 (("src/devices/tests/test-lldp") " ")
6373 (("src/tests/test-route-manager-linux") " "))
6375 (add-after 'unpack 'delete-failing-tests
6377 ;; FIXME: These three tests fail for unknown reasons.
6378 ;; ERROR:libnm-core/tests/test-general.c:5842:
6379 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6380 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6381 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6382 ;; ERROR:libnm-core/tests/test-setting.c:907:
6383 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6384 (substitute* "Makefile.in"
6385 (("libnm-core/tests/test-general") " ")
6386 (("libnm-core/tests/test-keyfile") " ")
6387 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6389 (add-before 'check 'pre-check
6391 ;; For the missing /etc/machine-id.
6392 (setenv "DBUS_FATAL_WARNINGS" "0")
6394 ;; XXX: Regenerate some of the tests that are dependent on Python version.
6395 ;; Try removing this variable for newer versions of NetworkManager.
6396 (setenv "NM_TEST_REGENERATE" "1")
6404 "nmstatedir=/tmp/nm"
6410 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6411 ("gobject-introspection" ,gobject-introspection)
6412 ("docbook-xsl" ,docbook-xsl)
6413 ("intltool" ,intltool)
6414 ("libxslt" ,libxslt)
6415 ("libxml2" ,libxml2)
6416 ("pkg-config" ,pkg-config)
6418 ("python" ,python-wrapper)
6419 ("python-dbus" ,python-dbus)
6420 ("python-pygobject" ,python-pygobject)))
6422 `(("coreutils" ,coreutils) ; for ls
6424 ("cyrus-sasl" ,cyrus-sasl)
6425 ("dbus-glib" ,dbus-glib)
6426 ("dnsmasq" ,dnsmasq)
6429 ("iptables" ,iptables)
6430 ("isc-dhcp" ,isc-dhcp)
6431 ("jansson" ,jansson)
6432 ("libgcrypt" ,libgcrypt)
6433 ("libgudev" ,libgudev)
6436 ("libsoup" ,libsoup)
6437 ("modem-manager" ,modem-manager)
6438 ("newt" ,newt) ;for the 'nmtui' console interface
6441 ("readline" ,readline)
6442 ("util-linux" ,util-linux)
6443 ("elogind" ,elogind)))
6444 (synopsis "Network connection manager")
6445 (home-page "https://www.gnome.org/projects/NetworkManager/")
6447 "NetworkManager is a system network service that manages your network
6448 devices and connections, attempting to keep active network connectivity when
6449 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6450 devices, and provides VPN integration with a variety of different VPN
6452 (license license:gpl2+)
6453 (properties '((upstream-name . "NetworkManager")))))
6455 (define-public network-manager-openvpn
6457 (name "network-manager-openvpn")
6458 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6463 "mirror://gnome/sources/NetworkManager-openvpn/"
6464 (version-major+minor version)
6465 "/NetworkManager-openvpn-" version ".tar.xz"))
6468 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6469 (build-system gnu-build-system)
6471 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6473 (modify-phases %standard-phases
6474 (add-after 'configure 'patch-path
6475 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6476 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6478 (modprobe (string-append (assoc-ref inputs "kmod")
6480 (pretty-ovpn (string-append "\"" ovpn "\"")))
6484 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6485 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6486 (("\"/sbin/openvpn\"") pretty-ovpn)
6487 (("/sbin/modprobe") modprobe)))
6488 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6491 `(("pkg-config" ,pkg-config)
6492 ("intltool" ,intltool)))
6496 ("openvpn" ,openvpn)
6497 ("network-manager" ,network-manager)
6498 ("network-manager-applet" ,network-manager-applet) ;for libnma
6499 ("libsecret" ,libsecret)))
6500 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6501 (synopsis "OpenVPN plug-in for NetworkManager")
6503 "This extension of NetworkManager allows it to take care of connections
6504 to virtual private networks (VPNs) via OpenVPN.")
6505 (license license:gpl2+)
6506 (properties `((upstream-name . "NetworkManager-openvpn")))))
6508 (define-public network-manager-vpnc
6510 (name "network-manager-vpnc")
6515 "mirror://gnome/sources/NetworkManager-vpnc/"
6516 (version-major+minor version)
6517 "/NetworkManager-vpnc-" version ".tar.xz"))
6520 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6521 (build-system gnu-build-system)
6523 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6525 (modify-phases %standard-phases
6526 (add-after 'configure 'patch-path
6527 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6528 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6530 (modprobe (string-append (assoc-ref inputs "kmod")
6532 (pretty-ovpn (string-append "\"" vpnc "\"")))
6533 (substitute* "src/nm-vpnc-service.c"
6534 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6535 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6536 (("\"/sbin/vpnc\"") pretty-ovpn)
6537 (("/sbin/modprobe") modprobe)))
6540 `(("pkg-config" ,pkg-config)
6541 ("intltool" ,intltool)))
6546 ("network-manager" ,network-manager)
6547 ("network-manager-applet" ,network-manager-applet) ;for libnma
6548 ("libsecret" ,libsecret)))
6549 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6550 (synopsis "VPNC plug-in for NetworkManager")
6552 "Support for configuring virtual private networks based on VPNC.
6553 Compatible with Cisco VPN concentrators configured to use IPsec.")
6554 (license license:gpl2+)
6555 (properties `((upstream-name . "NetworkManager-vpnc")))))
6557 (define-public network-manager-openconnect
6559 (name "network-manager-openconnect")
6564 "mirror://gnome/sources/NetworkManager-openconnect/"
6565 (version-major+minor version)
6566 "/NetworkManager-openconnect-" version ".tar.xz"))
6569 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6570 (build-system gnu-build-system)
6572 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6574 (modify-phases %standard-phases
6575 (add-after 'configure 'patch-path
6576 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6577 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6578 "/sbin/openconnect"))
6579 (modprobe (string-append (assoc-ref inputs "kmod")
6581 (pretty-ovpn (string-append "\"" openconnect "\"")))
6582 (substitute* "src/nm-openconnect-service.c"
6583 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6584 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6585 (("/sbin/modprobe") modprobe)))
6588 `(("intltool" ,intltool)
6589 ("network-manager-applet" ,network-manager-applet) ;for libnma
6590 ("pkg-config" ,pkg-config)))
6595 ("libsecret" ,libsecret)
6596 ("libxml2" ,libxml2)
6597 ("network-manager" ,network-manager)
6598 ("openconnect" ,openconnect)))
6599 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6600 (synopsis "OpenConnect plug-in for NetworkManager")
6602 "This extension of NetworkManager allows it to take care of connections
6603 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6604 Cisco's AnyConnect SSL VPN.")
6605 (license license:gpl2+)
6606 (properties `((upstream-name . "NetworkManager-openconnect")
6608 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6609 ;; file refers to account "nm-openconnect". Specify it here
6610 ;; so that 'network-manager-service-type' creates it.
6611 (user-accounts . ("nm-openconnect"))))))
6613 (define-public mobile-broadband-provider-info
6615 (name "mobile-broadband-provider-info")
6616 (version "20190116")
6620 "mirror://gnome/sources/"
6621 "mobile-broadband-provider-info/" version "/"
6622 "mobile-broadband-provider-info-" version ".tar.xz"))
6625 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6626 (build-system gnu-build-system)
6628 `(#:tests? #f)) ; no tests
6629 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6630 (synopsis "Database of broadband connection configuration")
6631 (description "Database of broadband connection configuration.")
6632 (license license:public-domain)))
6634 (define-public network-manager-applet
6636 (name "network-manager-applet")
6640 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6641 (version-major+minor version) "/"
6642 "network-manager-applet-" version ".tar.xz"))
6645 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6646 (build-system meson-build-system)
6649 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6650 (list "-Dlibnm_gtk=true")
6653 `(("intltool" ,intltool)
6654 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6655 ("gobject-introspection" ,gobject-introspection)
6656 ("gtk-doc" ,gtk-doc)
6657 ("pkg-config" ,pkg-config)))
6659 ;; libnm-gtk.pc refers to all these.
6660 `(("dbus-glib" ,dbus-glib)
6662 ("network-manager" ,network-manager)))
6665 ("iso-codes" ,iso-codes)
6666 ("libgudev" ,libgudev)
6667 ("libnotify" ,libnotify)
6668 ("libsecret" ,libsecret)
6669 ("libselinux" ,libselinux)
6670 ("jansson" ,jansson) ; for team support
6671 ("modem-manager" ,modem-manager)
6672 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6673 (synopsis "Applet for managing network connections")
6674 (home-page "https://www.gnome.org/projects/NetworkManager/")
6676 "This package contains a systray applet for NetworkManager. It displays
6677 the available networks and allows users to easily switch between them.")
6678 (license license:gpl2+)))
6680 (define-public libxml++
6686 (uri (string-append "mirror://gnome/sources/" name "/"
6687 (version-major+minor version) "/"
6688 name "-" version ".tar.xz"))
6691 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6692 (build-system gnu-build-system)
6693 ;; libxml++-3.0.pc refers to all these.
6695 `(("libxml2" ,libxml2)
6696 ("glibmm" ,glibmm)))
6699 ("pkg-config" ,pkg-config)))
6700 (home-page "http://libxmlplusplus.sourceforge.net/")
6701 (synopsis "C++ wrapper for XML parser library libxml2")
6703 "This package provides a C++ wrapper for the XML parser library
6705 (license license:lgpl2.1+)))
6707 (define-public libxml++-2
6714 (uri (string-append "mirror://gnome/sources/" name "/"
6715 (version-major+minor version) "/"
6716 name "-" version ".tar.xz"))
6719 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6727 (uri (string-append "mirror://gnome/sources/" name "/"
6728 (version-major+minor version) "/"
6729 name "-" version ".tar.xz"))
6732 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6733 (patches (search-patches "gdm-default-session.patch"))))
6734 (build-system glib-or-gtk-build-system)
6737 `("--without-plymouth"
6738 "--disable-systemd-journal"
6740 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6741 ;; instead of having to replace it (i.e., stopping the mingetty
6742 ;; service for TTY 1 before starting GDM).
6743 "--with-initial-vt=7"
6745 ;; Use '/etc/environment' for locale settings instead of the
6746 ;; systemd-specific '/etc/locale.conf'.
6747 "--with-lang-file=/etc/environment"
6749 ,(string-append "--with-udevdir="
6750 (assoc-ref %outputs "out") "/lib/udev")
6752 "--localstatedir=/var"
6753 ,(string-append "--with-default-path="
6754 (string-join '("/run/setuid-programs"
6755 "/run/current-system/profile/bin"
6756 "/run/current-system/profile/sbin")
6758 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6759 ;; XDG_DATA_DIRS so that it finds its schemas.
6760 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6762 (modify-phases %standard-phases
6764 'configure 'pre-configure
6765 (lambda* (#:key inputs outputs #:allow-other-keys)
6766 ;; We don't have <systemd/sd-daemon.h>.
6767 (substitute* '("common/gdm-log.c"
6768 "daemon/gdm-server.c"
6769 "daemon/gdm-session-worker.c"
6770 "daemon/gdm-session-worker-job.c")
6771 (("#include <systemd/sd-daemon\\.h>") ""))
6772 ;; Use elogind for sd-login.
6773 (substitute* '("common/gdm-common.c"
6774 "daemon/gdm-local-display-factory.c"
6775 "daemon/gdm-manager.c"
6776 "libgdm/gdm-user-switching.c")
6777 (("#include <systemd/sd-login\\.h>")
6778 "#include <elogind/sd-login.h>"))
6779 ;; Check for elogind.
6780 (substitute* '("configure")
6783 ;; Look for system-installed sessions in
6784 ;; /run/current-system/profile/share.
6785 (substitute* '("libgdm/gdm-sessions.c"
6786 "daemon/gdm-session.c"
6787 "daemon/gdm-display.c"
6788 "daemon/gdm-launch-environment.c")
6790 "\"/run/current-system/profile/share/x")
6791 (("DATADIR \"/wayland")
6792 "\"/run/current-system/profile/share/wayland")
6793 (("DATADIR \"/gnome")
6794 "\"/run/current-system/profile/share/gnome"))
6795 (let ((propagate '("GDM_CUSTOM_CONF"
6799 ;; XXX: Remove this once GNOME Shell is
6800 ;; a dependency of GDM.
6802 (substitute* "daemon/gdm-session.c"
6803 (("set_up_session_environment \\(self\\);")
6804 (apply string-append
6805 "set_up_session_environment (self);\n"
6808 "gdm_session_set_environment_variable "
6809 "(self, \"" name "\","
6810 "g_getenv (\"" name "\"));\n"))
6812 ;; Find the configuration file using an environment variable.
6813 (substitute* '("common/gdm-settings.c")
6814 (("GDM_CUSTOM_CONF")
6815 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6816 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6817 " : GDM_CUSTOM_CONF)")))
6818 ;; Use service-supplied path to X.
6819 (substitute* '("daemon/gdm-server.c")
6820 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6821 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6822 (substitute* '("daemon/gdm-wayland-session.c"
6823 "daemon/gdm-x-session.c")
6824 (("\"dbus-daemon\"")
6825 "g_getenv (\"GDM_DBUS_DAEMON\")")
6827 "g_getenv (\"GDM_X_SERVER\")")
6828 (("GDMCONFDIR \"/Xsession\"")
6829 "g_getenv (\"GDM_X_SESSION\")"))
6830 ;; Use an absolute path for GNOME Session.
6831 (substitute* "daemon/gdm-launch-environment.c"
6832 (("\"gnome-session\"")
6833 (string-append "\"" (assoc-ref inputs "gnome-session")
6834 "/bin/gnome-session\"")))
6835 ;; Do not automatically select the placeholder session.
6836 (substitute* "daemon/gdm-session.c"
6837 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6838 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6839 "(g_strcmp0(search_dirs[i], \""
6840 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6842 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6843 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6844 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6846 ;; GDM requires that there be at least one desktop entry
6847 ;; file. This phase installs a hidden one that simply
6848 ;; fails. This enables users to use GDM with a
6849 ;; '~/.xsession' script with no other desktop entry files.
6850 ;; See <https://bugs.gnu.org/35068>.
6851 (add-after 'install 'install-placeholder-desktop-entry
6852 (lambda* (#:key inputs outputs #:allow-other-keys)
6853 (let* ((out (assoc-ref outputs "out"))
6854 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6855 (fail (string-append sessions "/fail.desktop")))
6857 (with-output-to-file fail
6861 '("[Desktop Entry]\n"
6863 "Type=Application\n"
6865 "Comment=This session fails immediately.\n"
6869 ;; GDM needs GNOME Session to run these applications. We link
6870 ;; their autostart files in `share/gdm/greeter/autostart'
6871 ;; because GDM explicitly tells GNOME Session to look there.
6873 ;; XXX: GNOME Shell should be linked here too, but currently
6874 ;; GNOME Shell depends on GDM.
6875 (add-after 'install 'link-autostart-files
6876 (lambda* (#:key inputs outputs #:allow-other-keys)
6877 (let* ((out (assoc-ref outputs "out"))
6878 (autostart (string-append out "/share/gdm/"
6879 "greeter/autostart"))
6880 (settings (assoc-ref inputs "gnome-settings-daemon")))
6882 (with-directory-excursion autostart
6883 (for-each (lambda (desktop)
6884 (symlink desktop (basename desktop)))
6885 (find-files (string-append settings "/etc/xdg"))))
6889 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6890 ("gobject-introspection" ,gobject-introspection)
6891 ("intltool" ,intltool)
6892 ("itstool" ,itstool)
6893 ("pkg-config" ,pkg-config)
6894 ("xmllint" ,libxml2)))
6896 `(("accountsservice" ,accountsservice)
6897 ("check" ,check) ; for testing
6898 ("elogind" ,elogind)
6899 ("gnome-session" ,gnome-session)
6900 ("gnome-settings-daemon" ,gnome-settings-daemon)
6902 ("iso-codes" ,iso-codes)
6903 ("libcanberra" ,libcanberra)
6904 ("linux-pam" ,linux-pam)))
6905 (synopsis "Display manager for GNOME")
6906 (home-page "https://wiki.gnome.org/Projects/GDM/")
6908 "GNOME Display Manager is a system service that is responsible for
6909 providing graphical log-ins and managing local and remote displays.")
6910 (license license:gpl2+)))
6912 (define-public libgtop
6918 (uri (string-append "mirror://gnome/sources/libgtop/"
6919 (version-major+minor version) "/"
6920 "libgtop-" version ".tar.xz"))
6923 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6924 (build-system gnu-build-system)
6926 `(("gobject-introspection" ,gobject-introspection)
6927 ("intltool" ,intltool)
6929 ("pkg-config" ,pkg-config)))
6931 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6932 (synopsis "Portable system access library")
6933 (home-page "https://www.gnome.org/")
6935 "LibGTop is a library to get system specific data such as CPU and memory
6936 usage and information about running processes.")
6937 (license license:gpl2+)))
6939 (define-public gnome-bluetooth
6941 (name "gnome-bluetooth")
6945 (uri (string-append "mirror://gnome/sources/" name "/"
6946 (version-major+minor version) "/"
6947 name "-" version ".tar.xz"))
6950 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
6951 (build-system meson-build-system)
6953 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
6954 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6955 ("gobject-introspection" ,gobject-introspection)
6956 ("intltool" ,intltool)
6957 ("pkg-config" ,pkg-config)
6958 ("xmllint" ,libxml2)))
6960 ;; gnome-bluetooth-1.0.pc refers to all these.
6965 ("libcanberra" ,libcanberra)
6966 ("libnotify" ,libnotify)))
6967 (synopsis "GNOME Bluetooth subsystem")
6968 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6970 "This package contains tools for managing and manipulating Bluetooth
6971 devices using the GNOME desktop.")
6972 (license license:lgpl2.1+)))
6974 (define-public gnome-control-center
6976 (name "gnome-control-center")
6980 (uri (string-append "mirror://gnome/sources/" name "/"
6981 (version-major+minor version) "/"
6982 name "-" version ".tar.xz"))
6985 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
6986 (build-system meson-build-system)
6990 (list "-Dcheese=false"
6991 (string-append "-Dgnome_session_libexecdir="
6992 (assoc-ref %build-inputs "gnome-session")
6995 (modify-phases %standard-phases
6996 (add-before 'configure 'patch-paths
6997 (lambda* (#:key inputs #:allow-other-keys)
6998 (let ((libc (assoc-ref inputs "libc"))
6999 (tzdata (assoc-ref inputs "tzdata"))
7000 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7001 (nm-applet (assoc-ref inputs "network-manager-applet"))
7002 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7003 (substitute* "panels/datetime/tz.h"
7004 (("/usr/share/zoneinfo/zone.tab")
7005 (string-append tzdata "/share/zoneinfo/zone.tab")))
7006 (substitute* "tests/datetime/test-endianess.c"
7007 (("/usr/share/locale")
7008 (string-append libc "/share/locale")))
7009 (substitute* "panels/region/cc-region-panel.c"
7010 (("\"gkbd-keyboard-display")
7011 (string-append "\"" libgnomekbd
7012 "/bin/gkbd-keyboard-display")))
7013 (substitute* '("panels/network/net-device-wifi.c"
7014 "panels/network/net-device.c"
7015 "panels/network/connection-editor/net-connection-editor.c")
7016 (("\"nm-connection-editor")
7017 (string-append "\"" nm-applet
7018 "/bin/nm-connection-editor")))
7019 (substitute* '("panels/user-accounts/run-passwd.c")
7020 (("/usr/bin/passwd")
7021 "/run/setuid-programs/passwd"))
7022 (substitute* "panels/info/cc-info-overview-panel.c"
7023 (("DATADIR \"/gnome/gnome-version.xml\"")
7024 (string-append "\"" gnome-desktop
7025 "/share/gnome/gnome-version.xml\"")))
7027 (add-after 'unpack 'skip-gtk-update-icon-cache
7028 ;; Don't create 'icon-theme.cache'.
7030 (substitute* "build-aux/meson/meson_post_install.py"
7031 (("gtk-update-icon-cache") (which "true")))
7034 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7035 ("intltool" ,intltool)
7036 ("pkg-config" ,pkg-config)
7037 ("xsltproc" ,libxslt)
7039 ("hicolor-icon-theme" ,hicolor-icon-theme)
7040 ("python-dbusmock" ,python-dbusmock)
7041 ("xorg-server" ,xorg-server-for-tests)))
7043 `(("accountsservice" ,accountsservice)
7044 ("clutter-gtk" ,clutter-gtk)
7045 ("colord-gtk" ,colord-gtk)
7048 ("docbook-xsl" ,docbook-xsl)
7049 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7050 ("gnome-bluetooth" ,gnome-bluetooth)
7051 ("gnome-desktop" ,gnome-desktop)
7052 ("gnome-online-accounts" ,gnome-online-accounts)
7053 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7054 ("gnome-session" ,gnome-session)
7055 ("gnome-settings-daemon" ,gnome-settings-daemon)
7059 ("libcanberra" ,libcanberra)
7060 ("libgnomekbd" ,libgnomekbd)
7061 ("libgudev" ,libgudev)
7062 ("libgtop" ,libgtop)
7063 ("libpwquality" ,libpwquality)
7064 ("libsecret" ,libsecret)
7065 ("libsoup" ,libsoup)
7066 ("libxml2" ,libxml2)
7067 ("libwacom" ,libwacom)
7069 ("mit-krb5" ,mit-krb5)
7070 ("modem-manager" ,modem-manager)
7071 ("network-manager-applet" ,network-manager-applet)
7073 ("pulseaudio" ,pulseaudio)
7074 ("smbclient" ,samba)
7077 ("upower" ,upower)))
7078 (synopsis "Utilities to configure the GNOME desktop")
7079 (home-page "https://www.gnome.org/")
7081 "This package contains configuration applets for the GNOME desktop,
7082 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7083 properties, sound setup, desktop theme and background, user interface
7084 properties, screen resolution, and other GNOME parameters.")
7085 (license license:gpl2+)))
7087 (define-public gnome-shell
7089 (name "gnome-shell")
7093 (uri (string-append "mirror://gnome/sources/" name "/"
7094 (version-major+minor version) "/"
7095 name "-" version ".tar.xz"))
7098 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
7099 (patches (search-patches "gnome-shell-theme.patch"))
7100 (modules '((guix build utils)))
7103 ;; Copy images for use on the GDM log-in screen.
7104 (copy-file #$(file-append %artwork-repository
7105 "/slim/0.x/background.png")
7106 "data/theme/guix-background.png")
7107 (copy-file #$(file-append %artwork-repository
7108 "/logo/Guix-horizontal-white.svg")
7109 "data/theme/guix-logo.svg")
7111 (build-system meson-build-system)
7114 #:disallowed-references ((,glib "bin")
7118 (list "-Dsystemd=false"
7119 ;; Otherwise, the RUNPATH will lack the final path component.
7120 (string-append "-Dc_link_args=-Wl,-rpath="
7121 (assoc-ref %outputs "out")
7122 "/lib/gnome-shell"))
7124 #:modules ((guix build meson-build-system)
7129 (modify-phases %standard-phases
7130 (add-after 'unpack 'fix-keysdir
7131 (lambda* (#:key outputs #:allow-other-keys)
7132 (let* ((out (assoc-ref outputs "out"))
7133 (keysdir (string-append
7134 out "/share/gnome-control-center/keybindings")))
7135 (substitute* "meson.build"
7137 (string-append "keysdir = '" keysdir "'\n")))
7139 (add-before 'configure 'convert-logo-to-png
7140 (lambda* (#:key inputs #:allow-other-keys)
7141 ;; Convert the logo from SVG to PNG.
7142 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7143 "data/theme/guix-logo.svg")))
7144 (add-before 'configure 'record-absolute-file-names
7145 (lambda* (#:key inputs #:allow-other-keys)
7146 (substitute* "js/misc/ibusManager.js"
7148 (string-append "'" (assoc-ref inputs "ibus")
7149 "/bin/ibus-daemon'")))
7150 (substitute* "js/ui/status/keyboard.js"
7151 (("'gkbd-keyboard-display'")
7152 (string-append "'" (assoc-ref inputs "libgnomekbd")
7153 "/bin/gkbd-keyboard-display'")))
7155 (add-before 'check 'pre-check
7156 (lambda* (#:key inputs #:allow-other-keys)
7157 ;; Tests require a running X server.
7158 (system "Xvfb :1 &")
7159 (setenv "DISPLAY" ":1")
7161 (add-after 'install 'wrap-programs
7162 (lambda* (#:key inputs outputs #:allow-other-keys)
7163 (let ((out (assoc-ref outputs "out"))
7164 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7165 (python-path (getenv "PYTHONPATH")))
7166 (wrap-program (string-append out "/bin/gnome-shell")
7167 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7168 ;; FIXME: gnome-shell loads these libraries with unqualified
7169 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7170 ;; alternative might be to patch gnome-shell.
7171 `("LD_LIBRARY_PATH" ":" prefix
7173 (string-append (assoc-ref inputs pkg) "/lib"))
7175 "gnome-bluetooth" "librsvg" "libgweather"))))
7178 (wrap-program (string-append out "/bin/" prog)
7179 `("PYTHONPATH" ":" prefix (,python-path))
7180 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7181 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7183 (replace 'glib-or-gtk-wrap
7184 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7185 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7186 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7187 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7188 ;; phase. Fix that since we don't need these.
7189 (wrap #:inputs (fold alist-delete inputs
7190 '("inkscape" "intltool" "glib:bin"))
7191 #:outputs outputs)))))))
7193 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7194 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7195 ("gobject-introspection" ,gobject-introspection)
7196 ("inkscape" ,inkscape)
7197 ("intltool" ,intltool)
7198 ("pkg-config" ,pkg-config)
7200 ("ruby-sass" ,ruby-sass)
7202 ("xsltproc" ,libxslt)
7204 ("xorg-server" ,xorg-server-for-tests)))
7206 `(("accountsservice" ,accountsservice)
7207 ("caribou" ,caribou)
7208 ("docbook-xsl" ,docbook-xsl)
7209 ("evolution-data-server" ,evolution-data-server)
7212 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7214 ("gnome-bluetooth" ,gnome-bluetooth)
7215 ("gnome-desktop" ,gnome-desktop)
7216 ("gnome-settings-daemon" ,gnome-settings-daemon)
7217 ("gst-plugins-base" ,gst-plugins-base)
7219 ("libcanberra" ,libcanberra)
7220 ("libcroco" ,libcroco)
7221 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7222 ("libgweather" ,libgweather)
7223 ("libsoup" ,libsoup)
7224 ("mesa-headers" ,mesa-headers)
7226 ("network-manager-applet" ,network-manager-applet)
7228 ("pulseaudio" ,pulseaudio)
7229 ("python-pygobject" ,python-pygobject)
7230 ("startup-notification" ,startup-notification)
7231 ("telepathy-logger" ,telepathy-logger)
7233 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7234 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7235 ("librsvg" ,librsvg)
7236 ("geoclue" ,geoclue)))
7237 (synopsis "Desktop shell for GNOME")
7238 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7240 "GNOME Shell provides core user interface functions for the GNOME desktop,
7241 like switching to windows and launching applications.")
7242 (license license:gpl2+)))
7244 (define-public gtk-vnc
7251 (uri (string-append "mirror://gnome/sources/" name "/"
7252 (version-major+minor version) "/"
7253 name "-" version ".tar.xz"))
7256 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7257 (build-system gnu-build-system)
7259 '(#:configure-flags '("--with-gtk=3.0")))
7261 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7263 `(("cyrus-sasl" ,cyrus-sasl)
7265 ("libgcrypt" ,libgcrypt)
7266 ("pulseaudio" ,pulseaudio)))
7268 `(("glib:bin" ,glib "bin")
7269 ("gobject-introspection" ,gobject-introspection)
7270 ("intltool" ,intltool)
7271 ("pkg-config" ,pkg-config)
7272 ("python-wrapper" ,python-wrapper)
7274 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7275 (synopsis "VNC viewer widget for GTK+")
7277 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7278 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7279 GTK-VNC implements client side RFB protocol and authentication extensions such
7280 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7281 (license license:lgpl2.1+)))
7283 (define-public gnome-autoar
7285 (name "gnome-autoar")
7289 (uri (string-append "mirror://gnome/sources/" name "/"
7290 (version-major+minor version) "/"
7291 name "-" version ".tar.xz"))
7294 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7295 (build-system glib-or-gtk-build-system)
7297 `(("gobject-introspection" ,gobject-introspection)
7298 ("pkg-config" ,pkg-config)))
7300 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7303 (synopsis "Archives integration support for GNOME")
7304 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7306 "GNOME Autoar is a library which makes creating and extracting archives
7307 easy, safe, and automatic.")
7308 (license license:lgpl2.1+)))
7310 (define-public tracker
7316 (uri (string-append "mirror://gnome/sources/tracker/"
7317 (version-major+minor version) "/"
7318 "tracker-" version ".tar.xz"))
7321 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7322 (build-system meson-build-system)
7326 ;; Otherwise, the RUNPATH will lack the final path component.
7327 (list (string-append "-Dc_link_args=-Wl,-rpath="
7328 (assoc-ref %outputs "out") "/lib:"
7329 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7331 (modify-phases %standard-phases
7332 (add-before 'check 'pre-check
7334 ;; Some tests expect to write to $HOME.
7335 (setenv "HOME" "/tmp")
7338 `(("glib:bin" ,glib "bin")
7339 ("gobject-introspection" ,gobject-introspection)
7340 ("python-pygobject" ,python-pygobject)
7341 ("intltool" ,intltool)
7342 ("pkg-config" ,pkg-config)
7347 ("libxml2" ,libxml2)
7348 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7349 ("json-glib" ,json-glib)
7350 ("libsoup" ,libsoup)))
7351 (synopsis "Metadata database, indexer and search tool")
7352 (home-page "https://wiki.gnome.org/Projects/Tracker")
7354 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7356 It is a middleware component aimed at desktop application developers who want
7357 their apps to browse and search user content. It's not designed to be used
7358 directly by desktop users, but it provides a commandline tool named
7359 @command{tracker} for the adventurous.
7361 Tracker allows your application to instantly perform full-text searches across
7362 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7363 example. This is achieved by indexing the user's home directory in the
7366 Tracker also allows your application to query and list content that the user
7367 has stored. For example, GNOME Music displays all the music files that are
7368 found by Tracker. This means that GNOME Music doesn't need to maintain a
7369 database of its own.
7371 If you need to go beyond simple searches, Tracker is also a linked data
7372 endpoint and it understands SPARQL. ")
7373 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7374 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7375 ;; libstemmer is bsd-3 and the rest is gpl2+.
7376 (license (list license:gpl2+
7378 license:lgpl2.1+))))
7380 (define-public tracker-miners
7382 (name "tracker-miners")
7386 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7387 (version-major+minor version)
7388 "/tracker-miners-" version ".tar.xz"))
7391 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7392 (build-system meson-build-system)
7396 (list "-Dminer_rss=false" ; libgrss is required.
7397 ;; Ensure the RUNPATH contains all installed library locations.
7398 (string-append "-Dc_link_args=-Wl,-rpath="
7399 (assoc-ref %outputs "out")
7400 "/lib/tracker-miners-2.0")
7401 ;; TODO: Enable functional tests. Currently, the following error
7403 ;; Exception: The functional tests require DConf to be the default
7404 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7405 "-Dfunctional_tests=false")))
7408 ("intltool" ,intltool)
7409 ("glib:bin" ,glib "bin")
7410 ("gobject-introspection" ,gobject-introspection)
7411 ("pkg-config" ,pkg-config)
7412 ("python-pygobject" ,python-pygobject)))
7414 `(("exempi" ,exempi)
7419 ("gstreamer" ,gstreamer)
7422 ("libexif" ,libexif)
7424 ("libgxps" ,libgxps)
7425 ("libiptcdata" ,libiptcdata)
7426 ("libjpeg" ,libjpeg-turbo)
7427 ("libosinfo" ,libosinfo)
7429 ("libseccomp" ,libseccomp)
7430 ("libtiff" ,libtiff)
7431 ("libvorbis" ,libvorbis)
7432 ("libxml2" ,libxml2)
7433 ("poppler" ,poppler)
7435 ("totem-pl-parser" ,totem-pl-parser)
7436 ("tracker" ,tracker)
7439 (synopsis "Metadata database, indexer and search tool")
7440 (home-page "https://wiki.gnome.org/Projects/Tracker")
7442 "Tracker is an advanced framework for first class objects with associated
7443 metadata and tags. It provides a one stop solution for all metadata, tags,
7444 shared object databases, search tools and indexing.")
7445 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7446 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7447 (license (list license:gpl2+
7449 license:lgpl2.0+))))
7451 (define-public nautilus
7457 (uri (string-append "mirror://gnome/sources/" name "/"
7458 (version-major+minor version) "/"
7459 name "-" version ".tar.xz"))
7462 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7463 (build-system meson-build-system)
7467 (modify-phases %standard-phases
7468 (add-after 'unpack 'skip-gtk-update-icon-cache
7469 ;; Don't create 'icon-theme.cache'.
7471 (substitute* "build-aux/meson/postinstall.py"
7472 (("gtk-update-icon-cache") "true"))
7474 ;; XXX: FAIL: check-nautilus
7475 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7478 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7479 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7480 ("gobject-introspection" ,gobject-introspection)
7481 ("intltool" ,intltool)
7482 ("pkg-config" ,pkg-config)))
7488 ("gnome-desktop" ,gnome-desktop)
7489 ("gnome-autoar" ,gnome-autoar)
7490 ("gst-plugins-base" ,gst-plugins-base)
7491 ("libseccomp" ,libseccomp)
7492 ("libselinux" ,libselinux)
7493 ("tracker" ,tracker)
7494 ("tracker-miners" ,tracker-miners)
7495 ;; XXX: gtk+ is required by libnautilus-extension.pc
7497 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7499 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7501 ("libexif" ,libexif)
7502 ("libxml2" ,libxml2)))
7503 (synopsis "File manager for GNOME")
7504 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7506 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7507 design and behaviour, giving the user a simple way to navigate and manage its
7509 (license license:gpl2+)))
7511 (define-public baobab
7518 "mirror://gnome/sources/" name "/"
7519 (version-major+minor version) "/"
7520 name "-" version ".tar.xz"))
7523 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7524 (build-system meson-build-system)
7526 '(#:glib-or-gtk? #t))
7528 `(("intltool" ,intltool)
7529 ("pkg-config" ,pkg-config)
7530 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7531 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7532 ("itstool" ,itstool)
7533 ("xmllint" ,libxml2)
7534 ("glib" ,glib "bin")
7538 (synopsis "Disk usage analyzer for GNOME")
7540 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7541 usage in the GNOME desktop environment. It can easily scan device volumes or
7542 a specific user-requested directory branch (local or remote). Once the scan
7543 is complete it provides a graphical representation of each selected folder.")
7544 (home-page "https://wiki.gnome.org/Apps/Baobab")
7545 (license license:gpl2+)))
7547 (define-public gnome-backgrounds
7549 (name "gnome-backgrounds")
7554 (uri (string-append "mirror://gnome/sources/" name "/"
7555 (version-major+minor version) "/"
7556 name "-" version ".tar.xz"))
7559 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7560 (build-system meson-build-system)
7562 `(("intltool" ,intltool)))
7563 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7564 (synopsis "Background images for the GNOME desktop")
7566 "GNOME backgrounds package contains a collection of graphics files which
7567 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7568 the package creates the proper framework and directory structure so that you
7569 can add your own files to the collection.")
7570 (license (list license:gpl2+
7573 license:cc-by-sa3.0))))
7575 (define-public gnome-screenshot
7577 (name "gnome-screenshot")
7582 (uri (string-append "mirror://gnome/sources/" name "/"
7583 (version-major+minor version) "/"
7584 name "-" version ".tar.xz"))
7587 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7588 (build-system meson-build-system)
7591 (modify-phases %standard-phases
7592 (add-after 'unpack 'skip-gtk-update-icon-cache
7593 ;; Don't create 'icon-theme.cache'.
7595 (substitute* "build-aux/postinstall.py"
7596 (("gtk-update-icon-cache") "true"))
7599 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7600 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7601 ("intltool" ,intltool)
7602 ("appstream-glib" ,appstream-glib)
7603 ("pkg-config" ,pkg-config)))
7606 ("libcanberra" ,libcanberra)
7608 ("libxext" ,libxext)))
7609 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7610 (synopsis "Take pictures of your screen")
7612 "GNOME Screenshot is a utility used for taking screenshots of the entire
7613 screen, a window or a user defined area of the screen, with optional
7614 beautifying border effects.")
7615 (license license:gpl2+)))
7617 (define-public dconf-editor
7619 (name "dconf-editor")
7624 (uri (string-append "mirror://gnome/sources/" name "/"
7625 (version-major+minor version) "/"
7626 name "-" version ".tar.xz"))
7629 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7630 (build-system meson-build-system)
7632 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7633 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7634 ("intltool" ,intltool)
7635 ("pkg-config" ,pkg-config)
7640 ("libxml2" ,libxml2)))
7641 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7642 (synopsis "Graphical editor for GNOME's dconf configuration system")
7644 "Dconf-editor is a graphical tool for browsing and editing the dconf
7645 configuration system for GNOME. It allows users to configure desktop
7646 software that do not provide their own configuration interface.")
7647 (license license:lgpl2.1+)))
7649 (define-public gnome-default-applications
7651 (name "gnome-default-applications")
7653 (build-system trivial-build-system)
7656 `(("nautilus" ,nautilus)
7657 ("evince" ,evince)))
7659 `(#:modules ((guix build utils))
7662 (use-modules (guix build utils))
7663 (let* ((out (assoc-ref %outputs "out"))
7664 (apps (string-append out "/share/applications")))
7666 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7668 (format port "[Default Applications]\n")
7669 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7670 (format port "application/pdf=evince.desktop\n")
7671 (format port "application/postscript=evince.desktop\n")))
7673 (synopsis "Default MIME type associations for the GNOME desktop")
7675 "Given many installed packages which might handle a given MIME type, a
7676 user running the GNOME desktop probably has some preferences: for example,
7677 that folders be opened by default by the Nautilus file manager, not the Baobab
7678 disk usage analyzer. This package establishes that set of default MIME type
7679 associations for GNOME.")
7680 (license license:gpl3+)
7683 (define-public libgovirt
7689 (uri (string-append "mirror://gnome/sources/" name "/"
7690 (version-major+minor version) "/"
7691 name "-" version ".tar.xz"))
7694 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7695 (build-system glib-or-gtk-build-system)
7697 `(("gettext" ,gettext-minimal)
7698 ("glib:bin" ,glib "bin")
7699 ("gobject-introspection" ,gobject-introspection)
7700 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7701 ("gtk+:bin" ,gtk+ "bin")
7702 ("pkg-config" ,pkg-config)))
7704 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7706 (synopsis "GoVirt Library")
7707 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7708 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7709 (license license:gpl2+)))
7711 (define-public gnome-weather
7713 (name "gnome-weather")
7717 (uri (string-append "mirror://gnome/sources/" name "/"
7718 (version-major+minor version) "/"
7719 name "-" version ".tar.xz"))
7722 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7723 (build-system meson-build-system)
7725 `(("gettext" ,gettext-minimal)
7726 ("glib:bin" ,glib "bin")
7727 ("gobject-introspection" ,gobject-introspection)
7728 ("gtk+:bin" ,gtk+ "bin")
7729 ("pkg-config" ,pkg-config)))
7731 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7732 ("appstream-glib" ,appstream-glib)
7733 ("geoclue" ,geoclue)
7734 ("gdk-pixbuf" ,gdk-pixbuf)
7736 ("gnome-desktop" ,gnome-desktop)
7737 ("libgweather" ,libgweather)))
7740 (modify-phases %standard-phases
7741 (add-after 'install 'fix-desktop-file
7742 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7743 ;; See https://issues.guix.gnu.org/issue/39324.
7744 (lambda* (#:key outputs #:allow-other-keys)
7745 (let* ((out (assoc-ref outputs "out"))
7746 (applications (string-append out "/share/applications")))
7747 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7748 (("Exec=.*") "Exec=gnome-weather\n"))))))))
7749 (synopsis "Weather monitoring for GNOME desktop")
7750 (description "GNOME Weather is a small application that allows you to
7751 monitor the current weather conditions for your city, or anywhere in the
7753 (home-page "https://wiki.gnome.org/Apps/Weather")
7754 (license license:gpl2+)))
7756 (define-public gnome
7759 (version (package-version gnome-shell))
7761 (build-system trivial-build-system)
7762 (arguments '(#:builder (begin (mkdir %output) #t)))
7764 ;; TODO: Add or remove packages according to:
7765 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7767 ;; GNOME-Core-OS-Services
7768 ("accountsservice" ,accountsservice)
7769 ("network-manager" ,network-manager)
7770 ("packagekit" ,packagekit)
7773 ("adwaita-icon-theme" ,adwaita-icon-theme)
7775 ("glib-networking" ,glib-networking)
7776 ("gnome-backgrounds" ,gnome-backgrounds)
7777 ("gnome-bluetooth" ,gnome-bluetooth)
7778 ("gnome-color-manager" ,gnome-color-manager)
7779 ("gnome-control-center" ,gnome-control-center)
7780 ("gnome-desktop" ,gnome-desktop)
7781 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7782 ("gnome-initial-setup" ,gnome-initial-setup)
7783 ("gnome-keyring" ,gnome-keyring)
7784 ("gnome-menus" ,gnome-menus)
7785 ("gnome-session" ,gnome-session)
7786 ("gnome-settings-daemon" ,gnome-settings-daemon)
7787 ("gnome-shell-extensions" ,gnome-shell-extensions)
7788 ("gnome-shell" ,gnome-shell)
7789 ("gnome-themes-extra" ,gnome-themes-extra)
7790 ("gnome-user-docs" ,gnome-user-docs)
7791 ("gnome-user-share" ,gnome-user-share)
7792 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7798 ;; GNOME-Core-Utilities
7802 ("epiphany" ,epiphany)
7804 ("file-roller" ,file-roller)
7806 ; TODO: ("gnome-boxes" ,gnome-boxes)
7807 ("gnome-calculator" ,gnome-calculator)
7808 ("gnome-calendar" ,gnome-calendar)
7809 ("gnome-characters" ,gnome-characters)
7810 ("gnome-clocks" ,gnome-clocks)
7811 ("gnome-contacts" ,gnome-contacts)
7812 ("gnome-disk-utility" ,gnome-disk-utility)
7813 ("gnome-font-viewer" ,gnome-font-viewer)
7814 ("gnome-maps" ,gnome-maps)
7815 ; TODO: ("gnome-music" ,gnome-music)
7816 ; TODO: ("gnome-photos" ,gnome-photos)
7817 ("gnome-screenshot" ,gnome-screenshot)
7818 ("gnome-system-monitor" ,gnome-system-monitor)
7819 ("gnome-terminal" ,gnome-terminal)
7820 ("gnome-weather" ,gnome-weather)
7821 ("nautilus" ,nautilus)
7822 ("simple-scan" ,simple-scan)
7826 ("hicolor-icon-theme" ,hicolor-icon-theme)
7827 ("gnome-online-accounts" ,gnome-online-accounts)
7829 ;; Packages not part of GNOME proper but that are needed for a good
7830 ;; experience. See <https://bugs.gnu.org/39646>.
7831 ;; XXX: Find out exactly which ones are needed and why.
7832 ("font-cantarell" ,font-cantarell)
7833 ("font-dejavu" ,font-dejavu)
7834 ("at-spi2-core" ,at-spi2-core)
7837 ("desktop-file-utils" ,desktop-file-utils)
7838 ("gnome-default-applications" ,gnome-default-applications)
7839 ("gnome-themes-standard" ,gnome-themes-standard)
7840 ("gst-plugins-base" ,gst-plugins-base)
7841 ("gst-plugins-good" ,gst-plugins-good)
7842 ("gucharmap" ,gucharmap)
7843 ("pinentry-gnome3" ,pinentry-gnome3)
7844 ("pulseaudio" ,pulseaudio)
7845 ("shared-mime-info" ,shared-mime-info)
7846 ("system-config-printer" ,system-config-printer)
7847 ("xdg-user-dirs" ,xdg-user-dirs)
7849 ("zenity" ,zenity)))
7850 (synopsis "The GNU desktop environment")
7851 (home-page "https://www.gnome.org/")
7853 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7854 applications for browsing the web, editing text and images, creating
7855 documents and diagrams, playing media, scanning, and much more.")
7856 (license license:gpl2+)))
7858 (define-public byzanz
7859 ;; The last stable release of Byzanz was in 2011, but there have been many
7860 ;; useful commits made to the Byzanz repository since then that it would be
7861 ;; silly to use such an old release.
7862 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7865 (version (string-append "0.2-1." (string-take commit 7)))
7869 (url "https://git.gnome.org/browse/byzanz")
7871 (file-name (string-append name "-" version "-checkout"))
7874 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7875 (build-system glib-or-gtk-build-system)
7878 (modify-phases %standard-phases
7879 (add-before 'bootstrap 'build-without-Werror
7881 ;; The build system cleverly detects that we're not building from
7882 ;; a release tarball and turns on -Werror for GCC.
7883 ;; Unsurprisingly, there is a warning during compilation that
7884 ;; causes the build to fail unnecessarily, so we remove the flag.
7885 (substitute* '("configure.ac")
7889 `(("autoconf" ,autoconf)
7890 ("automake" ,automake)
7891 ("gnome-common" ,gnome-common)
7892 ("intltool" ,intltool)
7893 ("libtool" ,libtool)
7894 ("pkg-config" ,pkg-config)
7898 ("gstreamer" ,gstreamer)
7899 ("gst-plugins-base" ,gst-plugins-base)
7901 (synopsis "Desktop recording program")
7902 (description "Byzanz is a simple desktop recording program with a
7903 command-line interface. It can record part or all of an X display for a
7904 specified duration and save it as a GIF encoded animated image file.")
7905 (home-page "https://git.gnome.org/browse/byzanz")
7906 (license license:gpl2+))))
7908 (define-public gsound
7914 (uri (string-append "mirror://gnome/sources/" name "/"
7915 (version-major+minor version) "/"
7916 name "-" version ".tar.xz"))
7919 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7920 (build-system glib-or-gtk-build-system)
7922 `(("pkg-config" ,pkg-config)
7923 ("gobject-introspection" ,gobject-introspection)
7927 ("libcanberra" ,libcanberra)))
7928 (home-page "https://wiki.gnome.org/Projects/GSound")
7929 (synopsis "GObject wrapper for libcanberra")
7931 "GSound is a small library for playing system sounds. It's designed to be
7932 used via GObject Introspection, and is a thin wrapper around the libcanberra C
7934 (license license:lgpl2.1+)))
7936 (define-public libzapojit
7942 (uri (string-append "mirror://gnome/sources/" name "/"
7943 (version-major+minor version) "/"
7944 name "-" version ".tar.xz"))
7947 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7948 (build-system gnu-build-system)
7950 `(("gobject-introspection" ,gobject-introspection)
7951 ("intltool" ,intltool)
7952 ("pkg-config" ,pkg-config)))
7954 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7955 ("json-glib" ,json-glib)
7957 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7958 (synopsis "Library for accessing SkyDrive and Hotmail")
7960 "Libzapojit is a GLib-based library for accessing online service APIs of
7961 Microsoft SkyDrive and Hotmail, using their REST protocols.")
7962 (license license:lgpl2.1+)))
7964 (define-public gnome-clocks
7966 (name "gnome-clocks")
7970 (uri (string-append "mirror://gnome/sources/" name "/"
7971 (version-major+minor version) "/"
7972 name "-" version ".tar.xz"))
7975 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
7976 (build-system meson-build-system)
7978 '(#:glib-or-gtk? #t))
7981 ("pkg-config" ,pkg-config)
7982 ("glib" ,glib "bin") ; for glib-compile-resources
7983 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7984 ("desktop-file-utils" ,desktop-file-utils)
7985 ("gettext" ,gettext-minimal)
7986 ("itstool" ,itstool)))
7991 ("geoclue" ,geoclue)
7992 ("geocode-glib" ,geocode-glib)
7993 ("libgweather" ,libgweather)
7994 ("gnome-desktop" ,gnome-desktop)))
7995 (home-page "https://wiki.gnome.org/Apps/Clocks")
7996 (synopsis "GNOME's clock application")
7998 "GNOME Clocks is a simple clocks application designed to fit the GNOME
7999 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8000 (license license:gpl3+)))
8002 (define-public gnome-calendar
8004 (name "gnome-calendar")
8008 (uri (string-append "mirror://gnome/sources/" name "/"
8009 (version-major+minor version) "/"
8010 name "-" version ".tar.xz"))
8013 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
8014 (build-system meson-build-system)
8017 ;; gnome-calendar has to be installed before the tests can be run
8018 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8021 `(("gettext" ,gettext-minimal)
8022 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8023 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8024 ("pkg-config" ,pkg-config)))
8026 `(("evolution-data-server" ,evolution-data-server)
8027 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8028 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8029 ("libdazzle" ,libdazzle)
8030 ("libedataserverui" ,evolution-data-server)
8031 ("libgweather" ,libgweather)
8032 ("geoclue" ,geoclue)))
8033 (home-page "https://wiki.gnome.org/Apps/Calendar")
8034 (synopsis "GNOME's calendar application")
8036 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8037 desktop. It supports multiple calendars, month, week and year view.")
8038 (license license:gpl3+)))
8040 (define-public gnome-todo
8046 (uri (string-append "mirror://gnome/sources/" name "/"
8047 (version-major+minor version) "/"
8048 name "-" version ".tar.xz"))
8051 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
8052 (build-system meson-build-system)
8055 #:phases (modify-phases %standard-phases
8057 'install 'wrap-gnome-todo
8058 (lambda* (#:key inputs outputs #:allow-other-keys)
8059 (let ((out (assoc-ref outputs "out"))
8060 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8061 (python-path (getenv "PYTHONPATH")))
8062 (wrap-program (string-append out "/bin/gnome-todo")
8063 ;; XXX: gi plugins are broken.
8064 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8066 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8067 `("PYTHONPATH" ":" prefix (,python-path))))
8070 `(("gettext" ,gettext-minimal)
8071 ("gobject-introspection" ,gobject-introspection)
8072 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8073 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8074 ("pkg-config" ,pkg-config)))
8076 `(("rest" ,rest) ; For Todoist plugin
8077 ("json-glib" ,json-glib) ; For Todoist plugin
8078 ("libedataserverui" ,evolution-data-server)
8079 ("libical" ,libical)
8080 ("libpeas" ,libpeas)
8081 ("python-pygobject" ,python-pygobject)
8082 ("evolution-data-server" ,evolution-data-server)
8083 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8084 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8085 (home-page "https://wiki.gnome.org/Apps/Todo")
8086 (synopsis "GNOME's ToDo Application")
8088 "GNOME To Do is a simplistic personal task manager designed to perfectly
8089 fit the GNOME desktop.")
8090 (license license:gpl3+)))
8092 (define-public gnome-dictionary
8094 (name "gnome-dictionary")
8098 (uri (string-append "mirror://gnome/sources/" name "/"
8099 (version-major+minor version) "/"
8100 name "-" version ".tar.xz"))
8103 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8104 (build-system meson-build-system)
8105 (arguments '(#:glib-or-gtk? #t
8106 #:phases (modify-phases %standard-phases
8107 (add-after 'unpack 'patch-install-script
8109 ;; This script attempts to compile glib schemas
8110 ;; and create an empty MIME database. We do
8111 ;; that elsewhere, so prevent it from running.
8112 (substitute* "build-aux/post-install.sh"
8113 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8116 `(("glib:bin" ,glib "bin")
8117 ("gobject-introspection" ,gobject-introspection)
8118 ("intltool" ,intltool)
8119 ("itstool" ,itstool)
8120 ("pkg-config" ,pkg-config)
8121 ("xmllint" ,libxml2)))
8123 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8125 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8126 (synopsis "Look up words in dictionary sources")
8128 "GNOME Dictionary can look for the definition or translation of a word in
8129 existing databases over the internet.")
8130 (license license:gpl3+)))
8132 (define-public gnome-tweaks
8134 (name "gnome-tweaks")
8138 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8139 (version-major+minor version) "/"
8140 "gnome-tweaks-" version ".tar.xz"))
8142 (list (search-patch "gnome-tweaks-search-paths.patch")))
8145 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
8146 (build-system meson-build-system)
8149 #:configure-flags '("-Dlocalstatedir=/tmp"
8150 "-Dsysconfdir=/tmp")
8151 #:imported-modules ((guix build python-build-system)
8152 ,@%meson-build-system-modules)
8154 (modify-phases %standard-phases
8155 (add-after 'install 'wrap
8156 (@@ (guix build python-build-system) wrap))
8157 (add-after 'wrap 'wrap-gi-typelib
8158 (lambda* (#:key inputs outputs #:allow-other-keys)
8159 (let ((out (assoc-ref outputs "out"))
8160 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8161 (wrap-program (string-append out "/bin/gnome-tweaks")
8162 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8165 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8166 ("intltool" ,intltool)
8167 ("pkg-config" ,pkg-config)))
8169 `(("gnome-desktop" ,gnome-desktop)
8171 ("gobject-introspection" ,gobject-introspection)
8172 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8173 ("libnotify" ,libnotify)
8174 ("libsoup" ,libsoup)
8175 ("nautilus" ,nautilus)
8177 ("python-pygobject" ,python-pygobject)))
8178 (synopsis "Customize advanced GNOME 3 options")
8179 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8181 "GNOME Tweaks allows adjusting advanced configuration settings in
8182 GNOME 3. This includes things like the fonts used in user interface elements,
8183 alternative user interface themes, changes in window management behavior,
8184 GNOME Shell appearance and extension, etc.")
8185 (license license:gpl3+)))
8187 (define-public gnome-shell-extensions
8189 (name "gnome-shell-extensions")
8193 (uri (string-append "mirror://gnome/sources/" name "/"
8194 (version-major+minor version) "/"
8195 name "-" version ".tar.xz"))
8198 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
8199 (build-system meson-build-system)
8201 '(#:configure-flags '("-Dextension_set=all")))
8203 `(("glib:bin" ,glib "bin")
8204 ("intltool" ,intltool)
8205 ("pkg-config" ,pkg-config)))
8208 (synopsis "Extensions for GNOME Shell")
8209 (description "GNOME Shell extensions modify and extend GNOME Shell
8210 functionality and behavior.")
8211 (home-page "https://extensions.gnome.org/")
8212 (license license:gpl3+)))
8214 (define-public arc-theme
8217 (version "20190917")
8221 (url "https://github.com/NicoHood/arc-theme.git")
8223 (file-name (git-file-name name version))
8226 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8227 (build-system gnu-build-system)
8230 (modify-phases %standard-phases
8231 ;; autogen.sh calls configure at the end of the script.
8233 (lambda _ (invoke "autoreconf" "-vfi")))
8234 (add-before 'build 'set-home ;placate Inkscape
8236 (setenv "HOME" (getcwd))
8239 `(("autoconf" ,autoconf)
8240 ("automake" ,automake)
8241 ("glib" ,glib "bin") ; for glib-compile-resources
8242 ("gnome-shell" ,gnome-shell)
8244 ("inkscape" ,inkscape)
8245 ("optipng" ,optipng)
8246 ("pkg-config" ,pkg-config)
8247 ("sassc" ,sassc/libsass-3.5)))
8248 (synopsis "A flat GTK+ theme with transparent elements")
8249 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8250 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8251 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8252 (home-page "https://github.com/horst3180/arc-theme")
8253 ;; No "or later" language found.
8254 (license license:gpl3+)))
8256 (define-public faba-icon-theme
8258 (name "faba-icon-theme")
8264 (url "https://github.com/snwh/faba-icon-theme.git")
8265 (commit (string-append "v" version))))
8266 (file-name (git-file-name name version))
8268 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8269 (build-system meson-build-system)
8272 (modify-phases %standard-phases
8273 (add-before 'configure 'disable-post-install
8275 (substitute* "meson.build"
8276 (("meson.add_install_script.*") "")))))))
8278 `(("autoconf" ,autoconf)
8279 ("automake" ,automake)))
8280 (synopsis "Faba icon theme")
8282 "Faba is a minimal icon set used as a basis for other themes such as
8284 (home-page "https://snwh.org/moka")
8285 (license (list license:lgpl3+
8286 license:cc-by-sa4.0))))
8288 (define-public moka-icon-theme
8290 (inherit faba-icon-theme)
8291 (name "moka-icon-theme")
8297 (url "https://github.com/snwh/moka-icon-theme.git")
8298 (commit (string-append "v" version))))
8299 (file-name (git-file-name name version))
8301 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8303 ;; Moka is based on Faba by using it as a fallback icon set instead of
8304 ;; bundling it, so we need to add it as a propagated input.
8305 `(("faba-icon-theme" ,faba-icon-theme)))
8306 (synopsis "Moka icon theme")
8307 (description "Moka is a stylized desktop icon set, designed to be clear,
8308 simple and consistent.")
8309 (license (list license:gpl3+
8310 license:cc-by-sa4.0))))
8312 (define-public arc-icon-theme
8314 (name "arc-icon-theme")
8315 (version "20161122")
8320 (url "https://github.com/horst3180/arc-icon-theme.git")
8322 (file-name (git-file-name name version))
8324 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8325 (build-system gnu-build-system)
8328 (modify-phases %standard-phases
8329 (add-after 'unpack 'disable-configure-during-bootstrap
8331 (substitute* "autogen.sh"
8332 (("^\"\\$srcdir/configure\".*") ""))
8335 `(("autoconf" ,autoconf)
8336 ("automake" ,automake)))
8337 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8339 `(("moka-icon-theme" ,moka-icon-theme)))
8340 (synopsis "Arc icon theme")
8341 (description "The Arc icon theme provides a set of icons matching the
8342 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8343 the Moka icon theme.")
8344 (home-page "https://github.com/horst3180/arc-icon-theme")
8345 (license license:gpl3+)))
8347 (define-public folks
8354 "mirror://gnome/sources/folks/"
8355 (version-major+minor version) "/"
8356 "folks-" version ".tar.xz"))
8359 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8360 (build-system meson-build-system)
8363 (modify-phases %standard-phases
8364 (add-after 'unpack 'skip-gtk-update-icon-cache
8365 ;; Don't create 'icon-theme.cache'.
8367 (substitute* "meson_post_install.py"
8368 (("gtk-update-icon-cache") "true"))
8372 ("dbus-glib" ,dbus-glib)
8373 ("evolution-data-server" ,evolution-data-server)
8376 ("readline" ,readline)
8377 ("telepathy-glib" ,telepathy-glib)))
8379 `(("glib:bin" ,glib "bin")
8380 ("gobject-introspection" ,gobject-introspection)
8381 ("intltool" ,intltool)
8382 ("pkg-config" ,pkg-config)
8384 (synopsis "Library to aggregate data about people")
8385 (description "Libfolks is a library that aggregates information about people
8386 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8387 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8388 etc.) to create metacontacts. It's written in Vala, which generates C code when
8390 (home-page "https://wiki.gnome.org/Projects/Folks")
8391 (license license:lgpl2.1+)))
8393 (define-public gfbgraph
8400 "mirror://gnome/sources/gfbgraph/"
8401 (version-major+minor version) "/"
8402 "gfbgraph-" version ".tar.xz"))
8405 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8406 (build-system glib-or-gtk-build-system)
8408 `(#:tests? #f ; Tests appear to require the network.
8409 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8410 #:configure-flags '("--disable-gtk-doc"
8412 "--enable-introspection")))
8414 `(("pkg-config" ,pkg-config)
8415 ("gobject-introspection" ,gobject-introspection)))
8417 `(("json-glib" ,json-glib)
8418 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8420 (synopsis "GLib/GObject wrapper for the Facebook API")
8421 (description "This library allows you to use the Facebook API from
8422 GLib/GObject code.")
8423 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8424 (license license:lgpl2.1+)))
8426 (define-public libgnomekbd
8428 (name "libgnomekbd")
8432 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8433 (version-major+minor version) "/"
8434 "libgnomekbd-" version ".tar.xz"))
8437 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8438 (build-system gnu-build-system)
8440 `(("pkg-config" ,pkg-config)
8441 ("glib" ,glib "bin")
8442 ("intltool" ,intltool)))
8444 ;; Referred to in .h files and .pc.
8447 ("libxklavier" ,libxklavier)))
8448 (home-page "https://www.gnome.org")
8449 (synopsis "GNOME keyboard configuration library")
8451 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8452 environment, which can notably display keyboard layouts.")
8453 (license license:lgpl2.0+)))
8455 ;;; This package is no longer maintained:
8456 ;;; https://wiki.gnome.org/Attic/LibUnique
8457 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8458 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8459 (define-public libunique
8465 (uri (string-append "mirror://gnome/sources/" name "/"
8466 (version-major+minor version) "/"
8467 name "-" version ".tar.xz"))
8470 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8471 (build-system glib-or-gtk-build-system)
8473 `(#:configure-flags '("--disable-static"
8474 "--disable-dbus" ; use gdbus
8475 "--enable-introspection")))
8477 `(("pkg-config" ,pkg-config)
8478 ("gobject-introspection" ,gobject-introspection)
8479 ("glib:bin" ,glib "bin")
8480 ("gtk-doc" ,gtk-doc)))
8482 ;; Referred to in .h files and .pc.
8484 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8485 (synopsis "Library for writing single instance applications")
8487 "Libunique is a library for writing single instance applications. If you
8488 launch a single instance application twice, the second instance will either just
8489 quit or will send a message to the running instance. Libunique makes it easy to
8490 write this kind of application, by providing a base class, taking care of all
8491 the IPC machinery needed to send messages to a running instance, and also
8492 handling the startup notification side.")
8493 (license license:lgpl2.1+)))
8495 (define-public gnome-calculator
8497 (name "gnome-calculator")
8502 (uri (string-append "mirror://gnome/sources/" name "/"
8503 (version-major+minor version) "/"
8504 name "-" version ".tar.xz"))
8507 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8508 (build-system meson-build-system)
8509 (arguments '(#:glib-or-gtk? #t))
8511 `(("gettext" ,gettext-minimal)
8512 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8513 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8514 ("itstool" ,itstool)
8516 ("pkg-config" ,pkg-config)))
8519 ("gtksourceview" ,gtksourceview)
8521 ("libsoup" ,libsoup)
8522 ("libxml2" ,libxml2)
8525 (home-page "https://wiki.gnome.org/Apps/Calculator")
8526 (synopsis "Desktop calculator")
8528 "Calculator is an application that solves mathematical equations and
8529 is suitable as a default application in a Desktop environment.")
8530 (license license:gpl3)))
8539 (uri (string-append "https://launchpad.net/xpad/trunk/"
8540 version "/+download/"
8541 name "-" version ".tar.bz2"))
8544 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8545 (build-system gnu-build-system)
8547 `(("autoconf" ,autoconf)
8548 ("automake" ,automake)
8549 ("gtk+:bin" ,gtk+ "bin")
8550 ("intltool" ,intltool)
8551 ("pkg-config" ,pkg-config)))
8553 `(("gtksourceview" ,gtksourceview-3)
8555 (home-page "https://wiki.gnome.org/Apps/Xpad")
8556 (synopsis "Virtual sticky note")
8558 "Xpad is a sticky note that strives to be simple, fault tolerant,
8559 and customizable. Xpad consists of independent pad windows, each is
8560 basically a text box in which notes can be written.")
8561 (license license:gpl3+)))
8563 (define-public gucharmap
8564 (let ((unicode-files
8566 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8568 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8570 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8572 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8574 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8576 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8583 (uri (string-append "mirror://gnome/sources/" name "/"
8584 (version-major+minor version) "/"
8585 name "-" version ".tar.xz"))
8588 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8589 (build-system glib-or-gtk-build-system)
8591 `(#:modules ((ice-9 match)
8592 (guix build glib-or-gtk-build-system)
8595 (list "--with-unicode-data=../unicode-data")
8597 (modify-phases %standard-phases
8598 (add-after 'unpack 'prepare-unicode-data
8599 (lambda* (#:key inputs #:allow-other-keys)
8600 (mkdir-p "../unicode-data")
8601 (with-directory-excursion "../unicode-data"
8602 (for-each (match-lambda
8604 (install-file (assoc-ref inputs file) ".")))
8608 `(("desktop-file-utils" ,desktop-file-utils)
8609 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8610 ("gobject-introspection" ,gobject-introspection)
8611 ("intltool" ,intltool)
8612 ("itstool" ,itstool)
8613 ("pkg-config" ,pkg-config)
8614 ,@(map (match-lambda
8620 "http://www.unicode.org/Public/12.0.0/ucd/"
8622 (sha256 (base32 hash))))))
8627 ("xmllint" ,libxml2)))
8628 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8629 (synopsis "Unicode character picker and font browser")
8631 "This program allows you to browse through all the available Unicode
8632 characters and categories for the installed fonts, and to examine their
8633 detailed properties. It is an easy way to find the character you might
8634 only know by its Unicode name or code point.")
8635 (license license:gpl3+))))
8637 (define-public bluefish
8644 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8645 "bluefish-" version ".tar.gz"))
8647 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8648 (build-system gnu-build-system)
8650 `(("desktop-file-utils" ,desktop-file-utils)
8651 ("intltool" ,intltool)
8652 ("pkg-config" ,pkg-config)))
8654 `(("enchant" ,enchant)
8656 ("python" ,python-wrapper)
8657 ("xmllint" ,libxml2)
8658 ("gucharmap" ,gucharmap)))
8659 (home-page "http://bluefish.openoffice.nl")
8660 (synopsis "Web development studio")
8662 "Bluefish is an editor targeted towards programmers and web developers,
8663 with many options to write web sites, scripts and other code.
8664 Bluefish supports many programming and markup languages.")
8665 (license license:gpl3+)))
8667 (define-public gnome-system-monitor
8669 (name "gnome-system-monitor")
8674 (uri (string-append "mirror://gnome/sources/" name "/"
8675 (version-major+minor version) "/"
8676 name "-" version ".tar.xz"))
8679 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8680 (build-system meson-build-system)
8683 #:configure-flags '("-Dsystemd=false")))
8685 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8686 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8687 ("intltool" ,intltool)
8688 ("itstool" ,itstool)
8689 ("libgtop" ,libgtop)
8691 ("pkg-config" ,pkg-config)))
8693 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8696 ("librsvg" ,librsvg)
8697 ("libxml2" ,libxml2)
8698 ("libwnck" ,libwnck)))
8699 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8700 (synopsis "Process viewer and system resource monitor for GNOME")
8702 "GNOME System Monitor is a GNOME process viewer and system monitor with
8703 an attractive, easy-to-use interface. It has features, such as a tree view
8704 for process dependencies, icons for processes, the ability to hide processes,
8705 graphical time histories of CPU/memory/swap usage and the ability to
8706 kill/reinice processes.")
8707 (license license:gpl2+)))
8709 (define-public python-pyatspi
8711 (name "python-pyatspi")
8716 "mirror://gnome/sources/pyatspi/"
8717 (version-major+minor version)
8718 "/pyatspi-" version ".tar.xz"))
8721 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8722 (build-system gnu-build-system)
8725 (modify-phases %standard-phases
8726 (add-before 'build 'fix-atk-load
8728 (substitute* "pyatspi/__init__.py"
8729 (("from gi.repository import Atspi")
8730 "gi.require_version('Gtk', '3.0')
8731 from gi.repository import Gtk
8732 from gi.repository import Atspi"))
8735 `(("pkg-config" ,pkg-config)))
8737 `(("python" ,python)
8738 ("python-pygobject" ,python-pygobject)))
8739 (synopsis "Python client bindings for D-Bus AT-SPI")
8740 (home-page "https://wiki.linuxfoundation.org/accessibility\
8741 /atk/at-spi/at-spi_on_d-bus")
8743 "This package includes a python client library for the AT-SPI D-Bus
8744 accessibility infrastructure.")
8745 (license license:lgpl2.0)
8746 (properties '((upstream-name . "pyatspi")))))
8755 "mirror://gnome/sources/" name "/"
8756 (version-major+minor version) "/"
8757 name "-" version ".tar.xz"))
8760 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
8761 (build-system glib-or-gtk-build-system)
8764 (modify-phases %standard-phases
8765 (add-before 'configure 'qualify-xkbcomp
8766 (lambda* (#:key inputs #:allow-other-keys)
8767 (let ((xkbcomp (string-append
8768 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8769 (substitute* "src/orca/orca.py"
8770 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8772 (add-after 'install 'wrap-orca
8773 (lambda* (#:key outputs #:allow-other-keys)
8774 (let* ((out (assoc-ref outputs "out"))
8775 (prog (string-append out "/bin/orca")))
8777 `("GI_TYPELIB_PATH" ":" prefix
8778 (,(getenv "GI_TYPELIB_PATH")))
8779 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8780 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8781 `("PYTHONPATH" ":" prefix
8782 (,(getenv "PYTHONPATH")))))
8785 `(("intltool" ,intltool)
8786 ("itstool" ,itstool)
8787 ("pkg-config" ,pkg-config)
8788 ("xmllint" ,libxml2)))
8790 `(("at-spi2-atk" ,at-spi2-atk)
8791 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8792 ("gstreamer" ,gstreamer)
8793 ("gst-plugins-base" ,gst-plugins-base)
8794 ("gst-plugins-good" ,gst-plugins-good)
8797 ("python-pygobject" ,python-pygobject)
8798 ("python-pyatspi" ,python-pyatspi)
8799 ("python-speechd" ,speech-dispatcher)
8800 ("xkbcomp" ,xkbcomp)))
8802 "Screen reader for individuals who are blind or visually impaired")
8803 (home-page "https://wiki.gnome.org/Projects/Orca")
8805 "Orca is a screen reader that provides access to the graphical desktop
8806 via speech and refreshable braille. Orca works with applications and toolkits
8807 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8808 (license license:lgpl2.1+)))
8810 (define-public gspell
8816 (uri (string-append "mirror://gnome/sources/" name "/"
8817 (version-major+minor version) "/"
8818 name "-" version ".tar.xz"))
8821 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8822 (patches (search-patches "gspell-dash-test.patch"))))
8823 (build-system glib-or-gtk-build-system)
8825 '(#:configure-flags (list "--enable-vala")
8827 (modify-phases %standard-phases
8828 (add-before 'check 'pre-check
8829 (lambda* (#:key inputs #:allow-other-keys)
8830 ;; Tests require a running X server.
8831 (system "Xvfb :1 &")
8832 (setenv "DISPLAY" ":1")
8834 ;; For the missing /etc/machine-id.
8835 (setenv "DBUS_FATAL_WARNINGS" "0")
8837 ;; Allow Enchant and its Aspell backend to find the en_US
8839 (setenv "ASPELL_DICT_DIR"
8840 (string-append (assoc-ref inputs "aspell-dict-en")
8846 ("iso-codes" ,iso-codes)))
8848 `(("glib" ,glib "bin")
8849 ("gobject-introspection" ,gobject-introspection)
8850 ("pkg-config" ,pkg-config)
8851 ("vala" ,vala) ;for VAPI, needed by Geary
8852 ("xmllint" ,libxml2)
8855 ("aspell-dict-en" ,aspell-dict-en)
8856 ("xorg-server" ,xorg-server-for-tests)))
8858 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8859 (home-page "https://wiki.gnome.org/Projects/gspell")
8860 (synopsis "GNOME's alternative spell checker")
8862 "gspell provides a flexible API to add spell-checking to a GTK+
8863 application. It provides a GObject API, spell-checking to text entries and
8864 text views, and buttons to choose the language.")
8865 (license license:gpl2+)))
8867 (define-public gnome-planner
8869 (name "gnome-planner")
8873 (uri (string-append "mirror://gnome/sources/planner/"
8874 (version-major+minor version) "/planner-"
8878 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8879 (build-system glib-or-gtk-build-system)
8881 ;; Disable the Python bindings because the Planner program functions
8882 ;; without them, and (as of 2017-06-13) we have not packaged all of
8883 ;; packages that are necessary for building the Python bindings.
8885 (list "--disable-python"
8886 ,@(if (string=? "aarch64-linux" (%current-system))
8887 '("--build=aarch64-unknown-linux-gnu")
8890 `(("libgnomecanvas" ,libgnomecanvas)
8891 ("libgnomeui" ,libgnomeui)
8892 ("libglade" ,libglade)
8893 ("gnome-vfs" ,gnome-vfs)
8895 ("libxml2" ,libxml2)
8896 ("libxslt" ,libxslt)
8900 `(("intltool" ,intltool)
8901 ("scrollkeeper" ,scrollkeeper)
8902 ("pkg-config" ,pkg-config)))
8903 (home-page "https://wiki.gnome.org/Apps/Planner")
8904 (synopsis "Project management software for the GNOME desktop")
8906 "GNOME Planner is a project management tool based on the Work Breakdown
8907 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8908 the resources, tasks, and constraints that you define, Planner generates
8909 various views into a project. For example, Planner can show a Gantt chart of
8910 the project. It can show a detailed summary of tasks including their
8911 duration, cost, and current progress. It can also show a report of resource
8912 utilization that highlights under-utilized and over-utilized resources. These
8913 views can be printed as PDF or PostScript files, or exported to HTML.")
8914 (license license:gpl2+)))
8916 (define-public lollypop
8923 (uri (string-append "https://adishatz.org/lollypop/"
8924 "lollypop-" version ".tar.xz"))
8926 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
8927 (build-system meson-build-system)
8929 `(#:imported-modules
8930 (,@%meson-build-system-modules
8931 (guix build python-build-system))
8933 ((guix build meson-build-system)
8934 ((guix build python-build-system) #:prefix python:)
8937 #:tests? #f ; no test suite
8939 (modify-phases %standard-phases
8940 (add-after 'install 'wrap-program
8941 (lambda* (#:key outputs #:allow-other-keys)
8942 (let ((out (assoc-ref outputs "out"))
8943 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8944 (wrap-program (string-append out "/bin/lollypop")
8945 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8947 (add-after 'install 'wrap-python
8948 (assoc-ref python:%standard-phases 'wrap)))))
8950 `(("intltool" ,intltool)
8951 ("itstool" ,itstool)
8952 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8953 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8954 ("pkg-config" ,pkg-config)))
8956 `(("gobject-introspection" ,gobject-introspection)
8957 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8958 ("gst-plugins-base" ,gst-plugins-base)
8959 ("libnotify" ,libnotify)
8960 ("libsecret" ,libsecret)
8961 ("libsoup" ,libsoup)
8963 ("python-beautifulsoup4" ,python-beautifulsoup4)
8964 ("python-gst" ,python-gst)
8965 ("python-pil" ,python-pillow)
8966 ("python-pycairo" ,python-pycairo)
8967 ("python-pygobject" ,python-pygobject)
8968 ("python-pylast" ,python-pylast)
8969 ("totem-pl-parser" ,totem-pl-parser)
8970 ("webkitgtk" ,webkitgtk)))
8972 `(;; gst-plugins-base is required to start Lollypop,
8973 ;; the others are required to play streaming.
8974 ("gst-plugins-good" ,gst-plugins-good)
8975 ("gst-plugins-ugly" ,gst-plugins-ugly)))
8976 (home-page "https://wiki.gnome.org/Apps/Lollypop")
8977 (synopsis "GNOME music playing application")
8979 "Lollypop is a music player designed to play well with GNOME desktop.
8980 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
8981 from artists and tracks from the web. It also fetches cover artworks
8982 automatically and it can stream songs from online music services and charts.")
8983 (license license:gpl3+)))
8985 (define-public gnome-video-effects
8987 (name "gnome-video-effects")
8991 (uri (string-append "mirror://gnome/sources/" name "/"
8992 (version-major+minor version) "/" name "-"
8996 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
8997 (build-system glib-or-gtk-build-system)
8999 `(#:out-of-source? #f))
9001 `(("glib:bin" ,glib "bin")
9002 ("intltool" ,intltool)
9003 ("gettext" ,gettext-minimal)
9004 ("pkg-config" ,pkg-config)))
9005 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9006 (synopsis "Video effects for Cheese and other GNOME applications")
9008 "A collection of GStreamer video filters and effects to be used in
9009 photo-booth-like software, such as Cheese.")
9010 (license license:gpl2+)))
9012 (define-public cheese
9018 (uri (string-append "mirror://gnome/sources/" name "/"
9019 (version-major+minor version) "/" name "-"
9023 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
9025 ;; Tests require GDK.
9028 (modify-phases %standard-phases
9029 (add-before 'install 'skip-gtk-update-icon-cache
9031 ;; Don't create 'icon-theme.cache'
9032 (substitute* "Makefile"
9033 (("gtk-update-icon-cache") (which "true")))
9035 (add-after 'install 'wrap-cheese
9036 (lambda* (#:key inputs outputs #:allow-other-keys)
9037 (let ((out (assoc-ref outputs "out"))
9038 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9039 (wrap-program (string-append out "/bin/cheese")
9040 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9042 (build-system glib-or-gtk-build-system)
9044 `(("glib:bin" ,glib "bin")
9045 ("intltool" ,intltool)
9046 ("itstool" ,itstool)
9047 ("libxml2" ,libxml2)
9048 ("pkg-config" ,pkg-config)
9051 `(("gnome-video-effects" ,gnome-video-effects)
9052 ("clutter" ,clutter)
9053 ("clutter-gst" ,clutter-gst)
9054 ("clutter-gtk" ,clutter-gtk)
9055 ("libcanberra" ,libcanberra)
9056 ("gdk-pixbuf" ,gdk-pixbuf)
9058 ("gstreamer" ,gstreamer)))
9060 `(("gnome-desktop" ,gnome-desktop)
9061 ("gobject-introspection" ,gobject-introspection)
9062 ("gst-plugins-base" ,gst-plugins-base)
9063 ("gst-plugins-bad" ,gst-plugins-bad)
9066 ("libxtst" ,libxtst)))
9067 (home-page "https://wiki.gnome.org/Apps/Cheese")
9068 (synopsis "Webcam photo booth software for GNOME")
9070 "Cheese uses your webcam to take photos and videos. Cheese can also
9071 apply fancy special effects and lets you share the fun with others.")
9072 (license license:gpl2+)))
9074 (define-public sound-juicer
9076 (name "sound-juicer")
9081 (uri (string-append "mirror://gnome/sources/" name "/"
9082 (version-major+minor version) "/"
9083 name "-" version ".tar.xz"))
9086 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9087 (build-system glib-or-gtk-build-system)
9089 `(("desktop-file-utils" ,desktop-file-utils)
9090 ("intltool" ,intltool)
9091 ("itstool" ,itstool)
9092 ("pkg-config" ,pkg-config)
9093 ("xmllint" ,libxml2)))
9096 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9097 ("gstreamer" ,gstreamer)
9098 ("gst-plugins-base" ,gst-plugins-base)
9099 ("gst-plugins-good" ,gst-plugins-good)
9100 ("iso-codes" ,iso-codes)
9101 ("libbrasero-media3" ,brasero)
9102 ("libcanberra" ,libcanberra)
9103 ("libdiscid" ,libdiscid)
9104 ("libmusicbrainz" ,libmusicbrainz)
9106 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9107 (synopsis "Audio music cd ripper")
9108 (description "Sound Juicer extracts audio from compact discs and convert it
9109 into audio files that a personal computer or digital audio player can play.
9110 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9111 mp3, Ogg Vorbis and FLAC")
9112 (license license:gpl2+)))
9114 (define-public soundconverter
9116 (name "soundconverter")
9121 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9122 version "/+download/"
9123 "soundconverter-" version ".tar.xz"))
9126 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
9129 "soundconverter-remove-gconf-dependency.patch"))))
9130 (build-system glib-or-gtk-build-system)
9132 `(#:imported-modules ((guix build python-build-system)
9133 (guix build glib-or-gtk-build-system)
9134 ,@%gnu-build-system-modules)
9136 #:modules ((guix build glib-or-gtk-build-system)
9138 ((guix build gnu-build-system) #:prefix gnu:)
9139 ((guix build python-build-system) #:prefix python:))
9142 (modify-phases %standard-phases
9143 (add-after 'install 'wrap-soundconverter-for-python
9144 (assoc-ref python:%standard-phases 'wrap))
9145 (add-after 'install 'wrap-soundconverter
9146 (lambda* (#:key inputs outputs #:allow-other-keys)
9147 (let ((out (assoc-ref outputs "out"))
9148 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9149 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9150 (wrap-program (string-append out "/bin/soundconverter")
9151 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9152 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9155 `(("intltool" ,intltool)
9156 ("pkg-config" ,pkg-config)
9157 ("glib:bin" ,glib "bin")))
9161 ("python-pygobject" ,python-pygobject)
9162 ("gstreamer" ,gstreamer)
9163 ("gst-plugins-base" ,gst-plugins-base)))
9164 (home-page "https://soundconverter.org/")
9165 (synopsis "Convert between audio formats with a graphical interface")
9167 "SoundConverter supports converting between many audio formats including
9168 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9169 configurable file renaming. ")
9170 (license license:gpl3)))
9172 (define-public workrave
9180 (url "https://github.com/rcaelers/workrave.git")
9181 (commit (string-append "v" (string-map
9182 (match-lambda (#\. #\_) (chr chr))
9184 (file-name (git-file-name name version))
9186 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9187 (build-system glib-or-gtk-build-system)
9189 ;; The only tests are maintainer tests (in po/), which fail.
9191 (inputs `(("glib" ,glib)
9193 ("gdk-pixbuf" ,gdk-pixbuf)
9197 ("libxtst" ,libxtst)
9201 ("libxscrnsaver" ,libxscrnsaver)))
9202 (native-inputs `(("boost" ,boost)
9203 ("pkg-config" ,pkg-config)
9204 ("gettext" ,gettext-minimal)
9205 ("autoconf" ,autoconf)
9206 ("autoconf-archive" , autoconf-archive)
9207 ("automake" ,automake)
9208 ("libtool" ,libtool)
9209 ("intltool" ,intltool)
9210 ("gobject-introspection" ,gobject-introspection)
9211 ("python3" ,python-3)
9212 ("python-jinja2" ,python-jinja2)))
9213 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9215 "Workrave is a program that assists in the recovery and prevention of
9216 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9217 micro-pauses and rest breaks, and restricts you to your daily limit.")
9218 (home-page "http://www.workrave.org")
9219 (license license:gpl3+)))
9227 (uri (string-append "mirror://gnome/sources/ghex/"
9228 (version-major+minor version) "/"
9229 "ghex-" version ".tar.xz"))
9232 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9233 (build-system meson-build-system)
9237 (modify-phases %standard-phases
9238 (add-after 'unpack 'skip-gtk-update-icon-cache
9239 ;; Don't create 'icon-theme.cache'.
9241 (substitute* "meson_post_install.py"
9242 (("gtk-update-icon-cache") (which "true")))
9245 `(("pkg-config" ,pkg-config)
9246 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9247 ("gnome-common" ,gnome-common)
9249 ("intltool" ,intltool)
9250 ("yelp-tools" ,yelp-tools)
9251 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9255 (synopsis "GNOME hexadecimal editor")
9256 (description "The GHex program can view and edit files in two ways:
9257 hexadecimal or ASCII. It is useful for editing binary files in general.")
9258 (home-page "https://wiki.gnome.org/Apps/Ghex")
9259 (license license:gpl2)))
9261 (define-public libdazzle
9267 (uri (string-append "mirror://gnome/sources/libdazzle/"
9268 (version-major+minor version) "/"
9269 "libdazzle-" version ".tar.xz"))
9272 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9273 (build-system meson-build-system)
9276 (modify-phases %standard-phases
9277 (add-before 'check 'pre-check
9279 ;; Tests require a running X server.
9280 (system "Xvfb :1 &")
9281 (setenv "DISPLAY" ":1")
9284 `(("glib" ,glib "bin") ; glib-compile-resources
9285 ("pkg-config" ,pkg-config)
9287 ("xorg-server" ,xorg-server-for-tests)))
9290 ("gobject-introspection" ,gobject-introspection)
9293 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9294 (synopsis "Companion library to GObject and Gtk+")
9295 (description "The libdazzle library is a companion library to GObject and
9296 Gtk+. It provides various features that the authors wish were in the
9297 underlying library but cannot for various reasons. In most cases, they are
9298 wildly out of scope for those libraries. In other cases, they are not quite
9299 generic enough to work for everyone.")
9300 (license license:gpl3+)))
9302 (define-public evolution
9308 (uri (string-append "mirror://gnome/sources/evolution/"
9309 (version-major+minor version) "/"
9310 "evolution-" version ".tar.xz"))
9313 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9314 (build-system cmake-build-system)
9316 `(#:imported-modules (,@%cmake-build-system-modules
9317 (guix build glib-or-gtk-build-system))
9318 #:modules ((guix build cmake-build-system)
9319 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9322 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9323 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9324 ; in four years and cannot be built.
9326 (modify-phases %standard-phases
9327 ;; The build system attempts to install user interface modules to the
9328 ;; output directory of the "evolution-data-server" package. This
9329 ;; change redirects that change.
9330 (add-after 'unpack 'patch-ui-module-dir
9331 (lambda* (#:key outputs #:allow-other-keys)
9332 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9333 (("\\$\\{edsuimoduledir\\}")
9334 (string-append (assoc-ref outputs "out")
9335 "/lib/evolution-data-server/ui-modules")))
9337 (add-after 'install 'glib-or-gtk-compile-schemas
9338 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9339 (add-after 'install 'glib-or-gtk-wrap
9340 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9342 `(("glib" ,glib "bin") ; glib-mkenums
9343 ("pkg-config" ,pkg-config)
9344 ("intltool" ,intltool)
9345 ("itstool" ,itstool)))
9347 `(("enchant" ,enchant)
9348 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9350 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9351 ("gnome-autoar" ,gnome-autoar)
9352 ("gnome-desktop" ,gnome-desktop)
9354 ("highlight" ,highlight)
9355 ("libcanberra" ,libcanberra)
9356 ("libgweather" ,libgweather)
9357 ("libnotify" ,libnotify)
9358 ("libsoup" ,libsoup)
9360 ("openldap" ,openldap)
9361 ("webkitgtk" ,webkitgtk)
9363 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9364 (synopsis "Manage your email, contacts and schedule")
9365 (description "Evolution is a personal information management application
9366 that provides integrated mail, calendaring and address book
9368 ;; See COPYING for details.
9369 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9370 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9371 license:lgpl2.1+)))) ; smime/lib/*
9373 (define-public gthumb
9379 (uri (string-append "mirror://gnome/sources/gthumb/"
9380 (version-major+minor version) "/"
9381 "gthumb-" version ".tar.xz"))
9384 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9385 (build-system meson-build-system)
9389 ;; Ensure the RUNPATH contains all installed library locations.
9390 (list (string-append "-Dc_link_args=-Wl,-rpath="
9391 (assoc-ref %outputs "out")
9392 "/lib/gthumb/extensions")
9393 (string-append "-Dcpp_link_args=-Wl,-rpath="
9394 (assoc-ref %outputs "out")
9395 "/lib/gthumb/extensions"))))
9397 `(("pkg-config" ,pkg-config)
9398 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9399 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9400 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9401 ("intltool" ,intltool)
9402 ("itstool" ,itstool)))
9406 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9407 ("gstreamer" ,gstreamer)
9408 ("clutter" ,clutter)
9409 ("clutter-gst" ,clutter-gst)
9410 ("clutter-gtk" ,clutter-gtk)
9411 ("libjpeg" ,libjpeg-turbo)
9412 ("libtiff" ,libtiff)
9413 ("libraw" ,libraw)))
9414 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9415 (synopsis "GNOME image viewer and browser")
9416 (description "GThumb is an image viewer, browser, organizer, editor and
9417 advanced image management tool")
9418 (license license:gpl2+)))
9420 (define-public terminator
9426 (uri (string-append "https://launchpad.net/" name "/"
9427 "gtk3/" version "/" "+download/"
9428 name "-" version ".tar.gz"))
9431 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9432 (build-system python-build-system)
9434 `(("intltool" ,intltool)
9435 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9436 ("gettext" ,gettext-minimal)
9437 ("pkg-config" ,pkg-config)))
9440 ("gobject-introspection" ,gobject-introspection)
9441 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9442 ("python2-pycairo" ,python2-pycairo)
9443 ("python2-pygobject" ,python2-pygobject)
9444 ("python2-psutil" ,python2-psutil)
9447 `(#:python ,python-2 ; Python 3 isn't supported
9448 #:imported-modules ((guix build glib-or-gtk-build-system)
9449 ,@%python-build-system-modules)
9450 #:modules ((guix build python-build-system)
9451 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9454 (modify-phases %standard-phases
9456 'install 'wrap-program
9457 (lambda* (#:key outputs #:allow-other-keys)
9458 (let ((prog (string-append (assoc-ref outputs "out")
9459 "/bin/terminator")))
9461 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9462 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9464 (add-after 'wrap-program 'glib-or-gtk-wrap
9465 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9466 (home-page "https://gnometerminator.blogspot.com/")
9467 (synopsis "Store and run multiple GNOME terminals in one window")
9469 "Terminator allows you to run multiple GNOME terminals in a grid and
9470 +tabs, and it supports drag and drop re-ordering of terminals.")
9471 (license license:gpl2)))
9473 (define-public libhandy
9481 (url "https://source.puri.sm/Librem5/libhandy")
9482 (commit (string-append "v" version))))
9483 (file-name (git-file-name name version))
9485 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9486 (build-system meson-build-system)
9489 '("-Dglade_catalog=disabled"
9492 (modify-phases %standard-phases
9493 (add-before 'check 'pre-check
9495 ;; Tests require a running X server.
9496 (system "Xvfb :1 &")
9497 (setenv "DISPLAY" ":1")
9502 `(("glib:bin" ,glib "bin")
9503 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9505 ("gtk-doc" ,gtk-doc)
9506 ("pkg-config" ,pkg-config)
9507 ("gettext" ,gettext-minimal)
9509 ;; Test suite dependencies.
9510 ("xorg-server" ,xorg-server-for-tests)
9511 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9512 (home-page "https://source.puri.sm/Librem5/libhandy")
9513 (synopsis "Library full of GTK+ widgets for mobile phones")
9514 (description "The aim of the handy library is to help with developing user
9515 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9516 for usage on small and big screens.")
9517 (license license:lgpl2.1+)))
9519 (define-public libgit2-glib
9521 (name "libgit2-glib")
9522 (version "0.99.0.1")
9525 (uri (string-append "mirror://gnome/sources/" name "/"
9526 (version-major+minor version) "/"
9527 name "-" version ".tar.xz"))
9530 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9531 (build-system meson-build-system)
9533 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9534 ("gobject-introspection" ,gobject-introspection)
9535 ("pkg-config" ,pkg-config)
9536 ("python-pygobject" ,python-pygobject)
9537 ("python-wrapper" ,python-wrapper)
9541 ("libssh2" ,libssh2)))
9543 `(;; In Requires of libgit2-glib.pc.
9544 ("libgit2" ,libgit2)))
9545 (synopsis "GLib wrapper around the libgit2 Git access library")
9546 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9547 access library. It only implements the core plumbing functions, not really the
9548 higher level porcelain stuff.")
9549 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9550 (license license:gpl2+)))
9558 (uri (string-append "mirror://gnome/sources/" name "/"
9559 (version-major+minor version) "/"
9560 name "-" version ".tar.xz"))
9563 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9564 (build-system meson-build-system)
9568 (modify-phases %standard-phases
9569 (add-after 'unpack 'disable-post-install-partially
9571 (substitute* "meson_post_install.py"
9572 (("'python'") ; there are no python sources to compile
9573 (string-append "'" (which "true") "'"))
9574 (("gtk-update-icon-cache") (which "true")))
9576 (add-after 'unpack 'fix-test-sources
9578 (substitute* "tests/libgitg/test-commit.vala"
9579 (("/bin/bash") (which "bash")))
9581 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9582 (lambda* (#:key outputs #:allow-other-keys)
9583 (let ((prog (string-append (assoc-ref outputs "out")
9586 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9590 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9592 ("gtkspell3" ,gtkspell3)
9593 ("gtksourceview" ,gtksourceview-3)
9594 ("json-glib" ,json-glib)
9595 ("libdazzle" ,libdazzle)
9597 ("libgit2-glib" ,libgit2-glib)
9598 ("libpeas" ,libpeas)
9599 ("libsecret" ,libsecret)
9600 ("libsoup" ,libsoup)
9601 ("libxml2" ,libxml2)))
9603 `(("glib:bin" ,glib "bin")
9604 ("gtk+:bin" ,gtk+ "bin")
9605 ("gobject-introspection" ,gobject-introspection)
9606 ("intltool" ,intltool)
9607 ("pkg-config" ,pkg-config)
9609 (synopsis "Graphical user interface for git")
9611 "gitg is a graphical user interface for git. It aims at being a small,
9612 fast and convenient tool to visualize the history of git repositories.
9613 Besides visualization, gitg also provides several utilities to manage your
9614 repository and commit your work.")
9615 (home-page "https://wiki.gnome.org/Apps/Gitg")
9616 (license license:gpl2+)))
9618 (define-public gamin
9624 (uri (string-append "mirror://gnome/sources/" name "/"
9625 (version-major+minor version) "/"
9626 name "-" version ".tar.bz2"))
9629 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9630 (build-system gnu-build-system)
9633 (modify-phases %standard-phases
9634 (add-after 'unpack 'remove-deprecated-macro
9636 (substitute* '("server/gam_node.c"
9637 "server/gam_subscription.h"
9639 "server/gam_subscription.c")
9640 (("G_CONST_RETURN") "const"))
9645 `(("intltool" ,intltool)
9646 ("pkg-config" ,pkg-config)))
9647 (home-page "https://people.gnome.org/~veillard/gamin/")
9648 (synopsis "File alteration monitor")
9650 "Gamin is a file and directory monitoring system defined to be a subset
9651 of the FAM (File Alteration Monitor) system. This is a service provided by a
9652 library which detects when a file or a directory has been modified.")
9653 (license license:gpl2+)))
9655 (define-public gnome-mahjongg
9657 (name "gnome-mahjongg")
9662 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9664 (file-name (git-file-name name version))
9667 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9668 (build-system meson-build-system)
9670 `(#:glib-or-gtk? #t))
9672 `(("appstream-glib" ,appstream-glib)
9673 ("gettext" ,gettext-minimal)
9674 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9675 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9676 ("itstool" ,itstool)
9677 ("pkg-config" ,pkg-config)
9680 `(("dconf" ,dconf)))
9684 ("librsvg" ,librsvg)))
9685 (synopsis "Mahjongg tile-matching game")
9686 (description "GNOME Mahjongg is a game based on the classic Chinese
9687 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9688 and a high score table.")
9689 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9690 (license license:gpl2+)))
9692 (define-public gnome-themes-extra
9694 (name "gnome-themes-extra")
9699 (uri (string-append "mirror://gnome/sources/" name "/"
9700 (version-major+minor version) "/" name "-"
9704 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9705 (build-system gnu-build-system)
9708 ;; Don't create 'icon-theme.cache'.
9709 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9710 (true (string-append coreutils "/bin/true")))
9711 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9713 `(("glib:bin" ,glib "bin")
9714 ("intltool" ,intltool)
9715 ("pkg-config" ,pkg-config)))
9720 ("librsvg" ,librsvg)
9721 ("libxml2" ,libxml2)))
9722 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9723 (synopsis "GNOME Extra Themes")
9724 (description "This package provides themes and related elements that don't
9725 really fit in other upstream packages. It offers legacy support for GTK+ 2
9726 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9727 index files needed for Adwaita to be used outside of GNOME.")
9728 (license license:lgpl2.1+)))
9730 (define-public polari
9736 (uri (string-append "mirror://gnome/sources/polari/"
9737 (version-major+minor version)
9738 "/polari-" version ".tar.xz"))
9741 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9742 (build-system meson-build-system)
9746 (modify-phases %standard-phases
9747 (add-after 'unpack 'skip-gtk-update-icon-cache
9749 (substitute* "meson/meson-postinstall.sh"
9750 (("gtk-update-icon-cache") (which "true")))
9752 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9753 (lambda* (#:key outputs #:allow-other-keys)
9754 (let ((prog (string-append (assoc-ref outputs "out")
9757 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9761 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9765 ("libsecret" ,libsecret)
9766 ("libsoup" ,libsoup)
9767 ("telepathy-glib" ,telepathy-glib)
9768 ("telepathy-logger" ,telepathy-logger)))
9770 `(("glib:bin" ,glib "bin")
9771 ("gobject-introspection" ,gobject-introspection)
9772 ("intltool" ,intltool)
9773 ("pkg-config" ,pkg-config)
9774 ("yelp-tools" ,yelp-tools)))
9776 `(("telepathy-idle" ,telepathy-idle)
9777 ("telepathy-mission-control" ,telepathy-mission-control)))
9778 (synopsis "Simple IRC Client")
9780 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9781 integrate seamlessly with the GNOME desktop.")
9782 (home-page "https://wiki.gnome.org/Apps/Polari")
9783 (license license:gpl2+)))
9785 (define-public gnome-boxes
9787 (name "gnome-boxes")
9792 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9793 (version-major+minor version) "/"
9794 "gnome-boxes-" version ".tar.xz"))
9797 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9798 (build-system meson-build-system)
9801 #:configure-flags (list "-Drdp=false"
9802 (string-append "-Dc_link_args=-Wl,-rpath="
9803 (assoc-ref %outputs "out")
9804 "/lib/gnome-boxes"))))
9806 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9807 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9808 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9809 ("itstool" ,itstool)
9810 ("intltool" ,intltool)
9812 ("pkg-config" ,pkg-config)))
9814 `(("libarchive" ,libarchive)
9816 ("gtk-vnc" ,gtk-vnc)
9817 ("libosinfo" ,libosinfo)
9818 ("libsecret" ,libsecret)
9819 ("libsoup" ,libsoup)
9821 ("libvirt" ,libvirt)
9822 ("libvirt-glib" ,libvirt-glib)
9824 ("spice-gtk" ,spice-gtk)
9825 ("sparql-query" ,sparql-query)
9827 ("webkitgtk" ,webkitgtk)
9828 ("tracker" ,tracker)
9829 ("libgudev" ,libgudev)))
9830 (home-page "https://wiki.gnome.org/Apps/Boxes")
9831 (synopsis "View, access, and manage remote and virtual systems")
9832 (description "GNOME Boxes is a simple application to view, access, and
9833 manage remote and virtual systems.")
9835 ;; For data/icons/empty-boxes.png.
9838 license:lgpl2.0+))))
9840 (define-public geary
9847 (url "https://gitlab.gnome.org/GNOME/geary")
9849 (file-name (git-file-name name version))
9852 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9853 (build-system meson-build-system)
9856 #:phases (modify-phases %standard-phases
9857 (add-after 'unpack 'disable-failing-tests
9859 (substitute* "test/meson.build"
9860 (("test\\('client-tests', geary_test_client_bin\\)")
9863 (add-after 'unpack 'disable-postinstall-script
9865 (substitute* "meson.build"
9866 (("meson.add_install_script\\(\
9867 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9870 (add-before 'check 'setup-xvfb
9872 (system "Xvfb :1 &")
9873 (setenv "DISPLAY" ":1")
9876 `(("enchant" ,enchant)
9880 ("gmime" ,gmime-2.6)
9881 ("gnome-online-accounts:lib"
9882 ,gnome-online-accounts "lib")
9885 ("iso-codes" ,iso-codes)
9886 ("json-glib" ,json-glib)
9887 ("libcanberra" ,libcanberra)
9889 ("libhandy" ,libhandy)
9890 ("libpeas" ,libpeas)
9891 ("libsecret" ,libsecret)
9892 ("libunwind" ,libunwind)
9894 ("webkitgtk" ,webkitgtk)
9897 `(("appstream-glib" ,appstream-glib)
9898 ("cmake-minimal" ,cmake-minimal)
9899 ("desktop-file-utils" ,desktop-file-utils)
9900 ("gettext" ,gettext-minimal)
9901 ("glib:bin" ,glib "bin")
9902 ("gobject-introspection" ,gobject-introspection)
9903 ("itstool" ,itstool)
9904 ("libarchive" ,libarchive)
9905 ("libxml2" ,libxml2)
9906 ("pkg-config" ,pkg-config)
9908 ("xvfb" ,xorg-server-for-tests)))
9909 (synopsis "GNOME email application built around conversations")
9911 "Geary collects related messages together into conversations,
9912 making it easy to find and follow your discussions. Full-text and keyword
9913 search makes it easy to find the email you are looking for. Geary's
9914 full-featured composer lets you send rich, styled text with images, links, and
9915 lists, but also send lightweight, easy to read text messages. Geary
9916 automatically picks up your existing GNOME Online Accounts, and adding more is
9917 easy. Geary has a clean, fast, modern interface that works like you want it
9919 (home-page "https://wiki.gnome.org/Apps/Geary")
9926 license:public-domain
9930 (define-public parlatype
9931 ;; This is one commit away from 2.0, because the latter introduced
9932 ;; a regression in ASR.
9933 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
9937 (version (git-version "2.0" revision commit))
9942 (url "https://github.com/gkarsay/parlatype.git")
9944 (file-name (git-file-name name version))
9946 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
9947 (build-system meson-build-system)
9950 #:tests? #f ;require internet access
9952 (modify-phases %standard-phases
9953 (add-after 'install 'wrap-parlatype
9954 ;; Add gstreamer plugin provided in this package to system's
9956 (lambda* (#:key outputs #:allow-other-keys)
9957 (let* ((out (assoc-ref outputs "out"))
9958 (gst-plugin-path (string-append
9959 out "/lib/gstreamer-1.0/"
9961 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
9962 (wrap-program (string-append out "/bin/parlatype")
9963 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
9966 `(("appstream-glib" ,appstream-glib)
9967 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
9968 ("gettext" ,gettext-minimal)
9969 ("glib" ,glib "bin") ;for glib-compile-resources
9970 ("pkg-config" ,pkg-config)
9971 ("yelp-tools" ,yelp-tools)))
9973 `(("gst-plugins-base" ,gst-plugins-base)
9974 ("gst-plugins-good" ,gst-plugins-good)
9975 ("gstreamer" ,gstreamer)
9977 ("pocketsphinx" ,pocketsphinx)
9978 ("pulseaudio" ,pulseaudio)
9979 ("sphinxbase" ,sphinxbase)))
9980 (home-page "http://gkarsay.github.io/parlatype/")
9981 (synopsis "GNOME audio player for transcription")
9982 (description "Parlatype is an audio player for the GNOME desktop
9983 environment. Its main purpose is the manual transcription of spoken
9985 (license license:gpl3+))))
9987 (define-public jsonrpc-glib
9989 (name "jsonrpc-glib")
9993 (uri (string-append "mirror://gnome/sources/" name "/"
9994 (version-major+minor version) "/"
9995 name "-" version ".tar.xz"))
9998 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
9999 (build-system meson-build-system)
10001 `(("json-glib" ,json-glib)
10004 `(("pkg-config" ,pkg-config)
10005 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10006 ("gobject-introspection" ,gobject-introspection)
10008 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10009 (synopsis "JSON-RPC library for GLib")
10010 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10011 peers in either a synchronous or asynchronous fashion. It also allows
10012 communicating using the GVariant serialization format instead of JSON when
10013 both peers support it. You might want that when communicating on a single
10014 host to avoid parser overhead and memory-allocator fragmentation.")
10015 (license license:lgpl2.1+)))