gnu: Add python2-pyatspi.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 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 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 ;;;
57 ;;; This file is part of GNU Guix.
58 ;;;
59 ;;; GNU Guix is free software; you can redistribute it and/or modify it
60 ;;; under the terms of the GNU General Public License as published by
61 ;;; the Free Software Foundation; either version 3 of the License, or (at
62 ;;; your option) any later version.
63 ;;;
64 ;;; GNU Guix is distributed in the hope that it will be useful, but
65 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
66 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67 ;;; GNU General Public License for more details.
68 ;;;
69 ;;; You should have received a copy of the GNU General Public License
70 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
71
72 (define-module (gnu packages gnome)
73 #:use-module (gnu packages)
74 #:use-module (gnu packages admin)
75 #:use-module (gnu packages aspell)
76 #:use-module (gnu packages autotools)
77 #:use-module (gnu packages avahi)
78 #:use-module (gnu packages backup)
79 #:use-module (gnu packages base)
80 #:use-module (gnu packages bash)
81 #:use-module (gnu packages bison)
82 #:use-module (gnu packages boost)
83 #:use-module (gnu packages build-tools)
84 #:use-module (gnu packages calendar)
85 #:use-module (gnu packages cdrom)
86 #:use-module (gnu packages check)
87 #:use-module (gnu packages cmake)
88 #:use-module (gnu packages compression)
89 #:use-module (gnu packages crates-io)
90 #:use-module (gnu packages cups)
91 #:use-module (gnu packages curl)
92 #:use-module (gnu packages cyrus-sasl)
93 #:use-module (gnu packages databases)
94 #:use-module (gnu packages dbm)
95 #:use-module (gnu packages djvu)
96 #:use-module (gnu packages dns)
97 #:use-module (gnu packages docbook)
98 #:use-module (gnu packages documentation)
99 #:use-module (gnu packages enchant)
100 #:use-module (gnu packages flex)
101 #:use-module (gnu packages fonts)
102 #:use-module (gnu packages file-systems)
103 #:use-module (gnu packages fontutils)
104 #:use-module (gnu packages freedesktop)
105 #:use-module (gnu packages game-development)
106 #:use-module (gnu packages gettext)
107 #:use-module (gnu packages ghostscript)
108 #:use-module (gnu packages gl)
109 #:use-module (gnu packages glib)
110 #:use-module (gnu packages gnupg)
111 #:use-module (gnu packages gnuzilla)
112 #:use-module (gnu packages geo)
113 #:use-module (gnu packages gperf)
114 #:use-module (gnu packages graphviz)
115 #:use-module (gnu packages gstreamer)
116 #:use-module (gnu packages gtk)
117 #:use-module (gnu packages guile)
118 #:use-module (gnu packages ibus)
119 #:use-module (gnu packages icu4c)
120 #:use-module (gnu packages image)
121 #:use-module (gnu packages imagemagick)
122 #:use-module (gnu packages inkscape)
123 #:use-module (gnu packages iso-codes)
124 #:use-module (gnu packages kerberos)
125 #:use-module (gnu packages libcanberra)
126 #:use-module (gnu packages libunistring)
127 #:use-module (gnu packages libunwind)
128 #:use-module (gnu packages libusb)
129 #:use-module (gnu packages linux)
130 #:use-module (gnu packages lirc)
131 #:use-module (gnu packages lua)
132 #:use-module (gnu packages mail)
133 #:use-module (gnu packages mp3)
134 #:use-module (gnu packages multiprecision)
135 #:use-module (gnu packages music)
136 #:use-module (gnu packages ncurses)
137 #:use-module (gnu packages nettle)
138 #:use-module (gnu packages networking)
139 #:use-module (gnu packages ninja)
140 #:use-module (gnu packages nss)
141 #:use-module (gnu packages openldap)
142 #:use-module (gnu packages password-utils)
143 #:use-module (gnu packages pcre)
144 #:use-module (gnu packages pdf)
145 #:use-module (gnu packages perl)
146 #:use-module (gnu packages photo)
147 #:use-module (gnu packages pkg-config)
148 #:use-module (gnu packages polkit)
149 #:use-module (gnu packages popt)
150 #:use-module (gnu packages pretty-print)
151 #:use-module (gnu packages pulseaudio)
152 #:use-module (gnu packages python)
153 #:use-module (gnu packages python-crypto)
154 #:use-module (gnu packages python-web)
155 #:use-module (gnu packages python-xyz)
156 #:use-module (gnu packages rdesktop)
157 #:use-module (gnu packages readline)
158 #:use-module (gnu packages ruby)
159 #:use-module (gnu packages rust)
160 #:use-module (gnu packages samba)
161 #:use-module (gnu packages scanner)
162 #:use-module (gnu packages selinux)
163 #:use-module (gnu packages slang)
164 #:use-module (gnu packages speech)
165 #:use-module (gnu packages spice)
166 #:use-module (gnu packages sqlite)
167 #:use-module (gnu packages ssh)
168 #:use-module (gnu packages swig)
169 #:use-module (gnu packages tex)
170 #:use-module (gnu packages time)
171 #:use-module (gnu packages tls)
172 #:use-module (gnu packages valgrind)
173 #:use-module (gnu packages version-control)
174 #:use-module (gnu packages video)
175 #:use-module (gnu packages virtualization)
176 #:use-module (gnu packages vpn)
177 #:use-module (gnu packages web)
178 #:use-module (gnu packages webkit)
179 #:use-module (gnu packages xdisorg)
180 #:use-module (gnu packages xiph)
181 #:use-module (gnu packages xml)
182 #:use-module (gnu packages xorg)
183 #:use-module (gnu artwork)
184 #:use-module (guix build-system cargo)
185 #:use-module (guix build-system cmake)
186 #:use-module (guix build-system glib-or-gtk)
187 #:use-module (guix build-system gnu)
188 #:use-module (guix build-system meson)
189 #:use-module (guix build-system python)
190 #:use-module (guix build-system trivial)
191 #:use-module (guix download)
192 #:use-module (guix git-download)
193 #:use-module ((guix licenses) #:prefix license:)
194 #:use-module (guix packages)
195 #:use-module (guix utils)
196 #:use-module (guix gexp)
197 #:use-module (guix monads)
198 #:use-module (guix store)
199 #:use-module (ice-9 match)
200 #:use-module (srfi srfi-1))
201
202 (define-public brasero
203 (package
204 (name "brasero")
205 (version "3.12.2")
206 (source (origin
207 (method url-fetch)
208 (uri (string-append "mirror://gnome/sources/brasero/"
209 (version-major+minor version) "/"
210 "brasero-" version ".tar.xz"))
211 (sha256
212 (base32
213 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
214 (build-system glib-or-gtk-build-system)
215 (arguments
216 `(#:configure-flags (list
217 (string-append "--with-girdir="
218 (assoc-ref %outputs "out")
219 "/share/gir-1.0")
220 (string-append "--with-typelibdir="
221 (assoc-ref %outputs "out")
222 "/lib/girepository-1.0"))
223 #:phases
224 (modify-phases %standard-phases
225 (add-before 'configure 'embed-growisofs
226 (lambda* (#:key inputs #:allow-other-keys)
227 (substitute* "plugins/growisofs/burn-growisofs.c"
228 (("\"growisofs") (string-append "\"" (which "growisofs"))))
229 #t)))))
230 (propagated-inputs
231 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
232 (native-inputs
233 `(("intltool" ,intltool)
234 ("itstool" ,itstool)
235 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
236 ("gobject-introspection" ,gobject-introspection)
237 ("pkg-config" ,pkg-config)))
238 (inputs
239 `(("dvd+rw-tools" ,dvd+rw-tools)
240 ("glib" ,glib)
241 ("gnome-doc-utils" ,gnome-doc-utils)
242 ("gstreamer" ,gstreamer)
243 ("gst-plugins-base" ,gst-plugins-base)
244 ("gtk+" ,gtk+)
245 ("libcanberra" ,libcanberra)
246 ("libice" ,libice)
247 ("libnotify" ,libnotify)
248 ("libsm" ,libsm)
249 ("libxml2" ,libxml2)
250 ("totem-pl-parser" ,totem-pl-parser)))
251 (home-page "https://wiki.gnome.org/Apps/Brasero")
252 (synopsis "CD/DVD burning tool for Gnome")
253 (description "Brasero is an application to burn CD/DVD for the Gnome
254 Desktop. It is designed to be as simple as possible and has some unique
255 features to enable users to create their discs easily and quickly.")
256 (license license:gpl2+)))
257
258 (define-public notification-daemon
259 (package
260 (name "notification-daemon")
261 (version "3.20.0")
262 (source
263 (origin
264 (method url-fetch)
265 (uri
266 (string-append "mirror://gnome/sources/" name "/"
267 (version-major+minor version) "/"
268 name "-" version ".tar.xz"))
269 (sha256
270 (base32
271 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
272 (build-system glib-or-gtk-build-system)
273 (native-inputs
274 `(("intltool" ,intltool)
275 ("pkg-config" ,pkg-config)))
276 (inputs
277 `(("glib" ,glib)
278 ("gtk+" ,gtk+)
279 ("x11" ,libx11)))
280 (synopsis "Notification Daemon for GNOME Desktop")
281 (description "Notification-Daemon is the server implementation of the
282 freedesktop.org desktop notification specification.")
283 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
284 (license license:gpl2+)))
285
286 (define-public mm-common
287 (package
288 (name "mm-common")
289 (version "1.0.0")
290 (source (origin
291 (method url-fetch)
292 (uri (string-append "mirror://gnome/sources/" name "/"
293 (version-major+minor version) "/"
294 name "-" version ".tar.xz"))
295 (sha256
296 (base32
297 "1m4w33da9f4rx2d6kdj3ix3kl0gn16ml82v2mdn4hljr3q29nzdr"))))
298 (build-system meson-build-system)
299 (arguments
300 `(#:phases
301 (modify-phases %standard-phases
302 (add-after 'unpack 'patch
303 (lambda* (#:key inputs #:allow-other-keys)
304 (substitute* "util/mm-common-prepare.in"
305 (("ln") (string-append (assoc-ref inputs "coreutils")
306 "/bin/ln"))
307 (("cp") (string-append (assoc-ref inputs "coreutils")
308 "/bin/cp"))
309 (("sed") (string-append (assoc-ref inputs "sed")
310 "/bin/sed"))
311 (("cat") (string-append (assoc-ref inputs "coreutils")
312 "/bin/cat")))
313 #t)))))
314 (native-inputs
315 `(("coreutils" ,coreutils)
316 ("gettext" ,gettext-minimal)
317 ("pkg-config" ,pkg-config)
318 ("sed" ,sed)))
319 (inputs
320 `(("python" ,python)))
321 (synopsis "Module of GNOME C++ bindings")
322 (description "The mm-common module provides the build infrastructure
323 and utilities shared among the GNOME C++ binding libraries. Release
324 archives of mm-common include the Doxygen tag file for the GNU C++
325 Library reference documentation.")
326 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
327 (license license:gpl2+)))
328
329 (define-public phodav
330 (package
331 (name "phodav")
332 (version "2.4")
333 (source (origin
334 (method url-fetch)
335 (uri (string-append "mirror://gnome/sources/" name "/"
336 (version-major+minor version) "/"
337 name "-" version ".tar.xz"))
338 (sha256
339 (base32
340 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
341 (build-system meson-build-system)
342 (native-inputs
343 `(("gettext" ,gettext-minimal)
344 ("glib:bin" ,glib "bin")
345 ("gtk-doc" ,gtk-doc)
346 ("pkg-config" ,pkg-config)))
347 (inputs
348 `(("avahi" ,avahi)
349 ("libgudev" ,libgudev)
350 ("libsoup" ,libsoup)))
351 (synopsis "WebDav server implementation using libsoup")
352 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
353 but it is generic enough to be reused in other projects,
354 in particular in the GNOME desktop.")
355 (home-page "https://wiki.gnome.org/phodav")
356 (license license:lgpl2.1+)))
357
358 (define-public gnome-color-manager
359 (package
360 (name "gnome-color-manager")
361 (version "3.32.0")
362 (source (origin
363 (method url-fetch)
364 (uri (string-append "mirror://gnome/sources/" name "/"
365 (version-major+minor version) "/"
366 name "-" version ".tar.xz"))
367 (sha256
368 (base32
369 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
370 (build-system meson-build-system)
371 (arguments
372 `(#:glib-or-gtk? #t
373 #:phases
374 (modify-phases %standard-phases
375 (add-before
376 'check 'pre-check
377 (lambda _
378 ;; Tests require a running X server.
379 (system "Xvfb :1 &")
380 (setenv "DISPLAY" ":1")
381 #t)))))
382 (native-inputs
383 `(("desktop-file-utils" ,desktop-file-utils)
384 ("gettext" ,gettext-minimal)
385 ("glib:bin" ,glib "bin")
386 ("gtk+:bin" ,gtk+ "bin")
387 ("itstool" ,itstool)
388 ("pkg-config" ,pkg-config)
389 ("xorg-server" ,xorg-server-for-tests)))
390 (inputs
391 `(("adwaita-icon-theme" ,adwaita-icon-theme)
392 ("appstream-glib" ,appstream-glib)
393 ("colord-gtk" ,colord-gtk)
394 ("exiv2" ,exiv2)
395 ("gnome-desktop" ,gnome-desktop)
396 ("libcanberra" ,libcanberra)
397 ("libexif" ,libexif)
398 ("libtiff" ,libtiff)
399 ("libxrandr" ,libxrandr)
400 ("libxtst" ,libxtst)
401 ("libxxf86vm" ,libxxf86vm)
402 ("vte" ,vte)
403 ("xorgproto" ,xorgproto)))
404 (synopsis "Color profile manager for the GNOME desktop")
405 (description "GNOME Color Manager is a session framework that makes
406 it easy to manage, install and generate color profiles
407 in the GNOME desktop.")
408 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
409 (license license:gpl2+)))
410
411 (define-public gnome-online-miners
412 (package
413 (name "gnome-online-miners")
414 (version "3.34.0")
415 (source (origin
416 (method url-fetch)
417 (uri (string-append "mirror://gnome/sources/" name "/"
418 (version-major+minor version) "/"
419 name "-" version ".tar.xz"))
420 (sha256
421 (base32
422 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
423 (build-system glib-or-gtk-build-system)
424 (native-inputs
425 `(("gettext" ,gettext-minimal)
426 ("glib:bin" ,glib "bin")
427 ("gobject-introspection" ,gobject-introspection)
428 ("gtk+:bin" ,gtk+ "bin")
429 ("pkg-config" ,pkg-config)))
430 (inputs
431 `(("gnome-online-accounts" ,gnome-online-accounts)
432 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
433 ("grilo" ,grilo)
434 ("libgdata" ,libgdata)
435 ("libgfbgraph" ,gfbgraph)
436 ("libzapojit" ,libzapojit)
437 ("rest" ,rest)
438 ("tracker" ,tracker)))
439 (synopsis "Web Crawlers for GNOME")
440 (description "GNOME Online Miners provides a set of crawlers that
441 go through your online content and index them locally in Tracker.
442 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
443 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
444 (license license:gpl2+)))
445
446 (define-public gssdp
447 (package
448 (name "gssdp")
449 (version "1.2.2")
450 (source (origin
451 (method url-fetch)
452 (uri (string-append "mirror://gnome/sources/" name "/"
453 (version-major+minor version) "/"
454 name "-" version ".tar.xz"))
455 (sha256
456 (base32
457 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
458 (build-system meson-build-system)
459 (native-inputs
460 `(("gettext" ,gettext-minimal)
461 ("glib:bin" ,glib "bin")
462 ("gobject-introspection" ,gobject-introspection)
463 ("gtk-doc" ,gtk-doc)
464 ("pkg-config" ,pkg-config)
465 ("vala" ,vala)))
466 (inputs
467 `(("gtk+" ,gtk+)
468 ("libsoup" ,libsoup)))
469 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
470 Protocol} for GNOME")
471 (description "This package provides a library to handle resource discovery
472 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
473 a debugging tool, @command{gssdp-device-sniffer}.")
474 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
475 (license license:lgpl2.0+)))
476
477 (define-public gupnp
478 (package
479 (name "gupnp")
480 (version "1.2.2")
481 (source (origin
482 (method url-fetch)
483 (uri (string-append "mirror://gnome/sources/" name "/"
484 (version-major+minor version) "/"
485 name "-" version ".tar.xz"))
486 (sha256
487 (base32
488 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
489 (build-system meson-build-system)
490 (native-inputs
491 `(("gettext" ,gettext-minimal)
492 ("glib:bin" ,glib "bin")
493 ("gobject-introspection" ,gobject-introspection)
494 ("gtk-doc" ,gtk-doc)
495 ("pkg-config" ,pkg-config)
496 ("vala" ,vala)))
497 (inputs
498 `(("gssdp" ,gssdp)
499 ("gtk+" ,gtk+)
500 ("libsoup" ,libsoup)))
501 (synopsis "PnP API for GNOME")
502 (description "This package provides GUPnP, an object-oriented framework
503 for creating UPnP devices and control points, written in C using
504 @code{GObject} and @code{libsoup}.")
505 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
506 (license license:lgpl2.0+)))
507
508 (define-public gupnp-dlna
509 (package
510 (name "gupnp-dlna")
511 (version "0.10.5")
512 (source (origin
513 (method url-fetch)
514 (uri (string-append "mirror://gnome/sources/" name "/"
515 (version-major+minor version) "/"
516 name "-" version ".tar.xz"))
517 (sha256
518 (base32
519 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
520 (build-system gnu-build-system)
521 (native-inputs
522 `(("gettext" ,gettext-minimal)
523 ("glib:bin" ,glib "bin")
524 ("gobject-introspection" ,gobject-introspection)
525 ("gtk-doc" ,gtk-doc)
526 ("libxml" ,libxml2)
527 ("pkg-config" ,pkg-config)
528 ("vala" ,vala)))
529 (inputs
530 `(("gstreamer" ,gstreamer)
531 ("gupnp" ,gupnp)))
532 (propagated-inputs
533 `(("gst-plugins-base" ,gst-plugins-base)
534 ("gst-plugins-good" ,gst-plugins-good)))
535 (synopsis "GUPnP DLNA for GNOME")
536 (description "This package provides a small utility library to
537 support DLNA-related tasks such as media profile guessing, transcoding to a
538 given profile, etc. DLNA is a subset of UPnP A/V.")
539 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
540 (license license:lgpl2.0+)))
541
542 (define-public gupnp-av
543 (package
544 (name "gupnp-av")
545 (version "0.12.11")
546 (source (origin
547 (method url-fetch)
548 (uri (string-append "mirror://gnome/sources/" name "/"
549 (version-major+minor version) "/"
550 name "-" version ".tar.xz"))
551 (sha256
552 (base32
553 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
554 (build-system gnu-build-system)
555 (native-inputs
556 `(("gettext" ,gettext-minimal)
557 ("glib:bin" ,glib "bin")
558 ("gobject-introspection" ,gobject-introspection)
559 ("gtk-doc" ,gtk-doc)
560 ("libxml" ,libxml2)
561 ("pkg-config" ,pkg-config)))
562 (inputs
563 `(("gtk+" ,gtk+)
564 ("gupnp" ,gupnp)))
565 (synopsis "GUPnP A/V for GNOME")
566 (description "This package provides a small library for handling
567 and implementation of UPnP A/V profiles.")
568 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
569 (license license:lgpl2.0+)))
570
571 (define-public libmediaart
572 (package
573 (name "libmediaart")
574 (version "1.9.4")
575 (source (origin
576 (method url-fetch)
577 (uri (string-append "mirror://gnome/sources/" name "/"
578 (version-major+minor version) "/"
579 name "-" version ".tar.xz"))
580 (sha256
581 (base32
582 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
583 (build-system gnu-build-system)
584 (native-inputs
585 `(("glib:bin" ,glib "bin")
586 ("pkg-config" ,pkg-config)))
587 (inputs
588 `(("gdk-pixbuf" ,gdk-pixbuf)
589 ("gettext" ,gettext-minimal)
590 ("gobject-introspection" ,gobject-introspection)
591 ("gtk+:doc", gtk+ "doc")
592 ("vala" ,vala)))
593 (synopsis "Media art library for the GNOME desktop")
594 (description
595 "The libmediaart library is the foundation for media art caching,
596 extraction, and lookup for applications on the desktop.")
597 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
598 (license license:lgpl2.1+)))
599
600 (define-public gnome-initial-setup
601 (package
602 (name "gnome-initial-setup")
603 (version "3.32.1")
604 (source (origin
605 (method url-fetch)
606 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
607 (version-major+minor version)
608 "/gnome-initial-setup-" version ".tar.xz"))
609 (sha256
610 (base32
611 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
612 (build-system meson-build-system)
613 (arguments
614 '(#:configure-flags '(;; Enable camera support for user selfie.
615 "-Dcheese=auto"
616 "-Dsystemd=false")
617 #:phases (modify-phases %standard-phases
618 (add-after 'unpack 'set-gkbd-file-name
619 (lambda* (#:key inputs #:allow-other-keys)
620 ;; Allow the "Preview" button in the keyboard layout
621 ;; selection dialog to display the layout.
622 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
623 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
624 (("\"gkbd-keyboard-display")
625 (string-append "\"" libgnomekbd
626 "/bin/gkbd-keyboard-display")))
627 #t))))))
628 (native-inputs
629 `(("gettext" ,gettext-minimal)
630 ("glib:bin" ,glib "bin")
631 ("gobject-introspection" ,gobject-introspection)
632 ("gtk+:bin" ,gtk+ "bin")
633 ("pkg-config" ,pkg-config)))
634 (inputs
635 `(("accountsservice" ,accountsservice)
636 ;("adwaita-icon-theme" ,adwaita-icon-theme)
637 ("gdm" ,gdm)
638 ("geoclue" ,geoclue)
639 ("gnome-desktop" ,gnome-desktop)
640 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
641 ("gnome-online-accounts" ,gnome-online-accounts)
642 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
643 ("gstreamer" ,gstreamer)
644 ("ibus" ,ibus)
645 ("json-glib" ,json-glib)
646 ("krb5" ,mit-krb5)
647 ("libgweather" ,libgweather)
648 ("libnma" ,libnma)
649 ("libsecret" ,libsecret)
650 ("network-manager" ,network-manager)
651 ("packagekit" ,packagekit)
652 ("polkit" ,polkit)
653 ("pwquality" ,libpwquality)
654 ("rest" ,rest)
655 ("upower" ,upower)
656 ("webkitgtk" ,webkitgtk)
657 ("libgnomekbd" ,libgnomekbd)))
658 (synopsis "Initial setup wizard for GNOME desktop")
659 (description "This package provides a set-up wizard when a
660 user logs into GNOME for the first time. It typically provides a
661 tour of all gnome components and allows the user to set them up.")
662 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
663 (license license:gpl2)))
664
665 (define-public gnome-user-share
666 (package
667 (name "gnome-user-share")
668 (version "3.33.1")
669 (source (origin
670 (method url-fetch)
671 (uri (string-append "mirror://gnome/sources/" name "/"
672 (version-major+minor version) "/"
673 name "-" version ".tar.xz"))
674 (sha256
675 (base32
676 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
677 (build-system meson-build-system)
678 (arguments
679 `(#:glib-or-gtk? #t
680 #:configure-flags
681 `("-Dsystemd=false"
682 ;; Enable nautilus extension for file sharing.
683 "-Dnautilus_extension=true")))
684 (native-inputs
685 `(("gettext" ,gettext-minimal)
686 ("glib:bin" ,glib "bin")
687 ("gobject-introspection" ,gobject-introspection)
688 ("gtk+:bin" ,gtk+ "bin")
689 ("pkg-config" ,pkg-config)
690 ("yelp-tools" ,yelp-tools)))
691 (inputs
692 `(("glib" ,glib)
693 ("gnome-bluetooth" ,gnome-bluetooth)
694 ("gtk+" ,gtk+)
695 ("libcanberra" ,libcanberra)
696 ("libnotify" ,libnotify)
697 ("nautilus" ,nautilus))) ; For nautilus extension.
698 (synopsis "File sharing for GNOME desktop")
699 (description "GNOME User Share is a small package that binds together
700 various free software projects to bring easy to use user-level file
701 sharing to the masses.")
702 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
703 (license license:gpl2+)))
704
705 (define-public sushi
706 (package
707 (name "sushi")
708 (version "3.32.1")
709 (source (origin
710 (method url-fetch)
711 (uri (string-append "mirror://gnome/sources/" name "/"
712 (version-major+minor version) "/"
713 name "-" version ".tar.xz"))
714 (sha256
715 (base32
716 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
717 (build-system meson-build-system)
718 (arguments
719 `(#:glib-or-gtk? #t
720 #:phases
721 (modify-phases %standard-phases
722 (add-after 'glib-or-gtk-wrap 'wrap-typelib
723 (lambda* (#:key outputs #:allow-other-keys)
724 (let ((prog (string-append (assoc-ref outputs "out")
725 "/bin/sushi")))
726 ;; Put existing typelibs before sushi's deps, so as to correctly
727 ;; infer gdk-pixbuf
728 (wrap-program prog
729 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
730 #t))))))
731 (native-inputs
732 `(("glib:bin" ,glib "bin")
733 ("gettext" ,gettext-minimal)
734 ("gobject-introspection" ,gobject-introspection)
735 ("pkg-config" ,pkg-config)))
736 (inputs
737 `(("clutter" ,clutter)
738 ("clutter-gst" ,clutter-gst)
739 ("clutter-gtk" ,clutter-gtk)
740 ("evince" ,evince) ; For file previewing.
741 ("freetype" ,freetype)
742 ("gdk-pixbuf" ,gdk-pixbuf)
743 ("gjs" ,gjs)
744 ("gst-plugins-base" ,gst-plugins-base)
745 ("gstreamer" ,gstreamer)
746 ("gtksourceview" ,gtksourceview-3)
747 ("harfbuzz" ,harfbuzz)
748 ("libepoxy" ,libepoxy)
749 ("libmusicbrainz" ,libmusicbrainz)
750 ("libxml2" ,libxml2)
751 ("neon" ,neon)
752 ("webkitgtk" ,webkitgtk)))
753 (synopsis "File previewer for the GNOME desktop")
754 (description "Sushi is a DBus-activated service that allows applications to
755 preview files on the GNOME desktop.")
756 (home-page "https://gitlab.gnome.org/GNOME/sushi")
757 (license license:gpl2+)))
758
759 (define-public rygel
760 (package
761 (name "rygel")
762 (version "0.38.3")
763 (source (origin
764 (method url-fetch)
765 (uri (string-append "mirror://gnome/sources/" name "/"
766 (version-major+minor version) "/"
767 name "-" version ".tar.xz"))
768 (sha256
769 (base32
770 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
771 (build-system gnu-build-system)
772 (native-inputs
773 `(("gettext" ,gettext-minimal)
774 ("gobject-introspection" ,gobject-introspection)
775 ("gtk-doc" ,gtk-doc)
776 ("pkg-config" ,pkg-config)
777 ("vala" ,vala)))
778 (inputs
779 `(("gdk-pixbuf" ,gdk-pixbuf)
780 ("gssdp" ,gssdp)
781 ("gstreamer" ,gstreamer)
782 ("gst-plugins-base" ,gst-plugins-base)
783 ("gtk+" ,gtk+)
784 ("gupnp" ,gupnp)
785 ("gupnp-av" ,gupnp-av)
786 ("gupnp-dlna" ,gupnp-dlna)
787 ("libgee" ,libgee)
788 ("libmediaart" ,libmediaart)
789 ("libsoup" ,libsoup)
790 ("libxslt" ,libxslt)
791 ("libunistring" ,libunistring)
792 ("tracker" ,tracker)))
793 (synopsis "Share audio, video, and pictures with other devices")
794 (description
795 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
796 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
797 pictures, and to control a media player on your home network.
798
799 Rygel achieves interoperability with other devices by trying to conform to the
800 strict requirements of DLNA and by converting media on-the-fly to formats that
801 client devices can handle.")
802 (home-page "https://wiki.gnome.org/Projects/Rygel")
803 (license (list
804 ;; For logo (data/icons/*).
805 license:cc-by-sa3.0
806 ;; For all others.
807 license:lgpl2.1+))))
808
809 (define-public libnma
810 (package
811 (name "libnma")
812 (version "1.8.28")
813 (source (origin
814 (method url-fetch)
815 (uri (string-append "mirror://gnome/sources/" name "/"
816 (version-major+minor version) "/"
817 name "-" version ".tar.xz"))
818 (sha256
819 (base32
820 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
821 (build-system meson-build-system)
822 (arguments
823 `(#:phases
824 (modify-phases %standard-phases
825 (add-after 'unpack 'patch-docbook-xml
826 (lambda* (#:key inputs #:allow-other-keys)
827 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
828 "/xml/dtd/docbook")))
829 (substitute* "libnma-docs.xml"
830 (("http://.*/docbookx\\.dtd")
831 (string-append xmldoc "/docbookx.dtd")))
832 #t))))))
833 (native-inputs
834 `(("docbook-xml" ,docbook-xml-4.3)
835 ("gettext" ,gettext-minimal)
836 ("glib:bin" ,glib "bin")
837 ("gtk-doc" ,gtk-doc)
838 ("gobject-introspection" ,gobject-introspection)
839 ("pkg-config" ,pkg-config)
840 ("vala" ,vala)))
841 (inputs
842 `(("gcr" ,gcr)
843 ("gtk+" ,gtk+)
844 ("iso-codes" ,iso-codes)
845 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
846 ("network-manager" ,network-manager)))
847 (synopsis "Network Manager's applet library")
848 (description "Libnma is an applet library for Network Manager. It was
849 initially part of network-manager-applet and has now become a separate
850 project.")
851 (home-page "https://gitlab.gnome.org/GNOME/libnma")
852 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
853 ;; "LGPL-2.1+".
854 (license license:gpl2+)))
855
856 (define-public gnome-menus
857 (package
858 (name "gnome-menus")
859 (version "3.32.0")
860 (source (origin
861 (method url-fetch)
862 (uri (string-append "mirror://gnome/sources/gnome-menus/"
863 (version-major+minor version) "/"
864 name "-" version ".tar.xz"))
865 (sha256
866 (base32
867 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
868 (build-system gnu-build-system)
869 (native-inputs
870 `(("gettext" ,gettext-minimal)
871 ("glib" ,glib)
872 ("pkg-config" ,pkg-config)))
873 (synopsis "Menu support for GNOME desktop")
874 (description "GNOME Menus contains the libgnome-menu library, the layout
875 configuration files for the GNOME menu, as well as a simple menu editor.")
876 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
877 (license license:lgpl2.0+)))
878
879 (define-public deja-dup
880 (package
881 (name "deja-dup")
882 (version "40.6")
883 (source (origin
884 (method url-fetch)
885 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
886 version "/deja-dup-" version ".tar.bz2"))
887 (sha256
888 (base32
889 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
890 (build-system meson-build-system)
891 (arguments
892 `(#:glib-or-gtk? #t
893 #:configure-flags
894 (list
895 ;; Otherwise, the RUNPATH will lack the final path component.
896 (string-append "-Dc_link_args=-Wl,-rpath="
897 (assoc-ref %outputs "out") "/lib/deja-dup"))
898 #:phases
899 (modify-phases %standard-phases
900 (add-after 'unpack 'patch-paths
901 (lambda* (#:key inputs #:allow-other-keys)
902 (let ((python (assoc-ref inputs "python")))
903 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
904 "libdeja/tests/scripts/instance-error.test")
905 (("/bin/rm")
906 (which "rm")))
907 (substitute* "libdeja/tests/runner.vala"
908 (("/bin/sh")
909 (which "sh")))
910 (substitute* "libdeja/tests/scripts/instance-error.test"
911 (("`which python3`")
912 (string-append python "/bin/python3"))))))
913 (add-after 'unpack 'patch-libgpg-error
914 (lambda* (#:key inputs #:allow-other-keys)
915 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
916 (substitute* "meson.build"
917 (("(gpgerror_libs = ).*" _ var)
918 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
919 #t))
920 (add-after 'unpack 'skip-gtk-update-icon-cache
921 ;; Don't create 'icon-theme.cache'.
922 (lambda _
923 (substitute* "data/post-install.sh"
924 (("gtk-update-icon-cache") "true"))
925 #t)))))
926 (inputs
927 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
928 ("duplicity" ,duplicity)
929 ("python" ,python)
930 ("python-pygobject" ,python-pygobject)
931 ("gtk+" ,gtk+)
932 ("json-glib" ,json-glib)
933 ("libnotify" ,libnotify)
934 ("libgpg-error" ,libgpg-error)
935 ("libsecret" ,libsecret)
936 ("libsoup" ,libsoup)
937 ("packagekit" ,packagekit)))
938 (native-inputs
939 `(("appstream-glib" ,appstream-glib)
940 ("desktop-file-utils" ,desktop-file-utils)
941 ("gettext" ,gettext-minimal)
942 ("glib" ,glib "bin") ; for glib-compile-schemas.
943 ("gobject-introspection" ,gobject-introspection)
944 ("itstool" ,itstool)
945 ("pkg-config" ,pkg-config)
946 ("vala" ,vala)))
947 (home-page "https://wiki.gnome.org/Apps/DejaDup")
948 (synopsis "Simple backup tool, for regular encrypted backups")
949 (description
950 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
951 uses duplicity as the backend, which supports incremental backups and storage
952 either on a local, or remote machine via a number of methods.")
953 (license license:gpl3+)))
954
955 (define-public gnome-user-docs
956 (package
957 (name "gnome-user-docs")
958 (version "3.32.3")
959 (source
960 (origin
961 (method url-fetch)
962 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
963 (version-major+minor version)
964 "/gnome-user-docs-" version ".tar.xz"))
965 (sha256
966 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
967 (build-system gnu-build-system)
968 (native-inputs
969 `(("gettext" ,gettext-minimal)
970 ("itstool" ,itstool)
971 ("pkg-config" ,pkg-config)
972 ("xmllint" ,libxml2)))
973 (synopsis "User documentation for the GNOME desktop")
974 (description
975 "The GNOME User Documentation explains how to use the GNOME desktop and its
976 components. It covers usage and setup of the core GNOME programs by end-users
977 and system administrators.")
978 (home-page "https://live.gnome.org/DocumentationProject")
979 (license license:cc-by3.0)))
980
981 (define-public gnome-getting-started-docs
982 (package
983 (name "gnome-getting-started-docs")
984 (version "3.32.2")
985 (source
986 (origin
987 (method url-fetch)
988 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
989 (version-major+minor version)
990 "/gnome-getting-started-docs-" version ".tar.xz"))
991 (sha256
992 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
993 (build-system gnu-build-system)
994 (native-inputs
995 `(("gettext" ,gettext-minimal)
996 ("itstool" ,itstool)
997 ("pkg-config" ,pkg-config)
998 ("xmllint" ,libxml2)))
999 (synopsis "Help to get new users started with the GNOME desktop")
1000 (description
1001 "The GNOME Getting Started Documentation contains GNOME's intuitive
1002 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1003
1004 It is normally used together with @command{gnome-initial-setup}, but is also
1005 useful as a tutorial and users' guide for new or less experienced users.")
1006 (home-page "https://live.gnome.org/DocumentationProject")
1007 (license license:cc-by-sa3.0)))
1008
1009 (define-public dia
1010 ;; This version from GNOME's repository includes fixes for compiling with
1011 ;; recent versions of the build tools. The latest activity on the
1012 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1013 ;; fixes since.
1014 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1015 (revision "2"))
1016 (package
1017 (name "dia")
1018 (version (git-version "0.97.3" revision commit))
1019 (source (origin
1020 (method git-fetch)
1021 (uri (git-reference
1022 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1023 (commit commit)))
1024 (file-name (git-file-name name version))
1025 (sha256
1026 (base32
1027 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1028 (build-system meson-build-system)
1029 (inputs
1030 `(("graphene" ,graphene)
1031 ("gtk+" ,gtk+-2)
1032 ("libxml2" ,libxml2)
1033 ("libxslt" ,libxslt)
1034 ("poppler" ,poppler)
1035 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1036 ;; ERROR: Unknown method "dependency" in object.
1037 ("python-2" ,python-2)))
1038 (native-inputs
1039 `(("appstream-glib" ,appstream-glib)
1040 ("docbook-xsl" ,docbook-xsl)
1041 ("glib" ,glib "bin")
1042 ("intltool" ,intltool)
1043 ("pkg-config" ,pkg-config)))
1044 (home-page "https://wiki.gnome.org/Apps/Dia")
1045 (synopsis "Diagram creation for GNOME")
1046 (description "Dia can be used to draw different types of diagrams, and
1047 includes support for UML static structure diagrams (class diagrams), entity
1048 relationship modeling, and network diagrams. The program supports various file
1049 formats like PNG, SVG, PDF and EPS.")
1050 (license license:gpl2+))))
1051
1052 ;; This is the unstable release, but it is required for the current stable
1053 ;; release of gvfs (1.38.1).
1054 (define-public libgdata
1055 (package
1056 (name "libgdata")
1057 (version "0.17.9")
1058 (source (origin
1059 (method url-fetch)
1060 (uri (string-append "mirror://gnome/sources/" name "/"
1061 (version-major+minor version) "/"
1062 name "-" version ".tar.xz"))
1063 (sha256
1064 (base32
1065 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1066 (build-system gnu-build-system)
1067 (arguments
1068 '(#:phases
1069 (modify-phases %standard-phases
1070 (add-before 'check 'disable-failing-tests
1071 (lambda _
1072 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1073 ;; They have been removed in libgdata 0.17.6, so just do the same.
1074 (substitute* "gdata/tests/Makefile"
1075 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1076 #t)))))
1077 (native-inputs
1078 `(("glib:bin" ,glib "bin")
1079 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1080 ("intltool" ,intltool)
1081 ("pkg-config" ,pkg-config)
1082 ("uhttpmock" ,uhttpmock)))
1083 (inputs
1084 `(("cyrus-sasl" ,cyrus-sasl)
1085 ("glib-networking" ,glib-networking)))
1086 (propagated-inputs
1087 `(("gcr" ,gcr)
1088 ("glib" ,glib)
1089 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1090 ("json-glib" ,json-glib)
1091 ("liboauth" ,liboauth)
1092 ("libsoup" ,libsoup)
1093 ("libxml2" ,libxml2)))
1094 (home-page "https://wiki.gnome.org/Projects/libgdata")
1095 (synopsis "Library for accessing online service APIs")
1096 (description
1097 "libgdata is a GLib-based library for accessing online service APIs using
1098 the GData protocol — most notably, Google's services. It provides APIs to
1099 access the common Google services, and has full asynchronous support.")
1100 (license license:lgpl2.1+)))
1101
1102 (define-public libgxps
1103 (package
1104 (name "libgxps")
1105 (version "0.3.1")
1106 (source (origin
1107 (method url-fetch)
1108 (uri (string-append "mirror://gnome/sources/" name "/"
1109 (version-major+minor version) "/"
1110 name "-" version ".tar.xz"))
1111 (sha256
1112 (base32
1113 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1114 (build-system meson-build-system)
1115 (native-inputs
1116 `(("gobject-introspection" ,gobject-introspection)
1117 ("pkg-config" ,pkg-config)))
1118 (inputs
1119 `(("gtk+" ,gtk+)
1120 ("libjpeg" ,libjpeg-turbo)
1121 ("lcms" ,lcms)
1122 ("libtiff" ,libtiff)))
1123 (propagated-inputs
1124 ;; In Requires of libgxps.pc.
1125 `(("cairo" ,cairo)
1126 ("glib" ,glib)
1127 ("libarchive" ,libarchive)))
1128 (home-page "https://wiki.gnome.org/Projects/libgxps")
1129 (synopsis "GObject-based library for handling and rendering XPS documents")
1130 (description
1131 "libgxps is a GObject-based library for handling and rendering XPS
1132 documents. This package also contains binaries that can convert XPS documents
1133 to other formats.")
1134 (license license:lgpl2.1+)))
1135
1136 (define-public gnome-characters
1137 (package
1138 (name "gnome-characters")
1139 (version "3.30.0")
1140 (source
1141 (origin
1142 (method url-fetch)
1143 (uri (string-append "mirror://gnome/sources/"
1144 "gnome-characters/" (version-major+minor version)
1145 "/gnome-characters-" version ".tar.xz"))
1146 (sha256
1147 (base32
1148 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1149 (build-system meson-build-system)
1150 (arguments
1151 `(#:glib-or-gtk? #t
1152 #:phases (modify-phases %standard-phases
1153 (add-after 'install 'wrap
1154 (lambda* (#:key outputs #:allow-other-keys)
1155 ;; GNOME Characters needs Typelib files from GTK and
1156 ;; gnome-desktop.
1157 (wrap-program (string-append (assoc-ref outputs "out")
1158 "/bin/gnome-characters")
1159 `("GI_TYPELIB_PATH" ":" prefix
1160 (,(getenv "GI_TYPELIB_PATH"))))
1161 #t)))))
1162 (native-inputs
1163 `(("gettext" ,gettext-minimal)
1164 ("glib:bin" ,glib "bin")
1165 ("gtk+:bin" ,gtk+ "bin")
1166 ("pkg-config" ,pkg-config)
1167 ("python" ,python-minimal)))
1168 (inputs
1169 `(("gjs" ,gjs)
1170 ("gtk+" ,gtk+)
1171 ("libunistring" ,libunistring)
1172 ("gnome-desktop" ,gnome-desktop)))
1173 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1174 (synopsis "Find and insert unusual characters")
1175 (description "Characters is a simple utility application to find
1176 and insert unusual characters. It allows you to quickly find the
1177 character you are looking for by searching for keywords.")
1178 (license license:bsd-3)))
1179
1180 (define-public gnome-common
1181 (package
1182 (name "gnome-common")
1183 (version "3.18.0")
1184 (source
1185 (origin
1186 (method url-fetch)
1187 (uri (string-append "mirror://gnome/sources/" name "/"
1188 (version-major+minor version) "/"
1189 name "-" version ".tar.xz"))
1190 (sha256
1191 (base32
1192 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1193 (build-system gnu-build-system)
1194 (home-page "https://www.gnome.org/")
1195 (synopsis "Bootstrap GNOME modules built from Git")
1196 (description "gnome-common contains various files needed to bootstrap
1197 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1198 can be used to configure a source directory checked out from Git and some
1199 commonly used macros.")
1200 (license license:gpl2+)))
1201
1202 (define-public gnome-contacts
1203 (package
1204 (name "gnome-contacts")
1205 (version "3.34")
1206 (source (origin
1207 (method url-fetch)
1208 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1209 (version-major+minor version) "/"
1210 name "-" version ".tar.xz"))
1211 (sha256
1212 (base32
1213 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1214 (build-system meson-build-system)
1215 (arguments
1216 `(#:configure-flags '("-Dcheese=false")
1217 #:phases
1218 (modify-phases %standard-phases
1219 (add-after 'unpack 'generate-vapis
1220 (lambda* (#:key inputs #:allow-other-keys)
1221 ;; To generate goa's missing .vapi file
1222 (define goa
1223 (assoc-ref inputs "gnome-online-accounts:lib"))
1224
1225 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1226 "--library=goa-1.0"
1227 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1228 #t))
1229 (add-after 'unpack 'skip-gtk-update-icon-cache
1230 ;; Don't create 'icon-theme.cache'.
1231 (lambda _
1232 (substitute* "build-aux/meson_post_install.py"
1233 (("gtk-update-icon-cache") "true"))
1234 #t)))))
1235 (native-inputs
1236 `(("glib:bin" ,glib "bin")
1237 ("pkg-config" ,pkg-config)))
1238 (inputs
1239 `(("docbook-xml" ,docbook-xml)
1240 ("dockbook-xsl" ,docbook-xsl)
1241 ("evolution-data-server" ,evolution-data-server)
1242 ("gettext" ,gettext-minimal)
1243 ("gnome-desktop" ,gnome-desktop)
1244 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1245 ("gobject-introspection" ,gobject-introspection)
1246 ("gst-plugins-base" ,gst-plugins-base)
1247 ("gtk+" ,gtk+)
1248 ("libgee" ,libgee)
1249 ("libxslt" ,libxslt)
1250 ("telepathy-glib" ,telepathy-glib)
1251 ("vala" ,vala)))
1252 (propagated-inputs
1253 `(("folks", folks)
1254 ("telepathy-mission-control" ,telepathy-mission-control)))
1255 (synopsis "GNOME's integrated address book")
1256 (description
1257 "GNOME Contacts organizes your contact information from online and
1258 offline sources, providing a centralized place for managing your contacts.")
1259 (home-page "https://wiki.gnome.org/Apps/Contacts")
1260 (license license:gpl2+)))
1261
1262 (define-public gnome-desktop
1263 (package
1264 (name "gnome-desktop")
1265 (version "3.34.2")
1266 (source
1267 (origin
1268 (method url-fetch)
1269 (uri (string-append "mirror://gnome/sources/" name "/"
1270 (version-major+minor version) "/"
1271 name "-" version ".tar.xz"))
1272 (sha256
1273 (base32
1274 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1275 (build-system meson-build-system)
1276 (arguments
1277 '(#:phases
1278 (modify-phases %standard-phases
1279 (add-before 'configure 'patch-path
1280 (lambda* (#:key inputs #:allow-other-keys)
1281 (let ((libc (assoc-ref inputs "libc")))
1282 (substitute* "libgnome-desktop/gnome-languages.c"
1283 (("\"locale\"")
1284 (string-append "\"" libc "/bin/locale\"")))
1285 #t)))
1286 (add-before 'check 'pre-check
1287 (lambda* (#:key inputs #:allow-other-keys)
1288 ;; Tests require a running X server and locales.
1289 (system "Xvfb :1 &")
1290 (setenv "DISPLAY" ":1")
1291 (setenv "GUIX_LOCPATH"
1292 (string-append (assoc-ref inputs "glibc-locales")
1293 "/lib/locale"))
1294 #t)))))
1295 (native-inputs
1296 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1297 ("glibc-locales" ,glibc-locales) ; for tests
1298 ("gobject-introspection" ,gobject-introspection)
1299 ("itstool" ,itstool)
1300 ("intltool" ,intltool)
1301 ("pkg-config" ,pkg-config)
1302 ("xmllint" ,libxml2)
1303 ("xorg-server" ,xorg-server-for-tests)))
1304 (propagated-inputs
1305 ;; Required by gnome-desktop-3.0.pc.
1306 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1307 ("gtk+" ,gtk+)
1308 ("iso-codes" ,iso-codes)
1309 ("libseccomp" ,libseccomp)
1310 ("libx11" ,libx11)
1311 ("xkeyboard-config" ,xkeyboard-config)))
1312 (inputs
1313 `(("gdk-pixbuf" ,gdk-pixbuf)
1314 ("glib" ,glib)
1315 ("libxext" ,libxext)
1316 ("libxkbfile" ,libxkbfile)
1317 ("libxrandr" ,libxrandr)))
1318 (home-page "https://www.gnome.org/")
1319 (synopsis
1320 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1321 (description
1322 "The libgnome-desktop library provides API shared by several applications
1323 on the desktop, but that cannot live in the platform for various reasons.
1324 There is no API or ABI guarantee, although we are doing our best to provide
1325 stability. Documentation for the API is available with gtk-doc.
1326
1327 The gnome-about program helps find which version of GNOME is installed.")
1328 ; Some bits under the LGPL.
1329 (license license:gpl2+)))
1330
1331 (define-public gnome-doc-utils
1332 (package
1333 (name "gnome-doc-utils")
1334 (version "0.20.10")
1335 (source
1336 (origin
1337 (method url-fetch)
1338 (uri (string-append "mirror://gnome/sources/" name "/"
1339 (version-major+minor version) "/"
1340 name "-" version ".tar.xz"))
1341 (sha256
1342 (base32
1343 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1344 (build-system gnu-build-system)
1345 (native-inputs
1346 `(("intltool" ,intltool)
1347 ("docbook-xml" ,docbook-xml-4.4)
1348 ("python2-libxml2" ,python2-libxml2)
1349 ("libxml2" ,libxml2)
1350 ("libxslt" ,libxslt)
1351 ("pkg-config" ,pkg-config)
1352 ("python-2" ,python-2)))
1353 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1354 (synopsis
1355 "Documentation utilities for the Gnome project")
1356 (description
1357 "Gnome-doc-utils is a collection of documentation utilities for the
1358 Gnome project. It includes xml2po tool which makes it easier to translate
1359 and keep up to date translations of documentation.")
1360 (license license:gpl2+))) ; xslt under lgpl
1361
1362 (define-public gnome-disk-utility
1363 (package
1364 (name "gnome-disk-utility")
1365 (version "3.34.0")
1366 (source (origin
1367 (method url-fetch)
1368 (uri (string-append "mirror://gnome/sources/" name "/"
1369 (version-major+minor version) "/"
1370 name "-" version ".tar.xz"))
1371 (sha256
1372 (base32
1373 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1374 (build-system meson-build-system)
1375 (arguments
1376 '(#:configure-flags '("-Dlogind=libelogind")
1377 #:phases
1378 (modify-phases %standard-phases
1379 (add-after 'unpack 'skip-gtk-update-icon-cache
1380 ;; Don't create 'icon-theme.cache'.
1381 (lambda _
1382 (substitute* "meson_post_install.py"
1383 (("gtk-update-icon-cache") "true"))
1384 #t)))))
1385 (native-inputs
1386 `(("glib:bin" ,glib "bin")
1387 ("intltool" ,intltool)
1388 ("pkg-config" ,pkg-config)
1389 ("docbook-xml" ,docbook-xml)
1390 ("docbook-xsl" ,docbook-xsl)
1391 ("libxml2" ,libxml2)
1392 ("libxslt" ,libxslt)))
1393 (inputs
1394 `(("elogind" ,elogind)
1395 ("glib" ,glib)
1396 ("appstream-glib" ,appstream-glib)
1397 ("gnome-settings-daemon" ,gnome-settings-daemon)
1398 ("gtk+" ,gtk+)
1399 ("libcanberra" ,libcanberra)
1400 ("libdvdread" ,libdvdread)
1401 ("libnotify" ,libnotify)
1402 ("libpwquality" ,libpwquality)
1403 ("libsecret" ,libsecret)
1404 ("udisks" ,udisks)))
1405 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1406 (synopsis "Disk management utility for GNOME")
1407 (description "Disk management utility for GNOME.")
1408 (license license:gpl2+)))
1409
1410 (define-public gnome-font-viewer
1411 (package
1412 (name "gnome-font-viewer")
1413 (version "3.30.0")
1414 (source (origin
1415 (method url-fetch)
1416 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1417 (version-major+minor version)
1418 "/gnome-font-viewer-" version ".tar.xz"))
1419 (sha256
1420 (base32
1421 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1422 (build-system meson-build-system)
1423 (arguments
1424 '(#:phases
1425 (modify-phases %standard-phases
1426 (add-after 'unpack 'patch-post-install-script
1427 (lambda _
1428 (substitute* "meson-postinstall.sh"
1429 (("update-desktop-database") (which "true")))
1430 #t)))))
1431 (native-inputs
1432 `(("gettext" ,gettext-minimal)
1433 ("glib:bin" ,glib "bin")
1434 ("pkg-config" ,pkg-config)))
1435 (inputs
1436 `(("glib" ,glib)
1437 ("gnome-desktop" ,gnome-desktop)
1438 ("gtk+" ,gtk+)))
1439 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1440 (synopsis "GNOME Fonts")
1441 (description "Application to show you the fonts installed on your computer
1442 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1443 the font would look under various sizes.")
1444 (license license:gpl2+)))
1445
1446 (define-public gcr
1447 (package
1448 (name "gcr")
1449 (version "3.34.0")
1450 (source (origin
1451 (method url-fetch)
1452 (uri (string-append "mirror://gnome/sources/" name "/"
1453 (version-major+minor version) "/"
1454 name "-" version ".tar.xz"))
1455 (sha256
1456 (base32
1457 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1458 (build-system gnu-build-system)
1459 (arguments
1460 '(#:phases
1461 (modify-phases %standard-phases
1462 ;; These fail because /var/lib/dbus/machine-id is not present in the
1463 ;; build environment.
1464 (add-after 'unpack 'disable-failing-tests
1465 (lambda _
1466 (substitute* "Makefile.in"
1467 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1468 ""))
1469 #t))
1470 (add-before 'check 'pre-check
1471 (lambda _
1472 ;; Some tests expect to write to $HOME.
1473 (setenv "HOME" "/tmp")
1474 #t)))))
1475 (inputs
1476 `(("dbus" ,dbus)
1477 ("gnupg" ,gnupg) ;called as a child process during tests
1478 ("libgcrypt" ,libgcrypt)))
1479 (native-inputs
1480 `(("python" ,python-wrapper) ;for tests
1481 ("pkg-config" ,pkg-config)
1482 ("gettext" ,gettext-minimal)
1483 ("glib" ,glib "bin")
1484 ("gobject-introspection" ,gobject-introspection)
1485 ("libxml2" ,libxml2)
1486 ("vala" ,vala)
1487 ("xsltproc" ,libxslt)))
1488 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1489 (propagated-inputs
1490 `(("p11-kit" ,p11-kit)
1491 ("glib" ,glib)
1492 ("gtk+" ,gtk+)))
1493 (home-page "https://www.gnome.org")
1494 (synopsis "Libraries for displaying certificates and accessing key stores")
1495 (description
1496 "The GCR package contains libraries used for displaying certificates and
1497 accessing key stores. It also provides the viewer for crypto files on the
1498 GNOME Desktop.")
1499 (license license:lgpl2.1+)))
1500
1501 (define-public libgnome-keyring
1502 (package
1503 (name "libgnome-keyring")
1504 (version "3.12.0")
1505 (source (origin
1506 (method url-fetch)
1507 (uri (string-append "mirror://gnome/sources/" name "/"
1508 (version-major+minor version) "/"
1509 name "-" version ".tar.xz"))
1510 (sha256
1511 (base32
1512 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1513 (build-system gnu-build-system)
1514 (inputs
1515 `(("libgcrypt" ,libgcrypt)
1516 ("dbus" ,dbus)))
1517 (native-inputs
1518 `(("pkg-config" ,pkg-config)
1519 ("glib" ,glib "bin")
1520 ("intltool" ,intltool)))
1521 (propagated-inputs
1522 ;; Referred to in .h files and .pc.
1523 `(("glib" ,glib)))
1524 (home-page "https://www.gnome.org")
1525 (synopsis "Accessing passwords from the GNOME keyring")
1526 (description
1527 "Client library to access passwords from the GNOME keyring.")
1528
1529 ;; Though a couple of files are LGPLv2.1+.
1530 (license license:lgpl2.0+)))
1531
1532 (define-public gnome-keyring
1533 (package
1534 (name "gnome-keyring")
1535 (version "3.34.0")
1536 (source (origin
1537 (method url-fetch)
1538 (uri (string-append "mirror://gnome/sources/" name "/"
1539 (version-major+minor version) "/"
1540 name "-" version ".tar.xz"))
1541 (sha256
1542 (base32
1543 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1544 (build-system gnu-build-system)
1545 (arguments
1546 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1547 ;not exist
1548 #:configure-flags
1549 (list
1550 (string-append "--with-pkcs11-config="
1551 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1552 (string-append "--with-pkcs11-modules="
1553 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1554 #:phases
1555 (modify-phases %standard-phases
1556 (add-after 'unpack 'fix-/bin/sh-reference
1557 (lambda _
1558 (substitute* "po/Makefile.in.in"
1559 (("/bin/sh") (which "sh")))
1560 #t))
1561 (add-after 'unpack 'fix-docbook
1562 (lambda* (#:key inputs #:allow-other-keys)
1563 (substitute* "docs/Makefile.am"
1564 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1565 (string-append (assoc-ref inputs "docbook-xsl")
1566 "/xml/xsl/docbook-xsl-"
1567 ,(package-version docbook-xsl)
1568 "/manpages/docbook.xsl")))
1569 (setenv "XML_CATALOG_FILES"
1570 (string-append (assoc-ref inputs "docbook-xml")
1571 "/xml/dtd/docbook/catalog.xml"))
1572 ;; Rerun the whole thing to avoid version mismatch ("This is
1573 ;; Automake 1.15.1, but the definition used by this
1574 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1575 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1576 (invoke "autoconf")
1577 (invoke "aclocal")
1578 (invoke "automake" "-ac"))))))
1579 (inputs
1580 `(("libgcrypt" ,libgcrypt)
1581 ("linux-pam" ,linux-pam)
1582 ("openssh" ,openssh)
1583 ("dbus" ,dbus)
1584 ("gcr" ,gcr)))
1585 (native-inputs
1586 `(("pkg-config" ,pkg-config)
1587 ("glib" ,glib "bin")
1588 ("glib" ,glib) ; for m4 macros
1589 ("python" ,python-2) ;for tests
1590 ("intltool" ,intltool)
1591 ("autoconf" ,autoconf)
1592 ("automake" ,automake)
1593 ("libxslt" ,libxslt) ;for documentation
1594 ("docbook-xml" ,docbook-xml-4.2)
1595 ("docbook-xsl" ,docbook-xsl)))
1596 (home-page "https://www.gnome.org")
1597 (synopsis "Daemon to store passwords and encryption keys")
1598 (description
1599 "gnome-keyring is a program that keeps passwords and other secrets for
1600 users. It is run as a daemon in the session, similar to ssh-agent, and other
1601 applications locate it via an environment variable or D-Bus.
1602
1603 The program can manage several keyrings, each with its own master password,
1604 and there is also a session keyring which is never stored to disk, but
1605 forgotten when the session ends.")
1606 (license license:lgpl2.1+)))
1607
1608 (define-public evince
1609 (package
1610 (name "evince")
1611 (version "3.34.2")
1612 (source (origin
1613 (method url-fetch)
1614 (uri (string-append "mirror://gnome/sources/evince/"
1615 (version-major+minor version) "/"
1616 "evince-" version ".tar.xz"))
1617 (sha256
1618 (base32
1619 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1620 (build-system glib-or-gtk-build-system)
1621 (arguments
1622 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1623 #:phases
1624 (modify-phases %standard-phases
1625 (add-before 'install 'skip-gtk-update-icon-cache
1626 ;; Don't create 'icon-theme.cache'.
1627 (lambda _
1628 (substitute* "data/Makefile"
1629 (("gtk-update-icon-cache") "true"))
1630 #t)))))
1631 (inputs
1632 `(("libarchive" ,libarchive)
1633 ("libgxps" ,libgxps)
1634 ("libspectre" ,libspectre)
1635 ("djvulibre" ,djvulibre)
1636 ("ghostscript" ,ghostscript)
1637 ("poppler" ,poppler)
1638 ("libtiff" ,libtiff)
1639 ;; TODO:
1640 ;; Build libkpathsea as a shared library for DVI support.
1641 ;; ("libkpathsea" ,texlive-bin)
1642 ("gnome-desktop" ,gnome-desktop)
1643 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1644 ("gspell" ,gspell)
1645 ("libgnome-keyring" ,libgnome-keyring)
1646 ("adwaita-icon-theme" ,adwaita-icon-theme)
1647 ("gdk-pixbuf" ,gdk-pixbuf)
1648 ("atk" ,atk)
1649 ("pango" ,pango)
1650 ("gtk+" ,gtk+)
1651 ("glib" ,glib)
1652 ("libxml2" ,libxml2)
1653 ("libsm" ,libsm)
1654 ("libice" ,libice)
1655 ("shared-mime-info" ,shared-mime-info)
1656 ("dconf" ,dconf)
1657 ("libcanberra" ,libcanberra)
1658 ("libsecret" ,libsecret)
1659
1660 ;; For tests.
1661 ("dogtail" ,python2-dogtail)))
1662 (native-inputs
1663 `(("itstool" ,itstool)
1664 ("intltool" ,intltool)
1665 ("glib" ,glib "bin")
1666 ("gobject-introspection" ,gobject-introspection)
1667 ("pkg-config" ,pkg-config)
1668 ("xmllint" ,libxml2)))
1669 (home-page
1670 "https://www.gnome.org/projects/evince/")
1671 (synopsis "GNOME's document viewer")
1672 (description
1673 "Evince is a document viewer for multiple document formats. It
1674 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1675 of Evince is to replace the multiple document viewers that exist
1676 on the GNOME Desktop with a single simple application.")
1677 (license license:gpl2+)))
1678
1679 (define-public gsettings-desktop-schemas
1680 (package
1681 (name "gsettings-desktop-schemas")
1682 (version "3.34.0")
1683 (source
1684 (origin
1685 (method url-fetch)
1686 (uri (string-append "mirror://gnome/sources/" name "/"
1687 (version-major+minor version) "/"
1688 name "-" version ".tar.xz"))
1689 (sha256
1690 (base32
1691 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1692 (build-system meson-build-system)
1693 (arguments
1694 '(#:phases (modify-phases %standard-phases
1695 (add-after 'unpack 'patch-schemas
1696 (lambda* (#:key inputs #:allow-other-keys)
1697 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1698 (substitute* (find-files "schemas"
1699 "\\.gschema\\.xml\\.in$")
1700 ;; Provide the correct file name of the default GNOME
1701 ;; background, 'adwaita-timed.xml'.
1702 (("@datadir@/backgrounds/gnome")
1703 (string-append theme "/share/backgrounds/gnome"))
1704 ;; Do not reference fonts, that may not exist.
1705 (("'Source Code Pro 10'") "'Monospace 11'"))
1706 #t))))))
1707 (inputs
1708 `(("glib" ,glib)
1709 ("gnome-backgrounds" ,gnome-backgrounds)))
1710 (native-inputs
1711 `(("intltool" ,intltool)
1712 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1713 ("gobject-introspection" ,gobject-introspection)
1714 ("pkg-config" ,pkg-config)))
1715 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1716 (synopsis
1717 "GNOME settings for various desktop components")
1718 (description
1719 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1720 for settings shared by various components of the GNOME desktop.")
1721 (license license:lgpl2.1+)))
1722
1723 (define-public icon-naming-utils
1724 (package
1725 (name "icon-naming-utils")
1726 (version "0.8.90")
1727 (source
1728 (origin
1729 (method url-fetch)
1730 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1731 version ".tar.bz2"))
1732 (sha256
1733 (base32
1734 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1735 (build-system gnu-build-system)
1736 (inputs
1737 `(("perl" ,perl)
1738 ("perl-xml-simple" ,perl-xml-simple)))
1739 (arguments
1740 '(#:phases
1741 (modify-phases %standard-phases
1742 (add-after 'install 'set-load-paths
1743 ;; Tell 'icon-name-mapping' where XML::Simple is.
1744 (lambda* (#:key outputs #:allow-other-keys)
1745 (let* ((out (assoc-ref outputs "out"))
1746 (prog (string-append out "/libexec/icon-name-mapping")))
1747 (wrap-program
1748 prog
1749 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1750 #t)))))
1751 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1752 (synopsis
1753 "Utility to implement the Freedesktop Icon Naming Specification")
1754 (description
1755 "To help with the transition to the Freedesktop Icon Naming
1756 Specification, the icon naming utility maps the icon names used by the
1757 GNOME and KDE desktops to the icon names proposed in the specification.")
1758 (license license:lgpl2.1+)))
1759
1760 (define-public gnome-icon-theme
1761 (package
1762 (name "gnome-icon-theme")
1763 (version "3.12.0")
1764 (source
1765 (origin
1766 (method url-fetch)
1767 (uri (string-append "mirror://gnome/sources/" name "/"
1768 (version-major+minor version) "/"
1769 name "-" version ".tar.xz"))
1770 (sha256
1771 (base32
1772 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1773 (build-system gnu-build-system)
1774 (arguments
1775 '(#:configure-flags
1776 ;; Don't create 'icon-theme.cache'.
1777 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1778 (true (string-append coreutils "/bin/true")))
1779 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1780 (native-inputs
1781 `(("icon-naming-utils" ,icon-naming-utils)
1782 ("intltool" ,intltool)
1783 ("pkg-config" ,pkg-config)))
1784 (home-page "https://wiki.gnome.org/Personalization")
1785 (synopsis "GNOME icon theme")
1786 (description "Icons for the GNOME desktop.")
1787 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1788
1789 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1790 (define-public adwaita-icon-theme
1791 (package (inherit gnome-icon-theme)
1792 (name "adwaita-icon-theme")
1793 (version "3.34.3")
1794 (source (origin
1795 (method url-fetch)
1796 (uri (string-append "mirror://gnome/sources/" name "/"
1797 (version-major+minor version) "/"
1798 name "-" version ".tar.xz"))
1799 (sha256
1800 (base32
1801 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1802 (native-inputs
1803 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1804
1805 (define-public tango-icon-theme
1806 (package
1807 (name "tango-icon-theme")
1808 (version "0.8.90")
1809 (source (origin
1810 (method url-fetch)
1811 (uri (string-append "http://tango.freedesktop.org/releases/"
1812 "tango-icon-theme-" version ".tar.bz2"))
1813 (sha256
1814 (base32
1815 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1816 (build-system gnu-build-system)
1817 (native-inputs
1818 `(("icon-naming-utils" ,icon-naming-utils)
1819 ("intltool" ,intltool)
1820 ("imagemagick" ,imagemagick)
1821 ("pkg-config" ,pkg-config)))
1822 (home-page "http://tango-project.org/")
1823 (synopsis "Tango icon theme")
1824 (description "This is an icon theme that follows the Tango visual
1825 guidelines.")
1826 (license license:public-domain)))
1827
1828 (define-public shared-mime-info
1829 (package
1830 (name "shared-mime-info")
1831 (version "1.15")
1832 (source (origin
1833 (method url-fetch)
1834 (uri (string-append
1835 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1836 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1837 ".tar.xz"))
1838 (sha256
1839 (base32
1840 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1841 (build-system gnu-build-system)
1842 (arguments
1843 ;; The build system appears not to be parallel-safe.
1844 '(#:parallel-build? #f))
1845 (inputs
1846 `(("glib" ,glib)
1847 ("libxml2" ,libxml2)))
1848 (native-inputs
1849 `(("gettext" ,gettext-minimal)
1850 ("itstool" ,itstool)
1851 ("pkg-config" ,pkg-config)))
1852 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1853 (synopsis "Database of common MIME types")
1854 (description
1855 "The shared-mime-info package contains the core database of common types
1856 and the update-mime-database command used to extend it. It requires glib2 to
1857 be installed for building the update command. Additionally, it uses intltool
1858 for translations, though this is only a dependency for the maintainers. This
1859 database is translated at Transifex.")
1860 (license license:gpl2+)))
1861
1862 (define-public system-config-printer
1863 (package
1864 (name "system-config-printer")
1865 (version "1.5.12")
1866 (source
1867 (origin
1868 (method url-fetch)
1869 (uri (string-append
1870 "https://github.com/OpenPrinting/system-config-printer/releases/"
1871 "download/" version
1872 "/system-config-printer-" version ".tar.xz"))
1873 (sha256
1874 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1875 (build-system glib-or-gtk-build-system)
1876 (arguments
1877 `(#:imported-modules ((guix build python-build-system)
1878 ,@%glib-or-gtk-build-system-modules)
1879 #:phases
1880 (modify-phases %standard-phases
1881 (add-after 'unpack 'patch-Makefile.am
1882 (lambda _
1883 ;; The Makefile generates some scripts, so set a valid shebang
1884 (substitute* "Makefile.am"
1885 (("/bin/bash") (which "bash")))
1886 (delete-file "configure")
1887 #t))
1888 (add-after 'unpack 'patch-docbook-xml
1889 (lambda* (#:key inputs #:allow-other-keys)
1890 ;; Modify the man XML otherwise xmlto tries to access the network
1891 (substitute* "man/system-config-printer.xml"
1892 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1893 (string-append (assoc-ref inputs "docbook-xml")
1894 "/xml/dtd/docbook/")))
1895 #t))
1896 (add-after 'install 'wrap-for-python
1897 (@@ (guix build python-build-system) wrap))
1898 (add-after 'install 'wrap
1899 (lambda* (#:key outputs #:allow-other-keys)
1900 (let ((out (assoc-ref outputs "out"))
1901 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1902 (for-each
1903 (lambda (program)
1904 (wrap-program program
1905 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1906 (map (lambda (name)
1907 (string-append out "/bin/" name))
1908 '("system-config-printer"
1909 "system-config-printer-applet"
1910 "install-printerdriver"
1911 "scp-dbus-service"))))
1912 #t)))))
1913 (inputs
1914 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1915 ("gobject-introspection" ,gobject-introspection)
1916 ("python" ,python)
1917 ("cups" ,cups)
1918 ("python-dbus" ,python-dbus)
1919 ("python-pygobject" ,python-pygobject)
1920 ("python-pycups" ,python-pycups)
1921 ("python-requests" ,python-requests)
1922 ("python-pycairo" ,python-pycairo)
1923 ("libnotify" ,libnotify)
1924 ("packagekit" ,packagekit)))
1925 (native-inputs
1926 `(("pkg-config" ,pkg-config)
1927 ("desktop-file-utils" ,desktop-file-utils)
1928 ("glib" ,glib)
1929 ("autoconf" ,autoconf)
1930 ("automake" ,automake)
1931 ("intltool" ,intltool)
1932 ("xmlto" ,xmlto)
1933 ("docbook-xml" ,docbook-xml-4.1.2)
1934 ("docbook-xsl" ,docbook-xsl)
1935 ("libxml2" ,libxml2)))
1936 (home-page "https://github.com/zdohnal/system-config-printer")
1937 (synopsis "CUPS administration tool")
1938 (description
1939 "system-config-printer is a CUPS administration tool. It's written in
1940 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1941 configuring CUPS.")
1942 (license license:gpl2+)))
1943
1944 (define-public hicolor-icon-theme
1945 (package
1946 (name "hicolor-icon-theme")
1947 (version "0.17")
1948 (source
1949 (origin
1950 (method url-fetch)
1951 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1952 "hicolor-icon-theme-" version ".tar.xz"))
1953 (sha256
1954 (base32
1955 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1956 (build-system gnu-build-system)
1957 (arguments
1958 `(#:tests? #f)) ; no check target
1959 (home-page "https://icon-theme.freedesktop.org/releases/")
1960 (synopsis
1961 "Freedesktop icon theme")
1962 (description
1963 "Freedesktop icon theme.")
1964 (license license:gpl2)))
1965
1966 (define-public libnotify
1967 (package
1968 (name "libnotify")
1969 (version "0.7.7")
1970 (source
1971 (origin
1972 (method url-fetch)
1973 (uri (string-append "mirror://gnome/sources/" name "/"
1974 (version-major+minor version) "/"
1975 name "-" version ".tar.xz"))
1976 (sha256
1977 (base32
1978 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1979 (build-system gnu-build-system)
1980 (arguments
1981 `(#:configure-flags '("--disable-static")))
1982 (propagated-inputs
1983 `(;; In Requires of libnotify.pc.
1984 ("gdk-pixbuf" ,gdk-pixbuf)
1985 ("glib" ,glib)))
1986 (inputs
1987 `(("gtk+" ,gtk+)
1988 ("libpng" ,libpng)))
1989 (native-inputs
1990 `(("pkg-config" ,pkg-config)
1991 ("glib" ,glib "bin")
1992 ("gobject-introspection" ,gobject-introspection)))
1993 (home-page "https://developer-next.gnome.org/libnotify/")
1994 (synopsis
1995 "GNOME desktop notification library")
1996 (description
1997 "Libnotify is a library that sends desktop notifications to a
1998 notification daemon, as defined in the Desktop Notifications spec. These
1999 notifications can be used to inform the user about an event or display
2000 some form of information without getting in the user's way.")
2001 (license license:lgpl2.1+)))
2002
2003 (define-public libpeas
2004 (package
2005 (name "libpeas")
2006 (version "1.24.1")
2007 (source
2008 (origin
2009 (method url-fetch)
2010 (uri (string-append "mirror://gnome/sources/" name "/"
2011 (version-major+minor version) "/"
2012 name "-" version ".tar.xz"))
2013 (sha256
2014 (base32
2015 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2016 (build-system meson-build-system)
2017 (arguments
2018 '(#:phases
2019 (modify-phases %standard-phases
2020 (add-before 'check 'start-xserver
2021 (lambda* (#:key inputs #:allow-other-keys)
2022 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2023 (disp ":1"))
2024 (setenv "DISPLAY" disp)
2025 ;; Tests require a running X server.
2026 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2027 #t))))))
2028 (inputs
2029 `(("gtk+" ,gtk+)
2030 ("glade" ,glade3)
2031 ("python" ,python)
2032 ("python-pygobject" ,python-pygobject)))
2033 (native-inputs
2034 `(("pkg-config" ,pkg-config)
2035 ("gettext" ,gettext-minimal)
2036 ("glib:bin" ,glib "bin")
2037 ("gobject-introspection" ,gobject-introspection)
2038 ("xorg-server" ,xorg-server-for-tests)))
2039 (propagated-inputs
2040 ;; The .pc file "Requires" gobject-introspection.
2041 `(("gobject-introspection" ,gobject-introspection)))
2042 (home-page "https://wiki.gnome.org/Libpeas")
2043 (synopsis "GObject plugin system")
2044 (description
2045 "Libpeas is a gobject-based plugin engine, targeted at giving every
2046 application the chance to assume its own extensibility. It also has a set of
2047 features including, but not limited to: multiple extension points; on-demand
2048 (lazy) programming language support for C, Python and JS; simplicity of the
2049 API.")
2050 (license license:lgpl2.0+)))
2051
2052 (define-public gtkglext
2053 (package
2054 (name "gtkglext")
2055 (version "1.2.0")
2056 (source (origin
2057 (method url-fetch)
2058 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2059 version "/gtkglext-" version ".tar.gz"))
2060 (sha256
2061 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2062 (patches (search-patches
2063 "gtkglext-disable-disable-deprecated.patch"))))
2064 (build-system gnu-build-system)
2065 (arguments
2066 `(#:phases
2067 (modify-phases %standard-phases
2068 ;; Fix a collision between a local variable and a definition from
2069 ;; glibc's string.h.
2070 (add-after 'unpack 'fix-collision
2071 (lambda _
2072 (substitute* "gdk/gdkglshapes.c"
2073 ((" index") " triangle_index"))
2074 #t)))))
2075 (inputs `(("gtk+" ,gtk+-2)
2076 ("mesa" ,mesa)
2077 ("glu" ,glu)
2078 ("libx11" ,libx11)
2079 ("libxt" ,libxt)))
2080 (native-inputs `(("pkg-config" ,pkg-config)
2081 ("glib" ,glib "bin")))
2082 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2083 (home-page "https://projects.gnome.org/gtkglext")
2084 (synopsis "OpenGL extension to GTK+")
2085 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2086 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2087 API add-ons to make GTK+ widgets OpenGL-capable.")
2088 (license license:lgpl2.1+)))
2089
2090 (define-public glade3
2091 (package
2092 (name "glade")
2093 (version "3.22.1")
2094 (source (origin
2095 (method url-fetch)
2096 (uri (string-append "mirror://gnome/sources/" name "/"
2097 (version-major+minor version) "/"
2098 name "-" version ".tar.xz"))
2099 (sha256
2100 (base32
2101 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2102 (build-system glib-or-gtk-build-system)
2103 (arguments
2104 `(#:tests? #f ; needs X, GL, and software rendering
2105 #:phases
2106 (modify-phases %standard-phases
2107 (add-before 'configure 'fix-docbook
2108 (lambda* (#:key inputs #:allow-other-keys)
2109 (substitute* "man/Makefile.in"
2110 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2111 (string-append (assoc-ref inputs "docbook-xsl")
2112 "/xml/xsl/docbook-xsl-"
2113 ,(package-version docbook-xsl)
2114 "/manpages/docbook.xsl")))
2115 #t)))))
2116 (inputs
2117 `(("gtk+" ,gtk+)
2118 ("libxml2" ,libxml2)))
2119 (native-inputs
2120 `(("intltool" ,intltool)
2121 ("itstool" ,itstool)
2122 ("libxslt" ,libxslt) ;for xsltproc
2123 ("docbook-xml" ,docbook-xml-4.2)
2124 ("docbook-xsl" ,docbook-xsl)
2125 ("python" ,python-2)
2126 ("pkg-config" ,pkg-config)))
2127 (home-page "https://glade.gnome.org")
2128 (synopsis "GTK+ rapid application development tool")
2129 (description "Glade is a rapid application development (RAD) tool to
2130 enable quick & easy development of user interfaces for the GTK+ toolkit and
2131 the GNOME desktop environment.")
2132 (license license:lgpl2.0+)))
2133
2134 (define-public libcroco
2135 (package
2136 (name "libcroco")
2137 (version "0.6.13")
2138 (source (origin
2139 (method url-fetch)
2140 (uri (string-append "mirror://gnome/sources/" name "/"
2141 (version-major+minor version) "/"
2142 name "-" version ".tar.xz"))
2143 (sha256
2144 (base32
2145 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2146 (build-system gnu-build-system)
2147 (native-inputs
2148 `(("pkg-config" ,pkg-config)))
2149 (inputs
2150 `(("glib" ,glib)
2151 ("libxml2" ,libxml2)
2152 ("zlib" ,zlib)))
2153 (home-page "https://github.com/GNOME/libcroco")
2154 (synopsis "CSS2 parsing and manipulation library")
2155 (description
2156 "Libcroco is a standalone CSS2 parsing and manipulation library.
2157 The parser provides a low level event driven SAC-like API and a CSS object
2158 model like API. Libcroco provides a CSS2 selection engine and an experimental
2159 XML/CSS rendering engine.")
2160
2161 ;; LGPLv2.1-only.
2162 (license license:lgpl2.1)))
2163
2164 (define-public libgsf
2165 (package
2166 (name "libgsf")
2167 (version "1.14.47")
2168 (source (origin
2169 (method url-fetch)
2170 (uri (string-append "mirror://gnome/sources/" name "/"
2171 (version-major+minor version) "/"
2172 name "-" version ".tar.xz"))
2173 (sha256
2174 (base32
2175 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2176 (build-system gnu-build-system)
2177 (arguments
2178 '(#:configure-flags '("--disable-static")))
2179 (native-inputs
2180 `(("pkg-config" ,pkg-config)
2181 ("gettext" ,gettext-minimal)
2182
2183 ;; For tests.
2184 ("perl" ,perl)
2185 ("perl-xml-parser" ,perl-xml-parser)))
2186 (inputs
2187 `(("zlib" ,zlib)
2188 ("bzip2" ,bzip2)))
2189 (propagated-inputs
2190 `(("gdk-pixbuf" ,gdk-pixbuf)
2191 ("glib" ,glib)
2192 ("libxml2" ,libxml2)))
2193 (home-page "https://www.gnome.org/projects/libgsf")
2194 (synopsis "GNOME's Structured File Library")
2195 (description
2196 "Libgsf aims to provide an efficient extensible I/O abstraction for
2197 dealing with different structured file formats.")
2198
2199 ;; LGPLv2.1-only.
2200 (license license:lgpl2.1)))
2201
2202 (define-public librsvg
2203 (package
2204 (name "librsvg")
2205 (version "2.40.21")
2206 (source (origin
2207 (method url-fetch)
2208 (uri (string-append "mirror://gnome/sources/" name "/"
2209 (version-major+minor version) "/"
2210 name "-" version ".tar.xz"))
2211 (sha256
2212 (base32
2213 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2214 (build-system gnu-build-system)
2215 (arguments
2216 `(#:configure-flags
2217 (list "--disable-static"
2218 "--enable-vala") ; needed for e.g. gnome-mines
2219 #:phases
2220 (modify-phases %standard-phases
2221 (add-before 'configure 'pre-configure
2222 (lambda* (#:key inputs #:allow-other-keys)
2223 (substitute* "gdk-pixbuf-loader/Makefile.in"
2224 ;; By default the gdk-pixbuf loader is installed under
2225 ;; gdk-pixbuf's prefix. Work around that.
2226 (("gdk_pixbuf_moduledir = .*$")
2227 (string-append "gdk_pixbuf_moduledir = "
2228 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2229 "loaders\n"))
2230 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2231 (("gdk_pixbuf_cache_file = .*$")
2232 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2233 #t))
2234 (add-before 'check 'remove-failing-tests
2235 (lambda _
2236 (with-directory-excursion "tests/fixtures/reftests"
2237 (for-each delete-file
2238 '(;; This test fails on i686:
2239 "svg1.1/masking-path-04-b.svg"
2240 ;; This test fails on armhf:
2241 "svg1.1/masking-mask-01-b.svg"
2242 ;; This test fails on aarch64:
2243 "bugs/777834-empty-text-children.svg")))
2244 #t)))))
2245 (native-inputs
2246 `(("pkg-config" ,pkg-config)
2247 ("vala" ,vala)
2248 ("glib" ,glib "bin") ; glib-mkenums, etc.
2249 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2250 (inputs
2251 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2252 ;; this ancient version of librsvg.
2253 ("pango" ,pango-1.42)
2254 ("libcroco" ,libcroco)
2255 ("bzip2" ,bzip2)
2256 ("libgsf" ,libgsf)
2257 ("libxml2" ,libxml2)))
2258 (propagated-inputs
2259 ;; librsvg-2.0.pc refers to all of that.
2260 `(("cairo" ,cairo)
2261 ("gdk-pixbuf" ,gdk-pixbuf)
2262 ("glib" ,glib)))
2263 (home-page "https://wiki.gnome.org/LibRsvg")
2264 (synopsis "Render SVG files using Cairo")
2265 (description
2266 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2267 library.")
2268 (license license:lgpl2.0+)))
2269
2270 (define-public librsvg-next
2271 (package
2272 (inherit librsvg)
2273 (name "librsvg")
2274 (version "2.46.4")
2275 (source (origin
2276 (method url-fetch)
2277 (uri (string-append "mirror://gnome/sources/librsvg/"
2278 (version-major+minor version) "/"
2279 "librsvg-" version ".tar.xz"))
2280 (sha256
2281 (base32
2282 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2283 (modules '((guix build utils)))
2284 (snippet
2285 '(begin (delete-file-recursively "vendor")
2286 ;; Don't demand an exact version for string_cache
2287 (substitute* "rsvg_internals/Cargo.toml"
2288 (("\"=") "\""))
2289 #t))))
2290 (build-system cargo-build-system)
2291 (arguments
2292 `(#:modules ((guix build cargo-build-system)
2293 (guix build utils)
2294 ((guix build gnu-build-system) #:prefix gnu:))
2295 #:vendor-dir "vendor"
2296 #:cargo-inputs
2297 (("rust-bitflags" ,rust-bitflags-1)
2298 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2299 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2300 ("rust-cssparser" ,rust-cssparser-0.25)
2301 ("rust-data-url" ,rust-data-url-0.1)
2302 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2303 ("rust-encoding" ,rust-encoding-0.2)
2304 ("rust-float-cmp" ,rust-float-cmp-0.5)
2305 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2306 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2307 ("rust-gio" ,rust-gio-0.7)
2308 ("rust-gio-sys" ,rust-gio-sys-0.9)
2309 ("rust-glib" ,rust-glib-0.8)
2310 ("rust-glib-sys" ,rust-glib-sys-0.9)
2311 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2312 ("rust-itertools" ,rust-itertools-0.8)
2313 ("rust-language-tags" ,rust-language-tags-0.2)
2314 ("rust-lazy-static" ,rust-lazy-static-1)
2315 ("rust-libc" ,rust-libc-0.2)
2316 ("rust-locale-config" ,rust-locale-config-0.3)
2317 ("rust-markup5ever" ,rust-markup5ever-0.9)
2318 ("rust-nalgebra" ,rust-nalgebra-0.18)
2319 ("rust-num-traits" ,rust-num-traits-0.2)
2320 ("rust-pkg-config" ,rust-pkg-config-0.3)
2321 ("rust-pango" ,rust-pango-0.7)
2322 ("rust-pango-sys" ,rust-pango-sys-0.9)
2323 ("rust-pangocairo" ,rust-pangocairo-0.8)
2324 ("rust-phf" ,rust-phf-0.7)
2325 ("rust-rayon" ,rust-rayon-1.3)
2326 ("rust-rctree" ,rust-rctree-0.3)
2327 ("rust-string-cache" ,rust-string-cache-0.7)
2328 ("rust-regex" ,rust-regex-1.3)
2329 ("rust-url" ,rust-url-2.1)
2330 ("rust-xml-rs" ,rust-xml-rs-0.8))
2331 #:cargo-development-inputs
2332 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2333 ("rust-criterion" ,rust-criterion-0.2))
2334 #:phases
2335 (modify-phases %standard-phases
2336 (add-after 'unpack 'prepare-for-build
2337 (lambda _
2338 ;; In lieu of #:make-flags
2339 (setenv "CC" "gcc")
2340 ;; Something about the build environment resists building
2341 ;; successfully with the '--locked' flag.
2342 (substitute* '("Makefile.am"
2343 "Makefile.in")
2344 (("--locked") ""))
2345 #t))
2346 (add-before 'configure 'pre-configure
2347 (lambda _
2348 (substitute* "gdk-pixbuf-loader/Makefile.in"
2349 ;; By default the gdk-pixbuf loader is installed under
2350 ;; gdk-pixbuf's prefix. Work around that.
2351 (("gdk_pixbuf_moduledir = .*$")
2352 (string-append "gdk_pixbuf_moduledir = "
2353 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2354 "loaders\n"))
2355 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2356 (("gdk_pixbuf_cache_file = .*$")
2357 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2358 #t))
2359 (add-after 'configure 'gnu-configure
2360 (assoc-ref gnu:%standard-phases 'configure))
2361 ;(lambda* (#:key outputs #:allow-other-keys)
2362 ; ((assoc-ref gnu:%standard-phases 'configure)
2363 ; #:outputs outputs
2364 ; #:configure-flags ("--disable-static"
2365 ; "--enable-vala"))))
2366 (add-after 'configure 'dont-vendor-self
2367 (lambda* (#:key vendor-dir #:allow-other-keys)
2368 ;; Don't keep the whole tarball in the vendor directory
2369 (delete-file-recursively
2370 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2371 #t))
2372 (replace 'build
2373 (assoc-ref gnu:%standard-phases 'build))
2374 (replace 'check
2375 (lambda* args
2376 ((assoc-ref gnu:%standard-phases 'check)
2377 #:test-target "check")))
2378 (replace 'install
2379 (assoc-ref gnu:%standard-phases 'install))
2380 (add-before 'check 'remove-failing-tests
2381 (lambda _
2382 (with-directory-excursion "tests/fixtures/reftests"
2383 (for-each delete-file
2384 '(;; The images produced by these tests differ slightly
2385 ;; from their reference counterparts due to differences
2386 ;; in the build environment (missing fonts, etc). See
2387 ;; <tests/README.md> for details.
2388 ;; These fail on x86_64.
2389 "svg1.1/coords-viewattr-02-b.svg"
2390 "svg1.1/filters-composite-04-f.svg"
2391 "svg1.1/filters-image-01-b.svg"
2392 "svg1.1/filters-conv-02-f.svg"
2393 "svg1.1/filters-conv-04-f.svg"
2394 ;; This test fails on i686:
2395 "svg1.1/masking-path-04-b.svg"
2396 ;; This test fails on armhf:
2397 "svg1.1/masking-mask-01-b.svg"
2398 ;; This test fails on aarch64:
2399 "bugs/777834-empty-text-children.svg")))
2400 #t)))))
2401 (license license:lgpl2.1+)))
2402
2403 (define-public libidl
2404 (package
2405 (name "libidl")
2406 (version "0.8.14")
2407 (source (origin
2408 (method url-fetch)
2409 (uri (string-append "mirror://gnome/sources/libIDL/"
2410 (version-major+minor version) "/"
2411 "libIDL-" version ".tar.bz2"))
2412 (sha256
2413 (base32
2414 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2415 (build-system gnu-build-system)
2416 (inputs `(("glib" ,glib)))
2417 (native-inputs
2418 `(("pkg-config" ,pkg-config)
2419 ("flex" ,flex)
2420 ("bison" ,bison)))
2421 (home-page "http://freecode.com/projects/libidl")
2422 (synopsis "Create trees of CORBA Interface Definition Language files")
2423 (description "Libidl is a library for creating trees of CORBA Interface
2424 Definition Language (idl) files, which is a specification for defining
2425 portable interfaces. libidl was initially written for orbit (the orb from the
2426 GNOME project, and the primary means of libidl distribution). However, the
2427 functionality was designed to be as reusable and portable as possible.")
2428 (properties `((upstream-name . "libIDL")))
2429 (license license:lgpl2.0+)))
2430
2431
2432 (define-public orbit2
2433 (package
2434 (name "orbit2")
2435 (version "2.14.19")
2436 (source (origin
2437 (method url-fetch)
2438 (uri (let ((upstream-name "ORBit2"))
2439 (string-append "mirror://gnome/sources/" upstream-name "/"
2440 (version-major+minor version) "/"
2441 upstream-name "-" version ".tar.bz2")))
2442 (sha256
2443 (base32
2444 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2445 (build-system gnu-build-system)
2446 (arguments
2447 `(;; The "timeout-server" test hangs when run in parallel.
2448 #:parallel-tests? #f
2449 #:configure-flags
2450 '(;; We don't need static libraries, plus they don't build reproducibly
2451 ;; (non-deterministic ordering of .o files in the archive.)
2452 "--disable-static"
2453
2454 ;; The programmer kindly gives us a hook to turn off deprecation
2455 ;; warnings ...
2456 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2457 ;; ... which they then completly ignore !!
2458 #:phases
2459 (modify-phases %standard-phases
2460 (add-before 'configure 'ignore-deprecations
2461 (lambda _
2462 (substitute* "linc2/src/Makefile.in"
2463 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2464 #t)))))
2465 (inputs `(("glib" ,glib)
2466 ("libidl" ,libidl)))
2467 (native-inputs
2468 `(("pkg-config" ,pkg-config)))
2469 (home-page "https://projects.gnome.org/orbit2/")
2470 (synopsis "CORBA 2.4-compliant Object Request Broker")
2471 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2472 featuring mature C, C++ and Python bindings.")
2473 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2474 ;; a version. SOME of the code files have licence notices for GPLv2+.
2475 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2476 (license license:gpl2+)
2477 (properties `((upstream-name . "ORBit2")))))
2478
2479
2480 (define-public libbonobo
2481 (package
2482 (name "libbonobo")
2483 (version "2.32.1")
2484 (source (origin
2485 (method url-fetch)
2486 (uri (string-append "mirror://gnome/sources/" name "/"
2487 (version-major+minor version)
2488 "/" name "-" version ".tar.bz2"))
2489 (sha256
2490 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2491 (patches (search-patches
2492 "libbonobo-activation-test-race.patch"))))
2493 (build-system gnu-build-system)
2494 (arguments
2495 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2496 `(#:configure-flags
2497 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2498 ;; ... which they then completly ignore !!
2499 #:phases
2500 (modify-phases %standard-phases
2501 (add-before 'configure 'ignore-deprecations
2502 (lambda _
2503 (substitute* "activation-server/Makefile.in"
2504 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2505 #t)))
2506
2507 ;; There's apparently a race condition between the server stub
2508 ;; generation and linking of the example under 'samples/echo' that can
2509 ;; lead do undefined references when building in parallel, as reported
2510 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2511 ;; Thus, disable parallel builds.
2512 #:parallel-build? #f))
2513 (inputs `(("popt" ,popt)
2514 ("libxml2" ,libxml2)))
2515 ;; The following are Required by the .pc file
2516 (propagated-inputs
2517 `(("glib" ,glib)
2518 ("orbit2" ,orbit2)))
2519 (native-inputs
2520 `(("intltool" ,intltool)
2521 ("pkg-config" ,pkg-config)
2522 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2523 ("flex" ,flex)
2524 ("bison" ,bison)))
2525 (home-page "https://developer.gnome.org/libbonobo/")
2526 (synopsis "Framework for creating reusable components for use in GNOME applications")
2527 (description "Bonobo is a framework for creating reusable components for
2528 use in GNOME applications, built on top of CORBA.")
2529 ;; Licence not explicitly stated. Source files contain no licence notices.
2530 ;; Tarball contains text of both GPLv2 and LGPLv2
2531 ;; GPLv2 covers both conditions
2532 (license license:gpl2+)))
2533
2534
2535 (define-public gconf
2536 (package
2537 (name "gconf")
2538 (version "3.2.6")
2539 (source (origin
2540 (method url-fetch)
2541 (uri
2542 (let ((upstream-name "GConf"))
2543 (string-append "mirror://gnome/sources/" upstream-name "/"
2544 (version-major+minor version) "/"
2545 upstream-name "-" version ".tar.xz")))
2546 (sha256
2547 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2548 (build-system gnu-build-system)
2549 (inputs `(("dbus-glib" ,dbus-glib)
2550 ("libxml2" ,libxml2)))
2551 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2552 ("orbit2" ,orbit2)))
2553 (native-inputs
2554 `(("intltool" ,intltool)
2555 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2556 ("pkg-config" ,pkg-config)))
2557 (home-page "https://projects.gnome.org/gconf/")
2558 (synopsis "Store application preferences")
2559 (description "Gconf is a system for storing application preferences. It
2560 is intended for user preferences; not arbitrary data storage.")
2561 (license license:lgpl2.0+)
2562 (properties '((upstream-name . "GConf")))))
2563
2564
2565 (define-public gnome-mime-data
2566 (package
2567 (name "gnome-mime-data")
2568 (version "2.18.0")
2569 (source (origin
2570 (method url-fetch)
2571 (uri (string-append "mirror://gnome/sources/" name "/"
2572 (version-major+minor version) "/"
2573 name "-" version ".tar.bz2"))
2574 (sha256
2575 (base32
2576 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2577 (build-system gnu-build-system)
2578 (native-inputs
2579 `(("perl" ,perl)
2580 ("intltool" ,intltool)))
2581 (arguments
2582 '(#:phases (modify-phases %standard-phases
2583 (add-after 'configure 'use-our-intltool
2584 (lambda _
2585 ;; Do not use the bundled intltool commands, which lack
2586 ;; the "dotless @INC" fixes of our 'intltool' package.
2587 (substitute* (find-files "." "^Makefile$")
2588 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2589 (string-append "INTLTOOL_" tool " = intltool-"
2590 (string-downcase tool) "\n")))
2591 #t)))))
2592 (home-page "https://www.gnome.org")
2593 (synopsis "Base MIME and Application database for GNOME")
2594 (description "GNOME Mime Data is a module which contains the base MIME
2595 and Application database for GNOME. The data stored by this module is
2596 designed to be accessed through the MIME functions in GnomeVFS.")
2597 (license license:gpl2+)))
2598
2599
2600 (define-public gnome-vfs
2601 (package
2602 (name "gnome-vfs")
2603 (version "2.24.4")
2604 (source (origin
2605 (method url-fetch)
2606 (uri (string-append "mirror://gnome/sources/" name "/"
2607 (version-major+minor version) "/"
2608 name "-" version ".tar.bz2"))
2609 (sha256
2610 (base32
2611 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2612 (build-system gnu-build-system)
2613 (arguments
2614 `(#:phases
2615 (modify-phases %standard-phases
2616 (add-before 'configure 'ignore-deprecations
2617 (lambda _
2618 (substitute* '("libgnomevfs/Makefile.in"
2619 "daemon/Makefile.in")
2620 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2621 #t))
2622 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2623 (lambda _
2624 (substitute* "test/test-async-cancel.c"
2625 (("EXIT_FAILURE") "77"))
2626 #t)))))
2627 (inputs `(("libxml2" ,libxml2)
2628 ("dbus-glib" ,dbus-glib)
2629 ("gconf" ,gconf)
2630 ("gnome-mime-data" ,gnome-mime-data)
2631 ("zlib" ,zlib)))
2632 (native-inputs
2633 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2634 ("intltool" ,intltool)
2635 ("pkg-config" ,pkg-config)))
2636 (home-page "https://developer.gnome.org/gnome-vfs/")
2637 (synopsis "Access files and folders in GNOME applications")
2638 (description
2639 "GnomeVFS is the core library used to access files and folders in GNOME
2640 applications. It provides a file system abstraction which allows applications
2641 to access local and remote files with a single consistent API.")
2642 (license license:lgpl2.0+)))
2643
2644
2645
2646 (define-public libgnome
2647 (package
2648 (name "libgnome")
2649 (version "2.32.1")
2650 (source (origin
2651 (method url-fetch)
2652 (uri (string-append "mirror://gnome/sources/" name "/"
2653 (version-major+minor version) "/"
2654 name "-" version ".tar.bz2"))
2655 (sha256
2656 (base32
2657 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2658 (patches (search-patches "libgnome-encoding.patch"))))
2659 (build-system gnu-build-system)
2660 (arguments
2661 `(#:phases
2662 (modify-phases %standard-phases
2663 (add-before 'configure 'enable-deprecated
2664 (lambda _
2665 (substitute* "libgnome/Makefile.in"
2666 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2667 #t)))))
2668 (inputs `(("libxml2" ,libxml2)))
2669 (native-inputs
2670 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2671 ("intltool" ,intltool)
2672 ("pkg-config" ,pkg-config)))
2673 ;; The following are listed as Required in the .pc file
2674 ;; (except for libcanberra -- which seems to be oversight on the part
2675 ;; of the upstream developers -- anything that links against libgnome,
2676 ;; must also link against libcanberra
2677 (propagated-inputs
2678 `(("libcanberra" ,libcanberra)
2679 ("libbonobo" ,libbonobo)
2680 ("gconf" ,gconf)
2681 ("gnome-vfs" ,gnome-vfs)
2682 ("popt" ,popt))) ;gnome-program.h includes popt.h
2683 (home-page "https://developer.gnome.org/libgnome/")
2684 (synopsis "Useful routines for building applications")
2685 (description "The libgnome library provides a number of useful routines
2686 for building modern applications, including session management, activation of
2687 files and URIs, and displaying help.")
2688 (license license:lgpl2.0+)))
2689
2690
2691 (define-public libart-lgpl
2692 (package
2693 (name "libart-lgpl")
2694 (version "2.3.21")
2695 (source (origin
2696 (method url-fetch)
2697 (uri (let ((upstream-name "libart_lgpl"))
2698 (string-append "mirror://gnome/sources/" upstream-name "/"
2699 (version-major+minor version) "/"
2700 upstream-name "-" version ".tar.bz2")))
2701 (sha256
2702 (base32
2703 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2704 (build-system gnu-build-system)
2705 (native-inputs
2706 `(("pkg-config" ,pkg-config)))
2707 (home-page "https://people.gnome.org/~mathieu/libart")
2708 (synopsis "2D drawing library")
2709 (description "Libart is a 2D drawing library intended as a
2710 high-quality vector-based 2D library with antialiasing and alpha composition.")
2711 (license license:lgpl2.0+)))
2712
2713
2714
2715 (define-public libgnomecanvas
2716 (package
2717 (name "libgnomecanvas")
2718 (version "2.30.3")
2719 (source (origin
2720 (method url-fetch)
2721 (uri (string-append "mirror://gnome/sources/" name "/"
2722 (version-major+minor version) "/"
2723 name "-" version ".tar.gz"))
2724 (sha256
2725 (base32
2726 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2727 (build-system gnu-build-system)
2728 ;; Mentioned as Required in the .pc file
2729 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2730 ("gtk+" ,gtk+-2)))
2731 (native-inputs
2732 `(("intltool" ,intltool)
2733 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2734 ("pkg-config" ,pkg-config)))
2735 (home-page "https://developer.gnome.org/libgnomecanvas/")
2736 (synopsis "Flexible widget for creating interactive structured graphics")
2737 (description "The GnomeCanvas widget provides a flexible widget for
2738 creating interactive structured graphics.")
2739 (license license:lgpl2.0+)))
2740
2741 (define-public libgnomecanvasmm
2742 (package
2743 (name "libgnomecanvasmm")
2744 (version "2.26.0")
2745 (source (origin
2746 (method url-fetch)
2747 (uri (string-append "mirror://gnome/sources/" name "/"
2748 (version-major+minor version) "/"
2749 name "-" version ".tar.bz2"))
2750 (sha256
2751 (base32
2752 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2753 (build-system gnu-build-system)
2754 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2755 (native-inputs
2756 `(("gtkmm-2" ,gtkmm-2)
2757 ("pkg-config" ,pkg-config)))
2758 (home-page "https://gtkmm.org")
2759 (synopsis "C++ bindings to the GNOME Canvas library")
2760 (description "C++ bindings to the GNOME Canvas library.")
2761 (license license:lgpl2.0+)))
2762
2763 (define-public libgnomeui
2764 (package
2765 (name "libgnomeui")
2766 (version "2.24.5")
2767 (source (origin
2768 (method url-fetch)
2769 (uri (string-append "mirror://gnome/sources/" name "/"
2770 (version-major+minor version) "/"
2771 name "-" version ".tar.bz2"))
2772 (patches (search-patches "libgnomeui-utf8.patch"))
2773 (sha256
2774 (base32
2775 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2776 (build-system gnu-build-system)
2777 ;; Mentioned as Required in the .pc file
2778 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2779 ("libgnome" ,libgnome)
2780 ("libgnomecanvas" ,libgnomecanvas)
2781 ("libgnome-keyring" ,libgnome-keyring)))
2782 (inputs `(("libjpeg" ,libjpeg-turbo)
2783 ("popt" ,popt)
2784 ("libbonobo" ,libbonobo)
2785 ("libxml2" ,libxml2)
2786 ("libglade" ,libglade)))
2787 (native-inputs
2788 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2789 ("intltool" ,intltool)
2790 ("pkg-config" ,pkg-config)))
2791 (home-page "https://developer.gnome.org/libgnomeui/")
2792 (synopsis "Additional widgets for applications")
2793 (description "The libgnomeui library provides additional widgets for
2794 applications. Many of the widgets from libgnomeui have already been
2795 ported to GTK+.")
2796 (license license:lgpl2.0+)))
2797
2798 (define-public libglade
2799 (package
2800 (name "libglade")
2801 (version "2.6.4")
2802 (source (origin
2803 (method url-fetch)
2804 (uri (string-append "mirror://gnome/sources/" name "/"
2805 (version-major+minor version) "/"
2806 name "-" version ".tar.bz2"))
2807 (sha256
2808 (base32
2809 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2810 (build-system gnu-build-system)
2811 (inputs
2812 `(("python" ,python))) ;; needed for the optional libglade-convert program
2813 (propagated-inputs
2814 `(("gtk+-2" ,gtk+-2)
2815 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2816 (native-inputs
2817 `(("pkg-config" ,pkg-config)))
2818 (home-page "https://developer.gnome.org/libglade")
2819 (synopsis "Load glade interfaces and access the glade built widgets")
2820 (description "Libglade is a library that provides interfaces for loading
2821 graphical interfaces described in glade files and for accessing the
2822 widgets built in the loading process.")
2823 (license license:gpl2+))) ; This is correct. GPL not LGPL
2824
2825 (define-public libgnomeprint
2826 ;; This library has been deprecated since 2006; see
2827 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2828 (package
2829 (name "libgnomeprint")
2830 (version "2.18.8")
2831 (source (origin
2832 (method url-fetch)
2833 (uri (string-append "mirror://gnome/sources/" name "/"
2834 (version-major+minor version) "/"
2835 name "-" version ".tar.bz2"))
2836 (sha256
2837 (base32
2838 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2839 (build-system gnu-build-system)
2840 (inputs
2841 `(("popt" ,popt)
2842 ("libart-lgpl" ,libart-lgpl)
2843 ("gtk+" ,gtk+-2)
2844 ("libxml2" ,libxml2)))
2845 (native-inputs
2846 `(("intltool" ,intltool)
2847 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2848 ("pkg-config" ,pkg-config)))
2849 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2850 (synopsis "Printing framework for GNOME")
2851 (description
2852 "GNOME-print was a printing framework for GNOME. It has been deprecated
2853 since ca. 2006, when GTK+ itself incorporated printing support.")
2854 (license license:lgpl2.0+)))
2855
2856
2857 (define-public libgnomeprintui
2858 ;; Deprecated; see libgnomeprint.
2859 (package
2860 (name "libgnomeprintui")
2861 (version "2.18.6")
2862 (source (origin
2863 (method url-fetch)
2864 (uri (string-append "mirror://gnome/sources/" name "/"
2865 (version-major+minor version) "/"
2866 name "-" version ".tar.bz2"))
2867 (sha256
2868 (base32
2869 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2870 (build-system gnu-build-system)
2871 ;; Mentioned as Required in the .pc file
2872 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2873 (inputs `(("gtk+" ,gtk+-2)
2874 ("glib" ,glib)
2875 ("gnome-icon-theme" ,gnome-icon-theme)
2876 ("libgnomecanvas" ,libgnomecanvas)
2877 ("libxml2" ,libxml2)))
2878 (native-inputs
2879 `(("intltool" ,intltool)
2880 ("pkg-config" ,pkg-config)))
2881 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2882 (synopsis "Printing framework for GNOME")
2883 (description (package-description libgnomeprint))
2884 (license license:lgpl2.0+)))
2885
2886 (define-public libbonoboui
2887 (package
2888 (name "libbonoboui")
2889 (version "2.24.5")
2890 (source (origin
2891 (method url-fetch)
2892 (uri (string-append "mirror://gnome/sources/" name "/"
2893 (version-major+minor version) "/"
2894 name "-" version ".tar.bz2"))
2895 (sha256
2896 (base32
2897 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2898 (build-system gnu-build-system)
2899 (arguments
2900 `(#:phases
2901 (modify-phases %standard-phases
2902 (add-before 'check 'start-xserver
2903 (lambda* (#:key inputs #:allow-other-keys)
2904 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2905 (disp ":1"))
2906
2907 (setenv "HOME" (getcwd))
2908 (setenv "DISPLAY" disp)
2909 ;; There must be a running X server and make check doesn't start one.
2910 ;; Therefore we must do it.
2911 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2912 ;; Mentioned as Required by the .pc file
2913 (propagated-inputs `(("libxml2" ,libxml2)))
2914 (inputs
2915 `(("popt" ,popt)
2916 ("pangox-compat" ,pangox-compat)
2917 ("libgnome" ,libgnome)
2918 ("libgnomecanvas" ,libgnomecanvas)
2919 ("libglade" ,libglade)))
2920 (native-inputs
2921 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2922 ("intltool" ,intltool)
2923 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2924 ("pkg-config" ,pkg-config)))
2925 (home-page "https://developer.gnome.org/libbonoboui/")
2926 (synopsis "Some user interface controls using Bonobo")
2927 (description "The Bonobo UI library provides a number of user interface
2928 controls using the Bonobo component framework.")
2929 (license license:lgpl2.0+)))
2930
2931 (define-public libwnck
2932 (package
2933 (name "libwnck")
2934 (version "3.32.0")
2935 (source (origin
2936 (method url-fetch)
2937 (uri (string-append "mirror://gnome/sources/" name "/"
2938 (version-major+minor version) "/"
2939 name "-" version ".tar.xz"))
2940 (sha256
2941 (base32
2942 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2943 (build-system meson-build-system)
2944 (native-inputs
2945 `(("pkg-config" ,pkg-config)
2946 ("glib" ,glib "bin") ; for glib-mkenums
2947 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2948 ("intltool" ,intltool)))
2949 (propagated-inputs
2950 `(("gtk+" ,gtk+)
2951 ("libxres" ,libxres)
2952 ("startup-notification" ,startup-notification)))
2953 (home-page "https://developer.gnome.org/libwnck/")
2954 (synopsis "Window Navigator Construction Kit")
2955 (description
2956 "Libwnck is the Window Navigator Construction Kit, a library for use in
2957 writing pagers, tasklists, and more generally applications that are dealing
2958 with window management. It tries hard to respect the Extended Window Manager
2959 Hints specification (EWMH).")
2960 (license license:lgpl2.0+)))
2961
2962 ;; stable version for gtk2, required by xfwm4.
2963 (define-public libwnck-2
2964 (package (inherit libwnck)
2965 (name "libwnck")
2966 (version "2.30.7")
2967 (source (origin
2968 (method url-fetch)
2969 (uri (string-append "mirror://gnome/sources/" name "/"
2970 (version-major+minor version) "/"
2971 name "-" version ".tar.xz"))
2972 (sha256
2973 (base32
2974 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2975 (build-system gnu-build-system)
2976 (native-inputs
2977 `(("pkg-config" ,pkg-config)
2978 ("intltool" ,intltool)))
2979 (propagated-inputs
2980 `(("gtk+" ,gtk+-2)
2981 ("libxres" ,libxres)
2982 ("startup-notification" ,startup-notification)))))
2983
2984 (define-public goffice
2985 (package
2986 (name "goffice")
2987 (version "0.10.46")
2988 (source (origin
2989 (method url-fetch)
2990 (uri (string-append "mirror://gnome/sources/goffice/"
2991 (version-major+minor version) "/"
2992 "goffice-" version ".tar.xz"))
2993 (sha256
2994 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2995 (build-system gnu-build-system)
2996 (outputs '("out"
2997 "doc")) ; 4.0 MiB of gtk-doc
2998 (arguments
2999 '(#:configure-flags (list (string-append "--with-html-dir="
3000 (assoc-ref %outputs "doc")
3001 "/share/gtk-doc/html"))))
3002 (inputs
3003 `(("gtk+" ,gtk+)
3004 ("libgsf" ,libgsf)
3005 ("librsvg" ,librsvg)
3006 ("libxslt" ,libxslt)
3007 ("libxml2" ,libxml2)))
3008 (native-inputs
3009 `(("intltool" ,intltool)
3010 ("glib" ,glib "bin")
3011 ("pkg-config" ,pkg-config)))
3012 (home-page "https://developer.gnome.org/goffice/")
3013 (synopsis "Document-centric objects and utilities")
3014 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3015 (license
3016 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3017 ;; Note: NOT LGPL
3018 (list license:gpl2 license:gpl3))))
3019
3020 (define-public goffice-0.8
3021 (package (inherit goffice)
3022 (version "0.8.17")
3023 (source (origin
3024 (method url-fetch)
3025 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3026 (version-major+minor version) "/"
3027 (package-name goffice) "-" version ".tar.xz"))
3028 (sha256
3029 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3030 (arguments
3031 `(#:phases
3032 (modify-phases %standard-phases
3033 (add-after 'unpack 'fix-pcre-check
3034 (lambda _
3035 ;; Only glib.h can be included directly. See
3036 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3037 (substitute* "configure"
3038 (("glib/gregex\\.h") "glib.h")) #t)))
3039
3040 ,@(package-arguments goffice)))
3041 (propagated-inputs
3042 ;; libgoffice-0.8.pc mentions libgsf-1
3043 `(("libgsf" ,libgsf)))
3044 (inputs
3045 `(("gtk" ,gtk+-2)
3046 ,@(alist-delete "gtk" (package-inputs goffice))))))
3047
3048 (define-public gnumeric
3049 (package
3050 (name "gnumeric")
3051 (version "1.12.46")
3052 (source (origin
3053 (method url-fetch)
3054 (uri (string-append "mirror://gnome/sources/gnumeric/"
3055 (version-major+minor version) "/"
3056 "gnumeric-" version ".tar.xz"))
3057 (sha256
3058 (base32
3059 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3060 (build-system glib-or-gtk-build-system)
3061 (arguments
3062 `(;; The gnumeric developers don't worry much about failing tests.
3063 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3064 #:tests? #f
3065 #:phases
3066 (modify-phases %standard-phases
3067 (add-before
3068 'configure 'pre-conf
3069 (lambda* (#:key outputs #:allow-other-keys)
3070 ;; Make install tries to write into the directory of goffice
3071 ;; I am informed that this only affects the possibility to embed a
3072 ;; spreadsheet inside an Abiword document. So presumably when we
3073 ;; package Abiword we'll have to refer it to this directory.
3074 (substitute* "configure"
3075 (("^GOFFICE_PLUGINS_DIR=.*")
3076 (string-append "GOFFICE_PLUGINS_DIR="
3077 (assoc-ref outputs "out")
3078 "/goffice/plugins"))))))))
3079 (inputs
3080 `(("glib" ,glib)
3081 ("gtk+" ,gtk+)
3082 ("goffice" ,goffice)
3083 ("libgsf" ,libgsf)
3084 ("librsvg" ,librsvg)
3085 ("libxml2" ,libxml2)
3086 ("libxslt" ,libxslt)
3087 ("python" ,python-2)
3088 ("python2-pygobject" ,python2-pygobject)
3089 ("zlib" ,zlib)))
3090 (native-inputs
3091 `(("bison" ,bison)
3092 ("docbook-xml" ,docbook-xml)
3093 ("intltool" ,intltool)
3094 ("itstool" ,itstool)
3095 ("glib:bin" ,glib "bin")
3096 ("pkg-config" ,pkg-config)))
3097 (home-page "http://www.gnumeric.org")
3098 (synopsis "Spreadsheet application")
3099 (description
3100 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3101 interoperable with other spreadsheet applications. It has a vast array of
3102 features beyond typical spreadsheet functionality, such as support for linear
3103 and non-linear solvers, statistical analysis, and telecommunication
3104 engineering.")
3105 (license
3106 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3107 (list license:gpl2 license:gpl3))))
3108
3109 (define-public gnome-themes-standard
3110 (package
3111 (name "gnome-themes-standard")
3112 (version "3.22.3")
3113 (source
3114 (origin
3115 (method url-fetch)
3116 (uri (string-append "mirror://gnome/sources/" name "/"
3117 (version-major+minor version) "/" name "-"
3118 version ".tar.xz"))
3119 (sha256
3120 (base32
3121 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3122 (build-system gnu-build-system)
3123 (arguments
3124 '(#:configure-flags
3125 ;; Don't create 'icon-theme.cache'.
3126 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3127 (true (string-append coreutils "/bin/true")))
3128 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3129 (inputs
3130 `(("gtk+" ,gtk+)
3131 ("gtk+-2" ,gtk+-2)
3132 ("librsvg" ,librsvg)
3133 ("libxml2" ,libxml2)
3134 ("glib" ,glib)))
3135 (native-inputs
3136 `(("intltool" ,intltool)
3137 ("glib:bin" ,glib "bin")
3138 ("pkg-config" ,pkg-config)))
3139 (home-page "https://launchpad.net/gnome-themes-standard")
3140 (synopsis "Default GNOME 3 themes")
3141 (description
3142 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3143 (license license:lgpl2.1+)))
3144
3145 (define-public seahorse
3146 (package
3147 (name "seahorse")
3148 (version "3.34")
3149 (source
3150 (origin
3151 (method url-fetch)
3152 (uri (string-append "mirror://gnome/sources/" name "/"
3153 (version-major+minor version) "/" name "-"
3154 version ".tar.xz"))
3155 (sha256
3156 (base32
3157 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3158 (build-system meson-build-system)
3159 (arguments
3160 '(#:glib-or-gtk? #t
3161 #:phases
3162 (modify-phases %standard-phases
3163 (add-after 'unpack 'skip-gtk-update-icon-cache
3164 ;; Don't create 'icon-theme.cache'.
3165 (lambda _
3166 (substitute* "build-aux/meson_post_install.py"
3167 (("gtk-update-icon-cache") "true"))
3168 #t)))))
3169 (inputs
3170 `(("gtk+" ,gtk+)
3171 ("gcr" ,gcr)
3172 ("gnupg" ,gnupg)
3173 ("gpgme" ,gpgme)
3174 ("openldap" ,openldap)
3175 ("openssh" ,openssh)
3176 ("avahi" ,avahi)
3177 ("libpwquality" ,libpwquality)
3178 ("libsecret" ,libsecret)
3179 ("libsoup" ,libsoup)))
3180 (native-inputs
3181 `(("gettext" ,gettext-minimal)
3182 ("glib:bin" ,glib "bin")
3183 ("itstool" ,itstool)
3184 ("pkg-config" ,pkg-config)
3185 ("vala" ,vala)
3186 ("xmllint" ,libxml2)))
3187 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3188 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3189 (description
3190 "Seahorse is a GNOME application for managing encryption keys and
3191 passwords in the GNOME keyring.")
3192 (license license:gpl2+)))
3193
3194 (define-public vala
3195 (package
3196 (name "vala")
3197 (version "0.46.5")
3198 (source (origin
3199 (method url-fetch)
3200 (uri (string-append "mirror://gnome/sources/" name "/"
3201 (version-major+minor version) "/"
3202 name "-" version ".tar.xz"))
3203 (sha256
3204 (base32
3205 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3206 (build-system gnu-build-system)
3207 (arguments
3208 '(#:phases
3209 (modify-phases %standard-phases
3210 (add-before 'check 'pre-check
3211 (lambda _
3212 (setenv "CC" "gcc")
3213 (substitute* "valadoc/tests/testrunner.sh"
3214 (("export PKG_CONFIG_PATH=" m)
3215 (string-append m "$PKG_CONFIG_PATH:")))
3216 ;; For missing '/etc/machine-id'.
3217 (setenv "DBUS_FATAL_WARNINGS" "0")
3218 #t)))))
3219 (native-inputs
3220 `(("pkg-config" ,pkg-config)
3221 ("flex" ,flex)
3222 ("bison" ,bison)
3223 ("xsltproc" ,libxslt)
3224 ("dbus" ,dbus) ; for dbus tests
3225 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3226 (inputs
3227 `(("graphviz" ,graphviz)))
3228 (propagated-inputs
3229 `(("glib" ,glib))) ; required by libvala-0.40.pc
3230 (home-page "https://live.gnome.org/Vala/")
3231 (synopsis "Compiler for the GObject type system")
3232 (description
3233 "Vala is a programming language that aims to bring modern programming
3234 language features to GNOME developers without imposing any additional runtime
3235 requirements and without using a different ABI compared to applications and
3236 libraries written in C.")
3237 (license license:lgpl2.1+)))
3238
3239 (define-public vte
3240 (package
3241 (name "vte")
3242 (version "0.60.2")
3243 (source (origin
3244 (method url-fetch)
3245 (uri (string-append "mirror://gnome/sources/vte/"
3246 (version-major+minor version) "/"
3247 "vte-" version ".tar.xz"))
3248 (sha256
3249 (base32
3250 "19ccbw0yca78h5qcnm8claj4fg1pj68nj1fsjqqfpzhj7w72i81m"))))
3251 (build-system meson-build-system)
3252 (arguments
3253 `(#:configure-flags
3254 '("-Dvapi=true"
3255 "-D_systemd=false")))
3256 (native-inputs
3257 `(("pkg-config" ,pkg-config)
3258 ("gettext" ,gettext-minimal)
3259 ("vala" ,vala)
3260 ("gobject-introspection" ,gobject-introspection)
3261 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3262 ("gperf" ,gperf)
3263 ("xmllint" ,libxml2)))
3264 (propagated-inputs
3265 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3266 ("gnutls" ,gnutls) ; ditto
3267 ("pcre2" ,pcre2))) ; ditto
3268 (home-page "https://www.gnome.org/")
3269 (synopsis "Virtual Terminal Emulator")
3270 (description
3271 "VTE is a library (libvte) implementing a terminal emulator widget for
3272 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3273 gnome-terminal, but can also be used to embed a console/terminal in games,
3274 editors, IDEs, etc.")
3275 (license license:lgpl2.1+)))
3276
3277 (define-public vte-ng
3278 (package
3279 (inherit vte)
3280 (name "vte-ng")
3281 (version "0.58.2.a")
3282 (home-page "https://github.com/thestinger/vte-ng")
3283 (source (origin
3284 (method git-fetch)
3285 (uri (git-reference (url home-page) (commit version)))
3286 (file-name (git-file-name name version))
3287 (sha256
3288 (base32
3289 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3290 (build-system meson-build-system)
3291 (native-inputs
3292 `(("gtk-doc" ,gtk-doc)
3293 ,@(package-native-inputs vte)))
3294 (arguments
3295 `(#:configure-flags '("-Ddocs=true")))
3296 (synopsis "Enhanced VTE terminal widget")
3297 (description
3298 "VTE is a library (libvte) implementing a terminal emulator widget for
3299 GTK+, this fork provides additional functions exposed for keyboard text
3300 selection and URL hints.")))
3301
3302 ;; provides vte 2.90, required for some terminal emulators
3303 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3304 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3305 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3306 ;; pantheon-terminal, roxterm are not currently packaged
3307 (define-public vte-0.36
3308 (package (inherit vte)
3309 (name "vte")
3310 (version "0.36.5")
3311 (source (origin
3312 (method url-fetch)
3313 (uri (string-append "mirror://gnome/sources/" name "/"
3314 (version-major+minor version) "/"
3315 name "-" version ".tar.xz"))
3316 (sha256
3317 (base32
3318 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3319 (propagated-inputs
3320 `(("gtk" ,gtk+)
3321 ("ncurses" ,ncurses)))))
3322
3323 ;; stable version for gtk2, required by xfce4-terminal.
3324 (define-public vte/gtk+-2
3325 (package (inherit vte)
3326 (name "vte")
3327 (version "0.28.2")
3328 (source (origin
3329 (method url-fetch)
3330 (uri (string-append "mirror://gnome/sources/" name "/"
3331 (version-major+minor version) "/"
3332 name "-" version ".tar.xz"))
3333 (sha256
3334 (base32
3335 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3336 (patches (search-patches
3337 "vte-CVE-2012-2738-pt1.patch"
3338 "vte-CVE-2012-2738-pt2.patch"))))
3339 (build-system gnu-build-system)
3340 (arguments
3341 '(#:configure-flags '("--disable-python")))
3342 (native-inputs
3343 `(("pkg-config" ,pkg-config)
3344 ("intltool" ,intltool)
3345 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3346 (propagated-inputs
3347 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3348 ("ncurses" ,ncurses))))) ; required by libvte.la
3349
3350 (define-public vinagre
3351 (package
3352 (name "vinagre")
3353 (version "3.22.0")
3354 (source (origin
3355 (method url-fetch)
3356 (uri (string-append "mirror://gnome/sources/" name "/"
3357 (version-major+minor version) "/"
3358 name "-" version ".tar.xz"))
3359 (patches (search-patches "vinagre-newer-freerdp.patch"
3360 "vinagre-newer-rdp-parameters.patch"))
3361 (sha256
3362 (base32
3363 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3364 (build-system glib-or-gtk-build-system)
3365 (arguments
3366 ;; Disable -Werror and such, to avoid build failures on compilation
3367 ;; warnings.
3368 '(#:configure-flags '("--enable-compile-warnings=minimum")
3369 #:phases
3370 (modify-phases %standard-phases
3371 (add-before 'install 'skip-gtk-update-icon-cache
3372 (lambda _
3373 ;; Don't create 'icon-theme.cache'
3374 (substitute* (find-files "." "^Makefile$")
3375 (("gtk-update-icon-cache") (which "true")))
3376 #t))
3377 (add-after 'unpack 'patch-configure
3378 (lambda _
3379 (substitute* "configure"
3380 (("freerdp") "freerdp2"))
3381 #t)))))
3382 (native-inputs
3383 `(("pkg-config" ,pkg-config)
3384 ("intltool" ,intltool)
3385 ("itstool" ,itstool)
3386 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3387 (inputs
3388 `(("libxml2" ,libxml2)
3389 ("gtk-vnc" ,gtk-vnc)
3390 ("gnome-keyring" ,gnome-keyring)
3391 ("libsecret" ,libsecret)
3392 ("freerdp" ,freerdp)
3393 ("spice" ,spice)
3394 ("spice-gtk" ,spice-gtk)
3395 ("telepathy-glib" ,telepathy-glib)
3396 ("vte" ,vte)))
3397 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3398 (synopsis "Remote desktop viewer for GNOME")
3399 (description "Vinagre is a remote display client supporting the VNC, SPICE
3400 and RDP protocols.")
3401 (license license:gpl3+)))
3402
3403 (define-public dconf
3404 (package
3405 (name "dconf")
3406 (version "0.34.0")
3407 (source (origin
3408 (method url-fetch)
3409 (uri (string-append
3410 "mirror://gnome/sources/" name "/"
3411 (version-major+minor version) "/"
3412 name "-" version ".tar.xz"))
3413 (patches (search-patches "dconf-meson-0.52.patch"))
3414 (sha256
3415 (base32
3416 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3417 (build-system meson-build-system)
3418 (propagated-inputs
3419 ;; In Requires of dconf.pc.
3420 `(("glib" ,glib)))
3421 (inputs
3422 `(("gtk+" ,gtk+)
3423 ("dbus" ,dbus)))
3424 (native-inputs
3425 `(("bash-completion" ,bash-completion)
3426 ("libxslt" ,libxslt) ;for xsltproc
3427 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3428 ("docbook-xml" ,docbook-xml-4.2)
3429 ("docbook-xsl" ,docbook-xsl)
3430 ("glib:bin" ,glib "bin")
3431 ("gtk-doc" ,gtk-doc)
3432 ("pkg-config" ,pkg-config)
3433 ("vala" ,vala)))
3434 (arguments
3435 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3436 ; or /etc/machine-id.
3437 #:glib-or-gtk? #t
3438 #:configure-flags '("-Denable-gtk-doc=true")))
3439 (home-page "https://developer.gnome.org/dconf/")
3440 (synopsis "Low-level GNOME configuration system")
3441 (description "Dconf is a low-level configuration system. Its main purpose
3442 is to provide a backend to GSettings on platforms that don't already have
3443 configuration storage systems.")
3444 (license license:lgpl2.1+)))
3445
3446 (define-public json-glib
3447 (package
3448 (name "json-glib")
3449 (version "1.4.4")
3450 (source (origin
3451 (method url-fetch)
3452 (uri (string-append "mirror://gnome/sources/" name "/"
3453 (version-major+minor version) "/"
3454 name "-" version ".tar.xz"))
3455 (sha256
3456 (base32
3457 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3458 (build-system meson-build-system)
3459 (native-inputs
3460 `(("gettext" ,gettext-minimal)
3461 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3462 ("gobject-introspection" ,gobject-introspection)
3463 ("pkg-config" ,pkg-config)))
3464 (propagated-inputs
3465 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3466 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3467 (synopsis "Compiler for the GObject type system")
3468 (description
3469 "JSON-GLib is a C library based on GLib providing serialization and
3470 deserialization support for the JavaScript Object Notation (JSON) format
3471 described by RFC 4627. It provides parser and generator GObject classes and
3472 various wrappers for the complex data types employed by JSON, such as arrays
3473 and objects.")
3474 (license license:lgpl2.1+)))
3475
3476 (define-public libxklavier
3477 (package
3478 (name "libxklavier")
3479 (version "5.4")
3480 (source (origin
3481 ;; Note: There's no tarball at ftp.gnome.org for this version.
3482 (method git-fetch)
3483 (uri (git-reference
3484 (url "https://anongit.freedesktop.org/git/libxklavier")
3485 (commit (string-append "libxklavier-" version))))
3486 (sha256
3487 (base32
3488 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3489 (file-name (git-file-name name version))))
3490 (build-system gnu-build-system)
3491 (arguments
3492 '(#:configure-flags
3493 (list (string-append "--with-xkb-base="
3494 (assoc-ref %build-inputs "xkeyboard-config")
3495 "/share/X11/xkb")
3496 "--disable-xmodmap-support")))
3497 (native-inputs
3498 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3499 ("gobject-introspection" ,gobject-introspection)
3500 ("pkg-config" ,pkg-config)
3501 ("gtk-doc" ,gtk-doc)
3502 ("intltool" ,intltool)
3503 ("which" ,which)
3504 ("autoconf" ,autoconf)
3505 ("automake" ,automake)
3506 ("libtool" ,libtool)))
3507 (propagated-inputs
3508 ;; Required by libxklavier.pc.
3509 `(("glib" ,glib)
3510 ("libxml2" ,libxml2)))
3511 (inputs
3512 `(("iso-codes" ,iso-codes)
3513 ("libxi" ,libxi)
3514 ("libxkbfile" ,libxkbfile)
3515 ("xkbcomp" ,xkbcomp)
3516 ("xkeyboard-config" ,xkeyboard-config)))
3517 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3518 (synopsis "High-level API for X Keyboard Extension")
3519 (description
3520 "LibXklavier is a library providing high-level API for X Keyboard
3521 Extension known as XKB. This library is intended to support XFree86 and other
3522 commercial X servers. It is useful for creating XKB-related software (layout
3523 indicators etc).")
3524 (license license:lgpl2.0+)))
3525
3526 (define-public python2-rsvg
3527 ;; XXX: This is actually a subset of gnome-python-desktop.
3528 (package
3529 (name "python2-rsvg")
3530 (version "2.32.0")
3531 (source
3532 (origin
3533 (method url-fetch)
3534 (uri (string-append
3535 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3536 version ".tar.bz2"))
3537 (sha256
3538 (base32
3539 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3540 (build-system gnu-build-system)
3541 (native-inputs
3542 `(("pkg-config" ,pkg-config)))
3543 (inputs
3544 `(("python" ,python-2)
3545 ("python2-pygtk" ,python2-pygtk)
3546 ("librsvg" ,librsvg)))
3547 (home-page "https://www.gnome.org")
3548 (synopsis "Python bindings to librsvg")
3549 (description
3550 "This package provides Python bindings to librsvg, the SVG rendering
3551 library.")
3552
3553 ;; This is the license of the rsvg bindings. The license of each module
3554 ;; of gnome-python-desktop is given in 'COPYING'.
3555 (license license:lgpl2.1+)))
3556
3557 (define-public glib-networking
3558 (package
3559 (name "glib-networking")
3560 (version "2.62.2")
3561 (source (origin
3562 (method url-fetch)
3563 (uri (string-append "mirror://gnome/sources/glib-networking/"
3564 (version-major+minor version) "/"
3565 "glib-networking-" version ".tar.xz"))
3566 (sha256
3567 (base32
3568 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3569 (build-system meson-build-system)
3570 (arguments
3571 `(#:configure-flags '("-Dlibproxy_support=false")))
3572 (native-inputs
3573 `(("pkg-config" ,pkg-config)
3574 ("intltool" ,intltool)))
3575 (inputs
3576 `(("glib" ,glib)
3577 ("gnutls" ,gnutls)
3578 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3579 (home-page "https://www.gnome.org")
3580 (synopsis "Network-related GIO modules")
3581 (description
3582 "This package contains various network related extensions for the GIO
3583 library.")
3584 (license license:lgpl2.0+)))
3585
3586 (define-public rest
3587 (package
3588 (name "rest")
3589 (version "0.8.1")
3590 (source (origin
3591 (method url-fetch)
3592 (uri (string-append "mirror://gnome/sources/rest/"
3593 (version-major+minor version) "/"
3594 name "-" version ".tar.xz"))
3595 (sha256
3596 (base32
3597 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3598 (build-system gnu-build-system)
3599 (arguments
3600 '(#:tests? #f ; tests require internet connection
3601 #:configure-flags
3602 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3603 (native-inputs
3604 `(("glib-mkenums" ,glib "bin")
3605 ("gobject-introspection" ,gobject-introspection)
3606 ("pkg-config" ,pkg-config)))
3607 (propagated-inputs
3608 ;; rest-0.7.pc refers to all these.
3609 `(("glib" ,glib)
3610 ("libsoup" ,libsoup)
3611 ("libxml2" ,libxml2)))
3612 (home-page "https://www.gtk.org/")
3613 (synopsis "RESTful web api query library")
3614 (description
3615 "This library was designed to make it easier to access web services that
3616 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3617 libxml to ease remote use of the RESTful API.")
3618 (license license:lgpl2.1+)))
3619
3620 (define-public libsoup
3621 (package
3622 (name "libsoup")
3623 (version "2.70.0")
3624 (source (origin
3625 (method url-fetch)
3626 (uri (string-append "mirror://gnome/sources/libsoup/"
3627 (version-major+minor version) "/"
3628 "libsoup-" version ".tar.xz"))
3629 (sha256
3630 (base32
3631 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3632 (build-system meson-build-system)
3633 (outputs '("out" "doc"))
3634 (arguments
3635 `(#:modules ((guix build utils)
3636 (guix build meson-build-system)
3637 (ice-9 popen))
3638
3639 #:configure-flags '("-Dgtk_doc=true")
3640 #:phases
3641 (modify-phases %standard-phases
3642 (add-after 'unpack 'adjust-tests
3643 (lambda _
3644 ;; This test fails due to missing /etc/nsswitch.conf
3645 ;; in the build environment.
3646 (substitute* "tests/socket-test.c"
3647 ((".*/sockets/unconnected.*") ""))
3648
3649 ;; These fail because "subdomain.localhost" does not resolve in
3650 ;; the build environment.
3651 (substitute* "tests/hsts-test.c"
3652 ((".*/hsts/basic.*") "")
3653 ((".*/hsts/subdomains.*") "")
3654 ((".*/hsts/superdomain.*") "")
3655 ((".*/hsts/utf8-address.*") ""))
3656 (substitute* "tests/hsts-db-test.c"
3657 ((".*/hsts-db/subdomains.*") ""))
3658
3659 ;; Generate a self-signed certificate that has "localhost" as its
3660 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3661 ;; 3.5.12, tests such as "ssl-tests" fail:
3662 ;;
3663 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3664 ;;
3665 ;; 'certtool' is interactive so we have to pipe it the answers.
3666 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3667 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3668 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3669 (for-each (lambda (line)
3670 (display line pipe)
3671 (newline pipe))
3672 '("" ;Common name
3673 "" ;UID
3674 "Guix" ;Organizational unit name
3675 "GNU" ;Organization name
3676 "" ;Locality name
3677 "" ;State or province
3678 "" ;Country
3679 "" ;subject's domain component (DC)
3680 "" ;E-mail
3681 "" ;serial number
3682 "-1" ;expiration time
3683 "N" ;belong to authority?
3684 "N" ;web client certificate?
3685 "N" ;IPsec IKE?
3686 "Y" ;web server certificate?
3687 "localhost" ;dnsName of subject
3688 "" ;dnsName of subject (end)
3689 "" ;URI of subject
3690 "127.0.0.1" ;IP address of subject
3691 "" ;signing?
3692 "" ;encryption (RSA)?
3693 "" ;data encryption?
3694 "" ;sign OCSP requests?
3695 "" ;sign code?
3696 "" ;time stamping?
3697 "" ;email protection?
3698 "" ;URI of the CRL distribution point
3699 "y" ;above info OK?
3700 ))
3701 (close-pipe pipe))
3702 #t))
3703 (add-after 'install 'move-doc
3704 (lambda* (#:key outputs #:allow-other-keys)
3705 (let ((out (assoc-ref outputs "out"))
3706 (doc (assoc-ref outputs "doc")))
3707 (mkdir-p (string-append doc "/share"))
3708 (copy-recursively (string-append out "/share/gtk-doc")
3709 (string-append doc "/share/gtk-doc"))
3710 (delete-file-recursively (string-append out "/share/gtk-doc"))
3711 #t))))))
3712 (native-inputs
3713 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3714 ("gobject-introspection" ,gobject-introspection)
3715 ("gtk-doc" ,gtk-doc)
3716 ("intltool" ,intltool)
3717 ("pkg-config" ,pkg-config)
3718 ("python" ,python-wrapper)
3719 ("vala" ,vala)
3720 ;; These are needed for the tests.
3721 ;; FIXME: Add PHP once available.
3722 ("curl" ,curl)
3723 ("gnutls" ,gnutls) ;for 'certtool'
3724 ("httpd" ,httpd)))
3725 (propagated-inputs
3726 ;; libsoup-2.4.pc refers to all these.
3727 `(("brotli" ,google-brotli)
3728 ("glib" ,glib)
3729 ("libpsl" ,libpsl)
3730 ("libxml2" ,libxml2)
3731 ("sqlite" ,sqlite)
3732 ("zlib" ,zlib)))
3733 (inputs
3734 `(("glib-networking" ,glib-networking)
3735 ("mit-krb5" ,mit-krb5)))
3736 (home-page "https://live.gnome.org/LibSoup/")
3737 (synopsis "GLib-based HTTP Library")
3738 (description
3739 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3740 and the GLib main loop, to integrate well with GNOME applications.")
3741 (license license:lgpl2.0+)))
3742
3743 (define-public libsecret
3744 (package
3745 (name "libsecret")
3746 (version "0.20.3")
3747 (source (origin
3748 (method url-fetch)
3749 (uri (string-append
3750 "mirror://gnome/sources/libsecret/"
3751 (version-major+minor version) "/"
3752 "libsecret-" version ".tar.xz"))
3753 (sha256
3754 (base32
3755 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
3756 (build-system gnu-build-system)
3757 (outputs '("out" "doc"))
3758 (arguments
3759 `(#:tests? #f ; FIXME: Testing hangs.
3760 #:configure-flags
3761 (list (string-append "--with-html-dir="
3762 (assoc-ref %outputs "doc")
3763 "/share/gtk-doc/html"))))
3764 (native-inputs
3765 `(("gettext" ,gettext-minimal)
3766 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3767 ("gobject-introspection" ,gobject-introspection)
3768 ("pkg-config" ,pkg-config)
3769 ("vala" ,vala)
3770 ("xsltproc" ,libxslt)))
3771 ;; These are needed for the tests.
3772 ;; FIXME: Add gjs once available.
3773 ;("dbus" ,dbus)
3774 ;("python2" ,python-2)
3775 ;("python2-dbus" ,python2-dbus)
3776 ;("python2-pygobject" ,python2-pygobject)
3777 ;("python2-pygobject-2" ,python2-pygobject-2)))
3778 (propagated-inputs
3779 `(("glib" ,glib))) ; required by libsecret-1.pc
3780 (inputs
3781 `(("docbook-xsl" ,docbook-xsl)
3782 ("libgcrypt" ,libgcrypt)
3783 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3784 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3785 (synopsis "GObject bindings for \"Secret Service\" API")
3786 (description
3787 "Libsecret is a GObject based library for storing and retrieving passwords
3788 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3789 (license license:lgpl2.1+)))
3790
3791 (define-public five-or-more
3792 (package
3793 (name "five-or-more")
3794 (version "3.32.2")
3795 (source
3796 (origin
3797 (method url-fetch)
3798 (uri (string-append "mirror://gnome/sources/five-or-more/"
3799 (version-major+minor version) "/"
3800 "five-or-more-" version ".tar.xz"))
3801 (sha256
3802 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
3803 (build-system meson-build-system)
3804 (arguments
3805 '(#:glib-or-gtk? #t
3806 #:phases
3807 (modify-phases %standard-phases
3808 (add-after 'unpack 'skip-gtk-update-icon-cache
3809 (lambda _
3810 (substitute* "meson_post_install.py"
3811 (("gtk-update-icon-cache") (which "true")))
3812 #t)))))
3813 (native-inputs
3814 `(("pkg-config" ,pkg-config)
3815 ("appstream-glib" ,appstream-glib)
3816 ("desktop-file-utils" ,desktop-file-utils)
3817 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3818 ("intltool" ,intltool)
3819 ("itstool" ,itstool)
3820 ("vala" ,vala)
3821 ("xmllint" ,libxml2)))
3822 (inputs
3823 `(("gtk+" ,gtk+)
3824 ("libgnome-games-support" ,libgnome-games-support)
3825 ("librsvg" ,librsvg)))
3826 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3827 (synopsis "Logic puzzle game")
3828 (description "Five or More is a game where you try to align
3829 five or more objects of the same color and shape causing them to disappear.
3830 On every turn more objects will appear, until the board is full.
3831 Try to last as long as possible.")
3832 (license license:gpl2+)))
3833
3834 (define-public gnome-mines
3835 (package
3836 (name "gnome-mines")
3837 (version "3.34.0")
3838 (source
3839 (origin
3840 (method url-fetch)
3841 (uri (string-append "mirror://gnome/sources/" name "/"
3842 (version-major+minor version) "/"
3843 name "-" version ".tar.xz"))
3844 (sha256
3845 (base32
3846 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
3847 (build-system meson-build-system)
3848 (arguments
3849 '(#:glib-or-gtk? #t
3850 #:phases
3851 (modify-phases %standard-phases
3852 (add-after 'unpack 'skip-gtk-update-icon-cache
3853 (lambda _
3854 (substitute* "build-aux/meson_post_install.py"
3855 (("gtk-update-icon-cache") (which "true")))
3856 #t)))))
3857 (native-inputs
3858 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3859 ("pkg-config" ,pkg-config)
3860 ("desktop-file-utils" ,desktop-file-utils)
3861 ("intltool" ,intltool)
3862 ("itstool" ,itstool)
3863 ("vala" ,vala)
3864 ("yelp" ,yelp)
3865 ("appstream-glib" ,appstream-glib)))
3866 (inputs
3867 `(("gtk+" ,gtk+)
3868 ("libgnome-games-support" ,libgnome-games-support)
3869 ("librsvg" ,librsvg)))
3870 (home-page "https://wiki.gnome.org/Apps/Mines")
3871 (synopsis "Minesweeper game")
3872 (description
3873 "Mines (previously gnomine) is a puzzle game where you locate mines
3874 floating in an ocean using only your brain and a little bit of luck.")
3875 (license license:gpl2+)))
3876
3877 (define-public gnome-sudoku
3878 (package
3879 (name "gnome-sudoku")
3880 (version "3.34.1")
3881 (source
3882 (origin
3883 (method url-fetch)
3884 (uri (string-append "mirror://gnome/sources/" name "/"
3885 (version-major+minor version) "/"
3886 name "-" version ".tar.xz"))
3887 (sha256
3888 (base32
3889 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
3890 (build-system meson-build-system)
3891 (arguments
3892 '(#:glib-or-gtk? #t
3893 #:phases
3894 (modify-phases %standard-phases
3895 (add-after 'unpack 'skip-gtk-update-icon-cache
3896 (lambda _
3897 (substitute* "build-aux/post_install.py"
3898 (("gtk-update-icon-cache") (which "true")))
3899 #t)))))
3900 (native-inputs
3901 `(("pkg-config" ,pkg-config)
3902 ("desktop-file-utils" ,desktop-file-utils)
3903 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3904 ("intltool" ,intltool)
3905 ("itstool" ,itstool)
3906 ("vala" ,vala)
3907 ("xmllint" ,libxml2)))
3908 (inputs
3909 `(("gtk+" ,gtk+)
3910 ("json-glib" ,json-glib)
3911 ("libgee" ,libgee)
3912 ("librsvg" ,librsvg)
3913 ("qqwing" ,qqwing)))
3914 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3915 (synopsis "Japanese logic game")
3916 (description
3917 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3918 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3919 possible while still providing features that make playing difficult Sudoku
3920 more fun.")
3921 (license license:gpl2+)))
3922
3923 (define-public gnome-terminal
3924 (package
3925 (name "gnome-terminal")
3926 (version "3.34.2")
3927 (source
3928 (origin
3929 (method url-fetch)
3930 (uri (string-append "mirror://gnome/sources/" name "/"
3931 (version-major+minor version) "/"
3932 name "-" version ".tar.xz"))
3933 (sha256
3934 (base32
3935 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
3936 (build-system glib-or-gtk-build-system)
3937 (arguments
3938 '(#:configure-flags
3939 (list "--disable-migration" "--disable-search-provider"
3940 "--without-nautilus-extension")
3941 #:phases
3942 (modify-phases %standard-phases
3943 (add-before 'configure 'patch-/bin/true
3944 (lambda _
3945 (substitute* "configure"
3946 (("/bin/true") (which "true"))))))))
3947 (native-inputs
3948 `(("pkg-config" ,pkg-config)
3949 ("desktop-file-utils" ,desktop-file-utils)
3950 ("intltool" ,intltool)
3951 ("itstool" ,itstool)
3952 ("xmllint" ,libxml2)))
3953 (propagated-inputs
3954 `(("dconf" ,dconf)))
3955 (inputs
3956 `(("gtk+" ,gtk+)
3957 ("vte" ,vte)
3958 ("gnutls" ,gnutls)
3959 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3960 ("util-linux" ,util-linux "lib")
3961 ("vala" ,vala)))
3962 (home-page "https://wiki.gnome.org/Apps/Terminal")
3963 (synopsis "Terminal emulator")
3964 (description
3965 "GNOME Terminal is a terminal emulator application for accessing a
3966 UNIX shell environment which can be used to run programs available on
3967 your system.
3968
3969 It supports several profiles, multiple tabs and implements several
3970 keyboard shortcuts.")
3971 (license license:gpl3+)))
3972
3973 (define-public colord
3974 (package
3975 (name "colord")
3976 (version "1.4.4")
3977 (source
3978 (origin
3979 (method url-fetch)
3980 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3981 "colord-" version ".tar.xz"))
3982 (sha256
3983 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3984 (build-system meson-build-system)
3985 (arguments
3986 '(;; FIXME: One test fails:
3987 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3988 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3989 ;; application/x-zerosize
3990 #:tests? #f
3991 #:glib-or-gtk? #t
3992 #:configure-flags (list "-Dlocalstatedir=/var"
3993 ;; No dep on systemd.
3994 "-Dsystemd=false"
3995 ;; Wants to install to global completion dir;
3996 ;; punt.
3997 "-Dbash_completion=false"
3998 "-Ddaemon_user=colord"
3999 "-Dsane=true"
4000 "-Dvapi=true"
4001 ;; Requires spotread.
4002 "-Dargyllcms_sensor=false"
4003 ;; TODO: Requires docbook2x.
4004 "-Dman=false")
4005 #:phases
4006 (modify-phases %standard-phases
4007 (add-before 'configure 'patch-build-system
4008 (lambda* (#:key outputs #:allow-other-keys)
4009 (substitute* "rules/meson.build"
4010 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4011 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4012 #t))
4013 (add-before 'configure 'set-sqlite3-file-name
4014 (lambda* (#:key inputs #:allow-other-keys)
4015 ;; "colormgr dump" works by invoking the "sqlite3" command.
4016 ;; Record its absolute file name.
4017 (let ((sqlite (assoc-ref inputs "sqlite")))
4018 (substitute* "client/cd-util.c"
4019 (("\"sqlite3\"")
4020 (string-append "\"" sqlite "/bin/sqlite3\"")))
4021 #t))))))
4022 (native-inputs
4023 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4024 ("gettext" ,gettext-minimal)
4025 ("gobject-introspection" ,gobject-introspection)
4026 ("gtk-doc" ,gtk-doc)
4027 ("pkg-config" ,pkg-config)
4028 ("vala" ,vala)))
4029 (propagated-inputs
4030 ;; colord.pc refers to all these.
4031 `(("glib" ,glib)
4032 ("lcms" ,lcms)
4033 ("udev" ,eudev)))
4034 (inputs
4035 `(("dbus-glib" ,dbus-glib)
4036 ("gusb" ,gusb)
4037 ("libgudev" ,libgudev)
4038 ("libusb" ,libusb)
4039 ("polkit" ,polkit)
4040 ("python" ,python-wrapper)
4041 ("sqlite" ,sqlite)
4042 ("sane-backends" ,sane-backends)))
4043 (home-page "https://www.freedesktop.org/software/colord/")
4044 (synopsis "Color management service")
4045 (description "Colord is a system service that makes it easy to manage,
4046 install and generate color profiles to accurately color manage input and
4047 output devices.")
4048 (license license:gpl2+)))
4049
4050 (define-public geoclue
4051 (package
4052 (name "geoclue")
4053 (version "2.5.5")
4054 (source
4055 (origin
4056 (method url-fetch)
4057 (uri
4058 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4059 version "/geoclue-" version ".tar.bz2"))
4060 (sha256
4061 (base32
4062 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4063 (patches (search-patches "geoclue-config.patch"))))
4064 (build-system meson-build-system)
4065 (arguments
4066 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4067 (native-inputs
4068 `(("pkg-config" ,pkg-config)
4069 ("gobject-introspection" ,gobject-introspection)
4070 ("modem-manager" ,modem-manager)
4071 ("libnotify" ,libnotify)
4072 ("gtk-doc", gtk-doc)
4073 ("intltool" ,intltool)))
4074 (inputs
4075 `(("avahi" ,avahi)
4076 ("glib:bin" ,glib "bin")
4077 ("glib-networking" ,glib-networking)
4078 ("json-glib" ,json-glib)
4079 ("libsoup" ,libsoup)))
4080 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4081 (synopsis "Geolocation service")
4082 (description "Geoclue is a D-Bus service that provides location
4083 information. The primary goal of the Geoclue project is to make creating
4084 location-aware applications as simple as possible, while the secondary goal is
4085 to ensure that no application can access location information without explicit
4086 permission from user.")
4087 (license license:gpl2+)))
4088
4089 (define-public geocode-glib
4090 (package
4091 (name "geocode-glib")
4092 (version "3.26.1")
4093 (source (origin
4094 (method url-fetch)
4095 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4096 (version-major+minor version) "/"
4097 "geocode-glib-" version ".tar.xz"))
4098 (sha256
4099 (base32
4100 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4101 (build-system meson-build-system)
4102 (arguments
4103 `(#:phases
4104 (modify-phases %standard-phases
4105 ;; The tests require a bunch of locales.
4106 (add-before 'check 'set-locales
4107 (lambda* (#:key inputs #:allow-other-keys)
4108 (setenv "GUIX_LOCPATH"
4109 (string-append (assoc-ref inputs "glibc-locales")
4110 "/lib/locale"))
4111 #t)))))
4112 (native-inputs
4113 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4114 ("glibc-locales" ,glibc-locales) ; for tests
4115 ("gettext" ,gettext-minimal)
4116 ("gobject-introspection" ,gobject-introspection)
4117 ("gtk-doc" ,gtk-doc)
4118 ("pkg-config" ,pkg-config)
4119 ("json-glib" ,json-glib)))
4120 (propagated-inputs
4121 ;; geocode-glib-1.0.pc refers to GIO.
4122 `(("glib" ,glib)))
4123 (inputs
4124 `(("libsoup" ,libsoup)))
4125 (home-page "https://github.com/GNOME/geocode-glib/")
4126 (synopsis "Geocoding and reverse-geocoding library")
4127 (description
4128 "geocode-glib is a convenience library for geocoding (finding longitude,
4129 and latitude from an address) and reverse geocoding (finding an address from
4130 coordinates) using the Nominatim service. geocode-glib caches requests for
4131 faster results and to avoid unnecessary server load.")
4132 (license license:lgpl2.0+)))
4133
4134 (define-public upower
4135 (package
4136 (name "upower")
4137 (version "0.99.11")
4138 (source (origin
4139 (method url-fetch)
4140 (uri (string-append "https://upower.freedesktop.org/releases/"
4141 "upower-" version ".tar.xz"))
4142 (sha256
4143 (base32
4144 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4145 (patches (search-patches "upower-builddir.patch"))
4146 (modules '((guix build utils)))
4147 (snippet
4148 '(begin
4149 ;; Upstream commit
4150 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4151 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4152 ;; 'dbus-configuration-directory' in (gnu services dbus)
4153 ;; expects it in etc/. Thus, move it back to its previous
4154 ;; location.
4155 (substitute* "src/Makefile.in"
4156 (("^dbusconfdir =.*$")
4157 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4158 #t))))
4159 (build-system glib-or-gtk-build-system)
4160 (arguments
4161 '(#:phases
4162 (modify-phases %standard-phases
4163 (add-before 'check 'pre-check
4164 (lambda* (#:key inputs #:allow-other-keys)
4165 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
4166 "/lib")))
4167 (setenv "LD_LIBRARY_PATH" umockdev))
4168 #t)))
4169 #:configure-flags (list "--localstatedir=/var"
4170 (string-append "--with-udevrulesdir="
4171 (assoc-ref %outputs "out")
4172 "/lib/udev/rules.d"))))
4173 (native-inputs
4174 `(("gobject-introspection" ,gobject-introspection)
4175 ("pkg-config" ,pkg-config)
4176 ("intltool" ,intltool)
4177 ("python" ,python)
4178
4179 ;; For tests.
4180 ("python-dbus" ,python-dbus)
4181 ("python-dbusmock" ,python-dbusmock)
4182 ("python-pygobject" ,python-pygobject)
4183 ("umockdev" ,umockdev)
4184
4185 ;; For man pages.
4186 ("libxslt" ,libxslt) ;for 'xsltproc'
4187 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4188 ("docbook-xsl" ,docbook-xsl)))
4189 (inputs
4190 `(("dbus-glib" ,dbus-glib)
4191 ("libgudev" ,libgudev)
4192 ("libusb" ,libusb)))
4193 (propagated-inputs
4194 ;; In Requires of upower-glib.pc.
4195 `(("glib" ,glib)))
4196 (home-page "https://upower.freedesktop.org/")
4197 (synopsis "System daemon for managing power devices")
4198 (description
4199 "UPower is an abstraction for enumerating power devices,
4200 listening to device events and querying history and statistics. Any
4201 application or service on the system can access the org.freedesktop.UPower
4202 service via the system message bus.")
4203 (license license:gpl2+)))
4204
4205 (define-public libgweather
4206 (package
4207 (name "libgweather")
4208 (version "3.34.0")
4209 (source (origin
4210 (method url-fetch)
4211 (uri (string-append "mirror://gnome/sources/" name "/"
4212 (version-major+minor version) "/"
4213 name "-" version ".tar.xz"))
4214 (sha256
4215 (base32
4216 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4217 (build-system meson-build-system)
4218 (arguments
4219 `(#:tests? #f ; one of two tests requires network access
4220 #:configure-flags
4221 `(,(string-append "-Dzoneinfo_dir="
4222 (assoc-ref %build-inputs "tzdata")
4223 "/share/zoneinfo"))))
4224 (native-inputs
4225 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4226 ("gobject-introspection" ,gobject-introspection)
4227 ("pkg-config" ,pkg-config)
4228 ("vala" ,vala)
4229 ("intltool" ,intltool)))
4230 (propagated-inputs
4231 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4232 ;; libsoup.
4233 `(("gtk+" ,gtk+)
4234 ("gdk-pixbuf" ,gdk-pixbuf)
4235 ("libxml2" ,libxml2)
4236 ("libsoup" ,libsoup)
4237 ("geocode-glib" ,geocode-glib)))
4238 (inputs
4239 `(("tzdata" ,tzdata)))
4240 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4241 (synopsis "Location, time zone, and weather library for GNOME")
4242 (description
4243 "libgweather is a library to access weather information from online
4244 services for numerous locations.")
4245 (license license:gpl2+)))
4246
4247 (define-public gnome-settings-daemon
4248 (package
4249 (name "gnome-settings-daemon")
4250 (version "3.34.1")
4251 (source
4252 (origin
4253 (method url-fetch)
4254 (uri (string-append "mirror://gnome/sources/" name "/"
4255 (version-major+minor version) "/"
4256 name "-" version ".tar.xz"))
4257 (sha256
4258 (base32
4259 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4260 (build-system meson-build-system)
4261 (arguments
4262 `(#:glib-or-gtk? #t
4263 #:configure-flags
4264 (list (string-append "-Dudev_dir="
4265 (assoc-ref %outputs "out")
4266 "/lib/udev/rules.d/")
4267 "-Dsystemd=false"
4268 ;; Otherwise, the RUNPATH will lack the final path component.
4269 (string-append "-Dc_link_args=-Wl,-rpath="
4270 (assoc-ref %outputs "out")
4271 "/lib/gnome-settings-daemon-3.0"))
4272 ;; Color management test can't reach the colord system service.
4273 #:tests? #f))
4274 (native-inputs
4275 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4276 ("pkg-config" ,pkg-config)
4277 ("intltool" ,intltool)
4278 ("xsltproc" ,libxslt)
4279 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4280 ("docbook-xml" ,docbook-xml-4.2)
4281 ("docbook-xsl" ,docbook-xsl)))
4282 (inputs
4283 `(("alsa-lib" ,alsa-lib)
4284 ("colord" ,colord)
4285 ("libgudev" ,libgudev)
4286 ("upower" ,upower)
4287 ("polkit" ,polkit)
4288 ("pulseaudio" ,pulseaudio)
4289 ("libcanberra" ,libcanberra)
4290 ("libx11" ,libx11)
4291 ("libxtst" ,libxtst)
4292 ("lcms" ,lcms)
4293 ("libnotify" ,libnotify)
4294 ("geoclue" ,geoclue)
4295 ("geocode-glib" ,geocode-glib)
4296 ("libgweather" ,libgweather)
4297 ("gnome-desktop" ,gnome-desktop)
4298 ("nss" ,nss)
4299 ("cups" ,cups)
4300 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4301 ("libwacom" ,libwacom)
4302 ("librsvg" ,librsvg)
4303 ("xf86-input-wacom" ,xf86-input-wacom)
4304 ("wayland" ,wayland)
4305 ("network-manager" ,network-manager)
4306 ("gcr" ,gcr)
4307 ("modem-manager" ,modem-manager)))
4308 (home-page "https://www.gnome.org")
4309 (synopsis "GNOME settings daemon")
4310 (description
4311 "This package contains the daemon responsible for setting the various
4312 parameters of a GNOME session and the applications that run under it. It
4313 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4314 settings, themes, mouse settings, and startup of other daemons.")
4315 (license license:gpl2+)))
4316
4317 (define-public totem-pl-parser
4318 (package
4319 (name "totem-pl-parser")
4320 (version "3.26.3")
4321 (source (origin
4322 (method url-fetch)
4323 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4324 (version-major+minor version) "/"
4325 "totem-pl-parser-" version ".tar.xz"))
4326 (sha256
4327 (base32
4328 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4329 (build-system meson-build-system)
4330 (arguments
4331 ;; FIXME: Tests require gvfs.
4332 `(#:tests? #f))
4333 (native-inputs
4334 `(("intltool" ,intltool)
4335 ("glib" ,glib "bin")
4336 ("gobject-introspection" ,gobject-introspection)
4337 ("pkg-config" ,pkg-config)))
4338 (propagated-inputs
4339 `(("glib" ,glib)
4340 ("gmime" ,gmime)
4341 ("libarchive" ,libarchive)
4342 ("libgcrypt" ,libgcrypt)
4343 ("libxml2" ,libxml2)))
4344 (inputs
4345 `(("libsoup" ,libsoup)))
4346 (home-page "https://projects.gnome.org/totem")
4347 (synopsis "Library to parse and save media playlists for GNOME")
4348 (description "Totem-pl-parser is a GObjects-based library to parse and save
4349 playlists in a variety of formats.")
4350 (license license:lgpl2.0+)))
4351
4352 (define-public aisleriot
4353 (package
4354 (name "aisleriot")
4355 (version "3.22.9")
4356 (source (origin
4357 (method url-fetch)
4358 (uri (string-append "mirror://gnome/sources/aisleriot/"
4359 (version-major+minor version) "/"
4360 "aisleriot-" version ".tar.xz"))
4361 (sha256
4362 (base32
4363 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4364 (build-system glib-or-gtk-build-system)
4365 (arguments
4366 '(#:configure-flags
4367 '("--with-platform=gtk-only"
4368 "--with-card-theme-formats=svg")))
4369 (native-inputs
4370 `(("desktop-file-utils" ,desktop-file-utils)
4371 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4372 ("intltool" ,intltool)
4373 ("itstool" ,itstool)
4374 ("pkg-config" ,pkg-config)
4375 ("xmllint" ,libxml2)))
4376 (inputs
4377 `(("gtk+" ,gtk+)
4378 ("guile" ,guile-2.2)
4379 ("libcanberra" ,libcanberra)
4380 ("librsvg" ,librsvg)))
4381 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4382 (synopsis "Solitaire card games")
4383 (description
4384 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4385 which are easy to play with the aid of a mouse.")
4386 (license license:gpl3+)))
4387
4388 (define-public amtk
4389 (package
4390 (name "amtk")
4391 (version "5.0.2")
4392 (source (origin
4393 (method url-fetch)
4394 (uri (string-append "mirror://gnome/sources/amtk/"
4395 (version-major+minor version) "/"
4396 "amtk-" version ".tar.xz"))
4397 (sha256
4398 (base32
4399 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4400 (build-system gnu-build-system)
4401 (arguments
4402 '(#:configure-flags '("--enable-gtk-doc")))
4403 (native-inputs
4404 `(("gobject-introspection" ,gobject-introspection)
4405 ("glib:bin" ,glib "bin") ; for glib-mkenums
4406 ("gtk-doc" ,gtk-doc)
4407 ("pkg-config" ,pkg-config)))
4408 (inputs
4409 `(("glib" ,glib)
4410 ("gtk+" ,gtk+)))
4411 (home-page "https://wiki.gnome.org/Projects/Amtk")
4412 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4413 (description
4414 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4415 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4416 both a traditional UI or a modern UI with a GtkHeaderBar.")
4417 (license license:lgpl2.1+)))
4418
4419 (define-public devhelp
4420 (package
4421 (name "devhelp")
4422 (version "3.34.0")
4423 (source (origin
4424 (method url-fetch)
4425 (uri (string-append "mirror://gnome/sources/" name "/"
4426 (version-major+minor version) "/"
4427 name "-" version ".tar.xz"))
4428 (sha256
4429 (base32
4430 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4431 (build-system meson-build-system)
4432 (arguments
4433 '(#:glib-or-gtk? #t
4434 #:phases
4435 (modify-phases %standard-phases
4436 (add-after 'unpack 'skip-gtk-update-icon-cache
4437 ;; Don't create 'icon-theme.cache'.
4438 (lambda _
4439 (substitute* "meson_post_install.py"
4440 (("gtk-update-icon-cache") "true"))
4441 #t)))))
4442 (native-inputs
4443 `(("intltool" ,intltool)
4444 ("itstool" ,itstool)
4445 ("gobject-introspection" ,gobject-introspection)
4446 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4447 ("pkg-config" ,pkg-config)))
4448 (inputs
4449 `(("amtk" ,amtk)
4450 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4451 ("webkitgtk" ,webkitgtk)))
4452 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4453 (synopsis "API documentation browser for GNOME")
4454 (description
4455 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4456 natively with GTK-Doc (the API reference system developed for GTK+ and used
4457 throughout GNOME for API documentation).")
4458 (license license:gpl2+)))
4459
4460 (define-public cogl
4461 (package
4462 (name "cogl")
4463 (version "1.22.6")
4464 (source
4465 (origin
4466 (method url-fetch)
4467 (uri (string-append "mirror://gnome/sources/cogl/"
4468 (version-major+minor version) "/"
4469 "cogl-" version ".tar.xz"))
4470 (sha256
4471 (base32 "0x8v4n61q89qy27v824bqswpz6bmn801403w2q3pa1lcwk9ln4vd"))))
4472 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4473 ;; cogl, corresponding changes may be appropriate in mutter as well.
4474 (build-system gnu-build-system)
4475 (native-inputs
4476 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4477 ("gobject-introspection" ,gobject-introspection)
4478 ("xorg-server" ,xorg-server-for-tests)
4479 ("pkg-config" ,pkg-config)))
4480 (propagated-inputs
4481 `(("glib" ,glib)
4482 ("gdk-pixbuf" ,gdk-pixbuf)
4483 ("libx11" ,libx11)
4484 ("libxext" ,libxext)
4485 ("libxfixes" ,libxfixes)
4486 ("libxdamage" ,libxdamage)
4487 ("libxcomposite" ,libxcomposite)
4488 ("libxrandr" ,libxrandr)))
4489 (inputs
4490 `(("mesa" ,mesa)
4491 ("cairo" ,cairo)
4492 ("pango" ,pango)
4493 ("gstreamer" ,gstreamer)
4494 ("gst-plugins-base" ,gst-plugins-base)
4495 ("wayland" ,wayland)))
4496 (arguments
4497 `(#:disallowed-references (,xorg-server-for-tests)
4498 #:configure-flags (list "--enable-cogl-gst"
4499 "--enable-wayland-egl-platform"
4500 "--enable-wayland-egl-server"
4501
4502 ;; Arrange to pass an absolute file name to
4503 ;; dlopen for libGL.so.
4504 (string-append "--with-gl-libname="
4505 (assoc-ref %build-inputs "mesa")
4506 "/lib/libGL.so"))
4507 #:phases
4508 (modify-phases %standard-phases
4509 (add-before 'check 'start-xorg-server
4510 (lambda* (#:key tests? inputs #:allow-other-keys)
4511 (if tests?
4512 (begin
4513 ;; The test suite requires a running X server.
4514 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
4515 (assoc-ref inputs "xorg-server")))
4516 (setenv "DISPLAY" ":1")
4517 #t)
4518 (format #t "test suite not run~%"))
4519 #t)))))
4520 (home-page "https://www.cogl3d.org")
4521 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4522 (description
4523 "Cogl is a small library for using 3D graphics hardware to draw pretty
4524 pictures. The API departs from the flat state machine style of OpenGL and is
4525 designed to make it easy to write orthogonal components that can render
4526 without stepping on each others toes.")
4527 (license (list license:expat ; most of the code
4528 license:bsd-3 ; cogl/cogl-point-in-poly.c
4529 license:sgifreeb2.0 ; cogl-path/tesselator/
4530 license:asl2.0)))) ; examples/android/
4531
4532 (define-public clutter
4533 (package
4534 (name "clutter")
4535 (version "1.26.2")
4536 (source
4537 (origin
4538 (method url-fetch)
4539 (uri (string-append "mirror://gnome/sources/" name "/"
4540 (version-major+minor version) "/"
4541 name "-" version ".tar.xz"))
4542 (sha256
4543 (base32
4544 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4545 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4546 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4547 (build-system gnu-build-system)
4548 (outputs '("out"
4549 "doc")) ;9 MiB of gtk-doc HTML pages
4550 (native-inputs
4551 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4552 ("gobject-introspection" ,gobject-introspection)
4553 ("pkg-config" ,pkg-config)
4554 ("xsltproc" ,libxslt)))
4555 (propagated-inputs
4556 `(("cogl" ,cogl)
4557 ("cairo" ,cairo)
4558 ("atk" ,atk)
4559 ("gtk+" ,gtk+)
4560 ("json-glib" ,json-glib)
4561 ("glib" ,glib)
4562 ("libxcomposite" ,libxcomposite)
4563 ("libxdamage" ,libxdamage)
4564 ("libxext" ,libxext)
4565 ("xinput" ,xinput)))
4566 (inputs
4567 `(("libxkbcommon" ,libxkbcommon)
4568 ("udev" ,eudev)))
4569 (arguments
4570 `(#:configure-flags (list "--enable-x11-backend=yes"
4571
4572 ;; This produces share/doc/{clutter,cally}.
4573 (string-append "--with-html-dir="
4574 (assoc-ref %outputs "doc")
4575 "/share/doc"))
4576 ;; XXX FIXME: Get test suite working. It would probably fail in the
4577 ;; same way the cogl tests fail, since clutter is based on cogl.
4578 #:tests? #f))
4579 (home-page "http://www.clutter-project.org")
4580 (synopsis "OpenGL-based interactive canvas library")
4581 (description
4582 "Clutter is an OpenGL-based interactive canvas library, designed for
4583 creating fast, mainly 2D single window applications such as media box UIs,
4584 presentations, kiosk style applications and so on.")
4585 (license license:lgpl2.0+)))
4586
4587 (define-public clutter-gtk
4588 (package
4589 (name "clutter-gtk")
4590 (version "1.8.4")
4591 (source
4592 (origin
4593 (method url-fetch)
4594 (uri (string-append "mirror://gnome/sources/" name "/"
4595 (version-major+minor version) "/"
4596 name "-" version ".tar.xz"))
4597 (sha256
4598 (base32
4599 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4600 (build-system gnu-build-system)
4601 (native-inputs
4602 `(("pkg-config" ,pkg-config)
4603 ("gobject-introspection" ,gobject-introspection)))
4604 (propagated-inputs
4605 ;; clutter-gtk.pc refers to all these.
4606 `(("clutter" ,clutter)
4607 ("gtk+" ,gtk+)))
4608 (home-page "http://www.clutter-project.org")
4609 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4610 (description
4611 "Clutter is an OpenGL-based interactive canvas library, designed for
4612 creating fast, mainly 2D single window applications such as media box UIs,
4613 presentations, kiosk style applications and so on.")
4614 (license license:lgpl2.0+)))
4615
4616 (define-public clutter-gst
4617 (package
4618 (name "clutter-gst")
4619 (version "3.0.27")
4620 (source
4621 (origin
4622 (method url-fetch)
4623 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4624 (version-major+minor version) "/"
4625 "clutter-gst-" version ".tar.xz"))
4626 (sha256
4627 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4628 (build-system gnu-build-system)
4629 (native-inputs
4630 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4631 ("pkg-config" ,pkg-config)
4632 ("gobject-introspection" ,gobject-introspection)))
4633 (inputs
4634 `(("clutter" ,clutter)
4635 ("gstreamer" ,gstreamer)
4636 ("gst-plugins-base" ,gst-plugins-base)))
4637 (home-page "http://www.clutter-project.org")
4638 (synopsis "Integration library for using GStreamer with Clutter")
4639 (description
4640 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4641 It provides a GStreamer sink to upload frames to GL and an actor that
4642 implements the ClutterGstPlayer interface using playbin. Clutter is an
4643 OpenGL-based interactive canvas library.")
4644 (license license:lgpl2.0+)))
4645
4646 (define-public libchamplain
4647 (package
4648 (name "libchamplain")
4649 (version "0.12.16")
4650 (source (origin
4651 (method url-fetch)
4652 (uri (string-append
4653 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4654 version ".tar.xz"))
4655 (sha256
4656 (base32
4657 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4658 (build-system gnu-build-system)
4659 (arguments '(#:configure-flags '("--enable-vala")))
4660 (native-inputs
4661 `(("gobject-introspection" ,gobject-introspection)
4662 ("pkg-config" ,pkg-config)
4663 ("vala" ,vala)))
4664 (propagated-inputs
4665 `(("libsoup" ,libsoup)
4666 ("sqlite" ,sqlite)
4667 ("clutter" ,clutter)
4668 ("clutter-gtk" ,clutter-gtk)
4669 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4670 ("cairo" ,cairo)
4671 ("gtk+3" ,gtk+)
4672 ("glib" ,glib)))
4673 (home-page "https://projects.gnome.org/libchamplain/")
4674 (synopsis "C library providing a ClutterActor to display maps")
4675 (description
4676 "libchamplain is a C library providing a ClutterActor to display maps.
4677 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4678 and Perl bindings are also available. It supports numerous free map sources
4679 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4680 (license license:lgpl2.1+)))
4681
4682 (define-public gom
4683 (package
4684 (name "gom")
4685 (version "0.3.2")
4686 (source
4687 (origin
4688 (method url-fetch)
4689 (uri (string-append "mirror://gnome/sources/gom/"
4690 (version-major+minor version) "/"
4691 "gom-" version ".tar.xz"))
4692 (sha256
4693 (base32
4694 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4695 (build-system gnu-build-system)
4696 (native-inputs
4697 `(("intltool" ,intltool)
4698 ("pkg-config" ,pkg-config)
4699 ("gobject-introspection" ,gobject-introspection)))
4700 (inputs
4701 `(("glib" ,glib)
4702 ("gdk-pixbuf" ,gdk-pixbuf)
4703 ("sqlite" ,sqlite)))
4704 ;; XXX TODO: Figure out how to run the test suite.
4705 (arguments `(#:tests? #f))
4706 (home-page "https://wiki.gnome.org/Projects/Gom")
4707 (synopsis "Object mapper from GObjects to SQLite")
4708 (description
4709 "Gom provides an object mapper from GObjects to SQLite. It helps you
4710 write applications that need to store structured data as well as make complex
4711 queries upon that data.")
4712 (license license:lgpl2.1+)))
4713
4714 (define-public libgnome-games-support
4715 (package
4716 (name "libgnome-games-support")
4717 (version "1.4.4")
4718 (source (origin
4719 (method url-fetch)
4720 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4721 (version-major+minor version) "/"
4722 "libgnome-games-support-" version ".tar.xz"))
4723 (sha256
4724 (base32
4725 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4726 (build-system gnu-build-system)
4727 (arguments
4728 '(#:phases
4729 (modify-phases %standard-phases
4730 (add-before 'check 'pre-check
4731 (lambda _
4732 ;; Tests require a writable HOME.
4733 (setenv "HOME" (getcwd))
4734 #t)))))
4735 (native-inputs
4736 `(("intltool" ,intltool)
4737 ("pkg-config" ,pkg-config)
4738 ("vala" ,vala)))
4739 (propagated-inputs
4740 ;; Required by libgnome-games-support-1.0.pc
4741 `(("gtk+" ,gtk+)
4742 ("libgee" ,libgee)))
4743 (home-page "https://www.gnome.org/")
4744 (synopsis "Useful functionality shared among GNOME games")
4745 (description
4746 "libgnome-games-support is a small library intended for internal use by
4747 GNOME Games, but it may be used by others.")
4748 (license license:lgpl3+)))
4749
4750 (define-public gnome-klotski
4751 (package
4752 (name "gnome-klotski")
4753 (version "3.34.0")
4754 (source (origin
4755 (method url-fetch)
4756 (uri (string-append "mirror://gnome/sources/" name "/"
4757 (version-major+minor version) "/"
4758 name "-" version ".tar.xz"))
4759 (sha256
4760 (base32
4761 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
4762 (build-system meson-build-system)
4763 (arguments
4764 '(#:glib-or-gtk? #t
4765 #:phases
4766 (modify-phases %standard-phases
4767 (add-after 'unpack 'skip-gtk-update-icon-cache
4768 ;; Don't create 'icon-theme.cache'.
4769 (lambda _
4770 (substitute* "build-aux/meson_post_install.py"
4771 (("gtk-update-icon-cache") (which "true")))
4772 #t)))))
4773 (native-inputs
4774 `(("desktop-file-utils" ,desktop-file-utils)
4775 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4776 ("intltool" ,intltool)
4777 ("itstool" ,itstool)
4778 ("pkg-config" ,pkg-config)
4779 ("vala" ,vala)
4780 ("xmllint" ,libxml2)))
4781 (inputs
4782 `(("gtk+" ,gtk+)
4783 ("libgnome-games-support" ,libgnome-games-support)
4784 ("librsvg" ,librsvg)))
4785 (home-page "https://wiki.gnome.org/Apps/Klotski")
4786 (synopsis "Sliding block puzzles")
4787 (description
4788 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4789 the patterned block to the area bordered by green markers. To do so, you will
4790 need to slide other blocks out of the way. Complete each puzzle in as few moves
4791 as possible!")
4792 (license license:gpl2+)))
4793
4794 (define-public grilo
4795 (package
4796 (name "grilo")
4797 (version "0.3.10")
4798 (source
4799 (origin
4800 (method url-fetch)
4801 (uri (string-append "mirror://gnome/sources/" name "/"
4802 (version-major+minor version) "/"
4803 name "-" version ".tar.xz"))
4804 (sha256
4805 (base32
4806 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4807 (build-system meson-build-system)
4808 (native-inputs
4809 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4810 ("intltool" ,intltool)
4811 ("pkg-config" ,pkg-config)
4812 ("gobject-introspection" ,gobject-introspection)
4813 ("gtk-doc" ,gtk-doc)
4814 ("vala" ,vala)))
4815 (inputs
4816 `(("cyrus-sasl" ,cyrus-sasl)
4817 ("glib" ,glib)
4818 ("gtk+" ,gtk+)
4819 ("libxml2" ,libxml2)
4820 ("liboauth" ,liboauth)
4821 ("libsoup" ,libsoup)
4822 ("totem-pl-parser" ,totem-pl-parser)))
4823 (native-search-paths
4824 (list (search-path-specification
4825 (variable "GRL_PLUGIN_PATH")
4826 (files (list (string-append "lib/grilo-"
4827 (version-major+minor version)))))))
4828 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4829 (synopsis "Framework for discovering and browsing media")
4830 (description
4831 "Grilo is a framework focused on making media discovery and browsing easy
4832 for application developers.")
4833 (license license:lgpl2.1+)))
4834
4835 (define-public grilo-plugins
4836 (package
4837 (name "grilo-plugins")
4838 (version "0.3.10")
4839 (source
4840 (origin
4841 (method url-fetch)
4842 (uri (string-append "mirror://gnome/sources/" name "/"
4843 (version-major+minor version) "/"
4844 name "-" version ".tar.xz"))
4845 (sha256
4846 (base32
4847 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4848 (build-system meson-build-system)
4849 (native-inputs
4850 `(("gettext" ,gettext-minimal)
4851 ("glib:bin" ,glib "bin")
4852 ("gtk+:bin" ,gtk+ "bin")
4853 ("itstool" ,itstool)
4854 ("pkg-config" ,pkg-config)))
4855 ;; TODO: ahavi, gstreamer
4856 (inputs
4857 `(("grilo" ,grilo)
4858 ;("gmime" ,gmime) ; unused
4859 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4860 ("gom" ,gom)
4861 ;("gssdp" ,gssdp) ; unused
4862 ;("gupnp" ,gupnp) ; unused
4863 ;("gupnp-av" ,gupnp-av) ; unused
4864 ("json-glib" ,json-glib)
4865 ("avahi" ,avahi)
4866 ("libgdata" ,libgdata)
4867 ("libmediaart" ,libmediaart)
4868 ;("librest" ,rest) ; unused
4869 ("libsoup" ,libsoup)
4870 ("totam-pl-parser" ,totem-pl-parser)
4871 ("tracker" ,tracker))) ; unused because it's too old
4872 (arguments
4873 `(#:glib-or-gtk? #t
4874 ;;Disable lua-factory as it needs missing dependencies
4875 #:configure-flags '("-Denable-lua-factory=no")))
4876 (home-page "https://live.gnome.org/Grilo")
4877 (synopsis "Plugins for the Grilo media discovery library")
4878 (description
4879 "Grilo is a framework focused on making media discovery and browsing easy
4880 for application developers. This package provides plugins for common media
4881 discovery protocols.")
4882 (license license:lgpl2.1+)))
4883
4884 (define-public totem
4885 (package
4886 (name "totem")
4887 (version "3.34.1")
4888 (source
4889 (origin
4890 (method url-fetch)
4891 (uri (string-append "mirror://gnome/sources/" name "/"
4892 (version-major+minor version) "/"
4893 name "-" version ".tar.xz"))
4894 (sha256
4895 (base32
4896 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
4897 (build-system meson-build-system)
4898 (native-inputs
4899 `(("pkg-config" ,pkg-config)
4900 ("desktop-file-utils" ,desktop-file-utils)
4901 ("gobject-introspection" ,gobject-introspection)
4902 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4903 ("intltool" ,intltool)
4904 ("itstool" ,itstool)
4905 ("xmllint" ,libxml2)
4906 ("python-pylint" ,python-pylint)
4907 ("xorg-server" ,xorg-server-for-tests)))
4908 (propagated-inputs
4909 `(("dconf" ,dconf)))
4910 (inputs
4911 `(("gtk+" ,gtk+)
4912 ("gdk-pixbuf" ,gdk-pixbuf)
4913 ("atk" ,atk)
4914 ("cairo" ,cairo)
4915 ("dbus-glib" ,dbus-glib)
4916 ("clutter" ,clutter)
4917 ("clutter-gtk" ,clutter-gtk)
4918 ("clutter-gst" ,clutter-gst)
4919 ("xorgproto" ,xorgproto)
4920 ("libxxf86vm" ,libxxf86vm)
4921 ("libxtst" ,libxtst)
4922 ("libxrandr" ,libxrandr)
4923 ("libxml2" ,libxml2)
4924 ("libsoup" ,libsoup)
4925 ("libpeas" ,libpeas)
4926 ("librsvg" ,librsvg)
4927 ("lirc" ,lirc)
4928 ("gnome-desktop" ,gnome-desktop)
4929 ("gstreamer" ,gstreamer)
4930 ("gst-plugins-base" ,gst-plugins-base)
4931 ("gst-plugins-good" ,gst-plugins-good)
4932 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4933 ("adwaita-icon-theme" ,adwaita-icon-theme)
4934 ("python" ,python)
4935 ("python-pygobject" ,python-pygobject)
4936 ("totem-pl-parser" ,totem-pl-parser)
4937 ("grilo" ,grilo)
4938 ("grilo-plugins" ,grilo-plugins)
4939 ("vala" ,vala)))
4940 (arguments
4941 `(#:glib-or-gtk? #t
4942
4943 ;; Disable automatic GStreamer plugin installation via PackageKit and
4944 ;; all that.
4945 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4946
4947 ;; Do not build .a files for the plugins, it's
4948 ;; completely useless. This saves 2 MiB.
4949 "--default-library" "shared")
4950 #:phases
4951 (modify-phases %standard-phases
4952 (add-after 'unpack 'skip-gtk-update-icon-cache
4953 ;; Don't create 'icon-theme.cache'.
4954 (lambda _
4955 (substitute* "meson_post_install.py"
4956 (("gtk-update-icon-cache") "true"))
4957 #t))
4958 (add-before
4959 'install 'disable-cache-generation
4960 (lambda _
4961 (setenv "DESTDIR" "/")
4962 #t))
4963 (add-before
4964 'check 'pre-check
4965 (lambda _
4966 ;; Tests require a running X server.
4967 (system "Xvfb :1 &")
4968 (setenv "DISPLAY" ":1")
4969 #t))
4970 (add-after
4971 'install 'wrap-totem
4972 (lambda* (#:key inputs outputs #:allow-other-keys)
4973 (let ((out (assoc-ref outputs "out"))
4974 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4975 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4976 (wrap-program (string-append out "/bin/totem")
4977 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4978 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4979 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4980 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4981 #t)))))
4982 (home-page "https://wiki.gnome.org/Apps/Videos")
4983 (synopsis "Simple media player for GNOME based on GStreamer")
4984 (description "Totem is a simple yet featureful media player for GNOME
4985 which can read a large number of file formats.")
4986 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4987 ;; to be used and distributed together with GStreamer and Totem. See
4988 ;; file://COPYING in the source distribution for details.
4989 (license license:gpl2+)))
4990
4991 (define-public rhythmbox
4992 (package
4993 (name "rhythmbox")
4994 (version "3.4.4")
4995 (source (origin
4996 (method url-fetch)
4997 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4998 (version-major+minor version) "/"
4999 "rhythmbox-" version ".tar.xz"))
5000 (sha256
5001 (base32
5002 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5003 (build-system glib-or-gtk-build-system)
5004 (arguments
5005 `(#:configure-flags
5006 (list "--enable-lirc"
5007 "--enable-python"
5008 "--enable-vala"
5009 "--with-brasero"
5010 "--with-gudev"
5011 "--with-libsecret")
5012 #:phases
5013 (modify-phases %standard-phases
5014 (add-after
5015 'install 'wrap-rhythmbox
5016 (lambda* (#:key inputs outputs #:allow-other-keys)
5017 (let ((out (assoc-ref outputs "out"))
5018 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5019 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5020 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5021 (python-path (getenv "PYTHONPATH")))
5022 (wrap-program (string-append out "/bin/rhythmbox")
5023 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5024 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5025 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5026 `("PYTHONPATH" ":" prefix (,python-path))))
5027 #t)))))
5028 (propagated-inputs
5029 `(("dconf" ,dconf)))
5030 (native-inputs
5031 `(("itstool" ,itstool)
5032 ("intltool" ,intltool)
5033 ("glib" ,glib "bin")
5034 ("gobject-introspection" ,gobject-introspection)
5035 ("desktop-file-utils" ,desktop-file-utils)
5036 ("pkg-config" ,pkg-config)
5037 ("xmllint" ,libxml2)))
5038 (inputs
5039 `(("json-glib" ,json-glib)
5040 ("tdb" ,tdb)
5041 ("gnome-desktop" ,gnome-desktop)
5042 ("python" ,python)
5043 ("python-pygobject" ,python2-pygobject)
5044 ("vala" ,vala)
5045 ("gmime" ,gmime)
5046 ("adwaita-icon-theme" ,adwaita-icon-theme)
5047 ("grilo" ,grilo)
5048 ("grilo-plugins" ,grilo-plugins)
5049 ("gstreamer" ,gstreamer)
5050 ("gst-plugins-base" ,gst-plugins-base)
5051 ("gst-plugins-good" ,gst-plugins-good)
5052 ("totem-pl-parser" ,totem-pl-parser)
5053 ("libgudev" ,libgudev)
5054 ;;("libmtp" ,libmtp) FIXME: Not detected
5055 ("libsecret" ,libsecret)
5056 ("libsoup" ,libsoup)
5057 ("libnotify" ,libnotify)
5058 ("libpeas" ,libpeas)
5059 ("lirc" ,lirc)
5060 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5061 ;;("clutter" ,clutter)
5062 ;;("clutter-gtk" ,clutter-gtk)
5063 ;;("clutter-gst" ,clutter-gst)
5064 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5065 ("atk" ,atk)
5066 ("pango" ,pango)
5067 ("gtk+" ,gtk+)
5068 ;; TODO:
5069 ;; * libgpod
5070 ;; * mx
5071 ("brasero" ,brasero)))
5072 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5073 (synopsis "Music player for GNOME")
5074 (description "Rhythmbox is a music playing application for GNOME. It
5075 supports playlists, song ratings, and any codecs installed through gstreamer.")
5076 (license license:gpl2+)))
5077
5078 (define-public eog
5079 (package
5080 (name "eog")
5081 (version "3.34.1")
5082 (source (origin
5083 (method url-fetch)
5084 (uri (string-append "mirror://gnome/sources/" name "/"
5085 (version-major+minor version) "/"
5086 name "-" version ".tar.xz"))
5087 (sha256
5088 (base32
5089 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5090 (build-system meson-build-system)
5091 (arguments
5092 `(#:configure-flags
5093 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5094 (list (string-append "-Dc_link_args=-Wl,-rpath="
5095 (assoc-ref %outputs "out") "/lib/eog"))
5096 #:phases
5097 (modify-phases %standard-phases
5098 (add-after 'unpack 'skip-gtk-update-icon-cache
5099 ;; Don't create 'icon-theme.cache'.
5100 (lambda _
5101 (substitute* "meson_post_install.py"
5102 (("gtk-update-icon-cache") "true"))
5103 #t))
5104 (add-after 'install 'wrap-eog
5105 (lambda* (#:key outputs #:allow-other-keys)
5106 (let ((out (assoc-ref outputs "out"))
5107 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5108 (wrap-program (string-append out "/bin/eog")
5109 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5110 #t)))))
5111 (propagated-inputs
5112 `(("dconf" ,dconf)))
5113 (native-inputs
5114 `(("intltool" ,intltool)
5115 ("itstool" ,itstool)
5116 ("glib" ,glib "bin")
5117 ("gobject-introspection" ,gobject-introspection)
5118 ("pkg-config" ,pkg-config)
5119 ("xmllint" ,libxml2)))
5120 (inputs
5121 `(("gnome-desktop" ,gnome-desktop)
5122 ("shared-mime-info" ,shared-mime-info)
5123 ("adwaita-icon-theme" ,adwaita-icon-theme)
5124 ("exempi" ,exempi)
5125 ("lcms" ,lcms)
5126 ("libexif" ,libexif)
5127 ("libpeas" ,libpeas)
5128 ("libjpeg" ,libjpeg-turbo)
5129 ("librsvg" ,librsvg-next)
5130 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5131 ("gtk+" ,gtk+)))
5132 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5133 (synopsis "GNOME image viewer")
5134 (description "Eye of GNOME is the GNOME image viewer. It
5135 supports image conversion, rotation, and slideshows.")
5136 (license license:gpl2+)))
5137
5138 (define-public eog-plugins
5139 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5140 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5141 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5142 ;; 'XDG_DATA_DIRS' appropriately set.
5143 (package
5144 (name "eog-plugins")
5145 (version "3.26.4")
5146 (source (origin
5147 (method url-fetch)
5148 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5149 (version-major+minor version) "/"
5150 "eog-plugins-" version ".tar.xz"))
5151 (sha256
5152 (base32
5153 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5154 (build-system gnu-build-system)
5155 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5156 (synopsis "Extensions for the Eye of GNOME image viewer")
5157 (native-inputs
5158 `(("pkg-config" ,pkg-config)
5159 ("gettext" ,gettext-minimal)))
5160 (inputs
5161 `(("eog" ,eog)
5162 ("glib" ,glib)
5163 ("gtk+" ,gtk+)
5164 ("libpeas" ,libpeas)
5165 ("libexif" ,libexif)
5166 ("libchamplain" ,libchamplain)))
5167 (description
5168 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5169 notably:
5170
5171 @itemize
5172 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5173 @item @dfn{Map}, which displays a map of where the picture was taken on the
5174 side panel;
5175 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5176 @end itemize\n")
5177
5178 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5179 ;; long suspicious byte stream that goes to a
5180 ;; ".gresource.eog_postasa_plugin" ELF section.
5181 (license license:gpl2+)))
5182
5183 (define-public libgudev
5184 (package
5185 (name "libgudev")
5186 (version "232")
5187 (source (origin
5188 (method url-fetch)
5189 (uri (string-append "mirror://gnome/sources/" name "/"
5190 version "/" name "-" version ".tar.xz"))
5191 (sha256
5192 (base32
5193 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5194 (build-system gnu-build-system)
5195 (arguments
5196 '(#:configure-flags
5197 ;; umockdev depends on libgudev.
5198 (list "--disable-umockdev")))
5199 (native-inputs
5200 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5201 ("gobject-introspection" ,gobject-introspection)
5202 ("pkg-config" ,pkg-config)))
5203 (propagated-inputs
5204 `(("glib" ,glib))) ; required by gudev-1.0.pc
5205 (inputs
5206 `(("udev" ,eudev)))
5207 (home-page "https://wiki.gnome.org/Projects/libgudev")
5208 (synopsis "GObject bindings for libudev")
5209 (description
5210 "This library provides GObject bindings for libudev. It was originally
5211 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5212 (license license:lgpl2.1+)))
5213
5214 (define-public gvfs
5215 (package
5216 (name "gvfs")
5217 (version "1.40.1")
5218 (source (origin
5219 (method url-fetch)
5220 (uri (string-append "mirror://gnome/sources/gvfs/"
5221 (version-major+minor version) "/"
5222 "gvfs-" version ".tar.xz"))
5223 (sha256
5224 (base32
5225 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5226 (build-system meson-build-system)
5227 (arguments
5228 '(#:glib-or-gtk? #t
5229 #:configure-flags
5230 (list "-Dsystemduserunitdir=no"
5231 "-Dtmpfilesdir=no"
5232 ;; Otherwise, the RUNPATH will lack the final path component.
5233 (string-append "-Dc_link_args=-Wl,-rpath="
5234 (assoc-ref %outputs "out") "/lib/gvfs"))))
5235 (native-inputs
5236 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5237 ("gettext" ,gettext-minimal)
5238 ("gtk-doc" ,gtk-doc)
5239 ("pkg-config" ,pkg-config)
5240 ("xsltproc" ,libxslt)))
5241 (inputs
5242 `(("avahi" ,avahi)
5243 ("docbook-xml" ,docbook-xml-4.2)
5244 ("docbook-xsl" ,docbook-xsl)
5245 ("dbus" ,dbus)
5246 ("elogind" ,elogind)
5247 ("fuse" ,fuse)
5248 ("gcr" ,gcr)
5249 ("glib" ,glib)
5250 ("gnome-online-accounts" ,gnome-online-accounts)
5251 ("libarchive" ,libarchive)
5252 ("libbluray" ,libbluray)
5253 ("libcap" ,libcap)
5254 ("libcdio-paranoia" ,libcdio-paranoia)
5255 ("libgcrypt" ,libgcrypt)
5256 ("libgdata" ,libgdata)
5257 ("libgphoto2" ,libgphoto2)
5258 ("libgudev" ,libgudev)
5259 ("libimobiledevice" ,libimobiledevice)
5260 ("libmtp" ,libmtp)
5261 ("libnfs" ,libnfs)
5262 ("libsecret" ,libsecret)
5263 ("libsmbclient" ,samba)
5264 ("libsoup" ,libsoup)
5265 ("libxml2" ,libxml2)
5266 ("openssh" ,openssh)
5267 ("polkit" ,polkit)
5268 ("udisks" ,udisks)))
5269 (home-page "https://wiki.gnome.org/gvfs/")
5270 (synopsis "Userspace virtual file system for GIO")
5271 (description
5272 "GVFS is a userspace virtual file system designed to work with the I/O
5273 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5274 to all applications using the GIO API. It also supports exposing the GVFS
5275 mounts to non-GIO applications using FUSE.
5276
5277 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5278 DAV, and others.")
5279 (license license:lgpl2.0+)))
5280
5281 (define-public gusb
5282 (package
5283 (name "gusb")
5284 (version "0.3.0")
5285 (source (origin
5286 (method git-fetch)
5287 (uri (git-reference
5288 (url "https://github.com/hughsie/libgusb.git")
5289 (commit version)))
5290 (file-name (git-file-name name version))
5291 (sha256
5292 (base32
5293 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5294 (build-system meson-build-system)
5295 (native-inputs
5296 `(("gobject-introspection" ,gobject-introspection)
5297 ("pkg-config" ,pkg-config)
5298 ("vala" ,vala)
5299 ("gtk-doc" ,gtk-doc)))
5300 (propagated-inputs
5301 ;; Both of these are required by gusb.pc.
5302 `(("glib" ,glib)
5303 ("libusb" ,libusb)))
5304 (arguments
5305 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5306 (home-page "https://github.com/hughsie/libgusb")
5307 (synopsis "GLib binding for libusb1")
5308 (description
5309 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5310 asynchronous control, bulk and interrupt transfers with proper cancellation
5311 and integration into a mainloop. This makes it easy to integrate low level
5312 USB transfers with your high-level application or system daemon.")
5313 (license license:lgpl2.1+)))
5314
5315 (define-public simple-scan
5316 (package
5317 (name "simple-scan")
5318 (version "3.36.2.1")
5319 (source
5320 (origin
5321 (method url-fetch)
5322 (uri (string-append "mirror://gnome/sources/simple-scan/"
5323 (version-major+minor version) "/"
5324 "simple-scan-" version ".tar.xz"))
5325 (sha256
5326 (base32 "0aq1pf0wk536b91as54684xgmhl7lps0k2xcwha5wh6h1isyb35v"))))
5327 (build-system meson-build-system)
5328 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5329 (arguments
5330 '(#:glib-or-gtk? #t))
5331 (inputs
5332 `(("gtk" ,gtk+)
5333 ("zlib" ,zlib)
5334 ("cairo" ,cairo)
5335 ("colord" ,colord)
5336 ("gdk-pixbuf" ,gdk-pixbuf)
5337 ("gusb" ,gusb)
5338 ("libsane" ,sane-backends)))
5339 (native-inputs
5340 `(("gettext" ,gettext-minimal)
5341 ("itstool" ,itstool)
5342 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5343 ("pkg-config" ,pkg-config)
5344 ("vala" ,vala)
5345 ("xmllint" ,libxml2)))
5346 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5347 (synopsis "Document and image scanner")
5348 (description
5349 "Document Scanner is an easy-to-use application that lets you connect your
5350 scanner and quickly capture images and documents in an appropriate format. It
5351 supports any scanner for which a suitable SANE driver is available, which is
5352 almost all of them.")
5353 (license license:gpl3+)))
5354
5355 (define-public eolie
5356 (package
5357 (name "eolie")
5358 (version "0.9.98.1")
5359 (source (origin
5360 (method url-fetch)
5361 (uri (string-append "https://adishatz.org/eolie/eolie-"
5362 version ".tar.xz"))
5363 (sha256
5364 (base32
5365 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5366 (build-system meson-build-system)
5367 (arguments
5368 `(#:glib-or-gtk? #t
5369 #:phases
5370 (modify-phases %standard-phases
5371 (add-after 'unpack 'skip-gtk-update-icon-cache
5372 ;; Don't create 'icon-theme.cache'.
5373 (lambda _
5374 (substitute* "meson_post_install.py"
5375 (("gtk-update-icon-cache") "true"))
5376 #t))
5377 (add-after 'wrap 'wrap-more
5378 (lambda* (#:key inputs outputs #:allow-other-keys)
5379 (let* ((out (assoc-ref outputs "out"))
5380 ;; These libraries must be on LD_LIBRARY_PATH.
5381 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5382 "atk" "gtk+" "gsettings-desktop-schemas"
5383 "gobject-introspection"))
5384 (path (string-join
5385 (map (lambda (lib)
5386 (string-append (assoc-ref inputs lib) "/lib"))
5387 libs)
5388 ":")))
5389 (wrap-program (string-append out "/bin/eolie")
5390 `("LD_LIBRARY_PATH" ":" prefix (,path))
5391 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5392 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5393 #t)))))
5394 (native-inputs
5395 `(("intltool" ,intltool)
5396 ("itstool" ,itstool)
5397 ("pkg-config" ,pkg-config)
5398 ("python" ,python)
5399 ("glib:bin" ,glib "bin")))
5400 (inputs
5401 `(("gobject-introspection" ,gobject-introspection)
5402 ("glib-networking" ,glib-networking)
5403 ("cairo" ,cairo)
5404 ("gtk+" ,gtk+)
5405 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5406 ("python" ,python-wrapper)
5407 ("python-dateutil" ,python-dateutil)
5408 ("python-pyfxa" ,python-pyfxa)
5409 ("python-pygobject" ,python-pygobject)
5410 ("python-pycairo" ,python-pycairo)
5411 ("python-pycrypto" ,python-pycrypto)
5412 ("libsecret" ,libsecret)
5413 ("gtkspell3" ,gtkspell3)
5414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5415 ("webkitgtk" ,webkitgtk)))
5416 (home-page "https://wiki.gnome.org/Apps/Eolie")
5417 (synopsis "Web browser for GNOME")
5418 (description
5419 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5420 a secret password store, an adblocker, and a modern UI.")
5421 (license license:gpl3+)))
5422
5423 (define-public epiphany
5424 (package
5425 (name "epiphany")
5426 (version "3.34.4")
5427 (source (origin
5428 (method url-fetch)
5429 (uri (string-append "mirror://gnome/sources/epiphany/"
5430 (version-major+minor version) "/"
5431 "epiphany-" version ".tar.xz"))
5432 (sha256
5433 (base32
5434 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5435
5436 (build-system meson-build-system)
5437 (arguments
5438 '(#:glib-or-gtk? #t
5439 #:phases
5440 (modify-phases %standard-phases
5441 (add-after 'unpack 'skip-gtk-update-icon-cache
5442 ;; Don't create 'icon-theme.cache'.
5443 (lambda _
5444 (substitute* "post_install.py"
5445 (("gtk-update-icon-cache") "true"))
5446 #t))
5447 (add-after 'unpack 'disable-failing-tests
5448 (lambda _
5449 (substitute* "tests/meson.build"
5450 ;; embed_shell fails, because webkitgtk apparently no longer supports
5451 ;; overriding the ftp schema
5452 ;; web_app_utils fails due to missing network access
5453 (("(embed_shell|web_app_utils)_test,")
5454 "find_program('sh'), args: ['-c', 'exit 77'],"))
5455 #t))
5456 (add-before 'check 'pre-check
5457 (lambda _
5458 ;; Tests require a running X server.
5459 (system "Xvfb :1 &")
5460 (setenv "DISPLAY" ":1")
5461 #t)))
5462 #:configure-flags
5463 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5464 (list (string-append "-Dc_link_args=-Wl,-rpath="
5465 (assoc-ref %outputs "out") "/lib/epiphany"))))
5466 (propagated-inputs
5467 `(("dconf" ,dconf)))
5468 (native-inputs
5469 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5470 ("glib:bin" ,glib "bin") ; for glib-mkenums
5471 ("intltool" ,intltool)
5472 ("itstool" ,itstool)
5473 ("pkg-config" ,pkg-config)
5474 ("xmllint" ,libxml2)
5475 ("xorg-server" ,xorg-server-for-tests)))
5476 (inputs
5477 `(("avahi" ,avahi)
5478 ("gcr" ,gcr)
5479 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5480 ("glib-networking" ,glib-networking)
5481 ("gnome-desktop" ,gnome-desktop)
5482 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5483 ("json-glib" ,json-glib)
5484 ("iso-codes" ,iso-codes)
5485 ("libdazzle" ,libdazzle)
5486 ("libnotify" ,libnotify)
5487 ("libsecret" ,libsecret)
5488 ("libxslt" ,libxslt)
5489 ("nettle" ,nettle) ; for hogweed
5490 ("sqlite" ,sqlite)
5491 ("webkitgtk" ,webkitgtk)))
5492 (home-page "https://wiki.gnome.org/Apps/Web")
5493 (synopsis "GNOME web browser")
5494 (description
5495 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5496 principles are simplicity and standards compliance.")
5497 (license license:gpl2+)))
5498
5499 (define-public d-feet
5500 (package
5501 (name "d-feet")
5502 (version "0.3.14")
5503 (source (origin
5504 (method url-fetch)
5505 (uri (string-append "mirror://gnome/sources/" name "/"
5506 (version-major+minor version) "/"
5507 name "-" version ".tar.xz"))
5508 (sha256
5509 (base32
5510 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5511 (build-system glib-or-gtk-build-system)
5512 (arguments
5513 '(#:out-of-source? #f ; tests need to run in the source directory.
5514 #:phases
5515 (modify-phases %standard-phases
5516 (add-before
5517 'check 'pre-check
5518 (lambda _
5519 ;; The test suite requires a running X server.
5520 (system "Xvfb :1 &")
5521 (setenv "DISPLAY" ":1")
5522 ;; Don't fail on missing '/etc/machine-id'.
5523 (setenv "DBUS_FATAL_WARNINGS" "0")
5524 ;; tests.py and window.py don't meet E402:
5525 ;; E402 module level import not at top of file
5526 (substitute* "src/tests/Makefile"
5527 (("--ignore=E123") "--ignore=E123,E402"))
5528 #t))
5529 (add-after
5530 'install 'wrap-program
5531 (lambda* (#:key outputs #:allow-other-keys)
5532 (let ((prog (string-append (assoc-ref outputs "out")
5533 "/bin/d-feet")))
5534 (wrap-program prog
5535 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5536 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5537 #t))))))
5538 (native-inputs
5539 `(("intltool" ,intltool)
5540 ("itstool" ,itstool)
5541 ("pkg-config" ,pkg-config)
5542 ("python-pep8" ,python-pep8)
5543 ("xmllint" ,libxml2)
5544 ("xorg-server" ,xorg-server-for-tests)))
5545 (inputs
5546 `(("gobject-introspection" ,gobject-introspection)
5547 ("gtk+" ,gtk+)
5548 ("python" ,python-wrapper)
5549 ("hicolor-icon-theme" ,hicolor-icon-theme)
5550 ("python-pygobject" ,python-pygobject)))
5551 (home-page "https://wiki.gnome.org/Apps/DFeet")
5552 (synopsis "D-Bus debugger")
5553 (description
5554 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5555 of running programs and invoke methods on those interfaces.")
5556 (license license:gpl2+)))
5557
5558 (define-public yelp-xsl
5559 (package
5560 (name "yelp-xsl")
5561 (version "3.34.2")
5562 (source (origin
5563 (method url-fetch)
5564 (uri (string-append "mirror://gnome/sources/" name "/"
5565 (version-major+minor version) "/"
5566 name "-" version ".tar.xz"))
5567 (sha256
5568 (base32
5569 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5570 (build-system gnu-build-system)
5571 (native-inputs
5572 `(("gettext-minimal" ,gettext-minimal)
5573 ("itstool" ,itstool)
5574 ("xmllint" ,libxml2)))
5575 (home-page "https://wiki.gnome.org/Apps/Yelp")
5576 (synopsis "XSL stylesheets for Yelp")
5577 (description
5578 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5579 to format Docbook and Mallard documents.")
5580 (license license:gpl2+)))
5581
5582 (define-public yelp
5583 (package
5584 (name "yelp")
5585 (version "3.32.2")
5586 (source (origin
5587 (method url-fetch)
5588 (uri (string-append "mirror://gnome/sources/" name "/"
5589 (version-major+minor version) "/"
5590 name "-" version ".tar.xz"))
5591 (sha256
5592 (base32
5593 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5594 (build-system glib-or-gtk-build-system)
5595 (native-inputs
5596 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5597 ("intltool" ,intltool)
5598 ("itstool" ,itstool)
5599 ("pkg-config" ,pkg-config)))
5600 (propagated-inputs
5601 `(("dconf" ,dconf)))
5602 (inputs
5603 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5604 ("libxslt" ,libxslt)
5605 ("sqlite" ,sqlite)
5606 ("webkitgtk" ,webkitgtk)
5607 ("yelp-xsl" ,yelp-xsl)))
5608 (home-page "https://wiki.gnome.org/Apps/Yelp")
5609 (synopsis "GNOME help browser")
5610 (description
5611 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5612 man, info, and HTML documents. It can locate documents according to the
5613 freedesktop.org help system specification.")
5614 (license license:gpl2+)))
5615
5616 (define-public yelp-tools
5617 (package
5618 (name "yelp-tools")
5619 (version "3.32.2")
5620 (source (origin
5621 (method url-fetch)
5622 (uri (string-append "mirror://gnome/sources/" name "/"
5623 (version-major+minor version) "/"
5624 name "-" version ".tar.xz"))
5625 (sha256
5626 (base32
5627 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5628 (build-system gnu-build-system)
5629 (native-inputs
5630 `(("pkg-config" ,pkg-config)))
5631 (propagated-inputs
5632 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5633 `(("itstool" ,itstool)
5634 ("xmllint" ,libxml2)
5635 ("xsltproc" ,libxslt)))
5636 (inputs
5637 `(("yelp-xsl" ,yelp-xsl)))
5638 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5639 (synopsis "Yelp documentation tools")
5640 (description
5641 "Yelp-tools is a collection of scripts and build utilities to help create,
5642 manage, and publish documentation for Yelp and the web. Most of the heavy
5643 lifting is done by packages like yelp-xsl and itstool. This package just
5644 wraps things up in a developer-friendly way.")
5645 (license license:gpl2+)))
5646
5647 (define-public libgee
5648 (package
5649 (name "libgee")
5650 (version "0.20.3")
5651 (source (origin
5652 (method url-fetch)
5653 (uri (string-append "mirror://gnome/sources/libgee/"
5654 (version-major+minor version) "/"
5655 "libgee-" version ".tar.xz"))
5656 (sha256
5657 (base32
5658 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5659 (build-system gnu-build-system)
5660 (arguments
5661 `(#:phases
5662 (modify-phases %standard-phases
5663 (add-after 'unpack 'fix-introspection-install-dir
5664 (lambda* (#:key outputs #:allow-other-keys)
5665 (let ((out (assoc-ref outputs "out")))
5666 (substitute* "gee/Makefile.in"
5667 (("@INTROSPECTION_GIRDIR@")
5668 (string-append out "/share/gir-1.0/"))
5669 (("@INTROSPECTION_TYPELIBDIR@")
5670 (string-append out "/lib/girepository-1.0/")))))))))
5671 (native-inputs
5672 `(("glib" ,glib "bin")
5673 ("pkg-config" ,pkg-config)))
5674 (inputs
5675 `(("glib" ,glib)
5676 ("gobject-introspection" ,gobject-introspection)))
5677 (home-page "https://wiki.gnome.org/Projects/Libgee")
5678 (synopsis "GObject collection library")
5679 (description
5680 "Libgee is a utility library providing GObject-based interfaces and
5681 classes for commonly used data structures.")
5682 (license license:lgpl2.1+)))
5683
5684 (define-public gexiv2
5685 (package
5686 (name "gexiv2")
5687 (version "0.12.0")
5688 (source (origin
5689 (method url-fetch)
5690 (uri (string-append "mirror://gnome/sources/" name "/"
5691 (version-major+minor version) "/"
5692 name "-" version ".tar.xz"))
5693 (sha256
5694 (base32
5695 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5696 (build-system meson-build-system)
5697 (native-inputs
5698 `(("gcr" ,gcr)
5699 ("glib" ,glib "bin")
5700 ("pkg-config" ,pkg-config)
5701 ("vala" ,vala)))
5702 (propagated-inputs
5703 ;; Listed in "Requires" section of gexiv2.pc
5704 `(("exiv2" ,exiv2)))
5705 (inputs
5706 `(("glib" ,glib)
5707 ("gobject-introspection" ,gobject-introspection)))
5708 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5709 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5710 (description
5711 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5712 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5713 metadata in photo and video files of various formats.")
5714 (license license:gpl2+)))
5715
5716 (define-public shotwell
5717 (package
5718 (name "shotwell")
5719 (version "0.30.9")
5720 (source (origin
5721 (method url-fetch)
5722 (uri (string-append "mirror://gnome/sources/shotwell/"
5723 (version-major+minor version) "/"
5724 "shotwell-" version ".tar.xz"))
5725 (sha256
5726 (base32
5727 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
5728 (build-system meson-build-system)
5729 (arguments
5730 '(#:glib-or-gtk? #t
5731 #:phases
5732 (modify-phases %standard-phases
5733 (add-after 'unpack 'skip-gtk-update-icon-cache
5734 (lambda _
5735 (substitute* "build-aux/meson/postinstall.py"
5736 (("gtk-update-icon-cache") (which "true"))
5737 (("update-desktop-database") (which "true")))
5738 #t)))))
5739 (propagated-inputs
5740 `(("dconf" ,dconf)))
5741 (native-inputs
5742 `(("gettext" ,gettext-minimal)
5743 ("glib:bin" ,glib "bin")
5744 ("itstool" ,itstool)
5745 ("pkg-config" ,pkg-config)
5746 ("vala" ,vala)))
5747 (inputs
5748 `(("gcr" ,gcr)
5749 ("gexiv2" ,gexiv2)
5750 ("gst-plugins-base" ,gst-plugins-base)
5751 ("gstreamer" ,gstreamer)
5752 ("json-glib" ,json-glib)
5753 ("libgdata" ,libgdata)
5754 ("libgee" ,libgee)
5755 ("libgphoto2" ,libgphoto2)
5756 ("libgudev" ,libgudev)
5757 ("libraw" ,libraw)
5758 ("libsoup" ,libsoup)
5759 ("libxml2" ,libxml2)
5760 ("sqlite" ,sqlite)
5761 ("webkitgtk" ,webkitgtk)))
5762 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5763 (synopsis "Photo manager for GNOME 3")
5764 (description
5765 "Shotwell is a digital photo manager designed for the GNOME desktop
5766 environment. It allows you to import photos from disk or camera, organize
5767 them by keywords and events, view them in full-window or fullscreen mode, and
5768 share them with others via social networking and more.")
5769 (license license:lgpl2.1+)))
5770
5771 (define-public file-roller
5772 (package
5773 (name "file-roller")
5774 (version "3.32.3")
5775 (source (origin
5776 (method url-fetch)
5777 (uri (string-append "mirror://gnome/sources/file-roller/"
5778 (version-major+minor version) "/"
5779 "file-roller-" version ".tar.xz"))
5780 (sha256
5781 (base32
5782 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5783 (build-system meson-build-system)
5784 (native-inputs
5785 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5786 ("intltool" ,intltool)
5787 ("itstool" ,itstool)
5788 ("pkg-config" ,pkg-config)
5789 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5790 ("glib:bin" ,glib "bin")))
5791 ;; TODO: Add libnautilus.
5792 (inputs
5793 `(("gtk+" ,gtk+)
5794 ("gdk-pixbuf" ,gdk-pixbuf)
5795 ("json-glib" ,json-glib)
5796 ("libarchive" ,libarchive)
5797 ("libnotify" ,libnotify)
5798 ("nettle" ,nettle)
5799 ("libxml2" ,libxml2)))
5800 (synopsis "Graphical archive manager for GNOME")
5801 (description "File Roller is an archive manager for the GNOME desktop
5802 environment that allows users to view, unpack, and create compressed archives
5803 such as gzip tarballs.")
5804 (home-page "http://fileroller.sourceforge.net/")
5805 (license license:gpl2+)))
5806
5807 (define-public gnome-session
5808 (package
5809 (name "gnome-session")
5810 (version "3.34.2")
5811 (source (origin
5812 (method url-fetch)
5813 (uri (string-append "mirror://gnome/sources/" name "/"
5814 (version-major+minor version) "/"
5815 name "-" version ".tar.xz"))
5816 (sha256
5817 (base32
5818 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5819 (arguments
5820 '(#:glib-or-gtk? #t
5821 #:phases
5822 (modify-phases %standard-phases
5823 (add-before 'configure 'pre-configure
5824 (lambda* (#:key outputs #:allow-other-keys)
5825 ;; Use elogind instead of systemd.
5826 (substitute* "meson.build"
5827 (("libsystemd-login") "libelogind")
5828 (("and libsystemd_daemon_dep.found.*") ","))
5829 (substitute* "gnome-session/gsm-systemd.c"
5830 (("#include <systemd/sd-login.h>")
5831 "#include <elogind/sd-login.h>"))
5832 ;; Remove uses of the systemd daemon.
5833 (substitute* "gnome-session/gsm-autostart-app.c"
5834 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5835 #t))
5836 (add-after 'install 'wrap-gnome-session
5837 (lambda* (#:key inputs outputs #:allow-other-keys)
5838 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5839 (let ((glib (assoc-ref inputs "glib:bin"))
5840 (out (assoc-ref outputs "out")))
5841 (wrap-program (string-append out "/bin/gnome-session")
5842 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5843 #t))))
5844
5845 #:configure-flags
5846 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5847 "-Dman=false" ; FIXME: disabled because of docbook validation error
5848 "-Dsystemd_journal=false")))
5849 (build-system meson-build-system)
5850 (native-inputs
5851 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5852 ("pkg-config" ,pkg-config)
5853 ("intltool" ,intltool)
5854 ("xsltproc" ,libxslt)
5855 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5856 ("docbook-xsl" ,docbook-xsl)
5857 ("docbook-xml" ,docbook-xml)
5858 ("xmlto" ,xmlto)))
5859 (inputs
5860 `(("elogind" ,elogind)
5861 ("gnome-desktop" ,gnome-desktop)
5862 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5863 ("gtk+" ,gtk+)
5864 ("json-glib" ,json-glib)
5865 ("libsm" ,libsm)
5866 ("libxcomposite" ,libxcomposite)
5867 ("libxtst" ,libxtst)
5868 ("mesa" ,mesa)
5869 ("upower" ,upower)
5870 ("xtrans" ,xtrans)))
5871 (synopsis "Session manager for GNOME")
5872 (description
5873 "This package contains the GNOME session manager, as well as a
5874 configuration program to choose applications starting on login.")
5875 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5876 (license license:gpl2+)))
5877
5878 (define-public gjs
5879 (package
5880 (name "gjs")
5881 (version "1.58.3")
5882 (source (origin
5883 (method url-fetch)
5884 (uri (string-append "mirror://gnome/sources/" name "/"
5885 (version-major+minor version) "/"
5886 name "-" version ".tar.xz"))
5887 (sha256
5888 (base32
5889 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
5890 (build-system gnu-build-system)
5891 (arguments
5892 '(#:phases
5893 (modify-phases %standard-phases
5894 (add-before
5895 'check 'pre-check
5896 (lambda _
5897 ;; The test suite requires a running X server.
5898 (system "Xvfb :1 &")
5899 (setenv "DISPLAY" ":1")
5900
5901 ;; For the missing /etc/machine-id.
5902 (setenv "DBUS_FATAL_WARNINGS" "0")
5903
5904 ;; Our mozjs-38 package does not compile the required Intl API
5905 ;; support for these failing tests.
5906 (substitute* "installed-tests/js/testLocale.js"
5907 ((".*toBeDefined.*") "")
5908 ((".*expect\\(datestr\\).*") ""))
5909 (substitute* "installed-tests/scripts/testCommandLine.sh"
5910 (("Valentín") "")
5911 (("☭") ""))
5912 #t)))))
5913 (native-inputs
5914 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5915 ("pkg-config" ,pkg-config)
5916 ("xmllint" ,libxml2)
5917 ;; For testing
5918 ("dbus-launch" ,dbus)
5919 ("dconf" ,dconf) ; required to properly store settings
5920 ("uuidgen" ,util-linux)
5921 ("xvfb" ,xorg-server-for-tests)))
5922 (propagated-inputs
5923 ;; These are all in the Requires.private field of gjs-1.0.pc.
5924 `(("cairo" ,cairo)
5925 ("gobject-introspection" ,gobject-introspection)
5926 ("mozjs" ,mozjs-60)))
5927 (inputs
5928 `(("gtk+" ,gtk+)
5929 ("readline" ,readline)))
5930 (synopsis "Javascript bindings for GNOME")
5931 (home-page "https://live.gnome.org/Gjs")
5932 (description
5933 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5934 javascript engine and the GObject introspection framework.")
5935 (license license:gpl2+)))
5936
5937 (define-public gedit
5938 (package
5939 (name "gedit")
5940 (version "3.34.1")
5941 (source (origin
5942 (method url-fetch)
5943 (uri (string-append "mirror://gnome/sources/" name "/"
5944 (version-major+minor version) "/"
5945 name "-" version ".tar.xz"))
5946 (sha256
5947 (base32
5948 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
5949 (build-system meson-build-system)
5950 (arguments
5951 `(#:glib-or-gtk? #t
5952 #:configure-flags
5953 ;; Otherwise, the RUNPATH will lack the final path component.
5954 (list (string-append "-Dc_link_args=-Wl,-rpath="
5955 (assoc-ref %outputs "out") "/lib/gedit"))
5956
5957 ;; XXX: Generated .h files are sometimes used before being built.
5958 #:parallel-build? #f
5959
5960 #:phases
5961 (modify-phases %standard-phases
5962 (add-after 'unpack 'skip-gtk-update-icon-cache
5963 ;; Don't create 'icon-theme.cache'.
5964 (lambda _
5965 (substitute* "build-aux/meson/post_install.py"
5966 (("gtk-update-icon-cache") (which "true")))
5967 #t))
5968 (add-after 'unpack 'patch-libgd-fetch
5969 (lambda* (#:key inputs #:allow-other-keys)
5970 (let ((libgd (assoc-ref inputs "libgd")))
5971 ;; Calling git is unnecessary because libgd is fetched as a
5972 ;; native input to this package.
5973 (substitute* "meson.build"
5974 ((".*git.*") ""))
5975 (copy-recursively libgd "subprojects/libgd")
5976 #t)))
5977 (add-after 'install 'wrap-gedit
5978 (lambda* (#:key inputs outputs #:allow-other-keys)
5979 (let ((out (assoc-ref outputs "out"))
5980 (gtksourceview (assoc-ref inputs "gtksourceview"))
5981 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5982 (python-path (getenv "PYTHONPATH")))
5983 (wrap-program (string-append out "/bin/gedit")
5984 ;; For plugins.
5985 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5986 `("PYTHONPATH" ":" prefix (,python-path))
5987 ;; For language-specs.
5988 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5989 "/share")))))
5990 #t)))))
5991 (propagated-inputs
5992 `(("dconf" ,dconf)))
5993 (native-inputs
5994 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5995 ("intltool" ,intltool)
5996 ("itstool" ,itstool)
5997 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5998 ("gobject-introspection" ,gobject-introspection)
5999 ("libgd"
6000 ,(origin
6001 (method git-fetch)
6002 (uri (git-reference
6003 (url "https://gitlab.gnome.org/GNOME/libgd")
6004 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6005 (file-name (git-file-name "libgd" version))
6006 (sha256
6007 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6008 ("pkg-config" ,pkg-config)))
6009 (inputs
6010 `(("glib" ,glib)
6011 ("gspell" ,gspell)
6012 ("gtk+" ,gtk+)
6013 ("gtksourceview" ,gtksourceview)
6014 ("libpeas" ,libpeas)
6015 ("libxml2" ,libxml2)
6016 ("iso-codes" ,iso-codes)
6017 ("python-pygobject" ,python-pygobject)
6018 ("python" ,python)
6019 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6020 ("libx11" ,libx11)
6021 ("vala" ,vala)
6022 ("adwaita-icon-theme" ,adwaita-icon-theme)
6023 ("libsoup" ,libsoup)
6024 ("gnome-desktop" ,gnome-desktop)))
6025 (home-page "https://wiki.gnome.org/Apps/Gedit")
6026 (synopsis "GNOME text editor")
6027 (description "While aiming at simplicity and ease of use, gedit is a
6028 powerful general purpose text editor.")
6029 (license license:gpl2+)))
6030
6031 (define-public zenity
6032 (package
6033 (name "zenity")
6034 (version "3.32.0")
6035 (source (origin
6036 (method url-fetch)
6037 (uri (string-append "mirror://gnome/sources/zenity/"
6038 (version-major+minor version) "/"
6039 "zenity-" version ".tar.xz"))
6040 (sha256
6041 (base32
6042 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6043 (build-system gnu-build-system)
6044 (native-inputs
6045 `(("gettext" ,gettext-minimal)
6046 ("itstool" ,itstool)
6047 ("pkg-config" ,pkg-config)))
6048 (inputs
6049 `(("libnotify" ,libnotify)
6050 ("webkitgtk" ,webkitgtk)))
6051 (synopsis "Display graphical dialog boxes from shell scripts")
6052 (home-page "https://www.gnome.org")
6053 (description
6054 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6055 to display dialog boxes from the commandline and shell scripts.")
6056 (license license:lgpl2.0+)))
6057
6058 (define-public mutter
6059 (package
6060 (name "mutter")
6061 (version "3.34.2")
6062 (source (origin
6063 (method url-fetch)
6064 (uri (string-append "mirror://gnome/sources/" name "/"
6065 (version-major+minor version) "/"
6066 name "-" version ".tar.xz"))
6067 (sha256
6068 (base32
6069 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6070 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6071 ;; versions of cogl and clutter. As a result, many of the inputs,
6072 ;; propagated-inputs, and configure flags used in cogl and clutter are
6073 ;; needed here as well.
6074 (build-system meson-build-system)
6075 (arguments
6076 '(;; XXX: All mutter tests fail with the following error:
6077 ;; Settings schema 'org.gnome.mutter' is not installed
6078 #:tests? #f
6079 #:glib-or-gtk? #t
6080 #:configure-flags
6081 ;; TODO: Enable profiler when Sysprof is packaged.
6082 (list "-Dprofiler=false"
6083 ;; Otherwise, the RUNPATH will lack the final path component.
6084 (string-append "-Dc_link_args=-Wl,-rpath="
6085 (assoc-ref %outputs "out") "/lib:"
6086 (assoc-ref %outputs "out") "/lib/mutter-5")
6087
6088 ;; The following flags are needed for the bundled clutter
6089 (string-append "-Dxwayland_path="
6090 (assoc-ref %build-inputs "xorg-server-xwayland")
6091 "/bin/Xwayland")
6092
6093 ;; the remaining flags are needed for the bundled cogl
6094 (string-append "-Dopengl_libname="
6095 (assoc-ref %build-inputs "mesa")
6096 "/lib/libGL.so"))))
6097 (native-inputs
6098 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6099 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6100 ("gobject-introspection" ,gobject-introspection)
6101 ("intltool" ,intltool)
6102 ("pkg-config" ,pkg-config)
6103 ("xorg-server" ,xorg-server-for-tests)
6104 ;; For git build
6105 ("autoconf" ,autoconf)
6106 ("automake" ,automake)
6107 ("libtool" ,libtool)))
6108 (propagated-inputs
6109 `(;; libmutter.pc refers to these:
6110 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6111 ("gtk+" ,gtk+)
6112 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6113 ("atk" ,atk)
6114 ("cairo" ,cairo)
6115 ("gdk-pixbuf" ,gdk-pixbuf)
6116 ("glib" ,glib)
6117 ("json-glib" ,json-glib)
6118 ("libinput" ,libinput)
6119 ("libx11" ,libx11)
6120 ("libxcomposite" ,libxcomposite)
6121 ("libxdamage" ,libxdamage)
6122 ("libxext" ,libxext)
6123 ("libxfixes" ,libxfixes)
6124 ("libxkbcommon" ,libxkbcommon)
6125 ("libxrandr" ,libxrandr)
6126 ("mesa" ,mesa)
6127 ("pango" ,pango)
6128 ("udev" ,eudev)
6129 ("xinput" ,xinput)))
6130 (inputs
6131 `(("elogind" ,elogind)
6132 ("gnome-desktop" ,gnome-desktop)
6133 ("gnome-settings-daemon" ,gnome-settings-daemon)
6134 ("libcanberra-gtk" ,libcanberra)
6135 ("libgudev" ,libgudev)
6136 ("libice" ,libice)
6137 ("libsm" ,libsm)
6138 ("libwacom" ,libwacom)
6139 ("libxkbfile" ,libxkbfile)
6140 ("libxrandr" ,libxrandr)
6141 ("libxtst" ,libxtst)
6142 ("pipewire" ,pipewire)
6143 ("startup-notification" ,startup-notification)
6144 ("upower-glib" ,upower)
6145 ("xkeyboard-config" ,xkeyboard-config)
6146 ("xorg-server-xwayland" ,xorg-server-xwayland)
6147 ("zenity" ,zenity)))
6148 (synopsis "Window and compositing manager")
6149 (home-page "https://www.gnome.org")
6150 (description
6151 "Mutter is a window and compositing manager that displays and manages your
6152 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6153 Clutter toolkit with solid window-management logic inherited from the Metacity
6154 window manager.")
6155 (license license:gpl2+)))
6156
6157 (define-public gnome-online-accounts
6158 (package
6159 (name "gnome-online-accounts")
6160 (version "3.36.0")
6161 (source (origin
6162 (method url-fetch)
6163 (uri (string-append "mirror://gnome/sources/" name "/"
6164 (version-major+minor version) "/"
6165 name "-" version ".tar.xz"))
6166 (sha256
6167 (base32
6168 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6169 (outputs '("out" "lib"))
6170 (build-system glib-or-gtk-build-system)
6171 (arguments
6172 `(#:configure-flags
6173 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6174 #:phases
6175 (modify-phases %standard-phases
6176 (add-before 'configure 'patch-libgoa-output
6177 (lambda* (#:key outputs #:allow-other-keys)
6178 (let ((lib (assoc-ref outputs "lib")))
6179 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6180 (("@prefix@") lib)
6181 (("@exec_prefix@") lib)
6182 (("@libdir@") (string-append lib "/lib"))
6183 (("@includedir@") (string-append lib "/include"))
6184 (("@datadir@") (string-append lib "/share")))
6185 ;; Make sure gobject-introspection knows about the output
6186 ;; too (see <https://bugs.gnu.org/36535>).
6187 (setenv "outputs" "out lib")
6188 #t))))))
6189 (native-inputs
6190 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6191 ("gobject-introspection" ,gobject-introspection)
6192 ("intltool" ,intltool)
6193 ("pkg-config" ,pkg-config)
6194 ("vala" ,vala)
6195 ("xsltproc" ,libxslt)))
6196 (propagated-inputs
6197 `(("glib" ,glib) ; required by goa-1.0.pc
6198 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6199 (inputs
6200 `(("docbook-xsl" ,docbook-xsl)
6201 ("json-glib" ,json-glib)
6202 ("libsecret" ,libsecret)
6203 ("rest" ,rest)
6204 ("webkitgtk" ,webkitgtk)))
6205 (synopsis "Single sign-on framework for GNOME")
6206 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6207 (description
6208 "GNOME Online Accounts provides interfaces so that applications and
6209 libraries in GNOME can access the user's online accounts. It has providers for
6210 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6211 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6212 (license license:lgpl2.0+)))
6213
6214 (define-public evolution-data-server
6215 (package
6216 (name "evolution-data-server")
6217 (version "3.34.2")
6218 (source (origin
6219 (method url-fetch)
6220 (uri (string-append "mirror://gnome/sources/" name "/"
6221 (version-major+minor version) "/"
6222 name "-" version ".tar.xz"))
6223 (patches (search-patches "evolution-data-server-locales.patch"
6224 "evolution-data-server-libical-compat.patch"))
6225 (sha256
6226 (base32
6227 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6228 (build-system cmake-build-system)
6229 (arguments
6230 '(#:configure-flags
6231 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6232 (runpaths (map (lambda (s)
6233 (string-append lib "/evolution-data-server/" s))
6234 '("addressbook-backends" "calendar-backends"
6235 "camel-providers" "credential-modules"
6236 "registry-modules"))))
6237 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6238 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6239 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6240 "-DENABLE_VALA_BINDINGS=ON"
6241 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6242 (string-append lib "/evolution-data-server;")
6243 (string-join runpaths ";"))
6244 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6245 #:phases
6246 (modify-phases %standard-phases
6247 (add-after 'unpack 'disable-failing-tests
6248 (lambda _
6249 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6250 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6251 (delete-file-recursively "tests/book-migration")
6252 (substitute* "tests/CMakeLists.txt"
6253 (("add_subdirectory\\(book-migration\\)") ""))
6254 #t))
6255 (add-after 'unpack 'patch-paths
6256 (lambda _
6257 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6258 "tests/libedata-book/data-test-utils.c"
6259 "tests/libedata-book/test-book-cache-utils.c"
6260 "tests/libedata-cal/test-cal-cache-utils.c")
6261 (("/bin/rm") (which "rm")))
6262 #t))
6263 (add-before 'configure 'dont-override-rpath
6264 (lambda _
6265 (substitute* "CMakeLists.txt"
6266 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6267 ;; Remove it so the configure flag is respected.
6268 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6269 #t)))))
6270 (native-inputs
6271 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6272 ("gobject-introspection" ,gobject-introspection)
6273 ("gperf" ,gperf)
6274 ("intltool" ,intltool)
6275 ("pkg-config" ,pkg-config)
6276 ("vala" ,vala)
6277 ("python" ,python-wrapper)))
6278 (propagated-inputs
6279 ;; These are all in the Requires field of .pc files.
6280 `(("gtk+" ,gtk+)
6281 ("libical" ,libical)
6282 ("libsecret" ,libsecret)
6283 ("libsoup" ,libsoup)
6284 ("nss" ,nss)
6285 ("sqlite" ,sqlite)))
6286 (inputs
6287 `(("bdb" ,bdb)
6288 ("gcr" ,gcr)
6289 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6290 ("json-glib" ,json-glib)
6291 ("libcanberra" ,libcanberra)
6292 ("libgweather" ,libgweather)
6293 ("mit-krb5" ,mit-krb5)
6294 ("openldap" ,openldap)
6295 ("webkitgtk" ,webkitgtk)))
6296 (synopsis "Store address books and calendars")
6297 (home-page "https://wiki.gnome.org/Apps/Evolution")
6298 (description
6299 "This package provides a unified backend for programs that work with
6300 contacts, tasks, and calendar information. It was originally developed for
6301 Evolution (hence the name), but is now used by other packages as well.")
6302 (license license:lgpl2.0)))
6303
6304 (define-public caribou
6305 (package
6306 (name "caribou")
6307 (version "0.4.21")
6308 (source (origin
6309 (method url-fetch)
6310 (uri (string-append "mirror://gnome/sources/" name "/"
6311 (version-major+minor version) "/"
6312 name "-" version ".tar.xz"))
6313 (sha256
6314 (base32
6315 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6316 (build-system glib-or-gtk-build-system)
6317 (arguments
6318 '(#:phases
6319 (modify-phases %standard-phases
6320 (add-before
6321 'build 'pre-build
6322 (lambda* (#:key outputs #:allow-other-keys)
6323 (let ((out (assoc-ref outputs "out")))
6324 ;; Use absolute shared library path in Caribou-1.0.typelib.
6325 (substitute* "libcaribou/Makefile"
6326 (("--shared-library=libcaribou.so")
6327 (string-append "--shared-library="
6328 out "/lib/libcaribou.so")))
6329 #t)))
6330 (add-after 'install 'wrap-programs
6331 (lambda* (#:key outputs #:allow-other-keys)
6332 (let* ((out (assoc-ref outputs "out"))
6333 (python-path (getenv "PYTHONPATH"))
6334 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6335 (for-each
6336 (lambda (prog)
6337 (wrap-program prog
6338 `("PYTHONPATH" ":" prefix (,python-path))
6339 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6340 (list (string-append out "/bin/caribou-preferences")
6341 (string-append out "/libexec/antler-keyboard"))))
6342 #t)))))
6343 (native-inputs
6344 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6345 ("gobject-introspection" ,gobject-introspection)
6346 ("intltool" ,intltool)
6347 ("pkg-config" ,pkg-config)
6348 ("python" ,python)
6349 ("vala" ,vala)
6350 ("xsltproc" ,libxslt)))
6351 (propagated-inputs
6352 ;; caribou-1.0.pc refers to all these.
6353 `(("libgee" ,libgee)
6354 ("libxklavier" ,libxklavier)
6355 ("libxtst" ,libxtst)
6356 ("gtk+" ,gtk+)))
6357 (inputs
6358 `(("clutter" ,clutter)
6359 ("dconf" ,dconf)
6360 ("gtk+-2" ,gtk+-2)
6361 ("python-pygobject" ,python-pygobject)))
6362 (synopsis "Text entry and UI navigation application")
6363 (home-page "https://wiki.gnome.org/Projects/Caribou")
6364 (description
6365 "Caribou is an input assistive technology intended for switch and pointer
6366 users.")
6367 (license license:lgpl2.1)))
6368
6369 (define-public network-manager
6370 (package
6371 (name "network-manager")
6372 (version "1.24.0")
6373 (source (origin
6374 (method url-fetch)
6375 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6376 (version-major+minor version) "/"
6377 "NetworkManager-" version ".tar.xz"))
6378 (patches (search-patches "network-manager-plugin-path.patch"))
6379 (sha256
6380 (base32
6381 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
6382 (modules '((guix build utils)))
6383 (snippet
6384 '(begin
6385 (substitute* "src/devices/wwan/nm-modem-manager.c"
6386 (("systemd") "elogind"))
6387 #t))))
6388 (build-system meson-build-system)
6389 (outputs '("out"
6390 "doc")) ; 8 MiB of gtk-doc HTML
6391 (arguments
6392 `(#:configure-flags
6393 (let ((out (assoc-ref %outputs "out"))
6394 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6395 "/sbin/dhclient")))
6396 (list
6397 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
6398 ;; component.
6399 (string-append "-Dc_link_args=-Wl,-rpath="
6400 out "/lib:"
6401 out "/lib/NetworkManager/" ,version)
6402 "-Dsystemd_journal=false"
6403 "-Dsession_tracking=elogind"
6404 "-Dsuspend_resume=elogind"
6405 "-Dsystemdsystemunitdir=no"
6406 "-Dsession_tracking_consolekit=false"
6407 "-Ddhcpcd=no"
6408 "-Ddhcpcanon=no"
6409 "-Dcrypto=gnutls"
6410 "-Diwd=true"
6411 "-Dlibaudit=yes"
6412 "-Dqt=false"
6413 "-Ddocs=true"
6414 "--sysconfdir=/etc"
6415 "--localstatedir=/var"
6416 (string-append "-Dudev_dir="
6417 out "/lib/udev")
6418 (string-append "-Ddbus_conf_dir="
6419 out "/etc/dbus-1/system.d")
6420
6421 (string-append "-Ddhclient=" dhclient)))
6422 #:phases
6423 (modify-phases %standard-phases
6424 (add-before 'configure 'pre-configure
6425 (lambda _
6426 ;; These tests try to test aspects of network-manager's
6427 ;; functionality within restricted containers, but they don't
6428 ;; cope with being already in the Guix build jail as that jail
6429 ;; lacks some features that they would like to proxy over (like
6430 ;; a /sys mount).
6431 (substitute* "src/platform/tests/meson.build"
6432 ((".*test-address-linux.*") "")
6433 ((".*test-cleanup-linux.*") "")
6434 ((".*test-link-linux.*") "")
6435 ((".*test-route-linux.*") ""))
6436 (substitute* "src/devices/tests/meson.build"
6437 ((".*test-acd.*") "")
6438 ((".*test-lldp.*") ""))
6439 #t))
6440 (add-after 'unpack 'patch-docbook-xml
6441 (lambda* (#:key inputs #:allow-other-keys)
6442 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
6443 "/xml/dtd/docbook")))
6444 (substitute* (find-files "." ".*\\.(xsl|xml)")
6445 (("http://.*/docbookx\\.dtd")
6446 (string-append xmldoc "/docbookx.dtd")))
6447 #t)))
6448 (add-before 'check 'pre-check
6449 (lambda _
6450 ;; For the missing /etc/machine-id.
6451 (setenv "DBUS_FATAL_WARNINGS" "0")
6452 #t))
6453 (add-before 'install 'no-polkit-magic
6454 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
6455 (lambda _
6456 (setenv "PKEXEC_UID" "something")
6457 #t))
6458 (add-after 'install 'move-doc
6459 (lambda* (#:key outputs #:allow-other-keys)
6460 (let ((out (assoc-ref outputs "out"))
6461 (doc (assoc-ref outputs "doc")))
6462 (mkdir-p (string-append doc "/share"))
6463 (for-each (lambda (directory)
6464 (copy-recursively (string-append out directory)
6465 (string-append doc directory))
6466 (delete-file-recursively
6467 (string-append out directory)))
6468 '("/share/doc" "/share/gtk-doc"))
6469 #t))))))
6470 (propagated-inputs
6471 `(("glib" ,glib)))
6472 (native-inputs
6473 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6474 ("gtk-doc" ,gtk-doc)
6475 ("gobject-introspection" ,gobject-introspection)
6476 ("docbook-xml" ,docbook-xml)
6477 ("docbook-xsl" ,docbook-xsl)
6478 ("intltool" ,intltool)
6479 ("libxslt" ,libxslt)
6480 ("libxml2" ,libxml2)
6481 ("pkg-config" ,pkg-config)
6482 ("vala" ,vala)
6483 ;; For testing.
6484 ("python" ,python-wrapper)
6485 ("python-dbus" ,python-dbus)
6486 ("python-pygobject" ,python-pygobject)))
6487 (inputs
6488 `(("curl" ,curl)
6489 ("cyrus-sasl" ,cyrus-sasl)
6490 ("dbus-glib" ,dbus-glib)
6491 ("dnsmasq" ,dnsmasq)
6492 ("eudev" ,eudev)
6493 ("gnutls" ,gnutls)
6494 ("iptables" ,iptables)
6495 ("isc-dhcp" ,isc-dhcp)
6496 ("iwd" ,iwd) ; wpa_supplicant alternative
6497 ("jansson" ,jansson)
6498 ("libaudit" ,audit)
6499 ("libgcrypt" ,libgcrypt)
6500 ("libgudev" ,libgudev)
6501 ("libndp" ,libndp)
6502 ("libnl" ,libnl)
6503 ("libsoup" ,libsoup)
6504 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
6505 ("modem-manager" ,modem-manager)
6506 ("newt" ,newt) ;for the 'nmtui' console interface
6507 ("openresolv" ,openresolv) ; alternative resolv.conf manager
6508 ("polkit" ,polkit)
6509 ("ppp" ,ppp)
6510 ("readline" ,readline)
6511 ("util-linux" ,util-linux)
6512 ("elogind" ,elogind)))
6513 (synopsis "Network connection manager")
6514 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6515 (description
6516 "NetworkManager is a system network service that manages your network
6517 devices and connections, attempting to keep active network connectivity when
6518 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6519 devices, and provides VPN integration with a variety of different VPN
6520 services.")
6521 ;; “This NetworkManager project consists of the daemon, client tools, and
6522 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
6523 ;; GPL-2.0+.”
6524 (license (list license:gpl2+
6525 license:lgpl2.1+))
6526 (properties '((upstream-name . "NetworkManager")))))
6527
6528 (define-public network-manager-openvpn
6529 (package
6530 (name "network-manager-openvpn")
6531 (version "1.8.12")
6532 (source (origin
6533 (method url-fetch)
6534 (uri (string-append
6535 "mirror://gnome/sources/NetworkManager-openvpn/"
6536 (version-major+minor version)
6537 "/NetworkManager-openvpn-" version ".tar.xz"))
6538 (sha256
6539 (base32
6540 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
6541 (build-system gnu-build-system)
6542 (arguments
6543 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6544 #:phases
6545 (modify-phases %standard-phases
6546 (add-after 'configure 'patch-path
6547 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6548 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6549 "/sbin/openvpn"))
6550 (modprobe (string-append (assoc-ref inputs "kmod")
6551 "/bin/modprobe"))
6552 (pretty-ovpn (string-append "\"" ovpn "\"")))
6553 (for-each
6554 (lambda (file)
6555 (substitute* file
6556 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6557 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6558 (("\"/sbin/openvpn\"") pretty-ovpn)
6559 (("/sbin/modprobe") modprobe)))
6560 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6561 #t)))))
6562 (native-inputs
6563 `(("pkg-config" ,pkg-config)
6564 ("intltool" ,intltool)))
6565 (inputs
6566 `(("gtk+" ,gtk+)
6567 ("kmod" ,kmod)
6568 ("openvpn" ,openvpn)
6569 ("network-manager" ,network-manager)
6570 ("libnma" ,libnma)
6571 ("libsecret" ,libsecret)))
6572 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6573 (synopsis "OpenVPN plug-in for NetworkManager")
6574 (description
6575 "This extension of NetworkManager allows it to take care of connections
6576 to virtual private networks (VPNs) via OpenVPN.")
6577 (license license:gpl2+)
6578 (properties `((upstream-name . "NetworkManager-openvpn")))))
6579
6580 (define-public network-manager-vpnc
6581 (package
6582 (name "network-manager-vpnc")
6583 (version "1.2.6")
6584 (source (origin
6585 (method url-fetch)
6586 (uri (string-append
6587 "mirror://gnome/sources/NetworkManager-vpnc/"
6588 (version-major+minor version)
6589 "/NetworkManager-vpnc-" version ".tar.xz"))
6590 (sha256
6591 (base32
6592 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6593 (build-system gnu-build-system)
6594 (arguments
6595 `(#:configure-flags '("--enable-absolute-paths"
6596 "--localstatedir=/var"
6597 ;; libnm-glib has been removed from network-manager
6598 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
6599 "--with-libnm-glib=no")
6600 #:phases
6601 (modify-phases %standard-phases
6602 (add-after 'configure 'patch-path
6603 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6604 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6605 "/sbin/vpnc"))
6606 (modprobe (string-append (assoc-ref inputs "kmod")
6607 "/bin/modprobe"))
6608 (pretty-ovpn (string-append "\"" vpnc "\"")))
6609 (substitute* "src/nm-vpnc-service.c"
6610 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6611 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6612 (("\"/sbin/vpnc\"") pretty-ovpn)
6613 (("/sbin/modprobe") modprobe)))
6614 #t)))))
6615 (native-inputs
6616 `(("pkg-config" ,pkg-config)
6617 ("intltool" ,intltool)))
6618 (inputs
6619 `(("gtk+" ,gtk+)
6620 ("kmod" ,kmod)
6621 ("vpnc" ,vpnc)
6622 ("network-manager" ,network-manager)
6623 ("libnma" ,libnma)
6624 ("libsecret" ,libsecret)))
6625 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6626 (synopsis "VPNC plug-in for NetworkManager")
6627 (description
6628 "Support for configuring virtual private networks based on VPNC.
6629 Compatible with Cisco VPN concentrators configured to use IPsec.")
6630 (license license:gpl2+)
6631 (properties `((upstream-name . "NetworkManager-vpnc")))))
6632
6633 (define-public network-manager-openconnect
6634 (package
6635 (name "network-manager-openconnect")
6636 (version "1.2.6")
6637 (source (origin
6638 (method url-fetch)
6639 (uri (string-append
6640 "mirror://gnome/sources/NetworkManager-openconnect/"
6641 (version-major+minor version)
6642 "/NetworkManager-openconnect-" version ".tar.xz"))
6643 (sha256
6644 (base32
6645 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6646 (build-system gnu-build-system)
6647 (arguments
6648 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6649 #:phases
6650 (modify-phases %standard-phases
6651 (add-after 'configure 'patch-path
6652 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6653 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6654 "/sbin/openconnect"))
6655 (modprobe (string-append (assoc-ref inputs "kmod")
6656 "/bin/modprobe"))
6657 (pretty-ovpn (string-append "\"" openconnect "\"")))
6658 (substitute* "src/nm-openconnect-service.c"
6659 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6660 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6661 (("/sbin/modprobe") modprobe)))
6662 #t)))))
6663 (native-inputs
6664 `(("intltool" ,intltool)
6665 ("libnma" ,libnma)
6666 ("pkg-config" ,pkg-config)))
6667 (inputs
6668 `(("gcr" ,gcr)
6669 ("gtk+" ,gtk+)
6670 ("kmod" ,kmod)
6671 ("libsecret" ,libsecret)
6672 ("libxml2" ,libxml2)
6673 ("lz4" ,lz4)
6674 ("network-manager" ,network-manager)
6675 ("openconnect" ,openconnect)))
6676 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6677 (synopsis "OpenConnect plug-in for NetworkManager")
6678 (description
6679 "This extension of NetworkManager allows it to take care of connections
6680 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6681 Cisco's AnyConnect SSL VPN.")
6682 (license license:gpl2+)
6683 (properties `((upstream-name . "NetworkManager-openconnect")
6684
6685 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6686 ;; file refers to account "nm-openconnect". Specify it here
6687 ;; so that 'network-manager-service-type' creates it.
6688 (user-accounts . ("nm-openconnect"))))))
6689
6690 (define-public mobile-broadband-provider-info
6691 (package
6692 (name "mobile-broadband-provider-info")
6693 (version "20190116")
6694 (source (origin
6695 (method url-fetch)
6696 (uri (string-append
6697 "mirror://gnome/sources/"
6698 "mobile-broadband-provider-info/" version "/"
6699 "mobile-broadband-provider-info-" version ".tar.xz"))
6700 (sha256
6701 (base32
6702 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6703 (build-system gnu-build-system)
6704 (arguments
6705 `(#:tests? #f)) ; no tests
6706 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6707 (synopsis "Database of broadband connection configuration")
6708 (description "Database of broadband connection configuration.")
6709 (license license:public-domain)))
6710
6711 (define-public network-manager-applet
6712 (package
6713 (name "network-manager-applet")
6714 (version "1.16.0")
6715 (source (origin
6716 (method url-fetch)
6717 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6718 (version-major+minor version) "/"
6719 "network-manager-applet-" version ".tar.xz"))
6720 (sha256
6721 (base32
6722 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
6723 (build-system meson-build-system)
6724 (arguments
6725 '(#:glib-or-gtk? #t))
6726 (native-inputs
6727 `(("intltool" ,intltool)
6728 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6729 ("gobject-introspection" ,gobject-introspection)
6730 ("gtk-doc" ,gtk-doc)
6731 ("pkg-config" ,pkg-config)))
6732 (propagated-inputs
6733 ;; libnm-gtk.pc refers to all these.
6734 `(("dbus-glib" ,dbus-glib)
6735 ("gtk+" ,gtk+)
6736 ("network-manager" ,network-manager)))
6737 (inputs
6738 `(("gcr" ,gcr)
6739 ("libnma" ,libnma)
6740 ("libgudev" ,libgudev)
6741 ("libnotify" ,libnotify)
6742 ("libsecret" ,libsecret)
6743 ("libselinux" ,libselinux)
6744 ("jansson" ,jansson) ; for team support
6745 ("modem-manager" ,modem-manager)))
6746 (synopsis "Applet for managing network connections")
6747 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6748 (description
6749 "This package contains a systray applet for NetworkManager. It displays
6750 the available networks and allows users to easily switch between them.")
6751 (license license:gpl2+)))
6752
6753 (define-public libxml++
6754 (package
6755 (name "libxml++")
6756 (version "3.0.1")
6757 (source (origin
6758 (method url-fetch)
6759 (uri (string-append "mirror://gnome/sources/" name "/"
6760 (version-major+minor version) "/"
6761 name "-" version ".tar.xz"))
6762 (sha256
6763 (base32
6764 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6765 (build-system gnu-build-system)
6766 ;; libxml++-3.0.pc refers to all these.
6767 (propagated-inputs
6768 `(("libxml2" ,libxml2)
6769 ("glibmm" ,glibmm)))
6770 (native-inputs
6771 `(("perl" ,perl)
6772 ("pkg-config" ,pkg-config)))
6773 (home-page "http://libxmlplusplus.sourceforge.net/")
6774 (synopsis "C++ wrapper for XML parser library libxml2")
6775 (description
6776 "This package provides a C++ wrapper for the XML parser library
6777 libxml2.")
6778 (license license:lgpl2.1+)))
6779
6780 (define-public libxml++-2
6781 (package
6782 (inherit libxml++)
6783 (name "libxml++")
6784 (version "2.40.1")
6785 (source (origin
6786 (method url-fetch)
6787 (uri (string-append "mirror://gnome/sources/" name "/"
6788 (version-major+minor version) "/"
6789 name "-" version ".tar.xz"))
6790 (sha256
6791 (base32
6792 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6793
6794 (define-public gdm
6795 (package
6796 (name "gdm")
6797 (version "3.34.1")
6798 (source (origin
6799 (method url-fetch)
6800 (uri (string-append "mirror://gnome/sources/" name "/"
6801 (version-major+minor version) "/"
6802 name "-" version ".tar.xz"))
6803 (sha256
6804 (base32
6805 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6806 (patches (search-patches "gdm-default-session.patch"))))
6807 (build-system glib-or-gtk-build-system)
6808 (arguments
6809 '(#:configure-flags
6810 `("--without-plymouth"
6811 "--disable-systemd-journal"
6812
6813 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6814 ;; instead of having to replace it (i.e., stopping the mingetty
6815 ;; service for TTY 1 before starting GDM).
6816 "--with-initial-vt=7"
6817
6818 ;; Use '/etc/environment' for locale settings instead of the
6819 ;; systemd-specific '/etc/locale.conf'.
6820 "--with-lang-file=/etc/environment"
6821
6822 ,(string-append "--with-udevdir="
6823 (assoc-ref %outputs "out") "/lib/udev")
6824
6825 "--localstatedir=/var"
6826 ,(string-append "--with-default-path="
6827 (string-join '("/run/setuid-programs"
6828 "/run/current-system/profile/bin"
6829 "/run/current-system/profile/sbin")
6830 ":"))
6831 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6832 ;; XDG_DATA_DIRS so that it finds its schemas.
6833 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6834 #:phases
6835 (modify-phases %standard-phases
6836 (add-before
6837 'configure 'pre-configure
6838 (lambda* (#:key inputs outputs #:allow-other-keys)
6839 ;; We don't have <systemd/sd-daemon.h>.
6840 (substitute* '("common/gdm-log.c"
6841 "daemon/gdm-server.c"
6842 "daemon/gdm-session-worker.c"
6843 "daemon/gdm-session-worker-job.c")
6844 (("#include <systemd/sd-daemon\\.h>") ""))
6845 ;; Use elogind for sd-login.
6846 (substitute* '("common/gdm-common.c"
6847 "daemon/gdm-local-display-factory.c"
6848 "daemon/gdm-manager.c"
6849 "libgdm/gdm-user-switching.c")
6850 (("#include <systemd/sd-login\\.h>")
6851 "#include <elogind/sd-login.h>"))
6852 ;; Check for elogind.
6853 (substitute* '("configure")
6854 (("libsystemd")
6855 "libelogind"))
6856 ;; Look for system-installed sessions in
6857 ;; /run/current-system/profile/share.
6858 (substitute* '("libgdm/gdm-sessions.c"
6859 "daemon/gdm-session.c"
6860 "daemon/gdm-display.c"
6861 "daemon/gdm-launch-environment.c")
6862 (("DATADIR \"/x")
6863 "\"/run/current-system/profile/share/x")
6864 (("DATADIR \"/wayland")
6865 "\"/run/current-system/profile/share/wayland")
6866 (("DATADIR \"/gnome")
6867 "\"/run/current-system/profile/share/gnome"))
6868 (let ((propagate '("GDM_CUSTOM_CONF"
6869 "GDM_DBUS_DAEMON"
6870 "GDM_X_SERVER"
6871 "GDM_X_SESSION"
6872 ;; XXX: Remove this once GNOME Shell is
6873 ;; a dependency of GDM.
6874 "XDG_DATA_DIRS")))
6875 (substitute* "daemon/gdm-session.c"
6876 (("set_up_session_environment \\(self\\);")
6877 (apply string-append
6878 "set_up_session_environment (self);\n"
6879 (map (lambda (name)
6880 (string-append
6881 "gdm_session_set_environment_variable "
6882 "(self, \"" name "\","
6883 "g_getenv (\"" name "\"));\n"))
6884 propagate)))))
6885 ;; Find the configuration file using an environment variable.
6886 (substitute* '("common/gdm-settings.c")
6887 (("GDM_CUSTOM_CONF")
6888 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6889 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6890 " : GDM_CUSTOM_CONF)")))
6891 ;; Use service-supplied path to X.
6892 (substitute* '("daemon/gdm-server.c")
6893 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6894 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6895 (substitute* '("daemon/gdm-wayland-session.c"
6896 "daemon/gdm-x-session.c")
6897 (("\"dbus-daemon\"")
6898 "g_getenv (\"GDM_DBUS_DAEMON\")")
6899 (("X_SERVER")
6900 "g_getenv (\"GDM_X_SERVER\")")
6901 (("GDMCONFDIR \"/Xsession\"")
6902 "g_getenv (\"GDM_X_SESSION\")"))
6903 ;; Use an absolute path for GNOME Session.
6904 (substitute* "daemon/gdm-launch-environment.c"
6905 (("\"gnome-session\"")
6906 (string-append "\"" (assoc-ref inputs "gnome-session")
6907 "/bin/gnome-session\"")))
6908 ;; Do not automatically select the placeholder session.
6909 (substitute* "daemon/gdm-session.c"
6910 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6911 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6912 "(g_strcmp0(search_dirs[i], \""
6913 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6914 "\") == 0 && "
6915 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6916 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6917 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6918 #t))
6919 ;; GDM requires that there be at least one desktop entry
6920 ;; file. This phase installs a hidden one that simply
6921 ;; fails. This enables users to use GDM with a
6922 ;; '~/.xsession' script with no other desktop entry files.
6923 ;; See <https://bugs.gnu.org/35068>.
6924 (add-after 'install 'install-placeholder-desktop-entry
6925 (lambda* (#:key inputs outputs #:allow-other-keys)
6926 (let* ((out (assoc-ref outputs "out"))
6927 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6928 (fail (string-append sessions "/fail.desktop")))
6929 (mkdir-p sessions)
6930 (with-output-to-file fail
6931 (lambda ()
6932 (for-each
6933 display
6934 '("[Desktop Entry]\n"
6935 "Encoding=UTF-8\n"
6936 "Type=Application\n"
6937 "Name=Fail\n"
6938 "Comment=This session fails immediately.\n"
6939 "NoDisplay=true\n"
6940 "Exec=false\n"))))
6941 #t)))
6942 ;; GDM needs GNOME Session to run these applications. We link
6943 ;; their autostart files in `share/gdm/greeter/autostart'
6944 ;; because GDM explicitly tells GNOME Session to look there.
6945 ;;
6946 ;; XXX: GNOME Shell should be linked here too, but currently
6947 ;; GNOME Shell depends on GDM.
6948 (add-after 'install 'link-autostart-files
6949 (lambda* (#:key inputs outputs #:allow-other-keys)
6950 (let* ((out (assoc-ref outputs "out"))
6951 (autostart (string-append out "/share/gdm/"
6952 "greeter/autostart"))
6953 (settings (assoc-ref inputs "gnome-settings-daemon")))
6954 (mkdir-p autostart)
6955 (with-directory-excursion autostart
6956 (for-each (lambda (desktop)
6957 (symlink desktop (basename desktop)))
6958 (find-files (string-append settings "/etc/xdg"))))
6959 #t))))))
6960 (native-inputs
6961 `(("dconf" ,dconf)
6962 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6963 ("gobject-introspection" ,gobject-introspection)
6964 ("intltool" ,intltool)
6965 ("itstool" ,itstool)
6966 ("pkg-config" ,pkg-config)
6967 ("xmllint" ,libxml2)))
6968 (inputs
6969 `(("accountsservice" ,accountsservice)
6970 ("check" ,check) ; for testing
6971 ("elogind" ,elogind)
6972 ("gnome-session" ,gnome-session)
6973 ("gnome-settings-daemon" ,gnome-settings-daemon)
6974 ("gtk+" ,gtk+)
6975 ("iso-codes" ,iso-codes)
6976 ("libcanberra" ,libcanberra)
6977 ("linux-pam" ,linux-pam)))
6978 (synopsis "Display manager for GNOME")
6979 (home-page "https://wiki.gnome.org/Projects/GDM/")
6980 (description
6981 "GNOME Display Manager is a system service that is responsible for
6982 providing graphical log-ins and managing local and remote displays.")
6983 (license license:gpl2+)))
6984
6985 (define-public libgtop
6986 (package
6987 (name "libgtop")
6988 (version "2.40.0")
6989 (source (origin
6990 (method url-fetch)
6991 (uri (string-append "mirror://gnome/sources/libgtop/"
6992 (version-major+minor version) "/"
6993 "libgtop-" version ".tar.xz"))
6994 (sha256
6995 (base32
6996 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6997 (build-system gnu-build-system)
6998 (native-inputs
6999 `(("gobject-introspection" ,gobject-introspection)
7000 ("intltool" ,intltool)
7001 ("perl" ,perl)
7002 ("pkg-config" ,pkg-config)))
7003 (propagated-inputs
7004 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7005 (synopsis "Portable system access library")
7006 (home-page "https://www.gnome.org/")
7007 (description
7008 "LibGTop is a library to get system specific data such as CPU and memory
7009 usage and information about running processes.")
7010 (license license:gpl2+)))
7011
7012 (define-public gnome-bluetooth
7013 (package
7014 (name "gnome-bluetooth")
7015 (version "3.34.0")
7016 (source (origin
7017 (method url-fetch)
7018 (uri (string-append "mirror://gnome/sources/" name "/"
7019 (version-major+minor version) "/"
7020 name "-" version ".tar.xz"))
7021 (sha256
7022 (base32
7023 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7024 (build-system meson-build-system)
7025 (native-inputs
7026 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7027 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7028 ("gobject-introspection" ,gobject-introspection)
7029 ("intltool" ,intltool)
7030 ("pkg-config" ,pkg-config)
7031 ("xmllint" ,libxml2)))
7032 (propagated-inputs
7033 ;; gnome-bluetooth-1.0.pc refers to all these.
7034 `(("glib" ,glib)
7035 ("gtk+" ,gtk+)))
7036 (inputs
7037 `(("eudev" ,eudev)
7038 ("libcanberra" ,libcanberra)
7039 ("libnotify" ,libnotify)))
7040 (synopsis "GNOME Bluetooth subsystem")
7041 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7042 (description
7043 "This package contains tools for managing and manipulating Bluetooth
7044 devices using the GNOME desktop.")
7045 (license license:lgpl2.1+)))
7046
7047 (define-public gnome-control-center
7048 (package
7049 (name "gnome-control-center")
7050 (version "3.34.2")
7051 (source (origin
7052 (method url-fetch)
7053 (uri (string-append "mirror://gnome/sources/" name "/"
7054 (version-major+minor version) "/"
7055 name "-" version ".tar.xz"))
7056 (sha256
7057 (base32
7058 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7059 (build-system meson-build-system)
7060 (arguments
7061 '(#:glib-or-gtk? #t
7062 #:configure-flags
7063 (list "-Dcheese=false"
7064 (string-append "-Dgnome_session_libexecdir="
7065 (assoc-ref %build-inputs "gnome-session")
7066 "/libexec"))
7067 #:phases
7068 (modify-phases %standard-phases
7069 (add-before 'configure 'patch-paths
7070 (lambda* (#:key inputs #:allow-other-keys)
7071 (let ((libc (assoc-ref inputs "libc"))
7072 (tzdata (assoc-ref inputs "tzdata"))
7073 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7074 (nm-applet (assoc-ref inputs "network-manager-applet"))
7075 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7076 (substitute* "panels/datetime/tz.h"
7077 (("/usr/share/zoneinfo/zone.tab")
7078 (string-append tzdata "/share/zoneinfo/zone.tab")))
7079 (substitute* "tests/datetime/test-endianess.c"
7080 (("/usr/share/locale")
7081 (string-append libc "/share/locale")))
7082 (substitute* "panels/region/cc-region-panel.c"
7083 (("\"gkbd-keyboard-display")
7084 (string-append "\"" libgnomekbd
7085 "/bin/gkbd-keyboard-display")))
7086 (substitute* '("panels/network/net-device-wifi.c"
7087 "panels/network/net-device.c"
7088 "panels/network/connection-editor/net-connection-editor.c")
7089 (("\"nm-connection-editor")
7090 (string-append "\"" nm-applet
7091 "/bin/nm-connection-editor")))
7092 (substitute* '("panels/user-accounts/run-passwd.c")
7093 (("/usr/bin/passwd")
7094 "/run/setuid-programs/passwd"))
7095 (substitute* "panels/info/cc-info-overview-panel.c"
7096 (("DATADIR \"/gnome/gnome-version.xml\"")
7097 (string-append "\"" gnome-desktop
7098 "/share/gnome/gnome-version.xml\"")))
7099 #t)))
7100 (add-after 'unpack 'skip-gtk-update-icon-cache
7101 ;; Don't create 'icon-theme.cache'.
7102 (lambda _
7103 (substitute* "build-aux/meson/meson_post_install.py"
7104 (("gtk-update-icon-cache") (which "true")))
7105 #t)))))
7106 (native-inputs
7107 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7108 ("intltool" ,intltool)
7109 ("pkg-config" ,pkg-config)
7110 ("xsltproc" ,libxslt)
7111 ;; For tests
7112 ("hicolor-icon-theme" ,hicolor-icon-theme)
7113 ("python-dbusmock" ,python-dbusmock)
7114 ("xorg-server" ,xorg-server-for-tests)))
7115 (inputs
7116 `(("accountsservice" ,accountsservice)
7117 ("clutter-gtk" ,clutter-gtk)
7118 ("colord-gtk" ,colord-gtk)
7119 ("cups" ,cups)
7120 ("dconf" ,dconf)
7121 ("docbook-xsl" ,docbook-xsl)
7122 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7123 ("gnome-bluetooth" ,gnome-bluetooth)
7124 ("gnome-desktop" ,gnome-desktop)
7125 ("gnome-online-accounts" ,gnome-online-accounts)
7126 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7127 ("gnome-session" ,gnome-session)
7128 ("gnome-settings-daemon" ,gnome-settings-daemon)
7129 ("grilo" ,grilo)
7130 ("gsound" ,gsound)
7131 ("ibus" ,ibus)
7132 ("libcanberra" ,libcanberra)
7133 ("libgnomekbd" ,libgnomekbd)
7134 ("libgudev" ,libgudev)
7135 ("libgtop" ,libgtop)
7136 ("libnma" ,libnma)
7137 ("libpwquality" ,libpwquality)
7138 ("libsecret" ,libsecret)
7139 ("libsoup" ,libsoup)
7140 ("libxml2" ,libxml2)
7141 ("libwacom" ,libwacom)
7142 ("mesa" ,mesa)
7143 ("mit-krb5" ,mit-krb5)
7144 ("modem-manager" ,modem-manager)
7145 ("network-manager-applet" ,network-manager-applet)
7146 ("polkit" ,polkit)
7147 ("pulseaudio" ,pulseaudio)
7148 ("smbclient" ,samba)
7149 ("tzdata" ,tzdata)
7150 ("udisks" ,udisks)
7151 ("upower" ,upower)))
7152 (synopsis "Utilities to configure the GNOME desktop")
7153 (home-page "https://www.gnome.org/")
7154 (description
7155 "This package contains configuration applets for the GNOME desktop,
7156 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7157 properties, sound setup, desktop theme and background, user interface
7158 properties, screen resolution, and other GNOME parameters.")
7159 (license license:gpl2+)))
7160
7161 (define-public gnome-shell
7162 (package
7163 (name "gnome-shell")
7164 (version "3.34.2")
7165 (source (origin
7166 (method url-fetch)
7167 (uri (string-append "mirror://gnome/sources/" name "/"
7168 (version-major+minor version) "/"
7169 name "-" version ".tar.xz"))
7170 (sha256
7171 (base32
7172 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7173 (patches (search-patches "gnome-shell-theme.patch"
7174 "gnome-shell-disable-test.patch"))
7175 (modules '((guix build utils)))
7176 (snippet
7177 #~(begin
7178 ;; Copy images for use on the GDM log-in screen.
7179 (copy-file #$(file-append %artwork-repository
7180 "/slim/0.x/background.png")
7181 "data/theme/guix-background.png")
7182 (copy-file #$(file-append %artwork-repository
7183 "/logo/Guix-horizontal-white.svg")
7184 "data/theme/guix-logo.svg")
7185 #t))))
7186 (build-system meson-build-system)
7187 (arguments
7188 `(#:glib-or-gtk? #t
7189 #:disallowed-references ((,glib "bin")
7190 ,inkscape ,libxslt
7191 ,ruby-sass)
7192 #:configure-flags
7193 (list "-Dsystemd=false"
7194 ;; Otherwise, the RUNPATH will lack the final path component.
7195 (string-append "-Dc_link_args=-Wl,-rpath="
7196 (assoc-ref %outputs "out")
7197 "/lib/gnome-shell"))
7198
7199 #:modules ((guix build meson-build-system)
7200 (guix build utils)
7201 (srfi srfi-1))
7202
7203 #:phases
7204 (modify-phases %standard-phases
7205 (add-after 'unpack 'fix-keysdir
7206 (lambda* (#:key outputs #:allow-other-keys)
7207 (let* ((out (assoc-ref outputs "out"))
7208 (keysdir (string-append
7209 out "/share/gnome-control-center/keybindings")))
7210 (substitute* "meson.build"
7211 (("keysdir =.*")
7212 (string-append "keysdir = '" keysdir "'\n")))
7213 #t)))
7214 (add-before 'configure 'convert-logo-to-png
7215 (lambda* (#:key inputs #:allow-other-keys)
7216 ;; Convert the logo from SVG to PNG.
7217 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7218 "data/theme/guix-logo.svg")))
7219 (add-before 'configure 'record-absolute-file-names
7220 (lambda* (#:key inputs #:allow-other-keys)
7221 (substitute* "js/misc/ibusManager.js"
7222 (("'ibus-daemon'")
7223 (string-append "'" (assoc-ref inputs "ibus")
7224 "/bin/ibus-daemon'")))
7225 (substitute* "js/ui/status/keyboard.js"
7226 (("'gkbd-keyboard-display'")
7227 (string-append "'" (assoc-ref inputs "libgnomekbd")
7228 "/bin/gkbd-keyboard-display'")))
7229 #t))
7230 (add-before 'check 'pre-check
7231 (lambda* (#:key inputs #:allow-other-keys)
7232 ;; Tests require a running X server.
7233 (system "Xvfb :1 &")
7234 (setenv "DISPLAY" ":1")
7235 #t))
7236 (add-after 'install 'wrap-programs
7237 (lambda* (#:key inputs outputs #:allow-other-keys)
7238 (let ((out (assoc-ref outputs "out"))
7239 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7240 (python-path (getenv "PYTHONPATH")))
7241 (wrap-program (string-append out "/bin/gnome-shell")
7242 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7243 ;; FIXME: gnome-shell loads these libraries with unqualified
7244 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7245 ;; alternative might be to patch gnome-shell.
7246 `("LD_LIBRARY_PATH" ":" prefix
7247 ,(map (lambda (pkg)
7248 (string-append (assoc-ref inputs pkg) "/lib"))
7249 '("gdk-pixbuf"
7250 "gnome-bluetooth" "librsvg" "libgweather"))))
7251 (for-each
7252 (lambda (prog)
7253 (wrap-program (string-append out "/bin/" prog)
7254 `("PYTHONPATH" ":" prefix (,python-path))
7255 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7256 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7257 #t)))
7258 (replace 'glib-or-gtk-wrap
7259 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7260 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7261 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7262 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7263 ;; phase. Fix that since we don't need these.
7264 (wrap #:inputs (fold alist-delete inputs
7265 '("inkscape" "intltool" "glib:bin"))
7266 #:outputs outputs)))))))
7267 (native-inputs
7268 `(("asciidoc" ,asciidoc)
7269 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7270 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7271 ("gobject-introspection" ,gobject-introspection)
7272 ("inkscape" ,inkscape)
7273 ("intltool" ,intltool)
7274 ("pkg-config" ,pkg-config)
7275 ("python" ,python)
7276 ("ruby-sass" ,ruby-sass)
7277 ("sassc" ,sassc)
7278 ("xsltproc" ,libxslt)
7279 ;; For tests
7280 ("xorg-server" ,xorg-server-for-tests)))
7281 (inputs
7282 `(("accountsservice" ,accountsservice)
7283 ("caribou" ,caribou)
7284 ("docbook-xsl" ,docbook-xsl)
7285 ("evolution-data-server" ,evolution-data-server)
7286 ("gcr" ,gcr)
7287 ("gdm" ,gdm)
7288 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7289 ("gjs" ,gjs)
7290 ("gnome-autoar" ,gnome-autoar)
7291 ("gnome-bluetooth" ,gnome-bluetooth)
7292 ("gnome-desktop" ,gnome-desktop)
7293 ("gnome-settings-daemon" ,gnome-settings-daemon)
7294 ("gst-plugins-base" ,gst-plugins-base)
7295 ("ibus" ,ibus)
7296 ("libcanberra" ,libcanberra)
7297 ("libcroco" ,libcroco)
7298 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7299 ("libgweather" ,libgweather)
7300 ("libnma" ,libnma)
7301 ("libsoup" ,libsoup)
7302 ("mesa-headers" ,mesa-headers)
7303 ("mutter" ,mutter)
7304 ("network-manager-applet" ,network-manager-applet)
7305 ("polkit" ,polkit)
7306 ("pulseaudio" ,pulseaudio)
7307 ("python-pygobject" ,python-pygobject)
7308 ("startup-notification" ,startup-notification)
7309 ("telepathy-logger" ,telepathy-logger)
7310 ("upower" ,upower)
7311 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7312 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7313 ("librsvg" ,librsvg)
7314 ("geoclue" ,geoclue)))
7315 (synopsis "Desktop shell for GNOME")
7316 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7317 (description
7318 "GNOME Shell provides core user interface functions for the GNOME desktop,
7319 like switching to windows and launching applications.")
7320 (license license:gpl2+)))
7321
7322 (define-public gtk-vnc
7323 (package
7324 (name "gtk-vnc")
7325 (version "0.9.0")
7326 (source
7327 (origin
7328 (method url-fetch)
7329 (uri (string-append "mirror://gnome/sources/" name "/"
7330 (version-major+minor version) "/"
7331 name "-" version ".tar.xz"))
7332 (sha256
7333 (base32
7334 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7335 (build-system gnu-build-system)
7336 (arguments
7337 '(#:configure-flags '("--with-gtk=3.0")))
7338 (propagated-inputs
7339 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7340 (inputs
7341 `(("cyrus-sasl" ,cyrus-sasl)
7342 ("gnutls" ,gnutls)
7343 ("libgcrypt" ,libgcrypt)
7344 ("pulseaudio" ,pulseaudio)))
7345 (native-inputs
7346 `(("glib:bin" ,glib "bin")
7347 ("gobject-introspection" ,gobject-introspection)
7348 ("intltool" ,intltool)
7349 ("pkg-config" ,pkg-config)
7350 ("python-wrapper" ,python-wrapper)
7351 ("vala" ,vala)))
7352 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7353 (synopsis "VNC viewer widget for GTK+")
7354 (description
7355 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7356 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7357 GTK-VNC implements client side RFB protocol and authentication extensions such
7358 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7359 (license license:lgpl2.1+)))
7360
7361 (define-public gnome-autoar
7362 (package
7363 (name "gnome-autoar")
7364 (version "0.2.4")
7365 (source (origin
7366 (method url-fetch)
7367 (uri (string-append "mirror://gnome/sources/" name "/"
7368 (version-major+minor version) "/"
7369 name "-" version ".tar.xz"))
7370 (sha256
7371 (base32
7372 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7373 (build-system glib-or-gtk-build-system)
7374 (native-inputs
7375 `(("gobject-introspection" ,gobject-introspection)
7376 ("pkg-config" ,pkg-config)))
7377 (propagated-inputs
7378 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7379 (inputs
7380 `(("gtk+" ,gtk+)))
7381 (synopsis "Archives integration support for GNOME")
7382 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7383 (description
7384 "GNOME Autoar is a library which makes creating and extracting archives
7385 easy, safe, and automatic.")
7386 (license license:lgpl2.1+)))
7387
7388 (define-public tracker
7389 (package
7390 (name "tracker")
7391 (version "2.3.4")
7392 (source (origin
7393 (method url-fetch)
7394 (uri (string-append "mirror://gnome/sources/tracker/"
7395 (version-major+minor version) "/"
7396 "tracker-" version ".tar.xz"))
7397 (sha256
7398 (base32
7399 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7400 (build-system meson-build-system)
7401 (arguments
7402 `(#:glib-or-gtk? #t
7403 #:configure-flags
7404 ;; Otherwise, the RUNPATH will lack the final path component.
7405 (list (string-append "-Dc_link_args=-Wl,-rpath="
7406 (assoc-ref %outputs "out") "/lib:"
7407 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7408 #:phases
7409 (modify-phases %standard-phases
7410 (add-before 'check 'pre-check
7411 (lambda _
7412 ;; Some tests expect to write to $HOME.
7413 (setenv "HOME" "/tmp")
7414 #t)))))
7415 (native-inputs
7416 `(("glib:bin" ,glib "bin")
7417 ("gobject-introspection" ,gobject-introspection)
7418 ("python-pygobject" ,python-pygobject)
7419 ("intltool" ,intltool)
7420 ("pkg-config" ,pkg-config)
7421 ("vala" ,vala)))
7422 (inputs
7423 `(("dbus" ,dbus)
7424 ("sqlite" ,sqlite)
7425 ("libxml2" ,libxml2)
7426 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7427 ("json-glib" ,json-glib)
7428 ("libsoup" ,libsoup)))
7429 (synopsis "Metadata database, indexer and search tool")
7430 (home-page "https://wiki.gnome.org/Projects/Tracker")
7431 (description
7432 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7433
7434 It is a middleware component aimed at desktop application developers who want
7435 their apps to browse and search user content. It's not designed to be used
7436 directly by desktop users, but it provides a commandline tool named
7437 @command{tracker} for the adventurous.
7438
7439 Tracker allows your application to instantly perform full-text searches across
7440 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7441 example. This is achieved by indexing the user's home directory in the
7442 background.
7443
7444 Tracker also allows your application to query and list content that the user
7445 has stored. For example, GNOME Music displays all the music files that are
7446 found by Tracker. This means that GNOME Music doesn't need to maintain a
7447 database of its own.
7448
7449 If you need to go beyond simple searches, Tracker is also a linked data
7450 endpoint and it understands SPARQL. ")
7451 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7452 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7453 ;; libstemmer is bsd-3 and the rest is gpl2+.
7454 (license (list license:gpl2+
7455 license:bsd-3
7456 license:lgpl2.1+))))
7457
7458 (define-public tracker-miners
7459 (package
7460 (name "tracker-miners")
7461 (version "2.3.3")
7462 (source (origin
7463 (method url-fetch)
7464 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7465 (version-major+minor version)
7466 "/tracker-miners-" version ".tar.xz"))
7467 (sha256
7468 (base32
7469 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7470 (build-system meson-build-system)
7471 (arguments
7472 `(#:glib-or-gtk? #t
7473 #:configure-flags
7474 (list "-Dminer_rss=false" ; libgrss is required.
7475 ;; Ensure the RUNPATH contains all installed library locations.
7476 (string-append "-Dc_link_args=-Wl,-rpath="
7477 (assoc-ref %outputs "out")
7478 "/lib/tracker-miners-2.0")
7479 ;; TODO: Enable functional tests. Currently, the following error
7480 ;; appears:
7481 ;; Exception: The functional tests require DConf to be the default
7482 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7483 "-Dfunctional_tests=false")))
7484 (native-inputs
7485 `(("dbus" ,dbus)
7486 ("intltool" ,intltool)
7487 ("glib:bin" ,glib "bin")
7488 ("gobject-introspection" ,gobject-introspection)
7489 ("pkg-config" ,pkg-config)
7490 ("python-pygobject" ,python-pygobject)))
7491 (inputs
7492 `(("exempi" ,exempi)
7493 ("ffmpeg" ,ffmpeg)
7494 ("flac" ,flac)
7495 ("giflib" ,giflib)
7496 ("glib" ,glib)
7497 ("gstreamer" ,gstreamer)
7498 ("icu4c" ,icu4c)
7499 ("libcue" ,libcue)
7500 ("libexif" ,libexif)
7501 ("libgsf" ,libgsf)
7502 ("libgxps" ,libgxps)
7503 ("libiptcdata" ,libiptcdata)
7504 ("libjpeg" ,libjpeg-turbo)
7505 ("libosinfo" ,libosinfo)
7506 ("libpng" ,libpng)
7507 ("libseccomp" ,libseccomp)
7508 ("libtiff" ,libtiff)
7509 ("libvorbis" ,libvorbis)
7510 ("libxml2" ,libxml2)
7511 ("poppler" ,poppler)
7512 ("taglib" ,taglib)
7513 ("totem-pl-parser" ,totem-pl-parser)
7514 ("tracker" ,tracker)
7515 ("upower" ,upower)
7516 ("zlib" ,zlib)))
7517 (synopsis "Metadata database, indexer and search tool")
7518 (home-page "https://wiki.gnome.org/Projects/Tracker")
7519 (description
7520 "Tracker is an advanced framework for first class objects with associated
7521 metadata and tags. It provides a one stop solution for all metadata, tags,
7522 shared object databases, search tools and indexing.")
7523 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7524 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7525 (license (list license:gpl2+
7526 license:lgpl2.1+
7527 license:lgpl2.0+))))
7528
7529 (define-public nautilus
7530 (package
7531 (name "nautilus")
7532 (version "3.34.2")
7533 (source (origin
7534 (method url-fetch)
7535 (uri (string-append "mirror://gnome/sources/" name "/"
7536 (version-major+minor version) "/"
7537 name "-" version ".tar.xz"))
7538 (sha256
7539 (base32
7540 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7541 (build-system meson-build-system)
7542 (arguments
7543 '(#:glib-or-gtk? #t
7544 #:phases
7545 (modify-phases %standard-phases
7546 (add-after 'unpack 'skip-gtk-update-icon-cache
7547 ;; Don't create 'icon-theme.cache'.
7548 (lambda _
7549 (substitute* "build-aux/meson/postinstall.py"
7550 (("gtk-update-icon-cache") "true"))
7551 #t)))
7552 ;; XXX: FAIL: check-nautilus
7553 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7554 #:tests? #f))
7555 (native-inputs
7556 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7557 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7558 ("gobject-introspection" ,gobject-introspection)
7559 ("intltool" ,intltool)
7560 ("pkg-config" ,pkg-config)))
7561 (inputs
7562 `(("dconf" ,dconf)
7563 ("gexiv2" ,gexiv2)
7564 ("gvfs" ,gvfs)
7565 ("exempi" ,exempi)
7566 ("gnome-desktop" ,gnome-desktop)
7567 ("gnome-autoar" ,gnome-autoar)
7568 ("gst-plugins-base" ,gst-plugins-base)
7569 ("libseccomp" ,libseccomp)
7570 ("libselinux" ,libselinux)
7571 ("tracker" ,tracker)
7572 ("tracker-miners" ,tracker-miners)
7573 ;; XXX: gtk+ is required by libnautilus-extension.pc
7574 ;;
7575 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7576 ;; package. See:
7577 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7578 ("gtk+" ,gtk+)
7579 ("libexif" ,libexif)
7580 ("libxml2" ,libxml2)))
7581 (synopsis "File manager for GNOME")
7582 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7583 (description
7584 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7585 design and behaviour, giving the user a simple way to navigate and manage its
7586 files.")
7587 (license license:gpl2+)))
7588
7589 (define-public baobab
7590 (package
7591 (name "baobab")
7592 (version "3.32.0")
7593 (source (origin
7594 (method url-fetch)
7595 (uri (string-append
7596 "mirror://gnome/sources/" name "/"
7597 (version-major+minor version) "/"
7598 name "-" version ".tar.xz"))
7599 (sha256
7600 (base32
7601 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7602 (build-system meson-build-system)
7603 (arguments
7604 '(#:glib-or-gtk? #t))
7605 (native-inputs
7606 `(("intltool" ,intltool)
7607 ("pkg-config" ,pkg-config)
7608 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7609 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7610 ("itstool" ,itstool)
7611 ("xmllint" ,libxml2)
7612 ("glib" ,glib "bin")
7613 ("vala" ,vala)))
7614 (inputs
7615 `(("gtk+" ,gtk+)))
7616 (synopsis "Disk usage analyzer for GNOME")
7617 (description
7618 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7619 usage in the GNOME desktop environment. It can easily scan device volumes or
7620 a specific user-requested directory branch (local or remote). Once the scan
7621 is complete it provides a graphical representation of each selected folder.")
7622 (home-page "https://wiki.gnome.org/Apps/Baobab")
7623 (license license:gpl2+)))
7624
7625 (define-public gnome-backgrounds
7626 (package
7627 (name "gnome-backgrounds")
7628 (version "3.34.0")
7629 (source
7630 (origin
7631 (method url-fetch)
7632 (uri (string-append "mirror://gnome/sources/" name "/"
7633 (version-major+minor version) "/"
7634 name "-" version ".tar.xz"))
7635 (sha256
7636 (base32
7637 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7638 (build-system meson-build-system)
7639 (native-inputs
7640 `(("intltool" ,intltool)))
7641 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7642 (synopsis "Background images for the GNOME desktop")
7643 (description
7644 "GNOME backgrounds package contains a collection of graphics files which
7645 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7646 the package creates the proper framework and directory structure so that you
7647 can add your own files to the collection.")
7648 (license (list license:gpl2+
7649 license:cc-by2.0
7650 license:cc-by-sa2.0
7651 license:cc-by-sa3.0))))
7652
7653 (define-public gnome-screenshot
7654 (package
7655 (name "gnome-screenshot")
7656 (version "3.34.0")
7657 (source
7658 (origin
7659 (method url-fetch)
7660 (uri (string-append "mirror://gnome/sources/" name "/"
7661 (version-major+minor version) "/"
7662 name "-" version ".tar.xz"))
7663 (sha256
7664 (base32
7665 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7666 (build-system meson-build-system)
7667 (arguments
7668 '(#:phases
7669 (modify-phases %standard-phases
7670 (add-after 'unpack 'skip-gtk-update-icon-cache
7671 ;; Don't create 'icon-theme.cache'.
7672 (lambda _
7673 (substitute* "build-aux/postinstall.py"
7674 (("gtk-update-icon-cache") "true"))
7675 #t)))))
7676 (native-inputs
7677 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7678 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7679 ("intltool" ,intltool)
7680 ("appstream-glib" ,appstream-glib)
7681 ("pkg-config" ,pkg-config)))
7682 (inputs
7683 `(("gtk+" ,gtk+)
7684 ("libcanberra" ,libcanberra)
7685 ("libx11" ,libx11)
7686 ("libxext" ,libxext)))
7687 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7688 (synopsis "Take pictures of your screen")
7689 (description
7690 "GNOME Screenshot is a utility used for taking screenshots of the entire
7691 screen, a window or a user defined area of the screen, with optional
7692 beautifying border effects.")
7693 (license license:gpl2+)))
7694
7695 (define-public dconf-editor
7696 (package
7697 (name "dconf-editor")
7698 (version "3.34.2")
7699 (source
7700 (origin
7701 (method url-fetch)
7702 (uri (string-append "mirror://gnome/sources/" name "/"
7703 (version-major+minor version) "/"
7704 name "-" version ".tar.xz"))
7705 (sha256
7706 (base32
7707 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7708 (build-system meson-build-system)
7709 (native-inputs
7710 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7711 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7712 ("intltool" ,intltool)
7713 ("pkg-config" ,pkg-config)
7714 ("vala" ,vala)))
7715 (inputs
7716 `(("dconf" ,dconf)
7717 ("gtk+" ,gtk+)
7718 ("libxml2" ,libxml2)))
7719 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7720 (synopsis "Graphical editor for GNOME's dconf configuration system")
7721 (description
7722 "Dconf-editor is a graphical tool for browsing and editing the dconf
7723 configuration system for GNOME. It allows users to configure desktop
7724 software that do not provide their own configuration interface.")
7725 (license license:lgpl2.1+)))
7726
7727 (define-public gnome-default-applications
7728 (package
7729 (name "gnome-default-applications")
7730 (version "0")
7731 (build-system trivial-build-system)
7732 (source #f)
7733 (propagated-inputs
7734 `(("nautilus" ,nautilus)
7735 ("evince" ,evince)))
7736 (arguments
7737 `(#:modules ((guix build utils))
7738 #:builder
7739 (begin
7740 (use-modules (guix build utils))
7741 (let* ((out (assoc-ref %outputs "out"))
7742 (apps (string-append out "/share/applications")))
7743 (mkdir-p apps)
7744 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7745 (lambda (port)
7746 (format port "[Default Applications]\n")
7747 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7748 (format port "application/pdf=evince.desktop\n")
7749 (format port "application/postscript=evince.desktop\n")))
7750 #t))))
7751 (synopsis "Default MIME type associations for the GNOME desktop")
7752 (description
7753 "Given many installed packages which might handle a given MIME type, a
7754 user running the GNOME desktop probably has some preferences: for example,
7755 that folders be opened by default by the Nautilus file manager, not the Baobab
7756 disk usage analyzer. This package establishes that set of default MIME type
7757 associations for GNOME.")
7758 (license license:gpl3+)
7759 (home-page #f)))
7760
7761 (define-public libgovirt
7762 (package
7763 (name "libgovirt")
7764 (version "0.3.6")
7765 (source (origin
7766 (method url-fetch)
7767 (uri (string-append "mirror://gnome/sources/" name "/"
7768 (version-major+minor version) "/"
7769 name "-" version ".tar.xz"))
7770 (sha256
7771 (base32
7772 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7773 (build-system glib-or-gtk-build-system)
7774 (native-inputs
7775 `(("gettext" ,gettext-minimal)
7776 ("glib:bin" ,glib "bin")
7777 ("gobject-introspection" ,gobject-introspection)
7778 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7779 ("gtk+:bin" ,gtk+ "bin")
7780 ("pkg-config" ,pkg-config)))
7781 (inputs
7782 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7783 ("librest" ,rest)))
7784 (synopsis "GoVirt Library")
7785 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7786 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7787 (license license:gpl2+)))
7788
7789 (define-public gnome-weather
7790 (package
7791 (name "gnome-weather")
7792 (version "3.34.0")
7793 (source (origin
7794 (method url-fetch)
7795 (uri (string-append "mirror://gnome/sources/" name "/"
7796 (version-major+minor version) "/"
7797 name "-" version ".tar.xz"))
7798 (sha256
7799 (base32
7800 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7801 (build-system meson-build-system)
7802 (native-inputs
7803 `(("gettext" ,gettext-minimal)
7804 ("glib:bin" ,glib "bin")
7805 ("gobject-introspection" ,gobject-introspection)
7806 ("gtk+:bin" ,gtk+ "bin")
7807 ("pkg-config" ,pkg-config)))
7808 (inputs
7809 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7810 ("appstream-glib" ,appstream-glib)
7811 ("geoclue" ,geoclue)
7812 ("gdk-pixbuf" ,gdk-pixbuf)
7813 ("gjs" ,gjs)
7814 ("gnome-desktop" ,gnome-desktop)
7815 ("libgweather" ,libgweather)))
7816 (arguments
7817 `(#:glib-or-gtk? #t
7818 #:phases
7819 (modify-phases %standard-phases
7820 (add-after 'install 'fix-desktop-file
7821 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7822 ;; See https://issues.guix.gnu.org/issue/39324.
7823 (lambda* (#:key outputs #:allow-other-keys)
7824 (let* ((out (assoc-ref outputs "out"))
7825 (applications (string-append out "/share/applications")))
7826 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7827 (("Exec=.*") "Exec=gnome-weather\n"))
7828 #t)))
7829 (add-after 'install 'wrap
7830 (lambda* (#:key inputs outputs #:allow-other-keys)
7831 (let ((out (assoc-ref outputs "out"))
7832 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7833 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
7834 (wrap-program (string-append out "/bin/gnome-weather")
7835 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
7836 #t))))))
7837 (synopsis "Weather monitoring for GNOME desktop")
7838 (description "GNOME Weather is a small application that allows you to
7839 monitor the current weather conditions for your city, or anywhere in the
7840 world.")
7841 (home-page "https://wiki.gnome.org/Apps/Weather")
7842 (license license:gpl2+)))
7843
7844 (define-public gnome
7845 (package
7846 (name "gnome")
7847 (version (package-version gnome-shell))
7848 (source #f)
7849 (build-system trivial-build-system)
7850 (arguments '(#:builder (begin (mkdir %output) #t)))
7851 (propagated-inputs
7852 ;; TODO: Add or remove packages according to:
7853 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7854 `(
7855 ;; GNOME-Core-OS-Services
7856 ("accountsservice" ,accountsservice)
7857 ("network-manager" ,network-manager)
7858 ("packagekit" ,packagekit)
7859 ("upower" ,upower)
7860 ;; GNOME-Core-Shell
7861 ("adwaita-icon-theme" ,adwaita-icon-theme)
7862 ("gdm" ,gdm)
7863 ("glib-networking" ,glib-networking)
7864 ("gnome-backgrounds" ,gnome-backgrounds)
7865 ("gnome-bluetooth" ,gnome-bluetooth)
7866 ("gnome-color-manager" ,gnome-color-manager)
7867 ("gnome-control-center" ,gnome-control-center)
7868 ("gnome-desktop" ,gnome-desktop)
7869 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7870 ("gnome-initial-setup" ,gnome-initial-setup)
7871 ("gnome-keyring" ,gnome-keyring)
7872 ("gnome-menus" ,gnome-menus)
7873 ("gnome-session" ,gnome-session)
7874 ("gnome-settings-daemon" ,gnome-settings-daemon)
7875 ("gnome-shell-extensions" ,gnome-shell-extensions)
7876 ("gnome-shell" ,gnome-shell)
7877 ("gnome-themes-extra" ,gnome-themes-extra)
7878 ("gnome-user-docs" ,gnome-user-docs)
7879 ("gnome-user-share" ,gnome-user-share)
7880 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7881 ("gvfs" ,gvfs)
7882 ("mutter" ,mutter)
7883 ("orca" ,orca)
7884 ("rygel" ,rygel)
7885 ("sushi" ,sushi)
7886 ;; GNOME-Core-Utilities
7887 ("baobab" ,baobab)
7888 ("cheese" ,cheese)
7889 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
7890 ;; only works on x86_64, so exclude it on other architectures.
7891 ,@(if (string-prefix? "x86_64" (%current-system))
7892 `(("eog" ,eog))
7893 '())
7894 ("epiphany" ,epiphany)
7895 ("evince" ,evince)
7896 ("file-roller" ,file-roller)
7897 ("gedit" ,gedit)
7898 ; TODO: ("gnome-boxes" ,gnome-boxes)
7899 ("gnome-calculator" ,gnome-calculator)
7900 ("gnome-calendar" ,gnome-calendar)
7901 ("gnome-characters" ,gnome-characters)
7902 ("gnome-clocks" ,gnome-clocks)
7903 ("gnome-contacts" ,gnome-contacts)
7904 ("gnome-disk-utility" ,gnome-disk-utility)
7905 ("gnome-font-viewer" ,gnome-font-viewer)
7906 ("gnome-maps" ,gnome-maps)
7907 ; TODO: ("gnome-music" ,gnome-music)
7908 ; TODO: ("gnome-photos" ,gnome-photos)
7909 ("gnome-screenshot" ,gnome-screenshot)
7910 ("gnome-system-monitor" ,gnome-system-monitor)
7911 ("gnome-terminal" ,gnome-terminal)
7912 ("gnome-weather" ,gnome-weather)
7913 ("nautilus" ,nautilus)
7914 ("simple-scan" ,simple-scan)
7915 ("totem" ,totem)
7916 ("yelp" ,yelp)
7917 ;; Others
7918 ("hicolor-icon-theme" ,hicolor-icon-theme)
7919 ("gnome-online-accounts" ,gnome-online-accounts)
7920
7921 ;; Packages not part of GNOME proper but that are needed for a good
7922 ;; experience. See <https://bugs.gnu.org/39646>.
7923 ;; XXX: Find out exactly which ones are needed and why.
7924 ("font-cantarell" ,font-cantarell)
7925 ("font-dejavu" ,font-dejavu)
7926 ("at-spi2-core" ,at-spi2-core)
7927 ("dbus" ,dbus)
7928 ("dconf" ,dconf)
7929 ("desktop-file-utils" ,desktop-file-utils)
7930 ("gnome-default-applications" ,gnome-default-applications)
7931 ("gnome-themes-standard" ,gnome-themes-standard)
7932 ("gst-plugins-base" ,gst-plugins-base)
7933 ("gst-plugins-good" ,gst-plugins-good)
7934 ("gucharmap" ,gucharmap)
7935 ("pinentry-gnome3" ,pinentry-gnome3)
7936 ("pulseaudio" ,pulseaudio)
7937 ("shared-mime-info" ,shared-mime-info)
7938 ("system-config-printer" ,system-config-printer)
7939 ("xdg-user-dirs" ,xdg-user-dirs)
7940 ("yelp" ,yelp)
7941 ("zenity" ,zenity)))
7942 (synopsis "The GNU desktop environment")
7943 (home-page "https://www.gnome.org/")
7944 (description
7945 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7946 applications for browsing the web, editing text and images, creating
7947 documents and diagrams, playing media, scanning, and much more.")
7948 (license license:gpl2+)))
7949
7950 (define-public byzanz
7951 ;; The last stable release of Byzanz was in 2011, but there have been many
7952 ;; useful commits made to the Byzanz repository since then that it would be
7953 ;; silly to use such an old release.
7954 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7955 (package
7956 (name "byzanz")
7957 (version (string-append "0.2-1." (string-take commit 7)))
7958 (source (origin
7959 (method git-fetch)
7960 (uri (git-reference
7961 (url "https://git.gnome.org/browse/byzanz")
7962 (commit commit)))
7963 (file-name (string-append name "-" version "-checkout"))
7964 (sha256
7965 (base32
7966 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7967 (build-system glib-or-gtk-build-system)
7968 (arguments
7969 '(#:phases
7970 (modify-phases %standard-phases
7971 (add-before 'bootstrap 'build-without-Werror
7972 (lambda _
7973 ;; The build system cleverly detects that we're not building from
7974 ;; a release tarball and turns on -Werror for GCC.
7975 ;; Unsurprisingly, there is a warning during compilation that
7976 ;; causes the build to fail unnecessarily, so we remove the flag.
7977 (substitute* '("configure.ac")
7978 (("-Werror") ""))
7979 #t)))))
7980 (native-inputs
7981 `(("autoconf" ,autoconf)
7982 ("automake" ,automake)
7983 ("gnome-common" ,gnome-common)
7984 ("intltool" ,intltool)
7985 ("libtool" ,libtool)
7986 ("pkg-config" ,pkg-config)
7987 ("which" ,which)))
7988 (inputs
7989 `(("glib" ,glib)
7990 ("gstreamer" ,gstreamer)
7991 ("gst-plugins-base" ,gst-plugins-base)
7992 ("gtk+" ,gtk+)))
7993 (synopsis "Desktop recording program")
7994 (description "Byzanz is a simple desktop recording program with a
7995 command-line interface. It can record part or all of an X display for a
7996 specified duration and save it as a GIF encoded animated image file.")
7997 (home-page "https://git.gnome.org/browse/byzanz")
7998 (license license:gpl2+))))
7999
8000 (define-public gsound
8001 (package
8002 (name "gsound")
8003 (version "1.0.2")
8004 (source (origin
8005 (method url-fetch)
8006 (uri (string-append "mirror://gnome/sources/" name "/"
8007 (version-major+minor version) "/"
8008 name "-" version ".tar.xz"))
8009 (sha256
8010 (base32
8011 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8012 (build-system glib-or-gtk-build-system)
8013 (native-inputs
8014 `(("pkg-config" ,pkg-config)
8015 ("gobject-introspection" ,gobject-introspection)
8016 ("vala" ,vala)))
8017 (inputs
8018 `(("glib" ,glib)
8019 ("libcanberra" ,libcanberra)))
8020 (home-page "https://wiki.gnome.org/Projects/GSound")
8021 (synopsis "GObject wrapper for libcanberra")
8022 (description
8023 "GSound is a small library for playing system sounds. It's designed to be
8024 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8025 library.")
8026 (license license:lgpl2.1+)))
8027
8028 (define-public libzapojit
8029 (package
8030 (name "libzapojit")
8031 (version "0.0.3")
8032 (source (origin
8033 (method url-fetch)
8034 (uri (string-append "mirror://gnome/sources/" name "/"
8035 (version-major+minor version) "/"
8036 name "-" version ".tar.xz"))
8037 (sha256
8038 (base32
8039 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8040 (build-system gnu-build-system)
8041 (native-inputs
8042 `(("gobject-introspection" ,gobject-introspection)
8043 ("intltool" ,intltool)
8044 ("pkg-config" ,pkg-config)))
8045 (inputs
8046 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8047 ("json-glib" ,json-glib)
8048 ("rest" ,rest)))
8049 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8050 (synopsis "Library for accessing SkyDrive and Hotmail")
8051 (description
8052 "Libzapojit is a GLib-based library for accessing online service APIs of
8053 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8054 (license license:lgpl2.1+)))
8055
8056 (define-public gnome-clocks
8057 (package
8058 (name "gnome-clocks")
8059 (version "3.34.0")
8060 (source (origin
8061 (method url-fetch)
8062 (uri (string-append "mirror://gnome/sources/" name "/"
8063 (version-major+minor version) "/"
8064 name "-" version ".tar.xz"))
8065 (sha256
8066 (base32
8067 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8068 (build-system meson-build-system)
8069 (arguments
8070 '(#:glib-or-gtk? #t
8071 #:phases
8072 (modify-phases %standard-phases
8073 (add-after 'unpack 'skip-gtk-update-icon-cache
8074 ;; Don't create 'icon-theme.cache'.
8075 (lambda _
8076 (substitute* "build-aux/post-install.py"
8077 (("gtk-update-icon-cache") "true"))
8078 #t)))))
8079 (native-inputs
8080 `(("vala" ,vala)
8081 ("pkg-config" ,pkg-config)
8082 ("glib" ,glib "bin") ; for glib-compile-resources
8083 ("desktop-file-utils" ,desktop-file-utils)
8084 ("gettext" ,gettext-minimal)
8085 ("itstool" ,itstool)))
8086 (inputs
8087 `(("glib" ,glib)
8088 ("gtk+" ,gtk+)
8089 ("gsound" ,gsound)
8090 ("geoclue" ,geoclue)
8091 ("geocode-glib" ,geocode-glib)
8092 ("libgweather" ,libgweather)
8093 ("gnome-desktop" ,gnome-desktop)))
8094 (home-page "https://wiki.gnome.org/Apps/Clocks")
8095 (synopsis "GNOME's clock application")
8096 (description
8097 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8098 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8099 (license license:gpl3+)))
8100
8101 (define-public gnome-calendar
8102 (package
8103 (name "gnome-calendar")
8104 (version "3.34.2")
8105 (source (origin
8106 (method url-fetch)
8107 (uri (string-append "mirror://gnome/sources/" name "/"
8108 (version-major+minor version) "/"
8109 name "-" version ".tar.xz"))
8110 (sha256
8111 (base32
8112 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8113 (build-system meson-build-system)
8114 (arguments
8115 '(#:glib-or-gtk? #t
8116 ;; gnome-calendar has to be installed before the tests can be run
8117 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8118 #:tests? #f
8119 #:phases
8120 (modify-phases %standard-phases
8121 (add-after 'unpack 'skip-gtk-update-icon-cache
8122 ;; Don't create 'icon-theme.cache'.
8123 (lambda _
8124 (substitute* "build-aux/meson/meson_post_install.py"
8125 (("gtk-update-icon-cache") "true"))
8126 #t)))))
8127 (native-inputs
8128 `(("gettext" ,gettext-minimal)
8129 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8130 ("pkg-config" ,pkg-config)))
8131 (inputs
8132 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8133 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8134 ("libdazzle" ,libdazzle)
8135 ("libedataserverui" ,evolution-data-server)
8136 ("libgweather" ,libgweather)
8137 ("geoclue" ,geoclue)))
8138 (propagated-inputs
8139 `(("evolution-data-server" ,evolution-data-server)))
8140 (home-page "https://wiki.gnome.org/Apps/Calendar")
8141 (synopsis "GNOME's calendar application")
8142 (description
8143 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8144 desktop. It supports multiple calendars, month, week and year view.")
8145 (license license:gpl3+)))
8146
8147 (define-public gnome-todo
8148 (package
8149 (name "gnome-todo")
8150 (version "3.28.1")
8151 (source (origin
8152 (method url-fetch)
8153 (uri (string-append "mirror://gnome/sources/" name "/"
8154 (version-major+minor version) "/"
8155 name "-" version ".tar.xz"))
8156 (sha256
8157 (base32
8158 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8159 (patches
8160 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8161 (build-system meson-build-system)
8162 (arguments
8163 '(#:glib-or-gtk? #t
8164 #:phases (modify-phases %standard-phases
8165 (add-after
8166 'install 'wrap-gnome-todo
8167 (lambda* (#:key inputs outputs #:allow-other-keys)
8168 (let ((out (assoc-ref outputs "out"))
8169 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8170 (python-path (getenv "PYTHONPATH")))
8171 (wrap-program (string-append out "/bin/gnome-todo")
8172 ;; XXX: gi plugins are broken.
8173 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8174 ;; For plugins.
8175 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8176 `("PYTHONPATH" ":" prefix (,python-path))))
8177 #t)))))
8178 (native-inputs
8179 `(("gettext" ,gettext-minimal)
8180 ("gobject-introspection" ,gobject-introspection)
8181 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8182 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8183 ("pkg-config" ,pkg-config)))
8184 (inputs
8185 `(("rest" ,rest) ; For Todoist plugin
8186 ("json-glib" ,json-glib) ; For Todoist plugin
8187 ("libedataserverui" ,evolution-data-server)
8188 ("libical" ,libical)
8189 ("libpeas" ,libpeas)
8190 ("python-pygobject" ,python-pygobject)
8191 ("evolution-data-server" ,evolution-data-server)
8192 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8193 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8194 (home-page "https://wiki.gnome.org/Apps/Todo")
8195 (synopsis "GNOME's ToDo Application")
8196 (description
8197 "GNOME To Do is a simplistic personal task manager designed to perfectly
8198 fit the GNOME desktop.")
8199 (license license:gpl3+)))
8200
8201 (define-public gnome-dictionary
8202 (package
8203 (name "gnome-dictionary")
8204 (version "3.26.1")
8205 (source (origin
8206 (method url-fetch)
8207 (uri (string-append "mirror://gnome/sources/" name "/"
8208 (version-major+minor version) "/"
8209 name "-" version ".tar.xz"))
8210 (sha256
8211 (base32
8212 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8213 (build-system meson-build-system)
8214 (arguments '(#:glib-or-gtk? #t
8215 #:phases (modify-phases %standard-phases
8216 (add-after 'unpack 'patch-install-script
8217 (lambda _
8218 ;; This script attempts to compile glib schemas
8219 ;; and create an empty MIME database. We do
8220 ;; that elsewhere, so prevent it from running.
8221 (substitute* "build-aux/post-install.sh"
8222 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8223 #t)))))
8224 (native-inputs
8225 `(("glib:bin" ,glib "bin")
8226 ("gobject-introspection" ,gobject-introspection)
8227 ("intltool" ,intltool)
8228 ("itstool" ,itstool)
8229 ("pkg-config" ,pkg-config)
8230 ("xmllint" ,libxml2)))
8231 (inputs
8232 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8233 ("gtk+" ,gtk+)))
8234 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8235 (synopsis "Look up words in dictionary sources")
8236 (description
8237 "GNOME Dictionary can look for the definition or translation of a word in
8238 existing databases over the internet.")
8239 (license license:gpl3+)))
8240
8241 (define-public gnome-tweaks
8242 (package
8243 (name "gnome-tweaks")
8244 (version "3.34.0")
8245 (source (origin
8246 (method url-fetch)
8247 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8248 (version-major+minor version) "/"
8249 "gnome-tweaks-" version ".tar.xz"))
8250 (patches
8251 (list (search-patch "gnome-tweaks-search-paths.patch")))
8252 (sha256
8253 (base32
8254 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8255 (build-system meson-build-system)
8256 (arguments
8257 `(#:glib-or-gtk? #t
8258 #:configure-flags '("-Dlocalstatedir=/tmp"
8259 "-Dsysconfdir=/tmp")
8260 #:imported-modules ((guix build python-build-system)
8261 ,@%meson-build-system-modules)
8262 #:phases
8263 (modify-phases %standard-phases
8264 (add-after 'unpack 'skip-gtk-update-icon-cache
8265 ;; Don't create 'icon-theme.cache'.
8266 (lambda _
8267 (substitute* "meson-postinstall.py"
8268 (("gtk-update-icon-cache") "true"))
8269 #t))
8270 (add-after 'install 'wrap
8271 (@@ (guix build python-build-system) wrap))
8272 (add-after 'wrap 'wrap-gi-typelib
8273 (lambda* (#:key inputs outputs #:allow-other-keys)
8274 (let ((out (assoc-ref outputs "out"))
8275 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8276 (wrap-program (string-append out "/bin/gnome-tweaks")
8277 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8278 #t)))))
8279 (native-inputs
8280 `(("intltool" ,intltool)
8281 ("pkg-config" ,pkg-config)))
8282 (inputs
8283 `(("gnome-desktop" ,gnome-desktop)
8284 ("gtk+" ,gtk+)
8285 ("gobject-introspection" ,gobject-introspection)
8286 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8287 ("libhandy" ,libhandy)
8288 ("libnotify" ,libnotify)
8289 ("libsoup" ,libsoup)
8290 ("nautilus" ,nautilus)
8291 ("python" ,python)
8292 ("python-pygobject" ,python-pygobject)))
8293 (synopsis "Customize advanced GNOME 3 options")
8294 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8295 (description
8296 "GNOME Tweaks allows adjusting advanced configuration settings in
8297 GNOME 3. This includes things like the fonts used in user interface elements,
8298 alternative user interface themes, changes in window management behavior,
8299 GNOME Shell appearance and extension, etc.")
8300 (license license:gpl3+)))
8301
8302 (define-public gnome-shell-extensions
8303 (package
8304 (name "gnome-shell-extensions")
8305 (version "3.34.2")
8306 (source (origin
8307 (method url-fetch)
8308 (uri (string-append "mirror://gnome/sources/" name "/"
8309 (version-major+minor version) "/"
8310 name "-" version ".tar.xz"))
8311 (sha256
8312 (base32
8313 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8314 (build-system meson-build-system)
8315 (arguments
8316 '(#:configure-flags '("-Dextension_set=all")))
8317 (native-inputs
8318 `(("glib:bin" ,glib "bin")
8319 ("intltool" ,intltool)
8320 ("pkg-config" ,pkg-config)))
8321 (propagated-inputs
8322 `(("glib" ,glib)))
8323 (synopsis "Extensions for GNOME Shell")
8324 (description "GNOME Shell extensions modify and extend GNOME Shell
8325 functionality and behavior.")
8326 (home-page "https://extensions.gnome.org/")
8327 (license license:gpl3+)))
8328
8329 (define-public arc-theme
8330 (package
8331 (name "arc-theme")
8332 (version "20190917")
8333 (source (origin
8334 (method git-fetch)
8335 (uri (git-reference
8336 (url "https://github.com/NicoHood/arc-theme.git")
8337 (commit version)))
8338 (file-name (git-file-name name version))
8339 (sha256
8340 (base32
8341 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8342 (build-system gnu-build-system)
8343 (arguments
8344 '(#:phases
8345 (modify-phases %standard-phases
8346 ;; autogen.sh calls configure at the end of the script.
8347 (replace 'bootstrap
8348 (lambda _ (invoke "autoreconf" "-vfi")))
8349 (add-before 'build 'set-home ;placate Inkscape
8350 (lambda _
8351 (setenv "HOME" (getcwd))
8352 #t)))))
8353 (native-inputs
8354 `(("autoconf" ,autoconf)
8355 ("automake" ,automake)
8356 ("glib" ,glib "bin") ; for glib-compile-resources
8357 ("gnome-shell" ,gnome-shell)
8358 ("gtk+" ,gtk+)
8359 ("inkscape" ,inkscape)
8360 ("optipng" ,optipng)
8361 ("pkg-config" ,pkg-config)
8362 ("sassc" ,sassc/libsass-3.5)))
8363 (synopsis "A flat GTK+ theme with transparent elements")
8364 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8365 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8366 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8367 (home-page "https://github.com/horst3180/arc-theme")
8368 ;; No "or later" language found.
8369 (license license:gpl3+)))
8370
8371 (define-public faba-icon-theme
8372 (package
8373 (name "faba-icon-theme")
8374 (version "4.3")
8375 (source
8376 (origin
8377 (method git-fetch)
8378 (uri (git-reference
8379 (url "https://github.com/snwh/faba-icon-theme.git")
8380 (commit (string-append "v" version))))
8381 (file-name (git-file-name name version))
8382 (sha256
8383 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8384 (build-system meson-build-system)
8385 (arguments
8386 `(#:phases
8387 (modify-phases %standard-phases
8388 (add-before 'configure 'disable-post-install
8389 (lambda _
8390 (substitute* "meson.build"
8391 (("meson.add_install_script.*") "")))))))
8392 (native-inputs
8393 `(("autoconf" ,autoconf)
8394 ("automake" ,automake)))
8395 (synopsis "Faba icon theme")
8396 (description
8397 "Faba is a minimal icon set used as a basis for other themes such as
8398 Moka")
8399 (home-page "https://snwh.org/moka")
8400 (license (list license:lgpl3+
8401 license:cc-by-sa4.0))))
8402
8403 (define-public moka-icon-theme
8404 (package
8405 (inherit faba-icon-theme)
8406 (name "moka-icon-theme")
8407 (version "5.4.0")
8408 (source
8409 (origin
8410 (method git-fetch)
8411 (uri (git-reference
8412 (url "https://github.com/snwh/moka-icon-theme.git")
8413 (commit (string-append "v" version))))
8414 (file-name (git-file-name name version))
8415 (sha256
8416 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8417 (propagated-inputs
8418 ;; Moka is based on Faba by using it as a fallback icon set instead of
8419 ;; bundling it, so we need to add it as a propagated input.
8420 `(("faba-icon-theme" ,faba-icon-theme)))
8421 (synopsis "Moka icon theme")
8422 (description "Moka is a stylized desktop icon set, designed to be clear,
8423 simple and consistent.")
8424 (license (list license:gpl3+
8425 license:cc-by-sa4.0))))
8426
8427 (define-public arc-icon-theme
8428 (package
8429 (name "arc-icon-theme")
8430 (version "20161122")
8431 (source
8432 (origin
8433 (method git-fetch)
8434 (uri (git-reference
8435 (url "https://github.com/horst3180/arc-icon-theme.git")
8436 (commit version)))
8437 (file-name (git-file-name name version))
8438 (sha256
8439 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8440 (build-system gnu-build-system)
8441 (arguments
8442 `(#:phases
8443 (modify-phases %standard-phases
8444 (add-after 'unpack 'disable-configure-during-bootstrap
8445 (lambda _
8446 (substitute* "autogen.sh"
8447 (("^\"\\$srcdir/configure\".*") ""))
8448 #t)))))
8449 (native-inputs
8450 `(("autoconf" ,autoconf)
8451 ("automake" ,automake)))
8452 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8453 (propagated-inputs
8454 `(("moka-icon-theme" ,moka-icon-theme)))
8455 (synopsis "Arc icon theme")
8456 (description "The Arc icon theme provides a set of icons matching the
8457 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8458 the Moka icon theme.")
8459 (home-page "https://github.com/horst3180/arc-icon-theme")
8460 (license license:gpl3+)))
8461
8462 (define-public folks
8463 (package
8464 (name "folks")
8465 (version "0.13.1")
8466 (source (origin
8467 (method url-fetch)
8468 (uri (string-append
8469 "mirror://gnome/sources/folks/"
8470 (version-major+minor version) "/"
8471 "folks-" version ".tar.xz"))
8472 (sha256
8473 (base32
8474 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8475 (build-system meson-build-system)
8476 (arguments
8477 '(#:phases
8478 (modify-phases %standard-phases
8479 (add-after 'unpack 'skip-gtk-update-icon-cache
8480 ;; Don't create 'icon-theme.cache'.
8481 (lambda _
8482 (substitute* "meson_post_install.py"
8483 (("gtk-update-icon-cache") "true"))
8484 #t)))))
8485 (inputs
8486 `(("bdb" ,bdb)
8487 ("dbus-glib" ,dbus-glib)
8488 ("evolution-data-server" ,evolution-data-server)
8489 ("glib" ,glib)
8490 ("libgee" ,libgee)
8491 ("readline" ,readline)
8492 ("telepathy-glib" ,telepathy-glib)))
8493 (native-inputs
8494 `(("glib:bin" ,glib "bin")
8495 ("gobject-introspection" ,gobject-introspection)
8496 ("intltool" ,intltool)
8497 ("pkg-config" ,pkg-config)
8498 ("vala" ,vala)))
8499 (synopsis "Library to aggregate data about people")
8500 (description "Libfolks is a library that aggregates information about people
8501 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8502 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8503 etc.) to create metacontacts. It's written in Vala, which generates C code when
8504 compiled.")
8505 (home-page "https://wiki.gnome.org/Projects/Folks")
8506 (license license:lgpl2.1+)))
8507
8508 (define-public gfbgraph
8509 (package
8510 (name "gfbgraph")
8511 (version "0.2.3")
8512 (source (origin
8513 (method url-fetch)
8514 (uri (string-append
8515 "mirror://gnome/sources/gfbgraph/"
8516 (version-major+minor version) "/"
8517 "gfbgraph-" version ".tar.xz"))
8518 (sha256
8519 (base32
8520 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8521 (build-system glib-or-gtk-build-system)
8522 (arguments
8523 `(#:tests? #f ; Tests appear to require the network.
8524 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8525 #:configure-flags '("--disable-gtk-doc"
8526 "--disable-static"
8527 "--enable-introspection")))
8528 (native-inputs
8529 `(("pkg-config" ,pkg-config)
8530 ("gobject-introspection" ,gobject-introspection)))
8531 (inputs
8532 `(("json-glib" ,json-glib)
8533 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8534 ("rest" ,rest)))
8535 (synopsis "GLib/GObject wrapper for the Facebook API")
8536 (description "This library allows you to use the Facebook API from
8537 GLib/GObject code.")
8538 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8539 (license license:lgpl2.1+)))
8540
8541 (define-public libgnomekbd
8542 (package
8543 (name "libgnomekbd")
8544 (version "3.26.1")
8545 (source (origin
8546 (method url-fetch)
8547 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8548 (version-major+minor version) "/"
8549 "libgnomekbd-" version ".tar.xz"))
8550 (sha256
8551 (base32
8552 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8553 (build-system gnu-build-system)
8554 (native-inputs
8555 `(("pkg-config" ,pkg-config)
8556 ("glib" ,glib "bin")
8557 ("intltool" ,intltool)))
8558 (propagated-inputs
8559 ;; Referred to in .h files and .pc.
8560 `(("glib" ,glib)
8561 ("gtk+" ,gtk+)
8562 ("libxklavier" ,libxklavier)))
8563 (home-page "https://www.gnome.org")
8564 (synopsis "GNOME keyboard configuration library")
8565 (description
8566 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8567 environment, which can notably display keyboard layouts.")
8568 (license license:lgpl2.0+)))
8569
8570 ;;; This package is no longer maintained:
8571 ;;; https://wiki.gnome.org/Attic/LibUnique
8572 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8573 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8574 (define-public libunique
8575 (package
8576 (name "libunique")
8577 (version "3.0.2")
8578 (source (origin
8579 (method url-fetch)
8580 (uri (string-append "mirror://gnome/sources/" name "/"
8581 (version-major+minor version) "/"
8582 name "-" version ".tar.xz"))
8583 (sha256
8584 (base32
8585 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8586 (build-system glib-or-gtk-build-system)
8587 (arguments
8588 `(#:configure-flags '("--disable-static"
8589 "--disable-dbus" ; use gdbus
8590 "--enable-introspection")))
8591 (native-inputs
8592 `(("pkg-config" ,pkg-config)
8593 ("gobject-introspection" ,gobject-introspection)
8594 ("glib:bin" ,glib "bin")
8595 ("gtk-doc" ,gtk-doc)))
8596 (propagated-inputs
8597 ;; Referred to in .h files and .pc.
8598 `(("gtk+" ,gtk+)))
8599 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8600 (synopsis "Library for writing single instance applications")
8601 (description
8602 "Libunique is a library for writing single instance applications. If you
8603 launch a single instance application twice, the second instance will either just
8604 quit or will send a message to the running instance. Libunique makes it easy to
8605 write this kind of application, by providing a base class, taking care of all
8606 the IPC machinery needed to send messages to a running instance, and also
8607 handling the startup notification side.")
8608 (license license:lgpl2.1+)))
8609
8610 (define-public gnome-calculator
8611 (package
8612 (name "gnome-calculator")
8613 (version "3.34.1")
8614 (source
8615 (origin
8616 (method url-fetch)
8617 (uri (string-append "mirror://gnome/sources/" name "/"
8618 (version-major+minor version) "/"
8619 name "-" version ".tar.xz"))
8620 (sha256
8621 (base32
8622 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8623 (build-system meson-build-system)
8624 (arguments '(#:glib-or-gtk? #t))
8625 (native-inputs
8626 `(("gettext" ,gettext-minimal)
8627 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8628 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8629 ("itstool" ,itstool)
8630 ("vala" ,vala)
8631 ("pkg-config" ,pkg-config)))
8632 (inputs
8633 `(("glib" ,glib)
8634 ("gtksourceview" ,gtksourceview)
8635 ("libgee" ,libgee)
8636 ("libsoup" ,libsoup)
8637 ("libxml2" ,libxml2)
8638 ("mpc" ,mpc)
8639 ("mpfr" ,mpfr)))
8640 (home-page "https://wiki.gnome.org/Apps/Calculator")
8641 (synopsis "Desktop calculator")
8642 (description
8643 "Calculator is an application that solves mathematical equations and
8644 is suitable as a default application in a Desktop environment.")
8645 (license license:gpl3)))
8646
8647 (define-public xpad
8648 (package
8649 (name "xpad")
8650 (version "5.1.0")
8651 (source
8652 (origin
8653 (method url-fetch)
8654 (uri (string-append "https://launchpad.net/xpad/trunk/"
8655 version "/+download/"
8656 name "-" version ".tar.bz2"))
8657 (sha256
8658 (base32
8659 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8660 (build-system gnu-build-system)
8661 (native-inputs
8662 `(("autoconf" ,autoconf)
8663 ("automake" ,automake)
8664 ("gtk+:bin" ,gtk+ "bin")
8665 ("intltool" ,intltool)
8666 ("pkg-config" ,pkg-config)))
8667 (inputs
8668 `(("gtksourceview" ,gtksourceview-3)
8669 ("libsm" ,libsm)))
8670 (home-page "https://wiki.gnome.org/Apps/Xpad")
8671 (synopsis "Virtual sticky note")
8672 (description
8673 "Xpad is a sticky note that strives to be simple, fault tolerant,
8674 and customizable. Xpad consists of independent pad windows, each is
8675 basically a text box in which notes can be written.")
8676 (license license:gpl3+)))
8677
8678 (define-public gucharmap
8679 (let ((unicode-files
8680 '(("Blocks.txt"
8681 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8682 ("DerivedAge.txt"
8683 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8684 ("NamesList.txt"
8685 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8686 ("Scripts.txt"
8687 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8688 ("UnicodeData.txt"
8689 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8690 ("Unihan.zip"
8691 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8692 (package
8693 (name "gucharmap")
8694 (version "12.0.1")
8695 (source
8696 (origin
8697 (method url-fetch)
8698 (uri (string-append "mirror://gnome/sources/" name "/"
8699 (version-major+minor version) "/"
8700 name "-" version ".tar.xz"))
8701 (sha256
8702 (base32
8703 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8704 (build-system glib-or-gtk-build-system)
8705 (arguments
8706 `(#:modules ((ice-9 match)
8707 (guix build glib-or-gtk-build-system)
8708 (guix build utils))
8709 #:configure-flags
8710 (list "--with-unicode-data=../unicode-data")
8711 #:phases
8712 (modify-phases %standard-phases
8713 (add-after 'unpack 'prepare-unicode-data
8714 (lambda* (#:key inputs #:allow-other-keys)
8715 (mkdir-p "../unicode-data")
8716 (with-directory-excursion "../unicode-data"
8717 (for-each (match-lambda
8718 ((file _)
8719 (install-file (assoc-ref inputs file) ".")))
8720 ',unicode-files))
8721 #t)))))
8722 (native-inputs
8723 `(("desktop-file-utils" ,desktop-file-utils)
8724 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8725 ("gobject-introspection" ,gobject-introspection)
8726 ("intltool" ,intltool)
8727 ("itstool" ,itstool)
8728 ("pkg-config" ,pkg-config)
8729 ,@(map (match-lambda
8730 ((file hash)
8731 `(,file
8732 ,(origin
8733 (method url-fetch)
8734 (uri (string-append
8735 "http://www.unicode.org/Public/12.0.0/ucd/"
8736 file))
8737 (sha256 (base32 hash))))))
8738 unicode-files)
8739 ("unzip" ,unzip)))
8740 (inputs
8741 `(("gtk+" ,gtk+)
8742 ("xmllint" ,libxml2)))
8743 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8744 (synopsis "Unicode character picker and font browser")
8745 (description
8746 "This program allows you to browse through all the available Unicode
8747 characters and categories for the installed fonts, and to examine their
8748 detailed properties. It is an easy way to find the character you might
8749 only know by its Unicode name or code point.")
8750 (license license:gpl3+))))
8751
8752 (define-public bluefish
8753 (package
8754 (name "bluefish")
8755 (version "2.2.11")
8756 (source
8757 (origin
8758 (method url-fetch)
8759 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8760 "bluefish-" version ".tar.gz"))
8761 (sha256
8762 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8763 (build-system gnu-build-system)
8764 (native-inputs
8765 `(("desktop-file-utils" ,desktop-file-utils)
8766 ("intltool" ,intltool)
8767 ("pkg-config" ,pkg-config)))
8768 (inputs
8769 `(("enchant" ,enchant)
8770 ("gtk+" ,gtk+)
8771 ("python" ,python-wrapper)
8772 ("xmllint" ,libxml2)
8773 ("gucharmap" ,gucharmap)))
8774 (home-page "http://bluefish.openoffice.nl")
8775 (synopsis "Web development studio")
8776 (description
8777 "Bluefish is an editor targeted towards programmers and web developers,
8778 with many options to write web sites, scripts and other code.
8779 Bluefish supports many programming and markup languages.")
8780 (license license:gpl3+)))
8781
8782 (define-public gnome-system-monitor
8783 (package
8784 (name "gnome-system-monitor")
8785 (version "3.32.1")
8786 (source
8787 (origin
8788 (method url-fetch)
8789 (uri (string-append "mirror://gnome/sources/" name "/"
8790 (version-major+minor version) "/"
8791 name "-" version ".tar.xz"))
8792 (sha256
8793 (base32
8794 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8795 (build-system meson-build-system)
8796 (arguments
8797 '(#:glib-or-gtk? #t
8798 #:configure-flags '("-Dsystemd=false")))
8799 (native-inputs
8800 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8801 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8802 ("intltool" ,intltool)
8803 ("itstool" ,itstool)
8804 ("libgtop" ,libgtop)
8805 ("polkit" ,polkit)
8806 ("pkg-config" ,pkg-config)))
8807 (inputs
8808 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8809 ("gtk+" ,gtk+)
8810 ("gtkmm" ,gtkmm)
8811 ("librsvg" ,librsvg)
8812 ("libxml2" ,libxml2)
8813 ("libwnck" ,libwnck)))
8814 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8815 (synopsis "Process viewer and system resource monitor for GNOME")
8816 (description
8817 "GNOME System Monitor is a GNOME process viewer and system monitor with
8818 an attractive, easy-to-use interface. It has features, such as a tree view
8819 for process dependencies, icons for processes, the ability to hide processes,
8820 graphical time histories of CPU/memory/swap usage and the ability to
8821 kill/reinice processes.")
8822 (license license:gpl2+)))
8823
8824 (define-public python-pyatspi
8825 (package
8826 (name "python-pyatspi")
8827 (version "2.34.0")
8828 (source (origin
8829 (method url-fetch)
8830 (uri (string-append
8831 "mirror://gnome/sources/pyatspi/"
8832 (version-major+minor version)
8833 "/pyatspi-" version ".tar.xz"))
8834 (sha256
8835 (base32
8836 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8837 (build-system gnu-build-system)
8838 (arguments
8839 `(#:phases
8840 (modify-phases %standard-phases
8841 (add-before 'build 'fix-atk-load
8842 (lambda _
8843 (substitute* "pyatspi/__init__.py"
8844 (("from gi.repository import Atspi")
8845 "gi.require_version('Gtk', '3.0')
8846 from gi.repository import Gtk
8847 from gi.repository import Atspi"))
8848 #t)))))
8849 (native-inputs
8850 `(("pkg-config" ,pkg-config)))
8851 (inputs
8852 `(("python" ,python)
8853 ("python-pygobject" ,python-pygobject)))
8854 (synopsis "Python client bindings for D-Bus AT-SPI")
8855 (home-page "https://wiki.linuxfoundation.org/accessibility\
8856 /atk/at-spi/at-spi_on_d-bus")
8857 (description
8858 "This package includes a python client library for the AT-SPI D-Bus
8859 accessibility infrastructure.")
8860 (license license:lgpl2.0)
8861 (properties '((upstream-name . "pyatspi")))))
8862
8863 (define-public python2-pyatspi
8864 (package
8865 (inherit python-pyatspi)
8866 (name "python2-pyatspi")
8867 (inputs
8868 `(("python" ,python-2)
8869 ("python-pygobject" ,python2-pygobject)))))
8870
8871 (define-public orca
8872 (package
8873 (name "orca")
8874 (version "3.34.1")
8875 (source (origin
8876 (method url-fetch)
8877 (uri (string-append
8878 "mirror://gnome/sources/" name "/"
8879 (version-major+minor version) "/"
8880 name "-" version ".tar.xz"))
8881 (sha256
8882 (base32
8883 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
8884 (build-system glib-or-gtk-build-system)
8885 (arguments
8886 '(#:phases
8887 (modify-phases %standard-phases
8888 (add-before 'configure 'qualify-xkbcomp
8889 (lambda* (#:key inputs #:allow-other-keys)
8890 (let ((xkbcomp (string-append
8891 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8892 (substitute* "src/orca/orca.py"
8893 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8894 #t))
8895 (add-after 'install 'wrap-orca
8896 (lambda* (#:key outputs #:allow-other-keys)
8897 (let* ((out (assoc-ref outputs "out"))
8898 (prog (string-append out "/bin/orca")))
8899 (wrap-program prog
8900 `("GI_TYPELIB_PATH" ":" prefix
8901 (,(getenv "GI_TYPELIB_PATH")))
8902 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8903 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8904 `("PYTHONPATH" ":" prefix
8905 (,(getenv "PYTHONPATH")))))
8906 #t)))))
8907 (native-inputs
8908 `(("intltool" ,intltool)
8909 ("itstool" ,itstool)
8910 ("pkg-config" ,pkg-config)
8911 ("xmllint" ,libxml2)))
8912 (inputs
8913 `(("at-spi2-atk" ,at-spi2-atk)
8914 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8915 ("gstreamer" ,gstreamer)
8916 ("gst-plugins-base" ,gst-plugins-base)
8917 ("gst-plugins-good" ,gst-plugins-good)
8918 ("gtk+" ,gtk+)
8919 ("python" ,python)
8920 ("python-pygobject" ,python-pygobject)
8921 ("python-pyatspi" ,python-pyatspi)
8922 ("python-speechd" ,speech-dispatcher)
8923 ("xkbcomp" ,xkbcomp)))
8924 (synopsis
8925 "Screen reader for individuals who are blind or visually impaired")
8926 (home-page "https://wiki.gnome.org/Projects/Orca")
8927 (description
8928 "Orca is a screen reader that provides access to the graphical desktop
8929 via speech and refreshable braille. Orca works with applications and toolkits
8930 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8931 (license license:lgpl2.1+)))
8932
8933 (define-public gspell
8934 (package
8935 (name "gspell")
8936 (version "1.8.2")
8937 (source (origin
8938 (method url-fetch)
8939 (uri (string-append "mirror://gnome/sources/" name "/"
8940 (version-major+minor version) "/"
8941 name "-" version ".tar.xz"))
8942 (sha256
8943 (base32
8944 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8945 (patches (search-patches "gspell-dash-test.patch"))))
8946 (build-system glib-or-gtk-build-system)
8947 (arguments
8948 '(#:configure-flags (list "--enable-vala")
8949 #:phases
8950 (modify-phases %standard-phases
8951 (add-before 'check 'pre-check
8952 (lambda* (#:key inputs #:allow-other-keys)
8953 ;; Tests require a running X server.
8954 (system "Xvfb :1 &")
8955 (setenv "DISPLAY" ":1")
8956
8957 ;; For the missing /etc/machine-id.
8958 (setenv "DBUS_FATAL_WARNINGS" "0")
8959
8960 ;; Allow Enchant and its Aspell backend to find the en_US
8961 ;; dictionary.
8962 (setenv "ASPELL_DICT_DIR"
8963 (string-append (assoc-ref inputs "aspell-dict-en")
8964 "/lib/aspell"))
8965 #t)))))
8966 (inputs
8967 `(("gtk+" ,gtk+)
8968 ("glib" ,glib)
8969 ("iso-codes" ,iso-codes)))
8970 (native-inputs
8971 `(("glib" ,glib "bin")
8972 ("gobject-introspection" ,gobject-introspection)
8973 ("pkg-config" ,pkg-config)
8974 ("vala" ,vala) ;for VAPI, needed by Geary
8975 ("xmllint" ,libxml2)
8976
8977 ;; For tests.
8978 ("aspell-dict-en" ,aspell-dict-en)
8979 ("xorg-server" ,xorg-server-for-tests)))
8980 (propagated-inputs
8981 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8982 (home-page "https://wiki.gnome.org/Projects/gspell")
8983 (synopsis "GNOME's alternative spell checker")
8984 (description
8985 "gspell provides a flexible API to add spell-checking to a GTK+
8986 application. It provides a GObject API, spell-checking to text entries and
8987 text views, and buttons to choose the language.")
8988 (license license:gpl2+)))
8989
8990 (define-public gnome-planner
8991 (package
8992 (name "gnome-planner")
8993 (version "0.14.6")
8994 (source (origin
8995 (method url-fetch)
8996 (uri (string-append "mirror://gnome/sources/planner/"
8997 (version-major+minor version) "/planner-"
8998 version ".tar.xz"))
8999 (sha256
9000 (base32
9001 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9002 (build-system glib-or-gtk-build-system)
9003 (arguments
9004 ;; Disable the Python bindings because the Planner program functions
9005 ;; without them, and (as of 2017-06-13) we have not packaged all of
9006 ;; packages that are necessary for building the Python bindings.
9007 `(#:configure-flags
9008 (list "--disable-python"
9009 ,@(if (string=? "aarch64-linux" (%current-system))
9010 '("--build=aarch64-unknown-linux-gnu")
9011 '()))))
9012 (inputs
9013 `(("libgnomecanvas" ,libgnomecanvas)
9014 ("libgnomeui" ,libgnomeui)
9015 ("libglade" ,libglade)
9016 ("gnome-vfs" ,gnome-vfs)
9017 ("gconf" ,gconf)
9018 ("libxml2" ,libxml2)
9019 ("libxslt" ,libxslt)
9020 ("gtk+" ,gtk+)
9021 ("glib" ,glib)))
9022 (native-inputs
9023 `(("intltool" ,intltool)
9024 ("scrollkeeper" ,scrollkeeper)
9025 ("pkg-config" ,pkg-config)))
9026 (home-page "https://wiki.gnome.org/Apps/Planner")
9027 (synopsis "Project management software for the GNOME desktop")
9028 (description
9029 "GNOME Planner is a project management tool based on the Work Breakdown
9030 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9031 the resources, tasks, and constraints that you define, Planner generates
9032 various views into a project. For example, Planner can show a Gantt chart of
9033 the project. It can show a detailed summary of tasks including their
9034 duration, cost, and current progress. It can also show a report of resource
9035 utilization that highlights under-utilized and over-utilized resources. These
9036 views can be printed as PDF or PostScript files, or exported to HTML.")
9037 (license license:gpl2+)))
9038
9039 (define-public lollypop
9040 (package
9041 (name "lollypop")
9042 (version "1.2.32")
9043 (source
9044 (origin
9045 (method url-fetch)
9046 (uri (string-append "https://adishatz.org/lollypop/"
9047 "lollypop-" version ".tar.xz"))
9048 (sha256
9049 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9050 (build-system meson-build-system)
9051 (arguments
9052 `(#:imported-modules
9053 (,@%meson-build-system-modules
9054 (guix build python-build-system))
9055 #:modules
9056 ((guix build meson-build-system)
9057 ((guix build python-build-system) #:prefix python:)
9058 (guix build utils))
9059 #:glib-or-gtk? #t
9060 #:tests? #f ; no test suite
9061 #:phases
9062 (modify-phases %standard-phases
9063 (add-after 'install 'wrap-program
9064 (lambda* (#:key outputs #:allow-other-keys)
9065 (let ((out (assoc-ref outputs "out"))
9066 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9067 (wrap-program (string-append out "/bin/lollypop")
9068 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9069 #t))
9070 (add-after 'install 'wrap-python
9071 (assoc-ref python:%standard-phases 'wrap)))))
9072 (native-inputs
9073 `(("intltool" ,intltool)
9074 ("itstool" ,itstool)
9075 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9076 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9077 ("pkg-config" ,pkg-config)))
9078 (inputs
9079 `(("gobject-introspection" ,gobject-introspection)
9080 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9081 ("gst-plugins-base" ,gst-plugins-base)
9082 ("libnotify" ,libnotify)
9083 ("libsecret" ,libsecret)
9084 ("libsoup" ,libsoup)
9085 ("python" ,python)
9086 ("python-beautifulsoup4" ,python-beautifulsoup4)
9087 ("python-gst" ,python-gst)
9088 ("python-pil" ,python-pillow)
9089 ("python-pycairo" ,python-pycairo)
9090 ("python-pygobject" ,python-pygobject)
9091 ("python-pylast" ,python-pylast)
9092 ("totem-pl-parser" ,totem-pl-parser)
9093 ("webkitgtk" ,webkitgtk)))
9094 (propagated-inputs
9095 `(;; gst-plugins-base is required to start Lollypop,
9096 ;; the others are required to play streaming.
9097 ("gst-plugins-good" ,gst-plugins-good)
9098 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9099 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9100 (synopsis "GNOME music playing application")
9101 (description
9102 "Lollypop is a music player designed to play well with GNOME desktop.
9103 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9104 from artists and tracks from the web. It also fetches cover artworks
9105 automatically and it can stream songs from online music services and charts.")
9106 (license license:gpl3+)))
9107
9108 (define-public gnome-video-effects
9109 (package
9110 (name "gnome-video-effects")
9111 (version "0.4.3")
9112 (source (origin
9113 (method url-fetch)
9114 (uri (string-append "mirror://gnome/sources/" name "/"
9115 (version-major+minor version) "/" name "-"
9116 version ".tar.xz"))
9117 (sha256
9118 (base32
9119 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9120 (build-system glib-or-gtk-build-system)
9121 (arguments
9122 `(#:out-of-source? #f))
9123 (native-inputs
9124 `(("glib:bin" ,glib "bin")
9125 ("intltool" ,intltool)
9126 ("gettext" ,gettext-minimal)
9127 ("pkg-config" ,pkg-config)))
9128 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9129 (synopsis "Video effects for Cheese and other GNOME applications")
9130 (description
9131 "A collection of GStreamer video filters and effects to be used in
9132 photo-booth-like software, such as Cheese.")
9133 (license license:gpl2+)))
9134
9135 (define-public cheese
9136 (package
9137 (name "cheese")
9138 (version "3.34.0")
9139 (source (origin
9140 (method url-fetch)
9141 (uri (string-append "mirror://gnome/sources/" name "/"
9142 (version-major+minor version) "/" name "-"
9143 version ".tar.xz"))
9144 (sha256
9145 (base32
9146 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9147 (arguments
9148 `(#:glib-or-gtk? #t
9149 ;; Tests require GDK.
9150 #:tests? #f
9151 #:phases
9152 (modify-phases %standard-phases
9153 (add-after 'unpack 'skip-gtk-update-icon-cache
9154 (lambda _
9155 ;; Don't create 'icon-theme.cache'
9156 (substitute* "meson_post_install.py"
9157 (("gtk-update-icon-cache") (which "true")))
9158 #t))
9159 (add-after 'install 'wrap-cheese
9160 (lambda* (#:key inputs outputs #:allow-other-keys)
9161 (let ((out (assoc-ref outputs "out"))
9162 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9163 (wrap-program (string-append out "/bin/cheese")
9164 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9165 #t)))))
9166 (build-system meson-build-system)
9167 (native-inputs
9168 `(("docbook-xsl" ,docbook-xsl)
9169 ("glib:bin" ,glib "bin")
9170 ("gtk-doc" ,gtk-doc)
9171 ("intltool" ,intltool)
9172 ("itstool" ,itstool)
9173 ("libxml2" ,libxml2)
9174 ("libxslt" ,libxslt)
9175 ("pkg-config" ,pkg-config)
9176 ("vala" ,vala)))
9177 (propagated-inputs
9178 `(("gnome-video-effects" ,gnome-video-effects)
9179 ("clutter" ,clutter)
9180 ("clutter-gst" ,clutter-gst)
9181 ("clutter-gtk" ,clutter-gtk)
9182 ("libcanberra" ,libcanberra)
9183 ("gdk-pixbuf" ,gdk-pixbuf)
9184 ("glib" ,glib)
9185 ("gstreamer" ,gstreamer)))
9186 (inputs
9187 `(("gnome-desktop" ,gnome-desktop)
9188 ("gobject-introspection" ,gobject-introspection)
9189 ("gst-plugins-base" ,gst-plugins-base)
9190 ("gst-plugins-bad" ,gst-plugins-bad)
9191 ("gtk+" ,gtk+)
9192 ("libx11" ,libx11)
9193 ("libxtst" ,libxtst)))
9194 (home-page "https://wiki.gnome.org/Apps/Cheese")
9195 (synopsis "Webcam photo booth software for GNOME")
9196 (description
9197 "Cheese uses your webcam to take photos and videos. Cheese can also
9198 apply fancy special effects and lets you share the fun with others.")
9199 (license license:gpl2+)))
9200
9201 (define-public sound-juicer
9202 (package
9203 (name "sound-juicer")
9204 (version "3.24.0")
9205 (source
9206 (origin
9207 (method url-fetch)
9208 (uri (string-append "mirror://gnome/sources/" name "/"
9209 (version-major+minor version) "/"
9210 name "-" version ".tar.xz"))
9211 (sha256
9212 (base32
9213 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9214 (build-system glib-or-gtk-build-system)
9215 (native-inputs
9216 `(("desktop-file-utils" ,desktop-file-utils)
9217 ("intltool" ,intltool)
9218 ("itstool" ,itstool)
9219 ("pkg-config" ,pkg-config)
9220 ("xmllint" ,libxml2)))
9221 (inputs
9222 `(("gtk+" ,gtk+)
9223 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9224 ("gstreamer" ,gstreamer)
9225 ("gst-plugins-base" ,gst-plugins-base)
9226 ("gst-plugins-good" ,gst-plugins-good)
9227 ("iso-codes" ,iso-codes)
9228 ("libbrasero-media3" ,brasero)
9229 ("libcanberra" ,libcanberra)
9230 ("libdiscid" ,libdiscid)
9231 ("libmusicbrainz" ,libmusicbrainz)
9232 ("neon" ,neon)))
9233 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9234 (synopsis "Audio music cd ripper")
9235 (description "Sound Juicer extracts audio from compact discs and convert it
9236 into audio files that a personal computer or digital audio player can play.
9237 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9238 mp3, Ogg Vorbis and FLAC")
9239 (license license:gpl2+)))
9240
9241 (define-public soundconverter
9242 (package
9243 (name "soundconverter")
9244 (version "3.0.2")
9245 (source
9246 (origin
9247 (method url-fetch)
9248 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9249 version "/+download/"
9250 "soundconverter-" version ".tar.xz"))
9251
9252 (sha256
9253 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
9254 (build-system glib-or-gtk-build-system)
9255 (arguments
9256 `(#:imported-modules ((guix build python-build-system)
9257 (guix build glib-or-gtk-build-system)
9258 ,@%gnu-build-system-modules)
9259
9260 #:modules ((guix build glib-or-gtk-build-system)
9261 (guix build utils)
9262 ((guix build gnu-build-system) #:prefix gnu:)
9263 ((guix build python-build-system) #:prefix python:))
9264
9265 #:phases
9266 (modify-phases %standard-phases
9267 (add-after 'install 'wrap-soundconverter-for-python
9268 (assoc-ref python:%standard-phases 'wrap))
9269 (add-after 'install 'wrap-soundconverter
9270 (lambda* (#:key inputs outputs #:allow-other-keys)
9271 (let ((out (assoc-ref outputs "out"))
9272 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9273 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9274 (wrap-program (string-append out "/bin/soundconverter")
9275 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9276 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9277 #t)))))
9278 (native-inputs
9279 `(("intltool" ,intltool)
9280 ("pkg-config" ,pkg-config)
9281 ("glib:bin" ,glib "bin")))
9282 (inputs
9283 `(("gtk+" ,gtk+)
9284 ("python" ,python)
9285 ("python-pygobject" ,python-pygobject)
9286 ("gstreamer" ,gstreamer)
9287 ("gst-plugins-base" ,gst-plugins-base)))
9288 (home-page "https://soundconverter.org/")
9289 (synopsis "Convert between audio formats with a graphical interface")
9290 (description
9291 "SoundConverter supports converting between many audio formats including
9292 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9293 configurable file renaming. ")
9294 (license license:gpl3)))
9295
9296 (define-public workrave
9297 (package
9298 (name "workrave")
9299 (version "1.10.42")
9300 (source
9301 (origin
9302 (method git-fetch)
9303 (uri (git-reference
9304 (url "https://github.com/rcaelers/workrave.git")
9305 (commit (string-append "v" (string-map
9306 (match-lambda (#\. #\_) (chr chr))
9307 version)))))
9308 (file-name (git-file-name name version))
9309 (sha256
9310 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9311 (build-system glib-or-gtk-build-system)
9312 (arguments
9313 ;; The only tests are maintainer tests (in po/), which fail.
9314 `(#:tests? #f))
9315 (inputs `(("glib" ,glib)
9316 ("gtk+" ,gtk+)
9317 ("gdk-pixbuf" ,gdk-pixbuf)
9318 ("gtkmm" ,gtkmm)
9319 ("glibmm" ,glibmm)
9320 ("libx11" ,libx11)
9321 ("libxtst" ,libxtst)
9322 ("dconf" ,dconf)
9323 ("libice" ,libice)
9324 ("libsm" ,libsm)
9325 ("libxscrnsaver" ,libxscrnsaver)))
9326 (native-inputs `(("boost" ,boost)
9327 ("pkg-config" ,pkg-config)
9328 ("gettext" ,gettext-minimal)
9329 ("autoconf" ,autoconf)
9330 ("autoconf-archive" , autoconf-archive)
9331 ("automake" ,automake)
9332 ("libtool" ,libtool)
9333 ("intltool" ,intltool)
9334 ("gobject-introspection" ,gobject-introspection)
9335 ("python3" ,python-3)
9336 ("python-jinja2" ,python-jinja2)))
9337 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9338 (description
9339 "Workrave is a program that assists in the recovery and prevention of
9340 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9341 micro-pauses and rest breaks, and restricts you to your daily limit.")
9342 (home-page "http://www.workrave.org")
9343 (license license:gpl3+)))
9344
9345 (define-public ghex
9346 (package
9347 (name "ghex")
9348 (version "3.18.4")
9349 (source (origin
9350 (method url-fetch)
9351 (uri (string-append "mirror://gnome/sources/ghex/"
9352 (version-major+minor version) "/"
9353 "ghex-" version ".tar.xz"))
9354 (sha256
9355 (base32
9356 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9357 (build-system meson-build-system)
9358 (arguments
9359 '(#:glib-or-gtk? #t
9360 #:phases
9361 (modify-phases %standard-phases
9362 (add-after 'unpack 'skip-gtk-update-icon-cache
9363 ;; Don't create 'icon-theme.cache'.
9364 (lambda _
9365 (substitute* "meson_post_install.py"
9366 (("gtk-update-icon-cache") (which "true")))
9367 #t)))))
9368 (native-inputs
9369 `(("pkg-config" ,pkg-config)
9370 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9371 ("gnome-common" ,gnome-common)
9372 ("which" ,which)
9373 ("intltool" ,intltool)
9374 ("yelp-tools" ,yelp-tools)
9375 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9376 (inputs
9377 `(("atk" ,atk)
9378 ("gtk" ,gtk+)))
9379 (synopsis "GNOME hexadecimal editor")
9380 (description "The GHex program can view and edit files in two ways:
9381 hexadecimal or ASCII. It is useful for editing binary files in general.")
9382 (home-page "https://wiki.gnome.org/Apps/Ghex")
9383 (license license:gpl2)))
9384
9385 (define-public libdazzle
9386 (package
9387 (name "libdazzle")
9388 (version "3.34.1")
9389 (source (origin
9390 (method url-fetch)
9391 (uri (string-append "mirror://gnome/sources/libdazzle/"
9392 (version-major+minor version) "/"
9393 "libdazzle-" version ".tar.xz"))
9394 (sha256
9395 (base32
9396 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9397 (build-system meson-build-system)
9398 (arguments
9399 `(#:phases
9400 (modify-phases %standard-phases
9401 (add-before 'check 'pre-check
9402 (lambda _
9403 ;; Tests require a running X server.
9404 (system "Xvfb :1 &")
9405 (setenv "DISPLAY" ":1")
9406 #t)))))
9407 (native-inputs
9408 `(("glib" ,glib "bin") ; glib-compile-resources
9409 ("pkg-config" ,pkg-config)
9410 ;; For tests.
9411 ("xorg-server" ,xorg-server-for-tests)))
9412 (inputs
9413 `(("glib" ,glib)
9414 ("gobject-introspection" ,gobject-introspection)
9415 ("gtk+" ,gtk+)
9416 ("vala" ,vala)))
9417 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9418 (synopsis "Companion library to GObject and Gtk+")
9419 (description "The libdazzle library is a companion library to GObject and
9420 Gtk+. It provides various features that the authors wish were in the
9421 underlying library but cannot for various reasons. In most cases, they are
9422 wildly out of scope for those libraries. In other cases, they are not quite
9423 generic enough to work for everyone.")
9424 (license license:gpl3+)))
9425
9426 (define-public evolution
9427 (package
9428 (name "evolution")
9429 (version "3.34.2")
9430 (source (origin
9431 (method url-fetch)
9432 (uri (string-append "mirror://gnome/sources/evolution/"
9433 (version-major+minor version) "/"
9434 "evolution-" version ".tar.xz"))
9435 (sha256
9436 (base32
9437 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9438 (build-system cmake-build-system)
9439 (arguments
9440 `(#:imported-modules (,@%cmake-build-system-modules
9441 (guix build glib-or-gtk-build-system))
9442 #:modules ((guix build cmake-build-system)
9443 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9444 (guix build utils))
9445 #:configure-flags
9446 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9447 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9448 ; in four years and cannot be built.
9449 #:phases
9450 (modify-phases %standard-phases
9451 ;; The build system attempts to install user interface modules to the
9452 ;; output directory of the "evolution-data-server" package. This
9453 ;; change redirects that change.
9454 (add-after 'unpack 'patch-ui-module-dir
9455 (lambda* (#:key outputs #:allow-other-keys)
9456 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9457 (("\\$\\{edsuimoduledir\\}")
9458 (string-append (assoc-ref outputs "out")
9459 "/lib/evolution-data-server/ui-modules")))
9460 #t))
9461 (add-after 'install 'glib-or-gtk-compile-schemas
9462 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9463 (add-after 'install 'glib-or-gtk-wrap
9464 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9465 (native-inputs
9466 `(("glib" ,glib "bin") ; glib-mkenums
9467 ("pkg-config" ,pkg-config)
9468 ("intltool" ,intltool)
9469 ("itstool" ,itstool)))
9470 (inputs
9471 `(("enchant" ,enchant)
9472 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9473 ("gcr" ,gcr)
9474 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9475 ("gnome-autoar" ,gnome-autoar)
9476 ("gnome-desktop" ,gnome-desktop)
9477 ("gspell" ,gspell)
9478 ("highlight" ,highlight)
9479 ("libcanberra" ,libcanberra)
9480 ("libgweather" ,libgweather)
9481 ("libnotify" ,libnotify)
9482 ("libsoup" ,libsoup)
9483 ("nss" ,nss)
9484 ("openldap" ,openldap)
9485 ("webkitgtk" ,webkitgtk)
9486 ("ytnef" ,ytnef)))
9487 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9488 (synopsis "Manage your email, contacts and schedule")
9489 (description "Evolution is a personal information management application
9490 that provides integrated mail, calendaring and address book
9491 functionality.")
9492 ;; See COPYING for details.
9493 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9494 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9495 license:lgpl2.1+)))) ; smime/lib/*
9496
9497 (define-public gthumb
9498 (package
9499 (name "gthumb")
9500 (version "3.8.2")
9501 (source (origin
9502 (method url-fetch)
9503 (uri (string-append "mirror://gnome/sources/gthumb/"
9504 (version-major+minor version) "/"
9505 "gthumb-" version ".tar.xz"))
9506 (sha256
9507 (base32
9508 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9509 (build-system meson-build-system)
9510 (arguments
9511 `(#:glib-or-gtk? #t
9512 #:configure-flags
9513 ;; Ensure the RUNPATH contains all installed library locations.
9514 (list (string-append "-Dc_link_args=-Wl,-rpath="
9515 (assoc-ref %outputs "out")
9516 "/lib/gthumb/extensions")
9517 (string-append "-Dcpp_link_args=-Wl,-rpath="
9518 (assoc-ref %outputs "out")
9519 "/lib/gthumb/extensions"))))
9520 (native-inputs
9521 `(("pkg-config" ,pkg-config)
9522 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9523 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9524 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9525 ("intltool" ,intltool)
9526 ("itstool" ,itstool)))
9527 (inputs
9528 `(("exiv2" ,exiv2)
9529 ("gtk" ,gtk+)
9530 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9531 ("gstreamer" ,gstreamer)
9532 ("clutter" ,clutter)
9533 ("clutter-gst" ,clutter-gst)
9534 ("clutter-gtk" ,clutter-gtk)
9535 ("libjpeg" ,libjpeg-turbo)
9536 ("libtiff" ,libtiff)
9537 ("libraw" ,libraw)))
9538 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9539 (synopsis "GNOME image viewer and browser")
9540 (description "GThumb is an image viewer, browser, organizer, editor and
9541 advanced image management tool")
9542 (license license:gpl2+)))
9543
9544 (define-public terminator
9545 (package
9546 (name "terminator")
9547 (version "1.91")
9548 (source (origin
9549 (method url-fetch)
9550 (uri (string-append "https://launchpad.net/" name "/"
9551 "gtk3/" version "/" "+download/"
9552 name "-" version ".tar.gz"))
9553 (sha256
9554 (base32
9555 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9556 (build-system python-build-system)
9557 (native-inputs
9558 `(("intltool" ,intltool)
9559 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9560 ("gettext" ,gettext-minimal)
9561 ("pkg-config" ,pkg-config)))
9562 (inputs
9563 `(("cairo" ,cairo)
9564 ("gobject-introspection" ,gobject-introspection)
9565 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9566 ("python2-pycairo" ,python2-pycairo)
9567 ("python2-pygobject" ,python2-pygobject)
9568 ("python2-psutil" ,python2-psutil)
9569 ("vte" ,vte)))
9570 (arguments
9571 `(#:python ,python-2 ; Python 3 isn't supported
9572 #:imported-modules ((guix build glib-or-gtk-build-system)
9573 ,@%python-build-system-modules)
9574 #:modules ((guix build python-build-system)
9575 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9576 (guix build utils))
9577 #:phases
9578 (modify-phases %standard-phases
9579 (add-after
9580 'install 'wrap-program
9581 (lambda* (#:key outputs #:allow-other-keys)
9582 (let ((prog (string-append (assoc-ref outputs "out")
9583 "/bin/terminator")))
9584 (wrap-program prog
9585 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9586 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9587 #t)))
9588 (add-after 'wrap-program 'glib-or-gtk-wrap
9589 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9590 (home-page "https://gnometerminator.blogspot.com/")
9591 (synopsis "Store and run multiple GNOME terminals in one window")
9592 (description
9593 "Terminator allows you to run multiple GNOME terminals in a grid and
9594 +tabs, and it supports drag and drop re-ordering of terminals.")
9595 (license license:gpl2)))
9596
9597 (define-public libhandy
9598 (package
9599 (name "libhandy")
9600 (version "0.0.12")
9601 (source
9602 (origin
9603 (method git-fetch)
9604 (uri (git-reference
9605 (url "https://source.puri.sm/Librem5/libhandy")
9606 (commit (string-append "v" version))))
9607 (file-name (git-file-name name version))
9608 (sha256
9609 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9610 (build-system meson-build-system)
9611 (arguments
9612 `(#:configure-flags
9613 '("-Dglade_catalog=disabled"
9614 "-Dgtk_doc=true")
9615 #:phases
9616 (modify-phases %standard-phases
9617 (add-before 'check 'pre-check
9618 (lambda _
9619 ;; Tests require a running X server.
9620 (system "Xvfb :1 &")
9621 (setenv "DISPLAY" ":1")
9622 #t)))))
9623 (inputs
9624 `(("gtk+" ,gtk+)))
9625 (native-inputs
9626 `(("glib:bin" ,glib "bin")
9627 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9628 ("vala" ,vala)
9629 ("gtk-doc" ,gtk-doc)
9630 ("pkg-config" ,pkg-config)
9631 ("gettext" ,gettext-minimal)
9632
9633 ;; Test suite dependencies.
9634 ("xorg-server" ,xorg-server-for-tests)
9635 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9636 (home-page "https://source.puri.sm/Librem5/libhandy")
9637 (synopsis "Library full of GTK+ widgets for mobile phones")
9638 (description "The aim of the handy library is to help with developing user
9639 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9640 for usage on small and big screens.")
9641 (license license:lgpl2.1+)))
9642
9643 (define-public libgit2-glib
9644 (package
9645 (name "libgit2-glib")
9646 (version "0.99.0.1")
9647 (source (origin
9648 (method url-fetch)
9649 (uri (string-append "mirror://gnome/sources/" name "/"
9650 (version-major+minor version) "/"
9651 name "-" version ".tar.xz"))
9652 (sha256
9653 (base32
9654 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9655 (build-system meson-build-system)
9656 (native-inputs
9657 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9658 ("gobject-introspection" ,gobject-introspection)
9659 ("pkg-config" ,pkg-config)
9660 ("python-pygobject" ,python-pygobject)
9661 ("python-wrapper" ,python-wrapper)
9662 ("vala" ,vala)))
9663 (inputs
9664 `(("glib" ,glib)
9665 ("libssh2" ,libssh2)))
9666 (propagated-inputs
9667 `(;; In Requires of libgit2-glib.pc.
9668 ("libgit2" ,libgit2)))
9669 (synopsis "GLib wrapper around the libgit2 Git access library")
9670 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9671 access library. It only implements the core plumbing functions, not really the
9672 higher level porcelain stuff.")
9673 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9674 (license license:gpl2+)))
9675
9676 (define-public gitg
9677 (package
9678 (name "gitg")
9679 (version "3.32.1")
9680 (source (origin
9681 (method url-fetch)
9682 (uri (string-append "mirror://gnome/sources/" name "/"
9683 (version-major+minor version) "/"
9684 name "-" version ".tar.xz"))
9685 (sha256
9686 (base32
9687 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9688 (build-system meson-build-system)
9689 (arguments
9690 `(#:glib-or-gtk? #t
9691 #:phases
9692 (modify-phases %standard-phases
9693 (add-after 'unpack 'disable-post-install-partially
9694 (lambda _
9695 (substitute* "meson_post_install.py"
9696 (("'python'") ; there are no python sources to compile
9697 (string-append "'" (which "true") "'"))
9698 (("gtk-update-icon-cache") (which "true")))
9699 #t))
9700 (add-after 'unpack 'fix-test-sources
9701 (lambda _
9702 (substitute* "tests/libgitg/test-commit.vala"
9703 (("/bin/bash") (which "bash")))
9704 #t))
9705 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9706 (lambda* (#:key outputs #:allow-other-keys)
9707 (let ((prog (string-append (assoc-ref outputs "out")
9708 "/bin/gitg")))
9709 (wrap-program prog
9710 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9711 #t))))))
9712 (inputs
9713 `(("glib" ,glib)
9714 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9715 ("gtk+" ,gtk+)
9716 ("gtkspell3" ,gtkspell3)
9717 ("gtksourceview" ,gtksourceview-3)
9718 ("json-glib" ,json-glib)
9719 ("libdazzle" ,libdazzle)
9720 ("libgee" ,libgee)
9721 ("libgit2-glib" ,libgit2-glib)
9722 ("libpeas" ,libpeas)
9723 ("libsecret" ,libsecret)
9724 ("libsoup" ,libsoup)
9725 ("libxml2" ,libxml2)))
9726 (native-inputs
9727 `(("glib:bin" ,glib "bin")
9728 ("gtk+:bin" ,gtk+ "bin")
9729 ("gobject-introspection" ,gobject-introspection)
9730 ("intltool" ,intltool)
9731 ("pkg-config" ,pkg-config)
9732 ("vala" ,vala)))
9733 (synopsis "Graphical user interface for git")
9734 (description
9735 "gitg is a graphical user interface for git. It aims at being a small,
9736 fast and convenient tool to visualize the history of git repositories.
9737 Besides visualization, gitg also provides several utilities to manage your
9738 repository and commit your work.")
9739 (home-page "https://wiki.gnome.org/Apps/Gitg")
9740 (license license:gpl2+)))
9741
9742 (define-public gamin
9743 (package
9744 (name "gamin")
9745 (version "0.1.10")
9746 (source (origin
9747 (method url-fetch)
9748 (uri (string-append "mirror://gnome/sources/" name "/"
9749 (version-major+minor version) "/"
9750 name "-" version ".tar.bz2"))
9751 (sha256
9752 (base32
9753 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9754 (build-system gnu-build-system)
9755 (arguments
9756 `(#:phases
9757 (modify-phases %standard-phases
9758 (add-after 'unpack 'remove-deprecated-macro
9759 (lambda _
9760 (substitute* '("server/gam_node.c"
9761 "server/gam_subscription.h"
9762 "server/gam_node.h"
9763 "server/gam_subscription.c")
9764 (("G_CONST_RETURN") "const"))
9765 #t)))))
9766 (inputs
9767 `(("glib" ,glib)))
9768 (native-inputs
9769 `(("intltool" ,intltool)
9770 ("pkg-config" ,pkg-config)))
9771 (home-page "https://people.gnome.org/~veillard/gamin/")
9772 (synopsis "File alteration monitor")
9773 (description
9774 "Gamin is a file and directory monitoring system defined to be a subset
9775 of the FAM (File Alteration Monitor) system. This is a service provided by a
9776 library which detects when a file or a directory has been modified.")
9777 (license license:gpl2+)))
9778
9779 (define-public gnome-mahjongg
9780 (package
9781 (name "gnome-mahjongg")
9782 (version "3.35.1")
9783 (source (origin
9784 (method git-fetch)
9785 (uri (git-reference
9786 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9787 (commit version)))
9788 (file-name (git-file-name name version))
9789 (sha256
9790 (base32
9791 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9792 (build-system meson-build-system)
9793 (arguments
9794 `(#:glib-or-gtk? #t))
9795 (native-inputs
9796 `(("appstream-glib" ,appstream-glib)
9797 ("gettext" ,gettext-minimal)
9798 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9799 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9800 ("itstool" ,itstool)
9801 ("pkg-config" ,pkg-config)
9802 ("vala" ,vala)))
9803 (propagated-inputs
9804 `(("dconf" ,dconf)))
9805 (inputs
9806 `(("glib" ,glib)
9807 ("gtk+" ,gtk+)
9808 ("librsvg" ,librsvg)))
9809 (synopsis "Mahjongg tile-matching game")
9810 (description "GNOME Mahjongg is a game based on the classic Chinese
9811 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9812 and a high score table.")
9813 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9814 (license license:gpl2+)))
9815
9816 (define-public gnome-themes-extra
9817 (package
9818 (name "gnome-themes-extra")
9819 (version "3.28")
9820 (source
9821 (origin
9822 (method url-fetch)
9823 (uri (string-append "mirror://gnome/sources/" name "/"
9824 (version-major+minor version) "/" name "-"
9825 version ".tar.xz"))
9826 (sha256
9827 (base32
9828 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9829 (build-system gnu-build-system)
9830 (arguments
9831 '(#:configure-flags
9832 ;; Don't create 'icon-theme.cache'.
9833 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9834 (true (string-append coreutils "/bin/true")))
9835 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9836 (native-inputs
9837 `(("glib:bin" ,glib "bin")
9838 ("intltool" ,intltool)
9839 ("pkg-config" ,pkg-config)))
9840 (inputs
9841 `(("glib" ,glib)
9842 ("gtk+" ,gtk+)
9843 ("gtk+-2" ,gtk+-2)
9844 ("librsvg" ,librsvg)
9845 ("libxml2" ,libxml2)))
9846 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9847 (synopsis "GNOME Extra Themes")
9848 (description "This package provides themes and related elements that don't
9849 really fit in other upstream packages. It offers legacy support for GTK+ 2
9850 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9851 index files needed for Adwaita to be used outside of GNOME.")
9852 (license license:lgpl2.1+)))
9853
9854 (define-public polari
9855 (package
9856 (name "polari")
9857 (version "3.32.2")
9858 (source (origin
9859 (method url-fetch)
9860 (uri (string-append "mirror://gnome/sources/polari/"
9861 (version-major+minor version)
9862 "/polari-" version ".tar.xz"))
9863 (sha256
9864 (base32
9865 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9866 (build-system meson-build-system)
9867 (arguments
9868 `(#:glib-or-gtk? #t
9869 #:phases
9870 (modify-phases %standard-phases
9871 (add-after 'unpack 'skip-gtk-update-icon-cache
9872 (lambda _
9873 (substitute* "meson/meson-postinstall.sh"
9874 (("gtk-update-icon-cache") (which "true")))
9875 #t))
9876 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9877 (lambda* (#:key outputs #:allow-other-keys)
9878 (let ((prog (string-append (assoc-ref outputs "out")
9879 "/bin/polari")))
9880 (wrap-program prog
9881 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9882 #t))))))
9883 (inputs
9884 `(("glib" ,glib)
9885 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9886 ("gspell" ,gspell)
9887 ("gtk+" ,gtk+)
9888 ("gjs" ,gjs)
9889 ("libsecret" ,libsecret)
9890 ("libsoup" ,libsoup)
9891 ("telepathy-glib" ,telepathy-glib)
9892 ("telepathy-logger" ,telepathy-logger)))
9893 (native-inputs
9894 `(("glib:bin" ,glib "bin")
9895 ("gobject-introspection" ,gobject-introspection)
9896 ("intltool" ,intltool)
9897 ("pkg-config" ,pkg-config)
9898 ("yelp-tools" ,yelp-tools)))
9899 (propagated-inputs
9900 `(("telepathy-idle" ,telepathy-idle)
9901 ("telepathy-mission-control" ,telepathy-mission-control)))
9902 (synopsis "Simple IRC Client")
9903 (description
9904 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9905 integrate seamlessly with the GNOME desktop.")
9906 (home-page "https://wiki.gnome.org/Apps/Polari")
9907 (license license:gpl2+)))
9908
9909 (define-public gnome-boxes
9910 (package
9911 (name "gnome-boxes")
9912 (version "3.35.91")
9913 (source
9914 (origin
9915 (method url-fetch)
9916 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9917 (version-major+minor version) "/"
9918 "gnome-boxes-" version ".tar.xz"))
9919 (sha256
9920 (base32
9921 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9922 (build-system meson-build-system)
9923 (arguments
9924 '(#:glib-or-gtk? #t
9925 #:configure-flags (list "-Drdp=false"
9926 (string-append "-Dc_link_args=-Wl,-rpath="
9927 (assoc-ref %outputs "out")
9928 "/lib/gnome-boxes"))))
9929 (native-inputs
9930 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9931 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9932 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9933 ("itstool" ,itstool)
9934 ("intltool" ,intltool)
9935 ("vala" ,vala)
9936 ("pkg-config" ,pkg-config)))
9937 (inputs
9938 `(("libarchive" ,libarchive)
9939 ("gtk" ,gtk+)
9940 ("gtk-vnc" ,gtk-vnc)
9941 ("libosinfo" ,libosinfo)
9942 ("libsecret" ,libsecret)
9943 ("libsoup" ,libsoup)
9944 ("libusb" ,libusb)
9945 ("libvirt" ,libvirt)
9946 ("libvirt-glib" ,libvirt-glib)
9947 ("libxml" ,libxml2)
9948 ("spice-gtk" ,spice-gtk)
9949 ("sparql-query" ,sparql-query)
9950 ("vte" ,vte)
9951 ("webkitgtk" ,webkitgtk)
9952 ("tracker" ,tracker)
9953 ("libgudev" ,libgudev)))
9954 (home-page "https://wiki.gnome.org/Apps/Boxes")
9955 (synopsis "View, access, and manage remote and virtual systems")
9956 (description "GNOME Boxes is a simple application to view, access, and
9957 manage remote and virtual systems.")
9958 (license (list
9959 ;; For data/icons/empty-boxes.png.
9960 license:cc-by2.0
9961 ;; For all others.
9962 license:lgpl2.0+))))
9963
9964 (define-public geary
9965 (package
9966 (name "geary")
9967 (version "3.34.1")
9968 (source (origin
9969 (method git-fetch)
9970 (uri (git-reference
9971 (url "https://gitlab.gnome.org/GNOME/geary")
9972 (commit version)))
9973 (file-name (git-file-name name version))
9974 (sha256
9975 (base32
9976 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9977 (build-system meson-build-system)
9978 (arguments
9979 `(#:glib-or-gtk? #t
9980 #:phases (modify-phases %standard-phases
9981 (add-after 'unpack 'disable-failing-tests
9982 (lambda _
9983 (substitute* "test/meson.build"
9984 (("test\\('client-tests', geary_test_client_bin\\)")
9985 ""))
9986 #t))
9987 (add-after 'unpack 'disable-postinstall-script
9988 (lambda _
9989 (substitute* "meson.build"
9990 (("meson.add_install_script\\(\
9991 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9992 ""))
9993 #t))
9994 (add-before 'check 'setup-xvfb
9995 (lambda _
9996 (system "Xvfb :1 &")
9997 (setenv "DISPLAY" ":1")
9998 #t)))))
9999 (inputs
10000 `(("enchant" ,enchant)
10001 ("folks" ,folks)
10002 ("gcr" ,gcr)
10003 ("glib" ,glib)
10004 ("gmime" ,gmime-2.6)
10005 ("gnome-online-accounts:lib"
10006 ,gnome-online-accounts "lib")
10007 ("gspell" ,gspell)
10008 ("gtk+" ,gtk+)
10009 ("iso-codes" ,iso-codes)
10010 ("json-glib" ,json-glib)
10011 ("libcanberra" ,libcanberra)
10012 ("libgee" ,libgee)
10013 ("libhandy" ,libhandy)
10014 ("libpeas" ,libpeas)
10015 ("libsecret" ,libsecret)
10016 ("libunwind" ,libunwind)
10017 ("sqlite" ,sqlite)
10018 ("webkitgtk" ,webkitgtk)
10019 ("ytnef" ,ytnef)))
10020 (native-inputs
10021 `(("appstream-glib" ,appstream-glib)
10022 ("cmake-minimal" ,cmake-minimal)
10023 ("desktop-file-utils" ,desktop-file-utils)
10024 ("gettext" ,gettext-minimal)
10025 ("glib:bin" ,glib "bin")
10026 ("gobject-introspection" ,gobject-introspection)
10027 ("itstool" ,itstool)
10028 ("libarchive" ,libarchive)
10029 ("libxml2" ,libxml2)
10030 ("pkg-config" ,pkg-config)
10031 ("vala" ,vala)
10032 ("xvfb" ,xorg-server-for-tests)))
10033 (synopsis "GNOME email application built around conversations")
10034 (description
10035 "Geary collects related messages together into conversations,
10036 making it easy to find and follow your discussions. Full-text and keyword
10037 search makes it easy to find the email you are looking for. Geary's
10038 full-featured composer lets you send rich, styled text with images, links, and
10039 lists, but also send lightweight, easy to read text messages. Geary
10040 automatically picks up your existing GNOME Online Accounts, and adding more is
10041 easy. Geary has a clean, fast, modern interface that works like you want it
10042 to.")
10043 (home-page "https://wiki.gnome.org/Apps/Geary")
10044 (license (list
10045 ;; geary
10046 license:lgpl2.1+
10047 ;; icons
10048 license:cc-by3.0
10049 license:cc-by-sa3.0
10050 license:public-domain
10051 ;; snowball
10052 license:bsd-2))))
10053
10054 (define-public glabels
10055 (package
10056 (name "glabels")
10057 (version "3.4.1")
10058 (source
10059 (origin
10060 (method url-fetch)
10061 (uri (string-append "mirror://gnome/sources/" name "/"
10062 (version-major+minor version) "/"
10063 "glabels-" version ".tar.xz"))
10064 (sha256
10065 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10066 (build-system glib-or-gtk-build-system)
10067 (native-inputs
10068 `(("gettext" ,gettext-minimal)
10069 ("glib:bin" ,glib "bin")
10070 ("intltool" ,intltool)
10071 ("itstool" ,itstool)
10072 ("pkg-config" ,pkg-config)))
10073 (inputs
10074 `(("gtk+" ,gtk+)
10075 ("librsvg" ,librsvg)
10076 ("libxml2" ,libxml2)))
10077 (home-page "https://glabels.org/")
10078 (synopsis "Program for creating labels and business cards")
10079 (description
10080 "gLabels is a program for creating labels and business cards. It is
10081 designed to work with various laser/ink-jet peel-off label and business
10082 card sheets that you’ll find at most office supply stores.")
10083 (license license:gpl3+)))
10084
10085 (define-public libratbag
10086 (package
10087 (name "libratbag")
10088 (version "0.13")
10089 (source
10090 (origin
10091 (method git-fetch)
10092 (uri (git-reference
10093 (url "https://github.com/libratbag/libratbag.git")
10094 (commit (string-append "v" version))))
10095 (file-name (git-file-name name version))
10096 (sha256
10097 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10098 (build-system meson-build-system)
10099 (arguments
10100 `(#:configure-flags
10101 (list "-Dsystemd=false"
10102 "-Dlogind-provider=elogind")
10103 #:phases
10104 (modify-phases %standard-phases
10105 (add-after 'install 'wrap
10106 (lambda* (#:key inputs outputs #:allow-other-keys)
10107 (let* ((out (assoc-ref outputs "out"))
10108 (site (string-append
10109 "/lib/python"
10110 ,(version-major+minor (package-version python))
10111 "/site-packages"))
10112 (evdev (string-append
10113 (assoc-ref inputs "python-evdev") site))
10114 (pygo (string-append
10115 (assoc-ref inputs "python-pygobject") site))
10116 (python-wrap
10117 `("PYTHONPATH" = (,evdev ,pygo))))
10118 (wrap-program (string-append out "/bin/" "ratbagctl")
10119 python-wrap)
10120 #t))))))
10121 (native-inputs
10122 `(("check" ,check)
10123 ("pkg-config" ,pkg-config)
10124 ("swig" ,swig)
10125 ("valgrind" ,valgrind)))
10126 (inputs
10127 `(("glib" ,glib)
10128 ("json-glib" ,json-glib)
10129 ("libevdev" ,libevdev)
10130 ("libsystemd" ,elogind)
10131 ("libunistring" ,libunistring)
10132 ("python-evdev" ,python-evdev)
10133 ("python-pygobject" ,python-pygobject)
10134 ("udev" ,eudev)))
10135 (home-page "https://github.com/libratbag/libratbag")
10136 (synopsis "DBus daemon and utility for configuring gaming mice")
10137 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10138 configure input devices, mainly gaming mice. The daemon provides a generic
10139 way to access the various features exposed by these mice and abstracts away
10140 hardware-specific and kernel-specific quirks. There is also the
10141 @command{ratbagctl} command line interface for configuring devices.
10142
10143 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10144 Steelseries.
10145
10146 The ratbagd DBus service can be enabled by adding the following service to
10147 your operating-system definition:
10148
10149 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10150 (license license:expat)))
10151
10152 (define-public piper
10153 (package
10154 (name "piper")
10155 (version "0.4")
10156 (source
10157 (origin
10158 (method git-fetch)
10159 (uri (git-reference
10160 (url "https://github.com/libratbag/piper.git")
10161 (commit version)))
10162 (sha256
10163 (base32 "17h06j8lxpbfygq8fzycl7lml4vv7r05bsyhh3gga2hp0zms4mvg"))))
10164 (build-system meson-build-system)
10165 (native-inputs
10166 `(("gettext" ,gettext-minimal)
10167 ("glib:bin" ,glib "bin")
10168 ("gobject-introspection" ,gobject-introspection)
10169 ("pkg-config" ,pkg-config)
10170 ("python-flake8" ,python-flake8)))
10171 (inputs
10172 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10173 ("gtk" ,gtk+)
10174 ("gtk:bin" ,gtk+ "bin")
10175 ("librsvg" ,librsvg)
10176 ("python-evdev" ,python-evdev)
10177 ("python-lxml" ,python-lxml)
10178 ("python-pycairo" ,python-pycairo)
10179 ("python-pygobject" ,python-pygobject)))
10180 (arguments
10181 `(#:imported-modules ((guix build python-build-system)
10182 ,@%meson-build-system-modules)
10183 #:modules (((guix build python-build-system) #:prefix python:)
10184 (guix build meson-build-system)
10185 (guix build utils))
10186 #:phases
10187 (modify-phases %standard-phases
10188 (add-after 'unpack 'dont-update-gtk-icon-cache
10189 (lambda _
10190 (substitute* "meson.build"
10191 (("meson.add_install_script('meson_install.sh')") ""))
10192 #t))
10193 ;; TODO: Switch to wrap-script when it is fixed.
10194 (add-after 'install 'wrap-python
10195 (assoc-ref python:%standard-phases 'wrap))
10196 (add-after 'wrap-python 'wrap
10197 (lambda* (#:key outputs #:allow-other-keys)
10198 (wrap-program
10199 (string-append (assoc-ref outputs "out" )"/bin/piper")
10200 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10201 #t)))))
10202 (home-page "https://github.com/libratbag/piper/")
10203 (synopsis "Configure bindings and LEDs on gaming mice")
10204 (description "Piper is a GTK+ application for configuring gaming mice with
10205 onboard configuration for key bindings via libratbag. Piper requires
10206 a @command{ratbagd} daemon running with root privileges. It can be run
10207 manually as root, but is preferably configured as a DBus service that can
10208 launch on demand. This can be configured by enabling the following service,
10209 provided there is a DBus service present:
10210
10211 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10212 (license license:gpl2)))
10213
10214 (define-public parlatype
10215 ;; This is one commit away from 2.0, because the latter introduced
10216 ;; a regression in ASR.
10217 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
10218 (revision "0"))
10219 (package
10220 (name "parlatype")
10221 (version (git-version "2.0" revision commit))
10222 (source
10223 (origin
10224 (method git-fetch)
10225 (uri (git-reference
10226 (url "https://github.com/gkarsay/parlatype.git")
10227 (commit commit)))
10228 (file-name (git-file-name name version))
10229 (sha256
10230 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
10231 (build-system meson-build-system)
10232 (arguments
10233 `(#:glib-or-gtk? #t
10234 #:tests? #f ;require internet access
10235 #:phases
10236 (modify-phases %standard-phases
10237 (add-after 'install 'wrap-parlatype
10238 ;; Add gstreamer plugin provided in this package to system's
10239 ;; plugins.
10240 (lambda* (#:key outputs #:allow-other-keys)
10241 (let* ((out (assoc-ref outputs "out"))
10242 (gst-plugin-path (string-append
10243 out "/lib/gstreamer-1.0/"
10244 ":"
10245 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10246 (wrap-program (string-append out "/bin/parlatype")
10247 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10248 #t)))))
10249 (native-inputs
10250 `(("appstream-glib" ,appstream-glib)
10251 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10252 ("gettext" ,gettext-minimal)
10253 ("glib" ,glib "bin") ;for glib-compile-resources
10254 ("pkg-config" ,pkg-config)
10255 ("yelp-tools" ,yelp-tools)))
10256 (inputs
10257 `(("gst-plugins-base" ,gst-plugins-base)
10258 ("gst-plugins-good" ,gst-plugins-good)
10259 ("gstreamer" ,gstreamer)
10260 ("gtk+" ,gtk+)
10261 ("pocketsphinx" ,pocketsphinx)
10262 ("pulseaudio" ,pulseaudio)
10263 ("sphinxbase" ,sphinxbase)))
10264 (home-page "http://gkarsay.github.io/parlatype/")
10265 (synopsis "GNOME audio player for transcription")
10266 (description "Parlatype is an audio player for the GNOME desktop
10267 environment. Its main purpose is the manual transcription of spoken
10268 audio files.")
10269 (license license:gpl3+))))
10270
10271 (define-public jsonrpc-glib
10272 (package
10273 (name "jsonrpc-glib")
10274 (version "3.34.0")
10275 (source (origin
10276 (method url-fetch)
10277 (uri (string-append "mirror://gnome/sources/" name "/"
10278 (version-major+minor version) "/"
10279 name "-" version ".tar.xz"))
10280 (sha256
10281 (base32
10282 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10283 (build-system meson-build-system)
10284 (inputs
10285 `(("json-glib" ,json-glib)
10286 ("glib" ,glib)))
10287 (native-inputs
10288 `(("pkg-config" ,pkg-config)
10289 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10290 ("gobject-introspection" ,gobject-introspection)
10291 ("vala" ,vala)))
10292 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10293 (synopsis "JSON-RPC library for GLib")
10294 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10295 peers in either a synchronous or asynchronous fashion. It also allows
10296 communicating using the GVariant serialization format instead of JSON when
10297 both peers support it. You might want that when communicating on a single
10298 host to avoid parser overhead and memory-allocator fragmentation.")
10299 (license license:lgpl2.1+)))