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 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
1173 (build-system meson-build-system)
1176 (modify-phases %standard-phases
1177 (add-after 'unpack 'generate-vapis
1178 (lambda* (#:key inputs #:allow-other-keys)
1179 ;; To generate goa's missing .vapi file
1181 (assoc-ref inputs "gnome-online-accounts:lib"))
1183 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1185 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1188 `(("glib:bin" ,glib "bin")
1189 ("gtk+:bin" ,gtk+ "bin")
1190 ("pkg-config" ,pkg-config)))
1192 `(("cheese" ,cheese)
1193 ("docbook-xml" ,docbook-xml)
1194 ("dockbook-xsl" ,docbook-xsl)
1195 ("evolution-data-server" ,evolution-data-server)
1196 ("gettext" ,gettext-minimal)
1197 ("gnome-desktop" ,gnome-desktop)
1198 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1199 ("gobject-introspection" ,gobject-introspection)
1200 ("gst-plugins-base" ,gst-plugins-base)
1203 ("libxslt" ,libxslt)
1204 ("telepathy-glib" ,telepathy-glib)
1208 ("telepathy-mission-control" ,telepathy-mission-control)))
1209 (synopsis "GNOME's integrated address book")
1211 "GNOME Contacts organizes your contact information from online and
1212 offline sources, providing a centralized place for managing your contacts.")
1213 (home-page "https://wiki.gnome.org/Apps/Contacts")
1214 (license license:gpl2+)))
1216 (define-public gnome-desktop
1218 (name "gnome-desktop")
1223 (uri (string-append "mirror://gnome/sources/" name "/"
1224 (version-major+minor version) "/"
1225 name "-" version ".tar.xz"))
1228 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1229 (build-system meson-build-system)
1232 (modify-phases %standard-phases
1233 (add-before 'configure 'patch-path
1234 (lambda* (#:key inputs #:allow-other-keys)
1235 (let ((libc (assoc-ref inputs "libc")))
1236 (substitute* "libgnome-desktop/gnome-languages.c"
1238 (string-append "\"" libc "/bin/locale\"")))
1240 (add-before 'check 'pre-check
1241 (lambda* (#:key inputs #:allow-other-keys)
1242 ;; Tests require a running X server and locales.
1243 (system "Xvfb :1 &")
1244 (setenv "DISPLAY" ":1")
1245 (setenv "GUIX_LOCPATH"
1246 (string-append (assoc-ref inputs "glibc-locales")
1250 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1251 ("glibc-locales" ,glibc-locales) ; for tests
1252 ("gobject-introspection" ,gobject-introspection)
1253 ("itstool" ,itstool)
1254 ("intltool" ,intltool)
1255 ("pkg-config" ,pkg-config)
1256 ("xmllint" ,libxml2)
1257 ("xorg-server" ,xorg-server-for-tests)))
1259 ;; Required by gnome-desktop-3.0.pc.
1260 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1262 ("iso-codes" ,iso-codes)
1263 ("libseccomp" ,libseccomp)
1265 ("xkeyboard-config" ,xkeyboard-config)))
1267 `(("gdk-pixbuf" ,gdk-pixbuf)
1269 ("libxext" ,libxext)
1270 ("libxkbfile" ,libxkbfile)
1271 ("libxrandr" ,libxrandr)))
1272 (home-page "https://www.gnome.org/")
1274 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1276 "The libgnome-desktop library provides API shared by several applications
1277 on the desktop, but that cannot live in the platform for various reasons.
1278 There is no API or ABI guarantee, although we are doing our best to provide
1279 stability. Documentation for the API is available with gtk-doc.
1281 The gnome-about program helps find which version of GNOME is installed.")
1282 ; Some bits under the LGPL.
1283 (license license:gpl2+)))
1285 (define-public gnome-doc-utils
1287 (name "gnome-doc-utils")
1292 (uri (string-append "mirror://gnome/sources/" name "/"
1293 (version-major+minor version) "/"
1294 name "-" version ".tar.xz"))
1297 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1298 (build-system gnu-build-system)
1300 `(("intltool" ,intltool)
1301 ("docbook-xml" ,docbook-xml-4.4)
1302 ("python2-libxml2" ,python2-libxml2)
1303 ("libxml2" ,libxml2)
1304 ("libxslt" ,libxslt)
1305 ("pkg-config" ,pkg-config)
1306 ("python-2" ,python-2)))
1307 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1309 "Documentation utilities for the Gnome project")
1311 "Gnome-doc-utils is a collection of documentation utilities for the
1312 Gnome project. It includes xml2po tool which makes it easier to translate
1313 and keep up to date translations of documentation.")
1314 (license license:gpl2+))) ; xslt under lgpl
1316 (define-public gnome-disk-utility
1318 (name "gnome-disk-utility")
1322 (uri (string-append "mirror://gnome/sources/" name "/"
1323 (version-major+minor version) "/"
1324 name "-" version ".tar.xz"))
1327 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
1328 (build-system meson-build-system)
1331 (modify-phases %standard-phases
1332 (add-after 'unpack 'skip-gtk-update-icon-cache
1333 ;; Don't create 'icon-theme.cache'.
1335 (substitute* "meson_post_install.py"
1336 (("gtk-update-icon-cache") "true"))
1339 `(("glib:bin" ,glib "bin")
1340 ("intltool" ,intltool)
1341 ("pkg-config" ,pkg-config)
1342 ("docbook-xml" ,docbook-xml)
1343 ("docbook-xsl" ,docbook-xsl)
1344 ("libxml2" ,libxml2)
1345 ("libxslt" ,libxslt)))
1348 ("appstream-glib" ,appstream-glib)
1349 ("gnome-settings-daemon" ,gnome-settings-daemon)
1351 ("libcanberra" ,libcanberra)
1352 ("libdvdread" ,libdvdread)
1353 ("libnotify" ,libnotify)
1354 ("libpwquality" ,libpwquality)
1355 ("libsecret" ,libsecret)
1356 ("udisks" ,udisks)))
1357 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1358 (synopsis "Disk management utility for GNOME")
1359 (description "Disk management utility for GNOME.")
1360 (license license:gpl2+)))
1362 (define-public gnome-font-viewer
1364 (name "gnome-font-viewer")
1368 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1369 (version-major+minor version)
1370 "/gnome-font-viewer-" version ".tar.xz"))
1373 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1374 (build-system meson-build-system)
1377 (modify-phases %standard-phases
1378 (add-after 'unpack 'patch-post-install-script
1380 (substitute* "meson-postinstall.sh"
1381 (("update-desktop-database") (which "true")))
1384 `(("gettext" ,gettext-minimal)
1385 ("glib:bin" ,glib "bin")
1386 ("pkg-config" ,pkg-config)))
1389 ("gnome-desktop" ,gnome-desktop)
1391 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1392 (synopsis "GNOME Fonts")
1393 (description "Application to show you the fonts installed on your computer
1394 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1395 the font would look under various sizes.")
1396 (license license:gpl2+)))
1404 (uri (string-append "mirror://gnome/sources/" name "/"
1405 (version-major+minor version) "/"
1406 name "-" version ".tar.xz"))
1409 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1410 (build-system gnu-build-system)
1413 (modify-phases %standard-phases
1414 ;; These fail because /var/lib/dbus/machine-id is not present in the
1415 ;; build environment.
1416 (add-after 'unpack 'disable-failing-tests
1418 (substitute* "Makefile.in"
1419 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1422 (add-before 'check 'pre-check
1424 ;; Some tests expect to write to $HOME.
1425 (setenv "HOME" "/tmp")
1429 ("gnupg" ,gnupg) ;called as a child process during tests
1430 ("libgcrypt" ,libgcrypt)))
1432 `(("python" ,python-wrapper) ;for tests
1433 ("pkg-config" ,pkg-config)
1434 ("gettext" ,gettext-minimal)
1435 ("glib" ,glib "bin")
1436 ("gobject-introspection" ,gobject-introspection)
1437 ("libxml2" ,libxml2)
1439 ("xsltproc" ,libxslt)))
1440 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1442 `(("p11-kit" ,p11-kit)
1445 (home-page "https://www.gnome.org")
1446 (synopsis "Libraries for displaying certificates and accessing key stores")
1448 "The GCR package contains libraries used for displaying certificates and
1449 accessing key stores. It also provides the viewer for crypto files on the
1451 (license license:lgpl2.1+)))
1453 (define-public libgnome-keyring
1455 (name "libgnome-keyring")
1459 (uri (string-append "mirror://gnome/sources/" name "/"
1460 (version-major+minor version) "/"
1461 name "-" version ".tar.xz"))
1464 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1465 (build-system gnu-build-system)
1467 `(("libgcrypt" ,libgcrypt)
1470 `(("pkg-config" ,pkg-config)
1471 ("glib" ,glib "bin")
1472 ("intltool" ,intltool)))
1474 ;; Referred to in .h files and .pc.
1476 (home-page "https://www.gnome.org")
1477 (synopsis "Accessing passwords from the GNOME keyring")
1479 "Client library to access passwords from the GNOME keyring.")
1481 ;; Though a couple of files are LGPLv2.1+.
1482 (license license:lgpl2.0+)))
1484 (define-public gnome-keyring
1486 (name "gnome-keyring")
1490 (uri (string-append "mirror://gnome/sources/" name "/"
1491 (version-major+minor version) "/"
1492 name "-" version ".tar.xz"))
1495 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
1496 (build-system gnu-build-system)
1498 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1502 (string-append "--with-pkcs11-config="
1503 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1504 (string-append "--with-pkcs11-modules="
1505 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1507 (modify-phases %standard-phases
1508 (add-after 'unpack 'fix-/bin/sh-reference
1510 (substitute* "po/Makefile.in.in"
1511 (("/bin/sh") (which "sh")))
1513 (add-after 'unpack 'fix-docbook
1514 (lambda* (#:key inputs #:allow-other-keys)
1515 (substitute* "docs/Makefile.am"
1516 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1517 (string-append (assoc-ref inputs "docbook-xsl")
1518 "/xml/xsl/docbook-xsl-"
1519 ,(package-version docbook-xsl)
1520 "/manpages/docbook.xsl")))
1521 (setenv "XML_CATALOG_FILES"
1522 (string-append (assoc-ref inputs "docbook-xml")
1523 "/xml/dtd/docbook/catalog.xml"))
1524 ;; Rerun the whole thing to avoid version mismatch ("This is
1525 ;; Automake 1.15.1, but the definition used by this
1526 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1527 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1530 (invoke "automake" "-ac"))))))
1532 `(("libgcrypt" ,libgcrypt)
1533 ("linux-pam" ,linux-pam)
1534 ("openssh" ,openssh)
1538 `(("pkg-config" ,pkg-config)
1539 ("glib" ,glib "bin")
1540 ("glib" ,glib) ; for m4 macros
1541 ("python" ,python-2) ;for tests
1542 ("intltool" ,intltool)
1543 ("autoconf" ,autoconf)
1544 ("automake" ,automake)
1545 ("libxslt" ,libxslt) ;for documentation
1546 ("docbook-xml" ,docbook-xml-4.2)
1547 ("docbook-xsl" ,docbook-xsl)))
1548 (home-page "https://www.gnome.org")
1549 (synopsis "Daemon to store passwords and encryption keys")
1551 "gnome-keyring is a program that keeps passwords and other secrets for
1552 users. It is run as a daemon in the session, similar to ssh-agent, and other
1553 applications locate it via an environment variable or D-Bus.
1555 The program can manage several keyrings, each with its own master password,
1556 and there is also a session keyring which is never stored to disk, but
1557 forgotten when the session ends.")
1558 (license license:lgpl2.1+)))
1560 (define-public evince
1566 (uri (string-append "mirror://gnome/sources/evince/"
1567 (version-major+minor version) "/"
1568 "evince-" version ".tar.xz"))
1571 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1572 (build-system glib-or-gtk-build-system)
1574 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1576 (modify-phases %standard-phases
1577 (add-before 'install 'skip-gtk-update-icon-cache
1578 ;; Don't create 'icon-theme.cache'.
1580 (substitute* "data/Makefile"
1581 (("gtk-update-icon-cache") "true"))
1584 `(("libarchive" ,libarchive)
1585 ("libgxps" ,libgxps)
1586 ("libspectre" ,libspectre)
1587 ("djvulibre" ,djvulibre)
1588 ("ghostscript" ,ghostscript)
1589 ("poppler" ,poppler)
1590 ("libtiff" ,libtiff)
1592 ;; Build libkpathsea as a shared library for DVI support.
1593 ;; ("libkpathsea" ,texlive-bin)
1594 ("gnome-desktop" ,gnome-desktop)
1595 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1597 ("libgnome-keyring" ,libgnome-keyring)
1598 ("adwaita-icon-theme" ,adwaita-icon-theme)
1599 ("gdk-pixbuf" ,gdk-pixbuf)
1604 ("libxml2" ,libxml2)
1607 ("shared-mime-info" ,shared-mime-info)
1609 ("libcanberra" ,libcanberra)
1610 ("libsecret" ,libsecret)
1613 ("dogtail" ,python2-dogtail)))
1615 `(("itstool" ,itstool)
1616 ("intltool" ,intltool)
1617 ("glib" ,glib "bin")
1618 ("gobject-introspection" ,gobject-introspection)
1619 ("pkg-config" ,pkg-config)
1620 ("xmllint" ,libxml2)))
1622 "https://www.gnome.org/projects/evince/")
1623 (synopsis "GNOME's document viewer")
1625 "Evince is a document viewer for multiple document formats. It
1626 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1627 of Evince is to replace the multiple document viewers that exist
1628 on the GNOME Desktop with a single simple application.")
1629 (license license:gpl2+)))
1631 (define-public gsettings-desktop-schemas
1633 (name "gsettings-desktop-schemas")
1638 (uri (string-append "mirror://gnome/sources/" name "/"
1639 (version-major+minor version) "/"
1640 name "-" version ".tar.xz"))
1643 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1644 (build-system meson-build-system)
1646 '(#:phases (modify-phases %standard-phases
1647 (add-after 'unpack 'patch-schemas
1648 (lambda* (#:key inputs #:allow-other-keys)
1649 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1650 (substitute* (find-files "schemas"
1651 "\\.gschema\\.xml\\.in$")
1652 ;; Provide the correct file name of the default GNOME
1653 ;; background, 'adwaita-timed.xml'.
1654 (("@datadir@/backgrounds/gnome")
1655 (string-append theme "/share/backgrounds/gnome"))
1656 ;; Do not reference fonts, that may not exist.
1657 (("'Source Code Pro 10'") "'Monospace 11'"))
1661 ("gnome-backgrounds" ,gnome-backgrounds)))
1663 `(("intltool" ,intltool)
1664 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1665 ("gobject-introspection" ,gobject-introspection)
1666 ("pkg-config" ,pkg-config)))
1667 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1669 "GNOME settings for various desktop components")
1671 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1672 for settings shared by various components of the GNOME desktop.")
1673 (license license:lgpl2.1+)))
1675 (define-public icon-naming-utils
1677 (name "icon-naming-utils")
1682 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1683 version ".tar.bz2"))
1686 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1687 (build-system gnu-build-system)
1690 ("perl-xml-simple" ,perl-xml-simple)))
1693 (modify-phases %standard-phases
1694 (add-after 'install 'set-load-paths
1695 ;; Tell 'icon-name-mapping' where XML::Simple is.
1696 (lambda* (#:key outputs #:allow-other-keys)
1697 (let* ((out (assoc-ref outputs "out"))
1698 (prog (string-append out "/libexec/icon-name-mapping")))
1701 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1703 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1705 "Utility to implement the Freedesktop Icon Naming Specification")
1707 "To help with the transition to the Freedesktop Icon Naming
1708 Specification, the icon naming utility maps the icon names used by the
1709 GNOME and KDE desktops to the icon names proposed in the specification.")
1710 (license license:lgpl2.1+)))
1712 (define-public gnome-icon-theme
1714 (name "gnome-icon-theme")
1719 (uri (string-append "mirror://gnome/sources/" name "/"
1720 (version-major+minor version) "/"
1721 name "-" version ".tar.xz"))
1724 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1725 (build-system gnu-build-system)
1728 ;; Don't create 'icon-theme.cache'.
1729 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1730 (true (string-append coreutils "/bin/true")))
1731 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1733 `(("icon-naming-utils" ,icon-naming-utils)
1734 ("intltool" ,intltool)
1735 ("pkg-config" ,pkg-config)))
1736 (home-page "https://wiki.gnome.org/Personalization")
1737 (synopsis "GNOME icon theme")
1738 (description "Icons for the GNOME desktop.")
1739 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1741 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1742 (define-public adwaita-icon-theme
1743 (package (inherit gnome-icon-theme)
1744 (name "adwaita-icon-theme")
1748 (uri (string-append "mirror://gnome/sources/" name "/"
1749 (version-major+minor version) "/"
1750 name "-" version ".tar.xz"))
1753 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1755 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1757 (define-public tango-icon-theme
1759 (name "tango-icon-theme")
1763 (uri (string-append "http://tango.freedesktop.org/releases/"
1764 "tango-icon-theme-" version ".tar.bz2"))
1767 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1768 (build-system gnu-build-system)
1770 `(("icon-naming-utils" ,icon-naming-utils)
1771 ("intltool" ,intltool)
1772 ("imagemagick" ,imagemagick)
1773 ("pkg-config" ,pkg-config)))
1774 (home-page "http://tango-project.org/")
1775 (synopsis "Tango icon theme")
1776 (description "This is an icon theme that follows the Tango visual
1778 (license license:public-domain)))
1780 (define-public shared-mime-info
1782 (name "shared-mime-info")
1787 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1788 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1792 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1793 (build-system gnu-build-system)
1795 ;; The build system appears not to be parallel-safe.
1796 '(#:parallel-build? #f))
1799 ("libxml2" ,libxml2)))
1801 `(("gettext" ,gettext-minimal)
1802 ("itstool" ,itstool)
1803 ("pkg-config" ,pkg-config)))
1804 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1805 (synopsis "Database of common MIME types")
1807 "The shared-mime-info package contains the core database of common types
1808 and the update-mime-database command used to extend it. It requires glib2 to
1809 be installed for building the update command. Additionally, it uses intltool
1810 for translations, though this is only a dependency for the maintainers. This
1811 database is translated at Transifex.")
1812 (license license:gpl2+)))
1814 (define-public system-config-printer
1816 (name "system-config-printer")
1822 "https://github.com/OpenPrinting/system-config-printer/releases/"
1824 "/system-config-printer-" version ".tar.xz"))
1826 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1827 (build-system glib-or-gtk-build-system)
1829 `(#:imported-modules ((guix build python-build-system)
1830 ,@%glib-or-gtk-build-system-modules)
1832 (modify-phases %standard-phases
1833 (add-after 'unpack 'patch-Makefile.am
1835 ;; The Makefile generates some scripts, so set a valid shebang
1836 (substitute* "Makefile.am"
1837 (("/bin/bash") (which "bash")))
1838 (delete-file "configure")
1840 (add-after 'unpack 'patch-docbook-xml
1841 (lambda* (#:key inputs #:allow-other-keys)
1842 ;; Modify the man XML otherwise xmlto tries to access the network
1843 (substitute* "man/system-config-printer.xml"
1844 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1845 (string-append (assoc-ref inputs "docbook-xml")
1846 "/xml/dtd/docbook/")))
1848 (add-after 'install 'wrap-for-python
1849 (@@ (guix build python-build-system) wrap))
1850 (add-after 'install 'wrap
1851 (lambda* (#:key outputs #:allow-other-keys)
1852 (let ((out (assoc-ref outputs "out"))
1853 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1856 (wrap-program program
1857 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1859 (string-append out "/bin/" name))
1860 '("system-config-printer"
1861 "system-config-printer-applet"
1862 "install-printerdriver"
1863 "scp-dbus-service"))))
1866 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1867 ("gobject-introspection" ,gobject-introspection)
1870 ("python-dbus" ,python-dbus)
1871 ("python-pygobject" ,python-pygobject)
1872 ("python-pycups" ,python-pycups)
1873 ("python-requests" ,python-requests)
1874 ("python-pycairo" ,python-pycairo)
1875 ("libnotify" ,libnotify)
1876 ("packagekit" ,packagekit)))
1878 `(("pkg-config" ,pkg-config)
1879 ("desktop-file-utils" ,desktop-file-utils)
1881 ("autoconf" ,autoconf)
1882 ("automake" ,automake)
1883 ("intltool" ,intltool)
1885 ("docbook-xml" ,docbook-xml-4.1.2)
1886 ("docbook-xsl" ,docbook-xsl)
1887 ("libxml2" ,libxml2)))
1888 (home-page "https://github.com/zdohnal/system-config-printer")
1889 (synopsis "CUPS administration tool")
1891 "system-config-printer is a CUPS administration tool. It's written in
1892 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1894 (license license:gpl2+)))
1896 (define-public hicolor-icon-theme
1898 (name "hicolor-icon-theme")
1903 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1904 "hicolor-icon-theme-" version ".tar.xz"))
1907 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1908 (build-system gnu-build-system)
1910 `(#:tests? #f)) ; no check target
1911 (home-page "https://icon-theme.freedesktop.org/releases/")
1913 "Freedesktop icon theme")
1915 "Freedesktop icon theme.")
1916 (license license:gpl2)))
1918 (define-public libnotify
1925 (uri (string-append "mirror://gnome/sources/" name "/"
1926 (version-major+minor version) "/"
1927 name "-" version ".tar.xz"))
1930 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1931 (build-system gnu-build-system)
1933 `(#:configure-flags '("--disable-static")))
1935 `(;; In Requires of libnotify.pc.
1936 ("gdk-pixbuf" ,gdk-pixbuf)
1940 ("libpng" ,libpng)))
1942 `(("pkg-config" ,pkg-config)
1943 ("glib" ,glib "bin")
1944 ("gobject-introspection" ,gobject-introspection)))
1945 (home-page "https://developer-next.gnome.org/libnotify/")
1947 "GNOME desktop notification library")
1949 "Libnotify is a library that sends desktop notifications to a
1950 notification daemon, as defined in the Desktop Notifications spec. These
1951 notifications can be used to inform the user about an event or display
1952 some form of information without getting in the user's way.")
1953 (license license:lgpl2.1+)))
1955 (define-public libpeas
1962 (uri (string-append "mirror://gnome/sources/" name "/"
1963 (version-major+minor version) "/"
1964 name "-" version ".tar.xz"))
1967 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
1968 (build-system meson-build-system)
1971 (modify-phases %standard-phases
1972 (add-before 'check 'start-xserver
1973 (lambda* (#:key inputs #:allow-other-keys)
1974 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1976 (setenv "DISPLAY" disp)
1977 ;; Tests require a running X server.
1978 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
1984 ("python-pygobject" ,python-pygobject)))
1986 `(("pkg-config" ,pkg-config)
1987 ("gettext" ,gettext-minimal)
1988 ("glib:bin" ,glib "bin")
1989 ("gobject-introspection" ,gobject-introspection)
1990 ("xorg-server" ,xorg-server-for-tests)))
1992 ;; The .pc file "Requires" gobject-introspection.
1993 `(("gobject-introspection" ,gobject-introspection)))
1994 (home-page "https://wiki.gnome.org/Libpeas")
1995 (synopsis "GObject plugin system")
1997 "Libpeas is a gobject-based plugin engine, targeted at giving every
1998 application the chance to assume its own extensibility. It also has a set of
1999 features including, but not limited to: multiple extension points; on-demand
2000 (lazy) programming language support for C, Python and JS; simplicity of the
2002 (license license:lgpl2.0+)))
2004 (define-public gtkglext
2010 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2011 version "/gtkglext-" version ".tar.gz"))
2013 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2014 (patches (search-patches
2015 "gtkglext-disable-disable-deprecated.patch"))))
2016 (build-system gnu-build-system)
2019 (modify-phases %standard-phases
2020 ;; Fix a collision between a local variable and a definition from
2021 ;; glibc's string.h.
2022 (add-after 'unpack 'fix-collision
2024 (substitute* "gdk/gdkglshapes.c"
2025 ((" index") " triangle_index"))
2027 (inputs `(("gtk+" ,gtk+-2)
2032 (native-inputs `(("pkg-config" ,pkg-config)
2033 ("glib" ,glib "bin")))
2034 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2035 (home-page "https://projects.gnome.org/gtkglext")
2036 (synopsis "OpenGL extension to GTK+")
2037 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2038 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2039 API add-ons to make GTK+ widgets OpenGL-capable.")
2040 (license license:lgpl2.1+)))
2042 (define-public glade3
2048 (uri (string-append "mirror://gnome/sources/" name "/"
2049 (version-major+minor version) "/"
2050 name "-" version ".tar.xz"))
2053 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2054 (build-system glib-or-gtk-build-system)
2056 `(#:tests? #f ; needs X, GL, and software rendering
2058 (modify-phases %standard-phases
2059 (add-before 'configure 'fix-docbook
2060 (lambda* (#:key inputs #:allow-other-keys)
2061 (substitute* "man/Makefile.in"
2062 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2063 (string-append (assoc-ref inputs "docbook-xsl")
2064 "/xml/xsl/docbook-xsl-"
2065 ,(package-version docbook-xsl)
2066 "/manpages/docbook.xsl")))
2070 ("libxml2" ,libxml2)))
2072 `(("intltool" ,intltool)
2073 ("itstool" ,itstool)
2074 ("libxslt" ,libxslt) ;for xsltproc
2075 ("docbook-xml" ,docbook-xml-4.2)
2076 ("docbook-xsl" ,docbook-xsl)
2077 ("python" ,python-2)
2078 ("pkg-config" ,pkg-config)))
2079 (home-page "https://glade.gnome.org")
2080 (synopsis "GTK+ rapid application development tool")
2081 (description "Glade is a rapid application development (RAD) tool to
2082 enable quick & easy development of user interfaces for the GTK+ toolkit and
2083 the GNOME desktop environment.")
2084 (license license:lgpl2.0+)))
2086 (define-public libcroco
2092 (uri (string-append "mirror://gnome/sources/" name "/"
2093 (version-major+minor version) "/"
2094 name "-" version ".tar.xz"))
2097 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2098 (build-system gnu-build-system)
2100 `(("pkg-config" ,pkg-config)))
2103 ("libxml2" ,libxml2)
2105 (home-page "https://github.com/GNOME/libcroco")
2106 (synopsis "CSS2 parsing and manipulation library")
2108 "Libcroco is a standalone CSS2 parsing and manipulation library.
2109 The parser provides a low level event driven SAC-like API and a CSS object
2110 model like API. Libcroco provides a CSS2 selection engine and an experimental
2111 XML/CSS rendering engine.")
2114 (license license:lgpl2.1)))
2116 (define-public libgsf
2122 (uri (string-append "mirror://gnome/sources/" name "/"
2123 (version-major+minor version) "/"
2124 name "-" version ".tar.xz"))
2127 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2128 (build-system gnu-build-system)
2130 '(#:configure-flags '("--disable-static")))
2132 `(("pkg-config" ,pkg-config)
2133 ("gettext" ,gettext-minimal)
2137 ("perl-xml-parser" ,perl-xml-parser)))
2142 `(("gdk-pixbuf" ,gdk-pixbuf)
2144 ("libxml2" ,libxml2)))
2145 (home-page "https://www.gnome.org/projects/libgsf")
2146 (synopsis "GNOME's Structured File Library")
2148 "Libgsf aims to provide an efficient extensible I/O abstraction for
2149 dealing with different structured file formats.")
2152 (license license:lgpl2.1)))
2154 (define-public librsvg
2160 (uri (string-append "mirror://gnome/sources/" name "/"
2161 (version-major+minor version) "/"
2162 name "-" version ".tar.xz"))
2165 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2166 (build-system gnu-build-system)
2169 (list "--disable-static"
2170 "--enable-vala") ; needed for e.g. gnome-mines
2172 (modify-phases %standard-phases
2173 (add-before 'configure 'pre-configure
2174 (lambda* (#:key inputs #:allow-other-keys)
2175 (substitute* "gdk-pixbuf-loader/Makefile.in"
2176 ;; By default the gdk-pixbuf loader is installed under
2177 ;; gdk-pixbuf's prefix. Work around that.
2178 (("gdk_pixbuf_moduledir = .*$")
2179 (string-append "gdk_pixbuf_moduledir = "
2180 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2182 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2183 (("gdk_pixbuf_cache_file = .*$")
2184 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2186 (add-before 'check 'remove-failing-tests
2188 (with-directory-excursion "tests/fixtures/reftests"
2189 (for-each delete-file
2190 '(;; This test fails on i686:
2191 "svg1.1/masking-path-04-b.svg"
2192 ;; This test fails on armhf:
2193 "svg1.1/masking-mask-01-b.svg"
2194 ;; This test fails on aarch64:
2195 "bugs/777834-empty-text-children.svg")))
2198 `(("pkg-config" ,pkg-config)
2200 ("glib" ,glib "bin") ; glib-mkenums, etc.
2201 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2203 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2204 ;; this ancient version of librsvg.
2205 ("pango" ,pango-1.42)
2206 ("libcroco" ,libcroco)
2209 ("libxml2" ,libxml2)))
2211 ;; librsvg-2.0.pc refers to all of that.
2213 ("gdk-pixbuf" ,gdk-pixbuf)
2215 (home-page "https://wiki.gnome.org/LibRsvg")
2216 (synopsis "Render SVG files using Cairo")
2218 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2220 (license license:lgpl2.0+)))
2222 (define-public librsvg-next
2229 (uri (string-append "mirror://gnome/sources/librsvg/"
2230 (version-major+minor version) "/"
2231 "librsvg-" version ".tar.xz"))
2234 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2235 (modules '((guix build utils)))
2237 '(begin (delete-file-recursively "vendor")
2238 ;; Don't demand an exact version for string_cache
2239 (substitute* "rsvg_internals/Cargo.toml"
2242 (build-system cargo-build-system)
2244 `(#:modules ((guix build cargo-build-system)
2246 ((guix build gnu-build-system) #:prefix gnu:))
2247 #:vendor-dir "vendor"
2249 (("rust-bitflags" ,rust-bitflags-1)
2250 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2251 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2252 ("rust-cssparser" ,rust-cssparser-0.25)
2253 ("rust-data-url" ,rust-data-url-0.1)
2254 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2255 ("rust-encoding" ,rust-encoding-0.2)
2256 ("rust-float-cmp" ,rust-float-cmp-0.5)
2257 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2258 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2259 ("rust-gio" ,rust-gio-0.7)
2260 ("rust-gio-sys" ,rust-gio-sys-0.9)
2261 ("rust-glib" ,rust-glib-0.8)
2262 ("rust-glib-sys" ,rust-glib-sys-0.9)
2263 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2264 ("rust-itertools" ,rust-itertools-0.8)
2265 ("rust-language-tags" ,rust-language-tags-0.2)
2266 ("rust-lazy-static" ,rust-lazy-static-1)
2267 ("rust-libc" ,rust-libc-0.2)
2268 ("rust-locale-config" ,rust-locale-config-0.3)
2269 ("rust-markup5ever" ,rust-markup5ever-0.9)
2270 ("rust-nalgebra" ,rust-nalgebra-0.18)
2271 ("rust-num-traits" ,rust-num-traits-0.2)
2272 ("rust-pkg-config" ,rust-pkg-config-0.3)
2273 ("rust-pango" ,rust-pango-0.7)
2274 ("rust-pango-sys" ,rust-pango-sys-0.9)
2275 ("rust-pangocairo" ,rust-pangocairo-0.8)
2276 ("rust-phf" ,rust-phf-0.7)
2277 ("rust-rayon" ,rust-rayon-1.3)
2278 ("rust-rctree" ,rust-rctree-0.3)
2279 ("rust-string-cache" ,rust-string-cache-0.7)
2280 ("rust-regex" ,rust-regex-1.3)
2281 ("rust-url" ,rust-url-2.1)
2282 ("rust-xml-rs" ,rust-xml-rs-0.8))
2283 #:cargo-development-inputs
2284 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2285 ("rust-criterion" ,rust-criterion-0.2))
2287 (modify-phases %standard-phases
2288 (add-after 'unpack 'prepare-for-build
2290 ;; In lieu of #:make-flags
2292 ;; Something about the build environment resists building
2293 ;; successfully with the '--locked' flag.
2294 (substitute* '("Makefile.am"
2298 (add-before 'configure 'pre-configure
2300 (substitute* "gdk-pixbuf-loader/Makefile.in"
2301 ;; By default the gdk-pixbuf loader is installed under
2302 ;; gdk-pixbuf's prefix. Work around that.
2303 (("gdk_pixbuf_moduledir = .*$")
2304 (string-append "gdk_pixbuf_moduledir = "
2305 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2307 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2308 (("gdk_pixbuf_cache_file = .*$")
2309 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2311 (add-after 'configure 'gnu-configure
2312 (assoc-ref gnu:%standard-phases 'configure))
2313 ;(lambda* (#:key outputs #:allow-other-keys)
2314 ; ((assoc-ref gnu:%standard-phases 'configure)
2316 ; #:configure-flags ("--disable-static"
2317 ; "--enable-vala"))))
2318 (add-after 'configure 'dont-vendor-self
2319 (lambda* (#:key vendor-dir #:allow-other-keys)
2320 ;; Don't keep the whole tarball in the vendor directory
2321 (delete-file-recursively
2322 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2325 (assoc-ref gnu:%standard-phases 'build))
2328 ((assoc-ref gnu:%standard-phases 'check)
2329 #:test-target "check")))
2331 (assoc-ref gnu:%standard-phases 'install))
2332 (add-before 'check 'remove-failing-tests
2334 (with-directory-excursion "tests/fixtures/reftests"
2335 (for-each delete-file
2336 '(;; The images produced by these tests differ slightly
2337 ;; from their reference counterparts due to differences
2338 ;; in the build environment (missing fonts, etc). See
2339 ;; <tests/README.md> for details.
2340 ;; These fail on x86_64.
2341 "svg1.1/coords-viewattr-02-b.svg"
2342 "svg1.1/filters-composite-04-f.svg"
2343 "svg1.1/filters-image-01-b.svg"
2344 "svg1.1/filters-conv-02-f.svg"
2345 "svg1.1/filters-conv-04-f.svg"
2346 ;; This test fails on i686:
2347 "svg1.1/masking-path-04-b.svg"
2348 ;; This test fails on armhf:
2349 "svg1.1/masking-mask-01-b.svg"
2350 ;; This test fails on aarch64:
2351 "bugs/777834-empty-text-children.svg")))
2353 (license license:lgpl2.1+)))
2355 (define-public libidl
2361 (uri (string-append "mirror://gnome/sources/libIDL/"
2362 (version-major+minor version) "/"
2363 "libIDL-" version ".tar.bz2"))
2366 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2367 (build-system gnu-build-system)
2368 (inputs `(("glib" ,glib)))
2370 `(("pkg-config" ,pkg-config)
2373 (home-page "http://freecode.com/projects/libidl")
2374 (synopsis "Create trees of CORBA Interface Definition Language files")
2375 (description "Libidl is a library for creating trees of CORBA Interface
2376 Definition Language (idl) files, which is a specification for defining
2377 portable interfaces. libidl was initially written for orbit (the orb from the
2378 GNOME project, and the primary means of libidl distribution). However, the
2379 functionality was designed to be as reusable and portable as possible.")
2380 (properties `((upstream-name . "libIDL")))
2381 (license license:lgpl2.0+)))
2384 (define-public orbit2
2390 (uri (let ((upstream-name "ORBit2"))
2391 (string-append "mirror://gnome/sources/" upstream-name "/"
2392 (version-major+minor version) "/"
2393 upstream-name "-" version ".tar.bz2")))
2396 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2397 (build-system gnu-build-system)
2399 `(;; The "timeout-server" test hangs when run in parallel.
2400 #:parallel-tests? #f
2402 '(;; We don't need static libraries, plus they don't build reproducibly
2403 ;; (non-deterministic ordering of .o files in the archive.)
2406 ;; The programmer kindly gives us a hook to turn off deprecation
2408 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2409 ;; ... which they then completly ignore !!
2411 (modify-phases %standard-phases
2412 (add-before 'configure 'ignore-deprecations
2414 (substitute* "linc2/src/Makefile.in"
2415 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2417 (inputs `(("glib" ,glib)
2418 ("libidl" ,libidl)))
2420 `(("pkg-config" ,pkg-config)))
2421 (home-page "https://projects.gnome.org/orbit2/")
2422 (synopsis "CORBA 2.4-compliant Object Request Broker")
2423 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2424 featuring mature C, C++ and Python bindings.")
2425 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2426 ;; a version. SOME of the code files have licence notices for GPLv2+.
2427 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2428 (license license:gpl2+)
2429 (properties `((upstream-name . "ORBit2")))))
2432 (define-public libbonobo
2438 (uri (string-append "mirror://gnome/sources/" name "/"
2439 (version-major+minor version)
2440 "/" name "-" version ".tar.bz2"))
2442 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2443 (patches (search-patches
2444 "libbonobo-activation-test-race.patch"))))
2445 (build-system gnu-build-system)
2447 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2449 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2450 ;; ... which they then completly ignore !!
2452 (modify-phases %standard-phases
2453 (add-before 'configure 'ignore-deprecations
2455 (substitute* "activation-server/Makefile.in"
2456 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2459 ;; There's apparently a race condition between the server stub
2460 ;; generation and linking of the example under 'samples/echo' that can
2461 ;; lead do undefined references when building in parallel, as reported
2462 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2463 ;; Thus, disable parallel builds.
2464 #:parallel-build? #f))
2465 (inputs `(("popt" ,popt)
2466 ("libxml2" ,libxml2)))
2467 ;; The following are Required by the .pc file
2470 ("orbit2" ,orbit2)))
2472 `(("intltool" ,intltool)
2473 ("pkg-config" ,pkg-config)
2474 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2477 (home-page "https://developer.gnome.org/libbonobo/")
2478 (synopsis "Framework for creating reusable components for use in GNOME applications")
2479 (description "Bonobo is a framework for creating reusable components for
2480 use in GNOME applications, built on top of CORBA.")
2481 ;; Licence not explicitly stated. Source files contain no licence notices.
2482 ;; Tarball contains text of both GPLv2 and LGPLv2
2483 ;; GPLv2 covers both conditions
2484 (license license:gpl2+)))
2487 (define-public gconf
2494 (let ((upstream-name "GConf"))
2495 (string-append "mirror://gnome/sources/" upstream-name "/"
2496 (version-major+minor version) "/"
2497 upstream-name "-" version ".tar.xz")))
2499 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2500 (build-system gnu-build-system)
2501 (inputs `(("dbus-glib" ,dbus-glib)
2502 ("libxml2" ,libxml2)))
2503 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2504 ("orbit2" ,orbit2)))
2506 `(("intltool" ,intltool)
2507 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2508 ("pkg-config" ,pkg-config)))
2509 (home-page "https://projects.gnome.org/gconf/")
2510 (synopsis "Store application preferences")
2511 (description "Gconf is a system for storing application preferences. It
2512 is intended for user preferences; not arbitrary data storage.")
2513 (license license:lgpl2.0+)
2514 (properties '((upstream-name . "GConf")))))
2517 (define-public gnome-mime-data
2519 (name "gnome-mime-data")
2523 (uri (string-append "mirror://gnome/sources/" name "/"
2524 (version-major+minor version) "/"
2525 name "-" version ".tar.bz2"))
2528 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2529 (build-system gnu-build-system)
2532 ("intltool" ,intltool)))
2534 '(#:phases (modify-phases %standard-phases
2535 (add-after 'configure 'use-our-intltool
2537 ;; Do not use the bundled intltool commands, which lack
2538 ;; the "dotless @INC" fixes of our 'intltool' package.
2539 (substitute* (find-files "." "^Makefile$")
2540 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2541 (string-append "INTLTOOL_" tool " = intltool-"
2542 (string-downcase tool) "\n")))
2544 (home-page "https://www.gnome.org")
2545 (synopsis "Base MIME and Application database for GNOME")
2546 (description "GNOME Mime Data is a module which contains the base MIME
2547 and Application database for GNOME. The data stored by this module is
2548 designed to be accessed through the MIME functions in GnomeVFS.")
2549 (license license:gpl2+)))
2552 (define-public gnome-vfs
2558 (uri (string-append "mirror://gnome/sources/" name "/"
2559 (version-major+minor version) "/"
2560 name "-" version ".tar.bz2"))
2563 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2564 (build-system gnu-build-system)
2567 (modify-phases %standard-phases
2568 (add-before 'configure 'ignore-deprecations
2570 (substitute* '("libgnomevfs/Makefile.in"
2571 "daemon/Makefile.in")
2572 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2574 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2576 (substitute* "test/test-async-cancel.c"
2577 (("EXIT_FAILURE") "77"))
2579 (inputs `(("libxml2" ,libxml2)
2580 ("dbus-glib" ,dbus-glib)
2582 ("gnome-mime-data" ,gnome-mime-data)
2585 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2586 ("intltool" ,intltool)
2587 ("pkg-config" ,pkg-config)))
2588 (home-page "https://developer.gnome.org/gnome-vfs/")
2589 (synopsis "Access files and folders in GNOME applications")
2591 "GnomeVFS is the core library used to access files and folders in GNOME
2592 applications. It provides a file system abstraction which allows applications
2593 to access local and remote files with a single consistent API.")
2594 (license license:lgpl2.0+)))
2598 (define-public libgnome
2604 (uri (string-append "mirror://gnome/sources/" name "/"
2605 (version-major+minor version) "/"
2606 name "-" version ".tar.bz2"))
2609 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2610 (patches (search-patches "libgnome-encoding.patch"))))
2611 (build-system gnu-build-system)
2614 (modify-phases %standard-phases
2615 (add-before 'configure 'enable-deprecated
2617 (substitute* "libgnome/Makefile.in"
2618 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2620 (inputs `(("libxml2" ,libxml2)))
2622 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2623 ("intltool" ,intltool)
2624 ("pkg-config" ,pkg-config)))
2625 ;; The following are listed as Required in the .pc file
2626 ;; (except for libcanberra -- which seems to be oversight on the part
2627 ;; of the upstream developers -- anything that links against libgnome,
2628 ;; must also link against libcanberra
2630 `(("libcanberra" ,libcanberra)
2631 ("libbonobo" ,libbonobo)
2633 ("gnome-vfs" ,gnome-vfs)
2634 ("popt" ,popt))) ;gnome-program.h includes popt.h
2635 (home-page "https://developer.gnome.org/libgnome/")
2636 (synopsis "Useful routines for building applications")
2637 (description "The libgnome library provides a number of useful routines
2638 for building modern applications, including session management, activation of
2639 files and URIs, and displaying help.")
2640 (license license:lgpl2.0+)))
2643 (define-public libart-lgpl
2645 (name "libart-lgpl")
2649 (uri (let ((upstream-name "libart_lgpl"))
2650 (string-append "mirror://gnome/sources/" upstream-name "/"
2651 (version-major+minor version) "/"
2652 upstream-name "-" version ".tar.bz2")))
2655 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2656 (build-system gnu-build-system)
2658 `(("pkg-config" ,pkg-config)))
2659 (home-page "https://people.gnome.org/~mathieu/libart")
2660 (synopsis "2D drawing library")
2661 (description "Libart is a 2D drawing library intended as a
2662 high-quality vector-based 2D library with antialiasing and alpha composition.")
2663 (license license:lgpl2.0+)))
2667 (define-public libgnomecanvas
2669 (name "libgnomecanvas")
2673 (uri (string-append "mirror://gnome/sources/" name "/"
2674 (version-major+minor version) "/"
2675 name "-" version ".tar.gz"))
2678 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2679 (build-system gnu-build-system)
2680 ;; Mentioned as Required in the .pc file
2681 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2684 `(("intltool" ,intltool)
2685 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2686 ("pkg-config" ,pkg-config)))
2687 (home-page "https://developer.gnome.org/libgnomecanvas/")
2688 (synopsis "Flexible widget for creating interactive structured graphics")
2689 (description "The GnomeCanvas widget provides a flexible widget for
2690 creating interactive structured graphics.")
2691 (license license:lgpl2.0+)))
2693 (define-public libgnomecanvasmm
2695 (name "libgnomecanvasmm")
2699 (uri (string-append "mirror://gnome/sources/" name "/"
2700 (version-major+minor version) "/"
2701 name "-" version ".tar.bz2"))
2704 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2705 (build-system gnu-build-system)
2706 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2708 `(("gtkmm-2" ,gtkmm-2)
2709 ("pkg-config" ,pkg-config)))
2710 (home-page "https://gtkmm.org")
2711 (synopsis "C++ bindings to the GNOME Canvas library")
2712 (description "C++ bindings to the GNOME Canvas library.")
2713 (license license:lgpl2.0+)))
2715 (define-public libgnomeui
2721 (uri (string-append "mirror://gnome/sources/" name "/"
2722 (version-major+minor version) "/"
2723 name "-" version ".tar.bz2"))
2724 (patches (search-patches "libgnomeui-utf8.patch"))
2727 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2728 (build-system gnu-build-system)
2729 ;; Mentioned as Required in the .pc file
2730 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2731 ("libgnome" ,libgnome)
2732 ("libgnomecanvas" ,libgnomecanvas)
2733 ("libgnome-keyring" ,libgnome-keyring)))
2734 (inputs `(("libjpeg" ,libjpeg-turbo)
2736 ("libbonobo" ,libbonobo)
2737 ("libxml2" ,libxml2)
2738 ("libglade" ,libglade)))
2740 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2741 ("intltool" ,intltool)
2742 ("pkg-config" ,pkg-config)))
2743 (home-page "https://developer.gnome.org/libgnomeui/")
2744 (synopsis "Additional widgets for applications")
2745 (description "The libgnomeui library provides additional widgets for
2746 applications. Many of the widgets from libgnomeui have already been
2748 (license license:lgpl2.0+)))
2750 (define-public libglade
2756 (uri (string-append "mirror://gnome/sources/" name "/"
2757 (version-major+minor version) "/"
2758 name "-" version ".tar.bz2"))
2761 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2762 (build-system gnu-build-system)
2764 `(("python" ,python))) ;; needed for the optional libglade-convert program
2766 `(("gtk+-2" ,gtk+-2)
2767 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2769 `(("pkg-config" ,pkg-config)))
2770 (home-page "https://developer.gnome.org/libglade")
2771 (synopsis "Load glade interfaces and access the glade built widgets")
2772 (description "Libglade is a library that provides interfaces for loading
2773 graphical interfaces described in glade files and for accessing the
2774 widgets built in the loading process.")
2775 (license license:gpl2+))) ; This is correct. GPL not LGPL
2777 (define-public libgnomeprint
2778 ;; This library has been deprecated since 2006; see
2779 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2781 (name "libgnomeprint")
2785 (uri (string-append "mirror://gnome/sources/" name "/"
2786 (version-major+minor version) "/"
2787 name "-" version ".tar.bz2"))
2790 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2791 (build-system gnu-build-system)
2794 ("libart-lgpl" ,libart-lgpl)
2796 ("libxml2" ,libxml2)))
2798 `(("intltool" ,intltool)
2799 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2800 ("pkg-config" ,pkg-config)))
2801 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2802 (synopsis "Printing framework for GNOME")
2804 "GNOME-print was a printing framework for GNOME. It has been deprecated
2805 since ca. 2006, when GTK+ itself incorporated printing support.")
2806 (license license:lgpl2.0+)))
2809 (define-public libgnomeprintui
2810 ;; Deprecated; see libgnomeprint.
2812 (name "libgnomeprintui")
2816 (uri (string-append "mirror://gnome/sources/" name "/"
2817 (version-major+minor version) "/"
2818 name "-" version ".tar.bz2"))
2821 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2822 (build-system gnu-build-system)
2823 ;; Mentioned as Required in the .pc file
2824 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2825 (inputs `(("gtk+" ,gtk+-2)
2827 ("gnome-icon-theme" ,gnome-icon-theme)
2828 ("libgnomecanvas" ,libgnomecanvas)
2829 ("libxml2" ,libxml2)))
2831 `(("intltool" ,intltool)
2832 ("pkg-config" ,pkg-config)))
2833 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2834 (synopsis "Printing framework for GNOME")
2835 (description (package-description libgnomeprint))
2836 (license license:lgpl2.0+)))
2838 (define-public libbonoboui
2840 (name "libbonoboui")
2844 (uri (string-append "mirror://gnome/sources/" name "/"
2845 (version-major+minor version) "/"
2846 name "-" version ".tar.bz2"))
2849 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2850 (build-system gnu-build-system)
2853 (modify-phases %standard-phases
2854 (add-before 'check 'start-xserver
2855 (lambda* (#:key inputs #:allow-other-keys)
2856 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2859 (setenv "HOME" (getcwd))
2860 (setenv "DISPLAY" disp)
2861 ;; There must be a running X server and make check doesn't start one.
2862 ;; Therefore we must do it.
2863 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2864 ;; Mentioned as Required by the .pc file
2865 (propagated-inputs `(("libxml2" ,libxml2)))
2868 ("pangox-compat" ,pangox-compat)
2869 ("libgnome" ,libgnome)
2870 ("libgnomecanvas" ,libgnomecanvas)
2871 ("libglade" ,libglade)))
2873 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2874 ("intltool" ,intltool)
2875 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2876 ("pkg-config" ,pkg-config)))
2877 (home-page "https://developer.gnome.org/libbonoboui/")
2878 (synopsis "Some user interface controls using Bonobo")
2879 (description "The Bonobo UI library provides a number of user interface
2880 controls using the Bonobo component framework.")
2881 (license license:lgpl2.0+)))
2883 (define-public libwnck
2889 (uri (string-append "mirror://gnome/sources/" name "/"
2890 (version-major+minor version) "/"
2891 name "-" version ".tar.xz"))
2894 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2895 (build-system meson-build-system)
2897 `(("pkg-config" ,pkg-config)
2898 ("glib" ,glib "bin") ; for glib-mkenums
2899 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2900 ("intltool" ,intltool)))
2903 ("libxres" ,libxres)
2904 ("startup-notification" ,startup-notification)))
2905 (home-page "https://developer.gnome.org/libwnck/")
2906 (synopsis "Window Navigator Construction Kit")
2908 "Libwnck is the Window Navigator Construction Kit, a library for use in
2909 writing pagers, tasklists, and more generally applications that are dealing
2910 with window management. It tries hard to respect the Extended Window Manager
2911 Hints specification (EWMH).")
2912 (license license:lgpl2.0+)))
2914 ;; stable version for gtk2, required by xfwm4.
2915 (define-public libwnck-2
2916 (package (inherit libwnck)
2921 (uri (string-append "mirror://gnome/sources/" name "/"
2922 (version-major+minor version) "/"
2923 name "-" version ".tar.xz"))
2926 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2927 (build-system gnu-build-system)
2929 `(("pkg-config" ,pkg-config)
2930 ("intltool" ,intltool)))
2933 ("libxres" ,libxres)
2934 ("startup-notification" ,startup-notification)))))
2936 (define-public goffice
2942 (uri (string-append "mirror://gnome/sources/goffice/"
2943 (version-major+minor version) "/"
2944 "goffice-" version ".tar.xz"))
2946 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2947 (build-system gnu-build-system)
2949 "doc")) ; 4.0 MiB of gtk-doc
2951 '(#:configure-flags (list (string-append "--with-html-dir="
2952 (assoc-ref %outputs "doc")
2953 "/share/gtk-doc/html"))))
2957 ("librsvg" ,librsvg)
2958 ("libxslt" ,libxslt)
2959 ("libxml2" ,libxml2)))
2961 `(("intltool" ,intltool)
2962 ("glib" ,glib "bin")
2963 ("pkg-config" ,pkg-config)))
2964 (home-page "https://developer.gnome.org/goffice/")
2965 (synopsis "Document-centric objects and utilities")
2966 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2968 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2970 (list license:gpl2 license:gpl3))))
2972 (define-public goffice-0.8
2973 (package (inherit goffice)
2977 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2978 (version-major+minor version) "/"
2979 (package-name goffice) "-" version ".tar.xz"))
2981 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2984 (modify-phases %standard-phases
2985 (add-after 'unpack 'fix-pcre-check
2987 ;; Only glib.h can be included directly. See
2988 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2989 (substitute* "configure"
2990 (("glib/gregex\\.h") "glib.h")) #t)))
2992 ,@(package-arguments goffice)))
2994 ;; libgoffice-0.8.pc mentions libgsf-1
2995 `(("libgsf" ,libgsf)))
2998 ,@(alist-delete "gtk" (package-inputs goffice))))))
3000 (define-public gnumeric
3006 (uri (string-append "mirror://gnome/sources/gnumeric/"
3007 (version-major+minor version) "/"
3008 "gnumeric-" version ".tar.xz"))
3011 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3012 (build-system glib-or-gtk-build-system)
3014 `(;; The gnumeric developers don't worry much about failing tests.
3015 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3018 (modify-phases %standard-phases
3020 'configure 'pre-conf
3021 (lambda* (#:key outputs #:allow-other-keys)
3022 ;; Make install tries to write into the directory of goffice
3023 ;; I am informed that this only affects the possibility to embed a
3024 ;; spreadsheet inside an Abiword document. So presumably when we
3025 ;; package Abiword we'll have to refer it to this directory.
3026 (substitute* "configure"
3027 (("^GOFFICE_PLUGINS_DIR=.*")
3028 (string-append "GOFFICE_PLUGINS_DIR="
3029 (assoc-ref outputs "out")
3030 "/goffice/plugins"))))))))
3034 ("goffice" ,goffice)
3036 ("librsvg" ,librsvg)
3037 ("libxml2" ,libxml2)
3038 ("libxslt" ,libxslt)
3039 ("python" ,python-2)
3040 ("python2-pygobject" ,python2-pygobject)
3044 ("docbook-xml" ,docbook-xml)
3045 ("intltool" ,intltool)
3046 ("itstool" ,itstool)
3047 ("glib:bin" ,glib "bin")
3048 ("pkg-config" ,pkg-config)))
3049 (home-page "http://www.gnumeric.org")
3050 (synopsis "Spreadsheet application")
3052 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3053 interoperable with other spreadsheet applications. It has a vast array of
3054 features beyond typical spreadsheet functionality, such as support for linear
3055 and non-linear solvers, statistical analysis, and telecommunication
3058 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3059 (list license:gpl2 license:gpl3))))
3061 (define-public gnome-themes-standard
3063 (name "gnome-themes-standard")
3068 (uri (string-append "mirror://gnome/sources/" name "/"
3069 (version-major+minor version) "/" name "-"
3073 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3074 (build-system gnu-build-system)
3077 ;; Don't create 'icon-theme.cache'.
3078 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3079 (true (string-append coreutils "/bin/true")))
3080 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3084 ("librsvg" ,librsvg)
3085 ("libxml2" ,libxml2)
3088 `(("intltool" ,intltool)
3089 ("glib:bin" ,glib "bin")
3090 ("pkg-config" ,pkg-config)))
3091 (home-page "https://launchpad.net/gnome-themes-standard")
3092 (synopsis "Default GNOME 3 themes")
3094 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3095 (license license:lgpl2.1+)))
3097 (define-public seahorse
3104 (uri (string-append "mirror://gnome/sources/" name "/"
3105 (version-major+minor version) "/" name "-"
3109 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
3110 (patches (search-patches
3111 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3112 (build-system meson-build-system)
3116 (modify-phases %standard-phases
3117 (add-after 'unpack 'skip-gtk-update-icon-cache
3118 ;; Don't create 'icon-theme.cache'.
3120 (substitute* "build-aux/meson_post_install.py"
3121 (("gtk-update-icon-cache") "true"))
3128 ("openldap" ,openldap)
3129 ("openssh" ,openssh)
3131 ("libpwquality" ,libpwquality)
3132 ("libsecret" ,libsecret)
3133 ("libsoup" ,libsoup)))
3135 `(("gettext" ,gettext-minimal)
3136 ("glib:bin" ,glib "bin")
3137 ("itstool" ,itstool)
3138 ("pkg-config" ,pkg-config)
3140 ("xmllint" ,libxml2)))
3141 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3142 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3144 "Seahorse is a GNOME application for managing encryption keys and
3145 passwords in the GNOME keyring.")
3146 (license license:gpl2+)))
3154 (uri (string-append "mirror://gnome/sources/" name "/"
3155 (version-major+minor version) "/"
3156 name "-" version ".tar.xz"))
3159 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3160 (build-system gnu-build-system)
3163 (modify-phases %standard-phases
3164 (add-before 'check 'pre-check
3167 (substitute* "valadoc/tests/testrunner.sh"
3168 (("export PKG_CONFIG_PATH=" m)
3169 (string-append m "$PKG_CONFIG_PATH:")))
3170 ;; For missing '/etc/machine-id'.
3171 (setenv "DBUS_FATAL_WARNINGS" "0")
3174 `(("pkg-config" ,pkg-config)
3177 ("xsltproc" ,libxslt)
3178 ("dbus" ,dbus) ; for dbus tests
3179 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3181 `(("graphviz" ,graphviz)))
3183 `(("glib" ,glib))) ; required by libvala-0.40.pc
3184 (home-page "https://live.gnome.org/Vala/")
3185 (synopsis "Compiler for the GObject type system")
3187 "Vala is a programming language that aims to bring modern programming
3188 language features to GNOME developers without imposing any additional runtime
3189 requirements and without using a different ABI compared to applications and
3190 libraries written in C.")
3191 (license license:lgpl2.1+)))
3199 (uri (string-append "mirror://gnome/sources/vte/"
3200 (version-major+minor version) "/"
3201 "vte-" version ".tar.xz"))
3204 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3205 (build-system meson-build-system)
3207 `(("pkg-config" ,pkg-config)
3208 ("intltool" ,intltool)
3210 ("gobject-introspection" ,gobject-introspection)
3211 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3213 ("xmllint" ,libxml2)))
3215 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3216 ("gnutls" ,gnutls) ; ditto
3217 ("pcre2" ,pcre2))) ; ditto
3218 (home-page "https://www.gnome.org/")
3219 (synopsis "Virtual Terminal Emulator")
3221 "VTE is a library (libvte) implementing a terminal emulator widget for
3222 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3223 gnome-terminal, but can also be used to embed a console/terminal in games,
3224 editors, IDEs, etc.")
3225 (license license:lgpl2.1+)))
3227 (define-public vte-ng
3231 (version "0.58.2.a")
3232 (home-page "https://github.com/thestinger/vte-ng")
3235 (uri (git-reference (url home-page) (commit version)))
3236 (file-name (git-file-name name version))
3239 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3240 (build-system meson-build-system)
3242 `(("gtk-doc" ,gtk-doc)
3243 ,@(package-native-inputs vte)))
3245 `(#:configure-flags '("-Ddocs=true")))
3246 (synopsis "Enhanced VTE terminal widget")
3248 "VTE is a library (libvte) implementing a terminal emulator widget for
3249 GTK+, this fork provides additional functions exposed for keyboard text
3250 selection and URL hints.")))
3252 ;; provides vte 2.90, required for some terminal emulators
3253 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3254 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3255 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3256 ;; pantheon-terminal, roxterm are not currently packaged
3257 (define-public vte-0.36
3258 (package (inherit vte)
3263 (uri (string-append "mirror://gnome/sources/" name "/"
3264 (version-major+minor version) "/"
3265 name "-" version ".tar.xz"))
3268 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3271 ("ncurses" ,ncurses)))))
3273 ;; stable version for gtk2, required by xfce4-terminal.
3274 (define-public vte/gtk+-2
3275 (package (inherit vte)
3280 (uri (string-append "mirror://gnome/sources/" name "/"
3281 (version-major+minor version) "/"
3282 name "-" version ".tar.xz"))
3285 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3286 (patches (search-patches
3287 "vte-CVE-2012-2738-pt1.patch"
3288 "vte-CVE-2012-2738-pt2.patch"))))
3289 (build-system gnu-build-system)
3291 '(#:configure-flags '("--disable-python")))
3293 `(("pkg-config" ,pkg-config)
3294 ("intltool" ,intltool)
3295 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3297 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3298 ("ncurses" ,ncurses))))) ; required by libvte.la
3300 (define-public vinagre
3306 (uri (string-append "mirror://gnome/sources/" name "/"
3307 (version-major+minor version) "/"
3308 name "-" version ".tar.xz"))
3309 (patches (search-patches "vinagre-newer-freerdp.patch"
3310 "vinagre-newer-rdp-parameters.patch"))
3313 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3314 (build-system glib-or-gtk-build-system)
3316 ;; Disable -Werror and such, to avoid build failures on compilation
3318 '(#:configure-flags '("--enable-compile-warnings=minimum")
3320 (modify-phases %standard-phases
3321 (add-before 'install 'skip-gtk-update-icon-cache
3323 ;; Don't create 'icon-theme.cache'
3324 (substitute* (find-files "." "^Makefile$")
3325 (("gtk-update-icon-cache") (which "true")))
3327 (add-after 'unpack 'patch-configure
3329 (substitute* "configure"
3330 (("freerdp") "freerdp2"))
3333 `(("pkg-config" ,pkg-config)
3334 ("intltool" ,intltool)
3335 ("itstool" ,itstool)
3336 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3338 `(("libxml2" ,libxml2)
3339 ("gtk-vnc" ,gtk-vnc)
3340 ("gnome-keyring" ,gnome-keyring)
3341 ("libsecret" ,libsecret)
3342 ("freerdp" ,freerdp)
3344 ("spice-gtk" ,spice-gtk)
3345 ("telepathy-glib" ,telepathy-glib)
3347 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3348 (synopsis "Remote desktop viewer for GNOME")
3349 (description "Vinagre is a remote display client supporting the VNC, SPICE
3350 and RDP protocols.")
3351 (license license:gpl3+)))
3353 (define-public dconf
3360 "mirror://gnome/sources/" name "/"
3361 (version-major+minor version) "/"
3362 name "-" version ".tar.xz"))
3363 (patches (search-patches "dconf-meson-0.52.patch"))
3366 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3367 (build-system meson-build-system)
3369 ;; In Requires of dconf.pc.
3375 `(("bash-completion" ,bash-completion)
3376 ("libxslt" ,libxslt) ;for xsltproc
3377 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3378 ("docbook-xml" ,docbook-xml-4.2)
3379 ("docbook-xsl" ,docbook-xsl)
3380 ("glib:bin" ,glib "bin")
3381 ("gtk-doc" ,gtk-doc)
3382 ("pkg-config" ,pkg-config)
3385 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3386 ; or /etc/machine-id.
3388 #:configure-flags '("-Denable-gtk-doc=true")))
3389 (home-page "https://developer.gnome.org/dconf")
3390 (synopsis "Low-level GNOME configuration system")
3391 (description "Dconf is a low-level configuration system. Its main purpose
3392 is to provide a backend to GSettings on platforms that don't already have
3393 configuration storage systems.")
3394 (license license:lgpl2.1+)))
3396 (define-public json-glib
3402 (uri (string-append "mirror://gnome/sources/" name "/"
3403 (version-major+minor version) "/"
3404 name "-" version ".tar.xz"))
3407 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3408 (build-system meson-build-system)
3410 `(("gettext" ,gettext-minimal)
3411 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3412 ("gobject-introspection" ,gobject-introspection)
3413 ("pkg-config" ,pkg-config)))
3415 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3416 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3417 (synopsis "Compiler for the GObject type system")
3419 "JSON-GLib is a C library based on GLib providing serialization and
3420 deserialization support for the JavaScript Object Notation (JSON) format
3421 described by RFC 4627. It provides parser and generator GObject classes and
3422 various wrappers for the complex data types employed by JSON, such as arrays
3424 (license license:lgpl2.1+)))
3426 (define-public libxklavier
3428 (name "libxklavier")
3431 ;; Note: There's no tarball at ftp.gnome.org for this version.
3434 (url "https://anongit.freedesktop.org/git/libxklavier")
3435 (commit (string-append "libxklavier-" version))))
3438 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3439 (file-name (git-file-name name version))))
3440 (build-system gnu-build-system)
3443 (list (string-append "--with-xkb-base="
3444 (assoc-ref %build-inputs "xkeyboard-config")
3446 "--disable-xmodmap-support")))
3448 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3449 ("gobject-introspection" ,gobject-introspection)
3450 ("pkg-config" ,pkg-config)
3451 ("gtk-doc" ,gtk-doc)
3452 ("intltool" ,intltool)
3454 ("autoconf" ,autoconf)
3455 ("automake" ,automake)
3456 ("libtool" ,libtool)))
3458 ;; Required by libxklavier.pc.
3460 ("libxml2" ,libxml2)))
3462 `(("iso-codes" ,iso-codes)
3464 ("libxkbfile" ,libxkbfile)
3465 ("xkbcomp" ,xkbcomp)
3466 ("xkeyboard-config" ,xkeyboard-config)))
3467 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3468 (synopsis "High-level API for X Keyboard Extension")
3470 "LibXklavier is a library providing high-level API for X Keyboard
3471 Extension known as XKB. This library is intended to support XFree86 and other
3472 commercial X servers. It is useful for creating XKB-related software (layout
3474 (license license:lgpl2.0+)))
3476 (define-public python2-rsvg
3477 ;; XXX: This is actually a subset of gnome-python-desktop.
3479 (name "python2-rsvg")
3485 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3486 version ".tar.bz2"))
3489 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3490 (build-system gnu-build-system)
3492 `(("pkg-config" ,pkg-config)))
3494 `(("python" ,python-2)
3495 ("python2-pygtk" ,python2-pygtk)
3496 ("librsvg" ,librsvg)))
3497 (home-page "https://www.gnome.org")
3498 (synopsis "Python bindings to librsvg")
3500 "This package provides Python bindings to librsvg, the SVG rendering
3503 ;; This is the license of the rsvg bindings. The license of each module
3504 ;; of gnome-python-desktop is given in 'COPYING'.
3505 (license license:lgpl2.1+)))
3507 (define-public glib-networking
3509 (name "glib-networking")
3513 (uri (string-append "mirror://gnome/sources/glib-networking/"
3514 (version-major+minor version) "/"
3515 "glib-networking-" version ".tar.xz"))
3518 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3519 (build-system meson-build-system)
3521 `(#:configure-flags '("-Dlibproxy_support=false")))
3523 `(("pkg-config" ,pkg-config)
3524 ("intltool" ,intltool)))
3528 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3529 (home-page "https://www.gnome.org")
3530 (synopsis "Network-related GIO modules")
3532 "This package contains various network related extensions for the GIO
3534 (license license:lgpl2.0+)))
3542 (uri (string-append "mirror://gnome/sources/rest/"
3543 (version-major+minor version) "/"
3544 name "-" version ".tar.xz"))
3547 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3548 (build-system gnu-build-system)
3550 '(#:tests? #f ; tests require internet connection
3552 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3554 `(("glib-mkenums" ,glib "bin")
3555 ("gobject-introspection" ,gobject-introspection)
3556 ("pkg-config" ,pkg-config)))
3558 ;; rest-0.7.pc refers to all these.
3560 ("libsoup" ,libsoup)
3561 ("libxml2" ,libxml2)))
3562 (home-page "https://www.gtk.org/")
3563 (synopsis "RESTful web api query library")
3565 "This library was designed to make it easier to access web services that
3566 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3567 libxml to ease remote use of the RESTful API.")
3568 (license license:lgpl2.1+)))
3570 (define-public libsoup
3576 (uri (string-append "mirror://gnome/sources/libsoup/"
3577 (version-major+minor version) "/"
3578 "libsoup-" version ".tar.xz"))
3581 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3582 (build-system meson-build-system)
3583 (outputs '("out" "doc"))
3585 `(#:modules ((guix build utils)
3586 (guix build meson-build-system)
3589 #:configure-flags '("-Dgtk_doc=true")
3591 (modify-phases %standard-phases
3592 (add-after 'unpack 'adjust-tests
3594 ;; This test fails due to missing /etc/nsswitch.conf
3595 ;; in the build environment.
3596 (substitute* "tests/socket-test.c"
3597 ((".*/sockets/unconnected.*") ""))
3599 ;; These fail because "subdomain.localhost" does not resolve in
3600 ;; the build environment.
3601 (substitute* "tests/hsts-test.c"
3602 ((".*/hsts/basic.*") "")
3603 ((".*/hsts/subdomains.*") "")
3604 ((".*/hsts/superdomain.*") "")
3605 ((".*/hsts/utf8-address.*") ""))
3606 (substitute* "tests/hsts-db-test.c"
3607 ((".*/hsts-db/subdomains.*") ""))
3609 ;; Generate a self-signed certificate that has "localhost" as its
3610 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3611 ;; 3.5.12, tests such as "ssl-tests" fail:
3613 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3615 ;; 'certtool' is interactive so we have to pipe it the answers.
3616 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3617 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3618 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3619 (for-each (lambda (line)
3624 "Guix" ;Organizational unit name
3625 "GNU" ;Organization name
3627 "" ;State or province
3629 "" ;subject's domain component (DC)
3632 "-1" ;expiration time
3633 "N" ;belong to authority?
3634 "N" ;web client certificate?
3636 "Y" ;web server certificate?
3637 "localhost" ;dnsName of subject
3638 "" ;dnsName of subject (end)
3640 "127.0.0.1" ;IP address of subject
3642 "" ;encryption (RSA)?
3643 "" ;data encryption?
3644 "" ;sign OCSP requests?
3647 "" ;email protection?
3648 "" ;URI of the CRL distribution point
3653 (add-after 'install 'move-doc
3654 (lambda* (#:key outputs #:allow-other-keys)
3655 (let ((out (assoc-ref outputs "out"))
3656 (doc (assoc-ref outputs "doc")))
3657 (mkdir-p (string-append doc "/share"))
3658 (copy-recursively (string-append out "/share/gtk-doc")
3659 (string-append doc "/share/gtk-doc"))
3660 (delete-file-recursively (string-append out "/share/gtk-doc"))
3663 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3664 ("gobject-introspection" ,gobject-introspection)
3665 ("gtk-doc" ,gtk-doc)
3666 ("intltool" ,intltool)
3667 ("pkg-config" ,pkg-config)
3668 ("python" ,python-wrapper)
3670 ;; These are needed for the tests.
3671 ;; FIXME: Add PHP once available.
3673 ("gnutls" ,gnutls) ;for 'certtool'
3676 ;; libsoup-2.4.pc refers to all these.
3677 `(("brotli" ,google-brotli)
3680 ("libxml2" ,libxml2)
3684 `(("glib-networking" ,glib-networking)
3685 ("mit-krb5" ,mit-krb5)))
3686 (home-page "https://live.gnome.org/LibSoup/")
3687 (synopsis "GLib-based HTTP Library")
3689 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3690 and the GLib main loop, to integrate well with GNOME applications.")
3691 (license license:lgpl2.0+)))
3693 (define-public libsecret
3700 "mirror://gnome/sources/libsecret/"
3701 (version-major+minor version) "/"
3702 "libsecret-" version ".tar.xz"))
3705 "1hzz34gmsxxf1jm1b7qin390rkwbg8sx198xdkwxqp3q6cw19sc1"))))
3706 (build-system gnu-build-system)
3707 (outputs '("out" "doc"))
3709 `(#:tests? #f ; FIXME: Testing hangs.
3711 (list (string-append "--with-html-dir="
3712 (assoc-ref %outputs "doc")
3713 "/share/gtk-doc/html"))))
3715 `(("gettext" ,gettext-minimal)
3716 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3717 ("gobject-introspection" ,gobject-introspection)
3718 ("pkg-config" ,pkg-config)
3720 ("xsltproc" ,libxslt)))
3721 ;; These are needed for the tests.
3722 ;; FIXME: Add gjs once available.
3724 ;("python2" ,python-2)
3725 ;("python2-dbus" ,python2-dbus)
3726 ;("python2-pygobject" ,python2-pygobject)
3727 ;("python2-pygobject-2" ,python2-pygobject-2)))
3729 `(("glib" ,glib))) ; required by libsecret-1.pc
3731 `(("docbook-xsl" ,docbook-xsl)
3732 ("libgcrypt" ,libgcrypt)
3733 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3734 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3735 (synopsis "GObject bindings for \"Secret Service\" API")
3737 "Libsecret is a GObject based library for storing and retrieving passwords
3738 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3739 (license license:lgpl2.1+)))
3741 (define-public five-or-more
3743 (name "five-or-more")
3748 (uri (string-append "mirror://gnome/sources/five-or-more/"
3749 (version-major+minor version) "/"
3750 "five-or-more-" version ".tar.xz"))
3752 (base32 "0xw05dd2dwi9vsph9h158b4n89s5k07xrh6bjz1icm0pdmjwhpgk"))))
3753 (build-system meson-build-system)
3757 (modify-phases %standard-phases
3758 (add-after 'unpack 'skip-gtk-update-icon-cache
3760 (substitute* "meson_post_install.py"
3761 (("gtk-update-icon-cache") (which "true")))
3764 `(("pkg-config" ,pkg-config)
3765 ("appstream-glib" ,appstream-glib)
3766 ("desktop-file-utils" ,desktop-file-utils)
3767 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3768 ("intltool" ,intltool)
3769 ("itstool" ,itstool)
3771 ("xmllint" ,libxml2)))
3774 ("libgnome-games-support" ,libgnome-games-support)
3775 ("librsvg" ,librsvg)))
3776 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3777 (synopsis "Logic puzzle game")
3778 (description "Five or More is a game where you try to align
3779 five or more objects of the same color and shape causing them to disappear.
3780 On every turn more objects will appear, until the board is full.
3781 Try to last as long as possible.")
3782 (license license:gpl2+)))
3784 (define-public gnome-mines
3786 (name "gnome-mines")
3791 (uri (string-append "mirror://gnome/sources/" name "/"
3792 (version-major+minor version) "/"
3793 name "-" version ".tar.xz"))
3796 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
3797 (build-system meson-build-system)
3801 (modify-phases %standard-phases
3802 (add-after 'unpack 'skip-gtk-update-icon-cache
3804 (substitute* "build-aux/meson_post_install.py"
3805 (("gtk-update-icon-cache") (which "true")))
3808 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3809 ("pkg-config" ,pkg-config)
3810 ("desktop-file-utils" ,desktop-file-utils)
3811 ("intltool" ,intltool)
3812 ("itstool" ,itstool)
3815 ("appstream-glib" ,appstream-glib)))
3818 ("libgnome-games-support" ,libgnome-games-support)
3819 ("librsvg" ,librsvg)))
3820 (home-page "https://wiki.gnome.org/Apps/Mines")
3821 (synopsis "Minesweeper game")
3823 "Mines (previously gnomine) is a puzzle game where you locate mines
3824 floating in an ocean using only your brain and a little bit of luck.")
3825 (license license:gpl2+)))
3827 (define-public gnome-sudoku
3829 (name "gnome-sudoku")
3834 (uri (string-append "mirror://gnome/sources/" name "/"
3835 (version-major+minor version) "/"
3836 name "-" version ".tar.xz"))
3839 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3840 (build-system meson-build-system)
3844 (modify-phases %standard-phases
3845 (add-after 'unpack 'skip-gtk-update-icon-cache
3847 (substitute* "build-aux/post_install.py"
3848 (("gtk-update-icon-cache") (which "true")))
3851 `(("pkg-config" ,pkg-config)
3852 ("desktop-file-utils" ,desktop-file-utils)
3853 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3854 ("intltool" ,intltool)
3855 ("itstool" ,itstool)
3857 ("xmllint" ,libxml2)))
3860 ("json-glib" ,json-glib)
3862 ("librsvg" ,librsvg)
3863 ("qqwing" ,qqwing)))
3864 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3865 (synopsis "Japanese logic game")
3867 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3868 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3869 possible while still providing features that make playing difficult Sudoku
3871 (license license:gpl2+)))
3873 (define-public gnome-terminal
3875 (name "gnome-terminal")
3880 (uri (string-append "mirror://gnome/sources/" name "/"
3881 (version-major+minor version) "/"
3882 name "-" version ".tar.xz"))
3885 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
3886 (build-system glib-or-gtk-build-system)
3889 (list "--disable-migration" "--disable-search-provider"
3890 "--without-nautilus-extension")
3892 (modify-phases %standard-phases
3893 (add-before 'configure 'patch-/bin/true
3895 (substitute* "configure"
3896 (("/bin/true") (which "true"))))))))
3898 `(("pkg-config" ,pkg-config)
3899 ("desktop-file-utils" ,desktop-file-utils)
3900 ("intltool" ,intltool)
3901 ("itstool" ,itstool)
3902 ("xmllint" ,libxml2)))
3904 `(("dconf" ,dconf)))
3909 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3910 ("util-linux" ,util-linux "lib")
3912 (home-page "https://wiki.gnome.org/Apps/Terminal")
3913 (synopsis "Terminal emulator")
3915 "GNOME Terminal is a terminal emulator application for accessing a
3916 UNIX shell environment which can be used to run programs available on
3919 It supports several profiles, multiple tabs and implements several
3920 keyboard shortcuts.")
3921 (license license:gpl3+)))
3923 (define-public colord
3930 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3931 "colord-" version ".tar.xz"))
3933 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3934 (build-system meson-build-system)
3936 '(;; FIXME: One test fails:
3937 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3938 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3939 ;; application/x-zerosize
3942 #:configure-flags (list "-Dlocalstatedir=/var"
3943 ;; No dep on systemd.
3945 ;; Wants to install to global completion dir;
3947 "-Dbash_completion=false"
3948 "-Ddaemon_user=colord"
3951 ;; Requires spotread.
3952 "-Dargyllcms_sensor=false"
3953 ;; TODO: Requires docbook2x.
3956 (modify-phases %standard-phases
3957 (add-before 'configure 'patch-build-system
3958 (lambda* (#:key outputs #:allow-other-keys)
3959 (substitute* "rules/meson.build"
3960 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3961 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3963 (add-before 'configure 'set-sqlite3-file-name
3964 (lambda* (#:key inputs #:allow-other-keys)
3965 ;; "colormgr dump" works by invoking the "sqlite3" command.
3966 ;; Record its absolute file name.
3967 (let ((sqlite (assoc-ref inputs "sqlite")))
3968 (substitute* "client/cd-util.c"
3970 (string-append "\"" sqlite "/bin/sqlite3\"")))
3973 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3974 ("gettext" ,gettext-minimal)
3975 ("gobject-introspection" ,gobject-introspection)
3976 ("gtk-doc" ,gtk-doc)
3977 ("pkg-config" ,pkg-config)
3980 ;; colord.pc refers to all these.
3985 `(("dbus-glib" ,dbus-glib)
3987 ("libgudev" ,libgudev)
3990 ("python" ,python-wrapper)
3992 ("sane-backends" ,sane-backends)))
3993 (home-page "https://www.freedesktop.org/software/colord/")
3994 (synopsis "Color management service")
3995 (description "Colord is a system service that makes it easy to manage,
3996 install and generate color profiles to accurately color manage input and
3998 (license license:gpl2+)))
4000 (define-public geoclue
4008 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4009 version "/geoclue-" version ".tar.bz2"))
4012 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4013 (patches (search-patches "geoclue-config.patch"))))
4014 (build-system meson-build-system)
4016 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4018 `(("pkg-config" ,pkg-config)
4019 ("gobject-introspection" ,gobject-introspection)
4020 ("modem-manager" ,modem-manager)
4021 ("libnotify" ,libnotify)
4022 ("gtk-doc", gtk-doc)
4023 ("intltool" ,intltool)))
4026 ("glib:bin" ,glib "bin")
4027 ("glib-networking" ,glib-networking)
4028 ("json-glib" ,json-glib)
4029 ("libsoup" ,libsoup)))
4030 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4031 (synopsis "Geolocation service")
4032 (description "Geoclue is a D-Bus service that provides location
4033 information. The primary goal of the Geoclue project is to make creating
4034 location-aware applications as simple as possible, while the secondary goal is
4035 to ensure that no application can access location information without explicit
4036 permission from user.")
4037 (license license:gpl2+)))
4039 (define-public geocode-glib
4041 (name "geocode-glib")
4045 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4046 (version-major+minor version) "/"
4047 "geocode-glib-" version ".tar.xz"))
4050 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4051 (build-system meson-build-system)
4054 (modify-phases %standard-phases
4055 ;; The tests require a bunch of locales.
4056 (add-before 'check 'set-locales
4057 (lambda* (#:key inputs #:allow-other-keys)
4058 (setenv "GUIX_LOCPATH"
4059 (string-append (assoc-ref inputs "glibc-locales")
4063 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4064 ("glibc-locales" ,glibc-locales) ; for tests
4065 ("gettext" ,gettext-minimal)
4066 ("gobject-introspection" ,gobject-introspection)
4067 ("gtk-doc" ,gtk-doc)
4068 ("pkg-config" ,pkg-config)
4069 ("json-glib" ,json-glib)))
4071 ;; geocode-glib-1.0.pc refers to GIO.
4074 `(("libsoup" ,libsoup)))
4075 (home-page "https://github.com/GNOME/geocode-glib/")
4076 (synopsis "Geocoding and reverse-geocoding library")
4078 "geocode-glib is a convenience library for geocoding (finding longitude,
4079 and latitude from an address) and reverse geocoding (finding an address from
4080 coordinates) using the Nominatim service. geocode-glib caches requests for
4081 faster results and to avoid unnecessary server load.")
4082 (license license:lgpl2.0+)))
4084 (define-public upower
4090 (uri (string-append "https://upower.freedesktop.org/releases/"
4091 "upower-" version ".tar.xz"))
4094 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4095 (patches (search-patches "upower-builddir.patch"))
4096 (modules '((guix build utils)))
4100 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4101 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4102 ;; 'dbus-configuration-directory' in (gnu services dbus)
4103 ;; expects it in etc/. Thus, move it back to its previous
4105 (substitute* "src/Makefile.in"
4106 (("^dbusconfdir =.*$")
4107 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4109 (build-system glib-or-gtk-build-system)
4111 '( ;; The tests want to contact the system bus, which can't be done in the
4112 ;; build environment. The integration test can run, but the last of
4113 ;; the up-self-tests doesn't. Disable tests for now.
4115 #:configure-flags (list "--localstatedir=/var"
4116 (string-append "--with-udevrulesdir="
4117 (assoc-ref %outputs "out")
4118 "/lib/udev/rules.d"))))
4120 `(("gobject-introspection" ,gobject-introspection)
4121 ("pkg-config" ,pkg-config)
4122 ("intltool" ,intltool)
4126 ("libxslt" ,libxslt) ;for 'xsltproc'
4127 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4128 ("docbook-xsl" ,docbook-xsl)))
4130 `(("dbus-glib" ,dbus-glib)
4131 ("libgudev" ,libgudev)
4132 ("libusb" ,libusb)))
4134 ;; In Requires of upower-glib.pc.
4136 (home-page "https://upower.freedesktop.org/")
4137 (synopsis "System daemon for managing power devices")
4139 "UPower is an abstraction for enumerating power devices,
4140 listening to device events and querying history and statistics. Any
4141 application or service on the system can access the org.freedesktop.UPower
4142 service via the system message bus.")
4143 (license license:gpl2+)))
4145 (define-public libgweather
4147 (name "libgweather")
4151 (uri (string-append "mirror://gnome/sources/" name "/"
4152 (version-major+minor version) "/"
4153 name "-" version ".tar.xz"))
4156 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
4157 (build-system meson-build-system)
4159 `(#:tests? #f ; one of two tests requires network access
4161 `(,(string-append "-Dzoneinfo_dir="
4162 (assoc-ref %build-inputs "tzdata")
4163 "/share/zoneinfo"))))
4165 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4166 ("gobject-introspection" ,gobject-introspection)
4167 ("pkg-config" ,pkg-config)
4169 ("intltool" ,intltool)))
4171 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4174 ("gdk-pixbuf" ,gdk-pixbuf)
4175 ("libxml2" ,libxml2)
4176 ("libsoup" ,libsoup)
4177 ("geocode-glib" ,geocode-glib)))
4179 `(("tzdata" ,tzdata)))
4180 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4181 (synopsis "Location, time zone, and weather library for GNOME")
4183 "libgweather is a library to access weather information from online
4184 services for numerous locations.")
4185 (license license:gpl2+)))
4187 (define-public gnome-settings-daemon
4189 (name "gnome-settings-daemon")
4194 (uri (string-append "mirror://gnome/sources/" name "/"
4195 (version-major+minor version) "/"
4196 name "-" version ".tar.xz"))
4199 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
4200 (build-system meson-build-system)
4204 (list (string-append "-Dudev_dir="
4205 (assoc-ref %outputs "out")
4206 "/lib/udev/rules.d/")
4207 ;; Otherwise, the RUNPATH will lack the final path component.
4208 (string-append "-Dc_link_args=-Wl,-rpath="
4209 (assoc-ref %outputs "out")
4210 "/lib/gnome-settings-daemon-3.0"))
4211 ;; Color management test can't reach the colord system service.
4214 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4215 ("pkg-config" ,pkg-config)
4216 ("intltool" ,intltool)
4217 ("xsltproc" ,libxslt)
4218 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4219 ("docbook-xml" ,docbook-xml-4.2)
4220 ("docbook-xsl" ,docbook-xsl)))
4222 `(("alsa-lib" ,alsa-lib)
4224 ("libgudev" ,libgudev)
4227 ("pulseaudio" ,pulseaudio)
4228 ("libcanberra" ,libcanberra)
4230 ("libxtst" ,libxtst)
4232 ("libnotify" ,libnotify)
4233 ("geoclue" ,geoclue)
4234 ("geocode-glib" ,geocode-glib)
4235 ("libgweather" ,libgweather)
4236 ("gnome-desktop" ,gnome-desktop)
4239 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4240 ("libwacom" ,libwacom)
4241 ("librsvg" ,librsvg)
4242 ("xf86-input-wacom" ,xf86-input-wacom)
4243 ("wayland" ,wayland)
4244 ("network-manager" ,network-manager)))
4245 (home-page "https://www.gnome.org")
4246 (synopsis "GNOME settings daemon")
4248 "This package contains the daemon responsible for setting the various
4249 parameters of a GNOME session and the applications that run under it. It
4250 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4251 settings, themes, mouse settings, and startup of other daemons.")
4252 (license license:gpl2+)))
4254 (define-public totem-pl-parser
4256 (name "totem-pl-parser")
4260 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4261 (version-major+minor version) "/"
4262 "totem-pl-parser-" version ".tar.xz"))
4265 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4266 (build-system meson-build-system)
4268 ;; FIXME: Tests require gvfs.
4271 `(("intltool" ,intltool)
4272 ("glib" ,glib "bin")
4273 ("gobject-introspection" ,gobject-introspection)
4274 ("pkg-config" ,pkg-config)))
4278 ("libarchive" ,libarchive)
4279 ("libgcrypt" ,libgcrypt)
4280 ("libxml2" ,libxml2)))
4282 `(("libsoup" ,libsoup)))
4283 (home-page "https://projects.gnome.org/totem")
4284 (synopsis "Library to parse and save media playlists for GNOME")
4285 (description "Totem-pl-parser is a GObjects-based library to parse and save
4286 playlists in a variety of formats.")
4287 (license license:lgpl2.0+)))
4289 (define-public aisleriot
4295 (uri (string-append "mirror://gnome/sources/aisleriot/"
4296 (version-major+minor version) "/"
4297 "aisleriot-" version ".tar.xz"))
4300 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4301 (build-system glib-or-gtk-build-system)
4304 '("--with-platform=gtk-only"
4305 "--with-card-theme-formats=svg")))
4307 `(("desktop-file-utils" ,desktop-file-utils)
4308 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4309 ("intltool" ,intltool)
4310 ("itstool" ,itstool)
4311 ("pkg-config" ,pkg-config)
4312 ("xmllint" ,libxml2)))
4315 ("guile" ,guile-2.2)
4316 ("libcanberra" ,libcanberra)
4317 ("librsvg" ,librsvg)))
4318 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4319 (synopsis "Solitaire card games")
4321 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4322 which are easy to play with the aid of a mouse.")
4323 (license license:gpl3+)))
4331 (uri (string-append "mirror://gnome/sources/amtk/"
4332 (version-major+minor version) "/"
4333 "amtk-" version ".tar.xz"))
4336 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4337 (build-system gnu-build-system)
4339 '(#:configure-flags '("--enable-gtk-doc")))
4341 `(("gobject-introspection" ,gobject-introspection)
4342 ("glib:bin" ,glib "bin") ; for glib-mkenums
4343 ("gtk-doc" ,gtk-doc)
4344 ("pkg-config" ,pkg-config)))
4348 (home-page "https://wiki.gnome.org/Projects/Amtk")
4349 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4351 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4352 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4353 both a traditional UI or a modern UI with a GtkHeaderBar.")
4354 (license license:lgpl2.1+)))
4356 (define-public devhelp
4362 (uri (string-append "mirror://gnome/sources/" name "/"
4363 (version-major+minor version) "/"
4364 name "-" version ".tar.xz"))
4367 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
4368 (build-system meson-build-system)
4372 (modify-phases %standard-phases
4373 (add-after 'unpack 'skip-gtk-update-icon-cache
4374 ;; Don't create 'icon-theme.cache'.
4376 (substitute* "meson_post_install.py"
4377 (("gtk-update-icon-cache") "true"))
4380 `(("intltool" ,intltool)
4381 ("itstool" ,itstool)
4382 ("gobject-introspection" ,gobject-introspection)
4383 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4384 ("pkg-config" ,pkg-config)))
4387 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4388 ("webkitgtk" ,webkitgtk)))
4389 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4390 (synopsis "API documentation browser for GNOME")
4392 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4393 natively with GTK-Doc (the API reference system developed for GTK+ and used
4394 throughout GNOME for API documentation).")
4395 (license license:gpl2+)))
4404 (uri (string-append "mirror://gnome/sources/cogl/"
4405 (version-major+minor version) "/"
4406 "cogl-" version ".tar.xz"))
4408 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
4409 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4410 ;; cogl, corresponding changes may be appropriate in mutter as well.
4411 (build-system gnu-build-system)
4413 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4414 ("gobject-introspection" ,gobject-introspection)
4415 ;;("xorg-server" ,xorg-server) ; for the test suite
4416 ("pkg-config" ,pkg-config)))
4419 ("gdk-pixbuf" ,gdk-pixbuf)
4421 ("libxext" ,libxext)
4422 ("libxfixes" ,libxfixes)
4423 ("libxdamage" ,libxdamage)
4424 ("libxcomposite" ,libxcomposite)
4425 ("libxrandr" ,libxrandr)))
4430 ("gstreamer" ,gstreamer)
4431 ("gst-plugins-base" ,gst-plugins-base)
4432 ("wayland" ,wayland)))
4434 `(#:configure-flags (list "--enable-cogl-gst"
4435 "--enable-wayland-egl-platform"
4436 "--enable-wayland-egl-server"
4438 ;; Arrange to pass an absolute file name to
4439 ;; dlopen for libGL.so.
4440 (string-append "--with-gl-libname="
4441 (assoc-ref %build-inputs "mesa")
4443 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4444 ;; _FontTransOpen: Unable to Parse address
4445 ;; ${prefix}/share/fonts/X11/misc/
4449 (modify-phases %standard-phases
4450 (add-before 'check 'start-xorg-server
4451 (lambda* (#:key inputs #:allow-other-keys)
4452 ;; The test suite requires a running X server.
4453 (system (format #f "~a/bin/Xvfb :1 &"
4454 (assoc-ref inputs "xorg-server")))
4455 (setenv "DISPLAY" ":1")
4457 (home-page "https://www.cogl3d.org")
4458 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4460 "Cogl is a small library for using 3D graphics hardware to draw pretty
4461 pictures. The API departs from the flat state machine style of OpenGL and is
4462 designed to make it easy to write orthogonal components that can render
4463 without stepping on each others toes.")
4464 (license (list license:expat ; most of the code
4465 license:bsd-3 ; cogl/cogl-point-in-poly.c
4466 license:sgifreeb2.0 ; cogl-path/tesselator/
4467 license:asl2.0)))) ; examples/android/
4469 (define-public clutter
4476 (uri (string-append "mirror://gnome/sources/" name "/"
4477 (version-major+minor version) "/"
4478 name "-" version ".tar.xz"))
4481 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4482 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4483 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4484 (build-system gnu-build-system)
4486 "doc")) ;9 MiB of gtk-doc HTML pages
4488 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4489 ("gobject-introspection" ,gobject-introspection)
4490 ("pkg-config" ,pkg-config)
4491 ("xsltproc" ,libxslt)))
4497 ("json-glib" ,json-glib)
4499 ("libxcomposite" ,libxcomposite)
4500 ("libxdamage" ,libxdamage)
4501 ("libxext" ,libxext)
4502 ("xinput" ,xinput)))
4504 `(("libxkbcommon" ,libxkbcommon)
4507 `(#:configure-flags (list "--enable-x11-backend=yes"
4509 ;; This produces share/doc/{clutter,cally}.
4510 (string-append "--with-html-dir="
4511 (assoc-ref %outputs "doc")
4513 ;; XXX FIXME: Get test suite working. It would probably fail in the
4514 ;; same way the cogl tests fail, since clutter is based on cogl.
4516 (home-page "http://www.clutter-project.org")
4517 (synopsis "OpenGL-based interactive canvas library")
4519 "Clutter is an OpenGL-based interactive canvas library, designed for
4520 creating fast, mainly 2D single window applications such as media box UIs,
4521 presentations, kiosk style applications and so on.")
4522 (license license:lgpl2.0+)))
4524 (define-public clutter-gtk
4526 (name "clutter-gtk")
4531 (uri (string-append "mirror://gnome/sources/" name "/"
4532 (version-major+minor version) "/"
4533 name "-" version ".tar.xz"))
4536 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4537 (build-system gnu-build-system)
4539 `(("pkg-config" ,pkg-config)
4540 ("gobject-introspection" ,gobject-introspection)))
4542 ;; clutter-gtk.pc refers to all these.
4543 `(("clutter" ,clutter)
4545 (home-page "http://www.clutter-project.org")
4546 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4548 "Clutter is an OpenGL-based interactive canvas library, designed for
4549 creating fast, mainly 2D single window applications such as media box UIs,
4550 presentations, kiosk style applications and so on.")
4551 (license license:lgpl2.0+)))
4553 (define-public clutter-gst
4555 (name "clutter-gst")
4560 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4561 (version-major+minor version) "/"
4562 "clutter-gst-" version ".tar.xz"))
4564 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4565 (build-system gnu-build-system)
4567 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4568 ("pkg-config" ,pkg-config)
4569 ("gobject-introspection" ,gobject-introspection)))
4571 `(("clutter" ,clutter)
4572 ("gstreamer" ,gstreamer)
4573 ("gst-plugins-base" ,gst-plugins-base)))
4574 (home-page "http://www.clutter-project.org")
4575 (synopsis "Integration library for using GStreamer with Clutter")
4577 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4578 It provides a GStreamer sink to upload frames to GL and an actor that
4579 implements the ClutterGstPlayer interface using playbin. Clutter is an
4580 OpenGL-based interactive canvas library.")
4581 (license license:lgpl2.0+)))
4583 (define-public libchamplain
4585 (name "libchamplain")
4590 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4594 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4595 (build-system gnu-build-system)
4596 (arguments '(#:configure-flags '("--enable-vala")))
4598 `(("gobject-introspection" ,gobject-introspection)
4599 ("pkg-config" ,pkg-config)
4602 `(("libsoup" ,libsoup)
4604 ("clutter" ,clutter)
4605 ("clutter-gtk" ,clutter-gtk)
4606 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4610 (home-page "https://projects.gnome.org/libchamplain/")
4611 (synopsis "C library providing a ClutterActor to display maps")
4613 "libchamplain is a C library providing a ClutterActor to display maps.
4614 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4615 and Perl bindings are also available. It supports numerous free map sources
4616 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4617 (license license:lgpl2.1+)))
4626 (uri (string-append "mirror://gnome/sources/gom/"
4627 (version-major+minor version) "/"
4628 "gom-" version ".tar.xz"))
4631 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4632 (build-system gnu-build-system)
4634 `(("intltool" ,intltool)
4635 ("pkg-config" ,pkg-config)
4636 ("gobject-introspection" ,gobject-introspection)))
4639 ("gdk-pixbuf" ,gdk-pixbuf)
4640 ("sqlite" ,sqlite)))
4641 ;; XXX TODO: Figure out how to run the test suite.
4642 (arguments `(#:tests? #f))
4643 (home-page "https://wiki.gnome.org/Projects/Gom")
4644 (synopsis "Object mapper from GObjects to SQLite")
4646 "Gom provides an object mapper from GObjects to SQLite. It helps you
4647 write applications that need to store structured data as well as make complex
4648 queries upon that data.")
4649 (license license:lgpl2.1+)))
4651 (define-public libgnome-games-support
4653 (name "libgnome-games-support")
4657 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4658 (version-major+minor version) "/"
4659 "libgnome-games-support-" version ".tar.xz"))
4662 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4663 (build-system gnu-build-system)
4666 (modify-phases %standard-phases
4667 (add-before 'check 'pre-check
4669 ;; Tests require a writable HOME.
4670 (setenv "HOME" (getcwd))
4673 `(("intltool" ,intltool)
4674 ("pkg-config" ,pkg-config)
4677 ;; Required by libgnome-games-support-1.0.pc
4679 ("libgee" ,libgee)))
4680 (home-page "https://www.gnome.org/")
4681 (synopsis "Useful functionality shared among GNOME games")
4683 "libgnome-games-support is a small library intended for internal use by
4684 GNOME Games, but it may be used by others.")
4685 (license license:lgpl3+)))
4687 (define-public gnome-klotski
4689 (name "gnome-klotski")
4693 (uri (string-append "mirror://gnome/sources/" name "/"
4694 (version-major+minor version) "/"
4695 name "-" version ".tar.xz"))
4698 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4699 (build-system meson-build-system)
4703 (modify-phases %standard-phases
4704 (add-after 'unpack 'skip-gtk-update-icon-cache
4705 ;; Don't create 'icon-theme.cache'.
4707 (substitute* "build-aux/meson_post_install.py"
4708 (("gtk-update-icon-cache") (which "true")))
4711 `(("desktop-file-utils" ,desktop-file-utils)
4712 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4713 ("intltool" ,intltool)
4714 ("itstool" ,itstool)
4715 ("pkg-config" ,pkg-config)
4717 ("xmllint" ,libxml2)))
4720 ("libgnome-games-support" ,libgnome-games-support)
4721 ("librsvg" ,librsvg)))
4722 (home-page "https://wiki.gnome.org/Apps/Klotski")
4723 (synopsis "Sliding block puzzles")
4725 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4726 the patterned block to the area bordered by green markers. To do so, you will
4727 need to slide other blocks out of the way. Complete each puzzle in as few moves
4729 (license license:gpl2+)))
4731 (define-public grilo
4738 (uri (string-append "mirror://gnome/sources/" name "/"
4739 (version-major+minor version) "/"
4740 name "-" version ".tar.xz"))
4743 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4744 (build-system meson-build-system)
4746 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4747 ("intltool" ,intltool)
4748 ("pkg-config" ,pkg-config)
4749 ("gobject-introspection" ,gobject-introspection)
4750 ("gtk-doc" ,gtk-doc)
4753 `(("cyrus-sasl" ,cyrus-sasl)
4756 ("libxml2" ,libxml2)
4757 ("liboauth" ,liboauth)
4758 ("libsoup" ,libsoup)
4759 ("totem-pl-parser" ,totem-pl-parser)))
4760 (native-search-paths
4761 (list (search-path-specification
4762 (variable "GRL_PLUGIN_PATH")
4763 (files (list (string-append "lib/grilo-"
4764 (version-major+minor version)))))))
4765 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4766 (synopsis "Framework for discovering and browsing media")
4768 "Grilo is a framework focused on making media discovery and browsing easy
4769 for application developers.")
4770 (license license:lgpl2.1+)))
4772 (define-public grilo-plugins
4774 (name "grilo-plugins")
4779 (uri (string-append "mirror://gnome/sources/" name "/"
4780 (version-major+minor version) "/"
4781 name "-" version ".tar.xz"))
4784 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4785 (build-system meson-build-system)
4787 `(("gettext" ,gettext-minimal)
4788 ("glib:bin" ,glib "bin")
4789 ("gtk+:bin" ,gtk+ "bin")
4790 ("itstool" ,itstool)
4791 ("pkg-config" ,pkg-config)))
4792 ;; TODO: ahavi, gstreamer
4795 ;("gmime" ,gmime) ; unused
4796 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4798 ;("gssdp" ,gssdp) ; unused
4799 ;("gupnp" ,gupnp) ; unused
4800 ;("gupnp-av" ,gupnp-av) ; unused
4801 ("json-glib" ,json-glib)
4803 ("libgdata" ,libgdata)
4804 ("libmediaart" ,libmediaart)
4805 ;("librest" ,rest) ; unused
4806 ("libsoup" ,libsoup)
4807 ("totam-pl-parser" ,totem-pl-parser)
4808 ("tracker" ,tracker))) ; unused because it's too old
4811 ;;Disable lua-factory as it needs missing dependencies
4812 #:configure-flags '("-Denable-lua-factory=no")))
4813 (home-page "https://live.gnome.org/Grilo")
4814 (synopsis "Plugins for the Grilo media discovery library")
4816 "Grilo is a framework focused on making media discovery and browsing easy
4817 for application developers. This package provides plugins for common media
4818 discovery protocols.")
4819 (license license:lgpl2.1+)))
4821 (define-public totem
4828 (uri (string-append "mirror://gnome/sources/" name "/"
4829 (version-major+minor version) "/"
4830 name "-" version ".tar.xz"))
4833 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
4834 (build-system meson-build-system)
4836 `(("pkg-config" ,pkg-config)
4837 ("desktop-file-utils" ,desktop-file-utils)
4838 ("gobject-introspection" ,gobject-introspection)
4839 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4840 ("intltool" ,intltool)
4841 ("itstool" ,itstool)
4842 ("xmllint" ,libxml2)
4843 ("python-pylint" ,python-pylint)
4844 ("xorg-server" ,xorg-server-for-tests)))
4846 `(("dconf" ,dconf)))
4849 ("gdk-pixbuf" ,gdk-pixbuf)
4852 ("dbus-glib" ,dbus-glib)
4853 ("clutter" ,clutter)
4854 ("clutter-gtk" ,clutter-gtk)
4855 ("clutter-gst" ,clutter-gst)
4856 ("xorgproto" ,xorgproto)
4857 ("libxxf86vm" ,libxxf86vm)
4858 ("libxtst" ,libxtst)
4859 ("libxrandr" ,libxrandr)
4860 ("libxml2" ,libxml2)
4861 ("libsoup" ,libsoup)
4862 ("libpeas" ,libpeas)
4863 ("librsvg" ,librsvg)
4865 ("gnome-desktop" ,gnome-desktop)
4866 ("gstreamer" ,gstreamer)
4867 ("gst-plugins-base" ,gst-plugins-base)
4868 ("gst-plugins-good" ,gst-plugins-good)
4869 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4870 ("adwaita-icon-theme" ,adwaita-icon-theme)
4872 ("python-pygobject" ,python-pygobject)
4873 ("totem-pl-parser" ,totem-pl-parser)
4875 ("grilo-plugins" ,grilo-plugins)
4880 ;; Disable automatic GStreamer plugin installation via PackageKit and
4882 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4884 ;; Do not build .a files for the plugins, it's
4885 ;; completely useless. This saves 2 MiB.
4886 "--default-library" "shared")
4888 (modify-phases %standard-phases
4889 (add-after 'unpack 'skip-gtk-update-icon-cache
4890 ;; Don't create 'icon-theme.cache'.
4892 (substitute* "meson_post_install.py"
4893 (("gtk-update-icon-cache") "true"))
4896 'install 'disable-cache-generation
4898 (setenv "DESTDIR" "/")
4903 ;; Tests require a running X server.
4904 (system "Xvfb :1 &")
4905 (setenv "DISPLAY" ":1")
4908 'install 'wrap-totem
4909 (lambda* (#:key inputs outputs #:allow-other-keys)
4910 (let ((out (assoc-ref outputs "out"))
4911 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4912 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4913 (wrap-program (string-append out "/bin/totem")
4914 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4915 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4916 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4917 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4919 (home-page "https://wiki.gnome.org/Apps/Videos")
4920 (synopsis "Simple media player for GNOME based on GStreamer")
4921 (description "Totem is a simple yet featureful media player for GNOME
4922 which can read a large number of file formats.")
4923 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4924 ;; to be used and distributed together with GStreamer and Totem. See
4925 ;; file://COPYING in the source distribution for details.
4926 (license license:gpl2+)))
4928 (define-public rhythmbox
4934 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4935 (version-major+minor version) "/"
4936 "rhythmbox-" version ".tar.xz"))
4939 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4940 (build-system glib-or-gtk-build-system)
4943 (list "--enable-lirc"
4950 (modify-phases %standard-phases
4952 'install 'wrap-rhythmbox
4953 (lambda* (#:key inputs outputs #:allow-other-keys)
4954 (let ((out (assoc-ref outputs "out"))
4955 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4956 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4957 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4958 (python-path (getenv "PYTHONPATH")))
4959 (wrap-program (string-append out "/bin/rhythmbox")
4960 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4961 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4962 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4963 `("PYTHONPATH" ":" prefix (,python-path))))
4966 `(("dconf" ,dconf)))
4968 `(("itstool" ,itstool)
4969 ("intltool" ,intltool)
4970 ("glib" ,glib "bin")
4971 ("gobject-introspection" ,gobject-introspection)
4972 ("desktop-file-utils" ,desktop-file-utils)
4973 ("pkg-config" ,pkg-config)
4974 ("xmllint" ,libxml2)))
4976 `(("json-glib" ,json-glib)
4978 ("gnome-desktop" ,gnome-desktop)
4980 ("python-pygobject" ,python2-pygobject)
4983 ("adwaita-icon-theme" ,adwaita-icon-theme)
4985 ("grilo-plugins" ,grilo-plugins)
4986 ("gstreamer" ,gstreamer)
4987 ("gst-plugins-base" ,gst-plugins-base)
4988 ("gst-plugins-good" ,gst-plugins-good)
4989 ("totem-pl-parser" ,totem-pl-parser)
4990 ("libgudev" ,libgudev)
4991 ;;("libmtp" ,libmtp) FIXME: Not detected
4992 ("libsecret" ,libsecret)
4993 ("libsoup" ,libsoup)
4994 ("libnotify" ,libnotify)
4995 ("libpeas" ,libpeas)
4997 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4998 ;;("clutter" ,clutter)
4999 ;;("clutter-gtk" ,clutter-gtk)
5000 ;;("clutter-gst" ,clutter-gst)
5001 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5008 ("brasero" ,brasero)))
5009 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5010 (synopsis "Music player for GNOME")
5011 (description "Rhythmbox is a music playing application for GNOME. It
5012 supports playlists, song ratings, and any codecs installed through gstreamer.")
5013 (license license:gpl2+)))
5021 (uri (string-append "mirror://gnome/sources/" name "/"
5022 (version-major+minor version) "/"
5023 name "-" version ".tar.xz"))
5026 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5027 (build-system meson-build-system)
5030 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5031 (list (string-append "-Dc_link_args=-Wl,-rpath="
5032 (assoc-ref %outputs "out") "/lib/eog"))
5034 (modify-phases %standard-phases
5035 (add-after 'unpack 'skip-gtk-update-icon-cache
5036 ;; Don't create 'icon-theme.cache'.
5038 (substitute* "meson_post_install.py"
5039 (("gtk-update-icon-cache") "true"))
5041 (add-after 'install 'wrap-eog
5042 (lambda* (#:key outputs #:allow-other-keys)
5043 (let ((out (assoc-ref outputs "out"))
5044 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5045 (wrap-program (string-append out "/bin/eog")
5046 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5049 `(("dconf" ,dconf)))
5051 `(("intltool" ,intltool)
5052 ("itstool" ,itstool)
5053 ("glib" ,glib "bin")
5054 ("gobject-introspection" ,gobject-introspection)
5055 ("pkg-config" ,pkg-config)
5056 ("xmllint" ,libxml2)))
5058 `(("gnome-desktop" ,gnome-desktop)
5059 ("shared-mime-info" ,shared-mime-info)
5060 ("adwaita-icon-theme" ,adwaita-icon-theme)
5063 ("libexif" ,libexif)
5064 ("libpeas" ,libpeas)
5065 ("libjpeg" ,libjpeg-turbo)
5066 ("librsvg" ,librsvg-next)
5067 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5069 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5070 (synopsis "GNOME image viewer")
5071 (description "Eye of GNOME is the GNOME image viewer. It
5072 supports image conversion, rotation, and slideshows.")
5073 (license license:gpl2+)))
5075 (define-public eog-plugins
5076 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5077 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5078 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5079 ;; 'XDG_DATA_DIRS' appropriately set.
5081 (name "eog-plugins")
5085 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5086 (version-major+minor version) "/"
5087 "eog-plugins-" version ".tar.xz"))
5090 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5091 (build-system gnu-build-system)
5092 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5093 (synopsis "Extensions for the Eye of GNOME image viewer")
5095 `(("pkg-config" ,pkg-config)
5096 ("gettext" ,gettext-minimal)))
5101 ("libpeas" ,libpeas)
5102 ("libexif" ,libexif)
5103 ("libchamplain" ,libchamplain)))
5105 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5109 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5110 @item @dfn{Map}, which displays a map of where the picture was taken on the
5112 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5115 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5116 ;; long suspicious byte stream that goes to a
5117 ;; ".gresource.eog_postasa_plugin" ELF section.
5118 (license license:gpl2+)))
5120 (define-public libgudev
5126 (uri (string-append "mirror://gnome/sources/" name "/"
5127 version "/" name "-" version ".tar.xz"))
5130 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5131 (build-system gnu-build-system)
5134 ;; umockdev depends on libgudev.
5135 (list "--disable-umockdev")))
5137 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5138 ("gobject-introspection" ,gobject-introspection)
5139 ("pkg-config" ,pkg-config)))
5141 `(("glib" ,glib))) ; required by gudev-1.0.pc
5144 (home-page "https://wiki.gnome.org/Projects/libgudev")
5145 (synopsis "GObject bindings for libudev")
5147 "This library provides GObject bindings for libudev. It was originally
5148 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5149 (license license:lgpl2.1+)))
5157 (uri (string-append "mirror://gnome/sources/gvfs/"
5158 (version-major+minor version) "/"
5159 "gvfs-" version ".tar.xz"))
5162 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5163 (build-system meson-build-system)
5167 (list "-Dsystemduserunitdir=no"
5169 ;; Otherwise, the RUNPATH will lack the final path component.
5170 (string-append "-Dc_link_args=-Wl,-rpath="
5171 (assoc-ref %outputs "out") "/lib/gvfs"))))
5173 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5174 ("gettext" ,gettext-minimal)
5175 ("gtk-doc" ,gtk-doc)
5176 ("pkg-config" ,pkg-config)
5177 ("xsltproc" ,libxslt)))
5180 ("docbook-xml" ,docbook-xml-4.2)
5181 ("docbook-xsl" ,docbook-xsl)
5183 ("elogind" ,elogind)
5187 ("gnome-online-accounts" ,gnome-online-accounts)
5188 ("libarchive" ,libarchive)
5189 ("libbluray" ,libbluray)
5191 ("libcdio-paranoia" ,libcdio-paranoia)
5192 ("libgcrypt" ,libgcrypt)
5193 ("libgdata" ,libgdata)
5194 ("libgphoto2" ,libgphoto2)
5195 ("libgudev" ,libgudev)
5196 ("libimobiledevice" ,libimobiledevice)
5199 ("libsecret" ,libsecret)
5200 ("libsmbclient" ,samba)
5201 ("libsoup" ,libsoup)
5202 ("libxml2" ,libxml2)
5203 ("openssh" ,openssh)
5205 ("udisks" ,udisks)))
5206 (home-page "https://wiki.gnome.org/gvfs/")
5207 (synopsis "Userspace virtual file system for GIO")
5209 "GVFS is a userspace virtual file system designed to work with the I/O
5210 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5211 to all applications using the GIO API. It also supports exposing the GVFS
5212 mounts to non-GIO applications using FUSE.
5214 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5216 (license license:lgpl2.0+)))
5225 (url "https://github.com/hughsie/libgusb.git")
5227 (file-name (git-file-name name version))
5230 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5231 (build-system meson-build-system)
5233 `(("gobject-introspection" ,gobject-introspection)
5234 ("pkg-config" ,pkg-config)
5236 ("gtk-doc" ,gtk-doc)))
5238 ;; Both of these are required by gusb.pc.
5240 ("libusb" ,libusb)))
5242 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5243 (home-page "https://github.com/hughsie/libgusb")
5244 (synopsis "GLib binding for libusb1")
5246 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5247 asynchronous control, bulk and interrupt transfers with proper cancellation
5248 and integration into a mainloop. This makes it easy to integrate low level
5249 USB transfers with your high-level application or system daemon.")
5250 (license license:lgpl2.1+)))
5252 (define-public simple-scan
5254 (name "simple-scan")
5259 (uri (string-append "mirror://gnome/sources/simple-scan/"
5260 (version-major+minor version) "/"
5261 "simple-scan-" version ".tar.xz"))
5263 (base32 "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"))))
5264 (build-system meson-build-system)
5265 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5267 '(#:glib-or-gtk? #t))
5273 ("gdk-pixbuf" ,gdk-pixbuf)
5275 ("libsane" ,sane-backends)))
5277 `(("gettext" ,gettext-minimal)
5278 ("itstool" ,itstool)
5279 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5280 ("pkg-config" ,pkg-config)
5282 ("xmllint" ,libxml2)))
5283 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5284 (synopsis "Document and image scanner")
5286 "Document Scanner is an easy-to-use application that lets you connect your
5287 scanner and quickly capture images and documents in an appropriate format. It
5288 supports any scanner for which a suitable SANE driver is available, which is
5289 almost all of them.")
5290 (license license:gpl3+)))
5292 (define-public eolie
5295 (version "0.9.98.1")
5298 (uri (string-append "https://adishatz.org/eolie/eolie-"
5302 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5303 (build-system meson-build-system)
5307 (modify-phases %standard-phases
5308 (add-after 'unpack 'skip-gtk-update-icon-cache
5309 ;; Don't create 'icon-theme.cache'.
5311 (substitute* "meson_post_install.py"
5312 (("gtk-update-icon-cache") "true"))
5314 (add-after 'wrap 'wrap-more
5315 (lambda* (#:key inputs outputs #:allow-other-keys)
5316 (let* ((out (assoc-ref outputs "out"))
5317 ;; These libraries must be on LD_LIBRARY_PATH.
5318 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5319 "atk" "gtk+" "gsettings-desktop-schemas"
5320 "gobject-introspection"))
5323 (string-append (assoc-ref inputs lib) "/lib"))
5326 (wrap-program (string-append out "/bin/eolie")
5327 `("LD_LIBRARY_PATH" ":" prefix (,path))
5328 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5329 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5332 `(("intltool" ,intltool)
5333 ("itstool" ,itstool)
5334 ("pkg-config" ,pkg-config)
5336 ("glib:bin" ,glib "bin")))
5338 `(("gobject-introspection" ,gobject-introspection)
5339 ("glib-networking" ,glib-networking)
5342 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5343 ("python" ,python-wrapper)
5344 ("python-dateutil" ,python-dateutil)
5345 ("python-pyfxa" ,python-pyfxa)
5346 ("python-pygobject" ,python-pygobject)
5347 ("python-pycairo" ,python-pycairo)
5348 ("python-pycrypto" ,python-pycrypto)
5349 ("libsecret" ,libsecret)
5350 ("gtkspell3" ,gtkspell3)
5351 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5352 ("webkitgtk" ,webkitgtk)))
5353 (home-page "https://wiki.gnome.org/Apps/Eolie")
5354 (synopsis "Web browser for GNOME")
5356 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5357 a secret password store, an adblocker, and a modern UI.")
5358 (license license:gpl3+)))
5360 (define-public epiphany
5366 (uri (string-append "mirror://gnome/sources/epiphany/"
5367 (version-major+minor version) "/"
5368 "epiphany-" version ".tar.xz"))
5371 "18d48vcp2nxs63bddkdplslgbnlfq79pm2ivl8hk38kkggy3dahf"))))
5373 (build-system meson-build-system)
5375 ;; FIXME: tests run under Xvfb, but fail with:
5376 ;; /src/bookmarks/ephy-bookmarks/create:
5377 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5383 (modify-phases %standard-phases
5384 (add-after 'unpack 'skip-gtk-update-icon-cache
5385 ;; Don't create 'icon-theme.cache'.
5387 (substitute* "post_install.py"
5388 (("gtk-update-icon-cache") "true"))
5391 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5392 (list (string-append "-Dc_link_args=-Wl,-rpath="
5393 (assoc-ref %outputs "out") "/lib/epiphany"))))
5395 `(("dconf" ,dconf)))
5397 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5398 ("glib:bin" ,glib "bin") ; for glib-mkenums
5399 ("intltool" ,intltool)
5400 ("itstool" ,itstool)
5401 ("pkg-config" ,pkg-config)
5402 ("xmllint" ,libxml2)))
5406 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5407 ("glib-networking" ,glib-networking)
5408 ("gnome-desktop" ,gnome-desktop)
5409 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5410 ("json-glib" ,json-glib)
5411 ("iso-codes" ,iso-codes)
5412 ("libdazzle" ,libdazzle)
5413 ("libnotify" ,libnotify)
5414 ("libsecret" ,libsecret)
5415 ("libxslt" ,libxslt)
5416 ("nettle" ,nettle) ; for hogweed
5418 ("webkitgtk" ,webkitgtk)))
5419 (home-page "https://wiki.gnome.org/Apps/Web")
5420 (synopsis "GNOME web browser")
5422 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5423 principles are simplicity and standards compliance.")
5424 (license license:gpl2+)))
5426 (define-public d-feet
5432 (uri (string-append "mirror://gnome/sources/" name "/"
5433 (version-major+minor version) "/"
5434 name "-" version ".tar.xz"))
5437 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5438 (build-system glib-or-gtk-build-system)
5440 '(#:out-of-source? #f ; tests need to run in the source directory.
5442 (modify-phases %standard-phases
5446 ;; The test suite requires a running X server.
5447 (system "Xvfb :1 &")
5448 (setenv "DISPLAY" ":1")
5449 ;; Don't fail on missing '/etc/machine-id'.
5450 (setenv "DBUS_FATAL_WARNINGS" "0")
5451 ;; tests.py and window.py don't meet E402:
5452 ;; E402 module level import not at top of file
5453 (substitute* "src/tests/Makefile"
5454 (("--ignore=E123") "--ignore=E123,E402"))
5457 'install 'wrap-program
5458 (lambda* (#:key outputs #:allow-other-keys)
5459 (let ((prog (string-append (assoc-ref outputs "out")
5462 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5463 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5466 `(("intltool" ,intltool)
5467 ("itstool" ,itstool)
5468 ("pkg-config" ,pkg-config)
5469 ("python-pep8" ,python-pep8)
5470 ("xmllint" ,libxml2)
5471 ("xorg-server" ,xorg-server-for-tests)))
5473 `(("gobject-introspection" ,gobject-introspection)
5475 ("python" ,python-wrapper)
5476 ("hicolor-icon-theme" ,hicolor-icon-theme)
5477 ("python-pygobject" ,python-pygobject)))
5478 (home-page "https://wiki.gnome.org/Apps/DFeet")
5479 (synopsis "D-Bus debugger")
5481 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5482 of running programs and invoke methods on those interfaces.")
5483 (license license:gpl2+)))
5485 (define-public yelp-xsl
5491 (uri (string-append "mirror://gnome/sources/" name "/"
5492 (version-major+minor version) "/"
5493 name "-" version ".tar.xz"))
5496 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5497 (build-system gnu-build-system)
5499 `(("gettext-minimal" ,gettext-minimal)
5500 ("itstool" ,itstool)
5501 ("xmllint" ,libxml2)))
5502 (home-page "https://wiki.gnome.org/Apps/Yelp")
5503 (synopsis "XSL stylesheets for Yelp")
5505 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5506 to format Docbook and Mallard documents.")
5507 (license license:gpl2+)))
5515 (uri (string-append "mirror://gnome/sources/" name "/"
5516 (version-major+minor version) "/"
5517 name "-" version ".tar.xz"))
5520 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5521 (build-system glib-or-gtk-build-system)
5523 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5524 ("intltool" ,intltool)
5525 ("itstool" ,itstool)
5526 ("pkg-config" ,pkg-config)))
5528 `(("dconf" ,dconf)))
5530 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5531 ("libxslt" ,libxslt)
5533 ("webkitgtk" ,webkitgtk)
5534 ("yelp-xsl" ,yelp-xsl)))
5535 (home-page "https://wiki.gnome.org/Apps/Yelp")
5536 (synopsis "GNOME help browser")
5538 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5539 man, info, and HTML documents. It can locate documents according to the
5540 freedesktop.org help system specification.")
5541 (license license:gpl2+)))
5543 (define-public yelp-tools
5549 (uri (string-append "mirror://gnome/sources/" name "/"
5550 (version-major+minor version) "/"
5551 name "-" version ".tar.xz"))
5554 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5555 (build-system gnu-build-system)
5557 `(("pkg-config" ,pkg-config)))
5559 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5560 `(("itstool" ,itstool)
5561 ("xmllint" ,libxml2)
5562 ("xsltproc" ,libxslt)))
5564 `(("yelp-xsl" ,yelp-xsl)))
5565 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5566 (synopsis "Yelp documentation tools")
5568 "Yelp-tools is a collection of scripts and build utilities to help create,
5569 manage, and publish documentation for Yelp and the web. Most of the heavy
5570 lifting is done by packages like yelp-xsl and itstool. This package just
5571 wraps things up in a developer-friendly way.")
5572 (license license:gpl2+)))
5574 (define-public libgee
5580 (uri (string-append "mirror://gnome/sources/libgee/"
5581 (version-major+minor version) "/"
5582 "libgee-" version ".tar.xz"))
5585 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5586 (build-system gnu-build-system)
5589 (modify-phases %standard-phases
5590 (add-after 'unpack 'fix-introspection-install-dir
5591 (lambda* (#:key outputs #:allow-other-keys)
5592 (let ((out (assoc-ref outputs "out")))
5593 (substitute* "gee/Makefile.in"
5594 (("@INTROSPECTION_GIRDIR@")
5595 (string-append out "/share/gir-1.0/"))
5596 (("@INTROSPECTION_TYPELIBDIR@")
5597 (string-append out "/lib/girepository-1.0/")))))))))
5599 `(("glib" ,glib "bin")
5600 ("pkg-config" ,pkg-config)))
5603 ("gobject-introspection" ,gobject-introspection)))
5604 (home-page "https://wiki.gnome.org/Projects/Libgee")
5605 (synopsis "GObject collection library")
5607 "Libgee is a utility library providing GObject-based interfaces and
5608 classes for commonly used data structures.")
5609 (license license:lgpl2.1+)))
5611 (define-public gexiv2
5617 (uri (string-append "mirror://gnome/sources/" name "/"
5618 (version-major+minor version) "/"
5619 name "-" version ".tar.xz"))
5622 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5623 (build-system meson-build-system)
5626 ("glib" ,glib "bin")
5627 ("pkg-config" ,pkg-config)
5630 ;; Listed in "Requires" section of gexiv2.pc
5631 `(("exiv2" ,exiv2)))
5634 ("gobject-introspection" ,gobject-introspection)))
5635 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5636 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5638 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5639 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5640 metadata in photo and video files of various formats.")
5641 (license license:gpl2+)))
5643 (define-public shotwell
5649 (uri (string-append "mirror://gnome/sources/shotwell/"
5650 (version-major+minor version) "/"
5651 "shotwell-" version ".tar.xz"))
5654 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
5655 (build-system meson-build-system)
5659 (modify-phases %standard-phases
5660 (add-after 'unpack 'skip-gtk-update-icon-cache
5662 (substitute* "build-aux/meson/postinstall.py"
5663 (("gtk-update-icon-cache") (which "true"))
5664 (("update-desktop-database") (which "true")))
5667 `(("dconf" ,dconf)))
5669 `(("gettext" ,gettext-minimal)
5670 ("glib:bin" ,glib "bin")
5671 ("itstool" ,itstool)
5672 ("pkg-config" ,pkg-config)
5677 ("gst-plugins-base" ,gst-plugins-base)
5678 ("gstreamer" ,gstreamer)
5679 ("json-glib" ,json-glib)
5680 ("libgdata" ,libgdata)
5682 ("libgphoto2" ,libgphoto2)
5683 ("libgudev" ,libgudev)
5685 ("libsoup" ,libsoup)
5686 ("libxml2" ,libxml2)
5688 ("webkitgtk" ,webkitgtk)))
5689 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5690 (synopsis "Photo manager for GNOME 3")
5692 "Shotwell is a digital photo manager designed for the GNOME desktop
5693 environment. It allows you to import photos from disk or camera, organize
5694 them by keywords and events, view them in full-window or fullscreen mode, and
5695 share them with others via social networking and more.")
5696 (license license:lgpl2.1+)))
5698 (define-public file-roller
5700 (name "file-roller")
5704 (uri (string-append "mirror://gnome/sources/file-roller/"
5705 (version-major+minor version) "/"
5706 "file-roller-" version ".tar.xz"))
5709 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5710 (build-system meson-build-system)
5712 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5713 ("intltool" ,intltool)
5714 ("itstool" ,itstool)
5715 ("pkg-config" ,pkg-config)
5716 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5717 ("glib:bin" ,glib "bin")))
5718 ;; TODO: Add libnautilus.
5721 ("gdk-pixbuf" ,gdk-pixbuf)
5722 ("json-glib" ,json-glib)
5723 ("libarchive" ,libarchive)
5724 ("libnotify" ,libnotify)
5726 ("libxml2" ,libxml2)))
5727 (synopsis "Graphical archive manager for GNOME")
5728 (description "File Roller is an archive manager for the GNOME desktop
5729 environment that allows users to view, unpack, and create compressed archives
5730 such as gzip tarballs.")
5731 (home-page "http://fileroller.sourceforge.net/")
5732 (license license:gpl2+)))
5734 (define-public gnome-session
5736 (name "gnome-session")
5740 (uri (string-append "mirror://gnome/sources/" name "/"
5741 (version-major+minor version) "/"
5742 name "-" version ".tar.xz"))
5745 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
5749 (modify-phases %standard-phases
5750 (add-before 'configure 'pre-configure
5751 (lambda* (#:key outputs #:allow-other-keys)
5752 ;; Use elogind instead of systemd.
5753 (substitute* "meson.build"
5754 (("libsystemd-login") "libelogind")
5755 (("and libsystemd_daemon_dep.found.*") ","))
5756 (substitute* "gnome-session/gsm-systemd.c"
5757 (("#include <systemd/sd-login.h>")
5758 "#include <elogind/sd-login.h>"))
5759 ;; Remove uses of the systemd daemon.
5760 (substitute* "gnome-session/gsm-autostart-app.c"
5761 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5763 (add-after 'install 'wrap-gnome-session
5764 (lambda* (#:key inputs outputs #:allow-other-keys)
5765 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5766 (let ((glib (assoc-ref inputs "glib:bin"))
5767 (out (assoc-ref outputs "out")))
5768 (wrap-program (string-append out "/bin/gnome-session")
5769 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5773 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5774 "-Dman=false" ; FIXME: disabled because of docbook validation error
5775 "-Dsystemd_journal=false")))
5776 (build-system meson-build-system)
5778 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5779 ("pkg-config" ,pkg-config)
5780 ("intltool" ,intltool)
5781 ("xsltproc" ,libxslt)
5782 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5783 ("docbook-xsl" ,docbook-xsl)
5784 ("docbook-xml" ,docbook-xml)
5787 `(("elogind" ,elogind)
5788 ("gnome-desktop" ,gnome-desktop)
5789 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5791 ("json-glib" ,json-glib)
5793 ("libxcomposite" ,libxcomposite)
5794 ("libxtst" ,libxtst)
5797 ("xtrans" ,xtrans)))
5798 (synopsis "Session manager for GNOME")
5800 "This package contains the GNOME session manager, as well as a
5801 configuration program to choose applications starting on login.")
5802 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5803 (license license:gpl2+)))
5811 (uri (string-append "mirror://gnome/sources/" name "/"
5812 (version-major+minor version) "/"
5813 name "-" version ".tar.xz"))
5816 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
5817 (build-system gnu-build-system)
5820 (modify-phases %standard-phases
5824 ;; The test suite requires a running X server.
5825 (system "Xvfb :1 &")
5826 (setenv "DISPLAY" ":1")
5828 ;; For the missing /etc/machine-id.
5829 (setenv "DBUS_FATAL_WARNINGS" "0")
5831 ;; Our mozjs-38 package does not compile the required Intl API
5832 ;; support for these failing tests.
5833 (substitute* "installed-tests/js/testLocale.js"
5834 ((".*toBeDefined.*") "")
5835 ((".*expect\\(datestr\\).*") ""))
5836 (substitute* "installed-tests/scripts/testCommandLine.sh"
5841 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5842 ("pkg-config" ,pkg-config)
5843 ("xmllint" ,libxml2)
5845 ("dbus-launch" ,dbus)
5846 ("uuidgen" ,util-linux)
5847 ("xvfb" ,xorg-server-for-tests)))
5849 ;; These are all in the Requires.private field of gjs-1.0.pc.
5851 ("gobject-introspection" ,gobject-introspection)
5852 ("mozjs" ,mozjs-60)))
5855 ("readline" ,readline)))
5856 (synopsis "Javascript bindings for GNOME")
5857 (home-page "https://live.gnome.org/Gjs")
5859 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5860 javascript engine and the GObject introspection framework.")
5861 (license license:gpl2+)))
5863 (define-public gedit
5869 (uri (string-append "mirror://gnome/sources/" name "/"
5870 (version-major+minor version) "/"
5871 name "-" version ".tar.xz"))
5874 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
5875 (build-system meson-build-system)
5879 ;; Otherwise, the RUNPATH will lack the final path component.
5880 (list (string-append "-Dc_link_args=-Wl,-rpath="
5881 (assoc-ref %outputs "out") "/lib/gedit"))
5883 ;; XXX: Generated .h files are sometimes used before being built.
5884 #:parallel-build? #f
5887 (modify-phases %standard-phases
5888 (add-after 'unpack 'skip-gtk-update-icon-cache
5889 ;; Don't create 'icon-theme.cache'.
5891 (substitute* "build-aux/meson/post_install.py"
5892 (("gtk-update-icon-cache") (which "true")))
5894 (add-after 'unpack 'patch-libgd-fetch
5895 (lambda* (#:key inputs #:allow-other-keys)
5896 (let ((libgd (assoc-ref inputs "libgd")))
5897 ;; Calling git is unnecessary because libgd is fetched as a
5898 ;; native input to this package.
5899 (substitute* "meson.build"
5901 (copy-recursively libgd "subprojects/libgd")
5903 (add-after 'install 'wrap-gedit
5904 (lambda* (#:key inputs outputs #:allow-other-keys)
5905 (let ((out (assoc-ref outputs "out"))
5906 (gtksourceview (assoc-ref inputs "gtksourceview"))
5907 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5908 (python-path (getenv "PYTHONPATH")))
5909 (wrap-program (string-append out "/bin/gedit")
5911 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5912 `("PYTHONPATH" ":" prefix (,python-path))
5913 ;; For language-specs.
5914 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5918 `(("dconf" ,dconf)))
5920 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5921 ("intltool" ,intltool)
5922 ("itstool" ,itstool)
5923 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5924 ("gobject-introspection" ,gobject-introspection)
5929 (url "https://gitlab.gnome.org/GNOME/libgd")
5930 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5931 (file-name (git-file-name "libgd" version))
5933 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
5934 ("pkg-config" ,pkg-config)))
5939 ("gtksourceview" ,gtksourceview)
5940 ("libpeas" ,libpeas)
5941 ("libxml2" ,libxml2)
5942 ("iso-codes" ,iso-codes)
5943 ("python-pygobject" ,python-pygobject)
5945 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5948 ("adwaita-icon-theme" ,adwaita-icon-theme)
5949 ("libsoup" ,libsoup)
5950 ("gnome-desktop" ,gnome-desktop)))
5951 (home-page "https://wiki.gnome.org/Apps/Gedit")
5952 (synopsis "GNOME text editor")
5953 (description "While aiming at simplicity and ease of use, gedit is a
5954 powerful general purpose text editor.")
5955 (license license:gpl2+)))
5957 (define-public zenity
5963 (uri (string-append "mirror://gnome/sources/zenity/"
5964 (version-major+minor version) "/"
5965 "zenity-" version ".tar.xz"))
5968 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
5969 (build-system gnu-build-system)
5971 `(("gettext" ,gettext-minimal)
5972 ("itstool" ,itstool)
5973 ("pkg-config" ,pkg-config)))
5975 `(("libnotify" ,libnotify)
5976 ("webkitgtk" ,webkitgtk)))
5977 (synopsis "Display graphical dialog boxes from shell scripts")
5978 (home-page "https://www.gnome.org")
5980 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5981 to display dialog boxes from the commandline and shell scripts.")
5982 (license license:lgpl2.0+)))
5984 (define-public mutter
5990 (uri (string-append "mirror://gnome/sources/" name "/"
5991 (version-major+minor version) "/"
5992 name "-" version ".tar.xz"))
5995 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
5996 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5997 ;; versions of cogl and clutter. As a result, many of the inputs,
5998 ;; propagated-inputs, and configure flags used in cogl and clutter are
5999 ;; needed here as well.
6000 (build-system meson-build-system)
6002 '(;; XXX: All mutter tests fail with the following error:
6003 ;; Settings schema 'org.gnome.mutter' is not installed
6007 ;; Otherwise, the RUNPATH will lack the final path component.
6008 (list (string-append "-Dc_link_args=-Wl,-rpath="
6009 (assoc-ref %outputs "out") "/lib:"
6010 (assoc-ref %outputs "out") "/lib/mutter-4")
6012 ;; The following flags are needed for the bundled clutter
6013 (string-append "-Dxwayland_path="
6014 (assoc-ref %build-inputs "xorg-server-xwayland")
6017 ;; the remaining flags are needed for the bundled cogl
6018 (string-append "-Dopengl_libname="
6019 (assoc-ref %build-inputs "mesa")
6022 (modify-phases %standard-phases
6023 (add-after 'unpack 'disable-werror
6025 ;; XXX: build fails with [-Werror]:
6026 ;; backends/meta-cursor-renderer.c:112:5: error:
6027 ;; implicit declaration of function ?roundf?
6028 (substitute* "meson.build"
6029 (("'-Werror=.*',") ""))
6031 ;; Replace references to systemd libraries to elogind references.
6032 (add-before 'configure 'use-elogind
6034 (substitute* (list "meson.build"
6035 "src/backends/native/meta-launcher.c"
6037 (("systemd") "elogind"))
6040 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6041 ("gobject-introspection" ,gobject-introspection)
6042 ("intltool" ,intltool)
6043 ("pkg-config" ,pkg-config)
6044 ("xorg-server" ,xorg-server-for-tests)
6046 ("autoconf" ,autoconf)
6047 ("automake" ,automake)
6048 ("libtool" ,libtool)))
6050 `(;; libmutter.pc refers to these:
6051 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6053 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6056 ("gdk-pixbuf" ,gdk-pixbuf)
6058 ("json-glib" ,json-glib)
6059 ("libinput" ,libinput)
6061 ("libxcomposite" ,libxcomposite)
6062 ("libxdamage" ,libxdamage)
6063 ("libxext" ,libxext)
6064 ("libxfixes" ,libxfixes)
6065 ("libxkbcommon" ,libxkbcommon)
6066 ("libxrandr" ,libxrandr)
6070 ("xinput" ,xinput)))
6072 `(("elogind" ,elogind)
6073 ("gnome-desktop" ,gnome-desktop)
6074 ("gnome-settings-daemon" ,gnome-settings-daemon)
6075 ("libcanberra-gtk" ,libcanberra)
6076 ("libgudev" ,libgudev)
6079 ("libwacom" ,libwacom)
6080 ("libxkbfile" ,libxkbfile)
6081 ("libxrandr" ,libxrandr)
6082 ("libxtst" ,libxtst)
6083 ("pipewire" ,pipewire)
6084 ("startup-notification" ,startup-notification)
6085 ("upower-glib" ,upower)
6086 ("xkeyboard-config" ,xkeyboard-config)
6087 ("xorg-server-xwayland" ,xorg-server-xwayland)
6088 ("zenity" ,zenity)))
6089 (synopsis "Window and compositing manager")
6090 (home-page "https://www.gnome.org")
6092 "Mutter is a window and compositing manager that displays and manages your
6093 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6094 Clutter toolkit with solid window-management logic inherited from the Metacity
6096 (license license:gpl2+)))
6098 (define-public gnome-online-accounts
6100 (name "gnome-online-accounts")
6104 (uri (string-append "mirror://gnome/sources/" name "/"
6105 (version-major+minor version) "/"
6106 name "-" version ".tar.xz"))
6109 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6110 (outputs '("out" "lib"))
6111 (build-system glib-or-gtk-build-system)
6114 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6116 (modify-phases %standard-phases
6117 (add-before 'configure 'patch-libgoa-output
6118 (lambda* (#:key outputs #:allow-other-keys)
6119 (let ((lib (assoc-ref outputs "lib")))
6120 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6122 (("@exec_prefix@") lib)
6123 (("@libdir@") (string-append lib "/lib"))
6124 (("@includedir@") (string-append lib "/include"))
6125 (("@datadir@") (string-append lib "/share")))
6126 ;; Make sure gobject-introspection knows about the output
6127 ;; too (see <https://bugs.gnu.org/36535>).
6128 (setenv "outputs" "out lib")
6131 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6132 ("gobject-introspection" ,gobject-introspection)
6133 ("intltool" ,intltool)
6134 ("pkg-config" ,pkg-config)
6136 ("xsltproc" ,libxslt)))
6138 `(("glib" ,glib) ; required by goa-1.0.pc
6139 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6141 `(("docbook-xsl" ,docbook-xsl)
6142 ("json-glib" ,json-glib)
6143 ("libsecret" ,libsecret)
6145 ("webkitgtk" ,webkitgtk)))
6146 (synopsis "Single sign-on framework for GNOME")
6147 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6149 "GNOME Online Accounts provides interfaces so that applications and
6150 libraries in GNOME can access the user's online accounts. It has providers for
6151 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6152 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6153 (license license:lgpl2.0+)))
6155 (define-public evolution-data-server
6157 (name "evolution-data-server")
6161 (uri (string-append "mirror://gnome/sources/" name "/"
6162 (version-major+minor version) "/"
6163 name "-" version ".tar.xz"))
6164 (patches (search-patches "evolution-data-server-locales.patch"
6165 "evolution-data-server-libical-compat.patch"))
6168 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
6169 (build-system cmake-build-system)
6172 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6173 (runpaths (map (lambda (s)
6174 (string-append lib "/evolution-data-server/" s))
6175 '("addressbook-backends" "calendar-backends"
6176 "camel-providers" "credential-modules"
6177 "registry-modules"))))
6178 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6179 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6180 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6181 "-DENABLE_VALA_BINDINGS=ON"
6182 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6183 (string-append lib "/evolution-data-server;")
6184 (string-join runpaths ";"))
6185 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6187 (modify-phases %standard-phases
6188 (add-after 'unpack 'disable-failing-tests
6190 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6191 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6192 (delete-file-recursively "tests/book-migration")
6193 (substitute* "tests/CMakeLists.txt"
6194 (("add_subdirectory\\(book-migration\\)") ""))
6195 ;; tests/libebook/client/test-book-client-view-operations:8077):
6196 ;; e-data-server-WARNING **:
6197 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6198 ;; runtime check failed:
6199 ;; (!g_main_context_pending (closure->main_context))
6200 (substitute* "tests/libebook/client/CMakeLists.txt"
6201 (("test-book-client-view-operations") ""))
6203 (add-after 'unpack 'patch-paths
6205 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6206 "tests/libedata-book/data-test-utils.c"
6207 "tests/libedata-book/test-book-cache-utils.c"
6208 "tests/libedata-cal/test-cal-cache-utils.c")
6209 (("/bin/rm") (which "rm")))
6211 (add-before 'configure 'dont-override-rpath
6213 (substitute* "CMakeLists.txt"
6214 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6215 ;; Remove it so the configure flag is respected.
6216 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6219 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6220 ("gobject-introspection" ,gobject-introspection)
6222 ("intltool" ,intltool)
6223 ("pkg-config" ,pkg-config)
6225 ("python" ,python-wrapper)))
6227 ;; These are all in the Requires field of .pc files.
6229 ("libical" ,libical)
6230 ("libsecret" ,libsecret)
6231 ("libsoup" ,libsoup)
6233 ("sqlite" ,sqlite)))
6237 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6238 ("json-glib" ,json-glib)
6239 ("libcanberra" ,libcanberra)
6240 ("libgweather" ,libgweather)
6241 ("mit-krb5" ,mit-krb5)
6242 ("openldap" ,openldap)
6243 ("webkitgtk" ,webkitgtk)))
6244 (synopsis "Store address books and calendars")
6245 (home-page "https://wiki.gnome.org/Apps/Evolution")
6247 "This package provides a unified backend for programs that work with
6248 contacts, tasks, and calendar information. It was originally developed for
6249 Evolution (hence the name), but is now used by other packages as well.")
6250 (license license:lgpl2.0)))
6252 (define-public caribou
6258 (uri (string-append "mirror://gnome/sources/" name "/"
6259 (version-major+minor version) "/"
6260 name "-" version ".tar.xz"))
6263 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6264 (build-system glib-or-gtk-build-system)
6267 (modify-phases %standard-phases
6270 (lambda* (#:key outputs #:allow-other-keys)
6271 (let ((out (assoc-ref outputs "out")))
6272 ;; Use absolute shared library path in Caribou-1.0.typelib.
6273 (substitute* "libcaribou/Makefile"
6274 (("--shared-library=libcaribou.so")
6275 (string-append "--shared-library="
6276 out "/lib/libcaribou.so")))
6278 (add-after 'install 'wrap-programs
6279 (lambda* (#:key outputs #:allow-other-keys)
6280 (let* ((out (assoc-ref outputs "out"))
6281 (python-path (getenv "PYTHONPATH"))
6282 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6286 `("PYTHONPATH" ":" prefix (,python-path))
6287 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6288 (list (string-append out "/bin/caribou-preferences")
6289 (string-append out "/libexec/antler-keyboard"))))
6292 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6293 ("gobject-introspection" ,gobject-introspection)
6294 ("intltool" ,intltool)
6295 ("pkg-config" ,pkg-config)
6298 ("xsltproc" ,libxslt)))
6300 ;; caribou-1.0.pc refers to all these.
6301 `(("libgee" ,libgee)
6302 ("libxklavier" ,libxklavier)
6303 ("libxtst" ,libxtst)
6306 `(("clutter" ,clutter)
6309 ("python-pygobject" ,python-pygobject)))
6310 (synopsis "Text entry and UI navigation application")
6311 (home-page "https://wiki.gnome.org/Projects/Caribou")
6313 "Caribou is an input assistive technology intended for switch and pointer
6315 (license license:lgpl2.1)))
6317 (define-public network-manager
6319 (name "network-manager")
6323 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6324 (version-major+minor version) "/"
6325 "NetworkManager-" version ".tar.xz"))
6326 (patches (search-patches "nm-plugin-path.patch"))
6329 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6330 (modules '((guix build utils)))
6333 (substitute* "src/devices/wwan/nm-modem-manager.c"
6334 (("systemd") "elogind"))
6336 (build-system gnu-build-system)
6338 "doc")) ; 8 MiB of gtk-doc HTML
6341 (let ((out (assoc-ref %outputs "out"))
6342 (doc (assoc-ref %outputs "doc"))
6343 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6345 (list "--with-libnm-glib" ; needed by network-manager-applet
6346 "--with-systemd-journal=no"
6347 "--with-session-tracking=elogind"
6348 "--with-suspend-resume=elogind"
6349 "--with-consolekit=no"
6350 "--with-crypto=gnutls"
6351 "--disable-config-plugin-ibft"
6353 "--localstatedir=/var"
6354 (string-append "--with-udev-dir="
6356 (string-append "--with-dbus-sys-dir="
6357 out "/etc/dbus-1/system.d")
6358 (string-append "--with-html-dir="
6359 doc "/share/gtk-doc/html")
6360 (string-append "--with-dhclient=" dhclient)))
6362 (modify-phases %standard-phases
6363 ;; This bare "ls" invocation breaks some tests.
6364 (add-after 'unpack 'patch-ls-invocation
6366 (substitute* "build-aux/ltmain.sh"
6368 (string-append "`" (which "ls") " -")))
6370 (add-before 'configure 'pre-configure
6372 ;; These tests try to test aspects of network-manager's
6373 ;; functionality within restricted containers, but they don't
6374 ;; cope with being already in the Guix build jail as that jail
6375 ;; lacks some features that they would like to proxy over (like
6377 (substitute* '("Makefile.in")
6378 (("src/platform/tests/test-address-linux") " ")
6379 (("src/platform/tests/test-cleanup-linux") " ")
6380 (("src/platform/tests/test-link-linux") " ")
6381 (("src/platform/tests/test-route-linux") " ")
6382 (("src/devices/tests/test-acd") "")
6383 (("src/devices/tests/test-arping") " ")
6384 (("src/devices/tests/test-lldp") " ")
6385 (("src/tests/test-route-manager-linux") " "))
6387 (add-after 'unpack 'delete-failing-tests
6389 ;; FIXME: These three tests fail for unknown reasons.
6390 ;; ERROR:libnm-core/tests/test-general.c:5842:
6391 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6392 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6393 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6394 ;; ERROR:libnm-core/tests/test-setting.c:907:
6395 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6396 (substitute* "Makefile.in"
6397 (("libnm-core/tests/test-general") " ")
6398 (("libnm-core/tests/test-keyfile") " ")
6399 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6401 (add-before 'check 'pre-check
6403 ;; For the missing /etc/machine-id.
6404 (setenv "DBUS_FATAL_WARNINGS" "0")
6406 ;; XXX: Regenerate some of the tests that are dependent on Python version.
6407 ;; Try removing this variable for newer versions of NetworkManager.
6408 (setenv "NM_TEST_REGENERATE" "1")
6416 "nmstatedir=/tmp/nm"
6422 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6423 ("gobject-introspection" ,gobject-introspection)
6424 ("docbook-xsl" ,docbook-xsl)
6425 ("intltool" ,intltool)
6426 ("libxslt" ,libxslt)
6427 ("libxml2" ,libxml2)
6428 ("pkg-config" ,pkg-config)
6430 ("python" ,python-wrapper)
6431 ("python-dbus" ,python-dbus)
6432 ("python-pygobject" ,python-pygobject)))
6434 `(("coreutils" ,coreutils) ; for ls
6436 ("cyrus-sasl" ,cyrus-sasl)
6437 ("dbus-glib" ,dbus-glib)
6438 ("dnsmasq" ,dnsmasq)
6441 ("iptables" ,iptables)
6442 ("isc-dhcp" ,isc-dhcp)
6443 ("jansson" ,jansson)
6444 ("libgcrypt" ,libgcrypt)
6445 ("libgudev" ,libgudev)
6448 ("libsoup" ,libsoup)
6449 ("modem-manager" ,modem-manager)
6450 ("newt" ,newt) ;for the 'nmtui' console interface
6453 ("readline" ,readline)
6454 ("util-linux" ,util-linux)
6455 ("elogind" ,elogind)))
6456 (synopsis "Network connection manager")
6457 (home-page "https://www.gnome.org/projects/NetworkManager/")
6459 "NetworkManager is a system network service that manages your network
6460 devices and connections, attempting to keep active network connectivity when
6461 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6462 devices, and provides VPN integration with a variety of different VPN
6464 (license license:gpl2+)
6465 (properties '((upstream-name . "NetworkManager")))))
6467 (define-public network-manager-openvpn
6469 (name "network-manager-openvpn")
6470 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6475 "mirror://gnome/sources/NetworkManager-openvpn/"
6476 (version-major+minor version)
6477 "/NetworkManager-openvpn-" version ".tar.xz"))
6480 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6481 (build-system gnu-build-system)
6483 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6485 (modify-phases %standard-phases
6486 (add-after 'configure 'patch-path
6487 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6488 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6490 (modprobe (string-append (assoc-ref inputs "kmod")
6492 (pretty-ovpn (string-append "\"" ovpn "\"")))
6496 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6497 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6498 (("\"/sbin/openvpn\"") pretty-ovpn)
6499 (("/sbin/modprobe") modprobe)))
6500 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6503 `(("pkg-config" ,pkg-config)
6504 ("intltool" ,intltool)))
6508 ("openvpn" ,openvpn)
6509 ("network-manager" ,network-manager)
6510 ("network-manager-applet" ,network-manager-applet) ;for libnma
6511 ("libsecret" ,libsecret)))
6512 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6513 (synopsis "OpenVPN plug-in for NetworkManager")
6515 "This extension of NetworkManager allows it to take care of connections
6516 to virtual private networks (VPNs) via OpenVPN.")
6517 (license license:gpl2+)
6518 (properties `((upstream-name . "NetworkManager-openvpn")))))
6520 (define-public network-manager-vpnc
6522 (name "network-manager-vpnc")
6527 "mirror://gnome/sources/NetworkManager-vpnc/"
6528 (version-major+minor version)
6529 "/NetworkManager-vpnc-" version ".tar.xz"))
6532 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6533 (build-system gnu-build-system)
6535 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6537 (modify-phases %standard-phases
6538 (add-after 'configure 'patch-path
6539 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6540 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6542 (modprobe (string-append (assoc-ref inputs "kmod")
6544 (pretty-ovpn (string-append "\"" vpnc "\"")))
6545 (substitute* "src/nm-vpnc-service.c"
6546 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6547 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6548 (("\"/sbin/vpnc\"") pretty-ovpn)
6549 (("/sbin/modprobe") modprobe)))
6552 `(("pkg-config" ,pkg-config)
6553 ("intltool" ,intltool)))
6558 ("network-manager" ,network-manager)
6559 ("network-manager-applet" ,network-manager-applet) ;for libnma
6560 ("libsecret" ,libsecret)))
6561 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6562 (synopsis "VPNC plug-in for NetworkManager")
6564 "Support for configuring virtual private networks based on VPNC.
6565 Compatible with Cisco VPN concentrators configured to use IPsec.")
6566 (license license:gpl2+)
6567 (properties `((upstream-name . "NetworkManager-vpnc")))))
6569 (define-public network-manager-openconnect
6571 (name "network-manager-openconnect")
6576 "mirror://gnome/sources/NetworkManager-openconnect/"
6577 (version-major+minor version)
6578 "/NetworkManager-openconnect-" version ".tar.xz"))
6581 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6582 (build-system gnu-build-system)
6584 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6586 (modify-phases %standard-phases
6587 (add-after 'configure 'patch-path
6588 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6589 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6590 "/sbin/openconnect"))
6591 (modprobe (string-append (assoc-ref inputs "kmod")
6593 (pretty-ovpn (string-append "\"" openconnect "\"")))
6594 (substitute* "src/nm-openconnect-service.c"
6595 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6596 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6597 (("/sbin/modprobe") modprobe)))
6600 `(("intltool" ,intltool)
6601 ("network-manager-applet" ,network-manager-applet) ;for libnma
6602 ("pkg-config" ,pkg-config)))
6607 ("libsecret" ,libsecret)
6608 ("libxml2" ,libxml2)
6609 ("network-manager" ,network-manager)
6610 ("openconnect" ,openconnect)))
6611 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6612 (synopsis "OpenConnect plug-in for NetworkManager")
6614 "This extension of NetworkManager allows it to take care of connections
6615 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6616 Cisco's AnyConnect SSL VPN.")
6617 (license license:gpl2+)
6618 (properties `((upstream-name . "NetworkManager-openconnect")
6620 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6621 ;; file refers to account "nm-openconnect". Specify it here
6622 ;; so that 'network-manager-service-type' creates it.
6623 (user-accounts . ("nm-openconnect"))))))
6625 (define-public mobile-broadband-provider-info
6627 (name "mobile-broadband-provider-info")
6628 (version "20190116")
6632 "mirror://gnome/sources/"
6633 "mobile-broadband-provider-info/" version "/"
6634 "mobile-broadband-provider-info-" version ".tar.xz"))
6637 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6638 (build-system gnu-build-system)
6640 `(#:tests? #f)) ; no tests
6641 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6642 (synopsis "Database of broadband connection configuration")
6643 (description "Database of broadband connection configuration.")
6644 (license license:public-domain)))
6646 (define-public network-manager-applet
6648 (name "network-manager-applet")
6652 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6653 (version-major+minor version) "/"
6654 "network-manager-applet-" version ".tar.xz"))
6657 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6658 (build-system meson-build-system)
6661 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6662 (list "-Dlibnm_gtk=true")
6665 `(("intltool" ,intltool)
6666 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6667 ("gobject-introspection" ,gobject-introspection)
6668 ("gtk-doc" ,gtk-doc)
6669 ("pkg-config" ,pkg-config)))
6671 ;; libnm-gtk.pc refers to all these.
6672 `(("dbus-glib" ,dbus-glib)
6674 ("network-manager" ,network-manager)))
6677 ("iso-codes" ,iso-codes)
6678 ("libgudev" ,libgudev)
6679 ("libnotify" ,libnotify)
6680 ("libsecret" ,libsecret)
6681 ("libselinux" ,libselinux)
6682 ("jansson" ,jansson) ; for team support
6683 ("modem-manager" ,modem-manager)
6684 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6685 (synopsis "Applet for managing network connections")
6686 (home-page "https://www.gnome.org/projects/NetworkManager/")
6688 "This package contains a systray applet for NetworkManager. It displays
6689 the available networks and allows users to easily switch between them.")
6690 (license license:gpl2+)))
6692 (define-public libxml++
6698 (uri (string-append "mirror://gnome/sources/" name "/"
6699 (version-major+minor version) "/"
6700 name "-" version ".tar.xz"))
6703 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6704 (build-system gnu-build-system)
6705 ;; libxml++-3.0.pc refers to all these.
6707 `(("libxml2" ,libxml2)
6708 ("glibmm" ,glibmm)))
6711 ("pkg-config" ,pkg-config)))
6712 (home-page "http://libxmlplusplus.sourceforge.net/")
6713 (synopsis "C++ wrapper for XML parser library libxml2")
6715 "This package provides a C++ wrapper for the XML parser library
6717 (license license:lgpl2.1+)))
6719 (define-public libxml++-2
6726 (uri (string-append "mirror://gnome/sources/" name "/"
6727 (version-major+minor version) "/"
6728 name "-" version ".tar.xz"))
6731 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6739 (uri (string-append "mirror://gnome/sources/" name "/"
6740 (version-major+minor version) "/"
6741 name "-" version ".tar.xz"))
6744 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))
6745 (patches (search-patches "gdm-default-session.patch"))))
6746 (build-system glib-or-gtk-build-system)
6749 `("--without-plymouth"
6750 "--disable-systemd-journal"
6752 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6753 ;; instead of having to replace it (i.e., stopping the mingetty
6754 ;; service for TTY 1 before starting GDM).
6755 "--with-initial-vt=7"
6757 ;; Use '/etc/environment' for locale settings instead of the
6758 ;; systemd-specific '/etc/locale.conf'.
6759 "--with-lang-file=/etc/environment"
6761 ,(string-append "--with-udevdir="
6762 (assoc-ref %outputs "out") "/lib/udev")
6764 "--localstatedir=/var"
6765 ,(string-append "--with-default-path="
6766 (string-join '("/run/setuid-programs"
6767 "/run/current-system/profile/bin"
6768 "/run/current-system/profile/sbin")
6770 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6771 ;; XDG_DATA_DIRS so that it finds its schemas.
6772 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6774 (modify-phases %standard-phases
6776 'configure 'pre-configure
6777 (lambda* (#:key inputs outputs #:allow-other-keys)
6778 ;; We don't have <systemd/sd-daemon.h>.
6779 (substitute* '("common/gdm-log.c"
6780 "daemon/gdm-server.c"
6781 "daemon/gdm-session-worker.c"
6782 "daemon/gdm-session-worker-job.c")
6783 (("#include <systemd/sd-daemon\\.h>") ""))
6784 ;; Use elogind for sd-login.
6785 (substitute* '("common/gdm-common.c"
6786 "daemon/gdm-manager.c"
6787 "libgdm/gdm-user-switching.c")
6788 (("#include <systemd/sd-login\\.h>")
6789 "#include <elogind/sd-login.h>"))
6790 ;; Check for elogind.
6791 (substitute* '("configure")
6794 ;; Look for system-installed sessions in
6795 ;; /run/current-system/profile/share.
6796 (substitute* '("libgdm/gdm-sessions.c"
6797 "daemon/gdm-session.c"
6798 "daemon/gdm-display.c"
6799 "daemon/gdm-launch-environment.c")
6801 "\"/run/current-system/profile/share/x")
6802 (("DATADIR \"/wayland")
6803 "\"/run/current-system/profile/share/wayland")
6804 (("DATADIR \"/gnome")
6805 "\"/run/current-system/profile/share/gnome"))
6806 (let ((propagate '("GDM_CUSTOM_CONF"
6810 ;; XXX: Remove this once GNOME Shell is
6811 ;; a dependency of GDM.
6813 (substitute* "daemon/gdm-session.c"
6814 (("set_up_session_environment \\(self\\);")
6815 (apply string-append
6816 "set_up_session_environment (self);\n"
6819 "gdm_session_set_environment_variable "
6820 "(self, \"" name "\","
6821 "g_getenv (\"" name "\"));\n"))
6823 ;; Find the configuration file using an environment variable.
6824 (substitute* '("common/gdm-settings.c")
6825 (("GDM_CUSTOM_CONF")
6826 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6827 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6828 " : GDM_CUSTOM_CONF)")))
6829 ;; Use service-supplied path to X.
6830 (substitute* '("daemon/gdm-server.c")
6831 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6832 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6833 (substitute* '("daemon/gdm-x-session.c")
6834 (("\"dbus-daemon\"")
6835 "g_getenv (\"GDM_DBUS_DAEMON\")")
6837 "g_getenv (\"GDM_X_SERVER\")")
6838 (("GDMCONFDIR \"/Xsession\"")
6839 "g_getenv (\"GDM_X_SESSION\")"))
6840 ;; Use an absolute path for GNOME Session.
6841 (substitute* "daemon/gdm-launch-environment.c"
6842 (("\"gnome-session\"")
6843 (string-append "\"" (assoc-ref inputs "gnome-session")
6844 "/bin/gnome-session\"")))
6845 ;; Do not automatically select the placeholder session.
6846 (substitute* "daemon/gdm-session.c"
6847 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6848 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6849 "(g_strcmp0(search_dirs[i], \""
6850 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6852 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6853 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6854 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6856 ;; GDM requires that there be at least one desktop entry
6857 ;; file. This phase installs a hidden one that simply
6858 ;; fails. This enables users to use GDM with a
6859 ;; '~/.xsession' script with no other desktop entry files.
6860 ;; See <https://bugs.gnu.org/35068>.
6861 (add-after 'install 'install-placeholder-desktop-entry
6862 (lambda* (#:key inputs outputs #:allow-other-keys)
6863 (let* ((out (assoc-ref outputs "out"))
6864 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6865 (fail (string-append sessions "/fail.desktop")))
6867 (with-output-to-file fail
6871 '("[Desktop Entry]\n"
6873 "Type=Application\n"
6875 "Comment=This session fails immediately.\n"
6879 ;; GDM needs GNOME Session to run these applications. We link
6880 ;; their autostart files in `share/gdm/greeter/autostart'
6881 ;; because GDM explicitly tells GNOME Session to look there.
6883 ;; XXX: GNOME Shell should be linked here too, but currently
6884 ;; GNOME Shell depends on GDM.
6885 (add-after 'install 'link-autostart-files
6886 (lambda* (#:key inputs outputs #:allow-other-keys)
6887 (let* ((out (assoc-ref outputs "out"))
6888 (autostart (string-append out "/share/gdm/"
6889 "greeter/autostart"))
6890 (settings (assoc-ref inputs "gnome-settings-daemon")))
6892 (with-directory-excursion autostart
6893 (for-each (lambda (desktop)
6894 (symlink desktop (basename desktop)))
6895 (find-files (string-append settings "/etc/xdg"))))
6899 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6900 ("gobject-introspection" ,gobject-introspection)
6901 ("intltool" ,intltool)
6902 ("itstool" ,itstool)
6903 ("pkg-config" ,pkg-config)
6904 ("xmllint" ,libxml2)))
6906 `(("accountsservice" ,accountsservice)
6907 ("check" ,check) ; for testing
6908 ("elogind" ,elogind)
6909 ("gnome-session" ,gnome-session)
6910 ("gnome-settings-daemon" ,gnome-settings-daemon)
6912 ("iso-codes" ,iso-codes)
6913 ("libcanberra" ,libcanberra)
6914 ("linux-pam" ,linux-pam)))
6915 (synopsis "Display manager for GNOME")
6916 (home-page "https://wiki.gnome.org/Projects/GDM/")
6918 "GNOME Display Manager is a system service that is responsible for
6919 providing graphical log-ins and managing local and remote displays.")
6920 (license license:gpl2+)))
6922 (define-public libgtop
6928 (uri (string-append "mirror://gnome/sources/libgtop/"
6929 (version-major+minor version) "/"
6930 "libgtop-" version ".tar.xz"))
6933 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6934 (build-system gnu-build-system)
6936 `(("gobject-introspection" ,gobject-introspection)
6937 ("intltool" ,intltool)
6939 ("pkg-config" ,pkg-config)))
6941 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6942 (synopsis "Portable system access library")
6943 (home-page "https://www.gnome.org/")
6945 "LibGTop is a library to get system specific data such as CPU and memory
6946 usage and information about running processes.")
6947 (license license:gpl2+)))
6949 (define-public gnome-bluetooth
6951 (name "gnome-bluetooth")
6955 (uri (string-append "mirror://gnome/sources/" name "/"
6956 (version-major+minor version) "/"
6957 name "-" version ".tar.xz"))
6960 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
6961 (build-system meson-build-system)
6963 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
6964 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6965 ("gobject-introspection" ,gobject-introspection)
6966 ("intltool" ,intltool)
6967 ("pkg-config" ,pkg-config)
6968 ("xmllint" ,libxml2)))
6970 ;; gnome-bluetooth-1.0.pc refers to all these.
6975 ("libcanberra" ,libcanberra)
6976 ("libnotify" ,libnotify)))
6977 (synopsis "GNOME Bluetooth subsystem")
6978 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6980 "This package contains tools for managing and manipulating Bluetooth
6981 devices using the GNOME desktop.")
6982 (license license:lgpl2.1+)))
6984 (define-public gnome-control-center
6986 (name "gnome-control-center")
6990 (uri (string-append "mirror://gnome/sources/" name "/"
6991 (version-major+minor version) "/"
6992 name "-" version ".tar.xz"))
6995 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
6996 (build-system meson-build-system)
7000 (list "-Dcheese=false"
7001 (string-append "-Dgnome_session_libexecdir="
7002 (assoc-ref %build-inputs "gnome-session")
7005 (modify-phases %standard-phases
7006 (add-before 'configure 'patch-paths
7007 (lambda* (#:key inputs #:allow-other-keys)
7008 (let ((libc (assoc-ref inputs "libc"))
7009 (tzdata (assoc-ref inputs "tzdata"))
7010 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7011 (nm-applet (assoc-ref inputs "network-manager-applet"))
7012 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7013 (substitute* "panels/datetime/tz.h"
7014 (("/usr/share/zoneinfo/zone.tab")
7015 (string-append tzdata "/share/zoneinfo/zone.tab")))
7016 (substitute* "tests/datetime/test-endianess.c"
7017 (("/usr/share/locale")
7018 (string-append libc "/share/locale")))
7019 (substitute* "panels/region/cc-region-panel.c"
7020 (("\"gkbd-keyboard-display")
7021 (string-append "\"" libgnomekbd
7022 "/bin/gkbd-keyboard-display")))
7023 (substitute* '("panels/network/net-device-wifi.c"
7024 "panels/network/net-device.c"
7025 "panels/network/connection-editor/net-connection-editor.c")
7026 (("\"nm-connection-editor")
7027 (string-append "\"" nm-applet
7028 "/bin/nm-connection-editor")))
7029 (substitute* '("panels/user-accounts/run-passwd.c")
7030 (("/usr/bin/passwd")
7031 "/run/setuid-programs/passwd"))
7032 (substitute* "panels/info/cc-info-overview-panel.c"
7033 (("DATADIR \"/gnome/gnome-version.xml\"")
7034 (string-append "\"" gnome-desktop
7035 "/share/gnome/gnome-version.xml\"")))
7038 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7039 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7040 ("intltool" ,intltool)
7041 ("pkg-config" ,pkg-config)
7042 ("xsltproc" ,libxslt)
7044 ("hicolor-icon-theme" ,hicolor-icon-theme)
7045 ("python-dbusmock" ,python-dbusmock)
7046 ("xorg-server" ,xorg-server-for-tests)))
7048 `(("accountsservice" ,accountsservice)
7049 ("clutter-gtk" ,clutter-gtk)
7050 ("colord-gtk" ,colord-gtk)
7053 ("docbook-xsl" ,docbook-xsl)
7054 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7055 ("gnome-bluetooth" ,gnome-bluetooth)
7056 ("gnome-desktop" ,gnome-desktop)
7057 ("gnome-online-accounts" ,gnome-online-accounts)
7058 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7059 ("gnome-session" ,gnome-session)
7060 ("gnome-settings-daemon" ,gnome-settings-daemon)
7064 ("libcanberra" ,libcanberra)
7065 ("libgnomekbd" ,libgnomekbd)
7066 ("libgudev" ,libgudev)
7067 ("libgtop" ,libgtop)
7068 ("libpwquality" ,libpwquality)
7069 ("libsecret" ,libsecret)
7070 ("libsoup" ,libsoup)
7071 ("libxml2" ,libxml2)
7072 ("libwacom" ,libwacom)
7074 ("mit-krb5" ,mit-krb5)
7075 ("modem-manager" ,modem-manager)
7076 ("network-manager-applet" ,network-manager-applet)
7078 ("pulseaudio" ,pulseaudio)
7079 ("smbclient" ,samba)
7082 ("upower" ,upower)))
7083 (synopsis "Utilities to configure the GNOME desktop")
7084 (home-page "https://www.gnome.org/")
7086 "This package contains configuration applets for the GNOME desktop,
7087 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7088 properties, sound setup, desktop theme and background, user interface
7089 properties, screen resolution, and other GNOME parameters.")
7090 (license license:gpl2+)))
7092 (define-public gnome-shell
7094 (name "gnome-shell")
7098 (uri (string-append "mirror://gnome/sources/" name "/"
7099 (version-major+minor version) "/"
7100 name "-" version ".tar.xz"))
7103 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
7104 (patches (search-patches "gnome-shell-theme.patch"))
7105 (modules '((guix build utils)))
7108 ;; Copy images for use on the GDM log-in screen.
7109 (copy-file #$(file-append %artwork-repository
7110 "/slim/0.x/background.png")
7111 "data/theme/guix-background.png")
7112 (copy-file #$(file-append %artwork-repository
7113 "/logo/Guix-horizontal-white.svg")
7114 "data/theme/guix-logo.svg")
7116 (build-system meson-build-system)
7119 #:disallowed-references ((,glib "bin")
7123 (list "-Dsystemd=false"
7124 ;; Otherwise, the RUNPATH will lack the final path component.
7125 (string-append "-Dc_link_args=-Wl,-rpath="
7126 (assoc-ref %outputs "out")
7127 "/lib/gnome-shell"))
7129 #:modules ((guix build meson-build-system)
7134 (modify-phases %standard-phases
7135 (add-after 'unpack 'fix-keysdir
7136 (lambda* (#:key outputs #:allow-other-keys)
7137 (let* ((out (assoc-ref outputs "out"))
7138 (keysdir (string-append
7139 out "/share/gnome-control-center/keybindings")))
7140 (substitute* "meson.build"
7142 (string-append "keysdir = '" keysdir "'\n")))
7144 (add-before 'configure 'convert-logo-to-png
7145 (lambda* (#:key inputs #:allow-other-keys)
7146 ;; Convert the logo from SVG to PNG.
7147 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7148 "data/theme/guix-logo.svg")))
7149 (add-before 'configure 'record-absolute-file-names
7150 (lambda* (#:key inputs #:allow-other-keys)
7151 (substitute* "js/misc/ibusManager.js"
7153 (string-append "'" (assoc-ref inputs "ibus")
7154 "/bin/ibus-daemon'")))
7155 (substitute* "js/ui/status/keyboard.js"
7156 (("'gkbd-keyboard-display'")
7157 (string-append "'" (assoc-ref inputs "libgnomekbd")
7158 "/bin/gkbd-keyboard-display'")))
7160 (add-before 'check 'pre-check
7161 (lambda* (#:key inputs #:allow-other-keys)
7162 ;; Tests require a running X server.
7163 (system "Xvfb :1 &")
7164 (setenv "DISPLAY" ":1")
7166 (add-after 'install 'wrap-programs
7167 (lambda* (#:key inputs outputs #:allow-other-keys)
7168 (let ((out (assoc-ref outputs "out"))
7169 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7170 (python-path (getenv "PYTHONPATH")))
7171 (wrap-program (string-append out "/bin/gnome-shell")
7172 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7173 ;; FIXME: gnome-shell loads these libraries with unqualified
7174 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7175 ;; alternative might be to patch gnome-shell.
7176 `("LD_LIBRARY_PATH" ":" prefix
7178 (string-append (assoc-ref inputs pkg) "/lib"))
7180 "gnome-bluetooth" "librsvg" "libgweather"))))
7183 (wrap-program (string-append out "/bin/" prog)
7184 `("PYTHONPATH" ":" prefix (,python-path))
7185 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7186 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7188 (replace 'glib-or-gtk-wrap
7189 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7190 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7191 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7192 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7193 ;; phase. Fix that since we don't need these.
7194 (wrap #:inputs (fold alist-delete inputs
7195 '("inkscape" "intltool" "glib:bin"))
7196 #:outputs outputs)))))))
7198 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7199 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7200 ("gobject-introspection" ,gobject-introspection)
7201 ("inkscape" ,inkscape)
7202 ("intltool" ,intltool)
7203 ("pkg-config" ,pkg-config)
7205 ("ruby-sass" ,ruby-sass)
7207 ("xsltproc" ,libxslt)
7209 ("xorg-server" ,xorg-server-for-tests)))
7211 `(("accountsservice" ,accountsservice)
7212 ("caribou" ,caribou)
7213 ("docbook-xsl" ,docbook-xsl)
7214 ("evolution-data-server" ,evolution-data-server)
7217 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7219 ("gnome-bluetooth" ,gnome-bluetooth)
7220 ("gnome-desktop" ,gnome-desktop)
7221 ("gnome-settings-daemon" ,gnome-settings-daemon)
7222 ("gst-plugins-base" ,gst-plugins-base)
7224 ("libcanberra" ,libcanberra)
7225 ("libcroco" ,libcroco)
7226 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7227 ("libgweather" ,libgweather)
7228 ("libsoup" ,libsoup)
7229 ("mesa-headers" ,mesa-headers)
7231 ("network-manager-applet" ,network-manager-applet)
7233 ("pulseaudio" ,pulseaudio)
7234 ("python-pygobject" ,python-pygobject)
7235 ("startup-notification" ,startup-notification)
7236 ("telepathy-logger" ,telepathy-logger)
7238 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7239 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7240 ("librsvg" ,librsvg)
7241 ("geoclue" ,geoclue)))
7242 (synopsis "Desktop shell for GNOME")
7243 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7245 "GNOME Shell provides core user interface functions for the GNOME desktop,
7246 like switching to windows and launching applications.")
7247 (license license:gpl2+)))
7249 (define-public gtk-vnc
7256 (uri (string-append "mirror://gnome/sources/" name "/"
7257 (version-major+minor version) "/"
7258 name "-" version ".tar.xz"))
7261 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7262 (build-system gnu-build-system)
7264 '(#:configure-flags '("--with-gtk=3.0")))
7266 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7268 `(("cyrus-sasl" ,cyrus-sasl)
7270 ("libgcrypt" ,libgcrypt)
7271 ("pulseaudio" ,pulseaudio)))
7273 `(("glib:bin" ,glib "bin")
7274 ("gobject-introspection" ,gobject-introspection)
7275 ("intltool" ,intltool)
7276 ("pkg-config" ,pkg-config)
7277 ("python-wrapper" ,python-wrapper)
7279 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7280 (synopsis "VNC viewer widget for GTK+")
7282 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7283 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7284 GTK-VNC implements client side RFB protocol and authentication extensions such
7285 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7286 (license license:lgpl2.1+)))
7288 (define-public gnome-autoar
7290 (name "gnome-autoar")
7294 (uri (string-append "mirror://gnome/sources/" name "/"
7295 (version-major+minor version) "/"
7296 name "-" version ".tar.xz"))
7299 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
7300 (build-system glib-or-gtk-build-system)
7302 `(("gnome-common" ,gnome-common)
7303 ("gobject-introspection" ,gobject-introspection)
7304 ("pkg-config" ,pkg-config)))
7306 `(("libarchive" ,libarchive))) ; XXX document why
7309 (synopsis "Archives integration support for GNOME")
7310 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7312 "GNOME Autoar is a library which makes creating and extracting archives
7313 easy, safe, and automatic.")
7314 (license license:lgpl2.1+)))
7316 (define-public tracker
7322 (uri (string-append "mirror://gnome/sources/tracker/"
7323 (version-major+minor version) "/"
7324 "tracker-" version ".tar.xz"))
7327 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7328 (build-system meson-build-system)
7332 ;; Otherwise, the RUNPATH will lack the final path component.
7333 (list (string-append "-Dc_link_args=-Wl,-rpath="
7334 (assoc-ref %outputs "out") "/lib:"
7335 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7337 (modify-phases %standard-phases
7338 (add-before 'check 'pre-check
7340 ;; Some tests expect to write to $HOME.
7341 (setenv "HOME" "/tmp")
7344 `(("glib:bin" ,glib "bin")
7345 ("gobject-introspection" ,gobject-introspection)
7346 ("python-pygobject" ,python-pygobject)
7347 ("intltool" ,intltool)
7348 ("pkg-config" ,pkg-config)
7353 ("libxml2" ,libxml2)
7354 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7355 ("json-glib" ,json-glib)
7356 ("libsoup" ,libsoup)))
7357 (synopsis "Metadata database, indexer and search tool")
7358 (home-page "https://wiki.gnome.org/Projects/Tracker")
7360 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7362 It is a middleware component aimed at desktop application developers who want
7363 their apps to browse and search user content. It's not designed to be used
7364 directly by desktop users, but it provides a commandline tool named
7365 @command{tracker} for the adventurous.
7367 Tracker allows your application to instantly perform full-text searches across
7368 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7369 example. This is achieved by indexing the user's home directory in the
7372 Tracker also allows your application to query and list content that the user
7373 has stored. For example, GNOME Music displays all the music files that are
7374 found by Tracker. This means that GNOME Music doesn't need to maintain a
7375 database of its own.
7377 If you need to go beyond simple searches, Tracker is also a linked data
7378 endpoint and it understands SPARQL. ")
7379 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7380 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7381 ;; libstemmer is bsd-3 and the rest is gpl2+.
7382 (license (list license:gpl2+
7384 license:lgpl2.1+))))
7386 (define-public tracker-miners
7388 (name "tracker-miners")
7392 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7393 (version-major+minor version)
7394 "/tracker-miners-" version ".tar.xz"))
7397 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7398 (build-system meson-build-system)
7402 (list "-Dminer_rss=false" ; libgrss is required.
7403 ;; Ensure the RUNPATH contains all installed library locations.
7404 (string-append "-Dc_link_args=-Wl,-rpath="
7405 (assoc-ref %outputs "out")
7406 "/lib/tracker-miners-2.0")
7407 ;; TODO: Enable functional tests. Currently, the following error
7409 ;; Exception: The functional tests require DConf to be the default
7410 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7411 "-Dfunctional_tests=false")))
7414 ("intltool" ,intltool)
7415 ("glib:bin" ,glib "bin")
7416 ("gobject-introspection" ,gobject-introspection)
7417 ("pkg-config" ,pkg-config)
7418 ("python-pygobject" ,python-pygobject)))
7420 `(("exempi" ,exempi)
7425 ("gstreamer" ,gstreamer)
7428 ("libexif" ,libexif)
7430 ("libgxps" ,libgxps)
7431 ("libiptcdata" ,libiptcdata)
7432 ("libjpeg" ,libjpeg-turbo)
7433 ("libosinfo" ,libosinfo)
7435 ("libseccomp" ,libseccomp)
7436 ("libtiff" ,libtiff)
7437 ("libvorbis" ,libvorbis)
7438 ("libxml2" ,libxml2)
7439 ("poppler" ,poppler)
7441 ("totem-pl-parser" ,totem-pl-parser)
7442 ("tracker" ,tracker)
7445 (synopsis "Metadata database, indexer and search tool")
7446 (home-page "https://wiki.gnome.org/Projects/Tracker")
7448 "Tracker is an advanced framework for first class objects with associated
7449 metadata and tags. It provides a one stop solution for all metadata, tags,
7450 shared object databases, search tools and indexing.")
7451 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7452 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7453 (license (list license:gpl2+
7455 license:lgpl2.0+))))
7457 (define-public nautilus
7463 (uri (string-append "mirror://gnome/sources/" name "/"
7464 (version-major+minor version) "/"
7465 name "-" version ".tar.xz"))
7468 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
7469 (build-system meson-build-system)
7472 ;; XXX: FAIL: check-nautilus
7473 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7476 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7477 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7478 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7479 ("gobject-introspection" ,gobject-introspection)
7480 ("intltool" ,intltool)
7481 ("pkg-config" ,pkg-config)))
7487 ("gnome-desktop" ,gnome-desktop)
7488 ("gnome-autoar" ,gnome-autoar)
7489 ("gst-plugins-base" ,gst-plugins-base)
7490 ("libseccomp" ,libseccomp)
7491 ("libselinux" ,libselinux)
7492 ("tracker" ,tracker)
7493 ("tracker-miners" ,tracker-miners)
7494 ;; XXX: gtk+ is required by libnautilus-extension.pc
7496 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7498 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7500 ("libexif" ,libexif)
7501 ("libxml2" ,libxml2)))
7502 (synopsis "File manager for GNOME")
7503 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7505 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7506 design and behaviour, giving the user a simple way to navigate and manage its
7508 (license license:gpl2+)))
7510 (define-public baobab
7517 "mirror://gnome/sources/" name "/"
7518 (version-major+minor version) "/"
7519 name "-" version ".tar.xz"))
7522 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7523 (build-system meson-build-system)
7525 '(#:glib-or-gtk? #t))
7527 `(("intltool" ,intltool)
7528 ("pkg-config" ,pkg-config)
7529 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7530 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7531 ("itstool" ,itstool)
7532 ("xmllint" ,libxml2)
7533 ("glib" ,glib "bin")
7537 (synopsis "Disk usage analyzer for GNOME")
7539 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7540 usage in the GNOME desktop environment. It can easily scan device volumes or
7541 a specific user-requested directory branch (local or remote). Once the scan
7542 is complete it provides a graphical representation of each selected folder.")
7543 (home-page "https://wiki.gnome.org/Apps/Baobab")
7544 (license license:gpl2+)))
7546 (define-public gnome-backgrounds
7548 (name "gnome-backgrounds")
7553 (uri (string-append "mirror://gnome/sources/" name "/"
7554 (version-major+minor version) "/"
7555 name "-" version ".tar.xz"))
7558 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7559 (build-system meson-build-system)
7561 `(("intltool" ,intltool)))
7562 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7563 (synopsis "Background images for the GNOME desktop")
7565 "GNOME backgrounds package contains a collection of graphics files which
7566 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7567 the package creates the proper framework and directory structure so that you
7568 can add your own files to the collection.")
7569 (license (list license:gpl2+
7572 license:cc-by-sa3.0))))
7574 (define-public gnome-screenshot
7576 (name "gnome-screenshot")
7581 (uri (string-append "mirror://gnome/sources/" name "/"
7582 (version-major+minor version) "/"
7583 name "-" version ".tar.xz"))
7586 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
7587 (build-system meson-build-system)
7589 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7590 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7591 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7592 ("intltool" ,intltool)
7593 ("appstream-glib" ,appstream-glib)
7594 ("pkg-config" ,pkg-config)))
7597 ("libcanberra" ,libcanberra)
7599 ("libxext" ,libxext)))
7600 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7601 (synopsis "Take pictures of your screen")
7603 "GNOME Screenshot is a utility used for taking screenshots of the entire
7604 screen, a window or a user defined area of the screen, with optional
7605 beautifying border effects.")
7606 (license license:gpl2+)))
7608 (define-public dconf-editor
7610 (name "dconf-editor")
7615 (uri (string-append "mirror://gnome/sources/" name "/"
7616 (version-major+minor version) "/"
7617 name "-" version ".tar.xz"))
7620 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7621 (build-system meson-build-system)
7623 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7624 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7625 ("intltool" ,intltool)
7626 ("pkg-config" ,pkg-config)
7631 ("libxml2" ,libxml2)))
7632 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7633 (synopsis "Graphical editor for GNOME's dconf configuration system")
7635 "Dconf-editor is a graphical tool for browsing and editing the dconf
7636 configuration system for GNOME. It allows users to configure desktop
7637 software that do not provide their own configuration interface.")
7638 (license license:lgpl2.1+)))
7640 (define-public gnome-default-applications
7642 (name "gnome-default-applications")
7644 (build-system trivial-build-system)
7647 `(("nautilus" ,nautilus)
7648 ("evince" ,evince)))
7650 `(#:modules ((guix build utils))
7653 (use-modules (guix build utils))
7654 (let* ((out (assoc-ref %outputs "out"))
7655 (apps (string-append out "/share/applications")))
7657 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7659 (format port "[Default Applications]\n")
7660 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7661 (format port "application/pdf=evince.desktop\n")
7662 (format port "application/postscript=evince.desktop\n")))
7664 (synopsis "Default MIME type associations for the GNOME desktop")
7666 "Given many installed packages which might handle a given MIME type, a
7667 user running the GNOME desktop probably has some preferences: for example,
7668 that folders be opened by default by the Nautilus file manager, not the Baobab
7669 disk usage analyzer. This package establishes that set of default MIME type
7670 associations for GNOME.")
7671 (license license:gpl3+)
7674 (define-public libgovirt
7680 (uri (string-append "mirror://gnome/sources/" name "/"
7681 (version-major+minor version) "/"
7682 name "-" version ".tar.xz"))
7685 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7686 (build-system glib-or-gtk-build-system)
7688 `(("gettext" ,gettext-minimal)
7689 ("glib:bin" ,glib "bin")
7690 ("gobject-introspection" ,gobject-introspection)
7691 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7692 ("gtk+:bin" ,gtk+ "bin")
7693 ("pkg-config" ,pkg-config)))
7695 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7697 (synopsis "GoVirt Library")
7698 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7699 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7700 (license license:gpl2+)))
7702 (define-public gnome-weather
7704 (name "gnome-weather")
7708 (uri (string-append "mirror://gnome/sources/" name "/"
7709 (version-major+minor version) "/"
7710 name "-" version ".tar.xz"))
7713 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7714 (build-system meson-build-system)
7716 `(("gettext" ,gettext-minimal)
7717 ("glib:bin" ,glib "bin")
7718 ("gobject-introspection" ,gobject-introspection)
7719 ("gtk+:bin" ,gtk+ "bin")
7720 ("pkg-config" ,pkg-config)))
7722 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7723 ("appstream-glib" ,appstream-glib)
7724 ("geoclue" ,geoclue)
7725 ("gdk-pixbuf" ,gdk-pixbuf)
7727 ("gnome-desktop" ,gnome-desktop)
7728 ("libgweather" ,libgweather)))
7731 (modify-phases %standard-phases
7732 (add-after 'install 'fix-desktop-file
7733 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7734 ;; See https://issues.guix.gnu.org/issue/39324.
7735 (lambda* (#:key outputs #:allow-other-keys)
7736 (let* ((out (assoc-ref outputs "out"))
7737 (applications (string-append out "/share/applications")))
7738 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7739 (("Exec=.*") "Exec=gnome-weather\n"))))))))
7740 (synopsis "Weather monitoring for GNOME desktop")
7741 (description "GNOME Weather is a small application that allows you to
7742 monitor the current weather conditions for your city, or anywhere in the
7744 (home-page "https://wiki.gnome.org/Apps/Weather")
7745 (license license:gpl2+)))
7747 (define-public gnome
7750 (version (package-version gnome-shell))
7752 (build-system trivial-build-system)
7753 (arguments '(#:builder (begin (mkdir %output) #t)))
7755 ;; TODO: Add or remove packages according to:
7756 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7758 ;; GNOME-Core-OS-Services
7759 ("accountsservice" ,accountsservice)
7760 ("network-manager" ,network-manager)
7761 ("packagekit" ,packagekit)
7764 ("adwaita-icon-theme" ,adwaita-icon-theme)
7766 ("glib-networking" ,glib-networking)
7767 ("gnome-backgrounds" ,gnome-backgrounds)
7768 ("gnome-bluetooth" ,gnome-bluetooth)
7769 ("gnome-color-manager" ,gnome-color-manager)
7770 ("gnome-control-center" ,gnome-control-center)
7771 ("gnome-desktop" ,gnome-desktop)
7772 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7773 ("gnome-initial-setup" ,gnome-initial-setup)
7774 ("gnome-keyring" ,gnome-keyring)
7775 ("gnome-menus" ,gnome-menus)
7776 ("gnome-session" ,gnome-session)
7777 ("gnome-settings-daemon" ,gnome-settings-daemon)
7778 ("gnome-shell-extensions" ,gnome-shell-extensions)
7779 ("gnome-shell" ,gnome-shell)
7780 ("gnome-themes-extra" ,gnome-themes-extra)
7781 ("gnome-user-docs" ,gnome-user-docs)
7782 ("gnome-user-share" ,gnome-user-share)
7783 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7789 ;; GNOME-Core-Utilities
7793 ("epiphany" ,epiphany)
7795 ("file-roller" ,file-roller)
7797 ; TODO: ("gnome-boxes" ,gnome-boxes)
7798 ("gnome-calculator" ,gnome-calculator)
7799 ("gnome-calendar" ,gnome-calendar)
7800 ("gnome-characters" ,gnome-characters)
7801 ("gnome-clocks" ,gnome-clocks)
7802 ("gnome-contacts" ,gnome-contacts)
7803 ("gnome-disk-utility" ,gnome-disk-utility)
7804 ("gnome-font-viewer" ,gnome-font-viewer)
7805 ("gnome-maps" ,gnome-maps)
7806 ; TODO: ("gnome-music" ,gnome-music)
7807 ; TODO: ("gnome-photos" ,gnome-photos)
7808 ("gnome-screenshot" ,gnome-screenshot)
7809 ("gnome-system-monitor" ,gnome-system-monitor)
7810 ("gnome-terminal" ,gnome-terminal)
7811 ("gnome-weather" ,gnome-weather)
7812 ("nautilus" ,nautilus)
7813 ("simple-scan" ,simple-scan)
7817 ("hicolor-icon-theme" ,hicolor-icon-theme)
7818 ("gnome-online-accounts" ,gnome-online-accounts)
7820 ;; Packages not part of GNOME proper but that are needed for a good
7821 ;; experience. See <https://bugs.gnu.org/39646>.
7822 ;; XXX: Find out exactly which ones are needed and why.
7823 ("font-cantarell" ,font-cantarell)
7824 ("font-dejavu" ,font-dejavu)
7825 ("at-spi2-core" ,at-spi2-core)
7828 ("desktop-file-utils" ,desktop-file-utils)
7829 ("gnome-default-applications" ,gnome-default-applications)
7830 ("gnome-themes-standard" ,gnome-themes-standard)
7831 ("gst-plugins-base" ,gst-plugins-base)
7832 ("gst-plugins-good" ,gst-plugins-good)
7833 ("gucharmap" ,gucharmap)
7834 ("pinentry-gnome3" ,pinentry-gnome3)
7835 ("pulseaudio" ,pulseaudio)
7836 ("shared-mime-info" ,shared-mime-info)
7837 ("system-config-printer" ,system-config-printer)
7838 ("xdg-user-dirs" ,xdg-user-dirs)
7840 ("zenity" ,zenity)))
7841 (synopsis "The GNU desktop environment")
7842 (home-page "https://www.gnome.org/")
7844 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7845 applications for browsing the web, editing text and images, creating
7846 documents and diagrams, playing media, scanning, and much more.")
7847 (license license:gpl2+)))
7849 (define-public byzanz
7850 ;; The last stable release of Byzanz was in 2011, but there have been many
7851 ;; useful commits made to the Byzanz repository since then that it would be
7852 ;; silly to use such an old release.
7853 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7856 (version (string-append "0.2-1." (string-take commit 7)))
7860 (url "https://git.gnome.org/browse/byzanz")
7862 (file-name (string-append name "-" version "-checkout"))
7865 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7866 (build-system glib-or-gtk-build-system)
7869 (modify-phases %standard-phases
7870 (add-before 'bootstrap 'build-without-Werror
7872 ;; The build system cleverly detects that we're not building from
7873 ;; a release tarball and turns on -Werror for GCC.
7874 ;; Unsurprisingly, there is a warning during compilation that
7875 ;; causes the build to fail unnecessarily, so we remove the flag.
7876 (substitute* '("configure.ac")
7880 `(("autoconf" ,autoconf)
7881 ("automake" ,automake)
7882 ("gnome-common" ,gnome-common)
7883 ("intltool" ,intltool)
7884 ("libtool" ,libtool)
7885 ("pkg-config" ,pkg-config)
7889 ("gstreamer" ,gstreamer)
7890 ("gst-plugins-base" ,gst-plugins-base)
7892 (synopsis "Desktop recording program")
7893 (description "Byzanz is a simple desktop recording program with a
7894 command-line interface. It can record part or all of an X display for a
7895 specified duration and save it as a GIF encoded animated image file.")
7896 (home-page "https://git.gnome.org/browse/byzanz")
7897 (license license:gpl2+))))
7899 (define-public gsound
7905 (uri (string-append "mirror://gnome/sources/" name "/"
7906 (version-major+minor version) "/"
7907 name "-" version ".tar.xz"))
7910 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7911 (build-system glib-or-gtk-build-system)
7913 `(("pkg-config" ,pkg-config)
7914 ("gobject-introspection" ,gobject-introspection)
7918 ("libcanberra" ,libcanberra)))
7919 (home-page "https://wiki.gnome.org/Projects/GSound")
7920 (synopsis "GObject wrapper for libcanberra")
7922 "GSound is a small library for playing system sounds. It's designed to be
7923 used via GObject Introspection, and is a thin wrapper around the libcanberra C
7925 (license license:lgpl2.1+)))
7927 (define-public libzapojit
7933 (uri (string-append "mirror://gnome/sources/" name "/"
7934 (version-major+minor version) "/"
7935 name "-" version ".tar.xz"))
7938 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7939 (build-system gnu-build-system)
7941 `(("gobject-introspection" ,gobject-introspection)
7942 ("intltool" ,intltool)
7943 ("pkg-config" ,pkg-config)))
7945 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7946 ("json-glib" ,json-glib)
7948 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7949 (synopsis "Library for accessing SkyDrive and Hotmail")
7951 "Libzapojit is a GLib-based library for accessing online service APIs of
7952 Microsoft SkyDrive and Hotmail, using their REST protocols.")
7953 (license license:lgpl2.1+)))
7955 (define-public gnome-clocks
7957 (name "gnome-clocks")
7961 (uri (string-append "mirror://gnome/sources/" name "/"
7962 (version-major+minor version) "/"
7963 name "-" version ".tar.xz"))
7966 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
7967 (build-system meson-build-system)
7969 '(#:glib-or-gtk? #t))
7972 ("pkg-config" ,pkg-config)
7973 ("glib" ,glib "bin") ; for glib-compile-resources
7974 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7975 ("desktop-file-utils" ,desktop-file-utils)
7976 ("gettext" ,gettext-minimal)
7977 ("itstool" ,itstool)))
7982 ("geoclue" ,geoclue)
7983 ("geocode-glib" ,geocode-glib)
7984 ("libgweather" ,libgweather)
7985 ("gnome-desktop" ,gnome-desktop)))
7986 (home-page "https://wiki.gnome.org/Apps/Clocks")
7987 (synopsis "GNOME's clock application")
7989 "GNOME Clocks is a simple clocks application designed to fit the GNOME
7990 desktop. It supports world clock, stop watch, alarms, and count down timer.")
7991 (license license:gpl3+)))
7993 (define-public gnome-calendar
7995 (name "gnome-calendar")
7999 (uri (string-append "mirror://gnome/sources/" name "/"
8000 (version-major+minor version) "/"
8001 name "-" version ".tar.xz"))
8004 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
8005 (build-system meson-build-system)
8008 ;; gnome-calendar has to be installed before the tests can be run
8009 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8012 `(("gettext" ,gettext-minimal)
8013 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8014 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8015 ("pkg-config" ,pkg-config)))
8017 `(("evolution-data-server" ,evolution-data-server)
8018 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8019 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8020 ("libdazzle" ,libdazzle)
8021 ("libedataserverui" ,evolution-data-server)
8022 ("libgweather" ,libgweather)
8023 ("geoclue" ,geoclue)))
8024 (home-page "https://wiki.gnome.org/Apps/Calendar")
8025 (synopsis "GNOME's calendar application")
8027 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8028 desktop. It supports multiple calendars, month, week and year view.")
8029 (license license:gpl3+)))
8031 (define-public gnome-todo
8037 (uri (string-append "mirror://gnome/sources/" name "/"
8038 (version-major+minor version) "/"
8039 name "-" version ".tar.xz"))
8042 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
8043 (build-system meson-build-system)
8046 #:phases (modify-phases %standard-phases
8048 'install 'wrap-gnome-todo
8049 (lambda* (#:key inputs outputs #:allow-other-keys)
8050 (let ((out (assoc-ref outputs "out"))
8051 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8052 (python-path (getenv "PYTHONPATH")))
8053 (wrap-program (string-append out "/bin/gnome-todo")
8054 ;; XXX: gi plugins are broken.
8055 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8057 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8058 `("PYTHONPATH" ":" prefix (,python-path))))
8061 `(("gettext" ,gettext-minimal)
8062 ("gobject-introspection" ,gobject-introspection)
8063 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8064 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8065 ("pkg-config" ,pkg-config)))
8067 `(("rest" ,rest) ; For Todoist plugin
8068 ("json-glib" ,json-glib) ; For Todoist plugin
8069 ("libedataserverui" ,evolution-data-server)
8070 ("libical" ,libical)
8071 ("libpeas" ,libpeas)
8072 ("python-pygobject" ,python-pygobject)
8073 ("evolution-data-server" ,evolution-data-server)
8074 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8075 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8076 (home-page "https://wiki.gnome.org/Apps/Todo")
8077 (synopsis "GNOME's ToDo Application")
8079 "GNOME To Do is a simplistic personal task manager designed to perfectly
8080 fit the GNOME desktop.")
8081 (license license:gpl3+)))
8083 (define-public gnome-dictionary
8085 (name "gnome-dictionary")
8089 (uri (string-append "mirror://gnome/sources/" name "/"
8090 (version-major+minor version) "/"
8091 name "-" version ".tar.xz"))
8094 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8095 (build-system meson-build-system)
8096 (arguments '(#:glib-or-gtk? #t
8097 #:phases (modify-phases %standard-phases
8098 (add-after 'unpack 'patch-install-script
8100 ;; This script attempts to compile glib schemas
8101 ;; and create an empty MIME database. We do
8102 ;; that elsewhere, so prevent it from running.
8103 (substitute* "build-aux/post-install.sh"
8104 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8107 `(("glib:bin" ,glib "bin")
8108 ("gobject-introspection" ,gobject-introspection)
8109 ("intltool" ,intltool)
8110 ("itstool" ,itstool)
8111 ("pkg-config" ,pkg-config)
8112 ("xmllint" ,libxml2)))
8114 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8116 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8117 (synopsis "Look up words in dictionary sources")
8119 "GNOME Dictionary can look for the definition or translation of a word in
8120 existing databases over the internet.")
8121 (license license:gpl3+)))
8123 (define-public gnome-tweaks
8125 (name "gnome-tweaks")
8129 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8130 (version-major+minor version) "/"
8131 "gnome-tweaks-" version ".tar.xz"))
8133 (list (search-patch "gnome-tweaks-search-paths.patch")))
8136 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
8137 (build-system meson-build-system)
8140 #:configure-flags '("-Dlocalstatedir=/tmp"
8141 "-Dsysconfdir=/tmp")
8142 #:imported-modules ((guix build python-build-system)
8143 ,@%meson-build-system-modules)
8145 (modify-phases %standard-phases
8146 (add-after 'install 'wrap
8147 (@@ (guix build python-build-system) wrap))
8148 (add-after 'wrap 'wrap-gi-typelib
8149 (lambda* (#:key inputs outputs #:allow-other-keys)
8150 (let ((out (assoc-ref outputs "out"))
8151 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8152 (wrap-program (string-append out "/bin/gnome-tweaks")
8153 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8156 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8157 ("intltool" ,intltool)
8158 ("pkg-config" ,pkg-config)))
8160 `(("gnome-desktop" ,gnome-desktop)
8162 ("gobject-introspection" ,gobject-introspection)
8163 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8164 ("libnotify" ,libnotify)
8165 ("libsoup" ,libsoup)
8166 ("nautilus" ,nautilus)
8168 ("python-pygobject" ,python-pygobject)))
8169 (synopsis "Customize advanced GNOME 3 options")
8170 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8172 "GNOME Tweaks allows adjusting advanced configuration settings in
8173 GNOME 3. This includes things like the fonts used in user interface elements,
8174 alternative user interface themes, changes in window management behavior,
8175 GNOME Shell appearance and extension, etc.")
8176 (license license:gpl3+)))
8178 (define-public gnome-shell-extensions
8180 (name "gnome-shell-extensions")
8184 (uri (string-append "mirror://gnome/sources/" name "/"
8185 (version-major+minor version) "/"
8186 name "-" version ".tar.xz"))
8189 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
8190 (build-system meson-build-system)
8192 '(#:configure-flags '("-Dextension_set=all")))
8194 `(("glib:bin" ,glib "bin")
8195 ("intltool" ,intltool)
8196 ("pkg-config" ,pkg-config)))
8199 (synopsis "Extensions for GNOME Shell")
8200 (description "GNOME Shell extensions modify and extend GNOME Shell
8201 functionality and behavior.")
8202 (home-page "https://extensions.gnome.org/")
8203 (license license:gpl3+)))
8205 (define-public arc-theme
8208 (version "20190917")
8212 (url "https://github.com/NicoHood/arc-theme.git")
8214 (file-name (git-file-name name version))
8217 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8218 (build-system gnu-build-system)
8221 (modify-phases %standard-phases
8222 ;; autogen.sh calls configure at the end of the script.
8224 (lambda _ (invoke "autoreconf" "-vfi")))
8225 (add-before 'build 'set-home ;placate Inkscape
8227 (setenv "HOME" (getcwd))
8230 `(("autoconf" ,autoconf)
8231 ("automake" ,automake)
8232 ("glib" ,glib "bin") ; for glib-compile-resources
8233 ("gnome-shell" ,gnome-shell)
8235 ("inkscape" ,inkscape)
8236 ("optipng" ,optipng)
8237 ("pkg-config" ,pkg-config)
8238 ("sassc" ,sassc/libsass-3.5)))
8239 (synopsis "A flat GTK+ theme with transparent elements")
8240 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8241 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8242 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8243 (home-page "https://github.com/horst3180/arc-theme")
8244 ;; No "or later" language found.
8245 (license license:gpl3+)))
8247 (define-public faba-icon-theme
8249 (name "faba-icon-theme")
8255 (url "https://github.com/snwh/faba-icon-theme.git")
8256 (commit (string-append "v" version))))
8257 (file-name (git-file-name name version))
8259 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8260 (build-system meson-build-system)
8263 (modify-phases %standard-phases
8264 (add-before 'configure 'disable-post-install
8266 (substitute* "meson.build"
8267 (("meson.add_install_script.*") "")))))))
8269 `(("autoconf" ,autoconf)
8270 ("automake" ,automake)))
8271 (synopsis "Faba icon theme")
8273 "Faba is a minimal icon set used as a basis for other themes such as
8275 (home-page "https://snwh.org/moka")
8276 (license (list license:lgpl3+
8277 license:cc-by-sa4.0))))
8279 (define-public moka-icon-theme
8281 (inherit faba-icon-theme)
8282 (name "moka-icon-theme")
8288 (url "https://github.com/snwh/moka-icon-theme.git")
8289 (commit (string-append "v" version))))
8290 (file-name (git-file-name name version))
8292 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8294 ;; Moka is based on Faba by using it as a fallback icon set instead of
8295 ;; bundling it, so we need to add it as a propagated input.
8296 `(("faba-icon-theme" ,faba-icon-theme)))
8297 (synopsis "Moka icon theme")
8298 (description "Moka is a stylized desktop icon set, designed to be clear,
8299 simple and consistent.")
8300 (license (list license:gpl3+
8301 license:cc-by-sa4.0))))
8303 (define-public arc-icon-theme
8305 (name "arc-icon-theme")
8306 (version "20161122")
8311 (url "https://github.com/horst3180/arc-icon-theme.git")
8313 (file-name (git-file-name name version))
8315 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8316 (build-system gnu-build-system)
8319 (modify-phases %standard-phases
8320 (add-after 'unpack 'disable-configure-during-bootstrap
8322 (substitute* "autogen.sh"
8323 (("^\"\\$srcdir/configure\".*") ""))
8326 `(("autoconf" ,autoconf)
8327 ("automake" ,automake)))
8328 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8330 `(("moka-icon-theme" ,moka-icon-theme)))
8331 (synopsis "Arc icon theme")
8332 (description "The Arc icon theme provides a set of icons matching the
8333 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8334 the Moka icon theme.")
8335 (home-page "https://github.com/horst3180/arc-icon-theme")
8336 (license license:gpl3+)))
8338 (define-public folks
8345 "mirror://gnome/sources/folks/"
8346 (version-major+minor version) "/"
8347 "folks-" version ".tar.xz"))
8350 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
8351 (build-system glib-or-gtk-build-system)
8354 ("dbus-glib" ,dbus-glib)
8355 ("evolution-data-server" ,evolution-data-server)
8358 ("telepathy-glib" ,telepathy-glib)))
8360 `(("gobject-introspection" ,gobject-introspection)
8361 ("intltool" ,intltool)
8362 ("pkg-config" ,pkg-config)
8364 (synopsis "Library to aggregate data about people")
8365 (description "Libfolks is a library that aggregates information about people
8366 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8367 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8368 etc.) to create metacontacts. It's written in Vala, which generates C code when
8370 (home-page "https://wiki.gnome.org/Projects/Folks")
8371 (license license:lgpl2.1+)))
8373 (define-public gfbgraph
8380 "mirror://gnome/sources/gfbgraph/"
8381 (version-major+minor version) "/"
8382 "gfbgraph-" version ".tar.xz"))
8385 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8386 (build-system glib-or-gtk-build-system)
8388 `(#:tests? #f ; Tests appear to require the network.
8389 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8390 #:configure-flags '("--disable-gtk-doc"
8392 "--enable-introspection")))
8394 `(("pkg-config" ,pkg-config)
8395 ("gobject-introspection" ,gobject-introspection)))
8397 `(("json-glib" ,json-glib)
8398 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8400 (synopsis "GLib/GObject wrapper for the Facebook API")
8401 (description "This library allows you to use the Facebook API from
8402 GLib/GObject code.")
8403 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8404 (license license:lgpl2.1+)))
8406 (define-public libgnomekbd
8408 (name "libgnomekbd")
8412 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8413 (version-major+minor version) "/"
8414 "libgnomekbd-" version ".tar.xz"))
8417 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8418 (build-system gnu-build-system)
8420 `(("pkg-config" ,pkg-config)
8421 ("glib" ,glib "bin")
8422 ("intltool" ,intltool)))
8424 ;; Referred to in .h files and .pc.
8427 ("libxklavier" ,libxklavier)))
8428 (home-page "https://www.gnome.org")
8429 (synopsis "GNOME keyboard configuration library")
8431 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8432 environment, which can notably display keyboard layouts.")
8433 (license license:lgpl2.0+)))
8435 ;;; This package is no longer maintained:
8436 ;;; https://wiki.gnome.org/Attic/LibUnique
8437 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8438 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8439 (define-public libunique
8445 (uri (string-append "mirror://gnome/sources/" name "/"
8446 (version-major+minor version) "/"
8447 name "-" version ".tar.xz"))
8450 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8451 (build-system glib-or-gtk-build-system)
8453 `(#:configure-flags '("--disable-static"
8454 "--disable-dbus" ; use gdbus
8455 "--enable-introspection")))
8457 `(("pkg-config" ,pkg-config)
8458 ("gobject-introspection" ,gobject-introspection)
8459 ("glib:bin" ,glib "bin")
8460 ("gtk-doc" ,gtk-doc)))
8462 ;; Referred to in .h files and .pc.
8464 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8465 (synopsis "Library for writing single instance applications")
8467 "Libunique is a library for writing single instance applications. If you
8468 launch a single instance application twice, the second instance will either just
8469 quit or will send a message to the running instance. Libunique makes it easy to
8470 write this kind of application, by providing a base class, taking care of all
8471 the IPC machinery needed to send messages to a running instance, and also
8472 handling the startup notification side.")
8473 (license license:lgpl2.1+)))
8475 (define-public gnome-calculator
8477 (name "gnome-calculator")
8482 (uri (string-append "mirror://gnome/sources/" name "/"
8483 (version-major+minor version) "/"
8484 name "-" version ".tar.xz"))
8487 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8488 (build-system meson-build-system)
8489 (arguments '(#:glib-or-gtk? #t))
8491 `(("gettext" ,gettext-minimal)
8492 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8493 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8494 ("itstool" ,itstool)
8496 ("pkg-config" ,pkg-config)))
8499 ("gtksourceview" ,gtksourceview)
8501 ("libsoup" ,libsoup)
8502 ("libxml2" ,libxml2)
8505 (home-page "https://wiki.gnome.org/Apps/Calculator")
8506 (synopsis "Desktop calculator")
8508 "Calculator is an application that solves mathematical equations and
8509 is suitable as a default application in a Desktop environment.")
8510 (license license:gpl3)))
8519 (uri (string-append "https://launchpad.net/xpad/trunk/"
8520 version "/+download/"
8521 name "-" version ".tar.bz2"))
8524 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8525 (build-system gnu-build-system)
8527 `(("autoconf" ,autoconf)
8528 ("automake" ,automake)
8529 ("gtk+:bin" ,gtk+ "bin")
8530 ("intltool" ,intltool)
8531 ("pkg-config" ,pkg-config)))
8533 `(("gtksourceview" ,gtksourceview-3)
8535 (home-page "https://wiki.gnome.org/Apps/Xpad")
8536 (synopsis "Virtual sticky note")
8538 "Xpad is a sticky note that strives to be simple, fault tolerant,
8539 and customizable. Xpad consists of independent pad windows, each is
8540 basically a text box in which notes can be written.")
8541 (license license:gpl3+)))
8543 (define-public gucharmap
8544 (let ((unicode-files
8546 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8548 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8550 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8552 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8554 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8556 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8563 (uri (string-append "mirror://gnome/sources/" name "/"
8564 (version-major+minor version) "/"
8565 name "-" version ".tar.xz"))
8568 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8569 (build-system glib-or-gtk-build-system)
8571 `(#:modules ((ice-9 match)
8572 (guix build glib-or-gtk-build-system)
8575 (list "--with-unicode-data=../unicode-data")
8577 (modify-phases %standard-phases
8578 (add-after 'unpack 'prepare-unicode-data
8579 (lambda* (#:key inputs #:allow-other-keys)
8580 (mkdir-p "../unicode-data")
8581 (with-directory-excursion "../unicode-data"
8582 (for-each (match-lambda
8584 (install-file (assoc-ref inputs file) ".")))
8588 `(("desktop-file-utils" ,desktop-file-utils)
8589 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8590 ("gobject-introspection" ,gobject-introspection)
8591 ("intltool" ,intltool)
8592 ("itstool" ,itstool)
8593 ("pkg-config" ,pkg-config)
8594 ,@(map (match-lambda
8600 "http://www.unicode.org/Public/12.0.0/ucd/"
8602 (sha256 (base32 hash))))))
8607 ("xmllint" ,libxml2)))
8608 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8609 (synopsis "Unicode character picker and font browser")
8611 "This program allows you to browse through all the available Unicode
8612 characters and categories for the installed fonts, and to examine their
8613 detailed properties. It is an easy way to find the character you might
8614 only know by its Unicode name or code point.")
8615 (license license:gpl3+))))
8617 (define-public bluefish
8624 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8625 "bluefish-" version ".tar.gz"))
8627 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8628 (build-system gnu-build-system)
8630 `(("desktop-file-utils" ,desktop-file-utils)
8631 ("intltool" ,intltool)
8632 ("pkg-config" ,pkg-config)))
8634 `(("enchant" ,enchant)
8636 ("python" ,python-wrapper)
8637 ("xmllint" ,libxml2)
8638 ("gucharmap" ,gucharmap)))
8639 (home-page "http://bluefish.openoffice.nl")
8640 (synopsis "Web development studio")
8642 "Bluefish is an editor targeted towards programmers and web developers,
8643 with many options to write web sites, scripts and other code.
8644 Bluefish supports many programming and markup languages.")
8645 (license license:gpl3+)))
8647 (define-public gnome-system-monitor
8649 (name "gnome-system-monitor")
8654 (uri (string-append "mirror://gnome/sources/" name "/"
8655 (version-major+minor version) "/"
8656 name "-" version ".tar.xz"))
8659 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8660 (build-system meson-build-system)
8663 #:configure-flags '("-Dsystemd=false")))
8665 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8666 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8667 ("intltool" ,intltool)
8668 ("itstool" ,itstool)
8669 ("libgtop" ,libgtop)
8671 ("pkg-config" ,pkg-config)))
8673 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8676 ("librsvg" ,librsvg)
8677 ("libxml2" ,libxml2)
8678 ("libwnck" ,libwnck)))
8679 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8680 (synopsis "Process viewer and system resource monitor for GNOME")
8682 "GNOME System Monitor is a GNOME process viewer and system monitor with
8683 an attractive, easy-to-use interface. It has features, such as a tree view
8684 for process dependencies, icons for processes, the ability to hide processes,
8685 graphical time histories of CPU/memory/swap usage and the ability to
8686 kill/reinice processes.")
8687 (license license:gpl2+)))
8689 (define-public python-pyatspi
8691 (name "python-pyatspi")
8696 "mirror://gnome/sources/pyatspi/"
8697 (version-major+minor version)
8698 "/pyatspi-" version ".tar.xz"))
8701 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8702 (build-system gnu-build-system)
8705 (modify-phases %standard-phases
8706 (add-before 'build 'fix-atk-load
8708 (substitute* "pyatspi/__init__.py"
8709 (("from gi.repository import Atspi")
8710 "gi.require_version('Gtk', '3.0')
8711 from gi.repository import Gtk
8712 from gi.repository import Atspi"))
8715 `(("pkg-config" ,pkg-config)))
8717 `(("python" ,python)
8718 ("python-pygobject" ,python-pygobject)))
8719 (synopsis "Python client bindings for D-Bus AT-SPI")
8720 (home-page "https://wiki.linuxfoundation.org/accessibility\
8721 /atk/at-spi/at-spi_on_d-bus")
8723 "This package includes a python client library for the AT-SPI D-Bus
8724 accessibility infrastructure.")
8725 (license license:lgpl2.0)
8726 (properties '((upstream-name . "pyatspi")))))
8735 "mirror://gnome/sources/" name "/"
8736 (version-major+minor version) "/"
8737 name "-" version ".tar.xz"))
8740 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
8741 (build-system glib-or-gtk-build-system)
8744 (modify-phases %standard-phases
8745 (add-before 'configure 'qualify-xkbcomp
8746 (lambda* (#:key inputs #:allow-other-keys)
8747 (let ((xkbcomp (string-append
8748 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8749 (substitute* "src/orca/orca.py"
8750 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8752 (add-after 'install 'wrap-orca
8753 (lambda* (#:key outputs #:allow-other-keys)
8754 (let* ((out (assoc-ref outputs "out"))
8755 (prog (string-append out "/bin/orca")))
8757 `("GI_TYPELIB_PATH" ":" prefix
8758 (,(getenv "GI_TYPELIB_PATH")))
8759 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8760 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8761 `("PYTHONPATH" ":" prefix
8762 (,(getenv "PYTHONPATH")))))
8765 `(("intltool" ,intltool)
8766 ("itstool" ,itstool)
8767 ("pkg-config" ,pkg-config)
8768 ("xmllint" ,libxml2)))
8770 `(("at-spi2-atk" ,at-spi2-atk)
8771 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8772 ("gstreamer" ,gstreamer)
8773 ("gst-plugins-base" ,gst-plugins-base)
8774 ("gst-plugins-good" ,gst-plugins-good)
8777 ("python-pygobject" ,python-pygobject)
8778 ("python-pyatspi" ,python-pyatspi)
8779 ("python-speechd" ,speech-dispatcher)
8780 ("xkbcomp" ,xkbcomp)))
8782 "Screen reader for individuals who are blind or visually impaired")
8783 (home-page "https://wiki.gnome.org/Projects/Orca")
8785 "Orca is a screen reader that provides access to the graphical desktop
8786 via speech and refreshable braille. Orca works with applications and toolkits
8787 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8788 (license license:lgpl2.1+)))
8790 (define-public gspell
8796 (uri (string-append "mirror://gnome/sources/" name "/"
8797 (version-major+minor version) "/"
8798 name "-" version ".tar.xz"))
8801 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8802 (patches (search-patches "gspell-dash-test.patch"))))
8803 (build-system glib-or-gtk-build-system)
8805 '(#:configure-flags (list "--enable-vala")
8807 (modify-phases %standard-phases
8808 (add-before 'check 'pre-check
8809 (lambda* (#:key inputs #:allow-other-keys)
8810 ;; Tests require a running X server.
8811 (system "Xvfb :1 &")
8812 (setenv "DISPLAY" ":1")
8814 ;; For the missing /etc/machine-id.
8815 (setenv "DBUS_FATAL_WARNINGS" "0")
8817 ;; Allow Enchant and its Aspell backend to find the en_US
8819 (setenv "ASPELL_DICT_DIR"
8820 (string-append (assoc-ref inputs "aspell-dict-en")
8826 ("iso-codes" ,iso-codes)))
8828 `(("glib" ,glib "bin")
8829 ("gobject-introspection" ,gobject-introspection)
8830 ("pkg-config" ,pkg-config)
8831 ("vala" ,vala) ;for VAPI, needed by Geary
8832 ("xmllint" ,libxml2)
8835 ("aspell-dict-en" ,aspell-dict-en)
8836 ("xorg-server" ,xorg-server-for-tests)))
8838 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8839 (home-page "https://wiki.gnome.org/Projects/gspell")
8840 (synopsis "GNOME's alternative spell checker")
8842 "gspell provides a flexible API to add spell-checking to a GTK+
8843 application. It provides a GObject API, spell-checking to text entries and
8844 text views, and buttons to choose the language.")
8845 (license license:gpl2+)))
8847 (define-public gnome-planner
8849 (name "gnome-planner")
8853 (uri (string-append "mirror://gnome/sources/planner/"
8854 (version-major+minor version) "/planner-"
8858 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8859 (build-system glib-or-gtk-build-system)
8861 ;; Disable the Python bindings because the Planner program functions
8862 ;; without them, and (as of 2017-06-13) we have not packaged all of
8863 ;; packages that are necessary for building the Python bindings.
8865 (list "--disable-python"
8866 ,@(if (string=? "aarch64-linux" (%current-system))
8867 '("--build=aarch64-unknown-linux-gnu")
8870 `(("libgnomecanvas" ,libgnomecanvas)
8871 ("libgnomeui" ,libgnomeui)
8872 ("libglade" ,libglade)
8873 ("gnome-vfs" ,gnome-vfs)
8875 ("libxml2" ,libxml2)
8876 ("libxslt" ,libxslt)
8880 `(("intltool" ,intltool)
8881 ("scrollkeeper" ,scrollkeeper)
8882 ("pkg-config" ,pkg-config)))
8883 (home-page "https://wiki.gnome.org/Apps/Planner")
8884 (synopsis "Project management software for the GNOME desktop")
8886 "GNOME Planner is a project management tool based on the Work Breakdown
8887 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8888 the resources, tasks, and constraints that you define, Planner generates
8889 various views into a project. For example, Planner can show a Gantt chart of
8890 the project. It can show a detailed summary of tasks including their
8891 duration, cost, and current progress. It can also show a report of resource
8892 utilization that highlights under-utilized and over-utilized resources. These
8893 views can be printed as PDF or PostScript files, or exported to HTML.")
8894 (license license:gpl2+)))
8896 (define-public lollypop
8903 (uri (string-append "https://adishatz.org/lollypop/"
8904 "lollypop-" version ".tar.xz"))
8906 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
8907 (build-system meson-build-system)
8909 `(#:imported-modules
8910 (,@%meson-build-system-modules
8911 (guix build python-build-system))
8913 ((guix build meson-build-system)
8914 ((guix build python-build-system) #:prefix python:)
8917 #:tests? #f ; no test suite
8919 (modify-phases %standard-phases
8920 (add-after 'install 'wrap-program
8921 (lambda* (#:key outputs #:allow-other-keys)
8922 (let ((out (assoc-ref outputs "out"))
8923 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8924 (wrap-program (string-append out "/bin/lollypop")
8925 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8927 (add-after 'install 'wrap-python
8928 (assoc-ref python:%standard-phases 'wrap)))))
8930 `(("intltool" ,intltool)
8931 ("itstool" ,itstool)
8932 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8933 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8934 ("pkg-config" ,pkg-config)))
8936 `(("gobject-introspection" ,gobject-introspection)
8937 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8938 ("gst-plugins-base" ,gst-plugins-base)
8939 ("libnotify" ,libnotify)
8940 ("libsecret" ,libsecret)
8941 ("libsoup" ,libsoup)
8943 ("python-beautifulsoup4" ,python-beautifulsoup4)
8944 ("python-gst" ,python-gst)
8945 ("python-pil" ,python-pillow)
8946 ("python-pycairo" ,python-pycairo)
8947 ("python-pygobject" ,python-pygobject)
8948 ("python-pylast" ,python-pylast)
8949 ("totem-pl-parser" ,totem-pl-parser)
8950 ("webkitgtk" ,webkitgtk)))
8952 `(;; gst-plugins-base is required to start Lollypop,
8953 ;; the others are required to play streaming.
8954 ("gst-plugins-good" ,gst-plugins-good)
8955 ("gst-plugins-ugly" ,gst-plugins-ugly)))
8956 (home-page "https://wiki.gnome.org/Apps/Lollypop")
8957 (synopsis "GNOME music playing application")
8959 "Lollypop is a music player designed to play well with GNOME desktop.
8960 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
8961 from artists and tracks from the web. It also fetches cover artworks
8962 automatically and it can stream songs from online music services and charts.")
8963 (license license:gpl3+)))
8965 (define-public gnome-video-effects
8967 (name "gnome-video-effects")
8971 (uri (string-append "mirror://gnome/sources/" name "/"
8972 (version-major+minor version) "/" name "-"
8976 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
8977 (build-system glib-or-gtk-build-system)
8979 `(#:out-of-source? #f))
8981 `(("glib:bin" ,glib "bin")
8982 ("intltool" ,intltool)
8983 ("gettext" ,gettext-minimal)
8984 ("pkg-config" ,pkg-config)))
8985 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
8986 (synopsis "Video effects for Cheese and other GNOME applications")
8988 "A collection of GStreamer video filters and effects to be used in
8989 photo-booth-like software, such as Cheese.")
8990 (license license:gpl2+)))
8992 (define-public cheese
8998 (uri (string-append "mirror://gnome/sources/" name "/"
8999 (version-major+minor version) "/" name "-"
9003 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
9005 ;; Tests require GDK.
9008 (modify-phases %standard-phases
9009 (add-before 'install 'skip-gtk-update-icon-cache
9011 ;; Don't create 'icon-theme.cache'
9012 (substitute* "Makefile"
9013 (("gtk-update-icon-cache") (which "true")))
9015 (add-after 'install 'wrap-cheese
9016 (lambda* (#:key inputs outputs #:allow-other-keys)
9017 (let ((out (assoc-ref outputs "out"))
9018 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9019 (wrap-program (string-append out "/bin/cheese")
9020 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9022 (build-system glib-or-gtk-build-system)
9024 `(("glib:bin" ,glib "bin")
9025 ("intltool" ,intltool)
9026 ("itstool" ,itstool)
9027 ("libxml2" ,libxml2)
9028 ("pkg-config" ,pkg-config)
9031 `(("gnome-video-effects" ,gnome-video-effects)
9032 ("clutter" ,clutter)
9033 ("clutter-gst" ,clutter-gst)
9034 ("clutter-gtk" ,clutter-gtk)
9035 ("libcanberra" ,libcanberra)
9036 ("gdk-pixbuf" ,gdk-pixbuf)
9038 ("gstreamer" ,gstreamer)))
9040 `(("gnome-desktop" ,gnome-desktop)
9041 ("gobject-introspection" ,gobject-introspection)
9042 ("gst-plugins-base" ,gst-plugins-base)
9043 ("gst-plugins-bad" ,gst-plugins-bad)
9046 ("libxtst" ,libxtst)))
9047 (home-page "https://wiki.gnome.org/Apps/Cheese")
9048 (synopsis "Webcam photo booth software for GNOME")
9050 "Cheese uses your webcam to take photos and videos. Cheese can also
9051 apply fancy special effects and lets you share the fun with others.")
9052 (license license:gpl2+)))
9054 (define-public sound-juicer
9056 (name "sound-juicer")
9061 (uri (string-append "mirror://gnome/sources/" name "/"
9062 (version-major+minor version) "/"
9063 name "-" version ".tar.xz"))
9066 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9067 (build-system glib-or-gtk-build-system)
9069 `(("desktop-file-utils" ,desktop-file-utils)
9070 ("intltool" ,intltool)
9071 ("itstool" ,itstool)
9072 ("pkg-config" ,pkg-config)
9073 ("xmllint" ,libxml2)))
9076 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9077 ("gstreamer" ,gstreamer)
9078 ("gst-plugins-base" ,gst-plugins-base)
9079 ("gst-plugins-good" ,gst-plugins-good)
9080 ("iso-codes" ,iso-codes)
9081 ("libbrasero-media3" ,brasero)
9082 ("libcanberra" ,libcanberra)
9083 ("libdiscid" ,libdiscid)
9084 ("libmusicbrainz" ,libmusicbrainz)
9086 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9087 (synopsis "Audio music cd ripper")
9088 (description "Sound Juicer extracts audio from compact discs and convert it
9089 into audio files that a personal computer or digital audio player can play.
9090 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9091 mp3, Ogg Vorbis and FLAC")
9092 (license license:gpl2+)))
9094 (define-public soundconverter
9096 (name "soundconverter")
9101 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9102 version "/+download/"
9103 "soundconverter-" version ".tar.xz"))
9106 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
9109 "soundconverter-remove-gconf-dependency.patch"))))
9110 (build-system glib-or-gtk-build-system)
9112 `(#:imported-modules ((guix build python-build-system)
9113 (guix build glib-or-gtk-build-system)
9114 ,@%gnu-build-system-modules)
9116 #:modules ((guix build glib-or-gtk-build-system)
9118 ((guix build gnu-build-system) #:prefix gnu:)
9119 ((guix build python-build-system) #:prefix python:))
9122 (modify-phases %standard-phases
9123 (add-after 'install 'wrap-soundconverter-for-python
9124 (assoc-ref python:%standard-phases 'wrap))
9125 (add-after 'install 'wrap-soundconverter
9126 (lambda* (#:key inputs outputs #:allow-other-keys)
9127 (let ((out (assoc-ref outputs "out"))
9128 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9129 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9130 (wrap-program (string-append out "/bin/soundconverter")
9131 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9132 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9135 `(("intltool" ,intltool)
9136 ("pkg-config" ,pkg-config)
9137 ("glib:bin" ,glib "bin")))
9141 ("python-pygobject" ,python-pygobject)
9142 ("gstreamer" ,gstreamer)
9143 ("gst-plugins-base" ,gst-plugins-base)))
9144 (home-page "https://soundconverter.org/")
9145 (synopsis "Convert between audio formats with a graphical interface")
9147 "SoundConverter supports converting between many audio formats including
9148 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9149 configurable file renaming. ")
9150 (license license:gpl3)))
9152 (define-public workrave
9160 (url "https://github.com/rcaelers/workrave.git")
9161 (commit (string-append "v" (string-map
9162 (match-lambda (#\. #\_) (chr chr))
9164 (file-name (git-file-name name version))
9166 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9167 (build-system glib-or-gtk-build-system)
9169 ;; The only tests are maintainer tests (in po/), which fail.
9171 (inputs `(("glib" ,glib)
9173 ("gdk-pixbuf" ,gdk-pixbuf)
9177 ("libxtst" ,libxtst)
9181 ("libxscrnsaver" ,libxscrnsaver)))
9182 (native-inputs `(("boost" ,boost)
9183 ("pkg-config" ,pkg-config)
9184 ("gettext" ,gettext-minimal)
9185 ("autoconf" ,autoconf)
9186 ("autoconf-archive" , autoconf-archive)
9187 ("automake" ,automake)
9188 ("libtool" ,libtool)
9189 ("intltool" ,intltool)
9190 ("gobject-introspection" ,gobject-introspection)
9191 ("python3" ,python-3)
9192 ("python-jinja2" ,python-jinja2)))
9193 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9195 "Workrave is a program that assists in the recovery and prevention of
9196 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9197 micro-pauses and rest breaks, and restricts you to your daily limit.")
9198 (home-page "http://www.workrave.org")
9199 (license license:gpl3+)))
9207 (uri (string-append "mirror://gnome/sources/ghex/"
9208 (version-major+minor version) "/"
9209 "ghex-" version ".tar.xz"))
9212 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9213 (build-system meson-build-system)
9217 (modify-phases %standard-phases
9218 (add-after 'unpack 'skip-gtk-update-icon-cache
9219 ;; Don't create 'icon-theme.cache'.
9221 (substitute* "meson_post_install.py"
9222 (("gtk-update-icon-cache") (which "true")))
9225 `(("pkg-config" ,pkg-config)
9226 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9227 ("gnome-common" ,gnome-common)
9229 ("intltool" ,intltool)
9230 ("yelp-tools" ,yelp-tools)
9231 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9235 (synopsis "GNOME hexadecimal editor")
9236 (description "The GHex program can view and edit files in two ways:
9237 hexadecimal or ASCII. It is useful for editing binary files in general.")
9238 (home-page "https://wiki.gnome.org/Apps/Ghex")
9239 (license license:gpl2)))
9241 (define-public libdazzle
9247 (uri (string-append "mirror://gnome/sources/libdazzle/"
9248 (version-major+minor version) "/"
9249 "libdazzle-" version ".tar.xz"))
9252 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9253 (build-system meson-build-system)
9256 (modify-phases %standard-phases
9257 (add-before 'check 'pre-check
9259 ;; Tests require a running X server.
9260 (system "Xvfb :1 &")
9261 (setenv "DISPLAY" ":1")
9264 `(("glib" ,glib "bin") ; glib-compile-resources
9265 ("pkg-config" ,pkg-config)
9267 ("xorg-server" ,xorg-server-for-tests)))
9270 ("gobject-introspection" ,gobject-introspection)
9273 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9274 (synopsis "Companion library to GObject and Gtk+")
9275 (description "The libdazzle library is a companion library to GObject and
9276 Gtk+. It provides various features that the authors wish were in the
9277 underlying library but cannot for various reasons. In most cases, they are
9278 wildly out of scope for those libraries. In other cases, they are not quite
9279 generic enough to work for everyone.")
9280 (license license:gpl3+)))
9282 (define-public evolution
9288 (uri (string-append "mirror://gnome/sources/evolution/"
9289 (version-major+minor version) "/"
9290 "evolution-" version ".tar.xz"))
9293 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
9294 (build-system cmake-build-system)
9296 `(#:imported-modules (,@%cmake-build-system-modules
9297 (guix build glib-or-gtk-build-system))
9298 #:modules ((guix build cmake-build-system)
9299 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9302 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9303 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9304 ; in four years and cannot be built.
9306 (modify-phases %standard-phases
9307 ;; The build system attempts to install user interface modules to the
9308 ;; output directory of the "evolution-data-server" package. This
9309 ;; change redirects that change.
9310 (add-after 'unpack 'patch-ui-module-dir
9311 (lambda* (#:key outputs #:allow-other-keys)
9312 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9313 (("\\$\\{edsuimoduledir\\}")
9314 (string-append (assoc-ref outputs "out")
9315 "/lib/evolution-data-server/ui-modules")))
9317 (add-after 'install 'glib-or-gtk-compile-schemas
9318 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9319 (add-after 'install 'glib-or-gtk-wrap
9320 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9322 `(("glib" ,glib "bin") ; glib-mkenums
9323 ("pkg-config" ,pkg-config)
9324 ("intltool" ,intltool)
9325 ("itstool" ,itstool)))
9327 `(("enchant" ,enchant)
9328 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9330 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9331 ("gnome-autoar" ,gnome-autoar)
9332 ("gnome-desktop" ,gnome-desktop)
9333 ("gtkspell3" ,gtkspell3)
9334 ("highlight" ,highlight)
9335 ("libcanberra" ,libcanberra)
9336 ("libedataserverui" ,evolution-data-server)
9337 ("libgweather" ,libgweather)
9338 ("libnotify" ,libnotify)
9339 ("libsoup" ,libsoup)
9341 ("openldap" ,openldap)
9342 ("webkitgtk" ,webkitgtk)
9344 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9345 (synopsis "Manage your email, contacts and schedule")
9346 (description "Evolution is a personal information management application
9347 that provides integrated mail, calendaring and address book
9349 ;; See COPYING for details.
9350 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9351 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9352 license:lgpl2.1+)))) ; smime/lib/*
9354 (define-public gthumb
9360 (uri (string-append "mirror://gnome/sources/gthumb/"
9361 (version-major+minor version) "/"
9362 "gthumb-" version ".tar.xz"))
9365 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9366 (build-system meson-build-system)
9370 ;; Ensure the RUNPATH contains all installed library locations.
9371 (list (string-append "-Dc_link_args=-Wl,-rpath="
9372 (assoc-ref %outputs "out")
9373 "/lib/gthumb/extensions")
9374 (string-append "-Dcpp_link_args=-Wl,-rpath="
9375 (assoc-ref %outputs "out")
9376 "/lib/gthumb/extensions"))))
9378 `(("pkg-config" ,pkg-config)
9379 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9380 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9381 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9382 ("intltool" ,intltool)
9383 ("itstool" ,itstool)))
9387 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9388 ("gstreamer" ,gstreamer)
9389 ("clutter" ,clutter)
9390 ("clutter-gst" ,clutter-gst)
9391 ("clutter-gtk" ,clutter-gtk)
9392 ("libjpeg" ,libjpeg-turbo)
9393 ("libtiff" ,libtiff)
9394 ("libraw" ,libraw)))
9395 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9396 (synopsis "GNOME image viewer and browser")
9397 (description "GThumb is an image viewer, browser, organizer, editor and
9398 advanced image management tool")
9399 (license license:gpl2+)))
9401 (define-public terminator
9407 (uri (string-append "https://launchpad.net/" name "/"
9408 "gtk3/" version "/" "+download/"
9409 name "-" version ".tar.gz"))
9412 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9413 (build-system python-build-system)
9415 `(("intltool" ,intltool)
9416 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9417 ("gettext" ,gettext-minimal)
9418 ("pkg-config" ,pkg-config)))
9421 ("gobject-introspection" ,gobject-introspection)
9422 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9423 ("python2-pycairo" ,python2-pycairo)
9424 ("python2-pygobject" ,python2-pygobject)
9425 ("python2-psutil" ,python2-psutil)
9428 `(#:python ,python-2 ; Python 3 isn't supported
9429 #:imported-modules ((guix build glib-or-gtk-build-system)
9430 ,@%python-build-system-modules)
9431 #:modules ((guix build python-build-system)
9432 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9435 (modify-phases %standard-phases
9437 'install 'wrap-program
9438 (lambda* (#:key outputs #:allow-other-keys)
9439 (let ((prog (string-append (assoc-ref outputs "out")
9440 "/bin/terminator")))
9442 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9443 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9445 (add-after 'wrap-program 'glib-or-gtk-wrap
9446 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9447 (home-page "https://gnometerminator.blogspot.com/")
9448 (synopsis "Store and run multiple GNOME terminals in one window")
9450 "Terminator allows you to run multiple GNOME terminals in a grid and
9451 +tabs, and it supports drag and drop re-ordering of terminals.")
9452 (license license:gpl2)))
9454 (define-public libhandy
9462 (url "https://source.puri.sm/Librem5/libhandy")
9463 (commit (string-append "v" version))))
9464 (file-name (git-file-name name version))
9466 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9467 (build-system meson-build-system)
9470 '("-Dglade_catalog=disabled"
9473 (modify-phases %standard-phases
9474 (add-before 'check 'pre-check
9476 ;; Tests require a running X server.
9477 (system "Xvfb :1 &")
9478 (setenv "DISPLAY" ":1")
9483 `(("glib:bin" ,glib "bin")
9484 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9486 ("gtk-doc" ,gtk-doc)
9487 ("pkg-config" ,pkg-config)
9488 ("gettext" ,gettext-minimal)
9490 ;; Test suite dependencies.
9491 ("xorg-server" ,xorg-server-for-tests)
9492 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9493 (home-page "https://source.puri.sm/Librem5/libhandy")
9494 (synopsis "Library full of GTK+ widgets for mobile phones")
9495 (description "The aim of the handy library is to help with developing user
9496 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9497 for usage on small and big screens.")
9498 (license license:lgpl2.1+)))
9500 (define-public libgit2-glib
9502 (name "libgit2-glib")
9503 (version "0.99.0.1")
9506 (uri (string-append "mirror://gnome/sources/" name "/"
9507 (version-major+minor version) "/"
9508 name "-" version ".tar.xz"))
9511 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9512 (build-system meson-build-system)
9514 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9515 ("gobject-introspection" ,gobject-introspection)
9516 ("pkg-config" ,pkg-config)
9517 ("python-pygobject" ,python-pygobject)
9518 ("python-wrapper" ,python-wrapper)
9522 ("libssh2" ,libssh2)))
9524 `(;; In Requires of libgit2-glib.pc.
9525 ("libgit2" ,libgit2)))
9526 (synopsis "GLib wrapper around the libgit2 Git access library")
9527 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9528 access library. It only implements the core plumbing functions, not really the
9529 higher level porcelain stuff.")
9530 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9531 (license license:gpl2+)))
9539 (uri (string-append "mirror://gnome/sources/" name "/"
9540 (version-major+minor version) "/"
9541 name "-" version ".tar.xz"))
9544 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9545 (build-system meson-build-system)
9549 (modify-phases %standard-phases
9550 (add-after 'unpack 'disable-post-install-partially
9552 (substitute* "meson_post_install.py"
9553 (("'python'") ; there are no python sources to compile
9554 (string-append "'" (which "true") "'"))
9555 (("gtk-update-icon-cache") (which "true")))
9557 (add-after 'unpack 'fix-test-sources
9559 (substitute* "tests/libgitg/test-commit.vala"
9560 (("/bin/bash") (which "bash")))
9562 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9563 (lambda* (#:key outputs #:allow-other-keys)
9564 (let ((prog (string-append (assoc-ref outputs "out")
9567 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9571 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9573 ("gtkspell3" ,gtkspell3)
9574 ("gtksourceview" ,gtksourceview-3)
9575 ("json-glib" ,json-glib)
9576 ("libdazzle" ,libdazzle)
9578 ("libgit2-glib" ,libgit2-glib)
9579 ("libpeas" ,libpeas)
9580 ("libsecret" ,libsecret)
9581 ("libsoup" ,libsoup)
9582 ("libxml2" ,libxml2)))
9584 `(("glib:bin" ,glib "bin")
9585 ("gtk+:bin" ,gtk+ "bin")
9586 ("gobject-introspection" ,gobject-introspection)
9587 ("intltool" ,intltool)
9588 ("pkg-config" ,pkg-config)
9590 (synopsis "Graphical user interface for git")
9592 "gitg is a graphical user interface for git. It aims at being a small,
9593 fast and convenient tool to visualize the history of git repositories.
9594 Besides visualization, gitg also provides several utilities to manage your
9595 repository and commit your work.")
9596 (home-page "https://wiki.gnome.org/Apps/Gitg")
9597 (license license:gpl2+)))
9599 (define-public gamin
9605 (uri (string-append "mirror://gnome/sources/" name "/"
9606 (version-major+minor version) "/"
9607 name "-" version ".tar.bz2"))
9610 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9611 (build-system gnu-build-system)
9614 (modify-phases %standard-phases
9615 (add-after 'unpack 'remove-deprecated-macro
9617 (substitute* '("server/gam_node.c"
9618 "server/gam_subscription.h"
9620 "server/gam_subscription.c")
9621 (("G_CONST_RETURN") "const"))
9626 `(("intltool" ,intltool)
9627 ("pkg-config" ,pkg-config)))
9628 (home-page "https://people.gnome.org/~veillard/gamin/")
9629 (synopsis "File alteration monitor")
9631 "Gamin is a file and directory monitoring system defined to be a subset
9632 of the FAM (File Alteration Monitor) system. This is a service provided by a
9633 library which detects when a file or a directory has been modified.")
9634 (license license:gpl2+)))
9636 (define-public gnome-mahjongg
9638 (name "gnome-mahjongg")
9643 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9645 (file-name (git-file-name name version))
9648 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9649 (build-system meson-build-system)
9651 `(#:glib-or-gtk? #t))
9653 `(("appstream-glib" ,appstream-glib)
9654 ("gettext" ,gettext-minimal)
9655 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9656 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9657 ("itstool" ,itstool)
9658 ("pkg-config" ,pkg-config)
9661 `(("dconf" ,dconf)))
9665 ("librsvg" ,librsvg)))
9666 (synopsis "Mahjongg tile-matching game")
9667 (description "GNOME Mahjongg is a game based on the classic Chinese
9668 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9669 and a high score table.")
9670 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9671 (license license:gpl2+)))
9673 (define-public gnome-themes-extra
9675 (name "gnome-themes-extra")
9680 (uri (string-append "mirror://gnome/sources/" name "/"
9681 (version-major+minor version) "/" name "-"
9685 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9686 (build-system gnu-build-system)
9689 ;; Don't create 'icon-theme.cache'.
9690 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9691 (true (string-append coreutils "/bin/true")))
9692 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9694 `(("glib:bin" ,glib "bin")
9695 ("intltool" ,intltool)
9696 ("pkg-config" ,pkg-config)))
9701 ("librsvg" ,librsvg)
9702 ("libxml2" ,libxml2)))
9703 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9704 (synopsis "GNOME Extra Themes")
9705 (description "This package provides themes and related elements that don't
9706 really fit in other upstream packages. It offers legacy support for GTK+ 2
9707 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9708 index files needed for Adwaita to be used outside of GNOME.")
9709 (license license:lgpl2.1+)))
9711 (define-public polari
9717 (uri (string-append "mirror://gnome/sources/polari/"
9718 (version-major+minor version)
9719 "/polari-" version ".tar.xz"))
9722 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9723 (build-system meson-build-system)
9727 (modify-phases %standard-phases
9728 (add-after 'unpack 'skip-gtk-update-icon-cache
9730 (substitute* "meson/meson-postinstall.sh"
9731 (("gtk-update-icon-cache") (which "true")))
9733 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9734 (lambda* (#:key outputs #:allow-other-keys)
9735 (let ((prog (string-append (assoc-ref outputs "out")
9738 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9742 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9746 ("libsecret" ,libsecret)
9747 ("libsoup" ,libsoup)
9748 ("telepathy-glib" ,telepathy-glib)
9749 ("telepathy-logger" ,telepathy-logger)))
9751 `(("glib:bin" ,glib "bin")
9752 ("gobject-introspection" ,gobject-introspection)
9753 ("intltool" ,intltool)
9754 ("pkg-config" ,pkg-config)
9755 ("yelp-tools" ,yelp-tools)))
9757 `(("telepathy-idle" ,telepathy-idle)
9758 ("telepathy-mission-control" ,telepathy-mission-control)))
9759 (synopsis "Simple IRC Client")
9761 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9762 integrate seamlessly with the GNOME desktop.")
9763 (home-page "https://wiki.gnome.org/Apps/Polari")
9764 (license license:gpl2+)))
9766 (define-public gnome-boxes
9768 (name "gnome-boxes")
9773 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9774 (version-major+minor version) "/"
9775 "gnome-boxes-" version ".tar.xz"))
9778 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9779 (build-system meson-build-system)
9782 #:configure-flags (list "-Drdp=false"
9783 (string-append "-Dc_link_args=-Wl,-rpath="
9784 (assoc-ref %outputs "out")
9785 "/lib/gnome-boxes"))))
9787 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9788 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9789 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9790 ("itstool" ,itstool)
9791 ("intltool" ,intltool)
9793 ("pkg-config" ,pkg-config)))
9795 `(("libarchive" ,libarchive)
9797 ("gtk-vnc" ,gtk-vnc)
9798 ("libosinfo" ,libosinfo)
9799 ("libsecret" ,libsecret)
9800 ("libsoup" ,libsoup)
9802 ("libvirt" ,libvirt)
9803 ("libvirt-glib" ,libvirt-glib)
9805 ("spice-gtk" ,spice-gtk)
9806 ("sparql-query" ,sparql-query)
9808 ("webkitgtk" ,webkitgtk)
9809 ("tracker" ,tracker)
9810 ("libgudev" ,libgudev)))
9811 (home-page "https://wiki.gnome.org/Apps/Boxes")
9812 (synopsis "View, access, and manage remote and virtual systems")
9813 (description "GNOME Boxes is a simple application to view, access, and
9814 manage remote and virtual systems.")
9816 ;; For data/icons/empty-boxes.png.
9819 license:lgpl2.0+))))
9821 (define-public geary
9828 (url "https://gitlab.gnome.org/GNOME/geary")
9830 (file-name (git-file-name name version))
9833 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9834 (build-system meson-build-system)
9837 #:phases (modify-phases %standard-phases
9838 (add-after 'unpack 'disable-failing-tests
9840 (substitute* "test/meson.build"
9841 (("test\\('client-tests', geary_test_client_bin\\)")
9844 (add-after 'unpack 'disable-postinstall-script
9846 (substitute* "meson.build"
9847 (("meson.add_install_script\\(\
9848 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9851 (add-before 'check 'setup-xvfb
9853 (system "Xvfb :1 &")
9854 (setenv "DISPLAY" ":1")
9857 `(("enchant" ,enchant)
9861 ("gmime" ,gmime-2.6)
9862 ("gnome-online-accounts:lib"
9863 ,gnome-online-accounts "lib")
9866 ("iso-codes" ,iso-codes)
9867 ("json-glib" ,json-glib)
9868 ("libcanberra" ,libcanberra)
9870 ("libhandy" ,libhandy)
9871 ("libpeas" ,libpeas)
9872 ("libsecret" ,libsecret)
9873 ("libunwind" ,libunwind)
9875 ("webkitgtk" ,webkitgtk)
9878 `(("appstream-glib" ,appstream-glib)
9879 ("cmake-minimal" ,cmake-minimal)
9880 ("desktop-file-utils" ,desktop-file-utils)
9881 ("gettext" ,gettext-minimal)
9882 ("glib:bin" ,glib "bin")
9883 ("gobject-introspection" ,gobject-introspection)
9884 ("itstool" ,itstool)
9885 ("libarchive" ,libarchive)
9886 ("libxml2" ,libxml2)
9887 ("pkg-config" ,pkg-config)
9889 ("xvfb" ,xorg-server-for-tests)))
9890 (synopsis "GNOME email application built around conversations")
9892 "Geary collects related messages together into conversations,
9893 making it easy to find and follow your discussions. Full-text and keyword
9894 search makes it easy to find the email you are looking for. Geary's
9895 full-featured composer lets you send rich, styled text with images, links, and
9896 lists, but also send lightweight, easy to read text messages. Geary
9897 automatically picks up your existing GNOME Online Accounts, and adding more is
9898 easy. Geary has a clean, fast, modern interface that works like you want it
9900 (home-page "https://wiki.gnome.org/Apps/Geary")
9907 license:public-domain
9911 (define-public parlatype
9912 ;; This is one commit away from 2.0, because the latter introduced
9913 ;; a regression in ASR.
9914 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
9918 (version (git-version "2.0" revision commit))
9923 (url "https://github.com/gkarsay/parlatype.git")
9925 (file-name (git-file-name name version))
9927 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
9928 (build-system meson-build-system)
9931 #:tests? #f ;require internet access
9933 (modify-phases %standard-phases
9934 (add-after 'install 'wrap-parlatype
9935 ;; Add gstreamer plugin provided in this package to system's
9937 (lambda* (#:key outputs #:allow-other-keys)
9938 (let* ((out (assoc-ref outputs "out"))
9939 (gst-plugin-path (string-append
9940 out "/lib/gstreamer-1.0/"
9942 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
9943 (wrap-program (string-append out "/bin/parlatype")
9944 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
9947 `(("appstream-glib" ,appstream-glib)
9948 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
9949 ("gettext" ,gettext-minimal)
9950 ("glib" ,glib "bin") ;for glib-compile-resources
9951 ("pkg-config" ,pkg-config)
9952 ("yelp-tools" ,yelp-tools)))
9954 `(("gst-plugins-base" ,gst-plugins-base)
9955 ("gst-plugins-good" ,gst-plugins-good)
9956 ("gstreamer" ,gstreamer)
9958 ("pocketsphinx" ,pocketsphinx)
9959 ("pulseaudio" ,pulseaudio)
9960 ("sphinxbase" ,sphinxbase)))
9961 (home-page "http://gkarsay.github.io/parlatype/")
9962 (synopsis "GNOME audio player for transcription")
9963 (description "Parlatype is an audio player for the GNOME desktop
9964 environment. Its main purpose is the manual transcription of spoken
9966 (license license:gpl3+))))
9968 (define-public jsonrpc-glib
9970 (name "jsonrpc-glib")
9974 (uri (string-append "mirror://gnome/sources/" name "/"
9975 (version-major+minor version) "/"
9976 name "-" version ".tar.xz"))
9979 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
9980 (build-system meson-build-system)
9982 `(("json-glib" ,json-glib)
9985 `(("pkg-config" ,pkg-config)
9986 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
9987 ("gobject-introspection" ,gobject-introspection)
9989 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
9990 (synopsis "JSON-RPC library for GLib")
9991 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
9992 peers in either a synchronous or asynchronous fashion. It also allows
9993 communicating using the GVariant serialization format instead of JSON when
9994 both peers support it. You might want that when communicating on a single
9995 host to avoid parser overhead and memory-allocator fragmentation.")
9996 (license license:lgpl2.1+)))