1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
59 ;;; This file is part of GNU Guix.
61 ;;; GNU Guix is free software; you can redistribute it and/or modify it
62 ;;; under the terms of the GNU General Public License as published by
63 ;;; the Free Software Foundation; either version 3 of the License, or (at
64 ;;; your option) any later version.
66 ;;; GNU Guix is distributed in the hope that it will be useful, but
67 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
68 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69 ;;; GNU General Public License for more details.
71 ;;; You should have received a copy of the GNU General Public License
72 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
74 (define-module (gnu packages gnome)
75 #:use-module (gnu packages)
76 #:use-module (gnu packages admin)
77 #:use-module (gnu packages aspell)
78 #:use-module (gnu packages autotools)
79 #:use-module (gnu packages avahi)
80 #:use-module (gnu packages backup)
81 #:use-module (gnu packages base)
82 #:use-module (gnu packages bash)
83 #:use-module (gnu packages bison)
84 #:use-module (gnu packages boost)
85 #:use-module (gnu packages build-tools)
86 #:use-module (gnu packages calendar)
87 #:use-module (gnu packages cdrom)
88 #:use-module (gnu packages check)
89 #:use-module (gnu packages cmake)
90 #:use-module (gnu packages compression)
91 #:use-module (gnu packages crates-io)
92 #:use-module (gnu packages cups)
93 #:use-module (gnu packages curl)
94 #:use-module (gnu packages cyrus-sasl)
95 #:use-module (gnu packages databases)
96 #:use-module (gnu packages dbm)
97 #:use-module (gnu packages djvu)
98 #:use-module (gnu packages dns)
99 #:use-module (gnu packages docbook)
100 #:use-module (gnu packages documentation)
101 #:use-module (gnu packages enchant)
102 #:use-module (gnu packages flex)
103 #:use-module (gnu packages fonts)
104 #:use-module (gnu packages file-systems)
105 #:use-module (gnu packages fontutils)
106 #:use-module (gnu packages freedesktop)
107 #:use-module (gnu packages game-development)
108 #:use-module (gnu packages gettext)
109 #:use-module (gnu packages ghostscript)
110 #:use-module (gnu packages gl)
111 #:use-module (gnu packages glib)
112 #:use-module (gnu packages gnupg)
113 #:use-module (gnu packages gnuzilla)
114 #:use-module (gnu packages geo)
115 #:use-module (gnu packages gperf)
116 #:use-module (gnu packages graphviz)
117 #:use-module (gnu packages gstreamer)
118 #:use-module (gnu packages gtk)
119 #:use-module (gnu packages guile)
120 #:use-module (gnu packages ibus)
121 #:use-module (gnu packages icu4c)
122 #:use-module (gnu packages image)
123 #:use-module (gnu packages imagemagick)
124 #:use-module (gnu packages inkscape)
125 #:use-module (gnu packages iso-codes)
126 #:use-module (gnu packages kerberos)
127 #:use-module (gnu packages libcanberra)
128 #:use-module (gnu packages libunistring)
129 #:use-module (gnu packages libunwind)
130 #:use-module (gnu packages libusb)
131 #:use-module (gnu packages linux)
132 #:use-module (gnu packages lirc)
133 #:use-module (gnu packages lua)
134 #:use-module (gnu packages mail)
135 #:use-module (gnu packages mp3)
136 #:use-module (gnu packages multiprecision)
137 #:use-module (gnu packages music)
138 #:use-module (gnu packages ncurses)
139 #:use-module (gnu packages nettle)
140 #:use-module (gnu packages networking)
141 #:use-module (gnu packages ninja)
142 #:use-module (gnu packages nss)
143 #:use-module (gnu packages openldap)
144 #:use-module (gnu packages package-management)
145 #:use-module (gnu packages password-utils)
146 #:use-module (gnu packages pcre)
147 #:use-module (gnu packages pdf)
148 #:use-module (gnu packages perl)
149 #:use-module (gnu packages photo)
150 #:use-module (gnu packages php)
151 #:use-module (gnu packages pkg-config)
152 #:use-module (gnu packages polkit)
153 #:use-module (gnu packages popt)
154 #:use-module (gnu packages pretty-print)
155 #:use-module (gnu packages pulseaudio)
156 #:use-module (gnu packages python)
157 #:use-module (gnu packages python-crypto)
158 #:use-module (gnu packages python-web)
159 #:use-module (gnu packages python-xyz)
160 #:use-module (gnu packages rdesktop)
161 #:use-module (gnu packages readline)
162 #:use-module (gnu packages ruby)
163 #:use-module (gnu packages rust)
164 #:use-module (gnu packages samba)
165 #:use-module (gnu packages scanner)
166 #:use-module (gnu packages selinux)
167 #:use-module (gnu packages slang)
168 #:use-module (gnu packages speech)
169 #:use-module (gnu packages spice)
170 #:use-module (gnu packages sqlite)
171 #:use-module (gnu packages ssh)
172 #:use-module (gnu packages swig)
173 #:use-module (gnu packages tex)
174 #:use-module (gnu packages time)
175 #:use-module (gnu packages tls)
176 #:use-module (gnu packages valgrind)
177 #:use-module (gnu packages version-control)
178 #:use-module (gnu packages video)
179 #:use-module (gnu packages virtualization)
180 #:use-module (gnu packages vpn)
181 #:use-module (gnu packages web)
182 #:use-module (gnu packages webkit)
183 #:use-module (gnu packages xdisorg)
184 #:use-module (gnu packages xiph)
185 #:use-module (gnu packages xml)
186 #:use-module (gnu packages xorg)
187 #:use-module (gnu artwork)
188 #:use-module ((guix build utils) #:select (modify-phases))
189 #:use-module (guix build-system cargo)
190 #:use-module (guix build-system cmake)
191 #:use-module (guix build-system glib-or-gtk)
192 #:use-module (guix build-system gnu)
193 #:use-module (guix build-system meson)
194 #:use-module (guix build-system python)
195 #:use-module (guix build-system trivial)
196 #:use-module (guix download)
197 #:use-module (guix git-download)
198 #:use-module ((guix licenses) #:prefix license:)
199 #:use-module (guix packages)
200 #:use-module (guix utils)
201 #:use-module (guix gexp)
202 #:use-module (guix monads)
203 #:use-module (guix store)
204 #:use-module (ice-9 match)
205 #:use-module (srfi srfi-1))
207 (define-public brasero
213 (uri (string-append "mirror://gnome/sources/brasero/"
214 (version-major+minor version) "/"
215 "brasero-" version ".tar.xz"))
218 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
219 (build-system glib-or-gtk-build-system)
221 `(#:configure-flags (list
222 (string-append "--with-girdir="
223 (assoc-ref %outputs "out")
225 (string-append "--with-typelibdir="
226 (assoc-ref %outputs "out")
227 "/lib/girepository-1.0"))
229 (modify-phases %standard-phases
230 (add-before 'configure 'embed-growisofs
231 (lambda* (#:key inputs #:allow-other-keys)
232 (substitute* "plugins/growisofs/burn-growisofs.c"
233 (("\"growisofs") (string-append "\"" (which "growisofs"))))
236 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
238 `(("intltool" ,intltool)
240 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
241 ("gobject-introspection" ,gobject-introspection)
242 ("pkg-config" ,pkg-config)))
244 `(("dvd+rw-tools" ,dvd+rw-tools)
246 ("gnome-doc-utils" ,gnome-doc-utils)
247 ("gstreamer" ,gstreamer)
248 ("gst-plugins-base" ,gst-plugins-base)
250 ("libcanberra" ,libcanberra)
252 ("libnotify" ,libnotify)
255 ("totem-pl-parser" ,totem-pl-parser)))
256 (home-page "https://wiki.gnome.org/Apps/Brasero")
257 (synopsis "CD/DVD burning tool for Gnome")
258 (description "Brasero is an application to burn CD/DVD for the Gnome
259 Desktop. It is designed to be as simple as possible and has some unique
260 features to enable users to create their discs easily and quickly.")
261 (license license:gpl2+)))
263 (define-public gnome-music
271 (string-append "mirror://gnome/sources/" name "/"
272 (version-major+minor version) "/"
273 name "-" version ".tar.xz"))
276 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
277 (build-system meson-build-system)
281 (modify-phases %standard-phases
282 (add-after 'install 'wrap-gnome-music
283 (lambda* (#:key inputs outputs #:allow-other-keys)
285 ((out (assoc-ref outputs "out"))
286 (pylib (string-append out "/lib/python"
287 ,(version-major+minor
288 (package-version python))
290 (wrap-program (string-append out "/bin/gnome-music")
291 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
292 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
293 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
294 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
297 `(("desktop-file-utils" ,desktop-file-utils)
298 ("gettext" ,gettext-minimal)
299 ("glib:bin" ,glib "bin")
300 ("gobject-introspection" ,gobject-introspection)
301 ("gtk+:bin" ,gtk+ "bin")
302 ("itstools" ,itstool)
303 ("pkg-config" ,pkg-config)))
305 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
307 ("grilo-plugins" ,grilo-plugins)
308 ("gst-plugins-base" ,gst-plugins-base)
309 ("gstreamer" ,gstreamer)
311 ("libdazzle" ,libdazzle)
312 ("libmediaart" ,libmediaart)
314 ("pycairo" ,python-pycairo)
315 ("pygobject" ,python-pygobject)
317 ("tracker-miners" ,tracker-miners)))
318 (synopsis "Simple music player for GNOME desktop")
319 (description "GNOME Music is the new GNOME music playing application that
320 aims to combine an elegant and immersive browsing experience with simple
321 and straightforward controls.")
322 (home-page "https://wiki.gnome.org/Apps/Music")
323 (license license:gpl2+)))
325 (define-public portablexdr
333 (string-append "https://people.redhat.com/~rjones/" name "/files/"
334 name "-" version ".tar.gz"))
337 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
338 (build-system gnu-build-system)
339 (synopsis "External Data Representation Library")
340 (description "PortableXDR is an implementation of External Data
341 Representation (XDR) Library. It is a standard data serialization format, for
342 uses such as computer network protocols. It allows data to be transferred
343 between different kinds of computer systems.")
344 (home-page "https://people.redhat.com/~rjones/portablexdr/")
358 (string-append "mirror://gnome/sources/" name "/"
359 (version-major+minor version) "/"
360 name "-" version ".tar.xz"))
363 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
364 (build-system glib-or-gtk-build-system)
366 `(#:tests? #f)) ; FIX-ME: Requires gvfs
368 `(("gobject-introspection" ,gobject-introspection)
369 ("pkg-config" ,pkg-config)))
374 ("gtksourceview" ,gtksourceview)
376 ("uchardet" ,uchardet)))
377 (synopsis "Text editor product line")
378 (description "Tepl is a library that eases the development of
379 GtkSourceView-based text editors and IDEs.")
380 (home-page "https://wiki.gnome.org/Projects/Tepl")
381 (license license:lgpl2.1+)))
383 (define-public krb5-auth-dialog
385 (name "krb5-auth-dialog")
391 (string-append "mirror://gnome/sources/" name "/"
392 (version-major+minor version) "/"
393 name "-" version ".tar.xz"))
396 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
397 (build-system glib-or-gtk-build-system)
399 `(("intltool" ,intltool)
402 ("pkg-config" ,pkg-config)
403 ("python-wrapper" ,python-wrapper)))
407 ("libnotify" ,libnotify)
408 ("mit-krb5" ,mit-krb5)
409 ("network-manager" ,network-manager)))
410 (synopsis "Popup dialogs for Kerberos 5")
411 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
412 tickets, and pops up a dialog when they are about to expire.")
413 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
414 (license license:gpl2+)))
416 (define-public notification-daemon
418 (name "notification-daemon")
424 (string-append "mirror://gnome/sources/" name "/"
425 (version-major+minor version) "/"
426 name "-" version ".tar.xz"))
429 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
430 (build-system glib-or-gtk-build-system)
432 `(("intltool" ,intltool)
433 ("pkg-config" ,pkg-config)))
438 (synopsis "Notification Daemon for GNOME Desktop")
439 (description "Notification-Daemon is the server implementation of the
440 freedesktop.org desktop notification specification.")
441 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
442 (license license:gpl2+)))
444 (define-public mm-common
450 (uri (string-append "mirror://gnome/sources/mm-common/"
451 (version-major+minor version) "/"
452 "mm-common-" version ".tar.xz"))
455 "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8"))))
456 (build-system meson-build-system)
459 (modify-phases %standard-phases
460 (add-after 'unpack 'patch
461 (lambda* (#:key inputs #:allow-other-keys)
462 (substitute* "util/mm-common-prepare.in"
463 (("ln") (string-append (assoc-ref inputs "coreutils")
465 (("cp") (string-append (assoc-ref inputs "coreutils")
467 (("sed") (string-append (assoc-ref inputs "sed")
469 (("cat") (string-append (assoc-ref inputs "coreutils")
473 `(("coreutils" ,coreutils)
474 ("gettext" ,gettext-minimal)
475 ("pkg-config" ,pkg-config)
478 `(("python" ,python)))
479 (synopsis "Module of GNOME C++ bindings")
480 (description "The mm-common module provides the build infrastructure
481 and utilities shared among the GNOME C++ binding libraries. Release
482 archives of mm-common include the Doxygen tag file for the GNU C++
483 Library reference documentation.")
484 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
485 (license license:gpl2+)))
487 (define-public phodav
493 (uri (string-append "mirror://gnome/sources/" name "/"
494 (version-major+minor version) "/"
495 name "-" version ".tar.xz"))
498 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
499 (build-system meson-build-system)
501 `(("gettext" ,gettext-minimal)
502 ("glib:bin" ,glib "bin")
504 ("pkg-config" ,pkg-config)))
507 ("libgudev" ,libgudev)
508 ("libsoup" ,libsoup)))
509 (synopsis "WebDav server implementation using libsoup")
510 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
511 but it is generic enough to be reused in other projects,
512 in particular in the GNOME desktop.")
513 (home-page "https://wiki.gnome.org/phodav")
514 (license license:lgpl2.1+)))
516 (define-public gnome-color-manager
518 (name "gnome-color-manager")
522 (uri (string-append "mirror://gnome/sources/" name "/"
523 (version-major+minor version) "/"
524 name "-" version ".tar.xz"))
527 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
528 (build-system meson-build-system)
532 (modify-phases %standard-phases
536 ;; Tests require a running X server.
538 (setenv "DISPLAY" ":1")
541 `(("desktop-file-utils" ,desktop-file-utils)
542 ("gettext" ,gettext-minimal)
543 ("glib:bin" ,glib "bin")
544 ("gtk+:bin" ,gtk+ "bin")
546 ("pkg-config" ,pkg-config)
547 ("xorg-server" ,xorg-server-for-tests)))
549 `(("adwaita-icon-theme" ,adwaita-icon-theme)
550 ("appstream-glib" ,appstream-glib)
551 ("colord-gtk" ,colord-gtk)
553 ("gnome-desktop" ,gnome-desktop)
554 ("libcanberra" ,libcanberra)
557 ("libxrandr" ,libxrandr)
559 ("libxxf86vm" ,libxxf86vm)
561 ("xorgproto" ,xorgproto)))
562 (synopsis "Color profile manager for the GNOME desktop")
563 (description "GNOME Color Manager is a session framework that makes
564 it easy to manage, install and generate color profiles
565 in the GNOME desktop.")
566 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
567 (license license:gpl2+)))
569 (define-public gnome-online-miners
571 (name "gnome-online-miners")
575 (uri (string-append "mirror://gnome/sources/" name "/"
576 (version-major+minor version) "/"
577 name "-" version ".tar.xz"))
580 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
581 (build-system glib-or-gtk-build-system)
583 `(("gettext" ,gettext-minimal)
584 ("glib:bin" ,glib "bin")
585 ("gobject-introspection" ,gobject-introspection)
586 ("gtk+:bin" ,gtk+ "bin")
587 ("pkg-config" ,pkg-config)))
589 `(("gnome-online-accounts" ,gnome-online-accounts)
590 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
592 ("libgdata" ,libgdata)
593 ("libgfbgraph" ,gfbgraph)
594 ("libzapojit" ,libzapojit)
596 ("tracker" ,tracker)))
597 (synopsis "Web Crawlers for GNOME")
598 (description "GNOME Online Miners provides a set of crawlers that
599 go through your online content and index them locally in Tracker.
600 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
601 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
602 (license license:gpl2+)))
610 (uri (string-append "mirror://gnome/sources/" name "/"
611 (version-major+minor version) "/"
612 name "-" version ".tar.xz"))
615 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
616 (build-system meson-build-system)
618 `(("gettext" ,gettext-minimal)
619 ("glib:bin" ,glib "bin")
620 ("gobject-introspection" ,gobject-introspection)
622 ("pkg-config" ,pkg-config)
626 ("libsoup" ,libsoup)))
627 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
628 Protocol} for GNOME")
629 (description "This package provides a library to handle resource discovery
630 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
631 a debugging tool, @command{gssdp-device-sniffer}.")
632 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
633 (license license:lgpl2.0+)))
641 (uri (string-append "mirror://gnome/sources/" name "/"
642 (version-major+minor version) "/"
643 name "-" version ".tar.xz"))
646 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
647 (build-system meson-build-system)
649 `(("gettext" ,gettext-minimal)
650 ("glib:bin" ,glib "bin")
651 ("gobject-introspection" ,gobject-introspection)
653 ("pkg-config" ,pkg-config)
658 ("libsoup" ,libsoup)))
659 (synopsis "PnP API for GNOME")
660 (description "This package provides GUPnP, an object-oriented framework
661 for creating UPnP devices and control points, written in C using
662 @code{GObject} and @code{libsoup}.")
663 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
664 (license license:lgpl2.0+)))
666 (define-public gupnp-dlna
672 (uri (string-append "mirror://gnome/sources/" name "/"
673 (version-major+minor version) "/"
674 name "-" version ".tar.xz"))
677 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
678 (build-system gnu-build-system)
680 `(("gettext" ,gettext-minimal)
681 ("glib:bin" ,glib "bin")
682 ("gobject-introspection" ,gobject-introspection)
685 ("pkg-config" ,pkg-config)
688 `(("gstreamer" ,gstreamer)
691 `(("gst-plugins-base" ,gst-plugins-base)
692 ("gst-plugins-good" ,gst-plugins-good)))
693 (synopsis "GUPnP DLNA for GNOME")
694 (description "This package provides a small utility library to
695 support DLNA-related tasks such as media profile guessing, transcoding to a
696 given profile, etc. DLNA is a subset of UPnP A/V.")
697 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
698 (license license:lgpl2.0+)))
700 (define-public gupnp-av
706 (uri (string-append "mirror://gnome/sources/" name "/"
707 (version-major+minor version) "/"
708 name "-" version ".tar.xz"))
711 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
712 (build-system gnu-build-system)
714 `(("gettext" ,gettext-minimal)
715 ("glib:bin" ,glib "bin")
716 ("gobject-introspection" ,gobject-introspection)
719 ("pkg-config" ,pkg-config)))
723 (synopsis "GUPnP A/V for GNOME")
724 (description "This package provides a small library for handling
725 and implementation of UPnP A/V profiles.")
726 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
727 (license license:lgpl2.0+)))
729 (define-public libmediaart
735 (uri (string-append "mirror://gnome/sources/" name "/"
736 (version-major+minor version) "/"
737 name "-" version ".tar.xz"))
740 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
741 (build-system gnu-build-system)
743 `(("glib:bin" ,glib "bin")
744 ("pkg-config" ,pkg-config)))
746 `(("gdk-pixbuf" ,gdk-pixbuf)
747 ("gettext" ,gettext-minimal)
748 ("gobject-introspection" ,gobject-introspection)
749 ("gtk+:doc", gtk+ "doc")
751 (synopsis "Media art library for the GNOME desktop")
753 "The libmediaart library is the foundation for media art caching,
754 extraction, and lookup for applications on the desktop.")
755 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
756 (license license:lgpl2.1+)))
758 (define-public gnome-initial-setup
760 (name "gnome-initial-setup")
764 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
765 (version-major+minor version)
766 "/gnome-initial-setup-" version ".tar.xz"))
769 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
770 (build-system meson-build-system)
772 '(#:configure-flags '(;; Enable camera support for user selfie.
775 #:phases (modify-phases %standard-phases
776 (add-after 'unpack 'set-gkbd-file-name
777 (lambda* (#:key inputs #:allow-other-keys)
778 ;; Allow the "Preview" button in the keyboard layout
779 ;; selection dialog to display the layout.
780 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
781 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
782 (("\"gkbd-keyboard-display")
783 (string-append "\"" libgnomekbd
784 "/bin/gkbd-keyboard-display")))
787 `(("gettext" ,gettext-minimal)
788 ("glib:bin" ,glib "bin")
789 ("gobject-introspection" ,gobject-introspection)
790 ("gtk+:bin" ,gtk+ "bin")
791 ("pkg-config" ,pkg-config)))
793 `(("accountsservice" ,accountsservice)
794 ;("adwaita-icon-theme" ,adwaita-icon-theme)
797 ("gnome-desktop" ,gnome-desktop)
798 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
799 ("gnome-online-accounts" ,gnome-online-accounts)
800 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
801 ("gstreamer" ,gstreamer)
803 ("json-glib" ,json-glib)
805 ("libgweather" ,libgweather)
807 ("libsecret" ,libsecret)
808 ("network-manager" ,network-manager)
809 ("packagekit" ,packagekit)
811 ("pwquality" ,libpwquality)
814 ("webkitgtk" ,webkitgtk)
815 ("libgnomekbd" ,libgnomekbd)))
816 (synopsis "Initial setup wizard for GNOME desktop")
817 (description "This package provides a set-up wizard when a
818 user logs into GNOME for the first time. It typically provides a
819 tour of all gnome components and allows the user to set them up.")
820 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
821 (license license:gpl2)))
823 (define-public gnome-user-share
825 (name "gnome-user-share")
829 (uri (string-append "mirror://gnome/sources/" name "/"
830 (version-major+minor version) "/"
831 name "-" version ".tar.xz"))
834 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
835 (build-system meson-build-system)
840 ;; Enable nautilus extension for file sharing.
841 "-Dnautilus_extension=true")))
843 `(("gettext" ,gettext-minimal)
844 ("glib:bin" ,glib "bin")
845 ("gobject-introspection" ,gobject-introspection)
846 ("gtk+:bin" ,gtk+ "bin")
847 ("pkg-config" ,pkg-config)
848 ("yelp-tools" ,yelp-tools)))
851 ("gnome-bluetooth" ,gnome-bluetooth)
853 ("libcanberra" ,libcanberra)
854 ("libnotify" ,libnotify)
855 ("nautilus" ,nautilus))) ; For nautilus extension.
856 (synopsis "File sharing for GNOME desktop")
857 (description "GNOME User Share is a small package that binds together
858 various free software projects to bring easy to use user-level file
859 sharing to the masses.")
860 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
861 (license license:gpl2+)))
869 (uri (string-append "mirror://gnome/sources/" name "/"
870 (version-major+minor version) "/"
871 name "-" version ".tar.xz"))
874 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
875 (build-system meson-build-system)
879 (modify-phases %standard-phases
880 (add-after 'glib-or-gtk-wrap 'wrap-typelib
881 (lambda* (#:key outputs #:allow-other-keys)
882 (let ((prog (string-append (assoc-ref outputs "out")
884 ;; Put existing typelibs before sushi's deps, so as to correctly
887 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
890 `(("glib:bin" ,glib "bin")
891 ("gettext" ,gettext-minimal)
892 ("gobject-introspection" ,gobject-introspection)
893 ("pkg-config" ,pkg-config)))
895 `(("clutter" ,clutter)
896 ("clutter-gst" ,clutter-gst)
897 ("clutter-gtk" ,clutter-gtk)
898 ("evince" ,evince) ; For file previewing.
899 ("freetype" ,freetype)
900 ("gdk-pixbuf" ,gdk-pixbuf)
902 ("gst-plugins-base" ,gst-plugins-base)
903 ("gstreamer" ,gstreamer)
904 ("gtksourceview" ,gtksourceview-3)
905 ("harfbuzz" ,harfbuzz)
906 ("libepoxy" ,libepoxy)
907 ("libmusicbrainz" ,libmusicbrainz)
910 ("webkitgtk" ,webkitgtk)))
911 (synopsis "File previewer for the GNOME desktop")
912 (description "Sushi is a DBus-activated service that allows applications to
913 preview files on the GNOME desktop.")
914 (home-page "https://gitlab.gnome.org/GNOME/sushi")
915 (license license:gpl2+)))
923 (uri (string-append "mirror://gnome/sources/" name "/"
924 (version-major+minor version) "/"
925 name "-" version ".tar.xz"))
928 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
929 (build-system gnu-build-system)
931 `(("gettext" ,gettext-minimal)
932 ("gobject-introspection" ,gobject-introspection)
934 ("pkg-config" ,pkg-config)
937 `(("gdk-pixbuf" ,gdk-pixbuf)
939 ("gstreamer" ,gstreamer)
940 ("gst-plugins-base" ,gst-plugins-base)
943 ("gupnp-av" ,gupnp-av)
944 ("gupnp-dlna" ,gupnp-dlna)
946 ("libmediaart" ,libmediaart)
949 ("libunistring" ,libunistring)
950 ("tracker" ,tracker)))
951 (synopsis "Share audio, video, and pictures with other devices")
953 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
954 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
955 pictures, and to control a media player on your home network.
957 Rygel achieves interoperability with other devices by trying to conform to the
958 strict requirements of DLNA and by converting media on-the-fly to formats that
959 client devices can handle.")
960 (home-page "https://wiki.gnome.org/Projects/Rygel")
962 ;; For logo (data/icons/*).
967 (define-public libnma
973 (uri (string-append "mirror://gnome/sources/" name "/"
974 (version-major+minor version) "/"
975 name "-" version ".tar.xz"))
978 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
979 (build-system meson-build-system)
982 (modify-phases %standard-phases
983 (add-after 'unpack 'patch-docbook-xml
984 (lambda* (#:key inputs #:allow-other-keys)
985 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
986 "/xml/dtd/docbook")))
987 (substitute* "libnma-docs.xml"
988 (("http://.*/docbookx\\.dtd")
989 (string-append xmldoc "/docbookx.dtd")))
992 `(("docbook-xml" ,docbook-xml-4.3)
993 ("gettext" ,gettext-minimal)
994 ("glib:bin" ,glib "bin")
996 ("gobject-introspection" ,gobject-introspection)
997 ("pkg-config" ,pkg-config)
1002 ("iso-codes" ,iso-codes)
1003 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1004 ("network-manager" ,network-manager)))
1005 (synopsis "Network Manager's applet library")
1006 (description "Libnma is an applet library for Network Manager. It was
1007 initially part of network-manager-applet and has now become a separate
1009 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1010 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1012 (license license:gpl2+)))
1014 (define-public gnome-menus
1016 (name "gnome-menus")
1020 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1021 (version-major+minor version) "/"
1022 name "-" version ".tar.xz"))
1025 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1026 (build-system gnu-build-system)
1028 `(("gettext" ,gettext-minimal)
1030 ("pkg-config" ,pkg-config)))
1031 (synopsis "Menu support for GNOME desktop")
1032 (description "GNOME Menus contains the libgnome-menu library, the layout
1033 configuration files for the GNOME menu, as well as a simple menu editor.")
1034 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1035 (license license:lgpl2.0+)))
1037 (define-public deja-dup
1043 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1044 version "/deja-dup-" version ".tar.bz2"))
1047 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1048 (build-system meson-build-system)
1053 ;; Otherwise, the RUNPATH will lack the final path component.
1054 (string-append "-Dc_link_args=-Wl,-rpath="
1055 (assoc-ref %outputs "out") "/lib/deja-dup"))
1057 (modify-phases %standard-phases
1058 (add-after 'unpack 'patch-paths
1059 (lambda* (#:key inputs #:allow-other-keys)
1060 (let ((python (assoc-ref inputs "python")))
1061 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1062 "libdeja/tests/scripts/instance-error.test")
1065 (substitute* "libdeja/tests/runner.vala"
1068 (substitute* "libdeja/tests/scripts/instance-error.test"
1069 (("`which python3`")
1070 (string-append python "/bin/python3"))))))
1071 (add-after 'unpack 'patch-libgpg-error
1072 (lambda* (#:key inputs #:allow-other-keys)
1073 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1074 (substitute* "meson.build"
1075 (("(gpgerror_libs = ).*" _ var)
1076 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1078 (add-after 'unpack 'skip-gtk-update-icon-cache
1079 ;; Don't create 'icon-theme.cache'.
1081 (substitute* "data/post-install.sh"
1082 (("gtk-update-icon-cache") "true"))
1085 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1086 ("duplicity" ,duplicity)
1088 ("python-pygobject" ,python-pygobject)
1090 ("json-glib" ,json-glib)
1091 ("libnotify" ,libnotify)
1092 ("libgpg-error" ,libgpg-error)
1093 ("libsecret" ,libsecret)
1094 ("libsoup" ,libsoup)
1095 ("packagekit" ,packagekit)))
1097 `(("appstream-glib" ,appstream-glib)
1098 ("desktop-file-utils" ,desktop-file-utils)
1099 ("gettext" ,gettext-minimal)
1100 ("glib" ,glib "bin") ; for glib-compile-schemas.
1101 ("gobject-introspection" ,gobject-introspection)
1102 ("itstool" ,itstool)
1103 ("pkg-config" ,pkg-config)
1105 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1106 (synopsis "Simple backup tool, for regular encrypted backups")
1108 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1109 uses duplicity as the backend, which supports incremental backups and storage
1110 either on a local, or remote machine via a number of methods.")
1111 (license license:gpl3+)))
1113 (define-public gnome-user-docs
1115 (name "gnome-user-docs")
1120 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1121 (version-major+minor version)
1122 "/gnome-user-docs-" version ".tar.xz"))
1124 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1125 (build-system gnu-build-system)
1127 `(("gettext" ,gettext-minimal)
1128 ("itstool" ,itstool)
1129 ("pkg-config" ,pkg-config)
1130 ("xmllint" ,libxml2)))
1131 (synopsis "User documentation for the GNOME desktop")
1133 "The GNOME User Documentation explains how to use the GNOME desktop and its
1134 components. It covers usage and setup of the core GNOME programs by end-users
1135 and system administrators.")
1136 (home-page "https://live.gnome.org/DocumentationProject")
1137 (license license:cc-by3.0)))
1139 (define-public gnome-getting-started-docs
1141 (name "gnome-getting-started-docs")
1146 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1147 (version-major+minor version)
1148 "/gnome-getting-started-docs-" version ".tar.xz"))
1150 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1151 (build-system gnu-build-system)
1153 `(("gettext" ,gettext-minimal)
1154 ("itstool" ,itstool)
1155 ("pkg-config" ,pkg-config)
1156 ("xmllint" ,libxml2)))
1157 (synopsis "Help to get new users started with the GNOME desktop")
1159 "The GNOME Getting Started Documentation contains GNOME's intuitive
1160 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1162 It is normally used together with @command{gnome-initial-setup}, but is also
1163 useful as a tutorial and users' guide for new or less experienced users.")
1164 (home-page "https://live.gnome.org/DocumentationProject")
1165 (license license:cc-by-sa3.0)))
1168 ;; This version from GNOME's repository includes fixes for compiling with
1169 ;; recent versions of the build tools. The latest activity on the
1170 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1172 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1176 (version (git-version "0.97.3" revision commit))
1180 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1182 (file-name (git-file-name name version))
1185 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1186 (build-system meson-build-system)
1188 `(("graphene" ,graphene)
1190 ("libxml2" ,libxml2)
1191 ("libxslt" ,libxslt)
1192 ("poppler" ,poppler)
1193 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1194 ;; ERROR: Unknown method "dependency" in object.
1195 ("python-2" ,python-2)))
1197 `(("appstream-glib" ,appstream-glib)
1198 ("docbook-xsl" ,docbook-xsl)
1199 ("glib" ,glib "bin")
1200 ("intltool" ,intltool)
1201 ("pkg-config" ,pkg-config)))
1202 (home-page "https://wiki.gnome.org/Apps/Dia")
1203 (synopsis "Diagram creation for GNOME")
1204 (description "Dia can be used to draw different types of diagrams, and
1205 includes support for UML static structure diagrams (class diagrams), entity
1206 relationship modeling, and network diagrams. The program supports various file
1207 formats like PNG, SVG, PDF and EPS.")
1208 (license license:gpl2+))))
1210 ;; This is the unstable release, but it is required for the current stable
1211 ;; release of gvfs (1.38.1).
1212 (define-public libgdata
1218 (uri (string-append "mirror://gnome/sources/" name "/"
1219 (version-major+minor version) "/"
1220 name "-" version ".tar.xz"))
1223 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1224 (build-system gnu-build-system)
1227 (modify-phases %standard-phases
1228 (add-before 'check 'disable-failing-tests
1230 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1231 ;; They have been removed in libgdata 0.17.6, so just do the same.
1232 (substitute* "gdata/tests/Makefile"
1233 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1236 `(("glib:bin" ,glib "bin")
1237 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1238 ("intltool" ,intltool)
1239 ("pkg-config" ,pkg-config)
1240 ("uhttpmock" ,uhttpmock)))
1242 `(("cyrus-sasl" ,cyrus-sasl)
1243 ("glib-networking" ,glib-networking)))
1247 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1248 ("json-glib" ,json-glib)
1249 ("liboauth" ,liboauth)
1250 ("libsoup" ,libsoup)
1251 ("libxml2" ,libxml2)))
1252 (home-page "https://wiki.gnome.org/Projects/libgdata")
1253 (synopsis "Library for accessing online service APIs")
1255 "libgdata is a GLib-based library for accessing online service APIs using
1256 the GData protocol — most notably, Google's services. It provides APIs to
1257 access the common Google services, and has full asynchronous support.")
1258 (license license:lgpl2.1+)))
1260 (define-public libgxps
1266 (uri (string-append "mirror://gnome/sources/" name "/"
1267 (version-major+minor version) "/"
1268 name "-" version ".tar.xz"))
1271 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1272 (build-system meson-build-system)
1274 `(("gobject-introspection" ,gobject-introspection)
1275 ("pkg-config" ,pkg-config)))
1278 ("libjpeg" ,libjpeg-turbo)
1280 ("libtiff" ,libtiff)))
1282 ;; In Requires of libgxps.pc.
1285 ("libarchive" ,libarchive)))
1286 (home-page "https://wiki.gnome.org/Projects/libgxps")
1287 (synopsis "GObject-based library for handling and rendering XPS documents")
1289 "libgxps is a GObject-based library for handling and rendering XPS
1290 documents. This package also contains binaries that can convert XPS documents
1292 (license license:lgpl2.1+)))
1294 (define-public gnome-characters
1296 (name "gnome-characters")
1301 (uri (string-append "mirror://gnome/sources/"
1302 "gnome-characters/" (version-major+minor version)
1303 "/gnome-characters-" version ".tar.xz"))
1306 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1307 (build-system meson-build-system)
1310 #:phases (modify-phases %standard-phases
1311 (add-after 'install 'wrap
1312 (lambda* (#:key outputs #:allow-other-keys)
1313 ;; GNOME Characters needs Typelib files from GTK and
1315 (wrap-program (string-append (assoc-ref outputs "out")
1316 "/bin/gnome-characters")
1317 `("GI_TYPELIB_PATH" ":" prefix
1318 (,(getenv "GI_TYPELIB_PATH"))))
1321 `(("gettext" ,gettext-minimal)
1322 ("glib:bin" ,glib "bin")
1323 ("gtk+:bin" ,gtk+ "bin")
1324 ("pkg-config" ,pkg-config)
1325 ("python" ,python-minimal)))
1329 ("libunistring" ,libunistring)
1330 ("gnome-desktop" ,gnome-desktop)))
1331 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1332 (synopsis "Find and insert unusual characters")
1333 (description "Characters is a simple utility application to find
1334 and insert unusual characters. It allows you to quickly find the
1335 character you are looking for by searching for keywords.")
1336 (license license:bsd-3)))
1338 (define-public gnome-common
1340 (name "gnome-common")
1345 (uri (string-append "mirror://gnome/sources/" name "/"
1346 (version-major+minor version) "/"
1347 name "-" version ".tar.xz"))
1350 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1351 (build-system gnu-build-system)
1352 (home-page "https://www.gnome.org/")
1353 (synopsis "Bootstrap GNOME modules built from Git")
1354 (description "gnome-common contains various files needed to bootstrap
1355 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1356 can be used to configure a source directory checked out from Git and some
1357 commonly used macros.")
1358 (license license:gpl2+)))
1360 (define-public gnome-contacts
1362 (name "gnome-contacts")
1366 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1367 (version-major+minor version) "/"
1368 name "-" version ".tar.xz"))
1371 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1372 (build-system meson-build-system)
1374 `(#:configure-flags '("-Dcheese=false")
1376 (modify-phases %standard-phases
1377 (add-after 'unpack 'generate-vapis
1378 (lambda* (#:key inputs #:allow-other-keys)
1379 ;; To generate goa's missing .vapi file
1381 (assoc-ref inputs "gnome-online-accounts:lib"))
1383 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1385 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1387 (add-after 'unpack 'skip-gtk-update-icon-cache
1388 ;; Don't create 'icon-theme.cache'.
1390 (substitute* "build-aux/meson_post_install.py"
1391 (("gtk-update-icon-cache") "true"))
1394 `(("glib:bin" ,glib "bin")
1395 ("pkg-config" ,pkg-config)))
1397 `(("docbook-xml" ,docbook-xml)
1398 ("dockbook-xsl" ,docbook-xsl)
1399 ("evolution-data-server" ,evolution-data-server)
1400 ("gettext" ,gettext-minimal)
1401 ("gnome-desktop" ,gnome-desktop)
1402 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1403 ("gobject-introspection" ,gobject-introspection)
1404 ("gst-plugins-base" ,gst-plugins-base)
1407 ("libxslt" ,libxslt)
1408 ("telepathy-glib" ,telepathy-glib)
1412 ("telepathy-mission-control" ,telepathy-mission-control)))
1413 (synopsis "GNOME's integrated address book")
1415 "GNOME Contacts organizes your contact information from online and
1416 offline sources, providing a centralized place for managing your contacts.")
1417 (home-page "https://wiki.gnome.org/Apps/Contacts")
1418 (license license:gpl2+)))
1420 (define-public gnome-desktop
1422 (name "gnome-desktop")
1427 (uri (string-append "mirror://gnome/sources/" name "/"
1428 (version-major+minor version) "/"
1429 name "-" version ".tar.xz"))
1432 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1433 (build-system meson-build-system)
1436 (modify-phases %standard-phases
1437 (add-before 'configure 'patch-path
1438 (lambda* (#:key inputs #:allow-other-keys)
1439 (let ((libc (assoc-ref inputs "libc")))
1440 (substitute* "libgnome-desktop/gnome-languages.c"
1442 (string-append "\"" libc "/bin/locale\"")))
1444 (add-before 'configure 'patch-bubblewrap
1445 (lambda* (#:key inputs #:allow-other-keys)
1446 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
1448 (string-append "\"" (which "bwrap") "\","))
1449 (("\"--ro-bind\", \"/usr\", \"/usr\",")
1450 (string-append "\"--ro-bind\", \""
1455 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
1457 (add-before 'check 'pre-check
1458 (lambda* (#:key inputs #:allow-other-keys)
1459 ;; Tests require a running X server and locales.
1460 (system "Xvfb :1 &")
1461 (setenv "DISPLAY" ":1")
1462 (setenv "GUIX_LOCPATH"
1463 (string-append (assoc-ref inputs "glibc-locales")
1467 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1468 ("glibc-locales" ,glibc-locales) ; for tests
1469 ("gobject-introspection" ,gobject-introspection)
1470 ("itstool" ,itstool)
1471 ("intltool" ,intltool)
1472 ("pkg-config" ,pkg-config)
1473 ("xmllint" ,libxml2)
1474 ("xorg-server" ,xorg-server-for-tests)))
1476 ;; Required by gnome-desktop-3.0.pc.
1477 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1479 ("iso-codes" ,iso-codes)
1480 ("libseccomp" ,libseccomp)
1482 ("xkeyboard-config" ,xkeyboard-config)))
1484 `(("gdk-pixbuf" ,gdk-pixbuf)
1486 ("bubblewrap" ,bubblewrap)
1487 ("libxext" ,libxext)
1488 ("libxkbfile" ,libxkbfile)
1489 ("libxrandr" ,libxrandr)))
1490 (home-page "https://www.gnome.org/")
1492 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1494 "The libgnome-desktop library provides API shared by several applications
1495 on the desktop, but that cannot live in the platform for various reasons.
1496 There is no API or ABI guarantee, although we are doing our best to provide
1497 stability. Documentation for the API is available with gtk-doc.
1499 The gnome-about program helps find which version of GNOME is installed.")
1500 ; Some bits under the LGPL.
1501 (license license:gpl2+)))
1503 (define-public gnome-doc-utils
1505 (name "gnome-doc-utils")
1510 (uri (string-append "mirror://gnome/sources/" name "/"
1511 (version-major+minor version) "/"
1512 name "-" version ".tar.xz"))
1515 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1516 (build-system gnu-build-system)
1518 `(("intltool" ,intltool)
1519 ("docbook-xml" ,docbook-xml-4.4)
1520 ("python2-libxml2" ,python2-libxml2)
1521 ("libxml2" ,libxml2)
1522 ("libxslt" ,libxslt)
1523 ("pkg-config" ,pkg-config)
1524 ("python-2" ,python-2)))
1525 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1527 "Documentation utilities for the Gnome project")
1529 "Gnome-doc-utils is a collection of documentation utilities for the
1530 Gnome project. It includes xml2po tool which makes it easier to translate
1531 and keep up to date translations of documentation.")
1532 (license license:gpl2+))) ; xslt under lgpl
1534 (define-public gnome-disk-utility
1536 (name "gnome-disk-utility")
1540 (uri (string-append "mirror://gnome/sources/" name "/"
1541 (version-major+minor version) "/"
1542 name "-" version ".tar.xz"))
1545 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1546 (build-system meson-build-system)
1548 '(#:configure-flags '("-Dlogind=libelogind")
1550 (modify-phases %standard-phases
1551 (add-after 'unpack 'skip-gtk-update-icon-cache
1552 ;; Don't create 'icon-theme.cache'.
1554 (substitute* "meson_post_install.py"
1555 (("gtk-update-icon-cache") "true"))
1558 `(("glib:bin" ,glib "bin")
1559 ("intltool" ,intltool)
1560 ("pkg-config" ,pkg-config)
1561 ("docbook-xml" ,docbook-xml)
1562 ("docbook-xsl" ,docbook-xsl)
1563 ("libxml2" ,libxml2)
1564 ("libxslt" ,libxslt)))
1566 `(("elogind" ,elogind)
1568 ("appstream-glib" ,appstream-glib)
1569 ("gnome-settings-daemon" ,gnome-settings-daemon)
1571 ("libcanberra" ,libcanberra)
1572 ("libdvdread" ,libdvdread)
1573 ("libnotify" ,libnotify)
1574 ("libpwquality" ,libpwquality)
1575 ("libsecret" ,libsecret)
1576 ("udisks" ,udisks)))
1577 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1578 (synopsis "Disk management utility for GNOME")
1579 (description "Disk management utility for GNOME.")
1580 (license license:gpl2+)))
1582 (define-public gnome-font-viewer
1584 (name "gnome-font-viewer")
1588 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1589 (version-major+minor version)
1590 "/gnome-font-viewer-" version ".tar.xz"))
1593 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1594 (build-system meson-build-system)
1597 (modify-phases %standard-phases
1598 (add-after 'unpack 'patch-post-install-script
1600 (substitute* "meson-postinstall.sh"
1601 (("update-desktop-database") (which "true")))
1604 `(("gettext" ,gettext-minimal)
1605 ("glib:bin" ,glib "bin")
1606 ("pkg-config" ,pkg-config)))
1609 ("gnome-desktop" ,gnome-desktop)
1611 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1612 (synopsis "GNOME Fonts")
1613 (description "Application to show you the fonts installed on your computer
1614 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1615 the font would look under various sizes.")
1616 (license license:gpl2+)))
1624 (uri (string-append "mirror://gnome/sources/" name "/"
1625 (version-major+minor version) "/"
1626 name "-" version ".tar.xz"))
1629 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1630 (build-system gnu-build-system)
1633 (modify-phases %standard-phases
1634 ;; These fail because /var/lib/dbus/machine-id is not present in the
1635 ;; build environment.
1636 (add-after 'unpack 'disable-failing-tests
1638 (substitute* "Makefile.in"
1639 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1642 (add-before 'check 'pre-check
1644 ;; Some tests expect to write to $HOME.
1645 (setenv "HOME" "/tmp")
1649 ("gnupg" ,gnupg) ;called as a child process during tests
1650 ("libgcrypt" ,libgcrypt)))
1652 `(("python" ,python-wrapper) ;for tests
1653 ("pkg-config" ,pkg-config)
1654 ("gettext" ,gettext-minimal)
1655 ("glib" ,glib "bin")
1656 ("gobject-introspection" ,gobject-introspection)
1657 ("libxml2" ,libxml2)
1659 ("xsltproc" ,libxslt)))
1660 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1662 `(("p11-kit" ,p11-kit)
1665 (home-page "https://www.gnome.org")
1666 (synopsis "Libraries for displaying certificates and accessing key stores")
1668 "The GCR package contains libraries used for displaying certificates and
1669 accessing key stores. It also provides the viewer for crypto files on the
1671 (license license:lgpl2.1+)))
1680 (url "https://gitlab.gnome.org/GNOME/gdl.git")
1681 (commit (string-append "GDL_" (string-map (match-lambda
1685 (file-name (git-file-name name version))
1688 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
1689 (build-system gnu-build-system)
1691 `(("autoconf" ,autoconf)
1692 ("automake" ,automake)
1693 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1694 ("gnome-common" ,gnome-common)
1695 ("gtk-doc" ,gtk-doc)
1696 ("intltool" ,intltool)
1697 ("pkg-config" ,pkg-config)
1698 ("libtool" ,libtool)
1701 `(("libxml2" ,libxml2)))
1703 ;; The gdl-3.0.pc file 'Requires' GTK+.
1705 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
1706 (synopsis "GNOME docking library")
1707 (description "This library provides docking features for gtk+.")
1708 (license license:lgpl2.1+)))
1710 ;;; A minimal variant used to break a cycle with Inkscape.
1711 (define-public gdl-minimal
1714 (name "gdl-minimal")
1717 (modify-phases %standard-phases
1718 (add-after 'unpack 'disable-doc-generation
1719 ;; XXX: There is no easy way to disable generating the
1722 (substitute* "configure.in"
1723 (("GTK_DOC_CHECK.*") "")
1725 (substitute* "Makefile.am"
1726 (("gdl docs po") "gdl po"))
1728 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
1730 (define-public libgnome-keyring
1732 (name "libgnome-keyring")
1736 (uri (string-append "mirror://gnome/sources/" name "/"
1737 (version-major+minor version) "/"
1738 name "-" version ".tar.xz"))
1741 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1742 (build-system gnu-build-system)
1744 `(("libgcrypt" ,libgcrypt)
1747 `(("pkg-config" ,pkg-config)
1748 ("glib" ,glib "bin")
1749 ("intltool" ,intltool)))
1751 ;; Referred to in .h files and .pc.
1753 (home-page "https://www.gnome.org")
1754 (synopsis "Accessing passwords from the GNOME keyring")
1756 "Client library to access passwords from the GNOME keyring.")
1758 ;; Though a couple of files are LGPLv2.1+.
1759 (license license:lgpl2.0+)))
1761 (define-public gnome-keyring
1763 (name "gnome-keyring")
1767 (uri (string-append "mirror://gnome/sources/" name "/"
1768 (version-major+minor version) "/"
1769 name "-" version ".tar.xz"))
1772 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1773 (build-system gnu-build-system)
1775 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1779 (string-append "--with-pkcs11-config="
1780 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1781 (string-append "--with-pkcs11-modules="
1782 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1784 (modify-phases %standard-phases
1785 (add-after 'unpack 'fix-/bin/sh-reference
1787 (substitute* "po/Makefile.in.in"
1788 (("/bin/sh") (which "sh")))
1790 (add-after 'unpack 'fix-docbook
1791 (lambda* (#:key inputs #:allow-other-keys)
1792 (substitute* "docs/Makefile.am"
1793 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1794 (string-append (assoc-ref inputs "docbook-xsl")
1795 "/xml/xsl/docbook-xsl-"
1796 ,(package-version docbook-xsl)
1797 "/manpages/docbook.xsl")))
1798 (setenv "XML_CATALOG_FILES"
1799 (string-append (assoc-ref inputs "docbook-xml")
1800 "/xml/dtd/docbook/catalog.xml"))
1801 ;; Rerun the whole thing to avoid version mismatch ("This is
1802 ;; Automake 1.15.1, but the definition used by this
1803 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1804 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1807 (invoke "automake" "-ac"))))))
1809 `(("libgcrypt" ,libgcrypt)
1810 ("linux-pam" ,linux-pam)
1811 ("openssh" ,openssh)
1815 `(("pkg-config" ,pkg-config)
1816 ("glib" ,glib "bin")
1817 ("glib" ,glib) ; for m4 macros
1818 ("python" ,python-2) ;for tests
1819 ("intltool" ,intltool)
1820 ("autoconf" ,autoconf)
1821 ("automake" ,automake)
1822 ("libxslt" ,libxslt) ;for documentation
1823 ("docbook-xml" ,docbook-xml-4.2)
1824 ("docbook-xsl" ,docbook-xsl)))
1825 (home-page "https://www.gnome.org")
1826 (synopsis "Daemon to store passwords and encryption keys")
1828 "gnome-keyring is a program that keeps passwords and other secrets for
1829 users. It is run as a daemon in the session, similar to ssh-agent, and other
1830 applications locate it via an environment variable or D-Bus.
1832 The program can manage several keyrings, each with its own master password,
1833 and there is also a session keyring which is never stored to disk, but
1834 forgotten when the session ends.")
1835 (license license:lgpl2.1+)))
1837 (define-public evince
1843 (uri (string-append "mirror://gnome/sources/evince/"
1844 (version-major+minor version) "/"
1845 "evince-" version ".tar.xz"))
1848 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
1849 (build-system glib-or-gtk-build-system)
1851 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1853 (modify-phases %standard-phases
1854 (add-before 'install 'skip-gtk-update-icon-cache
1855 ;; Don't create 'icon-theme.cache'.
1857 (substitute* "data/Makefile"
1858 (("gtk-update-icon-cache") "true"))
1861 `(("libarchive" ,libarchive)
1862 ("libgxps" ,libgxps)
1863 ("libspectre" ,libspectre)
1864 ("djvulibre" ,djvulibre)
1865 ("ghostscript" ,ghostscript)
1866 ("poppler" ,poppler)
1867 ("libtiff" ,libtiff)
1869 ;; Build libkpathsea as a shared library for DVI support.
1870 ;; ("libkpathsea" ,texlive-bin)
1871 ("gnome-desktop" ,gnome-desktop)
1872 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1874 ("libgnome-keyring" ,libgnome-keyring)
1875 ("adwaita-icon-theme" ,adwaita-icon-theme)
1876 ("gdk-pixbuf" ,gdk-pixbuf)
1881 ("libxml2" ,libxml2)
1884 ("shared-mime-info" ,shared-mime-info)
1886 ("libcanberra" ,libcanberra)
1887 ("libsecret" ,libsecret)
1890 ("dogtail" ,python2-dogtail)))
1892 `(("itstool" ,itstool)
1893 ("intltool" ,intltool)
1894 ("glib" ,glib "bin")
1895 ("gobject-introspection" ,gobject-introspection)
1896 ("pkg-config" ,pkg-config)
1897 ("xmllint" ,libxml2)))
1898 (home-page "https://www.gnome.org/projects/evince/")
1899 (synopsis "GNOME's document viewer")
1901 "Evince is a document viewer for multiple document formats. It
1902 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1903 of Evince is to replace the multiple document viewers that exist
1904 on the GNOME Desktop with a single simple application.")
1905 (license license:gpl2+)))
1907 (define-public gsettings-desktop-schemas
1909 (name "gsettings-desktop-schemas")
1914 (uri (string-append "mirror://gnome/sources/" name "/"
1915 (version-major+minor version) "/"
1916 name "-" version ".tar.xz"))
1919 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1920 (build-system meson-build-system)
1922 '(#:phases (modify-phases %standard-phases
1923 (add-after 'unpack 'patch-schemas
1924 (lambda* (#:key inputs #:allow-other-keys)
1925 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1926 (substitute* (find-files "schemas"
1927 "\\.gschema\\.xml\\.in$")
1928 ;; Provide the correct file name of the default GNOME
1929 ;; background, 'adwaita-timed.xml'.
1930 (("@datadir@/backgrounds/gnome")
1931 (string-append theme "/share/backgrounds/gnome"))
1932 ;; Do not reference fonts, that may not exist.
1933 (("'Source Code Pro 10'") "'Monospace 11'"))
1937 ("gnome-backgrounds" ,gnome-backgrounds)))
1939 `(("intltool" ,intltool)
1940 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1941 ("gobject-introspection" ,gobject-introspection)
1942 ("pkg-config" ,pkg-config)))
1943 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1945 "GNOME settings for various desktop components")
1947 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1948 for settings shared by various components of the GNOME desktop.")
1949 (license license:lgpl2.1+)))
1951 (define-public icon-naming-utils
1953 (name "icon-naming-utils")
1958 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1959 version ".tar.bz2"))
1962 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1963 (build-system gnu-build-system)
1966 ("perl-xml-simple" ,perl-xml-simple)))
1969 (modify-phases %standard-phases
1970 (add-after 'install 'set-load-paths
1971 ;; Tell 'icon-name-mapping' where XML::Simple is.
1972 (lambda* (#:key outputs #:allow-other-keys)
1973 (let* ((out (assoc-ref outputs "out"))
1974 (prog (string-append out "/libexec/icon-name-mapping")))
1977 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1979 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1981 "Utility to implement the Freedesktop Icon Naming Specification")
1983 "To help with the transition to the Freedesktop Icon Naming
1984 Specification, the icon naming utility maps the icon names used by the
1985 GNOME and KDE desktops to the icon names proposed in the specification.")
1986 (license license:lgpl2.1+)))
1988 (define-public gnome-icon-theme
1990 (name "gnome-icon-theme")
1995 (uri (string-append "mirror://gnome/sources/" name "/"
1996 (version-major+minor version) "/"
1997 name "-" version ".tar.xz"))
2000 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2001 (build-system gnu-build-system)
2004 ;; Don't create 'icon-theme.cache'.
2005 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2006 (true (string-append coreutils "/bin/true")))
2007 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2009 `(("icon-naming-utils" ,icon-naming-utils)
2010 ("intltool" ,intltool)
2011 ("pkg-config" ,pkg-config)))
2012 (home-page "https://wiki.gnome.org/Personalization")
2013 (synopsis "GNOME icon theme")
2014 (description "Icons for the GNOME desktop.")
2015 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2017 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2018 (define-public adwaita-icon-theme
2019 (package (inherit gnome-icon-theme)
2020 (name "adwaita-icon-theme")
2024 (uri (string-append "mirror://gnome/sources/" name "/"
2025 (version-major+minor version) "/"
2026 name "-" version ".tar.xz"))
2029 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2031 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2033 (define-public tango-icon-theme
2035 (name "tango-icon-theme")
2039 (uri (string-append "http://tango.freedesktop.org/releases/"
2040 "tango-icon-theme-" version ".tar.bz2"))
2043 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2044 (build-system gnu-build-system)
2046 `(("icon-naming-utils" ,icon-naming-utils)
2047 ("intltool" ,intltool)
2048 ("imagemagick" ,imagemagick)
2049 ("pkg-config" ,pkg-config)))
2050 (home-page "http://tango-project.org/")
2051 (synopsis "Tango icon theme")
2052 (description "This is an icon theme that follows the Tango visual
2054 (license license:public-domain)))
2056 (define-public shared-mime-info
2058 (name "shared-mime-info")
2063 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2064 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2068 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2069 (build-system gnu-build-system)
2071 ;; The build system appears not to be parallel-safe.
2072 '(#:parallel-build? #f))
2075 ("libxml2" ,libxml2)))
2077 `(("gettext" ,gettext-minimal)
2078 ("itstool" ,itstool)
2079 ("pkg-config" ,pkg-config)))
2080 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2081 (synopsis "Database of common MIME types")
2083 "The shared-mime-info package contains the core database of common types
2084 and the update-mime-database command used to extend it. It requires glib2 to
2085 be installed for building the update command. Additionally, it uses intltool
2086 for translations, though this is only a dependency for the maintainers. This
2087 database is translated at Transifex.")
2088 (license license:gpl2+)))
2090 (define-public system-config-printer
2092 (name "system-config-printer")
2098 "https://github.com/OpenPrinting/system-config-printer/releases/"
2100 "/system-config-printer-" version ".tar.xz"))
2102 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
2103 (build-system glib-or-gtk-build-system)
2105 `(#:imported-modules ((guix build python-build-system)
2106 ,@%glib-or-gtk-build-system-modules)
2108 (modify-phases %standard-phases
2109 (add-after 'unpack 'patch-Makefile.am
2111 ;; The Makefile generates some scripts, so set a valid shebang
2112 (substitute* "Makefile.am"
2113 (("/bin/bash") (which "bash")))
2114 (delete-file "configure")
2116 (add-after 'unpack 'patch-docbook-xml
2117 (lambda* (#:key inputs #:allow-other-keys)
2118 ;; Modify the man XML otherwise xmlto tries to access the network
2119 (substitute* "man/system-config-printer.xml"
2120 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2121 (string-append (assoc-ref inputs "docbook-xml")
2122 "/xml/dtd/docbook/")))
2124 (add-after 'install 'wrap-for-python
2125 (@@ (guix build python-build-system) wrap))
2126 (add-after 'install 'wrap
2127 (lambda* (#:key outputs #:allow-other-keys)
2128 (let ((out (assoc-ref outputs "out"))
2129 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2132 (wrap-program program
2133 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2135 (string-append out "/bin/" name))
2136 '("system-config-printer"
2137 "system-config-printer-applet"
2138 "install-printerdriver"
2139 "scp-dbus-service"))))
2142 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2143 ("gobject-introspection" ,gobject-introspection)
2147 ("python-dbus" ,python-dbus)
2148 ("python-pygobject" ,python-pygobject)
2149 ("python-pycups" ,python-pycups)
2150 ("python-requests" ,python-requests)
2151 ("python-pycairo" ,python-pycairo)
2152 ("libnotify" ,libnotify)
2153 ("packagekit" ,packagekit)))
2155 `(("pkg-config" ,pkg-config)
2156 ("desktop-file-utils" ,desktop-file-utils)
2158 ("autoconf" ,autoconf)
2159 ("automake" ,automake)
2160 ("intltool" ,intltool)
2162 ("docbook-xml" ,docbook-xml-4.1.2)
2163 ("docbook-xsl" ,docbook-xsl)
2164 ("libxml2" ,libxml2)))
2165 (home-page "https://github.com/zdohnal/system-config-printer")
2166 (synopsis "CUPS administration tool")
2168 "system-config-printer is a CUPS administration tool. It's written in
2169 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2171 (license license:gpl2+)))
2173 (define-public hicolor-icon-theme
2175 (name "hicolor-icon-theme")
2180 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2181 "hicolor-icon-theme-" version ".tar.xz"))
2184 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2185 (build-system gnu-build-system)
2187 `(#:tests? #f)) ; no check target
2188 (home-page "https://icon-theme.freedesktop.org/releases/")
2190 "Freedesktop icon theme")
2192 "Freedesktop icon theme.")
2193 (license license:gpl2)))
2195 (define-public libnotify
2202 (uri (string-append "mirror://gnome/sources/" name "/"
2203 (version-major+minor version) "/"
2204 name "-" version ".tar.xz"))
2207 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2208 (build-system gnu-build-system)
2210 `(#:configure-flags '("--disable-static")))
2212 `(;; In Requires of libnotify.pc.
2213 ("gdk-pixbuf" ,gdk-pixbuf)
2217 ("libpng" ,libpng)))
2219 `(("pkg-config" ,pkg-config)
2220 ("glib" ,glib "bin")
2221 ("gobject-introspection" ,gobject-introspection)))
2222 (home-page "https://developer-next.gnome.org/libnotify/")
2224 "GNOME desktop notification library")
2226 "Libnotify is a library that sends desktop notifications to a
2227 notification daemon, as defined in the Desktop Notifications spec. These
2228 notifications can be used to inform the user about an event or display
2229 some form of information without getting in the user's way.")
2230 (license license:lgpl2.1+)))
2232 (define-public libpeas
2239 (uri (string-append "mirror://gnome/sources/" name "/"
2240 (version-major+minor version) "/"
2241 name "-" version ".tar.xz"))
2244 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2245 (build-system meson-build-system)
2248 (modify-phases %standard-phases
2249 (add-before 'check 'start-xserver
2250 (lambda* (#:key inputs #:allow-other-keys)
2251 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2253 (setenv "DISPLAY" disp)
2254 ;; Tests require a running X server.
2255 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2261 ("python-pygobject" ,python-pygobject)))
2263 `(("pkg-config" ,pkg-config)
2264 ("gettext" ,gettext-minimal)
2265 ("glib:bin" ,glib "bin")
2266 ("gobject-introspection" ,gobject-introspection)
2267 ("xorg-server" ,xorg-server-for-tests)))
2269 ;; The .pc file "Requires" gobject-introspection.
2270 `(("gobject-introspection" ,gobject-introspection)))
2271 (home-page "https://wiki.gnome.org/Libpeas")
2272 (synopsis "GObject plugin system")
2274 "Libpeas is a gobject-based plugin engine, targeted at giving every
2275 application the chance to assume its own extensibility. It also has a set of
2276 features including, but not limited to: multiple extension points; on-demand
2277 (lazy) programming language support for C, Python and JS; simplicity of the
2279 (license license:lgpl2.0+)))
2281 (define-public gtkglext
2287 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2288 version "/gtkglext-" version ".tar.gz"))
2290 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2291 (patches (search-patches
2292 "gtkglext-disable-disable-deprecated.patch"))))
2293 (build-system gnu-build-system)
2296 (modify-phases %standard-phases
2297 ;; Fix a collision between a local variable and a definition from
2298 ;; glibc's string.h.
2299 (add-after 'unpack 'fix-collision
2301 (substitute* "gdk/gdkglshapes.c"
2302 ((" index") " triangle_index"))
2304 (inputs `(("gtk+" ,gtk+-2)
2309 (native-inputs `(("pkg-config" ,pkg-config)
2310 ("glib" ,glib "bin")))
2311 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2312 (home-page "https://projects.gnome.org/gtkglext")
2313 (synopsis "OpenGL extension to GTK+")
2314 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2315 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2316 API add-ons to make GTK+ widgets OpenGL-capable.")
2317 (license license:lgpl2.1+)))
2319 (define-public glade3
2325 (uri (string-append "mirror://gnome/sources/" name "/"
2326 (version-major+minor version) "/"
2327 name "-" version ".tar.xz"))
2330 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
2331 (build-system glib-or-gtk-build-system)
2334 (modify-phases %standard-phases
2335 (add-before 'configure 'fix-docbook
2336 (lambda* (#:key inputs #:allow-other-keys)
2337 (substitute* "man/Makefile.in"
2338 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2339 (string-append (assoc-ref inputs "docbook-xsl")
2340 "/xml/xsl/docbook-xsl-"
2341 ,(package-version docbook-xsl)
2342 "/manpages/docbook.xsl")))
2344 (add-before 'check 'pre-check
2346 (setenv "HOME" "/tmp")
2347 ;; Tests require a running X server.
2348 (system "Xvfb :1 &")
2349 (setenv "DISPLAY" ":1")
2353 ("libxml2" ,libxml2)))
2355 `(("hicolor-icon-theme" ,hicolor-icon-theme)
2356 ("intltool" ,intltool)
2357 ("itstool" ,itstool)
2358 ("libxslt" ,libxslt) ;for xsltproc
2359 ("docbook-xml" ,docbook-xml-4.2)
2360 ("docbook-xsl" ,docbook-xsl)
2361 ("python" ,python-2)
2362 ("pkg-config" ,pkg-config)
2363 ("xorg-server" ,xorg-server-for-tests)))
2364 (home-page "https://glade.gnome.org")
2365 (synopsis "GTK+ rapid application development tool")
2366 (description "Glade is a rapid application development (RAD) tool to
2367 enable quick & easy development of user interfaces for the GTK+ toolkit and
2368 the GNOME desktop environment.")
2369 (license license:lgpl2.0+)))
2371 (define-public libcroco
2377 (uri (string-append "mirror://gnome/sources/" name "/"
2378 (version-major+minor version) "/"
2379 name "-" version ".tar.xz"))
2382 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2383 (build-system gnu-build-system)
2385 `(("pkg-config" ,pkg-config)))
2388 ("libxml2" ,libxml2)
2390 (home-page "https://github.com/GNOME/libcroco")
2391 (synopsis "CSS2 parsing and manipulation library")
2393 "Libcroco is a standalone CSS2 parsing and manipulation library.
2394 The parser provides a low level event driven SAC-like API and a CSS object
2395 model like API. Libcroco provides a CSS2 selection engine and an experimental
2396 XML/CSS rendering engine.")
2399 (license license:lgpl2.1)))
2401 (define-public libgsf
2407 (uri (string-append "mirror://gnome/sources/" name "/"
2408 (version-major+minor version) "/"
2409 name "-" version ".tar.xz"))
2412 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2413 (build-system gnu-build-system)
2415 '(#:configure-flags '("--disable-static")))
2417 `(("pkg-config" ,pkg-config)
2418 ("gettext" ,gettext-minimal)
2422 ("perl-xml-parser" ,perl-xml-parser)))
2427 `(("gdk-pixbuf" ,gdk-pixbuf)
2429 ("libxml2" ,libxml2)))
2430 (home-page "https://www.gnome.org/projects/libgsf")
2431 (synopsis "GNOME's Structured File Library")
2433 "Libgsf aims to provide an efficient extensible I/O abstraction for
2434 dealing with different structured file formats.")
2437 (license license:lgpl2.1)))
2439 (define-public librsvg
2445 (uri (string-append "mirror://gnome/sources/" name "/"
2446 (version-major+minor version) "/"
2447 name "-" version ".tar.xz"))
2450 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2451 (build-system gnu-build-system)
2454 (list "--disable-static"
2455 "--enable-vala") ; needed for e.g. gnome-mines
2457 (modify-phases %standard-phases
2458 (add-before 'configure 'pre-configure
2459 (lambda* (#:key inputs #:allow-other-keys)
2460 (substitute* "gdk-pixbuf-loader/Makefile.in"
2461 ;; By default the gdk-pixbuf loader is installed under
2462 ;; gdk-pixbuf's prefix. Work around that.
2463 (("gdk_pixbuf_moduledir = .*$")
2464 (string-append "gdk_pixbuf_moduledir = "
2465 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2467 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2468 (("gdk_pixbuf_cache_file = .*$")
2469 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2471 (add-before 'check 'remove-failing-tests
2473 (with-directory-excursion "tests/fixtures/reftests"
2474 (for-each delete-file
2475 '(;; This test fails on i686:
2476 "svg1.1/masking-path-04-b.svg"
2477 ;; This test fails on armhf:
2478 "svg1.1/masking-mask-01-b.svg"
2479 ;; This test fails on aarch64:
2480 "bugs/777834-empty-text-children.svg")))
2483 `(("pkg-config" ,pkg-config)
2485 ("glib" ,glib "bin") ; glib-mkenums, etc.
2486 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2488 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2489 ;; this ancient version of librsvg.
2490 ("pango" ,pango-1.42)
2491 ("libcroco" ,libcroco)
2494 ("libxml2" ,libxml2)))
2496 ;; librsvg-2.0.pc refers to all of that.
2498 ("gdk-pixbuf" ,gdk-pixbuf)
2500 (home-page "https://wiki.gnome.org/LibRsvg")
2501 (synopsis "Render SVG files using Cairo")
2503 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2505 (license license:lgpl2.0+)))
2507 (define-public librsvg-next
2514 (uri (string-append "mirror://gnome/sources/librsvg/"
2515 (version-major+minor version) "/"
2516 "librsvg-" version ".tar.xz"))
2519 "14i6xzghcidv64cyd3g0wdjbl82rph737yxn9s3x29nzpcjs707l"))
2520 (modules '((guix build utils)))
2522 '(begin (delete-file-recursively "vendor")
2524 (build-system cargo-build-system)
2526 `(#:modules ((guix build cargo-build-system)
2528 ((guix build gnu-build-system) #:prefix gnu:))
2529 #:vendor-dir "vendor"
2531 (("rust-bitflags" ,rust-bitflags-1)
2532 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
2533 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2534 ("rust-cast" ,rust-cast-0.2)
2535 ("rust-cssparser" ,rust-cssparser-0.27)
2536 ("rust-data-url" ,rust-data-url-0.1)
2537 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2538 ("rust-encoding" ,rust-encoding-0.2)
2539 ("rust-float-cmp" ,rust-float-cmp-0.6)
2540 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
2541 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2542 ("rust-gio" ,rust-gio-0.8)
2543 ("rust-gio-sys" ,rust-gio-sys-0.9)
2544 ("rust-glib" ,rust-glib-0.9)
2545 ("rust-glib-sys" ,rust-glib-sys-0.9)
2546 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2547 ("rust-itertools" ,rust-itertools-0.8)
2548 ("rust-language-tags" ,rust-language-tags-0.2)
2549 ("rust-libc" ,rust-libc-0.2)
2550 ("rust-locale-config" ,rust-locale-config-0.3)
2551 ("rust-markup5ever" ,rust-markup5ever-0.10)
2552 ("rust-nalgebra" ,rust-nalgebra-0.19)
2553 ("rust-num-traits" ,rust-num-traits-0.2)
2554 ("rust-once-cell" ,rust-once-cell-1.2)
2555 ("rust-pkg-config" ,rust-pkg-config-0.3)
2556 ("rust-pango" ,rust-pango-0.8)
2557 ("rust-pango-sys" ,rust-pango-sys-0.9)
2558 ("rust-pangocairo" ,rust-pangocairo-0.9)
2559 ("rust-rayon" ,rust-rayon-1)
2560 ("rust-rctree" ,rust-rctree-0.3)
2561 ("rust-rgb" ,rust-rgb-0.8)
2562 ("rust-regex" ,rust-regex-1)
2563 ("rust-selectors" ,rust-selectors-0.22)
2564 ("rust-url" ,rust-url-2.1)
2565 ("rust-xml5ever" ,rust-xml5ever-0.16))
2566 #:cargo-development-inputs
2567 (("rust-cairo-rs" ,rust-cairo-rs-0.8)
2568 ("rust-criterion" ,rust-criterion-0.3))
2570 (modify-phases %standard-phases
2571 (add-after 'unpack 'prepare-for-build
2573 ;; In lieu of #:make-flags
2574 (setenv "CC" ,(cc-for-target))
2575 ;; Something about the build environment resists building
2576 ;; successfully with the '--locked' flag.
2577 (substitute* '("Makefile.am"
2581 (add-before 'configure 'pre-configure
2583 (substitute* "gdk-pixbuf-loader/Makefile.in"
2584 ;; By default the gdk-pixbuf loader is installed under
2585 ;; gdk-pixbuf's prefix. Work around that.
2586 (("gdk_pixbuf_moduledir = .*$")
2587 (string-append "gdk_pixbuf_moduledir = "
2588 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2590 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2591 (("gdk_pixbuf_cache_file = .*$")
2592 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2594 (add-after 'configure 'gnu-configure
2595 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
2596 ((assoc-ref gnu:%standard-phases 'configure)
2597 #:native-inputs native-inputs
2600 #:configure-flags (list "--disable-static"
2602 (add-after 'configure 'dont-vendor-self
2603 (lambda* (#:key vendor-dir #:allow-other-keys)
2604 ;; Don't keep the whole tarball in the vendor directory
2605 (delete-file-recursively
2606 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2609 (assoc-ref gnu:%standard-phases 'build))
2612 ((assoc-ref gnu:%standard-phases 'check)
2613 #:test-target "check")))
2615 (assoc-ref gnu:%standard-phases 'install)))))
2618 ,@(alist-delete "pango" (package-inputs librsvg))))
2619 (license license:lgpl2.1+)))
2621 (define-public libidl
2627 (uri (string-append "mirror://gnome/sources/libIDL/"
2628 (version-major+minor version) "/"
2629 "libIDL-" version ".tar.bz2"))
2632 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2633 (build-system gnu-build-system)
2634 (inputs `(("glib" ,glib)))
2636 `(("pkg-config" ,pkg-config)
2639 (home-page "http://freecode.com/projects/libidl")
2640 (synopsis "Create trees of CORBA Interface Definition Language files")
2641 (description "Libidl is a library for creating trees of CORBA Interface
2642 Definition Language (idl) files, which is a specification for defining
2643 portable interfaces. libidl was initially written for orbit (the orb from the
2644 GNOME project, and the primary means of libidl distribution). However, the
2645 functionality was designed to be as reusable and portable as possible.")
2646 (properties `((upstream-name . "libIDL")))
2647 (license license:lgpl2.0+)))
2650 (define-public orbit2
2656 (uri (let ((upstream-name "ORBit2"))
2657 (string-append "mirror://gnome/sources/" upstream-name "/"
2658 (version-major+minor version) "/"
2659 upstream-name "-" version ".tar.bz2")))
2662 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2663 (build-system gnu-build-system)
2665 `(;; The "timeout-server" test hangs when run in parallel.
2666 #:parallel-tests? #f
2668 '(;; We don't need static libraries, plus they don't build reproducibly
2669 ;; (non-deterministic ordering of .o files in the archive.)
2672 ;; The programmer kindly gives us a hook to turn off deprecation
2674 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2675 ;; ... which they then completly ignore !!
2677 (modify-phases %standard-phases
2678 (add-before 'configure 'ignore-deprecations
2680 (substitute* "linc2/src/Makefile.in"
2681 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2683 (inputs `(("glib" ,glib)
2684 ("libidl" ,libidl)))
2686 `(("pkg-config" ,pkg-config)))
2687 (home-page "https://projects.gnome.org/orbit2/")
2688 (synopsis "CORBA 2.4-compliant Object Request Broker")
2689 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2690 featuring mature C, C++ and Python bindings.")
2691 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2692 ;; a version. SOME of the code files have licence notices for GPLv2+.
2693 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2694 (license license:gpl2+)
2695 (properties `((upstream-name . "ORBit2")))))
2698 (define-public libbonobo
2704 (uri (string-append "mirror://gnome/sources/" name "/"
2705 (version-major+minor version)
2706 "/" name "-" version ".tar.bz2"))
2708 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2709 (patches (search-patches
2710 "libbonobo-activation-test-race.patch"))))
2711 (build-system gnu-build-system)
2713 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2715 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2716 ;; ... which they then completly ignore !!
2718 (modify-phases %standard-phases
2719 (add-before 'configure 'ignore-deprecations
2721 (substitute* "activation-server/Makefile.in"
2722 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2725 ;; There's apparently a race condition between the server stub
2726 ;; generation and linking of the example under 'samples/echo' that can
2727 ;; lead do undefined references when building in parallel, as reported
2728 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2729 ;; Thus, disable parallel builds.
2730 #:parallel-build? #f))
2731 (inputs `(("popt" ,popt)
2732 ("libxml2" ,libxml2)))
2733 ;; The following are Required by the .pc file
2736 ("orbit2" ,orbit2)))
2738 `(("intltool" ,intltool)
2739 ("pkg-config" ,pkg-config)
2740 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2743 (home-page "https://developer.gnome.org/libbonobo/")
2744 (synopsis "Framework for creating reusable components for use in GNOME applications")
2745 (description "Bonobo is a framework for creating reusable components for
2746 use in GNOME applications, built on top of CORBA.")
2747 ;; Licence not explicitly stated. Source files contain no licence notices.
2748 ;; Tarball contains text of both GPLv2 and LGPLv2
2749 ;; GPLv2 covers both conditions
2750 (license license:gpl2+)))
2753 (define-public gconf
2760 (let ((upstream-name "GConf"))
2761 (string-append "mirror://gnome/sources/" upstream-name "/"
2762 (version-major+minor version) "/"
2763 upstream-name "-" version ".tar.xz")))
2765 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2766 (build-system gnu-build-system)
2767 (inputs `(("dbus-glib" ,dbus-glib)
2768 ("libxml2" ,libxml2)))
2769 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2770 ("orbit2" ,orbit2)))
2772 `(("intltool" ,intltool)
2773 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2774 ("pkg-config" ,pkg-config)))
2775 (home-page "https://projects.gnome.org/gconf/")
2776 (synopsis "Store application preferences")
2777 (description "Gconf is a system for storing application preferences. It
2778 is intended for user preferences; not arbitrary data storage.")
2779 (license license:lgpl2.0+)
2780 (properties '((upstream-name . "GConf")))))
2783 (define-public gnome-mime-data
2785 (name "gnome-mime-data")
2789 (uri (string-append "mirror://gnome/sources/" name "/"
2790 (version-major+minor version) "/"
2791 name "-" version ".tar.bz2"))
2794 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2795 (build-system gnu-build-system)
2798 ("intltool" ,intltool)))
2800 '(#:phases (modify-phases %standard-phases
2801 (add-after 'configure 'use-our-intltool
2803 ;; Do not use the bundled intltool commands, which lack
2804 ;; the "dotless @INC" fixes of our 'intltool' package.
2805 (substitute* (find-files "." "^Makefile$")
2806 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2807 (string-append "INTLTOOL_" tool " = intltool-"
2808 (string-downcase tool) "\n")))
2810 (home-page "https://www.gnome.org")
2811 (synopsis "Base MIME and Application database for GNOME")
2812 (description "GNOME Mime Data is a module which contains the base MIME
2813 and Application database for GNOME. The data stored by this module is
2814 designed to be accessed through the MIME functions in GnomeVFS.")
2815 (license license:gpl2+)))
2818 (define-public gnome-vfs
2824 (uri (string-append "mirror://gnome/sources/" name "/"
2825 (version-major+minor version) "/"
2826 name "-" version ".tar.bz2"))
2829 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2830 (build-system gnu-build-system)
2833 (modify-phases %standard-phases
2834 (add-before 'configure 'ignore-deprecations
2836 (substitute* '("libgnomevfs/Makefile.in"
2837 "daemon/Makefile.in")
2838 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2840 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2842 (substitute* "test/test-async-cancel.c"
2843 (("EXIT_FAILURE") "77"))
2845 (inputs `(("libxml2" ,libxml2)
2846 ("dbus-glib" ,dbus-glib)
2848 ("gnome-mime-data" ,gnome-mime-data)
2851 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2852 ("intltool" ,intltool)
2853 ("pkg-config" ,pkg-config)))
2854 (home-page "https://developer.gnome.org/gnome-vfs/")
2855 (synopsis "Access files and folders in GNOME applications")
2857 "GnomeVFS is the core library used to access files and folders in GNOME
2858 applications. It provides a file system abstraction which allows applications
2859 to access local and remote files with a single consistent API.")
2860 (license license:lgpl2.0+)))
2864 (define-public libgnome
2870 (uri (string-append "mirror://gnome/sources/" name "/"
2871 (version-major+minor version) "/"
2872 name "-" version ".tar.bz2"))
2875 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2876 (patches (search-patches "libgnome-encoding.patch"))))
2877 (build-system gnu-build-system)
2880 (modify-phases %standard-phases
2881 (add-before 'configure 'enable-deprecated
2883 (substitute* "libgnome/Makefile.in"
2884 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2886 (inputs `(("libxml2" ,libxml2)))
2888 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2889 ("intltool" ,intltool)
2890 ("pkg-config" ,pkg-config)))
2891 ;; The following are listed as Required in the .pc file
2892 ;; (except for libcanberra -- which seems to be oversight on the part
2893 ;; of the upstream developers -- anything that links against libgnome,
2894 ;; must also link against libcanberra
2896 `(("libcanberra" ,libcanberra)
2897 ("libbonobo" ,libbonobo)
2899 ("gnome-vfs" ,gnome-vfs)
2900 ("popt" ,popt))) ;gnome-program.h includes popt.h
2901 (home-page "https://developer.gnome.org/libgnome/")
2902 (synopsis "Useful routines for building applications")
2903 (description "The libgnome library provides a number of useful routines
2904 for building modern applications, including session management, activation of
2905 files and URIs, and displaying help.")
2906 (license license:lgpl2.0+)))
2909 (define-public libart-lgpl
2911 (name "libart-lgpl")
2915 (uri (let ((upstream-name "libart_lgpl"))
2916 (string-append "mirror://gnome/sources/" upstream-name "/"
2917 (version-major+minor version) "/"
2918 upstream-name "-" version ".tar.bz2")))
2921 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2922 (build-system gnu-build-system)
2924 `(("pkg-config" ,pkg-config)))
2925 (home-page "https://people.gnome.org/~mathieu/libart")
2926 (synopsis "2D drawing library")
2927 (description "Libart is a 2D drawing library intended as a
2928 high-quality vector-based 2D library with antialiasing and alpha composition.")
2929 (license license:lgpl2.0+)))
2933 (define-public libgnomecanvas
2935 (name "libgnomecanvas")
2939 (uri (string-append "mirror://gnome/sources/" name "/"
2940 (version-major+minor version) "/"
2941 name "-" version ".tar.gz"))
2944 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2945 (build-system gnu-build-system)
2946 ;; Mentioned as Required in the .pc file
2947 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2950 `(("intltool" ,intltool)
2951 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2952 ("pkg-config" ,pkg-config)))
2953 (home-page "https://developer.gnome.org/libgnomecanvas/")
2954 (synopsis "Flexible widget for creating interactive structured graphics")
2955 (description "The GnomeCanvas widget provides a flexible widget for
2956 creating interactive structured graphics.")
2957 (license license:lgpl2.0+)))
2959 (define-public libgnomecanvasmm
2961 (name "libgnomecanvasmm")
2965 (uri (string-append "mirror://gnome/sources/" name "/"
2966 (version-major+minor version) "/"
2967 name "-" version ".tar.bz2"))
2970 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2971 (build-system gnu-build-system)
2972 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2974 `(("gtkmm-2" ,gtkmm-2)
2975 ("pkg-config" ,pkg-config)))
2976 (home-page "https://gtkmm.org")
2977 (synopsis "C++ bindings to the GNOME Canvas library")
2978 (description "C++ bindings to the GNOME Canvas library.")
2979 (license license:lgpl2.0+)))
2981 (define-public libgnomeui
2987 (uri (string-append "mirror://gnome/sources/" name "/"
2988 (version-major+minor version) "/"
2989 name "-" version ".tar.bz2"))
2990 (patches (search-patches "libgnomeui-utf8.patch"))
2993 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2994 (build-system gnu-build-system)
2995 ;; Mentioned as Required in the .pc file
2996 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2997 ("libgnome" ,libgnome)
2998 ("libgnomecanvas" ,libgnomecanvas)
2999 ("libgnome-keyring" ,libgnome-keyring)))
3000 (inputs `(("libjpeg" ,libjpeg-turbo)
3002 ("libbonobo" ,libbonobo)
3003 ("libxml2" ,libxml2)
3004 ("libglade" ,libglade)))
3006 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3007 ("intltool" ,intltool)
3008 ("pkg-config" ,pkg-config)))
3009 (home-page "https://developer.gnome.org/libgnomeui/")
3010 (synopsis "Additional widgets for applications")
3011 (description "The libgnomeui library provides additional widgets for
3012 applications. Many of the widgets from libgnomeui have already been
3014 (license license:lgpl2.0+)))
3016 (define-public libglade
3022 (uri (string-append "mirror://gnome/sources/" name "/"
3023 (version-major+minor version) "/"
3024 name "-" version ".tar.bz2"))
3027 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3028 (build-system gnu-build-system)
3030 `(("python" ,python))) ;; needed for the optional libglade-convert program
3032 `(("gtk+-2" ,gtk+-2)
3033 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3035 `(("pkg-config" ,pkg-config)))
3036 (home-page "https://developer.gnome.org/libglade")
3037 (synopsis "Load glade interfaces and access the glade built widgets")
3038 (description "Libglade is a library that provides interfaces for loading
3039 graphical interfaces described in glade files and for accessing the
3040 widgets built in the loading process.")
3041 (license license:gpl2+))) ; This is correct. GPL not LGPL
3043 (define-public libgnomeprint
3044 ;; This library has been deprecated since 2006; see
3045 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3047 (name "libgnomeprint")
3051 (uri (string-append "mirror://gnome/sources/" name "/"
3052 (version-major+minor version) "/"
3053 name "-" version ".tar.bz2"))
3056 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3057 (build-system gnu-build-system)
3060 ("libart-lgpl" ,libart-lgpl)
3062 ("libxml2" ,libxml2)))
3064 `(("intltool" ,intltool)
3065 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3066 ("pkg-config" ,pkg-config)))
3067 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3068 (synopsis "Printing framework for GNOME")
3070 "GNOME-print was a printing framework for GNOME. It has been deprecated
3071 since ca. 2006, when GTK+ itself incorporated printing support.")
3072 (license license:lgpl2.0+)))
3075 (define-public libgnomeprintui
3076 ;; Deprecated; see libgnomeprint.
3078 (name "libgnomeprintui")
3082 (uri (string-append "mirror://gnome/sources/" name "/"
3083 (version-major+minor version) "/"
3084 name "-" version ".tar.bz2"))
3087 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
3088 (build-system gnu-build-system)
3089 ;; Mentioned as Required in the .pc file
3090 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
3091 (inputs `(("gtk+" ,gtk+-2)
3093 ("gnome-icon-theme" ,gnome-icon-theme)
3094 ("libgnomecanvas" ,libgnomecanvas)
3095 ("libxml2" ,libxml2)))
3097 `(("intltool" ,intltool)
3098 ("pkg-config" ,pkg-config)))
3099 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3100 (synopsis "Printing framework for GNOME")
3101 (description (package-description libgnomeprint))
3102 (license license:lgpl2.0+)))
3104 (define-public libbonoboui
3106 (name "libbonoboui")
3110 (uri (string-append "mirror://gnome/sources/" name "/"
3111 (version-major+minor version) "/"
3112 name "-" version ".tar.bz2"))
3115 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3116 (build-system gnu-build-system)
3119 (modify-phases %standard-phases
3120 (add-before 'check 'start-xserver
3121 (lambda* (#:key inputs #:allow-other-keys)
3122 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3125 (setenv "HOME" (getcwd))
3126 (setenv "DISPLAY" disp)
3127 ;; There must be a running X server and make check doesn't start one.
3128 ;; Therefore we must do it.
3129 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3130 ;; Mentioned as Required by the .pc file
3131 (propagated-inputs `(("libxml2" ,libxml2)))
3134 ("pangox-compat" ,pangox-compat)
3135 ("libgnome" ,libgnome)
3136 ("libgnomecanvas" ,libgnomecanvas)
3137 ("libglade" ,libglade)))
3139 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3140 ("intltool" ,intltool)
3141 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3142 ("pkg-config" ,pkg-config)))
3143 (home-page "https://developer.gnome.org/libbonoboui/")
3144 (synopsis "Some user interface controls using Bonobo")
3145 (description "The Bonobo UI library provides a number of user interface
3146 controls using the Bonobo component framework.")
3147 (license license:lgpl2.0+)))
3149 (define-public libwnck
3155 (uri (string-append "mirror://gnome/sources/" name "/"
3156 (version-major+minor version) "/"
3157 name "-" version ".tar.xz"))
3160 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3161 (build-system meson-build-system)
3163 `(("pkg-config" ,pkg-config)
3164 ("glib" ,glib "bin") ; for glib-mkenums
3165 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
3166 ("intltool" ,intltool)))
3169 ("libxres" ,libxres)
3170 ("startup-notification" ,startup-notification)))
3171 (home-page "https://developer.gnome.org/libwnck/")
3172 (synopsis "Window Navigator Construction Kit")
3174 "Libwnck is the Window Navigator Construction Kit, a library for use in
3175 writing pagers, tasklists, and more generally applications that are dealing
3176 with window management. It tries hard to respect the Extended Window Manager
3177 Hints specification (EWMH).")
3178 (license license:lgpl2.0+)))
3180 ;; stable version for gtk2, required by xfwm4.
3181 (define-public libwnck-2
3182 (package (inherit libwnck)
3187 (uri (string-append "mirror://gnome/sources/" name "/"
3188 (version-major+minor version) "/"
3189 name "-" version ".tar.xz"))
3192 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
3193 (build-system gnu-build-system)
3195 `(("pkg-config" ,pkg-config)
3196 ("intltool" ,intltool)))
3199 ("libxres" ,libxres)
3200 ("startup-notification" ,startup-notification)))))
3202 (define-public goffice
3208 (uri (string-append "mirror://gnome/sources/goffice/"
3209 (version-major+minor version) "/"
3210 "goffice-" version ".tar.xz"))
3212 (base32 "0xmigfdzvmlpa0fw79mf3xwchmxc8rlidryn5syv8bz7msmrb215"))))
3213 (build-system gnu-build-system)
3215 "doc")) ; 4.0 MiB of gtk-doc
3217 '(#:configure-flags (list (string-append "--with-html-dir="
3218 (assoc-ref %outputs "doc")
3219 "/share/gtk-doc/html"))))
3223 ("librsvg" ,librsvg)
3224 ("libxslt" ,libxslt)
3225 ("libxml2" ,libxml2)))
3227 `(("intltool" ,intltool)
3228 ("glib" ,glib "bin")
3229 ("pkg-config" ,pkg-config)))
3230 (home-page "https://developer.gnome.org/goffice/")
3231 (synopsis "Document-centric objects and utilities")
3232 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3234 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3236 (list license:gpl2 license:gpl3))))
3238 (define-public goffice-0.8
3239 (package (inherit goffice)
3243 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3244 (version-major+minor version) "/"
3245 (package-name goffice) "-" version ".tar.xz"))
3247 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3250 (modify-phases %standard-phases
3251 (add-after 'unpack 'fix-pcre-check
3253 ;; Only glib.h can be included directly. See
3254 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3255 (substitute* "configure"
3256 (("glib/gregex\\.h") "glib.h")) #t)))
3258 ,@(package-arguments goffice)))
3260 ;; libgoffice-0.8.pc mentions libgsf-1
3261 `(("libgsf" ,libgsf)))
3264 ,@(alist-delete "gtk" (package-inputs goffice))))))
3266 (define-public gnumeric
3272 (uri (string-append "mirror://gnome/sources/gnumeric/"
3273 (version-major+minor version) "/"
3274 "gnumeric-" version ".tar.xz"))
3277 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3278 (build-system glib-or-gtk-build-system)
3280 `(;; The gnumeric developers don't worry much about failing tests.
3281 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3284 (modify-phases %standard-phases
3286 'configure 'pre-conf
3287 (lambda* (#:key outputs #:allow-other-keys)
3288 ;; Make install tries to write into the directory of goffice
3289 ;; I am informed that this only affects the possibility to embed a
3290 ;; spreadsheet inside an Abiword document. So presumably when we
3291 ;; package Abiword we'll have to refer it to this directory.
3292 (substitute* "configure"
3293 (("^GOFFICE_PLUGINS_DIR=.*")
3294 (string-append "GOFFICE_PLUGINS_DIR="
3295 (assoc-ref outputs "out")
3296 "/goffice/plugins"))))))))
3300 ("goffice" ,goffice)
3302 ("librsvg" ,librsvg)
3303 ("libxml2" ,libxml2)
3304 ("libxslt" ,libxslt)
3305 ("python" ,python-2)
3306 ("python2-pygobject" ,python2-pygobject)
3310 ("docbook-xml" ,docbook-xml)
3311 ("intltool" ,intltool)
3312 ("itstool" ,itstool)
3313 ("glib:bin" ,glib "bin")
3314 ("pkg-config" ,pkg-config)))
3315 (home-page "http://www.gnumeric.org")
3316 (synopsis "Spreadsheet application")
3318 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3319 interoperable with other spreadsheet applications. It has a vast array of
3320 features beyond typical spreadsheet functionality, such as support for linear
3321 and non-linear solvers, statistical analysis, and telecommunication
3324 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3325 (list license:gpl2 license:gpl3))))
3327 (define-public gnome-themes-standard
3329 (name "gnome-themes-standard")
3334 (uri (string-append "mirror://gnome/sources/" name "/"
3335 (version-major+minor version) "/" name "-"
3339 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3340 (build-system gnu-build-system)
3343 ;; Don't create 'icon-theme.cache'.
3344 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3345 (true (string-append coreutils "/bin/true")))
3346 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3350 ("librsvg" ,librsvg)
3351 ("libxml2" ,libxml2)
3354 `(("intltool" ,intltool)
3355 ("glib:bin" ,glib "bin")
3356 ("pkg-config" ,pkg-config)))
3357 (home-page "https://launchpad.net/gnome-themes-standard")
3358 (synopsis "Default GNOME 3 themes")
3360 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3361 (license license:lgpl2.1+)))
3363 (define-public seahorse
3370 (uri (string-append "mirror://gnome/sources/" name "/"
3371 (version-major+minor version) "/" name "-"
3375 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3376 (build-system meson-build-system)
3380 (modify-phases %standard-phases
3381 (add-after 'unpack 'skip-gtk-update-icon-cache
3382 ;; Don't create 'icon-theme.cache'.
3384 (substitute* "build-aux/meson_post_install.py"
3385 (("gtk-update-icon-cache") "true"))
3392 ("openldap" ,openldap)
3393 ("openssh" ,openssh)
3395 ("libpwquality" ,libpwquality)
3396 ("libsecret" ,libsecret)
3397 ("libsoup" ,libsoup)))
3399 `(("gettext" ,gettext-minimal)
3400 ("glib:bin" ,glib "bin")
3401 ("itstool" ,itstool)
3402 ("pkg-config" ,pkg-config)
3404 ("xmllint" ,libxml2)))
3405 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3406 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3408 "Seahorse is a GNOME application for managing encryption keys and
3409 passwords in the GNOME keyring.")
3410 (license license:gpl2+)))
3418 (uri (string-append "mirror://gnome/sources/" name "/"
3419 (version-major+minor version) "/"
3420 name "-" version ".tar.xz"))
3423 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3424 (build-system gnu-build-system)
3427 (modify-phases %standard-phases
3428 (add-before 'check 'pre-check
3431 (substitute* "valadoc/tests/testrunner.sh"
3432 (("export PKG_CONFIG_PATH=" m)
3433 (string-append m "$PKG_CONFIG_PATH:")))
3434 ;; For missing '/etc/machine-id'.
3435 (setenv "DBUS_FATAL_WARNINGS" "0")
3438 `(("pkg-config" ,pkg-config)
3441 ("xsltproc" ,libxslt)
3442 ("dbus" ,dbus) ; for dbus tests
3443 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3445 `(("graphviz" ,graphviz)))
3447 `(("glib" ,glib))) ; required by libvala-0.40.pc
3448 (home-page "https://live.gnome.org/Vala/")
3449 (synopsis "Compiler for the GObject type system")
3451 "Vala is a programming language that aims to bring modern programming
3452 language features to GNOME developers without imposing any additional runtime
3453 requirements and without using a different ABI compared to applications and
3454 libraries written in C.")
3455 (license license:lgpl2.1+)))
3457 (define-public vala-0.48
3463 (uri (string-append "mirror://gnome/sources/vala/"
3464 (version-major+minor version) "/"
3465 "vala-" version ".tar.xz"))
3468 "0lswkb7gj0chas9n3l3dbrm9l71hs77adhvm2v600id2ipi37pi8"))))))
3476 (uri (string-append "mirror://gnome/sources/vte/"
3477 (version-major+minor version) "/"
3478 "vte-" version ".tar.xz"))
3481 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
3482 (build-system meson-build-system)
3486 "-D_systemd=false")))
3488 `(("pkg-config" ,pkg-config)
3489 ("gettext" ,gettext-minimal)
3491 ("gobject-introspection" ,gobject-introspection)
3492 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3494 ("xmllint" ,libxml2)))
3496 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3497 ("gnutls" ,gnutls) ; ditto
3498 ("pcre2" ,pcre2))) ; ditto
3499 (home-page "https://www.gnome.org/")
3500 (synopsis "Virtual Terminal Emulator")
3502 "VTE is a library (libvte) implementing a terminal emulator widget for
3503 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3504 gnome-terminal, but can also be used to embed a console/terminal in games,
3505 editors, IDEs, etc.")
3506 (license license:lgpl2.1+)))
3508 (define-public vte-ng
3512 (version "0.58.2.a")
3513 (home-page "https://github.com/thestinger/vte-ng")
3516 (uri (git-reference (url home-page) (commit version)))
3517 (file-name (git-file-name name version))
3520 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3521 (build-system meson-build-system)
3523 `(("gtk-doc" ,gtk-doc)
3524 ,@(package-native-inputs vte)))
3526 `(#:configure-flags '("-Ddocs=true")))
3527 (synopsis "Enhanced VTE terminal widget")
3529 "VTE is a library (libvte) implementing a terminal emulator widget for
3530 GTK+, this fork provides additional functions exposed for keyboard text
3531 selection and URL hints.")))
3533 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
3534 (define-public vte/gtk+-2
3535 (package (inherit vte)
3540 (uri (string-append "mirror://gnome/sources/" name "/"
3541 (version-major+minor version) "/"
3542 name "-" version ".tar.xz"))
3545 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3546 (patches (search-patches
3547 "vte-CVE-2012-2738-pt1.patch"
3548 "vte-CVE-2012-2738-pt2.patch"))))
3549 (build-system gnu-build-system)
3551 '(#:configure-flags '("--disable-python")))
3553 `(("pkg-config" ,pkg-config)
3554 ("intltool" ,intltool)
3555 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3557 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3558 ("ncurses" ,ncurses))))) ; required by libvte.la
3560 (define-public vinagre
3566 (uri (string-append "mirror://gnome/sources/" name "/"
3567 (version-major+minor version) "/"
3568 name "-" version ".tar.xz"))
3569 (patches (search-patches "vinagre-newer-freerdp.patch"
3570 "vinagre-newer-rdp-parameters.patch"))
3573 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3574 (build-system glib-or-gtk-build-system)
3576 ;; Disable -Werror and such, to avoid build failures on compilation
3578 '(#:configure-flags '("--enable-compile-warnings=minimum")
3580 (modify-phases %standard-phases
3581 (add-before 'install 'skip-gtk-update-icon-cache
3583 ;; Don't create 'icon-theme.cache'
3584 (substitute* (find-files "." "^Makefile$")
3585 (("gtk-update-icon-cache") (which "true")))
3587 (add-after 'unpack 'patch-configure
3589 (substitute* "configure"
3590 (("freerdp") "freerdp2"))
3593 `(("pkg-config" ,pkg-config)
3594 ("intltool" ,intltool)
3595 ("itstool" ,itstool)
3596 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3598 `(("libxml2" ,libxml2)
3599 ("gtk-vnc" ,gtk-vnc)
3600 ("gnome-keyring" ,gnome-keyring)
3601 ("libsecret" ,libsecret)
3602 ("freerdp" ,freerdp)
3604 ("spice-gtk" ,spice-gtk)
3605 ("telepathy-glib" ,telepathy-glib)
3607 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3608 (synopsis "Remote desktop viewer for GNOME")
3609 (description "Vinagre is a remote display client supporting the VNC, SPICE
3610 and RDP protocols.")
3611 (license license:gpl3+)))
3613 (define-public dconf
3620 "mirror://gnome/sources/" name "/"
3621 (version-major+minor version) "/"
3622 name "-" version ".tar.xz"))
3623 (patches (search-patches "dconf-meson-0.52.patch"))
3626 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3627 (build-system meson-build-system)
3629 ;; In Requires of dconf.pc.
3635 `(("bash-completion" ,bash-completion)
3636 ("libxslt" ,libxslt) ;for xsltproc
3637 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3638 ("docbook-xml" ,docbook-xml-4.2)
3639 ("docbook-xsl" ,docbook-xsl)
3640 ("glib:bin" ,glib "bin")
3641 ("gtk-doc" ,gtk-doc)
3642 ("pkg-config" ,pkg-config)
3645 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3646 ; or /etc/machine-id.
3648 #:configure-flags '("-Denable-gtk-doc=true")))
3649 (home-page "https://developer.gnome.org/dconf/")
3650 (synopsis "Low-level GNOME configuration system")
3651 (description "Dconf is a low-level configuration system. Its main purpose
3652 is to provide a backend to GSettings on platforms that don't already have
3653 configuration storage systems.")
3654 (license license:lgpl2.1+)))
3656 (define-public json-glib
3662 (uri (string-append "mirror://gnome/sources/" name "/"
3663 (version-major+minor version) "/"
3664 name "-" version ".tar.xz"))
3667 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3668 (build-system meson-build-system)
3670 `(("gettext" ,gettext-minimal)
3671 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3672 ("gobject-introspection" ,gobject-introspection)
3673 ("pkg-config" ,pkg-config)))
3675 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3676 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3677 (synopsis "Compiler for the GObject type system")
3679 "JSON-GLib is a C library based on GLib providing serialization and
3680 deserialization support for the JavaScript Object Notation (JSON) format
3681 described by RFC 4627. It provides parser and generator GObject classes and
3682 various wrappers for the complex data types employed by JSON, such as arrays
3684 (license license:lgpl2.1+)))
3686 (define-public libxklavier
3688 (name "libxklavier")
3691 ;; Note: There's no tarball at ftp.gnome.org for this version.
3694 (url "https://anongit.freedesktop.org/git/libxklavier")
3695 (commit (string-append "libxklavier-" version))))
3698 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3699 (file-name (git-file-name name version))))
3700 (build-system gnu-build-system)
3703 (list (string-append "--with-xkb-base="
3704 (assoc-ref %build-inputs "xkeyboard-config")
3706 "--disable-xmodmap-support")))
3708 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3709 ("gobject-introspection" ,gobject-introspection)
3710 ("pkg-config" ,pkg-config)
3711 ("gtk-doc" ,gtk-doc)
3712 ("intltool" ,intltool)
3714 ("autoconf" ,autoconf)
3715 ("automake" ,automake)
3716 ("libtool" ,libtool)))
3718 ;; Required by libxklavier.pc.
3720 ("libxml2" ,libxml2)))
3722 `(("iso-codes" ,iso-codes)
3724 ("libxkbfile" ,libxkbfile)
3725 ("xkbcomp" ,xkbcomp)
3726 ("xkeyboard-config" ,xkeyboard-config)))
3727 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3728 (synopsis "High-level API for X Keyboard Extension")
3730 "LibXklavier is a library providing high-level API for X Keyboard
3731 Extension known as XKB. This library is intended to support XFree86 and other
3732 commercial X servers. It is useful for creating XKB-related software (layout
3734 (license license:lgpl2.0+)))
3736 (define-public python2-rsvg
3737 ;; XXX: This is actually a subset of gnome-python-desktop.
3739 (name "python2-rsvg")
3745 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3746 version ".tar.bz2"))
3749 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3750 (build-system gnu-build-system)
3752 `(("pkg-config" ,pkg-config)))
3754 `(("python" ,python-2)
3755 ("python2-pygtk" ,python2-pygtk)
3756 ("librsvg" ,librsvg)))
3757 (home-page "https://www.gnome.org")
3758 (synopsis "Python bindings to librsvg")
3760 "This package provides Python bindings to librsvg, the SVG rendering
3763 ;; This is the license of the rsvg bindings. The license of each module
3764 ;; of gnome-python-desktop is given in 'COPYING'.
3765 (license license:lgpl2.1+)))
3767 (define-public glib-networking
3769 (name "glib-networking")
3773 (uri (string-append "mirror://gnome/sources/glib-networking/"
3774 (version-major+minor version) "/"
3775 "glib-networking-" version ".tar.xz"))
3778 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3779 (build-system meson-build-system)
3781 `(#:configure-flags '("-Dlibproxy_support=false")))
3783 `(("pkg-config" ,pkg-config)
3784 ("intltool" ,intltool)))
3788 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3789 (home-page "https://www.gnome.org")
3790 (synopsis "Network-related GIO modules")
3792 "This package contains various network related extensions for the GIO
3794 (license license:lgpl2.0+)))
3802 (uri (string-append "mirror://gnome/sources/rest/"
3803 (version-major+minor version) "/"
3804 name "-" version ".tar.xz"))
3807 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3808 (build-system gnu-build-system)
3810 '(#:tests? #f ; tests require internet connection
3812 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3814 `(("glib-mkenums" ,glib "bin")
3815 ("gobject-introspection" ,gobject-introspection)
3816 ("pkg-config" ,pkg-config)))
3818 ;; rest-0.7.pc refers to all these.
3820 ("libsoup" ,libsoup)
3821 ("libxml2" ,libxml2)))
3822 (home-page "https://www.gtk.org/")
3823 (synopsis "RESTful web api query library")
3825 "This library was designed to make it easier to access web services that
3826 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3827 libxml to ease remote use of the RESTful API.")
3828 (license license:lgpl2.1+)))
3830 (define-public libsoup
3836 (uri (string-append "mirror://gnome/sources/libsoup/"
3837 (version-major+minor version) "/"
3838 "libsoup-" version ".tar.xz"))
3841 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3842 (build-system meson-build-system)
3843 (outputs '("out" "doc"))
3845 `(#:modules ((guix build utils)
3846 (guix build meson-build-system)
3849 #:configure-flags '("-Dgtk_doc=true")
3851 (modify-phases %standard-phases
3852 (add-after 'unpack 'adjust-tests
3854 ;; This test fails due to missing /etc/nsswitch.conf
3855 ;; in the build environment.
3856 (substitute* "tests/socket-test.c"
3857 ((".*/sockets/unconnected.*") ""))
3859 ;; These fail because "subdomain.localhost" does not resolve in
3860 ;; the build environment.
3861 (substitute* "tests/hsts-test.c"
3862 ((".*/hsts/basic.*") "")
3863 ((".*/hsts/subdomains.*") "")
3864 ((".*/hsts/superdomain.*") "")
3865 ((".*/hsts/utf8-address.*") ""))
3866 (substitute* "tests/hsts-db-test.c"
3867 ((".*/hsts-db/subdomains.*") ""))
3869 ;; Generate a self-signed certificate that has "localhost" as its
3870 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3871 ;; 3.5.12, tests such as "ssl-tests" fail:
3873 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3875 ;; 'certtool' is interactive so we have to pipe it the answers.
3876 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3877 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3878 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3879 (for-each (lambda (line)
3884 "Guix" ;Organizational unit name
3885 "GNU" ;Organization name
3887 "" ;State or province
3889 "" ;subject's domain component (DC)
3892 "-1" ;expiration time
3893 "N" ;belong to authority?
3894 "N" ;web client certificate?
3896 "Y" ;web server certificate?
3897 "localhost" ;dnsName of subject
3898 "" ;dnsName of subject (end)
3900 "127.0.0.1" ;IP address of subject
3902 "" ;encryption (RSA)?
3903 "" ;data encryption?
3904 "" ;sign OCSP requests?
3907 "" ;email protection?
3908 "" ;URI of the CRL distribution point
3913 (add-after 'install 'move-doc
3914 (lambda* (#:key outputs #:allow-other-keys)
3915 (let ((out (assoc-ref outputs "out"))
3916 (doc (assoc-ref outputs "doc")))
3917 (mkdir-p (string-append doc "/share"))
3918 (copy-recursively (string-append out "/share/gtk-doc")
3919 (string-append doc "/share/gtk-doc"))
3920 (delete-file-recursively (string-append out "/share/gtk-doc"))
3923 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3924 ("gobject-introspection" ,gobject-introspection)
3925 ("gtk-doc" ,gtk-doc)
3926 ("intltool" ,intltool)
3927 ("pkg-config" ,pkg-config)
3928 ("python" ,python-wrapper)
3932 ("gnutls" ,gnutls) ;for 'certtool'
3935 ;; libsoup-2.4.pc refers to all these.
3936 `(("brotli" ,google-brotli)
3939 ("libxml2" ,libxml2)
3943 `(("glib-networking" ,glib-networking)
3944 ("mit-krb5" ,mit-krb5)))
3945 (home-page "https://live.gnome.org/LibSoup/")
3946 (synopsis "GLib-based HTTP Library")
3948 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3949 and the GLib main loop, to integrate well with GNOME applications.")
3950 (license license:lgpl2.0+)))
3953 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
3954 (define-public libsoup-minimal
3957 (name "libsoup-minimal")
3958 (outputs (delete "doc" (package-outputs libsoup)))
3960 (substitute-keyword-arguments (package-arguments libsoup)
3961 ((#:configure-flags configure-flags)
3962 `(delete "-Dgtk_doc=true" ,configure-flags))
3964 `(modify-phases ,phases
3965 (delete 'move-doc)))))
3966 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
3968 (define-public libsecret
3975 "mirror://gnome/sources/libsecret/"
3976 (version-major+minor version) "/"
3977 "libsecret-" version ".tar.xz"))
3980 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
3981 (build-system gnu-build-system)
3982 (outputs '("out" "doc"))
3984 `(#:tests? #f ; FIXME: Testing hangs.
3986 (list (string-append "--with-html-dir="
3987 (assoc-ref %outputs "doc")
3988 "/share/gtk-doc/html"))))
3990 `(("gettext" ,gettext-minimal)
3991 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3992 ("gobject-introspection" ,gobject-introspection)
3993 ("pkg-config" ,pkg-config)
3995 ("xsltproc" ,libxslt)))
3996 ;; These are needed for the tests.
3997 ;; FIXME: Add gjs once available.
3999 ;("python2" ,python-2)
4000 ;("python2-dbus" ,python2-dbus)
4001 ;("python2-pygobject" ,python2-pygobject)
4002 ;("python2-pygobject-2" ,python2-pygobject-2)))
4004 `(("glib" ,glib))) ; required by libsecret-1.pc
4006 `(("docbook-xsl" ,docbook-xsl)
4007 ("libgcrypt" ,libgcrypt)
4008 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4009 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4010 (synopsis "GObject bindings for \"Secret Service\" API")
4012 "Libsecret is a GObject based library for storing and retrieving passwords
4013 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4014 (license license:lgpl2.1+)))
4016 (define-public five-or-more
4018 (name "five-or-more")
4023 (uri (string-append "mirror://gnome/sources/five-or-more/"
4024 (version-major+minor version) "/"
4025 "five-or-more-" version ".tar.xz"))
4027 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4028 (build-system meson-build-system)
4032 (modify-phases %standard-phases
4033 (add-after 'unpack 'skip-gtk-update-icon-cache
4035 (substitute* "meson_post_install.py"
4036 (("gtk-update-icon-cache") (which "true")))
4039 `(("pkg-config" ,pkg-config)
4040 ("appstream-glib" ,appstream-glib)
4041 ("desktop-file-utils" ,desktop-file-utils)
4042 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4043 ("intltool" ,intltool)
4044 ("itstool" ,itstool)
4046 ("xmllint" ,libxml2)))
4049 ("libgnome-games-support" ,libgnome-games-support)
4050 ("librsvg" ,librsvg)))
4051 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4052 (synopsis "Logic puzzle game")
4053 (description "Five or More is a game where you try to align
4054 five or more objects of the same color and shape causing them to disappear.
4055 On every turn more objects will appear, until the board is full.
4056 Try to last as long as possible.")
4057 (license license:gpl2+)))
4059 (define-public gnome-mines
4061 (name "gnome-mines")
4066 (uri (string-append "mirror://gnome/sources/" name "/"
4067 (version-major+minor version) "/"
4068 name "-" version ".tar.xz"))
4071 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
4072 (build-system meson-build-system)
4076 (modify-phases %standard-phases
4077 (add-after 'unpack 'skip-gtk-update-icon-cache
4079 (substitute* "build-aux/meson_post_install.py"
4080 (("gtk-update-icon-cache") (which "true")))
4083 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4084 ("pkg-config" ,pkg-config)
4085 ("desktop-file-utils" ,desktop-file-utils)
4086 ("intltool" ,intltool)
4087 ("itstool" ,itstool)
4090 ("appstream-glib" ,appstream-glib)))
4093 ("libgnome-games-support" ,libgnome-games-support)
4094 ("librsvg" ,librsvg)))
4095 (home-page "https://wiki.gnome.org/Apps/Mines")
4096 (synopsis "Minesweeper game")
4098 "Mines (previously gnomine) is a puzzle game where you locate mines
4099 floating in an ocean using only your brain and a little bit of luck.")
4100 (license license:gpl2+)))
4102 (define-public gnome-multi-writer
4104 (name "gnome-multi-writer")
4109 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
4110 (version-major+minor version) "/"
4111 "gnome-multi-writer-" version ".tar.xz"))
4114 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
4115 (build-system meson-build-system)
4119 (modify-phases %standard-phases
4120 (add-after 'unpack 'skip-post-install
4122 (substitute* "meson.build"
4123 (("meson.add_install_script" &) (string-append "# " &)))
4126 `(("glib:bin" ,glib "bin")
4127 ("pkg-config" ,pkg-config)))
4130 ("glib" ,glib) ; for gio
4133 ("libgudev" ,libgudev)
4134 ("libcanberra" ,libcanberra)
4135 ("polkit" ,polkit)))
4136 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
4137 (synopsis "Write to multiple USB devices at once")
4139 "MultiWriter can be used to write an ISO file to multiple USB devices at
4141 (license license:gpl2+)))
4143 (define-public gnome-sudoku
4145 (name "gnome-sudoku")
4150 (uri (string-append "mirror://gnome/sources/" name "/"
4151 (version-major+minor version) "/"
4152 name "-" version ".tar.xz"))
4155 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
4156 (build-system meson-build-system)
4160 (modify-phases %standard-phases
4161 (add-after 'unpack 'skip-gtk-update-icon-cache
4163 (substitute* "build-aux/post_install.py"
4164 (("gtk-update-icon-cache") (which "true")))
4167 `(("pkg-config" ,pkg-config)
4168 ("desktop-file-utils" ,desktop-file-utils)
4169 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4170 ("intltool" ,intltool)
4171 ("itstool" ,itstool)
4173 ("xmllint" ,libxml2)))
4176 ("json-glib" ,json-glib)
4178 ("librsvg" ,librsvg)
4179 ("qqwing" ,qqwing)))
4180 (home-page "https://wiki.gnome.org/Apps/Sudoku")
4181 (synopsis "Japanese logic game")
4183 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
4184 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
4185 possible while still providing features that make playing difficult Sudoku
4187 (license license:gpl2+)))
4189 (define-public gnome-terminal
4191 (name "gnome-terminal")
4196 (uri (string-append "mirror://gnome/sources/" name "/"
4197 (version-major+minor version) "/"
4198 name "-" version ".tar.xz"))
4201 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
4202 (build-system glib-or-gtk-build-system)
4205 (list "--disable-migration" "--disable-search-provider"
4206 "--without-nautilus-extension")
4208 (modify-phases %standard-phases
4209 (add-before 'configure 'patch-/bin/true
4211 (substitute* "configure"
4212 (("/bin/true") (which "true"))))))))
4214 `(("pkg-config" ,pkg-config)
4215 ("desktop-file-utils" ,desktop-file-utils)
4216 ("intltool" ,intltool)
4217 ("itstool" ,itstool)
4218 ("xmllint" ,libxml2)))
4220 `(("dconf" ,dconf)))
4225 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4226 ("util-linux" ,util-linux "lib")
4228 (home-page "https://wiki.gnome.org/Apps/Terminal")
4229 (synopsis "Terminal emulator")
4231 "GNOME Terminal is a terminal emulator application for accessing a
4232 UNIX shell environment which can be used to run programs available on
4235 It supports several profiles, multiple tabs and implements several
4236 keyboard shortcuts.")
4237 (license license:gpl3+)))
4239 (define-public colord
4246 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
4247 "colord-" version ".tar.xz"))
4249 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
4250 (build-system meson-build-system)
4252 '(;; FIXME: One test fails:
4253 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4254 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4255 ;; application/x-zerosize
4258 #:configure-flags (list "-Dlocalstatedir=/var"
4259 ;; No dep on systemd.
4261 ;; Wants to install to global completion dir;
4263 "-Dbash_completion=false"
4264 "-Ddaemon_user=colord"
4267 ;; Requires spotread.
4268 "-Dargyllcms_sensor=false"
4269 ;; TODO: Requires docbook2x.
4272 (modify-phases %standard-phases
4273 (add-before 'configure 'patch-build-system
4274 (lambda* (#:key outputs #:allow-other-keys)
4275 (substitute* "rules/meson.build"
4276 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4277 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4279 (add-before 'configure 'set-sqlite3-file-name
4280 (lambda* (#:key inputs #:allow-other-keys)
4281 ;; "colormgr dump" works by invoking the "sqlite3" command.
4282 ;; Record its absolute file name.
4283 (let ((sqlite (assoc-ref inputs "sqlite")))
4284 (substitute* "client/cd-util.c"
4286 (string-append "\"" sqlite "/bin/sqlite3\"")))
4289 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4290 ("gettext" ,gettext-minimal)
4291 ("gobject-introspection" ,gobject-introspection)
4292 ("gtk-doc" ,gtk-doc)
4293 ("pkg-config" ,pkg-config)
4296 ;; colord.pc refers to all these.
4301 `(("dbus-glib" ,dbus-glib)
4303 ("libgudev" ,libgudev)
4306 ("python" ,python-wrapper)
4308 ("sane-backends" ,sane-backends)))
4309 (home-page "https://www.freedesktop.org/software/colord/")
4310 (synopsis "Color management service")
4311 (description "Colord is a system service that makes it easy to manage,
4312 install and generate color profiles to accurately color manage input and
4314 (license license:gpl2+)))
4316 (define-public geoclue
4324 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4325 version "/geoclue-" version ".tar.bz2"))
4327 (base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
4328 (patches (search-patches "geoclue-config.patch"))))
4329 (build-system meson-build-system)
4331 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4333 `(("pkg-config" ,pkg-config)
4334 ("gobject-introspection" ,gobject-introspection)
4335 ("modem-manager" ,modem-manager)
4336 ("libnotify" ,libnotify)
4337 ("gtk-doc", gtk-doc)
4338 ("intltool" ,intltool)))
4341 ("glib:bin" ,glib "bin")
4342 ("glib-networking" ,glib-networking)
4343 ("json-glib" ,json-glib)
4344 ("libsoup" ,libsoup)))
4345 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4346 (synopsis "Geolocation service")
4347 (description "Geoclue is a D-Bus service that provides location
4348 information. The primary goal of the Geoclue project is to make creating
4349 location-aware applications as simple as possible, while the secondary goal is
4350 to ensure that no application can access location information without explicit
4351 permission from user.")
4352 (license license:gpl2+)))
4354 (define-public geocode-glib
4356 (name "geocode-glib")
4360 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4361 (version-major+minor version) "/"
4362 "geocode-glib-" version ".tar.xz"))
4365 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4366 (build-system meson-build-system)
4369 (modify-phases %standard-phases
4370 ;; The tests require a bunch of locales.
4371 (add-before 'check 'set-locales
4372 (lambda* (#:key inputs #:allow-other-keys)
4373 (setenv "GUIX_LOCPATH"
4374 (string-append (assoc-ref inputs "glibc-locales")
4378 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4379 ("glibc-locales" ,glibc-locales) ; for tests
4380 ("gettext" ,gettext-minimal)
4381 ("gobject-introspection" ,gobject-introspection)
4382 ("gtk-doc" ,gtk-doc)
4383 ("pkg-config" ,pkg-config)
4384 ("json-glib" ,json-glib)))
4386 ;; geocode-glib-1.0.pc refers to GIO.
4389 `(("libsoup" ,libsoup)))
4390 (home-page "https://github.com/GNOME/geocode-glib/")
4391 (synopsis "Geocoding and reverse-geocoding library")
4393 "geocode-glib is a convenience library for geocoding (finding longitude,
4394 and latitude from an address) and reverse geocoding (finding an address from
4395 coordinates) using the Nominatim service. geocode-glib caches requests for
4396 faster results and to avoid unnecessary server load.")
4397 (license license:lgpl2.0+)))
4399 (define-public upower
4405 (uri (string-append "https://upower.freedesktop.org/releases/"
4406 "upower-" version ".tar.xz"))
4409 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4410 (patches (search-patches "upower-builddir.patch"))
4411 (modules '((guix build utils)))
4415 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4416 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4417 ;; 'dbus-configuration-directory' in (gnu services dbus)
4418 ;; expects it in etc/. Thus, move it back to its previous
4420 (substitute* "src/Makefile.in"
4421 (("^dbusconfdir =.*$")
4422 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4424 (build-system glib-or-gtk-build-system)
4427 (modify-phases %standard-phases
4428 (add-before 'check 'pre-check
4429 (lambda* (#:key inputs #:allow-other-keys)
4430 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
4432 (setenv "LD_LIBRARY_PATH" umockdev))
4434 #:configure-flags (list "--localstatedir=/var"
4435 (string-append "--with-udevrulesdir="
4436 (assoc-ref %outputs "out")
4437 "/lib/udev/rules.d"))))
4439 `(("gobject-introspection" ,gobject-introspection)
4440 ("pkg-config" ,pkg-config)
4441 ("intltool" ,intltool)
4445 ("python-dbus" ,python-dbus)
4446 ("python-dbusmock" ,python-dbusmock)
4447 ("python-pygobject" ,python-pygobject)
4448 ("umockdev" ,umockdev)
4451 ("libxslt" ,libxslt) ;for 'xsltproc'
4452 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4453 ("docbook-xsl" ,docbook-xsl)))
4455 `(("dbus-glib" ,dbus-glib)
4456 ("libgudev" ,libgudev)
4457 ("libusb" ,libusb)))
4459 ;; In Requires of upower-glib.pc.
4461 (home-page "https://upower.freedesktop.org/")
4462 (synopsis "System daemon for managing power devices")
4464 "UPower is an abstraction for enumerating power devices,
4465 listening to device events and querying history and statistics. Any
4466 application or service on the system can access the org.freedesktop.UPower
4467 service via the system message bus.")
4468 (license license:gpl2+)))
4470 (define-public libgweather
4472 (name "libgweather")
4476 (uri (string-append "mirror://gnome/sources/" name "/"
4477 (version-major+minor version) "/"
4478 name "-" version ".tar.xz"))
4481 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4482 (build-system meson-build-system)
4484 `(#:tests? #f ; one of two tests requires network access
4486 `(,(string-append "-Dzoneinfo_dir="
4487 (assoc-ref %build-inputs "tzdata")
4488 "/share/zoneinfo"))))
4490 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4491 ("gobject-introspection" ,gobject-introspection)
4492 ("pkg-config" ,pkg-config)
4494 ("intltool" ,intltool)))
4496 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4499 ("gdk-pixbuf" ,gdk-pixbuf)
4500 ("libxml2" ,libxml2)
4501 ("libsoup" ,libsoup)
4502 ("geocode-glib" ,geocode-glib)))
4504 `(("tzdata" ,tzdata)))
4505 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4506 (synopsis "Location, time zone, and weather library for GNOME")
4508 "libgweather is a library to access weather information from online
4509 services for numerous locations.")
4510 (license license:gpl2+)))
4512 (define-public gnome-settings-daemon
4514 (name "gnome-settings-daemon")
4519 (uri (string-append "mirror://gnome/sources/" name "/"
4520 (version-major+minor version) "/"
4521 name "-" version ".tar.xz"))
4524 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4525 (build-system meson-build-system)
4529 (list (string-append "-Dudev_dir="
4530 (assoc-ref %outputs "out")
4531 "/lib/udev/rules.d/")
4533 ;; Otherwise, the RUNPATH will lack the final path component.
4534 (string-append "-Dc_link_args=-Wl,-rpath="
4535 (assoc-ref %outputs "out")
4536 "/lib/gnome-settings-daemon-3.0"))
4537 ;; Color management test can't reach the colord system service.
4540 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4541 ("pkg-config" ,pkg-config)
4542 ("intltool" ,intltool)
4543 ("xsltproc" ,libxslt)
4544 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4545 ("docbook-xml" ,docbook-xml-4.2)
4546 ("docbook-xsl" ,docbook-xsl)))
4548 `(("alsa-lib" ,alsa-lib)
4550 ("libgudev" ,libgudev)
4553 ("pulseaudio" ,pulseaudio)
4554 ("libcanberra" ,libcanberra)
4556 ("libxtst" ,libxtst)
4558 ("libnotify" ,libnotify)
4559 ("geoclue" ,geoclue)
4560 ("geocode-glib" ,geocode-glib)
4561 ("libgweather" ,libgweather)
4562 ("gnome-desktop" ,gnome-desktop)
4565 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4566 ("libwacom" ,libwacom)
4567 ("librsvg" ,librsvg)
4568 ("xf86-input-wacom" ,xf86-input-wacom)
4569 ("wayland" ,wayland)
4570 ("network-manager" ,network-manager)
4572 ("modem-manager" ,modem-manager)))
4573 (home-page "https://www.gnome.org")
4574 (synopsis "GNOME settings daemon")
4576 "This package contains the daemon responsible for setting the various
4577 parameters of a GNOME session and the applications that run under it. It
4578 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4579 settings, themes, mouse settings, and startup of other daemons.")
4580 (license license:gpl2+)))
4582 (define-public totem-pl-parser
4584 (name "totem-pl-parser")
4588 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4589 (version-major+minor version) "/"
4590 "totem-pl-parser-" version ".tar.xz"))
4593 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4594 (build-system meson-build-system)
4596 ;; FIXME: Tests require gvfs.
4599 `(("intltool" ,intltool)
4600 ("glib" ,glib "bin")
4601 ("gobject-introspection" ,gobject-introspection)
4602 ("pkg-config" ,pkg-config)))
4606 ("libarchive" ,libarchive)
4607 ("libgcrypt" ,libgcrypt)
4608 ("libxml2" ,libxml2)))
4610 `(("libsoup" ,libsoup)))
4611 (home-page "https://projects.gnome.org/totem")
4612 (synopsis "Library to parse and save media playlists for GNOME")
4613 (description "Totem-pl-parser is a GObjects-based library to parse and save
4614 playlists in a variety of formats.")
4615 (license license:lgpl2.0+)))
4617 (define-public aisleriot
4623 (uri (string-append "mirror://gnome/sources/aisleriot/"
4624 (version-major+minor version) "/"
4625 "aisleriot-" version ".tar.xz"))
4628 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4629 (build-system glib-or-gtk-build-system)
4632 '("--with-platform=gtk-only"
4633 "--with-card-theme-formats=svg")))
4635 `(("desktop-file-utils" ,desktop-file-utils)
4636 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4637 ("intltool" ,intltool)
4638 ("itstool" ,itstool)
4639 ("pkg-config" ,pkg-config)
4640 ("xmllint" ,libxml2)))
4643 ("guile" ,guile-2.2)
4644 ("libcanberra" ,libcanberra)
4645 ("librsvg" ,librsvg)))
4646 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4647 (synopsis "Solitaire card games")
4649 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4650 which are easy to play with the aid of a mouse.")
4651 (license license:gpl3+)))
4659 (uri (string-append "mirror://gnome/sources/amtk/"
4660 (version-major+minor version) "/"
4661 "amtk-" version ".tar.xz"))
4664 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4665 (build-system gnu-build-system)
4667 '(#:configure-flags '("--enable-gtk-doc")))
4669 `(("gobject-introspection" ,gobject-introspection)
4670 ("glib:bin" ,glib "bin") ; for glib-mkenums
4671 ("gtk-doc" ,gtk-doc)
4672 ("pkg-config" ,pkg-config)))
4676 (home-page "https://wiki.gnome.org/Projects/Amtk")
4677 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4679 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4680 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4681 both a traditional UI or a modern UI with a GtkHeaderBar.")
4682 (license license:lgpl2.1+)))
4684 (define-public devhelp
4690 (uri (string-append "mirror://gnome/sources/" name "/"
4691 (version-major+minor version) "/"
4692 name "-" version ".tar.xz"))
4695 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4696 (build-system meson-build-system)
4700 (modify-phases %standard-phases
4701 (add-after 'unpack 'skip-gtk-update-icon-cache
4702 ;; Don't create 'icon-theme.cache'.
4704 (substitute* "meson_post_install.py"
4705 (("gtk-update-icon-cache") "true"))
4708 `(("intltool" ,intltool)
4709 ("itstool" ,itstool)
4710 ("gobject-introspection" ,gobject-introspection)
4711 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4712 ("pkg-config" ,pkg-config)))
4715 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4716 ("webkitgtk" ,webkitgtk)))
4717 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4718 (synopsis "API documentation browser for GNOME")
4720 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4721 natively with GTK-Doc (the API reference system developed for GTK+ and used
4722 throughout GNOME for API documentation).")
4723 (license license:gpl2+)))
4732 (uri (string-append "mirror://gnome/sources/cogl/"
4733 (version-major+minor version) "/"
4734 "cogl-" version ".tar.xz"))
4736 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
4737 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4738 ;; cogl, corresponding changes may be appropriate in mutter as well.
4739 (build-system gnu-build-system)
4741 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4742 ("gobject-introspection" ,gobject-introspection)
4743 ("xorg-server" ,xorg-server-for-tests)
4744 ("pkg-config" ,pkg-config)))
4747 ("gdk-pixbuf" ,gdk-pixbuf)
4749 ("libxext" ,libxext)
4750 ("libxfixes" ,libxfixes)
4751 ("libxdamage" ,libxdamage)
4752 ("libxcomposite" ,libxcomposite)
4753 ("libxrandr" ,libxrandr)))
4758 ("gstreamer" ,gstreamer)
4759 ("gst-plugins-base" ,gst-plugins-base)
4760 ("wayland" ,wayland)))
4762 `(#:disallowed-references (,xorg-server-for-tests)
4763 #:configure-flags (list "--enable-cogl-gst"
4764 "--enable-wayland-egl-platform"
4765 "--enable-wayland-egl-server"
4767 ;; Arrange to pass an absolute file name to
4768 ;; dlopen for libGL.so.
4769 (string-append "--with-gl-libname="
4770 (assoc-ref %build-inputs "mesa")
4773 (modify-phases %standard-phases
4774 (add-after 'unpack 'fix-build-with-mesa-20
4776 ;; Work around a problem with Mesa 20 where some macros used by
4777 ;; Cogl went missing from eglext.h. This can likely be removed
4778 ;; for newer versions of Cogl or Mesa.
4779 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
4780 (substitute* '("configure"
4781 "cogl/winsys/cogl-winsys-egl-kms.c")
4782 (("#include <EGL/eglext.h>" all)
4783 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
4785 (add-before 'check 'start-xorg-server
4786 (lambda* (#:key tests? inputs #:allow-other-keys)
4789 ;; The test suite requires a running X server.
4790 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
4791 (assoc-ref inputs "xorg-server")))
4792 (setenv "DISPLAY" ":1")
4794 (format #t "test suite not run~%"))
4796 (home-page "https://www.cogl3d.org")
4797 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4799 "Cogl is a small library for using 3D graphics hardware to draw pretty
4800 pictures. The API departs from the flat state machine style of OpenGL and is
4801 designed to make it easy to write orthogonal components that can render
4802 without stepping on each others toes.")
4803 (license (list license:expat ; most of the code
4804 license:bsd-3 ; cogl/cogl-point-in-poly.c
4805 license:sgifreeb2.0 ; cogl-path/tesselator/
4806 license:asl2.0)))) ; examples/android/
4808 (define-public clutter
4815 (uri (string-append "mirror://gnome/sources/" name "/"
4816 (version-major+minor version) "/"
4817 name "-" version ".tar.xz"))
4820 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4821 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4822 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4823 (build-system gnu-build-system)
4825 "doc")) ;9 MiB of gtk-doc HTML pages
4827 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4828 ("gobject-introspection" ,gobject-introspection)
4829 ("pkg-config" ,pkg-config)
4830 ("xsltproc" ,libxslt)))
4836 ("json-glib" ,json-glib)
4838 ("libxcomposite" ,libxcomposite)
4839 ("libxdamage" ,libxdamage)
4840 ("libxext" ,libxext)
4841 ("xinput" ,xinput)))
4843 `(("libxkbcommon" ,libxkbcommon)
4846 `(#:configure-flags (list "--enable-x11-backend=yes"
4848 ;; This produces share/doc/{clutter,cally}.
4849 (string-append "--with-html-dir="
4850 (assoc-ref %outputs "doc")
4852 ;; XXX FIXME: Get test suite working. It would probably fail in the
4853 ;; same way the cogl tests fail, since clutter is based on cogl.
4855 (home-page "http://www.clutter-project.org")
4856 (synopsis "OpenGL-based interactive canvas library")
4858 "Clutter is an OpenGL-based interactive canvas library, designed for
4859 creating fast, mainly 2D single window applications such as media box UIs,
4860 presentations, kiosk style applications and so on.")
4861 (license license:lgpl2.0+)))
4863 (define-public clutter-gtk
4865 (name "clutter-gtk")
4870 (uri (string-append "mirror://gnome/sources/" name "/"
4871 (version-major+minor version) "/"
4872 name "-" version ".tar.xz"))
4875 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4876 (build-system gnu-build-system)
4878 `(("pkg-config" ,pkg-config)
4879 ("gobject-introspection" ,gobject-introspection)))
4881 ;; clutter-gtk.pc refers to all these.
4882 `(("clutter" ,clutter)
4884 (home-page "http://www.clutter-project.org")
4885 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4887 "Clutter is an OpenGL-based interactive canvas library, designed for
4888 creating fast, mainly 2D single window applications such as media box UIs,
4889 presentations, kiosk style applications and so on.")
4890 (license license:lgpl2.0+)))
4892 (define-public clutter-gst
4894 (name "clutter-gst")
4899 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4900 (version-major+minor version) "/"
4901 "clutter-gst-" version ".tar.xz"))
4903 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4904 (build-system gnu-build-system)
4906 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4907 ("pkg-config" ,pkg-config)
4908 ("gobject-introspection" ,gobject-introspection)))
4910 `(("clutter" ,clutter)
4911 ("gstreamer" ,gstreamer)
4912 ("gst-plugins-base" ,gst-plugins-base)))
4913 (home-page "http://www.clutter-project.org")
4914 (synopsis "Integration library for using GStreamer with Clutter")
4916 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4917 It provides a GStreamer sink to upload frames to GL and an actor that
4918 implements the ClutterGstPlayer interface using playbin. Clutter is an
4919 OpenGL-based interactive canvas library.")
4920 (license license:lgpl2.0+)))
4922 (define-public libchamplain
4924 (name "libchamplain")
4929 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4933 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4934 (build-system gnu-build-system)
4935 (arguments '(#:configure-flags '("--enable-vala")))
4937 `(("gobject-introspection" ,gobject-introspection)
4938 ("pkg-config" ,pkg-config)
4941 `(("libsoup" ,libsoup)
4943 ("clutter" ,clutter)
4944 ("clutter-gtk" ,clutter-gtk)
4945 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4949 (home-page "https://projects.gnome.org/libchamplain/")
4950 (synopsis "C library providing a ClutterActor to display maps")
4952 "libchamplain is a C library providing a ClutterActor to display maps.
4953 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4954 and Perl bindings are also available. It supports numerous free map sources
4955 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4956 (license license:lgpl2.1+)))
4965 (uri (string-append "mirror://gnome/sources/gom/"
4966 (version-major+minor version) "/"
4967 "gom-" version ".tar.xz"))
4970 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4971 (build-system gnu-build-system)
4973 `(("intltool" ,intltool)
4974 ("pkg-config" ,pkg-config)
4975 ("gobject-introspection" ,gobject-introspection)))
4978 ("gdk-pixbuf" ,gdk-pixbuf)
4979 ("sqlite" ,sqlite)))
4980 ;; XXX TODO: Figure out how to run the test suite.
4981 (arguments `(#:tests? #f))
4982 (home-page "https://wiki.gnome.org/Projects/Gom")
4983 (synopsis "Object mapper from GObjects to SQLite")
4985 "Gom provides an object mapper from GObjects to SQLite. It helps you
4986 write applications that need to store structured data as well as make complex
4987 queries upon that data.")
4988 (license license:lgpl2.1+)))
4990 (define-public libgnome-games-support
4992 (name "libgnome-games-support")
4996 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4997 (version-major+minor version) "/"
4998 "libgnome-games-support-" version ".tar.xz"))
5001 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5002 (build-system gnu-build-system)
5005 (modify-phases %standard-phases
5006 (add-before 'check 'pre-check
5008 ;; Tests require a writable HOME.
5009 (setenv "HOME" (getcwd))
5012 `(("intltool" ,intltool)
5013 ("pkg-config" ,pkg-config)
5016 ;; Required by libgnome-games-support-1.0.pc
5018 ("libgee" ,libgee)))
5019 (home-page "https://www.gnome.org/")
5020 (synopsis "Useful functionality shared among GNOME games")
5022 "libgnome-games-support is a small library intended for internal use by
5023 GNOME Games, but it may be used by others.")
5024 (license license:lgpl3+)))
5026 (define-public gnome-klotski
5028 (name "gnome-klotski")
5032 (uri (string-append "mirror://gnome/sources/" name "/"
5033 (version-major+minor version) "/"
5034 name "-" version ".tar.xz"))
5037 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5038 (build-system meson-build-system)
5042 (modify-phases %standard-phases
5043 (add-after 'unpack 'skip-gtk-update-icon-cache
5044 ;; Don't create 'icon-theme.cache'.
5046 (substitute* "build-aux/meson_post_install.py"
5047 (("gtk-update-icon-cache") (which "true")))
5050 `(("desktop-file-utils" ,desktop-file-utils)
5051 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5052 ("intltool" ,intltool)
5053 ("itstool" ,itstool)
5054 ("pkg-config" ,pkg-config)
5056 ("xmllint" ,libxml2)))
5059 ("libgnome-games-support" ,libgnome-games-support)
5060 ("librsvg" ,librsvg)))
5061 (home-page "https://wiki.gnome.org/Apps/Klotski")
5062 (synopsis "Sliding block puzzles")
5064 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
5065 the patterned block to the area bordered by green markers. To do so, you will
5066 need to slide other blocks out of the way. Complete each puzzle in as few moves
5068 (license license:gpl2+)))
5070 (define-public grilo
5077 (uri (string-append "mirror://gnome/sources/" name "/"
5078 (version-major+minor version) "/"
5079 name "-" version ".tar.xz"))
5082 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
5083 (build-system meson-build-system)
5085 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
5086 ("intltool" ,intltool)
5087 ("pkg-config" ,pkg-config)
5088 ("gobject-introspection" ,gobject-introspection)
5089 ("gtk-doc" ,gtk-doc)
5092 `(("cyrus-sasl" ,cyrus-sasl)
5095 ("libxml2" ,libxml2)
5096 ("liboauth" ,liboauth)
5097 ("libsoup" ,libsoup)
5098 ("totem-pl-parser" ,totem-pl-parser)))
5099 (native-search-paths
5100 (list (search-path-specification
5101 (variable "GRL_PLUGIN_PATH")
5102 (files (list (string-append "lib/grilo-"
5103 (version-major+minor version)))))))
5104 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
5105 (synopsis "Framework for discovering and browsing media")
5107 "Grilo is a framework focused on making media discovery and browsing easy
5108 for application developers.")
5109 (license license:lgpl2.1+)))
5111 (define-public grilo-plugins
5113 (name "grilo-plugins")
5118 (uri (string-append "mirror://gnome/sources/" name "/"
5119 (version-major+minor version) "/"
5120 name "-" version ".tar.xz"))
5123 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
5124 (build-system meson-build-system)
5126 `(("gettext" ,gettext-minimal)
5127 ("glib:bin" ,glib "bin")
5128 ("gtk+:bin" ,gtk+ "bin")
5129 ("itstool" ,itstool)
5130 ("pkg-config" ,pkg-config)))
5131 ;; TODO: ahavi, gstreamer
5134 ;("gmime" ,gmime) ; unused
5135 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5137 ;("gssdp" ,gssdp) ; unused
5138 ;("gupnp" ,gupnp) ; unused
5139 ;("gupnp-av" ,gupnp-av) ; unused
5140 ("json-glib" ,json-glib)
5142 ("libgdata" ,libgdata)
5143 ("libmediaart" ,libmediaart)
5144 ;("librest" ,rest) ; unused
5145 ("libsoup" ,libsoup)
5146 ("totam-pl-parser" ,totem-pl-parser)
5147 ("tracker" ,tracker))) ; unused because it's too old
5150 ;;Disable lua-factory as it needs missing dependencies
5151 #:configure-flags '("-Denable-lua-factory=no")))
5152 (home-page "https://live.gnome.org/Grilo")
5153 (synopsis "Plugins for the Grilo media discovery library")
5155 "Grilo is a framework focused on making media discovery and browsing easy
5156 for application developers. This package provides plugins for common media
5157 discovery protocols.")
5158 (license license:lgpl2.1+)))
5160 (define-public totem
5167 (uri (string-append "mirror://gnome/sources/totem/"
5168 (version-major+minor version) "/"
5169 "totem-" version ".tar.xz"))
5172 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
5173 (build-system meson-build-system)
5175 `(("pkg-config" ,pkg-config)
5176 ("desktop-file-utils" ,desktop-file-utils)
5177 ("gobject-introspection" ,gobject-introspection)
5178 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
5179 ("intltool" ,intltool)
5180 ("itstool" ,itstool)
5181 ("xmllint" ,libxml2)
5182 ("xorg-server" ,xorg-server-for-tests)))
5184 `(("dconf" ,dconf)))
5187 ("gdk-pixbuf" ,gdk-pixbuf)
5190 ("dbus-glib" ,dbus-glib)
5191 ("clutter" ,clutter)
5192 ("clutter-gtk" ,clutter-gtk)
5193 ("clutter-gst" ,clutter-gst)
5194 ("xorgproto" ,xorgproto)
5195 ("libxxf86vm" ,libxxf86vm)
5196 ("libxtst" ,libxtst)
5197 ("libxrandr" ,libxrandr)
5198 ("libxml2" ,libxml2)
5199 ("libsoup" ,libsoup)
5200 ("libpeas" ,libpeas)
5201 ("librsvg" ,librsvg)
5203 ("gnome-desktop" ,gnome-desktop)
5204 ("gstreamer" ,gstreamer)
5205 ("gst-plugins-base" ,gst-plugins-base)
5206 ("gst-plugins-good" ,gst-plugins-good)
5207 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5208 ("adwaita-icon-theme" ,adwaita-icon-theme)
5210 ("python-pygobject" ,python-pygobject)
5211 ("totem-pl-parser" ,totem-pl-parser)
5213 ("grilo-plugins" ,grilo-plugins)
5218 ;; Disable automatic GStreamer plugin installation via PackageKit and
5220 #:configure-flags '("-D" "enable-easy-codec-installation=no"
5222 ;; Do not build .a files for the plugins, it's
5223 ;; completely useless. This saves 2 MiB.
5224 "--default-library" "shared")
5226 (modify-phases %standard-phases
5227 (add-after 'unpack 'skip-gtk-update-icon-cache
5228 ;; Don't create 'icon-theme.cache'.
5230 (substitute* "meson_post_install.py"
5231 (("gtk-update-icon-cache") "true"))
5234 'install 'disable-cache-generation
5236 (setenv "DESTDIR" "/")
5241 ;; Tests require a running X server.
5242 (system "Xvfb :1 &")
5243 (setenv "DISPLAY" ":1")
5246 'install 'wrap-totem
5247 (lambda* (#:key inputs outputs #:allow-other-keys)
5248 (let ((out (assoc-ref outputs "out"))
5249 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5250 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5251 (wrap-program (string-append out "/bin/totem")
5252 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5253 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5254 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5255 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
5257 (home-page "https://wiki.gnome.org/Apps/Videos")
5258 (synopsis "Simple media player for GNOME based on GStreamer")
5259 (description "Totem is a simple yet featureful media player for GNOME
5260 which can read a large number of file formats.")
5261 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5262 ;; to be used and distributed together with GStreamer and Totem. See
5263 ;; file://COPYING in the source distribution for details.
5264 (license license:gpl2+)))
5266 (define-public rhythmbox
5272 (uri (string-append "mirror://gnome/sources/rhythmbox/"
5273 (version-major+minor version) "/"
5274 "rhythmbox-" version ".tar.xz"))
5277 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5278 (build-system glib-or-gtk-build-system)
5281 (list "--enable-lirc"
5288 (modify-phases %standard-phases
5290 'install 'wrap-rhythmbox
5291 (lambda* (#:key inputs outputs #:allow-other-keys)
5292 (let ((out (assoc-ref outputs "out"))
5293 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5294 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5295 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5296 (python-path (getenv "PYTHONPATH")))
5297 (wrap-program (string-append out "/bin/rhythmbox")
5298 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5299 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5300 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5301 `("PYTHONPATH" ":" prefix (,python-path))))
5304 `(("dconf" ,dconf)))
5306 `(("itstool" ,itstool)
5307 ("intltool" ,intltool)
5308 ("glib" ,glib "bin")
5309 ("gobject-introspection" ,gobject-introspection)
5310 ("desktop-file-utils" ,desktop-file-utils)
5311 ("pkg-config" ,pkg-config)
5312 ("xmllint" ,libxml2)))
5314 `(("json-glib" ,json-glib)
5316 ("gnome-desktop" ,gnome-desktop)
5318 ("python-pygobject" ,python2-pygobject)
5321 ("adwaita-icon-theme" ,adwaita-icon-theme)
5323 ("grilo-plugins" ,grilo-plugins)
5324 ("gstreamer" ,gstreamer)
5325 ("gst-plugins-base" ,gst-plugins-base)
5326 ("gst-plugins-good" ,gst-plugins-good)
5327 ("totem-pl-parser" ,totem-pl-parser)
5328 ("libgudev" ,libgudev)
5329 ;;("libmtp" ,libmtp) FIXME: Not detected
5330 ("libsecret" ,libsecret)
5331 ("libsoup" ,libsoup)
5332 ("libnotify" ,libnotify)
5333 ("libpeas" ,libpeas)
5335 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5336 ;;("clutter" ,clutter)
5337 ;;("clutter-gtk" ,clutter-gtk)
5338 ;;("clutter-gst" ,clutter-gst)
5339 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5346 ("brasero" ,brasero)))
5347 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5348 (synopsis "Music player for GNOME")
5349 (description "Rhythmbox is a music playing application for GNOME. It
5350 supports playlists, song ratings, and any codecs installed through gstreamer.")
5351 (license license:gpl2+)))
5359 (uri (string-append "mirror://gnome/sources/" name "/"
5360 (version-major+minor version) "/"
5361 name "-" version ".tar.xz"))
5364 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5365 (build-system meson-build-system)
5368 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5369 (list (string-append "-Dc_link_args=-Wl,-rpath="
5370 (assoc-ref %outputs "out") "/lib/eog"))
5372 (modify-phases %standard-phases
5373 (add-after 'unpack 'skip-gtk-update-icon-cache
5374 ;; Don't create 'icon-theme.cache'.
5376 (substitute* "meson_post_install.py"
5377 (("gtk-update-icon-cache") "true"))
5379 (add-after 'install 'wrap-eog
5380 (lambda* (#:key outputs #:allow-other-keys)
5381 (let ((out (assoc-ref outputs "out"))
5382 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5383 (wrap-program (string-append out "/bin/eog")
5384 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5387 `(("dconf" ,dconf)))
5389 `(("intltool" ,intltool)
5390 ("itstool" ,itstool)
5391 ("glib" ,glib "bin")
5392 ("gobject-introspection" ,gobject-introspection)
5393 ("pkg-config" ,pkg-config)
5394 ("xmllint" ,libxml2)))
5396 `(("gnome-desktop" ,gnome-desktop)
5397 ("shared-mime-info" ,shared-mime-info)
5398 ("adwaita-icon-theme" ,adwaita-icon-theme)
5401 ("libexif" ,libexif)
5402 ("libpeas" ,libpeas)
5403 ("libjpeg" ,libjpeg-turbo)
5404 ("librsvg" ,librsvg-next)
5405 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5407 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5408 (synopsis "GNOME image viewer")
5409 (description "Eye of GNOME is the GNOME image viewer. It
5410 supports image conversion, rotation, and slideshows.")
5411 (license license:gpl2+)))
5413 (define-public eog-plugins
5414 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5415 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5416 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5417 ;; 'XDG_DATA_DIRS' appropriately set.
5419 (name "eog-plugins")
5423 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5424 (version-major+minor version) "/"
5425 "eog-plugins-" version ".tar.xz"))
5428 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5429 (build-system gnu-build-system)
5430 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5431 (synopsis "Extensions for the Eye of GNOME image viewer")
5433 `(("pkg-config" ,pkg-config)
5434 ("gettext" ,gettext-minimal)))
5439 ("libpeas" ,libpeas)
5440 ("libexif" ,libexif)
5441 ("libchamplain" ,libchamplain)))
5443 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5447 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5448 @item @dfn{Map}, which displays a map of where the picture was taken on the
5450 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5453 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5454 ;; long suspicious byte stream that goes to a
5455 ;; ".gresource.eog_postasa_plugin" ELF section.
5456 (license license:gpl2+)))
5458 (define-public libgudev
5464 (uri (string-append "mirror://gnome/sources/" name "/"
5465 version "/" name "-" version ".tar.xz"))
5468 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5469 (build-system gnu-build-system)
5472 ;; umockdev depends on libgudev.
5473 (list "--disable-umockdev")))
5475 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5476 ("gobject-introspection" ,gobject-introspection)
5477 ("pkg-config" ,pkg-config)))
5479 `(("glib" ,glib))) ; required by gudev-1.0.pc
5482 (home-page "https://wiki.gnome.org/Projects/libgudev")
5483 (synopsis "GObject bindings for libudev")
5485 "This library provides GObject bindings for libudev. It was originally
5486 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5487 (license license:lgpl2.1+)))
5495 (uri (string-append "mirror://gnome/sources/gvfs/"
5496 (version-major+minor version) "/"
5497 "gvfs-" version ".tar.xz"))
5500 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
5501 ;; This patch may be removed when upgrading to version 1.46.x.
5503 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
5504 (build-system meson-build-system)
5508 (list "-Dsystemduserunitdir=no"
5510 ;; Otherwise, the RUNPATH will lack the final path component.
5511 (string-append "-Dc_link_args=-Wl,-rpath="
5512 (assoc-ref %outputs "out") "/lib/gvfs"))))
5514 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5515 ("gettext" ,gettext-minimal)
5516 ("gtk-doc" ,gtk-doc)
5517 ("pkg-config" ,pkg-config)
5518 ("xsltproc" ,libxslt)))
5521 ("docbook-xml" ,docbook-xml-4.2)
5522 ("docbook-xsl" ,docbook-xsl)
5524 ("elogind" ,elogind)
5528 ("gnome-online-accounts" ,gnome-online-accounts)
5529 ("libarchive" ,libarchive)
5530 ("libbluray" ,libbluray)
5532 ("libcdio-paranoia" ,libcdio-paranoia)
5533 ("libgcrypt" ,libgcrypt)
5534 ("libgdata" ,libgdata)
5535 ("libgphoto2" ,libgphoto2)
5536 ("libgudev" ,libgudev)
5537 ("libimobiledevice" ,libimobiledevice)
5540 ("libsecret" ,libsecret)
5541 ("libsmbclient" ,samba)
5542 ("libsoup" ,libsoup)
5543 ("libxml2" ,libxml2)
5544 ("openssh" ,openssh)
5546 ("udisks" ,udisks)))
5547 (home-page "https://wiki.gnome.org/gvfs/")
5548 (synopsis "Userspace virtual file system for GIO")
5550 "GVFS is a userspace virtual file system designed to work with the I/O
5551 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5552 to all applications using the GIO API. It also supports exposing the GVFS
5553 mounts to non-GIO applications using FUSE.
5555 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5557 (license license:lgpl2.0+)))
5566 (url "https://github.com/hughsie/libgusb")
5568 (file-name (git-file-name name version))
5571 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5572 (build-system meson-build-system)
5574 `(("gobject-introspection" ,gobject-introspection)
5575 ("pkg-config" ,pkg-config)
5577 ("gtk-doc" ,gtk-doc)))
5579 ;; Both of these are required by gusb.pc.
5581 ("libusb" ,libusb)))
5583 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5584 (home-page "https://github.com/hughsie/libgusb")
5585 (synopsis "GLib binding for libusb1")
5587 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5588 asynchronous control, bulk and interrupt transfers with proper cancellation
5589 and integration into a mainloop. This makes it easy to integrate low level
5590 USB transfers with your high-level application or system daemon.")
5591 (license license:lgpl2.1+)))
5593 (define-public simple-scan
5595 (name "simple-scan")
5600 (uri (string-append "mirror://gnome/sources/simple-scan/"
5601 (version-major+minor version) "/"
5602 "simple-scan-" version ".tar.xz"))
5604 (base32 "0gsz7jqk0fdj0mama3cnss9i1adw18cpdnlcjcjh4r5qijmvx0vh"))))
5605 (build-system meson-build-system)
5606 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5608 '(#:glib-or-gtk? #t))
5614 ("gdk-pixbuf" ,gdk-pixbuf)
5616 ("libsane" ,sane-backends)))
5618 `(("gettext" ,gettext-minimal)
5619 ("itstool" ,itstool)
5620 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5621 ("pkg-config" ,pkg-config)
5623 ("xmllint" ,libxml2)))
5624 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5625 (synopsis "Document and image scanner")
5627 "Document Scanner is an easy-to-use application that lets you connect your
5628 scanner and quickly capture images and documents in an appropriate format. It
5629 supports any scanner for which a suitable SANE driver is available, which is
5630 almost all of them.")
5631 (license license:gpl3+)))
5633 (define-public eolie
5636 (version "0.9.98.1")
5639 (uri (string-append "https://adishatz.org/eolie/eolie-"
5643 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5644 (build-system meson-build-system)
5648 (modify-phases %standard-phases
5649 (add-after 'unpack 'skip-gtk-update-icon-cache
5650 ;; Don't create 'icon-theme.cache'.
5652 (substitute* "meson_post_install.py"
5653 (("gtk-update-icon-cache") "true"))
5655 (add-after 'wrap 'wrap-more
5656 (lambda* (#:key inputs outputs #:allow-other-keys)
5657 (let* ((out (assoc-ref outputs "out"))
5658 ;; These libraries must be on LD_LIBRARY_PATH.
5659 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5660 "atk" "gtk+" "gsettings-desktop-schemas"
5661 "gobject-introspection"))
5664 (string-append (assoc-ref inputs lib) "/lib"))
5667 (wrap-program (string-append out "/bin/eolie")
5668 `("LD_LIBRARY_PATH" ":" prefix (,path))
5669 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5670 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5673 `(("intltool" ,intltool)
5674 ("itstool" ,itstool)
5675 ("pkg-config" ,pkg-config)
5677 ("glib:bin" ,glib "bin")))
5679 `(("gobject-introspection" ,gobject-introspection)
5680 ("glib-networking" ,glib-networking)
5683 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5684 ("python" ,python-wrapper)
5685 ("python-dateutil" ,python-dateutil)
5686 ("python-pyfxa" ,python-pyfxa)
5687 ("python-pygobject" ,python-pygobject)
5688 ("python-pycairo" ,python-pycairo)
5689 ("python-pycrypto" ,python-pycrypto)
5690 ("libsecret" ,libsecret)
5691 ("gtkspell3" ,gtkspell3)
5692 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5693 ("webkitgtk" ,webkitgtk)))
5694 (home-page "https://wiki.gnome.org/Apps/Eolie")
5695 (synopsis "Web browser for GNOME")
5697 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5698 a secret password store, an adblocker, and a modern UI.")
5699 (license license:gpl3+)))
5701 (define-public epiphany
5707 (uri (string-append "mirror://gnome/sources/epiphany/"
5708 (version-major+minor version) "/"
5709 "epiphany-" version ".tar.xz"))
5712 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5714 (build-system meson-build-system)
5718 (modify-phases %standard-phases
5719 (add-after 'unpack 'skip-gtk-update-icon-cache
5720 ;; Don't create 'icon-theme.cache'.
5722 (substitute* "post_install.py"
5723 (("gtk-update-icon-cache") "true"))
5725 (add-after 'unpack 'disable-failing-tests
5727 (substitute* "tests/meson.build"
5728 ;; embed_shell fails, because webkitgtk apparently no longer supports
5729 ;; overriding the ftp schema
5730 ;; web_app_utils fails due to missing network access
5731 (("(embed_shell|web_app_utils)_test,")
5732 "find_program('sh'), args: ['-c', 'exit 77'],"))
5734 (add-before 'check 'pre-check
5736 ;; Tests require a running X server.
5737 (system "Xvfb :1 &")
5738 (setenv "DISPLAY" ":1")
5741 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5742 (list (string-append "-Dc_link_args=-Wl,-rpath="
5743 (assoc-ref %outputs "out") "/lib/epiphany"))))
5745 `(("dconf" ,dconf)))
5747 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5748 ("glib:bin" ,glib "bin") ; for glib-mkenums
5749 ("intltool" ,intltool)
5750 ("itstool" ,itstool)
5751 ("pkg-config" ,pkg-config)
5752 ("xmllint" ,libxml2)
5753 ("xorg-server" ,xorg-server-for-tests)))
5757 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5758 ("glib-networking" ,glib-networking)
5759 ("gnome-desktop" ,gnome-desktop)
5760 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5761 ("json-glib" ,json-glib)
5762 ("iso-codes" ,iso-codes)
5763 ("libdazzle" ,libdazzle)
5764 ("libnotify" ,libnotify)
5765 ("libsecret" ,libsecret)
5766 ("libxslt" ,libxslt)
5767 ("nettle" ,nettle) ; for hogweed
5769 ("webkitgtk" ,webkitgtk)))
5770 (home-page "https://wiki.gnome.org/Apps/Web")
5771 (synopsis "GNOME web browser")
5773 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5774 principles are simplicity and standards compliance.")
5775 (license license:gpl2+)))
5777 (define-public d-feet
5783 (uri (string-append "mirror://gnome/sources/" name "/"
5784 (version-major+minor version) "/"
5785 name "-" version ".tar.xz"))
5788 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5789 (build-system glib-or-gtk-build-system)
5791 '(#:out-of-source? #f ; tests need to run in the source directory.
5793 (modify-phases %standard-phases
5797 ;; The test suite requires a running X server.
5798 (system "Xvfb :1 &")
5799 (setenv "DISPLAY" ":1")
5800 ;; Don't fail on missing '/etc/machine-id'.
5801 (setenv "DBUS_FATAL_WARNINGS" "0")
5802 ;; tests.py and window.py don't meet E402:
5803 ;; E402 module level import not at top of file
5804 (substitute* "src/tests/Makefile"
5805 (("--ignore=E123") "--ignore=E123,E402"))
5808 'install 'wrap-program
5809 (lambda* (#:key outputs #:allow-other-keys)
5810 (let ((prog (string-append (assoc-ref outputs "out")
5813 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5814 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5817 `(("intltool" ,intltool)
5818 ("itstool" ,itstool)
5819 ("pkg-config" ,pkg-config)
5820 ("python-pep8" ,python-pep8)
5821 ("xmllint" ,libxml2)
5822 ("xorg-server" ,xorg-server-for-tests)))
5824 `(("gobject-introspection" ,gobject-introspection)
5826 ("python" ,python-wrapper)
5827 ("hicolor-icon-theme" ,hicolor-icon-theme)
5828 ("python-pygobject" ,python-pygobject)))
5829 (home-page "https://wiki.gnome.org/Apps/DFeet")
5830 (synopsis "D-Bus debugger")
5832 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5833 of running programs and invoke methods on those interfaces.")
5834 (license license:gpl2+)))
5836 (define-public yelp-xsl
5842 (uri (string-append "mirror://gnome/sources/" name "/"
5843 (version-major+minor version) "/"
5844 name "-" version ".tar.xz"))
5847 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5848 (build-system gnu-build-system)
5850 `(("gettext-minimal" ,gettext-minimal)
5851 ("itstool" ,itstool)
5852 ("xmllint" ,libxml2)))
5853 (home-page "https://wiki.gnome.org/Apps/Yelp")
5854 (synopsis "XSL stylesheets for Yelp")
5856 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5857 to format Docbook and Mallard documents.")
5858 (license license:gpl2+)))
5866 (uri (string-append "mirror://gnome/sources/" name "/"
5867 (version-major+minor version) "/"
5868 name "-" version ".tar.xz"))
5871 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5872 (build-system glib-or-gtk-build-system)
5874 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5875 ("intltool" ,intltool)
5876 ("itstool" ,itstool)
5877 ("pkg-config" ,pkg-config)))
5879 `(("dconf" ,dconf)))
5881 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5882 ("libxslt" ,libxslt)
5884 ("webkitgtk" ,webkitgtk)
5885 ("yelp-xsl" ,yelp-xsl)))
5886 (home-page "https://wiki.gnome.org/Apps/Yelp")
5887 (synopsis "GNOME help browser")
5889 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5890 man, info, and HTML documents. It can locate documents according to the
5891 freedesktop.org help system specification.")
5892 (license license:gpl2+)))
5894 (define-public yelp-tools
5900 (uri (string-append "mirror://gnome/sources/" name "/"
5901 (version-major+minor version) "/"
5902 name "-" version ".tar.xz"))
5905 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5906 (build-system gnu-build-system)
5908 `(("pkg-config" ,pkg-config)))
5910 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5911 `(("itstool" ,itstool)
5912 ("xmllint" ,libxml2)
5913 ("xsltproc" ,libxslt)))
5915 `(("yelp-xsl" ,yelp-xsl)))
5916 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5917 (synopsis "Yelp documentation tools")
5919 "Yelp-tools is a collection of scripts and build utilities to help create,
5920 manage, and publish documentation for Yelp and the web. Most of the heavy
5921 lifting is done by packages like yelp-xsl and itstool. This package just
5922 wraps things up in a developer-friendly way.")
5923 (license license:gpl2+)))
5925 (define-public libgee
5931 (uri (string-append "mirror://gnome/sources/libgee/"
5932 (version-major+minor version) "/"
5933 "libgee-" version ".tar.xz"))
5936 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5937 (build-system gnu-build-system)
5940 (modify-phases %standard-phases
5941 (add-after 'unpack 'fix-introspection-install-dir
5942 (lambda* (#:key outputs #:allow-other-keys)
5943 (let ((out (assoc-ref outputs "out")))
5944 (substitute* "gee/Makefile.in"
5945 (("@INTROSPECTION_GIRDIR@")
5946 (string-append out "/share/gir-1.0/"))
5947 (("@INTROSPECTION_TYPELIBDIR@")
5948 (string-append out "/lib/girepository-1.0/")))))))))
5950 `(("glib" ,glib "bin")
5951 ("pkg-config" ,pkg-config)))
5954 ("gobject-introspection" ,gobject-introspection)))
5955 (home-page "https://wiki.gnome.org/Projects/Libgee")
5956 (synopsis "GObject collection library")
5958 "Libgee is a utility library providing GObject-based interfaces and
5959 classes for commonly used data structures.")
5960 (license license:lgpl2.1+)))
5962 (define-public gexiv2
5968 (uri (string-append "mirror://gnome/sources/" name "/"
5969 (version-major+minor version) "/"
5970 name "-" version ".tar.xz"))
5973 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
5974 (build-system meson-build-system)
5977 ("glib" ,glib "bin")
5978 ("pkg-config" ,pkg-config)
5981 ;; Listed in "Requires" section of gexiv2.pc
5982 `(("exiv2" ,exiv2)))
5985 ("gobject-introspection" ,gobject-introspection)))
5986 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5987 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5989 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5990 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5991 metadata in photo and video files of various formats.")
5992 (license license:gpl2+)))
5994 (define-public shotwell
6000 (uri (string-append "mirror://gnome/sources/shotwell/"
6001 (version-major+minor version) "/"
6002 "shotwell-" version ".tar.xz"))
6005 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
6006 (build-system meson-build-system)
6010 (modify-phases %standard-phases
6011 (add-after 'unpack 'skip-gtk-update-icon-cache
6013 (substitute* "build-aux/meson/postinstall.py"
6014 (("gtk-update-icon-cache") (which "true"))
6015 (("update-desktop-database") (which "true")))
6018 `(("dconf" ,dconf)))
6020 `(("gettext" ,gettext-minimal)
6021 ("glib:bin" ,glib "bin")
6022 ("itstool" ,itstool)
6023 ("pkg-config" ,pkg-config)
6028 ("gst-plugins-base" ,gst-plugins-base)
6029 ("gstreamer" ,gstreamer)
6030 ("json-glib" ,json-glib)
6031 ("libgdata" ,libgdata)
6033 ("libgphoto2" ,libgphoto2)
6034 ("libgudev" ,libgudev)
6036 ("libsoup" ,libsoup)
6037 ("libxml2" ,libxml2)
6039 ("webkitgtk" ,webkitgtk)))
6040 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6041 (synopsis "Photo manager for GNOME 3")
6043 "Shotwell is a digital photo manager designed for the GNOME desktop
6044 environment. It allows you to import photos from disk or camera, organize
6045 them by keywords and events, view them in full-window or fullscreen mode, and
6046 share them with others via social networking and more.")
6047 (license license:lgpl2.1+)))
6049 (define-public file-roller
6051 (name "file-roller")
6055 (uri (string-append "mirror://gnome/sources/file-roller/"
6056 (version-major+minor version) "/"
6057 "file-roller-" version ".tar.xz"))
6060 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
6061 (build-system meson-build-system)
6063 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6064 ("intltool" ,intltool)
6065 ("itstool" ,itstool)
6066 ("pkg-config" ,pkg-config)
6067 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6068 ("glib:bin" ,glib "bin")))
6069 ;; TODO: Add libnautilus.
6072 ("gdk-pixbuf" ,gdk-pixbuf)
6073 ("json-glib" ,json-glib)
6074 ("libarchive" ,libarchive)
6075 ("libnotify" ,libnotify)
6077 ("libxml2" ,libxml2)))
6078 (synopsis "Graphical archive manager for GNOME")
6079 (description "File Roller is an archive manager for the GNOME desktop
6080 environment that allows users to view, unpack, and create compressed archives
6081 such as gzip tarballs.")
6082 (home-page "http://fileroller.sourceforge.net/")
6083 (license license:gpl2+)))
6085 (define-public gnome-session
6087 (name "gnome-session")
6091 (uri (string-append "mirror://gnome/sources/" name "/"
6092 (version-major+minor version) "/"
6093 name "-" version ".tar.xz"))
6096 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6100 (modify-phases %standard-phases
6101 (add-before 'configure 'pre-configure
6102 (lambda* (#:key outputs #:allow-other-keys)
6103 ;; Use elogind instead of systemd.
6104 (substitute* "meson.build"
6105 (("libsystemd-login") "libelogind")
6106 (("and libsystemd_daemon_dep.found.*") ","))
6107 (substitute* "gnome-session/gsm-systemd.c"
6108 (("#include <systemd/sd-login.h>")
6109 "#include <elogind/sd-login.h>"))
6110 ;; Remove uses of the systemd daemon.
6111 (substitute* "gnome-session/gsm-autostart-app.c"
6112 (("#ifdef HAVE_SYSTEMD") "#if 0"))
6114 (add-after 'install 'wrap-gnome-session
6115 (lambda* (#:key inputs outputs #:allow-other-keys)
6116 ;; Make sure 'gnome-session' finds the 'gsettings' program.
6117 (let ((glib (assoc-ref inputs "glib:bin"))
6118 (out (assoc-ref outputs "out")))
6119 (wrap-program (string-append out "/bin/gnome-session")
6120 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6124 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
6125 "-Dman=false" ; FIXME: disabled because of docbook validation error
6126 "-Dsystemd_journal=false")))
6127 (build-system meson-build-system)
6129 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6130 ("pkg-config" ,pkg-config)
6131 ("intltool" ,intltool)
6132 ("xsltproc" ,libxslt)
6133 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
6134 ("docbook-xsl" ,docbook-xsl)
6135 ("docbook-xml" ,docbook-xml)
6138 `(("elogind" ,elogind)
6139 ("gnome-desktop" ,gnome-desktop)
6140 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6142 ("json-glib" ,json-glib)
6144 ("libxcomposite" ,libxcomposite)
6145 ("libxtst" ,libxtst)
6148 ("xtrans" ,xtrans)))
6149 (synopsis "Session manager for GNOME")
6151 "This package contains the GNOME session manager, as well as a
6152 configuration program to choose applications starting on login.")
6153 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
6154 (license license:gpl2+)))
6162 (uri (string-append "mirror://gnome/sources/" name "/"
6163 (version-major+minor version) "/"
6164 name "-" version ".tar.xz"))
6167 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
6168 (build-system gnu-build-system)
6171 (modify-phases %standard-phases
6175 ;; The test suite requires a running X server.
6176 (system "Xvfb :1 &")
6177 (setenv "DISPLAY" ":1")
6179 ;; For the missing /etc/machine-id.
6180 (setenv "DBUS_FATAL_WARNINGS" "0")
6182 ;; Our mozjs-38 package does not compile the required Intl API
6183 ;; support for these failing tests.
6184 (substitute* "installed-tests/js/testLocale.js"
6185 ((".*toBeDefined.*") "")
6186 ((".*expect\\(datestr\\).*") ""))
6187 (substitute* "installed-tests/scripts/testCommandLine.sh"
6192 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
6193 ("pkg-config" ,pkg-config)
6194 ("xmllint" ,libxml2)
6196 ("dbus-launch" ,dbus)
6197 ("dconf" ,dconf) ; required to properly store settings
6198 ("uuidgen" ,util-linux)
6199 ("xvfb" ,xorg-server-for-tests)))
6201 ;; These are all in the Requires.private field of gjs-1.0.pc.
6203 ("gobject-introspection" ,gobject-introspection)
6204 ("mozjs" ,mozjs-60)))
6207 ("readline" ,readline)))
6208 (synopsis "Javascript bindings for GNOME")
6209 (home-page "https://live.gnome.org/Gjs")
6211 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6212 javascript engine and the GObject introspection framework.")
6213 (license license:gpl2+)))
6215 (define-public gedit
6221 (uri (string-append "mirror://gnome/sources/" name "/"
6222 (version-major+minor version) "/"
6223 name "-" version ".tar.xz"))
6226 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
6227 (build-system meson-build-system)
6231 ;; Otherwise, the RUNPATH will lack the final path component.
6232 (list (string-append "-Dc_link_args=-Wl,-rpath="
6233 (assoc-ref %outputs "out") "/lib/gedit"))
6235 ;; XXX: Generated .h files are sometimes used before being built.
6236 #:parallel-build? #f
6239 (modify-phases %standard-phases
6240 (add-after 'unpack 'skip-gtk-update-icon-cache
6241 ;; Don't create 'icon-theme.cache'.
6243 (substitute* "build-aux/meson/post_install.py"
6244 (("gtk-update-icon-cache") (which "true")))
6246 (add-after 'unpack 'patch-libgd-fetch
6247 (lambda* (#:key inputs #:allow-other-keys)
6248 (let ((libgd (assoc-ref inputs "libgd")))
6249 ;; Calling git is unnecessary because libgd is fetched as a
6250 ;; native input to this package.
6251 (substitute* "meson.build"
6253 (copy-recursively libgd "subprojects/libgd")
6255 (add-after 'install 'wrap-gedit
6256 (lambda* (#:key inputs outputs #:allow-other-keys)
6257 (let ((out (assoc-ref outputs "out"))
6258 (gtksourceview (assoc-ref inputs "gtksourceview"))
6259 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6260 (python-path (getenv "PYTHONPATH")))
6261 (wrap-program (string-append out "/bin/gedit")
6263 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6264 `("PYTHONPATH" ":" prefix (,python-path))
6265 ;; For language-specs.
6266 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6270 `(("dconf" ,dconf)))
6272 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6273 ("intltool" ,intltool)
6274 ("itstool" ,itstool)
6275 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6276 ("gobject-introspection" ,gobject-introspection)
6281 (url "https://gitlab.gnome.org/GNOME/libgd")
6282 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6283 (file-name (git-file-name "libgd" version))
6285 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6286 ("pkg-config" ,pkg-config)))
6291 ("gtksourceview" ,gtksourceview)
6292 ("libpeas" ,libpeas)
6293 ("libxml2" ,libxml2)
6294 ("iso-codes" ,iso-codes)
6295 ("python-pygobject" ,python-pygobject)
6297 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6300 ("adwaita-icon-theme" ,adwaita-icon-theme)
6301 ("libsoup" ,libsoup)
6302 ("gnome-desktop" ,gnome-desktop)))
6303 (home-page "https://wiki.gnome.org/Apps/Gedit")
6304 (synopsis "GNOME text editor")
6305 (description "While aiming at simplicity and ease of use, gedit is a
6306 powerful general purpose text editor.")
6307 (license license:gpl2+)))
6309 (define-public zenity
6315 (uri (string-append "mirror://gnome/sources/zenity/"
6316 (version-major+minor version) "/"
6317 "zenity-" version ".tar.xz"))
6320 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6321 (build-system gnu-build-system)
6323 `(("gettext" ,gettext-minimal)
6324 ("itstool" ,itstool)
6325 ("pkg-config" ,pkg-config)))
6327 `(("libnotify" ,libnotify)
6328 ("webkitgtk" ,webkitgtk)))
6329 (synopsis "Display graphical dialog boxes from shell scripts")
6330 (home-page "https://www.gnome.org")
6332 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6333 to display dialog boxes from the commandline and shell scripts.")
6334 (license license:lgpl2.0+)))
6336 (define-public mutter
6342 (uri (string-append "mirror://gnome/sources/" name "/"
6343 (version-major+minor version) "/"
6344 name "-" version ".tar.xz"))
6347 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6348 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6349 ;; versions of cogl and clutter. As a result, many of the inputs,
6350 ;; propagated-inputs, and configure flags used in cogl and clutter are
6351 ;; needed here as well.
6352 (build-system meson-build-system)
6354 '(;; XXX: All mutter tests fail with the following error:
6355 ;; Settings schema 'org.gnome.mutter' is not installed
6359 ;; TODO: Enable profiler when Sysprof is packaged.
6360 (list "-Dprofiler=false"
6361 ;; Otherwise, the RUNPATH will lack the final path component.
6362 (string-append "-Dc_link_args=-Wl,-rpath="
6363 (assoc-ref %outputs "out") "/lib:"
6364 (assoc-ref %outputs "out") "/lib/mutter-5")
6366 ;; The following flags are needed for the bundled clutter
6367 (string-append "-Dxwayland_path="
6368 (assoc-ref %build-inputs "xorg-server-xwayland")
6371 ;; the remaining flags are needed for the bundled cogl
6372 (string-append "-Dopengl_libname="
6373 (assoc-ref %build-inputs "mesa")
6375 #:phases (modify-phases %standard-phases
6376 (add-after 'unpack 'fix-build-with-mesa-20
6378 ;; Mimic upstream commit a444a4c5f58ea516ad for
6379 ;; compatibility with Mesa 20. Remove for 3.36.
6380 (substitute* '("src/backends/meta-egl-ext.h"
6381 "src/backends/meta-egl.c"
6382 "src/backends/meta-egl.h")
6383 (("#include <EGL/eglext\\.h>" all)
6384 (string-append all "\n#include <EGL/eglmesaext.h>")))
6385 (substitute* "cogl/cogl/meson.build"
6386 (("#include <EGL/eglext\\.h>" all)
6387 (string-append all "\\n#include <EGL/eglmesaext.h>")))
6390 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6391 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6392 ("gobject-introspection" ,gobject-introspection)
6393 ("intltool" ,intltool)
6394 ("pkg-config" ,pkg-config)
6395 ("xorg-server" ,xorg-server-for-tests)
6397 ("autoconf" ,autoconf)
6398 ("automake" ,automake)
6399 ("libtool" ,libtool)))
6401 `(;; libmutter.pc refers to these:
6402 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6404 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6407 ("gdk-pixbuf" ,gdk-pixbuf)
6409 ("json-glib" ,json-glib)
6410 ("libinput" ,libinput)
6412 ("libxcomposite" ,libxcomposite)
6413 ("libxdamage" ,libxdamage)
6414 ("libxext" ,libxext)
6415 ("libxfixes" ,libxfixes)
6416 ("libxkbcommon" ,libxkbcommon)
6417 ("libxrandr" ,libxrandr)
6421 ("xinput" ,xinput)))
6423 `(("elogind" ,elogind)
6424 ("gnome-desktop" ,gnome-desktop)
6425 ("gnome-settings-daemon" ,gnome-settings-daemon)
6426 ("libcanberra-gtk" ,libcanberra)
6427 ("libgudev" ,libgudev)
6430 ("libwacom" ,libwacom)
6431 ("libxkbfile" ,libxkbfile)
6432 ("libxrandr" ,libxrandr)
6433 ("libxtst" ,libxtst)
6434 ("pipewire" ,pipewire)
6435 ("startup-notification" ,startup-notification)
6436 ("upower-glib" ,upower)
6437 ("xkeyboard-config" ,xkeyboard-config)
6438 ("xorg-server-xwayland" ,xorg-server-xwayland)
6439 ("zenity" ,zenity)))
6440 (synopsis "Window and compositing manager")
6441 (home-page "https://www.gnome.org")
6443 "Mutter is a window and compositing manager that displays and manages your
6444 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6445 Clutter toolkit with solid window-management logic inherited from the Metacity
6447 (license license:gpl2+)))
6449 (define-public gnome-online-accounts
6451 (name "gnome-online-accounts")
6455 (uri (string-append "mirror://gnome/sources/" name "/"
6456 (version-major+minor version) "/"
6457 name "-" version ".tar.xz"))
6460 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6461 (outputs '("out" "lib"))
6462 (build-system glib-or-gtk-build-system)
6465 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6467 (modify-phases %standard-phases
6468 (add-before 'configure 'patch-libgoa-output
6469 (lambda* (#:key outputs #:allow-other-keys)
6470 (let ((lib (assoc-ref outputs "lib")))
6471 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6473 (("@exec_prefix@") lib)
6474 (("@libdir@") (string-append lib "/lib"))
6475 (("@includedir@") (string-append lib "/include"))
6476 (("@datadir@") (string-append lib "/share")))
6477 ;; Make sure gobject-introspection knows about the output
6478 ;; too (see <https://bugs.gnu.org/36535>).
6479 (setenv "outputs" "out lib")
6482 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6483 ("gobject-introspection" ,gobject-introspection)
6484 ("intltool" ,intltool)
6485 ("pkg-config" ,pkg-config)
6487 ("xsltproc" ,libxslt)))
6489 `(("glib" ,glib) ; required by goa-1.0.pc
6490 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6492 `(("docbook-xsl" ,docbook-xsl)
6493 ("json-glib" ,json-glib)
6494 ("libsecret" ,libsecret)
6496 ("webkitgtk" ,webkitgtk)))
6497 (synopsis "Single sign-on framework for GNOME")
6498 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6500 "GNOME Online Accounts provides interfaces so that applications and
6501 libraries in GNOME can access the user's online accounts. It has providers for
6502 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6503 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6504 (license license:lgpl2.0+)))
6506 (define-public evolution-data-server
6508 (name "evolution-data-server")
6512 (uri (string-append "mirror://gnome/sources/" name "/"
6513 (version-major+minor version) "/"
6514 name "-" version ".tar.xz"))
6515 (patches (search-patches "evolution-data-server-locales.patch"
6516 "evolution-data-server-libical-compat.patch"))
6519 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6520 (build-system cmake-build-system)
6523 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6524 (runpaths (map (lambda (s)
6525 (string-append lib "/evolution-data-server/" s))
6526 '("addressbook-backends" "calendar-backends"
6527 "camel-providers" "credential-modules"
6528 "registry-modules"))))
6529 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6530 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6531 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6532 "-DENABLE_VALA_BINDINGS=ON"
6533 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6534 (string-append lib "/evolution-data-server;")
6535 (string-join runpaths ";"))
6536 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6538 (modify-phases %standard-phases
6539 (add-after 'unpack 'disable-failing-tests
6541 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6542 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6543 (delete-file-recursively "tests/book-migration")
6544 (substitute* "tests/CMakeLists.txt"
6545 (("add_subdirectory\\(book-migration\\)") ""))
6547 (add-after 'unpack 'patch-paths
6549 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6550 "tests/libedata-book/data-test-utils.c"
6551 "tests/libedata-book/test-book-cache-utils.c"
6552 "tests/libedata-cal/test-cal-cache-utils.c")
6553 (("/bin/rm") (which "rm")))
6555 (add-before 'configure 'dont-override-rpath
6557 (substitute* "CMakeLists.txt"
6558 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6559 ;; Remove it so the configure flag is respected.
6560 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6563 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6564 ("gobject-introspection" ,gobject-introspection)
6566 ("intltool" ,intltool)
6567 ("pkg-config" ,pkg-config)
6569 ("python" ,python-wrapper)))
6571 ;; These are all in the Requires field of .pc files.
6573 ("libical" ,libical)
6574 ("libsecret" ,libsecret)
6575 ("libsoup" ,libsoup)
6577 ("sqlite" ,sqlite)))
6581 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6582 ("json-glib" ,json-glib)
6583 ("libcanberra" ,libcanberra)
6584 ("libgweather" ,libgweather)
6585 ("mit-krb5" ,mit-krb5)
6586 ("openldap" ,openldap)
6587 ("webkitgtk" ,webkitgtk)))
6588 (synopsis "Store address books and calendars")
6589 (home-page "https://wiki.gnome.org/Apps/Evolution")
6591 "This package provides a unified backend for programs that work with
6592 contacts, tasks, and calendar information. It was originally developed for
6593 Evolution (hence the name), but is now used by other packages as well.")
6594 (license license:lgpl2.0)))
6596 (define-public caribou
6602 (uri (string-append "mirror://gnome/sources/" name "/"
6603 (version-major+minor version) "/"
6604 name "-" version ".tar.xz"))
6607 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6608 (build-system glib-or-gtk-build-system)
6611 (modify-phases %standard-phases
6614 (lambda* (#:key outputs #:allow-other-keys)
6615 (let ((out (assoc-ref outputs "out")))
6616 ;; Use absolute shared library path in Caribou-1.0.typelib.
6617 (substitute* "libcaribou/Makefile"
6618 (("--shared-library=libcaribou.so")
6619 (string-append "--shared-library="
6620 out "/lib/libcaribou.so")))
6622 (add-after 'install 'wrap-programs
6623 (lambda* (#:key outputs #:allow-other-keys)
6624 (let* ((out (assoc-ref outputs "out"))
6625 (python-path (getenv "PYTHONPATH"))
6626 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6630 `("PYTHONPATH" ":" prefix (,python-path))
6631 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6632 (list (string-append out "/bin/caribou-preferences")
6633 (string-append out "/libexec/antler-keyboard"))))
6636 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6637 ("gobject-introspection" ,gobject-introspection)
6638 ("intltool" ,intltool)
6639 ("pkg-config" ,pkg-config)
6642 ("xsltproc" ,libxslt)))
6644 ;; caribou-1.0.pc refers to all these.
6645 `(("libgee" ,libgee)
6646 ("libxklavier" ,libxklavier)
6647 ("libxtst" ,libxtst)
6650 `(("clutter" ,clutter)
6653 ("python-pygobject" ,python-pygobject)))
6654 (synopsis "Text entry and UI navigation application")
6655 (home-page "https://wiki.gnome.org/Projects/Caribou")
6657 "Caribou is an input assistive technology intended for switch and pointer
6659 (license license:lgpl2.1)))
6661 (define-public network-manager
6663 (name "network-manager")
6667 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6668 (version-major+minor version) "/"
6669 "NetworkManager-" version ".tar.xz"))
6670 (patches (search-patches "network-manager-plugin-path.patch"))
6673 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
6674 (modules '((guix build utils)))
6677 (substitute* "src/devices/wwan/nm-modem-manager.c"
6678 (("systemd") "elogind"))
6680 (build-system meson-build-system)
6682 "doc")) ; 8 MiB of gtk-doc HTML
6685 (let ((out (assoc-ref %outputs "out"))
6686 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6689 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
6691 (string-append "-Dc_link_args=-Wl,-rpath="
6693 out "/lib/NetworkManager/" ,version)
6694 "-Dsystemd_journal=false"
6695 "-Dsession_tracking=elogind"
6696 "-Dsuspend_resume=elogind"
6697 "-Dsystemdsystemunitdir=no"
6698 "-Dsession_tracking_consolekit=false"
6707 "--localstatedir=/var"
6708 (string-append "-Dudev_dir="
6710 (string-append "-Ddbus_conf_dir="
6711 out "/etc/dbus-1/system.d")
6713 (string-append "-Ddhclient=" dhclient)))
6715 (modify-phases %standard-phases
6716 (add-before 'configure 'pre-configure
6718 ;; These tests try to test aspects of network-manager's
6719 ;; functionality within restricted containers, but they don't
6720 ;; cope with being already in the Guix build jail as that jail
6721 ;; lacks some features that they would like to proxy over (like
6723 (substitute* "src/platform/tests/meson.build"
6724 ((".*test-address-linux.*") "")
6725 ((".*test-cleanup-linux.*") "")
6726 ((".*test-link-linux.*") "")
6727 ((".*test-route-linux.*") ""))
6728 (substitute* "src/devices/tests/meson.build"
6729 ((".*test-acd.*") "")
6730 ((".*test-lldp.*") ""))
6732 (add-after 'unpack 'patch-docbook-xml
6733 (lambda* (#:key inputs #:allow-other-keys)
6734 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
6735 "/xml/dtd/docbook")))
6736 (substitute* (find-files "." ".*\\.(xsl|xml)")
6737 (("http://.*/docbookx\\.dtd")
6738 (string-append xmldoc "/docbookx.dtd")))
6740 (add-before 'check 'pre-check
6742 ;; For the missing /etc/machine-id.
6743 (setenv "DBUS_FATAL_WARNINGS" "0")
6745 (add-before 'install 'no-polkit-magic
6746 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
6748 (setenv "PKEXEC_UID" "something")
6750 (add-after 'install 'move-doc
6751 (lambda* (#:key outputs #:allow-other-keys)
6752 (let ((out (assoc-ref outputs "out"))
6753 (doc (assoc-ref outputs "doc")))
6754 (mkdir-p (string-append doc "/share"))
6755 (for-each (lambda (directory)
6756 (copy-recursively (string-append out directory)
6757 (string-append doc directory))
6758 (delete-file-recursively
6759 (string-append out directory)))
6760 '("/share/doc" "/share/gtk-doc"))
6765 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6766 ("gtk-doc" ,gtk-doc)
6767 ("gobject-introspection" ,gobject-introspection)
6768 ("docbook-xml" ,docbook-xml)
6769 ("docbook-xsl" ,docbook-xsl)
6770 ("intltool" ,intltool)
6771 ("libxslt" ,libxslt)
6772 ("libxml2" ,libxml2)
6773 ("pkg-config" ,pkg-config)
6776 ("python" ,python-wrapper)
6777 ("python-dbus" ,python-dbus)
6778 ("python-pygobject" ,python-pygobject)))
6781 ("cyrus-sasl" ,cyrus-sasl)
6782 ("dbus-glib" ,dbus-glib)
6783 ("dnsmasq" ,dnsmasq)
6786 ("iptables" ,iptables)
6787 ("isc-dhcp" ,isc-dhcp)
6788 ("iwd" ,iwd) ; wpa_supplicant alternative
6789 ("jansson" ,jansson)
6791 ("libgcrypt" ,libgcrypt)
6792 ("libgudev" ,libgudev)
6795 ("libsoup" ,libsoup)
6796 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
6797 ("modem-manager" ,modem-manager)
6798 ("newt" ,newt) ;for the 'nmtui' console interface
6799 ("openresolv" ,openresolv) ; alternative resolv.conf manager
6802 ("readline" ,readline)
6803 ("util-linux" ,util-linux)
6804 ("elogind" ,elogind)))
6805 (synopsis "Network connection manager")
6806 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6808 "NetworkManager is a system network service that manages your network
6809 devices and connections, attempting to keep active network connectivity when
6810 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6811 devices, and provides VPN integration with a variety of different VPN
6813 ;; “This NetworkManager project consists of the daemon, client tools, and
6814 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
6816 (license (list license:gpl2+
6818 (properties '((upstream-name . "NetworkManager")))))
6820 (define-public network-manager-openvpn
6822 (name "network-manager-openvpn")
6827 "mirror://gnome/sources/NetworkManager-openvpn/"
6828 (version-major+minor version)
6829 "/NetworkManager-openvpn-" version ".tar.xz"))
6832 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
6833 (build-system gnu-build-system)
6835 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6837 (modify-phases %standard-phases
6838 (add-after 'configure 'patch-path
6839 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6840 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6842 (modprobe (string-append (assoc-ref inputs "kmod")
6844 (pretty-ovpn (string-append "\"" ovpn "\"")))
6848 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6849 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6850 (("\"/sbin/openvpn\"") pretty-ovpn)
6851 (("/sbin/modprobe") modprobe)))
6852 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6855 `(("pkg-config" ,pkg-config)
6856 ("intltool" ,intltool)))
6860 ("openvpn" ,openvpn)
6861 ("network-manager" ,network-manager)
6863 ("libsecret" ,libsecret)))
6864 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6865 (synopsis "OpenVPN plug-in for NetworkManager")
6867 "This extension of NetworkManager allows it to take care of connections
6868 to virtual private networks (VPNs) via OpenVPN.")
6869 (license license:gpl2+)
6870 (properties `((upstream-name . "NetworkManager-openvpn")))))
6872 (define-public network-manager-vpnc
6874 (name "network-manager-vpnc")
6879 "mirror://gnome/sources/NetworkManager-vpnc/"
6880 (version-major+minor version)
6881 "/NetworkManager-vpnc-" version ".tar.xz"))
6884 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6885 (build-system gnu-build-system)
6887 `(#:configure-flags '("--enable-absolute-paths"
6888 "--localstatedir=/var"
6889 ;; libnm-glib has been removed from network-manager
6890 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
6891 "--with-libnm-glib=no")
6893 (modify-phases %standard-phases
6894 (add-after 'configure 'patch-path
6895 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6896 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6898 (modprobe (string-append (assoc-ref inputs "kmod")
6900 (pretty-ovpn (string-append "\"" vpnc "\"")))
6901 (substitute* "src/nm-vpnc-service.c"
6902 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6903 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6904 (("\"/sbin/vpnc\"") pretty-ovpn)
6905 (("/sbin/modprobe") modprobe)))
6908 `(("pkg-config" ,pkg-config)
6909 ("intltool" ,intltool)))
6914 ("network-manager" ,network-manager)
6916 ("libsecret" ,libsecret)))
6917 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6918 (synopsis "VPNC plug-in for NetworkManager")
6920 "Support for configuring virtual private networks based on VPNC.
6921 Compatible with Cisco VPN concentrators configured to use IPsec.")
6922 (license license:gpl2+)
6923 (properties `((upstream-name . "NetworkManager-vpnc")))))
6925 (define-public network-manager-openconnect
6927 (name "network-manager-openconnect")
6932 "mirror://gnome/sources/NetworkManager-openconnect/"
6933 (version-major+minor version)
6934 "/NetworkManager-openconnect-" version ".tar.xz"))
6937 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6938 (build-system gnu-build-system)
6940 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6942 (modify-phases %standard-phases
6943 (add-after 'configure 'patch-path
6944 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6945 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6946 "/sbin/openconnect"))
6947 (modprobe (string-append (assoc-ref inputs "kmod")
6949 (pretty-ovpn (string-append "\"" openconnect "\"")))
6950 (substitute* "src/nm-openconnect-service.c"
6951 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
6952 (("/sbin/modprobe") modprobe)))
6955 `(("intltool" ,intltool)
6957 ("pkg-config" ,pkg-config)))
6962 ("libsecret" ,libsecret)
6963 ("libxml2" ,libxml2)
6965 ("network-manager" ,network-manager)
6966 ("openconnect" ,openconnect)))
6967 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6968 (synopsis "OpenConnect plug-in for NetworkManager")
6970 "This extension of NetworkManager allows it to take care of connections
6971 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6972 Cisco's AnyConnect SSL VPN.")
6973 (license license:gpl2+)
6974 (properties `((upstream-name . "NetworkManager-openconnect")
6976 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6977 ;; file refers to account "nm-openconnect". Specify it here
6978 ;; so that 'network-manager-service-type' creates it.
6979 (user-accounts . ("nm-openconnect"))))))
6981 (define-public mobile-broadband-provider-info
6983 (name "mobile-broadband-provider-info")
6984 (version "20190116")
6988 "mirror://gnome/sources/"
6989 "mobile-broadband-provider-info/" version "/"
6990 "mobile-broadband-provider-info-" version ".tar.xz"))
6993 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6994 (build-system gnu-build-system)
6996 `(#:tests? #f)) ; no tests
6997 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6998 (synopsis "Database of broadband connection configuration")
6999 (description "Database of broadband connection configuration.")
7000 (license license:public-domain)))
7002 (define-public network-manager-applet
7004 (name "network-manager-applet")
7008 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7009 (version-major+minor version) "/"
7010 "network-manager-applet-" version ".tar.xz"))
7013 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7014 (build-system meson-build-system)
7016 '(#:glib-or-gtk? #t))
7018 `(("intltool" ,intltool)
7019 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7020 ("gobject-introspection" ,gobject-introspection)
7021 ("gtk-doc" ,gtk-doc)
7022 ("pkg-config" ,pkg-config)))
7024 ;; libnm-gtk.pc refers to all these.
7025 `(("dbus-glib" ,dbus-glib)
7027 ("network-manager" ,network-manager)
7028 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7029 ("libnma" ,libnma)))
7032 ("libgudev" ,libgudev)
7033 ("libnotify" ,libnotify)
7034 ("libsecret" ,libsecret)
7035 ("libselinux" ,libselinux)
7036 ("jansson" ,jansson) ; for team support
7037 ("modem-manager" ,modem-manager)))
7038 (synopsis "Applet for managing network connections")
7039 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7041 "This package contains a systray applet for NetworkManager. It displays
7042 the available networks and allows users to easily switch between them.")
7043 (license license:gpl2+)))
7045 (define-public libxml++
7051 (uri (string-append "mirror://gnome/sources/" name "/"
7052 (version-major+minor version) "/"
7053 name "-" version ".tar.xz"))
7056 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7057 (build-system gnu-build-system)
7058 ;; libxml++-3.0.pc refers to all these.
7060 `(("libxml2" ,libxml2)
7061 ("glibmm" ,glibmm)))
7064 ("pkg-config" ,pkg-config)))
7065 (home-page "http://libxmlplusplus.sourceforge.net/")
7066 (synopsis "C++ wrapper for XML parser library libxml2")
7068 "This package provides a C++ wrapper for the XML parser library
7070 (license license:lgpl2.1+)))
7072 (define-public libxml++-2
7079 (uri (string-append "mirror://gnome/sources/" name "/"
7080 (version-major+minor version) "/"
7081 name "-" version ".tar.xz"))
7084 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7092 (uri (string-append "mirror://gnome/sources/" name "/"
7093 (version-major+minor version) "/"
7094 name "-" version ".tar.xz"))
7097 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7098 (patches (search-patches "gdm-default-session.patch"))))
7099 (build-system glib-or-gtk-build-system)
7102 `("--without-plymouth"
7103 "--disable-systemd-journal"
7105 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7106 ;; instead of having to replace it (i.e., stopping the mingetty
7107 ;; service for TTY 1 before starting GDM).
7108 "--with-initial-vt=7"
7110 ;; Use '/etc/environment' for locale settings instead of the
7111 ;; systemd-specific '/etc/locale.conf'.
7112 "--with-lang-file=/etc/environment"
7114 ,(string-append "--with-udevdir="
7115 (assoc-ref %outputs "out") "/lib/udev")
7117 "--localstatedir=/var"
7118 ,(string-append "--with-default-path="
7119 (string-join '("/run/setuid-programs"
7120 "/run/current-system/profile/bin"
7121 "/run/current-system/profile/sbin")
7123 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
7124 ;; XDG_DATA_DIRS so that it finds its schemas.
7125 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
7127 (modify-phases %standard-phases
7129 'configure 'pre-configure
7130 (lambda* (#:key inputs outputs #:allow-other-keys)
7131 ;; We don't have <systemd/sd-daemon.h>.
7132 (substitute* '("common/gdm-log.c"
7133 "daemon/gdm-server.c"
7134 "daemon/gdm-session-worker.c"
7135 "daemon/gdm-session-worker-job.c")
7136 (("#include <systemd/sd-daemon\\.h>") ""))
7137 ;; Use elogind for sd-login.
7138 (substitute* '("common/gdm-common.c"
7139 "daemon/gdm-local-display-factory.c"
7140 "daemon/gdm-manager.c"
7141 "libgdm/gdm-user-switching.c")
7142 (("#include <systemd/sd-login\\.h>")
7143 "#include <elogind/sd-login.h>"))
7144 ;; Check for elogind.
7145 (substitute* '("configure")
7148 ;; Look for system-installed sessions in
7149 ;; /run/current-system/profile/share.
7150 (substitute* '("libgdm/gdm-sessions.c"
7151 "daemon/gdm-session.c"
7152 "daemon/gdm-display.c"
7153 "daemon/gdm-launch-environment.c")
7155 "\"/run/current-system/profile/share/x")
7156 (("DATADIR \"/wayland")
7157 "\"/run/current-system/profile/share/wayland")
7158 (("DATADIR \"/gnome")
7159 "\"/run/current-system/profile/share/gnome"))
7160 (let ((propagate '("GDM_CUSTOM_CONF"
7164 ;; XXX: Remove this once GNOME Shell is
7165 ;; a dependency of GDM.
7167 (substitute* "daemon/gdm-session.c"
7168 (("set_up_session_environment \\(self\\);")
7169 (apply string-append
7170 "set_up_session_environment (self);\n"
7173 "gdm_session_set_environment_variable "
7174 "(self, \"" name "\","
7175 "g_getenv (\"" name "\"));\n"))
7177 ;; Find the configuration file using an environment variable.
7178 (substitute* '("common/gdm-settings.c")
7179 (("GDM_CUSTOM_CONF")
7180 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
7181 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
7182 " : GDM_CUSTOM_CONF)")))
7183 ;; Use service-supplied path to X.
7184 (substitute* '("daemon/gdm-server.c")
7185 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
7186 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
7187 (substitute* '("daemon/gdm-wayland-session.c"
7188 "daemon/gdm-x-session.c")
7189 (("\"dbus-daemon\"")
7190 "g_getenv (\"GDM_DBUS_DAEMON\")")
7192 "g_getenv (\"GDM_X_SERVER\")")
7193 (("GDMCONFDIR \"/Xsession\"")
7194 "g_getenv (\"GDM_X_SESSION\")"))
7195 ;; Use an absolute path for GNOME Session.
7196 (substitute* "daemon/gdm-launch-environment.c"
7197 (("\"gnome-session\"")
7198 (string-append "\"" (assoc-ref inputs "gnome-session")
7199 "/bin/gnome-session\"")))
7200 ;; Do not automatically select the placeholder session.
7201 (substitute* "daemon/gdm-session.c"
7202 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
7203 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
7204 "(g_strcmp0(search_dirs[i], \""
7205 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
7207 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
7208 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
7209 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
7211 ;; GDM requires that there be at least one desktop entry
7212 ;; file. This phase installs a hidden one that simply
7213 ;; fails. This enables users to use GDM with a
7214 ;; '~/.xsession' script with no other desktop entry files.
7215 ;; See <https://bugs.gnu.org/35068>.
7216 (add-after 'install 'install-placeholder-desktop-entry
7217 (lambda* (#:key inputs outputs #:allow-other-keys)
7218 (let* ((out (assoc-ref outputs "out"))
7219 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7220 (fail (string-append sessions "/fail.desktop")))
7222 (with-output-to-file fail
7226 '("[Desktop Entry]\n"
7228 "Type=Application\n"
7230 "Comment=This session fails immediately.\n"
7234 ;; GDM needs GNOME Session to run these applications. We link
7235 ;; their autostart files in `share/gdm/greeter/autostart'
7236 ;; because GDM explicitly tells GNOME Session to look there.
7238 ;; XXX: GNOME Shell should be linked here too, but currently
7239 ;; GNOME Shell depends on GDM.
7240 (add-after 'install 'link-autostart-files
7241 (lambda* (#:key inputs outputs #:allow-other-keys)
7242 (let* ((out (assoc-ref outputs "out"))
7243 (autostart (string-append out "/share/gdm/"
7244 "greeter/autostart"))
7245 (settings (assoc-ref inputs "gnome-settings-daemon")))
7247 (with-directory-excursion autostart
7248 (for-each (lambda (desktop)
7249 (symlink desktop (basename desktop)))
7250 (find-files (string-append settings "/etc/xdg"))))
7254 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7255 ("gobject-introspection" ,gobject-introspection)
7256 ("intltool" ,intltool)
7257 ("itstool" ,itstool)
7258 ("pkg-config" ,pkg-config)
7259 ("xmllint" ,libxml2)))
7261 `(("accountsservice" ,accountsservice)
7262 ("check" ,check) ; for testing
7263 ("elogind" ,elogind)
7264 ("gnome-session" ,gnome-session)
7265 ("gnome-settings-daemon" ,gnome-settings-daemon)
7267 ("iso-codes" ,iso-codes)
7268 ("libcanberra" ,libcanberra)
7269 ("linux-pam" ,linux-pam)))
7270 (synopsis "Display manager for GNOME")
7271 (home-page "https://wiki.gnome.org/Projects/GDM/")
7273 "GNOME Display Manager is a system service that is responsible for
7274 providing graphical log-ins and managing local and remote displays.")
7275 (license license:gpl2+)))
7277 (define-public libgtop
7283 (uri (string-append "mirror://gnome/sources/libgtop/"
7284 (version-major+minor version) "/"
7285 "libgtop-" version ".tar.xz"))
7288 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
7289 (build-system gnu-build-system)
7291 `(("gobject-introspection" ,gobject-introspection)
7292 ("intltool" ,intltool)
7294 ("pkg-config" ,pkg-config)))
7296 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7297 (synopsis "Portable system access library")
7298 (home-page "https://www.gnome.org/")
7300 "LibGTop is a library to get system specific data such as CPU and memory
7301 usage and information about running processes.")
7302 (license license:gpl2+)))
7304 (define-public gnome-bluetooth
7306 (name "gnome-bluetooth")
7310 (uri (string-append "mirror://gnome/sources/" name "/"
7311 (version-major+minor version) "/"
7312 name "-" version ".tar.xz"))
7315 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7316 (build-system meson-build-system)
7318 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7319 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7320 ("gobject-introspection" ,gobject-introspection)
7321 ("intltool" ,intltool)
7322 ("pkg-config" ,pkg-config)
7323 ("xmllint" ,libxml2)))
7325 ;; gnome-bluetooth-1.0.pc refers to all these.
7330 ("libcanberra" ,libcanberra)
7331 ("libnotify" ,libnotify)))
7332 (synopsis "GNOME Bluetooth subsystem")
7333 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7335 "This package contains tools for managing and manipulating Bluetooth
7336 devices using the GNOME desktop.")
7337 (license license:lgpl2.1+)))
7339 (define-public gnome-control-center
7341 (name "gnome-control-center")
7345 (uri (string-append "mirror://gnome/sources/" name "/"
7346 (version-major+minor version) "/"
7347 name "-" version ".tar.xz"))
7350 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7351 (build-system meson-build-system)
7355 (list "-Dcheese=false"
7356 (string-append "-Dgnome_session_libexecdir="
7357 (assoc-ref %build-inputs "gnome-session")
7360 (modify-phases %standard-phases
7361 (add-before 'configure 'patch-paths
7362 (lambda* (#:key inputs #:allow-other-keys)
7363 (let ((libc (assoc-ref inputs "libc"))
7364 (tzdata (assoc-ref inputs "tzdata"))
7365 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7366 (nm-applet (assoc-ref inputs "network-manager-applet"))
7367 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7368 (substitute* "panels/datetime/tz.h"
7369 (("/usr/share/zoneinfo/zone.tab")
7370 (string-append tzdata "/share/zoneinfo/zone.tab")))
7371 (substitute* "tests/datetime/test-endianess.c"
7372 (("/usr/share/locale")
7373 (string-append libc "/share/locale")))
7374 (substitute* "panels/region/cc-region-panel.c"
7375 (("\"gkbd-keyboard-display")
7376 (string-append "\"" libgnomekbd
7377 "/bin/gkbd-keyboard-display")))
7378 (substitute* '("panels/network/net-device-wifi.c"
7379 "panels/network/net-device.c"
7380 "panels/network/connection-editor/net-connection-editor.c")
7381 (("\"nm-connection-editor")
7382 (string-append "\"" nm-applet
7383 "/bin/nm-connection-editor")))
7384 (substitute* '("panels/user-accounts/run-passwd.c")
7385 (("/usr/bin/passwd")
7386 "/run/setuid-programs/passwd"))
7387 (substitute* "panels/info/cc-info-overview-panel.c"
7388 (("DATADIR \"/gnome/gnome-version.xml\"")
7389 (string-append "\"" gnome-desktop
7390 "/share/gnome/gnome-version.xml\"")))
7392 (add-after 'unpack 'skip-gtk-update-icon-cache
7393 ;; Don't create 'icon-theme.cache'.
7395 (substitute* "build-aux/meson/meson_post_install.py"
7396 (("gtk-update-icon-cache") (which "true")))
7399 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7400 ("intltool" ,intltool)
7401 ("pkg-config" ,pkg-config)
7402 ("xsltproc" ,libxslt)
7404 ("hicolor-icon-theme" ,hicolor-icon-theme)
7405 ("python-dbusmock" ,python-dbusmock)
7406 ("xorg-server" ,xorg-server-for-tests)))
7408 `(("accountsservice" ,accountsservice)
7409 ("clutter-gtk" ,clutter-gtk)
7410 ("colord-gtk" ,colord-gtk)
7413 ("docbook-xsl" ,docbook-xsl)
7414 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7415 ("gnome-bluetooth" ,gnome-bluetooth)
7416 ("gnome-desktop" ,gnome-desktop)
7417 ("gnome-online-accounts" ,gnome-online-accounts)
7418 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7419 ("gnome-session" ,gnome-session)
7420 ("gnome-settings-daemon" ,gnome-settings-daemon)
7424 ("libcanberra" ,libcanberra)
7425 ("libgnomekbd" ,libgnomekbd)
7426 ("libgudev" ,libgudev)
7427 ("libgtop" ,libgtop)
7429 ("libpwquality" ,libpwquality)
7430 ("libsecret" ,libsecret)
7431 ("libsoup" ,libsoup)
7432 ("libxml2" ,libxml2)
7433 ("libwacom" ,libwacom)
7435 ("mit-krb5" ,mit-krb5)
7436 ("modem-manager" ,modem-manager)
7437 ("network-manager-applet" ,network-manager-applet)
7439 ("pulseaudio" ,pulseaudio)
7440 ("smbclient" ,samba)
7443 ("upower" ,upower)))
7444 (synopsis "Utilities to configure the GNOME desktop")
7445 (home-page "https://www.gnome.org/")
7447 "This package contains configuration applets for the GNOME desktop,
7448 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7449 properties, sound setup, desktop theme and background, user interface
7450 properties, screen resolution, and other GNOME parameters.")
7451 (license license:gpl2+)))
7453 (define-public gnome-shell
7455 (name "gnome-shell")
7459 (uri (string-append "mirror://gnome/sources/" name "/"
7460 (version-major+minor version) "/"
7461 name "-" version ".tar.xz"))
7464 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7465 (patches (search-patches "gnome-shell-theme.patch"
7466 "gnome-shell-disable-test.patch"))
7467 (modules '((guix build utils)))
7470 ;; Copy images for use on the GDM log-in screen.
7471 (copy-file #$(file-append %artwork-repository
7472 "/slim/0.x/background.png")
7473 "data/theme/guix-background.png")
7474 (copy-file #$(file-append %artwork-repository
7475 "/logo/Guix-horizontal-white.svg")
7476 "data/theme/guix-logo.svg")
7478 (build-system meson-build-system)
7481 #:disallowed-references ((,glib "bin")
7485 (list "-Dsystemd=false"
7486 ;; Otherwise, the RUNPATH will lack the final path component.
7487 (string-append "-Dc_link_args=-Wl,-rpath="
7488 (assoc-ref %outputs "out")
7489 "/lib/gnome-shell"))
7491 #:modules ((guix build meson-build-system)
7496 (modify-phases %standard-phases
7497 (add-after 'unpack 'fix-keysdir
7498 (lambda* (#:key outputs #:allow-other-keys)
7499 (let* ((out (assoc-ref outputs "out"))
7500 (keysdir (string-append
7501 out "/share/gnome-control-center/keybindings")))
7502 (substitute* "meson.build"
7504 (string-append "keysdir = '" keysdir "'\n")))
7506 (add-before 'configure 'convert-logo-to-png
7507 (lambda* (#:key inputs #:allow-other-keys)
7508 ;; Convert the logo from SVG to PNG.
7509 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7510 "data/theme/guix-logo.svg")))
7511 (add-before 'configure 'record-absolute-file-names
7512 (lambda* (#:key inputs #:allow-other-keys)
7513 (substitute* "js/misc/ibusManager.js"
7515 (string-append "'" (assoc-ref inputs "ibus")
7516 "/bin/ibus-daemon'")))
7517 (substitute* "js/ui/status/keyboard.js"
7518 (("'gkbd-keyboard-display'")
7519 (string-append "'" (assoc-ref inputs "libgnomekbd")
7520 "/bin/gkbd-keyboard-display'")))
7522 (add-before 'check 'pre-check
7523 (lambda* (#:key inputs #:allow-other-keys)
7524 ;; Tests require a running X server.
7525 (system "Xvfb :1 &")
7526 (setenv "DISPLAY" ":1")
7528 (add-after 'install 'wrap-programs
7529 (lambda* (#:key inputs outputs #:allow-other-keys)
7530 (let ((out (assoc-ref outputs "out"))
7531 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7532 (python-path (getenv "PYTHONPATH")))
7533 (wrap-program (string-append out "/bin/gnome-shell")
7534 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7535 ;; FIXME: gnome-shell loads these libraries with unqualified
7536 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7537 ;; alternative might be to patch gnome-shell.
7538 `("LD_LIBRARY_PATH" ":" prefix
7540 (string-append (assoc-ref inputs pkg) "/lib"))
7542 "gnome-bluetooth" "librsvg" "libgweather"))))
7545 (wrap-program (string-append out "/bin/" prog)
7546 `("PYTHONPATH" ":" prefix (,python-path))
7547 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7548 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7550 (replace 'glib-or-gtk-wrap
7551 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7552 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7553 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7554 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7555 ;; phase. Fix that since we don't need these.
7556 (wrap #:inputs (fold alist-delete inputs
7557 '("inkscape" "intltool" "glib:bin"))
7558 #:outputs outputs)))))))
7560 `(("asciidoc" ,asciidoc)
7561 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7562 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7563 ("gobject-introspection" ,gobject-introspection)
7564 ("inkscape" ,inkscape)
7565 ("intltool" ,intltool)
7566 ("pkg-config" ,pkg-config)
7568 ("ruby-sass" ,ruby-sass)
7570 ("xsltproc" ,libxslt)
7572 ("xorg-server" ,xorg-server-for-tests)))
7574 `(("accountsservice" ,accountsservice)
7575 ("caribou" ,caribou)
7576 ("docbook-xsl" ,docbook-xsl)
7577 ("evolution-data-server" ,evolution-data-server)
7580 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7582 ("gnome-autoar" ,gnome-autoar)
7583 ("gnome-bluetooth" ,gnome-bluetooth)
7584 ("gnome-desktop" ,gnome-desktop)
7585 ("gnome-settings-daemon" ,gnome-settings-daemon)
7586 ("gst-plugins-base" ,gst-plugins-base)
7588 ("libcanberra" ,libcanberra)
7589 ("libcroco" ,libcroco)
7590 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7591 ("libgweather" ,libgweather)
7593 ("libsoup" ,libsoup)
7594 ("mesa-headers" ,mesa-headers)
7596 ("network-manager-applet" ,network-manager-applet)
7598 ("pulseaudio" ,pulseaudio)
7599 ("python-pygobject" ,python-pygobject)
7600 ("startup-notification" ,startup-notification)
7601 ("telepathy-logger" ,telepathy-logger)
7603 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7604 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7605 ("librsvg" ,librsvg)
7606 ("geoclue" ,geoclue)))
7607 (synopsis "Desktop shell for GNOME")
7608 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7610 "GNOME Shell provides core user interface functions for the GNOME desktop,
7611 like switching to windows and launching applications.")
7612 (license license:gpl2+)))
7614 (define-public gtk-vnc
7621 (uri (string-append "mirror://gnome/sources/" name "/"
7622 (version-major+minor version) "/"
7623 name "-" version ".tar.xz"))
7626 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7627 (build-system gnu-build-system)
7629 '(#:configure-flags '("--with-gtk=3.0")))
7631 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7633 `(("cyrus-sasl" ,cyrus-sasl)
7635 ("libgcrypt" ,libgcrypt)
7636 ("pulseaudio" ,pulseaudio)))
7638 `(("glib:bin" ,glib "bin")
7639 ("gobject-introspection" ,gobject-introspection)
7640 ("intltool" ,intltool)
7641 ("pkg-config" ,pkg-config)
7642 ("python-wrapper" ,python-wrapper)
7644 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7645 (synopsis "VNC viewer widget for GTK+")
7647 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7648 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7649 GTK-VNC implements client side RFB protocol and authentication extensions such
7650 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7651 (license license:lgpl2.1+)))
7653 (define-public gnome-autoar
7655 (name "gnome-autoar")
7659 (uri (string-append "mirror://gnome/sources/" name "/"
7660 (version-major+minor version) "/"
7661 name "-" version ".tar.xz"))
7664 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7665 (build-system glib-or-gtk-build-system)
7667 `(("gobject-introspection" ,gobject-introspection)
7668 ("pkg-config" ,pkg-config)))
7670 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7673 (synopsis "Archives integration support for GNOME")
7674 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7676 "GNOME Autoar is a library which makes creating and extracting archives
7677 easy, safe, and automatic.")
7678 (license license:lgpl2.1+)))
7680 (define-public tracker
7686 (uri (string-append "mirror://gnome/sources/tracker/"
7687 (version-major+minor version) "/"
7688 "tracker-" version ".tar.xz"))
7691 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7692 (build-system meson-build-system)
7696 ;; Otherwise, the RUNPATH will lack the final path component.
7697 (list (string-append "-Dc_link_args=-Wl,-rpath="
7698 (assoc-ref %outputs "out") "/lib:"
7699 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7701 (modify-phases %standard-phases
7702 (add-before 'check 'pre-check
7704 ;; Some tests expect to write to $HOME.
7705 (setenv "HOME" "/tmp")
7708 `(("glib:bin" ,glib "bin")
7709 ("gobject-introspection" ,gobject-introspection)
7710 ("python-pygobject" ,python-pygobject)
7711 ("intltool" ,intltool)
7712 ("pkg-config" ,pkg-config)
7717 ("libxml2" ,libxml2)
7718 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7719 ("json-glib" ,json-glib)
7720 ("libsoup" ,libsoup)))
7721 (synopsis "Metadata database, indexer and search tool")
7722 (home-page "https://wiki.gnome.org/Projects/Tracker")
7724 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7726 It is a middleware component aimed at desktop application developers who want
7727 their apps to browse and search user content. It's not designed to be used
7728 directly by desktop users, but it provides a commandline tool named
7729 @command{tracker} for the adventurous.
7731 Tracker allows your application to instantly perform full-text searches across
7732 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7733 example. This is achieved by indexing the user's home directory in the
7736 Tracker also allows your application to query and list content that the user
7737 has stored. For example, GNOME Music displays all the music files that are
7738 found by Tracker. This means that GNOME Music doesn't need to maintain a
7739 database of its own.
7741 If you need to go beyond simple searches, Tracker is also a linked data
7742 endpoint and it understands SPARQL. ")
7743 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7744 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7745 ;; libstemmer is bsd-3 and the rest is gpl2+.
7746 (license (list license:gpl2+
7748 license:lgpl2.1+))))
7750 (define-public tracker-miners
7752 (name "tracker-miners")
7756 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7757 (version-major+minor version)
7758 "/tracker-miners-" version ".tar.xz"))
7761 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7762 (build-system meson-build-system)
7766 (list "-Dminer_rss=false" ; libgrss is required.
7767 ;; Ensure the RUNPATH contains all installed library locations.
7768 (string-append "-Dc_link_args=-Wl,-rpath="
7769 (assoc-ref %outputs "out")
7770 "/lib/tracker-miners-2.0")
7771 ;; TODO: Enable functional tests. Currently, the following error
7773 ;; Exception: The functional tests require DConf to be the default
7774 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7775 "-Dfunctional_tests=false")))
7778 ("intltool" ,intltool)
7779 ("glib:bin" ,glib "bin")
7780 ("gobject-introspection" ,gobject-introspection)
7781 ("pkg-config" ,pkg-config)
7782 ("python-pygobject" ,python-pygobject)))
7784 `(("exempi" ,exempi)
7789 ("gstreamer" ,gstreamer)
7792 ("libexif" ,libexif)
7794 ("libgxps" ,libgxps)
7795 ("libiptcdata" ,libiptcdata)
7796 ("libjpeg" ,libjpeg-turbo)
7797 ("libosinfo" ,libosinfo)
7799 ("libseccomp" ,libseccomp)
7800 ("libtiff" ,libtiff)
7801 ("libvorbis" ,libvorbis)
7802 ("libxml2" ,libxml2)
7803 ("poppler" ,poppler)
7805 ("totem-pl-parser" ,totem-pl-parser)
7806 ("tracker" ,tracker)
7809 (synopsis "Metadata database, indexer and search tool")
7810 (home-page "https://wiki.gnome.org/Projects/Tracker")
7812 "Tracker is an advanced framework for first class objects with associated
7813 metadata and tags. It provides a one stop solution for all metadata, tags,
7814 shared object databases, search tools and indexing.")
7815 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7816 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7817 (license (list license:gpl2+
7819 license:lgpl2.0+))))
7821 (define-public nautilus
7827 (uri (string-append "mirror://gnome/sources/" name "/"
7828 (version-major+minor version) "/"
7829 name "-" version ".tar.xz"))
7832 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7833 (build-system meson-build-system)
7837 (modify-phases %standard-phases
7838 (add-after 'unpack 'skip-gtk-update-icon-cache
7839 ;; Don't create 'icon-theme.cache'.
7841 (substitute* "build-aux/meson/postinstall.py"
7842 (("gtk-update-icon-cache") "true"))
7844 ;; XXX: FAIL: check-nautilus
7845 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7848 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7849 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7850 ("gobject-introspection" ,gobject-introspection)
7851 ("intltool" ,intltool)
7852 ("pkg-config" ,pkg-config)))
7858 ("gnome-desktop" ,gnome-desktop)
7859 ("gnome-autoar" ,gnome-autoar)
7860 ("gst-plugins-base" ,gst-plugins-base)
7861 ("libseccomp" ,libseccomp)
7862 ("libselinux" ,libselinux)
7863 ("tracker" ,tracker)
7864 ("tracker-miners" ,tracker-miners)
7865 ;; XXX: gtk+ is required by libnautilus-extension.pc
7867 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7869 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7871 ("libexif" ,libexif)
7872 ("libxml2" ,libxml2)))
7873 (synopsis "File manager for GNOME")
7874 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7876 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7877 design and behaviour, giving the user a simple way to navigate and manage its
7879 (license license:gpl2+)))
7881 (define-public baobab
7888 "mirror://gnome/sources/" name "/"
7889 (version-major+minor version) "/"
7890 name "-" version ".tar.xz"))
7893 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7894 (build-system meson-build-system)
7896 '(#:glib-or-gtk? #t))
7898 `(("intltool" ,intltool)
7899 ("pkg-config" ,pkg-config)
7900 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7901 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7902 ("itstool" ,itstool)
7903 ("xmllint" ,libxml2)
7904 ("glib" ,glib "bin")
7908 (synopsis "Disk usage analyzer for GNOME")
7910 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7911 usage in the GNOME desktop environment. It can easily scan device volumes or
7912 a specific user-requested directory branch (local or remote). Once the scan
7913 is complete it provides a graphical representation of each selected folder.")
7914 (home-page "https://wiki.gnome.org/Apps/Baobab")
7915 (license license:gpl2+)))
7917 (define-public gnome-backgrounds
7919 (name "gnome-backgrounds")
7924 (uri (string-append "mirror://gnome/sources/" name "/"
7925 (version-major+minor version) "/"
7926 name "-" version ".tar.xz"))
7929 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7930 (build-system meson-build-system)
7932 `(("intltool" ,intltool)))
7933 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7934 (synopsis "Background images for the GNOME desktop")
7936 "GNOME backgrounds package contains a collection of graphics files which
7937 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7938 the package creates the proper framework and directory structure so that you
7939 can add your own files to the collection.")
7940 (license (list license:gpl2+
7943 license:cc-by-sa3.0))))
7945 (define-public gnome-screenshot
7947 (name "gnome-screenshot")
7952 (uri (string-append "mirror://gnome/sources/" name "/"
7953 (version-major+minor version) "/"
7954 name "-" version ".tar.xz"))
7957 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7958 (build-system meson-build-system)
7961 (modify-phases %standard-phases
7962 (add-after 'unpack 'skip-gtk-update-icon-cache
7963 ;; Don't create 'icon-theme.cache'.
7965 (substitute* "build-aux/postinstall.py"
7966 (("gtk-update-icon-cache") "true"))
7969 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7970 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7971 ("intltool" ,intltool)
7972 ("appstream-glib" ,appstream-glib)
7973 ("pkg-config" ,pkg-config)))
7976 ("libcanberra" ,libcanberra)
7978 ("libxext" ,libxext)))
7979 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7980 (synopsis "Take pictures of your screen")
7982 "GNOME Screenshot is a utility used for taking screenshots of the entire
7983 screen, a window or a user defined area of the screen, with optional
7984 beautifying border effects.")
7985 (license license:gpl2+)))
7987 (define-public dconf-editor
7989 (name "dconf-editor")
7994 (uri (string-append "mirror://gnome/sources/" name "/"
7995 (version-major+minor version) "/"
7996 name "-" version ".tar.xz"))
7999 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8000 (build-system meson-build-system)
8002 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8003 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8004 ("intltool" ,intltool)
8005 ("pkg-config" ,pkg-config)
8010 ("libxml2" ,libxml2)))
8011 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8012 (synopsis "Graphical editor for GNOME's dconf configuration system")
8014 "Dconf-editor is a graphical tool for browsing and editing the dconf
8015 configuration system for GNOME. It allows users to configure desktop
8016 software that do not provide their own configuration interface.")
8017 (license license:lgpl2.1+)))
8019 (define-public gnome-default-applications
8021 (name "gnome-default-applications")
8023 (build-system trivial-build-system)
8026 `(("nautilus" ,nautilus)
8027 ("evince" ,evince)))
8029 `(#:modules ((guix build utils))
8032 (use-modules (guix build utils))
8033 (let* ((out (assoc-ref %outputs "out"))
8034 (apps (string-append out "/share/applications")))
8036 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8038 (format port "[Default Applications]\n")
8039 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8040 (format port "application/pdf=evince.desktop\n")
8041 (format port "application/postscript=evince.desktop\n")))
8043 (synopsis "Default MIME type associations for the GNOME desktop")
8045 "Given many installed packages which might handle a given MIME type, a
8046 user running the GNOME desktop probably has some preferences: for example,
8047 that folders be opened by default by the Nautilus file manager, not the Baobab
8048 disk usage analyzer. This package establishes that set of default MIME type
8049 associations for GNOME.")
8050 (license license:gpl3+)
8053 (define-public libgovirt
8059 (uri (string-append "mirror://gnome/sources/" name "/"
8060 (version-major+minor version) "/"
8061 name "-" version ".tar.xz"))
8064 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8065 (build-system glib-or-gtk-build-system)
8067 `(("gettext" ,gettext-minimal)
8068 ("glib:bin" ,glib "bin")
8069 ("gobject-introspection" ,gobject-introspection)
8070 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8071 ("gtk+:bin" ,gtk+ "bin")
8072 ("pkg-config" ,pkg-config)))
8074 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8076 (synopsis "GoVirt Library")
8077 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8078 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8079 (license license:gpl2+)))
8081 (define-public gnome-weather
8083 (name "gnome-weather")
8087 (uri (string-append "mirror://gnome/sources/" name "/"
8088 (version-major+minor version) "/"
8089 name "-" version ".tar.xz"))
8092 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8093 (build-system meson-build-system)
8095 `(("gettext" ,gettext-minimal)
8096 ("glib:bin" ,glib "bin")
8097 ("gobject-introspection" ,gobject-introspection)
8098 ("gtk+:bin" ,gtk+ "bin")
8099 ("pkg-config" ,pkg-config)))
8101 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
8102 ("appstream-glib" ,appstream-glib)
8103 ("geoclue" ,geoclue)
8104 ("gdk-pixbuf" ,gdk-pixbuf)
8106 ("gnome-desktop" ,gnome-desktop)
8107 ("libgweather" ,libgweather)))
8111 (modify-phases %standard-phases
8112 (add-after 'install 'fix-desktop-file
8113 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
8114 ;; See https://issues.guix.gnu.org/issue/39324.
8115 (lambda* (#:key outputs #:allow-other-keys)
8116 (let* ((out (assoc-ref outputs "out"))
8117 (applications (string-append out "/share/applications")))
8118 (substitute* (string-append applications "/org.gnome.Weather.desktop")
8119 (("Exec=.*") "Exec=gnome-weather\n"))
8121 (add-after 'install 'wrap
8122 (lambda* (#:key inputs outputs #:allow-other-keys)
8123 (let ((out (assoc-ref outputs "out"))
8124 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8125 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
8126 (wrap-program (string-append out "/bin/gnome-weather")
8127 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
8129 (synopsis "Weather monitoring for GNOME desktop")
8130 (description "GNOME Weather is a small application that allows you to
8131 monitor the current weather conditions for your city, or anywhere in the
8133 (home-page "https://wiki.gnome.org/Apps/Weather")
8134 (license license:gpl2+)))
8136 (define-public gnome
8139 (version (package-version gnome-shell))
8141 (build-system trivial-build-system)
8142 (arguments '(#:builder (begin (mkdir %output) #t)))
8144 ;; TODO: Add or remove packages according to:
8145 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
8147 ;; GNOME-Core-OS-Services
8148 ("accountsservice" ,accountsservice)
8149 ("network-manager" ,network-manager)
8150 ("packagekit" ,packagekit)
8153 ("adwaita-icon-theme" ,adwaita-icon-theme)
8155 ("glib-networking" ,glib-networking)
8156 ("gnome-backgrounds" ,gnome-backgrounds)
8157 ("gnome-bluetooth" ,gnome-bluetooth)
8158 ("gnome-color-manager" ,gnome-color-manager)
8159 ("gnome-control-center" ,gnome-control-center)
8160 ("gnome-desktop" ,gnome-desktop)
8161 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8162 ("gnome-initial-setup" ,gnome-initial-setup)
8163 ("gnome-keyring" ,gnome-keyring)
8164 ("gnome-menus" ,gnome-menus)
8165 ("gnome-session" ,gnome-session)
8166 ("gnome-settings-daemon" ,gnome-settings-daemon)
8167 ("gnome-shell-extensions" ,gnome-shell-extensions)
8168 ("gnome-shell" ,gnome-shell)
8169 ("gnome-themes-extra" ,gnome-themes-extra)
8170 ("gnome-user-docs" ,gnome-user-docs)
8171 ("gnome-user-share" ,gnome-user-share)
8172 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8178 ;; GNOME-Core-Utilities
8181 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
8182 ;; only works on x86_64, so exclude it on other architectures.
8183 ,@(if (string-prefix? "x86_64" (%current-system))
8186 ("epiphany" ,epiphany)
8188 ("file-roller" ,file-roller)
8190 ("gnome-boxes" ,gnome-boxes)
8191 ("gnome-calculator" ,gnome-calculator)
8192 ("gnome-calendar" ,gnome-calendar)
8193 ("gnome-characters" ,gnome-characters)
8194 ("gnome-clocks" ,gnome-clocks)
8195 ("gnome-contacts" ,gnome-contacts)
8196 ("gnome-disk-utility" ,gnome-disk-utility)
8197 ("gnome-font-viewer" ,gnome-font-viewer)
8198 ("gnome-maps" ,gnome-maps)
8199 ; TODO: ("gnome-music" ,gnome-music)
8200 ; TODO: ("gnome-photos" ,gnome-photos)
8201 ("gnome-screenshot" ,gnome-screenshot)
8202 ("gnome-system-monitor" ,gnome-system-monitor)
8203 ("gnome-terminal" ,gnome-terminal)
8204 ("gnome-weather" ,gnome-weather)
8205 ("nautilus" ,nautilus)
8206 ("simple-scan" ,simple-scan)
8210 ("hicolor-icon-theme" ,hicolor-icon-theme)
8211 ("gnome-online-accounts" ,gnome-online-accounts)
8213 ;; Packages not part of GNOME proper but that are needed for a good
8214 ;; experience. See <https://bugs.gnu.org/39646>.
8215 ;; XXX: Find out exactly which ones are needed and why.
8216 ("font-cantarell" ,font-cantarell)
8217 ("font-dejavu" ,font-dejavu)
8218 ("at-spi2-core" ,at-spi2-core)
8221 ("desktop-file-utils" ,desktop-file-utils)
8222 ("gnome-default-applications" ,gnome-default-applications)
8223 ("gnome-themes-standard" ,gnome-themes-standard)
8224 ("gst-plugins-base" ,gst-plugins-base)
8225 ("gst-plugins-good" ,gst-plugins-good)
8226 ("gucharmap" ,gucharmap)
8227 ("pinentry-gnome3" ,pinentry-gnome3)
8228 ("pulseaudio" ,pulseaudio)
8229 ("shared-mime-info" ,shared-mime-info)
8230 ("system-config-printer" ,system-config-printer)
8231 ("xdg-user-dirs" ,xdg-user-dirs)
8233 ("zenity" ,zenity)))
8234 (synopsis "The GNU desktop environment")
8235 (home-page "https://www.gnome.org/")
8237 "GNOME is the graphical desktop for GNU. It includes a wide variety of
8238 applications for browsing the web, editing text and images, creating
8239 documents and diagrams, playing media, scanning, and much more.")
8240 (license license:gpl2+)))
8242 (define-public byzanz
8243 ;; The last stable release of Byzanz was in 2011, but there have been many
8244 ;; useful commits made to the Byzanz repository since then that it would be
8245 ;; silly to use such an old release.
8246 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
8249 (version (string-append "0.2-1." (string-take commit 7)))
8253 (url "https://git.gnome.org/browse/byzanz")
8255 (file-name (string-append name "-" version "-checkout"))
8258 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8259 (build-system glib-or-gtk-build-system)
8262 (modify-phases %standard-phases
8263 (add-before 'bootstrap 'build-without-Werror
8265 ;; The build system cleverly detects that we're not building from
8266 ;; a release tarball and turns on -Werror for GCC.
8267 ;; Unsurprisingly, there is a warning during compilation that
8268 ;; causes the build to fail unnecessarily, so we remove the flag.
8269 (substitute* '("configure.ac")
8273 `(("autoconf" ,autoconf)
8274 ("automake" ,automake)
8275 ("gnome-common" ,gnome-common)
8276 ("intltool" ,intltool)
8277 ("libtool" ,libtool)
8278 ("pkg-config" ,pkg-config)
8282 ("gstreamer" ,gstreamer)
8283 ("gst-plugins-base" ,gst-plugins-base)
8285 (synopsis "Desktop recording program")
8286 (description "Byzanz is a simple desktop recording program with a
8287 command-line interface. It can record part or all of an X display for a
8288 specified duration and save it as a GIF encoded animated image file.")
8289 (home-page "https://git.gnome.org/browse/byzanz")
8290 (license license:gpl2+))))
8292 (define-public gsound
8298 (uri (string-append "mirror://gnome/sources/" name "/"
8299 (version-major+minor version) "/"
8300 name "-" version ".tar.xz"))
8303 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8304 (build-system glib-or-gtk-build-system)
8306 `(("pkg-config" ,pkg-config)
8307 ("gobject-introspection" ,gobject-introspection)
8311 ("libcanberra" ,libcanberra)))
8312 (home-page "https://wiki.gnome.org/Projects/GSound")
8313 (synopsis "GObject wrapper for libcanberra")
8315 "GSound is a small library for playing system sounds. It's designed to be
8316 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8318 (license license:lgpl2.1+)))
8320 (define-public libzapojit
8326 (uri (string-append "mirror://gnome/sources/" name "/"
8327 (version-major+minor version) "/"
8328 name "-" version ".tar.xz"))
8331 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8332 (build-system gnu-build-system)
8334 `(("gobject-introspection" ,gobject-introspection)
8335 ("intltool" ,intltool)
8336 ("pkg-config" ,pkg-config)))
8338 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8339 ("json-glib" ,json-glib)
8341 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8342 (synopsis "Library for accessing SkyDrive and Hotmail")
8344 "Libzapojit is a GLib-based library for accessing online service APIs of
8345 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8346 (license license:lgpl2.1+)))
8348 (define-public gnome-clocks
8350 (name "gnome-clocks")
8354 (uri (string-append "mirror://gnome/sources/" name "/"
8355 (version-major+minor version) "/"
8356 name "-" version ".tar.xz"))
8359 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8360 (build-system meson-build-system)
8364 (modify-phases %standard-phases
8365 (add-after 'unpack 'skip-gtk-update-icon-cache
8366 ;; Don't create 'icon-theme.cache'.
8368 (substitute* "build-aux/post-install.py"
8369 (("gtk-update-icon-cache") "true"))
8373 ("pkg-config" ,pkg-config)
8374 ("glib" ,glib "bin") ; for glib-compile-resources
8375 ("desktop-file-utils" ,desktop-file-utils)
8376 ("gettext" ,gettext-minimal)
8377 ("itstool" ,itstool)))
8382 ("geoclue" ,geoclue)
8383 ("geocode-glib" ,geocode-glib)
8384 ("libgweather" ,libgweather)
8385 ("gnome-desktop" ,gnome-desktop)))
8386 (home-page "https://wiki.gnome.org/Apps/Clocks")
8387 (synopsis "GNOME's clock application")
8389 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8390 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8391 (license license:gpl3+)))
8393 (define-public gnome-calendar
8395 (name "gnome-calendar")
8399 (uri (string-append "mirror://gnome/sources/" name "/"
8400 (version-major+minor version) "/"
8401 name "-" version ".tar.xz"))
8404 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8405 (build-system meson-build-system)
8408 ;; gnome-calendar has to be installed before the tests can be run
8409 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8412 (modify-phases %standard-phases
8413 (add-after 'unpack 'skip-gtk-update-icon-cache
8414 ;; Don't create 'icon-theme.cache'.
8416 (substitute* "build-aux/meson/meson_post_install.py"
8417 (("gtk-update-icon-cache") "true"))
8420 `(("gettext" ,gettext-minimal)
8421 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8422 ("pkg-config" ,pkg-config)))
8424 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8425 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8426 ("libdazzle" ,libdazzle)
8427 ("libedataserverui" ,evolution-data-server)
8428 ("libgweather" ,libgweather)
8429 ("geoclue" ,geoclue)))
8431 `(("evolution-data-server" ,evolution-data-server)))
8432 (home-page "https://wiki.gnome.org/Apps/Calendar")
8433 (synopsis "GNOME's calendar application")
8435 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8436 desktop. It supports multiple calendars, month, week and year view.")
8437 (license license:gpl3+)))
8439 (define-public gnome-todo
8445 (uri (string-append "mirror://gnome/sources/" name "/"
8446 (version-major+minor version) "/"
8447 name "-" version ".tar.xz"))
8450 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8452 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8453 (build-system meson-build-system)
8456 #:phases (modify-phases %standard-phases
8458 'install 'wrap-gnome-todo
8459 (lambda* (#:key inputs outputs #:allow-other-keys)
8460 (let ((out (assoc-ref outputs "out"))
8461 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8462 (python-path (getenv "PYTHONPATH")))
8463 (wrap-program (string-append out "/bin/gnome-todo")
8464 ;; XXX: gi plugins are broken.
8465 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8467 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8468 `("PYTHONPATH" ":" prefix (,python-path))))
8471 `(("gettext" ,gettext-minimal)
8472 ("gobject-introspection" ,gobject-introspection)
8473 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8474 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8475 ("pkg-config" ,pkg-config)))
8477 `(("rest" ,rest) ; For Todoist plugin
8478 ("json-glib" ,json-glib) ; For Todoist plugin
8479 ("libedataserverui" ,evolution-data-server)
8480 ("libical" ,libical)
8481 ("libpeas" ,libpeas)
8482 ("python-pygobject" ,python-pygobject)
8483 ("evolution-data-server" ,evolution-data-server)
8484 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8485 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8486 (home-page "https://wiki.gnome.org/Apps/Todo")
8487 (synopsis "GNOME's ToDo Application")
8489 "GNOME To Do is a simplistic personal task manager designed to perfectly
8490 fit the GNOME desktop.")
8491 (license license:gpl3+)))
8493 (define-public gnome-dictionary
8495 (name "gnome-dictionary")
8499 (uri (string-append "mirror://gnome/sources/" name "/"
8500 (version-major+minor version) "/"
8501 name "-" version ".tar.xz"))
8504 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8505 (build-system meson-build-system)
8506 (arguments '(#:glib-or-gtk? #t
8507 #:phases (modify-phases %standard-phases
8508 (add-after 'unpack 'patch-install-script
8510 ;; This script attempts to compile glib schemas
8511 ;; and create an empty MIME database. We do
8512 ;; that elsewhere, so prevent it from running.
8513 (substitute* "build-aux/post-install.sh"
8514 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8517 `(("glib:bin" ,glib "bin")
8518 ("gobject-introspection" ,gobject-introspection)
8519 ("intltool" ,intltool)
8520 ("itstool" ,itstool)
8521 ("pkg-config" ,pkg-config)
8522 ("xmllint" ,libxml2)))
8524 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8526 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8527 (synopsis "Look up words in dictionary sources")
8529 "GNOME Dictionary can look for the definition or translation of a word in
8530 existing databases over the internet.")
8531 (license license:gpl3+)))
8533 (define-public gnome-tweaks
8535 (name "gnome-tweaks")
8539 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8540 (version-major+minor version) "/"
8541 "gnome-tweaks-" version ".tar.xz"))
8543 (list (search-patch "gnome-tweaks-search-paths.patch")))
8546 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8547 (build-system meson-build-system)
8550 #:configure-flags '("-Dlocalstatedir=/tmp"
8551 "-Dsysconfdir=/tmp")
8552 #:imported-modules ((guix build python-build-system)
8553 ,@%meson-build-system-modules)
8555 (modify-phases %standard-phases
8556 (add-after 'unpack 'skip-gtk-update-icon-cache
8557 ;; Don't create 'icon-theme.cache'.
8559 (substitute* "meson-postinstall.py"
8560 (("gtk-update-icon-cache") "true"))
8562 (add-after 'install 'wrap
8563 (@@ (guix build python-build-system) wrap))
8564 (add-after 'wrap 'wrap-gi-typelib
8565 (lambda* (#:key inputs outputs #:allow-other-keys)
8566 (let ((out (assoc-ref outputs "out"))
8567 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8568 (wrap-program (string-append out "/bin/gnome-tweaks")
8569 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8572 `(("intltool" ,intltool)
8573 ("pkg-config" ,pkg-config)))
8575 `(("gnome-desktop" ,gnome-desktop)
8577 ("gobject-introspection" ,gobject-introspection)
8578 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8579 ("libhandy" ,libhandy)
8580 ("libnotify" ,libnotify)
8581 ("libsoup" ,libsoup)
8582 ("nautilus" ,nautilus)
8584 ("python-pygobject" ,python-pygobject)))
8585 (synopsis "Customize advanced GNOME 3 options")
8586 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8588 "GNOME Tweaks allows adjusting advanced configuration settings in
8589 GNOME 3. This includes things like the fonts used in user interface elements,
8590 alternative user interface themes, changes in window management behavior,
8591 GNOME Shell appearance and extension, etc.")
8592 (license license:gpl3+)))
8594 (define-public gnome-shell-extensions
8596 (name "gnome-shell-extensions")
8600 (uri (string-append "mirror://gnome/sources/" name "/"
8601 (version-major+minor version) "/"
8602 name "-" version ".tar.xz"))
8605 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8606 (build-system meson-build-system)
8608 '(#:configure-flags '("-Dextension_set=all")))
8610 `(("glib:bin" ,glib "bin")
8611 ("intltool" ,intltool)
8612 ("pkg-config" ,pkg-config)))
8615 (synopsis "Extensions for GNOME Shell")
8616 (description "GNOME Shell extensions modify and extend GNOME Shell
8617 functionality and behavior.")
8618 (home-page "https://extensions.gnome.org/")
8619 (license license:gpl3+)))
8621 (define-public arc-theme
8624 (version "20190917")
8628 (url "https://github.com/NicoHood/arc-theme")
8630 (file-name (git-file-name name version))
8633 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8634 (build-system gnu-build-system)
8637 (modify-phases %standard-phases
8638 ;; autogen.sh calls configure at the end of the script.
8640 (lambda _ (invoke "autoreconf" "-vfi")))
8641 (add-before 'build 'set-home ;placate Inkscape
8643 (setenv "HOME" (getcwd))
8646 `(("autoconf" ,autoconf)
8647 ("automake" ,automake)
8648 ("glib" ,glib "bin") ; for glib-compile-resources
8649 ("gnome-shell" ,gnome-shell)
8651 ("inkscape" ,inkscape)
8652 ("optipng" ,optipng)
8653 ("pkg-config" ,pkg-config)
8654 ("sassc" ,sassc/libsass-3.5)))
8655 (synopsis "A flat GTK+ theme with transparent elements")
8656 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8657 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8658 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8659 (home-page "https://github.com/horst3180/arc-theme")
8660 ;; No "or later" language found.
8661 (license license:gpl3+)))
8663 (define-public faba-icon-theme
8665 (name "faba-icon-theme")
8671 (url "https://github.com/snwh/faba-icon-theme")
8672 (commit (string-append "v" version))))
8673 (file-name (git-file-name name version))
8675 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8676 (build-system meson-build-system)
8679 (modify-phases %standard-phases
8680 (add-before 'configure 'disable-post-install
8682 (substitute* "meson.build"
8683 (("meson.add_install_script.*") "")))))))
8685 `(("autoconf" ,autoconf)
8686 ("automake" ,automake)))
8687 (synopsis "Faba icon theme")
8689 "Faba is a minimal icon set used as a basis for other themes such as
8691 (home-page "https://snwh.org/moka")
8692 (license (list license:lgpl3+
8693 license:cc-by-sa4.0))))
8695 (define-public moka-icon-theme
8697 (inherit faba-icon-theme)
8698 (name "moka-icon-theme")
8704 (url "https://github.com/snwh/moka-icon-theme")
8705 (commit (string-append "v" version))))
8706 (file-name (git-file-name name version))
8708 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8710 ;; Moka is based on Faba by using it as a fallback icon set instead of
8711 ;; bundling it, so we need to add it as a propagated input.
8712 `(("faba-icon-theme" ,faba-icon-theme)))
8713 (synopsis "Moka icon theme")
8714 (description "Moka is a stylized desktop icon set, designed to be clear,
8715 simple and consistent.")
8716 (license (list license:gpl3+
8717 license:cc-by-sa4.0))))
8719 (define-public arc-icon-theme
8721 (name "arc-icon-theme")
8722 (version "20161122")
8727 (url "https://github.com/horst3180/arc-icon-theme")
8729 (file-name (git-file-name name version))
8731 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8732 (build-system gnu-build-system)
8735 (modify-phases %standard-phases
8736 (add-after 'unpack 'disable-configure-during-bootstrap
8738 (substitute* "autogen.sh"
8739 (("^\"\\$srcdir/configure\".*") ""))
8742 `(("autoconf" ,autoconf)
8743 ("automake" ,automake)))
8744 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8746 `(("moka-icon-theme" ,moka-icon-theme)))
8747 (synopsis "Arc icon theme")
8748 (description "The Arc icon theme provides a set of icons matching the
8749 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8750 the Moka icon theme.")
8751 (home-page "https://github.com/horst3180/arc-icon-theme")
8752 (license license:gpl3+)))
8754 (define-public folks
8761 "mirror://gnome/sources/folks/"
8762 (version-major+minor version) "/"
8763 "folks-" version ".tar.xz"))
8766 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8767 (build-system meson-build-system)
8770 (modify-phases %standard-phases
8771 (add-after 'unpack 'skip-gtk-update-icon-cache
8772 ;; Don't create 'icon-theme.cache'.
8774 (substitute* "meson_post_install.py"
8775 (("gtk-update-icon-cache") "true"))
8779 ("dbus-glib" ,dbus-glib)
8780 ("evolution-data-server" ,evolution-data-server)
8783 ("readline" ,readline)
8784 ("telepathy-glib" ,telepathy-glib)))
8786 `(("glib:bin" ,glib "bin")
8787 ("gobject-introspection" ,gobject-introspection)
8788 ("intltool" ,intltool)
8789 ("pkg-config" ,pkg-config)
8791 (synopsis "Library to aggregate data about people")
8792 (description "Libfolks is a library that aggregates information about people
8793 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8794 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8795 etc.) to create metacontacts. It's written in Vala, which generates C code when
8797 (home-page "https://wiki.gnome.org/Projects/Folks")
8798 (license license:lgpl2.1+)))
8800 (define-public gfbgraph
8807 "mirror://gnome/sources/gfbgraph/"
8808 (version-major+minor version) "/"
8809 "gfbgraph-" version ".tar.xz"))
8812 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
8813 (build-system glib-or-gtk-build-system)
8815 `(#:tests? #f ; tests appear to require the network
8816 #:configure-flags '("--disable-static"
8818 "--enable-introspection")))
8820 `(("gobject-introspection" ,gobject-introspection)
8821 ("gtk-doc" ,gtk-doc)
8822 ("pkg-config" ,pkg-config)
8824 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
8825 ("autoconf" ,autoconf)
8826 ("automake" ,automake)
8827 ("libtool" ,libtool)
8830 `(("json-glib" ,json-glib)
8831 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8833 (synopsis "GLib/GObject wrapper for the Facebook API")
8834 (description "This library allows you to use the Facebook API from
8835 GLib/GObject code.")
8836 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8837 (license license:lgpl2.1+)))
8839 (define-public libgnomekbd
8841 (name "libgnomekbd")
8845 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8846 (version-major+minor version) "/"
8847 "libgnomekbd-" version ".tar.xz"))
8850 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8851 (build-system gnu-build-system)
8853 `(("pkg-config" ,pkg-config)
8854 ("glib" ,glib "bin")
8855 ("intltool" ,intltool)))
8857 ;; Referred to in .h files and .pc.
8860 ("libxklavier" ,libxklavier)))
8861 (home-page "https://www.gnome.org")
8862 (synopsis "GNOME keyboard configuration library")
8864 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8865 environment, which can notably display keyboard layouts.")
8866 (license license:lgpl2.0+)))
8868 ;;; This package is no longer maintained:
8869 ;;; https://wiki.gnome.org/Attic/LibUnique
8870 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8871 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8872 (define-public libunique
8878 (uri (string-append "mirror://gnome/sources/" name "/"
8879 (version-major+minor version) "/"
8880 name "-" version ".tar.xz"))
8883 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8884 (build-system glib-or-gtk-build-system)
8886 `(#:configure-flags '("--disable-static"
8887 "--disable-dbus" ; use gdbus
8888 "--enable-introspection")))
8890 `(("pkg-config" ,pkg-config)
8891 ("gobject-introspection" ,gobject-introspection)
8892 ("glib:bin" ,glib "bin")
8893 ("gtk-doc" ,gtk-doc)))
8895 ;; Referred to in .h files and .pc.
8897 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8898 (synopsis "Library for writing single instance applications")
8900 "Libunique is a library for writing single instance applications. If you
8901 launch a single instance application twice, the second instance will either just
8902 quit or will send a message to the running instance. Libunique makes it easy to
8903 write this kind of application, by providing a base class, taking care of all
8904 the IPC machinery needed to send messages to a running instance, and also
8905 handling the startup notification side.")
8906 (license license:lgpl2.1+)))
8908 (define-public gnome-calculator
8910 (name "gnome-calculator")
8915 (uri (string-append "mirror://gnome/sources/" name "/"
8916 (version-major+minor version) "/"
8917 name "-" version ".tar.xz"))
8920 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8921 (build-system meson-build-system)
8922 (arguments '(#:glib-or-gtk? #t))
8924 `(("gettext" ,gettext-minimal)
8925 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8926 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8927 ("itstool" ,itstool)
8929 ("pkg-config" ,pkg-config)))
8932 ("gtksourceview" ,gtksourceview)
8934 ("libsoup" ,libsoup)
8935 ("libxml2" ,libxml2)
8938 (home-page "https://wiki.gnome.org/Apps/Calculator")
8939 (synopsis "Desktop calculator")
8941 "Calculator is an application that solves mathematical equations and
8942 is suitable as a default application in a Desktop environment.")
8943 (license license:gpl3)))
8952 (uri (string-append "https://launchpad.net/xpad/trunk/"
8953 version "/+download/"
8954 name "-" version ".tar.bz2"))
8957 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8958 (build-system gnu-build-system)
8960 `(("autoconf" ,autoconf)
8961 ("automake" ,automake)
8962 ("gtk+:bin" ,gtk+ "bin")
8963 ("intltool" ,intltool)
8964 ("pkg-config" ,pkg-config)))
8966 `(("gtksourceview" ,gtksourceview-3)
8968 (home-page "https://wiki.gnome.org/Apps/Xpad")
8969 (synopsis "Virtual sticky note")
8971 "Xpad is a sticky note that strives to be simple, fault tolerant,
8972 and customizable. Xpad consists of independent pad windows, each is
8973 basically a text box in which notes can be written.")
8974 (license license:gpl3+)))
8976 (define-public gucharmap
8977 (let ((unicode-files
8979 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8981 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8983 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8985 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8987 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8989 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8996 (uri (string-append "mirror://gnome/sources/" name "/"
8997 (version-major+minor version) "/"
8998 name "-" version ".tar.xz"))
9001 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9002 (build-system glib-or-gtk-build-system)
9004 `(#:modules ((ice-9 match)
9005 (guix build glib-or-gtk-build-system)
9008 (list "--with-unicode-data=../unicode-data")
9010 (modify-phases %standard-phases
9011 (add-after 'unpack 'prepare-unicode-data
9012 (lambda* (#:key inputs #:allow-other-keys)
9013 (mkdir-p "../unicode-data")
9014 (with-directory-excursion "../unicode-data"
9015 (for-each (match-lambda
9017 (install-file (assoc-ref inputs file) ".")))
9021 `(("desktop-file-utils" ,desktop-file-utils)
9022 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9023 ("gobject-introspection" ,gobject-introspection)
9024 ("intltool" ,intltool)
9025 ("itstool" ,itstool)
9026 ("pkg-config" ,pkg-config)
9027 ,@(map (match-lambda
9033 "http://www.unicode.org/Public/12.0.0/ucd/"
9035 (sha256 (base32 hash))))))
9040 ("xmllint" ,libxml2)))
9041 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9042 (synopsis "Unicode character picker and font browser")
9044 "This program allows you to browse through all the available Unicode
9045 characters and categories for the installed fonts, and to examine their
9046 detailed properties. It is an easy way to find the character you might
9047 only know by its Unicode name or code point.")
9048 (license license:gpl3+))))
9050 (define-public bluefish
9057 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
9058 "bluefish-" version ".tar.gz"))
9060 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
9061 (build-system gnu-build-system)
9063 `(("desktop-file-utils" ,desktop-file-utils)
9064 ("intltool" ,intltool)
9065 ("pkg-config" ,pkg-config)))
9067 `(("enchant" ,enchant)
9069 ("python" ,python-wrapper)
9070 ("xmllint" ,libxml2)
9071 ("gucharmap" ,gucharmap)))
9072 (home-page "http://bluefish.openoffice.nl")
9073 (synopsis "Web development studio")
9075 "Bluefish is an editor targeted towards programmers and web developers,
9076 with many options to write web sites, scripts and other code.
9077 Bluefish supports many programming and markup languages.")
9078 (license license:gpl3+)))
9080 (define-public gnome-system-monitor
9082 (name "gnome-system-monitor")
9087 (uri (string-append "mirror://gnome/sources/" name "/"
9088 (version-major+minor version) "/"
9089 name "-" version ".tar.xz"))
9092 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
9093 (build-system meson-build-system)
9096 #:configure-flags '("-Dsystemd=false")))
9098 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
9099 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
9100 ("intltool" ,intltool)
9101 ("itstool" ,itstool)
9102 ("libgtop" ,libgtop)
9104 ("pkg-config" ,pkg-config)))
9106 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
9109 ("librsvg" ,librsvg)
9110 ("libxml2" ,libxml2)
9111 ("libwnck" ,libwnck)))
9112 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
9113 (synopsis "Process viewer and system resource monitor for GNOME")
9115 "GNOME System Monitor is a GNOME process viewer and system monitor with
9116 an attractive, easy-to-use interface. It has features, such as a tree view
9117 for process dependencies, icons for processes, the ability to hide processes,
9118 graphical time histories of CPU/memory/swap usage and the ability to
9119 kill/reinice processes.")
9120 (license license:gpl2+)))
9122 (define-public python-pyatspi
9124 (name "python-pyatspi")
9129 "mirror://gnome/sources/pyatspi/"
9130 (version-major+minor version)
9131 "/pyatspi-" version ".tar.xz"))
9134 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
9135 (build-system gnu-build-system)
9138 (modify-phases %standard-phases
9139 (add-before 'build 'fix-atk-load
9141 (substitute* "pyatspi/__init__.py"
9142 (("from gi.repository import Atspi")
9143 "gi.require_version('Gtk', '3.0')
9144 from gi.repository import Gtk
9145 from gi.repository import Atspi"))
9148 `(("pkg-config" ,pkg-config)))
9150 `(("python" ,python)))
9152 `(("python-pygobject" ,python-pygobject)))
9153 (synopsis "Python client bindings for D-Bus AT-SPI")
9154 (home-page "https://wiki.linuxfoundation.org/accessibility\
9155 /atk/at-spi/at-spi_on_d-bus")
9157 "This package includes a python client library for the AT-SPI D-Bus
9158 accessibility infrastructure.")
9159 (license license:lgpl2.0)
9160 (properties '((upstream-name . "pyatspi")))))
9162 (define-public python2-pyatspi
9164 (inherit python-pyatspi)
9165 (name "python2-pyatspi")
9167 `(("python" ,python-2)))
9169 `(("python-pygobject" ,python2-pygobject)))))
9178 "mirror://gnome/sources/" name "/"
9179 (version-major+minor version) "/"
9180 name "-" version ".tar.xz"))
9183 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
9184 (build-system glib-or-gtk-build-system)
9187 (modify-phases %standard-phases
9188 (add-before 'configure 'qualify-xkbcomp
9189 (lambda* (#:key inputs #:allow-other-keys)
9190 (let ((xkbcomp (string-append
9191 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
9192 (substitute* "src/orca/orca.py"
9193 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
9195 (add-after 'install 'wrap-orca
9196 (lambda* (#:key outputs #:allow-other-keys)
9197 (let* ((out (assoc-ref outputs "out"))
9198 (prog (string-append out "/bin/orca")))
9200 `("GI_TYPELIB_PATH" ":" prefix
9201 (,(getenv "GI_TYPELIB_PATH")))
9202 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
9203 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
9204 `("PYTHONPATH" ":" prefix
9205 (,(getenv "PYTHONPATH")))))
9208 `(("intltool" ,intltool)
9209 ("itstool" ,itstool)
9210 ("pkg-config" ,pkg-config)
9211 ("xmllint" ,libxml2)))
9213 `(("at-spi2-atk" ,at-spi2-atk)
9214 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9215 ("gstreamer" ,gstreamer)
9216 ("gst-plugins-base" ,gst-plugins-base)
9217 ("gst-plugins-good" ,gst-plugins-good)
9220 ("python-pygobject" ,python-pygobject)
9221 ("python-pyatspi" ,python-pyatspi)
9222 ("python-speechd" ,speech-dispatcher)
9223 ("xkbcomp" ,xkbcomp)))
9225 "Screen reader for individuals who are blind or visually impaired")
9226 (home-page "https://wiki.gnome.org/Projects/Orca")
9228 "Orca is a screen reader that provides access to the graphical desktop
9229 via speech and refreshable braille. Orca works with applications and toolkits
9230 that support the Assistive Technology Service Provider Interface (AT-SPI).")
9231 (license license:lgpl2.1+)))
9233 (define-public gspell
9239 (uri (string-append "mirror://gnome/sources/" name "/"
9240 (version-major+minor version) "/"
9241 name "-" version ".tar.xz"))
9244 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
9245 (patches (search-patches "gspell-dash-test.patch"))))
9246 (build-system glib-or-gtk-build-system)
9248 '(#:configure-flags (list "--enable-vala")
9250 (modify-phases %standard-phases
9251 (add-before 'check 'pre-check
9252 (lambda* (#:key inputs #:allow-other-keys)
9253 ;; Tests require a running X server.
9254 (system "Xvfb :1 &")
9255 (setenv "DISPLAY" ":1")
9257 ;; For the missing /etc/machine-id.
9258 (setenv "DBUS_FATAL_WARNINGS" "0")
9260 ;; Allow Enchant and its Aspell backend to find the en_US
9262 (setenv "ASPELL_DICT_DIR"
9263 (string-append (assoc-ref inputs "aspell-dict-en")
9269 ("iso-codes" ,iso-codes)))
9271 `(("glib" ,glib "bin")
9272 ("gobject-introspection" ,gobject-introspection)
9273 ("pkg-config" ,pkg-config)
9274 ("vala" ,vala) ;for VAPI, needed by Geary
9275 ("xmllint" ,libxml2)
9278 ("aspell-dict-en" ,aspell-dict-en)
9279 ("xorg-server" ,xorg-server-for-tests)))
9281 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
9282 (home-page "https://wiki.gnome.org/Projects/gspell")
9283 (synopsis "GNOME's alternative spell checker")
9285 "gspell provides a flexible API to add spell-checking to a GTK+
9286 application. It provides a GObject API, spell-checking to text entries and
9287 text views, and buttons to choose the language.")
9288 (license license:gpl2+)))
9290 (define-public gnome-planner
9292 (name "gnome-planner")
9296 (uri (string-append "mirror://gnome/sources/planner/"
9297 (version-major+minor version) "/planner-"
9301 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9302 (build-system glib-or-gtk-build-system)
9304 ;; Disable the Python bindings because the Planner program functions
9305 ;; without them, and (as of 2017-06-13) we have not packaged all of
9306 ;; packages that are necessary for building the Python bindings.
9308 (list "--disable-python"
9309 ,@(if (string=? "aarch64-linux" (%current-system))
9310 '("--build=aarch64-unknown-linux-gnu")
9313 `(("libgnomecanvas" ,libgnomecanvas)
9314 ("libgnomeui" ,libgnomeui)
9315 ("libglade" ,libglade)
9316 ("gnome-vfs" ,gnome-vfs)
9318 ("libxml2" ,libxml2)
9319 ("libxslt" ,libxslt)
9323 `(("intltool" ,intltool)
9324 ("scrollkeeper" ,scrollkeeper)
9325 ("pkg-config" ,pkg-config)))
9326 (home-page "https://wiki.gnome.org/Apps/Planner")
9327 (synopsis "Project management software for the GNOME desktop")
9329 "GNOME Planner is a project management tool based on the Work Breakdown
9330 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9331 the resources, tasks, and constraints that you define, Planner generates
9332 various views into a project. For example, Planner can show a Gantt chart of
9333 the project. It can show a detailed summary of tasks including their
9334 duration, cost, and current progress. It can also show a report of resource
9335 utilization that highlights under-utilized and over-utilized resources. These
9336 views can be printed as PDF or PostScript files, or exported to HTML.")
9337 (license license:gpl2+)))
9339 (define-public lollypop
9346 (uri (string-append "https://adishatz.org/lollypop/"
9347 "lollypop-" version ".tar.xz"))
9349 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9350 (build-system meson-build-system)
9352 `(#:imported-modules
9353 (,@%meson-build-system-modules
9354 (guix build python-build-system))
9356 ((guix build meson-build-system)
9357 ((guix build python-build-system) #:prefix python:)
9360 #:tests? #f ; no test suite
9362 (modify-phases %standard-phases
9363 (add-after 'install 'wrap-program
9364 (lambda* (#:key outputs #:allow-other-keys)
9365 (let ((out (assoc-ref outputs "out"))
9366 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9367 (wrap-program (string-append out "/bin/lollypop")
9368 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9370 (add-after 'install 'wrap-python
9371 (assoc-ref python:%standard-phases 'wrap)))))
9373 `(("intltool" ,intltool)
9374 ("itstool" ,itstool)
9375 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9376 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9377 ("pkg-config" ,pkg-config)))
9379 `(("gobject-introspection" ,gobject-introspection)
9380 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9381 ("gst-plugins-base" ,gst-plugins-base)
9382 ("libnotify" ,libnotify)
9383 ("libsecret" ,libsecret)
9384 ("libsoup" ,libsoup)
9386 ("python-beautifulsoup4" ,python-beautifulsoup4)
9387 ("python-gst" ,python-gst)
9388 ("python-pil" ,python-pillow)
9389 ("python-pycairo" ,python-pycairo)
9390 ("python-pygobject" ,python-pygobject)
9391 ("python-pylast" ,python-pylast)
9392 ("totem-pl-parser" ,totem-pl-parser)
9393 ("webkitgtk" ,webkitgtk)))
9395 `(;; gst-plugins-base is required to start Lollypop,
9396 ;; the others are required to play streaming.
9397 ("gst-plugins-good" ,gst-plugins-good)
9398 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9399 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9400 (synopsis "GNOME music playing application")
9402 "Lollypop is a music player designed to play well with GNOME desktop.
9403 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9404 from artists and tracks from the web. It also fetches cover artworks
9405 automatically and it can stream songs from online music services and charts.")
9406 (license license:gpl3+)))
9408 (define-public gnome-video-effects
9410 (name "gnome-video-effects")
9414 (uri (string-append "mirror://gnome/sources/" name "/"
9415 (version-major+minor version) "/" name "-"
9419 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9420 (build-system glib-or-gtk-build-system)
9422 `(#:out-of-source? #f))
9424 `(("glib:bin" ,glib "bin")
9425 ("intltool" ,intltool)
9426 ("gettext" ,gettext-minimal)
9427 ("pkg-config" ,pkg-config)))
9428 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9429 (synopsis "Video effects for Cheese and other GNOME applications")
9431 "A collection of GStreamer video filters and effects to be used in
9432 photo-booth-like software, such as Cheese.")
9433 (license license:gpl2+)))
9435 (define-public cheese
9441 (uri (string-append "mirror://gnome/sources/" name "/"
9442 (version-major+minor version) "/" name "-"
9446 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9449 ;; Tests require GDK.
9452 (modify-phases %standard-phases
9453 (add-after 'unpack 'skip-gtk-update-icon-cache
9455 ;; Don't create 'icon-theme.cache'
9456 (substitute* "meson_post_install.py"
9457 (("gtk-update-icon-cache") (which "true")))
9459 (add-after 'install 'wrap-cheese
9460 (lambda* (#:key inputs outputs #:allow-other-keys)
9461 (let ((out (assoc-ref outputs "out"))
9462 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9463 (wrap-program (string-append out "/bin/cheese")
9464 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9466 (build-system meson-build-system)
9468 `(("docbook-xsl" ,docbook-xsl)
9469 ("glib:bin" ,glib "bin")
9470 ("gtk-doc" ,gtk-doc)
9471 ("intltool" ,intltool)
9472 ("itstool" ,itstool)
9473 ("libxml2" ,libxml2)
9474 ("libxslt" ,libxslt)
9475 ("pkg-config" ,pkg-config)
9478 `(("gnome-video-effects" ,gnome-video-effects)
9479 ("clutter" ,clutter)
9480 ("clutter-gst" ,clutter-gst)
9481 ("clutter-gtk" ,clutter-gtk)
9482 ("libcanberra" ,libcanberra)
9483 ("gdk-pixbuf" ,gdk-pixbuf)
9485 ("gstreamer" ,gstreamer)))
9487 `(("gnome-desktop" ,gnome-desktop)
9488 ("gobject-introspection" ,gobject-introspection)
9489 ("gst-plugins-base" ,gst-plugins-base)
9490 ("gst-plugins-bad" ,gst-plugins-bad)
9493 ("libxtst" ,libxtst)))
9494 (home-page "https://wiki.gnome.org/Apps/Cheese")
9495 (synopsis "Webcam photo booth software for GNOME")
9497 "Cheese uses your webcam to take photos and videos. Cheese can also
9498 apply fancy special effects and lets you share the fun with others.")
9499 (license license:gpl2+)))
9501 (define-public sound-juicer
9503 (name "sound-juicer")
9508 (uri (string-append "mirror://gnome/sources/" name "/"
9509 (version-major+minor version) "/"
9510 name "-" version ".tar.xz"))
9513 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9514 (build-system glib-or-gtk-build-system)
9516 `(("desktop-file-utils" ,desktop-file-utils)
9517 ("intltool" ,intltool)
9518 ("itstool" ,itstool)
9519 ("pkg-config" ,pkg-config)
9520 ("xmllint" ,libxml2)))
9523 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9524 ("gstreamer" ,gstreamer)
9525 ("gst-plugins-base" ,gst-plugins-base)
9526 ("gst-plugins-good" ,gst-plugins-good)
9527 ("iso-codes" ,iso-codes)
9528 ("libbrasero-media3" ,brasero)
9529 ("libcanberra" ,libcanberra)
9530 ("libdiscid" ,libdiscid)
9531 ("libmusicbrainz" ,libmusicbrainz)
9533 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9534 (synopsis "Audio music cd ripper")
9535 (description "Sound Juicer extracts audio from compact discs and convert it
9536 into audio files that a personal computer or digital audio player can play.
9537 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9538 mp3, Ogg Vorbis and FLAC")
9539 (license license:gpl2+)))
9541 (define-public soundconverter
9543 (name "soundconverter")
9548 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9549 version "/+download/"
9550 "soundconverter-" version ".tar.xz"))
9553 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
9554 (build-system glib-or-gtk-build-system)
9556 `(#:imported-modules ((guix build python-build-system)
9557 (guix build glib-or-gtk-build-system)
9558 ,@%gnu-build-system-modules)
9560 #:modules ((guix build glib-or-gtk-build-system)
9562 ((guix build gnu-build-system) #:prefix gnu:)
9563 ((guix build python-build-system) #:prefix python:))
9566 (modify-phases %standard-phases
9567 (add-after 'install 'wrap-soundconverter-for-python
9568 (assoc-ref python:%standard-phases 'wrap))
9569 (add-after 'install 'wrap-soundconverter
9570 (lambda* (#:key inputs outputs #:allow-other-keys)
9571 (let ((out (assoc-ref outputs "out"))
9572 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9573 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9574 (wrap-program (string-append out "/bin/soundconverter")
9575 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9576 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9579 `(("intltool" ,intltool)
9580 ("pkg-config" ,pkg-config)
9581 ("glib:bin" ,glib "bin")))
9585 ("python-pygobject" ,python-pygobject)
9586 ("gstreamer" ,gstreamer)
9587 ("gst-plugins-base" ,gst-plugins-base)))
9588 (home-page "https://soundconverter.org/")
9589 (synopsis "Convert between audio formats with a graphical interface")
9591 "SoundConverter supports converting between many audio formats including
9592 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9593 configurable file renaming. ")
9594 (license license:gpl3)))
9596 (define-public workrave
9604 (url "https://github.com/rcaelers/workrave")
9605 (commit (string-append "v" (string-map
9606 (match-lambda (#\. #\_) (chr chr))
9608 (file-name (git-file-name name version))
9610 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9611 (build-system glib-or-gtk-build-system)
9613 ;; The only tests are maintainer tests (in po/), which fail.
9615 (inputs `(("glib" ,glib)
9617 ("gdk-pixbuf" ,gdk-pixbuf)
9621 ("libxtst" ,libxtst)
9625 ("libxscrnsaver" ,libxscrnsaver)))
9626 (native-inputs `(("boost" ,boost)
9627 ("pkg-config" ,pkg-config)
9628 ("gettext" ,gettext-minimal)
9629 ("autoconf" ,autoconf)
9630 ("autoconf-archive" , autoconf-archive)
9631 ("automake" ,automake)
9632 ("libtool" ,libtool)
9633 ("intltool" ,intltool)
9634 ("gobject-introspection" ,gobject-introspection)
9635 ("python3" ,python-3)
9636 ("python-jinja2" ,python-jinja2)))
9637 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9639 "Workrave is a program that assists in the recovery and prevention of
9640 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9641 micro-pauses and rest breaks, and restricts you to your daily limit.")
9642 (home-page "http://www.workrave.org")
9643 (license license:gpl3+)))
9651 (uri (string-append "mirror://gnome/sources/ghex/"
9652 (version-major+minor version) "/"
9653 "ghex-" version ".tar.xz"))
9656 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9657 (build-system meson-build-system)
9661 (modify-phases %standard-phases
9662 (add-after 'unpack 'skip-gtk-update-icon-cache
9663 ;; Don't create 'icon-theme.cache'.
9665 (substitute* "meson_post_install.py"
9666 (("gtk-update-icon-cache") (which "true")))
9669 `(("pkg-config" ,pkg-config)
9670 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9671 ("gnome-common" ,gnome-common)
9673 ("intltool" ,intltool)
9674 ("yelp-tools" ,yelp-tools)
9675 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9679 (synopsis "GNOME hexadecimal editor")
9680 (description "The GHex program can view and edit files in two ways:
9681 hexadecimal or ASCII. It is useful for editing binary files in general.")
9682 (home-page "https://wiki.gnome.org/Apps/Ghex")
9683 (license license:gpl2)))
9685 (define-public libdazzle
9691 (uri (string-append "mirror://gnome/sources/libdazzle/"
9692 (version-major+minor version) "/"
9693 "libdazzle-" version ".tar.xz"))
9696 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9697 (build-system meson-build-system)
9700 (modify-phases %standard-phases
9701 (add-before 'check 'pre-check
9703 ;; Tests require a running X server.
9704 (system "Xvfb :1 &")
9705 (setenv "DISPLAY" ":1")
9708 `(("glib" ,glib "bin") ; glib-compile-resources
9709 ("pkg-config" ,pkg-config)
9711 ("xorg-server" ,xorg-server-for-tests)))
9714 ("gobject-introspection" ,gobject-introspection)
9717 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9718 (synopsis "Companion library to GObject and Gtk+")
9719 (description "The libdazzle library is a companion library to GObject and
9720 Gtk+. It provides various features that the authors wish were in the
9721 underlying library but cannot for various reasons. In most cases, they are
9722 wildly out of scope for those libraries. In other cases, they are not quite
9723 generic enough to work for everyone.")
9724 (license license:gpl3+)))
9726 (define-public evolution
9732 (uri (string-append "mirror://gnome/sources/evolution/"
9733 (version-major+minor version) "/"
9734 "evolution-" version ".tar.xz"))
9737 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9738 (build-system cmake-build-system)
9740 `(#:imported-modules (,@%cmake-build-system-modules
9741 (guix build glib-or-gtk-build-system))
9742 #:modules ((guix build cmake-build-system)
9743 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9746 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9747 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9748 ; in four years and cannot be built.
9750 (modify-phases %standard-phases
9751 ;; The build system attempts to install user interface modules to the
9752 ;; output directory of the "evolution-data-server" package. This
9753 ;; change redirects that change.
9754 (add-after 'unpack 'patch-ui-module-dir
9755 (lambda* (#:key outputs #:allow-other-keys)
9756 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9757 (("\\$\\{edsuimoduledir\\}")
9758 (string-append (assoc-ref outputs "out")
9759 "/lib/evolution-data-server/ui-modules")))
9761 (add-after 'install 'glib-or-gtk-compile-schemas
9762 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9763 (add-after 'install 'glib-or-gtk-wrap
9764 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9766 `(("glib" ,glib "bin") ; glib-mkenums
9767 ("pkg-config" ,pkg-config)
9768 ("intltool" ,intltool)
9769 ("itstool" ,itstool)))
9771 `(("enchant" ,enchant)
9772 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9774 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9775 ("gnome-autoar" ,gnome-autoar)
9776 ("gnome-desktop" ,gnome-desktop)
9778 ("highlight" ,highlight)
9779 ("libcanberra" ,libcanberra)
9780 ("libgweather" ,libgweather)
9781 ("libnotify" ,libnotify)
9782 ("libsoup" ,libsoup)
9784 ("openldap" ,openldap)
9785 ("webkitgtk" ,webkitgtk)
9787 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9788 (synopsis "Manage your email, contacts and schedule")
9789 (description "Evolution is a personal information management application
9790 that provides integrated mail, calendaring and address book
9792 ;; See COPYING for details.
9793 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9794 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9795 license:lgpl2.1+)))) ; smime/lib/*
9797 (define-public gthumb
9803 (uri (string-append "mirror://gnome/sources/gthumb/"
9804 (version-major+minor version) "/"
9805 "gthumb-" version ".tar.xz"))
9808 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9809 (build-system meson-build-system)
9813 ;; Ensure the RUNPATH contains all installed library locations.
9814 (list (string-append "-Dc_link_args=-Wl,-rpath="
9815 (assoc-ref %outputs "out")
9816 "/lib/gthumb/extensions")
9817 (string-append "-Dcpp_link_args=-Wl,-rpath="
9818 (assoc-ref %outputs "out")
9819 "/lib/gthumb/extensions"))))
9821 `(("pkg-config" ,pkg-config)
9822 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9823 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9824 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9825 ("intltool" ,intltool)
9826 ("itstool" ,itstool)))
9830 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9831 ("gstreamer" ,gstreamer)
9832 ("clutter" ,clutter)
9833 ("clutter-gst" ,clutter-gst)
9834 ("clutter-gtk" ,clutter-gtk)
9835 ("libjpeg" ,libjpeg-turbo)
9836 ("libtiff" ,libtiff)
9837 ("libraw" ,libraw)))
9838 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9839 (synopsis "GNOME image viewer and browser")
9840 (description "GThumb is an image viewer, browser, organizer, editor and
9841 advanced image management tool")
9842 (license license:gpl2+)))
9844 (define-public terminator
9850 (uri (string-append "https://launchpad.net/" name "/"
9851 "gtk3/" version "/" "+download/"
9852 name "-" version ".tar.gz"))
9855 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9856 (build-system python-build-system)
9858 `(("intltool" ,intltool)
9859 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9860 ("gettext" ,gettext-minimal)
9861 ("pkg-config" ,pkg-config)))
9864 ("gobject-introspection" ,gobject-introspection)
9865 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9866 ("python2-pycairo" ,python2-pycairo)
9867 ("python2-pygobject" ,python2-pygobject)
9868 ("python2-psutil" ,python2-psutil)
9871 `(#:python ,python-2 ; Python 3 isn't supported
9872 #:imported-modules ((guix build glib-or-gtk-build-system)
9873 ,@%python-build-system-modules)
9874 #:modules ((guix build python-build-system)
9875 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9878 (modify-phases %standard-phases
9880 'install 'wrap-program
9881 (lambda* (#:key outputs #:allow-other-keys)
9882 (let ((prog (string-append (assoc-ref outputs "out")
9883 "/bin/terminator")))
9885 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9886 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9888 (add-after 'wrap-program 'glib-or-gtk-wrap
9889 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9890 (home-page "https://gnometerminator.blogspot.com/")
9891 (synopsis "Store and run multiple GNOME terminals in one window")
9893 "Terminator allows you to run multiple GNOME terminals in a grid and
9894 +tabs, and it supports drag and drop re-ordering of terminals.")
9895 (license license:gpl2)))
9897 (define-public libhandy
9905 (url "https://source.puri.sm/Librem5/libhandy")
9906 (commit (string-append "v" version))))
9907 (file-name (git-file-name name version))
9909 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9910 (build-system meson-build-system)
9913 '("-Dglade_catalog=disabled"
9916 (modify-phases %standard-phases
9917 (add-before 'check 'pre-check
9919 ;; Tests require a running X server.
9920 (system "Xvfb :1 &")
9921 (setenv "DISPLAY" ":1")
9926 `(("glib:bin" ,glib "bin")
9927 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9929 ("gtk-doc" ,gtk-doc)
9930 ("pkg-config" ,pkg-config)
9931 ("gettext" ,gettext-minimal)
9933 ;; Test suite dependencies.
9934 ("xorg-server" ,xorg-server-for-tests)
9935 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9936 (home-page "https://source.puri.sm/Librem5/libhandy")
9937 (synopsis "Library full of GTK+ widgets for mobile phones")
9938 (description "The aim of the handy library is to help with developing user
9939 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9940 for usage on small and big screens.")
9941 (license license:lgpl2.1+)))
9943 (define-public libgit2-glib
9945 (name "libgit2-glib")
9946 (version "0.99.0.1")
9949 (uri (string-append "mirror://gnome/sources/" name "/"
9950 (version-major+minor version) "/"
9951 name "-" version ".tar.xz"))
9954 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9955 (build-system meson-build-system)
9957 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9958 ("gobject-introspection" ,gobject-introspection)
9959 ("pkg-config" ,pkg-config)
9960 ("python-pygobject" ,python-pygobject)
9961 ("python-wrapper" ,python-wrapper)
9965 ("libssh2" ,libssh2)))
9967 `(;; In Requires of libgit2-glib.pc.
9968 ("libgit2" ,libgit2)))
9969 (synopsis "GLib wrapper around the libgit2 Git access library")
9970 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9971 access library. It only implements the core plumbing functions, not really the
9972 higher level porcelain stuff.")
9973 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9974 (license license:gpl2+)))
9982 (uri (string-append "mirror://gnome/sources/" name "/"
9983 (version-major+minor version) "/"
9984 name "-" version ".tar.xz"))
9987 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9988 (build-system meson-build-system)
9992 (modify-phases %standard-phases
9993 (add-after 'unpack 'disable-post-install-partially
9995 (substitute* "meson_post_install.py"
9996 (("'python'") ; there are no python sources to compile
9997 (string-append "'" (which "true") "'"))
9998 (("gtk-update-icon-cache") (which "true")))
10000 (add-after 'unpack 'fix-test-sources
10002 (substitute* "tests/libgitg/test-commit.vala"
10003 (("/bin/bash") (which "bash")))
10005 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10006 (lambda* (#:key outputs #:allow-other-keys)
10007 (let ((prog (string-append (assoc-ref outputs "out")
10010 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10014 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10016 ("gtkspell3" ,gtkspell3)
10017 ("gtksourceview" ,gtksourceview-3)
10018 ("json-glib" ,json-glib)
10019 ("libdazzle" ,libdazzle)
10021 ("libgit2-glib" ,libgit2-glib)
10022 ("libpeas" ,libpeas)
10023 ("libsecret" ,libsecret)
10024 ("libsoup" ,libsoup)
10025 ("libxml2" ,libxml2)))
10027 `(("glib:bin" ,glib "bin")
10028 ("gtk+:bin" ,gtk+ "bin")
10029 ("gobject-introspection" ,gobject-introspection)
10030 ("intltool" ,intltool)
10031 ("pkg-config" ,pkg-config)
10033 (synopsis "Graphical user interface for git")
10035 "gitg is a graphical user interface for git. It aims at being a small,
10036 fast and convenient tool to visualize the history of git repositories.
10037 Besides visualization, gitg also provides several utilities to manage your
10038 repository and commit your work.")
10039 (home-page "https://wiki.gnome.org/Apps/Gitg")
10040 (license license:gpl2+)))
10042 (define-public gamin
10048 (uri (string-append "mirror://gnome/sources/" name "/"
10049 (version-major+minor version) "/"
10050 name "-" version ".tar.bz2"))
10053 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
10054 (build-system gnu-build-system)
10057 (modify-phases %standard-phases
10058 (add-after 'unpack 'remove-deprecated-macro
10060 (substitute* '("server/gam_node.c"
10061 "server/gam_subscription.h"
10062 "server/gam_node.h"
10063 "server/gam_subscription.c")
10064 (("G_CONST_RETURN") "const"))
10069 `(("intltool" ,intltool)
10070 ("pkg-config" ,pkg-config)))
10071 (home-page "https://people.gnome.org/~veillard/gamin/")
10072 (synopsis "File alteration monitor")
10074 "Gamin is a file and directory monitoring system defined to be a subset
10075 of the FAM (File Alteration Monitor) system. This is a service provided by a
10076 library which detects when a file or a directory has been modified.")
10077 (license license:gpl2+)))
10079 (define-public gnome-mahjongg
10081 (name "gnome-mahjongg")
10085 (uri (git-reference
10086 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
10088 (file-name (git-file-name name version))
10091 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
10092 (build-system meson-build-system)
10094 `(#:glib-or-gtk? #t))
10096 `(("appstream-glib" ,appstream-glib)
10097 ("gettext" ,gettext-minimal)
10098 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
10099 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
10100 ("itstool" ,itstool)
10101 ("pkg-config" ,pkg-config)
10104 `(("dconf" ,dconf)))
10108 ("librsvg" ,librsvg)))
10109 (synopsis "Mahjongg tile-matching game")
10110 (description "GNOME Mahjongg is a game based on the classic Chinese
10111 tile-matching game Mahjong. It features multiple board layouts, tile themes,
10112 and a high score table.")
10113 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
10114 (license license:gpl2+)))
10116 (define-public gnome-themes-extra
10118 (name "gnome-themes-extra")
10123 (uri (string-append "mirror://gnome/sources/" name "/"
10124 (version-major+minor version) "/" name "-"
10125 version ".tar.xz"))
10128 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
10129 (build-system gnu-build-system)
10131 '(#:configure-flags
10132 ;; Don't create 'icon-theme.cache'.
10133 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
10134 (true (string-append coreutils "/bin/true")))
10135 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
10137 `(("glib:bin" ,glib "bin")
10138 ("intltool" ,intltool)
10139 ("pkg-config" ,pkg-config)))
10144 ("librsvg" ,librsvg)
10145 ("libxml2" ,libxml2)))
10146 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
10147 (synopsis "GNOME Extra Themes")
10148 (description "This package provides themes and related elements that don't
10149 really fit in other upstream packages. It offers legacy support for GTK+ 2
10150 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
10151 index files needed for Adwaita to be used outside of GNOME.")
10152 (license license:lgpl2.1+)))
10154 (define-public polari
10160 (uri (string-append "mirror://gnome/sources/polari/"
10161 (version-major+minor version)
10162 "/polari-" version ".tar.xz"))
10165 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
10166 (build-system meson-build-system)
10168 `(#:glib-or-gtk? #t
10170 (modify-phases %standard-phases
10171 (add-after 'unpack 'skip-gtk-update-icon-cache
10173 (substitute* "meson/meson-postinstall.sh"
10174 (("gtk-update-icon-cache") (which "true")))
10176 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10177 (lambda* (#:key outputs #:allow-other-keys)
10178 (let ((prog (string-append (assoc-ref outputs "out")
10181 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10185 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10189 ("libsecret" ,libsecret)
10190 ("libsoup" ,libsoup)
10191 ("telepathy-glib" ,telepathy-glib)
10192 ("telepathy-logger" ,telepathy-logger)))
10194 `(("glib:bin" ,glib "bin")
10195 ("gobject-introspection" ,gobject-introspection)
10196 ("intltool" ,intltool)
10197 ("pkg-config" ,pkg-config)
10198 ("yelp-tools" ,yelp-tools)))
10200 `(("telepathy-idle" ,telepathy-idle)
10201 ("telepathy-mission-control" ,telepathy-mission-control)))
10202 (synopsis "Simple IRC Client")
10204 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
10205 integrate seamlessly with the GNOME desktop.")
10206 (home-page "https://wiki.gnome.org/Apps/Polari")
10207 (license license:gpl2+)))
10209 (define-public gnome-boxes
10211 (name "gnome-boxes")
10216 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
10217 (version-major+minor version) "/"
10218 "gnome-boxes-" version ".tar.xz"))
10220 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
10221 (build-system meson-build-system)
10223 '(#:glib-or-gtk? #t
10224 #:configure-flags (list "-Drdp=false"
10225 (string-append "-Dc_link_args=-Wl,-rpath="
10226 (assoc-ref %outputs "out")
10227 "/lib/gnome-boxes"))))
10229 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
10230 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10231 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10232 ("itstool" ,itstool)
10233 ("intltool" ,intltool)
10235 ("pkg-config" ,pkg-config)))
10237 `(("libarchive" ,libarchive)
10238 ("glib-networking" ,glib-networking) ;for TLS support
10239 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10241 ("gtk-vnc" ,gtk-vnc)
10242 ("libosinfo" ,libosinfo)
10243 ("libsecret" ,libsecret)
10244 ("libsoup" ,libsoup)
10246 ("libvirt" ,libvirt)
10247 ("libvirt-glib" ,libvirt-glib)
10248 ("libxml" ,libxml2)
10249 ("spice-gtk" ,spice-gtk)
10250 ("sparql-query" ,sparql-query)
10252 ("webkitgtk" ,webkitgtk)
10253 ("tracker" ,tracker)
10254 ("libgudev" ,libgudev)))
10255 (home-page "https://wiki.gnome.org/Apps/Boxes")
10256 (synopsis "View, access, and manage remote and virtual systems")
10257 (description "GNOME Boxes is a simple application to view, access, and
10258 manage remote and virtual systems. Note that this application requires the
10259 @code{libvirt} and @code{virtlog} daemons to run. Use the command
10260 @command{info '(guix) Virtualization Services'} to learn how to configure
10261 these services on the Guix System.")
10263 ;; For data/icons/empty-boxes.png.
10266 license:lgpl2.0+))))
10268 (define-public geary
10274 (uri (git-reference
10275 (url "https://gitlab.gnome.org/GNOME/geary")
10277 (file-name (git-file-name name version))
10280 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
10281 (build-system meson-build-system)
10283 `(#:glib-or-gtk? #t
10284 #:phases (modify-phases %standard-phases
10285 (add-after 'unpack 'disable-failing-tests
10287 (substitute* "test/meson.build"
10288 (("test\\('client-tests', geary_test_client_bin\\)")
10291 (add-after 'unpack 'disable-postinstall-script
10293 (substitute* "meson.build"
10294 (("meson.add_install_script\\(\
10295 join_paths\\('build-aux', 'post_install.py'\\)\\)")
10298 (add-before 'check 'setup-xvfb
10300 (system "Xvfb :1 &")
10301 (setenv "DISPLAY" ":1")
10304 `(("enchant" ,enchant)
10308 ("gmime" ,gmime-2.6)
10309 ("gnome-online-accounts:lib"
10310 ,gnome-online-accounts "lib")
10313 ("iso-codes" ,iso-codes)
10314 ("json-glib" ,json-glib)
10315 ("libcanberra" ,libcanberra)
10317 ("libhandy" ,libhandy)
10318 ("libpeas" ,libpeas)
10319 ("libsecret" ,libsecret)
10320 ("libunwind" ,libunwind)
10322 ("webkitgtk" ,webkitgtk)
10325 `(("appstream-glib" ,appstream-glib)
10326 ("cmake-minimal" ,cmake-minimal)
10327 ("desktop-file-utils" ,desktop-file-utils)
10328 ("gettext" ,gettext-minimal)
10329 ("glib:bin" ,glib "bin")
10330 ("gobject-introspection" ,gobject-introspection)
10331 ("itstool" ,itstool)
10332 ("libarchive" ,libarchive)
10333 ("libxml2" ,libxml2)
10334 ("pkg-config" ,pkg-config)
10336 ("xvfb" ,xorg-server-for-tests)))
10337 (synopsis "GNOME email application built around conversations")
10339 "Geary collects related messages together into conversations,
10340 making it easy to find and follow your discussions. Full-text and keyword
10341 search makes it easy to find the email you are looking for. Geary's
10342 full-featured composer lets you send rich, styled text with images, links, and
10343 lists, but also send lightweight, easy to read text messages. Geary
10344 automatically picks up your existing GNOME Online Accounts, and adding more is
10345 easy. Geary has a clean, fast, modern interface that works like you want it
10347 (home-page "https://wiki.gnome.org/Apps/Geary")
10353 license:cc-by-sa3.0
10354 license:public-domain
10358 (define-public glabels
10365 (uri (string-append "mirror://gnome/sources/" name "/"
10366 (version-major+minor version) "/"
10367 "glabels-" version ".tar.xz"))
10369 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10370 (build-system glib-or-gtk-build-system)
10372 `(("gettext" ,gettext-minimal)
10373 ("glib:bin" ,glib "bin")
10374 ("intltool" ,intltool)
10375 ("itstool" ,itstool)
10376 ("pkg-config" ,pkg-config)))
10379 ("librsvg" ,librsvg)
10380 ("libxml2" ,libxml2)))
10381 (home-page "https://glabels.org/")
10382 (synopsis "Program for creating labels and business cards")
10384 "gLabels is a program for creating labels and business cards. It is
10385 designed to work with various laser/ink-jet peel-off label and business
10386 card sheets that you’ll find at most office supply stores.")
10387 (license license:gpl3+)))
10389 (define-public libratbag
10396 (uri (git-reference
10397 (url "https://github.com/libratbag/libratbag")
10398 (commit (string-append "v" version))))
10399 (file-name (git-file-name name version))
10401 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10402 (build-system meson-build-system)
10404 `(#:configure-flags
10405 (list "-Dsystemd=false"
10406 "-Dlogind-provider=elogind")
10408 (modify-phases %standard-phases
10409 (add-after 'install 'wrap
10410 (lambda* (#:key inputs outputs #:allow-other-keys)
10411 (let* ((out (assoc-ref outputs "out"))
10412 (site (string-append
10414 ,(version-major+minor (package-version python))
10416 (evdev (string-append
10417 (assoc-ref inputs "python-evdev") site))
10418 (pygo (string-append
10419 (assoc-ref inputs "python-pygobject") site))
10421 `("PYTHONPATH" = (,evdev ,pygo))))
10422 (wrap-program (string-append out "/bin/" "ratbagctl")
10427 ("pkg-config" ,pkg-config)
10429 ("valgrind" ,valgrind)))
10432 ("json-glib" ,json-glib)
10433 ("libevdev" ,libevdev)
10434 ("libsystemd" ,elogind)
10435 ("libunistring" ,libunistring)
10436 ("python-evdev" ,python-evdev)
10437 ("python-pygobject" ,python-pygobject)
10439 (home-page "https://github.com/libratbag/libratbag")
10440 (synopsis "DBus daemon and utility for configuring gaming mice")
10441 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10442 configure input devices, mainly gaming mice. The daemon provides a generic
10443 way to access the various features exposed by these mice and abstracts away
10444 hardware-specific and kernel-specific quirks. There is also the
10445 @command{ratbagctl} command line interface for configuring devices.
10447 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10450 The ratbagd DBus service can be enabled by adding the following service to
10451 your operating-system definition:
10453 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10454 (license license:expat)))
10456 (define-public piper
10463 (uri (git-reference
10464 (url "https://github.com/libratbag/piper")
10467 (base32 "00vrcsbsv2477l1ncpyzc61lhxgac84dsgr3sjs8qxw3nh1gaasv"))
10468 (file-name (git-file-name name version))))
10469 (build-system meson-build-system)
10471 `(("gettext" ,gettext-minimal)
10472 ("glib:bin" ,glib "bin")
10473 ("gobject-introspection" ,gobject-introspection)
10474 ("pkg-config" ,pkg-config)
10475 ("python-flake8" ,python-flake8)))
10477 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10479 ("gtk:bin" ,gtk+ "bin")
10480 ("librsvg" ,librsvg)
10481 ("python-evdev" ,python-evdev)
10482 ("python-lxml" ,python-lxml)
10483 ("python-pycairo" ,python-pycairo)
10484 ("python-pygobject" ,python-pygobject)))
10486 `(#:imported-modules ((guix build python-build-system)
10487 ,@%meson-build-system-modules)
10488 #:modules (((guix build python-build-system) #:prefix python:)
10489 (guix build meson-build-system)
10490 (guix build utils))
10492 (modify-phases %standard-phases
10493 (add-after 'unpack 'dont-update-gtk-icon-cache
10495 (substitute* "meson.build"
10496 (("meson.add_install_script('meson_install.sh')") ""))
10498 ;; TODO: Switch to wrap-script when it is fixed.
10499 (add-after 'install 'wrap-python
10500 (assoc-ref python:%standard-phases 'wrap))
10501 (add-after 'wrap-python 'wrap
10502 (lambda* (#:key outputs #:allow-other-keys)
10504 (string-append (assoc-ref outputs "out" )"/bin/piper")
10505 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10507 (home-page "https://github.com/libratbag/piper/")
10508 (synopsis "Configure bindings and LEDs on gaming mice")
10509 (description "Piper is a GTK+ application for configuring gaming mice with
10510 onboard configuration for key bindings via libratbag. Piper requires
10511 a @command{ratbagd} daemon running with root privileges. It can be run
10512 manually as root, but is preferably configured as a DBus service that can
10513 launch on demand. This can be configured by enabling the following service,
10514 provided there is a DBus service present:
10516 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10517 (license license:gpl2)))
10519 (define-public parlatype
10526 (uri (git-reference
10527 (url "https://github.com/gkarsay/parlatype.git")
10528 (commit (string-append "v" version))))
10529 (file-name (git-file-name name version))
10531 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
10532 (build-system meson-build-system)
10534 `(#:glib-or-gtk? #t
10535 #:tests? #f ;require internet access
10537 (modify-phases %standard-phases
10538 (add-after 'install 'wrap-parlatype
10539 ;; Add gstreamer plugin provided in this package to system's
10541 (lambda* (#:key outputs #:allow-other-keys)
10542 (let* ((out (assoc-ref outputs "out"))
10543 (gst-plugin-path (string-append
10544 out "/lib/gstreamer-1.0/"
10546 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10547 (wrap-program (string-append out "/bin/parlatype")
10548 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10551 `(("appstream-glib" ,appstream-glib)
10552 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10553 ("gettext" ,gettext-minimal)
10554 ("glib" ,glib "bin") ;for glib-compile-resources
10555 ("pkg-config" ,pkg-config)
10556 ("yelp-tools" ,yelp-tools)))
10558 `(("gst-plugins-base" ,gst-plugins-base)
10559 ("gst-plugins-good" ,gst-plugins-good)
10560 ("gstreamer" ,gstreamer)
10562 ("pocketsphinx" ,pocketsphinx)
10563 ("pulseaudio" ,pulseaudio)
10564 ("sphinxbase" ,sphinxbase)))
10565 (home-page "http://gkarsay.github.io/parlatype/")
10566 (synopsis "GNOME audio player for transcription")
10567 (description "Parlatype is an audio player for the GNOME desktop
10568 environment. Its main purpose is the manual transcription of spoken
10570 (license license:gpl3+)))
10572 (define-public jsonrpc-glib
10574 (name "jsonrpc-glib")
10578 (uri (string-append "mirror://gnome/sources/" name "/"
10579 (version-major+minor version) "/"
10580 name "-" version ".tar.xz"))
10583 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10584 (build-system meson-build-system)
10586 `(("json-glib" ,json-glib)
10589 `(("pkg-config" ,pkg-config)
10590 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10591 ("gobject-introspection" ,gobject-introspection)
10593 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10594 (synopsis "JSON-RPC library for GLib")
10595 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10596 peers in either a synchronous or asynchronous fashion. It also allows
10597 communicating using the GVariant serialization format instead of JSON when
10598 both peers support it. You might want that when communicating on a single
10599 host to avoid parser overhead and memory-allocator fragmentation.")
10600 (license license:lgpl2.1+)))
10602 (define-public feedbackd
10605 (version "0.0.0+git20200527")
10608 (uri (git-reference
10609 (url "https://source.puri.sm/Librem5/feedbackd.git")
10610 (commit (string-append "v" version))))
10611 (file-name (git-file-name name version))
10614 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
10615 (build-system meson-build-system)
10617 `(("glib:bin" ,glib "bin")
10618 ("gobject-introspection" ,gobject-introspection)
10619 ("pkg-config" ,pkg-config)
10624 ("json-glib" ,json-glib)
10625 ("libgudev" ,libgudev)))
10627 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
10628 (synopsis "Haptic/visual/audio feedback via DBus")
10629 (description "Feedbackd provides a DBus daemon to act on events to provide
10630 haptic, visual and audio feedback. It offers the libfeedbackd library and
10631 GObject introspection bindings.")
10632 (home-page "https://source.puri.sm/Librem5/feedbackd")
10633 (license (list license:lgpl2.1+ ; libfeedbackd
10634 license:lgpl3+)))) ; the rest
10636 (define-public sysprof
10642 (uri (string-append "mirror://gnome/sources/" name "/"
10643 (version-major+minor version) "/"
10644 name "-" version ".tar.xz"))
10647 "1l4kr1av7933vb4zql9c5lgzivlw64hyky4nr8xin1v5if6vnjw4"))))
10648 (build-system meson-build-system)
10650 `(#:configure-flags
10651 (list (string-append "-Dsystemdunitdir="
10654 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
10656 (modify-phases %standard-phases
10657 (add-after 'unpack 'patch-install-script
10659 (substitute* "build-aux/meson/post_install.sh"
10660 (("gtk-update-icon-cache") "true")
10661 (("update-desktop-database") "true"))
10666 ("libdazzle" ,libdazzle)
10667 ("polkit" ,polkit)))
10669 `(("gettext" ,gettext-minimal)
10670 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
10671 ("itstool" ,itstool)
10672 ("pkg-config" ,pkg-config)
10673 ("xmllint" ,libxml2)))
10674 (home-page "http://www.sysprof.com/")
10675 (synopsis "System-wide performance profiler")
10676 (description "Sysprof is a sampling profiler that uses a kernel module
10677 to generate stacktraces which are then interpreted by the userspace program
10678 @command{sysprof}.")
10679 (license license:gpl3+)))
10681 (define-public gnome-builder
10683 (name "gnome-builder")
10687 (uri (string-append "mirror://gnome/sources/" name "/"
10688 (version-major+minor version) "/"
10689 name "-" version ".tar.xz"))
10692 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
10693 (build-system meson-build-system)
10695 `(#:configure-flags (list "-Dnetwork_tests=false"
10696 ;; TODO: Enable all plugins...
10697 "-Dplugin_clang=false"
10698 "-Dplugin_flatpak=false"
10699 "-Dplugin_glade=false"
10700 ;; ... except this one.
10701 "-Dplugin_update_manager=false")
10703 (modify-phases %standard-phases
10704 (add-after 'unpack 'patch-meson
10705 (lambda* (#:key inputs #:allow-other-keys)
10706 (substitute* "build-aux/meson/post_install.py"
10707 (("gtk-update-icon-cache") "true")
10708 (("update-desktop-database") "true"))
10709 (substitute* "src/libide/meson.build"
10711 (string-append (assoc-ref inputs "python-pygobject")
10714 (add-before 'check 'pre-check
10716 (system "Xvfb :1 &")
10717 (setenv "DISPLAY" ":1")
10720 `(("devhelp" ,devhelp)
10723 ("json-glib" ,json-glib)
10724 ("jsonrpc-glib" ,jsonrpc-glib)
10725 ("libdazzle" ,libdazzle)
10726 ("libgit2-glib" ,libgit2-glib)
10727 ("libpeas" ,libpeas)
10728 ("python-pygobject" ,python-pygobject)
10729 ("sysprof" ,sysprof)
10730 ("template-glib" ,template-glib)
10732 ("webkitgtk" ,webkitgtk)))
10734 `(("gtksourceview" ,gtksourceview))) ;needed for settings
10736 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10737 ("glib:bin" ,glib "bin")
10738 ("gettext" ,gettext-minimal)
10739 ("pkg-config" ,pkg-config)
10741 ("xorg-server" ,xorg-server-for-tests)))
10742 (home-page "https://wiki.gnome.org/Apps/Builder")
10743 (synopsis "Toolsmith for GNOME-based applications")
10744 (description "Builder aims to be an integrated development
10745 environment (IDE) for writing GNOME-based software. It features fuzzy search,
10746 auto-completion, a mini code map, documentation browsing, Git integration, an
10747 integrated profiler via Sysprof, debugging support, and more.")
10748 (license license:gpl3+)))