1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
59 ;;; This file is part of GNU Guix.
61 ;;; GNU Guix is free software; you can redistribute it and/or modify it
62 ;;; under the terms of the GNU General Public License as published by
63 ;;; the Free Software Foundation; either version 3 of the License, or (at
64 ;;; your option) any later version.
66 ;;; GNU Guix is distributed in the hope that it will be useful, but
67 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
68 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69 ;;; GNU General Public License for more details.
71 ;;; You should have received a copy of the GNU General Public License
72 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
74 (define-module (gnu packages gnome)
75 #:use-module (gnu packages)
76 #:use-module (gnu packages admin)
77 #:use-module (gnu packages aspell)
78 #:use-module (gnu packages autotools)
79 #:use-module (gnu packages avahi)
80 #:use-module (gnu packages backup)
81 #:use-module (gnu packages base)
82 #:use-module (gnu packages bash)
83 #:use-module (gnu packages bison)
84 #:use-module (gnu packages boost)
85 #:use-module (gnu packages build-tools)
86 #:use-module (gnu packages calendar)
87 #:use-module (gnu packages cdrom)
88 #:use-module (gnu packages check)
89 #:use-module (gnu packages cmake)
90 #:use-module (gnu packages compression)
91 #:use-module (gnu packages crates-io)
92 #:use-module (gnu packages cups)
93 #:use-module (gnu packages curl)
94 #:use-module (gnu packages cyrus-sasl)
95 #:use-module (gnu packages databases)
96 #:use-module (gnu packages dbm)
97 #:use-module (gnu packages djvu)
98 #:use-module (gnu packages dns)
99 #:use-module (gnu packages docbook)
100 #:use-module (gnu packages documentation)
101 #:use-module (gnu packages enchant)
102 #:use-module (gnu packages flex)
103 #:use-module (gnu packages fonts)
104 #:use-module (gnu packages file-systems)
105 #:use-module (gnu packages fontutils)
106 #:use-module (gnu packages freedesktop)
107 #:use-module (gnu packages game-development)
108 #:use-module (gnu packages gettext)
109 #:use-module (gnu packages ghostscript)
110 #:use-module (gnu packages gimp)
111 #:use-module (gnu packages gl)
112 #:use-module (gnu packages glib)
113 #:use-module (gnu packages gnupg)
114 #:use-module (gnu packages gnuzilla)
115 #:use-module (gnu packages geo)
116 #:use-module (gnu packages gperf)
117 #:use-module (gnu packages graphviz)
118 #:use-module (gnu packages gstreamer)
119 #:use-module (gnu packages gtk)
120 #:use-module (gnu packages guile)
121 #:use-module (gnu packages ibus)
122 #:use-module (gnu packages icu4c)
123 #:use-module (gnu packages image)
124 #:use-module (gnu packages imagemagick)
125 #:use-module (gnu packages inkscape)
126 #:use-module (gnu packages iso-codes)
127 #:use-module (gnu packages kerberos)
128 #:use-module (gnu packages libcanberra)
129 #:use-module (gnu packages libunistring)
130 #:use-module (gnu packages libunwind)
131 #:use-module (gnu packages libusb)
132 #:use-module (gnu packages linux)
133 #:use-module (gnu packages lirc)
134 #:use-module (gnu packages lua)
135 #:use-module (gnu packages mail)
136 #:use-module (gnu packages mp3)
137 #:use-module (gnu packages multiprecision)
138 #:use-module (gnu packages music)
139 #:use-module (gnu packages ncurses)
140 #:use-module (gnu packages nettle)
141 #:use-module (gnu packages networking)
142 #:use-module (gnu packages ninja)
143 #:use-module (gnu packages nss)
144 #:use-module (gnu packages openldap)
145 #:use-module (gnu packages package-management)
146 #:use-module (gnu packages password-utils)
147 #:use-module (gnu packages pcre)
148 #:use-module (gnu packages pdf)
149 #:use-module (gnu packages perl)
150 #:use-module (gnu packages photo)
151 #:use-module (gnu packages php)
152 #:use-module (gnu packages pkg-config)
153 #:use-module (gnu packages polkit)
154 #:use-module (gnu packages popt)
155 #:use-module (gnu packages pretty-print)
156 #:use-module (gnu packages pulseaudio)
157 #:use-module (gnu packages python)
158 #:use-module (gnu packages python-crypto)
159 #:use-module (gnu packages python-web)
160 #:use-module (gnu packages python-xyz)
161 #:use-module (gnu packages rdesktop)
162 #:use-module (gnu packages readline)
163 #:use-module (gnu packages ruby)
164 #:use-module (gnu packages rust)
165 #:use-module (gnu packages samba)
166 #:use-module (gnu packages scanner)
167 #:use-module (gnu packages selinux)
168 #:use-module (gnu packages slang)
169 #:use-module (gnu packages speech)
170 #:use-module (gnu packages spice)
171 #:use-module (gnu packages sqlite)
172 #:use-module (gnu packages ssh)
173 #:use-module (gnu packages swig)
174 #:use-module (gnu packages tex)
175 #:use-module (gnu packages time)
176 #:use-module (gnu packages tls)
177 #:use-module (gnu packages valgrind)
178 #:use-module (gnu packages version-control)
179 #:use-module (gnu packages video)
180 #:use-module (gnu packages virtualization)
181 #:use-module (gnu packages vpn)
182 #:use-module (gnu packages web)
183 #:use-module (gnu packages webkit)
184 #:use-module (gnu packages xdisorg)
185 #:use-module (gnu packages xiph)
186 #:use-module (gnu packages xml)
187 #:use-module (gnu packages xorg)
188 #:use-module (gnu artwork)
189 #:use-module ((guix build utils) #:select (modify-phases))
190 #:use-module (guix build-system cargo)
191 #:use-module (guix build-system cmake)
192 #:use-module (guix build-system glib-or-gtk)
193 #:use-module (guix build-system gnu)
194 #:use-module (guix build-system meson)
195 #:use-module (guix build-system python)
196 #:use-module (guix build-system trivial)
197 #:use-module (guix download)
198 #:use-module (guix git-download)
199 #:use-module ((guix licenses) #:prefix license:)
200 #:use-module (guix packages)
201 #:use-module (guix utils)
202 #:use-module (guix gexp)
203 #:use-module (guix monads)
204 #:use-module (guix store)
205 #:use-module (ice-9 match)
206 #:use-module (srfi srfi-1))
208 (define-public brasero
214 (uri (string-append "mirror://gnome/sources/brasero/"
215 (version-major+minor version) "/"
216 "brasero-" version ".tar.xz"))
219 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
220 (build-system glib-or-gtk-build-system)
222 `(#:configure-flags (list
223 (string-append "--with-girdir="
224 (assoc-ref %outputs "out")
226 (string-append "--with-typelibdir="
227 (assoc-ref %outputs "out")
228 "/lib/girepository-1.0"))
230 (modify-phases %standard-phases
231 (add-before 'configure 'embed-growisofs
232 (lambda* (#:key inputs #:allow-other-keys)
233 (substitute* "plugins/growisofs/burn-growisofs.c"
234 (("\"growisofs") (string-append "\"" (which "growisofs"))))
237 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
239 `(("intltool" ,intltool)
241 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
242 ("gobject-introspection" ,gobject-introspection)
243 ("pkg-config" ,pkg-config)))
245 `(("dvd+rw-tools" ,dvd+rw-tools)
247 ("gnome-doc-utils" ,gnome-doc-utils)
248 ("gstreamer" ,gstreamer)
249 ("gst-plugins-base" ,gst-plugins-base)
251 ("libcanberra" ,libcanberra)
253 ("libnotify" ,libnotify)
256 ("totem-pl-parser" ,totem-pl-parser)))
257 (home-page "https://wiki.gnome.org/Apps/Brasero")
258 (synopsis "CD/DVD burning tool for Gnome")
259 (description "Brasero is an application to burn CD/DVD for the Gnome
260 Desktop. It is designed to be as simple as possible and has some unique
261 features to enable users to create their discs easily and quickly.")
262 (license license:gpl2+)))
272 (string-append "https://launchpad.net/gtx/trunk/"
273 version "/+download/gtx-" version ".tar.gz"))
275 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
276 (build-system glib-or-gtk-build-system)
277 (outputs '("out" "doc"))
283 (string-append "--with-html-dir="
284 (assoc-ref %outputs "doc")
285 "/share/gtk-doc/html"))))
287 `(("gobject-introspection" ,gobject-introspection)
289 ("pkg-config" ,pkg-config)))
292 (synopsis "GLib Testing Framework")
293 (description "GTX is a small collection of convenience functions intended to
294 enhance the GLib testing framework. With specific emphasis on easing the pain
295 of writing test cases for asynchronous interactions.")
296 (home-page "https://launchpad.net/gtx")
297 (license license:lgpl2.1+)))
299 (define-public libcloudproviders
301 (name "libcloudproviders")
307 (string-append "mirror://gnome/sources/" name "/"
308 (version-major+minor version) "/"
309 name "-" version ".tar.xz"))
311 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
312 (build-system meson-build-system)
313 (outputs '("out" "doc"))
315 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
318 "-Denable-gtk-doc=true")
320 (modify-phases %standard-phases
321 (add-after 'install 'move-doc
322 (lambda* (#:key outputs #:allow-other-keys)
323 (let* ((out (assoc-ref outputs "out"))
324 (doc (assoc-ref outputs "doc")))
325 (mkdir-p (string-append doc "/share"))
327 (string-append out "/share/gtk-doc")
328 (string-append doc "/share/gtk-doc"))
331 `(("glib:bin" ,glib "bin")
332 ("gobject-introspection" ,gobject-introspection)
334 ("pkg-config" ,pkg-config)
338 ("glib-networking" ,glib-networking)))
339 (synopsis "Cloudproviders Integration API")
340 (description "Libcloudproviders is a DBus API that allows cloud storage sync
341 clients to expose their services. Clients such as file managers and desktop
342 environments can then provide integrated access to the cloud providers
344 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
345 (license license:lgpl3+)))
347 (define-public sysprof
355 (string-append "mirror://gnome/sources/" name "/"
356 (version-major+minor version) "/"
357 name "-" version ".tar.xz"))
359 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
360 (build-system meson-build-system)
362 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas.
365 ;; SystemD not required.
366 "-Dsystemdunitdir=/tmp")))
368 `(("desktop-file-utils" ,desktop-file-utils)
369 ("gettext" ,gettext-minimal)
370 ("glib:bin" ,glib "bin")
371 ("gobject-introspection" ,gobject-introspection)
372 ("gtk+:bin" ,gtk+ "bin")
374 ("pkg-config" ,pkg-config)
375 ("xmllint" ,libxml2)))
377 `(("libdazzle" ,libdazzle)
378 ("libunwind" ,libunwind)
384 (synopsis "Kernel based performance profiler")
385 (description "Sysprof is a sampling profiler that uses a kernel module to
386 generate stacktraces which are then interpreted by the userspace program
388 (home-page "https://wiki.gnome.org/Apps/Sysprof")
396 (define-public gnome-photos
398 (name "gnome-photos")
404 (string-append "mirror://gnome/sources/" name "/"
405 (version-major+minor version) "/"
406 name "-" version ".tar.xz"))
409 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
410 (build-system meson-build-system)
414 (list "-Ddogtail=false" ; Not available
415 ;; Required for RUNPATH validation.
416 (string-append "-Dc_link_args=-Wl,-rpath="
417 (assoc-ref %outputs "out") "/lib/gnome-photos"))
419 (modify-phases %standard-phases
420 (add-after 'install 'wrap-gnome-photos
421 (lambda* (#:key inputs outputs #:allow-other-keys)
423 ((out (assoc-ref outputs "out")))
424 (wrap-program (string-append out "/bin/gnome-photos")
425 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
429 ("desktop-file-utils" ,desktop-file-utils)
430 ("gettext" ,gettext-minimal)
432 ("glib:bin" ,glib "bin")
433 ("gobject-introspection" ,gobject-introspection)
434 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
435 ("gtk+:bin" ,gtk+ "bin")
437 ("pkg-config" ,pkg-config)))
441 ("gdk-pixbuf" ,gdk-pixbuf+svg)
443 ("geocode-glib" ,geocode-glib)
445 ("gnome-online-accounts" ,gnome-online-accounts)
446 ("gnome-online-miners" ,gnome-online-miners)
448 ("grilo-plugins" ,grilo-plugins)
450 ("libdazzle" ,libdazzle)
451 ("libgdata" ,libgdata)
452 ("libgfbgraph" ,gfbgraph)
453 ("libjpeg" ,libjpeg-turbo)
456 ("pygobject" ,python-pygobject)
458 ("tracker-miners" ,tracker-miners)))
459 (synopsis "Access, organize and share your photos on GNOME desktop")
460 (description "GNOME Photos is a simple and elegant replacement for using a
461 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
462 cloud integration is offered through GNOME Online Accounts.")
463 (home-page "https://wiki.gnome.org/Apps/Photos")
464 (license license:gpl3+)))
466 (define-public gnome-music
474 (string-append "mirror://gnome/sources/" name "/"
475 (version-major+minor version) "/"
476 name "-" version ".tar.xz"))
479 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
480 (build-system meson-build-system)
484 (modify-phases %standard-phases
485 (add-after 'install 'wrap-gnome-music
486 (lambda* (#:key inputs outputs #:allow-other-keys)
488 ((out (assoc-ref outputs "out"))
489 (pylib (string-append out "/lib/python"
490 ,(version-major+minor
491 (package-version python))
493 (wrap-program (string-append out "/bin/gnome-music")
494 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
495 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
496 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
497 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
500 `(("desktop-file-utils" ,desktop-file-utils)
501 ("gettext" ,gettext-minimal)
502 ("glib:bin" ,glib "bin")
503 ("gobject-introspection" ,gobject-introspection)
504 ("gtk+:bin" ,gtk+ "bin")
505 ("itstools" ,itstool)
506 ("pkg-config" ,pkg-config)))
508 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
510 ("grilo-plugins" ,grilo-plugins)
511 ("gst-plugins-base" ,gst-plugins-base)
512 ("gstreamer" ,gstreamer)
514 ("libdazzle" ,libdazzle)
515 ("libmediaart" ,libmediaart)
517 ("pycairo" ,python-pycairo)
518 ("pygobject" ,python-pygobject)
520 ("tracker-miners" ,tracker-miners)))
521 (synopsis "Simple music player for GNOME desktop")
522 (description "GNOME Music is the new GNOME music playing application that
523 aims to combine an elegant and immersive browsing experience with simple
524 and straightforward controls.")
525 (home-page "https://wiki.gnome.org/Apps/Music")
526 (license license:gpl2+)))
528 (define-public portablexdr
536 (string-append "https://people.redhat.com/~rjones/" name "/files/"
537 name "-" version ".tar.gz"))
540 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
541 (build-system gnu-build-system)
542 (synopsis "External Data Representation Library")
543 (description "PortableXDR is an implementation of External Data
544 Representation (XDR) Library. It is a standard data serialization format, for
545 uses such as computer network protocols. It allows data to be transferred
546 between different kinds of computer systems.")
547 (home-page "https://people.redhat.com/~rjones/portablexdr/")
561 (string-append "mirror://gnome/sources/" name "/"
562 (version-major+minor version) "/"
563 name "-" version ".tar.xz"))
566 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
567 (build-system glib-or-gtk-build-system)
569 `(#:tests? #f)) ; FIX-ME: Requires gvfs
571 `(("gobject-introspection" ,gobject-introspection)
572 ("pkg-config" ,pkg-config)))
577 ("gtksourceview" ,gtksourceview)
579 ("uchardet" ,uchardet)))
580 (synopsis "Text editor product line")
581 (description "Tepl is a library that eases the development of
582 GtkSourceView-based text editors and IDEs.")
583 (home-page "https://wiki.gnome.org/Projects/Tepl")
584 (license license:lgpl2.1+)))
586 (define-public krb5-auth-dialog
588 (name "krb5-auth-dialog")
594 (string-append "mirror://gnome/sources/" name "/"
595 (version-major+minor version) "/"
596 name "-" version ".tar.xz"))
599 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
600 (build-system glib-or-gtk-build-system)
602 `(("intltool" ,intltool)
605 ("pkg-config" ,pkg-config)
606 ("python-wrapper" ,python-wrapper)))
610 ("libnotify" ,libnotify)
611 ("mit-krb5" ,mit-krb5)
612 ("network-manager" ,network-manager)))
613 (synopsis "Popup dialogs for Kerberos 5")
614 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
615 tickets, and pops up a dialog when they are about to expire.")
616 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
617 (license license:gpl2+)))
619 (define-public notification-daemon
621 (name "notification-daemon")
627 (string-append "mirror://gnome/sources/" name "/"
628 (version-major+minor version) "/"
629 name "-" version ".tar.xz"))
632 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
633 (build-system glib-or-gtk-build-system)
635 `(("intltool" ,intltool)
636 ("pkg-config" ,pkg-config)))
641 (synopsis "Notification Daemon for GNOME Desktop")
642 (description "Notification-Daemon is the server implementation of the
643 freedesktop.org desktop notification specification.")
644 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
645 (license license:gpl2+)))
647 (define-public mm-common
653 (uri (string-append "mirror://gnome/sources/mm-common/"
654 (version-major+minor version) "/"
655 "mm-common-" version ".tar.xz"))
658 "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8"))))
659 (build-system meson-build-system)
662 (modify-phases %standard-phases
663 (add-after 'unpack 'patch
664 (lambda* (#:key inputs #:allow-other-keys)
665 (substitute* "util/mm-common-prepare.in"
666 (("ln") (string-append (assoc-ref inputs "coreutils")
668 (("cp") (string-append (assoc-ref inputs "coreutils")
670 (("sed") (string-append (assoc-ref inputs "sed")
672 (("cat") (string-append (assoc-ref inputs "coreutils")
676 `(("coreutils" ,coreutils)
677 ("gettext" ,gettext-minimal)
678 ("pkg-config" ,pkg-config)
681 `(("python" ,python)))
682 (synopsis "Module of GNOME C++ bindings")
683 (description "The mm-common module provides the build infrastructure
684 and utilities shared among the GNOME C++ binding libraries. Release
685 archives of mm-common include the Doxygen tag file for the GNU C++
686 Library reference documentation.")
687 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
688 (license license:gpl2+)))
690 (define-public phodav
696 (uri (string-append "mirror://gnome/sources/" name "/"
697 (version-major+minor version) "/"
698 name "-" version ".tar.xz"))
701 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
702 (build-system meson-build-system)
704 `(("gettext" ,gettext-minimal)
705 ("glib:bin" ,glib "bin")
707 ("pkg-config" ,pkg-config)))
710 ("libgudev" ,libgudev)
711 ("libsoup" ,libsoup)))
712 (synopsis "WebDav server implementation using libsoup")
713 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
714 but it is generic enough to be reused in other projects,
715 in particular in the GNOME desktop.")
716 (home-page "https://wiki.gnome.org/phodav")
717 (license license:lgpl2.1+)))
719 (define-public gnome-color-manager
721 (name "gnome-color-manager")
725 (uri (string-append "mirror://gnome/sources/" name "/"
726 (version-major+minor version) "/"
727 name "-" version ".tar.xz"))
730 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
731 (build-system meson-build-system)
735 (modify-phases %standard-phases
739 ;; Tests require a running X server.
741 (setenv "DISPLAY" ":1")
744 `(("desktop-file-utils" ,desktop-file-utils)
745 ("gettext" ,gettext-minimal)
746 ("glib:bin" ,glib "bin")
747 ("gtk+:bin" ,gtk+ "bin")
749 ("pkg-config" ,pkg-config)
750 ("xorg-server" ,xorg-server-for-tests)))
752 `(("adwaita-icon-theme" ,adwaita-icon-theme)
753 ("appstream-glib" ,appstream-glib)
754 ("colord-gtk" ,colord-gtk)
756 ("gnome-desktop" ,gnome-desktop)
757 ("libcanberra" ,libcanberra)
760 ("libxrandr" ,libxrandr)
762 ("libxxf86vm" ,libxxf86vm)
764 ("xorgproto" ,xorgproto)))
765 (synopsis "Color profile manager for the GNOME desktop")
766 (description "GNOME Color Manager is a session framework that makes
767 it easy to manage, install and generate color profiles
768 in the GNOME desktop.")
769 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
770 (license license:gpl2+)))
772 (define-public gnome-online-miners
774 (name "gnome-online-miners")
778 (uri (string-append "mirror://gnome/sources/" name "/"
779 (version-major+minor version) "/"
780 name "-" version ".tar.xz"))
783 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
784 (build-system glib-or-gtk-build-system)
786 `(("gettext" ,gettext-minimal)
787 ("glib:bin" ,glib "bin")
788 ("gobject-introspection" ,gobject-introspection)
789 ("gtk+:bin" ,gtk+ "bin")
790 ("pkg-config" ,pkg-config)))
792 `(("gnome-online-accounts" ,gnome-online-accounts)
793 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
795 ("libgdata" ,libgdata)
796 ("libgfbgraph" ,gfbgraph)
797 ("libzapojit" ,libzapojit)
799 ("tracker" ,tracker)))
800 (synopsis "Web Crawlers for GNOME")
801 (description "GNOME Online Miners provides a set of crawlers that
802 go through your online content and index them locally in Tracker.
803 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
804 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
805 (license license:gpl2+)))
813 (uri (string-append "mirror://gnome/sources/" name "/"
814 (version-major+minor version) "/"
815 name "-" version ".tar.xz"))
818 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
819 (build-system meson-build-system)
821 `(("gettext" ,gettext-minimal)
822 ("glib:bin" ,glib "bin")
823 ("gobject-introspection" ,gobject-introspection)
825 ("pkg-config" ,pkg-config)
829 ("libsoup" ,libsoup)))
830 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
831 Protocol} for GNOME")
832 (description "This package provides a library to handle resource discovery
833 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
834 a debugging tool, @command{gssdp-device-sniffer}.")
835 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
836 (license license:lgpl2.0+)))
844 (uri (string-append "mirror://gnome/sources/" name "/"
845 (version-major+minor version) "/"
846 name "-" version ".tar.xz"))
849 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
850 (build-system meson-build-system)
852 `(("gettext" ,gettext-minimal)
853 ("glib:bin" ,glib "bin")
854 ("gobject-introspection" ,gobject-introspection)
856 ("pkg-config" ,pkg-config)
861 ("libsoup" ,libsoup)))
862 (synopsis "PnP API for GNOME")
863 (description "This package provides GUPnP, an object-oriented framework
864 for creating UPnP devices and control points, written in C using
865 @code{GObject} and @code{libsoup}.")
866 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
867 (license license:lgpl2.0+)))
869 (define-public gupnp-dlna
875 (uri (string-append "mirror://gnome/sources/" name "/"
876 (version-major+minor version) "/"
877 name "-" version ".tar.xz"))
880 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
881 (build-system gnu-build-system)
883 `(("gettext" ,gettext-minimal)
884 ("glib:bin" ,glib "bin")
885 ("gobject-introspection" ,gobject-introspection)
888 ("pkg-config" ,pkg-config)
891 `(("gstreamer" ,gstreamer)
894 `(("gst-plugins-base" ,gst-plugins-base)
895 ("gst-plugins-good" ,gst-plugins-good)))
896 (synopsis "GUPnP DLNA for GNOME")
897 (description "This package provides a small utility library to
898 support DLNA-related tasks such as media profile guessing, transcoding to a
899 given profile, etc. DLNA is a subset of UPnP A/V.")
900 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
901 (license license:lgpl2.0+)))
903 (define-public gupnp-av
909 (uri (string-append "mirror://gnome/sources/" name "/"
910 (version-major+minor version) "/"
911 name "-" version ".tar.xz"))
914 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
915 (build-system gnu-build-system)
917 `(("gettext" ,gettext-minimal)
918 ("glib:bin" ,glib "bin")
919 ("gobject-introspection" ,gobject-introspection)
922 ("pkg-config" ,pkg-config)))
926 (synopsis "GUPnP A/V for GNOME")
927 (description "This package provides a small library for handling
928 and implementation of UPnP A/V profiles.")
929 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
930 (license license:lgpl2.0+)))
932 (define-public libmediaart
938 (uri (string-append "mirror://gnome/sources/" name "/"
939 (version-major+minor version) "/"
940 name "-" version ".tar.xz"))
943 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
944 (build-system gnu-build-system)
946 `(("glib:bin" ,glib "bin")
947 ("pkg-config" ,pkg-config)))
949 `(("gdk-pixbuf" ,gdk-pixbuf)
950 ("gettext" ,gettext-minimal)
951 ("gobject-introspection" ,gobject-introspection)
952 ("gtk+:doc", gtk+ "doc")
954 (synopsis "Media art library for the GNOME desktop")
956 "The libmediaart library is the foundation for media art caching,
957 extraction, and lookup for applications on the desktop.")
958 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
959 (license license:lgpl2.1+)))
961 (define-public gnome-initial-setup
963 (name "gnome-initial-setup")
967 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
968 (version-major+minor version)
969 "/gnome-initial-setup-" version ".tar.xz"))
972 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
973 (build-system meson-build-system)
975 '(#:configure-flags '(;; Enable camera support for user selfie.
978 #:phases (modify-phases %standard-phases
979 (add-after 'unpack 'set-gkbd-file-name
980 (lambda* (#:key inputs #:allow-other-keys)
981 ;; Allow the "Preview" button in the keyboard layout
982 ;; selection dialog to display the layout.
983 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
984 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
985 (("\"gkbd-keyboard-display")
986 (string-append "\"" libgnomekbd
987 "/bin/gkbd-keyboard-display")))
990 `(("gettext" ,gettext-minimal)
991 ("glib:bin" ,glib "bin")
992 ("gobject-introspection" ,gobject-introspection)
993 ("gtk+:bin" ,gtk+ "bin")
994 ("pkg-config" ,pkg-config)))
996 `(("accountsservice" ,accountsservice)
997 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1000 ("gnome-desktop" ,gnome-desktop)
1001 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1002 ("gnome-online-accounts" ,gnome-online-accounts)
1003 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1004 ("gstreamer" ,gstreamer)
1006 ("json-glib" ,json-glib)
1008 ("libgweather" ,libgweather)
1010 ("libsecret" ,libsecret)
1011 ("network-manager" ,network-manager)
1012 ("packagekit" ,packagekit)
1014 ("pwquality" ,libpwquality)
1017 ("webkitgtk" ,webkitgtk)
1018 ("libgnomekbd" ,libgnomekbd)))
1019 (synopsis "Initial setup wizard for GNOME desktop")
1020 (description "This package provides a set-up wizard when a
1021 user logs into GNOME for the first time. It typically provides a
1022 tour of all gnome components and allows the user to set them up.")
1023 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1024 (license license:gpl2)))
1026 (define-public gnome-user-share
1028 (name "gnome-user-share")
1032 (uri (string-append "mirror://gnome/sources/" name "/"
1033 (version-major+minor version) "/"
1034 name "-" version ".tar.xz"))
1037 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1038 (build-system meson-build-system)
1043 ;; Enable nautilus extension for file sharing.
1044 "-Dnautilus_extension=true")))
1046 `(("gettext" ,gettext-minimal)
1047 ("glib:bin" ,glib "bin")
1048 ("gobject-introspection" ,gobject-introspection)
1049 ("gtk+:bin" ,gtk+ "bin")
1050 ("pkg-config" ,pkg-config)
1051 ("yelp-tools" ,yelp-tools)))
1054 ("gnome-bluetooth" ,gnome-bluetooth)
1056 ("libcanberra" ,libcanberra)
1057 ("libnotify" ,libnotify)
1058 ("nautilus" ,nautilus))) ; For nautilus extension.
1059 (synopsis "File sharing for GNOME desktop")
1060 (description "GNOME User Share is a small package that binds together
1061 various free software projects to bring easy to use user-level file
1062 sharing to the masses.")
1063 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1064 (license license:gpl2+)))
1066 (define-public sushi
1072 (uri (string-append "mirror://gnome/sources/" name "/"
1073 (version-major+minor version) "/"
1074 name "-" version ".tar.xz"))
1077 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1078 (build-system meson-build-system)
1082 (modify-phases %standard-phases
1083 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1084 (lambda* (#:key outputs #:allow-other-keys)
1085 (let ((prog (string-append (assoc-ref outputs "out")
1087 ;; Put existing typelibs before sushi's deps, so as to correctly
1090 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1093 `(("glib:bin" ,glib "bin")
1094 ("gettext" ,gettext-minimal)
1095 ("gobject-introspection" ,gobject-introspection)
1096 ("pkg-config" ,pkg-config)))
1098 `(("clutter" ,clutter)
1099 ("clutter-gst" ,clutter-gst)
1100 ("clutter-gtk" ,clutter-gtk)
1101 ("evince" ,evince) ; For file previewing.
1102 ("freetype" ,freetype)
1103 ("gdk-pixbuf" ,gdk-pixbuf)
1105 ("gst-plugins-base" ,gst-plugins-base)
1106 ("gstreamer" ,gstreamer)
1107 ("gtksourceview" ,gtksourceview-3)
1108 ("harfbuzz" ,harfbuzz)
1109 ("libepoxy" ,libepoxy)
1110 ("libmusicbrainz" ,libmusicbrainz)
1111 ("libxml2" ,libxml2)
1113 ("webkitgtk" ,webkitgtk)))
1114 (synopsis "File previewer for the GNOME desktop")
1115 (description "Sushi is a DBus-activated service that allows applications to
1116 preview files on the GNOME desktop.")
1117 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1118 (license license:gpl2+)))
1120 (define-public rygel
1126 (uri (string-append "mirror://gnome/sources/" name "/"
1127 (version-major+minor version) "/"
1128 name "-" version ".tar.xz"))
1131 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1132 (build-system gnu-build-system)
1134 `(("gettext" ,gettext-minimal)
1135 ("gobject-introspection" ,gobject-introspection)
1136 ("gtk-doc" ,gtk-doc)
1137 ("pkg-config" ,pkg-config)
1140 `(("gdk-pixbuf" ,gdk-pixbuf)
1142 ("gstreamer" ,gstreamer)
1143 ("gst-plugins-base" ,gst-plugins-base)
1146 ("gupnp-av" ,gupnp-av)
1147 ("gupnp-dlna" ,gupnp-dlna)
1149 ("libmediaart" ,libmediaart)
1150 ("libsoup" ,libsoup)
1151 ("libxslt" ,libxslt)
1152 ("libunistring" ,libunistring)
1153 ("tracker" ,tracker)))
1154 (synopsis "Share audio, video, and pictures with other devices")
1156 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1157 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1158 pictures, and to control a media player on your home network.
1160 Rygel achieves interoperability with other devices by trying to conform to the
1161 strict requirements of DLNA and by converting media on-the-fly to formats that
1162 client devices can handle.")
1163 (home-page "https://wiki.gnome.org/Projects/Rygel")
1165 ;; For logo (data/icons/*).
1168 license:lgpl2.1+))))
1170 (define-public libnma
1176 (uri (string-append "mirror://gnome/sources/" name "/"
1177 (version-major+minor version) "/"
1178 name "-" version ".tar.xz"))
1181 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1182 (build-system meson-build-system)
1185 (modify-phases %standard-phases
1186 (add-after 'unpack 'patch-docbook-xml
1187 (lambda* (#:key inputs #:allow-other-keys)
1188 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1189 "/xml/dtd/docbook")))
1190 (substitute* "libnma-docs.xml"
1191 (("http://.*/docbookx\\.dtd")
1192 (string-append xmldoc "/docbookx.dtd")))
1195 `(("docbook-xml" ,docbook-xml-4.3)
1196 ("gettext" ,gettext-minimal)
1197 ("glib:bin" ,glib "bin")
1198 ("gtk-doc" ,gtk-doc)
1199 ("gobject-introspection" ,gobject-introspection)
1200 ("pkg-config" ,pkg-config)
1205 ("iso-codes" ,iso-codes)
1206 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1207 ("network-manager" ,network-manager)))
1208 (synopsis "Network Manager's applet library")
1209 (description "Libnma is an applet library for Network Manager. It was
1210 initially part of network-manager-applet and has now become a separate
1212 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1213 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1215 (license license:gpl2+)))
1217 (define-public gnome-menus
1219 (name "gnome-menus")
1223 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1224 (version-major+minor version) "/"
1225 name "-" version ".tar.xz"))
1228 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1229 (build-system gnu-build-system)
1231 `(("gettext" ,gettext-minimal)
1233 ("pkg-config" ,pkg-config)))
1234 (synopsis "Menu support for GNOME desktop")
1235 (description "GNOME Menus contains the libgnome-menu library, the layout
1236 configuration files for the GNOME menu, as well as a simple menu editor.")
1237 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1238 (license license:lgpl2.0+)))
1240 (define-public deja-dup
1246 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1247 version "/deja-dup-" version ".tar.bz2"))
1250 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1251 (build-system meson-build-system)
1256 ;; Otherwise, the RUNPATH will lack the final path component.
1257 (string-append "-Dc_link_args=-Wl,-rpath="
1258 (assoc-ref %outputs "out") "/lib/deja-dup"))
1260 (modify-phases %standard-phases
1261 (add-after 'unpack 'patch-paths
1262 (lambda* (#:key inputs #:allow-other-keys)
1263 (let ((python (assoc-ref inputs "python")))
1264 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1265 "libdeja/tests/scripts/instance-error.test")
1268 (substitute* "libdeja/tests/runner.vala"
1271 (substitute* "libdeja/tests/scripts/instance-error.test"
1272 (("`which python3`")
1273 (string-append python "/bin/python3"))))))
1274 (add-after 'unpack 'patch-libgpg-error
1275 (lambda* (#:key inputs #:allow-other-keys)
1276 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1277 (substitute* "meson.build"
1278 (("(gpgerror_libs = ).*" _ var)
1279 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1281 (add-after 'unpack 'skip-gtk-update-icon-cache
1282 ;; Don't create 'icon-theme.cache'.
1284 (substitute* "data/post-install.sh"
1285 (("gtk-update-icon-cache") "true"))
1288 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1289 ("duplicity" ,duplicity)
1291 ("python-pygobject" ,python-pygobject)
1293 ("json-glib" ,json-glib)
1294 ("libnotify" ,libnotify)
1295 ("libgpg-error" ,libgpg-error)
1296 ("libsecret" ,libsecret)
1297 ("libsoup" ,libsoup)
1298 ("packagekit" ,packagekit)))
1300 `(("appstream-glib" ,appstream-glib)
1301 ("desktop-file-utils" ,desktop-file-utils)
1302 ("gettext" ,gettext-minimal)
1303 ("glib" ,glib "bin") ; for glib-compile-schemas.
1304 ("gobject-introspection" ,gobject-introspection)
1305 ("itstool" ,itstool)
1306 ("pkg-config" ,pkg-config)
1308 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1309 (synopsis "Simple backup tool, for regular encrypted backups")
1311 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1312 uses duplicity as the backend, which supports incremental backups and storage
1313 either on a local, or remote machine via a number of methods.")
1314 (license license:gpl3+)))
1316 (define-public gnome-user-docs
1318 (name "gnome-user-docs")
1323 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1324 (version-major+minor version)
1325 "/gnome-user-docs-" version ".tar.xz"))
1327 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1328 (build-system gnu-build-system)
1330 `(("gettext" ,gettext-minimal)
1331 ("itstool" ,itstool)
1332 ("pkg-config" ,pkg-config)
1333 ("xmllint" ,libxml2)))
1334 (synopsis "User documentation for the GNOME desktop")
1336 "The GNOME User Documentation explains how to use the GNOME desktop and its
1337 components. It covers usage and setup of the core GNOME programs by end-users
1338 and system administrators.")
1339 (home-page "https://live.gnome.org/DocumentationProject")
1340 (license license:cc-by3.0)))
1342 (define-public gnome-getting-started-docs
1344 (name "gnome-getting-started-docs")
1349 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1350 (version-major+minor version)
1351 "/gnome-getting-started-docs-" version ".tar.xz"))
1353 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1354 (build-system gnu-build-system)
1356 `(("gettext" ,gettext-minimal)
1357 ("itstool" ,itstool)
1358 ("pkg-config" ,pkg-config)
1359 ("xmllint" ,libxml2)))
1360 (synopsis "Help to get new users started with the GNOME desktop")
1362 "The GNOME Getting Started Documentation contains GNOME's intuitive
1363 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1365 It is normally used together with @command{gnome-initial-setup}, but is also
1366 useful as a tutorial and users' guide for new or less experienced users.")
1367 (home-page "https://live.gnome.org/DocumentationProject")
1368 (license license:cc-by-sa3.0)))
1371 ;; This version from GNOME's repository includes fixes for compiling with
1372 ;; recent versions of the build tools. The latest activity on the
1373 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1375 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1379 (version (git-version "0.97.3" revision commit))
1383 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1385 (file-name (git-file-name name version))
1388 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1389 (build-system meson-build-system)
1391 `(("graphene" ,graphene)
1393 ("libxml2" ,libxml2)
1394 ("libxslt" ,libxslt)
1395 ("poppler" ,poppler)
1396 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1397 ;; ERROR: Unknown method "dependency" in object.
1398 ("python-2" ,python-2)))
1400 `(("appstream-glib" ,appstream-glib)
1401 ("docbook-xsl" ,docbook-xsl)
1402 ("glib" ,glib "bin")
1403 ("intltool" ,intltool)
1404 ("pkg-config" ,pkg-config)))
1405 (home-page "https://wiki.gnome.org/Apps/Dia")
1406 (synopsis "Diagram creation for GNOME")
1407 (description "Dia can be used to draw different types of diagrams, and
1408 includes support for UML static structure diagrams (class diagrams), entity
1409 relationship modeling, and network diagrams. The program supports various file
1410 formats like PNG, SVG, PDF and EPS.")
1411 (license license:gpl2+))))
1413 ;; This is the unstable release, but it is required for the current stable
1414 ;; release of gvfs (1.38.1).
1415 (define-public libgdata
1421 (uri (string-append "mirror://gnome/sources/" name "/"
1422 (version-major+minor version) "/"
1423 name "-" version ".tar.xz"))
1426 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1427 (build-system gnu-build-system)
1430 (modify-phases %standard-phases
1431 (add-before 'check 'disable-failing-tests
1433 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1434 ;; They have been removed in libgdata 0.17.6, so just do the same.
1435 (substitute* "gdata/tests/Makefile"
1436 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1439 `(("glib:bin" ,glib "bin")
1440 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1441 ("intltool" ,intltool)
1442 ("pkg-config" ,pkg-config)
1443 ("uhttpmock" ,uhttpmock)))
1445 `(("cyrus-sasl" ,cyrus-sasl)
1446 ("glib-networking" ,glib-networking)))
1450 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1451 ("json-glib" ,json-glib)
1452 ("liboauth" ,liboauth)
1453 ("libsoup" ,libsoup)
1454 ("libxml2" ,libxml2)))
1455 (home-page "https://wiki.gnome.org/Projects/libgdata")
1456 (synopsis "Library for accessing online service APIs")
1458 "libgdata is a GLib-based library for accessing online service APIs using
1459 the GData protocol — most notably, Google's services. It provides APIs to
1460 access the common Google services, and has full asynchronous support.")
1461 (license license:lgpl2.1+)))
1463 (define-public libgxps
1469 (uri (string-append "mirror://gnome/sources/" name "/"
1470 (version-major+minor version) "/"
1471 name "-" version ".tar.xz"))
1474 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1475 (build-system meson-build-system)
1477 `(("gobject-introspection" ,gobject-introspection)
1478 ("pkg-config" ,pkg-config)))
1481 ("libjpeg" ,libjpeg-turbo)
1483 ("libtiff" ,libtiff)))
1485 ;; In Requires of libgxps.pc.
1488 ("libarchive" ,libarchive)))
1489 (home-page "https://wiki.gnome.org/Projects/libgxps")
1490 (synopsis "GObject-based library for handling and rendering XPS documents")
1492 "libgxps is a GObject-based library for handling and rendering XPS
1493 documents. This package also contains binaries that can convert XPS documents
1495 (license license:lgpl2.1+)))
1497 (define-public gnome-characters
1499 (name "gnome-characters")
1504 (uri (string-append "mirror://gnome/sources/"
1505 "gnome-characters/" (version-major+minor version)
1506 "/gnome-characters-" version ".tar.xz"))
1509 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1510 (build-system meson-build-system)
1513 #:phases (modify-phases %standard-phases
1514 (add-after 'install 'wrap
1515 (lambda* (#:key outputs #:allow-other-keys)
1516 ;; GNOME Characters needs Typelib files from GTK and
1518 (wrap-program (string-append (assoc-ref outputs "out")
1519 "/bin/gnome-characters")
1520 `("GI_TYPELIB_PATH" ":" prefix
1521 (,(getenv "GI_TYPELIB_PATH"))))
1524 `(("gettext" ,gettext-minimal)
1525 ("glib:bin" ,glib "bin")
1526 ("gtk+:bin" ,gtk+ "bin")
1527 ("pkg-config" ,pkg-config)
1528 ("python" ,python-minimal)))
1532 ("libunistring" ,libunistring)
1533 ("gnome-desktop" ,gnome-desktop)))
1534 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1535 (synopsis "Find and insert unusual characters")
1536 (description "Characters is a simple utility application to find
1537 and insert unusual characters. It allows you to quickly find the
1538 character you are looking for by searching for keywords.")
1539 (license license:bsd-3)))
1541 (define-public gnome-common
1543 (name "gnome-common")
1548 (uri (string-append "mirror://gnome/sources/" name "/"
1549 (version-major+minor version) "/"
1550 name "-" version ".tar.xz"))
1553 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1554 (build-system gnu-build-system)
1555 (home-page "https://www.gnome.org/")
1556 (synopsis "Bootstrap GNOME modules built from Git")
1557 (description "gnome-common contains various files needed to bootstrap
1558 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1559 can be used to configure a source directory checked out from Git and some
1560 commonly used macros.")
1561 (license license:gpl2+)))
1563 (define-public gnome-contacts
1565 (name "gnome-contacts")
1569 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1570 (version-major+minor version) "/"
1571 name "-" version ".tar.xz"))
1574 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1575 (build-system meson-build-system)
1577 `(#:configure-flags '("-Dcheese=false")
1579 (modify-phases %standard-phases
1580 (add-after 'unpack 'generate-vapis
1581 (lambda* (#:key inputs #:allow-other-keys)
1582 ;; To generate goa's missing .vapi file
1584 (assoc-ref inputs "gnome-online-accounts:lib"))
1586 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1588 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1590 (add-after 'unpack 'skip-gtk-update-icon-cache
1591 ;; Don't create 'icon-theme.cache'.
1593 (substitute* "build-aux/meson_post_install.py"
1594 (("gtk-update-icon-cache") "true"))
1597 `(("glib:bin" ,glib "bin")
1598 ("pkg-config" ,pkg-config)))
1600 `(("docbook-xml" ,docbook-xml)
1601 ("dockbook-xsl" ,docbook-xsl)
1602 ("evolution-data-server" ,evolution-data-server)
1603 ("gettext" ,gettext-minimal)
1604 ("gnome-desktop" ,gnome-desktop)
1605 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1606 ("gobject-introspection" ,gobject-introspection)
1607 ("gst-plugins-base" ,gst-plugins-base)
1610 ("libxslt" ,libxslt)
1611 ("telepathy-glib" ,telepathy-glib)
1615 ("telepathy-mission-control" ,telepathy-mission-control)))
1616 (synopsis "GNOME's integrated address book")
1618 "GNOME Contacts organizes your contact information from online and
1619 offline sources, providing a centralized place for managing your contacts.")
1620 (home-page "https://wiki.gnome.org/Apps/Contacts")
1621 (license license:gpl2+)))
1623 (define-public gnome-desktop
1625 (name "gnome-desktop")
1630 (uri (string-append "mirror://gnome/sources/" name "/"
1631 (version-major+minor version) "/"
1632 name "-" version ".tar.xz"))
1635 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1636 (build-system meson-build-system)
1639 (modify-phases %standard-phases
1640 (add-before 'configure 'patch-path
1641 (lambda* (#:key inputs #:allow-other-keys)
1642 (let ((libc (assoc-ref inputs "libc")))
1643 (substitute* "libgnome-desktop/gnome-languages.c"
1645 (string-append "\"" libc "/bin/locale\"")))
1647 (add-before 'configure 'patch-bubblewrap
1648 (lambda* (#:key inputs #:allow-other-keys)
1649 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
1651 (string-append "\"" (which "bwrap") "\","))
1652 (("\"--ro-bind\", \"/usr\", \"/usr\",")
1653 (string-append "\"--ro-bind\", \""
1658 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
1660 (add-before 'check 'pre-check
1661 (lambda* (#:key inputs #:allow-other-keys)
1662 ;; Tests require a running X server and locales.
1663 (system "Xvfb :1 &")
1664 (setenv "DISPLAY" ":1")
1665 (setenv "GUIX_LOCPATH"
1666 (string-append (assoc-ref inputs "glibc-locales")
1670 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1671 ("glibc-locales" ,glibc-locales) ; for tests
1672 ("gobject-introspection" ,gobject-introspection)
1673 ("itstool" ,itstool)
1674 ("intltool" ,intltool)
1675 ("pkg-config" ,pkg-config)
1676 ("xmllint" ,libxml2)
1677 ("xorg-server" ,xorg-server-for-tests)))
1679 ;; Required by gnome-desktop-3.0.pc.
1680 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1682 ("iso-codes" ,iso-codes)
1683 ("libseccomp" ,libseccomp)
1685 ("xkeyboard-config" ,xkeyboard-config)))
1687 `(("gdk-pixbuf" ,gdk-pixbuf)
1689 ("bubblewrap" ,bubblewrap)
1690 ("libxext" ,libxext)
1691 ("libxkbfile" ,libxkbfile)
1692 ("libxrandr" ,libxrandr)))
1693 (home-page "https://www.gnome.org/")
1695 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1697 "The libgnome-desktop library provides API shared by several applications
1698 on the desktop, but that cannot live in the platform for various reasons.
1699 There is no API or ABI guarantee, although we are doing our best to provide
1700 stability. Documentation for the API is available with gtk-doc.
1702 The gnome-about program helps find which version of GNOME is installed.")
1703 ; Some bits under the LGPL.
1704 (license license:gpl2+)))
1706 (define-public gnome-doc-utils
1708 (name "gnome-doc-utils")
1713 (uri (string-append "mirror://gnome/sources/" name "/"
1714 (version-major+minor version) "/"
1715 name "-" version ".tar.xz"))
1718 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1719 (build-system gnu-build-system)
1721 `(("intltool" ,intltool)
1722 ("docbook-xml" ,docbook-xml-4.4)
1723 ("python2-libxml2" ,python2-libxml2)
1724 ("libxml2" ,libxml2)
1725 ("libxslt" ,libxslt)
1726 ("pkg-config" ,pkg-config)
1727 ("python-2" ,python-2)))
1728 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1730 "Documentation utilities for the Gnome project")
1732 "Gnome-doc-utils is a collection of documentation utilities for the
1733 Gnome project. It includes xml2po tool which makes it easier to translate
1734 and keep up to date translations of documentation.")
1735 (license license:gpl2+))) ; xslt under lgpl
1737 (define-public gnome-disk-utility
1739 (name "gnome-disk-utility")
1743 (uri (string-append "mirror://gnome/sources/" name "/"
1744 (version-major+minor version) "/"
1745 name "-" version ".tar.xz"))
1748 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1749 (build-system meson-build-system)
1751 '(#:configure-flags '("-Dlogind=libelogind")
1753 (modify-phases %standard-phases
1754 (add-after 'unpack 'skip-gtk-update-icon-cache
1755 ;; Don't create 'icon-theme.cache'.
1757 (substitute* "meson_post_install.py"
1758 (("gtk-update-icon-cache") "true"))
1761 `(("glib:bin" ,glib "bin")
1762 ("intltool" ,intltool)
1763 ("pkg-config" ,pkg-config)
1764 ("docbook-xml" ,docbook-xml)
1765 ("docbook-xsl" ,docbook-xsl)
1766 ("libxml2" ,libxml2)
1767 ("libxslt" ,libxslt)))
1769 `(("elogind" ,elogind)
1771 ("appstream-glib" ,appstream-glib)
1772 ("gnome-settings-daemon" ,gnome-settings-daemon)
1774 ("libcanberra" ,libcanberra)
1775 ("libdvdread" ,libdvdread)
1776 ("libnotify" ,libnotify)
1777 ("libpwquality" ,libpwquality)
1778 ("libsecret" ,libsecret)
1779 ("udisks" ,udisks)))
1780 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1781 (synopsis "Disk management utility for GNOME")
1782 (description "Disk management utility for GNOME.")
1783 (license license:gpl2+)))
1785 (define-public gnome-font-viewer
1787 (name "gnome-font-viewer")
1791 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1792 (version-major+minor version)
1793 "/gnome-font-viewer-" version ".tar.xz"))
1796 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1797 (build-system meson-build-system)
1800 (modify-phases %standard-phases
1801 (add-after 'unpack 'patch-post-install-script
1803 (substitute* "meson-postinstall.sh"
1804 (("update-desktop-database") (which "true")))
1807 `(("gettext" ,gettext-minimal)
1808 ("glib:bin" ,glib "bin")
1809 ("pkg-config" ,pkg-config)))
1812 ("gnome-desktop" ,gnome-desktop)
1814 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1815 (synopsis "GNOME Fonts")
1816 (description "Application to show you the fonts installed on your computer
1817 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1818 the font would look under various sizes.")
1819 (license license:gpl2+)))
1827 (uri (string-append "mirror://gnome/sources/" name "/"
1828 (version-major+minor version) "/"
1829 name "-" version ".tar.xz"))
1832 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1833 (build-system gnu-build-system)
1836 (modify-phases %standard-phases
1837 ;; These fail because /var/lib/dbus/machine-id is not present in the
1838 ;; build environment.
1839 (add-after 'unpack 'disable-failing-tests
1841 (substitute* "Makefile.in"
1842 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1845 (add-before 'check 'pre-check
1847 ;; Some tests expect to write to $HOME.
1848 (setenv "HOME" "/tmp")
1852 ("gnupg" ,gnupg) ;called as a child process during tests
1853 ("libgcrypt" ,libgcrypt)))
1855 `(("python" ,python-wrapper) ;for tests
1856 ("pkg-config" ,pkg-config)
1857 ("gettext" ,gettext-minimal)
1858 ("glib" ,glib "bin")
1859 ("gobject-introspection" ,gobject-introspection)
1860 ("libxml2" ,libxml2)
1862 ("xsltproc" ,libxslt)))
1863 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1865 `(("p11-kit" ,p11-kit)
1868 (home-page "https://www.gnome.org")
1869 (synopsis "Libraries for displaying certificates and accessing key stores")
1871 "The GCR package contains libraries used for displaying certificates and
1872 accessing key stores. It also provides the viewer for crypto files on the
1874 (license license:lgpl2.1+)))
1883 (url "https://gitlab.gnome.org/GNOME/gdl.git")
1884 (commit (string-append "GDL_" (string-map (match-lambda
1888 (file-name (git-file-name name version))
1891 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
1892 (build-system gnu-build-system)
1894 `(("autoconf" ,autoconf)
1895 ("automake" ,automake)
1896 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1897 ("gnome-common" ,gnome-common)
1898 ("gtk-doc" ,gtk-doc)
1899 ("intltool" ,intltool)
1900 ("pkg-config" ,pkg-config)
1901 ("libtool" ,libtool)
1904 `(("libxml2" ,libxml2)))
1906 ;; The gdl-3.0.pc file 'Requires' GTK+.
1908 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
1909 (synopsis "GNOME docking library")
1910 (description "This library provides docking features for gtk+.")
1911 (license license:lgpl2.1+)))
1913 ;;; A minimal variant used to break a cycle with Inkscape.
1914 (define-public gdl-minimal
1917 (name "gdl-minimal")
1920 (modify-phases %standard-phases
1921 (add-after 'unpack 'disable-doc-generation
1922 ;; XXX: There is no easy way to disable generating the
1925 (substitute* "configure.in"
1926 (("GTK_DOC_CHECK.*") "")
1928 (substitute* "Makefile.am"
1929 (("gdl docs po") "gdl po"))
1931 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
1933 (define-public libgnome-keyring
1935 (name "libgnome-keyring")
1939 (uri (string-append "mirror://gnome/sources/" name "/"
1940 (version-major+minor version) "/"
1941 name "-" version ".tar.xz"))
1944 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1945 (build-system gnu-build-system)
1947 `(("libgcrypt" ,libgcrypt)
1950 `(("pkg-config" ,pkg-config)
1951 ("glib" ,glib "bin")
1952 ("intltool" ,intltool)))
1954 ;; Referred to in .h files and .pc.
1956 (home-page "https://www.gnome.org")
1957 (synopsis "Accessing passwords from the GNOME keyring")
1959 "Client library to access passwords from the GNOME keyring.")
1961 ;; Though a couple of files are LGPLv2.1+.
1962 (license license:lgpl2.0+)))
1964 (define-public gnome-keyring
1966 (name "gnome-keyring")
1970 (uri (string-append "mirror://gnome/sources/" name "/"
1971 (version-major+minor version) "/"
1972 name "-" version ".tar.xz"))
1975 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1976 (build-system gnu-build-system)
1978 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1982 (string-append "--with-pkcs11-config="
1983 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1984 (string-append "--with-pkcs11-modules="
1985 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1987 (modify-phases %standard-phases
1988 (add-after 'unpack 'fix-/bin/sh-reference
1990 (substitute* "po/Makefile.in.in"
1991 (("/bin/sh") (which "sh")))
1993 (add-after 'unpack 'fix-docbook
1994 (lambda* (#:key inputs #:allow-other-keys)
1995 (substitute* "docs/Makefile.am"
1996 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1997 (string-append (assoc-ref inputs "docbook-xsl")
1998 "/xml/xsl/docbook-xsl-"
1999 ,(package-version docbook-xsl)
2000 "/manpages/docbook.xsl")))
2001 (setenv "XML_CATALOG_FILES"
2002 (string-append (assoc-ref inputs "docbook-xml")
2003 "/xml/dtd/docbook/catalog.xml"))
2004 ;; Rerun the whole thing to avoid version mismatch ("This is
2005 ;; Automake 1.15.1, but the definition used by this
2006 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2007 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2010 (invoke "automake" "-ac"))))))
2012 `(("libgcrypt" ,libgcrypt)
2013 ("linux-pam" ,linux-pam)
2014 ("openssh" ,openssh)
2018 `(("pkg-config" ,pkg-config)
2019 ("glib" ,glib "bin")
2020 ("glib" ,glib) ; for m4 macros
2021 ("python" ,python-2) ;for tests
2022 ("intltool" ,intltool)
2023 ("autoconf" ,autoconf)
2024 ("automake" ,automake)
2025 ("libxslt" ,libxslt) ;for documentation
2026 ("docbook-xml" ,docbook-xml-4.2)
2027 ("docbook-xsl" ,docbook-xsl)))
2028 (home-page "https://www.gnome.org")
2029 (synopsis "Daemon to store passwords and encryption keys")
2031 "gnome-keyring is a program that keeps passwords and other secrets for
2032 users. It is run as a daemon in the session, similar to ssh-agent, and other
2033 applications locate it via an environment variable or D-Bus.
2035 The program can manage several keyrings, each with its own master password,
2036 and there is also a session keyring which is never stored to disk, but
2037 forgotten when the session ends.")
2038 (license license:lgpl2.1+)))
2040 (define-public evince
2046 (uri (string-append "mirror://gnome/sources/evince/"
2047 (version-major+minor version) "/"
2048 "evince-" version ".tar.xz"))
2051 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2052 (build-system glib-or-gtk-build-system)
2054 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2056 (modify-phases %standard-phases
2057 (add-before 'install 'skip-gtk-update-icon-cache
2058 ;; Don't create 'icon-theme.cache'.
2060 (substitute* "data/Makefile"
2061 (("gtk-update-icon-cache") "true"))
2064 `(("libarchive" ,libarchive)
2065 ("libgxps" ,libgxps)
2066 ("libspectre" ,libspectre)
2067 ("djvulibre" ,djvulibre)
2068 ("ghostscript" ,ghostscript)
2069 ("poppler" ,poppler)
2070 ("libtiff" ,libtiff)
2072 ;; Build libkpathsea as a shared library for DVI support.
2073 ;; ("libkpathsea" ,texlive-bin)
2074 ("gnome-desktop" ,gnome-desktop)
2075 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2077 ("libgnome-keyring" ,libgnome-keyring)
2078 ("adwaita-icon-theme" ,adwaita-icon-theme)
2079 ("gdk-pixbuf" ,gdk-pixbuf)
2084 ("libxml2" ,libxml2)
2087 ("shared-mime-info" ,shared-mime-info)
2089 ("libcanberra" ,libcanberra)
2090 ("libsecret" ,libsecret)
2093 ("dogtail" ,python2-dogtail)))
2095 `(("itstool" ,itstool)
2096 ("intltool" ,intltool)
2097 ("glib" ,glib "bin")
2098 ("gobject-introspection" ,gobject-introspection)
2099 ("pkg-config" ,pkg-config)
2100 ("xmllint" ,libxml2)))
2101 (home-page "https://www.gnome.org/projects/evince/")
2102 (synopsis "GNOME's document viewer")
2104 "Evince is a document viewer for multiple document formats. It
2105 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2106 of Evince is to replace the multiple document viewers that exist
2107 on the GNOME Desktop with a single simple application.")
2108 (license license:gpl2+)))
2110 (define-public gsettings-desktop-schemas
2112 (name "gsettings-desktop-schemas")
2117 (uri (string-append "mirror://gnome/sources/" name "/"
2118 (version-major+minor version) "/"
2119 name "-" version ".tar.xz"))
2122 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2123 (build-system meson-build-system)
2125 '(#:phases (modify-phases %standard-phases
2126 (add-after 'unpack 'patch-schemas
2127 (lambda* (#:key inputs #:allow-other-keys)
2128 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2129 (substitute* (find-files "schemas"
2130 "\\.gschema\\.xml\\.in$")
2131 ;; Provide the correct file name of the default GNOME
2132 ;; background, 'adwaita-timed.xml'.
2133 (("@datadir@/backgrounds/gnome")
2134 (string-append theme "/share/backgrounds/gnome"))
2135 ;; Do not reference fonts, that may not exist.
2136 (("'Source Code Pro 10'") "'Monospace 11'"))
2140 ("gnome-backgrounds" ,gnome-backgrounds)))
2142 `(("intltool" ,intltool)
2143 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2144 ("gobject-introspection" ,gobject-introspection)
2145 ("pkg-config" ,pkg-config)))
2146 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2148 "GNOME settings for various desktop components")
2150 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2151 for settings shared by various components of the GNOME desktop.")
2152 (license license:lgpl2.1+)))
2154 (define-public icon-naming-utils
2156 (name "icon-naming-utils")
2161 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2162 version ".tar.bz2"))
2165 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2166 (build-system gnu-build-system)
2169 ("perl-xml-simple" ,perl-xml-simple)))
2172 (modify-phases %standard-phases
2173 (add-after 'install 'set-load-paths
2174 ;; Tell 'icon-name-mapping' where XML::Simple is.
2175 (lambda* (#:key outputs #:allow-other-keys)
2176 (let* ((out (assoc-ref outputs "out"))
2177 (prog (string-append out "/libexec/icon-name-mapping")))
2180 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2182 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2184 "Utility to implement the Freedesktop Icon Naming Specification")
2186 "To help with the transition to the Freedesktop Icon Naming
2187 Specification, the icon naming utility maps the icon names used by the
2188 GNOME and KDE desktops to the icon names proposed in the specification.")
2189 (license license:lgpl2.1+)))
2191 (define-public gnome-icon-theme
2193 (name "gnome-icon-theme")
2198 (uri (string-append "mirror://gnome/sources/" name "/"
2199 (version-major+minor version) "/"
2200 name "-" version ".tar.xz"))
2203 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2204 (build-system gnu-build-system)
2207 ;; Don't create 'icon-theme.cache'.
2208 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2209 (true (string-append coreutils "/bin/true")))
2210 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2212 `(("icon-naming-utils" ,icon-naming-utils)
2213 ("intltool" ,intltool)
2214 ("pkg-config" ,pkg-config)))
2215 (home-page "https://wiki.gnome.org/Personalization")
2216 (synopsis "GNOME icon theme")
2217 (description "Icons for the GNOME desktop.")
2218 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2220 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2221 (define-public adwaita-icon-theme
2222 (package (inherit gnome-icon-theme)
2223 (name "adwaita-icon-theme")
2227 (uri (string-append "mirror://gnome/sources/" name "/"
2228 (version-major+minor version) "/"
2229 name "-" version ".tar.xz"))
2232 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2234 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2236 (define-public tango-icon-theme
2238 (name "tango-icon-theme")
2242 (uri (string-append "http://tango.freedesktop.org/releases/"
2243 "tango-icon-theme-" version ".tar.bz2"))
2246 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2247 (build-system gnu-build-system)
2249 `(("icon-naming-utils" ,icon-naming-utils)
2250 ("intltool" ,intltool)
2251 ("imagemagick" ,imagemagick)
2252 ("pkg-config" ,pkg-config)))
2253 (home-page "http://tango-project.org/")
2254 (synopsis "Tango icon theme")
2255 (description "This is an icon theme that follows the Tango visual
2257 (license license:public-domain)))
2259 (define-public shared-mime-info
2261 (name "shared-mime-info")
2266 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2267 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2271 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2272 (build-system gnu-build-system)
2274 ;; The build system appears not to be parallel-safe.
2275 '(#:parallel-build? #f))
2278 ("libxml2" ,libxml2)))
2280 `(("gettext" ,gettext-minimal)
2281 ("itstool" ,itstool)
2282 ("pkg-config" ,pkg-config)))
2283 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2284 (synopsis "Database of common MIME types")
2286 "The shared-mime-info package contains the core database of common types
2287 and the update-mime-database command used to extend it. It requires glib2 to
2288 be installed for building the update command. Additionally, it uses intltool
2289 for translations, though this is only a dependency for the maintainers. This
2290 database is translated at Transifex.")
2291 (license license:gpl2+)))
2293 (define-public system-config-printer
2295 (name "system-config-printer")
2301 "https://github.com/OpenPrinting/system-config-printer/releases/"
2303 "/system-config-printer-" version ".tar.xz"))
2305 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
2306 (build-system glib-or-gtk-build-system)
2308 `(#:imported-modules ((guix build python-build-system)
2309 ,@%glib-or-gtk-build-system-modules)
2311 (modify-phases %standard-phases
2312 (add-after 'unpack 'patch-Makefile.am
2314 ;; The Makefile generates some scripts, so set a valid shebang
2315 (substitute* "Makefile.am"
2316 (("/bin/bash") (which "bash")))
2317 (delete-file "configure")
2319 (add-after 'unpack 'patch-docbook-xml
2320 (lambda* (#:key inputs #:allow-other-keys)
2321 ;; Modify the man XML otherwise xmlto tries to access the network
2322 (substitute* "man/system-config-printer.xml"
2323 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2324 (string-append (assoc-ref inputs "docbook-xml")
2325 "/xml/dtd/docbook/")))
2327 (add-after 'install 'wrap-for-python
2328 (@@ (guix build python-build-system) wrap))
2329 (add-after 'install 'wrap
2330 (lambda* (#:key outputs #:allow-other-keys)
2331 (let ((out (assoc-ref outputs "out"))
2332 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2335 (wrap-program program
2336 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2338 (string-append out "/bin/" name))
2339 '("system-config-printer"
2340 "system-config-printer-applet"
2341 "install-printerdriver"
2342 "scp-dbus-service"))))
2345 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2346 ("gobject-introspection" ,gobject-introspection)
2350 ("python-dbus" ,python-dbus)
2351 ("python-pygobject" ,python-pygobject)
2352 ("python-pycups" ,python-pycups)
2353 ("python-requests" ,python-requests)
2354 ("python-pycairo" ,python-pycairo)
2355 ("libnotify" ,libnotify)
2356 ("packagekit" ,packagekit)))
2358 `(("pkg-config" ,pkg-config)
2359 ("desktop-file-utils" ,desktop-file-utils)
2361 ("autoconf" ,autoconf)
2362 ("automake" ,automake)
2363 ("intltool" ,intltool)
2365 ("docbook-xml" ,docbook-xml-4.1.2)
2366 ("docbook-xsl" ,docbook-xsl)
2367 ("libxml2" ,libxml2)))
2368 (home-page "https://github.com/zdohnal/system-config-printer")
2369 (synopsis "CUPS administration tool")
2371 "system-config-printer is a CUPS administration tool. It's written in
2372 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2374 (license license:gpl2+)))
2376 (define-public hicolor-icon-theme
2378 (name "hicolor-icon-theme")
2383 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2384 "hicolor-icon-theme-" version ".tar.xz"))
2387 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2388 (build-system gnu-build-system)
2390 `(#:tests? #f)) ; no check target
2391 (home-page "https://icon-theme.freedesktop.org/releases/")
2393 "Freedesktop icon theme")
2395 "Freedesktop icon theme.")
2396 (license license:gpl2)))
2398 (define-public libnotify
2405 (uri (string-append "mirror://gnome/sources/" name "/"
2406 (version-major+minor version) "/"
2407 name "-" version ".tar.xz"))
2410 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2411 (build-system gnu-build-system)
2413 `(#:configure-flags '("--disable-static")))
2415 `(;; In Requires of libnotify.pc.
2416 ("gdk-pixbuf" ,gdk-pixbuf)
2420 ("libpng" ,libpng)))
2422 `(("pkg-config" ,pkg-config)
2423 ("glib" ,glib "bin")
2424 ("gobject-introspection" ,gobject-introspection)))
2425 (home-page "https://developer-next.gnome.org/libnotify/")
2427 "GNOME desktop notification library")
2429 "Libnotify is a library that sends desktop notifications to a
2430 notification daemon, as defined in the Desktop Notifications spec. These
2431 notifications can be used to inform the user about an event or display
2432 some form of information without getting in the user's way.")
2433 (license license:lgpl2.1+)))
2435 (define-public libpeas
2442 (uri (string-append "mirror://gnome/sources/" name "/"
2443 (version-major+minor version) "/"
2444 name "-" version ".tar.xz"))
2447 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2448 (build-system meson-build-system)
2451 (modify-phases %standard-phases
2452 (add-before 'check 'start-xserver
2453 (lambda* (#:key inputs #:allow-other-keys)
2454 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2456 (setenv "DISPLAY" disp)
2457 ;; Tests require a running X server.
2458 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2464 ("python-pygobject" ,python-pygobject)))
2466 `(("pkg-config" ,pkg-config)
2467 ("gettext" ,gettext-minimal)
2468 ("glib:bin" ,glib "bin")
2469 ("gobject-introspection" ,gobject-introspection)
2470 ("xorg-server" ,xorg-server-for-tests)))
2472 ;; The .pc file "Requires" gobject-introspection.
2473 `(("gobject-introspection" ,gobject-introspection)))
2474 (home-page "https://wiki.gnome.org/Libpeas")
2475 (synopsis "GObject plugin system")
2477 "Libpeas is a gobject-based plugin engine, targeted at giving every
2478 application the chance to assume its own extensibility. It also has a set of
2479 features including, but not limited to: multiple extension points; on-demand
2480 (lazy) programming language support for C, Python and JS; simplicity of the
2482 (license license:lgpl2.0+)))
2484 (define-public gtkglext
2490 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2491 version "/gtkglext-" version ".tar.gz"))
2493 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2494 (patches (search-patches
2495 "gtkglext-disable-disable-deprecated.patch"))))
2496 (build-system gnu-build-system)
2499 (modify-phases %standard-phases
2500 ;; Fix a collision between a local variable and a definition from
2501 ;; glibc's string.h.
2502 (add-after 'unpack 'fix-collision
2504 (substitute* "gdk/gdkglshapes.c"
2505 ((" index") " triangle_index"))
2507 (inputs `(("gtk+" ,gtk+-2)
2512 (native-inputs `(("pkg-config" ,pkg-config)
2513 ("glib" ,glib "bin")))
2514 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2515 (home-page "https://projects.gnome.org/gtkglext")
2516 (synopsis "OpenGL extension to GTK+")
2517 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2518 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2519 API add-ons to make GTK+ widgets OpenGL-capable.")
2520 (license license:lgpl2.1+)))
2522 (define-public glade3
2528 (uri (string-append "mirror://gnome/sources/" name "/"
2529 (version-major+minor version) "/"
2530 name "-" version ".tar.xz"))
2533 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
2534 (build-system glib-or-gtk-build-system)
2537 (modify-phases %standard-phases
2538 (add-before 'configure 'fix-docbook
2539 (lambda* (#:key inputs #:allow-other-keys)
2540 (substitute* "man/Makefile.in"
2541 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2542 (string-append (assoc-ref inputs "docbook-xsl")
2543 "/xml/xsl/docbook-xsl-"
2544 ,(package-version docbook-xsl)
2545 "/manpages/docbook.xsl")))
2547 (add-before 'check 'pre-check
2549 (setenv "HOME" "/tmp")
2550 ;; Tests require a running X server.
2551 (system "Xvfb :1 &")
2552 (setenv "DISPLAY" ":1")
2556 ("libxml2" ,libxml2)))
2558 `(("hicolor-icon-theme" ,hicolor-icon-theme)
2559 ("intltool" ,intltool)
2560 ("itstool" ,itstool)
2561 ("libxslt" ,libxslt) ;for xsltproc
2562 ("docbook-xml" ,docbook-xml-4.2)
2563 ("docbook-xsl" ,docbook-xsl)
2564 ("python" ,python-2)
2565 ("pkg-config" ,pkg-config)
2566 ("xorg-server" ,xorg-server-for-tests)))
2567 (home-page "https://glade.gnome.org")
2568 (synopsis "GTK+ rapid application development tool")
2569 (description "Glade is a rapid application development (RAD) tool to
2570 enable quick & easy development of user interfaces for the GTK+ toolkit and
2571 the GNOME desktop environment.")
2572 (license license:lgpl2.0+)))
2574 (define-public libcroco
2580 (uri (string-append "mirror://gnome/sources/" name "/"
2581 (version-major+minor version) "/"
2582 name "-" version ".tar.xz"))
2585 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2586 (build-system gnu-build-system)
2588 `(("pkg-config" ,pkg-config)))
2591 ("libxml2" ,libxml2)
2593 (home-page "https://github.com/GNOME/libcroco")
2594 (synopsis "CSS2 parsing and manipulation library")
2596 "Libcroco is a standalone CSS2 parsing and manipulation library.
2597 The parser provides a low level event driven SAC-like API and a CSS object
2598 model like API. Libcroco provides a CSS2 selection engine and an experimental
2599 XML/CSS rendering engine.")
2602 (license license:lgpl2.1)))
2604 (define-public libgsf
2610 (uri (string-append "mirror://gnome/sources/" name "/"
2611 (version-major+minor version) "/"
2612 name "-" version ".tar.xz"))
2615 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2616 (build-system gnu-build-system)
2618 '(#:configure-flags '("--disable-static")))
2620 `(("pkg-config" ,pkg-config)
2621 ("gettext" ,gettext-minimal)
2625 ("perl-xml-parser" ,perl-xml-parser)))
2630 `(("gdk-pixbuf" ,gdk-pixbuf)
2632 ("libxml2" ,libxml2)))
2633 (home-page "https://www.gnome.org/projects/libgsf")
2634 (synopsis "GNOME's Structured File Library")
2636 "Libgsf aims to provide an efficient extensible I/O abstraction for
2637 dealing with different structured file formats.")
2640 (license license:lgpl2.1)))
2642 (define-public librsvg
2648 (uri (string-append "mirror://gnome/sources/" name "/"
2649 (version-major+minor version) "/"
2650 name "-" version ".tar.xz"))
2653 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2654 (build-system gnu-build-system)
2657 (list "--disable-static"
2658 "--enable-vala") ; needed for e.g. gnome-mines
2660 (modify-phases %standard-phases
2661 (add-before 'configure 'pre-configure
2662 (lambda* (#:key inputs #:allow-other-keys)
2663 (substitute* "gdk-pixbuf-loader/Makefile.in"
2664 ;; By default the gdk-pixbuf loader is installed under
2665 ;; gdk-pixbuf's prefix. Work around that.
2666 (("gdk_pixbuf_moduledir = .*$")
2667 (string-append "gdk_pixbuf_moduledir = "
2668 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2670 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2671 (("gdk_pixbuf_cache_file = .*$")
2672 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2674 (add-before 'check 'remove-failing-tests
2676 (with-directory-excursion "tests/fixtures/reftests"
2677 (for-each delete-file
2678 '(;; This test fails on i686:
2679 "svg1.1/masking-path-04-b.svg"
2680 ;; This test fails on armhf:
2681 "svg1.1/masking-mask-01-b.svg"
2682 ;; This test fails on aarch64:
2683 "bugs/777834-empty-text-children.svg")))
2686 `(("pkg-config" ,pkg-config)
2688 ("glib" ,glib "bin") ; glib-mkenums, etc.
2689 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2691 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2692 ;; this ancient version of librsvg.
2693 ("pango" ,pango-1.42)
2694 ("libcroco" ,libcroco)
2697 ("libxml2" ,libxml2)))
2699 ;; librsvg-2.0.pc refers to all of that.
2701 ("gdk-pixbuf" ,gdk-pixbuf)
2703 (home-page "https://wiki.gnome.org/LibRsvg")
2704 (synopsis "Render SVG files using Cairo")
2706 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2708 (license license:lgpl2.0+)))
2710 (define-public librsvg-next
2717 (uri (string-append "mirror://gnome/sources/librsvg/"
2718 (version-major+minor version) "/"
2719 "librsvg-" version ".tar.xz"))
2722 "14i6xzghcidv64cyd3g0wdjbl82rph737yxn9s3x29nzpcjs707l"))
2723 (modules '((guix build utils)))
2725 '(begin (delete-file-recursively "vendor")
2727 (build-system cargo-build-system)
2729 `(#:modules ((guix build cargo-build-system)
2731 ((guix build gnu-build-system) #:prefix gnu:))
2732 #:vendor-dir "vendor"
2734 (("rust-bitflags" ,rust-bitflags-1)
2735 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
2736 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2737 ("rust-cast" ,rust-cast-0.2)
2738 ("rust-cssparser" ,rust-cssparser-0.27)
2739 ("rust-data-url" ,rust-data-url-0.1)
2740 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2741 ("rust-encoding" ,rust-encoding-0.2)
2742 ("rust-float-cmp" ,rust-float-cmp-0.6)
2743 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
2744 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2745 ("rust-gio" ,rust-gio-0.8)
2746 ("rust-gio-sys" ,rust-gio-sys-0.9)
2747 ("rust-glib" ,rust-glib-0.9)
2748 ("rust-glib-sys" ,rust-glib-sys-0.9)
2749 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2750 ("rust-itertools" ,rust-itertools-0.8)
2751 ("rust-language-tags" ,rust-language-tags-0.2)
2752 ("rust-libc" ,rust-libc-0.2)
2753 ("rust-locale-config" ,rust-locale-config-0.3)
2754 ("rust-markup5ever" ,rust-markup5ever-0.10)
2755 ("rust-nalgebra" ,rust-nalgebra-0.19)
2756 ("rust-num-traits" ,rust-num-traits-0.2)
2757 ("rust-once-cell" ,rust-once-cell-1.2)
2758 ("rust-pkg-config" ,rust-pkg-config-0.3)
2759 ("rust-pango" ,rust-pango-0.8)
2760 ("rust-pango-sys" ,rust-pango-sys-0.9)
2761 ("rust-pangocairo" ,rust-pangocairo-0.9)
2762 ("rust-rayon" ,rust-rayon-1)
2763 ("rust-rctree" ,rust-rctree-0.3)
2764 ("rust-rgb" ,rust-rgb-0.8)
2765 ("rust-regex" ,rust-regex-1)
2766 ("rust-selectors" ,rust-selectors-0.22)
2767 ("rust-url" ,rust-url-2.1)
2768 ("rust-xml5ever" ,rust-xml5ever-0.16))
2769 #:cargo-development-inputs
2770 (("rust-cairo-rs" ,rust-cairo-rs-0.8)
2771 ("rust-criterion" ,rust-criterion-0.3))
2773 (modify-phases %standard-phases
2774 (add-after 'unpack 'prepare-for-build
2776 ;; In lieu of #:make-flags
2777 (setenv "CC" ,(cc-for-target))
2778 ;; Something about the build environment resists building
2779 ;; successfully with the '--locked' flag.
2780 (substitute* '("Makefile.am"
2784 (add-before 'configure 'pre-configure
2786 (substitute* "gdk-pixbuf-loader/Makefile.in"
2787 ;; By default the gdk-pixbuf loader is installed under
2788 ;; gdk-pixbuf's prefix. Work around that.
2789 (("gdk_pixbuf_moduledir = .*$")
2790 (string-append "gdk_pixbuf_moduledir = "
2791 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2793 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2794 (("gdk_pixbuf_cache_file = .*$")
2795 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2797 (add-after 'configure 'gnu-configure
2798 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
2799 ((assoc-ref gnu:%standard-phases 'configure)
2800 #:native-inputs native-inputs
2803 #:configure-flags (list "--disable-static"
2805 (add-after 'configure 'dont-vendor-self
2806 (lambda* (#:key vendor-dir #:allow-other-keys)
2807 ;; Don't keep the whole tarball in the vendor directory
2808 (delete-file-recursively
2809 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2812 (assoc-ref gnu:%standard-phases 'build))
2815 ((assoc-ref gnu:%standard-phases 'check)
2816 #:test-target "check")))
2818 (assoc-ref gnu:%standard-phases 'install)))))
2821 ,@(alist-delete "pango" (package-inputs librsvg))))
2822 (license license:lgpl2.1+)))
2824 (define-public libidl
2830 (uri (string-append "mirror://gnome/sources/libIDL/"
2831 (version-major+minor version) "/"
2832 "libIDL-" version ".tar.bz2"))
2835 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2836 (build-system gnu-build-system)
2837 (inputs `(("glib" ,glib)))
2839 `(("pkg-config" ,pkg-config)
2842 (home-page "http://freecode.com/projects/libidl")
2843 (synopsis "Create trees of CORBA Interface Definition Language files")
2844 (description "Libidl is a library for creating trees of CORBA Interface
2845 Definition Language (idl) files, which is a specification for defining
2846 portable interfaces. libidl was initially written for orbit (the orb from the
2847 GNOME project, and the primary means of libidl distribution). However, the
2848 functionality was designed to be as reusable and portable as possible.")
2849 (properties `((upstream-name . "libIDL")))
2850 (license license:lgpl2.0+)))
2853 (define-public orbit2
2859 (uri (let ((upstream-name "ORBit2"))
2860 (string-append "mirror://gnome/sources/" upstream-name "/"
2861 (version-major+minor version) "/"
2862 upstream-name "-" version ".tar.bz2")))
2865 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2866 (build-system gnu-build-system)
2868 `(;; The "timeout-server" test hangs when run in parallel.
2869 #:parallel-tests? #f
2871 '(;; We don't need static libraries, plus they don't build reproducibly
2872 ;; (non-deterministic ordering of .o files in the archive.)
2875 ;; The programmer kindly gives us a hook to turn off deprecation
2877 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2878 ;; ... which they then completly ignore !!
2880 (modify-phases %standard-phases
2881 (add-before 'configure 'ignore-deprecations
2883 (substitute* "linc2/src/Makefile.in"
2884 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2886 (inputs `(("glib" ,glib)
2887 ("libidl" ,libidl)))
2889 `(("pkg-config" ,pkg-config)))
2890 (home-page "https://projects.gnome.org/orbit2/")
2891 (synopsis "CORBA 2.4-compliant Object Request Broker")
2892 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2893 featuring mature C, C++ and Python bindings.")
2894 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2895 ;; a version. SOME of the code files have licence notices for GPLv2+.
2896 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2897 (license license:gpl2+)
2898 (properties `((upstream-name . "ORBit2")))))
2901 (define-public libbonobo
2907 (uri (string-append "mirror://gnome/sources/" name "/"
2908 (version-major+minor version)
2909 "/" name "-" version ".tar.bz2"))
2911 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2912 (patches (search-patches
2913 "libbonobo-activation-test-race.patch"))))
2914 (build-system gnu-build-system)
2916 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2918 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2919 ;; ... which they then completly ignore !!
2921 (modify-phases %standard-phases
2922 (add-before 'configure 'ignore-deprecations
2924 (substitute* "activation-server/Makefile.in"
2925 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2928 ;; There's apparently a race condition between the server stub
2929 ;; generation and linking of the example under 'samples/echo' that can
2930 ;; lead do undefined references when building in parallel, as reported
2931 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2932 ;; Thus, disable parallel builds.
2933 #:parallel-build? #f))
2934 (inputs `(("popt" ,popt)
2935 ("libxml2" ,libxml2)))
2936 ;; The following are Required by the .pc file
2939 ("orbit2" ,orbit2)))
2941 `(("intltool" ,intltool)
2942 ("pkg-config" ,pkg-config)
2943 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2946 (home-page "https://developer.gnome.org/libbonobo/")
2947 (synopsis "Framework for creating reusable components for use in GNOME applications")
2948 (description "Bonobo is a framework for creating reusable components for
2949 use in GNOME applications, built on top of CORBA.")
2950 ;; Licence not explicitly stated. Source files contain no licence notices.
2951 ;; Tarball contains text of both GPLv2 and LGPLv2
2952 ;; GPLv2 covers both conditions
2953 (license license:gpl2+)))
2956 (define-public gconf
2963 (let ((upstream-name "GConf"))
2964 (string-append "mirror://gnome/sources/" upstream-name "/"
2965 (version-major+minor version) "/"
2966 upstream-name "-" version ".tar.xz")))
2968 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2969 (build-system gnu-build-system)
2970 (inputs `(("dbus-glib" ,dbus-glib)
2971 ("libxml2" ,libxml2)))
2972 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2973 ("orbit2" ,orbit2)))
2975 `(("intltool" ,intltool)
2976 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2977 ("pkg-config" ,pkg-config)))
2978 (home-page "https://projects.gnome.org/gconf/")
2979 (synopsis "Store application preferences")
2980 (description "Gconf is a system for storing application preferences. It
2981 is intended for user preferences; not arbitrary data storage.")
2982 (license license:lgpl2.0+)
2983 (properties '((upstream-name . "GConf")))))
2986 (define-public gnome-mime-data
2988 (name "gnome-mime-data")
2992 (uri (string-append "mirror://gnome/sources/" name "/"
2993 (version-major+minor version) "/"
2994 name "-" version ".tar.bz2"))
2997 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2998 (build-system gnu-build-system)
3001 ("intltool" ,intltool)))
3003 '(#:phases (modify-phases %standard-phases
3004 (add-after 'configure 'use-our-intltool
3006 ;; Do not use the bundled intltool commands, which lack
3007 ;; the "dotless @INC" fixes of our 'intltool' package.
3008 (substitute* (find-files "." "^Makefile$")
3009 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3010 (string-append "INTLTOOL_" tool " = intltool-"
3011 (string-downcase tool) "\n")))
3013 (home-page "https://www.gnome.org")
3014 (synopsis "Base MIME and Application database for GNOME")
3015 (description "GNOME Mime Data is a module which contains the base MIME
3016 and Application database for GNOME. The data stored by this module is
3017 designed to be accessed through the MIME functions in GnomeVFS.")
3018 (license license:gpl2+)))
3021 (define-public gnome-vfs
3027 (uri (string-append "mirror://gnome/sources/" name "/"
3028 (version-major+minor version) "/"
3029 name "-" version ".tar.bz2"))
3032 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3033 (build-system gnu-build-system)
3036 (modify-phases %standard-phases
3037 (add-before 'configure 'ignore-deprecations
3039 (substitute* '("libgnomevfs/Makefile.in"
3040 "daemon/Makefile.in")
3041 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3043 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3045 (substitute* "test/test-async-cancel.c"
3046 (("EXIT_FAILURE") "77"))
3048 (inputs `(("libxml2" ,libxml2)
3049 ("dbus-glib" ,dbus-glib)
3051 ("gnome-mime-data" ,gnome-mime-data)
3054 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3055 ("intltool" ,intltool)
3056 ("pkg-config" ,pkg-config)))
3057 (home-page "https://developer.gnome.org/gnome-vfs/")
3058 (synopsis "Access files and folders in GNOME applications")
3060 "GnomeVFS is the core library used to access files and folders in GNOME
3061 applications. It provides a file system abstraction which allows applications
3062 to access local and remote files with a single consistent API.")
3063 (license license:lgpl2.0+)))
3067 (define-public libgnome
3073 (uri (string-append "mirror://gnome/sources/" name "/"
3074 (version-major+minor version) "/"
3075 name "-" version ".tar.bz2"))
3078 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3079 (patches (search-patches "libgnome-encoding.patch"))))
3080 (build-system gnu-build-system)
3083 (modify-phases %standard-phases
3084 (add-before 'configure 'enable-deprecated
3086 (substitute* "libgnome/Makefile.in"
3087 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3089 (inputs `(("libxml2" ,libxml2)))
3091 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3092 ("intltool" ,intltool)
3093 ("pkg-config" ,pkg-config)))
3094 ;; The following are listed as Required in the .pc file
3095 ;; (except for libcanberra -- which seems to be oversight on the part
3096 ;; of the upstream developers -- anything that links against libgnome,
3097 ;; must also link against libcanberra
3099 `(("libcanberra" ,libcanberra)
3100 ("libbonobo" ,libbonobo)
3102 ("gnome-vfs" ,gnome-vfs)
3103 ("popt" ,popt))) ;gnome-program.h includes popt.h
3104 (home-page "https://developer.gnome.org/libgnome/")
3105 (synopsis "Useful routines for building applications")
3106 (description "The libgnome library provides a number of useful routines
3107 for building modern applications, including session management, activation of
3108 files and URIs, and displaying help.")
3109 (license license:lgpl2.0+)))
3112 (define-public libart-lgpl
3114 (name "libart-lgpl")
3118 (uri (let ((upstream-name "libart_lgpl"))
3119 (string-append "mirror://gnome/sources/" upstream-name "/"
3120 (version-major+minor version) "/"
3121 upstream-name "-" version ".tar.bz2")))
3124 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3125 (build-system gnu-build-system)
3127 `(("pkg-config" ,pkg-config)))
3128 (home-page "https://people.gnome.org/~mathieu/libart")
3129 (synopsis "2D drawing library")
3130 (description "Libart is a 2D drawing library intended as a
3131 high-quality vector-based 2D library with antialiasing and alpha composition.")
3132 (license license:lgpl2.0+)))
3136 (define-public libgnomecanvas
3138 (name "libgnomecanvas")
3142 (uri (string-append "mirror://gnome/sources/" name "/"
3143 (version-major+minor version) "/"
3144 name "-" version ".tar.gz"))
3147 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3148 (build-system gnu-build-system)
3149 ;; Mentioned as Required in the .pc file
3150 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3153 `(("intltool" ,intltool)
3154 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3155 ("pkg-config" ,pkg-config)))
3156 (home-page "https://developer.gnome.org/libgnomecanvas/")
3157 (synopsis "Flexible widget for creating interactive structured graphics")
3158 (description "The GnomeCanvas widget provides a flexible widget for
3159 creating interactive structured graphics.")
3160 (license license:lgpl2.0+)))
3162 (define-public libgnomecanvasmm
3164 (name "libgnomecanvasmm")
3168 (uri (string-append "mirror://gnome/sources/" name "/"
3169 (version-major+minor version) "/"
3170 name "-" version ".tar.bz2"))
3173 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3174 (build-system gnu-build-system)
3175 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3177 `(("gtkmm-2" ,gtkmm-2)
3178 ("pkg-config" ,pkg-config)))
3179 (home-page "https://gtkmm.org")
3180 (synopsis "C++ bindings to the GNOME Canvas library")
3181 (description "C++ bindings to the GNOME Canvas library.")
3182 (license license:lgpl2.0+)))
3184 (define-public libgnomeui
3190 (uri (string-append "mirror://gnome/sources/" name "/"
3191 (version-major+minor version) "/"
3192 name "-" version ".tar.bz2"))
3193 (patches (search-patches "libgnomeui-utf8.patch"))
3196 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3197 (build-system gnu-build-system)
3198 ;; Mentioned as Required in the .pc file
3199 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3200 ("libgnome" ,libgnome)
3201 ("libgnomecanvas" ,libgnomecanvas)
3202 ("libgnome-keyring" ,libgnome-keyring)))
3203 (inputs `(("libjpeg" ,libjpeg-turbo)
3205 ("libbonobo" ,libbonobo)
3206 ("libxml2" ,libxml2)
3207 ("libglade" ,libglade)))
3209 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3210 ("intltool" ,intltool)
3211 ("pkg-config" ,pkg-config)))
3212 (home-page "https://developer.gnome.org/libgnomeui/")
3213 (synopsis "Additional widgets for applications")
3214 (description "The libgnomeui library provides additional widgets for
3215 applications. Many of the widgets from libgnomeui have already been
3217 (license license:lgpl2.0+)))
3219 (define-public libglade
3225 (uri (string-append "mirror://gnome/sources/" name "/"
3226 (version-major+minor version) "/"
3227 name "-" version ".tar.bz2"))
3230 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3231 (build-system gnu-build-system)
3233 `(("python" ,python))) ;; needed for the optional libglade-convert program
3235 `(("gtk+-2" ,gtk+-2)
3236 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3238 `(("pkg-config" ,pkg-config)))
3239 (home-page "https://developer.gnome.org/libglade")
3240 (synopsis "Load glade interfaces and access the glade built widgets")
3241 (description "Libglade is a library that provides interfaces for loading
3242 graphical interfaces described in glade files and for accessing the
3243 widgets built in the loading process.")
3244 (license license:gpl2+))) ; This is correct. GPL not LGPL
3246 (define-public libgnomeprint
3247 ;; This library has been deprecated since 2006; see
3248 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3250 (name "libgnomeprint")
3254 (uri (string-append "mirror://gnome/sources/" name "/"
3255 (version-major+minor version) "/"
3256 name "-" version ".tar.bz2"))
3259 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3260 (build-system gnu-build-system)
3263 ("libart-lgpl" ,libart-lgpl)
3265 ("libxml2" ,libxml2)))
3267 `(("intltool" ,intltool)
3268 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3269 ("pkg-config" ,pkg-config)))
3270 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3271 (synopsis "Printing framework for GNOME")
3273 "GNOME-print was a printing framework for GNOME. It has been deprecated
3274 since ca. 2006, when GTK+ itself incorporated printing support.")
3275 (license license:lgpl2.0+)))
3278 (define-public libgnomeprintui
3279 ;; Deprecated; see libgnomeprint.
3281 (name "libgnomeprintui")
3285 (uri (string-append "mirror://gnome/sources/" name "/"
3286 (version-major+minor version) "/"
3287 name "-" version ".tar.bz2"))
3290 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
3291 (build-system gnu-build-system)
3292 ;; Mentioned as Required in the .pc file
3293 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
3294 (inputs `(("gtk+" ,gtk+-2)
3296 ("gnome-icon-theme" ,gnome-icon-theme)
3297 ("libgnomecanvas" ,libgnomecanvas)
3298 ("libxml2" ,libxml2)))
3300 `(("intltool" ,intltool)
3301 ("pkg-config" ,pkg-config)))
3302 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3303 (synopsis "Printing framework for GNOME")
3304 (description (package-description libgnomeprint))
3305 (license license:lgpl2.0+)))
3307 (define-public libbonoboui
3309 (name "libbonoboui")
3313 (uri (string-append "mirror://gnome/sources/" name "/"
3314 (version-major+minor version) "/"
3315 name "-" version ".tar.bz2"))
3318 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3319 (build-system gnu-build-system)
3322 (modify-phases %standard-phases
3323 (add-before 'check 'start-xserver
3324 (lambda* (#:key inputs #:allow-other-keys)
3325 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3328 (setenv "HOME" (getcwd))
3329 (setenv "DISPLAY" disp)
3330 ;; There must be a running X server and make check doesn't start one.
3331 ;; Therefore we must do it.
3332 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3333 ;; Mentioned as Required by the .pc file
3334 (propagated-inputs `(("libxml2" ,libxml2)))
3337 ("pangox-compat" ,pangox-compat)
3338 ("libgnome" ,libgnome)
3339 ("libgnomecanvas" ,libgnomecanvas)
3340 ("libglade" ,libglade)))
3342 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3343 ("intltool" ,intltool)
3344 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3345 ("pkg-config" ,pkg-config)))
3346 (home-page "https://developer.gnome.org/libbonoboui/")
3347 (synopsis "Some user interface controls using Bonobo")
3348 (description "The Bonobo UI library provides a number of user interface
3349 controls using the Bonobo component framework.")
3350 (license license:lgpl2.0+)))
3352 (define-public libwnck
3358 (uri (string-append "mirror://gnome/sources/" name "/"
3359 (version-major+minor version) "/"
3360 name "-" version ".tar.xz"))
3363 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3364 (build-system meson-build-system)
3366 `(("pkg-config" ,pkg-config)
3367 ("glib" ,glib "bin") ; for glib-mkenums
3368 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
3369 ("intltool" ,intltool)))
3372 ("libxres" ,libxres)
3373 ("startup-notification" ,startup-notification)))
3374 (home-page "https://developer.gnome.org/libwnck/")
3375 (synopsis "Window Navigator Construction Kit")
3377 "Libwnck is the Window Navigator Construction Kit, a library for use in
3378 writing pagers, tasklists, and more generally applications that are dealing
3379 with window management. It tries hard to respect the Extended Window Manager
3380 Hints specification (EWMH).")
3381 (license license:lgpl2.0+)))
3383 ;; stable version for gtk2, required by xfwm4.
3384 (define-public libwnck-2
3385 (package (inherit libwnck)
3390 (uri (string-append "mirror://gnome/sources/" name "/"
3391 (version-major+minor version) "/"
3392 name "-" version ".tar.xz"))
3395 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
3396 (build-system gnu-build-system)
3398 `(("pkg-config" ,pkg-config)
3399 ("intltool" ,intltool)))
3402 ("libxres" ,libxres)
3403 ("startup-notification" ,startup-notification)))))
3405 (define-public goffice
3411 (uri (string-append "mirror://gnome/sources/goffice/"
3412 (version-major+minor version) "/"
3413 "goffice-" version ".tar.xz"))
3415 (base32 "0xmigfdzvmlpa0fw79mf3xwchmxc8rlidryn5syv8bz7msmrb215"))))
3416 (build-system gnu-build-system)
3418 "doc")) ; 4.0 MiB of gtk-doc
3420 '(#:configure-flags (list (string-append "--with-html-dir="
3421 (assoc-ref %outputs "doc")
3422 "/share/gtk-doc/html"))))
3426 ("librsvg" ,librsvg)
3427 ("libxslt" ,libxslt)
3428 ("libxml2" ,libxml2)))
3430 `(("intltool" ,intltool)
3431 ("glib" ,glib "bin")
3432 ("pkg-config" ,pkg-config)))
3433 (home-page "https://developer.gnome.org/goffice/")
3434 (synopsis "Document-centric objects and utilities")
3435 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3437 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3439 (list license:gpl2 license:gpl3))))
3441 (define-public goffice-0.8
3442 (package (inherit goffice)
3446 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3447 (version-major+minor version) "/"
3448 (package-name goffice) "-" version ".tar.xz"))
3450 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3453 (modify-phases %standard-phases
3454 (add-after 'unpack 'fix-pcre-check
3456 ;; Only glib.h can be included directly. See
3457 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3458 (substitute* "configure"
3459 (("glib/gregex\\.h") "glib.h")) #t)))
3461 ,@(package-arguments goffice)))
3463 ;; libgoffice-0.8.pc mentions libgsf-1
3464 `(("libgsf" ,libgsf)))
3467 ,@(alist-delete "gtk" (package-inputs goffice))))))
3469 (define-public gnumeric
3475 (uri (string-append "mirror://gnome/sources/gnumeric/"
3476 (version-major+minor version) "/"
3477 "gnumeric-" version ".tar.xz"))
3480 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3481 (build-system glib-or-gtk-build-system)
3483 `(;; The gnumeric developers don't worry much about failing tests.
3484 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3487 (modify-phases %standard-phases
3489 'configure 'pre-conf
3490 (lambda* (#:key outputs #:allow-other-keys)
3491 ;; Make install tries to write into the directory of goffice
3492 ;; I am informed that this only affects the possibility to embed a
3493 ;; spreadsheet inside an Abiword document. So presumably when we
3494 ;; package Abiword we'll have to refer it to this directory.
3495 (substitute* "configure"
3496 (("^GOFFICE_PLUGINS_DIR=.*")
3497 (string-append "GOFFICE_PLUGINS_DIR="
3498 (assoc-ref outputs "out")
3499 "/goffice/plugins"))))))))
3503 ("goffice" ,goffice)
3505 ("librsvg" ,librsvg)
3506 ("libxml2" ,libxml2)
3507 ("libxslt" ,libxslt)
3508 ("python" ,python-2)
3509 ("python2-pygobject" ,python2-pygobject)
3513 ("docbook-xml" ,docbook-xml)
3514 ("intltool" ,intltool)
3515 ("itstool" ,itstool)
3516 ("glib:bin" ,glib "bin")
3517 ("pkg-config" ,pkg-config)))
3518 (home-page "http://www.gnumeric.org")
3519 (synopsis "Spreadsheet application")
3521 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3522 interoperable with other spreadsheet applications. It has a vast array of
3523 features beyond typical spreadsheet functionality, such as support for linear
3524 and non-linear solvers, statistical analysis, and telecommunication
3527 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3528 (list license:gpl2 license:gpl3))))
3530 (define-public gnome-themes-standard
3532 (name "gnome-themes-standard")
3537 (uri (string-append "mirror://gnome/sources/" name "/"
3538 (version-major+minor version) "/" name "-"
3542 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3543 (build-system gnu-build-system)
3546 ;; Don't create 'icon-theme.cache'.
3547 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3548 (true (string-append coreutils "/bin/true")))
3549 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3553 ("librsvg" ,librsvg)
3554 ("libxml2" ,libxml2)
3557 `(("intltool" ,intltool)
3558 ("glib:bin" ,glib "bin")
3559 ("pkg-config" ,pkg-config)))
3560 (home-page "https://launchpad.net/gnome-themes-standard")
3561 (synopsis "Default GNOME 3 themes")
3563 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3564 (license license:lgpl2.1+)))
3566 (define-public seahorse
3573 (uri (string-append "mirror://gnome/sources/" name "/"
3574 (version-major+minor version) "/" name "-"
3578 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3579 (build-system meson-build-system)
3583 (modify-phases %standard-phases
3584 (add-after 'unpack 'skip-gtk-update-icon-cache
3585 ;; Don't create 'icon-theme.cache'.
3587 (substitute* "build-aux/meson_post_install.py"
3588 (("gtk-update-icon-cache") "true"))
3595 ("openldap" ,openldap)
3596 ("openssh" ,openssh)
3598 ("libpwquality" ,libpwquality)
3599 ("libsecret" ,libsecret)
3600 ("libsoup" ,libsoup)))
3602 `(("gettext" ,gettext-minimal)
3603 ("glib:bin" ,glib "bin")
3604 ("itstool" ,itstool)
3605 ("pkg-config" ,pkg-config)
3607 ("xmllint" ,libxml2)))
3608 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3609 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3611 "Seahorse is a GNOME application for managing encryption keys and
3612 passwords in the GNOME keyring.")
3613 (license license:gpl2+)))
3621 (uri (string-append "mirror://gnome/sources/" name "/"
3622 (version-major+minor version) "/"
3623 name "-" version ".tar.xz"))
3626 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3627 (build-system gnu-build-system)
3630 (modify-phases %standard-phases
3631 (add-before 'check 'pre-check
3634 (substitute* "valadoc/tests/testrunner.sh"
3635 (("export PKG_CONFIG_PATH=" m)
3636 (string-append m "$PKG_CONFIG_PATH:")))
3637 ;; For missing '/etc/machine-id'.
3638 (setenv "DBUS_FATAL_WARNINGS" "0")
3641 `(("pkg-config" ,pkg-config)
3644 ("xsltproc" ,libxslt)
3645 ("dbus" ,dbus) ; for dbus tests
3646 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3648 `(("graphviz" ,graphviz)))
3650 `(("glib" ,glib))) ; required by libvala-0.40.pc
3651 (home-page "https://live.gnome.org/Vala/")
3652 (synopsis "Compiler for the GObject type system")
3654 "Vala is a programming language that aims to bring modern programming
3655 language features to GNOME developers without imposing any additional runtime
3656 requirements and without using a different ABI compared to applications and
3657 libraries written in C.")
3658 (license license:lgpl2.1+)))
3660 (define-public vala-0.48
3666 (uri (string-append "mirror://gnome/sources/vala/"
3667 (version-major+minor version) "/"
3668 "vala-" version ".tar.xz"))
3671 "0lswkb7gj0chas9n3l3dbrm9l71hs77adhvm2v600id2ipi37pi8"))))))
3679 (uri (string-append "mirror://gnome/sources/vte/"
3680 (version-major+minor version) "/"
3681 "vte-" version ".tar.xz"))
3684 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
3685 (build-system meson-build-system)
3689 "-D_systemd=false")))
3691 `(("pkg-config" ,pkg-config)
3692 ("gettext" ,gettext-minimal)
3694 ("gobject-introspection" ,gobject-introspection)
3695 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3697 ("xmllint" ,libxml2)))
3699 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3700 ("gnutls" ,gnutls) ; ditto
3701 ("pcre2" ,pcre2))) ; ditto
3702 (home-page "https://www.gnome.org/")
3703 (synopsis "Virtual Terminal Emulator")
3705 "VTE is a library (libvte) implementing a terminal emulator widget for
3706 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3707 gnome-terminal, but can also be used to embed a console/terminal in games,
3708 editors, IDEs, etc.")
3709 (license license:lgpl2.1+)))
3711 (define-public vte-ng
3715 (version "0.58.2.a")
3716 (home-page "https://github.com/thestinger/vte-ng")
3719 (uri (git-reference (url home-page) (commit version)))
3720 (file-name (git-file-name name version))
3723 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3724 (build-system meson-build-system)
3726 `(("gtk-doc" ,gtk-doc)
3727 ,@(package-native-inputs vte)))
3729 `(#:configure-flags '("-Ddocs=true")))
3730 (synopsis "Enhanced VTE terminal widget")
3732 "VTE is a library (libvte) implementing a terminal emulator widget for
3733 GTK+, this fork provides additional functions exposed for keyboard text
3734 selection and URL hints.")))
3736 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
3737 (define-public vte/gtk+-2
3738 (package (inherit vte)
3743 (uri (string-append "mirror://gnome/sources/" name "/"
3744 (version-major+minor version) "/"
3745 name "-" version ".tar.xz"))
3748 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3749 (patches (search-patches
3750 "vte-CVE-2012-2738-pt1.patch"
3751 "vte-CVE-2012-2738-pt2.patch"))))
3752 (build-system gnu-build-system)
3754 '(#:configure-flags '("--disable-python")))
3756 `(("pkg-config" ,pkg-config)
3757 ("intltool" ,intltool)
3758 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3760 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3761 ("ncurses" ,ncurses))))) ; required by libvte.la
3763 (define-public vinagre
3769 (uri (string-append "mirror://gnome/sources/" name "/"
3770 (version-major+minor version) "/"
3771 name "-" version ".tar.xz"))
3772 (patches (search-patches "vinagre-newer-freerdp.patch"
3773 "vinagre-newer-rdp-parameters.patch"))
3776 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3777 (build-system glib-or-gtk-build-system)
3779 ;; Disable -Werror and such, to avoid build failures on compilation
3781 '(#:configure-flags '("--enable-compile-warnings=minimum")
3783 (modify-phases %standard-phases
3784 (add-before 'install 'skip-gtk-update-icon-cache
3786 ;; Don't create 'icon-theme.cache'
3787 (substitute* (find-files "." "^Makefile$")
3788 (("gtk-update-icon-cache") (which "true")))
3790 (add-after 'unpack 'patch-configure
3792 (substitute* "configure"
3793 (("freerdp") "freerdp2"))
3796 `(("pkg-config" ,pkg-config)
3797 ("intltool" ,intltool)
3798 ("itstool" ,itstool)
3799 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3801 `(("libxml2" ,libxml2)
3802 ("gtk-vnc" ,gtk-vnc)
3803 ("gnome-keyring" ,gnome-keyring)
3804 ("libsecret" ,libsecret)
3805 ("freerdp" ,freerdp)
3807 ("spice-gtk" ,spice-gtk)
3808 ("telepathy-glib" ,telepathy-glib)
3810 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3811 (synopsis "Remote desktop viewer for GNOME")
3812 (description "Vinagre is a remote display client supporting the VNC, SPICE
3813 and RDP protocols.")
3814 (license license:gpl3+)))
3816 (define-public dconf
3823 "mirror://gnome/sources/" name "/"
3824 (version-major+minor version) "/"
3825 name "-" version ".tar.xz"))
3826 (patches (search-patches "dconf-meson-0.52.patch"))
3829 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3830 (build-system meson-build-system)
3832 ;; In Requires of dconf.pc.
3838 `(("bash-completion" ,bash-completion)
3839 ("libxslt" ,libxslt) ;for xsltproc
3840 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3841 ("docbook-xml" ,docbook-xml-4.2)
3842 ("docbook-xsl" ,docbook-xsl)
3843 ("glib:bin" ,glib "bin")
3844 ("gtk-doc" ,gtk-doc)
3845 ("pkg-config" ,pkg-config)
3848 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3849 ; or /etc/machine-id.
3851 #:configure-flags '("-Denable-gtk-doc=true")))
3852 (home-page "https://developer.gnome.org/dconf/")
3853 (synopsis "Low-level GNOME configuration system")
3854 (description "Dconf is a low-level configuration system. Its main purpose
3855 is to provide a backend to GSettings on platforms that don't already have
3856 configuration storage systems.")
3857 (license license:lgpl2.1+)))
3859 (define-public json-glib
3865 (uri (string-append "mirror://gnome/sources/" name "/"
3866 (version-major+minor version) "/"
3867 name "-" version ".tar.xz"))
3870 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3871 (build-system meson-build-system)
3873 `(("gettext" ,gettext-minimal)
3874 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3875 ("gobject-introspection" ,gobject-introspection)
3876 ("pkg-config" ,pkg-config)))
3878 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3879 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3880 (synopsis "Compiler for the GObject type system")
3882 "JSON-GLib is a C library based on GLib providing serialization and
3883 deserialization support for the JavaScript Object Notation (JSON) format
3884 described by RFC 4627. It provides parser and generator GObject classes and
3885 various wrappers for the complex data types employed by JSON, such as arrays
3887 (license license:lgpl2.1+)))
3889 (define-public libxklavier
3891 (name "libxklavier")
3894 ;; Note: There's no tarball at ftp.gnome.org for this version.
3897 (url "https://anongit.freedesktop.org/git/libxklavier")
3898 (commit (string-append "libxklavier-" version))))
3901 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3902 (file-name (git-file-name name version))))
3903 (build-system gnu-build-system)
3906 (list (string-append "--with-xkb-base="
3907 (assoc-ref %build-inputs "xkeyboard-config")
3909 "--disable-xmodmap-support")))
3911 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3912 ("gobject-introspection" ,gobject-introspection)
3913 ("pkg-config" ,pkg-config)
3914 ("gtk-doc" ,gtk-doc)
3915 ("intltool" ,intltool)
3917 ("autoconf" ,autoconf)
3918 ("automake" ,automake)
3919 ("libtool" ,libtool)))
3921 ;; Required by libxklavier.pc.
3923 ("libxml2" ,libxml2)))
3925 `(("iso-codes" ,iso-codes)
3927 ("libxkbfile" ,libxkbfile)
3928 ("xkbcomp" ,xkbcomp)
3929 ("xkeyboard-config" ,xkeyboard-config)))
3930 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3931 (synopsis "High-level API for X Keyboard Extension")
3933 "LibXklavier is a library providing high-level API for X Keyboard
3934 Extension known as XKB. This library is intended to support XFree86 and other
3935 commercial X servers. It is useful for creating XKB-related software (layout
3937 (license license:lgpl2.0+)))
3939 (define-public python2-rsvg
3940 ;; XXX: This is actually a subset of gnome-python-desktop.
3942 (name "python2-rsvg")
3948 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3949 version ".tar.bz2"))
3952 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3953 (build-system gnu-build-system)
3955 `(("pkg-config" ,pkg-config)))
3957 `(("python" ,python-2)
3958 ("python2-pygtk" ,python2-pygtk)
3959 ("librsvg" ,librsvg)))
3960 (home-page "https://www.gnome.org")
3961 (synopsis "Python bindings to librsvg")
3963 "This package provides Python bindings to librsvg, the SVG rendering
3966 ;; This is the license of the rsvg bindings. The license of each module
3967 ;; of gnome-python-desktop is given in 'COPYING'.
3968 (license license:lgpl2.1+)))
3970 (define-public glib-networking
3972 (name "glib-networking")
3976 (uri (string-append "mirror://gnome/sources/glib-networking/"
3977 (version-major+minor version) "/"
3978 "glib-networking-" version ".tar.xz"))
3981 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3982 (build-system meson-build-system)
3984 `(#:configure-flags '("-Dlibproxy_support=false")))
3986 `(("pkg-config" ,pkg-config)
3987 ("intltool" ,intltool)))
3991 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3992 (home-page "https://www.gnome.org")
3993 (synopsis "Network-related GIO modules")
3995 "This package contains various network related extensions for the GIO
3997 (license license:lgpl2.0+)))
4005 (uri (string-append "mirror://gnome/sources/rest/"
4006 (version-major+minor version) "/"
4007 name "-" version ".tar.xz"))
4010 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4011 (build-system gnu-build-system)
4013 '(#:tests? #f ; tests require internet connection
4015 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4017 `(("glib-mkenums" ,glib "bin")
4018 ("gobject-introspection" ,gobject-introspection)
4019 ("pkg-config" ,pkg-config)))
4021 ;; rest-0.7.pc refers to all these.
4023 ("libsoup" ,libsoup)
4024 ("libxml2" ,libxml2)))
4025 (home-page "https://www.gtk.org/")
4026 (synopsis "RESTful web api query library")
4028 "This library was designed to make it easier to access web services that
4029 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4030 libxml to ease remote use of the RESTful API.")
4031 (license license:lgpl2.1+)))
4033 (define-public libsoup
4039 (uri (string-append "mirror://gnome/sources/libsoup/"
4040 (version-major+minor version) "/"
4041 "libsoup-" version ".tar.xz"))
4044 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
4045 (build-system meson-build-system)
4046 (outputs '("out" "doc"))
4048 `(#:modules ((guix build utils)
4049 (guix build meson-build-system)
4052 #:configure-flags '("-Dgtk_doc=true")
4054 (modify-phases %standard-phases
4055 (add-after 'unpack 'adjust-tests
4057 ;; This test fails due to missing /etc/nsswitch.conf
4058 ;; in the build environment.
4059 (substitute* "tests/socket-test.c"
4060 ((".*/sockets/unconnected.*") ""))
4062 ;; These fail because "subdomain.localhost" does not resolve in
4063 ;; the build environment.
4064 (substitute* "tests/hsts-test.c"
4065 ((".*/hsts/basic.*") "")
4066 ((".*/hsts/subdomains.*") "")
4067 ((".*/hsts/superdomain.*") "")
4068 ((".*/hsts/utf8-address.*") ""))
4069 (substitute* "tests/hsts-db-test.c"
4070 ((".*/hsts-db/subdomains.*") ""))
4072 ;; Generate a self-signed certificate that has "localhost" as its
4073 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4074 ;; 3.5.12, tests such as "ssl-tests" fail:
4076 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4078 ;; 'certtool' is interactive so we have to pipe it the answers.
4079 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4080 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4081 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4082 (for-each (lambda (line)
4087 "Guix" ;Organizational unit name
4088 "GNU" ;Organization name
4090 "" ;State or province
4092 "" ;subject's domain component (DC)
4095 "-1" ;expiration time
4096 "N" ;belong to authority?
4097 "N" ;web client certificate?
4099 "Y" ;web server certificate?
4100 "localhost" ;dnsName of subject
4101 "" ;dnsName of subject (end)
4103 "127.0.0.1" ;IP address of subject
4105 "" ;encryption (RSA)?
4106 "" ;data encryption?
4107 "" ;sign OCSP requests?
4110 "" ;email protection?
4111 "" ;URI of the CRL distribution point
4116 (add-after 'install 'move-doc
4117 (lambda* (#:key outputs #:allow-other-keys)
4118 (let ((out (assoc-ref outputs "out"))
4119 (doc (assoc-ref outputs "doc")))
4120 (mkdir-p (string-append doc "/share"))
4121 (copy-recursively (string-append out "/share/gtk-doc")
4122 (string-append doc "/share/gtk-doc"))
4123 (delete-file-recursively (string-append out "/share/gtk-doc"))
4126 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4127 ("gobject-introspection" ,gobject-introspection)
4128 ("gtk-doc" ,gtk-doc)
4129 ("intltool" ,intltool)
4130 ("pkg-config" ,pkg-config)
4131 ("python" ,python-wrapper)
4135 ("gnutls" ,gnutls) ;for 'certtool'
4138 ;; libsoup-2.4.pc refers to all these.
4139 `(("brotli" ,google-brotli)
4142 ("libxml2" ,libxml2)
4146 `(("glib-networking" ,glib-networking)
4147 ("mit-krb5" ,mit-krb5)))
4148 (home-page "https://live.gnome.org/LibSoup/")
4149 (synopsis "GLib-based HTTP Library")
4151 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4152 and the GLib main loop, to integrate well with GNOME applications.")
4153 (license license:lgpl2.0+)))
4156 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4157 (define-public libsoup-minimal
4160 (name "libsoup-minimal")
4161 (outputs (delete "doc" (package-outputs libsoup)))
4163 (substitute-keyword-arguments (package-arguments libsoup)
4164 ((#:configure-flags configure-flags)
4165 `(delete "-Dgtk_doc=true" ,configure-flags))
4167 `(modify-phases ,phases
4168 (delete 'move-doc)))))
4169 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4171 (define-public libsecret
4178 "mirror://gnome/sources/libsecret/"
4179 (version-major+minor version) "/"
4180 "libsecret-" version ".tar.xz"))
4183 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
4184 (build-system gnu-build-system)
4185 (outputs '("out" "doc"))
4187 `(#:tests? #f ; FIXME: Testing hangs.
4189 (list (string-append "--with-html-dir="
4190 (assoc-ref %outputs "doc")
4191 "/share/gtk-doc/html"))))
4193 `(("gettext" ,gettext-minimal)
4194 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4195 ("gobject-introspection" ,gobject-introspection)
4196 ("pkg-config" ,pkg-config)
4198 ("xsltproc" ,libxslt)))
4199 ;; These are needed for the tests.
4200 ;; FIXME: Add gjs once available.
4202 ;("python2" ,python-2)
4203 ;("python2-dbus" ,python2-dbus)
4204 ;("python2-pygobject" ,python2-pygobject)
4205 ;("python2-pygobject-2" ,python2-pygobject-2)))
4207 `(("glib" ,glib))) ; required by libsecret-1.pc
4209 `(("docbook-xsl" ,docbook-xsl)
4210 ("libgcrypt" ,libgcrypt)
4211 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4212 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4213 (synopsis "GObject bindings for \"Secret Service\" API")
4215 "Libsecret is a GObject based library for storing and retrieving passwords
4216 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4217 (license license:lgpl2.1+)))
4219 (define-public five-or-more
4221 (name "five-or-more")
4226 (uri (string-append "mirror://gnome/sources/five-or-more/"
4227 (version-major+minor version) "/"
4228 "five-or-more-" version ".tar.xz"))
4230 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4231 (build-system meson-build-system)
4235 (modify-phases %standard-phases
4236 (add-after 'unpack 'skip-gtk-update-icon-cache
4238 (substitute* "meson_post_install.py"
4239 (("gtk-update-icon-cache") (which "true")))
4242 `(("pkg-config" ,pkg-config)
4243 ("appstream-glib" ,appstream-glib)
4244 ("desktop-file-utils" ,desktop-file-utils)
4245 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4246 ("intltool" ,intltool)
4247 ("itstool" ,itstool)
4249 ("xmllint" ,libxml2)))
4252 ("libgnome-games-support" ,libgnome-games-support)
4253 ("librsvg" ,librsvg)))
4254 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4255 (synopsis "Logic puzzle game")
4256 (description "Five or More is a game where you try to align
4257 five or more objects of the same color and shape causing them to disappear.
4258 On every turn more objects will appear, until the board is full.
4259 Try to last as long as possible.")
4260 (license license:gpl2+)))
4262 (define-public gnome-mines
4264 (name "gnome-mines")
4269 (uri (string-append "mirror://gnome/sources/" name "/"
4270 (version-major+minor version) "/"
4271 name "-" version ".tar.xz"))
4274 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
4275 (build-system meson-build-system)
4279 (modify-phases %standard-phases
4280 (add-after 'unpack 'skip-gtk-update-icon-cache
4282 (substitute* "build-aux/meson_post_install.py"
4283 (("gtk-update-icon-cache") (which "true")))
4286 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4287 ("pkg-config" ,pkg-config)
4288 ("desktop-file-utils" ,desktop-file-utils)
4289 ("intltool" ,intltool)
4290 ("itstool" ,itstool)
4293 ("appstream-glib" ,appstream-glib)))
4296 ("libgnome-games-support" ,libgnome-games-support)
4297 ("librsvg" ,librsvg)))
4298 (home-page "https://wiki.gnome.org/Apps/Mines")
4299 (synopsis "Minesweeper game")
4301 "Mines (previously gnomine) is a puzzle game where you locate mines
4302 floating in an ocean using only your brain and a little bit of luck.")
4303 (license license:gpl2+)))
4305 (define-public gnome-multi-writer
4307 (name "gnome-multi-writer")
4312 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
4313 (version-major+minor version) "/"
4314 "gnome-multi-writer-" version ".tar.xz"))
4317 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
4318 (build-system meson-build-system)
4322 (modify-phases %standard-phases
4323 (add-after 'unpack 'skip-post-install
4325 (substitute* "meson.build"
4326 (("meson.add_install_script" &) (string-append "# " &)))
4329 `(("glib:bin" ,glib "bin")
4330 ("pkg-config" ,pkg-config)))
4333 ("glib" ,glib) ; for gio
4336 ("libgudev" ,libgudev)
4337 ("libcanberra" ,libcanberra)
4338 ("polkit" ,polkit)))
4339 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
4340 (synopsis "Write to multiple USB devices at once")
4342 "MultiWriter can be used to write an ISO file to multiple USB devices at
4344 (license license:gpl2+)))
4346 (define-public gnome-sudoku
4348 (name "gnome-sudoku")
4353 (uri (string-append "mirror://gnome/sources/" name "/"
4354 (version-major+minor version) "/"
4355 name "-" version ".tar.xz"))
4358 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
4359 (build-system meson-build-system)
4363 (modify-phases %standard-phases
4364 (add-after 'unpack 'skip-gtk-update-icon-cache
4366 (substitute* "build-aux/post_install.py"
4367 (("gtk-update-icon-cache") (which "true")))
4370 `(("pkg-config" ,pkg-config)
4371 ("desktop-file-utils" ,desktop-file-utils)
4372 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4373 ("intltool" ,intltool)
4374 ("itstool" ,itstool)
4376 ("xmllint" ,libxml2)))
4379 ("json-glib" ,json-glib)
4381 ("librsvg" ,librsvg)
4382 ("qqwing" ,qqwing)))
4383 (home-page "https://wiki.gnome.org/Apps/Sudoku")
4384 (synopsis "Japanese logic game")
4386 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
4387 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
4388 possible while still providing features that make playing difficult Sudoku
4390 (license license:gpl2+)))
4392 (define-public gnome-terminal
4394 (name "gnome-terminal")
4399 (uri (string-append "mirror://gnome/sources/" name "/"
4400 (version-major+minor version) "/"
4401 name "-" version ".tar.xz"))
4404 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
4405 (build-system glib-or-gtk-build-system)
4408 (list "--disable-migration" "--disable-search-provider"
4409 "--without-nautilus-extension")
4411 (modify-phases %standard-phases
4412 (add-before 'configure 'patch-/bin/true
4414 (substitute* "configure"
4415 (("/bin/true") (which "true"))))))))
4417 `(("pkg-config" ,pkg-config)
4418 ("desktop-file-utils" ,desktop-file-utils)
4419 ("intltool" ,intltool)
4420 ("itstool" ,itstool)
4421 ("xmllint" ,libxml2)))
4423 `(("dconf" ,dconf)))
4428 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4429 ("util-linux" ,util-linux "lib")
4431 (home-page "https://wiki.gnome.org/Apps/Terminal")
4432 (synopsis "Terminal emulator")
4434 "GNOME Terminal is a terminal emulator application for accessing a
4435 UNIX shell environment which can be used to run programs available on
4438 It supports several profiles, multiple tabs and implements several
4439 keyboard shortcuts.")
4440 (license license:gpl3+)))
4442 (define-public colord
4449 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
4450 "colord-" version ".tar.xz"))
4452 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
4453 (build-system meson-build-system)
4455 '(;; FIXME: One test fails:
4456 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4457 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4458 ;; application/x-zerosize
4461 #:configure-flags (list "-Dlocalstatedir=/var"
4462 ;; No dep on systemd.
4464 ;; Wants to install to global completion dir;
4466 "-Dbash_completion=false"
4467 "-Ddaemon_user=colord"
4470 ;; Requires spotread.
4471 "-Dargyllcms_sensor=false"
4472 ;; TODO: Requires docbook2x.
4475 (modify-phases %standard-phases
4476 (add-before 'configure 'patch-build-system
4477 (lambda* (#:key outputs #:allow-other-keys)
4478 (substitute* "rules/meson.build"
4479 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4480 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4482 (add-before 'configure 'set-sqlite3-file-name
4483 (lambda* (#:key inputs #:allow-other-keys)
4484 ;; "colormgr dump" works by invoking the "sqlite3" command.
4485 ;; Record its absolute file name.
4486 (let ((sqlite (assoc-ref inputs "sqlite")))
4487 (substitute* "client/cd-util.c"
4489 (string-append "\"" sqlite "/bin/sqlite3\"")))
4492 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4493 ("gettext" ,gettext-minimal)
4494 ("gobject-introspection" ,gobject-introspection)
4495 ("gtk-doc" ,gtk-doc)
4496 ("pkg-config" ,pkg-config)
4499 ;; colord.pc refers to all these.
4504 `(("dbus-glib" ,dbus-glib)
4506 ("libgudev" ,libgudev)
4509 ("python" ,python-wrapper)
4511 ("sane-backends" ,sane-backends)))
4512 (home-page "https://www.freedesktop.org/software/colord/")
4513 (synopsis "Color management service")
4514 (description "Colord is a system service that makes it easy to manage,
4515 install and generate color profiles to accurately color manage input and
4517 (license license:gpl2+)))
4519 (define-public geoclue
4527 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4528 version "/geoclue-" version ".tar.bz2"))
4530 (base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
4531 (patches (search-patches "geoclue-config.patch"))))
4532 (build-system meson-build-system)
4534 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4536 `(("pkg-config" ,pkg-config)
4537 ("gobject-introspection" ,gobject-introspection)
4538 ("modem-manager" ,modem-manager)
4539 ("libnotify" ,libnotify)
4540 ("gtk-doc", gtk-doc)
4541 ("intltool" ,intltool)))
4544 ("glib:bin" ,glib "bin")
4545 ("glib-networking" ,glib-networking)
4546 ("json-glib" ,json-glib)
4547 ("libsoup" ,libsoup)))
4548 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4549 (synopsis "Geolocation service")
4550 (description "Geoclue is a D-Bus service that provides location
4551 information. The primary goal of the Geoclue project is to make creating
4552 location-aware applications as simple as possible, while the secondary goal is
4553 to ensure that no application can access location information without explicit
4554 permission from user.")
4555 (license license:gpl2+)))
4557 (define-public geocode-glib
4559 (name "geocode-glib")
4563 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4564 (version-major+minor version) "/"
4565 "geocode-glib-" version ".tar.xz"))
4568 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4569 (build-system meson-build-system)
4572 (modify-phases %standard-phases
4573 ;; The tests require a bunch of locales.
4574 (add-before 'check 'set-locales
4575 (lambda* (#:key inputs #:allow-other-keys)
4576 (setenv "GUIX_LOCPATH"
4577 (string-append (assoc-ref inputs "glibc-locales")
4581 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4582 ("glibc-locales" ,glibc-locales) ; for tests
4583 ("gettext" ,gettext-minimal)
4584 ("gobject-introspection" ,gobject-introspection)
4585 ("gtk-doc" ,gtk-doc)
4586 ("pkg-config" ,pkg-config)
4587 ("json-glib" ,json-glib)))
4589 ;; geocode-glib-1.0.pc refers to GIO.
4592 `(("libsoup" ,libsoup)))
4593 (home-page "https://github.com/GNOME/geocode-glib/")
4594 (synopsis "Geocoding and reverse-geocoding library")
4596 "geocode-glib is a convenience library for geocoding (finding longitude,
4597 and latitude from an address) and reverse geocoding (finding an address from
4598 coordinates) using the Nominatim service. geocode-glib caches requests for
4599 faster results and to avoid unnecessary server load.")
4600 (license license:lgpl2.0+)))
4602 (define-public upower
4608 (uri (string-append "https://upower.freedesktop.org/releases/"
4609 "upower-" version ".tar.xz"))
4612 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4613 (patches (search-patches "upower-builddir.patch"))
4614 (modules '((guix build utils)))
4618 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4619 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4620 ;; 'dbus-configuration-directory' in (gnu services dbus)
4621 ;; expects it in etc/. Thus, move it back to its previous
4623 (substitute* "src/Makefile.in"
4624 (("^dbusconfdir =.*$")
4625 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4627 (build-system glib-or-gtk-build-system)
4630 (modify-phases %standard-phases
4631 (add-before 'check 'pre-check
4632 (lambda* (#:key inputs #:allow-other-keys)
4633 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
4635 (setenv "LD_LIBRARY_PATH" umockdev))
4637 #:configure-flags (list "--localstatedir=/var"
4638 (string-append "--with-udevrulesdir="
4639 (assoc-ref %outputs "out")
4640 "/lib/udev/rules.d"))))
4642 `(("gobject-introspection" ,gobject-introspection)
4643 ("pkg-config" ,pkg-config)
4644 ("intltool" ,intltool)
4648 ("python-dbus" ,python-dbus)
4649 ("python-dbusmock" ,python-dbusmock)
4650 ("python-pygobject" ,python-pygobject)
4651 ("umockdev" ,umockdev)
4654 ("libxslt" ,libxslt) ;for 'xsltproc'
4655 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4656 ("docbook-xsl" ,docbook-xsl)))
4658 `(("dbus-glib" ,dbus-glib)
4659 ("libgudev" ,libgudev)
4660 ("libusb" ,libusb)))
4662 ;; In Requires of upower-glib.pc.
4664 (home-page "https://upower.freedesktop.org/")
4665 (synopsis "System daemon for managing power devices")
4667 "UPower is an abstraction for enumerating power devices,
4668 listening to device events and querying history and statistics. Any
4669 application or service on the system can access the org.freedesktop.UPower
4670 service via the system message bus.")
4671 (license license:gpl2+)))
4673 (define-public libgweather
4675 (name "libgweather")
4679 (uri (string-append "mirror://gnome/sources/" name "/"
4680 (version-major+minor version) "/"
4681 name "-" version ".tar.xz"))
4684 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4685 (build-system meson-build-system)
4687 `(#:tests? #f ; one of two tests requires network access
4689 `(,(string-append "-Dzoneinfo_dir="
4690 (assoc-ref %build-inputs "tzdata")
4691 "/share/zoneinfo"))))
4693 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4694 ("gobject-introspection" ,gobject-introspection)
4695 ("pkg-config" ,pkg-config)
4697 ("intltool" ,intltool)))
4699 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4702 ("gdk-pixbuf" ,gdk-pixbuf)
4703 ("libxml2" ,libxml2)
4704 ("libsoup" ,libsoup)
4705 ("geocode-glib" ,geocode-glib)))
4707 `(("tzdata" ,tzdata)))
4708 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4709 (synopsis "Location, time zone, and weather library for GNOME")
4711 "libgweather is a library to access weather information from online
4712 services for numerous locations.")
4713 (license license:gpl2+)))
4715 (define-public gnome-settings-daemon
4717 (name "gnome-settings-daemon")
4722 (uri (string-append "mirror://gnome/sources/" name "/"
4723 (version-major+minor version) "/"
4724 name "-" version ".tar.xz"))
4727 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4728 (build-system meson-build-system)
4732 (list (string-append "-Dudev_dir="
4733 (assoc-ref %outputs "out")
4734 "/lib/udev/rules.d/")
4736 ;; Otherwise, the RUNPATH will lack the final path component.
4737 (string-append "-Dc_link_args=-Wl,-rpath="
4738 (assoc-ref %outputs "out")
4739 "/lib/gnome-settings-daemon-3.0"))
4740 ;; Color management test can't reach the colord system service.
4743 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4744 ("pkg-config" ,pkg-config)
4745 ("intltool" ,intltool)
4746 ("xsltproc" ,libxslt)
4747 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4748 ("docbook-xml" ,docbook-xml-4.2)
4749 ("docbook-xsl" ,docbook-xsl)))
4751 `(("alsa-lib" ,alsa-lib)
4753 ("libgudev" ,libgudev)
4756 ("pulseaudio" ,pulseaudio)
4757 ("libcanberra" ,libcanberra)
4759 ("libxtst" ,libxtst)
4761 ("libnotify" ,libnotify)
4762 ("geoclue" ,geoclue)
4763 ("geocode-glib" ,geocode-glib)
4764 ("libgweather" ,libgweather)
4765 ("gnome-desktop" ,gnome-desktop)
4768 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4769 ("libwacom" ,libwacom)
4770 ("librsvg" ,librsvg)
4771 ("xf86-input-wacom" ,xf86-input-wacom)
4772 ("wayland" ,wayland)
4773 ("network-manager" ,network-manager)
4775 ("modem-manager" ,modem-manager)))
4776 (home-page "https://www.gnome.org")
4777 (synopsis "GNOME settings daemon")
4779 "This package contains the daemon responsible for setting the various
4780 parameters of a GNOME session and the applications that run under it. It
4781 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4782 settings, themes, mouse settings, and startup of other daemons.")
4783 (license license:gpl2+)))
4785 (define-public totem-pl-parser
4787 (name "totem-pl-parser")
4791 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4792 (version-major+minor version) "/"
4793 "totem-pl-parser-" version ".tar.xz"))
4796 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4797 (build-system meson-build-system)
4799 ;; FIXME: Tests require gvfs.
4802 `(("intltool" ,intltool)
4803 ("glib" ,glib "bin")
4804 ("gobject-introspection" ,gobject-introspection)
4805 ("pkg-config" ,pkg-config)))
4809 ("libarchive" ,libarchive)
4810 ("libgcrypt" ,libgcrypt)
4811 ("libxml2" ,libxml2)))
4813 `(("libsoup" ,libsoup)))
4814 (home-page "https://projects.gnome.org/totem")
4815 (synopsis "Library to parse and save media playlists for GNOME")
4816 (description "Totem-pl-parser is a GObjects-based library to parse and save
4817 playlists in a variety of formats.")
4818 (license license:lgpl2.0+)))
4820 (define-public aisleriot
4826 (uri (string-append "mirror://gnome/sources/aisleriot/"
4827 (version-major+minor version) "/"
4828 "aisleriot-" version ".tar.xz"))
4831 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4832 (build-system glib-or-gtk-build-system)
4835 '("--with-platform=gtk-only"
4836 "--with-card-theme-formats=svg")))
4838 `(("desktop-file-utils" ,desktop-file-utils)
4839 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4840 ("intltool" ,intltool)
4841 ("itstool" ,itstool)
4842 ("pkg-config" ,pkg-config)
4843 ("xmllint" ,libxml2)))
4846 ("guile" ,guile-2.2)
4847 ("libcanberra" ,libcanberra)
4848 ("librsvg" ,librsvg)))
4849 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4850 (synopsis "Solitaire card games")
4852 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4853 which are easy to play with the aid of a mouse.")
4854 (license license:gpl3+)))
4862 (uri (string-append "mirror://gnome/sources/amtk/"
4863 (version-major+minor version) "/"
4864 "amtk-" version ".tar.xz"))
4867 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4868 (build-system gnu-build-system)
4870 '(#:configure-flags '("--enable-gtk-doc")))
4872 `(("gobject-introspection" ,gobject-introspection)
4873 ("glib:bin" ,glib "bin") ; for glib-mkenums
4874 ("gtk-doc" ,gtk-doc)
4875 ("pkg-config" ,pkg-config)))
4879 (home-page "https://wiki.gnome.org/Projects/Amtk")
4880 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4882 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4883 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4884 both a traditional UI or a modern UI with a GtkHeaderBar.")
4885 (license license:lgpl2.1+)))
4887 (define-public devhelp
4893 (uri (string-append "mirror://gnome/sources/" name "/"
4894 (version-major+minor version) "/"
4895 name "-" version ".tar.xz"))
4898 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4899 (build-system meson-build-system)
4903 (modify-phases %standard-phases
4904 (add-after 'unpack 'skip-gtk-update-icon-cache
4905 ;; Don't create 'icon-theme.cache'.
4907 (substitute* "meson_post_install.py"
4908 (("gtk-update-icon-cache") "true"))
4911 `(("intltool" ,intltool)
4912 ("itstool" ,itstool)
4913 ("gobject-introspection" ,gobject-introspection)
4914 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4915 ("pkg-config" ,pkg-config)))
4918 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4919 ("webkitgtk" ,webkitgtk)))
4920 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4921 (synopsis "API documentation browser for GNOME")
4923 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4924 natively with GTK-Doc (the API reference system developed for GTK+ and used
4925 throughout GNOME for API documentation).")
4926 (license license:gpl2+)))
4935 (uri (string-append "mirror://gnome/sources/cogl/"
4936 (version-major+minor version) "/"
4937 "cogl-" version ".tar.xz"))
4939 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
4940 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4941 ;; cogl, corresponding changes may be appropriate in mutter as well.
4942 (build-system gnu-build-system)
4944 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4945 ("gobject-introspection" ,gobject-introspection)
4946 ("xorg-server" ,xorg-server-for-tests)
4947 ("pkg-config" ,pkg-config)))
4950 ("gdk-pixbuf" ,gdk-pixbuf)
4952 ("libxext" ,libxext)
4953 ("libxfixes" ,libxfixes)
4954 ("libxdamage" ,libxdamage)
4955 ("libxcomposite" ,libxcomposite)
4956 ("libxrandr" ,libxrandr)))
4961 ("gstreamer" ,gstreamer)
4962 ("gst-plugins-base" ,gst-plugins-base)
4963 ("wayland" ,wayland)))
4965 `(#:disallowed-references (,xorg-server-for-tests)
4966 #:configure-flags (list "--enable-cogl-gst"
4967 "--enable-wayland-egl-platform"
4968 "--enable-wayland-egl-server"
4970 ;; Arrange to pass an absolute file name to
4971 ;; dlopen for libGL.so.
4972 (string-append "--with-gl-libname="
4973 (assoc-ref %build-inputs "mesa")
4976 (modify-phases %standard-phases
4977 (add-after 'unpack 'fix-build-with-mesa-20
4979 ;; Work around a problem with Mesa 20 where some macros used by
4980 ;; Cogl went missing from eglext.h. This can likely be removed
4981 ;; for newer versions of Cogl or Mesa.
4982 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
4983 (substitute* '("configure"
4984 "cogl/winsys/cogl-winsys-egl-kms.c")
4985 (("#include <EGL/eglext.h>" all)
4986 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
4988 (add-before 'check 'start-xorg-server
4989 (lambda* (#:key tests? inputs #:allow-other-keys)
4992 ;; The test suite requires a running X server.
4993 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
4994 (assoc-ref inputs "xorg-server")))
4995 (setenv "DISPLAY" ":1")
4997 (format #t "test suite not run~%"))
4999 (home-page "https://www.cogl3d.org")
5000 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5002 "Cogl is a small library for using 3D graphics hardware to draw pretty
5003 pictures. The API departs from the flat state machine style of OpenGL and is
5004 designed to make it easy to write orthogonal components that can render
5005 without stepping on each others toes.")
5006 (license (list license:expat ; most of the code
5007 license:bsd-3 ; cogl/cogl-point-in-poly.c
5008 license:sgifreeb2.0 ; cogl-path/tesselator/
5009 license:asl2.0)))) ; examples/android/
5011 (define-public clutter
5018 (uri (string-append "mirror://gnome/sources/" name "/"
5019 (version-major+minor version) "/"
5020 name "-" version ".tar.xz"))
5023 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5024 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5025 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5026 (build-system gnu-build-system)
5028 "doc")) ;9 MiB of gtk-doc HTML pages
5030 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5031 ("gobject-introspection" ,gobject-introspection)
5032 ("pkg-config" ,pkg-config)
5033 ("xsltproc" ,libxslt)))
5039 ("json-glib" ,json-glib)
5041 ("libxcomposite" ,libxcomposite)
5042 ("libxdamage" ,libxdamage)
5043 ("libxext" ,libxext)
5044 ("xinput" ,xinput)))
5046 `(("libxkbcommon" ,libxkbcommon)
5049 `(#:configure-flags (list "--enable-x11-backend=yes"
5051 ;; This produces share/doc/{clutter,cally}.
5052 (string-append "--with-html-dir="
5053 (assoc-ref %outputs "doc")
5055 ;; XXX FIXME: Get test suite working. It would probably fail in the
5056 ;; same way the cogl tests fail, since clutter is based on cogl.
5058 (home-page "http://www.clutter-project.org")
5059 (synopsis "OpenGL-based interactive canvas library")
5061 "Clutter is an OpenGL-based interactive canvas library, designed for
5062 creating fast, mainly 2D single window applications such as media box UIs,
5063 presentations, kiosk style applications and so on.")
5064 (license license:lgpl2.0+)))
5066 (define-public clutter-gtk
5068 (name "clutter-gtk")
5073 (uri (string-append "mirror://gnome/sources/" name "/"
5074 (version-major+minor version) "/"
5075 name "-" version ".tar.xz"))
5078 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5079 (build-system gnu-build-system)
5081 `(("pkg-config" ,pkg-config)
5082 ("gobject-introspection" ,gobject-introspection)))
5084 ;; clutter-gtk.pc refers to all these.
5085 `(("clutter" ,clutter)
5087 (home-page "http://www.clutter-project.org")
5088 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5090 "Clutter is an OpenGL-based interactive canvas library, designed for
5091 creating fast, mainly 2D single window applications such as media box UIs,
5092 presentations, kiosk style applications and so on.")
5093 (license license:lgpl2.0+)))
5095 (define-public clutter-gst
5097 (name "clutter-gst")
5102 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5103 (version-major+minor version) "/"
5104 "clutter-gst-" version ".tar.xz"))
5106 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5107 (build-system gnu-build-system)
5109 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5110 ("pkg-config" ,pkg-config)
5111 ("gobject-introspection" ,gobject-introspection)))
5113 `(("clutter" ,clutter)
5114 ("gstreamer" ,gstreamer)
5115 ("gst-plugins-base" ,gst-plugins-base)))
5116 (home-page "http://www.clutter-project.org")
5117 (synopsis "Integration library for using GStreamer with Clutter")
5119 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5120 It provides a GStreamer sink to upload frames to GL and an actor that
5121 implements the ClutterGstPlayer interface using playbin. Clutter is an
5122 OpenGL-based interactive canvas library.")
5123 (license license:lgpl2.0+)))
5125 (define-public libchamplain
5127 (name "libchamplain")
5132 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5136 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5137 (build-system gnu-build-system)
5138 (arguments '(#:configure-flags '("--enable-vala")))
5140 `(("gobject-introspection" ,gobject-introspection)
5141 ("pkg-config" ,pkg-config)
5144 `(("libsoup" ,libsoup)
5146 ("clutter" ,clutter)
5147 ("clutter-gtk" ,clutter-gtk)
5148 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5152 (home-page "https://projects.gnome.org/libchamplain/")
5153 (synopsis "C library providing a ClutterActor to display maps")
5155 "libchamplain is a C library providing a ClutterActor to display maps.
5156 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5157 and Perl bindings are also available. It supports numerous free map sources
5158 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5159 (license license:lgpl2.1+)))
5168 (uri (string-append "mirror://gnome/sources/gom/"
5169 (version-major+minor version) "/"
5170 "gom-" version ".tar.xz"))
5173 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5174 (build-system gnu-build-system)
5176 `(("intltool" ,intltool)
5177 ("pkg-config" ,pkg-config)
5178 ("gobject-introspection" ,gobject-introspection)))
5181 ("gdk-pixbuf" ,gdk-pixbuf)
5182 ("sqlite" ,sqlite)))
5183 ;; XXX TODO: Figure out how to run the test suite.
5184 (arguments `(#:tests? #f))
5185 (home-page "https://wiki.gnome.org/Projects/Gom")
5186 (synopsis "Object mapper from GObjects to SQLite")
5188 "Gom provides an object mapper from GObjects to SQLite. It helps you
5189 write applications that need to store structured data as well as make complex
5190 queries upon that data.")
5191 (license license:lgpl2.1+)))
5193 (define-public libgnome-games-support
5195 (name "libgnome-games-support")
5199 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5200 (version-major+minor version) "/"
5201 "libgnome-games-support-" version ".tar.xz"))
5204 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5205 (build-system gnu-build-system)
5208 (modify-phases %standard-phases
5209 (add-before 'check 'pre-check
5211 ;; Tests require a writable HOME.
5212 (setenv "HOME" (getcwd))
5215 `(("intltool" ,intltool)
5216 ("pkg-config" ,pkg-config)
5219 ;; Required by libgnome-games-support-1.0.pc
5221 ("libgee" ,libgee)))
5222 (home-page "https://www.gnome.org/")
5223 (synopsis "Useful functionality shared among GNOME games")
5225 "libgnome-games-support is a small library intended for internal use by
5226 GNOME Games, but it may be used by others.")
5227 (license license:lgpl3+)))
5229 (define-public gnome-klotski
5231 (name "gnome-klotski")
5235 (uri (string-append "mirror://gnome/sources/" name "/"
5236 (version-major+minor version) "/"
5237 name "-" version ".tar.xz"))
5240 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5241 (build-system meson-build-system)
5245 (modify-phases %standard-phases
5246 (add-after 'unpack 'skip-gtk-update-icon-cache
5247 ;; Don't create 'icon-theme.cache'.
5249 (substitute* "build-aux/meson_post_install.py"
5250 (("gtk-update-icon-cache") (which "true")))
5253 `(("desktop-file-utils" ,desktop-file-utils)
5254 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5255 ("intltool" ,intltool)
5256 ("itstool" ,itstool)
5257 ("pkg-config" ,pkg-config)
5259 ("xmllint" ,libxml2)))
5262 ("libgnome-games-support" ,libgnome-games-support)
5263 ("librsvg" ,librsvg)))
5264 (home-page "https://wiki.gnome.org/Apps/Klotski")
5265 (synopsis "Sliding block puzzles")
5267 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
5268 the patterned block to the area bordered by green markers. To do so, you will
5269 need to slide other blocks out of the way. Complete each puzzle in as few moves
5271 (license license:gpl2+)))
5273 (define-public grilo
5280 (uri (string-append "mirror://gnome/sources/" name "/"
5281 (version-major+minor version) "/"
5282 name "-" version ".tar.xz"))
5285 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
5286 (build-system meson-build-system)
5288 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
5289 ("intltool" ,intltool)
5290 ("pkg-config" ,pkg-config)
5291 ("gobject-introspection" ,gobject-introspection)
5292 ("gtk-doc" ,gtk-doc)
5295 `(("cyrus-sasl" ,cyrus-sasl)
5298 ("libxml2" ,libxml2)
5299 ("liboauth" ,liboauth)
5300 ("libsoup" ,libsoup)
5301 ("totem-pl-parser" ,totem-pl-parser)))
5302 (native-search-paths
5303 (list (search-path-specification
5304 (variable "GRL_PLUGIN_PATH")
5305 (files (list (string-append "lib/grilo-"
5306 (version-major+minor version)))))))
5307 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
5308 (synopsis "Framework for discovering and browsing media")
5310 "Grilo is a framework focused on making media discovery and browsing easy
5311 for application developers.")
5312 (license license:lgpl2.1+)))
5314 (define-public grilo-plugins
5316 (name "grilo-plugins")
5321 (uri (string-append "mirror://gnome/sources/" name "/"
5322 (version-major+minor version) "/"
5323 name "-" version ".tar.xz"))
5326 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
5327 (build-system meson-build-system)
5329 `(("gettext" ,gettext-minimal)
5330 ("glib:bin" ,glib "bin")
5331 ("gtk+:bin" ,gtk+ "bin")
5332 ("itstool" ,itstool)
5333 ("pkg-config" ,pkg-config)))
5334 ;; TODO: ahavi, gstreamer
5337 ;("gmime" ,gmime) ; unused
5338 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5340 ;("gssdp" ,gssdp) ; unused
5341 ;("gupnp" ,gupnp) ; unused
5342 ;("gupnp-av" ,gupnp-av) ; unused
5343 ("json-glib" ,json-glib)
5345 ("libgdata" ,libgdata)
5346 ("libmediaart" ,libmediaart)
5347 ;("librest" ,rest) ; unused
5348 ("libsoup" ,libsoup)
5349 ("totam-pl-parser" ,totem-pl-parser)
5350 ("tracker" ,tracker))) ; unused because it's too old
5353 ;;Disable lua-factory as it needs missing dependencies
5354 #:configure-flags '("-Denable-lua-factory=no")))
5355 (home-page "https://live.gnome.org/Grilo")
5356 (synopsis "Plugins for the Grilo media discovery library")
5358 "Grilo is a framework focused on making media discovery and browsing easy
5359 for application developers. This package provides plugins for common media
5360 discovery protocols.")
5361 (license license:lgpl2.1+)))
5363 (define-public totem
5370 (uri (string-append "mirror://gnome/sources/totem/"
5371 (version-major+minor version) "/"
5372 "totem-" version ".tar.xz"))
5375 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
5376 (build-system meson-build-system)
5378 `(("pkg-config" ,pkg-config)
5379 ("desktop-file-utils" ,desktop-file-utils)
5380 ("gobject-introspection" ,gobject-introspection)
5381 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
5382 ("intltool" ,intltool)
5383 ("itstool" ,itstool)
5384 ("xmllint" ,libxml2)
5385 ("xorg-server" ,xorg-server-for-tests)))
5387 `(("dconf" ,dconf)))
5390 ("gdk-pixbuf" ,gdk-pixbuf)
5393 ("dbus-glib" ,dbus-glib)
5394 ("clutter" ,clutter)
5395 ("clutter-gtk" ,clutter-gtk)
5396 ("clutter-gst" ,clutter-gst)
5397 ("xorgproto" ,xorgproto)
5398 ("libxxf86vm" ,libxxf86vm)
5399 ("libxtst" ,libxtst)
5400 ("libxrandr" ,libxrandr)
5401 ("libxml2" ,libxml2)
5402 ("libsoup" ,libsoup)
5403 ("libpeas" ,libpeas)
5404 ("librsvg" ,librsvg)
5406 ("gnome-desktop" ,gnome-desktop)
5407 ("gstreamer" ,gstreamer)
5408 ("gst-plugins-base" ,gst-plugins-base)
5409 ("gst-plugins-good" ,gst-plugins-good)
5410 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5411 ("adwaita-icon-theme" ,adwaita-icon-theme)
5413 ("python-pygobject" ,python-pygobject)
5414 ("totem-pl-parser" ,totem-pl-parser)
5416 ("grilo-plugins" ,grilo-plugins)
5421 ;; Disable automatic GStreamer plugin installation via PackageKit and
5423 #:configure-flags '("-D" "enable-easy-codec-installation=no"
5425 ;; Do not build .a files for the plugins, it's
5426 ;; completely useless. This saves 2 MiB.
5427 "--default-library" "shared")
5429 (modify-phases %standard-phases
5430 (add-after 'unpack 'skip-gtk-update-icon-cache
5431 ;; Don't create 'icon-theme.cache'.
5433 (substitute* "meson_post_install.py"
5434 (("gtk-update-icon-cache") "true"))
5437 'install 'disable-cache-generation
5439 (setenv "DESTDIR" "/")
5444 ;; Tests require a running X server.
5445 (system "Xvfb :1 &")
5446 (setenv "DISPLAY" ":1")
5449 'install 'wrap-totem
5450 (lambda* (#:key inputs outputs #:allow-other-keys)
5451 (let ((out (assoc-ref outputs "out"))
5452 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5453 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5454 (wrap-program (string-append out "/bin/totem")
5455 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5456 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5457 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5458 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
5460 (home-page "https://wiki.gnome.org/Apps/Videos")
5461 (synopsis "Simple media player for GNOME based on GStreamer")
5462 (description "Totem is a simple yet featureful media player for GNOME
5463 which can read a large number of file formats.")
5464 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5465 ;; to be used and distributed together with GStreamer and Totem. See
5466 ;; file://COPYING in the source distribution for details.
5467 (license license:gpl2+)))
5469 (define-public rhythmbox
5475 (uri (string-append "mirror://gnome/sources/rhythmbox/"
5476 (version-major+minor version) "/"
5477 "rhythmbox-" version ".tar.xz"))
5480 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5481 (build-system glib-or-gtk-build-system)
5484 (list "--enable-lirc"
5491 (modify-phases %standard-phases
5493 'install 'wrap-rhythmbox
5494 (lambda* (#:key inputs outputs #:allow-other-keys)
5495 (let ((out (assoc-ref outputs "out"))
5496 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5497 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5498 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5499 (python-path (getenv "PYTHONPATH")))
5500 (wrap-program (string-append out "/bin/rhythmbox")
5501 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5502 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5503 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5504 `("PYTHONPATH" ":" prefix (,python-path))))
5507 `(("dconf" ,dconf)))
5509 `(("itstool" ,itstool)
5510 ("intltool" ,intltool)
5511 ("glib" ,glib "bin")
5512 ("gobject-introspection" ,gobject-introspection)
5513 ("desktop-file-utils" ,desktop-file-utils)
5514 ("pkg-config" ,pkg-config)
5515 ("xmllint" ,libxml2)))
5517 `(("json-glib" ,json-glib)
5519 ("gnome-desktop" ,gnome-desktop)
5521 ("python-pygobject" ,python2-pygobject)
5524 ("adwaita-icon-theme" ,adwaita-icon-theme)
5526 ("grilo-plugins" ,grilo-plugins)
5527 ("gstreamer" ,gstreamer)
5528 ("gst-plugins-base" ,gst-plugins-base)
5529 ("gst-plugins-good" ,gst-plugins-good)
5530 ("totem-pl-parser" ,totem-pl-parser)
5531 ("libgudev" ,libgudev)
5532 ;;("libmtp" ,libmtp) FIXME: Not detected
5533 ("libsecret" ,libsecret)
5534 ("libsoup" ,libsoup)
5535 ("libnotify" ,libnotify)
5536 ("libpeas" ,libpeas)
5538 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5539 ;;("clutter" ,clutter)
5540 ;;("clutter-gtk" ,clutter-gtk)
5541 ;;("clutter-gst" ,clutter-gst)
5542 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5549 ("brasero" ,brasero)))
5550 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5551 (synopsis "Music player for GNOME")
5552 (description "Rhythmbox is a music playing application for GNOME. It
5553 supports playlists, song ratings, and any codecs installed through gstreamer.")
5554 (license license:gpl2+)))
5562 (uri (string-append "mirror://gnome/sources/" name "/"
5563 (version-major+minor version) "/"
5564 name "-" version ".tar.xz"))
5567 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5568 (build-system meson-build-system)
5571 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5572 (list (string-append "-Dc_link_args=-Wl,-rpath="
5573 (assoc-ref %outputs "out") "/lib/eog"))
5575 (modify-phases %standard-phases
5576 (add-after 'unpack 'skip-gtk-update-icon-cache
5577 ;; Don't create 'icon-theme.cache'.
5579 (substitute* "meson_post_install.py"
5580 (("gtk-update-icon-cache") "true"))
5582 (add-after 'install 'wrap-eog
5583 (lambda* (#:key outputs #:allow-other-keys)
5584 (let ((out (assoc-ref outputs "out"))
5585 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5586 (wrap-program (string-append out "/bin/eog")
5587 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5590 `(("dconf" ,dconf)))
5592 `(("intltool" ,intltool)
5593 ("itstool" ,itstool)
5594 ("glib" ,glib "bin")
5595 ("gobject-introspection" ,gobject-introspection)
5596 ("pkg-config" ,pkg-config)
5597 ("xmllint" ,libxml2)))
5599 `(("gnome-desktop" ,gnome-desktop)
5600 ("shared-mime-info" ,shared-mime-info)
5601 ("adwaita-icon-theme" ,adwaita-icon-theme)
5604 ("libexif" ,libexif)
5605 ("libpeas" ,libpeas)
5606 ("libjpeg" ,libjpeg-turbo)
5607 ("librsvg" ,librsvg-next)
5608 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5610 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5611 (synopsis "GNOME image viewer")
5612 (description "Eye of GNOME is the GNOME image viewer. It
5613 supports image conversion, rotation, and slideshows.")
5614 (license license:gpl2+)))
5616 (define-public eog-plugins
5617 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5618 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5619 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5620 ;; 'XDG_DATA_DIRS' appropriately set.
5622 (name "eog-plugins")
5626 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5627 (version-major+minor version) "/"
5628 "eog-plugins-" version ".tar.xz"))
5631 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5632 (build-system gnu-build-system)
5633 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5634 (synopsis "Extensions for the Eye of GNOME image viewer")
5636 `(("pkg-config" ,pkg-config)
5637 ("gettext" ,gettext-minimal)))
5642 ("libpeas" ,libpeas)
5643 ("libexif" ,libexif)
5644 ("libchamplain" ,libchamplain)))
5646 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5650 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5651 @item @dfn{Map}, which displays a map of where the picture was taken on the
5653 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5656 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5657 ;; long suspicious byte stream that goes to a
5658 ;; ".gresource.eog_postasa_plugin" ELF section.
5659 (license license:gpl2+)))
5661 (define-public libgudev
5667 (uri (string-append "mirror://gnome/sources/" name "/"
5668 version "/" name "-" version ".tar.xz"))
5671 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5672 (build-system gnu-build-system)
5675 ;; umockdev depends on libgudev.
5676 (list "--disable-umockdev")))
5678 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5679 ("gobject-introspection" ,gobject-introspection)
5680 ("pkg-config" ,pkg-config)))
5682 `(("glib" ,glib))) ; required by gudev-1.0.pc
5685 (home-page "https://wiki.gnome.org/Projects/libgudev")
5686 (synopsis "GObject bindings for libudev")
5688 "This library provides GObject bindings for libudev. It was originally
5689 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5690 (license license:lgpl2.1+)))
5698 (uri (string-append "mirror://gnome/sources/gvfs/"
5699 (version-major+minor version) "/"
5700 "gvfs-" version ".tar.xz"))
5703 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
5704 ;; This patch may be removed when upgrading to version 1.46.x.
5706 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
5707 (build-system meson-build-system)
5711 (list "-Dsystemduserunitdir=no"
5713 ;; Otherwise, the RUNPATH will lack the final path component.
5714 (string-append "-Dc_link_args=-Wl,-rpath="
5715 (assoc-ref %outputs "out") "/lib/gvfs"))))
5717 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5718 ("gettext" ,gettext-minimal)
5719 ("gtk-doc" ,gtk-doc)
5720 ("pkg-config" ,pkg-config)
5721 ("xsltproc" ,libxslt)))
5724 ("docbook-xml" ,docbook-xml-4.2)
5725 ("docbook-xsl" ,docbook-xsl)
5727 ("elogind" ,elogind)
5731 ("gnome-online-accounts" ,gnome-online-accounts)
5732 ("libarchive" ,libarchive)
5733 ("libbluray" ,libbluray)
5735 ("libcdio-paranoia" ,libcdio-paranoia)
5736 ("libgcrypt" ,libgcrypt)
5737 ("libgdata" ,libgdata)
5738 ("libgphoto2" ,libgphoto2)
5739 ("libgudev" ,libgudev)
5740 ("libimobiledevice" ,libimobiledevice)
5743 ("libsecret" ,libsecret)
5744 ("libsmbclient" ,samba)
5745 ("libsoup" ,libsoup)
5746 ("libxml2" ,libxml2)
5747 ("openssh" ,openssh)
5749 ("udisks" ,udisks)))
5750 (home-page "https://wiki.gnome.org/gvfs/")
5751 (synopsis "Userspace virtual file system for GIO")
5753 "GVFS is a userspace virtual file system designed to work with the I/O
5754 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5755 to all applications using the GIO API. It also supports exposing the GVFS
5756 mounts to non-GIO applications using FUSE.
5758 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5760 (license license:lgpl2.0+)))
5769 (url "https://github.com/hughsie/libgusb")
5771 (file-name (git-file-name name version))
5774 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5775 (build-system meson-build-system)
5777 `(("gobject-introspection" ,gobject-introspection)
5778 ("pkg-config" ,pkg-config)
5780 ("gtk-doc" ,gtk-doc)))
5782 ;; Both of these are required by gusb.pc.
5784 ("libusb" ,libusb)))
5786 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5787 (home-page "https://github.com/hughsie/libgusb")
5788 (synopsis "GLib binding for libusb1")
5790 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5791 asynchronous control, bulk and interrupt transfers with proper cancellation
5792 and integration into a mainloop. This makes it easy to integrate low level
5793 USB transfers with your high-level application or system daemon.")
5794 (license license:lgpl2.1+)))
5796 (define-public simple-scan
5798 (name "simple-scan")
5803 (uri (string-append "mirror://gnome/sources/simple-scan/"
5804 (version-major+minor version) "/"
5805 "simple-scan-" version ".tar.xz"))
5807 (base32 "0gsz7jqk0fdj0mama3cnss9i1adw18cpdnlcjcjh4r5qijmvx0vh"))))
5808 (build-system meson-build-system)
5809 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5811 '(#:glib-or-gtk? #t))
5817 ("gdk-pixbuf" ,gdk-pixbuf)
5819 ("libsane" ,sane-backends)))
5821 `(("gettext" ,gettext-minimal)
5822 ("itstool" ,itstool)
5823 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5824 ("pkg-config" ,pkg-config)
5826 ("xmllint" ,libxml2)))
5827 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5828 (synopsis "Document and image scanner")
5830 "Document Scanner is an easy-to-use application that lets you connect your
5831 scanner and quickly capture images and documents in an appropriate format. It
5832 supports any scanner for which a suitable SANE driver is available, which is
5833 almost all of them.")
5834 (license license:gpl3+)))
5836 (define-public eolie
5839 (version "0.9.98.1")
5842 (uri (string-append "https://adishatz.org/eolie/eolie-"
5846 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5847 (build-system meson-build-system)
5851 (modify-phases %standard-phases
5852 (add-after 'unpack 'skip-gtk-update-icon-cache
5853 ;; Don't create 'icon-theme.cache'.
5855 (substitute* "meson_post_install.py"
5856 (("gtk-update-icon-cache") "true"))
5858 (add-after 'wrap 'wrap-more
5859 (lambda* (#:key inputs outputs #:allow-other-keys)
5860 (let* ((out (assoc-ref outputs "out"))
5861 ;; These libraries must be on LD_LIBRARY_PATH.
5862 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5863 "atk" "gtk+" "gsettings-desktop-schemas"
5864 "gobject-introspection"))
5867 (string-append (assoc-ref inputs lib) "/lib"))
5870 (wrap-program (string-append out "/bin/eolie")
5871 `("LD_LIBRARY_PATH" ":" prefix (,path))
5872 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5873 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5876 `(("intltool" ,intltool)
5877 ("itstool" ,itstool)
5878 ("pkg-config" ,pkg-config)
5880 ("glib:bin" ,glib "bin")))
5882 `(("gobject-introspection" ,gobject-introspection)
5883 ("glib-networking" ,glib-networking)
5886 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5887 ("python" ,python-wrapper)
5888 ("python-dateutil" ,python-dateutil)
5889 ("python-pyfxa" ,python-pyfxa)
5890 ("python-pygobject" ,python-pygobject)
5891 ("python-pycairo" ,python-pycairo)
5892 ("python-pycrypto" ,python-pycrypto)
5893 ("libsecret" ,libsecret)
5894 ("gtkspell3" ,gtkspell3)
5895 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5896 ("webkitgtk" ,webkitgtk)))
5897 (home-page "https://wiki.gnome.org/Apps/Eolie")
5898 (synopsis "Web browser for GNOME")
5900 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5901 a secret password store, an adblocker, and a modern UI.")
5902 (license license:gpl3+)))
5904 (define-public epiphany
5910 (uri (string-append "mirror://gnome/sources/epiphany/"
5911 (version-major+minor version) "/"
5912 "epiphany-" version ".tar.xz"))
5915 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5917 (build-system meson-build-system)
5921 (modify-phases %standard-phases
5922 (add-after 'unpack 'skip-gtk-update-icon-cache
5923 ;; Don't create 'icon-theme.cache'.
5925 (substitute* "post_install.py"
5926 (("gtk-update-icon-cache") "true"))
5928 (add-after 'unpack 'disable-failing-tests
5930 (substitute* "tests/meson.build"
5931 ;; embed_shell fails, because webkitgtk apparently no longer supports
5932 ;; overriding the ftp schema
5933 ;; web_app_utils fails due to missing network access
5934 (("(embed_shell|web_app_utils)_test,")
5935 "find_program('sh'), args: ['-c', 'exit 77'],"))
5937 (add-before 'check 'pre-check
5939 ;; Tests require a running X server.
5940 (system "Xvfb :1 &")
5941 (setenv "DISPLAY" ":1")
5944 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5945 (list (string-append "-Dc_link_args=-Wl,-rpath="
5946 (assoc-ref %outputs "out") "/lib/epiphany"))))
5948 `(("dconf" ,dconf)))
5950 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5951 ("glib:bin" ,glib "bin") ; for glib-mkenums
5952 ("intltool" ,intltool)
5953 ("itstool" ,itstool)
5954 ("pkg-config" ,pkg-config)
5955 ("xmllint" ,libxml2)
5956 ("xorg-server" ,xorg-server-for-tests)))
5960 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5961 ("glib-networking" ,glib-networking)
5962 ("gnome-desktop" ,gnome-desktop)
5963 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5964 ("json-glib" ,json-glib)
5965 ("iso-codes" ,iso-codes)
5966 ("libdazzle" ,libdazzle)
5967 ("libnotify" ,libnotify)
5968 ("libsecret" ,libsecret)
5969 ("libxslt" ,libxslt)
5970 ("nettle" ,nettle) ; for hogweed
5972 ("webkitgtk" ,webkitgtk)))
5973 (home-page "https://wiki.gnome.org/Apps/Web")
5974 (synopsis "GNOME web browser")
5976 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5977 principles are simplicity and standards compliance.")
5978 (license license:gpl2+)))
5980 (define-public d-feet
5986 (uri (string-append "mirror://gnome/sources/" name "/"
5987 (version-major+minor version) "/"
5988 name "-" version ".tar.xz"))
5991 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5992 (build-system glib-or-gtk-build-system)
5994 '(#:out-of-source? #f ; tests need to run in the source directory.
5996 (modify-phases %standard-phases
6000 ;; The test suite requires a running X server.
6001 (system "Xvfb :1 &")
6002 (setenv "DISPLAY" ":1")
6003 ;; Don't fail on missing '/etc/machine-id'.
6004 (setenv "DBUS_FATAL_WARNINGS" "0")
6005 ;; tests.py and window.py don't meet E402:
6006 ;; E402 module level import not at top of file
6007 (substitute* "src/tests/Makefile"
6008 (("--ignore=E123") "--ignore=E123,E402"))
6011 'install 'wrap-program
6012 (lambda* (#:key outputs #:allow-other-keys)
6013 (let ((prog (string-append (assoc-ref outputs "out")
6016 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6017 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6020 `(("intltool" ,intltool)
6021 ("itstool" ,itstool)
6022 ("pkg-config" ,pkg-config)
6023 ("python-pep8" ,python-pep8)
6024 ("xmllint" ,libxml2)
6025 ("xorg-server" ,xorg-server-for-tests)))
6027 `(("gobject-introspection" ,gobject-introspection)
6029 ("python" ,python-wrapper)
6030 ("hicolor-icon-theme" ,hicolor-icon-theme)
6031 ("python-pygobject" ,python-pygobject)))
6032 (home-page "https://wiki.gnome.org/Apps/DFeet")
6033 (synopsis "D-Bus debugger")
6035 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6036 of running programs and invoke methods on those interfaces.")
6037 (license license:gpl2+)))
6039 (define-public yelp-xsl
6045 (uri (string-append "mirror://gnome/sources/" name "/"
6046 (version-major+minor version) "/"
6047 name "-" version ".tar.xz"))
6050 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6051 (build-system gnu-build-system)
6053 `(("gettext-minimal" ,gettext-minimal)
6054 ("itstool" ,itstool)
6055 ("xmllint" ,libxml2)))
6056 (home-page "https://wiki.gnome.org/Apps/Yelp")
6057 (synopsis "XSL stylesheets for Yelp")
6059 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
6060 to format Docbook and Mallard documents.")
6061 (license license:gpl2+)))
6069 (uri (string-append "mirror://gnome/sources/" name "/"
6070 (version-major+minor version) "/"
6071 name "-" version ".tar.xz"))
6074 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6075 (build-system glib-or-gtk-build-system)
6077 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6078 ("intltool" ,intltool)
6079 ("itstool" ,itstool)
6080 ("pkg-config" ,pkg-config)))
6082 `(("dconf" ,dconf)))
6084 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6085 ("libxslt" ,libxslt)
6087 ("webkitgtk" ,webkitgtk)
6088 ("yelp-xsl" ,yelp-xsl)))
6089 (home-page "https://wiki.gnome.org/Apps/Yelp")
6090 (synopsis "GNOME help browser")
6092 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6093 man, info, and HTML documents. It can locate documents according to the
6094 freedesktop.org help system specification.")
6095 (license license:gpl2+)))
6097 (define-public yelp-tools
6103 (uri (string-append "mirror://gnome/sources/" name "/"
6104 (version-major+minor version) "/"
6105 name "-" version ".tar.xz"))
6108 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6109 (build-system gnu-build-system)
6111 `(("pkg-config" ,pkg-config)))
6113 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6114 `(("itstool" ,itstool)
6115 ("xmllint" ,libxml2)
6116 ("xsltproc" ,libxslt)))
6118 `(("yelp-xsl" ,yelp-xsl)))
6119 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6120 (synopsis "Yelp documentation tools")
6122 "Yelp-tools is a collection of scripts and build utilities to help create,
6123 manage, and publish documentation for Yelp and the web. Most of the heavy
6124 lifting is done by packages like yelp-xsl and itstool. This package just
6125 wraps things up in a developer-friendly way.")
6126 (license license:gpl2+)))
6128 (define-public libgee
6134 (uri (string-append "mirror://gnome/sources/libgee/"
6135 (version-major+minor version) "/"
6136 "libgee-" version ".tar.xz"))
6139 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6140 (build-system gnu-build-system)
6143 (modify-phases %standard-phases
6144 (add-after 'unpack 'fix-introspection-install-dir
6145 (lambda* (#:key outputs #:allow-other-keys)
6146 (let ((out (assoc-ref outputs "out")))
6147 (substitute* "gee/Makefile.in"
6148 (("@INTROSPECTION_GIRDIR@")
6149 (string-append out "/share/gir-1.0/"))
6150 (("@INTROSPECTION_TYPELIBDIR@")
6151 (string-append out "/lib/girepository-1.0/")))))))))
6153 `(("glib" ,glib "bin")
6154 ("pkg-config" ,pkg-config)))
6157 ("gobject-introspection" ,gobject-introspection)))
6158 (home-page "https://wiki.gnome.org/Projects/Libgee")
6159 (synopsis "GObject collection library")
6161 "Libgee is a utility library providing GObject-based interfaces and
6162 classes for commonly used data structures.")
6163 (license license:lgpl2.1+)))
6165 (define-public gexiv2
6171 (uri (string-append "mirror://gnome/sources/" name "/"
6172 (version-major+minor version) "/"
6173 name "-" version ".tar.xz"))
6176 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6177 (build-system meson-build-system)
6180 ("glib" ,glib "bin")
6181 ("pkg-config" ,pkg-config)
6184 ;; Listed in "Requires" section of gexiv2.pc
6185 `(("exiv2" ,exiv2)))
6188 ("gobject-introspection" ,gobject-introspection)))
6189 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6190 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6192 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6193 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6194 metadata in photo and video files of various formats.")
6195 (license license:gpl2+)))
6197 (define-public shotwell
6203 (uri (string-append "mirror://gnome/sources/shotwell/"
6204 (version-major+minor version) "/"
6205 "shotwell-" version ".tar.xz"))
6208 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
6209 (build-system meson-build-system)
6213 (modify-phases %standard-phases
6214 (add-after 'unpack 'skip-gtk-update-icon-cache
6216 (substitute* "build-aux/meson/postinstall.py"
6217 (("gtk-update-icon-cache") (which "true"))
6218 (("update-desktop-database") (which "true")))
6221 `(("dconf" ,dconf)))
6223 `(("gettext" ,gettext-minimal)
6224 ("glib:bin" ,glib "bin")
6225 ("itstool" ,itstool)
6226 ("pkg-config" ,pkg-config)
6231 ("gst-plugins-base" ,gst-plugins-base)
6232 ("gstreamer" ,gstreamer)
6233 ("json-glib" ,json-glib)
6234 ("libgdata" ,libgdata)
6236 ("libgphoto2" ,libgphoto2)
6237 ("libgudev" ,libgudev)
6239 ("libsoup" ,libsoup)
6240 ("libxml2" ,libxml2)
6242 ("webkitgtk" ,webkitgtk)))
6243 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6244 (synopsis "Photo manager for GNOME 3")
6246 "Shotwell is a digital photo manager designed for the GNOME desktop
6247 environment. It allows you to import photos from disk or camera, organize
6248 them by keywords and events, view them in full-window or fullscreen mode, and
6249 share them with others via social networking and more.")
6250 (license license:lgpl2.1+)))
6252 (define-public file-roller
6254 (name "file-roller")
6258 (uri (string-append "mirror://gnome/sources/file-roller/"
6259 (version-major+minor version) "/"
6260 "file-roller-" version ".tar.xz"))
6263 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
6264 (build-system meson-build-system)
6266 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6267 ("intltool" ,intltool)
6268 ("itstool" ,itstool)
6269 ("pkg-config" ,pkg-config)
6270 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6271 ("glib:bin" ,glib "bin")))
6272 ;; TODO: Add libnautilus.
6275 ("gdk-pixbuf" ,gdk-pixbuf)
6276 ("json-glib" ,json-glib)
6277 ("libarchive" ,libarchive)
6278 ("libnotify" ,libnotify)
6280 ("libxml2" ,libxml2)))
6281 (synopsis "Graphical archive manager for GNOME")
6282 (description "File Roller is an archive manager for the GNOME desktop
6283 environment that allows users to view, unpack, and create compressed archives
6284 such as gzip tarballs.")
6285 (home-page "http://fileroller.sourceforge.net/")
6286 (license license:gpl2+)))
6288 (define-public gnome-session
6290 (name "gnome-session")
6294 (uri (string-append "mirror://gnome/sources/" name "/"
6295 (version-major+minor version) "/"
6296 name "-" version ".tar.xz"))
6299 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6303 (modify-phases %standard-phases
6304 (add-before 'configure 'pre-configure
6305 (lambda* (#:key outputs #:allow-other-keys)
6306 ;; Use elogind instead of systemd.
6307 (substitute* "meson.build"
6308 (("libsystemd-login") "libelogind")
6309 (("and libsystemd_daemon_dep.found.*") ","))
6310 (substitute* "gnome-session/gsm-systemd.c"
6311 (("#include <systemd/sd-login.h>")
6312 "#include <elogind/sd-login.h>"))
6313 ;; Remove uses of the systemd daemon.
6314 (substitute* "gnome-session/gsm-autostart-app.c"
6315 (("#ifdef HAVE_SYSTEMD") "#if 0"))
6317 (add-after 'install 'wrap-gnome-session
6318 (lambda* (#:key inputs outputs #:allow-other-keys)
6319 ;; Make sure 'gnome-session' finds the 'gsettings' program.
6320 (let ((glib (assoc-ref inputs "glib:bin"))
6321 (out (assoc-ref outputs "out")))
6322 (wrap-program (string-append out "/bin/gnome-session")
6323 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6327 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
6328 "-Dman=false" ; FIXME: disabled because of docbook validation error
6329 "-Dsystemd_journal=false")))
6330 (build-system meson-build-system)
6332 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6333 ("pkg-config" ,pkg-config)
6334 ("intltool" ,intltool)
6335 ("xsltproc" ,libxslt)
6336 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
6337 ("docbook-xsl" ,docbook-xsl)
6338 ("docbook-xml" ,docbook-xml)
6341 `(("elogind" ,elogind)
6342 ("gnome-desktop" ,gnome-desktop)
6343 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6345 ("json-glib" ,json-glib)
6347 ("libxcomposite" ,libxcomposite)
6348 ("libxtst" ,libxtst)
6351 ("xtrans" ,xtrans)))
6352 (synopsis "Session manager for GNOME")
6354 "This package contains the GNOME session manager, as well as a
6355 configuration program to choose applications starting on login.")
6356 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
6357 (license license:gpl2+)))
6365 (uri (string-append "mirror://gnome/sources/" name "/"
6366 (version-major+minor version) "/"
6367 name "-" version ".tar.xz"))
6370 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
6371 (build-system gnu-build-system)
6374 (modify-phases %standard-phases
6378 ;; The test suite requires a running X server.
6379 (system "Xvfb :1 &")
6380 (setenv "DISPLAY" ":1")
6382 ;; For the missing /etc/machine-id.
6383 (setenv "DBUS_FATAL_WARNINGS" "0")
6385 ;; Our mozjs-38 package does not compile the required Intl API
6386 ;; support for these failing tests.
6387 (substitute* "installed-tests/js/testLocale.js"
6388 ((".*toBeDefined.*") "")
6389 ((".*expect\\(datestr\\).*") ""))
6390 (substitute* "installed-tests/scripts/testCommandLine.sh"
6395 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
6396 ("pkg-config" ,pkg-config)
6397 ("xmllint" ,libxml2)
6399 ("dbus-launch" ,dbus)
6400 ("dconf" ,dconf) ; required to properly store settings
6401 ("uuidgen" ,util-linux)
6402 ("xvfb" ,xorg-server-for-tests)))
6404 ;; These are all in the Requires.private field of gjs-1.0.pc.
6406 ("gobject-introspection" ,gobject-introspection)
6407 ("mozjs" ,mozjs-60)))
6410 ("readline" ,readline)))
6411 (synopsis "Javascript bindings for GNOME")
6412 (home-page "https://live.gnome.org/Gjs")
6414 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6415 javascript engine and the GObject introspection framework.")
6416 (license license:gpl2+)))
6418 (define-public gedit
6424 (uri (string-append "mirror://gnome/sources/" name "/"
6425 (version-major+minor version) "/"
6426 name "-" version ".tar.xz"))
6429 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
6430 (build-system meson-build-system)
6434 ;; Otherwise, the RUNPATH will lack the final path component.
6435 (list (string-append "-Dc_link_args=-Wl,-rpath="
6436 (assoc-ref %outputs "out") "/lib/gedit"))
6438 ;; XXX: Generated .h files are sometimes used before being built.
6439 #:parallel-build? #f
6442 (modify-phases %standard-phases
6443 (add-after 'unpack 'skip-gtk-update-icon-cache
6444 ;; Don't create 'icon-theme.cache'.
6446 (substitute* "build-aux/meson/post_install.py"
6447 (("gtk-update-icon-cache") (which "true")))
6449 (add-after 'unpack 'patch-libgd-fetch
6450 (lambda* (#:key inputs #:allow-other-keys)
6451 (let ((libgd (assoc-ref inputs "libgd")))
6452 ;; Calling git is unnecessary because libgd is fetched as a
6453 ;; native input to this package.
6454 (substitute* "meson.build"
6456 (copy-recursively libgd "subprojects/libgd")
6458 (add-after 'install 'wrap-gedit
6459 (lambda* (#:key inputs outputs #:allow-other-keys)
6460 (let ((out (assoc-ref outputs "out"))
6461 (gtksourceview (assoc-ref inputs "gtksourceview"))
6462 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6463 (python-path (getenv "PYTHONPATH")))
6464 (wrap-program (string-append out "/bin/gedit")
6466 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6467 `("PYTHONPATH" ":" prefix (,python-path))
6468 ;; For language-specs.
6469 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6473 `(("dconf" ,dconf)))
6475 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6476 ("intltool" ,intltool)
6477 ("itstool" ,itstool)
6478 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6479 ("gobject-introspection" ,gobject-introspection)
6484 (url "https://gitlab.gnome.org/GNOME/libgd")
6485 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6486 (file-name (git-file-name "libgd" version))
6488 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6489 ("pkg-config" ,pkg-config)))
6494 ("gtksourceview" ,gtksourceview)
6495 ("libpeas" ,libpeas)
6496 ("libxml2" ,libxml2)
6497 ("iso-codes" ,iso-codes)
6498 ("python-pygobject" ,python-pygobject)
6500 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6503 ("adwaita-icon-theme" ,adwaita-icon-theme)
6504 ("libsoup" ,libsoup)
6505 ("gnome-desktop" ,gnome-desktop)))
6506 (home-page "https://wiki.gnome.org/Apps/Gedit")
6507 (synopsis "GNOME text editor")
6508 (description "While aiming at simplicity and ease of use, gedit is a
6509 powerful general purpose text editor.")
6510 (license license:gpl2+)))
6512 (define-public zenity
6518 (uri (string-append "mirror://gnome/sources/zenity/"
6519 (version-major+minor version) "/"
6520 "zenity-" version ".tar.xz"))
6523 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6524 (build-system gnu-build-system)
6526 `(("gettext" ,gettext-minimal)
6527 ("itstool" ,itstool)
6528 ("pkg-config" ,pkg-config)))
6530 `(("libnotify" ,libnotify)
6531 ("webkitgtk" ,webkitgtk)))
6532 (synopsis "Display graphical dialog boxes from shell scripts")
6533 (home-page "https://www.gnome.org")
6535 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6536 to display dialog boxes from the commandline and shell scripts.")
6537 (license license:lgpl2.0+)))
6539 (define-public mutter
6545 (uri (string-append "mirror://gnome/sources/" name "/"
6546 (version-major+minor version) "/"
6547 name "-" version ".tar.xz"))
6550 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6551 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6552 ;; versions of cogl and clutter. As a result, many of the inputs,
6553 ;; propagated-inputs, and configure flags used in cogl and clutter are
6554 ;; needed here as well.
6555 (build-system meson-build-system)
6557 '(;; XXX: All mutter tests fail with the following error:
6558 ;; Settings schema 'org.gnome.mutter' is not installed
6562 ;; TODO: Enable profiler when Sysprof is packaged.
6563 (list "-Dprofiler=false"
6564 ;; Otherwise, the RUNPATH will lack the final path component.
6565 (string-append "-Dc_link_args=-Wl,-rpath="
6566 (assoc-ref %outputs "out") "/lib:"
6567 (assoc-ref %outputs "out") "/lib/mutter-5")
6569 ;; The following flags are needed for the bundled clutter
6570 (string-append "-Dxwayland_path="
6571 (assoc-ref %build-inputs "xorg-server-xwayland")
6574 ;; the remaining flags are needed for the bundled cogl
6575 (string-append "-Dopengl_libname="
6576 (assoc-ref %build-inputs "mesa")
6578 #:phases (modify-phases %standard-phases
6579 (add-after 'unpack 'fix-build-with-mesa-20
6581 ;; Mimic upstream commit a444a4c5f58ea516ad for
6582 ;; compatibility with Mesa 20. Remove for 3.36.
6583 (substitute* '("src/backends/meta-egl-ext.h"
6584 "src/backends/meta-egl.c"
6585 "src/backends/meta-egl.h")
6586 (("#include <EGL/eglext\\.h>" all)
6587 (string-append all "\n#include <EGL/eglmesaext.h>")))
6588 (substitute* "cogl/cogl/meson.build"
6589 (("#include <EGL/eglext\\.h>" all)
6590 (string-append all "\\n#include <EGL/eglmesaext.h>")))
6593 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6594 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6595 ("gobject-introspection" ,gobject-introspection)
6596 ("intltool" ,intltool)
6597 ("pkg-config" ,pkg-config)
6598 ("xorg-server" ,xorg-server-for-tests)
6600 ("autoconf" ,autoconf)
6601 ("automake" ,automake)
6602 ("libtool" ,libtool)))
6604 `(;; libmutter.pc refers to these:
6605 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6607 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6610 ("gdk-pixbuf" ,gdk-pixbuf)
6612 ("json-glib" ,json-glib)
6613 ("libinput" ,libinput)
6615 ("libxcomposite" ,libxcomposite)
6616 ("libxdamage" ,libxdamage)
6617 ("libxext" ,libxext)
6618 ("libxfixes" ,libxfixes)
6619 ("libxkbcommon" ,libxkbcommon)
6620 ("libxrandr" ,libxrandr)
6624 ("xinput" ,xinput)))
6626 `(("elogind" ,elogind)
6627 ("gnome-desktop" ,gnome-desktop)
6628 ("gnome-settings-daemon" ,gnome-settings-daemon)
6629 ("libcanberra-gtk" ,libcanberra)
6630 ("libgudev" ,libgudev)
6633 ("libwacom" ,libwacom)
6634 ("libxkbfile" ,libxkbfile)
6635 ("libxrandr" ,libxrandr)
6636 ("libxtst" ,libxtst)
6637 ("pipewire" ,pipewire)
6638 ("startup-notification" ,startup-notification)
6639 ("upower-glib" ,upower)
6640 ("xkeyboard-config" ,xkeyboard-config)
6641 ("xorg-server-xwayland" ,xorg-server-xwayland)
6642 ("zenity" ,zenity)))
6643 (synopsis "Window and compositing manager")
6644 (home-page "https://www.gnome.org")
6646 "Mutter is a window and compositing manager that displays and manages your
6647 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6648 Clutter toolkit with solid window-management logic inherited from the Metacity
6650 (license license:gpl2+)))
6652 (define-public gnome-online-accounts
6654 (name "gnome-online-accounts")
6658 (uri (string-append "mirror://gnome/sources/" name "/"
6659 (version-major+minor version) "/"
6660 name "-" version ".tar.xz"))
6663 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6664 (outputs '("out" "lib"))
6665 (build-system glib-or-gtk-build-system)
6668 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6670 (modify-phases %standard-phases
6671 (add-before 'configure 'patch-libgoa-output
6672 (lambda* (#:key outputs #:allow-other-keys)
6673 (let ((lib (assoc-ref outputs "lib")))
6674 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6676 (("@exec_prefix@") lib)
6677 (("@libdir@") (string-append lib "/lib"))
6678 (("@includedir@") (string-append lib "/include"))
6679 (("@datadir@") (string-append lib "/share")))
6680 ;; Make sure gobject-introspection knows about the output
6681 ;; too (see <https://bugs.gnu.org/36535>).
6682 (setenv "outputs" "out lib")
6685 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6686 ("gobject-introspection" ,gobject-introspection)
6687 ("intltool" ,intltool)
6688 ("pkg-config" ,pkg-config)
6690 ("xsltproc" ,libxslt)))
6692 `(("glib" ,glib) ; required by goa-1.0.pc
6693 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6695 `(("docbook-xsl" ,docbook-xsl)
6696 ("json-glib" ,json-glib)
6697 ("libsecret" ,libsecret)
6699 ("webkitgtk" ,webkitgtk)))
6700 (synopsis "Single sign-on framework for GNOME")
6701 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6703 "GNOME Online Accounts provides interfaces so that applications and
6704 libraries in GNOME can access the user's online accounts. It has providers for
6705 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6706 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6707 (license license:lgpl2.0+)))
6709 (define-public evolution-data-server
6711 (name "evolution-data-server")
6715 (uri (string-append "mirror://gnome/sources/" name "/"
6716 (version-major+minor version) "/"
6717 name "-" version ".tar.xz"))
6718 (patches (search-patches "evolution-data-server-locales.patch"
6719 "evolution-data-server-libical-compat.patch"))
6722 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6723 (build-system cmake-build-system)
6726 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6727 (runpaths (map (lambda (s)
6728 (string-append lib "/evolution-data-server/" s))
6729 '("addressbook-backends" "calendar-backends"
6730 "camel-providers" "credential-modules"
6731 "registry-modules"))))
6732 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6733 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6734 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6735 "-DENABLE_VALA_BINDINGS=ON"
6736 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6737 (string-append lib "/evolution-data-server;")
6738 (string-join runpaths ";"))
6739 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6741 (modify-phases %standard-phases
6742 (add-after 'unpack 'disable-failing-tests
6744 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6745 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6746 (delete-file-recursively "tests/book-migration")
6747 (substitute* "tests/CMakeLists.txt"
6748 (("add_subdirectory\\(book-migration\\)") ""))
6750 (add-after 'unpack 'patch-paths
6752 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6753 "tests/libedata-book/data-test-utils.c"
6754 "tests/libedata-book/test-book-cache-utils.c"
6755 "tests/libedata-cal/test-cal-cache-utils.c")
6756 (("/bin/rm") (which "rm")))
6758 (add-before 'configure 'dont-override-rpath
6760 (substitute* "CMakeLists.txt"
6761 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6762 ;; Remove it so the configure flag is respected.
6763 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6766 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6767 ("gobject-introspection" ,gobject-introspection)
6769 ("intltool" ,intltool)
6770 ("pkg-config" ,pkg-config)
6772 ("python" ,python-wrapper)))
6774 ;; These are all in the Requires field of .pc files.
6776 ("libical" ,libical)
6777 ("libsecret" ,libsecret)
6778 ("libsoup" ,libsoup)
6780 ("sqlite" ,sqlite)))
6784 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6785 ("json-glib" ,json-glib)
6786 ("libcanberra" ,libcanberra)
6787 ("libgweather" ,libgweather)
6788 ("mit-krb5" ,mit-krb5)
6789 ("openldap" ,openldap)
6790 ("webkitgtk" ,webkitgtk)))
6791 (synopsis "Store address books and calendars")
6792 (home-page "https://wiki.gnome.org/Apps/Evolution")
6794 "This package provides a unified backend for programs that work with
6795 contacts, tasks, and calendar information. It was originally developed for
6796 Evolution (hence the name), but is now used by other packages as well.")
6797 (license license:lgpl2.0)))
6799 (define-public caribou
6805 (uri (string-append "mirror://gnome/sources/" name "/"
6806 (version-major+minor version) "/"
6807 name "-" version ".tar.xz"))
6810 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6811 (build-system glib-or-gtk-build-system)
6814 (modify-phases %standard-phases
6817 (lambda* (#:key outputs #:allow-other-keys)
6818 (let ((out (assoc-ref outputs "out")))
6819 ;; Use absolute shared library path in Caribou-1.0.typelib.
6820 (substitute* "libcaribou/Makefile"
6821 (("--shared-library=libcaribou.so")
6822 (string-append "--shared-library="
6823 out "/lib/libcaribou.so")))
6825 (add-after 'install 'wrap-programs
6826 (lambda* (#:key outputs #:allow-other-keys)
6827 (let* ((out (assoc-ref outputs "out"))
6828 (python-path (getenv "PYTHONPATH"))
6829 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6833 `("PYTHONPATH" ":" prefix (,python-path))
6834 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6835 (list (string-append out "/bin/caribou-preferences")
6836 (string-append out "/libexec/antler-keyboard"))))
6839 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6840 ("gobject-introspection" ,gobject-introspection)
6841 ("intltool" ,intltool)
6842 ("pkg-config" ,pkg-config)
6845 ("xsltproc" ,libxslt)))
6847 ;; caribou-1.0.pc refers to all these.
6848 `(("libgee" ,libgee)
6849 ("libxklavier" ,libxklavier)
6850 ("libxtst" ,libxtst)
6853 `(("clutter" ,clutter)
6856 ("python-pygobject" ,python-pygobject)))
6857 (synopsis "Text entry and UI navigation application")
6858 (home-page "https://wiki.gnome.org/Projects/Caribou")
6860 "Caribou is an input assistive technology intended for switch and pointer
6862 (license license:lgpl2.1)))
6864 (define-public network-manager
6866 (name "network-manager")
6870 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6871 (version-major+minor version) "/"
6872 "NetworkManager-" version ".tar.xz"))
6873 (patches (search-patches "network-manager-plugin-path.patch"))
6876 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
6877 (modules '((guix build utils)))
6880 (substitute* "src/devices/wwan/nm-modem-manager.c"
6881 (("systemd") "elogind"))
6883 (build-system meson-build-system)
6885 "doc")) ; 8 MiB of gtk-doc HTML
6888 (let ((out (assoc-ref %outputs "out"))
6889 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6892 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
6894 (string-append "-Dc_link_args=-Wl,-rpath="
6896 out "/lib/NetworkManager/" ,version)
6897 "-Dsystemd_journal=false"
6898 "-Dsession_tracking=elogind"
6899 "-Dsuspend_resume=elogind"
6900 "-Dsystemdsystemunitdir=no"
6901 "-Dsession_tracking_consolekit=false"
6910 "--localstatedir=/var"
6911 (string-append "-Dudev_dir="
6913 (string-append "-Ddbus_conf_dir="
6914 out "/etc/dbus-1/system.d")
6916 (string-append "-Ddhclient=" dhclient)))
6918 (modify-phases %standard-phases
6919 (add-before 'configure 'pre-configure
6921 ;; These tests try to test aspects of network-manager's
6922 ;; functionality within restricted containers, but they don't
6923 ;; cope with being already in the Guix build jail as that jail
6924 ;; lacks some features that they would like to proxy over (like
6926 (substitute* "src/platform/tests/meson.build"
6927 ((".*test-address-linux.*") "")
6928 ((".*test-cleanup-linux.*") "")
6929 ((".*test-link-linux.*") "")
6930 ((".*test-route-linux.*") ""))
6931 (substitute* "src/devices/tests/meson.build"
6932 ((".*test-acd.*") "")
6933 ((".*test-lldp.*") ""))
6935 (add-after 'unpack 'patch-docbook-xml
6936 (lambda* (#:key inputs #:allow-other-keys)
6937 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
6938 "/xml/dtd/docbook")))
6939 (substitute* (find-files "." ".*\\.(xsl|xml)")
6940 (("http://.*/docbookx\\.dtd")
6941 (string-append xmldoc "/docbookx.dtd")))
6943 (add-before 'check 'pre-check
6945 ;; For the missing /etc/machine-id.
6946 (setenv "DBUS_FATAL_WARNINGS" "0")
6948 (add-before 'install 'no-polkit-magic
6949 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
6951 (setenv "PKEXEC_UID" "something")
6953 (add-after 'install 'move-doc
6954 (lambda* (#:key outputs #:allow-other-keys)
6955 (let ((out (assoc-ref outputs "out"))
6956 (doc (assoc-ref outputs "doc")))
6957 (mkdir-p (string-append doc "/share"))
6958 (for-each (lambda (directory)
6959 (copy-recursively (string-append out directory)
6960 (string-append doc directory))
6961 (delete-file-recursively
6962 (string-append out directory)))
6963 '("/share/doc" "/share/gtk-doc"))
6968 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6969 ("gtk-doc" ,gtk-doc)
6970 ("gobject-introspection" ,gobject-introspection)
6971 ("docbook-xml" ,docbook-xml)
6972 ("docbook-xsl" ,docbook-xsl)
6973 ("intltool" ,intltool)
6974 ("libxslt" ,libxslt)
6975 ("libxml2" ,libxml2)
6976 ("pkg-config" ,pkg-config)
6979 ("python" ,python-wrapper)
6980 ("python-dbus" ,python-dbus)
6981 ("python-pygobject" ,python-pygobject)))
6984 ("cyrus-sasl" ,cyrus-sasl)
6985 ("dbus-glib" ,dbus-glib)
6986 ("dnsmasq" ,dnsmasq)
6989 ("iptables" ,iptables)
6990 ("isc-dhcp" ,isc-dhcp)
6991 ("iwd" ,iwd) ; wpa_supplicant alternative
6992 ("jansson" ,jansson)
6994 ("libgcrypt" ,libgcrypt)
6995 ("libgudev" ,libgudev)
6998 ("libsoup" ,libsoup)
6999 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7000 ("modem-manager" ,modem-manager)
7001 ("newt" ,newt) ;for the 'nmtui' console interface
7002 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7005 ("readline" ,readline)
7006 ("util-linux" ,util-linux)
7007 ("elogind" ,elogind)))
7008 (synopsis "Network connection manager")
7009 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7011 "NetworkManager is a system network service that manages your network
7012 devices and connections, attempting to keep active network connectivity when
7013 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7014 devices, and provides VPN integration with a variety of different VPN
7016 ;; “This NetworkManager project consists of the daemon, client tools, and
7017 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7019 (license (list license:gpl2+
7021 (properties '((upstream-name . "NetworkManager")))))
7023 (define-public network-manager-openvpn
7025 (name "network-manager-openvpn")
7030 "mirror://gnome/sources/NetworkManager-openvpn/"
7031 (version-major+minor version)
7032 "/NetworkManager-openvpn-" version ".tar.xz"))
7035 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7036 (build-system gnu-build-system)
7038 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7040 (modify-phases %standard-phases
7041 (add-after 'configure 'patch-path
7042 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7043 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7045 (modprobe (string-append (assoc-ref inputs "kmod")
7047 (pretty-ovpn (string-append "\"" ovpn "\"")))
7051 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7052 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7053 (("\"/sbin/openvpn\"") pretty-ovpn)
7054 (("/sbin/modprobe") modprobe)))
7055 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7058 `(("pkg-config" ,pkg-config)
7059 ("intltool" ,intltool)))
7063 ("openvpn" ,openvpn)
7064 ("network-manager" ,network-manager)
7066 ("libsecret" ,libsecret)))
7067 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7068 (synopsis "OpenVPN plug-in for NetworkManager")
7070 "This extension of NetworkManager allows it to take care of connections
7071 to virtual private networks (VPNs) via OpenVPN.")
7072 (license license:gpl2+)
7073 (properties `((upstream-name . "NetworkManager-openvpn")))))
7075 (define-public network-manager-vpnc
7077 (name "network-manager-vpnc")
7082 "mirror://gnome/sources/NetworkManager-vpnc/"
7083 (version-major+minor version)
7084 "/NetworkManager-vpnc-" version ".tar.xz"))
7087 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7088 (build-system gnu-build-system)
7090 `(#:configure-flags '("--enable-absolute-paths"
7091 "--localstatedir=/var"
7092 ;; libnm-glib has been removed from network-manager
7093 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7094 "--with-libnm-glib=no")
7096 (modify-phases %standard-phases
7097 (add-after 'configure 'patch-path
7098 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7099 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7101 (modprobe (string-append (assoc-ref inputs "kmod")
7103 (pretty-ovpn (string-append "\"" vpnc "\"")))
7104 (substitute* "src/nm-vpnc-service.c"
7105 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7106 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7107 (("\"/sbin/vpnc\"") pretty-ovpn)
7108 (("/sbin/modprobe") modprobe)))
7111 `(("pkg-config" ,pkg-config)
7112 ("intltool" ,intltool)))
7117 ("network-manager" ,network-manager)
7119 ("libsecret" ,libsecret)))
7120 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7121 (synopsis "VPNC plug-in for NetworkManager")
7123 "Support for configuring virtual private networks based on VPNC.
7124 Compatible with Cisco VPN concentrators configured to use IPsec.")
7125 (license license:gpl2+)
7126 (properties `((upstream-name . "NetworkManager-vpnc")))))
7128 (define-public network-manager-openconnect
7130 (name "network-manager-openconnect")
7135 "mirror://gnome/sources/NetworkManager-openconnect/"
7136 (version-major+minor version)
7137 "/NetworkManager-openconnect-" version ".tar.xz"))
7140 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7141 (build-system gnu-build-system)
7143 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7145 (modify-phases %standard-phases
7146 (add-after 'configure 'patch-path
7147 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7148 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7149 "/sbin/openconnect"))
7150 (modprobe (string-append (assoc-ref inputs "kmod")
7152 (pretty-ovpn (string-append "\"" openconnect "\"")))
7153 (substitute* "src/nm-openconnect-service.c"
7154 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7155 (("/sbin/modprobe") modprobe)))
7158 `(("intltool" ,intltool)
7160 ("pkg-config" ,pkg-config)))
7165 ("libsecret" ,libsecret)
7166 ("libxml2" ,libxml2)
7168 ("network-manager" ,network-manager)
7169 ("openconnect" ,openconnect)))
7170 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7171 (synopsis "OpenConnect plug-in for NetworkManager")
7173 "This extension of NetworkManager allows it to take care of connections
7174 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7175 Cisco's AnyConnect SSL VPN.")
7176 (license license:gpl2+)
7177 (properties `((upstream-name . "NetworkManager-openconnect")
7179 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7180 ;; file refers to account "nm-openconnect". Specify it here
7181 ;; so that 'network-manager-service-type' creates it.
7182 (user-accounts . ("nm-openconnect"))))))
7184 (define-public mobile-broadband-provider-info
7186 (name "mobile-broadband-provider-info")
7187 (version "20190116")
7191 "mirror://gnome/sources/"
7192 "mobile-broadband-provider-info/" version "/"
7193 "mobile-broadband-provider-info-" version ".tar.xz"))
7196 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7197 (build-system gnu-build-system)
7199 `(#:tests? #f)) ; no tests
7200 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7201 (synopsis "Database of broadband connection configuration")
7202 (description "Database of broadband connection configuration.")
7203 (license license:public-domain)))
7205 (define-public network-manager-applet
7207 (name "network-manager-applet")
7211 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7212 (version-major+minor version) "/"
7213 "network-manager-applet-" version ".tar.xz"))
7216 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7217 (build-system meson-build-system)
7219 '(#:glib-or-gtk? #t))
7221 `(("intltool" ,intltool)
7222 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7223 ("gobject-introspection" ,gobject-introspection)
7224 ("gtk-doc" ,gtk-doc)
7225 ("pkg-config" ,pkg-config)))
7227 ;; libnm-gtk.pc refers to all these.
7228 `(("dbus-glib" ,dbus-glib)
7230 ("network-manager" ,network-manager)
7231 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7232 ("libnma" ,libnma)))
7235 ("libgudev" ,libgudev)
7236 ("libnotify" ,libnotify)
7237 ("libsecret" ,libsecret)
7238 ("libselinux" ,libselinux)
7239 ("jansson" ,jansson) ; for team support
7240 ("modem-manager" ,modem-manager)))
7241 (synopsis "Applet for managing network connections")
7242 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7244 "This package contains a systray applet for NetworkManager. It displays
7245 the available networks and allows users to easily switch between them.")
7246 (license license:gpl2+)))
7248 (define-public libxml++
7254 (uri (string-append "mirror://gnome/sources/" name "/"
7255 (version-major+minor version) "/"
7256 name "-" version ".tar.xz"))
7259 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7260 (build-system gnu-build-system)
7261 ;; libxml++-3.0.pc refers to all these.
7263 `(("libxml2" ,libxml2)
7264 ("glibmm" ,glibmm)))
7267 ("pkg-config" ,pkg-config)))
7268 (home-page "http://libxmlplusplus.sourceforge.net/")
7269 (synopsis "C++ wrapper for XML parser library libxml2")
7271 "This package provides a C++ wrapper for the XML parser library
7273 (license license:lgpl2.1+)))
7275 (define-public libxml++-2
7282 (uri (string-append "mirror://gnome/sources/" name "/"
7283 (version-major+minor version) "/"
7284 name "-" version ".tar.xz"))
7287 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7295 (uri (string-append "mirror://gnome/sources/" name "/"
7296 (version-major+minor version) "/"
7297 name "-" version ".tar.xz"))
7300 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7301 (patches (search-patches "gdm-default-session.patch"))))
7302 (build-system glib-or-gtk-build-system)
7305 `("--without-plymouth"
7306 "--disable-systemd-journal"
7308 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7309 ;; instead of having to replace it (i.e., stopping the mingetty
7310 ;; service for TTY 1 before starting GDM).
7311 "--with-initial-vt=7"
7313 ;; Use '/etc/environment' for locale settings instead of the
7314 ;; systemd-specific '/etc/locale.conf'.
7315 "--with-lang-file=/etc/environment"
7317 ,(string-append "--with-udevdir="
7318 (assoc-ref %outputs "out") "/lib/udev")
7320 "--localstatedir=/var"
7321 ,(string-append "--with-default-path="
7322 (string-join '("/run/setuid-programs"
7323 "/run/current-system/profile/bin"
7324 "/run/current-system/profile/sbin")
7326 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
7327 ;; XDG_DATA_DIRS so that it finds its schemas.
7328 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
7330 (modify-phases %standard-phases
7332 'configure 'pre-configure
7333 (lambda* (#:key inputs outputs #:allow-other-keys)
7334 ;; We don't have <systemd/sd-daemon.h>.
7335 (substitute* '("common/gdm-log.c"
7336 "daemon/gdm-server.c"
7337 "daemon/gdm-session-worker.c"
7338 "daemon/gdm-session-worker-job.c")
7339 (("#include <systemd/sd-daemon\\.h>") ""))
7340 ;; Use elogind for sd-login.
7341 (substitute* '("common/gdm-common.c"
7342 "daemon/gdm-local-display-factory.c"
7343 "daemon/gdm-manager.c"
7344 "libgdm/gdm-user-switching.c")
7345 (("#include <systemd/sd-login\\.h>")
7346 "#include <elogind/sd-login.h>"))
7347 ;; Check for elogind.
7348 (substitute* '("configure")
7351 ;; Look for system-installed sessions in
7352 ;; /run/current-system/profile/share.
7353 (substitute* '("libgdm/gdm-sessions.c"
7354 "daemon/gdm-session.c"
7355 "daemon/gdm-display.c"
7356 "daemon/gdm-launch-environment.c")
7358 "\"/run/current-system/profile/share/x")
7359 (("DATADIR \"/wayland")
7360 "\"/run/current-system/profile/share/wayland")
7361 (("DATADIR \"/gnome")
7362 "\"/run/current-system/profile/share/gnome"))
7363 (let ((propagate '("GDM_CUSTOM_CONF"
7367 ;; XXX: Remove this once GNOME Shell is
7368 ;; a dependency of GDM.
7370 (substitute* "daemon/gdm-session.c"
7371 (("set_up_session_environment \\(self\\);")
7372 (apply string-append
7373 "set_up_session_environment (self);\n"
7376 "gdm_session_set_environment_variable "
7377 "(self, \"" name "\","
7378 "g_getenv (\"" name "\"));\n"))
7380 ;; Find the configuration file using an environment variable.
7381 (substitute* '("common/gdm-settings.c")
7382 (("GDM_CUSTOM_CONF")
7383 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
7384 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
7385 " : GDM_CUSTOM_CONF)")))
7386 ;; Use service-supplied path to X.
7387 (substitute* '("daemon/gdm-server.c")
7388 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
7389 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
7390 (substitute* '("daemon/gdm-wayland-session.c"
7391 "daemon/gdm-x-session.c")
7392 (("\"dbus-daemon\"")
7393 "g_getenv (\"GDM_DBUS_DAEMON\")")
7395 "g_getenv (\"GDM_X_SERVER\")")
7396 (("GDMCONFDIR \"/Xsession\"")
7397 "g_getenv (\"GDM_X_SESSION\")"))
7398 ;; Use an absolute path for GNOME Session.
7399 (substitute* "daemon/gdm-launch-environment.c"
7400 (("\"gnome-session\"")
7401 (string-append "\"" (assoc-ref inputs "gnome-session")
7402 "/bin/gnome-session\"")))
7403 ;; Do not automatically select the placeholder session.
7404 (substitute* "daemon/gdm-session.c"
7405 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
7406 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
7407 "(g_strcmp0(search_dirs[i], \""
7408 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
7410 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
7411 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
7412 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
7414 ;; GDM requires that there be at least one desktop entry
7415 ;; file. This phase installs a hidden one that simply
7416 ;; fails. This enables users to use GDM with a
7417 ;; '~/.xsession' script with no other desktop entry files.
7418 ;; See <https://bugs.gnu.org/35068>.
7419 (add-after 'install 'install-placeholder-desktop-entry
7420 (lambda* (#:key inputs outputs #:allow-other-keys)
7421 (let* ((out (assoc-ref outputs "out"))
7422 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7423 (fail (string-append sessions "/fail.desktop")))
7425 (with-output-to-file fail
7429 '("[Desktop Entry]\n"
7431 "Type=Application\n"
7433 "Comment=This session fails immediately.\n"
7437 ;; GDM needs GNOME Session to run these applications. We link
7438 ;; their autostart files in `share/gdm/greeter/autostart'
7439 ;; because GDM explicitly tells GNOME Session to look there.
7441 ;; XXX: GNOME Shell should be linked here too, but currently
7442 ;; GNOME Shell depends on GDM.
7443 (add-after 'install 'link-autostart-files
7444 (lambda* (#:key inputs outputs #:allow-other-keys)
7445 (let* ((out (assoc-ref outputs "out"))
7446 (autostart (string-append out "/share/gdm/"
7447 "greeter/autostart"))
7448 (settings (assoc-ref inputs "gnome-settings-daemon")))
7450 (with-directory-excursion autostart
7451 (for-each (lambda (desktop)
7452 (symlink desktop (basename desktop)))
7453 (find-files (string-append settings "/etc/xdg"))))
7457 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7458 ("gobject-introspection" ,gobject-introspection)
7459 ("intltool" ,intltool)
7460 ("itstool" ,itstool)
7461 ("pkg-config" ,pkg-config)
7462 ("xmllint" ,libxml2)))
7464 `(("accountsservice" ,accountsservice)
7465 ("check" ,check) ; for testing
7466 ("elogind" ,elogind)
7467 ("gnome-session" ,gnome-session)
7468 ("gnome-settings-daemon" ,gnome-settings-daemon)
7470 ("iso-codes" ,iso-codes)
7471 ("libcanberra" ,libcanberra)
7472 ("linux-pam" ,linux-pam)))
7473 (synopsis "Display manager for GNOME")
7474 (home-page "https://wiki.gnome.org/Projects/GDM/")
7476 "GNOME Display Manager is a system service that is responsible for
7477 providing graphical log-ins and managing local and remote displays.")
7478 (license license:gpl2+)))
7480 (define-public libgtop
7486 (uri (string-append "mirror://gnome/sources/libgtop/"
7487 (version-major+minor version) "/"
7488 "libgtop-" version ".tar.xz"))
7491 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
7492 (build-system gnu-build-system)
7494 `(("gobject-introspection" ,gobject-introspection)
7495 ("intltool" ,intltool)
7497 ("pkg-config" ,pkg-config)))
7499 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7500 (synopsis "Portable system access library")
7501 (home-page "https://www.gnome.org/")
7503 "LibGTop is a library to get system specific data such as CPU and memory
7504 usage and information about running processes.")
7505 (license license:gpl2+)))
7507 (define-public gnome-bluetooth
7509 (name "gnome-bluetooth")
7513 (uri (string-append "mirror://gnome/sources/" name "/"
7514 (version-major+minor version) "/"
7515 name "-" version ".tar.xz"))
7518 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7519 (build-system meson-build-system)
7521 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7522 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7523 ("gobject-introspection" ,gobject-introspection)
7524 ("intltool" ,intltool)
7525 ("pkg-config" ,pkg-config)
7526 ("xmllint" ,libxml2)))
7528 ;; gnome-bluetooth-1.0.pc refers to all these.
7533 ("libcanberra" ,libcanberra)
7534 ("libnotify" ,libnotify)))
7535 (synopsis "GNOME Bluetooth subsystem")
7536 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7538 "This package contains tools for managing and manipulating Bluetooth
7539 devices using the GNOME desktop.")
7540 (license license:lgpl2.1+)))
7542 (define-public gnome-control-center
7544 (name "gnome-control-center")
7548 (uri (string-append "mirror://gnome/sources/" name "/"
7549 (version-major+minor version) "/"
7550 name "-" version ".tar.xz"))
7553 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7554 (build-system meson-build-system)
7558 (list "-Dcheese=false"
7559 (string-append "-Dgnome_session_libexecdir="
7560 (assoc-ref %build-inputs "gnome-session")
7563 (modify-phases %standard-phases
7564 (add-before 'configure 'patch-paths
7565 (lambda* (#:key inputs #:allow-other-keys)
7566 (let ((libc (assoc-ref inputs "libc"))
7567 (tzdata (assoc-ref inputs "tzdata"))
7568 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7569 (nm-applet (assoc-ref inputs "network-manager-applet"))
7570 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7571 (substitute* "panels/datetime/tz.h"
7572 (("/usr/share/zoneinfo/zone.tab")
7573 (string-append tzdata "/share/zoneinfo/zone.tab")))
7574 (substitute* "tests/datetime/test-endianess.c"
7575 (("/usr/share/locale")
7576 (string-append libc "/share/locale")))
7577 (substitute* "panels/region/cc-region-panel.c"
7578 (("\"gkbd-keyboard-display")
7579 (string-append "\"" libgnomekbd
7580 "/bin/gkbd-keyboard-display")))
7581 (substitute* '("panels/network/net-device-wifi.c"
7582 "panels/network/net-device.c"
7583 "panels/network/connection-editor/net-connection-editor.c")
7584 (("\"nm-connection-editor")
7585 (string-append "\"" nm-applet
7586 "/bin/nm-connection-editor")))
7587 (substitute* '("panels/user-accounts/run-passwd.c")
7588 (("/usr/bin/passwd")
7589 "/run/setuid-programs/passwd"))
7590 (substitute* "panels/info/cc-info-overview-panel.c"
7591 (("DATADIR \"/gnome/gnome-version.xml\"")
7592 (string-append "\"" gnome-desktop
7593 "/share/gnome/gnome-version.xml\"")))
7595 (add-after 'unpack 'skip-gtk-update-icon-cache
7596 ;; Don't create 'icon-theme.cache'.
7598 (substitute* "build-aux/meson/meson_post_install.py"
7599 (("gtk-update-icon-cache") (which "true")))
7602 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7603 ("intltool" ,intltool)
7604 ("pkg-config" ,pkg-config)
7605 ("xsltproc" ,libxslt)
7607 ("hicolor-icon-theme" ,hicolor-icon-theme)
7608 ("python-dbusmock" ,python-dbusmock)
7609 ("xorg-server" ,xorg-server-for-tests)))
7611 `(("accountsservice" ,accountsservice)
7612 ("clutter-gtk" ,clutter-gtk)
7613 ("colord-gtk" ,colord-gtk)
7616 ("docbook-xsl" ,docbook-xsl)
7617 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7618 ("gnome-bluetooth" ,gnome-bluetooth)
7619 ("gnome-desktop" ,gnome-desktop)
7620 ("gnome-online-accounts" ,gnome-online-accounts)
7621 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7622 ("gnome-session" ,gnome-session)
7623 ("gnome-settings-daemon" ,gnome-settings-daemon)
7627 ("libcanberra" ,libcanberra)
7628 ("libgnomekbd" ,libgnomekbd)
7629 ("libgudev" ,libgudev)
7630 ("libgtop" ,libgtop)
7632 ("libpwquality" ,libpwquality)
7633 ("libsecret" ,libsecret)
7634 ("libsoup" ,libsoup)
7635 ("libxml2" ,libxml2)
7636 ("libwacom" ,libwacom)
7638 ("mit-krb5" ,mit-krb5)
7639 ("modem-manager" ,modem-manager)
7640 ("network-manager-applet" ,network-manager-applet)
7642 ("pulseaudio" ,pulseaudio)
7643 ("smbclient" ,samba)
7646 ("upower" ,upower)))
7647 (synopsis "Utilities to configure the GNOME desktop")
7648 (home-page "https://www.gnome.org/")
7650 "This package contains configuration applets for the GNOME desktop,
7651 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7652 properties, sound setup, desktop theme and background, user interface
7653 properties, screen resolution, and other GNOME parameters.")
7654 (license license:gpl2+)))
7656 (define-public gnome-shell
7658 (name "gnome-shell")
7662 (uri (string-append "mirror://gnome/sources/" name "/"
7663 (version-major+minor version) "/"
7664 name "-" version ".tar.xz"))
7667 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7668 (patches (search-patches "gnome-shell-theme.patch"
7669 "gnome-shell-disable-test.patch"))
7670 (modules '((guix build utils)))
7673 ;; Copy images for use on the GDM log-in screen.
7674 (copy-file #$(file-append %artwork-repository
7675 "/slim/0.x/background.png")
7676 "data/theme/guix-background.png")
7677 (copy-file #$(file-append %artwork-repository
7678 "/logo/Guix-horizontal-white.svg")
7679 "data/theme/guix-logo.svg")
7681 (build-system meson-build-system)
7684 #:disallowed-references ((,glib "bin")
7688 (list "-Dsystemd=false"
7689 ;; Otherwise, the RUNPATH will lack the final path component.
7690 (string-append "-Dc_link_args=-Wl,-rpath="
7691 (assoc-ref %outputs "out")
7692 "/lib/gnome-shell"))
7694 #:modules ((guix build meson-build-system)
7699 (modify-phases %standard-phases
7700 (add-after 'unpack 'fix-keysdir
7701 (lambda* (#:key outputs #:allow-other-keys)
7702 (let* ((out (assoc-ref outputs "out"))
7703 (keysdir (string-append
7704 out "/share/gnome-control-center/keybindings")))
7705 (substitute* "meson.build"
7707 (string-append "keysdir = '" keysdir "'\n")))
7709 (add-before 'configure 'convert-logo-to-png
7710 (lambda* (#:key inputs #:allow-other-keys)
7711 ;; Convert the logo from SVG to PNG.
7712 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7713 "data/theme/guix-logo.svg")))
7714 (add-before 'configure 'record-absolute-file-names
7715 (lambda* (#:key inputs #:allow-other-keys)
7716 (substitute* "js/misc/ibusManager.js"
7718 (string-append "'" (assoc-ref inputs "ibus")
7719 "/bin/ibus-daemon'")))
7720 (substitute* "js/ui/status/keyboard.js"
7721 (("'gkbd-keyboard-display'")
7722 (string-append "'" (assoc-ref inputs "libgnomekbd")
7723 "/bin/gkbd-keyboard-display'")))
7725 (add-before 'check 'pre-check
7726 (lambda* (#:key inputs #:allow-other-keys)
7727 ;; Tests require a running X server.
7728 (system "Xvfb :1 &")
7729 (setenv "DISPLAY" ":1")
7731 (add-after 'install 'wrap-programs
7732 (lambda* (#:key inputs outputs #:allow-other-keys)
7733 (let ((out (assoc-ref outputs "out"))
7734 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7735 (python-path (getenv "PYTHONPATH")))
7736 (wrap-program (string-append out "/bin/gnome-shell")
7737 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7738 ;; FIXME: gnome-shell loads these libraries with unqualified
7739 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7740 ;; alternative might be to patch gnome-shell.
7741 `("LD_LIBRARY_PATH" ":" prefix
7743 (string-append (assoc-ref inputs pkg) "/lib"))
7745 "gnome-bluetooth" "librsvg" "libgweather"))))
7748 (wrap-program (string-append out "/bin/" prog)
7749 `("PYTHONPATH" ":" prefix (,python-path))
7750 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7751 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7753 (replace 'glib-or-gtk-wrap
7754 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7755 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7756 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7757 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7758 ;; phase. Fix that since we don't need these.
7759 (wrap #:inputs (fold alist-delete inputs
7760 '("inkscape" "intltool" "glib:bin"))
7761 #:outputs outputs)))))))
7763 `(("asciidoc" ,asciidoc)
7764 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7765 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7766 ("gobject-introspection" ,gobject-introspection)
7767 ("inkscape" ,inkscape)
7768 ("intltool" ,intltool)
7769 ("pkg-config" ,pkg-config)
7771 ("ruby-sass" ,ruby-sass)
7773 ("xsltproc" ,libxslt)
7775 ("xorg-server" ,xorg-server-for-tests)))
7777 `(("accountsservice" ,accountsservice)
7778 ("caribou" ,caribou)
7779 ("docbook-xsl" ,docbook-xsl)
7780 ("evolution-data-server" ,evolution-data-server)
7783 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7785 ("gnome-autoar" ,gnome-autoar)
7786 ("gnome-bluetooth" ,gnome-bluetooth)
7787 ("gnome-desktop" ,gnome-desktop)
7788 ("gnome-settings-daemon" ,gnome-settings-daemon)
7789 ("gst-plugins-base" ,gst-plugins-base)
7791 ("libcanberra" ,libcanberra)
7792 ("libcroco" ,libcroco)
7793 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7794 ("libgweather" ,libgweather)
7796 ("libsoup" ,libsoup)
7797 ("mesa-headers" ,mesa-headers)
7799 ("network-manager-applet" ,network-manager-applet)
7801 ("pulseaudio" ,pulseaudio)
7802 ("python-pygobject" ,python-pygobject)
7803 ("startup-notification" ,startup-notification)
7804 ("telepathy-logger" ,telepathy-logger)
7806 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7807 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7808 ("librsvg" ,librsvg)
7809 ("geoclue" ,geoclue)))
7810 (synopsis "Desktop shell for GNOME")
7811 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7813 "GNOME Shell provides core user interface functions for the GNOME desktop,
7814 like switching to windows and launching applications.")
7815 (license license:gpl2+)))
7817 (define-public gtk-vnc
7824 (uri (string-append "mirror://gnome/sources/" name "/"
7825 (version-major+minor version) "/"
7826 name "-" version ".tar.xz"))
7829 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7830 (build-system gnu-build-system)
7832 '(#:configure-flags '("--with-gtk=3.0")))
7834 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7836 `(("cyrus-sasl" ,cyrus-sasl)
7838 ("libgcrypt" ,libgcrypt)
7839 ("pulseaudio" ,pulseaudio)))
7841 `(("glib:bin" ,glib "bin")
7842 ("gobject-introspection" ,gobject-introspection)
7843 ("intltool" ,intltool)
7844 ("pkg-config" ,pkg-config)
7845 ("python-wrapper" ,python-wrapper)
7847 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7848 (synopsis "VNC viewer widget for GTK+")
7850 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7851 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7852 GTK-VNC implements client side RFB protocol and authentication extensions such
7853 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7854 (license license:lgpl2.1+)))
7856 (define-public gnome-autoar
7858 (name "gnome-autoar")
7862 (uri (string-append "mirror://gnome/sources/" name "/"
7863 (version-major+minor version) "/"
7864 name "-" version ".tar.xz"))
7867 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7868 (build-system glib-or-gtk-build-system)
7870 `(("gobject-introspection" ,gobject-introspection)
7871 ("pkg-config" ,pkg-config)))
7873 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7876 (synopsis "Archives integration support for GNOME")
7877 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7879 "GNOME Autoar is a library which makes creating and extracting archives
7880 easy, safe, and automatic.")
7881 (license license:lgpl2.1+)))
7883 (define-public tracker
7889 (uri (string-append "mirror://gnome/sources/tracker/"
7890 (version-major+minor version) "/"
7891 "tracker-" version ".tar.xz"))
7894 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7895 (build-system meson-build-system)
7899 ;; Otherwise, the RUNPATH will lack the final path component.
7900 (list (string-append "-Dc_link_args=-Wl,-rpath="
7901 (assoc-ref %outputs "out") "/lib:"
7902 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7904 (modify-phases %standard-phases
7905 (add-before 'check 'pre-check
7907 ;; Some tests expect to write to $HOME.
7908 (setenv "HOME" "/tmp")
7911 `(("glib:bin" ,glib "bin")
7912 ("gobject-introspection" ,gobject-introspection)
7913 ("python-pygobject" ,python-pygobject)
7914 ("intltool" ,intltool)
7915 ("pkg-config" ,pkg-config)
7920 ("libxml2" ,libxml2)
7921 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7922 ("json-glib" ,json-glib)
7923 ("libsoup" ,libsoup)))
7924 (synopsis "Metadata database, indexer and search tool")
7925 (home-page "https://wiki.gnome.org/Projects/Tracker")
7927 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7929 It is a middleware component aimed at desktop application developers who want
7930 their apps to browse and search user content. It's not designed to be used
7931 directly by desktop users, but it provides a commandline tool named
7932 @command{tracker} for the adventurous.
7934 Tracker allows your application to instantly perform full-text searches across
7935 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7936 example. This is achieved by indexing the user's home directory in the
7939 Tracker also allows your application to query and list content that the user
7940 has stored. For example, GNOME Music displays all the music files that are
7941 found by Tracker. This means that GNOME Music doesn't need to maintain a
7942 database of its own.
7944 If you need to go beyond simple searches, Tracker is also a linked data
7945 endpoint and it understands SPARQL. ")
7946 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7947 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7948 ;; libstemmer is bsd-3 and the rest is gpl2+.
7949 (license (list license:gpl2+
7951 license:lgpl2.1+))))
7953 (define-public tracker-miners
7955 (name "tracker-miners")
7959 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7960 (version-major+minor version)
7961 "/tracker-miners-" version ".tar.xz"))
7964 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7965 (build-system meson-build-system)
7969 (list "-Dminer_rss=false" ; libgrss is required.
7970 ;; Ensure the RUNPATH contains all installed library locations.
7971 (string-append "-Dc_link_args=-Wl,-rpath="
7972 (assoc-ref %outputs "out")
7973 "/lib/tracker-miners-2.0")
7974 ;; TODO: Enable functional tests. Currently, the following error
7976 ;; Exception: The functional tests require DConf to be the default
7977 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7978 "-Dfunctional_tests=false")))
7981 ("intltool" ,intltool)
7982 ("glib:bin" ,glib "bin")
7983 ("gobject-introspection" ,gobject-introspection)
7984 ("pkg-config" ,pkg-config)
7985 ("python-pygobject" ,python-pygobject)))
7987 `(("exempi" ,exempi)
7992 ("gstreamer" ,gstreamer)
7995 ("libexif" ,libexif)
7997 ("libgxps" ,libgxps)
7998 ("libiptcdata" ,libiptcdata)
7999 ("libjpeg" ,libjpeg-turbo)
8000 ("libosinfo" ,libosinfo)
8002 ("libseccomp" ,libseccomp)
8003 ("libtiff" ,libtiff)
8004 ("libvorbis" ,libvorbis)
8005 ("libxml2" ,libxml2)
8006 ("poppler" ,poppler)
8008 ("totem-pl-parser" ,totem-pl-parser)
8009 ("tracker" ,tracker)
8012 (synopsis "Metadata database, indexer and search tool")
8013 (home-page "https://wiki.gnome.org/Projects/Tracker")
8015 "Tracker is an advanced framework for first class objects with associated
8016 metadata and tags. It provides a one stop solution for all metadata, tags,
8017 shared object databases, search tools and indexing.")
8018 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8019 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8020 (license (list license:gpl2+
8022 license:lgpl2.0+))))
8024 (define-public nautilus
8030 (uri (string-append "mirror://gnome/sources/" name "/"
8031 (version-major+minor version) "/"
8032 name "-" version ".tar.xz"))
8035 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8036 (build-system meson-build-system)
8040 (modify-phases %standard-phases
8041 (add-after 'unpack 'skip-gtk-update-icon-cache
8042 ;; Don't create 'icon-theme.cache'.
8044 (substitute* "build-aux/meson/postinstall.py"
8045 (("gtk-update-icon-cache") "true"))
8047 ;; XXX: FAIL: check-nautilus
8048 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8051 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8052 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8053 ("gobject-introspection" ,gobject-introspection)
8054 ("intltool" ,intltool)
8055 ("pkg-config" ,pkg-config)))
8061 ("gnome-desktop" ,gnome-desktop)
8062 ("gnome-autoar" ,gnome-autoar)
8063 ("gst-plugins-base" ,gst-plugins-base)
8064 ("libseccomp" ,libseccomp)
8065 ("libselinux" ,libselinux)
8066 ("tracker" ,tracker)
8067 ("tracker-miners" ,tracker-miners)
8068 ;; XXX: gtk+ is required by libnautilus-extension.pc
8070 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8072 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8074 ("libexif" ,libexif)
8075 ("libxml2" ,libxml2)))
8076 (synopsis "File manager for GNOME")
8077 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8079 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8080 design and behaviour, giving the user a simple way to navigate and manage its
8082 (license license:gpl2+)))
8084 (define-public baobab
8091 "mirror://gnome/sources/" name "/"
8092 (version-major+minor version) "/"
8093 name "-" version ".tar.xz"))
8096 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
8097 (build-system meson-build-system)
8099 '(#:glib-or-gtk? #t))
8101 `(("intltool" ,intltool)
8102 ("pkg-config" ,pkg-config)
8103 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8104 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8105 ("itstool" ,itstool)
8106 ("xmllint" ,libxml2)
8107 ("glib" ,glib "bin")
8111 (synopsis "Disk usage analyzer for GNOME")
8113 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8114 usage in the GNOME desktop environment. It can easily scan device volumes or
8115 a specific user-requested directory branch (local or remote). Once the scan
8116 is complete it provides a graphical representation of each selected folder.")
8117 (home-page "https://wiki.gnome.org/Apps/Baobab")
8118 (license license:gpl2+)))
8120 (define-public gnome-backgrounds
8122 (name "gnome-backgrounds")
8127 (uri (string-append "mirror://gnome/sources/" name "/"
8128 (version-major+minor version) "/"
8129 name "-" version ".tar.xz"))
8132 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8133 (build-system meson-build-system)
8135 `(("intltool" ,intltool)))
8136 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8137 (synopsis "Background images for the GNOME desktop")
8139 "GNOME backgrounds package contains a collection of graphics files which
8140 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8141 the package creates the proper framework and directory structure so that you
8142 can add your own files to the collection.")
8143 (license (list license:gpl2+
8146 license:cc-by-sa3.0))))
8148 (define-public gnome-screenshot
8150 (name "gnome-screenshot")
8155 (uri (string-append "mirror://gnome/sources/" name "/"
8156 (version-major+minor version) "/"
8157 name "-" version ".tar.xz"))
8160 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8161 (build-system meson-build-system)
8164 (modify-phases %standard-phases
8165 (add-after 'unpack 'skip-gtk-update-icon-cache
8166 ;; Don't create 'icon-theme.cache'.
8168 (substitute* "build-aux/postinstall.py"
8169 (("gtk-update-icon-cache") "true"))
8172 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8173 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8174 ("intltool" ,intltool)
8175 ("appstream-glib" ,appstream-glib)
8176 ("pkg-config" ,pkg-config)))
8179 ("libcanberra" ,libcanberra)
8181 ("libxext" ,libxext)))
8182 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8183 (synopsis "Take pictures of your screen")
8185 "GNOME Screenshot is a utility used for taking screenshots of the entire
8186 screen, a window or a user defined area of the screen, with optional
8187 beautifying border effects.")
8188 (license license:gpl2+)))
8190 (define-public dconf-editor
8192 (name "dconf-editor")
8197 (uri (string-append "mirror://gnome/sources/" name "/"
8198 (version-major+minor version) "/"
8199 name "-" version ".tar.xz"))
8202 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8203 (build-system meson-build-system)
8205 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8206 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8207 ("intltool" ,intltool)
8208 ("pkg-config" ,pkg-config)
8213 ("libxml2" ,libxml2)))
8214 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8215 (synopsis "Graphical editor for GNOME's dconf configuration system")
8217 "Dconf-editor is a graphical tool for browsing and editing the dconf
8218 configuration system for GNOME. It allows users to configure desktop
8219 software that do not provide their own configuration interface.")
8220 (license license:lgpl2.1+)))
8222 (define-public gnome-default-applications
8224 (name "gnome-default-applications")
8226 (build-system trivial-build-system)
8229 `(("nautilus" ,nautilus)
8230 ("evince" ,evince)))
8232 `(#:modules ((guix build utils))
8235 (use-modules (guix build utils))
8236 (let* ((out (assoc-ref %outputs "out"))
8237 (apps (string-append out "/share/applications")))
8239 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8241 (format port "[Default Applications]\n")
8242 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8243 (format port "application/pdf=evince.desktop\n")
8244 (format port "application/postscript=evince.desktop\n")))
8246 (synopsis "Default MIME type associations for the GNOME desktop")
8248 "Given many installed packages which might handle a given MIME type, a
8249 user running the GNOME desktop probably has some preferences: for example,
8250 that folders be opened by default by the Nautilus file manager, not the Baobab
8251 disk usage analyzer. This package establishes that set of default MIME type
8252 associations for GNOME.")
8253 (license license:gpl3+)
8256 (define-public libgovirt
8262 (uri (string-append "mirror://gnome/sources/" name "/"
8263 (version-major+minor version) "/"
8264 name "-" version ".tar.xz"))
8267 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8268 (build-system glib-or-gtk-build-system)
8270 `(("gettext" ,gettext-minimal)
8271 ("glib:bin" ,glib "bin")
8272 ("gobject-introspection" ,gobject-introspection)
8273 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8274 ("gtk+:bin" ,gtk+ "bin")
8275 ("pkg-config" ,pkg-config)))
8277 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8279 (synopsis "GoVirt Library")
8280 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8281 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8282 (license license:gpl2+)))
8284 (define-public gnome-weather
8286 (name "gnome-weather")
8290 (uri (string-append "mirror://gnome/sources/" name "/"
8291 (version-major+minor version) "/"
8292 name "-" version ".tar.xz"))
8295 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8296 (build-system meson-build-system)
8298 `(("gettext" ,gettext-minimal)
8299 ("glib:bin" ,glib "bin")
8300 ("gobject-introspection" ,gobject-introspection)
8301 ("gtk+:bin" ,gtk+ "bin")
8302 ("pkg-config" ,pkg-config)))
8304 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
8305 ("appstream-glib" ,appstream-glib)
8306 ("geoclue" ,geoclue)
8307 ("gdk-pixbuf" ,gdk-pixbuf)
8309 ("gnome-desktop" ,gnome-desktop)
8310 ("libgweather" ,libgweather)))
8314 (modify-phases %standard-phases
8315 (add-after 'install 'fix-desktop-file
8316 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
8317 ;; See https://issues.guix.gnu.org/issue/39324.
8318 (lambda* (#:key outputs #:allow-other-keys)
8319 (let* ((out (assoc-ref outputs "out"))
8320 (applications (string-append out "/share/applications")))
8321 (substitute* (string-append applications "/org.gnome.Weather.desktop")
8322 (("Exec=.*") "Exec=gnome-weather\n"))
8324 (add-after 'install 'wrap
8325 (lambda* (#:key inputs outputs #:allow-other-keys)
8326 (let ((out (assoc-ref outputs "out"))
8327 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8328 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
8329 (wrap-program (string-append out "/bin/gnome-weather")
8330 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
8332 (synopsis "Weather monitoring for GNOME desktop")
8333 (description "GNOME Weather is a small application that allows you to
8334 monitor the current weather conditions for your city, or anywhere in the
8336 (home-page "https://wiki.gnome.org/Apps/Weather")
8337 (license license:gpl2+)))
8339 (define-public gnome
8342 (version (package-version gnome-shell))
8344 (build-system trivial-build-system)
8345 (arguments '(#:builder (begin (mkdir %output) #t)))
8347 ;; TODO: Add or remove packages according to:
8348 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
8350 ;; GNOME-Core-OS-Services
8351 ("accountsservice" ,accountsservice)
8352 ("network-manager" ,network-manager)
8353 ("packagekit" ,packagekit)
8356 ("adwaita-icon-theme" ,adwaita-icon-theme)
8358 ("glib-networking" ,glib-networking)
8359 ("gnome-backgrounds" ,gnome-backgrounds)
8360 ("gnome-bluetooth" ,gnome-bluetooth)
8361 ("gnome-color-manager" ,gnome-color-manager)
8362 ("gnome-control-center" ,gnome-control-center)
8363 ("gnome-desktop" ,gnome-desktop)
8364 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8365 ("gnome-initial-setup" ,gnome-initial-setup)
8366 ("gnome-keyring" ,gnome-keyring)
8367 ("gnome-menus" ,gnome-menus)
8368 ("gnome-session" ,gnome-session)
8369 ("gnome-settings-daemon" ,gnome-settings-daemon)
8370 ("gnome-shell-extensions" ,gnome-shell-extensions)
8371 ("gnome-shell" ,gnome-shell)
8372 ("gnome-themes-extra" ,gnome-themes-extra)
8373 ("gnome-user-docs" ,gnome-user-docs)
8374 ("gnome-user-share" ,gnome-user-share)
8375 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8381 ;; GNOME-Core-Utilities
8384 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
8385 ;; only works on x86_64, so exclude it on other architectures.
8386 ,@(if (string-prefix? "x86_64" (%current-system))
8389 ("epiphany" ,epiphany)
8391 ("file-roller" ,file-roller)
8393 ("gnome-boxes" ,gnome-boxes)
8394 ("gnome-calculator" ,gnome-calculator)
8395 ("gnome-calendar" ,gnome-calendar)
8396 ("gnome-characters" ,gnome-characters)
8397 ("gnome-clocks" ,gnome-clocks)
8398 ("gnome-contacts" ,gnome-contacts)
8399 ("gnome-disk-utility" ,gnome-disk-utility)
8400 ("gnome-font-viewer" ,gnome-font-viewer)
8401 ("gnome-maps" ,gnome-maps)
8402 ; TODO: ("gnome-music" ,gnome-music)
8403 ; TODO: ("gnome-photos" ,gnome-photos)
8404 ("gnome-screenshot" ,gnome-screenshot)
8405 ("gnome-system-monitor" ,gnome-system-monitor)
8406 ("gnome-terminal" ,gnome-terminal)
8407 ("gnome-weather" ,gnome-weather)
8408 ("nautilus" ,nautilus)
8409 ("simple-scan" ,simple-scan)
8413 ("hicolor-icon-theme" ,hicolor-icon-theme)
8414 ("gnome-online-accounts" ,gnome-online-accounts)
8416 ;; Packages not part of GNOME proper but that are needed for a good
8417 ;; experience. See <https://bugs.gnu.org/39646>.
8418 ;; XXX: Find out exactly which ones are needed and why.
8419 ("font-cantarell" ,font-cantarell)
8420 ("font-dejavu" ,font-dejavu)
8421 ("at-spi2-core" ,at-spi2-core)
8424 ("desktop-file-utils" ,desktop-file-utils)
8425 ("gnome-default-applications" ,gnome-default-applications)
8426 ("gnome-themes-standard" ,gnome-themes-standard)
8427 ("gst-plugins-base" ,gst-plugins-base)
8428 ("gst-plugins-good" ,gst-plugins-good)
8429 ("gucharmap" ,gucharmap)
8430 ("pinentry-gnome3" ,pinentry-gnome3)
8431 ("pulseaudio" ,pulseaudio)
8432 ("shared-mime-info" ,shared-mime-info)
8433 ("system-config-printer" ,system-config-printer)
8434 ("xdg-user-dirs" ,xdg-user-dirs)
8436 ("zenity" ,zenity)))
8437 (synopsis "The GNU desktop environment")
8438 (home-page "https://www.gnome.org/")
8440 "GNOME is the graphical desktop for GNU. It includes a wide variety of
8441 applications for browsing the web, editing text and images, creating
8442 documents and diagrams, playing media, scanning, and much more.")
8443 (license license:gpl2+)))
8445 (define-public byzanz
8446 ;; The last stable release of Byzanz was in 2011, but there have been many
8447 ;; useful commits made to the Byzanz repository since then that it would be
8448 ;; silly to use such an old release.
8449 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
8452 (version (string-append "0.2-1." (string-take commit 7)))
8456 (url "https://git.gnome.org/browse/byzanz")
8458 (file-name (string-append name "-" version "-checkout"))
8461 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8462 (build-system glib-or-gtk-build-system)
8465 (modify-phases %standard-phases
8466 (add-before 'bootstrap 'build-without-Werror
8468 ;; The build system cleverly detects that we're not building from
8469 ;; a release tarball and turns on -Werror for GCC.
8470 ;; Unsurprisingly, there is a warning during compilation that
8471 ;; causes the build to fail unnecessarily, so we remove the flag.
8472 (substitute* '("configure.ac")
8476 `(("autoconf" ,autoconf)
8477 ("automake" ,automake)
8478 ("gnome-common" ,gnome-common)
8479 ("intltool" ,intltool)
8480 ("libtool" ,libtool)
8481 ("pkg-config" ,pkg-config)
8485 ("gstreamer" ,gstreamer)
8486 ("gst-plugins-base" ,gst-plugins-base)
8488 (synopsis "Desktop recording program")
8489 (description "Byzanz is a simple desktop recording program with a
8490 command-line interface. It can record part or all of an X display for a
8491 specified duration and save it as a GIF encoded animated image file.")
8492 (home-page "https://git.gnome.org/browse/byzanz")
8493 (license license:gpl2+))))
8495 (define-public gsound
8501 (uri (string-append "mirror://gnome/sources/" name "/"
8502 (version-major+minor version) "/"
8503 name "-" version ".tar.xz"))
8506 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8507 (build-system glib-or-gtk-build-system)
8509 `(("pkg-config" ,pkg-config)
8510 ("gobject-introspection" ,gobject-introspection)
8514 ("libcanberra" ,libcanberra)))
8515 (home-page "https://wiki.gnome.org/Projects/GSound")
8516 (synopsis "GObject wrapper for libcanberra")
8518 "GSound is a small library for playing system sounds. It's designed to be
8519 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8521 (license license:lgpl2.1+)))
8523 (define-public libzapojit
8529 (uri (string-append "mirror://gnome/sources/" name "/"
8530 (version-major+minor version) "/"
8531 name "-" version ".tar.xz"))
8534 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8535 (build-system gnu-build-system)
8537 `(("gobject-introspection" ,gobject-introspection)
8538 ("intltool" ,intltool)
8539 ("pkg-config" ,pkg-config)))
8541 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8542 ("json-glib" ,json-glib)
8544 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8545 (synopsis "Library for accessing SkyDrive and Hotmail")
8547 "Libzapojit is a GLib-based library for accessing online service APIs of
8548 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8549 (license license:lgpl2.1+)))
8551 (define-public gnome-clocks
8553 (name "gnome-clocks")
8557 (uri (string-append "mirror://gnome/sources/" name "/"
8558 (version-major+minor version) "/"
8559 name "-" version ".tar.xz"))
8562 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8563 (build-system meson-build-system)
8567 (modify-phases %standard-phases
8568 (add-after 'unpack 'skip-gtk-update-icon-cache
8569 ;; Don't create 'icon-theme.cache'.
8571 (substitute* "build-aux/post-install.py"
8572 (("gtk-update-icon-cache") "true"))
8576 ("pkg-config" ,pkg-config)
8577 ("glib" ,glib "bin") ; for glib-compile-resources
8578 ("desktop-file-utils" ,desktop-file-utils)
8579 ("gettext" ,gettext-minimal)
8580 ("itstool" ,itstool)))
8585 ("geoclue" ,geoclue)
8586 ("geocode-glib" ,geocode-glib)
8587 ("libgweather" ,libgweather)
8588 ("gnome-desktop" ,gnome-desktop)))
8589 (home-page "https://wiki.gnome.org/Apps/Clocks")
8590 (synopsis "GNOME's clock application")
8592 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8593 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8594 (license license:gpl3+)))
8596 (define-public gnome-calendar
8598 (name "gnome-calendar")
8602 (uri (string-append "mirror://gnome/sources/" name "/"
8603 (version-major+minor version) "/"
8604 name "-" version ".tar.xz"))
8607 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8608 (build-system meson-build-system)
8611 ;; gnome-calendar has to be installed before the tests can be run
8612 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8615 (modify-phases %standard-phases
8616 (add-after 'unpack 'skip-gtk-update-icon-cache
8617 ;; Don't create 'icon-theme.cache'.
8619 (substitute* "build-aux/meson/meson_post_install.py"
8620 (("gtk-update-icon-cache") "true"))
8623 `(("gettext" ,gettext-minimal)
8624 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8625 ("pkg-config" ,pkg-config)))
8627 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8628 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8629 ("libdazzle" ,libdazzle)
8630 ("libedataserverui" ,evolution-data-server)
8631 ("libgweather" ,libgweather)
8632 ("geoclue" ,geoclue)))
8634 `(("evolution-data-server" ,evolution-data-server)))
8635 (home-page "https://wiki.gnome.org/Apps/Calendar")
8636 (synopsis "GNOME's calendar application")
8638 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8639 desktop. It supports multiple calendars, month, week and year view.")
8640 (license license:gpl3+)))
8642 (define-public gnome-todo
8648 (uri (string-append "mirror://gnome/sources/" name "/"
8649 (version-major+minor version) "/"
8650 name "-" version ".tar.xz"))
8653 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8655 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8656 (build-system meson-build-system)
8659 #:phases (modify-phases %standard-phases
8661 'install 'wrap-gnome-todo
8662 (lambda* (#:key inputs outputs #:allow-other-keys)
8663 (let ((out (assoc-ref outputs "out"))
8664 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8665 (python-path (getenv "PYTHONPATH")))
8666 (wrap-program (string-append out "/bin/gnome-todo")
8667 ;; XXX: gi plugins are broken.
8668 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8670 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8671 `("PYTHONPATH" ":" prefix (,python-path))))
8674 `(("gettext" ,gettext-minimal)
8675 ("gobject-introspection" ,gobject-introspection)
8676 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8677 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8678 ("pkg-config" ,pkg-config)))
8680 `(("rest" ,rest) ; For Todoist plugin
8681 ("json-glib" ,json-glib) ; For Todoist plugin
8682 ("libedataserverui" ,evolution-data-server)
8683 ("libical" ,libical)
8684 ("libpeas" ,libpeas)
8685 ("python-pygobject" ,python-pygobject)
8686 ("evolution-data-server" ,evolution-data-server)
8687 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8688 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8689 (home-page "https://wiki.gnome.org/Apps/Todo")
8690 (synopsis "GNOME's ToDo Application")
8692 "GNOME To Do is a simplistic personal task manager designed to perfectly
8693 fit the GNOME desktop.")
8694 (license license:gpl3+)))
8696 (define-public gnome-dictionary
8698 (name "gnome-dictionary")
8702 (uri (string-append "mirror://gnome/sources/" name "/"
8703 (version-major+minor version) "/"
8704 name "-" version ".tar.xz"))
8707 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8708 (build-system meson-build-system)
8709 (arguments '(#:glib-or-gtk? #t
8710 #:phases (modify-phases %standard-phases
8711 (add-after 'unpack 'patch-install-script
8713 ;; This script attempts to compile glib schemas
8714 ;; and create an empty MIME database. We do
8715 ;; that elsewhere, so prevent it from running.
8716 (substitute* "build-aux/post-install.sh"
8717 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8720 `(("glib:bin" ,glib "bin")
8721 ("gobject-introspection" ,gobject-introspection)
8722 ("intltool" ,intltool)
8723 ("itstool" ,itstool)
8724 ("pkg-config" ,pkg-config)
8725 ("xmllint" ,libxml2)))
8727 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8729 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8730 (synopsis "Look up words in dictionary sources")
8732 "GNOME Dictionary can look for the definition or translation of a word in
8733 existing databases over the internet.")
8734 (license license:gpl3+)))
8736 (define-public gnome-tweaks
8738 (name "gnome-tweaks")
8742 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8743 (version-major+minor version) "/"
8744 "gnome-tweaks-" version ".tar.xz"))
8746 (list (search-patch "gnome-tweaks-search-paths.patch")))
8749 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8750 (build-system meson-build-system)
8753 #:configure-flags '("-Dlocalstatedir=/tmp"
8754 "-Dsysconfdir=/tmp")
8755 #:imported-modules ((guix build python-build-system)
8756 ,@%meson-build-system-modules)
8758 (modify-phases %standard-phases
8759 (add-after 'unpack 'skip-gtk-update-icon-cache
8760 ;; Don't create 'icon-theme.cache'.
8762 (substitute* "meson-postinstall.py"
8763 (("gtk-update-icon-cache") "true"))
8765 (add-after 'install 'wrap
8766 (@@ (guix build python-build-system) wrap))
8767 (add-after 'wrap 'wrap-gi-typelib
8768 (lambda* (#:key inputs outputs #:allow-other-keys)
8769 (let ((out (assoc-ref outputs "out"))
8770 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8771 (wrap-program (string-append out "/bin/gnome-tweaks")
8772 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8775 `(("intltool" ,intltool)
8776 ("pkg-config" ,pkg-config)))
8778 `(("gnome-desktop" ,gnome-desktop)
8780 ("gobject-introspection" ,gobject-introspection)
8781 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8782 ("libhandy" ,libhandy)
8783 ("libnotify" ,libnotify)
8784 ("libsoup" ,libsoup)
8785 ("nautilus" ,nautilus)
8787 ("python-pygobject" ,python-pygobject)))
8788 (synopsis "Customize advanced GNOME 3 options")
8789 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8791 "GNOME Tweaks allows adjusting advanced configuration settings in
8792 GNOME 3. This includes things like the fonts used in user interface elements,
8793 alternative user interface themes, changes in window management behavior,
8794 GNOME Shell appearance and extension, etc.")
8795 (license license:gpl3+)))
8797 (define-public gnome-shell-extensions
8799 (name "gnome-shell-extensions")
8803 (uri (string-append "mirror://gnome/sources/" name "/"
8804 (version-major+minor version) "/"
8805 name "-" version ".tar.xz"))
8808 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8809 (build-system meson-build-system)
8811 '(#:configure-flags '("-Dextension_set=all")))
8813 `(("glib:bin" ,glib "bin")
8814 ("intltool" ,intltool)
8815 ("pkg-config" ,pkg-config)))
8818 (synopsis "Extensions for GNOME Shell")
8819 (description "GNOME Shell extensions modify and extend GNOME Shell
8820 functionality and behavior.")
8821 (home-page "https://extensions.gnome.org/")
8822 (license license:gpl3+)))
8824 (define-public arc-theme
8827 (version "20190917")
8831 (url "https://github.com/NicoHood/arc-theme")
8833 (file-name (git-file-name name version))
8836 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8837 (build-system gnu-build-system)
8840 (modify-phases %standard-phases
8841 ;; autogen.sh calls configure at the end of the script.
8843 (lambda _ (invoke "autoreconf" "-vfi")))
8844 (add-before 'build 'set-home ;placate Inkscape
8846 (setenv "HOME" (getcwd))
8849 `(("autoconf" ,autoconf)
8850 ("automake" ,automake)
8851 ("glib" ,glib "bin") ; for glib-compile-resources
8852 ("gnome-shell" ,gnome-shell)
8854 ("inkscape" ,inkscape)
8855 ("optipng" ,optipng)
8856 ("pkg-config" ,pkg-config)
8857 ("sassc" ,sassc/libsass-3.5)))
8858 (synopsis "A flat GTK+ theme with transparent elements")
8859 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8860 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8861 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8862 (home-page "https://github.com/horst3180/arc-theme")
8863 ;; No "or later" language found.
8864 (license license:gpl3+)))
8866 (define-public faba-icon-theme
8868 (name "faba-icon-theme")
8874 (url "https://github.com/snwh/faba-icon-theme")
8875 (commit (string-append "v" version))))
8876 (file-name (git-file-name name version))
8878 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8879 (build-system meson-build-system)
8882 (modify-phases %standard-phases
8883 (add-before 'configure 'disable-post-install
8885 (substitute* "meson.build"
8886 (("meson.add_install_script.*") "")))))))
8888 `(("autoconf" ,autoconf)
8889 ("automake" ,automake)))
8890 (synopsis "Faba icon theme")
8892 "Faba is a minimal icon set used as a basis for other themes such as
8894 (home-page "https://snwh.org/moka")
8895 (license (list license:lgpl3+
8896 license:cc-by-sa4.0))))
8898 (define-public moka-icon-theme
8900 (inherit faba-icon-theme)
8901 (name "moka-icon-theme")
8907 (url "https://github.com/snwh/moka-icon-theme")
8908 (commit (string-append "v" version))))
8909 (file-name (git-file-name name version))
8911 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8913 ;; Moka is based on Faba by using it as a fallback icon set instead of
8914 ;; bundling it, so we need to add it as a propagated input.
8915 `(("faba-icon-theme" ,faba-icon-theme)))
8916 (synopsis "Moka icon theme")
8917 (description "Moka is a stylized desktop icon set, designed to be clear,
8918 simple and consistent.")
8919 (license (list license:gpl3+
8920 license:cc-by-sa4.0))))
8922 (define-public arc-icon-theme
8924 (name "arc-icon-theme")
8925 (version "20161122")
8930 (url "https://github.com/horst3180/arc-icon-theme")
8932 (file-name (git-file-name name version))
8934 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8935 (build-system gnu-build-system)
8938 (modify-phases %standard-phases
8939 (add-after 'unpack 'disable-configure-during-bootstrap
8941 (substitute* "autogen.sh"
8942 (("^\"\\$srcdir/configure\".*") ""))
8945 `(("autoconf" ,autoconf)
8946 ("automake" ,automake)))
8947 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8949 `(("moka-icon-theme" ,moka-icon-theme)))
8950 (synopsis "Arc icon theme")
8951 (description "The Arc icon theme provides a set of icons matching the
8952 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8953 the Moka icon theme.")
8954 (home-page "https://github.com/horst3180/arc-icon-theme")
8955 (license license:gpl3+)))
8957 (define-public folks
8964 "mirror://gnome/sources/folks/"
8965 (version-major+minor version) "/"
8966 "folks-" version ".tar.xz"))
8969 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8970 (build-system meson-build-system)
8973 (modify-phases %standard-phases
8974 (add-after 'unpack 'skip-gtk-update-icon-cache
8975 ;; Don't create 'icon-theme.cache'.
8977 (substitute* "meson_post_install.py"
8978 (("gtk-update-icon-cache") "true"))
8982 ("dbus-glib" ,dbus-glib)
8983 ("evolution-data-server" ,evolution-data-server)
8986 ("readline" ,readline)
8987 ("telepathy-glib" ,telepathy-glib)))
8989 `(("glib:bin" ,glib "bin")
8990 ("gobject-introspection" ,gobject-introspection)
8991 ("intltool" ,intltool)
8992 ("pkg-config" ,pkg-config)
8994 (synopsis "Library to aggregate data about people")
8995 (description "Libfolks is a library that aggregates information about people
8996 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8997 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8998 etc.) to create metacontacts. It's written in Vala, which generates C code when
9000 (home-page "https://wiki.gnome.org/Projects/Folks")
9001 (license license:lgpl2.1+)))
9003 (define-public gfbgraph
9010 "mirror://gnome/sources/gfbgraph/"
9011 (version-major+minor version) "/"
9012 "gfbgraph-" version ".tar.xz"))
9015 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9016 (build-system glib-or-gtk-build-system)
9018 `(#:tests? #f ; tests appear to require the network
9019 #:configure-flags '("--disable-static"
9021 "--enable-introspection")))
9023 `(("gobject-introspection" ,gobject-introspection)
9024 ("gtk-doc" ,gtk-doc)
9025 ("pkg-config" ,pkg-config)
9027 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9028 ("autoconf" ,autoconf)
9029 ("automake" ,automake)
9030 ("libtool" ,libtool)
9033 `(("json-glib" ,json-glib)
9034 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9036 (synopsis "GLib/GObject wrapper for the Facebook API")
9037 (description "This library allows you to use the Facebook API from
9038 GLib/GObject code.")
9039 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9040 (license license:lgpl2.1+)))
9042 (define-public libgnomekbd
9044 (name "libgnomekbd")
9048 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9049 (version-major+minor version) "/"
9050 "libgnomekbd-" version ".tar.xz"))
9053 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9054 (build-system gnu-build-system)
9056 `(("pkg-config" ,pkg-config)
9057 ("glib" ,glib "bin")
9058 ("intltool" ,intltool)))
9060 ;; Referred to in .h files and .pc.
9063 ("libxklavier" ,libxklavier)))
9064 (home-page "https://www.gnome.org")
9065 (synopsis "GNOME keyboard configuration library")
9067 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9068 environment, which can notably display keyboard layouts.")
9069 (license license:lgpl2.0+)))
9071 ;;; This package is no longer maintained:
9072 ;;; https://wiki.gnome.org/Attic/LibUnique
9073 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9074 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9075 (define-public libunique
9081 (uri (string-append "mirror://gnome/sources/" name "/"
9082 (version-major+minor version) "/"
9083 name "-" version ".tar.xz"))
9086 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9087 (build-system glib-or-gtk-build-system)
9089 `(#:configure-flags '("--disable-static"
9090 "--disable-dbus" ; use gdbus
9091 "--enable-introspection")))
9093 `(("pkg-config" ,pkg-config)
9094 ("gobject-introspection" ,gobject-introspection)
9095 ("glib:bin" ,glib "bin")
9096 ("gtk-doc" ,gtk-doc)))
9098 ;; Referred to in .h files and .pc.
9100 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9101 (synopsis "Library for writing single instance applications")
9103 "Libunique is a library for writing single instance applications. If you
9104 launch a single instance application twice, the second instance will either just
9105 quit or will send a message to the running instance. Libunique makes it easy to
9106 write this kind of application, by providing a base class, taking care of all
9107 the IPC machinery needed to send messages to a running instance, and also
9108 handling the startup notification side.")
9109 (license license:lgpl2.1+)))
9111 (define-public gnome-calculator
9113 (name "gnome-calculator")
9118 (uri (string-append "mirror://gnome/sources/" name "/"
9119 (version-major+minor version) "/"
9120 name "-" version ".tar.xz"))
9123 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9124 (build-system meson-build-system)
9125 (arguments '(#:glib-or-gtk? #t))
9127 `(("gettext" ,gettext-minimal)
9128 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9129 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9130 ("itstool" ,itstool)
9132 ("pkg-config" ,pkg-config)))
9135 ("gtksourceview" ,gtksourceview)
9137 ("libsoup" ,libsoup)
9138 ("libxml2" ,libxml2)
9141 (home-page "https://wiki.gnome.org/Apps/Calculator")
9142 (synopsis "Desktop calculator")
9144 "Calculator is an application that solves mathematical equations and
9145 is suitable as a default application in a Desktop environment.")
9146 (license license:gpl3)))
9155 (uri (string-append "https://launchpad.net/xpad/trunk/"
9156 version "/+download/"
9157 name "-" version ".tar.bz2"))
9160 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9161 (build-system gnu-build-system)
9163 `(("autoconf" ,autoconf)
9164 ("automake" ,automake)
9165 ("gtk+:bin" ,gtk+ "bin")
9166 ("intltool" ,intltool)
9167 ("pkg-config" ,pkg-config)))
9169 `(("gtksourceview" ,gtksourceview-3)
9171 (home-page "https://wiki.gnome.org/Apps/Xpad")
9172 (synopsis "Virtual sticky note")
9174 "Xpad is a sticky note that strives to be simple, fault tolerant,
9175 and customizable. Xpad consists of independent pad windows, each is
9176 basically a text box in which notes can be written.")
9177 (license license:gpl3+)))
9179 (define-public gucharmap
9180 (let ((unicode-files
9182 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9184 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9186 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9188 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9190 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9192 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9199 (uri (string-append "mirror://gnome/sources/" name "/"
9200 (version-major+minor version) "/"
9201 name "-" version ".tar.xz"))
9204 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9205 (build-system glib-or-gtk-build-system)
9207 `(#:modules ((ice-9 match)
9208 (guix build glib-or-gtk-build-system)
9211 (list "--with-unicode-data=../unicode-data")
9213 (modify-phases %standard-phases
9214 (add-after 'unpack 'prepare-unicode-data
9215 (lambda* (#:key inputs #:allow-other-keys)
9216 (mkdir-p "../unicode-data")
9217 (with-directory-excursion "../unicode-data"
9218 (for-each (match-lambda
9220 (install-file (assoc-ref inputs file) ".")))
9224 `(("desktop-file-utils" ,desktop-file-utils)
9225 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9226 ("gobject-introspection" ,gobject-introspection)
9227 ("intltool" ,intltool)
9228 ("itstool" ,itstool)
9229 ("pkg-config" ,pkg-config)
9230 ,@(map (match-lambda
9236 "http://www.unicode.org/Public/12.0.0/ucd/"
9238 (sha256 (base32 hash))))))
9243 ("xmllint" ,libxml2)))
9244 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9245 (synopsis "Unicode character picker and font browser")
9247 "This program allows you to browse through all the available Unicode
9248 characters and categories for the installed fonts, and to examine their
9249 detailed properties. It is an easy way to find the character you might
9250 only know by its Unicode name or code point.")
9251 (license license:gpl3+))))
9253 (define-public bluefish
9260 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
9261 "bluefish-" version ".tar.gz"))
9263 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
9264 (build-system gnu-build-system)
9266 `(("desktop-file-utils" ,desktop-file-utils)
9267 ("intltool" ,intltool)
9268 ("pkg-config" ,pkg-config)))
9270 `(("enchant" ,enchant)
9272 ("python" ,python-wrapper)
9273 ("xmllint" ,libxml2)
9274 ("gucharmap" ,gucharmap)))
9275 (home-page "http://bluefish.openoffice.nl")
9276 (synopsis "Web development studio")
9278 "Bluefish is an editor targeted towards programmers and web developers,
9279 with many options to write web sites, scripts and other code.
9280 Bluefish supports many programming and markup languages.")
9281 (license license:gpl3+)))
9283 (define-public gnome-system-monitor
9285 (name "gnome-system-monitor")
9290 (uri (string-append "mirror://gnome/sources/" name "/"
9291 (version-major+minor version) "/"
9292 name "-" version ".tar.xz"))
9295 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
9296 (build-system meson-build-system)
9299 #:configure-flags '("-Dsystemd=false")))
9301 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
9302 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
9303 ("intltool" ,intltool)
9304 ("itstool" ,itstool)
9305 ("libgtop" ,libgtop)
9307 ("pkg-config" ,pkg-config)))
9309 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
9312 ("librsvg" ,librsvg)
9313 ("libxml2" ,libxml2)
9314 ("libwnck" ,libwnck)))
9315 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
9316 (synopsis "Process viewer and system resource monitor for GNOME")
9318 "GNOME System Monitor is a GNOME process viewer and system monitor with
9319 an attractive, easy-to-use interface. It has features, such as a tree view
9320 for process dependencies, icons for processes, the ability to hide processes,
9321 graphical time histories of CPU/memory/swap usage and the ability to
9322 kill/reinice processes.")
9323 (license license:gpl2+)))
9325 (define-public python-pyatspi
9327 (name "python-pyatspi")
9332 "mirror://gnome/sources/pyatspi/"
9333 (version-major+minor version)
9334 "/pyatspi-" version ".tar.xz"))
9337 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
9338 (build-system gnu-build-system)
9341 (modify-phases %standard-phases
9342 (add-before 'build 'fix-atk-load
9344 (substitute* "pyatspi/__init__.py"
9345 (("from gi.repository import Atspi")
9346 "gi.require_version('Gtk', '3.0')
9347 from gi.repository import Gtk
9348 from gi.repository import Atspi"))
9351 `(("pkg-config" ,pkg-config)))
9353 `(("python" ,python)))
9355 `(("python-pygobject" ,python-pygobject)))
9356 (synopsis "Python client bindings for D-Bus AT-SPI")
9357 (home-page "https://wiki.linuxfoundation.org/accessibility\
9358 /atk/at-spi/at-spi_on_d-bus")
9360 "This package includes a python client library for the AT-SPI D-Bus
9361 accessibility infrastructure.")
9362 (license license:lgpl2.0)
9363 (properties '((upstream-name . "pyatspi")))))
9365 (define-public python2-pyatspi
9367 (inherit python-pyatspi)
9368 (name "python2-pyatspi")
9370 `(("python" ,python-2)))
9372 `(("python-pygobject" ,python2-pygobject)))))
9381 "mirror://gnome/sources/" name "/"
9382 (version-major+minor version) "/"
9383 name "-" version ".tar.xz"))
9386 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
9387 (build-system glib-or-gtk-build-system)
9390 (modify-phases %standard-phases
9391 (add-before 'configure 'qualify-xkbcomp
9392 (lambda* (#:key inputs #:allow-other-keys)
9393 (let ((xkbcomp (string-append
9394 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
9395 (substitute* "src/orca/orca.py"
9396 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
9398 (add-after 'install 'wrap-orca
9399 (lambda* (#:key outputs #:allow-other-keys)
9400 (let* ((out (assoc-ref outputs "out"))
9401 (prog (string-append out "/bin/orca")))
9403 `("GI_TYPELIB_PATH" ":" prefix
9404 (,(getenv "GI_TYPELIB_PATH")))
9405 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
9406 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
9407 `("PYTHONPATH" ":" prefix
9408 (,(getenv "PYTHONPATH")))))
9411 `(("intltool" ,intltool)
9412 ("itstool" ,itstool)
9413 ("pkg-config" ,pkg-config)
9414 ("xmllint" ,libxml2)))
9416 `(("at-spi2-atk" ,at-spi2-atk)
9417 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9418 ("gstreamer" ,gstreamer)
9419 ("gst-plugins-base" ,gst-plugins-base)
9420 ("gst-plugins-good" ,gst-plugins-good)
9423 ("python-pygobject" ,python-pygobject)
9424 ("python-pyatspi" ,python-pyatspi)
9425 ("python-speechd" ,speech-dispatcher)
9426 ("xkbcomp" ,xkbcomp)))
9428 "Screen reader for individuals who are blind or visually impaired")
9429 (home-page "https://wiki.gnome.org/Projects/Orca")
9431 "Orca is a screen reader that provides access to the graphical desktop
9432 via speech and refreshable braille. Orca works with applications and toolkits
9433 that support the Assistive Technology Service Provider Interface (AT-SPI).")
9434 (license license:lgpl2.1+)))
9436 (define-public gspell
9442 (uri (string-append "mirror://gnome/sources/" name "/"
9443 (version-major+minor version) "/"
9444 name "-" version ".tar.xz"))
9447 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
9448 (patches (search-patches "gspell-dash-test.patch"))))
9449 (build-system glib-or-gtk-build-system)
9451 '(#:configure-flags (list "--enable-vala")
9453 (modify-phases %standard-phases
9454 (add-before 'check 'pre-check
9455 (lambda* (#:key inputs #:allow-other-keys)
9456 ;; Tests require a running X server.
9457 (system "Xvfb :1 &")
9458 (setenv "DISPLAY" ":1")
9460 ;; For the missing /etc/machine-id.
9461 (setenv "DBUS_FATAL_WARNINGS" "0")
9463 ;; Allow Enchant and its Aspell backend to find the en_US
9465 (setenv "ASPELL_DICT_DIR"
9466 (string-append (assoc-ref inputs "aspell-dict-en")
9472 ("iso-codes" ,iso-codes)))
9474 `(("glib" ,glib "bin")
9475 ("gobject-introspection" ,gobject-introspection)
9476 ("pkg-config" ,pkg-config)
9477 ("vala" ,vala) ;for VAPI, needed by Geary
9478 ("xmllint" ,libxml2)
9481 ("aspell-dict-en" ,aspell-dict-en)
9482 ("xorg-server" ,xorg-server-for-tests)))
9484 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
9485 (home-page "https://wiki.gnome.org/Projects/gspell")
9486 (synopsis "GNOME's alternative spell checker")
9488 "gspell provides a flexible API to add spell-checking to a GTK+
9489 application. It provides a GObject API, spell-checking to text entries and
9490 text views, and buttons to choose the language.")
9491 (license license:gpl2+)))
9493 (define-public gnome-planner
9495 (name "gnome-planner")
9499 (uri (string-append "mirror://gnome/sources/planner/"
9500 (version-major+minor version) "/planner-"
9504 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9505 (build-system glib-or-gtk-build-system)
9507 ;; Disable the Python bindings because the Planner program functions
9508 ;; without them, and (as of 2017-06-13) we have not packaged all of
9509 ;; packages that are necessary for building the Python bindings.
9511 (list "--disable-python"
9512 ,@(if (string=? "aarch64-linux" (%current-system))
9513 '("--build=aarch64-unknown-linux-gnu")
9516 `(("libgnomecanvas" ,libgnomecanvas)
9517 ("libgnomeui" ,libgnomeui)
9518 ("libglade" ,libglade)
9519 ("gnome-vfs" ,gnome-vfs)
9521 ("libxml2" ,libxml2)
9522 ("libxslt" ,libxslt)
9526 `(("intltool" ,intltool)
9527 ("scrollkeeper" ,scrollkeeper)
9528 ("pkg-config" ,pkg-config)))
9529 (home-page "https://wiki.gnome.org/Apps/Planner")
9530 (synopsis "Project management software for the GNOME desktop")
9532 "GNOME Planner is a project management tool based on the Work Breakdown
9533 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9534 the resources, tasks, and constraints that you define, Planner generates
9535 various views into a project. For example, Planner can show a Gantt chart of
9536 the project. It can show a detailed summary of tasks including their
9537 duration, cost, and current progress. It can also show a report of resource
9538 utilization that highlights under-utilized and over-utilized resources. These
9539 views can be printed as PDF or PostScript files, or exported to HTML.")
9540 (license license:gpl2+)))
9542 (define-public lollypop
9549 (uri (string-append "https://adishatz.org/lollypop/"
9550 "lollypop-" version ".tar.xz"))
9552 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9553 (build-system meson-build-system)
9555 `(#:imported-modules
9556 (,@%meson-build-system-modules
9557 (guix build python-build-system))
9559 ((guix build meson-build-system)
9560 ((guix build python-build-system) #:prefix python:)
9563 #:tests? #f ; no test suite
9565 (modify-phases %standard-phases
9566 (add-after 'install 'wrap-program
9567 (lambda* (#:key outputs #:allow-other-keys)
9568 (let ((out (assoc-ref outputs "out"))
9569 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9570 (wrap-program (string-append out "/bin/lollypop")
9571 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9573 (add-after 'install 'wrap-python
9574 (assoc-ref python:%standard-phases 'wrap)))))
9576 `(("intltool" ,intltool)
9577 ("itstool" ,itstool)
9578 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9579 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9580 ("pkg-config" ,pkg-config)))
9582 `(("gobject-introspection" ,gobject-introspection)
9583 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9584 ("gst-plugins-base" ,gst-plugins-base)
9585 ("libnotify" ,libnotify)
9586 ("libsecret" ,libsecret)
9587 ("libsoup" ,libsoup)
9589 ("python-beautifulsoup4" ,python-beautifulsoup4)
9590 ("python-gst" ,python-gst)
9591 ("python-pil" ,python-pillow)
9592 ("python-pycairo" ,python-pycairo)
9593 ("python-pygobject" ,python-pygobject)
9594 ("python-pylast" ,python-pylast)
9595 ("totem-pl-parser" ,totem-pl-parser)
9596 ("webkitgtk" ,webkitgtk)))
9598 `(;; gst-plugins-base is required to start Lollypop,
9599 ;; the others are required to play streaming.
9600 ("gst-plugins-good" ,gst-plugins-good)
9601 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9602 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9603 (synopsis "GNOME music playing application")
9605 "Lollypop is a music player designed to play well with GNOME desktop.
9606 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9607 from artists and tracks from the web. It also fetches cover artworks
9608 automatically and it can stream songs from online music services and charts.")
9609 (license license:gpl3+)))
9611 (define-public gnome-video-effects
9613 (name "gnome-video-effects")
9617 (uri (string-append "mirror://gnome/sources/" name "/"
9618 (version-major+minor version) "/" name "-"
9622 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9623 (build-system glib-or-gtk-build-system)
9625 `(#:out-of-source? #f))
9627 `(("glib:bin" ,glib "bin")
9628 ("intltool" ,intltool)
9629 ("gettext" ,gettext-minimal)
9630 ("pkg-config" ,pkg-config)))
9631 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9632 (synopsis "Video effects for Cheese and other GNOME applications")
9634 "A collection of GStreamer video filters and effects to be used in
9635 photo-booth-like software, such as Cheese.")
9636 (license license:gpl2+)))
9638 (define-public cheese
9644 (uri (string-append "mirror://gnome/sources/" name "/"
9645 (version-major+minor version) "/" name "-"
9649 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9652 ;; Tests require GDK.
9655 (modify-phases %standard-phases
9656 (add-after 'unpack 'skip-gtk-update-icon-cache
9658 ;; Don't create 'icon-theme.cache'
9659 (substitute* "meson_post_install.py"
9660 (("gtk-update-icon-cache") (which "true")))
9662 (add-after 'install 'wrap-cheese
9663 (lambda* (#:key inputs outputs #:allow-other-keys)
9664 (let ((out (assoc-ref outputs "out"))
9665 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9666 (wrap-program (string-append out "/bin/cheese")
9667 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9669 (build-system meson-build-system)
9671 `(("docbook-xsl" ,docbook-xsl)
9672 ("glib:bin" ,glib "bin")
9673 ("gtk-doc" ,gtk-doc)
9674 ("intltool" ,intltool)
9675 ("itstool" ,itstool)
9676 ("libxml2" ,libxml2)
9677 ("libxslt" ,libxslt)
9678 ("pkg-config" ,pkg-config)
9681 `(("gnome-video-effects" ,gnome-video-effects)
9682 ("clutter" ,clutter)
9683 ("clutter-gst" ,clutter-gst)
9684 ("clutter-gtk" ,clutter-gtk)
9685 ("libcanberra" ,libcanberra)
9686 ("gdk-pixbuf" ,gdk-pixbuf)
9688 ("gstreamer" ,gstreamer)))
9690 `(("gnome-desktop" ,gnome-desktop)
9691 ("gobject-introspection" ,gobject-introspection)
9692 ("gst-plugins-base" ,gst-plugins-base)
9693 ("gst-plugins-bad" ,gst-plugins-bad)
9696 ("libxtst" ,libxtst)))
9697 (home-page "https://wiki.gnome.org/Apps/Cheese")
9698 (synopsis "Webcam photo booth software for GNOME")
9700 "Cheese uses your webcam to take photos and videos. Cheese can also
9701 apply fancy special effects and lets you share the fun with others.")
9702 (license license:gpl2+)))
9704 (define-public sound-juicer
9706 (name "sound-juicer")
9711 (uri (string-append "mirror://gnome/sources/" name "/"
9712 (version-major+minor version) "/"
9713 name "-" version ".tar.xz"))
9716 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9717 (build-system glib-or-gtk-build-system)
9719 `(("desktop-file-utils" ,desktop-file-utils)
9720 ("intltool" ,intltool)
9721 ("itstool" ,itstool)
9722 ("pkg-config" ,pkg-config)
9723 ("xmllint" ,libxml2)))
9726 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9727 ("gstreamer" ,gstreamer)
9728 ("gst-plugins-base" ,gst-plugins-base)
9729 ("gst-plugins-good" ,gst-plugins-good)
9730 ("iso-codes" ,iso-codes)
9731 ("libbrasero-media3" ,brasero)
9732 ("libcanberra" ,libcanberra)
9733 ("libdiscid" ,libdiscid)
9734 ("libmusicbrainz" ,libmusicbrainz)
9736 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9737 (synopsis "Audio music cd ripper")
9738 (description "Sound Juicer extracts audio from compact discs and convert it
9739 into audio files that a personal computer or digital audio player can play.
9740 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9741 mp3, Ogg Vorbis and FLAC")
9742 (license license:gpl2+)))
9744 (define-public soundconverter
9746 (name "soundconverter")
9751 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9752 version "/+download/"
9753 "soundconverter-" version ".tar.xz"))
9756 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
9757 (build-system glib-or-gtk-build-system)
9759 `(#:imported-modules ((guix build python-build-system)
9760 (guix build glib-or-gtk-build-system)
9761 ,@%gnu-build-system-modules)
9763 #:modules ((guix build glib-or-gtk-build-system)
9765 ((guix build gnu-build-system) #:prefix gnu:)
9766 ((guix build python-build-system) #:prefix python:))
9769 (modify-phases %standard-phases
9770 (add-after 'install 'wrap-soundconverter-for-python
9771 (assoc-ref python:%standard-phases 'wrap))
9772 (add-after 'install 'wrap-soundconverter
9773 (lambda* (#:key inputs outputs #:allow-other-keys)
9774 (let ((out (assoc-ref outputs "out"))
9775 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9776 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9777 (wrap-program (string-append out "/bin/soundconverter")
9778 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9779 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9782 `(("intltool" ,intltool)
9783 ("pkg-config" ,pkg-config)
9784 ("glib:bin" ,glib "bin")))
9788 ("python-pygobject" ,python-pygobject)
9789 ("gstreamer" ,gstreamer)
9790 ("gst-plugins-base" ,gst-plugins-base)))
9791 (home-page "https://soundconverter.org/")
9792 (synopsis "Convert between audio formats with a graphical interface")
9794 "SoundConverter supports converting between many audio formats including
9795 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9796 configurable file renaming. ")
9797 (license license:gpl3)))
9799 (define-public workrave
9807 (url "https://github.com/rcaelers/workrave")
9808 (commit (string-append "v" (string-map
9809 (match-lambda (#\. #\_) (chr chr))
9811 (file-name (git-file-name name version))
9813 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9814 (build-system glib-or-gtk-build-system)
9816 ;; The only tests are maintainer tests (in po/), which fail.
9818 (inputs `(("glib" ,glib)
9820 ("gdk-pixbuf" ,gdk-pixbuf)
9824 ("libxtst" ,libxtst)
9828 ("libxscrnsaver" ,libxscrnsaver)))
9829 (native-inputs `(("boost" ,boost)
9830 ("pkg-config" ,pkg-config)
9831 ("gettext" ,gettext-minimal)
9832 ("autoconf" ,autoconf)
9833 ("autoconf-archive" , autoconf-archive)
9834 ("automake" ,automake)
9835 ("libtool" ,libtool)
9836 ("intltool" ,intltool)
9837 ("gobject-introspection" ,gobject-introspection)
9838 ("python3" ,python-3)
9839 ("python-jinja2" ,python-jinja2)))
9840 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9842 "Workrave is a program that assists in the recovery and prevention of
9843 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9844 micro-pauses and rest breaks, and restricts you to your daily limit.")
9845 (home-page "http://www.workrave.org")
9846 (license license:gpl3+)))
9854 (uri (string-append "mirror://gnome/sources/ghex/"
9855 (version-major+minor version) "/"
9856 "ghex-" version ".tar.xz"))
9859 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9860 (build-system meson-build-system)
9864 (modify-phases %standard-phases
9865 (add-after 'unpack 'skip-gtk-update-icon-cache
9866 ;; Don't create 'icon-theme.cache'.
9868 (substitute* "meson_post_install.py"
9869 (("gtk-update-icon-cache") (which "true")))
9872 `(("pkg-config" ,pkg-config)
9873 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9874 ("gnome-common" ,gnome-common)
9876 ("intltool" ,intltool)
9877 ("yelp-tools" ,yelp-tools)
9878 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9882 (synopsis "GNOME hexadecimal editor")
9883 (description "The GHex program can view and edit files in two ways:
9884 hexadecimal or ASCII. It is useful for editing binary files in general.")
9885 (home-page "https://wiki.gnome.org/Apps/Ghex")
9886 (license license:gpl2)))
9888 (define-public libdazzle
9894 (uri (string-append "mirror://gnome/sources/libdazzle/"
9895 (version-major+minor version) "/"
9896 "libdazzle-" version ".tar.xz"))
9899 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9900 (build-system meson-build-system)
9903 (modify-phases %standard-phases
9904 (add-before 'check 'pre-check
9906 ;; Tests require a running X server.
9907 (system "Xvfb :1 &")
9908 (setenv "DISPLAY" ":1")
9911 `(("glib" ,glib "bin") ; glib-compile-resources
9912 ("pkg-config" ,pkg-config)
9914 ("xorg-server" ,xorg-server-for-tests)))
9917 ("gobject-introspection" ,gobject-introspection)
9920 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9921 (synopsis "Companion library to GObject and Gtk+")
9922 (description "The libdazzle library is a companion library to GObject and
9923 Gtk+. It provides various features that the authors wish were in the
9924 underlying library but cannot for various reasons. In most cases, they are
9925 wildly out of scope for those libraries. In other cases, they are not quite
9926 generic enough to work for everyone.")
9927 (license license:gpl3+)))
9929 (define-public evolution
9935 (uri (string-append "mirror://gnome/sources/evolution/"
9936 (version-major+minor version) "/"
9937 "evolution-" version ".tar.xz"))
9940 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9941 (build-system cmake-build-system)
9943 `(#:imported-modules (,@%cmake-build-system-modules
9944 (guix build glib-or-gtk-build-system))
9945 #:modules ((guix build cmake-build-system)
9946 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9949 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9950 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9951 ; in four years and cannot be built.
9953 (modify-phases %standard-phases
9954 ;; The build system attempts to install user interface modules to the
9955 ;; output directory of the "evolution-data-server" package. This
9956 ;; change redirects that change.
9957 (add-after 'unpack 'patch-ui-module-dir
9958 (lambda* (#:key outputs #:allow-other-keys)
9959 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9960 (("\\$\\{edsuimoduledir\\}")
9961 (string-append (assoc-ref outputs "out")
9962 "/lib/evolution-data-server/ui-modules")))
9964 (add-after 'install 'glib-or-gtk-compile-schemas
9965 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9966 (add-after 'install 'glib-or-gtk-wrap
9967 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9969 `(("glib" ,glib "bin") ; glib-mkenums
9970 ("pkg-config" ,pkg-config)
9971 ("intltool" ,intltool)
9972 ("itstool" ,itstool)))
9974 `(("enchant" ,enchant)
9975 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9977 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9978 ("gnome-autoar" ,gnome-autoar)
9979 ("gnome-desktop" ,gnome-desktop)
9981 ("highlight" ,highlight)
9982 ("libcanberra" ,libcanberra)
9983 ("libgweather" ,libgweather)
9984 ("libnotify" ,libnotify)
9985 ("libsoup" ,libsoup)
9987 ("openldap" ,openldap)
9988 ("webkitgtk" ,webkitgtk)
9990 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9991 (synopsis "Manage your email, contacts and schedule")
9992 (description "Evolution is a personal information management application
9993 that provides integrated mail, calendaring and address book
9995 ;; See COPYING for details.
9996 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9997 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9998 license:lgpl2.1+)))) ; smime/lib/*
10000 (define-public gthumb
10006 (uri (string-append "mirror://gnome/sources/gthumb/"
10007 (version-major+minor version) "/"
10008 "gthumb-" version ".tar.xz"))
10011 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10012 (build-system meson-build-system)
10014 `(#:glib-or-gtk? #t
10016 ;; Ensure the RUNPATH contains all installed library locations.
10017 (list (string-append "-Dc_link_args=-Wl,-rpath="
10018 (assoc-ref %outputs "out")
10019 "/lib/gthumb/extensions")
10020 (string-append "-Dcpp_link_args=-Wl,-rpath="
10021 (assoc-ref %outputs "out")
10022 "/lib/gthumb/extensions"))))
10024 `(("pkg-config" ,pkg-config)
10025 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10026 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10027 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10028 ("intltool" ,intltool)
10029 ("itstool" ,itstool)))
10033 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10034 ("gstreamer" ,gstreamer)
10035 ("clutter" ,clutter)
10036 ("clutter-gst" ,clutter-gst)
10037 ("clutter-gtk" ,clutter-gtk)
10038 ("libjpeg" ,libjpeg-turbo)
10039 ("libtiff" ,libtiff)
10040 ("libraw" ,libraw)))
10041 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10042 (synopsis "GNOME image viewer and browser")
10043 (description "GThumb is an image viewer, browser, organizer, editor and
10044 advanced image management tool")
10045 (license license:gpl2+)))
10047 (define-public terminator
10049 (name "terminator")
10053 (uri (string-append "https://launchpad.net/" name "/"
10054 "gtk3/" version "/" "+download/"
10055 name "-" version ".tar.gz"))
10058 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
10059 (build-system python-build-system)
10061 `(("intltool" ,intltool)
10062 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10063 ("gettext" ,gettext-minimal)
10064 ("pkg-config" ,pkg-config)))
10067 ("gobject-introspection" ,gobject-introspection)
10068 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10069 ("python2-pycairo" ,python2-pycairo)
10070 ("python2-pygobject" ,python2-pygobject)
10071 ("python2-psutil" ,python2-psutil)
10074 `(#:python ,python-2 ; Python 3 isn't supported
10075 #:imported-modules ((guix build glib-or-gtk-build-system)
10076 ,@%python-build-system-modules)
10077 #:modules ((guix build python-build-system)
10078 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10079 (guix build utils))
10081 (modify-phases %standard-phases
10083 'install 'wrap-program
10084 (lambda* (#:key outputs #:allow-other-keys)
10085 (let ((prog (string-append (assoc-ref outputs "out")
10086 "/bin/terminator")))
10088 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
10089 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10091 (add-after 'wrap-program 'glib-or-gtk-wrap
10092 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10093 (home-page "https://gnometerminator.blogspot.com/")
10094 (synopsis "Store and run multiple GNOME terminals in one window")
10096 "Terminator allows you to run multiple GNOME terminals in a grid and
10097 +tabs, and it supports drag and drop re-ordering of terminals.")
10098 (license license:gpl2)))
10100 (define-public libhandy
10107 (uri (git-reference
10108 (url "https://source.puri.sm/Librem5/libhandy")
10109 (commit (string-append "v" version))))
10110 (file-name (git-file-name name version))
10112 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
10113 (build-system meson-build-system)
10115 `(#:configure-flags
10116 '("-Dglade_catalog=disabled"
10119 (modify-phases %standard-phases
10120 (add-before 'check 'pre-check
10122 ;; Tests require a running X server.
10123 (system "Xvfb :1 &")
10124 (setenv "DISPLAY" ":1")
10129 `(("glib:bin" ,glib "bin")
10130 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10132 ("gtk-doc" ,gtk-doc)
10133 ("pkg-config" ,pkg-config)
10134 ("gettext" ,gettext-minimal)
10136 ;; Test suite dependencies.
10137 ("xorg-server" ,xorg-server-for-tests)
10138 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10139 (home-page "https://source.puri.sm/Librem5/libhandy")
10140 (synopsis "Library full of GTK+ widgets for mobile phones")
10141 (description "The aim of the handy library is to help with developing user
10142 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10143 for usage on small and big screens.")
10144 (license license:lgpl2.1+)))
10146 (define-public libgit2-glib
10148 (name "libgit2-glib")
10149 (version "0.99.0.1")
10152 (uri (string-append "mirror://gnome/sources/" name "/"
10153 (version-major+minor version) "/"
10154 name "-" version ".tar.xz"))
10157 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10158 (build-system meson-build-system)
10160 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10161 ("gobject-introspection" ,gobject-introspection)
10162 ("pkg-config" ,pkg-config)
10163 ("python-pygobject" ,python-pygobject)
10164 ("python-wrapper" ,python-wrapper)
10168 ("libssh2" ,libssh2)))
10170 `(;; In Requires of libgit2-glib.pc.
10171 ("libgit2" ,libgit2)))
10172 (synopsis "GLib wrapper around the libgit2 Git access library")
10173 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10174 access library. It only implements the core plumbing functions, not really the
10175 higher level porcelain stuff.")
10176 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10177 (license license:gpl2+)))
10179 (define-public gitg
10185 (uri (string-append "mirror://gnome/sources/" name "/"
10186 (version-major+minor version) "/"
10187 name "-" version ".tar.xz"))
10190 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10191 (build-system meson-build-system)
10193 `(#:glib-or-gtk? #t
10195 (modify-phases %standard-phases
10196 (add-after 'unpack 'disable-post-install-partially
10198 (substitute* "meson_post_install.py"
10199 (("'python'") ; there are no python sources to compile
10200 (string-append "'" (which "true") "'"))
10201 (("gtk-update-icon-cache") (which "true")))
10203 (add-after 'unpack 'fix-test-sources
10205 (substitute* "tests/libgitg/test-commit.vala"
10206 (("/bin/bash") (which "bash")))
10208 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10209 (lambda* (#:key outputs #:allow-other-keys)
10210 (let ((prog (string-append (assoc-ref outputs "out")
10213 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10217 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10219 ("gtkspell3" ,gtkspell3)
10220 ("gtksourceview" ,gtksourceview-3)
10221 ("json-glib" ,json-glib)
10222 ("libdazzle" ,libdazzle)
10224 ("libgit2-glib" ,libgit2-glib)
10225 ("libpeas" ,libpeas)
10226 ("libsecret" ,libsecret)
10227 ("libsoup" ,libsoup)
10228 ("libxml2" ,libxml2)))
10230 `(("glib:bin" ,glib "bin")
10231 ("gtk+:bin" ,gtk+ "bin")
10232 ("gobject-introspection" ,gobject-introspection)
10233 ("intltool" ,intltool)
10234 ("pkg-config" ,pkg-config)
10236 (synopsis "Graphical user interface for git")
10238 "gitg is a graphical user interface for git. It aims at being a small,
10239 fast and convenient tool to visualize the history of git repositories.
10240 Besides visualization, gitg also provides several utilities to manage your
10241 repository and commit your work.")
10242 (home-page "https://wiki.gnome.org/Apps/Gitg")
10243 (license license:gpl2+)))
10245 (define-public gamin
10251 (uri (string-append "mirror://gnome/sources/" name "/"
10252 (version-major+minor version) "/"
10253 name "-" version ".tar.bz2"))
10256 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
10257 (build-system gnu-build-system)
10260 (modify-phases %standard-phases
10261 (add-after 'unpack 'remove-deprecated-macro
10263 (substitute* '("server/gam_node.c"
10264 "server/gam_subscription.h"
10265 "server/gam_node.h"
10266 "server/gam_subscription.c")
10267 (("G_CONST_RETURN") "const"))
10272 `(("intltool" ,intltool)
10273 ("pkg-config" ,pkg-config)))
10274 (home-page "https://people.gnome.org/~veillard/gamin/")
10275 (synopsis "File alteration monitor")
10277 "Gamin is a file and directory monitoring system defined to be a subset
10278 of the FAM (File Alteration Monitor) system. This is a service provided by a
10279 library which detects when a file or a directory has been modified.")
10280 (license license:gpl2+)))
10282 (define-public gnome-mahjongg
10284 (name "gnome-mahjongg")
10288 (uri (git-reference
10289 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
10291 (file-name (git-file-name name version))
10294 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
10295 (build-system meson-build-system)
10297 `(#:glib-or-gtk? #t))
10299 `(("appstream-glib" ,appstream-glib)
10300 ("gettext" ,gettext-minimal)
10301 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
10302 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
10303 ("itstool" ,itstool)
10304 ("pkg-config" ,pkg-config)
10307 `(("dconf" ,dconf)))
10311 ("librsvg" ,librsvg)))
10312 (synopsis "Mahjongg tile-matching game")
10313 (description "GNOME Mahjongg is a game based on the classic Chinese
10314 tile-matching game Mahjong. It features multiple board layouts, tile themes,
10315 and a high score table.")
10316 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
10317 (license license:gpl2+)))
10319 (define-public gnome-themes-extra
10321 (name "gnome-themes-extra")
10326 (uri (string-append "mirror://gnome/sources/" name "/"
10327 (version-major+minor version) "/" name "-"
10328 version ".tar.xz"))
10331 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
10332 (build-system gnu-build-system)
10334 '(#:configure-flags
10335 ;; Don't create 'icon-theme.cache'.
10336 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
10337 (true (string-append coreutils "/bin/true")))
10338 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
10340 `(("glib:bin" ,glib "bin")
10341 ("intltool" ,intltool)
10342 ("pkg-config" ,pkg-config)))
10347 ("librsvg" ,librsvg)
10348 ("libxml2" ,libxml2)))
10349 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
10350 (synopsis "GNOME Extra Themes")
10351 (description "This package provides themes and related elements that don't
10352 really fit in other upstream packages. It offers legacy support for GTK+ 2
10353 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
10354 index files needed for Adwaita to be used outside of GNOME.")
10355 (license license:lgpl2.1+)))
10357 (define-public polari
10363 (uri (string-append "mirror://gnome/sources/polari/"
10364 (version-major+minor version)
10365 "/polari-" version ".tar.xz"))
10368 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
10369 (build-system meson-build-system)
10371 `(#:glib-or-gtk? #t
10373 (modify-phases %standard-phases
10374 (add-after 'unpack 'skip-gtk-update-icon-cache
10376 (substitute* "meson/meson-postinstall.sh"
10377 (("gtk-update-icon-cache") (which "true")))
10379 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10380 (lambda* (#:key outputs #:allow-other-keys)
10381 (let ((prog (string-append (assoc-ref outputs "out")
10384 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10388 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10392 ("libsecret" ,libsecret)
10393 ("libsoup" ,libsoup)
10394 ("telepathy-glib" ,telepathy-glib)
10395 ("telepathy-logger" ,telepathy-logger)))
10397 `(("glib:bin" ,glib "bin")
10398 ("gobject-introspection" ,gobject-introspection)
10399 ("intltool" ,intltool)
10400 ("pkg-config" ,pkg-config)
10401 ("yelp-tools" ,yelp-tools)))
10403 `(("telepathy-idle" ,telepathy-idle)
10404 ("telepathy-mission-control" ,telepathy-mission-control)))
10405 (synopsis "Simple IRC Client")
10407 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
10408 integrate seamlessly with the GNOME desktop.")
10409 (home-page "https://wiki.gnome.org/Apps/Polari")
10410 (license license:gpl2+)))
10412 (define-public gnome-boxes
10414 (name "gnome-boxes")
10419 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
10420 (version-major+minor version) "/"
10421 "gnome-boxes-" version ".tar.xz"))
10423 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
10424 (build-system meson-build-system)
10426 '(#:glib-or-gtk? #t
10427 #:configure-flags (list "-Drdp=false"
10428 (string-append "-Dc_link_args=-Wl,-rpath="
10429 (assoc-ref %outputs "out")
10430 "/lib/gnome-boxes"))))
10432 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
10433 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10434 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10435 ("itstool" ,itstool)
10436 ("intltool" ,intltool)
10438 ("pkg-config" ,pkg-config)))
10440 `(("libarchive" ,libarchive)
10441 ("glib-networking" ,glib-networking) ;for TLS support
10442 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10444 ("gtk-vnc" ,gtk-vnc)
10445 ("libosinfo" ,libosinfo)
10446 ("libsecret" ,libsecret)
10447 ("libsoup" ,libsoup)
10449 ("libvirt" ,libvirt)
10450 ("libvirt-glib" ,libvirt-glib)
10451 ("libxml" ,libxml2)
10452 ("spice-gtk" ,spice-gtk)
10453 ("sparql-query" ,sparql-query)
10455 ("webkitgtk" ,webkitgtk)
10456 ("tracker" ,tracker)
10457 ("libgudev" ,libgudev)))
10458 (home-page "https://wiki.gnome.org/Apps/Boxes")
10459 (synopsis "View, access, and manage remote and virtual systems")
10460 (description "GNOME Boxes is a simple application to view, access, and
10461 manage remote and virtual systems. Note that this application requires the
10462 @code{libvirt} and @code{virtlog} daemons to run. Use the command
10463 @command{info '(guix) Virtualization Services'} to learn how to configure
10464 these services on the Guix System.")
10466 ;; For data/icons/empty-boxes.png.
10469 license:lgpl2.0+))))
10471 (define-public geary
10477 (uri (git-reference
10478 (url "https://gitlab.gnome.org/GNOME/geary")
10480 (file-name (git-file-name name version))
10483 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
10484 (build-system meson-build-system)
10486 `(#:glib-or-gtk? #t
10487 #:phases (modify-phases %standard-phases
10488 (add-after 'unpack 'disable-failing-tests
10490 (substitute* "test/meson.build"
10491 (("test\\('client-tests', geary_test_client_bin\\)")
10494 (add-after 'unpack 'disable-postinstall-script
10496 (substitute* "meson.build"
10497 (("meson.add_install_script\\(\
10498 join_paths\\('build-aux', 'post_install.py'\\)\\)")
10501 (add-before 'check 'setup-xvfb
10503 (system "Xvfb :1 &")
10504 (setenv "DISPLAY" ":1")
10507 `(("enchant" ,enchant)
10511 ("gmime" ,gmime-2.6)
10512 ("gnome-online-accounts:lib"
10513 ,gnome-online-accounts "lib")
10516 ("iso-codes" ,iso-codes)
10517 ("json-glib" ,json-glib)
10518 ("libcanberra" ,libcanberra)
10520 ("libhandy" ,libhandy)
10521 ("libpeas" ,libpeas)
10522 ("libsecret" ,libsecret)
10523 ("libunwind" ,libunwind)
10525 ("webkitgtk" ,webkitgtk)
10528 `(("appstream-glib" ,appstream-glib)
10529 ("cmake-minimal" ,cmake-minimal)
10530 ("desktop-file-utils" ,desktop-file-utils)
10531 ("gettext" ,gettext-minimal)
10532 ("glib:bin" ,glib "bin")
10533 ("gobject-introspection" ,gobject-introspection)
10534 ("itstool" ,itstool)
10535 ("libarchive" ,libarchive)
10536 ("libxml2" ,libxml2)
10537 ("pkg-config" ,pkg-config)
10539 ("xvfb" ,xorg-server-for-tests)))
10540 (synopsis "GNOME email application built around conversations")
10542 "Geary collects related messages together into conversations,
10543 making it easy to find and follow your discussions. Full-text and keyword
10544 search makes it easy to find the email you are looking for. Geary's
10545 full-featured composer lets you send rich, styled text with images, links, and
10546 lists, but also send lightweight, easy to read text messages. Geary
10547 automatically picks up your existing GNOME Online Accounts, and adding more is
10548 easy. Geary has a clean, fast, modern interface that works like you want it
10550 (home-page "https://wiki.gnome.org/Apps/Geary")
10556 license:cc-by-sa3.0
10557 license:public-domain
10561 (define-public glabels
10568 (uri (string-append "mirror://gnome/sources/" name "/"
10569 (version-major+minor version) "/"
10570 "glabels-" version ".tar.xz"))
10572 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10573 (build-system glib-or-gtk-build-system)
10575 `(("gettext" ,gettext-minimal)
10576 ("glib:bin" ,glib "bin")
10577 ("intltool" ,intltool)
10578 ("itstool" ,itstool)
10579 ("pkg-config" ,pkg-config)))
10582 ("librsvg" ,librsvg)
10583 ("libxml2" ,libxml2)))
10584 (home-page "https://glabels.org/")
10585 (synopsis "Program for creating labels and business cards")
10587 "gLabels is a program for creating labels and business cards. It is
10588 designed to work with various laser/ink-jet peel-off label and business
10589 card sheets that you’ll find at most office supply stores.")
10590 (license license:gpl3+)))
10592 (define-public libratbag
10599 (uri (git-reference
10600 (url "https://github.com/libratbag/libratbag")
10601 (commit (string-append "v" version))))
10602 (file-name (git-file-name name version))
10604 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10605 (build-system meson-build-system)
10607 `(#:configure-flags
10608 (list "-Dsystemd=false"
10609 "-Dlogind-provider=elogind")
10611 (modify-phases %standard-phases
10612 (add-after 'install 'wrap
10613 (lambda* (#:key inputs outputs #:allow-other-keys)
10614 (let* ((out (assoc-ref outputs "out"))
10615 (site (string-append
10617 ,(version-major+minor (package-version python))
10619 (evdev (string-append
10620 (assoc-ref inputs "python-evdev") site))
10621 (pygo (string-append
10622 (assoc-ref inputs "python-pygobject") site))
10624 `("PYTHONPATH" = (,evdev ,pygo))))
10625 (wrap-program (string-append out "/bin/" "ratbagctl")
10630 ("pkg-config" ,pkg-config)
10632 ("valgrind" ,valgrind)))
10635 ("json-glib" ,json-glib)
10636 ("libevdev" ,libevdev)
10637 ("libsystemd" ,elogind)
10638 ("libunistring" ,libunistring)
10639 ("python-evdev" ,python-evdev)
10640 ("python-pygobject" ,python-pygobject)
10642 (home-page "https://github.com/libratbag/libratbag")
10643 (synopsis "DBus daemon and utility for configuring gaming mice")
10644 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10645 configure input devices, mainly gaming mice. The daemon provides a generic
10646 way to access the various features exposed by these mice and abstracts away
10647 hardware-specific and kernel-specific quirks. There is also the
10648 @command{ratbagctl} command line interface for configuring devices.
10650 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10653 The ratbagd DBus service can be enabled by adding the following service to
10654 your operating-system definition:
10656 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10657 (license license:expat)))
10659 (define-public piper
10666 (uri (git-reference
10667 (url "https://github.com/libratbag/piper")
10670 (base32 "00vrcsbsv2477l1ncpyzc61lhxgac84dsgr3sjs8qxw3nh1gaasv"))
10671 (file-name (git-file-name name version))))
10672 (build-system meson-build-system)
10674 `(("gettext" ,gettext-minimal)
10675 ("glib:bin" ,glib "bin")
10676 ("gobject-introspection" ,gobject-introspection)
10677 ("pkg-config" ,pkg-config)
10678 ("python-flake8" ,python-flake8)))
10680 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10682 ("gtk:bin" ,gtk+ "bin")
10683 ("librsvg" ,librsvg)
10684 ("python-evdev" ,python-evdev)
10685 ("python-lxml" ,python-lxml)
10686 ("python-pycairo" ,python-pycairo)
10687 ("python-pygobject" ,python-pygobject)))
10689 `(#:imported-modules ((guix build python-build-system)
10690 ,@%meson-build-system-modules)
10691 #:modules (((guix build python-build-system) #:prefix python:)
10692 (guix build meson-build-system)
10693 (guix build utils))
10695 (modify-phases %standard-phases
10696 (add-after 'unpack 'dont-update-gtk-icon-cache
10698 (substitute* "meson.build"
10699 (("meson.add_install_script('meson_install.sh')") ""))
10701 ;; TODO: Switch to wrap-script when it is fixed.
10702 (add-after 'install 'wrap-python
10703 (assoc-ref python:%standard-phases 'wrap))
10704 (add-after 'wrap-python 'wrap
10705 (lambda* (#:key outputs #:allow-other-keys)
10707 (string-append (assoc-ref outputs "out" )"/bin/piper")
10708 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10710 (home-page "https://github.com/libratbag/piper/")
10711 (synopsis "Configure bindings and LEDs on gaming mice")
10712 (description "Piper is a GTK+ application for configuring gaming mice with
10713 onboard configuration for key bindings via libratbag. Piper requires
10714 a @command{ratbagd} daemon running with root privileges. It can be run
10715 manually as root, but is preferably configured as a DBus service that can
10716 launch on demand. This can be configured by enabling the following service,
10717 provided there is a DBus service present:
10719 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10720 (license license:gpl2)))
10722 (define-public parlatype
10729 (uri (git-reference
10730 (url "https://github.com/gkarsay/parlatype.git")
10731 (commit (string-append "v" version))))
10732 (file-name (git-file-name name version))
10734 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
10735 (build-system meson-build-system)
10737 `(#:glib-or-gtk? #t
10738 #:tests? #f ;require internet access
10740 (modify-phases %standard-phases
10741 (add-after 'install 'wrap-parlatype
10742 ;; Add gstreamer plugin provided in this package to system's
10744 (lambda* (#:key outputs #:allow-other-keys)
10745 (let* ((out (assoc-ref outputs "out"))
10746 (gst-plugin-path (string-append
10747 out "/lib/gstreamer-1.0/"
10749 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10750 (wrap-program (string-append out "/bin/parlatype")
10751 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10754 `(("appstream-glib" ,appstream-glib)
10755 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10756 ("gettext" ,gettext-minimal)
10757 ("glib" ,glib "bin") ;for glib-compile-resources
10758 ("pkg-config" ,pkg-config)
10759 ("yelp-tools" ,yelp-tools)))
10761 `(("gst-plugins-base" ,gst-plugins-base)
10762 ("gst-plugins-good" ,gst-plugins-good)
10763 ("gstreamer" ,gstreamer)
10765 ("pocketsphinx" ,pocketsphinx)
10766 ("pulseaudio" ,pulseaudio)
10767 ("sphinxbase" ,sphinxbase)))
10768 (home-page "http://gkarsay.github.io/parlatype/")
10769 (synopsis "GNOME audio player for transcription")
10770 (description "Parlatype is an audio player for the GNOME desktop
10771 environment. Its main purpose is the manual transcription of spoken
10773 (license license:gpl3+)))
10775 (define-public jsonrpc-glib
10777 (name "jsonrpc-glib")
10781 (uri (string-append "mirror://gnome/sources/" name "/"
10782 (version-major+minor version) "/"
10783 name "-" version ".tar.xz"))
10786 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10787 (build-system meson-build-system)
10789 `(("json-glib" ,json-glib)
10792 `(("pkg-config" ,pkg-config)
10793 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10794 ("gobject-introspection" ,gobject-introspection)
10796 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10797 (synopsis "JSON-RPC library for GLib")
10798 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10799 peers in either a synchronous or asynchronous fashion. It also allows
10800 communicating using the GVariant serialization format instead of JSON when
10801 both peers support it. You might want that when communicating on a single
10802 host to avoid parser overhead and memory-allocator fragmentation.")
10803 (license license:lgpl2.1+)))
10805 (define-public feedbackd
10808 (version "0.0.0+git20200527")
10811 (uri (git-reference
10812 (url "https://source.puri.sm/Librem5/feedbackd.git")
10813 (commit (string-append "v" version))))
10814 (file-name (git-file-name name version))
10817 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
10818 (build-system meson-build-system)
10820 `(("glib:bin" ,glib "bin")
10821 ("gobject-introspection" ,gobject-introspection)
10822 ("pkg-config" ,pkg-config)
10827 ("json-glib" ,json-glib)
10828 ("libgudev" ,libgudev)))
10830 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
10831 (synopsis "Haptic/visual/audio feedback via DBus")
10832 (description "Feedbackd provides a DBus daemon to act on events to provide
10833 haptic, visual and audio feedback. It offers the libfeedbackd library and
10834 GObject introspection bindings.")
10835 (home-page "https://source.puri.sm/Librem5/feedbackd")
10836 (license (list license:lgpl2.1+ ; libfeedbackd
10837 license:lgpl3+)))) ; the rest
10839 (define-public sysprof
10845 (uri (string-append "mirror://gnome/sources/" name "/"
10846 (version-major+minor version) "/"
10847 name "-" version ".tar.xz"))
10850 "1l4kr1av7933vb4zql9c5lgzivlw64hyky4nr8xin1v5if6vnjw4"))))
10851 (build-system meson-build-system)
10853 `(#:configure-flags
10854 (list (string-append "-Dsystemdunitdir="
10857 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
10859 (modify-phases %standard-phases
10860 (add-after 'unpack 'patch-install-script
10862 (substitute* "build-aux/meson/post_install.sh"
10863 (("gtk-update-icon-cache") "true")
10864 (("update-desktop-database") "true"))
10869 ("libdazzle" ,libdazzle)
10870 ("polkit" ,polkit)))
10872 `(("gettext" ,gettext-minimal)
10873 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
10874 ("itstool" ,itstool)
10875 ("pkg-config" ,pkg-config)
10876 ("xmllint" ,libxml2)))
10877 (home-page "http://www.sysprof.com/")
10878 (synopsis "System-wide performance profiler")
10879 (description "Sysprof is a sampling profiler that uses a kernel module
10880 to generate stacktraces which are then interpreted by the userspace program
10881 @command{sysprof}.")
10882 (license license:gpl3+)))
10884 (define-public gnome-builder
10886 (name "gnome-builder")
10890 (uri (string-append "mirror://gnome/sources/" name "/"
10891 (version-major+minor version) "/"
10892 name "-" version ".tar.xz"))
10895 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
10896 (build-system meson-build-system)
10898 `(#:configure-flags (list "-Dnetwork_tests=false"
10899 ;; TODO: Enable all plugins...
10900 "-Dplugin_clang=false"
10901 "-Dplugin_flatpak=false"
10902 "-Dplugin_glade=false"
10903 ;; ... except this one.
10904 "-Dplugin_update_manager=false")
10906 (modify-phases %standard-phases
10907 (add-after 'unpack 'patch-meson
10908 (lambda* (#:key inputs #:allow-other-keys)
10909 (substitute* "build-aux/meson/post_install.py"
10910 (("gtk-update-icon-cache") "true")
10911 (("update-desktop-database") "true"))
10912 (substitute* "src/libide/meson.build"
10914 (string-append (assoc-ref inputs "python-pygobject")
10917 (add-before 'check 'pre-check
10919 (system "Xvfb :1 &")
10920 (setenv "DISPLAY" ":1")
10923 `(("devhelp" ,devhelp)
10926 ("json-glib" ,json-glib)
10927 ("jsonrpc-glib" ,jsonrpc-glib)
10928 ("libdazzle" ,libdazzle)
10929 ("libgit2-glib" ,libgit2-glib)
10930 ("libpeas" ,libpeas)
10931 ("python-pygobject" ,python-pygobject)
10932 ("sysprof" ,sysprof)
10933 ("template-glib" ,template-glib)
10935 ("webkitgtk" ,webkitgtk)))
10937 `(("gtksourceview" ,gtksourceview))) ;needed for settings
10939 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10940 ("glib:bin" ,glib "bin")
10941 ("gettext" ,gettext-minimal)
10942 ("pkg-config" ,pkg-config)
10944 ("xorg-server" ,xorg-server-for-tests)))
10945 (home-page "https://wiki.gnome.org/Apps/Builder")
10946 (synopsis "Toolsmith for GNOME-based applications")
10947 (description "Builder aims to be an integrated development
10948 environment (IDE) for writing GNOME-based software. It features fuzzy search,
10949 auto-completion, a mini code map, documentation browsing, Git integration, an
10950 integrated profiler via Sysprof, debugging support, and more.")
10951 (license license:gpl3+)))