gnu: Add libratbag.
[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, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;;
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 swig)
166 #:use-module (gnu packages tex)
167 #:use-module (gnu packages time)
168 #:use-module (gnu packages tls)
169 #:use-module (gnu packages valgrind)
170 #:use-module (gnu packages version-control)
171 #:use-module (gnu packages video)
172 #:use-module (gnu packages virtualization)
173 #:use-module (gnu packages vpn)
174 #:use-module (gnu packages web)
175 #:use-module (gnu packages webkit)
176 #:use-module (gnu packages xdisorg)
177 #:use-module (gnu packages xiph)
178 #:use-module (gnu packages xml)
179 #:use-module (gnu packages xorg)
180 #:use-module (gnu artwork)
181 #:use-module (guix build-system cargo)
182 #:use-module (guix build-system cmake)
183 #:use-module (guix build-system glib-or-gtk)
184 #:use-module (guix build-system gnu)
185 #:use-module (guix build-system meson)
186 #:use-module (guix build-system python)
187 #:use-module (guix build-system trivial)
188 #:use-module (guix download)
189 #:use-module (guix git-download)
190 #:use-module ((guix licenses) #:prefix license:)
191 #:use-module (guix packages)
192 #:use-module (guix utils)
193 #:use-module (guix gexp)
194 #:use-module (guix monads)
195 #:use-module (guix store)
196 #:use-module (ice-9 match)
197 #:use-module (srfi srfi-1))
198
199 (define-public brasero
200 (package
201 (name "brasero")
202 (version "3.12.2")
203 (source (origin
204 (method url-fetch)
205 (uri (string-append "mirror://gnome/sources/brasero/"
206 (version-major+minor version) "/"
207 "brasero-" version ".tar.xz"))
208 (sha256
209 (base32
210 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
211 (build-system glib-or-gtk-build-system)
212 (arguments
213 `(#:configure-flags (list
214 (string-append "--with-girdir="
215 (assoc-ref %outputs "out")
216 "/share/gir-1.0")
217 (string-append "--with-typelibdir="
218 (assoc-ref %outputs "out")
219 "/lib/girepository-1.0"))
220 #:phases
221 (modify-phases %standard-phases
222 (add-before 'configure 'embed-growisofs
223 (lambda* (#:key inputs #:allow-other-keys)
224 (substitute* "plugins/growisofs/burn-growisofs.c"
225 (("\"growisofs") (string-append "\"" (which "growisofs"))))
226 #t)))))
227 (propagated-inputs
228 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
229 (native-inputs
230 `(("intltool" ,intltool)
231 ("itstool" ,itstool)
232 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
233 ("gobject-introspection" ,gobject-introspection)
234 ("pkg-config" ,pkg-config)))
235 (inputs
236 `(("dvd+rw-tools" ,dvd+rw-tools)
237 ("glib" ,glib)
238 ("gnome-doc-utils" ,gnome-doc-utils)
239 ("gstreamer" ,gstreamer)
240 ("gst-plugins-base" ,gst-plugins-base)
241 ("gtk+" ,gtk+)
242 ("libcanberra" ,libcanberra)
243 ("libice" ,libice)
244 ("libnotify" ,libnotify)
245 ("libsm" ,libsm)
246 ("libxml2" ,libxml2)
247 ("totem-pl-parser" ,totem-pl-parser)))
248 (home-page "https://wiki.gnome.org/Apps/Brasero")
249 (synopsis "CD/DVD burning tool for Gnome")
250 (description "Brasero is an application to burn CD/DVD for the Gnome
251 Desktop. It is designed to be as simple as possible and has some unique
252 features to enable users to create their discs easily and quickly.")
253 (license license:gpl2+)))
254
255 (define-public notification-daemon
256 (package
257 (name "notification-daemon")
258 (version "3.20.0")
259 (source
260 (origin
261 (method url-fetch)
262 (uri
263 (string-append "mirror://gnome/sources/" name "/"
264 (version-major+minor version) "/"
265 name "-" version ".tar.xz"))
266 (sha256
267 (base32
268 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
269 (build-system glib-or-gtk-build-system)
270 (native-inputs
271 `(("intltool" ,intltool)
272 ("pkg-config" ,pkg-config)))
273 (inputs
274 `(("glib" ,glib)
275 ("gtk+" ,gtk+)
276 ("x11" ,libx11)))
277 (synopsis "Notification Daemon for GNOME Desktop")
278 (description "Notification-Daemon is the server implementation of the
279 freedesktop.org desktop notification specification.")
280 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
281 (license license:gpl2+)))
282
283 (define-public mm-common
284 (package
285 (name "mm-common")
286 (version "1.0.0")
287 (source (origin
288 (method url-fetch)
289 (uri (string-append "mirror://gnome/sources/" name "/"
290 (version-major+minor version) "/"
291 name "-" version ".tar.xz"))
292 (sha256
293 (base32
294 "1m4w33da9f4rx2d6kdj3ix3kl0gn16ml82v2mdn4hljr3q29nzdr"))))
295 (build-system meson-build-system)
296 (arguments
297 `(#:phases
298 (modify-phases %standard-phases
299 (add-after 'unpack 'patch
300 (lambda* (#:key inputs #:allow-other-keys)
301 (substitute* "util/mm-common-prepare.in"
302 (("ln") (string-append (assoc-ref inputs "coreutils")
303 "/bin/ln"))
304 (("cp") (string-append (assoc-ref inputs "coreutils")
305 "/bin/cp"))
306 (("sed") (string-append (assoc-ref inputs "sed")
307 "/bin/sed"))
308 (("cat") (string-append (assoc-ref inputs "coreutils")
309 "/bin/cat")))
310 #t)))))
311 (native-inputs
312 `(("coreutils" ,coreutils)
313 ("gettext" ,gettext-minimal)
314 ("pkg-config" ,pkg-config)
315 ("sed" ,sed)))
316 (inputs
317 `(("python" ,python)))
318 (synopsis "Module of GNOME C++ bindings")
319 (description "The mm-common module provides the build infrastructure
320 and utilities shared among the GNOME C++ binding libraries. Release
321 archives of mm-common include the Doxygen tag file for the GNU C++
322 Library reference documentation.")
323 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
324 (license license:gpl2+)))
325
326 (define-public phodav
327 (package
328 (name "phodav")
329 (version "2.4")
330 (source (origin
331 (method url-fetch)
332 (uri (string-append "mirror://gnome/sources/" name "/"
333 (version-major+minor version) "/"
334 name "-" version ".tar.xz"))
335 (sha256
336 (base32
337 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
338 (build-system meson-build-system)
339 (native-inputs
340 `(("gettext" ,gettext-minimal)
341 ("glib:bin" ,glib "bin")
342 ("gtk-doc" ,gtk-doc)
343 ("pkg-config" ,pkg-config)))
344 (inputs
345 `(("avahi" ,avahi)
346 ("libgudev" ,libgudev)
347 ("libsoup" ,libsoup)))
348 (synopsis "WebDav server implementation using libsoup")
349 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
350 but it is generic enough to be reused in other projects,
351 in particular in the GNOME desktop.")
352 (home-page "https://wiki.gnome.org/phodav")
353 (license license:lgpl2.1+)))
354
355 (define-public gnome-color-manager
356 (package
357 (name "gnome-color-manager")
358 (version "3.32.0")
359 (source (origin
360 (method url-fetch)
361 (uri (string-append "mirror://gnome/sources/" name "/"
362 (version-major+minor version) "/"
363 name "-" version ".tar.xz"))
364 (sha256
365 (base32
366 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
367 (build-system meson-build-system)
368 (arguments
369 `(#:glib-or-gtk? #t
370 #:phases
371 (modify-phases %standard-phases
372 (add-before
373 'check 'pre-check
374 (lambda _
375 ;; Tests require a running X server.
376 (system "Xvfb :1 &")
377 (setenv "DISPLAY" ":1")
378 #t)))))
379 (native-inputs
380 `(("desktop-file-utils" ,desktop-file-utils)
381 ("gettext" ,gettext-minimal)
382 ("glib:bin" ,glib "bin")
383 ("gtk+:bin" ,gtk+ "bin")
384 ("itstool" ,itstool)
385 ("pkg-config" ,pkg-config)
386 ("xorg-server" ,xorg-server-for-tests)))
387 (inputs
388 `(("adwaita-icon-theme" ,adwaita-icon-theme)
389 ("appstream-glib" ,appstream-glib)
390 ("colord-gtk" ,colord-gtk)
391 ("exiv2" ,exiv2)
392 ("gnome-desktop" ,gnome-desktop)
393 ("libcanberra" ,libcanberra)
394 ("libexif" ,libexif)
395 ("libtiff" ,libtiff)
396 ("libxrandr" ,libxrandr)
397 ("libxtst" ,libxtst)
398 ("libxxf86vm" ,libxxf86vm)
399 ("vte" ,vte)
400 ("xorgproto" ,xorgproto)))
401 (synopsis "Color profile manager for the GNOME desktop")
402 (description "GNOME Color Manager is a session framework that makes
403 it easy to manage, install and generate color profiles
404 in the GNOME desktop.")
405 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
406 (license license:gpl2+)))
407
408 (define-public gnome-online-miners
409 (package
410 (name "gnome-online-miners")
411 (version "3.34.0")
412 (source (origin
413 (method url-fetch)
414 (uri (string-append "mirror://gnome/sources/" name "/"
415 (version-major+minor version) "/"
416 name "-" version ".tar.xz"))
417 (sha256
418 (base32
419 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
420 (build-system glib-or-gtk-build-system)
421 (native-inputs
422 `(("gettext" ,gettext-minimal)
423 ("glib:bin" ,glib "bin")
424 ("gobject-introspection" ,gobject-introspection)
425 ("gtk+:bin" ,gtk+ "bin")
426 ("pkg-config" ,pkg-config)))
427 (inputs
428 `(("gnome-online-accounts" ,gnome-online-accounts)
429 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
430 ("grilo" ,grilo)
431 ("libgdata" ,libgdata)
432 ("libgfbgraph" ,gfbgraph)
433 ("libzapojit" ,libzapojit)
434 ("rest" ,rest)
435 ("tracker" ,tracker)))
436 (synopsis "Web Crawlers for GNOME")
437 (description "GNOME Online Miners provides a set of crawlers that
438 go through your online content and index them locally in Tracker.
439 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
440 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
441 (license license:gpl2+)))
442
443 (define-public gssdp
444 (package
445 (name "gssdp")
446 (version "1.2.2")
447 (source (origin
448 (method url-fetch)
449 (uri (string-append "mirror://gnome/sources/" name "/"
450 (version-major+minor version) "/"
451 name "-" version ".tar.xz"))
452 (sha256
453 (base32
454 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
455 (build-system meson-build-system)
456 (native-inputs
457 `(("gettext" ,gettext-minimal)
458 ("glib:bin" ,glib "bin")
459 ("gobject-introspection" ,gobject-introspection)
460 ("gtk-doc" ,gtk-doc)
461 ("pkg-config" ,pkg-config)
462 ("vala" ,vala)))
463 (inputs
464 `(("gtk+" ,gtk+)
465 ("libsoup" ,libsoup)))
466 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
467 Protocol} for GNOME")
468 (description "This package provides a library to handle resource discovery
469 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
470 a debugging tool, @command{gssdp-device-sniffer}.")
471 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
472 (license license:lgpl2.0+)))
473
474 (define-public gupnp
475 (package
476 (name "gupnp")
477 (version "1.2.2")
478 (source (origin
479 (method url-fetch)
480 (uri (string-append "mirror://gnome/sources/" name "/"
481 (version-major+minor version) "/"
482 name "-" version ".tar.xz"))
483 (sha256
484 (base32
485 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
486 (build-system meson-build-system)
487 (native-inputs
488 `(("gettext" ,gettext-minimal)
489 ("glib:bin" ,glib "bin")
490 ("gobject-introspection" ,gobject-introspection)
491 ("gtk-doc" ,gtk-doc)
492 ("pkg-config" ,pkg-config)
493 ("vala" ,vala)))
494 (inputs
495 `(("gssdp" ,gssdp)
496 ("gtk+" ,gtk+)
497 ("libsoup" ,libsoup)))
498 (synopsis "PnP API for GNOME")
499 (description "This package provides GUPnP, an object-oriented framework
500 for creating UPnP devices and control points, written in C using
501 @code{GObject} and @code{libsoup}.")
502 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
503 (license license:lgpl2.0+)))
504
505 (define-public gupnp-dlna
506 (package
507 (name "gupnp-dlna")
508 (version "0.10.5")
509 (source (origin
510 (method url-fetch)
511 (uri (string-append "mirror://gnome/sources/" name "/"
512 (version-major+minor version) "/"
513 name "-" version ".tar.xz"))
514 (sha256
515 (base32
516 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
517 (build-system gnu-build-system)
518 (native-inputs
519 `(("gettext" ,gettext-minimal)
520 ("glib:bin" ,glib "bin")
521 ("gobject-introspection" ,gobject-introspection)
522 ("gtk-doc" ,gtk-doc)
523 ("libxml" ,libxml2)
524 ("pkg-config" ,pkg-config)
525 ("vala" ,vala)))
526 (inputs
527 `(("gstreamer" ,gstreamer)
528 ("gupnp" ,gupnp)))
529 (propagated-inputs
530 `(("gst-plugins-base" ,gst-plugins-base)
531 ("gst-plugins-good" ,gst-plugins-good)))
532 (synopsis "GUPnP DLNA for GNOME")
533 (description "This package provides a small utility library to
534 support DLNA-related tasks such as media profile guessing, transcoding to a
535 given profile, etc. DLNA is a subset of UPnP A/V.")
536 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
537 (license license:lgpl2.0+)))
538
539 (define-public gupnp-av
540 (package
541 (name "gupnp-av")
542 (version "0.12.11")
543 (source (origin
544 (method url-fetch)
545 (uri (string-append "mirror://gnome/sources/" name "/"
546 (version-major+minor version) "/"
547 name "-" version ".tar.xz"))
548 (sha256
549 (base32
550 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
551 (build-system gnu-build-system)
552 (native-inputs
553 `(("gettext" ,gettext-minimal)
554 ("glib:bin" ,glib "bin")
555 ("gobject-introspection" ,gobject-introspection)
556 ("gtk-doc" ,gtk-doc)
557 ("libxml" ,libxml2)
558 ("pkg-config" ,pkg-config)))
559 (inputs
560 `(("gtk+" ,gtk+)
561 ("gupnp" ,gupnp)))
562 (synopsis "GUPnP A/V for GNOME")
563 (description "This package provides a small library for handling
564 and implementation of UPnP A/V profiles.")
565 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
566 (license license:lgpl2.0+)))
567
568 (define-public libmediaart
569 (package
570 (name "libmediaart")
571 (version "1.9.4")
572 (source (origin
573 (method url-fetch)
574 (uri (string-append "mirror://gnome/sources/" name "/"
575 (version-major+minor version) "/"
576 name "-" version ".tar.xz"))
577 (sha256
578 (base32
579 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
580 (build-system gnu-build-system)
581 (native-inputs
582 `(("glib:bin" ,glib "bin")
583 ("pkg-config" ,pkg-config)))
584 (inputs
585 `(("gdk-pixbuf" ,gdk-pixbuf)
586 ("gettext" ,gettext-minimal)
587 ("gobject-introspection" ,gobject-introspection)
588 ("gtk+:doc", gtk+ "doc")
589 ("vala" ,vala)))
590 (synopsis "Media art library for the GNOME desktop")
591 (description
592 "The libmediaart library is the foundation for media art caching,
593 extraction, and lookup for applications on the desktop.")
594 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
595 (license license:lgpl2.1+)))
596
597 (define-public gnome-initial-setup
598 (package
599 (name "gnome-initial-setup")
600 (version "3.32.1")
601 (source (origin
602 (method url-fetch)
603 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
604 (version-major+minor version)
605 "/gnome-initial-setup-" version ".tar.xz"))
606 (sha256
607 (base32
608 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
609 (build-system meson-build-system)
610 (arguments
611 '(#:configure-flags '(;; Enable camera support for user selfie.
612 "-Dcheese=auto"
613 "-Dsystemd=false")
614 #:phases (modify-phases %standard-phases
615 (add-after 'unpack 'set-gkbd-file-name
616 (lambda* (#:key inputs #:allow-other-keys)
617 ;; Allow the "Preview" button in the keyboard layout
618 ;; selection dialog to display the layout.
619 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
620 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
621 (("\"gkbd-keyboard-display")
622 (string-append "\"" libgnomekbd
623 "/bin/gkbd-keyboard-display")))
624 #t))))))
625 (native-inputs
626 `(("gettext" ,gettext-minimal)
627 ("glib:bin" ,glib "bin")
628 ("gobject-introspection" ,gobject-introspection)
629 ("gtk+:bin" ,gtk+ "bin")
630 ("pkg-config" ,pkg-config)))
631 (inputs
632 `(("accountsservice" ,accountsservice)
633 ;("adwaita-icon-theme" ,adwaita-icon-theme)
634 ("gdm" ,gdm)
635 ("geoclue" ,geoclue)
636 ("gnome-desktop" ,gnome-desktop)
637 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
638 ("gnome-online-accounts" ,gnome-online-accounts)
639 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
640 ("gstreamer" ,gstreamer)
641 ("ibus" ,ibus)
642 ("json-glib" ,json-glib)
643 ("krb5" ,mit-krb5)
644 ("libgweather" ,libgweather)
645 ("libsecret" ,libsecret)
646 ("network-manager" ,network-manager)
647 ("network-manager-applet" ,network-manager-applet)
648 ("packagekit" ,packagekit)
649 ("polkit" ,polkit)
650 ("pwquality" ,libpwquality)
651 ("rest" ,rest)
652 ("upower" ,upower)
653 ("webkitgtk" ,webkitgtk)
654 ("libgnomekbd" ,libgnomekbd)))
655 (synopsis "Initial setup wizard for GNOME desktop")
656 (description "This package provides a set-up wizard when a
657 user logs into GNOME for the first time. It typically provides a
658 tour of all gnome components and allows the user to set them up.")
659 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
660 (license license:gpl2)))
661
662 (define-public gnome-user-share
663 (package
664 (name "gnome-user-share")
665 (version "3.33.1")
666 (source (origin
667 (method url-fetch)
668 (uri (string-append "mirror://gnome/sources/" name "/"
669 (version-major+minor version) "/"
670 name "-" version ".tar.xz"))
671 (sha256
672 (base32
673 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
674 (build-system meson-build-system)
675 (arguments
676 `(#:glib-or-gtk? #t
677 #:configure-flags
678 `("-Dsystemd=false"
679 ;; Enable nautilus extension for file sharing.
680 "-Dnautilus_extension=true")))
681 (native-inputs
682 `(("gettext" ,gettext-minimal)
683 ("glib:bin" ,glib "bin")
684 ("gobject-introspection" ,gobject-introspection)
685 ("gtk+:bin" ,gtk+ "bin")
686 ("pkg-config" ,pkg-config)
687 ("yelp-tools" ,yelp-tools)))
688 (inputs
689 `(("glib" ,glib)
690 ("gnome-bluetooth" ,gnome-bluetooth)
691 ("gtk+" ,gtk+)
692 ("libcanberra" ,libcanberra)
693 ("libnotify" ,libnotify)
694 ("nautilus" ,nautilus))) ; For nautilus extension.
695 (synopsis "File sharing for GNOME desktop")
696 (description "GNOME User Share is a small package that binds together
697 various free software projects to bring easy to use user-level file
698 sharing to the masses.")
699 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
700 (license license:gpl2+)))
701
702 (define-public sushi
703 (package
704 (name "sushi")
705 (version "3.32.1")
706 (source (origin
707 (method url-fetch)
708 (uri (string-append "mirror://gnome/sources/" name "/"
709 (version-major+minor version) "/"
710 name "-" version ".tar.xz"))
711 (sha256
712 (base32
713 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
714 (build-system meson-build-system)
715 (arguments
716 `(#:glib-or-gtk? #t
717 #:phases
718 (modify-phases %standard-phases
719 (add-after 'glib-or-gtk-wrap 'wrap-typelib
720 (lambda* (#:key outputs #:allow-other-keys)
721 (let ((prog (string-append (assoc-ref outputs "out")
722 "/bin/sushi")))
723 ;; Put existing typelibs before sushi's deps, so as to correctly
724 ;; infer gdk-pixbuf
725 (wrap-program prog
726 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
727 #t))))))
728 (native-inputs
729 `(("glib:bin" ,glib "bin")
730 ("gettext" ,gettext-minimal)
731 ("gobject-introspection" ,gobject-introspection)
732 ("pkg-config" ,pkg-config)))
733 (inputs
734 `(("clutter" ,clutter)
735 ("clutter-gst" ,clutter-gst)
736 ("clutter-gtk" ,clutter-gtk)
737 ("evince" ,evince) ; For file previewing.
738 ("freetype" ,freetype)
739 ("gdk-pixbuf" ,gdk-pixbuf)
740 ("gjs" ,gjs)
741 ("gst-plugins-base" ,gst-plugins-base)
742 ("gstreamer" ,gstreamer)
743 ("gtksourceview" ,gtksourceview-3)
744 ("harfbuzz" ,harfbuzz)
745 ("libepoxy" ,libepoxy)
746 ("libmusicbrainz" ,libmusicbrainz)
747 ("libxml2" ,libxml2)
748 ("neon" ,neon)
749 ("webkitgtk" ,webkitgtk)))
750 (synopsis "File previewer for the GNOME desktop")
751 (description "Sushi is a DBus-activated service that allows applications to
752 preview files on the GNOME desktop.")
753 (home-page "https://gitlab.gnome.org/GNOME/sushi")
754 (license license:gpl2+)))
755
756 (define-public rygel
757 (package
758 (name "rygel")
759 (version "0.38.3")
760 (source (origin
761 (method url-fetch)
762 (uri (string-append "mirror://gnome/sources/" name "/"
763 (version-major+minor version) "/"
764 name "-" version ".tar.xz"))
765 (sha256
766 (base32
767 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
768 (build-system gnu-build-system)
769 (native-inputs
770 `(("gettext" ,gettext-minimal)
771 ("gobject-introspection" ,gobject-introspection)
772 ("gtk-doc" ,gtk-doc)
773 ("pkg-config" ,pkg-config)
774 ("vala" ,vala)))
775 (inputs
776 `(("gdk-pixbuf" ,gdk-pixbuf)
777 ("gssdp" ,gssdp)
778 ("gstreamer" ,gstreamer)
779 ("gst-plugins-base" ,gst-plugins-base)
780 ("gtk+" ,gtk+)
781 ("gupnp" ,gupnp)
782 ("gupnp-av" ,gupnp-av)
783 ("gupnp-dlna" ,gupnp-dlna)
784 ("libgee" ,libgee)
785 ("libmediaart" ,libmediaart)
786 ("libsoup" ,libsoup)
787 ("libxslt" ,libxslt)
788 ("libunistring" ,libunistring)
789 ("tracker" ,tracker)))
790 (synopsis "Share audio, video, and pictures with other devices")
791 (description
792 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
793 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
794 pictures, and to control a media player on your home network.
795
796 Rygel achieves interoperability with other devices by trying to conform to the
797 strict requirements of DLNA and by converting media on-the-fly to formats that
798 client devices can handle.")
799 (home-page "https://wiki.gnome.org/Projects/Rygel")
800 (license (list
801 ;; For logo (data/icons/*).
802 license:cc-by-sa3.0
803 ;; For all others.
804 license:lgpl2.1+))))
805
806 (define-public libnma
807 (package
808 (name "libnma")
809 (version "1.8.26")
810 (source (origin
811 (method url-fetch)
812 (uri (string-append "mirror://gnome/sources/" name "/"
813 (version-major+minor version) "/"
814 name "-" version ".tar.xz"))
815 (sha256
816 (base32
817 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
818 (build-system meson-build-system)
819 (arguments
820 `(#:glib-or-gtk? #t))
821 (native-inputs
822 `(("gettext" ,gettext-minimal)
823 ("glib:bin" ,glib "bin")
824 ("gtk-doc" ,gtk-doc)
825 ("gobject-introspection" ,gobject-introspection)
826 ("pkg-config" ,pkg-config)))
827 (inputs
828 `(("adwaita-icon-theme" ,adwaita-icon-theme)
829 ("gcr" ,gcr)
830 ("gtk+" ,gtk+)
831 ("iso-codes" ,iso-codes)
832 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
833 ("network-manager" ,network-manager)))
834 (synopsis "Network Manager's applet library")
835 (description "Libnma is an applet library for Network Manager. It was
836 initially part of network-manager-applet and has now become a separate
837 project.")
838 (home-page "https://gitlab.gnome.org/GNOME/libnma")
839
840 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
841 ;; "LGPL-2.1+".
842 (license license:gpl2+)))
843
844 (define-public gnome-menus
845 (package
846 (name "gnome-menus")
847 (version "3.32.0")
848 (source (origin
849 (method url-fetch)
850 (uri (string-append "mirror://gnome/sources/gnome-menus/"
851 (version-major+minor version) "/"
852 name "-" version ".tar.xz"))
853 (sha256
854 (base32
855 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
856 (build-system gnu-build-system)
857 (native-inputs
858 `(("gettext" ,gettext-minimal)
859 ("glib" ,glib)
860 ("pkg-config" ,pkg-config)))
861 (synopsis "Menu support for GNOME desktop")
862 (description "GNOME Menus contains the libgnome-menu library, the layout
863 configuration files for the GNOME menu, as well as a simple menu editor.")
864 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
865 (license license:lgpl2.0+)))
866
867 (define-public deja-dup
868 (package
869 (name "deja-dup")
870 (version "34.3")
871 (source (origin
872 (method url-fetch)
873 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
874 (sha256
875 (base32
876 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
877 (patches
878 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
879 (build-system glib-or-gtk-build-system)
880 (arguments
881 `(#:modules ((guix build gnu-build-system)
882 ((guix build cmake-build-system) #:prefix cmake:)
883 (guix build glib-or-gtk-build-system)
884 (guix build utils))
885 #:imported-modules (,@%glib-or-gtk-build-system-modules
886 (guix build cmake-build-system))
887 #:test-target "test"
888 #:configure-flags (list (string-append
889 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
890 (string-append
891 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
892 #:phases
893 (modify-phases %standard-phases
894 (add-after 'unpack 'patch-lockfile-deletion
895 (lambda rest
896 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
897 (("/bin/rm")
898 (which "rm")))))
899 (replace 'configure
900 (assoc-ref cmake:%standard-phases 'configure))
901 (delete 'check) ;; Fails due to issues with DBus
902 (add-after 'install 'wrap-deja-dup
903 (lambda* (#:key inputs outputs #:allow-other-keys)
904 (let ((python (assoc-ref inputs "python"))
905 (python-path (getenv "PYTHONPATH"))
906 (duplicity (assoc-ref inputs "duplicity"))
907 (out (assoc-ref outputs "out")))
908 (for-each
909 (lambda (program)
910 (wrap-program program
911 `("PATH" ":" prefix (,(string-append python "/bin")
912 ,(string-append duplicity "/bin"))))
913 (wrap-program program
914 `("PYTHONPATH" ":" prefix (,python-path))))
915
916 (find-files (string-append out "/bin")))
917 #t))))))
918 (inputs
919 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
920 ("gobject-introspection" ,gobject-introspection)
921 ("duplicity" ,duplicity)
922 ("python" ,python-2)
923 ("python-pygobject" ,python2-pygobject)
924 ("gtk+" ,gtk+)
925 ("libnotify" ,libnotify)
926 ("libpeas" ,libpeas)
927 ("libsecret" ,libsecret)
928 ("packagekit" ,packagekit)))
929 (native-inputs
930 `(("pkg-config" ,pkg-config)
931 ("vala" ,vala)
932 ("gettext" ,gettext-minimal)
933 ("itstool" ,itstool)
934 ("intltool" ,intltool)
935 ("cmake" ,cmake-minimal)))
936 (home-page "https://launchpad.net/deja-dup")
937 (synopsis "Simple backup tool, for regular encrypted backups")
938 (description
939 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
940 uses duplicity as the backend, which supports incremental backups and storage
941 either on a local, or remote machine via a number of methods.")
942 (license license:gpl3+)))
943
944 (define-public gnome-user-docs
945 (package
946 (name "gnome-user-docs")
947 (version "3.32.3")
948 (source
949 (origin
950 (method url-fetch)
951 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
952 (version-major+minor version)
953 "/gnome-user-docs-" version ".tar.xz"))
954 (sha256
955 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
956 (build-system gnu-build-system)
957 (native-inputs
958 `(("gettext" ,gettext-minimal)
959 ("itstool" ,itstool)
960 ("pkg-config" ,pkg-config)
961 ("xmllint" ,libxml2)))
962 (synopsis "User documentation for the GNOME desktop")
963 (description
964 "The GNOME User Documentation explains how to use the GNOME desktop and its
965 components. It covers usage and setup of the core GNOME programs by end-users
966 and system administrators.")
967 (home-page "https://live.gnome.org/DocumentationProject")
968 (license license:cc-by3.0)))
969
970 (define-public gnome-getting-started-docs
971 (package
972 (name "gnome-getting-started-docs")
973 (version "3.32.2")
974 (source
975 (origin
976 (method url-fetch)
977 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
978 (version-major+minor version)
979 "/gnome-getting-started-docs-" version ".tar.xz"))
980 (sha256
981 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
982 (build-system gnu-build-system)
983 (native-inputs
984 `(("gettext" ,gettext-minimal)
985 ("itstool" ,itstool)
986 ("pkg-config" ,pkg-config)
987 ("xmllint" ,libxml2)))
988 (synopsis "Help to get new users started with the GNOME desktop")
989 (description
990 "The GNOME Getting Started Documentation contains GNOME's intuitive
991 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
992
993 It is normally used together with @command{gnome-initial-setup}, but is also
994 useful as a tutorial and users' guide for new or less experienced users.")
995 (home-page "https://live.gnome.org/DocumentationProject")
996 (license license:cc-by-sa3.0)))
997
998 (define-public dia
999 ;; This version from GNOME's repository includes fixes for compiling with
1000 ;; recent versions of the build tools. The latest activity on the
1001 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1002 ;; fixes in 2016.
1003 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
1004 (package
1005 (name "dia")
1006 (version (git-version "0.97.3" "1" commit))
1007 (source (origin
1008 (method git-fetch)
1009 (uri (git-reference
1010 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1011 (commit commit)))
1012 (file-name (git-file-name name version))
1013 (sha256
1014 (base32
1015 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
1016 (build-system gnu-build-system)
1017 (inputs
1018 `(("freetype" ,freetype)
1019 ("gdk-pixbuf" ,gdk-pixbuf)
1020 ("gtk+" ,gtk+-2)
1021 ("libart-lgpl" ,libart-lgpl)
1022 ("libxml2" ,libxml2)
1023 ("pango" ,pango)))
1024 (native-inputs
1025 `(("autoconf" ,autoconf)
1026 ("automake" ,automake)
1027 ("intltool" ,intltool)
1028 ("glib" ,glib "bin")
1029 ("libtool" ,libtool)
1030 ("perl" ,perl)
1031 ("pkg-config" ,pkg-config)
1032 ("python-wrapper" ,python-wrapper)))
1033 (arguments
1034 `(#:phases
1035 (modify-phases %standard-phases
1036 (add-before 'bootstrap 'dont-configure-during-bootstrap
1037 (lambda _
1038 (setenv "NOCONFIGURE" "true")
1039 #t)))))
1040 (home-page "https://wiki.gnome.org/Apps/Dia")
1041 (synopsis "Diagram creation for GNOME")
1042 (description "Dia can be used to draw different types of diagrams, and
1043 includes support for UML static structure diagrams (class diagrams), entity
1044 relationship modeling, and network diagrams. The program supports various file
1045 formats like PNG, SVG, PDF and EPS.")
1046 (license license:gpl2+))))
1047
1048 ;; This is the unstable release, but it is required for the current stable
1049 ;; release of gvfs (1.38.1).
1050 (define-public libgdata
1051 (package
1052 (name "libgdata")
1053 (version "0.17.9")
1054 (source (origin
1055 (method url-fetch)
1056 (uri (string-append "mirror://gnome/sources/" name "/"
1057 (version-major+minor version) "/"
1058 name "-" version ".tar.xz"))
1059 (sha256
1060 (base32
1061 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1062 (build-system gnu-build-system)
1063 (arguments
1064 '(#:phases
1065 (modify-phases %standard-phases
1066 (add-before 'check 'disable-failing-tests
1067 (lambda _
1068 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1069 ;; They have been removed in libgdata 0.17.6, so just do the same.
1070 (substitute* "gdata/tests/Makefile"
1071 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1072 #t)))))
1073 (native-inputs
1074 `(("glib:bin" ,glib "bin")
1075 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1076 ("intltool" ,intltool)
1077 ("pkg-config" ,pkg-config)
1078 ("uhttpmock" ,uhttpmock)))
1079 (inputs
1080 `(("cyrus-sasl" ,cyrus-sasl)
1081 ("glib-networking" ,glib-networking)))
1082 (propagated-inputs
1083 `(("gcr" ,gcr)
1084 ("glib" ,glib)
1085 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1086 ("json-glib" ,json-glib)
1087 ("liboauth" ,liboauth)
1088 ("libsoup" ,libsoup)
1089 ("libxml2" ,libxml2)))
1090 (home-page "https://wiki.gnome.org/Projects/libgdata")
1091 (synopsis "Library for accessing online service APIs")
1092 (description
1093 "libgdata is a GLib-based library for accessing online service APIs using
1094 the GData protocol — most notably, Google's services. It provides APIs to
1095 access the common Google services, and has full asynchronous support.")
1096 (license license:lgpl2.1+)))
1097
1098 (define-public libgxps
1099 (package
1100 (name "libgxps")
1101 (version "0.3.1")
1102 (source (origin
1103 (method url-fetch)
1104 (uri (string-append "mirror://gnome/sources/" name "/"
1105 (version-major+minor version) "/"
1106 name "-" version ".tar.xz"))
1107 (sha256
1108 (base32
1109 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1110 (build-system meson-build-system)
1111 (native-inputs
1112 `(("gobject-introspection" ,gobject-introspection)
1113 ("pkg-config" ,pkg-config)))
1114 (inputs
1115 `(("gtk+" ,gtk+)
1116 ("libjpeg" ,libjpeg-turbo)
1117 ("lcms" ,lcms)
1118 ("libtiff" ,libtiff)))
1119 (propagated-inputs
1120 ;; In Requires of libgxps.pc.
1121 `(("cairo" ,cairo)
1122 ("glib" ,glib)
1123 ("libarchive" ,libarchive)))
1124 (home-page "https://wiki.gnome.org/Projects/libgxps")
1125 (synopsis "GObject-based library for handling and rendering XPS documents")
1126 (description
1127 "libgxps is a GObject-based library for handling and rendering XPS
1128 documents. This package also contains binaries that can convert XPS documents
1129 to other formats.")
1130 (license license:lgpl2.1+)))
1131
1132 (define-public gnome-characters
1133 (package
1134 (name "gnome-characters")
1135 (version "3.30.0")
1136 (source
1137 (origin
1138 (method url-fetch)
1139 (uri (string-append "mirror://gnome/sources/"
1140 "gnome-characters/" (version-major+minor version)
1141 "/gnome-characters-" version ".tar.xz"))
1142 (sha256
1143 (base32
1144 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1145 (build-system meson-build-system)
1146 (arguments
1147 `(#:glib-or-gtk? #t
1148 #:phases (modify-phases %standard-phases
1149 (add-after 'install 'wrap
1150 (lambda* (#:key outputs #:allow-other-keys)
1151 ;; GNOME Characters needs Typelib files from GTK and
1152 ;; gnome-desktop.
1153 (wrap-program (string-append (assoc-ref outputs "out")
1154 "/bin/gnome-characters")
1155 `("GI_TYPELIB_PATH" ":" prefix
1156 (,(getenv "GI_TYPELIB_PATH"))))
1157 #t)))))
1158 (native-inputs
1159 `(("gettext" ,gettext-minimal)
1160 ("glib:bin" ,glib "bin")
1161 ("gtk+:bin" ,gtk+ "bin")
1162 ("pkg-config" ,pkg-config)
1163 ("python" ,python-minimal)))
1164 (inputs
1165 `(("gjs" ,gjs)
1166 ("gtk+" ,gtk+)
1167 ("libunistring" ,libunistring)
1168 ("gnome-desktop" ,gnome-desktop)))
1169 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1170 (synopsis "Find and insert unusual characters")
1171 (description "Characters is a simple utility application to find
1172 and insert unusual characters. It allows you to quickly find the
1173 character you are looking for by searching for keywords.")
1174 (license license:bsd-3)))
1175
1176 (define-public gnome-common
1177 (package
1178 (name "gnome-common")
1179 (version "3.18.0")
1180 (source
1181 (origin
1182 (method url-fetch)
1183 (uri (string-append "mirror://gnome/sources/" name "/"
1184 (version-major+minor version) "/"
1185 name "-" version ".tar.xz"))
1186 (sha256
1187 (base32
1188 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1189 (build-system gnu-build-system)
1190 (home-page "https://www.gnome.org/")
1191 (synopsis "Bootstrap GNOME modules built from Git")
1192 (description "gnome-common contains various files needed to bootstrap
1193 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1194 can be used to configure a source directory checked out from Git and some
1195 commonly used macros.")
1196 (license license:gpl2+)))
1197
1198 (define-public gnome-contacts
1199 (package
1200 (name "gnome-contacts")
1201 (version "3.32.1")
1202 (source (origin
1203 (method url-fetch)
1204 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1205 (version-major+minor version) "/"
1206 name "-" version ".tar.xz"))
1207 (sha256
1208 (base32
1209 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
1210 (build-system meson-build-system)
1211 (arguments
1212 `(#:phases
1213 (modify-phases %standard-phases
1214 (add-after 'unpack 'generate-vapis
1215 (lambda* (#:key inputs #:allow-other-keys)
1216 ;; To generate goa's missing .vapi file
1217 (define goa
1218 (assoc-ref inputs "gnome-online-accounts:lib"))
1219
1220 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1221 "--library=goa-1.0"
1222 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1223 #t)))))
1224 (native-inputs
1225 `(("glib:bin" ,glib "bin")
1226 ("gtk+:bin" ,gtk+ "bin")
1227 ("pkg-config" ,pkg-config)))
1228 (inputs
1229 `(("cheese" ,cheese)
1230 ("docbook-xml" ,docbook-xml)
1231 ("dockbook-xsl" ,docbook-xsl)
1232 ("evolution-data-server" ,evolution-data-server)
1233 ("gettext" ,gettext-minimal)
1234 ("gnome-desktop" ,gnome-desktop)
1235 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1236 ("gobject-introspection" ,gobject-introspection)
1237 ("gst-plugins-base" ,gst-plugins-base)
1238 ("gtk+" ,gtk+)
1239 ("libgee" ,libgee)
1240 ("libxslt" ,libxslt)
1241 ("telepathy-glib" ,telepathy-glib)
1242 ("vala" ,vala)))
1243 (propagated-inputs
1244 `(("folks", folks)
1245 ("telepathy-mission-control" ,telepathy-mission-control)))
1246 (synopsis "GNOME's integrated address book")
1247 (description
1248 "GNOME Contacts organizes your contact information from online and
1249 offline sources, providing a centralized place for managing your contacts.")
1250 (home-page "https://wiki.gnome.org/Apps/Contacts")
1251 (license license:gpl2+)))
1252
1253 (define-public gnome-desktop
1254 (package
1255 (name "gnome-desktop")
1256 (version "3.32.2")
1257 (source
1258 (origin
1259 (method url-fetch)
1260 (uri (string-append "mirror://gnome/sources/" name "/"
1261 (version-major+minor version) "/"
1262 name "-" version ".tar.xz"))
1263 (sha256
1264 (base32
1265 "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9"))))
1266 (build-system meson-build-system)
1267 (arguments
1268 '(#:phases
1269 (modify-phases %standard-phases
1270 (add-before 'configure 'patch-path
1271 (lambda* (#:key inputs #:allow-other-keys)
1272 (let ((libc (assoc-ref inputs "libc")))
1273 (substitute* "libgnome-desktop/gnome-languages.c"
1274 (("\"locale\"")
1275 (string-append "\"" libc "/bin/locale\"")))
1276 #t)))
1277 (add-before 'check 'pre-check
1278 (lambda* (#:key inputs #:allow-other-keys)
1279 ;; Tests require a running X server and locales.
1280 (system "Xvfb :1 &")
1281 (setenv "DISPLAY" ":1")
1282 (setenv "GUIX_LOCPATH"
1283 (string-append (assoc-ref inputs "glibc-locales")
1284 "/lib/locale"))
1285 #t)))))
1286 (native-inputs
1287 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1288 ("glibc-locales" ,glibc-locales) ; for tests
1289 ("gobject-introspection" ,gobject-introspection)
1290 ("itstool" ,itstool)
1291 ("intltool" ,intltool)
1292 ("pkg-config" ,pkg-config)
1293 ("xmllint" ,libxml2)
1294 ("xorg-server" ,xorg-server-for-tests)))
1295 (propagated-inputs
1296 ;; Required by gnome-desktop-3.0.pc.
1297 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1298 ("gtk+" ,gtk+)
1299 ("iso-codes" ,iso-codes)
1300 ("libseccomp" ,libseccomp)
1301 ("libx11" ,libx11)
1302 ("xkeyboard-config" ,xkeyboard-config)))
1303 (inputs
1304 `(("gdk-pixbuf" ,gdk-pixbuf)
1305 ("glib" ,glib)
1306 ("libxext" ,libxext)
1307 ("libxkbfile" ,libxkbfile)
1308 ("libxrandr" ,libxrandr)))
1309 (home-page "https://www.gnome.org/")
1310 (synopsis
1311 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1312 (description
1313 "The libgnome-desktop library provides API shared by several applications
1314 on the desktop, but that cannot live in the platform for various reasons.
1315 There is no API or ABI guarantee, although we are doing our best to provide
1316 stability. Documentation for the API is available with gtk-doc.
1317
1318 The gnome-about program helps find which version of GNOME is installed.")
1319 ; Some bits under the LGPL.
1320 (license license:gpl2+)))
1321
1322 (define-public gnome-doc-utils
1323 (package
1324 (name "gnome-doc-utils")
1325 (version "0.20.10")
1326 (source
1327 (origin
1328 (method url-fetch)
1329 (uri (string-append "mirror://gnome/sources/" name "/"
1330 (version-major+minor version) "/"
1331 name "-" version ".tar.xz"))
1332 (sha256
1333 (base32
1334 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1335 (build-system gnu-build-system)
1336 (native-inputs
1337 `(("intltool" ,intltool)
1338 ("docbook-xml" ,docbook-xml-4.4)
1339 ("python2-libxml2" ,python2-libxml2)
1340 ("libxml2" ,libxml2)
1341 ("libxslt" ,libxslt)
1342 ("pkg-config" ,pkg-config)
1343 ("python-2" ,python-2)))
1344 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1345 (synopsis
1346 "Documentation utilities for the Gnome project")
1347 (description
1348 "Gnome-doc-utils is a collection of documentation utilities for the
1349 Gnome project. It includes xml2po tool which makes it easier to translate
1350 and keep up to date translations of documentation.")
1351 (license license:gpl2+))) ; xslt under lgpl
1352
1353 (define-public gnome-disk-utility
1354 (package
1355 (name "gnome-disk-utility")
1356 (version "3.32.1")
1357 (source (origin
1358 (method url-fetch)
1359 (uri (string-append "mirror://gnome/sources/" name "/"
1360 (version-major+minor version) "/"
1361 name "-" version ".tar.xz"))
1362 (sha256
1363 (base32
1364 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
1365 (build-system meson-build-system)
1366 (arguments
1367 '(#:phases
1368 (modify-phases %standard-phases
1369 (add-after 'unpack 'skip-gtk-update-icon-cache
1370 ;; Don't create 'icon-theme.cache'.
1371 (lambda _
1372 (substitute* "meson_post_install.py"
1373 (("gtk-update-icon-cache") "true"))
1374 #t)))))
1375 (native-inputs
1376 `(("glib:bin" ,glib "bin")
1377 ("intltool" ,intltool)
1378 ("pkg-config" ,pkg-config)
1379 ("docbook-xml" ,docbook-xml)
1380 ("docbook-xsl" ,docbook-xsl)
1381 ("libxml2" ,libxml2)
1382 ("libxslt" ,libxslt)))
1383 (inputs
1384 `(("glib" ,glib)
1385 ("appstream-glib" ,appstream-glib)
1386 ("gnome-settings-daemon" ,gnome-settings-daemon)
1387 ("gtk+" ,gtk+)
1388 ("libcanberra" ,libcanberra)
1389 ("libdvdread" ,libdvdread)
1390 ("libnotify" ,libnotify)
1391 ("libpwquality" ,libpwquality)
1392 ("libsecret" ,libsecret)
1393 ("udisks" ,udisks)))
1394 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1395 (synopsis "Disk management utility for GNOME")
1396 (description "Disk management utility for GNOME.")
1397 (license license:gpl2+)))
1398
1399 (define-public gnome-font-viewer
1400 (package
1401 (name "gnome-font-viewer")
1402 (version "3.30.0")
1403 (source (origin
1404 (method url-fetch)
1405 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1406 (version-major+minor version)
1407 "/gnome-font-viewer-" version ".tar.xz"))
1408 (sha256
1409 (base32
1410 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1411 (build-system meson-build-system)
1412 (arguments
1413 '(#:phases
1414 (modify-phases %standard-phases
1415 (add-after 'unpack 'patch-post-install-script
1416 (lambda _
1417 (substitute* "meson-postinstall.sh"
1418 (("update-desktop-database") (which "true")))
1419 #t)))))
1420 (native-inputs
1421 `(("gettext" ,gettext-minimal)
1422 ("glib:bin" ,glib "bin")
1423 ("pkg-config" ,pkg-config)))
1424 (inputs
1425 `(("glib" ,glib)
1426 ("gnome-desktop" ,gnome-desktop)
1427 ("gtk+" ,gtk+)))
1428 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1429 (synopsis "GNOME Fonts")
1430 (description "Application to show you the fonts installed on your computer
1431 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1432 the font would look under various sizes.")
1433 (license license:gpl2+)))
1434
1435 (define-public gcr
1436 (package
1437 (name "gcr")
1438 (version "3.28.1")
1439 (source (origin
1440 (method url-fetch)
1441 (uri (string-append "mirror://gnome/sources/" name "/"
1442 (version-major+minor version) "/"
1443 name "-" version ".tar.xz"))
1444 (sha256
1445 (base32
1446 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
1447 (patches
1448 (list
1449 ;; This patch solves an ordering issue that showed up when
1450 ;; running the test suite against newer Glib 2.60. See
1451 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
1452 (origin
1453 (method url-fetch)
1454 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
1455 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
1456 (file-name "gcr-hashtable-ordering.patch")
1457 (sha256
1458 (base32
1459 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
1460 (build-system gnu-build-system)
1461 (arguments
1462 '(#:phases
1463 (modify-phases %standard-phases
1464 ;; These fail because /var/lib/dbus/machine-id is not present in the
1465 ;; build environment.
1466 (add-after 'unpack 'disable-failing-tests
1467 (lambda _
1468 (substitute* "gcr/test-system-prompt.c"
1469 (("g_test_add") "//")
1470 (("return.*") "return 0;"))
1471 #t))
1472 (add-before 'check 'pre-check
1473 (lambda _
1474 ;; Some tests expect to write to $HOME.
1475 (setenv "HOME" "/tmp")
1476 #t)))))
1477 (inputs
1478 `(("dbus" ,dbus)
1479 ("gnupg" ,gnupg) ;called as a child process during tests
1480 ("libgcrypt" ,libgcrypt)))
1481 (native-inputs
1482 `(("python" ,python-2) ;for tests
1483 ("pkg-config" ,pkg-config)
1484 ("glib" ,glib "bin")
1485 ("gobject-introspection" ,gobject-introspection)
1486 ("intltool" ,intltool)
1487 ("libxml2" ,libxml2)
1488 ("vala" ,vala)
1489 ("xsltproc" ,libxslt)))
1490 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1491 (propagated-inputs
1492 `(("p11-kit" ,p11-kit)
1493 ("glib" ,glib)
1494 ("gtk+" ,gtk+)))
1495 (home-page "https://www.gnome.org")
1496 (synopsis "Libraries for displaying certificates and accessing key stores")
1497 (description
1498 "The GCR package contains libraries used for displaying certificates and
1499 accessing key stores. It also provides the viewer for crypto files on the
1500 GNOME Desktop.")
1501 (license license:lgpl2.1+)))
1502
1503 (define-public libgnome-keyring
1504 (package
1505 (name "libgnome-keyring")
1506 (version "3.12.0")
1507 (source (origin
1508 (method url-fetch)
1509 (uri (string-append "mirror://gnome/sources/" name "/"
1510 (version-major+minor version) "/"
1511 name "-" version ".tar.xz"))
1512 (sha256
1513 (base32
1514 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1515 (build-system gnu-build-system)
1516 (inputs
1517 `(("libgcrypt" ,libgcrypt)
1518 ("dbus" ,dbus)))
1519 (native-inputs
1520 `(("pkg-config" ,pkg-config)
1521 ("glib" ,glib "bin")
1522 ("intltool" ,intltool)))
1523 (propagated-inputs
1524 ;; Referred to in .h files and .pc.
1525 `(("glib" ,glib)))
1526 (home-page "https://www.gnome.org")
1527 (synopsis "Accessing passwords from the GNOME keyring")
1528 (description
1529 "Client library to access passwords from the GNOME keyring.")
1530
1531 ;; Though a couple of files are LGPLv2.1+.
1532 (license license:lgpl2.0+)))
1533
1534 (define-public gnome-keyring
1535 (package
1536 (name "gnome-keyring")
1537 (version "3.28.2")
1538 (source (origin
1539 (method url-fetch)
1540 (uri (string-append "mirror://gnome/sources/" name "/"
1541 (version-major+minor version) "/"
1542 name "-" version ".tar.xz"))
1543 (sha256
1544 (base32
1545 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
1546 (build-system gnu-build-system)
1547 (arguments
1548 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1549 ;not exist
1550 #:configure-flags
1551 (list
1552 (string-append "--with-pkcs11-config="
1553 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1554 (string-append "--with-pkcs11-modules="
1555 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1556 #:phases
1557 (modify-phases %standard-phases
1558 (add-after 'unpack 'fix-/bin/sh-reference
1559 (lambda _
1560 (substitute* "po/Makefile.in.in"
1561 (("/bin/sh") (which "sh")))
1562 #t))
1563 (add-after 'unpack 'fix-docbook
1564 (lambda* (#:key inputs #:allow-other-keys)
1565 (substitute* "docs/Makefile.am"
1566 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1567 (string-append (assoc-ref inputs "docbook-xsl")
1568 "/xml/xsl/docbook-xsl-"
1569 ,(package-version docbook-xsl)
1570 "/manpages/docbook.xsl")))
1571 (setenv "XML_CATALOG_FILES"
1572 (string-append (assoc-ref inputs "docbook-xml")
1573 "/xml/dtd/docbook/catalog.xml"))
1574 ;; Rerun the whole thing to avoid version mismatch ("This is
1575 ;; Automake 1.15.1, but the definition used by this
1576 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1577 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1578 (invoke "autoconf")
1579 (invoke "aclocal")
1580 (invoke "automake" "-ac"))))))
1581 (inputs
1582 `(("libgcrypt" ,libgcrypt)
1583 ("linux-pam" ,linux-pam)
1584 ("openssh" ,openssh)
1585 ("dbus" ,dbus)
1586 ("gcr" ,gcr)))
1587 (native-inputs
1588 `(("pkg-config" ,pkg-config)
1589 ("glib" ,glib "bin")
1590 ("glib" ,glib) ; for m4 macros
1591 ("python" ,python-2) ;for tests
1592 ("intltool" ,intltool)
1593 ("autoconf" ,autoconf)
1594 ("automake" ,automake)
1595 ("libxslt" ,libxslt) ;for documentation
1596 ("docbook-xml" ,docbook-xml-4.2)
1597 ("docbook-xsl" ,docbook-xsl)))
1598 (home-page "https://www.gnome.org")
1599 (synopsis "Daemon to store passwords and encryption keys")
1600 (description
1601 "gnome-keyring is a program that keeps passwords and other secrets for
1602 users. It is run as a daemon in the session, similar to ssh-agent, and other
1603 applications locate it via an environment variable or D-Bus.
1604
1605 The program can manage several keyrings, each with its own master password,
1606 and there is also a session keyring which is never stored to disk, but
1607 forgotten when the session ends.")
1608 (license license:lgpl2.1+)))
1609
1610 (define-public evince
1611 (package
1612 (name "evince")
1613 (version "3.34.2")
1614 (source (origin
1615 (method url-fetch)
1616 (uri (string-append "mirror://gnome/sources/evince/"
1617 (version-major+minor version) "/"
1618 "evince-" version ".tar.xz"))
1619 (sha256
1620 (base32
1621 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1622 (build-system glib-or-gtk-build-system)
1623 (arguments
1624 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1625 #:phases
1626 (modify-phases %standard-phases
1627 (add-before 'install 'skip-gtk-update-icon-cache
1628 ;; Don't create 'icon-theme.cache'.
1629 (lambda _
1630 (substitute* "data/Makefile"
1631 (("gtk-update-icon-cache") "true"))
1632 #t)))))
1633 (inputs
1634 `(("libarchive" ,libarchive)
1635 ("libgxps" ,libgxps)
1636 ("libspectre" ,libspectre)
1637 ("djvulibre" ,djvulibre)
1638 ("ghostscript" ,ghostscript)
1639 ("poppler" ,poppler)
1640 ("libtiff" ,libtiff)
1641 ;; TODO:
1642 ;; Build libkpathsea as a shared library for DVI support.
1643 ;; ("libkpathsea" ,texlive-bin)
1644 ("gnome-desktop" ,gnome-desktop)
1645 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1646 ("gspell" ,gspell)
1647 ("libgnome-keyring" ,libgnome-keyring)
1648 ("adwaita-icon-theme" ,adwaita-icon-theme)
1649 ("gdk-pixbuf" ,gdk-pixbuf)
1650 ("atk" ,atk)
1651 ("pango" ,pango)
1652 ("gtk+" ,gtk+)
1653 ("glib" ,glib)
1654 ("libxml2" ,libxml2)
1655 ("libsm" ,libsm)
1656 ("libice" ,libice)
1657 ("shared-mime-info" ,shared-mime-info)
1658 ("dconf" ,dconf)
1659 ("libcanberra" ,libcanberra)
1660 ("libsecret" ,libsecret)
1661
1662 ;; For tests.
1663 ("dogtail" ,python2-dogtail)))
1664 (native-inputs
1665 `(("itstool" ,itstool)
1666 ("intltool" ,intltool)
1667 ("glib" ,glib "bin")
1668 ("gobject-introspection" ,gobject-introspection)
1669 ("pkg-config" ,pkg-config)
1670 ("xmllint" ,libxml2)))
1671 (home-page
1672 "https://www.gnome.org/projects/evince/")
1673 (synopsis "GNOME's document viewer")
1674 (description
1675 "Evince is a document viewer for multiple document formats. It
1676 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1677 of Evince is to replace the multiple document viewers that exist
1678 on the GNOME Desktop with a single simple application.")
1679 (license license:gpl2+)))
1680
1681 (define-public gsettings-desktop-schemas
1682 (package
1683 (name "gsettings-desktop-schemas")
1684 (version "3.32.0")
1685 (source
1686 (origin
1687 (method url-fetch)
1688 (uri (string-append "mirror://gnome/sources/" name "/"
1689 (version-major+minor version) "/"
1690 name "-" version ".tar.xz"))
1691 (sha256
1692 (base32
1693 "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d"))))
1694 (build-system meson-build-system)
1695 (arguments
1696 '(#:phases (modify-phases %standard-phases
1697 (add-after 'unpack 'patch-schemas
1698 (lambda* (#:key inputs #:allow-other-keys)
1699 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1700 (substitute* (find-files "schemas"
1701 "\\.gschema\\.xml\\.in$")
1702 ;; Provide the correct file name of the default GNOME
1703 ;; background, 'adwaita-timed.xml'.
1704 (("@datadir@/backgrounds/gnome")
1705 (string-append theme "/share/backgrounds/gnome"))
1706 ;; Do not reference fonts, that may not exist.
1707 (("'Source Code Pro 10'") "'Monospace 11'"))
1708 #t))))))
1709 (inputs
1710 `(("glib" ,glib)
1711 ("gnome-backgrounds" ,gnome-backgrounds)))
1712 (native-inputs
1713 `(("intltool" ,intltool)
1714 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1715 ("gobject-introspection" ,gobject-introspection)
1716 ("pkg-config" ,pkg-config)))
1717 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1718 (synopsis
1719 "GNOME settings for various desktop components")
1720 (description
1721 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1722 for settings shared by various components of the GNOME desktop.")
1723 (license license:lgpl2.1+)))
1724
1725 (define-public icon-naming-utils
1726 (package
1727 (name "icon-naming-utils")
1728 (version "0.8.90")
1729 (source
1730 (origin
1731 (method url-fetch)
1732 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1733 version ".tar.bz2"))
1734 (sha256
1735 (base32
1736 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1737 (build-system gnu-build-system)
1738 (inputs
1739 `(("perl" ,perl)
1740 ("perl-xml-simple" ,perl-xml-simple)))
1741 (arguments
1742 '(#:phases
1743 (modify-phases %standard-phases
1744 (add-after 'install 'set-load-paths
1745 ;; Tell 'icon-name-mapping' where XML::Simple is.
1746 (lambda* (#:key outputs #:allow-other-keys)
1747 (let* ((out (assoc-ref outputs "out"))
1748 (prog (string-append out "/libexec/icon-name-mapping")))
1749 (wrap-program
1750 prog
1751 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1752 #t)))))
1753 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1754 (synopsis
1755 "Utility to implement the Freedesktop Icon Naming Specification")
1756 (description
1757 "To help with the transition to the Freedesktop Icon Naming
1758 Specification, the icon naming utility maps the icon names used by the
1759 GNOME and KDE desktops to the icon names proposed in the specification.")
1760 (license license:lgpl2.1+)))
1761
1762 (define-public gnome-icon-theme
1763 (package
1764 (name "gnome-icon-theme")
1765 (version "3.12.0")
1766 (source
1767 (origin
1768 (method url-fetch)
1769 (uri (string-append "mirror://gnome/sources/" name "/"
1770 (version-major+minor version) "/"
1771 name "-" version ".tar.xz"))
1772 (sha256
1773 (base32
1774 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1775 (build-system gnu-build-system)
1776 (arguments
1777 '(#:configure-flags
1778 ;; Don't create 'icon-theme.cache'.
1779 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1780 (true (string-append coreutils "/bin/true")))
1781 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1782 (native-inputs
1783 `(("icon-naming-utils" ,icon-naming-utils)
1784 ("intltool" ,intltool)
1785 ("pkg-config" ,pkg-config)))
1786 (home-page "https://wiki.gnome.org/Personalization")
1787 (synopsis "GNOME icon theme")
1788 (description "Icons for the GNOME desktop.")
1789 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1790
1791 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1792 (define-public adwaita-icon-theme
1793 (package (inherit gnome-icon-theme)
1794 (name "adwaita-icon-theme")
1795 (version "3.32.0")
1796 (source (origin
1797 (method url-fetch)
1798 (uri (string-append "mirror://gnome/sources/" name "/"
1799 (version-major+minor version) "/"
1800 name "-" version ".tar.xz"))
1801 (sha256
1802 (base32
1803 "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9"))))
1804 (native-inputs
1805 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1806
1807 (define-public tango-icon-theme
1808 (package
1809 (name "tango-icon-theme")
1810 (version "0.8.90")
1811 (source (origin
1812 (method url-fetch)
1813 (uri (string-append "http://tango.freedesktop.org/releases/"
1814 "tango-icon-theme-" version ".tar.bz2"))
1815 (sha256
1816 (base32
1817 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1818 (build-system gnu-build-system)
1819 (native-inputs
1820 `(("icon-naming-utils" ,icon-naming-utils)
1821 ("intltool" ,intltool)
1822 ("imagemagick" ,imagemagick)
1823 ("pkg-config" ,pkg-config)))
1824 (home-page "http://tango-project.org/")
1825 (synopsis "Tango icon theme")
1826 (description "This is an icon theme that follows the Tango visual
1827 guidelines.")
1828 (license license:public-domain)))
1829
1830 (define-public shared-mime-info
1831 (package
1832 (name "shared-mime-info")
1833 (version "1.10")
1834 (source (origin
1835 (method url-fetch)
1836 (uri (string-append "https://freedesktop.org/~hadess/"
1837 "shared-mime-info-" version ".tar.xz"))
1838 (sha256
1839 (base32
1840 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
1841 (build-system gnu-build-system)
1842 (arguments
1843 ;; The build system appears not to be parallel-safe.
1844 '(#:parallel-build? #f))
1845 (inputs
1846 `(("glib" ,glib)
1847 ("libxml2" ,libxml2)))
1848 (native-inputs
1849 `(("intltool" ,intltool)
1850 ("pkg-config" ,pkg-config)))
1851 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1852 (synopsis "Database of common MIME types")
1853 (description
1854 "The shared-mime-info package contains the core database of common types
1855 and the update-mime-database command used to extend it. It requires glib2 to
1856 be installed for building the update command. Additionally, it uses intltool
1857 for translations, though this is only a dependency for the maintainers. This
1858 database is translated at Transifex.")
1859 (license license:gpl2+)))
1860
1861 (define-public system-config-printer
1862 (package
1863 (name "system-config-printer")
1864 (version "1.5.12")
1865 (source
1866 (origin
1867 (method url-fetch)
1868 (uri (string-append
1869 "https://github.com/OpenPrinting/system-config-printer/releases/"
1870 "download/" version
1871 "/system-config-printer-" version ".tar.xz"))
1872 (sha256
1873 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1874 (build-system glib-or-gtk-build-system)
1875 (arguments
1876 `(#:imported-modules ((guix build python-build-system)
1877 ,@%glib-or-gtk-build-system-modules)
1878 #:phases
1879 (modify-phases %standard-phases
1880 (add-after 'unpack 'patch-Makefile.am
1881 (lambda _
1882 ;; The Makefile generates some scripts, so set a valid shebang
1883 (substitute* "Makefile.am"
1884 (("/bin/bash") (which "bash")))
1885 (delete-file "configure")
1886 #t))
1887 (add-after 'unpack 'patch-docbook-xml
1888 (lambda* (#:key inputs #:allow-other-keys)
1889 ;; Modify the man XML otherwise xmlto tries to access the network
1890 (substitute* "man/system-config-printer.xml"
1891 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1892 (string-append (assoc-ref inputs "docbook-xml")
1893 "/xml/dtd/docbook/")))
1894 #t))
1895 (add-after 'install 'wrap-for-python
1896 (@@ (guix build python-build-system) wrap))
1897 (add-after 'install 'wrap
1898 (lambda* (#:key outputs #:allow-other-keys)
1899 (let ((out (assoc-ref outputs "out"))
1900 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1901 (for-each
1902 (lambda (program)
1903 (wrap-program program
1904 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1905 (map (lambda (name)
1906 (string-append out "/bin/" name))
1907 '("system-config-printer"
1908 "system-config-printer-applet"
1909 "install-printerdriver"
1910 "scp-dbus-service"))))
1911 #t)))))
1912 (inputs
1913 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1914 ("gobject-introspection" ,gobject-introspection)
1915 ("python" ,python)
1916 ("cups" ,cups)
1917 ("python-dbus" ,python-dbus)
1918 ("python-pygobject" ,python-pygobject)
1919 ("python-pycups" ,python-pycups)
1920 ("python-requests" ,python-requests)
1921 ("python-pycairo" ,python-pycairo)
1922 ("libnotify" ,libnotify)
1923 ("packagekit" ,packagekit)))
1924 (native-inputs
1925 `(("pkg-config" ,pkg-config)
1926 ("desktop-file-utils" ,desktop-file-utils)
1927 ("glib" ,glib)
1928 ("autoconf" ,autoconf)
1929 ("automake" ,automake)
1930 ("intltool" ,intltool)
1931 ("xmlto" ,xmlto)
1932 ("docbook-xml" ,docbook-xml-4.1.2)
1933 ("docbook-xsl" ,docbook-xsl)
1934 ("libxml2" ,libxml2)))
1935 (home-page "https://github.com/zdohnal/system-config-printer")
1936 (synopsis "CUPS administration tool")
1937 (description
1938 "system-config-printer is a CUPS administration tool. It's written in
1939 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1940 configuring CUPS.")
1941 (license license:gpl2+)))
1942
1943 (define-public hicolor-icon-theme
1944 (package
1945 (name "hicolor-icon-theme")
1946 (version "0.17")
1947 (source
1948 (origin
1949 (method url-fetch)
1950 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1951 "hicolor-icon-theme-" version ".tar.xz"))
1952 (sha256
1953 (base32
1954 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1955 (build-system gnu-build-system)
1956 (arguments
1957 `(#:tests? #f)) ; no check target
1958 (home-page "https://icon-theme.freedesktop.org/releases/")
1959 (synopsis
1960 "Freedesktop icon theme")
1961 (description
1962 "Freedesktop icon theme.")
1963 (license license:gpl2)))
1964
1965 (define-public libnotify
1966 (package
1967 (name "libnotify")
1968 (version "0.7.7")
1969 (source
1970 (origin
1971 (method url-fetch)
1972 (uri (string-append "mirror://gnome/sources/" name "/"
1973 (version-major+minor version) "/"
1974 name "-" version ".tar.xz"))
1975 (sha256
1976 (base32
1977 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1978 (build-system gnu-build-system)
1979 (arguments
1980 `(#:configure-flags '("--disable-static")))
1981 (propagated-inputs
1982 `(;; In Requires of libnotify.pc.
1983 ("gdk-pixbuf" ,gdk-pixbuf)
1984 ("glib" ,glib)))
1985 (inputs
1986 `(("gtk+" ,gtk+)
1987 ("libpng" ,libpng)))
1988 (native-inputs
1989 `(("pkg-config" ,pkg-config)
1990 ("glib" ,glib "bin")
1991 ("gobject-introspection" ,gobject-introspection)))
1992 (home-page "https://developer-next.gnome.org/libnotify/")
1993 (synopsis
1994 "GNOME desktop notification library")
1995 (description
1996 "Libnotify is a library that sends desktop notifications to a
1997 notification daemon, as defined in the Desktop Notifications spec. These
1998 notifications can be used to inform the user about an event or display
1999 some form of information without getting in the user's way.")
2000 (license license:lgpl2.1+)))
2001
2002 (define-public libpeas
2003 (package
2004 (name "libpeas")
2005 (version "1.24.1")
2006 (source
2007 (origin
2008 (method url-fetch)
2009 (uri (string-append "mirror://gnome/sources/" name "/"
2010 (version-major+minor version) "/"
2011 name "-" version ".tar.xz"))
2012 (sha256
2013 (base32
2014 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2015 (build-system meson-build-system)
2016 (arguments
2017 '(#:phases
2018 (modify-phases %standard-phases
2019 (add-before 'check 'start-xserver
2020 (lambda* (#:key inputs #:allow-other-keys)
2021 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2022 (disp ":1"))
2023 (setenv "DISPLAY" disp)
2024 ;; Tests require a running X server.
2025 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2026 #t))))))
2027 (inputs
2028 `(("gtk+" ,gtk+)
2029 ("glade" ,glade3)
2030 ("python" ,python)
2031 ("python-pygobject" ,python-pygobject)))
2032 (native-inputs
2033 `(("pkg-config" ,pkg-config)
2034 ("gettext" ,gettext-minimal)
2035 ("glib:bin" ,glib "bin")
2036 ("gobject-introspection" ,gobject-introspection)
2037 ("xorg-server" ,xorg-server-for-tests)))
2038 (propagated-inputs
2039 ;; The .pc file "Requires" gobject-introspection.
2040 `(("gobject-introspection" ,gobject-introspection)))
2041 (home-page "https://wiki.gnome.org/Libpeas")
2042 (synopsis "GObject plugin system")
2043 (description
2044 "Libpeas is a gobject-based plugin engine, targeted at giving every
2045 application the chance to assume its own extensibility. It also has a set of
2046 features including, but not limited to: multiple extension points; on-demand
2047 (lazy) programming language support for C, Python and JS; simplicity of the
2048 API.")
2049 (license license:lgpl2.0+)))
2050
2051 (define-public gtkglext
2052 (package
2053 (name "gtkglext")
2054 (version "1.2.0")
2055 (source (origin
2056 (method url-fetch)
2057 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2058 version "/gtkglext-" version ".tar.gz"))
2059 (sha256
2060 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2061 (patches (search-patches
2062 "gtkglext-disable-disable-deprecated.patch"))))
2063 (build-system gnu-build-system)
2064 (arguments
2065 `(#:phases
2066 (modify-phases %standard-phases
2067 ;; Fix a collision between a local variable and a definition from
2068 ;; glibc's string.h.
2069 (add-after 'unpack 'fix-collision
2070 (lambda _
2071 (substitute* "gdk/gdkglshapes.c"
2072 ((" index") " triangle_index"))
2073 #t)))))
2074 (inputs `(("gtk+" ,gtk+-2)
2075 ("mesa" ,mesa)
2076 ("glu" ,glu)
2077 ("libx11" ,libx11)
2078 ("libxt" ,libxt)))
2079 (native-inputs `(("pkg-config" ,pkg-config)
2080 ("glib" ,glib "bin")))
2081 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2082 (home-page "https://projects.gnome.org/gtkglext")
2083 (synopsis "OpenGL extension to GTK+")
2084 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2085 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2086 API add-ons to make GTK+ widgets OpenGL-capable.")
2087 (license license:lgpl2.1+)))
2088
2089 (define-public glade3
2090 (package
2091 (name "glade")
2092 (version "3.22.1")
2093 (source (origin
2094 (method url-fetch)
2095 (uri (string-append "mirror://gnome/sources/" name "/"
2096 (version-major+minor version) "/"
2097 name "-" version ".tar.xz"))
2098 (sha256
2099 (base32
2100 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2101 (build-system glib-or-gtk-build-system)
2102 (arguments
2103 `(#:tests? #f ; needs X, GL, and software rendering
2104 #:phases
2105 (modify-phases %standard-phases
2106 (add-before 'configure 'fix-docbook
2107 (lambda* (#:key inputs #:allow-other-keys)
2108 (substitute* "man/Makefile.in"
2109 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2110 (string-append (assoc-ref inputs "docbook-xsl")
2111 "/xml/xsl/docbook-xsl-"
2112 ,(package-version docbook-xsl)
2113 "/manpages/docbook.xsl")))
2114 #t)))))
2115 (inputs
2116 `(("gtk+" ,gtk+)
2117 ("libxml2" ,libxml2)))
2118 (native-inputs
2119 `(("intltool" ,intltool)
2120 ("itstool" ,itstool)
2121 ("libxslt" ,libxslt) ;for xsltproc
2122 ("docbook-xml" ,docbook-xml-4.2)
2123 ("docbook-xsl" ,docbook-xsl)
2124 ("python" ,python-2)
2125 ("pkg-config" ,pkg-config)))
2126 (home-page "https://glade.gnome.org")
2127 (synopsis "GTK+ rapid application development tool")
2128 (description "Glade is a rapid application development (RAD) tool to
2129 enable quick & easy development of user interfaces for the GTK+ toolkit and
2130 the GNOME desktop environment.")
2131 (license license:lgpl2.0+)))
2132
2133 (define-public libcroco
2134 (package
2135 (name "libcroco")
2136 (version "0.6.13")
2137 (source (origin
2138 (method url-fetch)
2139 (uri (string-append "mirror://gnome/sources/" name "/"
2140 (version-major+minor version) "/"
2141 name "-" version ".tar.xz"))
2142 (sha256
2143 (base32
2144 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2145 (build-system gnu-build-system)
2146 (native-inputs
2147 `(("pkg-config" ,pkg-config)))
2148 (inputs
2149 `(("glib" ,glib)
2150 ("libxml2" ,libxml2)
2151 ("zlib" ,zlib)))
2152 (home-page "https://github.com/GNOME/libcroco")
2153 (synopsis "CSS2 parsing and manipulation library")
2154 (description
2155 "Libcroco is a standalone CSS2 parsing and manipulation library.
2156 The parser provides a low level event driven SAC-like API and a CSS object
2157 model like API. Libcroco provides a CSS2 selection engine and an experimental
2158 XML/CSS rendering engine.")
2159
2160 ;; LGPLv2.1-only.
2161 (license license:lgpl2.1)))
2162
2163 (define-public libgsf
2164 (package
2165 (name "libgsf")
2166 (version "1.14.46")
2167 (source (origin
2168 (method url-fetch)
2169 (uri (string-append "mirror://gnome/sources/" name "/"
2170 (version-major+minor version) "/"
2171 name "-" version ".tar.xz"))
2172 (sha256
2173 (base32
2174 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
2175 (build-system gnu-build-system)
2176 (native-inputs
2177 `(("intltool" ,intltool)
2178 ("pkg-config" ,pkg-config)))
2179 (inputs
2180 `(("python" ,python)
2181 ("zlib" ,zlib)
2182 ("bzip2" ,bzip2)))
2183 (propagated-inputs
2184 `(("gdk-pixbuf" ,gdk-pixbuf)
2185 ("glib" ,glib)
2186 ("libxml2" ,libxml2)))
2187 (home-page "https://www.gnome.org/projects/libgsf")
2188 (synopsis "GNOME's Structured File Library")
2189 (description
2190 "Libgsf aims to provide an efficient extensible I/O abstraction for
2191 dealing with different structured file formats.")
2192
2193 ;; LGPLv2.1-only.
2194 (license license:lgpl2.1)))
2195
2196 (define-public librsvg
2197 (package
2198 (replacement librsvg/fixed)
2199 (name "librsvg")
2200 (version "2.40.20")
2201 (source (origin
2202 (method url-fetch)
2203 (uri (string-append "mirror://gnome/sources/" name "/"
2204 (version-major+minor version) "/"
2205 name "-" version ".tar.xz"))
2206 (sha256
2207 (base32
2208 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
2209 (build-system gnu-build-system)
2210 (arguments
2211 `(#:configure-flags
2212 (list "--disable-static"
2213 "--enable-vala") ; needed for e.g. gnome-mines
2214 #:phases
2215 (modify-phases %standard-phases
2216 (add-before 'configure 'pre-configure
2217 (lambda* (#:key inputs #:allow-other-keys)
2218 (substitute* "gdk-pixbuf-loader/Makefile.in"
2219 ;; By default the gdk-pixbuf loader is installed under
2220 ;; gdk-pixbuf's prefix. Work around that.
2221 (("gdk_pixbuf_moduledir = .*$")
2222 (string-append "gdk_pixbuf_moduledir = "
2223 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2224 "loaders\n"))
2225 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2226 (("gdk_pixbuf_cache_file = .*$")
2227 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2228 #t))
2229 (add-before 'check 'remove-failing-tests
2230 (lambda _
2231 (with-directory-excursion "tests/fixtures/reftests"
2232 (for-each delete-file
2233 '(;; This test fails on i686:
2234 "svg1.1/masking-path-04-b.svg"
2235 ;; This test fails on armhf:
2236 "svg1.1/masking-mask-01-b.svg"
2237 ;; This test fails on aarch64:
2238 "bugs/777834-empty-text-children.svg")))
2239 #t)))))
2240 (native-inputs
2241 `(("pkg-config" ,pkg-config)
2242 ("vala" ,vala)
2243 ("glib" ,glib "bin") ; glib-mkenums, etc.
2244 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2245 (inputs
2246 `(("pango" ,pango)
2247 ("libcroco" ,libcroco)
2248 ("bzip2" ,bzip2)
2249 ("libgsf" ,libgsf)
2250 ("libxml2" ,libxml2)))
2251 (propagated-inputs
2252 ;; librsvg-2.0.pc refers to all of that.
2253 `(("cairo" ,cairo)
2254 ("gdk-pixbuf" ,gdk-pixbuf)
2255 ("glib" ,glib)))
2256 (home-page "https://wiki.gnome.org/LibRsvg")
2257 (synopsis "Render SVG files using Cairo")
2258 (description
2259 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2260 library.")
2261 (license license:lgpl2.0+)))
2262
2263 (define librsvg/fixed
2264 (package
2265 (inherit librsvg)
2266 (name "librsvg")
2267 (version "2.40.21")
2268 (source (origin
2269 (method url-fetch)
2270 (uri (string-append "mirror://gnome/sources/" name "/"
2271 (version-major+minor version) "/"
2272 name "-" version ".tar.xz"))
2273 (sha256
2274 (base32
2275 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))))
2276
2277 (define-public librsvg-next
2278 (package
2279 (inherit librsvg)
2280 (name "librsvg")
2281 (version "2.46.4")
2282 (source (origin
2283 (method url-fetch)
2284 (uri (string-append "mirror://gnome/sources/librsvg/"
2285 (version-major+minor version) "/"
2286 "librsvg-" version ".tar.xz"))
2287 (sha256
2288 (base32
2289 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2290 (modules '((guix build utils)))
2291 (snippet
2292 '(begin (delete-file-recursively "vendor")
2293 ;; Don't demand an exact version for string_cache
2294 (substitute* "rsvg_internals/Cargo.toml"
2295 (("\"=") "\""))
2296 #t))))
2297 (build-system cargo-build-system)
2298 (arguments
2299 `(#:modules ((guix build cargo-build-system)
2300 (guix build utils)
2301 ((guix build gnu-build-system) #:prefix gnu:))
2302 #:vendor-dir "vendor"
2303 #:cargo-inputs
2304 (("rust-bitflags" ,rust-bitflags-1)
2305 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2306 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2307 ("rust-cssparser" ,rust-cssparser-0.25)
2308 ("rust-data-url" ,rust-data-url-0.1)
2309 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2310 ("rust-encoding" ,rust-encoding-0.2)
2311 ("rust-float-cmp" ,rust-float-cmp-0.5)
2312 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2313 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2314 ("rust-gio" ,rust-gio-0.7)
2315 ("rust-gio-sys" ,rust-gio-sys-0.9)
2316 ("rust-glib" ,rust-glib-0.8)
2317 ("rust-glib-sys" ,rust-glib-sys-0.9)
2318 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2319 ("rust-itertools" ,rust-itertools-0.8)
2320 ("rust-language-tags" ,rust-language-tags-0.2)
2321 ("rust-lazy-static" ,rust-lazy-static-1)
2322 ("rust-libc" ,rust-libc-0.2)
2323 ("rust-locale-config" ,rust-locale-config-0.3)
2324 ("rust-markup5ever" ,rust-markup5ever-0.9)
2325 ("rust-nalgebra" ,rust-nalgebra-0.18)
2326 ("rust-num-traits" ,rust-num-traits-0.2)
2327 ("rust-pkg-config" ,rust-pkg-config-0.3)
2328 ("rust-pango" ,rust-pango-0.7)
2329 ("rust-pango-sys" ,rust-pango-sys-0.9)
2330 ("rust-pangocairo" ,rust-pangocairo-0.8)
2331 ("rust-phf" ,rust-phf-0.7)
2332 ("rust-rayon" ,rust-rayon-1.3)
2333 ("rust-rctree" ,rust-rctree-0.3)
2334 ("rust-string-cache" ,rust-string-cache-0.7)
2335 ("rust-regex" ,rust-regex-1.3)
2336 ("rust-url" ,rust-url-2.1)
2337 ("rust-xml-rs" ,rust-xml-rs-0.8))
2338 #:cargo-development-inputs
2339 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2340 ("rust-criterion" ,rust-criterion-0.2))
2341 #:phases
2342 (modify-phases %standard-phases
2343 (add-after 'unpack 'prepare-for-build
2344 (lambda _
2345 ;; In lieu of #:make-flags
2346 (setenv "CC" "gcc")
2347 ;; Something about the build environment resists building
2348 ;; successfully with the '--locked' flag.
2349 (substitute* '("Makefile.am"
2350 "Makefile.in")
2351 (("--locked") ""))
2352 #t))
2353 (add-before 'configure 'pre-configure
2354 (lambda _
2355 (substitute* "gdk-pixbuf-loader/Makefile.in"
2356 ;; By default the gdk-pixbuf loader is installed under
2357 ;; gdk-pixbuf's prefix. Work around that.
2358 (("gdk_pixbuf_moduledir = .*$")
2359 (string-append "gdk_pixbuf_moduledir = "
2360 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2361 "loaders\n"))
2362 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2363 (("gdk_pixbuf_cache_file = .*$")
2364 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2365 #t))
2366 (add-after 'configure 'gnu-configure
2367 (assoc-ref gnu:%standard-phases 'configure))
2368 ;(lambda* (#:key outputs #:allow-other-keys)
2369 ; ((assoc-ref gnu:%standard-phases 'configure)
2370 ; #:outputs outputs
2371 ; #:configure-flags ("--disable-static"
2372 ; "--enable-vala"))))
2373 (add-after 'configure 'dont-vendor-self
2374 (lambda* (#:key vendor-dir #:allow-other-keys)
2375 ;; Don't keep the whole tarball in the vendor directory
2376 (delete-file-recursively
2377 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2378 #t))
2379 (replace 'build
2380 (assoc-ref gnu:%standard-phases 'build))
2381 (replace 'check
2382 (lambda* args
2383 ((assoc-ref gnu:%standard-phases 'check)
2384 #:test-target "check")))
2385 (replace 'install
2386 (assoc-ref gnu:%standard-phases 'install))
2387 (add-before 'check 'remove-failing-tests
2388 (lambda _
2389 (with-directory-excursion "tests/fixtures/reftests"
2390 (for-each delete-file
2391 '(;; The images produced by these tests differ slightly
2392 ;; from their reference counterparts due to differences
2393 ;; in the build environment (missing fonts, etc). See
2394 ;; <tests/README.md> for details.
2395 ;; These fail on x86_64.
2396 "svg1.1/coords-viewattr-02-b.svg"
2397 "svg1.1/filters-composite-04-f.svg"
2398 "svg1.1/filters-image-01-b.svg"
2399 "svg1.1/filters-conv-02-f.svg"
2400 "svg1.1/filters-conv-04-f.svg"
2401 ;; This test fails on i686:
2402 "svg1.1/masking-path-04-b.svg"
2403 ;; This test fails on armhf:
2404 "svg1.1/masking-mask-01-b.svg"
2405 ;; This test fails on aarch64:
2406 "bugs/777834-empty-text-children.svg")))
2407 #t)))))
2408 (license license:lgpl2.1+)))
2409
2410 (define-public libidl
2411 (package
2412 (name "libidl")
2413 (version "0.8.14")
2414 (source (origin
2415 (method url-fetch)
2416 (uri (string-append "mirror://gnome/sources/libIDL/"
2417 (version-major+minor version) "/"
2418 "libIDL-" version ".tar.bz2"))
2419 (sha256
2420 (base32
2421 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2422 (build-system gnu-build-system)
2423 (inputs `(("glib" ,glib)))
2424 (native-inputs
2425 `(("pkg-config" ,pkg-config)
2426 ("flex" ,flex)
2427 ("bison" ,bison)))
2428 (home-page "http://freecode.com/projects/libidl")
2429 (synopsis "Create trees of CORBA Interface Definition Language files")
2430 (description "Libidl is a library for creating trees of CORBA Interface
2431 Definition Language (idl) files, which is a specification for defining
2432 portable interfaces. libidl was initially written for orbit (the orb from the
2433 GNOME project, and the primary means of libidl distribution). However, the
2434 functionality was designed to be as reusable and portable as possible.")
2435 (properties `((upstream-name . "libIDL")))
2436 (license license:lgpl2.0+)))
2437
2438
2439 (define-public orbit2
2440 (package
2441 (name "orbit2")
2442 (version "2.14.19")
2443 (source (origin
2444 (method url-fetch)
2445 (uri (let ((upstream-name "ORBit2"))
2446 (string-append "mirror://gnome/sources/" upstream-name "/"
2447 (version-major+minor version) "/"
2448 upstream-name "-" version ".tar.bz2")))
2449 (sha256
2450 (base32
2451 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2452 (build-system gnu-build-system)
2453 (arguments
2454 `(#:configure-flags
2455 '(;; We don't need static libraries, plus they don't build reproducibly
2456 ;; (non-deterministic ordering of .o files in the archive.)
2457 "--disable-static"
2458
2459 ;; The programmer kindly gives us a hook to turn off deprecation
2460 ;; warnings ...
2461 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2462 ;; ... which they then completly ignore !!
2463 #:phases
2464 (modify-phases %standard-phases
2465 (add-before 'configure 'ignore-deprecations
2466 (lambda _
2467 (substitute* "linc2/src/Makefile.in"
2468 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2469 #t)))))
2470 (inputs `(("glib" ,glib)
2471 ("libidl" ,libidl)))
2472 (native-inputs
2473 `(("pkg-config" ,pkg-config)))
2474 (home-page "https://projects.gnome.org/orbit2/")
2475 (synopsis "CORBA 2.4-compliant Object Request Broker")
2476 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2477 featuring mature C, C++ and Python bindings.")
2478 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2479 ;; a version. SOME of the code files have licence notices for GPLv2+.
2480 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2481 (license license:gpl2+)
2482 (properties `((upstream-name . "ORBit2")))))
2483
2484
2485 (define-public libbonobo
2486 (package
2487 (name "libbonobo")
2488 (version "2.32.1")
2489 (source (origin
2490 (method url-fetch)
2491 (uri (string-append "mirror://gnome/sources/" name "/"
2492 (version-major+minor version)
2493 "/" name "-" version ".tar.bz2"))
2494 (sha256
2495 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2496 (patches (search-patches
2497 "libbonobo-activation-test-race.patch"))))
2498 (build-system gnu-build-system)
2499 (arguments
2500 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2501 `(#:configure-flags
2502 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2503 ;; ... which they then completly ignore !!
2504 #:phases
2505 (modify-phases %standard-phases
2506 (add-before 'configure 'ignore-deprecations
2507 (lambda _
2508 (substitute* "activation-server/Makefile.in"
2509 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2510 #t)))
2511
2512 ;; There's apparently a race condition between the server stub
2513 ;; generation and linking of the example under 'samples/echo' that can
2514 ;; lead do undefined references when building in parallel, as reported
2515 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2516 ;; Thus, disable parallel builds.
2517 #:parallel-build? #f))
2518 (inputs `(("popt" ,popt)
2519 ("libxml2" ,libxml2)))
2520 ;; The following are Required by the .pc file
2521 (propagated-inputs
2522 `(("glib" ,glib)
2523 ("orbit2" ,orbit2)))
2524 (native-inputs
2525 `(("intltool" ,intltool)
2526 ("pkg-config" ,pkg-config)
2527 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2528 ("flex" ,flex)
2529 ("bison" ,bison)))
2530 (home-page "https://developer.gnome.org/libbonobo/")
2531 (synopsis "Framework for creating reusable components for use in GNOME applications")
2532 (description "Bonobo is a framework for creating reusable components for
2533 use in GNOME applications, built on top of CORBA.")
2534 ;; Licence not explicitly stated. Source files contain no licence notices.
2535 ;; Tarball contains text of both GPLv2 and LGPLv2
2536 ;; GPLv2 covers both conditions
2537 (license license:gpl2+)))
2538
2539
2540 (define-public gconf
2541 (package
2542 (name "gconf")
2543 (version "3.2.6")
2544 (source (origin
2545 (method url-fetch)
2546 (uri
2547 (let ((upstream-name "GConf"))
2548 (string-append "mirror://gnome/sources/" upstream-name "/"
2549 (version-major+minor version) "/"
2550 upstream-name "-" version ".tar.xz")))
2551 (sha256
2552 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2553 (build-system gnu-build-system)
2554 (inputs `(("dbus-glib" ,dbus-glib)
2555 ("libxml2" ,libxml2)))
2556 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2557 ("orbit2" ,orbit2)))
2558 (native-inputs
2559 `(("intltool" ,intltool)
2560 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2561 ("pkg-config" ,pkg-config)))
2562 (home-page "https://projects.gnome.org/gconf/")
2563 (synopsis "Store application preferences")
2564 (description "Gconf is a system for storing application preferences. It
2565 is intended for user preferences; not arbitrary data storage.")
2566 (license license:lgpl2.0+)
2567 (properties '((upstream-name . "GConf")))))
2568
2569
2570 (define-public gnome-mime-data
2571 (package
2572 (name "gnome-mime-data")
2573 (version "2.18.0")
2574 (source (origin
2575 (method url-fetch)
2576 (uri (string-append "mirror://gnome/sources/" name "/"
2577 (version-major+minor version) "/"
2578 name "-" version ".tar.bz2"))
2579 (sha256
2580 (base32
2581 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2582 (build-system gnu-build-system)
2583 (native-inputs
2584 `(("perl" ,perl)
2585 ("intltool" ,intltool)))
2586 (arguments
2587 '(#:phases (modify-phases %standard-phases
2588 (add-after 'configure 'use-our-intltool
2589 (lambda _
2590 ;; Do not use the bundled intltool commands, which lack
2591 ;; the "dotless @INC" fixes of our 'intltool' package.
2592 (substitute* (find-files "." "^Makefile$")
2593 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2594 (string-append "INTLTOOL_" tool " = intltool-"
2595 (string-downcase tool) "\n")))
2596 #t)))))
2597 (home-page "https://www.gnome.org")
2598 (synopsis "Base MIME and Application database for GNOME")
2599 (description "GNOME Mime Data is a module which contains the base MIME
2600 and Application database for GNOME. The data stored by this module is
2601 designed to be accessed through the MIME functions in GnomeVFS.")
2602 (license license:gpl2+)))
2603
2604
2605 (define-public gnome-vfs
2606 (package
2607 (name "gnome-vfs")
2608 (version "2.24.4")
2609 (source (origin
2610 (method url-fetch)
2611 (uri (string-append "mirror://gnome/sources/" name "/"
2612 (version-major+minor version) "/"
2613 name "-" version ".tar.bz2"))
2614 (sha256
2615 (base32
2616 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2617 (build-system gnu-build-system)
2618 (arguments
2619 `(#:phases
2620 (modify-phases %standard-phases
2621 (add-before 'configure 'ignore-deprecations
2622 (lambda _
2623 (substitute* '("libgnomevfs/Makefile.in"
2624 "daemon/Makefile.in")
2625 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2626 #t))
2627 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2628 (lambda _
2629 (substitute* "test/test-async-cancel.c"
2630 (("EXIT_FAILURE") "77"))
2631 #t)))))
2632 (inputs `(("libxml2" ,libxml2)
2633 ("dbus-glib" ,dbus-glib)
2634 ("gconf" ,gconf)
2635 ("gnome-mime-data" ,gnome-mime-data)
2636 ("zlib" ,zlib)))
2637 (native-inputs
2638 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2639 ("intltool" ,intltool)
2640 ("pkg-config" ,pkg-config)))
2641 (home-page "https://developer.gnome.org/gnome-vfs/")
2642 (synopsis "Access files and folders in GNOME applications")
2643 (description
2644 "GnomeVFS is the core library used to access files and folders in GNOME
2645 applications. It provides a file system abstraction which allows applications
2646 to access local and remote files with a single consistent API.")
2647 (license license:lgpl2.0+)))
2648
2649
2650
2651 (define-public libgnome
2652 (package
2653 (name "libgnome")
2654 (version "2.32.1")
2655 (source (origin
2656 (method url-fetch)
2657 (uri (string-append "mirror://gnome/sources/" name "/"
2658 (version-major+minor version) "/"
2659 name "-" version ".tar.bz2"))
2660 (sha256
2661 (base32
2662 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2663 (patches (search-patches "libgnome-encoding.patch"))))
2664 (build-system gnu-build-system)
2665 (arguments
2666 `(#:phases
2667 (modify-phases %standard-phases
2668 (add-before 'configure 'enable-deprecated
2669 (lambda _
2670 (substitute* "libgnome/Makefile.in"
2671 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2672 #t)))))
2673 (inputs `(("libxml2" ,libxml2)))
2674 (native-inputs
2675 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2676 ("intltool" ,intltool)
2677 ("pkg-config" ,pkg-config)))
2678 ;; The following are listed as Required in the .pc file
2679 ;; (except for libcanberra -- which seems to be oversight on the part
2680 ;; of the upstream developers -- anything that links against libgnome,
2681 ;; must also link against libcanberra
2682 (propagated-inputs
2683 `(("libcanberra" ,libcanberra)
2684 ("libbonobo" ,libbonobo)
2685 ("gconf" ,gconf)
2686 ("gnome-vfs" ,gnome-vfs)
2687 ("popt" ,popt))) ;gnome-program.h includes popt.h
2688 (home-page "https://developer.gnome.org/libgnome/")
2689 (synopsis "Useful routines for building applications")
2690 (description "The libgnome library provides a number of useful routines
2691 for building modern applications, including session management, activation of
2692 files and URIs, and displaying help.")
2693 (license license:lgpl2.0+)))
2694
2695
2696 (define-public libart-lgpl
2697 (package
2698 (name "libart-lgpl")
2699 (version "2.3.21")
2700 (source (origin
2701 (method url-fetch)
2702 (uri (let ((upstream-name "libart_lgpl"))
2703 (string-append "mirror://gnome/sources/" upstream-name "/"
2704 (version-major+minor version) "/"
2705 upstream-name "-" version ".tar.bz2")))
2706 (sha256
2707 (base32
2708 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2709 (build-system gnu-build-system)
2710 (native-inputs
2711 `(("pkg-config" ,pkg-config)))
2712 (home-page "https://people.gnome.org/~mathieu/libart")
2713 (synopsis "2D drawing library")
2714 (description "Libart is a 2D drawing library intended as a
2715 high-quality vector-based 2D library with antialiasing and alpha composition.")
2716 (license license:lgpl2.0+)))
2717
2718
2719
2720 (define-public libgnomecanvas
2721 (package
2722 (name "libgnomecanvas")
2723 (version "2.30.3")
2724 (source (origin
2725 (method url-fetch)
2726 (uri (string-append "mirror://gnome/sources/" name "/"
2727 (version-major+minor version) "/"
2728 name "-" version ".tar.gz"))
2729 (sha256
2730 (base32
2731 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2732 (build-system gnu-build-system)
2733 ;; Mentioned as Required in the .pc file
2734 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2735 ("gtk+" ,gtk+-2)))
2736 (native-inputs
2737 `(("intltool" ,intltool)
2738 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2739 ("pkg-config" ,pkg-config)))
2740 (home-page "https://developer.gnome.org/libgnomecanvas/")
2741 (synopsis "Flexible widget for creating interactive structured graphics")
2742 (description "The GnomeCanvas widget provides a flexible widget for
2743 creating interactive structured graphics.")
2744 (license license:lgpl2.0+)))
2745
2746 (define-public libgnomecanvasmm
2747 (package
2748 (name "libgnomecanvasmm")
2749 (version "2.26.0")
2750 (source (origin
2751 (method url-fetch)
2752 (uri (string-append "mirror://gnome/sources/" name "/"
2753 (version-major+minor version) "/"
2754 name "-" version ".tar.bz2"))
2755 (sha256
2756 (base32
2757 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2758 (build-system gnu-build-system)
2759 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2760 (native-inputs
2761 `(("gtkmm-2" ,gtkmm-2)
2762 ("pkg-config" ,pkg-config)))
2763 (home-page "https://gtkmm.org")
2764 (synopsis "C++ bindings to the GNOME Canvas library")
2765 (description "C++ bindings to the GNOME Canvas library.")
2766 (license license:lgpl2.0+)))
2767
2768 (define-public libgnomeui
2769 (package
2770 (name "libgnomeui")
2771 (version "2.24.5")
2772 (source (origin
2773 (method url-fetch)
2774 (uri (string-append "mirror://gnome/sources/" name "/"
2775 (version-major+minor version) "/"
2776 name "-" version ".tar.bz2"))
2777 (patches (search-patches "libgnomeui-utf8.patch"))
2778 (sha256
2779 (base32
2780 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2781 (build-system gnu-build-system)
2782 ;; Mentioned as Required in the .pc file
2783 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2784 ("libgnome" ,libgnome)
2785 ("libgnomecanvas" ,libgnomecanvas)
2786 ("libgnome-keyring" ,libgnome-keyring)))
2787 (inputs `(("libjpeg" ,libjpeg)
2788 ("popt" ,popt)
2789 ("libbonobo" ,libbonobo)
2790 ("libxml2" ,libxml2)
2791 ("libglade" ,libglade)))
2792 (native-inputs
2793 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2794 ("intltool" ,intltool)
2795 ("pkg-config" ,pkg-config)))
2796 (home-page "https://developer.gnome.org/libgnomeui/")
2797 (synopsis "Additional widgets for applications")
2798 (description "The libgnomeui library provides additional widgets for
2799 applications. Many of the widgets from libgnomeui have already been
2800 ported to GTK+.")
2801 (license license:lgpl2.0+)))
2802
2803 (define-public libglade
2804 (package
2805 (name "libglade")
2806 (version "2.6.4")
2807 (source (origin
2808 (method url-fetch)
2809 (uri (string-append "mirror://gnome/sources/" name "/"
2810 (version-major+minor version) "/"
2811 name "-" version ".tar.bz2"))
2812 (sha256
2813 (base32
2814 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2815 (build-system gnu-build-system)
2816 (inputs
2817 `(("python" ,python))) ;; needed for the optional libglade-convert program
2818 (propagated-inputs
2819 `(("gtk+-2" ,gtk+-2)
2820 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2821 (native-inputs
2822 `(("pkg-config" ,pkg-config)))
2823 (home-page "https://developer.gnome.org/libglade")
2824 (synopsis "Load glade interfaces and access the glade built widgets")
2825 (description "Libglade is a library that provides interfaces for loading
2826 graphical interfaces described in glade files and for accessing the
2827 widgets built in the loading process.")
2828 (license license:gpl2+))) ; This is correct. GPL not LGPL
2829
2830 (define-public libgnomeprint
2831 ;; This library has been deprecated since 2006; see
2832 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2833 (package
2834 (name "libgnomeprint")
2835 (version "2.18.8")
2836 (source (origin
2837 (method url-fetch)
2838 (uri (string-append "mirror://gnome/sources/" name "/"
2839 (version-major+minor version) "/"
2840 name "-" version ".tar.bz2"))
2841 (sha256
2842 (base32
2843 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2844 (build-system gnu-build-system)
2845 (inputs
2846 `(("popt" ,popt)
2847 ("libart-lgpl" ,libart-lgpl)
2848 ("gtk+" ,gtk+-2)
2849 ("libxml2" ,libxml2)))
2850 (native-inputs
2851 `(("intltool" ,intltool)
2852 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2853 ("pkg-config" ,pkg-config)))
2854 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2855 (synopsis "Printing framework for GNOME")
2856 (description
2857 "GNOME-print was a printing framework for GNOME. It has been deprecated
2858 since ca. 2006, when GTK+ itself incorporated printing support.")
2859 (license license:lgpl2.0+)))
2860
2861
2862 (define-public libgnomeprintui
2863 ;; Deprecated; see libgnomeprint.
2864 (package
2865 (name "libgnomeprintui")
2866 (version "2.18.6")
2867 (source (origin
2868 (method url-fetch)
2869 (uri (string-append "mirror://gnome/sources/" name "/"
2870 (version-major+minor version) "/"
2871 name "-" version ".tar.bz2"))
2872 (sha256
2873 (base32
2874 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2875 (build-system gnu-build-system)
2876 ;; Mentioned as Required in the .pc file
2877 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2878 (inputs `(("gtk+" ,gtk+-2)
2879 ("glib" ,glib)
2880 ("gnome-icon-theme" ,gnome-icon-theme)
2881 ("libgnomecanvas" ,libgnomecanvas)
2882 ("libxml2" ,libxml2)))
2883 (native-inputs
2884 `(("intltool" ,intltool)
2885 ("pkg-config" ,pkg-config)))
2886 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2887 (synopsis "Printing framework for GNOME")
2888 (description (package-description libgnomeprint))
2889 (license license:lgpl2.0+)))
2890
2891 (define-public libbonoboui
2892 (package
2893 (name "libbonoboui")
2894 (version "2.24.5")
2895 (source (origin
2896 (method url-fetch)
2897 (uri (string-append "mirror://gnome/sources/" name "/"
2898 (version-major+minor version) "/"
2899 name "-" version ".tar.bz2"))
2900 (sha256
2901 (base32
2902 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2903 (build-system gnu-build-system)
2904 (arguments
2905 `(#:phases
2906 (modify-phases %standard-phases
2907 (add-before 'check 'start-xserver
2908 (lambda* (#:key inputs #:allow-other-keys)
2909 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2910 (disp ":1"))
2911
2912 (setenv "HOME" (getcwd))
2913 (setenv "DISPLAY" disp)
2914 ;; There must be a running X server and make check doesn't start one.
2915 ;; Therefore we must do it.
2916 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2917 ;; Mentioned as Required by the .pc file
2918 (propagated-inputs `(("libxml2" ,libxml2)))
2919 (inputs
2920 `(("popt" ,popt)
2921 ("pangox-compat" ,pangox-compat)
2922 ("libgnome" ,libgnome)
2923 ("libgnomecanvas" ,libgnomecanvas)
2924 ("libglade" ,libglade)))
2925 (native-inputs
2926 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2927 ("intltool" ,intltool)
2928 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2929 ("pkg-config" ,pkg-config)))
2930 (home-page "https://developer.gnome.org/libbonoboui/")
2931 (synopsis "Some user interface controls using Bonobo")
2932 (description "The Bonobo UI library provides a number of user interface
2933 controls using the Bonobo component framework.")
2934 (license license:lgpl2.0+)))
2935
2936 (define-public libwnck
2937 (package
2938 (name "libwnck")
2939 (version "3.32.0")
2940 (source (origin
2941 (method url-fetch)
2942 (uri (string-append "mirror://gnome/sources/" name "/"
2943 (version-major+minor version) "/"
2944 name "-" version ".tar.xz"))
2945 (sha256
2946 (base32
2947 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2948 (build-system meson-build-system)
2949 (native-inputs
2950 `(("pkg-config" ,pkg-config)
2951 ("glib" ,glib "bin") ; for glib-mkenums
2952 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2953 ("intltool" ,intltool)))
2954 (propagated-inputs
2955 `(("gtk+" ,gtk+)
2956 ("libxres" ,libxres)
2957 ("startup-notification" ,startup-notification)))
2958 (home-page "https://developer.gnome.org/libwnck/")
2959 (synopsis "Window Navigator Construction Kit")
2960 (description
2961 "Libwnck is the Window Navigator Construction Kit, a library for use in
2962 writing pagers, tasklists, and more generally applications that are dealing
2963 with window management. It tries hard to respect the Extended Window Manager
2964 Hints specification (EWMH).")
2965 (license license:lgpl2.0+)))
2966
2967 ;; stable version for gtk2, required by xfwm4.
2968 (define-public libwnck-2
2969 (package (inherit libwnck)
2970 (name "libwnck")
2971 (version "2.30.7")
2972 (source (origin
2973 (method url-fetch)
2974 (uri (string-append "mirror://gnome/sources/" name "/"
2975 (version-major+minor version) "/"
2976 name "-" version ".tar.xz"))
2977 (sha256
2978 (base32
2979 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2980 (build-system gnu-build-system)
2981 (native-inputs
2982 `(("pkg-config" ,pkg-config)
2983 ("intltool" ,intltool)))
2984 (propagated-inputs
2985 `(("gtk+" ,gtk+-2)
2986 ("libxres" ,libxres)
2987 ("startup-notification" ,startup-notification)))))
2988
2989 (define-public goffice
2990 (package
2991 (name "goffice")
2992 (version "0.10.46")
2993 (source (origin
2994 (method url-fetch)
2995 (uri (string-append "mirror://gnome/sources/goffice/"
2996 (version-major+minor version) "/"
2997 "goffice-" version ".tar.xz"))
2998 (sha256
2999 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
3000 (build-system gnu-build-system)
3001 (outputs '("out"
3002 "doc")) ; 4.0 MiB of gtk-doc
3003 (arguments
3004 '(#:configure-flags (list (string-append "--with-html-dir="
3005 (assoc-ref %outputs "doc")
3006 "/share/gtk-doc/html"))))
3007 (inputs
3008 `(("gtk+" ,gtk+)
3009 ("libgsf" ,libgsf)
3010 ("librsvg" ,librsvg)
3011 ("libxslt" ,libxslt)
3012 ("libxml2" ,libxml2)))
3013 (native-inputs
3014 `(("intltool" ,intltool)
3015 ("glib" ,glib "bin")
3016 ("pkg-config" ,pkg-config)))
3017 (home-page "https://developer.gnome.org/goffice/")
3018 (synopsis "Document-centric objects and utilities")
3019 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3020 (license
3021 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3022 ;; Note: NOT LGPL
3023 (list license:gpl2 license:gpl3))))
3024
3025 (define-public goffice-0.8
3026 (package (inherit goffice)
3027 (version "0.8.17")
3028 (source (origin
3029 (method url-fetch)
3030 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3031 (version-major+minor version) "/"
3032 (package-name goffice) "-" version ".tar.xz"))
3033 (sha256
3034 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3035 (arguments
3036 `(#:phases
3037 (modify-phases %standard-phases
3038 (add-after 'unpack 'fix-pcre-check
3039 (lambda _
3040 ;; Only glib.h can be included directly. See
3041 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3042 (substitute* "configure"
3043 (("glib/gregex\\.h") "glib.h")) #t)))
3044
3045 ,@(package-arguments goffice)))
3046 (propagated-inputs
3047 ;; libgoffice-0.8.pc mentions libgsf-1
3048 `(("libgsf" ,libgsf)))
3049 (inputs
3050 `(("gtk" ,gtk+-2)
3051 ,@(alist-delete "gtk" (package-inputs goffice))))))
3052
3053 (define-public gnumeric
3054 (package
3055 (name "gnumeric")
3056 (version "1.12.46")
3057 (source (origin
3058 (method url-fetch)
3059 (uri (string-append "mirror://gnome/sources/gnumeric/"
3060 (version-major+minor version) "/"
3061 "gnumeric-" version ".tar.xz"))
3062 (sha256
3063 (base32
3064 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3065 (build-system glib-or-gtk-build-system)
3066 (arguments
3067 `(;; The gnumeric developers don't worry much about failing tests.
3068 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3069 #:tests? #f
3070 #:phases
3071 (modify-phases %standard-phases
3072 (add-before
3073 'configure 'pre-conf
3074 (lambda* (#:key outputs #:allow-other-keys)
3075 ;; Make install tries to write into the directory of goffice
3076 ;; I am informed that this only affects the possibility to embed a
3077 ;; spreadsheet inside an Abiword document. So presumably when we
3078 ;; package Abiword we'll have to refer it to this directory.
3079 (substitute* "configure"
3080 (("^GOFFICE_PLUGINS_DIR=.*")
3081 (string-append "GOFFICE_PLUGINS_DIR="
3082 (assoc-ref outputs "out")
3083 "/goffice/plugins"))))))))
3084 (inputs
3085 `(("glib" ,glib)
3086 ("gtk+" ,gtk+)
3087 ("goffice" ,goffice)
3088 ("libgsf" ,libgsf)
3089 ("librsvg" ,librsvg)
3090 ("libxml2" ,libxml2)
3091 ("libxslt" ,libxslt)
3092 ("python" ,python-2)
3093 ("python2-pygobject" ,python2-pygobject)
3094 ("zlib" ,zlib)))
3095 (native-inputs
3096 `(("bison" ,bison)
3097 ("docbook-xml" ,docbook-xml)
3098 ("intltool" ,intltool)
3099 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
3100 ("glib:bin" ,glib "bin")
3101 ("pkg-config" ,pkg-config)))
3102 (home-page "http://www.gnumeric.org")
3103 (synopsis "Spreadsheet application")
3104 (description
3105 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3106 interoperable with other spreadsheet applications. It has a vast array of
3107 features beyond typical spreadsheet functionality, such as support for linear
3108 and non-linear solvers, statistical analysis, and telecommunication
3109 engineering.")
3110 (license
3111 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3112 (list license:gpl2 license:gpl3))))
3113
3114 (define-public gnome-themes-standard
3115 (package
3116 (name "gnome-themes-standard")
3117 (version "3.22.3")
3118 (source
3119 (origin
3120 (method url-fetch)
3121 (uri (string-append "mirror://gnome/sources/" name "/"
3122 (version-major+minor version) "/" name "-"
3123 version ".tar.xz"))
3124 (sha256
3125 (base32
3126 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3127 (build-system gnu-build-system)
3128 (arguments
3129 '(#:configure-flags
3130 ;; Don't create 'icon-theme.cache'.
3131 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3132 (true (string-append coreutils "/bin/true")))
3133 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3134 (inputs
3135 `(("gtk+" ,gtk+)
3136 ("gtk+-2" ,gtk+-2)
3137 ("librsvg" ,librsvg)
3138 ("libxml2" ,libxml2)
3139 ("glib" ,glib)))
3140 (native-inputs
3141 `(("intltool" ,intltool)
3142 ("glib:bin" ,glib "bin")
3143 ("pkg-config" ,pkg-config)))
3144 (home-page "https://launchpad.net/gnome-themes-standard")
3145 (synopsis "Default GNOME 3 themes")
3146 (description
3147 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3148 (license license:lgpl2.1+)))
3149
3150 (define-public seahorse
3151 (package
3152 (name "seahorse")
3153 (version "3.32.2")
3154 (source
3155 (origin
3156 (method url-fetch)
3157 (uri (string-append "mirror://gnome/sources/" name "/"
3158 (version-major+minor version) "/" name "-"
3159 version ".tar.xz"))
3160 (sha256
3161 (base32
3162 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
3163 (patches (search-patches
3164 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3165 (build-system meson-build-system)
3166 (arguments
3167 '(#:glib-or-gtk? #t
3168 #:phases
3169 (modify-phases %standard-phases
3170 (add-after 'unpack 'skip-gtk-update-icon-cache
3171 ;; Don't create 'icon-theme.cache'.
3172 (lambda _
3173 (substitute* "build-aux/meson_post_install.py"
3174 (("gtk-update-icon-cache") "true"))
3175 #t)))))
3176 (inputs
3177 `(("gtk+" ,gtk+)
3178 ("gcr" ,gcr)
3179 ("gnupg" ,gnupg)
3180 ("gpgme" ,gpgme)
3181 ("openldap" ,openldap)
3182 ("openssh" ,openssh)
3183 ("avahi" ,avahi)
3184 ("libpwquality" ,libpwquality)
3185 ("libsecret" ,libsecret)
3186 ("libsoup" ,libsoup)))
3187 (native-inputs
3188 `(("gettext" ,gettext-minimal)
3189 ("glib:bin" ,glib "bin")
3190 ("itstool" ,itstool)
3191 ("pkg-config" ,pkg-config)
3192 ("vala" ,vala)
3193 ("xmllint" ,libxml2)))
3194 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3195 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3196 (description
3197 "Seahorse is a GNOME application for managing encryption keys and
3198 passwords in the GNOME keyring.")
3199 (license license:gpl2+)))
3200
3201 (define-public vala
3202 (package
3203 (name "vala")
3204 (version "0.44.5")
3205 (source (origin
3206 (method url-fetch)
3207 (uri (string-append "mirror://gnome/sources/" name "/"
3208 (version-major+minor version) "/"
3209 name "-" version ".tar.xz"))
3210 (sha256
3211 (base32
3212 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
3213 (build-system gnu-build-system)
3214 (arguments
3215 '(#:phases
3216 (modify-phases %standard-phases
3217 (add-before 'check 'pre-check
3218 (lambda _
3219 (setenv "CC" "gcc")
3220 (substitute* "valadoc/tests/testrunner.sh"
3221 (("export PKG_CONFIG_PATH=" m)
3222 (string-append m "$PKG_CONFIG_PATH:")))
3223 ;; For missing '/etc/machine-id'.
3224 (setenv "DBUS_FATAL_WARNINGS" "0")
3225 #t)))))
3226 (native-inputs
3227 `(("pkg-config" ,pkg-config)
3228 ("flex" ,flex)
3229 ("bison" ,bison)
3230 ("xsltproc" ,libxslt)
3231 ("dbus" ,dbus) ; for dbus tests
3232 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3233 (inputs
3234 `(("graphviz" ,graphviz)))
3235 (propagated-inputs
3236 `(("glib" ,glib))) ; required by libvala-0.40.pc
3237 (home-page "https://live.gnome.org/Vala/")
3238 (synopsis "Compiler for the GObject type system")
3239 (description
3240 "Vala is a programming language that aims to bring modern programming
3241 language features to GNOME developers without imposing any additional runtime
3242 requirements and without using a different ABI compared to applications and
3243 libraries written in C.")
3244 (license license:lgpl2.1+)))
3245
3246 (define-public vte
3247 (package
3248 (name "vte")
3249 (version "0.58.3")
3250 (source (origin
3251 (method url-fetch)
3252 (uri (string-append "mirror://gnome/sources/vte/"
3253 (version-major+minor version) "/"
3254 "vte-" version ".tar.xz"))
3255 (sha256
3256 (base32
3257 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3258 (build-system meson-build-system)
3259 (native-inputs
3260 `(("pkg-config" ,pkg-config)
3261 ("intltool" ,intltool)
3262 ("vala" ,vala)
3263 ("gobject-introspection" ,gobject-introspection)
3264 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3265 ("gperf" ,gperf)
3266 ("xmllint" ,libxml2)))
3267 (propagated-inputs
3268 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3269 ("gnutls" ,gnutls) ; ditto
3270 ("pcre2" ,pcre2))) ; ditto
3271 (home-page "https://www.gnome.org/")
3272 (synopsis "Virtual Terminal Emulator")
3273 (description
3274 "VTE is a library (libvte) implementing a terminal emulator widget for
3275 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3276 gnome-terminal, but can also be used to embed a console/terminal in games,
3277 editors, IDEs, etc.")
3278 (license license:lgpl2.1+)))
3279
3280 (define-public vte-ng
3281 (package
3282 (inherit vte)
3283 (name "vte-ng")
3284 (version "0.58.2.a")
3285 (home-page "https://github.com/thestinger/vte-ng")
3286 (source (origin
3287 (method git-fetch)
3288 (uri (git-reference (url home-page) (commit version)))
3289 (file-name (git-file-name name version))
3290 (sha256
3291 (base32
3292 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3293 (build-system meson-build-system)
3294 (native-inputs
3295 `(("gtk-doc" ,gtk-doc)
3296 ,@(package-native-inputs vte)))
3297 (arguments
3298 `(#:configure-flags '("-Ddocs=true")))
3299 (synopsis "Enhanced VTE terminal widget")
3300 (description
3301 "VTE is a library (libvte) implementing a terminal emulator widget for
3302 GTK+, this fork provides additional functions exposed for keyboard text
3303 selection and URL hints.")))
3304
3305 ;; provides vte 2.90, required for some terminal emulators
3306 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3307 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3308 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3309 ;; pantheon-terminal, roxterm are not currently packaged
3310 (define-public vte-0.36
3311 (package (inherit vte)
3312 (name "vte")
3313 (version "0.36.5")
3314 (source (origin
3315 (method url-fetch)
3316 (uri (string-append "mirror://gnome/sources/" name "/"
3317 (version-major+minor version) "/"
3318 name "-" version ".tar.xz"))
3319 (sha256
3320 (base32
3321 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3322 (propagated-inputs
3323 `(("gtk" ,gtk+)
3324 ("ncurses" ,ncurses)))))
3325
3326 ;; stable version for gtk2, required by xfce4-terminal.
3327 (define-public vte/gtk+-2
3328 (package (inherit vte)
3329 (name "vte")
3330 (version "0.28.2")
3331 (source (origin
3332 (method url-fetch)
3333 (uri (string-append "mirror://gnome/sources/" name "/"
3334 (version-major+minor version) "/"
3335 name "-" version ".tar.xz"))
3336 (sha256
3337 (base32
3338 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3339 (patches (search-patches
3340 "vte-CVE-2012-2738-pt1.patch"
3341 "vte-CVE-2012-2738-pt2.patch"))))
3342 (build-system gnu-build-system)
3343 (arguments
3344 '(#:configure-flags '("--disable-python")))
3345 (native-inputs
3346 `(("pkg-config" ,pkg-config)
3347 ("intltool" ,intltool)
3348 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3349 (propagated-inputs
3350 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3351 ("ncurses" ,ncurses))))) ; required by libvte.la
3352
3353 (define-public vinagre
3354 (package
3355 (name "vinagre")
3356 (version "3.22.0")
3357 (source (origin
3358 (method url-fetch)
3359 (uri (string-append "mirror://gnome/sources/" name "/"
3360 (version-major+minor version) "/"
3361 name "-" version ".tar.xz"))
3362 (patches (search-patches "vinagre-newer-freerdp.patch"
3363 "vinagre-newer-rdp-parameters.patch"))
3364 (sha256
3365 (base32
3366 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3367 (build-system glib-or-gtk-build-system)
3368 (arguments
3369 ;; Disable -Werror and such, to avoid build failures on compilation
3370 ;; warnings.
3371 '(#:configure-flags '("--enable-compile-warnings=minimum")
3372 #:phases
3373 (modify-phases %standard-phases
3374 (add-before 'install 'skip-gtk-update-icon-cache
3375 (lambda _
3376 ;; Don't create 'icon-theme.cache'
3377 (substitute* (find-files "." "^Makefile$")
3378 (("gtk-update-icon-cache") (which "true")))
3379 #t))
3380 (add-after 'unpack 'patch-configure
3381 (lambda _
3382 (substitute* "configure"
3383 (("freerdp") "freerdp2"))
3384 #t)))))
3385 (native-inputs
3386 `(("pkg-config" ,pkg-config)
3387 ("intltool" ,intltool)
3388 ("itstool" ,itstool)
3389 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3390 (inputs
3391 `(("libxml2" ,libxml2)
3392 ("gtk-vnc" ,gtk-vnc)
3393 ("gnome-keyring" ,gnome-keyring)
3394 ("libsecret" ,libsecret)
3395 ("freerdp" ,freerdp)
3396 ("spice" ,spice)
3397 ("spice-gtk" ,spice-gtk)
3398 ("telepathy-glib" ,telepathy-glib)
3399 ("vte" ,vte)))
3400 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3401 (synopsis "Remote desktop viewer for GNOME")
3402 (description "Vinagre is a remote display client supporting the VNC, SPICE
3403 and RDP protocols.")
3404 (license license:gpl3+)))
3405
3406 (define-public dconf
3407 (package
3408 (name "dconf")
3409 (version "0.32.0")
3410 (source (origin
3411 (method url-fetch)
3412 (uri (string-append
3413 "mirror://gnome/sources/" name "/"
3414 (version-major+minor version) "/"
3415 name "-" version ".tar.xz"))
3416 (sha256
3417 (base32
3418 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
3419 (build-system meson-build-system)
3420 (propagated-inputs
3421 ;; In Requires of dconf.pc.
3422 `(("glib" ,glib)))
3423 (inputs
3424 `(("gtk+" ,gtk+)
3425 ("dbus" ,dbus)))
3426 (native-inputs
3427 `(("bash-completion" ,bash-completion)
3428 ("libxslt" ,libxslt) ;for xsltproc
3429 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3430 ("docbook-xml" ,docbook-xml-4.2)
3431 ("docbook-xsl" ,docbook-xsl)
3432 ("glib:bin" ,glib "bin")
3433 ("gtk-doc" ,gtk-doc)
3434 ("pkg-config" ,pkg-config)
3435 ("vala" ,vala)))
3436 (arguments
3437 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3438 ; or /etc/machine-id.
3439 #:glib-or-gtk? #t
3440 #:configure-flags '("-Denable-gtk-doc=true")))
3441 (home-page "https://developer.gnome.org/dconf")
3442 (synopsis "Low-level GNOME configuration system")
3443 (description "Dconf is a low-level configuration system. Its main purpose
3444 is to provide a backend to GSettings on platforms that don't already have
3445 configuration storage systems.")
3446 (license license:lgpl2.1+)))
3447
3448 (define-public json-glib
3449 (package
3450 (name "json-glib")
3451 (version "1.4.4")
3452 (source (origin
3453 (method url-fetch)
3454 (uri (string-append "mirror://gnome/sources/" name "/"
3455 (version-major+minor version) "/"
3456 name "-" version ".tar.xz"))
3457 (sha256
3458 (base32
3459 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3460 (build-system meson-build-system)
3461 (native-inputs
3462 `(("gettext" ,gettext-minimal)
3463 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3464 ("gobject-introspection" ,gobject-introspection)
3465 ("pkg-config" ,pkg-config)))
3466 (propagated-inputs
3467 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3468 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3469 (synopsis "Compiler for the GObject type system")
3470 (description
3471 "JSON-GLib is a C library based on GLib providing serialization and
3472 deserialization support for the JavaScript Object Notation (JSON) format
3473 described by RFC 4627. It provides parser and generator GObject classes and
3474 various wrappers for the complex data types employed by JSON, such as arrays
3475 and objects.")
3476 (license license:lgpl2.1+)))
3477
3478 (define-public libxklavier
3479 (package
3480 (name "libxklavier")
3481 (version "5.4")
3482 (source (origin
3483 ;; Note: There's no tarball at ftp.gnome.org for this version.
3484 (method git-fetch)
3485 (uri (git-reference
3486 (url "https://anongit.freedesktop.org/git/libxklavier")
3487 (commit (string-append "libxklavier-" version))))
3488 (sha256
3489 (base32
3490 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3491 (file-name (git-file-name name version))))
3492 (build-system gnu-build-system)
3493 (arguments
3494 '(#:phases
3495 (modify-phases %standard-phases
3496 (add-after 'unpack 'no-configure
3497 (lambda* _
3498 (setenv "NOCONFIGURE" "1")
3499 #t)))
3500 #:configure-flags
3501 (list (string-append "--with-xkb-base="
3502 (assoc-ref %build-inputs "xkeyboard-config")
3503 "/share/X11/xkb")
3504 "--disable-xmodmap-support")))
3505 (native-inputs
3506 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3507 ("gobject-introspection" ,gobject-introspection)
3508 ("pkg-config" ,pkg-config)
3509 ("gtk-doc" ,gtk-doc)
3510 ("intltool" ,intltool)
3511 ("which" ,which)
3512 ("autoconf" ,autoconf)
3513 ("automake" ,automake)
3514 ("libtool" ,libtool)))
3515 (propagated-inputs
3516 ;; Required by libxklavier.pc.
3517 `(("glib" ,glib)
3518 ("libxml2" ,libxml2)))
3519 (inputs
3520 `(("iso-codes" ,iso-codes)
3521 ("libxi" ,libxi)
3522 ("libxkbfile" ,libxkbfile)
3523 ("xkbcomp" ,xkbcomp)
3524 ("xkeyboard-config" ,xkeyboard-config)))
3525 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3526 (synopsis "High-level API for X Keyboard Extension")
3527 (description
3528 "LibXklavier is a library providing high-level API for X Keyboard
3529 Extension known as XKB. This library is intended to support XFree86 and other
3530 commercial X servers. It is useful for creating XKB-related software (layout
3531 indicators etc).")
3532 (license license:lgpl2.0+)))
3533
3534 (define-public python2-rsvg
3535 ;; XXX: This is actually a subset of gnome-python-desktop.
3536 (package
3537 (name "python2-rsvg")
3538 (version "2.32.0")
3539 (source
3540 (origin
3541 (method url-fetch)
3542 (uri (string-append
3543 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3544 version ".tar.bz2"))
3545 (sha256
3546 (base32
3547 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3548 (build-system gnu-build-system)
3549 (native-inputs
3550 `(("pkg-config" ,pkg-config)))
3551 (inputs
3552 `(("python" ,python-2)
3553 ("python2-pygtk" ,python2-pygtk)
3554 ("librsvg" ,librsvg)))
3555 (home-page "https://www.gnome.org")
3556 (synopsis "Python bindings to librsvg")
3557 (description
3558 "This package provides Python bindings to librsvg, the SVG rendering
3559 library.")
3560
3561 ;; This is the license of the rsvg bindings. The license of each module
3562 ;; of gnome-python-desktop is given in 'COPYING'.
3563 (license license:lgpl2.1+)))
3564
3565 (define-public glib-networking
3566 (package
3567 (name "glib-networking")
3568 (version "2.60.3")
3569 (source (origin
3570 (method url-fetch)
3571 (uri (string-append "mirror://gnome/sources/glib-networking/"
3572 (version-major+minor version) "/"
3573 "glib-networking-" version ".tar.xz"))
3574 (sha256
3575 (base32
3576 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
3577 (build-system meson-build-system)
3578 (arguments
3579 `(#:configure-flags '("-Dlibproxy_support=false")))
3580 (native-inputs
3581 `(("pkg-config" ,pkg-config)
3582 ("intltool" ,intltool)))
3583 (inputs
3584 `(("glib" ,glib)
3585 ("gnutls" ,gnutls)
3586 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3587 (home-page "https://www.gnome.org")
3588 (synopsis "Network-related GIO modules")
3589 (description
3590 "This package contains various network related extensions for the GIO
3591 library.")
3592 (license license:lgpl2.0+)))
3593
3594 (define-public rest
3595 (package
3596 (name "rest")
3597 (version "0.8.1")
3598 (source (origin
3599 (method url-fetch)
3600 (uri (string-append "mirror://gnome/sources/rest/"
3601 (version-major+minor version) "/"
3602 name "-" version ".tar.xz"))
3603 (sha256
3604 (base32
3605 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3606 (build-system gnu-build-system)
3607 (arguments
3608 '(#:tests? #f ; tests require internet connection
3609 #:configure-flags
3610 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3611 (native-inputs
3612 `(("glib-mkenums" ,glib "bin")
3613 ("gobject-introspection" ,gobject-introspection)
3614 ("pkg-config" ,pkg-config)))
3615 (propagated-inputs
3616 ;; rest-0.7.pc refers to all these.
3617 `(("glib" ,glib)
3618 ("libsoup" ,libsoup)
3619 ("libxml2" ,libxml2)))
3620 (home-page "https://www.gtk.org/")
3621 (synopsis "RESTful web api query library")
3622 (description
3623 "This library was designed to make it easier to access web services that
3624 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3625 libxml to ease remote use of the RESTful API.")
3626 (license license:lgpl2.1+)))
3627
3628 (define-public libsoup
3629 (package
3630 (name "libsoup")
3631 (version "2.70.0")
3632 (source (origin
3633 (method url-fetch)
3634 (uri (string-append "mirror://gnome/sources/libsoup/"
3635 (version-major+minor version) "/"
3636 "libsoup-" version ".tar.xz"))
3637 (sha256
3638 (base32
3639 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3640 (build-system meson-build-system)
3641 (outputs '("out" "doc"))
3642 (arguments
3643 `(#:modules ((guix build utils)
3644 (guix build meson-build-system)
3645 (ice-9 popen))
3646
3647 #:configure-flags '("-Dgtk_doc=true")
3648 #:phases
3649 (modify-phases %standard-phases
3650 (add-after 'unpack 'adjust-tests
3651 (lambda _
3652 ;; This test fails due to missing /etc/nsswitch.conf
3653 ;; in the build environment.
3654 (substitute* "tests/socket-test.c"
3655 ((".*/sockets/unconnected.*") ""))
3656
3657 ;; These fail because "subdomain.localhost" does not resolve in
3658 ;; the build environment.
3659 (substitute* "tests/hsts-test.c"
3660 ((".*/hsts/basic.*") "")
3661 ((".*/hsts/subdomains.*") "")
3662 ((".*/hsts/superdomain.*") "")
3663 ((".*/hsts/utf8-address.*") ""))
3664 (substitute* "tests/hsts-db-test.c"
3665 ((".*/hsts-db/subdomains.*") ""))
3666
3667 ;; Generate a self-signed certificate that has "localhost" as its
3668 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3669 ;; 3.5.12, tests such as "ssl-tests" fail:
3670 ;;
3671 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3672 ;;
3673 ;; 'certtool' is interactive so we have to pipe it the answers.
3674 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3675 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3676 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3677 (for-each (lambda (line)
3678 (display line pipe)
3679 (newline pipe))
3680 '("" ;Common name
3681 "" ;UID
3682 "Guix" ;Organizational unit name
3683 "GNU" ;Organization name
3684 "" ;Locality name
3685 "" ;State or province
3686 "" ;Country
3687 "" ;subject's domain component (DC)
3688 "" ;E-mail
3689 "" ;serial number
3690 "-1" ;expiration time
3691 "N" ;belong to authority?
3692 "N" ;web client certificate?
3693 "N" ;IPsec IKE?
3694 "Y" ;web server certificate?
3695 "localhost" ;dnsName of subject
3696 "" ;dnsName of subject (end)
3697 "" ;URI of subject
3698 "127.0.0.1" ;IP address of subject
3699 "" ;signing?
3700 "" ;encryption (RSA)?
3701 "" ;data encryption?
3702 "" ;sign OCSP requests?
3703 "" ;sign code?
3704 "" ;time stamping?
3705 "" ;email protection?
3706 "" ;URI of the CRL distribution point
3707 "y" ;above info OK?
3708 ))
3709 (close-pipe pipe))
3710 #t))
3711 (add-after 'install 'move-doc
3712 (lambda* (#:key outputs #:allow-other-keys)
3713 (let ((out (assoc-ref outputs "out"))
3714 (doc (assoc-ref outputs "doc")))
3715 (mkdir-p (string-append doc "/share"))
3716 (copy-recursively (string-append out "/share/gtk-doc")
3717 (string-append doc "/share/gtk-doc"))
3718 (delete-file-recursively (string-append out "/share/gtk-doc"))
3719 #t))))))
3720 (native-inputs
3721 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3722 ("gobject-introspection" ,gobject-introspection)
3723 ("gtk-doc" ,gtk-doc)
3724 ("intltool" ,intltool)
3725 ("pkg-config" ,pkg-config)
3726 ("python" ,python-wrapper)
3727 ("vala" ,vala)
3728 ;; These are needed for the tests.
3729 ;; FIXME: Add PHP once available.
3730 ("curl" ,curl)
3731 ("gnutls" ,gnutls) ;for 'certtool'
3732 ("httpd" ,httpd)))
3733 (propagated-inputs
3734 ;; libsoup-2.4.pc refers to all these.
3735 `(("brotli" ,google-brotli)
3736 ("glib" ,glib)
3737 ("libpsl" ,libpsl)
3738 ("libxml2" ,libxml2)
3739 ("sqlite" ,sqlite)
3740 ("zlib" ,zlib)))
3741 (inputs
3742 `(("glib-networking" ,glib-networking)
3743 ("mit-krb5" ,mit-krb5)))
3744 (home-page "https://live.gnome.org/LibSoup/")
3745 (synopsis "GLib-based HTTP Library")
3746 (description
3747 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3748 and the GLib main loop, to integrate well with GNOME applications.")
3749 (license license:lgpl2.0+)))
3750
3751 (define-public libsecret
3752 (package
3753 (name "libsecret")
3754 (version "0.20.2")
3755 (source (origin
3756 (method url-fetch)
3757 (uri (string-append
3758 "mirror://gnome/sources/libsecret/"
3759 (version-major+minor version) "/"
3760 "libsecret-" version ".tar.xz"))
3761 (sha256
3762 (base32
3763 "1hzz34gmsxxf1jm1b7qin390rkwbg8sx198xdkwxqp3q6cw19sc1"))))
3764 (build-system gnu-build-system)
3765 (outputs '("out" "doc"))
3766 (arguments
3767 `(#:tests? #f ; FIXME: Testing hangs.
3768 #:configure-flags
3769 (list (string-append "--with-html-dir="
3770 (assoc-ref %outputs "doc")
3771 "/share/gtk-doc/html"))))
3772 (native-inputs
3773 `(("gettext" ,gettext-minimal)
3774 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3775 ("gobject-introspection" ,gobject-introspection)
3776 ("pkg-config" ,pkg-config)
3777 ("vala" ,vala)
3778 ("xsltproc" ,libxslt)))
3779 ;; These are needed for the tests.
3780 ;; FIXME: Add gjs once available.
3781 ;("dbus" ,dbus)
3782 ;("python2" ,python-2)
3783 ;("python2-dbus" ,python2-dbus)
3784 ;("python2-pygobject" ,python2-pygobject)
3785 ;("python2-pygobject-2" ,python2-pygobject-2)))
3786 (propagated-inputs
3787 `(("glib" ,glib))) ; required by libsecret-1.pc
3788 (inputs
3789 `(("docbook-xsl" ,docbook-xsl)
3790 ("libgcrypt" ,libgcrypt)
3791 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3792 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3793 (synopsis "GObject bindings for \"Secret Service\" API")
3794 (description
3795 "Libsecret is a GObject based library for storing and retrieving passwords
3796 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3797 (license license:lgpl2.1+)))
3798
3799 (define-public five-or-more
3800 (package
3801 (name "five-or-more")
3802 (version "3.32.1")
3803 (source
3804 (origin
3805 (method url-fetch)
3806 (uri (string-append "mirror://gnome/sources/five-or-more/"
3807 (version-major+minor version) "/"
3808 "five-or-more-" version ".tar.xz"))
3809 (sha256
3810 (base32 "0xw05dd2dwi9vsph9h158b4n89s5k07xrh6bjz1icm0pdmjwhpgk"))))
3811 (build-system meson-build-system)
3812 (arguments
3813 '(#:glib-or-gtk? #t
3814 #:phases
3815 (modify-phases %standard-phases
3816 (add-after 'unpack 'skip-gtk-update-icon-cache
3817 (lambda _
3818 (substitute* "meson_post_install.py"
3819 (("gtk-update-icon-cache") (which "true")))
3820 #t)))))
3821 (native-inputs
3822 `(("pkg-config" ,pkg-config)
3823 ("appstream-glib" ,appstream-glib)
3824 ("desktop-file-utils" ,desktop-file-utils)
3825 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3826 ("intltool" ,intltool)
3827 ("itstool" ,itstool)
3828 ("vala" ,vala)
3829 ("xmllint" ,libxml2)))
3830 (inputs
3831 `(("gtk+" ,gtk+)
3832 ("libgnome-games-support" ,libgnome-games-support)
3833 ("librsvg" ,librsvg)))
3834 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3835 (synopsis "Logic puzzle game")
3836 (description "Five or More is a game where you try to align
3837 five or more objects of the same color and shape causing them to disappear.
3838 On every turn more objects will appear, until the board is full.
3839 Try to last as long as possible.")
3840 (license license:gpl2+)))
3841
3842 (define-public gnome-mines
3843 (package
3844 (name "gnome-mines")
3845 (version "3.32.2")
3846 (source
3847 (origin
3848 (method url-fetch)
3849 (uri (string-append "mirror://gnome/sources/" name "/"
3850 (version-major+minor version) "/"
3851 name "-" version ".tar.xz"))
3852 (sha256
3853 (base32
3854 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
3855 (build-system meson-build-system)
3856 (arguments
3857 '(#:glib-or-gtk? #t
3858 #:phases
3859 (modify-phases %standard-phases
3860 (add-after 'unpack 'skip-gtk-update-icon-cache
3861 (lambda _
3862 (substitute* "build-aux/meson_post_install.py"
3863 (("gtk-update-icon-cache") (which "true")))
3864 #t)))))
3865 (native-inputs
3866 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3867 ("pkg-config" ,pkg-config)
3868 ("desktop-file-utils" ,desktop-file-utils)
3869 ("intltool" ,intltool)
3870 ("itstool" ,itstool)
3871 ("vala" ,vala)
3872 ("yelp" ,yelp)
3873 ("appstream-glib" ,appstream-glib)))
3874 (inputs
3875 `(("gtk+" ,gtk+)
3876 ("libgnome-games-support" ,libgnome-games-support)
3877 ("librsvg" ,librsvg)))
3878 (home-page "https://wiki.gnome.org/Apps/Mines")
3879 (synopsis "Minesweeper game")
3880 (description
3881 "Mines (previously gnomine) is a puzzle game where you locate mines
3882 floating in an ocean using only your brain and a little bit of luck.")
3883 (license license:gpl2+)))
3884
3885 (define-public gnome-sudoku
3886 (package
3887 (name "gnome-sudoku")
3888 (version "3.32.0")
3889 (source
3890 (origin
3891 (method url-fetch)
3892 (uri (string-append "mirror://gnome/sources/" name "/"
3893 (version-major+minor version) "/"
3894 name "-" version ".tar.xz"))
3895 (sha256
3896 (base32
3897 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3898 (build-system meson-build-system)
3899 (arguments
3900 '(#:glib-or-gtk? #t
3901 #:phases
3902 (modify-phases %standard-phases
3903 (add-after 'unpack 'skip-gtk-update-icon-cache
3904 (lambda _
3905 (substitute* "build-aux/post_install.py"
3906 (("gtk-update-icon-cache") (which "true")))
3907 #t)))))
3908 (native-inputs
3909 `(("pkg-config" ,pkg-config)
3910 ("desktop-file-utils" ,desktop-file-utils)
3911 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3912 ("intltool" ,intltool)
3913 ("itstool" ,itstool)
3914 ("vala" ,vala)
3915 ("xmllint" ,libxml2)))
3916 (inputs
3917 `(("gtk+" ,gtk+)
3918 ("json-glib" ,json-glib)
3919 ("libgee" ,libgee)
3920 ("librsvg" ,librsvg)
3921 ("qqwing" ,qqwing)))
3922 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3923 (synopsis "Japanese logic game")
3924 (description
3925 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3926 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3927 possible while still providing features that make playing difficult Sudoku
3928 more fun.")
3929 (license license:gpl2+)))
3930
3931 (define-public gnome-terminal
3932 (package
3933 (name "gnome-terminal")
3934 (version "3.32.2")
3935 (source
3936 (origin
3937 (method url-fetch)
3938 (uri (string-append "mirror://gnome/sources/" name "/"
3939 (version-major+minor version) "/"
3940 name "-" version ".tar.xz"))
3941 (sha256
3942 (base32
3943 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
3944 (build-system glib-or-gtk-build-system)
3945 (arguments
3946 '(#:configure-flags
3947 (list "--disable-migration" "--disable-search-provider"
3948 "--without-nautilus-extension")
3949 #:phases
3950 (modify-phases %standard-phases
3951 (add-before 'configure 'patch-/bin/true
3952 (lambda _
3953 (substitute* "configure"
3954 (("/bin/true") (which "true"))))))))
3955 (native-inputs
3956 `(("pkg-config" ,pkg-config)
3957 ("desktop-file-utils" ,desktop-file-utils)
3958 ("intltool" ,intltool)
3959 ("itstool" ,itstool)
3960 ("xmllint" ,libxml2)))
3961 (propagated-inputs
3962 `(("dconf" ,dconf)))
3963 (inputs
3964 `(("gtk+" ,gtk+)
3965 ("vte" ,vte)
3966 ("gnutls" ,gnutls)
3967 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3968 ("util-linux" ,util-linux)
3969 ("vala" ,vala)))
3970 (home-page "https://wiki.gnome.org/Apps/Terminal")
3971 (synopsis "Terminal emulator")
3972 (description
3973 "GNOME Terminal is a terminal emulator application for accessing a
3974 UNIX shell environment which can be used to run programs available on
3975 your system.
3976
3977 It supports several profiles, multiple tabs and implements several
3978 keyboard shortcuts.")
3979 (license license:gpl3+)))
3980
3981 (define-public colord
3982 (package
3983 (name "colord")
3984 (version "1.4.4")
3985 (source
3986 (origin
3987 (method url-fetch)
3988 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3989 "colord-" version ".tar.xz"))
3990 (sha256
3991 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3992 (build-system meson-build-system)
3993 (arguments
3994 '(;; FIXME: One test fails:
3995 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3996 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3997 ;; application/x-zerosize
3998 #:tests? #f
3999 #:glib-or-gtk? #t
4000 #:configure-flags (list "-Dlocalstatedir=/var"
4001 ;; No dep on systemd.
4002 "-Dsystemd=false"
4003 ;; Wants to install to global completion dir;
4004 ;; punt.
4005 "-Dbash_completion=false"
4006 "-Ddaemon_user=colord"
4007 "-Dsane=true"
4008 "-Dvapi=true"
4009 ;; Requires spotread.
4010 "-Dargyllcms_sensor=false"
4011 ;; TODO: Requires docbook2x.
4012 "-Dman=false")
4013 #:phases
4014 (modify-phases %standard-phases
4015 (add-before 'configure 'patch-build-system
4016 (lambda* (#:key outputs #:allow-other-keys)
4017 (substitute* "rules/meson.build"
4018 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4019 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4020 #t))
4021 (add-before 'configure 'set-sqlite3-file-name
4022 (lambda* (#:key inputs #:allow-other-keys)
4023 ;; "colormgr dump" works by invoking the "sqlite3" command.
4024 ;; Record its absolute file name.
4025 (let ((sqlite (assoc-ref inputs "sqlite")))
4026 (substitute* "client/cd-util.c"
4027 (("\"sqlite3\"")
4028 (string-append "\"" sqlite "/bin/sqlite3\"")))
4029 #t))))))
4030 (native-inputs
4031 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4032 ("gettext" ,gettext-minimal)
4033 ("gobject-introspection" ,gobject-introspection)
4034 ("gtk-doc" ,gtk-doc)
4035 ("pkg-config" ,pkg-config)
4036 ("vala" ,vala)))
4037 (propagated-inputs
4038 ;; colord.pc refers to all these.
4039 `(("glib" ,glib)
4040 ("lcms" ,lcms)
4041 ("udev" ,eudev)))
4042 (inputs
4043 `(("dbus-glib" ,dbus-glib)
4044 ("gusb" ,gusb)
4045 ("libgudev" ,libgudev)
4046 ("libusb" ,libusb)
4047 ("polkit" ,polkit)
4048 ("python" ,python-wrapper)
4049 ("sqlite" ,sqlite)
4050 ("sane-backends" ,sane-backends)))
4051 (home-page "https://www.freedesktop.org/software/colord/")
4052 (synopsis "Color management service")
4053 (description "Colord is a system service that makes it easy to manage,
4054 install and generate color profiles to accurately color manage input and
4055 output devices.")
4056 (license license:gpl2+)))
4057
4058 (define-public geoclue
4059 (package
4060 (name "geoclue")
4061 (version "2.5.5")
4062 (source
4063 (origin
4064 (method url-fetch)
4065 (uri
4066 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4067 version "/geoclue-" version ".tar.bz2"))
4068 (sha256
4069 (base32
4070 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4071 (patches (search-patches "geoclue-config.patch"))))
4072 (build-system meson-build-system)
4073 (arguments
4074 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4075 (native-inputs
4076 `(("pkg-config" ,pkg-config)
4077 ("gobject-introspection" ,gobject-introspection)
4078 ("modem-manager" ,modem-manager)
4079 ("libnotify" ,libnotify)
4080 ("gtk-doc", gtk-doc)
4081 ("intltool" ,intltool)))
4082 (inputs
4083 `(("avahi" ,avahi)
4084 ("glib:bin" ,glib "bin")
4085 ("glib-networking" ,glib-networking)
4086 ("json-glib" ,json-glib)
4087 ("libsoup" ,libsoup)))
4088 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4089 (synopsis "Geolocation service")
4090 (description "Geoclue is a D-Bus service that provides location
4091 information. The primary goal of the Geoclue project is to make creating
4092 location-aware applications as simple as possible, while the secondary goal is
4093 to ensure that no application can access location information without explicit
4094 permission from user.")
4095 (license license:gpl2+)))
4096
4097 (define-public geocode-glib
4098 (package
4099 (name "geocode-glib")
4100 (version "3.26.1")
4101 (source (origin
4102 (method url-fetch)
4103 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4104 (version-major+minor version) "/"
4105 "geocode-glib-" version ".tar.xz"))
4106 (sha256
4107 (base32
4108 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4109 (build-system meson-build-system)
4110 (arguments
4111 `(#:phases
4112 (modify-phases %standard-phases
4113 ;; The tests require a bunch of locales.
4114 (add-before 'check 'set-locales
4115 (lambda* (#:key inputs #:allow-other-keys)
4116 (setenv "GUIX_LOCPATH"
4117 (string-append (assoc-ref inputs "glibc-locales")
4118 "/lib/locale"))
4119 #t)))))
4120 (native-inputs
4121 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4122 ("glibc-locales" ,glibc-locales) ; for tests
4123 ("gettext" ,gettext-minimal)
4124 ("gobject-introspection" ,gobject-introspection)
4125 ("gtk-doc" ,gtk-doc)
4126 ("pkg-config" ,pkg-config)
4127 ("json-glib" ,json-glib)))
4128 (propagated-inputs
4129 ;; geocode-glib-1.0.pc refers to GIO.
4130 `(("glib" ,glib)))
4131 (inputs
4132 `(("libsoup" ,libsoup)))
4133 (home-page "https://github.com/GNOME/geocode-glib/")
4134 (synopsis "Geocoding and reverse-geocoding library")
4135 (description
4136 "geocode-glib is a convenience library for geocoding (finding longitude,
4137 and latitude from an address) and reverse geocoding (finding an address from
4138 coordinates) using the Nominatim service. geocode-glib caches requests for
4139 faster results and to avoid unnecessary server load.")
4140 (license license:lgpl2.0+)))
4141
4142 (define-public upower
4143 (package
4144 (name "upower")
4145 (version "0.99.11")
4146 (source (origin
4147 (method url-fetch)
4148 (uri (string-append "https://upower.freedesktop.org/releases/"
4149 "upower-" version ".tar.xz"))
4150 (sha256
4151 (base32
4152 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4153 (patches (search-patches "upower-builddir.patch"))
4154 (modules '((guix build utils)))
4155 (snippet
4156 '(begin
4157 ;; Upstream commit
4158 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4159 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4160 ;; 'dbus-configuration-directory' in (gnu services dbus)
4161 ;; expects it in etc/. Thus, move it back to its previous
4162 ;; location.
4163 (substitute* "src/Makefile.in"
4164 (("^dbusconfdir =.*$")
4165 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4166 #t))))
4167 (build-system glib-or-gtk-build-system)
4168 (arguments
4169 '( ;; The tests want to contact the system bus, which can't be done in the
4170 ;; build environment. The integration test can run, but the last of
4171 ;; the up-self-tests doesn't. Disable tests for now.
4172 #:tests? #f
4173 #:configure-flags (list "--localstatedir=/var"
4174 (string-append "--with-udevrulesdir="
4175 (assoc-ref %outputs "out")
4176 "/lib/udev/rules.d"))))
4177 (native-inputs
4178 `(("gobject-introspection" ,gobject-introspection)
4179 ("pkg-config" ,pkg-config)
4180 ("intltool" ,intltool)
4181 ("python" ,python)
4182
4183 ;; For man pages.
4184 ("libxslt" ,libxslt) ;for 'xsltproc'
4185 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4186 ("docbook-xsl" ,docbook-xsl)))
4187 (inputs
4188 `(("dbus-glib" ,dbus-glib)
4189 ("libgudev" ,libgudev)
4190 ("libusb" ,libusb)))
4191 (propagated-inputs
4192 ;; In Requires of upower-glib.pc.
4193 `(("glib" ,glib)))
4194 (home-page "https://upower.freedesktop.org/")
4195 (synopsis "System daemon for managing power devices")
4196 (description
4197 "UPower is an abstraction for enumerating power devices,
4198 listening to device events and querying history and statistics. Any
4199 application or service on the system can access the org.freedesktop.UPower
4200 service via the system message bus.")
4201 (license license:gpl2+)))
4202
4203 (define-public libgweather
4204 (package
4205 (name "libgweather")
4206 (version "3.28.3")
4207 (source (origin
4208 (method url-fetch)
4209 (uri (string-append "mirror://gnome/sources/" name "/"
4210 (version-major+minor version) "/"
4211 name "-" version ".tar.xz"))
4212 (sha256
4213 (base32
4214 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
4215 (build-system meson-build-system)
4216 (arguments
4217 `(#:tests? #f ; one of two tests requires network access
4218 #:configure-flags
4219 `(,(string-append "-Dzoneinfo_dir="
4220 (assoc-ref %build-inputs "tzdata")
4221 "/share/zoneinfo"))))
4222 (native-inputs
4223 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4224 ("gobject-introspection" ,gobject-introspection)
4225 ("pkg-config" ,pkg-config)
4226 ("vala" ,vala)
4227 ("intltool" ,intltool)))
4228 (propagated-inputs
4229 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4230 ;; libsoup.
4231 `(("gtk+" ,gtk+)
4232 ("gdk-pixbuf" ,gdk-pixbuf)
4233 ("libxml2" ,libxml2)
4234 ("libsoup" ,libsoup)
4235 ("geocode-glib" ,geocode-glib)))
4236 (inputs
4237 `(("tzdata" ,tzdata)))
4238 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4239 (synopsis "Location, time zone, and weather library for GNOME")
4240 (description
4241 "libgweather is a library to access weather information from online
4242 services for numerous locations.")
4243 (license license:gpl2+)))
4244
4245 (define-public gnome-settings-daemon
4246 (package
4247 (name "gnome-settings-daemon")
4248 (version "3.32.1")
4249 (source
4250 (origin
4251 (method url-fetch)
4252 (uri (string-append "mirror://gnome/sources/" name "/"
4253 (version-major+minor version) "/"
4254 name "-" version ".tar.xz"))
4255 (sha256
4256 (base32
4257 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
4258 (build-system meson-build-system)
4259 (arguments
4260 `(#:glib-or-gtk? #t
4261 #:configure-flags
4262 (list (string-append "-Dudev_dir="
4263 (assoc-ref %outputs "out")
4264 "/lib/udev/rules.d/")
4265 ;; Otherwise, the RUNPATH will lack the final path component.
4266 (string-append "-Dc_link_args=-Wl,-rpath="
4267 (assoc-ref %outputs "out")
4268 "/lib/gnome-settings-daemon-3.0"))
4269 ;; Color management test can't reach the colord system service.
4270 #:tests? #f))
4271 (native-inputs
4272 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4273 ("pkg-config" ,pkg-config)
4274 ("intltool" ,intltool)
4275 ("xsltproc" ,libxslt)
4276 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4277 ("docbook-xml" ,docbook-xml-4.2)
4278 ("docbook-xsl" ,docbook-xsl)))
4279 (inputs
4280 `(("alsa-lib" ,alsa-lib)
4281 ("colord" ,colord)
4282 ("libgudev" ,libgudev)
4283 ("upower" ,upower)
4284 ("polkit" ,polkit)
4285 ("pulseaudio" ,pulseaudio)
4286 ("libcanberra" ,libcanberra)
4287 ("libx11" ,libx11)
4288 ("libxtst" ,libxtst)
4289 ("lcms" ,lcms)
4290 ("libnotify" ,libnotify)
4291 ("geoclue" ,geoclue)
4292 ("geocode-glib" ,geocode-glib)
4293 ("libgweather" ,libgweather)
4294 ("gnome-desktop" ,gnome-desktop)
4295 ("nss" ,nss)
4296 ("cups" ,cups)
4297 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4298 ("libwacom" ,libwacom)
4299 ("librsvg" ,librsvg)
4300 ("xf86-input-wacom" ,xf86-input-wacom)
4301 ("wayland" ,wayland)
4302 ("network-manager" ,network-manager)))
4303 (home-page "https://www.gnome.org")
4304 (synopsis "GNOME settings daemon")
4305 (description
4306 "This package contains the daemon responsible for setting the various
4307 parameters of a GNOME session and the applications that run under it. It
4308 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4309 settings, themes, mouse settings, and startup of other daemons.")
4310 (license license:gpl2+)))
4311
4312 (define-public totem-pl-parser
4313 (package
4314 (name "totem-pl-parser")
4315 (version "3.26.3")
4316 (source (origin
4317 (method url-fetch)
4318 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4319 (version-major+minor version) "/"
4320 "totem-pl-parser-" version ".tar.xz"))
4321 (sha256
4322 (base32
4323 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4324 (build-system meson-build-system)
4325 (arguments
4326 ;; FIXME: Tests require gvfs.
4327 `(#:tests? #f))
4328 (native-inputs
4329 `(("intltool" ,intltool)
4330 ("glib" ,glib "bin")
4331 ("gobject-introspection" ,gobject-introspection)
4332 ("pkg-config" ,pkg-config)))
4333 (propagated-inputs
4334 `(("glib" ,glib)
4335 ("gmime" ,gmime)
4336 ("libarchive" ,libarchive)
4337 ("libgcrypt" ,libgcrypt)
4338 ("libxml2" ,libxml2)))
4339 (inputs
4340 `(("libsoup" ,libsoup)))
4341 (home-page "https://projects.gnome.org/totem")
4342 (synopsis "Library to parse and save media playlists for GNOME")
4343 (description "Totem-pl-parser is a GObjects-based library to parse and save
4344 playlists in a variety of formats.")
4345 (license license:lgpl2.0+)))
4346
4347 (define-public aisleriot
4348 (package
4349 (name "aisleriot")
4350 (version "3.22.9")
4351 (source (origin
4352 (method url-fetch)
4353 (uri (string-append "mirror://gnome/sources/aisleriot/"
4354 (version-major+minor version) "/"
4355 "aisleriot-" version ".tar.xz"))
4356 (sha256
4357 (base32
4358 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4359 (build-system glib-or-gtk-build-system)
4360 (arguments
4361 '(#:configure-flags
4362 '("--with-platform=gtk-only"
4363 "--with-card-theme-formats=svg")))
4364 (native-inputs
4365 `(("desktop-file-utils" ,desktop-file-utils)
4366 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4367 ("intltool" ,intltool)
4368 ("itstool" ,itstool)
4369 ("pkg-config" ,pkg-config)
4370 ("xmllint" ,libxml2)))
4371 (inputs
4372 `(("gtk+" ,gtk+)
4373 ("guile" ,guile-2.2)
4374 ("libcanberra" ,libcanberra)
4375 ("librsvg" ,librsvg)))
4376 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4377 (synopsis "Solitaire card games")
4378 (description
4379 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4380 which are easy to play with the aid of a mouse.")
4381 (license license:gpl3+)))
4382
4383 (define-public amtk
4384 (package
4385 (name "amtk")
4386 (version "5.0.2")
4387 (source (origin
4388 (method url-fetch)
4389 (uri (string-append "mirror://gnome/sources/amtk/"
4390 (version-major+minor version) "/"
4391 "amtk-" version ".tar.xz"))
4392 (sha256
4393 (base32
4394 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4395 (build-system gnu-build-system)
4396 (arguments
4397 '(#:configure-flags '("--enable-gtk-doc")))
4398 (native-inputs
4399 `(("gobject-introspection" ,gobject-introspection)
4400 ("glib:bin" ,glib "bin") ; for glib-mkenums
4401 ("gtk-doc" ,gtk-doc)
4402 ("pkg-config" ,pkg-config)))
4403 (inputs
4404 `(("glib" ,glib)
4405 ("gtk+" ,gtk+)))
4406 (home-page "https://wiki.gnome.org/Projects/Amtk")
4407 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4408 (description
4409 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4410 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4411 both a traditional UI or a modern UI with a GtkHeaderBar.")
4412 (license license:lgpl2.1+)))
4413
4414 (define-public devhelp
4415 (package
4416 (name "devhelp")
4417 (version "3.32.0")
4418 (source (origin
4419 (method url-fetch)
4420 (uri (string-append "mirror://gnome/sources/" name "/"
4421 (version-major+minor version) "/"
4422 name "-" version ".tar.xz"))
4423 (sha256
4424 (base32
4425 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
4426 (build-system meson-build-system)
4427 (arguments
4428 '(#:glib-or-gtk? #t
4429 #:phases
4430 (modify-phases %standard-phases
4431 (add-after 'unpack 'skip-gtk-update-icon-cache
4432 ;; Don't create 'icon-theme.cache'.
4433 (lambda _
4434 (substitute* "meson_post_install.py"
4435 (("gtk-update-icon-cache") "true"))
4436 #t)))))
4437 (native-inputs
4438 `(("intltool" ,intltool)
4439 ("itstool" ,itstool)
4440 ("gobject-introspection" ,gobject-introspection)
4441 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4442 ("pkg-config" ,pkg-config)))
4443 (inputs
4444 `(("amtk" ,amtk)
4445 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4446 ("webkitgtk" ,webkitgtk)))
4447 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4448 (synopsis "API documentation browser for GNOME")
4449 (description
4450 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4451 natively with GTK-Doc (the API reference system developed for GTK+ and used
4452 throughout GNOME for API documentation).")
4453 (license license:gpl2+)))
4454
4455 (define-public cogl
4456 (package
4457 (name "cogl")
4458 (version "1.22.4")
4459 (source
4460 (origin
4461 (method url-fetch)
4462 (uri (string-append "mirror://gnome/sources/cogl/"
4463 (version-major+minor version) "/"
4464 "cogl-" version ".tar.xz"))
4465 (sha256
4466 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
4467 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4468 ;; cogl, corresponding changes may be appropriate in mutter as well.
4469 (build-system gnu-build-system)
4470 (native-inputs
4471 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4472 ("gobject-introspection" ,gobject-introspection)
4473 ;;("xorg-server" ,xorg-server) ; for the test suite
4474 ("pkg-config" ,pkg-config)))
4475 (propagated-inputs
4476 `(("glib" ,glib)
4477 ("gdk-pixbuf" ,gdk-pixbuf)
4478 ("libx11" ,libx11)
4479 ("libxext" ,libxext)
4480 ("libxfixes" ,libxfixes)
4481 ("libxdamage" ,libxdamage)
4482 ("libxcomposite" ,libxcomposite)
4483 ("libxrandr" ,libxrandr)))
4484 (inputs
4485 `(("mesa" ,mesa)
4486 ("cairo" ,cairo)
4487 ("pango" ,pango)
4488 ("gstreamer" ,gstreamer)
4489 ("gst-plugins-base" ,gst-plugins-base)
4490 ("wayland" ,wayland)))
4491 (arguments
4492 `(#:configure-flags (list "--enable-cogl-gst"
4493 "--enable-wayland-egl-platform"
4494 "--enable-wayland-egl-server"
4495
4496 ;; Arrange to pass an absolute file name to
4497 ;; dlopen for libGL.so.
4498 (string-append "--with-gl-libname="
4499 (assoc-ref %build-inputs "mesa")
4500 "/lib/libGL.so"))
4501 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4502 ;; _FontTransOpen: Unable to Parse address
4503 ;; ${prefix}/share/fonts/X11/misc/
4504 #:tests? #f
4505 #; #:phases
4506 #;
4507 (modify-phases %standard-phases
4508 (add-before 'check 'start-xorg-server
4509 (lambda* (#:key inputs #:allow-other-keys)
4510 ;; The test suite requires a running X server.
4511 (system (format #f "~a/bin/Xvfb :1 &"
4512 (assoc-ref inputs "xorg-server")))
4513 (setenv "DISPLAY" ":1")
4514 #t)))))
4515 (home-page "https://www.cogl3d.org")
4516 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4517 (description
4518 "Cogl is a small library for using 3D graphics hardware to draw pretty
4519 pictures. The API departs from the flat state machine style of OpenGL and is
4520 designed to make it easy to write orthogonal components that can render
4521 without stepping on each others toes.")
4522 (license (list license:expat ; most of the code
4523 license:bsd-3 ; cogl/cogl-point-in-poly.c
4524 license:sgifreeb2.0 ; cogl-path/tesselator/
4525 license:asl2.0)))) ; examples/android/
4526
4527 (define-public clutter
4528 (package
4529 (name "clutter")
4530 (version "1.26.2")
4531 (source
4532 (origin
4533 (method url-fetch)
4534 (uri (string-append "mirror://gnome/sources/" name "/"
4535 (version-major+minor version) "/"
4536 name "-" version ".tar.xz"))
4537 (sha256
4538 (base32
4539 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4540 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4541 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4542 (build-system gnu-build-system)
4543 (outputs '("out"
4544 "doc")) ;9 MiB of gtk-doc HTML pages
4545 (native-inputs
4546 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4547 ("gobject-introspection" ,gobject-introspection)
4548 ("pkg-config" ,pkg-config)
4549 ("xsltproc" ,libxslt)))
4550 (propagated-inputs
4551 `(("cogl" ,cogl)
4552 ("cairo" ,cairo)
4553 ("atk" ,atk)
4554 ("gtk+" ,gtk+)
4555 ("json-glib" ,json-glib)
4556 ("glib" ,glib)
4557 ("libxcomposite" ,libxcomposite)
4558 ("libxdamage" ,libxdamage)
4559 ("libxext" ,libxext)
4560 ("xinput" ,xinput)))
4561 (inputs
4562 `(("libxkbcommon" ,libxkbcommon)
4563 ("udev" ,eudev)))
4564 (arguments
4565 `(#:configure-flags (list "--enable-x11-backend=yes"
4566
4567 ;; This produces share/doc/{clutter,cally}.
4568 (string-append "--with-html-dir="
4569 (assoc-ref %outputs "doc")
4570 "/share/doc"))
4571 ;; XXX FIXME: Get test suite working. It would probably fail in the
4572 ;; same way the cogl tests fail, since clutter is based on cogl.
4573 #:tests? #f))
4574 (home-page "http://www.clutter-project.org")
4575 (synopsis "OpenGL-based interactive canvas library")
4576 (description
4577 "Clutter is an OpenGL-based interactive canvas library, designed for
4578 creating fast, mainly 2D single window applications such as media box UIs,
4579 presentations, kiosk style applications and so on.")
4580 (license license:lgpl2.0+)))
4581
4582 (define-public clutter-gtk
4583 (package
4584 (name "clutter-gtk")
4585 (version "1.8.4")
4586 (source
4587 (origin
4588 (method url-fetch)
4589 (uri (string-append "mirror://gnome/sources/" name "/"
4590 (version-major+minor version) "/"
4591 name "-" version ".tar.xz"))
4592 (sha256
4593 (base32
4594 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4595 (build-system gnu-build-system)
4596 (native-inputs
4597 `(("pkg-config" ,pkg-config)
4598 ("gobject-introspection" ,gobject-introspection)))
4599 (propagated-inputs
4600 ;; clutter-gtk.pc refers to all these.
4601 `(("clutter" ,clutter)
4602 ("gtk+" ,gtk+)))
4603 (home-page "http://www.clutter-project.org")
4604 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4605 (description
4606 "Clutter is an OpenGL-based interactive canvas library, designed for
4607 creating fast, mainly 2D single window applications such as media box UIs,
4608 presentations, kiosk style applications and so on.")
4609 (license license:lgpl2.0+)))
4610
4611 (define-public clutter-gst
4612 (package
4613 (name "clutter-gst")
4614 (version "3.0.27")
4615 (source
4616 (origin
4617 (method url-fetch)
4618 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4619 (version-major+minor version) "/"
4620 "clutter-gst-" version ".tar.xz"))
4621 (sha256
4622 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4623 (build-system gnu-build-system)
4624 (native-inputs
4625 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4626 ("pkg-config" ,pkg-config)
4627 ("gobject-introspection" ,gobject-introspection)))
4628 (inputs
4629 `(("clutter" ,clutter)
4630 ("gstreamer" ,gstreamer)
4631 ("gst-plugins-base" ,gst-plugins-base)))
4632 (home-page "http://www.clutter-project.org")
4633 (synopsis "Integration library for using GStreamer with Clutter")
4634 (description
4635 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4636 It provides a GStreamer sink to upload frames to GL and an actor that
4637 implements the ClutterGstPlayer interface using playbin. Clutter is an
4638 OpenGL-based interactive canvas library.")
4639 (license license:lgpl2.0+)))
4640
4641 (define-public libchamplain
4642 (package
4643 (name "libchamplain")
4644 (version "0.12.16")
4645 (source (origin
4646 (method url-fetch)
4647 (uri (string-append
4648 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4649 version ".tar.xz"))
4650 (sha256
4651 (base32
4652 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4653 (build-system gnu-build-system)
4654 (arguments '(#:configure-flags '("--enable-vala")))
4655 (native-inputs
4656 `(("gobject-introspection" ,gobject-introspection)
4657 ("pkg-config" ,pkg-config)
4658 ("vala" ,vala)))
4659 (propagated-inputs
4660 `(("libsoup" ,libsoup)
4661 ("sqlite" ,sqlite)
4662 ("clutter" ,clutter)
4663 ("clutter-gtk" ,clutter-gtk)
4664 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4665 ("cairo" ,cairo)
4666 ("gtk+3" ,gtk+)
4667 ("glib" ,glib)))
4668 (home-page "https://projects.gnome.org/libchamplain/")
4669 (synopsis "C library providing a ClutterActor to display maps")
4670 (description
4671 "libchamplain is a C library providing a ClutterActor to display maps.
4672 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4673 and Perl bindings are also available. It supports numerous free map sources
4674 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4675 (license license:lgpl2.1+)))
4676
4677 (define-public gom
4678 (package
4679 (name "gom")
4680 (version "0.3.2")
4681 (source
4682 (origin
4683 (method url-fetch)
4684 (uri (string-append "mirror://gnome/sources/gom/"
4685 (version-major+minor version) "/"
4686 "gom-" version ".tar.xz"))
4687 (sha256
4688 (base32
4689 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4690 (build-system gnu-build-system)
4691 (native-inputs
4692 `(("intltool" ,intltool)
4693 ("pkg-config" ,pkg-config)
4694 ("gobject-introspection" ,gobject-introspection)))
4695 (inputs
4696 `(("glib" ,glib)
4697 ("gdk-pixbuf" ,gdk-pixbuf)
4698 ("sqlite" ,sqlite)))
4699 ;; XXX TODO: Figure out how to run the test suite.
4700 (arguments `(#:tests? #f))
4701 (home-page "https://wiki.gnome.org/Projects/Gom")
4702 (synopsis "Object mapper from GObjects to SQLite")
4703 (description
4704 "Gom provides an object mapper from GObjects to SQLite. It helps you
4705 write applications that need to store structured data as well as make complex
4706 queries upon that data.")
4707 (license license:lgpl2.1+)))
4708
4709 (define-public libgnome-games-support
4710 (package
4711 (name "libgnome-games-support")
4712 (version "1.4.4")
4713 (source (origin
4714 (method url-fetch)
4715 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4716 (version-major+minor version) "/"
4717 "libgnome-games-support-" version ".tar.xz"))
4718 (sha256
4719 (base32
4720 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4721 (build-system gnu-build-system)
4722 (arguments
4723 '(#:phases
4724 (modify-phases %standard-phases
4725 (add-before 'check 'pre-check
4726 (lambda _
4727 ;; Tests require a writable HOME.
4728 (setenv "HOME" (getcwd))
4729 #t)))))
4730 (native-inputs
4731 `(("intltool" ,intltool)
4732 ("pkg-config" ,pkg-config)
4733 ("vala" ,vala)))
4734 (propagated-inputs
4735 ;; Required by libgnome-games-support-1.0.pc
4736 `(("gtk+" ,gtk+)
4737 ("libgee" ,libgee)))
4738 (home-page "https://www.gnome.org/")
4739 (synopsis "Useful functionality shared among GNOME games")
4740 (description
4741 "libgnome-games-support is a small library intended for internal use by
4742 GNOME Games, but it may be used by others.")
4743 (license license:lgpl3+)))
4744
4745 (define-public gnome-klotski
4746 (package
4747 (name "gnome-klotski")
4748 (version "3.32.0")
4749 (source (origin
4750 (method url-fetch)
4751 (uri (string-append "mirror://gnome/sources/" name "/"
4752 (version-major+minor version) "/"
4753 name "-" version ".tar.xz"))
4754 (sha256
4755 (base32
4756 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4757 (build-system meson-build-system)
4758 (arguments
4759 '(#:glib-or-gtk? #t
4760 #:phases
4761 (modify-phases %standard-phases
4762 (add-after 'unpack 'skip-gtk-update-icon-cache
4763 ;; Don't create 'icon-theme.cache'.
4764 (lambda _
4765 (substitute* "build-aux/meson_post_install.py"
4766 (("gtk-update-icon-cache") (which "true")))
4767 #t)))))
4768 (native-inputs
4769 `(("desktop-file-utils" ,desktop-file-utils)
4770 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4771 ("intltool" ,intltool)
4772 ("itstool" ,itstool)
4773 ("pkg-config" ,pkg-config)
4774 ("vala" ,vala)
4775 ("xmllint" ,libxml2)))
4776 (inputs
4777 `(("gtk+" ,gtk+)
4778 ("libgnome-games-support" ,libgnome-games-support)
4779 ("librsvg" ,librsvg)))
4780 (home-page "https://wiki.gnome.org/Apps/Klotski")
4781 (synopsis "Sliding block puzzles")
4782 (description
4783 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4784 the patterned block to the area bordered by green markers. To do so, you will
4785 need to slide other blocks out of the way. Complete each puzzle in as few moves
4786 as possible!")
4787 (license license:gpl2+)))
4788
4789 (define-public grilo
4790 (package
4791 (name "grilo")
4792 (version "0.3.10")
4793 (source
4794 (origin
4795 (method url-fetch)
4796 (uri (string-append "mirror://gnome/sources/" name "/"
4797 (version-major+minor version) "/"
4798 name "-" version ".tar.xz"))
4799 (sha256
4800 (base32
4801 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4802 (build-system meson-build-system)
4803 (native-inputs
4804 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4805 ("intltool" ,intltool)
4806 ("pkg-config" ,pkg-config)
4807 ("gobject-introspection" ,gobject-introspection)
4808 ("gtk-doc" ,gtk-doc)
4809 ("vala" ,vala)))
4810 (inputs
4811 `(("cyrus-sasl" ,cyrus-sasl)
4812 ("glib" ,glib)
4813 ("gtk+" ,gtk+)
4814 ("libxml2" ,libxml2)
4815 ("liboauth" ,liboauth)
4816 ("libsoup" ,libsoup)
4817 ("totem-pl-parser" ,totem-pl-parser)))
4818 (native-search-paths
4819 (list (search-path-specification
4820 (variable "GRL_PLUGIN_PATH")
4821 (files (list (string-append "lib/grilo-"
4822 (version-major+minor version)))))))
4823 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4824 (synopsis "Framework for discovering and browsing media")
4825 (description
4826 "Grilo is a framework focused on making media discovery and browsing easy
4827 for application developers.")
4828 (license license:lgpl2.1+)))
4829
4830 (define-public grilo-plugins
4831 (package
4832 (name "grilo-plugins")
4833 (version "0.3.10")
4834 (source
4835 (origin
4836 (method url-fetch)
4837 (uri (string-append "mirror://gnome/sources/" name "/"
4838 (version-major+minor version) "/"
4839 name "-" version ".tar.xz"))
4840 (sha256
4841 (base32
4842 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4843 (build-system meson-build-system)
4844 (native-inputs
4845 `(("gettext" ,gettext-minimal)
4846 ("glib:bin" ,glib "bin")
4847 ("gtk+:bin" ,gtk+ "bin")
4848 ("itstool" ,itstool)
4849 ("pkg-config" ,pkg-config)))
4850 ;; TODO: ahavi, gstreamer
4851 (inputs
4852 `(("grilo" ,grilo)
4853 ;("gmime" ,gmime) ; unused
4854 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4855 ("gom" ,gom)
4856 ;("gssdp" ,gssdp) ; unused
4857 ;("gupnp" ,gupnp) ; unused
4858 ;("gupnp-av" ,gupnp-av) ; unused
4859 ("json-glib" ,json-glib)
4860 ("avahi" ,avahi)
4861 ("libgdata" ,libgdata)
4862 ("libmediaart" ,libmediaart)
4863 ;("librest" ,rest) ; unused
4864 ("libsoup" ,libsoup)
4865 ("totam-pl-parser" ,totem-pl-parser)
4866 ("tracker" ,tracker))) ; unused because it's too old
4867 (arguments
4868 `(#:glib-or-gtk? #t
4869 ;;Disable lua-factory as it needs missing dependencies
4870 #:configure-flags '("-Denable-lua-factory=no")))
4871 (home-page "https://live.gnome.org/Grilo")
4872 (synopsis "Plugins for the Grilo media discovery library")
4873 (description
4874 "Grilo is a framework focused on making media discovery and browsing easy
4875 for application developers. This package provides plugins for common media
4876 discovery protocols.")
4877 (license license:lgpl2.1+)))
4878
4879 (define-public totem
4880 (package
4881 (name "totem")
4882 (version "3.32.1")
4883 (source
4884 (origin
4885 (method url-fetch)
4886 (uri (string-append "mirror://gnome/sources/" name "/"
4887 (version-major+minor version) "/"
4888 name "-" version ".tar.xz"))
4889 (sha256
4890 (base32
4891 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
4892 (build-system meson-build-system)
4893 (native-inputs
4894 `(("pkg-config" ,pkg-config)
4895 ("desktop-file-utils" ,desktop-file-utils)
4896 ("gobject-introspection" ,gobject-introspection)
4897 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4898 ("intltool" ,intltool)
4899 ("itstool" ,itstool)
4900 ("xmllint" ,libxml2)
4901 ("python-pylint" ,python-pylint)
4902 ("xorg-server" ,xorg-server-for-tests)))
4903 (propagated-inputs
4904 `(("dconf" ,dconf)))
4905 (inputs
4906 `(("gtk+" ,gtk+)
4907 ("gdk-pixbuf" ,gdk-pixbuf)
4908 ("atk" ,atk)
4909 ("cairo" ,cairo)
4910 ("dbus-glib" ,dbus-glib)
4911 ("clutter" ,clutter)
4912 ("clutter-gtk" ,clutter-gtk)
4913 ("clutter-gst" ,clutter-gst)
4914 ("xorgproto" ,xorgproto)
4915 ("libxxf86vm" ,libxxf86vm)
4916 ("libxtst" ,libxtst)
4917 ("libxrandr" ,libxrandr)
4918 ("libxml2" ,libxml2)
4919 ("libsoup" ,libsoup)
4920 ("libpeas" ,libpeas)
4921 ("librsvg" ,librsvg)
4922 ("lirc" ,lirc)
4923 ("gnome-desktop" ,gnome-desktop)
4924 ("gstreamer" ,gstreamer)
4925 ("gst-plugins-base" ,gst-plugins-base)
4926 ("gst-plugins-good" ,gst-plugins-good)
4927 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4928 ("adwaita-icon-theme" ,adwaita-icon-theme)
4929 ("python" ,python)
4930 ("python-pygobject" ,python-pygobject)
4931 ("totem-pl-parser" ,totem-pl-parser)
4932 ("grilo" ,grilo)
4933 ("grilo-plugins" ,grilo-plugins)
4934 ("vala" ,vala)))
4935 (arguments
4936 `(#:glib-or-gtk? #t
4937
4938 ;; Disable automatic GStreamer plugin installation via PackageKit and
4939 ;; all that.
4940 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4941
4942 ;; Do not build .a files for the plugins, it's
4943 ;; completely useless. This saves 2 MiB.
4944 "--default-library" "shared")
4945 #:phases
4946 (modify-phases %standard-phases
4947 (add-after 'unpack 'skip-gtk-update-icon-cache
4948 ;; Don't create 'icon-theme.cache'.
4949 (lambda _
4950 (substitute* "meson_post_install.py"
4951 (("gtk-update-icon-cache") "true"))
4952 #t))
4953 (add-before
4954 'install 'disable-cache-generation
4955 (lambda _
4956 (setenv "DESTDIR" "/")
4957 #t))
4958 (add-before
4959 'check 'pre-check
4960 (lambda _
4961 ;; Tests require a running X server.
4962 (system "Xvfb :1 &")
4963 (setenv "DISPLAY" ":1")
4964 #t))
4965 (add-after
4966 'install 'wrap-totem
4967 (lambda* (#:key inputs outputs #:allow-other-keys)
4968 (let ((out (assoc-ref outputs "out"))
4969 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4970 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4971 (wrap-program (string-append out "/bin/totem")
4972 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4973 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4974 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4975 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4976 #t)))))
4977 (home-page "https://wiki.gnome.org/Apps/Videos")
4978 (synopsis "Simple media player for GNOME based on GStreamer")
4979 (description "Totem is a simple yet featureful media player for GNOME
4980 which can read a large number of file formats.")
4981 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4982 ;; to be used and distributed together with GStreamer and Totem. See
4983 ;; file://COPYING in the source distribution for details.
4984 (license license:gpl2+)))
4985
4986 (define-public rhythmbox
4987 (package
4988 (name "rhythmbox")
4989 (version "3.4.4")
4990 (source (origin
4991 (method url-fetch)
4992 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4993 (version-major+minor version) "/"
4994 "rhythmbox-" version ".tar.xz"))
4995 (sha256
4996 (base32
4997 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4998 (build-system glib-or-gtk-build-system)
4999 (arguments
5000 `(#:configure-flags
5001 (list "--enable-lirc"
5002 "--enable-python"
5003 "--enable-vala"
5004 "--with-brasero"
5005 "--with-gudev"
5006 "--with-libsecret")
5007 #:phases
5008 (modify-phases %standard-phases
5009 (add-after
5010 'install 'wrap-rhythmbox
5011 (lambda* (#:key inputs outputs #:allow-other-keys)
5012 (let ((out (assoc-ref outputs "out"))
5013 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5014 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5015 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5016 (python-path (getenv "PYTHONPATH")))
5017 (wrap-program (string-append out "/bin/rhythmbox")
5018 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5019 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5020 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5021 `("PYTHONPATH" ":" prefix (,python-path))))
5022 #t)))))
5023 (propagated-inputs
5024 `(("dconf" ,dconf)))
5025 (native-inputs
5026 `(("itstool" ,itstool)
5027 ("intltool" ,intltool)
5028 ("glib" ,glib "bin")
5029 ("gobject-introspection" ,gobject-introspection)
5030 ("desktop-file-utils" ,desktop-file-utils)
5031 ("pkg-config" ,pkg-config)
5032 ("xmllint" ,libxml2)))
5033 (inputs
5034 `(("json-glib" ,json-glib)
5035 ("tdb" ,tdb)
5036 ("gnome-desktop" ,gnome-desktop)
5037 ("python" ,python)
5038 ("python-pygobject" ,python2-pygobject)
5039 ("vala" ,vala)
5040 ("gmime" ,gmime)
5041 ("adwaita-icon-theme" ,adwaita-icon-theme)
5042 ("grilo" ,grilo)
5043 ("grilo-plugins" ,grilo-plugins)
5044 ("gstreamer" ,gstreamer)
5045 ("gst-plugins-base" ,gst-plugins-base)
5046 ("gst-plugins-good" ,gst-plugins-good)
5047 ("totem-pl-parser" ,totem-pl-parser)
5048 ("libgudev" ,libgudev)
5049 ;;("libmtp" ,libmtp) FIXME: Not detected
5050 ("libsecret" ,libsecret)
5051 ("libsoup" ,libsoup)
5052 ("libnotify" ,libnotify)
5053 ("libpeas" ,libpeas)
5054 ("lirc" ,lirc)
5055 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5056 ;;("clutter" ,clutter)
5057 ;;("clutter-gtk" ,clutter-gtk)
5058 ;;("clutter-gst" ,clutter-gst)
5059 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5060 ("atk" ,atk)
5061 ("pango" ,pango)
5062 ("gtk+" ,gtk+)
5063 ;; TODO:
5064 ;; * libgpod
5065 ;; * mx
5066 ("brasero" ,brasero)))
5067 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5068 (synopsis "Music player for GNOME")
5069 (description "Rhythmbox is a music playing application for GNOME. It
5070 supports playlists, song ratings, and any codecs installed through gstreamer.")
5071 (license license:gpl2+)))
5072
5073 (define-public eog
5074 (package
5075 (name "eog")
5076 (version "3.32.2")
5077 (source (origin
5078 (method url-fetch)
5079 (uri (string-append "mirror://gnome/sources/" name "/"
5080 (version-major+minor version) "/"
5081 name "-" version ".tar.xz"))
5082 (sha256
5083 (base32
5084 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
5085 (build-system meson-build-system)
5086 (arguments
5087 `(#:configure-flags
5088 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5089 (list (string-append "-Dc_link_args=-Wl,-rpath="
5090 (assoc-ref %outputs "out") "/lib/eog"))
5091 #:phases
5092 (modify-phases %standard-phases
5093 (add-after 'unpack 'skip-gtk-update-icon-cache
5094 ;; Don't create 'icon-theme.cache'.
5095 (lambda _
5096 (substitute* "meson_post_install.py"
5097 (("gtk-update-icon-cache") "true"))
5098 #t))
5099 (add-after 'install 'wrap-eog
5100 (lambda* (#:key outputs #:allow-other-keys)
5101 (let ((out (assoc-ref outputs "out"))
5102 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5103 (wrap-program (string-append out "/bin/eog")
5104 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5105 #t)))))
5106 (propagated-inputs
5107 `(("dconf" ,dconf)))
5108 (native-inputs
5109 `(("intltool" ,intltool)
5110 ("itstool" ,itstool)
5111 ("glib" ,glib "bin")
5112 ("gobject-introspection" ,gobject-introspection)
5113 ("pkg-config" ,pkg-config)
5114 ("xmllint" ,libxml2)))
5115 (inputs
5116 `(("gnome-desktop" ,gnome-desktop)
5117 ("shared-mime-info" ,shared-mime-info)
5118 ("adwaita-icon-theme" ,adwaita-icon-theme)
5119 ("exempi" ,exempi)
5120 ("lcms" ,lcms)
5121 ("libexif" ,libexif)
5122 ("libpeas" ,libpeas)
5123 ("libjpeg" ,libjpeg)
5124 ("librsvg" ,librsvg)
5125 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5126 ("gtk+" ,gtk+)))
5127 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5128 (synopsis "GNOME image viewer")
5129 (description "Eye of GNOME is the GNOME image viewer. It
5130 supports image conversion, rotation, and slideshows.")
5131 (license license:gpl2+)))
5132
5133 (define-public eog-plugins
5134 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5135 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5136 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5137 ;; 'XDG_DATA_DIRS' appropriately set.
5138 (package
5139 (name "eog-plugins")
5140 (version "3.26.4")
5141 (source (origin
5142 (method url-fetch)
5143 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5144 (version-major+minor version) "/"
5145 "eog-plugins-" version ".tar.xz"))
5146 (sha256
5147 (base32
5148 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5149 (build-system gnu-build-system)
5150 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5151 (synopsis "Extensions for the Eye of GNOME image viewer")
5152 (native-inputs
5153 `(("pkg-config" ,pkg-config)
5154 ("gettext" ,gettext-minimal)))
5155 (inputs
5156 `(("eog" ,eog)
5157 ("glib" ,glib)
5158 ("gtk+" ,gtk+)
5159 ("libpeas" ,libpeas)
5160 ("libexif" ,libexif)
5161 ("libchamplain" ,libchamplain)))
5162 (description
5163 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5164 notably:
5165
5166 @itemize
5167 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5168 @item @dfn{Map}, which displays a map of where the picture was taken on the
5169 side panel;
5170 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5171 @end itemize\n")
5172
5173 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5174 ;; long suspicious byte stream that goes to a
5175 ;; ".gresource.eog_postasa_plugin" ELF section.
5176 (license license:gpl2+)))
5177
5178 (define-public libgudev
5179 (package
5180 (name "libgudev")
5181 (version "232")
5182 (source (origin
5183 (method url-fetch)
5184 (uri (string-append "mirror://gnome/sources/" name "/"
5185 version "/" name "-" version ".tar.xz"))
5186 (sha256
5187 (base32
5188 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5189 (build-system gnu-build-system)
5190 (arguments
5191 '(#:configure-flags
5192 ;; umockdev depends on libgudev.
5193 (list "--disable-umockdev")))
5194 (native-inputs
5195 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5196 ("gobject-introspection" ,gobject-introspection)
5197 ("pkg-config" ,pkg-config)))
5198 (propagated-inputs
5199 `(("glib" ,glib))) ; required by gudev-1.0.pc
5200 (inputs
5201 `(("udev" ,eudev)))
5202 (home-page "https://wiki.gnome.org/Projects/libgudev")
5203 (synopsis "GObject bindings for libudev")
5204 (description
5205 "This library provides GObject bindings for libudev. It was originally
5206 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5207 (license license:lgpl2.1+)))
5208
5209 (define-public gvfs
5210 (package
5211 (name "gvfs")
5212 (version "1.40.1")
5213 (source (origin
5214 (method url-fetch)
5215 (uri (string-append "mirror://gnome/sources/gvfs/"
5216 (version-major+minor version) "/"
5217 "gvfs-" version ".tar.xz"))
5218 (sha256
5219 (base32
5220 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5221 (build-system meson-build-system)
5222 (arguments
5223 '(#:glib-or-gtk? #t
5224 #:configure-flags
5225 (list "-Dsystemduserunitdir=no"
5226 "-Dtmpfilesdir=no"
5227 ;; Otherwise, the RUNPATH will lack the final path component.
5228 (string-append "-Dc_link_args=-Wl,-rpath="
5229 (assoc-ref %outputs "out") "/lib/gvfs"))))
5230 (native-inputs
5231 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5232 ("gettext" ,gettext-minimal)
5233 ("gtk-doc" ,gtk-doc)
5234 ("pkg-config" ,pkg-config)
5235 ("xsltproc" ,libxslt)))
5236 (inputs
5237 `(("avahi" ,avahi)
5238 ("docbook-xml" ,docbook-xml-4.2)
5239 ("docbook-xsl" ,docbook-xsl)
5240 ("dbus" ,dbus)
5241 ("elogind" ,elogind)
5242 ("fuse" ,fuse)
5243 ("gcr" ,gcr)
5244 ("glib" ,glib)
5245 ("gnome-online-accounts" ,gnome-online-accounts)
5246 ("libarchive" ,libarchive)
5247 ("libbluray" ,libbluray)
5248 ("libcap" ,libcap)
5249 ("libcdio-paranoia" ,libcdio-paranoia)
5250 ("libgcrypt" ,libgcrypt)
5251 ("libgdata" ,libgdata)
5252 ("libgphoto2" ,libgphoto2)
5253 ("libgudev" ,libgudev)
5254 ("libimobiledevice" ,libimobiledevice)
5255 ("libmtp" ,libmtp)
5256 ("libnfs" ,libnfs)
5257 ("libsecret" ,libsecret)
5258 ("libsmbclient" ,samba)
5259 ("libsoup" ,libsoup)
5260 ("libxml2" ,libxml2)
5261 ("openssh" ,openssh)
5262 ("polkit" ,polkit)
5263 ("udisks" ,udisks)))
5264 (home-page "https://wiki.gnome.org/gvfs/")
5265 (synopsis "Userspace virtual file system for GIO")
5266 (description
5267 "GVFS is a userspace virtual file system designed to work with the I/O
5268 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5269 to all applications using the GIO API. It also supports exposing the GVFS
5270 mounts to non-GIO applications using FUSE.
5271
5272 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5273 DAV, and others.")
5274 (license license:lgpl2.0+)))
5275
5276 (define-public gusb
5277 (package
5278 (name "gusb")
5279 (version "0.3.0")
5280 (source (origin
5281 (method git-fetch)
5282 (uri (git-reference
5283 (url "https://github.com/hughsie/libgusb.git")
5284 (commit version)))
5285 (file-name (git-file-name name version))
5286 (sha256
5287 (base32
5288 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5289 (build-system meson-build-system)
5290 (native-inputs
5291 `(("gobject-introspection" ,gobject-introspection)
5292 ("pkg-config" ,pkg-config)
5293 ("vala" ,vala)
5294 ("gtk-doc" ,gtk-doc)))
5295 (propagated-inputs
5296 ;; Both of these are required by gusb.pc.
5297 `(("glib" ,glib)
5298 ("libusb" ,libusb)))
5299 (arguments
5300 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5301 (home-page "https://github.com/hughsie/libgusb")
5302 (synopsis "GLib binding for libusb1")
5303 (description
5304 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5305 asynchronous control, bulk and interrupt transfers with proper cancellation
5306 and integration into a mainloop. This makes it easy to integrate low level
5307 USB transfers with your high-level application or system daemon.")
5308 (license license:lgpl2.1+)))
5309
5310 (define-public simple-scan
5311 (package
5312 (name "simple-scan")
5313 (version "3.36.0")
5314 (source
5315 (origin
5316 (method url-fetch)
5317 (uri (string-append "mirror://gnome/sources/simple-scan/"
5318 (version-major+minor version) "/"
5319 "simple-scan-" version ".tar.xz"))
5320 (sha256
5321 (base32 "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"))))
5322 (build-system meson-build-system)
5323 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5324 (arguments
5325 '(#:glib-or-gtk? #t))
5326 (inputs
5327 `(("gtk" ,gtk+)
5328 ("zlib" ,zlib)
5329 ("cairo" ,cairo)
5330 ("colord" ,colord)
5331 ("gdk-pixbuf" ,gdk-pixbuf)
5332 ("gusb" ,gusb)
5333 ("libsane" ,sane-backends)))
5334 (native-inputs
5335 `(("gettext" ,gettext-minimal)
5336 ("itstool" ,itstool)
5337 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5338 ("pkg-config" ,pkg-config)
5339 ("vala" ,vala)
5340 ("xmllint" ,libxml2)))
5341 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5342 (synopsis "Document and image scanner")
5343 (description
5344 "Document Scanner is an easy-to-use application that lets you connect your
5345 scanner and quickly capture images and documents in an appropriate format. It
5346 supports any scanner for which a suitable SANE driver is available, which is
5347 almost all of them.")
5348 (license license:gpl3+)))
5349
5350 (define-public eolie
5351 (package
5352 (name "eolie")
5353 (version "0.9.98.1")
5354 (source (origin
5355 (method url-fetch)
5356 (uri (string-append "https://adishatz.org/eolie/eolie-"
5357 version ".tar.xz"))
5358 (sha256
5359 (base32
5360 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5361 (build-system meson-build-system)
5362 (arguments
5363 `(#:glib-or-gtk? #t
5364 #:phases
5365 (modify-phases %standard-phases
5366 (add-after 'unpack 'skip-gtk-update-icon-cache
5367 ;; Don't create 'icon-theme.cache'.
5368 (lambda _
5369 (substitute* "meson_post_install.py"
5370 (("gtk-update-icon-cache") "true"))
5371 #t))
5372 (add-after 'wrap 'wrap-more
5373 (lambda* (#:key inputs outputs #:allow-other-keys)
5374 (let* ((out (assoc-ref outputs "out"))
5375 ;; These libraries must be on LD_LIBRARY_PATH.
5376 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5377 "atk" "gtk+" "gsettings-desktop-schemas"
5378 "gobject-introspection"))
5379 (path (string-join
5380 (map (lambda (lib)
5381 (string-append (assoc-ref inputs lib) "/lib"))
5382 libs)
5383 ":")))
5384 (wrap-program (string-append out "/bin/eolie")
5385 `("LD_LIBRARY_PATH" ":" prefix (,path))
5386 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5387 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5388 #t)))))
5389 (native-inputs
5390 `(("intltool" ,intltool)
5391 ("itstool" ,itstool)
5392 ("pkg-config" ,pkg-config)
5393 ("python" ,python)
5394 ("glib:bin" ,glib "bin")))
5395 (inputs
5396 `(("gobject-introspection" ,gobject-introspection)
5397 ("glib-networking" ,glib-networking)
5398 ("cairo" ,cairo)
5399 ("gtk+" ,gtk+)
5400 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5401 ("python" ,python-wrapper)
5402 ("python-dateutil" ,python-dateutil)
5403 ("python-pyfxa" ,python-pyfxa)
5404 ("python-pygobject" ,python-pygobject)
5405 ("python-pycairo" ,python-pycairo)
5406 ("python-pycrypto" ,python-pycrypto)
5407 ("libsecret" ,libsecret)
5408 ("gtkspell3" ,gtkspell3)
5409 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5410 ("webkitgtk" ,webkitgtk)))
5411 (home-page "https://wiki.gnome.org/Apps/Eolie")
5412 (synopsis "Web browser for GNOME")
5413 (description
5414 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5415 a secret password store, an adblocker, and a modern UI.")
5416 (license license:gpl3+)))
5417
5418 (define-public epiphany
5419 (package
5420 (name "epiphany")
5421 (version "3.32.5")
5422 (source (origin
5423 (method url-fetch)
5424 (uri (string-append "mirror://gnome/sources/epiphany/"
5425 (version-major+minor version) "/"
5426 "epiphany-" version ".tar.xz"))
5427 (sha256
5428 (base32
5429 "1hj4yy53fwh96h17cqiw3gxc070vmc7yqwc7phvhnpyinkp9g5my"))))
5430
5431 (build-system meson-build-system)
5432 (arguments
5433 ;; FIXME: tests run under Xvfb, but fail with:
5434 ;; /src/bookmarks/ephy-bookmarks/create:
5435 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5436 ;; subsystem
5437 ;; FAIL
5438 '(#:tests? #f
5439 #:glib-or-gtk? #t
5440 #:phases
5441 (modify-phases %standard-phases
5442 (add-after 'unpack 'skip-gtk-update-icon-cache
5443 ;; Don't create 'icon-theme.cache'.
5444 (lambda _
5445 (substitute* "post_install.py"
5446 (("gtk-update-icon-cache") "true"))
5447 #t)))
5448 #:configure-flags
5449 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5450 (list (string-append "-Dc_link_args=-Wl,-rpath="
5451 (assoc-ref %outputs "out") "/lib/epiphany"))))
5452 (propagated-inputs
5453 `(("dconf" ,dconf)))
5454 (native-inputs
5455 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5456 ("glib:bin" ,glib "bin") ; for glib-mkenums
5457 ("intltool" ,intltool)
5458 ("itstool" ,itstool)
5459 ("pkg-config" ,pkg-config)
5460 ("xmllint" ,libxml2)))
5461 (inputs
5462 `(("avahi" ,avahi)
5463 ("gcr" ,gcr)
5464 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5465 ("glib-networking" ,glib-networking)
5466 ("gnome-desktop" ,gnome-desktop)
5467 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5468 ("json-glib" ,json-glib)
5469 ("iso-codes" ,iso-codes)
5470 ("libdazzle" ,libdazzle)
5471 ("libnotify" ,libnotify)
5472 ("libsecret" ,libsecret)
5473 ("libxslt" ,libxslt)
5474 ("nettle" ,nettle) ; for hogweed
5475 ("sqlite" ,sqlite)
5476 ("webkitgtk" ,webkitgtk)))
5477 (home-page "https://wiki.gnome.org/Apps/Web")
5478 (synopsis "GNOME web browser")
5479 (description
5480 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5481 principles are simplicity and standards compliance.")
5482 (license license:gpl2+)))
5483
5484 (define-public d-feet
5485 (package
5486 (name "d-feet")
5487 (version "0.3.14")
5488 (source (origin
5489 (method url-fetch)
5490 (uri (string-append "mirror://gnome/sources/" name "/"
5491 (version-major+minor version) "/"
5492 name "-" version ".tar.xz"))
5493 (sha256
5494 (base32
5495 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5496 (build-system glib-or-gtk-build-system)
5497 (arguments
5498 '(#:out-of-source? #f ; tests need to run in the source directory.
5499 #:phases
5500 (modify-phases %standard-phases
5501 (add-before
5502 'check 'pre-check
5503 (lambda _
5504 ;; The test suite requires a running X server.
5505 (system "Xvfb :1 &")
5506 (setenv "DISPLAY" ":1")
5507 ;; Don't fail on missing '/etc/machine-id'.
5508 (setenv "DBUS_FATAL_WARNINGS" "0")
5509 ;; tests.py and window.py don't meet E402:
5510 ;; E402 module level import not at top of file
5511 (substitute* "src/tests/Makefile"
5512 (("--ignore=E123") "--ignore=E123,E402"))
5513 #t))
5514 (add-after
5515 'install 'wrap-program
5516 (lambda* (#:key outputs #:allow-other-keys)
5517 (let ((prog (string-append (assoc-ref outputs "out")
5518 "/bin/d-feet")))
5519 (wrap-program prog
5520 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5521 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5522 #t))))))
5523 (native-inputs
5524 `(("intltool" ,intltool)
5525 ("itstool" ,itstool)
5526 ("pkg-config" ,pkg-config)
5527 ("python-pep8" ,python-pep8)
5528 ("xmllint" ,libxml2)
5529 ("xorg-server" ,xorg-server-for-tests)))
5530 (inputs
5531 `(("gobject-introspection" ,gobject-introspection)
5532 ("gtk+" ,gtk+)
5533 ("python" ,python-wrapper)
5534 ("hicolor-icon-theme" ,hicolor-icon-theme)
5535 ("python-pygobject" ,python-pygobject)))
5536 (home-page "https://wiki.gnome.org/Apps/DFeet")
5537 (synopsis "D-Bus debugger")
5538 (description
5539 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5540 of running programs and invoke methods on those interfaces.")
5541 (license license:gpl2+)))
5542
5543 (define-public yelp-xsl
5544 (package
5545 (name "yelp-xsl")
5546 (version "3.32.1")
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 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
5555 (build-system gnu-build-system)
5556 (native-inputs
5557 `(("intltool" ,intltool)
5558 ("itstool" ,itstool)
5559 ("xmllint" ,libxml2)))
5560 (home-page "https://wiki.gnome.org/Apps/Yelp")
5561 (synopsis "XSL stylesheets for Yelp")
5562 (description
5563 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5564 to format Docbook and Mallard documents.")
5565 (license license:gpl2+)))
5566
5567 (define-public yelp
5568 (package
5569 (name "yelp")
5570 (version "3.32.2")
5571 (source (origin
5572 (method url-fetch)
5573 (uri (string-append "mirror://gnome/sources/" name "/"
5574 (version-major+minor version) "/"
5575 name "-" version ".tar.xz"))
5576 (sha256
5577 (base32
5578 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5579 (build-system glib-or-gtk-build-system)
5580 (native-inputs
5581 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5582 ("intltool" ,intltool)
5583 ("itstool" ,itstool)
5584 ("pkg-config" ,pkg-config)))
5585 (propagated-inputs
5586 `(("dconf" ,dconf)))
5587 (inputs
5588 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5589 ("libxslt" ,libxslt)
5590 ("sqlite" ,sqlite)
5591 ("webkitgtk" ,webkitgtk)
5592 ("yelp-xsl" ,yelp-xsl)))
5593 (home-page "https://wiki.gnome.org/Apps/Yelp")
5594 (synopsis "GNOME help browser")
5595 (description
5596 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5597 man, info, and HTML documents. It can locate documents according to the
5598 freedesktop.org help system specification.")
5599 (license license:gpl2+)))
5600
5601 (define-public yelp-tools
5602 (package
5603 (name "yelp-tools")
5604 (version "3.28.0")
5605 (source (origin
5606 (method url-fetch)
5607 (uri (string-append "mirror://gnome/sources/" name "/"
5608 (version-major+minor version) "/"
5609 name "-" version ".tar.xz"))
5610 (sha256
5611 (base32
5612 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
5613 (build-system gnu-build-system)
5614 (native-inputs
5615 `(("pkg-config" ,pkg-config)))
5616 (propagated-inputs
5617 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5618 `(("itstool" ,itstool)
5619 ("xmllint" ,libxml2)
5620 ("xsltproc" ,libxslt)))
5621 (inputs
5622 `(("yelp-xsl" ,yelp-xsl)))
5623 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5624 (synopsis "Yelp documentation tools")
5625 (description
5626 "Yelp-tools is a collection of scripts and build utilities to help create,
5627 manage, and publish documentation for Yelp and the web. Most of the heavy
5628 lifting is done by packages like yelp-xsl and itstool. This package just
5629 wraps things up in a developer-friendly way.")
5630 (license license:gpl2+)))
5631
5632 (define-public yelp-tools/fixed
5633 ;; This variant fixes a python-libxml2 crash when processing UTF-8
5634 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
5635 ;; the next rebuild cycle.
5636 (hidden-package
5637 (package/inherit
5638 yelp-tools
5639 (propagated-inputs
5640 `(("itstool" ,itstool/fixed)
5641 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
5642
5643 (define-public libgee
5644 (package
5645 (name "libgee")
5646 (version "0.20.3")
5647 (source (origin
5648 (method url-fetch)
5649 (uri (string-append "mirror://gnome/sources/libgee/"
5650 (version-major+minor version) "/"
5651 "libgee-" version ".tar.xz"))
5652 (sha256
5653 (base32
5654 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5655 (build-system gnu-build-system)
5656 (arguments
5657 `(#:phases
5658 (modify-phases %standard-phases
5659 (add-after 'unpack 'fix-introspection-install-dir
5660 (lambda* (#:key outputs #:allow-other-keys)
5661 (let ((out (assoc-ref outputs "out")))
5662 (substitute* "gee/Makefile.in"
5663 (("@INTROSPECTION_GIRDIR@")
5664 (string-append out "/share/gir-1.0/"))
5665 (("@INTROSPECTION_TYPELIBDIR@")
5666 (string-append out "/lib/girepository-1.0/")))))))))
5667 (native-inputs
5668 `(("glib" ,glib "bin")
5669 ("pkg-config" ,pkg-config)))
5670 (inputs
5671 `(("glib" ,glib)
5672 ("gobject-introspection" ,gobject-introspection)))
5673 (home-page "https://wiki.gnome.org/Projects/Libgee")
5674 (synopsis "GObject collection library")
5675 (description
5676 "Libgee is a utility library providing GObject-based interfaces and
5677 classes for commonly used data structures.")
5678 (license license:lgpl2.1+)))
5679
5680 (define-public gexiv2
5681 (package
5682 (name "gexiv2")
5683 (version "0.12.0")
5684 (source (origin
5685 (method url-fetch)
5686 (uri (string-append "mirror://gnome/sources/" name "/"
5687 (version-major+minor version) "/"
5688 name "-" version ".tar.xz"))
5689 (sha256
5690 (base32
5691 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5692 (build-system meson-build-system)
5693 (native-inputs
5694 `(("gcr" ,gcr)
5695 ("glib" ,glib "bin")
5696 ("pkg-config" ,pkg-config)
5697 ("vala" ,vala)))
5698 (propagated-inputs
5699 ;; Listed in "Requires" section of gexiv2.pc
5700 `(("exiv2" ,exiv2)))
5701 (inputs
5702 `(("glib" ,glib)
5703 ("gobject-introspection" ,gobject-introspection)))
5704 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5705 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5706 (description
5707 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5708 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5709 metadata in photo and video files of various formats.")
5710 (license license:gpl2+)))
5711
5712 (define-public shotwell
5713 (package
5714 (name "shotwell")
5715 (version "0.30.8")
5716 (source (origin
5717 (method url-fetch)
5718 (uri (string-append "mirror://gnome/sources/shotwell/"
5719 (version-major+minor version) "/"
5720 "shotwell-" version ".tar.xz"))
5721 (sha256
5722 (base32
5723 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
5724 (build-system meson-build-system)
5725 (arguments
5726 '(#:glib-or-gtk? #t
5727 #:phases
5728 (modify-phases %standard-phases
5729 (add-after 'unpack 'skip-gtk-update-icon-cache
5730 (lambda _
5731 (substitute* "build-aux/meson/postinstall.py"
5732 (("gtk-update-icon-cache") (which "true"))
5733 (("update-desktop-database") (which "true")))
5734 #t)))))
5735 (propagated-inputs
5736 `(("dconf" ,dconf)))
5737 (native-inputs
5738 `(("gettext" ,gettext-minimal)
5739 ("glib:bin" ,glib "bin")
5740 ("itstool" ,itstool)
5741 ("pkg-config" ,pkg-config)
5742 ("vala" ,vala)))
5743 (inputs
5744 `(("gcr" ,gcr)
5745 ("gexiv2" ,gexiv2)
5746 ("gst-plugins-base" ,gst-plugins-base)
5747 ("gstreamer" ,gstreamer)
5748 ("json-glib" ,json-glib)
5749 ("libgdata" ,libgdata)
5750 ("libgee" ,libgee)
5751 ("libgphoto2" ,libgphoto2)
5752 ("libgudev" ,libgudev)
5753 ("libraw" ,libraw)
5754 ("libsoup" ,libsoup)
5755 ("libxml2" ,libxml2)
5756 ("sqlite" ,sqlite)
5757 ("webkitgtk" ,webkitgtk)))
5758 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5759 (synopsis "Photo manager for GNOME 3")
5760 (description
5761 "Shotwell is a digital photo manager designed for the GNOME desktop
5762 environment. It allows you to import photos from disk or camera, organize
5763 them by keywords and events, view them in full-window or fullscreen mode, and
5764 share them with others via social networking and more.")
5765 (license license:lgpl2.1+)))
5766
5767 (define-public file-roller
5768 (package
5769 (name "file-roller")
5770 (version "3.32.3")
5771 (source (origin
5772 (method url-fetch)
5773 (uri (string-append "mirror://gnome/sources/file-roller/"
5774 (version-major+minor version) "/"
5775 "file-roller-" version ".tar.xz"))
5776 (sha256
5777 (base32
5778 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5779 (build-system meson-build-system)
5780 (native-inputs
5781 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5782 ("intltool" ,intltool)
5783 ("itstool" ,itstool)
5784 ("pkg-config" ,pkg-config)
5785 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5786 ("glib:bin" ,glib "bin")))
5787 ;; TODO: Add libnautilus.
5788 (inputs
5789 `(("gtk+" ,gtk+)
5790 ("gdk-pixbuf" ,gdk-pixbuf)
5791 ("json-glib" ,json-glib)
5792 ("libarchive" ,libarchive)
5793 ("libnotify" ,libnotify)
5794 ("nettle" ,nettle)
5795 ("libxml2" ,libxml2)))
5796 (synopsis "Graphical archive manager for GNOME")
5797 (description "File Roller is an archive manager for the GNOME desktop
5798 environment that allows users to view, unpack, and create compressed archives
5799 such as gzip tarballs.")
5800 (home-page "http://fileroller.sourceforge.net/")
5801 (license license:gpl2+)))
5802
5803 (define-public gnome-session
5804 (package
5805 (name "gnome-session")
5806 (version "3.32.0")
5807 (source (origin
5808 (method url-fetch)
5809 (uri (string-append "mirror://gnome/sources/" name "/"
5810 (version-major+minor version) "/"
5811 name "-" version ".tar.xz"))
5812 (sha256
5813 (base32
5814 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
5815 (arguments
5816 '(#:glib-or-gtk? #t
5817 #:phases
5818 (modify-phases %standard-phases
5819 (add-before 'configure 'pre-configure
5820 (lambda* (#:key outputs #:allow-other-keys)
5821 ;; Use elogind instead of systemd.
5822 (substitute* "meson.build"
5823 (("libsystemd-login") "libelogind")
5824 (("and libsystemd_daemon_dep.found.*") ","))
5825 (substitute* "gnome-session/gsm-systemd.c"
5826 (("#include <systemd/sd-login.h>")
5827 "#include <elogind/sd-login.h>"))
5828 ;; Remove uses of the systemd daemon.
5829 (substitute* "gnome-session/gsm-autostart-app.c"
5830 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5831 #t))
5832 (add-after 'install 'wrap-gnome-session
5833 (lambda* (#:key inputs outputs #:allow-other-keys)
5834 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5835 (let ((glib (assoc-ref inputs "glib:bin"))
5836 (out (assoc-ref outputs "out")))
5837 (wrap-program (string-append out "/bin/gnome-session")
5838 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5839 #t))))
5840
5841 #:configure-flags
5842 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5843 "-Dman=false" ; FIXME: disabled because of docbook validation error
5844 "-Dsystemd_journal=false")))
5845 (build-system meson-build-system)
5846 (native-inputs
5847 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5848 ("pkg-config" ,pkg-config)
5849 ("intltool" ,intltool)
5850 ("xsltproc" ,libxslt)
5851 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5852 ("docbook-xsl" ,docbook-xsl)
5853 ("docbook-xml" ,docbook-xml)
5854 ("xmlto" ,xmlto)))
5855 (inputs
5856 `(("elogind" ,elogind)
5857 ("gnome-desktop" ,gnome-desktop)
5858 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5859 ("gtk+" ,gtk+)
5860 ("json-glib" ,json-glib)
5861 ("libsm" ,libsm)
5862 ("libxcomposite" ,libxcomposite)
5863 ("libxtst" ,libxtst)
5864 ("mesa" ,mesa)
5865 ("upower" ,upower)
5866 ("xtrans" ,xtrans)))
5867 (synopsis "Session manager for GNOME")
5868 (description
5869 "This package contains the GNOME session manager, as well as a
5870 configuration program to choose applications starting on login.")
5871 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5872 (license license:gpl2+)))
5873
5874 (define-public gjs
5875 (package
5876 (name "gjs")
5877 (version "1.56.2")
5878 (source (origin
5879 (method url-fetch)
5880 (uri (string-append "mirror://gnome/sources/" name "/"
5881 (version-major+minor version) "/"
5882 name "-" version ".tar.xz"))
5883 (sha256
5884 (base32
5885 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
5886 (build-system gnu-build-system)
5887 (arguments
5888 '(#:phases
5889 (modify-phases %standard-phases
5890 (add-before
5891 'check 'pre-check
5892 (lambda _
5893 ;; The test suite requires a running X server.
5894 (system "Xvfb :1 &")
5895 (setenv "DISPLAY" ":1")
5896
5897 ;; For the missing /etc/machine-id.
5898 (setenv "DBUS_FATAL_WARNINGS" "0")
5899
5900 ;; Our mozjs-38 package does not compile the required Intl API
5901 ;; support for these failing tests.
5902 (substitute* "installed-tests/js/testLocale.js"
5903 ((".*toBeDefined.*") "")
5904 ((".*expect\\(datestr\\).*") ""))
5905 (substitute* "installed-tests/scripts/testCommandLine.sh"
5906 (("Valentín") "")
5907 (("☭") ""))
5908 #t)))))
5909 (native-inputs
5910 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5911 ("pkg-config" ,pkg-config)
5912 ("xmllint" ,libxml2)
5913 ;; For testing
5914 ("dbus-launch" ,dbus)
5915 ("uuidgen" ,util-linux)
5916 ("xvfb" ,xorg-server-for-tests)))
5917 (propagated-inputs
5918 ;; These are all in the Requires.private field of gjs-1.0.pc.
5919 `(("cairo" ,cairo)
5920 ("gobject-introspection" ,gobject-introspection)
5921 ("mozjs" ,mozjs-60)))
5922 (inputs
5923 `(("gtk+" ,gtk+)
5924 ("readline" ,readline)))
5925 (synopsis "Javascript bindings for GNOME")
5926 (home-page "https://live.gnome.org/Gjs")
5927 (description
5928 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5929 javascript engine and the GObject introspection framework.")
5930 (license license:gpl2+)))
5931
5932 (define-public gedit
5933 (package
5934 (name "gedit")
5935 (version "3.32.2")
5936 (source (origin
5937 (method url-fetch)
5938 (uri (string-append "mirror://gnome/sources/" name "/"
5939 (version-major+minor version) "/"
5940 name "-" version ".tar.xz"))
5941 (sha256
5942 (base32
5943 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
5944 (build-system meson-build-system)
5945 (arguments
5946 `(#:glib-or-gtk? #t
5947 #:configure-flags
5948 ;; Otherwise, the RUNPATH will lack the final path component.
5949 (list (string-append "-Dc_link_args=-Wl,-rpath="
5950 (assoc-ref %outputs "out") "/lib/gedit"))
5951
5952 ;; XXX: Generated .h files are sometimes used before being built.
5953 #:parallel-build? #f
5954
5955 #:phases
5956 (modify-phases %standard-phases
5957 (add-after 'unpack 'skip-gtk-update-icon-cache
5958 ;; Don't create 'icon-theme.cache'.
5959 (lambda _
5960 (substitute* "build-aux/meson/post_install.py"
5961 (("gtk-update-icon-cache") (which "true")))
5962 #t))
5963 (add-after 'unpack 'patch-libgd-fetch
5964 (lambda* (#:key inputs #:allow-other-keys)
5965 (let ((libgd (assoc-ref inputs "libgd")))
5966 ;; Calling git is unnecessary because libgd is fetched as a
5967 ;; native input to this package.
5968 (substitute* "meson.build"
5969 ((".*git.*") ""))
5970 (copy-recursively libgd "subprojects/libgd")
5971 #t)))
5972 (add-after 'install 'wrap-gedit
5973 (lambda* (#:key inputs outputs #:allow-other-keys)
5974 (let ((out (assoc-ref outputs "out"))
5975 (gtksourceview (assoc-ref inputs "gtksourceview"))
5976 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5977 (python-path (getenv "PYTHONPATH")))
5978 (wrap-program (string-append out "/bin/gedit")
5979 ;; For plugins.
5980 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5981 `("PYTHONPATH" ":" prefix (,python-path))
5982 ;; For language-specs.
5983 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5984 "/share")))))
5985 #t)))))
5986 (propagated-inputs
5987 `(("dconf" ,dconf)))
5988 (native-inputs
5989 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5990 ("intltool" ,intltool)
5991 ("itstool" ,itstool)
5992 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5993 ("gobject-introspection" ,gobject-introspection)
5994 ("libgd"
5995 ,(origin
5996 (method git-fetch)
5997 (uri (git-reference
5998 (url "https://gitlab.gnome.org/GNOME/libgd")
5999 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6000 (file-name (git-file-name "libgd" version))
6001 (sha256
6002 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6003 ("pkg-config" ,pkg-config)))
6004 (inputs
6005 `(("glib" ,glib)
6006 ("gspell" ,gspell)
6007 ("gtk+" ,gtk+)
6008 ("gtksourceview" ,gtksourceview)
6009 ("libpeas" ,libpeas)
6010 ("libxml2" ,libxml2)
6011 ("iso-codes" ,iso-codes)
6012 ("python-pygobject" ,python-pygobject)
6013 ("python" ,python)
6014 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6015 ("libx11" ,libx11)
6016 ("vala" ,vala)
6017 ("adwaita-icon-theme" ,adwaita-icon-theme)
6018 ("libsoup" ,libsoup)
6019 ("gnome-desktop" ,gnome-desktop)))
6020 (home-page "https://wiki.gnome.org/Apps/Gedit")
6021 (synopsis "GNOME text editor")
6022 (description "While aiming at simplicity and ease of use, gedit is a
6023 powerful general purpose text editor.")
6024 (license license:gpl2+)))
6025
6026 (define-public zenity
6027 (package
6028 (name "zenity")
6029 (version "3.32.0")
6030 (source (origin
6031 (method url-fetch)
6032 (uri (string-append "mirror://gnome/sources/zenity/"
6033 (version-major+minor version) "/"
6034 "zenity-" version ".tar.xz"))
6035 (sha256
6036 (base32
6037 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6038 (build-system gnu-build-system)
6039 (native-inputs
6040 `(("gettext" ,gettext-minimal)
6041 ("itstool" ,itstool)
6042 ("pkg-config" ,pkg-config)))
6043 (inputs
6044 `(("libnotify" ,libnotify)
6045 ("webkitgtk" ,webkitgtk)))
6046 (synopsis "Display graphical dialog boxes from shell scripts")
6047 (home-page "https://www.gnome.org")
6048 (description
6049 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6050 to display dialog boxes from the commandline and shell scripts.")
6051 (license license:lgpl2.0+)))
6052
6053 (define-public mutter
6054 (package
6055 (name "mutter")
6056 (version "3.32.2")
6057 (source (origin
6058 (method url-fetch)
6059 (uri (string-append "mirror://gnome/sources/" name "/"
6060 (version-major+minor version) "/"
6061 name "-" version ".tar.xz"))
6062 (sha256
6063 (base32
6064 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
6065 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6066 ;; versions of cogl and clutter. As a result, many of the inputs,
6067 ;; propagated-inputs, and configure flags used in cogl and clutter are
6068 ;; needed here as well.
6069 (build-system meson-build-system)
6070 (arguments
6071 '(;; XXX: All mutter tests fail with the following error:
6072 ;; Settings schema 'org.gnome.mutter' is not installed
6073 #:tests? #f
6074 #:glib-or-gtk? #t
6075 #:configure-flags
6076 ;; Otherwise, the RUNPATH will lack the final path component.
6077 (list (string-append "-Dc_link_args=-Wl,-rpath="
6078 (assoc-ref %outputs "out") "/lib:"
6079 (assoc-ref %outputs "out") "/lib/mutter-4")
6080
6081 ;; The following flags are needed for the bundled clutter
6082 (string-append "-Dxwayland_path="
6083 (assoc-ref %build-inputs "xorg-server-xwayland")
6084 "/bin/Xwayland")
6085
6086 ;; the remaining flags are needed for the bundled cogl
6087 (string-append "-Dopengl_libname="
6088 (assoc-ref %build-inputs "mesa")
6089 "/lib/libGL.so"))
6090 #:phases
6091 (modify-phases %standard-phases
6092 (add-after 'unpack 'disable-werror
6093 (lambda _
6094 ;; XXX: build fails with [-Werror]:
6095 ;; backends/meta-cursor-renderer.c:112:5: error:
6096 ;; implicit declaration of function ?roundf?
6097 (substitute* "meson.build"
6098 (("'-Werror=.*',") ""))
6099 #t))
6100 ;; Replace references to systemd libraries to elogind references.
6101 (add-before 'configure 'use-elogind
6102 (lambda _
6103 (substitute* (list "meson.build"
6104 "src/backends/native/meta-launcher.c"
6105 "src/core/main.c")
6106 (("systemd") "elogind"))
6107 #t)))))
6108 (native-inputs
6109 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6110 ("gobject-introspection" ,gobject-introspection)
6111 ("intltool" ,intltool)
6112 ("pkg-config" ,pkg-config)
6113 ("xorg-server" ,xorg-server-for-tests)
6114 ;; For git build
6115 ("autoconf" ,autoconf)
6116 ("automake" ,automake)
6117 ("libtool" ,libtool)))
6118 (propagated-inputs
6119 `(;; libmutter.pc refers to these:
6120 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6121 ("gtk+" ,gtk+)
6122 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6123 ("atk" ,atk)
6124 ("cairo" ,cairo)
6125 ("gdk-pixbuf" ,gdk-pixbuf)
6126 ("glib" ,glib)
6127 ("json-glib" ,json-glib)
6128 ("libinput" ,libinput)
6129 ("libx11" ,libx11)
6130 ("libxcomposite" ,libxcomposite)
6131 ("libxdamage" ,libxdamage)
6132 ("libxext" ,libxext)
6133 ("libxfixes" ,libxfixes)
6134 ("libxkbcommon" ,libxkbcommon)
6135 ("libxrandr" ,libxrandr)
6136 ("mesa" ,mesa)
6137 ("pango" ,pango)
6138 ("udev" ,eudev)
6139 ("xinput" ,xinput)))
6140 (inputs
6141 `(("elogind" ,elogind)
6142 ("gnome-desktop" ,gnome-desktop)
6143 ("gnome-settings-daemon" ,gnome-settings-daemon)
6144 ("libcanberra-gtk" ,libcanberra)
6145 ("libgudev" ,libgudev)
6146 ("libice" ,libice)
6147 ("libsm" ,libsm)
6148 ("libwacom" ,libwacom)
6149 ("libxkbfile" ,libxkbfile)
6150 ("libxrandr" ,libxrandr)
6151 ("libxtst" ,libxtst)
6152 ("pipewire" ,pipewire)
6153 ("startup-notification" ,startup-notification)
6154 ("upower-glib" ,upower)
6155 ("xkeyboard-config" ,xkeyboard-config)
6156 ("xorg-server-xwayland" ,xorg-server-xwayland)
6157 ("zenity" ,zenity)))
6158 (synopsis "Window and compositing manager")
6159 (home-page "https://www.gnome.org")
6160 (description
6161 "Mutter is a window and compositing manager that displays and manages your
6162 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6163 Clutter toolkit with solid window-management logic inherited from the Metacity
6164 window manager.")
6165 (license license:gpl2+)))
6166
6167 (define-public gnome-online-accounts
6168 (package
6169 (name "gnome-online-accounts")
6170 (version "3.36.0")
6171 (source (origin
6172 (method url-fetch)
6173 (uri (string-append "mirror://gnome/sources/" name "/"
6174 (version-major+minor version) "/"
6175 name "-" version ".tar.xz"))
6176 (sha256
6177 (base32
6178 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6179 (outputs '("out" "lib"))
6180 (build-system glib-or-gtk-build-system)
6181 (arguments
6182 `(#:configure-flags
6183 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6184 #:phases
6185 (modify-phases %standard-phases
6186 (add-before 'configure 'patch-libgoa-output
6187 (lambda* (#:key outputs #:allow-other-keys)
6188 (let ((lib (assoc-ref outputs "lib")))
6189 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6190 (("@prefix@") lib)
6191 (("@exec_prefix@") lib)
6192 (("@libdir@") (string-append lib "/lib"))
6193 (("@includedir@") (string-append lib "/include"))
6194 (("@datadir@") (string-append lib "/share")))
6195 ;; Make sure gobject-introspection knows about the output
6196 ;; too (see <https://bugs.gnu.org/36535>).
6197 (setenv "outputs" "out lib")
6198 #t))))))
6199 (native-inputs
6200 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6201 ("gobject-introspection" ,gobject-introspection)
6202 ("intltool" ,intltool)
6203 ("pkg-config" ,pkg-config)
6204 ("vala" ,vala)
6205 ("xsltproc" ,libxslt)))
6206 (propagated-inputs
6207 `(("glib" ,glib) ; required by goa-1.0.pc
6208 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6209 (inputs
6210 `(("docbook-xsl" ,docbook-xsl)
6211 ("json-glib" ,json-glib)
6212 ("libsecret" ,libsecret)
6213 ("rest" ,rest)
6214 ("webkitgtk" ,webkitgtk)))
6215 (synopsis "Single sign-on framework for GNOME")
6216 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6217 (description
6218 "GNOME Online Accounts provides interfaces so that applications and
6219 libraries in GNOME can access the user's online accounts. It has providers for
6220 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6221 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6222 (license license:lgpl2.0+)))
6223
6224 (define-public evolution-data-server
6225 (package
6226 (name "evolution-data-server")
6227 (version "3.32.4")
6228 (source (origin
6229 (method url-fetch)
6230 (uri (string-append "mirror://gnome/sources/" name "/"
6231 (version-major+minor version) "/"
6232 name "-" version ".tar.xz"))
6233 (patches (search-patches "evolution-data-server-locales.patch"
6234 "evolution-data-server-libical-compat.patch"))
6235 (sha256
6236 (base32
6237 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
6238 (build-system cmake-build-system)
6239 (arguments
6240 '(#:configure-flags
6241 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6242 (runpaths (map (lambda (s)
6243 (string-append lib "/evolution-data-server/" s))
6244 '("addressbook-backends" "calendar-backends"
6245 "camel-providers" "credential-modules"
6246 "registry-modules"))))
6247 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6248 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6249 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6250 "-DENABLE_VALA_BINDINGS=ON"
6251 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6252 (string-append lib "/evolution-data-server;")
6253 (string-join runpaths ";"))
6254 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6255 #:phases
6256 (modify-phases %standard-phases
6257 (add-after 'unpack 'disable-failing-tests
6258 (lambda _
6259 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6260 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6261 (delete-file-recursively "tests/book-migration")
6262 (substitute* "tests/CMakeLists.txt"
6263 (("add_subdirectory\\(book-migration\\)") ""))
6264 ;; tests/libebook/client/test-book-client-view-operations:8077):
6265 ;; e-data-server-WARNING **:
6266 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6267 ;; runtime check failed:
6268 ;; (!g_main_context_pending (closure->main_context))
6269 (substitute* "tests/libebook/client/CMakeLists.txt"
6270 (("test-book-client-view-operations") ""))
6271 #t))
6272 (add-after 'unpack 'patch-paths
6273 (lambda _
6274 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6275 "tests/libedata-book/data-test-utils.c"
6276 "tests/libedata-book/test-book-cache-utils.c"
6277 "tests/libedata-cal/test-cal-cache-utils.c")
6278 (("/bin/rm") (which "rm")))
6279 #t))
6280 (add-before 'configure 'dont-override-rpath
6281 (lambda _
6282 (substitute* "CMakeLists.txt"
6283 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6284 ;; Remove it so the configure flag is respected.
6285 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6286 #t)))))
6287 (native-inputs
6288 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6289 ("gobject-introspection" ,gobject-introspection)
6290 ("gperf" ,gperf)
6291 ("intltool" ,intltool)
6292 ("pkg-config" ,pkg-config)
6293 ("vala" ,vala)
6294 ("python" ,python-wrapper)))
6295 (propagated-inputs
6296 ;; These are all in the Requires field of .pc files.
6297 `(("gtk+" ,gtk+)
6298 ("libical" ,libical)
6299 ("libsecret" ,libsecret)
6300 ("libsoup" ,libsoup)
6301 ("nss" ,nss)
6302 ("sqlite" ,sqlite)))
6303 (inputs
6304 `(("bdb" ,bdb)
6305 ("gcr" ,gcr)
6306 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6307 ("json-glib" ,json-glib)
6308 ("libcanberra" ,libcanberra)
6309 ("libgweather" ,libgweather)
6310 ("mit-krb5" ,mit-krb5)
6311 ("openldap" ,openldap)
6312 ("webkitgtk" ,webkitgtk)))
6313 (synopsis "Store address books and calendars")
6314 (home-page "https://wiki.gnome.org/Apps/Evolution")
6315 (description
6316 "This package provides a unified backend for programs that work with
6317 contacts, tasks, and calendar information. It was originally developed for
6318 Evolution (hence the name), but is now used by other packages as well.")
6319 (license license:lgpl2.0)))
6320
6321 (define-public caribou
6322 (package
6323 (name "caribou")
6324 (version "0.4.21")
6325 (source (origin
6326 (method url-fetch)
6327 (uri (string-append "mirror://gnome/sources/" name "/"
6328 (version-major+minor version) "/"
6329 name "-" version ".tar.xz"))
6330 (sha256
6331 (base32
6332 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6333 (build-system glib-or-gtk-build-system)
6334 (arguments
6335 '(#:phases
6336 (modify-phases %standard-phases
6337 (add-before
6338 'build 'pre-build
6339 (lambda* (#:key outputs #:allow-other-keys)
6340 (let ((out (assoc-ref outputs "out")))
6341 ;; Use absolute shared library path in Caribou-1.0.typelib.
6342 (substitute* "libcaribou/Makefile"
6343 (("--shared-library=libcaribou.so")
6344 (string-append "--shared-library="
6345 out "/lib/libcaribou.so")))
6346 #t)))
6347 (add-after 'install 'wrap-programs
6348 (lambda* (#:key outputs #:allow-other-keys)
6349 (let* ((out (assoc-ref outputs "out"))
6350 (python-path (getenv "PYTHONPATH"))
6351 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6352 (for-each
6353 (lambda (prog)
6354 (wrap-program prog
6355 `("PYTHONPATH" ":" prefix (,python-path))
6356 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6357 (list (string-append out "/bin/caribou-preferences")
6358 (string-append out "/libexec/antler-keyboard"))))
6359 #t)))))
6360 (native-inputs
6361 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6362 ("gobject-introspection" ,gobject-introspection)
6363 ("intltool" ,intltool)
6364 ("pkg-config" ,pkg-config)
6365 ("python" ,python)
6366 ("vala" ,vala)
6367 ("xsltproc" ,libxslt)))
6368 (propagated-inputs
6369 ;; caribou-1.0.pc refers to all these.
6370 `(("libgee" ,libgee)
6371 ("libxklavier" ,libxklavier)
6372 ("libxtst" ,libxtst)
6373 ("gtk+" ,gtk+)))
6374 (inputs
6375 `(("clutter" ,clutter)
6376 ("dconf" ,dconf)
6377 ("gtk+-2" ,gtk+-2)
6378 ("python-pygobject" ,python-pygobject)))
6379 (synopsis "Text entry and UI navigation application")
6380 (home-page "https://wiki.gnome.org/Projects/Caribou")
6381 (description
6382 "Caribou is an input assistive technology intended for switch and pointer
6383 users.")
6384 (license license:lgpl2.1)))
6385
6386 (define-public network-manager
6387 (package
6388 (name "network-manager")
6389 (version "1.18.4")
6390 (source (origin
6391 (method url-fetch)
6392 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6393 (version-major+minor version) "/"
6394 "NetworkManager-" version ".tar.xz"))
6395 (patches (search-patches "nm-plugin-path.patch"))
6396 (sha256
6397 (base32
6398 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6399 (modules '((guix build utils)))
6400 (snippet
6401 '(begin
6402 (substitute* "src/devices/wwan/nm-modem-manager.c"
6403 (("systemd") "elogind"))
6404 #t))))
6405 (build-system gnu-build-system)
6406 (outputs '("out"
6407 "doc")) ; 8 MiB of gtk-doc HTML
6408 (arguments
6409 '(#:configure-flags
6410 (let ((out (assoc-ref %outputs "out"))
6411 (doc (assoc-ref %outputs "doc"))
6412 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6413 "/sbin/dhclient")))
6414 (list "--with-libnm-glib" ; needed by network-manager-applet
6415 "--with-systemd-journal=no"
6416 "--with-session-tracking=elogind"
6417 "--with-suspend-resume=elogind"
6418 "--with-consolekit=no"
6419 "--with-crypto=gnutls"
6420 "--disable-config-plugin-ibft"
6421 "--sysconfdir=/etc"
6422 "--localstatedir=/var"
6423 (string-append "--with-udev-dir="
6424 out "/lib/udev")
6425 (string-append "--with-dbus-sys-dir="
6426 out "/etc/dbus-1/system.d")
6427 (string-append "--with-html-dir="
6428 doc "/share/gtk-doc/html")
6429 (string-append "--with-dhclient=" dhclient)))
6430 #:phases
6431 (modify-phases %standard-phases
6432 ;; This bare "ls" invocation breaks some tests.
6433 (add-after 'unpack 'patch-ls-invocation
6434 (lambda _
6435 (substitute* "build-aux/ltmain.sh"
6436 (("`ls -")
6437 (string-append "`" (which "ls") " -")))
6438 #t))
6439 (add-before 'configure 'pre-configure
6440 (lambda _
6441 ;; These tests try to test aspects of network-manager's
6442 ;; functionality within restricted containers, but they don't
6443 ;; cope with being already in the Guix build jail as that jail
6444 ;; lacks some features that they would like to proxy over (like
6445 ;; a /sys mount).
6446 (substitute* '("Makefile.in")
6447 (("src/platform/tests/test-address-linux") " ")
6448 (("src/platform/tests/test-cleanup-linux") " ")
6449 (("src/platform/tests/test-link-linux") " ")
6450 (("src/platform/tests/test-route-linux") " ")
6451 (("src/devices/tests/test-acd") "")
6452 (("src/devices/tests/test-arping") " ")
6453 (("src/devices/tests/test-lldp") " ")
6454 (("src/tests/test-route-manager-linux") " "))
6455 #t))
6456 (add-after 'unpack 'delete-failing-tests
6457 (lambda _
6458 ;; FIXME: These three tests fail for unknown reasons.
6459 ;; ERROR:libnm-core/tests/test-general.c:5842:
6460 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6461 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6462 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6463 ;; ERROR:libnm-core/tests/test-setting.c:907:
6464 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6465 (substitute* "Makefile.in"
6466 (("libnm-core/tests/test-general") " ")
6467 (("libnm-core/tests/test-keyfile") " ")
6468 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6469 #t))
6470 (add-before 'check 'pre-check
6471 (lambda _
6472 ;; For the missing /etc/machine-id.
6473 (setenv "DBUS_FATAL_WARNINGS" "0")
6474 #t))
6475 (replace 'install
6476 (lambda _
6477 (invoke "make"
6478 "sysconfdir=/tmp"
6479 "rundir=/tmp"
6480 "statedir=/tmp"
6481 "nmstatedir=/tmp/nm"
6482 "install")
6483 #t)))))
6484 (propagated-inputs
6485 `(("glib" ,glib)))
6486 (native-inputs
6487 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6488 ("gobject-introspection" ,gobject-introspection)
6489 ("docbook-xsl" ,docbook-xsl)
6490 ("intltool" ,intltool)
6491 ("libxslt" ,libxslt)
6492 ("libxml2" ,libxml2)
6493 ("pkg-config" ,pkg-config)
6494 ;; For testing.
6495 ("python" ,python-wrapper)
6496 ("python-dbus" ,python-dbus)
6497 ("python-pygobject" ,python-pygobject)))
6498 (inputs
6499 `(("coreutils" ,coreutils) ; for ls
6500 ("curl" ,curl)
6501 ("cyrus-sasl" ,cyrus-sasl)
6502 ("dbus-glib" ,dbus-glib)
6503 ("dnsmasq" ,dnsmasq)
6504 ("eudev" ,eudev)
6505 ("gnutls" ,gnutls)
6506 ("iptables" ,iptables)
6507 ("isc-dhcp" ,isc-dhcp)
6508 ("jansson" ,jansson)
6509 ("libgcrypt" ,libgcrypt)
6510 ("libgudev" ,libgudev)
6511 ("libndp" ,libndp)
6512 ("libnl" ,libnl)
6513 ("libsoup" ,libsoup)
6514 ("modem-manager" ,modem-manager)
6515 ("newt" ,newt) ;for the 'nmtui' console interface
6516 ("polkit" ,polkit)
6517 ("ppp" ,ppp)
6518 ("readline" ,readline)
6519 ("util-linux" ,util-linux)
6520 ("elogind" ,elogind)))
6521 (synopsis "Network connection manager")
6522 (home-page "https://www.gnome.org/projects/NetworkManager/")
6523 (description
6524 "NetworkManager is a system network service that manages your network
6525 devices and connections, attempting to keep active network connectivity when
6526 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6527 devices, and provides VPN integration with a variety of different VPN
6528 services.")
6529 (license license:gpl2+)
6530 (properties '((upstream-name . "NetworkManager")))))
6531
6532 (define-public network-manager-openvpn
6533 (package
6534 (name "network-manager-openvpn")
6535 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6536 (version "1.8.10")
6537 (source (origin
6538 (method url-fetch)
6539 (uri (string-append
6540 "mirror://gnome/sources/NetworkManager-openvpn/"
6541 (version-major+minor version)
6542 "/NetworkManager-openvpn-" version ".tar.xz"))
6543 (sha256
6544 (base32
6545 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6546 (build-system gnu-build-system)
6547 (arguments
6548 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6549 #:phases
6550 (modify-phases %standard-phases
6551 (add-after 'configure 'patch-path
6552 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6553 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6554 "/sbin/openvpn"))
6555 (modprobe (string-append (assoc-ref inputs "kmod")
6556 "/bin/modprobe"))
6557 (pretty-ovpn (string-append "\"" ovpn "\"")))
6558 (for-each
6559 (lambda (file)
6560 (substitute* file
6561 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6562 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6563 (("\"/sbin/openvpn\"") pretty-ovpn)
6564 (("/sbin/modprobe") modprobe)))
6565 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6566 #t)))))
6567 (native-inputs
6568 `(("pkg-config" ,pkg-config)
6569 ("intltool" ,intltool)))
6570 (inputs
6571 `(("gtk+" ,gtk+)
6572 ("kmod" ,kmod)
6573 ("openvpn" ,openvpn)
6574 ("network-manager" ,network-manager)
6575 ("network-manager-applet" ,network-manager-applet) ;for libnma
6576 ("libsecret" ,libsecret)))
6577 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6578 (synopsis "OpenVPN plug-in for NetworkManager")
6579 (description
6580 "This extension of NetworkManager allows it to take care of connections
6581 to virtual private networks (VPNs) via OpenVPN.")
6582 (license license:gpl2+)
6583 (properties `((upstream-name . "NetworkManager-openvpn")))))
6584
6585 (define-public network-manager-vpnc
6586 (package
6587 (name "network-manager-vpnc")
6588 (version "1.2.6")
6589 (source (origin
6590 (method url-fetch)
6591 (uri (string-append
6592 "mirror://gnome/sources/NetworkManager-vpnc/"
6593 (version-major+minor version)
6594 "/NetworkManager-vpnc-" version ".tar.xz"))
6595 (sha256
6596 (base32
6597 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6598 (build-system gnu-build-system)
6599 (arguments
6600 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6601 #:phases
6602 (modify-phases %standard-phases
6603 (add-after 'configure 'patch-path
6604 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6605 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6606 "/sbin/vpnc"))
6607 (modprobe (string-append (assoc-ref inputs "kmod")
6608 "/bin/modprobe"))
6609 (pretty-ovpn (string-append "\"" vpnc "\"")))
6610 (substitute* "src/nm-vpnc-service.c"
6611 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6612 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6613 (("\"/sbin/vpnc\"") pretty-ovpn)
6614 (("/sbin/modprobe") modprobe)))
6615 #t)))))
6616 (native-inputs
6617 `(("pkg-config" ,pkg-config)
6618 ("intltool" ,intltool)))
6619 (inputs
6620 `(("gtk+" ,gtk+)
6621 ("kmod" ,kmod)
6622 ("vpnc" ,vpnc)
6623 ("network-manager" ,network-manager)
6624 ("network-manager-applet" ,network-manager-applet) ;for libnma
6625 ("libsecret" ,libsecret)))
6626 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6627 (synopsis "VPNC plug-in for NetworkManager")
6628 (description
6629 "Support for configuring virtual private networks based on VPNC.
6630 Compatible with Cisco VPN concentrators configured to use IPsec.")
6631 (license license:gpl2+)
6632 (properties `((upstream-name . "NetworkManager-vpnc")))))
6633
6634 (define-public network-manager-openconnect
6635 (package
6636 (name "network-manager-openconnect")
6637 (version "1.2.6")
6638 (source (origin
6639 (method url-fetch)
6640 (uri (string-append
6641 "mirror://gnome/sources/NetworkManager-openconnect/"
6642 (version-major+minor version)
6643 "/NetworkManager-openconnect-" version ".tar.xz"))
6644 (sha256
6645 (base32
6646 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6647 (build-system gnu-build-system)
6648 (arguments
6649 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6650 #:phases
6651 (modify-phases %standard-phases
6652 (add-after 'configure 'patch-path
6653 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6654 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6655 "/sbin/openconnect"))
6656 (modprobe (string-append (assoc-ref inputs "kmod")
6657 "/bin/modprobe"))
6658 (pretty-ovpn (string-append "\"" openconnect "\"")))
6659 (substitute* "src/nm-openconnect-service.c"
6660 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6661 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6662 (("/sbin/modprobe") modprobe)))
6663 #t)))))
6664 (native-inputs
6665 `(("intltool" ,intltool)
6666 ("network-manager-applet" ,network-manager-applet) ;for libnma
6667 ("pkg-config" ,pkg-config)))
6668 (inputs
6669 `(("gcr" ,gcr)
6670 ("gtk+" ,gtk+)
6671 ("kmod" ,kmod)
6672 ("libsecret" ,libsecret)
6673 ("libxml2" ,libxml2)
6674 ("network-manager" ,network-manager)
6675 ("openconnect" ,openconnect)))
6676 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6677 (synopsis "OpenConnect plug-in for NetworkManager")
6678 (description
6679 "This extension of NetworkManager allows it to take care of connections
6680 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6681 Cisco's AnyConnect SSL VPN.")
6682 (license license:gpl2+)
6683 (properties `((upstream-name . "NetworkManager-openconnect")
6684
6685 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6686 ;; file refers to account "nm-openconnect". Specify it here
6687 ;; so that 'network-manager-service-type' creates it.
6688 (user-accounts . ("nm-openconnect"))))))
6689
6690 (define-public mobile-broadband-provider-info
6691 (package
6692 (name "mobile-broadband-provider-info")
6693 (version "20190116")
6694 (source (origin
6695 (method url-fetch)
6696 (uri (string-append
6697 "mirror://gnome/sources/"
6698 "mobile-broadband-provider-info/" version "/"
6699 "mobile-broadband-provider-info-" version ".tar.xz"))
6700 (sha256
6701 (base32
6702 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6703 (build-system gnu-build-system)
6704 (arguments
6705 `(#:tests? #f)) ; no tests
6706 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6707 (synopsis "Database of broadband connection configuration")
6708 (description "Database of broadband connection configuration.")
6709 (license license:public-domain)))
6710
6711 (define-public network-manager-applet
6712 (package
6713 (name "network-manager-applet")
6714 (version "1.8.24")
6715 (source (origin
6716 (method url-fetch)
6717 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6718 (version-major+minor version) "/"
6719 "network-manager-applet-" version ".tar.xz"))
6720 (sha256
6721 (base32
6722 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6723 (build-system meson-build-system)
6724 (arguments
6725 '(#:configure-flags
6726 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6727 (list "-Dlibnm_gtk=true")
6728 #:glib-or-gtk? #t))
6729 (native-inputs
6730 `(("intltool" ,intltool)
6731 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6732 ("gobject-introspection" ,gobject-introspection)
6733 ("gtk-doc" ,gtk-doc)
6734 ("pkg-config" ,pkg-config)))
6735 (propagated-inputs
6736 ;; libnm-gtk.pc refers to all these.
6737 `(("dbus-glib" ,dbus-glib)
6738 ("gtk+" ,gtk+)
6739 ("network-manager" ,network-manager)))
6740 (inputs
6741 `(("gcr" ,gcr)
6742 ("iso-codes" ,iso-codes)
6743 ("libgudev" ,libgudev)
6744 ("libnotify" ,libnotify)
6745 ("libsecret" ,libsecret)
6746 ("libselinux" ,libselinux)
6747 ("jansson" ,jansson) ; for team support
6748 ("modem-manager" ,modem-manager)
6749 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6750 (synopsis "Applet for managing network connections")
6751 (home-page "https://www.gnome.org/projects/NetworkManager/")
6752 (description
6753 "This package contains a systray applet for NetworkManager. It displays
6754 the available networks and allows users to easily switch between them.")
6755 (license license:gpl2+)))
6756
6757 (define-public libxml++
6758 (package
6759 (name "libxml++")
6760 (version "3.0.1")
6761 (source (origin
6762 (method url-fetch)
6763 (uri (string-append "mirror://gnome/sources/" name "/"
6764 (version-major+minor version) "/"
6765 name "-" version ".tar.xz"))
6766 (sha256
6767 (base32
6768 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6769 (build-system gnu-build-system)
6770 ;; libxml++-3.0.pc refers to all these.
6771 (propagated-inputs
6772 `(("libxml2" ,libxml2)
6773 ("glibmm" ,glibmm)))
6774 (native-inputs
6775 `(("perl" ,perl)
6776 ("pkg-config" ,pkg-config)))
6777 (home-page "http://libxmlplusplus.sourceforge.net/")
6778 (synopsis "C++ wrapper for XML parser library libxml2")
6779 (description
6780 "This package provides a C++ wrapper for the XML parser library
6781 libxml2.")
6782 (license license:lgpl2.1+)))
6783
6784 (define-public libxml++-2
6785 (package
6786 (inherit libxml++)
6787 (name "libxml++")
6788 (version "2.40.1")
6789 (source (origin
6790 (method url-fetch)
6791 (uri (string-append "mirror://gnome/sources/" name "/"
6792 (version-major+minor version) "/"
6793 name "-" version ".tar.xz"))
6794 (sha256
6795 (base32
6796 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6797
6798 (define-public gdm
6799 (package
6800 (name "gdm")
6801 (version "3.32.0")
6802 (source (origin
6803 (method url-fetch)
6804 (uri (string-append "mirror://gnome/sources/" name "/"
6805 (version-major+minor version) "/"
6806 name "-" version ".tar.xz"))
6807 (sha256
6808 (base32
6809 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))
6810 (patches (search-patches "gdm-default-session.patch"))))
6811 (build-system glib-or-gtk-build-system)
6812 (arguments
6813 '(#:configure-flags
6814 `("--without-plymouth"
6815 "--disable-systemd-journal"
6816
6817 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6818 ;; instead of having to replace it (i.e., stopping the mingetty
6819 ;; service for TTY 1 before starting GDM).
6820 "--with-initial-vt=7"
6821
6822 ;; Use '/etc/environment' for locale settings instead of the
6823 ;; systemd-specific '/etc/locale.conf'.
6824 "--with-lang-file=/etc/environment"
6825
6826 ,(string-append "--with-udevdir="
6827 (assoc-ref %outputs "out") "/lib/udev")
6828
6829 "--localstatedir=/var"
6830 ,(string-append "--with-default-path="
6831 (string-join '("/run/setuid-programs"
6832 "/run/current-system/profile/bin"
6833 "/run/current-system/profile/sbin")
6834 ":"))
6835 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6836 ;; XDG_DATA_DIRS so that it finds its schemas.
6837 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6838 #:phases
6839 (modify-phases %standard-phases
6840 (add-before
6841 'configure 'pre-configure
6842 (lambda* (#:key inputs outputs #:allow-other-keys)
6843 ;; We don't have <systemd/sd-daemon.h>.
6844 (substitute* '("common/gdm-log.c"
6845 "daemon/gdm-server.c"
6846 "daemon/gdm-session-worker.c"
6847 "daemon/gdm-session-worker-job.c")
6848 (("#include <systemd/sd-daemon\\.h>") ""))
6849 ;; Use elogind for sd-login.
6850 (substitute* '("common/gdm-common.c"
6851 "daemon/gdm-manager.c"
6852 "libgdm/gdm-user-switching.c")
6853 (("#include <systemd/sd-login\\.h>")
6854 "#include <elogind/sd-login.h>"))
6855 ;; Check for elogind.
6856 (substitute* '("configure")
6857 (("libsystemd")
6858 "libelogind"))
6859 ;; Look for system-installed sessions in
6860 ;; /run/current-system/profile/share.
6861 (substitute* '("libgdm/gdm-sessions.c"
6862 "daemon/gdm-session.c"
6863 "daemon/gdm-display.c"
6864 "daemon/gdm-launch-environment.c")
6865 (("DATADIR \"/x")
6866 "\"/run/current-system/profile/share/x")
6867 (("DATADIR \"/wayland")
6868 "\"/run/current-system/profile/share/wayland")
6869 (("DATADIR \"/gnome")
6870 "\"/run/current-system/profile/share/gnome"))
6871 (let ((propagate '("GDM_CUSTOM_CONF"
6872 "GDM_DBUS_DAEMON"
6873 "GDM_X_SERVER"
6874 "GDM_X_SESSION"
6875 ;; XXX: Remove this once GNOME Shell is
6876 ;; a dependency of GDM.
6877 "XDG_DATA_DIRS")))
6878 (substitute* "daemon/gdm-session.c"
6879 (("set_up_session_environment \\(self\\);")
6880 (apply string-append
6881 "set_up_session_environment (self);\n"
6882 (map (lambda (name)
6883 (string-append
6884 "gdm_session_set_environment_variable "
6885 "(self, \"" name "\","
6886 "g_getenv (\"" name "\"));\n"))
6887 propagate)))))
6888 ;; Find the configuration file using an environment variable.
6889 (substitute* '("common/gdm-settings.c")
6890 (("GDM_CUSTOM_CONF")
6891 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6892 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6893 " : GDM_CUSTOM_CONF)")))
6894 ;; Use service-supplied path to X.
6895 (substitute* '("daemon/gdm-server.c")
6896 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6897 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6898 (substitute* '("daemon/gdm-x-session.c")
6899 (("\"dbus-daemon\"")
6900 "g_getenv (\"GDM_DBUS_DAEMON\")")
6901 (("X_SERVER")
6902 "g_getenv (\"GDM_X_SERVER\")")
6903 (("GDMCONFDIR \"/Xsession\"")
6904 "g_getenv (\"GDM_X_SESSION\")"))
6905 ;; Use an absolute path for GNOME Session.
6906 (substitute* "daemon/gdm-launch-environment.c"
6907 (("\"gnome-session\"")
6908 (string-append "\"" (assoc-ref inputs "gnome-session")
6909 "/bin/gnome-session\"")))
6910 ;; Do not automatically select the placeholder session.
6911 (substitute* "daemon/gdm-session.c"
6912 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6913 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6914 "(g_strcmp0(search_dirs[i], \""
6915 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6916 "\") == 0 && "
6917 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6918 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6919 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6920 #t))
6921 ;; GDM requires that there be at least one desktop entry
6922 ;; file. This phase installs a hidden one that simply
6923 ;; fails. This enables users to use GDM with a
6924 ;; '~/.xsession' script with no other desktop entry files.
6925 ;; See <https://bugs.gnu.org/35068>.
6926 (add-after 'install 'install-placeholder-desktop-entry
6927 (lambda* (#:key inputs outputs #:allow-other-keys)
6928 (let* ((out (assoc-ref outputs "out"))
6929 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6930 (fail (string-append sessions "/fail.desktop")))
6931 (mkdir-p sessions)
6932 (with-output-to-file fail
6933 (lambda ()
6934 (for-each
6935 display
6936 '("[Desktop Entry]\n"
6937 "Encoding=UTF-8\n"
6938 "Type=Application\n"
6939 "Name=Fail\n"
6940 "Comment=This session fails immediately.\n"
6941 "NoDisplay=true\n"
6942 "Exec=false\n"))))
6943 #t)))
6944 ;; GDM needs GNOME Session to run these applications. We link
6945 ;; their autostart files in `share/gdm/greeter/autostart'
6946 ;; because GDM explicitly tells GNOME Session to look there.
6947 ;;
6948 ;; XXX: GNOME Shell should be linked here too, but currently
6949 ;; GNOME Shell depends on GDM.
6950 (add-after 'install 'link-autostart-files
6951 (lambda* (#:key inputs outputs #:allow-other-keys)
6952 (let* ((out (assoc-ref outputs "out"))
6953 (autostart (string-append out "/share/gdm/"
6954 "greeter/autostart"))
6955 (settings (assoc-ref inputs "gnome-settings-daemon")))
6956 (mkdir-p autostart)
6957 (with-directory-excursion autostart
6958 (for-each (lambda (desktop)
6959 (symlink desktop (basename desktop)))
6960 (find-files (string-append settings "/etc/xdg"))))
6961 #t))))))
6962 (native-inputs
6963 `(("dconf" ,dconf)
6964 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6965 ("gobject-introspection" ,gobject-introspection)
6966 ("intltool" ,intltool)
6967 ("itstool" ,itstool)
6968 ("pkg-config" ,pkg-config)
6969 ("xmllint" ,libxml2)))
6970 (inputs
6971 `(("accountsservice" ,accountsservice)
6972 ("check" ,check) ; for testing
6973 ("elogind" ,elogind)
6974 ("gnome-session" ,gnome-session)
6975 ("gnome-settings-daemon" ,gnome-settings-daemon)
6976 ("gtk+" ,gtk+)
6977 ("iso-codes" ,iso-codes)
6978 ("libcanberra" ,libcanberra)
6979 ("linux-pam" ,linux-pam)))
6980 (synopsis "Display manager for GNOME")
6981 (home-page "https://wiki.gnome.org/Projects/GDM/")
6982 (description
6983 "GNOME Display Manager is a system service that is responsible for
6984 providing graphical log-ins and managing local and remote displays.")
6985 (license license:gpl2+)))
6986
6987 (define-public libgtop
6988 (package
6989 (name "libgtop")
6990 (version "2.40.0")
6991 (source (origin
6992 (method url-fetch)
6993 (uri (string-append "mirror://gnome/sources/libgtop/"
6994 (version-major+minor version) "/"
6995 "libgtop-" version ".tar.xz"))
6996 (sha256
6997 (base32
6998 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6999 (build-system gnu-build-system)
7000 (native-inputs
7001 `(("gobject-introspection" ,gobject-introspection)
7002 ("intltool" ,intltool)
7003 ("perl" ,perl)
7004 ("pkg-config" ,pkg-config)))
7005 (propagated-inputs
7006 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7007 (synopsis "Portable system access library")
7008 (home-page "https://www.gnome.org/")
7009 (description
7010 "LibGTop is a library to get system specific data such as CPU and memory
7011 usage and information about running processes.")
7012 (license license:gpl2+)))
7013
7014 (define-public gnome-bluetooth
7015 (package
7016 (name "gnome-bluetooth")
7017 (version "3.32.1")
7018 (source (origin
7019 (method url-fetch)
7020 (uri (string-append "mirror://gnome/sources/" name "/"
7021 (version-major+minor version) "/"
7022 name "-" version ".tar.xz"))
7023 (sha256
7024 (base32
7025 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
7026 (build-system meson-build-system)
7027 (native-inputs
7028 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7029 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7030 ("gobject-introspection" ,gobject-introspection)
7031 ("intltool" ,intltool)
7032 ("pkg-config" ,pkg-config)
7033 ("xmllint" ,libxml2)))
7034 (propagated-inputs
7035 ;; gnome-bluetooth-1.0.pc refers to all these.
7036 `(("glib" ,glib)
7037 ("gtk+" ,gtk+)))
7038 (inputs
7039 `(("eudev" ,eudev)
7040 ("libcanberra" ,libcanberra)
7041 ("libnotify" ,libnotify)))
7042 (synopsis "GNOME Bluetooth subsystem")
7043 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7044 (description
7045 "This package contains tools for managing and manipulating Bluetooth
7046 devices using the GNOME desktop.")
7047 (license license:lgpl2.1+)))
7048
7049 (define-public gnome-control-center
7050 (package
7051 (name "gnome-control-center")
7052 (version "3.32.2")
7053 (source (origin
7054 (method url-fetch)
7055 (uri (string-append "mirror://gnome/sources/" name "/"
7056 (version-major+minor version) "/"
7057 name "-" version ".tar.xz"))
7058 (sha256
7059 (base32
7060 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
7061 (build-system meson-build-system)
7062 (arguments
7063 '(#:glib-or-gtk? #t
7064 #:configure-flags
7065 (list "-Dcheese=false"
7066 (string-append "-Dgnome_session_libexecdir="
7067 (assoc-ref %build-inputs "gnome-session")
7068 "/libexec"))
7069 #:phases
7070 (modify-phases %standard-phases
7071 (add-before 'configure 'patch-paths
7072 (lambda* (#:key inputs #:allow-other-keys)
7073 (let ((libc (assoc-ref inputs "libc"))
7074 (tzdata (assoc-ref inputs "tzdata"))
7075 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7076 (nm-applet (assoc-ref inputs "network-manager-applet"))
7077 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7078 (substitute* "panels/datetime/tz.h"
7079 (("/usr/share/zoneinfo/zone.tab")
7080 (string-append tzdata "/share/zoneinfo/zone.tab")))
7081 (substitute* "tests/datetime/test-endianess.c"
7082 (("/usr/share/locale")
7083 (string-append libc "/share/locale")))
7084 (substitute* "panels/region/cc-region-panel.c"
7085 (("\"gkbd-keyboard-display")
7086 (string-append "\"" libgnomekbd
7087 "/bin/gkbd-keyboard-display")))
7088 (substitute* '("panels/network/net-device-wifi.c"
7089 "panels/network/net-device.c"
7090 "panels/network/connection-editor/net-connection-editor.c")
7091 (("\"nm-connection-editor")
7092 (string-append "\"" nm-applet
7093 "/bin/nm-connection-editor")))
7094 (substitute* '("panels/user-accounts/run-passwd.c")
7095 (("/usr/bin/passwd")
7096 "/run/setuid-programs/passwd"))
7097 (substitute* "panels/info/cc-info-overview-panel.c"
7098 (("DATADIR \"/gnome/gnome-version.xml\"")
7099 (string-append "\"" gnome-desktop
7100 "/share/gnome/gnome-version.xml\"")))
7101 #t))))))
7102 (native-inputs
7103 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7104 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7105 ("intltool" ,intltool)
7106 ("pkg-config" ,pkg-config)
7107 ("xsltproc" ,libxslt)
7108 ;; For tests
7109 ("hicolor-icon-theme" ,hicolor-icon-theme)
7110 ("python-dbusmock" ,python-dbusmock)
7111 ("xorg-server" ,xorg-server-for-tests)))
7112 (inputs
7113 `(("accountsservice" ,accountsservice)
7114 ("clutter-gtk" ,clutter-gtk)
7115 ("colord-gtk" ,colord-gtk)
7116 ("cups" ,cups)
7117 ("dconf" ,dconf)
7118 ("docbook-xsl" ,docbook-xsl)
7119 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7120 ("gnome-bluetooth" ,gnome-bluetooth)
7121 ("gnome-desktop" ,gnome-desktop)
7122 ("gnome-online-accounts" ,gnome-online-accounts)
7123 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7124 ("gnome-session" ,gnome-session)
7125 ("gnome-settings-daemon" ,gnome-settings-daemon)
7126 ("grilo" ,grilo)
7127 ("gsound" ,gsound)
7128 ("ibus" ,ibus)
7129 ("libcanberra" ,libcanberra)
7130 ("libgnomekbd" ,libgnomekbd)
7131 ("libgudev" ,libgudev)
7132 ("libgtop" ,libgtop)
7133 ("libpwquality" ,libpwquality)
7134 ("libsecret" ,libsecret)
7135 ("libsoup" ,libsoup)
7136 ("libxml2" ,libxml2)
7137 ("libwacom" ,libwacom)
7138 ("mesa" ,mesa)
7139 ("mit-krb5" ,mit-krb5)
7140 ("modem-manager" ,modem-manager)
7141 ("network-manager-applet" ,network-manager-applet)
7142 ("polkit" ,polkit)
7143 ("pulseaudio" ,pulseaudio)
7144 ("smbclient" ,samba)
7145 ("tzdata" ,tzdata)
7146 ("udisks" ,udisks)
7147 ("upower" ,upower)))
7148 (synopsis "Utilities to configure the GNOME desktop")
7149 (home-page "https://www.gnome.org/")
7150 (description
7151 "This package contains configuration applets for the GNOME desktop,
7152 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7153 properties, sound setup, desktop theme and background, user interface
7154 properties, screen resolution, and other GNOME parameters.")
7155 (license license:gpl2+)))
7156
7157 (define-public gnome-shell
7158 (package
7159 (name "gnome-shell")
7160 (version "3.32.2")
7161 (source (origin
7162 (method url-fetch)
7163 (uri (string-append "mirror://gnome/sources/" name "/"
7164 (version-major+minor version) "/"
7165 name "-" version ".tar.xz"))
7166 (sha256
7167 (base32
7168 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
7169 (patches (search-patches "gnome-shell-theme.patch"))
7170 (modules '((guix build utils)))
7171 (snippet
7172 #~(begin
7173 ;; Copy images for use on the GDM log-in screen.
7174 (copy-file #$(file-append %artwork-repository
7175 "/slim/0.x/background.png")
7176 "data/theme/guix-background.png")
7177 (copy-file #$(file-append %artwork-repository
7178 "/logo/Guix-horizontal-white.svg")
7179 "data/theme/guix-logo.svg")
7180 #t))))
7181 (build-system meson-build-system)
7182 (arguments
7183 `(#:glib-or-gtk? #t
7184 #:disallowed-references ((,glib "bin")
7185 ,inkscape ,libxslt
7186 ,ruby-sass)
7187 #:configure-flags
7188 (list "-Dsystemd=false"
7189 ;; Otherwise, the RUNPATH will lack the final path component.
7190 (string-append "-Dc_link_args=-Wl,-rpath="
7191 (assoc-ref %outputs "out")
7192 "/lib/gnome-shell"))
7193
7194 #:modules ((guix build meson-build-system)
7195 (guix build utils)
7196 (srfi srfi-1))
7197
7198 #:phases
7199 (modify-phases %standard-phases
7200 (add-after 'unpack 'fix-keysdir
7201 (lambda* (#:key outputs #:allow-other-keys)
7202 (let* ((out (assoc-ref outputs "out"))
7203 (keysdir (string-append
7204 out "/share/gnome-control-center/keybindings")))
7205 (substitute* "meson.build"
7206 (("keysdir =.*")
7207 (string-append "keysdir = '" keysdir "'\n")))
7208 #t)))
7209 (add-before 'configure 'convert-logo-to-png
7210 (lambda* (#:key inputs #:allow-other-keys)
7211 ;; Convert the logo from SVG to PNG.
7212 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7213 "data/theme/guix-logo.svg")))
7214 (add-before 'configure 'record-absolute-file-names
7215 (lambda* (#:key inputs #:allow-other-keys)
7216 (substitute* "js/misc/ibusManager.js"
7217 (("'ibus-daemon'")
7218 (string-append "'" (assoc-ref inputs "ibus")
7219 "/bin/ibus-daemon'")))
7220 (substitute* "js/ui/status/keyboard.js"
7221 (("'gkbd-keyboard-display'")
7222 (string-append "'" (assoc-ref inputs "libgnomekbd")
7223 "/bin/gkbd-keyboard-display'")))
7224 #t))
7225 (add-before 'check 'pre-check
7226 (lambda* (#:key inputs #:allow-other-keys)
7227 ;; Tests require a running X server.
7228 (system "Xvfb :1 &")
7229 (setenv "DISPLAY" ":1")
7230 #t))
7231 (add-after 'install 'wrap-programs
7232 (lambda* (#:key inputs outputs #:allow-other-keys)
7233 (let ((out (assoc-ref outputs "out"))
7234 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7235 (python-path (getenv "PYTHONPATH")))
7236 (wrap-program (string-append out "/bin/gnome-shell")
7237 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7238 ;; FIXME: gnome-shell loads these libraries with unqualified
7239 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7240 ;; alternative might be to patch gnome-shell.
7241 `("LD_LIBRARY_PATH" ":" prefix
7242 ,(map (lambda (pkg)
7243 (string-append (assoc-ref inputs pkg) "/lib"))
7244 '("gdk-pixbuf"
7245 "gnome-bluetooth" "librsvg" "libgweather"))))
7246 (for-each
7247 (lambda (prog)
7248 (wrap-program (string-append out "/bin/" prog)
7249 `("PYTHONPATH" ":" prefix (,python-path))
7250 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7251 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7252 #t)))
7253 (replace 'glib-or-gtk-wrap
7254 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7255 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7256 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7257 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7258 ;; phase. Fix that since we don't need these.
7259 (wrap #:inputs (fold alist-delete inputs
7260 '("inkscape" "intltool" "glib:bin"))
7261 #:outputs outputs)))))))
7262 (native-inputs
7263 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7264 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7265 ("gobject-introspection" ,gobject-introspection)
7266 ("inkscape" ,inkscape)
7267 ("intltool" ,intltool)
7268 ("pkg-config" ,pkg-config)
7269 ("python" ,python)
7270 ("ruby-sass" ,ruby-sass)
7271 ("sassc" ,sassc)
7272 ("xsltproc" ,libxslt)
7273 ;; For tests
7274 ("xorg-server" ,xorg-server-for-tests)))
7275 (inputs
7276 `(("accountsservice" ,accountsservice)
7277 ("caribou" ,caribou)
7278 ("docbook-xsl" ,docbook-xsl)
7279 ("evolution-data-server" ,evolution-data-server)
7280 ("gcr" ,gcr)
7281 ("gdm" ,gdm)
7282 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7283 ("gjs" ,gjs)
7284 ("gnome-bluetooth" ,gnome-bluetooth)
7285 ("gnome-desktop" ,gnome-desktop)
7286 ("gnome-settings-daemon" ,gnome-settings-daemon)
7287 ("gst-plugins-base" ,gst-plugins-base)
7288 ("ibus" ,ibus)
7289 ("libcanberra" ,libcanberra)
7290 ("libcroco" ,libcroco)
7291 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7292 ("libgweather" ,libgweather)
7293 ("libsoup" ,libsoup)
7294 ("mesa-headers" ,mesa-headers)
7295 ("mutter" ,mutter)
7296 ("network-manager-applet" ,network-manager-applet)
7297 ("polkit" ,polkit)
7298 ("pulseaudio" ,pulseaudio)
7299 ("python-pygobject" ,python-pygobject)
7300 ("startup-notification" ,startup-notification)
7301 ("telepathy-logger" ,telepathy-logger)
7302 ("upower" ,upower)
7303 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7304 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7305 ("librsvg" ,librsvg)
7306 ("geoclue" ,geoclue)))
7307 (synopsis "Desktop shell for GNOME")
7308 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7309 (description
7310 "GNOME Shell provides core user interface functions for the GNOME desktop,
7311 like switching to windows and launching applications.")
7312 (license license:gpl2+)))
7313
7314 (define-public gtk-vnc
7315 (package
7316 (name "gtk-vnc")
7317 (version "0.9.0")
7318 (source
7319 (origin
7320 (method url-fetch)
7321 (uri (string-append "mirror://gnome/sources/" name "/"
7322 (version-major+minor version) "/"
7323 name "-" version ".tar.xz"))
7324 (sha256
7325 (base32
7326 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7327 (build-system gnu-build-system)
7328 (arguments
7329 '(#:configure-flags '("--with-gtk=3.0")))
7330 (propagated-inputs
7331 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7332 (inputs
7333 `(("cyrus-sasl" ,cyrus-sasl)
7334 ("gnutls" ,gnutls)
7335 ("libgcrypt" ,libgcrypt)
7336 ("pulseaudio" ,pulseaudio)))
7337 (native-inputs
7338 `(("glib:bin" ,glib "bin")
7339 ("gobject-introspection" ,gobject-introspection)
7340 ("intltool" ,intltool)
7341 ("pkg-config" ,pkg-config)
7342 ("python-wrapper" ,python-wrapper)
7343 ("vala" ,vala)))
7344 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7345 (synopsis "VNC viewer widget for GTK+")
7346 (description
7347 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7348 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7349 GTK-VNC implements client side RFB protocol and authentication extensions such
7350 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7351 (license license:lgpl2.1+)))
7352
7353 (define-public gnome-autoar
7354 (package
7355 (name "gnome-autoar")
7356 (version "0.2.3")
7357 (source (origin
7358 (method url-fetch)
7359 (uri (string-append "mirror://gnome/sources/" name "/"
7360 (version-major+minor version) "/"
7361 name "-" version ".tar.xz"))
7362 (sha256
7363 (base32
7364 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
7365 (build-system glib-or-gtk-build-system)
7366 (native-inputs
7367 `(("gnome-common" ,gnome-common)
7368 ("gobject-introspection" ,gobject-introspection)
7369 ("pkg-config" ,pkg-config)))
7370 (propagated-inputs
7371 `(("libarchive" ,libarchive))) ; XXX document why
7372 (inputs
7373 `(("gtk+" ,gtk+)))
7374 (synopsis "Archives integration support for GNOME")
7375 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7376 (description
7377 "GNOME Autoar is a library which makes creating and extracting archives
7378 easy, safe, and automatic.")
7379 (license license:lgpl2.1+)))
7380
7381 (define-public tracker
7382 (package
7383 (name "tracker")
7384 (version "2.3.4")
7385 (source (origin
7386 (method url-fetch)
7387 (uri (string-append "mirror://gnome/sources/tracker/"
7388 (version-major+minor version) "/"
7389 "tracker-" version ".tar.xz"))
7390 (sha256
7391 (base32
7392 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7393 (build-system meson-build-system)
7394 (arguments
7395 `(#:glib-or-gtk? #t
7396 #:configure-flags
7397 ;; Otherwise, the RUNPATH will lack the final path component.
7398 (list (string-append "-Dc_link_args=-Wl,-rpath="
7399 (assoc-ref %outputs "out") "/lib:"
7400 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7401 #:phases
7402 (modify-phases %standard-phases
7403 (add-before 'check 'pre-check
7404 (lambda _
7405 ;; Some tests expect to write to $HOME.
7406 (setenv "HOME" "/tmp")
7407 #t)))))
7408 (native-inputs
7409 `(("glib:bin" ,glib "bin")
7410 ("gobject-introspection" ,gobject-introspection)
7411 ("python-pygobject" ,python-pygobject)
7412 ("intltool" ,intltool)
7413 ("pkg-config" ,pkg-config)
7414 ("vala" ,vala)))
7415 (inputs
7416 `(("dbus" ,dbus)
7417 ("sqlite" ,sqlite)
7418 ("libxml2" ,libxml2)
7419 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7420 ("json-glib" ,json-glib)
7421 ("libsoup" ,libsoup)))
7422 (synopsis "Metadata database, indexer and search tool")
7423 (home-page "https://wiki.gnome.org/Projects/Tracker")
7424 (description
7425 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7426
7427 It is a middleware component aimed at desktop application developers who want
7428 their apps to browse and search user content. It's not designed to be used
7429 directly by desktop users, but it provides a commandline tool named
7430 @command{tracker} for the adventurous.
7431
7432 Tracker allows your application to instantly perform full-text searches across
7433 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7434 example. This is achieved by indexing the user's home directory in the
7435 background.
7436
7437 Tracker also allows your application to query and list content that the user
7438 has stored. For example, GNOME Music displays all the music files that are
7439 found by Tracker. This means that GNOME Music doesn't need to maintain a
7440 database of its own.
7441
7442 If you need to go beyond simple searches, Tracker is also a linked data
7443 endpoint and it understands SPARQL. ")
7444 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7445 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7446 ;; libstemmer is bsd-3 and the rest is gpl2+.
7447 (license (list license:gpl2+
7448 license:bsd-3
7449 license:lgpl2.1+))))
7450
7451 (define-public tracker-miners
7452 (package
7453 (name "tracker-miners")
7454 (version "2.3.3")
7455 (source (origin
7456 (method url-fetch)
7457 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7458 (version-major+minor version)
7459 "/tracker-miners-" version ".tar.xz"))
7460 (sha256
7461 (base32
7462 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7463 (build-system meson-build-system)
7464 (arguments
7465 `(#:glib-or-gtk? #t
7466 #:configure-flags
7467 (list "-Dminer_rss=false" ; libgrss is required.
7468 ;; Ensure the RUNPATH contains all installed library locations.
7469 (string-append "-Dc_link_args=-Wl,-rpath="
7470 (assoc-ref %outputs "out")
7471 "/lib/tracker-miners-2.0")
7472 ;; TODO: Enable functional tests. Currently, the following error
7473 ;; appears:
7474 ;; Exception: The functional tests require DConf to be the default
7475 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7476 "-Dfunctional_tests=false")))
7477 (native-inputs
7478 `(("dbus" ,dbus)
7479 ("intltool" ,intltool)
7480 ("glib:bin" ,glib "bin")
7481 ("gobject-introspection" ,gobject-introspection)
7482 ("pkg-config" ,pkg-config)
7483 ("python-pygobject" ,python-pygobject)))
7484 (inputs
7485 `(("exempi" ,exempi)
7486 ("ffmpeg" ,ffmpeg)
7487 ("flac" ,flac)
7488 ("giflib" ,giflib)
7489 ("glib" ,glib)
7490 ("gstreamer" ,gstreamer)
7491 ("icu4c" ,icu4c)
7492 ("libcue" ,libcue)
7493 ("libexif" ,libexif)
7494 ("libgsf" ,libgsf)
7495 ("libgxps" ,libgxps)
7496 ("libiptcdata" ,libiptcdata)
7497 ("libjpeg" ,libjpeg)
7498 ("libosinfo" ,libosinfo)
7499 ("libpng" ,libpng)
7500 ("libseccomp" ,libseccomp)
7501 ("libtiff" ,libtiff)
7502 ("libvorbis" ,libvorbis)
7503 ("libxml2" ,libxml2)
7504 ("poppler" ,poppler)
7505 ("taglib" ,taglib)
7506 ("totem-pl-parser" ,totem-pl-parser)
7507 ("tracker" ,tracker)
7508 ("upower" ,upower)
7509 ("zlib" ,zlib)))
7510 (synopsis "Metadata database, indexer and search tool")
7511 (home-page "https://wiki.gnome.org/Projects/Tracker")
7512 (description
7513 "Tracker is an advanced framework for first class objects with associated
7514 metadata and tags. It provides a one stop solution for all metadata, tags,
7515 shared object databases, search tools and indexing.")
7516 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7517 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7518 (license (list license:gpl2+
7519 license:lgpl2.1+
7520 license:lgpl2.0+))))
7521
7522 (define-public nautilus
7523 (package
7524 (name "nautilus")
7525 (version "3.32.3")
7526 (source (origin
7527 (method url-fetch)
7528 (uri (string-append "mirror://gnome/sources/" name "/"
7529 (version-major+minor version) "/"
7530 name "-" version ".tar.xz"))
7531 (sha256
7532 (base32
7533 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
7534 (build-system meson-build-system)
7535 (arguments
7536 '(#:glib-or-gtk? #t
7537 ;; XXX: FAIL: check-nautilus
7538 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7539 #:tests? #f))
7540 (native-inputs
7541 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7542 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7543 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7544 ("gobject-introspection" ,gobject-introspection)
7545 ("intltool" ,intltool)
7546 ("pkg-config" ,pkg-config)))
7547 (inputs
7548 `(("dconf" ,dconf)
7549 ("gexiv2" ,gexiv2)
7550 ("gvfs" ,gvfs)
7551 ("exempi" ,exempi)
7552 ("gnome-desktop" ,gnome-desktop)
7553 ("gnome-autoar" ,gnome-autoar)
7554 ("gst-plugins-base" ,gst-plugins-base)
7555 ("libseccomp" ,libseccomp)
7556 ("libselinux" ,libselinux)
7557 ("tracker" ,tracker)
7558 ("tracker-miners" ,tracker-miners)
7559 ;; XXX: gtk+ is required by libnautilus-extension.pc
7560 ;;
7561 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7562 ;; package. See:
7563 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7564 ("gtk+" ,gtk+)
7565 ("libexif" ,libexif)
7566 ("libxml2" ,libxml2)))
7567 (synopsis "File manager for GNOME")
7568 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7569 (description
7570 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7571 design and behaviour, giving the user a simple way to navigate and manage its
7572 files.")
7573 (license license:gpl2+)))
7574
7575 (define-public baobab
7576 (package
7577 (name "baobab")
7578 (version "3.32.0")
7579 (source (origin
7580 (method url-fetch)
7581 (uri (string-append
7582 "mirror://gnome/sources/" name "/"
7583 (version-major+minor version) "/"
7584 name "-" version ".tar.xz"))
7585 (sha256
7586 (base32
7587 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7588 (build-system meson-build-system)
7589 (arguments
7590 '(#:glib-or-gtk? #t))
7591 (native-inputs
7592 `(("intltool" ,intltool)
7593 ("pkg-config" ,pkg-config)
7594 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7595 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7596 ("itstool" ,itstool)
7597 ("xmllint" ,libxml2)
7598 ("glib" ,glib "bin")
7599 ("vala" ,vala)))
7600 (inputs
7601 `(("gtk+" ,gtk+)))
7602 (synopsis "Disk usage analyzer for GNOME")
7603 (description
7604 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7605 usage in the GNOME desktop environment. It can easily scan device volumes or
7606 a specific user-requested directory branch (local or remote). Once the scan
7607 is complete it provides a graphical representation of each selected folder.")
7608 (home-page "https://wiki.gnome.org/Apps/Baobab")
7609 (license license:gpl2+)))
7610
7611 (define-public gnome-backgrounds
7612 (package
7613 (name "gnome-backgrounds")
7614 (version "3.32.0")
7615 (source
7616 (origin
7617 (method url-fetch)
7618 (uri (string-append "mirror://gnome/sources/" name "/"
7619 (version-major+minor version) "/"
7620 name "-" version ".tar.xz"))
7621 (sha256
7622 (base32
7623 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
7624 (build-system meson-build-system)
7625 (native-inputs
7626 `(("intltool" ,intltool)))
7627 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7628 (synopsis "Background images for the GNOME desktop")
7629 (description
7630 "GNOME backgrounds package contains a collection of graphics files which
7631 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7632 the package creates the proper framework and directory structure so that you
7633 can add your own files to the collection.")
7634 (license (list license:gpl2+
7635 license:cc-by2.0
7636 license:cc-by-sa2.0
7637 license:cc-by-sa3.0))))
7638
7639 (define-public gnome-screenshot
7640 (package
7641 (name "gnome-screenshot")
7642 (version "3.32.0")
7643 (source
7644 (origin
7645 (method url-fetch)
7646 (uri (string-append "mirror://gnome/sources/" name "/"
7647 (version-major+minor version) "/"
7648 name "-" version ".tar.xz"))
7649 (sha256
7650 (base32
7651 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
7652 (build-system meson-build-system)
7653 (native-inputs
7654 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7655 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7656 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7657 ("intltool" ,intltool)
7658 ("appstream-glib" ,appstream-glib)
7659 ("pkg-config" ,pkg-config)))
7660 (inputs
7661 `(("gtk+" ,gtk+)
7662 ("libcanberra" ,libcanberra)
7663 ("libx11" ,libx11)
7664 ("libxext" ,libxext)))
7665 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7666 (synopsis "Take pictures of your screen")
7667 (description
7668 "GNOME Screenshot is a utility used for taking screenshots of the entire
7669 screen, a window or a user defined area of the screen, with optional
7670 beautifying border effects.")
7671 (license license:gpl2+)))
7672
7673 (define-public dconf-editor
7674 (package
7675 (name "dconf-editor")
7676 (version "3.32.0")
7677 (source
7678 (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 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
7686 (build-system meson-build-system)
7687 (arguments
7688 '(#:phases (modify-phases %standard-phases
7689 (add-before 'configure 'set-glib-minimum-version
7690 (lambda _
7691 ;; Change the minimum required GLib version so that
7692 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7693 ;; do that, it complains that "55" is not an even
7694 ;; number. See <https://bugs.gnu.org/37503>.
7695 (substitute* "editor/meson.build"
7696 (("2\\.55\\.1") "2.60.0"))
7697 #t)))))
7698 (native-inputs
7699 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7700 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7701 ("intltool" ,intltool)
7702 ("pkg-config" ,pkg-config)
7703 ("vala" ,vala)))
7704 (inputs
7705 `(("dconf" ,dconf)
7706 ("gtk+" ,gtk+)
7707 ("libxml2" ,libxml2)))
7708 (home-page "https://git.gnome.org/browse/dconf-editor")
7709 (synopsis "Graphical editor for GNOME's dconf configuration system")
7710 (description
7711 "Dconf-editor is a graphical tool for browsing and editing the dconf
7712 configuration system for GNOME. It allows users to configure desktop
7713 software that do not provide their own configuration interface.")
7714 (license license:lgpl2.1+)))
7715
7716 (define-public gnome-default-applications
7717 (package
7718 (name "gnome-default-applications")
7719 (version "0")
7720 (build-system trivial-build-system)
7721 (source #f)
7722 (propagated-inputs
7723 `(("nautilus" ,nautilus)
7724 ("evince" ,evince)))
7725 (arguments
7726 `(#:modules ((guix build utils))
7727 #:builder
7728 (begin
7729 (use-modules (guix build utils))
7730 (let* ((out (assoc-ref %outputs "out"))
7731 (apps (string-append out "/share/applications")))
7732 (mkdir-p apps)
7733 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7734 (lambda (port)
7735 (format port "[Default Applications]\n")
7736 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7737 (format port "application/pdf=evince.desktop\n")
7738 (format port "application/postscript=evince.desktop\n")))
7739 #t))))
7740 (synopsis "Default MIME type associations for the GNOME desktop")
7741 (description
7742 "Given many installed packages which might handle a given MIME type, a
7743 user running the GNOME desktop probably has some preferences: for example,
7744 that folders be opened by default by the Nautilus file manager, not the Baobab
7745 disk usage analyzer. This package establishes that set of default MIME type
7746 associations for GNOME.")
7747 (license license:gpl3+)
7748 (home-page #f)))
7749
7750 (define-public libgovirt
7751 (package
7752 (name "libgovirt")
7753 (version "0.3.6")
7754 (source (origin
7755 (method url-fetch)
7756 (uri (string-append "mirror://gnome/sources/" name "/"
7757 (version-major+minor version) "/"
7758 name "-" version ".tar.xz"))
7759 (sha256
7760 (base32
7761 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7762 (build-system glib-or-gtk-build-system)
7763 (native-inputs
7764 `(("gettext" ,gettext-minimal)
7765 ("glib:bin" ,glib "bin")
7766 ("gobject-introspection" ,gobject-introspection)
7767 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7768 ("gtk+:bin" ,gtk+ "bin")
7769 ("pkg-config" ,pkg-config)))
7770 (inputs
7771 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7772 ("librest" ,rest)))
7773 (synopsis "GoVirt Library")
7774 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7775 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7776 (license license:gpl2+)))
7777
7778 (define-public gnome-weather
7779 (package
7780 (name "gnome-weather")
7781 (version "3.34.0")
7782 (source (origin
7783 (method url-fetch)
7784 (uri (string-append "mirror://gnome/sources/" name "/"
7785 (version-major+minor version) "/"
7786 name "-" version ".tar.xz"))
7787 (sha256
7788 (base32
7789 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7790 (build-system meson-build-system)
7791 (native-inputs
7792 `(("gettext" ,gettext-minimal)
7793 ("glib:bin" ,glib "bin")
7794 ("gobject-introspection" ,gobject-introspection)
7795 ("gtk+:bin" ,gtk+ "bin")
7796 ("pkg-config" ,pkg-config)))
7797 (inputs
7798 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7799 ("appstream-glib" ,appstream-glib)
7800 ("geoclue" ,geoclue)
7801 ("gdk-pixbuf" ,gdk-pixbuf)
7802 ("gjs" ,gjs)
7803 ("gnome-desktop" ,gnome-desktop)
7804 ("libgweather" ,libgweather)))
7805 (arguments
7806 `(#:phases
7807 (modify-phases %standard-phases
7808 (add-after 'install 'fix-desktop-file
7809 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7810 ;; See https://issues.guix.gnu.org/issue/39324.
7811 (lambda* (#:key outputs #:allow-other-keys)
7812 (let* ((out (assoc-ref outputs "out"))
7813 (applications (string-append out "/share/applications")))
7814 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7815 (("Exec=.*") "Exec=gnome-weather\n"))))))))
7816 (synopsis "Weather monitoring for GNOME desktop")
7817 (description "GNOME Weather is a small application that allows you to
7818 monitor the current weather conditions for your city, or anywhere in the
7819 world.")
7820 (home-page "https://wiki.gnome.org/Apps/Weather")
7821 (license license:gpl2+)))
7822
7823 (define-public gnome
7824 (package
7825 (name "gnome")
7826 (version (package-version gnome-shell))
7827 (source #f)
7828 (build-system trivial-build-system)
7829 (arguments '(#:builder (begin (mkdir %output) #t)))
7830 (propagated-inputs
7831 ;; TODO: Add or remove packages according to:
7832 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7833 `(
7834 ;; GNOME-Core-OS-Services
7835 ("accountsservice" ,accountsservice)
7836 ("network-manager" ,network-manager)
7837 ("packagekit" ,packagekit)
7838 ("upower" ,upower)
7839 ;; GNOME-Core-Shell
7840 ("adwaita-icon-theme" ,adwaita-icon-theme)
7841 ("gdm" ,gdm)
7842 ("glib-networking" ,glib-networking)
7843 ("gnome-backgrounds" ,gnome-backgrounds)
7844 ("gnome-bluetooth" ,gnome-bluetooth)
7845 ("gnome-color-manager" ,gnome-color-manager)
7846 ("gnome-control-center" ,gnome-control-center)
7847 ("gnome-desktop" ,gnome-desktop)
7848 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7849 ("gnome-initial-setup" ,gnome-initial-setup)
7850 ("gnome-keyring" ,gnome-keyring)
7851 ("gnome-menus" ,gnome-menus)
7852 ("gnome-session" ,gnome-session)
7853 ("gnome-settings-daemon" ,gnome-settings-daemon)
7854 ("gnome-shell-extensions" ,gnome-shell-extensions)
7855 ("gnome-shell" ,gnome-shell)
7856 ("gnome-themes-extra" ,gnome-themes-extra)
7857 ("gnome-user-docs" ,gnome-user-docs)
7858 ("gnome-user-share" ,gnome-user-share)
7859 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7860 ("gvfs" ,gvfs)
7861 ("mutter" ,mutter)
7862 ("orca" ,orca)
7863 ("rygel" ,rygel)
7864 ("sushi" ,sushi)
7865 ;; GNOME-Core-Utilities
7866 ("baobab" ,baobab)
7867 ("cheese" ,cheese)
7868 ("eog" ,eog)
7869 ("epiphany" ,epiphany)
7870 ("evince" ,evince)
7871 ("file-roller" ,file-roller)
7872 ("gedit" ,gedit)
7873 ; TODO: ("gnome-boxes" ,gnome-boxes)
7874 ("gnome-calculator" ,gnome-calculator)
7875 ("gnome-calendar" ,gnome-calendar)
7876 ("gnome-characters" ,gnome-characters)
7877 ("gnome-clocks" ,gnome-clocks)
7878 ("gnome-contacts" ,gnome-contacts)
7879 ("gnome-disk-utility" ,gnome-disk-utility)
7880 ("gnome-font-viewer" ,gnome-font-viewer)
7881 ("gnome-maps" ,gnome-maps)
7882 ; TODO: ("gnome-music" ,gnome-music)
7883 ; TODO: ("gnome-photos" ,gnome-photos)
7884 ("gnome-screenshot" ,gnome-screenshot)
7885 ("gnome-system-monitor" ,gnome-system-monitor)
7886 ("gnome-terminal" ,gnome-terminal)
7887 ("gnome-weather" ,gnome-weather)
7888 ("nautilus" ,nautilus)
7889 ("simple-scan" ,simple-scan)
7890 ("totem" ,totem)
7891 ("yelp" ,yelp)
7892 ;; Others
7893 ("hicolor-icon-theme" ,hicolor-icon-theme)
7894 ("gnome-online-accounts" ,gnome-online-accounts)
7895
7896 ;; Packages not part of GNOME proper but that are needed for a good
7897 ;; experience. See <https://bugs.gnu.org/39646>.
7898 ;; XXX: Find out exactly which ones are needed and why.
7899 ("font-cantarell" ,font-cantarell)
7900 ("font-dejavu" ,font-dejavu)
7901 ("at-spi2-core" ,at-spi2-core)
7902 ("dbus" ,dbus)
7903 ("dconf" ,dconf)
7904 ("desktop-file-utils" ,desktop-file-utils)
7905 ("gnome-default-applications" ,gnome-default-applications)
7906 ("gnome-themes-standard" ,gnome-themes-standard)
7907 ("gst-plugins-base" ,gst-plugins-base)
7908 ("gst-plugins-good" ,gst-plugins-good)
7909 ("gucharmap" ,gucharmap)
7910 ("pinentry-gnome3" ,pinentry-gnome3)
7911 ("pulseaudio" ,pulseaudio)
7912 ("shared-mime-info" ,shared-mime-info)
7913 ("system-config-printer" ,system-config-printer)
7914 ("xdg-user-dirs" ,xdg-user-dirs)
7915 ("yelp" ,yelp)
7916 ("zenity" ,zenity)))
7917 (synopsis "The GNU desktop environment")
7918 (home-page "https://www.gnome.org/")
7919 (description
7920 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7921 applications for browsing the web, editing text and images, creating
7922 documents and diagrams, playing media, scanning, and much more.")
7923 (license license:gpl2+)))
7924
7925 (define-public byzanz
7926 ;; The last stable release of Byzanz was in 2011, but there have been many
7927 ;; useful commits made to the Byzanz repository since then that it would be
7928 ;; silly to use such an old release.
7929 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7930 (package
7931 (name "byzanz")
7932 (version (string-append "0.2-1." (string-take commit 7)))
7933 (source (origin
7934 (method git-fetch)
7935 (uri (git-reference
7936 (url "https://git.gnome.org/browse/byzanz")
7937 (commit commit)))
7938 (file-name (string-append name "-" version "-checkout"))
7939 (sha256
7940 (base32
7941 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7942 (build-system glib-or-gtk-build-system)
7943 (arguments
7944 '(#:phases
7945 (modify-phases %standard-phases
7946 (replace 'bootstrap
7947 (lambda _
7948 ;; The build system cleverly detects that we're not building from
7949 ;; a release tarball and turns on -Werror for GCC.
7950 ;; Unsurprisingly, there is a warning during compilation that
7951 ;; causes the build to fail unnecessarily, so we remove the flag.
7952 (substitute* '("configure.ac")
7953 (("-Werror") ""))
7954 ;; The autogen.sh script in gnome-common will run ./configure
7955 ;; by default, which is problematic because source shebangs
7956 ;; have not yet been patched.
7957 (setenv "NOCONFIGURE" "t")
7958 (zero? (system* "sh" "autogen.sh")))))))
7959 (native-inputs
7960 `(("autoconf" ,autoconf)
7961 ("automake" ,automake)
7962 ("gnome-common" ,gnome-common)
7963 ("intltool" ,intltool)
7964 ("libtool" ,libtool)
7965 ("pkg-config" ,pkg-config)
7966 ("which" ,which)))
7967 (inputs
7968 `(("glib" ,glib)
7969 ("gstreamer" ,gstreamer)
7970 ("gst-plugins-base" ,gst-plugins-base)
7971 ("gtk+" ,gtk+)))
7972 (synopsis "Desktop recording program")
7973 (description "Byzanz is a simple desktop recording program with a
7974 command-line interface. It can record part or all of an X display for a
7975 specified duration and save it as a GIF encoded animated image file.")
7976 (home-page "https://git.gnome.org/browse/byzanz")
7977 (license license:gpl2+))))
7978
7979 (define-public gsound
7980 (package
7981 (name "gsound")
7982 (version "1.0.2")
7983 (source (origin
7984 (method url-fetch)
7985 (uri (string-append "mirror://gnome/sources/" name "/"
7986 (version-major+minor version) "/"
7987 name "-" version ".tar.xz"))
7988 (sha256
7989 (base32
7990 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7991 (build-system glib-or-gtk-build-system)
7992 (native-inputs
7993 `(("pkg-config" ,pkg-config)
7994 ("gobject-introspection" ,gobject-introspection)
7995 ("vala" ,vala)))
7996 (inputs
7997 `(("glib" ,glib)
7998 ("libcanberra" ,libcanberra)))
7999 (home-page "https://wiki.gnome.org/Projects/GSound")
8000 (synopsis "GObject wrapper for libcanberra")
8001 (description
8002 "GSound is a small library for playing system sounds. It's designed to be
8003 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8004 library.")
8005 (license license:lgpl2.1+)))
8006
8007 (define-public libzapojit
8008 (package
8009 (name "libzapojit")
8010 (version "0.0.3")
8011 (source (origin
8012 (method url-fetch)
8013 (uri (string-append "mirror://gnome/sources/" name "/"
8014 (version-major+minor version) "/"
8015 name "-" version ".tar.xz"))
8016 (sha256
8017 (base32
8018 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8019 (build-system gnu-build-system)
8020 (native-inputs
8021 `(("gobject-introspection" ,gobject-introspection)
8022 ("intltool" ,intltool)
8023 ("pkg-config" ,pkg-config)))
8024 (inputs
8025 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8026 ("json-glib" ,json-glib)
8027 ("rest" ,rest)))
8028 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8029 (synopsis "Library for accessing SkyDrive and Hotmail")
8030 (description
8031 "Libzapojit is a GLib-based library for accessing online service APIs of
8032 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8033 (license license:lgpl2.1+)))
8034
8035 (define-public gnome-clocks
8036 (package
8037 (name "gnome-clocks")
8038 (version "3.32.0")
8039 (source (origin
8040 (method url-fetch)
8041 (uri (string-append "mirror://gnome/sources/" name "/"
8042 (version-major+minor version) "/"
8043 name "-" version ".tar.xz"))
8044 (sha256
8045 (base32
8046 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
8047 (build-system meson-build-system)
8048 (arguments
8049 '(#:glib-or-gtk? #t))
8050 (native-inputs
8051 `(("vala" ,vala)
8052 ("pkg-config" ,pkg-config)
8053 ("glib" ,glib "bin") ; for glib-compile-resources
8054 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8055 ("desktop-file-utils" ,desktop-file-utils)
8056 ("gettext" ,gettext-minimal)
8057 ("itstool" ,itstool)))
8058 (inputs
8059 `(("glib" ,glib)
8060 ("gtk+" ,gtk+)
8061 ("gsound" ,gsound)
8062 ("geoclue" ,geoclue)
8063 ("geocode-glib" ,geocode-glib)
8064 ("libgweather" ,libgweather)
8065 ("gnome-desktop" ,gnome-desktop)))
8066 (home-page "https://wiki.gnome.org/Apps/Clocks")
8067 (synopsis "GNOME's clock application")
8068 (description
8069 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8070 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8071 (license license:gpl3+)))
8072
8073 (define-public gnome-calendar
8074 (package
8075 (name "gnome-calendar")
8076 (version "3.32.2")
8077 (source (origin
8078 (method url-fetch)
8079 (uri (string-append "mirror://gnome/sources/" name "/"
8080 (version-major+minor version) "/"
8081 name "-" version ".tar.xz"))
8082 (sha256
8083 (base32
8084 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
8085 (build-system meson-build-system)
8086 (arguments
8087 '(#:glib-or-gtk? #t
8088 ;; gnome-calendar has to be installed before the tests can be run
8089 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8090 #:tests? #f))
8091 (native-inputs
8092 `(("gettext" ,gettext-minimal)
8093 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8094 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8095 ("pkg-config" ,pkg-config)))
8096 (inputs
8097 `(("evolution-data-server" ,evolution-data-server)
8098 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8099 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8100 ("libdazzle" ,libdazzle)
8101 ("libedataserverui" ,evolution-data-server)
8102 ("libgweather" ,libgweather)
8103 ("geoclue" ,geoclue)))
8104 (home-page "https://wiki.gnome.org/Apps/Calendar")
8105 (synopsis "GNOME's calendar application")
8106 (description
8107 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8108 desktop. It supports multiple calendars, month, week and year view.")
8109 (license license:gpl3+)))
8110
8111 (define-public gnome-todo
8112 (package
8113 (name "gnome-todo")
8114 (version "3.28.1")
8115 (source (origin
8116 (method url-fetch)
8117 (uri (string-append "mirror://gnome/sources/" name "/"
8118 (version-major+minor version) "/"
8119 name "-" version ".tar.xz"))
8120 (sha256
8121 (base32
8122 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
8123 (build-system meson-build-system)
8124 (arguments
8125 '(#:glib-or-gtk? #t
8126 #:phases (modify-phases %standard-phases
8127 (add-after
8128 'install 'wrap-gnome-todo
8129 (lambda* (#:key inputs outputs #:allow-other-keys)
8130 (let ((out (assoc-ref outputs "out"))
8131 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8132 (python-path (getenv "PYTHONPATH")))
8133 (wrap-program (string-append out "/bin/gnome-todo")
8134 ;; XXX: gi plugins are broken.
8135 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8136 ;; For plugins.
8137 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8138 `("PYTHONPATH" ":" prefix (,python-path))))
8139 #t)))))
8140 (native-inputs
8141 `(("gettext" ,gettext-minimal)
8142 ("gobject-introspection" ,gobject-introspection)
8143 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8144 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8145 ("pkg-config" ,pkg-config)))
8146 (inputs
8147 `(("rest" ,rest) ; For Todoist plugin
8148 ("json-glib" ,json-glib) ; For Todoist plugin
8149 ("libedataserverui" ,evolution-data-server)
8150 ("libical" ,libical)
8151 ("libpeas" ,libpeas)
8152 ("python-pygobject" ,python-pygobject)
8153 ("evolution-data-server" ,evolution-data-server)
8154 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8155 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8156 (home-page "https://wiki.gnome.org/Apps/Todo")
8157 (synopsis "GNOME's ToDo Application")
8158 (description
8159 "GNOME To Do is a simplistic personal task manager designed to perfectly
8160 fit the GNOME desktop.")
8161 (license license:gpl3+)))
8162
8163 (define-public gnome-dictionary
8164 (package
8165 (name "gnome-dictionary")
8166 (version "3.26.1")
8167 (source (origin
8168 (method url-fetch)
8169 (uri (string-append "mirror://gnome/sources/" name "/"
8170 (version-major+minor version) "/"
8171 name "-" version ".tar.xz"))
8172 (sha256
8173 (base32
8174 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8175 (build-system meson-build-system)
8176 (arguments '(#:glib-or-gtk? #t
8177 #:phases (modify-phases %standard-phases
8178 (add-after 'unpack 'patch-install-script
8179 (lambda _
8180 ;; This script attempts to compile glib schemas
8181 ;; and create an empty MIME database. We do
8182 ;; that elsewhere, so prevent it from running.
8183 (substitute* "build-aux/post-install.sh"
8184 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8185 #t)))))
8186 (native-inputs
8187 `(("glib:bin" ,glib "bin")
8188 ("gobject-introspection" ,gobject-introspection)
8189 ("intltool" ,intltool)
8190 ("itstool" ,itstool)
8191 ("pkg-config" ,pkg-config)
8192 ("xmllint" ,libxml2)))
8193 (inputs
8194 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8195 ("gtk+" ,gtk+)))
8196 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8197 (synopsis "Look up words in dictionary sources")
8198 (description
8199 "GNOME Dictionary can look for the definition or translation of a word in
8200 existing databases over the internet.")
8201 (license license:gpl3+)))
8202
8203 (define-public gnome-tweaks
8204 (package
8205 (name "gnome-tweaks")
8206 (version "3.32.0")
8207 (source (origin
8208 (method url-fetch)
8209 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8210 (version-major+minor version) "/"
8211 "gnome-tweaks-" version ".tar.xz"))
8212 (patches
8213 (list (search-patch "gnome-tweaks-search-paths.patch")))
8214 (sha256
8215 (base32
8216 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
8217 (build-system meson-build-system)
8218 (arguments
8219 `(#:glib-or-gtk? #t
8220 #:configure-flags '("-Dlocalstatedir=/tmp"
8221 "-Dsysconfdir=/tmp")
8222 #:imported-modules ((guix build python-build-system)
8223 ,@%meson-build-system-modules)
8224 #:phases
8225 (modify-phases %standard-phases
8226 (add-after 'install 'wrap
8227 (@@ (guix build python-build-system) wrap))
8228 (add-after 'wrap 'wrap-gi-typelib
8229 (lambda* (#:key inputs outputs #:allow-other-keys)
8230 (let ((out (assoc-ref outputs "out"))
8231 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8232 (wrap-program (string-append out "/bin/gnome-tweaks")
8233 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8234 #t)))))
8235 (native-inputs
8236 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8237 ("intltool" ,intltool)
8238 ("pkg-config" ,pkg-config)))
8239 (inputs
8240 `(("gnome-desktop" ,gnome-desktop)
8241 ("gtk+" ,gtk+)
8242 ("gobject-introspection" ,gobject-introspection)
8243 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8244 ("libnotify" ,libnotify)
8245 ("libsoup" ,libsoup)
8246 ("nautilus" ,nautilus)
8247 ("python" ,python)
8248 ("python-pygobject" ,python-pygobject)))
8249 (synopsis "Customize advanced GNOME 3 options")
8250 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8251 (description
8252 "GNOME Tweaks allows adjusting advanced configuration settings in
8253 GNOME 3. This includes things like the fonts used in user interface elements,
8254 alternative user interface themes, changes in window management behavior,
8255 GNOME Shell appearance and extension, etc.")
8256 (license license:gpl3+)))
8257
8258 (define-public gnome-shell-extensions
8259 (package
8260 (name "gnome-shell-extensions")
8261 (version "3.32.1")
8262 (source (origin
8263 (method url-fetch)
8264 (uri (string-append "mirror://gnome/sources/" name "/"
8265 (version-major+minor version) "/"
8266 name "-" version ".tar.xz"))
8267 (sha256
8268 (base32
8269 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
8270 (build-system meson-build-system)
8271 (arguments
8272 '(#:configure-flags '("-Dextension_set=all")))
8273 (native-inputs
8274 `(("glib:bin" ,glib "bin")
8275 ("intltool" ,intltool)
8276 ("pkg-config" ,pkg-config)))
8277 (propagated-inputs
8278 `(("glib" ,glib)))
8279 (synopsis "Extensions for GNOME Shell")
8280 (description "GNOME Shell extensions modify and extend GNOME Shell
8281 functionality and behavior.")
8282 (home-page "https://extensions.gnome.org/")
8283 (license license:gpl3+)))
8284
8285 (define-public arc-theme
8286 (package
8287 (name "arc-theme")
8288 (version "20190917")
8289 (source (origin
8290 (method git-fetch)
8291 (uri (git-reference
8292 (url "https://github.com/NicoHood/arc-theme.git")
8293 (commit version)))
8294 (file-name (git-file-name name version))
8295 (sha256
8296 (base32
8297 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8298 (build-system gnu-build-system)
8299 (arguments
8300 '(#:phases
8301 (modify-phases %standard-phases
8302 ;; autogen.sh calls configure at the end of the script.
8303 (replace 'bootstrap
8304 (lambda _ (invoke "autoreconf" "-vfi")))
8305 (add-before 'build 'set-home ;placate Inkscape
8306 (lambda _
8307 (setenv "HOME" (getcwd))
8308 #t)))))
8309 (native-inputs
8310 `(("autoconf" ,autoconf)
8311 ("automake" ,automake)
8312 ("glib" ,glib "bin") ; for glib-compile-resources
8313 ("gnome-shell" ,gnome-shell)
8314 ("gtk+" ,gtk+)
8315 ("inkscape" ,inkscape)
8316 ("optipng" ,optipng)
8317 ("pkg-config" ,pkg-config)
8318 ("sassc" ,sassc/libsass-3.5)))
8319 (synopsis "A flat GTK+ theme with transparent elements")
8320 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8321 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8322 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8323 (home-page "https://github.com/horst3180/arc-theme")
8324 ;; No "or later" language found.
8325 (license license:gpl3+)))
8326
8327 (define-public faba-icon-theme
8328 (package
8329 (name "faba-icon-theme")
8330 (version "4.3")
8331 (source
8332 (origin
8333 (method git-fetch)
8334 (uri (git-reference
8335 (url "https://github.com/snwh/faba-icon-theme.git")
8336 (commit (string-append "v" version))))
8337 (file-name (git-file-name name version))
8338 (sha256
8339 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8340 (build-system meson-build-system)
8341 (arguments
8342 `(#:phases
8343 (modify-phases %standard-phases
8344 (add-before 'configure 'disable-post-install
8345 (lambda _
8346 (substitute* "meson.build"
8347 (("meson.add_install_script.*") "")))))))
8348 (native-inputs
8349 `(("autoconf" ,autoconf)
8350 ("automake" ,automake)))
8351 (synopsis "Faba icon theme")
8352 (description
8353 "Faba is a minimal icon set used as a basis for other themes such as
8354 Moka")
8355 (home-page "https://snwh.org/moka")
8356 (license (list license:lgpl3+
8357 license:cc-by-sa4.0))))
8358
8359 (define-public moka-icon-theme
8360 (package
8361 (inherit faba-icon-theme)
8362 (name "moka-icon-theme")
8363 (version "5.4.0")
8364 (source
8365 (origin
8366 (method git-fetch)
8367 (uri (git-reference
8368 (url "https://github.com/snwh/moka-icon-theme.git")
8369 (commit (string-append "v" version))))
8370 (file-name (git-file-name name version))
8371 (sha256
8372 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8373 (propagated-inputs
8374 ;; Moka is based on Faba by using it as a fallback icon set instead of
8375 ;; bundling it, so we need to add it as a propagated input.
8376 `(("faba-icon-theme" ,faba-icon-theme)))
8377 (synopsis "Moka icon theme")
8378 (description "Moka is a stylized desktop icon set, designed to be clear,
8379 simple and consistent.")
8380 (license (list license:gpl3+
8381 license:cc-by-sa4.0))))
8382
8383 (define-public arc-icon-theme
8384 (package
8385 (name "arc-icon-theme")
8386 (version "20161122")
8387 (source
8388 (origin
8389 (method git-fetch)
8390 (uri (git-reference
8391 (url "https://github.com/horst3180/arc-icon-theme.git")
8392 (commit version)))
8393 (file-name (git-file-name name version))
8394 (sha256
8395 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8396 (build-system gnu-build-system)
8397 (arguments
8398 `(#:phases
8399 (modify-phases %standard-phases
8400 (add-after 'unpack 'disable-configure-during-bootstrap
8401 (lambda _
8402 (substitute* "autogen.sh"
8403 (("^\"\\$srcdir/configure\".*") ""))
8404 #t)))))
8405 (native-inputs
8406 `(("autoconf" ,autoconf)
8407 ("automake" ,automake)))
8408 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8409 (propagated-inputs
8410 `(("moka-icon-theme" ,moka-icon-theme)))
8411 (synopsis "Arc icon theme")
8412 (description "The Arc icon theme provides a set of icons matching the
8413 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8414 the Moka icon theme.")
8415 (home-page "https://github.com/horst3180/arc-icon-theme")
8416 (license license:gpl3+)))
8417
8418 (define-public folks
8419 (package
8420 (name "folks")
8421 (version "0.11.4")
8422 (source (origin
8423 (method url-fetch)
8424 (uri (string-append
8425 "mirror://gnome/sources/folks/"
8426 (version-major+minor version) "/"
8427 "folks-" version ".tar.xz"))
8428 (sha256
8429 (base32
8430 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
8431 (build-system glib-or-gtk-build-system)
8432 (inputs
8433 `(("bdb" ,bdb)
8434 ("dbus-glib" ,dbus-glib)
8435 ("evolution-data-server" ,evolution-data-server)
8436 ("glib" ,glib)
8437 ("libgee" ,libgee)
8438 ("telepathy-glib" ,telepathy-glib)))
8439 (native-inputs
8440 `(("gobject-introspection" ,gobject-introspection)
8441 ("intltool" ,intltool)
8442 ("pkg-config" ,pkg-config)
8443 ("vala" ,vala)))
8444 (synopsis "Library to aggregate data about people")
8445 (description "Libfolks is a library that aggregates information about people
8446 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8447 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8448 etc.) to create metacontacts. It's written in Vala, which generates C code when
8449 compiled.")
8450 (home-page "https://wiki.gnome.org/Projects/Folks")
8451 (license license:lgpl2.1+)))
8452
8453 (define-public gfbgraph
8454 (package
8455 (name "gfbgraph")
8456 (version "0.2.3")
8457 (source (origin
8458 (method url-fetch)
8459 (uri (string-append
8460 "mirror://gnome/sources/gfbgraph/"
8461 (version-major+minor version) "/"
8462 "gfbgraph-" version ".tar.xz"))
8463 (sha256
8464 (base32
8465 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8466 (build-system glib-or-gtk-build-system)
8467 (arguments
8468 `(#:tests? #f ; Tests appear to require the network.
8469 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8470 #:configure-flags '("--disable-gtk-doc"
8471 "--disable-static"
8472 "--enable-introspection")))
8473 (native-inputs
8474 `(("pkg-config" ,pkg-config)
8475 ("gobject-introspection" ,gobject-introspection)))
8476 (inputs
8477 `(("json-glib" ,json-glib)
8478 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8479 ("rest" ,rest)))
8480 (synopsis "GLib/GObject wrapper for the Facebook API")
8481 (description "This library allows you to use the Facebook API from
8482 GLib/GObject code.")
8483 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8484 (license license:lgpl2.1+)))
8485
8486 (define-public libgnomekbd
8487 (package
8488 (name "libgnomekbd")
8489 (version "3.26.1")
8490 (source (origin
8491 (method url-fetch)
8492 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8493 (version-major+minor version) "/"
8494 "libgnomekbd-" version ".tar.xz"))
8495 (sha256
8496 (base32
8497 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8498 (build-system gnu-build-system)
8499 (native-inputs
8500 `(("pkg-config" ,pkg-config)
8501 ("glib" ,glib "bin")
8502 ("intltool" ,intltool)))
8503 (propagated-inputs
8504 ;; Referred to in .h files and .pc.
8505 `(("glib" ,glib)
8506 ("gtk+" ,gtk+)
8507 ("libxklavier" ,libxklavier)))
8508 (home-page "https://www.gnome.org")
8509 (synopsis "GNOME keyboard configuration library")
8510 (description
8511 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8512 environment, which can notably display keyboard layouts.")
8513 (license license:lgpl2.0+)))
8514
8515 ;;; This package is no longer maintained:
8516 ;;; https://wiki.gnome.org/Attic/LibUnique
8517 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8518 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8519 (define-public libunique
8520 (package
8521 (name "libunique")
8522 (version "3.0.2")
8523 (source (origin
8524 (method url-fetch)
8525 (uri (string-append "mirror://gnome/sources/" name "/"
8526 (version-major+minor version) "/"
8527 name "-" version ".tar.xz"))
8528 (sha256
8529 (base32
8530 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8531 (build-system glib-or-gtk-build-system)
8532 (arguments
8533 `(#:configure-flags '("--disable-static"
8534 "--disable-dbus" ; use gdbus
8535 "--enable-introspection")))
8536 (native-inputs
8537 `(("pkg-config" ,pkg-config)
8538 ("gobject-introspection" ,gobject-introspection)
8539 ("glib:bin" ,glib "bin")
8540 ("gtk-doc" ,gtk-doc)))
8541 (propagated-inputs
8542 ;; Referred to in .h files and .pc.
8543 `(("gtk+" ,gtk+)))
8544 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8545 (synopsis "Library for writing single instance applications")
8546 (description
8547 "Libunique is a library for writing single instance applications. If you
8548 launch a single instance application twice, the second instance will either just
8549 quit or will send a message to the running instance. Libunique makes it easy to
8550 write this kind of application, by providing a base class, taking care of all
8551 the IPC machinery needed to send messages to a running instance, and also
8552 handling the startup notification side.")
8553 (license license:lgpl2.1+)))
8554
8555 (define-public gnome-calculator
8556 (package
8557 (name "gnome-calculator")
8558 (version "3.32.2")
8559 (source
8560 (origin
8561 (method url-fetch)
8562 (uri (string-append "mirror://gnome/sources/" name "/"
8563 (version-major+minor version) "/"
8564 name "-" version ".tar.xz"))
8565 (sha256
8566 (base32
8567 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
8568 (build-system meson-build-system)
8569 (arguments '(#:glib-or-gtk? #t))
8570 (native-inputs
8571 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8572 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8573 ("intltool" ,intltool)
8574 ("itstool" ,itstool)
8575 ("vala" ,vala)
8576 ("pkg-config" ,pkg-config)))
8577 (inputs
8578 `(("glib" ,glib)
8579 ("gtksourceview" ,gtksourceview)
8580 ("libsoup" ,libsoup)
8581 ("libxml2" ,libxml2)
8582 ("mpc" ,mpc)
8583 ("mpfr" ,mpfr)))
8584 (home-page "https://wiki.gnome.org/Apps/Calculator")
8585 (synopsis "Desktop calculator")
8586 (description
8587 "Calculator is an application that solves mathematical equations and
8588 is suitable as a default application in a Desktop environment.")
8589 (license license:gpl3)))
8590
8591 (define-public xpad
8592 (package
8593 (name "xpad")
8594 (version "5.1.0")
8595 (source
8596 (origin
8597 (method url-fetch)
8598 (uri (string-append "https://launchpad.net/xpad/trunk/"
8599 version "/+download/"
8600 name "-" version ".tar.bz2"))
8601 (sha256
8602 (base32
8603 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8604 (build-system gnu-build-system)
8605 (native-inputs
8606 `(("autoconf" ,autoconf)
8607 ("automake" ,automake)
8608 ("gtk+:bin" ,gtk+ "bin")
8609 ("intltool" ,intltool)
8610 ("pkg-config" ,pkg-config)))
8611 (inputs
8612 `(("gtksourceview" ,gtksourceview-3)
8613 ("libsm" ,libsm)))
8614 (home-page "https://wiki.gnome.org/Apps/Xpad")
8615 (synopsis "Virtual sticky note")
8616 (description
8617 "Xpad is a sticky note that strives to be simple, fault tolerant,
8618 and customizable. Xpad consists of independent pad windows, each is
8619 basically a text box in which notes can be written.")
8620 (license license:gpl3+)))
8621
8622 (define-public gucharmap
8623 (let ((unicode-files
8624 '(("Blocks.txt"
8625 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8626 ("DerivedAge.txt"
8627 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8628 ("NamesList.txt"
8629 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8630 ("Scripts.txt"
8631 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8632 ("UnicodeData.txt"
8633 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8634 ("Unihan.zip"
8635 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8636 (package
8637 (name "gucharmap")
8638 (version "12.0.1")
8639 (source
8640 (origin
8641 (method url-fetch)
8642 (uri (string-append "mirror://gnome/sources/" name "/"
8643 (version-major+minor version) "/"
8644 name "-" version ".tar.xz"))
8645 (sha256
8646 (base32
8647 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8648 (build-system glib-or-gtk-build-system)
8649 (arguments
8650 `(#:modules ((ice-9 match)
8651 (guix build glib-or-gtk-build-system)
8652 (guix build utils))
8653 #:configure-flags
8654 (list "--with-unicode-data=../unicode-data")
8655 #:phases
8656 (modify-phases %standard-phases
8657 (add-after 'unpack 'prepare-unicode-data
8658 (lambda* (#:key inputs #:allow-other-keys)
8659 (mkdir-p "../unicode-data")
8660 (with-directory-excursion "../unicode-data"
8661 (for-each (match-lambda
8662 ((file _)
8663 (install-file (assoc-ref inputs file) ".")))
8664 ',unicode-files))
8665 #t)))))
8666 (native-inputs
8667 `(("desktop-file-utils" ,desktop-file-utils)
8668 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8669 ("gobject-introspection" ,gobject-introspection)
8670 ("intltool" ,intltool)
8671 ("itstool" ,itstool)
8672 ("pkg-config" ,pkg-config)
8673 ,@(map (match-lambda
8674 ((file hash)
8675 `(,file
8676 ,(origin
8677 (method url-fetch)
8678 (uri (string-append
8679 "http://www.unicode.org/Public/12.0.0/ucd/"
8680 file))
8681 (sha256 (base32 hash))))))
8682 unicode-files)
8683 ("unzip" ,unzip)))
8684 (inputs
8685 `(("gtk+" ,gtk+)
8686 ("xmllint" ,libxml2)))
8687 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8688 (synopsis "Unicode character picker and font browser")
8689 (description
8690 "This program allows you to browse through all the available Unicode
8691 characters and categories for the installed fonts, and to examine their
8692 detailed properties. It is an easy way to find the character you might
8693 only know by its Unicode name or code point.")
8694 (license license:gpl3+))))
8695
8696 (define-public bluefish
8697 (package
8698 (name "bluefish")
8699 (version "2.2.11")
8700 (source
8701 (origin
8702 (method url-fetch)
8703 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8704 "bluefish-" version ".tar.gz"))
8705 (sha256
8706 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8707 (build-system gnu-build-system)
8708 (native-inputs
8709 `(("desktop-file-utils" ,desktop-file-utils)
8710 ("intltool" ,intltool)
8711 ("pkg-config" ,pkg-config)))
8712 (inputs
8713 `(("enchant" ,enchant)
8714 ("gtk+" ,gtk+)
8715 ("python" ,python-wrapper)
8716 ("xmllint" ,libxml2)
8717 ("gucharmap" ,gucharmap)))
8718 (home-page "http://bluefish.openoffice.nl")
8719 (synopsis "Web development studio")
8720 (description
8721 "Bluefish is an editor targeted towards programmers and web developers,
8722 with many options to write web sites, scripts and other code.
8723 Bluefish supports many programming and markup languages.")
8724 (license license:gpl3+)))
8725
8726 (define-public gnome-system-monitor
8727 (package
8728 (name "gnome-system-monitor")
8729 (version "3.32.1")
8730 (source
8731 (origin
8732 (method url-fetch)
8733 (uri (string-append "mirror://gnome/sources/" name "/"
8734 (version-major+minor version) "/"
8735 name "-" version ".tar.xz"))
8736 (sha256
8737 (base32
8738 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8739 (build-system meson-build-system)
8740 (arguments
8741 '(#:glib-or-gtk? #t
8742 #:configure-flags '("-Dsystemd=false")))
8743 (native-inputs
8744 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8745 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8746 ("intltool" ,intltool)
8747 ("itstool" ,itstool)
8748 ("libgtop" ,libgtop)
8749 ("polkit" ,polkit)
8750 ("pkg-config" ,pkg-config)))
8751 (inputs
8752 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8753 ("gtk+" ,gtk+)
8754 ("gtkmm" ,gtkmm)
8755 ("librsvg" ,librsvg)
8756 ("libxml2" ,libxml2)
8757 ("libwnck" ,libwnck)))
8758 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8759 (synopsis "Process viewer and system resource monitor for GNOME")
8760 (description
8761 "GNOME System Monitor is a GNOME process viewer and system monitor with
8762 an attractive, easy-to-use interface. It has features, such as a tree view
8763 for process dependencies, icons for processes, the ability to hide processes,
8764 graphical time histories of CPU/memory/swap usage and the ability to
8765 kill/reinice processes.")
8766 (license license:gpl2+)))
8767
8768 (define-public python-pyatspi
8769 (package
8770 (name "python-pyatspi")
8771 (version "2.34.0")
8772 (source (origin
8773 (method url-fetch)
8774 (uri (string-append
8775 "mirror://gnome/sources/pyatspi/"
8776 (version-major+minor version)
8777 "/pyatspi-" version ".tar.xz"))
8778 (sha256
8779 (base32
8780 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8781 (build-system gnu-build-system)
8782 (arguments
8783 `(#:phases
8784 (modify-phases %standard-phases
8785 (add-before 'build 'fix-atk-load
8786 (lambda _
8787 (substitute* "pyatspi/__init__.py"
8788 (("from gi.repository import Atspi")
8789 "gi.require_version('Gtk', '3.0')
8790 from gi.repository import Gtk
8791 from gi.repository import Atspi"))
8792 #t)))))
8793 (native-inputs
8794 `(("pkg-config" ,pkg-config)))
8795 (inputs
8796 `(("python" ,python)
8797 ("python-pygobject" ,python-pygobject)))
8798 (synopsis "Python client bindings for D-Bus AT-SPI")
8799 (home-page "https://wiki.linuxfoundation.org/accessibility\
8800 /atk/at-spi/at-spi_on_d-bus")
8801 (description
8802 "This package includes a python client library for the AT-SPI D-Bus
8803 accessibility infrastructure.")
8804 (license license:lgpl2.0)
8805 (properties '((upstream-name . "pyatspi")))))
8806
8807 (define-public orca
8808 (package
8809 (name "orca")
8810 (version "3.32.0")
8811 (source (origin
8812 (method url-fetch)
8813 (uri (string-append
8814 "mirror://gnome/sources/" name "/"
8815 (version-major+minor version) "/"
8816 name "-" version ".tar.xz"))
8817 (sha256
8818 (base32
8819 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
8820 (build-system glib-or-gtk-build-system)
8821 (arguments
8822 '(#:phases
8823 (modify-phases %standard-phases
8824 (add-before 'configure 'qualify-xkbcomp
8825 (lambda* (#:key inputs #:allow-other-keys)
8826 (let ((xkbcomp (string-append
8827 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8828 (substitute* "src/orca/orca.py"
8829 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8830 #t))
8831 (add-after 'install 'wrap-orca
8832 (lambda* (#:key outputs #:allow-other-keys)
8833 (let* ((out (assoc-ref outputs "out"))
8834 (prog (string-append out "/bin/orca")))
8835 (wrap-program prog
8836 `("GI_TYPELIB_PATH" ":" prefix
8837 (,(getenv "GI_TYPELIB_PATH")))
8838 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8839 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8840 `("PYTHONPATH" ":" prefix
8841 (,(getenv "PYTHONPATH")))))
8842 #t)))))
8843 (native-inputs
8844 `(("intltool" ,intltool)
8845 ("itstool" ,itstool)
8846 ("pkg-config" ,pkg-config)
8847 ("xmllint" ,libxml2)))
8848 (inputs
8849 `(("at-spi2-atk" ,at-spi2-atk)
8850 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8851 ("gstreamer" ,gstreamer)
8852 ("gst-plugins-base" ,gst-plugins-base)
8853 ("gst-plugins-good" ,gst-plugins-good)
8854 ("gtk+" ,gtk+)
8855 ("python" ,python)
8856 ("python-pygobject" ,python-pygobject)
8857 ("python-pyatspi" ,python-pyatspi)
8858 ("python-speechd" ,speech-dispatcher)
8859 ("xkbcomp" ,xkbcomp)))
8860 (synopsis
8861 "Screen reader for individuals who are blind or visually impaired")
8862 (home-page "https://wiki.gnome.org/Projects/Orca")
8863 (description
8864 "Orca is a screen reader that provides access to the graphical desktop
8865 via speech and refreshable braille. Orca works with applications and toolkits
8866 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8867 (license license:lgpl2.1+)))
8868
8869 (define-public gspell
8870 (package
8871 (name "gspell")
8872 (version "1.8.2")
8873 (source (origin
8874 (method url-fetch)
8875 (uri (string-append "mirror://gnome/sources/" name "/"
8876 (version-major+minor version) "/"
8877 name "-" version ".tar.xz"))
8878 (sha256
8879 (base32
8880 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8881 (patches (search-patches "gspell-dash-test.patch"))))
8882 (build-system glib-or-gtk-build-system)
8883 (arguments
8884 '(#:configure-flags (list "--enable-vala")
8885 #:phases
8886 (modify-phases %standard-phases
8887 (add-before 'check 'pre-check
8888 (lambda* (#:key inputs #:allow-other-keys)
8889 ;; Tests require a running X server.
8890 (system "Xvfb :1 &")
8891 (setenv "DISPLAY" ":1")
8892
8893 ;; For the missing /etc/machine-id.
8894 (setenv "DBUS_FATAL_WARNINGS" "0")
8895
8896 ;; Allow Enchant and its Aspell backend to find the en_US
8897 ;; dictionary.
8898 (setenv "ASPELL_DICT_DIR"
8899 (string-append (assoc-ref inputs "aspell-dict-en")
8900 "/lib/aspell"))
8901 #t)))))
8902 (inputs
8903 `(("gtk+" ,gtk+)
8904 ("glib" ,glib)
8905 ("iso-codes" ,iso-codes)))
8906 (native-inputs
8907 `(("glib" ,glib "bin")
8908 ("gobject-introspection" ,gobject-introspection)
8909 ("pkg-config" ,pkg-config)
8910 ("vala" ,vala) ;for VAPI, needed by Geary
8911 ("xmllint" ,libxml2)
8912
8913 ;; For tests.
8914 ("aspell-dict-en" ,aspell-dict-en)
8915 ("xorg-server" ,xorg-server-for-tests)))
8916 (propagated-inputs
8917 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8918 (home-page "https://wiki.gnome.org/Projects/gspell")
8919 (synopsis "GNOME's alternative spell checker")
8920 (description
8921 "gspell provides a flexible API to add spell-checking to a GTK+
8922 application. It provides a GObject API, spell-checking to text entries and
8923 text views, and buttons to choose the language.")
8924 (license license:gpl2+)))
8925
8926 (define-public gnome-planner
8927 (package
8928 (name "gnome-planner")
8929 (version "0.14.6")
8930 (source (origin
8931 (method url-fetch)
8932 (uri (string-append "mirror://gnome/sources/planner/"
8933 (version-major+minor version) "/planner-"
8934 version ".tar.xz"))
8935 (sha256
8936 (base32
8937 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8938 (build-system glib-or-gtk-build-system)
8939 (arguments
8940 ;; Disable the Python bindings because the Planner program functions
8941 ;; without them, and (as of 2017-06-13) we have not packaged all of
8942 ;; packages that are necessary for building the Python bindings.
8943 `(#:configure-flags
8944 (list "--disable-python"
8945 ,@(if (string=? "aarch64-linux" (%current-system))
8946 '("--build=aarch64-unknown-linux-gnu")
8947 '()))))
8948 (inputs
8949 `(("libgnomecanvas" ,libgnomecanvas)
8950 ("libgnomeui" ,libgnomeui)
8951 ("libglade" ,libglade)
8952 ("gnome-vfs" ,gnome-vfs)
8953 ("gconf" ,gconf)
8954 ("libxml2" ,libxml2)
8955 ("libxslt" ,libxslt)
8956 ("gtk+" ,gtk+)
8957 ("glib" ,glib)))
8958 (native-inputs
8959 `(("intltool" ,intltool)
8960 ("scrollkeeper" ,scrollkeeper)
8961 ("pkg-config" ,pkg-config)))
8962 (home-page "https://wiki.gnome.org/Apps/Planner")
8963 (synopsis "Project management software for the GNOME desktop")
8964 (description
8965 "GNOME Planner is a project management tool based on the Work Breakdown
8966 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8967 the resources, tasks, and constraints that you define, Planner generates
8968 various views into a project. For example, Planner can show a Gantt chart of
8969 the project. It can show a detailed summary of tasks including their
8970 duration, cost, and current progress. It can also show a report of resource
8971 utilization that highlights under-utilized and over-utilized resources. These
8972 views can be printed as PDF or PostScript files, or exported to HTML.")
8973 (license license:gpl2+)))
8974
8975 (define-public lollypop
8976 (package
8977 (name "lollypop")
8978 (version "1.2.32")
8979 (source
8980 (origin
8981 (method url-fetch)
8982 (uri (string-append "https://adishatz.org/lollypop/"
8983 "lollypop-" version ".tar.xz"))
8984 (sha256
8985 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
8986 (build-system meson-build-system)
8987 (arguments
8988 `(#:imported-modules
8989 (,@%meson-build-system-modules
8990 (guix build python-build-system))
8991 #:modules
8992 ((guix build meson-build-system)
8993 ((guix build python-build-system) #:prefix python:)
8994 (guix build utils))
8995 #:glib-or-gtk? #t
8996 #:tests? #f ; no test suite
8997 #:phases
8998 (modify-phases %standard-phases
8999 (add-after 'install 'wrap-program
9000 (lambda* (#:key outputs #:allow-other-keys)
9001 (let ((out (assoc-ref outputs "out"))
9002 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9003 (wrap-program (string-append out "/bin/lollypop")
9004 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9005 #t))
9006 (add-after 'install 'wrap-python
9007 (assoc-ref python:%standard-phases 'wrap)))))
9008 (native-inputs
9009 `(("intltool" ,intltool)
9010 ("itstool" ,itstool)
9011 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9012 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9013 ("pkg-config" ,pkg-config)))
9014 (inputs
9015 `(("gobject-introspection" ,gobject-introspection)
9016 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9017 ("gst-plugins-base" ,gst-plugins-base)
9018 ("libnotify" ,libnotify)
9019 ("libsecret" ,libsecret)
9020 ("libsoup" ,libsoup)
9021 ("python" ,python)
9022 ("python-beautifulsoup4" ,python-beautifulsoup4)
9023 ("python-gst" ,python-gst)
9024 ("python-pil" ,python-pillow)
9025 ("python-pycairo" ,python-pycairo)
9026 ("python-pygobject" ,python-pygobject-3.34)
9027 ("python-pylast" ,python-pylast)
9028 ("totem-pl-parser" ,totem-pl-parser)
9029 ("webkitgtk" ,webkitgtk)))
9030 (propagated-inputs
9031 `(;; gst-plugins-base is required to start Lollypop,
9032 ;; the others are required to play streaming.
9033 ("gst-plugins-good" ,gst-plugins-good)
9034 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9035 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9036 (synopsis "GNOME music playing application")
9037 (description
9038 "Lollypop is a music player designed to play well with GNOME desktop.
9039 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9040 from artists and tracks from the web. It also fetches cover artworks
9041 automatically and it can stream songs from online music services and charts.")
9042 (license license:gpl3+)))
9043
9044 (define-public gnome-video-effects
9045 (package
9046 (name "gnome-video-effects")
9047 (version "0.4.3")
9048 (source (origin
9049 (method url-fetch)
9050 (uri (string-append "mirror://gnome/sources/" name "/"
9051 (version-major+minor version) "/" name "-"
9052 version ".tar.xz"))
9053 (sha256
9054 (base32
9055 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9056 (build-system glib-or-gtk-build-system)
9057 (arguments
9058 `(#:out-of-source? #f))
9059 (native-inputs
9060 `(("glib:bin" ,glib "bin")
9061 ("intltool" ,intltool)
9062 ("gettext" ,gettext-minimal)
9063 ("pkg-config" ,pkg-config)))
9064 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9065 (synopsis "Video effects for Cheese and other GNOME applications")
9066 (description
9067 "A collection of GStreamer video filters and effects to be used in
9068 photo-booth-like software, such as Cheese.")
9069 (license license:gpl2+)))
9070
9071 (define-public cheese
9072 (package
9073 (name "cheese")
9074 (version "3.32.1")
9075 (source (origin
9076 (method url-fetch)
9077 (uri (string-append "mirror://gnome/sources/" name "/"
9078 (version-major+minor version) "/" name "-"
9079 version ".tar.xz"))
9080 (sha256
9081 (base32
9082 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
9083 (arguments
9084 ;; Tests require GDK.
9085 `(#:tests? #f
9086 #:phases
9087 (modify-phases %standard-phases
9088 (add-before 'install 'skip-gtk-update-icon-cache
9089 (lambda _
9090 ;; Don't create 'icon-theme.cache'
9091 (substitute* "Makefile"
9092 (("gtk-update-icon-cache") (which "true")))
9093 #t))
9094 (add-after 'install 'wrap-cheese
9095 (lambda* (#:key inputs outputs #:allow-other-keys)
9096 (let ((out (assoc-ref outputs "out"))
9097 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9098 (wrap-program (string-append out "/bin/cheese")
9099 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9100 #t)))))
9101 (build-system glib-or-gtk-build-system)
9102 (native-inputs
9103 `(("glib:bin" ,glib "bin")
9104 ("intltool" ,intltool)
9105 ("itstool" ,itstool)
9106 ("libxml2" ,libxml2)
9107 ("pkg-config" ,pkg-config)
9108 ("vala" ,vala)))
9109 (propagated-inputs
9110 `(("gnome-video-effects" ,gnome-video-effects)
9111 ("clutter" ,clutter)
9112 ("clutter-gst" ,clutter-gst)
9113 ("clutter-gtk" ,clutter-gtk)
9114 ("libcanberra" ,libcanberra)
9115 ("gdk-pixbuf" ,gdk-pixbuf)
9116 ("glib" ,glib)
9117 ("gstreamer" ,gstreamer)))
9118 (inputs
9119 `(("gnome-desktop" ,gnome-desktop)
9120 ("gobject-introspection" ,gobject-introspection)
9121 ("gst-plugins-base" ,gst-plugins-base)
9122 ("gst-plugins-bad" ,gst-plugins-bad)
9123 ("gtk+" ,gtk+)
9124 ("libx11" ,libx11)
9125 ("libxtst" ,libxtst)))
9126 (home-page "https://wiki.gnome.org/Apps/Cheese")
9127 (synopsis "Webcam photo booth software for GNOME")
9128 (description
9129 "Cheese uses your webcam to take photos and videos. Cheese can also
9130 apply fancy special effects and lets you share the fun with others.")
9131 (license license:gpl2+)))
9132
9133 (define-public sound-juicer
9134 (package
9135 (name "sound-juicer")
9136 (version "3.24.0")
9137 (source
9138 (origin
9139 (method url-fetch)
9140 (uri (string-append "mirror://gnome/sources/" name "/"
9141 (version-major+minor version) "/"
9142 name "-" version ".tar.xz"))
9143 (sha256
9144 (base32
9145 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9146 (build-system glib-or-gtk-build-system)
9147 (native-inputs
9148 `(("desktop-file-utils" ,desktop-file-utils)
9149 ("intltool" ,intltool)
9150 ("itstool" ,itstool)
9151 ("pkg-config" ,pkg-config)
9152 ("xmllint" ,libxml2)))
9153 (inputs
9154 `(("gtk+" ,gtk+)
9155 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9156 ("gstreamer" ,gstreamer)
9157 ("gst-plugins-base" ,gst-plugins-base)
9158 ("gst-plugins-good" ,gst-plugins-good)
9159 ("iso-codes" ,iso-codes)
9160 ("libbrasero-media3" ,brasero)
9161 ("libcanberra" ,libcanberra)
9162 ("libdiscid" ,libdiscid)
9163 ("libmusicbrainz" ,libmusicbrainz)
9164 ("neon" ,neon)))
9165 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9166 (synopsis "Audio music cd ripper")
9167 (description "Sound Juicer extracts audio from compact discs and convert it
9168 into audio files that a personal computer or digital audio player can play.
9169 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9170 mp3, Ogg Vorbis and FLAC")
9171 (license license:gpl2+)))
9172
9173 (define-public soundconverter
9174 (package
9175 (name "soundconverter")
9176 (version "3.0.1")
9177 (source
9178 (origin
9179 (method url-fetch)
9180 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9181 version "/+download/"
9182 "soundconverter-" version ".tar.xz"))
9183
9184 (sha256
9185 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
9186 (patches
9187 (search-patches
9188 "soundconverter-remove-gconf-dependency.patch"))))
9189 (build-system glib-or-gtk-build-system)
9190 (arguments
9191 `(#:imported-modules ((guix build python-build-system)
9192 (guix build glib-or-gtk-build-system)
9193 ,@%gnu-build-system-modules)
9194
9195 #:modules ((guix build glib-or-gtk-build-system)
9196 (guix build utils)
9197 ((guix build gnu-build-system) #:prefix gnu:)
9198 ((guix build python-build-system) #:prefix python:))
9199
9200 #:phases
9201 (modify-phases %standard-phases
9202 (add-after 'install 'wrap-soundconverter-for-python
9203 (assoc-ref python:%standard-phases 'wrap))
9204 (add-after 'install 'wrap-soundconverter
9205 (lambda* (#:key inputs outputs #:allow-other-keys)
9206 (let ((out (assoc-ref outputs "out"))
9207 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9208 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9209 (wrap-program (string-append out "/bin/soundconverter")
9210 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9211 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9212 #t)))))
9213 (native-inputs
9214 `(("intltool" ,intltool)
9215 ("pkg-config" ,pkg-config)
9216 ("glib:bin" ,glib "bin")))
9217 (inputs
9218 `(("gtk+" ,gtk+)
9219 ("python" ,python)
9220 ("python-pygobject" ,python-pygobject)
9221 ("gstreamer" ,gstreamer)
9222 ("gst-plugins-base" ,gst-plugins-base)))
9223 (home-page "https://soundconverter.org/")
9224 (synopsis "Convert between audio formats with a graphical interface")
9225 (description
9226 "SoundConverter supports converting between many audio formats including
9227 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9228 configurable file renaming. ")
9229 (license license:gpl3)))
9230
9231 (define-public workrave
9232 (package
9233 (name "workrave")
9234 (version "1.10.42")
9235 (source
9236 (origin
9237 (method git-fetch)
9238 (uri (git-reference
9239 (url "https://github.com/rcaelers/workrave.git")
9240 (commit (string-append "v" (string-map
9241 (match-lambda (#\. #\_) (chr chr))
9242 version)))))
9243 (file-name (git-file-name name version))
9244 (sha256
9245 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9246 (build-system glib-or-gtk-build-system)
9247 (arguments
9248 ;; The only tests are maintainer tests (in po/), which fail.
9249 `(#:tests? #f))
9250 (inputs `(("glib" ,glib)
9251 ("gtk+" ,gtk+)
9252 ("gdk-pixbuf" ,gdk-pixbuf)
9253 ("gtkmm" ,gtkmm)
9254 ("glibmm" ,glibmm)
9255 ("libx11" ,libx11)
9256 ("libxtst" ,libxtst)
9257 ("dconf" ,dconf)
9258 ("libice" ,libice)
9259 ("libsm" ,libsm)
9260 ("libxscrnsaver" ,libxscrnsaver)))
9261 (native-inputs `(("boost" ,boost)
9262 ("pkg-config" ,pkg-config)
9263 ("gettext" ,gettext-minimal)
9264 ("autoconf" ,autoconf)
9265 ("autoconf-archive" , autoconf-archive)
9266 ("automake" ,automake)
9267 ("libtool" ,libtool)
9268 ("intltool" ,intltool)
9269 ("gobject-introspection" ,gobject-introspection)
9270 ("python3" ,python-3)
9271 ("python-jinja2" ,python-jinja2)))
9272 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9273 (description
9274 "Workrave is a program that assists in the recovery and prevention of
9275 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9276 micro-pauses and rest breaks, and restricts you to your daily limit.")
9277 (home-page "http://www.workrave.org")
9278 (license license:gpl3+)))
9279
9280 (define-public ghex
9281 (package
9282 (name "ghex")
9283 (version "3.18.4")
9284 (source (origin
9285 (method url-fetch)
9286 (uri (string-append "mirror://gnome/sources/ghex/"
9287 (version-major+minor version) "/"
9288 "ghex-" version ".tar.xz"))
9289 (sha256
9290 (base32
9291 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9292 (build-system meson-build-system)
9293 (arguments
9294 '(#:glib-or-gtk? #t
9295 #:phases
9296 (modify-phases %standard-phases
9297 (add-after 'unpack 'skip-gtk-update-icon-cache
9298 ;; Don't create 'icon-theme.cache'.
9299 (lambda _
9300 (substitute* "meson_post_install.py"
9301 (("gtk-update-icon-cache") (which "true")))
9302 #t)))))
9303 (native-inputs
9304 `(("pkg-config" ,pkg-config)
9305 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9306 ("gnome-common" ,gnome-common)
9307 ("which" ,which)
9308 ("intltool" ,intltool)
9309 ("yelp-tools" ,yelp-tools)
9310 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9311 (inputs
9312 `(("atk" ,atk)
9313 ("gtk" ,gtk+)))
9314 (synopsis "GNOME hexadecimal editor")
9315 (description "The GHex program can view and edit files in two ways:
9316 hexadecimal or ASCII. It is useful for editing binary files in general.")
9317 (home-page "https://wiki.gnome.org/Apps/Ghex")
9318 (license license:gpl2)))
9319
9320 (define-public libdazzle
9321 (package
9322 (name "libdazzle")
9323 (version "3.33.90")
9324 (source (origin
9325 (method url-fetch)
9326 (uri (string-append "mirror://gnome/sources/libdazzle/"
9327 (version-major+minor version) "/"
9328 "libdazzle-" version ".tar.xz"))
9329 (sha256
9330 (base32
9331 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
9332 (build-system meson-build-system)
9333 (arguments
9334 `(#:phases
9335 (modify-phases %standard-phases
9336 (add-before 'check 'pre-check
9337 (lambda _
9338 ;; Tests require a running X server.
9339 (system "Xvfb :1 &")
9340 (setenv "DISPLAY" ":1")
9341 #t)))))
9342 (native-inputs
9343 `(("glib" ,glib "bin") ; glib-compile-resources
9344 ("pkg-config" ,pkg-config)
9345 ;; For tests.
9346 ("xorg-server" ,xorg-server-for-tests)))
9347 (inputs
9348 `(("glib" ,glib)
9349 ("gobject-introspection" ,gobject-introspection)
9350 ("gtk+" ,gtk+)
9351 ("vala" ,vala)))
9352 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9353 (synopsis "Companion library to GObject and Gtk+")
9354 (description "The libdazzle library is a companion library to GObject and
9355 Gtk+. It provides various features that the authors wish were in the
9356 underlying library but cannot for various reasons. In most cases, they are
9357 wildly out of scope for those libraries. In other cases, they are not quite
9358 generic enough to work for everyone.")
9359 (license license:gpl3+)))
9360
9361 (define-public evolution
9362 (package
9363 (name "evolution")
9364 (version "3.32.4")
9365 (source (origin
9366 (method url-fetch)
9367 (uri (string-append "mirror://gnome/sources/evolution/"
9368 (version-major+minor version) "/"
9369 "evolution-" version ".tar.xz"))
9370 (sha256
9371 (base32
9372 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
9373 (build-system cmake-build-system)
9374 (arguments
9375 `(#:imported-modules (,@%cmake-build-system-modules
9376 (guix build glib-or-gtk-build-system))
9377 #:modules ((guix build cmake-build-system)
9378 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9379 (guix build utils))
9380 #:configure-flags
9381 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9382 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9383 ; in four years and cannot be built.
9384 #:phases
9385 (modify-phases %standard-phases
9386 ;; The build system attempts to install user interface modules to the
9387 ;; output directory of the "evolution-data-server" package. This
9388 ;; change redirects that change.
9389 (add-after 'unpack 'patch-ui-module-dir
9390 (lambda* (#:key outputs #:allow-other-keys)
9391 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9392 (("\\$\\{edsuimoduledir\\}")
9393 (string-append (assoc-ref outputs "out")
9394 "/lib/evolution-data-server/ui-modules")))
9395 #t))
9396 (add-after 'install 'glib-or-gtk-compile-schemas
9397 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9398 (add-after 'install 'glib-or-gtk-wrap
9399 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9400 (native-inputs
9401 `(("glib" ,glib "bin") ; glib-mkenums
9402 ("pkg-config" ,pkg-config)
9403 ("intltool" ,intltool)
9404 ("itstool" ,itstool)))
9405 (inputs
9406 `(("enchant" ,enchant)
9407 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9408 ("gcr" ,gcr)
9409 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9410 ("gnome-autoar" ,gnome-autoar)
9411 ("gnome-desktop" ,gnome-desktop)
9412 ("gtkspell3" ,gtkspell3)
9413 ("highlight" ,highlight)
9414 ("libcanberra" ,libcanberra)
9415 ("libedataserverui" ,evolution-data-server)
9416 ("libgweather" ,libgweather)
9417 ("libnotify" ,libnotify)
9418 ("libsoup" ,libsoup)
9419 ("nss" ,nss)
9420 ("openldap" ,openldap)
9421 ("webkitgtk" ,webkitgtk)
9422 ("ytnef" ,ytnef)))
9423 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9424 (synopsis "Manage your email, contacts and schedule")
9425 (description "Evolution is a personal information management application
9426 that provides integrated mail, calendaring and address book
9427 functionality.")
9428 ;; See COPYING for details.
9429 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9430 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9431 license:lgpl2.1+)))) ; smime/lib/*
9432
9433 (define-public gthumb
9434 (package
9435 (name "gthumb")
9436 (version "3.8.2")
9437 (source (origin
9438 (method url-fetch)
9439 (uri (string-append "mirror://gnome/sources/gthumb/"
9440 (version-major+minor version) "/"
9441 "gthumb-" version ".tar.xz"))
9442 (sha256
9443 (base32
9444 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9445 (build-system meson-build-system)
9446 (arguments
9447 `(#:glib-or-gtk? #t
9448 #:configure-flags
9449 ;; Ensure the RUNPATH contains all installed library locations.
9450 (list (string-append "-Dc_link_args=-Wl,-rpath="
9451 (assoc-ref %outputs "out")
9452 "/lib/gthumb/extensions")
9453 (string-append "-Dcpp_link_args=-Wl,-rpath="
9454 (assoc-ref %outputs "out")
9455 "/lib/gthumb/extensions"))))
9456 (native-inputs
9457 `(("pkg-config" ,pkg-config)
9458 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9459 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9460 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9461 ("intltool" ,intltool)
9462 ("itstool" ,itstool)))
9463 (inputs
9464 `(("exiv2" ,exiv2)
9465 ("gtk" ,gtk+)
9466 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9467 ("gstreamer" ,gstreamer)
9468 ("clutter" ,clutter)
9469 ("clutter-gst" ,clutter-gst)
9470 ("clutter-gtk" ,clutter-gtk)
9471 ("libjpeg" ,libjpeg)
9472 ("libtiff" ,libtiff)
9473 ("libraw" ,libraw)))
9474 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9475 (synopsis "GNOME image viewer and browser")
9476 (description "GThumb is an image viewer, browser, organizer, editor and
9477 advanced image management tool")
9478 (license license:gpl2+)))
9479
9480 (define-public terminator
9481 (package
9482 (name "terminator")
9483 (version "1.91")
9484 (source (origin
9485 (method url-fetch)
9486 (uri (string-append "https://launchpad.net/" name "/"
9487 "gtk3/" version "/" "+download/"
9488 name "-" version ".tar.gz"))
9489 (sha256
9490 (base32
9491 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9492 (build-system python-build-system)
9493 (native-inputs
9494 `(("intltool" ,intltool)
9495 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9496 ("gettext" ,gettext-minimal)
9497 ("pkg-config" ,pkg-config)))
9498 (inputs
9499 `(("cairo" ,cairo)
9500 ("gobject-introspection" ,gobject-introspection)
9501 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9502 ("python2-pycairo" ,python2-pycairo)
9503 ("python2-pygobject" ,python2-pygobject)
9504 ("python2-psutil" ,python2-psutil)
9505 ("vte" ,vte)))
9506 (arguments
9507 `(#:python ,python-2 ; Python 3 isn't supported
9508 #:imported-modules ((guix build glib-or-gtk-build-system)
9509 ,@%python-build-system-modules)
9510 #:modules ((guix build python-build-system)
9511 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9512 (guix build utils))
9513 #:phases
9514 (modify-phases %standard-phases
9515 (add-after
9516 'install 'wrap-program
9517 (lambda* (#:key outputs #:allow-other-keys)
9518 (let ((prog (string-append (assoc-ref outputs "out")
9519 "/bin/terminator")))
9520 (wrap-program prog
9521 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9522 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9523 #t)))
9524 (add-after 'wrap-program 'glib-or-gtk-wrap
9525 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9526 (home-page "https://gnometerminator.blogspot.com/")
9527 (synopsis "Store and run multiple GNOME terminals in one window")
9528 (description
9529 "Terminator allows you to run multiple GNOME terminals in a grid and
9530 +tabs, and it supports drag and drop re-ordering of terminals.")
9531 (license license:gpl2)))
9532
9533 (define-public libhandy
9534 (package
9535 (name "libhandy")
9536 (version "0.0.12")
9537 (source
9538 (origin
9539 (method git-fetch)
9540 (uri (git-reference
9541 (url "https://source.puri.sm/Librem5/libhandy")
9542 (commit (string-append "v" version))))
9543 (file-name (git-file-name name version))
9544 (sha256
9545 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9546 (build-system meson-build-system)
9547 (arguments
9548 `(#:configure-flags
9549 '("-Dglade_catalog=disabled"
9550 "-Dgtk_doc=true")
9551 #:phases
9552 (modify-phases %standard-phases
9553 (add-before 'check 'pre-check
9554 (lambda _
9555 ;; Tests require a running X server.
9556 (system "Xvfb :1 &")
9557 (setenv "DISPLAY" ":1")
9558 #t)))))
9559 (inputs
9560 `(("gtk+" ,gtk+)))
9561 (native-inputs
9562 `(("glib:bin" ,glib "bin")
9563 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9564 ("vala" ,vala)
9565 ("gtk-doc" ,gtk-doc)
9566 ("pkg-config" ,pkg-config)
9567 ("gettext" ,gettext-minimal)
9568
9569 ;; Test suite dependencies.
9570 ("xorg-server" ,xorg-server-for-tests)
9571 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9572 (home-page "https://source.puri.sm/Librem5/libhandy")
9573 (synopsis "Library full of GTK+ widgets for mobile phones")
9574 (description "The aim of the handy library is to help with developing user
9575 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9576 for usage on small and big screens.")
9577 (license license:lgpl2.1+)))
9578
9579 (define-public libgit2-glib
9580 (package
9581 (name "libgit2-glib")
9582 (version "0.99.0.1")
9583 (source (origin
9584 (method url-fetch)
9585 (uri (string-append "mirror://gnome/sources/" name "/"
9586 (version-major+minor version) "/"
9587 name "-" version ".tar.xz"))
9588 (sha256
9589 (base32
9590 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9591 (build-system meson-build-system)
9592 (native-inputs
9593 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9594 ("gobject-introspection" ,gobject-introspection)
9595 ("pkg-config" ,pkg-config)
9596 ("python-pygobject" ,python-pygobject)
9597 ("python-wrapper" ,python-wrapper)
9598 ("vala" ,vala)))
9599 (inputs
9600 `(("glib" ,glib)
9601 ("libssh2" ,libssh2)))
9602 (propagated-inputs
9603 `(;; In Requires of libgit2-glib.pc.
9604 ("libgit2" ,libgit2)))
9605 (synopsis "GLib wrapper around the libgit2 Git access library")
9606 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9607 access library. It only implements the core plumbing functions, not really the
9608 higher level porcelain stuff.")
9609 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9610 (license license:gpl2+)))
9611
9612 (define-public gitg
9613 (package
9614 (name "gitg")
9615 (version "3.32.1")
9616 (source (origin
9617 (method url-fetch)
9618 (uri (string-append "mirror://gnome/sources/" name "/"
9619 (version-major+minor version) "/"
9620 name "-" version ".tar.xz"))
9621 (sha256
9622 (base32
9623 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9624 (build-system meson-build-system)
9625 (arguments
9626 `(#:glib-or-gtk? #t
9627 #:phases
9628 (modify-phases %standard-phases
9629 (add-after 'unpack 'disable-post-install-partially
9630 (lambda _
9631 (substitute* "meson_post_install.py"
9632 (("'python'") ; there are no python sources to compile
9633 (string-append "'" (which "true") "'"))
9634 (("gtk-update-icon-cache") (which "true")))
9635 #t))
9636 (add-after 'unpack 'fix-test-sources
9637 (lambda _
9638 (substitute* "tests/libgitg/test-commit.vala"
9639 (("/bin/bash") (which "bash")))
9640 #t))
9641 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9642 (lambda* (#:key outputs #:allow-other-keys)
9643 (let ((prog (string-append (assoc-ref outputs "out")
9644 "/bin/gitg")))
9645 (wrap-program prog
9646 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9647 #t))))))
9648 (inputs
9649 `(("glib" ,glib)
9650 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9651 ("gtk+" ,gtk+)
9652 ("gtkspell3" ,gtkspell3)
9653 ("gtksourceview" ,gtksourceview-3)
9654 ("json-glib" ,json-glib)
9655 ("libdazzle" ,libdazzle)
9656 ("libgee" ,libgee)
9657 ("libgit2-glib" ,libgit2-glib)
9658 ("libpeas" ,libpeas)
9659 ("libsecret" ,libsecret)
9660 ("libsoup" ,libsoup)
9661 ("libxml2" ,libxml2)))
9662 (native-inputs
9663 `(("glib:bin" ,glib "bin")
9664 ("gtk+:bin" ,gtk+ "bin")
9665 ("gobject-introspection" ,gobject-introspection)
9666 ("intltool" ,intltool)
9667 ("pkg-config" ,pkg-config)
9668 ("vala" ,vala)))
9669 (synopsis "Graphical user interface for git")
9670 (description
9671 "gitg is a graphical user interface for git. It aims at being a small,
9672 fast and convenient tool to visualize the history of git repositories.
9673 Besides visualization, gitg also provides several utilities to manage your
9674 repository and commit your work.")
9675 (home-page "https://wiki.gnome.org/Apps/Gitg")
9676 (license license:gpl2+)))
9677
9678 (define-public gamin
9679 (package
9680 (name "gamin")
9681 (version "0.1.10")
9682 (source (origin
9683 (method url-fetch)
9684 (uri (string-append "mirror://gnome/sources/" name "/"
9685 (version-major+minor version) "/"
9686 name "-" version ".tar.bz2"))
9687 (sha256
9688 (base32
9689 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9690 (build-system gnu-build-system)
9691 (arguments
9692 `(#:phases
9693 (modify-phases %standard-phases
9694 (add-after 'unpack 'remove-deprecated-macro
9695 (lambda _
9696 (substitute* '("server/gam_node.c"
9697 "server/gam_subscription.h"
9698 "server/gam_node.h"
9699 "server/gam_subscription.c")
9700 (("G_CONST_RETURN") "const"))
9701 #t)))))
9702 (inputs
9703 `(("glib" ,glib)))
9704 (native-inputs
9705 `(("intltool" ,intltool)
9706 ("pkg-config" ,pkg-config)))
9707 (home-page "https://people.gnome.org/~veillard/gamin/")
9708 (synopsis "File alteration monitor")
9709 (description
9710 "Gamin is a file and directory monitoring system defined to be a subset
9711 of the FAM (File Alteration Monitor) system. This is a service provided by a
9712 library which detects when a file or a directory has been modified.")
9713 (license license:gpl2+)))
9714
9715 (define-public gnome-mahjongg
9716 (package
9717 (name "gnome-mahjongg")
9718 (version "3.35.1")
9719 (source (origin
9720 (method git-fetch)
9721 (uri (git-reference
9722 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9723 (commit version)))
9724 (file-name (git-file-name name version))
9725 (sha256
9726 (base32
9727 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9728 (build-system meson-build-system)
9729 (arguments
9730 `(#:glib-or-gtk? #t))
9731 (native-inputs
9732 `(("appstream-glib" ,appstream-glib)
9733 ("gettext" ,gettext-minimal)
9734 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9735 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9736 ("itstool" ,itstool)
9737 ("pkg-config" ,pkg-config)
9738 ("vala" ,vala)))
9739 (propagated-inputs
9740 `(("dconf" ,dconf)))
9741 (inputs
9742 `(("glib" ,glib)
9743 ("gtk+" ,gtk+)
9744 ("librsvg" ,librsvg)))
9745 (synopsis "Mahjongg tile-matching game")
9746 (description "GNOME Mahjongg is a game based on the classic Chinese
9747 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9748 and a high score table.")
9749 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9750 (license license:gpl2+)))
9751
9752 (define-public gnome-themes-extra
9753 (package
9754 (name "gnome-themes-extra")
9755 (version "3.28")
9756 (source
9757 (origin
9758 (method url-fetch)
9759 (uri (string-append "mirror://gnome/sources/" name "/"
9760 (version-major+minor version) "/" name "-"
9761 version ".tar.xz"))
9762 (sha256
9763 (base32
9764 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9765 (build-system gnu-build-system)
9766 (arguments
9767 '(#:configure-flags
9768 ;; Don't create 'icon-theme.cache'.
9769 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9770 (true (string-append coreutils "/bin/true")))
9771 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9772 (native-inputs
9773 `(("glib:bin" ,glib "bin")
9774 ("intltool" ,intltool)
9775 ("pkg-config" ,pkg-config)))
9776 (inputs
9777 `(("glib" ,glib)
9778 ("gtk+" ,gtk+)
9779 ("gtk+-2" ,gtk+-2)
9780 ("librsvg" ,librsvg)
9781 ("libxml2" ,libxml2)))
9782 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9783 (synopsis "GNOME Extra Themes")
9784 (description "This package provides themes and related elements that don't
9785 really fit in other upstream packages. It offers legacy support for GTK+ 2
9786 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9787 index files needed for Adwaita to be used outside of GNOME.")
9788 (license license:lgpl2.1+)))
9789
9790 (define-public polari
9791 (package
9792 (name "polari")
9793 (version "3.32.2")
9794 (source (origin
9795 (method url-fetch)
9796 (uri (string-append "mirror://gnome/sources/polari/"
9797 (version-major+minor version)
9798 "/polari-" version ".tar.xz"))
9799 (sha256
9800 (base32
9801 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9802 (build-system meson-build-system)
9803 (arguments
9804 `(#:glib-or-gtk? #t
9805 #:phases
9806 (modify-phases %standard-phases
9807 (add-after 'unpack 'skip-gtk-update-icon-cache
9808 (lambda _
9809 (substitute* "meson/meson-postinstall.sh"
9810 (("gtk-update-icon-cache") (which "true")))
9811 #t))
9812 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9813 (lambda* (#:key outputs #:allow-other-keys)
9814 (let ((prog (string-append (assoc-ref outputs "out")
9815 "/bin/polari")))
9816 (wrap-program prog
9817 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9818 #t))))))
9819 (inputs
9820 `(("glib" ,glib)
9821 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9822 ("gspell" ,gspell)
9823 ("gtk+" ,gtk+)
9824 ("gjs" ,gjs)
9825 ("libsecret" ,libsecret)
9826 ("libsoup" ,libsoup)
9827 ("telepathy-glib" ,telepathy-glib)
9828 ("telepathy-logger" ,telepathy-logger)))
9829 (native-inputs
9830 `(("glib:bin" ,glib "bin")
9831 ("gobject-introspection" ,gobject-introspection)
9832 ("intltool" ,intltool)
9833 ("pkg-config" ,pkg-config)
9834 ("yelp-tools" ,yelp-tools)))
9835 (propagated-inputs
9836 `(("telepathy-idle" ,telepathy-idle)
9837 ("telepathy-mission-control" ,telepathy-mission-control)))
9838 (synopsis "Simple IRC Client")
9839 (description
9840 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9841 integrate seamlessly with the GNOME desktop.")
9842 (home-page "https://wiki.gnome.org/Apps/Polari")
9843 (license license:gpl2+)))
9844
9845 (define-public gnome-boxes
9846 (package
9847 (name "gnome-boxes")
9848 (version "3.35.91")
9849 (source
9850 (origin
9851 (method url-fetch)
9852 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9853 (version-major+minor version) "/"
9854 "gnome-boxes-" version ".tar.xz"))
9855 (sha256
9856 (base32
9857 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9858 (build-system meson-build-system)
9859 (arguments
9860 '(#:glib-or-gtk? #t
9861 #:configure-flags (list "-Drdp=false"
9862 (string-append "-Dc_link_args=-Wl,-rpath="
9863 (assoc-ref %outputs "out")
9864 "/lib/gnome-boxes"))))
9865 (native-inputs
9866 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9867 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9868 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9869 ("itstool" ,itstool)
9870 ("intltool" ,intltool)
9871 ("vala" ,vala)
9872 ("pkg-config" ,pkg-config)))
9873 (inputs
9874 `(("libarchive" ,libarchive)
9875 ("gtk" ,gtk+)
9876 ("gtk-vnc" ,gtk-vnc)
9877 ("libosinfo" ,libosinfo)
9878 ("libsecret" ,libsecret)
9879 ("libsoup" ,libsoup)
9880 ("libusb" ,libusb)
9881 ("libvirt" ,libvirt)
9882 ("libvirt-glib" ,libvirt-glib)
9883 ("libxml" ,libxml2)
9884 ("spice-gtk" ,spice-gtk)
9885 ("sparql-query" ,sparql-query)
9886 ("vte" ,vte)
9887 ("webkitgtk" ,webkitgtk)
9888 ("tracker" ,tracker)
9889 ("libgudev" ,libgudev)))
9890 (home-page "https://wiki.gnome.org/Apps/Boxes")
9891 (synopsis "View, access, and manage remote and virtual systems")
9892 (description "GNOME Boxes is a simple application to view, access, and
9893 manage remote and virtual systems.")
9894 (license (list
9895 ;; For data/icons/empty-boxes.png.
9896 license:cc-by2.0
9897 ;; For all others.
9898 license:lgpl2.0+))))
9899
9900 (define-public geary
9901 (package
9902 (name "geary")
9903 (version "3.34.1")
9904 (source (origin
9905 (method git-fetch)
9906 (uri (git-reference
9907 (url "https://gitlab.gnome.org/GNOME/geary")
9908 (commit version)))
9909 (file-name (git-file-name name version))
9910 (sha256
9911 (base32
9912 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9913 (build-system meson-build-system)
9914 (arguments
9915 `(#:glib-or-gtk? #t
9916 #:phases (modify-phases %standard-phases
9917 (add-after 'unpack 'disable-failing-tests
9918 (lambda _
9919 (substitute* "test/meson.build"
9920 (("test\\('client-tests', geary_test_client_bin\\)")
9921 ""))
9922 #t))
9923 (add-after 'unpack 'disable-postinstall-script
9924 (lambda _
9925 (substitute* "meson.build"
9926 (("meson.add_install_script\\(\
9927 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9928 ""))
9929 #t))
9930 (add-before 'check 'setup-xvfb
9931 (lambda _
9932 (system "Xvfb :1 &")
9933 (setenv "DISPLAY" ":1")
9934 #t)))))
9935 (inputs
9936 `(("enchant" ,enchant)
9937 ("folks" ,folks)
9938 ("gcr" ,gcr)
9939 ("glib" ,glib)
9940 ("gmime" ,gmime-2.6)
9941 ("gnome-online-accounts:lib"
9942 ,gnome-online-accounts "lib")
9943 ("gspell" ,gspell)
9944 ("gtk+" ,gtk+)
9945 ("iso-codes" ,iso-codes)
9946 ("json-glib" ,json-glib)
9947 ("libcanberra" ,libcanberra)
9948 ("libgee" ,libgee)
9949 ("libhandy" ,libhandy)
9950 ("libpeas" ,libpeas)
9951 ("libsecret" ,libsecret)
9952 ("libunwind" ,libunwind)
9953 ("sqlite" ,sqlite)
9954 ("webkitgtk" ,webkitgtk)
9955 ("ytnef" ,ytnef)))
9956 (native-inputs
9957 `(("appstream-glib" ,appstream-glib)
9958 ("cmake-minimal" ,cmake-minimal)
9959 ("desktop-file-utils" ,desktop-file-utils)
9960 ("gettext" ,gettext-minimal)
9961 ("glib:bin" ,glib "bin")
9962 ("gobject-introspection" ,gobject-introspection)
9963 ("itstool" ,itstool)
9964 ("libarchive" ,libarchive)
9965 ("libxml2" ,libxml2)
9966 ("pkg-config" ,pkg-config)
9967 ("vala" ,vala)
9968 ("xvfb" ,xorg-server-for-tests)))
9969 (synopsis "GNOME email application built around conversations")
9970 (description
9971 "Geary collects related messages together into conversations,
9972 making it easy to find and follow your discussions. Full-text and keyword
9973 search makes it easy to find the email you are looking for. Geary's
9974 full-featured composer lets you send rich, styled text with images, links, and
9975 lists, but also send lightweight, easy to read text messages. Geary
9976 automatically picks up your existing GNOME Online Accounts, and adding more is
9977 easy. Geary has a clean, fast, modern interface that works like you want it
9978 to.")
9979 (home-page "https://wiki.gnome.org/Apps/Geary")
9980 (license (list
9981 ;; geary
9982 license:lgpl2.1+
9983 ;; icons
9984 license:cc-by3.0
9985 license:cc-by-sa3.0
9986 license:public-domain
9987 ;; snowball
9988 license:bsd-2))))
9989
9990 (define-public libratbag
9991 (package
9992 (name "libratbag")
9993 (version "0.13")
9994 (source
9995 (origin
9996 (method git-fetch)
9997 (uri (git-reference
9998 (url "https://github.com/libratbag/libratbag.git")
9999 (commit (string-append "v" version))))
10000 (file-name (git-file-name name version))
10001 (sha256
10002 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10003 (build-system meson-build-system)
10004 (arguments
10005 `(#:configure-flags
10006 (list "-Dsystemd=false"
10007 "-Dlogind-provider=elogind")
10008 #:phases
10009 (modify-phases %standard-phases
10010 (add-after 'install 'wrap
10011 (lambda* (#:key inputs outputs #:allow-other-keys)
10012 (let* ((out (assoc-ref outputs "out"))
10013 (site (string-append
10014 "/lib/python"
10015 ,(version-major+minor (package-version python))
10016 "/site-packages"))
10017 (evdev (string-append
10018 (assoc-ref inputs "python-evdev") site))
10019 (pygo (string-append
10020 (assoc-ref inputs "python-pygobject") site))
10021 (python-wrap
10022 `("PYTHONPATH" = (,evdev ,pygo))))
10023 (wrap-program (string-append out "/bin/" "ratbagctl")
10024 python-wrap)
10025 #t))))))
10026 (native-inputs
10027 `(("check" ,check)
10028 ("pkg-config" ,pkg-config)
10029 ("swig" ,swig)
10030 ("valgrind" ,valgrind)))
10031 (inputs
10032 `(("glib" ,glib)
10033 ("json-glib" ,json-glib)
10034 ("libevdev" ,libevdev)
10035 ("libsystemd" ,elogind)
10036 ("libunistring" ,libunistring)
10037 ("python-evdev" ,python-evdev)
10038 ("python-pygobject" ,python-pygobject)
10039 ("udev" ,eudev)))
10040 (home-page "https://github.com/libratbag/libratbag")
10041 (synopsis "DBus daemon and utility for configuring gaming mice")
10042 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10043 configure input devices, mainly gaming mice. The daemon provides a generic
10044 way to access the various features exposed by these mice and abstracts away
10045 hardware-specific and kernel-specific quirks. There is also the
10046 @command{ratbagctl} command line interface for configuring devices.
10047
10048 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10049 Steelseries.
10050
10051 The ratbagd DBus service can be enabled by adding the following service to
10052 your operating-system definition:
10053
10054 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10055 (license license:expat)))
10056
10057 (define-public parlatype
10058 ;; This is one commit away from 2.0, because the latter introduced
10059 ;; a regression in ASR.
10060 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
10061 (revision "0"))
10062 (package
10063 (name "parlatype")
10064 (version (git-version "2.0" revision commit))
10065 (source
10066 (origin
10067 (method git-fetch)
10068 (uri (git-reference
10069 (url "https://github.com/gkarsay/parlatype.git")
10070 (commit commit)))
10071 (file-name (git-file-name name version))
10072 (sha256
10073 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
10074 (build-system meson-build-system)
10075 (arguments
10076 `(#:glib-or-gtk? #t
10077 #:tests? #f ;require internet access
10078 #:phases
10079 (modify-phases %standard-phases
10080 (add-after 'install 'wrap-parlatype
10081 ;; Add gstreamer plugin provided in this package to system's
10082 ;; plugins.
10083 (lambda* (#:key outputs #:allow-other-keys)
10084 (let* ((out (assoc-ref outputs "out"))
10085 (gst-plugin-path (string-append
10086 out "/lib/gstreamer-1.0/"
10087 ":"
10088 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10089 (wrap-program (string-append out "/bin/parlatype")
10090 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10091 #t)))))
10092 (native-inputs
10093 `(("appstream-glib" ,appstream-glib)
10094 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10095 ("gettext" ,gettext-minimal)
10096 ("glib" ,glib "bin") ;for glib-compile-resources
10097 ("pkg-config" ,pkg-config)
10098 ("yelp-tools" ,yelp-tools)))
10099 (inputs
10100 `(("gst-plugins-base" ,gst-plugins-base)
10101 ("gst-plugins-good" ,gst-plugins-good)
10102 ("gstreamer" ,gstreamer)
10103 ("gtk+" ,gtk+)
10104 ("pocketsphinx" ,pocketsphinx)
10105 ("pulseaudio" ,pulseaudio)
10106 ("sphinxbase" ,sphinxbase)))
10107 (home-page "http://gkarsay.github.io/parlatype/")
10108 (synopsis "GNOME audio player for transcription")
10109 (description "Parlatype is an audio player for the GNOME desktop
10110 environment. Its main purpose is the manual transcription of spoken
10111 audio files.")
10112 (license license:gpl3+))))
10113
10114 (define-public jsonrpc-glib
10115 (package
10116 (name "jsonrpc-glib")
10117 (version "3.34.0")
10118 (source (origin
10119 (method url-fetch)
10120 (uri (string-append "mirror://gnome/sources/" name "/"
10121 (version-major+minor version) "/"
10122 name "-" version ".tar.xz"))
10123 (sha256
10124 (base32
10125 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10126 (build-system meson-build-system)
10127 (inputs
10128 `(("json-glib" ,json-glib)
10129 ("glib" ,glib)))
10130 (native-inputs
10131 `(("pkg-config" ,pkg-config)
10132 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10133 ("gobject-introspection" ,gobject-introspection)
10134 ("vala" ,vala)))
10135 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10136 (synopsis "JSON-RPC library for GLib")
10137 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10138 peers in either a synchronous or asynchronous fashion. It also allows
10139 communicating using the GVariant serialization format instead of JSON when
10140 both peers support it. You might want that when communicating on a single
10141 host to avoid parser overhead and memory-allocator fragmentation.")
10142 (license license:lgpl2.1+)))