gnu: Remove vte-0.36.
[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, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;;
58 ;;; This file is part of GNU Guix.
59 ;;;
60 ;;; GNU Guix is free software; you can redistribute it and/or modify it
61 ;;; under the terms of the GNU General Public License as published by
62 ;;; the Free Software Foundation; either version 3 of the License, or (at
63 ;;; your option) any later version.
64 ;;;
65 ;;; GNU Guix is distributed in the hope that it will be useful, but
66 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
67 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68 ;;; GNU General Public License for more details.
69 ;;;
70 ;;; You should have received a copy of the GNU General Public License
71 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
72
73 (define-module (gnu packages gnome)
74 #:use-module (gnu packages)
75 #:use-module (gnu packages admin)
76 #:use-module (gnu packages aspell)
77 #:use-module (gnu packages autotools)
78 #:use-module (gnu packages avahi)
79 #:use-module (gnu packages backup)
80 #:use-module (gnu packages base)
81 #:use-module (gnu packages bash)
82 #:use-module (gnu packages bison)
83 #:use-module (gnu packages boost)
84 #:use-module (gnu packages build-tools)
85 #:use-module (gnu packages calendar)
86 #:use-module (gnu packages cdrom)
87 #:use-module (gnu packages check)
88 #:use-module (gnu packages cmake)
89 #:use-module (gnu packages compression)
90 #:use-module (gnu packages crates-io)
91 #:use-module (gnu packages cups)
92 #:use-module (gnu packages curl)
93 #:use-module (gnu packages cyrus-sasl)
94 #:use-module (gnu packages databases)
95 #:use-module (gnu packages dbm)
96 #:use-module (gnu packages djvu)
97 #:use-module (gnu packages dns)
98 #:use-module (gnu packages docbook)
99 #:use-module (gnu packages documentation)
100 #:use-module (gnu packages enchant)
101 #:use-module (gnu packages flex)
102 #:use-module (gnu packages fonts)
103 #:use-module (gnu packages file-systems)
104 #:use-module (gnu packages fontutils)
105 #:use-module (gnu packages freedesktop)
106 #:use-module (gnu packages game-development)
107 #:use-module (gnu packages gettext)
108 #:use-module (gnu packages ghostscript)
109 #:use-module (gnu packages gl)
110 #:use-module (gnu packages glib)
111 #:use-module (gnu packages gnupg)
112 #:use-module (gnu packages gnuzilla)
113 #:use-module (gnu packages geo)
114 #:use-module (gnu packages gperf)
115 #:use-module (gnu packages graphviz)
116 #:use-module (gnu packages gstreamer)
117 #:use-module (gnu packages gtk)
118 #:use-module (gnu packages guile)
119 #:use-module (gnu packages ibus)
120 #:use-module (gnu packages icu4c)
121 #:use-module (gnu packages image)
122 #:use-module (gnu packages imagemagick)
123 #:use-module (gnu packages inkscape)
124 #:use-module (gnu packages iso-codes)
125 #:use-module (gnu packages kerberos)
126 #:use-module (gnu packages libcanberra)
127 #:use-module (gnu packages libunistring)
128 #:use-module (gnu packages libunwind)
129 #:use-module (gnu packages libusb)
130 #:use-module (gnu packages linux)
131 #:use-module (gnu packages lirc)
132 #:use-module (gnu packages lua)
133 #:use-module (gnu packages mail)
134 #:use-module (gnu packages mp3)
135 #:use-module (gnu packages multiprecision)
136 #:use-module (gnu packages music)
137 #:use-module (gnu packages ncurses)
138 #:use-module (gnu packages nettle)
139 #:use-module (gnu packages networking)
140 #:use-module (gnu packages ninja)
141 #:use-module (gnu packages nss)
142 #:use-module (gnu packages openldap)
143 #:use-module (gnu packages password-utils)
144 #:use-module (gnu packages pcre)
145 #:use-module (gnu packages pdf)
146 #:use-module (gnu packages perl)
147 #:use-module (gnu packages photo)
148 #:use-module (gnu packages php)
149 #:use-module (gnu packages pkg-config)
150 #:use-module (gnu packages polkit)
151 #:use-module (gnu packages popt)
152 #:use-module (gnu packages pretty-print)
153 #:use-module (gnu packages pulseaudio)
154 #:use-module (gnu packages python)
155 #:use-module (gnu packages python-crypto)
156 #:use-module (gnu packages python-web)
157 #:use-module (gnu packages python-xyz)
158 #:use-module (gnu packages rdesktop)
159 #:use-module (gnu packages readline)
160 #:use-module (gnu packages ruby)
161 #:use-module (gnu packages rust)
162 #:use-module (gnu packages samba)
163 #:use-module (gnu packages scanner)
164 #:use-module (gnu packages selinux)
165 #:use-module (gnu packages slang)
166 #:use-module (gnu packages speech)
167 #:use-module (gnu packages spice)
168 #:use-module (gnu packages sqlite)
169 #:use-module (gnu packages ssh)
170 #:use-module (gnu packages swig)
171 #:use-module (gnu packages tex)
172 #:use-module (gnu packages time)
173 #:use-module (gnu packages tls)
174 #:use-module (gnu packages valgrind)
175 #:use-module (gnu packages version-control)
176 #:use-module (gnu packages video)
177 #:use-module (gnu packages virtualization)
178 #:use-module (gnu packages vpn)
179 #:use-module (gnu packages web)
180 #:use-module (gnu packages webkit)
181 #:use-module (gnu packages xdisorg)
182 #:use-module (gnu packages xiph)
183 #:use-module (gnu packages xml)
184 #:use-module (gnu packages xorg)
185 #:use-module (gnu artwork)
186 #:use-module ((guix build utils) #:select (modify-phases))
187 #:use-module (guix build-system cargo)
188 #:use-module (guix build-system cmake)
189 #:use-module (guix build-system glib-or-gtk)
190 #:use-module (guix build-system gnu)
191 #:use-module (guix build-system meson)
192 #:use-module (guix build-system python)
193 #:use-module (guix build-system trivial)
194 #:use-module (guix download)
195 #:use-module (guix git-download)
196 #:use-module ((guix licenses) #:prefix license:)
197 #:use-module (guix packages)
198 #:use-module (guix utils)
199 #:use-module (guix gexp)
200 #:use-module (guix monads)
201 #:use-module (guix store)
202 #:use-module (ice-9 match)
203 #:use-module (srfi srfi-1))
204
205 (define-public brasero
206 (package
207 (name "brasero")
208 (version "3.12.2")
209 (source (origin
210 (method url-fetch)
211 (uri (string-append "mirror://gnome/sources/brasero/"
212 (version-major+minor version) "/"
213 "brasero-" version ".tar.xz"))
214 (sha256
215 (base32
216 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
217 (build-system glib-or-gtk-build-system)
218 (arguments
219 `(#:configure-flags (list
220 (string-append "--with-girdir="
221 (assoc-ref %outputs "out")
222 "/share/gir-1.0")
223 (string-append "--with-typelibdir="
224 (assoc-ref %outputs "out")
225 "/lib/girepository-1.0"))
226 #:phases
227 (modify-phases %standard-phases
228 (add-before 'configure 'embed-growisofs
229 (lambda* (#:key inputs #:allow-other-keys)
230 (substitute* "plugins/growisofs/burn-growisofs.c"
231 (("\"growisofs") (string-append "\"" (which "growisofs"))))
232 #t)))))
233 (propagated-inputs
234 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
235 (native-inputs
236 `(("intltool" ,intltool)
237 ("itstool" ,itstool)
238 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
239 ("gobject-introspection" ,gobject-introspection)
240 ("pkg-config" ,pkg-config)))
241 (inputs
242 `(("dvd+rw-tools" ,dvd+rw-tools)
243 ("glib" ,glib)
244 ("gnome-doc-utils" ,gnome-doc-utils)
245 ("gstreamer" ,gstreamer)
246 ("gst-plugins-base" ,gst-plugins-base)
247 ("gtk+" ,gtk+)
248 ("libcanberra" ,libcanberra)
249 ("libice" ,libice)
250 ("libnotify" ,libnotify)
251 ("libsm" ,libsm)
252 ("libxml2" ,libxml2)
253 ("totem-pl-parser" ,totem-pl-parser)))
254 (home-page "https://wiki.gnome.org/Apps/Brasero")
255 (synopsis "CD/DVD burning tool for Gnome")
256 (description "Brasero is an application to burn CD/DVD for the Gnome
257 Desktop. It is designed to be as simple as possible and has some unique
258 features to enable users to create their discs easily and quickly.")
259 (license license:gpl2+)))
260
261 (define-public notification-daemon
262 (package
263 (name "notification-daemon")
264 (version "3.20.0")
265 (source
266 (origin
267 (method url-fetch)
268 (uri
269 (string-append "mirror://gnome/sources/" name "/"
270 (version-major+minor version) "/"
271 name "-" version ".tar.xz"))
272 (sha256
273 (base32
274 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
275 (build-system glib-or-gtk-build-system)
276 (native-inputs
277 `(("intltool" ,intltool)
278 ("pkg-config" ,pkg-config)))
279 (inputs
280 `(("glib" ,glib)
281 ("gtk+" ,gtk+)
282 ("x11" ,libx11)))
283 (synopsis "Notification Daemon for GNOME Desktop")
284 (description "Notification-Daemon is the server implementation of the
285 freedesktop.org desktop notification specification.")
286 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
287 (license license:gpl2+)))
288
289 (define-public mm-common
290 (package
291 (name "mm-common")
292 (version "1.0.1")
293 (source (origin
294 (method url-fetch)
295 (uri (string-append "mirror://gnome/sources/mm-common/"
296 (version-major+minor version) "/"
297 "mm-common-" version ".tar.xz"))
298 (sha256
299 (base32
300 "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8"))))
301 (build-system meson-build-system)
302 (arguments
303 `(#:phases
304 (modify-phases %standard-phases
305 (add-after 'unpack 'patch
306 (lambda* (#:key inputs #:allow-other-keys)
307 (substitute* "util/mm-common-prepare.in"
308 (("ln") (string-append (assoc-ref inputs "coreutils")
309 "/bin/ln"))
310 (("cp") (string-append (assoc-ref inputs "coreutils")
311 "/bin/cp"))
312 (("sed") (string-append (assoc-ref inputs "sed")
313 "/bin/sed"))
314 (("cat") (string-append (assoc-ref inputs "coreutils")
315 "/bin/cat")))
316 #t)))))
317 (native-inputs
318 `(("coreutils" ,coreutils)
319 ("gettext" ,gettext-minimal)
320 ("pkg-config" ,pkg-config)
321 ("sed" ,sed)))
322 (inputs
323 `(("python" ,python)))
324 (synopsis "Module of GNOME C++ bindings")
325 (description "The mm-common module provides the build infrastructure
326 and utilities shared among the GNOME C++ binding libraries. Release
327 archives of mm-common include the Doxygen tag file for the GNU C++
328 Library reference documentation.")
329 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
330 (license license:gpl2+)))
331
332 (define-public phodav
333 (package
334 (name "phodav")
335 (version "2.4")
336 (source (origin
337 (method url-fetch)
338 (uri (string-append "mirror://gnome/sources/" name "/"
339 (version-major+minor version) "/"
340 name "-" version ".tar.xz"))
341 (sha256
342 (base32
343 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
344 (build-system meson-build-system)
345 (native-inputs
346 `(("gettext" ,gettext-minimal)
347 ("glib:bin" ,glib "bin")
348 ("gtk-doc" ,gtk-doc)
349 ("pkg-config" ,pkg-config)))
350 (inputs
351 `(("avahi" ,avahi)
352 ("libgudev" ,libgudev)
353 ("libsoup" ,libsoup)))
354 (synopsis "WebDav server implementation using libsoup")
355 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
356 but it is generic enough to be reused in other projects,
357 in particular in the GNOME desktop.")
358 (home-page "https://wiki.gnome.org/phodav")
359 (license license:lgpl2.1+)))
360
361 (define-public gnome-color-manager
362 (package
363 (name "gnome-color-manager")
364 (version "3.32.0")
365 (source (origin
366 (method url-fetch)
367 (uri (string-append "mirror://gnome/sources/" name "/"
368 (version-major+minor version) "/"
369 name "-" version ".tar.xz"))
370 (sha256
371 (base32
372 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
373 (build-system meson-build-system)
374 (arguments
375 `(#:glib-or-gtk? #t
376 #:phases
377 (modify-phases %standard-phases
378 (add-before
379 'check 'pre-check
380 (lambda _
381 ;; Tests require a running X server.
382 (system "Xvfb :1 &")
383 (setenv "DISPLAY" ":1")
384 #t)))))
385 (native-inputs
386 `(("desktop-file-utils" ,desktop-file-utils)
387 ("gettext" ,gettext-minimal)
388 ("glib:bin" ,glib "bin")
389 ("gtk+:bin" ,gtk+ "bin")
390 ("itstool" ,itstool)
391 ("pkg-config" ,pkg-config)
392 ("xorg-server" ,xorg-server-for-tests)))
393 (inputs
394 `(("adwaita-icon-theme" ,adwaita-icon-theme)
395 ("appstream-glib" ,appstream-glib)
396 ("colord-gtk" ,colord-gtk)
397 ("exiv2" ,exiv2)
398 ("gnome-desktop" ,gnome-desktop)
399 ("libcanberra" ,libcanberra)
400 ("libexif" ,libexif)
401 ("libtiff" ,libtiff)
402 ("libxrandr" ,libxrandr)
403 ("libxtst" ,libxtst)
404 ("libxxf86vm" ,libxxf86vm)
405 ("vte" ,vte)
406 ("xorgproto" ,xorgproto)))
407 (synopsis "Color profile manager for the GNOME desktop")
408 (description "GNOME Color Manager is a session framework that makes
409 it easy to manage, install and generate color profiles
410 in the GNOME desktop.")
411 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
412 (license license:gpl2+)))
413
414 (define-public gnome-online-miners
415 (package
416 (name "gnome-online-miners")
417 (version "3.34.0")
418 (source (origin
419 (method url-fetch)
420 (uri (string-append "mirror://gnome/sources/" name "/"
421 (version-major+minor version) "/"
422 name "-" version ".tar.xz"))
423 (sha256
424 (base32
425 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
426 (build-system glib-or-gtk-build-system)
427 (native-inputs
428 `(("gettext" ,gettext-minimal)
429 ("glib:bin" ,glib "bin")
430 ("gobject-introspection" ,gobject-introspection)
431 ("gtk+:bin" ,gtk+ "bin")
432 ("pkg-config" ,pkg-config)))
433 (inputs
434 `(("gnome-online-accounts" ,gnome-online-accounts)
435 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
436 ("grilo" ,grilo)
437 ("libgdata" ,libgdata)
438 ("libgfbgraph" ,gfbgraph)
439 ("libzapojit" ,libzapojit)
440 ("rest" ,rest)
441 ("tracker" ,tracker)))
442 (synopsis "Web Crawlers for GNOME")
443 (description "GNOME Online Miners provides a set of crawlers that
444 go through your online content and index them locally in Tracker.
445 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
446 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
447 (license license:gpl2+)))
448
449 (define-public gssdp
450 (package
451 (name "gssdp")
452 (version "1.2.2")
453 (source (origin
454 (method url-fetch)
455 (uri (string-append "mirror://gnome/sources/" name "/"
456 (version-major+minor version) "/"
457 name "-" version ".tar.xz"))
458 (sha256
459 (base32
460 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
461 (build-system meson-build-system)
462 (native-inputs
463 `(("gettext" ,gettext-minimal)
464 ("glib:bin" ,glib "bin")
465 ("gobject-introspection" ,gobject-introspection)
466 ("gtk-doc" ,gtk-doc)
467 ("pkg-config" ,pkg-config)
468 ("vala" ,vala)))
469 (inputs
470 `(("gtk+" ,gtk+)
471 ("libsoup" ,libsoup)))
472 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
473 Protocol} for GNOME")
474 (description "This package provides a library to handle resource discovery
475 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
476 a debugging tool, @command{gssdp-device-sniffer}.")
477 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
478 (license license:lgpl2.0+)))
479
480 (define-public gupnp
481 (package
482 (name "gupnp")
483 (version "1.2.2")
484 (source (origin
485 (method url-fetch)
486 (uri (string-append "mirror://gnome/sources/" name "/"
487 (version-major+minor version) "/"
488 name "-" version ".tar.xz"))
489 (sha256
490 (base32
491 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
492 (build-system meson-build-system)
493 (native-inputs
494 `(("gettext" ,gettext-minimal)
495 ("glib:bin" ,glib "bin")
496 ("gobject-introspection" ,gobject-introspection)
497 ("gtk-doc" ,gtk-doc)
498 ("pkg-config" ,pkg-config)
499 ("vala" ,vala)))
500 (inputs
501 `(("gssdp" ,gssdp)
502 ("gtk+" ,gtk+)
503 ("libsoup" ,libsoup)))
504 (synopsis "PnP API for GNOME")
505 (description "This package provides GUPnP, an object-oriented framework
506 for creating UPnP devices and control points, written in C using
507 @code{GObject} and @code{libsoup}.")
508 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
509 (license license:lgpl2.0+)))
510
511 (define-public gupnp-dlna
512 (package
513 (name "gupnp-dlna")
514 (version "0.10.5")
515 (source (origin
516 (method url-fetch)
517 (uri (string-append "mirror://gnome/sources/" name "/"
518 (version-major+minor version) "/"
519 name "-" version ".tar.xz"))
520 (sha256
521 (base32
522 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
523 (build-system gnu-build-system)
524 (native-inputs
525 `(("gettext" ,gettext-minimal)
526 ("glib:bin" ,glib "bin")
527 ("gobject-introspection" ,gobject-introspection)
528 ("gtk-doc" ,gtk-doc)
529 ("libxml" ,libxml2)
530 ("pkg-config" ,pkg-config)
531 ("vala" ,vala)))
532 (inputs
533 `(("gstreamer" ,gstreamer)
534 ("gupnp" ,gupnp)))
535 (propagated-inputs
536 `(("gst-plugins-base" ,gst-plugins-base)
537 ("gst-plugins-good" ,gst-plugins-good)))
538 (synopsis "GUPnP DLNA for GNOME")
539 (description "This package provides a small utility library to
540 support DLNA-related tasks such as media profile guessing, transcoding to a
541 given profile, etc. DLNA is a subset of UPnP A/V.")
542 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
543 (license license:lgpl2.0+)))
544
545 (define-public gupnp-av
546 (package
547 (name "gupnp-av")
548 (version "0.12.11")
549 (source (origin
550 (method url-fetch)
551 (uri (string-append "mirror://gnome/sources/" name "/"
552 (version-major+minor version) "/"
553 name "-" version ".tar.xz"))
554 (sha256
555 (base32
556 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
557 (build-system gnu-build-system)
558 (native-inputs
559 `(("gettext" ,gettext-minimal)
560 ("glib:bin" ,glib "bin")
561 ("gobject-introspection" ,gobject-introspection)
562 ("gtk-doc" ,gtk-doc)
563 ("libxml" ,libxml2)
564 ("pkg-config" ,pkg-config)))
565 (inputs
566 `(("gtk+" ,gtk+)
567 ("gupnp" ,gupnp)))
568 (synopsis "GUPnP A/V for GNOME")
569 (description "This package provides a small library for handling
570 and implementation of UPnP A/V profiles.")
571 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
572 (license license:lgpl2.0+)))
573
574 (define-public libmediaart
575 (package
576 (name "libmediaart")
577 (version "1.9.4")
578 (source (origin
579 (method url-fetch)
580 (uri (string-append "mirror://gnome/sources/" name "/"
581 (version-major+minor version) "/"
582 name "-" version ".tar.xz"))
583 (sha256
584 (base32
585 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
586 (build-system gnu-build-system)
587 (native-inputs
588 `(("glib:bin" ,glib "bin")
589 ("pkg-config" ,pkg-config)))
590 (inputs
591 `(("gdk-pixbuf" ,gdk-pixbuf)
592 ("gettext" ,gettext-minimal)
593 ("gobject-introspection" ,gobject-introspection)
594 ("gtk+:doc", gtk+ "doc")
595 ("vala" ,vala)))
596 (synopsis "Media art library for the GNOME desktop")
597 (description
598 "The libmediaart library is the foundation for media art caching,
599 extraction, and lookup for applications on the desktop.")
600 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
601 (license license:lgpl2.1+)))
602
603 (define-public gnome-initial-setup
604 (package
605 (name "gnome-initial-setup")
606 (version "3.32.1")
607 (source (origin
608 (method url-fetch)
609 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
610 (version-major+minor version)
611 "/gnome-initial-setup-" version ".tar.xz"))
612 (sha256
613 (base32
614 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
615 (build-system meson-build-system)
616 (arguments
617 '(#:configure-flags '(;; Enable camera support for user selfie.
618 "-Dcheese=auto"
619 "-Dsystemd=false")
620 #:phases (modify-phases %standard-phases
621 (add-after 'unpack 'set-gkbd-file-name
622 (lambda* (#:key inputs #:allow-other-keys)
623 ;; Allow the "Preview" button in the keyboard layout
624 ;; selection dialog to display the layout.
625 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
626 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
627 (("\"gkbd-keyboard-display")
628 (string-append "\"" libgnomekbd
629 "/bin/gkbd-keyboard-display")))
630 #t))))))
631 (native-inputs
632 `(("gettext" ,gettext-minimal)
633 ("glib:bin" ,glib "bin")
634 ("gobject-introspection" ,gobject-introspection)
635 ("gtk+:bin" ,gtk+ "bin")
636 ("pkg-config" ,pkg-config)))
637 (inputs
638 `(("accountsservice" ,accountsservice)
639 ;("adwaita-icon-theme" ,adwaita-icon-theme)
640 ("gdm" ,gdm)
641 ("geoclue" ,geoclue)
642 ("gnome-desktop" ,gnome-desktop)
643 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
644 ("gnome-online-accounts" ,gnome-online-accounts)
645 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
646 ("gstreamer" ,gstreamer)
647 ("ibus" ,ibus)
648 ("json-glib" ,json-glib)
649 ("krb5" ,mit-krb5)
650 ("libgweather" ,libgweather)
651 ("libnma" ,libnma)
652 ("libsecret" ,libsecret)
653 ("network-manager" ,network-manager)
654 ("packagekit" ,packagekit)
655 ("polkit" ,polkit)
656 ("pwquality" ,libpwquality)
657 ("rest" ,rest)
658 ("upower" ,upower)
659 ("webkitgtk" ,webkitgtk)
660 ("libgnomekbd" ,libgnomekbd)))
661 (synopsis "Initial setup wizard for GNOME desktop")
662 (description "This package provides a set-up wizard when a
663 user logs into GNOME for the first time. It typically provides a
664 tour of all gnome components and allows the user to set them up.")
665 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
666 (license license:gpl2)))
667
668 (define-public gnome-user-share
669 (package
670 (name "gnome-user-share")
671 (version "3.33.1")
672 (source (origin
673 (method url-fetch)
674 (uri (string-append "mirror://gnome/sources/" name "/"
675 (version-major+minor version) "/"
676 name "-" version ".tar.xz"))
677 (sha256
678 (base32
679 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
680 (build-system meson-build-system)
681 (arguments
682 `(#:glib-or-gtk? #t
683 #:configure-flags
684 `("-Dsystemd=false"
685 ;; Enable nautilus extension for file sharing.
686 "-Dnautilus_extension=true")))
687 (native-inputs
688 `(("gettext" ,gettext-minimal)
689 ("glib:bin" ,glib "bin")
690 ("gobject-introspection" ,gobject-introspection)
691 ("gtk+:bin" ,gtk+ "bin")
692 ("pkg-config" ,pkg-config)
693 ("yelp-tools" ,yelp-tools)))
694 (inputs
695 `(("glib" ,glib)
696 ("gnome-bluetooth" ,gnome-bluetooth)
697 ("gtk+" ,gtk+)
698 ("libcanberra" ,libcanberra)
699 ("libnotify" ,libnotify)
700 ("nautilus" ,nautilus))) ; For nautilus extension.
701 (synopsis "File sharing for GNOME desktop")
702 (description "GNOME User Share is a small package that binds together
703 various free software projects to bring easy to use user-level file
704 sharing to the masses.")
705 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
706 (license license:gpl2+)))
707
708 (define-public sushi
709 (package
710 (name "sushi")
711 (version "3.32.1")
712 (source (origin
713 (method url-fetch)
714 (uri (string-append "mirror://gnome/sources/" name "/"
715 (version-major+minor version) "/"
716 name "-" version ".tar.xz"))
717 (sha256
718 (base32
719 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
720 (build-system meson-build-system)
721 (arguments
722 `(#:glib-or-gtk? #t
723 #:phases
724 (modify-phases %standard-phases
725 (add-after 'glib-or-gtk-wrap 'wrap-typelib
726 (lambda* (#:key outputs #:allow-other-keys)
727 (let ((prog (string-append (assoc-ref outputs "out")
728 "/bin/sushi")))
729 ;; Put existing typelibs before sushi's deps, so as to correctly
730 ;; infer gdk-pixbuf
731 (wrap-program prog
732 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
733 #t))))))
734 (native-inputs
735 `(("glib:bin" ,glib "bin")
736 ("gettext" ,gettext-minimal)
737 ("gobject-introspection" ,gobject-introspection)
738 ("pkg-config" ,pkg-config)))
739 (inputs
740 `(("clutter" ,clutter)
741 ("clutter-gst" ,clutter-gst)
742 ("clutter-gtk" ,clutter-gtk)
743 ("evince" ,evince) ; For file previewing.
744 ("freetype" ,freetype)
745 ("gdk-pixbuf" ,gdk-pixbuf)
746 ("gjs" ,gjs)
747 ("gst-plugins-base" ,gst-plugins-base)
748 ("gstreamer" ,gstreamer)
749 ("gtksourceview" ,gtksourceview-3)
750 ("harfbuzz" ,harfbuzz)
751 ("libepoxy" ,libepoxy)
752 ("libmusicbrainz" ,libmusicbrainz)
753 ("libxml2" ,libxml2)
754 ("neon" ,neon)
755 ("webkitgtk" ,webkitgtk)))
756 (synopsis "File previewer for the GNOME desktop")
757 (description "Sushi is a DBus-activated service that allows applications to
758 preview files on the GNOME desktop.")
759 (home-page "https://gitlab.gnome.org/GNOME/sushi")
760 (license license:gpl2+)))
761
762 (define-public rygel
763 (package
764 (name "rygel")
765 (version "0.38.3")
766 (source (origin
767 (method url-fetch)
768 (uri (string-append "mirror://gnome/sources/" name "/"
769 (version-major+minor version) "/"
770 name "-" version ".tar.xz"))
771 (sha256
772 (base32
773 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
774 (build-system gnu-build-system)
775 (native-inputs
776 `(("gettext" ,gettext-minimal)
777 ("gobject-introspection" ,gobject-introspection)
778 ("gtk-doc" ,gtk-doc)
779 ("pkg-config" ,pkg-config)
780 ("vala" ,vala)))
781 (inputs
782 `(("gdk-pixbuf" ,gdk-pixbuf)
783 ("gssdp" ,gssdp)
784 ("gstreamer" ,gstreamer)
785 ("gst-plugins-base" ,gst-plugins-base)
786 ("gtk+" ,gtk+)
787 ("gupnp" ,gupnp)
788 ("gupnp-av" ,gupnp-av)
789 ("gupnp-dlna" ,gupnp-dlna)
790 ("libgee" ,libgee)
791 ("libmediaart" ,libmediaart)
792 ("libsoup" ,libsoup)
793 ("libxslt" ,libxslt)
794 ("libunistring" ,libunistring)
795 ("tracker" ,tracker)))
796 (synopsis "Share audio, video, and pictures with other devices")
797 (description
798 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
799 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
800 pictures, and to control a media player on your home network.
801
802 Rygel achieves interoperability with other devices by trying to conform to the
803 strict requirements of DLNA and by converting media on-the-fly to formats that
804 client devices can handle.")
805 (home-page "https://wiki.gnome.org/Projects/Rygel")
806 (license (list
807 ;; For logo (data/icons/*).
808 license:cc-by-sa3.0
809 ;; For all others.
810 license:lgpl2.1+))))
811
812 (define-public libnma
813 (package
814 (name "libnma")
815 (version "1.8.28")
816 (source (origin
817 (method url-fetch)
818 (uri (string-append "mirror://gnome/sources/" name "/"
819 (version-major+minor version) "/"
820 name "-" version ".tar.xz"))
821 (sha256
822 (base32
823 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
824 (build-system meson-build-system)
825 (arguments
826 `(#:phases
827 (modify-phases %standard-phases
828 (add-after 'unpack 'patch-docbook-xml
829 (lambda* (#:key inputs #:allow-other-keys)
830 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
831 "/xml/dtd/docbook")))
832 (substitute* "libnma-docs.xml"
833 (("http://.*/docbookx\\.dtd")
834 (string-append xmldoc "/docbookx.dtd")))
835 #t))))))
836 (native-inputs
837 `(("docbook-xml" ,docbook-xml-4.3)
838 ("gettext" ,gettext-minimal)
839 ("glib:bin" ,glib "bin")
840 ("gtk-doc" ,gtk-doc)
841 ("gobject-introspection" ,gobject-introspection)
842 ("pkg-config" ,pkg-config)
843 ("vala" ,vala)))
844 (inputs
845 `(("gcr" ,gcr)
846 ("gtk+" ,gtk+)
847 ("iso-codes" ,iso-codes)
848 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
849 ("network-manager" ,network-manager)))
850 (synopsis "Network Manager's applet library")
851 (description "Libnma is an applet library for Network Manager. It was
852 initially part of network-manager-applet and has now become a separate
853 project.")
854 (home-page "https://gitlab.gnome.org/GNOME/libnma")
855 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
856 ;; "LGPL-2.1+".
857 (license license:gpl2+)))
858
859 (define-public gnome-menus
860 (package
861 (name "gnome-menus")
862 (version "3.32.0")
863 (source (origin
864 (method url-fetch)
865 (uri (string-append "mirror://gnome/sources/gnome-menus/"
866 (version-major+minor version) "/"
867 name "-" version ".tar.xz"))
868 (sha256
869 (base32
870 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
871 (build-system gnu-build-system)
872 (native-inputs
873 `(("gettext" ,gettext-minimal)
874 ("glib" ,glib)
875 ("pkg-config" ,pkg-config)))
876 (synopsis "Menu support for GNOME desktop")
877 (description "GNOME Menus contains the libgnome-menu library, the layout
878 configuration files for the GNOME menu, as well as a simple menu editor.")
879 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
880 (license license:lgpl2.0+)))
881
882 (define-public deja-dup
883 (package
884 (name "deja-dup")
885 (version "40.6")
886 (source (origin
887 (method url-fetch)
888 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
889 version "/deja-dup-" version ".tar.bz2"))
890 (sha256
891 (base32
892 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
893 (build-system meson-build-system)
894 (arguments
895 `(#:glib-or-gtk? #t
896 #:configure-flags
897 (list
898 ;; Otherwise, the RUNPATH will lack the final path component.
899 (string-append "-Dc_link_args=-Wl,-rpath="
900 (assoc-ref %outputs "out") "/lib/deja-dup"))
901 #:phases
902 (modify-phases %standard-phases
903 (add-after 'unpack 'patch-paths
904 (lambda* (#:key inputs #:allow-other-keys)
905 (let ((python (assoc-ref inputs "python")))
906 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
907 "libdeja/tests/scripts/instance-error.test")
908 (("/bin/rm")
909 (which "rm")))
910 (substitute* "libdeja/tests/runner.vala"
911 (("/bin/sh")
912 (which "sh")))
913 (substitute* "libdeja/tests/scripts/instance-error.test"
914 (("`which python3`")
915 (string-append python "/bin/python3"))))))
916 (add-after 'unpack 'patch-libgpg-error
917 (lambda* (#:key inputs #:allow-other-keys)
918 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
919 (substitute* "meson.build"
920 (("(gpgerror_libs = ).*" _ var)
921 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
922 #t))
923 (add-after 'unpack 'skip-gtk-update-icon-cache
924 ;; Don't create 'icon-theme.cache'.
925 (lambda _
926 (substitute* "data/post-install.sh"
927 (("gtk-update-icon-cache") "true"))
928 #t)))))
929 (inputs
930 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
931 ("duplicity" ,duplicity)
932 ("python" ,python)
933 ("python-pygobject" ,python-pygobject)
934 ("gtk+" ,gtk+)
935 ("json-glib" ,json-glib)
936 ("libnotify" ,libnotify)
937 ("libgpg-error" ,libgpg-error)
938 ("libsecret" ,libsecret)
939 ("libsoup" ,libsoup)
940 ("packagekit" ,packagekit)))
941 (native-inputs
942 `(("appstream-glib" ,appstream-glib)
943 ("desktop-file-utils" ,desktop-file-utils)
944 ("gettext" ,gettext-minimal)
945 ("glib" ,glib "bin") ; for glib-compile-schemas.
946 ("gobject-introspection" ,gobject-introspection)
947 ("itstool" ,itstool)
948 ("pkg-config" ,pkg-config)
949 ("vala" ,vala)))
950 (home-page "https://wiki.gnome.org/Apps/DejaDup")
951 (synopsis "Simple backup tool, for regular encrypted backups")
952 (description
953 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
954 uses duplicity as the backend, which supports incremental backups and storage
955 either on a local, or remote machine via a number of methods.")
956 (license license:gpl3+)))
957
958 (define-public gnome-user-docs
959 (package
960 (name "gnome-user-docs")
961 (version "3.32.3")
962 (source
963 (origin
964 (method url-fetch)
965 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
966 (version-major+minor version)
967 "/gnome-user-docs-" version ".tar.xz"))
968 (sha256
969 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
970 (build-system gnu-build-system)
971 (native-inputs
972 `(("gettext" ,gettext-minimal)
973 ("itstool" ,itstool)
974 ("pkg-config" ,pkg-config)
975 ("xmllint" ,libxml2)))
976 (synopsis "User documentation for the GNOME desktop")
977 (description
978 "The GNOME User Documentation explains how to use the GNOME desktop and its
979 components. It covers usage and setup of the core GNOME programs by end-users
980 and system administrators.")
981 (home-page "https://live.gnome.org/DocumentationProject")
982 (license license:cc-by3.0)))
983
984 (define-public gnome-getting-started-docs
985 (package
986 (name "gnome-getting-started-docs")
987 (version "3.32.2")
988 (source
989 (origin
990 (method url-fetch)
991 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
992 (version-major+minor version)
993 "/gnome-getting-started-docs-" version ".tar.xz"))
994 (sha256
995 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
996 (build-system gnu-build-system)
997 (native-inputs
998 `(("gettext" ,gettext-minimal)
999 ("itstool" ,itstool)
1000 ("pkg-config" ,pkg-config)
1001 ("xmllint" ,libxml2)))
1002 (synopsis "Help to get new users started with the GNOME desktop")
1003 (description
1004 "The GNOME Getting Started Documentation contains GNOME's intuitive
1005 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1006
1007 It is normally used together with @command{gnome-initial-setup}, but is also
1008 useful as a tutorial and users' guide for new or less experienced users.")
1009 (home-page "https://live.gnome.org/DocumentationProject")
1010 (license license:cc-by-sa3.0)))
1011
1012 (define-public dia
1013 ;; This version from GNOME's repository includes fixes for compiling with
1014 ;; recent versions of the build tools. The latest activity on the
1015 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1016 ;; fixes since.
1017 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1018 (revision "2"))
1019 (package
1020 (name "dia")
1021 (version (git-version "0.97.3" revision commit))
1022 (source (origin
1023 (method git-fetch)
1024 (uri (git-reference
1025 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1026 (commit commit)))
1027 (file-name (git-file-name name version))
1028 (sha256
1029 (base32
1030 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1031 (build-system meson-build-system)
1032 (inputs
1033 `(("graphene" ,graphene)
1034 ("gtk+" ,gtk+-2)
1035 ("libxml2" ,libxml2)
1036 ("libxslt" ,libxslt)
1037 ("poppler" ,poppler)
1038 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1039 ;; ERROR: Unknown method "dependency" in object.
1040 ("python-2" ,python-2)))
1041 (native-inputs
1042 `(("appstream-glib" ,appstream-glib)
1043 ("docbook-xsl" ,docbook-xsl)
1044 ("glib" ,glib "bin")
1045 ("intltool" ,intltool)
1046 ("pkg-config" ,pkg-config)))
1047 (home-page "https://wiki.gnome.org/Apps/Dia")
1048 (synopsis "Diagram creation for GNOME")
1049 (description "Dia can be used to draw different types of diagrams, and
1050 includes support for UML static structure diagrams (class diagrams), entity
1051 relationship modeling, and network diagrams. The program supports various file
1052 formats like PNG, SVG, PDF and EPS.")
1053 (license license:gpl2+))))
1054
1055 ;; This is the unstable release, but it is required for the current stable
1056 ;; release of gvfs (1.38.1).
1057 (define-public libgdata
1058 (package
1059 (name "libgdata")
1060 (version "0.17.9")
1061 (source (origin
1062 (method url-fetch)
1063 (uri (string-append "mirror://gnome/sources/" name "/"
1064 (version-major+minor version) "/"
1065 name "-" version ".tar.xz"))
1066 (sha256
1067 (base32
1068 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1069 (build-system gnu-build-system)
1070 (arguments
1071 '(#:phases
1072 (modify-phases %standard-phases
1073 (add-before 'check 'disable-failing-tests
1074 (lambda _
1075 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1076 ;; They have been removed in libgdata 0.17.6, so just do the same.
1077 (substitute* "gdata/tests/Makefile"
1078 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1079 #t)))))
1080 (native-inputs
1081 `(("glib:bin" ,glib "bin")
1082 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1083 ("intltool" ,intltool)
1084 ("pkg-config" ,pkg-config)
1085 ("uhttpmock" ,uhttpmock)))
1086 (inputs
1087 `(("cyrus-sasl" ,cyrus-sasl)
1088 ("glib-networking" ,glib-networking)))
1089 (propagated-inputs
1090 `(("gcr" ,gcr)
1091 ("glib" ,glib)
1092 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1093 ("json-glib" ,json-glib)
1094 ("liboauth" ,liboauth)
1095 ("libsoup" ,libsoup)
1096 ("libxml2" ,libxml2)))
1097 (home-page "https://wiki.gnome.org/Projects/libgdata")
1098 (synopsis "Library for accessing online service APIs")
1099 (description
1100 "libgdata is a GLib-based library for accessing online service APIs using
1101 the GData protocol — most notably, Google's services. It provides APIs to
1102 access the common Google services, and has full asynchronous support.")
1103 (license license:lgpl2.1+)))
1104
1105 (define-public libgxps
1106 (package
1107 (name "libgxps")
1108 (version "0.3.1")
1109 (source (origin
1110 (method url-fetch)
1111 (uri (string-append "mirror://gnome/sources/" name "/"
1112 (version-major+minor version) "/"
1113 name "-" version ".tar.xz"))
1114 (sha256
1115 (base32
1116 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1117 (build-system meson-build-system)
1118 (native-inputs
1119 `(("gobject-introspection" ,gobject-introspection)
1120 ("pkg-config" ,pkg-config)))
1121 (inputs
1122 `(("gtk+" ,gtk+)
1123 ("libjpeg" ,libjpeg-turbo)
1124 ("lcms" ,lcms)
1125 ("libtiff" ,libtiff)))
1126 (propagated-inputs
1127 ;; In Requires of libgxps.pc.
1128 `(("cairo" ,cairo)
1129 ("glib" ,glib)
1130 ("libarchive" ,libarchive)))
1131 (home-page "https://wiki.gnome.org/Projects/libgxps")
1132 (synopsis "GObject-based library for handling and rendering XPS documents")
1133 (description
1134 "libgxps is a GObject-based library for handling and rendering XPS
1135 documents. This package also contains binaries that can convert XPS documents
1136 to other formats.")
1137 (license license:lgpl2.1+)))
1138
1139 (define-public gnome-characters
1140 (package
1141 (name "gnome-characters")
1142 (version "3.30.0")
1143 (source
1144 (origin
1145 (method url-fetch)
1146 (uri (string-append "mirror://gnome/sources/"
1147 "gnome-characters/" (version-major+minor version)
1148 "/gnome-characters-" version ".tar.xz"))
1149 (sha256
1150 (base32
1151 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1152 (build-system meson-build-system)
1153 (arguments
1154 `(#:glib-or-gtk? #t
1155 #:phases (modify-phases %standard-phases
1156 (add-after 'install 'wrap
1157 (lambda* (#:key outputs #:allow-other-keys)
1158 ;; GNOME Characters needs Typelib files from GTK and
1159 ;; gnome-desktop.
1160 (wrap-program (string-append (assoc-ref outputs "out")
1161 "/bin/gnome-characters")
1162 `("GI_TYPELIB_PATH" ":" prefix
1163 (,(getenv "GI_TYPELIB_PATH"))))
1164 #t)))))
1165 (native-inputs
1166 `(("gettext" ,gettext-minimal)
1167 ("glib:bin" ,glib "bin")
1168 ("gtk+:bin" ,gtk+ "bin")
1169 ("pkg-config" ,pkg-config)
1170 ("python" ,python-minimal)))
1171 (inputs
1172 `(("gjs" ,gjs)
1173 ("gtk+" ,gtk+)
1174 ("libunistring" ,libunistring)
1175 ("gnome-desktop" ,gnome-desktop)))
1176 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1177 (synopsis "Find and insert unusual characters")
1178 (description "Characters is a simple utility application to find
1179 and insert unusual characters. It allows you to quickly find the
1180 character you are looking for by searching for keywords.")
1181 (license license:bsd-3)))
1182
1183 (define-public gnome-common
1184 (package
1185 (name "gnome-common")
1186 (version "3.18.0")
1187 (source
1188 (origin
1189 (method url-fetch)
1190 (uri (string-append "mirror://gnome/sources/" name "/"
1191 (version-major+minor version) "/"
1192 name "-" version ".tar.xz"))
1193 (sha256
1194 (base32
1195 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1196 (build-system gnu-build-system)
1197 (home-page "https://www.gnome.org/")
1198 (synopsis "Bootstrap GNOME modules built from Git")
1199 (description "gnome-common contains various files needed to bootstrap
1200 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1201 can be used to configure a source directory checked out from Git and some
1202 commonly used macros.")
1203 (license license:gpl2+)))
1204
1205 (define-public gnome-contacts
1206 (package
1207 (name "gnome-contacts")
1208 (version "3.34")
1209 (source (origin
1210 (method url-fetch)
1211 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1212 (version-major+minor version) "/"
1213 name "-" version ".tar.xz"))
1214 (sha256
1215 (base32
1216 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1217 (build-system meson-build-system)
1218 (arguments
1219 `(#:configure-flags '("-Dcheese=false")
1220 #:phases
1221 (modify-phases %standard-phases
1222 (add-after 'unpack 'generate-vapis
1223 (lambda* (#:key inputs #:allow-other-keys)
1224 ;; To generate goa's missing .vapi file
1225 (define goa
1226 (assoc-ref inputs "gnome-online-accounts:lib"))
1227
1228 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1229 "--library=goa-1.0"
1230 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1231 #t))
1232 (add-after 'unpack 'skip-gtk-update-icon-cache
1233 ;; Don't create 'icon-theme.cache'.
1234 (lambda _
1235 (substitute* "build-aux/meson_post_install.py"
1236 (("gtk-update-icon-cache") "true"))
1237 #t)))))
1238 (native-inputs
1239 `(("glib:bin" ,glib "bin")
1240 ("pkg-config" ,pkg-config)))
1241 (inputs
1242 `(("docbook-xml" ,docbook-xml)
1243 ("dockbook-xsl" ,docbook-xsl)
1244 ("evolution-data-server" ,evolution-data-server)
1245 ("gettext" ,gettext-minimal)
1246 ("gnome-desktop" ,gnome-desktop)
1247 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1248 ("gobject-introspection" ,gobject-introspection)
1249 ("gst-plugins-base" ,gst-plugins-base)
1250 ("gtk+" ,gtk+)
1251 ("libgee" ,libgee)
1252 ("libxslt" ,libxslt)
1253 ("telepathy-glib" ,telepathy-glib)
1254 ("vala" ,vala)))
1255 (propagated-inputs
1256 `(("folks", folks)
1257 ("telepathy-mission-control" ,telepathy-mission-control)))
1258 (synopsis "GNOME's integrated address book")
1259 (description
1260 "GNOME Contacts organizes your contact information from online and
1261 offline sources, providing a centralized place for managing your contacts.")
1262 (home-page "https://wiki.gnome.org/Apps/Contacts")
1263 (license license:gpl2+)))
1264
1265 (define-public gnome-desktop
1266 (package
1267 (name "gnome-desktop")
1268 (version "3.34.2")
1269 (source
1270 (origin
1271 (method url-fetch)
1272 (uri (string-append "mirror://gnome/sources/" name "/"
1273 (version-major+minor version) "/"
1274 name "-" version ".tar.xz"))
1275 (sha256
1276 (base32
1277 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1278 (build-system meson-build-system)
1279 (arguments
1280 '(#:phases
1281 (modify-phases %standard-phases
1282 (add-before 'configure 'patch-path
1283 (lambda* (#:key inputs #:allow-other-keys)
1284 (let ((libc (assoc-ref inputs "libc")))
1285 (substitute* "libgnome-desktop/gnome-languages.c"
1286 (("\"locale\"")
1287 (string-append "\"" libc "/bin/locale\"")))
1288 #t)))
1289 (add-before 'configure 'patch-bubblewrap
1290 (lambda* (#:key inputs #:allow-other-keys)
1291 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
1292 (("\"bwrap\",")
1293 (string-append "\"" (which "bwrap") "\","))
1294 (("\"--ro-bind\", \"/usr\", \"/usr\",")
1295 (string-append "\"--ro-bind\", \""
1296 (%store-directory)
1297 "\", \""
1298 (%store-directory)
1299 "\","))
1300 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
1301 #t))
1302 (add-before 'check 'pre-check
1303 (lambda* (#:key inputs #:allow-other-keys)
1304 ;; Tests require a running X server and locales.
1305 (system "Xvfb :1 &")
1306 (setenv "DISPLAY" ":1")
1307 (setenv "GUIX_LOCPATH"
1308 (string-append (assoc-ref inputs "glibc-locales")
1309 "/lib/locale"))
1310 #t)))))
1311 (native-inputs
1312 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1313 ("glibc-locales" ,glibc-locales) ; for tests
1314 ("gobject-introspection" ,gobject-introspection)
1315 ("itstool" ,itstool)
1316 ("intltool" ,intltool)
1317 ("pkg-config" ,pkg-config)
1318 ("xmllint" ,libxml2)
1319 ("xorg-server" ,xorg-server-for-tests)))
1320 (propagated-inputs
1321 ;; Required by gnome-desktop-3.0.pc.
1322 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1323 ("gtk+" ,gtk+)
1324 ("iso-codes" ,iso-codes)
1325 ("libseccomp" ,libseccomp)
1326 ("libx11" ,libx11)
1327 ("xkeyboard-config" ,xkeyboard-config)))
1328 (inputs
1329 `(("gdk-pixbuf" ,gdk-pixbuf)
1330 ("glib" ,glib)
1331 ("bubblewrap" ,bubblewrap)
1332 ("libxext" ,libxext)
1333 ("libxkbfile" ,libxkbfile)
1334 ("libxrandr" ,libxrandr)))
1335 (home-page "https://www.gnome.org/")
1336 (synopsis
1337 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1338 (description
1339 "The libgnome-desktop library provides API shared by several applications
1340 on the desktop, but that cannot live in the platform for various reasons.
1341 There is no API or ABI guarantee, although we are doing our best to provide
1342 stability. Documentation for the API is available with gtk-doc.
1343
1344 The gnome-about program helps find which version of GNOME is installed.")
1345 ; Some bits under the LGPL.
1346 (license license:gpl2+)))
1347
1348 (define-public gnome-doc-utils
1349 (package
1350 (name "gnome-doc-utils")
1351 (version "0.20.10")
1352 (source
1353 (origin
1354 (method url-fetch)
1355 (uri (string-append "mirror://gnome/sources/" name "/"
1356 (version-major+minor version) "/"
1357 name "-" version ".tar.xz"))
1358 (sha256
1359 (base32
1360 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1361 (build-system gnu-build-system)
1362 (native-inputs
1363 `(("intltool" ,intltool)
1364 ("docbook-xml" ,docbook-xml-4.4)
1365 ("python2-libxml2" ,python2-libxml2)
1366 ("libxml2" ,libxml2)
1367 ("libxslt" ,libxslt)
1368 ("pkg-config" ,pkg-config)
1369 ("python-2" ,python-2)))
1370 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1371 (synopsis
1372 "Documentation utilities for the Gnome project")
1373 (description
1374 "Gnome-doc-utils is a collection of documentation utilities for the
1375 Gnome project. It includes xml2po tool which makes it easier to translate
1376 and keep up to date translations of documentation.")
1377 (license license:gpl2+))) ; xslt under lgpl
1378
1379 (define-public gnome-disk-utility
1380 (package
1381 (name "gnome-disk-utility")
1382 (version "3.34.0")
1383 (source (origin
1384 (method url-fetch)
1385 (uri (string-append "mirror://gnome/sources/" name "/"
1386 (version-major+minor version) "/"
1387 name "-" version ".tar.xz"))
1388 (sha256
1389 (base32
1390 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1391 (build-system meson-build-system)
1392 (arguments
1393 '(#:configure-flags '("-Dlogind=libelogind")
1394 #:phases
1395 (modify-phases %standard-phases
1396 (add-after 'unpack 'skip-gtk-update-icon-cache
1397 ;; Don't create 'icon-theme.cache'.
1398 (lambda _
1399 (substitute* "meson_post_install.py"
1400 (("gtk-update-icon-cache") "true"))
1401 #t)))))
1402 (native-inputs
1403 `(("glib:bin" ,glib "bin")
1404 ("intltool" ,intltool)
1405 ("pkg-config" ,pkg-config)
1406 ("docbook-xml" ,docbook-xml)
1407 ("docbook-xsl" ,docbook-xsl)
1408 ("libxml2" ,libxml2)
1409 ("libxslt" ,libxslt)))
1410 (inputs
1411 `(("elogind" ,elogind)
1412 ("glib" ,glib)
1413 ("appstream-glib" ,appstream-glib)
1414 ("gnome-settings-daemon" ,gnome-settings-daemon)
1415 ("gtk+" ,gtk+)
1416 ("libcanberra" ,libcanberra)
1417 ("libdvdread" ,libdvdread)
1418 ("libnotify" ,libnotify)
1419 ("libpwquality" ,libpwquality)
1420 ("libsecret" ,libsecret)
1421 ("udisks" ,udisks)))
1422 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1423 (synopsis "Disk management utility for GNOME")
1424 (description "Disk management utility for GNOME.")
1425 (license license:gpl2+)))
1426
1427 (define-public gnome-font-viewer
1428 (package
1429 (name "gnome-font-viewer")
1430 (version "3.30.0")
1431 (source (origin
1432 (method url-fetch)
1433 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1434 (version-major+minor version)
1435 "/gnome-font-viewer-" version ".tar.xz"))
1436 (sha256
1437 (base32
1438 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1439 (build-system meson-build-system)
1440 (arguments
1441 '(#:phases
1442 (modify-phases %standard-phases
1443 (add-after 'unpack 'patch-post-install-script
1444 (lambda _
1445 (substitute* "meson-postinstall.sh"
1446 (("update-desktop-database") (which "true")))
1447 #t)))))
1448 (native-inputs
1449 `(("gettext" ,gettext-minimal)
1450 ("glib:bin" ,glib "bin")
1451 ("pkg-config" ,pkg-config)))
1452 (inputs
1453 `(("glib" ,glib)
1454 ("gnome-desktop" ,gnome-desktop)
1455 ("gtk+" ,gtk+)))
1456 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1457 (synopsis "GNOME Fonts")
1458 (description "Application to show you the fonts installed on your computer
1459 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1460 the font would look under various sizes.")
1461 (license license:gpl2+)))
1462
1463 (define-public gcr
1464 (package
1465 (name "gcr")
1466 (version "3.34.0")
1467 (source (origin
1468 (method url-fetch)
1469 (uri (string-append "mirror://gnome/sources/" name "/"
1470 (version-major+minor version) "/"
1471 name "-" version ".tar.xz"))
1472 (sha256
1473 (base32
1474 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1475 (build-system gnu-build-system)
1476 (arguments
1477 '(#:phases
1478 (modify-phases %standard-phases
1479 ;; These fail because /var/lib/dbus/machine-id is not present in the
1480 ;; build environment.
1481 (add-after 'unpack 'disable-failing-tests
1482 (lambda _
1483 (substitute* "Makefile.in"
1484 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1485 ""))
1486 #t))
1487 (add-before 'check 'pre-check
1488 (lambda _
1489 ;; Some tests expect to write to $HOME.
1490 (setenv "HOME" "/tmp")
1491 #t)))))
1492 (inputs
1493 `(("dbus" ,dbus)
1494 ("gnupg" ,gnupg) ;called as a child process during tests
1495 ("libgcrypt" ,libgcrypt)))
1496 (native-inputs
1497 `(("python" ,python-wrapper) ;for tests
1498 ("pkg-config" ,pkg-config)
1499 ("gettext" ,gettext-minimal)
1500 ("glib" ,glib "bin")
1501 ("gobject-introspection" ,gobject-introspection)
1502 ("libxml2" ,libxml2)
1503 ("vala" ,vala)
1504 ("xsltproc" ,libxslt)))
1505 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1506 (propagated-inputs
1507 `(("p11-kit" ,p11-kit)
1508 ("glib" ,glib)
1509 ("gtk+" ,gtk+)))
1510 (home-page "https://www.gnome.org")
1511 (synopsis "Libraries for displaying certificates and accessing key stores")
1512 (description
1513 "The GCR package contains libraries used for displaying certificates and
1514 accessing key stores. It also provides the viewer for crypto files on the
1515 GNOME Desktop.")
1516 (license license:lgpl2.1+)))
1517
1518 (define-public gdl
1519 (package
1520 (name "gdl")
1521 (version "3.34.0")
1522 (source (origin
1523 (method git-fetch)
1524 (uri (git-reference
1525 (url "https://gitlab.gnome.org/GNOME/gdl.git")
1526 (commit (string-append "GDL_" (string-map (match-lambda
1527 (#\. #\_)
1528 (c c))
1529 version)))))
1530 (file-name (git-file-name name version))
1531 (sha256
1532 (base32
1533 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
1534 (build-system gnu-build-system)
1535 (native-inputs
1536 `(("autoconf" ,autoconf)
1537 ("automake" ,automake)
1538 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1539 ("gnome-common" ,gnome-common)
1540 ("gtk-doc" ,gtk-doc)
1541 ("intltool" ,intltool)
1542 ("pkg-config" ,pkg-config)
1543 ("libtool" ,libtool)
1544 ("which" ,which)))
1545 (inputs
1546 `(("libxml2" ,libxml2)))
1547 (propagated-inputs
1548 ;; The gdl-3.0.pc file 'Requires' GTK+.
1549 `(("gtk+" ,gtk+)))
1550 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
1551 (synopsis "GNOME docking library")
1552 (description "This library provides docking features for gtk+.")
1553 (license license:lgpl2.1+)))
1554
1555 ;;; A minimal variant used to break a cycle with Inkscape.
1556 (define-public gdl-minimal
1557 (package
1558 (inherit gdl)
1559 (name "gdl-minimal")
1560 (arguments
1561 '(#:phases
1562 (modify-phases %standard-phases
1563 (add-after 'unpack 'disable-doc-generation
1564 ;; XXX: There is no easy way to disable generating the
1565 ;; documentation.
1566 (lambda _
1567 (substitute* "configure.in"
1568 (("GTK_DOC_CHECK.*") "")
1569 (("docs/.*") ""))
1570 (substitute* "Makefile.am"
1571 (("gdl docs po") "gdl po"))
1572 #t)))))
1573 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
1574
1575 (define-public libgnome-keyring
1576 (package
1577 (name "libgnome-keyring")
1578 (version "3.12.0")
1579 (source (origin
1580 (method url-fetch)
1581 (uri (string-append "mirror://gnome/sources/" name "/"
1582 (version-major+minor version) "/"
1583 name "-" version ".tar.xz"))
1584 (sha256
1585 (base32
1586 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1587 (build-system gnu-build-system)
1588 (inputs
1589 `(("libgcrypt" ,libgcrypt)
1590 ("dbus" ,dbus)))
1591 (native-inputs
1592 `(("pkg-config" ,pkg-config)
1593 ("glib" ,glib "bin")
1594 ("intltool" ,intltool)))
1595 (propagated-inputs
1596 ;; Referred to in .h files and .pc.
1597 `(("glib" ,glib)))
1598 (home-page "https://www.gnome.org")
1599 (synopsis "Accessing passwords from the GNOME keyring")
1600 (description
1601 "Client library to access passwords from the GNOME keyring.")
1602
1603 ;; Though a couple of files are LGPLv2.1+.
1604 (license license:lgpl2.0+)))
1605
1606 (define-public gnome-keyring
1607 (package
1608 (name "gnome-keyring")
1609 (version "3.34.0")
1610 (source (origin
1611 (method url-fetch)
1612 (uri (string-append "mirror://gnome/sources/" name "/"
1613 (version-major+minor version) "/"
1614 name "-" version ".tar.xz"))
1615 (sha256
1616 (base32
1617 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1618 (build-system gnu-build-system)
1619 (arguments
1620 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1621 ;not exist
1622 #:configure-flags
1623 (list
1624 (string-append "--with-pkcs11-config="
1625 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1626 (string-append "--with-pkcs11-modules="
1627 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1628 #:phases
1629 (modify-phases %standard-phases
1630 (add-after 'unpack 'fix-/bin/sh-reference
1631 (lambda _
1632 (substitute* "po/Makefile.in.in"
1633 (("/bin/sh") (which "sh")))
1634 #t))
1635 (add-after 'unpack 'fix-docbook
1636 (lambda* (#:key inputs #:allow-other-keys)
1637 (substitute* "docs/Makefile.am"
1638 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1639 (string-append (assoc-ref inputs "docbook-xsl")
1640 "/xml/xsl/docbook-xsl-"
1641 ,(package-version docbook-xsl)
1642 "/manpages/docbook.xsl")))
1643 (setenv "XML_CATALOG_FILES"
1644 (string-append (assoc-ref inputs "docbook-xml")
1645 "/xml/dtd/docbook/catalog.xml"))
1646 ;; Rerun the whole thing to avoid version mismatch ("This is
1647 ;; Automake 1.15.1, but the definition used by this
1648 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1649 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1650 (invoke "autoconf")
1651 (invoke "aclocal")
1652 (invoke "automake" "-ac"))))))
1653 (inputs
1654 `(("libgcrypt" ,libgcrypt)
1655 ("linux-pam" ,linux-pam)
1656 ("openssh" ,openssh)
1657 ("dbus" ,dbus)
1658 ("gcr" ,gcr)))
1659 (native-inputs
1660 `(("pkg-config" ,pkg-config)
1661 ("glib" ,glib "bin")
1662 ("glib" ,glib) ; for m4 macros
1663 ("python" ,python-2) ;for tests
1664 ("intltool" ,intltool)
1665 ("autoconf" ,autoconf)
1666 ("automake" ,automake)
1667 ("libxslt" ,libxslt) ;for documentation
1668 ("docbook-xml" ,docbook-xml-4.2)
1669 ("docbook-xsl" ,docbook-xsl)))
1670 (home-page "https://www.gnome.org")
1671 (synopsis "Daemon to store passwords and encryption keys")
1672 (description
1673 "gnome-keyring is a program that keeps passwords and other secrets for
1674 users. It is run as a daemon in the session, similar to ssh-agent, and other
1675 applications locate it via an environment variable or D-Bus.
1676
1677 The program can manage several keyrings, each with its own master password,
1678 and there is also a session keyring which is never stored to disk, but
1679 forgotten when the session ends.")
1680 (license license:lgpl2.1+)))
1681
1682 (define-public evince
1683 (package
1684 (name "evince")
1685 (version "3.36.5")
1686 (source (origin
1687 (method url-fetch)
1688 (uri (string-append "mirror://gnome/sources/evince/"
1689 (version-major+minor version) "/"
1690 "evince-" version ".tar.xz"))
1691 (sha256
1692 (base32
1693 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
1694 (build-system glib-or-gtk-build-system)
1695 (arguments
1696 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1697 #:phases
1698 (modify-phases %standard-phases
1699 (add-before 'install 'skip-gtk-update-icon-cache
1700 ;; Don't create 'icon-theme.cache'.
1701 (lambda _
1702 (substitute* "data/Makefile"
1703 (("gtk-update-icon-cache") "true"))
1704 #t)))))
1705 (inputs
1706 `(("libarchive" ,libarchive)
1707 ("libgxps" ,libgxps)
1708 ("libspectre" ,libspectre)
1709 ("djvulibre" ,djvulibre)
1710 ("ghostscript" ,ghostscript)
1711 ("poppler" ,poppler)
1712 ("libtiff" ,libtiff)
1713 ;; TODO:
1714 ;; Build libkpathsea as a shared library for DVI support.
1715 ;; ("libkpathsea" ,texlive-bin)
1716 ("gnome-desktop" ,gnome-desktop)
1717 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1718 ("gspell" ,gspell)
1719 ("libgnome-keyring" ,libgnome-keyring)
1720 ("adwaita-icon-theme" ,adwaita-icon-theme)
1721 ("gdk-pixbuf" ,gdk-pixbuf)
1722 ("atk" ,atk)
1723 ("pango" ,pango)
1724 ("gtk+" ,gtk+)
1725 ("glib" ,glib)
1726 ("libxml2" ,libxml2)
1727 ("libsm" ,libsm)
1728 ("libice" ,libice)
1729 ("shared-mime-info" ,shared-mime-info)
1730 ("dconf" ,dconf)
1731 ("libcanberra" ,libcanberra)
1732 ("libsecret" ,libsecret)
1733
1734 ;; For tests.
1735 ("dogtail" ,python2-dogtail)))
1736 (native-inputs
1737 `(("itstool" ,itstool)
1738 ("intltool" ,intltool)
1739 ("glib" ,glib "bin")
1740 ("gobject-introspection" ,gobject-introspection)
1741 ("pkg-config" ,pkg-config)
1742 ("xmllint" ,libxml2)))
1743 (home-page "https://www.gnome.org/projects/evince/")
1744 (synopsis "GNOME's document viewer")
1745 (description
1746 "Evince is a document viewer for multiple document formats. It
1747 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1748 of Evince is to replace the multiple document viewers that exist
1749 on the GNOME Desktop with a single simple application.")
1750 (license license:gpl2+)))
1751
1752 (define-public gsettings-desktop-schemas
1753 (package
1754 (name "gsettings-desktop-schemas")
1755 (version "3.34.0")
1756 (source
1757 (origin
1758 (method url-fetch)
1759 (uri (string-append "mirror://gnome/sources/" name "/"
1760 (version-major+minor version) "/"
1761 name "-" version ".tar.xz"))
1762 (sha256
1763 (base32
1764 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1765 (build-system meson-build-system)
1766 (arguments
1767 '(#:phases (modify-phases %standard-phases
1768 (add-after 'unpack 'patch-schemas
1769 (lambda* (#:key inputs #:allow-other-keys)
1770 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1771 (substitute* (find-files "schemas"
1772 "\\.gschema\\.xml\\.in$")
1773 ;; Provide the correct file name of the default GNOME
1774 ;; background, 'adwaita-timed.xml'.
1775 (("@datadir@/backgrounds/gnome")
1776 (string-append theme "/share/backgrounds/gnome"))
1777 ;; Do not reference fonts, that may not exist.
1778 (("'Source Code Pro 10'") "'Monospace 11'"))
1779 #t))))))
1780 (inputs
1781 `(("glib" ,glib)
1782 ("gnome-backgrounds" ,gnome-backgrounds)))
1783 (native-inputs
1784 `(("intltool" ,intltool)
1785 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1786 ("gobject-introspection" ,gobject-introspection)
1787 ("pkg-config" ,pkg-config)))
1788 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1789 (synopsis
1790 "GNOME settings for various desktop components")
1791 (description
1792 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1793 for settings shared by various components of the GNOME desktop.")
1794 (license license:lgpl2.1+)))
1795
1796 (define-public icon-naming-utils
1797 (package
1798 (name "icon-naming-utils")
1799 (version "0.8.90")
1800 (source
1801 (origin
1802 (method url-fetch)
1803 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1804 version ".tar.bz2"))
1805 (sha256
1806 (base32
1807 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1808 (build-system gnu-build-system)
1809 (inputs
1810 `(("perl" ,perl)
1811 ("perl-xml-simple" ,perl-xml-simple)))
1812 (arguments
1813 '(#:phases
1814 (modify-phases %standard-phases
1815 (add-after 'install 'set-load-paths
1816 ;; Tell 'icon-name-mapping' where XML::Simple is.
1817 (lambda* (#:key outputs #:allow-other-keys)
1818 (let* ((out (assoc-ref outputs "out"))
1819 (prog (string-append out "/libexec/icon-name-mapping")))
1820 (wrap-program
1821 prog
1822 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1823 #t)))))
1824 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1825 (synopsis
1826 "Utility to implement the Freedesktop Icon Naming Specification")
1827 (description
1828 "To help with the transition to the Freedesktop Icon Naming
1829 Specification, the icon naming utility maps the icon names used by the
1830 GNOME and KDE desktops to the icon names proposed in the specification.")
1831 (license license:lgpl2.1+)))
1832
1833 (define-public gnome-icon-theme
1834 (package
1835 (name "gnome-icon-theme")
1836 (version "3.12.0")
1837 (source
1838 (origin
1839 (method url-fetch)
1840 (uri (string-append "mirror://gnome/sources/" name "/"
1841 (version-major+minor version) "/"
1842 name "-" version ".tar.xz"))
1843 (sha256
1844 (base32
1845 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1846 (build-system gnu-build-system)
1847 (arguments
1848 '(#:configure-flags
1849 ;; Don't create 'icon-theme.cache'.
1850 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1851 (true (string-append coreutils "/bin/true")))
1852 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1853 (native-inputs
1854 `(("icon-naming-utils" ,icon-naming-utils)
1855 ("intltool" ,intltool)
1856 ("pkg-config" ,pkg-config)))
1857 (home-page "https://wiki.gnome.org/Personalization")
1858 (synopsis "GNOME icon theme")
1859 (description "Icons for the GNOME desktop.")
1860 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1861
1862 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1863 (define-public adwaita-icon-theme
1864 (package (inherit gnome-icon-theme)
1865 (name "adwaita-icon-theme")
1866 (version "3.34.3")
1867 (source (origin
1868 (method url-fetch)
1869 (uri (string-append "mirror://gnome/sources/" name "/"
1870 (version-major+minor version) "/"
1871 name "-" version ".tar.xz"))
1872 (sha256
1873 (base32
1874 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1875 (native-inputs
1876 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1877
1878 (define-public tango-icon-theme
1879 (package
1880 (name "tango-icon-theme")
1881 (version "0.8.90")
1882 (source (origin
1883 (method url-fetch)
1884 (uri (string-append "http://tango.freedesktop.org/releases/"
1885 "tango-icon-theme-" version ".tar.bz2"))
1886 (sha256
1887 (base32
1888 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1889 (build-system gnu-build-system)
1890 (native-inputs
1891 `(("icon-naming-utils" ,icon-naming-utils)
1892 ("intltool" ,intltool)
1893 ("imagemagick" ,imagemagick)
1894 ("pkg-config" ,pkg-config)))
1895 (home-page "http://tango-project.org/")
1896 (synopsis "Tango icon theme")
1897 (description "This is an icon theme that follows the Tango visual
1898 guidelines.")
1899 (license license:public-domain)))
1900
1901 (define-public shared-mime-info
1902 (package
1903 (name "shared-mime-info")
1904 (version "1.15")
1905 (source (origin
1906 (method url-fetch)
1907 (uri (string-append
1908 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1909 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1910 ".tar.xz"))
1911 (sha256
1912 (base32
1913 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1914 (build-system gnu-build-system)
1915 (arguments
1916 ;; The build system appears not to be parallel-safe.
1917 '(#:parallel-build? #f))
1918 (inputs
1919 `(("glib" ,glib)
1920 ("libxml2" ,libxml2)))
1921 (native-inputs
1922 `(("gettext" ,gettext-minimal)
1923 ("itstool" ,itstool)
1924 ("pkg-config" ,pkg-config)))
1925 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1926 (synopsis "Database of common MIME types")
1927 (description
1928 "The shared-mime-info package contains the core database of common types
1929 and the update-mime-database command used to extend it. It requires glib2 to
1930 be installed for building the update command. Additionally, it uses intltool
1931 for translations, though this is only a dependency for the maintainers. This
1932 database is translated at Transifex.")
1933 (license license:gpl2+)))
1934
1935 (define-public system-config-printer
1936 (package
1937 (name "system-config-printer")
1938 (version "1.5.12")
1939 (source
1940 (origin
1941 (method url-fetch)
1942 (uri (string-append
1943 "https://github.com/OpenPrinting/system-config-printer/releases/"
1944 "download/" version
1945 "/system-config-printer-" version ".tar.xz"))
1946 (sha256
1947 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1948 (build-system glib-or-gtk-build-system)
1949 (arguments
1950 `(#:imported-modules ((guix build python-build-system)
1951 ,@%glib-or-gtk-build-system-modules)
1952 #:phases
1953 (modify-phases %standard-phases
1954 (add-after 'unpack 'patch-Makefile.am
1955 (lambda _
1956 ;; The Makefile generates some scripts, so set a valid shebang
1957 (substitute* "Makefile.am"
1958 (("/bin/bash") (which "bash")))
1959 (delete-file "configure")
1960 #t))
1961 (add-after 'unpack 'patch-docbook-xml
1962 (lambda* (#:key inputs #:allow-other-keys)
1963 ;; Modify the man XML otherwise xmlto tries to access the network
1964 (substitute* "man/system-config-printer.xml"
1965 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1966 (string-append (assoc-ref inputs "docbook-xml")
1967 "/xml/dtd/docbook/")))
1968 #t))
1969 (add-after 'install 'wrap-for-python
1970 (@@ (guix build python-build-system) wrap))
1971 (add-after 'install 'wrap
1972 (lambda* (#:key outputs #:allow-other-keys)
1973 (let ((out (assoc-ref outputs "out"))
1974 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1975 (for-each
1976 (lambda (program)
1977 (wrap-program program
1978 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1979 (map (lambda (name)
1980 (string-append out "/bin/" name))
1981 '("system-config-printer"
1982 "system-config-printer-applet"
1983 "install-printerdriver"
1984 "scp-dbus-service"))))
1985 #t)))))
1986 (inputs
1987 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1988 ("gobject-introspection" ,gobject-introspection)
1989 ("python" ,python)
1990 ("cups" ,cups)
1991 ("python-dbus" ,python-dbus)
1992 ("python-pygobject" ,python-pygobject)
1993 ("python-pycups" ,python-pycups)
1994 ("python-requests" ,python-requests)
1995 ("python-pycairo" ,python-pycairo)
1996 ("libnotify" ,libnotify)
1997 ("packagekit" ,packagekit)))
1998 (native-inputs
1999 `(("pkg-config" ,pkg-config)
2000 ("desktop-file-utils" ,desktop-file-utils)
2001 ("glib" ,glib)
2002 ("autoconf" ,autoconf)
2003 ("automake" ,automake)
2004 ("intltool" ,intltool)
2005 ("xmlto" ,xmlto)
2006 ("docbook-xml" ,docbook-xml-4.1.2)
2007 ("docbook-xsl" ,docbook-xsl)
2008 ("libxml2" ,libxml2)))
2009 (home-page "https://github.com/zdohnal/system-config-printer")
2010 (synopsis "CUPS administration tool")
2011 (description
2012 "system-config-printer is a CUPS administration tool. It's written in
2013 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2014 configuring CUPS.")
2015 (license license:gpl2+)))
2016
2017 (define-public hicolor-icon-theme
2018 (package
2019 (name "hicolor-icon-theme")
2020 (version "0.17")
2021 (source
2022 (origin
2023 (method url-fetch)
2024 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2025 "hicolor-icon-theme-" version ".tar.xz"))
2026 (sha256
2027 (base32
2028 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2029 (build-system gnu-build-system)
2030 (arguments
2031 `(#:tests? #f)) ; no check target
2032 (home-page "https://icon-theme.freedesktop.org/releases/")
2033 (synopsis
2034 "Freedesktop icon theme")
2035 (description
2036 "Freedesktop icon theme.")
2037 (license license:gpl2)))
2038
2039 (define-public libnotify
2040 (package
2041 (name "libnotify")
2042 (version "0.7.7")
2043 (source
2044 (origin
2045 (method url-fetch)
2046 (uri (string-append "mirror://gnome/sources/" name "/"
2047 (version-major+minor version) "/"
2048 name "-" version ".tar.xz"))
2049 (sha256
2050 (base32
2051 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2052 (build-system gnu-build-system)
2053 (arguments
2054 `(#:configure-flags '("--disable-static")))
2055 (propagated-inputs
2056 `(;; In Requires of libnotify.pc.
2057 ("gdk-pixbuf" ,gdk-pixbuf)
2058 ("glib" ,glib)))
2059 (inputs
2060 `(("gtk+" ,gtk+)
2061 ("libpng" ,libpng)))
2062 (native-inputs
2063 `(("pkg-config" ,pkg-config)
2064 ("glib" ,glib "bin")
2065 ("gobject-introspection" ,gobject-introspection)))
2066 (home-page "https://developer-next.gnome.org/libnotify/")
2067 (synopsis
2068 "GNOME desktop notification library")
2069 (description
2070 "Libnotify is a library that sends desktop notifications to a
2071 notification daemon, as defined in the Desktop Notifications spec. These
2072 notifications can be used to inform the user about an event or display
2073 some form of information without getting in the user's way.")
2074 (license license:lgpl2.1+)))
2075
2076 (define-public libpeas
2077 (package
2078 (name "libpeas")
2079 (version "1.24.1")
2080 (source
2081 (origin
2082 (method url-fetch)
2083 (uri (string-append "mirror://gnome/sources/" name "/"
2084 (version-major+minor version) "/"
2085 name "-" version ".tar.xz"))
2086 (sha256
2087 (base32
2088 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2089 (build-system meson-build-system)
2090 (arguments
2091 '(#:phases
2092 (modify-phases %standard-phases
2093 (add-before 'check 'start-xserver
2094 (lambda* (#:key inputs #:allow-other-keys)
2095 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2096 (disp ":1"))
2097 (setenv "DISPLAY" disp)
2098 ;; Tests require a running X server.
2099 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2100 #t))))))
2101 (inputs
2102 `(("gtk+" ,gtk+)
2103 ("glade" ,glade3)
2104 ("python" ,python)
2105 ("python-pygobject" ,python-pygobject)))
2106 (native-inputs
2107 `(("pkg-config" ,pkg-config)
2108 ("gettext" ,gettext-minimal)
2109 ("glib:bin" ,glib "bin")
2110 ("gobject-introspection" ,gobject-introspection)
2111 ("xorg-server" ,xorg-server-for-tests)))
2112 (propagated-inputs
2113 ;; The .pc file "Requires" gobject-introspection.
2114 `(("gobject-introspection" ,gobject-introspection)))
2115 (home-page "https://wiki.gnome.org/Libpeas")
2116 (synopsis "GObject plugin system")
2117 (description
2118 "Libpeas is a gobject-based plugin engine, targeted at giving every
2119 application the chance to assume its own extensibility. It also has a set of
2120 features including, but not limited to: multiple extension points; on-demand
2121 (lazy) programming language support for C, Python and JS; simplicity of the
2122 API.")
2123 (license license:lgpl2.0+)))
2124
2125 (define-public gtkglext
2126 (package
2127 (name "gtkglext")
2128 (version "1.2.0")
2129 (source (origin
2130 (method url-fetch)
2131 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2132 version "/gtkglext-" version ".tar.gz"))
2133 (sha256
2134 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2135 (patches (search-patches
2136 "gtkglext-disable-disable-deprecated.patch"))))
2137 (build-system gnu-build-system)
2138 (arguments
2139 `(#:phases
2140 (modify-phases %standard-phases
2141 ;; Fix a collision between a local variable and a definition from
2142 ;; glibc's string.h.
2143 (add-after 'unpack 'fix-collision
2144 (lambda _
2145 (substitute* "gdk/gdkglshapes.c"
2146 ((" index") " triangle_index"))
2147 #t)))))
2148 (inputs `(("gtk+" ,gtk+-2)
2149 ("mesa" ,mesa)
2150 ("glu" ,glu)
2151 ("libx11" ,libx11)
2152 ("libxt" ,libxt)))
2153 (native-inputs `(("pkg-config" ,pkg-config)
2154 ("glib" ,glib "bin")))
2155 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2156 (home-page "https://projects.gnome.org/gtkglext")
2157 (synopsis "OpenGL extension to GTK+")
2158 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2159 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2160 API add-ons to make GTK+ widgets OpenGL-capable.")
2161 (license license:lgpl2.1+)))
2162
2163 (define-public glade3
2164 (package
2165 (name "glade")
2166 (version "3.36.0")
2167 (source (origin
2168 (method url-fetch)
2169 (uri (string-append "mirror://gnome/sources/" name "/"
2170 (version-major+minor version) "/"
2171 name "-" version ".tar.xz"))
2172 (sha256
2173 (base32
2174 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
2175 (build-system glib-or-gtk-build-system)
2176 (arguments
2177 `(#:phases
2178 (modify-phases %standard-phases
2179 (add-before 'configure 'fix-docbook
2180 (lambda* (#:key inputs #:allow-other-keys)
2181 (substitute* "man/Makefile.in"
2182 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2183 (string-append (assoc-ref inputs "docbook-xsl")
2184 "/xml/xsl/docbook-xsl-"
2185 ,(package-version docbook-xsl)
2186 "/manpages/docbook.xsl")))
2187 #t))
2188 (add-before 'check 'pre-check
2189 (lambda _
2190 (setenv "HOME" "/tmp")
2191 ;; Tests require a running X server.
2192 (system "Xvfb :1 &")
2193 (setenv "DISPLAY" ":1")
2194 #t)))))
2195 (inputs
2196 `(("gtk+" ,gtk+)
2197 ("libxml2" ,libxml2)))
2198 (native-inputs
2199 `(("hicolor-icon-theme" ,hicolor-icon-theme)
2200 ("intltool" ,intltool)
2201 ("itstool" ,itstool)
2202 ("libxslt" ,libxslt) ;for xsltproc
2203 ("docbook-xml" ,docbook-xml-4.2)
2204 ("docbook-xsl" ,docbook-xsl)
2205 ("python" ,python-2)
2206 ("pkg-config" ,pkg-config)
2207 ("xorg-server" ,xorg-server-for-tests)))
2208 (home-page "https://glade.gnome.org")
2209 (synopsis "GTK+ rapid application development tool")
2210 (description "Glade is a rapid application development (RAD) tool to
2211 enable quick & easy development of user interfaces for the GTK+ toolkit and
2212 the GNOME desktop environment.")
2213 (license license:lgpl2.0+)))
2214
2215 (define-public libcroco
2216 (package
2217 (name "libcroco")
2218 (version "0.6.13")
2219 (source (origin
2220 (method url-fetch)
2221 (uri (string-append "mirror://gnome/sources/" name "/"
2222 (version-major+minor version) "/"
2223 name "-" version ".tar.xz"))
2224 (sha256
2225 (base32
2226 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2227 (build-system gnu-build-system)
2228 (native-inputs
2229 `(("pkg-config" ,pkg-config)))
2230 (inputs
2231 `(("glib" ,glib)
2232 ("libxml2" ,libxml2)
2233 ("zlib" ,zlib)))
2234 (home-page "https://github.com/GNOME/libcroco")
2235 (synopsis "CSS2 parsing and manipulation library")
2236 (description
2237 "Libcroco is a standalone CSS2 parsing and manipulation library.
2238 The parser provides a low level event driven SAC-like API and a CSS object
2239 model like API. Libcroco provides a CSS2 selection engine and an experimental
2240 XML/CSS rendering engine.")
2241
2242 ;; LGPLv2.1-only.
2243 (license license:lgpl2.1)))
2244
2245 (define-public libgsf
2246 (package
2247 (name "libgsf")
2248 (version "1.14.47")
2249 (source (origin
2250 (method url-fetch)
2251 (uri (string-append "mirror://gnome/sources/" name "/"
2252 (version-major+minor version) "/"
2253 name "-" version ".tar.xz"))
2254 (sha256
2255 (base32
2256 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2257 (build-system gnu-build-system)
2258 (arguments
2259 '(#:configure-flags '("--disable-static")))
2260 (native-inputs
2261 `(("pkg-config" ,pkg-config)
2262 ("gettext" ,gettext-minimal)
2263
2264 ;; For tests.
2265 ("perl" ,perl)
2266 ("perl-xml-parser" ,perl-xml-parser)))
2267 (inputs
2268 `(("zlib" ,zlib)
2269 ("bzip2" ,bzip2)))
2270 (propagated-inputs
2271 `(("gdk-pixbuf" ,gdk-pixbuf)
2272 ("glib" ,glib)
2273 ("libxml2" ,libxml2)))
2274 (home-page "https://www.gnome.org/projects/libgsf")
2275 (synopsis "GNOME's Structured File Library")
2276 (description
2277 "Libgsf aims to provide an efficient extensible I/O abstraction for
2278 dealing with different structured file formats.")
2279
2280 ;; LGPLv2.1-only.
2281 (license license:lgpl2.1)))
2282
2283 (define-public librsvg
2284 (package
2285 (name "librsvg")
2286 (version "2.40.21")
2287 (source (origin
2288 (method url-fetch)
2289 (uri (string-append "mirror://gnome/sources/" name "/"
2290 (version-major+minor version) "/"
2291 name "-" version ".tar.xz"))
2292 (sha256
2293 (base32
2294 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2295 (build-system gnu-build-system)
2296 (arguments
2297 `(#:configure-flags
2298 (list "--disable-static"
2299 "--enable-vala") ; needed for e.g. gnome-mines
2300 #:phases
2301 (modify-phases %standard-phases
2302 (add-before 'configure 'pre-configure
2303 (lambda* (#:key inputs #:allow-other-keys)
2304 (substitute* "gdk-pixbuf-loader/Makefile.in"
2305 ;; By default the gdk-pixbuf loader is installed under
2306 ;; gdk-pixbuf's prefix. Work around that.
2307 (("gdk_pixbuf_moduledir = .*$")
2308 (string-append "gdk_pixbuf_moduledir = "
2309 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2310 "loaders\n"))
2311 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2312 (("gdk_pixbuf_cache_file = .*$")
2313 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2314 #t))
2315 (add-before 'check 'remove-failing-tests
2316 (lambda _
2317 (with-directory-excursion "tests/fixtures/reftests"
2318 (for-each delete-file
2319 '(;; This test fails on i686:
2320 "svg1.1/masking-path-04-b.svg"
2321 ;; This test fails on armhf:
2322 "svg1.1/masking-mask-01-b.svg"
2323 ;; This test fails on aarch64:
2324 "bugs/777834-empty-text-children.svg")))
2325 #t)))))
2326 (native-inputs
2327 `(("pkg-config" ,pkg-config)
2328 ("vala" ,vala)
2329 ("glib" ,glib "bin") ; glib-mkenums, etc.
2330 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2331 (inputs
2332 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2333 ;; this ancient version of librsvg.
2334 ("pango" ,pango-1.42)
2335 ("libcroco" ,libcroco)
2336 ("bzip2" ,bzip2)
2337 ("libgsf" ,libgsf)
2338 ("libxml2" ,libxml2)))
2339 (propagated-inputs
2340 ;; librsvg-2.0.pc refers to all of that.
2341 `(("cairo" ,cairo)
2342 ("gdk-pixbuf" ,gdk-pixbuf)
2343 ("glib" ,glib)))
2344 (home-page "https://wiki.gnome.org/LibRsvg")
2345 (synopsis "Render SVG files using Cairo")
2346 (description
2347 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2348 library.")
2349 (license license:lgpl2.0+)))
2350
2351 (define-public librsvg-next
2352 (package
2353 (inherit librsvg)
2354 (name "librsvg")
2355 (version "2.48.8")
2356 (source (origin
2357 (method url-fetch)
2358 (uri (string-append "mirror://gnome/sources/librsvg/"
2359 (version-major+minor version) "/"
2360 "librsvg-" version ".tar.xz"))
2361 (sha256
2362 (base32
2363 "14i6xzghcidv64cyd3g0wdjbl82rph737yxn9s3x29nzpcjs707l"))
2364 (modules '((guix build utils)))
2365 (snippet
2366 '(begin (delete-file-recursively "vendor")
2367 #t))))
2368 (build-system cargo-build-system)
2369 (arguments
2370 `(#:modules ((guix build cargo-build-system)
2371 (guix build utils)
2372 ((guix build gnu-build-system) #:prefix gnu:))
2373 #:vendor-dir "vendor"
2374 #:cargo-inputs
2375 (("rust-bitflags" ,rust-bitflags-1)
2376 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
2377 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2378 ("rust-cast" ,rust-cast-0.2)
2379 ("rust-cssparser" ,rust-cssparser-0.27)
2380 ("rust-data-url" ,rust-data-url-0.1)
2381 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2382 ("rust-encoding" ,rust-encoding-0.2)
2383 ("rust-float-cmp" ,rust-float-cmp-0.6)
2384 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
2385 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2386 ("rust-gio" ,rust-gio-0.8)
2387 ("rust-gio-sys" ,rust-gio-sys-0.9)
2388 ("rust-glib" ,rust-glib-0.9)
2389 ("rust-glib-sys" ,rust-glib-sys-0.9)
2390 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2391 ("rust-itertools" ,rust-itertools-0.8)
2392 ("rust-language-tags" ,rust-language-tags-0.2)
2393 ("rust-libc" ,rust-libc-0.2)
2394 ("rust-locale-config" ,rust-locale-config-0.3)
2395 ("rust-markup5ever" ,rust-markup5ever-0.10)
2396 ("rust-nalgebra" ,rust-nalgebra-0.19)
2397 ("rust-num-traits" ,rust-num-traits-0.2)
2398 ("rust-once-cell" ,rust-once-cell-1.2)
2399 ("rust-pkg-config" ,rust-pkg-config-0.3)
2400 ("rust-pango" ,rust-pango-0.8)
2401 ("rust-pango-sys" ,rust-pango-sys-0.9)
2402 ("rust-pangocairo" ,rust-pangocairo-0.9)
2403 ("rust-rayon" ,rust-rayon-1)
2404 ("rust-rctree" ,rust-rctree-0.3)
2405 ("rust-rgb" ,rust-rgb-0.8)
2406 ("rust-regex" ,rust-regex-1)
2407 ("rust-selectors" ,rust-selectors-0.22)
2408 ("rust-url" ,rust-url-2.1)
2409 ("rust-xml5ever" ,rust-xml5ever-0.16))
2410 #:cargo-development-inputs
2411 (("rust-cairo-rs" ,rust-cairo-rs-0.8)
2412 ("rust-criterion" ,rust-criterion-0.3))
2413 #:phases
2414 (modify-phases %standard-phases
2415 (add-after 'unpack 'prepare-for-build
2416 (lambda _
2417 ;; In lieu of #:make-flags
2418 (setenv "CC" ,(cc-for-target))
2419 ;; Something about the build environment resists building
2420 ;; successfully with the '--locked' flag.
2421 (substitute* '("Makefile.am"
2422 "Makefile.in")
2423 (("--locked") ""))
2424 #t))
2425 (add-before 'configure 'pre-configure
2426 (lambda _
2427 (substitute* "gdk-pixbuf-loader/Makefile.in"
2428 ;; By default the gdk-pixbuf loader is installed under
2429 ;; gdk-pixbuf's prefix. Work around that.
2430 (("gdk_pixbuf_moduledir = .*$")
2431 (string-append "gdk_pixbuf_moduledir = "
2432 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2433 "loaders\n"))
2434 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2435 (("gdk_pixbuf_cache_file = .*$")
2436 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2437 #t))
2438 (add-after 'configure 'gnu-configure
2439 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
2440 ((assoc-ref gnu:%standard-phases 'configure)
2441 #:native-inputs native-inputs
2442 #:inputs inputs
2443 #:outputs outputs
2444 #:configure-flags (list "--disable-static"
2445 "--enable-vala"))))
2446 (add-after 'configure 'dont-vendor-self
2447 (lambda* (#:key vendor-dir #:allow-other-keys)
2448 ;; Don't keep the whole tarball in the vendor directory
2449 (delete-file-recursively
2450 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2451 #t))
2452 (replace 'build
2453 (assoc-ref gnu:%standard-phases 'build))
2454 (replace 'check
2455 (lambda* args
2456 ((assoc-ref gnu:%standard-phases 'check)
2457 #:test-target "check")))
2458 (replace 'install
2459 (assoc-ref gnu:%standard-phases 'install)))))
2460 (inputs
2461 `(("pango" ,pango)
2462 ,@(alist-delete "pango" (package-inputs librsvg))))
2463 (license license:lgpl2.1+)))
2464
2465 (define-public libidl
2466 (package
2467 (name "libidl")
2468 (version "0.8.14")
2469 (source (origin
2470 (method url-fetch)
2471 (uri (string-append "mirror://gnome/sources/libIDL/"
2472 (version-major+minor version) "/"
2473 "libIDL-" version ".tar.bz2"))
2474 (sha256
2475 (base32
2476 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2477 (build-system gnu-build-system)
2478 (inputs `(("glib" ,glib)))
2479 (native-inputs
2480 `(("pkg-config" ,pkg-config)
2481 ("flex" ,flex)
2482 ("bison" ,bison)))
2483 (home-page "http://freecode.com/projects/libidl")
2484 (synopsis "Create trees of CORBA Interface Definition Language files")
2485 (description "Libidl is a library for creating trees of CORBA Interface
2486 Definition Language (idl) files, which is a specification for defining
2487 portable interfaces. libidl was initially written for orbit (the orb from the
2488 GNOME project, and the primary means of libidl distribution). However, the
2489 functionality was designed to be as reusable and portable as possible.")
2490 (properties `((upstream-name . "libIDL")))
2491 (license license:lgpl2.0+)))
2492
2493
2494 (define-public orbit2
2495 (package
2496 (name "orbit2")
2497 (version "2.14.19")
2498 (source (origin
2499 (method url-fetch)
2500 (uri (let ((upstream-name "ORBit2"))
2501 (string-append "mirror://gnome/sources/" upstream-name "/"
2502 (version-major+minor version) "/"
2503 upstream-name "-" version ".tar.bz2")))
2504 (sha256
2505 (base32
2506 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2507 (build-system gnu-build-system)
2508 (arguments
2509 `(;; The "timeout-server" test hangs when run in parallel.
2510 #:parallel-tests? #f
2511 #:configure-flags
2512 '(;; We don't need static libraries, plus they don't build reproducibly
2513 ;; (non-deterministic ordering of .o files in the archive.)
2514 "--disable-static"
2515
2516 ;; The programmer kindly gives us a hook to turn off deprecation
2517 ;; warnings ...
2518 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2519 ;; ... which they then completly ignore !!
2520 #:phases
2521 (modify-phases %standard-phases
2522 (add-before 'configure 'ignore-deprecations
2523 (lambda _
2524 (substitute* "linc2/src/Makefile.in"
2525 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2526 #t)))))
2527 (inputs `(("glib" ,glib)
2528 ("libidl" ,libidl)))
2529 (native-inputs
2530 `(("pkg-config" ,pkg-config)))
2531 (home-page "https://projects.gnome.org/orbit2/")
2532 (synopsis "CORBA 2.4-compliant Object Request Broker")
2533 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2534 featuring mature C, C++ and Python bindings.")
2535 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2536 ;; a version. SOME of the code files have licence notices for GPLv2+.
2537 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2538 (license license:gpl2+)
2539 (properties `((upstream-name . "ORBit2")))))
2540
2541
2542 (define-public libbonobo
2543 (package
2544 (name "libbonobo")
2545 (version "2.32.1")
2546 (source (origin
2547 (method url-fetch)
2548 (uri (string-append "mirror://gnome/sources/" name "/"
2549 (version-major+minor version)
2550 "/" name "-" version ".tar.bz2"))
2551 (sha256
2552 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2553 (patches (search-patches
2554 "libbonobo-activation-test-race.patch"))))
2555 (build-system gnu-build-system)
2556 (arguments
2557 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2558 `(#:configure-flags
2559 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2560 ;; ... which they then completly ignore !!
2561 #:phases
2562 (modify-phases %standard-phases
2563 (add-before 'configure 'ignore-deprecations
2564 (lambda _
2565 (substitute* "activation-server/Makefile.in"
2566 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2567 #t)))
2568
2569 ;; There's apparently a race condition between the server stub
2570 ;; generation and linking of the example under 'samples/echo' that can
2571 ;; lead do undefined references when building in parallel, as reported
2572 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2573 ;; Thus, disable parallel builds.
2574 #:parallel-build? #f))
2575 (inputs `(("popt" ,popt)
2576 ("libxml2" ,libxml2)))
2577 ;; The following are Required by the .pc file
2578 (propagated-inputs
2579 `(("glib" ,glib)
2580 ("orbit2" ,orbit2)))
2581 (native-inputs
2582 `(("intltool" ,intltool)
2583 ("pkg-config" ,pkg-config)
2584 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2585 ("flex" ,flex)
2586 ("bison" ,bison)))
2587 (home-page "https://developer.gnome.org/libbonobo/")
2588 (synopsis "Framework for creating reusable components for use in GNOME applications")
2589 (description "Bonobo is a framework for creating reusable components for
2590 use in GNOME applications, built on top of CORBA.")
2591 ;; Licence not explicitly stated. Source files contain no licence notices.
2592 ;; Tarball contains text of both GPLv2 and LGPLv2
2593 ;; GPLv2 covers both conditions
2594 (license license:gpl2+)))
2595
2596
2597 (define-public gconf
2598 (package
2599 (name "gconf")
2600 (version "3.2.6")
2601 (source (origin
2602 (method url-fetch)
2603 (uri
2604 (let ((upstream-name "GConf"))
2605 (string-append "mirror://gnome/sources/" upstream-name "/"
2606 (version-major+minor version) "/"
2607 upstream-name "-" version ".tar.xz")))
2608 (sha256
2609 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2610 (build-system gnu-build-system)
2611 (inputs `(("dbus-glib" ,dbus-glib)
2612 ("libxml2" ,libxml2)))
2613 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2614 ("orbit2" ,orbit2)))
2615 (native-inputs
2616 `(("intltool" ,intltool)
2617 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2618 ("pkg-config" ,pkg-config)))
2619 (home-page "https://projects.gnome.org/gconf/")
2620 (synopsis "Store application preferences")
2621 (description "Gconf is a system for storing application preferences. It
2622 is intended for user preferences; not arbitrary data storage.")
2623 (license license:lgpl2.0+)
2624 (properties '((upstream-name . "GConf")))))
2625
2626
2627 (define-public gnome-mime-data
2628 (package
2629 (name "gnome-mime-data")
2630 (version "2.18.0")
2631 (source (origin
2632 (method url-fetch)
2633 (uri (string-append "mirror://gnome/sources/" name "/"
2634 (version-major+minor version) "/"
2635 name "-" version ".tar.bz2"))
2636 (sha256
2637 (base32
2638 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2639 (build-system gnu-build-system)
2640 (native-inputs
2641 `(("perl" ,perl)
2642 ("intltool" ,intltool)))
2643 (arguments
2644 '(#:phases (modify-phases %standard-phases
2645 (add-after 'configure 'use-our-intltool
2646 (lambda _
2647 ;; Do not use the bundled intltool commands, which lack
2648 ;; the "dotless @INC" fixes of our 'intltool' package.
2649 (substitute* (find-files "." "^Makefile$")
2650 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2651 (string-append "INTLTOOL_" tool " = intltool-"
2652 (string-downcase tool) "\n")))
2653 #t)))))
2654 (home-page "https://www.gnome.org")
2655 (synopsis "Base MIME and Application database for GNOME")
2656 (description "GNOME Mime Data is a module which contains the base MIME
2657 and Application database for GNOME. The data stored by this module is
2658 designed to be accessed through the MIME functions in GnomeVFS.")
2659 (license license:gpl2+)))
2660
2661
2662 (define-public gnome-vfs
2663 (package
2664 (name "gnome-vfs")
2665 (version "2.24.4")
2666 (source (origin
2667 (method url-fetch)
2668 (uri (string-append "mirror://gnome/sources/" name "/"
2669 (version-major+minor version) "/"
2670 name "-" version ".tar.bz2"))
2671 (sha256
2672 (base32
2673 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2674 (build-system gnu-build-system)
2675 (arguments
2676 `(#:phases
2677 (modify-phases %standard-phases
2678 (add-before 'configure 'ignore-deprecations
2679 (lambda _
2680 (substitute* '("libgnomevfs/Makefile.in"
2681 "daemon/Makefile.in")
2682 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2683 #t))
2684 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2685 (lambda _
2686 (substitute* "test/test-async-cancel.c"
2687 (("EXIT_FAILURE") "77"))
2688 #t)))))
2689 (inputs `(("libxml2" ,libxml2)
2690 ("dbus-glib" ,dbus-glib)
2691 ("gconf" ,gconf)
2692 ("gnome-mime-data" ,gnome-mime-data)
2693 ("zlib" ,zlib)))
2694 (native-inputs
2695 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2696 ("intltool" ,intltool)
2697 ("pkg-config" ,pkg-config)))
2698 (home-page "https://developer.gnome.org/gnome-vfs/")
2699 (synopsis "Access files and folders in GNOME applications")
2700 (description
2701 "GnomeVFS is the core library used to access files and folders in GNOME
2702 applications. It provides a file system abstraction which allows applications
2703 to access local and remote files with a single consistent API.")
2704 (license license:lgpl2.0+)))
2705
2706
2707
2708 (define-public libgnome
2709 (package
2710 (name "libgnome")
2711 (version "2.32.1")
2712 (source (origin
2713 (method url-fetch)
2714 (uri (string-append "mirror://gnome/sources/" name "/"
2715 (version-major+minor version) "/"
2716 name "-" version ".tar.bz2"))
2717 (sha256
2718 (base32
2719 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2720 (patches (search-patches "libgnome-encoding.patch"))))
2721 (build-system gnu-build-system)
2722 (arguments
2723 `(#:phases
2724 (modify-phases %standard-phases
2725 (add-before 'configure 'enable-deprecated
2726 (lambda _
2727 (substitute* "libgnome/Makefile.in"
2728 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2729 #t)))))
2730 (inputs `(("libxml2" ,libxml2)))
2731 (native-inputs
2732 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2733 ("intltool" ,intltool)
2734 ("pkg-config" ,pkg-config)))
2735 ;; The following are listed as Required in the .pc file
2736 ;; (except for libcanberra -- which seems to be oversight on the part
2737 ;; of the upstream developers -- anything that links against libgnome,
2738 ;; must also link against libcanberra
2739 (propagated-inputs
2740 `(("libcanberra" ,libcanberra)
2741 ("libbonobo" ,libbonobo)
2742 ("gconf" ,gconf)
2743 ("gnome-vfs" ,gnome-vfs)
2744 ("popt" ,popt))) ;gnome-program.h includes popt.h
2745 (home-page "https://developer.gnome.org/libgnome/")
2746 (synopsis "Useful routines for building applications")
2747 (description "The libgnome library provides a number of useful routines
2748 for building modern applications, including session management, activation of
2749 files and URIs, and displaying help.")
2750 (license license:lgpl2.0+)))
2751
2752
2753 (define-public libart-lgpl
2754 (package
2755 (name "libart-lgpl")
2756 (version "2.3.21")
2757 (source (origin
2758 (method url-fetch)
2759 (uri (let ((upstream-name "libart_lgpl"))
2760 (string-append "mirror://gnome/sources/" upstream-name "/"
2761 (version-major+minor version) "/"
2762 upstream-name "-" version ".tar.bz2")))
2763 (sha256
2764 (base32
2765 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2766 (build-system gnu-build-system)
2767 (native-inputs
2768 `(("pkg-config" ,pkg-config)))
2769 (home-page "https://people.gnome.org/~mathieu/libart")
2770 (synopsis "2D drawing library")
2771 (description "Libart is a 2D drawing library intended as a
2772 high-quality vector-based 2D library with antialiasing and alpha composition.")
2773 (license license:lgpl2.0+)))
2774
2775
2776
2777 (define-public libgnomecanvas
2778 (package
2779 (name "libgnomecanvas")
2780 (version "2.30.3")
2781 (source (origin
2782 (method url-fetch)
2783 (uri (string-append "mirror://gnome/sources/" name "/"
2784 (version-major+minor version) "/"
2785 name "-" version ".tar.gz"))
2786 (sha256
2787 (base32
2788 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2789 (build-system gnu-build-system)
2790 ;; Mentioned as Required in the .pc file
2791 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2792 ("gtk+" ,gtk+-2)))
2793 (native-inputs
2794 `(("intltool" ,intltool)
2795 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2796 ("pkg-config" ,pkg-config)))
2797 (home-page "https://developer.gnome.org/libgnomecanvas/")
2798 (synopsis "Flexible widget for creating interactive structured graphics")
2799 (description "The GnomeCanvas widget provides a flexible widget for
2800 creating interactive structured graphics.")
2801 (license license:lgpl2.0+)))
2802
2803 (define-public libgnomecanvasmm
2804 (package
2805 (name "libgnomecanvasmm")
2806 (version "2.26.0")
2807 (source (origin
2808 (method url-fetch)
2809 (uri (string-append "mirror://gnome/sources/" name "/"
2810 (version-major+minor version) "/"
2811 name "-" version ".tar.bz2"))
2812 (sha256
2813 (base32
2814 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2815 (build-system gnu-build-system)
2816 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2817 (native-inputs
2818 `(("gtkmm-2" ,gtkmm-2)
2819 ("pkg-config" ,pkg-config)))
2820 (home-page "https://gtkmm.org")
2821 (synopsis "C++ bindings to the GNOME Canvas library")
2822 (description "C++ bindings to the GNOME Canvas library.")
2823 (license license:lgpl2.0+)))
2824
2825 (define-public libgnomeui
2826 (package
2827 (name "libgnomeui")
2828 (version "2.24.5")
2829 (source (origin
2830 (method url-fetch)
2831 (uri (string-append "mirror://gnome/sources/" name "/"
2832 (version-major+minor version) "/"
2833 name "-" version ".tar.bz2"))
2834 (patches (search-patches "libgnomeui-utf8.patch"))
2835 (sha256
2836 (base32
2837 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2838 (build-system gnu-build-system)
2839 ;; Mentioned as Required in the .pc file
2840 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2841 ("libgnome" ,libgnome)
2842 ("libgnomecanvas" ,libgnomecanvas)
2843 ("libgnome-keyring" ,libgnome-keyring)))
2844 (inputs `(("libjpeg" ,libjpeg-turbo)
2845 ("popt" ,popt)
2846 ("libbonobo" ,libbonobo)
2847 ("libxml2" ,libxml2)
2848 ("libglade" ,libglade)))
2849 (native-inputs
2850 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2851 ("intltool" ,intltool)
2852 ("pkg-config" ,pkg-config)))
2853 (home-page "https://developer.gnome.org/libgnomeui/")
2854 (synopsis "Additional widgets for applications")
2855 (description "The libgnomeui library provides additional widgets for
2856 applications. Many of the widgets from libgnomeui have already been
2857 ported to GTK+.")
2858 (license license:lgpl2.0+)))
2859
2860 (define-public libglade
2861 (package
2862 (name "libglade")
2863 (version "2.6.4")
2864 (source (origin
2865 (method url-fetch)
2866 (uri (string-append "mirror://gnome/sources/" name "/"
2867 (version-major+minor version) "/"
2868 name "-" version ".tar.bz2"))
2869 (sha256
2870 (base32
2871 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2872 (build-system gnu-build-system)
2873 (inputs
2874 `(("python" ,python))) ;; needed for the optional libglade-convert program
2875 (propagated-inputs
2876 `(("gtk+-2" ,gtk+-2)
2877 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2878 (native-inputs
2879 `(("pkg-config" ,pkg-config)))
2880 (home-page "https://developer.gnome.org/libglade")
2881 (synopsis "Load glade interfaces and access the glade built widgets")
2882 (description "Libglade is a library that provides interfaces for loading
2883 graphical interfaces described in glade files and for accessing the
2884 widgets built in the loading process.")
2885 (license license:gpl2+))) ; This is correct. GPL not LGPL
2886
2887 (define-public libgnomeprint
2888 ;; This library has been deprecated since 2006; see
2889 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2890 (package
2891 (name "libgnomeprint")
2892 (version "2.18.8")
2893 (source (origin
2894 (method url-fetch)
2895 (uri (string-append "mirror://gnome/sources/" name "/"
2896 (version-major+minor version) "/"
2897 name "-" version ".tar.bz2"))
2898 (sha256
2899 (base32
2900 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2901 (build-system gnu-build-system)
2902 (inputs
2903 `(("popt" ,popt)
2904 ("libart-lgpl" ,libart-lgpl)
2905 ("gtk+" ,gtk+-2)
2906 ("libxml2" ,libxml2)))
2907 (native-inputs
2908 `(("intltool" ,intltool)
2909 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2910 ("pkg-config" ,pkg-config)))
2911 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2912 (synopsis "Printing framework for GNOME")
2913 (description
2914 "GNOME-print was a printing framework for GNOME. It has been deprecated
2915 since ca. 2006, when GTK+ itself incorporated printing support.")
2916 (license license:lgpl2.0+)))
2917
2918
2919 (define-public libgnomeprintui
2920 ;; Deprecated; see libgnomeprint.
2921 (package
2922 (name "libgnomeprintui")
2923 (version "2.18.6")
2924 (source (origin
2925 (method url-fetch)
2926 (uri (string-append "mirror://gnome/sources/" name "/"
2927 (version-major+minor version) "/"
2928 name "-" version ".tar.bz2"))
2929 (sha256
2930 (base32
2931 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2932 (build-system gnu-build-system)
2933 ;; Mentioned as Required in the .pc file
2934 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2935 (inputs `(("gtk+" ,gtk+-2)
2936 ("glib" ,glib)
2937 ("gnome-icon-theme" ,gnome-icon-theme)
2938 ("libgnomecanvas" ,libgnomecanvas)
2939 ("libxml2" ,libxml2)))
2940 (native-inputs
2941 `(("intltool" ,intltool)
2942 ("pkg-config" ,pkg-config)))
2943 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2944 (synopsis "Printing framework for GNOME")
2945 (description (package-description libgnomeprint))
2946 (license license:lgpl2.0+)))
2947
2948 (define-public libbonoboui
2949 (package
2950 (name "libbonoboui")
2951 (version "2.24.5")
2952 (source (origin
2953 (method url-fetch)
2954 (uri (string-append "mirror://gnome/sources/" name "/"
2955 (version-major+minor version) "/"
2956 name "-" version ".tar.bz2"))
2957 (sha256
2958 (base32
2959 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2960 (build-system gnu-build-system)
2961 (arguments
2962 `(#:phases
2963 (modify-phases %standard-phases
2964 (add-before 'check 'start-xserver
2965 (lambda* (#:key inputs #:allow-other-keys)
2966 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2967 (disp ":1"))
2968
2969 (setenv "HOME" (getcwd))
2970 (setenv "DISPLAY" disp)
2971 ;; There must be a running X server and make check doesn't start one.
2972 ;; Therefore we must do it.
2973 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2974 ;; Mentioned as Required by the .pc file
2975 (propagated-inputs `(("libxml2" ,libxml2)))
2976 (inputs
2977 `(("popt" ,popt)
2978 ("pangox-compat" ,pangox-compat)
2979 ("libgnome" ,libgnome)
2980 ("libgnomecanvas" ,libgnomecanvas)
2981 ("libglade" ,libglade)))
2982 (native-inputs
2983 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2984 ("intltool" ,intltool)
2985 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2986 ("pkg-config" ,pkg-config)))
2987 (home-page "https://developer.gnome.org/libbonoboui/")
2988 (synopsis "Some user interface controls using Bonobo")
2989 (description "The Bonobo UI library provides a number of user interface
2990 controls using the Bonobo component framework.")
2991 (license license:lgpl2.0+)))
2992
2993 (define-public libwnck
2994 (package
2995 (name "libwnck")
2996 (version "3.32.0")
2997 (source (origin
2998 (method url-fetch)
2999 (uri (string-append "mirror://gnome/sources/" name "/"
3000 (version-major+minor version) "/"
3001 name "-" version ".tar.xz"))
3002 (sha256
3003 (base32
3004 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3005 (build-system meson-build-system)
3006 (native-inputs
3007 `(("pkg-config" ,pkg-config)
3008 ("glib" ,glib "bin") ; for glib-mkenums
3009 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
3010 ("intltool" ,intltool)))
3011 (propagated-inputs
3012 `(("gtk+" ,gtk+)
3013 ("libxres" ,libxres)
3014 ("startup-notification" ,startup-notification)))
3015 (home-page "https://developer.gnome.org/libwnck/")
3016 (synopsis "Window Navigator Construction Kit")
3017 (description
3018 "Libwnck is the Window Navigator Construction Kit, a library for use in
3019 writing pagers, tasklists, and more generally applications that are dealing
3020 with window management. It tries hard to respect the Extended Window Manager
3021 Hints specification (EWMH).")
3022 (license license:lgpl2.0+)))
3023
3024 ;; stable version for gtk2, required by xfwm4.
3025 (define-public libwnck-2
3026 (package (inherit libwnck)
3027 (name "libwnck")
3028 (version "2.30.7")
3029 (source (origin
3030 (method url-fetch)
3031 (uri (string-append "mirror://gnome/sources/" name "/"
3032 (version-major+minor version) "/"
3033 name "-" version ".tar.xz"))
3034 (sha256
3035 (base32
3036 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
3037 (build-system gnu-build-system)
3038 (native-inputs
3039 `(("pkg-config" ,pkg-config)
3040 ("intltool" ,intltool)))
3041 (propagated-inputs
3042 `(("gtk+" ,gtk+-2)
3043 ("libxres" ,libxres)
3044 ("startup-notification" ,startup-notification)))))
3045
3046 (define-public goffice
3047 (package
3048 (name "goffice")
3049 (version "0.10.46")
3050 (source (origin
3051 (method url-fetch)
3052 (uri (string-append "mirror://gnome/sources/goffice/"
3053 (version-major+minor version) "/"
3054 "goffice-" version ".tar.xz"))
3055 (sha256
3056 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
3057 (build-system gnu-build-system)
3058 (outputs '("out"
3059 "doc")) ; 4.0 MiB of gtk-doc
3060 (arguments
3061 '(#:configure-flags (list (string-append "--with-html-dir="
3062 (assoc-ref %outputs "doc")
3063 "/share/gtk-doc/html"))))
3064 (inputs
3065 `(("gtk+" ,gtk+)
3066 ("libgsf" ,libgsf)
3067 ("librsvg" ,librsvg)
3068 ("libxslt" ,libxslt)
3069 ("libxml2" ,libxml2)))
3070 (native-inputs
3071 `(("intltool" ,intltool)
3072 ("glib" ,glib "bin")
3073 ("pkg-config" ,pkg-config)))
3074 (home-page "https://developer.gnome.org/goffice/")
3075 (synopsis "Document-centric objects and utilities")
3076 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3077 (license
3078 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3079 ;; Note: NOT LGPL
3080 (list license:gpl2 license:gpl3))))
3081
3082 (define-public goffice-0.8
3083 (package (inherit goffice)
3084 (version "0.8.17")
3085 (source (origin
3086 (method url-fetch)
3087 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3088 (version-major+minor version) "/"
3089 (package-name goffice) "-" version ".tar.xz"))
3090 (sha256
3091 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3092 (arguments
3093 `(#:phases
3094 (modify-phases %standard-phases
3095 (add-after 'unpack 'fix-pcre-check
3096 (lambda _
3097 ;; Only glib.h can be included directly. See
3098 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3099 (substitute* "configure"
3100 (("glib/gregex\\.h") "glib.h")) #t)))
3101
3102 ,@(package-arguments goffice)))
3103 (propagated-inputs
3104 ;; libgoffice-0.8.pc mentions libgsf-1
3105 `(("libgsf" ,libgsf)))
3106 (inputs
3107 `(("gtk" ,gtk+-2)
3108 ,@(alist-delete "gtk" (package-inputs goffice))))))
3109
3110 (define-public gnumeric
3111 (package
3112 (name "gnumeric")
3113 (version "1.12.46")
3114 (source (origin
3115 (method url-fetch)
3116 (uri (string-append "mirror://gnome/sources/gnumeric/"
3117 (version-major+minor version) "/"
3118 "gnumeric-" version ".tar.xz"))
3119 (sha256
3120 (base32
3121 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3122 (build-system glib-or-gtk-build-system)
3123 (arguments
3124 `(;; The gnumeric developers don't worry much about failing tests.
3125 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3126 #:tests? #f
3127 #:phases
3128 (modify-phases %standard-phases
3129 (add-before
3130 'configure 'pre-conf
3131 (lambda* (#:key outputs #:allow-other-keys)
3132 ;; Make install tries to write into the directory of goffice
3133 ;; I am informed that this only affects the possibility to embed a
3134 ;; spreadsheet inside an Abiword document. So presumably when we
3135 ;; package Abiword we'll have to refer it to this directory.
3136 (substitute* "configure"
3137 (("^GOFFICE_PLUGINS_DIR=.*")
3138 (string-append "GOFFICE_PLUGINS_DIR="
3139 (assoc-ref outputs "out")
3140 "/goffice/plugins"))))))))
3141 (inputs
3142 `(("glib" ,glib)
3143 ("gtk+" ,gtk+)
3144 ("goffice" ,goffice)
3145 ("libgsf" ,libgsf)
3146 ("librsvg" ,librsvg)
3147 ("libxml2" ,libxml2)
3148 ("libxslt" ,libxslt)
3149 ("python" ,python-2)
3150 ("python2-pygobject" ,python2-pygobject)
3151 ("zlib" ,zlib)))
3152 (native-inputs
3153 `(("bison" ,bison)
3154 ("docbook-xml" ,docbook-xml)
3155 ("intltool" ,intltool)
3156 ("itstool" ,itstool)
3157 ("glib:bin" ,glib "bin")
3158 ("pkg-config" ,pkg-config)))
3159 (home-page "http://www.gnumeric.org")
3160 (synopsis "Spreadsheet application")
3161 (description
3162 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3163 interoperable with other spreadsheet applications. It has a vast array of
3164 features beyond typical spreadsheet functionality, such as support for linear
3165 and non-linear solvers, statistical analysis, and telecommunication
3166 engineering.")
3167 (license
3168 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3169 (list license:gpl2 license:gpl3))))
3170
3171 (define-public gnome-themes-standard
3172 (package
3173 (name "gnome-themes-standard")
3174 (version "3.22.3")
3175 (source
3176 (origin
3177 (method url-fetch)
3178 (uri (string-append "mirror://gnome/sources/" name "/"
3179 (version-major+minor version) "/" name "-"
3180 version ".tar.xz"))
3181 (sha256
3182 (base32
3183 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3184 (build-system gnu-build-system)
3185 (arguments
3186 '(#:configure-flags
3187 ;; Don't create 'icon-theme.cache'.
3188 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3189 (true (string-append coreutils "/bin/true")))
3190 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3191 (inputs
3192 `(("gtk+" ,gtk+)
3193 ("gtk+-2" ,gtk+-2)
3194 ("librsvg" ,librsvg)
3195 ("libxml2" ,libxml2)
3196 ("glib" ,glib)))
3197 (native-inputs
3198 `(("intltool" ,intltool)
3199 ("glib:bin" ,glib "bin")
3200 ("pkg-config" ,pkg-config)))
3201 (home-page "https://launchpad.net/gnome-themes-standard")
3202 (synopsis "Default GNOME 3 themes")
3203 (description
3204 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3205 (license license:lgpl2.1+)))
3206
3207 (define-public seahorse
3208 (package
3209 (name "seahorse")
3210 (version "3.34")
3211 (source
3212 (origin
3213 (method url-fetch)
3214 (uri (string-append "mirror://gnome/sources/" name "/"
3215 (version-major+minor version) "/" name "-"
3216 version ".tar.xz"))
3217 (sha256
3218 (base32
3219 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3220 (build-system meson-build-system)
3221 (arguments
3222 '(#:glib-or-gtk? #t
3223 #:phases
3224 (modify-phases %standard-phases
3225 (add-after 'unpack 'skip-gtk-update-icon-cache
3226 ;; Don't create 'icon-theme.cache'.
3227 (lambda _
3228 (substitute* "build-aux/meson_post_install.py"
3229 (("gtk-update-icon-cache") "true"))
3230 #t)))))
3231 (inputs
3232 `(("gtk+" ,gtk+)
3233 ("gcr" ,gcr)
3234 ("gnupg" ,gnupg)
3235 ("gpgme" ,gpgme)
3236 ("openldap" ,openldap)
3237 ("openssh" ,openssh)
3238 ("avahi" ,avahi)
3239 ("libpwquality" ,libpwquality)
3240 ("libsecret" ,libsecret)
3241 ("libsoup" ,libsoup)))
3242 (native-inputs
3243 `(("gettext" ,gettext-minimal)
3244 ("glib:bin" ,glib "bin")
3245 ("itstool" ,itstool)
3246 ("pkg-config" ,pkg-config)
3247 ("vala" ,vala)
3248 ("xmllint" ,libxml2)))
3249 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3250 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3251 (description
3252 "Seahorse is a GNOME application for managing encryption keys and
3253 passwords in the GNOME keyring.")
3254 (license license:gpl2+)))
3255
3256 (define-public vala
3257 (package
3258 (name "vala")
3259 (version "0.46.5")
3260 (source (origin
3261 (method url-fetch)
3262 (uri (string-append "mirror://gnome/sources/" name "/"
3263 (version-major+minor version) "/"
3264 name "-" version ".tar.xz"))
3265 (sha256
3266 (base32
3267 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3268 (build-system gnu-build-system)
3269 (arguments
3270 '(#:phases
3271 (modify-phases %standard-phases
3272 (add-before 'check 'pre-check
3273 (lambda _
3274 (setenv "CC" "gcc")
3275 (substitute* "valadoc/tests/testrunner.sh"
3276 (("export PKG_CONFIG_PATH=" m)
3277 (string-append m "$PKG_CONFIG_PATH:")))
3278 ;; For missing '/etc/machine-id'.
3279 (setenv "DBUS_FATAL_WARNINGS" "0")
3280 #t)))))
3281 (native-inputs
3282 `(("pkg-config" ,pkg-config)
3283 ("flex" ,flex)
3284 ("bison" ,bison)
3285 ("xsltproc" ,libxslt)
3286 ("dbus" ,dbus) ; for dbus tests
3287 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3288 (inputs
3289 `(("graphviz" ,graphviz)))
3290 (propagated-inputs
3291 `(("glib" ,glib))) ; required by libvala-0.40.pc
3292 (home-page "https://live.gnome.org/Vala/")
3293 (synopsis "Compiler for the GObject type system")
3294 (description
3295 "Vala is a programming language that aims to bring modern programming
3296 language features to GNOME developers without imposing any additional runtime
3297 requirements and without using a different ABI compared to applications and
3298 libraries written in C.")
3299 (license license:lgpl2.1+)))
3300
3301 (define-public vala-0.48
3302 (package
3303 (inherit vala)
3304 (version "0.48.6")
3305 (source (origin
3306 (method url-fetch)
3307 (uri (string-append "mirror://gnome/sources/vala/"
3308 (version-major+minor version) "/"
3309 "vala-" version ".tar.xz"))
3310 (sha256
3311 (base32
3312 "01wppzgacdmp8dgf8047myz1any2yffmrhgl8kqf1q0c0gnhi3fi"))))))
3313
3314 (define-public vte
3315 (package
3316 (name "vte")
3317 (version "0.60.3")
3318 (source (origin
3319 (method url-fetch)
3320 (uri (string-append "mirror://gnome/sources/vte/"
3321 (version-major+minor version) "/"
3322 "vte-" version ".tar.xz"))
3323 (sha256
3324 (base32
3325 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
3326 (build-system meson-build-system)
3327 (arguments
3328 `(#:configure-flags
3329 '("-Dvapi=true"
3330 "-D_systemd=false")))
3331 (native-inputs
3332 `(("pkg-config" ,pkg-config)
3333 ("gettext" ,gettext-minimal)
3334 ("vala" ,vala)
3335 ("gobject-introspection" ,gobject-introspection)
3336 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3337 ("gperf" ,gperf)
3338 ("xmllint" ,libxml2)))
3339 (propagated-inputs
3340 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3341 ("gnutls" ,gnutls) ; ditto
3342 ("pcre2" ,pcre2))) ; ditto
3343 (home-page "https://www.gnome.org/")
3344 (synopsis "Virtual Terminal Emulator")
3345 (description
3346 "VTE is a library (libvte) implementing a terminal emulator widget for
3347 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3348 gnome-terminal, but can also be used to embed a console/terminal in games,
3349 editors, IDEs, etc.")
3350 (license license:lgpl2.1+)))
3351
3352 (define-public vte-ng
3353 (package
3354 (inherit vte)
3355 (name "vte-ng")
3356 (version "0.58.2.a")
3357 (home-page "https://github.com/thestinger/vte-ng")
3358 (source (origin
3359 (method git-fetch)
3360 (uri (git-reference (url home-page) (commit version)))
3361 (file-name (git-file-name name version))
3362 (sha256
3363 (base32
3364 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3365 (build-system meson-build-system)
3366 (native-inputs
3367 `(("gtk-doc" ,gtk-doc)
3368 ,@(package-native-inputs vte)))
3369 (arguments
3370 `(#:configure-flags '("-Ddocs=true")))
3371 (synopsis "Enhanced VTE terminal widget")
3372 (description
3373 "VTE is a library (libvte) implementing a terminal emulator widget for
3374 GTK+, this fork provides additional functions exposed for keyboard text
3375 selection and URL hints.")))
3376
3377 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
3378 (define-public vte/gtk+-2
3379 (package (inherit vte)
3380 (name "vte")
3381 (version "0.28.2")
3382 (source (origin
3383 (method url-fetch)
3384 (uri (string-append "mirror://gnome/sources/" name "/"
3385 (version-major+minor version) "/"
3386 name "-" version ".tar.xz"))
3387 (sha256
3388 (base32
3389 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3390 (patches (search-patches
3391 "vte-CVE-2012-2738-pt1.patch"
3392 "vte-CVE-2012-2738-pt2.patch"))))
3393 (build-system gnu-build-system)
3394 (arguments
3395 '(#:configure-flags '("--disable-python")))
3396 (native-inputs
3397 `(("pkg-config" ,pkg-config)
3398 ("intltool" ,intltool)
3399 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3400 (propagated-inputs
3401 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3402 ("ncurses" ,ncurses))))) ; required by libvte.la
3403
3404 (define-public vinagre
3405 (package
3406 (name "vinagre")
3407 (version "3.22.0")
3408 (source (origin
3409 (method url-fetch)
3410 (uri (string-append "mirror://gnome/sources/" name "/"
3411 (version-major+minor version) "/"
3412 name "-" version ".tar.xz"))
3413 (patches (search-patches "vinagre-newer-freerdp.patch"
3414 "vinagre-newer-rdp-parameters.patch"))
3415 (sha256
3416 (base32
3417 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3418 (build-system glib-or-gtk-build-system)
3419 (arguments
3420 ;; Disable -Werror and such, to avoid build failures on compilation
3421 ;; warnings.
3422 '(#:configure-flags '("--enable-compile-warnings=minimum")
3423 #:phases
3424 (modify-phases %standard-phases
3425 (add-before 'install 'skip-gtk-update-icon-cache
3426 (lambda _
3427 ;; Don't create 'icon-theme.cache'
3428 (substitute* (find-files "." "^Makefile$")
3429 (("gtk-update-icon-cache") (which "true")))
3430 #t))
3431 (add-after 'unpack 'patch-configure
3432 (lambda _
3433 (substitute* "configure"
3434 (("freerdp") "freerdp2"))
3435 #t)))))
3436 (native-inputs
3437 `(("pkg-config" ,pkg-config)
3438 ("intltool" ,intltool)
3439 ("itstool" ,itstool)
3440 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3441 (inputs
3442 `(("libxml2" ,libxml2)
3443 ("gtk-vnc" ,gtk-vnc)
3444 ("gnome-keyring" ,gnome-keyring)
3445 ("libsecret" ,libsecret)
3446 ("freerdp" ,freerdp)
3447 ("spice" ,spice)
3448 ("spice-gtk" ,spice-gtk)
3449 ("telepathy-glib" ,telepathy-glib)
3450 ("vte" ,vte)))
3451 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3452 (synopsis "Remote desktop viewer for GNOME")
3453 (description "Vinagre is a remote display client supporting the VNC, SPICE
3454 and RDP protocols.")
3455 (license license:gpl3+)))
3456
3457 (define-public dconf
3458 (package
3459 (name "dconf")
3460 (version "0.34.0")
3461 (source (origin
3462 (method url-fetch)
3463 (uri (string-append
3464 "mirror://gnome/sources/" name "/"
3465 (version-major+minor version) "/"
3466 name "-" version ".tar.xz"))
3467 (patches (search-patches "dconf-meson-0.52.patch"))
3468 (sha256
3469 (base32
3470 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3471 (build-system meson-build-system)
3472 (propagated-inputs
3473 ;; In Requires of dconf.pc.
3474 `(("glib" ,glib)))
3475 (inputs
3476 `(("gtk+" ,gtk+)
3477 ("dbus" ,dbus)))
3478 (native-inputs
3479 `(("bash-completion" ,bash-completion)
3480 ("libxslt" ,libxslt) ;for xsltproc
3481 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3482 ("docbook-xml" ,docbook-xml-4.2)
3483 ("docbook-xsl" ,docbook-xsl)
3484 ("glib:bin" ,glib "bin")
3485 ("gtk-doc" ,gtk-doc)
3486 ("pkg-config" ,pkg-config)
3487 ("vala" ,vala)))
3488 (arguments
3489 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3490 ; or /etc/machine-id.
3491 #:glib-or-gtk? #t
3492 #:configure-flags '("-Denable-gtk-doc=true")))
3493 (home-page "https://developer.gnome.org/dconf/")
3494 (synopsis "Low-level GNOME configuration system")
3495 (description "Dconf is a low-level configuration system. Its main purpose
3496 is to provide a backend to GSettings on platforms that don't already have
3497 configuration storage systems.")
3498 (license license:lgpl2.1+)))
3499
3500 (define-public json-glib
3501 (package
3502 (name "json-glib")
3503 (version "1.4.4")
3504 (source (origin
3505 (method url-fetch)
3506 (uri (string-append "mirror://gnome/sources/" name "/"
3507 (version-major+minor version) "/"
3508 name "-" version ".tar.xz"))
3509 (sha256
3510 (base32
3511 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3512 (build-system meson-build-system)
3513 (native-inputs
3514 `(("gettext" ,gettext-minimal)
3515 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3516 ("gobject-introspection" ,gobject-introspection)
3517 ("pkg-config" ,pkg-config)))
3518 (propagated-inputs
3519 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3520 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3521 (synopsis "Compiler for the GObject type system")
3522 (description
3523 "JSON-GLib is a C library based on GLib providing serialization and
3524 deserialization support for the JavaScript Object Notation (JSON) format
3525 described by RFC 4627. It provides parser and generator GObject classes and
3526 various wrappers for the complex data types employed by JSON, such as arrays
3527 and objects.")
3528 (license license:lgpl2.1+)))
3529
3530 (define-public libxklavier
3531 (package
3532 (name "libxklavier")
3533 (version "5.4")
3534 (source (origin
3535 ;; Note: There's no tarball at ftp.gnome.org for this version.
3536 (method git-fetch)
3537 (uri (git-reference
3538 (url "https://anongit.freedesktop.org/git/libxklavier")
3539 (commit (string-append "libxklavier-" version))))
3540 (sha256
3541 (base32
3542 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3543 (file-name (git-file-name name version))))
3544 (build-system gnu-build-system)
3545 (arguments
3546 '(#:configure-flags
3547 (list (string-append "--with-xkb-base="
3548 (assoc-ref %build-inputs "xkeyboard-config")
3549 "/share/X11/xkb")
3550 "--disable-xmodmap-support")))
3551 (native-inputs
3552 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3553 ("gobject-introspection" ,gobject-introspection)
3554 ("pkg-config" ,pkg-config)
3555 ("gtk-doc" ,gtk-doc)
3556 ("intltool" ,intltool)
3557 ("which" ,which)
3558 ("autoconf" ,autoconf)
3559 ("automake" ,automake)
3560 ("libtool" ,libtool)))
3561 (propagated-inputs
3562 ;; Required by libxklavier.pc.
3563 `(("glib" ,glib)
3564 ("libxml2" ,libxml2)))
3565 (inputs
3566 `(("iso-codes" ,iso-codes)
3567 ("libxi" ,libxi)
3568 ("libxkbfile" ,libxkbfile)
3569 ("xkbcomp" ,xkbcomp)
3570 ("xkeyboard-config" ,xkeyboard-config)))
3571 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3572 (synopsis "High-level API for X Keyboard Extension")
3573 (description
3574 "LibXklavier is a library providing high-level API for X Keyboard
3575 Extension known as XKB. This library is intended to support XFree86 and other
3576 commercial X servers. It is useful for creating XKB-related software (layout
3577 indicators etc).")
3578 (license license:lgpl2.0+)))
3579
3580 (define-public python2-rsvg
3581 ;; XXX: This is actually a subset of gnome-python-desktop.
3582 (package
3583 (name "python2-rsvg")
3584 (version "2.32.0")
3585 (source
3586 (origin
3587 (method url-fetch)
3588 (uri (string-append
3589 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3590 version ".tar.bz2"))
3591 (sha256
3592 (base32
3593 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3594 (build-system gnu-build-system)
3595 (native-inputs
3596 `(("pkg-config" ,pkg-config)))
3597 (inputs
3598 `(("python" ,python-2)
3599 ("python2-pygtk" ,python2-pygtk)
3600 ("librsvg" ,librsvg)))
3601 (home-page "https://www.gnome.org")
3602 (synopsis "Python bindings to librsvg")
3603 (description
3604 "This package provides Python bindings to librsvg, the SVG rendering
3605 library.")
3606
3607 ;; This is the license of the rsvg bindings. The license of each module
3608 ;; of gnome-python-desktop is given in 'COPYING'.
3609 (license license:lgpl2.1+)))
3610
3611 (define-public glib-networking
3612 (package
3613 (name "glib-networking")
3614 (version "2.62.2")
3615 (source (origin
3616 (method url-fetch)
3617 (uri (string-append "mirror://gnome/sources/glib-networking/"
3618 (version-major+minor version) "/"
3619 "glib-networking-" version ".tar.xz"))
3620 (sha256
3621 (base32
3622 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3623 (build-system meson-build-system)
3624 (arguments
3625 `(#:configure-flags '("-Dlibproxy_support=false")))
3626 (native-inputs
3627 `(("pkg-config" ,pkg-config)
3628 ("intltool" ,intltool)))
3629 (inputs
3630 `(("glib" ,glib)
3631 ("gnutls" ,gnutls)
3632 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3633 (home-page "https://www.gnome.org")
3634 (synopsis "Network-related GIO modules")
3635 (description
3636 "This package contains various network related extensions for the GIO
3637 library.")
3638 (license license:lgpl2.0+)))
3639
3640 (define-public rest
3641 (package
3642 (name "rest")
3643 (version "0.8.1")
3644 (source (origin
3645 (method url-fetch)
3646 (uri (string-append "mirror://gnome/sources/rest/"
3647 (version-major+minor version) "/"
3648 name "-" version ".tar.xz"))
3649 (sha256
3650 (base32
3651 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3652 (build-system gnu-build-system)
3653 (arguments
3654 '(#:tests? #f ; tests require internet connection
3655 #:configure-flags
3656 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3657 (native-inputs
3658 `(("glib-mkenums" ,glib "bin")
3659 ("gobject-introspection" ,gobject-introspection)
3660 ("pkg-config" ,pkg-config)))
3661 (propagated-inputs
3662 ;; rest-0.7.pc refers to all these.
3663 `(("glib" ,glib)
3664 ("libsoup" ,libsoup)
3665 ("libxml2" ,libxml2)))
3666 (home-page "https://www.gtk.org/")
3667 (synopsis "RESTful web api query library")
3668 (description
3669 "This library was designed to make it easier to access web services that
3670 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3671 libxml to ease remote use of the RESTful API.")
3672 (license license:lgpl2.1+)))
3673
3674 (define-public libsoup
3675 (package
3676 (name "libsoup")
3677 (version "2.70.0")
3678 (source (origin
3679 (method url-fetch)
3680 (uri (string-append "mirror://gnome/sources/libsoup/"
3681 (version-major+minor version) "/"
3682 "libsoup-" version ".tar.xz"))
3683 (sha256
3684 (base32
3685 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3686 (build-system meson-build-system)
3687 (outputs '("out" "doc"))
3688 (arguments
3689 `(#:modules ((guix build utils)
3690 (guix build meson-build-system)
3691 (ice-9 popen))
3692
3693 #:configure-flags '("-Dgtk_doc=true")
3694 #:phases
3695 (modify-phases %standard-phases
3696 (add-after 'unpack 'adjust-tests
3697 (lambda _
3698 ;; This test fails due to missing /etc/nsswitch.conf
3699 ;; in the build environment.
3700 (substitute* "tests/socket-test.c"
3701 ((".*/sockets/unconnected.*") ""))
3702
3703 ;; These fail because "subdomain.localhost" does not resolve in
3704 ;; the build environment.
3705 (substitute* "tests/hsts-test.c"
3706 ((".*/hsts/basic.*") "")
3707 ((".*/hsts/subdomains.*") "")
3708 ((".*/hsts/superdomain.*") "")
3709 ((".*/hsts/utf8-address.*") ""))
3710 (substitute* "tests/hsts-db-test.c"
3711 ((".*/hsts-db/subdomains.*") ""))
3712
3713 ;; Generate a self-signed certificate that has "localhost" as its
3714 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3715 ;; 3.5.12, tests such as "ssl-tests" fail:
3716 ;;
3717 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3718 ;;
3719 ;; 'certtool' is interactive so we have to pipe it the answers.
3720 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3721 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3722 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3723 (for-each (lambda (line)
3724 (display line pipe)
3725 (newline pipe))
3726 '("" ;Common name
3727 "" ;UID
3728 "Guix" ;Organizational unit name
3729 "GNU" ;Organization name
3730 "" ;Locality name
3731 "" ;State or province
3732 "" ;Country
3733 "" ;subject's domain component (DC)
3734 "" ;E-mail
3735 "" ;serial number
3736 "-1" ;expiration time
3737 "N" ;belong to authority?
3738 "N" ;web client certificate?
3739 "N" ;IPsec IKE?
3740 "Y" ;web server certificate?
3741 "localhost" ;dnsName of subject
3742 "" ;dnsName of subject (end)
3743 "" ;URI of subject
3744 "127.0.0.1" ;IP address of subject
3745 "" ;signing?
3746 "" ;encryption (RSA)?
3747 "" ;data encryption?
3748 "" ;sign OCSP requests?
3749 "" ;sign code?
3750 "" ;time stamping?
3751 "" ;email protection?
3752 "" ;URI of the CRL distribution point
3753 "y" ;above info OK?
3754 ))
3755 (close-pipe pipe))
3756 #t))
3757 (add-after 'install 'move-doc
3758 (lambda* (#:key outputs #:allow-other-keys)
3759 (let ((out (assoc-ref outputs "out"))
3760 (doc (assoc-ref outputs "doc")))
3761 (mkdir-p (string-append doc "/share"))
3762 (copy-recursively (string-append out "/share/gtk-doc")
3763 (string-append doc "/share/gtk-doc"))
3764 (delete-file-recursively (string-append out "/share/gtk-doc"))
3765 #t))))))
3766 (native-inputs
3767 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3768 ("gobject-introspection" ,gobject-introspection)
3769 ("gtk-doc" ,gtk-doc)
3770 ("intltool" ,intltool)
3771 ("pkg-config" ,pkg-config)
3772 ("python" ,python-wrapper)
3773 ("vala" ,vala)
3774 ("php" ,php)
3775 ("curl" ,curl)
3776 ("gnutls" ,gnutls) ;for 'certtool'
3777 ("httpd" ,httpd)))
3778 (propagated-inputs
3779 ;; libsoup-2.4.pc refers to all these.
3780 `(("brotli" ,google-brotli)
3781 ("glib" ,glib)
3782 ("libpsl" ,libpsl)
3783 ("libxml2" ,libxml2)
3784 ("sqlite" ,sqlite)
3785 ("zlib" ,zlib)))
3786 (inputs
3787 `(("glib-networking" ,glib-networking)
3788 ("mit-krb5" ,mit-krb5)))
3789 (home-page "https://live.gnome.org/LibSoup/")
3790 (synopsis "GLib-based HTTP Library")
3791 (description
3792 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3793 and the GLib main loop, to integrate well with GNOME applications.")
3794 (license license:lgpl2.0+)))
3795
3796
3797 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
3798 (define-public libsoup-minimal
3799 (package
3800 (inherit libsoup)
3801 (name "libsoup-minimal")
3802 (outputs (delete "doc" (package-outputs libsoup)))
3803 (arguments
3804 (substitute-keyword-arguments (package-arguments libsoup)
3805 ((#:configure-flags configure-flags)
3806 `(delete "-Dgtk_doc=true" ,configure-flags))
3807 ((#:phases phases)
3808 `(modify-phases ,phases
3809 (delete 'move-doc)))))
3810 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
3811
3812 (define-public libsecret
3813 (package
3814 (name "libsecret")
3815 (version "0.20.3")
3816 (source (origin
3817 (method url-fetch)
3818 (uri (string-append
3819 "mirror://gnome/sources/libsecret/"
3820 (version-major+minor version) "/"
3821 "libsecret-" version ".tar.xz"))
3822 (sha256
3823 (base32
3824 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
3825 (build-system gnu-build-system)
3826 (outputs '("out" "doc"))
3827 (arguments
3828 `(#:tests? #f ; FIXME: Testing hangs.
3829 #:configure-flags
3830 (list (string-append "--with-html-dir="
3831 (assoc-ref %outputs "doc")
3832 "/share/gtk-doc/html"))))
3833 (native-inputs
3834 `(("gettext" ,gettext-minimal)
3835 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3836 ("gobject-introspection" ,gobject-introspection)
3837 ("pkg-config" ,pkg-config)
3838 ("vala" ,vala)
3839 ("xsltproc" ,libxslt)))
3840 ;; These are needed for the tests.
3841 ;; FIXME: Add gjs once available.
3842 ;("dbus" ,dbus)
3843 ;("python2" ,python-2)
3844 ;("python2-dbus" ,python2-dbus)
3845 ;("python2-pygobject" ,python2-pygobject)
3846 ;("python2-pygobject-2" ,python2-pygobject-2)))
3847 (propagated-inputs
3848 `(("glib" ,glib))) ; required by libsecret-1.pc
3849 (inputs
3850 `(("docbook-xsl" ,docbook-xsl)
3851 ("libgcrypt" ,libgcrypt)
3852 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3853 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3854 (synopsis "GObject bindings for \"Secret Service\" API")
3855 (description
3856 "Libsecret is a GObject based library for storing and retrieving passwords
3857 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3858 (license license:lgpl2.1+)))
3859
3860 (define-public five-or-more
3861 (package
3862 (name "five-or-more")
3863 (version "3.32.2")
3864 (source
3865 (origin
3866 (method url-fetch)
3867 (uri (string-append "mirror://gnome/sources/five-or-more/"
3868 (version-major+minor version) "/"
3869 "five-or-more-" version ".tar.xz"))
3870 (sha256
3871 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
3872 (build-system meson-build-system)
3873 (arguments
3874 '(#:glib-or-gtk? #t
3875 #:phases
3876 (modify-phases %standard-phases
3877 (add-after 'unpack 'skip-gtk-update-icon-cache
3878 (lambda _
3879 (substitute* "meson_post_install.py"
3880 (("gtk-update-icon-cache") (which "true")))
3881 #t)))))
3882 (native-inputs
3883 `(("pkg-config" ,pkg-config)
3884 ("appstream-glib" ,appstream-glib)
3885 ("desktop-file-utils" ,desktop-file-utils)
3886 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3887 ("intltool" ,intltool)
3888 ("itstool" ,itstool)
3889 ("vala" ,vala)
3890 ("xmllint" ,libxml2)))
3891 (inputs
3892 `(("gtk+" ,gtk+)
3893 ("libgnome-games-support" ,libgnome-games-support)
3894 ("librsvg" ,librsvg)))
3895 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3896 (synopsis "Logic puzzle game")
3897 (description "Five or More is a game where you try to align
3898 five or more objects of the same color and shape causing them to disappear.
3899 On every turn more objects will appear, until the board is full.
3900 Try to last as long as possible.")
3901 (license license:gpl2+)))
3902
3903 (define-public gnome-mines
3904 (package
3905 (name "gnome-mines")
3906 (version "3.34.0")
3907 (source
3908 (origin
3909 (method url-fetch)
3910 (uri (string-append "mirror://gnome/sources/" name "/"
3911 (version-major+minor version) "/"
3912 name "-" version ".tar.xz"))
3913 (sha256
3914 (base32
3915 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
3916 (build-system meson-build-system)
3917 (arguments
3918 '(#:glib-or-gtk? #t
3919 #:phases
3920 (modify-phases %standard-phases
3921 (add-after 'unpack 'skip-gtk-update-icon-cache
3922 (lambda _
3923 (substitute* "build-aux/meson_post_install.py"
3924 (("gtk-update-icon-cache") (which "true")))
3925 #t)))))
3926 (native-inputs
3927 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3928 ("pkg-config" ,pkg-config)
3929 ("desktop-file-utils" ,desktop-file-utils)
3930 ("intltool" ,intltool)
3931 ("itstool" ,itstool)
3932 ("vala" ,vala)
3933 ("yelp" ,yelp)
3934 ("appstream-glib" ,appstream-glib)))
3935 (inputs
3936 `(("gtk+" ,gtk+)
3937 ("libgnome-games-support" ,libgnome-games-support)
3938 ("librsvg" ,librsvg)))
3939 (home-page "https://wiki.gnome.org/Apps/Mines")
3940 (synopsis "Minesweeper game")
3941 (description
3942 "Mines (previously gnomine) is a puzzle game where you locate mines
3943 floating in an ocean using only your brain and a little bit of luck.")
3944 (license license:gpl2+)))
3945
3946 (define-public gnome-multi-writer
3947 (package
3948 (name "gnome-multi-writer")
3949 (version "3.35.90")
3950 (source
3951 (origin
3952 (method url-fetch)
3953 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
3954 (version-major+minor version) "/"
3955 "gnome-multi-writer-" version ".tar.xz"))
3956 (sha256
3957 (base32
3958 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
3959 (build-system meson-build-system)
3960 (arguments
3961 '(#:glib-or-gtk? #t
3962 #:phases
3963 (modify-phases %standard-phases
3964 (add-after 'unpack 'skip-post-install
3965 (lambda _
3966 (substitute* "meson.build"
3967 (("meson.add_install_script" &) (string-append "# " &)))
3968 #t)))))
3969 (native-inputs
3970 `(("glib:bin" ,glib "bin")
3971 ("pkg-config" ,pkg-config)))
3972 (inputs
3973 `(("gtk+" ,gtk+)
3974 ("glib" ,glib) ; for gio
3975 ("gusb" ,gusb)
3976 ("udisks" ,udisks)
3977 ("libgudev" ,libgudev)
3978 ("libcanberra" ,libcanberra)
3979 ("polkit" ,polkit)))
3980 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
3981 (synopsis "Write to multiple USB devices at once")
3982 (description
3983 "MultiWriter can be used to write an ISO file to multiple USB devices at
3984 once.")
3985 (license license:gpl2+)))
3986
3987 (define-public gnome-sudoku
3988 (package
3989 (name "gnome-sudoku")
3990 (version "3.34.1")
3991 (source
3992 (origin
3993 (method url-fetch)
3994 (uri (string-append "mirror://gnome/sources/" name "/"
3995 (version-major+minor version) "/"
3996 name "-" version ".tar.xz"))
3997 (sha256
3998 (base32
3999 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
4000 (build-system meson-build-system)
4001 (arguments
4002 '(#:glib-or-gtk? #t
4003 #:phases
4004 (modify-phases %standard-phases
4005 (add-after 'unpack 'skip-gtk-update-icon-cache
4006 (lambda _
4007 (substitute* "build-aux/post_install.py"
4008 (("gtk-update-icon-cache") (which "true")))
4009 #t)))))
4010 (native-inputs
4011 `(("pkg-config" ,pkg-config)
4012 ("desktop-file-utils" ,desktop-file-utils)
4013 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4014 ("intltool" ,intltool)
4015 ("itstool" ,itstool)
4016 ("vala" ,vala)
4017 ("xmllint" ,libxml2)))
4018 (inputs
4019 `(("gtk+" ,gtk+)
4020 ("json-glib" ,json-glib)
4021 ("libgee" ,libgee)
4022 ("librsvg" ,librsvg)
4023 ("qqwing" ,qqwing)))
4024 (home-page "https://wiki.gnome.org/Apps/Sudoku")
4025 (synopsis "Japanese logic game")
4026 (description
4027 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
4028 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
4029 possible while still providing features that make playing difficult Sudoku
4030 more fun.")
4031 (license license:gpl2+)))
4032
4033 (define-public gnome-terminal
4034 (package
4035 (name "gnome-terminal")
4036 (version "3.34.2")
4037 (source
4038 (origin
4039 (method url-fetch)
4040 (uri (string-append "mirror://gnome/sources/" name "/"
4041 (version-major+minor version) "/"
4042 name "-" version ".tar.xz"))
4043 (sha256
4044 (base32
4045 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
4046 (build-system glib-or-gtk-build-system)
4047 (arguments
4048 '(#:configure-flags
4049 (list "--disable-migration" "--disable-search-provider"
4050 "--without-nautilus-extension")
4051 #:phases
4052 (modify-phases %standard-phases
4053 (add-before 'configure 'patch-/bin/true
4054 (lambda _
4055 (substitute* "configure"
4056 (("/bin/true") (which "true"))))))))
4057 (native-inputs
4058 `(("pkg-config" ,pkg-config)
4059 ("desktop-file-utils" ,desktop-file-utils)
4060 ("intltool" ,intltool)
4061 ("itstool" ,itstool)
4062 ("xmllint" ,libxml2)))
4063 (propagated-inputs
4064 `(("dconf" ,dconf)))
4065 (inputs
4066 `(("gtk+" ,gtk+)
4067 ("vte" ,vte)
4068 ("gnutls" ,gnutls)
4069 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4070 ("util-linux" ,util-linux "lib")
4071 ("vala" ,vala)))
4072 (home-page "https://wiki.gnome.org/Apps/Terminal")
4073 (synopsis "Terminal emulator")
4074 (description
4075 "GNOME Terminal is a terminal emulator application for accessing a
4076 UNIX shell environment which can be used to run programs available on
4077 your system.
4078
4079 It supports several profiles, multiple tabs and implements several
4080 keyboard shortcuts.")
4081 (license license:gpl3+)))
4082
4083 (define-public colord
4084 (package
4085 (name "colord")
4086 (version "1.4.4")
4087 (source
4088 (origin
4089 (method url-fetch)
4090 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
4091 "colord-" version ".tar.xz"))
4092 (sha256
4093 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
4094 (build-system meson-build-system)
4095 (arguments
4096 '(;; FIXME: One test fails:
4097 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4098 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4099 ;; application/x-zerosize
4100 #:tests? #f
4101 #:glib-or-gtk? #t
4102 #:configure-flags (list "-Dlocalstatedir=/var"
4103 ;; No dep on systemd.
4104 "-Dsystemd=false"
4105 ;; Wants to install to global completion dir;
4106 ;; punt.
4107 "-Dbash_completion=false"
4108 "-Ddaemon_user=colord"
4109 "-Dsane=true"
4110 "-Dvapi=true"
4111 ;; Requires spotread.
4112 "-Dargyllcms_sensor=false"
4113 ;; TODO: Requires docbook2x.
4114 "-Dman=false")
4115 #:phases
4116 (modify-phases %standard-phases
4117 (add-before 'configure 'patch-build-system
4118 (lambda* (#:key outputs #:allow-other-keys)
4119 (substitute* "rules/meson.build"
4120 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4121 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4122 #t))
4123 (add-before 'configure 'set-sqlite3-file-name
4124 (lambda* (#:key inputs #:allow-other-keys)
4125 ;; "colormgr dump" works by invoking the "sqlite3" command.
4126 ;; Record its absolute file name.
4127 (let ((sqlite (assoc-ref inputs "sqlite")))
4128 (substitute* "client/cd-util.c"
4129 (("\"sqlite3\"")
4130 (string-append "\"" sqlite "/bin/sqlite3\"")))
4131 #t))))))
4132 (native-inputs
4133 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4134 ("gettext" ,gettext-minimal)
4135 ("gobject-introspection" ,gobject-introspection)
4136 ("gtk-doc" ,gtk-doc)
4137 ("pkg-config" ,pkg-config)
4138 ("vala" ,vala)))
4139 (propagated-inputs
4140 ;; colord.pc refers to all these.
4141 `(("glib" ,glib)
4142 ("lcms" ,lcms)
4143 ("udev" ,eudev)))
4144 (inputs
4145 `(("dbus-glib" ,dbus-glib)
4146 ("gusb" ,gusb)
4147 ("libgudev" ,libgudev)
4148 ("libusb" ,libusb)
4149 ("polkit" ,polkit)
4150 ("python" ,python-wrapper)
4151 ("sqlite" ,sqlite)
4152 ("sane-backends" ,sane-backends)))
4153 (home-page "https://www.freedesktop.org/software/colord/")
4154 (synopsis "Color management service")
4155 (description "Colord is a system service that makes it easy to manage,
4156 install and generate color profiles to accurately color manage input and
4157 output devices.")
4158 (license license:gpl2+)))
4159
4160 (define-public geoclue
4161 (package
4162 (name "geoclue")
4163 (version "2.5.6")
4164 (source
4165 (origin
4166 (method url-fetch)
4167 (uri
4168 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4169 version "/geoclue-" version ".tar.bz2"))
4170 (sha256
4171 (base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
4172 (patches (search-patches "geoclue-config.patch"))))
4173 (build-system meson-build-system)
4174 (arguments
4175 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4176 (native-inputs
4177 `(("pkg-config" ,pkg-config)
4178 ("gobject-introspection" ,gobject-introspection)
4179 ("modem-manager" ,modem-manager)
4180 ("libnotify" ,libnotify)
4181 ("gtk-doc", gtk-doc)
4182 ("intltool" ,intltool)))
4183 (inputs
4184 `(("avahi" ,avahi)
4185 ("glib:bin" ,glib "bin")
4186 ("glib-networking" ,glib-networking)
4187 ("json-glib" ,json-glib)
4188 ("libsoup" ,libsoup)))
4189 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4190 (synopsis "Geolocation service")
4191 (description "Geoclue is a D-Bus service that provides location
4192 information. The primary goal of the Geoclue project is to make creating
4193 location-aware applications as simple as possible, while the secondary goal is
4194 to ensure that no application can access location information without explicit
4195 permission from user.")
4196 (license license:gpl2+)))
4197
4198 (define-public geocode-glib
4199 (package
4200 (name "geocode-glib")
4201 (version "3.26.1")
4202 (source (origin
4203 (method url-fetch)
4204 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4205 (version-major+minor version) "/"
4206 "geocode-glib-" version ".tar.xz"))
4207 (sha256
4208 (base32
4209 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4210 (build-system meson-build-system)
4211 (arguments
4212 `(#:phases
4213 (modify-phases %standard-phases
4214 ;; The tests require a bunch of locales.
4215 (add-before 'check 'set-locales
4216 (lambda* (#:key inputs #:allow-other-keys)
4217 (setenv "GUIX_LOCPATH"
4218 (string-append (assoc-ref inputs "glibc-locales")
4219 "/lib/locale"))
4220 #t)))))
4221 (native-inputs
4222 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4223 ("glibc-locales" ,glibc-locales) ; for tests
4224 ("gettext" ,gettext-minimal)
4225 ("gobject-introspection" ,gobject-introspection)
4226 ("gtk-doc" ,gtk-doc)
4227 ("pkg-config" ,pkg-config)
4228 ("json-glib" ,json-glib)))
4229 (propagated-inputs
4230 ;; geocode-glib-1.0.pc refers to GIO.
4231 `(("glib" ,glib)))
4232 (inputs
4233 `(("libsoup" ,libsoup)))
4234 (home-page "https://github.com/GNOME/geocode-glib/")
4235 (synopsis "Geocoding and reverse-geocoding library")
4236 (description
4237 "geocode-glib is a convenience library for geocoding (finding longitude,
4238 and latitude from an address) and reverse geocoding (finding an address from
4239 coordinates) using the Nominatim service. geocode-glib caches requests for
4240 faster results and to avoid unnecessary server load.")
4241 (license license:lgpl2.0+)))
4242
4243 (define-public upower
4244 (package
4245 (name "upower")
4246 (version "0.99.11")
4247 (source (origin
4248 (method url-fetch)
4249 (uri (string-append "https://upower.freedesktop.org/releases/"
4250 "upower-" version ".tar.xz"))
4251 (sha256
4252 (base32
4253 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4254 (patches (search-patches "upower-builddir.patch"))
4255 (modules '((guix build utils)))
4256 (snippet
4257 '(begin
4258 ;; Upstream commit
4259 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4260 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4261 ;; 'dbus-configuration-directory' in (gnu services dbus)
4262 ;; expects it in etc/. Thus, move it back to its previous
4263 ;; location.
4264 (substitute* "src/Makefile.in"
4265 (("^dbusconfdir =.*$")
4266 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4267 #t))))
4268 (build-system glib-or-gtk-build-system)
4269 (arguments
4270 '(#:phases
4271 (modify-phases %standard-phases
4272 (add-before 'check 'pre-check
4273 (lambda* (#:key inputs #:allow-other-keys)
4274 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
4275 "/lib")))
4276 (setenv "LD_LIBRARY_PATH" umockdev))
4277 #t)))
4278 #:configure-flags (list "--localstatedir=/var"
4279 (string-append "--with-udevrulesdir="
4280 (assoc-ref %outputs "out")
4281 "/lib/udev/rules.d"))))
4282 (native-inputs
4283 `(("gobject-introspection" ,gobject-introspection)
4284 ("pkg-config" ,pkg-config)
4285 ("intltool" ,intltool)
4286 ("python" ,python)
4287
4288 ;; For tests.
4289 ("python-dbus" ,python-dbus)
4290 ("python-dbusmock" ,python-dbusmock)
4291 ("python-pygobject" ,python-pygobject)
4292 ("umockdev" ,umockdev)
4293
4294 ;; For man pages.
4295 ("libxslt" ,libxslt) ;for 'xsltproc'
4296 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4297 ("docbook-xsl" ,docbook-xsl)))
4298 (inputs
4299 `(("dbus-glib" ,dbus-glib)
4300 ("libgudev" ,libgudev)
4301 ("libusb" ,libusb)))
4302 (propagated-inputs
4303 ;; In Requires of upower-glib.pc.
4304 `(("glib" ,glib)))
4305 (home-page "https://upower.freedesktop.org/")
4306 (synopsis "System daemon for managing power devices")
4307 (description
4308 "UPower is an abstraction for enumerating power devices,
4309 listening to device events and querying history and statistics. Any
4310 application or service on the system can access the org.freedesktop.UPower
4311 service via the system message bus.")
4312 (license license:gpl2+)))
4313
4314 (define-public libgweather
4315 (package
4316 (name "libgweather")
4317 (version "3.34.0")
4318 (source (origin
4319 (method url-fetch)
4320 (uri (string-append "mirror://gnome/sources/" name "/"
4321 (version-major+minor version) "/"
4322 name "-" version ".tar.xz"))
4323 (sha256
4324 (base32
4325 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4326 (build-system meson-build-system)
4327 (arguments
4328 `(#:tests? #f ; one of two tests requires network access
4329 #:configure-flags
4330 `(,(string-append "-Dzoneinfo_dir="
4331 (assoc-ref %build-inputs "tzdata")
4332 "/share/zoneinfo"))))
4333 (native-inputs
4334 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4335 ("gobject-introspection" ,gobject-introspection)
4336 ("pkg-config" ,pkg-config)
4337 ("vala" ,vala)
4338 ("intltool" ,intltool)))
4339 (propagated-inputs
4340 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4341 ;; libsoup.
4342 `(("gtk+" ,gtk+)
4343 ("gdk-pixbuf" ,gdk-pixbuf)
4344 ("libxml2" ,libxml2)
4345 ("libsoup" ,libsoup)
4346 ("geocode-glib" ,geocode-glib)))
4347 (inputs
4348 `(("tzdata" ,tzdata)))
4349 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4350 (synopsis "Location, time zone, and weather library for GNOME")
4351 (description
4352 "libgweather is a library to access weather information from online
4353 services for numerous locations.")
4354 (license license:gpl2+)))
4355
4356 (define-public gnome-settings-daemon
4357 (package
4358 (name "gnome-settings-daemon")
4359 (version "3.34.1")
4360 (source
4361 (origin
4362 (method url-fetch)
4363 (uri (string-append "mirror://gnome/sources/" name "/"
4364 (version-major+minor version) "/"
4365 name "-" version ".tar.xz"))
4366 (sha256
4367 (base32
4368 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4369 (build-system meson-build-system)
4370 (arguments
4371 `(#:glib-or-gtk? #t
4372 #:configure-flags
4373 (list (string-append "-Dudev_dir="
4374 (assoc-ref %outputs "out")
4375 "/lib/udev/rules.d/")
4376 "-Dsystemd=false"
4377 ;; Otherwise, the RUNPATH will lack the final path component.
4378 (string-append "-Dc_link_args=-Wl,-rpath="
4379 (assoc-ref %outputs "out")
4380 "/lib/gnome-settings-daemon-3.0"))
4381 ;; Color management test can't reach the colord system service.
4382 #:tests? #f))
4383 (native-inputs
4384 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4385 ("pkg-config" ,pkg-config)
4386 ("intltool" ,intltool)
4387 ("xsltproc" ,libxslt)
4388 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4389 ("docbook-xml" ,docbook-xml-4.2)
4390 ("docbook-xsl" ,docbook-xsl)))
4391 (inputs
4392 `(("alsa-lib" ,alsa-lib)
4393 ("colord" ,colord)
4394 ("libgudev" ,libgudev)
4395 ("upower" ,upower)
4396 ("polkit" ,polkit)
4397 ("pulseaudio" ,pulseaudio)
4398 ("libcanberra" ,libcanberra)
4399 ("libx11" ,libx11)
4400 ("libxtst" ,libxtst)
4401 ("lcms" ,lcms)
4402 ("libnotify" ,libnotify)
4403 ("geoclue" ,geoclue)
4404 ("geocode-glib" ,geocode-glib)
4405 ("libgweather" ,libgweather)
4406 ("gnome-desktop" ,gnome-desktop)
4407 ("nss" ,nss)
4408 ("cups" ,cups)
4409 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4410 ("libwacom" ,libwacom)
4411 ("librsvg" ,librsvg)
4412 ("xf86-input-wacom" ,xf86-input-wacom)
4413 ("wayland" ,wayland)
4414 ("network-manager" ,network-manager)
4415 ("gcr" ,gcr)
4416 ("modem-manager" ,modem-manager)))
4417 (home-page "https://www.gnome.org")
4418 (synopsis "GNOME settings daemon")
4419 (description
4420 "This package contains the daemon responsible for setting the various
4421 parameters of a GNOME session and the applications that run under it. It
4422 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4423 settings, themes, mouse settings, and startup of other daemons.")
4424 (license license:gpl2+)))
4425
4426 (define-public totem-pl-parser
4427 (package
4428 (name "totem-pl-parser")
4429 (version "3.26.3")
4430 (source (origin
4431 (method url-fetch)
4432 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4433 (version-major+minor version) "/"
4434 "totem-pl-parser-" version ".tar.xz"))
4435 (sha256
4436 (base32
4437 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4438 (build-system meson-build-system)
4439 (arguments
4440 ;; FIXME: Tests require gvfs.
4441 `(#:tests? #f))
4442 (native-inputs
4443 `(("intltool" ,intltool)
4444 ("glib" ,glib "bin")
4445 ("gobject-introspection" ,gobject-introspection)
4446 ("pkg-config" ,pkg-config)))
4447 (propagated-inputs
4448 `(("glib" ,glib)
4449 ("gmime" ,gmime)
4450 ("libarchive" ,libarchive)
4451 ("libgcrypt" ,libgcrypt)
4452 ("libxml2" ,libxml2)))
4453 (inputs
4454 `(("libsoup" ,libsoup)))
4455 (home-page "https://projects.gnome.org/totem")
4456 (synopsis "Library to parse and save media playlists for GNOME")
4457 (description "Totem-pl-parser is a GObjects-based library to parse and save
4458 playlists in a variety of formats.")
4459 (license license:lgpl2.0+)))
4460
4461 (define-public aisleriot
4462 (package
4463 (name "aisleriot")
4464 (version "3.22.9")
4465 (source (origin
4466 (method url-fetch)
4467 (uri (string-append "mirror://gnome/sources/aisleriot/"
4468 (version-major+minor version) "/"
4469 "aisleriot-" version ".tar.xz"))
4470 (sha256
4471 (base32
4472 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4473 (build-system glib-or-gtk-build-system)
4474 (arguments
4475 '(#:configure-flags
4476 '("--with-platform=gtk-only"
4477 "--with-card-theme-formats=svg")))
4478 (native-inputs
4479 `(("desktop-file-utils" ,desktop-file-utils)
4480 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4481 ("intltool" ,intltool)
4482 ("itstool" ,itstool)
4483 ("pkg-config" ,pkg-config)
4484 ("xmllint" ,libxml2)))
4485 (inputs
4486 `(("gtk+" ,gtk+)
4487 ("guile" ,guile-2.2)
4488 ("libcanberra" ,libcanberra)
4489 ("librsvg" ,librsvg)))
4490 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4491 (synopsis "Solitaire card games")
4492 (description
4493 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4494 which are easy to play with the aid of a mouse.")
4495 (license license:gpl3+)))
4496
4497 (define-public amtk
4498 (package
4499 (name "amtk")
4500 (version "5.0.2")
4501 (source (origin
4502 (method url-fetch)
4503 (uri (string-append "mirror://gnome/sources/amtk/"
4504 (version-major+minor version) "/"
4505 "amtk-" version ".tar.xz"))
4506 (sha256
4507 (base32
4508 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4509 (build-system gnu-build-system)
4510 (arguments
4511 '(#:configure-flags '("--enable-gtk-doc")))
4512 (native-inputs
4513 `(("gobject-introspection" ,gobject-introspection)
4514 ("glib:bin" ,glib "bin") ; for glib-mkenums
4515 ("gtk-doc" ,gtk-doc)
4516 ("pkg-config" ,pkg-config)))
4517 (inputs
4518 `(("glib" ,glib)
4519 ("gtk+" ,gtk+)))
4520 (home-page "https://wiki.gnome.org/Projects/Amtk")
4521 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4522 (description
4523 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4524 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4525 both a traditional UI or a modern UI with a GtkHeaderBar.")
4526 (license license:lgpl2.1+)))
4527
4528 (define-public devhelp
4529 (package
4530 (name "devhelp")
4531 (version "3.34.0")
4532 (source (origin
4533 (method url-fetch)
4534 (uri (string-append "mirror://gnome/sources/" name "/"
4535 (version-major+minor version) "/"
4536 name "-" version ".tar.xz"))
4537 (sha256
4538 (base32
4539 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4540 (build-system meson-build-system)
4541 (arguments
4542 '(#:glib-or-gtk? #t
4543 #:phases
4544 (modify-phases %standard-phases
4545 (add-after 'unpack 'skip-gtk-update-icon-cache
4546 ;; Don't create 'icon-theme.cache'.
4547 (lambda _
4548 (substitute* "meson_post_install.py"
4549 (("gtk-update-icon-cache") "true"))
4550 #t)))))
4551 (native-inputs
4552 `(("intltool" ,intltool)
4553 ("itstool" ,itstool)
4554 ("gobject-introspection" ,gobject-introspection)
4555 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4556 ("pkg-config" ,pkg-config)))
4557 (inputs
4558 `(("amtk" ,amtk)
4559 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4560 ("webkitgtk" ,webkitgtk)))
4561 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4562 (synopsis "API documentation browser for GNOME")
4563 (description
4564 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4565 natively with GTK-Doc (the API reference system developed for GTK+ and used
4566 throughout GNOME for API documentation).")
4567 (license license:gpl2+)))
4568
4569 (define-public cogl
4570 (package
4571 (name "cogl")
4572 (version "1.22.8")
4573 (source
4574 (origin
4575 (method url-fetch)
4576 (uri (string-append "mirror://gnome/sources/cogl/"
4577 (version-major+minor version) "/"
4578 "cogl-" version ".tar.xz"))
4579 (sha256
4580 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
4581 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4582 ;; cogl, corresponding changes may be appropriate in mutter as well.
4583 (build-system gnu-build-system)
4584 (native-inputs
4585 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4586 ("gobject-introspection" ,gobject-introspection)
4587 ("xorg-server" ,xorg-server-for-tests)
4588 ("pkg-config" ,pkg-config)))
4589 (propagated-inputs
4590 `(("glib" ,glib)
4591 ("gdk-pixbuf" ,gdk-pixbuf)
4592 ("libx11" ,libx11)
4593 ("libxext" ,libxext)
4594 ("libxfixes" ,libxfixes)
4595 ("libxdamage" ,libxdamage)
4596 ("libxcomposite" ,libxcomposite)
4597 ("libxrandr" ,libxrandr)))
4598 (inputs
4599 `(("mesa" ,mesa)
4600 ("cairo" ,cairo)
4601 ("pango" ,pango)
4602 ("gstreamer" ,gstreamer)
4603 ("gst-plugins-base" ,gst-plugins-base)
4604 ("wayland" ,wayland)))
4605 (arguments
4606 `(#:disallowed-references (,xorg-server-for-tests)
4607 #:configure-flags (list "--enable-cogl-gst"
4608 "--enable-wayland-egl-platform"
4609 "--enable-wayland-egl-server"
4610
4611 ;; Arrange to pass an absolute file name to
4612 ;; dlopen for libGL.so.
4613 (string-append "--with-gl-libname="
4614 (assoc-ref %build-inputs "mesa")
4615 "/lib/libGL.so"))
4616 #:phases
4617 (modify-phases %standard-phases
4618 (add-after 'unpack 'fix-build-with-mesa-20
4619 (lambda _
4620 ;; Work around a problem with Mesa 20 where some macros used by
4621 ;; Cogl went missing from eglext.h. This can likely be removed
4622 ;; for newer versions of Cogl or Mesa.
4623 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
4624 (substitute* '("configure"
4625 "cogl/winsys/cogl-winsys-egl-kms.c")
4626 (("#include <EGL/eglext.h>" all)
4627 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
4628 #t))
4629 (add-before 'check 'start-xorg-server
4630 (lambda* (#:key tests? inputs #:allow-other-keys)
4631 (if tests?
4632 (begin
4633 ;; The test suite requires a running X server.
4634 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
4635 (assoc-ref inputs "xorg-server")))
4636 (setenv "DISPLAY" ":1")
4637 #t)
4638 (format #t "test suite not run~%"))
4639 #t)))))
4640 (home-page "https://www.cogl3d.org")
4641 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4642 (description
4643 "Cogl is a small library for using 3D graphics hardware to draw pretty
4644 pictures. The API departs from the flat state machine style of OpenGL and is
4645 designed to make it easy to write orthogonal components that can render
4646 without stepping on each others toes.")
4647 (license (list license:expat ; most of the code
4648 license:bsd-3 ; cogl/cogl-point-in-poly.c
4649 license:sgifreeb2.0 ; cogl-path/tesselator/
4650 license:asl2.0)))) ; examples/android/
4651
4652 (define-public clutter
4653 (package
4654 (name "clutter")
4655 (version "1.26.2")
4656 (source
4657 (origin
4658 (method url-fetch)
4659 (uri (string-append "mirror://gnome/sources/" name "/"
4660 (version-major+minor version) "/"
4661 name "-" version ".tar.xz"))
4662 (sha256
4663 (base32
4664 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4665 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4666 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4667 (build-system gnu-build-system)
4668 (outputs '("out"
4669 "doc")) ;9 MiB of gtk-doc HTML pages
4670 (native-inputs
4671 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4672 ("gobject-introspection" ,gobject-introspection)
4673 ("pkg-config" ,pkg-config)
4674 ("xsltproc" ,libxslt)))
4675 (propagated-inputs
4676 `(("cogl" ,cogl)
4677 ("cairo" ,cairo)
4678 ("atk" ,atk)
4679 ("gtk+" ,gtk+)
4680 ("json-glib" ,json-glib)
4681 ("glib" ,glib)
4682 ("libxcomposite" ,libxcomposite)
4683 ("libxdamage" ,libxdamage)
4684 ("libxext" ,libxext)
4685 ("xinput" ,xinput)))
4686 (inputs
4687 `(("libxkbcommon" ,libxkbcommon)
4688 ("udev" ,eudev)))
4689 (arguments
4690 `(#:configure-flags (list "--enable-x11-backend=yes"
4691
4692 ;; This produces share/doc/{clutter,cally}.
4693 (string-append "--with-html-dir="
4694 (assoc-ref %outputs "doc")
4695 "/share/doc"))
4696 ;; XXX FIXME: Get test suite working. It would probably fail in the
4697 ;; same way the cogl tests fail, since clutter is based on cogl.
4698 #:tests? #f))
4699 (home-page "http://www.clutter-project.org")
4700 (synopsis "OpenGL-based interactive canvas library")
4701 (description
4702 "Clutter is an OpenGL-based interactive canvas library, designed for
4703 creating fast, mainly 2D single window applications such as media box UIs,
4704 presentations, kiosk style applications and so on.")
4705 (license license:lgpl2.0+)))
4706
4707 (define-public clutter-gtk
4708 (package
4709 (name "clutter-gtk")
4710 (version "1.8.4")
4711 (source
4712 (origin
4713 (method url-fetch)
4714 (uri (string-append "mirror://gnome/sources/" name "/"
4715 (version-major+minor version) "/"
4716 name "-" version ".tar.xz"))
4717 (sha256
4718 (base32
4719 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4720 (build-system gnu-build-system)
4721 (native-inputs
4722 `(("pkg-config" ,pkg-config)
4723 ("gobject-introspection" ,gobject-introspection)))
4724 (propagated-inputs
4725 ;; clutter-gtk.pc refers to all these.
4726 `(("clutter" ,clutter)
4727 ("gtk+" ,gtk+)))
4728 (home-page "http://www.clutter-project.org")
4729 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4730 (description
4731 "Clutter is an OpenGL-based interactive canvas library, designed for
4732 creating fast, mainly 2D single window applications such as media box UIs,
4733 presentations, kiosk style applications and so on.")
4734 (license license:lgpl2.0+)))
4735
4736 (define-public clutter-gst
4737 (package
4738 (name "clutter-gst")
4739 (version "3.0.27")
4740 (source
4741 (origin
4742 (method url-fetch)
4743 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4744 (version-major+minor version) "/"
4745 "clutter-gst-" version ".tar.xz"))
4746 (sha256
4747 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4748 (build-system gnu-build-system)
4749 (native-inputs
4750 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4751 ("pkg-config" ,pkg-config)
4752 ("gobject-introspection" ,gobject-introspection)))
4753 (inputs
4754 `(("clutter" ,clutter)
4755 ("gstreamer" ,gstreamer)
4756 ("gst-plugins-base" ,gst-plugins-base)))
4757 (home-page "http://www.clutter-project.org")
4758 (synopsis "Integration library for using GStreamer with Clutter")
4759 (description
4760 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4761 It provides a GStreamer sink to upload frames to GL and an actor that
4762 implements the ClutterGstPlayer interface using playbin. Clutter is an
4763 OpenGL-based interactive canvas library.")
4764 (license license:lgpl2.0+)))
4765
4766 (define-public libchamplain
4767 (package
4768 (name "libchamplain")
4769 (version "0.12.16")
4770 (source (origin
4771 (method url-fetch)
4772 (uri (string-append
4773 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4774 version ".tar.xz"))
4775 (sha256
4776 (base32
4777 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4778 (build-system gnu-build-system)
4779 (arguments '(#:configure-flags '("--enable-vala")))
4780 (native-inputs
4781 `(("gobject-introspection" ,gobject-introspection)
4782 ("pkg-config" ,pkg-config)
4783 ("vala" ,vala)))
4784 (propagated-inputs
4785 `(("libsoup" ,libsoup)
4786 ("sqlite" ,sqlite)
4787 ("clutter" ,clutter)
4788 ("clutter-gtk" ,clutter-gtk)
4789 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4790 ("cairo" ,cairo)
4791 ("gtk+3" ,gtk+)
4792 ("glib" ,glib)))
4793 (home-page "https://projects.gnome.org/libchamplain/")
4794 (synopsis "C library providing a ClutterActor to display maps")
4795 (description
4796 "libchamplain is a C library providing a ClutterActor to display maps.
4797 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4798 and Perl bindings are also available. It supports numerous free map sources
4799 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4800 (license license:lgpl2.1+)))
4801
4802 (define-public gom
4803 (package
4804 (name "gom")
4805 (version "0.3.2")
4806 (source
4807 (origin
4808 (method url-fetch)
4809 (uri (string-append "mirror://gnome/sources/gom/"
4810 (version-major+minor version) "/"
4811 "gom-" version ".tar.xz"))
4812 (sha256
4813 (base32
4814 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4815 (build-system gnu-build-system)
4816 (native-inputs
4817 `(("intltool" ,intltool)
4818 ("pkg-config" ,pkg-config)
4819 ("gobject-introspection" ,gobject-introspection)))
4820 (inputs
4821 `(("glib" ,glib)
4822 ("gdk-pixbuf" ,gdk-pixbuf)
4823 ("sqlite" ,sqlite)))
4824 ;; XXX TODO: Figure out how to run the test suite.
4825 (arguments `(#:tests? #f))
4826 (home-page "https://wiki.gnome.org/Projects/Gom")
4827 (synopsis "Object mapper from GObjects to SQLite")
4828 (description
4829 "Gom provides an object mapper from GObjects to SQLite. It helps you
4830 write applications that need to store structured data as well as make complex
4831 queries upon that data.")
4832 (license license:lgpl2.1+)))
4833
4834 (define-public libgnome-games-support
4835 (package
4836 (name "libgnome-games-support")
4837 (version "1.4.4")
4838 (source (origin
4839 (method url-fetch)
4840 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4841 (version-major+minor version) "/"
4842 "libgnome-games-support-" version ".tar.xz"))
4843 (sha256
4844 (base32
4845 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4846 (build-system gnu-build-system)
4847 (arguments
4848 '(#:phases
4849 (modify-phases %standard-phases
4850 (add-before 'check 'pre-check
4851 (lambda _
4852 ;; Tests require a writable HOME.
4853 (setenv "HOME" (getcwd))
4854 #t)))))
4855 (native-inputs
4856 `(("intltool" ,intltool)
4857 ("pkg-config" ,pkg-config)
4858 ("vala" ,vala)))
4859 (propagated-inputs
4860 ;; Required by libgnome-games-support-1.0.pc
4861 `(("gtk+" ,gtk+)
4862 ("libgee" ,libgee)))
4863 (home-page "https://www.gnome.org/")
4864 (synopsis "Useful functionality shared among GNOME games")
4865 (description
4866 "libgnome-games-support is a small library intended for internal use by
4867 GNOME Games, but it may be used by others.")
4868 (license license:lgpl3+)))
4869
4870 (define-public gnome-klotski
4871 (package
4872 (name "gnome-klotski")
4873 (version "3.34.0")
4874 (source (origin
4875 (method url-fetch)
4876 (uri (string-append "mirror://gnome/sources/" name "/"
4877 (version-major+minor version) "/"
4878 name "-" version ".tar.xz"))
4879 (sha256
4880 (base32
4881 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
4882 (build-system meson-build-system)
4883 (arguments
4884 '(#:glib-or-gtk? #t
4885 #:phases
4886 (modify-phases %standard-phases
4887 (add-after 'unpack 'skip-gtk-update-icon-cache
4888 ;; Don't create 'icon-theme.cache'.
4889 (lambda _
4890 (substitute* "build-aux/meson_post_install.py"
4891 (("gtk-update-icon-cache") (which "true")))
4892 #t)))))
4893 (native-inputs
4894 `(("desktop-file-utils" ,desktop-file-utils)
4895 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4896 ("intltool" ,intltool)
4897 ("itstool" ,itstool)
4898 ("pkg-config" ,pkg-config)
4899 ("vala" ,vala)
4900 ("xmllint" ,libxml2)))
4901 (inputs
4902 `(("gtk+" ,gtk+)
4903 ("libgnome-games-support" ,libgnome-games-support)
4904 ("librsvg" ,librsvg)))
4905 (home-page "https://wiki.gnome.org/Apps/Klotski")
4906 (synopsis "Sliding block puzzles")
4907 (description
4908 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4909 the patterned block to the area bordered by green markers. To do so, you will
4910 need to slide other blocks out of the way. Complete each puzzle in as few moves
4911 as possible!")
4912 (license license:gpl2+)))
4913
4914 (define-public grilo
4915 (package
4916 (name "grilo")
4917 (version "0.3.10")
4918 (source
4919 (origin
4920 (method url-fetch)
4921 (uri (string-append "mirror://gnome/sources/" name "/"
4922 (version-major+minor version) "/"
4923 name "-" version ".tar.xz"))
4924 (sha256
4925 (base32
4926 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4927 (build-system meson-build-system)
4928 (native-inputs
4929 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4930 ("intltool" ,intltool)
4931 ("pkg-config" ,pkg-config)
4932 ("gobject-introspection" ,gobject-introspection)
4933 ("gtk-doc" ,gtk-doc)
4934 ("vala" ,vala)))
4935 (inputs
4936 `(("cyrus-sasl" ,cyrus-sasl)
4937 ("glib" ,glib)
4938 ("gtk+" ,gtk+)
4939 ("libxml2" ,libxml2)
4940 ("liboauth" ,liboauth)
4941 ("libsoup" ,libsoup)
4942 ("totem-pl-parser" ,totem-pl-parser)))
4943 (native-search-paths
4944 (list (search-path-specification
4945 (variable "GRL_PLUGIN_PATH")
4946 (files (list (string-append "lib/grilo-"
4947 (version-major+minor version)))))))
4948 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4949 (synopsis "Framework for discovering and browsing media")
4950 (description
4951 "Grilo is a framework focused on making media discovery and browsing easy
4952 for application developers.")
4953 (license license:lgpl2.1+)))
4954
4955 (define-public grilo-plugins
4956 (package
4957 (name "grilo-plugins")
4958 (version "0.3.10")
4959 (source
4960 (origin
4961 (method url-fetch)
4962 (uri (string-append "mirror://gnome/sources/" name "/"
4963 (version-major+minor version) "/"
4964 name "-" version ".tar.xz"))
4965 (sha256
4966 (base32
4967 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4968 (build-system meson-build-system)
4969 (native-inputs
4970 `(("gettext" ,gettext-minimal)
4971 ("glib:bin" ,glib "bin")
4972 ("gtk+:bin" ,gtk+ "bin")
4973 ("itstool" ,itstool)
4974 ("pkg-config" ,pkg-config)))
4975 ;; TODO: ahavi, gstreamer
4976 (inputs
4977 `(("grilo" ,grilo)
4978 ;("gmime" ,gmime) ; unused
4979 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4980 ("gom" ,gom)
4981 ;("gssdp" ,gssdp) ; unused
4982 ;("gupnp" ,gupnp) ; unused
4983 ;("gupnp-av" ,gupnp-av) ; unused
4984 ("json-glib" ,json-glib)
4985 ("avahi" ,avahi)
4986 ("libgdata" ,libgdata)
4987 ("libmediaart" ,libmediaart)
4988 ;("librest" ,rest) ; unused
4989 ("libsoup" ,libsoup)
4990 ("totam-pl-parser" ,totem-pl-parser)
4991 ("tracker" ,tracker))) ; unused because it's too old
4992 (arguments
4993 `(#:glib-or-gtk? #t
4994 ;;Disable lua-factory as it needs missing dependencies
4995 #:configure-flags '("-Denable-lua-factory=no")))
4996 (home-page "https://live.gnome.org/Grilo")
4997 (synopsis "Plugins for the Grilo media discovery library")
4998 (description
4999 "Grilo is a framework focused on making media discovery and browsing easy
5000 for application developers. This package provides plugins for common media
5001 discovery protocols.")
5002 (license license:lgpl2.1+)))
5003
5004 (define-public totem
5005 (package
5006 (name "totem")
5007 (version "3.34.1")
5008 (source
5009 (origin
5010 (method url-fetch)
5011 (uri (string-append "mirror://gnome/sources/totem/"
5012 (version-major+minor version) "/"
5013 "totem-" version ".tar.xz"))
5014 (sha256
5015 (base32
5016 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
5017 (build-system meson-build-system)
5018 (native-inputs
5019 `(("pkg-config" ,pkg-config)
5020 ("desktop-file-utils" ,desktop-file-utils)
5021 ("gobject-introspection" ,gobject-introspection)
5022 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
5023 ("intltool" ,intltool)
5024 ("itstool" ,itstool)
5025 ("xmllint" ,libxml2)
5026 ("xorg-server" ,xorg-server-for-tests)))
5027 (propagated-inputs
5028 `(("dconf" ,dconf)))
5029 (inputs
5030 `(("gtk+" ,gtk+)
5031 ("gdk-pixbuf" ,gdk-pixbuf)
5032 ("atk" ,atk)
5033 ("cairo" ,cairo)
5034 ("dbus-glib" ,dbus-glib)
5035 ("clutter" ,clutter)
5036 ("clutter-gtk" ,clutter-gtk)
5037 ("clutter-gst" ,clutter-gst)
5038 ("xorgproto" ,xorgproto)
5039 ("libxxf86vm" ,libxxf86vm)
5040 ("libxtst" ,libxtst)
5041 ("libxrandr" ,libxrandr)
5042 ("libxml2" ,libxml2)
5043 ("libsoup" ,libsoup)
5044 ("libpeas" ,libpeas)
5045 ("librsvg" ,librsvg)
5046 ("lirc" ,lirc)
5047 ("gnome-desktop" ,gnome-desktop)
5048 ("gstreamer" ,gstreamer)
5049 ("gst-plugins-base" ,gst-plugins-base)
5050 ("gst-plugins-good" ,gst-plugins-good)
5051 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5052 ("adwaita-icon-theme" ,adwaita-icon-theme)
5053 ("python" ,python)
5054 ("python-pygobject" ,python-pygobject)
5055 ("totem-pl-parser" ,totem-pl-parser)
5056 ("grilo" ,grilo)
5057 ("grilo-plugins" ,grilo-plugins)
5058 ("vala" ,vala)))
5059 (arguments
5060 `(#:glib-or-gtk? #t
5061
5062 ;; Disable automatic GStreamer plugin installation via PackageKit and
5063 ;; all that.
5064 #:configure-flags '("-D" "enable-easy-codec-installation=no"
5065
5066 ;; Do not build .a files for the plugins, it's
5067 ;; completely useless. This saves 2 MiB.
5068 "--default-library" "shared")
5069 #:phases
5070 (modify-phases %standard-phases
5071 (add-after 'unpack 'skip-gtk-update-icon-cache
5072 ;; Don't create 'icon-theme.cache'.
5073 (lambda _
5074 (substitute* "meson_post_install.py"
5075 (("gtk-update-icon-cache") "true"))
5076 #t))
5077 (add-before
5078 'install 'disable-cache-generation
5079 (lambda _
5080 (setenv "DESTDIR" "/")
5081 #t))
5082 (add-before
5083 'check 'pre-check
5084 (lambda _
5085 ;; Tests require a running X server.
5086 (system "Xvfb :1 &")
5087 (setenv "DISPLAY" ":1")
5088 #t))
5089 (add-after
5090 'install 'wrap-totem
5091 (lambda* (#:key inputs outputs #:allow-other-keys)
5092 (let ((out (assoc-ref outputs "out"))
5093 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5094 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5095 (wrap-program (string-append out "/bin/totem")
5096 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5097 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5098 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5099 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
5100 #t)))))
5101 (home-page "https://wiki.gnome.org/Apps/Videos")
5102 (synopsis "Simple media player for GNOME based on GStreamer")
5103 (description "Totem is a simple yet featureful media player for GNOME
5104 which can read a large number of file formats.")
5105 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5106 ;; to be used and distributed together with GStreamer and Totem. See
5107 ;; file://COPYING in the source distribution for details.
5108 (license license:gpl2+)))
5109
5110 (define-public rhythmbox
5111 (package
5112 (name "rhythmbox")
5113 (version "3.4.4")
5114 (source (origin
5115 (method url-fetch)
5116 (uri (string-append "mirror://gnome/sources/rhythmbox/"
5117 (version-major+minor version) "/"
5118 "rhythmbox-" version ".tar.xz"))
5119 (sha256
5120 (base32
5121 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5122 (build-system glib-or-gtk-build-system)
5123 (arguments
5124 `(#:configure-flags
5125 (list "--enable-lirc"
5126 "--enable-python"
5127 "--enable-vala"
5128 "--with-brasero"
5129 "--with-gudev"
5130 "--with-libsecret")
5131 #:phases
5132 (modify-phases %standard-phases
5133 (add-after
5134 'install 'wrap-rhythmbox
5135 (lambda* (#:key inputs outputs #:allow-other-keys)
5136 (let ((out (assoc-ref outputs "out"))
5137 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5138 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5139 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5140 (python-path (getenv "PYTHONPATH")))
5141 (wrap-program (string-append out "/bin/rhythmbox")
5142 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5143 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5144 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5145 `("PYTHONPATH" ":" prefix (,python-path))))
5146 #t)))))
5147 (propagated-inputs
5148 `(("dconf" ,dconf)))
5149 (native-inputs
5150 `(("itstool" ,itstool)
5151 ("intltool" ,intltool)
5152 ("glib" ,glib "bin")
5153 ("gobject-introspection" ,gobject-introspection)
5154 ("desktop-file-utils" ,desktop-file-utils)
5155 ("pkg-config" ,pkg-config)
5156 ("xmllint" ,libxml2)))
5157 (inputs
5158 `(("json-glib" ,json-glib)
5159 ("tdb" ,tdb)
5160 ("gnome-desktop" ,gnome-desktop)
5161 ("python" ,python)
5162 ("python-pygobject" ,python2-pygobject)
5163 ("vala" ,vala)
5164 ("gmime" ,gmime)
5165 ("adwaita-icon-theme" ,adwaita-icon-theme)
5166 ("grilo" ,grilo)
5167 ("grilo-plugins" ,grilo-plugins)
5168 ("gstreamer" ,gstreamer)
5169 ("gst-plugins-base" ,gst-plugins-base)
5170 ("gst-plugins-good" ,gst-plugins-good)
5171 ("totem-pl-parser" ,totem-pl-parser)
5172 ("libgudev" ,libgudev)
5173 ;;("libmtp" ,libmtp) FIXME: Not detected
5174 ("libsecret" ,libsecret)
5175 ("libsoup" ,libsoup)
5176 ("libnotify" ,libnotify)
5177 ("libpeas" ,libpeas)
5178 ("lirc" ,lirc)
5179 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5180 ;;("clutter" ,clutter)
5181 ;;("clutter-gtk" ,clutter-gtk)
5182 ;;("clutter-gst" ,clutter-gst)
5183 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5184 ("atk" ,atk)
5185 ("pango" ,pango)
5186 ("gtk+" ,gtk+)
5187 ;; TODO:
5188 ;; * libgpod
5189 ;; * mx
5190 ("brasero" ,brasero)))
5191 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5192 (synopsis "Music player for GNOME")
5193 (description "Rhythmbox is a music playing application for GNOME. It
5194 supports playlists, song ratings, and any codecs installed through gstreamer.")
5195 (license license:gpl2+)))
5196
5197 (define-public eog
5198 (package
5199 (name "eog")
5200 (version "3.34.1")
5201 (source (origin
5202 (method url-fetch)
5203 (uri (string-append "mirror://gnome/sources/" name "/"
5204 (version-major+minor version) "/"
5205 name "-" version ".tar.xz"))
5206 (sha256
5207 (base32
5208 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5209 (build-system meson-build-system)
5210 (arguments
5211 `(#:configure-flags
5212 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5213 (list (string-append "-Dc_link_args=-Wl,-rpath="
5214 (assoc-ref %outputs "out") "/lib/eog"))
5215 #:phases
5216 (modify-phases %standard-phases
5217 (add-after 'unpack 'skip-gtk-update-icon-cache
5218 ;; Don't create 'icon-theme.cache'.
5219 (lambda _
5220 (substitute* "meson_post_install.py"
5221 (("gtk-update-icon-cache") "true"))
5222 #t))
5223 (add-after 'install 'wrap-eog
5224 (lambda* (#:key outputs #:allow-other-keys)
5225 (let ((out (assoc-ref outputs "out"))
5226 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5227 (wrap-program (string-append out "/bin/eog")
5228 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5229 #t)))))
5230 (propagated-inputs
5231 `(("dconf" ,dconf)))
5232 (native-inputs
5233 `(("intltool" ,intltool)
5234 ("itstool" ,itstool)
5235 ("glib" ,glib "bin")
5236 ("gobject-introspection" ,gobject-introspection)
5237 ("pkg-config" ,pkg-config)
5238 ("xmllint" ,libxml2)))
5239 (inputs
5240 `(("gnome-desktop" ,gnome-desktop)
5241 ("shared-mime-info" ,shared-mime-info)
5242 ("adwaita-icon-theme" ,adwaita-icon-theme)
5243 ("exempi" ,exempi)
5244 ("lcms" ,lcms)
5245 ("libexif" ,libexif)
5246 ("libpeas" ,libpeas)
5247 ("libjpeg" ,libjpeg-turbo)
5248 ("librsvg" ,librsvg-next)
5249 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5250 ("gtk+" ,gtk+)))
5251 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5252 (synopsis "GNOME image viewer")
5253 (description "Eye of GNOME is the GNOME image viewer. It
5254 supports image conversion, rotation, and slideshows.")
5255 (license license:gpl2+)))
5256
5257 (define-public eog-plugins
5258 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5259 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5260 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5261 ;; 'XDG_DATA_DIRS' appropriately set.
5262 (package
5263 (name "eog-plugins")
5264 (version "3.26.4")
5265 (source (origin
5266 (method url-fetch)
5267 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5268 (version-major+minor version) "/"
5269 "eog-plugins-" version ".tar.xz"))
5270 (sha256
5271 (base32
5272 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5273 (build-system gnu-build-system)
5274 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5275 (synopsis "Extensions for the Eye of GNOME image viewer")
5276 (native-inputs
5277 `(("pkg-config" ,pkg-config)
5278 ("gettext" ,gettext-minimal)))
5279 (inputs
5280 `(("eog" ,eog)
5281 ("glib" ,glib)
5282 ("gtk+" ,gtk+)
5283 ("libpeas" ,libpeas)
5284 ("libexif" ,libexif)
5285 ("libchamplain" ,libchamplain)))
5286 (description
5287 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5288 notably:
5289
5290 @itemize
5291 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5292 @item @dfn{Map}, which displays a map of where the picture was taken on the
5293 side panel;
5294 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5295 @end itemize\n")
5296
5297 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5298 ;; long suspicious byte stream that goes to a
5299 ;; ".gresource.eog_postasa_plugin" ELF section.
5300 (license license:gpl2+)))
5301
5302 (define-public libgudev
5303 (package
5304 (name "libgudev")
5305 (version "232")
5306 (source (origin
5307 (method url-fetch)
5308 (uri (string-append "mirror://gnome/sources/" name "/"
5309 version "/" name "-" version ".tar.xz"))
5310 (sha256
5311 (base32
5312 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5313 (build-system gnu-build-system)
5314 (arguments
5315 '(#:configure-flags
5316 ;; umockdev depends on libgudev.
5317 (list "--disable-umockdev")))
5318 (native-inputs
5319 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5320 ("gobject-introspection" ,gobject-introspection)
5321 ("pkg-config" ,pkg-config)))
5322 (propagated-inputs
5323 `(("glib" ,glib))) ; required by gudev-1.0.pc
5324 (inputs
5325 `(("udev" ,eudev)))
5326 (home-page "https://wiki.gnome.org/Projects/libgudev")
5327 (synopsis "GObject bindings for libudev")
5328 (description
5329 "This library provides GObject bindings for libudev. It was originally
5330 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5331 (license license:lgpl2.1+)))
5332
5333 (define-public gvfs
5334 (package
5335 (name "gvfs")
5336 (version "1.40.1")
5337 (source (origin
5338 (method url-fetch)
5339 (uri (string-append "mirror://gnome/sources/gvfs/"
5340 (version-major+minor version) "/"
5341 "gvfs-" version ".tar.xz"))
5342 (sha256
5343 (base32
5344 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5345 (build-system meson-build-system)
5346 (arguments
5347 '(#:glib-or-gtk? #t
5348 #:configure-flags
5349 (list "-Dsystemduserunitdir=no"
5350 "-Dtmpfilesdir=no"
5351 ;; Otherwise, the RUNPATH will lack the final path component.
5352 (string-append "-Dc_link_args=-Wl,-rpath="
5353 (assoc-ref %outputs "out") "/lib/gvfs"))))
5354 (native-inputs
5355 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5356 ("gettext" ,gettext-minimal)
5357 ("gtk-doc" ,gtk-doc)
5358 ("pkg-config" ,pkg-config)
5359 ("xsltproc" ,libxslt)))
5360 (inputs
5361 `(("avahi" ,avahi)
5362 ("docbook-xml" ,docbook-xml-4.2)
5363 ("docbook-xsl" ,docbook-xsl)
5364 ("dbus" ,dbus)
5365 ("elogind" ,elogind)
5366 ("fuse" ,fuse)
5367 ("gcr" ,gcr)
5368 ("glib" ,glib)
5369 ("gnome-online-accounts" ,gnome-online-accounts)
5370 ("libarchive" ,libarchive)
5371 ("libbluray" ,libbluray)
5372 ("libcap" ,libcap)
5373 ("libcdio-paranoia" ,libcdio-paranoia)
5374 ("libgcrypt" ,libgcrypt)
5375 ("libgdata" ,libgdata)
5376 ("libgphoto2" ,libgphoto2)
5377 ("libgudev" ,libgudev)
5378 ("libimobiledevice" ,libimobiledevice)
5379 ("libmtp" ,libmtp)
5380 ("libnfs" ,libnfs)
5381 ("libsecret" ,libsecret)
5382 ("libsmbclient" ,samba)
5383 ("libsoup" ,libsoup)
5384 ("libxml2" ,libxml2)
5385 ("openssh" ,openssh)
5386 ("polkit" ,polkit)
5387 ("udisks" ,udisks)))
5388 (home-page "https://wiki.gnome.org/gvfs/")
5389 (synopsis "Userspace virtual file system for GIO")
5390 (description
5391 "GVFS is a userspace virtual file system designed to work with the I/O
5392 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5393 to all applications using the GIO API. It also supports exposing the GVFS
5394 mounts to non-GIO applications using FUSE.
5395
5396 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5397 DAV, and others.")
5398 (license license:lgpl2.0+)))
5399
5400 (define-public gusb
5401 (package
5402 (name "gusb")
5403 (version "0.3.0")
5404 (source (origin
5405 (method git-fetch)
5406 (uri (git-reference
5407 (url "https://github.com/hughsie/libgusb")
5408 (commit version)))
5409 (file-name (git-file-name name version))
5410 (sha256
5411 (base32
5412 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5413 (build-system meson-build-system)
5414 (native-inputs
5415 `(("gobject-introspection" ,gobject-introspection)
5416 ("pkg-config" ,pkg-config)
5417 ("vala" ,vala)
5418 ("gtk-doc" ,gtk-doc)))
5419 (propagated-inputs
5420 ;; Both of these are required by gusb.pc.
5421 `(("glib" ,glib)
5422 ("libusb" ,libusb)))
5423 (arguments
5424 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5425 (home-page "https://github.com/hughsie/libgusb")
5426 (synopsis "GLib binding for libusb1")
5427 (description
5428 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5429 asynchronous control, bulk and interrupt transfers with proper cancellation
5430 and integration into a mainloop. This makes it easy to integrate low level
5431 USB transfers with your high-level application or system daemon.")
5432 (license license:lgpl2.1+)))
5433
5434 (define-public simple-scan
5435 (package
5436 (name "simple-scan")
5437 (version "3.36.3")
5438 (source
5439 (origin
5440 (method url-fetch)
5441 (uri (string-append "mirror://gnome/sources/simple-scan/"
5442 (version-major+minor version) "/"
5443 "simple-scan-" version ".tar.xz"))
5444 (sha256
5445 (base32 "0gsz7jqk0fdj0mama3cnss9i1adw18cpdnlcjcjh4r5qijmvx0vh"))))
5446 (build-system meson-build-system)
5447 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5448 (arguments
5449 '(#:glib-or-gtk? #t))
5450 (inputs
5451 `(("gtk" ,gtk+)
5452 ("zlib" ,zlib)
5453 ("cairo" ,cairo)
5454 ("colord" ,colord)
5455 ("gdk-pixbuf" ,gdk-pixbuf)
5456 ("gusb" ,gusb)
5457 ("libsane" ,sane-backends)))
5458 (native-inputs
5459 `(("gettext" ,gettext-minimal)
5460 ("itstool" ,itstool)
5461 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5462 ("pkg-config" ,pkg-config)
5463 ("vala" ,vala)
5464 ("xmllint" ,libxml2)))
5465 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5466 (synopsis "Document and image scanner")
5467 (description
5468 "Document Scanner is an easy-to-use application that lets you connect your
5469 scanner and quickly capture images and documents in an appropriate format. It
5470 supports any scanner for which a suitable SANE driver is available, which is
5471 almost all of them.")
5472 (license license:gpl3+)))
5473
5474 (define-public eolie
5475 (package
5476 (name "eolie")
5477 (version "0.9.98.1")
5478 (source (origin
5479 (method url-fetch)
5480 (uri (string-append "https://adishatz.org/eolie/eolie-"
5481 version ".tar.xz"))
5482 (sha256
5483 (base32
5484 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5485 (build-system meson-build-system)
5486 (arguments
5487 `(#:glib-or-gtk? #t
5488 #:phases
5489 (modify-phases %standard-phases
5490 (add-after 'unpack 'skip-gtk-update-icon-cache
5491 ;; Don't create 'icon-theme.cache'.
5492 (lambda _
5493 (substitute* "meson_post_install.py"
5494 (("gtk-update-icon-cache") "true"))
5495 #t))
5496 (add-after 'wrap 'wrap-more
5497 (lambda* (#:key inputs outputs #:allow-other-keys)
5498 (let* ((out (assoc-ref outputs "out"))
5499 ;; These libraries must be on LD_LIBRARY_PATH.
5500 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5501 "atk" "gtk+" "gsettings-desktop-schemas"
5502 "gobject-introspection"))
5503 (path (string-join
5504 (map (lambda (lib)
5505 (string-append (assoc-ref inputs lib) "/lib"))
5506 libs)
5507 ":")))
5508 (wrap-program (string-append out "/bin/eolie")
5509 `("LD_LIBRARY_PATH" ":" prefix (,path))
5510 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5511 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5512 #t)))))
5513 (native-inputs
5514 `(("intltool" ,intltool)
5515 ("itstool" ,itstool)
5516 ("pkg-config" ,pkg-config)
5517 ("python" ,python)
5518 ("glib:bin" ,glib "bin")))
5519 (inputs
5520 `(("gobject-introspection" ,gobject-introspection)
5521 ("glib-networking" ,glib-networking)
5522 ("cairo" ,cairo)
5523 ("gtk+" ,gtk+)
5524 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5525 ("python" ,python-wrapper)
5526 ("python-dateutil" ,python-dateutil)
5527 ("python-pyfxa" ,python-pyfxa)
5528 ("python-pygobject" ,python-pygobject)
5529 ("python-pycairo" ,python-pycairo)
5530 ("python-pycrypto" ,python-pycrypto)
5531 ("libsecret" ,libsecret)
5532 ("gtkspell3" ,gtkspell3)
5533 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5534 ("webkitgtk" ,webkitgtk)))
5535 (home-page "https://wiki.gnome.org/Apps/Eolie")
5536 (synopsis "Web browser for GNOME")
5537 (description
5538 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5539 a secret password store, an adblocker, and a modern UI.")
5540 (license license:gpl3+)))
5541
5542 (define-public epiphany
5543 (package
5544 (name "epiphany")
5545 (version "3.34.4")
5546 (source (origin
5547 (method url-fetch)
5548 (uri (string-append "mirror://gnome/sources/epiphany/"
5549 (version-major+minor version) "/"
5550 "epiphany-" version ".tar.xz"))
5551 (sha256
5552 (base32
5553 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5554
5555 (build-system meson-build-system)
5556 (arguments
5557 '(#:glib-or-gtk? #t
5558 #:phases
5559 (modify-phases %standard-phases
5560 (add-after 'unpack 'skip-gtk-update-icon-cache
5561 ;; Don't create 'icon-theme.cache'.
5562 (lambda _
5563 (substitute* "post_install.py"
5564 (("gtk-update-icon-cache") "true"))
5565 #t))
5566 (add-after 'unpack 'disable-failing-tests
5567 (lambda _
5568 (substitute* "tests/meson.build"
5569 ;; embed_shell fails, because webkitgtk apparently no longer supports
5570 ;; overriding the ftp schema
5571 ;; web_app_utils fails due to missing network access
5572 (("(embed_shell|web_app_utils)_test,")
5573 "find_program('sh'), args: ['-c', 'exit 77'],"))
5574 #t))
5575 (add-before 'check 'pre-check
5576 (lambda _
5577 ;; Tests require a running X server.
5578 (system "Xvfb :1 &")
5579 (setenv "DISPLAY" ":1")
5580 #t)))
5581 #:configure-flags
5582 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5583 (list (string-append "-Dc_link_args=-Wl,-rpath="
5584 (assoc-ref %outputs "out") "/lib/epiphany"))))
5585 (propagated-inputs
5586 `(("dconf" ,dconf)))
5587 (native-inputs
5588 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5589 ("glib:bin" ,glib "bin") ; for glib-mkenums
5590 ("intltool" ,intltool)
5591 ("itstool" ,itstool)
5592 ("pkg-config" ,pkg-config)
5593 ("xmllint" ,libxml2)
5594 ("xorg-server" ,xorg-server-for-tests)))
5595 (inputs
5596 `(("avahi" ,avahi)
5597 ("gcr" ,gcr)
5598 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5599 ("glib-networking" ,glib-networking)
5600 ("gnome-desktop" ,gnome-desktop)
5601 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5602 ("json-glib" ,json-glib)
5603 ("iso-codes" ,iso-codes)
5604 ("libdazzle" ,libdazzle)
5605 ("libnotify" ,libnotify)
5606 ("libsecret" ,libsecret)
5607 ("libxslt" ,libxslt)
5608 ("nettle" ,nettle) ; for hogweed
5609 ("sqlite" ,sqlite)
5610 ("webkitgtk" ,webkitgtk)))
5611 (home-page "https://wiki.gnome.org/Apps/Web")
5612 (synopsis "GNOME web browser")
5613 (description
5614 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5615 principles are simplicity and standards compliance.")
5616 (license license:gpl2+)))
5617
5618 (define-public d-feet
5619 (package
5620 (name "d-feet")
5621 (version "0.3.14")
5622 (source (origin
5623 (method url-fetch)
5624 (uri (string-append "mirror://gnome/sources/" name "/"
5625 (version-major+minor version) "/"
5626 name "-" version ".tar.xz"))
5627 (sha256
5628 (base32
5629 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5630 (build-system glib-or-gtk-build-system)
5631 (arguments
5632 '(#:out-of-source? #f ; tests need to run in the source directory.
5633 #:phases
5634 (modify-phases %standard-phases
5635 (add-before
5636 'check 'pre-check
5637 (lambda _
5638 ;; The test suite requires a running X server.
5639 (system "Xvfb :1 &")
5640 (setenv "DISPLAY" ":1")
5641 ;; Don't fail on missing '/etc/machine-id'.
5642 (setenv "DBUS_FATAL_WARNINGS" "0")
5643 ;; tests.py and window.py don't meet E402:
5644 ;; E402 module level import not at top of file
5645 (substitute* "src/tests/Makefile"
5646 (("--ignore=E123") "--ignore=E123,E402"))
5647 #t))
5648 (add-after
5649 'install 'wrap-program
5650 (lambda* (#:key outputs #:allow-other-keys)
5651 (let ((prog (string-append (assoc-ref outputs "out")
5652 "/bin/d-feet")))
5653 (wrap-program prog
5654 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5655 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5656 #t))))))
5657 (native-inputs
5658 `(("intltool" ,intltool)
5659 ("itstool" ,itstool)
5660 ("pkg-config" ,pkg-config)
5661 ("python-pep8" ,python-pep8)
5662 ("xmllint" ,libxml2)
5663 ("xorg-server" ,xorg-server-for-tests)))
5664 (inputs
5665 `(("gobject-introspection" ,gobject-introspection)
5666 ("gtk+" ,gtk+)
5667 ("python" ,python-wrapper)
5668 ("hicolor-icon-theme" ,hicolor-icon-theme)
5669 ("python-pygobject" ,python-pygobject)))
5670 (home-page "https://wiki.gnome.org/Apps/DFeet")
5671 (synopsis "D-Bus debugger")
5672 (description
5673 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5674 of running programs and invoke methods on those interfaces.")
5675 (license license:gpl2+)))
5676
5677 (define-public yelp-xsl
5678 (package
5679 (name "yelp-xsl")
5680 (version "3.34.2")
5681 (source (origin
5682 (method url-fetch)
5683 (uri (string-append "mirror://gnome/sources/" name "/"
5684 (version-major+minor version) "/"
5685 name "-" version ".tar.xz"))
5686 (sha256
5687 (base32
5688 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5689 (build-system gnu-build-system)
5690 (native-inputs
5691 `(("gettext-minimal" ,gettext-minimal)
5692 ("itstool" ,itstool)
5693 ("xmllint" ,libxml2)))
5694 (home-page "https://wiki.gnome.org/Apps/Yelp")
5695 (synopsis "XSL stylesheets for Yelp")
5696 (description
5697 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5698 to format Docbook and Mallard documents.")
5699 (license license:gpl2+)))
5700
5701 (define-public yelp
5702 (package
5703 (name "yelp")
5704 (version "3.32.2")
5705 (source (origin
5706 (method url-fetch)
5707 (uri (string-append "mirror://gnome/sources/" name "/"
5708 (version-major+minor version) "/"
5709 name "-" version ".tar.xz"))
5710 (sha256
5711 (base32
5712 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5713 (build-system glib-or-gtk-build-system)
5714 (native-inputs
5715 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5716 ("intltool" ,intltool)
5717 ("itstool" ,itstool)
5718 ("pkg-config" ,pkg-config)))
5719 (propagated-inputs
5720 `(("dconf" ,dconf)))
5721 (inputs
5722 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5723 ("libxslt" ,libxslt)
5724 ("sqlite" ,sqlite)
5725 ("webkitgtk" ,webkitgtk)
5726 ("yelp-xsl" ,yelp-xsl)))
5727 (home-page "https://wiki.gnome.org/Apps/Yelp")
5728 (synopsis "GNOME help browser")
5729 (description
5730 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5731 man, info, and HTML documents. It can locate documents according to the
5732 freedesktop.org help system specification.")
5733 (license license:gpl2+)))
5734
5735 (define-public yelp-tools
5736 (package
5737 (name "yelp-tools")
5738 (version "3.32.2")
5739 (source (origin
5740 (method url-fetch)
5741 (uri (string-append "mirror://gnome/sources/" name "/"
5742 (version-major+minor version) "/"
5743 name "-" version ".tar.xz"))
5744 (sha256
5745 (base32
5746 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5747 (build-system gnu-build-system)
5748 (native-inputs
5749 `(("pkg-config" ,pkg-config)))
5750 (propagated-inputs
5751 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5752 `(("itstool" ,itstool)
5753 ("xmllint" ,libxml2)
5754 ("xsltproc" ,libxslt)))
5755 (inputs
5756 `(("yelp-xsl" ,yelp-xsl)))
5757 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5758 (synopsis "Yelp documentation tools")
5759 (description
5760 "Yelp-tools is a collection of scripts and build utilities to help create,
5761 manage, and publish documentation for Yelp and the web. Most of the heavy
5762 lifting is done by packages like yelp-xsl and itstool. This package just
5763 wraps things up in a developer-friendly way.")
5764 (license license:gpl2+)))
5765
5766 (define-public libgee
5767 (package
5768 (name "libgee")
5769 (version "0.20.3")
5770 (source (origin
5771 (method url-fetch)
5772 (uri (string-append "mirror://gnome/sources/libgee/"
5773 (version-major+minor version) "/"
5774 "libgee-" version ".tar.xz"))
5775 (sha256
5776 (base32
5777 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5778 (build-system gnu-build-system)
5779 (arguments
5780 `(#:phases
5781 (modify-phases %standard-phases
5782 (add-after 'unpack 'fix-introspection-install-dir
5783 (lambda* (#:key outputs #:allow-other-keys)
5784 (let ((out (assoc-ref outputs "out")))
5785 (substitute* "gee/Makefile.in"
5786 (("@INTROSPECTION_GIRDIR@")
5787 (string-append out "/share/gir-1.0/"))
5788 (("@INTROSPECTION_TYPELIBDIR@")
5789 (string-append out "/lib/girepository-1.0/")))))))))
5790 (native-inputs
5791 `(("glib" ,glib "bin")
5792 ("pkg-config" ,pkg-config)))
5793 (inputs
5794 `(("glib" ,glib)
5795 ("gobject-introspection" ,gobject-introspection)))
5796 (home-page "https://wiki.gnome.org/Projects/Libgee")
5797 (synopsis "GObject collection library")
5798 (description
5799 "Libgee is a utility library providing GObject-based interfaces and
5800 classes for commonly used data structures.")
5801 (license license:lgpl2.1+)))
5802
5803 (define-public gexiv2
5804 (package
5805 (name "gexiv2")
5806 (version "0.12.1")
5807 (source (origin
5808 (method url-fetch)
5809 (uri (string-append "mirror://gnome/sources/" name "/"
5810 (version-major+minor version) "/"
5811 name "-" version ".tar.xz"))
5812 (sha256
5813 (base32
5814 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
5815 (build-system meson-build-system)
5816 (native-inputs
5817 `(("gcr" ,gcr)
5818 ("glib" ,glib "bin")
5819 ("pkg-config" ,pkg-config)
5820 ("vala" ,vala)))
5821 (propagated-inputs
5822 ;; Listed in "Requires" section of gexiv2.pc
5823 `(("exiv2" ,exiv2)))
5824 (inputs
5825 `(("glib" ,glib)
5826 ("gobject-introspection" ,gobject-introspection)))
5827 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5828 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5829 (description
5830 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5831 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5832 metadata in photo and video files of various formats.")
5833 (license license:gpl2+)))
5834
5835 (define-public shotwell
5836 (package
5837 (name "shotwell")
5838 (version "0.30.9")
5839 (source (origin
5840 (method url-fetch)
5841 (uri (string-append "mirror://gnome/sources/shotwell/"
5842 (version-major+minor version) "/"
5843 "shotwell-" version ".tar.xz"))
5844 (sha256
5845 (base32
5846 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
5847 (build-system meson-build-system)
5848 (arguments
5849 '(#:glib-or-gtk? #t
5850 #:phases
5851 (modify-phases %standard-phases
5852 (add-after 'unpack 'skip-gtk-update-icon-cache
5853 (lambda _
5854 (substitute* "build-aux/meson/postinstall.py"
5855 (("gtk-update-icon-cache") (which "true"))
5856 (("update-desktop-database") (which "true")))
5857 #t)))))
5858 (propagated-inputs
5859 `(("dconf" ,dconf)))
5860 (native-inputs
5861 `(("gettext" ,gettext-minimal)
5862 ("glib:bin" ,glib "bin")
5863 ("itstool" ,itstool)
5864 ("pkg-config" ,pkg-config)
5865 ("vala" ,vala)))
5866 (inputs
5867 `(("gcr" ,gcr)
5868 ("gexiv2" ,gexiv2)
5869 ("gst-plugins-base" ,gst-plugins-base)
5870 ("gstreamer" ,gstreamer)
5871 ("json-glib" ,json-glib)
5872 ("libgdata" ,libgdata)
5873 ("libgee" ,libgee)
5874 ("libgphoto2" ,libgphoto2)
5875 ("libgudev" ,libgudev)
5876 ("libraw" ,libraw)
5877 ("libsoup" ,libsoup)
5878 ("libxml2" ,libxml2)
5879 ("sqlite" ,sqlite)
5880 ("webkitgtk" ,webkitgtk)))
5881 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5882 (synopsis "Photo manager for GNOME 3")
5883 (description
5884 "Shotwell is a digital photo manager designed for the GNOME desktop
5885 environment. It allows you to import photos from disk or camera, organize
5886 them by keywords and events, view them in full-window or fullscreen mode, and
5887 share them with others via social networking and more.")
5888 (license license:lgpl2.1+)))
5889
5890 (define-public file-roller
5891 (package
5892 (name "file-roller")
5893 (version "3.32.3")
5894 (source (origin
5895 (method url-fetch)
5896 (uri (string-append "mirror://gnome/sources/file-roller/"
5897 (version-major+minor version) "/"
5898 "file-roller-" version ".tar.xz"))
5899 (sha256
5900 (base32
5901 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5902 (build-system meson-build-system)
5903 (native-inputs
5904 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5905 ("intltool" ,intltool)
5906 ("itstool" ,itstool)
5907 ("pkg-config" ,pkg-config)
5908 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5909 ("glib:bin" ,glib "bin")))
5910 ;; TODO: Add libnautilus.
5911 (inputs
5912 `(("gtk+" ,gtk+)
5913 ("gdk-pixbuf" ,gdk-pixbuf)
5914 ("json-glib" ,json-glib)
5915 ("libarchive" ,libarchive)
5916 ("libnotify" ,libnotify)
5917 ("nettle" ,nettle)
5918 ("libxml2" ,libxml2)))
5919 (synopsis "Graphical archive manager for GNOME")
5920 (description "File Roller is an archive manager for the GNOME desktop
5921 environment that allows users to view, unpack, and create compressed archives
5922 such as gzip tarballs.")
5923 (home-page "http://fileroller.sourceforge.net/")
5924 (license license:gpl2+)))
5925
5926 (define-public gnome-session
5927 (package
5928 (name "gnome-session")
5929 (version "3.34.2")
5930 (source (origin
5931 (method url-fetch)
5932 (uri (string-append "mirror://gnome/sources/" name "/"
5933 (version-major+minor version) "/"
5934 name "-" version ".tar.xz"))
5935 (sha256
5936 (base32
5937 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5938 (arguments
5939 '(#:glib-or-gtk? #t
5940 #:phases
5941 (modify-phases %standard-phases
5942 (add-before 'configure 'pre-configure
5943 (lambda* (#:key outputs #:allow-other-keys)
5944 ;; Use elogind instead of systemd.
5945 (substitute* "meson.build"
5946 (("libsystemd-login") "libelogind")
5947 (("and libsystemd_daemon_dep.found.*") ","))
5948 (substitute* "gnome-session/gsm-systemd.c"
5949 (("#include <systemd/sd-login.h>")
5950 "#include <elogind/sd-login.h>"))
5951 ;; Remove uses of the systemd daemon.
5952 (substitute* "gnome-session/gsm-autostart-app.c"
5953 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5954 #t))
5955 (add-after 'install 'wrap-gnome-session
5956 (lambda* (#:key inputs outputs #:allow-other-keys)
5957 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5958 (let ((glib (assoc-ref inputs "glib:bin"))
5959 (out (assoc-ref outputs "out")))
5960 (wrap-program (string-append out "/bin/gnome-session")
5961 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5962 #t))))
5963
5964 #:configure-flags
5965 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5966 "-Dman=false" ; FIXME: disabled because of docbook validation error
5967 "-Dsystemd_journal=false")))
5968 (build-system meson-build-system)
5969 (native-inputs
5970 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5971 ("pkg-config" ,pkg-config)
5972 ("intltool" ,intltool)
5973 ("xsltproc" ,libxslt)
5974 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5975 ("docbook-xsl" ,docbook-xsl)
5976 ("docbook-xml" ,docbook-xml)
5977 ("xmlto" ,xmlto)))
5978 (inputs
5979 `(("elogind" ,elogind)
5980 ("gnome-desktop" ,gnome-desktop)
5981 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5982 ("gtk+" ,gtk+)
5983 ("json-glib" ,json-glib)
5984 ("libsm" ,libsm)
5985 ("libxcomposite" ,libxcomposite)
5986 ("libxtst" ,libxtst)
5987 ("mesa" ,mesa)
5988 ("upower" ,upower)
5989 ("xtrans" ,xtrans)))
5990 (synopsis "Session manager for GNOME")
5991 (description
5992 "This package contains the GNOME session manager, as well as a
5993 configuration program to choose applications starting on login.")
5994 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5995 (license license:gpl2+)))
5996
5997 (define-public gjs
5998 (package
5999 (name "gjs")
6000 (version "1.58.3")
6001 (source (origin
6002 (method url-fetch)
6003 (uri (string-append "mirror://gnome/sources/" name "/"
6004 (version-major+minor version) "/"
6005 name "-" version ".tar.xz"))
6006 (sha256
6007 (base32
6008 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
6009 (build-system gnu-build-system)
6010 (arguments
6011 '(#:phases
6012 (modify-phases %standard-phases
6013 (add-before
6014 'check 'pre-check
6015 (lambda _
6016 ;; The test suite requires a running X server.
6017 (system "Xvfb :1 &")
6018 (setenv "DISPLAY" ":1")
6019
6020 ;; For the missing /etc/machine-id.
6021 (setenv "DBUS_FATAL_WARNINGS" "0")
6022
6023 ;; Our mozjs-38 package does not compile the required Intl API
6024 ;; support for these failing tests.
6025 (substitute* "installed-tests/js/testLocale.js"
6026 ((".*toBeDefined.*") "")
6027 ((".*expect\\(datestr\\).*") ""))
6028 (substitute* "installed-tests/scripts/testCommandLine.sh"
6029 (("Valentín") "")
6030 (("☭") ""))
6031 #t)))))
6032 (native-inputs
6033 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
6034 ("pkg-config" ,pkg-config)
6035 ("xmllint" ,libxml2)
6036 ;; For testing
6037 ("dbus-launch" ,dbus)
6038 ("dconf" ,dconf) ; required to properly store settings
6039 ("uuidgen" ,util-linux)
6040 ("xvfb" ,xorg-server-for-tests)))
6041 (propagated-inputs
6042 ;; These are all in the Requires.private field of gjs-1.0.pc.
6043 `(("cairo" ,cairo)
6044 ("gobject-introspection" ,gobject-introspection)
6045 ("mozjs" ,mozjs-60)))
6046 (inputs
6047 `(("gtk+" ,gtk+)
6048 ("readline" ,readline)))
6049 (synopsis "Javascript bindings for GNOME")
6050 (home-page "https://live.gnome.org/Gjs")
6051 (description
6052 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6053 javascript engine and the GObject introspection framework.")
6054 (license license:gpl2+)))
6055
6056 (define-public gedit
6057 (package
6058 (name "gedit")
6059 (version "3.34.1")
6060 (source (origin
6061 (method url-fetch)
6062 (uri (string-append "mirror://gnome/sources/" name "/"
6063 (version-major+minor version) "/"
6064 name "-" version ".tar.xz"))
6065 (sha256
6066 (base32
6067 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
6068 (build-system meson-build-system)
6069 (arguments
6070 `(#:glib-or-gtk? #t
6071 #:configure-flags
6072 ;; Otherwise, the RUNPATH will lack the final path component.
6073 (list (string-append "-Dc_link_args=-Wl,-rpath="
6074 (assoc-ref %outputs "out") "/lib/gedit"))
6075
6076 ;; XXX: Generated .h files are sometimes used before being built.
6077 #:parallel-build? #f
6078
6079 #:phases
6080 (modify-phases %standard-phases
6081 (add-after 'unpack 'skip-gtk-update-icon-cache
6082 ;; Don't create 'icon-theme.cache'.
6083 (lambda _
6084 (substitute* "build-aux/meson/post_install.py"
6085 (("gtk-update-icon-cache") (which "true")))
6086 #t))
6087 (add-after 'unpack 'patch-libgd-fetch
6088 (lambda* (#:key inputs #:allow-other-keys)
6089 (let ((libgd (assoc-ref inputs "libgd")))
6090 ;; Calling git is unnecessary because libgd is fetched as a
6091 ;; native input to this package.
6092 (substitute* "meson.build"
6093 ((".*git.*") ""))
6094 (copy-recursively libgd "subprojects/libgd")
6095 #t)))
6096 (add-after 'install 'wrap-gedit
6097 (lambda* (#:key inputs outputs #:allow-other-keys)
6098 (let ((out (assoc-ref outputs "out"))
6099 (gtksourceview (assoc-ref inputs "gtksourceview"))
6100 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6101 (python-path (getenv "PYTHONPATH")))
6102 (wrap-program (string-append out "/bin/gedit")
6103 ;; For plugins.
6104 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6105 `("PYTHONPATH" ":" prefix (,python-path))
6106 ;; For language-specs.
6107 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6108 "/share")))))
6109 #t)))))
6110 (propagated-inputs
6111 `(("dconf" ,dconf)))
6112 (native-inputs
6113 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6114 ("intltool" ,intltool)
6115 ("itstool" ,itstool)
6116 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6117 ("gobject-introspection" ,gobject-introspection)
6118 ("libgd"
6119 ,(origin
6120 (method git-fetch)
6121 (uri (git-reference
6122 (url "https://gitlab.gnome.org/GNOME/libgd")
6123 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6124 (file-name (git-file-name "libgd" version))
6125 (sha256
6126 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6127 ("pkg-config" ,pkg-config)))
6128 (inputs
6129 `(("glib" ,glib)
6130 ("gspell" ,gspell)
6131 ("gtk+" ,gtk+)
6132 ("gtksourceview" ,gtksourceview)
6133 ("libpeas" ,libpeas)
6134 ("libxml2" ,libxml2)
6135 ("iso-codes" ,iso-codes)
6136 ("python-pygobject" ,python-pygobject)
6137 ("python" ,python)
6138 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6139 ("libx11" ,libx11)
6140 ("vala" ,vala)
6141 ("adwaita-icon-theme" ,adwaita-icon-theme)
6142 ("libsoup" ,libsoup)
6143 ("gnome-desktop" ,gnome-desktop)))
6144 (home-page "https://wiki.gnome.org/Apps/Gedit")
6145 (synopsis "GNOME text editor")
6146 (description "While aiming at simplicity and ease of use, gedit is a
6147 powerful general purpose text editor.")
6148 (license license:gpl2+)))
6149
6150 (define-public zenity
6151 (package
6152 (name "zenity")
6153 (version "3.32.0")
6154 (source (origin
6155 (method url-fetch)
6156 (uri (string-append "mirror://gnome/sources/zenity/"
6157 (version-major+minor version) "/"
6158 "zenity-" version ".tar.xz"))
6159 (sha256
6160 (base32
6161 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6162 (build-system gnu-build-system)
6163 (native-inputs
6164 `(("gettext" ,gettext-minimal)
6165 ("itstool" ,itstool)
6166 ("pkg-config" ,pkg-config)))
6167 (inputs
6168 `(("libnotify" ,libnotify)
6169 ("webkitgtk" ,webkitgtk)))
6170 (synopsis "Display graphical dialog boxes from shell scripts")
6171 (home-page "https://www.gnome.org")
6172 (description
6173 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6174 to display dialog boxes from the commandline and shell scripts.")
6175 (license license:lgpl2.0+)))
6176
6177 (define-public mutter
6178 (package
6179 (name "mutter")
6180 (version "3.34.2")
6181 (source (origin
6182 (method url-fetch)
6183 (uri (string-append "mirror://gnome/sources/" name "/"
6184 (version-major+minor version) "/"
6185 name "-" version ".tar.xz"))
6186 (sha256
6187 (base32
6188 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6189 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6190 ;; versions of cogl and clutter. As a result, many of the inputs,
6191 ;; propagated-inputs, and configure flags used in cogl and clutter are
6192 ;; needed here as well.
6193 (build-system meson-build-system)
6194 (arguments
6195 '(;; XXX: All mutter tests fail with the following error:
6196 ;; Settings schema 'org.gnome.mutter' is not installed
6197 #:tests? #f
6198 #:glib-or-gtk? #t
6199 #:configure-flags
6200 ;; TODO: Enable profiler when Sysprof is packaged.
6201 (list "-Dprofiler=false"
6202 ;; Otherwise, the RUNPATH will lack the final path component.
6203 (string-append "-Dc_link_args=-Wl,-rpath="
6204 (assoc-ref %outputs "out") "/lib:"
6205 (assoc-ref %outputs "out") "/lib/mutter-5")
6206
6207 ;; The following flags are needed for the bundled clutter
6208 (string-append "-Dxwayland_path="
6209 (assoc-ref %build-inputs "xorg-server-xwayland")
6210 "/bin/Xwayland")
6211
6212 ;; the remaining flags are needed for the bundled cogl
6213 (string-append "-Dopengl_libname="
6214 (assoc-ref %build-inputs "mesa")
6215 "/lib/libGL.so"))
6216 #:phases (modify-phases %standard-phases
6217 (add-after 'unpack 'fix-build-with-mesa-20
6218 (lambda _
6219 ;; Mimic upstream commit a444a4c5f58ea516ad for
6220 ;; compatibility with Mesa 20. Remove for 3.36.
6221 (substitute* '("src/backends/meta-egl-ext.h"
6222 "src/backends/meta-egl.c"
6223 "src/backends/meta-egl.h")
6224 (("#include <EGL/eglext\\.h>" all)
6225 (string-append all "\n#include <EGL/eglmesaext.h>")))
6226 (substitute* "cogl/cogl/meson.build"
6227 (("#include <EGL/eglext\\.h>" all)
6228 (string-append all "\\n#include <EGL/eglmesaext.h>")))
6229 #t)))))
6230 (native-inputs
6231 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6232 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6233 ("gobject-introspection" ,gobject-introspection)
6234 ("intltool" ,intltool)
6235 ("pkg-config" ,pkg-config)
6236 ("xorg-server" ,xorg-server-for-tests)
6237 ;; For git build
6238 ("autoconf" ,autoconf)
6239 ("automake" ,automake)
6240 ("libtool" ,libtool)))
6241 (propagated-inputs
6242 `(;; libmutter.pc refers to these:
6243 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6244 ("gtk+" ,gtk+)
6245 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6246 ("atk" ,atk)
6247 ("cairo" ,cairo)
6248 ("gdk-pixbuf" ,gdk-pixbuf)
6249 ("glib" ,glib)
6250 ("json-glib" ,json-glib)
6251 ("libinput" ,libinput)
6252 ("libx11" ,libx11)
6253 ("libxcomposite" ,libxcomposite)
6254 ("libxdamage" ,libxdamage)
6255 ("libxext" ,libxext)
6256 ("libxfixes" ,libxfixes)
6257 ("libxkbcommon" ,libxkbcommon)
6258 ("libxrandr" ,libxrandr)
6259 ("mesa" ,mesa)
6260 ("pango" ,pango)
6261 ("udev" ,eudev)
6262 ("xinput" ,xinput)))
6263 (inputs
6264 `(("elogind" ,elogind)
6265 ("gnome-desktop" ,gnome-desktop)
6266 ("gnome-settings-daemon" ,gnome-settings-daemon)
6267 ("libcanberra-gtk" ,libcanberra)
6268 ("libgudev" ,libgudev)
6269 ("libice" ,libice)
6270 ("libsm" ,libsm)
6271 ("libwacom" ,libwacom)
6272 ("libxkbfile" ,libxkbfile)
6273 ("libxrandr" ,libxrandr)
6274 ("libxtst" ,libxtst)
6275 ("pipewire" ,pipewire)
6276 ("startup-notification" ,startup-notification)
6277 ("upower-glib" ,upower)
6278 ("xkeyboard-config" ,xkeyboard-config)
6279 ("xorg-server-xwayland" ,xorg-server-xwayland)
6280 ("zenity" ,zenity)))
6281 (synopsis "Window and compositing manager")
6282 (home-page "https://www.gnome.org")
6283 (description
6284 "Mutter is a window and compositing manager that displays and manages your
6285 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6286 Clutter toolkit with solid window-management logic inherited from the Metacity
6287 window manager.")
6288 (license license:gpl2+)))
6289
6290 (define-public gnome-online-accounts
6291 (package
6292 (name "gnome-online-accounts")
6293 (version "3.36.0")
6294 (source (origin
6295 (method url-fetch)
6296 (uri (string-append "mirror://gnome/sources/" name "/"
6297 (version-major+minor version) "/"
6298 name "-" version ".tar.xz"))
6299 (sha256
6300 (base32
6301 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6302 (outputs '("out" "lib"))
6303 (build-system glib-or-gtk-build-system)
6304 (arguments
6305 `(#:configure-flags
6306 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6307 #:phases
6308 (modify-phases %standard-phases
6309 (add-before 'configure 'patch-libgoa-output
6310 (lambda* (#:key outputs #:allow-other-keys)
6311 (let ((lib (assoc-ref outputs "lib")))
6312 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6313 (("@prefix@") lib)
6314 (("@exec_prefix@") lib)
6315 (("@libdir@") (string-append lib "/lib"))
6316 (("@includedir@") (string-append lib "/include"))
6317 (("@datadir@") (string-append lib "/share")))
6318 ;; Make sure gobject-introspection knows about the output
6319 ;; too (see <https://bugs.gnu.org/36535>).
6320 (setenv "outputs" "out lib")
6321 #t))))))
6322 (native-inputs
6323 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6324 ("gobject-introspection" ,gobject-introspection)
6325 ("intltool" ,intltool)
6326 ("pkg-config" ,pkg-config)
6327 ("vala" ,vala)
6328 ("xsltproc" ,libxslt)))
6329 (propagated-inputs
6330 `(("glib" ,glib) ; required by goa-1.0.pc
6331 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6332 (inputs
6333 `(("docbook-xsl" ,docbook-xsl)
6334 ("json-glib" ,json-glib)
6335 ("libsecret" ,libsecret)
6336 ("rest" ,rest)
6337 ("webkitgtk" ,webkitgtk)))
6338 (synopsis "Single sign-on framework for GNOME")
6339 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6340 (description
6341 "GNOME Online Accounts provides interfaces so that applications and
6342 libraries in GNOME can access the user's online accounts. It has providers for
6343 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6344 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6345 (license license:lgpl2.0+)))
6346
6347 (define-public evolution-data-server
6348 (package
6349 (name "evolution-data-server")
6350 (version "3.34.2")
6351 (source (origin
6352 (method url-fetch)
6353 (uri (string-append "mirror://gnome/sources/" name "/"
6354 (version-major+minor version) "/"
6355 name "-" version ".tar.xz"))
6356 (patches (search-patches "evolution-data-server-locales.patch"
6357 "evolution-data-server-libical-compat.patch"))
6358 (sha256
6359 (base32
6360 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6361 (build-system cmake-build-system)
6362 (arguments
6363 '(#:configure-flags
6364 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6365 (runpaths (map (lambda (s)
6366 (string-append lib "/evolution-data-server/" s))
6367 '("addressbook-backends" "calendar-backends"
6368 "camel-providers" "credential-modules"
6369 "registry-modules"))))
6370 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6371 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6372 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6373 "-DENABLE_VALA_BINDINGS=ON"
6374 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6375 (string-append lib "/evolution-data-server;")
6376 (string-join runpaths ";"))
6377 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6378 #:phases
6379 (modify-phases %standard-phases
6380 (add-after 'unpack 'disable-failing-tests
6381 (lambda _
6382 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6383 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6384 (delete-file-recursively "tests/book-migration")
6385 (substitute* "tests/CMakeLists.txt"
6386 (("add_subdirectory\\(book-migration\\)") ""))
6387 #t))
6388 (add-after 'unpack 'patch-paths
6389 (lambda _
6390 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6391 "tests/libedata-book/data-test-utils.c"
6392 "tests/libedata-book/test-book-cache-utils.c"
6393 "tests/libedata-cal/test-cal-cache-utils.c")
6394 (("/bin/rm") (which "rm")))
6395 #t))
6396 (add-before 'configure 'dont-override-rpath
6397 (lambda _
6398 (substitute* "CMakeLists.txt"
6399 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6400 ;; Remove it so the configure flag is respected.
6401 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6402 #t)))))
6403 (native-inputs
6404 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6405 ("gobject-introspection" ,gobject-introspection)
6406 ("gperf" ,gperf)
6407 ("intltool" ,intltool)
6408 ("pkg-config" ,pkg-config)
6409 ("vala" ,vala)
6410 ("python" ,python-wrapper)))
6411 (propagated-inputs
6412 ;; These are all in the Requires field of .pc files.
6413 `(("gtk+" ,gtk+)
6414 ("libical" ,libical)
6415 ("libsecret" ,libsecret)
6416 ("libsoup" ,libsoup)
6417 ("nss" ,nss)
6418 ("sqlite" ,sqlite)))
6419 (inputs
6420 `(("bdb" ,bdb)
6421 ("gcr" ,gcr)
6422 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6423 ("json-glib" ,json-glib)
6424 ("libcanberra" ,libcanberra)
6425 ("libgweather" ,libgweather)
6426 ("mit-krb5" ,mit-krb5)
6427 ("openldap" ,openldap)
6428 ("webkitgtk" ,webkitgtk)))
6429 (synopsis "Store address books and calendars")
6430 (home-page "https://wiki.gnome.org/Apps/Evolution")
6431 (description
6432 "This package provides a unified backend for programs that work with
6433 contacts, tasks, and calendar information. It was originally developed for
6434 Evolution (hence the name), but is now used by other packages as well.")
6435 (license license:lgpl2.0)))
6436
6437 (define-public caribou
6438 (package
6439 (name "caribou")
6440 (version "0.4.21")
6441 (source (origin
6442 (method url-fetch)
6443 (uri (string-append "mirror://gnome/sources/" name "/"
6444 (version-major+minor version) "/"
6445 name "-" version ".tar.xz"))
6446 (sha256
6447 (base32
6448 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6449 (build-system glib-or-gtk-build-system)
6450 (arguments
6451 '(#:phases
6452 (modify-phases %standard-phases
6453 (add-before
6454 'build 'pre-build
6455 (lambda* (#:key outputs #:allow-other-keys)
6456 (let ((out (assoc-ref outputs "out")))
6457 ;; Use absolute shared library path in Caribou-1.0.typelib.
6458 (substitute* "libcaribou/Makefile"
6459 (("--shared-library=libcaribou.so")
6460 (string-append "--shared-library="
6461 out "/lib/libcaribou.so")))
6462 #t)))
6463 (add-after 'install 'wrap-programs
6464 (lambda* (#:key outputs #:allow-other-keys)
6465 (let* ((out (assoc-ref outputs "out"))
6466 (python-path (getenv "PYTHONPATH"))
6467 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6468 (for-each
6469 (lambda (prog)
6470 (wrap-program prog
6471 `("PYTHONPATH" ":" prefix (,python-path))
6472 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6473 (list (string-append out "/bin/caribou-preferences")
6474 (string-append out "/libexec/antler-keyboard"))))
6475 #t)))))
6476 (native-inputs
6477 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6478 ("gobject-introspection" ,gobject-introspection)
6479 ("intltool" ,intltool)
6480 ("pkg-config" ,pkg-config)
6481 ("python" ,python)
6482 ("vala" ,vala)
6483 ("xsltproc" ,libxslt)))
6484 (propagated-inputs
6485 ;; caribou-1.0.pc refers to all these.
6486 `(("libgee" ,libgee)
6487 ("libxklavier" ,libxklavier)
6488 ("libxtst" ,libxtst)
6489 ("gtk+" ,gtk+)))
6490 (inputs
6491 `(("clutter" ,clutter)
6492 ("dconf" ,dconf)
6493 ("gtk+-2" ,gtk+-2)
6494 ("python-pygobject" ,python-pygobject)))
6495 (synopsis "Text entry and UI navigation application")
6496 (home-page "https://wiki.gnome.org/Projects/Caribou")
6497 (description
6498 "Caribou is an input assistive technology intended for switch and pointer
6499 users.")
6500 (license license:lgpl2.1)))
6501
6502 (define-public network-manager
6503 (package
6504 (name "network-manager")
6505 (version "1.24.0")
6506 (source (origin
6507 (method url-fetch)
6508 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6509 (version-major+minor version) "/"
6510 "NetworkManager-" version ".tar.xz"))
6511 (patches (search-patches "network-manager-plugin-path.patch"))
6512 (sha256
6513 (base32
6514 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
6515 (modules '((guix build utils)))
6516 (snippet
6517 '(begin
6518 (substitute* "src/devices/wwan/nm-modem-manager.c"
6519 (("systemd") "elogind"))
6520 #t))))
6521 (build-system meson-build-system)
6522 (outputs '("out"
6523 "doc")) ; 8 MiB of gtk-doc HTML
6524 (arguments
6525 `(#:configure-flags
6526 (let ((out (assoc-ref %outputs "out"))
6527 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6528 "/sbin/dhclient")))
6529 (list
6530 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
6531 ;; component.
6532 (string-append "-Dc_link_args=-Wl,-rpath="
6533 out "/lib:"
6534 out "/lib/NetworkManager/" ,version)
6535 "-Dsystemd_journal=false"
6536 "-Dsession_tracking=elogind"
6537 "-Dsuspend_resume=elogind"
6538 "-Dsystemdsystemunitdir=no"
6539 "-Dsession_tracking_consolekit=false"
6540 "-Ddhcpcd=no"
6541 "-Ddhcpcanon=no"
6542 "-Dcrypto=gnutls"
6543 "-Diwd=true"
6544 "-Dlibaudit=yes"
6545 "-Dqt=false"
6546 "-Ddocs=true"
6547 "--sysconfdir=/etc"
6548 "--localstatedir=/var"
6549 (string-append "-Dudev_dir="
6550 out "/lib/udev")
6551 (string-append "-Ddbus_conf_dir="
6552 out "/etc/dbus-1/system.d")
6553
6554 (string-append "-Ddhclient=" dhclient)))
6555 #:phases
6556 (modify-phases %standard-phases
6557 (add-before 'configure 'pre-configure
6558 (lambda _
6559 ;; These tests try to test aspects of network-manager's
6560 ;; functionality within restricted containers, but they don't
6561 ;; cope with being already in the Guix build jail as that jail
6562 ;; lacks some features that they would like to proxy over (like
6563 ;; a /sys mount).
6564 (substitute* "src/platform/tests/meson.build"
6565 ((".*test-address-linux.*") "")
6566 ((".*test-cleanup-linux.*") "")
6567 ((".*test-link-linux.*") "")
6568 ((".*test-route-linux.*") ""))
6569 (substitute* "src/devices/tests/meson.build"
6570 ((".*test-acd.*") "")
6571 ((".*test-lldp.*") ""))
6572 #t))
6573 (add-after 'unpack 'patch-docbook-xml
6574 (lambda* (#:key inputs #:allow-other-keys)
6575 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
6576 "/xml/dtd/docbook")))
6577 (substitute* (find-files "." ".*\\.(xsl|xml)")
6578 (("http://.*/docbookx\\.dtd")
6579 (string-append xmldoc "/docbookx.dtd")))
6580 #t)))
6581 (add-before 'check 'pre-check
6582 (lambda _
6583 ;; For the missing /etc/machine-id.
6584 (setenv "DBUS_FATAL_WARNINGS" "0")
6585 #t))
6586 (add-before 'install 'no-polkit-magic
6587 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
6588 (lambda _
6589 (setenv "PKEXEC_UID" "something")
6590 #t))
6591 (add-after 'install 'move-doc
6592 (lambda* (#:key outputs #:allow-other-keys)
6593 (let ((out (assoc-ref outputs "out"))
6594 (doc (assoc-ref outputs "doc")))
6595 (mkdir-p (string-append doc "/share"))
6596 (for-each (lambda (directory)
6597 (copy-recursively (string-append out directory)
6598 (string-append doc directory))
6599 (delete-file-recursively
6600 (string-append out directory)))
6601 '("/share/doc" "/share/gtk-doc"))
6602 #t))))))
6603 (propagated-inputs
6604 `(("glib" ,glib)))
6605 (native-inputs
6606 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6607 ("gtk-doc" ,gtk-doc)
6608 ("gobject-introspection" ,gobject-introspection)
6609 ("docbook-xml" ,docbook-xml)
6610 ("docbook-xsl" ,docbook-xsl)
6611 ("intltool" ,intltool)
6612 ("libxslt" ,libxslt)
6613 ("libxml2" ,libxml2)
6614 ("pkg-config" ,pkg-config)
6615 ("vala" ,vala)
6616 ;; For testing.
6617 ("python" ,python-wrapper)
6618 ("python-dbus" ,python-dbus)
6619 ("python-pygobject" ,python-pygobject)))
6620 (inputs
6621 `(("curl" ,curl)
6622 ("cyrus-sasl" ,cyrus-sasl)
6623 ("dbus-glib" ,dbus-glib)
6624 ("dnsmasq" ,dnsmasq)
6625 ("eudev" ,eudev)
6626 ("gnutls" ,gnutls)
6627 ("iptables" ,iptables)
6628 ("isc-dhcp" ,isc-dhcp)
6629 ("iwd" ,iwd) ; wpa_supplicant alternative
6630 ("jansson" ,jansson)
6631 ("libaudit" ,audit)
6632 ("libgcrypt" ,libgcrypt)
6633 ("libgudev" ,libgudev)
6634 ("libndp" ,libndp)
6635 ("libnl" ,libnl)
6636 ("libsoup" ,libsoup)
6637 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
6638 ("modem-manager" ,modem-manager)
6639 ("newt" ,newt) ;for the 'nmtui' console interface
6640 ("openresolv" ,openresolv) ; alternative resolv.conf manager
6641 ("polkit" ,polkit)
6642 ("ppp" ,ppp)
6643 ("readline" ,readline)
6644 ("util-linux" ,util-linux)
6645 ("elogind" ,elogind)))
6646 (synopsis "Network connection manager")
6647 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6648 (description
6649 "NetworkManager is a system network service that manages your network
6650 devices and connections, attempting to keep active network connectivity when
6651 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6652 devices, and provides VPN integration with a variety of different VPN
6653 services.")
6654 ;; “This NetworkManager project consists of the daemon, client tools, and
6655 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
6656 ;; GPL-2.0+.”
6657 (license (list license:gpl2+
6658 license:lgpl2.1+))
6659 (properties '((upstream-name . "NetworkManager")))))
6660
6661 (define-public network-manager-openvpn
6662 (package
6663 (name "network-manager-openvpn")
6664 (version "1.8.12")
6665 (source (origin
6666 (method url-fetch)
6667 (uri (string-append
6668 "mirror://gnome/sources/NetworkManager-openvpn/"
6669 (version-major+minor version)
6670 "/NetworkManager-openvpn-" version ".tar.xz"))
6671 (sha256
6672 (base32
6673 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
6674 (build-system gnu-build-system)
6675 (arguments
6676 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6677 #:phases
6678 (modify-phases %standard-phases
6679 (add-after 'configure 'patch-path
6680 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6681 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6682 "/sbin/openvpn"))
6683 (modprobe (string-append (assoc-ref inputs "kmod")
6684 "/bin/modprobe"))
6685 (pretty-ovpn (string-append "\"" ovpn "\"")))
6686 (for-each
6687 (lambda (file)
6688 (substitute* file
6689 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6690 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6691 (("\"/sbin/openvpn\"") pretty-ovpn)
6692 (("/sbin/modprobe") modprobe)))
6693 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6694 #t)))))
6695 (native-inputs
6696 `(("pkg-config" ,pkg-config)
6697 ("intltool" ,intltool)))
6698 (inputs
6699 `(("gtk+" ,gtk+)
6700 ("kmod" ,kmod)
6701 ("openvpn" ,openvpn)
6702 ("network-manager" ,network-manager)
6703 ("libnma" ,libnma)
6704 ("libsecret" ,libsecret)))
6705 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6706 (synopsis "OpenVPN plug-in for NetworkManager")
6707 (description
6708 "This extension of NetworkManager allows it to take care of connections
6709 to virtual private networks (VPNs) via OpenVPN.")
6710 (license license:gpl2+)
6711 (properties `((upstream-name . "NetworkManager-openvpn")))))
6712
6713 (define-public network-manager-vpnc
6714 (package
6715 (name "network-manager-vpnc")
6716 (version "1.2.6")
6717 (source (origin
6718 (method url-fetch)
6719 (uri (string-append
6720 "mirror://gnome/sources/NetworkManager-vpnc/"
6721 (version-major+minor version)
6722 "/NetworkManager-vpnc-" version ".tar.xz"))
6723 (sha256
6724 (base32
6725 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6726 (build-system gnu-build-system)
6727 (arguments
6728 `(#:configure-flags '("--enable-absolute-paths"
6729 "--localstatedir=/var"
6730 ;; libnm-glib has been removed from network-manager
6731 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
6732 "--with-libnm-glib=no")
6733 #:phases
6734 (modify-phases %standard-phases
6735 (add-after 'configure 'patch-path
6736 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6737 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6738 "/sbin/vpnc"))
6739 (modprobe (string-append (assoc-ref inputs "kmod")
6740 "/bin/modprobe"))
6741 (pretty-ovpn (string-append "\"" vpnc "\"")))
6742 (substitute* "src/nm-vpnc-service.c"
6743 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6744 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6745 (("\"/sbin/vpnc\"") pretty-ovpn)
6746 (("/sbin/modprobe") modprobe)))
6747 #t)))))
6748 (native-inputs
6749 `(("pkg-config" ,pkg-config)
6750 ("intltool" ,intltool)))
6751 (inputs
6752 `(("gtk+" ,gtk+)
6753 ("kmod" ,kmod)
6754 ("vpnc" ,vpnc)
6755 ("network-manager" ,network-manager)
6756 ("libnma" ,libnma)
6757 ("libsecret" ,libsecret)))
6758 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6759 (synopsis "VPNC plug-in for NetworkManager")
6760 (description
6761 "Support for configuring virtual private networks based on VPNC.
6762 Compatible with Cisco VPN concentrators configured to use IPsec.")
6763 (license license:gpl2+)
6764 (properties `((upstream-name . "NetworkManager-vpnc")))))
6765
6766 (define-public network-manager-openconnect
6767 (package
6768 (name "network-manager-openconnect")
6769 (version "1.2.6")
6770 (source (origin
6771 (method url-fetch)
6772 (uri (string-append
6773 "mirror://gnome/sources/NetworkManager-openconnect/"
6774 (version-major+minor version)
6775 "/NetworkManager-openconnect-" version ".tar.xz"))
6776 (sha256
6777 (base32
6778 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6779 (build-system gnu-build-system)
6780 (arguments
6781 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6782 #:phases
6783 (modify-phases %standard-phases
6784 (add-after 'configure 'patch-path
6785 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6786 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6787 "/sbin/openconnect"))
6788 (modprobe (string-append (assoc-ref inputs "kmod")
6789 "/bin/modprobe"))
6790 (pretty-ovpn (string-append "\"" openconnect "\"")))
6791 (substitute* "src/nm-openconnect-service.c"
6792 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
6793 (("/sbin/modprobe") modprobe)))
6794 #t)))))
6795 (native-inputs
6796 `(("intltool" ,intltool)
6797 ("libnma" ,libnma)
6798 ("pkg-config" ,pkg-config)))
6799 (inputs
6800 `(("gcr" ,gcr)
6801 ("gtk+" ,gtk+)
6802 ("kmod" ,kmod)
6803 ("libsecret" ,libsecret)
6804 ("libxml2" ,libxml2)
6805 ("lz4" ,lz4)
6806 ("network-manager" ,network-manager)
6807 ("openconnect" ,openconnect)))
6808 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6809 (synopsis "OpenConnect plug-in for NetworkManager")
6810 (description
6811 "This extension of NetworkManager allows it to take care of connections
6812 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6813 Cisco's AnyConnect SSL VPN.")
6814 (license license:gpl2+)
6815 (properties `((upstream-name . "NetworkManager-openconnect")
6816
6817 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6818 ;; file refers to account "nm-openconnect". Specify it here
6819 ;; so that 'network-manager-service-type' creates it.
6820 (user-accounts . ("nm-openconnect"))))))
6821
6822 (define-public mobile-broadband-provider-info
6823 (package
6824 (name "mobile-broadband-provider-info")
6825 (version "20190116")
6826 (source (origin
6827 (method url-fetch)
6828 (uri (string-append
6829 "mirror://gnome/sources/"
6830 "mobile-broadband-provider-info/" version "/"
6831 "mobile-broadband-provider-info-" version ".tar.xz"))
6832 (sha256
6833 (base32
6834 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6835 (build-system gnu-build-system)
6836 (arguments
6837 `(#:tests? #f)) ; no tests
6838 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6839 (synopsis "Database of broadband connection configuration")
6840 (description "Database of broadband connection configuration.")
6841 (license license:public-domain)))
6842
6843 (define-public network-manager-applet
6844 (package
6845 (name "network-manager-applet")
6846 (version "1.16.0")
6847 (source (origin
6848 (method url-fetch)
6849 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6850 (version-major+minor version) "/"
6851 "network-manager-applet-" version ".tar.xz"))
6852 (sha256
6853 (base32
6854 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
6855 (build-system meson-build-system)
6856 (arguments
6857 '(#:glib-or-gtk? #t))
6858 (native-inputs
6859 `(("intltool" ,intltool)
6860 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6861 ("gobject-introspection" ,gobject-introspection)
6862 ("gtk-doc" ,gtk-doc)
6863 ("pkg-config" ,pkg-config)))
6864 (propagated-inputs
6865 ;; libnm-gtk.pc refers to all these.
6866 `(("dbus-glib" ,dbus-glib)
6867 ("gtk+" ,gtk+)
6868 ("network-manager" ,network-manager)
6869 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
6870 ("libnma" ,libnma)))
6871 (inputs
6872 `(("gcr" ,gcr)
6873 ("libgudev" ,libgudev)
6874 ("libnotify" ,libnotify)
6875 ("libsecret" ,libsecret)
6876 ("libselinux" ,libselinux)
6877 ("jansson" ,jansson) ; for team support
6878 ("modem-manager" ,modem-manager)))
6879 (synopsis "Applet for managing network connections")
6880 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6881 (description
6882 "This package contains a systray applet for NetworkManager. It displays
6883 the available networks and allows users to easily switch between them.")
6884 (license license:gpl2+)))
6885
6886 (define-public libxml++
6887 (package
6888 (name "libxml++")
6889 (version "3.0.1")
6890 (source (origin
6891 (method url-fetch)
6892 (uri (string-append "mirror://gnome/sources/" name "/"
6893 (version-major+minor version) "/"
6894 name "-" version ".tar.xz"))
6895 (sha256
6896 (base32
6897 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6898 (build-system gnu-build-system)
6899 ;; libxml++-3.0.pc refers to all these.
6900 (propagated-inputs
6901 `(("libxml2" ,libxml2)
6902 ("glibmm" ,glibmm)))
6903 (native-inputs
6904 `(("perl" ,perl)
6905 ("pkg-config" ,pkg-config)))
6906 (home-page "http://libxmlplusplus.sourceforge.net/")
6907 (synopsis "C++ wrapper for XML parser library libxml2")
6908 (description
6909 "This package provides a C++ wrapper for the XML parser library
6910 libxml2.")
6911 (license license:lgpl2.1+)))
6912
6913 (define-public libxml++-2
6914 (package
6915 (inherit libxml++)
6916 (name "libxml++")
6917 (version "2.40.1")
6918 (source (origin
6919 (method url-fetch)
6920 (uri (string-append "mirror://gnome/sources/" name "/"
6921 (version-major+minor version) "/"
6922 name "-" version ".tar.xz"))
6923 (sha256
6924 (base32
6925 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6926
6927 (define-public gdm
6928 (package
6929 (name "gdm")
6930 (version "3.34.1")
6931 (source (origin
6932 (method url-fetch)
6933 (uri (string-append "mirror://gnome/sources/" name "/"
6934 (version-major+minor version) "/"
6935 name "-" version ".tar.xz"))
6936 (sha256
6937 (base32
6938 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6939 (patches (search-patches "gdm-default-session.patch"))))
6940 (build-system glib-or-gtk-build-system)
6941 (arguments
6942 '(#:configure-flags
6943 `("--without-plymouth"
6944 "--disable-systemd-journal"
6945
6946 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6947 ;; instead of having to replace it (i.e., stopping the mingetty
6948 ;; service for TTY 1 before starting GDM).
6949 "--with-initial-vt=7"
6950
6951 ;; Use '/etc/environment' for locale settings instead of the
6952 ;; systemd-specific '/etc/locale.conf'.
6953 "--with-lang-file=/etc/environment"
6954
6955 ,(string-append "--with-udevdir="
6956 (assoc-ref %outputs "out") "/lib/udev")
6957
6958 "--localstatedir=/var"
6959 ,(string-append "--with-default-path="
6960 (string-join '("/run/setuid-programs"
6961 "/run/current-system/profile/bin"
6962 "/run/current-system/profile/sbin")
6963 ":"))
6964 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6965 ;; XDG_DATA_DIRS so that it finds its schemas.
6966 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6967 #:phases
6968 (modify-phases %standard-phases
6969 (add-before
6970 'configure 'pre-configure
6971 (lambda* (#:key inputs outputs #:allow-other-keys)
6972 ;; We don't have <systemd/sd-daemon.h>.
6973 (substitute* '("common/gdm-log.c"
6974 "daemon/gdm-server.c"
6975 "daemon/gdm-session-worker.c"
6976 "daemon/gdm-session-worker-job.c")
6977 (("#include <systemd/sd-daemon\\.h>") ""))
6978 ;; Use elogind for sd-login.
6979 (substitute* '("common/gdm-common.c"
6980 "daemon/gdm-local-display-factory.c"
6981 "daemon/gdm-manager.c"
6982 "libgdm/gdm-user-switching.c")
6983 (("#include <systemd/sd-login\\.h>")
6984 "#include <elogind/sd-login.h>"))
6985 ;; Check for elogind.
6986 (substitute* '("configure")
6987 (("libsystemd")
6988 "libelogind"))
6989 ;; Look for system-installed sessions in
6990 ;; /run/current-system/profile/share.
6991 (substitute* '("libgdm/gdm-sessions.c"
6992 "daemon/gdm-session.c"
6993 "daemon/gdm-display.c"
6994 "daemon/gdm-launch-environment.c")
6995 (("DATADIR \"/x")
6996 "\"/run/current-system/profile/share/x")
6997 (("DATADIR \"/wayland")
6998 "\"/run/current-system/profile/share/wayland")
6999 (("DATADIR \"/gnome")
7000 "\"/run/current-system/profile/share/gnome"))
7001 (let ((propagate '("GDM_CUSTOM_CONF"
7002 "GDM_DBUS_DAEMON"
7003 "GDM_X_SERVER"
7004 "GDM_X_SESSION"
7005 ;; XXX: Remove this once GNOME Shell is
7006 ;; a dependency of GDM.
7007 "XDG_DATA_DIRS")))
7008 (substitute* "daemon/gdm-session.c"
7009 (("set_up_session_environment \\(self\\);")
7010 (apply string-append
7011 "set_up_session_environment (self);\n"
7012 (map (lambda (name)
7013 (string-append
7014 "gdm_session_set_environment_variable "
7015 "(self, \"" name "\","
7016 "g_getenv (\"" name "\"));\n"))
7017 propagate)))))
7018 ;; Find the configuration file using an environment variable.
7019 (substitute* '("common/gdm-settings.c")
7020 (("GDM_CUSTOM_CONF")
7021 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
7022 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
7023 " : GDM_CUSTOM_CONF)")))
7024 ;; Use service-supplied path to X.
7025 (substitute* '("daemon/gdm-server.c")
7026 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
7027 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
7028 (substitute* '("daemon/gdm-wayland-session.c"
7029 "daemon/gdm-x-session.c")
7030 (("\"dbus-daemon\"")
7031 "g_getenv (\"GDM_DBUS_DAEMON\")")
7032 (("X_SERVER")
7033 "g_getenv (\"GDM_X_SERVER\")")
7034 (("GDMCONFDIR \"/Xsession\"")
7035 "g_getenv (\"GDM_X_SESSION\")"))
7036 ;; Use an absolute path for GNOME Session.
7037 (substitute* "daemon/gdm-launch-environment.c"
7038 (("\"gnome-session\"")
7039 (string-append "\"" (assoc-ref inputs "gnome-session")
7040 "/bin/gnome-session\"")))
7041 ;; Do not automatically select the placeholder session.
7042 (substitute* "daemon/gdm-session.c"
7043 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
7044 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
7045 "(g_strcmp0(search_dirs[i], \""
7046 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
7047 "\") == 0 && "
7048 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
7049 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
7050 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
7051 #t))
7052 ;; GDM requires that there be at least one desktop entry
7053 ;; file. This phase installs a hidden one that simply
7054 ;; fails. This enables users to use GDM with a
7055 ;; '~/.xsession' script with no other desktop entry files.
7056 ;; See <https://bugs.gnu.org/35068>.
7057 (add-after 'install 'install-placeholder-desktop-entry
7058 (lambda* (#:key inputs outputs #:allow-other-keys)
7059 (let* ((out (assoc-ref outputs "out"))
7060 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7061 (fail (string-append sessions "/fail.desktop")))
7062 (mkdir-p sessions)
7063 (with-output-to-file fail
7064 (lambda ()
7065 (for-each
7066 display
7067 '("[Desktop Entry]\n"
7068 "Encoding=UTF-8\n"
7069 "Type=Application\n"
7070 "Name=Fail\n"
7071 "Comment=This session fails immediately.\n"
7072 "NoDisplay=true\n"
7073 "Exec=false\n"))))
7074 #t)))
7075 ;; GDM needs GNOME Session to run these applications. We link
7076 ;; their autostart files in `share/gdm/greeter/autostart'
7077 ;; because GDM explicitly tells GNOME Session to look there.
7078 ;;
7079 ;; XXX: GNOME Shell should be linked here too, but currently
7080 ;; GNOME Shell depends on GDM.
7081 (add-after 'install 'link-autostart-files
7082 (lambda* (#:key inputs outputs #:allow-other-keys)
7083 (let* ((out (assoc-ref outputs "out"))
7084 (autostart (string-append out "/share/gdm/"
7085 "greeter/autostart"))
7086 (settings (assoc-ref inputs "gnome-settings-daemon")))
7087 (mkdir-p autostart)
7088 (with-directory-excursion autostart
7089 (for-each (lambda (desktop)
7090 (symlink desktop (basename desktop)))
7091 (find-files (string-append settings "/etc/xdg"))))
7092 #t))))))
7093 (native-inputs
7094 `(("dconf" ,dconf)
7095 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7096 ("gobject-introspection" ,gobject-introspection)
7097 ("intltool" ,intltool)
7098 ("itstool" ,itstool)
7099 ("pkg-config" ,pkg-config)
7100 ("xmllint" ,libxml2)))
7101 (inputs
7102 `(("accountsservice" ,accountsservice)
7103 ("check" ,check) ; for testing
7104 ("elogind" ,elogind)
7105 ("gnome-session" ,gnome-session)
7106 ("gnome-settings-daemon" ,gnome-settings-daemon)
7107 ("gtk+" ,gtk+)
7108 ("iso-codes" ,iso-codes)
7109 ("libcanberra" ,libcanberra)
7110 ("linux-pam" ,linux-pam)))
7111 (synopsis "Display manager for GNOME")
7112 (home-page "https://wiki.gnome.org/Projects/GDM/")
7113 (description
7114 "GNOME Display Manager is a system service that is responsible for
7115 providing graphical log-ins and managing local and remote displays.")
7116 (license license:gpl2+)))
7117
7118 (define-public libgtop
7119 (package
7120 (name "libgtop")
7121 (version "2.40.0")
7122 (source (origin
7123 (method url-fetch)
7124 (uri (string-append "mirror://gnome/sources/libgtop/"
7125 (version-major+minor version) "/"
7126 "libgtop-" version ".tar.xz"))
7127 (sha256
7128 (base32
7129 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
7130 (build-system gnu-build-system)
7131 (native-inputs
7132 `(("gobject-introspection" ,gobject-introspection)
7133 ("intltool" ,intltool)
7134 ("perl" ,perl)
7135 ("pkg-config" ,pkg-config)))
7136 (propagated-inputs
7137 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7138 (synopsis "Portable system access library")
7139 (home-page "https://www.gnome.org/")
7140 (description
7141 "LibGTop is a library to get system specific data such as CPU and memory
7142 usage and information about running processes.")
7143 (license license:gpl2+)))
7144
7145 (define-public gnome-bluetooth
7146 (package
7147 (name "gnome-bluetooth")
7148 (version "3.34.0")
7149 (source (origin
7150 (method url-fetch)
7151 (uri (string-append "mirror://gnome/sources/" name "/"
7152 (version-major+minor version) "/"
7153 name "-" version ".tar.xz"))
7154 (sha256
7155 (base32
7156 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7157 (build-system meson-build-system)
7158 (native-inputs
7159 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7160 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7161 ("gobject-introspection" ,gobject-introspection)
7162 ("intltool" ,intltool)
7163 ("pkg-config" ,pkg-config)
7164 ("xmllint" ,libxml2)))
7165 (propagated-inputs
7166 ;; gnome-bluetooth-1.0.pc refers to all these.
7167 `(("glib" ,glib)
7168 ("gtk+" ,gtk+)))
7169 (inputs
7170 `(("eudev" ,eudev)
7171 ("libcanberra" ,libcanberra)
7172 ("libnotify" ,libnotify)))
7173 (synopsis "GNOME Bluetooth subsystem")
7174 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7175 (description
7176 "This package contains tools for managing and manipulating Bluetooth
7177 devices using the GNOME desktop.")
7178 (license license:lgpl2.1+)))
7179
7180 (define-public gnome-control-center
7181 (package
7182 (name "gnome-control-center")
7183 (version "3.34.2")
7184 (source (origin
7185 (method url-fetch)
7186 (uri (string-append "mirror://gnome/sources/" name "/"
7187 (version-major+minor version) "/"
7188 name "-" version ".tar.xz"))
7189 (sha256
7190 (base32
7191 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7192 (build-system meson-build-system)
7193 (arguments
7194 '(#:glib-or-gtk? #t
7195 #:configure-flags
7196 (list "-Dcheese=false"
7197 (string-append "-Dgnome_session_libexecdir="
7198 (assoc-ref %build-inputs "gnome-session")
7199 "/libexec"))
7200 #:phases
7201 (modify-phases %standard-phases
7202 (add-before 'configure 'patch-paths
7203 (lambda* (#:key inputs #:allow-other-keys)
7204 (let ((libc (assoc-ref inputs "libc"))
7205 (tzdata (assoc-ref inputs "tzdata"))
7206 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7207 (nm-applet (assoc-ref inputs "network-manager-applet"))
7208 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7209 (substitute* "panels/datetime/tz.h"
7210 (("/usr/share/zoneinfo/zone.tab")
7211 (string-append tzdata "/share/zoneinfo/zone.tab")))
7212 (substitute* "tests/datetime/test-endianess.c"
7213 (("/usr/share/locale")
7214 (string-append libc "/share/locale")))
7215 (substitute* "panels/region/cc-region-panel.c"
7216 (("\"gkbd-keyboard-display")
7217 (string-append "\"" libgnomekbd
7218 "/bin/gkbd-keyboard-display")))
7219 (substitute* '("panels/network/net-device-wifi.c"
7220 "panels/network/net-device.c"
7221 "panels/network/connection-editor/net-connection-editor.c")
7222 (("\"nm-connection-editor")
7223 (string-append "\"" nm-applet
7224 "/bin/nm-connection-editor")))
7225 (substitute* '("panels/user-accounts/run-passwd.c")
7226 (("/usr/bin/passwd")
7227 "/run/setuid-programs/passwd"))
7228 (substitute* "panels/info/cc-info-overview-panel.c"
7229 (("DATADIR \"/gnome/gnome-version.xml\"")
7230 (string-append "\"" gnome-desktop
7231 "/share/gnome/gnome-version.xml\"")))
7232 #t)))
7233 (add-after 'unpack 'skip-gtk-update-icon-cache
7234 ;; Don't create 'icon-theme.cache'.
7235 (lambda _
7236 (substitute* "build-aux/meson/meson_post_install.py"
7237 (("gtk-update-icon-cache") (which "true")))
7238 #t)))))
7239 (native-inputs
7240 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7241 ("intltool" ,intltool)
7242 ("pkg-config" ,pkg-config)
7243 ("xsltproc" ,libxslt)
7244 ;; For tests
7245 ("hicolor-icon-theme" ,hicolor-icon-theme)
7246 ("python-dbusmock" ,python-dbusmock)
7247 ("xorg-server" ,xorg-server-for-tests)))
7248 (inputs
7249 `(("accountsservice" ,accountsservice)
7250 ("clutter-gtk" ,clutter-gtk)
7251 ("colord-gtk" ,colord-gtk)
7252 ("cups" ,cups)
7253 ("dconf" ,dconf)
7254 ("docbook-xsl" ,docbook-xsl)
7255 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7256 ("gnome-bluetooth" ,gnome-bluetooth)
7257 ("gnome-desktop" ,gnome-desktop)
7258 ("gnome-online-accounts" ,gnome-online-accounts)
7259 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7260 ("gnome-session" ,gnome-session)
7261 ("gnome-settings-daemon" ,gnome-settings-daemon)
7262 ("grilo" ,grilo)
7263 ("gsound" ,gsound)
7264 ("ibus" ,ibus)
7265 ("libcanberra" ,libcanberra)
7266 ("libgnomekbd" ,libgnomekbd)
7267 ("libgudev" ,libgudev)
7268 ("libgtop" ,libgtop)
7269 ("libnma" ,libnma)
7270 ("libpwquality" ,libpwquality)
7271 ("libsecret" ,libsecret)
7272 ("libsoup" ,libsoup)
7273 ("libxml2" ,libxml2)
7274 ("libwacom" ,libwacom)
7275 ("mesa" ,mesa)
7276 ("mit-krb5" ,mit-krb5)
7277 ("modem-manager" ,modem-manager)
7278 ("network-manager-applet" ,network-manager-applet)
7279 ("polkit" ,polkit)
7280 ("pulseaudio" ,pulseaudio)
7281 ("smbclient" ,samba)
7282 ("tzdata" ,tzdata)
7283 ("udisks" ,udisks)
7284 ("upower" ,upower)))
7285 (synopsis "Utilities to configure the GNOME desktop")
7286 (home-page "https://www.gnome.org/")
7287 (description
7288 "This package contains configuration applets for the GNOME desktop,
7289 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7290 properties, sound setup, desktop theme and background, user interface
7291 properties, screen resolution, and other GNOME parameters.")
7292 (license license:gpl2+)))
7293
7294 (define-public gnome-shell
7295 (package
7296 (name "gnome-shell")
7297 (version "3.34.2")
7298 (source (origin
7299 (method url-fetch)
7300 (uri (string-append "mirror://gnome/sources/" name "/"
7301 (version-major+minor version) "/"
7302 name "-" version ".tar.xz"))
7303 (sha256
7304 (base32
7305 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7306 (patches (search-patches "gnome-shell-theme.patch"
7307 "gnome-shell-disable-test.patch"))
7308 (modules '((guix build utils)))
7309 (snippet
7310 #~(begin
7311 ;; Copy images for use on the GDM log-in screen.
7312 (copy-file #$(file-append %artwork-repository
7313 "/slim/0.x/background.png")
7314 "data/theme/guix-background.png")
7315 (copy-file #$(file-append %artwork-repository
7316 "/logo/Guix-horizontal-white.svg")
7317 "data/theme/guix-logo.svg")
7318 #t))))
7319 (build-system meson-build-system)
7320 (arguments
7321 `(#:glib-or-gtk? #t
7322 #:disallowed-references ((,glib "bin")
7323 ,inkscape ,libxslt
7324 ,ruby-sass)
7325 #:configure-flags
7326 (list "-Dsystemd=false"
7327 ;; Otherwise, the RUNPATH will lack the final path component.
7328 (string-append "-Dc_link_args=-Wl,-rpath="
7329 (assoc-ref %outputs "out")
7330 "/lib/gnome-shell"))
7331
7332 #:modules ((guix build meson-build-system)
7333 (guix build utils)
7334 (srfi srfi-1))
7335
7336 #:phases
7337 (modify-phases %standard-phases
7338 (add-after 'unpack 'fix-keysdir
7339 (lambda* (#:key outputs #:allow-other-keys)
7340 (let* ((out (assoc-ref outputs "out"))
7341 (keysdir (string-append
7342 out "/share/gnome-control-center/keybindings")))
7343 (substitute* "meson.build"
7344 (("keysdir =.*")
7345 (string-append "keysdir = '" keysdir "'\n")))
7346 #t)))
7347 (add-before 'configure 'convert-logo-to-png
7348 (lambda* (#:key inputs #:allow-other-keys)
7349 ;; Convert the logo from SVG to PNG.
7350 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7351 "data/theme/guix-logo.svg")))
7352 (add-before 'configure 'record-absolute-file-names
7353 (lambda* (#:key inputs #:allow-other-keys)
7354 (substitute* "js/misc/ibusManager.js"
7355 (("'ibus-daemon'")
7356 (string-append "'" (assoc-ref inputs "ibus")
7357 "/bin/ibus-daemon'")))
7358 (substitute* "js/ui/status/keyboard.js"
7359 (("'gkbd-keyboard-display'")
7360 (string-append "'" (assoc-ref inputs "libgnomekbd")
7361 "/bin/gkbd-keyboard-display'")))
7362 #t))
7363 (add-before 'check 'pre-check
7364 (lambda* (#:key inputs #:allow-other-keys)
7365 ;; Tests require a running X server.
7366 (system "Xvfb :1 &")
7367 (setenv "DISPLAY" ":1")
7368 #t))
7369 (add-after 'install 'wrap-programs
7370 (lambda* (#:key inputs outputs #:allow-other-keys)
7371 (let ((out (assoc-ref outputs "out"))
7372 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7373 (python-path (getenv "PYTHONPATH")))
7374 (wrap-program (string-append out "/bin/gnome-shell")
7375 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7376 ;; FIXME: gnome-shell loads these libraries with unqualified
7377 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7378 ;; alternative might be to patch gnome-shell.
7379 `("LD_LIBRARY_PATH" ":" prefix
7380 ,(map (lambda (pkg)
7381 (string-append (assoc-ref inputs pkg) "/lib"))
7382 '("gdk-pixbuf"
7383 "gnome-bluetooth" "librsvg" "libgweather"))))
7384 (for-each
7385 (lambda (prog)
7386 (wrap-program (string-append out "/bin/" prog)
7387 `("PYTHONPATH" ":" prefix (,python-path))
7388 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7389 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7390 #t)))
7391 (replace 'glib-or-gtk-wrap
7392 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7393 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7394 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7395 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7396 ;; phase. Fix that since we don't need these.
7397 (wrap #:inputs (fold alist-delete inputs
7398 '("inkscape" "intltool" "glib:bin"))
7399 #:outputs outputs)))))))
7400 (native-inputs
7401 `(("asciidoc" ,asciidoc)
7402 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7403 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7404 ("gobject-introspection" ,gobject-introspection)
7405 ("inkscape" ,inkscape)
7406 ("intltool" ,intltool)
7407 ("pkg-config" ,pkg-config)
7408 ("python" ,python)
7409 ("ruby-sass" ,ruby-sass)
7410 ("sassc" ,sassc)
7411 ("xsltproc" ,libxslt)
7412 ;; For tests
7413 ("xorg-server" ,xorg-server-for-tests)))
7414 (inputs
7415 `(("accountsservice" ,accountsservice)
7416 ("caribou" ,caribou)
7417 ("docbook-xsl" ,docbook-xsl)
7418 ("evolution-data-server" ,evolution-data-server)
7419 ("gcr" ,gcr)
7420 ("gdm" ,gdm)
7421 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7422 ("gjs" ,gjs)
7423 ("gnome-autoar" ,gnome-autoar)
7424 ("gnome-bluetooth" ,gnome-bluetooth)
7425 ("gnome-desktop" ,gnome-desktop)
7426 ("gnome-settings-daemon" ,gnome-settings-daemon)
7427 ("gst-plugins-base" ,gst-plugins-base)
7428 ("ibus" ,ibus)
7429 ("libcanberra" ,libcanberra)
7430 ("libcroco" ,libcroco)
7431 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7432 ("libgweather" ,libgweather)
7433 ("libnma" ,libnma)
7434 ("libsoup" ,libsoup)
7435 ("mesa-headers" ,mesa-headers)
7436 ("mutter" ,mutter)
7437 ("network-manager-applet" ,network-manager-applet)
7438 ("polkit" ,polkit)
7439 ("pulseaudio" ,pulseaudio)
7440 ("python-pygobject" ,python-pygobject)
7441 ("startup-notification" ,startup-notification)
7442 ("telepathy-logger" ,telepathy-logger)
7443 ("upower" ,upower)
7444 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7445 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7446 ("librsvg" ,librsvg)
7447 ("geoclue" ,geoclue)))
7448 (synopsis "Desktop shell for GNOME")
7449 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7450 (description
7451 "GNOME Shell provides core user interface functions for the GNOME desktop,
7452 like switching to windows and launching applications.")
7453 (license license:gpl2+)))
7454
7455 (define-public gtk-vnc
7456 (package
7457 (name "gtk-vnc")
7458 (version "0.9.0")
7459 (source
7460 (origin
7461 (method url-fetch)
7462 (uri (string-append "mirror://gnome/sources/" name "/"
7463 (version-major+minor version) "/"
7464 name "-" version ".tar.xz"))
7465 (sha256
7466 (base32
7467 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7468 (build-system gnu-build-system)
7469 (arguments
7470 '(#:configure-flags '("--with-gtk=3.0")))
7471 (propagated-inputs
7472 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7473 (inputs
7474 `(("cyrus-sasl" ,cyrus-sasl)
7475 ("gnutls" ,gnutls)
7476 ("libgcrypt" ,libgcrypt)
7477 ("pulseaudio" ,pulseaudio)))
7478 (native-inputs
7479 `(("glib:bin" ,glib "bin")
7480 ("gobject-introspection" ,gobject-introspection)
7481 ("intltool" ,intltool)
7482 ("pkg-config" ,pkg-config)
7483 ("python-wrapper" ,python-wrapper)
7484 ("vala" ,vala)))
7485 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7486 (synopsis "VNC viewer widget for GTK+")
7487 (description
7488 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7489 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7490 GTK-VNC implements client side RFB protocol and authentication extensions such
7491 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7492 (license license:lgpl2.1+)))
7493
7494 (define-public gnome-autoar
7495 (package
7496 (name "gnome-autoar")
7497 (version "0.2.4")
7498 (source (origin
7499 (method url-fetch)
7500 (uri (string-append "mirror://gnome/sources/" name "/"
7501 (version-major+minor version) "/"
7502 name "-" version ".tar.xz"))
7503 (sha256
7504 (base32
7505 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7506 (build-system glib-or-gtk-build-system)
7507 (native-inputs
7508 `(("gobject-introspection" ,gobject-introspection)
7509 ("pkg-config" ,pkg-config)))
7510 (propagated-inputs
7511 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7512 (inputs
7513 `(("gtk+" ,gtk+)))
7514 (synopsis "Archives integration support for GNOME")
7515 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7516 (description
7517 "GNOME Autoar is a library which makes creating and extracting archives
7518 easy, safe, and automatic.")
7519 (license license:lgpl2.1+)))
7520
7521 (define-public tracker
7522 (package
7523 (name "tracker")
7524 (version "2.3.4")
7525 (source (origin
7526 (method url-fetch)
7527 (uri (string-append "mirror://gnome/sources/tracker/"
7528 (version-major+minor version) "/"
7529 "tracker-" version ".tar.xz"))
7530 (sha256
7531 (base32
7532 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7533 (build-system meson-build-system)
7534 (arguments
7535 `(#:glib-or-gtk? #t
7536 #:configure-flags
7537 ;; Otherwise, the RUNPATH will lack the final path component.
7538 (list (string-append "-Dc_link_args=-Wl,-rpath="
7539 (assoc-ref %outputs "out") "/lib:"
7540 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7541 #:phases
7542 (modify-phases %standard-phases
7543 (add-before 'check 'pre-check
7544 (lambda _
7545 ;; Some tests expect to write to $HOME.
7546 (setenv "HOME" "/tmp")
7547 #t)))))
7548 (native-inputs
7549 `(("glib:bin" ,glib "bin")
7550 ("gobject-introspection" ,gobject-introspection)
7551 ("python-pygobject" ,python-pygobject)
7552 ("intltool" ,intltool)
7553 ("pkg-config" ,pkg-config)
7554 ("vala" ,vala)))
7555 (inputs
7556 `(("dbus" ,dbus)
7557 ("sqlite" ,sqlite)
7558 ("libxml2" ,libxml2)
7559 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7560 ("json-glib" ,json-glib)
7561 ("libsoup" ,libsoup)))
7562 (synopsis "Metadata database, indexer and search tool")
7563 (home-page "https://wiki.gnome.org/Projects/Tracker")
7564 (description
7565 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7566
7567 It is a middleware component aimed at desktop application developers who want
7568 their apps to browse and search user content. It's not designed to be used
7569 directly by desktop users, but it provides a commandline tool named
7570 @command{tracker} for the adventurous.
7571
7572 Tracker allows your application to instantly perform full-text searches across
7573 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7574 example. This is achieved by indexing the user's home directory in the
7575 background.
7576
7577 Tracker also allows your application to query and list content that the user
7578 has stored. For example, GNOME Music displays all the music files that are
7579 found by Tracker. This means that GNOME Music doesn't need to maintain a
7580 database of its own.
7581
7582 If you need to go beyond simple searches, Tracker is also a linked data
7583 endpoint and it understands SPARQL. ")
7584 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7585 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7586 ;; libstemmer is bsd-3 and the rest is gpl2+.
7587 (license (list license:gpl2+
7588 license:bsd-3
7589 license:lgpl2.1+))))
7590
7591 (define-public tracker-miners
7592 (package
7593 (name "tracker-miners")
7594 (version "2.3.3")
7595 (source (origin
7596 (method url-fetch)
7597 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7598 (version-major+minor version)
7599 "/tracker-miners-" version ".tar.xz"))
7600 (sha256
7601 (base32
7602 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7603 (build-system meson-build-system)
7604 (arguments
7605 `(#:glib-or-gtk? #t
7606 #:configure-flags
7607 (list "-Dminer_rss=false" ; libgrss is required.
7608 ;; Ensure the RUNPATH contains all installed library locations.
7609 (string-append "-Dc_link_args=-Wl,-rpath="
7610 (assoc-ref %outputs "out")
7611 "/lib/tracker-miners-2.0")
7612 ;; TODO: Enable functional tests. Currently, the following error
7613 ;; appears:
7614 ;; Exception: The functional tests require DConf to be the default
7615 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7616 "-Dfunctional_tests=false")))
7617 (native-inputs
7618 `(("dbus" ,dbus)
7619 ("intltool" ,intltool)
7620 ("glib:bin" ,glib "bin")
7621 ("gobject-introspection" ,gobject-introspection)
7622 ("pkg-config" ,pkg-config)
7623 ("python-pygobject" ,python-pygobject)))
7624 (inputs
7625 `(("exempi" ,exempi)
7626 ("ffmpeg" ,ffmpeg)
7627 ("flac" ,flac)
7628 ("giflib" ,giflib)
7629 ("glib" ,glib)
7630 ("gstreamer" ,gstreamer)
7631 ("icu4c" ,icu4c)
7632 ("libcue" ,libcue)
7633 ("libexif" ,libexif)
7634 ("libgsf" ,libgsf)
7635 ("libgxps" ,libgxps)
7636 ("libiptcdata" ,libiptcdata)
7637 ("libjpeg" ,libjpeg-turbo)
7638 ("libosinfo" ,libosinfo)
7639 ("libpng" ,libpng)
7640 ("libseccomp" ,libseccomp)
7641 ("libtiff" ,libtiff)
7642 ("libvorbis" ,libvorbis)
7643 ("libxml2" ,libxml2)
7644 ("poppler" ,poppler)
7645 ("taglib" ,taglib)
7646 ("totem-pl-parser" ,totem-pl-parser)
7647 ("tracker" ,tracker)
7648 ("upower" ,upower)
7649 ("zlib" ,zlib)))
7650 (synopsis "Metadata database, indexer and search tool")
7651 (home-page "https://wiki.gnome.org/Projects/Tracker")
7652 (description
7653 "Tracker is an advanced framework for first class objects with associated
7654 metadata and tags. It provides a one stop solution for all metadata, tags,
7655 shared object databases, search tools and indexing.")
7656 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7657 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7658 (license (list license:gpl2+
7659 license:lgpl2.1+
7660 license:lgpl2.0+))))
7661
7662 (define-public nautilus
7663 (package
7664 (name "nautilus")
7665 (version "3.34.2")
7666 (source (origin
7667 (method url-fetch)
7668 (uri (string-append "mirror://gnome/sources/" name "/"
7669 (version-major+minor version) "/"
7670 name "-" version ".tar.xz"))
7671 (sha256
7672 (base32
7673 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7674 (build-system meson-build-system)
7675 (arguments
7676 '(#:glib-or-gtk? #t
7677 #:phases
7678 (modify-phases %standard-phases
7679 (add-after 'unpack 'skip-gtk-update-icon-cache
7680 ;; Don't create 'icon-theme.cache'.
7681 (lambda _
7682 (substitute* "build-aux/meson/postinstall.py"
7683 (("gtk-update-icon-cache") "true"))
7684 #t)))
7685 ;; XXX: FAIL: check-nautilus
7686 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7687 #:tests? #f))
7688 (native-inputs
7689 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7690 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7691 ("gobject-introspection" ,gobject-introspection)
7692 ("intltool" ,intltool)
7693 ("pkg-config" ,pkg-config)))
7694 (inputs
7695 `(("dconf" ,dconf)
7696 ("gexiv2" ,gexiv2)
7697 ("gvfs" ,gvfs)
7698 ("exempi" ,exempi)
7699 ("gnome-desktop" ,gnome-desktop)
7700 ("gnome-autoar" ,gnome-autoar)
7701 ("gst-plugins-base" ,gst-plugins-base)
7702 ("libseccomp" ,libseccomp)
7703 ("libselinux" ,libselinux)
7704 ("tracker" ,tracker)
7705 ("tracker-miners" ,tracker-miners)
7706 ;; XXX: gtk+ is required by libnautilus-extension.pc
7707 ;;
7708 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7709 ;; package. See:
7710 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7711 ("gtk+" ,gtk+)
7712 ("libexif" ,libexif)
7713 ("libxml2" ,libxml2)))
7714 (synopsis "File manager for GNOME")
7715 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7716 (description
7717 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7718 design and behaviour, giving the user a simple way to navigate and manage its
7719 files.")
7720 (license license:gpl2+)))
7721
7722 (define-public baobab
7723 (package
7724 (name "baobab")
7725 (version "3.32.0")
7726 (source (origin
7727 (method url-fetch)
7728 (uri (string-append
7729 "mirror://gnome/sources/" name "/"
7730 (version-major+minor version) "/"
7731 name "-" version ".tar.xz"))
7732 (sha256
7733 (base32
7734 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7735 (build-system meson-build-system)
7736 (arguments
7737 '(#:glib-or-gtk? #t))
7738 (native-inputs
7739 `(("intltool" ,intltool)
7740 ("pkg-config" ,pkg-config)
7741 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7742 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7743 ("itstool" ,itstool)
7744 ("xmllint" ,libxml2)
7745 ("glib" ,glib "bin")
7746 ("vala" ,vala)))
7747 (inputs
7748 `(("gtk+" ,gtk+)))
7749 (synopsis "Disk usage analyzer for GNOME")
7750 (description
7751 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7752 usage in the GNOME desktop environment. It can easily scan device volumes or
7753 a specific user-requested directory branch (local or remote). Once the scan
7754 is complete it provides a graphical representation of each selected folder.")
7755 (home-page "https://wiki.gnome.org/Apps/Baobab")
7756 (license license:gpl2+)))
7757
7758 (define-public gnome-backgrounds
7759 (package
7760 (name "gnome-backgrounds")
7761 (version "3.34.0")
7762 (source
7763 (origin
7764 (method url-fetch)
7765 (uri (string-append "mirror://gnome/sources/" name "/"
7766 (version-major+minor version) "/"
7767 name "-" version ".tar.xz"))
7768 (sha256
7769 (base32
7770 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7771 (build-system meson-build-system)
7772 (native-inputs
7773 `(("intltool" ,intltool)))
7774 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7775 (synopsis "Background images for the GNOME desktop")
7776 (description
7777 "GNOME backgrounds package contains a collection of graphics files which
7778 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7779 the package creates the proper framework and directory structure so that you
7780 can add your own files to the collection.")
7781 (license (list license:gpl2+
7782 license:cc-by2.0
7783 license:cc-by-sa2.0
7784 license:cc-by-sa3.0))))
7785
7786 (define-public gnome-screenshot
7787 (package
7788 (name "gnome-screenshot")
7789 (version "3.34.0")
7790 (source
7791 (origin
7792 (method url-fetch)
7793 (uri (string-append "mirror://gnome/sources/" name "/"
7794 (version-major+minor version) "/"
7795 name "-" version ".tar.xz"))
7796 (sha256
7797 (base32
7798 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7799 (build-system meson-build-system)
7800 (arguments
7801 '(#:phases
7802 (modify-phases %standard-phases
7803 (add-after 'unpack 'skip-gtk-update-icon-cache
7804 ;; Don't create 'icon-theme.cache'.
7805 (lambda _
7806 (substitute* "build-aux/postinstall.py"
7807 (("gtk-update-icon-cache") "true"))
7808 #t)))))
7809 (native-inputs
7810 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7811 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7812 ("intltool" ,intltool)
7813 ("appstream-glib" ,appstream-glib)
7814 ("pkg-config" ,pkg-config)))
7815 (inputs
7816 `(("gtk+" ,gtk+)
7817 ("libcanberra" ,libcanberra)
7818 ("libx11" ,libx11)
7819 ("libxext" ,libxext)))
7820 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7821 (synopsis "Take pictures of your screen")
7822 (description
7823 "GNOME Screenshot is a utility used for taking screenshots of the entire
7824 screen, a window or a user defined area of the screen, with optional
7825 beautifying border effects.")
7826 (license license:gpl2+)))
7827
7828 (define-public dconf-editor
7829 (package
7830 (name "dconf-editor")
7831 (version "3.34.2")
7832 (source
7833 (origin
7834 (method url-fetch)
7835 (uri (string-append "mirror://gnome/sources/" name "/"
7836 (version-major+minor version) "/"
7837 name "-" version ".tar.xz"))
7838 (sha256
7839 (base32
7840 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7841 (build-system meson-build-system)
7842 (native-inputs
7843 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7844 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7845 ("intltool" ,intltool)
7846 ("pkg-config" ,pkg-config)
7847 ("vala" ,vala)))
7848 (inputs
7849 `(("dconf" ,dconf)
7850 ("gtk+" ,gtk+)
7851 ("libxml2" ,libxml2)))
7852 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7853 (synopsis "Graphical editor for GNOME's dconf configuration system")
7854 (description
7855 "Dconf-editor is a graphical tool for browsing and editing the dconf
7856 configuration system for GNOME. It allows users to configure desktop
7857 software that do not provide their own configuration interface.")
7858 (license license:lgpl2.1+)))
7859
7860 (define-public gnome-default-applications
7861 (package
7862 (name "gnome-default-applications")
7863 (version "0")
7864 (build-system trivial-build-system)
7865 (source #f)
7866 (propagated-inputs
7867 `(("nautilus" ,nautilus)
7868 ("evince" ,evince)))
7869 (arguments
7870 `(#:modules ((guix build utils))
7871 #:builder
7872 (begin
7873 (use-modules (guix build utils))
7874 (let* ((out (assoc-ref %outputs "out"))
7875 (apps (string-append out "/share/applications")))
7876 (mkdir-p apps)
7877 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7878 (lambda (port)
7879 (format port "[Default Applications]\n")
7880 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7881 (format port "application/pdf=evince.desktop\n")
7882 (format port "application/postscript=evince.desktop\n")))
7883 #t))))
7884 (synopsis "Default MIME type associations for the GNOME desktop")
7885 (description
7886 "Given many installed packages which might handle a given MIME type, a
7887 user running the GNOME desktop probably has some preferences: for example,
7888 that folders be opened by default by the Nautilus file manager, not the Baobab
7889 disk usage analyzer. This package establishes that set of default MIME type
7890 associations for GNOME.")
7891 (license license:gpl3+)
7892 (home-page #f)))
7893
7894 (define-public libgovirt
7895 (package
7896 (name "libgovirt")
7897 (version "0.3.6")
7898 (source (origin
7899 (method url-fetch)
7900 (uri (string-append "mirror://gnome/sources/" name "/"
7901 (version-major+minor version) "/"
7902 name "-" version ".tar.xz"))
7903 (sha256
7904 (base32
7905 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7906 (build-system glib-or-gtk-build-system)
7907 (native-inputs
7908 `(("gettext" ,gettext-minimal)
7909 ("glib:bin" ,glib "bin")
7910 ("gobject-introspection" ,gobject-introspection)
7911 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7912 ("gtk+:bin" ,gtk+ "bin")
7913 ("pkg-config" ,pkg-config)))
7914 (inputs
7915 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7916 ("librest" ,rest)))
7917 (synopsis "GoVirt Library")
7918 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7919 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7920 (license license:gpl2+)))
7921
7922 (define-public gnome-weather
7923 (package
7924 (name "gnome-weather")
7925 (version "3.34.0")
7926 (source (origin
7927 (method url-fetch)
7928 (uri (string-append "mirror://gnome/sources/" name "/"
7929 (version-major+minor version) "/"
7930 name "-" version ".tar.xz"))
7931 (sha256
7932 (base32
7933 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7934 (build-system meson-build-system)
7935 (native-inputs
7936 `(("gettext" ,gettext-minimal)
7937 ("glib:bin" ,glib "bin")
7938 ("gobject-introspection" ,gobject-introspection)
7939 ("gtk+:bin" ,gtk+ "bin")
7940 ("pkg-config" ,pkg-config)))
7941 (inputs
7942 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7943 ("appstream-glib" ,appstream-glib)
7944 ("geoclue" ,geoclue)
7945 ("gdk-pixbuf" ,gdk-pixbuf)
7946 ("gjs" ,gjs)
7947 ("gnome-desktop" ,gnome-desktop)
7948 ("libgweather" ,libgweather)))
7949 (arguments
7950 `(#:glib-or-gtk? #t
7951 #:phases
7952 (modify-phases %standard-phases
7953 (add-after 'install 'fix-desktop-file
7954 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7955 ;; See https://issues.guix.gnu.org/issue/39324.
7956 (lambda* (#:key outputs #:allow-other-keys)
7957 (let* ((out (assoc-ref outputs "out"))
7958 (applications (string-append out "/share/applications")))
7959 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7960 (("Exec=.*") "Exec=gnome-weather\n"))
7961 #t)))
7962 (add-after 'install 'wrap
7963 (lambda* (#:key inputs outputs #:allow-other-keys)
7964 (let ((out (assoc-ref outputs "out"))
7965 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7966 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
7967 (wrap-program (string-append out "/bin/gnome-weather")
7968 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
7969 #t))))))
7970 (synopsis "Weather monitoring for GNOME desktop")
7971 (description "GNOME Weather is a small application that allows you to
7972 monitor the current weather conditions for your city, or anywhere in the
7973 world.")
7974 (home-page "https://wiki.gnome.org/Apps/Weather")
7975 (license license:gpl2+)))
7976
7977 (define-public gnome
7978 (package
7979 (name "gnome")
7980 (version (package-version gnome-shell))
7981 (source #f)
7982 (build-system trivial-build-system)
7983 (arguments '(#:builder (begin (mkdir %output) #t)))
7984 (propagated-inputs
7985 ;; TODO: Add or remove packages according to:
7986 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7987 `(
7988 ;; GNOME-Core-OS-Services
7989 ("accountsservice" ,accountsservice)
7990 ("network-manager" ,network-manager)
7991 ("packagekit" ,packagekit)
7992 ("upower" ,upower)
7993 ;; GNOME-Core-Shell
7994 ("adwaita-icon-theme" ,adwaita-icon-theme)
7995 ("gdm" ,gdm)
7996 ("glib-networking" ,glib-networking)
7997 ("gnome-backgrounds" ,gnome-backgrounds)
7998 ("gnome-bluetooth" ,gnome-bluetooth)
7999 ("gnome-color-manager" ,gnome-color-manager)
8000 ("gnome-control-center" ,gnome-control-center)
8001 ("gnome-desktop" ,gnome-desktop)
8002 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8003 ("gnome-initial-setup" ,gnome-initial-setup)
8004 ("gnome-keyring" ,gnome-keyring)
8005 ("gnome-menus" ,gnome-menus)
8006 ("gnome-session" ,gnome-session)
8007 ("gnome-settings-daemon" ,gnome-settings-daemon)
8008 ("gnome-shell-extensions" ,gnome-shell-extensions)
8009 ("gnome-shell" ,gnome-shell)
8010 ("gnome-themes-extra" ,gnome-themes-extra)
8011 ("gnome-user-docs" ,gnome-user-docs)
8012 ("gnome-user-share" ,gnome-user-share)
8013 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8014 ("gvfs" ,gvfs)
8015 ("mutter" ,mutter)
8016 ("orca" ,orca)
8017 ("rygel" ,rygel)
8018 ("sushi" ,sushi)
8019 ;; GNOME-Core-Utilities
8020 ("baobab" ,baobab)
8021 ("cheese" ,cheese)
8022 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
8023 ;; only works on x86_64, so exclude it on other architectures.
8024 ,@(if (string-prefix? "x86_64" (%current-system))
8025 `(("eog" ,eog))
8026 '())
8027 ("epiphany" ,epiphany)
8028 ("evince" ,evince)
8029 ("file-roller" ,file-roller)
8030 ("gedit" ,gedit)
8031 ("gnome-boxes" ,gnome-boxes)
8032 ("gnome-calculator" ,gnome-calculator)
8033 ("gnome-calendar" ,gnome-calendar)
8034 ("gnome-characters" ,gnome-characters)
8035 ("gnome-clocks" ,gnome-clocks)
8036 ("gnome-contacts" ,gnome-contacts)
8037 ("gnome-disk-utility" ,gnome-disk-utility)
8038 ("gnome-font-viewer" ,gnome-font-viewer)
8039 ("gnome-maps" ,gnome-maps)
8040 ; TODO: ("gnome-music" ,gnome-music)
8041 ; TODO: ("gnome-photos" ,gnome-photos)
8042 ("gnome-screenshot" ,gnome-screenshot)
8043 ("gnome-system-monitor" ,gnome-system-monitor)
8044 ("gnome-terminal" ,gnome-terminal)
8045 ("gnome-weather" ,gnome-weather)
8046 ("nautilus" ,nautilus)
8047 ("simple-scan" ,simple-scan)
8048 ("totem" ,totem)
8049 ("yelp" ,yelp)
8050 ;; Others
8051 ("hicolor-icon-theme" ,hicolor-icon-theme)
8052 ("gnome-online-accounts" ,gnome-online-accounts)
8053
8054 ;; Packages not part of GNOME proper but that are needed for a good
8055 ;; experience. See <https://bugs.gnu.org/39646>.
8056 ;; XXX: Find out exactly which ones are needed and why.
8057 ("font-cantarell" ,font-cantarell)
8058 ("font-dejavu" ,font-dejavu)
8059 ("at-spi2-core" ,at-spi2-core)
8060 ("dbus" ,dbus)
8061 ("dconf" ,dconf)
8062 ("desktop-file-utils" ,desktop-file-utils)
8063 ("gnome-default-applications" ,gnome-default-applications)
8064 ("gnome-themes-standard" ,gnome-themes-standard)
8065 ("gst-plugins-base" ,gst-plugins-base)
8066 ("gst-plugins-good" ,gst-plugins-good)
8067 ("gucharmap" ,gucharmap)
8068 ("pinentry-gnome3" ,pinentry-gnome3)
8069 ("pulseaudio" ,pulseaudio)
8070 ("shared-mime-info" ,shared-mime-info)
8071 ("system-config-printer" ,system-config-printer)
8072 ("xdg-user-dirs" ,xdg-user-dirs)
8073 ("yelp" ,yelp)
8074 ("zenity" ,zenity)))
8075 (synopsis "The GNU desktop environment")
8076 (home-page "https://www.gnome.org/")
8077 (description
8078 "GNOME is the graphical desktop for GNU. It includes a wide variety of
8079 applications for browsing the web, editing text and images, creating
8080 documents and diagrams, playing media, scanning, and much more.")
8081 (license license:gpl2+)))
8082
8083 (define-public byzanz
8084 ;; The last stable release of Byzanz was in 2011, but there have been many
8085 ;; useful commits made to the Byzanz repository since then that it would be
8086 ;; silly to use such an old release.
8087 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
8088 (package
8089 (name "byzanz")
8090 (version (string-append "0.2-1." (string-take commit 7)))
8091 (source (origin
8092 (method git-fetch)
8093 (uri (git-reference
8094 (url "https://git.gnome.org/browse/byzanz")
8095 (commit commit)))
8096 (file-name (string-append name "-" version "-checkout"))
8097 (sha256
8098 (base32
8099 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8100 (build-system glib-or-gtk-build-system)
8101 (arguments
8102 '(#:phases
8103 (modify-phases %standard-phases
8104 (add-before 'bootstrap 'build-without-Werror
8105 (lambda _
8106 ;; The build system cleverly detects that we're not building from
8107 ;; a release tarball and turns on -Werror for GCC.
8108 ;; Unsurprisingly, there is a warning during compilation that
8109 ;; causes the build to fail unnecessarily, so we remove the flag.
8110 (substitute* '("configure.ac")
8111 (("-Werror") ""))
8112 #t)))))
8113 (native-inputs
8114 `(("autoconf" ,autoconf)
8115 ("automake" ,automake)
8116 ("gnome-common" ,gnome-common)
8117 ("intltool" ,intltool)
8118 ("libtool" ,libtool)
8119 ("pkg-config" ,pkg-config)
8120 ("which" ,which)))
8121 (inputs
8122 `(("glib" ,glib)
8123 ("gstreamer" ,gstreamer)
8124 ("gst-plugins-base" ,gst-plugins-base)
8125 ("gtk+" ,gtk+)))
8126 (synopsis "Desktop recording program")
8127 (description "Byzanz is a simple desktop recording program with a
8128 command-line interface. It can record part or all of an X display for a
8129 specified duration and save it as a GIF encoded animated image file.")
8130 (home-page "https://git.gnome.org/browse/byzanz")
8131 (license license:gpl2+))))
8132
8133 (define-public gsound
8134 (package
8135 (name "gsound")
8136 (version "1.0.2")
8137 (source (origin
8138 (method url-fetch)
8139 (uri (string-append "mirror://gnome/sources/" name "/"
8140 (version-major+minor version) "/"
8141 name "-" version ".tar.xz"))
8142 (sha256
8143 (base32
8144 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8145 (build-system glib-or-gtk-build-system)
8146 (native-inputs
8147 `(("pkg-config" ,pkg-config)
8148 ("gobject-introspection" ,gobject-introspection)
8149 ("vala" ,vala)))
8150 (inputs
8151 `(("glib" ,glib)
8152 ("libcanberra" ,libcanberra)))
8153 (home-page "https://wiki.gnome.org/Projects/GSound")
8154 (synopsis "GObject wrapper for libcanberra")
8155 (description
8156 "GSound is a small library for playing system sounds. It's designed to be
8157 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8158 library.")
8159 (license license:lgpl2.1+)))
8160
8161 (define-public libzapojit
8162 (package
8163 (name "libzapojit")
8164 (version "0.0.3")
8165 (source (origin
8166 (method url-fetch)
8167 (uri (string-append "mirror://gnome/sources/" name "/"
8168 (version-major+minor version) "/"
8169 name "-" version ".tar.xz"))
8170 (sha256
8171 (base32
8172 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8173 (build-system gnu-build-system)
8174 (native-inputs
8175 `(("gobject-introspection" ,gobject-introspection)
8176 ("intltool" ,intltool)
8177 ("pkg-config" ,pkg-config)))
8178 (inputs
8179 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8180 ("json-glib" ,json-glib)
8181 ("rest" ,rest)))
8182 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8183 (synopsis "Library for accessing SkyDrive and Hotmail")
8184 (description
8185 "Libzapojit is a GLib-based library for accessing online service APIs of
8186 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8187 (license license:lgpl2.1+)))
8188
8189 (define-public gnome-clocks
8190 (package
8191 (name "gnome-clocks")
8192 (version "3.34.0")
8193 (source (origin
8194 (method url-fetch)
8195 (uri (string-append "mirror://gnome/sources/" name "/"
8196 (version-major+minor version) "/"
8197 name "-" version ".tar.xz"))
8198 (sha256
8199 (base32
8200 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8201 (build-system meson-build-system)
8202 (arguments
8203 '(#:glib-or-gtk? #t
8204 #:phases
8205 (modify-phases %standard-phases
8206 (add-after 'unpack 'skip-gtk-update-icon-cache
8207 ;; Don't create 'icon-theme.cache'.
8208 (lambda _
8209 (substitute* "build-aux/post-install.py"
8210 (("gtk-update-icon-cache") "true"))
8211 #t)))))
8212 (native-inputs
8213 `(("vala" ,vala)
8214 ("pkg-config" ,pkg-config)
8215 ("glib" ,glib "bin") ; for glib-compile-resources
8216 ("desktop-file-utils" ,desktop-file-utils)
8217 ("gettext" ,gettext-minimal)
8218 ("itstool" ,itstool)))
8219 (inputs
8220 `(("glib" ,glib)
8221 ("gtk+" ,gtk+)
8222 ("gsound" ,gsound)
8223 ("geoclue" ,geoclue)
8224 ("geocode-glib" ,geocode-glib)
8225 ("libgweather" ,libgweather)
8226 ("gnome-desktop" ,gnome-desktop)))
8227 (home-page "https://wiki.gnome.org/Apps/Clocks")
8228 (synopsis "GNOME's clock application")
8229 (description
8230 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8231 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8232 (license license:gpl3+)))
8233
8234 (define-public gnome-calendar
8235 (package
8236 (name "gnome-calendar")
8237 (version "3.34.2")
8238 (source (origin
8239 (method url-fetch)
8240 (uri (string-append "mirror://gnome/sources/" name "/"
8241 (version-major+minor version) "/"
8242 name "-" version ".tar.xz"))
8243 (sha256
8244 (base32
8245 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8246 (build-system meson-build-system)
8247 (arguments
8248 '(#:glib-or-gtk? #t
8249 ;; gnome-calendar has to be installed before the tests can be run
8250 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8251 #:tests? #f
8252 #:phases
8253 (modify-phases %standard-phases
8254 (add-after 'unpack 'skip-gtk-update-icon-cache
8255 ;; Don't create 'icon-theme.cache'.
8256 (lambda _
8257 (substitute* "build-aux/meson/meson_post_install.py"
8258 (("gtk-update-icon-cache") "true"))
8259 #t)))))
8260 (native-inputs
8261 `(("gettext" ,gettext-minimal)
8262 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8263 ("pkg-config" ,pkg-config)))
8264 (inputs
8265 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8266 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8267 ("libdazzle" ,libdazzle)
8268 ("libedataserverui" ,evolution-data-server)
8269 ("libgweather" ,libgweather)
8270 ("geoclue" ,geoclue)))
8271 (propagated-inputs
8272 `(("evolution-data-server" ,evolution-data-server)))
8273 (home-page "https://wiki.gnome.org/Apps/Calendar")
8274 (synopsis "GNOME's calendar application")
8275 (description
8276 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8277 desktop. It supports multiple calendars, month, week and year view.")
8278 (license license:gpl3+)))
8279
8280 (define-public gnome-todo
8281 (package
8282 (name "gnome-todo")
8283 (version "3.28.1")
8284 (source (origin
8285 (method url-fetch)
8286 (uri (string-append "mirror://gnome/sources/" name "/"
8287 (version-major+minor version) "/"
8288 name "-" version ".tar.xz"))
8289 (sha256
8290 (base32
8291 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8292 (patches
8293 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8294 (build-system meson-build-system)
8295 (arguments
8296 '(#:glib-or-gtk? #t
8297 #:phases (modify-phases %standard-phases
8298 (add-after
8299 'install 'wrap-gnome-todo
8300 (lambda* (#:key inputs outputs #:allow-other-keys)
8301 (let ((out (assoc-ref outputs "out"))
8302 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8303 (python-path (getenv "PYTHONPATH")))
8304 (wrap-program (string-append out "/bin/gnome-todo")
8305 ;; XXX: gi plugins are broken.
8306 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8307 ;; For plugins.
8308 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8309 `("PYTHONPATH" ":" prefix (,python-path))))
8310 #t)))))
8311 (native-inputs
8312 `(("gettext" ,gettext-minimal)
8313 ("gobject-introspection" ,gobject-introspection)
8314 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8315 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8316 ("pkg-config" ,pkg-config)))
8317 (inputs
8318 `(("rest" ,rest) ; For Todoist plugin
8319 ("json-glib" ,json-glib) ; For Todoist plugin
8320 ("libedataserverui" ,evolution-data-server)
8321 ("libical" ,libical)
8322 ("libpeas" ,libpeas)
8323 ("python-pygobject" ,python-pygobject)
8324 ("evolution-data-server" ,evolution-data-server)
8325 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8326 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8327 (home-page "https://wiki.gnome.org/Apps/Todo")
8328 (synopsis "GNOME's ToDo Application")
8329 (description
8330 "GNOME To Do is a simplistic personal task manager designed to perfectly
8331 fit the GNOME desktop.")
8332 (license license:gpl3+)))
8333
8334 (define-public gnome-dictionary
8335 (package
8336 (name "gnome-dictionary")
8337 (version "3.26.1")
8338 (source (origin
8339 (method url-fetch)
8340 (uri (string-append "mirror://gnome/sources/" name "/"
8341 (version-major+minor version) "/"
8342 name "-" version ".tar.xz"))
8343 (sha256
8344 (base32
8345 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8346 (build-system meson-build-system)
8347 (arguments '(#:glib-or-gtk? #t
8348 #:phases (modify-phases %standard-phases
8349 (add-after 'unpack 'patch-install-script
8350 (lambda _
8351 ;; This script attempts to compile glib schemas
8352 ;; and create an empty MIME database. We do
8353 ;; that elsewhere, so prevent it from running.
8354 (substitute* "build-aux/post-install.sh"
8355 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8356 #t)))))
8357 (native-inputs
8358 `(("glib:bin" ,glib "bin")
8359 ("gobject-introspection" ,gobject-introspection)
8360 ("intltool" ,intltool)
8361 ("itstool" ,itstool)
8362 ("pkg-config" ,pkg-config)
8363 ("xmllint" ,libxml2)))
8364 (inputs
8365 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8366 ("gtk+" ,gtk+)))
8367 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8368 (synopsis "Look up words in dictionary sources")
8369 (description
8370 "GNOME Dictionary can look for the definition or translation of a word in
8371 existing databases over the internet.")
8372 (license license:gpl3+)))
8373
8374 (define-public gnome-tweaks
8375 (package
8376 (name "gnome-tweaks")
8377 (version "3.34.0")
8378 (source (origin
8379 (method url-fetch)
8380 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8381 (version-major+minor version) "/"
8382 "gnome-tweaks-" version ".tar.xz"))
8383 (patches
8384 (list (search-patch "gnome-tweaks-search-paths.patch")))
8385 (sha256
8386 (base32
8387 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8388 (build-system meson-build-system)
8389 (arguments
8390 `(#:glib-or-gtk? #t
8391 #:configure-flags '("-Dlocalstatedir=/tmp"
8392 "-Dsysconfdir=/tmp")
8393 #:imported-modules ((guix build python-build-system)
8394 ,@%meson-build-system-modules)
8395 #:phases
8396 (modify-phases %standard-phases
8397 (add-after 'unpack 'skip-gtk-update-icon-cache
8398 ;; Don't create 'icon-theme.cache'.
8399 (lambda _
8400 (substitute* "meson-postinstall.py"
8401 (("gtk-update-icon-cache") "true"))
8402 #t))
8403 (add-after 'install 'wrap
8404 (@@ (guix build python-build-system) wrap))
8405 (add-after 'wrap 'wrap-gi-typelib
8406 (lambda* (#:key inputs outputs #:allow-other-keys)
8407 (let ((out (assoc-ref outputs "out"))
8408 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8409 (wrap-program (string-append out "/bin/gnome-tweaks")
8410 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8411 #t)))))
8412 (native-inputs
8413 `(("intltool" ,intltool)
8414 ("pkg-config" ,pkg-config)))
8415 (inputs
8416 `(("gnome-desktop" ,gnome-desktop)
8417 ("gtk+" ,gtk+)
8418 ("gobject-introspection" ,gobject-introspection)
8419 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8420 ("libhandy" ,libhandy)
8421 ("libnotify" ,libnotify)
8422 ("libsoup" ,libsoup)
8423 ("nautilus" ,nautilus)
8424 ("python" ,python)
8425 ("python-pygobject" ,python-pygobject)))
8426 (synopsis "Customize advanced GNOME 3 options")
8427 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8428 (description
8429 "GNOME Tweaks allows adjusting advanced configuration settings in
8430 GNOME 3. This includes things like the fonts used in user interface elements,
8431 alternative user interface themes, changes in window management behavior,
8432 GNOME Shell appearance and extension, etc.")
8433 (license license:gpl3+)))
8434
8435 (define-public gnome-shell-extensions
8436 (package
8437 (name "gnome-shell-extensions")
8438 (version "3.34.2")
8439 (source (origin
8440 (method url-fetch)
8441 (uri (string-append "mirror://gnome/sources/" name "/"
8442 (version-major+minor version) "/"
8443 name "-" version ".tar.xz"))
8444 (sha256
8445 (base32
8446 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8447 (build-system meson-build-system)
8448 (arguments
8449 '(#:configure-flags '("-Dextension_set=all")))
8450 (native-inputs
8451 `(("glib:bin" ,glib "bin")
8452 ("intltool" ,intltool)
8453 ("pkg-config" ,pkg-config)))
8454 (propagated-inputs
8455 `(("glib" ,glib)))
8456 (synopsis "Extensions for GNOME Shell")
8457 (description "GNOME Shell extensions modify and extend GNOME Shell
8458 functionality and behavior.")
8459 (home-page "https://extensions.gnome.org/")
8460 (license license:gpl3+)))
8461
8462 (define-public arc-theme
8463 (package
8464 (name "arc-theme")
8465 (version "20190917")
8466 (source (origin
8467 (method git-fetch)
8468 (uri (git-reference
8469 (url "https://github.com/NicoHood/arc-theme")
8470 (commit version)))
8471 (file-name (git-file-name name version))
8472 (sha256
8473 (base32
8474 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8475 (build-system gnu-build-system)
8476 (arguments
8477 '(#:phases
8478 (modify-phases %standard-phases
8479 ;; autogen.sh calls configure at the end of the script.
8480 (replace 'bootstrap
8481 (lambda _ (invoke "autoreconf" "-vfi")))
8482 (add-before 'build 'set-home ;placate Inkscape
8483 (lambda _
8484 (setenv "HOME" (getcwd))
8485 #t)))))
8486 (native-inputs
8487 `(("autoconf" ,autoconf)
8488 ("automake" ,automake)
8489 ("glib" ,glib "bin") ; for glib-compile-resources
8490 ("gnome-shell" ,gnome-shell)
8491 ("gtk+" ,gtk+)
8492 ("inkscape" ,inkscape)
8493 ("optipng" ,optipng)
8494 ("pkg-config" ,pkg-config)
8495 ("sassc" ,sassc/libsass-3.5)))
8496 (synopsis "A flat GTK+ theme with transparent elements")
8497 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8498 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8499 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8500 (home-page "https://github.com/horst3180/arc-theme")
8501 ;; No "or later" language found.
8502 (license license:gpl3+)))
8503
8504 (define-public faba-icon-theme
8505 (package
8506 (name "faba-icon-theme")
8507 (version "4.3")
8508 (source
8509 (origin
8510 (method git-fetch)
8511 (uri (git-reference
8512 (url "https://github.com/snwh/faba-icon-theme")
8513 (commit (string-append "v" version))))
8514 (file-name (git-file-name name version))
8515 (sha256
8516 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8517 (build-system meson-build-system)
8518 (arguments
8519 `(#:phases
8520 (modify-phases %standard-phases
8521 (add-before 'configure 'disable-post-install
8522 (lambda _
8523 (substitute* "meson.build"
8524 (("meson.add_install_script.*") "")))))))
8525 (native-inputs
8526 `(("autoconf" ,autoconf)
8527 ("automake" ,automake)))
8528 (synopsis "Faba icon theme")
8529 (description
8530 "Faba is a minimal icon set used as a basis for other themes such as
8531 Moka")
8532 (home-page "https://snwh.org/moka")
8533 (license (list license:lgpl3+
8534 license:cc-by-sa4.0))))
8535
8536 (define-public moka-icon-theme
8537 (package
8538 (inherit faba-icon-theme)
8539 (name "moka-icon-theme")
8540 (version "5.4.0")
8541 (source
8542 (origin
8543 (method git-fetch)
8544 (uri (git-reference
8545 (url "https://github.com/snwh/moka-icon-theme")
8546 (commit (string-append "v" version))))
8547 (file-name (git-file-name name version))
8548 (sha256
8549 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8550 (propagated-inputs
8551 ;; Moka is based on Faba by using it as a fallback icon set instead of
8552 ;; bundling it, so we need to add it as a propagated input.
8553 `(("faba-icon-theme" ,faba-icon-theme)))
8554 (synopsis "Moka icon theme")
8555 (description "Moka is a stylized desktop icon set, designed to be clear,
8556 simple and consistent.")
8557 (license (list license:gpl3+
8558 license:cc-by-sa4.0))))
8559
8560 (define-public arc-icon-theme
8561 (package
8562 (name "arc-icon-theme")
8563 (version "20161122")
8564 (source
8565 (origin
8566 (method git-fetch)
8567 (uri (git-reference
8568 (url "https://github.com/horst3180/arc-icon-theme")
8569 (commit version)))
8570 (file-name (git-file-name name version))
8571 (sha256
8572 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8573 (build-system gnu-build-system)
8574 (arguments
8575 `(#:phases
8576 (modify-phases %standard-phases
8577 (add-after 'unpack 'disable-configure-during-bootstrap
8578 (lambda _
8579 (substitute* "autogen.sh"
8580 (("^\"\\$srcdir/configure\".*") ""))
8581 #t)))))
8582 (native-inputs
8583 `(("autoconf" ,autoconf)
8584 ("automake" ,automake)))
8585 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8586 (propagated-inputs
8587 `(("moka-icon-theme" ,moka-icon-theme)))
8588 (synopsis "Arc icon theme")
8589 (description "The Arc icon theme provides a set of icons matching the
8590 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8591 the Moka icon theme.")
8592 (home-page "https://github.com/horst3180/arc-icon-theme")
8593 (license license:gpl3+)))
8594
8595 (define-public folks
8596 (package
8597 (name "folks")
8598 (version "0.13.1")
8599 (source (origin
8600 (method url-fetch)
8601 (uri (string-append
8602 "mirror://gnome/sources/folks/"
8603 (version-major+minor version) "/"
8604 "folks-" version ".tar.xz"))
8605 (sha256
8606 (base32
8607 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8608 (build-system meson-build-system)
8609 (arguments
8610 '(#:phases
8611 (modify-phases %standard-phases
8612 (add-after 'unpack 'skip-gtk-update-icon-cache
8613 ;; Don't create 'icon-theme.cache'.
8614 (lambda _
8615 (substitute* "meson_post_install.py"
8616 (("gtk-update-icon-cache") "true"))
8617 #t)))))
8618 (inputs
8619 `(("bdb" ,bdb)
8620 ("dbus-glib" ,dbus-glib)
8621 ("evolution-data-server" ,evolution-data-server)
8622 ("glib" ,glib)
8623 ("libgee" ,libgee)
8624 ("readline" ,readline)
8625 ("telepathy-glib" ,telepathy-glib)))
8626 (native-inputs
8627 `(("glib:bin" ,glib "bin")
8628 ("gobject-introspection" ,gobject-introspection)
8629 ("intltool" ,intltool)
8630 ("pkg-config" ,pkg-config)
8631 ("vala" ,vala)))
8632 (synopsis "Library to aggregate data about people")
8633 (description "Libfolks is a library that aggregates information about people
8634 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8635 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8636 etc.) to create metacontacts. It's written in Vala, which generates C code when
8637 compiled.")
8638 (home-page "https://wiki.gnome.org/Projects/Folks")
8639 (license license:lgpl2.1+)))
8640
8641 (define-public gfbgraph
8642 (package
8643 (name "gfbgraph")
8644 (version "0.2.3")
8645 (source (origin
8646 (method url-fetch)
8647 (uri (string-append
8648 "mirror://gnome/sources/gfbgraph/"
8649 (version-major+minor version) "/"
8650 "gfbgraph-" version ".tar.xz"))
8651 (sha256
8652 (base32
8653 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8654 (build-system glib-or-gtk-build-system)
8655 (arguments
8656 `(#:tests? #f ; Tests appear to require the network.
8657 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8658 #:configure-flags '("--disable-gtk-doc"
8659 "--disable-static"
8660 "--enable-introspection")))
8661 (native-inputs
8662 `(("pkg-config" ,pkg-config)
8663 ("gobject-introspection" ,gobject-introspection)))
8664 (inputs
8665 `(("json-glib" ,json-glib)
8666 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8667 ("rest" ,rest)))
8668 (synopsis "GLib/GObject wrapper for the Facebook API")
8669 (description "This library allows you to use the Facebook API from
8670 GLib/GObject code.")
8671 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8672 (license license:lgpl2.1+)))
8673
8674 (define-public libgnomekbd
8675 (package
8676 (name "libgnomekbd")
8677 (version "3.26.1")
8678 (source (origin
8679 (method url-fetch)
8680 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8681 (version-major+minor version) "/"
8682 "libgnomekbd-" version ".tar.xz"))
8683 (sha256
8684 (base32
8685 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8686 (build-system gnu-build-system)
8687 (native-inputs
8688 `(("pkg-config" ,pkg-config)
8689 ("glib" ,glib "bin")
8690 ("intltool" ,intltool)))
8691 (propagated-inputs
8692 ;; Referred to in .h files and .pc.
8693 `(("glib" ,glib)
8694 ("gtk+" ,gtk+)
8695 ("libxklavier" ,libxklavier)))
8696 (home-page "https://www.gnome.org")
8697 (synopsis "GNOME keyboard configuration library")
8698 (description
8699 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8700 environment, which can notably display keyboard layouts.")
8701 (license license:lgpl2.0+)))
8702
8703 ;;; This package is no longer maintained:
8704 ;;; https://wiki.gnome.org/Attic/LibUnique
8705 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8706 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8707 (define-public libunique
8708 (package
8709 (name "libunique")
8710 (version "3.0.2")
8711 (source (origin
8712 (method url-fetch)
8713 (uri (string-append "mirror://gnome/sources/" name "/"
8714 (version-major+minor version) "/"
8715 name "-" version ".tar.xz"))
8716 (sha256
8717 (base32
8718 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8719 (build-system glib-or-gtk-build-system)
8720 (arguments
8721 `(#:configure-flags '("--disable-static"
8722 "--disable-dbus" ; use gdbus
8723 "--enable-introspection")))
8724 (native-inputs
8725 `(("pkg-config" ,pkg-config)
8726 ("gobject-introspection" ,gobject-introspection)
8727 ("glib:bin" ,glib "bin")
8728 ("gtk-doc" ,gtk-doc)))
8729 (propagated-inputs
8730 ;; Referred to in .h files and .pc.
8731 `(("gtk+" ,gtk+)))
8732 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8733 (synopsis "Library for writing single instance applications")
8734 (description
8735 "Libunique is a library for writing single instance applications. If you
8736 launch a single instance application twice, the second instance will either just
8737 quit or will send a message to the running instance. Libunique makes it easy to
8738 write this kind of application, by providing a base class, taking care of all
8739 the IPC machinery needed to send messages to a running instance, and also
8740 handling the startup notification side.")
8741 (license license:lgpl2.1+)))
8742
8743 (define-public gnome-calculator
8744 (package
8745 (name "gnome-calculator")
8746 (version "3.34.1")
8747 (source
8748 (origin
8749 (method url-fetch)
8750 (uri (string-append "mirror://gnome/sources/" name "/"
8751 (version-major+minor version) "/"
8752 name "-" version ".tar.xz"))
8753 (sha256
8754 (base32
8755 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8756 (build-system meson-build-system)
8757 (arguments '(#:glib-or-gtk? #t))
8758 (native-inputs
8759 `(("gettext" ,gettext-minimal)
8760 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8761 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8762 ("itstool" ,itstool)
8763 ("vala" ,vala)
8764 ("pkg-config" ,pkg-config)))
8765 (inputs
8766 `(("glib" ,glib)
8767 ("gtksourceview" ,gtksourceview)
8768 ("libgee" ,libgee)
8769 ("libsoup" ,libsoup)
8770 ("libxml2" ,libxml2)
8771 ("mpc" ,mpc)
8772 ("mpfr" ,mpfr)))
8773 (home-page "https://wiki.gnome.org/Apps/Calculator")
8774 (synopsis "Desktop calculator")
8775 (description
8776 "Calculator is an application that solves mathematical equations and
8777 is suitable as a default application in a Desktop environment.")
8778 (license license:gpl3)))
8779
8780 (define-public xpad
8781 (package
8782 (name "xpad")
8783 (version "5.1.0")
8784 (source
8785 (origin
8786 (method url-fetch)
8787 (uri (string-append "https://launchpad.net/xpad/trunk/"
8788 version "/+download/"
8789 name "-" version ".tar.bz2"))
8790 (sha256
8791 (base32
8792 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8793 (build-system gnu-build-system)
8794 (native-inputs
8795 `(("autoconf" ,autoconf)
8796 ("automake" ,automake)
8797 ("gtk+:bin" ,gtk+ "bin")
8798 ("intltool" ,intltool)
8799 ("pkg-config" ,pkg-config)))
8800 (inputs
8801 `(("gtksourceview" ,gtksourceview-3)
8802 ("libsm" ,libsm)))
8803 (home-page "https://wiki.gnome.org/Apps/Xpad")
8804 (synopsis "Virtual sticky note")
8805 (description
8806 "Xpad is a sticky note that strives to be simple, fault tolerant,
8807 and customizable. Xpad consists of independent pad windows, each is
8808 basically a text box in which notes can be written.")
8809 (license license:gpl3+)))
8810
8811 (define-public gucharmap
8812 (let ((unicode-files
8813 '(("Blocks.txt"
8814 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8815 ("DerivedAge.txt"
8816 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8817 ("NamesList.txt"
8818 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8819 ("Scripts.txt"
8820 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8821 ("UnicodeData.txt"
8822 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8823 ("Unihan.zip"
8824 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8825 (package
8826 (name "gucharmap")
8827 (version "12.0.1")
8828 (source
8829 (origin
8830 (method url-fetch)
8831 (uri (string-append "mirror://gnome/sources/" name "/"
8832 (version-major+minor version) "/"
8833 name "-" version ".tar.xz"))
8834 (sha256
8835 (base32
8836 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8837 (build-system glib-or-gtk-build-system)
8838 (arguments
8839 `(#:modules ((ice-9 match)
8840 (guix build glib-or-gtk-build-system)
8841 (guix build utils))
8842 #:configure-flags
8843 (list "--with-unicode-data=../unicode-data")
8844 #:phases
8845 (modify-phases %standard-phases
8846 (add-after 'unpack 'prepare-unicode-data
8847 (lambda* (#:key inputs #:allow-other-keys)
8848 (mkdir-p "../unicode-data")
8849 (with-directory-excursion "../unicode-data"
8850 (for-each (match-lambda
8851 ((file _)
8852 (install-file (assoc-ref inputs file) ".")))
8853 ',unicode-files))
8854 #t)))))
8855 (native-inputs
8856 `(("desktop-file-utils" ,desktop-file-utils)
8857 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8858 ("gobject-introspection" ,gobject-introspection)
8859 ("intltool" ,intltool)
8860 ("itstool" ,itstool)
8861 ("pkg-config" ,pkg-config)
8862 ,@(map (match-lambda
8863 ((file hash)
8864 `(,file
8865 ,(origin
8866 (method url-fetch)
8867 (uri (string-append
8868 "http://www.unicode.org/Public/12.0.0/ucd/"
8869 file))
8870 (sha256 (base32 hash))))))
8871 unicode-files)
8872 ("unzip" ,unzip)))
8873 (inputs
8874 `(("gtk+" ,gtk+)
8875 ("xmllint" ,libxml2)))
8876 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8877 (synopsis "Unicode character picker and font browser")
8878 (description
8879 "This program allows you to browse through all the available Unicode
8880 characters and categories for the installed fonts, and to examine their
8881 detailed properties. It is an easy way to find the character you might
8882 only know by its Unicode name or code point.")
8883 (license license:gpl3+))))
8884
8885 (define-public bluefish
8886 (package
8887 (name "bluefish")
8888 (version "2.2.11")
8889 (source
8890 (origin
8891 (method url-fetch)
8892 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8893 "bluefish-" version ".tar.gz"))
8894 (sha256
8895 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8896 (build-system gnu-build-system)
8897 (native-inputs
8898 `(("desktop-file-utils" ,desktop-file-utils)
8899 ("intltool" ,intltool)
8900 ("pkg-config" ,pkg-config)))
8901 (inputs
8902 `(("enchant" ,enchant)
8903 ("gtk+" ,gtk+)
8904 ("python" ,python-wrapper)
8905 ("xmllint" ,libxml2)
8906 ("gucharmap" ,gucharmap)))
8907 (home-page "http://bluefish.openoffice.nl")
8908 (synopsis "Web development studio")
8909 (description
8910 "Bluefish is an editor targeted towards programmers and web developers,
8911 with many options to write web sites, scripts and other code.
8912 Bluefish supports many programming and markup languages.")
8913 (license license:gpl3+)))
8914
8915 (define-public gnome-system-monitor
8916 (package
8917 (name "gnome-system-monitor")
8918 (version "3.32.1")
8919 (source
8920 (origin
8921 (method url-fetch)
8922 (uri (string-append "mirror://gnome/sources/" name "/"
8923 (version-major+minor version) "/"
8924 name "-" version ".tar.xz"))
8925 (sha256
8926 (base32
8927 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8928 (build-system meson-build-system)
8929 (arguments
8930 '(#:glib-or-gtk? #t
8931 #:configure-flags '("-Dsystemd=false")))
8932 (native-inputs
8933 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8934 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8935 ("intltool" ,intltool)
8936 ("itstool" ,itstool)
8937 ("libgtop" ,libgtop)
8938 ("polkit" ,polkit)
8939 ("pkg-config" ,pkg-config)))
8940 (inputs
8941 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8942 ("gtk+" ,gtk+)
8943 ("gtkmm" ,gtkmm)
8944 ("librsvg" ,librsvg)
8945 ("libxml2" ,libxml2)
8946 ("libwnck" ,libwnck)))
8947 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8948 (synopsis "Process viewer and system resource monitor for GNOME")
8949 (description
8950 "GNOME System Monitor is a GNOME process viewer and system monitor with
8951 an attractive, easy-to-use interface. It has features, such as a tree view
8952 for process dependencies, icons for processes, the ability to hide processes,
8953 graphical time histories of CPU/memory/swap usage and the ability to
8954 kill/reinice processes.")
8955 (license license:gpl2+)))
8956
8957 (define-public python-pyatspi
8958 (package
8959 (name "python-pyatspi")
8960 (version "2.34.0")
8961 (source (origin
8962 (method url-fetch)
8963 (uri (string-append
8964 "mirror://gnome/sources/pyatspi/"
8965 (version-major+minor version)
8966 "/pyatspi-" version ".tar.xz"))
8967 (sha256
8968 (base32
8969 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8970 (build-system gnu-build-system)
8971 (arguments
8972 `(#:phases
8973 (modify-phases %standard-phases
8974 (add-before 'build 'fix-atk-load
8975 (lambda _
8976 (substitute* "pyatspi/__init__.py"
8977 (("from gi.repository import Atspi")
8978 "gi.require_version('Gtk', '3.0')
8979 from gi.repository import Gtk
8980 from gi.repository import Atspi"))
8981 #t)))))
8982 (native-inputs
8983 `(("pkg-config" ,pkg-config)))
8984 (inputs
8985 `(("python" ,python)))
8986 (propagated-inputs
8987 `(("python-pygobject" ,python-pygobject)))
8988 (synopsis "Python client bindings for D-Bus AT-SPI")
8989 (home-page "https://wiki.linuxfoundation.org/accessibility\
8990 /atk/at-spi/at-spi_on_d-bus")
8991 (description
8992 "This package includes a python client library for the AT-SPI D-Bus
8993 accessibility infrastructure.")
8994 (license license:lgpl2.0)
8995 (properties '((upstream-name . "pyatspi")))))
8996
8997 (define-public python2-pyatspi
8998 (package
8999 (inherit python-pyatspi)
9000 (name "python2-pyatspi")
9001 (inputs
9002 `(("python" ,python-2)))
9003 (propagated-inputs
9004 `(("python-pygobject" ,python2-pygobject)))))
9005
9006 (define-public orca
9007 (package
9008 (name "orca")
9009 (version "3.34.1")
9010 (source (origin
9011 (method url-fetch)
9012 (uri (string-append
9013 "mirror://gnome/sources/" name "/"
9014 (version-major+minor version) "/"
9015 name "-" version ".tar.xz"))
9016 (sha256
9017 (base32
9018 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
9019 (build-system glib-or-gtk-build-system)
9020 (arguments
9021 '(#:phases
9022 (modify-phases %standard-phases
9023 (add-before 'configure 'qualify-xkbcomp
9024 (lambda* (#:key inputs #:allow-other-keys)
9025 (let ((xkbcomp (string-append
9026 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
9027 (substitute* "src/orca/orca.py"
9028 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
9029 #t))
9030 (add-after 'install 'wrap-orca
9031 (lambda* (#:key outputs #:allow-other-keys)
9032 (let* ((out (assoc-ref outputs "out"))
9033 (prog (string-append out "/bin/orca")))
9034 (wrap-program prog
9035 `("GI_TYPELIB_PATH" ":" prefix
9036 (,(getenv "GI_TYPELIB_PATH")))
9037 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
9038 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
9039 `("PYTHONPATH" ":" prefix
9040 (,(getenv "PYTHONPATH")))))
9041 #t)))))
9042 (native-inputs
9043 `(("intltool" ,intltool)
9044 ("itstool" ,itstool)
9045 ("pkg-config" ,pkg-config)
9046 ("xmllint" ,libxml2)))
9047 (inputs
9048 `(("at-spi2-atk" ,at-spi2-atk)
9049 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9050 ("gstreamer" ,gstreamer)
9051 ("gst-plugins-base" ,gst-plugins-base)
9052 ("gst-plugins-good" ,gst-plugins-good)
9053 ("gtk+" ,gtk+)
9054 ("python" ,python)
9055 ("python-pygobject" ,python-pygobject)
9056 ("python-pyatspi" ,python-pyatspi)
9057 ("python-speechd" ,speech-dispatcher)
9058 ("xkbcomp" ,xkbcomp)))
9059 (synopsis
9060 "Screen reader for individuals who are blind or visually impaired")
9061 (home-page "https://wiki.gnome.org/Projects/Orca")
9062 (description
9063 "Orca is a screen reader that provides access to the graphical desktop
9064 via speech and refreshable braille. Orca works with applications and toolkits
9065 that support the Assistive Technology Service Provider Interface (AT-SPI).")
9066 (license license:lgpl2.1+)))
9067
9068 (define-public gspell
9069 (package
9070 (name "gspell")
9071 (version "1.8.2")
9072 (source (origin
9073 (method url-fetch)
9074 (uri (string-append "mirror://gnome/sources/" name "/"
9075 (version-major+minor version) "/"
9076 name "-" version ".tar.xz"))
9077 (sha256
9078 (base32
9079 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
9080 (patches (search-patches "gspell-dash-test.patch"))))
9081 (build-system glib-or-gtk-build-system)
9082 (arguments
9083 '(#:configure-flags (list "--enable-vala")
9084 #:phases
9085 (modify-phases %standard-phases
9086 (add-before 'check 'pre-check
9087 (lambda* (#:key inputs #:allow-other-keys)
9088 ;; Tests require a running X server.
9089 (system "Xvfb :1 &")
9090 (setenv "DISPLAY" ":1")
9091
9092 ;; For the missing /etc/machine-id.
9093 (setenv "DBUS_FATAL_WARNINGS" "0")
9094
9095 ;; Allow Enchant and its Aspell backend to find the en_US
9096 ;; dictionary.
9097 (setenv "ASPELL_DICT_DIR"
9098 (string-append (assoc-ref inputs "aspell-dict-en")
9099 "/lib/aspell"))
9100 #t)))))
9101 (inputs
9102 `(("gtk+" ,gtk+)
9103 ("glib" ,glib)
9104 ("iso-codes" ,iso-codes)))
9105 (native-inputs
9106 `(("glib" ,glib "bin")
9107 ("gobject-introspection" ,gobject-introspection)
9108 ("pkg-config" ,pkg-config)
9109 ("vala" ,vala) ;for VAPI, needed by Geary
9110 ("xmllint" ,libxml2)
9111
9112 ;; For tests.
9113 ("aspell-dict-en" ,aspell-dict-en)
9114 ("xorg-server" ,xorg-server-for-tests)))
9115 (propagated-inputs
9116 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
9117 (home-page "https://wiki.gnome.org/Projects/gspell")
9118 (synopsis "GNOME's alternative spell checker")
9119 (description
9120 "gspell provides a flexible API to add spell-checking to a GTK+
9121 application. It provides a GObject API, spell-checking to text entries and
9122 text views, and buttons to choose the language.")
9123 (license license:gpl2+)))
9124
9125 (define-public gnome-planner
9126 (package
9127 (name "gnome-planner")
9128 (version "0.14.6")
9129 (source (origin
9130 (method url-fetch)
9131 (uri (string-append "mirror://gnome/sources/planner/"
9132 (version-major+minor version) "/planner-"
9133 version ".tar.xz"))
9134 (sha256
9135 (base32
9136 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9137 (build-system glib-or-gtk-build-system)
9138 (arguments
9139 ;; Disable the Python bindings because the Planner program functions
9140 ;; without them, and (as of 2017-06-13) we have not packaged all of
9141 ;; packages that are necessary for building the Python bindings.
9142 `(#:configure-flags
9143 (list "--disable-python"
9144 ,@(if (string=? "aarch64-linux" (%current-system))
9145 '("--build=aarch64-unknown-linux-gnu")
9146 '()))))
9147 (inputs
9148 `(("libgnomecanvas" ,libgnomecanvas)
9149 ("libgnomeui" ,libgnomeui)
9150 ("libglade" ,libglade)
9151 ("gnome-vfs" ,gnome-vfs)
9152 ("gconf" ,gconf)
9153 ("libxml2" ,libxml2)
9154 ("libxslt" ,libxslt)
9155 ("gtk+" ,gtk+)
9156 ("glib" ,glib)))
9157 (native-inputs
9158 `(("intltool" ,intltool)
9159 ("scrollkeeper" ,scrollkeeper)
9160 ("pkg-config" ,pkg-config)))
9161 (home-page "https://wiki.gnome.org/Apps/Planner")
9162 (synopsis "Project management software for the GNOME desktop")
9163 (description
9164 "GNOME Planner is a project management tool based on the Work Breakdown
9165 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9166 the resources, tasks, and constraints that you define, Planner generates
9167 various views into a project. For example, Planner can show a Gantt chart of
9168 the project. It can show a detailed summary of tasks including their
9169 duration, cost, and current progress. It can also show a report of resource
9170 utilization that highlights under-utilized and over-utilized resources. These
9171 views can be printed as PDF or PostScript files, or exported to HTML.")
9172 (license license:gpl2+)))
9173
9174 (define-public lollypop
9175 (package
9176 (name "lollypop")
9177 (version "1.2.32")
9178 (source
9179 (origin
9180 (method url-fetch)
9181 (uri (string-append "https://adishatz.org/lollypop/"
9182 "lollypop-" version ".tar.xz"))
9183 (sha256
9184 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9185 (build-system meson-build-system)
9186 (arguments
9187 `(#:imported-modules
9188 (,@%meson-build-system-modules
9189 (guix build python-build-system))
9190 #:modules
9191 ((guix build meson-build-system)
9192 ((guix build python-build-system) #:prefix python:)
9193 (guix build utils))
9194 #:glib-or-gtk? #t
9195 #:tests? #f ; no test suite
9196 #:phases
9197 (modify-phases %standard-phases
9198 (add-after 'install 'wrap-program
9199 (lambda* (#:key outputs #:allow-other-keys)
9200 (let ((out (assoc-ref outputs "out"))
9201 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9202 (wrap-program (string-append out "/bin/lollypop")
9203 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9204 #t))
9205 (add-after 'install 'wrap-python
9206 (assoc-ref python:%standard-phases 'wrap)))))
9207 (native-inputs
9208 `(("intltool" ,intltool)
9209 ("itstool" ,itstool)
9210 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9211 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9212 ("pkg-config" ,pkg-config)))
9213 (inputs
9214 `(("gobject-introspection" ,gobject-introspection)
9215 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9216 ("gst-plugins-base" ,gst-plugins-base)
9217 ("libnotify" ,libnotify)
9218 ("libsecret" ,libsecret)
9219 ("libsoup" ,libsoup)
9220 ("python" ,python)
9221 ("python-beautifulsoup4" ,python-beautifulsoup4)
9222 ("python-gst" ,python-gst)
9223 ("python-pil" ,python-pillow)
9224 ("python-pycairo" ,python-pycairo)
9225 ("python-pygobject" ,python-pygobject)
9226 ("python-pylast" ,python-pylast)
9227 ("totem-pl-parser" ,totem-pl-parser)
9228 ("webkitgtk" ,webkitgtk)))
9229 (propagated-inputs
9230 `(;; gst-plugins-base is required to start Lollypop,
9231 ;; the others are required to play streaming.
9232 ("gst-plugins-good" ,gst-plugins-good)
9233 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9234 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9235 (synopsis "GNOME music playing application")
9236 (description
9237 "Lollypop is a music player designed to play well with GNOME desktop.
9238 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9239 from artists and tracks from the web. It also fetches cover artworks
9240 automatically and it can stream songs from online music services and charts.")
9241 (license license:gpl3+)))
9242
9243 (define-public gnome-video-effects
9244 (package
9245 (name "gnome-video-effects")
9246 (version "0.4.3")
9247 (source (origin
9248 (method url-fetch)
9249 (uri (string-append "mirror://gnome/sources/" name "/"
9250 (version-major+minor version) "/" name "-"
9251 version ".tar.xz"))
9252 (sha256
9253 (base32
9254 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9255 (build-system glib-or-gtk-build-system)
9256 (arguments
9257 `(#:out-of-source? #f))
9258 (native-inputs
9259 `(("glib:bin" ,glib "bin")
9260 ("intltool" ,intltool)
9261 ("gettext" ,gettext-minimal)
9262 ("pkg-config" ,pkg-config)))
9263 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9264 (synopsis "Video effects for Cheese and other GNOME applications")
9265 (description
9266 "A collection of GStreamer video filters and effects to be used in
9267 photo-booth-like software, such as Cheese.")
9268 (license license:gpl2+)))
9269
9270 (define-public cheese
9271 (package
9272 (name "cheese")
9273 (version "3.34.0")
9274 (source (origin
9275 (method url-fetch)
9276 (uri (string-append "mirror://gnome/sources/" name "/"
9277 (version-major+minor version) "/" name "-"
9278 version ".tar.xz"))
9279 (sha256
9280 (base32
9281 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9282 (arguments
9283 `(#:glib-or-gtk? #t
9284 ;; Tests require GDK.
9285 #:tests? #f
9286 #:phases
9287 (modify-phases %standard-phases
9288 (add-after 'unpack 'skip-gtk-update-icon-cache
9289 (lambda _
9290 ;; Don't create 'icon-theme.cache'
9291 (substitute* "meson_post_install.py"
9292 (("gtk-update-icon-cache") (which "true")))
9293 #t))
9294 (add-after 'install 'wrap-cheese
9295 (lambda* (#:key inputs outputs #:allow-other-keys)
9296 (let ((out (assoc-ref outputs "out"))
9297 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9298 (wrap-program (string-append out "/bin/cheese")
9299 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9300 #t)))))
9301 (build-system meson-build-system)
9302 (native-inputs
9303 `(("docbook-xsl" ,docbook-xsl)
9304 ("glib:bin" ,glib "bin")
9305 ("gtk-doc" ,gtk-doc)
9306 ("intltool" ,intltool)
9307 ("itstool" ,itstool)
9308 ("libxml2" ,libxml2)
9309 ("libxslt" ,libxslt)
9310 ("pkg-config" ,pkg-config)
9311 ("vala" ,vala)))
9312 (propagated-inputs
9313 `(("gnome-video-effects" ,gnome-video-effects)
9314 ("clutter" ,clutter)
9315 ("clutter-gst" ,clutter-gst)
9316 ("clutter-gtk" ,clutter-gtk)
9317 ("libcanberra" ,libcanberra)
9318 ("gdk-pixbuf" ,gdk-pixbuf)
9319 ("glib" ,glib)
9320 ("gstreamer" ,gstreamer)))
9321 (inputs
9322 `(("gnome-desktop" ,gnome-desktop)
9323 ("gobject-introspection" ,gobject-introspection)
9324 ("gst-plugins-base" ,gst-plugins-base)
9325 ("gst-plugins-bad" ,gst-plugins-bad)
9326 ("gtk+" ,gtk+)
9327 ("libx11" ,libx11)
9328 ("libxtst" ,libxtst)))
9329 (home-page "https://wiki.gnome.org/Apps/Cheese")
9330 (synopsis "Webcam photo booth software for GNOME")
9331 (description
9332 "Cheese uses your webcam to take photos and videos. Cheese can also
9333 apply fancy special effects and lets you share the fun with others.")
9334 (license license:gpl2+)))
9335
9336 (define-public sound-juicer
9337 (package
9338 (name "sound-juicer")
9339 (version "3.24.0")
9340 (source
9341 (origin
9342 (method url-fetch)
9343 (uri (string-append "mirror://gnome/sources/" name "/"
9344 (version-major+minor version) "/"
9345 name "-" version ".tar.xz"))
9346 (sha256
9347 (base32
9348 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9349 (build-system glib-or-gtk-build-system)
9350 (native-inputs
9351 `(("desktop-file-utils" ,desktop-file-utils)
9352 ("intltool" ,intltool)
9353 ("itstool" ,itstool)
9354 ("pkg-config" ,pkg-config)
9355 ("xmllint" ,libxml2)))
9356 (inputs
9357 `(("gtk+" ,gtk+)
9358 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9359 ("gstreamer" ,gstreamer)
9360 ("gst-plugins-base" ,gst-plugins-base)
9361 ("gst-plugins-good" ,gst-plugins-good)
9362 ("iso-codes" ,iso-codes)
9363 ("libbrasero-media3" ,brasero)
9364 ("libcanberra" ,libcanberra)
9365 ("libdiscid" ,libdiscid)
9366 ("libmusicbrainz" ,libmusicbrainz)
9367 ("neon" ,neon)))
9368 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9369 (synopsis "Audio music cd ripper")
9370 (description "Sound Juicer extracts audio from compact discs and convert it
9371 into audio files that a personal computer or digital audio player can play.
9372 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9373 mp3, Ogg Vorbis and FLAC")
9374 (license license:gpl2+)))
9375
9376 (define-public soundconverter
9377 (package
9378 (name "soundconverter")
9379 (version "3.0.2")
9380 (source
9381 (origin
9382 (method url-fetch)
9383 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9384 version "/+download/"
9385 "soundconverter-" version ".tar.xz"))
9386
9387 (sha256
9388 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
9389 (build-system glib-or-gtk-build-system)
9390 (arguments
9391 `(#:imported-modules ((guix build python-build-system)
9392 (guix build glib-or-gtk-build-system)
9393 ,@%gnu-build-system-modules)
9394
9395 #:modules ((guix build glib-or-gtk-build-system)
9396 (guix build utils)
9397 ((guix build gnu-build-system) #:prefix gnu:)
9398 ((guix build python-build-system) #:prefix python:))
9399
9400 #:phases
9401 (modify-phases %standard-phases
9402 (add-after 'install 'wrap-soundconverter-for-python
9403 (assoc-ref python:%standard-phases 'wrap))
9404 (add-after 'install 'wrap-soundconverter
9405 (lambda* (#:key inputs outputs #:allow-other-keys)
9406 (let ((out (assoc-ref outputs "out"))
9407 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9408 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9409 (wrap-program (string-append out "/bin/soundconverter")
9410 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9411 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9412 #t)))))
9413 (native-inputs
9414 `(("intltool" ,intltool)
9415 ("pkg-config" ,pkg-config)
9416 ("glib:bin" ,glib "bin")))
9417 (inputs
9418 `(("gtk+" ,gtk+)
9419 ("python" ,python)
9420 ("python-pygobject" ,python-pygobject)
9421 ("gstreamer" ,gstreamer)
9422 ("gst-plugins-base" ,gst-plugins-base)))
9423 (home-page "https://soundconverter.org/")
9424 (synopsis "Convert between audio formats with a graphical interface")
9425 (description
9426 "SoundConverter supports converting between many audio formats including
9427 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9428 configurable file renaming. ")
9429 (license license:gpl3)))
9430
9431 (define-public workrave
9432 (package
9433 (name "workrave")
9434 (version "1.10.42")
9435 (source
9436 (origin
9437 (method git-fetch)
9438 (uri (git-reference
9439 (url "https://github.com/rcaelers/workrave")
9440 (commit (string-append "v" (string-map
9441 (match-lambda (#\. #\_) (chr chr))
9442 version)))))
9443 (file-name (git-file-name name version))
9444 (sha256
9445 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9446 (build-system glib-or-gtk-build-system)
9447 (arguments
9448 ;; The only tests are maintainer tests (in po/), which fail.
9449 `(#:tests? #f))
9450 (inputs `(("glib" ,glib)
9451 ("gtk+" ,gtk+)
9452 ("gdk-pixbuf" ,gdk-pixbuf)
9453 ("gtkmm" ,gtkmm)
9454 ("glibmm" ,glibmm)
9455 ("libx11" ,libx11)
9456 ("libxtst" ,libxtst)
9457 ("dconf" ,dconf)
9458 ("libice" ,libice)
9459 ("libsm" ,libsm)
9460 ("libxscrnsaver" ,libxscrnsaver)))
9461 (native-inputs `(("boost" ,boost)
9462 ("pkg-config" ,pkg-config)
9463 ("gettext" ,gettext-minimal)
9464 ("autoconf" ,autoconf)
9465 ("autoconf-archive" , autoconf-archive)
9466 ("automake" ,automake)
9467 ("libtool" ,libtool)
9468 ("intltool" ,intltool)
9469 ("gobject-introspection" ,gobject-introspection)
9470 ("python3" ,python-3)
9471 ("python-jinja2" ,python-jinja2)))
9472 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9473 (description
9474 "Workrave is a program that assists in the recovery and prevention of
9475 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9476 micro-pauses and rest breaks, and restricts you to your daily limit.")
9477 (home-page "http://www.workrave.org")
9478 (license license:gpl3+)))
9479
9480 (define-public ghex
9481 (package
9482 (name "ghex")
9483 (version "3.18.4")
9484 (source (origin
9485 (method url-fetch)
9486 (uri (string-append "mirror://gnome/sources/ghex/"
9487 (version-major+minor version) "/"
9488 "ghex-" version ".tar.xz"))
9489 (sha256
9490 (base32
9491 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9492 (build-system meson-build-system)
9493 (arguments
9494 '(#:glib-or-gtk? #t
9495 #:phases
9496 (modify-phases %standard-phases
9497 (add-after 'unpack 'skip-gtk-update-icon-cache
9498 ;; Don't create 'icon-theme.cache'.
9499 (lambda _
9500 (substitute* "meson_post_install.py"
9501 (("gtk-update-icon-cache") (which "true")))
9502 #t)))))
9503 (native-inputs
9504 `(("pkg-config" ,pkg-config)
9505 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9506 ("gnome-common" ,gnome-common)
9507 ("which" ,which)
9508 ("intltool" ,intltool)
9509 ("yelp-tools" ,yelp-tools)
9510 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9511 (inputs
9512 `(("atk" ,atk)
9513 ("gtk" ,gtk+)))
9514 (synopsis "GNOME hexadecimal editor")
9515 (description "The GHex program can view and edit files in two ways:
9516 hexadecimal or ASCII. It is useful for editing binary files in general.")
9517 (home-page "https://wiki.gnome.org/Apps/Ghex")
9518 (license license:gpl2)))
9519
9520 (define-public libdazzle
9521 (package
9522 (name "libdazzle")
9523 (version "3.34.1")
9524 (source (origin
9525 (method url-fetch)
9526 (uri (string-append "mirror://gnome/sources/libdazzle/"
9527 (version-major+minor version) "/"
9528 "libdazzle-" version ".tar.xz"))
9529 (sha256
9530 (base32
9531 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9532 (build-system meson-build-system)
9533 (arguments
9534 `(#:phases
9535 (modify-phases %standard-phases
9536 (add-before 'check 'pre-check
9537 (lambda _
9538 ;; Tests require a running X server.
9539 (system "Xvfb :1 &")
9540 (setenv "DISPLAY" ":1")
9541 #t)))))
9542 (native-inputs
9543 `(("glib" ,glib "bin") ; glib-compile-resources
9544 ("pkg-config" ,pkg-config)
9545 ;; For tests.
9546 ("xorg-server" ,xorg-server-for-tests)))
9547 (inputs
9548 `(("glib" ,glib)
9549 ("gobject-introspection" ,gobject-introspection)
9550 ("gtk+" ,gtk+)
9551 ("vala" ,vala)))
9552 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9553 (synopsis "Companion library to GObject and Gtk+")
9554 (description "The libdazzle library is a companion library to GObject and
9555 Gtk+. It provides various features that the authors wish were in the
9556 underlying library but cannot for various reasons. In most cases, they are
9557 wildly out of scope for those libraries. In other cases, they are not quite
9558 generic enough to work for everyone.")
9559 (license license:gpl3+)))
9560
9561 (define-public evolution
9562 (package
9563 (name "evolution")
9564 (version "3.34.2")
9565 (source (origin
9566 (method url-fetch)
9567 (uri (string-append "mirror://gnome/sources/evolution/"
9568 (version-major+minor version) "/"
9569 "evolution-" version ".tar.xz"))
9570 (sha256
9571 (base32
9572 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9573 (build-system cmake-build-system)
9574 (arguments
9575 `(#:imported-modules (,@%cmake-build-system-modules
9576 (guix build glib-or-gtk-build-system))
9577 #:modules ((guix build cmake-build-system)
9578 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9579 (guix build utils))
9580 #:configure-flags
9581 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9582 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9583 ; in four years and cannot be built.
9584 #:phases
9585 (modify-phases %standard-phases
9586 ;; The build system attempts to install user interface modules to the
9587 ;; output directory of the "evolution-data-server" package. This
9588 ;; change redirects that change.
9589 (add-after 'unpack 'patch-ui-module-dir
9590 (lambda* (#:key outputs #:allow-other-keys)
9591 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9592 (("\\$\\{edsuimoduledir\\}")
9593 (string-append (assoc-ref outputs "out")
9594 "/lib/evolution-data-server/ui-modules")))
9595 #t))
9596 (add-after 'install 'glib-or-gtk-compile-schemas
9597 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9598 (add-after 'install 'glib-or-gtk-wrap
9599 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9600 (native-inputs
9601 `(("glib" ,glib "bin") ; glib-mkenums
9602 ("pkg-config" ,pkg-config)
9603 ("intltool" ,intltool)
9604 ("itstool" ,itstool)))
9605 (inputs
9606 `(("enchant" ,enchant)
9607 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9608 ("gcr" ,gcr)
9609 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9610 ("gnome-autoar" ,gnome-autoar)
9611 ("gnome-desktop" ,gnome-desktop)
9612 ("gspell" ,gspell)
9613 ("highlight" ,highlight)
9614 ("libcanberra" ,libcanberra)
9615 ("libgweather" ,libgweather)
9616 ("libnotify" ,libnotify)
9617 ("libsoup" ,libsoup)
9618 ("nss" ,nss)
9619 ("openldap" ,openldap)
9620 ("webkitgtk" ,webkitgtk)
9621 ("ytnef" ,ytnef)))
9622 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9623 (synopsis "Manage your email, contacts and schedule")
9624 (description "Evolution is a personal information management application
9625 that provides integrated mail, calendaring and address book
9626 functionality.")
9627 ;; See COPYING for details.
9628 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9629 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9630 license:lgpl2.1+)))) ; smime/lib/*
9631
9632 (define-public gthumb
9633 (package
9634 (name "gthumb")
9635 (version "3.8.2")
9636 (source (origin
9637 (method url-fetch)
9638 (uri (string-append "mirror://gnome/sources/gthumb/"
9639 (version-major+minor version) "/"
9640 "gthumb-" version ".tar.xz"))
9641 (sha256
9642 (base32
9643 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9644 (build-system meson-build-system)
9645 (arguments
9646 `(#:glib-or-gtk? #t
9647 #:configure-flags
9648 ;; Ensure the RUNPATH contains all installed library locations.
9649 (list (string-append "-Dc_link_args=-Wl,-rpath="
9650 (assoc-ref %outputs "out")
9651 "/lib/gthumb/extensions")
9652 (string-append "-Dcpp_link_args=-Wl,-rpath="
9653 (assoc-ref %outputs "out")
9654 "/lib/gthumb/extensions"))))
9655 (native-inputs
9656 `(("pkg-config" ,pkg-config)
9657 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9658 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9659 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9660 ("intltool" ,intltool)
9661 ("itstool" ,itstool)))
9662 (inputs
9663 `(("exiv2" ,exiv2)
9664 ("gtk" ,gtk+)
9665 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9666 ("gstreamer" ,gstreamer)
9667 ("clutter" ,clutter)
9668 ("clutter-gst" ,clutter-gst)
9669 ("clutter-gtk" ,clutter-gtk)
9670 ("libjpeg" ,libjpeg-turbo)
9671 ("libtiff" ,libtiff)
9672 ("libraw" ,libraw)))
9673 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9674 (synopsis "GNOME image viewer and browser")
9675 (description "GThumb is an image viewer, browser, organizer, editor and
9676 advanced image management tool")
9677 (license license:gpl2+)))
9678
9679 (define-public terminator
9680 (package
9681 (name "terminator")
9682 (version "1.91")
9683 (source (origin
9684 (method url-fetch)
9685 (uri (string-append "https://launchpad.net/" name "/"
9686 "gtk3/" version "/" "+download/"
9687 name "-" version ".tar.gz"))
9688 (sha256
9689 (base32
9690 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9691 (build-system python-build-system)
9692 (native-inputs
9693 `(("intltool" ,intltool)
9694 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9695 ("gettext" ,gettext-minimal)
9696 ("pkg-config" ,pkg-config)))
9697 (inputs
9698 `(("cairo" ,cairo)
9699 ("gobject-introspection" ,gobject-introspection)
9700 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9701 ("python2-pycairo" ,python2-pycairo)
9702 ("python2-pygobject" ,python2-pygobject)
9703 ("python2-psutil" ,python2-psutil)
9704 ("vte" ,vte)))
9705 (arguments
9706 `(#:python ,python-2 ; Python 3 isn't supported
9707 #:imported-modules ((guix build glib-or-gtk-build-system)
9708 ,@%python-build-system-modules)
9709 #:modules ((guix build python-build-system)
9710 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9711 (guix build utils))
9712 #:phases
9713 (modify-phases %standard-phases
9714 (add-after
9715 'install 'wrap-program
9716 (lambda* (#:key outputs #:allow-other-keys)
9717 (let ((prog (string-append (assoc-ref outputs "out")
9718 "/bin/terminator")))
9719 (wrap-program prog
9720 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9721 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9722 #t)))
9723 (add-after 'wrap-program 'glib-or-gtk-wrap
9724 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9725 (home-page "https://gnometerminator.blogspot.com/")
9726 (synopsis "Store and run multiple GNOME terminals in one window")
9727 (description
9728 "Terminator allows you to run multiple GNOME terminals in a grid and
9729 +tabs, and it supports drag and drop re-ordering of terminals.")
9730 (license license:gpl2)))
9731
9732 (define-public libhandy
9733 (package
9734 (name "libhandy")
9735 (version "0.0.12")
9736 (source
9737 (origin
9738 (method git-fetch)
9739 (uri (git-reference
9740 (url "https://source.puri.sm/Librem5/libhandy")
9741 (commit (string-append "v" version))))
9742 (file-name (git-file-name name version))
9743 (sha256
9744 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9745 (build-system meson-build-system)
9746 (arguments
9747 `(#:configure-flags
9748 '("-Dglade_catalog=disabled"
9749 "-Dgtk_doc=true")
9750 #:phases
9751 (modify-phases %standard-phases
9752 (add-before 'check 'pre-check
9753 (lambda _
9754 ;; Tests require a running X server.
9755 (system "Xvfb :1 &")
9756 (setenv "DISPLAY" ":1")
9757 #t)))))
9758 (inputs
9759 `(("gtk+" ,gtk+)))
9760 (native-inputs
9761 `(("glib:bin" ,glib "bin")
9762 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9763 ("vala" ,vala)
9764 ("gtk-doc" ,gtk-doc)
9765 ("pkg-config" ,pkg-config)
9766 ("gettext" ,gettext-minimal)
9767
9768 ;; Test suite dependencies.
9769 ("xorg-server" ,xorg-server-for-tests)
9770 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9771 (home-page "https://source.puri.sm/Librem5/libhandy")
9772 (synopsis "Library full of GTK+ widgets for mobile phones")
9773 (description "The aim of the handy library is to help with developing user
9774 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9775 for usage on small and big screens.")
9776 (license license:lgpl2.1+)))
9777
9778 (define-public libgit2-glib
9779 (package
9780 (name "libgit2-glib")
9781 (version "0.99.0.1")
9782 (source (origin
9783 (method url-fetch)
9784 (uri (string-append "mirror://gnome/sources/" name "/"
9785 (version-major+minor version) "/"
9786 name "-" version ".tar.xz"))
9787 (sha256
9788 (base32
9789 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9790 (build-system meson-build-system)
9791 (native-inputs
9792 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9793 ("gobject-introspection" ,gobject-introspection)
9794 ("pkg-config" ,pkg-config)
9795 ("python-pygobject" ,python-pygobject)
9796 ("python-wrapper" ,python-wrapper)
9797 ("vala" ,vala)))
9798 (inputs
9799 `(("glib" ,glib)
9800 ("libssh2" ,libssh2)))
9801 (propagated-inputs
9802 `(;; In Requires of libgit2-glib.pc.
9803 ("libgit2" ,libgit2)))
9804 (synopsis "GLib wrapper around the libgit2 Git access library")
9805 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9806 access library. It only implements the core plumbing functions, not really the
9807 higher level porcelain stuff.")
9808 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9809 (license license:gpl2+)))
9810
9811 (define-public gitg
9812 (package
9813 (name "gitg")
9814 (version "3.32.1")
9815 (source (origin
9816 (method url-fetch)
9817 (uri (string-append "mirror://gnome/sources/" name "/"
9818 (version-major+minor version) "/"
9819 name "-" version ".tar.xz"))
9820 (sha256
9821 (base32
9822 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9823 (build-system meson-build-system)
9824 (arguments
9825 `(#:glib-or-gtk? #t
9826 #:phases
9827 (modify-phases %standard-phases
9828 (add-after 'unpack 'disable-post-install-partially
9829 (lambda _
9830 (substitute* "meson_post_install.py"
9831 (("'python'") ; there are no python sources to compile
9832 (string-append "'" (which "true") "'"))
9833 (("gtk-update-icon-cache") (which "true")))
9834 #t))
9835 (add-after 'unpack 'fix-test-sources
9836 (lambda _
9837 (substitute* "tests/libgitg/test-commit.vala"
9838 (("/bin/bash") (which "bash")))
9839 #t))
9840 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9841 (lambda* (#:key outputs #:allow-other-keys)
9842 (let ((prog (string-append (assoc-ref outputs "out")
9843 "/bin/gitg")))
9844 (wrap-program prog
9845 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9846 #t))))))
9847 (inputs
9848 `(("glib" ,glib)
9849 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9850 ("gtk+" ,gtk+)
9851 ("gtkspell3" ,gtkspell3)
9852 ("gtksourceview" ,gtksourceview-3)
9853 ("json-glib" ,json-glib)
9854 ("libdazzle" ,libdazzle)
9855 ("libgee" ,libgee)
9856 ("libgit2-glib" ,libgit2-glib)
9857 ("libpeas" ,libpeas)
9858 ("libsecret" ,libsecret)
9859 ("libsoup" ,libsoup)
9860 ("libxml2" ,libxml2)))
9861 (native-inputs
9862 `(("glib:bin" ,glib "bin")
9863 ("gtk+:bin" ,gtk+ "bin")
9864 ("gobject-introspection" ,gobject-introspection)
9865 ("intltool" ,intltool)
9866 ("pkg-config" ,pkg-config)
9867 ("vala" ,vala)))
9868 (synopsis "Graphical user interface for git")
9869 (description
9870 "gitg is a graphical user interface for git. It aims at being a small,
9871 fast and convenient tool to visualize the history of git repositories.
9872 Besides visualization, gitg also provides several utilities to manage your
9873 repository and commit your work.")
9874 (home-page "https://wiki.gnome.org/Apps/Gitg")
9875 (license license:gpl2+)))
9876
9877 (define-public gamin
9878 (package
9879 (name "gamin")
9880 (version "0.1.10")
9881 (source (origin
9882 (method url-fetch)
9883 (uri (string-append "mirror://gnome/sources/" name "/"
9884 (version-major+minor version) "/"
9885 name "-" version ".tar.bz2"))
9886 (sha256
9887 (base32
9888 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9889 (build-system gnu-build-system)
9890 (arguments
9891 `(#:phases
9892 (modify-phases %standard-phases
9893 (add-after 'unpack 'remove-deprecated-macro
9894 (lambda _
9895 (substitute* '("server/gam_node.c"
9896 "server/gam_subscription.h"
9897 "server/gam_node.h"
9898 "server/gam_subscription.c")
9899 (("G_CONST_RETURN") "const"))
9900 #t)))))
9901 (inputs
9902 `(("glib" ,glib)))
9903 (native-inputs
9904 `(("intltool" ,intltool)
9905 ("pkg-config" ,pkg-config)))
9906 (home-page "https://people.gnome.org/~veillard/gamin/")
9907 (synopsis "File alteration monitor")
9908 (description
9909 "Gamin is a file and directory monitoring system defined to be a subset
9910 of the FAM (File Alteration Monitor) system. This is a service provided by a
9911 library which detects when a file or a directory has been modified.")
9912 (license license:gpl2+)))
9913
9914 (define-public gnome-mahjongg
9915 (package
9916 (name "gnome-mahjongg")
9917 (version "3.35.1")
9918 (source (origin
9919 (method git-fetch)
9920 (uri (git-reference
9921 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9922 (commit version)))
9923 (file-name (git-file-name name version))
9924 (sha256
9925 (base32
9926 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9927 (build-system meson-build-system)
9928 (arguments
9929 `(#:glib-or-gtk? #t))
9930 (native-inputs
9931 `(("appstream-glib" ,appstream-glib)
9932 ("gettext" ,gettext-minimal)
9933 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9934 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9935 ("itstool" ,itstool)
9936 ("pkg-config" ,pkg-config)
9937 ("vala" ,vala)))
9938 (propagated-inputs
9939 `(("dconf" ,dconf)))
9940 (inputs
9941 `(("glib" ,glib)
9942 ("gtk+" ,gtk+)
9943 ("librsvg" ,librsvg)))
9944 (synopsis "Mahjongg tile-matching game")
9945 (description "GNOME Mahjongg is a game based on the classic Chinese
9946 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9947 and a high score table.")
9948 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9949 (license license:gpl2+)))
9950
9951 (define-public gnome-themes-extra
9952 (package
9953 (name "gnome-themes-extra")
9954 (version "3.28")
9955 (source
9956 (origin
9957 (method url-fetch)
9958 (uri (string-append "mirror://gnome/sources/" name "/"
9959 (version-major+minor version) "/" name "-"
9960 version ".tar.xz"))
9961 (sha256
9962 (base32
9963 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9964 (build-system gnu-build-system)
9965 (arguments
9966 '(#:configure-flags
9967 ;; Don't create 'icon-theme.cache'.
9968 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9969 (true (string-append coreutils "/bin/true")))
9970 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9971 (native-inputs
9972 `(("glib:bin" ,glib "bin")
9973 ("intltool" ,intltool)
9974 ("pkg-config" ,pkg-config)))
9975 (inputs
9976 `(("glib" ,glib)
9977 ("gtk+" ,gtk+)
9978 ("gtk+-2" ,gtk+-2)
9979 ("librsvg" ,librsvg)
9980 ("libxml2" ,libxml2)))
9981 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9982 (synopsis "GNOME Extra Themes")
9983 (description "This package provides themes and related elements that don't
9984 really fit in other upstream packages. It offers legacy support for GTK+ 2
9985 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9986 index files needed for Adwaita to be used outside of GNOME.")
9987 (license license:lgpl2.1+)))
9988
9989 (define-public polari
9990 (package
9991 (name "polari")
9992 (version "3.32.2")
9993 (source (origin
9994 (method url-fetch)
9995 (uri (string-append "mirror://gnome/sources/polari/"
9996 (version-major+minor version)
9997 "/polari-" version ".tar.xz"))
9998 (sha256
9999 (base32
10000 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
10001 (build-system meson-build-system)
10002 (arguments
10003 `(#:glib-or-gtk? #t
10004 #:phases
10005 (modify-phases %standard-phases
10006 (add-after 'unpack 'skip-gtk-update-icon-cache
10007 (lambda _
10008 (substitute* "meson/meson-postinstall.sh"
10009 (("gtk-update-icon-cache") (which "true")))
10010 #t))
10011 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10012 (lambda* (#:key outputs #:allow-other-keys)
10013 (let ((prog (string-append (assoc-ref outputs "out")
10014 "/bin/polari")))
10015 (wrap-program prog
10016 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10017 #t))))))
10018 (inputs
10019 `(("glib" ,glib)
10020 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10021 ("gspell" ,gspell)
10022 ("gtk+" ,gtk+)
10023 ("gjs" ,gjs)
10024 ("libsecret" ,libsecret)
10025 ("libsoup" ,libsoup)
10026 ("telepathy-glib" ,telepathy-glib)
10027 ("telepathy-logger" ,telepathy-logger)))
10028 (native-inputs
10029 `(("glib:bin" ,glib "bin")
10030 ("gobject-introspection" ,gobject-introspection)
10031 ("intltool" ,intltool)
10032 ("pkg-config" ,pkg-config)
10033 ("yelp-tools" ,yelp-tools)))
10034 (propagated-inputs
10035 `(("telepathy-idle" ,telepathy-idle)
10036 ("telepathy-mission-control" ,telepathy-mission-control)))
10037 (synopsis "Simple IRC Client")
10038 (description
10039 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
10040 integrate seamlessly with the GNOME desktop.")
10041 (home-page "https://wiki.gnome.org/Apps/Polari")
10042 (license license:gpl2+)))
10043
10044 (define-public gnome-boxes
10045 (package
10046 (name "gnome-boxes")
10047 (version "3.36.5")
10048 (source
10049 (origin
10050 (method url-fetch)
10051 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
10052 (version-major+minor version) "/"
10053 "gnome-boxes-" version ".tar.xz"))
10054 (sha256
10055 (base32 "1khvyhgd3p41fvvknga1hdl0p1ks4kj4cwsiaw28v1sy6nzclm2c"))))
10056 (build-system meson-build-system)
10057 (arguments
10058 '(#:glib-or-gtk? #t
10059 #:configure-flags (list "-Drdp=false"
10060 (string-append "-Dc_link_args=-Wl,-rpath="
10061 (assoc-ref %outputs "out")
10062 "/lib/gnome-boxes"))))
10063 (native-inputs
10064 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
10065 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10066 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10067 ("itstool" ,itstool)
10068 ("intltool" ,intltool)
10069 ("vala" ,vala)
10070 ("pkg-config" ,pkg-config)))
10071 (inputs
10072 `(("libarchive" ,libarchive)
10073 ("glib-networking" ,glib-networking) ;for TLS support
10074 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10075 ("gtk" ,gtk+)
10076 ("gtk-vnc" ,gtk-vnc)
10077 ("libosinfo" ,libosinfo)
10078 ("libsecret" ,libsecret)
10079 ("libsoup" ,libsoup)
10080 ("libusb" ,libusb)
10081 ("libvirt" ,libvirt)
10082 ("libvirt-glib" ,libvirt-glib)
10083 ("libxml" ,libxml2)
10084 ("spice-gtk" ,spice-gtk)
10085 ("sparql-query" ,sparql-query)
10086 ("vte" ,vte)
10087 ("webkitgtk" ,webkitgtk)
10088 ("tracker" ,tracker)
10089 ("libgudev" ,libgudev)))
10090 (home-page "https://wiki.gnome.org/Apps/Boxes")
10091 (synopsis "View, access, and manage remote and virtual systems")
10092 (description "GNOME Boxes is a simple application to view, access, and
10093 manage remote and virtual systems. Note that this application requires the
10094 @code{libvirt} and @code{virtlog} daemons to run. Use the command
10095 @command{info '(guix) Virtualization Services'} to learn how to configure
10096 these services on the Guix System.")
10097 (license (list
10098 ;; For data/icons/empty-boxes.png.
10099 license:cc-by2.0
10100 ;; For all others.
10101 license:lgpl2.0+))))
10102
10103 (define-public geary
10104 (package
10105 (name "geary")
10106 (version "3.34.1")
10107 (source (origin
10108 (method git-fetch)
10109 (uri (git-reference
10110 (url "https://gitlab.gnome.org/GNOME/geary")
10111 (commit version)))
10112 (file-name (git-file-name name version))
10113 (sha256
10114 (base32
10115 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
10116 (build-system meson-build-system)
10117 (arguments
10118 `(#:glib-or-gtk? #t
10119 #:phases (modify-phases %standard-phases
10120 (add-after 'unpack 'disable-failing-tests
10121 (lambda _
10122 (substitute* "test/meson.build"
10123 (("test\\('client-tests', geary_test_client_bin\\)")
10124 ""))
10125 #t))
10126 (add-after 'unpack 'disable-postinstall-script
10127 (lambda _
10128 (substitute* "meson.build"
10129 (("meson.add_install_script\\(\
10130 join_paths\\('build-aux', 'post_install.py'\\)\\)")
10131 ""))
10132 #t))
10133 (add-before 'check 'setup-xvfb
10134 (lambda _
10135 (system "Xvfb :1 &")
10136 (setenv "DISPLAY" ":1")
10137 #t)))))
10138 (inputs
10139 `(("enchant" ,enchant)
10140 ("folks" ,folks)
10141 ("gcr" ,gcr)
10142 ("glib" ,glib)
10143 ("gmime" ,gmime-2.6)
10144 ("gnome-online-accounts:lib"
10145 ,gnome-online-accounts "lib")
10146 ("gspell" ,gspell)
10147 ("gtk+" ,gtk+)
10148 ("iso-codes" ,iso-codes)
10149 ("json-glib" ,json-glib)
10150 ("libcanberra" ,libcanberra)
10151 ("libgee" ,libgee)
10152 ("libhandy" ,libhandy)
10153 ("libpeas" ,libpeas)
10154 ("libsecret" ,libsecret)
10155 ("libunwind" ,libunwind)
10156 ("sqlite" ,sqlite)
10157 ("webkitgtk" ,webkitgtk)
10158 ("ytnef" ,ytnef)))
10159 (native-inputs
10160 `(("appstream-glib" ,appstream-glib)
10161 ("cmake-minimal" ,cmake-minimal)
10162 ("desktop-file-utils" ,desktop-file-utils)
10163 ("gettext" ,gettext-minimal)
10164 ("glib:bin" ,glib "bin")
10165 ("gobject-introspection" ,gobject-introspection)
10166 ("itstool" ,itstool)
10167 ("libarchive" ,libarchive)
10168 ("libxml2" ,libxml2)
10169 ("pkg-config" ,pkg-config)
10170 ("vala" ,vala)
10171 ("xvfb" ,xorg-server-for-tests)))
10172 (synopsis "GNOME email application built around conversations")
10173 (description
10174 "Geary collects related messages together into conversations,
10175 making it easy to find and follow your discussions. Full-text and keyword
10176 search makes it easy to find the email you are looking for. Geary's
10177 full-featured composer lets you send rich, styled text with images, links, and
10178 lists, but also send lightweight, easy to read text messages. Geary
10179 automatically picks up your existing GNOME Online Accounts, and adding more is
10180 easy. Geary has a clean, fast, modern interface that works like you want it
10181 to.")
10182 (home-page "https://wiki.gnome.org/Apps/Geary")
10183 (license (list
10184 ;; geary
10185 license:lgpl2.1+
10186 ;; icons
10187 license:cc-by3.0
10188 license:cc-by-sa3.0
10189 license:public-domain
10190 ;; snowball
10191 license:bsd-2))))
10192
10193 (define-public glabels
10194 (package
10195 (name "glabels")
10196 (version "3.4.1")
10197 (source
10198 (origin
10199 (method url-fetch)
10200 (uri (string-append "mirror://gnome/sources/" name "/"
10201 (version-major+minor version) "/"
10202 "glabels-" version ".tar.xz"))
10203 (sha256
10204 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10205 (build-system glib-or-gtk-build-system)
10206 (native-inputs
10207 `(("gettext" ,gettext-minimal)
10208 ("glib:bin" ,glib "bin")
10209 ("intltool" ,intltool)
10210 ("itstool" ,itstool)
10211 ("pkg-config" ,pkg-config)))
10212 (inputs
10213 `(("gtk+" ,gtk+)
10214 ("librsvg" ,librsvg)
10215 ("libxml2" ,libxml2)))
10216 (home-page "https://glabels.org/")
10217 (synopsis "Program for creating labels and business cards")
10218 (description
10219 "gLabels is a program for creating labels and business cards. It is
10220 designed to work with various laser/ink-jet peel-off label and business
10221 card sheets that you’ll find at most office supply stores.")
10222 (license license:gpl3+)))
10223
10224 (define-public libratbag
10225 (package
10226 (name "libratbag")
10227 (version "0.13")
10228 (source
10229 (origin
10230 (method git-fetch)
10231 (uri (git-reference
10232 (url "https://github.com/libratbag/libratbag")
10233 (commit (string-append "v" version))))
10234 (file-name (git-file-name name version))
10235 (sha256
10236 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10237 (build-system meson-build-system)
10238 (arguments
10239 `(#:configure-flags
10240 (list "-Dsystemd=false"
10241 "-Dlogind-provider=elogind")
10242 #:phases
10243 (modify-phases %standard-phases
10244 (add-after 'install 'wrap
10245 (lambda* (#:key inputs outputs #:allow-other-keys)
10246 (let* ((out (assoc-ref outputs "out"))
10247 (site (string-append
10248 "/lib/python"
10249 ,(version-major+minor (package-version python))
10250 "/site-packages"))
10251 (evdev (string-append
10252 (assoc-ref inputs "python-evdev") site))
10253 (pygo (string-append
10254 (assoc-ref inputs "python-pygobject") site))
10255 (python-wrap
10256 `("PYTHONPATH" = (,evdev ,pygo))))
10257 (wrap-program (string-append out "/bin/" "ratbagctl")
10258 python-wrap)
10259 #t))))))
10260 (native-inputs
10261 `(("check" ,check)
10262 ("pkg-config" ,pkg-config)
10263 ("swig" ,swig)
10264 ("valgrind" ,valgrind)))
10265 (inputs
10266 `(("glib" ,glib)
10267 ("json-glib" ,json-glib)
10268 ("libevdev" ,libevdev)
10269 ("libsystemd" ,elogind)
10270 ("libunistring" ,libunistring)
10271 ("python-evdev" ,python-evdev)
10272 ("python-pygobject" ,python-pygobject)
10273 ("udev" ,eudev)))
10274 (home-page "https://github.com/libratbag/libratbag")
10275 (synopsis "DBus daemon and utility for configuring gaming mice")
10276 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10277 configure input devices, mainly gaming mice. The daemon provides a generic
10278 way to access the various features exposed by these mice and abstracts away
10279 hardware-specific and kernel-specific quirks. There is also the
10280 @command{ratbagctl} command line interface for configuring devices.
10281
10282 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10283 Steelseries.
10284
10285 The ratbagd DBus service can be enabled by adding the following service to
10286 your operating-system definition:
10287
10288 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10289 (license license:expat)))
10290
10291 (define-public piper
10292 (package
10293 (name "piper")
10294 (version "0.5")
10295 (source
10296 (origin
10297 (method git-fetch)
10298 (uri (git-reference
10299 (url "https://github.com/libratbag/piper")
10300 (commit version)))
10301 (sha256
10302 (base32 "00vrcsbsv2477l1ncpyzc61lhxgac84dsgr3sjs8qxw3nh1gaasv"))
10303 (file-name (git-file-name name version))))
10304 (build-system meson-build-system)
10305 (native-inputs
10306 `(("gettext" ,gettext-minimal)
10307 ("glib:bin" ,glib "bin")
10308 ("gobject-introspection" ,gobject-introspection)
10309 ("pkg-config" ,pkg-config)
10310 ("python-flake8" ,python-flake8)))
10311 (inputs
10312 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10313 ("gtk" ,gtk+)
10314 ("gtk:bin" ,gtk+ "bin")
10315 ("librsvg" ,librsvg)
10316 ("python-evdev" ,python-evdev)
10317 ("python-lxml" ,python-lxml)
10318 ("python-pycairo" ,python-pycairo)
10319 ("python-pygobject" ,python-pygobject)))
10320 (arguments
10321 `(#:imported-modules ((guix build python-build-system)
10322 ,@%meson-build-system-modules)
10323 #:modules (((guix build python-build-system) #:prefix python:)
10324 (guix build meson-build-system)
10325 (guix build utils))
10326 #:phases
10327 (modify-phases %standard-phases
10328 (add-after 'unpack 'dont-update-gtk-icon-cache
10329 (lambda _
10330 (substitute* "meson.build"
10331 (("meson.add_install_script('meson_install.sh')") ""))
10332 #t))
10333 ;; TODO: Switch to wrap-script when it is fixed.
10334 (add-after 'install 'wrap-python
10335 (assoc-ref python:%standard-phases 'wrap))
10336 (add-after 'wrap-python 'wrap
10337 (lambda* (#:key outputs #:allow-other-keys)
10338 (wrap-program
10339 (string-append (assoc-ref outputs "out" )"/bin/piper")
10340 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10341 #t)))))
10342 (home-page "https://github.com/libratbag/piper/")
10343 (synopsis "Configure bindings and LEDs on gaming mice")
10344 (description "Piper is a GTK+ application for configuring gaming mice with
10345 onboard configuration for key bindings via libratbag. Piper requires
10346 a @command{ratbagd} daemon running with root privileges. It can be run
10347 manually as root, but is preferably configured as a DBus service that can
10348 launch on demand. This can be configured by enabling the following service,
10349 provided there is a DBus service present:
10350
10351 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10352 (license license:gpl2)))
10353
10354 (define-public parlatype
10355 ;; This is one commit away from 2.0, because the latter introduced
10356 ;; a regression in ASR.
10357 (let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
10358 (revision "0"))
10359 (package
10360 (name "parlatype")
10361 (version (git-version "2.0" revision commit))
10362 (source
10363 (origin
10364 (method git-fetch)
10365 (uri (git-reference
10366 (url "https://github.com/gkarsay/parlatype")
10367 (commit commit)))
10368 (file-name (git-file-name name version))
10369 (sha256
10370 (base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
10371 (build-system meson-build-system)
10372 (arguments
10373 `(#:glib-or-gtk? #t
10374 #:tests? #f ;require internet access
10375 #:phases
10376 (modify-phases %standard-phases
10377 (add-after 'install 'wrap-parlatype
10378 ;; Add gstreamer plugin provided in this package to system's
10379 ;; plugins.
10380 (lambda* (#:key outputs #:allow-other-keys)
10381 (let* ((out (assoc-ref outputs "out"))
10382 (gst-plugin-path (string-append
10383 out "/lib/gstreamer-1.0/"
10384 ":"
10385 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10386 (wrap-program (string-append out "/bin/parlatype")
10387 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10388 #t)))))
10389 (native-inputs
10390 `(("appstream-glib" ,appstream-glib)
10391 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10392 ("gettext" ,gettext-minimal)
10393 ("glib" ,glib "bin") ;for glib-compile-resources
10394 ("pkg-config" ,pkg-config)
10395 ("yelp-tools" ,yelp-tools)))
10396 (inputs
10397 `(("gst-plugins-base" ,gst-plugins-base)
10398 ("gst-plugins-good" ,gst-plugins-good)
10399 ("gstreamer" ,gstreamer)
10400 ("gtk+" ,gtk+)
10401 ("pocketsphinx" ,pocketsphinx)
10402 ("pulseaudio" ,pulseaudio)
10403 ("sphinxbase" ,sphinxbase)))
10404 (home-page "http://gkarsay.github.io/parlatype/")
10405 (synopsis "GNOME audio player for transcription")
10406 (description "Parlatype is an audio player for the GNOME desktop
10407 environment. Its main purpose is the manual transcription of spoken
10408 audio files.")
10409 (license license:gpl3+))))
10410
10411 (define-public jsonrpc-glib
10412 (package
10413 (name "jsonrpc-glib")
10414 (version "3.34.0")
10415 (source (origin
10416 (method url-fetch)
10417 (uri (string-append "mirror://gnome/sources/" name "/"
10418 (version-major+minor version) "/"
10419 name "-" version ".tar.xz"))
10420 (sha256
10421 (base32
10422 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10423 (build-system meson-build-system)
10424 (inputs
10425 `(("json-glib" ,json-glib)
10426 ("glib" ,glib)))
10427 (native-inputs
10428 `(("pkg-config" ,pkg-config)
10429 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10430 ("gobject-introspection" ,gobject-introspection)
10431 ("vala" ,vala)))
10432 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10433 (synopsis "JSON-RPC library for GLib")
10434 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10435 peers in either a synchronous or asynchronous fashion. It also allows
10436 communicating using the GVariant serialization format instead of JSON when
10437 both peers support it. You might want that when communicating on a single
10438 host to avoid parser overhead and memory-allocator fragmentation.")
10439 (license license:lgpl2.1+)))
10440
10441 (define-public feedbackd
10442 (package
10443 (name "feedbackd")
10444 (version "0.0.0+git20200527")
10445 (source (origin
10446 (method git-fetch)
10447 (uri (git-reference
10448 (url "https://source.puri.sm/Librem5/feedbackd.git")
10449 (commit (string-append "v" version))))
10450 (file-name (git-file-name name version))
10451 (sha256
10452 (base32
10453 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
10454 (build-system meson-build-system)
10455 (native-inputs
10456 `(("glib:bin" ,glib "bin")
10457 ("gobject-introspection" ,gobject-introspection)
10458 ("pkg-config" ,pkg-config)
10459 ("vala" ,vala)))
10460 (inputs
10461 `(("dbus" ,dbus)
10462 ("gsound" ,gsound)
10463 ("json-glib" ,json-glib)
10464 ("libgudev" ,libgudev)))
10465 (propagated-inputs
10466 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
10467 (synopsis "Haptic/visual/audio feedback via DBus")
10468 (description "Feedbackd provides a DBus daemon to act on events to provide
10469 haptic, visual and audio feedback. It offers the libfeedbackd library and
10470 GObject introspection bindings.")
10471 (home-page "https://source.puri.sm/Librem5/feedbackd")
10472 (license (list license:lgpl2.1+ ; libfeedbackd
10473 license:lgpl3+)))) ; the rest
10474
10475 (define-public sysprof
10476 (package
10477 (name "sysprof")
10478 (version "3.34.1")
10479 (source (origin
10480 (method url-fetch)
10481 (uri (string-append "mirror://gnome/sources/" name "/"
10482 (version-major+minor version) "/"
10483 name "-" version ".tar.xz"))
10484 (sha256
10485 (base32
10486 "1l4kr1av7933vb4zql9c5lgzivlw64hyky4nr8xin1v5if6vnjw4"))))
10487 (build-system meson-build-system)
10488 (arguments
10489 `(#:configure-flags
10490 (list (string-append "-Dsystemdunitdir="
10491 %output
10492 "/share/systemd"))
10493 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
10494 #:phases
10495 (modify-phases %standard-phases
10496 (add-after 'unpack 'patch-install-script
10497 (lambda _
10498 (substitute* "build-aux/meson/post_install.sh"
10499 (("gtk-update-icon-cache") "true")
10500 (("update-desktop-database") "true"))
10501 #t)))))
10502 (inputs
10503 `(("glib" ,glib)
10504 ("gtk+" ,gtk+)
10505 ("libdazzle" ,libdazzle)
10506 ("polkit" ,polkit)))
10507 (native-inputs
10508 `(("gettext" ,gettext-minimal)
10509 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
10510 ("itstool" ,itstool)
10511 ("pkg-config" ,pkg-config)
10512 ("xmllint" ,libxml2)))
10513 (home-page "http://www.sysprof.com/")
10514 (synopsis "System-wide performance profiler")
10515 (description "Sysprof is a sampling profiler that uses a kernel module
10516 to generate stacktraces which are then interpreted by the userspace program
10517 @command{sysprof}.")
10518 (license license:gpl3+)))
10519
10520 (define-public gnome-builder
10521 (package
10522 (name "gnome-builder")
10523 (version "3.36.1")
10524 (source (origin
10525 (method url-fetch)
10526 (uri (string-append "mirror://gnome/sources/" name "/"
10527 (version-major+minor version) "/"
10528 name "-" version ".tar.xz"))
10529 (sha256
10530 (base32
10531 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
10532 (build-system meson-build-system)
10533 (arguments
10534 `(#:configure-flags (list "-Dnetwork_tests=false"
10535 ;; TODO: Enable all plugins...
10536 "-Dplugin_clang=false"
10537 "-Dplugin_flatpak=false"
10538 "-Dplugin_glade=false"
10539 ;; ... except this one.
10540 "-Dplugin_update_manager=false")
10541 #:phases
10542 (modify-phases %standard-phases
10543 (add-after 'unpack 'patch-meson
10544 (lambda* (#:key inputs #:allow-other-keys)
10545 (substitute* "build-aux/meson/post_install.py"
10546 (("gtk-update-icon-cache") "true")
10547 (("update-desktop-database") "true"))
10548 (substitute* "src/libide/meson.build"
10549 (("/usr/lib")
10550 (string-append (assoc-ref inputs "python-pygobject")
10551 "/lib")))
10552 #t))
10553 (add-before 'check 'pre-check
10554 (lambda _
10555 (system "Xvfb :1 &")
10556 (setenv "DISPLAY" ":1")
10557 #t)))))
10558 (inputs
10559 `(("devhelp" ,devhelp)
10560 ("gspell" ,gspell)
10561 ("gtk+" ,gtk+)
10562 ("json-glib" ,json-glib)
10563 ("jsonrpc-glib" ,jsonrpc-glib)
10564 ("libdazzle" ,libdazzle)
10565 ("libgit2-glib" ,libgit2-glib)
10566 ("libpeas" ,libpeas)
10567 ("python-pygobject" ,python-pygobject)
10568 ("sysprof" ,sysprof)
10569 ("template-glib" ,template-glib)
10570 ("vte" ,vte)
10571 ("webkitgtk" ,webkitgtk)))
10572 (propagated-inputs
10573 `(("gtksourceview" ,gtksourceview))) ;needed for settings
10574 (native-inputs
10575 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10576 ("glib:bin" ,glib "bin")
10577 ("gettext" ,gettext-minimal)
10578 ("pkg-config" ,pkg-config)
10579 ("vala" ,vala)
10580 ("xorg-server" ,xorg-server-for-tests)))
10581 (home-page "https://wiki.gnome.org/Apps/Builder")
10582 (synopsis "Toolsmith for GNOME-based applications")
10583 (description "Builder aims to be an integrated development
10584 environment (IDE) for writing GNOME-based software. It features fuzzy search,
10585 auto-completion, a mini code map, documentation browsing, Git integration, an
10586 integrated profiler via Sysprof, debugging support, and more.")
10587 (license license:gpl3+)))