gnu: libgweather: Update to 3.34.0.
[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 ng0 <ng0@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;;
54 ;;; This file is part of GNU Guix.
55 ;;;
56 ;;; GNU Guix is free software; you can redistribute it and/or modify it
57 ;;; under the terms of the GNU General Public License as published by
58 ;;; the Free Software Foundation; either version 3 of the License, or (at
59 ;;; your option) any later version.
60 ;;;
61 ;;; GNU Guix is distributed in the hope that it will be useful, but
62 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
63 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
64 ;;; GNU General Public License for more details.
65 ;;;
66 ;;; You should have received a copy of the GNU General Public License
67 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
68
69 (define-module (gnu packages gnome)
70 #:use-module (gnu packages)
71 #:use-module (gnu packages admin)
72 #:use-module (gnu packages aspell)
73 #:use-module (gnu packages autotools)
74 #:use-module (gnu packages avahi)
75 #:use-module (gnu packages backup)
76 #:use-module (gnu packages base)
77 #:use-module (gnu packages bash)
78 #:use-module (gnu packages bison)
79 #:use-module (gnu packages boost)
80 #:use-module (gnu packages build-tools)
81 #:use-module (gnu packages calendar)
82 #:use-module (gnu packages cdrom)
83 #:use-module (gnu packages check)
84 #:use-module (gnu packages cmake)
85 #:use-module (gnu packages compression)
86 #:use-module (gnu packages crates-io)
87 #:use-module (gnu packages cups)
88 #:use-module (gnu packages curl)
89 #:use-module (gnu packages cyrus-sasl)
90 #:use-module (gnu packages databases)
91 #:use-module (gnu packages dbm)
92 #:use-module (gnu packages djvu)
93 #:use-module (gnu packages dns)
94 #:use-module (gnu packages docbook)
95 #:use-module (gnu packages documentation)
96 #:use-module (gnu packages enchant)
97 #:use-module (gnu packages flex)
98 #:use-module (gnu packages fonts)
99 #:use-module (gnu packages file-systems)
100 #:use-module (gnu packages fontutils)
101 #:use-module (gnu packages freedesktop)
102 #:use-module (gnu packages game-development)
103 #:use-module (gnu packages gettext)
104 #:use-module (gnu packages ghostscript)
105 #:use-module (gnu packages gl)
106 #:use-module (gnu packages glib)
107 #:use-module (gnu packages gnupg)
108 #:use-module (gnu packages gnuzilla)
109 #:use-module (gnu packages geo)
110 #:use-module (gnu packages gperf)
111 #:use-module (gnu packages graphviz)
112 #:use-module (gnu packages gstreamer)
113 #:use-module (gnu packages gtk)
114 #:use-module (gnu packages guile)
115 #:use-module (gnu packages ibus)
116 #:use-module (gnu packages icu4c)
117 #:use-module (gnu packages image)
118 #:use-module (gnu packages imagemagick)
119 #:use-module (gnu packages inkscape)
120 #:use-module (gnu packages iso-codes)
121 #:use-module (gnu packages kerberos)
122 #:use-module (gnu packages libcanberra)
123 #:use-module (gnu packages libunistring)
124 #:use-module (gnu packages libunwind)
125 #:use-module (gnu packages libusb)
126 #:use-module (gnu packages linux)
127 #:use-module (gnu packages lirc)
128 #:use-module (gnu packages lua)
129 #:use-module (gnu packages mail)
130 #:use-module (gnu packages mp3)
131 #:use-module (gnu packages multiprecision)
132 #:use-module (gnu packages music)
133 #:use-module (gnu packages ncurses)
134 #:use-module (gnu packages nettle)
135 #:use-module (gnu packages networking)
136 #:use-module (gnu packages ninja)
137 #:use-module (gnu packages nss)
138 #:use-module (gnu packages openldap)
139 #:use-module (gnu packages password-utils)
140 #:use-module (gnu packages pcre)
141 #:use-module (gnu packages pdf)
142 #:use-module (gnu packages perl)
143 #:use-module (gnu packages photo)
144 #:use-module (gnu packages pkg-config)
145 #:use-module (gnu packages polkit)
146 #:use-module (gnu packages popt)
147 #:use-module (gnu packages pretty-print)
148 #:use-module (gnu packages pulseaudio)
149 #:use-module (gnu packages python)
150 #:use-module (gnu packages python-crypto)
151 #:use-module (gnu packages python-web)
152 #:use-module (gnu packages python-xyz)
153 #:use-module (gnu packages rdesktop)
154 #:use-module (gnu packages readline)
155 #:use-module (gnu packages ruby)
156 #:use-module (gnu packages rust)
157 #:use-module (gnu packages samba)
158 #:use-module (gnu packages scanner)
159 #:use-module (gnu packages selinux)
160 #:use-module (gnu packages slang)
161 #:use-module (gnu packages speech)
162 #:use-module (gnu packages spice)
163 #:use-module (gnu packages sqlite)
164 #:use-module (gnu packages ssh)
165 #:use-module (gnu packages tex)
166 #:use-module (gnu packages time)
167 #:use-module (gnu packages tls)
168 #:use-module (gnu packages version-control)
169 #:use-module (gnu packages video)
170 #:use-module (gnu packages virtualization)
171 #:use-module (gnu packages vpn)
172 #:use-module (gnu packages web)
173 #:use-module (gnu packages webkit)
174 #:use-module (gnu packages xdisorg)
175 #:use-module (gnu packages xiph)
176 #:use-module (gnu packages xml)
177 #:use-module (gnu packages xorg)
178 #:use-module (gnu artwork)
179 #:use-module (guix build-system cargo)
180 #:use-module (guix build-system cmake)
181 #:use-module (guix build-system glib-or-gtk)
182 #:use-module (guix build-system gnu)
183 #:use-module (guix build-system meson)
184 #:use-module (guix build-system python)
185 #:use-module (guix build-system trivial)
186 #:use-module (guix download)
187 #:use-module (guix git-download)
188 #:use-module ((guix licenses) #:prefix license:)
189 #:use-module (guix packages)
190 #:use-module (guix utils)
191 #:use-module (guix gexp)
192 #:use-module (guix monads)
193 #:use-module (guix store)
194 #:use-module (ice-9 match)
195 #:use-module (srfi srfi-1))
196
197 (define-public brasero
198 (package
199 (name "brasero")
200 (version "3.12.2")
201 (source (origin
202 (method url-fetch)
203 (uri (string-append "mirror://gnome/sources/brasero/"
204 (version-major+minor version) "/"
205 "brasero-" version ".tar.xz"))
206 (sha256
207 (base32
208 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
209 (build-system glib-or-gtk-build-system)
210 (arguments
211 `(#:configure-flags (list
212 (string-append "--with-girdir="
213 (assoc-ref %outputs "out")
214 "/share/gir-1.0")
215 (string-append "--with-typelibdir="
216 (assoc-ref %outputs "out")
217 "/lib/girepository-1.0"))
218 #:phases
219 (modify-phases %standard-phases
220 (add-before 'configure 'embed-growisofs
221 (lambda* (#:key inputs #:allow-other-keys)
222 (substitute* "plugins/growisofs/burn-growisofs.c"
223 (("\"growisofs") (string-append "\"" (which "growisofs"))))
224 #t)))))
225 (propagated-inputs
226 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
227 (native-inputs
228 `(("intltool" ,intltool)
229 ("itstool" ,itstool)
230 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
231 ("gobject-introspection" ,gobject-introspection)
232 ("pkg-config" ,pkg-config)))
233 (inputs
234 `(("dvd+rw-tools" ,dvd+rw-tools)
235 ("glib" ,glib)
236 ("gnome-doc-utils" ,gnome-doc-utils)
237 ("gstreamer" ,gstreamer)
238 ("gst-plugins-base" ,gst-plugins-base)
239 ("gtk+" ,gtk+)
240 ("libcanberra" ,libcanberra)
241 ("libice" ,libice)
242 ("libnotify" ,libnotify)
243 ("libsm" ,libsm)
244 ("libxml2" ,libxml2)
245 ("totem-pl-parser" ,totem-pl-parser)))
246 (home-page "https://wiki.gnome.org/Apps/Brasero")
247 (synopsis "CD/DVD burning tool for Gnome")
248 (description "Brasero is an application to burn CD/DVD for the Gnome
249 Desktop. It is designed to be as simple as possible and has some unique
250 features to enable users to create their discs easily and quickly.")
251 (license license:gpl2+)))
252
253 (define-public mm-common
254 (package
255 (name "mm-common")
256 (version "1.0.0")
257 (source (origin
258 (method url-fetch)
259 (uri (string-append "mirror://gnome/sources/" name "/"
260 (version-major+minor version) "/"
261 name "-" version ".tar.xz"))
262 (sha256
263 (base32
264 "1m4w33da9f4rx2d6kdj3ix3kl0gn16ml82v2mdn4hljr3q29nzdr"))))
265 (build-system meson-build-system)
266 (arguments
267 `(#:phases
268 (modify-phases %standard-phases
269 (add-after 'unpack 'patch
270 (lambda* (#:key inputs #:allow-other-keys)
271 (substitute* "util/mm-common-prepare.in"
272 (("ln") (string-append (assoc-ref inputs "coreutils")
273 "/bin/ln"))
274 (("cp") (string-append (assoc-ref inputs "coreutils")
275 "/bin/cp"))
276 (("sed") (string-append (assoc-ref inputs "sed")
277 "/bin/sed"))
278 (("cat") (string-append (assoc-ref inputs "coreutils")
279 "/bin/cat")))
280 #t)))))
281 (native-inputs
282 `(("coreutils" ,coreutils)
283 ("gettext" ,gettext-minimal)
284 ("pkg-config" ,pkg-config)
285 ("sed" ,sed)))
286 (inputs
287 `(("python" ,python)))
288 (synopsis "Module of GNOME C++ bindings")
289 (description "The mm-common module provides the build infrastructure
290 and utilities shared among the GNOME C++ binding libraries. Release
291 archives of mm-common include the Doxygen tag file for the GNU C++
292 Library reference documentation.")
293 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
294 (license license:gpl2+)))
295
296 (define-public phodav
297 (package
298 (name "phodav")
299 (version "2.4")
300 (source (origin
301 (method url-fetch)
302 (uri (string-append "mirror://gnome/sources/" name "/"
303 (version-major+minor version) "/"
304 name "-" version ".tar.xz"))
305 (sha256
306 (base32
307 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
308 (build-system meson-build-system)
309 (native-inputs
310 `(("gettext" ,gettext-minimal)
311 ("glib:bin" ,glib "bin")
312 ("gtk-doc" ,gtk-doc)
313 ("pkg-config" ,pkg-config)))
314 (inputs
315 `(("avahi" ,avahi)
316 ("libgudev" ,libgudev)
317 ("libsoup" ,libsoup)))
318 (synopsis "WebDav server implementation using libsoup")
319 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
320 but it is generic enough to be reused in other projects,
321 in particular in the GNOME desktop.")
322 (home-page "https://wiki.gnome.org/phodav")
323 (license license:lgpl2.1+)))
324
325 (define-public gnome-color-manager
326 (package
327 (name "gnome-color-manager")
328 (version "3.32.0")
329 (source (origin
330 (method url-fetch)
331 (uri (string-append "mirror://gnome/sources/" name "/"
332 (version-major+minor version) "/"
333 name "-" version ".tar.xz"))
334 (sha256
335 (base32
336 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
337 (build-system meson-build-system)
338 (arguments
339 `(#:glib-or-gtk? #t
340 #:phases
341 (modify-phases %standard-phases
342 (add-before
343 'check 'pre-check
344 (lambda _
345 ;; Tests require a running X server.
346 (system "Xvfb :1 &")
347 (setenv "DISPLAY" ":1")
348 #t)))))
349 (native-inputs
350 `(("desktop-file-utils" ,desktop-file-utils)
351 ("gettext" ,gettext-minimal)
352 ("glib:bin" ,glib "bin")
353 ("gtk+:bin" ,gtk+ "bin")
354 ("itstool" ,itstool)
355 ("pkg-config" ,pkg-config)
356 ("xorg-server" ,xorg-server-for-tests)))
357 (inputs
358 `(("adwaita-icon-theme" ,adwaita-icon-theme)
359 ("appstream-glib" ,appstream-glib)
360 ("colord-gtk" ,colord-gtk)
361 ("exiv2" ,exiv2)
362 ("gnome-desktop" ,gnome-desktop)
363 ("libcanberra" ,libcanberra)
364 ("libexif" ,libexif)
365 ("libtiff" ,libtiff)
366 ("libxrandr" ,libxrandr)
367 ("libxtst" ,libxtst)
368 ("libxxf86vm" ,libxxf86vm)
369 ("vte" ,vte)
370 ("xorgproto" ,xorgproto)))
371 (synopsis "Color profile manager for the GNOME desktop")
372 (description "GNOME Color Manager is a session framework that makes
373 it easy to manage, install and generate color profiles
374 in the GNOME desktop.")
375 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
376 (license license:gpl2+)))
377
378 (define-public gnome-online-miners
379 (package
380 (name "gnome-online-miners")
381 (version "3.34.0")
382 (source (origin
383 (method url-fetch)
384 (uri (string-append "mirror://gnome/sources/" name "/"
385 (version-major+minor version) "/"
386 name "-" version ".tar.xz"))
387 (sha256
388 (base32
389 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
390 (build-system glib-or-gtk-build-system)
391 (native-inputs
392 `(("gettext" ,gettext-minimal)
393 ("glib:bin" ,glib "bin")
394 ("gobject-introspection" ,gobject-introspection)
395 ("gtk+:bin" ,gtk+ "bin")
396 ("pkg-config" ,pkg-config)))
397 (inputs
398 `(("gnome-online-accounts" ,gnome-online-accounts)
399 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
400 ("grilo" ,grilo)
401 ("libgdata" ,libgdata)
402 ("libgfbgraph" ,gfbgraph)
403 ("libzapojit" ,libzapojit)
404 ("rest" ,rest)
405 ("tracker" ,tracker)))
406 (synopsis "Web Crawlers for GNOME")
407 (description "GNOME Online Miners provides a set of crawlers that
408 go through your online content and index them locally in Tracker.
409 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
410 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
411 (license license:gpl2+)))
412
413 (define-public gssdp
414 (package
415 (name "gssdp")
416 (version "1.2.2")
417 (source (origin
418 (method url-fetch)
419 (uri (string-append "mirror://gnome/sources/" name "/"
420 (version-major+minor version) "/"
421 name "-" version ".tar.xz"))
422 (sha256
423 (base32
424 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
425 (build-system meson-build-system)
426 (native-inputs
427 `(("gettext" ,gettext-minimal)
428 ("glib:bin" ,glib "bin")
429 ("gobject-introspection" ,gobject-introspection)
430 ("gtk-doc" ,gtk-doc)
431 ("pkg-config" ,pkg-config)
432 ("vala" ,vala)))
433 (inputs
434 `(("gtk+" ,gtk+)
435 ("libsoup" ,libsoup)))
436 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
437 Protocol} for GNOME")
438 (description "This package provides a library to handle resource discovery
439 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
440 a debugging tool, @command{gssdp-device-sniffer}.")
441 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
442 (license license:lgpl2.0+)))
443
444 (define-public gupnp
445 (package
446 (name "gupnp")
447 (version "1.2.2")
448 (source (origin
449 (method url-fetch)
450 (uri (string-append "mirror://gnome/sources/" name "/"
451 (version-major+minor version) "/"
452 name "-" version ".tar.xz"))
453 (sha256
454 (base32
455 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
456 (build-system meson-build-system)
457 (native-inputs
458 `(("gettext" ,gettext-minimal)
459 ("glib:bin" ,glib "bin")
460 ("gobject-introspection" ,gobject-introspection)
461 ("gtk-doc" ,gtk-doc)
462 ("pkg-config" ,pkg-config)
463 ("vala" ,vala)))
464 (inputs
465 `(("gssdp" ,gssdp)
466 ("gtk+" ,gtk+)
467 ("libsoup" ,libsoup)))
468 (synopsis "PnP API for GNOME")
469 (description "This package provides GUPnP, an object-oriented framework
470 for creating UPnP devices and control points, written in C using
471 @code{GObject} and @code{libsoup}.")
472 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
473 (license license:lgpl2.0+)))
474
475 (define-public gupnp-dlna
476 (package
477 (name "gupnp-dlna")
478 (version "0.10.5")
479 (source (origin
480 (method url-fetch)
481 (uri (string-append "mirror://gnome/sources/" name "/"
482 (version-major+minor version) "/"
483 name "-" version ".tar.xz"))
484 (sha256
485 (base32
486 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
487 (build-system gnu-build-system)
488 (native-inputs
489 `(("gettext" ,gettext-minimal)
490 ("glib:bin" ,glib "bin")
491 ("gobject-introspection" ,gobject-introspection)
492 ("gtk-doc" ,gtk-doc)
493 ("libxml" ,libxml2)
494 ("pkg-config" ,pkg-config)
495 ("vala" ,vala)))
496 (inputs
497 `(("gstreamer" ,gstreamer)
498 ("gupnp" ,gupnp)))
499 (propagated-inputs
500 `(("gst-plugins-base" ,gst-plugins-base)
501 ("gst-plugins-good" ,gst-plugins-good)))
502 (synopsis "GUPnP DLNA for GNOME")
503 (description "This package provides a small utility library to
504 support DLNA-related tasks such as media profile guessing, transcoding to a
505 given profile, etc. DLNA is a subset of UPnP A/V.")
506 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
507 (license license:lgpl2.0+)))
508
509 (define-public gupnp-av
510 (package
511 (name "gupnp-av")
512 (version "0.12.11")
513 (source (origin
514 (method url-fetch)
515 (uri (string-append "mirror://gnome/sources/" name "/"
516 (version-major+minor version) "/"
517 name "-" version ".tar.xz"))
518 (sha256
519 (base32
520 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
521 (build-system gnu-build-system)
522 (native-inputs
523 `(("gettext" ,gettext-minimal)
524 ("glib:bin" ,glib "bin")
525 ("gobject-introspection" ,gobject-introspection)
526 ("gtk-doc" ,gtk-doc)
527 ("libxml" ,libxml2)
528 ("pkg-config" ,pkg-config)))
529 (inputs
530 `(("gtk+" ,gtk+)
531 ("gupnp" ,gupnp)))
532 (synopsis "GUPnP A/V for GNOME")
533 (description "This package provides a small library for handling
534 and implementation of UPnP A/V profiles.")
535 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
536 (license license:lgpl2.0+)))
537
538 (define-public libmediaart
539 (package
540 (name "libmediaart")
541 (version "1.9.4")
542 (source (origin
543 (method url-fetch)
544 (uri (string-append "mirror://gnome/sources/" name "/"
545 (version-major+minor version) "/"
546 name "-" version ".tar.xz"))
547 (sha256
548 (base32
549 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
550 (build-system gnu-build-system)
551 (native-inputs
552 `(("glib:bin" ,glib "bin")
553 ("pkg-config" ,pkg-config)))
554 (inputs
555 `(("gdk-pixbuf" ,gdk-pixbuf)
556 ("gettext" ,gettext-minimal)
557 ("gobject-introspection" ,gobject-introspection)
558 ("gtk+:doc", gtk+ "doc")
559 ("vala" ,vala)))
560 (synopsis "Media art library for the GNOME desktop")
561 (description
562 "The libmediaart library is the foundation for media art caching,
563 extraction, and lookup for applications on the desktop.")
564 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
565 (license license:lgpl2.1+)))
566
567 (define-public gnome-initial-setup
568 (package
569 (name "gnome-initial-setup")
570 (version "3.32.1")
571 (source (origin
572 (method url-fetch)
573 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
574 (version-major+minor version)
575 "/gnome-initial-setup-" version ".tar.xz"))
576 (sha256
577 (base32
578 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
579 (build-system meson-build-system)
580 (arguments
581 '(#:configure-flags '(;; Enable camera support for user selfie.
582 "-Dcheese=auto"
583 "-Dsystemd=false")
584 #:phases (modify-phases %standard-phases
585 (add-after 'unpack 'set-gkbd-file-name
586 (lambda* (#:key inputs #:allow-other-keys)
587 ;; Allow the "Preview" button in the keyboard layout
588 ;; selection dialog to display the layout.
589 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
590 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
591 (("\"gkbd-keyboard-display")
592 (string-append "\"" libgnomekbd
593 "/bin/gkbd-keyboard-display")))
594 #t))))))
595 (native-inputs
596 `(("gettext" ,gettext-minimal)
597 ("glib:bin" ,glib "bin")
598 ("gobject-introspection" ,gobject-introspection)
599 ("gtk+:bin" ,gtk+ "bin")
600 ("pkg-config" ,pkg-config)))
601 (inputs
602 `(("accountsservice" ,accountsservice)
603 ;("adwaita-icon-theme" ,adwaita-icon-theme)
604 ("gdm" ,gdm)
605 ("geoclue" ,geoclue)
606 ("gnome-desktop" ,gnome-desktop)
607 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
608 ("gnome-online-accounts" ,gnome-online-accounts)
609 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
610 ("gstreamer" ,gstreamer)
611 ("ibus" ,ibus)
612 ("json-glib" ,json-glib)
613 ("krb5" ,mit-krb5)
614 ("libgweather" ,libgweather)
615 ("libsecret" ,libsecret)
616 ("network-manager" ,network-manager)
617 ("network-manager-applet" ,network-manager-applet)
618 ("packagekit" ,packagekit)
619 ("polkit" ,polkit)
620 ("pwquality" ,libpwquality)
621 ("rest" ,rest)
622 ("upower" ,upower)
623 ("webkitgtk" ,webkitgtk)
624 ("libgnomekbd" ,libgnomekbd)))
625 (synopsis "Initial setup wizard for GNOME desktop")
626 (description "This package provides a set-up wizard when a
627 user logs into GNOME for the first time. It typically provides a
628 tour of all gnome components and allows the user to set them up.")
629 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
630 (license license:gpl2)))
631
632 (define-public gnome-user-share
633 (package
634 (name "gnome-user-share")
635 (version "3.33.1")
636 (source (origin
637 (method url-fetch)
638 (uri (string-append "mirror://gnome/sources/" name "/"
639 (version-major+minor version) "/"
640 name "-" version ".tar.xz"))
641 (sha256
642 (base32
643 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
644 (build-system meson-build-system)
645 (arguments
646 `(#:glib-or-gtk? #t
647 #:configure-flags
648 `("-Dsystemd=false"
649 ;; Enable nautilus extension for file sharing.
650 "-Dnautilus_extension=true")))
651 (native-inputs
652 `(("gettext" ,gettext-minimal)
653 ("glib:bin" ,glib "bin")
654 ("gobject-introspection" ,gobject-introspection)
655 ("gtk+:bin" ,gtk+ "bin")
656 ("pkg-config" ,pkg-config)
657 ("yelp-tools" ,yelp-tools)))
658 (inputs
659 `(("glib" ,glib)
660 ("gnome-bluetooth" ,gnome-bluetooth)
661 ("gtk+" ,gtk+)
662 ("libcanberra" ,libcanberra)
663 ("libnotify" ,libnotify)
664 ("nautilus" ,nautilus))) ; For nautilus extension.
665 (synopsis "File sharing for GNOME desktop")
666 (description "GNOME User Share is a small package that binds together
667 various free software projects to bring easy to use user-level file
668 sharing to the masses.")
669 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
670 (license license:gpl2+)))
671
672 (define-public sushi
673 (package
674 (name "sushi")
675 (version "3.32.1")
676 (source (origin
677 (method url-fetch)
678 (uri (string-append "mirror://gnome/sources/" name "/"
679 (version-major+minor version) "/"
680 name "-" version ".tar.xz"))
681 (sha256
682 (base32
683 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
684 (build-system meson-build-system)
685 (arguments
686 `(#:glib-or-gtk? #t
687 #:phases
688 (modify-phases %standard-phases
689 (add-after 'glib-or-gtk-wrap 'wrap-typelib
690 (lambda* (#:key outputs #:allow-other-keys)
691 (let ((prog (string-append (assoc-ref outputs "out")
692 "/bin/sushi")))
693 ;; Put existing typelibs before sushi's deps, so as to correctly
694 ;; infer gdk-pixbuf
695 (wrap-program prog
696 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
697 #t))))))
698 (native-inputs
699 `(("glib:bin" ,glib "bin")
700 ("gettext" ,gettext-minimal)
701 ("gobject-introspection" ,gobject-introspection)
702 ("pkg-config" ,pkg-config)))
703 (inputs
704 `(("clutter" ,clutter)
705 ("clutter-gst" ,clutter-gst)
706 ("clutter-gtk" ,clutter-gtk)
707 ("evince" ,evince) ; For file previewing.
708 ("freetype" ,freetype)
709 ("gdk-pixbuf" ,gdk-pixbuf)
710 ("gjs" ,gjs)
711 ("gst-plugins-base" ,gst-plugins-base)
712 ("gstreamer" ,gstreamer)
713 ("gtksourceview" ,gtksourceview-3)
714 ("harfbuzz" ,harfbuzz)
715 ("libepoxy" ,libepoxy)
716 ("libmusicbrainz" ,libmusicbrainz)
717 ("libxml2" ,libxml2)
718 ("neon" ,neon)
719 ("webkitgtk" ,webkitgtk)))
720 (synopsis "File previewer for the GNOME desktop")
721 (description "Sushi is a DBus-activated service that allows applications to
722 preview files on the GNOME desktop.")
723 (home-page "https://gitlab.gnome.org/GNOME/sushi")
724 (license license:gpl2+)))
725
726 (define-public rygel
727 (package
728 (name "rygel")
729 (version "0.38.3")
730 (source (origin
731 (method url-fetch)
732 (uri (string-append "mirror://gnome/sources/" name "/"
733 (version-major+minor version) "/"
734 name "-" version ".tar.xz"))
735 (sha256
736 (base32
737 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
738 (build-system gnu-build-system)
739 (native-inputs
740 `(("gettext" ,gettext-minimal)
741 ("gobject-introspection" ,gobject-introspection)
742 ("gtk-doc" ,gtk-doc)
743 ("pkg-config" ,pkg-config)
744 ("vala" ,vala)))
745 (inputs
746 `(("gdk-pixbuf" ,gdk-pixbuf)
747 ("gssdp" ,gssdp)
748 ("gstreamer" ,gstreamer)
749 ("gst-plugins-base" ,gst-plugins-base)
750 ("gtk+" ,gtk+)
751 ("gupnp" ,gupnp)
752 ("gupnp-av" ,gupnp-av)
753 ("gupnp-dlna" ,gupnp-dlna)
754 ("libgee" ,libgee)
755 ("libmediaart" ,libmediaart)
756 ("libsoup" ,libsoup)
757 ("libxslt" ,libxslt)
758 ("libunistring" ,libunistring)
759 ("tracker" ,tracker)))
760 (synopsis "Share audio, video, and pictures with other devices")
761 (description
762 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
763 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
764 pictures, and to control a media player on your home network.
765
766 Rygel achieves interoperability with other devices by trying to conform to the
767 strict requirements of DLNA and by converting media on-the-fly to formats that
768 client devices can handle.")
769 (home-page "https://wiki.gnome.org/Projects/Rygel")
770 (license (list
771 ;; For logo (data/icons/*).
772 license:cc-by-sa3.0
773 ;; For all others.
774 license:lgpl2.1+))))
775
776 (define-public libnma
777 (package
778 (name "libnma")
779 (version "1.8.26")
780 (source (origin
781 (method url-fetch)
782 (uri (string-append "mirror://gnome/sources/" name "/"
783 (version-major+minor version) "/"
784 name "-" version ".tar.xz"))
785 (sha256
786 (base32
787 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
788 (build-system meson-build-system)
789 (arguments
790 `(#:glib-or-gtk? #t))
791 (native-inputs
792 `(("gettext" ,gettext-minimal)
793 ("glib:bin" ,glib "bin")
794 ("gtk-doc" ,gtk-doc)
795 ("gobject-introspection" ,gobject-introspection)
796 ("pkg-config" ,pkg-config)))
797 (inputs
798 `(("adwaita-icon-theme" ,adwaita-icon-theme)
799 ("gcr" ,gcr)
800 ("gtk+" ,gtk+)
801 ("iso-codes" ,iso-codes)
802 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
803 ("network-manager" ,network-manager)))
804 (synopsis "Network Manager's applet library")
805 (description "Libnma is an applet library for Network Manager. It was
806 initially part of network-manager-applet and has now become a separate
807 project.")
808 (home-page "https://gitlab.gnome.org/GNOME/libnma")
809
810 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
811 ;; "LGPL-2.1+".
812 (license license:gpl2+)))
813
814 (define-public gnome-menus
815 (package
816 (name "gnome-menus")
817 (version "3.32.0")
818 (source (origin
819 (method url-fetch)
820 (uri (string-append "mirror://gnome/sources/gnome-menus/"
821 (version-major+minor version) "/"
822 name "-" version ".tar.xz"))
823 (sha256
824 (base32
825 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
826 (build-system gnu-build-system)
827 (native-inputs
828 `(("gettext" ,gettext-minimal)
829 ("glib" ,glib)
830 ("pkg-config" ,pkg-config)))
831 (synopsis "Menu support for GNOME desktop")
832 (description "GNOME Menus contains the libgnome-menu library, the layout
833 configuration files for the GNOME menu, as well as a simple menu editor.")
834 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
835 (license license:lgpl2.0+)))
836
837 (define-public deja-dup
838 (package
839 (name "deja-dup")
840 (version "34.3")
841 (source (origin
842 (method url-fetch)
843 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
844 (sha256
845 (base32
846 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
847 (patches
848 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
849 (build-system glib-or-gtk-build-system)
850 (arguments
851 `(#:modules ((guix build gnu-build-system)
852 ((guix build cmake-build-system) #:prefix cmake:)
853 (guix build glib-or-gtk-build-system)
854 (guix build utils))
855 #:imported-modules (,@%glib-or-gtk-build-system-modules
856 (guix build cmake-build-system))
857 #:test-target "test"
858 #:configure-flags (list (string-append
859 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
860 (string-append
861 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
862 #:phases
863 (modify-phases %standard-phases
864 (add-after 'unpack 'patch-lockfile-deletion
865 (lambda rest
866 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
867 (("/bin/rm")
868 (which "rm")))))
869 (replace 'configure
870 (assoc-ref cmake:%standard-phases 'configure))
871 (delete 'check) ;; Fails due to issues with DBus
872 (add-after 'install 'wrap-deja-dup
873 (lambda* (#:key inputs outputs #:allow-other-keys)
874 (let ((python (assoc-ref inputs "python"))
875 (python-path (getenv "PYTHONPATH"))
876 (duplicity (assoc-ref inputs "duplicity"))
877 (out (assoc-ref outputs "out")))
878 (for-each
879 (lambda (program)
880 (wrap-program program
881 `("PATH" ":" prefix (,(string-append python "/bin")
882 ,(string-append duplicity "/bin"))))
883 (wrap-program program
884 `("PYTHONPATH" ":" prefix (,python-path))))
885
886 (find-files (string-append out "/bin")))
887 #t))))))
888 (inputs
889 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
890 ("gobject-introspection" ,gobject-introspection)
891 ("duplicity" ,duplicity)
892 ("python" ,python-2)
893 ("python-pygobject" ,python2-pygobject)
894 ("gtk+" ,gtk+)
895 ("libnotify" ,libnotify)
896 ("libpeas" ,libpeas)
897 ("libsecret" ,libsecret)
898 ("packagekit" ,packagekit)))
899 (native-inputs
900 `(("pkg-config" ,pkg-config)
901 ("vala" ,vala)
902 ("gettext" ,gettext-minimal)
903 ("itstool" ,itstool)
904 ("intltool" ,intltool)
905 ("cmake" ,cmake-minimal)))
906 (home-page "https://launchpad.net/deja-dup")
907 (synopsis "Simple backup tool, for regular encrypted backups")
908 (description
909 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
910 uses duplicity as the backend, which supports incremental backups and storage
911 either on a local, or remote machine via a number of methods.")
912 (license license:gpl3+)))
913
914 (define-public gnome-user-docs
915 (package
916 (name "gnome-user-docs")
917 (version "3.32.3")
918 (source
919 (origin
920 (method url-fetch)
921 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
922 (version-major+minor version)
923 "/gnome-user-docs-" version ".tar.xz"))
924 (sha256
925 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
926 (build-system gnu-build-system)
927 (native-inputs
928 `(("gettext" ,gettext-minimal)
929 ("itstool" ,itstool)
930 ("pkg-config" ,pkg-config)
931 ("xmllint" ,libxml2)))
932 (synopsis "User documentation for the GNOME desktop")
933 (description
934 "The GNOME User Documentation explains how to use the GNOME desktop and its
935 components. It covers usage and setup of the core GNOME programs by end-users
936 and system administrators.")
937 (home-page "https://live.gnome.org/DocumentationProject")
938 (license license:cc-by3.0)))
939
940 (define-public gnome-getting-started-docs
941 (package
942 (name "gnome-getting-started-docs")
943 (version "3.32.2")
944 (source
945 (origin
946 (method url-fetch)
947 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
948 (version-major+minor version)
949 "/gnome-getting-started-docs-" version ".tar.xz"))
950 (sha256
951 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
952 (build-system gnu-build-system)
953 (native-inputs
954 `(("gettext" ,gettext-minimal)
955 ("itstool" ,itstool)
956 ("pkg-config" ,pkg-config)
957 ("xmllint" ,libxml2)))
958 (synopsis "Help to get new users started with the GNOME desktop")
959 (description
960 "The GNOME Getting Started Documentation contains GNOME's intuitive
961 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
962
963 It is normally used together with @command{gnome-initial-setup}, but is also
964 useful as a tutorial and users' guide for new or less experienced users.")
965 (home-page "https://live.gnome.org/DocumentationProject")
966 (license license:cc-by-sa3.0)))
967
968 (define-public dia
969 ;; This version from GNOME's repository includes fixes for compiling with
970 ;; recent versions of the build tools. The latest activity on the
971 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
972 ;; fixes in 2016.
973 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
974 (package
975 (name "dia")
976 (version (git-version "0.97.3" "1" commit))
977 (source (origin
978 (method git-fetch)
979 (uri (git-reference
980 (url "https://gitlab.gnome.org/GNOME/dia.git/")
981 (commit commit)))
982 (file-name (git-file-name name version))
983 (sha256
984 (base32
985 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
986 (build-system gnu-build-system)
987 (inputs
988 `(("freetype" ,freetype)
989 ("gdk-pixbuf" ,gdk-pixbuf)
990 ("gtk+" ,gtk+-2)
991 ("libart-lgpl" ,libart-lgpl)
992 ("libxml2" ,libxml2)
993 ("pango" ,pango)))
994 (native-inputs
995 `(("autoconf" ,autoconf)
996 ("automake" ,automake)
997 ("intltool" ,intltool)
998 ("glib" ,glib "bin")
999 ("libtool" ,libtool)
1000 ("perl" ,perl)
1001 ("pkg-config" ,pkg-config)
1002 ("python-wrapper" ,python-wrapper)))
1003 (home-page "https://wiki.gnome.org/Apps/Dia")
1004 (synopsis "Diagram creation for GNOME")
1005 (description "Dia can be used to draw different types of diagrams, and
1006 includes support for UML static structure diagrams (class diagrams), entity
1007 relationship modeling, and network diagrams. The program supports various file
1008 formats like PNG, SVG, PDF and EPS.")
1009 (license license:gpl2+))))
1010
1011 ;; This is the unstable release, but it is required for the current stable
1012 ;; release of gvfs (1.38.1).
1013 (define-public libgdata
1014 (package
1015 (name "libgdata")
1016 (version "0.17.9")
1017 (source (origin
1018 (method url-fetch)
1019 (uri (string-append "mirror://gnome/sources/" name "/"
1020 (version-major+minor version) "/"
1021 name "-" version ".tar.xz"))
1022 (sha256
1023 (base32
1024 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1025 (build-system gnu-build-system)
1026 (arguments
1027 '(#:phases
1028 (modify-phases %standard-phases
1029 (add-before 'check 'disable-failing-tests
1030 (lambda _
1031 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1032 ;; They have been removed in libgdata 0.17.6, so just do the same.
1033 (substitute* "gdata/tests/Makefile"
1034 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1035 #t)))))
1036 (native-inputs
1037 `(("glib:bin" ,glib "bin")
1038 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1039 ("intltool" ,intltool)
1040 ("pkg-config" ,pkg-config)
1041 ("uhttpmock" ,uhttpmock)))
1042 (inputs
1043 `(("cyrus-sasl" ,cyrus-sasl)
1044 ("glib-networking" ,glib-networking)))
1045 (propagated-inputs
1046 `(("gcr" ,gcr)
1047 ("glib" ,glib)
1048 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1049 ("json-glib" ,json-glib)
1050 ("liboauth" ,liboauth)
1051 ("libsoup" ,libsoup)
1052 ("libxml2" ,libxml2)))
1053 (home-page "https://wiki.gnome.org/Projects/libgdata")
1054 (synopsis "Library for accessing online service APIs")
1055 (description
1056 "libgdata is a GLib-based library for accessing online service APIs using
1057 the GData protocol — most notably, Google's services. It provides APIs to
1058 access the common Google services, and has full asynchronous support.")
1059 (license license:lgpl2.1+)))
1060
1061 (define-public libgxps
1062 (package
1063 (name "libgxps")
1064 (version "0.3.1")
1065 (source (origin
1066 (method url-fetch)
1067 (uri (string-append "mirror://gnome/sources/" name "/"
1068 (version-major+minor version) "/"
1069 name "-" version ".tar.xz"))
1070 (sha256
1071 (base32
1072 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1073 (build-system meson-build-system)
1074 (native-inputs
1075 `(("gobject-introspection" ,gobject-introspection)
1076 ("pkg-config" ,pkg-config)))
1077 (inputs
1078 `(("gtk+" ,gtk+)
1079 ("libjpeg" ,libjpeg-turbo)
1080 ("lcms" ,lcms)
1081 ("libtiff" ,libtiff)))
1082 (propagated-inputs
1083 ;; In Requires of libgxps.pc.
1084 `(("cairo" ,cairo)
1085 ("glib" ,glib)
1086 ("libarchive" ,libarchive)))
1087 (home-page "https://wiki.gnome.org/Projects/libgxps")
1088 (synopsis "GObject-based library for handling and rendering XPS documents")
1089 (description
1090 "libgxps is a GObject-based library for handling and rendering XPS
1091 documents. This package also contains binaries that can convert XPS documents
1092 to other formats.")
1093 (license license:lgpl2.1+)))
1094
1095 (define-public gnome-characters
1096 (package
1097 (name "gnome-characters")
1098 (version "3.30.0")
1099 (source
1100 (origin
1101 (method url-fetch)
1102 (uri (string-append "mirror://gnome/sources/"
1103 "gnome-characters/" (version-major+minor version)
1104 "/gnome-characters-" version ".tar.xz"))
1105 (sha256
1106 (base32
1107 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1108 (build-system meson-build-system)
1109 (arguments
1110 `(#:glib-or-gtk? #t
1111 #:phases (modify-phases %standard-phases
1112 (add-after 'install 'wrap
1113 (lambda* (#:key outputs #:allow-other-keys)
1114 ;; GNOME Characters needs Typelib files from GTK and
1115 ;; gnome-desktop.
1116 (wrap-program (string-append (assoc-ref outputs "out")
1117 "/bin/gnome-characters")
1118 `("GI_TYPELIB_PATH" ":" prefix
1119 (,(getenv "GI_TYPELIB_PATH"))))
1120 #t)))))
1121 (native-inputs
1122 `(("gettext" ,gettext-minimal)
1123 ("glib:bin" ,glib "bin")
1124 ("gtk+:bin" ,gtk+ "bin")
1125 ("pkg-config" ,pkg-config)
1126 ("python" ,python-minimal)))
1127 (inputs
1128 `(("gjs" ,gjs)
1129 ("gtk+" ,gtk+)
1130 ("libunistring" ,libunistring)
1131 ("gnome-desktop" ,gnome-desktop)))
1132 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1133 (synopsis "Find and insert unusual characters")
1134 (description "Characters is a simple utility application to find
1135 and insert unusual characters. It allows you to quickly find the
1136 character you are looking for by searching for keywords.")
1137 (license license:bsd-3)))
1138
1139 (define-public gnome-common
1140 (package
1141 (name "gnome-common")
1142 (version "3.18.0")
1143 (source
1144 (origin
1145 (method url-fetch)
1146 (uri (string-append "mirror://gnome/sources/" name "/"
1147 (version-major+minor version) "/"
1148 name "-" version ".tar.xz"))
1149 (sha256
1150 (base32
1151 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1152 (build-system gnu-build-system)
1153 (home-page "https://www.gnome.org/")
1154 (synopsis "Bootstrap GNOME modules built from Git")
1155 (description "gnome-common contains various files needed to bootstrap
1156 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1157 can be used to configure a source directory checked out from Git and some
1158 commonly used macros.")
1159 (license license:gpl2+)))
1160
1161 (define-public gnome-contacts
1162 (package
1163 (name "gnome-contacts")
1164 (version "3.32.1")
1165 (source (origin
1166 (method url-fetch)
1167 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1168 (version-major+minor version) "/"
1169 name "-" version ".tar.xz"))
1170 (sha256
1171 (base32
1172 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
1173 (build-system meson-build-system)
1174 (arguments
1175 `(#:phases
1176 (modify-phases %standard-phases
1177 (add-after 'unpack 'generate-vapis
1178 (lambda* (#:key inputs #:allow-other-keys)
1179 ;; To generate goa's missing .vapi file
1180 (define goa
1181 (assoc-ref inputs "gnome-online-accounts:lib"))
1182
1183 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1184 "--library=goa-1.0"
1185 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1186 #t)))))
1187 (native-inputs
1188 `(("glib:bin" ,glib "bin")
1189 ("gtk+:bin" ,gtk+ "bin")
1190 ("pkg-config" ,pkg-config)))
1191 (inputs
1192 `(("cheese" ,cheese)
1193 ("docbook-xml" ,docbook-xml)
1194 ("dockbook-xsl" ,docbook-xsl)
1195 ("evolution-data-server" ,evolution-data-server)
1196 ("gettext" ,gettext-minimal)
1197 ("gnome-desktop" ,gnome-desktop)
1198 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1199 ("gobject-introspection" ,gobject-introspection)
1200 ("gst-plugins-base" ,gst-plugins-base)
1201 ("gtk+" ,gtk+)
1202 ("libgee" ,libgee)
1203 ("libxslt" ,libxslt)
1204 ("telepathy-glib" ,telepathy-glib)
1205 ("vala" ,vala)))
1206 (propagated-inputs
1207 `(("folks", folks)
1208 ("telepathy-mission-control" ,telepathy-mission-control)))
1209 (synopsis "GNOME's integrated address book")
1210 (description
1211 "GNOME Contacts organizes your contact information from online and
1212 offline sources, providing a centralized place for managing your contacts.")
1213 (home-page "https://wiki.gnome.org/Apps/Contacts")
1214 (license license:gpl2+)))
1215
1216 (define-public gnome-desktop
1217 (package
1218 (name "gnome-desktop")
1219 (version "3.34.2")
1220 (source
1221 (origin
1222 (method url-fetch)
1223 (uri (string-append "mirror://gnome/sources/" name "/"
1224 (version-major+minor version) "/"
1225 name "-" version ".tar.xz"))
1226 (sha256
1227 (base32
1228 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1229 (build-system meson-build-system)
1230 (arguments
1231 '(#:phases
1232 (modify-phases %standard-phases
1233 (add-before 'configure 'patch-path
1234 (lambda* (#:key inputs #:allow-other-keys)
1235 (let ((libc (assoc-ref inputs "libc")))
1236 (substitute* "libgnome-desktop/gnome-languages.c"
1237 (("\"locale\"")
1238 (string-append "\"" libc "/bin/locale\"")))
1239 #t)))
1240 (add-before 'check 'pre-check
1241 (lambda* (#:key inputs #:allow-other-keys)
1242 ;; Tests require a running X server and locales.
1243 (system "Xvfb :1 &")
1244 (setenv "DISPLAY" ":1")
1245 (setenv "GUIX_LOCPATH"
1246 (string-append (assoc-ref inputs "glibc-locales")
1247 "/lib/locale"))
1248 #t)))))
1249 (native-inputs
1250 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1251 ("glibc-locales" ,glibc-locales) ; for tests
1252 ("gobject-introspection" ,gobject-introspection)
1253 ("itstool" ,itstool)
1254 ("intltool" ,intltool)
1255 ("pkg-config" ,pkg-config)
1256 ("xmllint" ,libxml2)
1257 ("xorg-server" ,xorg-server-for-tests)))
1258 (propagated-inputs
1259 ;; Required by gnome-desktop-3.0.pc.
1260 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1261 ("gtk+" ,gtk+)
1262 ("iso-codes" ,iso-codes)
1263 ("libseccomp" ,libseccomp)
1264 ("libx11" ,libx11)
1265 ("xkeyboard-config" ,xkeyboard-config)))
1266 (inputs
1267 `(("gdk-pixbuf" ,gdk-pixbuf)
1268 ("glib" ,glib)
1269 ("libxext" ,libxext)
1270 ("libxkbfile" ,libxkbfile)
1271 ("libxrandr" ,libxrandr)))
1272 (home-page "https://www.gnome.org/")
1273 (synopsis
1274 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1275 (description
1276 "The libgnome-desktop library provides API shared by several applications
1277 on the desktop, but that cannot live in the platform for various reasons.
1278 There is no API or ABI guarantee, although we are doing our best to provide
1279 stability. Documentation for the API is available with gtk-doc.
1280
1281 The gnome-about program helps find which version of GNOME is installed.")
1282 ; Some bits under the LGPL.
1283 (license license:gpl2+)))
1284
1285 (define-public gnome-doc-utils
1286 (package
1287 (name "gnome-doc-utils")
1288 (version "0.20.10")
1289 (source
1290 (origin
1291 (method url-fetch)
1292 (uri (string-append "mirror://gnome/sources/" name "/"
1293 (version-major+minor version) "/"
1294 name "-" version ".tar.xz"))
1295 (sha256
1296 (base32
1297 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1298 (build-system gnu-build-system)
1299 (native-inputs
1300 `(("intltool" ,intltool)
1301 ("docbook-xml" ,docbook-xml-4.4)
1302 ("python2-libxml2" ,python2-libxml2)
1303 ("libxml2" ,libxml2)
1304 ("libxslt" ,libxslt)
1305 ("pkg-config" ,pkg-config)
1306 ("python-2" ,python-2)))
1307 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1308 (synopsis
1309 "Documentation utilities for the Gnome project")
1310 (description
1311 "Gnome-doc-utils is a collection of documentation utilities for the
1312 Gnome project. It includes xml2po tool which makes it easier to translate
1313 and keep up to date translations of documentation.")
1314 (license license:gpl2+))) ; xslt under lgpl
1315
1316 (define-public gnome-disk-utility
1317 (package
1318 (name "gnome-disk-utility")
1319 (version "3.32.1")
1320 (source (origin
1321 (method url-fetch)
1322 (uri (string-append "mirror://gnome/sources/" name "/"
1323 (version-major+minor version) "/"
1324 name "-" version ".tar.xz"))
1325 (sha256
1326 (base32
1327 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
1328 (build-system meson-build-system)
1329 (arguments
1330 '(#:phases
1331 (modify-phases %standard-phases
1332 (add-after 'unpack 'skip-gtk-update-icon-cache
1333 ;; Don't create 'icon-theme.cache'.
1334 (lambda _
1335 (substitute* "meson_post_install.py"
1336 (("gtk-update-icon-cache") "true"))
1337 #t)))))
1338 (native-inputs
1339 `(("glib:bin" ,glib "bin")
1340 ("intltool" ,intltool)
1341 ("pkg-config" ,pkg-config)
1342 ("docbook-xml" ,docbook-xml)
1343 ("docbook-xsl" ,docbook-xsl)
1344 ("libxml2" ,libxml2)
1345 ("libxslt" ,libxslt)))
1346 (inputs
1347 `(("glib" ,glib)
1348 ("appstream-glib" ,appstream-glib)
1349 ("gnome-settings-daemon" ,gnome-settings-daemon)
1350 ("gtk+" ,gtk+)
1351 ("libcanberra" ,libcanberra)
1352 ("libdvdread" ,libdvdread)
1353 ("libnotify" ,libnotify)
1354 ("libpwquality" ,libpwquality)
1355 ("libsecret" ,libsecret)
1356 ("udisks" ,udisks)))
1357 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1358 (synopsis "Disk management utility for GNOME")
1359 (description "Disk management utility for GNOME.")
1360 (license license:gpl2+)))
1361
1362 (define-public gnome-font-viewer
1363 (package
1364 (name "gnome-font-viewer")
1365 (version "3.30.0")
1366 (source (origin
1367 (method url-fetch)
1368 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1369 (version-major+minor version)
1370 "/gnome-font-viewer-" version ".tar.xz"))
1371 (sha256
1372 (base32
1373 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1374 (build-system meson-build-system)
1375 (arguments
1376 '(#:phases
1377 (modify-phases %standard-phases
1378 (add-after 'unpack 'patch-post-install-script
1379 (lambda _
1380 (substitute* "meson-postinstall.sh"
1381 (("update-desktop-database") (which "true")))
1382 #t)))))
1383 (native-inputs
1384 `(("gettext" ,gettext-minimal)
1385 ("glib:bin" ,glib "bin")
1386 ("pkg-config" ,pkg-config)))
1387 (inputs
1388 `(("glib" ,glib)
1389 ("gnome-desktop" ,gnome-desktop)
1390 ("gtk+" ,gtk+)))
1391 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1392 (synopsis "GNOME Fonts")
1393 (description "Application to show you the fonts installed on your computer
1394 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1395 the font would look under various sizes.")
1396 (license license:gpl2+)))
1397
1398 (define-public gcr
1399 (package
1400 (name "gcr")
1401 (version "3.34.0")
1402 (source (origin
1403 (method url-fetch)
1404 (uri (string-append "mirror://gnome/sources/" name "/"
1405 (version-major+minor version) "/"
1406 name "-" version ".tar.xz"))
1407 (sha256
1408 (base32
1409 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1410 (build-system gnu-build-system)
1411 (arguments
1412 '(#:phases
1413 (modify-phases %standard-phases
1414 ;; These fail because /var/lib/dbus/machine-id is not present in the
1415 ;; build environment.
1416 (add-after 'unpack 'disable-failing-tests
1417 (lambda _
1418 (substitute* "Makefile.in"
1419 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1420 ""))
1421 #t))
1422 (add-before 'check 'pre-check
1423 (lambda _
1424 ;; Some tests expect to write to $HOME.
1425 (setenv "HOME" "/tmp")
1426 #t)))))
1427 (inputs
1428 `(("dbus" ,dbus)
1429 ("gnupg" ,gnupg) ;called as a child process during tests
1430 ("libgcrypt" ,libgcrypt)))
1431 (native-inputs
1432 `(("python" ,python-wrapper) ;for tests
1433 ("pkg-config" ,pkg-config)
1434 ("gettext" ,gettext-minimal)
1435 ("glib" ,glib "bin")
1436 ("gobject-introspection" ,gobject-introspection)
1437 ("libxml2" ,libxml2)
1438 ("vala" ,vala)
1439 ("xsltproc" ,libxslt)))
1440 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1441 (propagated-inputs
1442 `(("p11-kit" ,p11-kit)
1443 ("glib" ,glib)
1444 ("gtk+" ,gtk+)))
1445 (home-page "https://www.gnome.org")
1446 (synopsis "Libraries for displaying certificates and accessing key stores")
1447 (description
1448 "The GCR package contains libraries used for displaying certificates and
1449 accessing key stores. It also provides the viewer for crypto files on the
1450 GNOME Desktop.")
1451 (license license:lgpl2.1+)))
1452
1453 (define-public libgnome-keyring
1454 (package
1455 (name "libgnome-keyring")
1456 (version "3.12.0")
1457 (source (origin
1458 (method url-fetch)
1459 (uri (string-append "mirror://gnome/sources/" name "/"
1460 (version-major+minor version) "/"
1461 name "-" version ".tar.xz"))
1462 (sha256
1463 (base32
1464 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1465 (build-system gnu-build-system)
1466 (inputs
1467 `(("libgcrypt" ,libgcrypt)
1468 ("dbus" ,dbus)))
1469 (native-inputs
1470 `(("pkg-config" ,pkg-config)
1471 ("glib" ,glib "bin")
1472 ("intltool" ,intltool)))
1473 (propagated-inputs
1474 ;; Referred to in .h files and .pc.
1475 `(("glib" ,glib)))
1476 (home-page "https://www.gnome.org")
1477 (synopsis "Accessing passwords from the GNOME keyring")
1478 (description
1479 "Client library to access passwords from the GNOME keyring.")
1480
1481 ;; Though a couple of files are LGPLv2.1+.
1482 (license license:lgpl2.0+)))
1483
1484 (define-public gnome-keyring
1485 (package
1486 (name "gnome-keyring")
1487 (version "3.28.2")
1488 (source (origin
1489 (method url-fetch)
1490 (uri (string-append "mirror://gnome/sources/" name "/"
1491 (version-major+minor version) "/"
1492 name "-" version ".tar.xz"))
1493 (sha256
1494 (base32
1495 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
1496 (build-system gnu-build-system)
1497 (arguments
1498 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1499 ;not exist
1500 #:configure-flags
1501 (list
1502 (string-append "--with-pkcs11-config="
1503 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1504 (string-append "--with-pkcs11-modules="
1505 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1506 #:phases
1507 (modify-phases %standard-phases
1508 (add-after 'unpack 'fix-/bin/sh-reference
1509 (lambda _
1510 (substitute* "po/Makefile.in.in"
1511 (("/bin/sh") (which "sh")))
1512 #t))
1513 (add-after 'unpack 'fix-docbook
1514 (lambda* (#:key inputs #:allow-other-keys)
1515 (substitute* "docs/Makefile.am"
1516 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1517 (string-append (assoc-ref inputs "docbook-xsl")
1518 "/xml/xsl/docbook-xsl-"
1519 ,(package-version docbook-xsl)
1520 "/manpages/docbook.xsl")))
1521 (setenv "XML_CATALOG_FILES"
1522 (string-append (assoc-ref inputs "docbook-xml")
1523 "/xml/dtd/docbook/catalog.xml"))
1524 ;; Rerun the whole thing to avoid version mismatch ("This is
1525 ;; Automake 1.15.1, but the definition used by this
1526 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1527 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1528 (invoke "autoconf")
1529 (invoke "aclocal")
1530 (invoke "automake" "-ac"))))))
1531 (inputs
1532 `(("libgcrypt" ,libgcrypt)
1533 ("linux-pam" ,linux-pam)
1534 ("openssh" ,openssh)
1535 ("dbus" ,dbus)
1536 ("gcr" ,gcr)))
1537 (native-inputs
1538 `(("pkg-config" ,pkg-config)
1539 ("glib" ,glib "bin")
1540 ("glib" ,glib) ; for m4 macros
1541 ("python" ,python-2) ;for tests
1542 ("intltool" ,intltool)
1543 ("autoconf" ,autoconf)
1544 ("automake" ,automake)
1545 ("libxslt" ,libxslt) ;for documentation
1546 ("docbook-xml" ,docbook-xml-4.2)
1547 ("docbook-xsl" ,docbook-xsl)))
1548 (home-page "https://www.gnome.org")
1549 (synopsis "Daemon to store passwords and encryption keys")
1550 (description
1551 "gnome-keyring is a program that keeps passwords and other secrets for
1552 users. It is run as a daemon in the session, similar to ssh-agent, and other
1553 applications locate it via an environment variable or D-Bus.
1554
1555 The program can manage several keyrings, each with its own master password,
1556 and there is also a session keyring which is never stored to disk, but
1557 forgotten when the session ends.")
1558 (license license:lgpl2.1+)))
1559
1560 (define-public evince
1561 (package
1562 (name "evince")
1563 (version "3.34.2")
1564 (source (origin
1565 (method url-fetch)
1566 (uri (string-append "mirror://gnome/sources/evince/"
1567 (version-major+minor version) "/"
1568 "evince-" version ".tar.xz"))
1569 (sha256
1570 (base32
1571 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1572 (build-system glib-or-gtk-build-system)
1573 (arguments
1574 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1575 #:phases
1576 (modify-phases %standard-phases
1577 (add-before 'install 'skip-gtk-update-icon-cache
1578 ;; Don't create 'icon-theme.cache'.
1579 (lambda _
1580 (substitute* "data/Makefile"
1581 (("gtk-update-icon-cache") "true"))
1582 #t)))))
1583 (inputs
1584 `(("libarchive" ,libarchive)
1585 ("libgxps" ,libgxps)
1586 ("libspectre" ,libspectre)
1587 ("djvulibre" ,djvulibre)
1588 ("ghostscript" ,ghostscript)
1589 ("poppler" ,poppler)
1590 ("libtiff" ,libtiff)
1591 ;; TODO:
1592 ;; Build libkpathsea as a shared library for DVI support.
1593 ;; ("libkpathsea" ,texlive-bin)
1594 ("gnome-desktop" ,gnome-desktop)
1595 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1596 ("gspell" ,gspell)
1597 ("libgnome-keyring" ,libgnome-keyring)
1598 ("adwaita-icon-theme" ,adwaita-icon-theme)
1599 ("gdk-pixbuf" ,gdk-pixbuf)
1600 ("atk" ,atk)
1601 ("pango" ,pango)
1602 ("gtk+" ,gtk+)
1603 ("glib" ,glib)
1604 ("libxml2" ,libxml2)
1605 ("libsm" ,libsm)
1606 ("libice" ,libice)
1607 ("shared-mime-info" ,shared-mime-info)
1608 ("dconf" ,dconf)
1609 ("libcanberra" ,libcanberra)
1610 ("libsecret" ,libsecret)
1611
1612 ;; For tests.
1613 ("dogtail" ,python2-dogtail)))
1614 (native-inputs
1615 `(("itstool" ,itstool)
1616 ("intltool" ,intltool)
1617 ("glib" ,glib "bin")
1618 ("gobject-introspection" ,gobject-introspection)
1619 ("pkg-config" ,pkg-config)
1620 ("xmllint" ,libxml2)))
1621 (home-page
1622 "https://www.gnome.org/projects/evince/")
1623 (synopsis "GNOME's document viewer")
1624 (description
1625 "Evince is a document viewer for multiple document formats. It
1626 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1627 of Evince is to replace the multiple document viewers that exist
1628 on the GNOME Desktop with a single simple application.")
1629 (license license:gpl2+)))
1630
1631 (define-public gsettings-desktop-schemas
1632 (package
1633 (name "gsettings-desktop-schemas")
1634 (version "3.34.0")
1635 (source
1636 (origin
1637 (method url-fetch)
1638 (uri (string-append "mirror://gnome/sources/" name "/"
1639 (version-major+minor version) "/"
1640 name "-" version ".tar.xz"))
1641 (sha256
1642 (base32
1643 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1644 (build-system meson-build-system)
1645 (arguments
1646 '(#:phases (modify-phases %standard-phases
1647 (add-after 'unpack 'patch-schemas
1648 (lambda* (#:key inputs #:allow-other-keys)
1649 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1650 (substitute* (find-files "schemas"
1651 "\\.gschema\\.xml\\.in$")
1652 ;; Provide the correct file name of the default GNOME
1653 ;; background, 'adwaita-timed.xml'.
1654 (("@datadir@/backgrounds/gnome")
1655 (string-append theme "/share/backgrounds/gnome"))
1656 ;; Do not reference fonts, that may not exist.
1657 (("'Source Code Pro 10'") "'Monospace 11'"))
1658 #t))))))
1659 (inputs
1660 `(("glib" ,glib)
1661 ("gnome-backgrounds" ,gnome-backgrounds)))
1662 (native-inputs
1663 `(("intltool" ,intltool)
1664 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1665 ("gobject-introspection" ,gobject-introspection)
1666 ("pkg-config" ,pkg-config)))
1667 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1668 (synopsis
1669 "GNOME settings for various desktop components")
1670 (description
1671 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1672 for settings shared by various components of the GNOME desktop.")
1673 (license license:lgpl2.1+)))
1674
1675 (define-public icon-naming-utils
1676 (package
1677 (name "icon-naming-utils")
1678 (version "0.8.90")
1679 (source
1680 (origin
1681 (method url-fetch)
1682 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1683 version ".tar.bz2"))
1684 (sha256
1685 (base32
1686 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1687 (build-system gnu-build-system)
1688 (inputs
1689 `(("perl" ,perl)
1690 ("perl-xml-simple" ,perl-xml-simple)))
1691 (arguments
1692 '(#:phases
1693 (modify-phases %standard-phases
1694 (add-after 'install 'set-load-paths
1695 ;; Tell 'icon-name-mapping' where XML::Simple is.
1696 (lambda* (#:key outputs #:allow-other-keys)
1697 (let* ((out (assoc-ref outputs "out"))
1698 (prog (string-append out "/libexec/icon-name-mapping")))
1699 (wrap-program
1700 prog
1701 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1702 #t)))))
1703 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1704 (synopsis
1705 "Utility to implement the Freedesktop Icon Naming Specification")
1706 (description
1707 "To help with the transition to the Freedesktop Icon Naming
1708 Specification, the icon naming utility maps the icon names used by the
1709 GNOME and KDE desktops to the icon names proposed in the specification.")
1710 (license license:lgpl2.1+)))
1711
1712 (define-public gnome-icon-theme
1713 (package
1714 (name "gnome-icon-theme")
1715 (version "3.12.0")
1716 (source
1717 (origin
1718 (method url-fetch)
1719 (uri (string-append "mirror://gnome/sources/" name "/"
1720 (version-major+minor version) "/"
1721 name "-" version ".tar.xz"))
1722 (sha256
1723 (base32
1724 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1725 (build-system gnu-build-system)
1726 (arguments
1727 '(#:configure-flags
1728 ;; Don't create 'icon-theme.cache'.
1729 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1730 (true (string-append coreutils "/bin/true")))
1731 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1732 (native-inputs
1733 `(("icon-naming-utils" ,icon-naming-utils)
1734 ("intltool" ,intltool)
1735 ("pkg-config" ,pkg-config)))
1736 (home-page "https://wiki.gnome.org/Personalization")
1737 (synopsis "GNOME icon theme")
1738 (description "Icons for the GNOME desktop.")
1739 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1740
1741 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1742 (define-public adwaita-icon-theme
1743 (package (inherit gnome-icon-theme)
1744 (name "adwaita-icon-theme")
1745 (version "3.34.3")
1746 (source (origin
1747 (method url-fetch)
1748 (uri (string-append "mirror://gnome/sources/" name "/"
1749 (version-major+minor version) "/"
1750 name "-" version ".tar.xz"))
1751 (sha256
1752 (base32
1753 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1754 (native-inputs
1755 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1756
1757 (define-public tango-icon-theme
1758 (package
1759 (name "tango-icon-theme")
1760 (version "0.8.90")
1761 (source (origin
1762 (method url-fetch)
1763 (uri (string-append "http://tango.freedesktop.org/releases/"
1764 "tango-icon-theme-" version ".tar.bz2"))
1765 (sha256
1766 (base32
1767 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1768 (build-system gnu-build-system)
1769 (native-inputs
1770 `(("icon-naming-utils" ,icon-naming-utils)
1771 ("intltool" ,intltool)
1772 ("imagemagick" ,imagemagick)
1773 ("pkg-config" ,pkg-config)))
1774 (home-page "http://tango-project.org/")
1775 (synopsis "Tango icon theme")
1776 (description "This is an icon theme that follows the Tango visual
1777 guidelines.")
1778 (license license:public-domain)))
1779
1780 (define-public shared-mime-info
1781 (package
1782 (name "shared-mime-info")
1783 (version "1.15")
1784 (source (origin
1785 (method url-fetch)
1786 (uri (string-append
1787 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1788 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1789 ".tar.xz"))
1790 (sha256
1791 (base32
1792 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1793 (build-system gnu-build-system)
1794 (arguments
1795 ;; The build system appears not to be parallel-safe.
1796 '(#:parallel-build? #f))
1797 (inputs
1798 `(("glib" ,glib)
1799 ("libxml2" ,libxml2)))
1800 (native-inputs
1801 `(("gettext" ,gettext-minimal)
1802 ("itstool" ,itstool)
1803 ("pkg-config" ,pkg-config)))
1804 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1805 (synopsis "Database of common MIME types")
1806 (description
1807 "The shared-mime-info package contains the core database of common types
1808 and the update-mime-database command used to extend it. It requires glib2 to
1809 be installed for building the update command. Additionally, it uses intltool
1810 for translations, though this is only a dependency for the maintainers. This
1811 database is translated at Transifex.")
1812 (license license:gpl2+)))
1813
1814 (define-public system-config-printer
1815 (package
1816 (name "system-config-printer")
1817 (version "1.5.12")
1818 (source
1819 (origin
1820 (method url-fetch)
1821 (uri (string-append
1822 "https://github.com/OpenPrinting/system-config-printer/releases/"
1823 "download/" version
1824 "/system-config-printer-" version ".tar.xz"))
1825 (sha256
1826 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1827 (build-system glib-or-gtk-build-system)
1828 (arguments
1829 `(#:imported-modules ((guix build python-build-system)
1830 ,@%glib-or-gtk-build-system-modules)
1831 #:phases
1832 (modify-phases %standard-phases
1833 (add-after 'unpack 'patch-Makefile.am
1834 (lambda _
1835 ;; The Makefile generates some scripts, so set a valid shebang
1836 (substitute* "Makefile.am"
1837 (("/bin/bash") (which "bash")))
1838 (delete-file "configure")
1839 #t))
1840 (add-after 'unpack 'patch-docbook-xml
1841 (lambda* (#:key inputs #:allow-other-keys)
1842 ;; Modify the man XML otherwise xmlto tries to access the network
1843 (substitute* "man/system-config-printer.xml"
1844 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1845 (string-append (assoc-ref inputs "docbook-xml")
1846 "/xml/dtd/docbook/")))
1847 #t))
1848 (add-after 'install 'wrap-for-python
1849 (@@ (guix build python-build-system) wrap))
1850 (add-after 'install 'wrap
1851 (lambda* (#:key outputs #:allow-other-keys)
1852 (let ((out (assoc-ref outputs "out"))
1853 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1854 (for-each
1855 (lambda (program)
1856 (wrap-program program
1857 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1858 (map (lambda (name)
1859 (string-append out "/bin/" name))
1860 '("system-config-printer"
1861 "system-config-printer-applet"
1862 "install-printerdriver"
1863 "scp-dbus-service"))))
1864 #t)))))
1865 (inputs
1866 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1867 ("gobject-introspection" ,gobject-introspection)
1868 ("python" ,python)
1869 ("cups" ,cups)
1870 ("python-dbus" ,python-dbus)
1871 ("python-pygobject" ,python-pygobject)
1872 ("python-pycups" ,python-pycups)
1873 ("python-requests" ,python-requests)
1874 ("python-pycairo" ,python-pycairo)
1875 ("libnotify" ,libnotify)
1876 ("packagekit" ,packagekit)))
1877 (native-inputs
1878 `(("pkg-config" ,pkg-config)
1879 ("desktop-file-utils" ,desktop-file-utils)
1880 ("glib" ,glib)
1881 ("autoconf" ,autoconf)
1882 ("automake" ,automake)
1883 ("intltool" ,intltool)
1884 ("xmlto" ,xmlto)
1885 ("docbook-xml" ,docbook-xml-4.1.2)
1886 ("docbook-xsl" ,docbook-xsl)
1887 ("libxml2" ,libxml2)))
1888 (home-page "https://github.com/zdohnal/system-config-printer")
1889 (synopsis "CUPS administration tool")
1890 (description
1891 "system-config-printer is a CUPS administration tool. It's written in
1892 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1893 configuring CUPS.")
1894 (license license:gpl2+)))
1895
1896 (define-public hicolor-icon-theme
1897 (package
1898 (name "hicolor-icon-theme")
1899 (version "0.17")
1900 (source
1901 (origin
1902 (method url-fetch)
1903 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1904 "hicolor-icon-theme-" version ".tar.xz"))
1905 (sha256
1906 (base32
1907 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1908 (build-system gnu-build-system)
1909 (arguments
1910 `(#:tests? #f)) ; no check target
1911 (home-page "https://icon-theme.freedesktop.org/releases/")
1912 (synopsis
1913 "Freedesktop icon theme")
1914 (description
1915 "Freedesktop icon theme.")
1916 (license license:gpl2)))
1917
1918 (define-public libnotify
1919 (package
1920 (name "libnotify")
1921 (version "0.7.7")
1922 (source
1923 (origin
1924 (method url-fetch)
1925 (uri (string-append "mirror://gnome/sources/" name "/"
1926 (version-major+minor version) "/"
1927 name "-" version ".tar.xz"))
1928 (sha256
1929 (base32
1930 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1931 (build-system gnu-build-system)
1932 (arguments
1933 `(#:configure-flags '("--disable-static")))
1934 (propagated-inputs
1935 `(;; In Requires of libnotify.pc.
1936 ("gdk-pixbuf" ,gdk-pixbuf)
1937 ("glib" ,glib)))
1938 (inputs
1939 `(("gtk+" ,gtk+)
1940 ("libpng" ,libpng)))
1941 (native-inputs
1942 `(("pkg-config" ,pkg-config)
1943 ("glib" ,glib "bin")
1944 ("gobject-introspection" ,gobject-introspection)))
1945 (home-page "https://developer-next.gnome.org/libnotify/")
1946 (synopsis
1947 "GNOME desktop notification library")
1948 (description
1949 "Libnotify is a library that sends desktop notifications to a
1950 notification daemon, as defined in the Desktop Notifications spec. These
1951 notifications can be used to inform the user about an event or display
1952 some form of information without getting in the user's way.")
1953 (license license:lgpl2.1+)))
1954
1955 (define-public libpeas
1956 (package
1957 (name "libpeas")
1958 (version "1.24.1")
1959 (source
1960 (origin
1961 (method url-fetch)
1962 (uri (string-append "mirror://gnome/sources/" name "/"
1963 (version-major+minor version) "/"
1964 name "-" version ".tar.xz"))
1965 (sha256
1966 (base32
1967 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
1968 (build-system meson-build-system)
1969 (arguments
1970 '(#:phases
1971 (modify-phases %standard-phases
1972 (add-before 'check 'start-xserver
1973 (lambda* (#:key inputs #:allow-other-keys)
1974 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1975 (disp ":1"))
1976 (setenv "DISPLAY" disp)
1977 ;; Tests require a running X server.
1978 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
1979 #t))))))
1980 (inputs
1981 `(("gtk+" ,gtk+)
1982 ("glade" ,glade3)
1983 ("python" ,python)
1984 ("python-pygobject" ,python-pygobject)))
1985 (native-inputs
1986 `(("pkg-config" ,pkg-config)
1987 ("gettext" ,gettext-minimal)
1988 ("glib:bin" ,glib "bin")
1989 ("gobject-introspection" ,gobject-introspection)
1990 ("xorg-server" ,xorg-server-for-tests)))
1991 (propagated-inputs
1992 ;; The .pc file "Requires" gobject-introspection.
1993 `(("gobject-introspection" ,gobject-introspection)))
1994 (home-page "https://wiki.gnome.org/Libpeas")
1995 (synopsis "GObject plugin system")
1996 (description
1997 "Libpeas is a gobject-based plugin engine, targeted at giving every
1998 application the chance to assume its own extensibility. It also has a set of
1999 features including, but not limited to: multiple extension points; on-demand
2000 (lazy) programming language support for C, Python and JS; simplicity of the
2001 API.")
2002 (license license:lgpl2.0+)))
2003
2004 (define-public gtkglext
2005 (package
2006 (name "gtkglext")
2007 (version "1.2.0")
2008 (source (origin
2009 (method url-fetch)
2010 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2011 version "/gtkglext-" version ".tar.gz"))
2012 (sha256
2013 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2014 (patches (search-patches
2015 "gtkglext-disable-disable-deprecated.patch"))))
2016 (build-system gnu-build-system)
2017 (arguments
2018 `(#:phases
2019 (modify-phases %standard-phases
2020 ;; Fix a collision between a local variable and a definition from
2021 ;; glibc's string.h.
2022 (add-after 'unpack 'fix-collision
2023 (lambda _
2024 (substitute* "gdk/gdkglshapes.c"
2025 ((" index") " triangle_index"))
2026 #t)))))
2027 (inputs `(("gtk+" ,gtk+-2)
2028 ("mesa" ,mesa)
2029 ("glu" ,glu)
2030 ("libx11" ,libx11)
2031 ("libxt" ,libxt)))
2032 (native-inputs `(("pkg-config" ,pkg-config)
2033 ("glib" ,glib "bin")))
2034 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2035 (home-page "https://projects.gnome.org/gtkglext")
2036 (synopsis "OpenGL extension to GTK+")
2037 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2038 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2039 API add-ons to make GTK+ widgets OpenGL-capable.")
2040 (license license:lgpl2.1+)))
2041
2042 (define-public glade3
2043 (package
2044 (name "glade")
2045 (version "3.22.1")
2046 (source (origin
2047 (method url-fetch)
2048 (uri (string-append "mirror://gnome/sources/" name "/"
2049 (version-major+minor version) "/"
2050 name "-" version ".tar.xz"))
2051 (sha256
2052 (base32
2053 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2054 (build-system glib-or-gtk-build-system)
2055 (arguments
2056 `(#:tests? #f ; needs X, GL, and software rendering
2057 #:phases
2058 (modify-phases %standard-phases
2059 (add-before 'configure 'fix-docbook
2060 (lambda* (#:key inputs #:allow-other-keys)
2061 (substitute* "man/Makefile.in"
2062 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2063 (string-append (assoc-ref inputs "docbook-xsl")
2064 "/xml/xsl/docbook-xsl-"
2065 ,(package-version docbook-xsl)
2066 "/manpages/docbook.xsl")))
2067 #t)))))
2068 (inputs
2069 `(("gtk+" ,gtk+)
2070 ("libxml2" ,libxml2)))
2071 (native-inputs
2072 `(("intltool" ,intltool)
2073 ("itstool" ,itstool)
2074 ("libxslt" ,libxslt) ;for xsltproc
2075 ("docbook-xml" ,docbook-xml-4.2)
2076 ("docbook-xsl" ,docbook-xsl)
2077 ("python" ,python-2)
2078 ("pkg-config" ,pkg-config)))
2079 (home-page "https://glade.gnome.org")
2080 (synopsis "GTK+ rapid application development tool")
2081 (description "Glade is a rapid application development (RAD) tool to
2082 enable quick & easy development of user interfaces for the GTK+ toolkit and
2083 the GNOME desktop environment.")
2084 (license license:lgpl2.0+)))
2085
2086 (define-public libcroco
2087 (package
2088 (name "libcroco")
2089 (version "0.6.13")
2090 (source (origin
2091 (method url-fetch)
2092 (uri (string-append "mirror://gnome/sources/" name "/"
2093 (version-major+minor version) "/"
2094 name "-" version ".tar.xz"))
2095 (sha256
2096 (base32
2097 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2098 (build-system gnu-build-system)
2099 (native-inputs
2100 `(("pkg-config" ,pkg-config)))
2101 (inputs
2102 `(("glib" ,glib)
2103 ("libxml2" ,libxml2)
2104 ("zlib" ,zlib)))
2105 (home-page "https://github.com/GNOME/libcroco")
2106 (synopsis "CSS2 parsing and manipulation library")
2107 (description
2108 "Libcroco is a standalone CSS2 parsing and manipulation library.
2109 The parser provides a low level event driven SAC-like API and a CSS object
2110 model like API. Libcroco provides a CSS2 selection engine and an experimental
2111 XML/CSS rendering engine.")
2112
2113 ;; LGPLv2.1-only.
2114 (license license:lgpl2.1)))
2115
2116 (define-public libgsf
2117 (package
2118 (name "libgsf")
2119 (version "1.14.47")
2120 (source (origin
2121 (method url-fetch)
2122 (uri (string-append "mirror://gnome/sources/" name "/"
2123 (version-major+minor version) "/"
2124 name "-" version ".tar.xz"))
2125 (sha256
2126 (base32
2127 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2128 (build-system gnu-build-system)
2129 (arguments
2130 '(#:configure-flags '("--disable-static")))
2131 (native-inputs
2132 `(("pkg-config" ,pkg-config)
2133 ("gettext" ,gettext-minimal)
2134
2135 ;; For tests.
2136 ("perl" ,perl)
2137 ("perl-xml-parser" ,perl-xml-parser)))
2138 (inputs
2139 `(("zlib" ,zlib)
2140 ("bzip2" ,bzip2)))
2141 (propagated-inputs
2142 `(("gdk-pixbuf" ,gdk-pixbuf)
2143 ("glib" ,glib)
2144 ("libxml2" ,libxml2)))
2145 (home-page "https://www.gnome.org/projects/libgsf")
2146 (synopsis "GNOME's Structured File Library")
2147 (description
2148 "Libgsf aims to provide an efficient extensible I/O abstraction for
2149 dealing with different structured file formats.")
2150
2151 ;; LGPLv2.1-only.
2152 (license license:lgpl2.1)))
2153
2154 (define-public librsvg
2155 (package
2156 (name "librsvg")
2157 (version "2.40.21")
2158 (source (origin
2159 (method url-fetch)
2160 (uri (string-append "mirror://gnome/sources/" name "/"
2161 (version-major+minor version) "/"
2162 name "-" version ".tar.xz"))
2163 (sha256
2164 (base32
2165 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2166 (build-system gnu-build-system)
2167 (arguments
2168 `(#:configure-flags
2169 (list "--disable-static"
2170 "--enable-vala") ; needed for e.g. gnome-mines
2171 #:phases
2172 (modify-phases %standard-phases
2173 (add-before 'configure 'pre-configure
2174 (lambda* (#:key inputs #:allow-other-keys)
2175 (substitute* "gdk-pixbuf-loader/Makefile.in"
2176 ;; By default the gdk-pixbuf loader is installed under
2177 ;; gdk-pixbuf's prefix. Work around that.
2178 (("gdk_pixbuf_moduledir = .*$")
2179 (string-append "gdk_pixbuf_moduledir = "
2180 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2181 "loaders\n"))
2182 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2183 (("gdk_pixbuf_cache_file = .*$")
2184 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2185 #t))
2186 (add-before 'check 'remove-failing-tests
2187 (lambda _
2188 (with-directory-excursion "tests/fixtures/reftests"
2189 (for-each delete-file
2190 '(;; This test fails on i686:
2191 "svg1.1/masking-path-04-b.svg"
2192 ;; This test fails on armhf:
2193 "svg1.1/masking-mask-01-b.svg"
2194 ;; This test fails on aarch64:
2195 "bugs/777834-empty-text-children.svg")))
2196 #t)))))
2197 (native-inputs
2198 `(("pkg-config" ,pkg-config)
2199 ("vala" ,vala)
2200 ("glib" ,glib "bin") ; glib-mkenums, etc.
2201 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2202 (inputs
2203 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2204 ;; this ancient version of librsvg.
2205 ("pango" ,pango-1.42)
2206 ("libcroco" ,libcroco)
2207 ("bzip2" ,bzip2)
2208 ("libgsf" ,libgsf)
2209 ("libxml2" ,libxml2)))
2210 (propagated-inputs
2211 ;; librsvg-2.0.pc refers to all of that.
2212 `(("cairo" ,cairo)
2213 ("gdk-pixbuf" ,gdk-pixbuf)
2214 ("glib" ,glib)))
2215 (home-page "https://wiki.gnome.org/LibRsvg")
2216 (synopsis "Render SVG files using Cairo")
2217 (description
2218 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2219 library.")
2220 (license license:lgpl2.0+)))
2221
2222 (define-public librsvg-next
2223 (package
2224 (inherit librsvg)
2225 (name "librsvg")
2226 (version "2.46.4")
2227 (source (origin
2228 (method url-fetch)
2229 (uri (string-append "mirror://gnome/sources/librsvg/"
2230 (version-major+minor version) "/"
2231 "librsvg-" version ".tar.xz"))
2232 (sha256
2233 (base32
2234 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2235 (modules '((guix build utils)))
2236 (snippet
2237 '(begin (delete-file-recursively "vendor")
2238 ;; Don't demand an exact version for string_cache
2239 (substitute* "rsvg_internals/Cargo.toml"
2240 (("\"=") "\""))
2241 #t))))
2242 (build-system cargo-build-system)
2243 (arguments
2244 `(#:modules ((guix build cargo-build-system)
2245 (guix build utils)
2246 ((guix build gnu-build-system) #:prefix gnu:))
2247 #:vendor-dir "vendor"
2248 #:cargo-inputs
2249 (("rust-bitflags" ,rust-bitflags-1)
2250 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2251 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2252 ("rust-cssparser" ,rust-cssparser-0.25)
2253 ("rust-data-url" ,rust-data-url-0.1)
2254 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2255 ("rust-encoding" ,rust-encoding-0.2)
2256 ("rust-float-cmp" ,rust-float-cmp-0.5)
2257 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2258 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2259 ("rust-gio" ,rust-gio-0.7)
2260 ("rust-gio-sys" ,rust-gio-sys-0.9)
2261 ("rust-glib" ,rust-glib-0.8)
2262 ("rust-glib-sys" ,rust-glib-sys-0.9)
2263 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2264 ("rust-itertools" ,rust-itertools-0.8)
2265 ("rust-language-tags" ,rust-language-tags-0.2)
2266 ("rust-lazy-static" ,rust-lazy-static-1)
2267 ("rust-libc" ,rust-libc-0.2)
2268 ("rust-locale-config" ,rust-locale-config-0.3)
2269 ("rust-markup5ever" ,rust-markup5ever-0.9)
2270 ("rust-nalgebra" ,rust-nalgebra-0.18)
2271 ("rust-num-traits" ,rust-num-traits-0.2)
2272 ("rust-pkg-config" ,rust-pkg-config-0.3)
2273 ("rust-pango" ,rust-pango-0.7)
2274 ("rust-pango-sys" ,rust-pango-sys-0.9)
2275 ("rust-pangocairo" ,rust-pangocairo-0.8)
2276 ("rust-phf" ,rust-phf-0.7)
2277 ("rust-rayon" ,rust-rayon-1.3)
2278 ("rust-rctree" ,rust-rctree-0.3)
2279 ("rust-string-cache" ,rust-string-cache-0.7)
2280 ("rust-regex" ,rust-regex-1.3)
2281 ("rust-url" ,rust-url-2.1)
2282 ("rust-xml-rs" ,rust-xml-rs-0.8))
2283 #:cargo-development-inputs
2284 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2285 ("rust-criterion" ,rust-criterion-0.2))
2286 #:phases
2287 (modify-phases %standard-phases
2288 (add-after 'unpack 'prepare-for-build
2289 (lambda _
2290 ;; In lieu of #:make-flags
2291 (setenv "CC" "gcc")
2292 ;; Something about the build environment resists building
2293 ;; successfully with the '--locked' flag.
2294 (substitute* '("Makefile.am"
2295 "Makefile.in")
2296 (("--locked") ""))
2297 #t))
2298 (add-before 'configure 'pre-configure
2299 (lambda _
2300 (substitute* "gdk-pixbuf-loader/Makefile.in"
2301 ;; By default the gdk-pixbuf loader is installed under
2302 ;; gdk-pixbuf's prefix. Work around that.
2303 (("gdk_pixbuf_moduledir = .*$")
2304 (string-append "gdk_pixbuf_moduledir = "
2305 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2306 "loaders\n"))
2307 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2308 (("gdk_pixbuf_cache_file = .*$")
2309 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2310 #t))
2311 (add-after 'configure 'gnu-configure
2312 (assoc-ref gnu:%standard-phases 'configure))
2313 ;(lambda* (#:key outputs #:allow-other-keys)
2314 ; ((assoc-ref gnu:%standard-phases 'configure)
2315 ; #:outputs outputs
2316 ; #:configure-flags ("--disable-static"
2317 ; "--enable-vala"))))
2318 (add-after 'configure 'dont-vendor-self
2319 (lambda* (#:key vendor-dir #:allow-other-keys)
2320 ;; Don't keep the whole tarball in the vendor directory
2321 (delete-file-recursively
2322 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2323 #t))
2324 (replace 'build
2325 (assoc-ref gnu:%standard-phases 'build))
2326 (replace 'check
2327 (lambda* args
2328 ((assoc-ref gnu:%standard-phases 'check)
2329 #:test-target "check")))
2330 (replace 'install
2331 (assoc-ref gnu:%standard-phases 'install))
2332 (add-before 'check 'remove-failing-tests
2333 (lambda _
2334 (with-directory-excursion "tests/fixtures/reftests"
2335 (for-each delete-file
2336 '(;; The images produced by these tests differ slightly
2337 ;; from their reference counterparts due to differences
2338 ;; in the build environment (missing fonts, etc). See
2339 ;; <tests/README.md> for details.
2340 ;; These fail on x86_64.
2341 "svg1.1/coords-viewattr-02-b.svg"
2342 "svg1.1/filters-composite-04-f.svg"
2343 "svg1.1/filters-image-01-b.svg"
2344 "svg1.1/filters-conv-02-f.svg"
2345 "svg1.1/filters-conv-04-f.svg"
2346 ;; This test fails on i686:
2347 "svg1.1/masking-path-04-b.svg"
2348 ;; This test fails on armhf:
2349 "svg1.1/masking-mask-01-b.svg"
2350 ;; This test fails on aarch64:
2351 "bugs/777834-empty-text-children.svg")))
2352 #t)))))
2353 (license license:lgpl2.1+)))
2354
2355 (define-public libidl
2356 (package
2357 (name "libidl")
2358 (version "0.8.14")
2359 (source (origin
2360 (method url-fetch)
2361 (uri (string-append "mirror://gnome/sources/libIDL/"
2362 (version-major+minor version) "/"
2363 "libIDL-" version ".tar.bz2"))
2364 (sha256
2365 (base32
2366 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2367 (build-system gnu-build-system)
2368 (inputs `(("glib" ,glib)))
2369 (native-inputs
2370 `(("pkg-config" ,pkg-config)
2371 ("flex" ,flex)
2372 ("bison" ,bison)))
2373 (home-page "http://freecode.com/projects/libidl")
2374 (synopsis "Create trees of CORBA Interface Definition Language files")
2375 (description "Libidl is a library for creating trees of CORBA Interface
2376 Definition Language (idl) files, which is a specification for defining
2377 portable interfaces. libidl was initially written for orbit (the orb from the
2378 GNOME project, and the primary means of libidl distribution). However, the
2379 functionality was designed to be as reusable and portable as possible.")
2380 (properties `((upstream-name . "libIDL")))
2381 (license license:lgpl2.0+)))
2382
2383
2384 (define-public orbit2
2385 (package
2386 (name "orbit2")
2387 (version "2.14.19")
2388 (source (origin
2389 (method url-fetch)
2390 (uri (let ((upstream-name "ORBit2"))
2391 (string-append "mirror://gnome/sources/" upstream-name "/"
2392 (version-major+minor version) "/"
2393 upstream-name "-" version ".tar.bz2")))
2394 (sha256
2395 (base32
2396 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2397 (build-system gnu-build-system)
2398 (arguments
2399 `(;; The "timeout-server" test hangs when run in parallel.
2400 #:parallel-tests? #f
2401 #:configure-flags
2402 '(;; We don't need static libraries, plus they don't build reproducibly
2403 ;; (non-deterministic ordering of .o files in the archive.)
2404 "--disable-static"
2405
2406 ;; The programmer kindly gives us a hook to turn off deprecation
2407 ;; warnings ...
2408 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2409 ;; ... which they then completly ignore !!
2410 #:phases
2411 (modify-phases %standard-phases
2412 (add-before 'configure 'ignore-deprecations
2413 (lambda _
2414 (substitute* "linc2/src/Makefile.in"
2415 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2416 #t)))))
2417 (inputs `(("glib" ,glib)
2418 ("libidl" ,libidl)))
2419 (native-inputs
2420 `(("pkg-config" ,pkg-config)))
2421 (home-page "https://projects.gnome.org/orbit2/")
2422 (synopsis "CORBA 2.4-compliant Object Request Broker")
2423 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2424 featuring mature C, C++ and Python bindings.")
2425 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2426 ;; a version. SOME of the code files have licence notices for GPLv2+.
2427 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2428 (license license:gpl2+)
2429 (properties `((upstream-name . "ORBit2")))))
2430
2431
2432 (define-public libbonobo
2433 (package
2434 (name "libbonobo")
2435 (version "2.32.1")
2436 (source (origin
2437 (method url-fetch)
2438 (uri (string-append "mirror://gnome/sources/" name "/"
2439 (version-major+minor version)
2440 "/" name "-" version ".tar.bz2"))
2441 (sha256
2442 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2443 (patches (search-patches
2444 "libbonobo-activation-test-race.patch"))))
2445 (build-system gnu-build-system)
2446 (arguments
2447 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2448 `(#:configure-flags
2449 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2450 ;; ... which they then completly ignore !!
2451 #:phases
2452 (modify-phases %standard-phases
2453 (add-before 'configure 'ignore-deprecations
2454 (lambda _
2455 (substitute* "activation-server/Makefile.in"
2456 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2457 #t)))
2458
2459 ;; There's apparently a race condition between the server stub
2460 ;; generation and linking of the example under 'samples/echo' that can
2461 ;; lead do undefined references when building in parallel, as reported
2462 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2463 ;; Thus, disable parallel builds.
2464 #:parallel-build? #f))
2465 (inputs `(("popt" ,popt)
2466 ("libxml2" ,libxml2)))
2467 ;; The following are Required by the .pc file
2468 (propagated-inputs
2469 `(("glib" ,glib)
2470 ("orbit2" ,orbit2)))
2471 (native-inputs
2472 `(("intltool" ,intltool)
2473 ("pkg-config" ,pkg-config)
2474 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2475 ("flex" ,flex)
2476 ("bison" ,bison)))
2477 (home-page "https://developer.gnome.org/libbonobo/")
2478 (synopsis "Framework for creating reusable components for use in GNOME applications")
2479 (description "Bonobo is a framework for creating reusable components for
2480 use in GNOME applications, built on top of CORBA.")
2481 ;; Licence not explicitly stated. Source files contain no licence notices.
2482 ;; Tarball contains text of both GPLv2 and LGPLv2
2483 ;; GPLv2 covers both conditions
2484 (license license:gpl2+)))
2485
2486
2487 (define-public gconf
2488 (package
2489 (name "gconf")
2490 (version "3.2.6")
2491 (source (origin
2492 (method url-fetch)
2493 (uri
2494 (let ((upstream-name "GConf"))
2495 (string-append "mirror://gnome/sources/" upstream-name "/"
2496 (version-major+minor version) "/"
2497 upstream-name "-" version ".tar.xz")))
2498 (sha256
2499 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2500 (build-system gnu-build-system)
2501 (inputs `(("dbus-glib" ,dbus-glib)
2502 ("libxml2" ,libxml2)))
2503 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2504 ("orbit2" ,orbit2)))
2505 (native-inputs
2506 `(("intltool" ,intltool)
2507 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2508 ("pkg-config" ,pkg-config)))
2509 (home-page "https://projects.gnome.org/gconf/")
2510 (synopsis "Store application preferences")
2511 (description "Gconf is a system for storing application preferences. It
2512 is intended for user preferences; not arbitrary data storage.")
2513 (license license:lgpl2.0+)
2514 (properties '((upstream-name . "GConf")))))
2515
2516
2517 (define-public gnome-mime-data
2518 (package
2519 (name "gnome-mime-data")
2520 (version "2.18.0")
2521 (source (origin
2522 (method url-fetch)
2523 (uri (string-append "mirror://gnome/sources/" name "/"
2524 (version-major+minor version) "/"
2525 name "-" version ".tar.bz2"))
2526 (sha256
2527 (base32
2528 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2529 (build-system gnu-build-system)
2530 (native-inputs
2531 `(("perl" ,perl)
2532 ("intltool" ,intltool)))
2533 (arguments
2534 '(#:phases (modify-phases %standard-phases
2535 (add-after 'configure 'use-our-intltool
2536 (lambda _
2537 ;; Do not use the bundled intltool commands, which lack
2538 ;; the "dotless @INC" fixes of our 'intltool' package.
2539 (substitute* (find-files "." "^Makefile$")
2540 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2541 (string-append "INTLTOOL_" tool " = intltool-"
2542 (string-downcase tool) "\n")))
2543 #t)))))
2544 (home-page "https://www.gnome.org")
2545 (synopsis "Base MIME and Application database for GNOME")
2546 (description "GNOME Mime Data is a module which contains the base MIME
2547 and Application database for GNOME. The data stored by this module is
2548 designed to be accessed through the MIME functions in GnomeVFS.")
2549 (license license:gpl2+)))
2550
2551
2552 (define-public gnome-vfs
2553 (package
2554 (name "gnome-vfs")
2555 (version "2.24.4")
2556 (source (origin
2557 (method url-fetch)
2558 (uri (string-append "mirror://gnome/sources/" name "/"
2559 (version-major+minor version) "/"
2560 name "-" version ".tar.bz2"))
2561 (sha256
2562 (base32
2563 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2564 (build-system gnu-build-system)
2565 (arguments
2566 `(#:phases
2567 (modify-phases %standard-phases
2568 (add-before 'configure 'ignore-deprecations
2569 (lambda _
2570 (substitute* '("libgnomevfs/Makefile.in"
2571 "daemon/Makefile.in")
2572 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2573 #t))
2574 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2575 (lambda _
2576 (substitute* "test/test-async-cancel.c"
2577 (("EXIT_FAILURE") "77"))
2578 #t)))))
2579 (inputs `(("libxml2" ,libxml2)
2580 ("dbus-glib" ,dbus-glib)
2581 ("gconf" ,gconf)
2582 ("gnome-mime-data" ,gnome-mime-data)
2583 ("zlib" ,zlib)))
2584 (native-inputs
2585 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2586 ("intltool" ,intltool)
2587 ("pkg-config" ,pkg-config)))
2588 (home-page "https://developer.gnome.org/gnome-vfs/")
2589 (synopsis "Access files and folders in GNOME applications")
2590 (description
2591 "GnomeVFS is the core library used to access files and folders in GNOME
2592 applications. It provides a file system abstraction which allows applications
2593 to access local and remote files with a single consistent API.")
2594 (license license:lgpl2.0+)))
2595
2596
2597
2598 (define-public libgnome
2599 (package
2600 (name "libgnome")
2601 (version "2.32.1")
2602 (source (origin
2603 (method url-fetch)
2604 (uri (string-append "mirror://gnome/sources/" name "/"
2605 (version-major+minor version) "/"
2606 name "-" version ".tar.bz2"))
2607 (sha256
2608 (base32
2609 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2610 (patches (search-patches "libgnome-encoding.patch"))))
2611 (build-system gnu-build-system)
2612 (arguments
2613 `(#:phases
2614 (modify-phases %standard-phases
2615 (add-before 'configure 'enable-deprecated
2616 (lambda _
2617 (substitute* "libgnome/Makefile.in"
2618 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2619 #t)))))
2620 (inputs `(("libxml2" ,libxml2)))
2621 (native-inputs
2622 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2623 ("intltool" ,intltool)
2624 ("pkg-config" ,pkg-config)))
2625 ;; The following are listed as Required in the .pc file
2626 ;; (except for libcanberra -- which seems to be oversight on the part
2627 ;; of the upstream developers -- anything that links against libgnome,
2628 ;; must also link against libcanberra
2629 (propagated-inputs
2630 `(("libcanberra" ,libcanberra)
2631 ("libbonobo" ,libbonobo)
2632 ("gconf" ,gconf)
2633 ("gnome-vfs" ,gnome-vfs)
2634 ("popt" ,popt))) ;gnome-program.h includes popt.h
2635 (home-page "https://developer.gnome.org/libgnome/")
2636 (synopsis "Useful routines for building applications")
2637 (description "The libgnome library provides a number of useful routines
2638 for building modern applications, including session management, activation of
2639 files and URIs, and displaying help.")
2640 (license license:lgpl2.0+)))
2641
2642
2643 (define-public libart-lgpl
2644 (package
2645 (name "libart-lgpl")
2646 (version "2.3.21")
2647 (source (origin
2648 (method url-fetch)
2649 (uri (let ((upstream-name "libart_lgpl"))
2650 (string-append "mirror://gnome/sources/" upstream-name "/"
2651 (version-major+minor version) "/"
2652 upstream-name "-" version ".tar.bz2")))
2653 (sha256
2654 (base32
2655 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2656 (build-system gnu-build-system)
2657 (native-inputs
2658 `(("pkg-config" ,pkg-config)))
2659 (home-page "https://people.gnome.org/~mathieu/libart")
2660 (synopsis "2D drawing library")
2661 (description "Libart is a 2D drawing library intended as a
2662 high-quality vector-based 2D library with antialiasing and alpha composition.")
2663 (license license:lgpl2.0+)))
2664
2665
2666
2667 (define-public libgnomecanvas
2668 (package
2669 (name "libgnomecanvas")
2670 (version "2.30.3")
2671 (source (origin
2672 (method url-fetch)
2673 (uri (string-append "mirror://gnome/sources/" name "/"
2674 (version-major+minor version) "/"
2675 name "-" version ".tar.gz"))
2676 (sha256
2677 (base32
2678 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2679 (build-system gnu-build-system)
2680 ;; Mentioned as Required in the .pc file
2681 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2682 ("gtk+" ,gtk+-2)))
2683 (native-inputs
2684 `(("intltool" ,intltool)
2685 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2686 ("pkg-config" ,pkg-config)))
2687 (home-page "https://developer.gnome.org/libgnomecanvas/")
2688 (synopsis "Flexible widget for creating interactive structured graphics")
2689 (description "The GnomeCanvas widget provides a flexible widget for
2690 creating interactive structured graphics.")
2691 (license license:lgpl2.0+)))
2692
2693 (define-public libgnomecanvasmm
2694 (package
2695 (name "libgnomecanvasmm")
2696 (version "2.26.0")
2697 (source (origin
2698 (method url-fetch)
2699 (uri (string-append "mirror://gnome/sources/" name "/"
2700 (version-major+minor version) "/"
2701 name "-" version ".tar.bz2"))
2702 (sha256
2703 (base32
2704 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2705 (build-system gnu-build-system)
2706 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2707 (native-inputs
2708 `(("gtkmm-2" ,gtkmm-2)
2709 ("pkg-config" ,pkg-config)))
2710 (home-page "https://gtkmm.org")
2711 (synopsis "C++ bindings to the GNOME Canvas library")
2712 (description "C++ bindings to the GNOME Canvas library.")
2713 (license license:lgpl2.0+)))
2714
2715 (define-public libgnomeui
2716 (package
2717 (name "libgnomeui")
2718 (version "2.24.5")
2719 (source (origin
2720 (method url-fetch)
2721 (uri (string-append "mirror://gnome/sources/" name "/"
2722 (version-major+minor version) "/"
2723 name "-" version ".tar.bz2"))
2724 (patches (search-patches "libgnomeui-utf8.patch"))
2725 (sha256
2726 (base32
2727 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2728 (build-system gnu-build-system)
2729 ;; Mentioned as Required in the .pc file
2730 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2731 ("libgnome" ,libgnome)
2732 ("libgnomecanvas" ,libgnomecanvas)
2733 ("libgnome-keyring" ,libgnome-keyring)))
2734 (inputs `(("libjpeg" ,libjpeg-turbo)
2735 ("popt" ,popt)
2736 ("libbonobo" ,libbonobo)
2737 ("libxml2" ,libxml2)
2738 ("libglade" ,libglade)))
2739 (native-inputs
2740 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2741 ("intltool" ,intltool)
2742 ("pkg-config" ,pkg-config)))
2743 (home-page "https://developer.gnome.org/libgnomeui/")
2744 (synopsis "Additional widgets for applications")
2745 (description "The libgnomeui library provides additional widgets for
2746 applications. Many of the widgets from libgnomeui have already been
2747 ported to GTK+.")
2748 (license license:lgpl2.0+)))
2749
2750 (define-public libglade
2751 (package
2752 (name "libglade")
2753 (version "2.6.4")
2754 (source (origin
2755 (method url-fetch)
2756 (uri (string-append "mirror://gnome/sources/" name "/"
2757 (version-major+minor version) "/"
2758 name "-" version ".tar.bz2"))
2759 (sha256
2760 (base32
2761 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2762 (build-system gnu-build-system)
2763 (inputs
2764 `(("python" ,python))) ;; needed for the optional libglade-convert program
2765 (propagated-inputs
2766 `(("gtk+-2" ,gtk+-2)
2767 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2768 (native-inputs
2769 `(("pkg-config" ,pkg-config)))
2770 (home-page "https://developer.gnome.org/libglade")
2771 (synopsis "Load glade interfaces and access the glade built widgets")
2772 (description "Libglade is a library that provides interfaces for loading
2773 graphical interfaces described in glade files and for accessing the
2774 widgets built in the loading process.")
2775 (license license:gpl2+))) ; This is correct. GPL not LGPL
2776
2777 (define-public libgnomeprint
2778 ;; This library has been deprecated since 2006; see
2779 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2780 (package
2781 (name "libgnomeprint")
2782 (version "2.18.8")
2783 (source (origin
2784 (method url-fetch)
2785 (uri (string-append "mirror://gnome/sources/" name "/"
2786 (version-major+minor version) "/"
2787 name "-" version ".tar.bz2"))
2788 (sha256
2789 (base32
2790 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2791 (build-system gnu-build-system)
2792 (inputs
2793 `(("popt" ,popt)
2794 ("libart-lgpl" ,libart-lgpl)
2795 ("gtk+" ,gtk+-2)
2796 ("libxml2" ,libxml2)))
2797 (native-inputs
2798 `(("intltool" ,intltool)
2799 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2800 ("pkg-config" ,pkg-config)))
2801 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2802 (synopsis "Printing framework for GNOME")
2803 (description
2804 "GNOME-print was a printing framework for GNOME. It has been deprecated
2805 since ca. 2006, when GTK+ itself incorporated printing support.")
2806 (license license:lgpl2.0+)))
2807
2808
2809 (define-public libgnomeprintui
2810 ;; Deprecated; see libgnomeprint.
2811 (package
2812 (name "libgnomeprintui")
2813 (version "2.18.6")
2814 (source (origin
2815 (method url-fetch)
2816 (uri (string-append "mirror://gnome/sources/" name "/"
2817 (version-major+minor version) "/"
2818 name "-" version ".tar.bz2"))
2819 (sha256
2820 (base32
2821 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2822 (build-system gnu-build-system)
2823 ;; Mentioned as Required in the .pc file
2824 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2825 (inputs `(("gtk+" ,gtk+-2)
2826 ("glib" ,glib)
2827 ("gnome-icon-theme" ,gnome-icon-theme)
2828 ("libgnomecanvas" ,libgnomecanvas)
2829 ("libxml2" ,libxml2)))
2830 (native-inputs
2831 `(("intltool" ,intltool)
2832 ("pkg-config" ,pkg-config)))
2833 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2834 (synopsis "Printing framework for GNOME")
2835 (description (package-description libgnomeprint))
2836 (license license:lgpl2.0+)))
2837
2838 (define-public libbonoboui
2839 (package
2840 (name "libbonoboui")
2841 (version "2.24.5")
2842 (source (origin
2843 (method url-fetch)
2844 (uri (string-append "mirror://gnome/sources/" name "/"
2845 (version-major+minor version) "/"
2846 name "-" version ".tar.bz2"))
2847 (sha256
2848 (base32
2849 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2850 (build-system gnu-build-system)
2851 (arguments
2852 `(#:phases
2853 (modify-phases %standard-phases
2854 (add-before 'check 'start-xserver
2855 (lambda* (#:key inputs #:allow-other-keys)
2856 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2857 (disp ":1"))
2858
2859 (setenv "HOME" (getcwd))
2860 (setenv "DISPLAY" disp)
2861 ;; There must be a running X server and make check doesn't start one.
2862 ;; Therefore we must do it.
2863 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2864 ;; Mentioned as Required by the .pc file
2865 (propagated-inputs `(("libxml2" ,libxml2)))
2866 (inputs
2867 `(("popt" ,popt)
2868 ("pangox-compat" ,pangox-compat)
2869 ("libgnome" ,libgnome)
2870 ("libgnomecanvas" ,libgnomecanvas)
2871 ("libglade" ,libglade)))
2872 (native-inputs
2873 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2874 ("intltool" ,intltool)
2875 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2876 ("pkg-config" ,pkg-config)))
2877 (home-page "https://developer.gnome.org/libbonoboui/")
2878 (synopsis "Some user interface controls using Bonobo")
2879 (description "The Bonobo UI library provides a number of user interface
2880 controls using the Bonobo component framework.")
2881 (license license:lgpl2.0+)))
2882
2883 (define-public libwnck
2884 (package
2885 (name "libwnck")
2886 (version "3.32.0")
2887 (source (origin
2888 (method url-fetch)
2889 (uri (string-append "mirror://gnome/sources/" name "/"
2890 (version-major+minor version) "/"
2891 name "-" version ".tar.xz"))
2892 (sha256
2893 (base32
2894 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2895 (build-system meson-build-system)
2896 (native-inputs
2897 `(("pkg-config" ,pkg-config)
2898 ("glib" ,glib "bin") ; for glib-mkenums
2899 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2900 ("intltool" ,intltool)))
2901 (propagated-inputs
2902 `(("gtk+" ,gtk+)
2903 ("libxres" ,libxres)
2904 ("startup-notification" ,startup-notification)))
2905 (home-page "https://developer.gnome.org/libwnck/")
2906 (synopsis "Window Navigator Construction Kit")
2907 (description
2908 "Libwnck is the Window Navigator Construction Kit, a library for use in
2909 writing pagers, tasklists, and more generally applications that are dealing
2910 with window management. It tries hard to respect the Extended Window Manager
2911 Hints specification (EWMH).")
2912 (license license:lgpl2.0+)))
2913
2914 ;; stable version for gtk2, required by xfwm4.
2915 (define-public libwnck-2
2916 (package (inherit libwnck)
2917 (name "libwnck")
2918 (version "2.30.7")
2919 (source (origin
2920 (method url-fetch)
2921 (uri (string-append "mirror://gnome/sources/" name "/"
2922 (version-major+minor version) "/"
2923 name "-" version ".tar.xz"))
2924 (sha256
2925 (base32
2926 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2927 (build-system gnu-build-system)
2928 (native-inputs
2929 `(("pkg-config" ,pkg-config)
2930 ("intltool" ,intltool)))
2931 (propagated-inputs
2932 `(("gtk+" ,gtk+-2)
2933 ("libxres" ,libxres)
2934 ("startup-notification" ,startup-notification)))))
2935
2936 (define-public goffice
2937 (package
2938 (name "goffice")
2939 (version "0.10.46")
2940 (source (origin
2941 (method url-fetch)
2942 (uri (string-append "mirror://gnome/sources/goffice/"
2943 (version-major+minor version) "/"
2944 "goffice-" version ".tar.xz"))
2945 (sha256
2946 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2947 (build-system gnu-build-system)
2948 (outputs '("out"
2949 "doc")) ; 4.0 MiB of gtk-doc
2950 (arguments
2951 '(#:configure-flags (list (string-append "--with-html-dir="
2952 (assoc-ref %outputs "doc")
2953 "/share/gtk-doc/html"))))
2954 (inputs
2955 `(("gtk+" ,gtk+)
2956 ("libgsf" ,libgsf)
2957 ("librsvg" ,librsvg)
2958 ("libxslt" ,libxslt)
2959 ("libxml2" ,libxml2)))
2960 (native-inputs
2961 `(("intltool" ,intltool)
2962 ("glib" ,glib "bin")
2963 ("pkg-config" ,pkg-config)))
2964 (home-page "https://developer.gnome.org/goffice/")
2965 (synopsis "Document-centric objects and utilities")
2966 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2967 (license
2968 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2969 ;; Note: NOT LGPL
2970 (list license:gpl2 license:gpl3))))
2971
2972 (define-public goffice-0.8
2973 (package (inherit goffice)
2974 (version "0.8.17")
2975 (source (origin
2976 (method url-fetch)
2977 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2978 (version-major+minor version) "/"
2979 (package-name goffice) "-" version ".tar.xz"))
2980 (sha256
2981 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2982 (arguments
2983 `(#:phases
2984 (modify-phases %standard-phases
2985 (add-after 'unpack 'fix-pcre-check
2986 (lambda _
2987 ;; Only glib.h can be included directly. See
2988 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2989 (substitute* "configure"
2990 (("glib/gregex\\.h") "glib.h")) #t)))
2991
2992 ,@(package-arguments goffice)))
2993 (propagated-inputs
2994 ;; libgoffice-0.8.pc mentions libgsf-1
2995 `(("libgsf" ,libgsf)))
2996 (inputs
2997 `(("gtk" ,gtk+-2)
2998 ,@(alist-delete "gtk" (package-inputs goffice))))))
2999
3000 (define-public gnumeric
3001 (package
3002 (name "gnumeric")
3003 (version "1.12.46")
3004 (source (origin
3005 (method url-fetch)
3006 (uri (string-append "mirror://gnome/sources/gnumeric/"
3007 (version-major+minor version) "/"
3008 "gnumeric-" version ".tar.xz"))
3009 (sha256
3010 (base32
3011 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3012 (build-system glib-or-gtk-build-system)
3013 (arguments
3014 `(;; The gnumeric developers don't worry much about failing tests.
3015 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3016 #:tests? #f
3017 #:phases
3018 (modify-phases %standard-phases
3019 (add-before
3020 'configure 'pre-conf
3021 (lambda* (#:key outputs #:allow-other-keys)
3022 ;; Make install tries to write into the directory of goffice
3023 ;; I am informed that this only affects the possibility to embed a
3024 ;; spreadsheet inside an Abiword document. So presumably when we
3025 ;; package Abiword we'll have to refer it to this directory.
3026 (substitute* "configure"
3027 (("^GOFFICE_PLUGINS_DIR=.*")
3028 (string-append "GOFFICE_PLUGINS_DIR="
3029 (assoc-ref outputs "out")
3030 "/goffice/plugins"))))))))
3031 (inputs
3032 `(("glib" ,glib)
3033 ("gtk+" ,gtk+)
3034 ("goffice" ,goffice)
3035 ("libgsf" ,libgsf)
3036 ("librsvg" ,librsvg)
3037 ("libxml2" ,libxml2)
3038 ("libxslt" ,libxslt)
3039 ("python" ,python-2)
3040 ("python2-pygobject" ,python2-pygobject)
3041 ("zlib" ,zlib)))
3042 (native-inputs
3043 `(("bison" ,bison)
3044 ("docbook-xml" ,docbook-xml)
3045 ("intltool" ,intltool)
3046 ("itstool" ,itstool)
3047 ("glib:bin" ,glib "bin")
3048 ("pkg-config" ,pkg-config)))
3049 (home-page "http://www.gnumeric.org")
3050 (synopsis "Spreadsheet application")
3051 (description
3052 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3053 interoperable with other spreadsheet applications. It has a vast array of
3054 features beyond typical spreadsheet functionality, such as support for linear
3055 and non-linear solvers, statistical analysis, and telecommunication
3056 engineering.")
3057 (license
3058 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3059 (list license:gpl2 license:gpl3))))
3060
3061 (define-public gnome-themes-standard
3062 (package
3063 (name "gnome-themes-standard")
3064 (version "3.22.3")
3065 (source
3066 (origin
3067 (method url-fetch)
3068 (uri (string-append "mirror://gnome/sources/" name "/"
3069 (version-major+minor version) "/" name "-"
3070 version ".tar.xz"))
3071 (sha256
3072 (base32
3073 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3074 (build-system gnu-build-system)
3075 (arguments
3076 '(#:configure-flags
3077 ;; Don't create 'icon-theme.cache'.
3078 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3079 (true (string-append coreutils "/bin/true")))
3080 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3081 (inputs
3082 `(("gtk+" ,gtk+)
3083 ("gtk+-2" ,gtk+-2)
3084 ("librsvg" ,librsvg)
3085 ("libxml2" ,libxml2)
3086 ("glib" ,glib)))
3087 (native-inputs
3088 `(("intltool" ,intltool)
3089 ("glib:bin" ,glib "bin")
3090 ("pkg-config" ,pkg-config)))
3091 (home-page "https://launchpad.net/gnome-themes-standard")
3092 (synopsis "Default GNOME 3 themes")
3093 (description
3094 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3095 (license license:lgpl2.1+)))
3096
3097 (define-public seahorse
3098 (package
3099 (name "seahorse")
3100 (version "3.32.2")
3101 (source
3102 (origin
3103 (method url-fetch)
3104 (uri (string-append "mirror://gnome/sources/" name "/"
3105 (version-major+minor version) "/" name "-"
3106 version ".tar.xz"))
3107 (sha256
3108 (base32
3109 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
3110 (patches (search-patches
3111 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3112 (build-system meson-build-system)
3113 (arguments
3114 '(#:glib-or-gtk? #t
3115 #:phases
3116 (modify-phases %standard-phases
3117 (add-after 'unpack 'skip-gtk-update-icon-cache
3118 ;; Don't create 'icon-theme.cache'.
3119 (lambda _
3120 (substitute* "build-aux/meson_post_install.py"
3121 (("gtk-update-icon-cache") "true"))
3122 #t)))))
3123 (inputs
3124 `(("gtk+" ,gtk+)
3125 ("gcr" ,gcr)
3126 ("gnupg" ,gnupg)
3127 ("gpgme" ,gpgme)
3128 ("openldap" ,openldap)
3129 ("openssh" ,openssh)
3130 ("avahi" ,avahi)
3131 ("libpwquality" ,libpwquality)
3132 ("libsecret" ,libsecret)
3133 ("libsoup" ,libsoup)))
3134 (native-inputs
3135 `(("gettext" ,gettext-minimal)
3136 ("glib:bin" ,glib "bin")
3137 ("itstool" ,itstool)
3138 ("pkg-config" ,pkg-config)
3139 ("vala" ,vala)
3140 ("xmllint" ,libxml2)))
3141 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3142 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3143 (description
3144 "Seahorse is a GNOME application for managing encryption keys and
3145 passwords in the GNOME keyring.")
3146 (license license:gpl2+)))
3147
3148 (define-public vala
3149 (package
3150 (name "vala")
3151 (version "0.46.5")
3152 (source (origin
3153 (method url-fetch)
3154 (uri (string-append "mirror://gnome/sources/" name "/"
3155 (version-major+minor version) "/"
3156 name "-" version ".tar.xz"))
3157 (sha256
3158 (base32
3159 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3160 (build-system gnu-build-system)
3161 (arguments
3162 '(#:phases
3163 (modify-phases %standard-phases
3164 (add-before 'check 'pre-check
3165 (lambda _
3166 (setenv "CC" "gcc")
3167 (substitute* "valadoc/tests/testrunner.sh"
3168 (("export PKG_CONFIG_PATH=" m)
3169 (string-append m "$PKG_CONFIG_PATH:")))
3170 ;; For missing '/etc/machine-id'.
3171 (setenv "DBUS_FATAL_WARNINGS" "0")
3172 #t)))))
3173 (native-inputs
3174 `(("pkg-config" ,pkg-config)
3175 ("flex" ,flex)
3176 ("bison" ,bison)
3177 ("xsltproc" ,libxslt)
3178 ("dbus" ,dbus) ; for dbus tests
3179 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3180 (inputs
3181 `(("graphviz" ,graphviz)))
3182 (propagated-inputs
3183 `(("glib" ,glib))) ; required by libvala-0.40.pc
3184 (home-page "https://live.gnome.org/Vala/")
3185 (synopsis "Compiler for the GObject type system")
3186 (description
3187 "Vala is a programming language that aims to bring modern programming
3188 language features to GNOME developers without imposing any additional runtime
3189 requirements and without using a different ABI compared to applications and
3190 libraries written in C.")
3191 (license license:lgpl2.1+)))
3192
3193 (define-public vte
3194 (package
3195 (name "vte")
3196 (version "0.58.3")
3197 (source (origin
3198 (method url-fetch)
3199 (uri (string-append "mirror://gnome/sources/vte/"
3200 (version-major+minor version) "/"
3201 "vte-" version ".tar.xz"))
3202 (sha256
3203 (base32
3204 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3205 (build-system meson-build-system)
3206 (native-inputs
3207 `(("pkg-config" ,pkg-config)
3208 ("intltool" ,intltool)
3209 ("vala" ,vala)
3210 ("gobject-introspection" ,gobject-introspection)
3211 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3212 ("gperf" ,gperf)
3213 ("xmllint" ,libxml2)))
3214 (propagated-inputs
3215 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3216 ("gnutls" ,gnutls) ; ditto
3217 ("pcre2" ,pcre2))) ; ditto
3218 (home-page "https://www.gnome.org/")
3219 (synopsis "Virtual Terminal Emulator")
3220 (description
3221 "VTE is a library (libvte) implementing a terminal emulator widget for
3222 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3223 gnome-terminal, but can also be used to embed a console/terminal in games,
3224 editors, IDEs, etc.")
3225 (license license:lgpl2.1+)))
3226
3227 (define-public vte-ng
3228 (package
3229 (inherit vte)
3230 (name "vte-ng")
3231 (version "0.58.2.a")
3232 (home-page "https://github.com/thestinger/vte-ng")
3233 (source (origin
3234 (method git-fetch)
3235 (uri (git-reference (url home-page) (commit version)))
3236 (file-name (git-file-name name version))
3237 (sha256
3238 (base32
3239 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3240 (build-system meson-build-system)
3241 (native-inputs
3242 `(("gtk-doc" ,gtk-doc)
3243 ,@(package-native-inputs vte)))
3244 (arguments
3245 `(#:configure-flags '("-Ddocs=true")))
3246 (synopsis "Enhanced VTE terminal widget")
3247 (description
3248 "VTE is a library (libvte) implementing a terminal emulator widget for
3249 GTK+, this fork provides additional functions exposed for keyboard text
3250 selection and URL hints.")))
3251
3252 ;; provides vte 2.90, required for some terminal emulators
3253 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3254 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3255 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3256 ;; pantheon-terminal, roxterm are not currently packaged
3257 (define-public vte-0.36
3258 (package (inherit vte)
3259 (name "vte")
3260 (version "0.36.5")
3261 (source (origin
3262 (method url-fetch)
3263 (uri (string-append "mirror://gnome/sources/" name "/"
3264 (version-major+minor version) "/"
3265 name "-" version ".tar.xz"))
3266 (sha256
3267 (base32
3268 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3269 (propagated-inputs
3270 `(("gtk" ,gtk+)
3271 ("ncurses" ,ncurses)))))
3272
3273 ;; stable version for gtk2, required by xfce4-terminal.
3274 (define-public vte/gtk+-2
3275 (package (inherit vte)
3276 (name "vte")
3277 (version "0.28.2")
3278 (source (origin
3279 (method url-fetch)
3280 (uri (string-append "mirror://gnome/sources/" name "/"
3281 (version-major+minor version) "/"
3282 name "-" version ".tar.xz"))
3283 (sha256
3284 (base32
3285 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3286 (patches (search-patches
3287 "vte-CVE-2012-2738-pt1.patch"
3288 "vte-CVE-2012-2738-pt2.patch"))))
3289 (build-system gnu-build-system)
3290 (arguments
3291 '(#:configure-flags '("--disable-python")))
3292 (native-inputs
3293 `(("pkg-config" ,pkg-config)
3294 ("intltool" ,intltool)
3295 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3296 (propagated-inputs
3297 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3298 ("ncurses" ,ncurses))))) ; required by libvte.la
3299
3300 (define-public vinagre
3301 (package
3302 (name "vinagre")
3303 (version "3.22.0")
3304 (source (origin
3305 (method url-fetch)
3306 (uri (string-append "mirror://gnome/sources/" name "/"
3307 (version-major+minor version) "/"
3308 name "-" version ".tar.xz"))
3309 (patches (search-patches "vinagre-newer-freerdp.patch"
3310 "vinagre-newer-rdp-parameters.patch"))
3311 (sha256
3312 (base32
3313 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3314 (build-system glib-or-gtk-build-system)
3315 (arguments
3316 ;; Disable -Werror and such, to avoid build failures on compilation
3317 ;; warnings.
3318 '(#:configure-flags '("--enable-compile-warnings=minimum")
3319 #:phases
3320 (modify-phases %standard-phases
3321 (add-before 'install 'skip-gtk-update-icon-cache
3322 (lambda _
3323 ;; Don't create 'icon-theme.cache'
3324 (substitute* (find-files "." "^Makefile$")
3325 (("gtk-update-icon-cache") (which "true")))
3326 #t))
3327 (add-after 'unpack 'patch-configure
3328 (lambda _
3329 (substitute* "configure"
3330 (("freerdp") "freerdp2"))
3331 #t)))))
3332 (native-inputs
3333 `(("pkg-config" ,pkg-config)
3334 ("intltool" ,intltool)
3335 ("itstool" ,itstool)
3336 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3337 (inputs
3338 `(("libxml2" ,libxml2)
3339 ("gtk-vnc" ,gtk-vnc)
3340 ("gnome-keyring" ,gnome-keyring)
3341 ("libsecret" ,libsecret)
3342 ("freerdp" ,freerdp)
3343 ("spice" ,spice)
3344 ("spice-gtk" ,spice-gtk)
3345 ("telepathy-glib" ,telepathy-glib)
3346 ("vte" ,vte)))
3347 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3348 (synopsis "Remote desktop viewer for GNOME")
3349 (description "Vinagre is a remote display client supporting the VNC, SPICE
3350 and RDP protocols.")
3351 (license license:gpl3+)))
3352
3353 (define-public dconf
3354 (package
3355 (name "dconf")
3356 (version "0.34.0")
3357 (source (origin
3358 (method url-fetch)
3359 (uri (string-append
3360 "mirror://gnome/sources/" name "/"
3361 (version-major+minor version) "/"
3362 name "-" version ".tar.xz"))
3363 (patches (search-patches "dconf-meson-0.52.patch"))
3364 (sha256
3365 (base32
3366 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3367 (build-system meson-build-system)
3368 (propagated-inputs
3369 ;; In Requires of dconf.pc.
3370 `(("glib" ,glib)))
3371 (inputs
3372 `(("gtk+" ,gtk+)
3373 ("dbus" ,dbus)))
3374 (native-inputs
3375 `(("bash-completion" ,bash-completion)
3376 ("libxslt" ,libxslt) ;for xsltproc
3377 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3378 ("docbook-xml" ,docbook-xml-4.2)
3379 ("docbook-xsl" ,docbook-xsl)
3380 ("glib:bin" ,glib "bin")
3381 ("gtk-doc" ,gtk-doc)
3382 ("pkg-config" ,pkg-config)
3383 ("vala" ,vala)))
3384 (arguments
3385 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3386 ; or /etc/machine-id.
3387 #:glib-or-gtk? #t
3388 #:configure-flags '("-Denable-gtk-doc=true")))
3389 (home-page "https://developer.gnome.org/dconf")
3390 (synopsis "Low-level GNOME configuration system")
3391 (description "Dconf is a low-level configuration system. Its main purpose
3392 is to provide a backend to GSettings on platforms that don't already have
3393 configuration storage systems.")
3394 (license license:lgpl2.1+)))
3395
3396 (define-public json-glib
3397 (package
3398 (name "json-glib")
3399 (version "1.4.4")
3400 (source (origin
3401 (method url-fetch)
3402 (uri (string-append "mirror://gnome/sources/" name "/"
3403 (version-major+minor version) "/"
3404 name "-" version ".tar.xz"))
3405 (sha256
3406 (base32
3407 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3408 (build-system meson-build-system)
3409 (native-inputs
3410 `(("gettext" ,gettext-minimal)
3411 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3412 ("gobject-introspection" ,gobject-introspection)
3413 ("pkg-config" ,pkg-config)))
3414 (propagated-inputs
3415 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3416 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3417 (synopsis "Compiler for the GObject type system")
3418 (description
3419 "JSON-GLib is a C library based on GLib providing serialization and
3420 deserialization support for the JavaScript Object Notation (JSON) format
3421 described by RFC 4627. It provides parser and generator GObject classes and
3422 various wrappers for the complex data types employed by JSON, such as arrays
3423 and objects.")
3424 (license license:lgpl2.1+)))
3425
3426 (define-public libxklavier
3427 (package
3428 (name "libxklavier")
3429 (version "5.4")
3430 (source (origin
3431 ;; Note: There's no tarball at ftp.gnome.org for this version.
3432 (method git-fetch)
3433 (uri (git-reference
3434 (url "https://anongit.freedesktop.org/git/libxklavier")
3435 (commit (string-append "libxklavier-" version))))
3436 (sha256
3437 (base32
3438 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3439 (file-name (git-file-name name version))))
3440 (build-system gnu-build-system)
3441 (arguments
3442 '(#:configure-flags
3443 (list (string-append "--with-xkb-base="
3444 (assoc-ref %build-inputs "xkeyboard-config")
3445 "/share/X11/xkb")
3446 "--disable-xmodmap-support")))
3447 (native-inputs
3448 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3449 ("gobject-introspection" ,gobject-introspection)
3450 ("pkg-config" ,pkg-config)
3451 ("gtk-doc" ,gtk-doc)
3452 ("intltool" ,intltool)
3453 ("which" ,which)
3454 ("autoconf" ,autoconf)
3455 ("automake" ,automake)
3456 ("libtool" ,libtool)))
3457 (propagated-inputs
3458 ;; Required by libxklavier.pc.
3459 `(("glib" ,glib)
3460 ("libxml2" ,libxml2)))
3461 (inputs
3462 `(("iso-codes" ,iso-codes)
3463 ("libxi" ,libxi)
3464 ("libxkbfile" ,libxkbfile)
3465 ("xkbcomp" ,xkbcomp)
3466 ("xkeyboard-config" ,xkeyboard-config)))
3467 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3468 (synopsis "High-level API for X Keyboard Extension")
3469 (description
3470 "LibXklavier is a library providing high-level API for X Keyboard
3471 Extension known as XKB. This library is intended to support XFree86 and other
3472 commercial X servers. It is useful for creating XKB-related software (layout
3473 indicators etc).")
3474 (license license:lgpl2.0+)))
3475
3476 (define-public python2-rsvg
3477 ;; XXX: This is actually a subset of gnome-python-desktop.
3478 (package
3479 (name "python2-rsvg")
3480 (version "2.32.0")
3481 (source
3482 (origin
3483 (method url-fetch)
3484 (uri (string-append
3485 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3486 version ".tar.bz2"))
3487 (sha256
3488 (base32
3489 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3490 (build-system gnu-build-system)
3491 (native-inputs
3492 `(("pkg-config" ,pkg-config)))
3493 (inputs
3494 `(("python" ,python-2)
3495 ("python2-pygtk" ,python2-pygtk)
3496 ("librsvg" ,librsvg)))
3497 (home-page "https://www.gnome.org")
3498 (synopsis "Python bindings to librsvg")
3499 (description
3500 "This package provides Python bindings to librsvg, the SVG rendering
3501 library.")
3502
3503 ;; This is the license of the rsvg bindings. The license of each module
3504 ;; of gnome-python-desktop is given in 'COPYING'.
3505 (license license:lgpl2.1+)))
3506
3507 (define-public glib-networking
3508 (package
3509 (name "glib-networking")
3510 (version "2.62.2")
3511 (source (origin
3512 (method url-fetch)
3513 (uri (string-append "mirror://gnome/sources/glib-networking/"
3514 (version-major+minor version) "/"
3515 "glib-networking-" version ".tar.xz"))
3516 (sha256
3517 (base32
3518 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3519 (build-system meson-build-system)
3520 (arguments
3521 `(#:configure-flags '("-Dlibproxy_support=false")))
3522 (native-inputs
3523 `(("pkg-config" ,pkg-config)
3524 ("intltool" ,intltool)))
3525 (inputs
3526 `(("glib" ,glib)
3527 ("gnutls" ,gnutls)
3528 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3529 (home-page "https://www.gnome.org")
3530 (synopsis "Network-related GIO modules")
3531 (description
3532 "This package contains various network related extensions for the GIO
3533 library.")
3534 (license license:lgpl2.0+)))
3535
3536 (define-public rest
3537 (package
3538 (name "rest")
3539 (version "0.8.1")
3540 (source (origin
3541 (method url-fetch)
3542 (uri (string-append "mirror://gnome/sources/rest/"
3543 (version-major+minor version) "/"
3544 name "-" version ".tar.xz"))
3545 (sha256
3546 (base32
3547 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3548 (build-system gnu-build-system)
3549 (arguments
3550 '(#:tests? #f ; tests require internet connection
3551 #:configure-flags
3552 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3553 (native-inputs
3554 `(("glib-mkenums" ,glib "bin")
3555 ("gobject-introspection" ,gobject-introspection)
3556 ("pkg-config" ,pkg-config)))
3557 (propagated-inputs
3558 ;; rest-0.7.pc refers to all these.
3559 `(("glib" ,glib)
3560 ("libsoup" ,libsoup)
3561 ("libxml2" ,libxml2)))
3562 (home-page "https://www.gtk.org/")
3563 (synopsis "RESTful web api query library")
3564 (description
3565 "This library was designed to make it easier to access web services that
3566 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3567 libxml to ease remote use of the RESTful API.")
3568 (license license:lgpl2.1+)))
3569
3570 (define-public libsoup
3571 (package
3572 (name "libsoup")
3573 (version "2.70.0")
3574 (source (origin
3575 (method url-fetch)
3576 (uri (string-append "mirror://gnome/sources/libsoup/"
3577 (version-major+minor version) "/"
3578 "libsoup-" version ".tar.xz"))
3579 (sha256
3580 (base32
3581 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3582 (build-system meson-build-system)
3583 (outputs '("out" "doc"))
3584 (arguments
3585 `(#:modules ((guix build utils)
3586 (guix build meson-build-system)
3587 (ice-9 popen))
3588
3589 #:configure-flags '("-Dgtk_doc=true")
3590 #:phases
3591 (modify-phases %standard-phases
3592 (add-after 'unpack 'adjust-tests
3593 (lambda _
3594 ;; This test fails due to missing /etc/nsswitch.conf
3595 ;; in the build environment.
3596 (substitute* "tests/socket-test.c"
3597 ((".*/sockets/unconnected.*") ""))
3598
3599 ;; These fail because "subdomain.localhost" does not resolve in
3600 ;; the build environment.
3601 (substitute* "tests/hsts-test.c"
3602 ((".*/hsts/basic.*") "")
3603 ((".*/hsts/subdomains.*") "")
3604 ((".*/hsts/superdomain.*") "")
3605 ((".*/hsts/utf8-address.*") ""))
3606 (substitute* "tests/hsts-db-test.c"
3607 ((".*/hsts-db/subdomains.*") ""))
3608
3609 ;; Generate a self-signed certificate that has "localhost" as its
3610 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3611 ;; 3.5.12, tests such as "ssl-tests" fail:
3612 ;;
3613 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3614 ;;
3615 ;; 'certtool' is interactive so we have to pipe it the answers.
3616 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3617 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3618 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3619 (for-each (lambda (line)
3620 (display line pipe)
3621 (newline pipe))
3622 '("" ;Common name
3623 "" ;UID
3624 "Guix" ;Organizational unit name
3625 "GNU" ;Organization name
3626 "" ;Locality name
3627 "" ;State or province
3628 "" ;Country
3629 "" ;subject's domain component (DC)
3630 "" ;E-mail
3631 "" ;serial number
3632 "-1" ;expiration time
3633 "N" ;belong to authority?
3634 "N" ;web client certificate?
3635 "N" ;IPsec IKE?
3636 "Y" ;web server certificate?
3637 "localhost" ;dnsName of subject
3638 "" ;dnsName of subject (end)
3639 "" ;URI of subject
3640 "127.0.0.1" ;IP address of subject
3641 "" ;signing?
3642 "" ;encryption (RSA)?
3643 "" ;data encryption?
3644 "" ;sign OCSP requests?
3645 "" ;sign code?
3646 "" ;time stamping?
3647 "" ;email protection?
3648 "" ;URI of the CRL distribution point
3649 "y" ;above info OK?
3650 ))
3651 (close-pipe pipe))
3652 #t))
3653 (add-after 'install 'move-doc
3654 (lambda* (#:key outputs #:allow-other-keys)
3655 (let ((out (assoc-ref outputs "out"))
3656 (doc (assoc-ref outputs "doc")))
3657 (mkdir-p (string-append doc "/share"))
3658 (copy-recursively (string-append out "/share/gtk-doc")
3659 (string-append doc "/share/gtk-doc"))
3660 (delete-file-recursively (string-append out "/share/gtk-doc"))
3661 #t))))))
3662 (native-inputs
3663 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3664 ("gobject-introspection" ,gobject-introspection)
3665 ("gtk-doc" ,gtk-doc)
3666 ("intltool" ,intltool)
3667 ("pkg-config" ,pkg-config)
3668 ("python" ,python-wrapper)
3669 ("vala" ,vala)
3670 ;; These are needed for the tests.
3671 ;; FIXME: Add PHP once available.
3672 ("curl" ,curl)
3673 ("gnutls" ,gnutls) ;for 'certtool'
3674 ("httpd" ,httpd)))
3675 (propagated-inputs
3676 ;; libsoup-2.4.pc refers to all these.
3677 `(("brotli" ,google-brotli)
3678 ("glib" ,glib)
3679 ("libpsl" ,libpsl)
3680 ("libxml2" ,libxml2)
3681 ("sqlite" ,sqlite)
3682 ("zlib" ,zlib)))
3683 (inputs
3684 `(("glib-networking" ,glib-networking)
3685 ("mit-krb5" ,mit-krb5)))
3686 (home-page "https://live.gnome.org/LibSoup/")
3687 (synopsis "GLib-based HTTP Library")
3688 (description
3689 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3690 and the GLib main loop, to integrate well with GNOME applications.")
3691 (license license:lgpl2.0+)))
3692
3693 (define-public libsecret
3694 (package
3695 (name "libsecret")
3696 (version "0.20.2")
3697 (source (origin
3698 (method url-fetch)
3699 (uri (string-append
3700 "mirror://gnome/sources/libsecret/"
3701 (version-major+minor version) "/"
3702 "libsecret-" version ".tar.xz"))
3703 (sha256
3704 (base32
3705 "1hzz34gmsxxf1jm1b7qin390rkwbg8sx198xdkwxqp3q6cw19sc1"))))
3706 (build-system gnu-build-system)
3707 (outputs '("out" "doc"))
3708 (arguments
3709 `(#:tests? #f ; FIXME: Testing hangs.
3710 #:configure-flags
3711 (list (string-append "--with-html-dir="
3712 (assoc-ref %outputs "doc")
3713 "/share/gtk-doc/html"))))
3714 (native-inputs
3715 `(("gettext" ,gettext-minimal)
3716 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3717 ("gobject-introspection" ,gobject-introspection)
3718 ("pkg-config" ,pkg-config)
3719 ("vala" ,vala)
3720 ("xsltproc" ,libxslt)))
3721 ;; These are needed for the tests.
3722 ;; FIXME: Add gjs once available.
3723 ;("dbus" ,dbus)
3724 ;("python2" ,python-2)
3725 ;("python2-dbus" ,python2-dbus)
3726 ;("python2-pygobject" ,python2-pygobject)
3727 ;("python2-pygobject-2" ,python2-pygobject-2)))
3728 (propagated-inputs
3729 `(("glib" ,glib))) ; required by libsecret-1.pc
3730 (inputs
3731 `(("docbook-xsl" ,docbook-xsl)
3732 ("libgcrypt" ,libgcrypt)
3733 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3734 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3735 (synopsis "GObject bindings for \"Secret Service\" API")
3736 (description
3737 "Libsecret is a GObject based library for storing and retrieving passwords
3738 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3739 (license license:lgpl2.1+)))
3740
3741 (define-public five-or-more
3742 (package
3743 (name "five-or-more")
3744 (version "3.32.1")
3745 (source
3746 (origin
3747 (method url-fetch)
3748 (uri (string-append "mirror://gnome/sources/five-or-more/"
3749 (version-major+minor version) "/"
3750 "five-or-more-" version ".tar.xz"))
3751 (sha256
3752 (base32 "0xw05dd2dwi9vsph9h158b4n89s5k07xrh6bjz1icm0pdmjwhpgk"))))
3753 (build-system meson-build-system)
3754 (arguments
3755 '(#:glib-or-gtk? #t
3756 #:phases
3757 (modify-phases %standard-phases
3758 (add-after 'unpack 'skip-gtk-update-icon-cache
3759 (lambda _
3760 (substitute* "meson_post_install.py"
3761 (("gtk-update-icon-cache") (which "true")))
3762 #t)))))
3763 (native-inputs
3764 `(("pkg-config" ,pkg-config)
3765 ("appstream-glib" ,appstream-glib)
3766 ("desktop-file-utils" ,desktop-file-utils)
3767 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3768 ("intltool" ,intltool)
3769 ("itstool" ,itstool)
3770 ("vala" ,vala)
3771 ("xmllint" ,libxml2)))
3772 (inputs
3773 `(("gtk+" ,gtk+)
3774 ("libgnome-games-support" ,libgnome-games-support)
3775 ("librsvg" ,librsvg)))
3776 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3777 (synopsis "Logic puzzle game")
3778 (description "Five or More is a game where you try to align
3779 five or more objects of the same color and shape causing them to disappear.
3780 On every turn more objects will appear, until the board is full.
3781 Try to last as long as possible.")
3782 (license license:gpl2+)))
3783
3784 (define-public gnome-mines
3785 (package
3786 (name "gnome-mines")
3787 (version "3.32.2")
3788 (source
3789 (origin
3790 (method url-fetch)
3791 (uri (string-append "mirror://gnome/sources/" name "/"
3792 (version-major+minor version) "/"
3793 name "-" version ".tar.xz"))
3794 (sha256
3795 (base32
3796 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
3797 (build-system meson-build-system)
3798 (arguments
3799 '(#:glib-or-gtk? #t
3800 #:phases
3801 (modify-phases %standard-phases
3802 (add-after 'unpack 'skip-gtk-update-icon-cache
3803 (lambda _
3804 (substitute* "build-aux/meson_post_install.py"
3805 (("gtk-update-icon-cache") (which "true")))
3806 #t)))))
3807 (native-inputs
3808 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3809 ("pkg-config" ,pkg-config)
3810 ("desktop-file-utils" ,desktop-file-utils)
3811 ("intltool" ,intltool)
3812 ("itstool" ,itstool)
3813 ("vala" ,vala)
3814 ("yelp" ,yelp)
3815 ("appstream-glib" ,appstream-glib)))
3816 (inputs
3817 `(("gtk+" ,gtk+)
3818 ("libgnome-games-support" ,libgnome-games-support)
3819 ("librsvg" ,librsvg)))
3820 (home-page "https://wiki.gnome.org/Apps/Mines")
3821 (synopsis "Minesweeper game")
3822 (description
3823 "Mines (previously gnomine) is a puzzle game where you locate mines
3824 floating in an ocean using only your brain and a little bit of luck.")
3825 (license license:gpl2+)))
3826
3827 (define-public gnome-sudoku
3828 (package
3829 (name "gnome-sudoku")
3830 (version "3.32.0")
3831 (source
3832 (origin
3833 (method url-fetch)
3834 (uri (string-append "mirror://gnome/sources/" name "/"
3835 (version-major+minor version) "/"
3836 name "-" version ".tar.xz"))
3837 (sha256
3838 (base32
3839 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3840 (build-system meson-build-system)
3841 (arguments
3842 '(#:glib-or-gtk? #t
3843 #:phases
3844 (modify-phases %standard-phases
3845 (add-after 'unpack 'skip-gtk-update-icon-cache
3846 (lambda _
3847 (substitute* "build-aux/post_install.py"
3848 (("gtk-update-icon-cache") (which "true")))
3849 #t)))))
3850 (native-inputs
3851 `(("pkg-config" ,pkg-config)
3852 ("desktop-file-utils" ,desktop-file-utils)
3853 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3854 ("intltool" ,intltool)
3855 ("itstool" ,itstool)
3856 ("vala" ,vala)
3857 ("xmllint" ,libxml2)))
3858 (inputs
3859 `(("gtk+" ,gtk+)
3860 ("json-glib" ,json-glib)
3861 ("libgee" ,libgee)
3862 ("librsvg" ,librsvg)
3863 ("qqwing" ,qqwing)))
3864 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3865 (synopsis "Japanese logic game")
3866 (description
3867 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3868 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3869 possible while still providing features that make playing difficult Sudoku
3870 more fun.")
3871 (license license:gpl2+)))
3872
3873 (define-public gnome-terminal
3874 (package
3875 (name "gnome-terminal")
3876 (version "3.32.2")
3877 (source
3878 (origin
3879 (method url-fetch)
3880 (uri (string-append "mirror://gnome/sources/" name "/"
3881 (version-major+minor version) "/"
3882 name "-" version ".tar.xz"))
3883 (sha256
3884 (base32
3885 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
3886 (build-system glib-or-gtk-build-system)
3887 (arguments
3888 '(#:configure-flags
3889 (list "--disable-migration" "--disable-search-provider"
3890 "--without-nautilus-extension")
3891 #:phases
3892 (modify-phases %standard-phases
3893 (add-before 'configure 'patch-/bin/true
3894 (lambda _
3895 (substitute* "configure"
3896 (("/bin/true") (which "true"))))))))
3897 (native-inputs
3898 `(("pkg-config" ,pkg-config)
3899 ("desktop-file-utils" ,desktop-file-utils)
3900 ("intltool" ,intltool)
3901 ("itstool" ,itstool)
3902 ("xmllint" ,libxml2)))
3903 (propagated-inputs
3904 `(("dconf" ,dconf)))
3905 (inputs
3906 `(("gtk+" ,gtk+)
3907 ("vte" ,vte)
3908 ("gnutls" ,gnutls)
3909 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3910 ("util-linux" ,util-linux "lib")
3911 ("vala" ,vala)))
3912 (home-page "https://wiki.gnome.org/Apps/Terminal")
3913 (synopsis "Terminal emulator")
3914 (description
3915 "GNOME Terminal is a terminal emulator application for accessing a
3916 UNIX shell environment which can be used to run programs available on
3917 your system.
3918
3919 It supports several profiles, multiple tabs and implements several
3920 keyboard shortcuts.")
3921 (license license:gpl3+)))
3922
3923 (define-public colord
3924 (package
3925 (name "colord")
3926 (version "1.4.4")
3927 (source
3928 (origin
3929 (method url-fetch)
3930 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3931 "colord-" version ".tar.xz"))
3932 (sha256
3933 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3934 (build-system meson-build-system)
3935 (arguments
3936 '(;; FIXME: One test fails:
3937 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3938 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3939 ;; application/x-zerosize
3940 #:tests? #f
3941 #:glib-or-gtk? #t
3942 #:configure-flags (list "-Dlocalstatedir=/var"
3943 ;; No dep on systemd.
3944 "-Dsystemd=false"
3945 ;; Wants to install to global completion dir;
3946 ;; punt.
3947 "-Dbash_completion=false"
3948 "-Ddaemon_user=colord"
3949 "-Dsane=true"
3950 "-Dvapi=true"
3951 ;; Requires spotread.
3952 "-Dargyllcms_sensor=false"
3953 ;; TODO: Requires docbook2x.
3954 "-Dman=false")
3955 #:phases
3956 (modify-phases %standard-phases
3957 (add-before 'configure 'patch-build-system
3958 (lambda* (#:key outputs #:allow-other-keys)
3959 (substitute* "rules/meson.build"
3960 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3961 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3962 #t))
3963 (add-before 'configure 'set-sqlite3-file-name
3964 (lambda* (#:key inputs #:allow-other-keys)
3965 ;; "colormgr dump" works by invoking the "sqlite3" command.
3966 ;; Record its absolute file name.
3967 (let ((sqlite (assoc-ref inputs "sqlite")))
3968 (substitute* "client/cd-util.c"
3969 (("\"sqlite3\"")
3970 (string-append "\"" sqlite "/bin/sqlite3\"")))
3971 #t))))))
3972 (native-inputs
3973 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3974 ("gettext" ,gettext-minimal)
3975 ("gobject-introspection" ,gobject-introspection)
3976 ("gtk-doc" ,gtk-doc)
3977 ("pkg-config" ,pkg-config)
3978 ("vala" ,vala)))
3979 (propagated-inputs
3980 ;; colord.pc refers to all these.
3981 `(("glib" ,glib)
3982 ("lcms" ,lcms)
3983 ("udev" ,eudev)))
3984 (inputs
3985 `(("dbus-glib" ,dbus-glib)
3986 ("gusb" ,gusb)
3987 ("libgudev" ,libgudev)
3988 ("libusb" ,libusb)
3989 ("polkit" ,polkit)
3990 ("python" ,python-wrapper)
3991 ("sqlite" ,sqlite)
3992 ("sane-backends" ,sane-backends)))
3993 (home-page "https://www.freedesktop.org/software/colord/")
3994 (synopsis "Color management service")
3995 (description "Colord is a system service that makes it easy to manage,
3996 install and generate color profiles to accurately color manage input and
3997 output devices.")
3998 (license license:gpl2+)))
3999
4000 (define-public geoclue
4001 (package
4002 (name "geoclue")
4003 (version "2.5.5")
4004 (source
4005 (origin
4006 (method url-fetch)
4007 (uri
4008 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4009 version "/geoclue-" version ".tar.bz2"))
4010 (sha256
4011 (base32
4012 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4013 (patches (search-patches "geoclue-config.patch"))))
4014 (build-system meson-build-system)
4015 (arguments
4016 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4017 (native-inputs
4018 `(("pkg-config" ,pkg-config)
4019 ("gobject-introspection" ,gobject-introspection)
4020 ("modem-manager" ,modem-manager)
4021 ("libnotify" ,libnotify)
4022 ("gtk-doc", gtk-doc)
4023 ("intltool" ,intltool)))
4024 (inputs
4025 `(("avahi" ,avahi)
4026 ("glib:bin" ,glib "bin")
4027 ("glib-networking" ,glib-networking)
4028 ("json-glib" ,json-glib)
4029 ("libsoup" ,libsoup)))
4030 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4031 (synopsis "Geolocation service")
4032 (description "Geoclue is a D-Bus service that provides location
4033 information. The primary goal of the Geoclue project is to make creating
4034 location-aware applications as simple as possible, while the secondary goal is
4035 to ensure that no application can access location information without explicit
4036 permission from user.")
4037 (license license:gpl2+)))
4038
4039 (define-public geocode-glib
4040 (package
4041 (name "geocode-glib")
4042 (version "3.26.1")
4043 (source (origin
4044 (method url-fetch)
4045 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4046 (version-major+minor version) "/"
4047 "geocode-glib-" version ".tar.xz"))
4048 (sha256
4049 (base32
4050 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4051 (build-system meson-build-system)
4052 (arguments
4053 `(#:phases
4054 (modify-phases %standard-phases
4055 ;; The tests require a bunch of locales.
4056 (add-before 'check 'set-locales
4057 (lambda* (#:key inputs #:allow-other-keys)
4058 (setenv "GUIX_LOCPATH"
4059 (string-append (assoc-ref inputs "glibc-locales")
4060 "/lib/locale"))
4061 #t)))))
4062 (native-inputs
4063 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4064 ("glibc-locales" ,glibc-locales) ; for tests
4065 ("gettext" ,gettext-minimal)
4066 ("gobject-introspection" ,gobject-introspection)
4067 ("gtk-doc" ,gtk-doc)
4068 ("pkg-config" ,pkg-config)
4069 ("json-glib" ,json-glib)))
4070 (propagated-inputs
4071 ;; geocode-glib-1.0.pc refers to GIO.
4072 `(("glib" ,glib)))
4073 (inputs
4074 `(("libsoup" ,libsoup)))
4075 (home-page "https://github.com/GNOME/geocode-glib/")
4076 (synopsis "Geocoding and reverse-geocoding library")
4077 (description
4078 "geocode-glib is a convenience library for geocoding (finding longitude,
4079 and latitude from an address) and reverse geocoding (finding an address from
4080 coordinates) using the Nominatim service. geocode-glib caches requests for
4081 faster results and to avoid unnecessary server load.")
4082 (license license:lgpl2.0+)))
4083
4084 (define-public upower
4085 (package
4086 (name "upower")
4087 (version "0.99.11")
4088 (source (origin
4089 (method url-fetch)
4090 (uri (string-append "https://upower.freedesktop.org/releases/"
4091 "upower-" version ".tar.xz"))
4092 (sha256
4093 (base32
4094 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4095 (patches (search-patches "upower-builddir.patch"))
4096 (modules '((guix build utils)))
4097 (snippet
4098 '(begin
4099 ;; Upstream commit
4100 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4101 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4102 ;; 'dbus-configuration-directory' in (gnu services dbus)
4103 ;; expects it in etc/. Thus, move it back to its previous
4104 ;; location.
4105 (substitute* "src/Makefile.in"
4106 (("^dbusconfdir =.*$")
4107 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4108 #t))))
4109 (build-system glib-or-gtk-build-system)
4110 (arguments
4111 '( ;; The tests want to contact the system bus, which can't be done in the
4112 ;; build environment. The integration test can run, but the last of
4113 ;; the up-self-tests doesn't. Disable tests for now.
4114 #:tests? #f
4115 #:configure-flags (list "--localstatedir=/var"
4116 (string-append "--with-udevrulesdir="
4117 (assoc-ref %outputs "out")
4118 "/lib/udev/rules.d"))))
4119 (native-inputs
4120 `(("gobject-introspection" ,gobject-introspection)
4121 ("pkg-config" ,pkg-config)
4122 ("intltool" ,intltool)
4123 ("python" ,python)
4124
4125 ;; For man pages.
4126 ("libxslt" ,libxslt) ;for 'xsltproc'
4127 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4128 ("docbook-xsl" ,docbook-xsl)))
4129 (inputs
4130 `(("dbus-glib" ,dbus-glib)
4131 ("libgudev" ,libgudev)
4132 ("libusb" ,libusb)))
4133 (propagated-inputs
4134 ;; In Requires of upower-glib.pc.
4135 `(("glib" ,glib)))
4136 (home-page "https://upower.freedesktop.org/")
4137 (synopsis "System daemon for managing power devices")
4138 (description
4139 "UPower is an abstraction for enumerating power devices,
4140 listening to device events and querying history and statistics. Any
4141 application or service on the system can access the org.freedesktop.UPower
4142 service via the system message bus.")
4143 (license license:gpl2+)))
4144
4145 (define-public libgweather
4146 (package
4147 (name "libgweather")
4148 (version "3.34.0")
4149 (source (origin
4150 (method url-fetch)
4151 (uri (string-append "mirror://gnome/sources/" name "/"
4152 (version-major+minor version) "/"
4153 name "-" version ".tar.xz"))
4154 (sha256
4155 (base32
4156 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4157 (build-system meson-build-system)
4158 (arguments
4159 `(#:tests? #f ; one of two tests requires network access
4160 #:configure-flags
4161 `(,(string-append "-Dzoneinfo_dir="
4162 (assoc-ref %build-inputs "tzdata")
4163 "/share/zoneinfo"))))
4164 (native-inputs
4165 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4166 ("gobject-introspection" ,gobject-introspection)
4167 ("pkg-config" ,pkg-config)
4168 ("vala" ,vala)
4169 ("intltool" ,intltool)))
4170 (propagated-inputs
4171 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4172 ;; libsoup.
4173 `(("gtk+" ,gtk+)
4174 ("gdk-pixbuf" ,gdk-pixbuf)
4175 ("libxml2" ,libxml2)
4176 ("libsoup" ,libsoup)
4177 ("geocode-glib" ,geocode-glib)))
4178 (inputs
4179 `(("tzdata" ,tzdata)))
4180 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4181 (synopsis "Location, time zone, and weather library for GNOME")
4182 (description
4183 "libgweather is a library to access weather information from online
4184 services for numerous locations.")
4185 (license license:gpl2+)))
4186
4187 (define-public gnome-settings-daemon
4188 (package
4189 (name "gnome-settings-daemon")
4190 (version "3.32.1")
4191 (source
4192 (origin
4193 (method url-fetch)
4194 (uri (string-append "mirror://gnome/sources/" name "/"
4195 (version-major+minor version) "/"
4196 name "-" version ".tar.xz"))
4197 (sha256
4198 (base32
4199 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
4200 (build-system meson-build-system)
4201 (arguments
4202 `(#:glib-or-gtk? #t
4203 #:configure-flags
4204 (list (string-append "-Dudev_dir="
4205 (assoc-ref %outputs "out")
4206 "/lib/udev/rules.d/")
4207 ;; Otherwise, the RUNPATH will lack the final path component.
4208 (string-append "-Dc_link_args=-Wl,-rpath="
4209 (assoc-ref %outputs "out")
4210 "/lib/gnome-settings-daemon-3.0"))
4211 ;; Color management test can't reach the colord system service.
4212 #:tests? #f))
4213 (native-inputs
4214 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4215 ("pkg-config" ,pkg-config)
4216 ("intltool" ,intltool)
4217 ("xsltproc" ,libxslt)
4218 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4219 ("docbook-xml" ,docbook-xml-4.2)
4220 ("docbook-xsl" ,docbook-xsl)))
4221 (inputs
4222 `(("alsa-lib" ,alsa-lib)
4223 ("colord" ,colord)
4224 ("libgudev" ,libgudev)
4225 ("upower" ,upower)
4226 ("polkit" ,polkit)
4227 ("pulseaudio" ,pulseaudio)
4228 ("libcanberra" ,libcanberra)
4229 ("libx11" ,libx11)
4230 ("libxtst" ,libxtst)
4231 ("lcms" ,lcms)
4232 ("libnotify" ,libnotify)
4233 ("geoclue" ,geoclue)
4234 ("geocode-glib" ,geocode-glib)
4235 ("libgweather" ,libgweather)
4236 ("gnome-desktop" ,gnome-desktop)
4237 ("nss" ,nss)
4238 ("cups" ,cups)
4239 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4240 ("libwacom" ,libwacom)
4241 ("librsvg" ,librsvg)
4242 ("xf86-input-wacom" ,xf86-input-wacom)
4243 ("wayland" ,wayland)
4244 ("network-manager" ,network-manager)))
4245 (home-page "https://www.gnome.org")
4246 (synopsis "GNOME settings daemon")
4247 (description
4248 "This package contains the daemon responsible for setting the various
4249 parameters of a GNOME session and the applications that run under it. It
4250 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4251 settings, themes, mouse settings, and startup of other daemons.")
4252 (license license:gpl2+)))
4253
4254 (define-public totem-pl-parser
4255 (package
4256 (name "totem-pl-parser")
4257 (version "3.26.3")
4258 (source (origin
4259 (method url-fetch)
4260 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4261 (version-major+minor version) "/"
4262 "totem-pl-parser-" version ".tar.xz"))
4263 (sha256
4264 (base32
4265 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4266 (build-system meson-build-system)
4267 (arguments
4268 ;; FIXME: Tests require gvfs.
4269 `(#:tests? #f))
4270 (native-inputs
4271 `(("intltool" ,intltool)
4272 ("glib" ,glib "bin")
4273 ("gobject-introspection" ,gobject-introspection)
4274 ("pkg-config" ,pkg-config)))
4275 (propagated-inputs
4276 `(("glib" ,glib)
4277 ("gmime" ,gmime)
4278 ("libarchive" ,libarchive)
4279 ("libgcrypt" ,libgcrypt)
4280 ("libxml2" ,libxml2)))
4281 (inputs
4282 `(("libsoup" ,libsoup)))
4283 (home-page "https://projects.gnome.org/totem")
4284 (synopsis "Library to parse and save media playlists for GNOME")
4285 (description "Totem-pl-parser is a GObjects-based library to parse and save
4286 playlists in a variety of formats.")
4287 (license license:lgpl2.0+)))
4288
4289 (define-public aisleriot
4290 (package
4291 (name "aisleriot")
4292 (version "3.22.9")
4293 (source (origin
4294 (method url-fetch)
4295 (uri (string-append "mirror://gnome/sources/aisleriot/"
4296 (version-major+minor version) "/"
4297 "aisleriot-" version ".tar.xz"))
4298 (sha256
4299 (base32
4300 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4301 (build-system glib-or-gtk-build-system)
4302 (arguments
4303 '(#:configure-flags
4304 '("--with-platform=gtk-only"
4305 "--with-card-theme-formats=svg")))
4306 (native-inputs
4307 `(("desktop-file-utils" ,desktop-file-utils)
4308 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4309 ("intltool" ,intltool)
4310 ("itstool" ,itstool)
4311 ("pkg-config" ,pkg-config)
4312 ("xmllint" ,libxml2)))
4313 (inputs
4314 `(("gtk+" ,gtk+)
4315 ("guile" ,guile-2.2)
4316 ("libcanberra" ,libcanberra)
4317 ("librsvg" ,librsvg)))
4318 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4319 (synopsis "Solitaire card games")
4320 (description
4321 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4322 which are easy to play with the aid of a mouse.")
4323 (license license:gpl3+)))
4324
4325 (define-public amtk
4326 (package
4327 (name "amtk")
4328 (version "5.0.2")
4329 (source (origin
4330 (method url-fetch)
4331 (uri (string-append "mirror://gnome/sources/amtk/"
4332 (version-major+minor version) "/"
4333 "amtk-" version ".tar.xz"))
4334 (sha256
4335 (base32
4336 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4337 (build-system gnu-build-system)
4338 (arguments
4339 '(#:configure-flags '("--enable-gtk-doc")))
4340 (native-inputs
4341 `(("gobject-introspection" ,gobject-introspection)
4342 ("glib:bin" ,glib "bin") ; for glib-mkenums
4343 ("gtk-doc" ,gtk-doc)
4344 ("pkg-config" ,pkg-config)))
4345 (inputs
4346 `(("glib" ,glib)
4347 ("gtk+" ,gtk+)))
4348 (home-page "https://wiki.gnome.org/Projects/Amtk")
4349 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4350 (description
4351 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4352 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4353 both a traditional UI or a modern UI with a GtkHeaderBar.")
4354 (license license:lgpl2.1+)))
4355
4356 (define-public devhelp
4357 (package
4358 (name "devhelp")
4359 (version "3.32.0")
4360 (source (origin
4361 (method url-fetch)
4362 (uri (string-append "mirror://gnome/sources/" name "/"
4363 (version-major+minor version) "/"
4364 name "-" version ".tar.xz"))
4365 (sha256
4366 (base32
4367 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
4368 (build-system meson-build-system)
4369 (arguments
4370 '(#:glib-or-gtk? #t
4371 #:phases
4372 (modify-phases %standard-phases
4373 (add-after 'unpack 'skip-gtk-update-icon-cache
4374 ;; Don't create 'icon-theme.cache'.
4375 (lambda _
4376 (substitute* "meson_post_install.py"
4377 (("gtk-update-icon-cache") "true"))
4378 #t)))))
4379 (native-inputs
4380 `(("intltool" ,intltool)
4381 ("itstool" ,itstool)
4382 ("gobject-introspection" ,gobject-introspection)
4383 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4384 ("pkg-config" ,pkg-config)))
4385 (inputs
4386 `(("amtk" ,amtk)
4387 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4388 ("webkitgtk" ,webkitgtk)))
4389 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4390 (synopsis "API documentation browser for GNOME")
4391 (description
4392 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4393 natively with GTK-Doc (the API reference system developed for GTK+ and used
4394 throughout GNOME for API documentation).")
4395 (license license:gpl2+)))
4396
4397 (define-public cogl
4398 (package
4399 (name "cogl")
4400 (version "1.22.4")
4401 (source
4402 (origin
4403 (method url-fetch)
4404 (uri (string-append "mirror://gnome/sources/cogl/"
4405 (version-major+minor version) "/"
4406 "cogl-" version ".tar.xz"))
4407 (sha256
4408 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
4409 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4410 ;; cogl, corresponding changes may be appropriate in mutter as well.
4411 (build-system gnu-build-system)
4412 (native-inputs
4413 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4414 ("gobject-introspection" ,gobject-introspection)
4415 ;;("xorg-server" ,xorg-server) ; for the test suite
4416 ("pkg-config" ,pkg-config)))
4417 (propagated-inputs
4418 `(("glib" ,glib)
4419 ("gdk-pixbuf" ,gdk-pixbuf)
4420 ("libx11" ,libx11)
4421 ("libxext" ,libxext)
4422 ("libxfixes" ,libxfixes)
4423 ("libxdamage" ,libxdamage)
4424 ("libxcomposite" ,libxcomposite)
4425 ("libxrandr" ,libxrandr)))
4426 (inputs
4427 `(("mesa" ,mesa)
4428 ("cairo" ,cairo)
4429 ("pango" ,pango)
4430 ("gstreamer" ,gstreamer)
4431 ("gst-plugins-base" ,gst-plugins-base)
4432 ("wayland" ,wayland)))
4433 (arguments
4434 `(#:configure-flags (list "--enable-cogl-gst"
4435 "--enable-wayland-egl-platform"
4436 "--enable-wayland-egl-server"
4437
4438 ;; Arrange to pass an absolute file name to
4439 ;; dlopen for libGL.so.
4440 (string-append "--with-gl-libname="
4441 (assoc-ref %build-inputs "mesa")
4442 "/lib/libGL.so"))
4443 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4444 ;; _FontTransOpen: Unable to Parse address
4445 ;; ${prefix}/share/fonts/X11/misc/
4446 #:tests? #f
4447 #; #:phases
4448 #;
4449 (modify-phases %standard-phases
4450 (add-before 'check 'start-xorg-server
4451 (lambda* (#:key inputs #:allow-other-keys)
4452 ;; The test suite requires a running X server.
4453 (system (format #f "~a/bin/Xvfb :1 &"
4454 (assoc-ref inputs "xorg-server")))
4455 (setenv "DISPLAY" ":1")
4456 #t)))))
4457 (home-page "https://www.cogl3d.org")
4458 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4459 (description
4460 "Cogl is a small library for using 3D graphics hardware to draw pretty
4461 pictures. The API departs from the flat state machine style of OpenGL and is
4462 designed to make it easy to write orthogonal components that can render
4463 without stepping on each others toes.")
4464 (license (list license:expat ; most of the code
4465 license:bsd-3 ; cogl/cogl-point-in-poly.c
4466 license:sgifreeb2.0 ; cogl-path/tesselator/
4467 license:asl2.0)))) ; examples/android/
4468
4469 (define-public clutter
4470 (package
4471 (name "clutter")
4472 (version "1.26.2")
4473 (source
4474 (origin
4475 (method url-fetch)
4476 (uri (string-append "mirror://gnome/sources/" name "/"
4477 (version-major+minor version) "/"
4478 name "-" version ".tar.xz"))
4479 (sha256
4480 (base32
4481 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4482 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4483 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4484 (build-system gnu-build-system)
4485 (outputs '("out"
4486 "doc")) ;9 MiB of gtk-doc HTML pages
4487 (native-inputs
4488 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4489 ("gobject-introspection" ,gobject-introspection)
4490 ("pkg-config" ,pkg-config)
4491 ("xsltproc" ,libxslt)))
4492 (propagated-inputs
4493 `(("cogl" ,cogl)
4494 ("cairo" ,cairo)
4495 ("atk" ,atk)
4496 ("gtk+" ,gtk+)
4497 ("json-glib" ,json-glib)
4498 ("glib" ,glib)
4499 ("libxcomposite" ,libxcomposite)
4500 ("libxdamage" ,libxdamage)
4501 ("libxext" ,libxext)
4502 ("xinput" ,xinput)))
4503 (inputs
4504 `(("libxkbcommon" ,libxkbcommon)
4505 ("udev" ,eudev)))
4506 (arguments
4507 `(#:configure-flags (list "--enable-x11-backend=yes"
4508
4509 ;; This produces share/doc/{clutter,cally}.
4510 (string-append "--with-html-dir="
4511 (assoc-ref %outputs "doc")
4512 "/share/doc"))
4513 ;; XXX FIXME: Get test suite working. It would probably fail in the
4514 ;; same way the cogl tests fail, since clutter is based on cogl.
4515 #:tests? #f))
4516 (home-page "http://www.clutter-project.org")
4517 (synopsis "OpenGL-based interactive canvas library")
4518 (description
4519 "Clutter is an OpenGL-based interactive canvas library, designed for
4520 creating fast, mainly 2D single window applications such as media box UIs,
4521 presentations, kiosk style applications and so on.")
4522 (license license:lgpl2.0+)))
4523
4524 (define-public clutter-gtk
4525 (package
4526 (name "clutter-gtk")
4527 (version "1.8.4")
4528 (source
4529 (origin
4530 (method url-fetch)
4531 (uri (string-append "mirror://gnome/sources/" name "/"
4532 (version-major+minor version) "/"
4533 name "-" version ".tar.xz"))
4534 (sha256
4535 (base32
4536 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4537 (build-system gnu-build-system)
4538 (native-inputs
4539 `(("pkg-config" ,pkg-config)
4540 ("gobject-introspection" ,gobject-introspection)))
4541 (propagated-inputs
4542 ;; clutter-gtk.pc refers to all these.
4543 `(("clutter" ,clutter)
4544 ("gtk+" ,gtk+)))
4545 (home-page "http://www.clutter-project.org")
4546 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4547 (description
4548 "Clutter is an OpenGL-based interactive canvas library, designed for
4549 creating fast, mainly 2D single window applications such as media box UIs,
4550 presentations, kiosk style applications and so on.")
4551 (license license:lgpl2.0+)))
4552
4553 (define-public clutter-gst
4554 (package
4555 (name "clutter-gst")
4556 (version "3.0.27")
4557 (source
4558 (origin
4559 (method url-fetch)
4560 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4561 (version-major+minor version) "/"
4562 "clutter-gst-" version ".tar.xz"))
4563 (sha256
4564 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4565 (build-system gnu-build-system)
4566 (native-inputs
4567 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4568 ("pkg-config" ,pkg-config)
4569 ("gobject-introspection" ,gobject-introspection)))
4570 (inputs
4571 `(("clutter" ,clutter)
4572 ("gstreamer" ,gstreamer)
4573 ("gst-plugins-base" ,gst-plugins-base)))
4574 (home-page "http://www.clutter-project.org")
4575 (synopsis "Integration library for using GStreamer with Clutter")
4576 (description
4577 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4578 It provides a GStreamer sink to upload frames to GL and an actor that
4579 implements the ClutterGstPlayer interface using playbin. Clutter is an
4580 OpenGL-based interactive canvas library.")
4581 (license license:lgpl2.0+)))
4582
4583 (define-public libchamplain
4584 (package
4585 (name "libchamplain")
4586 (version "0.12.16")
4587 (source (origin
4588 (method url-fetch)
4589 (uri (string-append
4590 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4591 version ".tar.xz"))
4592 (sha256
4593 (base32
4594 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4595 (build-system gnu-build-system)
4596 (arguments '(#:configure-flags '("--enable-vala")))
4597 (native-inputs
4598 `(("gobject-introspection" ,gobject-introspection)
4599 ("pkg-config" ,pkg-config)
4600 ("vala" ,vala)))
4601 (propagated-inputs
4602 `(("libsoup" ,libsoup)
4603 ("sqlite" ,sqlite)
4604 ("clutter" ,clutter)
4605 ("clutter-gtk" ,clutter-gtk)
4606 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4607 ("cairo" ,cairo)
4608 ("gtk+3" ,gtk+)
4609 ("glib" ,glib)))
4610 (home-page "https://projects.gnome.org/libchamplain/")
4611 (synopsis "C library providing a ClutterActor to display maps")
4612 (description
4613 "libchamplain is a C library providing a ClutterActor to display maps.
4614 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4615 and Perl bindings are also available. It supports numerous free map sources
4616 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4617 (license license:lgpl2.1+)))
4618
4619 (define-public gom
4620 (package
4621 (name "gom")
4622 (version "0.3.2")
4623 (source
4624 (origin
4625 (method url-fetch)
4626 (uri (string-append "mirror://gnome/sources/gom/"
4627 (version-major+minor version) "/"
4628 "gom-" version ".tar.xz"))
4629 (sha256
4630 (base32
4631 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4632 (build-system gnu-build-system)
4633 (native-inputs
4634 `(("intltool" ,intltool)
4635 ("pkg-config" ,pkg-config)
4636 ("gobject-introspection" ,gobject-introspection)))
4637 (inputs
4638 `(("glib" ,glib)
4639 ("gdk-pixbuf" ,gdk-pixbuf)
4640 ("sqlite" ,sqlite)))
4641 ;; XXX TODO: Figure out how to run the test suite.
4642 (arguments `(#:tests? #f))
4643 (home-page "https://wiki.gnome.org/Projects/Gom")
4644 (synopsis "Object mapper from GObjects to SQLite")
4645 (description
4646 "Gom provides an object mapper from GObjects to SQLite. It helps you
4647 write applications that need to store structured data as well as make complex
4648 queries upon that data.")
4649 (license license:lgpl2.1+)))
4650
4651 (define-public libgnome-games-support
4652 (package
4653 (name "libgnome-games-support")
4654 (version "1.4.4")
4655 (source (origin
4656 (method url-fetch)
4657 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4658 (version-major+minor version) "/"
4659 "libgnome-games-support-" version ".tar.xz"))
4660 (sha256
4661 (base32
4662 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4663 (build-system gnu-build-system)
4664 (arguments
4665 '(#:phases
4666 (modify-phases %standard-phases
4667 (add-before 'check 'pre-check
4668 (lambda _
4669 ;; Tests require a writable HOME.
4670 (setenv "HOME" (getcwd))
4671 #t)))))
4672 (native-inputs
4673 `(("intltool" ,intltool)
4674 ("pkg-config" ,pkg-config)
4675 ("vala" ,vala)))
4676 (propagated-inputs
4677 ;; Required by libgnome-games-support-1.0.pc
4678 `(("gtk+" ,gtk+)
4679 ("libgee" ,libgee)))
4680 (home-page "https://www.gnome.org/")
4681 (synopsis "Useful functionality shared among GNOME games")
4682 (description
4683 "libgnome-games-support is a small library intended for internal use by
4684 GNOME Games, but it may be used by others.")
4685 (license license:lgpl3+)))
4686
4687 (define-public gnome-klotski
4688 (package
4689 (name "gnome-klotski")
4690 (version "3.32.0")
4691 (source (origin
4692 (method url-fetch)
4693 (uri (string-append "mirror://gnome/sources/" name "/"
4694 (version-major+minor version) "/"
4695 name "-" version ".tar.xz"))
4696 (sha256
4697 (base32
4698 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4699 (build-system meson-build-system)
4700 (arguments
4701 '(#:glib-or-gtk? #t
4702 #:phases
4703 (modify-phases %standard-phases
4704 (add-after 'unpack 'skip-gtk-update-icon-cache
4705 ;; Don't create 'icon-theme.cache'.
4706 (lambda _
4707 (substitute* "build-aux/meson_post_install.py"
4708 (("gtk-update-icon-cache") (which "true")))
4709 #t)))))
4710 (native-inputs
4711 `(("desktop-file-utils" ,desktop-file-utils)
4712 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4713 ("intltool" ,intltool)
4714 ("itstool" ,itstool)
4715 ("pkg-config" ,pkg-config)
4716 ("vala" ,vala)
4717 ("xmllint" ,libxml2)))
4718 (inputs
4719 `(("gtk+" ,gtk+)
4720 ("libgnome-games-support" ,libgnome-games-support)
4721 ("librsvg" ,librsvg)))
4722 (home-page "https://wiki.gnome.org/Apps/Klotski")
4723 (synopsis "Sliding block puzzles")
4724 (description
4725 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4726 the patterned block to the area bordered by green markers. To do so, you will
4727 need to slide other blocks out of the way. Complete each puzzle in as few moves
4728 as possible!")
4729 (license license:gpl2+)))
4730
4731 (define-public grilo
4732 (package
4733 (name "grilo")
4734 (version "0.3.10")
4735 (source
4736 (origin
4737 (method url-fetch)
4738 (uri (string-append "mirror://gnome/sources/" name "/"
4739 (version-major+minor version) "/"
4740 name "-" version ".tar.xz"))
4741 (sha256
4742 (base32
4743 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4744 (build-system meson-build-system)
4745 (native-inputs
4746 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4747 ("intltool" ,intltool)
4748 ("pkg-config" ,pkg-config)
4749 ("gobject-introspection" ,gobject-introspection)
4750 ("gtk-doc" ,gtk-doc)
4751 ("vala" ,vala)))
4752 (inputs
4753 `(("cyrus-sasl" ,cyrus-sasl)
4754 ("glib" ,glib)
4755 ("gtk+" ,gtk+)
4756 ("libxml2" ,libxml2)
4757 ("liboauth" ,liboauth)
4758 ("libsoup" ,libsoup)
4759 ("totem-pl-parser" ,totem-pl-parser)))
4760 (native-search-paths
4761 (list (search-path-specification
4762 (variable "GRL_PLUGIN_PATH")
4763 (files (list (string-append "lib/grilo-"
4764 (version-major+minor version)))))))
4765 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4766 (synopsis "Framework for discovering and browsing media")
4767 (description
4768 "Grilo is a framework focused on making media discovery and browsing easy
4769 for application developers.")
4770 (license license:lgpl2.1+)))
4771
4772 (define-public grilo-plugins
4773 (package
4774 (name "grilo-plugins")
4775 (version "0.3.10")
4776 (source
4777 (origin
4778 (method url-fetch)
4779 (uri (string-append "mirror://gnome/sources/" name "/"
4780 (version-major+minor version) "/"
4781 name "-" version ".tar.xz"))
4782 (sha256
4783 (base32
4784 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4785 (build-system meson-build-system)
4786 (native-inputs
4787 `(("gettext" ,gettext-minimal)
4788 ("glib:bin" ,glib "bin")
4789 ("gtk+:bin" ,gtk+ "bin")
4790 ("itstool" ,itstool)
4791 ("pkg-config" ,pkg-config)))
4792 ;; TODO: ahavi, gstreamer
4793 (inputs
4794 `(("grilo" ,grilo)
4795 ;("gmime" ,gmime) ; unused
4796 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4797 ("gom" ,gom)
4798 ;("gssdp" ,gssdp) ; unused
4799 ;("gupnp" ,gupnp) ; unused
4800 ;("gupnp-av" ,gupnp-av) ; unused
4801 ("json-glib" ,json-glib)
4802 ("avahi" ,avahi)
4803 ("libgdata" ,libgdata)
4804 ("libmediaart" ,libmediaart)
4805 ;("librest" ,rest) ; unused
4806 ("libsoup" ,libsoup)
4807 ("totam-pl-parser" ,totem-pl-parser)
4808 ("tracker" ,tracker))) ; unused because it's too old
4809 (arguments
4810 `(#:glib-or-gtk? #t
4811 ;;Disable lua-factory as it needs missing dependencies
4812 #:configure-flags '("-Denable-lua-factory=no")))
4813 (home-page "https://live.gnome.org/Grilo")
4814 (synopsis "Plugins for the Grilo media discovery library")
4815 (description
4816 "Grilo is a framework focused on making media discovery and browsing easy
4817 for application developers. This package provides plugins for common media
4818 discovery protocols.")
4819 (license license:lgpl2.1+)))
4820
4821 (define-public totem
4822 (package
4823 (name "totem")
4824 (version "3.32.1")
4825 (source
4826 (origin
4827 (method url-fetch)
4828 (uri (string-append "mirror://gnome/sources/" name "/"
4829 (version-major+minor version) "/"
4830 name "-" version ".tar.xz"))
4831 (sha256
4832 (base32
4833 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
4834 (build-system meson-build-system)
4835 (native-inputs
4836 `(("pkg-config" ,pkg-config)
4837 ("desktop-file-utils" ,desktop-file-utils)
4838 ("gobject-introspection" ,gobject-introspection)
4839 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4840 ("intltool" ,intltool)
4841 ("itstool" ,itstool)
4842 ("xmllint" ,libxml2)
4843 ("python-pylint" ,python-pylint)
4844 ("xorg-server" ,xorg-server-for-tests)))
4845 (propagated-inputs
4846 `(("dconf" ,dconf)))
4847 (inputs
4848 `(("gtk+" ,gtk+)
4849 ("gdk-pixbuf" ,gdk-pixbuf)
4850 ("atk" ,atk)
4851 ("cairo" ,cairo)
4852 ("dbus-glib" ,dbus-glib)
4853 ("clutter" ,clutter)
4854 ("clutter-gtk" ,clutter-gtk)
4855 ("clutter-gst" ,clutter-gst)
4856 ("xorgproto" ,xorgproto)
4857 ("libxxf86vm" ,libxxf86vm)
4858 ("libxtst" ,libxtst)
4859 ("libxrandr" ,libxrandr)
4860 ("libxml2" ,libxml2)
4861 ("libsoup" ,libsoup)
4862 ("libpeas" ,libpeas)
4863 ("librsvg" ,librsvg)
4864 ("lirc" ,lirc)
4865 ("gnome-desktop" ,gnome-desktop)
4866 ("gstreamer" ,gstreamer)
4867 ("gst-plugins-base" ,gst-plugins-base)
4868 ("gst-plugins-good" ,gst-plugins-good)
4869 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4870 ("adwaita-icon-theme" ,adwaita-icon-theme)
4871 ("python" ,python)
4872 ("python-pygobject" ,python-pygobject)
4873 ("totem-pl-parser" ,totem-pl-parser)
4874 ("grilo" ,grilo)
4875 ("grilo-plugins" ,grilo-plugins)
4876 ("vala" ,vala)))
4877 (arguments
4878 `(#:glib-or-gtk? #t
4879
4880 ;; Disable automatic GStreamer plugin installation via PackageKit and
4881 ;; all that.
4882 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4883
4884 ;; Do not build .a files for the plugins, it's
4885 ;; completely useless. This saves 2 MiB.
4886 "--default-library" "shared")
4887 #:phases
4888 (modify-phases %standard-phases
4889 (add-after 'unpack 'skip-gtk-update-icon-cache
4890 ;; Don't create 'icon-theme.cache'.
4891 (lambda _
4892 (substitute* "meson_post_install.py"
4893 (("gtk-update-icon-cache") "true"))
4894 #t))
4895 (add-before
4896 'install 'disable-cache-generation
4897 (lambda _
4898 (setenv "DESTDIR" "/")
4899 #t))
4900 (add-before
4901 'check 'pre-check
4902 (lambda _
4903 ;; Tests require a running X server.
4904 (system "Xvfb :1 &")
4905 (setenv "DISPLAY" ":1")
4906 #t))
4907 (add-after
4908 'install 'wrap-totem
4909 (lambda* (#:key inputs outputs #:allow-other-keys)
4910 (let ((out (assoc-ref outputs "out"))
4911 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4912 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4913 (wrap-program (string-append out "/bin/totem")
4914 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4915 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4916 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4917 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4918 #t)))))
4919 (home-page "https://wiki.gnome.org/Apps/Videos")
4920 (synopsis "Simple media player for GNOME based on GStreamer")
4921 (description "Totem is a simple yet featureful media player for GNOME
4922 which can read a large number of file formats.")
4923 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4924 ;; to be used and distributed together with GStreamer and Totem. See
4925 ;; file://COPYING in the source distribution for details.
4926 (license license:gpl2+)))
4927
4928 (define-public rhythmbox
4929 (package
4930 (name "rhythmbox")
4931 (version "3.4.4")
4932 (source (origin
4933 (method url-fetch)
4934 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4935 (version-major+minor version) "/"
4936 "rhythmbox-" version ".tar.xz"))
4937 (sha256
4938 (base32
4939 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4940 (build-system glib-or-gtk-build-system)
4941 (arguments
4942 `(#:configure-flags
4943 (list "--enable-lirc"
4944 "--enable-python"
4945 "--enable-vala"
4946 "--with-brasero"
4947 "--with-gudev"
4948 "--with-libsecret")
4949 #:phases
4950 (modify-phases %standard-phases
4951 (add-after
4952 'install 'wrap-rhythmbox
4953 (lambda* (#:key inputs outputs #:allow-other-keys)
4954 (let ((out (assoc-ref outputs "out"))
4955 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4956 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4957 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4958 (python-path (getenv "PYTHONPATH")))
4959 (wrap-program (string-append out "/bin/rhythmbox")
4960 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4961 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4962 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4963 `("PYTHONPATH" ":" prefix (,python-path))))
4964 #t)))))
4965 (propagated-inputs
4966 `(("dconf" ,dconf)))
4967 (native-inputs
4968 `(("itstool" ,itstool)
4969 ("intltool" ,intltool)
4970 ("glib" ,glib "bin")
4971 ("gobject-introspection" ,gobject-introspection)
4972 ("desktop-file-utils" ,desktop-file-utils)
4973 ("pkg-config" ,pkg-config)
4974 ("xmllint" ,libxml2)))
4975 (inputs
4976 `(("json-glib" ,json-glib)
4977 ("tdb" ,tdb)
4978 ("gnome-desktop" ,gnome-desktop)
4979 ("python" ,python)
4980 ("python-pygobject" ,python2-pygobject)
4981 ("vala" ,vala)
4982 ("gmime" ,gmime)
4983 ("adwaita-icon-theme" ,adwaita-icon-theme)
4984 ("grilo" ,grilo)
4985 ("grilo-plugins" ,grilo-plugins)
4986 ("gstreamer" ,gstreamer)
4987 ("gst-plugins-base" ,gst-plugins-base)
4988 ("gst-plugins-good" ,gst-plugins-good)
4989 ("totem-pl-parser" ,totem-pl-parser)
4990 ("libgudev" ,libgudev)
4991 ;;("libmtp" ,libmtp) FIXME: Not detected
4992 ("libsecret" ,libsecret)
4993 ("libsoup" ,libsoup)
4994 ("libnotify" ,libnotify)
4995 ("libpeas" ,libpeas)
4996 ("lirc" ,lirc)
4997 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4998 ;;("clutter" ,clutter)
4999 ;;("clutter-gtk" ,clutter-gtk)
5000 ;;("clutter-gst" ,clutter-gst)
5001 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5002 ("atk" ,atk)
5003 ("pango" ,pango)
5004 ("gtk+" ,gtk+)
5005 ;; TODO:
5006 ;; * libgpod
5007 ;; * mx
5008 ("brasero" ,brasero)))
5009 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5010 (synopsis "Music player for GNOME")
5011 (description "Rhythmbox is a music playing application for GNOME. It
5012 supports playlists, song ratings, and any codecs installed through gstreamer.")
5013 (license license:gpl2+)))
5014
5015 (define-public eog
5016 (package
5017 (name "eog")
5018 (version "3.34.1")
5019 (source (origin
5020 (method url-fetch)
5021 (uri (string-append "mirror://gnome/sources/" name "/"
5022 (version-major+minor version) "/"
5023 name "-" version ".tar.xz"))
5024 (sha256
5025 (base32
5026 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5027 (build-system meson-build-system)
5028 (arguments
5029 `(#:configure-flags
5030 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5031 (list (string-append "-Dc_link_args=-Wl,-rpath="
5032 (assoc-ref %outputs "out") "/lib/eog"))
5033 #:phases
5034 (modify-phases %standard-phases
5035 (add-after 'unpack 'skip-gtk-update-icon-cache
5036 ;; Don't create 'icon-theme.cache'.
5037 (lambda _
5038 (substitute* "meson_post_install.py"
5039 (("gtk-update-icon-cache") "true"))
5040 #t))
5041 (add-after 'install 'wrap-eog
5042 (lambda* (#:key outputs #:allow-other-keys)
5043 (let ((out (assoc-ref outputs "out"))
5044 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5045 (wrap-program (string-append out "/bin/eog")
5046 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5047 #t)))))
5048 (propagated-inputs
5049 `(("dconf" ,dconf)))
5050 (native-inputs
5051 `(("intltool" ,intltool)
5052 ("itstool" ,itstool)
5053 ("glib" ,glib "bin")
5054 ("gobject-introspection" ,gobject-introspection)
5055 ("pkg-config" ,pkg-config)
5056 ("xmllint" ,libxml2)))
5057 (inputs
5058 `(("gnome-desktop" ,gnome-desktop)
5059 ("shared-mime-info" ,shared-mime-info)
5060 ("adwaita-icon-theme" ,adwaita-icon-theme)
5061 ("exempi" ,exempi)
5062 ("lcms" ,lcms)
5063 ("libexif" ,libexif)
5064 ("libpeas" ,libpeas)
5065 ("libjpeg" ,libjpeg-turbo)
5066 ("librsvg" ,librsvg-next)
5067 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5068 ("gtk+" ,gtk+)))
5069 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5070 (synopsis "GNOME image viewer")
5071 (description "Eye of GNOME is the GNOME image viewer. It
5072 supports image conversion, rotation, and slideshows.")
5073 (license license:gpl2+)))
5074
5075 (define-public eog-plugins
5076 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5077 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5078 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5079 ;; 'XDG_DATA_DIRS' appropriately set.
5080 (package
5081 (name "eog-plugins")
5082 (version "3.26.4")
5083 (source (origin
5084 (method url-fetch)
5085 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5086 (version-major+minor version) "/"
5087 "eog-plugins-" version ".tar.xz"))
5088 (sha256
5089 (base32
5090 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5091 (build-system gnu-build-system)
5092 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5093 (synopsis "Extensions for the Eye of GNOME image viewer")
5094 (native-inputs
5095 `(("pkg-config" ,pkg-config)
5096 ("gettext" ,gettext-minimal)))
5097 (inputs
5098 `(("eog" ,eog)
5099 ("glib" ,glib)
5100 ("gtk+" ,gtk+)
5101 ("libpeas" ,libpeas)
5102 ("libexif" ,libexif)
5103 ("libchamplain" ,libchamplain)))
5104 (description
5105 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5106 notably:
5107
5108 @itemize
5109 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5110 @item @dfn{Map}, which displays a map of where the picture was taken on the
5111 side panel;
5112 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5113 @end itemize\n")
5114
5115 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5116 ;; long suspicious byte stream that goes to a
5117 ;; ".gresource.eog_postasa_plugin" ELF section.
5118 (license license:gpl2+)))
5119
5120 (define-public libgudev
5121 (package
5122 (name "libgudev")
5123 (version "232")
5124 (source (origin
5125 (method url-fetch)
5126 (uri (string-append "mirror://gnome/sources/" name "/"
5127 version "/" name "-" version ".tar.xz"))
5128 (sha256
5129 (base32
5130 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5131 (build-system gnu-build-system)
5132 (arguments
5133 '(#:configure-flags
5134 ;; umockdev depends on libgudev.
5135 (list "--disable-umockdev")))
5136 (native-inputs
5137 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5138 ("gobject-introspection" ,gobject-introspection)
5139 ("pkg-config" ,pkg-config)))
5140 (propagated-inputs
5141 `(("glib" ,glib))) ; required by gudev-1.0.pc
5142 (inputs
5143 `(("udev" ,eudev)))
5144 (home-page "https://wiki.gnome.org/Projects/libgudev")
5145 (synopsis "GObject bindings for libudev")
5146 (description
5147 "This library provides GObject bindings for libudev. It was originally
5148 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5149 (license license:lgpl2.1+)))
5150
5151 (define-public gvfs
5152 (package
5153 (name "gvfs")
5154 (version "1.40.1")
5155 (source (origin
5156 (method url-fetch)
5157 (uri (string-append "mirror://gnome/sources/gvfs/"
5158 (version-major+minor version) "/"
5159 "gvfs-" version ".tar.xz"))
5160 (sha256
5161 (base32
5162 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5163 (build-system meson-build-system)
5164 (arguments
5165 '(#:glib-or-gtk? #t
5166 #:configure-flags
5167 (list "-Dsystemduserunitdir=no"
5168 "-Dtmpfilesdir=no"
5169 ;; Otherwise, the RUNPATH will lack the final path component.
5170 (string-append "-Dc_link_args=-Wl,-rpath="
5171 (assoc-ref %outputs "out") "/lib/gvfs"))))
5172 (native-inputs
5173 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5174 ("gettext" ,gettext-minimal)
5175 ("gtk-doc" ,gtk-doc)
5176 ("pkg-config" ,pkg-config)
5177 ("xsltproc" ,libxslt)))
5178 (inputs
5179 `(("avahi" ,avahi)
5180 ("docbook-xml" ,docbook-xml-4.2)
5181 ("docbook-xsl" ,docbook-xsl)
5182 ("dbus" ,dbus)
5183 ("elogind" ,elogind)
5184 ("fuse" ,fuse)
5185 ("gcr" ,gcr)
5186 ("glib" ,glib)
5187 ("gnome-online-accounts" ,gnome-online-accounts)
5188 ("libarchive" ,libarchive)
5189 ("libbluray" ,libbluray)
5190 ("libcap" ,libcap)
5191 ("libcdio-paranoia" ,libcdio-paranoia)
5192 ("libgcrypt" ,libgcrypt)
5193 ("libgdata" ,libgdata)
5194 ("libgphoto2" ,libgphoto2)
5195 ("libgudev" ,libgudev)
5196 ("libimobiledevice" ,libimobiledevice)
5197 ("libmtp" ,libmtp)
5198 ("libnfs" ,libnfs)
5199 ("libsecret" ,libsecret)
5200 ("libsmbclient" ,samba)
5201 ("libsoup" ,libsoup)
5202 ("libxml2" ,libxml2)
5203 ("openssh" ,openssh)
5204 ("polkit" ,polkit)
5205 ("udisks" ,udisks)))
5206 (home-page "https://wiki.gnome.org/gvfs/")
5207 (synopsis "Userspace virtual file system for GIO")
5208 (description
5209 "GVFS is a userspace virtual file system designed to work with the I/O
5210 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5211 to all applications using the GIO API. It also supports exposing the GVFS
5212 mounts to non-GIO applications using FUSE.
5213
5214 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5215 DAV, and others.")
5216 (license license:lgpl2.0+)))
5217
5218 (define-public gusb
5219 (package
5220 (name "gusb")
5221 (version "0.3.0")
5222 (source (origin
5223 (method git-fetch)
5224 (uri (git-reference
5225 (url "https://github.com/hughsie/libgusb.git")
5226 (commit version)))
5227 (file-name (git-file-name name version))
5228 (sha256
5229 (base32
5230 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5231 (build-system meson-build-system)
5232 (native-inputs
5233 `(("gobject-introspection" ,gobject-introspection)
5234 ("pkg-config" ,pkg-config)
5235 ("vala" ,vala)
5236 ("gtk-doc" ,gtk-doc)))
5237 (propagated-inputs
5238 ;; Both of these are required by gusb.pc.
5239 `(("glib" ,glib)
5240 ("libusb" ,libusb)))
5241 (arguments
5242 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5243 (home-page "https://github.com/hughsie/libgusb")
5244 (synopsis "GLib binding for libusb1")
5245 (description
5246 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5247 asynchronous control, bulk and interrupt transfers with proper cancellation
5248 and integration into a mainloop. This makes it easy to integrate low level
5249 USB transfers with your high-level application or system daemon.")
5250 (license license:lgpl2.1+)))
5251
5252 (define-public simple-scan
5253 (package
5254 (name "simple-scan")
5255 (version "3.36.0")
5256 (source
5257 (origin
5258 (method url-fetch)
5259 (uri (string-append "mirror://gnome/sources/simple-scan/"
5260 (version-major+minor version) "/"
5261 "simple-scan-" version ".tar.xz"))
5262 (sha256
5263 (base32 "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"))))
5264 (build-system meson-build-system)
5265 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5266 (arguments
5267 '(#:glib-or-gtk? #t))
5268 (inputs
5269 `(("gtk" ,gtk+)
5270 ("zlib" ,zlib)
5271 ("cairo" ,cairo)
5272 ("colord" ,colord)
5273 ("gdk-pixbuf" ,gdk-pixbuf)
5274 ("gusb" ,gusb)
5275 ("libsane" ,sane-backends)))
5276 (native-inputs
5277 `(("gettext" ,gettext-minimal)
5278 ("itstool" ,itstool)
5279 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5280 ("pkg-config" ,pkg-config)
5281 ("vala" ,vala)
5282 ("xmllint" ,libxml2)))
5283 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5284 (synopsis "Document and image scanner")
5285 (description
5286 "Document Scanner is an easy-to-use application that lets you connect your
5287 scanner and quickly capture images and documents in an appropriate format. It
5288 supports any scanner for which a suitable SANE driver is available, which is
5289 almost all of them.")
5290 (license license:gpl3+)))
5291
5292 (define-public eolie
5293 (package
5294 (name "eolie")
5295 (version "0.9.98.1")
5296 (source (origin
5297 (method url-fetch)
5298 (uri (string-append "https://adishatz.org/eolie/eolie-"
5299 version ".tar.xz"))
5300 (sha256
5301 (base32
5302 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5303 (build-system meson-build-system)
5304 (arguments
5305 `(#:glib-or-gtk? #t
5306 #:phases
5307 (modify-phases %standard-phases
5308 (add-after 'unpack 'skip-gtk-update-icon-cache
5309 ;; Don't create 'icon-theme.cache'.
5310 (lambda _
5311 (substitute* "meson_post_install.py"
5312 (("gtk-update-icon-cache") "true"))
5313 #t))
5314 (add-after 'wrap 'wrap-more
5315 (lambda* (#:key inputs outputs #:allow-other-keys)
5316 (let* ((out (assoc-ref outputs "out"))
5317 ;; These libraries must be on LD_LIBRARY_PATH.
5318 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5319 "atk" "gtk+" "gsettings-desktop-schemas"
5320 "gobject-introspection"))
5321 (path (string-join
5322 (map (lambda (lib)
5323 (string-append (assoc-ref inputs lib) "/lib"))
5324 libs)
5325 ":")))
5326 (wrap-program (string-append out "/bin/eolie")
5327 `("LD_LIBRARY_PATH" ":" prefix (,path))
5328 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5329 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5330 #t)))))
5331 (native-inputs
5332 `(("intltool" ,intltool)
5333 ("itstool" ,itstool)
5334 ("pkg-config" ,pkg-config)
5335 ("python" ,python)
5336 ("glib:bin" ,glib "bin")))
5337 (inputs
5338 `(("gobject-introspection" ,gobject-introspection)
5339 ("glib-networking" ,glib-networking)
5340 ("cairo" ,cairo)
5341 ("gtk+" ,gtk+)
5342 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5343 ("python" ,python-wrapper)
5344 ("python-dateutil" ,python-dateutil)
5345 ("python-pyfxa" ,python-pyfxa)
5346 ("python-pygobject" ,python-pygobject)
5347 ("python-pycairo" ,python-pycairo)
5348 ("python-pycrypto" ,python-pycrypto)
5349 ("libsecret" ,libsecret)
5350 ("gtkspell3" ,gtkspell3)
5351 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5352 ("webkitgtk" ,webkitgtk)))
5353 (home-page "https://wiki.gnome.org/Apps/Eolie")
5354 (synopsis "Web browser for GNOME")
5355 (description
5356 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5357 a secret password store, an adblocker, and a modern UI.")
5358 (license license:gpl3+)))
5359
5360 (define-public epiphany
5361 (package
5362 (name "epiphany")
5363 (version "3.34.2")
5364 (source (origin
5365 (method url-fetch)
5366 (uri (string-append "mirror://gnome/sources/epiphany/"
5367 (version-major+minor version) "/"
5368 "epiphany-" version ".tar.xz"))
5369 (sha256
5370 (base32
5371 "18d48vcp2nxs63bddkdplslgbnlfq79pm2ivl8hk38kkggy3dahf"))))
5372
5373 (build-system meson-build-system)
5374 (arguments
5375 ;; FIXME: tests run under Xvfb, but fail with:
5376 ;; /src/bookmarks/ephy-bookmarks/create:
5377 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5378 ;; subsystem
5379 ;; FAIL
5380 '(#:tests? #f
5381 #:glib-or-gtk? #t
5382 #:phases
5383 (modify-phases %standard-phases
5384 (add-after 'unpack 'skip-gtk-update-icon-cache
5385 ;; Don't create 'icon-theme.cache'.
5386 (lambda _
5387 (substitute* "post_install.py"
5388 (("gtk-update-icon-cache") "true"))
5389 #t)))
5390 #:configure-flags
5391 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5392 (list (string-append "-Dc_link_args=-Wl,-rpath="
5393 (assoc-ref %outputs "out") "/lib/epiphany"))))
5394 (propagated-inputs
5395 `(("dconf" ,dconf)))
5396 (native-inputs
5397 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5398 ("glib:bin" ,glib "bin") ; for glib-mkenums
5399 ("intltool" ,intltool)
5400 ("itstool" ,itstool)
5401 ("pkg-config" ,pkg-config)
5402 ("xmllint" ,libxml2)))
5403 (inputs
5404 `(("avahi" ,avahi)
5405 ("gcr" ,gcr)
5406 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5407 ("glib-networking" ,glib-networking)
5408 ("gnome-desktop" ,gnome-desktop)
5409 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5410 ("json-glib" ,json-glib)
5411 ("iso-codes" ,iso-codes)
5412 ("libdazzle" ,libdazzle)
5413 ("libnotify" ,libnotify)
5414 ("libsecret" ,libsecret)
5415 ("libxslt" ,libxslt)
5416 ("nettle" ,nettle) ; for hogweed
5417 ("sqlite" ,sqlite)
5418 ("webkitgtk" ,webkitgtk)))
5419 (home-page "https://wiki.gnome.org/Apps/Web")
5420 (synopsis "GNOME web browser")
5421 (description
5422 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5423 principles are simplicity and standards compliance.")
5424 (license license:gpl2+)))
5425
5426 (define-public d-feet
5427 (package
5428 (name "d-feet")
5429 (version "0.3.14")
5430 (source (origin
5431 (method url-fetch)
5432 (uri (string-append "mirror://gnome/sources/" name "/"
5433 (version-major+minor version) "/"
5434 name "-" version ".tar.xz"))
5435 (sha256
5436 (base32
5437 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5438 (build-system glib-or-gtk-build-system)
5439 (arguments
5440 '(#:out-of-source? #f ; tests need to run in the source directory.
5441 #:phases
5442 (modify-phases %standard-phases
5443 (add-before
5444 'check 'pre-check
5445 (lambda _
5446 ;; The test suite requires a running X server.
5447 (system "Xvfb :1 &")
5448 (setenv "DISPLAY" ":1")
5449 ;; Don't fail on missing '/etc/machine-id'.
5450 (setenv "DBUS_FATAL_WARNINGS" "0")
5451 ;; tests.py and window.py don't meet E402:
5452 ;; E402 module level import not at top of file
5453 (substitute* "src/tests/Makefile"
5454 (("--ignore=E123") "--ignore=E123,E402"))
5455 #t))
5456 (add-after
5457 'install 'wrap-program
5458 (lambda* (#:key outputs #:allow-other-keys)
5459 (let ((prog (string-append (assoc-ref outputs "out")
5460 "/bin/d-feet")))
5461 (wrap-program prog
5462 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5463 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5464 #t))))))
5465 (native-inputs
5466 `(("intltool" ,intltool)
5467 ("itstool" ,itstool)
5468 ("pkg-config" ,pkg-config)
5469 ("python-pep8" ,python-pep8)
5470 ("xmllint" ,libxml2)
5471 ("xorg-server" ,xorg-server-for-tests)))
5472 (inputs
5473 `(("gobject-introspection" ,gobject-introspection)
5474 ("gtk+" ,gtk+)
5475 ("python" ,python-wrapper)
5476 ("hicolor-icon-theme" ,hicolor-icon-theme)
5477 ("python-pygobject" ,python-pygobject)))
5478 (home-page "https://wiki.gnome.org/Apps/DFeet")
5479 (synopsis "D-Bus debugger")
5480 (description
5481 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5482 of running programs and invoke methods on those interfaces.")
5483 (license license:gpl2+)))
5484
5485 (define-public yelp-xsl
5486 (package
5487 (name "yelp-xsl")
5488 (version "3.34.2")
5489 (source (origin
5490 (method url-fetch)
5491 (uri (string-append "mirror://gnome/sources/" name "/"
5492 (version-major+minor version) "/"
5493 name "-" version ".tar.xz"))
5494 (sha256
5495 (base32
5496 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5497 (build-system gnu-build-system)
5498 (native-inputs
5499 `(("gettext-minimal" ,gettext-minimal)
5500 ("itstool" ,itstool)
5501 ("xmllint" ,libxml2)))
5502 (home-page "https://wiki.gnome.org/Apps/Yelp")
5503 (synopsis "XSL stylesheets for Yelp")
5504 (description
5505 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5506 to format Docbook and Mallard documents.")
5507 (license license:gpl2+)))
5508
5509 (define-public yelp
5510 (package
5511 (name "yelp")
5512 (version "3.32.2")
5513 (source (origin
5514 (method url-fetch)
5515 (uri (string-append "mirror://gnome/sources/" name "/"
5516 (version-major+minor version) "/"
5517 name "-" version ".tar.xz"))
5518 (sha256
5519 (base32
5520 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5521 (build-system glib-or-gtk-build-system)
5522 (native-inputs
5523 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5524 ("intltool" ,intltool)
5525 ("itstool" ,itstool)
5526 ("pkg-config" ,pkg-config)))
5527 (propagated-inputs
5528 `(("dconf" ,dconf)))
5529 (inputs
5530 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5531 ("libxslt" ,libxslt)
5532 ("sqlite" ,sqlite)
5533 ("webkitgtk" ,webkitgtk)
5534 ("yelp-xsl" ,yelp-xsl)))
5535 (home-page "https://wiki.gnome.org/Apps/Yelp")
5536 (synopsis "GNOME help browser")
5537 (description
5538 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5539 man, info, and HTML documents. It can locate documents according to the
5540 freedesktop.org help system specification.")
5541 (license license:gpl2+)))
5542
5543 (define-public yelp-tools
5544 (package
5545 (name "yelp-tools")
5546 (version "3.32.2")
5547 (source (origin
5548 (method url-fetch)
5549 (uri (string-append "mirror://gnome/sources/" name "/"
5550 (version-major+minor version) "/"
5551 name "-" version ".tar.xz"))
5552 (sha256
5553 (base32
5554 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5555 (build-system gnu-build-system)
5556 (native-inputs
5557 `(("pkg-config" ,pkg-config)))
5558 (propagated-inputs
5559 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5560 `(("itstool" ,itstool)
5561 ("xmllint" ,libxml2)
5562 ("xsltproc" ,libxslt)))
5563 (inputs
5564 `(("yelp-xsl" ,yelp-xsl)))
5565 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5566 (synopsis "Yelp documentation tools")
5567 (description
5568 "Yelp-tools is a collection of scripts and build utilities to help create,
5569 manage, and publish documentation for Yelp and the web. Most of the heavy
5570 lifting is done by packages like yelp-xsl and itstool. This package just
5571 wraps things up in a developer-friendly way.")
5572 (license license:gpl2+)))
5573
5574 (define-public libgee
5575 (package
5576 (name "libgee")
5577 (version "0.20.3")
5578 (source (origin
5579 (method url-fetch)
5580 (uri (string-append "mirror://gnome/sources/libgee/"
5581 (version-major+minor version) "/"
5582 "libgee-" version ".tar.xz"))
5583 (sha256
5584 (base32
5585 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5586 (build-system gnu-build-system)
5587 (arguments
5588 `(#:phases
5589 (modify-phases %standard-phases
5590 (add-after 'unpack 'fix-introspection-install-dir
5591 (lambda* (#:key outputs #:allow-other-keys)
5592 (let ((out (assoc-ref outputs "out")))
5593 (substitute* "gee/Makefile.in"
5594 (("@INTROSPECTION_GIRDIR@")
5595 (string-append out "/share/gir-1.0/"))
5596 (("@INTROSPECTION_TYPELIBDIR@")
5597 (string-append out "/lib/girepository-1.0/")))))))))
5598 (native-inputs
5599 `(("glib" ,glib "bin")
5600 ("pkg-config" ,pkg-config)))
5601 (inputs
5602 `(("glib" ,glib)
5603 ("gobject-introspection" ,gobject-introspection)))
5604 (home-page "https://wiki.gnome.org/Projects/Libgee")
5605 (synopsis "GObject collection library")
5606 (description
5607 "Libgee is a utility library providing GObject-based interfaces and
5608 classes for commonly used data structures.")
5609 (license license:lgpl2.1+)))
5610
5611 (define-public gexiv2
5612 (package
5613 (name "gexiv2")
5614 (version "0.12.0")
5615 (source (origin
5616 (method url-fetch)
5617 (uri (string-append "mirror://gnome/sources/" name "/"
5618 (version-major+minor version) "/"
5619 name "-" version ".tar.xz"))
5620 (sha256
5621 (base32
5622 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5623 (build-system meson-build-system)
5624 (native-inputs
5625 `(("gcr" ,gcr)
5626 ("glib" ,glib "bin")
5627 ("pkg-config" ,pkg-config)
5628 ("vala" ,vala)))
5629 (propagated-inputs
5630 ;; Listed in "Requires" section of gexiv2.pc
5631 `(("exiv2" ,exiv2)))
5632 (inputs
5633 `(("glib" ,glib)
5634 ("gobject-introspection" ,gobject-introspection)))
5635 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5636 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5637 (description
5638 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5639 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5640 metadata in photo and video files of various formats.")
5641 (license license:gpl2+)))
5642
5643 (define-public shotwell
5644 (package
5645 (name "shotwell")
5646 (version "0.30.8")
5647 (source (origin
5648 (method url-fetch)
5649 (uri (string-append "mirror://gnome/sources/shotwell/"
5650 (version-major+minor version) "/"
5651 "shotwell-" version ".tar.xz"))
5652 (sha256
5653 (base32
5654 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
5655 (build-system meson-build-system)
5656 (arguments
5657 '(#:glib-or-gtk? #t
5658 #:phases
5659 (modify-phases %standard-phases
5660 (add-after 'unpack 'skip-gtk-update-icon-cache
5661 (lambda _
5662 (substitute* "build-aux/meson/postinstall.py"
5663 (("gtk-update-icon-cache") (which "true"))
5664 (("update-desktop-database") (which "true")))
5665 #t)))))
5666 (propagated-inputs
5667 `(("dconf" ,dconf)))
5668 (native-inputs
5669 `(("gettext" ,gettext-minimal)
5670 ("glib:bin" ,glib "bin")
5671 ("itstool" ,itstool)
5672 ("pkg-config" ,pkg-config)
5673 ("vala" ,vala)))
5674 (inputs
5675 `(("gcr" ,gcr)
5676 ("gexiv2" ,gexiv2)
5677 ("gst-plugins-base" ,gst-plugins-base)
5678 ("gstreamer" ,gstreamer)
5679 ("json-glib" ,json-glib)
5680 ("libgdata" ,libgdata)
5681 ("libgee" ,libgee)
5682 ("libgphoto2" ,libgphoto2)
5683 ("libgudev" ,libgudev)
5684 ("libraw" ,libraw)
5685 ("libsoup" ,libsoup)
5686 ("libxml2" ,libxml2)
5687 ("sqlite" ,sqlite)
5688 ("webkitgtk" ,webkitgtk)))
5689 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5690 (synopsis "Photo manager for GNOME 3")
5691 (description
5692 "Shotwell is a digital photo manager designed for the GNOME desktop
5693 environment. It allows you to import photos from disk or camera, organize
5694 them by keywords and events, view them in full-window or fullscreen mode, and
5695 share them with others via social networking and more.")
5696 (license license:lgpl2.1+)))
5697
5698 (define-public file-roller
5699 (package
5700 (name "file-roller")
5701 (version "3.32.3")
5702 (source (origin
5703 (method url-fetch)
5704 (uri (string-append "mirror://gnome/sources/file-roller/"
5705 (version-major+minor version) "/"
5706 "file-roller-" version ".tar.xz"))
5707 (sha256
5708 (base32
5709 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5710 (build-system meson-build-system)
5711 (native-inputs
5712 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5713 ("intltool" ,intltool)
5714 ("itstool" ,itstool)
5715 ("pkg-config" ,pkg-config)
5716 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5717 ("glib:bin" ,glib "bin")))
5718 ;; TODO: Add libnautilus.
5719 (inputs
5720 `(("gtk+" ,gtk+)
5721 ("gdk-pixbuf" ,gdk-pixbuf)
5722 ("json-glib" ,json-glib)
5723 ("libarchive" ,libarchive)
5724 ("libnotify" ,libnotify)
5725 ("nettle" ,nettle)
5726 ("libxml2" ,libxml2)))
5727 (synopsis "Graphical archive manager for GNOME")
5728 (description "File Roller is an archive manager for the GNOME desktop
5729 environment that allows users to view, unpack, and create compressed archives
5730 such as gzip tarballs.")
5731 (home-page "http://fileroller.sourceforge.net/")
5732 (license license:gpl2+)))
5733
5734 (define-public gnome-session
5735 (package
5736 (name "gnome-session")
5737 (version "3.32.0")
5738 (source (origin
5739 (method url-fetch)
5740 (uri (string-append "mirror://gnome/sources/" name "/"
5741 (version-major+minor version) "/"
5742 name "-" version ".tar.xz"))
5743 (sha256
5744 (base32
5745 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
5746 (arguments
5747 '(#:glib-or-gtk? #t
5748 #:phases
5749 (modify-phases %standard-phases
5750 (add-before 'configure 'pre-configure
5751 (lambda* (#:key outputs #:allow-other-keys)
5752 ;; Use elogind instead of systemd.
5753 (substitute* "meson.build"
5754 (("libsystemd-login") "libelogind")
5755 (("and libsystemd_daemon_dep.found.*") ","))
5756 (substitute* "gnome-session/gsm-systemd.c"
5757 (("#include <systemd/sd-login.h>")
5758 "#include <elogind/sd-login.h>"))
5759 ;; Remove uses of the systemd daemon.
5760 (substitute* "gnome-session/gsm-autostart-app.c"
5761 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5762 #t))
5763 (add-after 'install 'wrap-gnome-session
5764 (lambda* (#:key inputs outputs #:allow-other-keys)
5765 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5766 (let ((glib (assoc-ref inputs "glib:bin"))
5767 (out (assoc-ref outputs "out")))
5768 (wrap-program (string-append out "/bin/gnome-session")
5769 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5770 #t))))
5771
5772 #:configure-flags
5773 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5774 "-Dman=false" ; FIXME: disabled because of docbook validation error
5775 "-Dsystemd_journal=false")))
5776 (build-system meson-build-system)
5777 (native-inputs
5778 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5779 ("pkg-config" ,pkg-config)
5780 ("intltool" ,intltool)
5781 ("xsltproc" ,libxslt)
5782 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5783 ("docbook-xsl" ,docbook-xsl)
5784 ("docbook-xml" ,docbook-xml)
5785 ("xmlto" ,xmlto)))
5786 (inputs
5787 `(("elogind" ,elogind)
5788 ("gnome-desktop" ,gnome-desktop)
5789 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5790 ("gtk+" ,gtk+)
5791 ("json-glib" ,json-glib)
5792 ("libsm" ,libsm)
5793 ("libxcomposite" ,libxcomposite)
5794 ("libxtst" ,libxtst)
5795 ("mesa" ,mesa)
5796 ("upower" ,upower)
5797 ("xtrans" ,xtrans)))
5798 (synopsis "Session manager for GNOME")
5799 (description
5800 "This package contains the GNOME session manager, as well as a
5801 configuration program to choose applications starting on login.")
5802 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5803 (license license:gpl2+)))
5804
5805 (define-public gjs
5806 (package
5807 (name "gjs")
5808 (version "1.56.2")
5809 (source (origin
5810 (method url-fetch)
5811 (uri (string-append "mirror://gnome/sources/" name "/"
5812 (version-major+minor version) "/"
5813 name "-" version ".tar.xz"))
5814 (sha256
5815 (base32
5816 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
5817 (build-system gnu-build-system)
5818 (arguments
5819 '(#:phases
5820 (modify-phases %standard-phases
5821 (add-before
5822 'check 'pre-check
5823 (lambda _
5824 ;; The test suite requires a running X server.
5825 (system "Xvfb :1 &")
5826 (setenv "DISPLAY" ":1")
5827
5828 ;; For the missing /etc/machine-id.
5829 (setenv "DBUS_FATAL_WARNINGS" "0")
5830
5831 ;; Our mozjs-38 package does not compile the required Intl API
5832 ;; support for these failing tests.
5833 (substitute* "installed-tests/js/testLocale.js"
5834 ((".*toBeDefined.*") "")
5835 ((".*expect\\(datestr\\).*") ""))
5836 (substitute* "installed-tests/scripts/testCommandLine.sh"
5837 (("Valentín") "")
5838 (("☭") ""))
5839 #t)))))
5840 (native-inputs
5841 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5842 ("pkg-config" ,pkg-config)
5843 ("xmllint" ,libxml2)
5844 ;; For testing
5845 ("dbus-launch" ,dbus)
5846 ("uuidgen" ,util-linux)
5847 ("xvfb" ,xorg-server-for-tests)))
5848 (propagated-inputs
5849 ;; These are all in the Requires.private field of gjs-1.0.pc.
5850 `(("cairo" ,cairo)
5851 ("gobject-introspection" ,gobject-introspection)
5852 ("mozjs" ,mozjs-60)))
5853 (inputs
5854 `(("gtk+" ,gtk+)
5855 ("readline" ,readline)))
5856 (synopsis "Javascript bindings for GNOME")
5857 (home-page "https://live.gnome.org/Gjs")
5858 (description
5859 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5860 javascript engine and the GObject introspection framework.")
5861 (license license:gpl2+)))
5862
5863 (define-public gedit
5864 (package
5865 (name "gedit")
5866 (version "3.34.1")
5867 (source (origin
5868 (method url-fetch)
5869 (uri (string-append "mirror://gnome/sources/" name "/"
5870 (version-major+minor version) "/"
5871 name "-" version ".tar.xz"))
5872 (sha256
5873 (base32
5874 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
5875 (build-system meson-build-system)
5876 (arguments
5877 `(#:glib-or-gtk? #t
5878 #:configure-flags
5879 ;; Otherwise, the RUNPATH will lack the final path component.
5880 (list (string-append "-Dc_link_args=-Wl,-rpath="
5881 (assoc-ref %outputs "out") "/lib/gedit"))
5882
5883 ;; XXX: Generated .h files are sometimes used before being built.
5884 #:parallel-build? #f
5885
5886 #:phases
5887 (modify-phases %standard-phases
5888 (add-after 'unpack 'skip-gtk-update-icon-cache
5889 ;; Don't create 'icon-theme.cache'.
5890 (lambda _
5891 (substitute* "build-aux/meson/post_install.py"
5892 (("gtk-update-icon-cache") (which "true")))
5893 #t))
5894 (add-after 'unpack 'patch-libgd-fetch
5895 (lambda* (#:key inputs #:allow-other-keys)
5896 (let ((libgd (assoc-ref inputs "libgd")))
5897 ;; Calling git is unnecessary because libgd is fetched as a
5898 ;; native input to this package.
5899 (substitute* "meson.build"
5900 ((".*git.*") ""))
5901 (copy-recursively libgd "subprojects/libgd")
5902 #t)))
5903 (add-after 'install 'wrap-gedit
5904 (lambda* (#:key inputs outputs #:allow-other-keys)
5905 (let ((out (assoc-ref outputs "out"))
5906 (gtksourceview (assoc-ref inputs "gtksourceview"))
5907 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5908 (python-path (getenv "PYTHONPATH")))
5909 (wrap-program (string-append out "/bin/gedit")
5910 ;; For plugins.
5911 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5912 `("PYTHONPATH" ":" prefix (,python-path))
5913 ;; For language-specs.
5914 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5915 "/share")))))
5916 #t)))))
5917 (propagated-inputs
5918 `(("dconf" ,dconf)))
5919 (native-inputs
5920 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5921 ("intltool" ,intltool)
5922 ("itstool" ,itstool)
5923 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5924 ("gobject-introspection" ,gobject-introspection)
5925 ("libgd"
5926 ,(origin
5927 (method git-fetch)
5928 (uri (git-reference
5929 (url "https://gitlab.gnome.org/GNOME/libgd")
5930 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5931 (file-name (git-file-name "libgd" version))
5932 (sha256
5933 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
5934 ("pkg-config" ,pkg-config)))
5935 (inputs
5936 `(("glib" ,glib)
5937 ("gspell" ,gspell)
5938 ("gtk+" ,gtk+)
5939 ("gtksourceview" ,gtksourceview)
5940 ("libpeas" ,libpeas)
5941 ("libxml2" ,libxml2)
5942 ("iso-codes" ,iso-codes)
5943 ("python-pygobject" ,python-pygobject)
5944 ("python" ,python)
5945 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5946 ("libx11" ,libx11)
5947 ("vala" ,vala)
5948 ("adwaita-icon-theme" ,adwaita-icon-theme)
5949 ("libsoup" ,libsoup)
5950 ("gnome-desktop" ,gnome-desktop)))
5951 (home-page "https://wiki.gnome.org/Apps/Gedit")
5952 (synopsis "GNOME text editor")
5953 (description "While aiming at simplicity and ease of use, gedit is a
5954 powerful general purpose text editor.")
5955 (license license:gpl2+)))
5956
5957 (define-public zenity
5958 (package
5959 (name "zenity")
5960 (version "3.32.0")
5961 (source (origin
5962 (method url-fetch)
5963 (uri (string-append "mirror://gnome/sources/zenity/"
5964 (version-major+minor version) "/"
5965 "zenity-" version ".tar.xz"))
5966 (sha256
5967 (base32
5968 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
5969 (build-system gnu-build-system)
5970 (native-inputs
5971 `(("gettext" ,gettext-minimal)
5972 ("itstool" ,itstool)
5973 ("pkg-config" ,pkg-config)))
5974 (inputs
5975 `(("libnotify" ,libnotify)
5976 ("webkitgtk" ,webkitgtk)))
5977 (synopsis "Display graphical dialog boxes from shell scripts")
5978 (home-page "https://www.gnome.org")
5979 (description
5980 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5981 to display dialog boxes from the commandline and shell scripts.")
5982 (license license:lgpl2.0+)))
5983
5984 (define-public mutter
5985 (package
5986 (name "mutter")
5987 (version "3.32.2")
5988 (source (origin
5989 (method url-fetch)
5990 (uri (string-append "mirror://gnome/sources/" name "/"
5991 (version-major+minor version) "/"
5992 name "-" version ".tar.xz"))
5993 (sha256
5994 (base32
5995 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
5996 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5997 ;; versions of cogl and clutter. As a result, many of the inputs,
5998 ;; propagated-inputs, and configure flags used in cogl and clutter are
5999 ;; needed here as well.
6000 (build-system meson-build-system)
6001 (arguments
6002 '(;; XXX: All mutter tests fail with the following error:
6003 ;; Settings schema 'org.gnome.mutter' is not installed
6004 #:tests? #f
6005 #:glib-or-gtk? #t
6006 #:configure-flags
6007 ;; Otherwise, the RUNPATH will lack the final path component.
6008 (list (string-append "-Dc_link_args=-Wl,-rpath="
6009 (assoc-ref %outputs "out") "/lib:"
6010 (assoc-ref %outputs "out") "/lib/mutter-4")
6011
6012 ;; The following flags are needed for the bundled clutter
6013 (string-append "-Dxwayland_path="
6014 (assoc-ref %build-inputs "xorg-server-xwayland")
6015 "/bin/Xwayland")
6016
6017 ;; the remaining flags are needed for the bundled cogl
6018 (string-append "-Dopengl_libname="
6019 (assoc-ref %build-inputs "mesa")
6020 "/lib/libGL.so"))
6021 #:phases
6022 (modify-phases %standard-phases
6023 (add-after 'unpack 'disable-werror
6024 (lambda _
6025 ;; XXX: build fails with [-Werror]:
6026 ;; backends/meta-cursor-renderer.c:112:5: error:
6027 ;; implicit declaration of function ?roundf?
6028 (substitute* "meson.build"
6029 (("'-Werror=.*',") ""))
6030 #t))
6031 ;; Replace references to systemd libraries to elogind references.
6032 (add-before 'configure 'use-elogind
6033 (lambda _
6034 (substitute* (list "meson.build"
6035 "src/backends/native/meta-launcher.c"
6036 "src/core/main.c")
6037 (("systemd") "elogind"))
6038 #t)))))
6039 (native-inputs
6040 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6041 ("gobject-introspection" ,gobject-introspection)
6042 ("intltool" ,intltool)
6043 ("pkg-config" ,pkg-config)
6044 ("xorg-server" ,xorg-server-for-tests)
6045 ;; For git build
6046 ("autoconf" ,autoconf)
6047 ("automake" ,automake)
6048 ("libtool" ,libtool)))
6049 (propagated-inputs
6050 `(;; libmutter.pc refers to these:
6051 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6052 ("gtk+" ,gtk+)
6053 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6054 ("atk" ,atk)
6055 ("cairo" ,cairo)
6056 ("gdk-pixbuf" ,gdk-pixbuf)
6057 ("glib" ,glib)
6058 ("json-glib" ,json-glib)
6059 ("libinput" ,libinput)
6060 ("libx11" ,libx11)
6061 ("libxcomposite" ,libxcomposite)
6062 ("libxdamage" ,libxdamage)
6063 ("libxext" ,libxext)
6064 ("libxfixes" ,libxfixes)
6065 ("libxkbcommon" ,libxkbcommon)
6066 ("libxrandr" ,libxrandr)
6067 ("mesa" ,mesa)
6068 ("pango" ,pango)
6069 ("udev" ,eudev)
6070 ("xinput" ,xinput)))
6071 (inputs
6072 `(("elogind" ,elogind)
6073 ("gnome-desktop" ,gnome-desktop)
6074 ("gnome-settings-daemon" ,gnome-settings-daemon)
6075 ("libcanberra-gtk" ,libcanberra)
6076 ("libgudev" ,libgudev)
6077 ("libice" ,libice)
6078 ("libsm" ,libsm)
6079 ("libwacom" ,libwacom)
6080 ("libxkbfile" ,libxkbfile)
6081 ("libxrandr" ,libxrandr)
6082 ("libxtst" ,libxtst)
6083 ("pipewire" ,pipewire)
6084 ("startup-notification" ,startup-notification)
6085 ("upower-glib" ,upower)
6086 ("xkeyboard-config" ,xkeyboard-config)
6087 ("xorg-server-xwayland" ,xorg-server-xwayland)
6088 ("zenity" ,zenity)))
6089 (synopsis "Window and compositing manager")
6090 (home-page "https://www.gnome.org")
6091 (description
6092 "Mutter is a window and compositing manager that displays and manages your
6093 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6094 Clutter toolkit with solid window-management logic inherited from the Metacity
6095 window manager.")
6096 (license license:gpl2+)))
6097
6098 (define-public gnome-online-accounts
6099 (package
6100 (name "gnome-online-accounts")
6101 (version "3.36.0")
6102 (source (origin
6103 (method url-fetch)
6104 (uri (string-append "mirror://gnome/sources/" name "/"
6105 (version-major+minor version) "/"
6106 name "-" version ".tar.xz"))
6107 (sha256
6108 (base32
6109 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6110 (outputs '("out" "lib"))
6111 (build-system glib-or-gtk-build-system)
6112 (arguments
6113 `(#:configure-flags
6114 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6115 #:phases
6116 (modify-phases %standard-phases
6117 (add-before 'configure 'patch-libgoa-output
6118 (lambda* (#:key outputs #:allow-other-keys)
6119 (let ((lib (assoc-ref outputs "lib")))
6120 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6121 (("@prefix@") lib)
6122 (("@exec_prefix@") lib)
6123 (("@libdir@") (string-append lib "/lib"))
6124 (("@includedir@") (string-append lib "/include"))
6125 (("@datadir@") (string-append lib "/share")))
6126 ;; Make sure gobject-introspection knows about the output
6127 ;; too (see <https://bugs.gnu.org/36535>).
6128 (setenv "outputs" "out lib")
6129 #t))))))
6130 (native-inputs
6131 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6132 ("gobject-introspection" ,gobject-introspection)
6133 ("intltool" ,intltool)
6134 ("pkg-config" ,pkg-config)
6135 ("vala" ,vala)
6136 ("xsltproc" ,libxslt)))
6137 (propagated-inputs
6138 `(("glib" ,glib) ; required by goa-1.0.pc
6139 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6140 (inputs
6141 `(("docbook-xsl" ,docbook-xsl)
6142 ("json-glib" ,json-glib)
6143 ("libsecret" ,libsecret)
6144 ("rest" ,rest)
6145 ("webkitgtk" ,webkitgtk)))
6146 (synopsis "Single sign-on framework for GNOME")
6147 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6148 (description
6149 "GNOME Online Accounts provides interfaces so that applications and
6150 libraries in GNOME can access the user's online accounts. It has providers for
6151 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6152 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6153 (license license:lgpl2.0+)))
6154
6155 (define-public evolution-data-server
6156 (package
6157 (name "evolution-data-server")
6158 (version "3.32.4")
6159 (source (origin
6160 (method url-fetch)
6161 (uri (string-append "mirror://gnome/sources/" name "/"
6162 (version-major+minor version) "/"
6163 name "-" version ".tar.xz"))
6164 (patches (search-patches "evolution-data-server-locales.patch"
6165 "evolution-data-server-libical-compat.patch"))
6166 (sha256
6167 (base32
6168 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
6169 (build-system cmake-build-system)
6170 (arguments
6171 '(#:configure-flags
6172 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6173 (runpaths (map (lambda (s)
6174 (string-append lib "/evolution-data-server/" s))
6175 '("addressbook-backends" "calendar-backends"
6176 "camel-providers" "credential-modules"
6177 "registry-modules"))))
6178 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6179 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6180 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6181 "-DENABLE_VALA_BINDINGS=ON"
6182 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6183 (string-append lib "/evolution-data-server;")
6184 (string-join runpaths ";"))
6185 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6186 #:phases
6187 (modify-phases %standard-phases
6188 (add-after 'unpack 'disable-failing-tests
6189 (lambda _
6190 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6191 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6192 (delete-file-recursively "tests/book-migration")
6193 (substitute* "tests/CMakeLists.txt"
6194 (("add_subdirectory\\(book-migration\\)") ""))
6195 ;; tests/libebook/client/test-book-client-view-operations:8077):
6196 ;; e-data-server-WARNING **:
6197 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6198 ;; runtime check failed:
6199 ;; (!g_main_context_pending (closure->main_context))
6200 (substitute* "tests/libebook/client/CMakeLists.txt"
6201 (("test-book-client-view-operations") ""))
6202 #t))
6203 (add-after 'unpack 'patch-paths
6204 (lambda _
6205 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6206 "tests/libedata-book/data-test-utils.c"
6207 "tests/libedata-book/test-book-cache-utils.c"
6208 "tests/libedata-cal/test-cal-cache-utils.c")
6209 (("/bin/rm") (which "rm")))
6210 #t))
6211 (add-before 'configure 'dont-override-rpath
6212 (lambda _
6213 (substitute* "CMakeLists.txt"
6214 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6215 ;; Remove it so the configure flag is respected.
6216 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6217 #t)))))
6218 (native-inputs
6219 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6220 ("gobject-introspection" ,gobject-introspection)
6221 ("gperf" ,gperf)
6222 ("intltool" ,intltool)
6223 ("pkg-config" ,pkg-config)
6224 ("vala" ,vala)
6225 ("python" ,python-wrapper)))
6226 (propagated-inputs
6227 ;; These are all in the Requires field of .pc files.
6228 `(("gtk+" ,gtk+)
6229 ("libical" ,libical)
6230 ("libsecret" ,libsecret)
6231 ("libsoup" ,libsoup)
6232 ("nss" ,nss)
6233 ("sqlite" ,sqlite)))
6234 (inputs
6235 `(("bdb" ,bdb)
6236 ("gcr" ,gcr)
6237 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6238 ("json-glib" ,json-glib)
6239 ("libcanberra" ,libcanberra)
6240 ("libgweather" ,libgweather)
6241 ("mit-krb5" ,mit-krb5)
6242 ("openldap" ,openldap)
6243 ("webkitgtk" ,webkitgtk)))
6244 (synopsis "Store address books and calendars")
6245 (home-page "https://wiki.gnome.org/Apps/Evolution")
6246 (description
6247 "This package provides a unified backend for programs that work with
6248 contacts, tasks, and calendar information. It was originally developed for
6249 Evolution (hence the name), but is now used by other packages as well.")
6250 (license license:lgpl2.0)))
6251
6252 (define-public caribou
6253 (package
6254 (name "caribou")
6255 (version "0.4.21")
6256 (source (origin
6257 (method url-fetch)
6258 (uri (string-append "mirror://gnome/sources/" name "/"
6259 (version-major+minor version) "/"
6260 name "-" version ".tar.xz"))
6261 (sha256
6262 (base32
6263 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6264 (build-system glib-or-gtk-build-system)
6265 (arguments
6266 '(#:phases
6267 (modify-phases %standard-phases
6268 (add-before
6269 'build 'pre-build
6270 (lambda* (#:key outputs #:allow-other-keys)
6271 (let ((out (assoc-ref outputs "out")))
6272 ;; Use absolute shared library path in Caribou-1.0.typelib.
6273 (substitute* "libcaribou/Makefile"
6274 (("--shared-library=libcaribou.so")
6275 (string-append "--shared-library="
6276 out "/lib/libcaribou.so")))
6277 #t)))
6278 (add-after 'install 'wrap-programs
6279 (lambda* (#:key outputs #:allow-other-keys)
6280 (let* ((out (assoc-ref outputs "out"))
6281 (python-path (getenv "PYTHONPATH"))
6282 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6283 (for-each
6284 (lambda (prog)
6285 (wrap-program prog
6286 `("PYTHONPATH" ":" prefix (,python-path))
6287 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6288 (list (string-append out "/bin/caribou-preferences")
6289 (string-append out "/libexec/antler-keyboard"))))
6290 #t)))))
6291 (native-inputs
6292 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6293 ("gobject-introspection" ,gobject-introspection)
6294 ("intltool" ,intltool)
6295 ("pkg-config" ,pkg-config)
6296 ("python" ,python)
6297 ("vala" ,vala)
6298 ("xsltproc" ,libxslt)))
6299 (propagated-inputs
6300 ;; caribou-1.0.pc refers to all these.
6301 `(("libgee" ,libgee)
6302 ("libxklavier" ,libxklavier)
6303 ("libxtst" ,libxtst)
6304 ("gtk+" ,gtk+)))
6305 (inputs
6306 `(("clutter" ,clutter)
6307 ("dconf" ,dconf)
6308 ("gtk+-2" ,gtk+-2)
6309 ("python-pygobject" ,python-pygobject)))
6310 (synopsis "Text entry and UI navigation application")
6311 (home-page "https://wiki.gnome.org/Projects/Caribou")
6312 (description
6313 "Caribou is an input assistive technology intended for switch and pointer
6314 users.")
6315 (license license:lgpl2.1)))
6316
6317 (define-public network-manager
6318 (package
6319 (name "network-manager")
6320 (version "1.18.4")
6321 (source (origin
6322 (method url-fetch)
6323 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6324 (version-major+minor version) "/"
6325 "NetworkManager-" version ".tar.xz"))
6326 (patches (search-patches "nm-plugin-path.patch"))
6327 (sha256
6328 (base32
6329 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6330 (modules '((guix build utils)))
6331 (snippet
6332 '(begin
6333 (substitute* "src/devices/wwan/nm-modem-manager.c"
6334 (("systemd") "elogind"))
6335 #t))))
6336 (build-system gnu-build-system)
6337 (outputs '("out"
6338 "doc")) ; 8 MiB of gtk-doc HTML
6339 (arguments
6340 '(#:configure-flags
6341 (let ((out (assoc-ref %outputs "out"))
6342 (doc (assoc-ref %outputs "doc"))
6343 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6344 "/sbin/dhclient")))
6345 (list "--with-libnm-glib" ; needed by network-manager-applet
6346 "--with-systemd-journal=no"
6347 "--with-session-tracking=elogind"
6348 "--with-suspend-resume=elogind"
6349 "--with-consolekit=no"
6350 "--with-crypto=gnutls"
6351 "--disable-config-plugin-ibft"
6352 "--sysconfdir=/etc"
6353 "--localstatedir=/var"
6354 (string-append "--with-udev-dir="
6355 out "/lib/udev")
6356 (string-append "--with-dbus-sys-dir="
6357 out "/etc/dbus-1/system.d")
6358 (string-append "--with-html-dir="
6359 doc "/share/gtk-doc/html")
6360 (string-append "--with-dhclient=" dhclient)))
6361 #:phases
6362 (modify-phases %standard-phases
6363 ;; This bare "ls" invocation breaks some tests.
6364 (add-after 'unpack 'patch-ls-invocation
6365 (lambda _
6366 (substitute* "build-aux/ltmain.sh"
6367 (("`ls -")
6368 (string-append "`" (which "ls") " -")))
6369 #t))
6370 (add-before 'configure 'pre-configure
6371 (lambda _
6372 ;; These tests try to test aspects of network-manager's
6373 ;; functionality within restricted containers, but they don't
6374 ;; cope with being already in the Guix build jail as that jail
6375 ;; lacks some features that they would like to proxy over (like
6376 ;; a /sys mount).
6377 (substitute* '("Makefile.in")
6378 (("src/platform/tests/test-address-linux") " ")
6379 (("src/platform/tests/test-cleanup-linux") " ")
6380 (("src/platform/tests/test-link-linux") " ")
6381 (("src/platform/tests/test-route-linux") " ")
6382 (("src/devices/tests/test-acd") "")
6383 (("src/devices/tests/test-arping") " ")
6384 (("src/devices/tests/test-lldp") " ")
6385 (("src/tests/test-route-manager-linux") " "))
6386 #t))
6387 (add-after 'unpack 'delete-failing-tests
6388 (lambda _
6389 ;; FIXME: These three tests fail for unknown reasons.
6390 ;; ERROR:libnm-core/tests/test-general.c:5842:
6391 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6392 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6393 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6394 ;; ERROR:libnm-core/tests/test-setting.c:907:
6395 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6396 (substitute* "Makefile.in"
6397 (("libnm-core/tests/test-general") " ")
6398 (("libnm-core/tests/test-keyfile") " ")
6399 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6400 #t))
6401 (add-before 'check 'pre-check
6402 (lambda _
6403 ;; For the missing /etc/machine-id.
6404 (setenv "DBUS_FATAL_WARNINGS" "0")
6405
6406 ;; XXX: Regenerate some of the tests that are dependent on Python version.
6407 ;; Try removing this variable for newer versions of NetworkManager.
6408 (setenv "NM_TEST_REGENERATE" "1")
6409 #t))
6410 (replace 'install
6411 (lambda _
6412 (invoke "make"
6413 "sysconfdir=/tmp"
6414 "rundir=/tmp"
6415 "statedir=/tmp"
6416 "nmstatedir=/tmp/nm"
6417 "install")
6418 #t)))))
6419 (propagated-inputs
6420 `(("glib" ,glib)))
6421 (native-inputs
6422 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6423 ("gobject-introspection" ,gobject-introspection)
6424 ("docbook-xsl" ,docbook-xsl)
6425 ("intltool" ,intltool)
6426 ("libxslt" ,libxslt)
6427 ("libxml2" ,libxml2)
6428 ("pkg-config" ,pkg-config)
6429 ;; For testing.
6430 ("python" ,python-wrapper)
6431 ("python-dbus" ,python-dbus)
6432 ("python-pygobject" ,python-pygobject)))
6433 (inputs
6434 `(("coreutils" ,coreutils) ; for ls
6435 ("curl" ,curl)
6436 ("cyrus-sasl" ,cyrus-sasl)
6437 ("dbus-glib" ,dbus-glib)
6438 ("dnsmasq" ,dnsmasq)
6439 ("eudev" ,eudev)
6440 ("gnutls" ,gnutls)
6441 ("iptables" ,iptables)
6442 ("isc-dhcp" ,isc-dhcp)
6443 ("jansson" ,jansson)
6444 ("libgcrypt" ,libgcrypt)
6445 ("libgudev" ,libgudev)
6446 ("libndp" ,libndp)
6447 ("libnl" ,libnl)
6448 ("libsoup" ,libsoup)
6449 ("modem-manager" ,modem-manager)
6450 ("newt" ,newt) ;for the 'nmtui' console interface
6451 ("polkit" ,polkit)
6452 ("ppp" ,ppp)
6453 ("readline" ,readline)
6454 ("util-linux" ,util-linux)
6455 ("elogind" ,elogind)))
6456 (synopsis "Network connection manager")
6457 (home-page "https://www.gnome.org/projects/NetworkManager/")
6458 (description
6459 "NetworkManager is a system network service that manages your network
6460 devices and connections, attempting to keep active network connectivity when
6461 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6462 devices, and provides VPN integration with a variety of different VPN
6463 services.")
6464 (license license:gpl2+)
6465 (properties '((upstream-name . "NetworkManager")))))
6466
6467 (define-public network-manager-openvpn
6468 (package
6469 (name "network-manager-openvpn")
6470 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6471 (version "1.8.10")
6472 (source (origin
6473 (method url-fetch)
6474 (uri (string-append
6475 "mirror://gnome/sources/NetworkManager-openvpn/"
6476 (version-major+minor version)
6477 "/NetworkManager-openvpn-" version ".tar.xz"))
6478 (sha256
6479 (base32
6480 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6481 (build-system gnu-build-system)
6482 (arguments
6483 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6484 #:phases
6485 (modify-phases %standard-phases
6486 (add-after 'configure 'patch-path
6487 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6488 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6489 "/sbin/openvpn"))
6490 (modprobe (string-append (assoc-ref inputs "kmod")
6491 "/bin/modprobe"))
6492 (pretty-ovpn (string-append "\"" ovpn "\"")))
6493 (for-each
6494 (lambda (file)
6495 (substitute* file
6496 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6497 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6498 (("\"/sbin/openvpn\"") pretty-ovpn)
6499 (("/sbin/modprobe") modprobe)))
6500 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6501 #t)))))
6502 (native-inputs
6503 `(("pkg-config" ,pkg-config)
6504 ("intltool" ,intltool)))
6505 (inputs
6506 `(("gtk+" ,gtk+)
6507 ("kmod" ,kmod)
6508 ("openvpn" ,openvpn)
6509 ("network-manager" ,network-manager)
6510 ("network-manager-applet" ,network-manager-applet) ;for libnma
6511 ("libsecret" ,libsecret)))
6512 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6513 (synopsis "OpenVPN plug-in for NetworkManager")
6514 (description
6515 "This extension of NetworkManager allows it to take care of connections
6516 to virtual private networks (VPNs) via OpenVPN.")
6517 (license license:gpl2+)
6518 (properties `((upstream-name . "NetworkManager-openvpn")))))
6519
6520 (define-public network-manager-vpnc
6521 (package
6522 (name "network-manager-vpnc")
6523 (version "1.2.6")
6524 (source (origin
6525 (method url-fetch)
6526 (uri (string-append
6527 "mirror://gnome/sources/NetworkManager-vpnc/"
6528 (version-major+minor version)
6529 "/NetworkManager-vpnc-" version ".tar.xz"))
6530 (sha256
6531 (base32
6532 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6533 (build-system gnu-build-system)
6534 (arguments
6535 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6536 #:phases
6537 (modify-phases %standard-phases
6538 (add-after 'configure 'patch-path
6539 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6540 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6541 "/sbin/vpnc"))
6542 (modprobe (string-append (assoc-ref inputs "kmod")
6543 "/bin/modprobe"))
6544 (pretty-ovpn (string-append "\"" vpnc "\"")))
6545 (substitute* "src/nm-vpnc-service.c"
6546 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6547 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6548 (("\"/sbin/vpnc\"") pretty-ovpn)
6549 (("/sbin/modprobe") modprobe)))
6550 #t)))))
6551 (native-inputs
6552 `(("pkg-config" ,pkg-config)
6553 ("intltool" ,intltool)))
6554 (inputs
6555 `(("gtk+" ,gtk+)
6556 ("kmod" ,kmod)
6557 ("vpnc" ,vpnc)
6558 ("network-manager" ,network-manager)
6559 ("network-manager-applet" ,network-manager-applet) ;for libnma
6560 ("libsecret" ,libsecret)))
6561 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6562 (synopsis "VPNC plug-in for NetworkManager")
6563 (description
6564 "Support for configuring virtual private networks based on VPNC.
6565 Compatible with Cisco VPN concentrators configured to use IPsec.")
6566 (license license:gpl2+)
6567 (properties `((upstream-name . "NetworkManager-vpnc")))))
6568
6569 (define-public network-manager-openconnect
6570 (package
6571 (name "network-manager-openconnect")
6572 (version "1.2.6")
6573 (source (origin
6574 (method url-fetch)
6575 (uri (string-append
6576 "mirror://gnome/sources/NetworkManager-openconnect/"
6577 (version-major+minor version)
6578 "/NetworkManager-openconnect-" version ".tar.xz"))
6579 (sha256
6580 (base32
6581 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6582 (build-system gnu-build-system)
6583 (arguments
6584 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6585 #:phases
6586 (modify-phases %standard-phases
6587 (add-after 'configure 'patch-path
6588 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6589 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6590 "/sbin/openconnect"))
6591 (modprobe (string-append (assoc-ref inputs "kmod")
6592 "/bin/modprobe"))
6593 (pretty-ovpn (string-append "\"" openconnect "\"")))
6594 (substitute* "src/nm-openconnect-service.c"
6595 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6596 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6597 (("/sbin/modprobe") modprobe)))
6598 #t)))))
6599 (native-inputs
6600 `(("intltool" ,intltool)
6601 ("network-manager-applet" ,network-manager-applet) ;for libnma
6602 ("pkg-config" ,pkg-config)))
6603 (inputs
6604 `(("gcr" ,gcr)
6605 ("gtk+" ,gtk+)
6606 ("kmod" ,kmod)
6607 ("libsecret" ,libsecret)
6608 ("libxml2" ,libxml2)
6609 ("network-manager" ,network-manager)
6610 ("openconnect" ,openconnect)))
6611 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6612 (synopsis "OpenConnect plug-in for NetworkManager")
6613 (description
6614 "This extension of NetworkManager allows it to take care of connections
6615 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6616 Cisco's AnyConnect SSL VPN.")
6617 (license license:gpl2+)
6618 (properties `((upstream-name . "NetworkManager-openconnect")
6619
6620 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6621 ;; file refers to account "nm-openconnect". Specify it here
6622 ;; so that 'network-manager-service-type' creates it.
6623 (user-accounts . ("nm-openconnect"))))))
6624
6625 (define-public mobile-broadband-provider-info
6626 (package
6627 (name "mobile-broadband-provider-info")
6628 (version "20190116")
6629 (source (origin
6630 (method url-fetch)
6631 (uri (string-append
6632 "mirror://gnome/sources/"
6633 "mobile-broadband-provider-info/" version "/"
6634 "mobile-broadband-provider-info-" version ".tar.xz"))
6635 (sha256
6636 (base32
6637 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6638 (build-system gnu-build-system)
6639 (arguments
6640 `(#:tests? #f)) ; no tests
6641 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6642 (synopsis "Database of broadband connection configuration")
6643 (description "Database of broadband connection configuration.")
6644 (license license:public-domain)))
6645
6646 (define-public network-manager-applet
6647 (package
6648 (name "network-manager-applet")
6649 (version "1.8.24")
6650 (source (origin
6651 (method url-fetch)
6652 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6653 (version-major+minor version) "/"
6654 "network-manager-applet-" version ".tar.xz"))
6655 (sha256
6656 (base32
6657 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6658 (build-system meson-build-system)
6659 (arguments
6660 '(#:configure-flags
6661 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6662 (list "-Dlibnm_gtk=true")
6663 #:glib-or-gtk? #t))
6664 (native-inputs
6665 `(("intltool" ,intltool)
6666 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6667 ("gobject-introspection" ,gobject-introspection)
6668 ("gtk-doc" ,gtk-doc)
6669 ("pkg-config" ,pkg-config)))
6670 (propagated-inputs
6671 ;; libnm-gtk.pc refers to all these.
6672 `(("dbus-glib" ,dbus-glib)
6673 ("gtk+" ,gtk+)
6674 ("network-manager" ,network-manager)))
6675 (inputs
6676 `(("gcr" ,gcr)
6677 ("iso-codes" ,iso-codes)
6678 ("libgudev" ,libgudev)
6679 ("libnotify" ,libnotify)
6680 ("libsecret" ,libsecret)
6681 ("libselinux" ,libselinux)
6682 ("jansson" ,jansson) ; for team support
6683 ("modem-manager" ,modem-manager)
6684 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6685 (synopsis "Applet for managing network connections")
6686 (home-page "https://www.gnome.org/projects/NetworkManager/")
6687 (description
6688 "This package contains a systray applet for NetworkManager. It displays
6689 the available networks and allows users to easily switch between them.")
6690 (license license:gpl2+)))
6691
6692 (define-public libxml++
6693 (package
6694 (name "libxml++")
6695 (version "3.0.1")
6696 (source (origin
6697 (method url-fetch)
6698 (uri (string-append "mirror://gnome/sources/" name "/"
6699 (version-major+minor version) "/"
6700 name "-" version ".tar.xz"))
6701 (sha256
6702 (base32
6703 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6704 (build-system gnu-build-system)
6705 ;; libxml++-3.0.pc refers to all these.
6706 (propagated-inputs
6707 `(("libxml2" ,libxml2)
6708 ("glibmm" ,glibmm)))
6709 (native-inputs
6710 `(("perl" ,perl)
6711 ("pkg-config" ,pkg-config)))
6712 (home-page "http://libxmlplusplus.sourceforge.net/")
6713 (synopsis "C++ wrapper for XML parser library libxml2")
6714 (description
6715 "This package provides a C++ wrapper for the XML parser library
6716 libxml2.")
6717 (license license:lgpl2.1+)))
6718
6719 (define-public libxml++-2
6720 (package
6721 (inherit libxml++)
6722 (name "libxml++")
6723 (version "2.40.1")
6724 (source (origin
6725 (method url-fetch)
6726 (uri (string-append "mirror://gnome/sources/" name "/"
6727 (version-major+minor version) "/"
6728 name "-" version ".tar.xz"))
6729 (sha256
6730 (base32
6731 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6732
6733 (define-public gdm
6734 (package
6735 (name "gdm")
6736 (version "3.32.0")
6737 (source (origin
6738 (method url-fetch)
6739 (uri (string-append "mirror://gnome/sources/" name "/"
6740 (version-major+minor version) "/"
6741 name "-" version ".tar.xz"))
6742 (sha256
6743 (base32
6744 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))
6745 (patches (search-patches "gdm-default-session.patch"))))
6746 (build-system glib-or-gtk-build-system)
6747 (arguments
6748 '(#:configure-flags
6749 `("--without-plymouth"
6750 "--disable-systemd-journal"
6751
6752 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6753 ;; instead of having to replace it (i.e., stopping the mingetty
6754 ;; service for TTY 1 before starting GDM).
6755 "--with-initial-vt=7"
6756
6757 ;; Use '/etc/environment' for locale settings instead of the
6758 ;; systemd-specific '/etc/locale.conf'.
6759 "--with-lang-file=/etc/environment"
6760
6761 ,(string-append "--with-udevdir="
6762 (assoc-ref %outputs "out") "/lib/udev")
6763
6764 "--localstatedir=/var"
6765 ,(string-append "--with-default-path="
6766 (string-join '("/run/setuid-programs"
6767 "/run/current-system/profile/bin"
6768 "/run/current-system/profile/sbin")
6769 ":"))
6770 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6771 ;; XDG_DATA_DIRS so that it finds its schemas.
6772 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6773 #:phases
6774 (modify-phases %standard-phases
6775 (add-before
6776 'configure 'pre-configure
6777 (lambda* (#:key inputs outputs #:allow-other-keys)
6778 ;; We don't have <systemd/sd-daemon.h>.
6779 (substitute* '("common/gdm-log.c"
6780 "daemon/gdm-server.c"
6781 "daemon/gdm-session-worker.c"
6782 "daemon/gdm-session-worker-job.c")
6783 (("#include <systemd/sd-daemon\\.h>") ""))
6784 ;; Use elogind for sd-login.
6785 (substitute* '("common/gdm-common.c"
6786 "daemon/gdm-manager.c"
6787 "libgdm/gdm-user-switching.c")
6788 (("#include <systemd/sd-login\\.h>")
6789 "#include <elogind/sd-login.h>"))
6790 ;; Check for elogind.
6791 (substitute* '("configure")
6792 (("libsystemd")
6793 "libelogind"))
6794 ;; Look for system-installed sessions in
6795 ;; /run/current-system/profile/share.
6796 (substitute* '("libgdm/gdm-sessions.c"
6797 "daemon/gdm-session.c"
6798 "daemon/gdm-display.c"
6799 "daemon/gdm-launch-environment.c")
6800 (("DATADIR \"/x")
6801 "\"/run/current-system/profile/share/x")
6802 (("DATADIR \"/wayland")
6803 "\"/run/current-system/profile/share/wayland")
6804 (("DATADIR \"/gnome")
6805 "\"/run/current-system/profile/share/gnome"))
6806 (let ((propagate '("GDM_CUSTOM_CONF"
6807 "GDM_DBUS_DAEMON"
6808 "GDM_X_SERVER"
6809 "GDM_X_SESSION"
6810 ;; XXX: Remove this once GNOME Shell is
6811 ;; a dependency of GDM.
6812 "XDG_DATA_DIRS")))
6813 (substitute* "daemon/gdm-session.c"
6814 (("set_up_session_environment \\(self\\);")
6815 (apply string-append
6816 "set_up_session_environment (self);\n"
6817 (map (lambda (name)
6818 (string-append
6819 "gdm_session_set_environment_variable "
6820 "(self, \"" name "\","
6821 "g_getenv (\"" name "\"));\n"))
6822 propagate)))))
6823 ;; Find the configuration file using an environment variable.
6824 (substitute* '("common/gdm-settings.c")
6825 (("GDM_CUSTOM_CONF")
6826 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6827 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6828 " : GDM_CUSTOM_CONF)")))
6829 ;; Use service-supplied path to X.
6830 (substitute* '("daemon/gdm-server.c")
6831 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6832 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6833 (substitute* '("daemon/gdm-x-session.c")
6834 (("\"dbus-daemon\"")
6835 "g_getenv (\"GDM_DBUS_DAEMON\")")
6836 (("X_SERVER")
6837 "g_getenv (\"GDM_X_SERVER\")")
6838 (("GDMCONFDIR \"/Xsession\"")
6839 "g_getenv (\"GDM_X_SESSION\")"))
6840 ;; Use an absolute path for GNOME Session.
6841 (substitute* "daemon/gdm-launch-environment.c"
6842 (("\"gnome-session\"")
6843 (string-append "\"" (assoc-ref inputs "gnome-session")
6844 "/bin/gnome-session\"")))
6845 ;; Do not automatically select the placeholder session.
6846 (substitute* "daemon/gdm-session.c"
6847 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6848 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6849 "(g_strcmp0(search_dirs[i], \""
6850 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6851 "\") == 0 && "
6852 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6853 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6854 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6855 #t))
6856 ;; GDM requires that there be at least one desktop entry
6857 ;; file. This phase installs a hidden one that simply
6858 ;; fails. This enables users to use GDM with a
6859 ;; '~/.xsession' script with no other desktop entry files.
6860 ;; See <https://bugs.gnu.org/35068>.
6861 (add-after 'install 'install-placeholder-desktop-entry
6862 (lambda* (#:key inputs outputs #:allow-other-keys)
6863 (let* ((out (assoc-ref outputs "out"))
6864 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6865 (fail (string-append sessions "/fail.desktop")))
6866 (mkdir-p sessions)
6867 (with-output-to-file fail
6868 (lambda ()
6869 (for-each
6870 display
6871 '("[Desktop Entry]\n"
6872 "Encoding=UTF-8\n"
6873 "Type=Application\n"
6874 "Name=Fail\n"
6875 "Comment=This session fails immediately.\n"
6876 "NoDisplay=true\n"
6877 "Exec=false\n"))))
6878 #t)))
6879 ;; GDM needs GNOME Session to run these applications. We link
6880 ;; their autostart files in `share/gdm/greeter/autostart'
6881 ;; because GDM explicitly tells GNOME Session to look there.
6882 ;;
6883 ;; XXX: GNOME Shell should be linked here too, but currently
6884 ;; GNOME Shell depends on GDM.
6885 (add-after 'install 'link-autostart-files
6886 (lambda* (#:key inputs outputs #:allow-other-keys)
6887 (let* ((out (assoc-ref outputs "out"))
6888 (autostart (string-append out "/share/gdm/"
6889 "greeter/autostart"))
6890 (settings (assoc-ref inputs "gnome-settings-daemon")))
6891 (mkdir-p autostart)
6892 (with-directory-excursion autostart
6893 (for-each (lambda (desktop)
6894 (symlink desktop (basename desktop)))
6895 (find-files (string-append settings "/etc/xdg"))))
6896 #t))))))
6897 (native-inputs
6898 `(("dconf" ,dconf)
6899 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6900 ("gobject-introspection" ,gobject-introspection)
6901 ("intltool" ,intltool)
6902 ("itstool" ,itstool)
6903 ("pkg-config" ,pkg-config)
6904 ("xmllint" ,libxml2)))
6905 (inputs
6906 `(("accountsservice" ,accountsservice)
6907 ("check" ,check) ; for testing
6908 ("elogind" ,elogind)
6909 ("gnome-session" ,gnome-session)
6910 ("gnome-settings-daemon" ,gnome-settings-daemon)
6911 ("gtk+" ,gtk+)
6912 ("iso-codes" ,iso-codes)
6913 ("libcanberra" ,libcanberra)
6914 ("linux-pam" ,linux-pam)))
6915 (synopsis "Display manager for GNOME")
6916 (home-page "https://wiki.gnome.org/Projects/GDM/")
6917 (description
6918 "GNOME Display Manager is a system service that is responsible for
6919 providing graphical log-ins and managing local and remote displays.")
6920 (license license:gpl2+)))
6921
6922 (define-public libgtop
6923 (package
6924 (name "libgtop")
6925 (version "2.40.0")
6926 (source (origin
6927 (method url-fetch)
6928 (uri (string-append "mirror://gnome/sources/libgtop/"
6929 (version-major+minor version) "/"
6930 "libgtop-" version ".tar.xz"))
6931 (sha256
6932 (base32
6933 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6934 (build-system gnu-build-system)
6935 (native-inputs
6936 `(("gobject-introspection" ,gobject-introspection)
6937 ("intltool" ,intltool)
6938 ("perl" ,perl)
6939 ("pkg-config" ,pkg-config)))
6940 (propagated-inputs
6941 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6942 (synopsis "Portable system access library")
6943 (home-page "https://www.gnome.org/")
6944 (description
6945 "LibGTop is a library to get system specific data such as CPU and memory
6946 usage and information about running processes.")
6947 (license license:gpl2+)))
6948
6949 (define-public gnome-bluetooth
6950 (package
6951 (name "gnome-bluetooth")
6952 (version "3.34.0")
6953 (source (origin
6954 (method url-fetch)
6955 (uri (string-append "mirror://gnome/sources/" name "/"
6956 (version-major+minor version) "/"
6957 name "-" version ".tar.xz"))
6958 (sha256
6959 (base32
6960 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
6961 (build-system meson-build-system)
6962 (native-inputs
6963 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
6964 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6965 ("gobject-introspection" ,gobject-introspection)
6966 ("intltool" ,intltool)
6967 ("pkg-config" ,pkg-config)
6968 ("xmllint" ,libxml2)))
6969 (propagated-inputs
6970 ;; gnome-bluetooth-1.0.pc refers to all these.
6971 `(("glib" ,glib)
6972 ("gtk+" ,gtk+)))
6973 (inputs
6974 `(("eudev" ,eudev)
6975 ("libcanberra" ,libcanberra)
6976 ("libnotify" ,libnotify)))
6977 (synopsis "GNOME Bluetooth subsystem")
6978 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6979 (description
6980 "This package contains tools for managing and manipulating Bluetooth
6981 devices using the GNOME desktop.")
6982 (license license:lgpl2.1+)))
6983
6984 (define-public gnome-control-center
6985 (package
6986 (name "gnome-control-center")
6987 (version "3.32.2")
6988 (source (origin
6989 (method url-fetch)
6990 (uri (string-append "mirror://gnome/sources/" name "/"
6991 (version-major+minor version) "/"
6992 name "-" version ".tar.xz"))
6993 (sha256
6994 (base32
6995 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
6996 (build-system meson-build-system)
6997 (arguments
6998 '(#:glib-or-gtk? #t
6999 #:configure-flags
7000 (list "-Dcheese=false"
7001 (string-append "-Dgnome_session_libexecdir="
7002 (assoc-ref %build-inputs "gnome-session")
7003 "/libexec"))
7004 #:phases
7005 (modify-phases %standard-phases
7006 (add-before 'configure 'patch-paths
7007 (lambda* (#:key inputs #:allow-other-keys)
7008 (let ((libc (assoc-ref inputs "libc"))
7009 (tzdata (assoc-ref inputs "tzdata"))
7010 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7011 (nm-applet (assoc-ref inputs "network-manager-applet"))
7012 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7013 (substitute* "panels/datetime/tz.h"
7014 (("/usr/share/zoneinfo/zone.tab")
7015 (string-append tzdata "/share/zoneinfo/zone.tab")))
7016 (substitute* "tests/datetime/test-endianess.c"
7017 (("/usr/share/locale")
7018 (string-append libc "/share/locale")))
7019 (substitute* "panels/region/cc-region-panel.c"
7020 (("\"gkbd-keyboard-display")
7021 (string-append "\"" libgnomekbd
7022 "/bin/gkbd-keyboard-display")))
7023 (substitute* '("panels/network/net-device-wifi.c"
7024 "panels/network/net-device.c"
7025 "panels/network/connection-editor/net-connection-editor.c")
7026 (("\"nm-connection-editor")
7027 (string-append "\"" nm-applet
7028 "/bin/nm-connection-editor")))
7029 (substitute* '("panels/user-accounts/run-passwd.c")
7030 (("/usr/bin/passwd")
7031 "/run/setuid-programs/passwd"))
7032 (substitute* "panels/info/cc-info-overview-panel.c"
7033 (("DATADIR \"/gnome/gnome-version.xml\"")
7034 (string-append "\"" gnome-desktop
7035 "/share/gnome/gnome-version.xml\"")))
7036 #t))))))
7037 (native-inputs
7038 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7039 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7040 ("intltool" ,intltool)
7041 ("pkg-config" ,pkg-config)
7042 ("xsltproc" ,libxslt)
7043 ;; For tests
7044 ("hicolor-icon-theme" ,hicolor-icon-theme)
7045 ("python-dbusmock" ,python-dbusmock)
7046 ("xorg-server" ,xorg-server-for-tests)))
7047 (inputs
7048 `(("accountsservice" ,accountsservice)
7049 ("clutter-gtk" ,clutter-gtk)
7050 ("colord-gtk" ,colord-gtk)
7051 ("cups" ,cups)
7052 ("dconf" ,dconf)
7053 ("docbook-xsl" ,docbook-xsl)
7054 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7055 ("gnome-bluetooth" ,gnome-bluetooth)
7056 ("gnome-desktop" ,gnome-desktop)
7057 ("gnome-online-accounts" ,gnome-online-accounts)
7058 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7059 ("gnome-session" ,gnome-session)
7060 ("gnome-settings-daemon" ,gnome-settings-daemon)
7061 ("grilo" ,grilo)
7062 ("gsound" ,gsound)
7063 ("ibus" ,ibus)
7064 ("libcanberra" ,libcanberra)
7065 ("libgnomekbd" ,libgnomekbd)
7066 ("libgudev" ,libgudev)
7067 ("libgtop" ,libgtop)
7068 ("libpwquality" ,libpwquality)
7069 ("libsecret" ,libsecret)
7070 ("libsoup" ,libsoup)
7071 ("libxml2" ,libxml2)
7072 ("libwacom" ,libwacom)
7073 ("mesa" ,mesa)
7074 ("mit-krb5" ,mit-krb5)
7075 ("modem-manager" ,modem-manager)
7076 ("network-manager-applet" ,network-manager-applet)
7077 ("polkit" ,polkit)
7078 ("pulseaudio" ,pulseaudio)
7079 ("smbclient" ,samba)
7080 ("tzdata" ,tzdata)
7081 ("udisks" ,udisks)
7082 ("upower" ,upower)))
7083 (synopsis "Utilities to configure the GNOME desktop")
7084 (home-page "https://www.gnome.org/")
7085 (description
7086 "This package contains configuration applets for the GNOME desktop,
7087 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7088 properties, sound setup, desktop theme and background, user interface
7089 properties, screen resolution, and other GNOME parameters.")
7090 (license license:gpl2+)))
7091
7092 (define-public gnome-shell
7093 (package
7094 (name "gnome-shell")
7095 (version "3.32.2")
7096 (source (origin
7097 (method url-fetch)
7098 (uri (string-append "mirror://gnome/sources/" name "/"
7099 (version-major+minor version) "/"
7100 name "-" version ".tar.xz"))
7101 (sha256
7102 (base32
7103 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
7104 (patches (search-patches "gnome-shell-theme.patch"))
7105 (modules '((guix build utils)))
7106 (snippet
7107 #~(begin
7108 ;; Copy images for use on the GDM log-in screen.
7109 (copy-file #$(file-append %artwork-repository
7110 "/slim/0.x/background.png")
7111 "data/theme/guix-background.png")
7112 (copy-file #$(file-append %artwork-repository
7113 "/logo/Guix-horizontal-white.svg")
7114 "data/theme/guix-logo.svg")
7115 #t))))
7116 (build-system meson-build-system)
7117 (arguments
7118 `(#:glib-or-gtk? #t
7119 #:disallowed-references ((,glib "bin")
7120 ,inkscape ,libxslt
7121 ,ruby-sass)
7122 #:configure-flags
7123 (list "-Dsystemd=false"
7124 ;; Otherwise, the RUNPATH will lack the final path component.
7125 (string-append "-Dc_link_args=-Wl,-rpath="
7126 (assoc-ref %outputs "out")
7127 "/lib/gnome-shell"))
7128
7129 #:modules ((guix build meson-build-system)
7130 (guix build utils)
7131 (srfi srfi-1))
7132
7133 #:phases
7134 (modify-phases %standard-phases
7135 (add-after 'unpack 'fix-keysdir
7136 (lambda* (#:key outputs #:allow-other-keys)
7137 (let* ((out (assoc-ref outputs "out"))
7138 (keysdir (string-append
7139 out "/share/gnome-control-center/keybindings")))
7140 (substitute* "meson.build"
7141 (("keysdir =.*")
7142 (string-append "keysdir = '" keysdir "'\n")))
7143 #t)))
7144 (add-before 'configure 'convert-logo-to-png
7145 (lambda* (#:key inputs #:allow-other-keys)
7146 ;; Convert the logo from SVG to PNG.
7147 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7148 "data/theme/guix-logo.svg")))
7149 (add-before 'configure 'record-absolute-file-names
7150 (lambda* (#:key inputs #:allow-other-keys)
7151 (substitute* "js/misc/ibusManager.js"
7152 (("'ibus-daemon'")
7153 (string-append "'" (assoc-ref inputs "ibus")
7154 "/bin/ibus-daemon'")))
7155 (substitute* "js/ui/status/keyboard.js"
7156 (("'gkbd-keyboard-display'")
7157 (string-append "'" (assoc-ref inputs "libgnomekbd")
7158 "/bin/gkbd-keyboard-display'")))
7159 #t))
7160 (add-before 'check 'pre-check
7161 (lambda* (#:key inputs #:allow-other-keys)
7162 ;; Tests require a running X server.
7163 (system "Xvfb :1 &")
7164 (setenv "DISPLAY" ":1")
7165 #t))
7166 (add-after 'install 'wrap-programs
7167 (lambda* (#:key inputs outputs #:allow-other-keys)
7168 (let ((out (assoc-ref outputs "out"))
7169 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7170 (python-path (getenv "PYTHONPATH")))
7171 (wrap-program (string-append out "/bin/gnome-shell")
7172 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7173 ;; FIXME: gnome-shell loads these libraries with unqualified
7174 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7175 ;; alternative might be to patch gnome-shell.
7176 `("LD_LIBRARY_PATH" ":" prefix
7177 ,(map (lambda (pkg)
7178 (string-append (assoc-ref inputs pkg) "/lib"))
7179 '("gdk-pixbuf"
7180 "gnome-bluetooth" "librsvg" "libgweather"))))
7181 (for-each
7182 (lambda (prog)
7183 (wrap-program (string-append out "/bin/" prog)
7184 `("PYTHONPATH" ":" prefix (,python-path))
7185 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7186 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7187 #t)))
7188 (replace 'glib-or-gtk-wrap
7189 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7190 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7191 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7192 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7193 ;; phase. Fix that since we don't need these.
7194 (wrap #:inputs (fold alist-delete inputs
7195 '("inkscape" "intltool" "glib:bin"))
7196 #:outputs outputs)))))))
7197 (native-inputs
7198 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7199 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7200 ("gobject-introspection" ,gobject-introspection)
7201 ("inkscape" ,inkscape)
7202 ("intltool" ,intltool)
7203 ("pkg-config" ,pkg-config)
7204 ("python" ,python)
7205 ("ruby-sass" ,ruby-sass)
7206 ("sassc" ,sassc)
7207 ("xsltproc" ,libxslt)
7208 ;; For tests
7209 ("xorg-server" ,xorg-server-for-tests)))
7210 (inputs
7211 `(("accountsservice" ,accountsservice)
7212 ("caribou" ,caribou)
7213 ("docbook-xsl" ,docbook-xsl)
7214 ("evolution-data-server" ,evolution-data-server)
7215 ("gcr" ,gcr)
7216 ("gdm" ,gdm)
7217 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7218 ("gjs" ,gjs)
7219 ("gnome-bluetooth" ,gnome-bluetooth)
7220 ("gnome-desktop" ,gnome-desktop)
7221 ("gnome-settings-daemon" ,gnome-settings-daemon)
7222 ("gst-plugins-base" ,gst-plugins-base)
7223 ("ibus" ,ibus)
7224 ("libcanberra" ,libcanberra)
7225 ("libcroco" ,libcroco)
7226 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7227 ("libgweather" ,libgweather)
7228 ("libsoup" ,libsoup)
7229 ("mesa-headers" ,mesa-headers)
7230 ("mutter" ,mutter)
7231 ("network-manager-applet" ,network-manager-applet)
7232 ("polkit" ,polkit)
7233 ("pulseaudio" ,pulseaudio)
7234 ("python-pygobject" ,python-pygobject)
7235 ("startup-notification" ,startup-notification)
7236 ("telepathy-logger" ,telepathy-logger)
7237 ("upower" ,upower)
7238 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7239 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7240 ("librsvg" ,librsvg)
7241 ("geoclue" ,geoclue)))
7242 (synopsis "Desktop shell for GNOME")
7243 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7244 (description
7245 "GNOME Shell provides core user interface functions for the GNOME desktop,
7246 like switching to windows and launching applications.")
7247 (license license:gpl2+)))
7248
7249 (define-public gtk-vnc
7250 (package
7251 (name "gtk-vnc")
7252 (version "0.9.0")
7253 (source
7254 (origin
7255 (method url-fetch)
7256 (uri (string-append "mirror://gnome/sources/" name "/"
7257 (version-major+minor version) "/"
7258 name "-" version ".tar.xz"))
7259 (sha256
7260 (base32
7261 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7262 (build-system gnu-build-system)
7263 (arguments
7264 '(#:configure-flags '("--with-gtk=3.0")))
7265 (propagated-inputs
7266 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7267 (inputs
7268 `(("cyrus-sasl" ,cyrus-sasl)
7269 ("gnutls" ,gnutls)
7270 ("libgcrypt" ,libgcrypt)
7271 ("pulseaudio" ,pulseaudio)))
7272 (native-inputs
7273 `(("glib:bin" ,glib "bin")
7274 ("gobject-introspection" ,gobject-introspection)
7275 ("intltool" ,intltool)
7276 ("pkg-config" ,pkg-config)
7277 ("python-wrapper" ,python-wrapper)
7278 ("vala" ,vala)))
7279 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7280 (synopsis "VNC viewer widget for GTK+")
7281 (description
7282 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7283 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7284 GTK-VNC implements client side RFB protocol and authentication extensions such
7285 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7286 (license license:lgpl2.1+)))
7287
7288 (define-public gnome-autoar
7289 (package
7290 (name "gnome-autoar")
7291 (version "0.2.3")
7292 (source (origin
7293 (method url-fetch)
7294 (uri (string-append "mirror://gnome/sources/" name "/"
7295 (version-major+minor version) "/"
7296 name "-" version ".tar.xz"))
7297 (sha256
7298 (base32
7299 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
7300 (build-system glib-or-gtk-build-system)
7301 (native-inputs
7302 `(("gnome-common" ,gnome-common)
7303 ("gobject-introspection" ,gobject-introspection)
7304 ("pkg-config" ,pkg-config)))
7305 (propagated-inputs
7306 `(("libarchive" ,libarchive))) ; XXX document why
7307 (inputs
7308 `(("gtk+" ,gtk+)))
7309 (synopsis "Archives integration support for GNOME")
7310 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7311 (description
7312 "GNOME Autoar is a library which makes creating and extracting archives
7313 easy, safe, and automatic.")
7314 (license license:lgpl2.1+)))
7315
7316 (define-public tracker
7317 (package
7318 (name "tracker")
7319 (version "2.3.4")
7320 (source (origin
7321 (method url-fetch)
7322 (uri (string-append "mirror://gnome/sources/tracker/"
7323 (version-major+minor version) "/"
7324 "tracker-" version ".tar.xz"))
7325 (sha256
7326 (base32
7327 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7328 (build-system meson-build-system)
7329 (arguments
7330 `(#:glib-or-gtk? #t
7331 #:configure-flags
7332 ;; Otherwise, the RUNPATH will lack the final path component.
7333 (list (string-append "-Dc_link_args=-Wl,-rpath="
7334 (assoc-ref %outputs "out") "/lib:"
7335 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7336 #:phases
7337 (modify-phases %standard-phases
7338 (add-before 'check 'pre-check
7339 (lambda _
7340 ;; Some tests expect to write to $HOME.
7341 (setenv "HOME" "/tmp")
7342 #t)))))
7343 (native-inputs
7344 `(("glib:bin" ,glib "bin")
7345 ("gobject-introspection" ,gobject-introspection)
7346 ("python-pygobject" ,python-pygobject)
7347 ("intltool" ,intltool)
7348 ("pkg-config" ,pkg-config)
7349 ("vala" ,vala)))
7350 (inputs
7351 `(("dbus" ,dbus)
7352 ("sqlite" ,sqlite)
7353 ("libxml2" ,libxml2)
7354 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7355 ("json-glib" ,json-glib)
7356 ("libsoup" ,libsoup)))
7357 (synopsis "Metadata database, indexer and search tool")
7358 (home-page "https://wiki.gnome.org/Projects/Tracker")
7359 (description
7360 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7361
7362 It is a middleware component aimed at desktop application developers who want
7363 their apps to browse and search user content. It's not designed to be used
7364 directly by desktop users, but it provides a commandline tool named
7365 @command{tracker} for the adventurous.
7366
7367 Tracker allows your application to instantly perform full-text searches across
7368 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7369 example. This is achieved by indexing the user's home directory in the
7370 background.
7371
7372 Tracker also allows your application to query and list content that the user
7373 has stored. For example, GNOME Music displays all the music files that are
7374 found by Tracker. This means that GNOME Music doesn't need to maintain a
7375 database of its own.
7376
7377 If you need to go beyond simple searches, Tracker is also a linked data
7378 endpoint and it understands SPARQL. ")
7379 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7380 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7381 ;; libstemmer is bsd-3 and the rest is gpl2+.
7382 (license (list license:gpl2+
7383 license:bsd-3
7384 license:lgpl2.1+))))
7385
7386 (define-public tracker-miners
7387 (package
7388 (name "tracker-miners")
7389 (version "2.3.3")
7390 (source (origin
7391 (method url-fetch)
7392 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7393 (version-major+minor version)
7394 "/tracker-miners-" version ".tar.xz"))
7395 (sha256
7396 (base32
7397 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7398 (build-system meson-build-system)
7399 (arguments
7400 `(#:glib-or-gtk? #t
7401 #:configure-flags
7402 (list "-Dminer_rss=false" ; libgrss is required.
7403 ;; Ensure the RUNPATH contains all installed library locations.
7404 (string-append "-Dc_link_args=-Wl,-rpath="
7405 (assoc-ref %outputs "out")
7406 "/lib/tracker-miners-2.0")
7407 ;; TODO: Enable functional tests. Currently, the following error
7408 ;; appears:
7409 ;; Exception: The functional tests require DConf to be the default
7410 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7411 "-Dfunctional_tests=false")))
7412 (native-inputs
7413 `(("dbus" ,dbus)
7414 ("intltool" ,intltool)
7415 ("glib:bin" ,glib "bin")
7416 ("gobject-introspection" ,gobject-introspection)
7417 ("pkg-config" ,pkg-config)
7418 ("python-pygobject" ,python-pygobject)))
7419 (inputs
7420 `(("exempi" ,exempi)
7421 ("ffmpeg" ,ffmpeg)
7422 ("flac" ,flac)
7423 ("giflib" ,giflib)
7424 ("glib" ,glib)
7425 ("gstreamer" ,gstreamer)
7426 ("icu4c" ,icu4c)
7427 ("libcue" ,libcue)
7428 ("libexif" ,libexif)
7429 ("libgsf" ,libgsf)
7430 ("libgxps" ,libgxps)
7431 ("libiptcdata" ,libiptcdata)
7432 ("libjpeg" ,libjpeg-turbo)
7433 ("libosinfo" ,libosinfo)
7434 ("libpng" ,libpng)
7435 ("libseccomp" ,libseccomp)
7436 ("libtiff" ,libtiff)
7437 ("libvorbis" ,libvorbis)
7438 ("libxml2" ,libxml2)
7439 ("poppler" ,poppler)
7440 ("taglib" ,taglib)
7441 ("totem-pl-parser" ,totem-pl-parser)
7442 ("tracker" ,tracker)
7443 ("upower" ,upower)
7444 ("zlib" ,zlib)))
7445 (synopsis "Metadata database, indexer and search tool")
7446 (home-page "https://wiki.gnome.org/Projects/Tracker")
7447 (description
7448 "Tracker is an advanced framework for first class objects with associated
7449 metadata and tags. It provides a one stop solution for all metadata, tags,
7450 shared object databases, search tools and indexing.")
7451 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7452 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7453 (license (list license:gpl2+
7454 license:lgpl2.1+
7455 license:lgpl2.0+))))
7456
7457 (define-public nautilus
7458 (package
7459 (name "nautilus")
7460 (version "3.32.3")
7461 (source (origin
7462 (method url-fetch)
7463 (uri (string-append "mirror://gnome/sources/" name "/"
7464 (version-major+minor version) "/"
7465 name "-" version ".tar.xz"))
7466 (sha256
7467 (base32
7468 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
7469 (build-system meson-build-system)
7470 (arguments
7471 '(#:glib-or-gtk? #t
7472 ;; XXX: FAIL: check-nautilus
7473 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7474 #:tests? #f))
7475 (native-inputs
7476 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7477 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7478 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7479 ("gobject-introspection" ,gobject-introspection)
7480 ("intltool" ,intltool)
7481 ("pkg-config" ,pkg-config)))
7482 (inputs
7483 `(("dconf" ,dconf)
7484 ("gexiv2" ,gexiv2)
7485 ("gvfs" ,gvfs)
7486 ("exempi" ,exempi)
7487 ("gnome-desktop" ,gnome-desktop)
7488 ("gnome-autoar" ,gnome-autoar)
7489 ("gst-plugins-base" ,gst-plugins-base)
7490 ("libseccomp" ,libseccomp)
7491 ("libselinux" ,libselinux)
7492 ("tracker" ,tracker)
7493 ("tracker-miners" ,tracker-miners)
7494 ;; XXX: gtk+ is required by libnautilus-extension.pc
7495 ;;
7496 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7497 ;; package. See:
7498 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7499 ("gtk+" ,gtk+)
7500 ("libexif" ,libexif)
7501 ("libxml2" ,libxml2)))
7502 (synopsis "File manager for GNOME")
7503 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7504 (description
7505 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7506 design and behaviour, giving the user a simple way to navigate and manage its
7507 files.")
7508 (license license:gpl2+)))
7509
7510 (define-public baobab
7511 (package
7512 (name "baobab")
7513 (version "3.32.0")
7514 (source (origin
7515 (method url-fetch)
7516 (uri (string-append
7517 "mirror://gnome/sources/" name "/"
7518 (version-major+minor version) "/"
7519 name "-" version ".tar.xz"))
7520 (sha256
7521 (base32
7522 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7523 (build-system meson-build-system)
7524 (arguments
7525 '(#:glib-or-gtk? #t))
7526 (native-inputs
7527 `(("intltool" ,intltool)
7528 ("pkg-config" ,pkg-config)
7529 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7530 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7531 ("itstool" ,itstool)
7532 ("xmllint" ,libxml2)
7533 ("glib" ,glib "bin")
7534 ("vala" ,vala)))
7535 (inputs
7536 `(("gtk+" ,gtk+)))
7537 (synopsis "Disk usage analyzer for GNOME")
7538 (description
7539 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7540 usage in the GNOME desktop environment. It can easily scan device volumes or
7541 a specific user-requested directory branch (local or remote). Once the scan
7542 is complete it provides a graphical representation of each selected folder.")
7543 (home-page "https://wiki.gnome.org/Apps/Baobab")
7544 (license license:gpl2+)))
7545
7546 (define-public gnome-backgrounds
7547 (package
7548 (name "gnome-backgrounds")
7549 (version "3.34.0")
7550 (source
7551 (origin
7552 (method url-fetch)
7553 (uri (string-append "mirror://gnome/sources/" name "/"
7554 (version-major+minor version) "/"
7555 name "-" version ".tar.xz"))
7556 (sha256
7557 (base32
7558 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7559 (build-system meson-build-system)
7560 (native-inputs
7561 `(("intltool" ,intltool)))
7562 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7563 (synopsis "Background images for the GNOME desktop")
7564 (description
7565 "GNOME backgrounds package contains a collection of graphics files which
7566 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7567 the package creates the proper framework and directory structure so that you
7568 can add your own files to the collection.")
7569 (license (list license:gpl2+
7570 license:cc-by2.0
7571 license:cc-by-sa2.0
7572 license:cc-by-sa3.0))))
7573
7574 (define-public gnome-screenshot
7575 (package
7576 (name "gnome-screenshot")
7577 (version "3.32.0")
7578 (source
7579 (origin
7580 (method url-fetch)
7581 (uri (string-append "mirror://gnome/sources/" name "/"
7582 (version-major+minor version) "/"
7583 name "-" version ".tar.xz"))
7584 (sha256
7585 (base32
7586 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
7587 (build-system meson-build-system)
7588 (native-inputs
7589 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7590 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7591 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7592 ("intltool" ,intltool)
7593 ("appstream-glib" ,appstream-glib)
7594 ("pkg-config" ,pkg-config)))
7595 (inputs
7596 `(("gtk+" ,gtk+)
7597 ("libcanberra" ,libcanberra)
7598 ("libx11" ,libx11)
7599 ("libxext" ,libxext)))
7600 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7601 (synopsis "Take pictures of your screen")
7602 (description
7603 "GNOME Screenshot is a utility used for taking screenshots of the entire
7604 screen, a window or a user defined area of the screen, with optional
7605 beautifying border effects.")
7606 (license license:gpl2+)))
7607
7608 (define-public dconf-editor
7609 (package
7610 (name "dconf-editor")
7611 (version "3.34.2")
7612 (source
7613 (origin
7614 (method url-fetch)
7615 (uri (string-append "mirror://gnome/sources/" name "/"
7616 (version-major+minor version) "/"
7617 name "-" version ".tar.xz"))
7618 (sha256
7619 (base32
7620 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7621 (build-system meson-build-system)
7622 (native-inputs
7623 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7624 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7625 ("intltool" ,intltool)
7626 ("pkg-config" ,pkg-config)
7627 ("vala" ,vala)))
7628 (inputs
7629 `(("dconf" ,dconf)
7630 ("gtk+" ,gtk+)
7631 ("libxml2" ,libxml2)))
7632 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7633 (synopsis "Graphical editor for GNOME's dconf configuration system")
7634 (description
7635 "Dconf-editor is a graphical tool for browsing and editing the dconf
7636 configuration system for GNOME. It allows users to configure desktop
7637 software that do not provide their own configuration interface.")
7638 (license license:lgpl2.1+)))
7639
7640 (define-public gnome-default-applications
7641 (package
7642 (name "gnome-default-applications")
7643 (version "0")
7644 (build-system trivial-build-system)
7645 (source #f)
7646 (propagated-inputs
7647 `(("nautilus" ,nautilus)
7648 ("evince" ,evince)))
7649 (arguments
7650 `(#:modules ((guix build utils))
7651 #:builder
7652 (begin
7653 (use-modules (guix build utils))
7654 (let* ((out (assoc-ref %outputs "out"))
7655 (apps (string-append out "/share/applications")))
7656 (mkdir-p apps)
7657 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7658 (lambda (port)
7659 (format port "[Default Applications]\n")
7660 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7661 (format port "application/pdf=evince.desktop\n")
7662 (format port "application/postscript=evince.desktop\n")))
7663 #t))))
7664 (synopsis "Default MIME type associations for the GNOME desktop")
7665 (description
7666 "Given many installed packages which might handle a given MIME type, a
7667 user running the GNOME desktop probably has some preferences: for example,
7668 that folders be opened by default by the Nautilus file manager, not the Baobab
7669 disk usage analyzer. This package establishes that set of default MIME type
7670 associations for GNOME.")
7671 (license license:gpl3+)
7672 (home-page #f)))
7673
7674 (define-public libgovirt
7675 (package
7676 (name "libgovirt")
7677 (version "0.3.6")
7678 (source (origin
7679 (method url-fetch)
7680 (uri (string-append "mirror://gnome/sources/" name "/"
7681 (version-major+minor version) "/"
7682 name "-" version ".tar.xz"))
7683 (sha256
7684 (base32
7685 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7686 (build-system glib-or-gtk-build-system)
7687 (native-inputs
7688 `(("gettext" ,gettext-minimal)
7689 ("glib:bin" ,glib "bin")
7690 ("gobject-introspection" ,gobject-introspection)
7691 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7692 ("gtk+:bin" ,gtk+ "bin")
7693 ("pkg-config" ,pkg-config)))
7694 (inputs
7695 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7696 ("librest" ,rest)))
7697 (synopsis "GoVirt Library")
7698 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7699 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7700 (license license:gpl2+)))
7701
7702 (define-public gnome-weather
7703 (package
7704 (name "gnome-weather")
7705 (version "3.34.0")
7706 (source (origin
7707 (method url-fetch)
7708 (uri (string-append "mirror://gnome/sources/" name "/"
7709 (version-major+minor version) "/"
7710 name "-" version ".tar.xz"))
7711 (sha256
7712 (base32
7713 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7714 (build-system meson-build-system)
7715 (native-inputs
7716 `(("gettext" ,gettext-minimal)
7717 ("glib:bin" ,glib "bin")
7718 ("gobject-introspection" ,gobject-introspection)
7719 ("gtk+:bin" ,gtk+ "bin")
7720 ("pkg-config" ,pkg-config)))
7721 (inputs
7722 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7723 ("appstream-glib" ,appstream-glib)
7724 ("geoclue" ,geoclue)
7725 ("gdk-pixbuf" ,gdk-pixbuf)
7726 ("gjs" ,gjs)
7727 ("gnome-desktop" ,gnome-desktop)
7728 ("libgweather" ,libgweather)))
7729 (arguments
7730 `(#:phases
7731 (modify-phases %standard-phases
7732 (add-after 'install 'fix-desktop-file
7733 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7734 ;; See https://issues.guix.gnu.org/issue/39324.
7735 (lambda* (#:key outputs #:allow-other-keys)
7736 (let* ((out (assoc-ref outputs "out"))
7737 (applications (string-append out "/share/applications")))
7738 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7739 (("Exec=.*") "Exec=gnome-weather\n"))))))))
7740 (synopsis "Weather monitoring for GNOME desktop")
7741 (description "GNOME Weather is a small application that allows you to
7742 monitor the current weather conditions for your city, or anywhere in the
7743 world.")
7744 (home-page "https://wiki.gnome.org/Apps/Weather")
7745 (license license:gpl2+)))
7746
7747 (define-public gnome
7748 (package
7749 (name "gnome")
7750 (version (package-version gnome-shell))
7751 (source #f)
7752 (build-system trivial-build-system)
7753 (arguments '(#:builder (begin (mkdir %output) #t)))
7754 (propagated-inputs
7755 ;; TODO: Add or remove packages according to:
7756 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7757 `(
7758 ;; GNOME-Core-OS-Services
7759 ("accountsservice" ,accountsservice)
7760 ("network-manager" ,network-manager)
7761 ("packagekit" ,packagekit)
7762 ("upower" ,upower)
7763 ;; GNOME-Core-Shell
7764 ("adwaita-icon-theme" ,adwaita-icon-theme)
7765 ("gdm" ,gdm)
7766 ("glib-networking" ,glib-networking)
7767 ("gnome-backgrounds" ,gnome-backgrounds)
7768 ("gnome-bluetooth" ,gnome-bluetooth)
7769 ("gnome-color-manager" ,gnome-color-manager)
7770 ("gnome-control-center" ,gnome-control-center)
7771 ("gnome-desktop" ,gnome-desktop)
7772 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7773 ("gnome-initial-setup" ,gnome-initial-setup)
7774 ("gnome-keyring" ,gnome-keyring)
7775 ("gnome-menus" ,gnome-menus)
7776 ("gnome-session" ,gnome-session)
7777 ("gnome-settings-daemon" ,gnome-settings-daemon)
7778 ("gnome-shell-extensions" ,gnome-shell-extensions)
7779 ("gnome-shell" ,gnome-shell)
7780 ("gnome-themes-extra" ,gnome-themes-extra)
7781 ("gnome-user-docs" ,gnome-user-docs)
7782 ("gnome-user-share" ,gnome-user-share)
7783 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7784 ("gvfs" ,gvfs)
7785 ("mutter" ,mutter)
7786 ("orca" ,orca)
7787 ("rygel" ,rygel)
7788 ("sushi" ,sushi)
7789 ;; GNOME-Core-Utilities
7790 ("baobab" ,baobab)
7791 ("cheese" ,cheese)
7792 ("eog" ,eog)
7793 ("epiphany" ,epiphany)
7794 ("evince" ,evince)
7795 ("file-roller" ,file-roller)
7796 ("gedit" ,gedit)
7797 ; TODO: ("gnome-boxes" ,gnome-boxes)
7798 ("gnome-calculator" ,gnome-calculator)
7799 ("gnome-calendar" ,gnome-calendar)
7800 ("gnome-characters" ,gnome-characters)
7801 ("gnome-clocks" ,gnome-clocks)
7802 ("gnome-contacts" ,gnome-contacts)
7803 ("gnome-disk-utility" ,gnome-disk-utility)
7804 ("gnome-font-viewer" ,gnome-font-viewer)
7805 ("gnome-maps" ,gnome-maps)
7806 ; TODO: ("gnome-music" ,gnome-music)
7807 ; TODO: ("gnome-photos" ,gnome-photos)
7808 ("gnome-screenshot" ,gnome-screenshot)
7809 ("gnome-system-monitor" ,gnome-system-monitor)
7810 ("gnome-terminal" ,gnome-terminal)
7811 ("gnome-weather" ,gnome-weather)
7812 ("nautilus" ,nautilus)
7813 ("simple-scan" ,simple-scan)
7814 ("totem" ,totem)
7815 ("yelp" ,yelp)
7816 ;; Others
7817 ("hicolor-icon-theme" ,hicolor-icon-theme)
7818 ("gnome-online-accounts" ,gnome-online-accounts)
7819
7820 ;; Packages not part of GNOME proper but that are needed for a good
7821 ;; experience. See <https://bugs.gnu.org/39646>.
7822 ;; XXX: Find out exactly which ones are needed and why.
7823 ("font-cantarell" ,font-cantarell)
7824 ("font-dejavu" ,font-dejavu)
7825 ("at-spi2-core" ,at-spi2-core)
7826 ("dbus" ,dbus)
7827 ("dconf" ,dconf)
7828 ("desktop-file-utils" ,desktop-file-utils)
7829 ("gnome-default-applications" ,gnome-default-applications)
7830 ("gnome-themes-standard" ,gnome-themes-standard)
7831 ("gst-plugins-base" ,gst-plugins-base)
7832 ("gst-plugins-good" ,gst-plugins-good)
7833 ("gucharmap" ,gucharmap)
7834 ("pinentry-gnome3" ,pinentry-gnome3)
7835 ("pulseaudio" ,pulseaudio)
7836 ("shared-mime-info" ,shared-mime-info)
7837 ("system-config-printer" ,system-config-printer)
7838 ("xdg-user-dirs" ,xdg-user-dirs)
7839 ("yelp" ,yelp)
7840 ("zenity" ,zenity)))
7841 (synopsis "The GNU desktop environment")
7842 (home-page "https://www.gnome.org/")
7843 (description
7844 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7845 applications for browsing the web, editing text and images, creating
7846 documents and diagrams, playing media, scanning, and much more.")
7847 (license license:gpl2+)))
7848
7849 (define-public byzanz
7850 ;; The last stable release of Byzanz was in 2011, but there have been many
7851 ;; useful commits made to the Byzanz repository since then that it would be
7852 ;; silly to use such an old release.
7853 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7854 (package
7855 (name "byzanz")
7856 (version (string-append "0.2-1." (string-take commit 7)))
7857 (source (origin
7858 (method git-fetch)
7859 (uri (git-reference
7860 (url "https://git.gnome.org/browse/byzanz")
7861 (commit commit)))
7862 (file-name (string-append name "-" version "-checkout"))
7863 (sha256
7864 (base32
7865 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7866 (build-system glib-or-gtk-build-system)
7867 (arguments
7868 '(#:phases
7869 (modify-phases %standard-phases
7870 (add-before 'bootstrap 'build-without-Werror
7871 (lambda _
7872 ;; The build system cleverly detects that we're not building from
7873 ;; a release tarball and turns on -Werror for GCC.
7874 ;; Unsurprisingly, there is a warning during compilation that
7875 ;; causes the build to fail unnecessarily, so we remove the flag.
7876 (substitute* '("configure.ac")
7877 (("-Werror") ""))
7878 #t)))))
7879 (native-inputs
7880 `(("autoconf" ,autoconf)
7881 ("automake" ,automake)
7882 ("gnome-common" ,gnome-common)
7883 ("intltool" ,intltool)
7884 ("libtool" ,libtool)
7885 ("pkg-config" ,pkg-config)
7886 ("which" ,which)))
7887 (inputs
7888 `(("glib" ,glib)
7889 ("gstreamer" ,gstreamer)
7890 ("gst-plugins-base" ,gst-plugins-base)
7891 ("gtk+" ,gtk+)))
7892 (synopsis "Desktop recording program")
7893 (description "Byzanz is a simple desktop recording program with a
7894 command-line interface. It can record part or all of an X display for a
7895 specified duration and save it as a GIF encoded animated image file.")
7896 (home-page "https://git.gnome.org/browse/byzanz")
7897 (license license:gpl2+))))
7898
7899 (define-public gsound
7900 (package
7901 (name "gsound")
7902 (version "1.0.2")
7903 (source (origin
7904 (method url-fetch)
7905 (uri (string-append "mirror://gnome/sources/" name "/"
7906 (version-major+minor version) "/"
7907 name "-" version ".tar.xz"))
7908 (sha256
7909 (base32
7910 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7911 (build-system glib-or-gtk-build-system)
7912 (native-inputs
7913 `(("pkg-config" ,pkg-config)
7914 ("gobject-introspection" ,gobject-introspection)
7915 ("vala" ,vala)))
7916 (inputs
7917 `(("glib" ,glib)
7918 ("libcanberra" ,libcanberra)))
7919 (home-page "https://wiki.gnome.org/Projects/GSound")
7920 (synopsis "GObject wrapper for libcanberra")
7921 (description
7922 "GSound is a small library for playing system sounds. It's designed to be
7923 used via GObject Introspection, and is a thin wrapper around the libcanberra C
7924 library.")
7925 (license license:lgpl2.1+)))
7926
7927 (define-public libzapojit
7928 (package
7929 (name "libzapojit")
7930 (version "0.0.3")
7931 (source (origin
7932 (method url-fetch)
7933 (uri (string-append "mirror://gnome/sources/" name "/"
7934 (version-major+minor version) "/"
7935 name "-" version ".tar.xz"))
7936 (sha256
7937 (base32
7938 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7939 (build-system gnu-build-system)
7940 (native-inputs
7941 `(("gobject-introspection" ,gobject-introspection)
7942 ("intltool" ,intltool)
7943 ("pkg-config" ,pkg-config)))
7944 (inputs
7945 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7946 ("json-glib" ,json-glib)
7947 ("rest" ,rest)))
7948 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7949 (synopsis "Library for accessing SkyDrive and Hotmail")
7950 (description
7951 "Libzapojit is a GLib-based library for accessing online service APIs of
7952 Microsoft SkyDrive and Hotmail, using their REST protocols.")
7953 (license license:lgpl2.1+)))
7954
7955 (define-public gnome-clocks
7956 (package
7957 (name "gnome-clocks")
7958 (version "3.32.0")
7959 (source (origin
7960 (method url-fetch)
7961 (uri (string-append "mirror://gnome/sources/" name "/"
7962 (version-major+minor version) "/"
7963 name "-" version ".tar.xz"))
7964 (sha256
7965 (base32
7966 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
7967 (build-system meson-build-system)
7968 (arguments
7969 '(#:glib-or-gtk? #t))
7970 (native-inputs
7971 `(("vala" ,vala)
7972 ("pkg-config" ,pkg-config)
7973 ("glib" ,glib "bin") ; for glib-compile-resources
7974 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7975 ("desktop-file-utils" ,desktop-file-utils)
7976 ("gettext" ,gettext-minimal)
7977 ("itstool" ,itstool)))
7978 (inputs
7979 `(("glib" ,glib)
7980 ("gtk+" ,gtk+)
7981 ("gsound" ,gsound)
7982 ("geoclue" ,geoclue)
7983 ("geocode-glib" ,geocode-glib)
7984 ("libgweather" ,libgweather)
7985 ("gnome-desktop" ,gnome-desktop)))
7986 (home-page "https://wiki.gnome.org/Apps/Clocks")
7987 (synopsis "GNOME's clock application")
7988 (description
7989 "GNOME Clocks is a simple clocks application designed to fit the GNOME
7990 desktop. It supports world clock, stop watch, alarms, and count down timer.")
7991 (license license:gpl3+)))
7992
7993 (define-public gnome-calendar
7994 (package
7995 (name "gnome-calendar")
7996 (version "3.32.2")
7997 (source (origin
7998 (method url-fetch)
7999 (uri (string-append "mirror://gnome/sources/" name "/"
8000 (version-major+minor version) "/"
8001 name "-" version ".tar.xz"))
8002 (sha256
8003 (base32
8004 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
8005 (build-system meson-build-system)
8006 (arguments
8007 '(#:glib-or-gtk? #t
8008 ;; gnome-calendar has to be installed before the tests can be run
8009 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8010 #:tests? #f))
8011 (native-inputs
8012 `(("gettext" ,gettext-minimal)
8013 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8014 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8015 ("pkg-config" ,pkg-config)))
8016 (inputs
8017 `(("evolution-data-server" ,evolution-data-server)
8018 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8019 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8020 ("libdazzle" ,libdazzle)
8021 ("libedataserverui" ,evolution-data-server)
8022 ("libgweather" ,libgweather)
8023 ("geoclue" ,geoclue)))
8024 (home-page "https://wiki.gnome.org/Apps/Calendar")
8025 (synopsis "GNOME's calendar application")
8026 (description
8027 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8028 desktop. It supports multiple calendars, month, week and year view.")
8029 (license license:gpl3+)))
8030
8031 (define-public gnome-todo
8032 (package
8033 (name "gnome-todo")
8034 (version "3.28.1")
8035 (source (origin
8036 (method url-fetch)
8037 (uri (string-append "mirror://gnome/sources/" name "/"
8038 (version-major+minor version) "/"
8039 name "-" version ".tar.xz"))
8040 (sha256
8041 (base32
8042 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
8043 (build-system meson-build-system)
8044 (arguments
8045 '(#:glib-or-gtk? #t
8046 #:phases (modify-phases %standard-phases
8047 (add-after
8048 'install 'wrap-gnome-todo
8049 (lambda* (#:key inputs outputs #:allow-other-keys)
8050 (let ((out (assoc-ref outputs "out"))
8051 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8052 (python-path (getenv "PYTHONPATH")))
8053 (wrap-program (string-append out "/bin/gnome-todo")
8054 ;; XXX: gi plugins are broken.
8055 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8056 ;; For plugins.
8057 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8058 `("PYTHONPATH" ":" prefix (,python-path))))
8059 #t)))))
8060 (native-inputs
8061 `(("gettext" ,gettext-minimal)
8062 ("gobject-introspection" ,gobject-introspection)
8063 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8064 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8065 ("pkg-config" ,pkg-config)))
8066 (inputs
8067 `(("rest" ,rest) ; For Todoist plugin
8068 ("json-glib" ,json-glib) ; For Todoist plugin
8069 ("libedataserverui" ,evolution-data-server)
8070 ("libical" ,libical)
8071 ("libpeas" ,libpeas)
8072 ("python-pygobject" ,python-pygobject)
8073 ("evolution-data-server" ,evolution-data-server)
8074 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8075 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8076 (home-page "https://wiki.gnome.org/Apps/Todo")
8077 (synopsis "GNOME's ToDo Application")
8078 (description
8079 "GNOME To Do is a simplistic personal task manager designed to perfectly
8080 fit the GNOME desktop.")
8081 (license license:gpl3+)))
8082
8083 (define-public gnome-dictionary
8084 (package
8085 (name "gnome-dictionary")
8086 (version "3.26.1")
8087 (source (origin
8088 (method url-fetch)
8089 (uri (string-append "mirror://gnome/sources/" name "/"
8090 (version-major+minor version) "/"
8091 name "-" version ".tar.xz"))
8092 (sha256
8093 (base32
8094 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8095 (build-system meson-build-system)
8096 (arguments '(#:glib-or-gtk? #t
8097 #:phases (modify-phases %standard-phases
8098 (add-after 'unpack 'patch-install-script
8099 (lambda _
8100 ;; This script attempts to compile glib schemas
8101 ;; and create an empty MIME database. We do
8102 ;; that elsewhere, so prevent it from running.
8103 (substitute* "build-aux/post-install.sh"
8104 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8105 #t)))))
8106 (native-inputs
8107 `(("glib:bin" ,glib "bin")
8108 ("gobject-introspection" ,gobject-introspection)
8109 ("intltool" ,intltool)
8110 ("itstool" ,itstool)
8111 ("pkg-config" ,pkg-config)
8112 ("xmllint" ,libxml2)))
8113 (inputs
8114 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8115 ("gtk+" ,gtk+)))
8116 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8117 (synopsis "Look up words in dictionary sources")
8118 (description
8119 "GNOME Dictionary can look for the definition or translation of a word in
8120 existing databases over the internet.")
8121 (license license:gpl3+)))
8122
8123 (define-public gnome-tweaks
8124 (package
8125 (name "gnome-tweaks")
8126 (version "3.32.0")
8127 (source (origin
8128 (method url-fetch)
8129 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8130 (version-major+minor version) "/"
8131 "gnome-tweaks-" version ".tar.xz"))
8132 (patches
8133 (list (search-patch "gnome-tweaks-search-paths.patch")))
8134 (sha256
8135 (base32
8136 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
8137 (build-system meson-build-system)
8138 (arguments
8139 `(#:glib-or-gtk? #t
8140 #:configure-flags '("-Dlocalstatedir=/tmp"
8141 "-Dsysconfdir=/tmp")
8142 #:imported-modules ((guix build python-build-system)
8143 ,@%meson-build-system-modules)
8144 #:phases
8145 (modify-phases %standard-phases
8146 (add-after 'install 'wrap
8147 (@@ (guix build python-build-system) wrap))
8148 (add-after 'wrap 'wrap-gi-typelib
8149 (lambda* (#:key inputs outputs #:allow-other-keys)
8150 (let ((out (assoc-ref outputs "out"))
8151 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8152 (wrap-program (string-append out "/bin/gnome-tweaks")
8153 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8154 #t)))))
8155 (native-inputs
8156 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8157 ("intltool" ,intltool)
8158 ("pkg-config" ,pkg-config)))
8159 (inputs
8160 `(("gnome-desktop" ,gnome-desktop)
8161 ("gtk+" ,gtk+)
8162 ("gobject-introspection" ,gobject-introspection)
8163 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8164 ("libnotify" ,libnotify)
8165 ("libsoup" ,libsoup)
8166 ("nautilus" ,nautilus)
8167 ("python" ,python)
8168 ("python-pygobject" ,python-pygobject)))
8169 (synopsis "Customize advanced GNOME 3 options")
8170 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8171 (description
8172 "GNOME Tweaks allows adjusting advanced configuration settings in
8173 GNOME 3. This includes things like the fonts used in user interface elements,
8174 alternative user interface themes, changes in window management behavior,
8175 GNOME Shell appearance and extension, etc.")
8176 (license license:gpl3+)))
8177
8178 (define-public gnome-shell-extensions
8179 (package
8180 (name "gnome-shell-extensions")
8181 (version "3.32.1")
8182 (source (origin
8183 (method url-fetch)
8184 (uri (string-append "mirror://gnome/sources/" name "/"
8185 (version-major+minor version) "/"
8186 name "-" version ".tar.xz"))
8187 (sha256
8188 (base32
8189 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
8190 (build-system meson-build-system)
8191 (arguments
8192 '(#:configure-flags '("-Dextension_set=all")))
8193 (native-inputs
8194 `(("glib:bin" ,glib "bin")
8195 ("intltool" ,intltool)
8196 ("pkg-config" ,pkg-config)))
8197 (propagated-inputs
8198 `(("glib" ,glib)))
8199 (synopsis "Extensions for GNOME Shell")
8200 (description "GNOME Shell extensions modify and extend GNOME Shell
8201 functionality and behavior.")
8202 (home-page "https://extensions.gnome.org/")
8203 (license license:gpl3+)))
8204
8205 (define-public arc-theme
8206 (package
8207 (name "arc-theme")
8208 (version "20190917")
8209 (source (origin
8210 (method git-fetch)
8211 (uri (git-reference
8212 (url "https://github.com/NicoHood/arc-theme.git")
8213 (commit version)))
8214 (file-name (git-file-name name version))
8215 (sha256
8216 (base32
8217 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8218 (build-system gnu-build-system)
8219 (arguments
8220 '(#:phases
8221 (modify-phases %standard-phases
8222 ;; autogen.sh calls configure at the end of the script.
8223 (replace 'bootstrap
8224 (lambda _ (invoke "autoreconf" "-vfi")))
8225 (add-before 'build 'set-home ;placate Inkscape
8226 (lambda _
8227 (setenv "HOME" (getcwd))
8228 #t)))))
8229 (native-inputs
8230 `(("autoconf" ,autoconf)
8231 ("automake" ,automake)
8232 ("glib" ,glib "bin") ; for glib-compile-resources
8233 ("gnome-shell" ,gnome-shell)
8234 ("gtk+" ,gtk+)
8235 ("inkscape" ,inkscape)
8236 ("optipng" ,optipng)
8237 ("pkg-config" ,pkg-config)
8238 ("sassc" ,sassc/libsass-3.5)))
8239 (synopsis "A flat GTK+ theme with transparent elements")
8240 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8241 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8242 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8243 (home-page "https://github.com/horst3180/arc-theme")
8244 ;; No "or later" language found.
8245 (license license:gpl3+)))
8246
8247 (define-public faba-icon-theme
8248 (package
8249 (name "faba-icon-theme")
8250 (version "4.3")
8251 (source
8252 (origin
8253 (method git-fetch)
8254 (uri (git-reference
8255 (url "https://github.com/snwh/faba-icon-theme.git")
8256 (commit (string-append "v" version))))
8257 (file-name (git-file-name name version))
8258 (sha256
8259 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8260 (build-system meson-build-system)
8261 (arguments
8262 `(#:phases
8263 (modify-phases %standard-phases
8264 (add-before 'configure 'disable-post-install
8265 (lambda _
8266 (substitute* "meson.build"
8267 (("meson.add_install_script.*") "")))))))
8268 (native-inputs
8269 `(("autoconf" ,autoconf)
8270 ("automake" ,automake)))
8271 (synopsis "Faba icon theme")
8272 (description
8273 "Faba is a minimal icon set used as a basis for other themes such as
8274 Moka")
8275 (home-page "https://snwh.org/moka")
8276 (license (list license:lgpl3+
8277 license:cc-by-sa4.0))))
8278
8279 (define-public moka-icon-theme
8280 (package
8281 (inherit faba-icon-theme)
8282 (name "moka-icon-theme")
8283 (version "5.4.0")
8284 (source
8285 (origin
8286 (method git-fetch)
8287 (uri (git-reference
8288 (url "https://github.com/snwh/moka-icon-theme.git")
8289 (commit (string-append "v" version))))
8290 (file-name (git-file-name name version))
8291 (sha256
8292 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8293 (propagated-inputs
8294 ;; Moka is based on Faba by using it as a fallback icon set instead of
8295 ;; bundling it, so we need to add it as a propagated input.
8296 `(("faba-icon-theme" ,faba-icon-theme)))
8297 (synopsis "Moka icon theme")
8298 (description "Moka is a stylized desktop icon set, designed to be clear,
8299 simple and consistent.")
8300 (license (list license:gpl3+
8301 license:cc-by-sa4.0))))
8302
8303 (define-public arc-icon-theme
8304 (package
8305 (name "arc-icon-theme")
8306 (version "20161122")
8307 (source
8308 (origin
8309 (method git-fetch)
8310 (uri (git-reference
8311 (url "https://github.com/horst3180/arc-icon-theme.git")
8312 (commit version)))
8313 (file-name (git-file-name name version))
8314 (sha256
8315 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8316 (build-system gnu-build-system)
8317 (arguments
8318 `(#:phases
8319 (modify-phases %standard-phases
8320 (add-after 'unpack 'disable-configure-during-bootstrap
8321 (lambda _
8322 (substitute* "autogen.sh"
8323 (("^\"\\$srcdir/configure\".*") ""))
8324 #t)))))
8325 (native-inputs
8326 `(("autoconf" ,autoconf)
8327 ("automake" ,automake)))
8328 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8329 (propagated-inputs
8330 `(("moka-icon-theme" ,moka-icon-theme)))
8331 (synopsis "Arc icon theme")
8332 (description "The Arc icon theme provides a set of icons matching the
8333 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8334 the Moka icon theme.")
8335 (home-page "https://github.com/horst3180/arc-icon-theme")
8336 (license license:gpl3+)))
8337
8338 (define-public folks
8339 (package
8340 (name "folks")
8341 (version "0.11.4")
8342 (source (origin
8343 (method url-fetch)
8344 (uri (string-append
8345 "mirror://gnome/sources/folks/"
8346 (version-major+minor version) "/"
8347 "folks-" version ".tar.xz"))
8348 (sha256
8349 (base32
8350 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
8351 (build-system glib-or-gtk-build-system)
8352 (inputs
8353 `(("bdb" ,bdb)
8354 ("dbus-glib" ,dbus-glib)
8355 ("evolution-data-server" ,evolution-data-server)
8356 ("glib" ,glib)
8357 ("libgee" ,libgee)
8358 ("telepathy-glib" ,telepathy-glib)))
8359 (native-inputs
8360 `(("gobject-introspection" ,gobject-introspection)
8361 ("intltool" ,intltool)
8362 ("pkg-config" ,pkg-config)
8363 ("vala" ,vala)))
8364 (synopsis "Library to aggregate data about people")
8365 (description "Libfolks is a library that aggregates information about people
8366 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8367 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8368 etc.) to create metacontacts. It's written in Vala, which generates C code when
8369 compiled.")
8370 (home-page "https://wiki.gnome.org/Projects/Folks")
8371 (license license:lgpl2.1+)))
8372
8373 (define-public gfbgraph
8374 (package
8375 (name "gfbgraph")
8376 (version "0.2.3")
8377 (source (origin
8378 (method url-fetch)
8379 (uri (string-append
8380 "mirror://gnome/sources/gfbgraph/"
8381 (version-major+minor version) "/"
8382 "gfbgraph-" version ".tar.xz"))
8383 (sha256
8384 (base32
8385 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8386 (build-system glib-or-gtk-build-system)
8387 (arguments
8388 `(#:tests? #f ; Tests appear to require the network.
8389 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8390 #:configure-flags '("--disable-gtk-doc"
8391 "--disable-static"
8392 "--enable-introspection")))
8393 (native-inputs
8394 `(("pkg-config" ,pkg-config)
8395 ("gobject-introspection" ,gobject-introspection)))
8396 (inputs
8397 `(("json-glib" ,json-glib)
8398 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8399 ("rest" ,rest)))
8400 (synopsis "GLib/GObject wrapper for the Facebook API")
8401 (description "This library allows you to use the Facebook API from
8402 GLib/GObject code.")
8403 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8404 (license license:lgpl2.1+)))
8405
8406 (define-public libgnomekbd
8407 (package
8408 (name "libgnomekbd")
8409 (version "3.26.1")
8410 (source (origin
8411 (method url-fetch)
8412 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8413 (version-major+minor version) "/"
8414 "libgnomekbd-" version ".tar.xz"))
8415 (sha256
8416 (base32
8417 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8418 (build-system gnu-build-system)
8419 (native-inputs
8420 `(("pkg-config" ,pkg-config)
8421 ("glib" ,glib "bin")
8422 ("intltool" ,intltool)))
8423 (propagated-inputs
8424 ;; Referred to in .h files and .pc.
8425 `(("glib" ,glib)
8426 ("gtk+" ,gtk+)
8427 ("libxklavier" ,libxklavier)))
8428 (home-page "https://www.gnome.org")
8429 (synopsis "GNOME keyboard configuration library")
8430 (description
8431 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8432 environment, which can notably display keyboard layouts.")
8433 (license license:lgpl2.0+)))
8434
8435 ;;; This package is no longer maintained:
8436 ;;; https://wiki.gnome.org/Attic/LibUnique
8437 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8438 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8439 (define-public libunique
8440 (package
8441 (name "libunique")
8442 (version "3.0.2")
8443 (source (origin
8444 (method url-fetch)
8445 (uri (string-append "mirror://gnome/sources/" name "/"
8446 (version-major+minor version) "/"
8447 name "-" version ".tar.xz"))
8448 (sha256
8449 (base32
8450 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8451 (build-system glib-or-gtk-build-system)
8452 (arguments
8453 `(#:configure-flags '("--disable-static"
8454 "--disable-dbus" ; use gdbus
8455 "--enable-introspection")))
8456 (native-inputs
8457 `(("pkg-config" ,pkg-config)
8458 ("gobject-introspection" ,gobject-introspection)
8459 ("glib:bin" ,glib "bin")
8460 ("gtk-doc" ,gtk-doc)))
8461 (propagated-inputs
8462 ;; Referred to in .h files and .pc.
8463 `(("gtk+" ,gtk+)))
8464 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8465 (synopsis "Library for writing single instance applications")
8466 (description
8467 "Libunique is a library for writing single instance applications. If you
8468 launch a single instance application twice, the second instance will either just
8469 quit or will send a message to the running instance. Libunique makes it easy to
8470 write this kind of application, by providing a base class, taking care of all
8471 the IPC machinery needed to send messages to a running instance, and also
8472 handling the startup notification side.")
8473 (license license:lgpl2.1+)))
8474
8475 (define-public gnome-calculator
8476 (package
8477 (name "gnome-calculator")
8478 (version "3.34.1")
8479 (source
8480 (origin
8481 (method url-fetch)
8482 (uri (string-append "mirror://gnome/sources/" name "/"
8483 (version-major+minor version) "/"
8484 name "-" version ".tar.xz"))
8485 (sha256
8486 (base32
8487 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8488 (build-system meson-build-system)
8489 (arguments '(#:glib-or-gtk? #t))
8490 (native-inputs
8491 `(("gettext" ,gettext-minimal)
8492 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8493 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8494 ("itstool" ,itstool)
8495 ("vala" ,vala)
8496 ("pkg-config" ,pkg-config)))
8497 (inputs
8498 `(("glib" ,glib)
8499 ("gtksourceview" ,gtksourceview)
8500 ("libgee" ,libgee)
8501 ("libsoup" ,libsoup)
8502 ("libxml2" ,libxml2)
8503 ("mpc" ,mpc)
8504 ("mpfr" ,mpfr)))
8505 (home-page "https://wiki.gnome.org/Apps/Calculator")
8506 (synopsis "Desktop calculator")
8507 (description
8508 "Calculator is an application that solves mathematical equations and
8509 is suitable as a default application in a Desktop environment.")
8510 (license license:gpl3)))
8511
8512 (define-public xpad
8513 (package
8514 (name "xpad")
8515 (version "5.1.0")
8516 (source
8517 (origin
8518 (method url-fetch)
8519 (uri (string-append "https://launchpad.net/xpad/trunk/"
8520 version "/+download/"
8521 name "-" version ".tar.bz2"))
8522 (sha256
8523 (base32
8524 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8525 (build-system gnu-build-system)
8526 (native-inputs
8527 `(("autoconf" ,autoconf)
8528 ("automake" ,automake)
8529 ("gtk+:bin" ,gtk+ "bin")
8530 ("intltool" ,intltool)
8531 ("pkg-config" ,pkg-config)))
8532 (inputs
8533 `(("gtksourceview" ,gtksourceview-3)
8534 ("libsm" ,libsm)))
8535 (home-page "https://wiki.gnome.org/Apps/Xpad")
8536 (synopsis "Virtual sticky note")
8537 (description
8538 "Xpad is a sticky note that strives to be simple, fault tolerant,
8539 and customizable. Xpad consists of independent pad windows, each is
8540 basically a text box in which notes can be written.")
8541 (license license:gpl3+)))
8542
8543 (define-public gucharmap
8544 (let ((unicode-files
8545 '(("Blocks.txt"
8546 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8547 ("DerivedAge.txt"
8548 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8549 ("NamesList.txt"
8550 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8551 ("Scripts.txt"
8552 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8553 ("UnicodeData.txt"
8554 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8555 ("Unihan.zip"
8556 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8557 (package
8558 (name "gucharmap")
8559 (version "12.0.1")
8560 (source
8561 (origin
8562 (method url-fetch)
8563 (uri (string-append "mirror://gnome/sources/" name "/"
8564 (version-major+minor version) "/"
8565 name "-" version ".tar.xz"))
8566 (sha256
8567 (base32
8568 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8569 (build-system glib-or-gtk-build-system)
8570 (arguments
8571 `(#:modules ((ice-9 match)
8572 (guix build glib-or-gtk-build-system)
8573 (guix build utils))
8574 #:configure-flags
8575 (list "--with-unicode-data=../unicode-data")
8576 #:phases
8577 (modify-phases %standard-phases
8578 (add-after 'unpack 'prepare-unicode-data
8579 (lambda* (#:key inputs #:allow-other-keys)
8580 (mkdir-p "../unicode-data")
8581 (with-directory-excursion "../unicode-data"
8582 (for-each (match-lambda
8583 ((file _)
8584 (install-file (assoc-ref inputs file) ".")))
8585 ',unicode-files))
8586 #t)))))
8587 (native-inputs
8588 `(("desktop-file-utils" ,desktop-file-utils)
8589 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8590 ("gobject-introspection" ,gobject-introspection)
8591 ("intltool" ,intltool)
8592 ("itstool" ,itstool)
8593 ("pkg-config" ,pkg-config)
8594 ,@(map (match-lambda
8595 ((file hash)
8596 `(,file
8597 ,(origin
8598 (method url-fetch)
8599 (uri (string-append
8600 "http://www.unicode.org/Public/12.0.0/ucd/"
8601 file))
8602 (sha256 (base32 hash))))))
8603 unicode-files)
8604 ("unzip" ,unzip)))
8605 (inputs
8606 `(("gtk+" ,gtk+)
8607 ("xmllint" ,libxml2)))
8608 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8609 (synopsis "Unicode character picker and font browser")
8610 (description
8611 "This program allows you to browse through all the available Unicode
8612 characters and categories for the installed fonts, and to examine their
8613 detailed properties. It is an easy way to find the character you might
8614 only know by its Unicode name or code point.")
8615 (license license:gpl3+))))
8616
8617 (define-public bluefish
8618 (package
8619 (name "bluefish")
8620 (version "2.2.11")
8621 (source
8622 (origin
8623 (method url-fetch)
8624 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8625 "bluefish-" version ".tar.gz"))
8626 (sha256
8627 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8628 (build-system gnu-build-system)
8629 (native-inputs
8630 `(("desktop-file-utils" ,desktop-file-utils)
8631 ("intltool" ,intltool)
8632 ("pkg-config" ,pkg-config)))
8633 (inputs
8634 `(("enchant" ,enchant)
8635 ("gtk+" ,gtk+)
8636 ("python" ,python-wrapper)
8637 ("xmllint" ,libxml2)
8638 ("gucharmap" ,gucharmap)))
8639 (home-page "http://bluefish.openoffice.nl")
8640 (synopsis "Web development studio")
8641 (description
8642 "Bluefish is an editor targeted towards programmers and web developers,
8643 with many options to write web sites, scripts and other code.
8644 Bluefish supports many programming and markup languages.")
8645 (license license:gpl3+)))
8646
8647 (define-public gnome-system-monitor
8648 (package
8649 (name "gnome-system-monitor")
8650 (version "3.32.1")
8651 (source
8652 (origin
8653 (method url-fetch)
8654 (uri (string-append "mirror://gnome/sources/" name "/"
8655 (version-major+minor version) "/"
8656 name "-" version ".tar.xz"))
8657 (sha256
8658 (base32
8659 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8660 (build-system meson-build-system)
8661 (arguments
8662 '(#:glib-or-gtk? #t
8663 #:configure-flags '("-Dsystemd=false")))
8664 (native-inputs
8665 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8666 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8667 ("intltool" ,intltool)
8668 ("itstool" ,itstool)
8669 ("libgtop" ,libgtop)
8670 ("polkit" ,polkit)
8671 ("pkg-config" ,pkg-config)))
8672 (inputs
8673 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8674 ("gtk+" ,gtk+)
8675 ("gtkmm" ,gtkmm)
8676 ("librsvg" ,librsvg)
8677 ("libxml2" ,libxml2)
8678 ("libwnck" ,libwnck)))
8679 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8680 (synopsis "Process viewer and system resource monitor for GNOME")
8681 (description
8682 "GNOME System Monitor is a GNOME process viewer and system monitor with
8683 an attractive, easy-to-use interface. It has features, such as a tree view
8684 for process dependencies, icons for processes, the ability to hide processes,
8685 graphical time histories of CPU/memory/swap usage and the ability to
8686 kill/reinice processes.")
8687 (license license:gpl2+)))
8688
8689 (define-public python-pyatspi
8690 (package
8691 (name "python-pyatspi")
8692 (version "2.34.0")
8693 (source (origin
8694 (method url-fetch)
8695 (uri (string-append
8696 "mirror://gnome/sources/pyatspi/"
8697 (version-major+minor version)
8698 "/pyatspi-" version ".tar.xz"))
8699 (sha256
8700 (base32
8701 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8702 (build-system gnu-build-system)
8703 (arguments
8704 `(#:phases
8705 (modify-phases %standard-phases
8706 (add-before 'build 'fix-atk-load
8707 (lambda _
8708 (substitute* "pyatspi/__init__.py"
8709 (("from gi.repository import Atspi")
8710 "gi.require_version('Gtk', '3.0')
8711 from gi.repository import Gtk
8712 from gi.repository import Atspi"))
8713 #t)))))
8714 (native-inputs
8715 `(("pkg-config" ,pkg-config)))
8716 (inputs
8717 `(("python" ,python)
8718 ("python-pygobject" ,python-pygobject)))
8719 (synopsis "Python client bindings for D-Bus AT-SPI")
8720 (home-page "https://wiki.linuxfoundation.org/accessibility\
8721 /atk/at-spi/at-spi_on_d-bus")
8722 (description
8723 "This package includes a python client library for the AT-SPI D-Bus
8724 accessibility infrastructure.")
8725 (license license:lgpl2.0)
8726 (properties '((upstream-name . "pyatspi")))))
8727
8728 (define-public orca
8729 (package
8730 (name "orca")
8731 (version "3.32.0")
8732 (source (origin
8733 (method url-fetch)
8734 (uri (string-append
8735 "mirror://gnome/sources/" name "/"
8736 (version-major+minor version) "/"
8737 name "-" version ".tar.xz"))
8738 (sha256
8739 (base32
8740 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
8741 (build-system glib-or-gtk-build-system)
8742 (arguments
8743 '(#:phases
8744 (modify-phases %standard-phases
8745 (add-before 'configure 'qualify-xkbcomp
8746 (lambda* (#:key inputs #:allow-other-keys)
8747 (let ((xkbcomp (string-append
8748 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8749 (substitute* "src/orca/orca.py"
8750 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8751 #t))
8752 (add-after 'install 'wrap-orca
8753 (lambda* (#:key outputs #:allow-other-keys)
8754 (let* ((out (assoc-ref outputs "out"))
8755 (prog (string-append out "/bin/orca")))
8756 (wrap-program prog
8757 `("GI_TYPELIB_PATH" ":" prefix
8758 (,(getenv "GI_TYPELIB_PATH")))
8759 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8760 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8761 `("PYTHONPATH" ":" prefix
8762 (,(getenv "PYTHONPATH")))))
8763 #t)))))
8764 (native-inputs
8765 `(("intltool" ,intltool)
8766 ("itstool" ,itstool)
8767 ("pkg-config" ,pkg-config)
8768 ("xmllint" ,libxml2)))
8769 (inputs
8770 `(("at-spi2-atk" ,at-spi2-atk)
8771 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8772 ("gstreamer" ,gstreamer)
8773 ("gst-plugins-base" ,gst-plugins-base)
8774 ("gst-plugins-good" ,gst-plugins-good)
8775 ("gtk+" ,gtk+)
8776 ("python" ,python)
8777 ("python-pygobject" ,python-pygobject)
8778 ("python-pyatspi" ,python-pyatspi)
8779 ("python-speechd" ,speech-dispatcher)
8780 ("xkbcomp" ,xkbcomp)))
8781 (synopsis
8782 "Screen reader for individuals who are blind or visually impaired")
8783 (home-page "https://wiki.gnome.org/Projects/Orca")
8784 (description
8785 "Orca is a screen reader that provides access to the graphical desktop
8786 via speech and refreshable braille. Orca works with applications and toolkits
8787 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8788 (license license:lgpl2.1+)))
8789
8790 (define-public gspell
8791 (package
8792 (name "gspell")
8793 (version "1.8.2")
8794 (source (origin
8795 (method url-fetch)
8796 (uri (string-append "mirror://gnome/sources/" name "/"
8797 (version-major+minor version) "/"
8798 name "-" version ".tar.xz"))
8799 (sha256
8800 (base32
8801 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8802 (patches (search-patches "gspell-dash-test.patch"))))
8803 (build-system glib-or-gtk-build-system)
8804 (arguments
8805 '(#:configure-flags (list "--enable-vala")
8806 #:phases
8807 (modify-phases %standard-phases
8808 (add-before 'check 'pre-check
8809 (lambda* (#:key inputs #:allow-other-keys)
8810 ;; Tests require a running X server.
8811 (system "Xvfb :1 &")
8812 (setenv "DISPLAY" ":1")
8813
8814 ;; For the missing /etc/machine-id.
8815 (setenv "DBUS_FATAL_WARNINGS" "0")
8816
8817 ;; Allow Enchant and its Aspell backend to find the en_US
8818 ;; dictionary.
8819 (setenv "ASPELL_DICT_DIR"
8820 (string-append (assoc-ref inputs "aspell-dict-en")
8821 "/lib/aspell"))
8822 #t)))))
8823 (inputs
8824 `(("gtk+" ,gtk+)
8825 ("glib" ,glib)
8826 ("iso-codes" ,iso-codes)))
8827 (native-inputs
8828 `(("glib" ,glib "bin")
8829 ("gobject-introspection" ,gobject-introspection)
8830 ("pkg-config" ,pkg-config)
8831 ("vala" ,vala) ;for VAPI, needed by Geary
8832 ("xmllint" ,libxml2)
8833
8834 ;; For tests.
8835 ("aspell-dict-en" ,aspell-dict-en)
8836 ("xorg-server" ,xorg-server-for-tests)))
8837 (propagated-inputs
8838 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8839 (home-page "https://wiki.gnome.org/Projects/gspell")
8840 (synopsis "GNOME's alternative spell checker")
8841 (description
8842 "gspell provides a flexible API to add spell-checking to a GTK+
8843 application. It provides a GObject API, spell-checking to text entries and
8844 text views, and buttons to choose the language.")
8845 (license license:gpl2+)))
8846
8847 (define-public gnome-planner
8848 (package
8849 (name "gnome-planner")
8850 (version "0.14.6")
8851 (source (origin
8852 (method url-fetch)
8853 (uri (string-append "mirror://gnome/sources/planner/"
8854 (version-major+minor version) "/planner-"
8855 version ".tar.xz"))
8856 (sha256
8857 (base32
8858 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8859 (build-system glib-or-gtk-build-system)
8860 (arguments
8861 ;; Disable the Python bindings because the Planner program functions
8862 ;; without them, and (as of 2017-06-13) we have not packaged all of
8863 ;; packages that are necessary for building the Python bindings.
8864 `(#:configure-flags
8865 (list "--disable-python"
8866 ,@(if (string=? "aarch64-linux" (%current-system))
8867 '("--build=aarch64-unknown-linux-gnu")
8868 '()))))
8869 (inputs
8870 `(("libgnomecanvas" ,libgnomecanvas)
8871 ("libgnomeui" ,libgnomeui)
8872 ("libglade" ,libglade)
8873 ("gnome-vfs" ,gnome-vfs)
8874 ("gconf" ,gconf)
8875 ("libxml2" ,libxml2)
8876 ("libxslt" ,libxslt)
8877 ("gtk+" ,gtk+)
8878 ("glib" ,glib)))
8879 (native-inputs
8880 `(("intltool" ,intltool)
8881 ("scrollkeeper" ,scrollkeeper)
8882 ("pkg-config" ,pkg-config)))
8883 (home-page "https://wiki.gnome.org/Apps/Planner")
8884 (synopsis "Project management software for the GNOME desktop")
8885 (description
8886 "GNOME Planner is a project management tool based on the Work Breakdown
8887 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8888 the resources, tasks, and constraints that you define, Planner generates
8889 various views into a project. For example, Planner can show a Gantt chart of
8890 the project. It can show a detailed summary of tasks including their
8891 duration, cost, and current progress. It can also show a report of resource
8892 utilization that highlights under-utilized and over-utilized resources. These
8893 views can be printed as PDF or PostScript files, or exported to HTML.")
8894 (license license:gpl2+)))
8895
8896 (define-public lollypop
8897 (package
8898 (name "lollypop")
8899 (version "1.2.32")
8900 (source
8901 (origin
8902 (method url-fetch)
8903 (uri (string-append "https://adishatz.org/lollypop/"
8904 "lollypop-" version ".tar.xz"))
8905 (sha256
8906 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
8907 (build-system meson-build-system)
8908 (arguments
8909 `(#:imported-modules
8910 (,@%meson-build-system-modules
8911 (guix build python-build-system))
8912 #:modules
8913 ((guix build meson-build-system)
8914 ((guix build python-build-system) #:prefix python:)
8915 (guix build utils))
8916 #:glib-or-gtk? #t
8917 #:tests? #f ; no test suite
8918 #:phases
8919 (modify-phases %standard-phases
8920 (add-after 'install 'wrap-program
8921 (lambda* (#:key outputs #:allow-other-keys)
8922 (let ((out (assoc-ref outputs "out"))
8923 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8924 (wrap-program (string-append out "/bin/lollypop")
8925 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8926 #t))
8927 (add-after 'install 'wrap-python
8928 (assoc-ref python:%standard-phases 'wrap)))))
8929 (native-inputs
8930 `(("intltool" ,intltool)
8931 ("itstool" ,itstool)
8932 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8933 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8934 ("pkg-config" ,pkg-config)))
8935 (inputs
8936 `(("gobject-introspection" ,gobject-introspection)
8937 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8938 ("gst-plugins-base" ,gst-plugins-base)
8939 ("libnotify" ,libnotify)
8940 ("libsecret" ,libsecret)
8941 ("libsoup" ,libsoup)
8942 ("python" ,python)
8943 ("python-beautifulsoup4" ,python-beautifulsoup4)
8944 ("python-gst" ,python-gst)
8945 ("python-pil" ,python-pillow)
8946 ("python-pycairo" ,python-pycairo)
8947 ("python-pygobject" ,python-pygobject)
8948 ("python-pylast" ,python-pylast)
8949 ("totem-pl-parser" ,totem-pl-parser)
8950 ("webkitgtk" ,webkitgtk)))
8951 (propagated-inputs
8952 `(;; gst-plugins-base is required to start Lollypop,
8953 ;; the others are required to play streaming.
8954 ("gst-plugins-good" ,gst-plugins-good)
8955 ("gst-plugins-ugly" ,gst-plugins-ugly)))
8956 (home-page "https://wiki.gnome.org/Apps/Lollypop")
8957 (synopsis "GNOME music playing application")
8958 (description
8959 "Lollypop is a music player designed to play well with GNOME desktop.
8960 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
8961 from artists and tracks from the web. It also fetches cover artworks
8962 automatically and it can stream songs from online music services and charts.")
8963 (license license:gpl3+)))
8964
8965 (define-public gnome-video-effects
8966 (package
8967 (name "gnome-video-effects")
8968 (version "0.4.3")
8969 (source (origin
8970 (method url-fetch)
8971 (uri (string-append "mirror://gnome/sources/" name "/"
8972 (version-major+minor version) "/" name "-"
8973 version ".tar.xz"))
8974 (sha256
8975 (base32
8976 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
8977 (build-system glib-or-gtk-build-system)
8978 (arguments
8979 `(#:out-of-source? #f))
8980 (native-inputs
8981 `(("glib:bin" ,glib "bin")
8982 ("intltool" ,intltool)
8983 ("gettext" ,gettext-minimal)
8984 ("pkg-config" ,pkg-config)))
8985 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
8986 (synopsis "Video effects for Cheese and other GNOME applications")
8987 (description
8988 "A collection of GStreamer video filters and effects to be used in
8989 photo-booth-like software, such as Cheese.")
8990 (license license:gpl2+)))
8991
8992 (define-public cheese
8993 (package
8994 (name "cheese")
8995 (version "3.32.1")
8996 (source (origin
8997 (method url-fetch)
8998 (uri (string-append "mirror://gnome/sources/" name "/"
8999 (version-major+minor version) "/" name "-"
9000 version ".tar.xz"))
9001 (sha256
9002 (base32
9003 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
9004 (arguments
9005 ;; Tests require GDK.
9006 `(#:tests? #f
9007 #:phases
9008 (modify-phases %standard-phases
9009 (add-before 'install 'skip-gtk-update-icon-cache
9010 (lambda _
9011 ;; Don't create 'icon-theme.cache'
9012 (substitute* "Makefile"
9013 (("gtk-update-icon-cache") (which "true")))
9014 #t))
9015 (add-after 'install 'wrap-cheese
9016 (lambda* (#:key inputs outputs #:allow-other-keys)
9017 (let ((out (assoc-ref outputs "out"))
9018 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9019 (wrap-program (string-append out "/bin/cheese")
9020 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9021 #t)))))
9022 (build-system glib-or-gtk-build-system)
9023 (native-inputs
9024 `(("glib:bin" ,glib "bin")
9025 ("intltool" ,intltool)
9026 ("itstool" ,itstool)
9027 ("libxml2" ,libxml2)
9028 ("pkg-config" ,pkg-config)
9029 ("vala" ,vala)))
9030 (propagated-inputs
9031 `(("gnome-video-effects" ,gnome-video-effects)
9032 ("clutter" ,clutter)
9033 ("clutter-gst" ,clutter-gst)
9034 ("clutter-gtk" ,clutter-gtk)
9035 ("libcanberra" ,libcanberra)
9036 ("gdk-pixbuf" ,gdk-pixbuf)
9037 ("glib" ,glib)
9038 ("gstreamer" ,gstreamer)))
9039 (inputs
9040 `(("gnome-desktop" ,gnome-desktop)
9041 ("gobject-introspection" ,gobject-introspection)
9042 ("gst-plugins-base" ,gst-plugins-base)
9043 ("gst-plugins-bad" ,gst-plugins-bad)
9044 ("gtk+" ,gtk+)
9045 ("libx11" ,libx11)
9046 ("libxtst" ,libxtst)))
9047 (home-page "https://wiki.gnome.org/Apps/Cheese")
9048 (synopsis "Webcam photo booth software for GNOME")
9049 (description
9050 "Cheese uses your webcam to take photos and videos. Cheese can also
9051 apply fancy special effects and lets you share the fun with others.")
9052 (license license:gpl2+)))
9053
9054 (define-public sound-juicer
9055 (package
9056 (name "sound-juicer")
9057 (version "3.24.0")
9058 (source
9059 (origin
9060 (method url-fetch)
9061 (uri (string-append "mirror://gnome/sources/" name "/"
9062 (version-major+minor version) "/"
9063 name "-" version ".tar.xz"))
9064 (sha256
9065 (base32
9066 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9067 (build-system glib-or-gtk-build-system)
9068 (native-inputs
9069 `(("desktop-file-utils" ,desktop-file-utils)
9070 ("intltool" ,intltool)
9071 ("itstool" ,itstool)
9072 ("pkg-config" ,pkg-config)
9073 ("xmllint" ,libxml2)))
9074 (inputs
9075 `(("gtk+" ,gtk+)
9076 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9077 ("gstreamer" ,gstreamer)
9078 ("gst-plugins-base" ,gst-plugins-base)
9079 ("gst-plugins-good" ,gst-plugins-good)
9080 ("iso-codes" ,iso-codes)
9081 ("libbrasero-media3" ,brasero)
9082 ("libcanberra" ,libcanberra)
9083 ("libdiscid" ,libdiscid)
9084 ("libmusicbrainz" ,libmusicbrainz)
9085 ("neon" ,neon)))
9086 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9087 (synopsis "Audio music cd ripper")
9088 (description "Sound Juicer extracts audio from compact discs and convert it
9089 into audio files that a personal computer or digital audio player can play.
9090 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9091 mp3, Ogg Vorbis and FLAC")
9092 (license license:gpl2+)))
9093
9094 (define-public soundconverter
9095 (package
9096 (name "soundconverter")
9097 (version "3.0.1")
9098 (source
9099 (origin
9100 (method url-fetch)
9101 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9102 version "/+download/"
9103 "soundconverter-" version ".tar.xz"))
9104
9105 (sha256
9106 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
9107 (patches
9108 (search-patches
9109 "soundconverter-remove-gconf-dependency.patch"))))
9110 (build-system glib-or-gtk-build-system)
9111 (arguments
9112 `(#:imported-modules ((guix build python-build-system)
9113 (guix build glib-or-gtk-build-system)
9114 ,@%gnu-build-system-modules)
9115
9116 #:modules ((guix build glib-or-gtk-build-system)
9117 (guix build utils)
9118 ((guix build gnu-build-system) #:prefix gnu:)
9119 ((guix build python-build-system) #:prefix python:))
9120
9121 #:phases
9122 (modify-phases %standard-phases
9123 (add-after 'install 'wrap-soundconverter-for-python
9124 (assoc-ref python:%standard-phases 'wrap))
9125 (add-after 'install 'wrap-soundconverter
9126 (lambda* (#:key inputs outputs #:allow-other-keys)
9127 (let ((out (assoc-ref outputs "out"))
9128 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9129 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9130 (wrap-program (string-append out "/bin/soundconverter")
9131 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9132 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9133 #t)))))
9134 (native-inputs
9135 `(("intltool" ,intltool)
9136 ("pkg-config" ,pkg-config)
9137 ("glib:bin" ,glib "bin")))
9138 (inputs
9139 `(("gtk+" ,gtk+)
9140 ("python" ,python)
9141 ("python-pygobject" ,python-pygobject)
9142 ("gstreamer" ,gstreamer)
9143 ("gst-plugins-base" ,gst-plugins-base)))
9144 (home-page "https://soundconverter.org/")
9145 (synopsis "Convert between audio formats with a graphical interface")
9146 (description
9147 "SoundConverter supports converting between many audio formats including
9148 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9149 configurable file renaming. ")
9150 (license license:gpl3)))
9151
9152 (define-public workrave
9153 (package
9154 (name "workrave")
9155 (version "1.10.42")
9156 (source
9157 (origin
9158 (method git-fetch)
9159 (uri (git-reference
9160 (url "https://github.com/rcaelers/workrave.git")
9161 (commit (string-append "v" (string-map
9162 (match-lambda (#\. #\_) (chr chr))
9163 version)))))
9164 (file-name (git-file-name name version))
9165 (sha256
9166 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9167 (build-system glib-or-gtk-build-system)
9168 (arguments
9169 ;; The only tests are maintainer tests (in po/), which fail.
9170 `(#:tests? #f))
9171 (inputs `(("glib" ,glib)
9172 ("gtk+" ,gtk+)
9173 ("gdk-pixbuf" ,gdk-pixbuf)
9174 ("gtkmm" ,gtkmm)
9175 ("glibmm" ,glibmm)
9176 ("libx11" ,libx11)
9177 ("libxtst" ,libxtst)
9178 ("dconf" ,dconf)
9179 ("libice" ,libice)
9180 ("libsm" ,libsm)
9181 ("libxscrnsaver" ,libxscrnsaver)))
9182 (native-inputs `(("boost" ,boost)
9183 ("pkg-config" ,pkg-config)
9184 ("gettext" ,gettext-minimal)
9185 ("autoconf" ,autoconf)
9186 ("autoconf-archive" , autoconf-archive)
9187 ("automake" ,automake)
9188 ("libtool" ,libtool)
9189 ("intltool" ,intltool)
9190 ("gobject-introspection" ,gobject-introspection)
9191 ("python3" ,python-3)
9192 ("python-jinja2" ,python-jinja2)))
9193 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9194 (description
9195 "Workrave is a program that assists in the recovery and prevention of
9196 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9197 micro-pauses and rest breaks, and restricts you to your daily limit.")
9198 (home-page "http://www.workrave.org")
9199 (license license:gpl3+)))
9200
9201 (define-public ghex
9202 (package
9203 (name "ghex")
9204 (version "3.18.4")
9205 (source (origin
9206 (method url-fetch)
9207 (uri (string-append "mirror://gnome/sources/ghex/"
9208 (version-major+minor version) "/"
9209 "ghex-" version ".tar.xz"))
9210 (sha256
9211 (base32
9212 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9213 (build-system meson-build-system)
9214 (arguments
9215 '(#:glib-or-gtk? #t
9216 #:phases
9217 (modify-phases %standard-phases
9218 (add-after 'unpack 'skip-gtk-update-icon-cache
9219 ;; Don't create 'icon-theme.cache'.
9220 (lambda _
9221 (substitute* "meson_post_install.py"
9222 (("gtk-update-icon-cache") (which "true")))
9223 #t)))))
9224 (native-inputs
9225 `(("pkg-config" ,pkg-config)
9226 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9227 ("gnome-common" ,gnome-common)
9228 ("which" ,which)
9229 ("intltool" ,intltool)
9230 ("yelp-tools" ,yelp-tools)
9231 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9232 (inputs
9233 `(("atk" ,atk)
9234 ("gtk" ,gtk+)))
9235 (synopsis "GNOME hexadecimal editor")
9236 (description "The GHex program can view and edit files in two ways:
9237 hexadecimal or ASCII. It is useful for editing binary files in general.")
9238 (home-page "https://wiki.gnome.org/Apps/Ghex")
9239 (license license:gpl2)))
9240
9241 (define-public libdazzle
9242 (package
9243 (name "libdazzle")
9244 (version "3.34.1")
9245 (source (origin
9246 (method url-fetch)
9247 (uri (string-append "mirror://gnome/sources/libdazzle/"
9248 (version-major+minor version) "/"
9249 "libdazzle-" version ".tar.xz"))
9250 (sha256
9251 (base32
9252 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9253 (build-system meson-build-system)
9254 (arguments
9255 `(#:phases
9256 (modify-phases %standard-phases
9257 (add-before 'check 'pre-check
9258 (lambda _
9259 ;; Tests require a running X server.
9260 (system "Xvfb :1 &")
9261 (setenv "DISPLAY" ":1")
9262 #t)))))
9263 (native-inputs
9264 `(("glib" ,glib "bin") ; glib-compile-resources
9265 ("pkg-config" ,pkg-config)
9266 ;; For tests.
9267 ("xorg-server" ,xorg-server-for-tests)))
9268 (inputs
9269 `(("glib" ,glib)
9270 ("gobject-introspection" ,gobject-introspection)
9271 ("gtk+" ,gtk+)
9272 ("vala" ,vala)))
9273 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9274 (synopsis "Companion library to GObject and Gtk+")
9275 (description "The libdazzle library is a companion library to GObject and
9276 Gtk+. It provides various features that the authors wish were in the
9277 underlying library but cannot for various reasons. In most cases, they are
9278 wildly out of scope for those libraries. In other cases, they are not quite
9279 generic enough to work for everyone.")
9280 (license license:gpl3+)))
9281
9282 (define-public evolution
9283 (package
9284 (name "evolution")
9285 (version "3.32.4")
9286 (source (origin
9287 (method url-fetch)
9288 (uri (string-append "mirror://gnome/sources/evolution/"
9289 (version-major+minor version) "/"
9290 "evolution-" version ".tar.xz"))
9291 (sha256
9292 (base32
9293 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
9294 (build-system cmake-build-system)
9295 (arguments
9296 `(#:imported-modules (,@%cmake-build-system-modules
9297 (guix build glib-or-gtk-build-system))
9298 #:modules ((guix build cmake-build-system)
9299 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9300 (guix build utils))
9301 #:configure-flags
9302 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9303 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9304 ; in four years and cannot be built.
9305 #:phases
9306 (modify-phases %standard-phases
9307 ;; The build system attempts to install user interface modules to the
9308 ;; output directory of the "evolution-data-server" package. This
9309 ;; change redirects that change.
9310 (add-after 'unpack 'patch-ui-module-dir
9311 (lambda* (#:key outputs #:allow-other-keys)
9312 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9313 (("\\$\\{edsuimoduledir\\}")
9314 (string-append (assoc-ref outputs "out")
9315 "/lib/evolution-data-server/ui-modules")))
9316 #t))
9317 (add-after 'install 'glib-or-gtk-compile-schemas
9318 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9319 (add-after 'install 'glib-or-gtk-wrap
9320 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9321 (native-inputs
9322 `(("glib" ,glib "bin") ; glib-mkenums
9323 ("pkg-config" ,pkg-config)
9324 ("intltool" ,intltool)
9325 ("itstool" ,itstool)))
9326 (inputs
9327 `(("enchant" ,enchant)
9328 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9329 ("gcr" ,gcr)
9330 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9331 ("gnome-autoar" ,gnome-autoar)
9332 ("gnome-desktop" ,gnome-desktop)
9333 ("gtkspell3" ,gtkspell3)
9334 ("highlight" ,highlight)
9335 ("libcanberra" ,libcanberra)
9336 ("libedataserverui" ,evolution-data-server)
9337 ("libgweather" ,libgweather)
9338 ("libnotify" ,libnotify)
9339 ("libsoup" ,libsoup)
9340 ("nss" ,nss)
9341 ("openldap" ,openldap)
9342 ("webkitgtk" ,webkitgtk)
9343 ("ytnef" ,ytnef)))
9344 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9345 (synopsis "Manage your email, contacts and schedule")
9346 (description "Evolution is a personal information management application
9347 that provides integrated mail, calendaring and address book
9348 functionality.")
9349 ;; See COPYING for details.
9350 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9351 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9352 license:lgpl2.1+)))) ; smime/lib/*
9353
9354 (define-public gthumb
9355 (package
9356 (name "gthumb")
9357 (version "3.8.2")
9358 (source (origin
9359 (method url-fetch)
9360 (uri (string-append "mirror://gnome/sources/gthumb/"
9361 (version-major+minor version) "/"
9362 "gthumb-" version ".tar.xz"))
9363 (sha256
9364 (base32
9365 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9366 (build-system meson-build-system)
9367 (arguments
9368 `(#:glib-or-gtk? #t
9369 #:configure-flags
9370 ;; Ensure the RUNPATH contains all installed library locations.
9371 (list (string-append "-Dc_link_args=-Wl,-rpath="
9372 (assoc-ref %outputs "out")
9373 "/lib/gthumb/extensions")
9374 (string-append "-Dcpp_link_args=-Wl,-rpath="
9375 (assoc-ref %outputs "out")
9376 "/lib/gthumb/extensions"))))
9377 (native-inputs
9378 `(("pkg-config" ,pkg-config)
9379 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9380 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9381 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9382 ("intltool" ,intltool)
9383 ("itstool" ,itstool)))
9384 (inputs
9385 `(("exiv2" ,exiv2)
9386 ("gtk" ,gtk+)
9387 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9388 ("gstreamer" ,gstreamer)
9389 ("clutter" ,clutter)
9390 ("clutter-gst" ,clutter-gst)
9391 ("clutter-gtk" ,clutter-gtk)
9392 ("libjpeg" ,libjpeg-turbo)
9393 ("libtiff" ,libtiff)
9394 ("libraw" ,libraw)))
9395 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9396 (synopsis "GNOME image viewer and browser")
9397 (description "GThumb is an image viewer, browser, organizer, editor and
9398 advanced image management tool")
9399 (license license:gpl2+)))
9400
9401 (define-public terminator
9402 (package
9403 (name "terminator")
9404 (version "1.91")
9405 (source (origin
9406 (method url-fetch)
9407 (uri (string-append "https://launchpad.net/" name "/"
9408 "gtk3/" version "/" "+download/"
9409 name "-" version ".tar.gz"))
9410 (sha256
9411 (base32
9412 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9413 (build-system python-build-system)
9414 (native-inputs
9415 `(("intltool" ,intltool)
9416 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9417 ("gettext" ,gettext-minimal)
9418 ("pkg-config" ,pkg-config)))
9419 (inputs
9420 `(("cairo" ,cairo)
9421 ("gobject-introspection" ,gobject-introspection)
9422 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9423 ("python2-pycairo" ,python2-pycairo)
9424 ("python2-pygobject" ,python2-pygobject)
9425 ("python2-psutil" ,python2-psutil)
9426 ("vte" ,vte)))
9427 (arguments
9428 `(#:python ,python-2 ; Python 3 isn't supported
9429 #:imported-modules ((guix build glib-or-gtk-build-system)
9430 ,@%python-build-system-modules)
9431 #:modules ((guix build python-build-system)
9432 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9433 (guix build utils))
9434 #:phases
9435 (modify-phases %standard-phases
9436 (add-after
9437 'install 'wrap-program
9438 (lambda* (#:key outputs #:allow-other-keys)
9439 (let ((prog (string-append (assoc-ref outputs "out")
9440 "/bin/terminator")))
9441 (wrap-program prog
9442 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9443 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9444 #t)))
9445 (add-after 'wrap-program 'glib-or-gtk-wrap
9446 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9447 (home-page "https://gnometerminator.blogspot.com/")
9448 (synopsis "Store and run multiple GNOME terminals in one window")
9449 (description
9450 "Terminator allows you to run multiple GNOME terminals in a grid and
9451 +tabs, and it supports drag and drop re-ordering of terminals.")
9452 (license license:gpl2)))
9453
9454 (define-public libhandy
9455 (package
9456 (name "libhandy")
9457 (version "0.0.12")
9458 (source
9459 (origin
9460 (method git-fetch)
9461 (uri (git-reference
9462 (url "https://source.puri.sm/Librem5/libhandy")
9463 (commit (string-append "v" version))))
9464 (file-name (git-file-name name version))
9465 (sha256
9466 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9467 (build-system meson-build-system)
9468 (arguments
9469 `(#:configure-flags
9470 '("-Dglade_catalog=disabled"
9471 "-Dgtk_doc=true")
9472 #:phases
9473 (modify-phases %standard-phases
9474 (add-before 'check 'pre-check
9475 (lambda _
9476 ;; Tests require a running X server.
9477 (system "Xvfb :1 &")
9478 (setenv "DISPLAY" ":1")
9479 #t)))))
9480 (inputs
9481 `(("gtk+" ,gtk+)))
9482 (native-inputs
9483 `(("glib:bin" ,glib "bin")
9484 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9485 ("vala" ,vala)
9486 ("gtk-doc" ,gtk-doc)
9487 ("pkg-config" ,pkg-config)
9488 ("gettext" ,gettext-minimal)
9489
9490 ;; Test suite dependencies.
9491 ("xorg-server" ,xorg-server-for-tests)
9492 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9493 (home-page "https://source.puri.sm/Librem5/libhandy")
9494 (synopsis "Library full of GTK+ widgets for mobile phones")
9495 (description "The aim of the handy library is to help with developing user
9496 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9497 for usage on small and big screens.")
9498 (license license:lgpl2.1+)))
9499
9500 (define-public libgit2-glib
9501 (package
9502 (name "libgit2-glib")
9503 (version "0.99.0.1")
9504 (source (origin
9505 (method url-fetch)
9506 (uri (string-append "mirror://gnome/sources/" name "/"
9507 (version-major+minor version) "/"
9508 name "-" version ".tar.xz"))
9509 (sha256
9510 (base32
9511 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9512 (build-system meson-build-system)
9513 (native-inputs
9514 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9515 ("gobject-introspection" ,gobject-introspection)
9516 ("pkg-config" ,pkg-config)
9517 ("python-pygobject" ,python-pygobject)
9518 ("python-wrapper" ,python-wrapper)
9519 ("vala" ,vala)))
9520 (inputs
9521 `(("glib" ,glib)
9522 ("libssh2" ,libssh2)))
9523 (propagated-inputs
9524 `(;; In Requires of libgit2-glib.pc.
9525 ("libgit2" ,libgit2)))
9526 (synopsis "GLib wrapper around the libgit2 Git access library")
9527 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9528 access library. It only implements the core plumbing functions, not really the
9529 higher level porcelain stuff.")
9530 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9531 (license license:gpl2+)))
9532
9533 (define-public gitg
9534 (package
9535 (name "gitg")
9536 (version "3.32.1")
9537 (source (origin
9538 (method url-fetch)
9539 (uri (string-append "mirror://gnome/sources/" name "/"
9540 (version-major+minor version) "/"
9541 name "-" version ".tar.xz"))
9542 (sha256
9543 (base32
9544 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9545 (build-system meson-build-system)
9546 (arguments
9547 `(#:glib-or-gtk? #t
9548 #:phases
9549 (modify-phases %standard-phases
9550 (add-after 'unpack 'disable-post-install-partially
9551 (lambda _
9552 (substitute* "meson_post_install.py"
9553 (("'python'") ; there are no python sources to compile
9554 (string-append "'" (which "true") "'"))
9555 (("gtk-update-icon-cache") (which "true")))
9556 #t))
9557 (add-after 'unpack 'fix-test-sources
9558 (lambda _
9559 (substitute* "tests/libgitg/test-commit.vala"
9560 (("/bin/bash") (which "bash")))
9561 #t))
9562 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9563 (lambda* (#:key outputs #:allow-other-keys)
9564 (let ((prog (string-append (assoc-ref outputs "out")
9565 "/bin/gitg")))
9566 (wrap-program prog
9567 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9568 #t))))))
9569 (inputs
9570 `(("glib" ,glib)
9571 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9572 ("gtk+" ,gtk+)
9573 ("gtkspell3" ,gtkspell3)
9574 ("gtksourceview" ,gtksourceview-3)
9575 ("json-glib" ,json-glib)
9576 ("libdazzle" ,libdazzle)
9577 ("libgee" ,libgee)
9578 ("libgit2-glib" ,libgit2-glib)
9579 ("libpeas" ,libpeas)
9580 ("libsecret" ,libsecret)
9581 ("libsoup" ,libsoup)
9582 ("libxml2" ,libxml2)))
9583 (native-inputs
9584 `(("glib:bin" ,glib "bin")
9585 ("gtk+:bin" ,gtk+ "bin")
9586 ("gobject-introspection" ,gobject-introspection)
9587 ("intltool" ,intltool)
9588 ("pkg-config" ,pkg-config)
9589 ("vala" ,vala)))
9590 (synopsis "Graphical user interface for git")
9591 (description
9592 "gitg is a graphical user interface for git. It aims at being a small,
9593 fast and convenient tool to visualize the history of git repositories.
9594 Besides visualization, gitg also provides several utilities to manage your
9595 repository and commit your work.")
9596 (home-page "https://wiki.gnome.org/Apps/Gitg")
9597 (license license:gpl2+)))
9598
9599 (define-public gamin
9600 (package
9601 (name "gamin")
9602 (version "0.1.10")
9603 (source (origin
9604 (method url-fetch)
9605 (uri (string-append "mirror://gnome/sources/" name "/"
9606 (version-major+minor version) "/"
9607 name "-" version ".tar.bz2"))
9608 (sha256
9609 (base32
9610 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9611 (build-system gnu-build-system)
9612 (arguments
9613 `(#:phases
9614 (modify-phases %standard-phases
9615 (add-after 'unpack 'remove-deprecated-macro
9616 (lambda _
9617 (substitute* '("server/gam_node.c"
9618 "server/gam_subscription.h"
9619 "server/gam_node.h"
9620 "server/gam_subscription.c")
9621 (("G_CONST_RETURN") "const"))
9622 #t)))))
9623 (inputs
9624 `(("glib" ,glib)))
9625 (native-inputs
9626 `(("intltool" ,intltool)
9627 ("pkg-config" ,pkg-config)))
9628 (home-page "https://people.gnome.org/~veillard/gamin/")
9629 (synopsis "File alteration monitor")
9630 (description
9631 "Gamin is a file and directory monitoring system defined to be a subset
9632 of the FAM (File Alteration Monitor) system. This is a service provided by a
9633 library which detects when a file or a directory has been modified.")
9634 (license license:gpl2+)))
9635
9636 (define-public gnome-mahjongg
9637 (package
9638 (name "gnome-mahjongg")
9639 (version "3.35.1")
9640 (source (origin
9641 (method git-fetch)
9642 (uri (git-reference
9643 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9644 (commit version)))
9645 (file-name (git-file-name name version))
9646 (sha256
9647 (base32
9648 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9649 (build-system meson-build-system)
9650 (arguments
9651 `(#:glib-or-gtk? #t))
9652 (native-inputs
9653 `(("appstream-glib" ,appstream-glib)
9654 ("gettext" ,gettext-minimal)
9655 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9656 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9657 ("itstool" ,itstool)
9658 ("pkg-config" ,pkg-config)
9659 ("vala" ,vala)))
9660 (propagated-inputs
9661 `(("dconf" ,dconf)))
9662 (inputs
9663 `(("glib" ,glib)
9664 ("gtk+" ,gtk+)
9665 ("librsvg" ,librsvg)))
9666 (synopsis "Mahjongg tile-matching game")
9667 (description "GNOME Mahjongg is a game based on the classic Chinese
9668 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9669 and a high score table.")
9670 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9671 (license license:gpl2+)))
9672
9673 (define-public gnome-themes-extra
9674 (package
9675 (name "gnome-themes-extra")
9676 (version "3.28")
9677 (source
9678 (origin
9679 (method url-fetch)
9680 (uri (string-append "mirror://gnome/sources/" name "/"
9681 (version-major+minor version) "/" name "-"
9682 version ".tar.xz"))
9683 (sha256
9684 (base32
9685 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9686 (build-system gnu-build-system)
9687 (arguments
9688 '(#:configure-flags
9689 ;; Don't create 'icon-theme.cache'.
9690 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9691 (true (string-append coreutils "/bin/true")))
9692 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9693 (native-inputs
9694 `(("glib:bin" ,glib "bin")
9695 ("intltool" ,intltool)
9696 ("pkg-config" ,pkg-config)))
9697 (inputs
9698 `(("glib" ,glib)
9699 ("gtk+" ,gtk+)
9700 ("gtk+-2" ,gtk+-2)
9701 ("librsvg" ,librsvg)
9702 ("libxml2" ,libxml2)))
9703 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9704 (synopsis "GNOME Extra Themes")
9705 (description "This package provides themes and related elements that don't
9706 really fit in other upstream packages. It offers legacy support for GTK+ 2
9707 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9708 index files needed for Adwaita to be used outside of GNOME.")
9709 (license license:lgpl2.1+)))
9710
9711 (define-public polari
9712 (package
9713 (name "polari")
9714 (version "3.32.2")
9715 (source (origin
9716 (method url-fetch)
9717 (uri (string-append "mirror://gnome/sources/polari/"
9718 (version-major+minor version)
9719 "/polari-" version ".tar.xz"))
9720 (sha256
9721 (base32
9722 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9723 (build-system meson-build-system)
9724 (arguments
9725 `(#:glib-or-gtk? #t
9726 #:phases
9727 (modify-phases %standard-phases
9728 (add-after 'unpack 'skip-gtk-update-icon-cache
9729 (lambda _
9730 (substitute* "meson/meson-postinstall.sh"
9731 (("gtk-update-icon-cache") (which "true")))
9732 #t))
9733 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9734 (lambda* (#:key outputs #:allow-other-keys)
9735 (let ((prog (string-append (assoc-ref outputs "out")
9736 "/bin/polari")))
9737 (wrap-program prog
9738 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9739 #t))))))
9740 (inputs
9741 `(("glib" ,glib)
9742 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9743 ("gspell" ,gspell)
9744 ("gtk+" ,gtk+)
9745 ("gjs" ,gjs)
9746 ("libsecret" ,libsecret)
9747 ("libsoup" ,libsoup)
9748 ("telepathy-glib" ,telepathy-glib)
9749 ("telepathy-logger" ,telepathy-logger)))
9750 (native-inputs
9751 `(("glib:bin" ,glib "bin")
9752 ("gobject-introspection" ,gobject-introspection)
9753 ("intltool" ,intltool)
9754 ("pkg-config" ,pkg-config)
9755 ("yelp-tools" ,yelp-tools)))
9756 (propagated-inputs
9757 `(("telepathy-idle" ,telepathy-idle)
9758 ("telepathy-mission-control" ,telepathy-mission-control)))
9759 (synopsis "Simple IRC Client")
9760 (description
9761 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9762 integrate seamlessly with the GNOME desktop.")
9763 (home-page "https://wiki.gnome.org/Apps/Polari")
9764 (license license:gpl2+)))
9765
9766 (define-public gnome-boxes
9767 (package
9768 (name "gnome-boxes")
9769 (version "3.35.91")
9770 (source
9771 (origin
9772 (method url-fetch)
9773 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9774 (version-major+minor version) "/"
9775 "gnome-boxes-" version ".tar.xz"))
9776 (sha256
9777 (base32
9778 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9779 (build-system meson-build-system)
9780 (arguments
9781 '(#:glib-or-gtk? #t
9782 #:configure-flags (list "-Drdp=false"
9783 (string-append "-Dc_link_args=-Wl,-rpath="
9784 (assoc-ref %outputs "out")
9785 "/lib/gnome-boxes"))))
9786 (native-inputs
9787 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9788 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9789 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9790 ("itstool" ,itstool)
9791 ("intltool" ,intltool)
9792 ("vala" ,vala)
9793 ("pkg-config" ,pkg-config)))
9794 (inputs
9795 `(("libarchive" ,libarchive)
9796 ("gtk" ,gtk+)
9797 ("gtk-vnc" ,gtk-vnc)
9798 ("libosinfo" ,libosinfo)
9799 ("libsecret" ,libsecret)
9800 ("libsoup" ,libsoup)
9801 ("libusb" ,libusb)
9802 ("libvirt" ,libvirt)
9803 ("libvirt-glib" ,libvirt-glib)
9804 ("libxml" ,libxml2)
9805 ("spice-gtk" ,spice-gtk)
9806 ("sparql-query" ,sparql-query)
9807 ("vte" ,vte)
9808 ("webkitgtk" ,webkitgtk)
9809 ("tracker" ,tracker)
9810 ("libgudev" ,libgudev)))
9811 (home-page "https://wiki.gnome.org/Apps/Boxes")
9812 (synopsis "View, access, and manage remote and virtual systems")
9813 (description "GNOME Boxes is a simple application to view, access, and
9814 manage remote and virtual systems.")
9815 (license (list
9816 ;; For data/icons/empty-boxes.png.
9817 license:cc-by2.0
9818 ;; For all others.
9819 license:lgpl2.0+))))
9820
9821 (define-public geary
9822 (package
9823 (name "geary")
9824 (version "3.34.1")
9825 (source (origin
9826 (method git-fetch)
9827 (uri (git-reference
9828 (url "https://gitlab.gnome.org/GNOME/geary")
9829 (commit version)))
9830 (file-name (git-file-name name version))
9831 (sha256
9832 (base32
9833 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9834 (build-system meson-build-system)
9835 (arguments
9836 `(#:glib-or-gtk? #t
9837 #:phases (modify-phases %standard-phases
9838 (add-after 'unpack 'disable-failing-tests
9839 (lambda _
9840 (substitute* "test/meson.build"
9841 (("test\\('client-tests', geary_test_client_bin\\)")
9842 ""))
9843 #t))
9844 (add-after 'unpack 'disable-postinstall-script
9845 (lambda _
9846 (substitute* "meson.build"
9847 (("meson.add_install_script\\(\
9848 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9849 ""))
9850 #t))
9851 (add-before 'check 'setup-xvfb
9852 (lambda _
9853 (system "Xvfb :1 &")
9854 (setenv "DISPLAY" ":1")
9855 #t)))))
9856 (inputs
9857 `(("enchant" ,enchant)
9858 ("folks" ,folks)
9859 ("gcr" ,gcr)
9860 ("glib" ,glib)
9861 ("gmime" ,gmime-2.6)
9862 ("gnome-online-accounts:lib"
9863 ,gnome-online-accounts "lib")
9864 ("gspell" ,gspell)
9865 ("gtk+" ,gtk+)
9866 ("iso-codes" ,iso-codes)
9867 ("json-glib" ,json-glib)
9868 ("libcanberra" ,libcanberra)
9869 ("libgee" ,libgee)
9870 ("libhandy" ,libhandy)
9871 ("libpeas" ,libpeas)
9872 ("libsecret" ,libsecret)
9873 ("libunwind" ,libunwind)
9874 ("sqlite" ,sqlite)
9875 ("webkitgtk" ,webkitgtk)
9876 ("ytnef" ,ytnef)))
9877 (native-inputs
9878 `(("appstream-glib" ,appstream-glib)
9879 ("cmake-minimal" ,cmake-minimal)
9880 ("desktop-file-utils" ,desktop-file-utils)
9881 ("gettext" ,gettext-minimal)
9882 ("glib:bin" ,glib "bin")
9883 ("gobject-introspection" ,gobject-introspection)
9884 ("itstool" ,itstool)
9885 ("libarchive" ,libarchive)
9886 ("libxml2" ,libxml2)
9887 ("pkg-config" ,pkg-config)
9888 ("vala" ,vala)
9889 ("xvfb" ,xorg-server-for-tests)))
9890 (synopsis "GNOME email application built around conversations")
9891 (description
9892 "Geary collects related messages together into conversations,
9893 making it easy to find and follow your discussions. Full-text and keyword
9894 search makes it easy to find the email you are looking for. Geary's
9895 full-featured composer lets you send rich, styled text with images, links, and
9896 lists, but also send lightweight, easy to read text messages. Geary
9897 automatically picks up your existing GNOME Online Accounts, and adding more is
9898 easy. Geary has a clean, fast, modern interface that works like you want it
9899 to.")
9900 (home-page "https://wiki.gnome.org/Apps/Geary")
9901 (license (list
9902 ;; geary
9903 license:lgpl2.1+
9904 ;; icons
9905 license:cc-by3.0
9906 license:cc-by-sa3.0
9907 license:public-domain
9908 ;; snowball
9909 license:bsd-2))))
9910
9911 (define-public parlatype
9912 ;; This is one commit away from 2.0, because the latter introduced
9913 ;; a regression in ASR.
9914 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
9915 (revision "0"))
9916 (package
9917 (name "parlatype")
9918 (version (git-version "2.0" revision commit))
9919 (source
9920 (origin
9921 (method git-fetch)
9922 (uri (git-reference
9923 (url "https://github.com/gkarsay/parlatype.git")
9924 (commit commit)))
9925 (file-name (git-file-name name version))
9926 (sha256
9927 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
9928 (build-system meson-build-system)
9929 (arguments
9930 `(#:glib-or-gtk? #t
9931 #:tests? #f ;require internet access
9932 #:phases
9933 (modify-phases %standard-phases
9934 (add-after 'install 'wrap-parlatype
9935 ;; Add gstreamer plugin provided in this package to system's
9936 ;; plugins.
9937 (lambda* (#:key outputs #:allow-other-keys)
9938 (let* ((out (assoc-ref outputs "out"))
9939 (gst-plugin-path (string-append
9940 out "/lib/gstreamer-1.0/"
9941 ":"
9942 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
9943 (wrap-program (string-append out "/bin/parlatype")
9944 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
9945 #t)))))
9946 (native-inputs
9947 `(("appstream-glib" ,appstream-glib)
9948 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
9949 ("gettext" ,gettext-minimal)
9950 ("glib" ,glib "bin") ;for glib-compile-resources
9951 ("pkg-config" ,pkg-config)
9952 ("yelp-tools" ,yelp-tools)))
9953 (inputs
9954 `(("gst-plugins-base" ,gst-plugins-base)
9955 ("gst-plugins-good" ,gst-plugins-good)
9956 ("gstreamer" ,gstreamer)
9957 ("gtk+" ,gtk+)
9958 ("pocketsphinx" ,pocketsphinx)
9959 ("pulseaudio" ,pulseaudio)
9960 ("sphinxbase" ,sphinxbase)))
9961 (home-page "http://gkarsay.github.io/parlatype/")
9962 (synopsis "GNOME audio player for transcription")
9963 (description "Parlatype is an audio player for the GNOME desktop
9964 environment. Its main purpose is the manual transcription of spoken
9965 audio files.")
9966 (license license:gpl3+))))
9967
9968 (define-public jsonrpc-glib
9969 (package
9970 (name "jsonrpc-glib")
9971 (version "3.34.0")
9972 (source (origin
9973 (method url-fetch)
9974 (uri (string-append "mirror://gnome/sources/" name "/"
9975 (version-major+minor version) "/"
9976 name "-" version ".tar.xz"))
9977 (sha256
9978 (base32
9979 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
9980 (build-system meson-build-system)
9981 (inputs
9982 `(("json-glib" ,json-glib)
9983 ("glib" ,glib)))
9984 (native-inputs
9985 `(("pkg-config" ,pkg-config)
9986 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
9987 ("gobject-introspection" ,gobject-introspection)
9988 ("vala" ,vala)))
9989 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
9990 (synopsis "JSON-RPC library for GLib")
9991 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
9992 peers in either a synchronous or asynchronous fashion. It also allows
9993 communicating using the GVariant serialization format instead of JSON when
9994 both peers support it. You might want that when communicating on a single
9995 host to avoid parser overhead and memory-allocator fragmentation.")
9996 (license license:lgpl2.1+)))