f6796f11875d26b6b8b01d04e2bd3eee7958dffb
[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 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;;
59 ;;; This file is part of GNU Guix.
60 ;;;
61 ;;; GNU Guix is free software; you can redistribute it and/or modify it
62 ;;; under the terms of the GNU General Public License as published by
63 ;;; the Free Software Foundation; either version 3 of the License, or (at
64 ;;; your option) any later version.
65 ;;;
66 ;;; GNU Guix is distributed in the hope that it will be useful, but
67 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
68 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69 ;;; GNU General Public License for more details.
70 ;;;
71 ;;; You should have received a copy of the GNU General Public License
72 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
73
74 (define-module (gnu packages gnome)
75 #:use-module (gnu packages)
76 #:use-module (gnu packages admin)
77 #:use-module (gnu packages aspell)
78 #:use-module (gnu packages autotools)
79 #:use-module (gnu packages avahi)
80 #:use-module (gnu packages backup)
81 #:use-module (gnu packages base)
82 #:use-module (gnu packages bash)
83 #:use-module (gnu packages bison)
84 #:use-module (gnu packages boost)
85 #:use-module (gnu packages build-tools)
86 #:use-module (gnu packages calendar)
87 #:use-module (gnu packages cdrom)
88 #:use-module (gnu packages check)
89 #:use-module (gnu packages cmake)
90 #:use-module (gnu packages compression)
91 #:use-module (gnu packages crates-io)
92 #:use-module (gnu packages cups)
93 #:use-module (gnu packages curl)
94 #:use-module (gnu packages cyrus-sasl)
95 #:use-module (gnu packages databases)
96 #:use-module (gnu packages dbm)
97 #:use-module (gnu packages djvu)
98 #:use-module (gnu packages dns)
99 #:use-module (gnu packages docbook)
100 #:use-module (gnu packages documentation)
101 #:use-module (gnu packages enchant)
102 #:use-module (gnu packages flex)
103 #:use-module (gnu packages fonts)
104 #:use-module (gnu packages file-systems)
105 #:use-module (gnu packages fontutils)
106 #:use-module (gnu packages freedesktop)
107 #:use-module (gnu packages game-development)
108 #:use-module (gnu packages gettext)
109 #:use-module (gnu packages ghostscript)
110 #:use-module (gnu packages gl)
111 #:use-module (gnu packages glib)
112 #:use-module (gnu packages gnupg)
113 #:use-module (gnu packages gnuzilla)
114 #:use-module (gnu packages geo)
115 #:use-module (gnu packages gperf)
116 #:use-module (gnu packages graphviz)
117 #:use-module (gnu packages gstreamer)
118 #:use-module (gnu packages gtk)
119 #:use-module (gnu packages guile)
120 #:use-module (gnu packages ibus)
121 #:use-module (gnu packages icu4c)
122 #:use-module (gnu packages image)
123 #:use-module (gnu packages imagemagick)
124 #:use-module (gnu packages inkscape)
125 #:use-module (gnu packages iso-codes)
126 #:use-module (gnu packages kerberos)
127 #:use-module (gnu packages libcanberra)
128 #:use-module (gnu packages libunistring)
129 #:use-module (gnu packages libunwind)
130 #:use-module (gnu packages libusb)
131 #:use-module (gnu packages linux)
132 #:use-module (gnu packages lirc)
133 #:use-module (gnu packages lua)
134 #:use-module (gnu packages mail)
135 #:use-module (gnu packages mp3)
136 #:use-module (gnu packages multiprecision)
137 #:use-module (gnu packages music)
138 #:use-module (gnu packages ncurses)
139 #:use-module (gnu packages nettle)
140 #:use-module (gnu packages networking)
141 #:use-module (gnu packages ninja)
142 #:use-module (gnu packages nss)
143 #:use-module (gnu packages openldap)
144 #:use-module (gnu packages password-utils)
145 #:use-module (gnu packages pcre)
146 #:use-module (gnu packages pdf)
147 #:use-module (gnu packages perl)
148 #:use-module (gnu packages photo)
149 #:use-module (gnu packages php)
150 #:use-module (gnu packages pkg-config)
151 #:use-module (gnu packages polkit)
152 #:use-module (gnu packages popt)
153 #:use-module (gnu packages pretty-print)
154 #:use-module (gnu packages pulseaudio)
155 #:use-module (gnu packages python)
156 #:use-module (gnu packages python-crypto)
157 #:use-module (gnu packages python-web)
158 #:use-module (gnu packages python-xyz)
159 #:use-module (gnu packages rdesktop)
160 #:use-module (gnu packages readline)
161 #:use-module (gnu packages ruby)
162 #:use-module (gnu packages rust)
163 #:use-module (gnu packages samba)
164 #:use-module (gnu packages scanner)
165 #:use-module (gnu packages selinux)
166 #:use-module (gnu packages slang)
167 #:use-module (gnu packages speech)
168 #:use-module (gnu packages spice)
169 #:use-module (gnu packages sqlite)
170 #:use-module (gnu packages ssh)
171 #:use-module (gnu packages swig)
172 #:use-module (gnu packages tex)
173 #:use-module (gnu packages time)
174 #:use-module (gnu packages tls)
175 #:use-module (gnu packages valgrind)
176 #:use-module (gnu packages version-control)
177 #:use-module (gnu packages video)
178 #:use-module (gnu packages virtualization)
179 #:use-module (gnu packages vpn)
180 #:use-module (gnu packages web)
181 #:use-module (gnu packages webkit)
182 #:use-module (gnu packages xdisorg)
183 #:use-module (gnu packages xiph)
184 #:use-module (gnu packages xml)
185 #:use-module (gnu packages xorg)
186 #:use-module (gnu artwork)
187 #:use-module ((guix build utils) #:select (modify-phases))
188 #:use-module (guix build-system cargo)
189 #:use-module (guix build-system cmake)
190 #:use-module (guix build-system glib-or-gtk)
191 #:use-module (guix build-system gnu)
192 #:use-module (guix build-system meson)
193 #:use-module (guix build-system python)
194 #:use-module (guix build-system trivial)
195 #:use-module (guix download)
196 #:use-module (guix git-download)
197 #:use-module ((guix licenses) #:prefix license:)
198 #:use-module (guix packages)
199 #:use-module (guix utils)
200 #:use-module (guix gexp)
201 #:use-module (guix monads)
202 #:use-module (guix store)
203 #:use-module (ice-9 match)
204 #:use-module (srfi srfi-1))
205
206 (define-public brasero
207 (package
208 (name "brasero")
209 (version "3.12.2")
210 (source (origin
211 (method url-fetch)
212 (uri (string-append "mirror://gnome/sources/brasero/"
213 (version-major+minor version) "/"
214 "brasero-" version ".tar.xz"))
215 (sha256
216 (base32
217 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
218 (build-system glib-or-gtk-build-system)
219 (arguments
220 `(#:configure-flags (list
221 (string-append "--with-girdir="
222 (assoc-ref %outputs "out")
223 "/share/gir-1.0")
224 (string-append "--with-typelibdir="
225 (assoc-ref %outputs "out")
226 "/lib/girepository-1.0"))
227 #:phases
228 (modify-phases %standard-phases
229 (add-before 'configure 'embed-growisofs
230 (lambda* (#:key inputs #:allow-other-keys)
231 (substitute* "plugins/growisofs/burn-growisofs.c"
232 (("\"growisofs") (string-append "\"" (which "growisofs"))))
233 #t)))))
234 (propagated-inputs
235 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
236 (native-inputs
237 `(("intltool" ,intltool)
238 ("itstool" ,itstool)
239 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
240 ("gobject-introspection" ,gobject-introspection)
241 ("pkg-config" ,pkg-config)))
242 (inputs
243 `(("dvd+rw-tools" ,dvd+rw-tools)
244 ("glib" ,glib)
245 ("gnome-doc-utils" ,gnome-doc-utils)
246 ("gstreamer" ,gstreamer)
247 ("gst-plugins-base" ,gst-plugins-base)
248 ("gtk+" ,gtk+)
249 ("libcanberra" ,libcanberra)
250 ("libice" ,libice)
251 ("libnotify" ,libnotify)
252 ("libsm" ,libsm)
253 ("libxml2" ,libxml2)
254 ("totem-pl-parser" ,totem-pl-parser)))
255 (home-page "https://wiki.gnome.org/Apps/Brasero")
256 (synopsis "CD/DVD burning tool for Gnome")
257 (description "Brasero is an application to burn CD/DVD for the Gnome
258 Desktop. It is designed to be as simple as possible and has some unique
259 features to enable users to create their discs easily and quickly.")
260 (license license:gpl2+)))
261
262 (define-public notification-daemon
263 (package
264 (name "notification-daemon")
265 (version "3.20.0")
266 (source
267 (origin
268 (method url-fetch)
269 (uri
270 (string-append "mirror://gnome/sources/" name "/"
271 (version-major+minor version) "/"
272 name "-" version ".tar.xz"))
273 (sha256
274 (base32
275 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
276 (build-system glib-or-gtk-build-system)
277 (native-inputs
278 `(("intltool" ,intltool)
279 ("pkg-config" ,pkg-config)))
280 (inputs
281 `(("glib" ,glib)
282 ("gtk+" ,gtk+)
283 ("x11" ,libx11)))
284 (synopsis "Notification Daemon for GNOME Desktop")
285 (description "Notification-Daemon is the server implementation of the
286 freedesktop.org desktop notification specification.")
287 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
288 (license license:gpl2+)))
289
290 (define-public mm-common
291 (package
292 (name "mm-common")
293 (version "1.0.1")
294 (source (origin
295 (method url-fetch)
296 (uri (string-append "mirror://gnome/sources/mm-common/"
297 (version-major+minor version) "/"
298 "mm-common-" version ".tar.xz"))
299 (sha256
300 (base32
301 "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8"))))
302 (build-system meson-build-system)
303 (arguments
304 `(#:phases
305 (modify-phases %standard-phases
306 (add-after 'unpack 'patch
307 (lambda* (#:key inputs #:allow-other-keys)
308 (substitute* "util/mm-common-prepare.in"
309 (("ln") (string-append (assoc-ref inputs "coreutils")
310 "/bin/ln"))
311 (("cp") (string-append (assoc-ref inputs "coreutils")
312 "/bin/cp"))
313 (("sed") (string-append (assoc-ref inputs "sed")
314 "/bin/sed"))
315 (("cat") (string-append (assoc-ref inputs "coreutils")
316 "/bin/cat")))
317 #t)))))
318 (native-inputs
319 `(("coreutils" ,coreutils)
320 ("gettext" ,gettext-minimal)
321 ("pkg-config" ,pkg-config)
322 ("sed" ,sed)))
323 (inputs
324 `(("python" ,python)))
325 (synopsis "Module of GNOME C++ bindings")
326 (description "The mm-common module provides the build infrastructure
327 and utilities shared among the GNOME C++ binding libraries. Release
328 archives of mm-common include the Doxygen tag file for the GNU C++
329 Library reference documentation.")
330 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
331 (license license:gpl2+)))
332
333 (define-public phodav
334 (package
335 (name "phodav")
336 (version "2.4")
337 (source (origin
338 (method url-fetch)
339 (uri (string-append "mirror://gnome/sources/" name "/"
340 (version-major+minor version) "/"
341 name "-" version ".tar.xz"))
342 (sha256
343 (base32
344 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
345 (build-system meson-build-system)
346 (native-inputs
347 `(("gettext" ,gettext-minimal)
348 ("glib:bin" ,glib "bin")
349 ("gtk-doc" ,gtk-doc)
350 ("pkg-config" ,pkg-config)))
351 (inputs
352 `(("avahi" ,avahi)
353 ("libgudev" ,libgudev)
354 ("libsoup" ,libsoup)))
355 (synopsis "WebDav server implementation using libsoup")
356 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
357 but it is generic enough to be reused in other projects,
358 in particular in the GNOME desktop.")
359 (home-page "https://wiki.gnome.org/phodav")
360 (license license:lgpl2.1+)))
361
362 (define-public gnome-color-manager
363 (package
364 (name "gnome-color-manager")
365 (version "3.32.0")
366 (source (origin
367 (method url-fetch)
368 (uri (string-append "mirror://gnome/sources/" name "/"
369 (version-major+minor version) "/"
370 name "-" version ".tar.xz"))
371 (sha256
372 (base32
373 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
374 (build-system meson-build-system)
375 (arguments
376 `(#:glib-or-gtk? #t
377 #:phases
378 (modify-phases %standard-phases
379 (add-before
380 'check 'pre-check
381 (lambda _
382 ;; Tests require a running X server.
383 (system "Xvfb :1 &")
384 (setenv "DISPLAY" ":1")
385 #t)))))
386 (native-inputs
387 `(("desktop-file-utils" ,desktop-file-utils)
388 ("gettext" ,gettext-minimal)
389 ("glib:bin" ,glib "bin")
390 ("gtk+:bin" ,gtk+ "bin")
391 ("itstool" ,itstool)
392 ("pkg-config" ,pkg-config)
393 ("xorg-server" ,xorg-server-for-tests)))
394 (inputs
395 `(("adwaita-icon-theme" ,adwaita-icon-theme)
396 ("appstream-glib" ,appstream-glib)
397 ("colord-gtk" ,colord-gtk)
398 ("exiv2" ,exiv2)
399 ("gnome-desktop" ,gnome-desktop)
400 ("libcanberra" ,libcanberra)
401 ("libexif" ,libexif)
402 ("libtiff" ,libtiff)
403 ("libxrandr" ,libxrandr)
404 ("libxtst" ,libxtst)
405 ("libxxf86vm" ,libxxf86vm)
406 ("vte" ,vte)
407 ("xorgproto" ,xorgproto)))
408 (synopsis "Color profile manager for the GNOME desktop")
409 (description "GNOME Color Manager is a session framework that makes
410 it easy to manage, install and generate color profiles
411 in the GNOME desktop.")
412 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
413 (license license:gpl2+)))
414
415 (define-public gnome-online-miners
416 (package
417 (name "gnome-online-miners")
418 (version "3.34.0")
419 (source (origin
420 (method url-fetch)
421 (uri (string-append "mirror://gnome/sources/" name "/"
422 (version-major+minor version) "/"
423 name "-" version ".tar.xz"))
424 (sha256
425 (base32
426 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
427 (build-system glib-or-gtk-build-system)
428 (native-inputs
429 `(("gettext" ,gettext-minimal)
430 ("glib:bin" ,glib "bin")
431 ("gobject-introspection" ,gobject-introspection)
432 ("gtk+:bin" ,gtk+ "bin")
433 ("pkg-config" ,pkg-config)))
434 (inputs
435 `(("gnome-online-accounts" ,gnome-online-accounts)
436 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
437 ("grilo" ,grilo)
438 ("libgdata" ,libgdata)
439 ("libgfbgraph" ,gfbgraph)
440 ("libzapojit" ,libzapojit)
441 ("rest" ,rest)
442 ("tracker" ,tracker)))
443 (synopsis "Web Crawlers for GNOME")
444 (description "GNOME Online Miners provides a set of crawlers that
445 go through your online content and index them locally in Tracker.
446 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
447 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
448 (license license:gpl2+)))
449
450 (define-public gssdp
451 (package
452 (name "gssdp")
453 (version "1.2.3")
454 (source (origin
455 (method url-fetch)
456 (uri (string-append "mirror://gnome/sources/" name "/"
457 (version-major+minor version) "/"
458 name "-" version ".tar.xz"))
459 (sha256
460 (base32
461 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
462 (build-system meson-build-system)
463 (native-inputs
464 `(("gettext" ,gettext-minimal)
465 ("glib:bin" ,glib "bin")
466 ("gobject-introspection" ,gobject-introspection)
467 ("gtk-doc" ,gtk-doc)
468 ("pkg-config" ,pkg-config)
469 ("vala" ,vala)))
470 (inputs
471 `(("gtk+" ,gtk+)
472 ("libsoup" ,libsoup)))
473 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
474 Protocol} for GNOME")
475 (description "This package provides a library to handle resource discovery
476 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
477 a debugging tool, @command{gssdp-device-sniffer}.")
478 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
479 (license license:lgpl2.0+)))
480
481 (define-public gupnp
482 (package
483 (name "gupnp")
484 (version "1.2.4")
485 (source (origin
486 (method url-fetch)
487 (uri (string-append "mirror://gnome/sources/" name "/"
488 (version-major+minor version) "/"
489 name "-" version ".tar.xz"))
490 (sha256
491 (base32
492 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
493 (build-system meson-build-system)
494 (native-inputs
495 `(("gettext" ,gettext-minimal)
496 ("glib:bin" ,glib "bin")
497 ("gobject-introspection" ,gobject-introspection)
498 ("gtk-doc" ,gtk-doc)
499 ("pkg-config" ,pkg-config)
500 ("vala" ,vala)))
501 (inputs
502 `(("gssdp" ,gssdp)
503 ("gtk+" ,gtk+)
504 ("libsoup" ,libsoup)))
505 (synopsis "PnP API for GNOME")
506 (description "This package provides GUPnP, an object-oriented framework
507 for creating UPnP devices and control points, written in C using
508 @code{GObject} and @code{libsoup}.")
509 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
510 (license license:lgpl2.0+)))
511
512 (define-public gupnp-dlna
513 (package
514 (name "gupnp-dlna")
515 (version "0.10.5")
516 (source (origin
517 (method url-fetch)
518 (uri (string-append "mirror://gnome/sources/" name "/"
519 (version-major+minor version) "/"
520 name "-" version ".tar.xz"))
521 (sha256
522 (base32
523 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
524 (build-system gnu-build-system)
525 (native-inputs
526 `(("gettext" ,gettext-minimal)
527 ("glib:bin" ,glib "bin")
528 ("gobject-introspection" ,gobject-introspection)
529 ("gtk-doc" ,gtk-doc)
530 ("libxml" ,libxml2)
531 ("pkg-config" ,pkg-config)
532 ("vala" ,vala)))
533 (inputs
534 `(("gstreamer" ,gstreamer)
535 ("gupnp" ,gupnp)))
536 (propagated-inputs
537 `(("gst-plugins-base" ,gst-plugins-base)
538 ("gst-plugins-good" ,gst-plugins-good)))
539 (synopsis "GUPnP DLNA for GNOME")
540 (description "This package provides a small utility library to
541 support DLNA-related tasks such as media profile guessing, transcoding to a
542 given profile, etc. DLNA is a subset of UPnP A/V.")
543 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
544 (license license:lgpl2.0+)))
545
546 (define-public gupnp-av
547 (package
548 (name "gupnp-av")
549 (version "0.12.11")
550 (source (origin
551 (method url-fetch)
552 (uri (string-append "mirror://gnome/sources/" name "/"
553 (version-major+minor version) "/"
554 name "-" version ".tar.xz"))
555 (sha256
556 (base32
557 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
558 (build-system gnu-build-system)
559 (native-inputs
560 `(("gettext" ,gettext-minimal)
561 ("glib:bin" ,glib "bin")
562 ("gobject-introspection" ,gobject-introspection)
563 ("gtk-doc" ,gtk-doc)
564 ("libxml" ,libxml2)
565 ("pkg-config" ,pkg-config)))
566 (inputs
567 `(("gtk+" ,gtk+)
568 ("gupnp" ,gupnp)))
569 (synopsis "GUPnP A/V for GNOME")
570 (description "This package provides a small library for handling
571 and implementation of UPnP A/V profiles.")
572 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
573 (license license:lgpl2.0+)))
574
575 (define-public libmediaart
576 (package
577 (name "libmediaart")
578 (version "1.9.4")
579 (source (origin
580 (method url-fetch)
581 (uri (string-append "mirror://gnome/sources/" name "/"
582 (version-major+minor version) "/"
583 name "-" version ".tar.xz"))
584 (sha256
585 (base32
586 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
587 (build-system gnu-build-system)
588 (native-inputs
589 `(("glib:bin" ,glib "bin")
590 ("pkg-config" ,pkg-config)))
591 (inputs
592 `(("gdk-pixbuf" ,gdk-pixbuf)
593 ("gettext" ,gettext-minimal)
594 ("gobject-introspection" ,gobject-introspection)
595 ("gtk+:doc", gtk+ "doc")
596 ("vala" ,vala)))
597 (synopsis "Media art library for the GNOME desktop")
598 (description
599 "The libmediaart library is the foundation for media art caching,
600 extraction, and lookup for applications on the desktop.")
601 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
602 (license license:lgpl2.1+)))
603
604 (define-public gnome-initial-setup
605 (package
606 (name "gnome-initial-setup")
607 (version "3.32.1")
608 (source (origin
609 (method url-fetch)
610 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
611 (version-major+minor version)
612 "/gnome-initial-setup-" version ".tar.xz"))
613 (sha256
614 (base32
615 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
616 (build-system meson-build-system)
617 (arguments
618 '(#:configure-flags '(;; Enable camera support for user selfie.
619 "-Dcheese=auto"
620 "-Dsystemd=false")
621 #:phases (modify-phases %standard-phases
622 (add-after 'unpack 'set-gkbd-file-name
623 (lambda* (#:key inputs #:allow-other-keys)
624 ;; Allow the "Preview" button in the keyboard layout
625 ;; selection dialog to display the layout.
626 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
627 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
628 (("\"gkbd-keyboard-display")
629 (string-append "\"" libgnomekbd
630 "/bin/gkbd-keyboard-display")))
631 #t))))))
632 (native-inputs
633 `(("gettext" ,gettext-minimal)
634 ("glib:bin" ,glib "bin")
635 ("gobject-introspection" ,gobject-introspection)
636 ("gtk+:bin" ,gtk+ "bin")
637 ("pkg-config" ,pkg-config)))
638 (inputs
639 `(("accountsservice" ,accountsservice)
640 ;("adwaita-icon-theme" ,adwaita-icon-theme)
641 ("gdm" ,gdm)
642 ("geoclue" ,geoclue)
643 ("gnome-desktop" ,gnome-desktop)
644 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
645 ("gnome-online-accounts" ,gnome-online-accounts)
646 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
647 ("gstreamer" ,gstreamer)
648 ("ibus" ,ibus)
649 ("json-glib" ,json-glib)
650 ("krb5" ,mit-krb5)
651 ("libgweather" ,libgweather)
652 ("libnma" ,libnma)
653 ("libsecret" ,libsecret)
654 ("network-manager" ,network-manager)
655 ("packagekit" ,packagekit)
656 ("polkit" ,polkit)
657 ("pwquality" ,libpwquality)
658 ("rest" ,rest)
659 ("upower" ,upower)
660 ("webkitgtk" ,webkitgtk)
661 ("libgnomekbd" ,libgnomekbd)))
662 (synopsis "Initial setup wizard for GNOME desktop")
663 (description "This package provides a set-up wizard when a
664 user logs into GNOME for the first time. It typically provides a
665 tour of all gnome components and allows the user to set them up.")
666 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
667 (license license:gpl2)))
668
669 (define-public gnome-user-share
670 (package
671 (name "gnome-user-share")
672 (version "3.33.1")
673 (source (origin
674 (method url-fetch)
675 (uri (string-append "mirror://gnome/sources/" name "/"
676 (version-major+minor version) "/"
677 name "-" version ".tar.xz"))
678 (sha256
679 (base32
680 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
681 (build-system meson-build-system)
682 (arguments
683 `(#:glib-or-gtk? #t
684 #:configure-flags
685 `("-Dsystemd=false"
686 ;; Enable nautilus extension for file sharing.
687 "-Dnautilus_extension=true")))
688 (native-inputs
689 `(("gettext" ,gettext-minimal)
690 ("glib:bin" ,glib "bin")
691 ("gobject-introspection" ,gobject-introspection)
692 ("gtk+:bin" ,gtk+ "bin")
693 ("pkg-config" ,pkg-config)
694 ("yelp-tools" ,yelp-tools)))
695 (inputs
696 `(("glib" ,glib)
697 ("gnome-bluetooth" ,gnome-bluetooth)
698 ("gtk+" ,gtk+)
699 ("libcanberra" ,libcanberra)
700 ("libnotify" ,libnotify)
701 ("nautilus" ,nautilus))) ; For nautilus extension.
702 (synopsis "File sharing for GNOME desktop")
703 (description "GNOME User Share is a small package that binds together
704 various free software projects to bring easy to use user-level file
705 sharing to the masses.")
706 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
707 (license license:gpl2+)))
708
709 (define-public sushi
710 (package
711 (name "sushi")
712 (version "3.32.1")
713 (source (origin
714 (method url-fetch)
715 (uri (string-append "mirror://gnome/sources/" name "/"
716 (version-major+minor version) "/"
717 name "-" version ".tar.xz"))
718 (sha256
719 (base32
720 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
721 (build-system meson-build-system)
722 (arguments
723 `(#:glib-or-gtk? #t
724 #:phases
725 (modify-phases %standard-phases
726 (add-after 'glib-or-gtk-wrap 'wrap-typelib
727 (lambda* (#:key outputs #:allow-other-keys)
728 (let ((prog (string-append (assoc-ref outputs "out")
729 "/bin/sushi")))
730 ;; Put existing typelibs before sushi's deps, so as to correctly
731 ;; infer gdk-pixbuf
732 (wrap-program prog
733 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
734 #t))))))
735 (native-inputs
736 `(("glib:bin" ,glib "bin")
737 ("gettext" ,gettext-minimal)
738 ("gobject-introspection" ,gobject-introspection)
739 ("pkg-config" ,pkg-config)))
740 (inputs
741 `(("clutter" ,clutter)
742 ("clutter-gst" ,clutter-gst)
743 ("clutter-gtk" ,clutter-gtk)
744 ("evince" ,evince) ; For file previewing.
745 ("freetype" ,freetype)
746 ("gdk-pixbuf" ,gdk-pixbuf)
747 ("gjs" ,gjs)
748 ("gst-plugins-base" ,gst-plugins-base)
749 ("gstreamer" ,gstreamer)
750 ("gtksourceview" ,gtksourceview-3)
751 ("harfbuzz" ,harfbuzz)
752 ("libepoxy" ,libepoxy)
753 ("libmusicbrainz" ,libmusicbrainz)
754 ("libxml2" ,libxml2)
755 ("neon" ,neon)
756 ("webkitgtk" ,webkitgtk)))
757 (synopsis "File previewer for the GNOME desktop")
758 (description "Sushi is a DBus-activated service that allows applications to
759 preview files on the GNOME desktop.")
760 (home-page "https://gitlab.gnome.org/GNOME/sushi")
761 (license license:gpl2+)))
762
763 (define-public rygel
764 (package
765 (name "rygel")
766 (version "0.38.3")
767 (source (origin
768 (method url-fetch)
769 (uri (string-append "mirror://gnome/sources/" name "/"
770 (version-major+minor version) "/"
771 name "-" version ".tar.xz"))
772 (sha256
773 (base32
774 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
775 (build-system gnu-build-system)
776 (native-inputs
777 `(("gettext" ,gettext-minimal)
778 ("gobject-introspection" ,gobject-introspection)
779 ("gtk-doc" ,gtk-doc)
780 ("pkg-config" ,pkg-config)
781 ("vala" ,vala)))
782 (inputs
783 `(("gdk-pixbuf" ,gdk-pixbuf)
784 ("gssdp" ,gssdp)
785 ("gstreamer" ,gstreamer)
786 ("gst-plugins-base" ,gst-plugins-base)
787 ("gtk+" ,gtk+)
788 ("gupnp" ,gupnp)
789 ("gupnp-av" ,gupnp-av)
790 ("gupnp-dlna" ,gupnp-dlna)
791 ("libgee" ,libgee)
792 ("libmediaart" ,libmediaart)
793 ("libsoup" ,libsoup)
794 ("libxslt" ,libxslt)
795 ("libunistring" ,libunistring)
796 ("tracker" ,tracker)))
797 (synopsis "Share audio, video, and pictures with other devices")
798 (description
799 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
800 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
801 pictures, and to control a media player on your home network.
802
803 Rygel achieves interoperability with other devices by trying to conform to the
804 strict requirements of DLNA and by converting media on-the-fly to formats that
805 client devices can handle.")
806 (home-page "https://wiki.gnome.org/Projects/Rygel")
807 (license (list
808 ;; For logo (data/icons/*).
809 license:cc-by-sa3.0
810 ;; For all others.
811 license:lgpl2.1+))))
812
813 (define-public libnma
814 (package
815 (name "libnma")
816 (version "1.8.28")
817 (source (origin
818 (method url-fetch)
819 (uri (string-append "mirror://gnome/sources/" name "/"
820 (version-major+minor version) "/"
821 name "-" version ".tar.xz"))
822 (sha256
823 (base32
824 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
825 (build-system meson-build-system)
826 (arguments
827 `(#:phases
828 (modify-phases %standard-phases
829 (add-after 'unpack 'patch-docbook-xml
830 (lambda* (#:key inputs #:allow-other-keys)
831 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
832 "/xml/dtd/docbook")))
833 (substitute* "libnma-docs.xml"
834 (("http://.*/docbookx\\.dtd")
835 (string-append xmldoc "/docbookx.dtd")))
836 #t))))))
837 (native-inputs
838 `(("docbook-xml" ,docbook-xml-4.3)
839 ("gettext" ,gettext-minimal)
840 ("glib:bin" ,glib "bin")
841 ("gtk-doc" ,gtk-doc)
842 ("gobject-introspection" ,gobject-introspection)
843 ("pkg-config" ,pkg-config)
844 ("vala" ,vala)))
845 (inputs
846 `(("gcr" ,gcr)
847 ("gtk+" ,gtk+)
848 ("iso-codes" ,iso-codes)
849 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
850 ("network-manager" ,network-manager)))
851 (synopsis "Network Manager's applet library")
852 (description "Libnma is an applet library for Network Manager. It was
853 initially part of network-manager-applet and has now become a separate
854 project.")
855 (home-page "https://gitlab.gnome.org/GNOME/libnma")
856 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
857 ;; "LGPL-2.1+".
858 (license license:gpl2+)))
859
860 (define-public gnome-menus
861 (package
862 (name "gnome-menus")
863 (version "3.32.0")
864 (source (origin
865 (method url-fetch)
866 (uri (string-append "mirror://gnome/sources/gnome-menus/"
867 (version-major+minor version) "/"
868 name "-" version ".tar.xz"))
869 (sha256
870 (base32
871 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
872 (build-system gnu-build-system)
873 (native-inputs
874 `(("gettext" ,gettext-minimal)
875 ("glib" ,glib)
876 ("pkg-config" ,pkg-config)))
877 (synopsis "Menu support for GNOME desktop")
878 (description "GNOME Menus contains the libgnome-menu library, the layout
879 configuration files for the GNOME menu, as well as a simple menu editor.")
880 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
881 (license license:lgpl2.0+)))
882
883 (define-public deja-dup
884 (package
885 (name "deja-dup")
886 (version "40.6")
887 (source (origin
888 (method url-fetch)
889 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
890 version "/deja-dup-" version ".tar.bz2"))
891 (sha256
892 (base32
893 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
894 (build-system meson-build-system)
895 (arguments
896 `(#:glib-or-gtk? #t
897 #:configure-flags
898 (list
899 ;; Otherwise, the RUNPATH will lack the final path component.
900 (string-append "-Dc_link_args=-Wl,-rpath="
901 (assoc-ref %outputs "out") "/lib/deja-dup"))
902 #:phases
903 (modify-phases %standard-phases
904 (add-after 'unpack 'patch-paths
905 (lambda* (#:key inputs #:allow-other-keys)
906 (let ((python (assoc-ref inputs "python")))
907 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
908 "libdeja/tests/scripts/instance-error.test")
909 (("/bin/rm")
910 (which "rm")))
911 (substitute* "libdeja/tests/runner.vala"
912 (("/bin/sh")
913 (which "sh")))
914 (substitute* "libdeja/tests/scripts/instance-error.test"
915 (("`which python3`")
916 (string-append python "/bin/python3"))))))
917 (add-after 'unpack 'patch-libgpg-error
918 (lambda* (#:key inputs #:allow-other-keys)
919 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
920 (substitute* "meson.build"
921 (("(gpgerror_libs = ).*" _ var)
922 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
923 #t))
924 (add-after 'unpack 'skip-gtk-update-icon-cache
925 ;; Don't create 'icon-theme.cache'.
926 (lambda _
927 (substitute* "data/post-install.sh"
928 (("gtk-update-icon-cache") "true"))
929 #t)))))
930 (inputs
931 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
932 ("duplicity" ,duplicity)
933 ("python" ,python)
934 ("python-pygobject" ,python-pygobject)
935 ("gtk+" ,gtk+)
936 ("json-glib" ,json-glib)
937 ("libnotify" ,libnotify)
938 ("libgpg-error" ,libgpg-error)
939 ("libsecret" ,libsecret)
940 ("libsoup" ,libsoup)
941 ("packagekit" ,packagekit)))
942 (native-inputs
943 `(("appstream-glib" ,appstream-glib)
944 ("desktop-file-utils" ,desktop-file-utils)
945 ("gettext" ,gettext-minimal)
946 ("glib" ,glib "bin") ; for glib-compile-schemas.
947 ("gobject-introspection" ,gobject-introspection)
948 ("itstool" ,itstool)
949 ("pkg-config" ,pkg-config)
950 ("vala" ,vala)))
951 (home-page "https://wiki.gnome.org/Apps/DejaDup")
952 (synopsis "Simple backup tool, for regular encrypted backups")
953 (description
954 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
955 uses duplicity as the backend, which supports incremental backups and storage
956 either on a local, or remote machine via a number of methods.")
957 (license license:gpl3+)))
958
959 (define-public gnome-user-docs
960 (package
961 (name "gnome-user-docs")
962 (version "3.32.3")
963 (source
964 (origin
965 (method url-fetch)
966 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
967 (version-major+minor version)
968 "/gnome-user-docs-" version ".tar.xz"))
969 (sha256
970 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
971 (build-system gnu-build-system)
972 (native-inputs
973 `(("gettext" ,gettext-minimal)
974 ("itstool" ,itstool)
975 ("pkg-config" ,pkg-config)
976 ("xmllint" ,libxml2)))
977 (synopsis "User documentation for the GNOME desktop")
978 (description
979 "The GNOME User Documentation explains how to use the GNOME desktop and its
980 components. It covers usage and setup of the core GNOME programs by end-users
981 and system administrators.")
982 (home-page "https://live.gnome.org/DocumentationProject")
983 (license license:cc-by3.0)))
984
985 (define-public gnome-getting-started-docs
986 (package
987 (name "gnome-getting-started-docs")
988 (version "3.32.2")
989 (source
990 (origin
991 (method url-fetch)
992 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
993 (version-major+minor version)
994 "/gnome-getting-started-docs-" version ".tar.xz"))
995 (sha256
996 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
997 (build-system gnu-build-system)
998 (native-inputs
999 `(("gettext" ,gettext-minimal)
1000 ("itstool" ,itstool)
1001 ("pkg-config" ,pkg-config)
1002 ("xmllint" ,libxml2)))
1003 (synopsis "Help to get new users started with the GNOME desktop")
1004 (description
1005 "The GNOME Getting Started Documentation contains GNOME's intuitive
1006 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1007
1008 It is normally used together with @command{gnome-initial-setup}, but is also
1009 useful as a tutorial and users' guide for new or less experienced users.")
1010 (home-page "https://live.gnome.org/DocumentationProject")
1011 (license license:cc-by-sa3.0)))
1012
1013 (define-public dia
1014 ;; This version from GNOME's repository includes fixes for compiling with
1015 ;; recent versions of the build tools. The latest activity on the
1016 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1017 ;; fixes since.
1018 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1019 (revision "2"))
1020 (package
1021 (name "dia")
1022 (version (git-version "0.97.3" revision commit))
1023 (source (origin
1024 (method git-fetch)
1025 (uri (git-reference
1026 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1027 (commit commit)))
1028 (file-name (git-file-name name version))
1029 (sha256
1030 (base32
1031 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1032 (build-system meson-build-system)
1033 (inputs
1034 `(("graphene" ,graphene)
1035 ("gtk+" ,gtk+-2)
1036 ("libxml2" ,libxml2)
1037 ("libxslt" ,libxslt)
1038 ("poppler" ,poppler)
1039 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1040 ;; ERROR: Unknown method "dependency" in object.
1041 ("python-2" ,python-2)))
1042 (native-inputs
1043 `(("appstream-glib" ,appstream-glib)
1044 ("docbook-xsl" ,docbook-xsl)
1045 ("glib" ,glib "bin")
1046 ("intltool" ,intltool)
1047 ("pkg-config" ,pkg-config)))
1048 (home-page "https://wiki.gnome.org/Apps/Dia")
1049 (synopsis "Diagram creation for GNOME")
1050 (description "Dia can be used to draw different types of diagrams, and
1051 includes support for UML static structure diagrams (class diagrams), entity
1052 relationship modeling, and network diagrams. The program supports various file
1053 formats like PNG, SVG, PDF and EPS.")
1054 (license license:gpl2+))))
1055
1056 ;; This is the unstable release, but it is required for the current stable
1057 ;; release of gvfs (1.38.1).
1058 (define-public libgdata
1059 (package
1060 (name "libgdata")
1061 (version "0.17.9")
1062 (source (origin
1063 (method url-fetch)
1064 (uri (string-append "mirror://gnome/sources/" name "/"
1065 (version-major+minor version) "/"
1066 name "-" version ".tar.xz"))
1067 (sha256
1068 (base32
1069 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1070 (build-system gnu-build-system)
1071 (arguments
1072 '(#:phases
1073 (modify-phases %standard-phases
1074 (add-before 'check 'disable-failing-tests
1075 (lambda _
1076 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1077 ;; They have been removed in libgdata 0.17.6, so just do the same.
1078 (substitute* "gdata/tests/Makefile"
1079 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1080 #t)))))
1081 (native-inputs
1082 `(("glib:bin" ,glib "bin")
1083 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1084 ("intltool" ,intltool)
1085 ("pkg-config" ,pkg-config)
1086 ("uhttpmock" ,uhttpmock)))
1087 (inputs
1088 `(("cyrus-sasl" ,cyrus-sasl)
1089 ("glib-networking" ,glib-networking)))
1090 (propagated-inputs
1091 `(("gcr" ,gcr)
1092 ("glib" ,glib)
1093 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1094 ("json-glib" ,json-glib)
1095 ("liboauth" ,liboauth)
1096 ("libsoup" ,libsoup)
1097 ("libxml2" ,libxml2)))
1098 (home-page "https://wiki.gnome.org/Projects/libgdata")
1099 (synopsis "Library for accessing online service APIs")
1100 (description
1101 "libgdata is a GLib-based library for accessing online service APIs using
1102 the GData protocol — most notably, Google's services. It provides APIs to
1103 access the common Google services, and has full asynchronous support.")
1104 (license license:lgpl2.1+)))
1105
1106 (define-public libgxps
1107 (package
1108 (name "libgxps")
1109 (version "0.3.1")
1110 (source (origin
1111 (method url-fetch)
1112 (uri (string-append "mirror://gnome/sources/" name "/"
1113 (version-major+minor version) "/"
1114 name "-" version ".tar.xz"))
1115 (sha256
1116 (base32
1117 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1118 (build-system meson-build-system)
1119 (native-inputs
1120 `(("gobject-introspection" ,gobject-introspection)
1121 ("pkg-config" ,pkg-config)))
1122 (inputs
1123 `(("gtk+" ,gtk+)
1124 ("libjpeg" ,libjpeg-turbo)
1125 ("lcms" ,lcms)
1126 ("libtiff" ,libtiff)))
1127 (propagated-inputs
1128 ;; In Requires of libgxps.pc.
1129 `(("cairo" ,cairo)
1130 ("glib" ,glib)
1131 ("libarchive" ,libarchive)))
1132 (home-page "https://wiki.gnome.org/Projects/libgxps")
1133 (synopsis "GObject-based library for handling and rendering XPS documents")
1134 (description
1135 "libgxps is a GObject-based library for handling and rendering XPS
1136 documents. This package also contains binaries that can convert XPS documents
1137 to other formats.")
1138 (license license:lgpl2.1+)))
1139
1140 (define-public gnome-characters
1141 (package
1142 (name "gnome-characters")
1143 (version "3.30.0")
1144 (source
1145 (origin
1146 (method url-fetch)
1147 (uri (string-append "mirror://gnome/sources/"
1148 "gnome-characters/" (version-major+minor version)
1149 "/gnome-characters-" version ".tar.xz"))
1150 (sha256
1151 (base32
1152 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1153 (build-system meson-build-system)
1154 (arguments
1155 `(#:glib-or-gtk? #t
1156 #:phases (modify-phases %standard-phases
1157 (add-after 'install 'wrap
1158 (lambda* (#:key outputs #:allow-other-keys)
1159 ;; GNOME Characters needs Typelib files from GTK and
1160 ;; gnome-desktop.
1161 (wrap-program (string-append (assoc-ref outputs "out")
1162 "/bin/gnome-characters")
1163 `("GI_TYPELIB_PATH" ":" prefix
1164 (,(getenv "GI_TYPELIB_PATH"))))
1165 #t)))))
1166 (native-inputs
1167 `(("gettext" ,gettext-minimal)
1168 ("glib:bin" ,glib "bin")
1169 ("gtk+:bin" ,gtk+ "bin")
1170 ("pkg-config" ,pkg-config)
1171 ("python" ,python-minimal)))
1172 (inputs
1173 `(("gjs" ,gjs)
1174 ("gtk+" ,gtk+)
1175 ("libunistring" ,libunistring)
1176 ("gnome-desktop" ,gnome-desktop)))
1177 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1178 (synopsis "Find and insert unusual characters")
1179 (description "Characters is a simple utility application to find
1180 and insert unusual characters. It allows you to quickly find the
1181 character you are looking for by searching for keywords.")
1182 (license license:bsd-3)))
1183
1184 (define-public gnome-common
1185 (package
1186 (name "gnome-common")
1187 (version "3.18.0")
1188 (source
1189 (origin
1190 (method url-fetch)
1191 (uri (string-append "mirror://gnome/sources/" name "/"
1192 (version-major+minor version) "/"
1193 name "-" version ".tar.xz"))
1194 (sha256
1195 (base32
1196 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1197 (build-system gnu-build-system)
1198 (home-page "https://www.gnome.org/")
1199 (synopsis "Bootstrap GNOME modules built from Git")
1200 (description "gnome-common contains various files needed to bootstrap
1201 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1202 can be used to configure a source directory checked out from Git and some
1203 commonly used macros.")
1204 (license license:gpl2+)))
1205
1206 (define-public gnome-contacts
1207 (package
1208 (name "gnome-contacts")
1209 (version "3.34")
1210 (source (origin
1211 (method url-fetch)
1212 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1213 (version-major+minor version) "/"
1214 name "-" version ".tar.xz"))
1215 (sha256
1216 (base32
1217 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1218 (build-system meson-build-system)
1219 (arguments
1220 `(#:configure-flags '("-Dcheese=false")
1221 #:phases
1222 (modify-phases %standard-phases
1223 (add-after 'unpack 'generate-vapis
1224 (lambda* (#:key inputs #:allow-other-keys)
1225 ;; To generate goa's missing .vapi file
1226 (define goa
1227 (assoc-ref inputs "gnome-online-accounts:lib"))
1228
1229 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1230 "--library=goa-1.0"
1231 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1232 #t))
1233 (add-after 'unpack 'skip-gtk-update-icon-cache
1234 ;; Don't create 'icon-theme.cache'.
1235 (lambda _
1236 (substitute* "build-aux/meson_post_install.py"
1237 (("gtk-update-icon-cache") "true"))
1238 #t)))))
1239 (native-inputs
1240 `(("glib:bin" ,glib "bin")
1241 ("pkg-config" ,pkg-config)))
1242 (inputs
1243 `(("docbook-xml" ,docbook-xml)
1244 ("dockbook-xsl" ,docbook-xsl)
1245 ("evolution-data-server" ,evolution-data-server)
1246 ("gettext" ,gettext-minimal)
1247 ("gnome-desktop" ,gnome-desktop)
1248 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1249 ("gobject-introspection" ,gobject-introspection)
1250 ("gst-plugins-base" ,gst-plugins-base)
1251 ("gtk+" ,gtk+)
1252 ("libgee" ,libgee)
1253 ("libxslt" ,libxslt)
1254 ("telepathy-glib" ,telepathy-glib)
1255 ("vala" ,vala)))
1256 (propagated-inputs
1257 `(("folks", folks)
1258 ("telepathy-mission-control" ,telepathy-mission-control)))
1259 (synopsis "GNOME's integrated address book")
1260 (description
1261 "GNOME Contacts organizes your contact information from online and
1262 offline sources, providing a centralized place for managing your contacts.")
1263 (home-page "https://wiki.gnome.org/Apps/Contacts")
1264 (license license:gpl2+)))
1265
1266 (define-public gnome-desktop
1267 (package
1268 (name "gnome-desktop")
1269 (version "3.34.2")
1270 (source
1271 (origin
1272 (method url-fetch)
1273 (uri (string-append "mirror://gnome/sources/" name "/"
1274 (version-major+minor version) "/"
1275 name "-" version ".tar.xz"))
1276 (sha256
1277 (base32
1278 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1279 (build-system meson-build-system)
1280 (arguments
1281 '(#:phases
1282 (modify-phases %standard-phases
1283 (add-before 'configure 'patch-path
1284 (lambda* (#:key inputs #:allow-other-keys)
1285 (let ((libc (assoc-ref inputs "libc")))
1286 (substitute* "libgnome-desktop/gnome-languages.c"
1287 (("\"locale\"")
1288 (string-append "\"" libc "/bin/locale\"")))
1289 #t)))
1290 (add-before 'configure 'patch-bubblewrap
1291 (lambda* (#:key inputs #:allow-other-keys)
1292 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
1293 (("\"bwrap\",")
1294 (string-append "\"" (which "bwrap") "\","))
1295 (("\"--ro-bind\", \"/usr\", \"/usr\",")
1296 (string-append "\"--ro-bind\", \""
1297 (%store-directory)
1298 "\", \""
1299 (%store-directory)
1300 "\","))
1301 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
1302 #t))
1303 (add-before 'check 'pre-check
1304 (lambda* (#:key inputs #:allow-other-keys)
1305 ;; Tests require a running X server and locales.
1306 (system "Xvfb :1 &")
1307 (setenv "DISPLAY" ":1")
1308 (setenv "GUIX_LOCPATH"
1309 (string-append (assoc-ref inputs "glibc-locales")
1310 "/lib/locale"))
1311 #t)))))
1312 (native-inputs
1313 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1314 ("glibc-locales" ,glibc-locales) ; for tests
1315 ("gobject-introspection" ,gobject-introspection)
1316 ("itstool" ,itstool)
1317 ("intltool" ,intltool)
1318 ("pkg-config" ,pkg-config)
1319 ("xmllint" ,libxml2)
1320 ("xorg-server" ,xorg-server-for-tests)))
1321 (propagated-inputs
1322 ;; Required by gnome-desktop-3.0.pc.
1323 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1324 ("gtk+" ,gtk+)
1325 ("iso-codes" ,iso-codes)
1326 ("libseccomp" ,libseccomp)
1327 ("libx11" ,libx11)
1328 ("xkeyboard-config" ,xkeyboard-config)))
1329 (inputs
1330 `(("gdk-pixbuf" ,gdk-pixbuf)
1331 ("glib" ,glib)
1332 ("bubblewrap" ,bubblewrap)
1333 ("libxext" ,libxext)
1334 ("libxkbfile" ,libxkbfile)
1335 ("libxrandr" ,libxrandr)))
1336 (home-page "https://www.gnome.org/")
1337 (synopsis
1338 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1339 (description
1340 "The libgnome-desktop library provides API shared by several applications
1341 on the desktop, but that cannot live in the platform for various reasons.
1342 There is no API or ABI guarantee, although we are doing our best to provide
1343 stability. Documentation for the API is available with gtk-doc.
1344
1345 The gnome-about program helps find which version of GNOME is installed.")
1346 ; Some bits under the LGPL.
1347 (license license:gpl2+)))
1348
1349 (define-public gnome-doc-utils
1350 (package
1351 (name "gnome-doc-utils")
1352 (version "0.20.10")
1353 (source
1354 (origin
1355 (method url-fetch)
1356 (uri (string-append "mirror://gnome/sources/" name "/"
1357 (version-major+minor version) "/"
1358 name "-" version ".tar.xz"))
1359 (sha256
1360 (base32
1361 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1362 (build-system gnu-build-system)
1363 (native-inputs
1364 `(("intltool" ,intltool)
1365 ("docbook-xml" ,docbook-xml-4.4)
1366 ("python2-libxml2" ,python2-libxml2)
1367 ("libxml2" ,libxml2)
1368 ("libxslt" ,libxslt)
1369 ("pkg-config" ,pkg-config)
1370 ("python-2" ,python-2)))
1371 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1372 (synopsis
1373 "Documentation utilities for the Gnome project")
1374 (description
1375 "Gnome-doc-utils is a collection of documentation utilities for the
1376 Gnome project. It includes xml2po tool which makes it easier to translate
1377 and keep up to date translations of documentation.")
1378 (license license:gpl2+))) ; xslt under lgpl
1379
1380 (define-public gnome-disk-utility
1381 (package
1382 (name "gnome-disk-utility")
1383 (version "3.34.0")
1384 (source (origin
1385 (method url-fetch)
1386 (uri (string-append "mirror://gnome/sources/" name "/"
1387 (version-major+minor version) "/"
1388 name "-" version ".tar.xz"))
1389 (sha256
1390 (base32
1391 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
1392 (build-system meson-build-system)
1393 (arguments
1394 '(#:configure-flags '("-Dlogind=libelogind")
1395 #:phases
1396 (modify-phases %standard-phases
1397 (add-after 'unpack 'skip-gtk-update-icon-cache
1398 ;; Don't create 'icon-theme.cache'.
1399 (lambda _
1400 (substitute* "meson_post_install.py"
1401 (("gtk-update-icon-cache") "true"))
1402 #t)))))
1403 (native-inputs
1404 `(("glib:bin" ,glib "bin")
1405 ("intltool" ,intltool)
1406 ("pkg-config" ,pkg-config)
1407 ("docbook-xml" ,docbook-xml)
1408 ("docbook-xsl" ,docbook-xsl)
1409 ("libxml2" ,libxml2)
1410 ("libxslt" ,libxslt)))
1411 (inputs
1412 `(("elogind" ,elogind)
1413 ("glib" ,glib)
1414 ("appstream-glib" ,appstream-glib)
1415 ("gnome-settings-daemon" ,gnome-settings-daemon)
1416 ("gtk+" ,gtk+)
1417 ("libcanberra" ,libcanberra)
1418 ("libdvdread" ,libdvdread)
1419 ("libnotify" ,libnotify)
1420 ("libpwquality" ,libpwquality)
1421 ("libsecret" ,libsecret)
1422 ("udisks" ,udisks)))
1423 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1424 (synopsis "Disk management utility for GNOME")
1425 (description "Disk management utility for GNOME.")
1426 (license license:gpl2+)))
1427
1428 (define-public gnome-font-viewer
1429 (package
1430 (name "gnome-font-viewer")
1431 (version "3.30.0")
1432 (source (origin
1433 (method url-fetch)
1434 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1435 (version-major+minor version)
1436 "/gnome-font-viewer-" version ".tar.xz"))
1437 (sha256
1438 (base32
1439 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1440 (build-system meson-build-system)
1441 (arguments
1442 '(#:phases
1443 (modify-phases %standard-phases
1444 (add-after 'unpack 'patch-post-install-script
1445 (lambda _
1446 (substitute* "meson-postinstall.sh"
1447 (("update-desktop-database") (which "true")))
1448 #t)))))
1449 (native-inputs
1450 `(("gettext" ,gettext-minimal)
1451 ("glib:bin" ,glib "bin")
1452 ("pkg-config" ,pkg-config)))
1453 (inputs
1454 `(("glib" ,glib)
1455 ("gnome-desktop" ,gnome-desktop)
1456 ("gtk+" ,gtk+)))
1457 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1458 (synopsis "GNOME Fonts")
1459 (description "Application to show you the fonts installed on your computer
1460 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1461 the font would look under various sizes.")
1462 (license license:gpl2+)))
1463
1464 (define-public gcr
1465 (package
1466 (name "gcr")
1467 (version "3.34.0")
1468 (source (origin
1469 (method url-fetch)
1470 (uri (string-append "mirror://gnome/sources/" name "/"
1471 (version-major+minor version) "/"
1472 name "-" version ".tar.xz"))
1473 (sha256
1474 (base32
1475 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
1476 (build-system gnu-build-system)
1477 (arguments
1478 '(#:phases
1479 (modify-phases %standard-phases
1480 ;; These fail because /var/lib/dbus/machine-id is not present in the
1481 ;; build environment.
1482 (add-after 'unpack 'disable-failing-tests
1483 (lambda _
1484 (substitute* "Makefile.in"
1485 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
1486 ""))
1487 #t))
1488 (add-before 'check 'pre-check
1489 (lambda _
1490 ;; Some tests expect to write to $HOME.
1491 (setenv "HOME" "/tmp")
1492 #t)))))
1493 (inputs
1494 `(("dbus" ,dbus)
1495 ("gnupg" ,gnupg) ;called as a child process during tests
1496 ("libgcrypt" ,libgcrypt)))
1497 (native-inputs
1498 `(("python" ,python-wrapper) ;for tests
1499 ("pkg-config" ,pkg-config)
1500 ("gettext" ,gettext-minimal)
1501 ("glib" ,glib "bin")
1502 ("gobject-introspection" ,gobject-introspection)
1503 ("libxml2" ,libxml2)
1504 ("vala" ,vala)
1505 ("xsltproc" ,libxslt)))
1506 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1507 (propagated-inputs
1508 `(("p11-kit" ,p11-kit)
1509 ("glib" ,glib)
1510 ("gtk+" ,gtk+)))
1511 (home-page "https://www.gnome.org")
1512 (synopsis "Libraries for displaying certificates and accessing key stores")
1513 (description
1514 "The GCR package contains libraries used for displaying certificates and
1515 accessing key stores. It also provides the viewer for crypto files on the
1516 GNOME Desktop.")
1517 (license license:lgpl2.1+)))
1518
1519 (define-public gdl
1520 (package
1521 (name "gdl")
1522 (version "3.34.0")
1523 (source (origin
1524 (method git-fetch)
1525 (uri (git-reference
1526 (url "https://gitlab.gnome.org/GNOME/gdl.git")
1527 (commit (string-append "GDL_" (string-map (match-lambda
1528 (#\. #\_)
1529 (c c))
1530 version)))))
1531 (file-name (git-file-name name version))
1532 (sha256
1533 (base32
1534 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
1535 (build-system gnu-build-system)
1536 (native-inputs
1537 `(("autoconf" ,autoconf)
1538 ("automake" ,automake)
1539 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1540 ("gnome-common" ,gnome-common)
1541 ("gtk-doc" ,gtk-doc)
1542 ("intltool" ,intltool)
1543 ("pkg-config" ,pkg-config)
1544 ("libtool" ,libtool)
1545 ("which" ,which)))
1546 (inputs
1547 `(("libxml2" ,libxml2)))
1548 (propagated-inputs
1549 ;; The gdl-3.0.pc file 'Requires' GTK+.
1550 `(("gtk+" ,gtk+)))
1551 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
1552 (synopsis "GNOME docking library")
1553 (description "This library provides docking features for gtk+.")
1554 (license license:lgpl2.1+)))
1555
1556 ;;; A minimal variant used to break a cycle with Inkscape.
1557 (define-public gdl-minimal
1558 (package
1559 (inherit gdl)
1560 (name "gdl-minimal")
1561 (arguments
1562 '(#:phases
1563 (modify-phases %standard-phases
1564 (add-after 'unpack 'disable-doc-generation
1565 ;; XXX: There is no easy way to disable generating the
1566 ;; documentation.
1567 (lambda _
1568 (substitute* "configure.in"
1569 (("GTK_DOC_CHECK.*") "")
1570 (("docs/.*") ""))
1571 (substitute* "Makefile.am"
1572 (("gdl docs po") "gdl po"))
1573 #t)))))
1574 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
1575
1576 (define-public libgnome-keyring
1577 (package
1578 (name "libgnome-keyring")
1579 (version "3.12.0")
1580 (source (origin
1581 (method url-fetch)
1582 (uri (string-append "mirror://gnome/sources/" name "/"
1583 (version-major+minor version) "/"
1584 name "-" version ".tar.xz"))
1585 (sha256
1586 (base32
1587 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1588 (build-system gnu-build-system)
1589 (inputs
1590 `(("libgcrypt" ,libgcrypt)
1591 ("dbus" ,dbus)))
1592 (native-inputs
1593 `(("pkg-config" ,pkg-config)
1594 ("glib" ,glib "bin")
1595 ("intltool" ,intltool)))
1596 (propagated-inputs
1597 ;; Referred to in .h files and .pc.
1598 `(("glib" ,glib)))
1599 (home-page "https://www.gnome.org")
1600 (synopsis "Accessing passwords from the GNOME keyring")
1601 (description
1602 "Client library to access passwords from the GNOME keyring.")
1603
1604 ;; Though a couple of files are LGPLv2.1+.
1605 (license license:lgpl2.0+)))
1606
1607 (define-public gnome-keyring
1608 (package
1609 (name "gnome-keyring")
1610 (version "3.34.0")
1611 (source (origin
1612 (method url-fetch)
1613 (uri (string-append "mirror://gnome/sources/" name "/"
1614 (version-major+minor version) "/"
1615 name "-" version ".tar.xz"))
1616 (sha256
1617 (base32
1618 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
1619 (build-system gnu-build-system)
1620 (arguments
1621 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1622 ;not exist
1623 #:configure-flags
1624 (list
1625 (string-append "--with-pkcs11-config="
1626 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1627 (string-append "--with-pkcs11-modules="
1628 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1629 #:phases
1630 (modify-phases %standard-phases
1631 (add-after 'unpack 'fix-/bin/sh-reference
1632 (lambda _
1633 (substitute* "po/Makefile.in.in"
1634 (("/bin/sh") (which "sh")))
1635 #t))
1636 (add-after 'unpack 'fix-docbook
1637 (lambda* (#:key inputs #:allow-other-keys)
1638 (substitute* "docs/Makefile.am"
1639 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1640 (string-append (assoc-ref inputs "docbook-xsl")
1641 "/xml/xsl/docbook-xsl-"
1642 ,(package-version docbook-xsl)
1643 "/manpages/docbook.xsl")))
1644 (setenv "XML_CATALOG_FILES"
1645 (string-append (assoc-ref inputs "docbook-xml")
1646 "/xml/dtd/docbook/catalog.xml"))
1647 ;; Rerun the whole thing to avoid version mismatch ("This is
1648 ;; Automake 1.15.1, but the definition used by this
1649 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1650 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1651 (invoke "autoconf")
1652 (invoke "aclocal")
1653 (invoke "automake" "-ac"))))))
1654 (inputs
1655 `(("libgcrypt" ,libgcrypt)
1656 ("linux-pam" ,linux-pam)
1657 ("openssh" ,openssh)
1658 ("dbus" ,dbus)
1659 ("gcr" ,gcr)))
1660 (native-inputs
1661 `(("pkg-config" ,pkg-config)
1662 ("glib" ,glib "bin")
1663 ("glib" ,glib) ; for m4 macros
1664 ("python" ,python-2) ;for tests
1665 ("intltool" ,intltool)
1666 ("autoconf" ,autoconf)
1667 ("automake" ,automake)
1668 ("libxslt" ,libxslt) ;for documentation
1669 ("docbook-xml" ,docbook-xml-4.2)
1670 ("docbook-xsl" ,docbook-xsl)))
1671 (home-page "https://www.gnome.org")
1672 (synopsis "Daemon to store passwords and encryption keys")
1673 (description
1674 "gnome-keyring is a program that keeps passwords and other secrets for
1675 users. It is run as a daemon in the session, similar to ssh-agent, and other
1676 applications locate it via an environment variable or D-Bus.
1677
1678 The program can manage several keyrings, each with its own master password,
1679 and there is also a session keyring which is never stored to disk, but
1680 forgotten when the session ends.")
1681 (license license:lgpl2.1+)))
1682
1683 (define-public evince
1684 (package
1685 (name "evince")
1686 (version "3.36.5")
1687 (source (origin
1688 (method url-fetch)
1689 (uri (string-append "mirror://gnome/sources/evince/"
1690 (version-major+minor version) "/"
1691 "evince-" version ".tar.xz"))
1692 (sha256
1693 (base32
1694 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
1695 (build-system glib-or-gtk-build-system)
1696 (arguments
1697 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1698 #:phases
1699 (modify-phases %standard-phases
1700 (add-before 'install 'skip-gtk-update-icon-cache
1701 ;; Don't create 'icon-theme.cache'.
1702 (lambda _
1703 (substitute* "data/Makefile"
1704 (("gtk-update-icon-cache") "true"))
1705 #t)))))
1706 (inputs
1707 `(("libarchive" ,libarchive)
1708 ("libgxps" ,libgxps)
1709 ("libspectre" ,libspectre)
1710 ("djvulibre" ,djvulibre)
1711 ("ghostscript" ,ghostscript)
1712 ("poppler" ,poppler)
1713 ("libtiff" ,libtiff)
1714 ;; TODO:
1715 ;; Build libkpathsea as a shared library for DVI support.
1716 ;; ("libkpathsea" ,texlive-bin)
1717 ("gnome-desktop" ,gnome-desktop)
1718 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1719 ("gspell" ,gspell)
1720 ("libgnome-keyring" ,libgnome-keyring)
1721 ("adwaita-icon-theme" ,adwaita-icon-theme)
1722 ("gdk-pixbuf" ,gdk-pixbuf)
1723 ("atk" ,atk)
1724 ("pango" ,pango)
1725 ("gtk+" ,gtk+)
1726 ("glib" ,glib)
1727 ("libxml2" ,libxml2)
1728 ("libsm" ,libsm)
1729 ("libice" ,libice)
1730 ("shared-mime-info" ,shared-mime-info)
1731 ("dconf" ,dconf)
1732 ("libcanberra" ,libcanberra)
1733 ("libsecret" ,libsecret)
1734
1735 ;; For tests.
1736 ("dogtail" ,python2-dogtail)))
1737 (native-inputs
1738 `(("itstool" ,itstool)
1739 ("intltool" ,intltool)
1740 ("glib" ,glib "bin")
1741 ("gobject-introspection" ,gobject-introspection)
1742 ("pkg-config" ,pkg-config)
1743 ("xmllint" ,libxml2)))
1744 (home-page "https://www.gnome.org/projects/evince/")
1745 (synopsis "GNOME's document viewer")
1746 (description
1747 "Evince is a document viewer for multiple document formats. It
1748 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1749 of Evince is to replace the multiple document viewers that exist
1750 on the GNOME Desktop with a single simple application.")
1751 (license license:gpl2+)))
1752
1753 (define-public gsettings-desktop-schemas
1754 (package
1755 (name "gsettings-desktop-schemas")
1756 (version "3.34.0")
1757 (source
1758 (origin
1759 (method url-fetch)
1760 (uri (string-append "mirror://gnome/sources/" name "/"
1761 (version-major+minor version) "/"
1762 name "-" version ".tar.xz"))
1763 (sha256
1764 (base32
1765 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
1766 (build-system meson-build-system)
1767 (arguments
1768 '(#:phases (modify-phases %standard-phases
1769 (add-after 'unpack 'patch-schemas
1770 (lambda* (#:key inputs #:allow-other-keys)
1771 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1772 (substitute* (find-files "schemas"
1773 "\\.gschema\\.xml\\.in$")
1774 ;; Provide the correct file name of the default GNOME
1775 ;; background, 'adwaita-timed.xml'.
1776 (("@datadir@/backgrounds/gnome")
1777 (string-append theme "/share/backgrounds/gnome"))
1778 ;; Do not reference fonts, that may not exist.
1779 (("'Source Code Pro 10'") "'Monospace 11'"))
1780 #t))))))
1781 (inputs
1782 `(("glib" ,glib)
1783 ("gnome-backgrounds" ,gnome-backgrounds)))
1784 (native-inputs
1785 `(("intltool" ,intltool)
1786 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1787 ("gobject-introspection" ,gobject-introspection)
1788 ("pkg-config" ,pkg-config)))
1789 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1790 (synopsis
1791 "GNOME settings for various desktop components")
1792 (description
1793 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1794 for settings shared by various components of the GNOME desktop.")
1795 (license license:lgpl2.1+)))
1796
1797 (define-public icon-naming-utils
1798 (package
1799 (name "icon-naming-utils")
1800 (version "0.8.90")
1801 (source
1802 (origin
1803 (method url-fetch)
1804 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1805 version ".tar.bz2"))
1806 (sha256
1807 (base32
1808 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1809 (build-system gnu-build-system)
1810 (inputs
1811 `(("perl" ,perl)
1812 ("perl-xml-simple" ,perl-xml-simple)))
1813 (arguments
1814 '(#:phases
1815 (modify-phases %standard-phases
1816 (add-after 'install 'set-load-paths
1817 ;; Tell 'icon-name-mapping' where XML::Simple is.
1818 (lambda* (#:key outputs #:allow-other-keys)
1819 (let* ((out (assoc-ref outputs "out"))
1820 (prog (string-append out "/libexec/icon-name-mapping")))
1821 (wrap-program
1822 prog
1823 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1824 #t)))))
1825 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1826 (synopsis
1827 "Utility to implement the Freedesktop Icon Naming Specification")
1828 (description
1829 "To help with the transition to the Freedesktop Icon Naming
1830 Specification, the icon naming utility maps the icon names used by the
1831 GNOME and KDE desktops to the icon names proposed in the specification.")
1832 (license license:lgpl2.1+)))
1833
1834 (define-public gnome-icon-theme
1835 (package
1836 (name "gnome-icon-theme")
1837 (version "3.12.0")
1838 (source
1839 (origin
1840 (method url-fetch)
1841 (uri (string-append "mirror://gnome/sources/" name "/"
1842 (version-major+minor version) "/"
1843 name "-" version ".tar.xz"))
1844 (sha256
1845 (base32
1846 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1847 (build-system gnu-build-system)
1848 (arguments
1849 '(#:configure-flags
1850 ;; Don't create 'icon-theme.cache'.
1851 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1852 (true (string-append coreutils "/bin/true")))
1853 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1854 (native-inputs
1855 `(("icon-naming-utils" ,icon-naming-utils)
1856 ("intltool" ,intltool)
1857 ("pkg-config" ,pkg-config)))
1858 (home-page "https://wiki.gnome.org/Personalization")
1859 (synopsis "GNOME icon theme")
1860 (description "Icons for the GNOME desktop.")
1861 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1862
1863 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1864 (define-public adwaita-icon-theme
1865 (package (inherit gnome-icon-theme)
1866 (name "adwaita-icon-theme")
1867 (version "3.34.3")
1868 (source (origin
1869 (method url-fetch)
1870 (uri (string-append "mirror://gnome/sources/" name "/"
1871 (version-major+minor version) "/"
1872 name "-" version ".tar.xz"))
1873 (sha256
1874 (base32
1875 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
1876 (native-inputs
1877 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1878
1879 (define-public tango-icon-theme
1880 (package
1881 (name "tango-icon-theme")
1882 (version "0.8.90")
1883 (source (origin
1884 (method url-fetch)
1885 (uri (string-append "http://tango.freedesktop.org/releases/"
1886 "tango-icon-theme-" version ".tar.bz2"))
1887 (sha256
1888 (base32
1889 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1890 (build-system gnu-build-system)
1891 (native-inputs
1892 `(("icon-naming-utils" ,icon-naming-utils)
1893 ("intltool" ,intltool)
1894 ("imagemagick" ,imagemagick)
1895 ("pkg-config" ,pkg-config)))
1896 (home-page "http://tango-project.org/")
1897 (synopsis "Tango icon theme")
1898 (description "This is an icon theme that follows the Tango visual
1899 guidelines.")
1900 (license license:public-domain)))
1901
1902 (define-public shared-mime-info
1903 (package
1904 (name "shared-mime-info")
1905 (version "1.15")
1906 (source (origin
1907 (method url-fetch)
1908 (uri (string-append
1909 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
1910 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
1911 ".tar.xz"))
1912 (sha256
1913 (base32
1914 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
1915 (build-system gnu-build-system)
1916 (arguments
1917 ;; The build system appears not to be parallel-safe.
1918 '(#:parallel-build? #f))
1919 (inputs
1920 `(("glib" ,glib)
1921 ("libxml2" ,libxml2)))
1922 (native-inputs
1923 `(("gettext" ,gettext-minimal)
1924 ("itstool" ,itstool)
1925 ("pkg-config" ,pkg-config)))
1926 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1927 (synopsis "Database of common MIME types")
1928 (description
1929 "The shared-mime-info package contains the core database of common types
1930 and the update-mime-database command used to extend it. It requires glib2 to
1931 be installed for building the update command. Additionally, it uses intltool
1932 for translations, though this is only a dependency for the maintainers. This
1933 database is translated at Transifex.")
1934 (license license:gpl2+)))
1935
1936 (define-public system-config-printer
1937 (package
1938 (name "system-config-printer")
1939 (version "1.5.12")
1940 (source
1941 (origin
1942 (method url-fetch)
1943 (uri (string-append
1944 "https://github.com/OpenPrinting/system-config-printer/releases/"
1945 "download/" version
1946 "/system-config-printer-" version ".tar.xz"))
1947 (sha256
1948 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1949 (build-system glib-or-gtk-build-system)
1950 (arguments
1951 `(#:imported-modules ((guix build python-build-system)
1952 ,@%glib-or-gtk-build-system-modules)
1953 #:phases
1954 (modify-phases %standard-phases
1955 (add-after 'unpack 'patch-Makefile.am
1956 (lambda _
1957 ;; The Makefile generates some scripts, so set a valid shebang
1958 (substitute* "Makefile.am"
1959 (("/bin/bash") (which "bash")))
1960 (delete-file "configure")
1961 #t))
1962 (add-after 'unpack 'patch-docbook-xml
1963 (lambda* (#:key inputs #:allow-other-keys)
1964 ;; Modify the man XML otherwise xmlto tries to access the network
1965 (substitute* "man/system-config-printer.xml"
1966 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1967 (string-append (assoc-ref inputs "docbook-xml")
1968 "/xml/dtd/docbook/")))
1969 #t))
1970 (add-after 'install 'wrap-for-python
1971 (@@ (guix build python-build-system) wrap))
1972 (add-after 'install 'wrap
1973 (lambda* (#:key outputs #:allow-other-keys)
1974 (let ((out (assoc-ref outputs "out"))
1975 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1976 (for-each
1977 (lambda (program)
1978 (wrap-program program
1979 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1980 (map (lambda (name)
1981 (string-append out "/bin/" name))
1982 '("system-config-printer"
1983 "system-config-printer-applet"
1984 "install-printerdriver"
1985 "scp-dbus-service"))))
1986 #t)))))
1987 (inputs
1988 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1989 ("gobject-introspection" ,gobject-introspection)
1990 ("python" ,python)
1991 ("cups" ,cups)
1992 ("gtk+" ,gtk+)
1993 ("python-dbus" ,python-dbus)
1994 ("python-pygobject" ,python-pygobject)
1995 ("python-pycups" ,python-pycups)
1996 ("python-requests" ,python-requests)
1997 ("python-pycairo" ,python-pycairo)
1998 ("libnotify" ,libnotify)
1999 ("packagekit" ,packagekit)))
2000 (native-inputs
2001 `(("pkg-config" ,pkg-config)
2002 ("desktop-file-utils" ,desktop-file-utils)
2003 ("glib" ,glib)
2004 ("autoconf" ,autoconf)
2005 ("automake" ,automake)
2006 ("intltool" ,intltool)
2007 ("xmlto" ,xmlto)
2008 ("docbook-xml" ,docbook-xml-4.1.2)
2009 ("docbook-xsl" ,docbook-xsl)
2010 ("libxml2" ,libxml2)))
2011 (home-page "https://github.com/zdohnal/system-config-printer")
2012 (synopsis "CUPS administration tool")
2013 (description
2014 "system-config-printer is a CUPS administration tool. It's written in
2015 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2016 configuring CUPS.")
2017 (license license:gpl2+)))
2018
2019 (define-public hicolor-icon-theme
2020 (package
2021 (name "hicolor-icon-theme")
2022 (version "0.17")
2023 (source
2024 (origin
2025 (method url-fetch)
2026 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2027 "hicolor-icon-theme-" version ".tar.xz"))
2028 (sha256
2029 (base32
2030 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2031 (build-system gnu-build-system)
2032 (arguments
2033 `(#:tests? #f)) ; no check target
2034 (home-page "https://icon-theme.freedesktop.org/releases/")
2035 (synopsis
2036 "Freedesktop icon theme")
2037 (description
2038 "Freedesktop icon theme.")
2039 (license license:gpl2)))
2040
2041 (define-public libnotify
2042 (package
2043 (name "libnotify")
2044 (version "0.7.7")
2045 (source
2046 (origin
2047 (method url-fetch)
2048 (uri (string-append "mirror://gnome/sources/" name "/"
2049 (version-major+minor version) "/"
2050 name "-" version ".tar.xz"))
2051 (sha256
2052 (base32
2053 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2054 (build-system gnu-build-system)
2055 (arguments
2056 `(#:configure-flags '("--disable-static")))
2057 (propagated-inputs
2058 `(;; In Requires of libnotify.pc.
2059 ("gdk-pixbuf" ,gdk-pixbuf)
2060 ("glib" ,glib)))
2061 (inputs
2062 `(("gtk+" ,gtk+)
2063 ("libpng" ,libpng)))
2064 (native-inputs
2065 `(("pkg-config" ,pkg-config)
2066 ("glib" ,glib "bin")
2067 ("gobject-introspection" ,gobject-introspection)))
2068 (home-page "https://developer-next.gnome.org/libnotify/")
2069 (synopsis
2070 "GNOME desktop notification library")
2071 (description
2072 "Libnotify is a library that sends desktop notifications to a
2073 notification daemon, as defined in the Desktop Notifications spec. These
2074 notifications can be used to inform the user about an event or display
2075 some form of information without getting in the user's way.")
2076 (license license:lgpl2.1+)))
2077
2078 (define-public libpeas
2079 (package
2080 (name "libpeas")
2081 (version "1.24.1")
2082 (source
2083 (origin
2084 (method url-fetch)
2085 (uri (string-append "mirror://gnome/sources/" name "/"
2086 (version-major+minor version) "/"
2087 name "-" version ".tar.xz"))
2088 (sha256
2089 (base32
2090 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2091 (build-system meson-build-system)
2092 (arguments
2093 '(#:phases
2094 (modify-phases %standard-phases
2095 (add-before 'check 'start-xserver
2096 (lambda* (#:key inputs #:allow-other-keys)
2097 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2098 (disp ":1"))
2099 (setenv "DISPLAY" disp)
2100 ;; Tests require a running X server.
2101 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2102 #t))))))
2103 (inputs
2104 `(("gtk+" ,gtk+)
2105 ("glade" ,glade3)
2106 ("python" ,python)
2107 ("python-pygobject" ,python-pygobject)))
2108 (native-inputs
2109 `(("pkg-config" ,pkg-config)
2110 ("gettext" ,gettext-minimal)
2111 ("glib:bin" ,glib "bin")
2112 ("gobject-introspection" ,gobject-introspection)
2113 ("xorg-server" ,xorg-server-for-tests)))
2114 (propagated-inputs
2115 ;; The .pc file "Requires" gobject-introspection.
2116 `(("gobject-introspection" ,gobject-introspection)))
2117 (home-page "https://wiki.gnome.org/Libpeas")
2118 (synopsis "GObject plugin system")
2119 (description
2120 "Libpeas is a gobject-based plugin engine, targeted at giving every
2121 application the chance to assume its own extensibility. It also has a set of
2122 features including, but not limited to: multiple extension points; on-demand
2123 (lazy) programming language support for C, Python and JS; simplicity of the
2124 API.")
2125 (license license:lgpl2.0+)))
2126
2127 (define-public gtkglext
2128 (package
2129 (name "gtkglext")
2130 (version "1.2.0")
2131 (source (origin
2132 (method url-fetch)
2133 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2134 version "/gtkglext-" version ".tar.gz"))
2135 (sha256
2136 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2137 (patches (search-patches
2138 "gtkglext-disable-disable-deprecated.patch"))))
2139 (build-system gnu-build-system)
2140 (arguments
2141 `(#:phases
2142 (modify-phases %standard-phases
2143 ;; Fix a collision between a local variable and a definition from
2144 ;; glibc's string.h.
2145 (add-after 'unpack 'fix-collision
2146 (lambda _
2147 (substitute* "gdk/gdkglshapes.c"
2148 ((" index") " triangle_index"))
2149 #t)))))
2150 (inputs `(("gtk+" ,gtk+-2)
2151 ("mesa" ,mesa)
2152 ("glu" ,glu)
2153 ("libx11" ,libx11)
2154 ("libxt" ,libxt)))
2155 (native-inputs `(("pkg-config" ,pkg-config)
2156 ("glib" ,glib "bin")))
2157 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2158 (home-page "https://projects.gnome.org/gtkglext")
2159 (synopsis "OpenGL extension to GTK+")
2160 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2161 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2162 API add-ons to make GTK+ widgets OpenGL-capable.")
2163 (license license:lgpl2.1+)))
2164
2165 (define-public glade3
2166 (package
2167 (name "glade")
2168 (version "3.36.0")
2169 (source (origin
2170 (method url-fetch)
2171 (uri (string-append "mirror://gnome/sources/" name "/"
2172 (version-major+minor version) "/"
2173 name "-" version ".tar.xz"))
2174 (sha256
2175 (base32
2176 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
2177 (build-system glib-or-gtk-build-system)
2178 (arguments
2179 `(#:phases
2180 (modify-phases %standard-phases
2181 (add-before 'configure 'fix-docbook
2182 (lambda* (#:key inputs #:allow-other-keys)
2183 (substitute* "man/Makefile.in"
2184 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2185 (string-append (assoc-ref inputs "docbook-xsl")
2186 "/xml/xsl/docbook-xsl-"
2187 ,(package-version docbook-xsl)
2188 "/manpages/docbook.xsl")))
2189 #t))
2190 (add-before 'check 'pre-check
2191 (lambda _
2192 (setenv "HOME" "/tmp")
2193 ;; Tests require a running X server.
2194 (system "Xvfb :1 &")
2195 (setenv "DISPLAY" ":1")
2196 #t)))))
2197 (inputs
2198 `(("gtk+" ,gtk+)
2199 ("libxml2" ,libxml2)))
2200 (native-inputs
2201 `(("hicolor-icon-theme" ,hicolor-icon-theme)
2202 ("intltool" ,intltool)
2203 ("itstool" ,itstool)
2204 ("libxslt" ,libxslt) ;for xsltproc
2205 ("docbook-xml" ,docbook-xml-4.2)
2206 ("docbook-xsl" ,docbook-xsl)
2207 ("python" ,python-2)
2208 ("pkg-config" ,pkg-config)
2209 ("xorg-server" ,xorg-server-for-tests)))
2210 (home-page "https://glade.gnome.org")
2211 (synopsis "GTK+ rapid application development tool")
2212 (description "Glade is a rapid application development (RAD) tool to
2213 enable quick & easy development of user interfaces for the GTK+ toolkit and
2214 the GNOME desktop environment.")
2215 (license license:lgpl2.0+)))
2216
2217 (define-public libcroco
2218 (package
2219 (name "libcroco")
2220 (version "0.6.13")
2221 (source (origin
2222 (method url-fetch)
2223 (uri (string-append "mirror://gnome/sources/" name "/"
2224 (version-major+minor version) "/"
2225 name "-" version ".tar.xz"))
2226 (sha256
2227 (base32
2228 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2229 (build-system gnu-build-system)
2230 (native-inputs
2231 `(("pkg-config" ,pkg-config)))
2232 (inputs
2233 `(("glib" ,glib)
2234 ("libxml2" ,libxml2)
2235 ("zlib" ,zlib)))
2236 (home-page "https://github.com/GNOME/libcroco")
2237 (synopsis "CSS2 parsing and manipulation library")
2238 (description
2239 "Libcroco is a standalone CSS2 parsing and manipulation library.
2240 The parser provides a low level event driven SAC-like API and a CSS object
2241 model like API. Libcroco provides a CSS2 selection engine and an experimental
2242 XML/CSS rendering engine.")
2243
2244 ;; LGPLv2.1-only.
2245 (license license:lgpl2.1)))
2246
2247 (define-public libgsf
2248 (package
2249 (name "libgsf")
2250 (version "1.14.47")
2251 (source (origin
2252 (method url-fetch)
2253 (uri (string-append "mirror://gnome/sources/" name "/"
2254 (version-major+minor version) "/"
2255 name "-" version ".tar.xz"))
2256 (sha256
2257 (base32
2258 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2259 (build-system gnu-build-system)
2260 (arguments
2261 '(#:configure-flags '("--disable-static")))
2262 (native-inputs
2263 `(("pkg-config" ,pkg-config)
2264 ("gettext" ,gettext-minimal)
2265
2266 ;; For tests.
2267 ("perl" ,perl)
2268 ("perl-xml-parser" ,perl-xml-parser)))
2269 (inputs
2270 `(("zlib" ,zlib)
2271 ("bzip2" ,bzip2)))
2272 (propagated-inputs
2273 `(("gdk-pixbuf" ,gdk-pixbuf)
2274 ("glib" ,glib)
2275 ("libxml2" ,libxml2)))
2276 (home-page "https://www.gnome.org/projects/libgsf")
2277 (synopsis "GNOME's Structured File Library")
2278 (description
2279 "Libgsf aims to provide an efficient extensible I/O abstraction for
2280 dealing with different structured file formats.")
2281
2282 ;; LGPLv2.1-only.
2283 (license license:lgpl2.1)))
2284
2285 (define-public librsvg
2286 (package
2287 (name "librsvg")
2288 (version "2.40.21")
2289 (source (origin
2290 (method url-fetch)
2291 (uri (string-append "mirror://gnome/sources/" name "/"
2292 (version-major+minor version) "/"
2293 name "-" version ".tar.xz"))
2294 (sha256
2295 (base32
2296 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2297 (build-system gnu-build-system)
2298 (arguments
2299 `(#:configure-flags
2300 (list "--disable-static"
2301 "--enable-vala") ; needed for e.g. gnome-mines
2302 #:phases
2303 (modify-phases %standard-phases
2304 (add-before 'configure 'pre-configure
2305 (lambda* (#:key inputs #:allow-other-keys)
2306 (substitute* "gdk-pixbuf-loader/Makefile.in"
2307 ;; By default the gdk-pixbuf loader is installed under
2308 ;; gdk-pixbuf's prefix. Work around that.
2309 (("gdk_pixbuf_moduledir = .*$")
2310 (string-append "gdk_pixbuf_moduledir = "
2311 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2312 "loaders\n"))
2313 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2314 (("gdk_pixbuf_cache_file = .*$")
2315 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2316 #t))
2317 (add-before 'check 'remove-failing-tests
2318 (lambda _
2319 (with-directory-excursion "tests/fixtures/reftests"
2320 (for-each delete-file
2321 '(;; This test fails on i686:
2322 "svg1.1/masking-path-04-b.svg"
2323 ;; This test fails on armhf:
2324 "svg1.1/masking-mask-01-b.svg"
2325 ;; This test fails on aarch64:
2326 "bugs/777834-empty-text-children.svg")))
2327 #t)))))
2328 (native-inputs
2329 `(("pkg-config" ,pkg-config)
2330 ("vala" ,vala)
2331 ("glib" ,glib "bin") ; glib-mkenums, etc.
2332 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2333 (inputs
2334 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2335 ;; this ancient version of librsvg.
2336 ("pango" ,pango-1.42)
2337 ("libcroco" ,libcroco)
2338 ("bzip2" ,bzip2)
2339 ("libgsf" ,libgsf)
2340 ("libxml2" ,libxml2)))
2341 (propagated-inputs
2342 ;; librsvg-2.0.pc refers to all of that.
2343 `(("cairo" ,cairo)
2344 ("gdk-pixbuf" ,gdk-pixbuf)
2345 ("glib" ,glib)))
2346 (home-page "https://wiki.gnome.org/LibRsvg")
2347 (synopsis "Render SVG files using Cairo")
2348 (description
2349 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2350 library.")
2351 (license license:lgpl2.0+)))
2352
2353 (define-public librsvg-next
2354 (package
2355 (inherit librsvg)
2356 (name "librsvg")
2357 (version "2.48.8")
2358 (source (origin
2359 (method url-fetch)
2360 (uri (string-append "mirror://gnome/sources/librsvg/"
2361 (version-major+minor version) "/"
2362 "librsvg-" version ".tar.xz"))
2363 (sha256
2364 (base32
2365 "14i6xzghcidv64cyd3g0wdjbl82rph737yxn9s3x29nzpcjs707l"))
2366 (modules '((guix build utils)))
2367 (snippet
2368 '(begin (delete-file-recursively "vendor")
2369 #t))))
2370 (build-system cargo-build-system)
2371 (arguments
2372 `(#:modules ((guix build cargo-build-system)
2373 (guix build utils)
2374 ((guix build gnu-build-system) #:prefix gnu:))
2375 #:vendor-dir "vendor"
2376 #:cargo-inputs
2377 (("rust-bitflags" ,rust-bitflags-1)
2378 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
2379 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2380 ("rust-cast" ,rust-cast-0.2)
2381 ("rust-cssparser" ,rust-cssparser-0.27)
2382 ("rust-data-url" ,rust-data-url-0.1)
2383 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2384 ("rust-encoding" ,rust-encoding-0.2)
2385 ("rust-float-cmp" ,rust-float-cmp-0.6)
2386 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
2387 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2388 ("rust-gio" ,rust-gio-0.8)
2389 ("rust-gio-sys" ,rust-gio-sys-0.9)
2390 ("rust-glib" ,rust-glib-0.9)
2391 ("rust-glib-sys" ,rust-glib-sys-0.9)
2392 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2393 ("rust-itertools" ,rust-itertools-0.8)
2394 ("rust-language-tags" ,rust-language-tags-0.2)
2395 ("rust-libc" ,rust-libc-0.2)
2396 ("rust-locale-config" ,rust-locale-config-0.3)
2397 ("rust-markup5ever" ,rust-markup5ever-0.10)
2398 ("rust-nalgebra" ,rust-nalgebra-0.19)
2399 ("rust-num-traits" ,rust-num-traits-0.2)
2400 ("rust-once-cell" ,rust-once-cell-1.2)
2401 ("rust-pkg-config" ,rust-pkg-config-0.3)
2402 ("rust-pango" ,rust-pango-0.8)
2403 ("rust-pango-sys" ,rust-pango-sys-0.9)
2404 ("rust-pangocairo" ,rust-pangocairo-0.9)
2405 ("rust-rayon" ,rust-rayon-1)
2406 ("rust-rctree" ,rust-rctree-0.3)
2407 ("rust-rgb" ,rust-rgb-0.8)
2408 ("rust-regex" ,rust-regex-1)
2409 ("rust-selectors" ,rust-selectors-0.22)
2410 ("rust-url" ,rust-url-2.1)
2411 ("rust-xml5ever" ,rust-xml5ever-0.16))
2412 #:cargo-development-inputs
2413 (("rust-cairo-rs" ,rust-cairo-rs-0.8)
2414 ("rust-criterion" ,rust-criterion-0.3))
2415 #:phases
2416 (modify-phases %standard-phases
2417 (add-after 'unpack 'prepare-for-build
2418 (lambda _
2419 ;; In lieu of #:make-flags
2420 (setenv "CC" ,(cc-for-target))
2421 ;; Something about the build environment resists building
2422 ;; successfully with the '--locked' flag.
2423 (substitute* '("Makefile.am"
2424 "Makefile.in")
2425 (("--locked") ""))
2426 #t))
2427 (add-before 'configure 'pre-configure
2428 (lambda _
2429 (substitute* "gdk-pixbuf-loader/Makefile.in"
2430 ;; By default the gdk-pixbuf loader is installed under
2431 ;; gdk-pixbuf's prefix. Work around that.
2432 (("gdk_pixbuf_moduledir = .*$")
2433 (string-append "gdk_pixbuf_moduledir = "
2434 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2435 "loaders\n"))
2436 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2437 (("gdk_pixbuf_cache_file = .*$")
2438 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2439 #t))
2440 (add-after 'configure 'gnu-configure
2441 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
2442 ((assoc-ref gnu:%standard-phases 'configure)
2443 #:native-inputs native-inputs
2444 #:inputs inputs
2445 #:outputs outputs
2446 #:configure-flags (list "--disable-static"
2447 "--enable-vala"))))
2448 (add-after 'configure 'dont-vendor-self
2449 (lambda* (#:key vendor-dir #:allow-other-keys)
2450 ;; Don't keep the whole tarball in the vendor directory
2451 (delete-file-recursively
2452 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2453 #t))
2454 (replace 'build
2455 (assoc-ref gnu:%standard-phases 'build))
2456 (replace 'check
2457 (lambda* args
2458 ((assoc-ref gnu:%standard-phases 'check)
2459 #:test-target "check")))
2460 (replace 'install
2461 (assoc-ref gnu:%standard-phases 'install)))))
2462 (inputs
2463 `(("pango" ,pango)
2464 ,@(alist-delete "pango" (package-inputs librsvg))))
2465 (license license:lgpl2.1+)))
2466
2467 (define-public libidl
2468 (package
2469 (name "libidl")
2470 (version "0.8.14")
2471 (source (origin
2472 (method url-fetch)
2473 (uri (string-append "mirror://gnome/sources/libIDL/"
2474 (version-major+minor version) "/"
2475 "libIDL-" version ".tar.bz2"))
2476 (sha256
2477 (base32
2478 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2479 (build-system gnu-build-system)
2480 (inputs `(("glib" ,glib)))
2481 (native-inputs
2482 `(("pkg-config" ,pkg-config)
2483 ("flex" ,flex)
2484 ("bison" ,bison)))
2485 (home-page "http://freecode.com/projects/libidl")
2486 (synopsis "Create trees of CORBA Interface Definition Language files")
2487 (description "Libidl is a library for creating trees of CORBA Interface
2488 Definition Language (idl) files, which is a specification for defining
2489 portable interfaces. libidl was initially written for orbit (the orb from the
2490 GNOME project, and the primary means of libidl distribution). However, the
2491 functionality was designed to be as reusable and portable as possible.")
2492 (properties `((upstream-name . "libIDL")))
2493 (license license:lgpl2.0+)))
2494
2495
2496 (define-public orbit2
2497 (package
2498 (name "orbit2")
2499 (version "2.14.19")
2500 (source (origin
2501 (method url-fetch)
2502 (uri (let ((upstream-name "ORBit2"))
2503 (string-append "mirror://gnome/sources/" upstream-name "/"
2504 (version-major+minor version) "/"
2505 upstream-name "-" version ".tar.bz2")))
2506 (sha256
2507 (base32
2508 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2509 (build-system gnu-build-system)
2510 (arguments
2511 `(;; The "timeout-server" test hangs when run in parallel.
2512 #:parallel-tests? #f
2513 #:configure-flags
2514 '(;; We don't need static libraries, plus they don't build reproducibly
2515 ;; (non-deterministic ordering of .o files in the archive.)
2516 "--disable-static"
2517
2518 ;; The programmer kindly gives us a hook to turn off deprecation
2519 ;; warnings ...
2520 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2521 ;; ... which they then completly ignore !!
2522 #:phases
2523 (modify-phases %standard-phases
2524 (add-before 'configure 'ignore-deprecations
2525 (lambda _
2526 (substitute* "linc2/src/Makefile.in"
2527 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2528 #t)))))
2529 (inputs `(("glib" ,glib)
2530 ("libidl" ,libidl)))
2531 (native-inputs
2532 `(("pkg-config" ,pkg-config)))
2533 (home-page "https://projects.gnome.org/orbit2/")
2534 (synopsis "CORBA 2.4-compliant Object Request Broker")
2535 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2536 featuring mature C, C++ and Python bindings.")
2537 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2538 ;; a version. SOME of the code files have licence notices for GPLv2+.
2539 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2540 (license license:gpl2+)
2541 (properties `((upstream-name . "ORBit2")))))
2542
2543
2544 (define-public libbonobo
2545 (package
2546 (name "libbonobo")
2547 (version "2.32.1")
2548 (source (origin
2549 (method url-fetch)
2550 (uri (string-append "mirror://gnome/sources/" name "/"
2551 (version-major+minor version)
2552 "/" name "-" version ".tar.bz2"))
2553 (sha256
2554 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2555 (patches (search-patches
2556 "libbonobo-activation-test-race.patch"))))
2557 (build-system gnu-build-system)
2558 (arguments
2559 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2560 `(#:configure-flags
2561 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2562 ;; ... which they then completly ignore !!
2563 #:phases
2564 (modify-phases %standard-phases
2565 (add-before 'configure 'ignore-deprecations
2566 (lambda _
2567 (substitute* "activation-server/Makefile.in"
2568 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2569 #t)))
2570
2571 ;; There's apparently a race condition between the server stub
2572 ;; generation and linking of the example under 'samples/echo' that can
2573 ;; lead do undefined references when building in parallel, as reported
2574 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2575 ;; Thus, disable parallel builds.
2576 #:parallel-build? #f))
2577 (inputs `(("popt" ,popt)
2578 ("libxml2" ,libxml2)))
2579 ;; The following are Required by the .pc file
2580 (propagated-inputs
2581 `(("glib" ,glib)
2582 ("orbit2" ,orbit2)))
2583 (native-inputs
2584 `(("intltool" ,intltool)
2585 ("pkg-config" ,pkg-config)
2586 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2587 ("flex" ,flex)
2588 ("bison" ,bison)))
2589 (home-page "https://developer.gnome.org/libbonobo/")
2590 (synopsis "Framework for creating reusable components for use in GNOME applications")
2591 (description "Bonobo is a framework for creating reusable components for
2592 use in GNOME applications, built on top of CORBA.")
2593 ;; Licence not explicitly stated. Source files contain no licence notices.
2594 ;; Tarball contains text of both GPLv2 and LGPLv2
2595 ;; GPLv2 covers both conditions
2596 (license license:gpl2+)))
2597
2598
2599 (define-public gconf
2600 (package
2601 (name "gconf")
2602 (version "3.2.6")
2603 (source (origin
2604 (method url-fetch)
2605 (uri
2606 (let ((upstream-name "GConf"))
2607 (string-append "mirror://gnome/sources/" upstream-name "/"
2608 (version-major+minor version) "/"
2609 upstream-name "-" version ".tar.xz")))
2610 (sha256
2611 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2612 (build-system gnu-build-system)
2613 (inputs `(("dbus-glib" ,dbus-glib)
2614 ("libxml2" ,libxml2)))
2615 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2616 ("orbit2" ,orbit2)))
2617 (native-inputs
2618 `(("intltool" ,intltool)
2619 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2620 ("pkg-config" ,pkg-config)))
2621 (home-page "https://projects.gnome.org/gconf/")
2622 (synopsis "Store application preferences")
2623 (description "Gconf is a system for storing application preferences. It
2624 is intended for user preferences; not arbitrary data storage.")
2625 (license license:lgpl2.0+)
2626 (properties '((upstream-name . "GConf")))))
2627
2628
2629 (define-public gnome-mime-data
2630 (package
2631 (name "gnome-mime-data")
2632 (version "2.18.0")
2633 (source (origin
2634 (method url-fetch)
2635 (uri (string-append "mirror://gnome/sources/" name "/"
2636 (version-major+minor version) "/"
2637 name "-" version ".tar.bz2"))
2638 (sha256
2639 (base32
2640 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2641 (build-system gnu-build-system)
2642 (native-inputs
2643 `(("perl" ,perl)
2644 ("intltool" ,intltool)))
2645 (arguments
2646 '(#:phases (modify-phases %standard-phases
2647 (add-after 'configure 'use-our-intltool
2648 (lambda _
2649 ;; Do not use the bundled intltool commands, which lack
2650 ;; the "dotless @INC" fixes of our 'intltool' package.
2651 (substitute* (find-files "." "^Makefile$")
2652 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2653 (string-append "INTLTOOL_" tool " = intltool-"
2654 (string-downcase tool) "\n")))
2655 #t)))))
2656 (home-page "https://www.gnome.org")
2657 (synopsis "Base MIME and Application database for GNOME")
2658 (description "GNOME Mime Data is a module which contains the base MIME
2659 and Application database for GNOME. The data stored by this module is
2660 designed to be accessed through the MIME functions in GnomeVFS.")
2661 (license license:gpl2+)))
2662
2663
2664 (define-public gnome-vfs
2665 (package
2666 (name "gnome-vfs")
2667 (version "2.24.4")
2668 (source (origin
2669 (method url-fetch)
2670 (uri (string-append "mirror://gnome/sources/" name "/"
2671 (version-major+minor version) "/"
2672 name "-" version ".tar.bz2"))
2673 (sha256
2674 (base32
2675 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2676 (build-system gnu-build-system)
2677 (arguments
2678 `(#:phases
2679 (modify-phases %standard-phases
2680 (add-before 'configure 'ignore-deprecations
2681 (lambda _
2682 (substitute* '("libgnomevfs/Makefile.in"
2683 "daemon/Makefile.in")
2684 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2685 #t))
2686 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2687 (lambda _
2688 (substitute* "test/test-async-cancel.c"
2689 (("EXIT_FAILURE") "77"))
2690 #t)))))
2691 (inputs `(("libxml2" ,libxml2)
2692 ("dbus-glib" ,dbus-glib)
2693 ("gconf" ,gconf)
2694 ("gnome-mime-data" ,gnome-mime-data)
2695 ("zlib" ,zlib)))
2696 (native-inputs
2697 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2698 ("intltool" ,intltool)
2699 ("pkg-config" ,pkg-config)))
2700 (home-page "https://developer.gnome.org/gnome-vfs/")
2701 (synopsis "Access files and folders in GNOME applications")
2702 (description
2703 "GnomeVFS is the core library used to access files and folders in GNOME
2704 applications. It provides a file system abstraction which allows applications
2705 to access local and remote files with a single consistent API.")
2706 (license license:lgpl2.0+)))
2707
2708
2709
2710 (define-public libgnome
2711 (package
2712 (name "libgnome")
2713 (version "2.32.1")
2714 (source (origin
2715 (method url-fetch)
2716 (uri (string-append "mirror://gnome/sources/" name "/"
2717 (version-major+minor version) "/"
2718 name "-" version ".tar.bz2"))
2719 (sha256
2720 (base32
2721 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2722 (patches (search-patches "libgnome-encoding.patch"))))
2723 (build-system gnu-build-system)
2724 (arguments
2725 `(#:phases
2726 (modify-phases %standard-phases
2727 (add-before 'configure 'enable-deprecated
2728 (lambda _
2729 (substitute* "libgnome/Makefile.in"
2730 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2731 #t)))))
2732 (inputs `(("libxml2" ,libxml2)))
2733 (native-inputs
2734 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2735 ("intltool" ,intltool)
2736 ("pkg-config" ,pkg-config)))
2737 ;; The following are listed as Required in the .pc file
2738 ;; (except for libcanberra -- which seems to be oversight on the part
2739 ;; of the upstream developers -- anything that links against libgnome,
2740 ;; must also link against libcanberra
2741 (propagated-inputs
2742 `(("libcanberra" ,libcanberra)
2743 ("libbonobo" ,libbonobo)
2744 ("gconf" ,gconf)
2745 ("gnome-vfs" ,gnome-vfs)
2746 ("popt" ,popt))) ;gnome-program.h includes popt.h
2747 (home-page "https://developer.gnome.org/libgnome/")
2748 (synopsis "Useful routines for building applications")
2749 (description "The libgnome library provides a number of useful routines
2750 for building modern applications, including session management, activation of
2751 files and URIs, and displaying help.")
2752 (license license:lgpl2.0+)))
2753
2754
2755 (define-public libart-lgpl
2756 (package
2757 (name "libart-lgpl")
2758 (version "2.3.21")
2759 (source (origin
2760 (method url-fetch)
2761 (uri (let ((upstream-name "libart_lgpl"))
2762 (string-append "mirror://gnome/sources/" upstream-name "/"
2763 (version-major+minor version) "/"
2764 upstream-name "-" version ".tar.bz2")))
2765 (sha256
2766 (base32
2767 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2768 (build-system gnu-build-system)
2769 (native-inputs
2770 `(("pkg-config" ,pkg-config)))
2771 (home-page "https://people.gnome.org/~mathieu/libart")
2772 (synopsis "2D drawing library")
2773 (description "Libart is a 2D drawing library intended as a
2774 high-quality vector-based 2D library with antialiasing and alpha composition.")
2775 (license license:lgpl2.0+)))
2776
2777
2778
2779 (define-public libgnomecanvas
2780 (package
2781 (name "libgnomecanvas")
2782 (version "2.30.3")
2783 (source (origin
2784 (method url-fetch)
2785 (uri (string-append "mirror://gnome/sources/" name "/"
2786 (version-major+minor version) "/"
2787 name "-" version ".tar.gz"))
2788 (sha256
2789 (base32
2790 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2791 (build-system gnu-build-system)
2792 ;; Mentioned as Required in the .pc file
2793 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2794 ("gtk+" ,gtk+-2)))
2795 (native-inputs
2796 `(("intltool" ,intltool)
2797 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2798 ("pkg-config" ,pkg-config)))
2799 (home-page "https://developer.gnome.org/libgnomecanvas/")
2800 (synopsis "Flexible widget for creating interactive structured graphics")
2801 (description "The GnomeCanvas widget provides a flexible widget for
2802 creating interactive structured graphics.")
2803 (license license:lgpl2.0+)))
2804
2805 (define-public libgnomecanvasmm
2806 (package
2807 (name "libgnomecanvasmm")
2808 (version "2.26.0")
2809 (source (origin
2810 (method url-fetch)
2811 (uri (string-append "mirror://gnome/sources/" name "/"
2812 (version-major+minor version) "/"
2813 name "-" version ".tar.bz2"))
2814 (sha256
2815 (base32
2816 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2817 (build-system gnu-build-system)
2818 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2819 (native-inputs
2820 `(("gtkmm-2" ,gtkmm-2)
2821 ("pkg-config" ,pkg-config)))
2822 (home-page "https://gtkmm.org")
2823 (synopsis "C++ bindings to the GNOME Canvas library")
2824 (description "C++ bindings to the GNOME Canvas library.")
2825 (license license:lgpl2.0+)))
2826
2827 (define-public libgnomeui
2828 (package
2829 (name "libgnomeui")
2830 (version "2.24.5")
2831 (source (origin
2832 (method url-fetch)
2833 (uri (string-append "mirror://gnome/sources/" name "/"
2834 (version-major+minor version) "/"
2835 name "-" version ".tar.bz2"))
2836 (patches (search-patches "libgnomeui-utf8.patch"))
2837 (sha256
2838 (base32
2839 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2840 (build-system gnu-build-system)
2841 ;; Mentioned as Required in the .pc file
2842 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2843 ("libgnome" ,libgnome)
2844 ("libgnomecanvas" ,libgnomecanvas)
2845 ("libgnome-keyring" ,libgnome-keyring)))
2846 (inputs `(("libjpeg" ,libjpeg-turbo)
2847 ("popt" ,popt)
2848 ("libbonobo" ,libbonobo)
2849 ("libxml2" ,libxml2)
2850 ("libglade" ,libglade)))
2851 (native-inputs
2852 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2853 ("intltool" ,intltool)
2854 ("pkg-config" ,pkg-config)))
2855 (home-page "https://developer.gnome.org/libgnomeui/")
2856 (synopsis "Additional widgets for applications")
2857 (description "The libgnomeui library provides additional widgets for
2858 applications. Many of the widgets from libgnomeui have already been
2859 ported to GTK+.")
2860 (license license:lgpl2.0+)))
2861
2862 (define-public libglade
2863 (package
2864 (name "libglade")
2865 (version "2.6.4")
2866 (source (origin
2867 (method url-fetch)
2868 (uri (string-append "mirror://gnome/sources/" name "/"
2869 (version-major+minor version) "/"
2870 name "-" version ".tar.bz2"))
2871 (sha256
2872 (base32
2873 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2874 (build-system gnu-build-system)
2875 (inputs
2876 `(("python" ,python))) ;; needed for the optional libglade-convert program
2877 (propagated-inputs
2878 `(("gtk+-2" ,gtk+-2)
2879 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2880 (native-inputs
2881 `(("pkg-config" ,pkg-config)))
2882 (home-page "https://developer.gnome.org/libglade")
2883 (synopsis "Load glade interfaces and access the glade built widgets")
2884 (description "Libglade is a library that provides interfaces for loading
2885 graphical interfaces described in glade files and for accessing the
2886 widgets built in the loading process.")
2887 (license license:gpl2+))) ; This is correct. GPL not LGPL
2888
2889 (define-public libgnomeprint
2890 ;; This library has been deprecated since 2006; see
2891 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2892 (package
2893 (name "libgnomeprint")
2894 (version "2.18.8")
2895 (source (origin
2896 (method url-fetch)
2897 (uri (string-append "mirror://gnome/sources/" name "/"
2898 (version-major+minor version) "/"
2899 name "-" version ".tar.bz2"))
2900 (sha256
2901 (base32
2902 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2903 (build-system gnu-build-system)
2904 (inputs
2905 `(("popt" ,popt)
2906 ("libart-lgpl" ,libart-lgpl)
2907 ("gtk+" ,gtk+-2)
2908 ("libxml2" ,libxml2)))
2909 (native-inputs
2910 `(("intltool" ,intltool)
2911 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2912 ("pkg-config" ,pkg-config)))
2913 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2914 (synopsis "Printing framework for GNOME")
2915 (description
2916 "GNOME-print was a printing framework for GNOME. It has been deprecated
2917 since ca. 2006, when GTK+ itself incorporated printing support.")
2918 (license license:lgpl2.0+)))
2919
2920
2921 (define-public libgnomeprintui
2922 ;; Deprecated; see libgnomeprint.
2923 (package
2924 (name "libgnomeprintui")
2925 (version "2.18.6")
2926 (source (origin
2927 (method url-fetch)
2928 (uri (string-append "mirror://gnome/sources/" name "/"
2929 (version-major+minor version) "/"
2930 name "-" version ".tar.bz2"))
2931 (sha256
2932 (base32
2933 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2934 (build-system gnu-build-system)
2935 ;; Mentioned as Required in the .pc file
2936 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2937 (inputs `(("gtk+" ,gtk+-2)
2938 ("glib" ,glib)
2939 ("gnome-icon-theme" ,gnome-icon-theme)
2940 ("libgnomecanvas" ,libgnomecanvas)
2941 ("libxml2" ,libxml2)))
2942 (native-inputs
2943 `(("intltool" ,intltool)
2944 ("pkg-config" ,pkg-config)))
2945 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2946 (synopsis "Printing framework for GNOME")
2947 (description (package-description libgnomeprint))
2948 (license license:lgpl2.0+)))
2949
2950 (define-public libbonoboui
2951 (package
2952 (name "libbonoboui")
2953 (version "2.24.5")
2954 (source (origin
2955 (method url-fetch)
2956 (uri (string-append "mirror://gnome/sources/" name "/"
2957 (version-major+minor version) "/"
2958 name "-" version ".tar.bz2"))
2959 (sha256
2960 (base32
2961 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2962 (build-system gnu-build-system)
2963 (arguments
2964 `(#:phases
2965 (modify-phases %standard-phases
2966 (add-before 'check 'start-xserver
2967 (lambda* (#:key inputs #:allow-other-keys)
2968 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2969 (disp ":1"))
2970
2971 (setenv "HOME" (getcwd))
2972 (setenv "DISPLAY" disp)
2973 ;; There must be a running X server and make check doesn't start one.
2974 ;; Therefore we must do it.
2975 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2976 ;; Mentioned as Required by the .pc file
2977 (propagated-inputs `(("libxml2" ,libxml2)))
2978 (inputs
2979 `(("popt" ,popt)
2980 ("pangox-compat" ,pangox-compat)
2981 ("libgnome" ,libgnome)
2982 ("libgnomecanvas" ,libgnomecanvas)
2983 ("libglade" ,libglade)))
2984 (native-inputs
2985 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2986 ("intltool" ,intltool)
2987 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2988 ("pkg-config" ,pkg-config)))
2989 (home-page "https://developer.gnome.org/libbonoboui/")
2990 (synopsis "Some user interface controls using Bonobo")
2991 (description "The Bonobo UI library provides a number of user interface
2992 controls using the Bonobo component framework.")
2993 (license license:lgpl2.0+)))
2994
2995 (define-public libwnck
2996 (package
2997 (name "libwnck")
2998 (version "3.32.0")
2999 (source (origin
3000 (method url-fetch)
3001 (uri (string-append "mirror://gnome/sources/" name "/"
3002 (version-major+minor version) "/"
3003 name "-" version ".tar.xz"))
3004 (sha256
3005 (base32
3006 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3007 (build-system meson-build-system)
3008 (native-inputs
3009 `(("pkg-config" ,pkg-config)
3010 ("glib" ,glib "bin") ; for glib-mkenums
3011 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
3012 ("intltool" ,intltool)))
3013 (propagated-inputs
3014 `(("gtk+" ,gtk+)
3015 ("libxres" ,libxres)
3016 ("startup-notification" ,startup-notification)))
3017 (home-page "https://developer.gnome.org/libwnck/")
3018 (synopsis "Window Navigator Construction Kit")
3019 (description
3020 "Libwnck is the Window Navigator Construction Kit, a library for use in
3021 writing pagers, tasklists, and more generally applications that are dealing
3022 with window management. It tries hard to respect the Extended Window Manager
3023 Hints specification (EWMH).")
3024 (license license:lgpl2.0+)))
3025
3026 ;; stable version for gtk2, required by xfwm4.
3027 (define-public libwnck-2
3028 (package (inherit libwnck)
3029 (name "libwnck")
3030 (version "2.30.7")
3031 (source (origin
3032 (method url-fetch)
3033 (uri (string-append "mirror://gnome/sources/" name "/"
3034 (version-major+minor version) "/"
3035 name "-" version ".tar.xz"))
3036 (sha256
3037 (base32
3038 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
3039 (build-system gnu-build-system)
3040 (native-inputs
3041 `(("pkg-config" ,pkg-config)
3042 ("intltool" ,intltool)))
3043 (propagated-inputs
3044 `(("gtk+" ,gtk+-2)
3045 ("libxres" ,libxres)
3046 ("startup-notification" ,startup-notification)))))
3047
3048 (define-public goffice
3049 (package
3050 (name "goffice")
3051 (version "0.10.47")
3052 (source (origin
3053 (method url-fetch)
3054 (uri (string-append "mirror://gnome/sources/goffice/"
3055 (version-major+minor version) "/"
3056 "goffice-" version ".tar.xz"))
3057 (sha256
3058 (base32 "0xmigfdzvmlpa0fw79mf3xwchmxc8rlidryn5syv8bz7msmrb215"))))
3059 (build-system gnu-build-system)
3060 (outputs '("out"
3061 "doc")) ; 4.0 MiB of gtk-doc
3062 (arguments
3063 '(#:configure-flags (list (string-append "--with-html-dir="
3064 (assoc-ref %outputs "doc")
3065 "/share/gtk-doc/html"))))
3066 (inputs
3067 `(("gtk+" ,gtk+)
3068 ("libgsf" ,libgsf)
3069 ("librsvg" ,librsvg)
3070 ("libxslt" ,libxslt)
3071 ("libxml2" ,libxml2)))
3072 (native-inputs
3073 `(("intltool" ,intltool)
3074 ("glib" ,glib "bin")
3075 ("pkg-config" ,pkg-config)))
3076 (home-page "https://developer.gnome.org/goffice/")
3077 (synopsis "Document-centric objects and utilities")
3078 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3079 (license
3080 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3081 ;; Note: NOT LGPL
3082 (list license:gpl2 license:gpl3))))
3083
3084 (define-public goffice-0.8
3085 (package (inherit goffice)
3086 (version "0.8.17")
3087 (source (origin
3088 (method url-fetch)
3089 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3090 (version-major+minor version) "/"
3091 (package-name goffice) "-" version ".tar.xz"))
3092 (sha256
3093 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3094 (arguments
3095 `(#:phases
3096 (modify-phases %standard-phases
3097 (add-after 'unpack 'fix-pcre-check
3098 (lambda _
3099 ;; Only glib.h can be included directly. See
3100 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3101 (substitute* "configure"
3102 (("glib/gregex\\.h") "glib.h")) #t)))
3103
3104 ,@(package-arguments goffice)))
3105 (propagated-inputs
3106 ;; libgoffice-0.8.pc mentions libgsf-1
3107 `(("libgsf" ,libgsf)))
3108 (inputs
3109 `(("gtk" ,gtk+-2)
3110 ,@(alist-delete "gtk" (package-inputs goffice))))))
3111
3112 (define-public gnumeric
3113 (package
3114 (name "gnumeric")
3115 (version "1.12.46")
3116 (source (origin
3117 (method url-fetch)
3118 (uri (string-append "mirror://gnome/sources/gnumeric/"
3119 (version-major+minor version) "/"
3120 "gnumeric-" version ".tar.xz"))
3121 (sha256
3122 (base32
3123 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3124 (build-system glib-or-gtk-build-system)
3125 (arguments
3126 `(;; The gnumeric developers don't worry much about failing tests.
3127 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3128 #:tests? #f
3129 #:phases
3130 (modify-phases %standard-phases
3131 (add-before
3132 'configure 'pre-conf
3133 (lambda* (#:key outputs #:allow-other-keys)
3134 ;; Make install tries to write into the directory of goffice
3135 ;; I am informed that this only affects the possibility to embed a
3136 ;; spreadsheet inside an Abiword document. So presumably when we
3137 ;; package Abiword we'll have to refer it to this directory.
3138 (substitute* "configure"
3139 (("^GOFFICE_PLUGINS_DIR=.*")
3140 (string-append "GOFFICE_PLUGINS_DIR="
3141 (assoc-ref outputs "out")
3142 "/goffice/plugins"))))))))
3143 (inputs
3144 `(("glib" ,glib)
3145 ("gtk+" ,gtk+)
3146 ("goffice" ,goffice)
3147 ("libgsf" ,libgsf)
3148 ("librsvg" ,librsvg)
3149 ("libxml2" ,libxml2)
3150 ("libxslt" ,libxslt)
3151 ("python" ,python-2)
3152 ("python2-pygobject" ,python2-pygobject)
3153 ("zlib" ,zlib)))
3154 (native-inputs
3155 `(("bison" ,bison)
3156 ("docbook-xml" ,docbook-xml)
3157 ("intltool" ,intltool)
3158 ("itstool" ,itstool)
3159 ("glib:bin" ,glib "bin")
3160 ("pkg-config" ,pkg-config)))
3161 (home-page "http://www.gnumeric.org")
3162 (synopsis "Spreadsheet application")
3163 (description
3164 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3165 interoperable with other spreadsheet applications. It has a vast array of
3166 features beyond typical spreadsheet functionality, such as support for linear
3167 and non-linear solvers, statistical analysis, and telecommunication
3168 engineering.")
3169 (license
3170 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3171 (list license:gpl2 license:gpl3))))
3172
3173 (define-public gnome-themes-standard
3174 (package
3175 (name "gnome-themes-standard")
3176 (version "3.22.3")
3177 (source
3178 (origin
3179 (method url-fetch)
3180 (uri (string-append "mirror://gnome/sources/" name "/"
3181 (version-major+minor version) "/" name "-"
3182 version ".tar.xz"))
3183 (sha256
3184 (base32
3185 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3186 (build-system gnu-build-system)
3187 (arguments
3188 '(#:configure-flags
3189 ;; Don't create 'icon-theme.cache'.
3190 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3191 (true (string-append coreutils "/bin/true")))
3192 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3193 (inputs
3194 `(("gtk+" ,gtk+)
3195 ("gtk+-2" ,gtk+-2)
3196 ("librsvg" ,librsvg)
3197 ("libxml2" ,libxml2)
3198 ("glib" ,glib)))
3199 (native-inputs
3200 `(("intltool" ,intltool)
3201 ("glib:bin" ,glib "bin")
3202 ("pkg-config" ,pkg-config)))
3203 (home-page "https://launchpad.net/gnome-themes-standard")
3204 (synopsis "Default GNOME 3 themes")
3205 (description
3206 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3207 (license license:lgpl2.1+)))
3208
3209 (define-public seahorse
3210 (package
3211 (name "seahorse")
3212 (version "3.34")
3213 (source
3214 (origin
3215 (method url-fetch)
3216 (uri (string-append "mirror://gnome/sources/" name "/"
3217 (version-major+minor version) "/" name "-"
3218 version ".tar.xz"))
3219 (sha256
3220 (base32
3221 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3222 (build-system meson-build-system)
3223 (arguments
3224 '(#:glib-or-gtk? #t
3225 #:phases
3226 (modify-phases %standard-phases
3227 (add-after 'unpack 'skip-gtk-update-icon-cache
3228 ;; Don't create 'icon-theme.cache'.
3229 (lambda _
3230 (substitute* "build-aux/meson_post_install.py"
3231 (("gtk-update-icon-cache") "true"))
3232 #t)))))
3233 (inputs
3234 `(("gtk+" ,gtk+)
3235 ("gcr" ,gcr)
3236 ("gnupg" ,gnupg)
3237 ("gpgme" ,gpgme)
3238 ("openldap" ,openldap)
3239 ("openssh" ,openssh)
3240 ("avahi" ,avahi)
3241 ("libpwquality" ,libpwquality)
3242 ("libsecret" ,libsecret)
3243 ("libsoup" ,libsoup)))
3244 (native-inputs
3245 `(("gettext" ,gettext-minimal)
3246 ("glib:bin" ,glib "bin")
3247 ("itstool" ,itstool)
3248 ("pkg-config" ,pkg-config)
3249 ("vala" ,vala)
3250 ("xmllint" ,libxml2)))
3251 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3252 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3253 (description
3254 "Seahorse is a GNOME application for managing encryption keys and
3255 passwords in the GNOME keyring.")
3256 (license license:gpl2+)))
3257
3258 (define-public vala
3259 (package
3260 (name "vala")
3261 (version "0.46.5")
3262 (source (origin
3263 (method url-fetch)
3264 (uri (string-append "mirror://gnome/sources/" name "/"
3265 (version-major+minor version) "/"
3266 name "-" version ".tar.xz"))
3267 (sha256
3268 (base32
3269 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
3270 (build-system gnu-build-system)
3271 (arguments
3272 '(#:phases
3273 (modify-phases %standard-phases
3274 (add-before 'check 'pre-check
3275 (lambda _
3276 (setenv "CC" "gcc")
3277 (substitute* "valadoc/tests/testrunner.sh"
3278 (("export PKG_CONFIG_PATH=" m)
3279 (string-append m "$PKG_CONFIG_PATH:")))
3280 ;; For missing '/etc/machine-id'.
3281 (setenv "DBUS_FATAL_WARNINGS" "0")
3282 #t)))))
3283 (native-inputs
3284 `(("pkg-config" ,pkg-config)
3285 ("flex" ,flex)
3286 ("bison" ,bison)
3287 ("xsltproc" ,libxslt)
3288 ("dbus" ,dbus) ; for dbus tests
3289 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3290 (inputs
3291 `(("graphviz" ,graphviz)))
3292 (propagated-inputs
3293 `(("glib" ,glib))) ; required by libvala-0.40.pc
3294 (home-page "https://live.gnome.org/Vala/")
3295 (synopsis "Compiler for the GObject type system")
3296 (description
3297 "Vala is a programming language that aims to bring modern programming
3298 language features to GNOME developers without imposing any additional runtime
3299 requirements and without using a different ABI compared to applications and
3300 libraries written in C.")
3301 (license license:lgpl2.1+)))
3302
3303 (define-public vala-0.48
3304 (package
3305 (inherit vala)
3306 (version "0.48.7")
3307 (source (origin
3308 (method url-fetch)
3309 (uri (string-append "mirror://gnome/sources/vala/"
3310 (version-major+minor version) "/"
3311 "vala-" version ".tar.xz"))
3312 (sha256
3313 (base32
3314 "0lswkb7gj0chas9n3l3dbrm9l71hs77adhvm2v600id2ipi37pi8"))))))
3315
3316 (define-public vte
3317 (package
3318 (name "vte")
3319 (version "0.60.3")
3320 (source (origin
3321 (method url-fetch)
3322 (uri (string-append "mirror://gnome/sources/vte/"
3323 (version-major+minor version) "/"
3324 "vte-" version ".tar.xz"))
3325 (sha256
3326 (base32
3327 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
3328 (build-system meson-build-system)
3329 (arguments
3330 `(#:configure-flags
3331 '("-Dvapi=true"
3332 "-D_systemd=false")))
3333 (native-inputs
3334 `(("pkg-config" ,pkg-config)
3335 ("gettext" ,gettext-minimal)
3336 ("vala" ,vala)
3337 ("gobject-introspection" ,gobject-introspection)
3338 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3339 ("gperf" ,gperf)
3340 ("xmllint" ,libxml2)))
3341 (propagated-inputs
3342 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3343 ("gnutls" ,gnutls) ; ditto
3344 ("pcre2" ,pcre2))) ; ditto
3345 (home-page "https://www.gnome.org/")
3346 (synopsis "Virtual Terminal Emulator")
3347 (description
3348 "VTE is a library (libvte) implementing a terminal emulator widget for
3349 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3350 gnome-terminal, but can also be used to embed a console/terminal in games,
3351 editors, IDEs, etc.")
3352 (license license:lgpl2.1+)))
3353
3354 (define-public vte-ng
3355 (package
3356 (inherit vte)
3357 (name "vte-ng")
3358 (version "0.58.2.a")
3359 (home-page "https://github.com/thestinger/vte-ng")
3360 (source (origin
3361 (method git-fetch)
3362 (uri (git-reference (url home-page) (commit version)))
3363 (file-name (git-file-name name version))
3364 (sha256
3365 (base32
3366 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3367 (build-system meson-build-system)
3368 (native-inputs
3369 `(("gtk-doc" ,gtk-doc)
3370 ,@(package-native-inputs vte)))
3371 (arguments
3372 `(#:configure-flags '("-Ddocs=true")))
3373 (synopsis "Enhanced VTE terminal widget")
3374 (description
3375 "VTE is a library (libvte) implementing a terminal emulator widget for
3376 GTK+, this fork provides additional functions exposed for keyboard text
3377 selection and URL hints.")))
3378
3379 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
3380 (define-public vte/gtk+-2
3381 (package (inherit vte)
3382 (name "vte")
3383 (version "0.28.2")
3384 (source (origin
3385 (method url-fetch)
3386 (uri (string-append "mirror://gnome/sources/" name "/"
3387 (version-major+minor version) "/"
3388 name "-" version ".tar.xz"))
3389 (sha256
3390 (base32
3391 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3392 (patches (search-patches
3393 "vte-CVE-2012-2738-pt1.patch"
3394 "vte-CVE-2012-2738-pt2.patch"))))
3395 (build-system gnu-build-system)
3396 (arguments
3397 '(#:configure-flags '("--disable-python")))
3398 (native-inputs
3399 `(("pkg-config" ,pkg-config)
3400 ("intltool" ,intltool)
3401 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3402 (propagated-inputs
3403 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3404 ("ncurses" ,ncurses))))) ; required by libvte.la
3405
3406 (define-public vinagre
3407 (package
3408 (name "vinagre")
3409 (version "3.22.0")
3410 (source (origin
3411 (method url-fetch)
3412 (uri (string-append "mirror://gnome/sources/" name "/"
3413 (version-major+minor version) "/"
3414 name "-" version ".tar.xz"))
3415 (patches (search-patches "vinagre-newer-freerdp.patch"
3416 "vinagre-newer-rdp-parameters.patch"))
3417 (sha256
3418 (base32
3419 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3420 (build-system glib-or-gtk-build-system)
3421 (arguments
3422 ;; Disable -Werror and such, to avoid build failures on compilation
3423 ;; warnings.
3424 '(#:configure-flags '("--enable-compile-warnings=minimum")
3425 #:phases
3426 (modify-phases %standard-phases
3427 (add-before 'install 'skip-gtk-update-icon-cache
3428 (lambda _
3429 ;; Don't create 'icon-theme.cache'
3430 (substitute* (find-files "." "^Makefile$")
3431 (("gtk-update-icon-cache") (which "true")))
3432 #t))
3433 (add-after 'unpack 'patch-configure
3434 (lambda _
3435 (substitute* "configure"
3436 (("freerdp") "freerdp2"))
3437 #t)))))
3438 (native-inputs
3439 `(("pkg-config" ,pkg-config)
3440 ("intltool" ,intltool)
3441 ("itstool" ,itstool)
3442 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3443 (inputs
3444 `(("libxml2" ,libxml2)
3445 ("gtk-vnc" ,gtk-vnc)
3446 ("gnome-keyring" ,gnome-keyring)
3447 ("libsecret" ,libsecret)
3448 ("freerdp" ,freerdp)
3449 ("spice" ,spice)
3450 ("spice-gtk" ,spice-gtk)
3451 ("telepathy-glib" ,telepathy-glib)
3452 ("vte" ,vte)))
3453 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3454 (synopsis "Remote desktop viewer for GNOME")
3455 (description "Vinagre is a remote display client supporting the VNC, SPICE
3456 and RDP protocols.")
3457 (license license:gpl3+)))
3458
3459 (define-public dconf
3460 (package
3461 (name "dconf")
3462 (version "0.34.0")
3463 (source (origin
3464 (method url-fetch)
3465 (uri (string-append
3466 "mirror://gnome/sources/" name "/"
3467 (version-major+minor version) "/"
3468 name "-" version ".tar.xz"))
3469 (patches (search-patches "dconf-meson-0.52.patch"))
3470 (sha256
3471 (base32
3472 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
3473 (build-system meson-build-system)
3474 (propagated-inputs
3475 ;; In Requires of dconf.pc.
3476 `(("glib" ,glib)))
3477 (inputs
3478 `(("gtk+" ,gtk+)
3479 ("dbus" ,dbus)))
3480 (native-inputs
3481 `(("bash-completion" ,bash-completion)
3482 ("libxslt" ,libxslt) ;for xsltproc
3483 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3484 ("docbook-xml" ,docbook-xml-4.2)
3485 ("docbook-xsl" ,docbook-xsl)
3486 ("glib:bin" ,glib "bin")
3487 ("gtk-doc" ,gtk-doc)
3488 ("pkg-config" ,pkg-config)
3489 ("vala" ,vala)))
3490 (arguments
3491 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3492 ; or /etc/machine-id.
3493 #:glib-or-gtk? #t
3494 #:configure-flags '("-Denable-gtk-doc=true")))
3495 (home-page "https://developer.gnome.org/dconf/")
3496 (synopsis "Low-level GNOME configuration system")
3497 (description "Dconf is a low-level configuration system. Its main purpose
3498 is to provide a backend to GSettings on platforms that don't already have
3499 configuration storage systems.")
3500 (license license:lgpl2.1+)))
3501
3502 (define-public json-glib
3503 (package
3504 (name "json-glib")
3505 (version "1.4.4")
3506 (source (origin
3507 (method url-fetch)
3508 (uri (string-append "mirror://gnome/sources/" name "/"
3509 (version-major+minor version) "/"
3510 name "-" version ".tar.xz"))
3511 (sha256
3512 (base32
3513 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3514 (build-system meson-build-system)
3515 (native-inputs
3516 `(("gettext" ,gettext-minimal)
3517 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3518 ("gobject-introspection" ,gobject-introspection)
3519 ("pkg-config" ,pkg-config)))
3520 (propagated-inputs
3521 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3522 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3523 (synopsis "Compiler for the GObject type system")
3524 (description
3525 "JSON-GLib is a C library based on GLib providing serialization and
3526 deserialization support for the JavaScript Object Notation (JSON) format
3527 described by RFC 4627. It provides parser and generator GObject classes and
3528 various wrappers for the complex data types employed by JSON, such as arrays
3529 and objects.")
3530 (license license:lgpl2.1+)))
3531
3532 (define-public libxklavier
3533 (package
3534 (name "libxklavier")
3535 (version "5.4")
3536 (source (origin
3537 ;; Note: There's no tarball at ftp.gnome.org for this version.
3538 (method git-fetch)
3539 (uri (git-reference
3540 (url "https://anongit.freedesktop.org/git/libxklavier")
3541 (commit (string-append "libxklavier-" version))))
3542 (sha256
3543 (base32
3544 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3545 (file-name (git-file-name name version))))
3546 (build-system gnu-build-system)
3547 (arguments
3548 '(#:configure-flags
3549 (list (string-append "--with-xkb-base="
3550 (assoc-ref %build-inputs "xkeyboard-config")
3551 "/share/X11/xkb")
3552 "--disable-xmodmap-support")))
3553 (native-inputs
3554 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3555 ("gobject-introspection" ,gobject-introspection)
3556 ("pkg-config" ,pkg-config)
3557 ("gtk-doc" ,gtk-doc)
3558 ("intltool" ,intltool)
3559 ("which" ,which)
3560 ("autoconf" ,autoconf)
3561 ("automake" ,automake)
3562 ("libtool" ,libtool)))
3563 (propagated-inputs
3564 ;; Required by libxklavier.pc.
3565 `(("glib" ,glib)
3566 ("libxml2" ,libxml2)))
3567 (inputs
3568 `(("iso-codes" ,iso-codes)
3569 ("libxi" ,libxi)
3570 ("libxkbfile" ,libxkbfile)
3571 ("xkbcomp" ,xkbcomp)
3572 ("xkeyboard-config" ,xkeyboard-config)))
3573 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3574 (synopsis "High-level API for X Keyboard Extension")
3575 (description
3576 "LibXklavier is a library providing high-level API for X Keyboard
3577 Extension known as XKB. This library is intended to support XFree86 and other
3578 commercial X servers. It is useful for creating XKB-related software (layout
3579 indicators etc).")
3580 (license license:lgpl2.0+)))
3581
3582 (define-public python2-rsvg
3583 ;; XXX: This is actually a subset of gnome-python-desktop.
3584 (package
3585 (name "python2-rsvg")
3586 (version "2.32.0")
3587 (source
3588 (origin
3589 (method url-fetch)
3590 (uri (string-append
3591 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3592 version ".tar.bz2"))
3593 (sha256
3594 (base32
3595 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3596 (build-system gnu-build-system)
3597 (native-inputs
3598 `(("pkg-config" ,pkg-config)))
3599 (inputs
3600 `(("python" ,python-2)
3601 ("python2-pygtk" ,python2-pygtk)
3602 ("librsvg" ,librsvg)))
3603 (home-page "https://www.gnome.org")
3604 (synopsis "Python bindings to librsvg")
3605 (description
3606 "This package provides Python bindings to librsvg, the SVG rendering
3607 library.")
3608
3609 ;; This is the license of the rsvg bindings. The license of each module
3610 ;; of gnome-python-desktop is given in 'COPYING'.
3611 (license license:lgpl2.1+)))
3612
3613 (define-public glib-networking
3614 (package
3615 (name "glib-networking")
3616 (version "2.62.2")
3617 (source (origin
3618 (method url-fetch)
3619 (uri (string-append "mirror://gnome/sources/glib-networking/"
3620 (version-major+minor version) "/"
3621 "glib-networking-" version ".tar.xz"))
3622 (sha256
3623 (base32
3624 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
3625 (build-system meson-build-system)
3626 (arguments
3627 `(#:configure-flags '("-Dlibproxy_support=false")))
3628 (native-inputs
3629 `(("pkg-config" ,pkg-config)
3630 ("intltool" ,intltool)))
3631 (inputs
3632 `(("glib" ,glib)
3633 ("gnutls" ,gnutls)
3634 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3635 (home-page "https://www.gnome.org")
3636 (synopsis "Network-related GIO modules")
3637 (description
3638 "This package contains various network related extensions for the GIO
3639 library.")
3640 (license license:lgpl2.0+)))
3641
3642 (define-public rest
3643 (package
3644 (name "rest")
3645 (version "0.8.1")
3646 (source (origin
3647 (method url-fetch)
3648 (uri (string-append "mirror://gnome/sources/rest/"
3649 (version-major+minor version) "/"
3650 name "-" version ".tar.xz"))
3651 (sha256
3652 (base32
3653 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3654 (build-system gnu-build-system)
3655 (arguments
3656 '(#:tests? #f ; tests require internet connection
3657 #:configure-flags
3658 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3659 (native-inputs
3660 `(("glib-mkenums" ,glib "bin")
3661 ("gobject-introspection" ,gobject-introspection)
3662 ("pkg-config" ,pkg-config)))
3663 (propagated-inputs
3664 ;; rest-0.7.pc refers to all these.
3665 `(("glib" ,glib)
3666 ("libsoup" ,libsoup)
3667 ("libxml2" ,libxml2)))
3668 (home-page "https://www.gtk.org/")
3669 (synopsis "RESTful web api query library")
3670 (description
3671 "This library was designed to make it easier to access web services that
3672 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3673 libxml to ease remote use of the RESTful API.")
3674 (license license:lgpl2.1+)))
3675
3676 (define-public libsoup
3677 (package
3678 (name "libsoup")
3679 (version "2.70.0")
3680 (source (origin
3681 (method url-fetch)
3682 (uri (string-append "mirror://gnome/sources/libsoup/"
3683 (version-major+minor version) "/"
3684 "libsoup-" version ".tar.xz"))
3685 (sha256
3686 (base32
3687 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3688 (build-system meson-build-system)
3689 (outputs '("out" "doc"))
3690 (arguments
3691 `(#:modules ((guix build utils)
3692 (guix build meson-build-system)
3693 (ice-9 popen))
3694
3695 #:configure-flags '("-Dgtk_doc=true")
3696 #:phases
3697 (modify-phases %standard-phases
3698 (add-after 'unpack 'adjust-tests
3699 (lambda _
3700 ;; This test fails due to missing /etc/nsswitch.conf
3701 ;; in the build environment.
3702 (substitute* "tests/socket-test.c"
3703 ((".*/sockets/unconnected.*") ""))
3704
3705 ;; These fail because "subdomain.localhost" does not resolve in
3706 ;; the build environment.
3707 (substitute* "tests/hsts-test.c"
3708 ((".*/hsts/basic.*") "")
3709 ((".*/hsts/subdomains.*") "")
3710 ((".*/hsts/superdomain.*") "")
3711 ((".*/hsts/utf8-address.*") ""))
3712 (substitute* "tests/hsts-db-test.c"
3713 ((".*/hsts-db/subdomains.*") ""))
3714
3715 ;; Generate a self-signed certificate that has "localhost" as its
3716 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3717 ;; 3.5.12, tests such as "ssl-tests" fail:
3718 ;;
3719 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3720 ;;
3721 ;; 'certtool' is interactive so we have to pipe it the answers.
3722 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3723 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3724 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3725 (for-each (lambda (line)
3726 (display line pipe)
3727 (newline pipe))
3728 '("" ;Common name
3729 "" ;UID
3730 "Guix" ;Organizational unit name
3731 "GNU" ;Organization name
3732 "" ;Locality name
3733 "" ;State or province
3734 "" ;Country
3735 "" ;subject's domain component (DC)
3736 "" ;E-mail
3737 "" ;serial number
3738 "-1" ;expiration time
3739 "N" ;belong to authority?
3740 "N" ;web client certificate?
3741 "N" ;IPsec IKE?
3742 "Y" ;web server certificate?
3743 "localhost" ;dnsName of subject
3744 "" ;dnsName of subject (end)
3745 "" ;URI of subject
3746 "127.0.0.1" ;IP address of subject
3747 "" ;signing?
3748 "" ;encryption (RSA)?
3749 "" ;data encryption?
3750 "" ;sign OCSP requests?
3751 "" ;sign code?
3752 "" ;time stamping?
3753 "" ;email protection?
3754 "" ;URI of the CRL distribution point
3755 "y" ;above info OK?
3756 ))
3757 (close-pipe pipe))
3758 #t))
3759 (add-after 'install 'move-doc
3760 (lambda* (#:key outputs #:allow-other-keys)
3761 (let ((out (assoc-ref outputs "out"))
3762 (doc (assoc-ref outputs "doc")))
3763 (mkdir-p (string-append doc "/share"))
3764 (copy-recursively (string-append out "/share/gtk-doc")
3765 (string-append doc "/share/gtk-doc"))
3766 (delete-file-recursively (string-append out "/share/gtk-doc"))
3767 #t))))))
3768 (native-inputs
3769 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3770 ("gobject-introspection" ,gobject-introspection)
3771 ("gtk-doc" ,gtk-doc)
3772 ("intltool" ,intltool)
3773 ("pkg-config" ,pkg-config)
3774 ("python" ,python-wrapper)
3775 ("vala" ,vala)
3776 ("php" ,php)
3777 ("curl" ,curl)
3778 ("gnutls" ,gnutls) ;for 'certtool'
3779 ("httpd" ,httpd)))
3780 (propagated-inputs
3781 ;; libsoup-2.4.pc refers to all these.
3782 `(("brotli" ,google-brotli)
3783 ("glib" ,glib)
3784 ("libpsl" ,libpsl)
3785 ("libxml2" ,libxml2)
3786 ("sqlite" ,sqlite)
3787 ("zlib" ,zlib)))
3788 (inputs
3789 `(("glib-networking" ,glib-networking)
3790 ("mit-krb5" ,mit-krb5)))
3791 (home-page "https://live.gnome.org/LibSoup/")
3792 (synopsis "GLib-based HTTP Library")
3793 (description
3794 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3795 and the GLib main loop, to integrate well with GNOME applications.")
3796 (license license:lgpl2.0+)))
3797
3798
3799 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
3800 (define-public libsoup-minimal
3801 (package
3802 (inherit libsoup)
3803 (name "libsoup-minimal")
3804 (outputs (delete "doc" (package-outputs libsoup)))
3805 (arguments
3806 (substitute-keyword-arguments (package-arguments libsoup)
3807 ((#:configure-flags configure-flags)
3808 `(delete "-Dgtk_doc=true" ,configure-flags))
3809 ((#:phases phases)
3810 `(modify-phases ,phases
3811 (delete 'move-doc)))))
3812 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
3813
3814 (define-public libsecret
3815 (package
3816 (name "libsecret")
3817 (version "0.20.3")
3818 (source (origin
3819 (method url-fetch)
3820 (uri (string-append
3821 "mirror://gnome/sources/libsecret/"
3822 (version-major+minor version) "/"
3823 "libsecret-" version ".tar.xz"))
3824 (sha256
3825 (base32
3826 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
3827 (build-system gnu-build-system)
3828 (outputs '("out" "doc"))
3829 (arguments
3830 `(#:tests? #f ; FIXME: Testing hangs.
3831 #:configure-flags
3832 (list (string-append "--with-html-dir="
3833 (assoc-ref %outputs "doc")
3834 "/share/gtk-doc/html"))))
3835 (native-inputs
3836 `(("gettext" ,gettext-minimal)
3837 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3838 ("gobject-introspection" ,gobject-introspection)
3839 ("pkg-config" ,pkg-config)
3840 ("vala" ,vala)
3841 ("xsltproc" ,libxslt)))
3842 ;; These are needed for the tests.
3843 ;; FIXME: Add gjs once available.
3844 ;("dbus" ,dbus)
3845 ;("python2" ,python-2)
3846 ;("python2-dbus" ,python2-dbus)
3847 ;("python2-pygobject" ,python2-pygobject)
3848 ;("python2-pygobject-2" ,python2-pygobject-2)))
3849 (propagated-inputs
3850 `(("glib" ,glib))) ; required by libsecret-1.pc
3851 (inputs
3852 `(("docbook-xsl" ,docbook-xsl)
3853 ("libgcrypt" ,libgcrypt)
3854 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3855 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3856 (synopsis "GObject bindings for \"Secret Service\" API")
3857 (description
3858 "Libsecret is a GObject based library for storing and retrieving passwords
3859 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3860 (license license:lgpl2.1+)))
3861
3862 (define-public five-or-more
3863 (package
3864 (name "five-or-more")
3865 (version "3.32.2")
3866 (source
3867 (origin
3868 (method url-fetch)
3869 (uri (string-append "mirror://gnome/sources/five-or-more/"
3870 (version-major+minor version) "/"
3871 "five-or-more-" version ".tar.xz"))
3872 (sha256
3873 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
3874 (build-system meson-build-system)
3875 (arguments
3876 '(#:glib-or-gtk? #t
3877 #:phases
3878 (modify-phases %standard-phases
3879 (add-after 'unpack 'skip-gtk-update-icon-cache
3880 (lambda _
3881 (substitute* "meson_post_install.py"
3882 (("gtk-update-icon-cache") (which "true")))
3883 #t)))))
3884 (native-inputs
3885 `(("pkg-config" ,pkg-config)
3886 ("appstream-glib" ,appstream-glib)
3887 ("desktop-file-utils" ,desktop-file-utils)
3888 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3889 ("intltool" ,intltool)
3890 ("itstool" ,itstool)
3891 ("vala" ,vala)
3892 ("xmllint" ,libxml2)))
3893 (inputs
3894 `(("gtk+" ,gtk+)
3895 ("libgnome-games-support" ,libgnome-games-support)
3896 ("librsvg" ,librsvg)))
3897 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3898 (synopsis "Logic puzzle game")
3899 (description "Five or More is a game where you try to align
3900 five or more objects of the same color and shape causing them to disappear.
3901 On every turn more objects will appear, until the board is full.
3902 Try to last as long as possible.")
3903 (license license:gpl2+)))
3904
3905 (define-public gnome-mines
3906 (package
3907 (name "gnome-mines")
3908 (version "3.34.0")
3909 (source
3910 (origin
3911 (method url-fetch)
3912 (uri (string-append "mirror://gnome/sources/" name "/"
3913 (version-major+minor version) "/"
3914 name "-" version ".tar.xz"))
3915 (sha256
3916 (base32
3917 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
3918 (build-system meson-build-system)
3919 (arguments
3920 '(#:glib-or-gtk? #t
3921 #:phases
3922 (modify-phases %standard-phases
3923 (add-after 'unpack 'skip-gtk-update-icon-cache
3924 (lambda _
3925 (substitute* "build-aux/meson_post_install.py"
3926 (("gtk-update-icon-cache") (which "true")))
3927 #t)))))
3928 (native-inputs
3929 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3930 ("pkg-config" ,pkg-config)
3931 ("desktop-file-utils" ,desktop-file-utils)
3932 ("intltool" ,intltool)
3933 ("itstool" ,itstool)
3934 ("vala" ,vala)
3935 ("yelp" ,yelp)
3936 ("appstream-glib" ,appstream-glib)))
3937 (inputs
3938 `(("gtk+" ,gtk+)
3939 ("libgnome-games-support" ,libgnome-games-support)
3940 ("librsvg" ,librsvg)))
3941 (home-page "https://wiki.gnome.org/Apps/Mines")
3942 (synopsis "Minesweeper game")
3943 (description
3944 "Mines (previously gnomine) is a puzzle game where you locate mines
3945 floating in an ocean using only your brain and a little bit of luck.")
3946 (license license:gpl2+)))
3947
3948 (define-public gnome-multi-writer
3949 (package
3950 (name "gnome-multi-writer")
3951 (version "3.35.90")
3952 (source
3953 (origin
3954 (method url-fetch)
3955 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
3956 (version-major+minor version) "/"
3957 "gnome-multi-writer-" version ".tar.xz"))
3958 (sha256
3959 (base32
3960 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
3961 (build-system meson-build-system)
3962 (arguments
3963 '(#:glib-or-gtk? #t
3964 #:phases
3965 (modify-phases %standard-phases
3966 (add-after 'unpack 'skip-post-install
3967 (lambda _
3968 (substitute* "meson.build"
3969 (("meson.add_install_script" &) (string-append "# " &)))
3970 #t)))))
3971 (native-inputs
3972 `(("glib:bin" ,glib "bin")
3973 ("pkg-config" ,pkg-config)))
3974 (inputs
3975 `(("gtk+" ,gtk+)
3976 ("glib" ,glib) ; for gio
3977 ("gusb" ,gusb)
3978 ("udisks" ,udisks)
3979 ("libgudev" ,libgudev)
3980 ("libcanberra" ,libcanberra)
3981 ("polkit" ,polkit)))
3982 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
3983 (synopsis "Write to multiple USB devices at once")
3984 (description
3985 "MultiWriter can be used to write an ISO file to multiple USB devices at
3986 once.")
3987 (license license:gpl2+)))
3988
3989 (define-public gnome-sudoku
3990 (package
3991 (name "gnome-sudoku")
3992 (version "3.34.1")
3993 (source
3994 (origin
3995 (method url-fetch)
3996 (uri (string-append "mirror://gnome/sources/" name "/"
3997 (version-major+minor version) "/"
3998 name "-" version ".tar.xz"))
3999 (sha256
4000 (base32
4001 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
4002 (build-system meson-build-system)
4003 (arguments
4004 '(#:glib-or-gtk? #t
4005 #:phases
4006 (modify-phases %standard-phases
4007 (add-after 'unpack 'skip-gtk-update-icon-cache
4008 (lambda _
4009 (substitute* "build-aux/post_install.py"
4010 (("gtk-update-icon-cache") (which "true")))
4011 #t)))))
4012 (native-inputs
4013 `(("pkg-config" ,pkg-config)
4014 ("desktop-file-utils" ,desktop-file-utils)
4015 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4016 ("intltool" ,intltool)
4017 ("itstool" ,itstool)
4018 ("vala" ,vala)
4019 ("xmllint" ,libxml2)))
4020 (inputs
4021 `(("gtk+" ,gtk+)
4022 ("json-glib" ,json-glib)
4023 ("libgee" ,libgee)
4024 ("librsvg" ,librsvg)
4025 ("qqwing" ,qqwing)))
4026 (home-page "https://wiki.gnome.org/Apps/Sudoku")
4027 (synopsis "Japanese logic game")
4028 (description
4029 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
4030 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
4031 possible while still providing features that make playing difficult Sudoku
4032 more fun.")
4033 (license license:gpl2+)))
4034
4035 (define-public gnome-terminal
4036 (package
4037 (name "gnome-terminal")
4038 (version "3.34.2")
4039 (source
4040 (origin
4041 (method url-fetch)
4042 (uri (string-append "mirror://gnome/sources/" name "/"
4043 (version-major+minor version) "/"
4044 name "-" version ".tar.xz"))
4045 (sha256
4046 (base32
4047 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
4048 (build-system glib-or-gtk-build-system)
4049 (arguments
4050 '(#:configure-flags
4051 (list "--disable-migration" "--disable-search-provider"
4052 "--without-nautilus-extension")
4053 #:phases
4054 (modify-phases %standard-phases
4055 (add-before 'configure 'patch-/bin/true
4056 (lambda _
4057 (substitute* "configure"
4058 (("/bin/true") (which "true"))))))))
4059 (native-inputs
4060 `(("pkg-config" ,pkg-config)
4061 ("desktop-file-utils" ,desktop-file-utils)
4062 ("intltool" ,intltool)
4063 ("itstool" ,itstool)
4064 ("xmllint" ,libxml2)))
4065 (propagated-inputs
4066 `(("dconf" ,dconf)))
4067 (inputs
4068 `(("gtk+" ,gtk+)
4069 ("vte" ,vte)
4070 ("gnutls" ,gnutls)
4071 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4072 ("util-linux" ,util-linux "lib")
4073 ("vala" ,vala)))
4074 (home-page "https://wiki.gnome.org/Apps/Terminal")
4075 (synopsis "Terminal emulator")
4076 (description
4077 "GNOME Terminal is a terminal emulator application for accessing a
4078 UNIX shell environment which can be used to run programs available on
4079 your system.
4080
4081 It supports several profiles, multiple tabs and implements several
4082 keyboard shortcuts.")
4083 (license license:gpl3+)))
4084
4085 (define-public colord
4086 (package
4087 (name "colord")
4088 (version "1.4.4")
4089 (source
4090 (origin
4091 (method url-fetch)
4092 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
4093 "colord-" version ".tar.xz"))
4094 (sha256
4095 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
4096 (build-system meson-build-system)
4097 (arguments
4098 '(;; FIXME: One test fails:
4099 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4100 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4101 ;; application/x-zerosize
4102 #:tests? #f
4103 #:glib-or-gtk? #t
4104 #:configure-flags (list "-Dlocalstatedir=/var"
4105 ;; No dep on systemd.
4106 "-Dsystemd=false"
4107 ;; Wants to install to global completion dir;
4108 ;; punt.
4109 "-Dbash_completion=false"
4110 "-Ddaemon_user=colord"
4111 "-Dsane=true"
4112 "-Dvapi=true"
4113 ;; Requires spotread.
4114 "-Dargyllcms_sensor=false"
4115 ;; TODO: Requires docbook2x.
4116 "-Dman=false")
4117 #:phases
4118 (modify-phases %standard-phases
4119 (add-before 'configure 'patch-build-system
4120 (lambda* (#:key outputs #:allow-other-keys)
4121 (substitute* "rules/meson.build"
4122 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4123 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4124 #t))
4125 (add-before 'configure 'set-sqlite3-file-name
4126 (lambda* (#:key inputs #:allow-other-keys)
4127 ;; "colormgr dump" works by invoking the "sqlite3" command.
4128 ;; Record its absolute file name.
4129 (let ((sqlite (assoc-ref inputs "sqlite")))
4130 (substitute* "client/cd-util.c"
4131 (("\"sqlite3\"")
4132 (string-append "\"" sqlite "/bin/sqlite3\"")))
4133 #t))))))
4134 (native-inputs
4135 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4136 ("gettext" ,gettext-minimal)
4137 ("gobject-introspection" ,gobject-introspection)
4138 ("gtk-doc" ,gtk-doc)
4139 ("pkg-config" ,pkg-config)
4140 ("vala" ,vala)))
4141 (propagated-inputs
4142 ;; colord.pc refers to all these.
4143 `(("glib" ,glib)
4144 ("lcms" ,lcms)
4145 ("udev" ,eudev)))
4146 (inputs
4147 `(("dbus-glib" ,dbus-glib)
4148 ("gusb" ,gusb)
4149 ("libgudev" ,libgudev)
4150 ("libusb" ,libusb)
4151 ("polkit" ,polkit)
4152 ("python" ,python-wrapper)
4153 ("sqlite" ,sqlite)
4154 ("sane-backends" ,sane-backends)))
4155 (home-page "https://www.freedesktop.org/software/colord/")
4156 (synopsis "Color management service")
4157 (description "Colord is a system service that makes it easy to manage,
4158 install and generate color profiles to accurately color manage input and
4159 output devices.")
4160 (license license:gpl2+)))
4161
4162 (define-public geoclue
4163 (package
4164 (name "geoclue")
4165 (version "2.5.6")
4166 (source
4167 (origin
4168 (method url-fetch)
4169 (uri
4170 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4171 version "/geoclue-" version ".tar.bz2"))
4172 (sha256
4173 (base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
4174 (patches (search-patches "geoclue-config.patch"))))
4175 (build-system meson-build-system)
4176 (arguments
4177 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4178 (native-inputs
4179 `(("pkg-config" ,pkg-config)
4180 ("gobject-introspection" ,gobject-introspection)
4181 ("modem-manager" ,modem-manager)
4182 ("libnotify" ,libnotify)
4183 ("gtk-doc", gtk-doc)
4184 ("intltool" ,intltool)))
4185 (inputs
4186 `(("avahi" ,avahi)
4187 ("glib:bin" ,glib "bin")
4188 ("glib-networking" ,glib-networking)
4189 ("json-glib" ,json-glib)
4190 ("libsoup" ,libsoup)))
4191 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4192 (synopsis "Geolocation service")
4193 (description "Geoclue is a D-Bus service that provides location
4194 information. The primary goal of the Geoclue project is to make creating
4195 location-aware applications as simple as possible, while the secondary goal is
4196 to ensure that no application can access location information without explicit
4197 permission from user.")
4198 (license license:gpl2+)))
4199
4200 (define-public geocode-glib
4201 (package
4202 (name "geocode-glib")
4203 (version "3.26.1")
4204 (source (origin
4205 (method url-fetch)
4206 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4207 (version-major+minor version) "/"
4208 "geocode-glib-" version ".tar.xz"))
4209 (sha256
4210 (base32
4211 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4212 (build-system meson-build-system)
4213 (arguments
4214 `(#:phases
4215 (modify-phases %standard-phases
4216 ;; The tests require a bunch of locales.
4217 (add-before 'check 'set-locales
4218 (lambda* (#:key inputs #:allow-other-keys)
4219 (setenv "GUIX_LOCPATH"
4220 (string-append (assoc-ref inputs "glibc-locales")
4221 "/lib/locale"))
4222 #t)))))
4223 (native-inputs
4224 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4225 ("glibc-locales" ,glibc-locales) ; for tests
4226 ("gettext" ,gettext-minimal)
4227 ("gobject-introspection" ,gobject-introspection)
4228 ("gtk-doc" ,gtk-doc)
4229 ("pkg-config" ,pkg-config)
4230 ("json-glib" ,json-glib)))
4231 (propagated-inputs
4232 ;; geocode-glib-1.0.pc refers to GIO.
4233 `(("glib" ,glib)))
4234 (inputs
4235 `(("libsoup" ,libsoup)))
4236 (home-page "https://github.com/GNOME/geocode-glib/")
4237 (synopsis "Geocoding and reverse-geocoding library")
4238 (description
4239 "geocode-glib is a convenience library for geocoding (finding longitude,
4240 and latitude from an address) and reverse geocoding (finding an address from
4241 coordinates) using the Nominatim service. geocode-glib caches requests for
4242 faster results and to avoid unnecessary server load.")
4243 (license license:lgpl2.0+)))
4244
4245 (define-public upower
4246 (package
4247 (name "upower")
4248 (version "0.99.11")
4249 (source (origin
4250 (method url-fetch)
4251 (uri (string-append "https://upower.freedesktop.org/releases/"
4252 "upower-" version ".tar.xz"))
4253 (sha256
4254 (base32
4255 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4256 (patches (search-patches "upower-builddir.patch"))
4257 (modules '((guix build utils)))
4258 (snippet
4259 '(begin
4260 ;; Upstream commit
4261 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4262 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4263 ;; 'dbus-configuration-directory' in (gnu services dbus)
4264 ;; expects it in etc/. Thus, move it back to its previous
4265 ;; location.
4266 (substitute* "src/Makefile.in"
4267 (("^dbusconfdir =.*$")
4268 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4269 #t))))
4270 (build-system glib-or-gtk-build-system)
4271 (arguments
4272 '(#:phases
4273 (modify-phases %standard-phases
4274 (add-before 'check 'pre-check
4275 (lambda* (#:key inputs #:allow-other-keys)
4276 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
4277 "/lib")))
4278 (setenv "LD_LIBRARY_PATH" umockdev))
4279 #t)))
4280 #:configure-flags (list "--localstatedir=/var"
4281 (string-append "--with-udevrulesdir="
4282 (assoc-ref %outputs "out")
4283 "/lib/udev/rules.d"))))
4284 (native-inputs
4285 `(("gobject-introspection" ,gobject-introspection)
4286 ("pkg-config" ,pkg-config)
4287 ("intltool" ,intltool)
4288 ("python" ,python)
4289
4290 ;; For tests.
4291 ("python-dbus" ,python-dbus)
4292 ("python-dbusmock" ,python-dbusmock)
4293 ("python-pygobject" ,python-pygobject)
4294 ("umockdev" ,umockdev)
4295
4296 ;; For man pages.
4297 ("libxslt" ,libxslt) ;for 'xsltproc'
4298 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4299 ("docbook-xsl" ,docbook-xsl)))
4300 (inputs
4301 `(("dbus-glib" ,dbus-glib)
4302 ("libgudev" ,libgudev)
4303 ("libusb" ,libusb)))
4304 (propagated-inputs
4305 ;; In Requires of upower-glib.pc.
4306 `(("glib" ,glib)))
4307 (home-page "https://upower.freedesktop.org/")
4308 (synopsis "System daemon for managing power devices")
4309 (description
4310 "UPower is an abstraction for enumerating power devices,
4311 listening to device events and querying history and statistics. Any
4312 application or service on the system can access the org.freedesktop.UPower
4313 service via the system message bus.")
4314 (license license:gpl2+)))
4315
4316 (define-public libgweather
4317 (package
4318 (name "libgweather")
4319 (version "3.34.0")
4320 (source (origin
4321 (method url-fetch)
4322 (uri (string-append "mirror://gnome/sources/" name "/"
4323 (version-major+minor version) "/"
4324 name "-" version ".tar.xz"))
4325 (sha256
4326 (base32
4327 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
4328 (build-system meson-build-system)
4329 (arguments
4330 `(#:tests? #f ; one of two tests requires network access
4331 #:configure-flags
4332 `(,(string-append "-Dzoneinfo_dir="
4333 (assoc-ref %build-inputs "tzdata")
4334 "/share/zoneinfo"))))
4335 (native-inputs
4336 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4337 ("gobject-introspection" ,gobject-introspection)
4338 ("pkg-config" ,pkg-config)
4339 ("vala" ,vala)
4340 ("intltool" ,intltool)))
4341 (propagated-inputs
4342 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4343 ;; libsoup.
4344 `(("gtk+" ,gtk+)
4345 ("gdk-pixbuf" ,gdk-pixbuf)
4346 ("libxml2" ,libxml2)
4347 ("libsoup" ,libsoup)
4348 ("geocode-glib" ,geocode-glib)))
4349 (inputs
4350 `(("tzdata" ,tzdata)))
4351 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4352 (synopsis "Location, time zone, and weather library for GNOME")
4353 (description
4354 "libgweather is a library to access weather information from online
4355 services for numerous locations.")
4356 (license license:gpl2+)))
4357
4358 (define-public gnome-settings-daemon
4359 (package
4360 (name "gnome-settings-daemon")
4361 (version "3.34.1")
4362 (source
4363 (origin
4364 (method url-fetch)
4365 (uri (string-append "mirror://gnome/sources/" name "/"
4366 (version-major+minor version) "/"
4367 name "-" version ".tar.xz"))
4368 (sha256
4369 (base32
4370 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
4371 (build-system meson-build-system)
4372 (arguments
4373 `(#:glib-or-gtk? #t
4374 #:configure-flags
4375 (list (string-append "-Dudev_dir="
4376 (assoc-ref %outputs "out")
4377 "/lib/udev/rules.d/")
4378 "-Dsystemd=false"
4379 ;; Otherwise, the RUNPATH will lack the final path component.
4380 (string-append "-Dc_link_args=-Wl,-rpath="
4381 (assoc-ref %outputs "out")
4382 "/lib/gnome-settings-daemon-3.0"))
4383 ;; Color management test can't reach the colord system service.
4384 #:tests? #f))
4385 (native-inputs
4386 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4387 ("pkg-config" ,pkg-config)
4388 ("intltool" ,intltool)
4389 ("xsltproc" ,libxslt)
4390 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4391 ("docbook-xml" ,docbook-xml-4.2)
4392 ("docbook-xsl" ,docbook-xsl)))
4393 (inputs
4394 `(("alsa-lib" ,alsa-lib)
4395 ("colord" ,colord)
4396 ("libgudev" ,libgudev)
4397 ("upower" ,upower)
4398 ("polkit" ,polkit)
4399 ("pulseaudio" ,pulseaudio)
4400 ("libcanberra" ,libcanberra)
4401 ("libx11" ,libx11)
4402 ("libxtst" ,libxtst)
4403 ("lcms" ,lcms)
4404 ("libnotify" ,libnotify)
4405 ("geoclue" ,geoclue)
4406 ("geocode-glib" ,geocode-glib)
4407 ("libgweather" ,libgweather)
4408 ("gnome-desktop" ,gnome-desktop)
4409 ("nss" ,nss)
4410 ("cups" ,cups)
4411 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4412 ("libwacom" ,libwacom)
4413 ("librsvg" ,librsvg)
4414 ("xf86-input-wacom" ,xf86-input-wacom)
4415 ("wayland" ,wayland)
4416 ("network-manager" ,network-manager)
4417 ("gcr" ,gcr)
4418 ("modem-manager" ,modem-manager)))
4419 (home-page "https://www.gnome.org")
4420 (synopsis "GNOME settings daemon")
4421 (description
4422 "This package contains the daemon responsible for setting the various
4423 parameters of a GNOME session and the applications that run under it. It
4424 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4425 settings, themes, mouse settings, and startup of other daemons.")
4426 (license license:gpl2+)))
4427
4428 (define-public totem-pl-parser
4429 (package
4430 (name "totem-pl-parser")
4431 (version "3.26.3")
4432 (source (origin
4433 (method url-fetch)
4434 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4435 (version-major+minor version) "/"
4436 "totem-pl-parser-" version ".tar.xz"))
4437 (sha256
4438 (base32
4439 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4440 (build-system meson-build-system)
4441 (arguments
4442 ;; FIXME: Tests require gvfs.
4443 `(#:tests? #f))
4444 (native-inputs
4445 `(("intltool" ,intltool)
4446 ("glib" ,glib "bin")
4447 ("gobject-introspection" ,gobject-introspection)
4448 ("pkg-config" ,pkg-config)))
4449 (propagated-inputs
4450 `(("glib" ,glib)
4451 ("gmime" ,gmime)
4452 ("libarchive" ,libarchive)
4453 ("libgcrypt" ,libgcrypt)
4454 ("libxml2" ,libxml2)))
4455 (inputs
4456 `(("libsoup" ,libsoup)))
4457 (home-page "https://projects.gnome.org/totem")
4458 (synopsis "Library to parse and save media playlists for GNOME")
4459 (description "Totem-pl-parser is a GObjects-based library to parse and save
4460 playlists in a variety of formats.")
4461 (license license:lgpl2.0+)))
4462
4463 (define-public aisleriot
4464 (package
4465 (name "aisleriot")
4466 (version "3.22.9")
4467 (source (origin
4468 (method url-fetch)
4469 (uri (string-append "mirror://gnome/sources/aisleriot/"
4470 (version-major+minor version) "/"
4471 "aisleriot-" version ".tar.xz"))
4472 (sha256
4473 (base32
4474 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4475 (build-system glib-or-gtk-build-system)
4476 (arguments
4477 '(#:configure-flags
4478 '("--with-platform=gtk-only"
4479 "--with-card-theme-formats=svg")))
4480 (native-inputs
4481 `(("desktop-file-utils" ,desktop-file-utils)
4482 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4483 ("intltool" ,intltool)
4484 ("itstool" ,itstool)
4485 ("pkg-config" ,pkg-config)
4486 ("xmllint" ,libxml2)))
4487 (inputs
4488 `(("gtk+" ,gtk+)
4489 ("guile" ,guile-2.2)
4490 ("libcanberra" ,libcanberra)
4491 ("librsvg" ,librsvg)))
4492 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4493 (synopsis "Solitaire card games")
4494 (description
4495 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4496 which are easy to play with the aid of a mouse.")
4497 (license license:gpl3+)))
4498
4499 (define-public amtk
4500 (package
4501 (name "amtk")
4502 (version "5.0.2")
4503 (source (origin
4504 (method url-fetch)
4505 (uri (string-append "mirror://gnome/sources/amtk/"
4506 (version-major+minor version) "/"
4507 "amtk-" version ".tar.xz"))
4508 (sha256
4509 (base32
4510 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4511 (build-system gnu-build-system)
4512 (arguments
4513 '(#:configure-flags '("--enable-gtk-doc")))
4514 (native-inputs
4515 `(("gobject-introspection" ,gobject-introspection)
4516 ("glib:bin" ,glib "bin") ; for glib-mkenums
4517 ("gtk-doc" ,gtk-doc)
4518 ("pkg-config" ,pkg-config)))
4519 (inputs
4520 `(("glib" ,glib)
4521 ("gtk+" ,gtk+)))
4522 (home-page "https://wiki.gnome.org/Projects/Amtk")
4523 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4524 (description
4525 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4526 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4527 both a traditional UI or a modern UI with a GtkHeaderBar.")
4528 (license license:lgpl2.1+)))
4529
4530 (define-public devhelp
4531 (package
4532 (name "devhelp")
4533 (version "3.34.0")
4534 (source (origin
4535 (method url-fetch)
4536 (uri (string-append "mirror://gnome/sources/" name "/"
4537 (version-major+minor version) "/"
4538 name "-" version ".tar.xz"))
4539 (sha256
4540 (base32
4541 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
4542 (build-system meson-build-system)
4543 (arguments
4544 '(#:glib-or-gtk? #t
4545 #:phases
4546 (modify-phases %standard-phases
4547 (add-after 'unpack 'skip-gtk-update-icon-cache
4548 ;; Don't create 'icon-theme.cache'.
4549 (lambda _
4550 (substitute* "meson_post_install.py"
4551 (("gtk-update-icon-cache") "true"))
4552 #t)))))
4553 (native-inputs
4554 `(("intltool" ,intltool)
4555 ("itstool" ,itstool)
4556 ("gobject-introspection" ,gobject-introspection)
4557 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4558 ("pkg-config" ,pkg-config)))
4559 (inputs
4560 `(("amtk" ,amtk)
4561 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4562 ("webkitgtk" ,webkitgtk)))
4563 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4564 (synopsis "API documentation browser for GNOME")
4565 (description
4566 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4567 natively with GTK-Doc (the API reference system developed for GTK+ and used
4568 throughout GNOME for API documentation).")
4569 (license license:gpl2+)))
4570
4571 (define-public cogl
4572 (package
4573 (name "cogl")
4574 (version "1.22.8")
4575 (source
4576 (origin
4577 (method url-fetch)
4578 (uri (string-append "mirror://gnome/sources/cogl/"
4579 (version-major+minor version) "/"
4580 "cogl-" version ".tar.xz"))
4581 (sha256
4582 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
4583 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4584 ;; cogl, corresponding changes may be appropriate in mutter as well.
4585 (build-system gnu-build-system)
4586 (native-inputs
4587 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4588 ("gobject-introspection" ,gobject-introspection)
4589 ("xorg-server" ,xorg-server-for-tests)
4590 ("pkg-config" ,pkg-config)))
4591 (propagated-inputs
4592 `(("glib" ,glib)
4593 ("gdk-pixbuf" ,gdk-pixbuf)
4594 ("libx11" ,libx11)
4595 ("libxext" ,libxext)
4596 ("libxfixes" ,libxfixes)
4597 ("libxdamage" ,libxdamage)
4598 ("libxcomposite" ,libxcomposite)
4599 ("libxrandr" ,libxrandr)))
4600 (inputs
4601 `(("mesa" ,mesa)
4602 ("cairo" ,cairo)
4603 ("pango" ,pango)
4604 ("gstreamer" ,gstreamer)
4605 ("gst-plugins-base" ,gst-plugins-base)
4606 ("wayland" ,wayland)))
4607 (arguments
4608 `(#:disallowed-references (,xorg-server-for-tests)
4609 #:configure-flags (list "--enable-cogl-gst"
4610 "--enable-wayland-egl-platform"
4611 "--enable-wayland-egl-server"
4612
4613 ;; Arrange to pass an absolute file name to
4614 ;; dlopen for libGL.so.
4615 (string-append "--with-gl-libname="
4616 (assoc-ref %build-inputs "mesa")
4617 "/lib/libGL.so"))
4618 #:phases
4619 (modify-phases %standard-phases
4620 (add-after 'unpack 'fix-build-with-mesa-20
4621 (lambda _
4622 ;; Work around a problem with Mesa 20 where some macros used by
4623 ;; Cogl went missing from eglext.h. This can likely be removed
4624 ;; for newer versions of Cogl or Mesa.
4625 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
4626 (substitute* '("configure"
4627 "cogl/winsys/cogl-winsys-egl-kms.c")
4628 (("#include <EGL/eglext.h>" all)
4629 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
4630 #t))
4631 (add-before 'check 'start-xorg-server
4632 (lambda* (#:key tests? inputs #:allow-other-keys)
4633 (if tests?
4634 (begin
4635 ;; The test suite requires a running X server.
4636 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
4637 (assoc-ref inputs "xorg-server")))
4638 (setenv "DISPLAY" ":1")
4639 #t)
4640 (format #t "test suite not run~%"))
4641 #t)))))
4642 (home-page "https://www.cogl3d.org")
4643 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4644 (description
4645 "Cogl is a small library for using 3D graphics hardware to draw pretty
4646 pictures. The API departs from the flat state machine style of OpenGL and is
4647 designed to make it easy to write orthogonal components that can render
4648 without stepping on each others toes.")
4649 (license (list license:expat ; most of the code
4650 license:bsd-3 ; cogl/cogl-point-in-poly.c
4651 license:sgifreeb2.0 ; cogl-path/tesselator/
4652 license:asl2.0)))) ; examples/android/
4653
4654 (define-public clutter
4655 (package
4656 (name "clutter")
4657 (version "1.26.2")
4658 (source
4659 (origin
4660 (method url-fetch)
4661 (uri (string-append "mirror://gnome/sources/" name "/"
4662 (version-major+minor version) "/"
4663 name "-" version ".tar.xz"))
4664 (sha256
4665 (base32
4666 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4667 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4668 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4669 (build-system gnu-build-system)
4670 (outputs '("out"
4671 "doc")) ;9 MiB of gtk-doc HTML pages
4672 (native-inputs
4673 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4674 ("gobject-introspection" ,gobject-introspection)
4675 ("pkg-config" ,pkg-config)
4676 ("xsltproc" ,libxslt)))
4677 (propagated-inputs
4678 `(("cogl" ,cogl)
4679 ("cairo" ,cairo)
4680 ("atk" ,atk)
4681 ("gtk+" ,gtk+)
4682 ("json-glib" ,json-glib)
4683 ("glib" ,glib)
4684 ("libxcomposite" ,libxcomposite)
4685 ("libxdamage" ,libxdamage)
4686 ("libxext" ,libxext)
4687 ("xinput" ,xinput)))
4688 (inputs
4689 `(("libxkbcommon" ,libxkbcommon)
4690 ("udev" ,eudev)))
4691 (arguments
4692 `(#:configure-flags (list "--enable-x11-backend=yes"
4693
4694 ;; This produces share/doc/{clutter,cally}.
4695 (string-append "--with-html-dir="
4696 (assoc-ref %outputs "doc")
4697 "/share/doc"))
4698 ;; XXX FIXME: Get test suite working. It would probably fail in the
4699 ;; same way the cogl tests fail, since clutter is based on cogl.
4700 #:tests? #f))
4701 (home-page "http://www.clutter-project.org")
4702 (synopsis "OpenGL-based interactive canvas library")
4703 (description
4704 "Clutter is an OpenGL-based interactive canvas library, designed for
4705 creating fast, mainly 2D single window applications such as media box UIs,
4706 presentations, kiosk style applications and so on.")
4707 (license license:lgpl2.0+)))
4708
4709 (define-public clutter-gtk
4710 (package
4711 (name "clutter-gtk")
4712 (version "1.8.4")
4713 (source
4714 (origin
4715 (method url-fetch)
4716 (uri (string-append "mirror://gnome/sources/" name "/"
4717 (version-major+minor version) "/"
4718 name "-" version ".tar.xz"))
4719 (sha256
4720 (base32
4721 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4722 (build-system gnu-build-system)
4723 (native-inputs
4724 `(("pkg-config" ,pkg-config)
4725 ("gobject-introspection" ,gobject-introspection)))
4726 (propagated-inputs
4727 ;; clutter-gtk.pc refers to all these.
4728 `(("clutter" ,clutter)
4729 ("gtk+" ,gtk+)))
4730 (home-page "http://www.clutter-project.org")
4731 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4732 (description
4733 "Clutter is an OpenGL-based interactive canvas library, designed for
4734 creating fast, mainly 2D single window applications such as media box UIs,
4735 presentations, kiosk style applications and so on.")
4736 (license license:lgpl2.0+)))
4737
4738 (define-public clutter-gst
4739 (package
4740 (name "clutter-gst")
4741 (version "3.0.27")
4742 (source
4743 (origin
4744 (method url-fetch)
4745 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4746 (version-major+minor version) "/"
4747 "clutter-gst-" version ".tar.xz"))
4748 (sha256
4749 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4750 (build-system gnu-build-system)
4751 (native-inputs
4752 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4753 ("pkg-config" ,pkg-config)
4754 ("gobject-introspection" ,gobject-introspection)))
4755 (inputs
4756 `(("clutter" ,clutter)
4757 ("gstreamer" ,gstreamer)
4758 ("gst-plugins-base" ,gst-plugins-base)))
4759 (home-page "http://www.clutter-project.org")
4760 (synopsis "Integration library for using GStreamer with Clutter")
4761 (description
4762 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4763 It provides a GStreamer sink to upload frames to GL and an actor that
4764 implements the ClutterGstPlayer interface using playbin. Clutter is an
4765 OpenGL-based interactive canvas library.")
4766 (license license:lgpl2.0+)))
4767
4768 (define-public libchamplain
4769 (package
4770 (name "libchamplain")
4771 (version "0.12.16")
4772 (source (origin
4773 (method url-fetch)
4774 (uri (string-append
4775 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4776 version ".tar.xz"))
4777 (sha256
4778 (base32
4779 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4780 (build-system gnu-build-system)
4781 (arguments '(#:configure-flags '("--enable-vala")))
4782 (native-inputs
4783 `(("gobject-introspection" ,gobject-introspection)
4784 ("pkg-config" ,pkg-config)
4785 ("vala" ,vala)))
4786 (propagated-inputs
4787 `(("libsoup" ,libsoup)
4788 ("sqlite" ,sqlite)
4789 ("clutter" ,clutter)
4790 ("clutter-gtk" ,clutter-gtk)
4791 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4792 ("cairo" ,cairo)
4793 ("gtk+3" ,gtk+)
4794 ("glib" ,glib)))
4795 (home-page "https://projects.gnome.org/libchamplain/")
4796 (synopsis "C library providing a ClutterActor to display maps")
4797 (description
4798 "libchamplain is a C library providing a ClutterActor to display maps.
4799 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4800 and Perl bindings are also available. It supports numerous free map sources
4801 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4802 (license license:lgpl2.1+)))
4803
4804 (define-public gom
4805 (package
4806 (name "gom")
4807 (version "0.3.2")
4808 (source
4809 (origin
4810 (method url-fetch)
4811 (uri (string-append "mirror://gnome/sources/gom/"
4812 (version-major+minor version) "/"
4813 "gom-" version ".tar.xz"))
4814 (sha256
4815 (base32
4816 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4817 (build-system gnu-build-system)
4818 (native-inputs
4819 `(("intltool" ,intltool)
4820 ("pkg-config" ,pkg-config)
4821 ("gobject-introspection" ,gobject-introspection)))
4822 (inputs
4823 `(("glib" ,glib)
4824 ("gdk-pixbuf" ,gdk-pixbuf)
4825 ("sqlite" ,sqlite)))
4826 ;; XXX TODO: Figure out how to run the test suite.
4827 (arguments `(#:tests? #f))
4828 (home-page "https://wiki.gnome.org/Projects/Gom")
4829 (synopsis "Object mapper from GObjects to SQLite")
4830 (description
4831 "Gom provides an object mapper from GObjects to SQLite. It helps you
4832 write applications that need to store structured data as well as make complex
4833 queries upon that data.")
4834 (license license:lgpl2.1+)))
4835
4836 (define-public libgnome-games-support
4837 (package
4838 (name "libgnome-games-support")
4839 (version "1.4.4")
4840 (source (origin
4841 (method url-fetch)
4842 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4843 (version-major+minor version) "/"
4844 "libgnome-games-support-" version ".tar.xz"))
4845 (sha256
4846 (base32
4847 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4848 (build-system gnu-build-system)
4849 (arguments
4850 '(#:phases
4851 (modify-phases %standard-phases
4852 (add-before 'check 'pre-check
4853 (lambda _
4854 ;; Tests require a writable HOME.
4855 (setenv "HOME" (getcwd))
4856 #t)))))
4857 (native-inputs
4858 `(("intltool" ,intltool)
4859 ("pkg-config" ,pkg-config)
4860 ("vala" ,vala)))
4861 (propagated-inputs
4862 ;; Required by libgnome-games-support-1.0.pc
4863 `(("gtk+" ,gtk+)
4864 ("libgee" ,libgee)))
4865 (home-page "https://www.gnome.org/")
4866 (synopsis "Useful functionality shared among GNOME games")
4867 (description
4868 "libgnome-games-support is a small library intended for internal use by
4869 GNOME Games, but it may be used by others.")
4870 (license license:lgpl3+)))
4871
4872 (define-public gnome-klotski
4873 (package
4874 (name "gnome-klotski")
4875 (version "3.34.0")
4876 (source (origin
4877 (method url-fetch)
4878 (uri (string-append "mirror://gnome/sources/" name "/"
4879 (version-major+minor version) "/"
4880 name "-" version ".tar.xz"))
4881 (sha256
4882 (base32
4883 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
4884 (build-system meson-build-system)
4885 (arguments
4886 '(#:glib-or-gtk? #t
4887 #:phases
4888 (modify-phases %standard-phases
4889 (add-after 'unpack 'skip-gtk-update-icon-cache
4890 ;; Don't create 'icon-theme.cache'.
4891 (lambda _
4892 (substitute* "build-aux/meson_post_install.py"
4893 (("gtk-update-icon-cache") (which "true")))
4894 #t)))))
4895 (native-inputs
4896 `(("desktop-file-utils" ,desktop-file-utils)
4897 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4898 ("intltool" ,intltool)
4899 ("itstool" ,itstool)
4900 ("pkg-config" ,pkg-config)
4901 ("vala" ,vala)
4902 ("xmllint" ,libxml2)))
4903 (inputs
4904 `(("gtk+" ,gtk+)
4905 ("libgnome-games-support" ,libgnome-games-support)
4906 ("librsvg" ,librsvg)))
4907 (home-page "https://wiki.gnome.org/Apps/Klotski")
4908 (synopsis "Sliding block puzzles")
4909 (description
4910 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4911 the patterned block to the area bordered by green markers. To do so, you will
4912 need to slide other blocks out of the way. Complete each puzzle in as few moves
4913 as possible!")
4914 (license license:gpl2+)))
4915
4916 (define-public grilo
4917 (package
4918 (name "grilo")
4919 (version "0.3.10")
4920 (source
4921 (origin
4922 (method url-fetch)
4923 (uri (string-append "mirror://gnome/sources/" name "/"
4924 (version-major+minor version) "/"
4925 name "-" version ".tar.xz"))
4926 (sha256
4927 (base32
4928 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4929 (build-system meson-build-system)
4930 (native-inputs
4931 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4932 ("intltool" ,intltool)
4933 ("pkg-config" ,pkg-config)
4934 ("gobject-introspection" ,gobject-introspection)
4935 ("gtk-doc" ,gtk-doc)
4936 ("vala" ,vala)))
4937 (inputs
4938 `(("cyrus-sasl" ,cyrus-sasl)
4939 ("glib" ,glib)
4940 ("gtk+" ,gtk+)
4941 ("libxml2" ,libxml2)
4942 ("liboauth" ,liboauth)
4943 ("libsoup" ,libsoup)
4944 ("totem-pl-parser" ,totem-pl-parser)))
4945 (native-search-paths
4946 (list (search-path-specification
4947 (variable "GRL_PLUGIN_PATH")
4948 (files (list (string-append "lib/grilo-"
4949 (version-major+minor version)))))))
4950 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4951 (synopsis "Framework for discovering and browsing media")
4952 (description
4953 "Grilo is a framework focused on making media discovery and browsing easy
4954 for application developers.")
4955 (license license:lgpl2.1+)))
4956
4957 (define-public grilo-plugins
4958 (package
4959 (name "grilo-plugins")
4960 (version "0.3.10")
4961 (source
4962 (origin
4963 (method url-fetch)
4964 (uri (string-append "mirror://gnome/sources/" name "/"
4965 (version-major+minor version) "/"
4966 name "-" version ".tar.xz"))
4967 (sha256
4968 (base32
4969 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4970 (build-system meson-build-system)
4971 (native-inputs
4972 `(("gettext" ,gettext-minimal)
4973 ("glib:bin" ,glib "bin")
4974 ("gtk+:bin" ,gtk+ "bin")
4975 ("itstool" ,itstool)
4976 ("pkg-config" ,pkg-config)))
4977 ;; TODO: ahavi, gstreamer
4978 (inputs
4979 `(("grilo" ,grilo)
4980 ;("gmime" ,gmime) ; unused
4981 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4982 ("gom" ,gom)
4983 ;("gssdp" ,gssdp) ; unused
4984 ;("gupnp" ,gupnp) ; unused
4985 ;("gupnp-av" ,gupnp-av) ; unused
4986 ("json-glib" ,json-glib)
4987 ("avahi" ,avahi)
4988 ("libgdata" ,libgdata)
4989 ("libmediaart" ,libmediaart)
4990 ;("librest" ,rest) ; unused
4991 ("libsoup" ,libsoup)
4992 ("totam-pl-parser" ,totem-pl-parser)
4993 ("tracker" ,tracker))) ; unused because it's too old
4994 (arguments
4995 `(#:glib-or-gtk? #t
4996 ;;Disable lua-factory as it needs missing dependencies
4997 #:configure-flags '("-Denable-lua-factory=no")))
4998 (home-page "https://live.gnome.org/Grilo")
4999 (synopsis "Plugins for the Grilo media discovery library")
5000 (description
5001 "Grilo is a framework focused on making media discovery and browsing easy
5002 for application developers. This package provides plugins for common media
5003 discovery protocols.")
5004 (license license:lgpl2.1+)))
5005
5006 (define-public totem
5007 (package
5008 (name "totem")
5009 (version "3.34.1")
5010 (source
5011 (origin
5012 (method url-fetch)
5013 (uri (string-append "mirror://gnome/sources/totem/"
5014 (version-major+minor version) "/"
5015 "totem-" version ".tar.xz"))
5016 (sha256
5017 (base32
5018 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
5019 (build-system meson-build-system)
5020 (native-inputs
5021 `(("pkg-config" ,pkg-config)
5022 ("desktop-file-utils" ,desktop-file-utils)
5023 ("gobject-introspection" ,gobject-introspection)
5024 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
5025 ("intltool" ,intltool)
5026 ("itstool" ,itstool)
5027 ("xmllint" ,libxml2)
5028 ("xorg-server" ,xorg-server-for-tests)))
5029 (propagated-inputs
5030 `(("dconf" ,dconf)))
5031 (inputs
5032 `(("gtk+" ,gtk+)
5033 ("gdk-pixbuf" ,gdk-pixbuf)
5034 ("atk" ,atk)
5035 ("cairo" ,cairo)
5036 ("dbus-glib" ,dbus-glib)
5037 ("clutter" ,clutter)
5038 ("clutter-gtk" ,clutter-gtk)
5039 ("clutter-gst" ,clutter-gst)
5040 ("xorgproto" ,xorgproto)
5041 ("libxxf86vm" ,libxxf86vm)
5042 ("libxtst" ,libxtst)
5043 ("libxrandr" ,libxrandr)
5044 ("libxml2" ,libxml2)
5045 ("libsoup" ,libsoup)
5046 ("libpeas" ,libpeas)
5047 ("librsvg" ,librsvg)
5048 ("lirc" ,lirc)
5049 ("gnome-desktop" ,gnome-desktop)
5050 ("gstreamer" ,gstreamer)
5051 ("gst-plugins-base" ,gst-plugins-base)
5052 ("gst-plugins-good" ,gst-plugins-good)
5053 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5054 ("adwaita-icon-theme" ,adwaita-icon-theme)
5055 ("python" ,python)
5056 ("python-pygobject" ,python-pygobject)
5057 ("totem-pl-parser" ,totem-pl-parser)
5058 ("grilo" ,grilo)
5059 ("grilo-plugins" ,grilo-plugins)
5060 ("vala" ,vala)))
5061 (arguments
5062 `(#:glib-or-gtk? #t
5063
5064 ;; Disable automatic GStreamer plugin installation via PackageKit and
5065 ;; all that.
5066 #:configure-flags '("-D" "enable-easy-codec-installation=no"
5067
5068 ;; Do not build .a files for the plugins, it's
5069 ;; completely useless. This saves 2 MiB.
5070 "--default-library" "shared")
5071 #:phases
5072 (modify-phases %standard-phases
5073 (add-after 'unpack 'skip-gtk-update-icon-cache
5074 ;; Don't create 'icon-theme.cache'.
5075 (lambda _
5076 (substitute* "meson_post_install.py"
5077 (("gtk-update-icon-cache") "true"))
5078 #t))
5079 (add-before
5080 'install 'disable-cache-generation
5081 (lambda _
5082 (setenv "DESTDIR" "/")
5083 #t))
5084 (add-before
5085 'check 'pre-check
5086 (lambda _
5087 ;; Tests require a running X server.
5088 (system "Xvfb :1 &")
5089 (setenv "DISPLAY" ":1")
5090 #t))
5091 (add-after
5092 'install 'wrap-totem
5093 (lambda* (#:key inputs outputs #:allow-other-keys)
5094 (let ((out (assoc-ref outputs "out"))
5095 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5096 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5097 (wrap-program (string-append out "/bin/totem")
5098 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5099 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5100 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5101 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
5102 #t)))))
5103 (home-page "https://wiki.gnome.org/Apps/Videos")
5104 (synopsis "Simple media player for GNOME based on GStreamer")
5105 (description "Totem is a simple yet featureful media player for GNOME
5106 which can read a large number of file formats.")
5107 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5108 ;; to be used and distributed together with GStreamer and Totem. See
5109 ;; file://COPYING in the source distribution for details.
5110 (license license:gpl2+)))
5111
5112 (define-public rhythmbox
5113 (package
5114 (name "rhythmbox")
5115 (version "3.4.4")
5116 (source (origin
5117 (method url-fetch)
5118 (uri (string-append "mirror://gnome/sources/rhythmbox/"
5119 (version-major+minor version) "/"
5120 "rhythmbox-" version ".tar.xz"))
5121 (sha256
5122 (base32
5123 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5124 (build-system glib-or-gtk-build-system)
5125 (arguments
5126 `(#:configure-flags
5127 (list "--enable-lirc"
5128 "--enable-python"
5129 "--enable-vala"
5130 "--with-brasero"
5131 "--with-gudev"
5132 "--with-libsecret")
5133 #:phases
5134 (modify-phases %standard-phases
5135 (add-after
5136 'install 'wrap-rhythmbox
5137 (lambda* (#:key inputs outputs #:allow-other-keys)
5138 (let ((out (assoc-ref outputs "out"))
5139 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5140 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5141 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5142 (python-path (getenv "PYTHONPATH")))
5143 (wrap-program (string-append out "/bin/rhythmbox")
5144 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5145 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5146 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5147 `("PYTHONPATH" ":" prefix (,python-path))))
5148 #t)))))
5149 (propagated-inputs
5150 `(("dconf" ,dconf)))
5151 (native-inputs
5152 `(("itstool" ,itstool)
5153 ("intltool" ,intltool)
5154 ("glib" ,glib "bin")
5155 ("gobject-introspection" ,gobject-introspection)
5156 ("desktop-file-utils" ,desktop-file-utils)
5157 ("pkg-config" ,pkg-config)
5158 ("xmllint" ,libxml2)))
5159 (inputs
5160 `(("json-glib" ,json-glib)
5161 ("tdb" ,tdb)
5162 ("gnome-desktop" ,gnome-desktop)
5163 ("python" ,python)
5164 ("python-pygobject" ,python2-pygobject)
5165 ("vala" ,vala)
5166 ("gmime" ,gmime)
5167 ("adwaita-icon-theme" ,adwaita-icon-theme)
5168 ("grilo" ,grilo)
5169 ("grilo-plugins" ,grilo-plugins)
5170 ("gstreamer" ,gstreamer)
5171 ("gst-plugins-base" ,gst-plugins-base)
5172 ("gst-plugins-good" ,gst-plugins-good)
5173 ("totem-pl-parser" ,totem-pl-parser)
5174 ("libgudev" ,libgudev)
5175 ;;("libmtp" ,libmtp) FIXME: Not detected
5176 ("libsecret" ,libsecret)
5177 ("libsoup" ,libsoup)
5178 ("libnotify" ,libnotify)
5179 ("libpeas" ,libpeas)
5180 ("lirc" ,lirc)
5181 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5182 ;;("clutter" ,clutter)
5183 ;;("clutter-gtk" ,clutter-gtk)
5184 ;;("clutter-gst" ,clutter-gst)
5185 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5186 ("atk" ,atk)
5187 ("pango" ,pango)
5188 ("gtk+" ,gtk+)
5189 ;; TODO:
5190 ;; * libgpod
5191 ;; * mx
5192 ("brasero" ,brasero)))
5193 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5194 (synopsis "Music player for GNOME")
5195 (description "Rhythmbox is a music playing application for GNOME. It
5196 supports playlists, song ratings, and any codecs installed through gstreamer.")
5197 (license license:gpl2+)))
5198
5199 (define-public eog
5200 (package
5201 (name "eog")
5202 (version "3.34.1")
5203 (source (origin
5204 (method url-fetch)
5205 (uri (string-append "mirror://gnome/sources/" name "/"
5206 (version-major+minor version) "/"
5207 name "-" version ".tar.xz"))
5208 (sha256
5209 (base32
5210 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5211 (build-system meson-build-system)
5212 (arguments
5213 `(#:configure-flags
5214 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5215 (list (string-append "-Dc_link_args=-Wl,-rpath="
5216 (assoc-ref %outputs "out") "/lib/eog"))
5217 #:phases
5218 (modify-phases %standard-phases
5219 (add-after 'unpack 'skip-gtk-update-icon-cache
5220 ;; Don't create 'icon-theme.cache'.
5221 (lambda _
5222 (substitute* "meson_post_install.py"
5223 (("gtk-update-icon-cache") "true"))
5224 #t))
5225 (add-after 'install 'wrap-eog
5226 (lambda* (#:key outputs #:allow-other-keys)
5227 (let ((out (assoc-ref outputs "out"))
5228 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5229 (wrap-program (string-append out "/bin/eog")
5230 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5231 #t)))))
5232 (propagated-inputs
5233 `(("dconf" ,dconf)))
5234 (native-inputs
5235 `(("intltool" ,intltool)
5236 ("itstool" ,itstool)
5237 ("glib" ,glib "bin")
5238 ("gobject-introspection" ,gobject-introspection)
5239 ("pkg-config" ,pkg-config)
5240 ("xmllint" ,libxml2)))
5241 (inputs
5242 `(("gnome-desktop" ,gnome-desktop)
5243 ("shared-mime-info" ,shared-mime-info)
5244 ("adwaita-icon-theme" ,adwaita-icon-theme)
5245 ("exempi" ,exempi)
5246 ("lcms" ,lcms)
5247 ("libexif" ,libexif)
5248 ("libpeas" ,libpeas)
5249 ("libjpeg" ,libjpeg-turbo)
5250 ("librsvg" ,librsvg-next)
5251 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5252 ("gtk+" ,gtk+)))
5253 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5254 (synopsis "GNOME image viewer")
5255 (description "Eye of GNOME is the GNOME image viewer. It
5256 supports image conversion, rotation, and slideshows.")
5257 (license license:gpl2+)))
5258
5259 (define-public eog-plugins
5260 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5261 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5262 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5263 ;; 'XDG_DATA_DIRS' appropriately set.
5264 (package
5265 (name "eog-plugins")
5266 (version "3.26.4")
5267 (source (origin
5268 (method url-fetch)
5269 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5270 (version-major+minor version) "/"
5271 "eog-plugins-" version ".tar.xz"))
5272 (sha256
5273 (base32
5274 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5275 (build-system gnu-build-system)
5276 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5277 (synopsis "Extensions for the Eye of GNOME image viewer")
5278 (native-inputs
5279 `(("pkg-config" ,pkg-config)
5280 ("gettext" ,gettext-minimal)))
5281 (inputs
5282 `(("eog" ,eog)
5283 ("glib" ,glib)
5284 ("gtk+" ,gtk+)
5285 ("libpeas" ,libpeas)
5286 ("libexif" ,libexif)
5287 ("libchamplain" ,libchamplain)))
5288 (description
5289 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5290 notably:
5291
5292 @itemize
5293 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5294 @item @dfn{Map}, which displays a map of where the picture was taken on the
5295 side panel;
5296 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5297 @end itemize\n")
5298
5299 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5300 ;; long suspicious byte stream that goes to a
5301 ;; ".gresource.eog_postasa_plugin" ELF section.
5302 (license license:gpl2+)))
5303
5304 (define-public libgudev
5305 (package
5306 (name "libgudev")
5307 (version "232")
5308 (source (origin
5309 (method url-fetch)
5310 (uri (string-append "mirror://gnome/sources/" name "/"
5311 version "/" name "-" version ".tar.xz"))
5312 (sha256
5313 (base32
5314 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5315 (build-system gnu-build-system)
5316 (arguments
5317 '(#:configure-flags
5318 ;; umockdev depends on libgudev.
5319 (list "--disable-umockdev")))
5320 (native-inputs
5321 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5322 ("gobject-introspection" ,gobject-introspection)
5323 ("pkg-config" ,pkg-config)))
5324 (propagated-inputs
5325 `(("glib" ,glib))) ; required by gudev-1.0.pc
5326 (inputs
5327 `(("udev" ,eudev)))
5328 (home-page "https://wiki.gnome.org/Projects/libgudev")
5329 (synopsis "GObject bindings for libudev")
5330 (description
5331 "This library provides GObject bindings for libudev. It was originally
5332 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5333 (license license:lgpl2.1+)))
5334
5335 (define-public gvfs
5336 (package
5337 (name "gvfs")
5338 (version "1.40.1")
5339 (source (origin
5340 (method url-fetch)
5341 (uri (string-append "mirror://gnome/sources/gvfs/"
5342 (version-major+minor version) "/"
5343 "gvfs-" version ".tar.xz"))
5344 (sha256
5345 (base32
5346 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
5347 ;; This patch may be removed when upgrading to version 1.46.x.
5348 (patches
5349 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
5350 (build-system meson-build-system)
5351 (arguments
5352 '(#:glib-or-gtk? #t
5353 #:configure-flags
5354 (list "-Dsystemduserunitdir=no"
5355 "-Dtmpfilesdir=no"
5356 ;; Otherwise, the RUNPATH will lack the final path component.
5357 (string-append "-Dc_link_args=-Wl,-rpath="
5358 (assoc-ref %outputs "out") "/lib/gvfs"))))
5359 (native-inputs
5360 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5361 ("gettext" ,gettext-minimal)
5362 ("gtk-doc" ,gtk-doc)
5363 ("pkg-config" ,pkg-config)
5364 ("xsltproc" ,libxslt)))
5365 (inputs
5366 `(("avahi" ,avahi)
5367 ("docbook-xml" ,docbook-xml-4.2)
5368 ("docbook-xsl" ,docbook-xsl)
5369 ("dbus" ,dbus)
5370 ("elogind" ,elogind)
5371 ("fuse" ,fuse)
5372 ("gcr" ,gcr)
5373 ("glib" ,glib)
5374 ("gnome-online-accounts" ,gnome-online-accounts)
5375 ("libarchive" ,libarchive)
5376 ("libbluray" ,libbluray)
5377 ("libcap" ,libcap)
5378 ("libcdio-paranoia" ,libcdio-paranoia)
5379 ("libgcrypt" ,libgcrypt)
5380 ("libgdata" ,libgdata)
5381 ("libgphoto2" ,libgphoto2)
5382 ("libgudev" ,libgudev)
5383 ("libimobiledevice" ,libimobiledevice)
5384 ("libmtp" ,libmtp)
5385 ("libnfs" ,libnfs)
5386 ("libsecret" ,libsecret)
5387 ("libsmbclient" ,samba)
5388 ("libsoup" ,libsoup)
5389 ("libxml2" ,libxml2)
5390 ("openssh" ,openssh)
5391 ("polkit" ,polkit)
5392 ("udisks" ,udisks)))
5393 (home-page "https://wiki.gnome.org/gvfs/")
5394 (synopsis "Userspace virtual file system for GIO")
5395 (description
5396 "GVFS is a userspace virtual file system designed to work with the I/O
5397 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5398 to all applications using the GIO API. It also supports exposing the GVFS
5399 mounts to non-GIO applications using FUSE.
5400
5401 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5402 DAV, and others.")
5403 (license license:lgpl2.0+)))
5404
5405 (define-public gusb
5406 (package
5407 (name "gusb")
5408 (version "0.3.0")
5409 (source (origin
5410 (method git-fetch)
5411 (uri (git-reference
5412 (url "https://github.com/hughsie/libgusb")
5413 (commit version)))
5414 (file-name (git-file-name name version))
5415 (sha256
5416 (base32
5417 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5418 (build-system meson-build-system)
5419 (native-inputs
5420 `(("gobject-introspection" ,gobject-introspection)
5421 ("pkg-config" ,pkg-config)
5422 ("vala" ,vala)
5423 ("gtk-doc" ,gtk-doc)))
5424 (propagated-inputs
5425 ;; Both of these are required by gusb.pc.
5426 `(("glib" ,glib)
5427 ("libusb" ,libusb)))
5428 (arguments
5429 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5430 (home-page "https://github.com/hughsie/libgusb")
5431 (synopsis "GLib binding for libusb1")
5432 (description
5433 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5434 asynchronous control, bulk and interrupt transfers with proper cancellation
5435 and integration into a mainloop. This makes it easy to integrate low level
5436 USB transfers with your high-level application or system daemon.")
5437 (license license:lgpl2.1+)))
5438
5439 (define-public simple-scan
5440 (package
5441 (name "simple-scan")
5442 (version "3.36.3")
5443 (source
5444 (origin
5445 (method url-fetch)
5446 (uri (string-append "mirror://gnome/sources/simple-scan/"
5447 (version-major+minor version) "/"
5448 "simple-scan-" version ".tar.xz"))
5449 (sha256
5450 (base32 "0gsz7jqk0fdj0mama3cnss9i1adw18cpdnlcjcjh4r5qijmvx0vh"))))
5451 (build-system meson-build-system)
5452 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5453 (arguments
5454 '(#:glib-or-gtk? #t))
5455 (inputs
5456 `(("gtk" ,gtk+)
5457 ("zlib" ,zlib)
5458 ("cairo" ,cairo)
5459 ("colord" ,colord)
5460 ("gdk-pixbuf" ,gdk-pixbuf)
5461 ("gusb" ,gusb)
5462 ("libsane" ,sane-backends)))
5463 (native-inputs
5464 `(("gettext" ,gettext-minimal)
5465 ("itstool" ,itstool)
5466 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5467 ("pkg-config" ,pkg-config)
5468 ("vala" ,vala)
5469 ("xmllint" ,libxml2)))
5470 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5471 (synopsis "Document and image scanner")
5472 (description
5473 "Document Scanner is an easy-to-use application that lets you connect your
5474 scanner and quickly capture images and documents in an appropriate format. It
5475 supports any scanner for which a suitable SANE driver is available, which is
5476 almost all of them.")
5477 (license license:gpl3+)))
5478
5479 (define-public eolie
5480 (package
5481 (name "eolie")
5482 (version "0.9.98.1")
5483 (source (origin
5484 (method url-fetch)
5485 (uri (string-append "https://adishatz.org/eolie/eolie-"
5486 version ".tar.xz"))
5487 (sha256
5488 (base32
5489 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5490 (build-system meson-build-system)
5491 (arguments
5492 `(#:glib-or-gtk? #t
5493 #:phases
5494 (modify-phases %standard-phases
5495 (add-after 'unpack 'skip-gtk-update-icon-cache
5496 ;; Don't create 'icon-theme.cache'.
5497 (lambda _
5498 (substitute* "meson_post_install.py"
5499 (("gtk-update-icon-cache") "true"))
5500 #t))
5501 (add-after 'wrap 'wrap-more
5502 (lambda* (#:key inputs outputs #:allow-other-keys)
5503 (let* ((out (assoc-ref outputs "out"))
5504 ;; These libraries must be on LD_LIBRARY_PATH.
5505 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5506 "atk" "gtk+" "gsettings-desktop-schemas"
5507 "gobject-introspection"))
5508 (path (string-join
5509 (map (lambda (lib)
5510 (string-append (assoc-ref inputs lib) "/lib"))
5511 libs)
5512 ":")))
5513 (wrap-program (string-append out "/bin/eolie")
5514 `("LD_LIBRARY_PATH" ":" prefix (,path))
5515 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5516 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5517 #t)))))
5518 (native-inputs
5519 `(("intltool" ,intltool)
5520 ("itstool" ,itstool)
5521 ("pkg-config" ,pkg-config)
5522 ("python" ,python)
5523 ("glib:bin" ,glib "bin")))
5524 (inputs
5525 `(("gobject-introspection" ,gobject-introspection)
5526 ("glib-networking" ,glib-networking)
5527 ("cairo" ,cairo)
5528 ("gtk+" ,gtk+)
5529 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5530 ("python" ,python-wrapper)
5531 ("python-dateutil" ,python-dateutil)
5532 ("python-pyfxa" ,python-pyfxa)
5533 ("python-pygobject" ,python-pygobject)
5534 ("python-pycairo" ,python-pycairo)
5535 ("python-pycrypto" ,python-pycrypto)
5536 ("libsecret" ,libsecret)
5537 ("gtkspell3" ,gtkspell3)
5538 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5539 ("webkitgtk" ,webkitgtk)))
5540 (home-page "https://wiki.gnome.org/Apps/Eolie")
5541 (synopsis "Web browser for GNOME")
5542 (description
5543 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5544 a secret password store, an adblocker, and a modern UI.")
5545 (license license:gpl3+)))
5546
5547 (define-public epiphany
5548 (package
5549 (name "epiphany")
5550 (version "3.34.4")
5551 (source (origin
5552 (method url-fetch)
5553 (uri (string-append "mirror://gnome/sources/epiphany/"
5554 (version-major+minor version) "/"
5555 "epiphany-" version ".tar.xz"))
5556 (sha256
5557 (base32
5558 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
5559
5560 (build-system meson-build-system)
5561 (arguments
5562 '(#:glib-or-gtk? #t
5563 #:phases
5564 (modify-phases %standard-phases
5565 (add-after 'unpack 'skip-gtk-update-icon-cache
5566 ;; Don't create 'icon-theme.cache'.
5567 (lambda _
5568 (substitute* "post_install.py"
5569 (("gtk-update-icon-cache") "true"))
5570 #t))
5571 (add-after 'unpack 'disable-failing-tests
5572 (lambda _
5573 (substitute* "tests/meson.build"
5574 ;; embed_shell fails, because webkitgtk apparently no longer supports
5575 ;; overriding the ftp schema
5576 ;; web_app_utils fails due to missing network access
5577 (("(embed_shell|web_app_utils)_test,")
5578 "find_program('sh'), args: ['-c', 'exit 77'],"))
5579 #t))
5580 (add-before 'check 'pre-check
5581 (lambda _
5582 ;; Tests require a running X server.
5583 (system "Xvfb :1 &")
5584 (setenv "DISPLAY" ":1")
5585 #t)))
5586 #:configure-flags
5587 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5588 (list (string-append "-Dc_link_args=-Wl,-rpath="
5589 (assoc-ref %outputs "out") "/lib/epiphany"))))
5590 (propagated-inputs
5591 `(("dconf" ,dconf)))
5592 (native-inputs
5593 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5594 ("glib:bin" ,glib "bin") ; for glib-mkenums
5595 ("intltool" ,intltool)
5596 ("itstool" ,itstool)
5597 ("pkg-config" ,pkg-config)
5598 ("xmllint" ,libxml2)
5599 ("xorg-server" ,xorg-server-for-tests)))
5600 (inputs
5601 `(("avahi" ,avahi)
5602 ("gcr" ,gcr)
5603 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5604 ("glib-networking" ,glib-networking)
5605 ("gnome-desktop" ,gnome-desktop)
5606 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5607 ("json-glib" ,json-glib)
5608 ("iso-codes" ,iso-codes)
5609 ("libdazzle" ,libdazzle)
5610 ("libnotify" ,libnotify)
5611 ("libsecret" ,libsecret)
5612 ("libxslt" ,libxslt)
5613 ("nettle" ,nettle) ; for hogweed
5614 ("sqlite" ,sqlite)
5615 ("webkitgtk" ,webkitgtk)))
5616 (home-page "https://wiki.gnome.org/Apps/Web")
5617 (synopsis "GNOME web browser")
5618 (description
5619 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5620 principles are simplicity and standards compliance.")
5621 (license license:gpl2+)))
5622
5623 (define-public d-feet
5624 (package
5625 (name "d-feet")
5626 (version "0.3.14")
5627 (source (origin
5628 (method url-fetch)
5629 (uri (string-append "mirror://gnome/sources/" name "/"
5630 (version-major+minor version) "/"
5631 name "-" version ".tar.xz"))
5632 (sha256
5633 (base32
5634 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5635 (build-system glib-or-gtk-build-system)
5636 (arguments
5637 '(#:out-of-source? #f ; tests need to run in the source directory.
5638 #:phases
5639 (modify-phases %standard-phases
5640 (add-before
5641 'check 'pre-check
5642 (lambda _
5643 ;; The test suite requires a running X server.
5644 (system "Xvfb :1 &")
5645 (setenv "DISPLAY" ":1")
5646 ;; Don't fail on missing '/etc/machine-id'.
5647 (setenv "DBUS_FATAL_WARNINGS" "0")
5648 ;; tests.py and window.py don't meet E402:
5649 ;; E402 module level import not at top of file
5650 (substitute* "src/tests/Makefile"
5651 (("--ignore=E123") "--ignore=E123,E402"))
5652 #t))
5653 (add-after
5654 'install 'wrap-program
5655 (lambda* (#:key outputs #:allow-other-keys)
5656 (let ((prog (string-append (assoc-ref outputs "out")
5657 "/bin/d-feet")))
5658 (wrap-program prog
5659 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5660 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5661 #t))))))
5662 (native-inputs
5663 `(("intltool" ,intltool)
5664 ("itstool" ,itstool)
5665 ("pkg-config" ,pkg-config)
5666 ("python-pep8" ,python-pep8)
5667 ("xmllint" ,libxml2)
5668 ("xorg-server" ,xorg-server-for-tests)))
5669 (inputs
5670 `(("gobject-introspection" ,gobject-introspection)
5671 ("gtk+" ,gtk+)
5672 ("python" ,python-wrapper)
5673 ("hicolor-icon-theme" ,hicolor-icon-theme)
5674 ("python-pygobject" ,python-pygobject)))
5675 (home-page "https://wiki.gnome.org/Apps/DFeet")
5676 (synopsis "D-Bus debugger")
5677 (description
5678 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5679 of running programs and invoke methods on those interfaces.")
5680 (license license:gpl2+)))
5681
5682 (define-public yelp-xsl
5683 (package
5684 (name "yelp-xsl")
5685 (version "3.34.2")
5686 (source (origin
5687 (method url-fetch)
5688 (uri (string-append "mirror://gnome/sources/" name "/"
5689 (version-major+minor version) "/"
5690 name "-" version ".tar.xz"))
5691 (sha256
5692 (base32
5693 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
5694 (build-system gnu-build-system)
5695 (native-inputs
5696 `(("gettext-minimal" ,gettext-minimal)
5697 ("itstool" ,itstool)
5698 ("xmllint" ,libxml2)))
5699 (home-page "https://wiki.gnome.org/Apps/Yelp")
5700 (synopsis "XSL stylesheets for Yelp")
5701 (description
5702 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5703 to format Docbook and Mallard documents.")
5704 (license license:gpl2+)))
5705
5706 (define-public yelp
5707 (package
5708 (name "yelp")
5709 (version "3.32.2")
5710 (source (origin
5711 (method url-fetch)
5712 (uri (string-append "mirror://gnome/sources/" name "/"
5713 (version-major+minor version) "/"
5714 name "-" version ".tar.xz"))
5715 (sha256
5716 (base32
5717 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5718 (build-system glib-or-gtk-build-system)
5719 (native-inputs
5720 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5721 ("intltool" ,intltool)
5722 ("itstool" ,itstool)
5723 ("pkg-config" ,pkg-config)))
5724 (propagated-inputs
5725 `(("dconf" ,dconf)))
5726 (inputs
5727 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5728 ("libxslt" ,libxslt)
5729 ("sqlite" ,sqlite)
5730 ("webkitgtk" ,webkitgtk)
5731 ("yelp-xsl" ,yelp-xsl)))
5732 (home-page "https://wiki.gnome.org/Apps/Yelp")
5733 (synopsis "GNOME help browser")
5734 (description
5735 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5736 man, info, and HTML documents. It can locate documents according to the
5737 freedesktop.org help system specification.")
5738 (license license:gpl2+)))
5739
5740 (define-public yelp-tools
5741 (package
5742 (name "yelp-tools")
5743 (version "3.32.2")
5744 (source (origin
5745 (method url-fetch)
5746 (uri (string-append "mirror://gnome/sources/" name "/"
5747 (version-major+minor version) "/"
5748 name "-" version ".tar.xz"))
5749 (sha256
5750 (base32
5751 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
5752 (build-system gnu-build-system)
5753 (native-inputs
5754 `(("pkg-config" ,pkg-config)))
5755 (propagated-inputs
5756 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5757 `(("itstool" ,itstool)
5758 ("xmllint" ,libxml2)
5759 ("xsltproc" ,libxslt)))
5760 (inputs
5761 `(("yelp-xsl" ,yelp-xsl)))
5762 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5763 (synopsis "Yelp documentation tools")
5764 (description
5765 "Yelp-tools is a collection of scripts and build utilities to help create,
5766 manage, and publish documentation for Yelp and the web. Most of the heavy
5767 lifting is done by packages like yelp-xsl and itstool. This package just
5768 wraps things up in a developer-friendly way.")
5769 (license license:gpl2+)))
5770
5771 (define-public libgee
5772 (package
5773 (name "libgee")
5774 (version "0.20.3")
5775 (source (origin
5776 (method url-fetch)
5777 (uri (string-append "mirror://gnome/sources/libgee/"
5778 (version-major+minor version) "/"
5779 "libgee-" version ".tar.xz"))
5780 (sha256
5781 (base32
5782 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5783 (build-system gnu-build-system)
5784 (arguments
5785 `(#:phases
5786 (modify-phases %standard-phases
5787 (add-after 'unpack 'fix-introspection-install-dir
5788 (lambda* (#:key outputs #:allow-other-keys)
5789 (let ((out (assoc-ref outputs "out")))
5790 (substitute* "gee/Makefile.in"
5791 (("@INTROSPECTION_GIRDIR@")
5792 (string-append out "/share/gir-1.0/"))
5793 (("@INTROSPECTION_TYPELIBDIR@")
5794 (string-append out "/lib/girepository-1.0/")))))))))
5795 (native-inputs
5796 `(("glib" ,glib "bin")
5797 ("pkg-config" ,pkg-config)))
5798 (inputs
5799 `(("glib" ,glib)
5800 ("gobject-introspection" ,gobject-introspection)))
5801 (home-page "https://wiki.gnome.org/Projects/Libgee")
5802 (synopsis "GObject collection library")
5803 (description
5804 "Libgee is a utility library providing GObject-based interfaces and
5805 classes for commonly used data structures.")
5806 (license license:lgpl2.1+)))
5807
5808 (define-public gexiv2
5809 (package
5810 (name "gexiv2")
5811 (version "0.12.1")
5812 (source (origin
5813 (method url-fetch)
5814 (uri (string-append "mirror://gnome/sources/" name "/"
5815 (version-major+minor version) "/"
5816 name "-" version ".tar.xz"))
5817 (sha256
5818 (base32
5819 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
5820 (build-system meson-build-system)
5821 (native-inputs
5822 `(("gcr" ,gcr)
5823 ("glib" ,glib "bin")
5824 ("pkg-config" ,pkg-config)
5825 ("vala" ,vala)))
5826 (propagated-inputs
5827 ;; Listed in "Requires" section of gexiv2.pc
5828 `(("exiv2" ,exiv2)))
5829 (inputs
5830 `(("glib" ,glib)
5831 ("gobject-introspection" ,gobject-introspection)))
5832 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5833 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5834 (description
5835 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5836 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5837 metadata in photo and video files of various formats.")
5838 (license license:gpl2+)))
5839
5840 (define-public shotwell
5841 (package
5842 (name "shotwell")
5843 (version "0.30.9")
5844 (source (origin
5845 (method url-fetch)
5846 (uri (string-append "mirror://gnome/sources/shotwell/"
5847 (version-major+minor version) "/"
5848 "shotwell-" version ".tar.xz"))
5849 (sha256
5850 (base32
5851 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
5852 (build-system meson-build-system)
5853 (arguments
5854 '(#:glib-or-gtk? #t
5855 #:phases
5856 (modify-phases %standard-phases
5857 (add-after 'unpack 'skip-gtk-update-icon-cache
5858 (lambda _
5859 (substitute* "build-aux/meson/postinstall.py"
5860 (("gtk-update-icon-cache") (which "true"))
5861 (("update-desktop-database") (which "true")))
5862 #t)))))
5863 (propagated-inputs
5864 `(("dconf" ,dconf)))
5865 (native-inputs
5866 `(("gettext" ,gettext-minimal)
5867 ("glib:bin" ,glib "bin")
5868 ("itstool" ,itstool)
5869 ("pkg-config" ,pkg-config)
5870 ("vala" ,vala)))
5871 (inputs
5872 `(("gcr" ,gcr)
5873 ("gexiv2" ,gexiv2)
5874 ("gst-plugins-base" ,gst-plugins-base)
5875 ("gstreamer" ,gstreamer)
5876 ("json-glib" ,json-glib)
5877 ("libgdata" ,libgdata)
5878 ("libgee" ,libgee)
5879 ("libgphoto2" ,libgphoto2)
5880 ("libgudev" ,libgudev)
5881 ("libraw" ,libraw)
5882 ("libsoup" ,libsoup)
5883 ("libxml2" ,libxml2)
5884 ("sqlite" ,sqlite)
5885 ("webkitgtk" ,webkitgtk)))
5886 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5887 (synopsis "Photo manager for GNOME 3")
5888 (description
5889 "Shotwell is a digital photo manager designed for the GNOME desktop
5890 environment. It allows you to import photos from disk or camera, organize
5891 them by keywords and events, view them in full-window or fullscreen mode, and
5892 share them with others via social networking and more.")
5893 (license license:lgpl2.1+)))
5894
5895 (define-public file-roller
5896 (package
5897 (name "file-roller")
5898 (version "3.32.3")
5899 (source (origin
5900 (method url-fetch)
5901 (uri (string-append "mirror://gnome/sources/file-roller/"
5902 (version-major+minor version) "/"
5903 "file-roller-" version ".tar.xz"))
5904 (sha256
5905 (base32
5906 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5907 (build-system meson-build-system)
5908 (native-inputs
5909 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5910 ("intltool" ,intltool)
5911 ("itstool" ,itstool)
5912 ("pkg-config" ,pkg-config)
5913 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5914 ("glib:bin" ,glib "bin")))
5915 ;; TODO: Add libnautilus.
5916 (inputs
5917 `(("gtk+" ,gtk+)
5918 ("gdk-pixbuf" ,gdk-pixbuf)
5919 ("json-glib" ,json-glib)
5920 ("libarchive" ,libarchive)
5921 ("libnotify" ,libnotify)
5922 ("nettle" ,nettle)
5923 ("libxml2" ,libxml2)))
5924 (synopsis "Graphical archive manager for GNOME")
5925 (description "File Roller is an archive manager for the GNOME desktop
5926 environment that allows users to view, unpack, and create compressed archives
5927 such as gzip tarballs.")
5928 (home-page "http://fileroller.sourceforge.net/")
5929 (license license:gpl2+)))
5930
5931 (define-public gnome-session
5932 (package
5933 (name "gnome-session")
5934 (version "3.34.2")
5935 (source (origin
5936 (method url-fetch)
5937 (uri (string-append "mirror://gnome/sources/" name "/"
5938 (version-major+minor version) "/"
5939 name "-" version ".tar.xz"))
5940 (sha256
5941 (base32
5942 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
5943 (arguments
5944 '(#:glib-or-gtk? #t
5945 #:phases
5946 (modify-phases %standard-phases
5947 (add-before 'configure 'pre-configure
5948 (lambda* (#:key outputs #:allow-other-keys)
5949 ;; Use elogind instead of systemd.
5950 (substitute* "meson.build"
5951 (("libsystemd-login") "libelogind")
5952 (("and libsystemd_daemon_dep.found.*") ","))
5953 (substitute* "gnome-session/gsm-systemd.c"
5954 (("#include <systemd/sd-login.h>")
5955 "#include <elogind/sd-login.h>"))
5956 ;; Remove uses of the systemd daemon.
5957 (substitute* "gnome-session/gsm-autostart-app.c"
5958 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5959 #t))
5960 (add-after 'install 'wrap-gnome-session
5961 (lambda* (#:key inputs outputs #:allow-other-keys)
5962 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5963 (let ((glib (assoc-ref inputs "glib:bin"))
5964 (out (assoc-ref outputs "out")))
5965 (wrap-program (string-append out "/bin/gnome-session")
5966 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5967 #t))))
5968
5969 #:configure-flags
5970 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5971 "-Dman=false" ; FIXME: disabled because of docbook validation error
5972 "-Dsystemd_journal=false")))
5973 (build-system meson-build-system)
5974 (native-inputs
5975 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5976 ("pkg-config" ,pkg-config)
5977 ("intltool" ,intltool)
5978 ("xsltproc" ,libxslt)
5979 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5980 ("docbook-xsl" ,docbook-xsl)
5981 ("docbook-xml" ,docbook-xml)
5982 ("xmlto" ,xmlto)))
5983 (inputs
5984 `(("elogind" ,elogind)
5985 ("gnome-desktop" ,gnome-desktop)
5986 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5987 ("gtk+" ,gtk+)
5988 ("json-glib" ,json-glib)
5989 ("libsm" ,libsm)
5990 ("libxcomposite" ,libxcomposite)
5991 ("libxtst" ,libxtst)
5992 ("mesa" ,mesa)
5993 ("upower" ,upower)
5994 ("xtrans" ,xtrans)))
5995 (synopsis "Session manager for GNOME")
5996 (description
5997 "This package contains the GNOME session manager, as well as a
5998 configuration program to choose applications starting on login.")
5999 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
6000 (license license:gpl2+)))
6001
6002 (define-public gjs
6003 (package
6004 (name "gjs")
6005 (version "1.58.3")
6006 (source (origin
6007 (method url-fetch)
6008 (uri (string-append "mirror://gnome/sources/" name "/"
6009 (version-major+minor version) "/"
6010 name "-" version ".tar.xz"))
6011 (sha256
6012 (base32
6013 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
6014 (build-system gnu-build-system)
6015 (arguments
6016 '(#:phases
6017 (modify-phases %standard-phases
6018 (add-before
6019 'check 'pre-check
6020 (lambda _
6021 ;; The test suite requires a running X server.
6022 (system "Xvfb :1 &")
6023 (setenv "DISPLAY" ":1")
6024
6025 ;; For the missing /etc/machine-id.
6026 (setenv "DBUS_FATAL_WARNINGS" "0")
6027
6028 ;; Our mozjs-38 package does not compile the required Intl API
6029 ;; support for these failing tests.
6030 (substitute* "installed-tests/js/testLocale.js"
6031 ((".*toBeDefined.*") "")
6032 ((".*expect\\(datestr\\).*") ""))
6033 (substitute* "installed-tests/scripts/testCommandLine.sh"
6034 (("Valentín") "")
6035 (("☭") ""))
6036 #t)))))
6037 (native-inputs
6038 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
6039 ("pkg-config" ,pkg-config)
6040 ("xmllint" ,libxml2)
6041 ;; For testing
6042 ("dbus-launch" ,dbus)
6043 ("dconf" ,dconf) ; required to properly store settings
6044 ("uuidgen" ,util-linux)
6045 ("xvfb" ,xorg-server-for-tests)))
6046 (propagated-inputs
6047 ;; These are all in the Requires.private field of gjs-1.0.pc.
6048 `(("cairo" ,cairo)
6049 ("gobject-introspection" ,gobject-introspection)
6050 ("mozjs" ,mozjs-60)))
6051 (inputs
6052 `(("gtk+" ,gtk+)
6053 ("readline" ,readline)))
6054 (synopsis "Javascript bindings for GNOME")
6055 (home-page "https://live.gnome.org/Gjs")
6056 (description
6057 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6058 javascript engine and the GObject introspection framework.")
6059 (license license:gpl2+)))
6060
6061 (define-public gedit
6062 (package
6063 (name "gedit")
6064 (version "3.34.1")
6065 (source (origin
6066 (method url-fetch)
6067 (uri (string-append "mirror://gnome/sources/" name "/"
6068 (version-major+minor version) "/"
6069 name "-" version ".tar.xz"))
6070 (sha256
6071 (base32
6072 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
6073 (build-system meson-build-system)
6074 (arguments
6075 `(#:glib-or-gtk? #t
6076 #:configure-flags
6077 ;; Otherwise, the RUNPATH will lack the final path component.
6078 (list (string-append "-Dc_link_args=-Wl,-rpath="
6079 (assoc-ref %outputs "out") "/lib/gedit"))
6080
6081 ;; XXX: Generated .h files are sometimes used before being built.
6082 #:parallel-build? #f
6083
6084 #:phases
6085 (modify-phases %standard-phases
6086 (add-after 'unpack 'skip-gtk-update-icon-cache
6087 ;; Don't create 'icon-theme.cache'.
6088 (lambda _
6089 (substitute* "build-aux/meson/post_install.py"
6090 (("gtk-update-icon-cache") (which "true")))
6091 #t))
6092 (add-after 'unpack 'patch-libgd-fetch
6093 (lambda* (#:key inputs #:allow-other-keys)
6094 (let ((libgd (assoc-ref inputs "libgd")))
6095 ;; Calling git is unnecessary because libgd is fetched as a
6096 ;; native input to this package.
6097 (substitute* "meson.build"
6098 ((".*git.*") ""))
6099 (copy-recursively libgd "subprojects/libgd")
6100 #t)))
6101 (add-after 'install 'wrap-gedit
6102 (lambda* (#:key inputs outputs #:allow-other-keys)
6103 (let ((out (assoc-ref outputs "out"))
6104 (gtksourceview (assoc-ref inputs "gtksourceview"))
6105 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6106 (python-path (getenv "PYTHONPATH")))
6107 (wrap-program (string-append out "/bin/gedit")
6108 ;; For plugins.
6109 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6110 `("PYTHONPATH" ":" prefix (,python-path))
6111 ;; For language-specs.
6112 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6113 "/share")))))
6114 #t)))))
6115 (propagated-inputs
6116 `(("dconf" ,dconf)))
6117 (native-inputs
6118 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6119 ("intltool" ,intltool)
6120 ("itstool" ,itstool)
6121 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6122 ("gobject-introspection" ,gobject-introspection)
6123 ("libgd"
6124 ,(origin
6125 (method git-fetch)
6126 (uri (git-reference
6127 (url "https://gitlab.gnome.org/GNOME/libgd")
6128 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6129 (file-name (git-file-name "libgd" version))
6130 (sha256
6131 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6132 ("pkg-config" ,pkg-config)))
6133 (inputs
6134 `(("glib" ,glib)
6135 ("gspell" ,gspell)
6136 ("gtk+" ,gtk+)
6137 ("gtksourceview" ,gtksourceview)
6138 ("libpeas" ,libpeas)
6139 ("libxml2" ,libxml2)
6140 ("iso-codes" ,iso-codes)
6141 ("python-pygobject" ,python-pygobject)
6142 ("python" ,python)
6143 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6144 ("libx11" ,libx11)
6145 ("vala" ,vala)
6146 ("adwaita-icon-theme" ,adwaita-icon-theme)
6147 ("libsoup" ,libsoup)
6148 ("gnome-desktop" ,gnome-desktop)))
6149 (home-page "https://wiki.gnome.org/Apps/Gedit")
6150 (synopsis "GNOME text editor")
6151 (description "While aiming at simplicity and ease of use, gedit is a
6152 powerful general purpose text editor.")
6153 (license license:gpl2+)))
6154
6155 (define-public zenity
6156 (package
6157 (name "zenity")
6158 (version "3.32.0")
6159 (source (origin
6160 (method url-fetch)
6161 (uri (string-append "mirror://gnome/sources/zenity/"
6162 (version-major+minor version) "/"
6163 "zenity-" version ".tar.xz"))
6164 (sha256
6165 (base32
6166 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6167 (build-system gnu-build-system)
6168 (native-inputs
6169 `(("gettext" ,gettext-minimal)
6170 ("itstool" ,itstool)
6171 ("pkg-config" ,pkg-config)))
6172 (inputs
6173 `(("libnotify" ,libnotify)
6174 ("webkitgtk" ,webkitgtk)))
6175 (synopsis "Display graphical dialog boxes from shell scripts")
6176 (home-page "https://www.gnome.org")
6177 (description
6178 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6179 to display dialog boxes from the commandline and shell scripts.")
6180 (license license:lgpl2.0+)))
6181
6182 (define-public mutter
6183 (package
6184 (name "mutter")
6185 (version "3.34.2")
6186 (source (origin
6187 (method url-fetch)
6188 (uri (string-append "mirror://gnome/sources/" name "/"
6189 (version-major+minor version) "/"
6190 name "-" version ".tar.xz"))
6191 (sha256
6192 (base32
6193 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6194 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6195 ;; versions of cogl and clutter. As a result, many of the inputs,
6196 ;; propagated-inputs, and configure flags used in cogl and clutter are
6197 ;; needed here as well.
6198 (build-system meson-build-system)
6199 (arguments
6200 '(;; XXX: All mutter tests fail with the following error:
6201 ;; Settings schema 'org.gnome.mutter' is not installed
6202 #:tests? #f
6203 #:glib-or-gtk? #t
6204 #:configure-flags
6205 ;; TODO: Enable profiler when Sysprof is packaged.
6206 (list "-Dprofiler=false"
6207 ;; Otherwise, the RUNPATH will lack the final path component.
6208 (string-append "-Dc_link_args=-Wl,-rpath="
6209 (assoc-ref %outputs "out") "/lib:"
6210 (assoc-ref %outputs "out") "/lib/mutter-5")
6211
6212 ;; The following flags are needed for the bundled clutter
6213 (string-append "-Dxwayland_path="
6214 (assoc-ref %build-inputs "xorg-server-xwayland")
6215 "/bin/Xwayland")
6216
6217 ;; the remaining flags are needed for the bundled cogl
6218 (string-append "-Dopengl_libname="
6219 (assoc-ref %build-inputs "mesa")
6220 "/lib/libGL.so"))
6221 #:phases (modify-phases %standard-phases
6222 (add-after 'unpack 'fix-build-with-mesa-20
6223 (lambda _
6224 ;; Mimic upstream commit a444a4c5f58ea516ad for
6225 ;; compatibility with Mesa 20. Remove for 3.36.
6226 (substitute* '("src/backends/meta-egl-ext.h"
6227 "src/backends/meta-egl.c"
6228 "src/backends/meta-egl.h")
6229 (("#include <EGL/eglext\\.h>" all)
6230 (string-append all "\n#include <EGL/eglmesaext.h>")))
6231 (substitute* "cogl/cogl/meson.build"
6232 (("#include <EGL/eglext\\.h>" all)
6233 (string-append all "\\n#include <EGL/eglmesaext.h>")))
6234 #t)))))
6235 (native-inputs
6236 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6237 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6238 ("gobject-introspection" ,gobject-introspection)
6239 ("intltool" ,intltool)
6240 ("pkg-config" ,pkg-config)
6241 ("xorg-server" ,xorg-server-for-tests)
6242 ;; For git build
6243 ("autoconf" ,autoconf)
6244 ("automake" ,automake)
6245 ("libtool" ,libtool)))
6246 (propagated-inputs
6247 `(;; libmutter.pc refers to these:
6248 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6249 ("gtk+" ,gtk+)
6250 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6251 ("atk" ,atk)
6252 ("cairo" ,cairo)
6253 ("gdk-pixbuf" ,gdk-pixbuf)
6254 ("glib" ,glib)
6255 ("json-glib" ,json-glib)
6256 ("libinput" ,libinput)
6257 ("libx11" ,libx11)
6258 ("libxcomposite" ,libxcomposite)
6259 ("libxdamage" ,libxdamage)
6260 ("libxext" ,libxext)
6261 ("libxfixes" ,libxfixes)
6262 ("libxkbcommon" ,libxkbcommon)
6263 ("libxrandr" ,libxrandr)
6264 ("mesa" ,mesa)
6265 ("pango" ,pango)
6266 ("udev" ,eudev)
6267 ("xinput" ,xinput)))
6268 (inputs
6269 `(("elogind" ,elogind)
6270 ("gnome-desktop" ,gnome-desktop)
6271 ("gnome-settings-daemon" ,gnome-settings-daemon)
6272 ("libcanberra-gtk" ,libcanberra)
6273 ("libgudev" ,libgudev)
6274 ("libice" ,libice)
6275 ("libsm" ,libsm)
6276 ("libwacom" ,libwacom)
6277 ("libxkbfile" ,libxkbfile)
6278 ("libxrandr" ,libxrandr)
6279 ("libxtst" ,libxtst)
6280 ("pipewire" ,pipewire)
6281 ("startup-notification" ,startup-notification)
6282 ("upower-glib" ,upower)
6283 ("xkeyboard-config" ,xkeyboard-config)
6284 ("xorg-server-xwayland" ,xorg-server-xwayland)
6285 ("zenity" ,zenity)))
6286 (synopsis "Window and compositing manager")
6287 (home-page "https://www.gnome.org")
6288 (description
6289 "Mutter is a window and compositing manager that displays and manages your
6290 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6291 Clutter toolkit with solid window-management logic inherited from the Metacity
6292 window manager.")
6293 (license license:gpl2+)))
6294
6295 (define-public gnome-online-accounts
6296 (package
6297 (name "gnome-online-accounts")
6298 (version "3.36.0")
6299 (source (origin
6300 (method url-fetch)
6301 (uri (string-append "mirror://gnome/sources/" name "/"
6302 (version-major+minor version) "/"
6303 name "-" version ".tar.xz"))
6304 (sha256
6305 (base32
6306 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
6307 (outputs '("out" "lib"))
6308 (build-system glib-or-gtk-build-system)
6309 (arguments
6310 `(#:configure-flags
6311 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6312 #:phases
6313 (modify-phases %standard-phases
6314 (add-before 'configure 'patch-libgoa-output
6315 (lambda* (#:key outputs #:allow-other-keys)
6316 (let ((lib (assoc-ref outputs "lib")))
6317 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6318 (("@prefix@") lib)
6319 (("@exec_prefix@") lib)
6320 (("@libdir@") (string-append lib "/lib"))
6321 (("@includedir@") (string-append lib "/include"))
6322 (("@datadir@") (string-append lib "/share")))
6323 ;; Make sure gobject-introspection knows about the output
6324 ;; too (see <https://bugs.gnu.org/36535>).
6325 (setenv "outputs" "out lib")
6326 #t))))))
6327 (native-inputs
6328 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6329 ("gobject-introspection" ,gobject-introspection)
6330 ("intltool" ,intltool)
6331 ("pkg-config" ,pkg-config)
6332 ("vala" ,vala)
6333 ("xsltproc" ,libxslt)))
6334 (propagated-inputs
6335 `(("glib" ,glib) ; required by goa-1.0.pc
6336 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6337 (inputs
6338 `(("docbook-xsl" ,docbook-xsl)
6339 ("json-glib" ,json-glib)
6340 ("libsecret" ,libsecret)
6341 ("rest" ,rest)
6342 ("webkitgtk" ,webkitgtk)))
6343 (synopsis "Single sign-on framework for GNOME")
6344 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6345 (description
6346 "GNOME Online Accounts provides interfaces so that applications and
6347 libraries in GNOME can access the user's online accounts. It has providers for
6348 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6349 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6350 (license license:lgpl2.0+)))
6351
6352 (define-public evolution-data-server
6353 (package
6354 (name "evolution-data-server")
6355 (version "3.34.2")
6356 (source (origin
6357 (method url-fetch)
6358 (uri (string-append "mirror://gnome/sources/" name "/"
6359 (version-major+minor version) "/"
6360 name "-" version ".tar.xz"))
6361 (patches (search-patches "evolution-data-server-locales.patch"
6362 "evolution-data-server-libical-compat.patch"))
6363 (sha256
6364 (base32
6365 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
6366 (build-system cmake-build-system)
6367 (arguments
6368 '(#:configure-flags
6369 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6370 (runpaths (map (lambda (s)
6371 (string-append lib "/evolution-data-server/" s))
6372 '("addressbook-backends" "calendar-backends"
6373 "camel-providers" "credential-modules"
6374 "registry-modules"))))
6375 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6376 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6377 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6378 "-DENABLE_VALA_BINDINGS=ON"
6379 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6380 (string-append lib "/evolution-data-server;")
6381 (string-join runpaths ";"))
6382 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6383 #:phases
6384 (modify-phases %standard-phases
6385 (add-after 'unpack 'disable-failing-tests
6386 (lambda _
6387 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6388 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6389 (delete-file-recursively "tests/book-migration")
6390 (substitute* "tests/CMakeLists.txt"
6391 (("add_subdirectory\\(book-migration\\)") ""))
6392 #t))
6393 (add-after 'unpack 'patch-paths
6394 (lambda _
6395 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6396 "tests/libedata-book/data-test-utils.c"
6397 "tests/libedata-book/test-book-cache-utils.c"
6398 "tests/libedata-cal/test-cal-cache-utils.c")
6399 (("/bin/rm") (which "rm")))
6400 #t))
6401 (add-before 'configure 'dont-override-rpath
6402 (lambda _
6403 (substitute* "CMakeLists.txt"
6404 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6405 ;; Remove it so the configure flag is respected.
6406 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6407 #t)))))
6408 (native-inputs
6409 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6410 ("gobject-introspection" ,gobject-introspection)
6411 ("gperf" ,gperf)
6412 ("intltool" ,intltool)
6413 ("pkg-config" ,pkg-config)
6414 ("vala" ,vala)
6415 ("python" ,python-wrapper)))
6416 (propagated-inputs
6417 ;; These are all in the Requires field of .pc files.
6418 `(("gtk+" ,gtk+)
6419 ("libical" ,libical)
6420 ("libsecret" ,libsecret)
6421 ("libsoup" ,libsoup)
6422 ("nss" ,nss)
6423 ("sqlite" ,sqlite)))
6424 (inputs
6425 `(("bdb" ,bdb)
6426 ("gcr" ,gcr)
6427 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6428 ("json-glib" ,json-glib)
6429 ("libcanberra" ,libcanberra)
6430 ("libgweather" ,libgweather)
6431 ("mit-krb5" ,mit-krb5)
6432 ("openldap" ,openldap)
6433 ("webkitgtk" ,webkitgtk)))
6434 (synopsis "Store address books and calendars")
6435 (home-page "https://wiki.gnome.org/Apps/Evolution")
6436 (description
6437 "This package provides a unified backend for programs that work with
6438 contacts, tasks, and calendar information. It was originally developed for
6439 Evolution (hence the name), but is now used by other packages as well.")
6440 (license license:lgpl2.0)))
6441
6442 (define-public caribou
6443 (package
6444 (name "caribou")
6445 (version "0.4.21")
6446 (source (origin
6447 (method url-fetch)
6448 (uri (string-append "mirror://gnome/sources/" name "/"
6449 (version-major+minor version) "/"
6450 name "-" version ".tar.xz"))
6451 (sha256
6452 (base32
6453 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6454 (build-system glib-or-gtk-build-system)
6455 (arguments
6456 '(#:phases
6457 (modify-phases %standard-phases
6458 (add-before
6459 'build 'pre-build
6460 (lambda* (#:key outputs #:allow-other-keys)
6461 (let ((out (assoc-ref outputs "out")))
6462 ;; Use absolute shared library path in Caribou-1.0.typelib.
6463 (substitute* "libcaribou/Makefile"
6464 (("--shared-library=libcaribou.so")
6465 (string-append "--shared-library="
6466 out "/lib/libcaribou.so")))
6467 #t)))
6468 (add-after 'install 'wrap-programs
6469 (lambda* (#:key outputs #:allow-other-keys)
6470 (let* ((out (assoc-ref outputs "out"))
6471 (python-path (getenv "PYTHONPATH"))
6472 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6473 (for-each
6474 (lambda (prog)
6475 (wrap-program prog
6476 `("PYTHONPATH" ":" prefix (,python-path))
6477 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6478 (list (string-append out "/bin/caribou-preferences")
6479 (string-append out "/libexec/antler-keyboard"))))
6480 #t)))))
6481 (native-inputs
6482 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6483 ("gobject-introspection" ,gobject-introspection)
6484 ("intltool" ,intltool)
6485 ("pkg-config" ,pkg-config)
6486 ("python" ,python)
6487 ("vala" ,vala)
6488 ("xsltproc" ,libxslt)))
6489 (propagated-inputs
6490 ;; caribou-1.0.pc refers to all these.
6491 `(("libgee" ,libgee)
6492 ("libxklavier" ,libxklavier)
6493 ("libxtst" ,libxtst)
6494 ("gtk+" ,gtk+)))
6495 (inputs
6496 `(("clutter" ,clutter)
6497 ("dconf" ,dconf)
6498 ("gtk+-2" ,gtk+-2)
6499 ("python-pygobject" ,python-pygobject)))
6500 (synopsis "Text entry and UI navigation application")
6501 (home-page "https://wiki.gnome.org/Projects/Caribou")
6502 (description
6503 "Caribou is an input assistive technology intended for switch and pointer
6504 users.")
6505 (license license:lgpl2.1)))
6506
6507 (define-public network-manager
6508 (package
6509 (name "network-manager")
6510 (version "1.24.0")
6511 (source (origin
6512 (method url-fetch)
6513 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6514 (version-major+minor version) "/"
6515 "NetworkManager-" version ".tar.xz"))
6516 (patches (search-patches "network-manager-plugin-path.patch"))
6517 (sha256
6518 (base32
6519 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
6520 (modules '((guix build utils)))
6521 (snippet
6522 '(begin
6523 (substitute* "src/devices/wwan/nm-modem-manager.c"
6524 (("systemd") "elogind"))
6525 #t))))
6526 (build-system meson-build-system)
6527 (outputs '("out"
6528 "doc")) ; 8 MiB of gtk-doc HTML
6529 (arguments
6530 `(#:configure-flags
6531 (let ((out (assoc-ref %outputs "out"))
6532 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6533 "/sbin/dhclient")))
6534 (list
6535 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
6536 ;; component.
6537 (string-append "-Dc_link_args=-Wl,-rpath="
6538 out "/lib:"
6539 out "/lib/NetworkManager/" ,version)
6540 "-Dsystemd_journal=false"
6541 "-Dsession_tracking=elogind"
6542 "-Dsuspend_resume=elogind"
6543 "-Dsystemdsystemunitdir=no"
6544 "-Dsession_tracking_consolekit=false"
6545 "-Ddhcpcd=no"
6546 "-Ddhcpcanon=no"
6547 "-Dcrypto=gnutls"
6548 "-Diwd=true"
6549 "-Dlibaudit=yes"
6550 "-Dqt=false"
6551 "-Ddocs=true"
6552 "--sysconfdir=/etc"
6553 "--localstatedir=/var"
6554 (string-append "-Dudev_dir="
6555 out "/lib/udev")
6556 (string-append "-Ddbus_conf_dir="
6557 out "/etc/dbus-1/system.d")
6558
6559 (string-append "-Ddhclient=" dhclient)))
6560 #:phases
6561 (modify-phases %standard-phases
6562 (add-before 'configure 'pre-configure
6563 (lambda _
6564 ;; These tests try to test aspects of network-manager's
6565 ;; functionality within restricted containers, but they don't
6566 ;; cope with being already in the Guix build jail as that jail
6567 ;; lacks some features that they would like to proxy over (like
6568 ;; a /sys mount).
6569 (substitute* "src/platform/tests/meson.build"
6570 ((".*test-address-linux.*") "")
6571 ((".*test-cleanup-linux.*") "")
6572 ((".*test-link-linux.*") "")
6573 ((".*test-route-linux.*") ""))
6574 (substitute* "src/devices/tests/meson.build"
6575 ((".*test-acd.*") "")
6576 ((".*test-lldp.*") ""))
6577 #t))
6578 (add-after 'unpack 'patch-docbook-xml
6579 (lambda* (#:key inputs #:allow-other-keys)
6580 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
6581 "/xml/dtd/docbook")))
6582 (substitute* (find-files "." ".*\\.(xsl|xml)")
6583 (("http://.*/docbookx\\.dtd")
6584 (string-append xmldoc "/docbookx.dtd")))
6585 #t)))
6586 (add-before 'check 'pre-check
6587 (lambda _
6588 ;; For the missing /etc/machine-id.
6589 (setenv "DBUS_FATAL_WARNINGS" "0")
6590 #t))
6591 (add-before 'install 'no-polkit-magic
6592 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
6593 (lambda _
6594 (setenv "PKEXEC_UID" "something")
6595 #t))
6596 (add-after 'install 'move-doc
6597 (lambda* (#:key outputs #:allow-other-keys)
6598 (let ((out (assoc-ref outputs "out"))
6599 (doc (assoc-ref outputs "doc")))
6600 (mkdir-p (string-append doc "/share"))
6601 (for-each (lambda (directory)
6602 (copy-recursively (string-append out directory)
6603 (string-append doc directory))
6604 (delete-file-recursively
6605 (string-append out directory)))
6606 '("/share/doc" "/share/gtk-doc"))
6607 #t))))))
6608 (propagated-inputs
6609 `(("glib" ,glib)))
6610 (native-inputs
6611 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6612 ("gtk-doc" ,gtk-doc)
6613 ("gobject-introspection" ,gobject-introspection)
6614 ("docbook-xml" ,docbook-xml)
6615 ("docbook-xsl" ,docbook-xsl)
6616 ("intltool" ,intltool)
6617 ("libxslt" ,libxslt)
6618 ("libxml2" ,libxml2)
6619 ("pkg-config" ,pkg-config)
6620 ("vala" ,vala)
6621 ;; For testing.
6622 ("python" ,python-wrapper)
6623 ("python-dbus" ,python-dbus)
6624 ("python-pygobject" ,python-pygobject)))
6625 (inputs
6626 `(("curl" ,curl)
6627 ("cyrus-sasl" ,cyrus-sasl)
6628 ("dbus-glib" ,dbus-glib)
6629 ("dnsmasq" ,dnsmasq)
6630 ("eudev" ,eudev)
6631 ("gnutls" ,gnutls)
6632 ("iptables" ,iptables)
6633 ("isc-dhcp" ,isc-dhcp)
6634 ("iwd" ,iwd) ; wpa_supplicant alternative
6635 ("jansson" ,jansson)
6636 ("libaudit" ,audit)
6637 ("libgcrypt" ,libgcrypt)
6638 ("libgudev" ,libgudev)
6639 ("libndp" ,libndp)
6640 ("libnl" ,libnl)
6641 ("libsoup" ,libsoup)
6642 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
6643 ("modem-manager" ,modem-manager)
6644 ("newt" ,newt) ;for the 'nmtui' console interface
6645 ("openresolv" ,openresolv) ; alternative resolv.conf manager
6646 ("polkit" ,polkit)
6647 ("ppp" ,ppp)
6648 ("readline" ,readline)
6649 ("util-linux" ,util-linux)
6650 ("elogind" ,elogind)))
6651 (synopsis "Network connection manager")
6652 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6653 (description
6654 "NetworkManager is a system network service that manages your network
6655 devices and connections, attempting to keep active network connectivity when
6656 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6657 devices, and provides VPN integration with a variety of different VPN
6658 services.")
6659 ;; “This NetworkManager project consists of the daemon, client tools, and
6660 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
6661 ;; GPL-2.0+.”
6662 (license (list license:gpl2+
6663 license:lgpl2.1+))
6664 (properties '((upstream-name . "NetworkManager")))))
6665
6666 (define-public network-manager-openvpn
6667 (package
6668 (name "network-manager-openvpn")
6669 (version "1.8.12")
6670 (source (origin
6671 (method url-fetch)
6672 (uri (string-append
6673 "mirror://gnome/sources/NetworkManager-openvpn/"
6674 (version-major+minor version)
6675 "/NetworkManager-openvpn-" version ".tar.xz"))
6676 (sha256
6677 (base32
6678 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
6679 (build-system gnu-build-system)
6680 (arguments
6681 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6682 #:phases
6683 (modify-phases %standard-phases
6684 (add-after 'configure 'patch-path
6685 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6686 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6687 "/sbin/openvpn"))
6688 (modprobe (string-append (assoc-ref inputs "kmod")
6689 "/bin/modprobe"))
6690 (pretty-ovpn (string-append "\"" ovpn "\"")))
6691 (for-each
6692 (lambda (file)
6693 (substitute* file
6694 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6695 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6696 (("\"/sbin/openvpn\"") pretty-ovpn)
6697 (("/sbin/modprobe") modprobe)))
6698 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6699 #t)))))
6700 (native-inputs
6701 `(("pkg-config" ,pkg-config)
6702 ("intltool" ,intltool)))
6703 (inputs
6704 `(("gtk+" ,gtk+)
6705 ("kmod" ,kmod)
6706 ("openvpn" ,openvpn)
6707 ("network-manager" ,network-manager)
6708 ("libnma" ,libnma)
6709 ("libsecret" ,libsecret)))
6710 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6711 (synopsis "OpenVPN plug-in for NetworkManager")
6712 (description
6713 "This extension of NetworkManager allows it to take care of connections
6714 to virtual private networks (VPNs) via OpenVPN.")
6715 (license license:gpl2+)
6716 (properties `((upstream-name . "NetworkManager-openvpn")))))
6717
6718 (define-public network-manager-vpnc
6719 (package
6720 (name "network-manager-vpnc")
6721 (version "1.2.6")
6722 (source (origin
6723 (method url-fetch)
6724 (uri (string-append
6725 "mirror://gnome/sources/NetworkManager-vpnc/"
6726 (version-major+minor version)
6727 "/NetworkManager-vpnc-" version ".tar.xz"))
6728 (sha256
6729 (base32
6730 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6731 (build-system gnu-build-system)
6732 (arguments
6733 `(#:configure-flags '("--enable-absolute-paths"
6734 "--localstatedir=/var"
6735 ;; libnm-glib has been removed from network-manager
6736 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
6737 "--with-libnm-glib=no")
6738 #:phases
6739 (modify-phases %standard-phases
6740 (add-after 'configure 'patch-path
6741 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6742 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6743 "/sbin/vpnc"))
6744 (modprobe (string-append (assoc-ref inputs "kmod")
6745 "/bin/modprobe"))
6746 (pretty-ovpn (string-append "\"" vpnc "\"")))
6747 (substitute* "src/nm-vpnc-service.c"
6748 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6749 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6750 (("\"/sbin/vpnc\"") pretty-ovpn)
6751 (("/sbin/modprobe") modprobe)))
6752 #t)))))
6753 (native-inputs
6754 `(("pkg-config" ,pkg-config)
6755 ("intltool" ,intltool)))
6756 (inputs
6757 `(("gtk+" ,gtk+)
6758 ("kmod" ,kmod)
6759 ("vpnc" ,vpnc)
6760 ("network-manager" ,network-manager)
6761 ("libnma" ,libnma)
6762 ("libsecret" ,libsecret)))
6763 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6764 (synopsis "VPNC plug-in for NetworkManager")
6765 (description
6766 "Support for configuring virtual private networks based on VPNC.
6767 Compatible with Cisco VPN concentrators configured to use IPsec.")
6768 (license license:gpl2+)
6769 (properties `((upstream-name . "NetworkManager-vpnc")))))
6770
6771 (define-public network-manager-openconnect
6772 (package
6773 (name "network-manager-openconnect")
6774 (version "1.2.6")
6775 (source (origin
6776 (method url-fetch)
6777 (uri (string-append
6778 "mirror://gnome/sources/NetworkManager-openconnect/"
6779 (version-major+minor version)
6780 "/NetworkManager-openconnect-" version ".tar.xz"))
6781 (sha256
6782 (base32
6783 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6784 (build-system gnu-build-system)
6785 (arguments
6786 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6787 #:phases
6788 (modify-phases %standard-phases
6789 (add-after 'configure 'patch-path
6790 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6791 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6792 "/sbin/openconnect"))
6793 (modprobe (string-append (assoc-ref inputs "kmod")
6794 "/bin/modprobe"))
6795 (pretty-ovpn (string-append "\"" openconnect "\"")))
6796 (substitute* "src/nm-openconnect-service.c"
6797 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
6798 (("/sbin/modprobe") modprobe)))
6799 #t)))))
6800 (native-inputs
6801 `(("intltool" ,intltool)
6802 ("libnma" ,libnma)
6803 ("pkg-config" ,pkg-config)))
6804 (inputs
6805 `(("gcr" ,gcr)
6806 ("gtk+" ,gtk+)
6807 ("kmod" ,kmod)
6808 ("libsecret" ,libsecret)
6809 ("libxml2" ,libxml2)
6810 ("lz4" ,lz4)
6811 ("network-manager" ,network-manager)
6812 ("openconnect" ,openconnect)))
6813 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6814 (synopsis "OpenConnect plug-in for NetworkManager")
6815 (description
6816 "This extension of NetworkManager allows it to take care of connections
6817 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6818 Cisco's AnyConnect SSL VPN.")
6819 (license license:gpl2+)
6820 (properties `((upstream-name . "NetworkManager-openconnect")
6821
6822 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6823 ;; file refers to account "nm-openconnect". Specify it here
6824 ;; so that 'network-manager-service-type' creates it.
6825 (user-accounts . ("nm-openconnect"))))))
6826
6827 (define-public mobile-broadband-provider-info
6828 (package
6829 (name "mobile-broadband-provider-info")
6830 (version "20190116")
6831 (source (origin
6832 (method url-fetch)
6833 (uri (string-append
6834 "mirror://gnome/sources/"
6835 "mobile-broadband-provider-info/" version "/"
6836 "mobile-broadband-provider-info-" version ".tar.xz"))
6837 (sha256
6838 (base32
6839 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6840 (build-system gnu-build-system)
6841 (arguments
6842 `(#:tests? #f)) ; no tests
6843 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6844 (synopsis "Database of broadband connection configuration")
6845 (description "Database of broadband connection configuration.")
6846 (license license:public-domain)))
6847
6848 (define-public network-manager-applet
6849 (package
6850 (name "network-manager-applet")
6851 (version "1.16.0")
6852 (source (origin
6853 (method url-fetch)
6854 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6855 (version-major+minor version) "/"
6856 "network-manager-applet-" version ".tar.xz"))
6857 (sha256
6858 (base32
6859 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
6860 (build-system meson-build-system)
6861 (arguments
6862 '(#:glib-or-gtk? #t))
6863 (native-inputs
6864 `(("intltool" ,intltool)
6865 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6866 ("gobject-introspection" ,gobject-introspection)
6867 ("gtk-doc" ,gtk-doc)
6868 ("pkg-config" ,pkg-config)))
6869 (propagated-inputs
6870 ;; libnm-gtk.pc refers to all these.
6871 `(("dbus-glib" ,dbus-glib)
6872 ("gtk+" ,gtk+)
6873 ("network-manager" ,network-manager)
6874 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
6875 ("libnma" ,libnma)))
6876 (inputs
6877 `(("gcr" ,gcr)
6878 ("libgudev" ,libgudev)
6879 ("libnotify" ,libnotify)
6880 ("libsecret" ,libsecret)
6881 ("libselinux" ,libselinux)
6882 ("jansson" ,jansson) ; for team support
6883 ("modem-manager" ,modem-manager)))
6884 (synopsis "Applet for managing network connections")
6885 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6886 (description
6887 "This package contains a systray applet for NetworkManager. It displays
6888 the available networks and allows users to easily switch between them.")
6889 (license license:gpl2+)))
6890
6891 (define-public libxml++
6892 (package
6893 (name "libxml++")
6894 (version "3.0.1")
6895 (source (origin
6896 (method url-fetch)
6897 (uri (string-append "mirror://gnome/sources/" name "/"
6898 (version-major+minor version) "/"
6899 name "-" version ".tar.xz"))
6900 (sha256
6901 (base32
6902 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6903 (build-system gnu-build-system)
6904 ;; libxml++-3.0.pc refers to all these.
6905 (propagated-inputs
6906 `(("libxml2" ,libxml2)
6907 ("glibmm" ,glibmm)))
6908 (native-inputs
6909 `(("perl" ,perl)
6910 ("pkg-config" ,pkg-config)))
6911 (home-page "http://libxmlplusplus.sourceforge.net/")
6912 (synopsis "C++ wrapper for XML parser library libxml2")
6913 (description
6914 "This package provides a C++ wrapper for the XML parser library
6915 libxml2.")
6916 (license license:lgpl2.1+)))
6917
6918 (define-public libxml++-2
6919 (package
6920 (inherit libxml++)
6921 (name "libxml++")
6922 (version "2.40.1")
6923 (source (origin
6924 (method url-fetch)
6925 (uri (string-append "mirror://gnome/sources/" name "/"
6926 (version-major+minor version) "/"
6927 name "-" version ".tar.xz"))
6928 (sha256
6929 (base32
6930 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6931
6932 (define-public gdm
6933 (package
6934 (name "gdm")
6935 (version "3.34.1")
6936 (source (origin
6937 (method url-fetch)
6938 (uri (string-append "mirror://gnome/sources/" name "/"
6939 (version-major+minor version) "/"
6940 name "-" version ".tar.xz"))
6941 (sha256
6942 (base32
6943 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
6944 (patches (search-patches "gdm-default-session.patch"))))
6945 (build-system glib-or-gtk-build-system)
6946 (arguments
6947 '(#:configure-flags
6948 `("--without-plymouth"
6949 "--disable-systemd-journal"
6950
6951 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6952 ;; instead of having to replace it (i.e., stopping the mingetty
6953 ;; service for TTY 1 before starting GDM).
6954 "--with-initial-vt=7"
6955
6956 ;; Use '/etc/environment' for locale settings instead of the
6957 ;; systemd-specific '/etc/locale.conf'.
6958 "--with-lang-file=/etc/environment"
6959
6960 ,(string-append "--with-udevdir="
6961 (assoc-ref %outputs "out") "/lib/udev")
6962
6963 "--localstatedir=/var"
6964 ,(string-append "--with-default-path="
6965 (string-join '("/run/setuid-programs"
6966 "/run/current-system/profile/bin"
6967 "/run/current-system/profile/sbin")
6968 ":"))
6969 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6970 ;; XDG_DATA_DIRS so that it finds its schemas.
6971 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6972 #:phases
6973 (modify-phases %standard-phases
6974 (add-before
6975 'configure 'pre-configure
6976 (lambda* (#:key inputs outputs #:allow-other-keys)
6977 ;; We don't have <systemd/sd-daemon.h>.
6978 (substitute* '("common/gdm-log.c"
6979 "daemon/gdm-server.c"
6980 "daemon/gdm-session-worker.c"
6981 "daemon/gdm-session-worker-job.c")
6982 (("#include <systemd/sd-daemon\\.h>") ""))
6983 ;; Use elogind for sd-login.
6984 (substitute* '("common/gdm-common.c"
6985 "daemon/gdm-local-display-factory.c"
6986 "daemon/gdm-manager.c"
6987 "libgdm/gdm-user-switching.c")
6988 (("#include <systemd/sd-login\\.h>")
6989 "#include <elogind/sd-login.h>"))
6990 ;; Check for elogind.
6991 (substitute* '("configure")
6992 (("libsystemd")
6993 "libelogind"))
6994 ;; Look for system-installed sessions in
6995 ;; /run/current-system/profile/share.
6996 (substitute* '("libgdm/gdm-sessions.c"
6997 "daemon/gdm-session.c"
6998 "daemon/gdm-display.c"
6999 "daemon/gdm-launch-environment.c")
7000 (("DATADIR \"/x")
7001 "\"/run/current-system/profile/share/x")
7002 (("DATADIR \"/wayland")
7003 "\"/run/current-system/profile/share/wayland")
7004 (("DATADIR \"/gnome")
7005 "\"/run/current-system/profile/share/gnome"))
7006 (let ((propagate '("GDM_CUSTOM_CONF"
7007 "GDM_DBUS_DAEMON"
7008 "GDM_X_SERVER"
7009 "GDM_X_SESSION"
7010 ;; XXX: Remove this once GNOME Shell is
7011 ;; a dependency of GDM.
7012 "XDG_DATA_DIRS")))
7013 (substitute* "daemon/gdm-session.c"
7014 (("set_up_session_environment \\(self\\);")
7015 (apply string-append
7016 "set_up_session_environment (self);\n"
7017 (map (lambda (name)
7018 (string-append
7019 "gdm_session_set_environment_variable "
7020 "(self, \"" name "\","
7021 "g_getenv (\"" name "\"));\n"))
7022 propagate)))))
7023 ;; Find the configuration file using an environment variable.
7024 (substitute* '("common/gdm-settings.c")
7025 (("GDM_CUSTOM_CONF")
7026 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
7027 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
7028 " : GDM_CUSTOM_CONF)")))
7029 ;; Use service-supplied path to X.
7030 (substitute* '("daemon/gdm-server.c")
7031 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
7032 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
7033 (substitute* '("daemon/gdm-wayland-session.c"
7034 "daemon/gdm-x-session.c")
7035 (("\"dbus-daemon\"")
7036 "g_getenv (\"GDM_DBUS_DAEMON\")")
7037 (("X_SERVER")
7038 "g_getenv (\"GDM_X_SERVER\")")
7039 (("GDMCONFDIR \"/Xsession\"")
7040 "g_getenv (\"GDM_X_SESSION\")"))
7041 ;; Use an absolute path for GNOME Session.
7042 (substitute* "daemon/gdm-launch-environment.c"
7043 (("\"gnome-session\"")
7044 (string-append "\"" (assoc-ref inputs "gnome-session")
7045 "/bin/gnome-session\"")))
7046 ;; Do not automatically select the placeholder session.
7047 (substitute* "daemon/gdm-session.c"
7048 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
7049 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
7050 "(g_strcmp0(search_dirs[i], \""
7051 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
7052 "\") == 0 && "
7053 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
7054 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
7055 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
7056 #t))
7057 ;; GDM requires that there be at least one desktop entry
7058 ;; file. This phase installs a hidden one that simply
7059 ;; fails. This enables users to use GDM with a
7060 ;; '~/.xsession' script with no other desktop entry files.
7061 ;; See <https://bugs.gnu.org/35068>.
7062 (add-after 'install 'install-placeholder-desktop-entry
7063 (lambda* (#:key inputs outputs #:allow-other-keys)
7064 (let* ((out (assoc-ref outputs "out"))
7065 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7066 (fail (string-append sessions "/fail.desktop")))
7067 (mkdir-p sessions)
7068 (with-output-to-file fail
7069 (lambda ()
7070 (for-each
7071 display
7072 '("[Desktop Entry]\n"
7073 "Encoding=UTF-8\n"
7074 "Type=Application\n"
7075 "Name=Fail\n"
7076 "Comment=This session fails immediately.\n"
7077 "NoDisplay=true\n"
7078 "Exec=false\n"))))
7079 #t)))
7080 ;; GDM needs GNOME Session to run these applications. We link
7081 ;; their autostart files in `share/gdm/greeter/autostart'
7082 ;; because GDM explicitly tells GNOME Session to look there.
7083 ;;
7084 ;; XXX: GNOME Shell should be linked here too, but currently
7085 ;; GNOME Shell depends on GDM.
7086 (add-after 'install 'link-autostart-files
7087 (lambda* (#:key inputs outputs #:allow-other-keys)
7088 (let* ((out (assoc-ref outputs "out"))
7089 (autostart (string-append out "/share/gdm/"
7090 "greeter/autostart"))
7091 (settings (assoc-ref inputs "gnome-settings-daemon")))
7092 (mkdir-p autostart)
7093 (with-directory-excursion autostart
7094 (for-each (lambda (desktop)
7095 (symlink desktop (basename desktop)))
7096 (find-files (string-append settings "/etc/xdg"))))
7097 #t))))))
7098 (native-inputs
7099 `(("dconf" ,dconf)
7100 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7101 ("gobject-introspection" ,gobject-introspection)
7102 ("intltool" ,intltool)
7103 ("itstool" ,itstool)
7104 ("pkg-config" ,pkg-config)
7105 ("xmllint" ,libxml2)))
7106 (inputs
7107 `(("accountsservice" ,accountsservice)
7108 ("check" ,check) ; for testing
7109 ("elogind" ,elogind)
7110 ("gnome-session" ,gnome-session)
7111 ("gnome-settings-daemon" ,gnome-settings-daemon)
7112 ("gtk+" ,gtk+)
7113 ("iso-codes" ,iso-codes)
7114 ("libcanberra" ,libcanberra)
7115 ("linux-pam" ,linux-pam)))
7116 (synopsis "Display manager for GNOME")
7117 (home-page "https://wiki.gnome.org/Projects/GDM/")
7118 (description
7119 "GNOME Display Manager is a system service that is responsible for
7120 providing graphical log-ins and managing local and remote displays.")
7121 (license license:gpl2+)))
7122
7123 (define-public libgtop
7124 (package
7125 (name "libgtop")
7126 (version "2.40.0")
7127 (source (origin
7128 (method url-fetch)
7129 (uri (string-append "mirror://gnome/sources/libgtop/"
7130 (version-major+minor version) "/"
7131 "libgtop-" version ".tar.xz"))
7132 (sha256
7133 (base32
7134 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
7135 (build-system gnu-build-system)
7136 (native-inputs
7137 `(("gobject-introspection" ,gobject-introspection)
7138 ("intltool" ,intltool)
7139 ("perl" ,perl)
7140 ("pkg-config" ,pkg-config)))
7141 (propagated-inputs
7142 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7143 (synopsis "Portable system access library")
7144 (home-page "https://www.gnome.org/")
7145 (description
7146 "LibGTop is a library to get system specific data such as CPU and memory
7147 usage and information about running processes.")
7148 (license license:gpl2+)))
7149
7150 (define-public gnome-bluetooth
7151 (package
7152 (name "gnome-bluetooth")
7153 (version "3.34.0")
7154 (source (origin
7155 (method url-fetch)
7156 (uri (string-append "mirror://gnome/sources/" name "/"
7157 (version-major+minor version) "/"
7158 name "-" version ".tar.xz"))
7159 (sha256
7160 (base32
7161 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7162 (build-system meson-build-system)
7163 (native-inputs
7164 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7165 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7166 ("gobject-introspection" ,gobject-introspection)
7167 ("intltool" ,intltool)
7168 ("pkg-config" ,pkg-config)
7169 ("xmllint" ,libxml2)))
7170 (propagated-inputs
7171 ;; gnome-bluetooth-1.0.pc refers to all these.
7172 `(("glib" ,glib)
7173 ("gtk+" ,gtk+)))
7174 (inputs
7175 `(("eudev" ,eudev)
7176 ("libcanberra" ,libcanberra)
7177 ("libnotify" ,libnotify)))
7178 (synopsis "GNOME Bluetooth subsystem")
7179 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7180 (description
7181 "This package contains tools for managing and manipulating Bluetooth
7182 devices using the GNOME desktop.")
7183 (license license:lgpl2.1+)))
7184
7185 (define-public gnome-control-center
7186 (package
7187 (name "gnome-control-center")
7188 (version "3.34.2")
7189 (source (origin
7190 (method url-fetch)
7191 (uri (string-append "mirror://gnome/sources/" name "/"
7192 (version-major+minor version) "/"
7193 name "-" version ".tar.xz"))
7194 (sha256
7195 (base32
7196 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7197 (build-system meson-build-system)
7198 (arguments
7199 '(#:glib-or-gtk? #t
7200 #:configure-flags
7201 (list "-Dcheese=false"
7202 (string-append "-Dgnome_session_libexecdir="
7203 (assoc-ref %build-inputs "gnome-session")
7204 "/libexec"))
7205 #:phases
7206 (modify-phases %standard-phases
7207 (add-before 'configure 'patch-paths
7208 (lambda* (#:key inputs #:allow-other-keys)
7209 (let ((libc (assoc-ref inputs "libc"))
7210 (tzdata (assoc-ref inputs "tzdata"))
7211 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7212 (nm-applet (assoc-ref inputs "network-manager-applet"))
7213 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7214 (substitute* "panels/datetime/tz.h"
7215 (("/usr/share/zoneinfo/zone.tab")
7216 (string-append tzdata "/share/zoneinfo/zone.tab")))
7217 (substitute* "tests/datetime/test-endianess.c"
7218 (("/usr/share/locale")
7219 (string-append libc "/share/locale")))
7220 (substitute* "panels/region/cc-region-panel.c"
7221 (("\"gkbd-keyboard-display")
7222 (string-append "\"" libgnomekbd
7223 "/bin/gkbd-keyboard-display")))
7224 (substitute* '("panels/network/net-device-wifi.c"
7225 "panels/network/net-device.c"
7226 "panels/network/connection-editor/net-connection-editor.c")
7227 (("\"nm-connection-editor")
7228 (string-append "\"" nm-applet
7229 "/bin/nm-connection-editor")))
7230 (substitute* '("panels/user-accounts/run-passwd.c")
7231 (("/usr/bin/passwd")
7232 "/run/setuid-programs/passwd"))
7233 (substitute* "panels/info/cc-info-overview-panel.c"
7234 (("DATADIR \"/gnome/gnome-version.xml\"")
7235 (string-append "\"" gnome-desktop
7236 "/share/gnome/gnome-version.xml\"")))
7237 #t)))
7238 (add-after 'unpack 'skip-gtk-update-icon-cache
7239 ;; Don't create 'icon-theme.cache'.
7240 (lambda _
7241 (substitute* "build-aux/meson/meson_post_install.py"
7242 (("gtk-update-icon-cache") (which "true")))
7243 #t)))))
7244 (native-inputs
7245 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7246 ("intltool" ,intltool)
7247 ("pkg-config" ,pkg-config)
7248 ("xsltproc" ,libxslt)
7249 ;; For tests
7250 ("hicolor-icon-theme" ,hicolor-icon-theme)
7251 ("python-dbusmock" ,python-dbusmock)
7252 ("xorg-server" ,xorg-server-for-tests)))
7253 (inputs
7254 `(("accountsservice" ,accountsservice)
7255 ("clutter-gtk" ,clutter-gtk)
7256 ("colord-gtk" ,colord-gtk)
7257 ("cups" ,cups)
7258 ("dconf" ,dconf)
7259 ("docbook-xsl" ,docbook-xsl)
7260 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7261 ("gnome-bluetooth" ,gnome-bluetooth)
7262 ("gnome-desktop" ,gnome-desktop)
7263 ("gnome-online-accounts" ,gnome-online-accounts)
7264 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7265 ("gnome-session" ,gnome-session)
7266 ("gnome-settings-daemon" ,gnome-settings-daemon)
7267 ("grilo" ,grilo)
7268 ("gsound" ,gsound)
7269 ("ibus" ,ibus)
7270 ("libcanberra" ,libcanberra)
7271 ("libgnomekbd" ,libgnomekbd)
7272 ("libgudev" ,libgudev)
7273 ("libgtop" ,libgtop)
7274 ("libnma" ,libnma)
7275 ("libpwquality" ,libpwquality)
7276 ("libsecret" ,libsecret)
7277 ("libsoup" ,libsoup)
7278 ("libxml2" ,libxml2)
7279 ("libwacom" ,libwacom)
7280 ("mesa" ,mesa)
7281 ("mit-krb5" ,mit-krb5)
7282 ("modem-manager" ,modem-manager)
7283 ("network-manager-applet" ,network-manager-applet)
7284 ("polkit" ,polkit)
7285 ("pulseaudio" ,pulseaudio)
7286 ("smbclient" ,samba)
7287 ("tzdata" ,tzdata)
7288 ("udisks" ,udisks)
7289 ("upower" ,upower)))
7290 (synopsis "Utilities to configure the GNOME desktop")
7291 (home-page "https://www.gnome.org/")
7292 (description
7293 "This package contains configuration applets for the GNOME desktop,
7294 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7295 properties, sound setup, desktop theme and background, user interface
7296 properties, screen resolution, and other GNOME parameters.")
7297 (license license:gpl2+)))
7298
7299 (define-public gnome-shell
7300 (package
7301 (name "gnome-shell")
7302 (version "3.34.2")
7303 (source (origin
7304 (method url-fetch)
7305 (uri (string-append "mirror://gnome/sources/" name "/"
7306 (version-major+minor version) "/"
7307 name "-" version ".tar.xz"))
7308 (sha256
7309 (base32
7310 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
7311 (patches (search-patches "gnome-shell-theme.patch"
7312 "gnome-shell-disable-test.patch"))
7313 (modules '((guix build utils)))
7314 (snippet
7315 #~(begin
7316 ;; Copy images for use on the GDM log-in screen.
7317 (copy-file #$(file-append %artwork-repository
7318 "/slim/0.x/background.png")
7319 "data/theme/guix-background.png")
7320 (copy-file #$(file-append %artwork-repository
7321 "/logo/Guix-horizontal-white.svg")
7322 "data/theme/guix-logo.svg")
7323 #t))))
7324 (build-system meson-build-system)
7325 (arguments
7326 `(#:glib-or-gtk? #t
7327 #:disallowed-references ((,glib "bin")
7328 ,inkscape ,libxslt
7329 ,ruby-sass)
7330 #:configure-flags
7331 (list "-Dsystemd=false"
7332 ;; Otherwise, the RUNPATH will lack the final path component.
7333 (string-append "-Dc_link_args=-Wl,-rpath="
7334 (assoc-ref %outputs "out")
7335 "/lib/gnome-shell"))
7336
7337 #:modules ((guix build meson-build-system)
7338 (guix build utils)
7339 (srfi srfi-1))
7340
7341 #:phases
7342 (modify-phases %standard-phases
7343 (add-after 'unpack 'fix-keysdir
7344 (lambda* (#:key outputs #:allow-other-keys)
7345 (let* ((out (assoc-ref outputs "out"))
7346 (keysdir (string-append
7347 out "/share/gnome-control-center/keybindings")))
7348 (substitute* "meson.build"
7349 (("keysdir =.*")
7350 (string-append "keysdir = '" keysdir "'\n")))
7351 #t)))
7352 (add-before 'configure 'convert-logo-to-png
7353 (lambda* (#:key inputs #:allow-other-keys)
7354 ;; Convert the logo from SVG to PNG.
7355 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7356 "data/theme/guix-logo.svg")))
7357 (add-before 'configure 'record-absolute-file-names
7358 (lambda* (#:key inputs #:allow-other-keys)
7359 (substitute* "js/misc/ibusManager.js"
7360 (("'ibus-daemon'")
7361 (string-append "'" (assoc-ref inputs "ibus")
7362 "/bin/ibus-daemon'")))
7363 (substitute* "js/ui/status/keyboard.js"
7364 (("'gkbd-keyboard-display'")
7365 (string-append "'" (assoc-ref inputs "libgnomekbd")
7366 "/bin/gkbd-keyboard-display'")))
7367 #t))
7368 (add-before 'check 'pre-check
7369 (lambda* (#:key inputs #:allow-other-keys)
7370 ;; Tests require a running X server.
7371 (system "Xvfb :1 &")
7372 (setenv "DISPLAY" ":1")
7373 #t))
7374 (add-after 'install 'wrap-programs
7375 (lambda* (#:key inputs outputs #:allow-other-keys)
7376 (let ((out (assoc-ref outputs "out"))
7377 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7378 (python-path (getenv "PYTHONPATH")))
7379 (wrap-program (string-append out "/bin/gnome-shell")
7380 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7381 ;; FIXME: gnome-shell loads these libraries with unqualified
7382 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7383 ;; alternative might be to patch gnome-shell.
7384 `("LD_LIBRARY_PATH" ":" prefix
7385 ,(map (lambda (pkg)
7386 (string-append (assoc-ref inputs pkg) "/lib"))
7387 '("gdk-pixbuf"
7388 "gnome-bluetooth" "librsvg" "libgweather"))))
7389 (for-each
7390 (lambda (prog)
7391 (wrap-program (string-append out "/bin/" prog)
7392 `("PYTHONPATH" ":" prefix (,python-path))
7393 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7394 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7395 #t)))
7396 (replace 'glib-or-gtk-wrap
7397 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7398 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7399 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7400 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7401 ;; phase. Fix that since we don't need these.
7402 (wrap #:inputs (fold alist-delete inputs
7403 '("inkscape" "intltool" "glib:bin"))
7404 #:outputs outputs)))))))
7405 (native-inputs
7406 `(("asciidoc" ,asciidoc)
7407 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7408 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7409 ("gobject-introspection" ,gobject-introspection)
7410 ("inkscape" ,inkscape)
7411 ("intltool" ,intltool)
7412 ("pkg-config" ,pkg-config)
7413 ("python" ,python)
7414 ("ruby-sass" ,ruby-sass)
7415 ("sassc" ,sassc)
7416 ("xsltproc" ,libxslt)
7417 ;; For tests
7418 ("xorg-server" ,xorg-server-for-tests)))
7419 (inputs
7420 `(("accountsservice" ,accountsservice)
7421 ("caribou" ,caribou)
7422 ("docbook-xsl" ,docbook-xsl)
7423 ("evolution-data-server" ,evolution-data-server)
7424 ("gcr" ,gcr)
7425 ("gdm" ,gdm)
7426 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7427 ("gjs" ,gjs)
7428 ("gnome-autoar" ,gnome-autoar)
7429 ("gnome-bluetooth" ,gnome-bluetooth)
7430 ("gnome-desktop" ,gnome-desktop)
7431 ("gnome-settings-daemon" ,gnome-settings-daemon)
7432 ("gst-plugins-base" ,gst-plugins-base)
7433 ("ibus" ,ibus)
7434 ("libcanberra" ,libcanberra)
7435 ("libcroco" ,libcroco)
7436 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7437 ("libgweather" ,libgweather)
7438 ("libnma" ,libnma)
7439 ("libsoup" ,libsoup)
7440 ("mesa-headers" ,mesa-headers)
7441 ("mutter" ,mutter)
7442 ("network-manager-applet" ,network-manager-applet)
7443 ("polkit" ,polkit)
7444 ("pulseaudio" ,pulseaudio)
7445 ("python-pygobject" ,python-pygobject)
7446 ("startup-notification" ,startup-notification)
7447 ("telepathy-logger" ,telepathy-logger)
7448 ("upower" ,upower)
7449 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7450 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7451 ("librsvg" ,librsvg)
7452 ("geoclue" ,geoclue)))
7453 (synopsis "Desktop shell for GNOME")
7454 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7455 (description
7456 "GNOME Shell provides core user interface functions for the GNOME desktop,
7457 like switching to windows and launching applications.")
7458 (license license:gpl2+)))
7459
7460 (define-public gtk-vnc
7461 (package
7462 (name "gtk-vnc")
7463 (version "0.9.0")
7464 (source
7465 (origin
7466 (method url-fetch)
7467 (uri (string-append "mirror://gnome/sources/" name "/"
7468 (version-major+minor version) "/"
7469 name "-" version ".tar.xz"))
7470 (sha256
7471 (base32
7472 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7473 (build-system gnu-build-system)
7474 (arguments
7475 '(#:configure-flags '("--with-gtk=3.0")))
7476 (propagated-inputs
7477 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7478 (inputs
7479 `(("cyrus-sasl" ,cyrus-sasl)
7480 ("gnutls" ,gnutls)
7481 ("libgcrypt" ,libgcrypt)
7482 ("pulseaudio" ,pulseaudio)))
7483 (native-inputs
7484 `(("glib:bin" ,glib "bin")
7485 ("gobject-introspection" ,gobject-introspection)
7486 ("intltool" ,intltool)
7487 ("pkg-config" ,pkg-config)
7488 ("python-wrapper" ,python-wrapper)
7489 ("vala" ,vala)))
7490 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7491 (synopsis "VNC viewer widget for GTK+")
7492 (description
7493 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7494 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7495 GTK-VNC implements client side RFB protocol and authentication extensions such
7496 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7497 (license license:lgpl2.1+)))
7498
7499 (define-public gnome-autoar
7500 (package
7501 (name "gnome-autoar")
7502 (version "0.2.4")
7503 (source (origin
7504 (method url-fetch)
7505 (uri (string-append "mirror://gnome/sources/" name "/"
7506 (version-major+minor version) "/"
7507 name "-" version ".tar.xz"))
7508 (sha256
7509 (base32
7510 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
7511 (build-system glib-or-gtk-build-system)
7512 (native-inputs
7513 `(("gobject-introspection" ,gobject-introspection)
7514 ("pkg-config" ,pkg-config)))
7515 (propagated-inputs
7516 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
7517 (inputs
7518 `(("gtk+" ,gtk+)))
7519 (synopsis "Archives integration support for GNOME")
7520 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7521 (description
7522 "GNOME Autoar is a library which makes creating and extracting archives
7523 easy, safe, and automatic.")
7524 (license license:lgpl2.1+)))
7525
7526 (define-public tracker
7527 (package
7528 (name "tracker")
7529 (version "2.3.4")
7530 (source (origin
7531 (method url-fetch)
7532 (uri (string-append "mirror://gnome/sources/tracker/"
7533 (version-major+minor version) "/"
7534 "tracker-" version ".tar.xz"))
7535 (sha256
7536 (base32
7537 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7538 (build-system meson-build-system)
7539 (arguments
7540 `(#:glib-or-gtk? #t
7541 #:configure-flags
7542 ;; Otherwise, the RUNPATH will lack the final path component.
7543 (list (string-append "-Dc_link_args=-Wl,-rpath="
7544 (assoc-ref %outputs "out") "/lib:"
7545 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7546 #:phases
7547 (modify-phases %standard-phases
7548 (add-before 'check 'pre-check
7549 (lambda _
7550 ;; Some tests expect to write to $HOME.
7551 (setenv "HOME" "/tmp")
7552 #t)))))
7553 (native-inputs
7554 `(("glib:bin" ,glib "bin")
7555 ("gobject-introspection" ,gobject-introspection)
7556 ("python-pygobject" ,python-pygobject)
7557 ("intltool" ,intltool)
7558 ("pkg-config" ,pkg-config)
7559 ("vala" ,vala)))
7560 (inputs
7561 `(("dbus" ,dbus)
7562 ("sqlite" ,sqlite)
7563 ("libxml2" ,libxml2)
7564 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7565 ("json-glib" ,json-glib)
7566 ("libsoup" ,libsoup)))
7567 (synopsis "Metadata database, indexer and search tool")
7568 (home-page "https://wiki.gnome.org/Projects/Tracker")
7569 (description
7570 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7571
7572 It is a middleware component aimed at desktop application developers who want
7573 their apps to browse and search user content. It's not designed to be used
7574 directly by desktop users, but it provides a commandline tool named
7575 @command{tracker} for the adventurous.
7576
7577 Tracker allows your application to instantly perform full-text searches across
7578 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7579 example. This is achieved by indexing the user's home directory in the
7580 background.
7581
7582 Tracker also allows your application to query and list content that the user
7583 has stored. For example, GNOME Music displays all the music files that are
7584 found by Tracker. This means that GNOME Music doesn't need to maintain a
7585 database of its own.
7586
7587 If you need to go beyond simple searches, Tracker is also a linked data
7588 endpoint and it understands SPARQL. ")
7589 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7590 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7591 ;; libstemmer is bsd-3 and the rest is gpl2+.
7592 (license (list license:gpl2+
7593 license:bsd-3
7594 license:lgpl2.1+))))
7595
7596 (define-public tracker-miners
7597 (package
7598 (name "tracker-miners")
7599 (version "2.3.3")
7600 (source (origin
7601 (method url-fetch)
7602 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7603 (version-major+minor version)
7604 "/tracker-miners-" version ".tar.xz"))
7605 (sha256
7606 (base32
7607 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7608 (build-system meson-build-system)
7609 (arguments
7610 `(#:glib-or-gtk? #t
7611 #:configure-flags
7612 (list "-Dminer_rss=false" ; libgrss is required.
7613 ;; Ensure the RUNPATH contains all installed library locations.
7614 (string-append "-Dc_link_args=-Wl,-rpath="
7615 (assoc-ref %outputs "out")
7616 "/lib/tracker-miners-2.0")
7617 ;; TODO: Enable functional tests. Currently, the following error
7618 ;; appears:
7619 ;; Exception: The functional tests require DConf to be the default
7620 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7621 "-Dfunctional_tests=false")))
7622 (native-inputs
7623 `(("dbus" ,dbus)
7624 ("intltool" ,intltool)
7625 ("glib:bin" ,glib "bin")
7626 ("gobject-introspection" ,gobject-introspection)
7627 ("pkg-config" ,pkg-config)
7628 ("python-pygobject" ,python-pygobject)))
7629 (inputs
7630 `(("exempi" ,exempi)
7631 ("ffmpeg" ,ffmpeg)
7632 ("flac" ,flac)
7633 ("giflib" ,giflib)
7634 ("glib" ,glib)
7635 ("gstreamer" ,gstreamer)
7636 ("icu4c" ,icu4c)
7637 ("libcue" ,libcue)
7638 ("libexif" ,libexif)
7639 ("libgsf" ,libgsf)
7640 ("libgxps" ,libgxps)
7641 ("libiptcdata" ,libiptcdata)
7642 ("libjpeg" ,libjpeg-turbo)
7643 ("libosinfo" ,libosinfo)
7644 ("libpng" ,libpng)
7645 ("libseccomp" ,libseccomp)
7646 ("libtiff" ,libtiff)
7647 ("libvorbis" ,libvorbis)
7648 ("libxml2" ,libxml2)
7649 ("poppler" ,poppler)
7650 ("taglib" ,taglib)
7651 ("totem-pl-parser" ,totem-pl-parser)
7652 ("tracker" ,tracker)
7653 ("upower" ,upower)
7654 ("zlib" ,zlib)))
7655 (synopsis "Metadata database, indexer and search tool")
7656 (home-page "https://wiki.gnome.org/Projects/Tracker")
7657 (description
7658 "Tracker is an advanced framework for first class objects with associated
7659 metadata and tags. It provides a one stop solution for all metadata, tags,
7660 shared object databases, search tools and indexing.")
7661 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7662 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7663 (license (list license:gpl2+
7664 license:lgpl2.1+
7665 license:lgpl2.0+))))
7666
7667 (define-public nautilus
7668 (package
7669 (name "nautilus")
7670 (version "3.34.2")
7671 (source (origin
7672 (method url-fetch)
7673 (uri (string-append "mirror://gnome/sources/" name "/"
7674 (version-major+minor version) "/"
7675 name "-" version ".tar.xz"))
7676 (sha256
7677 (base32
7678 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
7679 (build-system meson-build-system)
7680 (arguments
7681 '(#:glib-or-gtk? #t
7682 #:phases
7683 (modify-phases %standard-phases
7684 (add-after 'unpack 'skip-gtk-update-icon-cache
7685 ;; Don't create 'icon-theme.cache'.
7686 (lambda _
7687 (substitute* "build-aux/meson/postinstall.py"
7688 (("gtk-update-icon-cache") "true"))
7689 #t)))
7690 ;; XXX: FAIL: check-nautilus
7691 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7692 #:tests? #f))
7693 (native-inputs
7694 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7695 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7696 ("gobject-introspection" ,gobject-introspection)
7697 ("intltool" ,intltool)
7698 ("pkg-config" ,pkg-config)))
7699 (inputs
7700 `(("dconf" ,dconf)
7701 ("gexiv2" ,gexiv2)
7702 ("gvfs" ,gvfs)
7703 ("exempi" ,exempi)
7704 ("gnome-desktop" ,gnome-desktop)
7705 ("gnome-autoar" ,gnome-autoar)
7706 ("gst-plugins-base" ,gst-plugins-base)
7707 ("libseccomp" ,libseccomp)
7708 ("libselinux" ,libselinux)
7709 ("tracker" ,tracker)
7710 ("tracker-miners" ,tracker-miners)
7711 ;; XXX: gtk+ is required by libnautilus-extension.pc
7712 ;;
7713 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7714 ;; package. See:
7715 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7716 ("gtk+" ,gtk+)
7717 ("libexif" ,libexif)
7718 ("libxml2" ,libxml2)))
7719 (synopsis "File manager for GNOME")
7720 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7721 (description
7722 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7723 design and behaviour, giving the user a simple way to navigate and manage its
7724 files.")
7725 (license license:gpl2+)))
7726
7727 (define-public baobab
7728 (package
7729 (name "baobab")
7730 (version "3.32.0")
7731 (source (origin
7732 (method url-fetch)
7733 (uri (string-append
7734 "mirror://gnome/sources/" name "/"
7735 (version-major+minor version) "/"
7736 name "-" version ".tar.xz"))
7737 (sha256
7738 (base32
7739 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7740 (build-system meson-build-system)
7741 (arguments
7742 '(#:glib-or-gtk? #t))
7743 (native-inputs
7744 `(("intltool" ,intltool)
7745 ("pkg-config" ,pkg-config)
7746 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7747 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7748 ("itstool" ,itstool)
7749 ("xmllint" ,libxml2)
7750 ("glib" ,glib "bin")
7751 ("vala" ,vala)))
7752 (inputs
7753 `(("gtk+" ,gtk+)))
7754 (synopsis "Disk usage analyzer for GNOME")
7755 (description
7756 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7757 usage in the GNOME desktop environment. It can easily scan device volumes or
7758 a specific user-requested directory branch (local or remote). Once the scan
7759 is complete it provides a graphical representation of each selected folder.")
7760 (home-page "https://wiki.gnome.org/Apps/Baobab")
7761 (license license:gpl2+)))
7762
7763 (define-public gnome-backgrounds
7764 (package
7765 (name "gnome-backgrounds")
7766 (version "3.34.0")
7767 (source
7768 (origin
7769 (method url-fetch)
7770 (uri (string-append "mirror://gnome/sources/" name "/"
7771 (version-major+minor version) "/"
7772 name "-" version ".tar.xz"))
7773 (sha256
7774 (base32
7775 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
7776 (build-system meson-build-system)
7777 (native-inputs
7778 `(("intltool" ,intltool)))
7779 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7780 (synopsis "Background images for the GNOME desktop")
7781 (description
7782 "GNOME backgrounds package contains a collection of graphics files which
7783 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7784 the package creates the proper framework and directory structure so that you
7785 can add your own files to the collection.")
7786 (license (list license:gpl2+
7787 license:cc-by2.0
7788 license:cc-by-sa2.0
7789 license:cc-by-sa3.0))))
7790
7791 (define-public gnome-screenshot
7792 (package
7793 (name "gnome-screenshot")
7794 (version "3.34.0")
7795 (source
7796 (origin
7797 (method url-fetch)
7798 (uri (string-append "mirror://gnome/sources/" name "/"
7799 (version-major+minor version) "/"
7800 name "-" version ".tar.xz"))
7801 (sha256
7802 (base32
7803 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
7804 (build-system meson-build-system)
7805 (arguments
7806 '(#:phases
7807 (modify-phases %standard-phases
7808 (add-after 'unpack 'skip-gtk-update-icon-cache
7809 ;; Don't create 'icon-theme.cache'.
7810 (lambda _
7811 (substitute* "build-aux/postinstall.py"
7812 (("gtk-update-icon-cache") "true"))
7813 #t)))))
7814 (native-inputs
7815 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7816 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7817 ("intltool" ,intltool)
7818 ("appstream-glib" ,appstream-glib)
7819 ("pkg-config" ,pkg-config)))
7820 (inputs
7821 `(("gtk+" ,gtk+)
7822 ("libcanberra" ,libcanberra)
7823 ("libx11" ,libx11)
7824 ("libxext" ,libxext)))
7825 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7826 (synopsis "Take pictures of your screen")
7827 (description
7828 "GNOME Screenshot is a utility used for taking screenshots of the entire
7829 screen, a window or a user defined area of the screen, with optional
7830 beautifying border effects.")
7831 (license license:gpl2+)))
7832
7833 (define-public dconf-editor
7834 (package
7835 (name "dconf-editor")
7836 (version "3.34.2")
7837 (source
7838 (origin
7839 (method url-fetch)
7840 (uri (string-append "mirror://gnome/sources/" name "/"
7841 (version-major+minor version) "/"
7842 name "-" version ".tar.xz"))
7843 (sha256
7844 (base32
7845 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
7846 (build-system meson-build-system)
7847 (native-inputs
7848 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7849 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7850 ("intltool" ,intltool)
7851 ("pkg-config" ,pkg-config)
7852 ("vala" ,vala)))
7853 (inputs
7854 `(("dconf" ,dconf)
7855 ("gtk+" ,gtk+)
7856 ("libxml2" ,libxml2)))
7857 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
7858 (synopsis "Graphical editor for GNOME's dconf configuration system")
7859 (description
7860 "Dconf-editor is a graphical tool for browsing and editing the dconf
7861 configuration system for GNOME. It allows users to configure desktop
7862 software that do not provide their own configuration interface.")
7863 (license license:lgpl2.1+)))
7864
7865 (define-public gnome-default-applications
7866 (package
7867 (name "gnome-default-applications")
7868 (version "0")
7869 (build-system trivial-build-system)
7870 (source #f)
7871 (propagated-inputs
7872 `(("nautilus" ,nautilus)
7873 ("evince" ,evince)))
7874 (arguments
7875 `(#:modules ((guix build utils))
7876 #:builder
7877 (begin
7878 (use-modules (guix build utils))
7879 (let* ((out (assoc-ref %outputs "out"))
7880 (apps (string-append out "/share/applications")))
7881 (mkdir-p apps)
7882 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
7883 (lambda (port)
7884 (format port "[Default Applications]\n")
7885 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7886 (format port "application/pdf=evince.desktop\n")
7887 (format port "application/postscript=evince.desktop\n")))
7888 #t))))
7889 (synopsis "Default MIME type associations for the GNOME desktop")
7890 (description
7891 "Given many installed packages which might handle a given MIME type, a
7892 user running the GNOME desktop probably has some preferences: for example,
7893 that folders be opened by default by the Nautilus file manager, not the Baobab
7894 disk usage analyzer. This package establishes that set of default MIME type
7895 associations for GNOME.")
7896 (license license:gpl3+)
7897 (home-page #f)))
7898
7899 (define-public libgovirt
7900 (package
7901 (name "libgovirt")
7902 (version "0.3.6")
7903 (source (origin
7904 (method url-fetch)
7905 (uri (string-append "mirror://gnome/sources/" name "/"
7906 (version-major+minor version) "/"
7907 name "-" version ".tar.xz"))
7908 (sha256
7909 (base32
7910 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7911 (build-system glib-or-gtk-build-system)
7912 (native-inputs
7913 `(("gettext" ,gettext-minimal)
7914 ("glib:bin" ,glib "bin")
7915 ("gobject-introspection" ,gobject-introspection)
7916 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7917 ("gtk+:bin" ,gtk+ "bin")
7918 ("pkg-config" ,pkg-config)))
7919 (inputs
7920 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7921 ("librest" ,rest)))
7922 (synopsis "GoVirt Library")
7923 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7924 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7925 (license license:gpl2+)))
7926
7927 (define-public gnome-weather
7928 (package
7929 (name "gnome-weather")
7930 (version "3.34.0")
7931 (source (origin
7932 (method url-fetch)
7933 (uri (string-append "mirror://gnome/sources/" name "/"
7934 (version-major+minor version) "/"
7935 name "-" version ".tar.xz"))
7936 (sha256
7937 (base32
7938 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7939 (build-system meson-build-system)
7940 (native-inputs
7941 `(("gettext" ,gettext-minimal)
7942 ("glib:bin" ,glib "bin")
7943 ("gobject-introspection" ,gobject-introspection)
7944 ("gtk+:bin" ,gtk+ "bin")
7945 ("pkg-config" ,pkg-config)))
7946 (inputs
7947 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7948 ("appstream-glib" ,appstream-glib)
7949 ("geoclue" ,geoclue)
7950 ("gdk-pixbuf" ,gdk-pixbuf)
7951 ("gjs" ,gjs)
7952 ("gnome-desktop" ,gnome-desktop)
7953 ("libgweather" ,libgweather)))
7954 (arguments
7955 `(#:glib-or-gtk? #t
7956 #:phases
7957 (modify-phases %standard-phases
7958 (add-after 'install 'fix-desktop-file
7959 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
7960 ;; See https://issues.guix.gnu.org/issue/39324.
7961 (lambda* (#:key outputs #:allow-other-keys)
7962 (let* ((out (assoc-ref outputs "out"))
7963 (applications (string-append out "/share/applications")))
7964 (substitute* (string-append applications "/org.gnome.Weather.desktop")
7965 (("Exec=.*") "Exec=gnome-weather\n"))
7966 #t)))
7967 (add-after 'install 'wrap
7968 (lambda* (#:key inputs outputs #:allow-other-keys)
7969 (let ((out (assoc-ref outputs "out"))
7970 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7971 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
7972 (wrap-program (string-append out "/bin/gnome-weather")
7973 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
7974 #t))))))
7975 (synopsis "Weather monitoring for GNOME desktop")
7976 (description "GNOME Weather is a small application that allows you to
7977 monitor the current weather conditions for your city, or anywhere in the
7978 world.")
7979 (home-page "https://wiki.gnome.org/Apps/Weather")
7980 (license license:gpl2+)))
7981
7982 (define-public gnome
7983 (package
7984 (name "gnome")
7985 (version (package-version gnome-shell))
7986 (source #f)
7987 (build-system trivial-build-system)
7988 (arguments '(#:builder (begin (mkdir %output) #t)))
7989 (propagated-inputs
7990 ;; TODO: Add or remove packages according to:
7991 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7992 `(
7993 ;; GNOME-Core-OS-Services
7994 ("accountsservice" ,accountsservice)
7995 ("network-manager" ,network-manager)
7996 ("packagekit" ,packagekit)
7997 ("upower" ,upower)
7998 ;; GNOME-Core-Shell
7999 ("adwaita-icon-theme" ,adwaita-icon-theme)
8000 ("gdm" ,gdm)
8001 ("glib-networking" ,glib-networking)
8002 ("gnome-backgrounds" ,gnome-backgrounds)
8003 ("gnome-bluetooth" ,gnome-bluetooth)
8004 ("gnome-color-manager" ,gnome-color-manager)
8005 ("gnome-control-center" ,gnome-control-center)
8006 ("gnome-desktop" ,gnome-desktop)
8007 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8008 ("gnome-initial-setup" ,gnome-initial-setup)
8009 ("gnome-keyring" ,gnome-keyring)
8010 ("gnome-menus" ,gnome-menus)
8011 ("gnome-session" ,gnome-session)
8012 ("gnome-settings-daemon" ,gnome-settings-daemon)
8013 ("gnome-shell-extensions" ,gnome-shell-extensions)
8014 ("gnome-shell" ,gnome-shell)
8015 ("gnome-themes-extra" ,gnome-themes-extra)
8016 ("gnome-user-docs" ,gnome-user-docs)
8017 ("gnome-user-share" ,gnome-user-share)
8018 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8019 ("gvfs" ,gvfs)
8020 ("mutter" ,mutter)
8021 ("orca" ,orca)
8022 ("rygel" ,rygel)
8023 ("sushi" ,sushi)
8024 ;; GNOME-Core-Utilities
8025 ("baobab" ,baobab)
8026 ("cheese" ,cheese)
8027 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
8028 ;; only works on x86_64, so exclude it on other architectures.
8029 ,@(if (string-prefix? "x86_64" (%current-system))
8030 `(("eog" ,eog))
8031 '())
8032 ("epiphany" ,epiphany)
8033 ("evince" ,evince)
8034 ("file-roller" ,file-roller)
8035 ("gedit" ,gedit)
8036 ("gnome-boxes" ,gnome-boxes)
8037 ("gnome-calculator" ,gnome-calculator)
8038 ("gnome-calendar" ,gnome-calendar)
8039 ("gnome-characters" ,gnome-characters)
8040 ("gnome-clocks" ,gnome-clocks)
8041 ("gnome-contacts" ,gnome-contacts)
8042 ("gnome-disk-utility" ,gnome-disk-utility)
8043 ("gnome-font-viewer" ,gnome-font-viewer)
8044 ("gnome-maps" ,gnome-maps)
8045 ; TODO: ("gnome-music" ,gnome-music)
8046 ; TODO: ("gnome-photos" ,gnome-photos)
8047 ("gnome-screenshot" ,gnome-screenshot)
8048 ("gnome-system-monitor" ,gnome-system-monitor)
8049 ("gnome-terminal" ,gnome-terminal)
8050 ("gnome-weather" ,gnome-weather)
8051 ("nautilus" ,nautilus)
8052 ("simple-scan" ,simple-scan)
8053 ("totem" ,totem)
8054 ("yelp" ,yelp)
8055 ;; Others
8056 ("hicolor-icon-theme" ,hicolor-icon-theme)
8057 ("gnome-online-accounts" ,gnome-online-accounts)
8058
8059 ;; Packages not part of GNOME proper but that are needed for a good
8060 ;; experience. See <https://bugs.gnu.org/39646>.
8061 ;; XXX: Find out exactly which ones are needed and why.
8062 ("font-cantarell" ,font-cantarell)
8063 ("font-dejavu" ,font-dejavu)
8064 ("at-spi2-core" ,at-spi2-core)
8065 ("dbus" ,dbus)
8066 ("dconf" ,dconf)
8067 ("desktop-file-utils" ,desktop-file-utils)
8068 ("gnome-default-applications" ,gnome-default-applications)
8069 ("gnome-themes-standard" ,gnome-themes-standard)
8070 ("gst-plugins-base" ,gst-plugins-base)
8071 ("gst-plugins-good" ,gst-plugins-good)
8072 ("gucharmap" ,gucharmap)
8073 ("pinentry-gnome3" ,pinentry-gnome3)
8074 ("pulseaudio" ,pulseaudio)
8075 ("shared-mime-info" ,shared-mime-info)
8076 ("system-config-printer" ,system-config-printer)
8077 ("xdg-user-dirs" ,xdg-user-dirs)
8078 ("yelp" ,yelp)
8079 ("zenity" ,zenity)))
8080 (synopsis "The GNU desktop environment")
8081 (home-page "https://www.gnome.org/")
8082 (description
8083 "GNOME is the graphical desktop for GNU. It includes a wide variety of
8084 applications for browsing the web, editing text and images, creating
8085 documents and diagrams, playing media, scanning, and much more.")
8086 (license license:gpl2+)))
8087
8088 (define-public byzanz
8089 ;; The last stable release of Byzanz was in 2011, but there have been many
8090 ;; useful commits made to the Byzanz repository since then that it would be
8091 ;; silly to use such an old release.
8092 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
8093 (package
8094 (name "byzanz")
8095 (version (string-append "0.2-1." (string-take commit 7)))
8096 (source (origin
8097 (method git-fetch)
8098 (uri (git-reference
8099 (url "https://git.gnome.org/browse/byzanz")
8100 (commit commit)))
8101 (file-name (string-append name "-" version "-checkout"))
8102 (sha256
8103 (base32
8104 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8105 (build-system glib-or-gtk-build-system)
8106 (arguments
8107 '(#:phases
8108 (modify-phases %standard-phases
8109 (add-before 'bootstrap 'build-without-Werror
8110 (lambda _
8111 ;; The build system cleverly detects that we're not building from
8112 ;; a release tarball and turns on -Werror for GCC.
8113 ;; Unsurprisingly, there is a warning during compilation that
8114 ;; causes the build to fail unnecessarily, so we remove the flag.
8115 (substitute* '("configure.ac")
8116 (("-Werror") ""))
8117 #t)))))
8118 (native-inputs
8119 `(("autoconf" ,autoconf)
8120 ("automake" ,automake)
8121 ("gnome-common" ,gnome-common)
8122 ("intltool" ,intltool)
8123 ("libtool" ,libtool)
8124 ("pkg-config" ,pkg-config)
8125 ("which" ,which)))
8126 (inputs
8127 `(("glib" ,glib)
8128 ("gstreamer" ,gstreamer)
8129 ("gst-plugins-base" ,gst-plugins-base)
8130 ("gtk+" ,gtk+)))
8131 (synopsis "Desktop recording program")
8132 (description "Byzanz is a simple desktop recording program with a
8133 command-line interface. It can record part or all of an X display for a
8134 specified duration and save it as a GIF encoded animated image file.")
8135 (home-page "https://git.gnome.org/browse/byzanz")
8136 (license license:gpl2+))))
8137
8138 (define-public gsound
8139 (package
8140 (name "gsound")
8141 (version "1.0.2")
8142 (source (origin
8143 (method url-fetch)
8144 (uri (string-append "mirror://gnome/sources/" name "/"
8145 (version-major+minor version) "/"
8146 name "-" version ".tar.xz"))
8147 (sha256
8148 (base32
8149 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8150 (build-system glib-or-gtk-build-system)
8151 (native-inputs
8152 `(("pkg-config" ,pkg-config)
8153 ("gobject-introspection" ,gobject-introspection)
8154 ("vala" ,vala)))
8155 (inputs
8156 `(("glib" ,glib)
8157 ("libcanberra" ,libcanberra)))
8158 (home-page "https://wiki.gnome.org/Projects/GSound")
8159 (synopsis "GObject wrapper for libcanberra")
8160 (description
8161 "GSound is a small library for playing system sounds. It's designed to be
8162 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8163 library.")
8164 (license license:lgpl2.1+)))
8165
8166 (define-public libzapojit
8167 (package
8168 (name "libzapojit")
8169 (version "0.0.3")
8170 (source (origin
8171 (method url-fetch)
8172 (uri (string-append "mirror://gnome/sources/" name "/"
8173 (version-major+minor version) "/"
8174 name "-" version ".tar.xz"))
8175 (sha256
8176 (base32
8177 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8178 (build-system gnu-build-system)
8179 (native-inputs
8180 `(("gobject-introspection" ,gobject-introspection)
8181 ("intltool" ,intltool)
8182 ("pkg-config" ,pkg-config)))
8183 (inputs
8184 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8185 ("json-glib" ,json-glib)
8186 ("rest" ,rest)))
8187 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8188 (synopsis "Library for accessing SkyDrive and Hotmail")
8189 (description
8190 "Libzapojit is a GLib-based library for accessing online service APIs of
8191 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8192 (license license:lgpl2.1+)))
8193
8194 (define-public gnome-clocks
8195 (package
8196 (name "gnome-clocks")
8197 (version "3.34.0")
8198 (source (origin
8199 (method url-fetch)
8200 (uri (string-append "mirror://gnome/sources/" name "/"
8201 (version-major+minor version) "/"
8202 name "-" version ".tar.xz"))
8203 (sha256
8204 (base32
8205 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8206 (build-system meson-build-system)
8207 (arguments
8208 '(#:glib-or-gtk? #t
8209 #:phases
8210 (modify-phases %standard-phases
8211 (add-after 'unpack 'skip-gtk-update-icon-cache
8212 ;; Don't create 'icon-theme.cache'.
8213 (lambda _
8214 (substitute* "build-aux/post-install.py"
8215 (("gtk-update-icon-cache") "true"))
8216 #t)))))
8217 (native-inputs
8218 `(("vala" ,vala)
8219 ("pkg-config" ,pkg-config)
8220 ("glib" ,glib "bin") ; for glib-compile-resources
8221 ("desktop-file-utils" ,desktop-file-utils)
8222 ("gettext" ,gettext-minimal)
8223 ("itstool" ,itstool)))
8224 (inputs
8225 `(("glib" ,glib)
8226 ("gtk+" ,gtk+)
8227 ("gsound" ,gsound)
8228 ("geoclue" ,geoclue)
8229 ("geocode-glib" ,geocode-glib)
8230 ("libgweather" ,libgweather)
8231 ("gnome-desktop" ,gnome-desktop)))
8232 (home-page "https://wiki.gnome.org/Apps/Clocks")
8233 (synopsis "GNOME's clock application")
8234 (description
8235 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8236 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8237 (license license:gpl3+)))
8238
8239 (define-public gnome-calendar
8240 (package
8241 (name "gnome-calendar")
8242 (version "3.34.2")
8243 (source (origin
8244 (method url-fetch)
8245 (uri (string-append "mirror://gnome/sources/" name "/"
8246 (version-major+minor version) "/"
8247 name "-" version ".tar.xz"))
8248 (sha256
8249 (base32
8250 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8251 (build-system meson-build-system)
8252 (arguments
8253 '(#:glib-or-gtk? #t
8254 ;; gnome-calendar has to be installed before the tests can be run
8255 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8256 #:tests? #f
8257 #:phases
8258 (modify-phases %standard-phases
8259 (add-after 'unpack 'skip-gtk-update-icon-cache
8260 ;; Don't create 'icon-theme.cache'.
8261 (lambda _
8262 (substitute* "build-aux/meson/meson_post_install.py"
8263 (("gtk-update-icon-cache") "true"))
8264 #t)))))
8265 (native-inputs
8266 `(("gettext" ,gettext-minimal)
8267 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8268 ("pkg-config" ,pkg-config)))
8269 (inputs
8270 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8271 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8272 ("libdazzle" ,libdazzle)
8273 ("libedataserverui" ,evolution-data-server)
8274 ("libgweather" ,libgweather)
8275 ("geoclue" ,geoclue)))
8276 (propagated-inputs
8277 `(("evolution-data-server" ,evolution-data-server)))
8278 (home-page "https://wiki.gnome.org/Apps/Calendar")
8279 (synopsis "GNOME's calendar application")
8280 (description
8281 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8282 desktop. It supports multiple calendars, month, week and year view.")
8283 (license license:gpl3+)))
8284
8285 (define-public gnome-todo
8286 (package
8287 (name "gnome-todo")
8288 (version "3.28.1")
8289 (source (origin
8290 (method url-fetch)
8291 (uri (string-append "mirror://gnome/sources/" name "/"
8292 (version-major+minor version) "/"
8293 name "-" version ".tar.xz"))
8294 (sha256
8295 (base32
8296 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
8297 (patches
8298 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
8299 (build-system meson-build-system)
8300 (arguments
8301 '(#:glib-or-gtk? #t
8302 #:phases (modify-phases %standard-phases
8303 (add-after
8304 'install 'wrap-gnome-todo
8305 (lambda* (#:key inputs outputs #:allow-other-keys)
8306 (let ((out (assoc-ref outputs "out"))
8307 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8308 (python-path (getenv "PYTHONPATH")))
8309 (wrap-program (string-append out "/bin/gnome-todo")
8310 ;; XXX: gi plugins are broken.
8311 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8312 ;; For plugins.
8313 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8314 `("PYTHONPATH" ":" prefix (,python-path))))
8315 #t)))))
8316 (native-inputs
8317 `(("gettext" ,gettext-minimal)
8318 ("gobject-introspection" ,gobject-introspection)
8319 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8320 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8321 ("pkg-config" ,pkg-config)))
8322 (inputs
8323 `(("rest" ,rest) ; For Todoist plugin
8324 ("json-glib" ,json-glib) ; For Todoist plugin
8325 ("libedataserverui" ,evolution-data-server)
8326 ("libical" ,libical)
8327 ("libpeas" ,libpeas)
8328 ("python-pygobject" ,python-pygobject)
8329 ("evolution-data-server" ,evolution-data-server)
8330 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8331 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8332 (home-page "https://wiki.gnome.org/Apps/Todo")
8333 (synopsis "GNOME's ToDo Application")
8334 (description
8335 "GNOME To Do is a simplistic personal task manager designed to perfectly
8336 fit the GNOME desktop.")
8337 (license license:gpl3+)))
8338
8339 (define-public gnome-dictionary
8340 (package
8341 (name "gnome-dictionary")
8342 (version "3.26.1")
8343 (source (origin
8344 (method url-fetch)
8345 (uri (string-append "mirror://gnome/sources/" name "/"
8346 (version-major+minor version) "/"
8347 name "-" version ".tar.xz"))
8348 (sha256
8349 (base32
8350 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8351 (build-system meson-build-system)
8352 (arguments '(#:glib-or-gtk? #t
8353 #:phases (modify-phases %standard-phases
8354 (add-after 'unpack 'patch-install-script
8355 (lambda _
8356 ;; This script attempts to compile glib schemas
8357 ;; and create an empty MIME database. We do
8358 ;; that elsewhere, so prevent it from running.
8359 (substitute* "build-aux/post-install.sh"
8360 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8361 #t)))))
8362 (native-inputs
8363 `(("glib:bin" ,glib "bin")
8364 ("gobject-introspection" ,gobject-introspection)
8365 ("intltool" ,intltool)
8366 ("itstool" ,itstool)
8367 ("pkg-config" ,pkg-config)
8368 ("xmllint" ,libxml2)))
8369 (inputs
8370 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8371 ("gtk+" ,gtk+)))
8372 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8373 (synopsis "Look up words in dictionary sources")
8374 (description
8375 "GNOME Dictionary can look for the definition or translation of a word in
8376 existing databases over the internet.")
8377 (license license:gpl3+)))
8378
8379 (define-public gnome-tweaks
8380 (package
8381 (name "gnome-tweaks")
8382 (version "3.34.0")
8383 (source (origin
8384 (method url-fetch)
8385 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8386 (version-major+minor version) "/"
8387 "gnome-tweaks-" version ".tar.xz"))
8388 (patches
8389 (list (search-patch "gnome-tweaks-search-paths.patch")))
8390 (sha256
8391 (base32
8392 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
8393 (build-system meson-build-system)
8394 (arguments
8395 `(#:glib-or-gtk? #t
8396 #:configure-flags '("-Dlocalstatedir=/tmp"
8397 "-Dsysconfdir=/tmp")
8398 #:imported-modules ((guix build python-build-system)
8399 ,@%meson-build-system-modules)
8400 #:phases
8401 (modify-phases %standard-phases
8402 (add-after 'unpack 'skip-gtk-update-icon-cache
8403 ;; Don't create 'icon-theme.cache'.
8404 (lambda _
8405 (substitute* "meson-postinstall.py"
8406 (("gtk-update-icon-cache") "true"))
8407 #t))
8408 (add-after 'install 'wrap
8409 (@@ (guix build python-build-system) wrap))
8410 (add-after 'wrap 'wrap-gi-typelib
8411 (lambda* (#:key inputs outputs #:allow-other-keys)
8412 (let ((out (assoc-ref outputs "out"))
8413 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8414 (wrap-program (string-append out "/bin/gnome-tweaks")
8415 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8416 #t)))))
8417 (native-inputs
8418 `(("intltool" ,intltool)
8419 ("pkg-config" ,pkg-config)))
8420 (inputs
8421 `(("gnome-desktop" ,gnome-desktop)
8422 ("gtk+" ,gtk+)
8423 ("gobject-introspection" ,gobject-introspection)
8424 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8425 ("libhandy" ,libhandy)
8426 ("libnotify" ,libnotify)
8427 ("libsoup" ,libsoup)
8428 ("nautilus" ,nautilus)
8429 ("python" ,python)
8430 ("python-pygobject" ,python-pygobject)))
8431 (synopsis "Customize advanced GNOME 3 options")
8432 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8433 (description
8434 "GNOME Tweaks allows adjusting advanced configuration settings in
8435 GNOME 3. This includes things like the fonts used in user interface elements,
8436 alternative user interface themes, changes in window management behavior,
8437 GNOME Shell appearance and extension, etc.")
8438 (license license:gpl3+)))
8439
8440 (define-public gnome-shell-extensions
8441 (package
8442 (name "gnome-shell-extensions")
8443 (version "3.34.2")
8444 (source (origin
8445 (method url-fetch)
8446 (uri (string-append "mirror://gnome/sources/" name "/"
8447 (version-major+minor version) "/"
8448 name "-" version ".tar.xz"))
8449 (sha256
8450 (base32
8451 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
8452 (build-system meson-build-system)
8453 (arguments
8454 '(#:configure-flags '("-Dextension_set=all")))
8455 (native-inputs
8456 `(("glib:bin" ,glib "bin")
8457 ("intltool" ,intltool)
8458 ("pkg-config" ,pkg-config)))
8459 (propagated-inputs
8460 `(("glib" ,glib)))
8461 (synopsis "Extensions for GNOME Shell")
8462 (description "GNOME Shell extensions modify and extend GNOME Shell
8463 functionality and behavior.")
8464 (home-page "https://extensions.gnome.org/")
8465 (license license:gpl3+)))
8466
8467 (define-public arc-theme
8468 (package
8469 (name "arc-theme")
8470 (version "20190917")
8471 (source (origin
8472 (method git-fetch)
8473 (uri (git-reference
8474 (url "https://github.com/NicoHood/arc-theme")
8475 (commit version)))
8476 (file-name (git-file-name name version))
8477 (sha256
8478 (base32
8479 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8480 (build-system gnu-build-system)
8481 (arguments
8482 '(#:phases
8483 (modify-phases %standard-phases
8484 ;; autogen.sh calls configure at the end of the script.
8485 (replace 'bootstrap
8486 (lambda _ (invoke "autoreconf" "-vfi")))
8487 (add-before 'build 'set-home ;placate Inkscape
8488 (lambda _
8489 (setenv "HOME" (getcwd))
8490 #t)))))
8491 (native-inputs
8492 `(("autoconf" ,autoconf)
8493 ("automake" ,automake)
8494 ("glib" ,glib "bin") ; for glib-compile-resources
8495 ("gnome-shell" ,gnome-shell)
8496 ("gtk+" ,gtk+)
8497 ("inkscape" ,inkscape)
8498 ("optipng" ,optipng)
8499 ("pkg-config" ,pkg-config)
8500 ("sassc" ,sassc/libsass-3.5)))
8501 (synopsis "A flat GTK+ theme with transparent elements")
8502 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8503 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8504 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8505 (home-page "https://github.com/horst3180/arc-theme")
8506 ;; No "or later" language found.
8507 (license license:gpl3+)))
8508
8509 (define-public faba-icon-theme
8510 (package
8511 (name "faba-icon-theme")
8512 (version "4.3")
8513 (source
8514 (origin
8515 (method git-fetch)
8516 (uri (git-reference
8517 (url "https://github.com/snwh/faba-icon-theme")
8518 (commit (string-append "v" version))))
8519 (file-name (git-file-name name version))
8520 (sha256
8521 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8522 (build-system meson-build-system)
8523 (arguments
8524 `(#:phases
8525 (modify-phases %standard-phases
8526 (add-before 'configure 'disable-post-install
8527 (lambda _
8528 (substitute* "meson.build"
8529 (("meson.add_install_script.*") "")))))))
8530 (native-inputs
8531 `(("autoconf" ,autoconf)
8532 ("automake" ,automake)))
8533 (synopsis "Faba icon theme")
8534 (description
8535 "Faba is a minimal icon set used as a basis for other themes such as
8536 Moka")
8537 (home-page "https://snwh.org/moka")
8538 (license (list license:lgpl3+
8539 license:cc-by-sa4.0))))
8540
8541 (define-public moka-icon-theme
8542 (package
8543 (inherit faba-icon-theme)
8544 (name "moka-icon-theme")
8545 (version "5.4.0")
8546 (source
8547 (origin
8548 (method git-fetch)
8549 (uri (git-reference
8550 (url "https://github.com/snwh/moka-icon-theme")
8551 (commit (string-append "v" version))))
8552 (file-name (git-file-name name version))
8553 (sha256
8554 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8555 (propagated-inputs
8556 ;; Moka is based on Faba by using it as a fallback icon set instead of
8557 ;; bundling it, so we need to add it as a propagated input.
8558 `(("faba-icon-theme" ,faba-icon-theme)))
8559 (synopsis "Moka icon theme")
8560 (description "Moka is a stylized desktop icon set, designed to be clear,
8561 simple and consistent.")
8562 (license (list license:gpl3+
8563 license:cc-by-sa4.0))))
8564
8565 (define-public arc-icon-theme
8566 (package
8567 (name "arc-icon-theme")
8568 (version "20161122")
8569 (source
8570 (origin
8571 (method git-fetch)
8572 (uri (git-reference
8573 (url "https://github.com/horst3180/arc-icon-theme")
8574 (commit version)))
8575 (file-name (git-file-name name version))
8576 (sha256
8577 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8578 (build-system gnu-build-system)
8579 (arguments
8580 `(#:phases
8581 (modify-phases %standard-phases
8582 (add-after 'unpack 'disable-configure-during-bootstrap
8583 (lambda _
8584 (substitute* "autogen.sh"
8585 (("^\"\\$srcdir/configure\".*") ""))
8586 #t)))))
8587 (native-inputs
8588 `(("autoconf" ,autoconf)
8589 ("automake" ,automake)))
8590 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8591 (propagated-inputs
8592 `(("moka-icon-theme" ,moka-icon-theme)))
8593 (synopsis "Arc icon theme")
8594 (description "The Arc icon theme provides a set of icons matching the
8595 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8596 the Moka icon theme.")
8597 (home-page "https://github.com/horst3180/arc-icon-theme")
8598 (license license:gpl3+)))
8599
8600 (define-public folks
8601 (package
8602 (name "folks")
8603 (version "0.13.1")
8604 (source (origin
8605 (method url-fetch)
8606 (uri (string-append
8607 "mirror://gnome/sources/folks/"
8608 (version-major+minor version) "/"
8609 "folks-" version ".tar.xz"))
8610 (sha256
8611 (base32
8612 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
8613 (build-system meson-build-system)
8614 (arguments
8615 '(#:phases
8616 (modify-phases %standard-phases
8617 (add-after 'unpack 'skip-gtk-update-icon-cache
8618 ;; Don't create 'icon-theme.cache'.
8619 (lambda _
8620 (substitute* "meson_post_install.py"
8621 (("gtk-update-icon-cache") "true"))
8622 #t)))))
8623 (inputs
8624 `(("bdb" ,bdb)
8625 ("dbus-glib" ,dbus-glib)
8626 ("evolution-data-server" ,evolution-data-server)
8627 ("glib" ,glib)
8628 ("libgee" ,libgee)
8629 ("readline" ,readline)
8630 ("telepathy-glib" ,telepathy-glib)))
8631 (native-inputs
8632 `(("glib:bin" ,glib "bin")
8633 ("gobject-introspection" ,gobject-introspection)
8634 ("intltool" ,intltool)
8635 ("pkg-config" ,pkg-config)
8636 ("vala" ,vala)))
8637 (synopsis "Library to aggregate data about people")
8638 (description "Libfolks is a library that aggregates information about people
8639 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8640 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8641 etc.) to create metacontacts. It's written in Vala, which generates C code when
8642 compiled.")
8643 (home-page "https://wiki.gnome.org/Projects/Folks")
8644 (license license:lgpl2.1+)))
8645
8646 (define-public gfbgraph
8647 (package
8648 (name "gfbgraph")
8649 (version "0.2.4")
8650 (source (origin
8651 (method url-fetch)
8652 (uri (string-append
8653 "mirror://gnome/sources/gfbgraph/"
8654 (version-major+minor version) "/"
8655 "gfbgraph-" version ".tar.xz"))
8656 (sha256
8657 (base32
8658 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
8659 (build-system glib-or-gtk-build-system)
8660 (arguments
8661 `(#:tests? #f ; tests appear to require the network
8662 #:configure-flags '("--disable-static"
8663 "--enable-gtk-doc"
8664 "--enable-introspection")))
8665 (native-inputs
8666 `(("gobject-introspection" ,gobject-introspection)
8667 ("gtk-doc" ,gtk-doc)
8668 ("pkg-config" ,pkg-config)
8669
8670 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
8671 ("autoconf" ,autoconf)
8672 ("automake" ,automake)
8673 ("libtool" ,libtool)
8674 ("which" ,which)))
8675 (inputs
8676 `(("json-glib" ,json-glib)
8677 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8678 ("rest" ,rest)))
8679 (synopsis "GLib/GObject wrapper for the Facebook API")
8680 (description "This library allows you to use the Facebook API from
8681 GLib/GObject code.")
8682 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8683 (license license:lgpl2.1+)))
8684
8685 (define-public libgnomekbd
8686 (package
8687 (name "libgnomekbd")
8688 (version "3.26.1")
8689 (source (origin
8690 (method url-fetch)
8691 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8692 (version-major+minor version) "/"
8693 "libgnomekbd-" version ".tar.xz"))
8694 (sha256
8695 (base32
8696 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8697 (build-system gnu-build-system)
8698 (native-inputs
8699 `(("pkg-config" ,pkg-config)
8700 ("glib" ,glib "bin")
8701 ("intltool" ,intltool)))
8702 (propagated-inputs
8703 ;; Referred to in .h files and .pc.
8704 `(("glib" ,glib)
8705 ("gtk+" ,gtk+)
8706 ("libxklavier" ,libxklavier)))
8707 (home-page "https://www.gnome.org")
8708 (synopsis "GNOME keyboard configuration library")
8709 (description
8710 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8711 environment, which can notably display keyboard layouts.")
8712 (license license:lgpl2.0+)))
8713
8714 ;;; This package is no longer maintained:
8715 ;;; https://wiki.gnome.org/Attic/LibUnique
8716 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8717 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8718 (define-public libunique
8719 (package
8720 (name "libunique")
8721 (version "3.0.2")
8722 (source (origin
8723 (method url-fetch)
8724 (uri (string-append "mirror://gnome/sources/" name "/"
8725 (version-major+minor version) "/"
8726 name "-" version ".tar.xz"))
8727 (sha256
8728 (base32
8729 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8730 (build-system glib-or-gtk-build-system)
8731 (arguments
8732 `(#:configure-flags '("--disable-static"
8733 "--disable-dbus" ; use gdbus
8734 "--enable-introspection")))
8735 (native-inputs
8736 `(("pkg-config" ,pkg-config)
8737 ("gobject-introspection" ,gobject-introspection)
8738 ("glib:bin" ,glib "bin")
8739 ("gtk-doc" ,gtk-doc)))
8740 (propagated-inputs
8741 ;; Referred to in .h files and .pc.
8742 `(("gtk+" ,gtk+)))
8743 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8744 (synopsis "Library for writing single instance applications")
8745 (description
8746 "Libunique is a library for writing single instance applications. If you
8747 launch a single instance application twice, the second instance will either just
8748 quit or will send a message to the running instance. Libunique makes it easy to
8749 write this kind of application, by providing a base class, taking care of all
8750 the IPC machinery needed to send messages to a running instance, and also
8751 handling the startup notification side.")
8752 (license license:lgpl2.1+)))
8753
8754 (define-public gnome-calculator
8755 (package
8756 (name "gnome-calculator")
8757 (version "3.34.1")
8758 (source
8759 (origin
8760 (method url-fetch)
8761 (uri (string-append "mirror://gnome/sources/" name "/"
8762 (version-major+minor version) "/"
8763 name "-" version ".tar.xz"))
8764 (sha256
8765 (base32
8766 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
8767 (build-system meson-build-system)
8768 (arguments '(#:glib-or-gtk? #t))
8769 (native-inputs
8770 `(("gettext" ,gettext-minimal)
8771 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8772 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8773 ("itstool" ,itstool)
8774 ("vala" ,vala)
8775 ("pkg-config" ,pkg-config)))
8776 (inputs
8777 `(("glib" ,glib)
8778 ("gtksourceview" ,gtksourceview)
8779 ("libgee" ,libgee)
8780 ("libsoup" ,libsoup)
8781 ("libxml2" ,libxml2)
8782 ("mpc" ,mpc)
8783 ("mpfr" ,mpfr)))
8784 (home-page "https://wiki.gnome.org/Apps/Calculator")
8785 (synopsis "Desktop calculator")
8786 (description
8787 "Calculator is an application that solves mathematical equations and
8788 is suitable as a default application in a Desktop environment.")
8789 (license license:gpl3)))
8790
8791 (define-public xpad
8792 (package
8793 (name "xpad")
8794 (version "5.1.0")
8795 (source
8796 (origin
8797 (method url-fetch)
8798 (uri (string-append "https://launchpad.net/xpad/trunk/"
8799 version "/+download/"
8800 name "-" version ".tar.bz2"))
8801 (sha256
8802 (base32
8803 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8804 (build-system gnu-build-system)
8805 (native-inputs
8806 `(("autoconf" ,autoconf)
8807 ("automake" ,automake)
8808 ("gtk+:bin" ,gtk+ "bin")
8809 ("intltool" ,intltool)
8810 ("pkg-config" ,pkg-config)))
8811 (inputs
8812 `(("gtksourceview" ,gtksourceview-3)
8813 ("libsm" ,libsm)))
8814 (home-page "https://wiki.gnome.org/Apps/Xpad")
8815 (synopsis "Virtual sticky note")
8816 (description
8817 "Xpad is a sticky note that strives to be simple, fault tolerant,
8818 and customizable. Xpad consists of independent pad windows, each is
8819 basically a text box in which notes can be written.")
8820 (license license:gpl3+)))
8821
8822 (define-public gucharmap
8823 (let ((unicode-files
8824 '(("Blocks.txt"
8825 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8826 ("DerivedAge.txt"
8827 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8828 ("NamesList.txt"
8829 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8830 ("Scripts.txt"
8831 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8832 ("UnicodeData.txt"
8833 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8834 ("Unihan.zip"
8835 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8836 (package
8837 (name "gucharmap")
8838 (version "12.0.1")
8839 (source
8840 (origin
8841 (method url-fetch)
8842 (uri (string-append "mirror://gnome/sources/" name "/"
8843 (version-major+minor version) "/"
8844 name "-" version ".tar.xz"))
8845 (sha256
8846 (base32
8847 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8848 (build-system glib-or-gtk-build-system)
8849 (arguments
8850 `(#:modules ((ice-9 match)
8851 (guix build glib-or-gtk-build-system)
8852 (guix build utils))
8853 #:configure-flags
8854 (list "--with-unicode-data=../unicode-data")
8855 #:phases
8856 (modify-phases %standard-phases
8857 (add-after 'unpack 'prepare-unicode-data
8858 (lambda* (#:key inputs #:allow-other-keys)
8859 (mkdir-p "../unicode-data")
8860 (with-directory-excursion "../unicode-data"
8861 (for-each (match-lambda
8862 ((file _)
8863 (install-file (assoc-ref inputs file) ".")))
8864 ',unicode-files))
8865 #t)))))
8866 (native-inputs
8867 `(("desktop-file-utils" ,desktop-file-utils)
8868 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8869 ("gobject-introspection" ,gobject-introspection)
8870 ("intltool" ,intltool)
8871 ("itstool" ,itstool)
8872 ("pkg-config" ,pkg-config)
8873 ,@(map (match-lambda
8874 ((file hash)
8875 `(,file
8876 ,(origin
8877 (method url-fetch)
8878 (uri (string-append
8879 "http://www.unicode.org/Public/12.0.0/ucd/"
8880 file))
8881 (sha256 (base32 hash))))))
8882 unicode-files)
8883 ("unzip" ,unzip)))
8884 (inputs
8885 `(("gtk+" ,gtk+)
8886 ("xmllint" ,libxml2)))
8887 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8888 (synopsis "Unicode character picker and font browser")
8889 (description
8890 "This program allows you to browse through all the available Unicode
8891 characters and categories for the installed fonts, and to examine their
8892 detailed properties. It is an easy way to find the character you might
8893 only know by its Unicode name or code point.")
8894 (license license:gpl3+))))
8895
8896 (define-public bluefish
8897 (package
8898 (name "bluefish")
8899 (version "2.2.11")
8900 (source
8901 (origin
8902 (method url-fetch)
8903 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8904 "bluefish-" version ".tar.gz"))
8905 (sha256
8906 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8907 (build-system gnu-build-system)
8908 (native-inputs
8909 `(("desktop-file-utils" ,desktop-file-utils)
8910 ("intltool" ,intltool)
8911 ("pkg-config" ,pkg-config)))
8912 (inputs
8913 `(("enchant" ,enchant)
8914 ("gtk+" ,gtk+)
8915 ("python" ,python-wrapper)
8916 ("xmllint" ,libxml2)
8917 ("gucharmap" ,gucharmap)))
8918 (home-page "http://bluefish.openoffice.nl")
8919 (synopsis "Web development studio")
8920 (description
8921 "Bluefish is an editor targeted towards programmers and web developers,
8922 with many options to write web sites, scripts and other code.
8923 Bluefish supports many programming and markup languages.")
8924 (license license:gpl3+)))
8925
8926 (define-public gnome-system-monitor
8927 (package
8928 (name "gnome-system-monitor")
8929 (version "3.32.1")
8930 (source
8931 (origin
8932 (method url-fetch)
8933 (uri (string-append "mirror://gnome/sources/" name "/"
8934 (version-major+minor version) "/"
8935 name "-" version ".tar.xz"))
8936 (sha256
8937 (base32
8938 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8939 (build-system meson-build-system)
8940 (arguments
8941 '(#:glib-or-gtk? #t
8942 #:configure-flags '("-Dsystemd=false")))
8943 (native-inputs
8944 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8945 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8946 ("intltool" ,intltool)
8947 ("itstool" ,itstool)
8948 ("libgtop" ,libgtop)
8949 ("polkit" ,polkit)
8950 ("pkg-config" ,pkg-config)))
8951 (inputs
8952 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8953 ("gtk+" ,gtk+)
8954 ("gtkmm" ,gtkmm)
8955 ("librsvg" ,librsvg)
8956 ("libxml2" ,libxml2)
8957 ("libwnck" ,libwnck)))
8958 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8959 (synopsis "Process viewer and system resource monitor for GNOME")
8960 (description
8961 "GNOME System Monitor is a GNOME process viewer and system monitor with
8962 an attractive, easy-to-use interface. It has features, such as a tree view
8963 for process dependencies, icons for processes, the ability to hide processes,
8964 graphical time histories of CPU/memory/swap usage and the ability to
8965 kill/reinice processes.")
8966 (license license:gpl2+)))
8967
8968 (define-public python-pyatspi
8969 (package
8970 (name "python-pyatspi")
8971 (version "2.34.0")
8972 (source (origin
8973 (method url-fetch)
8974 (uri (string-append
8975 "mirror://gnome/sources/pyatspi/"
8976 (version-major+minor version)
8977 "/pyatspi-" version ".tar.xz"))
8978 (sha256
8979 (base32
8980 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8981 (build-system gnu-build-system)
8982 (arguments
8983 `(#:phases
8984 (modify-phases %standard-phases
8985 (add-before 'build 'fix-atk-load
8986 (lambda _
8987 (substitute* "pyatspi/__init__.py"
8988 (("from gi.repository import Atspi")
8989 "gi.require_version('Gtk', '3.0')
8990 from gi.repository import Gtk
8991 from gi.repository import Atspi"))
8992 #t)))))
8993 (native-inputs
8994 `(("pkg-config" ,pkg-config)))
8995 (inputs
8996 `(("python" ,python)))
8997 (propagated-inputs
8998 `(("python-pygobject" ,python-pygobject)))
8999 (synopsis "Python client bindings for D-Bus AT-SPI")
9000 (home-page "https://wiki.linuxfoundation.org/accessibility\
9001 /atk/at-spi/at-spi_on_d-bus")
9002 (description
9003 "This package includes a python client library for the AT-SPI D-Bus
9004 accessibility infrastructure.")
9005 (license license:lgpl2.0)
9006 (properties '((upstream-name . "pyatspi")))))
9007
9008 (define-public python2-pyatspi
9009 (package
9010 (inherit python-pyatspi)
9011 (name "python2-pyatspi")
9012 (inputs
9013 `(("python" ,python-2)))
9014 (propagated-inputs
9015 `(("python-pygobject" ,python2-pygobject)))))
9016
9017 (define-public orca
9018 (package
9019 (name "orca")
9020 (version "3.34.1")
9021 (source (origin
9022 (method url-fetch)
9023 (uri (string-append
9024 "mirror://gnome/sources/" name "/"
9025 (version-major+minor version) "/"
9026 name "-" version ".tar.xz"))
9027 (sha256
9028 (base32
9029 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
9030 (build-system glib-or-gtk-build-system)
9031 (arguments
9032 '(#:phases
9033 (modify-phases %standard-phases
9034 (add-before 'configure 'qualify-xkbcomp
9035 (lambda* (#:key inputs #:allow-other-keys)
9036 (let ((xkbcomp (string-append
9037 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
9038 (substitute* "src/orca/orca.py"
9039 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
9040 #t))
9041 (add-after 'install 'wrap-orca
9042 (lambda* (#:key outputs #:allow-other-keys)
9043 (let* ((out (assoc-ref outputs "out"))
9044 (prog (string-append out "/bin/orca")))
9045 (wrap-program prog
9046 `("GI_TYPELIB_PATH" ":" prefix
9047 (,(getenv "GI_TYPELIB_PATH")))
9048 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
9049 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
9050 `("PYTHONPATH" ":" prefix
9051 (,(getenv "PYTHONPATH")))))
9052 #t)))))
9053 (native-inputs
9054 `(("intltool" ,intltool)
9055 ("itstool" ,itstool)
9056 ("pkg-config" ,pkg-config)
9057 ("xmllint" ,libxml2)))
9058 (inputs
9059 `(("at-spi2-atk" ,at-spi2-atk)
9060 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9061 ("gstreamer" ,gstreamer)
9062 ("gst-plugins-base" ,gst-plugins-base)
9063 ("gst-plugins-good" ,gst-plugins-good)
9064 ("gtk+" ,gtk+)
9065 ("python" ,python)
9066 ("python-pygobject" ,python-pygobject)
9067 ("python-pyatspi" ,python-pyatspi)
9068 ("python-speechd" ,speech-dispatcher)
9069 ("xkbcomp" ,xkbcomp)))
9070 (synopsis
9071 "Screen reader for individuals who are blind or visually impaired")
9072 (home-page "https://wiki.gnome.org/Projects/Orca")
9073 (description
9074 "Orca is a screen reader that provides access to the graphical desktop
9075 via speech and refreshable braille. Orca works with applications and toolkits
9076 that support the Assistive Technology Service Provider Interface (AT-SPI).")
9077 (license license:lgpl2.1+)))
9078
9079 (define-public gspell
9080 (package
9081 (name "gspell")
9082 (version "1.8.2")
9083 (source (origin
9084 (method url-fetch)
9085 (uri (string-append "mirror://gnome/sources/" name "/"
9086 (version-major+minor version) "/"
9087 name "-" version ".tar.xz"))
9088 (sha256
9089 (base32
9090 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
9091 (patches (search-patches "gspell-dash-test.patch"))))
9092 (build-system glib-or-gtk-build-system)
9093 (arguments
9094 '(#:configure-flags (list "--enable-vala")
9095 #:phases
9096 (modify-phases %standard-phases
9097 (add-before 'check 'pre-check
9098 (lambda* (#:key inputs #:allow-other-keys)
9099 ;; Tests require a running X server.
9100 (system "Xvfb :1 &")
9101 (setenv "DISPLAY" ":1")
9102
9103 ;; For the missing /etc/machine-id.
9104 (setenv "DBUS_FATAL_WARNINGS" "0")
9105
9106 ;; Allow Enchant and its Aspell backend to find the en_US
9107 ;; dictionary.
9108 (setenv "ASPELL_DICT_DIR"
9109 (string-append (assoc-ref inputs "aspell-dict-en")
9110 "/lib/aspell"))
9111 #t)))))
9112 (inputs
9113 `(("gtk+" ,gtk+)
9114 ("glib" ,glib)
9115 ("iso-codes" ,iso-codes)))
9116 (native-inputs
9117 `(("glib" ,glib "bin")
9118 ("gobject-introspection" ,gobject-introspection)
9119 ("pkg-config" ,pkg-config)
9120 ("vala" ,vala) ;for VAPI, needed by Geary
9121 ("xmllint" ,libxml2)
9122
9123 ;; For tests.
9124 ("aspell-dict-en" ,aspell-dict-en)
9125 ("xorg-server" ,xorg-server-for-tests)))
9126 (propagated-inputs
9127 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
9128 (home-page "https://wiki.gnome.org/Projects/gspell")
9129 (synopsis "GNOME's alternative spell checker")
9130 (description
9131 "gspell provides a flexible API to add spell-checking to a GTK+
9132 application. It provides a GObject API, spell-checking to text entries and
9133 text views, and buttons to choose the language.")
9134 (license license:gpl2+)))
9135
9136 (define-public gnome-planner
9137 (package
9138 (name "gnome-planner")
9139 (version "0.14.6")
9140 (source (origin
9141 (method url-fetch)
9142 (uri (string-append "mirror://gnome/sources/planner/"
9143 (version-major+minor version) "/planner-"
9144 version ".tar.xz"))
9145 (sha256
9146 (base32
9147 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9148 (build-system glib-or-gtk-build-system)
9149 (arguments
9150 ;; Disable the Python bindings because the Planner program functions
9151 ;; without them, and (as of 2017-06-13) we have not packaged all of
9152 ;; packages that are necessary for building the Python bindings.
9153 `(#:configure-flags
9154 (list "--disable-python"
9155 ,@(if (string=? "aarch64-linux" (%current-system))
9156 '("--build=aarch64-unknown-linux-gnu")
9157 '()))))
9158 (inputs
9159 `(("libgnomecanvas" ,libgnomecanvas)
9160 ("libgnomeui" ,libgnomeui)
9161 ("libglade" ,libglade)
9162 ("gnome-vfs" ,gnome-vfs)
9163 ("gconf" ,gconf)
9164 ("libxml2" ,libxml2)
9165 ("libxslt" ,libxslt)
9166 ("gtk+" ,gtk+)
9167 ("glib" ,glib)))
9168 (native-inputs
9169 `(("intltool" ,intltool)
9170 ("scrollkeeper" ,scrollkeeper)
9171 ("pkg-config" ,pkg-config)))
9172 (home-page "https://wiki.gnome.org/Apps/Planner")
9173 (synopsis "Project management software for the GNOME desktop")
9174 (description
9175 "GNOME Planner is a project management tool based on the Work Breakdown
9176 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9177 the resources, tasks, and constraints that you define, Planner generates
9178 various views into a project. For example, Planner can show a Gantt chart of
9179 the project. It can show a detailed summary of tasks including their
9180 duration, cost, and current progress. It can also show a report of resource
9181 utilization that highlights under-utilized and over-utilized resources. These
9182 views can be printed as PDF or PostScript files, or exported to HTML.")
9183 (license license:gpl2+)))
9184
9185 (define-public lollypop
9186 (package
9187 (name "lollypop")
9188 (version "1.2.32")
9189 (source
9190 (origin
9191 (method url-fetch)
9192 (uri (string-append "https://adishatz.org/lollypop/"
9193 "lollypop-" version ".tar.xz"))
9194 (sha256
9195 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9196 (build-system meson-build-system)
9197 (arguments
9198 `(#:imported-modules
9199 (,@%meson-build-system-modules
9200 (guix build python-build-system))
9201 #:modules
9202 ((guix build meson-build-system)
9203 ((guix build python-build-system) #:prefix python:)
9204 (guix build utils))
9205 #:glib-or-gtk? #t
9206 #:tests? #f ; no test suite
9207 #:phases
9208 (modify-phases %standard-phases
9209 (add-after 'install 'wrap-program
9210 (lambda* (#:key outputs #:allow-other-keys)
9211 (let ((out (assoc-ref outputs "out"))
9212 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9213 (wrap-program (string-append out "/bin/lollypop")
9214 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9215 #t))
9216 (add-after 'install 'wrap-python
9217 (assoc-ref python:%standard-phases 'wrap)))))
9218 (native-inputs
9219 `(("intltool" ,intltool)
9220 ("itstool" ,itstool)
9221 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9222 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9223 ("pkg-config" ,pkg-config)))
9224 (inputs
9225 `(("gobject-introspection" ,gobject-introspection)
9226 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9227 ("gst-plugins-base" ,gst-plugins-base)
9228 ("libnotify" ,libnotify)
9229 ("libsecret" ,libsecret)
9230 ("libsoup" ,libsoup)
9231 ("python" ,python)
9232 ("python-beautifulsoup4" ,python-beautifulsoup4)
9233 ("python-gst" ,python-gst)
9234 ("python-pil" ,python-pillow)
9235 ("python-pycairo" ,python-pycairo)
9236 ("python-pygobject" ,python-pygobject)
9237 ("python-pylast" ,python-pylast)
9238 ("totem-pl-parser" ,totem-pl-parser)
9239 ("webkitgtk" ,webkitgtk)))
9240 (propagated-inputs
9241 `(;; gst-plugins-base is required to start Lollypop,
9242 ;; the others are required to play streaming.
9243 ("gst-plugins-good" ,gst-plugins-good)
9244 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9245 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9246 (synopsis "GNOME music playing application")
9247 (description
9248 "Lollypop is a music player designed to play well with GNOME desktop.
9249 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9250 from artists and tracks from the web. It also fetches cover artworks
9251 automatically and it can stream songs from online music services and charts.")
9252 (license license:gpl3+)))
9253
9254 (define-public gnome-video-effects
9255 (package
9256 (name "gnome-video-effects")
9257 (version "0.4.3")
9258 (source (origin
9259 (method url-fetch)
9260 (uri (string-append "mirror://gnome/sources/" name "/"
9261 (version-major+minor version) "/" name "-"
9262 version ".tar.xz"))
9263 (sha256
9264 (base32
9265 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9266 (build-system glib-or-gtk-build-system)
9267 (arguments
9268 `(#:out-of-source? #f))
9269 (native-inputs
9270 `(("glib:bin" ,glib "bin")
9271 ("intltool" ,intltool)
9272 ("gettext" ,gettext-minimal)
9273 ("pkg-config" ,pkg-config)))
9274 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9275 (synopsis "Video effects for Cheese and other GNOME applications")
9276 (description
9277 "A collection of GStreamer video filters and effects to be used in
9278 photo-booth-like software, such as Cheese.")
9279 (license license:gpl2+)))
9280
9281 (define-public cheese
9282 (package
9283 (name "cheese")
9284 (version "3.34.0")
9285 (source (origin
9286 (method url-fetch)
9287 (uri (string-append "mirror://gnome/sources/" name "/"
9288 (version-major+minor version) "/" name "-"
9289 version ".tar.xz"))
9290 (sha256
9291 (base32
9292 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
9293 (arguments
9294 `(#:glib-or-gtk? #t
9295 ;; Tests require GDK.
9296 #:tests? #f
9297 #:phases
9298 (modify-phases %standard-phases
9299 (add-after 'unpack 'skip-gtk-update-icon-cache
9300 (lambda _
9301 ;; Don't create 'icon-theme.cache'
9302 (substitute* "meson_post_install.py"
9303 (("gtk-update-icon-cache") (which "true")))
9304 #t))
9305 (add-after 'install 'wrap-cheese
9306 (lambda* (#:key inputs outputs #:allow-other-keys)
9307 (let ((out (assoc-ref outputs "out"))
9308 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9309 (wrap-program (string-append out "/bin/cheese")
9310 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9311 #t)))))
9312 (build-system meson-build-system)
9313 (native-inputs
9314 `(("docbook-xsl" ,docbook-xsl)
9315 ("glib:bin" ,glib "bin")
9316 ("gtk-doc" ,gtk-doc)
9317 ("intltool" ,intltool)
9318 ("itstool" ,itstool)
9319 ("libxml2" ,libxml2)
9320 ("libxslt" ,libxslt)
9321 ("pkg-config" ,pkg-config)
9322 ("vala" ,vala)))
9323 (propagated-inputs
9324 `(("gnome-video-effects" ,gnome-video-effects)
9325 ("clutter" ,clutter)
9326 ("clutter-gst" ,clutter-gst)
9327 ("clutter-gtk" ,clutter-gtk)
9328 ("libcanberra" ,libcanberra)
9329 ("gdk-pixbuf" ,gdk-pixbuf)
9330 ("glib" ,glib)
9331 ("gstreamer" ,gstreamer)))
9332 (inputs
9333 `(("gnome-desktop" ,gnome-desktop)
9334 ("gobject-introspection" ,gobject-introspection)
9335 ("gst-plugins-base" ,gst-plugins-base)
9336 ("gst-plugins-bad" ,gst-plugins-bad)
9337 ("gtk+" ,gtk+)
9338 ("libx11" ,libx11)
9339 ("libxtst" ,libxtst)))
9340 (home-page "https://wiki.gnome.org/Apps/Cheese")
9341 (synopsis "Webcam photo booth software for GNOME")
9342 (description
9343 "Cheese uses your webcam to take photos and videos. Cheese can also
9344 apply fancy special effects and lets you share the fun with others.")
9345 (license license:gpl2+)))
9346
9347 (define-public sound-juicer
9348 (package
9349 (name "sound-juicer")
9350 (version "3.24.0")
9351 (source
9352 (origin
9353 (method url-fetch)
9354 (uri (string-append "mirror://gnome/sources/" name "/"
9355 (version-major+minor version) "/"
9356 name "-" version ".tar.xz"))
9357 (sha256
9358 (base32
9359 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9360 (build-system glib-or-gtk-build-system)
9361 (native-inputs
9362 `(("desktop-file-utils" ,desktop-file-utils)
9363 ("intltool" ,intltool)
9364 ("itstool" ,itstool)
9365 ("pkg-config" ,pkg-config)
9366 ("xmllint" ,libxml2)))
9367 (inputs
9368 `(("gtk+" ,gtk+)
9369 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9370 ("gstreamer" ,gstreamer)
9371 ("gst-plugins-base" ,gst-plugins-base)
9372 ("gst-plugins-good" ,gst-plugins-good)
9373 ("iso-codes" ,iso-codes)
9374 ("libbrasero-media3" ,brasero)
9375 ("libcanberra" ,libcanberra)
9376 ("libdiscid" ,libdiscid)
9377 ("libmusicbrainz" ,libmusicbrainz)
9378 ("neon" ,neon)))
9379 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9380 (synopsis "Audio music cd ripper")
9381 (description "Sound Juicer extracts audio from compact discs and convert it
9382 into audio files that a personal computer or digital audio player can play.
9383 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9384 mp3, Ogg Vorbis and FLAC")
9385 (license license:gpl2+)))
9386
9387 (define-public soundconverter
9388 (package
9389 (name "soundconverter")
9390 (version "3.0.2")
9391 (source
9392 (origin
9393 (method url-fetch)
9394 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9395 version "/+download/"
9396 "soundconverter-" version ".tar.xz"))
9397
9398 (sha256
9399 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
9400 (build-system glib-or-gtk-build-system)
9401 (arguments
9402 `(#:imported-modules ((guix build python-build-system)
9403 (guix build glib-or-gtk-build-system)
9404 ,@%gnu-build-system-modules)
9405
9406 #:modules ((guix build glib-or-gtk-build-system)
9407 (guix build utils)
9408 ((guix build gnu-build-system) #:prefix gnu:)
9409 ((guix build python-build-system) #:prefix python:))
9410
9411 #:phases
9412 (modify-phases %standard-phases
9413 (add-after 'install 'wrap-soundconverter-for-python
9414 (assoc-ref python:%standard-phases 'wrap))
9415 (add-after 'install 'wrap-soundconverter
9416 (lambda* (#:key inputs outputs #:allow-other-keys)
9417 (let ((out (assoc-ref outputs "out"))
9418 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9419 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9420 (wrap-program (string-append out "/bin/soundconverter")
9421 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9422 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9423 #t)))))
9424 (native-inputs
9425 `(("intltool" ,intltool)
9426 ("pkg-config" ,pkg-config)
9427 ("glib:bin" ,glib "bin")))
9428 (inputs
9429 `(("gtk+" ,gtk+)
9430 ("python" ,python)
9431 ("python-pygobject" ,python-pygobject)
9432 ("gstreamer" ,gstreamer)
9433 ("gst-plugins-base" ,gst-plugins-base)))
9434 (home-page "https://soundconverter.org/")
9435 (synopsis "Convert between audio formats with a graphical interface")
9436 (description
9437 "SoundConverter supports converting between many audio formats including
9438 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9439 configurable file renaming. ")
9440 (license license:gpl3)))
9441
9442 (define-public workrave
9443 (package
9444 (name "workrave")
9445 (version "1.10.42")
9446 (source
9447 (origin
9448 (method git-fetch)
9449 (uri (git-reference
9450 (url "https://github.com/rcaelers/workrave")
9451 (commit (string-append "v" (string-map
9452 (match-lambda (#\. #\_) (chr chr))
9453 version)))))
9454 (file-name (git-file-name name version))
9455 (sha256
9456 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
9457 (build-system glib-or-gtk-build-system)
9458 (arguments
9459 ;; The only tests are maintainer tests (in po/), which fail.
9460 `(#:tests? #f))
9461 (inputs `(("glib" ,glib)
9462 ("gtk+" ,gtk+)
9463 ("gdk-pixbuf" ,gdk-pixbuf)
9464 ("gtkmm" ,gtkmm)
9465 ("glibmm" ,glibmm)
9466 ("libx11" ,libx11)
9467 ("libxtst" ,libxtst)
9468 ("dconf" ,dconf)
9469 ("libice" ,libice)
9470 ("libsm" ,libsm)
9471 ("libxscrnsaver" ,libxscrnsaver)))
9472 (native-inputs `(("boost" ,boost)
9473 ("pkg-config" ,pkg-config)
9474 ("gettext" ,gettext-minimal)
9475 ("autoconf" ,autoconf)
9476 ("autoconf-archive" , autoconf-archive)
9477 ("automake" ,automake)
9478 ("libtool" ,libtool)
9479 ("intltool" ,intltool)
9480 ("gobject-introspection" ,gobject-introspection)
9481 ("python3" ,python-3)
9482 ("python-jinja2" ,python-jinja2)))
9483 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9484 (description
9485 "Workrave is a program that assists in the recovery and prevention of
9486 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9487 micro-pauses and rest breaks, and restricts you to your daily limit.")
9488 (home-page "http://www.workrave.org")
9489 (license license:gpl3+)))
9490
9491 (define-public ghex
9492 (package
9493 (name "ghex")
9494 (version "3.18.4")
9495 (source (origin
9496 (method url-fetch)
9497 (uri (string-append "mirror://gnome/sources/ghex/"
9498 (version-major+minor version) "/"
9499 "ghex-" version ".tar.xz"))
9500 (sha256
9501 (base32
9502 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9503 (build-system meson-build-system)
9504 (arguments
9505 '(#:glib-or-gtk? #t
9506 #:phases
9507 (modify-phases %standard-phases
9508 (add-after 'unpack 'skip-gtk-update-icon-cache
9509 ;; Don't create 'icon-theme.cache'.
9510 (lambda _
9511 (substitute* "meson_post_install.py"
9512 (("gtk-update-icon-cache") (which "true")))
9513 #t)))))
9514 (native-inputs
9515 `(("pkg-config" ,pkg-config)
9516 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9517 ("gnome-common" ,gnome-common)
9518 ("which" ,which)
9519 ("intltool" ,intltool)
9520 ("yelp-tools" ,yelp-tools)
9521 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9522 (inputs
9523 `(("atk" ,atk)
9524 ("gtk" ,gtk+)))
9525 (synopsis "GNOME hexadecimal editor")
9526 (description "The GHex program can view and edit files in two ways:
9527 hexadecimal or ASCII. It is useful for editing binary files in general.")
9528 (home-page "https://wiki.gnome.org/Apps/Ghex")
9529 (license license:gpl2)))
9530
9531 (define-public libdazzle
9532 (package
9533 (name "libdazzle")
9534 (version "3.34.1")
9535 (source (origin
9536 (method url-fetch)
9537 (uri (string-append "mirror://gnome/sources/libdazzle/"
9538 (version-major+minor version) "/"
9539 "libdazzle-" version ".tar.xz"))
9540 (sha256
9541 (base32
9542 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
9543 (build-system meson-build-system)
9544 (arguments
9545 `(#:phases
9546 (modify-phases %standard-phases
9547 (add-before 'check 'pre-check
9548 (lambda _
9549 ;; Tests require a running X server.
9550 (system "Xvfb :1 &")
9551 (setenv "DISPLAY" ":1")
9552 #t)))))
9553 (native-inputs
9554 `(("glib" ,glib "bin") ; glib-compile-resources
9555 ("pkg-config" ,pkg-config)
9556 ;; For tests.
9557 ("xorg-server" ,xorg-server-for-tests)))
9558 (inputs
9559 `(("glib" ,glib)
9560 ("gobject-introspection" ,gobject-introspection)
9561 ("gtk+" ,gtk+)
9562 ("vala" ,vala)))
9563 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9564 (synopsis "Companion library to GObject and Gtk+")
9565 (description "The libdazzle library is a companion library to GObject and
9566 Gtk+. It provides various features that the authors wish were in the
9567 underlying library but cannot for various reasons. In most cases, they are
9568 wildly out of scope for those libraries. In other cases, they are not quite
9569 generic enough to work for everyone.")
9570 (license license:gpl3+)))
9571
9572 (define-public evolution
9573 (package
9574 (name "evolution")
9575 (version "3.34.2")
9576 (source (origin
9577 (method url-fetch)
9578 (uri (string-append "mirror://gnome/sources/evolution/"
9579 (version-major+minor version) "/"
9580 "evolution-" version ".tar.xz"))
9581 (sha256
9582 (base32
9583 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
9584 (build-system cmake-build-system)
9585 (arguments
9586 `(#:imported-modules (,@%cmake-build-system-modules
9587 (guix build glib-or-gtk-build-system))
9588 #:modules ((guix build cmake-build-system)
9589 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9590 (guix build utils))
9591 #:configure-flags
9592 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9593 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9594 ; in four years and cannot be built.
9595 #:phases
9596 (modify-phases %standard-phases
9597 ;; The build system attempts to install user interface modules to the
9598 ;; output directory of the "evolution-data-server" package. This
9599 ;; change redirects that change.
9600 (add-after 'unpack 'patch-ui-module-dir
9601 (lambda* (#:key outputs #:allow-other-keys)
9602 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9603 (("\\$\\{edsuimoduledir\\}")
9604 (string-append (assoc-ref outputs "out")
9605 "/lib/evolution-data-server/ui-modules")))
9606 #t))
9607 (add-after 'install 'glib-or-gtk-compile-schemas
9608 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9609 (add-after 'install 'glib-or-gtk-wrap
9610 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9611 (native-inputs
9612 `(("glib" ,glib "bin") ; glib-mkenums
9613 ("pkg-config" ,pkg-config)
9614 ("intltool" ,intltool)
9615 ("itstool" ,itstool)))
9616 (inputs
9617 `(("enchant" ,enchant)
9618 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9619 ("gcr" ,gcr)
9620 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9621 ("gnome-autoar" ,gnome-autoar)
9622 ("gnome-desktop" ,gnome-desktop)
9623 ("gspell" ,gspell)
9624 ("highlight" ,highlight)
9625 ("libcanberra" ,libcanberra)
9626 ("libgweather" ,libgweather)
9627 ("libnotify" ,libnotify)
9628 ("libsoup" ,libsoup)
9629 ("nss" ,nss)
9630 ("openldap" ,openldap)
9631 ("webkitgtk" ,webkitgtk)
9632 ("ytnef" ,ytnef)))
9633 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9634 (synopsis "Manage your email, contacts and schedule")
9635 (description "Evolution is a personal information management application
9636 that provides integrated mail, calendaring and address book
9637 functionality.")
9638 ;; See COPYING for details.
9639 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9640 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9641 license:lgpl2.1+)))) ; smime/lib/*
9642
9643 (define-public gthumb
9644 (package
9645 (name "gthumb")
9646 (version "3.8.2")
9647 (source (origin
9648 (method url-fetch)
9649 (uri (string-append "mirror://gnome/sources/gthumb/"
9650 (version-major+minor version) "/"
9651 "gthumb-" version ".tar.xz"))
9652 (sha256
9653 (base32
9654 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9655 (build-system meson-build-system)
9656 (arguments
9657 `(#:glib-or-gtk? #t
9658 #:configure-flags
9659 ;; Ensure the RUNPATH contains all installed library locations.
9660 (list (string-append "-Dc_link_args=-Wl,-rpath="
9661 (assoc-ref %outputs "out")
9662 "/lib/gthumb/extensions")
9663 (string-append "-Dcpp_link_args=-Wl,-rpath="
9664 (assoc-ref %outputs "out")
9665 "/lib/gthumb/extensions"))))
9666 (native-inputs
9667 `(("pkg-config" ,pkg-config)
9668 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9669 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9670 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9671 ("intltool" ,intltool)
9672 ("itstool" ,itstool)))
9673 (inputs
9674 `(("exiv2" ,exiv2)
9675 ("gtk" ,gtk+)
9676 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9677 ("gstreamer" ,gstreamer)
9678 ("clutter" ,clutter)
9679 ("clutter-gst" ,clutter-gst)
9680 ("clutter-gtk" ,clutter-gtk)
9681 ("libjpeg" ,libjpeg-turbo)
9682 ("libtiff" ,libtiff)
9683 ("libraw" ,libraw)))
9684 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9685 (synopsis "GNOME image viewer and browser")
9686 (description "GThumb is an image viewer, browser, organizer, editor and
9687 advanced image management tool")
9688 (license license:gpl2+)))
9689
9690 (define-public terminator
9691 (package
9692 (name "terminator")
9693 (version "1.91")
9694 (source (origin
9695 (method url-fetch)
9696 (uri (string-append "https://launchpad.net/" name "/"
9697 "gtk3/" version "/" "+download/"
9698 name "-" version ".tar.gz"))
9699 (sha256
9700 (base32
9701 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9702 (build-system python-build-system)
9703 (native-inputs
9704 `(("intltool" ,intltool)
9705 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9706 ("gettext" ,gettext-minimal)
9707 ("pkg-config" ,pkg-config)))
9708 (inputs
9709 `(("cairo" ,cairo)
9710 ("gobject-introspection" ,gobject-introspection)
9711 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9712 ("python2-pycairo" ,python2-pycairo)
9713 ("python2-pygobject" ,python2-pygobject)
9714 ("python2-psutil" ,python2-psutil)
9715 ("vte" ,vte)))
9716 (arguments
9717 `(#:python ,python-2 ; Python 3 isn't supported
9718 #:imported-modules ((guix build glib-or-gtk-build-system)
9719 ,@%python-build-system-modules)
9720 #:modules ((guix build python-build-system)
9721 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9722 (guix build utils))
9723 #:phases
9724 (modify-phases %standard-phases
9725 (add-after
9726 'install 'wrap-program
9727 (lambda* (#:key outputs #:allow-other-keys)
9728 (let ((prog (string-append (assoc-ref outputs "out")
9729 "/bin/terminator")))
9730 (wrap-program prog
9731 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9732 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9733 #t)))
9734 (add-after 'wrap-program 'glib-or-gtk-wrap
9735 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9736 (home-page "https://gnometerminator.blogspot.com/")
9737 (synopsis "Store and run multiple GNOME terminals in one window")
9738 (description
9739 "Terminator allows you to run multiple GNOME terminals in a grid and
9740 +tabs, and it supports drag and drop re-ordering of terminals.")
9741 (license license:gpl2)))
9742
9743 (define-public libhandy
9744 (package
9745 (name "libhandy")
9746 (version "0.0.12")
9747 (source
9748 (origin
9749 (method git-fetch)
9750 (uri (git-reference
9751 (url "https://source.puri.sm/Librem5/libhandy")
9752 (commit (string-append "v" version))))
9753 (file-name (git-file-name name version))
9754 (sha256
9755 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9756 (build-system meson-build-system)
9757 (arguments
9758 `(#:configure-flags
9759 '("-Dglade_catalog=disabled"
9760 "-Dgtk_doc=true")
9761 #:phases
9762 (modify-phases %standard-phases
9763 (add-before 'check 'pre-check
9764 (lambda _
9765 ;; Tests require a running X server.
9766 (system "Xvfb :1 &")
9767 (setenv "DISPLAY" ":1")
9768 #t)))))
9769 (inputs
9770 `(("gtk+" ,gtk+)))
9771 (native-inputs
9772 `(("glib:bin" ,glib "bin")
9773 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9774 ("vala" ,vala)
9775 ("gtk-doc" ,gtk-doc)
9776 ("pkg-config" ,pkg-config)
9777 ("gettext" ,gettext-minimal)
9778
9779 ;; Test suite dependencies.
9780 ("xorg-server" ,xorg-server-for-tests)
9781 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9782 (home-page "https://source.puri.sm/Librem5/libhandy")
9783 (synopsis "Library full of GTK+ widgets for mobile phones")
9784 (description "The aim of the handy library is to help with developing user
9785 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9786 for usage on small and big screens.")
9787 (license license:lgpl2.1+)))
9788
9789 (define-public libgit2-glib
9790 (package
9791 (name "libgit2-glib")
9792 (version "0.99.0.1")
9793 (source (origin
9794 (method url-fetch)
9795 (uri (string-append "mirror://gnome/sources/" name "/"
9796 (version-major+minor version) "/"
9797 name "-" version ".tar.xz"))
9798 (sha256
9799 (base32
9800 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9801 (build-system meson-build-system)
9802 (native-inputs
9803 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9804 ("gobject-introspection" ,gobject-introspection)
9805 ("pkg-config" ,pkg-config)
9806 ("python-pygobject" ,python-pygobject)
9807 ("python-wrapper" ,python-wrapper)
9808 ("vala" ,vala)))
9809 (inputs
9810 `(("glib" ,glib)
9811 ("libssh2" ,libssh2)))
9812 (propagated-inputs
9813 `(;; In Requires of libgit2-glib.pc.
9814 ("libgit2" ,libgit2)))
9815 (synopsis "GLib wrapper around the libgit2 Git access library")
9816 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9817 access library. It only implements the core plumbing functions, not really the
9818 higher level porcelain stuff.")
9819 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9820 (license license:gpl2+)))
9821
9822 (define-public gitg
9823 (package
9824 (name "gitg")
9825 (version "3.32.1")
9826 (source (origin
9827 (method url-fetch)
9828 (uri (string-append "mirror://gnome/sources/" name "/"
9829 (version-major+minor version) "/"
9830 name "-" version ".tar.xz"))
9831 (sha256
9832 (base32
9833 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9834 (build-system meson-build-system)
9835 (arguments
9836 `(#:glib-or-gtk? #t
9837 #:phases
9838 (modify-phases %standard-phases
9839 (add-after 'unpack 'disable-post-install-partially
9840 (lambda _
9841 (substitute* "meson_post_install.py"
9842 (("'python'") ; there are no python sources to compile
9843 (string-append "'" (which "true") "'"))
9844 (("gtk-update-icon-cache") (which "true")))
9845 #t))
9846 (add-after 'unpack 'fix-test-sources
9847 (lambda _
9848 (substitute* "tests/libgitg/test-commit.vala"
9849 (("/bin/bash") (which "bash")))
9850 #t))
9851 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9852 (lambda* (#:key outputs #:allow-other-keys)
9853 (let ((prog (string-append (assoc-ref outputs "out")
9854 "/bin/gitg")))
9855 (wrap-program prog
9856 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9857 #t))))))
9858 (inputs
9859 `(("glib" ,glib)
9860 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9861 ("gtk+" ,gtk+)
9862 ("gtkspell3" ,gtkspell3)
9863 ("gtksourceview" ,gtksourceview-3)
9864 ("json-glib" ,json-glib)
9865 ("libdazzle" ,libdazzle)
9866 ("libgee" ,libgee)
9867 ("libgit2-glib" ,libgit2-glib)
9868 ("libpeas" ,libpeas)
9869 ("libsecret" ,libsecret)
9870 ("libsoup" ,libsoup)
9871 ("libxml2" ,libxml2)))
9872 (native-inputs
9873 `(("glib:bin" ,glib "bin")
9874 ("gtk+:bin" ,gtk+ "bin")
9875 ("gobject-introspection" ,gobject-introspection)
9876 ("intltool" ,intltool)
9877 ("pkg-config" ,pkg-config)
9878 ("vala" ,vala)))
9879 (synopsis "Graphical user interface for git")
9880 (description
9881 "gitg is a graphical user interface for git. It aims at being a small,
9882 fast and convenient tool to visualize the history of git repositories.
9883 Besides visualization, gitg also provides several utilities to manage your
9884 repository and commit your work.")
9885 (home-page "https://wiki.gnome.org/Apps/Gitg")
9886 (license license:gpl2+)))
9887
9888 (define-public gamin
9889 (package
9890 (name "gamin")
9891 (version "0.1.10")
9892 (source (origin
9893 (method url-fetch)
9894 (uri (string-append "mirror://gnome/sources/" name "/"
9895 (version-major+minor version) "/"
9896 name "-" version ".tar.bz2"))
9897 (sha256
9898 (base32
9899 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9900 (build-system gnu-build-system)
9901 (arguments
9902 `(#:phases
9903 (modify-phases %standard-phases
9904 (add-after 'unpack 'remove-deprecated-macro
9905 (lambda _
9906 (substitute* '("server/gam_node.c"
9907 "server/gam_subscription.h"
9908 "server/gam_node.h"
9909 "server/gam_subscription.c")
9910 (("G_CONST_RETURN") "const"))
9911 #t)))))
9912 (inputs
9913 `(("glib" ,glib)))
9914 (native-inputs
9915 `(("intltool" ,intltool)
9916 ("pkg-config" ,pkg-config)))
9917 (home-page "https://people.gnome.org/~veillard/gamin/")
9918 (synopsis "File alteration monitor")
9919 (description
9920 "Gamin is a file and directory monitoring system defined to be a subset
9921 of the FAM (File Alteration Monitor) system. This is a service provided by a
9922 library which detects when a file or a directory has been modified.")
9923 (license license:gpl2+)))
9924
9925 (define-public gnome-mahjongg
9926 (package
9927 (name "gnome-mahjongg")
9928 (version "3.35.1")
9929 (source (origin
9930 (method git-fetch)
9931 (uri (git-reference
9932 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9933 (commit version)))
9934 (file-name (git-file-name name version))
9935 (sha256
9936 (base32
9937 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9938 (build-system meson-build-system)
9939 (arguments
9940 `(#:glib-or-gtk? #t))
9941 (native-inputs
9942 `(("appstream-glib" ,appstream-glib)
9943 ("gettext" ,gettext-minimal)
9944 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9945 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9946 ("itstool" ,itstool)
9947 ("pkg-config" ,pkg-config)
9948 ("vala" ,vala)))
9949 (propagated-inputs
9950 `(("dconf" ,dconf)))
9951 (inputs
9952 `(("glib" ,glib)
9953 ("gtk+" ,gtk+)
9954 ("librsvg" ,librsvg)))
9955 (synopsis "Mahjongg tile-matching game")
9956 (description "GNOME Mahjongg is a game based on the classic Chinese
9957 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9958 and a high score table.")
9959 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9960 (license license:gpl2+)))
9961
9962 (define-public gnome-themes-extra
9963 (package
9964 (name "gnome-themes-extra")
9965 (version "3.28")
9966 (source
9967 (origin
9968 (method url-fetch)
9969 (uri (string-append "mirror://gnome/sources/" name "/"
9970 (version-major+minor version) "/" name "-"
9971 version ".tar.xz"))
9972 (sha256
9973 (base32
9974 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9975 (build-system gnu-build-system)
9976 (arguments
9977 '(#:configure-flags
9978 ;; Don't create 'icon-theme.cache'.
9979 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9980 (true (string-append coreutils "/bin/true")))
9981 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9982 (native-inputs
9983 `(("glib:bin" ,glib "bin")
9984 ("intltool" ,intltool)
9985 ("pkg-config" ,pkg-config)))
9986 (inputs
9987 `(("glib" ,glib)
9988 ("gtk+" ,gtk+)
9989 ("gtk+-2" ,gtk+-2)
9990 ("librsvg" ,librsvg)
9991 ("libxml2" ,libxml2)))
9992 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9993 (synopsis "GNOME Extra Themes")
9994 (description "This package provides themes and related elements that don't
9995 really fit in other upstream packages. It offers legacy support for GTK+ 2
9996 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9997 index files needed for Adwaita to be used outside of GNOME.")
9998 (license license:lgpl2.1+)))
9999
10000 (define-public polari
10001 (package
10002 (name "polari")
10003 (version "3.32.2")
10004 (source (origin
10005 (method url-fetch)
10006 (uri (string-append "mirror://gnome/sources/polari/"
10007 (version-major+minor version)
10008 "/polari-" version ".tar.xz"))
10009 (sha256
10010 (base32
10011 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
10012 (build-system meson-build-system)
10013 (arguments
10014 `(#:glib-or-gtk? #t
10015 #:phases
10016 (modify-phases %standard-phases
10017 (add-after 'unpack 'skip-gtk-update-icon-cache
10018 (lambda _
10019 (substitute* "meson/meson-postinstall.sh"
10020 (("gtk-update-icon-cache") (which "true")))
10021 #t))
10022 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10023 (lambda* (#:key outputs #:allow-other-keys)
10024 (let ((prog (string-append (assoc-ref outputs "out")
10025 "/bin/polari")))
10026 (wrap-program prog
10027 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10028 #t))))))
10029 (inputs
10030 `(("glib" ,glib)
10031 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10032 ("gspell" ,gspell)
10033 ("gtk+" ,gtk+)
10034 ("gjs" ,gjs)
10035 ("libsecret" ,libsecret)
10036 ("libsoup" ,libsoup)
10037 ("telepathy-glib" ,telepathy-glib)
10038 ("telepathy-logger" ,telepathy-logger)))
10039 (native-inputs
10040 `(("glib:bin" ,glib "bin")
10041 ("gobject-introspection" ,gobject-introspection)
10042 ("intltool" ,intltool)
10043 ("pkg-config" ,pkg-config)
10044 ("yelp-tools" ,yelp-tools)))
10045 (propagated-inputs
10046 `(("telepathy-idle" ,telepathy-idle)
10047 ("telepathy-mission-control" ,telepathy-mission-control)))
10048 (synopsis "Simple IRC Client")
10049 (description
10050 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
10051 integrate seamlessly with the GNOME desktop.")
10052 (home-page "https://wiki.gnome.org/Apps/Polari")
10053 (license license:gpl2+)))
10054
10055 (define-public gnome-boxes
10056 (package
10057 (name "gnome-boxes")
10058 (version "3.36.6")
10059 (source
10060 (origin
10061 (method url-fetch)
10062 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
10063 (version-major+minor version) "/"
10064 "gnome-boxes-" version ".tar.xz"))
10065 (sha256
10066 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
10067 (build-system meson-build-system)
10068 (arguments
10069 '(#:glib-or-gtk? #t
10070 #:configure-flags (list "-Drdp=false"
10071 (string-append "-Dc_link_args=-Wl,-rpath="
10072 (assoc-ref %outputs "out")
10073 "/lib/gnome-boxes"))))
10074 (native-inputs
10075 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
10076 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10077 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10078 ("itstool" ,itstool)
10079 ("intltool" ,intltool)
10080 ("vala" ,vala)
10081 ("pkg-config" ,pkg-config)))
10082 (inputs
10083 `(("libarchive" ,libarchive)
10084 ("glib-networking" ,glib-networking) ;for TLS support
10085 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10086 ("gtk" ,gtk+)
10087 ("gtk-vnc" ,gtk-vnc)
10088 ("libosinfo" ,libosinfo)
10089 ("libsecret" ,libsecret)
10090 ("libsoup" ,libsoup)
10091 ("libusb" ,libusb)
10092 ("libvirt" ,libvirt)
10093 ("libvirt-glib" ,libvirt-glib)
10094 ("libxml" ,libxml2)
10095 ("spice-gtk" ,spice-gtk)
10096 ("sparql-query" ,sparql-query)
10097 ("vte" ,vte)
10098 ("webkitgtk" ,webkitgtk)
10099 ("tracker" ,tracker)
10100 ("libgudev" ,libgudev)))
10101 (home-page "https://wiki.gnome.org/Apps/Boxes")
10102 (synopsis "View, access, and manage remote and virtual systems")
10103 (description "GNOME Boxes is a simple application to view, access, and
10104 manage remote and virtual systems. Note that this application requires the
10105 @code{libvirt} and @code{virtlog} daemons to run. Use the command
10106 @command{info '(guix) Virtualization Services'} to learn how to configure
10107 these services on the Guix System.")
10108 (license (list
10109 ;; For data/icons/empty-boxes.png.
10110 license:cc-by2.0
10111 ;; For all others.
10112 license:lgpl2.0+))))
10113
10114 (define-public geary
10115 (package
10116 (name "geary")
10117 (version "3.34.1")
10118 (source (origin
10119 (method git-fetch)
10120 (uri (git-reference
10121 (url "https://gitlab.gnome.org/GNOME/geary")
10122 (commit version)))
10123 (file-name (git-file-name name version))
10124 (sha256
10125 (base32
10126 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
10127 (build-system meson-build-system)
10128 (arguments
10129 `(#:glib-or-gtk? #t
10130 #:phases (modify-phases %standard-phases
10131 (add-after 'unpack 'disable-failing-tests
10132 (lambda _
10133 (substitute* "test/meson.build"
10134 (("test\\('client-tests', geary_test_client_bin\\)")
10135 ""))
10136 #t))
10137 (add-after 'unpack 'disable-postinstall-script
10138 (lambda _
10139 (substitute* "meson.build"
10140 (("meson.add_install_script\\(\
10141 join_paths\\('build-aux', 'post_install.py'\\)\\)")
10142 ""))
10143 #t))
10144 (add-before 'check 'setup-xvfb
10145 (lambda _
10146 (system "Xvfb :1 &")
10147 (setenv "DISPLAY" ":1")
10148 #t)))))
10149 (inputs
10150 `(("enchant" ,enchant)
10151 ("folks" ,folks)
10152 ("gcr" ,gcr)
10153 ("glib" ,glib)
10154 ("gmime" ,gmime-2.6)
10155 ("gnome-online-accounts:lib"
10156 ,gnome-online-accounts "lib")
10157 ("gspell" ,gspell)
10158 ("gtk+" ,gtk+)
10159 ("iso-codes" ,iso-codes)
10160 ("json-glib" ,json-glib)
10161 ("libcanberra" ,libcanberra)
10162 ("libgee" ,libgee)
10163 ("libhandy" ,libhandy)
10164 ("libpeas" ,libpeas)
10165 ("libsecret" ,libsecret)
10166 ("libunwind" ,libunwind)
10167 ("sqlite" ,sqlite)
10168 ("webkitgtk" ,webkitgtk)
10169 ("ytnef" ,ytnef)))
10170 (native-inputs
10171 `(("appstream-glib" ,appstream-glib)
10172 ("cmake-minimal" ,cmake-minimal)
10173 ("desktop-file-utils" ,desktop-file-utils)
10174 ("gettext" ,gettext-minimal)
10175 ("glib:bin" ,glib "bin")
10176 ("gobject-introspection" ,gobject-introspection)
10177 ("itstool" ,itstool)
10178 ("libarchive" ,libarchive)
10179 ("libxml2" ,libxml2)
10180 ("pkg-config" ,pkg-config)
10181 ("vala" ,vala)
10182 ("xvfb" ,xorg-server-for-tests)))
10183 (synopsis "GNOME email application built around conversations")
10184 (description
10185 "Geary collects related messages together into conversations,
10186 making it easy to find and follow your discussions. Full-text and keyword
10187 search makes it easy to find the email you are looking for. Geary's
10188 full-featured composer lets you send rich, styled text with images, links, and
10189 lists, but also send lightweight, easy to read text messages. Geary
10190 automatically picks up your existing GNOME Online Accounts, and adding more is
10191 easy. Geary has a clean, fast, modern interface that works like you want it
10192 to.")
10193 (home-page "https://wiki.gnome.org/Apps/Geary")
10194 (license (list
10195 ;; geary
10196 license:lgpl2.1+
10197 ;; icons
10198 license:cc-by3.0
10199 license:cc-by-sa3.0
10200 license:public-domain
10201 ;; snowball
10202 license:bsd-2))))
10203
10204 (define-public glabels
10205 (package
10206 (name "glabels")
10207 (version "3.4.1")
10208 (source
10209 (origin
10210 (method url-fetch)
10211 (uri (string-append "mirror://gnome/sources/" name "/"
10212 (version-major+minor version) "/"
10213 "glabels-" version ".tar.xz"))
10214 (sha256
10215 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10216 (build-system glib-or-gtk-build-system)
10217 (native-inputs
10218 `(("gettext" ,gettext-minimal)
10219 ("glib:bin" ,glib "bin")
10220 ("intltool" ,intltool)
10221 ("itstool" ,itstool)
10222 ("pkg-config" ,pkg-config)))
10223 (inputs
10224 `(("gtk+" ,gtk+)
10225 ("librsvg" ,librsvg)
10226 ("libxml2" ,libxml2)))
10227 (home-page "https://glabels.org/")
10228 (synopsis "Program for creating labels and business cards")
10229 (description
10230 "gLabels is a program for creating labels and business cards. It is
10231 designed to work with various laser/ink-jet peel-off label and business
10232 card sheets that you’ll find at most office supply stores.")
10233 (license license:gpl3+)))
10234
10235 (define-public libratbag
10236 (package
10237 (name "libratbag")
10238 (version "0.13")
10239 (source
10240 (origin
10241 (method git-fetch)
10242 (uri (git-reference
10243 (url "https://github.com/libratbag/libratbag")
10244 (commit (string-append "v" version))))
10245 (file-name (git-file-name name version))
10246 (sha256
10247 (base32 "18y8mfr63d91278m1kcid0wvrxa1sgjs8na9af1ks2n28ssvciwq"))))
10248 (build-system meson-build-system)
10249 (arguments
10250 `(#:configure-flags
10251 (list "-Dsystemd=false"
10252 "-Dlogind-provider=elogind")
10253 #:phases
10254 (modify-phases %standard-phases
10255 (add-after 'install 'wrap
10256 (lambda* (#:key inputs outputs #:allow-other-keys)
10257 (let* ((out (assoc-ref outputs "out"))
10258 (site (string-append
10259 "/lib/python"
10260 ,(version-major+minor (package-version python))
10261 "/site-packages"))
10262 (evdev (string-append
10263 (assoc-ref inputs "python-evdev") site))
10264 (pygo (string-append
10265 (assoc-ref inputs "python-pygobject") site))
10266 (python-wrap
10267 `("PYTHONPATH" = (,evdev ,pygo))))
10268 (wrap-program (string-append out "/bin/" "ratbagctl")
10269 python-wrap)
10270 #t))))))
10271 (native-inputs
10272 `(("check" ,check)
10273 ("pkg-config" ,pkg-config)
10274 ("swig" ,swig)
10275 ("valgrind" ,valgrind)))
10276 (inputs
10277 `(("glib" ,glib)
10278 ("json-glib" ,json-glib)
10279 ("libevdev" ,libevdev)
10280 ("libsystemd" ,elogind)
10281 ("libunistring" ,libunistring)
10282 ("python-evdev" ,python-evdev)
10283 ("python-pygobject" ,python-pygobject)
10284 ("udev" ,eudev)))
10285 (home-page "https://github.com/libratbag/libratbag")
10286 (synopsis "DBus daemon and utility for configuring gaming mice")
10287 (description "libratbag provides @command{ratbagd}, a DBus daemon to
10288 configure input devices, mainly gaming mice. The daemon provides a generic
10289 way to access the various features exposed by these mice and abstracts away
10290 hardware-specific and kernel-specific quirks. There is also the
10291 @command{ratbagctl} command line interface for configuring devices.
10292
10293 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
10294 Steelseries.
10295
10296 The ratbagd DBus service can be enabled by adding the following service to
10297 your operating-system definition:
10298
10299 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10300 (license license:expat)))
10301
10302 (define-public piper
10303 (package
10304 (name "piper")
10305 (version "0.5")
10306 (source
10307 (origin
10308 (method git-fetch)
10309 (uri (git-reference
10310 (url "https://github.com/libratbag/piper")
10311 (commit version)))
10312 (sha256
10313 (base32 "00vrcsbsv2477l1ncpyzc61lhxgac84dsgr3sjs8qxw3nh1gaasv"))
10314 (file-name (git-file-name name version))))
10315 (build-system meson-build-system)
10316 (native-inputs
10317 `(("gettext" ,gettext-minimal)
10318 ("glib:bin" ,glib "bin")
10319 ("gobject-introspection" ,gobject-introspection)
10320 ("pkg-config" ,pkg-config)
10321 ("python-flake8" ,python-flake8)))
10322 (inputs
10323 `(("adwaita-icon-theme" ,adwaita-icon-theme)
10324 ("gtk" ,gtk+)
10325 ("gtk:bin" ,gtk+ "bin")
10326 ("librsvg" ,librsvg)
10327 ("python-evdev" ,python-evdev)
10328 ("python-lxml" ,python-lxml)
10329 ("python-pycairo" ,python-pycairo)
10330 ("python-pygobject" ,python-pygobject)))
10331 (arguments
10332 `(#:imported-modules ((guix build python-build-system)
10333 ,@%meson-build-system-modules)
10334 #:modules (((guix build python-build-system) #:prefix python:)
10335 (guix build meson-build-system)
10336 (guix build utils))
10337 #:phases
10338 (modify-phases %standard-phases
10339 (add-after 'unpack 'dont-update-gtk-icon-cache
10340 (lambda _
10341 (substitute* "meson.build"
10342 (("meson.add_install_script('meson_install.sh')") ""))
10343 #t))
10344 ;; TODO: Switch to wrap-script when it is fixed.
10345 (add-after 'install 'wrap-python
10346 (assoc-ref python:%standard-phases 'wrap))
10347 (add-after 'wrap-python 'wrap
10348 (lambda* (#:key outputs #:allow-other-keys)
10349 (wrap-program
10350 (string-append (assoc-ref outputs "out" )"/bin/piper")
10351 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10352 #t)))))
10353 (home-page "https://github.com/libratbag/piper/")
10354 (synopsis "Configure bindings and LEDs on gaming mice")
10355 (description "Piper is a GTK+ application for configuring gaming mice with
10356 onboard configuration for key bindings via libratbag. Piper requires
10357 a @command{ratbagd} daemon running with root privileges. It can be run
10358 manually as root, but is preferably configured as a DBus service that can
10359 launch on demand. This can be configured by enabling the following service,
10360 provided there is a DBus service present:
10361
10362 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
10363 (license license:gpl2)))
10364
10365 (define-public parlatype
10366 (package
10367 (name "parlatype")
10368 (version "2.1")
10369 (source
10370 (origin
10371 (method git-fetch)
10372 (uri (git-reference
10373 (url "https://github.com/gkarsay/parlatype.git")
10374 (commit (string-append "v" version))))
10375 (file-name (git-file-name name version))
10376 (sha256
10377 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
10378 (build-system meson-build-system)
10379 (arguments
10380 `(#:glib-or-gtk? #t
10381 #:tests? #f ;require internet access
10382 #:phases
10383 (modify-phases %standard-phases
10384 (add-after 'install 'wrap-parlatype
10385 ;; Add gstreamer plugin provided in this package to system's
10386 ;; plugins.
10387 (lambda* (#:key outputs #:allow-other-keys)
10388 (let* ((out (assoc-ref outputs "out"))
10389 (gst-plugin-path (string-append
10390 out "/lib/gstreamer-1.0/"
10391 ":"
10392 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
10393 (wrap-program (string-append out "/bin/parlatype")
10394 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
10395 #t)))))
10396 (native-inputs
10397 `(("appstream-glib" ,appstream-glib)
10398 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10399 ("gettext" ,gettext-minimal)
10400 ("glib" ,glib "bin") ;for glib-compile-resources
10401 ("pkg-config" ,pkg-config)
10402 ("yelp-tools" ,yelp-tools)))
10403 (inputs
10404 `(("gst-plugins-base" ,gst-plugins-base)
10405 ("gst-plugins-good" ,gst-plugins-good)
10406 ("gstreamer" ,gstreamer)
10407 ("gtk+" ,gtk+)
10408 ("pocketsphinx" ,pocketsphinx)
10409 ("pulseaudio" ,pulseaudio)
10410 ("sphinxbase" ,sphinxbase)))
10411 (home-page "http://gkarsay.github.io/parlatype/")
10412 (synopsis "GNOME audio player for transcription")
10413 (description "Parlatype is an audio player for the GNOME desktop
10414 environment. Its main purpose is the manual transcription of spoken
10415 audio files.")
10416 (license license:gpl3+)))
10417
10418 (define-public jsonrpc-glib
10419 (package
10420 (name "jsonrpc-glib")
10421 (version "3.34.0")
10422 (source (origin
10423 (method url-fetch)
10424 (uri (string-append "mirror://gnome/sources/" name "/"
10425 (version-major+minor version) "/"
10426 name "-" version ".tar.xz"))
10427 (sha256
10428 (base32
10429 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
10430 (build-system meson-build-system)
10431 (inputs
10432 `(("json-glib" ,json-glib)
10433 ("glib" ,glib)))
10434 (native-inputs
10435 `(("pkg-config" ,pkg-config)
10436 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
10437 ("gobject-introspection" ,gobject-introspection)
10438 ("vala" ,vala)))
10439 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
10440 (synopsis "JSON-RPC library for GLib")
10441 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
10442 peers in either a synchronous or asynchronous fashion. It also allows
10443 communicating using the GVariant serialization format instead of JSON when
10444 both peers support it. You might want that when communicating on a single
10445 host to avoid parser overhead and memory-allocator fragmentation.")
10446 (license license:lgpl2.1+)))
10447
10448 (define-public feedbackd
10449 (package
10450 (name "feedbackd")
10451 (version "0.0.0+git20200527")
10452 (source (origin
10453 (method git-fetch)
10454 (uri (git-reference
10455 (url "https://source.puri.sm/Librem5/feedbackd.git")
10456 (commit (string-append "v" version))))
10457 (file-name (git-file-name name version))
10458 (sha256
10459 (base32
10460 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
10461 (build-system meson-build-system)
10462 (native-inputs
10463 `(("glib:bin" ,glib "bin")
10464 ("gobject-introspection" ,gobject-introspection)
10465 ("pkg-config" ,pkg-config)
10466 ("vala" ,vala)))
10467 (inputs
10468 `(("dbus" ,dbus)
10469 ("gsound" ,gsound)
10470 ("json-glib" ,json-glib)
10471 ("libgudev" ,libgudev)))
10472 (propagated-inputs
10473 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
10474 (synopsis "Haptic/visual/audio feedback via DBus")
10475 (description "Feedbackd provides a DBus daemon to act on events to provide
10476 haptic, visual and audio feedback. It offers the libfeedbackd library and
10477 GObject introspection bindings.")
10478 (home-page "https://source.puri.sm/Librem5/feedbackd")
10479 (license (list license:lgpl2.1+ ; libfeedbackd
10480 license:lgpl3+)))) ; the rest
10481
10482 (define-public sysprof
10483 (package
10484 (name "sysprof")
10485 (version "3.34.1")
10486 (source (origin
10487 (method url-fetch)
10488 (uri (string-append "mirror://gnome/sources/" name "/"
10489 (version-major+minor version) "/"
10490 name "-" version ".tar.xz"))
10491 (sha256
10492 (base32
10493 "1l4kr1av7933vb4zql9c5lgzivlw64hyky4nr8xin1v5if6vnjw4"))))
10494 (build-system meson-build-system)
10495 (arguments
10496 `(#:configure-flags
10497 (list (string-append "-Dsystemdunitdir="
10498 %output
10499 "/share/systemd"))
10500 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
10501 #:phases
10502 (modify-phases %standard-phases
10503 (add-after 'unpack 'patch-install-script
10504 (lambda _
10505 (substitute* "build-aux/meson/post_install.sh"
10506 (("gtk-update-icon-cache") "true")
10507 (("update-desktop-database") "true"))
10508 #t)))))
10509 (inputs
10510 `(("glib" ,glib)
10511 ("gtk+" ,gtk+)
10512 ("libdazzle" ,libdazzle)
10513 ("polkit" ,polkit)))
10514 (native-inputs
10515 `(("gettext" ,gettext-minimal)
10516 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
10517 ("itstool" ,itstool)
10518 ("pkg-config" ,pkg-config)
10519 ("xmllint" ,libxml2)))
10520 (home-page "http://www.sysprof.com/")
10521 (synopsis "System-wide performance profiler")
10522 (description "Sysprof is a sampling profiler that uses a kernel module
10523 to generate stacktraces which are then interpreted by the userspace program
10524 @command{sysprof}.")
10525 (license license:gpl3+)))
10526
10527 (define-public gnome-builder
10528 (package
10529 (name "gnome-builder")
10530 (version "3.36.1")
10531 (source (origin
10532 (method url-fetch)
10533 (uri (string-append "mirror://gnome/sources/" name "/"
10534 (version-major+minor version) "/"
10535 name "-" version ".tar.xz"))
10536 (sha256
10537 (base32
10538 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
10539 (build-system meson-build-system)
10540 (arguments
10541 `(#:configure-flags (list "-Dnetwork_tests=false"
10542 ;; TODO: Enable all plugins...
10543 "-Dplugin_clang=false"
10544 "-Dplugin_flatpak=false"
10545 "-Dplugin_glade=false"
10546 ;; ... except this one.
10547 "-Dplugin_update_manager=false")
10548 #:phases
10549 (modify-phases %standard-phases
10550 (add-after 'unpack 'patch-meson
10551 (lambda* (#:key inputs #:allow-other-keys)
10552 (substitute* "build-aux/meson/post_install.py"
10553 (("gtk-update-icon-cache") "true")
10554 (("update-desktop-database") "true"))
10555 (substitute* "src/libide/meson.build"
10556 (("/usr/lib")
10557 (string-append (assoc-ref inputs "python-pygobject")
10558 "/lib")))
10559 #t))
10560 (add-before 'check 'pre-check
10561 (lambda _
10562 (system "Xvfb :1 &")
10563 (setenv "DISPLAY" ":1")
10564 #t)))))
10565 (inputs
10566 `(("devhelp" ,devhelp)
10567 ("gspell" ,gspell)
10568 ("gtk+" ,gtk+)
10569 ("json-glib" ,json-glib)
10570 ("jsonrpc-glib" ,jsonrpc-glib)
10571 ("libdazzle" ,libdazzle)
10572 ("libgit2-glib" ,libgit2-glib)
10573 ("libpeas" ,libpeas)
10574 ("python-pygobject" ,python-pygobject)
10575 ("sysprof" ,sysprof)
10576 ("template-glib" ,template-glib)
10577 ("vte" ,vte)
10578 ("webkitgtk" ,webkitgtk)))
10579 (propagated-inputs
10580 `(("gtksourceview" ,gtksourceview))) ;needed for settings
10581 (native-inputs
10582 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
10583 ("glib:bin" ,glib "bin")
10584 ("gettext" ,gettext-minimal)
10585 ("pkg-config" ,pkg-config)
10586 ("vala" ,vala)
10587 ("xorg-server" ,xorg-server-for-tests)))
10588 (home-page "https://wiki.gnome.org/Apps/Builder")
10589 (synopsis "Toolsmith for GNOME-based applications")
10590 (description "Builder aims to be an integrated development
10591 environment (IDE) for writing GNOME-based software. It features fuzzy search,
10592 auto-completion, a mini code map, documentation browsing, Git integration, an
10593 integrated profiler via Sysprof, debugging support, and more.")
10594 (license license:gpl3+)))