Merge branch 'master' into core-updates
[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 (home-page "https://wiki.gnome.org/Apps/Dia")
1034 (synopsis "Diagram creation for GNOME")
1035 (description "Dia can be used to draw different types of diagrams, and
1036 includes support for UML static structure diagrams (class diagrams), entity
1037 relationship modeling, and network diagrams. The program supports various file
1038 formats like PNG, SVG, PDF and EPS.")
1039 (license license:gpl2+))))
1040
1041 ;; This is the unstable release, but it is required for the current stable
1042 ;; release of gvfs (1.38.1).
1043 (define-public libgdata
1044 (package
1045 (name "libgdata")
1046 (version "0.17.9")
1047 (source (origin
1048 (method url-fetch)
1049 (uri (string-append "mirror://gnome/sources/" name "/"
1050 (version-major+minor version) "/"
1051 name "-" version ".tar.xz"))
1052 (sha256
1053 (base32
1054 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1055 (build-system gnu-build-system)
1056 (arguments
1057 '(#:phases
1058 (modify-phases %standard-phases
1059 (add-before 'check 'disable-failing-tests
1060 (lambda _
1061 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1062 ;; They have been removed in libgdata 0.17.6, so just do the same.
1063 (substitute* "gdata/tests/Makefile"
1064 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1065 #t)))))
1066 (native-inputs
1067 `(("glib:bin" ,glib "bin")
1068 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1069 ("intltool" ,intltool)
1070 ("pkg-config" ,pkg-config)
1071 ("uhttpmock" ,uhttpmock)))
1072 (inputs
1073 `(("cyrus-sasl" ,cyrus-sasl)
1074 ("glib-networking" ,glib-networking)))
1075 (propagated-inputs
1076 `(("gcr" ,gcr)
1077 ("glib" ,glib)
1078 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1079 ("json-glib" ,json-glib)
1080 ("liboauth" ,liboauth)
1081 ("libsoup" ,libsoup)
1082 ("libxml2" ,libxml2)))
1083 (home-page "https://wiki.gnome.org/Projects/libgdata")
1084 (synopsis "Library for accessing online service APIs")
1085 (description
1086 "libgdata is a GLib-based library for accessing online service APIs using
1087 the GData protocol — most notably, Google's services. It provides APIs to
1088 access the common Google services, and has full asynchronous support.")
1089 (license license:lgpl2.1+)))
1090
1091 (define-public libgxps
1092 (package
1093 (name "libgxps")
1094 (version "0.3.1")
1095 (source (origin
1096 (method url-fetch)
1097 (uri (string-append "mirror://gnome/sources/" name "/"
1098 (version-major+minor version) "/"
1099 name "-" version ".tar.xz"))
1100 (sha256
1101 (base32
1102 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1103 (build-system meson-build-system)
1104 (native-inputs
1105 `(("gobject-introspection" ,gobject-introspection)
1106 ("pkg-config" ,pkg-config)))
1107 (inputs
1108 `(("gtk+" ,gtk+)
1109 ("libjpeg" ,libjpeg-turbo)
1110 ("lcms" ,lcms)
1111 ("libtiff" ,libtiff)))
1112 (propagated-inputs
1113 ;; In Requires of libgxps.pc.
1114 `(("cairo" ,cairo)
1115 ("glib" ,glib)
1116 ("libarchive" ,libarchive)))
1117 (home-page "https://wiki.gnome.org/Projects/libgxps")
1118 (synopsis "GObject-based library for handling and rendering XPS documents")
1119 (description
1120 "libgxps is a GObject-based library for handling and rendering XPS
1121 documents. This package also contains binaries that can convert XPS documents
1122 to other formats.")
1123 (license license:lgpl2.1+)))
1124
1125 (define-public gnome-characters
1126 (package
1127 (name "gnome-characters")
1128 (version "3.30.0")
1129 (source
1130 (origin
1131 (method url-fetch)
1132 (uri (string-append "mirror://gnome/sources/"
1133 "gnome-characters/" (version-major+minor version)
1134 "/gnome-characters-" version ".tar.xz"))
1135 (sha256
1136 (base32
1137 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1138 (build-system meson-build-system)
1139 (arguments
1140 `(#:glib-or-gtk? #t
1141 #:phases (modify-phases %standard-phases
1142 (add-after 'install 'wrap
1143 (lambda* (#:key outputs #:allow-other-keys)
1144 ;; GNOME Characters needs Typelib files from GTK and
1145 ;; gnome-desktop.
1146 (wrap-program (string-append (assoc-ref outputs "out")
1147 "/bin/gnome-characters")
1148 `("GI_TYPELIB_PATH" ":" prefix
1149 (,(getenv "GI_TYPELIB_PATH"))))
1150 #t)))))
1151 (native-inputs
1152 `(("gettext" ,gettext-minimal)
1153 ("glib:bin" ,glib "bin")
1154 ("gtk+:bin" ,gtk+ "bin")
1155 ("pkg-config" ,pkg-config)
1156 ("python" ,python-minimal)))
1157 (inputs
1158 `(("gjs" ,gjs)
1159 ("gtk+" ,gtk+)
1160 ("libunistring" ,libunistring)
1161 ("gnome-desktop" ,gnome-desktop)))
1162 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1163 (synopsis "Find and insert unusual characters")
1164 (description "Characters is a simple utility application to find
1165 and insert unusual characters. It allows you to quickly find the
1166 character you are looking for by searching for keywords.")
1167 (license license:bsd-3)))
1168
1169 (define-public gnome-common
1170 (package
1171 (name "gnome-common")
1172 (version "3.18.0")
1173 (source
1174 (origin
1175 (method url-fetch)
1176 (uri (string-append "mirror://gnome/sources/" name "/"
1177 (version-major+minor version) "/"
1178 name "-" version ".tar.xz"))
1179 (sha256
1180 (base32
1181 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1182 (build-system gnu-build-system)
1183 (home-page "https://www.gnome.org/")
1184 (synopsis "Bootstrap GNOME modules built from Git")
1185 (description "gnome-common contains various files needed to bootstrap
1186 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1187 can be used to configure a source directory checked out from Git and some
1188 commonly used macros.")
1189 (license license:gpl2+)))
1190
1191 (define-public gnome-contacts
1192 (package
1193 (name "gnome-contacts")
1194 (version "3.34")
1195 (source (origin
1196 (method url-fetch)
1197 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1198 (version-major+minor version) "/"
1199 name "-" version ".tar.xz"))
1200 (sha256
1201 (base32
1202 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1203 (build-system meson-build-system)
1204 (arguments
1205 `(#:configure-flags '("-Dcheese=false")
1206 #:phases
1207 (modify-phases %standard-phases
1208 (add-after 'unpack 'generate-vapis
1209 (lambda* (#:key inputs #:allow-other-keys)
1210 ;; To generate goa's missing .vapi file
1211 (define goa
1212 (assoc-ref inputs "gnome-online-accounts:lib"))
1213
1214 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1215 "--library=goa-1.0"
1216 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1217 #t))
1218 (add-after 'unpack 'skip-gtk-update-icon-cache
1219 ;; Don't create 'icon-theme.cache'.
1220 (lambda _
1221 (substitute* "build-aux/meson_post_install.py"
1222 (("gtk-update-icon-cache") "true"))
1223 #t)))))
1224 (native-inputs
1225 `(("glib:bin" ,glib "bin")
1226 ("pkg-config" ,pkg-config)))
1227 (inputs
1228 `(("docbook-xml" ,docbook-xml)
1229 ("dockbook-xsl" ,docbook-xsl)
1230 ("evolution-data-server" ,evolution-data-server)
1231 ("gettext" ,gettext-minimal)
1232 ("gnome-desktop" ,gnome-desktop)
1233 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1234 ("gobject-introspection" ,gobject-introspection)
1235 ("gst-plugins-base" ,gst-plugins-base)
1236 ("gtk+" ,gtk+)
1237 ("libgee" ,libgee)
1238 ("libxslt" ,libxslt)
1239 ("telepathy-glib" ,telepathy-glib)
1240 ("vala" ,vala)))
1241 (propagated-inputs
1242 `(("folks", folks)
1243 ("telepathy-mission-control" ,telepathy-mission-control)))
1244 (synopsis "GNOME's integrated address book")
1245 (description
1246 "GNOME Contacts organizes your contact information from online and
1247 offline sources, providing a centralized place for managing your contacts.")
1248 (home-page "https://wiki.gnome.org/Apps/Contacts")
1249 (license license:gpl2+)))
1250
1251 (define-public gnome-desktop
1252 (package
1253 (name "gnome-desktop")
1254 (version "3.34.2")
1255 (source
1256 (origin
1257 (method url-fetch)
1258 (uri (string-append "mirror://gnome/sources/" name "/"
1259 (version-major+minor version) "/"
1260 name "-" version ".tar.xz"))
1261 (sha256
1262 (base32
1263 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1264 (build-system meson-build-system)
1265 (arguments
1266 '(#:phases
1267 (modify-phases %standard-phases
1268 (add-before 'configure 'patch-path
1269 (lambda* (#:key inputs #:allow-other-keys)
1270 (let ((libc (assoc-ref inputs "libc")))
1271 (substitute* "libgnome-desktop/gnome-languages.c"
1272 (("\"locale\"")
1273 (string-append "\"" libc "/bin/locale\"")))
1274 #t)))
1275 (add-before 'check 'pre-check
1276 (lambda* (#:key inputs #:allow-other-keys)
1277 ;; Tests require a running X server and locales.
1278 (system "Xvfb :1 &")
1279 (setenv "DISPLAY" ":1")
1280 (setenv "GUIX_LOCPATH"
1281 (string-append (assoc-ref inputs "glibc-locales")
1282 "/lib/locale"))
1283 #t)))))
1284 (native-inputs
1285 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1286 ("glibc-locales" ,glibc-locales) ; for tests
1287 ("gobject-introspection" ,gobject-introspection)
1288 ("itstool" ,itstool)
1289 ("intltool" ,intltool)
1290 ("pkg-config" ,pkg-config)
1291 ("xmllint" ,libxml2)
1292 ("xorg-server" ,xorg-server-for-tests)))
1293 (propagated-inputs
1294 ;; Required by gnome-desktop-3.0.pc.
1295 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1296 ("gtk+" ,gtk+)
1297 ("iso-codes" ,iso-codes)
1298 ("libseccomp" ,libseccomp)
1299 ("libx11" ,libx11)
1300 ("xkeyboard-config" ,xkeyboard-config)))
1301 (inputs
1302 `(("gdk-pixbuf" ,gdk-pixbuf)
1303 ("glib" ,glib)
1304 ("libxext" ,libxext)
1305 ("libxkbfile" ,libxkbfile)
1306 ("libxrandr" ,libxrandr)))
1307 (home-page "https://www.gnome.org/")
1308 (synopsis
1309 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1310 (description
1311 "The libgnome-desktop library provides API shared by several applications
1312 on the desktop, but that cannot live in the platform for various reasons.
1313 There is no API or ABI guarantee, although we are doing our best to provide
1314 stability. Documentation for the API is available with gtk-doc.
1315
1316 The gnome-about program helps find which version of GNOME is installed.")
1317 ; Some bits under the LGPL.
1318 (license license:gpl2+)))
1319
1320 (define-public gnome-doc-utils
1321 (package
1322 (name "gnome-doc-utils")
1323 (version "0.20.10")
1324 (source
1325 (origin
1326 (method url-fetch)
1327 (uri (string-append "mirror://gnome/sources/" name "/"
1328 (version-major+minor version) "/"
1329 name "-" version ".tar.xz"))
1330 (sha256
1331 (base32
1332 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1333 (build-system gnu-build-system)
1334 (native-inputs
1335 `(("intltool" ,intltool)
1336 ("docbook-xml" ,docbook-xml-4.4)
1337 ("python2-libxml2" ,python2-libxml2)
1338 ("libxml2" ,libxml2)
1339 ("libxslt" ,libxslt)
1340 ("pkg-config" ,pkg-config)
1341 ("python-2" ,python-2)))
1342 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1343 (synopsis
1344 "Documentation utilities for the Gnome project")
1345 (description
1346 "Gnome-doc-utils is a collection of documentation utilities for the
1347 Gnome project. It includes xml2po tool which makes it easier to translate
1348 and keep up to date translations of documentation.")
1349 (license license:gpl2+))) ; xslt under lgpl
1350
1351 (define-public gnome-disk-utility
1352 (package
1353 (name "gnome-disk-utility")
1354 (version "3.34.0")
1355 (source (origin
1356 (method url-fetch)
1357 (uri (string-append "mirror://gnome/sources/" name "/"
1358 (version-major+minor version) "/"
1359 name "-" version ".tar.xz"))
1360 (sha256
1361 (base32
1362 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1363 (build-system meson-build-system)
1364 (arguments
1365 '(#:configure-flags '("-Dlogind=libelogind")
1366 #:phases
1367 (modify-phases %standard-phases
1368 (add-after 'unpack 'skip-gtk-update-icon-cache
1369 ;; Don't create 'icon-theme.cache'.
1370 (lambda _
1371 (substitute* "meson_post_install.py"
1372 (("gtk-update-icon-cache") "true"))
1373 #t)))))
1374 (native-inputs
1375 `(("glib:bin" ,glib "bin")
1376 ("intltool" ,intltool)
1377 ("pkg-config" ,pkg-config)
1378 ("docbook-xml" ,docbook-xml)
1379 ("docbook-xsl" ,docbook-xsl)
1380 ("libxml2" ,libxml2)
1381 ("libxslt" ,libxslt)))
1382 (inputs
1383 `(("elogind" ,elogind)
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.34.0")
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 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1447 (build-system gnu-build-system)
1448 (arguments
1449 '(#:phases
1450 (modify-phases %standard-phases
1451 ;; These fail because /var/lib/dbus/machine-id is not present in the
1452 ;; build environment.
1453 (add-after 'unpack 'disable-failing-tests
1454 (lambda _
1455 (substitute* "Makefile.in"
1456 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1457 ""))
1458 #t))
1459 (add-before 'check 'pre-check
1460 (lambda _
1461 ;; Some tests expect to write to $HOME.
1462 (setenv "HOME" "/tmp")
1463 #t)))))
1464 (inputs
1465 `(("dbus" ,dbus)
1466 ("gnupg" ,gnupg) ;called as a child process during tests
1467 ("libgcrypt" ,libgcrypt)))
1468 (native-inputs
1469 `(("python" ,python-wrapper) ;for tests
1470 ("pkg-config" ,pkg-config)
1471 ("gettext" ,gettext-minimal)
1472 ("glib" ,glib "bin")
1473 ("gobject-introspection" ,gobject-introspection)
1474 ("libxml2" ,libxml2)
1475 ("vala" ,vala)
1476 ("xsltproc" ,libxslt)))
1477 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1478 (propagated-inputs
1479 `(("p11-kit" ,p11-kit)
1480 ("glib" ,glib)
1481 ("gtk+" ,gtk+)))
1482 (home-page "https://www.gnome.org")
1483 (synopsis "Libraries for displaying certificates and accessing key stores")
1484 (description
1485 "The GCR package contains libraries used for displaying certificates and
1486 accessing key stores. It also provides the viewer for crypto files on the
1487 GNOME Desktop.")
1488 (license license:lgpl2.1+)))
1489
1490 (define-public libgnome-keyring
1491 (package
1492 (name "libgnome-keyring")
1493 (version "3.12.0")
1494 (source (origin
1495 (method url-fetch)
1496 (uri (string-append "mirror://gnome/sources/" name "/"
1497 (version-major+minor version) "/"
1498 name "-" version ".tar.xz"))
1499 (sha256
1500 (base32
1501 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1502 (build-system gnu-build-system)
1503 (inputs
1504 `(("libgcrypt" ,libgcrypt)
1505 ("dbus" ,dbus)))
1506 (native-inputs
1507 `(("pkg-config" ,pkg-config)
1508 ("glib" ,glib "bin")
1509 ("intltool" ,intltool)))
1510 (propagated-inputs
1511 ;; Referred to in .h files and .pc.
1512 `(("glib" ,glib)))
1513 (home-page "https://www.gnome.org")
1514 (synopsis "Accessing passwords from the GNOME keyring")
1515 (description
1516 "Client library to access passwords from the GNOME keyring.")
1517
1518 ;; Though a couple of files are LGPLv2.1+.
1519 (license license:lgpl2.0+)))
1520
1521 (define-public gnome-keyring
1522 (package
1523 (name "gnome-keyring")
1524 (version "3.34.0")
1525 (source (origin
1526 (method url-fetch)
1527 (uri (string-append "mirror://gnome/sources/" name "/"
1528 (version-major+minor version) "/"
1529 name "-" version ".tar.xz"))
1530 (sha256
1531 (base32
1532 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1533 (build-system gnu-build-system)
1534 (arguments
1535 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1536 ;not exist
1537 #:configure-flags
1538 (list
1539 (string-append "--with-pkcs11-config="
1540 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1541 (string-append "--with-pkcs11-modules="
1542 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1543 #:phases
1544 (modify-phases %standard-phases
1545 (add-after 'unpack 'fix-/bin/sh-reference
1546 (lambda _
1547 (substitute* "po/Makefile.in.in"
1548 (("/bin/sh") (which "sh")))
1549 #t))
1550 (add-after 'unpack 'fix-docbook
1551 (lambda* (#:key inputs #:allow-other-keys)
1552 (substitute* "docs/Makefile.am"
1553 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1554 (string-append (assoc-ref inputs "docbook-xsl")
1555 "/xml/xsl/docbook-xsl-"
1556 ,(package-version docbook-xsl)
1557 "/manpages/docbook.xsl")))
1558 (setenv "XML_CATALOG_FILES"
1559 (string-append (assoc-ref inputs "docbook-xml")
1560 "/xml/dtd/docbook/catalog.xml"))
1561 ;; Rerun the whole thing to avoid version mismatch ("This is
1562 ;; Automake 1.15.1, but the definition used by this
1563 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1564 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1565 (invoke "autoconf")
1566 (invoke "aclocal")
1567 (invoke "automake" "-ac"))))))
1568 (inputs
1569 `(("libgcrypt" ,libgcrypt)
1570 ("linux-pam" ,linux-pam)
1571 ("openssh" ,openssh)
1572 ("dbus" ,dbus)
1573 ("gcr" ,gcr)))
1574 (native-inputs
1575 `(("pkg-config" ,pkg-config)
1576 ("glib" ,glib "bin")
1577 ("glib" ,glib) ; for m4 macros
1578 ("python" ,python-2) ;for tests
1579 ("intltool" ,intltool)
1580 ("autoconf" ,autoconf)
1581 ("automake" ,automake)
1582 ("libxslt" ,libxslt) ;for documentation
1583 ("docbook-xml" ,docbook-xml-4.2)
1584 ("docbook-xsl" ,docbook-xsl)))
1585 (home-page "https://www.gnome.org")
1586 (synopsis "Daemon to store passwords and encryption keys")
1587 (description
1588 "gnome-keyring is a program that keeps passwords and other secrets for
1589 users. It is run as a daemon in the session, similar to ssh-agent, and other
1590 applications locate it via an environment variable or D-Bus.
1591
1592 The program can manage several keyrings, each with its own master password,
1593 and there is also a session keyring which is never stored to disk, but
1594 forgotten when the session ends.")
1595 (license license:lgpl2.1+)))
1596
1597 (define-public evince
1598 (package
1599 (name "evince")
1600 (version "3.34.2")
1601 (source (origin
1602 (method url-fetch)
1603 (uri (string-append "mirror://gnome/sources/evince/"
1604 (version-major+minor version) "/"
1605 "evince-" version ".tar.xz"))
1606 (sha256
1607 (base32
1608 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1609 (build-system glib-or-gtk-build-system)
1610 (arguments
1611 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1612 #:phases
1613 (modify-phases %standard-phases
1614 (add-before 'install 'skip-gtk-update-icon-cache
1615 ;; Don't create 'icon-theme.cache'.
1616 (lambda _
1617 (substitute* "data/Makefile"
1618 (("gtk-update-icon-cache") "true"))
1619 #t)))))
1620 (inputs
1621 `(("libarchive" ,libarchive)
1622 ("libgxps" ,libgxps)
1623 ("libspectre" ,libspectre)
1624 ("djvulibre" ,djvulibre)
1625 ("ghostscript" ,ghostscript)
1626 ("poppler" ,poppler)
1627 ("libtiff" ,libtiff)
1628 ;; TODO:
1629 ;; Build libkpathsea as a shared library for DVI support.
1630 ;; ("libkpathsea" ,texlive-bin)
1631 ("gnome-desktop" ,gnome-desktop)
1632 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1633 ("gspell" ,gspell)
1634 ("libgnome-keyring" ,libgnome-keyring)
1635 ("adwaita-icon-theme" ,adwaita-icon-theme)
1636 ("gdk-pixbuf" ,gdk-pixbuf)
1637 ("atk" ,atk)
1638 ("pango" ,pango)
1639 ("gtk+" ,gtk+)
1640 ("glib" ,glib)
1641 ("libxml2" ,libxml2)
1642 ("libsm" ,libsm)
1643 ("libice" ,libice)
1644 ("shared-mime-info" ,shared-mime-info)
1645 ("dconf" ,dconf)
1646 ("libcanberra" ,libcanberra)
1647 ("libsecret" ,libsecret)
1648
1649 ;; For tests.
1650 ("dogtail" ,python2-dogtail)))
1651 (native-inputs
1652 `(("itstool" ,itstool)
1653 ("intltool" ,intltool)
1654 ("glib" ,glib "bin")
1655 ("gobject-introspection" ,gobject-introspection)
1656 ("pkg-config" ,pkg-config)
1657 ("xmllint" ,libxml2)))
1658 (home-page
1659 "https://www.gnome.org/projects/evince/")
1660 (synopsis "GNOME's document viewer")
1661 (description
1662 "Evince is a document viewer for multiple document formats. It
1663 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1664 of Evince is to replace the multiple document viewers that exist
1665 on the GNOME Desktop with a single simple application.")
1666 (license license:gpl2+)))
1667
1668 (define-public gsettings-desktop-schemas
1669 (package
1670 (name "gsettings-desktop-schemas")
1671 (version "3.34.0")
1672 (source
1673 (origin
1674 (method url-fetch)
1675 (uri (string-append "mirror://gnome/sources/" name "/"
1676 (version-major+minor version) "/"
1677 name "-" version ".tar.xz"))
1678 (sha256
1679 (base32
1680 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1681 (build-system meson-build-system)
1682 (arguments
1683 '(#:phases (modify-phases %standard-phases
1684 (add-after 'unpack 'patch-schemas
1685 (lambda* (#:key inputs #:allow-other-keys)
1686 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1687 (substitute* (find-files "schemas"
1688 "\\.gschema\\.xml\\.in$")
1689 ;; Provide the correct file name of the default GNOME
1690 ;; background, 'adwaita-timed.xml'.
1691 (("@datadir@/backgrounds/gnome")
1692 (string-append theme "/share/backgrounds/gnome"))
1693 ;; Do not reference fonts, that may not exist.
1694 (("'Source Code Pro 10'") "'Monospace 11'"))
1695 #t))))))
1696 (inputs
1697 `(("glib" ,glib)
1698 ("gnome-backgrounds" ,gnome-backgrounds)))
1699 (native-inputs
1700 `(("intltool" ,intltool)
1701 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1702 ("gobject-introspection" ,gobject-introspection)
1703 ("pkg-config" ,pkg-config)))
1704 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1705 (synopsis
1706 "GNOME settings for various desktop components")
1707 (description
1708 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1709 for settings shared by various components of the GNOME desktop.")
1710 (license license:lgpl2.1+)))
1711
1712 (define-public icon-naming-utils
1713 (package
1714 (name "icon-naming-utils")
1715 (version "0.8.90")
1716 (source
1717 (origin
1718 (method url-fetch)
1719 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1720 version ".tar.bz2"))
1721 (sha256
1722 (base32
1723 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1724 (build-system gnu-build-system)
1725 (inputs
1726 `(("perl" ,perl)
1727 ("perl-xml-simple" ,perl-xml-simple)))
1728 (arguments
1729 '(#:phases
1730 (modify-phases %standard-phases
1731 (add-after 'install 'set-load-paths
1732 ;; Tell 'icon-name-mapping' where XML::Simple is.
1733 (lambda* (#:key outputs #:allow-other-keys)
1734 (let* ((out (assoc-ref outputs "out"))
1735 (prog (string-append out "/libexec/icon-name-mapping")))
1736 (wrap-program
1737 prog
1738 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1739 #t)))))
1740 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1741 (synopsis
1742 "Utility to implement the Freedesktop Icon Naming Specification")
1743 (description
1744 "To help with the transition to the Freedesktop Icon Naming
1745 Specification, the icon naming utility maps the icon names used by the
1746 GNOME and KDE desktops to the icon names proposed in the specification.")
1747 (license license:lgpl2.1+)))
1748
1749 (define-public gnome-icon-theme
1750 (package
1751 (name "gnome-icon-theme")
1752 (version "3.12.0")
1753 (source
1754 (origin
1755 (method url-fetch)
1756 (uri (string-append "mirror://gnome/sources/" name "/"
1757 (version-major+minor version) "/"
1758 name "-" version ".tar.xz"))
1759 (sha256
1760 (base32
1761 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1762 (build-system gnu-build-system)
1763 (arguments
1764 '(#:configure-flags
1765 ;; Don't create 'icon-theme.cache'.
1766 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1767 (true (string-append coreutils "/bin/true")))
1768 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1769 (native-inputs
1770 `(("icon-naming-utils" ,icon-naming-utils)
1771 ("intltool" ,intltool)
1772 ("pkg-config" ,pkg-config)))
1773 (home-page "https://wiki.gnome.org/Personalization")
1774 (synopsis "GNOME icon theme")
1775 (description "Icons for the GNOME desktop.")
1776 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1777
1778 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1779 (define-public adwaita-icon-theme
1780 (package (inherit gnome-icon-theme)
1781 (name "adwaita-icon-theme")
1782 (version "3.34.3")
1783 (source (origin
1784 (method url-fetch)
1785 (uri (string-append "mirror://gnome/sources/" name "/"
1786 (version-major+minor version) "/"
1787 name "-" version ".tar.xz"))
1788 (sha256
1789 (base32
1790 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1791 (native-inputs
1792 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1793
1794 (define-public tango-icon-theme
1795 (package
1796 (name "tango-icon-theme")
1797 (version "0.8.90")
1798 (source (origin
1799 (method url-fetch)
1800 (uri (string-append "http://tango.freedesktop.org/releases/"
1801 "tango-icon-theme-" version ".tar.bz2"))
1802 (sha256
1803 (base32
1804 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1805 (build-system gnu-build-system)
1806 (native-inputs
1807 `(("icon-naming-utils" ,icon-naming-utils)
1808 ("intltool" ,intltool)
1809 ("imagemagick" ,imagemagick)
1810 ("pkg-config" ,pkg-config)))
1811 (home-page "http://tango-project.org/")
1812 (synopsis "Tango icon theme")
1813 (description "This is an icon theme that follows the Tango visual
1814 guidelines.")
1815 (license license:public-domain)))
1816
1817 (define-public shared-mime-info
1818 (package
1819 (name "shared-mime-info")
1820 (version "1.15")
1821 (source (origin
1822 (method url-fetch)
1823 (uri (string-append
1824 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1825 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1826 ".tar.xz"))
1827 (sha256
1828 (base32
1829 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1830 (build-system gnu-build-system)
1831 (arguments
1832 ;; The build system appears not to be parallel-safe.
1833 '(#:parallel-build? #f))
1834 (inputs
1835 `(("glib" ,glib)
1836 ("libxml2" ,libxml2)))
1837 (native-inputs
1838 `(("gettext" ,gettext-minimal)
1839 ("itstool" ,itstool)
1840 ("pkg-config" ,pkg-config)))
1841 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1842 (synopsis "Database of common MIME types")
1843 (description
1844 "The shared-mime-info package contains the core database of common types
1845 and the update-mime-database command used to extend it. It requires glib2 to
1846 be installed for building the update command. Additionally, it uses intltool
1847 for translations, though this is only a dependency for the maintainers. This
1848 database is translated at Transifex.")
1849 (license license:gpl2+)))
1850
1851 (define-public system-config-printer
1852 (package
1853 (name "system-config-printer")
1854 (version "1.5.12")
1855 (source
1856 (origin
1857 (method url-fetch)
1858 (uri (string-append
1859 "https://github.com/OpenPrinting/system-config-printer/releases/"
1860 "download/" version
1861 "/system-config-printer-" version ".tar.xz"))
1862 (sha256
1863 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1864 (build-system glib-or-gtk-build-system)
1865 (arguments
1866 `(#:imported-modules ((guix build python-build-system)
1867 ,@%glib-or-gtk-build-system-modules)
1868 #:phases
1869 (modify-phases %standard-phases
1870 (add-after 'unpack 'patch-Makefile.am
1871 (lambda _
1872 ;; The Makefile generates some scripts, so set a valid shebang
1873 (substitute* "Makefile.am"
1874 (("/bin/bash") (which "bash")))
1875 (delete-file "configure")
1876 #t))
1877 (add-after 'unpack 'patch-docbook-xml
1878 (lambda* (#:key inputs #:allow-other-keys)
1879 ;; Modify the man XML otherwise xmlto tries to access the network
1880 (substitute* "man/system-config-printer.xml"
1881 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1882 (string-append (assoc-ref inputs "docbook-xml")
1883 "/xml/dtd/docbook/")))
1884 #t))
1885 (add-after 'install 'wrap-for-python
1886 (@@ (guix build python-build-system) wrap))
1887 (add-after 'install 'wrap
1888 (lambda* (#:key outputs #:allow-other-keys)
1889 (let ((out (assoc-ref outputs "out"))
1890 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1891 (for-each
1892 (lambda (program)
1893 (wrap-program program
1894 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1895 (map (lambda (name)
1896 (string-append out "/bin/" name))
1897 '("system-config-printer"
1898 "system-config-printer-applet"
1899 "install-printerdriver"
1900 "scp-dbus-service"))))
1901 #t)))))
1902 (inputs
1903 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1904 ("gobject-introspection" ,gobject-introspection)
1905 ("python" ,python)
1906 ("cups" ,cups)
1907 ("python-dbus" ,python-dbus)
1908 ("python-pygobject" ,python-pygobject)
1909 ("python-pycups" ,python-pycups)
1910 ("python-requests" ,python-requests)
1911 ("python-pycairo" ,python-pycairo)
1912 ("libnotify" ,libnotify)
1913 ("packagekit" ,packagekit)))
1914 (native-inputs
1915 `(("pkg-config" ,pkg-config)
1916 ("desktop-file-utils" ,desktop-file-utils)
1917 ("glib" ,glib)
1918 ("autoconf" ,autoconf)
1919 ("automake" ,automake)
1920 ("intltool" ,intltool)
1921 ("xmlto" ,xmlto)
1922 ("docbook-xml" ,docbook-xml-4.1.2)
1923 ("docbook-xsl" ,docbook-xsl)
1924 ("libxml2" ,libxml2)))
1925 (home-page "https://github.com/zdohnal/system-config-printer")
1926 (synopsis "CUPS administration tool")
1927 (description
1928 "system-config-printer is a CUPS administration tool. It's written in
1929 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1930 configuring CUPS.")
1931 (license license:gpl2+)))
1932
1933 (define-public hicolor-icon-theme
1934 (package
1935 (name "hicolor-icon-theme")
1936 (version "0.17")
1937 (source
1938 (origin
1939 (method url-fetch)
1940 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1941 "hicolor-icon-theme-" version ".tar.xz"))
1942 (sha256
1943 (base32
1944 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1945 (build-system gnu-build-system)
1946 (arguments
1947 `(#:tests? #f)) ; no check target
1948 (home-page "https://icon-theme.freedesktop.org/releases/")
1949 (synopsis
1950 "Freedesktop icon theme")
1951 (description
1952 "Freedesktop icon theme.")
1953 (license license:gpl2)))
1954
1955 (define-public libnotify
1956 (package
1957 (name "libnotify")
1958 (version "0.7.7")
1959 (source
1960 (origin
1961 (method url-fetch)
1962 (uri (string-append "mirror://gnome/sources/" name "/"
1963 (version-major+minor version) "/"
1964 name "-" version ".tar.xz"))
1965 (sha256
1966 (base32
1967 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1968 (build-system gnu-build-system)
1969 (arguments
1970 `(#:configure-flags '("--disable-static")))
1971 (propagated-inputs
1972 `(;; In Requires of libnotify.pc.
1973 ("gdk-pixbuf" ,gdk-pixbuf)
1974 ("glib" ,glib)))
1975 (inputs
1976 `(("gtk+" ,gtk+)
1977 ("libpng" ,libpng)))
1978 (native-inputs
1979 `(("pkg-config" ,pkg-config)
1980 ("glib" ,glib "bin")
1981 ("gobject-introspection" ,gobject-introspection)))
1982 (home-page "https://developer-next.gnome.org/libnotify/")
1983 (synopsis
1984 "GNOME desktop notification library")
1985 (description
1986 "Libnotify is a library that sends desktop notifications to a
1987 notification daemon, as defined in the Desktop Notifications spec. These
1988 notifications can be used to inform the user about an event or display
1989 some form of information without getting in the user's way.")
1990 (license license:lgpl2.1+)))
1991
1992 (define-public libpeas
1993 (package
1994 (name "libpeas")
1995 (version "1.24.1")
1996 (source
1997 (origin
1998 (method url-fetch)
1999 (uri (string-append "mirror://gnome/sources/" name "/"
2000 (version-major+minor version) "/"
2001 name "-" version ".tar.xz"))
2002 (sha256
2003 (base32
2004 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2005 (build-system meson-build-system)
2006 (arguments
2007 '(#:phases
2008 (modify-phases %standard-phases
2009 (add-before 'check 'start-xserver
2010 (lambda* (#:key inputs #:allow-other-keys)
2011 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2012 (disp ":1"))
2013 (setenv "DISPLAY" disp)
2014 ;; Tests require a running X server.
2015 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2016 #t))))))
2017 (inputs
2018 `(("gtk+" ,gtk+)
2019 ("glade" ,glade3)
2020 ("python" ,python)
2021 ("python-pygobject" ,python-pygobject)))
2022 (native-inputs
2023 `(("pkg-config" ,pkg-config)
2024 ("gettext" ,gettext-minimal)
2025 ("glib:bin" ,glib "bin")
2026 ("gobject-introspection" ,gobject-introspection)
2027 ("xorg-server" ,xorg-server-for-tests)))
2028 (propagated-inputs
2029 ;; The .pc file "Requires" gobject-introspection.
2030 `(("gobject-introspection" ,gobject-introspection)))
2031 (home-page "https://wiki.gnome.org/Libpeas")
2032 (synopsis "GObject plugin system")
2033 (description
2034 "Libpeas is a gobject-based plugin engine, targeted at giving every
2035 application the chance to assume its own extensibility. It also has a set of
2036 features including, but not limited to: multiple extension points; on-demand
2037 (lazy) programming language support for C, Python and JS; simplicity of the
2038 API.")
2039 (license license:lgpl2.0+)))
2040
2041 (define-public gtkglext
2042 (package
2043 (name "gtkglext")
2044 (version "1.2.0")
2045 (source (origin
2046 (method url-fetch)
2047 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2048 version "/gtkglext-" version ".tar.gz"))
2049 (sha256
2050 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2051 (patches (search-patches
2052 "gtkglext-disable-disable-deprecated.patch"))))
2053 (build-system gnu-build-system)
2054 (arguments
2055 `(#:phases
2056 (modify-phases %standard-phases
2057 ;; Fix a collision between a local variable and a definition from
2058 ;; glibc's string.h.
2059 (add-after 'unpack 'fix-collision
2060 (lambda _
2061 (substitute* "gdk/gdkglshapes.c"
2062 ((" index") " triangle_index"))
2063 #t)))))
2064 (inputs `(("gtk+" ,gtk+-2)
2065 ("mesa" ,mesa)
2066 ("glu" ,glu)
2067 ("libx11" ,libx11)
2068 ("libxt" ,libxt)))
2069 (native-inputs `(("pkg-config" ,pkg-config)
2070 ("glib" ,glib "bin")))
2071 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2072 (home-page "https://projects.gnome.org/gtkglext")
2073 (synopsis "OpenGL extension to GTK+")
2074 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2075 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2076 API add-ons to make GTK+ widgets OpenGL-capable.")
2077 (license license:lgpl2.1+)))
2078
2079 (define-public glade3
2080 (package
2081 (name "glade")
2082 (version "3.22.1")
2083 (source (origin
2084 (method url-fetch)
2085 (uri (string-append "mirror://gnome/sources/" name "/"
2086 (version-major+minor version) "/"
2087 name "-" version ".tar.xz"))
2088 (sha256
2089 (base32
2090 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2091 (build-system glib-or-gtk-build-system)
2092 (arguments
2093 `(#:tests? #f ; needs X, GL, and software rendering
2094 #:phases
2095 (modify-phases %standard-phases
2096 (add-before 'configure 'fix-docbook
2097 (lambda* (#:key inputs #:allow-other-keys)
2098 (substitute* "man/Makefile.in"
2099 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2100 (string-append (assoc-ref inputs "docbook-xsl")
2101 "/xml/xsl/docbook-xsl-"
2102 ,(package-version docbook-xsl)
2103 "/manpages/docbook.xsl")))
2104 #t)))))
2105 (inputs
2106 `(("gtk+" ,gtk+)
2107 ("libxml2" ,libxml2)))
2108 (native-inputs
2109 `(("intltool" ,intltool)
2110 ("itstool" ,itstool)
2111 ("libxslt" ,libxslt) ;for xsltproc
2112 ("docbook-xml" ,docbook-xml-4.2)
2113 ("docbook-xsl" ,docbook-xsl)
2114 ("python" ,python-2)
2115 ("pkg-config" ,pkg-config)))
2116 (home-page "https://glade.gnome.org")
2117 (synopsis "GTK+ rapid application development tool")
2118 (description "Glade is a rapid application development (RAD) tool to
2119 enable quick & easy development of user interfaces for the GTK+ toolkit and
2120 the GNOME desktop environment.")
2121 (license license:lgpl2.0+)))
2122
2123 (define-public libcroco
2124 (package
2125 (name "libcroco")
2126 (version "0.6.13")
2127 (source (origin
2128 (method url-fetch)
2129 (uri (string-append "mirror://gnome/sources/" name "/"
2130 (version-major+minor version) "/"
2131 name "-" version ".tar.xz"))
2132 (sha256
2133 (base32
2134 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2135 (build-system gnu-build-system)
2136 (native-inputs
2137 `(("pkg-config" ,pkg-config)))
2138 (inputs
2139 `(("glib" ,glib)
2140 ("libxml2" ,libxml2)
2141 ("zlib" ,zlib)))
2142 (home-page "https://github.com/GNOME/libcroco")
2143 (synopsis "CSS2 parsing and manipulation library")
2144 (description
2145 "Libcroco is a standalone CSS2 parsing and manipulation library.
2146 The parser provides a low level event driven SAC-like API and a CSS object
2147 model like API. Libcroco provides a CSS2 selection engine and an experimental
2148 XML/CSS rendering engine.")
2149
2150 ;; LGPLv2.1-only.
2151 (license license:lgpl2.1)))
2152
2153 (define-public libgsf
2154 (package
2155 (name "libgsf")
2156 (version "1.14.47")
2157 (source (origin
2158 (method url-fetch)
2159 (uri (string-append "mirror://gnome/sources/" name "/"
2160 (version-major+minor version) "/"
2161 name "-" version ".tar.xz"))
2162 (sha256
2163 (base32
2164 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2165 (build-system gnu-build-system)
2166 (arguments
2167 '(#:configure-flags '("--disable-static")))
2168 (native-inputs
2169 `(("pkg-config" ,pkg-config)
2170 ("gettext" ,gettext-minimal)
2171
2172 ;; For tests.
2173 ("perl" ,perl)
2174 ("perl-xml-parser" ,perl-xml-parser)))
2175 (inputs
2176 `(("zlib" ,zlib)
2177 ("bzip2" ,bzip2)))
2178 (propagated-inputs
2179 `(("gdk-pixbuf" ,gdk-pixbuf)
2180 ("glib" ,glib)
2181 ("libxml2" ,libxml2)))
2182 (home-page "https://www.gnome.org/projects/libgsf")
2183 (synopsis "GNOME's Structured File Library")
2184 (description
2185 "Libgsf aims to provide an efficient extensible I/O abstraction for
2186 dealing with different structured file formats.")
2187
2188 ;; LGPLv2.1-only.
2189 (license license:lgpl2.1)))
2190
2191 (define-public librsvg
2192 (package
2193 (name "librsvg")
2194 (version "2.40.21")
2195 (source (origin
2196 (method url-fetch)
2197 (uri (string-append "mirror://gnome/sources/" name "/"
2198 (version-major+minor version) "/"
2199 name "-" version ".tar.xz"))
2200 (sha256
2201 (base32
2202 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2203 (build-system gnu-build-system)
2204 (arguments
2205 `(#:configure-flags
2206 (list "--disable-static"
2207 "--enable-vala") ; needed for e.g. gnome-mines
2208 #:phases
2209 (modify-phases %standard-phases
2210 (add-before 'configure 'pre-configure
2211 (lambda* (#:key inputs #:allow-other-keys)
2212 (substitute* "gdk-pixbuf-loader/Makefile.in"
2213 ;; By default the gdk-pixbuf loader is installed under
2214 ;; gdk-pixbuf's prefix. Work around that.
2215 (("gdk_pixbuf_moduledir = .*$")
2216 (string-append "gdk_pixbuf_moduledir = "
2217 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2218 "loaders\n"))
2219 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2220 (("gdk_pixbuf_cache_file = .*$")
2221 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2222 #t))
2223 (add-before 'check 'remove-failing-tests
2224 (lambda _
2225 (with-directory-excursion "tests/fixtures/reftests"
2226 (for-each delete-file
2227 '(;; This test fails on i686:
2228 "svg1.1/masking-path-04-b.svg"
2229 ;; This test fails on armhf:
2230 "svg1.1/masking-mask-01-b.svg"
2231 ;; This test fails on aarch64:
2232 "bugs/777834-empty-text-children.svg")))
2233 #t)))))
2234 (native-inputs
2235 `(("pkg-config" ,pkg-config)
2236 ("vala" ,vala)
2237 ("glib" ,glib "bin") ; glib-mkenums, etc.
2238 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2239 (inputs
2240 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2241 ;; this ancient version of librsvg.
2242 ("pango" ,pango-1.42)
2243 ("libcroco" ,libcroco)
2244 ("bzip2" ,bzip2)
2245 ("libgsf" ,libgsf)
2246 ("libxml2" ,libxml2)))
2247 (propagated-inputs
2248 ;; librsvg-2.0.pc refers to all of that.
2249 `(("cairo" ,cairo)
2250 ("gdk-pixbuf" ,gdk-pixbuf)
2251 ("glib" ,glib)))
2252 (home-page "https://wiki.gnome.org/LibRsvg")
2253 (synopsis "Render SVG files using Cairo")
2254 (description
2255 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2256 library.")
2257 (license license:lgpl2.0+)))
2258
2259 (define-public librsvg-next
2260 (package
2261 (inherit librsvg)
2262 (name "librsvg")
2263 (version "2.46.4")
2264 (source (origin
2265 (method url-fetch)
2266 (uri (string-append "mirror://gnome/sources/librsvg/"
2267 (version-major+minor version) "/"
2268 "librsvg-" version ".tar.xz"))
2269 (sha256
2270 (base32
2271 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2272 (modules '((guix build utils)))
2273 (snippet
2274 '(begin (delete-file-recursively "vendor")
2275 ;; Don't demand an exact version for string_cache
2276 (substitute* "rsvg_internals/Cargo.toml"
2277 (("\"=") "\""))
2278 #t))))
2279 (build-system cargo-build-system)
2280 (arguments
2281 `(#:modules ((guix build cargo-build-system)
2282 (guix build utils)
2283 ((guix build gnu-build-system) #:prefix gnu:))
2284 #:vendor-dir "vendor"
2285 #:cargo-inputs
2286 (("rust-bitflags" ,rust-bitflags-1)
2287 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2288 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2289 ("rust-cssparser" ,rust-cssparser-0.25)
2290 ("rust-data-url" ,rust-data-url-0.1)
2291 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2292 ("rust-encoding" ,rust-encoding-0.2)
2293 ("rust-float-cmp" ,rust-float-cmp-0.5)
2294 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2295 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2296 ("rust-gio" ,rust-gio-0.7)
2297 ("rust-gio-sys" ,rust-gio-sys-0.9)
2298 ("rust-glib" ,rust-glib-0.8)
2299 ("rust-glib-sys" ,rust-glib-sys-0.9)
2300 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2301 ("rust-itertools" ,rust-itertools-0.8)
2302 ("rust-language-tags" ,rust-language-tags-0.2)
2303 ("rust-lazy-static" ,rust-lazy-static-1)
2304 ("rust-libc" ,rust-libc-0.2)
2305 ("rust-locale-config" ,rust-locale-config-0.3)
2306 ("rust-markup5ever" ,rust-markup5ever-0.9)
2307 ("rust-nalgebra" ,rust-nalgebra-0.18)
2308 ("rust-num-traits" ,rust-num-traits-0.2)
2309 ("rust-pkg-config" ,rust-pkg-config-0.3)
2310 ("rust-pango" ,rust-pango-0.7)
2311 ("rust-pango-sys" ,rust-pango-sys-0.9)
2312 ("rust-pangocairo" ,rust-pangocairo-0.8)
2313 ("rust-phf" ,rust-phf-0.7)
2314 ("rust-rayon" ,rust-rayon-1.3)
2315 ("rust-rctree" ,rust-rctree-0.3)
2316 ("rust-string-cache" ,rust-string-cache-0.7)
2317 ("rust-regex" ,rust-regex-1.3)
2318 ("rust-url" ,rust-url-2.1)
2319 ("rust-xml-rs" ,rust-xml-rs-0.8))
2320 #:cargo-development-inputs
2321 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2322 ("rust-criterion" ,rust-criterion-0.2))
2323 #:phases
2324 (modify-phases %standard-phases
2325 (add-after 'unpack 'prepare-for-build
2326 (lambda _
2327 ;; In lieu of #:make-flags
2328 (setenv "CC" "gcc")
2329 ;; Something about the build environment resists building
2330 ;; successfully with the '--locked' flag.
2331 (substitute* '("Makefile.am"
2332 "Makefile.in")
2333 (("--locked") ""))
2334 #t))
2335 (add-before 'configure 'pre-configure
2336 (lambda _
2337 (substitute* "gdk-pixbuf-loader/Makefile.in"
2338 ;; By default the gdk-pixbuf loader is installed under
2339 ;; gdk-pixbuf's prefix. Work around that.
2340 (("gdk_pixbuf_moduledir = .*$")
2341 (string-append "gdk_pixbuf_moduledir = "
2342 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2343 "loaders\n"))
2344 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2345 (("gdk_pixbuf_cache_file = .*$")
2346 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2347 #t))
2348 (add-after 'configure 'gnu-configure
2349 (assoc-ref gnu:%standard-phases 'configure))
2350 ;(lambda* (#:key outputs #:allow-other-keys)
2351 ; ((assoc-ref gnu:%standard-phases 'configure)
2352 ; #:outputs outputs
2353 ; #:configure-flags ("--disable-static"
2354 ; "--enable-vala"))))
2355 (add-after 'configure 'dont-vendor-self
2356 (lambda* (#:key vendor-dir #:allow-other-keys)
2357 ;; Don't keep the whole tarball in the vendor directory
2358 (delete-file-recursively
2359 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2360 #t))
2361 (replace 'build
2362 (assoc-ref gnu:%standard-phases 'build))
2363 (replace 'check
2364 (lambda* args
2365 ((assoc-ref gnu:%standard-phases 'check)
2366 #:test-target "check")))
2367 (replace 'install
2368 (assoc-ref gnu:%standard-phases 'install))
2369 (add-before 'check 'remove-failing-tests
2370 (lambda _
2371 (with-directory-excursion "tests/fixtures/reftests"
2372 (for-each delete-file
2373 '(;; The images produced by these tests differ slightly
2374 ;; from their reference counterparts due to differences
2375 ;; in the build environment (missing fonts, etc). See
2376 ;; <tests/README.md> for details.
2377 ;; These fail on x86_64.
2378 "svg1.1/coords-viewattr-02-b.svg"
2379 "svg1.1/filters-composite-04-f.svg"
2380 "svg1.1/filters-image-01-b.svg"
2381 "svg1.1/filters-conv-02-f.svg"
2382 "svg1.1/filters-conv-04-f.svg"
2383 ;; This test fails on i686:
2384 "svg1.1/masking-path-04-b.svg"
2385 ;; This test fails on armhf:
2386 "svg1.1/masking-mask-01-b.svg"
2387 ;; This test fails on aarch64:
2388 "bugs/777834-empty-text-children.svg")))
2389 #t)))))
2390 (license license:lgpl2.1+)))
2391
2392 (define-public libidl
2393 (package
2394 (name "libidl")
2395 (version "0.8.14")
2396 (source (origin
2397 (method url-fetch)
2398 (uri (string-append "mirror://gnome/sources/libIDL/"
2399 (version-major+minor version) "/"
2400 "libIDL-" version ".tar.bz2"))
2401 (sha256
2402 (base32
2403 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2404 (build-system gnu-build-system)
2405 (inputs `(("glib" ,glib)))
2406 (native-inputs
2407 `(("pkg-config" ,pkg-config)
2408 ("flex" ,flex)
2409 ("bison" ,bison)))
2410 (home-page "http://freecode.com/projects/libidl")
2411 (synopsis "Create trees of CORBA Interface Definition Language files")
2412 (description "Libidl is a library for creating trees of CORBA Interface
2413 Definition Language (idl) files, which is a specification for defining
2414 portable interfaces. libidl was initially written for orbit (the orb from the
2415 GNOME project, and the primary means of libidl distribution). However, the
2416 functionality was designed to be as reusable and portable as possible.")
2417 (properties `((upstream-name . "libIDL")))
2418 (license license:lgpl2.0+)))
2419
2420
2421 (define-public orbit2
2422 (package
2423 (name "orbit2")
2424 (version "2.14.19")
2425 (source (origin
2426 (method url-fetch)
2427 (uri (let ((upstream-name "ORBit2"))
2428 (string-append "mirror://gnome/sources/" upstream-name "/"
2429 (version-major+minor version) "/"
2430 upstream-name "-" version ".tar.bz2")))
2431 (sha256
2432 (base32
2433 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2434 (build-system gnu-build-system)
2435 (arguments
2436 `(;; The "timeout-server" test hangs when run in parallel.
2437 #:parallel-tests? #f
2438 #:configure-flags
2439 '(;; We don't need static libraries, plus they don't build reproducibly
2440 ;; (non-deterministic ordering of .o files in the archive.)
2441 "--disable-static"
2442
2443 ;; The programmer kindly gives us a hook to turn off deprecation
2444 ;; warnings ...
2445 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2446 ;; ... which they then completly ignore !!
2447 #:phases
2448 (modify-phases %standard-phases
2449 (add-before 'configure 'ignore-deprecations
2450 (lambda _
2451 (substitute* "linc2/src/Makefile.in"
2452 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2453 #t)))))
2454 (inputs `(("glib" ,glib)
2455 ("libidl" ,libidl)))
2456 (native-inputs
2457 `(("pkg-config" ,pkg-config)))
2458 (home-page "https://projects.gnome.org/orbit2/")
2459 (synopsis "CORBA 2.4-compliant Object Request Broker")
2460 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2461 featuring mature C, C++ and Python bindings.")
2462 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2463 ;; a version. SOME of the code files have licence notices for GPLv2+.
2464 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2465 (license license:gpl2+)
2466 (properties `((upstream-name . "ORBit2")))))
2467
2468
2469 (define-public libbonobo
2470 (package
2471 (name "libbonobo")
2472 (version "2.32.1")
2473 (source (origin
2474 (method url-fetch)
2475 (uri (string-append "mirror://gnome/sources/" name "/"
2476 (version-major+minor version)
2477 "/" name "-" version ".tar.bz2"))
2478 (sha256
2479 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2480 (patches (search-patches
2481 "libbonobo-activation-test-race.patch"))))
2482 (build-system gnu-build-system)
2483 (arguments
2484 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2485 `(#:configure-flags
2486 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2487 ;; ... which they then completly ignore !!
2488 #:phases
2489 (modify-phases %standard-phases
2490 (add-before 'configure 'ignore-deprecations
2491 (lambda _
2492 (substitute* "activation-server/Makefile.in"
2493 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2494 #t)))
2495
2496 ;; There's apparently a race condition between the server stub
2497 ;; generation and linking of the example under 'samples/echo' that can
2498 ;; lead do undefined references when building in parallel, as reported
2499 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2500 ;; Thus, disable parallel builds.
2501 #:parallel-build? #f))
2502 (inputs `(("popt" ,popt)
2503 ("libxml2" ,libxml2)))
2504 ;; The following are Required by the .pc file
2505 (propagated-inputs
2506 `(("glib" ,glib)
2507 ("orbit2" ,orbit2)))
2508 (native-inputs
2509 `(("intltool" ,intltool)
2510 ("pkg-config" ,pkg-config)
2511 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2512 ("flex" ,flex)
2513 ("bison" ,bison)))
2514 (home-page "https://developer.gnome.org/libbonobo/")
2515 (synopsis "Framework for creating reusable components for use in GNOME applications")
2516 (description "Bonobo is a framework for creating reusable components for
2517 use in GNOME applications, built on top of CORBA.")
2518 ;; Licence not explicitly stated. Source files contain no licence notices.
2519 ;; Tarball contains text of both GPLv2 and LGPLv2
2520 ;; GPLv2 covers both conditions
2521 (license license:gpl2+)))
2522
2523
2524 (define-public gconf
2525 (package
2526 (name "gconf")
2527 (version "3.2.6")
2528 (source (origin
2529 (method url-fetch)
2530 (uri
2531 (let ((upstream-name "GConf"))
2532 (string-append "mirror://gnome/sources/" upstream-name "/"
2533 (version-major+minor version) "/"
2534 upstream-name "-" version ".tar.xz")))
2535 (sha256
2536 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2537 (build-system gnu-build-system)
2538 (inputs `(("dbus-glib" ,dbus-glib)
2539 ("libxml2" ,libxml2)))
2540 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2541 ("orbit2" ,orbit2)))
2542 (native-inputs
2543 `(("intltool" ,intltool)
2544 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2545 ("pkg-config" ,pkg-config)))
2546 (home-page "https://projects.gnome.org/gconf/")
2547 (synopsis "Store application preferences")
2548 (description "Gconf is a system for storing application preferences. It
2549 is intended for user preferences; not arbitrary data storage.")
2550 (license license:lgpl2.0+)
2551 (properties '((upstream-name . "GConf")))))
2552
2553
2554 (define-public gnome-mime-data
2555 (package
2556 (name "gnome-mime-data")
2557 (version "2.18.0")
2558 (source (origin
2559 (method url-fetch)
2560 (uri (string-append "mirror://gnome/sources/" name "/"
2561 (version-major+minor version) "/"
2562 name "-" version ".tar.bz2"))
2563 (sha256
2564 (base32
2565 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2566 (build-system gnu-build-system)
2567 (native-inputs
2568 `(("perl" ,perl)
2569 ("intltool" ,intltool)))
2570 (arguments
2571 '(#:phases (modify-phases %standard-phases
2572 (add-after 'configure 'use-our-intltool
2573 (lambda _
2574 ;; Do not use the bundled intltool commands, which lack
2575 ;; the "dotless @INC" fixes of our 'intltool' package.
2576 (substitute* (find-files "." "^Makefile$")
2577 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2578 (string-append "INTLTOOL_" tool " = intltool-"
2579 (string-downcase tool) "\n")))
2580 #t)))))
2581 (home-page "https://www.gnome.org")
2582 (synopsis "Base MIME and Application database for GNOME")
2583 (description "GNOME Mime Data is a module which contains the base MIME
2584 and Application database for GNOME. The data stored by this module is
2585 designed to be accessed through the MIME functions in GnomeVFS.")
2586 (license license:gpl2+)))
2587
2588
2589 (define-public gnome-vfs
2590 (package
2591 (name "gnome-vfs")
2592 (version "2.24.4")
2593 (source (origin
2594 (method url-fetch)
2595 (uri (string-append "mirror://gnome/sources/" name "/"
2596 (version-major+minor version) "/"
2597 name "-" version ".tar.bz2"))
2598 (sha256
2599 (base32
2600 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2601 (build-system gnu-build-system)
2602 (arguments
2603 `(#:phases
2604 (modify-phases %standard-phases
2605 (add-before 'configure 'ignore-deprecations
2606 (lambda _
2607 (substitute* '("libgnomevfs/Makefile.in"
2608 "daemon/Makefile.in")
2609 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2610 #t))
2611 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2612 (lambda _
2613 (substitute* "test/test-async-cancel.c"
2614 (("EXIT_FAILURE") "77"))
2615 #t)))))
2616 (inputs `(("libxml2" ,libxml2)
2617 ("dbus-glib" ,dbus-glib)
2618 ("gconf" ,gconf)
2619 ("gnome-mime-data" ,gnome-mime-data)
2620 ("zlib" ,zlib)))
2621 (native-inputs
2622 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2623 ("intltool" ,intltool)
2624 ("pkg-config" ,pkg-config)))
2625 (home-page "https://developer.gnome.org/gnome-vfs/")
2626 (synopsis "Access files and folders in GNOME applications")
2627 (description
2628 "GnomeVFS is the core library used to access files and folders in GNOME
2629 applications. It provides a file system abstraction which allows applications
2630 to access local and remote files with a single consistent API.")
2631 (license license:lgpl2.0+)))
2632
2633
2634
2635 (define-public libgnome
2636 (package
2637 (name "libgnome")
2638 (version "2.32.1")
2639 (source (origin
2640 (method url-fetch)
2641 (uri (string-append "mirror://gnome/sources/" name "/"
2642 (version-major+minor version) "/"
2643 name "-" version ".tar.bz2"))
2644 (sha256
2645 (base32
2646 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2647 (patches (search-patches "libgnome-encoding.patch"))))
2648 (build-system gnu-build-system)
2649 (arguments
2650 `(#:phases
2651 (modify-phases %standard-phases
2652 (add-before 'configure 'enable-deprecated
2653 (lambda _
2654 (substitute* "libgnome/Makefile.in"
2655 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2656 #t)))))
2657 (inputs `(("libxml2" ,libxml2)))
2658 (native-inputs
2659 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2660 ("intltool" ,intltool)
2661 ("pkg-config" ,pkg-config)))
2662 ;; The following are listed as Required in the .pc file
2663 ;; (except for libcanberra -- which seems to be oversight on the part
2664 ;; of the upstream developers -- anything that links against libgnome,
2665 ;; must also link against libcanberra
2666 (propagated-inputs
2667 `(("libcanberra" ,libcanberra)
2668 ("libbonobo" ,libbonobo)
2669 ("gconf" ,gconf)
2670 ("gnome-vfs" ,gnome-vfs)
2671 ("popt" ,popt))) ;gnome-program.h includes popt.h
2672 (home-page "https://developer.gnome.org/libgnome/")
2673 (synopsis "Useful routines for building applications")
2674 (description "The libgnome library provides a number of useful routines
2675 for building modern applications, including session management, activation of
2676 files and URIs, and displaying help.")
2677 (license license:lgpl2.0+)))
2678
2679
2680 (define-public libart-lgpl
2681 (package
2682 (name "libart-lgpl")
2683 (version "2.3.21")
2684 (source (origin
2685 (method url-fetch)
2686 (uri (let ((upstream-name "libart_lgpl"))
2687 (string-append "mirror://gnome/sources/" upstream-name "/"
2688 (version-major+minor version) "/"
2689 upstream-name "-" version ".tar.bz2")))
2690 (sha256
2691 (base32
2692 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2693 (build-system gnu-build-system)
2694 (native-inputs
2695 `(("pkg-config" ,pkg-config)))
2696 (home-page "https://people.gnome.org/~mathieu/libart")
2697 (synopsis "2D drawing library")
2698 (description "Libart is a 2D drawing library intended as a
2699 high-quality vector-based 2D library with antialiasing and alpha composition.")
2700 (license license:lgpl2.0+)))
2701
2702
2703
2704 (define-public libgnomecanvas
2705 (package
2706 (name "libgnomecanvas")
2707 (version "2.30.3")
2708 (source (origin
2709 (method url-fetch)
2710 (uri (string-append "mirror://gnome/sources/" name "/"
2711 (version-major+minor version) "/"
2712 name "-" version ".tar.gz"))
2713 (sha256
2714 (base32
2715 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2716 (build-system gnu-build-system)
2717 ;; Mentioned as Required in the .pc file
2718 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2719 ("gtk+" ,gtk+-2)))
2720 (native-inputs
2721 `(("intltool" ,intltool)
2722 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2723 ("pkg-config" ,pkg-config)))
2724 (home-page "https://developer.gnome.org/libgnomecanvas/")
2725 (synopsis "Flexible widget for creating interactive structured graphics")
2726 (description "The GnomeCanvas widget provides a flexible widget for
2727 creating interactive structured graphics.")
2728 (license license:lgpl2.0+)))
2729
2730 (define-public libgnomecanvasmm
2731 (package
2732 (name "libgnomecanvasmm")
2733 (version "2.26.0")
2734 (source (origin
2735 (method url-fetch)
2736 (uri (string-append "mirror://gnome/sources/" name "/"
2737 (version-major+minor version) "/"
2738 name "-" version ".tar.bz2"))
2739 (sha256
2740 (base32
2741 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2742 (build-system gnu-build-system)
2743 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2744 (native-inputs
2745 `(("gtkmm-2" ,gtkmm-2)
2746 ("pkg-config" ,pkg-config)))
2747 (home-page "https://gtkmm.org")
2748 (synopsis "C++ bindings to the GNOME Canvas library")
2749 (description "C++ bindings to the GNOME Canvas library.")
2750 (license license:lgpl2.0+)))
2751
2752 (define-public libgnomeui
2753 (package
2754 (name "libgnomeui")
2755 (version "2.24.5")
2756 (source (origin
2757 (method url-fetch)
2758 (uri (string-append "mirror://gnome/sources/" name "/"
2759 (version-major+minor version) "/"
2760 name "-" version ".tar.bz2"))
2761 (patches (search-patches "libgnomeui-utf8.patch"))
2762 (sha256
2763 (base32
2764 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2765 (build-system gnu-build-system)
2766 ;; Mentioned as Required in the .pc file
2767 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2768 ("libgnome" ,libgnome)
2769 ("libgnomecanvas" ,libgnomecanvas)
2770 ("libgnome-keyring" ,libgnome-keyring)))
2771 (inputs `(("libjpeg" ,libjpeg-turbo)
2772 ("popt" ,popt)
2773 ("libbonobo" ,libbonobo)
2774 ("libxml2" ,libxml2)
2775 ("libglade" ,libglade)))
2776 (native-inputs
2777 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2778 ("intltool" ,intltool)
2779 ("pkg-config" ,pkg-config)))
2780 (home-page "https://developer.gnome.org/libgnomeui/")
2781 (synopsis "Additional widgets for applications")
2782 (description "The libgnomeui library provides additional widgets for
2783 applications. Many of the widgets from libgnomeui have already been
2784 ported to GTK+.")
2785 (license license:lgpl2.0+)))
2786
2787 (define-public libglade
2788 (package
2789 (name "libglade")
2790 (version "2.6.4")
2791 (source (origin
2792 (method url-fetch)
2793 (uri (string-append "mirror://gnome/sources/" name "/"
2794 (version-major+minor version) "/"
2795 name "-" version ".tar.bz2"))
2796 (sha256
2797 (base32
2798 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2799 (build-system gnu-build-system)
2800 (inputs
2801 `(("python" ,python))) ;; needed for the optional libglade-convert program
2802 (propagated-inputs
2803 `(("gtk+-2" ,gtk+-2)
2804 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2805 (native-inputs
2806 `(("pkg-config" ,pkg-config)))
2807 (home-page "https://developer.gnome.org/libglade")
2808 (synopsis "Load glade interfaces and access the glade built widgets")
2809 (description "Libglade is a library that provides interfaces for loading
2810 graphical interfaces described in glade files and for accessing the
2811 widgets built in the loading process.")
2812 (license license:gpl2+))) ; This is correct. GPL not LGPL
2813
2814 (define-public libgnomeprint
2815 ;; This library has been deprecated since 2006; see
2816 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2817 (package
2818 (name "libgnomeprint")
2819 (version "2.18.8")
2820 (source (origin
2821 (method url-fetch)
2822 (uri (string-append "mirror://gnome/sources/" name "/"
2823 (version-major+minor version) "/"
2824 name "-" version ".tar.bz2"))
2825 (sha256
2826 (base32
2827 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2828 (build-system gnu-build-system)
2829 (inputs
2830 `(("popt" ,popt)
2831 ("libart-lgpl" ,libart-lgpl)
2832 ("gtk+" ,gtk+-2)
2833 ("libxml2" ,libxml2)))
2834 (native-inputs
2835 `(("intltool" ,intltool)
2836 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2837 ("pkg-config" ,pkg-config)))
2838 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2839 (synopsis "Printing framework for GNOME")
2840 (description
2841 "GNOME-print was a printing framework for GNOME. It has been deprecated
2842 since ca. 2006, when GTK+ itself incorporated printing support.")
2843 (license license:lgpl2.0+)))
2844
2845
2846 (define-public libgnomeprintui
2847 ;; Deprecated; see libgnomeprint.
2848 (package
2849 (name "libgnomeprintui")
2850 (version "2.18.6")
2851 (source (origin
2852 (method url-fetch)
2853 (uri (string-append "mirror://gnome/sources/" name "/"
2854 (version-major+minor version) "/"
2855 name "-" version ".tar.bz2"))
2856 (sha256
2857 (base32
2858 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2859 (build-system gnu-build-system)
2860 ;; Mentioned as Required in the .pc file
2861 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2862 (inputs `(("gtk+" ,gtk+-2)
2863 ("glib" ,glib)
2864 ("gnome-icon-theme" ,gnome-icon-theme)
2865 ("libgnomecanvas" ,libgnomecanvas)
2866 ("libxml2" ,libxml2)))
2867 (native-inputs
2868 `(("intltool" ,intltool)
2869 ("pkg-config" ,pkg-config)))
2870 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2871 (synopsis "Printing framework for GNOME")
2872 (description (package-description libgnomeprint))
2873 (license license:lgpl2.0+)))
2874
2875 (define-public libbonoboui
2876 (package
2877 (name "libbonoboui")
2878 (version "2.24.5")
2879 (source (origin
2880 (method url-fetch)
2881 (uri (string-append "mirror://gnome/sources/" name "/"
2882 (version-major+minor version) "/"
2883 name "-" version ".tar.bz2"))
2884 (sha256
2885 (base32
2886 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2887 (build-system gnu-build-system)
2888 (arguments
2889 `(#:phases
2890 (modify-phases %standard-phases
2891 (add-before 'check 'start-xserver
2892 (lambda* (#:key inputs #:allow-other-keys)
2893 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2894 (disp ":1"))
2895
2896 (setenv "HOME" (getcwd))
2897 (setenv "DISPLAY" disp)
2898 ;; There must be a running X server and make check doesn't start one.
2899 ;; Therefore we must do it.
2900 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2901 ;; Mentioned as Required by the .pc file
2902 (propagated-inputs `(("libxml2" ,libxml2)))
2903 (inputs
2904 `(("popt" ,popt)
2905 ("pangox-compat" ,pangox-compat)
2906 ("libgnome" ,libgnome)
2907 ("libgnomecanvas" ,libgnomecanvas)
2908 ("libglade" ,libglade)))
2909 (native-inputs
2910 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2911 ("intltool" ,intltool)
2912 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2913 ("pkg-config" ,pkg-config)))
2914 (home-page "https://developer.gnome.org/libbonoboui/")
2915 (synopsis "Some user interface controls using Bonobo")
2916 (description "The Bonobo UI library provides a number of user interface
2917 controls using the Bonobo component framework.")
2918 (license license:lgpl2.0+)))
2919
2920 (define-public libwnck
2921 (package
2922 (name "libwnck")
2923 (version "3.32.0")
2924 (source (origin
2925 (method url-fetch)
2926 (uri (string-append "mirror://gnome/sources/" name "/"
2927 (version-major+minor version) "/"
2928 name "-" version ".tar.xz"))
2929 (sha256
2930 (base32
2931 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2932 (build-system meson-build-system)
2933 (native-inputs
2934 `(("pkg-config" ,pkg-config)
2935 ("glib" ,glib "bin") ; for glib-mkenums
2936 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2937 ("intltool" ,intltool)))
2938 (propagated-inputs
2939 `(("gtk+" ,gtk+)
2940 ("libxres" ,libxres)
2941 ("startup-notification" ,startup-notification)))
2942 (home-page "https://developer.gnome.org/libwnck/")
2943 (synopsis "Window Navigator Construction Kit")
2944 (description
2945 "Libwnck is the Window Navigator Construction Kit, a library for use in
2946 writing pagers, tasklists, and more generally applications that are dealing
2947 with window management. It tries hard to respect the Extended Window Manager
2948 Hints specification (EWMH).")
2949 (license license:lgpl2.0+)))
2950
2951 ;; stable version for gtk2, required by xfwm4.
2952 (define-public libwnck-2
2953 (package (inherit libwnck)
2954 (name "libwnck")
2955 (version "2.30.7")
2956 (source (origin
2957 (method url-fetch)
2958 (uri (string-append "mirror://gnome/sources/" name "/"
2959 (version-major+minor version) "/"
2960 name "-" version ".tar.xz"))
2961 (sha256
2962 (base32
2963 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2964 (build-system gnu-build-system)
2965 (native-inputs
2966 `(("pkg-config" ,pkg-config)
2967 ("intltool" ,intltool)))
2968 (propagated-inputs
2969 `(("gtk+" ,gtk+-2)
2970 ("libxres" ,libxres)
2971 ("startup-notification" ,startup-notification)))))
2972
2973 (define-public goffice
2974 (package
2975 (name "goffice")
2976 (version "0.10.46")
2977 (source (origin
2978 (method url-fetch)
2979 (uri (string-append "mirror://gnome/sources/goffice/"
2980 (version-major+minor version) "/"
2981 "goffice-" version ".tar.xz"))
2982 (sha256
2983 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2984 (build-system gnu-build-system)
2985 (outputs '("out"
2986 "doc")) ; 4.0 MiB of gtk-doc
2987 (arguments
2988 '(#:configure-flags (list (string-append "--with-html-dir="
2989 (assoc-ref %outputs "doc")
2990 "/share/gtk-doc/html"))))
2991 (inputs
2992 `(("gtk+" ,gtk+)
2993 ("libgsf" ,libgsf)
2994 ("librsvg" ,librsvg)
2995 ("libxslt" ,libxslt)
2996 ("libxml2" ,libxml2)))
2997 (native-inputs
2998 `(("intltool" ,intltool)
2999 ("glib" ,glib "bin")
3000 ("pkg-config" ,pkg-config)))
3001 (home-page "https://developer.gnome.org/goffice/")
3002 (synopsis "Document-centric objects and utilities")
3003 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3004 (license
3005 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3006 ;; Note: NOT LGPL
3007 (list license:gpl2 license:gpl3))))
3008
3009 (define-public goffice-0.8
3010 (package (inherit goffice)
3011 (version "0.8.17")
3012 (source (origin
3013 (method url-fetch)
3014 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3015 (version-major+minor version) "/"
3016 (package-name goffice) "-" version ".tar.xz"))
3017 (sha256
3018 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3019 (arguments
3020 `(#:phases
3021 (modify-phases %standard-phases
3022 (add-after 'unpack 'fix-pcre-check
3023 (lambda _
3024 ;; Only glib.h can be included directly. See
3025 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3026 (substitute* "configure"
3027 (("glib/gregex\\.h") "glib.h")) #t)))
3028
3029 ,@(package-arguments goffice)))
3030 (propagated-inputs
3031 ;; libgoffice-0.8.pc mentions libgsf-1
3032 `(("libgsf" ,libgsf)))
3033 (inputs
3034 `(("gtk" ,gtk+-2)
3035 ,@(alist-delete "gtk" (package-inputs goffice))))))
3036
3037 (define-public gnumeric
3038 (package
3039 (name "gnumeric")
3040 (version "1.12.46")
3041 (source (origin
3042 (method url-fetch)
3043 (uri (string-append "mirror://gnome/sources/gnumeric/"
3044 (version-major+minor version) "/"
3045 "gnumeric-" version ".tar.xz"))
3046 (sha256
3047 (base32
3048 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3049 (build-system glib-or-gtk-build-system)
3050 (arguments
3051 `(;; The gnumeric developers don't worry much about failing tests.
3052 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3053 #:tests? #f
3054 #:phases
3055 (modify-phases %standard-phases
3056 (add-before
3057 'configure 'pre-conf
3058 (lambda* (#:key outputs #:allow-other-keys)
3059 ;; Make install tries to write into the directory of goffice
3060 ;; I am informed that this only affects the possibility to embed a
3061 ;; spreadsheet inside an Abiword document. So presumably when we
3062 ;; package Abiword we'll have to refer it to this directory.
3063 (substitute* "configure"
3064 (("^GOFFICE_PLUGINS_DIR=.*")
3065 (string-append "GOFFICE_PLUGINS_DIR="
3066 (assoc-ref outputs "out")
3067 "/goffice/plugins"))))))))
3068 (inputs
3069 `(("glib" ,glib)
3070 ("gtk+" ,gtk+)
3071 ("goffice" ,goffice)
3072 ("libgsf" ,libgsf)
3073 ("librsvg" ,librsvg)
3074 ("libxml2" ,libxml2)
3075 ("libxslt" ,libxslt)
3076 ("python" ,python-2)
3077 ("python2-pygobject" ,python2-pygobject)
3078 ("zlib" ,zlib)))
3079 (native-inputs
3080 `(("bison" ,bison)
3081 ("docbook-xml" ,docbook-xml)
3082 ("intltool" ,intltool)
3083 ("itstool" ,itstool)
3084 ("glib:bin" ,glib "bin")
3085 ("pkg-config" ,pkg-config)))
3086 (home-page "http://www.gnumeric.org")
3087 (synopsis "Spreadsheet application")
3088 (description
3089 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3090 interoperable with other spreadsheet applications. It has a vast array of
3091 features beyond typical spreadsheet functionality, such as support for linear
3092 and non-linear solvers, statistical analysis, and telecommunication
3093 engineering.")
3094 (license
3095 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3096 (list license:gpl2 license:gpl3))))
3097
3098 (define-public gnome-themes-standard
3099 (package
3100 (name "gnome-themes-standard")
3101 (version "3.22.3")
3102 (source
3103 (origin
3104 (method url-fetch)
3105 (uri (string-append "mirror://gnome/sources/" name "/"
3106 (version-major+minor version) "/" name "-"
3107 version ".tar.xz"))
3108 (sha256
3109 (base32
3110 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3111 (build-system gnu-build-system)
3112 (arguments
3113 '(#:configure-flags
3114 ;; Don't create 'icon-theme.cache'.
3115 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3116 (true (string-append coreutils "/bin/true")))
3117 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3118 (inputs
3119 `(("gtk+" ,gtk+)
3120 ("gtk+-2" ,gtk+-2)
3121 ("librsvg" ,librsvg)
3122 ("libxml2" ,libxml2)
3123 ("glib" ,glib)))
3124 (native-inputs
3125 `(("intltool" ,intltool)
3126 ("glib:bin" ,glib "bin")
3127 ("pkg-config" ,pkg-config)))
3128 (home-page "https://launchpad.net/gnome-themes-standard")
3129 (synopsis "Default GNOME 3 themes")
3130 (description
3131 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3132 (license license:lgpl2.1+)))
3133
3134 (define-public seahorse
3135 (package
3136 (name "seahorse")
3137 (version "3.34")
3138 (source
3139 (origin
3140 (method url-fetch)
3141 (uri (string-append "mirror://gnome/sources/" name "/"
3142 (version-major+minor version) "/" name "-"
3143 version ".tar.xz"))
3144 (sha256
3145 (base32
3146 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3147 (build-system meson-build-system)
3148 (arguments
3149 '(#:glib-or-gtk? #t
3150 #:phases
3151 (modify-phases %standard-phases
3152 (add-after 'unpack 'skip-gtk-update-icon-cache
3153 ;; Don't create 'icon-theme.cache'.
3154 (lambda _
3155 (substitute* "build-aux/meson_post_install.py"
3156 (("gtk-update-icon-cache") "true"))
3157 #t)))))
3158 (inputs
3159 `(("gtk+" ,gtk+)
3160 ("gcr" ,gcr)
3161 ("gnupg" ,gnupg)
3162 ("gpgme" ,gpgme)
3163 ("openldap" ,openldap)
3164 ("openssh" ,openssh)
3165 ("avahi" ,avahi)
3166 ("libpwquality" ,libpwquality)
3167 ("libsecret" ,libsecret)
3168 ("libsoup" ,libsoup)))
3169 (native-inputs
3170 `(("gettext" ,gettext-minimal)
3171 ("glib:bin" ,glib "bin")
3172 ("itstool" ,itstool)
3173 ("pkg-config" ,pkg-config)
3174 ("vala" ,vala)
3175 ("xmllint" ,libxml2)))
3176 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3177 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3178 (description
3179 "Seahorse is a GNOME application for managing encryption keys and
3180 passwords in the GNOME keyring.")
3181 (license license:gpl2+)))
3182
3183 (define-public vala
3184 (package
3185 (name "vala")
3186 (version "0.46.5")
3187 (source (origin
3188 (method url-fetch)
3189 (uri (string-append "mirror://gnome/sources/" name "/"
3190 (version-major+minor version) "/"
3191 name "-" version ".tar.xz"))
3192 (sha256
3193 (base32
3194 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3195 (build-system gnu-build-system)
3196 (arguments
3197 '(#:phases
3198 (modify-phases %standard-phases
3199 (add-before 'check 'pre-check
3200 (lambda _
3201 (setenv "CC" "gcc")
3202 (substitute* "valadoc/tests/testrunner.sh"
3203 (("export PKG_CONFIG_PATH=" m)
3204 (string-append m "$PKG_CONFIG_PATH:")))
3205 ;; For missing '/etc/machine-id'.
3206 (setenv "DBUS_FATAL_WARNINGS" "0")
3207 #t)))))
3208 (native-inputs
3209 `(("pkg-config" ,pkg-config)
3210 ("flex" ,flex)
3211 ("bison" ,bison)
3212 ("xsltproc" ,libxslt)
3213 ("dbus" ,dbus) ; for dbus tests
3214 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3215 (inputs
3216 `(("graphviz" ,graphviz)))
3217 (propagated-inputs
3218 `(("glib" ,glib))) ; required by libvala-0.40.pc
3219 (home-page "https://live.gnome.org/Vala/")
3220 (synopsis "Compiler for the GObject type system")
3221 (description
3222 "Vala is a programming language that aims to bring modern programming
3223 language features to GNOME developers without imposing any additional runtime
3224 requirements and without using a different ABI compared to applications and
3225 libraries written in C.")
3226 (license license:lgpl2.1+)))
3227
3228 (define-public vte
3229 (package
3230 (name "vte")
3231 (version "0.58.3")
3232 (source (origin
3233 (method url-fetch)
3234 (uri (string-append "mirror://gnome/sources/vte/"
3235 (version-major+minor version) "/"
3236 "vte-" version ".tar.xz"))
3237 (sha256
3238 (base32
3239 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3240 (build-system meson-build-system)
3241 (native-inputs
3242 `(("pkg-config" ,pkg-config)
3243 ("intltool" ,intltool)
3244 ("vala" ,vala)
3245 ("gobject-introspection" ,gobject-introspection)
3246 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3247 ("gperf" ,gperf)
3248 ("xmllint" ,libxml2)))
3249 (propagated-inputs
3250 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3251 ("gnutls" ,gnutls) ; ditto
3252 ("pcre2" ,pcre2))) ; ditto
3253 (home-page "https://www.gnome.org/")
3254 (synopsis "Virtual Terminal Emulator")
3255 (description
3256 "VTE is a library (libvte) implementing a terminal emulator widget for
3257 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3258 gnome-terminal, but can also be used to embed a console/terminal in games,
3259 editors, IDEs, etc.")
3260 (license license:lgpl2.1+)))
3261
3262 (define-public vte-ng
3263 (package
3264 (inherit vte)
3265 (name "vte-ng")
3266 (version "0.58.2.a")
3267 (home-page "https://github.com/thestinger/vte-ng")
3268 (source (origin
3269 (method git-fetch)
3270 (uri (git-reference (url home-page) (commit version)))
3271 (file-name (git-file-name name version))
3272 (sha256
3273 (base32
3274 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3275 (build-system meson-build-system)
3276 (native-inputs
3277 `(("gtk-doc" ,gtk-doc)
3278 ,@(package-native-inputs vte)))
3279 (arguments
3280 `(#:configure-flags '("-Ddocs=true")))
3281 (synopsis "Enhanced VTE terminal widget")
3282 (description
3283 "VTE is a library (libvte) implementing a terminal emulator widget for
3284 GTK+, this fork provides additional functions exposed for keyboard text
3285 selection and URL hints.")))
3286
3287 ;; provides vte 2.90, required for some terminal emulators
3288 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3289 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3290 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3291 ;; pantheon-terminal, roxterm are not currently packaged
3292 (define-public vte-0.36
3293 (package (inherit vte)
3294 (name "vte")
3295 (version "0.36.5")
3296 (source (origin
3297 (method url-fetch)
3298 (uri (string-append "mirror://gnome/sources/" name "/"
3299 (version-major+minor version) "/"
3300 name "-" version ".tar.xz"))
3301 (sha256
3302 (base32
3303 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3304 (propagated-inputs
3305 `(("gtk" ,gtk+)
3306 ("ncurses" ,ncurses)))))
3307
3308 ;; stable version for gtk2, required by xfce4-terminal.
3309 (define-public vte/gtk+-2
3310 (package (inherit vte)
3311 (name "vte")
3312 (version "0.28.2")
3313 (source (origin
3314 (method url-fetch)
3315 (uri (string-append "mirror://gnome/sources/" name "/"
3316 (version-major+minor version) "/"
3317 name "-" version ".tar.xz"))
3318 (sha256
3319 (base32
3320 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3321 (patches (search-patches
3322 "vte-CVE-2012-2738-pt1.patch"
3323 "vte-CVE-2012-2738-pt2.patch"))))
3324 (build-system gnu-build-system)
3325 (arguments
3326 '(#:configure-flags '("--disable-python")))
3327 (native-inputs
3328 `(("pkg-config" ,pkg-config)
3329 ("intltool" ,intltool)
3330 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3331 (propagated-inputs
3332 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3333 ("ncurses" ,ncurses))))) ; required by libvte.la
3334
3335 (define-public vinagre
3336 (package
3337 (name "vinagre")
3338 (version "3.22.0")
3339 (source (origin
3340 (method url-fetch)
3341 (uri (string-append "mirror://gnome/sources/" name "/"
3342 (version-major+minor version) "/"
3343 name "-" version ".tar.xz"))
3344 (patches (search-patches "vinagre-newer-freerdp.patch"
3345 "vinagre-newer-rdp-parameters.patch"))
3346 (sha256
3347 (base32
3348 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3349 (build-system glib-or-gtk-build-system)
3350 (arguments
3351 ;; Disable -Werror and such, to avoid build failures on compilation
3352 ;; warnings.
3353 '(#:configure-flags '("--enable-compile-warnings=minimum")
3354 #:phases
3355 (modify-phases %standard-phases
3356 (add-before 'install 'skip-gtk-update-icon-cache
3357 (lambda _
3358 ;; Don't create 'icon-theme.cache'
3359 (substitute* (find-files "." "^Makefile$")
3360 (("gtk-update-icon-cache") (which "true")))
3361 #t))
3362 (add-after 'unpack 'patch-configure
3363 (lambda _
3364 (substitute* "configure"
3365 (("freerdp") "freerdp2"))
3366 #t)))))
3367 (native-inputs
3368 `(("pkg-config" ,pkg-config)
3369 ("intltool" ,intltool)
3370 ("itstool" ,itstool)
3371 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3372 (inputs
3373 `(("libxml2" ,libxml2)
3374 ("gtk-vnc" ,gtk-vnc)
3375 ("gnome-keyring" ,gnome-keyring)
3376 ("libsecret" ,libsecret)
3377 ("freerdp" ,freerdp)
3378 ("spice" ,spice)
3379 ("spice-gtk" ,spice-gtk)
3380 ("telepathy-glib" ,telepathy-glib)
3381 ("vte" ,vte)))
3382 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3383 (synopsis "Remote desktop viewer for GNOME")
3384 (description "Vinagre is a remote display client supporting the VNC, SPICE
3385 and RDP protocols.")
3386 (license license:gpl3+)))
3387
3388 (define-public dconf
3389 (package
3390 (name "dconf")
3391 (version "0.34.0")
3392 (source (origin
3393 (method url-fetch)
3394 (uri (string-append
3395 "mirror://gnome/sources/" name "/"
3396 (version-major+minor version) "/"
3397 name "-" version ".tar.xz"))
3398 (patches (search-patches "dconf-meson-0.52.patch"))
3399 (sha256
3400 (base32
3401 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3402 (build-system meson-build-system)
3403 (propagated-inputs
3404 ;; In Requires of dconf.pc.
3405 `(("glib" ,glib)))
3406 (inputs
3407 `(("gtk+" ,gtk+)
3408 ("dbus" ,dbus)))
3409 (native-inputs
3410 `(("bash-completion" ,bash-completion)
3411 ("libxslt" ,libxslt) ;for xsltproc
3412 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3413 ("docbook-xml" ,docbook-xml-4.2)
3414 ("docbook-xsl" ,docbook-xsl)
3415 ("glib:bin" ,glib "bin")
3416 ("gtk-doc" ,gtk-doc)
3417 ("pkg-config" ,pkg-config)
3418 ("vala" ,vala)))
3419 (arguments
3420 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3421 ; or /etc/machine-id.
3422 #:glib-or-gtk? #t
3423 #:configure-flags '("-Denable-gtk-doc=true")))
3424 (home-page "https://developer.gnome.org/dconf")
3425 (synopsis "Low-level GNOME configuration system")
3426 (description "Dconf is a low-level configuration system. Its main purpose
3427 is to provide a backend to GSettings on platforms that don't already have
3428 configuration storage systems.")
3429 (license license:lgpl2.1+)))
3430
3431 (define-public json-glib
3432 (package
3433 (name "json-glib")
3434 (version "1.4.4")
3435 (source (origin
3436 (method url-fetch)
3437 (uri (string-append "mirror://gnome/sources/" name "/"
3438 (version-major+minor version) "/"
3439 name "-" version ".tar.xz"))
3440 (sha256
3441 (base32
3442 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3443 (build-system meson-build-system)
3444 (native-inputs
3445 `(("gettext" ,gettext-minimal)
3446 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3447 ("gobject-introspection" ,gobject-introspection)
3448 ("pkg-config" ,pkg-config)))
3449 (propagated-inputs
3450 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3451 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3452 (synopsis "Compiler for the GObject type system")
3453 (description
3454 "JSON-GLib is a C library based on GLib providing serialization and
3455 deserialization support for the JavaScript Object Notation (JSON) format
3456 described by RFC 4627. It provides parser and generator GObject classes and
3457 various wrappers for the complex data types employed by JSON, such as arrays
3458 and objects.")
3459 (license license:lgpl2.1+)))
3460
3461 (define-public libxklavier
3462 (package
3463 (name "libxklavier")
3464 (version "5.4")
3465 (source (origin
3466 ;; Note: There's no tarball at ftp.gnome.org for this version.
3467 (method git-fetch)
3468 (uri (git-reference
3469 (url "https://anongit.freedesktop.org/git/libxklavier")
3470 (commit (string-append "libxklavier-" version))))
3471 (sha256
3472 (base32
3473 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3474 (file-name (git-file-name name version))))
3475 (build-system gnu-build-system)
3476 (arguments
3477 '(#:configure-flags
3478 (list (string-append "--with-xkb-base="
3479 (assoc-ref %build-inputs "xkeyboard-config")
3480 "/share/X11/xkb")
3481 "--disable-xmodmap-support")))
3482 (native-inputs
3483 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3484 ("gobject-introspection" ,gobject-introspection)
3485 ("pkg-config" ,pkg-config)
3486 ("gtk-doc" ,gtk-doc)
3487 ("intltool" ,intltool)
3488 ("which" ,which)
3489 ("autoconf" ,autoconf)
3490 ("automake" ,automake)
3491 ("libtool" ,libtool)))
3492 (propagated-inputs
3493 ;; Required by libxklavier.pc.
3494 `(("glib" ,glib)
3495 ("libxml2" ,libxml2)))
3496 (inputs
3497 `(("iso-codes" ,iso-codes)
3498 ("libxi" ,libxi)
3499 ("libxkbfile" ,libxkbfile)
3500 ("xkbcomp" ,xkbcomp)
3501 ("xkeyboard-config" ,xkeyboard-config)))
3502 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3503 (synopsis "High-level API for X Keyboard Extension")
3504 (description
3505 "LibXklavier is a library providing high-level API for X Keyboard
3506 Extension known as XKB. This library is intended to support XFree86 and other
3507 commercial X servers. It is useful for creating XKB-related software (layout
3508 indicators etc).")
3509 (license license:lgpl2.0+)))
3510
3511 (define-public python2-rsvg
3512 ;; XXX: This is actually a subset of gnome-python-desktop.
3513 (package
3514 (name "python2-rsvg")
3515 (version "2.32.0")
3516 (source
3517 (origin
3518 (method url-fetch)
3519 (uri (string-append
3520 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3521 version ".tar.bz2"))
3522 (sha256
3523 (base32
3524 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3525 (build-system gnu-build-system)
3526 (native-inputs
3527 `(("pkg-config" ,pkg-config)))
3528 (inputs
3529 `(("python" ,python-2)
3530 ("python2-pygtk" ,python2-pygtk)
3531 ("librsvg" ,librsvg)))
3532 (home-page "https://www.gnome.org")
3533 (synopsis "Python bindings to librsvg")
3534 (description
3535 "This package provides Python bindings to librsvg, the SVG rendering
3536 library.")
3537
3538 ;; This is the license of the rsvg bindings. The license of each module
3539 ;; of gnome-python-desktop is given in 'COPYING'.
3540 (license license:lgpl2.1+)))
3541
3542 (define-public glib-networking
3543 (package
3544 (name "glib-networking")
3545 (version "2.62.2")
3546 (source (origin
3547 (method url-fetch)
3548 (uri (string-append "mirror://gnome/sources/glib-networking/"
3549 (version-major+minor version) "/"
3550 "glib-networking-" version ".tar.xz"))
3551 (sha256
3552 (base32
3553 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3554 (build-system meson-build-system)
3555 (arguments
3556 `(#:configure-flags '("-Dlibproxy_support=false")))
3557 (native-inputs
3558 `(("pkg-config" ,pkg-config)
3559 ("intltool" ,intltool)))
3560 (inputs
3561 `(("glib" ,glib)
3562 ("gnutls" ,gnutls)
3563 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3564 (home-page "https://www.gnome.org")
3565 (synopsis "Network-related GIO modules")
3566 (description
3567 "This package contains various network related extensions for the GIO
3568 library.")
3569 (license license:lgpl2.0+)))
3570
3571 (define-public rest
3572 (package
3573 (name "rest")
3574 (version "0.8.1")
3575 (source (origin
3576 (method url-fetch)
3577 (uri (string-append "mirror://gnome/sources/rest/"
3578 (version-major+minor version) "/"
3579 name "-" version ".tar.xz"))
3580 (sha256
3581 (base32
3582 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3583 (build-system gnu-build-system)
3584 (arguments
3585 '(#:tests? #f ; tests require internet connection
3586 #:configure-flags
3587 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3588 (native-inputs
3589 `(("glib-mkenums" ,glib "bin")
3590 ("gobject-introspection" ,gobject-introspection)
3591 ("pkg-config" ,pkg-config)))
3592 (propagated-inputs
3593 ;; rest-0.7.pc refers to all these.
3594 `(("glib" ,glib)
3595 ("libsoup" ,libsoup)
3596 ("libxml2" ,libxml2)))
3597 (home-page "https://www.gtk.org/")
3598 (synopsis "RESTful web api query library")
3599 (description
3600 "This library was designed to make it easier to access web services that
3601 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3602 libxml to ease remote use of the RESTful API.")
3603 (license license:lgpl2.1+)))
3604
3605 (define-public libsoup
3606 (package
3607 (name "libsoup")
3608 (version "2.70.0")
3609 (source (origin
3610 (method url-fetch)
3611 (uri (string-append "mirror://gnome/sources/libsoup/"
3612 (version-major+minor version) "/"
3613 "libsoup-" version ".tar.xz"))
3614 (sha256
3615 (base32
3616 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3617 (build-system meson-build-system)
3618 (outputs '("out" "doc"))
3619 (arguments
3620 `(#:modules ((guix build utils)
3621 (guix build meson-build-system)
3622 (ice-9 popen))
3623
3624 #:configure-flags '("-Dgtk_doc=true")
3625 #:phases
3626 (modify-phases %standard-phases
3627 (add-after 'unpack 'adjust-tests
3628 (lambda _
3629 ;; This test fails due to missing /etc/nsswitch.conf
3630 ;; in the build environment.
3631 (substitute* "tests/socket-test.c"
3632 ((".*/sockets/unconnected.*") ""))
3633
3634 ;; These fail because "subdomain.localhost" does not resolve in
3635 ;; the build environment.
3636 (substitute* "tests/hsts-test.c"
3637 ((".*/hsts/basic.*") "")
3638 ((".*/hsts/subdomains.*") "")
3639 ((".*/hsts/superdomain.*") "")
3640 ((".*/hsts/utf8-address.*") ""))
3641 (substitute* "tests/hsts-db-test.c"
3642 ((".*/hsts-db/subdomains.*") ""))
3643
3644 ;; Generate a self-signed certificate that has "localhost" as its
3645 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3646 ;; 3.5.12, tests such as "ssl-tests" fail:
3647 ;;
3648 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3649 ;;
3650 ;; 'certtool' is interactive so we have to pipe it the answers.
3651 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3652 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3653 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3654 (for-each (lambda (line)
3655 (display line pipe)
3656 (newline pipe))
3657 '("" ;Common name
3658 "" ;UID
3659 "Guix" ;Organizational unit name
3660 "GNU" ;Organization name
3661 "" ;Locality name
3662 "" ;State or province
3663 "" ;Country
3664 "" ;subject's domain component (DC)
3665 "" ;E-mail
3666 "" ;serial number
3667 "-1" ;expiration time
3668 "N" ;belong to authority?
3669 "N" ;web client certificate?
3670 "N" ;IPsec IKE?
3671 "Y" ;web server certificate?
3672 "localhost" ;dnsName of subject
3673 "" ;dnsName of subject (end)
3674 "" ;URI of subject
3675 "127.0.0.1" ;IP address of subject
3676 "" ;signing?
3677 "" ;encryption (RSA)?
3678 "" ;data encryption?
3679 "" ;sign OCSP requests?
3680 "" ;sign code?
3681 "" ;time stamping?
3682 "" ;email protection?
3683 "" ;URI of the CRL distribution point
3684 "y" ;above info OK?
3685 ))
3686 (close-pipe pipe))
3687 #t))
3688 (add-after 'install 'move-doc
3689 (lambda* (#:key outputs #:allow-other-keys)
3690 (let ((out (assoc-ref outputs "out"))
3691 (doc (assoc-ref outputs "doc")))
3692 (mkdir-p (string-append doc "/share"))
3693 (copy-recursively (string-append out "/share/gtk-doc")
3694 (string-append doc "/share/gtk-doc"))
3695 (delete-file-recursively (string-append out "/share/gtk-doc"))
3696 #t))))))
3697 (native-inputs
3698 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3699 ("gobject-introspection" ,gobject-introspection)
3700 ("gtk-doc" ,gtk-doc)
3701 ("intltool" ,intltool)
3702 ("pkg-config" ,pkg-config)
3703 ("python" ,python-wrapper)
3704 ("vala" ,vala)
3705 ;; These are needed for the tests.
3706 ;; FIXME: Add PHP once available.
3707 ("curl" ,curl)
3708 ("gnutls" ,gnutls) ;for 'certtool'
3709 ("httpd" ,httpd)))
3710 (propagated-inputs
3711 ;; libsoup-2.4.pc refers to all these.
3712 `(("brotli" ,google-brotli)
3713 ("glib" ,glib)
3714 ("libpsl" ,libpsl)
3715 ("libxml2" ,libxml2)
3716 ("sqlite" ,sqlite)
3717 ("zlib" ,zlib)))
3718 (inputs
3719 `(("glib-networking" ,glib-networking)
3720 ("mit-krb5" ,mit-krb5)))
3721 (home-page "https://live.gnome.org/LibSoup/")
3722 (synopsis "GLib-based HTTP Library")
3723 (description
3724 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3725 and the GLib main loop, to integrate well with GNOME applications.")
3726 (license license:lgpl2.0+)))
3727
3728 (define-public libsecret
3729 (package
3730 (name "libsecret")
3731 (version "0.20.2")
3732 (source (origin
3733 (method url-fetch)
3734 (uri (string-append
3735 "mirror://gnome/sources/libsecret/"
3736 (version-major+minor version) "/"
3737 "libsecret-" version ".tar.xz"))
3738 (sha256
3739 (base32
3740 "1hzz34gmsxxf1jm1b7qin390rkwbg8sx198xdkwxqp3q6cw19sc1"))))
3741 (build-system gnu-build-system)
3742 (outputs '("out" "doc"))
3743 (arguments
3744 `(#:tests? #f ; FIXME: Testing hangs.
3745 #:configure-flags
3746 (list (string-append "--with-html-dir="
3747 (assoc-ref %outputs "doc")
3748 "/share/gtk-doc/html"))))
3749 (native-inputs
3750 `(("gettext" ,gettext-minimal)
3751 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3752 ("gobject-introspection" ,gobject-introspection)
3753 ("pkg-config" ,pkg-config)
3754 ("vala" ,vala)
3755 ("xsltproc" ,libxslt)))
3756 ;; These are needed for the tests.
3757 ;; FIXME: Add gjs once available.
3758 ;("dbus" ,dbus)
3759 ;("python2" ,python-2)
3760 ;("python2-dbus" ,python2-dbus)
3761 ;("python2-pygobject" ,python2-pygobject)
3762 ;("python2-pygobject-2" ,python2-pygobject-2)))
3763 (propagated-inputs
3764 `(("glib" ,glib))) ; required by libsecret-1.pc
3765 (inputs
3766 `(("docbook-xsl" ,docbook-xsl)
3767 ("libgcrypt" ,libgcrypt)
3768 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3769 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3770 (synopsis "GObject bindings for \"Secret Service\" API")
3771 (description
3772 "Libsecret is a GObject based library for storing and retrieving passwords
3773 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3774 (license license:lgpl2.1+)))
3775
3776 (define-public five-or-more
3777 (package
3778 (name "five-or-more")
3779 (version "3.32.1")
3780 (source
3781 (origin
3782 (method url-fetch)
3783 (uri (string-append "mirror://gnome/sources/five-or-more/"
3784 (version-major+minor version) "/"
3785 "five-or-more-" version ".tar.xz"))
3786 (sha256
3787 (base32 "0xw05dd2dwi9vsph9h158b4n89s5k07xrh6bjz1icm0pdmjwhpgk"))))
3788 (build-system meson-build-system)
3789 (arguments
3790 '(#:glib-or-gtk? #t
3791 #:phases
3792 (modify-phases %standard-phases
3793 (add-after 'unpack 'skip-gtk-update-icon-cache
3794 (lambda _
3795 (substitute* "meson_post_install.py"
3796 (("gtk-update-icon-cache") (which "true")))
3797 #t)))))
3798 (native-inputs
3799 `(("pkg-config" ,pkg-config)
3800 ("appstream-glib" ,appstream-glib)
3801 ("desktop-file-utils" ,desktop-file-utils)
3802 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3803 ("intltool" ,intltool)
3804 ("itstool" ,itstool)
3805 ("vala" ,vala)
3806 ("xmllint" ,libxml2)))
3807 (inputs
3808 `(("gtk+" ,gtk+)
3809 ("libgnome-games-support" ,libgnome-games-support)
3810 ("librsvg" ,librsvg)))
3811 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3812 (synopsis "Logic puzzle game")
3813 (description "Five or More is a game where you try to align
3814 five or more objects of the same color and shape causing them to disappear.
3815 On every turn more objects will appear, until the board is full.
3816 Try to last as long as possible.")
3817 (license license:gpl2+)))
3818
3819 (define-public gnome-mines
3820 (package
3821 (name "gnome-mines")
3822 (version "3.34.0")
3823 (source
3824 (origin
3825 (method url-fetch)
3826 (uri (string-append "mirror://gnome/sources/" name "/"
3827 (version-major+minor version) "/"
3828 name "-" version ".tar.xz"))
3829 (sha256
3830 (base32
3831 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
3832 (build-system meson-build-system)
3833 (arguments
3834 '(#:glib-or-gtk? #t
3835 #:phases
3836 (modify-phases %standard-phases
3837 (add-after 'unpack 'skip-gtk-update-icon-cache
3838 (lambda _
3839 (substitute* "build-aux/meson_post_install.py"
3840 (("gtk-update-icon-cache") (which "true")))
3841 #t)))))
3842 (native-inputs
3843 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3844 ("pkg-config" ,pkg-config)
3845 ("desktop-file-utils" ,desktop-file-utils)
3846 ("intltool" ,intltool)
3847 ("itstool" ,itstool)
3848 ("vala" ,vala)
3849 ("yelp" ,yelp)
3850 ("appstream-glib" ,appstream-glib)))
3851 (inputs
3852 `(("gtk+" ,gtk+)
3853 ("libgnome-games-support" ,libgnome-games-support)
3854 ("librsvg" ,librsvg)))
3855 (home-page "https://wiki.gnome.org/Apps/Mines")
3856 (synopsis "Minesweeper game")
3857 (description
3858 "Mines (previously gnomine) is a puzzle game where you locate mines
3859 floating in an ocean using only your brain and a little bit of luck.")
3860 (license license:gpl2+)))
3861
3862 (define-public gnome-sudoku
3863 (package
3864 (name "gnome-sudoku")
3865 (version "3.34.1")
3866 (source
3867 (origin
3868 (method url-fetch)
3869 (uri (string-append "mirror://gnome/sources/" name "/"
3870 (version-major+minor version) "/"
3871 name "-" version ".tar.xz"))
3872 (sha256
3873 (base32
3874 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
3875 (build-system meson-build-system)
3876 (arguments
3877 '(#:glib-or-gtk? #t
3878 #:phases
3879 (modify-phases %standard-phases
3880 (add-after 'unpack 'skip-gtk-update-icon-cache
3881 (lambda _
3882 (substitute* "build-aux/post_install.py"
3883 (("gtk-update-icon-cache") (which "true")))
3884 #t)))))
3885 (native-inputs
3886 `(("pkg-config" ,pkg-config)
3887 ("desktop-file-utils" ,desktop-file-utils)
3888 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3889 ("intltool" ,intltool)
3890 ("itstool" ,itstool)
3891 ("vala" ,vala)
3892 ("xmllint" ,libxml2)))
3893 (inputs
3894 `(("gtk+" ,gtk+)
3895 ("json-glib" ,json-glib)
3896 ("libgee" ,libgee)
3897 ("librsvg" ,librsvg)
3898 ("qqwing" ,qqwing)))
3899 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3900 (synopsis "Japanese logic game")
3901 (description
3902 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3903 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3904 possible while still providing features that make playing difficult Sudoku
3905 more fun.")
3906 (license license:gpl2+)))
3907
3908 (define-public gnome-terminal
3909 (package
3910 (name "gnome-terminal")
3911 (version "3.34.2")
3912 (source
3913 (origin
3914 (method url-fetch)
3915 (uri (string-append "mirror://gnome/sources/" name "/"
3916 (version-major+minor version) "/"
3917 name "-" version ".tar.xz"))
3918 (sha256
3919 (base32
3920 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
3921 (build-system glib-or-gtk-build-system)
3922 (arguments
3923 '(#:configure-flags
3924 (list "--disable-migration" "--disable-search-provider"
3925 "--without-nautilus-extension")
3926 #:phases
3927 (modify-phases %standard-phases
3928 (add-before 'configure 'patch-/bin/true
3929 (lambda _
3930 (substitute* "configure"
3931 (("/bin/true") (which "true"))))))))
3932 (native-inputs
3933 `(("pkg-config" ,pkg-config)
3934 ("desktop-file-utils" ,desktop-file-utils)
3935 ("intltool" ,intltool)
3936 ("itstool" ,itstool)
3937 ("xmllint" ,libxml2)))
3938 (propagated-inputs
3939 `(("dconf" ,dconf)))
3940 (inputs
3941 `(("gtk+" ,gtk+)
3942 ("vte" ,vte)
3943 ("gnutls" ,gnutls)
3944 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3945 ("util-linux" ,util-linux "lib")
3946 ("vala" ,vala)))
3947 (home-page "https://wiki.gnome.org/Apps/Terminal")
3948 (synopsis "Terminal emulator")
3949 (description
3950 "GNOME Terminal is a terminal emulator application for accessing a
3951 UNIX shell environment which can be used to run programs available on
3952 your system.
3953
3954 It supports several profiles, multiple tabs and implements several
3955 keyboard shortcuts.")
3956 (license license:gpl3+)))
3957
3958 (define-public colord
3959 (package
3960 (name "colord")
3961 (version "1.4.4")
3962 (source
3963 (origin
3964 (method url-fetch)
3965 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3966 "colord-" version ".tar.xz"))
3967 (sha256
3968 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3969 (build-system meson-build-system)
3970 (arguments
3971 '(;; FIXME: One test fails:
3972 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3973 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3974 ;; application/x-zerosize
3975 #:tests? #f
3976 #:glib-or-gtk? #t
3977 #:configure-flags (list "-Dlocalstatedir=/var"
3978 ;; No dep on systemd.
3979 "-Dsystemd=false"
3980 ;; Wants to install to global completion dir;
3981 ;; punt.
3982 "-Dbash_completion=false"
3983 "-Ddaemon_user=colord"
3984 "-Dsane=true"
3985 "-Dvapi=true"
3986 ;; Requires spotread.
3987 "-Dargyllcms_sensor=false"
3988 ;; TODO: Requires docbook2x.
3989 "-Dman=false")
3990 #:phases
3991 (modify-phases %standard-phases
3992 (add-before 'configure 'patch-build-system
3993 (lambda* (#:key outputs #:allow-other-keys)
3994 (substitute* "rules/meson.build"
3995 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3996 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3997 #t))
3998 (add-before 'configure 'set-sqlite3-file-name
3999 (lambda* (#:key inputs #:allow-other-keys)
4000 ;; "colormgr dump" works by invoking the "sqlite3" command.
4001 ;; Record its absolute file name.
4002 (let ((sqlite (assoc-ref inputs "sqlite")))
4003 (substitute* "client/cd-util.c"
4004 (("\"sqlite3\"")
4005 (string-append "\"" sqlite "/bin/sqlite3\"")))
4006 #t))))))
4007 (native-inputs
4008 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4009 ("gettext" ,gettext-minimal)
4010 ("gobject-introspection" ,gobject-introspection)
4011 ("gtk-doc" ,gtk-doc)
4012 ("pkg-config" ,pkg-config)
4013 ("vala" ,vala)))
4014 (propagated-inputs
4015 ;; colord.pc refers to all these.
4016 `(("glib" ,glib)
4017 ("lcms" ,lcms)
4018 ("udev" ,eudev)))
4019 (inputs
4020 `(("dbus-glib" ,dbus-glib)
4021 ("gusb" ,gusb)
4022 ("libgudev" ,libgudev)
4023 ("libusb" ,libusb)
4024 ("polkit" ,polkit)
4025 ("python" ,python-wrapper)
4026 ("sqlite" ,sqlite)
4027 ("sane-backends" ,sane-backends)))
4028 (home-page "https://www.freedesktop.org/software/colord/")
4029 (synopsis "Color management service")
4030 (description "Colord is a system service that makes it easy to manage,
4031 install and generate color profiles to accurately color manage input and
4032 output devices.")
4033 (license license:gpl2+)))
4034
4035 (define-public geoclue
4036 (package
4037 (name "geoclue")
4038 (version "2.5.5")
4039 (source
4040 (origin
4041 (method url-fetch)
4042 (uri
4043 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4044 version "/geoclue-" version ".tar.bz2"))
4045 (sha256
4046 (base32
4047 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
4048 (patches (search-patches "geoclue-config.patch"))))
4049 (build-system meson-build-system)
4050 (arguments
4051 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4052 (native-inputs
4053 `(("pkg-config" ,pkg-config)
4054 ("gobject-introspection" ,gobject-introspection)
4055 ("modem-manager" ,modem-manager)
4056 ("libnotify" ,libnotify)
4057 ("gtk-doc", gtk-doc)
4058 ("intltool" ,intltool)))
4059 (inputs
4060 `(("avahi" ,avahi)
4061 ("glib:bin" ,glib "bin")
4062 ("glib-networking" ,glib-networking)
4063 ("json-glib" ,json-glib)
4064 ("libsoup" ,libsoup)))
4065 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4066 (synopsis "Geolocation service")
4067 (description "Geoclue is a D-Bus service that provides location
4068 information. The primary goal of the Geoclue project is to make creating
4069 location-aware applications as simple as possible, while the secondary goal is
4070 to ensure that no application can access location information without explicit
4071 permission from user.")
4072 (license license:gpl2+)))
4073
4074 (define-public geocode-glib
4075 (package
4076 (name "geocode-glib")
4077 (version "3.26.1")
4078 (source (origin
4079 (method url-fetch)
4080 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4081 (version-major+minor version) "/"
4082 "geocode-glib-" version ".tar.xz"))
4083 (sha256
4084 (base32
4085 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4086 (build-system meson-build-system)
4087 (arguments
4088 `(#:phases
4089 (modify-phases %standard-phases
4090 ;; The tests require a bunch of locales.
4091 (add-before 'check 'set-locales
4092 (lambda* (#:key inputs #:allow-other-keys)
4093 (setenv "GUIX_LOCPATH"
4094 (string-append (assoc-ref inputs "glibc-locales")
4095 "/lib/locale"))
4096 #t)))))
4097 (native-inputs
4098 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4099 ("glibc-locales" ,glibc-locales) ; for tests
4100 ("gettext" ,gettext-minimal)
4101 ("gobject-introspection" ,gobject-introspection)
4102 ("gtk-doc" ,gtk-doc)
4103 ("pkg-config" ,pkg-config)
4104 ("json-glib" ,json-glib)))
4105 (propagated-inputs
4106 ;; geocode-glib-1.0.pc refers to GIO.
4107 `(("glib" ,glib)))
4108 (inputs
4109 `(("libsoup" ,libsoup)))
4110 (home-page "https://github.com/GNOME/geocode-glib/")
4111 (synopsis "Geocoding and reverse-geocoding library")
4112 (description
4113 "geocode-glib is a convenience library for geocoding (finding longitude,
4114 and latitude from an address) and reverse geocoding (finding an address from
4115 coordinates) using the Nominatim service. geocode-glib caches requests for
4116 faster results and to avoid unnecessary server load.")
4117 (license license:lgpl2.0+)))
4118
4119 (define-public upower
4120 (package
4121 (name "upower")
4122 (version "0.99.11")
4123 (source (origin
4124 (method url-fetch)
4125 (uri (string-append "https://upower.freedesktop.org/releases/"
4126 "upower-" version ".tar.xz"))
4127 (sha256
4128 (base32
4129 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4130 (patches (search-patches "upower-builddir.patch"))
4131 (modules '((guix build utils)))
4132 (snippet
4133 '(begin
4134 ;; Upstream commit
4135 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4136 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4137 ;; 'dbus-configuration-directory' in (gnu services dbus)
4138 ;; expects it in etc/. Thus, move it back to its previous
4139 ;; location.
4140 (substitute* "src/Makefile.in"
4141 (("^dbusconfdir =.*$")
4142 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4143 #t))))
4144 (build-system glib-or-gtk-build-system)
4145 (arguments
4146 '( ;; The tests want to contact the system bus, which can't be done in the
4147 ;; build environment. The integration test can run, but the last of
4148 ;; the up-self-tests doesn't. Disable tests for now.
4149 #:tests? #f
4150 #:configure-flags (list "--localstatedir=/var"
4151 (string-append "--with-udevrulesdir="
4152 (assoc-ref %outputs "out")
4153 "/lib/udev/rules.d"))))
4154 (native-inputs
4155 `(("gobject-introspection" ,gobject-introspection)
4156 ("pkg-config" ,pkg-config)
4157 ("intltool" ,intltool)
4158 ("python" ,python)
4159
4160 ;; For man pages.
4161 ("libxslt" ,libxslt) ;for 'xsltproc'
4162 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4163 ("docbook-xsl" ,docbook-xsl)))
4164 (inputs
4165 `(("dbus-glib" ,dbus-glib)
4166 ("libgudev" ,libgudev)
4167 ("libusb" ,libusb)))
4168 (propagated-inputs
4169 ;; In Requires of upower-glib.pc.
4170 `(("glib" ,glib)))
4171 (home-page "https://upower.freedesktop.org/")
4172 (synopsis "System daemon for managing power devices")
4173 (description
4174 "UPower is an abstraction for enumerating power devices,
4175 listening to device events and querying history and statistics. Any
4176 application or service on the system can access the org.freedesktop.UPower
4177 service via the system message bus.")
4178 (license license:gpl2+)))
4179
4180 (define-public libgweather
4181 (package
4182 (name "libgweather")
4183 (version "3.34.0")
4184 (source (origin
4185 (method url-fetch)
4186 (uri (string-append "mirror://gnome/sources/" name "/"
4187 (version-major+minor version) "/"
4188 name "-" version ".tar.xz"))
4189 (sha256
4190 (base32
4191 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4192 (build-system meson-build-system)
4193 (arguments
4194 `(#:tests? #f ; one of two tests requires network access
4195 #:configure-flags
4196 `(,(string-append "-Dzoneinfo_dir="
4197 (assoc-ref %build-inputs "tzdata")
4198 "/share/zoneinfo"))))
4199 (native-inputs
4200 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4201 ("gobject-introspection" ,gobject-introspection)
4202 ("pkg-config" ,pkg-config)
4203 ("vala" ,vala)
4204 ("intltool" ,intltool)))
4205 (propagated-inputs
4206 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4207 ;; libsoup.
4208 `(("gtk+" ,gtk+)
4209 ("gdk-pixbuf" ,gdk-pixbuf)
4210 ("libxml2" ,libxml2)
4211 ("libsoup" ,libsoup)
4212 ("geocode-glib" ,geocode-glib)))
4213 (inputs
4214 `(("tzdata" ,tzdata)))
4215 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4216 (synopsis "Location, time zone, and weather library for GNOME")
4217 (description
4218 "libgweather is a library to access weather information from online
4219 services for numerous locations.")
4220 (license license:gpl2+)))
4221
4222 (define-public gnome-settings-daemon
4223 (package
4224 (name "gnome-settings-daemon")
4225 (version "3.34.1")
4226 (source
4227 (origin
4228 (method url-fetch)
4229 (uri (string-append "mirror://gnome/sources/" name "/"
4230 (version-major+minor version) "/"
4231 name "-" version ".tar.xz"))
4232 (sha256
4233 (base32
4234 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4235 (build-system meson-build-system)
4236 (arguments
4237 `(#:glib-or-gtk? #t
4238 #:configure-flags
4239 (list (string-append "-Dudev_dir="
4240 (assoc-ref %outputs "out")
4241 "/lib/udev/rules.d/")
4242 "-Dsystemd=false"
4243 ;; Otherwise, the RUNPATH will lack the final path component.
4244 (string-append "-Dc_link_args=-Wl,-rpath="
4245 (assoc-ref %outputs "out")
4246 "/lib/gnome-settings-daemon-3.0"))
4247 ;; Color management test can't reach the colord system service.
4248 #:tests? #f))
4249 (native-inputs
4250 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4251 ("pkg-config" ,pkg-config)
4252 ("intltool" ,intltool)
4253 ("xsltproc" ,libxslt)
4254 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4255 ("docbook-xml" ,docbook-xml-4.2)
4256 ("docbook-xsl" ,docbook-xsl)))
4257 (inputs
4258 `(("alsa-lib" ,alsa-lib)
4259 ("colord" ,colord)
4260 ("libgudev" ,libgudev)
4261 ("upower" ,upower)
4262 ("polkit" ,polkit)
4263 ("pulseaudio" ,pulseaudio)
4264 ("libcanberra" ,libcanberra)
4265 ("libx11" ,libx11)
4266 ("libxtst" ,libxtst)
4267 ("lcms" ,lcms)
4268 ("libnotify" ,libnotify)
4269 ("geoclue" ,geoclue)
4270 ("geocode-glib" ,geocode-glib)
4271 ("libgweather" ,libgweather)
4272 ("gnome-desktop" ,gnome-desktop)
4273 ("nss" ,nss)
4274 ("cups" ,cups)
4275 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4276 ("libwacom" ,libwacom)
4277 ("librsvg" ,librsvg)
4278 ("xf86-input-wacom" ,xf86-input-wacom)
4279 ("wayland" ,wayland)
4280 ("network-manager" ,network-manager)
4281 ("gcr" ,gcr)
4282 ("modem-manager" ,modem-manager)))
4283 (home-page "https://www.gnome.org")
4284 (synopsis "GNOME settings daemon")
4285 (description
4286 "This package contains the daemon responsible for setting the various
4287 parameters of a GNOME session and the applications that run under it. It
4288 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4289 settings, themes, mouse settings, and startup of other daemons.")
4290 (license license:gpl2+)))
4291
4292 (define-public totem-pl-parser
4293 (package
4294 (name "totem-pl-parser")
4295 (version "3.26.3")
4296 (source (origin
4297 (method url-fetch)
4298 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4299 (version-major+minor version) "/"
4300 "totem-pl-parser-" version ".tar.xz"))
4301 (sha256
4302 (base32
4303 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4304 (build-system meson-build-system)
4305 (arguments
4306 ;; FIXME: Tests require gvfs.
4307 `(#:tests? #f))
4308 (native-inputs
4309 `(("intltool" ,intltool)
4310 ("glib" ,glib "bin")
4311 ("gobject-introspection" ,gobject-introspection)
4312 ("pkg-config" ,pkg-config)))
4313 (propagated-inputs
4314 `(("glib" ,glib)
4315 ("gmime" ,gmime)
4316 ("libarchive" ,libarchive)
4317 ("libgcrypt" ,libgcrypt)
4318 ("libxml2" ,libxml2)))
4319 (inputs
4320 `(("libsoup" ,libsoup)))
4321 (home-page "https://projects.gnome.org/totem")
4322 (synopsis "Library to parse and save media playlists for GNOME")
4323 (description "Totem-pl-parser is a GObjects-based library to parse and save
4324 playlists in a variety of formats.")
4325 (license license:lgpl2.0+)))
4326
4327 (define-public aisleriot
4328 (package
4329 (name "aisleriot")
4330 (version "3.22.9")
4331 (source (origin
4332 (method url-fetch)
4333 (uri (string-append "mirror://gnome/sources/aisleriot/"
4334 (version-major+minor version) "/"
4335 "aisleriot-" version ".tar.xz"))
4336 (sha256
4337 (base32
4338 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4339 (build-system glib-or-gtk-build-system)
4340 (arguments
4341 '(#:configure-flags
4342 '("--with-platform=gtk-only"
4343 "--with-card-theme-formats=svg")))
4344 (native-inputs
4345 `(("desktop-file-utils" ,desktop-file-utils)
4346 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4347 ("intltool" ,intltool)
4348 ("itstool" ,itstool)
4349 ("pkg-config" ,pkg-config)
4350 ("xmllint" ,libxml2)))
4351 (inputs
4352 `(("gtk+" ,gtk+)
4353 ("guile" ,guile-2.2)
4354 ("libcanberra" ,libcanberra)
4355 ("librsvg" ,librsvg)))
4356 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4357 (synopsis "Solitaire card games")
4358 (description
4359 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4360 which are easy to play with the aid of a mouse.")
4361 (license license:gpl3+)))
4362
4363 (define-public amtk
4364 (package
4365 (name "amtk")
4366 (version "5.0.2")
4367 (source (origin
4368 (method url-fetch)
4369 (uri (string-append "mirror://gnome/sources/amtk/"
4370 (version-major+minor version) "/"
4371 "amtk-" version ".tar.xz"))
4372 (sha256
4373 (base32
4374 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4375 (build-system gnu-build-system)
4376 (arguments
4377 '(#:configure-flags '("--enable-gtk-doc")))
4378 (native-inputs
4379 `(("gobject-introspection" ,gobject-introspection)
4380 ("glib:bin" ,glib "bin") ; for glib-mkenums
4381 ("gtk-doc" ,gtk-doc)
4382 ("pkg-config" ,pkg-config)))
4383 (inputs
4384 `(("glib" ,glib)
4385 ("gtk+" ,gtk+)))
4386 (home-page "https://wiki.gnome.org/Projects/Amtk")
4387 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4388 (description
4389 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4390 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4391 both a traditional UI or a modern UI with a GtkHeaderBar.")
4392 (license license:lgpl2.1+)))
4393
4394 (define-public devhelp
4395 (package
4396 (name "devhelp")
4397 (version "3.34.0")
4398 (source (origin
4399 (method url-fetch)
4400 (uri (string-append "mirror://gnome/sources/" name "/"
4401 (version-major+minor version) "/"
4402 name "-" version ".tar.xz"))
4403 (sha256
4404 (base32
4405 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4406 (build-system meson-build-system)
4407 (arguments
4408 '(#:glib-or-gtk? #t
4409 #:phases
4410 (modify-phases %standard-phases
4411 (add-after 'unpack 'skip-gtk-update-icon-cache
4412 ;; Don't create 'icon-theme.cache'.
4413 (lambda _
4414 (substitute* "meson_post_install.py"
4415 (("gtk-update-icon-cache") "true"))
4416 #t)))))
4417 (native-inputs
4418 `(("intltool" ,intltool)
4419 ("itstool" ,itstool)
4420 ("gobject-introspection" ,gobject-introspection)
4421 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4422 ("pkg-config" ,pkg-config)))
4423 (inputs
4424 `(("amtk" ,amtk)
4425 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4426 ("webkitgtk" ,webkitgtk)))
4427 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4428 (synopsis "API documentation browser for GNOME")
4429 (description
4430 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4431 natively with GTK-Doc (the API reference system developed for GTK+ and used
4432 throughout GNOME for API documentation).")
4433 (license license:gpl2+)))
4434
4435 (define-public cogl
4436 (package
4437 (name "cogl")
4438 (version "1.22.4")
4439 (source
4440 (origin
4441 (method url-fetch)
4442 (uri (string-append "mirror://gnome/sources/cogl/"
4443 (version-major+minor version) "/"
4444 "cogl-" version ".tar.xz"))
4445 (sha256
4446 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
4447 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4448 ;; cogl, corresponding changes may be appropriate in mutter as well.
4449 (build-system gnu-build-system)
4450 (native-inputs
4451 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4452 ("gobject-introspection" ,gobject-introspection)
4453 ;;("xorg-server" ,xorg-server) ; for the test suite
4454 ("pkg-config" ,pkg-config)))
4455 (propagated-inputs
4456 `(("glib" ,glib)
4457 ("gdk-pixbuf" ,gdk-pixbuf)
4458 ("libx11" ,libx11)
4459 ("libxext" ,libxext)
4460 ("libxfixes" ,libxfixes)
4461 ("libxdamage" ,libxdamage)
4462 ("libxcomposite" ,libxcomposite)
4463 ("libxrandr" ,libxrandr)))
4464 (inputs
4465 `(("mesa" ,mesa)
4466 ("cairo" ,cairo)
4467 ("pango" ,pango)
4468 ("gstreamer" ,gstreamer)
4469 ("gst-plugins-base" ,gst-plugins-base)
4470 ("wayland" ,wayland)))
4471 (arguments
4472 `(#:configure-flags (list "--enable-cogl-gst"
4473 "--enable-wayland-egl-platform"
4474 "--enable-wayland-egl-server"
4475
4476 ;; Arrange to pass an absolute file name to
4477 ;; dlopen for libGL.so.
4478 (string-append "--with-gl-libname="
4479 (assoc-ref %build-inputs "mesa")
4480 "/lib/libGL.so"))
4481 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4482 ;; _FontTransOpen: Unable to Parse address
4483 ;; ${prefix}/share/fonts/X11/misc/
4484 #:tests? #f
4485 #; #:phases
4486 #;
4487 (modify-phases %standard-phases
4488 (add-before 'check 'start-xorg-server
4489 (lambda* (#:key inputs #:allow-other-keys)
4490 ;; The test suite requires a running X server.
4491 (system (format #f "~a/bin/Xvfb :1 &"
4492 (assoc-ref inputs "xorg-server")))
4493 (setenv "DISPLAY" ":1")
4494 #t)))))
4495 (home-page "https://www.cogl3d.org")
4496 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4497 (description
4498 "Cogl is a small library for using 3D graphics hardware to draw pretty
4499 pictures. The API departs from the flat state machine style of OpenGL and is
4500 designed to make it easy to write orthogonal components that can render
4501 without stepping on each others toes.")
4502 (license (list license:expat ; most of the code
4503 license:bsd-3 ; cogl/cogl-point-in-poly.c
4504 license:sgifreeb2.0 ; cogl-path/tesselator/
4505 license:asl2.0)))) ; examples/android/
4506
4507 (define-public clutter
4508 (package
4509 (name "clutter")
4510 (version "1.26.2")
4511 (source
4512 (origin
4513 (method url-fetch)
4514 (uri (string-append "mirror://gnome/sources/" name "/"
4515 (version-major+minor version) "/"
4516 name "-" version ".tar.xz"))
4517 (sha256
4518 (base32
4519 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4520 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4521 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4522 (build-system gnu-build-system)
4523 (outputs '("out"
4524 "doc")) ;9 MiB of gtk-doc HTML pages
4525 (native-inputs
4526 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4527 ("gobject-introspection" ,gobject-introspection)
4528 ("pkg-config" ,pkg-config)
4529 ("xsltproc" ,libxslt)))
4530 (propagated-inputs
4531 `(("cogl" ,cogl)
4532 ("cairo" ,cairo)
4533 ("atk" ,atk)
4534 ("gtk+" ,gtk+)
4535 ("json-glib" ,json-glib)
4536 ("glib" ,glib)
4537 ("libxcomposite" ,libxcomposite)
4538 ("libxdamage" ,libxdamage)
4539 ("libxext" ,libxext)
4540 ("xinput" ,xinput)))
4541 (inputs
4542 `(("libxkbcommon" ,libxkbcommon)
4543 ("udev" ,eudev)))
4544 (arguments
4545 `(#:configure-flags (list "--enable-x11-backend=yes"
4546
4547 ;; This produces share/doc/{clutter,cally}.
4548 (string-append "--with-html-dir="
4549 (assoc-ref %outputs "doc")
4550 "/share/doc"))
4551 ;; XXX FIXME: Get test suite working. It would probably fail in the
4552 ;; same way the cogl tests fail, since clutter is based on cogl.
4553 #:tests? #f))
4554 (home-page "http://www.clutter-project.org")
4555 (synopsis "OpenGL-based interactive canvas library")
4556 (description
4557 "Clutter is an OpenGL-based interactive canvas library, designed for
4558 creating fast, mainly 2D single window applications such as media box UIs,
4559 presentations, kiosk style applications and so on.")
4560 (license license:lgpl2.0+)))
4561
4562 (define-public clutter-gtk
4563 (package
4564 (name "clutter-gtk")
4565 (version "1.8.4")
4566 (source
4567 (origin
4568 (method url-fetch)
4569 (uri (string-append "mirror://gnome/sources/" name "/"
4570 (version-major+minor version) "/"
4571 name "-" version ".tar.xz"))
4572 (sha256
4573 (base32
4574 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4575 (build-system gnu-build-system)
4576 (native-inputs
4577 `(("pkg-config" ,pkg-config)
4578 ("gobject-introspection" ,gobject-introspection)))
4579 (propagated-inputs
4580 ;; clutter-gtk.pc refers to all these.
4581 `(("clutter" ,clutter)
4582 ("gtk+" ,gtk+)))
4583 (home-page "http://www.clutter-project.org")
4584 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4585 (description
4586 "Clutter is an OpenGL-based interactive canvas library, designed for
4587 creating fast, mainly 2D single window applications such as media box UIs,
4588 presentations, kiosk style applications and so on.")
4589 (license license:lgpl2.0+)))
4590
4591 (define-public clutter-gst
4592 (package
4593 (name "clutter-gst")
4594 (version "3.0.27")
4595 (source
4596 (origin
4597 (method url-fetch)
4598 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4599 (version-major+minor version) "/"
4600 "clutter-gst-" version ".tar.xz"))
4601 (sha256
4602 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4603 (build-system gnu-build-system)
4604 (native-inputs
4605 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4606 ("pkg-config" ,pkg-config)
4607 ("gobject-introspection" ,gobject-introspection)))
4608 (inputs
4609 `(("clutter" ,clutter)
4610 ("gstreamer" ,gstreamer)
4611 ("gst-plugins-base" ,gst-plugins-base)))
4612 (home-page "http://www.clutter-project.org")
4613 (synopsis "Integration library for using GStreamer with Clutter")
4614 (description
4615 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4616 It provides a GStreamer sink to upload frames to GL and an actor that
4617 implements the ClutterGstPlayer interface using playbin. Clutter is an
4618 OpenGL-based interactive canvas library.")
4619 (license license:lgpl2.0+)))
4620
4621 (define-public libchamplain
4622 (package
4623 (name "libchamplain")
4624 (version "0.12.16")
4625 (source (origin
4626 (method url-fetch)
4627 (uri (string-append
4628 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4629 version ".tar.xz"))
4630 (sha256
4631 (base32
4632 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4633 (build-system gnu-build-system)
4634 (arguments '(#:configure-flags '("--enable-vala")))
4635 (native-inputs
4636 `(("gobject-introspection" ,gobject-introspection)
4637 ("pkg-config" ,pkg-config)
4638 ("vala" ,vala)))
4639 (propagated-inputs
4640 `(("libsoup" ,libsoup)
4641 ("sqlite" ,sqlite)
4642 ("clutter" ,clutter)
4643 ("clutter-gtk" ,clutter-gtk)
4644 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4645 ("cairo" ,cairo)
4646 ("gtk+3" ,gtk+)
4647 ("glib" ,glib)))
4648 (home-page "https://projects.gnome.org/libchamplain/")
4649 (synopsis "C library providing a ClutterActor to display maps")
4650 (description
4651 "libchamplain is a C library providing a ClutterActor to display maps.
4652 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4653 and Perl bindings are also available. It supports numerous free map sources
4654 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4655 (license license:lgpl2.1+)))
4656
4657 (define-public gom
4658 (package
4659 (name "gom")
4660 (version "0.3.2")
4661 (source
4662 (origin
4663 (method url-fetch)
4664 (uri (string-append "mirror://gnome/sources/gom/"
4665 (version-major+minor version) "/"
4666 "gom-" version ".tar.xz"))
4667 (sha256
4668 (base32
4669 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4670 (build-system gnu-build-system)
4671 (native-inputs
4672 `(("intltool" ,intltool)
4673 ("pkg-config" ,pkg-config)
4674 ("gobject-introspection" ,gobject-introspection)))
4675 (inputs
4676 `(("glib" ,glib)
4677 ("gdk-pixbuf" ,gdk-pixbuf)
4678 ("sqlite" ,sqlite)))
4679 ;; XXX TODO: Figure out how to run the test suite.
4680 (arguments `(#:tests? #f))
4681 (home-page "https://wiki.gnome.org/Projects/Gom")
4682 (synopsis "Object mapper from GObjects to SQLite")
4683 (description
4684 "Gom provides an object mapper from GObjects to SQLite. It helps you
4685 write applications that need to store structured data as well as make complex
4686 queries upon that data.")
4687 (license license:lgpl2.1+)))
4688
4689 (define-public libgnome-games-support
4690 (package
4691 (name "libgnome-games-support")
4692 (version "1.4.4")
4693 (source (origin
4694 (method url-fetch)
4695 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4696 (version-major+minor version) "/"
4697 "libgnome-games-support-" version ".tar.xz"))
4698 (sha256
4699 (base32
4700 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4701 (build-system gnu-build-system)
4702 (arguments
4703 '(#:phases
4704 (modify-phases %standard-phases
4705 (add-before 'check 'pre-check
4706 (lambda _
4707 ;; Tests require a writable HOME.
4708 (setenv "HOME" (getcwd))
4709 #t)))))
4710 (native-inputs
4711 `(("intltool" ,intltool)
4712 ("pkg-config" ,pkg-config)
4713 ("vala" ,vala)))
4714 (propagated-inputs
4715 ;; Required by libgnome-games-support-1.0.pc
4716 `(("gtk+" ,gtk+)
4717 ("libgee" ,libgee)))
4718 (home-page "https://www.gnome.org/")
4719 (synopsis "Useful functionality shared among GNOME games")
4720 (description
4721 "libgnome-games-support is a small library intended for internal use by
4722 GNOME Games, but it may be used by others.")
4723 (license license:lgpl3+)))
4724
4725 (define-public gnome-klotski
4726 (package
4727 (name "gnome-klotski")
4728 (version "3.34.0")
4729 (source (origin
4730 (method url-fetch)
4731 (uri (string-append "mirror://gnome/sources/" name "/"
4732 (version-major+minor version) "/"
4733 name "-" version ".tar.xz"))
4734 (sha256
4735 (base32
4736 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
4737 (build-system meson-build-system)
4738 (arguments
4739 '(#:glib-or-gtk? #t
4740 #:phases
4741 (modify-phases %standard-phases
4742 (add-after 'unpack 'skip-gtk-update-icon-cache
4743 ;; Don't create 'icon-theme.cache'.
4744 (lambda _
4745 (substitute* "build-aux/meson_post_install.py"
4746 (("gtk-update-icon-cache") (which "true")))
4747 #t)))))
4748 (native-inputs
4749 `(("desktop-file-utils" ,desktop-file-utils)
4750 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4751 ("intltool" ,intltool)
4752 ("itstool" ,itstool)
4753 ("pkg-config" ,pkg-config)
4754 ("vala" ,vala)
4755 ("xmllint" ,libxml2)))
4756 (inputs
4757 `(("gtk+" ,gtk+)
4758 ("libgnome-games-support" ,libgnome-games-support)
4759 ("librsvg" ,librsvg)))
4760 (home-page "https://wiki.gnome.org/Apps/Klotski")
4761 (synopsis "Sliding block puzzles")
4762 (description
4763 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4764 the patterned block to the area bordered by green markers. To do so, you will
4765 need to slide other blocks out of the way. Complete each puzzle in as few moves
4766 as possible!")
4767 (license license:gpl2+)))
4768
4769 (define-public grilo
4770 (package
4771 (name "grilo")
4772 (version "0.3.10")
4773 (source
4774 (origin
4775 (method url-fetch)
4776 (uri (string-append "mirror://gnome/sources/" name "/"
4777 (version-major+minor version) "/"
4778 name "-" version ".tar.xz"))
4779 (sha256
4780 (base32
4781 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4782 (build-system meson-build-system)
4783 (native-inputs
4784 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4785 ("intltool" ,intltool)
4786 ("pkg-config" ,pkg-config)
4787 ("gobject-introspection" ,gobject-introspection)
4788 ("gtk-doc" ,gtk-doc)
4789 ("vala" ,vala)))
4790 (inputs
4791 `(("cyrus-sasl" ,cyrus-sasl)
4792 ("glib" ,glib)
4793 ("gtk+" ,gtk+)
4794 ("libxml2" ,libxml2)
4795 ("liboauth" ,liboauth)
4796 ("libsoup" ,libsoup)
4797 ("totem-pl-parser" ,totem-pl-parser)))
4798 (native-search-paths
4799 (list (search-path-specification
4800 (variable "GRL_PLUGIN_PATH")
4801 (files (list (string-append "lib/grilo-"
4802 (version-major+minor version)))))))
4803 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4804 (synopsis "Framework for discovering and browsing media")
4805 (description
4806 "Grilo is a framework focused on making media discovery and browsing easy
4807 for application developers.")
4808 (license license:lgpl2.1+)))
4809
4810 (define-public grilo-plugins
4811 (package
4812 (name "grilo-plugins")
4813 (version "0.3.10")
4814 (source
4815 (origin
4816 (method url-fetch)
4817 (uri (string-append "mirror://gnome/sources/" name "/"
4818 (version-major+minor version) "/"
4819 name "-" version ".tar.xz"))
4820 (sha256
4821 (base32
4822 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4823 (build-system meson-build-system)
4824 (native-inputs
4825 `(("gettext" ,gettext-minimal)
4826 ("glib:bin" ,glib "bin")
4827 ("gtk+:bin" ,gtk+ "bin")
4828 ("itstool" ,itstool)
4829 ("pkg-config" ,pkg-config)))
4830 ;; TODO: ahavi, gstreamer
4831 (inputs
4832 `(("grilo" ,grilo)
4833 ;("gmime" ,gmime) ; unused
4834 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4835 ("gom" ,gom)
4836 ;("gssdp" ,gssdp) ; unused
4837 ;("gupnp" ,gupnp) ; unused
4838 ;("gupnp-av" ,gupnp-av) ; unused
4839 ("json-glib" ,json-glib)
4840 ("avahi" ,avahi)
4841 ("libgdata" ,libgdata)
4842 ("libmediaart" ,libmediaart)
4843 ;("librest" ,rest) ; unused
4844 ("libsoup" ,libsoup)
4845 ("totam-pl-parser" ,totem-pl-parser)
4846 ("tracker" ,tracker))) ; unused because it's too old
4847 (arguments
4848 `(#:glib-or-gtk? #t
4849 ;;Disable lua-factory as it needs missing dependencies
4850 #:configure-flags '("-Denable-lua-factory=no")))
4851 (home-page "https://live.gnome.org/Grilo")
4852 (synopsis "Plugins for the Grilo media discovery library")
4853 (description
4854 "Grilo is a framework focused on making media discovery and browsing easy
4855 for application developers. This package provides plugins for common media
4856 discovery protocols.")
4857 (license license:lgpl2.1+)))
4858
4859 (define-public totem
4860 (package
4861 (name "totem")
4862 (version "3.34.1")
4863 (source
4864 (origin
4865 (method url-fetch)
4866 (uri (string-append "mirror://gnome/sources/" name "/"
4867 (version-major+minor version) "/"
4868 name "-" version ".tar.xz"))
4869 (sha256
4870 (base32
4871 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
4872 (build-system meson-build-system)
4873 (native-inputs
4874 `(("pkg-config" ,pkg-config)
4875 ("desktop-file-utils" ,desktop-file-utils)
4876 ("gobject-introspection" ,gobject-introspection)
4877 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4878 ("intltool" ,intltool)
4879 ("itstool" ,itstool)
4880 ("xmllint" ,libxml2)
4881 ("python-pylint" ,python-pylint)
4882 ("xorg-server" ,xorg-server-for-tests)))
4883 (propagated-inputs
4884 `(("dconf" ,dconf)))
4885 (inputs
4886 `(("gtk+" ,gtk+)
4887 ("gdk-pixbuf" ,gdk-pixbuf)
4888 ("atk" ,atk)
4889 ("cairo" ,cairo)
4890 ("dbus-glib" ,dbus-glib)
4891 ("clutter" ,clutter)
4892 ("clutter-gtk" ,clutter-gtk)
4893 ("clutter-gst" ,clutter-gst)
4894 ("xorgproto" ,xorgproto)
4895 ("libxxf86vm" ,libxxf86vm)
4896 ("libxtst" ,libxtst)
4897 ("libxrandr" ,libxrandr)
4898 ("libxml2" ,libxml2)
4899 ("libsoup" ,libsoup)
4900 ("libpeas" ,libpeas)
4901 ("librsvg" ,librsvg)
4902 ("lirc" ,lirc)
4903 ("gnome-desktop" ,gnome-desktop)
4904 ("gstreamer" ,gstreamer)
4905 ("gst-plugins-base" ,gst-plugins-base)
4906 ("gst-plugins-good" ,gst-plugins-good)
4907 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4908 ("adwaita-icon-theme" ,adwaita-icon-theme)
4909 ("python" ,python)
4910 ("python-pygobject" ,python-pygobject)
4911 ("totem-pl-parser" ,totem-pl-parser)
4912 ("grilo" ,grilo)
4913 ("grilo-plugins" ,grilo-plugins)
4914 ("vala" ,vala)))
4915 (arguments
4916 `(#:glib-or-gtk? #t
4917
4918 ;; Disable automatic GStreamer plugin installation via PackageKit and
4919 ;; all that.
4920 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4921
4922 ;; Do not build .a files for the plugins, it's
4923 ;; completely useless. This saves 2 MiB.
4924 "--default-library" "shared")
4925 #:phases
4926 (modify-phases %standard-phases
4927 (add-after 'unpack 'skip-gtk-update-icon-cache
4928 ;; Don't create 'icon-theme.cache'.
4929 (lambda _
4930 (substitute* "meson_post_install.py"
4931 (("gtk-update-icon-cache") "true"))
4932 #t))
4933 (add-before
4934 'install 'disable-cache-generation
4935 (lambda _
4936 (setenv "DESTDIR" "/")
4937 #t))
4938 (add-before
4939 'check 'pre-check
4940 (lambda _
4941 ;; Tests require a running X server.
4942 (system "Xvfb :1 &")
4943 (setenv "DISPLAY" ":1")
4944 #t))
4945 (add-after
4946 'install 'wrap-totem
4947 (lambda* (#:key inputs outputs #:allow-other-keys)
4948 (let ((out (assoc-ref outputs "out"))
4949 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4950 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4951 (wrap-program (string-append out "/bin/totem")
4952 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4953 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4954 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4955 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4956 #t)))))
4957 (home-page "https://wiki.gnome.org/Apps/Videos")
4958 (synopsis "Simple media player for GNOME based on GStreamer")
4959 (description "Totem is a simple yet featureful media player for GNOME
4960 which can read a large number of file formats.")
4961 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4962 ;; to be used and distributed together with GStreamer and Totem. See
4963 ;; file://COPYING in the source distribution for details.
4964 (license license:gpl2+)))
4965
4966 (define-public rhythmbox
4967 (package
4968 (name "rhythmbox")
4969 (version "3.4.4")
4970 (source (origin
4971 (method url-fetch)
4972 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4973 (version-major+minor version) "/"
4974 "rhythmbox-" version ".tar.xz"))
4975 (sha256
4976 (base32
4977 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4978 (build-system glib-or-gtk-build-system)
4979 (arguments
4980 `(#:configure-flags
4981 (list "--enable-lirc"
4982 "--enable-python"
4983 "--enable-vala"
4984 "--with-brasero"
4985 "--with-gudev"
4986 "--with-libsecret")
4987 #:phases
4988 (modify-phases %standard-phases
4989 (add-after
4990 'install 'wrap-rhythmbox
4991 (lambda* (#:key inputs outputs #:allow-other-keys)
4992 (let ((out (assoc-ref outputs "out"))
4993 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4994 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4995 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4996 (python-path (getenv "PYTHONPATH")))
4997 (wrap-program (string-append out "/bin/rhythmbox")
4998 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4999 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5000 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5001 `("PYTHONPATH" ":" prefix (,python-path))))
5002 #t)))))
5003 (propagated-inputs
5004 `(("dconf" ,dconf)))
5005 (native-inputs
5006 `(("itstool" ,itstool)
5007 ("intltool" ,intltool)
5008 ("glib" ,glib "bin")
5009 ("gobject-introspection" ,gobject-introspection)
5010 ("desktop-file-utils" ,desktop-file-utils)
5011 ("pkg-config" ,pkg-config)
5012 ("xmllint" ,libxml2)))
5013 (inputs
5014 `(("json-glib" ,json-glib)
5015 ("tdb" ,tdb)
5016 ("gnome-desktop" ,gnome-desktop)
5017 ("python" ,python)
5018 ("python-pygobject" ,python2-pygobject)
5019 ("vala" ,vala)
5020 ("gmime" ,gmime)
5021 ("adwaita-icon-theme" ,adwaita-icon-theme)
5022 ("grilo" ,grilo)
5023 ("grilo-plugins" ,grilo-plugins)
5024 ("gstreamer" ,gstreamer)
5025 ("gst-plugins-base" ,gst-plugins-base)
5026 ("gst-plugins-good" ,gst-plugins-good)
5027 ("totem-pl-parser" ,totem-pl-parser)
5028 ("libgudev" ,libgudev)
5029 ;;("libmtp" ,libmtp) FIXME: Not detected
5030 ("libsecret" ,libsecret)
5031 ("libsoup" ,libsoup)
5032 ("libnotify" ,libnotify)
5033 ("libpeas" ,libpeas)
5034 ("lirc" ,lirc)
5035 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5036 ;;("clutter" ,clutter)
5037 ;;("clutter-gtk" ,clutter-gtk)
5038 ;;("clutter-gst" ,clutter-gst)
5039 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5040 ("atk" ,atk)
5041 ("pango" ,pango)
5042 ("gtk+" ,gtk+)
5043 ;; TODO:
5044 ;; * libgpod
5045 ;; * mx
5046 ("brasero" ,brasero)))
5047 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5048 (synopsis "Music player for GNOME")
5049 (description "Rhythmbox is a music playing application for GNOME. It
5050 supports playlists, song ratings, and any codecs installed through gstreamer.")
5051 (license license:gpl2+)))
5052
5053 (define-public eog
5054 (package
5055 (name "eog")
5056 (version "3.34.1")
5057 (source (origin
5058 (method url-fetch)
5059 (uri (string-append "mirror://gnome/sources/" name "/"
5060 (version-major+minor version) "/"
5061 name "-" version ".tar.xz"))
5062 (sha256
5063 (base32
5064 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5065 (build-system meson-build-system)
5066 (arguments
5067 `(#:configure-flags
5068 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5069 (list (string-append "-Dc_link_args=-Wl,-rpath="
5070 (assoc-ref %outputs "out") "/lib/eog"))
5071 #:phases
5072 (modify-phases %standard-phases
5073 (add-after 'unpack 'skip-gtk-update-icon-cache
5074 ;; Don't create 'icon-theme.cache'.
5075 (lambda _
5076 (substitute* "meson_post_install.py"
5077 (("gtk-update-icon-cache") "true"))
5078 #t))
5079 (add-after 'install 'wrap-eog
5080 (lambda* (#:key outputs #:allow-other-keys)
5081 (let ((out (assoc-ref outputs "out"))
5082 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5083 (wrap-program (string-append out "/bin/eog")
5084 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5085 #t)))))
5086 (propagated-inputs
5087 `(("dconf" ,dconf)))
5088 (native-inputs
5089 `(("intltool" ,intltool)
5090 ("itstool" ,itstool)
5091 ("glib" ,glib "bin")
5092 ("gobject-introspection" ,gobject-introspection)
5093 ("pkg-config" ,pkg-config)
5094 ("xmllint" ,libxml2)))
5095 (inputs
5096 `(("gnome-desktop" ,gnome-desktop)
5097 ("shared-mime-info" ,shared-mime-info)
5098 ("adwaita-icon-theme" ,adwaita-icon-theme)
5099 ("exempi" ,exempi)
5100 ("lcms" ,lcms)
5101 ("libexif" ,libexif)
5102 ("libpeas" ,libpeas)
5103 ("libjpeg" ,libjpeg-turbo)
5104 ("librsvg" ,librsvg-next)
5105 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5106 ("gtk+" ,gtk+)))
5107 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5108 (synopsis "GNOME image viewer")
5109 (description "Eye of GNOME is the GNOME image viewer. It
5110 supports image conversion, rotation, and slideshows.")
5111 (license license:gpl2+)))
5112
5113 (define-public eog-plugins
5114 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5115 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5116 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5117 ;; 'XDG_DATA_DIRS' appropriately set.
5118 (package
5119 (name "eog-plugins")
5120 (version "3.26.4")
5121 (source (origin
5122 (method url-fetch)
5123 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5124 (version-major+minor version) "/"
5125 "eog-plugins-" version ".tar.xz"))
5126 (sha256
5127 (base32
5128 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5129 (build-system gnu-build-system)
5130 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5131 (synopsis "Extensions for the Eye of GNOME image viewer")
5132 (native-inputs
5133 `(("pkg-config" ,pkg-config)
5134 ("gettext" ,gettext-minimal)))
5135 (inputs
5136 `(("eog" ,eog)
5137 ("glib" ,glib)
5138 ("gtk+" ,gtk+)
5139 ("libpeas" ,libpeas)
5140 ("libexif" ,libexif)
5141 ("libchamplain" ,libchamplain)))
5142 (description
5143 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5144 notably:
5145
5146 @itemize
5147 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5148 @item @dfn{Map}, which displays a map of where the picture was taken on the
5149 side panel;
5150 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5151 @end itemize\n")
5152
5153 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5154 ;; long suspicious byte stream that goes to a
5155 ;; ".gresource.eog_postasa_plugin" ELF section.
5156 (license license:gpl2+)))
5157
5158 (define-public libgudev
5159 (package
5160 (name "libgudev")
5161 (version "232")
5162 (source (origin
5163 (method url-fetch)
5164 (uri (string-append "mirror://gnome/sources/" name "/"
5165 version "/" name "-" version ".tar.xz"))
5166 (sha256
5167 (base32
5168 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5169 (build-system gnu-build-system)
5170 (arguments
5171 '(#:configure-flags
5172 ;; umockdev depends on libgudev.
5173 (list "--disable-umockdev")))
5174 (native-inputs
5175 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5176 ("gobject-introspection" ,gobject-introspection)
5177 ("pkg-config" ,pkg-config)))
5178 (propagated-inputs
5179 `(("glib" ,glib))) ; required by gudev-1.0.pc
5180 (inputs
5181 `(("udev" ,eudev)))
5182 (home-page "https://wiki.gnome.org/Projects/libgudev")
5183 (synopsis "GObject bindings for libudev")
5184 (description
5185 "This library provides GObject bindings for libudev. It was originally
5186 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5187 (license license:lgpl2.1+)))
5188
5189 (define-public gvfs
5190 (package
5191 (name "gvfs")
5192 (version "1.40.1")
5193 (source (origin
5194 (method url-fetch)
5195 (uri (string-append "mirror://gnome/sources/gvfs/"
5196 (version-major+minor version) "/"
5197 "gvfs-" version ".tar.xz"))
5198 (sha256
5199 (base32
5200 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5201 (build-system meson-build-system)
5202 (arguments
5203 '(#:glib-or-gtk? #t
5204 #:configure-flags
5205 (list "-Dsystemduserunitdir=no"
5206 "-Dtmpfilesdir=no"
5207 ;; Otherwise, the RUNPATH will lack the final path component.
5208 (string-append "-Dc_link_args=-Wl,-rpath="
5209 (assoc-ref %outputs "out") "/lib/gvfs"))))
5210 (native-inputs
5211 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5212 ("gettext" ,gettext-minimal)
5213 ("gtk-doc" ,gtk-doc)
5214 ("pkg-config" ,pkg-config)
5215 ("xsltproc" ,libxslt)))
5216 (inputs
5217 `(("avahi" ,avahi)
5218 ("docbook-xml" ,docbook-xml-4.2)
5219 ("docbook-xsl" ,docbook-xsl)
5220 ("dbus" ,dbus)
5221 ("elogind" ,elogind)
5222 ("fuse" ,fuse)
5223 ("gcr" ,gcr)
5224 ("glib" ,glib)
5225 ("gnome-online-accounts" ,gnome-online-accounts)
5226 ("libarchive" ,libarchive)
5227 ("libbluray" ,libbluray)
5228 ("libcap" ,libcap)
5229 ("libcdio-paranoia" ,libcdio-paranoia)
5230 ("libgcrypt" ,libgcrypt)
5231 ("libgdata" ,libgdata)
5232 ("libgphoto2" ,libgphoto2)
5233 ("libgudev" ,libgudev)
5234 ("libimobiledevice" ,libimobiledevice)
5235 ("libmtp" ,libmtp)
5236 ("libnfs" ,libnfs)
5237 ("libsecret" ,libsecret)
5238 ("libsmbclient" ,samba)
5239 ("libsoup" ,libsoup)
5240 ("libxml2" ,libxml2)
5241 ("openssh" ,openssh)
5242 ("polkit" ,polkit)
5243 ("udisks" ,udisks)))
5244 (home-page "https://wiki.gnome.org/gvfs/")
5245 (synopsis "Userspace virtual file system for GIO")
5246 (description
5247 "GVFS is a userspace virtual file system designed to work with the I/O
5248 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5249 to all applications using the GIO API. It also supports exposing the GVFS
5250 mounts to non-GIO applications using FUSE.
5251
5252 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5253 DAV, and others.")
5254 (license license:lgpl2.0+)))
5255
5256 (define-public gusb
5257 (package
5258 (name "gusb")
5259 (version "0.3.0")
5260 (source (origin
5261 (method git-fetch)
5262 (uri (git-reference
5263 (url "https://github.com/hughsie/libgusb.git")
5264 (commit version)))
5265 (file-name (git-file-name name version))
5266 (sha256
5267 (base32
5268 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5269 (build-system meson-build-system)
5270 (native-inputs
5271 `(("gobject-introspection" ,gobject-introspection)
5272 ("pkg-config" ,pkg-config)
5273 ("vala" ,vala)
5274 ("gtk-doc" ,gtk-doc)))
5275 (propagated-inputs
5276 ;; Both of these are required by gusb.pc.
5277 `(("glib" ,glib)
5278 ("libusb" ,libusb)))
5279 (arguments
5280 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5281 (home-page "https://github.com/hughsie/libgusb")
5282 (synopsis "GLib binding for libusb1")
5283 (description
5284 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5285 asynchronous control, bulk and interrupt transfers with proper cancellation
5286 and integration into a mainloop. This makes it easy to integrate low level
5287 USB transfers with your high-level application or system daemon.")
5288 (license license:lgpl2.1+)))
5289
5290 (define-public simple-scan
5291 (package
5292 (name "simple-scan")
5293 (version "3.36.0")
5294 (source
5295 (origin
5296 (method url-fetch)
5297 (uri (string-append "mirror://gnome/sources/simple-scan/"
5298 (version-major+minor version) "/"
5299 "simple-scan-" version ".tar.xz"))
5300 (sha256
5301 (base32 "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"))))
5302 (build-system meson-build-system)
5303 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5304 (arguments
5305 '(#:glib-or-gtk? #t))
5306 (inputs
5307 `(("gtk" ,gtk+)
5308 ("zlib" ,zlib)
5309 ("cairo" ,cairo)
5310 ("colord" ,colord)
5311 ("gdk-pixbuf" ,gdk-pixbuf)
5312 ("gusb" ,gusb)
5313 ("libsane" ,sane-backends)))
5314 (native-inputs
5315 `(("gettext" ,gettext-minimal)
5316 ("itstool" ,itstool)
5317 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5318 ("pkg-config" ,pkg-config)
5319 ("vala" ,vala)
5320 ("xmllint" ,libxml2)))
5321 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5322 (synopsis "Document and image scanner")
5323 (description
5324 "Document Scanner is an easy-to-use application that lets you connect your
5325 scanner and quickly capture images and documents in an appropriate format. It
5326 supports any scanner for which a suitable SANE driver is available, which is
5327 almost all of them.")
5328 (license license:gpl3+)))
5329
5330 (define-public eolie
5331 (package
5332 (name "eolie")
5333 (version "0.9.98.1")
5334 (source (origin
5335 (method url-fetch)
5336 (uri (string-append "https://adishatz.org/eolie/eolie-"
5337 version ".tar.xz"))
5338 (sha256
5339 (base32
5340 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5341 (build-system meson-build-system)
5342 (arguments
5343 `(#:glib-or-gtk? #t
5344 #:phases
5345 (modify-phases %standard-phases
5346 (add-after 'unpack 'skip-gtk-update-icon-cache
5347 ;; Don't create 'icon-theme.cache'.
5348 (lambda _
5349 (substitute* "meson_post_install.py"
5350 (("gtk-update-icon-cache") "true"))
5351 #t))
5352 (add-after 'wrap 'wrap-more
5353 (lambda* (#:key inputs outputs #:allow-other-keys)
5354 (let* ((out (assoc-ref outputs "out"))
5355 ;; These libraries must be on LD_LIBRARY_PATH.
5356 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5357 "atk" "gtk+" "gsettings-desktop-schemas"
5358 "gobject-introspection"))
5359 (path (string-join
5360 (map (lambda (lib)
5361 (string-append (assoc-ref inputs lib) "/lib"))
5362 libs)
5363 ":")))
5364 (wrap-program (string-append out "/bin/eolie")
5365 `("LD_LIBRARY_PATH" ":" prefix (,path))
5366 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5367 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5368 #t)))))
5369 (native-inputs
5370 `(("intltool" ,intltool)
5371 ("itstool" ,itstool)
5372 ("pkg-config" ,pkg-config)
5373 ("python" ,python)
5374 ("glib:bin" ,glib "bin")))
5375 (inputs
5376 `(("gobject-introspection" ,gobject-introspection)
5377 ("glib-networking" ,glib-networking)
5378 ("cairo" ,cairo)
5379 ("gtk+" ,gtk+)
5380 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5381 ("python" ,python-wrapper)
5382 ("python-dateutil" ,python-dateutil)
5383 ("python-pyfxa" ,python-pyfxa)
5384 ("python-pygobject" ,python-pygobject)
5385 ("python-pycairo" ,python-pycairo)
5386 ("python-pycrypto" ,python-pycrypto)
5387 ("libsecret" ,libsecret)
5388 ("gtkspell3" ,gtkspell3)
5389 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5390 ("webkitgtk" ,webkitgtk)))
5391 (home-page "https://wiki.gnome.org/Apps/Eolie")
5392 (synopsis "Web browser for GNOME")
5393 (description
5394 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5395 a secret password store, an adblocker, and a modern UI.")
5396 (license license:gpl3+)))
5397
5398 (define-public epiphany
5399 (package
5400 (name "epiphany")
5401 (version "3.34.2")
5402 (source (origin
5403 (method url-fetch)
5404 (uri (string-append "mirror://gnome/sources/epiphany/"
5405 (version-major+minor version) "/"
5406 "epiphany-" version ".tar.xz"))
5407 (sha256
5408 (base32
5409 "18d48vcp2nxs63bddkdplslgbnlfq79pm2ivl8hk38kkggy3dahf"))))
5410
5411 (build-system meson-build-system)
5412 (arguments
5413 ;; FIXME: tests run under Xvfb, but fail with:
5414 ;; /src/bookmarks/ephy-bookmarks/create:
5415 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5416 ;; subsystem
5417 ;; FAIL
5418 '(#:tests? #f
5419 #:glib-or-gtk? #t
5420 #:phases
5421 (modify-phases %standard-phases
5422 (add-after 'unpack 'skip-gtk-update-icon-cache
5423 ;; Don't create 'icon-theme.cache'.
5424 (lambda _
5425 (substitute* "post_install.py"
5426 (("gtk-update-icon-cache") "true"))
5427 #t)))
5428 #:configure-flags
5429 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5430 (list (string-append "-Dc_link_args=-Wl,-rpath="
5431 (assoc-ref %outputs "out") "/lib/epiphany"))))
5432 (propagated-inputs
5433 `(("dconf" ,dconf)))
5434 (native-inputs
5435 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5436 ("glib:bin" ,glib "bin") ; for glib-mkenums
5437 ("intltool" ,intltool)
5438 ("itstool" ,itstool)
5439 ("pkg-config" ,pkg-config)
5440 ("xmllint" ,libxml2)))
5441 (inputs
5442 `(("avahi" ,avahi)
5443 ("gcr" ,gcr)
5444 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5445 ("glib-networking" ,glib-networking)
5446 ("gnome-desktop" ,gnome-desktop)
5447 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5448 ("json-glib" ,json-glib)
5449 ("iso-codes" ,iso-codes)
5450 ("libdazzle" ,libdazzle)
5451 ("libnotify" ,libnotify)
5452 ("libsecret" ,libsecret)
5453 ("libxslt" ,libxslt)
5454 ("nettle" ,nettle) ; for hogweed
5455 ("sqlite" ,sqlite)
5456 ("webkitgtk" ,webkitgtk)))
5457 (home-page "https://wiki.gnome.org/Apps/Web")
5458 (synopsis "GNOME web browser")
5459 (description
5460 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5461 principles are simplicity and standards compliance.")
5462 (license license:gpl2+)))
5463
5464 (define-public d-feet
5465 (package
5466 (name "d-feet")
5467 (version "0.3.14")
5468 (source (origin
5469 (method url-fetch)
5470 (uri (string-append "mirror://gnome/sources/" name "/"
5471 (version-major+minor version) "/"
5472 name "-" version ".tar.xz"))
5473 (sha256
5474 (base32
5475 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5476 (build-system glib-or-gtk-build-system)
5477 (arguments
5478 '(#:out-of-source? #f ; tests need to run in the source directory.
5479 #:phases
5480 (modify-phases %standard-phases
5481 (add-before
5482 'check 'pre-check
5483 (lambda _
5484 ;; The test suite requires a running X server.
5485 (system "Xvfb :1 &")
5486 (setenv "DISPLAY" ":1")
5487 ;; Don't fail on missing '/etc/machine-id'.
5488 (setenv "DBUS_FATAL_WARNINGS" "0")
5489 ;; tests.py and window.py don't meet E402:
5490 ;; E402 module level import not at top of file
5491 (substitute* "src/tests/Makefile"
5492 (("--ignore=E123") "--ignore=E123,E402"))
5493 #t))
5494 (add-after
5495 'install 'wrap-program
5496 (lambda* (#:key outputs #:allow-other-keys)
5497 (let ((prog (string-append (assoc-ref outputs "out")
5498 "/bin/d-feet")))
5499 (wrap-program prog
5500 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5501 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5502 #t))))))
5503 (native-inputs
5504 `(("intltool" ,intltool)
5505 ("itstool" ,itstool)
5506 ("pkg-config" ,pkg-config)
5507 ("python-pep8" ,python-pep8)
5508 ("xmllint" ,libxml2)
5509 ("xorg-server" ,xorg-server-for-tests)))
5510 (inputs
5511 `(("gobject-introspection" ,gobject-introspection)
5512 ("gtk+" ,gtk+)
5513 ("python" ,python-wrapper)
5514 ("hicolor-icon-theme" ,hicolor-icon-theme)
5515 ("python-pygobject" ,python-pygobject)))
5516 (home-page "https://wiki.gnome.org/Apps/DFeet")
5517 (synopsis "D-Bus debugger")
5518 (description
5519 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5520 of running programs and invoke methods on those interfaces.")
5521 (license license:gpl2+)))
5522
5523 (define-public yelp-xsl
5524 (package
5525 (name "yelp-xsl")
5526 (version "3.34.2")
5527 (source (origin
5528 (method url-fetch)
5529 (uri (string-append "mirror://gnome/sources/" name "/"
5530 (version-major+minor version) "/"
5531 name "-" version ".tar.xz"))
5532 (sha256
5533 (base32
5534 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5535 (build-system gnu-build-system)
5536 (native-inputs
5537 `(("gettext-minimal" ,gettext-minimal)
5538 ("itstool" ,itstool)
5539 ("xmllint" ,libxml2)))
5540 (home-page "https://wiki.gnome.org/Apps/Yelp")
5541 (synopsis "XSL stylesheets for Yelp")
5542 (description
5543 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5544 to format Docbook and Mallard documents.")
5545 (license license:gpl2+)))
5546
5547 (define-public yelp
5548 (package
5549 (name "yelp")
5550 (version "3.32.2")
5551 (source (origin
5552 (method url-fetch)
5553 (uri (string-append "mirror://gnome/sources/" name "/"
5554 (version-major+minor version) "/"
5555 name "-" version ".tar.xz"))
5556 (sha256
5557 (base32
5558 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5559 (build-system glib-or-gtk-build-system)
5560 (native-inputs
5561 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5562 ("intltool" ,intltool)
5563 ("itstool" ,itstool)
5564 ("pkg-config" ,pkg-config)))
5565 (propagated-inputs
5566 `(("dconf" ,dconf)))
5567 (inputs
5568 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5569 ("libxslt" ,libxslt)
5570 ("sqlite" ,sqlite)
5571 ("webkitgtk" ,webkitgtk)
5572 ("yelp-xsl" ,yelp-xsl)))
5573 (home-page "https://wiki.gnome.org/Apps/Yelp")
5574 (synopsis "GNOME help browser")
5575 (description
5576 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5577 man, info, and HTML documents. It can locate documents according to the
5578 freedesktop.org help system specification.")
5579 (license license:gpl2+)))
5580
5581 (define-public yelp-tools
5582 (package
5583 (name "yelp-tools")
5584 (version "3.32.2")
5585 (source (origin
5586 (method url-fetch)
5587 (uri (string-append "mirror://gnome/sources/" name "/"
5588 (version-major+minor version) "/"
5589 name "-" version ".tar.xz"))
5590 (sha256
5591 (base32
5592 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5593 (build-system gnu-build-system)
5594 (native-inputs
5595 `(("pkg-config" ,pkg-config)))
5596 (propagated-inputs
5597 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5598 `(("itstool" ,itstool)
5599 ("xmllint" ,libxml2)
5600 ("xsltproc" ,libxslt)))
5601 (inputs
5602 `(("yelp-xsl" ,yelp-xsl)))
5603 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5604 (synopsis "Yelp documentation tools")
5605 (description
5606 "Yelp-tools is a collection of scripts and build utilities to help create,
5607 manage, and publish documentation for Yelp and the web. Most of the heavy
5608 lifting is done by packages like yelp-xsl and itstool. This package just
5609 wraps things up in a developer-friendly way.")
5610 (license license:gpl2+)))
5611
5612 (define-public libgee
5613 (package
5614 (name "libgee")
5615 (version "0.20.3")
5616 (source (origin
5617 (method url-fetch)
5618 (uri (string-append "mirror://gnome/sources/libgee/"
5619 (version-major+minor version) "/"
5620 "libgee-" version ".tar.xz"))
5621 (sha256
5622 (base32
5623 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5624 (build-system gnu-build-system)
5625 (arguments
5626 `(#:phases
5627 (modify-phases %standard-phases
5628 (add-after 'unpack 'fix-introspection-install-dir
5629 (lambda* (#:key outputs #:allow-other-keys)
5630 (let ((out (assoc-ref outputs "out")))
5631 (substitute* "gee/Makefile.in"
5632 (("@INTROSPECTION_GIRDIR@")
5633 (string-append out "/share/gir-1.0/"))
5634 (("@INTROSPECTION_TYPELIBDIR@")
5635 (string-append out "/lib/girepository-1.0/")))))))))
5636 (native-inputs
5637 `(("glib" ,glib "bin")
5638 ("pkg-config" ,pkg-config)))
5639 (inputs
5640 `(("glib" ,glib)
5641 ("gobject-introspection" ,gobject-introspection)))
5642 (home-page "https://wiki.gnome.org/Projects/Libgee")
5643 (synopsis "GObject collection library")
5644 (description
5645 "Libgee is a utility library providing GObject-based interfaces and
5646 classes for commonly used data structures.")
5647 (license license:lgpl2.1+)))
5648
5649 (define-public gexiv2
5650 (package
5651 (name "gexiv2")
5652 (version "0.12.0")
5653 (source (origin
5654 (method url-fetch)
5655 (uri (string-append "mirror://gnome/sources/" name "/"
5656 (version-major+minor version) "/"
5657 name "-" version ".tar.xz"))
5658 (sha256
5659 (base32
5660 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5661 (build-system meson-build-system)
5662 (native-inputs
5663 `(("gcr" ,gcr)
5664 ("glib" ,glib "bin")
5665 ("pkg-config" ,pkg-config)
5666 ("vala" ,vala)))
5667 (propagated-inputs
5668 ;; Listed in "Requires" section of gexiv2.pc
5669 `(("exiv2" ,exiv2)))
5670 (inputs
5671 `(("glib" ,glib)
5672 ("gobject-introspection" ,gobject-introspection)))
5673 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5674 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5675 (description
5676 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5677 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5678 metadata in photo and video files of various formats.")
5679 (license license:gpl2+)))
5680
5681 (define-public shotwell
5682 (package
5683 (name "shotwell")
5684 (version "0.30.8")
5685 (source (origin
5686 (method url-fetch)
5687 (uri (string-append "mirror://gnome/sources/shotwell/"
5688 (version-major+minor version) "/"
5689 "shotwell-" version ".tar.xz"))
5690 (sha256
5691 (base32
5692 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
5693 (build-system meson-build-system)
5694 (arguments
5695 '(#:glib-or-gtk? #t
5696 #:phases
5697 (modify-phases %standard-phases
5698 (add-after 'unpack 'skip-gtk-update-icon-cache
5699 (lambda _
5700 (substitute* "build-aux/meson/postinstall.py"
5701 (("gtk-update-icon-cache") (which "true"))
5702 (("update-desktop-database") (which "true")))
5703 #t)))))
5704 (propagated-inputs
5705 `(("dconf" ,dconf)))
5706 (native-inputs
5707 `(("gettext" ,gettext-minimal)
5708 ("glib:bin" ,glib "bin")
5709 ("itstool" ,itstool)
5710 ("pkg-config" ,pkg-config)
5711 ("vala" ,vala)))
5712 (inputs
5713 `(("gcr" ,gcr)
5714 ("gexiv2" ,gexiv2)
5715 ("gst-plugins-base" ,gst-plugins-base)
5716 ("gstreamer" ,gstreamer)
5717 ("json-glib" ,json-glib)
5718 ("libgdata" ,libgdata)
5719 ("libgee" ,libgee)
5720 ("libgphoto2" ,libgphoto2)
5721 ("libgudev" ,libgudev)
5722 ("libraw" ,libraw)
5723 ("libsoup" ,libsoup)
5724 ("libxml2" ,libxml2)
5725 ("sqlite" ,sqlite)
5726 ("webkitgtk" ,webkitgtk)))
5727 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5728 (synopsis "Photo manager for GNOME 3")
5729 (description
5730 "Shotwell is a digital photo manager designed for the GNOME desktop
5731 environment. It allows you to import photos from disk or camera, organize
5732 them by keywords and events, view them in full-window or fullscreen mode, and
5733 share them with others via social networking and more.")
5734 (license license:lgpl2.1+)))
5735
5736 (define-public file-roller
5737 (package
5738 (name "file-roller")
5739 (version "3.32.3")
5740 (source (origin
5741 (method url-fetch)
5742 (uri (string-append "mirror://gnome/sources/file-roller/"
5743 (version-major+minor version) "/"
5744 "file-roller-" version ".tar.xz"))
5745 (sha256
5746 (base32
5747 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5748 (build-system meson-build-system)
5749 (native-inputs
5750 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5751 ("intltool" ,intltool)
5752 ("itstool" ,itstool)
5753 ("pkg-config" ,pkg-config)
5754 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5755 ("glib:bin" ,glib "bin")))
5756 ;; TODO: Add libnautilus.
5757 (inputs
5758 `(("gtk+" ,gtk+)
5759 ("gdk-pixbuf" ,gdk-pixbuf)
5760 ("json-glib" ,json-glib)
5761 ("libarchive" ,libarchive)
5762 ("libnotify" ,libnotify)
5763 ("nettle" ,nettle)
5764 ("libxml2" ,libxml2)))
5765 (synopsis "Graphical archive manager for GNOME")
5766 (description "File Roller is an archive manager for the GNOME desktop
5767 environment that allows users to view, unpack, and create compressed archives
5768 such as gzip tarballs.")
5769 (home-page "http://fileroller.sourceforge.net/")
5770 (license license:gpl2+)))
5771
5772 (define-public gnome-session
5773 (package
5774 (name "gnome-session")
5775 (version "3.34.2")
5776 (source (origin
5777 (method url-fetch)
5778 (uri (string-append "mirror://gnome/sources/" name "/"
5779 (version-major+minor version) "/"
5780 name "-" version ".tar.xz"))
5781 (sha256
5782 (base32
5783 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5784 (arguments
5785 '(#:glib-or-gtk? #t
5786 #:phases
5787 (modify-phases %standard-phases
5788 (add-before 'configure 'pre-configure
5789 (lambda* (#:key outputs #:allow-other-keys)
5790 ;; Use elogind instead of systemd.
5791 (substitute* "meson.build"
5792 (("libsystemd-login") "libelogind")
5793 (("and libsystemd_daemon_dep.found.*") ","))
5794 (substitute* "gnome-session/gsm-systemd.c"
5795 (("#include <systemd/sd-login.h>")
5796 "#include <elogind/sd-login.h>"))
5797 ;; Remove uses of the systemd daemon.
5798 (substitute* "gnome-session/gsm-autostart-app.c"
5799 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5800 #t))
5801 (add-after 'install 'wrap-gnome-session
5802 (lambda* (#:key inputs outputs #:allow-other-keys)
5803 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5804 (let ((glib (assoc-ref inputs "glib:bin"))
5805 (out (assoc-ref outputs "out")))
5806 (wrap-program (string-append out "/bin/gnome-session")
5807 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5808 #t))))
5809
5810 #:configure-flags
5811 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5812 "-Dman=false" ; FIXME: disabled because of docbook validation error
5813 "-Dsystemd_journal=false")))
5814 (build-system meson-build-system)
5815 (native-inputs
5816 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5817 ("pkg-config" ,pkg-config)
5818 ("intltool" ,intltool)
5819 ("xsltproc" ,libxslt)
5820 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5821 ("docbook-xsl" ,docbook-xsl)
5822 ("docbook-xml" ,docbook-xml)
5823 ("xmlto" ,xmlto)))
5824 (inputs
5825 `(("elogind" ,elogind)
5826 ("gnome-desktop" ,gnome-desktop)
5827 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5828 ("gtk+" ,gtk+)
5829 ("json-glib" ,json-glib)
5830 ("libsm" ,libsm)
5831 ("libxcomposite" ,libxcomposite)
5832 ("libxtst" ,libxtst)
5833 ("mesa" ,mesa)
5834 ("upower" ,upower)
5835 ("xtrans" ,xtrans)))
5836 (synopsis "Session manager for GNOME")
5837 (description
5838 "This package contains the GNOME session manager, as well as a
5839 configuration program to choose applications starting on login.")
5840 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5841 (license license:gpl2+)))
5842
5843 (define-public gjs
5844 (package
5845 (name "gjs")
5846 (version "1.58.3")
5847 (source (origin
5848 (method url-fetch)
5849 (uri (string-append "mirror://gnome/sources/" name "/"
5850 (version-major+minor version) "/"
5851 name "-" version ".tar.xz"))
5852 (sha256
5853 (base32
5854 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
5855 (build-system gnu-build-system)
5856 (arguments
5857 '(#:phases
5858 (modify-phases %standard-phases
5859 (add-before
5860 'check 'pre-check
5861 (lambda _
5862 ;; The test suite requires a running X server.
5863 (system "Xvfb :1 &")
5864 (setenv "DISPLAY" ":1")
5865
5866 ;; For the missing /etc/machine-id.
5867 (setenv "DBUS_FATAL_WARNINGS" "0")
5868
5869 ;; Our mozjs-38 package does not compile the required Intl API
5870 ;; support for these failing tests.
5871 (substitute* "installed-tests/js/testLocale.js"
5872 ((".*toBeDefined.*") "")
5873 ((".*expect\\(datestr\\).*") ""))
5874 (substitute* "installed-tests/scripts/testCommandLine.sh"
5875 (("Valentín") "")
5876 (("☭") ""))
5877 #t)))))
5878 (native-inputs
5879 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5880 ("pkg-config" ,pkg-config)
5881 ("xmllint" ,libxml2)
5882 ;; For testing
5883 ("dbus-launch" ,dbus)
5884 ("dconf" ,dconf) ; required to properly store settings
5885 ("uuidgen" ,util-linux)
5886 ("xvfb" ,xorg-server-for-tests)))
5887 (propagated-inputs
5888 ;; These are all in the Requires.private field of gjs-1.0.pc.
5889 `(("cairo" ,cairo)
5890 ("gobject-introspection" ,gobject-introspection)
5891 ("mozjs" ,mozjs-60)))
5892 (inputs
5893 `(("gtk+" ,gtk+)
5894 ("readline" ,readline)))
5895 (synopsis "Javascript bindings for GNOME")
5896 (home-page "https://live.gnome.org/Gjs")
5897 (description
5898 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5899 javascript engine and the GObject introspection framework.")
5900 (license license:gpl2+)))
5901
5902 (define-public gedit
5903 (package
5904 (name "gedit")
5905 (version "3.34.1")
5906 (source (origin
5907 (method url-fetch)
5908 (uri (string-append "mirror://gnome/sources/" name "/"
5909 (version-major+minor version) "/"
5910 name "-" version ".tar.xz"))
5911 (sha256
5912 (base32
5913 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
5914 (build-system meson-build-system)
5915 (arguments
5916 `(#:glib-or-gtk? #t
5917 #:configure-flags
5918 ;; Otherwise, the RUNPATH will lack the final path component.
5919 (list (string-append "-Dc_link_args=-Wl,-rpath="
5920 (assoc-ref %outputs "out") "/lib/gedit"))
5921
5922 ;; XXX: Generated .h files are sometimes used before being built.
5923 #:parallel-build? #f
5924
5925 #:phases
5926 (modify-phases %standard-phases
5927 (add-after 'unpack 'skip-gtk-update-icon-cache
5928 ;; Don't create 'icon-theme.cache'.
5929 (lambda _
5930 (substitute* "build-aux/meson/post_install.py"
5931 (("gtk-update-icon-cache") (which "true")))
5932 #t))
5933 (add-after 'unpack 'patch-libgd-fetch
5934 (lambda* (#:key inputs #:allow-other-keys)
5935 (let ((libgd (assoc-ref inputs "libgd")))
5936 ;; Calling git is unnecessary because libgd is fetched as a
5937 ;; native input to this package.
5938 (substitute* "meson.build"
5939 ((".*git.*") ""))
5940 (copy-recursively libgd "subprojects/libgd")
5941 #t)))
5942 (add-after 'install 'wrap-gedit
5943 (lambda* (#:key inputs outputs #:allow-other-keys)
5944 (let ((out (assoc-ref outputs "out"))
5945 (gtksourceview (assoc-ref inputs "gtksourceview"))
5946 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5947 (python-path (getenv "PYTHONPATH")))
5948 (wrap-program (string-append out "/bin/gedit")
5949 ;; For plugins.
5950 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5951 `("PYTHONPATH" ":" prefix (,python-path))
5952 ;; For language-specs.
5953 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5954 "/share")))))
5955 #t)))))
5956 (propagated-inputs
5957 `(("dconf" ,dconf)))
5958 (native-inputs
5959 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5960 ("intltool" ,intltool)
5961 ("itstool" ,itstool)
5962 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5963 ("gobject-introspection" ,gobject-introspection)
5964 ("libgd"
5965 ,(origin
5966 (method git-fetch)
5967 (uri (git-reference
5968 (url "https://gitlab.gnome.org/GNOME/libgd")
5969 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5970 (file-name (git-file-name "libgd" version))
5971 (sha256
5972 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
5973 ("pkg-config" ,pkg-config)))
5974 (inputs
5975 `(("glib" ,glib)
5976 ("gspell" ,gspell)
5977 ("gtk+" ,gtk+)
5978 ("gtksourceview" ,gtksourceview)
5979 ("libpeas" ,libpeas)
5980 ("libxml2" ,libxml2)
5981 ("iso-codes" ,iso-codes)
5982 ("python-pygobject" ,python-pygobject)
5983 ("python" ,python)
5984 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5985 ("libx11" ,libx11)
5986 ("vala" ,vala)
5987 ("adwaita-icon-theme" ,adwaita-icon-theme)
5988 ("libsoup" ,libsoup)
5989 ("gnome-desktop" ,gnome-desktop)))
5990 (home-page "https://wiki.gnome.org/Apps/Gedit")
5991 (synopsis "GNOME text editor")
5992 (description "While aiming at simplicity and ease of use, gedit is a
5993 powerful general purpose text editor.")
5994 (license license:gpl2+)))
5995
5996 (define-public zenity
5997 (package
5998 (name "zenity")
5999 (version "3.32.0")
6000 (source (origin
6001 (method url-fetch)
6002 (uri (string-append "mirror://gnome/sources/zenity/"
6003 (version-major+minor version) "/"
6004 "zenity-" version ".tar.xz"))
6005 (sha256
6006 (base32
6007 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6008 (build-system gnu-build-system)
6009 (native-inputs
6010 `(("gettext" ,gettext-minimal)
6011 ("itstool" ,itstool)
6012 ("pkg-config" ,pkg-config)))
6013 (inputs
6014 `(("libnotify" ,libnotify)
6015 ("webkitgtk" ,webkitgtk)))
6016 (synopsis "Display graphical dialog boxes from shell scripts")
6017 (home-page "https://www.gnome.org")
6018 (description
6019 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6020 to display dialog boxes from the commandline and shell scripts.")
6021 (license license:lgpl2.0+)))
6022
6023 (define-public mutter
6024 (package
6025 (name "mutter")
6026 (version "3.34.2")
6027 (source (origin
6028 (method url-fetch)
6029 (uri (string-append "mirror://gnome/sources/" name "/"
6030 (version-major+minor version) "/"
6031 name "-" version ".tar.xz"))
6032 (sha256
6033 (base32
6034 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6035 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6036 ;; versions of cogl and clutter. As a result, many of the inputs,
6037 ;; propagated-inputs, and configure flags used in cogl and clutter are
6038 ;; needed here as well.
6039 (build-system meson-build-system)
6040 (arguments
6041 '(;; XXX: All mutter tests fail with the following error:
6042 ;; Settings schema 'org.gnome.mutter' is not installed
6043 #:tests? #f
6044 #:glib-or-gtk? #t
6045 #:configure-flags
6046 ;; TODO: Enable profiler when Sysprof is packaged.
6047 (list "-Dprofiler=false"
6048 ;; Otherwise, the RUNPATH will lack the final path component.
6049 (string-append "-Dc_link_args=-Wl,-rpath="
6050 (assoc-ref %outputs "out") "/lib:"
6051 (assoc-ref %outputs "out") "/lib/mutter-5")
6052
6053 ;; The following flags are needed for the bundled clutter
6054 (string-append "-Dxwayland_path="
6055 (assoc-ref %build-inputs "xorg-server-xwayland")
6056 "/bin/Xwayland")
6057
6058 ;; the remaining flags are needed for the bundled cogl
6059 (string-append "-Dopengl_libname="
6060 (assoc-ref %build-inputs "mesa")
6061 "/lib/libGL.so"))))
6062 (native-inputs
6063 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6064 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6065 ("gobject-introspection" ,gobject-introspection)
6066 ("intltool" ,intltool)
6067 ("pkg-config" ,pkg-config)
6068 ("xorg-server" ,xorg-server-for-tests)
6069 ;; For git build
6070 ("autoconf" ,autoconf)
6071 ("automake" ,automake)
6072 ("libtool" ,libtool)))
6073 (propagated-inputs
6074 `(;; libmutter.pc refers to these:
6075 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6076 ("gtk+" ,gtk+)
6077 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6078 ("atk" ,atk)
6079 ("cairo" ,cairo)
6080 ("gdk-pixbuf" ,gdk-pixbuf)
6081 ("glib" ,glib)
6082 ("json-glib" ,json-glib)
6083 ("libinput" ,libinput)
6084 ("libx11" ,libx11)
6085 ("libxcomposite" ,libxcomposite)
6086 ("libxdamage" ,libxdamage)
6087 ("libxext" ,libxext)
6088 ("libxfixes" ,libxfixes)
6089 ("libxkbcommon" ,libxkbcommon)
6090 ("libxrandr" ,libxrandr)
6091 ("mesa" ,mesa)
6092 ("pango" ,pango)
6093 ("udev" ,eudev)
6094 ("xinput" ,xinput)))
6095 (inputs
6096 `(("elogind" ,elogind)
6097 ("gnome-desktop" ,gnome-desktop)
6098 ("gnome-settings-daemon" ,gnome-settings-daemon)
6099 ("libcanberra-gtk" ,libcanberra)
6100 ("libgudev" ,libgudev)
6101 ("libice" ,libice)
6102 ("libsm" ,libsm)
6103 ("libwacom" ,libwacom)
6104 ("libxkbfile" ,libxkbfile)
6105 ("libxrandr" ,libxrandr)
6106 ("libxtst" ,libxtst)
6107 ("pipewire" ,pipewire)
6108 ("startup-notification" ,startup-notification)
6109 ("upower-glib" ,upower)
6110 ("xkeyboard-config" ,xkeyboard-config)
6111 ("xorg-server-xwayland" ,xorg-server-xwayland)
6112 ("zenity" ,zenity)))
6113 (synopsis "Window and compositing manager")
6114 (home-page "https://www.gnome.org")
6115 (description
6116 "Mutter is a window and compositing manager that displays and manages your
6117 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6118 Clutter toolkit with solid window-management logic inherited from the Metacity
6119 window manager.")
6120 (license license:gpl2+)))
6121
6122 (define-public gnome-online-accounts
6123 (package
6124 (name "gnome-online-accounts")
6125 (version "3.36.0")
6126 (source (origin
6127 (method url-fetch)
6128 (uri (string-append "mirror://gnome/sources/" name "/"
6129 (version-major+minor version) "/"
6130 name "-" version ".tar.xz"))
6131 (sha256
6132 (base32
6133 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6134 (outputs '("out" "lib"))
6135 (build-system glib-or-gtk-build-system)
6136 (arguments
6137 `(#:configure-flags
6138 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6139 #:phases
6140 (modify-phases %standard-phases
6141 (add-before 'configure 'patch-libgoa-output
6142 (lambda* (#:key outputs #:allow-other-keys)
6143 (let ((lib (assoc-ref outputs "lib")))
6144 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6145 (("@prefix@") lib)
6146 (("@exec_prefix@") lib)
6147 (("@libdir@") (string-append lib "/lib"))
6148 (("@includedir@") (string-append lib "/include"))
6149 (("@datadir@") (string-append lib "/share")))
6150 ;; Make sure gobject-introspection knows about the output
6151 ;; too (see <https://bugs.gnu.org/36535>).
6152 (setenv "outputs" "out lib")
6153 #t))))))
6154 (native-inputs
6155 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6156 ("gobject-introspection" ,gobject-introspection)
6157 ("intltool" ,intltool)
6158 ("pkg-config" ,pkg-config)
6159 ("vala" ,vala)
6160 ("xsltproc" ,libxslt)))
6161 (propagated-inputs
6162 `(("glib" ,glib) ; required by goa-1.0.pc
6163 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6164 (inputs
6165 `(("docbook-xsl" ,docbook-xsl)
6166 ("json-glib" ,json-glib)
6167 ("libsecret" ,libsecret)
6168 ("rest" ,rest)
6169 ("webkitgtk" ,webkitgtk)))
6170 (synopsis "Single sign-on framework for GNOME")
6171 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6172 (description
6173 "GNOME Online Accounts provides interfaces so that applications and
6174 libraries in GNOME can access the user's online accounts. It has providers for
6175 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6176 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6177 (license license:lgpl2.0+)))
6178
6179 (define-public evolution-data-server
6180 (package
6181 (name "evolution-data-server")
6182 (version "3.34.2")
6183 (source (origin
6184 (method url-fetch)
6185 (uri (string-append "mirror://gnome/sources/" name "/"
6186 (version-major+minor version) "/"
6187 name "-" version ".tar.xz"))
6188 (patches (search-patches "evolution-data-server-locales.patch"
6189 "evolution-data-server-libical-compat.patch"))
6190 (sha256
6191 (base32
6192 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6193 (build-system cmake-build-system)
6194 (arguments
6195 '(#:configure-flags
6196 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6197 (runpaths (map (lambda (s)
6198 (string-append lib "/evolution-data-server/" s))
6199 '("addressbook-backends" "calendar-backends"
6200 "camel-providers" "credential-modules"
6201 "registry-modules"))))
6202 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6203 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6204 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6205 "-DENABLE_VALA_BINDINGS=ON"
6206 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6207 (string-append lib "/evolution-data-server;")
6208 (string-join runpaths ";"))
6209 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6210 #:phases
6211 (modify-phases %standard-phases
6212 (add-after 'unpack 'disable-failing-tests
6213 (lambda _
6214 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6215 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6216 (delete-file-recursively "tests/book-migration")
6217 (substitute* "tests/CMakeLists.txt"
6218 (("add_subdirectory\\(book-migration\\)") ""))
6219 #t))
6220 (add-after 'unpack 'patch-paths
6221 (lambda _
6222 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6223 "tests/libedata-book/data-test-utils.c"
6224 "tests/libedata-book/test-book-cache-utils.c"
6225 "tests/libedata-cal/test-cal-cache-utils.c")
6226 (("/bin/rm") (which "rm")))
6227 #t))
6228 (add-before 'configure 'dont-override-rpath
6229 (lambda _
6230 (substitute* "CMakeLists.txt"
6231 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6232 ;; Remove it so the configure flag is respected.
6233 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6234 #t)))))
6235 (native-inputs
6236 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6237 ("gobject-introspection" ,gobject-introspection)
6238 ("gperf" ,gperf)
6239 ("intltool" ,intltool)
6240 ("pkg-config" ,pkg-config)
6241 ("vala" ,vala)
6242 ("python" ,python-wrapper)))
6243 (propagated-inputs
6244 ;; These are all in the Requires field of .pc files.
6245 `(("gtk+" ,gtk+)
6246 ("libical" ,libical)
6247 ("libsecret" ,libsecret)
6248 ("libsoup" ,libsoup)
6249 ("nss" ,nss)
6250 ("sqlite" ,sqlite)))
6251 (inputs
6252 `(("bdb" ,bdb)
6253 ("gcr" ,gcr)
6254 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6255 ("json-glib" ,json-glib)
6256 ("libcanberra" ,libcanberra)
6257 ("libgweather" ,libgweather)
6258 ("mit-krb5" ,mit-krb5)
6259 ("openldap" ,openldap)
6260 ("webkitgtk" ,webkitgtk)))
6261 (synopsis "Store address books and calendars")
6262 (home-page "https://wiki.gnome.org/Apps/Evolution")
6263 (description
6264 "This package provides a unified backend for programs that work with
6265 contacts, tasks, and calendar information. It was originally developed for
6266 Evolution (hence the name), but is now used by other packages as well.")
6267 (license license:lgpl2.0)))
6268
6269 (define-public caribou
6270 (package
6271 (name "caribou")
6272 (version "0.4.21")
6273 (source (origin
6274 (method url-fetch)
6275 (uri (string-append "mirror://gnome/sources/" name "/"
6276 (version-major+minor version) "/"
6277 name "-" version ".tar.xz"))
6278 (sha256
6279 (base32
6280 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6281 (build-system glib-or-gtk-build-system)
6282 (arguments
6283 '(#:phases
6284 (modify-phases %standard-phases
6285 (add-before
6286 'build 'pre-build
6287 (lambda* (#:key outputs #:allow-other-keys)
6288 (let ((out (assoc-ref outputs "out")))
6289 ;; Use absolute shared library path in Caribou-1.0.typelib.
6290 (substitute* "libcaribou/Makefile"
6291 (("--shared-library=libcaribou.so")
6292 (string-append "--shared-library="
6293 out "/lib/libcaribou.so")))
6294 #t)))
6295 (add-after 'install 'wrap-programs
6296 (lambda* (#:key outputs #:allow-other-keys)
6297 (let* ((out (assoc-ref outputs "out"))
6298 (python-path (getenv "PYTHONPATH"))
6299 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6300 (for-each
6301 (lambda (prog)
6302 (wrap-program prog
6303 `("PYTHONPATH" ":" prefix (,python-path))
6304 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6305 (list (string-append out "/bin/caribou-preferences")
6306 (string-append out "/libexec/antler-keyboard"))))
6307 #t)))))
6308 (native-inputs
6309 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6310 ("gobject-introspection" ,gobject-introspection)
6311 ("intltool" ,intltool)
6312 ("pkg-config" ,pkg-config)
6313 ("python" ,python)
6314 ("vala" ,vala)
6315 ("xsltproc" ,libxslt)))
6316 (propagated-inputs
6317 ;; caribou-1.0.pc refers to all these.
6318 `(("libgee" ,libgee)
6319 ("libxklavier" ,libxklavier)
6320 ("libxtst" ,libxtst)
6321 ("gtk+" ,gtk+)))
6322 (inputs
6323 `(("clutter" ,clutter)
6324 ("dconf" ,dconf)
6325 ("gtk+-2" ,gtk+-2)
6326 ("python-pygobject" ,python-pygobject)))
6327 (synopsis "Text entry and UI navigation application")
6328 (home-page "https://wiki.gnome.org/Projects/Caribou")
6329 (description
6330 "Caribou is an input assistive technology intended for switch and pointer
6331 users.")
6332 (license license:lgpl2.1)))
6333
6334 (define-public network-manager
6335 (package
6336 (name "network-manager")
6337 (version "1.18.4")
6338 (source (origin
6339 (method url-fetch)
6340 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6341 (version-major+minor version) "/"
6342 "NetworkManager-" version ".tar.xz"))
6343 (patches (search-patches "nm-plugin-path.patch"))
6344 (sha256
6345 (base32
6346 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6347 (modules '((guix build utils)))
6348 (snippet
6349 '(begin
6350 (substitute* "src/devices/wwan/nm-modem-manager.c"
6351 (("systemd") "elogind"))
6352 #t))))
6353 (build-system gnu-build-system)
6354 (outputs '("out"
6355 "doc")) ; 8 MiB of gtk-doc HTML
6356 (arguments
6357 '(#:configure-flags
6358 (let ((out (assoc-ref %outputs "out"))
6359 (doc (assoc-ref %outputs "doc"))
6360 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6361 "/sbin/dhclient")))
6362 (list "--with-libnm-glib" ; needed by network-manager-applet
6363 "--with-systemd-journal=no"
6364 "--with-session-tracking=elogind"
6365 "--with-suspend-resume=elogind"
6366 "--with-consolekit=no"
6367 "--with-crypto=gnutls"
6368 "--disable-config-plugin-ibft"
6369 "--sysconfdir=/etc"
6370 "--localstatedir=/var"
6371 (string-append "--with-udev-dir="
6372 out "/lib/udev")
6373 (string-append "--with-dbus-sys-dir="
6374 out "/etc/dbus-1/system.d")
6375 (string-append "--with-html-dir="
6376 doc "/share/gtk-doc/html")
6377 (string-append "--with-dhclient=" dhclient)))
6378 #:phases
6379 (modify-phases %standard-phases
6380 ;; This bare "ls" invocation breaks some tests.
6381 (add-after 'unpack 'patch-ls-invocation
6382 (lambda _
6383 (substitute* "build-aux/ltmain.sh"
6384 (("`ls -")
6385 (string-append "`" (which "ls") " -")))
6386 #t))
6387 (add-before 'configure 'pre-configure
6388 (lambda _
6389 ;; These tests try to test aspects of network-manager's
6390 ;; functionality within restricted containers, but they don't
6391 ;; cope with being already in the Guix build jail as that jail
6392 ;; lacks some features that they would like to proxy over (like
6393 ;; a /sys mount).
6394 (substitute* '("Makefile.in")
6395 (("src/platform/tests/test-address-linux") " ")
6396 (("src/platform/tests/test-cleanup-linux") " ")
6397 (("src/platform/tests/test-link-linux") " ")
6398 (("src/platform/tests/test-route-linux") " ")
6399 (("src/devices/tests/test-acd") "")
6400 (("src/devices/tests/test-arping") " ")
6401 (("src/devices/tests/test-lldp") " ")
6402 (("src/tests/test-route-manager-linux") " "))
6403 #t))
6404 (add-after 'unpack 'delete-failing-tests
6405 (lambda _
6406 ;; FIXME: These three tests fail for unknown reasons.
6407 ;; ERROR:libnm-core/tests/test-general.c:5842:
6408 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6409 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6410 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6411 ;; ERROR:libnm-core/tests/test-setting.c:907:
6412 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6413 (substitute* "Makefile.in"
6414 (("libnm-core/tests/test-general") " ")
6415 (("libnm-core/tests/test-keyfile") " ")
6416 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6417 #t))
6418 (add-before 'check 'pre-check
6419 (lambda _
6420 ;; For the missing /etc/machine-id.
6421 (setenv "DBUS_FATAL_WARNINGS" "0")
6422
6423 ;; XXX: Regenerate some of the tests that are dependent on Python version.
6424 ;; Try removing this variable for newer versions of NetworkManager.
6425 (setenv "NM_TEST_REGENERATE" "1")
6426 #t))
6427 (replace 'install
6428 (lambda _
6429 (invoke "make"
6430 "sysconfdir=/tmp"
6431 "rundir=/tmp"
6432 "statedir=/tmp"
6433 "nmstatedir=/tmp/nm"
6434 "install")
6435 #t)))))
6436 (propagated-inputs
6437 `(("glib" ,glib)))
6438 (native-inputs
6439 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6440 ("gobject-introspection" ,gobject-introspection)
6441 ("docbook-xsl" ,docbook-xsl)
6442 ("intltool" ,intltool)
6443 ("libxslt" ,libxslt)
6444 ("libxml2" ,libxml2)
6445 ("pkg-config" ,pkg-config)
6446 ;; For testing.
6447 ("python" ,python-wrapper)
6448 ("python-dbus" ,python-dbus)
6449 ("python-pygobject" ,python-pygobject)))
6450 (inputs
6451 `(("coreutils" ,coreutils) ; for ls
6452 ("curl" ,curl)
6453 ("cyrus-sasl" ,cyrus-sasl)
6454 ("dbus-glib" ,dbus-glib)
6455 ("dnsmasq" ,dnsmasq)
6456 ("eudev" ,eudev)
6457 ("gnutls" ,gnutls)
6458 ("iptables" ,iptables)
6459 ("isc-dhcp" ,isc-dhcp)
6460 ("jansson" ,jansson)
6461 ("libgcrypt" ,libgcrypt)
6462 ("libgudev" ,libgudev)
6463 ("libndp" ,libndp)
6464 ("libnl" ,libnl)
6465 ("libsoup" ,libsoup)
6466 ("modem-manager" ,modem-manager)
6467 ("newt" ,newt) ;for the 'nmtui' console interface
6468 ("polkit" ,polkit)
6469 ("ppp" ,ppp)
6470 ("readline" ,readline)
6471 ("util-linux" ,util-linux)
6472 ("elogind" ,elogind)))
6473 (synopsis "Network connection manager")
6474 (home-page "https://www.gnome.org/projects/NetworkManager/")
6475 (description
6476 "NetworkManager is a system network service that manages your network
6477 devices and connections, attempting to keep active network connectivity when
6478 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6479 devices, and provides VPN integration with a variety of different VPN
6480 services.")
6481 (license license:gpl2+)
6482 (properties '((upstream-name . "NetworkManager")))))
6483
6484 (define-public network-manager-openvpn
6485 (package
6486 (name "network-manager-openvpn")
6487 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6488 (version "1.8.10")
6489 (source (origin
6490 (method url-fetch)
6491 (uri (string-append
6492 "mirror://gnome/sources/NetworkManager-openvpn/"
6493 (version-major+minor version)
6494 "/NetworkManager-openvpn-" version ".tar.xz"))
6495 (sha256
6496 (base32
6497 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6498 (build-system gnu-build-system)
6499 (arguments
6500 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6501 #:phases
6502 (modify-phases %standard-phases
6503 (add-after 'configure 'patch-path
6504 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6505 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6506 "/sbin/openvpn"))
6507 (modprobe (string-append (assoc-ref inputs "kmod")
6508 "/bin/modprobe"))
6509 (pretty-ovpn (string-append "\"" ovpn "\"")))
6510 (for-each
6511 (lambda (file)
6512 (substitute* file
6513 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6514 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6515 (("\"/sbin/openvpn\"") pretty-ovpn)
6516 (("/sbin/modprobe") modprobe)))
6517 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6518 #t)))))
6519 (native-inputs
6520 `(("pkg-config" ,pkg-config)
6521 ("intltool" ,intltool)))
6522 (inputs
6523 `(("gtk+" ,gtk+)
6524 ("kmod" ,kmod)
6525 ("openvpn" ,openvpn)
6526 ("network-manager" ,network-manager)
6527 ("network-manager-applet" ,network-manager-applet) ;for libnma
6528 ("libsecret" ,libsecret)))
6529 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6530 (synopsis "OpenVPN plug-in for NetworkManager")
6531 (description
6532 "This extension of NetworkManager allows it to take care of connections
6533 to virtual private networks (VPNs) via OpenVPN.")
6534 (license license:gpl2+)
6535 (properties `((upstream-name . "NetworkManager-openvpn")))))
6536
6537 (define-public network-manager-vpnc
6538 (package
6539 (name "network-manager-vpnc")
6540 (version "1.2.6")
6541 (source (origin
6542 (method url-fetch)
6543 (uri (string-append
6544 "mirror://gnome/sources/NetworkManager-vpnc/"
6545 (version-major+minor version)
6546 "/NetworkManager-vpnc-" version ".tar.xz"))
6547 (sha256
6548 (base32
6549 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6550 (build-system gnu-build-system)
6551 (arguments
6552 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6553 #:phases
6554 (modify-phases %standard-phases
6555 (add-after 'configure 'patch-path
6556 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6557 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6558 "/sbin/vpnc"))
6559 (modprobe (string-append (assoc-ref inputs "kmod")
6560 "/bin/modprobe"))
6561 (pretty-ovpn (string-append "\"" vpnc "\"")))
6562 (substitute* "src/nm-vpnc-service.c"
6563 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6564 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6565 (("\"/sbin/vpnc\"") pretty-ovpn)
6566 (("/sbin/modprobe") modprobe)))
6567 #t)))))
6568 (native-inputs
6569 `(("pkg-config" ,pkg-config)
6570 ("intltool" ,intltool)))
6571 (inputs
6572 `(("gtk+" ,gtk+)
6573 ("kmod" ,kmod)
6574 ("vpnc" ,vpnc)
6575 ("network-manager" ,network-manager)
6576 ("network-manager-applet" ,network-manager-applet) ;for libnma
6577 ("libsecret" ,libsecret)))
6578 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6579 (synopsis "VPNC plug-in for NetworkManager")
6580 (description
6581 "Support for configuring virtual private networks based on VPNC.
6582 Compatible with Cisco VPN concentrators configured to use IPsec.")
6583 (license license:gpl2+)
6584 (properties `((upstream-name . "NetworkManager-vpnc")))))
6585
6586 (define-public network-manager-openconnect
6587 (package
6588 (name "network-manager-openconnect")
6589 (version "1.2.6")
6590 (source (origin
6591 (method url-fetch)
6592 (uri (string-append
6593 "mirror://gnome/sources/NetworkManager-openconnect/"
6594 (version-major+minor version)
6595 "/NetworkManager-openconnect-" version ".tar.xz"))
6596 (sha256
6597 (base32
6598 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6599 (build-system gnu-build-system)
6600 (arguments
6601 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6602 #:phases
6603 (modify-phases %standard-phases
6604 (add-after 'configure 'patch-path
6605 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6606 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6607 "/sbin/openconnect"))
6608 (modprobe (string-append (assoc-ref inputs "kmod")
6609 "/bin/modprobe"))
6610 (pretty-ovpn (string-append "\"" openconnect "\"")))
6611 (substitute* "src/nm-openconnect-service.c"
6612 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6613 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6614 (("/sbin/modprobe") modprobe)))
6615 #t)))))
6616 (native-inputs
6617 `(("intltool" ,intltool)
6618 ("network-manager-applet" ,network-manager-applet) ;for libnma
6619 ("pkg-config" ,pkg-config)))
6620 (inputs
6621 `(("gcr" ,gcr)
6622 ("gtk+" ,gtk+)
6623 ("kmod" ,kmod)
6624 ("libsecret" ,libsecret)
6625 ("libxml2" ,libxml2)
6626 ("network-manager" ,network-manager)
6627 ("openconnect" ,openconnect)))
6628 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6629 (synopsis "OpenConnect plug-in for NetworkManager")
6630 (description
6631 "This extension of NetworkManager allows it to take care of connections
6632 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6633 Cisco's AnyConnect SSL VPN.")
6634 (license license:gpl2+)
6635 (properties `((upstream-name . "NetworkManager-openconnect")
6636
6637 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6638 ;; file refers to account "nm-openconnect". Specify it here
6639 ;; so that 'network-manager-service-type' creates it.
6640 (user-accounts . ("nm-openconnect"))))))
6641
6642 (define-public mobile-broadband-provider-info
6643 (package
6644 (name "mobile-broadband-provider-info")
6645 (version "20190116")
6646 (source (origin
6647 (method url-fetch)
6648 (uri (string-append
6649 "mirror://gnome/sources/"
6650 "mobile-broadband-provider-info/" version "/"
6651 "mobile-broadband-provider-info-" version ".tar.xz"))
6652 (sha256
6653 (base32
6654 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6655 (build-system gnu-build-system)
6656 (arguments
6657 `(#:tests? #f)) ; no tests
6658 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6659 (synopsis "Database of broadband connection configuration")
6660 (description "Database of broadband connection configuration.")
6661 (license license:public-domain)))
6662
6663 (define-public network-manager-applet
6664 (package
6665 (name "network-manager-applet")
6666 (version "1.8.24")
6667 (source (origin
6668 (method url-fetch)
6669 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6670 (version-major+minor version) "/"
6671 "network-manager-applet-" version ".tar.xz"))
6672 (sha256
6673 (base32
6674 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6675 (build-system meson-build-system)
6676 (arguments
6677 '(#:configure-flags
6678 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6679 (list "-Dlibnm_gtk=true")
6680 #:glib-or-gtk? #t))
6681 (native-inputs
6682 `(("intltool" ,intltool)
6683 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6684 ("gobject-introspection" ,gobject-introspection)
6685 ("gtk-doc" ,gtk-doc)
6686 ("pkg-config" ,pkg-config)))
6687 (propagated-inputs
6688 ;; libnm-gtk.pc refers to all these.
6689 `(("dbus-glib" ,dbus-glib)
6690 ("gtk+" ,gtk+)
6691 ("network-manager" ,network-manager)))
6692 (inputs
6693 `(("gcr" ,gcr)
6694 ("iso-codes" ,iso-codes)
6695 ("libgudev" ,libgudev)
6696 ("libnotify" ,libnotify)
6697 ("libsecret" ,libsecret)
6698 ("libselinux" ,libselinux)
6699 ("jansson" ,jansson) ; for team support
6700 ("modem-manager" ,modem-manager)
6701 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6702 (synopsis "Applet for managing network connections")
6703 (home-page "https://www.gnome.org/projects/NetworkManager/")
6704 (description
6705 "This package contains a systray applet for NetworkManager. It displays
6706 the available networks and allows users to easily switch between them.")
6707 (license license:gpl2+)))
6708
6709 (define-public libxml++
6710 (package
6711 (name "libxml++")
6712 (version "3.0.1")
6713 (source (origin
6714 (method url-fetch)
6715 (uri (string-append "mirror://gnome/sources/" name "/"
6716 (version-major+minor version) "/"
6717 name "-" version ".tar.xz"))
6718 (sha256
6719 (base32
6720 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6721 (build-system gnu-build-system)
6722 ;; libxml++-3.0.pc refers to all these.
6723 (propagated-inputs
6724 `(("libxml2" ,libxml2)
6725 ("glibmm" ,glibmm)))
6726 (native-inputs
6727 `(("perl" ,perl)
6728 ("pkg-config" ,pkg-config)))
6729 (home-page "http://libxmlplusplus.sourceforge.net/")
6730 (synopsis "C++ wrapper for XML parser library libxml2")
6731 (description
6732 "This package provides a C++ wrapper for the XML parser library
6733 libxml2.")
6734 (license license:lgpl2.1+)))
6735
6736 (define-public libxml++-2
6737 (package
6738 (inherit libxml++)
6739 (name "libxml++")
6740 (version "2.40.1")
6741 (source (origin
6742 (method url-fetch)
6743 (uri (string-append "mirror://gnome/sources/" name "/"
6744 (version-major+minor version) "/"
6745 name "-" version ".tar.xz"))
6746 (sha256
6747 (base32
6748 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6749
6750 (define-public gdm
6751 (package
6752 (name "gdm")
6753 (version "3.34.1")
6754 (source (origin
6755 (method url-fetch)
6756 (uri (string-append "mirror://gnome/sources/" name "/"
6757 (version-major+minor version) "/"
6758 name "-" version ".tar.xz"))
6759 (sha256
6760 (base32
6761 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6762 (patches (search-patches "gdm-default-session.patch"))))
6763 (build-system glib-or-gtk-build-system)
6764 (arguments
6765 '(#:configure-flags
6766 `("--without-plymouth"
6767 "--disable-systemd-journal"
6768
6769 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6770 ;; instead of having to replace it (i.e., stopping the mingetty
6771 ;; service for TTY 1 before starting GDM).
6772 "--with-initial-vt=7"
6773
6774 ;; Use '/etc/environment' for locale settings instead of the
6775 ;; systemd-specific '/etc/locale.conf'.
6776 "--with-lang-file=/etc/environment"
6777
6778 ,(string-append "--with-udevdir="
6779 (assoc-ref %outputs "out") "/lib/udev")
6780
6781 "--localstatedir=/var"
6782 ,(string-append "--with-default-path="
6783 (string-join '("/run/setuid-programs"
6784 "/run/current-system/profile/bin"
6785 "/run/current-system/profile/sbin")
6786 ":"))
6787 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6788 ;; XDG_DATA_DIRS so that it finds its schemas.
6789 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6790 #:phases
6791 (modify-phases %standard-phases
6792 (add-before
6793 'configure 'pre-configure
6794 (lambda* (#:key inputs outputs #:allow-other-keys)
6795 ;; We don't have <systemd/sd-daemon.h>.
6796 (substitute* '("common/gdm-log.c"
6797 "daemon/gdm-server.c"
6798 "daemon/gdm-session-worker.c"
6799 "daemon/gdm-session-worker-job.c")
6800 (("#include <systemd/sd-daemon\\.h>") ""))
6801 ;; Use elogind for sd-login.
6802 (substitute* '("common/gdm-common.c"
6803 "daemon/gdm-local-display-factory.c"
6804 "daemon/gdm-manager.c"
6805 "libgdm/gdm-user-switching.c")
6806 (("#include <systemd/sd-login\\.h>")
6807 "#include <elogind/sd-login.h>"))
6808 ;; Check for elogind.
6809 (substitute* '("configure")
6810 (("libsystemd")
6811 "libelogind"))
6812 ;; Look for system-installed sessions in
6813 ;; /run/current-system/profile/share.
6814 (substitute* '("libgdm/gdm-sessions.c"
6815 "daemon/gdm-session.c"
6816 "daemon/gdm-display.c"
6817 "daemon/gdm-launch-environment.c")
6818 (("DATADIR \"/x")
6819 "\"/run/current-system/profile/share/x")
6820 (("DATADIR \"/wayland")
6821 "\"/run/current-system/profile/share/wayland")
6822 (("DATADIR \"/gnome")
6823 "\"/run/current-system/profile/share/gnome"))
6824 (let ((propagate '("GDM_CUSTOM_CONF"
6825 "GDM_DBUS_DAEMON"
6826 "GDM_X_SERVER"
6827 "GDM_X_SESSION"
6828 ;; XXX: Remove this once GNOME Shell is
6829 ;; a dependency of GDM.
6830 "XDG_DATA_DIRS")))
6831 (substitute* "daemon/gdm-session.c"
6832 (("set_up_session_environment \\(self\\);")
6833 (apply string-append
6834 "set_up_session_environment (self);\n"
6835 (map (lambda (name)
6836 (string-append
6837 "gdm_session_set_environment_variable "
6838 "(self, \"" name "\","
6839 "g_getenv (\"" name "\"));\n"))
6840 propagate)))))
6841 ;; Find the configuration file using an environment variable.
6842 (substitute* '("common/gdm-settings.c")
6843 (("GDM_CUSTOM_CONF")
6844 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6845 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6846 " : GDM_CUSTOM_CONF)")))
6847 ;; Use service-supplied path to X.
6848 (substitute* '("daemon/gdm-server.c")
6849 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6850 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6851 (substitute* '("daemon/gdm-wayland-session.c"
6852 "daemon/gdm-x-session.c")
6853 (("\"dbus-daemon\"")
6854 "g_getenv (\"GDM_DBUS_DAEMON\")")
6855 (("X_SERVER")
6856 "g_getenv (\"GDM_X_SERVER\")")
6857 (("GDMCONFDIR \"/Xsession\"")
6858 "g_getenv (\"GDM_X_SESSION\")"))
6859 ;; Use an absolute path for GNOME Session.
6860 (substitute* "daemon/gdm-launch-environment.c"
6861 (("\"gnome-session\"")
6862 (string-append "\"" (assoc-ref inputs "gnome-session")
6863 "/bin/gnome-session\"")))
6864 ;; Do not automatically select the placeholder session.
6865 (substitute* "daemon/gdm-session.c"
6866 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6867 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6868 "(g_strcmp0(search_dirs[i], \""
6869 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6870 "\") == 0 && "
6871 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6872 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6873 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6874 #t))
6875 ;; GDM requires that there be at least one desktop entry
6876 ;; file. This phase installs a hidden one that simply
6877 ;; fails. This enables users to use GDM with a
6878 ;; '~/.xsession' script with no other desktop entry files.
6879 ;; See <https://bugs.gnu.org/35068>.
6880 (add-after 'install 'install-placeholder-desktop-entry
6881 (lambda* (#:key inputs outputs #:allow-other-keys)
6882 (let* ((out (assoc-ref outputs "out"))
6883 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6884 (fail (string-append sessions "/fail.desktop")))
6885 (mkdir-p sessions)
6886 (with-output-to-file fail
6887 (lambda ()
6888 (for-each
6889 display
6890 '("[Desktop Entry]\n"
6891 "Encoding=UTF-8\n"
6892 "Type=Application\n"
6893 "Name=Fail\n"
6894 "Comment=This session fails immediately.\n"
6895 "NoDisplay=true\n"
6896 "Exec=false\n"))))
6897 #t)))
6898 ;; GDM needs GNOME Session to run these applications. We link
6899 ;; their autostart files in `share/gdm/greeter/autostart'
6900 ;; because GDM explicitly tells GNOME Session to look there.
6901 ;;
6902 ;; XXX: GNOME Shell should be linked here too, but currently
6903 ;; GNOME Shell depends on GDM.
6904 (add-after 'install 'link-autostart-files
6905 (lambda* (#:key inputs outputs #:allow-other-keys)
6906 (let* ((out (assoc-ref outputs "out"))
6907 (autostart (string-append out "/share/gdm/"
6908 "greeter/autostart"))
6909 (settings (assoc-ref inputs "gnome-settings-daemon")))
6910 (mkdir-p autostart)
6911 (with-directory-excursion autostart
6912 (for-each (lambda (desktop)
6913 (symlink desktop (basename desktop)))
6914 (find-files (string-append settings "/etc/xdg"))))
6915 #t))))))
6916 (native-inputs
6917 `(("dconf" ,dconf)
6918 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6919 ("gobject-introspection" ,gobject-introspection)
6920 ("intltool" ,intltool)
6921 ("itstool" ,itstool)
6922 ("pkg-config" ,pkg-config)
6923 ("xmllint" ,libxml2)))
6924 (inputs
6925 `(("accountsservice" ,accountsservice)
6926 ("check" ,check) ; for testing
6927 ("elogind" ,elogind)
6928 ("gnome-session" ,gnome-session)
6929 ("gnome-settings-daemon" ,gnome-settings-daemon)
6930 ("gtk+" ,gtk+)
6931 ("iso-codes" ,iso-codes)
6932 ("libcanberra" ,libcanberra)
6933 ("linux-pam" ,linux-pam)))
6934 (synopsis "Display manager for GNOME")
6935 (home-page "https://wiki.gnome.org/Projects/GDM/")
6936 (description
6937 "GNOME Display Manager is a system service that is responsible for
6938 providing graphical log-ins and managing local and remote displays.")
6939 (license license:gpl2+)))
6940
6941 (define-public libgtop
6942 (package
6943 (name "libgtop")
6944 (version "2.40.0")
6945 (source (origin
6946 (method url-fetch)
6947 (uri (string-append "mirror://gnome/sources/libgtop/"
6948 (version-major+minor version) "/"
6949 "libgtop-" version ".tar.xz"))
6950 (sha256
6951 (base32
6952 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6953 (build-system gnu-build-system)
6954 (native-inputs
6955 `(("gobject-introspection" ,gobject-introspection)
6956 ("intltool" ,intltool)
6957 ("perl" ,perl)
6958 ("pkg-config" ,pkg-config)))
6959 (propagated-inputs
6960 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6961 (synopsis "Portable system access library")
6962 (home-page "https://www.gnome.org/")
6963 (description
6964 "LibGTop is a library to get system specific data such as CPU and memory
6965 usage and information about running processes.")
6966 (license license:gpl2+)))
6967
6968 (define-public gnome-bluetooth
6969 (package
6970 (name "gnome-bluetooth")
6971 (version "3.34.0")
6972 (source (origin
6973 (method url-fetch)
6974 (uri (string-append "mirror://gnome/sources/" name "/"
6975 (version-major+minor version) "/"
6976 name "-" version ".tar.xz"))
6977 (sha256
6978 (base32
6979 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
6980 (build-system meson-build-system)
6981 (native-inputs
6982 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
6983 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6984 ("gobject-introspection" ,gobject-introspection)
6985 ("intltool" ,intltool)
6986 ("pkg-config" ,pkg-config)
6987 ("xmllint" ,libxml2)))
6988 (propagated-inputs
6989 ;; gnome-bluetooth-1.0.pc refers to all these.
6990 `(("glib" ,glib)
6991 ("gtk+" ,gtk+)))
6992 (inputs
6993 `(("eudev" ,eudev)
6994 ("libcanberra" ,libcanberra)
6995 ("libnotify" ,libnotify)))
6996 (synopsis "GNOME Bluetooth subsystem")
6997 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6998 (description
6999 "This package contains tools for managing and manipulating Bluetooth
7000 devices using the GNOME desktop.")
7001 (license license:lgpl2.1+)))
7002
7003 (define-public gnome-control-center
7004 (package
7005 (name "gnome-control-center")
7006 (version "3.34.2")
7007 (source (origin
7008 (method url-fetch)
7009 (uri (string-append "mirror://gnome/sources/" name "/"
7010 (version-major+minor version) "/"
7011 name "-" version ".tar.xz"))
7012 (sha256
7013 (base32
7014 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7015 (build-system meson-build-system)
7016 (arguments
7017 '(#:glib-or-gtk? #t
7018 #:configure-flags
7019 (list "-Dcheese=false"
7020 (string-append "-Dgnome_session_libexecdir="
7021 (assoc-ref %build-inputs "gnome-session")
7022 "/libexec"))
7023 #:phases
7024 (modify-phases %standard-phases
7025 (add-before 'configure 'patch-paths
7026 (lambda* (#:key inputs #:allow-other-keys)
7027 (let ((libc (assoc-ref inputs "libc"))
7028 (tzdata (assoc-ref inputs "tzdata"))
7029 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7030 (nm-applet (assoc-ref inputs "network-manager-applet"))
7031 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7032 (substitute* "panels/datetime/tz.h"
7033 (("/usr/share/zoneinfo/zone.tab")
7034 (string-append tzdata "/share/zoneinfo/zone.tab")))
7035 (substitute* "tests/datetime/test-endianess.c"
7036 (("/usr/share/locale")
7037 (string-append libc "/share/locale")))
7038 (substitute* "panels/region/cc-region-panel.c"
7039 (("\"gkbd-keyboard-display")
7040 (string-append "\"" libgnomekbd
7041 "/bin/gkbd-keyboard-display")))
7042 (substitute* '("panels/network/net-device-wifi.c"
7043 "panels/network/net-device.c"
7044 "panels/network/connection-editor/net-connection-editor.c")
7045 (("\"nm-connection-editor")
7046 (string-append "\"" nm-applet
7047 "/bin/nm-connection-editor")))
7048 (substitute* '("panels/user-accounts/run-passwd.c")
7049 (("/usr/bin/passwd")
7050 "/run/setuid-programs/passwd"))
7051 (substitute* "panels/info/cc-info-overview-panel.c"
7052 (("DATADIR \"/gnome/gnome-version.xml\"")
7053 (string-append "\"" gnome-desktop
7054 "/share/gnome/gnome-version.xml\"")))
7055 #t)))
7056 (add-after 'unpack 'skip-gtk-update-icon-cache
7057 ;; Don't create 'icon-theme.cache'.
7058 (lambda _
7059 (substitute* "build-aux/meson/meson_post_install.py"
7060 (("gtk-update-icon-cache") (which "true")))
7061 #t)))))
7062 (native-inputs
7063 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7064 ("intltool" ,intltool)
7065 ("pkg-config" ,pkg-config)
7066 ("xsltproc" ,libxslt)
7067 ;; For tests
7068 ("hicolor-icon-theme" ,hicolor-icon-theme)
7069 ("python-dbusmock" ,python-dbusmock)
7070 ("xorg-server" ,xorg-server-for-tests)))
7071 (inputs
7072 `(("accountsservice" ,accountsservice)
7073 ("clutter-gtk" ,clutter-gtk)
7074 ("colord-gtk" ,colord-gtk)
7075 ("cups" ,cups)
7076 ("dconf" ,dconf)
7077 ("docbook-xsl" ,docbook-xsl)
7078 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7079 ("gnome-bluetooth" ,gnome-bluetooth)
7080 ("gnome-desktop" ,gnome-desktop)
7081 ("gnome-online-accounts" ,gnome-online-accounts)
7082 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7083 ("gnome-session" ,gnome-session)
7084 ("gnome-settings-daemon" ,gnome-settings-daemon)
7085 ("grilo" ,grilo)
7086 ("gsound" ,gsound)
7087 ("ibus" ,ibus)
7088 ("libcanberra" ,libcanberra)
7089 ("libgnomekbd" ,libgnomekbd)
7090 ("libgudev" ,libgudev)
7091 ("libgtop" ,libgtop)
7092 ("libpwquality" ,libpwquality)
7093 ("libsecret" ,libsecret)
7094 ("libsoup" ,libsoup)
7095 ("libxml2" ,libxml2)
7096 ("libwacom" ,libwacom)
7097 ("mesa" ,mesa)
7098 ("mit-krb5" ,mit-krb5)
7099 ("modem-manager" ,modem-manager)
7100 ("network-manager-applet" ,network-manager-applet)
7101 ("polkit" ,polkit)
7102 ("pulseaudio" ,pulseaudio)
7103 ("smbclient" ,samba)
7104 ("tzdata" ,tzdata)
7105 ("udisks" ,udisks)
7106 ("upower" ,upower)))
7107 (synopsis "Utilities to configure the GNOME desktop")
7108 (home-page "https://www.gnome.org/")
7109 (description
7110 "This package contains configuration applets for the GNOME desktop,
7111 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7112 properties, sound setup, desktop theme and background, user interface
7113 properties, screen resolution, and other GNOME parameters.")
7114 (license license:gpl2+)))
7115
7116 (define-public gnome-shell
7117 (package
7118 (name "gnome-shell")
7119 (version "3.34.2")
7120 (source (origin
7121 (method url-fetch)
7122 (uri (string-append "mirror://gnome/sources/" name "/"
7123 (version-major+minor version) "/"
7124 name "-" version ".tar.xz"))
7125 (sha256
7126 (base32
7127 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7128 (patches (search-patches "gnome-shell-theme.patch"
7129 "gnome-shell-disable-test.patch"))
7130 (modules '((guix build utils)))
7131 (snippet
7132 #~(begin
7133 ;; Copy images for use on the GDM log-in screen.
7134 (copy-file #$(file-append %artwork-repository
7135 "/slim/0.x/background.png")
7136 "data/theme/guix-background.png")
7137 (copy-file #$(file-append %artwork-repository
7138 "/logo/Guix-horizontal-white.svg")
7139 "data/theme/guix-logo.svg")
7140 #t))))
7141 (build-system meson-build-system)
7142 (arguments
7143 `(#:glib-or-gtk? #t
7144 #:disallowed-references ((,glib "bin")
7145 ,inkscape ,libxslt
7146 ,ruby-sass)
7147 #:configure-flags
7148 (list "-Dsystemd=false"
7149 ;; Otherwise, the RUNPATH will lack the final path component.
7150 (string-append "-Dc_link_args=-Wl,-rpath="
7151 (assoc-ref %outputs "out")
7152 "/lib/gnome-shell"))
7153
7154 #:modules ((guix build meson-build-system)
7155 (guix build utils)
7156 (srfi srfi-1))
7157
7158 #:phases
7159 (modify-phases %standard-phases
7160 (add-after 'unpack 'fix-keysdir
7161 (lambda* (#:key outputs #:allow-other-keys)
7162 (let* ((out (assoc-ref outputs "out"))
7163 (keysdir (string-append
7164 out "/share/gnome-control-center/keybindings")))
7165 (substitute* "meson.build"
7166 (("keysdir =.*")
7167 (string-append "keysdir = '" keysdir "'\n")))
7168 #t)))
7169 (add-before 'configure 'convert-logo-to-png
7170 (lambda* (#:key inputs #:allow-other-keys)
7171 ;; Convert the logo from SVG to PNG.
7172 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7173 "data/theme/guix-logo.svg")))
7174 (add-before 'configure 'record-absolute-file-names
7175 (lambda* (#:key inputs #:allow-other-keys)
7176 (substitute* "js/misc/ibusManager.js"
7177 (("'ibus-daemon'")
7178 (string-append "'" (assoc-ref inputs "ibus")
7179 "/bin/ibus-daemon'")))
7180 (substitute* "js/ui/status/keyboard.js"
7181 (("'gkbd-keyboard-display'")
7182 (string-append "'" (assoc-ref inputs "libgnomekbd")
7183 "/bin/gkbd-keyboard-display'")))
7184 #t))
7185 (add-before 'check 'pre-check
7186 (lambda* (#:key inputs #:allow-other-keys)
7187 ;; Tests require a running X server.
7188 (system "Xvfb :1 &")
7189 (setenv "DISPLAY" ":1")
7190 #t))
7191 (add-after 'install 'wrap-programs
7192 (lambda* (#:key inputs outputs #:allow-other-keys)
7193 (let ((out (assoc-ref outputs "out"))
7194 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7195 (python-path (getenv "PYTHONPATH")))
7196 (wrap-program (string-append out "/bin/gnome-shell")
7197 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7198 ;; FIXME: gnome-shell loads these libraries with unqualified
7199 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7200 ;; alternative might be to patch gnome-shell.
7201 `("LD_LIBRARY_PATH" ":" prefix
7202 ,(map (lambda (pkg)
7203 (string-append (assoc-ref inputs pkg) "/lib"))
7204 '("gdk-pixbuf"
7205 "gnome-bluetooth" "librsvg" "libgweather"))))
7206 (for-each
7207 (lambda (prog)
7208 (wrap-program (string-append out "/bin/" prog)
7209 `("PYTHONPATH" ":" prefix (,python-path))
7210 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7211 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7212 #t)))
7213 (replace 'glib-or-gtk-wrap
7214 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7215 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7216 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7217 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7218 ;; phase. Fix that since we don't need these.
7219 (wrap #:inputs (fold alist-delete inputs
7220 '("inkscape" "intltool" "glib:bin"))
7221 #:outputs outputs)))))))
7222 (native-inputs
7223 `(("asciidoc" ,asciidoc)
7224 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7225 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7226 ("gobject-introspection" ,gobject-introspection)
7227 ("inkscape" ,inkscape)
7228 ("intltool" ,intltool)
7229 ("pkg-config" ,pkg-config)
7230 ("python" ,python)
7231 ("ruby-sass" ,ruby-sass)
7232 ("sassc" ,sassc)
7233 ("xsltproc" ,libxslt)
7234 ;; For tests
7235 ("xorg-server" ,xorg-server-for-tests)))
7236 (inputs
7237 `(("accountsservice" ,accountsservice)
7238 ("caribou" ,caribou)
7239 ("docbook-xsl" ,docbook-xsl)
7240 ("evolution-data-server" ,evolution-data-server)
7241 ("gcr" ,gcr)
7242 ("gdm" ,gdm)
7243 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7244 ("gjs" ,gjs)
7245 ("gnome-autoar" ,gnome-autoar)
7246 ("gnome-bluetooth" ,gnome-bluetooth)
7247 ("gnome-desktop" ,gnome-desktop)
7248 ("gnome-settings-daemon" ,gnome-settings-daemon)
7249 ("gst-plugins-base" ,gst-plugins-base)
7250 ("ibus" ,ibus)
7251 ("libcanberra" ,libcanberra)
7252 ("libcroco" ,libcroco)
7253 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7254 ("libgweather" ,libgweather)
7255 ("libsoup" ,libsoup)
7256 ("mesa-headers" ,mesa-headers)
7257 ("mutter" ,mutter)
7258 ("network-manager-applet" ,network-manager-applet)
7259 ("polkit" ,polkit)
7260 ("pulseaudio" ,pulseaudio)
7261 ("python-pygobject" ,python-pygobject)
7262 ("startup-notification" ,startup-notification)
7263 ("telepathy-logger" ,telepathy-logger)
7264 ("upower" ,upower)
7265 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7266 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7267 ("librsvg" ,librsvg)
7268 ("geoclue" ,geoclue)))
7269 (synopsis "Desktop shell for GNOME")
7270 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7271 (description
7272 "GNOME Shell provides core user interface functions for the GNOME desktop,
7273 like switching to windows and launching applications.")
7274 (license license:gpl2+)))
7275
7276 (define-public gtk-vnc
7277 (package
7278 (name "gtk-vnc")
7279 (version "0.9.0")
7280 (source
7281 (origin
7282 (method url-fetch)
7283 (uri (string-append "mirror://gnome/sources/" name "/"
7284 (version-major+minor version) "/"
7285 name "-" version ".tar.xz"))
7286 (sha256
7287 (base32
7288 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7289 (build-system gnu-build-system)
7290 (arguments
7291 '(#:configure-flags '("--with-gtk=3.0")))
7292 (propagated-inputs
7293 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7294 (inputs
7295 `(("cyrus-sasl" ,cyrus-sasl)
7296 ("gnutls" ,gnutls)
7297 ("libgcrypt" ,libgcrypt)
7298 ("pulseaudio" ,pulseaudio)))
7299 (native-inputs
7300 `(("glib:bin" ,glib "bin")
7301 ("gobject-introspection" ,gobject-introspection)
7302 ("intltool" ,intltool)
7303 ("pkg-config" ,pkg-config)
7304 ("python-wrapper" ,python-wrapper)
7305 ("vala" ,vala)))
7306 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7307 (synopsis "VNC viewer widget for GTK+")
7308 (description
7309 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7310 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7311 GTK-VNC implements client side RFB protocol and authentication extensions such
7312 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7313 (license license:lgpl2.1+)))
7314
7315 (define-public gnome-autoar
7316 (package
7317 (name "gnome-autoar")
7318 (version "0.2.4")
7319 (source (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 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7327 (build-system glib-or-gtk-build-system)
7328 (native-inputs
7329 `(("gobject-introspection" ,gobject-introspection)
7330 ("pkg-config" ,pkg-config)))
7331 (propagated-inputs
7332 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7333 (inputs
7334 `(("gtk+" ,gtk+)))
7335 (synopsis "Archives integration support for GNOME")
7336 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7337 (description
7338 "GNOME Autoar is a library which makes creating and extracting archives
7339 easy, safe, and automatic.")
7340 (license license:lgpl2.1+)))
7341
7342 (define-public tracker
7343 (package
7344 (name "tracker")
7345 (version "2.3.4")
7346 (source (origin
7347 (method url-fetch)
7348 (uri (string-append "mirror://gnome/sources/tracker/"
7349 (version-major+minor version) "/"
7350 "tracker-" version ".tar.xz"))
7351 (sha256
7352 (base32
7353 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7354 (build-system meson-build-system)
7355 (arguments
7356 `(#:glib-or-gtk? #t
7357 #:configure-flags
7358 ;; Otherwise, the RUNPATH will lack the final path component.
7359 (list (string-append "-Dc_link_args=-Wl,-rpath="
7360 (assoc-ref %outputs "out") "/lib:"
7361 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7362 #:phases
7363 (modify-phases %standard-phases
7364 (add-before 'check 'pre-check
7365 (lambda _
7366 ;; Some tests expect to write to $HOME.
7367 (setenv "HOME" "/tmp")
7368 #t)))))
7369 (native-inputs
7370 `(("glib:bin" ,glib "bin")
7371 ("gobject-introspection" ,gobject-introspection)
7372 ("python-pygobject" ,python-pygobject)
7373 ("intltool" ,intltool)
7374 ("pkg-config" ,pkg-config)
7375 ("vala" ,vala)))
7376 (inputs
7377 `(("dbus" ,dbus)
7378 ("sqlite" ,sqlite)
7379 ("libxml2" ,libxml2)
7380 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7381 ("json-glib" ,json-glib)
7382 ("libsoup" ,libsoup)))
7383 (synopsis "Metadata database, indexer and search tool")
7384 (home-page "https://wiki.gnome.org/Projects/Tracker")
7385 (description
7386 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7387
7388 It is a middleware component aimed at desktop application developers who want
7389 their apps to browse and search user content. It's not designed to be used
7390 directly by desktop users, but it provides a commandline tool named
7391 @command{tracker} for the adventurous.
7392
7393 Tracker allows your application to instantly perform full-text searches across
7394 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7395 example. This is achieved by indexing the user's home directory in the
7396 background.
7397
7398 Tracker also allows your application to query and list content that the user
7399 has stored. For example, GNOME Music displays all the music files that are
7400 found by Tracker. This means that GNOME Music doesn't need to maintain a
7401 database of its own.
7402
7403 If you need to go beyond simple searches, Tracker is also a linked data
7404 endpoint and it understands SPARQL. ")
7405 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7406 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7407 ;; libstemmer is bsd-3 and the rest is gpl2+.
7408 (license (list license:gpl2+
7409 license:bsd-3
7410 license:lgpl2.1+))))
7411
7412 (define-public tracker-miners
7413 (package
7414 (name "tracker-miners")
7415 (version "2.3.3")
7416 (source (origin
7417 (method url-fetch)
7418 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7419 (version-major+minor version)
7420 "/tracker-miners-" version ".tar.xz"))
7421 (sha256
7422 (base32
7423 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7424 (build-system meson-build-system)
7425 (arguments
7426 `(#:glib-or-gtk? #t
7427 #:configure-flags
7428 (list "-Dminer_rss=false" ; libgrss is required.
7429 ;; Ensure the RUNPATH contains all installed library locations.
7430 (string-append "-Dc_link_args=-Wl,-rpath="
7431 (assoc-ref %outputs "out")
7432 "/lib/tracker-miners-2.0")
7433 ;; TODO: Enable functional tests. Currently, the following error
7434 ;; appears:
7435 ;; Exception: The functional tests require DConf to be the default
7436 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7437 "-Dfunctional_tests=false")))
7438 (native-inputs
7439 `(("dbus" ,dbus)
7440 ("intltool" ,intltool)
7441 ("glib:bin" ,glib "bin")
7442 ("gobject-introspection" ,gobject-introspection)
7443 ("pkg-config" ,pkg-config)
7444 ("python-pygobject" ,python-pygobject)))
7445 (inputs
7446 `(("exempi" ,exempi)
7447 ("ffmpeg" ,ffmpeg)
7448 ("flac" ,flac)
7449 ("giflib" ,giflib)
7450 ("glib" ,glib)
7451 ("gstreamer" ,gstreamer)
7452 ("icu4c" ,icu4c)
7453 ("libcue" ,libcue)
7454 ("libexif" ,libexif)
7455 ("libgsf" ,libgsf)
7456 ("libgxps" ,libgxps)
7457 ("libiptcdata" ,libiptcdata)
7458 ("libjpeg" ,libjpeg-turbo)
7459 ("libosinfo" ,libosinfo)
7460 ("libpng" ,libpng)
7461 ("libseccomp" ,libseccomp)
7462 ("libtiff" ,libtiff)
7463 ("libvorbis" ,libvorbis)
7464 ("libxml2" ,libxml2)
7465 ("poppler" ,poppler)
7466 ("taglib" ,taglib)
7467 ("totem-pl-parser" ,totem-pl-parser)
7468 ("tracker" ,tracker)
7469 ("upower" ,upower)
7470 ("zlib" ,zlib)))
7471 (synopsis "Metadata database, indexer and search tool")
7472 (home-page "https://wiki.gnome.org/Projects/Tracker")
7473 (description
7474 "Tracker is an advanced framework for first class objects with associated
7475 metadata and tags. It provides a one stop solution for all metadata, tags,
7476 shared object databases, search tools and indexing.")
7477 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7478 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7479 (license (list license:gpl2+
7480 license:lgpl2.1+
7481 license:lgpl2.0+))))
7482
7483 (define-public nautilus
7484 (package
7485 (name "nautilus")
7486 (version "3.34.2")
7487 (source (origin
7488 (method url-fetch)
7489 (uri (string-append "mirror://gnome/sources/" name "/"
7490 (version-major+minor version) "/"
7491 name "-" version ".tar.xz"))
7492 (sha256
7493 (base32
7494 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7495 (build-system meson-build-system)
7496 (arguments
7497 '(#:glib-or-gtk? #t
7498 #:phases
7499 (modify-phases %standard-phases
7500 (add-after 'unpack 'skip-gtk-update-icon-cache
7501 ;; Don't create 'icon-theme.cache'.
7502 (lambda _
7503 (substitute* "build-aux/meson/postinstall.py"
7504 (("gtk-update-icon-cache") "true"))
7505 #t)))
7506 ;; XXX: FAIL: check-nautilus
7507 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7508 #:tests? #f))
7509 (native-inputs
7510 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7511 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7512 ("gobject-introspection" ,gobject-introspection)
7513 ("intltool" ,intltool)
7514 ("pkg-config" ,pkg-config)))
7515 (inputs
7516 `(("dconf" ,dconf)
7517 ("gexiv2" ,gexiv2)
7518 ("gvfs" ,gvfs)
7519 ("exempi" ,exempi)
7520 ("gnome-desktop" ,gnome-desktop)
7521 ("gnome-autoar" ,gnome-autoar)
7522 ("gst-plugins-base" ,gst-plugins-base)
7523 ("libseccomp" ,libseccomp)
7524 ("libselinux" ,libselinux)
7525 ("tracker" ,tracker)
7526 ("tracker-miners" ,tracker-miners)
7527 ;; XXX: gtk+ is required by libnautilus-extension.pc
7528 ;;
7529 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7530 ;; package. See:
7531 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7532 ("gtk+" ,gtk+)
7533 ("libexif" ,libexif)
7534 ("libxml2" ,libxml2)))
7535 (synopsis "File manager for GNOME")
7536 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7537 (description
7538 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7539 design and behaviour, giving the user a simple way to navigate and manage its
7540 files.")
7541 (license license:gpl2+)))
7542
7543 (define-public baobab
7544 (package
7545 (name "baobab")
7546 (version "3.32.0")
7547 (source (origin
7548 (method url-fetch)
7549 (uri (string-append
7550 "mirror://gnome/sources/" name "/"
7551 (version-major+minor version) "/"
7552 name "-" version ".tar.xz"))
7553 (sha256
7554 (base32
7555 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7556 (build-system meson-build-system)
7557 (arguments
7558 '(#:glib-or-gtk? #t))
7559 (native-inputs
7560 `(("intltool" ,intltool)
7561 ("pkg-config" ,pkg-config)
7562 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7563 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7564 ("itstool" ,itstool)
7565 ("xmllint" ,libxml2)
7566 ("glib" ,glib "bin")
7567 ("vala" ,vala)))
7568 (inputs
7569 `(("gtk+" ,gtk+)))
7570 (synopsis "Disk usage analyzer for GNOME")
7571 (description
7572 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7573 usage in the GNOME desktop environment. It can easily scan device volumes or
7574 a specific user-requested directory branch (local or remote). Once the scan
7575 is complete it provides a graphical representation of each selected folder.")
7576 (home-page "https://wiki.gnome.org/Apps/Baobab")
7577 (license license:gpl2+)))
7578
7579 (define-public gnome-backgrounds
7580 (package
7581 (name "gnome-backgrounds")
7582 (version "3.34.0")
7583 (source
7584 (origin
7585 (method url-fetch)
7586 (uri (string-append "mirror://gnome/sources/" name "/"
7587 (version-major+minor version) "/"
7588 name "-" version ".tar.xz"))
7589 (sha256
7590 (base32
7591 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7592 (build-system meson-build-system)
7593 (native-inputs
7594 `(("intltool" ,intltool)))
7595 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7596 (synopsis "Background images for the GNOME desktop")
7597 (description
7598 "GNOME backgrounds package contains a collection of graphics files which
7599 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7600 the package creates the proper framework and directory structure so that you
7601 can add your own files to the collection.")
7602 (license (list license:gpl2+
7603 license:cc-by2.0
7604 license:cc-by-sa2.0
7605 license:cc-by-sa3.0))))
7606
7607 (define-public gnome-screenshot
7608 (package
7609 (name "gnome-screenshot")
7610 (version "3.34.0")
7611 (source
7612 (origin
7613 (method url-fetch)
7614 (uri (string-append "mirror://gnome/sources/" name "/"
7615 (version-major+minor version) "/"
7616 name "-" version ".tar.xz"))
7617 (sha256
7618 (base32
7619 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7620 (build-system meson-build-system)
7621 (arguments
7622 '(#:phases
7623 (modify-phases %standard-phases
7624 (add-after 'unpack 'skip-gtk-update-icon-cache
7625 ;; Don't create 'icon-theme.cache'.
7626 (lambda _
7627 (substitute* "build-aux/postinstall.py"
7628 (("gtk-update-icon-cache") "true"))
7629 #t)))))
7630 (native-inputs
7631 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7632 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7633 ("intltool" ,intltool)
7634 ("appstream-glib" ,appstream-glib)
7635 ("pkg-config" ,pkg-config)))
7636 (inputs
7637 `(("gtk+" ,gtk+)
7638 ("libcanberra" ,libcanberra)
7639 ("libx11" ,libx11)
7640 ("libxext" ,libxext)))
7641 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7642 (synopsis "Take pictures of your screen")
7643 (description
7644 "GNOME Screenshot is a utility used for taking screenshots of the entire
7645 screen, a window or a user defined area of the screen, with optional
7646 beautifying border effects.")
7647 (license license:gpl2+)))
7648
7649 (define-public dconf-editor
7650 (package
7651 (name "dconf-editor")
7652 (version "3.34.2")
7653 (source
7654 (origin
7655 (method url-fetch)
7656 (uri (string-append "mirror://gnome/sources/" name "/"
7657 (version-major+minor version) "/"
7658 name "-" version ".tar.xz"))
7659 (sha256
7660 (base32
7661 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7662 (build-system meson-build-system)
7663 (native-inputs
7664 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7665 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7666 ("intltool" ,intltool)
7667 ("pkg-config" ,pkg-config)
7668 ("vala" ,vala)))
7669 (inputs
7670 `(("dconf" ,dconf)
7671 ("gtk+" ,gtk+)
7672 ("libxml2" ,libxml2)))
7673 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7674 (synopsis "Graphical editor for GNOME's dconf configuration system")
7675 (description
7676 "Dconf-editor is a graphical tool for browsing and editing the dconf
7677 configuration system for GNOME. It allows users to configure desktop
7678 software that do not provide their own configuration interface.")
7679 (license license:lgpl2.1+)))
7680
7681 (define-public gnome-default-applications
7682 (package
7683 (name "gnome-default-applications")
7684 (version "0")
7685 (build-system trivial-build-system)
7686 (source #f)
7687 (propagated-inputs
7688 `(("nautilus" ,nautilus)
7689 ("evince" ,evince)))
7690 (arguments
7691 `(#:modules ((guix build utils))
7692 #:builder
7693 (begin
7694 (use-modules (guix build utils))
7695 (let* ((out (assoc-ref %outputs "out"))
7696 (apps (string-append out "/share/applications")))
7697 (mkdir-p apps)
7698 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7699 (lambda (port)
7700 (format port "[Default Applications]\n")
7701 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7702 (format port "application/pdf=evince.desktop\n")
7703 (format port "application/postscript=evince.desktop\n")))
7704 #t))))
7705 (synopsis "Default MIME type associations for the GNOME desktop")
7706 (description
7707 "Given many installed packages which might handle a given MIME type, a
7708 user running the GNOME desktop probably has some preferences: for example,
7709 that folders be opened by default by the Nautilus file manager, not the Baobab
7710 disk usage analyzer. This package establishes that set of default MIME type
7711 associations for GNOME.")
7712 (license license:gpl3+)
7713 (home-page #f)))
7714
7715 (define-public libgovirt
7716 (package
7717 (name "libgovirt")
7718 (version "0.3.6")
7719 (source (origin
7720 (method url-fetch)
7721 (uri (string-append "mirror://gnome/sources/" name "/"
7722 (version-major+minor version) "/"
7723 name "-" version ".tar.xz"))
7724 (sha256
7725 (base32
7726 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7727 (build-system glib-or-gtk-build-system)
7728 (native-inputs
7729 `(("gettext" ,gettext-minimal)
7730 ("glib:bin" ,glib "bin")
7731 ("gobject-introspection" ,gobject-introspection)
7732 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7733 ("gtk+:bin" ,gtk+ "bin")
7734 ("pkg-config" ,pkg-config)))
7735 (inputs
7736 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7737 ("librest" ,rest)))
7738 (synopsis "GoVirt Library")
7739 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7740 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7741 (license license:gpl2+)))
7742
7743 (define-public gnome-weather
7744 (package
7745 (name "gnome-weather")
7746 (version "3.34.0")
7747 (source (origin
7748 (method url-fetch)
7749 (uri (string-append "mirror://gnome/sources/" name "/"
7750 (version-major+minor version) "/"
7751 name "-" version ".tar.xz"))
7752 (sha256
7753 (base32
7754 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7755 (build-system meson-build-system)
7756 (native-inputs
7757 `(("gettext" ,gettext-minimal)
7758 ("glib:bin" ,glib "bin")
7759 ("gobject-introspection" ,gobject-introspection)
7760 ("gtk+:bin" ,gtk+ "bin")
7761 ("pkg-config" ,pkg-config)))
7762 (inputs
7763 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7764 ("appstream-glib" ,appstream-glib)
7765 ("geoclue" ,geoclue)
7766 ("gdk-pixbuf" ,gdk-pixbuf)
7767 ("gjs" ,gjs)
7768 ("gnome-desktop" ,gnome-desktop)
7769 ("libgweather" ,libgweather)))
7770 (arguments
7771 `(#:phases
7772 (modify-phases %standard-phases
7773 (add-after 'install 'fix-desktop-file
7774 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7775 ;; See https://issues.guix.gnu.org/issue/39324.
7776 (lambda* (#:key outputs #:allow-other-keys)
7777 (let* ((out (assoc-ref outputs "out"))
7778 (applications (string-append out "/share/applications")))
7779 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7780 (("Exec=.*") "Exec=gnome-weather\n"))))))))
7781 (synopsis "Weather monitoring for GNOME desktop")
7782 (description "GNOME Weather is a small application that allows you to
7783 monitor the current weather conditions for your city, or anywhere in the
7784 world.")
7785 (home-page "https://wiki.gnome.org/Apps/Weather")
7786 (license license:gpl2+)))
7787
7788 (define-public gnome
7789 (package
7790 (name "gnome")
7791 (version (package-version gnome-shell))
7792 (source #f)
7793 (build-system trivial-build-system)
7794 (arguments '(#:builder (begin (mkdir %output) #t)))
7795 (propagated-inputs
7796 ;; TODO: Add or remove packages according to:
7797 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7798 `(
7799 ;; GNOME-Core-OS-Services
7800 ("accountsservice" ,accountsservice)
7801 ("network-manager" ,network-manager)
7802 ("packagekit" ,packagekit)
7803 ("upower" ,upower)
7804 ;; GNOME-Core-Shell
7805 ("adwaita-icon-theme" ,adwaita-icon-theme)
7806 ("gdm" ,gdm)
7807 ("glib-networking" ,glib-networking)
7808 ("gnome-backgrounds" ,gnome-backgrounds)
7809 ("gnome-bluetooth" ,gnome-bluetooth)
7810 ("gnome-color-manager" ,gnome-color-manager)
7811 ("gnome-control-center" ,gnome-control-center)
7812 ("gnome-desktop" ,gnome-desktop)
7813 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7814 ("gnome-initial-setup" ,gnome-initial-setup)
7815 ("gnome-keyring" ,gnome-keyring)
7816 ("gnome-menus" ,gnome-menus)
7817 ("gnome-session" ,gnome-session)
7818 ("gnome-settings-daemon" ,gnome-settings-daemon)
7819 ("gnome-shell-extensions" ,gnome-shell-extensions)
7820 ("gnome-shell" ,gnome-shell)
7821 ("gnome-themes-extra" ,gnome-themes-extra)
7822 ("gnome-user-docs" ,gnome-user-docs)
7823 ("gnome-user-share" ,gnome-user-share)
7824 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7825 ("gvfs" ,gvfs)
7826 ("mutter" ,mutter)
7827 ("orca" ,orca)
7828 ("rygel" ,rygel)
7829 ("sushi" ,sushi)
7830 ;; GNOME-Core-Utilities
7831 ("baobab" ,baobab)
7832 ("cheese" ,cheese)
7833 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
7834 ;; only works on x86_64, so exclude it on other architectures.
7835 ,@(if (string-prefix? "x86_64" (%current-system))
7836 `(("eog" ,eog))
7837 '())
7838 ("epiphany" ,epiphany)
7839 ("evince" ,evince)
7840 ("file-roller" ,file-roller)
7841 ("gedit" ,gedit)
7842 ; TODO: ("gnome-boxes" ,gnome-boxes)
7843 ("gnome-calculator" ,gnome-calculator)
7844 ("gnome-calendar" ,gnome-calendar)
7845 ("gnome-characters" ,gnome-characters)
7846 ("gnome-clocks" ,gnome-clocks)
7847 ("gnome-contacts" ,gnome-contacts)
7848 ("gnome-disk-utility" ,gnome-disk-utility)
7849 ("gnome-font-viewer" ,gnome-font-viewer)
7850 ("gnome-maps" ,gnome-maps)
7851 ; TODO: ("gnome-music" ,gnome-music)
7852 ; TODO: ("gnome-photos" ,gnome-photos)
7853 ("gnome-screenshot" ,gnome-screenshot)
7854 ("gnome-system-monitor" ,gnome-system-monitor)
7855 ("gnome-terminal" ,gnome-terminal)
7856 ("gnome-weather" ,gnome-weather)
7857 ("nautilus" ,nautilus)
7858 ("simple-scan" ,simple-scan)
7859 ("totem" ,totem)
7860 ("yelp" ,yelp)
7861 ;; Others
7862 ("hicolor-icon-theme" ,hicolor-icon-theme)
7863 ("gnome-online-accounts" ,gnome-online-accounts)
7864
7865 ;; Packages not part of GNOME proper but that are needed for a good
7866 ;; experience. See <https://bugs.gnu.org/39646>.
7867 ;; XXX: Find out exactly which ones are needed and why.
7868 ("font-cantarell" ,font-cantarell)
7869 ("font-dejavu" ,font-dejavu)
7870 ("at-spi2-core" ,at-spi2-core)
7871 ("dbus" ,dbus)
7872 ("dconf" ,dconf)
7873 ("desktop-file-utils" ,desktop-file-utils)
7874 ("gnome-default-applications" ,gnome-default-applications)
7875 ("gnome-themes-standard" ,gnome-themes-standard)
7876 ("gst-plugins-base" ,gst-plugins-base)
7877 ("gst-plugins-good" ,gst-plugins-good)
7878 ("gucharmap" ,gucharmap)
7879 ("pinentry-gnome3" ,pinentry-gnome3)
7880 ("pulseaudio" ,pulseaudio)
7881 ("shared-mime-info" ,shared-mime-info)
7882 ("system-config-printer" ,system-config-printer)
7883 ("xdg-user-dirs" ,xdg-user-dirs)
7884 ("yelp" ,yelp)
7885 ("zenity" ,zenity)))
7886 (synopsis "The GNU desktop environment")
7887 (home-page "https://www.gnome.org/")
7888 (description
7889 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7890 applications for browsing the web, editing text and images, creating
7891 documents and diagrams, playing media, scanning, and much more.")
7892 (license license:gpl2+)))
7893
7894 (define-public byzanz
7895 ;; The last stable release of Byzanz was in 2011, but there have been many
7896 ;; useful commits made to the Byzanz repository since then that it would be
7897 ;; silly to use such an old release.
7898 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7899 (package
7900 (name "byzanz")
7901 (version (string-append "0.2-1." (string-take commit 7)))
7902 (source (origin
7903 (method git-fetch)
7904 (uri (git-reference
7905 (url "https://git.gnome.org/browse/byzanz")
7906 (commit commit)))
7907 (file-name (string-append name "-" version "-checkout"))
7908 (sha256
7909 (base32
7910 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7911 (build-system glib-or-gtk-build-system)
7912 (arguments
7913 '(#:phases
7914 (modify-phases %standard-phases
7915 (add-before 'bootstrap 'build-without-Werror
7916 (lambda _
7917 ;; The build system cleverly detects that we're not building from
7918 ;; a release tarball and turns on -Werror for GCC.
7919 ;; Unsurprisingly, there is a warning during compilation that
7920 ;; causes the build to fail unnecessarily, so we remove the flag.
7921 (substitute* '("configure.ac")
7922 (("-Werror") ""))
7923 #t)))))
7924 (native-inputs
7925 `(("autoconf" ,autoconf)
7926 ("automake" ,automake)
7927 ("gnome-common" ,gnome-common)
7928 ("intltool" ,intltool)
7929 ("libtool" ,libtool)
7930 ("pkg-config" ,pkg-config)
7931 ("which" ,which)))
7932 (inputs
7933 `(("glib" ,glib)
7934 ("gstreamer" ,gstreamer)
7935 ("gst-plugins-base" ,gst-plugins-base)
7936 ("gtk+" ,gtk+)))
7937 (synopsis "Desktop recording program")
7938 (description "Byzanz is a simple desktop recording program with a
7939 command-line interface. It can record part or all of an X display for a
7940 specified duration and save it as a GIF encoded animated image file.")
7941 (home-page "https://git.gnome.org/browse/byzanz")
7942 (license license:gpl2+))))
7943
7944 (define-public gsound
7945 (package
7946 (name "gsound")
7947 (version "1.0.2")
7948 (source (origin
7949 (method url-fetch)
7950 (uri (string-append "mirror://gnome/sources/" name "/"
7951 (version-major+minor version) "/"
7952 name "-" version ".tar.xz"))
7953 (sha256
7954 (base32
7955 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7956 (build-system glib-or-gtk-build-system)
7957 (native-inputs
7958 `(("pkg-config" ,pkg-config)
7959 ("gobject-introspection" ,gobject-introspection)
7960 ("vala" ,vala)))
7961 (inputs
7962 `(("glib" ,glib)
7963 ("libcanberra" ,libcanberra)))
7964 (home-page "https://wiki.gnome.org/Projects/GSound")
7965 (synopsis "GObject wrapper for libcanberra")
7966 (description
7967 "GSound is a small library for playing system sounds. It's designed to be
7968 used via GObject Introspection, and is a thin wrapper around the libcanberra C
7969 library.")
7970 (license license:lgpl2.1+)))
7971
7972 (define-public libzapojit
7973 (package
7974 (name "libzapojit")
7975 (version "0.0.3")
7976 (source (origin
7977 (method url-fetch)
7978 (uri (string-append "mirror://gnome/sources/" name "/"
7979 (version-major+minor version) "/"
7980 name "-" version ".tar.xz"))
7981 (sha256
7982 (base32
7983 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7984 (build-system gnu-build-system)
7985 (native-inputs
7986 `(("gobject-introspection" ,gobject-introspection)
7987 ("intltool" ,intltool)
7988 ("pkg-config" ,pkg-config)))
7989 (inputs
7990 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7991 ("json-glib" ,json-glib)
7992 ("rest" ,rest)))
7993 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7994 (synopsis "Library for accessing SkyDrive and Hotmail")
7995 (description
7996 "Libzapojit is a GLib-based library for accessing online service APIs of
7997 Microsoft SkyDrive and Hotmail, using their REST protocols.")
7998 (license license:lgpl2.1+)))
7999
8000 (define-public gnome-clocks
8001 (package
8002 (name "gnome-clocks")
8003 (version "3.34.0")
8004 (source (origin
8005 (method url-fetch)
8006 (uri (string-append "mirror://gnome/sources/" name "/"
8007 (version-major+minor version) "/"
8008 name "-" version ".tar.xz"))
8009 (sha256
8010 (base32
8011 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8012 (build-system meson-build-system)
8013 (arguments
8014 '(#:glib-or-gtk? #t
8015 #:phases
8016 (modify-phases %standard-phases
8017 (add-after 'unpack 'skip-gtk-update-icon-cache
8018 ;; Don't create 'icon-theme.cache'.
8019 (lambda _
8020 (substitute* "build-aux/post-install.py"
8021 (("gtk-update-icon-cache") "true"))
8022 #t)))))
8023 (native-inputs
8024 `(("vala" ,vala)
8025 ("pkg-config" ,pkg-config)
8026 ("glib" ,glib "bin") ; for glib-compile-resources
8027 ("desktop-file-utils" ,desktop-file-utils)
8028 ("gettext" ,gettext-minimal)
8029 ("itstool" ,itstool)))
8030 (inputs
8031 `(("glib" ,glib)
8032 ("gtk+" ,gtk+)
8033 ("gsound" ,gsound)
8034 ("geoclue" ,geoclue)
8035 ("geocode-glib" ,geocode-glib)
8036 ("libgweather" ,libgweather)
8037 ("gnome-desktop" ,gnome-desktop)))
8038 (home-page "https://wiki.gnome.org/Apps/Clocks")
8039 (synopsis "GNOME's clock application")
8040 (description
8041 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8042 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8043 (license license:gpl3+)))
8044
8045 (define-public gnome-calendar
8046 (package
8047 (name "gnome-calendar")
8048 (version "3.34.2")
8049 (source (origin
8050 (method url-fetch)
8051 (uri (string-append "mirror://gnome/sources/" name "/"
8052 (version-major+minor version) "/"
8053 name "-" version ".tar.xz"))
8054 (sha256
8055 (base32
8056 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8057 (build-system meson-build-system)
8058 (arguments
8059 '(#:glib-or-gtk? #t
8060 ;; gnome-calendar has to be installed before the tests can be run
8061 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8062 #:tests? #f
8063 #:phases
8064 (modify-phases %standard-phases
8065 (add-after 'unpack 'skip-gtk-update-icon-cache
8066 ;; Don't create 'icon-theme.cache'.
8067 (lambda _
8068 (substitute* "build-aux/meson/meson_post_install.py"
8069 (("gtk-update-icon-cache") "true"))
8070 #t)))))
8071 (native-inputs
8072 `(("gettext" ,gettext-minimal)
8073 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8074 ("pkg-config" ,pkg-config)))
8075 (inputs
8076 `(("evolution-data-server" ,evolution-data-server)
8077 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8078 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8079 ("libdazzle" ,libdazzle)
8080 ("libedataserverui" ,evolution-data-server)
8081 ("libgweather" ,libgweather)
8082 ("geoclue" ,geoclue)))
8083 (home-page "https://wiki.gnome.org/Apps/Calendar")
8084 (synopsis "GNOME's calendar application")
8085 (description
8086 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8087 desktop. It supports multiple calendars, month, week and year view.")
8088 (license license:gpl3+)))
8089
8090 (define-public gnome-todo
8091 (package
8092 (name "gnome-todo")
8093 (version "3.28.1")
8094 (source (origin
8095 (method url-fetch)
8096 (uri (string-append "mirror://gnome/sources/" name "/"
8097 (version-major+minor version) "/"
8098 name "-" version ".tar.xz"))
8099 (sha256
8100 (base32
8101 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
8102 (build-system meson-build-system)
8103 (arguments
8104 '(#:glib-or-gtk? #t
8105 #:phases (modify-phases %standard-phases
8106 (add-after
8107 'install 'wrap-gnome-todo
8108 (lambda* (#:key inputs outputs #:allow-other-keys)
8109 (let ((out (assoc-ref outputs "out"))
8110 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8111 (python-path (getenv "PYTHONPATH")))
8112 (wrap-program (string-append out "/bin/gnome-todo")
8113 ;; XXX: gi plugins are broken.
8114 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8115 ;; For plugins.
8116 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8117 `("PYTHONPATH" ":" prefix (,python-path))))
8118 #t)))))
8119 (native-inputs
8120 `(("gettext" ,gettext-minimal)
8121 ("gobject-introspection" ,gobject-introspection)
8122 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8123 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8124 ("pkg-config" ,pkg-config)))
8125 (inputs
8126 `(("rest" ,rest) ; For Todoist plugin
8127 ("json-glib" ,json-glib) ; For Todoist plugin
8128 ("libedataserverui" ,evolution-data-server)
8129 ("libical" ,libical)
8130 ("libpeas" ,libpeas)
8131 ("python-pygobject" ,python-pygobject)
8132 ("evolution-data-server" ,evolution-data-server)
8133 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8134 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8135 (home-page "https://wiki.gnome.org/Apps/Todo")
8136 (synopsis "GNOME's ToDo Application")
8137 (description
8138 "GNOME To Do is a simplistic personal task manager designed to perfectly
8139 fit the GNOME desktop.")
8140 (license license:gpl3+)))
8141
8142 (define-public gnome-dictionary
8143 (package
8144 (name "gnome-dictionary")
8145 (version "3.26.1")
8146 (source (origin
8147 (method url-fetch)
8148 (uri (string-append "mirror://gnome/sources/" name "/"
8149 (version-major+minor version) "/"
8150 name "-" version ".tar.xz"))
8151 (sha256
8152 (base32
8153 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8154 (build-system meson-build-system)
8155 (arguments '(#:glib-or-gtk? #t
8156 #:phases (modify-phases %standard-phases
8157 (add-after 'unpack 'patch-install-script
8158 (lambda _
8159 ;; This script attempts to compile glib schemas
8160 ;; and create an empty MIME database. We do
8161 ;; that elsewhere, so prevent it from running.
8162 (substitute* "build-aux/post-install.sh"
8163 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8164 #t)))))
8165 (native-inputs
8166 `(("glib:bin" ,glib "bin")
8167 ("gobject-introspection" ,gobject-introspection)
8168 ("intltool" ,intltool)
8169 ("itstool" ,itstool)
8170 ("pkg-config" ,pkg-config)
8171 ("xmllint" ,libxml2)))
8172 (inputs
8173 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8174 ("gtk+" ,gtk+)))
8175 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8176 (synopsis "Look up words in dictionary sources")
8177 (description
8178 "GNOME Dictionary can look for the definition or translation of a word in
8179 existing databases over the internet.")
8180 (license license:gpl3+)))
8181
8182 (define-public gnome-tweaks
8183 (package
8184 (name "gnome-tweaks")
8185 (version "3.34.0")
8186 (source (origin
8187 (method url-fetch)
8188 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8189 (version-major+minor version) "/"
8190 "gnome-tweaks-" version ".tar.xz"))
8191 (patches
8192 (list (search-patch "gnome-tweaks-search-paths.patch")))
8193 (sha256
8194 (base32
8195 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8196 (build-system meson-build-system)
8197 (arguments
8198 `(#:glib-or-gtk? #t
8199 #:configure-flags '("-Dlocalstatedir=/tmp"
8200 "-Dsysconfdir=/tmp")
8201 #:imported-modules ((guix build python-build-system)
8202 ,@%meson-build-system-modules)
8203 #:phases
8204 (modify-phases %standard-phases
8205 (add-after 'unpack 'skip-gtk-update-icon-cache
8206 ;; Don't create 'icon-theme.cache'.
8207 (lambda _
8208 (substitute* "meson-postinstall.py"
8209 (("gtk-update-icon-cache") "true"))
8210 #t))
8211 (add-after 'install 'wrap
8212 (@@ (guix build python-build-system) wrap))
8213 (add-after 'wrap 'wrap-gi-typelib
8214 (lambda* (#:key inputs outputs #:allow-other-keys)
8215 (let ((out (assoc-ref outputs "out"))
8216 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8217 (wrap-program (string-append out "/bin/gnome-tweaks")
8218 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8219 #t)))))
8220 (native-inputs
8221 `(("intltool" ,intltool)
8222 ("pkg-config" ,pkg-config)))
8223 (inputs
8224 `(("gnome-desktop" ,gnome-desktop)
8225 ("gtk+" ,gtk+)
8226 ("gobject-introspection" ,gobject-introspection)
8227 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8228 ("libhandy" ,libhandy)
8229 ("libnotify" ,libnotify)
8230 ("libsoup" ,libsoup)
8231 ("nautilus" ,nautilus)
8232 ("python" ,python)
8233 ("python-pygobject" ,python-pygobject)))
8234 (synopsis "Customize advanced GNOME 3 options")
8235 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8236 (description
8237 "GNOME Tweaks allows adjusting advanced configuration settings in
8238 GNOME 3. This includes things like the fonts used in user interface elements,
8239 alternative user interface themes, changes in window management behavior,
8240 GNOME Shell appearance and extension, etc.")
8241 (license license:gpl3+)))
8242
8243 (define-public gnome-shell-extensions
8244 (package
8245 (name "gnome-shell-extensions")
8246 (version "3.34.2")
8247 (source (origin
8248 (method url-fetch)
8249 (uri (string-append "mirror://gnome/sources/" name "/"
8250 (version-major+minor version) "/"
8251 name "-" version ".tar.xz"))
8252 (sha256
8253 (base32
8254 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8255 (build-system meson-build-system)
8256 (arguments
8257 '(#:configure-flags '("-Dextension_set=all")))
8258 (native-inputs
8259 `(("glib:bin" ,glib "bin")
8260 ("intltool" ,intltool)
8261 ("pkg-config" ,pkg-config)))
8262 (propagated-inputs
8263 `(("glib" ,glib)))
8264 (synopsis "Extensions for GNOME Shell")
8265 (description "GNOME Shell extensions modify and extend GNOME Shell
8266 functionality and behavior.")
8267 (home-page "https://extensions.gnome.org/")
8268 (license license:gpl3+)))
8269
8270 (define-public arc-theme
8271 (package
8272 (name "arc-theme")
8273 (version "20190917")
8274 (source (origin
8275 (method git-fetch)
8276 (uri (git-reference
8277 (url "https://github.com/NicoHood/arc-theme.git")
8278 (commit version)))
8279 (file-name (git-file-name name version))
8280 (sha256
8281 (base32
8282 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8283 (build-system gnu-build-system)
8284 (arguments
8285 '(#:phases
8286 (modify-phases %standard-phases
8287 ;; autogen.sh calls configure at the end of the script.
8288 (replace 'bootstrap
8289 (lambda _ (invoke "autoreconf" "-vfi")))
8290 (add-before 'build 'set-home ;placate Inkscape
8291 (lambda _
8292 (setenv "HOME" (getcwd))
8293 #t)))))
8294 (native-inputs
8295 `(("autoconf" ,autoconf)
8296 ("automake" ,automake)
8297 ("glib" ,glib "bin") ; for glib-compile-resources
8298 ("gnome-shell" ,gnome-shell)
8299 ("gtk+" ,gtk+)
8300 ("inkscape" ,inkscape)
8301 ("optipng" ,optipng)
8302 ("pkg-config" ,pkg-config)
8303 ("sassc" ,sassc/libsass-3.5)))
8304 (synopsis "A flat GTK+ theme with transparent elements")
8305 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8306 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8307 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8308 (home-page "https://github.com/horst3180/arc-theme")
8309 ;; No "or later" language found.
8310 (license license:gpl3+)))
8311
8312 (define-public faba-icon-theme
8313 (package
8314 (name "faba-icon-theme")
8315 (version "4.3")
8316 (source
8317 (origin
8318 (method git-fetch)
8319 (uri (git-reference
8320 (url "https://github.com/snwh/faba-icon-theme.git")
8321 (commit (string-append "v" version))))
8322 (file-name (git-file-name name version))
8323 (sha256
8324 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8325 (build-system meson-build-system)
8326 (arguments
8327 `(#:phases
8328 (modify-phases %standard-phases
8329 (add-before 'configure 'disable-post-install
8330 (lambda _
8331 (substitute* "meson.build"
8332 (("meson.add_install_script.*") "")))))))
8333 (native-inputs
8334 `(("autoconf" ,autoconf)
8335 ("automake" ,automake)))
8336 (synopsis "Faba icon theme")
8337 (description
8338 "Faba is a minimal icon set used as a basis for other themes such as
8339 Moka")
8340 (home-page "https://snwh.org/moka")
8341 (license (list license:lgpl3+
8342 license:cc-by-sa4.0))))
8343
8344 (define-public moka-icon-theme
8345 (package
8346 (inherit faba-icon-theme)
8347 (name "moka-icon-theme")
8348 (version "5.4.0")
8349 (source
8350 (origin
8351 (method git-fetch)
8352 (uri (git-reference
8353 (url "https://github.com/snwh/moka-icon-theme.git")
8354 (commit (string-append "v" version))))
8355 (file-name (git-file-name name version))
8356 (sha256
8357 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8358 (propagated-inputs
8359 ;; Moka is based on Faba by using it as a fallback icon set instead of
8360 ;; bundling it, so we need to add it as a propagated input.
8361 `(("faba-icon-theme" ,faba-icon-theme)))
8362 (synopsis "Moka icon theme")
8363 (description "Moka is a stylized desktop icon set, designed to be clear,
8364 simple and consistent.")
8365 (license (list license:gpl3+
8366 license:cc-by-sa4.0))))
8367
8368 (define-public arc-icon-theme
8369 (package
8370 (name "arc-icon-theme")
8371 (version "20161122")
8372 (source
8373 (origin
8374 (method git-fetch)
8375 (uri (git-reference
8376 (url "https://github.com/horst3180/arc-icon-theme.git")
8377 (commit version)))
8378 (file-name (git-file-name name version))
8379 (sha256
8380 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8381 (build-system gnu-build-system)
8382 (arguments
8383 `(#:phases
8384 (modify-phases %standard-phases
8385 (add-after 'unpack 'disable-configure-during-bootstrap
8386 (lambda _
8387 (substitute* "autogen.sh"
8388 (("^\"\\$srcdir/configure\".*") ""))
8389 #t)))))
8390 (native-inputs
8391 `(("autoconf" ,autoconf)
8392 ("automake" ,automake)))
8393 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8394 (propagated-inputs
8395 `(("moka-icon-theme" ,moka-icon-theme)))
8396 (synopsis "Arc icon theme")
8397 (description "The Arc icon theme provides a set of icons matching the
8398 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8399 the Moka icon theme.")
8400 (home-page "https://github.com/horst3180/arc-icon-theme")
8401 (license license:gpl3+)))
8402
8403 (define-public folks
8404 (package
8405 (name "folks")
8406 (version "0.13.1")
8407 (source (origin
8408 (method url-fetch)
8409 (uri (string-append
8410 "mirror://gnome/sources/folks/"
8411 (version-major+minor version) "/"
8412 "folks-" version ".tar.xz"))
8413 (sha256
8414 (base32
8415 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8416 (build-system meson-build-system)
8417 (arguments
8418 '(#:phases
8419 (modify-phases %standard-phases
8420 (add-after 'unpack 'skip-gtk-update-icon-cache
8421 ;; Don't create 'icon-theme.cache'.
8422 (lambda _
8423 (substitute* "meson_post_install.py"
8424 (("gtk-update-icon-cache") "true"))
8425 #t)))))
8426 (inputs
8427 `(("bdb" ,bdb)
8428 ("dbus-glib" ,dbus-glib)
8429 ("evolution-data-server" ,evolution-data-server)
8430 ("glib" ,glib)
8431 ("libgee" ,libgee)
8432 ("readline" ,readline)
8433 ("telepathy-glib" ,telepathy-glib)))
8434 (native-inputs
8435 `(("glib:bin" ,glib "bin")
8436 ("gobject-introspection" ,gobject-introspection)
8437 ("intltool" ,intltool)
8438 ("pkg-config" ,pkg-config)
8439 ("vala" ,vala)))
8440 (synopsis "Library to aggregate data about people")
8441 (description "Libfolks is a library that aggregates information about people
8442 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8443 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8444 etc.) to create metacontacts. It's written in Vala, which generates C code when
8445 compiled.")
8446 (home-page "https://wiki.gnome.org/Projects/Folks")
8447 (license license:lgpl2.1+)))
8448
8449 (define-public gfbgraph
8450 (package
8451 (name "gfbgraph")
8452 (version "0.2.3")
8453 (source (origin
8454 (method url-fetch)
8455 (uri (string-append
8456 "mirror://gnome/sources/gfbgraph/"
8457 (version-major+minor version) "/"
8458 "gfbgraph-" version ".tar.xz"))
8459 (sha256
8460 (base32
8461 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8462 (build-system glib-or-gtk-build-system)
8463 (arguments
8464 `(#:tests? #f ; Tests appear to require the network.
8465 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8466 #:configure-flags '("--disable-gtk-doc"
8467 "--disable-static"
8468 "--enable-introspection")))
8469 (native-inputs
8470 `(("pkg-config" ,pkg-config)
8471 ("gobject-introspection" ,gobject-introspection)))
8472 (inputs
8473 `(("json-glib" ,json-glib)
8474 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8475 ("rest" ,rest)))
8476 (synopsis "GLib/GObject wrapper for the Facebook API")
8477 (description "This library allows you to use the Facebook API from
8478 GLib/GObject code.")
8479 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8480 (license license:lgpl2.1+)))
8481
8482 (define-public libgnomekbd
8483 (package
8484 (name "libgnomekbd")
8485 (version "3.26.1")
8486 (source (origin
8487 (method url-fetch)
8488 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8489 (version-major+minor version) "/"
8490 "libgnomekbd-" version ".tar.xz"))
8491 (sha256
8492 (base32
8493 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8494 (build-system gnu-build-system)
8495 (native-inputs
8496 `(("pkg-config" ,pkg-config)
8497 ("glib" ,glib "bin")
8498 ("intltool" ,intltool)))
8499 (propagated-inputs
8500 ;; Referred to in .h files and .pc.
8501 `(("glib" ,glib)
8502 ("gtk+" ,gtk+)
8503 ("libxklavier" ,libxklavier)))
8504 (home-page "https://www.gnome.org")
8505 (synopsis "GNOME keyboard configuration library")
8506 (description
8507 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8508 environment, which can notably display keyboard layouts.")
8509 (license license:lgpl2.0+)))
8510
8511 ;;; This package is no longer maintained:
8512 ;;; https://wiki.gnome.org/Attic/LibUnique
8513 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8514 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8515 (define-public libunique
8516 (package
8517 (name "libunique")
8518 (version "3.0.2")
8519 (source (origin
8520 (method url-fetch)
8521 (uri (string-append "mirror://gnome/sources/" name "/"
8522 (version-major+minor version) "/"
8523 name "-" version ".tar.xz"))
8524 (sha256
8525 (base32
8526 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8527 (build-system glib-or-gtk-build-system)
8528 (arguments
8529 `(#:configure-flags '("--disable-static"
8530 "--disable-dbus" ; use gdbus
8531 "--enable-introspection")))
8532 (native-inputs
8533 `(("pkg-config" ,pkg-config)
8534 ("gobject-introspection" ,gobject-introspection)
8535 ("glib:bin" ,glib "bin")
8536 ("gtk-doc" ,gtk-doc)))
8537 (propagated-inputs
8538 ;; Referred to in .h files and .pc.
8539 `(("gtk+" ,gtk+)))
8540 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8541 (synopsis "Library for writing single instance applications")
8542 (description
8543 "Libunique is a library for writing single instance applications. If you
8544 launch a single instance application twice, the second instance will either just
8545 quit or will send a message to the running instance. Libunique makes it easy to
8546 write this kind of application, by providing a base class, taking care of all
8547 the IPC machinery needed to send messages to a running instance, and also
8548 handling the startup notification side.")
8549 (license license:lgpl2.1+)))
8550
8551 (define-public gnome-calculator
8552 (package
8553 (name "gnome-calculator")
8554 (version "3.34.1")
8555 (source
8556 (origin
8557 (method url-fetch)
8558 (uri (string-append "mirror://gnome/sources/" name "/"
8559 (version-major+minor version) "/"
8560 name "-" version ".tar.xz"))
8561 (sha256
8562 (base32
8563 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8564 (build-system meson-build-system)
8565 (arguments '(#:glib-or-gtk? #t))
8566 (native-inputs
8567 `(("gettext" ,gettext-minimal)
8568 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8569 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8570 ("itstool" ,itstool)
8571 ("vala" ,vala)
8572 ("pkg-config" ,pkg-config)))
8573 (inputs
8574 `(("glib" ,glib)
8575 ("gtksourceview" ,gtksourceview)
8576 ("libgee" ,libgee)
8577 ("libsoup" ,libsoup)
8578 ("libxml2" ,libxml2)
8579 ("mpc" ,mpc)
8580 ("mpfr" ,mpfr)))
8581 (home-page "https://wiki.gnome.org/Apps/Calculator")
8582 (synopsis "Desktop calculator")
8583 (description
8584 "Calculator is an application that solves mathematical equations and
8585 is suitable as a default application in a Desktop environment.")
8586 (license license:gpl3)))
8587
8588 (define-public xpad
8589 (package
8590 (name "xpad")
8591 (version "5.1.0")
8592 (source
8593 (origin
8594 (method url-fetch)
8595 (uri (string-append "https://launchpad.net/xpad/trunk/"
8596 version "/+download/"
8597 name "-" version ".tar.bz2"))
8598 (sha256
8599 (base32
8600 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8601 (build-system gnu-build-system)
8602 (native-inputs
8603 `(("autoconf" ,autoconf)
8604 ("automake" ,automake)
8605 ("gtk+:bin" ,gtk+ "bin")
8606 ("intltool" ,intltool)
8607 ("pkg-config" ,pkg-config)))
8608 (inputs
8609 `(("gtksourceview" ,gtksourceview-3)
8610 ("libsm" ,libsm)))
8611 (home-page "https://wiki.gnome.org/Apps/Xpad")
8612 (synopsis "Virtual sticky note")
8613 (description
8614 "Xpad is a sticky note that strives to be simple, fault tolerant,
8615 and customizable. Xpad consists of independent pad windows, each is
8616 basically a text box in which notes can be written.")
8617 (license license:gpl3+)))
8618
8619 (define-public gucharmap
8620 (let ((unicode-files
8621 '(("Blocks.txt"
8622 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8623 ("DerivedAge.txt"
8624 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8625 ("NamesList.txt"
8626 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8627 ("Scripts.txt"
8628 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8629 ("UnicodeData.txt"
8630 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8631 ("Unihan.zip"
8632 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8633 (package
8634 (name "gucharmap")
8635 (version "12.0.1")
8636 (source
8637 (origin
8638 (method url-fetch)
8639 (uri (string-append "mirror://gnome/sources/" name "/"
8640 (version-major+minor version) "/"
8641 name "-" version ".tar.xz"))
8642 (sha256
8643 (base32
8644 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8645 (build-system glib-or-gtk-build-system)
8646 (arguments
8647 `(#:modules ((ice-9 match)
8648 (guix build glib-or-gtk-build-system)
8649 (guix build utils))
8650 #:configure-flags
8651 (list "--with-unicode-data=../unicode-data")
8652 #:phases
8653 (modify-phases %standard-phases
8654 (add-after 'unpack 'prepare-unicode-data
8655 (lambda* (#:key inputs #:allow-other-keys)
8656 (mkdir-p "../unicode-data")
8657 (with-directory-excursion "../unicode-data"
8658 (for-each (match-lambda
8659 ((file _)
8660 (install-file (assoc-ref inputs file) ".")))
8661 ',unicode-files))
8662 #t)))))
8663 (native-inputs
8664 `(("desktop-file-utils" ,desktop-file-utils)
8665 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8666 ("gobject-introspection" ,gobject-introspection)
8667 ("intltool" ,intltool)
8668 ("itstool" ,itstool)
8669 ("pkg-config" ,pkg-config)
8670 ,@(map (match-lambda
8671 ((file hash)
8672 `(,file
8673 ,(origin
8674 (method url-fetch)
8675 (uri (string-append
8676 "http://www.unicode.org/Public/12.0.0/ucd/"
8677 file))
8678 (sha256 (base32 hash))))))
8679 unicode-files)
8680 ("unzip" ,unzip)))
8681 (inputs
8682 `(("gtk+" ,gtk+)
8683 ("xmllint" ,libxml2)))
8684 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8685 (synopsis "Unicode character picker and font browser")
8686 (description
8687 "This program allows you to browse through all the available Unicode
8688 characters and categories for the installed fonts, and to examine their
8689 detailed properties. It is an easy way to find the character you might
8690 only know by its Unicode name or code point.")
8691 (license license:gpl3+))))
8692
8693 (define-public bluefish
8694 (package
8695 (name "bluefish")
8696 (version "2.2.11")
8697 (source
8698 (origin
8699 (method url-fetch)
8700 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8701 "bluefish-" version ".tar.gz"))
8702 (sha256
8703 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8704 (build-system gnu-build-system)
8705 (native-inputs
8706 `(("desktop-file-utils" ,desktop-file-utils)
8707 ("intltool" ,intltool)
8708 ("pkg-config" ,pkg-config)))
8709 (inputs
8710 `(("enchant" ,enchant)
8711 ("gtk+" ,gtk+)
8712 ("python" ,python-wrapper)
8713 ("xmllint" ,libxml2)
8714 ("gucharmap" ,gucharmap)))
8715 (home-page "http://bluefish.openoffice.nl")
8716 (synopsis "Web development studio")
8717 (description
8718 "Bluefish is an editor targeted towards programmers and web developers,
8719 with many options to write web sites, scripts and other code.
8720 Bluefish supports many programming and markup languages.")
8721 (license license:gpl3+)))
8722
8723 (define-public gnome-system-monitor
8724 (package
8725 (name "gnome-system-monitor")
8726 (version "3.32.1")
8727 (source
8728 (origin
8729 (method url-fetch)
8730 (uri (string-append "mirror://gnome/sources/" name "/"
8731 (version-major+minor version) "/"
8732 name "-" version ".tar.xz"))
8733 (sha256
8734 (base32
8735 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8736 (build-system meson-build-system)
8737 (arguments
8738 '(#:glib-or-gtk? #t
8739 #:configure-flags '("-Dsystemd=false")))
8740 (native-inputs
8741 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8742 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8743 ("intltool" ,intltool)
8744 ("itstool" ,itstool)
8745 ("libgtop" ,libgtop)
8746 ("polkit" ,polkit)
8747 ("pkg-config" ,pkg-config)))
8748 (inputs
8749 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8750 ("gtk+" ,gtk+)
8751 ("gtkmm" ,gtkmm)
8752 ("librsvg" ,librsvg)
8753 ("libxml2" ,libxml2)
8754 ("libwnck" ,libwnck)))
8755 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8756 (synopsis "Process viewer and system resource monitor for GNOME")
8757 (description
8758 "GNOME System Monitor is a GNOME process viewer and system monitor with
8759 an attractive, easy-to-use interface. It has features, such as a tree view
8760 for process dependencies, icons for processes, the ability to hide processes,
8761 graphical time histories of CPU/memory/swap usage and the ability to
8762 kill/reinice processes.")
8763 (license license:gpl2+)))
8764
8765 (define-public python-pyatspi
8766 (package
8767 (name "python-pyatspi")
8768 (version "2.34.0")
8769 (source (origin
8770 (method url-fetch)
8771 (uri (string-append
8772 "mirror://gnome/sources/pyatspi/"
8773 (version-major+minor version)
8774 "/pyatspi-" version ".tar.xz"))
8775 (sha256
8776 (base32
8777 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8778 (build-system gnu-build-system)
8779 (arguments
8780 `(#:phases
8781 (modify-phases %standard-phases
8782 (add-before 'build 'fix-atk-load
8783 (lambda _
8784 (substitute* "pyatspi/__init__.py"
8785 (("from gi.repository import Atspi")
8786 "gi.require_version('Gtk', '3.0')
8787 from gi.repository import Gtk
8788 from gi.repository import Atspi"))
8789 #t)))))
8790 (native-inputs
8791 `(("pkg-config" ,pkg-config)))
8792 (inputs
8793 `(("python" ,python)
8794 ("python-pygobject" ,python-pygobject)))
8795 (synopsis "Python client bindings for D-Bus AT-SPI")
8796 (home-page "https://wiki.linuxfoundation.org/accessibility\
8797 /atk/at-spi/at-spi_on_d-bus")
8798 (description
8799 "This package includes a python client library for the AT-SPI D-Bus
8800 accessibility infrastructure.")
8801 (license license:lgpl2.0)
8802 (properties '((upstream-name . "pyatspi")))))
8803
8804 (define-public orca
8805 (package
8806 (name "orca")
8807 (version "3.34.1")
8808 (source (origin
8809 (method url-fetch)
8810 (uri (string-append
8811 "mirror://gnome/sources/" name "/"
8812 (version-major+minor version) "/"
8813 name "-" version ".tar.xz"))
8814 (sha256
8815 (base32
8816 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
8817 (build-system glib-or-gtk-build-system)
8818 (arguments
8819 '(#:phases
8820 (modify-phases %standard-phases
8821 (add-before 'configure 'qualify-xkbcomp
8822 (lambda* (#:key inputs #:allow-other-keys)
8823 (let ((xkbcomp (string-append
8824 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8825 (substitute* "src/orca/orca.py"
8826 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8827 #t))
8828 (add-after 'install 'wrap-orca
8829 (lambda* (#:key outputs #:allow-other-keys)
8830 (let* ((out (assoc-ref outputs "out"))
8831 (prog (string-append out "/bin/orca")))
8832 (wrap-program prog
8833 `("GI_TYPELIB_PATH" ":" prefix
8834 (,(getenv "GI_TYPELIB_PATH")))
8835 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8836 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8837 `("PYTHONPATH" ":" prefix
8838 (,(getenv "PYTHONPATH")))))
8839 #t)))))
8840 (native-inputs
8841 `(("intltool" ,intltool)
8842 ("itstool" ,itstool)
8843 ("pkg-config" ,pkg-config)
8844 ("xmllint" ,libxml2)))
8845 (inputs
8846 `(("at-spi2-atk" ,at-spi2-atk)
8847 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8848 ("gstreamer" ,gstreamer)
8849 ("gst-plugins-base" ,gst-plugins-base)
8850 ("gst-plugins-good" ,gst-plugins-good)
8851 ("gtk+" ,gtk+)
8852 ("python" ,python)
8853 ("python-pygobject" ,python-pygobject)
8854 ("python-pyatspi" ,python-pyatspi)
8855 ("python-speechd" ,speech-dispatcher)
8856 ("xkbcomp" ,xkbcomp)))
8857 (synopsis
8858 "Screen reader for individuals who are blind or visually impaired")
8859 (home-page "https://wiki.gnome.org/Projects/Orca")
8860 (description
8861 "Orca is a screen reader that provides access to the graphical desktop
8862 via speech and refreshable braille. Orca works with applications and toolkits
8863 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8864 (license license:lgpl2.1+)))
8865
8866 (define-public gspell
8867 (package
8868 (name "gspell")
8869 (version "1.8.2")
8870 (source (origin
8871 (method url-fetch)
8872 (uri (string-append "mirror://gnome/sources/" name "/"
8873 (version-major+minor version) "/"
8874 name "-" version ".tar.xz"))
8875 (sha256
8876 (base32
8877 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8878 (patches (search-patches "gspell-dash-test.patch"))))
8879 (build-system glib-or-gtk-build-system)
8880 (arguments
8881 '(#:configure-flags (list "--enable-vala")
8882 #:phases
8883 (modify-phases %standard-phases
8884 (add-before 'check 'pre-check
8885 (lambda* (#:key inputs #:allow-other-keys)
8886 ;; Tests require a running X server.
8887 (system "Xvfb :1 &")
8888 (setenv "DISPLAY" ":1")
8889
8890 ;; For the missing /etc/machine-id.
8891 (setenv "DBUS_FATAL_WARNINGS" "0")
8892
8893 ;; Allow Enchant and its Aspell backend to find the en_US
8894 ;; dictionary.
8895 (setenv "ASPELL_DICT_DIR"
8896 (string-append (assoc-ref inputs "aspell-dict-en")
8897 "/lib/aspell"))
8898 #t)))))
8899 (inputs
8900 `(("gtk+" ,gtk+)
8901 ("glib" ,glib)
8902 ("iso-codes" ,iso-codes)))
8903 (native-inputs
8904 `(("glib" ,glib "bin")
8905 ("gobject-introspection" ,gobject-introspection)
8906 ("pkg-config" ,pkg-config)
8907 ("vala" ,vala) ;for VAPI, needed by Geary
8908 ("xmllint" ,libxml2)
8909
8910 ;; For tests.
8911 ("aspell-dict-en" ,aspell-dict-en)
8912 ("xorg-server" ,xorg-server-for-tests)))
8913 (propagated-inputs
8914 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8915 (home-page "https://wiki.gnome.org/Projects/gspell")
8916 (synopsis "GNOME's alternative spell checker")
8917 (description
8918 "gspell provides a flexible API to add spell-checking to a GTK+
8919 application. It provides a GObject API, spell-checking to text entries and
8920 text views, and buttons to choose the language.")
8921 (license license:gpl2+)))
8922
8923 (define-public gnome-planner
8924 (package
8925 (name "gnome-planner")
8926 (version "0.14.6")
8927 (source (origin
8928 (method url-fetch)
8929 (uri (string-append "mirror://gnome/sources/planner/"
8930 (version-major+minor version) "/planner-"
8931 version ".tar.xz"))
8932 (sha256
8933 (base32
8934 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8935 (build-system glib-or-gtk-build-system)
8936 (arguments
8937 ;; Disable the Python bindings because the Planner program functions
8938 ;; without them, and (as of 2017-06-13) we have not packaged all of
8939 ;; packages that are necessary for building the Python bindings.
8940 `(#:configure-flags
8941 (list "--disable-python"
8942 ,@(if (string=? "aarch64-linux" (%current-system))
8943 '("--build=aarch64-unknown-linux-gnu")
8944 '()))))
8945 (inputs
8946 `(("libgnomecanvas" ,libgnomecanvas)
8947 ("libgnomeui" ,libgnomeui)
8948 ("libglade" ,libglade)
8949 ("gnome-vfs" ,gnome-vfs)
8950 ("gconf" ,gconf)
8951 ("libxml2" ,libxml2)
8952 ("libxslt" ,libxslt)
8953 ("gtk+" ,gtk+)
8954 ("glib" ,glib)))
8955 (native-inputs
8956 `(("intltool" ,intltool)
8957 ("scrollkeeper" ,scrollkeeper)
8958 ("pkg-config" ,pkg-config)))
8959 (home-page "https://wiki.gnome.org/Apps/Planner")
8960 (synopsis "Project management software for the GNOME desktop")
8961 (description
8962 "GNOME Planner is a project management tool based on the Work Breakdown
8963 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8964 the resources, tasks, and constraints that you define, Planner generates
8965 various views into a project. For example, Planner can show a Gantt chart of
8966 the project. It can show a detailed summary of tasks including their
8967 duration, cost, and current progress. It can also show a report of resource
8968 utilization that highlights under-utilized and over-utilized resources. These
8969 views can be printed as PDF or PostScript files, or exported to HTML.")
8970 (license license:gpl2+)))
8971
8972 (define-public lollypop
8973 (package
8974 (name "lollypop")
8975 (version "1.2.32")
8976 (source
8977 (origin
8978 (method url-fetch)
8979 (uri (string-append "https://adishatz.org/lollypop/"
8980 "lollypop-" version ".tar.xz"))
8981 (sha256
8982 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
8983 (build-system meson-build-system)
8984 (arguments
8985 `(#:imported-modules
8986 (,@%meson-build-system-modules
8987 (guix build python-build-system))
8988 #:modules
8989 ((guix build meson-build-system)
8990 ((guix build python-build-system) #:prefix python:)
8991 (guix build utils))
8992 #:glib-or-gtk? #t
8993 #:tests? #f ; no test suite
8994 #:phases
8995 (modify-phases %standard-phases
8996 (add-after 'install 'wrap-program
8997 (lambda* (#:key outputs #:allow-other-keys)
8998 (let ((out (assoc-ref outputs "out"))
8999 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9000 (wrap-program (string-append out "/bin/lollypop")
9001 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9002 #t))
9003 (add-after 'install 'wrap-python
9004 (assoc-ref python:%standard-phases 'wrap)))))
9005 (native-inputs
9006 `(("intltool" ,intltool)
9007 ("itstool" ,itstool)
9008 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9009 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9010 ("pkg-config" ,pkg-config)))
9011 (inputs
9012 `(("gobject-introspection" ,gobject-introspection)
9013 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9014 ("gst-plugins-base" ,gst-plugins-base)
9015 ("libnotify" ,libnotify)
9016 ("libsecret" ,libsecret)
9017 ("libsoup" ,libsoup)
9018 ("python" ,python)
9019 ("python-beautifulsoup4" ,python-beautifulsoup4)
9020 ("python-gst" ,python-gst)
9021 ("python-pil" ,python-pillow)
9022 ("python-pycairo" ,python-pycairo)
9023 ("python-pygobject" ,python-pygobject)
9024 ("python-pylast" ,python-pylast)
9025 ("totem-pl-parser" ,totem-pl-parser)
9026 ("webkitgtk" ,webkitgtk)))
9027 (propagated-inputs
9028 `(;; gst-plugins-base is required to start Lollypop,
9029 ;; the others are required to play streaming.
9030 ("gst-plugins-good" ,gst-plugins-good)
9031 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9032 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9033 (synopsis "GNOME music playing application")
9034 (description
9035 "Lollypop is a music player designed to play well with GNOME desktop.
9036 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9037 from artists and tracks from the web. It also fetches cover artworks
9038 automatically and it can stream songs from online music services and charts.")
9039 (license license:gpl3+)))
9040
9041 (define-public gnome-video-effects
9042 (package
9043 (name "gnome-video-effects")
9044 (version "0.4.3")
9045 (source (origin
9046 (method url-fetch)
9047 (uri (string-append "mirror://gnome/sources/" name "/"
9048 (version-major+minor version) "/" name "-"
9049 version ".tar.xz"))
9050 (sha256
9051 (base32
9052 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9053 (build-system glib-or-gtk-build-system)
9054 (arguments
9055 `(#:out-of-source? #f))
9056 (native-inputs
9057 `(("glib:bin" ,glib "bin")
9058 ("intltool" ,intltool)
9059 ("gettext" ,gettext-minimal)
9060 ("pkg-config" ,pkg-config)))
9061 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9062 (synopsis "Video effects for Cheese and other GNOME applications")
9063 (description
9064 "A collection of GStreamer video filters and effects to be used in
9065 photo-booth-like software, such as Cheese.")
9066 (license license:gpl2+)))
9067
9068 (define-public cheese
9069 (package
9070 (name "cheese")
9071 (version "3.34.0")
9072 (source (origin
9073 (method url-fetch)
9074 (uri (string-append "mirror://gnome/sources/" name "/"
9075 (version-major+minor version) "/" name "-"
9076 version ".tar.xz"))
9077 (sha256
9078 (base32
9079 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9080 (arguments
9081 `(#:glib-or-gtk? #t
9082 ;; Tests require GDK.
9083 #:tests? #f
9084 #:phases
9085 (modify-phases %standard-phases
9086 (add-after 'unpack 'skip-gtk-update-icon-cache
9087 (lambda _
9088 ;; Don't create 'icon-theme.cache'
9089 (substitute* "meson_post_install.py"
9090 (("gtk-update-icon-cache") (which "true")))
9091 #t))
9092 (add-after 'install 'wrap-cheese
9093 (lambda* (#:key inputs outputs #:allow-other-keys)
9094 (let ((out (assoc-ref outputs "out"))
9095 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9096 (wrap-program (string-append out "/bin/cheese")
9097 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9098 #t)))))
9099 (build-system meson-build-system)
9100 (native-inputs
9101 `(("docbook-xsl" ,docbook-xsl)
9102 ("glib:bin" ,glib "bin")
9103 ("gtk-doc" ,gtk-doc)
9104 ("intltool" ,intltool)
9105 ("itstool" ,itstool)
9106 ("libxml2" ,libxml2)
9107 ("libxslt" ,libxslt)
9108 ("pkg-config" ,pkg-config)
9109 ("vala" ,vala)))
9110 (propagated-inputs
9111 `(("gnome-video-effects" ,gnome-video-effects)
9112 ("clutter" ,clutter)
9113 ("clutter-gst" ,clutter-gst)
9114 ("clutter-gtk" ,clutter-gtk)
9115 ("libcanberra" ,libcanberra)
9116 ("gdk-pixbuf" ,gdk-pixbuf)
9117 ("glib" ,glib)
9118 ("gstreamer" ,gstreamer)))
9119 (inputs
9120 `(("gnome-desktop" ,gnome-desktop)
9121 ("gobject-introspection" ,gobject-introspection)
9122 ("gst-plugins-base" ,gst-plugins-base)
9123 ("gst-plugins-bad" ,gst-plugins-bad)
9124 ("gtk+" ,gtk+)
9125 ("libx11" ,libx11)
9126 ("libxtst" ,libxtst)))
9127 (home-page "https://wiki.gnome.org/Apps/Cheese")
9128 (synopsis "Webcam photo booth software for GNOME")
9129 (description
9130 "Cheese uses your webcam to take photos and videos. Cheese can also
9131 apply fancy special effects and lets you share the fun with others.")
9132 (license license:gpl2+)))
9133
9134 (define-public sound-juicer
9135 (package
9136 (name "sound-juicer")
9137 (version "3.24.0")
9138 (source
9139 (origin
9140 (method url-fetch)
9141 (uri (string-append "mirror://gnome/sources/" name "/"
9142 (version-major+minor version) "/"
9143 name "-" version ".tar.xz"))
9144 (sha256
9145 (base32
9146 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9147 (build-system glib-or-gtk-build-system)
9148 (native-inputs
9149 `(("desktop-file-utils" ,desktop-file-utils)
9150 ("intltool" ,intltool)
9151 ("itstool" ,itstool)
9152 ("pkg-config" ,pkg-config)
9153 ("xmllint" ,libxml2)))
9154 (inputs
9155 `(("gtk+" ,gtk+)
9156 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9157 ("gstreamer" ,gstreamer)
9158 ("gst-plugins-base" ,gst-plugins-base)
9159 ("gst-plugins-good" ,gst-plugins-good)
9160 ("iso-codes" ,iso-codes)
9161 ("libbrasero-media3" ,brasero)
9162 ("libcanberra" ,libcanberra)
9163 ("libdiscid" ,libdiscid)
9164 ("libmusicbrainz" ,libmusicbrainz)
9165 ("neon" ,neon)))
9166 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9167 (synopsis "Audio music cd ripper")
9168 (description "Sound Juicer extracts audio from compact discs and convert it
9169 into audio files that a personal computer or digital audio player can play.
9170 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9171 mp3, Ogg Vorbis and FLAC")
9172 (license license:gpl2+)))
9173
9174 (define-public soundconverter
9175 (package
9176 (name "soundconverter")
9177 (version "3.0.1")
9178 (source
9179 (origin
9180 (method url-fetch)
9181 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9182 version "/+download/"
9183 "soundconverter-" version ".tar.xz"))
9184
9185 (sha256
9186 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
9187 (patches
9188 (search-patches
9189 "soundconverter-remove-gconf-dependency.patch"))))
9190 (build-system glib-or-gtk-build-system)
9191 (arguments
9192 `(#:imported-modules ((guix build python-build-system)
9193 (guix build glib-or-gtk-build-system)
9194 ,@%gnu-build-system-modules)
9195
9196 #:modules ((guix build glib-or-gtk-build-system)
9197 (guix build utils)
9198 ((guix build gnu-build-system) #:prefix gnu:)
9199 ((guix build python-build-system) #:prefix python:))
9200
9201 #:phases
9202 (modify-phases %standard-phases
9203 (add-after 'install 'wrap-soundconverter-for-python
9204 (assoc-ref python:%standard-phases 'wrap))
9205 (add-after 'install 'wrap-soundconverter
9206 (lambda* (#:key inputs outputs #:allow-other-keys)
9207 (let ((out (assoc-ref outputs "out"))
9208 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9209 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9210 (wrap-program (string-append out "/bin/soundconverter")
9211 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9212 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9213 #t)))))
9214 (native-inputs
9215 `(("intltool" ,intltool)
9216 ("pkg-config" ,pkg-config)
9217 ("glib:bin" ,glib "bin")))
9218 (inputs
9219 `(("gtk+" ,gtk+)
9220 ("python" ,python)
9221 ("python-pygobject" ,python-pygobject)
9222 ("gstreamer" ,gstreamer)
9223 ("gst-plugins-base" ,gst-plugins-base)))
9224 (home-page "https://soundconverter.org/")
9225 (synopsis "Convert between audio formats with a graphical interface")
9226 (description
9227 "SoundConverter supports converting between many audio formats including
9228 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9229 configurable file renaming. ")
9230 (license license:gpl3)))
9231
9232 (define-public workrave
9233 (package
9234 (name "workrave")
9235 (version "1.10.42")
9236 (source
9237 (origin
9238 (method git-fetch)
9239 (uri (git-reference
9240 (url "https://github.com/rcaelers/workrave.git")
9241 (commit (string-append "v" (string-map
9242 (match-lambda (#\. #\_) (chr chr))
9243 version)))))
9244 (file-name (git-file-name name version))
9245 (sha256
9246 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9247 (build-system glib-or-gtk-build-system)
9248 (arguments
9249 ;; The only tests are maintainer tests (in po/), which fail.
9250 `(#:tests? #f))
9251 (inputs `(("glib" ,glib)
9252 ("gtk+" ,gtk+)
9253 ("gdk-pixbuf" ,gdk-pixbuf)
9254 ("gtkmm" ,gtkmm)
9255 ("glibmm" ,glibmm)
9256 ("libx11" ,libx11)
9257 ("libxtst" ,libxtst)
9258 ("dconf" ,dconf)
9259 ("libice" ,libice)
9260 ("libsm" ,libsm)
9261 ("libxscrnsaver" ,libxscrnsaver)))
9262 (native-inputs `(("boost" ,boost)
9263 ("pkg-config" ,pkg-config)
9264 ("gettext" ,gettext-minimal)
9265 ("autoconf" ,autoconf)
9266 ("autoconf-archive" , autoconf-archive)
9267 ("automake" ,automake)
9268 ("libtool" ,libtool)
9269 ("intltool" ,intltool)
9270 ("gobject-introspection" ,gobject-introspection)
9271 ("python3" ,python-3)
9272 ("python-jinja2" ,python-jinja2)))
9273 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9274 (description
9275 "Workrave is a program that assists in the recovery and prevention of
9276 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9277 micro-pauses and rest breaks, and restricts you to your daily limit.")
9278 (home-page "http://www.workrave.org")
9279 (license license:gpl3+)))
9280
9281 (define-public ghex
9282 (package
9283 (name "ghex")
9284 (version "3.18.4")
9285 (source (origin
9286 (method url-fetch)
9287 (uri (string-append "mirror://gnome/sources/ghex/"
9288 (version-major+minor version) "/"
9289 "ghex-" version ".tar.xz"))
9290 (sha256
9291 (base32
9292 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9293 (build-system meson-build-system)
9294 (arguments
9295 '(#:glib-or-gtk? #t
9296 #:phases
9297 (modify-phases %standard-phases
9298 (add-after 'unpack 'skip-gtk-update-icon-cache
9299 ;; Don't create 'icon-theme.cache'.
9300 (lambda _
9301 (substitute* "meson_post_install.py"
9302 (("gtk-update-icon-cache") (which "true")))
9303 #t)))))
9304 (native-inputs
9305 `(("pkg-config" ,pkg-config)
9306 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9307 ("gnome-common" ,gnome-common)
9308 ("which" ,which)
9309 ("intltool" ,intltool)
9310 ("yelp-tools" ,yelp-tools)
9311 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9312 (inputs
9313 `(("atk" ,atk)
9314 ("gtk" ,gtk+)))
9315 (synopsis "GNOME hexadecimal editor")
9316 (description "The GHex program can view and edit files in two ways:
9317 hexadecimal or ASCII. It is useful for editing binary files in general.")
9318 (home-page "https://wiki.gnome.org/Apps/Ghex")
9319 (license license:gpl2)))
9320
9321 (define-public libdazzle
9322 (package
9323 (name "libdazzle")
9324 (version "3.34.1")
9325 (source (origin
9326 (method url-fetch)
9327 (uri (string-append "mirror://gnome/sources/libdazzle/"
9328 (version-major+minor version) "/"
9329 "libdazzle-" version ".tar.xz"))
9330 (sha256
9331 (base32
9332 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9333 (build-system meson-build-system)
9334 (arguments
9335 `(#:phases
9336 (modify-phases %standard-phases
9337 (add-before 'check 'pre-check
9338 (lambda _
9339 ;; Tests require a running X server.
9340 (system "Xvfb :1 &")
9341 (setenv "DISPLAY" ":1")
9342 #t)))))
9343 (native-inputs
9344 `(("glib" ,glib "bin") ; glib-compile-resources
9345 ("pkg-config" ,pkg-config)
9346 ;; For tests.
9347 ("xorg-server" ,xorg-server-for-tests)))
9348 (inputs
9349 `(("glib" ,glib)
9350 ("gobject-introspection" ,gobject-introspection)
9351 ("gtk+" ,gtk+)
9352 ("vala" ,vala)))
9353 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9354 (synopsis "Companion library to GObject and Gtk+")
9355 (description "The libdazzle library is a companion library to GObject and
9356 Gtk+. It provides various features that the authors wish were in the
9357 underlying library but cannot for various reasons. In most cases, they are
9358 wildly out of scope for those libraries. In other cases, they are not quite
9359 generic enough to work for everyone.")
9360 (license license:gpl3+)))
9361
9362 (define-public evolution
9363 (package
9364 (name "evolution")
9365 (version "3.34.2")
9366 (source (origin
9367 (method url-fetch)
9368 (uri (string-append "mirror://gnome/sources/evolution/"
9369 (version-major+minor version) "/"
9370 "evolution-" version ".tar.xz"))
9371 (sha256
9372 (base32
9373 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9374 (build-system cmake-build-system)
9375 (arguments
9376 `(#:imported-modules (,@%cmake-build-system-modules
9377 (guix build glib-or-gtk-build-system))
9378 #:modules ((guix build cmake-build-system)
9379 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9380 (guix build utils))
9381 #:configure-flags
9382 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9383 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9384 ; in four years and cannot be built.
9385 #:phases
9386 (modify-phases %standard-phases
9387 ;; The build system attempts to install user interface modules to the
9388 ;; output directory of the "evolution-data-server" package. This
9389 ;; change redirects that change.
9390 (add-after 'unpack 'patch-ui-module-dir
9391 (lambda* (#:key outputs #:allow-other-keys)
9392 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9393 (("\\$\\{edsuimoduledir\\}")
9394 (string-append (assoc-ref outputs "out")
9395 "/lib/evolution-data-server/ui-modules")))
9396 #t))
9397 (add-after 'install 'glib-or-gtk-compile-schemas
9398 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9399 (add-after 'install 'glib-or-gtk-wrap
9400 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9401 (native-inputs
9402 `(("glib" ,glib "bin") ; glib-mkenums
9403 ("pkg-config" ,pkg-config)
9404 ("intltool" ,intltool)
9405 ("itstool" ,itstool)))
9406 (inputs
9407 `(("enchant" ,enchant)
9408 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9409 ("gcr" ,gcr)
9410 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9411 ("gnome-autoar" ,gnome-autoar)
9412 ("gnome-desktop" ,gnome-desktop)
9413 ("gspell" ,gspell)
9414 ("highlight" ,highlight)
9415 ("libcanberra" ,libcanberra)
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-turbo)
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 piper
10058 (package
10059 (name "piper")
10060 (version "0.4")
10061 (source
10062 (origin
10063 (method git-fetch)
10064 (uri (git-reference
10065 (url "https://github.com/libratbag/piper.git")
10066 (commit version)))
10067 (sha256
10068 (base32 "17h06j8lxpbfygq8fzycl7lml4vv7r05bsyhh3gga2hp0zms4mvg"))))
10069 (build-system meson-build-system)
10070 (native-inputs
10071 `(("gettext" ,gettext-minimal)
10072 ("glib:bin" ,glib "bin")
10073 ("gobject-introspection" ,gobject-introspection)
10074 ("pkg-config" ,pkg-config)
10075 ("python-flake8" ,python-flake8)))
10076 (inputs
10077 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10078 ("gtk" ,gtk+)
10079 ("gtk:bin" ,gtk+ "bin")
10080 ("librsvg" ,librsvg)
10081 ("python-evdev" ,python-evdev)
10082 ("python-lxml" ,python-lxml)
10083 ("python-pycairo" ,python-pycairo)
10084 ("python-pygobject" ,python-pygobject)))
10085 (arguments
10086 `(#:imported-modules ((guix build python-build-system)
10087 ,@%meson-build-system-modules)
10088 #:modules (((guix build python-build-system) #:prefix python:)
10089 (guix build meson-build-system)
10090 (guix build utils))
10091 #:phases
10092 (modify-phases %standard-phases
10093 (add-after 'unpack 'dont-update-gtk-icon-cache
10094 (lambda _
10095 (substitute* "meson.build"
10096 (("meson.add_install_script('meson_install.sh')") ""))
10097 #t))
10098 ;; TODO: Switch to wrap-script when it is fixed.
10099 (add-after 'install 'wrap-python
10100 (assoc-ref python:%standard-phases 'wrap))
10101 (add-after 'wrap-python 'wrap
10102 (lambda* (#:key outputs #:allow-other-keys)
10103 (wrap-program
10104 (string-append (assoc-ref outputs "out" )"/bin/piper")
10105 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10106 #t)))))
10107 (home-page "https://github.com/libratbag/piper/")
10108 (synopsis "Configure bindings and LEDs on gaming mice")
10109 (description "Piper is a GTK+ application for configuring gaming mice with
10110 onboard configuration for key bindings via libratbag. Piper requires
10111 a @command{ratbagd} daemon running with root privileges. It can be run
10112 manually as root, but is preferably configured as a DBus service that can
10113 launch on demand. This can be configured by enabling the following service,
10114 provided there is a DBus service present:
10115
10116 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10117 (license license:gpl2)))
10118
10119 (define-public parlatype
10120 ;; This is one commit away from 2.0, because the latter introduced
10121 ;; a regression in ASR.
10122 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
10123 (revision "0"))
10124 (package
10125 (name "parlatype")
10126 (version (git-version "2.0" revision commit))
10127 (source
10128 (origin
10129 (method git-fetch)
10130 (uri (git-reference
10131 (url "https://github.com/gkarsay/parlatype.git")
10132 (commit commit)))
10133 (file-name (git-file-name name version))
10134 (sha256
10135 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
10136 (build-system meson-build-system)
10137 (arguments
10138 `(#:glib-or-gtk? #t
10139 #:tests? #f ;require internet access
10140 #:phases
10141 (modify-phases %standard-phases
10142 (add-after 'install 'wrap-parlatype
10143 ;; Add gstreamer plugin provided in this package to system's
10144 ;; plugins.
10145 (lambda* (#:key outputs #:allow-other-keys)
10146 (let* ((out (assoc-ref outputs "out"))
10147 (gst-plugin-path (string-append
10148 out "/lib/gstreamer-1.0/"
10149 ":"
10150 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10151 (wrap-program (string-append out "/bin/parlatype")
10152 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10153 #t)))))
10154 (native-inputs
10155 `(("appstream-glib" ,appstream-glib)
10156 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10157 ("gettext" ,gettext-minimal)
10158 ("glib" ,glib "bin") ;for glib-compile-resources
10159 ("pkg-config" ,pkg-config)
10160 ("yelp-tools" ,yelp-tools)))
10161 (inputs
10162 `(("gst-plugins-base" ,gst-plugins-base)
10163 ("gst-plugins-good" ,gst-plugins-good)
10164 ("gstreamer" ,gstreamer)
10165 ("gtk+" ,gtk+)
10166 ("pocketsphinx" ,pocketsphinx)
10167 ("pulseaudio" ,pulseaudio)
10168 ("sphinxbase" ,sphinxbase)))
10169 (home-page "http://gkarsay.github.io/parlatype/")
10170 (synopsis "GNOME audio player for transcription")
10171 (description "Parlatype is an audio player for the GNOME desktop
10172 environment. Its main purpose is the manual transcription of spoken
10173 audio files.")
10174 (license license:gpl3+))))
10175
10176 (define-public jsonrpc-glib
10177 (package
10178 (name "jsonrpc-glib")
10179 (version "3.34.0")
10180 (source (origin
10181 (method url-fetch)
10182 (uri (string-append "mirror://gnome/sources/" name "/"
10183 (version-major+minor version) "/"
10184 name "-" version ".tar.xz"))
10185 (sha256
10186 (base32
10187 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10188 (build-system meson-build-system)
10189 (inputs
10190 `(("json-glib" ,json-glib)
10191 ("glib" ,glib)))
10192 (native-inputs
10193 `(("pkg-config" ,pkg-config)
10194 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10195 ("gobject-introspection" ,gobject-introspection)
10196 ("vala" ,vala)))
10197 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10198 (synopsis "JSON-RPC library for GLib")
10199 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10200 peers in either a synchronous or asynchronous fashion. It also allows
10201 communicating using the GVariant serialization format instead of JSON when
10202 both peers support it. You might want that when communicating on a single
10203 host to avoid parser overhead and memory-allocator fragmentation.")
10204 (license license:lgpl2.1+)))