gnu: gusb: Update to 0.3.5.
[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, 2021 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–2021 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, 2021 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 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;; Copyright © 2020 Andy Tai <atai@atai.org>
60 ;;;
61 ;;; This file is part of GNU Guix.
62 ;;;
63 ;;; GNU Guix is free software; you can redistribute it and/or modify it
64 ;;; under the terms of the GNU General Public License as published by
65 ;;; the Free Software Foundation; either version 3 of the License, or (at
66 ;;; your option) any later version.
67 ;;;
68 ;;; GNU Guix is distributed in the hope that it will be useful, but
69 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
70 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71 ;;; GNU General Public License for more details.
72 ;;;
73 ;;; You should have received a copy of the GNU General Public License
74 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
75
76 (define-module (gnu packages gnome)
77 #:use-module (gnu packages)
78 #:use-module (gnu packages admin)
79 #:use-module (gnu packages aidc)
80 #:use-module (gnu packages aspell)
81 #:use-module (gnu packages autotools)
82 #:use-module (gnu packages avahi)
83 #:use-module (gnu packages backup)
84 #:use-module (gnu packages base)
85 #:use-module (gnu packages bash)
86 #:use-module (gnu packages bison)
87 #:use-module (gnu packages boost)
88 #:use-module (gnu packages build-tools)
89 #:use-module (gnu packages calendar)
90 #:use-module (gnu packages cdrom)
91 #:use-module (gnu packages check)
92 #:use-module (gnu packages cmake)
93 #:use-module (gnu packages compression)
94 #:use-module (gnu packages crates-io)
95 #:use-module (gnu packages crates-graphics)
96 #:use-module (gnu packages crates-gtk)
97 #:use-module (gnu packages cups)
98 #:use-module (gnu packages curl)
99 #:use-module (gnu packages cyrus-sasl)
100 #:use-module (gnu packages databases)
101 #:use-module (gnu packages dbm)
102 #:use-module (gnu packages djvu)
103 #:use-module (gnu packages dns)
104 #:use-module (gnu packages docbook)
105 #:use-module (gnu packages documentation)
106 #:use-module (gnu packages enchant)
107 #:use-module (gnu packages flex)
108 #:use-module (gnu packages fonts)
109 #:use-module (gnu packages file-systems)
110 #:use-module (gnu packages fontutils)
111 #:use-module (gnu packages freedesktop)
112 #:use-module (gnu packages game-development)
113 #:use-module (gnu packages gcc)
114 #:use-module (gnu packages gettext)
115 #:use-module (gnu packages ghostscript)
116 #:use-module (gnu packages gimp)
117 #:use-module (gnu packages gl)
118 #:use-module (gnu packages glib)
119 #:use-module (gnu packages gnupg)
120 #:use-module (gnu packages gnuzilla)
121 #:use-module (gnu packages geo)
122 #:use-module (gnu packages gperf)
123 #:use-module (gnu packages graphviz)
124 #:use-module (gnu packages gstreamer)
125 #:use-module (gnu packages gtk)
126 #:use-module (gnu packages guile)
127 #:use-module (gnu packages ibus)
128 #:use-module (gnu packages icu4c)
129 #:use-module (gnu packages image)
130 #:use-module (gnu packages imagemagick)
131 #:use-module (gnu packages inkscape)
132 #:use-module (gnu packages iso-codes)
133 #:use-module (gnu packages kerberos)
134 #:use-module (gnu packages libcanberra)
135 #:use-module (gnu packages libffi)
136 #:use-module (gnu packages libunistring)
137 #:use-module (gnu packages libunwind)
138 #:use-module (gnu packages libusb)
139 #:use-module (gnu packages linux)
140 #:use-module (gnu packages lirc)
141 #:use-module (gnu packages lua)
142 #:use-module (gnu packages mail)
143 #:use-module (gnu packages mp3)
144 #:use-module (gnu packages multiprecision)
145 #:use-module (gnu packages music)
146 #:use-module (gnu packages ncurses)
147 #:use-module (gnu packages nettle)
148 #:use-module (gnu packages networking)
149 #:use-module (gnu packages ninja)
150 #:use-module (gnu packages node)
151 #:use-module (gnu packages nss)
152 #:use-module (gnu packages openldap)
153 #:use-module (gnu packages package-management)
154 #:use-module (gnu packages password-utils)
155 #:use-module (gnu packages pcre)
156 #:use-module (gnu packages pdf)
157 #:use-module (gnu packages perl)
158 #:use-module (gnu packages photo)
159 #:use-module (gnu packages php)
160 #:use-module (gnu packages pkg-config)
161 #:use-module (gnu packages polkit)
162 #:use-module (gnu packages popt)
163 #:use-module (gnu packages pretty-print)
164 #:use-module (gnu packages protobuf)
165 #:use-module (gnu packages pulseaudio)
166 #:use-module (gnu packages python)
167 #:use-module (gnu packages python-crypto)
168 #:use-module (gnu packages python-web)
169 #:use-module (gnu packages python-xyz)
170 #:use-module (gnu packages rdesktop)
171 #:use-module (gnu packages rdf)
172 #:use-module (gnu packages readline)
173 #:use-module (gnu packages ruby)
174 #:use-module (gnu packages rust)
175 #:use-module (gnu packages samba)
176 #:use-module (gnu packages scanner)
177 #:use-module (gnu packages sdl)
178 #:use-module (gnu packages search)
179 #:use-module (gnu packages selinux)
180 #:use-module (gnu packages slang)
181 #:use-module (gnu packages speech)
182 #:use-module (gnu packages spice)
183 #:use-module (gnu packages sqlite)
184 #:use-module (gnu packages ssh)
185 #:use-module (gnu packages swig)
186 #:use-module (gnu packages tex)
187 #:use-module (gnu packages time)
188 #:use-module (gnu packages tls)
189 #:use-module (gnu packages valgrind)
190 #:use-module (gnu packages version-control)
191 #:use-module (gnu packages video)
192 #:use-module (gnu packages virtualization)
193 #:use-module (gnu packages vpn)
194 #:use-module (gnu packages web)
195 #:use-module (gnu packages webkit)
196 #:use-module (gnu packages xdisorg)
197 #:use-module (gnu packages xiph)
198 #:use-module (gnu packages xml)
199 #:use-module (gnu packages xorg)
200 #:use-module (gnu artwork)
201 #:use-module ((guix build utils) #:select (modify-phases))
202 #:use-module (guix build-system cargo)
203 #:use-module (guix build-system cmake)
204 #:use-module (guix build-system glib-or-gtk)
205 #:use-module (guix build-system gnu)
206 #:use-module (guix build-system meson)
207 #:use-module (guix build-system python)
208 #:use-module (guix build-system trivial)
209 #:use-module (guix download)
210 #:use-module (guix git-download)
211 #:use-module ((guix licenses) #:prefix license:)
212 #:use-module (guix packages)
213 #:use-module (guix utils)
214 #:use-module (guix gexp)
215 #:use-module (guix monads)
216 #:use-module (guix store)
217 #:use-module (ice-9 match)
218 #:use-module (srfi srfi-1))
219
220 (define-public gupnp-igd
221 (package
222 (name "gupnp-igd")
223 (version "1.2.0")
224 (source
225 (origin
226 (method url-fetch)
227 (uri
228 (string-append "mirror://gnome/sources/" name "/"
229 (version-major+minor version) "/"
230 name "-" version ".tar.xz"))
231 (sha256
232 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
233 (build-system meson-build-system)
234 (outputs '("out" "doc"))
235 (arguments
236 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
237 #:configure-flags (list "-Dgtk_doc=true")
238 #:phases
239 (modify-phases %standard-phases
240 (add-after 'unpack 'patch-docbook-xml
241 (lambda* (#:key inputs #:allow-other-keys)
242 (with-directory-excursion "doc"
243 (substitute* "gupnp-igd-docs.xml"
244 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
245 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
246 "/xml/dtd/docbook/"))))
247 #t))
248 (add-after 'install 'move-doc
249 (lambda* (#:key outputs #:allow-other-keys)
250 (let* ((out (assoc-ref outputs "out"))
251 (doc (assoc-ref outputs "doc")))
252 (mkdir-p (string-append doc "/share"))
253 (rename-file
254 (string-append out "/share/gtk-doc")
255 (string-append doc "/share/gtk-doc"))
256 #t))))))
257 (native-inputs
258 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
259 ("docbook-xsl" ,docbook-xsl)
260 ("glib:bin" ,glib "bin")
261 ("gobject-introspection" ,gobject-introspection)
262 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
263 ("gtk-doc" ,gtk-doc)
264 ("pkg-config" ,pkg-config)))
265 (propagated-inputs
266 `(("glib" ,glib)
267 ("glib-networking" ,glib-networking)
268 ("gssdp" ,gssdp)
269 ("gupnp" ,gupnp)
270 ("libsoup" ,libsoup)))
271 (synopsis "UPnP IGD for GNOME")
272 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
273 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
274 (license license:lgpl2.1+)))
275
276 (define-public brasero
277 (package
278 (name "brasero")
279 (version "3.12.2")
280 (source (origin
281 (method url-fetch)
282 (uri (string-append "mirror://gnome/sources/brasero/"
283 (version-major+minor version) "/"
284 "brasero-" version ".tar.xz"))
285 (sha256
286 (base32
287 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
288 (build-system glib-or-gtk-build-system)
289 (arguments
290 `(#:configure-flags (list
291 (string-append "--with-girdir="
292 (assoc-ref %outputs "out")
293 "/share/gir-1.0")
294 (string-append "--with-typelibdir="
295 (assoc-ref %outputs "out")
296 "/lib/girepository-1.0"))
297 #:phases
298 (modify-phases %standard-phases
299 (add-before 'configure 'embed-growisofs
300 (lambda* (#:key inputs #:allow-other-keys)
301 (substitute* "plugins/growisofs/burn-growisofs.c"
302 (("\"growisofs") (string-append "\"" (which "growisofs"))))
303 #t)))))
304 (propagated-inputs
305 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
306 (native-inputs
307 `(("intltool" ,intltool)
308 ("itstool" ,itstool)
309 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
310 ("gobject-introspection" ,gobject-introspection)
311 ("pkg-config" ,pkg-config)))
312 (inputs
313 `(("dvd+rw-tools" ,dvd+rw-tools)
314 ("glib" ,glib)
315 ("gnome-doc-utils" ,gnome-doc-utils)
316 ("gstreamer" ,gstreamer)
317 ("gst-plugins-base" ,gst-plugins-base)
318 ("gtk+" ,gtk+)
319 ("libcanberra" ,libcanberra)
320 ("libice" ,libice)
321 ("libnotify" ,libnotify)
322 ("libsm" ,libsm)
323 ("libxml2" ,libxml2)
324 ("totem-pl-parser" ,totem-pl-parser)))
325 (home-page "https://wiki.gnome.org/Apps/Brasero")
326 (synopsis "CD/DVD burning tool for Gnome")
327 (description "Brasero is an application to burn CD/DVD for the Gnome
328 Desktop. It is designed to be as simple as possible and has some unique
329 features to enable users to create their discs easily and quickly.")
330 (license license:gpl2+)))
331
332 (define-public libcloudproviders
333 (package
334 (name "libcloudproviders")
335 (version "0.3.1")
336 (source
337 (origin
338 (method url-fetch)
339 (uri
340 (string-append "mirror://gnome/sources/" name "/"
341 (version-major+minor version) "/"
342 name "-" version ".tar.xz"))
343 (sha256
344 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
345 (build-system meson-build-system)
346 (outputs '("out" "doc"))
347 (arguments
348 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
349 #:configure-flags
350 (list
351 "-Denable-gtk-doc=true")
352 #:phases
353 (modify-phases %standard-phases
354 (add-after 'install 'move-doc
355 (lambda* (#:key outputs #:allow-other-keys)
356 (let* ((out (assoc-ref outputs "out"))
357 (doc (assoc-ref outputs "doc")))
358 (mkdir-p (string-append doc "/share"))
359 (rename-file
360 (string-append out "/share/gtk-doc")
361 (string-append doc "/share/gtk-doc"))
362 #t))))))
363 (native-inputs
364 `(("glib:bin" ,glib "bin")
365 ("gobject-introspection" ,gobject-introspection)
366 ("gtk-doc" ,gtk-doc)
367 ("pkg-config" ,pkg-config)
368 ("vala" ,vala)))
369 (inputs
370 `(("glib" ,glib)
371 ("glib-networking" ,glib-networking)))
372 (synopsis "Cloudproviders Integration API")
373 (description "Libcloudproviders is a DBus API that allows cloud storage sync
374 clients to expose their services. Clients such as file managers and desktop
375 environments can then provide integrated access to the cloud providers
376 services.")
377 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
378 (license license:lgpl3+)))
379
380 (define-public libgrss
381 (package
382 (name "libgrss")
383 (version "0.7.0")
384 (source
385 (origin
386 (method url-fetch)
387 (uri
388 (string-append "mirror://gnome/sources/" name "/"
389 (version-major+minor version) "/"
390 name "-" version ".tar.xz"))
391 (sha256
392 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
393 (build-system glib-or-gtk-build-system)
394 (outputs '("out" "doc"))
395 (arguments
396 `(#:configure-flags
397 (list
398 "--enable-gtk-doc"
399 (string-append "--with-html-dir="
400 (assoc-ref %outputs "doc")
401 "/share/gtk-doc/html"))
402 #:phases
403 (modify-phases %standard-phases
404 (add-after 'unpack 'patch-docbook-xml
405 (lambda* (#:key inputs #:allow-other-keys)
406 (with-directory-excursion "doc/reference"
407 (substitute* "libgrss-docs.sgml"
408 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
409 (string-append (assoc-ref inputs "docbook-xml")
410 "/xml/dtd/docbook/"))))
411 #t)))))
412 (native-inputs
413 `(("docbook-xml" ,docbook-xml-4.1.2)
414 ("gobject-introspection" ,gobject-introspection)
415 ("gtk-doc" ,gtk-doc)
416 ("pkg-config" ,pkg-config)))
417 (propagated-inputs
418 `(("glib" ,glib)
419 ("libsoup" ,libsoup)
420 ("libxml2" ,libxml2)))
421 (synopsis "Glib library for feeds")
422 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
423 and other formats.")
424 (home-page "https://wiki.gnome.org/Projects/Libgrss")
425 (license license:lgpl3+)))
426
427 (define-public gnome-js-common
428 (package
429 (name "gnome-js-common")
430 (version "0.1.2")
431 (source
432 (origin
433 (method url-fetch)
434 (uri
435 (string-append "mirror://gnome/sources/" name "/"
436 (version-major+minor version) "/"
437 name "-" version ".tar.gz"))
438 (sha256
439 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
440 (build-system glib-or-gtk-build-system)
441 (arguments
442 `(#:configure-flags
443 (list
444 "--disable-static")))
445 (native-inputs
446 `(("gettext" ,gettext-minimal)
447 ("intltool" ,intltool)
448 ("pkg-config" ,pkg-config)))
449 (synopsis "Common JS Modules")
450 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
451 bindings.")
452 (home-page "https://wiki.gnome.org/Projects/Seed")
453 (license license:gpl3+)))
454
455 (define-public seed
456 (package
457 (name "seed")
458 (version "3.8.1")
459 (source
460 (origin
461 (method url-fetch)
462 (uri
463 (string-append "mirror://gnome/sources/" name "/"
464 (version-major+minor version) "/"
465 name "-" version ".tar.xz"))
466 (sha256
467 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
468 (patches
469 (search-patches "seed-webkit.patch"))))
470 (build-system glib-or-gtk-build-system)
471 (outputs '("out" "doc"))
472 (arguments
473 `(#:configure-flags
474 (list
475 "--disable-static"
476 "--enable-xorg-module"
477 (string-append "--with-html-dir="
478 (assoc-ref %outputs "doc")
479 "/share/gtk-doc/html")
480 "--with-webkit=4.0")
481 #:phases
482 (modify-phases %standard-phases
483 ;; The seed-webkit.patch patches configure.ac.
484 ;; So the source files need to be re-bootstrapped.
485 (add-after 'unpack 'trigger-bootstrap
486 (lambda _
487 (for-each delete-file
488 (list
489 "configure"
490 "Makefile.in"))
491 #t))
492 (add-after 'unpack 'patch-tests
493 (lambda* (#:key outputs #:allow-other-keys)
494 (substitute* (find-files "." "\\.js$")
495 (("#!/usr/bin/env seed")
496 (string-append "#!" (getcwd) "/src/seed")))
497 #t))
498 (add-before 'build 'patch-docbook-xml
499 (lambda* (#:key inputs #:allow-other-keys)
500 (with-directory-excursion "doc"
501 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
502 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
503 (string-append (assoc-ref inputs "docbook-xml")
504 "/xml/dtd/docbook/"))))
505 #t)))))
506 (native-inputs
507 `(("autoconf" ,autoconf)
508 ("automake" ,automake)
509 ("docbook-xml" ,docbook-xml-4.1.2)
510 ("gettext" ,gettext-minimal)
511 ("gobject-introspection" ,gobject-introspection)
512 ("gtk-doc" ,gtk-doc)
513 ("intltool" ,intltool)
514 ("libtool" ,libtool)
515 ("pkg-config" ,pkg-config)))
516 (inputs
517 `(("cairo" ,cairo)
518 ("dbus" ,dbus)
519 ("dbus-glib" ,dbus-glib)
520 ("gnome-js-common" ,gnome-js-common)
521 ("gtk+" ,gtk+)
522 ("gtk+-2" ,gtk+-2)
523 ("libffi" ,libffi)
524 ("libxml2" ,libxml2)
525 ("mpfr" ,mpfr)
526 ("readline" ,readline)
527 ("sqlite" ,sqlite)
528 ("xscrnsaver" ,libxscrnsaver)))
529 (propagated-inputs
530 `(("glib" ,glib)
531 ("webkit" ,webkitgtk)))
532 (synopsis "GObject JavaScriptCore bridge")
533 (description "Seed is a library and interpreter, dynamically bridging
534 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
535 GNOME platform. It serves as something which enables you to write standalone
536 applications in JavaScript, or easily enable your application to be extensible
537 in JavaScript.")
538 (home-page "https://wiki.gnome.org/Projects/Seed")
539 (license license:lgpl2.0+)))
540
541 (define-public libdmapsharing
542 (package
543 (name "libdmapsharing")
544 (version "3.9.10")
545 (source
546 (origin
547 (method url-fetch)
548 (uri
549 (string-append "https://www.flyn.org/projects/"
550 name "/" name "-" version ".tar.gz"))
551 (sha256
552 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
553 (build-system glib-or-gtk-build-system)
554 (outputs '("out" "doc"))
555 (arguments
556 `(#:tests? #f ; Tests require networking.
557 #:configure-flags
558 (list
559 "--disable-static"
560 (string-append "--with-html-dir="
561 (assoc-ref %outputs "doc")
562 "/share/gtk-doc/html"))
563 #:phases
564 (modify-phases %standard-phases
565 (add-after 'unpack 'patch-docbook-xml
566 (lambda* (#:key inputs #:allow-other-keys)
567 (with-directory-excursion "doc"
568 (substitute* "libdmapsharing-4.0-docs.xml"
569 (("http://www.oasis-open.org/docbook/xml/4.3/")
570 (string-append (assoc-ref inputs "docbook-xml")
571 "/xml/dtd/docbook/"))))
572 #t)))))
573 (native-inputs
574 `(("check" ,check)
575 ("docbook-xml" ,docbook-xml-4.3)
576 ("gobject-introspection" ,gobject-introspection)
577 ("pedansee" ,pedansee)
578 ("pkg-config" ,pkg-config)
579 ("vala" ,vala)))
580 (inputs
581 `(("avahi" ,avahi)
582 ("gdk-pixbuf" ,gdk-pixbuf+svg)
583 ("gee" ,libgee)
584 ("gst-plugins-base" ,gst-plugins-base)
585 ("gtk+" ,gtk+)))
586 (propagated-inputs
587 `(("glib" ,glib)
588 ("glib-networking" ,glib-networking)
589 ("gstreamer" ,gstreamer)
590 ("libsoup" ,libsoup)))
591 (synopsis "Media management library")
592 (description "Libdmapsharing is a library which allows programs to access,
593 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
594 It is written in C using GObject and libsoup.")
595 (home-page "https://launchpad.net/gtx")
596 (license license:lgpl2.1+)))
597
598 (define-public gtx
599 (package
600 (name "gtx")
601 (version "0.2.2")
602 (source
603 (origin
604 (method url-fetch)
605 (uri
606 (string-append "https://launchpad.net/gtx/trunk/"
607 version "/+download/gtx-" version ".tar.gz"))
608 (sha256
609 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
610 (build-system glib-or-gtk-build-system)
611 (outputs '("out" "doc"))
612 (arguments
613 `(#:configure-flags
614 (list
615 "--disable-static"
616 "--enable-gtk-doc"
617 (string-append "--with-html-dir="
618 (assoc-ref %outputs "doc")
619 "/share/gtk-doc/html"))))
620 (native-inputs
621 `(("gobject-introspection" ,gobject-introspection)
622 ("gtk-doc" ,gtk-doc)
623 ("pkg-config" ,pkg-config)))
624 (propagated-inputs
625 `(("glib" ,glib)))
626 (synopsis "GLib Testing Framework")
627 (description "GTX is a small collection of convenience functions intended to
628 enhance the GLib testing framework. With specific emphasis on easing the pain
629 of writing test cases for asynchronous interactions.")
630 (home-page "https://launchpad.net/gtx")
631 (license license:lgpl2.1+)))
632
633 (define-public dee
634 (package
635 (name "dee")
636 (version "1.2.7")
637 (source
638 (origin
639 (method url-fetch)
640 (uri
641 (string-append "https://launchpad.net/dee/1.0/"
642 version "/+download/dee-" version ".tar.gz"))
643 (sha256
644 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
645 (patches
646 (search-patches "dee-vapi.patch"))))
647 (build-system glib-or-gtk-build-system)
648 (outputs '("out" "doc"))
649 (arguments
650 `(#:configure-flags
651 (list
652 "--disable-maintainer-flags"
653 (string-append "--with-pygi-overrides-dir="
654 (assoc-ref %outputs "out")
655 "/lib/python"
656 ,(version-major+minor
657 (package-version python))
658 "/site-packages/gi/overrides")
659 (string-append "--with-html-dir="
660 (assoc-ref %outputs "doc")
661 "/share/gtk-doc/html"))
662 #:phases
663 (modify-phases %standard-phases
664 (add-after 'unpack 'patch-docbook-xml
665 (lambda* (#:key inputs #:allow-other-keys)
666 (with-directory-excursion "doc/reference/dee-1.0"
667 (substitute* "dee-1.0-docs.sgml"
668 (("http://www.oasis-open.org/docbook/xml/4.3/")
669 (string-append (assoc-ref inputs "docbook-xml")
670 "/xml/dtd/docbook/"))))
671 #t))
672 (add-after 'patch-docbook-xml 'disable-failing-tests
673 (lambda _
674 (substitute* "tests/test-icu.c"
675 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
676 "")
677 (("setup, test_ascii_folder, teardown\\);")
678 ""))
679 #t))
680 (add-before 'check 'pre-check
681 (lambda _
682 ;; Tests require a running dbus-daemon.
683 (system "dbus-daemon &")
684 ;; For missing '/etc/machine-id'.
685 (setenv "DBUS_FATAL_WARNINGS" "0")
686 #t)))))
687 (native-inputs
688 `(("dbus" ,dbus)
689 ("dbus-test-runner" ,dbus-test-runner)
690 ("docbook-xml" ,docbook-xml-4.3)
691 ("gobject-introspection" ,gobject-introspection)
692 ("gtk-doc" ,gtk-doc)
693 ;; Would only be required by configure flag "--enable-extended-tests".
694 ;("gtx" ,gtx)
695 ("pkg-config" ,pkg-config)
696 ("pygobject" ,python-pygobject)
697 ("python" ,python-wrapper)
698 ("vala" ,vala)))
699 (inputs
700 `(("icu" ,icu4c)))
701 (propagated-inputs
702 `(("glib" ,glib)))
703 (synopsis "Model to synchronize multiple instances over DBus")
704 (description "Dee is a library that uses DBus to provide objects allowing
705 you to create Model-View-Controller type programs across DBus. It also consists
706 of utility objects which extend DBus allowing for peer-to-peer discoverability
707 of known objects without needing a central registrar.")
708 (home-page "https://launchpad.net/dee")
709 (license
710 ;; Dual-licensed
711 (list
712 license:lgpl3+
713 license:gpl3+))))
714
715 (define-public zeitgeist
716 (package
717 (name "zeitgeist")
718 (version "1.0.3")
719 (source
720 (origin
721 (method git-fetch)
722 (uri
723 (git-reference
724 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
725 (commit
726 (string-append "v" version))))
727 (file-name
728 (git-file-name name version))
729 (sha256
730 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
731 (build-system glib-or-gtk-build-system)
732 (arguments
733 `(#:configure-flags
734 (list
735 "--enable-explain-queries"
736 "--enable-fts"
737 "--enable-docs")
738 #:phases
739 (modify-phases %standard-phases
740 (add-after 'unpack 'patch-docbook-xml
741 (lambda* (#:key inputs #:allow-other-keys)
742 (with-directory-excursion "doc/libzeitgeist"
743 (substitute* "zeitgeist-gtkdoc-index.sgml"
744 (("http://www.oasis-open.org/docbook/xml/4.3/")
745 (string-append (assoc-ref inputs "docbook-xml")
746 "/xml/dtd/docbook/"))))
747 #t))
748 (add-after 'patch-docbook-xml 'disable-failing-tests
749 (lambda _
750 (substitute* "test/direct/Makefile.am"
751 ((" log-test ")
752 ""))
753 (substitute* "test/c/Makefile.am"
754 ((" test-log ")
755 ""))
756 #t))
757 (add-before 'bootstrap 'remove-autogen-script
758 (lambda _
759 ;; To honor `autoreconf -vif` by build-system.
760 (delete-file "autogen.sh")
761 #t)))))
762 (native-inputs
763 `(("autoconf" ,autoconf)
764 ("automake" ,automake)
765 ("docbook-xml" ,docbook-xml-4.3)
766 ("gettext" ,gettext-minimal)
767 ("gobject-introspection" ,gobject-introspection)
768 ("gtk-doc" ,gtk-doc)
769 ("libtool" ,libtool)
770 ("pkg-config" ,pkg-config)
771 ("vala" ,vala)
772 ("xorg-server-for-tests" ,xorg-server-for-tests)))
773 (inputs
774 `(("dee-icu" ,dee)
775 ("gtk+" ,gtk+)
776 ("json-glib" ,json-glib)
777 ("sqlite" ,sqlite)
778 ("telepathy-glib" ,telepathy-glib)
779 ("python" ,python-wrapper)
780 ("python-rdflib" ,python-rdflib)
781 ("xapian-config" ,xapian)))
782 (propagated-inputs
783 `(("glib" ,glib)))
784 (synopsis "Desktop Activity Logging")
785 (description "Zeitgeist is a service which logs the users’s activities and
786 events, anywhere from files opened to websites visited and conversations. It
787 makes this information readily available for other applications to use. It is
788 able to establish relationships between items based on similarity and usage
789 patterns.")
790 (home-page "https://zeitgeist.freedesktop.org/")
791 (license
792 ;; Dual-licensed
793 (list
794 license:lgpl2.1+
795 license:gpl2+))))
796
797 (define-public gnome-photos
798 (package
799 (name "gnome-photos")
800 (version "3.34.2")
801 (source
802 (origin
803 (method url-fetch)
804 (uri
805 (string-append "mirror://gnome/sources/" name "/"
806 (version-major+minor version) "/"
807 name "-" version ".tar.xz"))
808 (sha256
809 (base32
810 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
811 (build-system meson-build-system)
812 (arguments
813 `(#:glib-or-gtk? #t
814 #:configure-flags
815 (list "-Ddogtail=false" ; Not available
816 ;; Required for RUNPATH validation.
817 (string-append "-Dc_link_args=-Wl,-rpath="
818 (assoc-ref %outputs "out") "/lib/gnome-photos"))
819 #:phases
820 (modify-phases %standard-phases
821 (add-after 'install 'wrap-gnome-photos
822 (lambda* (#:key inputs outputs #:allow-other-keys)
823 (let*
824 ((out (assoc-ref outputs "out")))
825 (wrap-program (string-append out "/bin/gnome-photos")
826 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
827 #t)))))
828 (native-inputs
829 `(("dbus" ,dbus)
830 ("desktop-file-utils" ,desktop-file-utils)
831 ("gettext" ,gettext-minimal)
832 ("git" ,git-minimal)
833 ("glib:bin" ,glib "bin")
834 ("gobject-introspection" ,gobject-introspection)
835 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
836 ("gtk+:bin" ,gtk+ "bin")
837 ("itstool" ,itstool)
838 ("pkg-config" ,pkg-config)))
839 (inputs
840 `(("babl" ,babl)
841 ("cairo" ,cairo)
842 ("gdk-pixbuf" ,gdk-pixbuf+svg)
843 ("gegl" ,gegl)
844 ("geocode-glib" ,geocode-glib)
845 ("gexiv2" ,gexiv2)
846 ("gnome-online-accounts" ,gnome-online-accounts)
847 ("gnome-online-miners" ,gnome-online-miners)
848 ("grilo" ,grilo)
849 ("grilo-plugins" ,grilo-plugins)
850 ("gtk+" ,gtk+)
851 ("libdazzle" ,libdazzle)
852 ("libgdata" ,libgdata)
853 ("libgfbgraph" ,gfbgraph)
854 ("libjpeg" ,libjpeg-turbo)
855 ("libpng" ,libpng)
856 ("librest" ,rest)
857 ("pygobject" ,python-pygobject)
858 ("tracker" ,tracker)
859 ("tracker-miners" ,tracker-miners)))
860 (synopsis "Access, organize and share your photos on GNOME desktop")
861 (description "GNOME Photos is a simple and elegant replacement for using a
862 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
863 cloud integration is offered through GNOME Online Accounts.")
864 (home-page "https://wiki.gnome.org/Apps/Photos")
865 (license license:gpl3+)))
866
867 (define-public gnome-music
868 (package
869 (name "gnome-music")
870 (version "3.34.5")
871 (source
872 (origin
873 (method url-fetch)
874 (uri
875 (string-append "mirror://gnome/sources/" name "/"
876 (version-major+minor version) "/"
877 name "-" version ".tar.xz"))
878 (sha256
879 (base32
880 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
881 (build-system meson-build-system)
882 (arguments
883 `(#:glib-or-gtk? #t
884 #:phases
885 (modify-phases %standard-phases
886 (add-after 'install 'wrap-gnome-music
887 (lambda* (#:key inputs outputs #:allow-other-keys)
888 (let*
889 ((out (assoc-ref outputs "out"))
890 (pylib (string-append out "/lib/python"
891 ,(version-major+minor
892 (package-version python))
893 "/site-packages")))
894 (wrap-program (string-append out "/bin/gnome-music")
895 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
896 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
897 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
898 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
899 #t)))))
900 (native-inputs
901 `(("desktop-file-utils" ,desktop-file-utils)
902 ("gettext" ,gettext-minimal)
903 ("glib:bin" ,glib "bin")
904 ("gobject-introspection" ,gobject-introspection)
905 ("gtk+:bin" ,gtk+ "bin")
906 ("itstools" ,itstool)
907 ("pkg-config" ,pkg-config)))
908 (inputs
909 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
910 ("grilo" ,grilo)
911 ("grilo-plugins" ,grilo-plugins)
912 ("gst-plugins-base" ,gst-plugins-base)
913 ("gstreamer" ,gstreamer)
914 ("gvfs" ,gvfs)
915 ("libdazzle" ,libdazzle)
916 ("libmediaart" ,libmediaart)
917 ("libsoup" ,libsoup)
918 ("pycairo" ,python-pycairo)
919 ("pygobject" ,python-pygobject)
920 ("tracker" ,tracker)
921 ("tracker-miners" ,tracker-miners)))
922 (synopsis "Simple music player for GNOME desktop")
923 (description "GNOME Music is the new GNOME music playing application that
924 aims to combine an elegant and immersive browsing experience with simple
925 and straightforward controls.")
926 (home-page "https://wiki.gnome.org/Apps/Music")
927 (license license:gpl2+)))
928
929 (define-public portablexdr
930 (package
931 (name "portablexdr")
932 (version "4.9.1")
933 (source
934 (origin
935 (method url-fetch)
936 (uri
937 (string-append "https://people.redhat.com/~rjones/" name "/files/"
938 name "-" version ".tar.gz"))
939 (sha256
940 (base32
941 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
942 (build-system gnu-build-system)
943 (synopsis "External Data Representation Library")
944 (description "PortableXDR is an implementation of External Data
945 Representation (XDR) Library. It is a standard data serialization format, for
946 uses such as computer network protocols. It allows data to be transferred
947 between different kinds of computer systems.")
948 (home-page "https://people.redhat.com/~rjones/portablexdr/")
949 (license
950 (list
951 license:gpl2+
952 license:lgpl2.1+))))
953
954 (define-public tepl
955 (package
956 (name "tepl")
957 (version "4.4.0")
958 (source
959 (origin
960 (method url-fetch)
961 (uri
962 (string-append "mirror://gnome/sources/" name "/"
963 (version-major+minor version) "/"
964 name "-" version ".tar.xz"))
965 (sha256
966 (base32
967 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
968 (build-system glib-or-gtk-build-system)
969 (arguments
970 `(#:tests? #f)) ; FIX-ME: Requires gvfs
971 (native-inputs
972 `(("gobject-introspection" ,gobject-introspection)
973 ("pkg-config" ,pkg-config)))
974 (inputs
975 `(("amtk" ,amtk)
976 ("glib" ,glib)
977 ("gtk+" ,gtk+)
978 ("gtksourceview" ,gtksourceview)
979 ("libxml2" ,libxml2)
980 ("uchardet" ,uchardet)))
981 (synopsis "Text editor product line")
982 (description "Tepl is a library that eases the development of
983 GtkSourceView-based text editors and IDEs.")
984 (home-page "https://wiki.gnome.org/Projects/Tepl")
985 (license license:lgpl2.1+)))
986
987 (define-public krb5-auth-dialog
988 (package
989 (name "krb5-auth-dialog")
990 (version "3.26.1")
991 (source
992 (origin
993 (method url-fetch)
994 (uri
995 (string-append "mirror://gnome/sources/" name "/"
996 (version-major+minor version) "/"
997 name "-" version ".tar.xz"))
998 (sha256
999 (base32
1000 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1001 (build-system glib-or-gtk-build-system)
1002 (native-inputs
1003 `(("intltool" ,intltool)
1004 ("itstool" ,itstool)
1005 ("libxml2" ,libxml2)
1006 ("pkg-config" ,pkg-config)
1007 ("python-wrapper" ,python-wrapper)))
1008 (inputs
1009 `(("glib" ,glib)
1010 ("gtk+" ,gtk+)
1011 ("libnotify" ,libnotify)
1012 ("mit-krb5" ,mit-krb5)
1013 ("network-manager" ,network-manager)))
1014 (synopsis "Popup dialogs for Kerberos 5")
1015 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1016 tickets, and pops up a dialog when they are about to expire.")
1017 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1018 (license license:gpl2+)))
1019
1020 (define-public notification-daemon
1021 (package
1022 (name "notification-daemon")
1023 (version "3.20.0")
1024 (source
1025 (origin
1026 (method url-fetch)
1027 (uri
1028 (string-append "mirror://gnome/sources/" name "/"
1029 (version-major+minor version) "/"
1030 name "-" version ".tar.xz"))
1031 (sha256
1032 (base32
1033 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1034 (build-system glib-or-gtk-build-system)
1035 (native-inputs
1036 `(("intltool" ,intltool)
1037 ("pkg-config" ,pkg-config)))
1038 (inputs
1039 `(("glib" ,glib)
1040 ("gtk+" ,gtk+)
1041 ("x11" ,libx11)))
1042 (synopsis "Notification Daemon for GNOME Desktop")
1043 (description "Notification-Daemon is the server implementation of the
1044 freedesktop.org desktop notification specification.")
1045 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1046 (license license:gpl2+)))
1047
1048 (define-public mm-common
1049 (package
1050 (name "mm-common")
1051 (version "1.0.2")
1052 (source (origin
1053 (method url-fetch)
1054 (uri (string-append "mirror://gnome/sources/mm-common/"
1055 (version-major+minor version) "/"
1056 "mm-common-" version ".tar.xz"))
1057 (sha256
1058 (base32
1059 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1060 (build-system meson-build-system)
1061 (arguments
1062 `(#:phases
1063 (modify-phases %standard-phases
1064 (add-after 'unpack 'patch
1065 (lambda* (#:key inputs #:allow-other-keys)
1066 (substitute* "util/mm-common-prepare.in"
1067 (("ln") (string-append (assoc-ref inputs "coreutils")
1068 "/bin/ln"))
1069 (("cp") (string-append (assoc-ref inputs "coreutils")
1070 "/bin/cp"))
1071 (("sed") (string-append (assoc-ref inputs "sed")
1072 "/bin/sed"))
1073 (("cat") (string-append (assoc-ref inputs "coreutils")
1074 "/bin/cat")))
1075 #t)))))
1076 (native-inputs
1077 `(("coreutils" ,coreutils)
1078 ("gettext" ,gettext-minimal)
1079 ("pkg-config" ,pkg-config)
1080 ("sed" ,sed)))
1081 (inputs
1082 `(("python" ,python)))
1083 (synopsis "Module of GNOME C++ bindings")
1084 (description "The mm-common module provides the build infrastructure
1085 and utilities shared among the GNOME C++ binding libraries. Release
1086 archives of mm-common include the Doxygen tag file for the GNU C++
1087 Library reference documentation.")
1088 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1089 (license license:gpl2+)))
1090
1091 (define-public phodav
1092 (package
1093 (name "phodav")
1094 (version "2.5")
1095 (source (origin
1096 (method url-fetch)
1097 (uri (string-append "mirror://gnome/sources/" name "/"
1098 (version-major+minor version) "/"
1099 name "-" version ".tar.xz"))
1100 (sha256
1101 (base32
1102 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1103 (build-system meson-build-system)
1104 (arguments
1105 `(#:phases
1106 (modify-phases %standard-phases
1107 (add-before 'check 'start-virtual-dir-server
1108 ;; The same server when started by tests/virtual-dir returns an
1109 ;; unexpected status (4 instead of 200) and fails a test. It is
1110 ;; unclear why starting it manually here makes it pass.
1111 (lambda _
1112 (system "tests/virtual-dir-server &")
1113 #t)))))
1114 (native-inputs
1115 `(("docbook-xml" ,docbook-xml-4.3)
1116 ("gettext" ,gettext-minimal)
1117 ("glib:bin" ,glib "bin")
1118 ("gtk-doc" ,gtk-doc)
1119 ("pkg-config" ,pkg-config)))
1120 (inputs
1121 `(("avahi" ,avahi)
1122 ("libgudev" ,libgudev)
1123 ("libsoup" ,libsoup)))
1124 (synopsis "WebDav server implementation using libsoup")
1125 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1126 but it is generic enough to be reused in other projects,
1127 in particular in the GNOME desktop.")
1128 (home-page "https://wiki.gnome.org/phodav")
1129 (license license:lgpl2.1+)))
1130
1131 (define-public gnome-color-manager
1132 (package
1133 (name "gnome-color-manager")
1134 (version "3.32.0")
1135 (source (origin
1136 (method url-fetch)
1137 (uri (string-append "mirror://gnome/sources/" name "/"
1138 (version-major+minor version) "/"
1139 name "-" version ".tar.xz"))
1140 (sha256
1141 (base32
1142 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1143 (build-system meson-build-system)
1144 (arguments
1145 `(#:glib-or-gtk? #t
1146 #:phases
1147 (modify-phases %standard-phases
1148 (add-before
1149 'check 'pre-check
1150 (lambda _
1151 ;; Tests require a running X server.
1152 (system "Xvfb :1 &")
1153 (setenv "DISPLAY" ":1")
1154 #t)))))
1155 (native-inputs
1156 `(("desktop-file-utils" ,desktop-file-utils)
1157 ("gettext" ,gettext-minimal)
1158 ("glib:bin" ,glib "bin")
1159 ("gtk+:bin" ,gtk+ "bin")
1160 ("itstool" ,itstool)
1161 ("pkg-config" ,pkg-config)
1162 ("xorg-server" ,xorg-server-for-tests)))
1163 (inputs
1164 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1165 ("appstream-glib" ,appstream-glib)
1166 ("colord-gtk" ,colord-gtk)
1167 ("exiv2" ,exiv2)
1168 ("gnome-desktop" ,gnome-desktop)
1169 ("libcanberra" ,libcanberra)
1170 ("libexif" ,libexif)
1171 ("libtiff" ,libtiff)
1172 ("libxrandr" ,libxrandr)
1173 ("libxtst" ,libxtst)
1174 ("libxxf86vm" ,libxxf86vm)
1175 ("vte" ,vte)
1176 ("xorgproto" ,xorgproto)))
1177 (synopsis "Color profile manager for the GNOME desktop")
1178 (description "GNOME Color Manager is a session framework that makes
1179 it easy to manage, install and generate color profiles
1180 in the GNOME desktop.")
1181 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1182 (license license:gpl2+)))
1183
1184 (define-public gnome-online-miners
1185 (package
1186 (name "gnome-online-miners")
1187 (version "3.34.0")
1188 (source (origin
1189 (method url-fetch)
1190 (uri (string-append "mirror://gnome/sources/" name "/"
1191 (version-major+minor version) "/"
1192 name "-" version ".tar.xz"))
1193 (sha256
1194 (base32
1195 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1196 (build-system glib-or-gtk-build-system)
1197 (native-inputs
1198 `(("gettext" ,gettext-minimal)
1199 ("glib:bin" ,glib "bin")
1200 ("gobject-introspection" ,gobject-introspection)
1201 ("gtk+:bin" ,gtk+ "bin")
1202 ("pkg-config" ,pkg-config)))
1203 (inputs
1204 `(("gnome-online-accounts" ,gnome-online-accounts)
1205 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1206 ("grilo" ,grilo)
1207 ("libgdata" ,libgdata)
1208 ("libgfbgraph" ,gfbgraph)
1209 ("libzapojit" ,libzapojit)
1210 ("rest" ,rest)
1211 ("tracker" ,tracker)))
1212 (synopsis "Web Crawlers for GNOME")
1213 (description "GNOME Online Miners provides a set of crawlers that
1214 go through your online content and index them locally in Tracker.
1215 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1216 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1217 (license license:gpl2+)))
1218
1219 (define-public gssdp
1220 (package
1221 (name "gssdp")
1222 (version "1.2.3")
1223 (source (origin
1224 (method url-fetch)
1225 (uri (string-append "mirror://gnome/sources/" name "/"
1226 (version-major+minor version) "/"
1227 name "-" version ".tar.xz"))
1228 (sha256
1229 (base32
1230 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1231 (build-system meson-build-system)
1232 (native-inputs
1233 `(("gettext" ,gettext-minimal)
1234 ("glib:bin" ,glib "bin")
1235 ("gobject-introspection" ,gobject-introspection)
1236 ("gtk-doc" ,gtk-doc)
1237 ("pkg-config" ,pkg-config)
1238 ("vala" ,vala)))
1239 (inputs
1240 `(("gtk+" ,gtk+)
1241 ("libsoup" ,libsoup)))
1242 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1243 Protocol} for GNOME")
1244 (description "This package provides a library to handle resource discovery
1245 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1246 a debugging tool, @command{gssdp-device-sniffer}.")
1247 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1248 (license license:lgpl2.0+)))
1249
1250 (define-public gupnp
1251 (package
1252 (name "gupnp")
1253 (version "1.2.4")
1254 (source (origin
1255 (method url-fetch)
1256 (uri (string-append "mirror://gnome/sources/" name "/"
1257 (version-major+minor version) "/"
1258 name "-" version ".tar.xz"))
1259 (sha256
1260 (base32
1261 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1262 (build-system meson-build-system)
1263 (native-inputs
1264 `(("gettext" ,gettext-minimal)
1265 ("glib:bin" ,glib "bin")
1266 ("gobject-introspection" ,gobject-introspection)
1267 ("gtk-doc" ,gtk-doc)
1268 ("pkg-config" ,pkg-config)
1269 ("vala" ,vala)))
1270 (inputs
1271 `(("gssdp" ,gssdp)
1272 ("gtk+" ,gtk+)
1273 ("libsoup" ,libsoup)))
1274 (synopsis "PnP API for GNOME")
1275 (description "This package provides GUPnP, an object-oriented framework
1276 for creating UPnP devices and control points, written in C using
1277 @code{GObject} and @code{libsoup}.")
1278 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1279 (license license:lgpl2.0+)))
1280
1281 (define-public gupnp-dlna
1282 (package
1283 (name "gupnp-dlna")
1284 (version "0.10.5")
1285 (source (origin
1286 (method url-fetch)
1287 (uri (string-append "mirror://gnome/sources/" name "/"
1288 (version-major+minor version) "/"
1289 name "-" version ".tar.xz"))
1290 (sha256
1291 (base32
1292 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1293 (build-system gnu-build-system)
1294 (native-inputs
1295 `(("gettext" ,gettext-minimal)
1296 ("glib:bin" ,glib "bin")
1297 ("gobject-introspection" ,gobject-introspection)
1298 ("gtk-doc" ,gtk-doc)
1299 ("libxml" ,libxml2)
1300 ("pkg-config" ,pkg-config)
1301 ("vala" ,vala)))
1302 (inputs
1303 `(("gstreamer" ,gstreamer)
1304 ("gupnp" ,gupnp)))
1305 (propagated-inputs
1306 `(("gst-plugins-base" ,gst-plugins-base)
1307 ("gst-plugins-good" ,gst-plugins-good)))
1308 (synopsis "GUPnP DLNA for GNOME")
1309 (description "This package provides a small utility library to
1310 support DLNA-related tasks such as media profile guessing, transcoding to a
1311 given profile, etc. DLNA is a subset of UPnP A/V.")
1312 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1313 (license license:lgpl2.0+)))
1314
1315 (define-public gupnp-av
1316 (package
1317 (name "gupnp-av")
1318 (version "0.12.11")
1319 (source (origin
1320 (method url-fetch)
1321 (uri (string-append "mirror://gnome/sources/" name "/"
1322 (version-major+minor version) "/"
1323 name "-" version ".tar.xz"))
1324 (sha256
1325 (base32
1326 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1327 (build-system gnu-build-system)
1328 (native-inputs
1329 `(("gettext" ,gettext-minimal)
1330 ("glib:bin" ,glib "bin")
1331 ("gobject-introspection" ,gobject-introspection)
1332 ("gtk-doc" ,gtk-doc)
1333 ("libxml" ,libxml2)
1334 ("pkg-config" ,pkg-config)))
1335 (inputs
1336 `(("gtk+" ,gtk+)
1337 ("gupnp" ,gupnp)))
1338 (synopsis "GUPnP A/V for GNOME")
1339 (description "This package provides a small library for handling
1340 and implementation of UPnP A/V profiles.")
1341 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1342 (license license:lgpl2.0+)))
1343
1344 (define-public libmediaart
1345 (package
1346 (name "libmediaart")
1347 (version "1.9.4")
1348 (source (origin
1349 (method url-fetch)
1350 (uri (string-append "mirror://gnome/sources/" name "/"
1351 (version-major+minor version) "/"
1352 name "-" version ".tar.xz"))
1353 (sha256
1354 (base32
1355 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1356 (build-system gnu-build-system)
1357 (native-inputs
1358 `(("glib:bin" ,glib "bin")
1359 ("pkg-config" ,pkg-config)))
1360 (inputs
1361 `(("gdk-pixbuf" ,gdk-pixbuf)
1362 ("gettext" ,gettext-minimal)
1363 ("gobject-introspection" ,gobject-introspection)
1364 ("gtk+:doc" ,gtk+ "doc")
1365 ("vala" ,vala)))
1366 (synopsis "Media art library for the GNOME desktop")
1367 (description
1368 "The libmediaart library is the foundation for media art caching,
1369 extraction, and lookup for applications on the desktop.")
1370 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1371 (license license:lgpl2.1+)))
1372
1373 (define-public gnome-initial-setup
1374 (package
1375 (name "gnome-initial-setup")
1376 (version "3.32.1")
1377 (source (origin
1378 (method url-fetch)
1379 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1380 (version-major+minor version)
1381 "/gnome-initial-setup-" version ".tar.xz"))
1382 (sha256
1383 (base32
1384 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1385 (build-system meson-build-system)
1386 (arguments
1387 '(#:configure-flags '(;; Enable camera support for user selfie.
1388 "-Dcheese=auto"
1389 "-Dsystemd=false")
1390 #:phases (modify-phases %standard-phases
1391 (add-after 'unpack 'set-gkbd-file-name
1392 (lambda* (#:key inputs #:allow-other-keys)
1393 ;; Allow the "Preview" button in the keyboard layout
1394 ;; selection dialog to display the layout.
1395 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1396 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1397 (("\"gkbd-keyboard-display")
1398 (string-append "\"" libgnomekbd
1399 "/bin/gkbd-keyboard-display")))
1400 #t))))))
1401 (native-inputs
1402 `(("gettext" ,gettext-minimal)
1403 ("glib:bin" ,glib "bin")
1404 ("gobject-introspection" ,gobject-introspection)
1405 ("gtk+:bin" ,gtk+ "bin")
1406 ("pkg-config" ,pkg-config)))
1407 (inputs
1408 `(("accountsservice" ,accountsservice)
1409 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1410 ("gdm" ,gdm)
1411 ("geoclue" ,geoclue)
1412 ("gnome-desktop" ,gnome-desktop)
1413 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1414 ("gnome-online-accounts" ,gnome-online-accounts)
1415 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1416 ("gstreamer" ,gstreamer)
1417 ("ibus" ,ibus)
1418 ("json-glib" ,json-glib)
1419 ("krb5" ,mit-krb5)
1420 ("libgweather" ,libgweather)
1421 ("libnma" ,libnma)
1422 ("libsecret" ,libsecret)
1423 ("network-manager" ,network-manager)
1424 ("packagekit" ,packagekit)
1425 ("polkit" ,polkit)
1426 ("pwquality" ,libpwquality)
1427 ("rest" ,rest)
1428 ("upower" ,upower)
1429 ("webkitgtk" ,webkitgtk)
1430 ("libgnomekbd" ,libgnomekbd)))
1431 (synopsis "Initial setup wizard for GNOME desktop")
1432 (description "This package provides a set-up wizard when a
1433 user logs into GNOME for the first time. It typically provides a
1434 tour of all gnome components and allows the user to set them up.")
1435 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1436 (license license:gpl2)))
1437
1438 (define-public gnome-user-share
1439 (package
1440 (name "gnome-user-share")
1441 (version "3.33.1")
1442 (source (origin
1443 (method url-fetch)
1444 (uri (string-append "mirror://gnome/sources/" name "/"
1445 (version-major+minor version) "/"
1446 name "-" version ".tar.xz"))
1447 (sha256
1448 (base32
1449 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1450 (build-system meson-build-system)
1451 (arguments
1452 `(#:glib-or-gtk? #t
1453 #:configure-flags
1454 `("-Dsystemd=false"
1455 ;; Enable nautilus extension for file sharing.
1456 "-Dnautilus_extension=true")))
1457 (native-inputs
1458 `(("gettext" ,gettext-minimal)
1459 ("glib:bin" ,glib "bin")
1460 ("gobject-introspection" ,gobject-introspection)
1461 ("gtk+:bin" ,gtk+ "bin")
1462 ("pkg-config" ,pkg-config)
1463 ("yelp-tools" ,yelp-tools)))
1464 (inputs
1465 `(("glib" ,glib)
1466 ("gnome-bluetooth" ,gnome-bluetooth)
1467 ("gtk+" ,gtk+)
1468 ("libcanberra" ,libcanberra)
1469 ("libnotify" ,libnotify)
1470 ("nautilus" ,nautilus))) ; For nautilus extension.
1471 (synopsis "File sharing for GNOME desktop")
1472 (description "GNOME User Share is a small package that binds together
1473 various free software projects to bring easy to use user-level file
1474 sharing to the masses.")
1475 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1476 (license license:gpl2+)))
1477
1478 (define-public sushi
1479 (package
1480 (name "sushi")
1481 (version "3.32.1")
1482 (source (origin
1483 (method url-fetch)
1484 (uri (string-append "mirror://gnome/sources/" name "/"
1485 (version-major+minor version) "/"
1486 name "-" version ".tar.xz"))
1487 (sha256
1488 (base32
1489 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1490 (build-system meson-build-system)
1491 (arguments
1492 `(#:glib-or-gtk? #t
1493 #:phases
1494 (modify-phases %standard-phases
1495 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1496 (lambda* (#:key outputs #:allow-other-keys)
1497 (let ((prog (string-append (assoc-ref outputs "out")
1498 "/bin/sushi")))
1499 ;; Put existing typelibs before sushi's deps, so as to correctly
1500 ;; infer gdk-pixbuf
1501 (wrap-program prog
1502 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1503 #t))))))
1504 (native-inputs
1505 `(("glib:bin" ,glib "bin")
1506 ("gettext" ,gettext-minimal)
1507 ("gobject-introspection" ,gobject-introspection)
1508 ("pkg-config" ,pkg-config)))
1509 (inputs
1510 `(("clutter" ,clutter)
1511 ("clutter-gst" ,clutter-gst)
1512 ("clutter-gtk" ,clutter-gtk)
1513 ("evince" ,evince) ; For file previewing.
1514 ("freetype" ,freetype)
1515 ("gdk-pixbuf" ,gdk-pixbuf)
1516 ("gjs" ,gjs)
1517 ("gst-plugins-base" ,gst-plugins-base)
1518 ("gstreamer" ,gstreamer)
1519 ("gtksourceview" ,gtksourceview-3)
1520 ("harfbuzz" ,harfbuzz)
1521 ("libepoxy" ,libepoxy)
1522 ("libmusicbrainz" ,libmusicbrainz)
1523 ("libxml2" ,libxml2)
1524 ("neon" ,neon)
1525 ("webkitgtk" ,webkitgtk)))
1526 (synopsis "File previewer for the GNOME desktop")
1527 (description "Sushi is a DBus-activated service that allows applications to
1528 preview files on the GNOME desktop.")
1529 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1530 (license license:gpl2+)))
1531
1532 (define-public rygel
1533 (package
1534 (name "rygel")
1535 (version "0.38.3")
1536 (source (origin
1537 (method url-fetch)
1538 (uri (string-append "mirror://gnome/sources/" name "/"
1539 (version-major+minor version) "/"
1540 name "-" version ".tar.xz"))
1541 (sha256
1542 (base32
1543 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1544 (build-system gnu-build-system)
1545 (native-inputs
1546 `(("gettext" ,gettext-minimal)
1547 ("gobject-introspection" ,gobject-introspection)
1548 ("gtk-doc" ,gtk-doc)
1549 ("pkg-config" ,pkg-config)
1550 ("vala" ,vala)))
1551 (inputs
1552 `(("gdk-pixbuf" ,gdk-pixbuf)
1553 ("gssdp" ,gssdp)
1554 ("gstreamer" ,gstreamer)
1555 ("gst-plugins-base" ,gst-plugins-base)
1556 ("gtk+" ,gtk+)
1557 ("gupnp" ,gupnp)
1558 ("gupnp-av" ,gupnp-av)
1559 ("gupnp-dlna" ,gupnp-dlna)
1560 ("libgee" ,libgee)
1561 ("libmediaart" ,libmediaart)
1562 ("libsoup" ,libsoup)
1563 ("libxslt" ,libxslt)
1564 ("libunistring" ,libunistring)
1565 ("tracker" ,tracker)))
1566 (synopsis "Share audio, video, and pictures with other devices")
1567 (description
1568 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1569 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1570 pictures, and to control a media player on your home network.
1571
1572 Rygel achieves interoperability with other devices by trying to conform to the
1573 strict requirements of DLNA and by converting media on-the-fly to formats that
1574 client devices can handle.")
1575 (home-page "https://wiki.gnome.org/Projects/Rygel")
1576 (license (list
1577 ;; For logo (data/icons/*).
1578 license:cc-by-sa3.0
1579 ;; For all others.
1580 license:lgpl2.1+))))
1581
1582 (define-public libnma
1583 (package
1584 (name "libnma")
1585 (version "1.8.28")
1586 (source (origin
1587 (method url-fetch)
1588 (uri (string-append "mirror://gnome/sources/" name "/"
1589 (version-major+minor version) "/"
1590 name "-" version ".tar.xz"))
1591 (sha256
1592 (base32
1593 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1594 (build-system meson-build-system)
1595 (arguments
1596 `(#:phases
1597 (modify-phases %standard-phases
1598 (add-after 'unpack 'patch-docbook-xml
1599 (lambda* (#:key inputs #:allow-other-keys)
1600 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1601 "/xml/dtd/docbook")))
1602 (substitute* "libnma-docs.xml"
1603 (("http://.*/docbookx\\.dtd")
1604 (string-append xmldoc "/docbookx.dtd")))
1605 #t))))))
1606 (native-inputs
1607 `(("docbook-xml" ,docbook-xml-4.3)
1608 ("gettext" ,gettext-minimal)
1609 ("glib:bin" ,glib "bin")
1610 ("gtk-doc" ,gtk-doc)
1611 ("gobject-introspection" ,gobject-introspection)
1612 ("pkg-config" ,pkg-config)
1613 ("vala" ,vala)))
1614 (inputs
1615 `(("gcr" ,gcr)
1616 ("gtk+" ,gtk+)
1617 ("iso-codes" ,iso-codes)
1618 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1619 ("network-manager" ,network-manager)))
1620 (synopsis "Network Manager's applet library")
1621 (description "Libnma is an applet library for Network Manager. It was
1622 initially part of network-manager-applet and has now become a separate
1623 project.")
1624 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1625 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1626 ;; "LGPL-2.1+".
1627 (license license:gpl2+)))
1628
1629 (define-public gnome-menus
1630 (package
1631 (name "gnome-menus")
1632 (version "3.32.0")
1633 (source (origin
1634 (method url-fetch)
1635 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1636 (version-major+minor version) "/"
1637 name "-" version ".tar.xz"))
1638 (sha256
1639 (base32
1640 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1641 (build-system gnu-build-system)
1642 (native-inputs
1643 `(("gettext" ,gettext-minimal)
1644 ("glib" ,glib)
1645 ("pkg-config" ,pkg-config)))
1646 (synopsis "Menu support for GNOME desktop")
1647 (description "GNOME Menus contains the libgnome-menu library, the layout
1648 configuration files for the GNOME menu, as well as a simple menu editor.")
1649 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1650 (license license:lgpl2.0+)))
1651
1652 (define-public deja-dup
1653 (package
1654 (name "deja-dup")
1655 (version "40.6")
1656 (source (origin
1657 (method url-fetch)
1658 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1659 version "/deja-dup-" version ".tar.bz2"))
1660 (sha256
1661 (base32
1662 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1663 (build-system meson-build-system)
1664 (arguments
1665 `(#:glib-or-gtk? #t
1666 #:configure-flags
1667 (list
1668 ;; Otherwise, the RUNPATH will lack the final path component.
1669 (string-append "-Dc_link_args=-Wl,-rpath="
1670 (assoc-ref %outputs "out") "/lib/deja-dup"))
1671 #:phases
1672 (modify-phases %standard-phases
1673 (add-after 'unpack 'patch-paths
1674 (lambda* (#:key inputs #:allow-other-keys)
1675 (let ((python (assoc-ref inputs "python")))
1676 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1677 "libdeja/tests/scripts/instance-error.test")
1678 (("/bin/rm")
1679 (which "rm")))
1680 (substitute* "libdeja/tests/runner.vala"
1681 (("/bin/sh")
1682 (which "sh")))
1683 (substitute* "libdeja/tests/scripts/instance-error.test"
1684 (("`which python3`")
1685 (string-append python "/bin/python3"))))))
1686 (add-after 'unpack 'patch-libgpg-error
1687 (lambda* (#:key inputs #:allow-other-keys)
1688 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1689 (substitute* "meson.build"
1690 (("(gpgerror_libs = ).*" _ var)
1691 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1692 #t))
1693 (add-after 'unpack 'skip-gtk-update-icon-cache
1694 ;; Don't create 'icon-theme.cache'.
1695 (lambda _
1696 (substitute* "data/post-install.sh"
1697 (("gtk-update-icon-cache") "true"))
1698 #t)))))
1699 (inputs
1700 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1701 ("duplicity" ,duplicity)
1702 ("python" ,python)
1703 ("python-pygobject" ,python-pygobject)
1704 ("gtk+" ,gtk+)
1705 ("json-glib" ,json-glib)
1706 ("libnotify" ,libnotify)
1707 ("libgpg-error" ,libgpg-error)
1708 ("libsecret" ,libsecret)
1709 ("libsoup" ,libsoup)
1710 ("packagekit" ,packagekit)))
1711 (native-inputs
1712 `(("appstream-glib" ,appstream-glib)
1713 ("desktop-file-utils" ,desktop-file-utils)
1714 ("gettext" ,gettext-minimal)
1715 ("glib" ,glib "bin") ; for glib-compile-schemas.
1716 ("gobject-introspection" ,gobject-introspection)
1717 ("itstool" ,itstool)
1718 ("pkg-config" ,pkg-config)
1719 ("vala" ,vala)))
1720 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1721 (synopsis "Simple backup tool, for regular encrypted backups")
1722 (description
1723 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1724 uses duplicity as the backend, which supports incremental backups and storage
1725 either on a local, or remote machine via a number of methods.")
1726 (license license:gpl3+)))
1727
1728 (define-public gnome-commander
1729 (package
1730 (name "gnome-commander")
1731 (version "1.10.3")
1732 (source
1733 (origin
1734 (method url-fetch)
1735 (uri (string-append "mirror://gnome/sources/" name "/"
1736 (version-major+minor version) "/"
1737 "gnome-commander-" version ".tar.xz"))
1738 (sha256
1739 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1740 (build-system glib-or-gtk-build-system)
1741 (native-inputs
1742 `(("desktop-file-utils" ,desktop-file-utils)
1743 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1744 ("gettext" ,gettext-minimal)
1745 ("glib:bin" ,glib "bin")
1746 ("gobject-introspection" ,gobject-introspection)
1747 ("googletest" ,googletest)
1748 ("intltool" ,intltool)
1749 ("itstool" ,itstool)
1750 ("libtool" ,libtool)
1751 ("pkg-config" ,pkg-config)))
1752 (inputs
1753 `(("gconf" ,gconf)
1754 ("gnome-vfs" ,gnome-vfs)
1755 ("gtk+" ,gtk+-2)
1756 ("libxml2" ,libxml2)))
1757 (home-page "https://gcmd.github.io/")
1758 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1759 (description
1760 "GNOME Commander is a two-pane graphical file manager using GNOME
1761 libraries. It aims to fulfill the demands of more advanced users who
1762 like to focus on file management, their work through special applications
1763 and running smart commands.")
1764 (license license:gpl2+)))
1765
1766 (define-public gnome-user-docs
1767 (package
1768 (name "gnome-user-docs")
1769 (version "3.32.3")
1770 (source
1771 (origin
1772 (method url-fetch)
1773 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1774 (version-major+minor version)
1775 "/gnome-user-docs-" version ".tar.xz"))
1776 (sha256
1777 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1778 (build-system gnu-build-system)
1779 (native-inputs
1780 `(("gettext" ,gettext-minimal)
1781 ("itstool" ,itstool)
1782 ("pkg-config" ,pkg-config)
1783 ("xmllint" ,libxml2)))
1784 (synopsis "User documentation for the GNOME desktop")
1785 (description
1786 "The GNOME User Documentation explains how to use the GNOME desktop and its
1787 components. It covers usage and setup of the core GNOME programs by end-users
1788 and system administrators.")
1789 (home-page "https://live.gnome.org/DocumentationProject")
1790 (license license:cc-by3.0)))
1791
1792 (define-public gnome-getting-started-docs
1793 (package
1794 (name "gnome-getting-started-docs")
1795 (version "3.32.2")
1796 (source
1797 (origin
1798 (method url-fetch)
1799 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1800 (version-major+minor version)
1801 "/gnome-getting-started-docs-" version ".tar.xz"))
1802 (sha256
1803 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1804 (build-system gnu-build-system)
1805 (native-inputs
1806 `(("gettext" ,gettext-minimal)
1807 ("itstool" ,itstool)
1808 ("pkg-config" ,pkg-config)
1809 ("xmllint" ,libxml2)))
1810 (synopsis "Help to get new users started with the GNOME desktop")
1811 (description
1812 "The GNOME Getting Started Documentation contains GNOME's intuitive
1813 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1814
1815 It is normally used together with @command{gnome-initial-setup}, but is also
1816 useful as a tutorial and users' guide for new or less experienced users.")
1817 (home-page "https://live.gnome.org/DocumentationProject")
1818 (license license:cc-by-sa3.0)))
1819
1820 (define-public dia
1821 ;; This version from GNOME's repository includes fixes for compiling with
1822 ;; recent versions of the build tools. The latest activity on the
1823 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1824 ;; fixes since.
1825 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1826 (revision "2"))
1827 (package
1828 (name "dia")
1829 (version (git-version "0.97.3" revision commit))
1830 (source (origin
1831 (method git-fetch)
1832 (uri (git-reference
1833 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1834 (commit commit)))
1835 (file-name (git-file-name name version))
1836 (sha256
1837 (base32
1838 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1839 (build-system meson-build-system)
1840 (inputs
1841 `(("graphene" ,graphene)
1842 ("gtk+" ,gtk+-2)
1843 ("libxml2" ,libxml2)
1844 ("libxslt" ,libxslt)
1845 ("poppler" ,poppler)
1846 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1847 ;; ERROR: Unknown method "dependency" in object.
1848 ("python-2" ,python-2)))
1849 (native-inputs
1850 `(("appstream-glib" ,appstream-glib)
1851 ("docbook-xsl" ,docbook-xsl)
1852 ("glib" ,glib "bin")
1853 ("intltool" ,intltool)
1854 ("pkg-config" ,pkg-config)))
1855 (home-page "https://wiki.gnome.org/Apps/Dia")
1856 (synopsis "Diagram creation for GNOME")
1857 (description "Dia can be used to draw different types of diagrams, and
1858 includes support for UML static structure diagrams (class diagrams), entity
1859 relationship modeling, and network diagrams. The program supports various file
1860 formats like PNG, SVG, PDF and EPS.")
1861 (license license:gpl2+))))
1862
1863 ;; This is the unstable release, but it is required for the current stable
1864 ;; release of gvfs (1.38.1).
1865 (define-public libgdata
1866 (package
1867 (name "libgdata")
1868 (version "0.17.9")
1869 (source (origin
1870 (method url-fetch)
1871 (uri (string-append "mirror://gnome/sources/" name "/"
1872 (version-major+minor version) "/"
1873 name "-" version ".tar.xz"))
1874 (sha256
1875 (base32
1876 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1877 (build-system gnu-build-system)
1878 (arguments
1879 '(#:phases
1880 (modify-phases %standard-phases
1881 (add-before 'check 'disable-failing-tests
1882 (lambda _
1883 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1884 ;; They have been removed in libgdata 0.17.6, so just do the same.
1885 (substitute* "gdata/tests/Makefile"
1886 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1887 #t)))))
1888 (native-inputs
1889 `(("glib:bin" ,glib "bin")
1890 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1891 ("intltool" ,intltool)
1892 ("pkg-config" ,pkg-config)
1893 ("uhttpmock" ,uhttpmock)))
1894 (inputs
1895 `(("cyrus-sasl" ,cyrus-sasl)
1896 ("glib-networking" ,glib-networking)))
1897 (propagated-inputs
1898 `(("gcr" ,gcr)
1899 ("glib" ,glib)
1900 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1901 ("json-glib" ,json-glib)
1902 ("liboauth" ,liboauth)
1903 ("libsoup" ,libsoup)
1904 ("libxml2" ,libxml2)))
1905 (home-page "https://wiki.gnome.org/Projects/libgdata")
1906 (synopsis "Library for accessing online service APIs")
1907 (description
1908 "libgdata is a GLib-based library for accessing online service APIs using
1909 the GData protocol — most notably, Google's services. It provides APIs to
1910 access the common Google services, and has full asynchronous support.")
1911 (license license:lgpl2.1+)))
1912
1913 (define-public libgxps
1914 (package
1915 (name "libgxps")
1916 (version "0.3.1")
1917 (source (origin
1918 (method url-fetch)
1919 (uri (string-append "mirror://gnome/sources/" name "/"
1920 (version-major+minor version) "/"
1921 name "-" version ".tar.xz"))
1922 (sha256
1923 (base32
1924 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1925 (build-system meson-build-system)
1926 (native-inputs
1927 `(("gobject-introspection" ,gobject-introspection)
1928 ("pkg-config" ,pkg-config)))
1929 (inputs
1930 `(("gtk+" ,gtk+)
1931 ("libjpeg" ,libjpeg-turbo)
1932 ("lcms" ,lcms)
1933 ("libtiff" ,libtiff)))
1934 (propagated-inputs
1935 ;; In Requires of libgxps.pc.
1936 `(("cairo" ,cairo)
1937 ("glib" ,glib)
1938 ("libarchive" ,libarchive)))
1939 (home-page "https://wiki.gnome.org/Projects/libgxps")
1940 (synopsis "GObject-based library for handling and rendering XPS documents")
1941 (description
1942 "libgxps is a GObject-based library for handling and rendering XPS
1943 documents. This package also contains binaries that can convert XPS documents
1944 to other formats.")
1945 (license license:lgpl2.1+)))
1946
1947 (define-public gnome-characters
1948 (package
1949 (name "gnome-characters")
1950 (version "3.30.0")
1951 (source
1952 (origin
1953 (method url-fetch)
1954 (uri (string-append "mirror://gnome/sources/"
1955 "gnome-characters/" (version-major+minor version)
1956 "/gnome-characters-" version ".tar.xz"))
1957 (sha256
1958 (base32
1959 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1960 (build-system meson-build-system)
1961 (arguments
1962 `(#:glib-or-gtk? #t
1963 #:phases (modify-phases %standard-phases
1964 (add-after 'install 'wrap
1965 (lambda* (#:key outputs #:allow-other-keys)
1966 ;; GNOME Characters needs Typelib files from GTK and
1967 ;; gnome-desktop.
1968 (wrap-program (string-append (assoc-ref outputs "out")
1969 "/bin/gnome-characters")
1970 `("GI_TYPELIB_PATH" ":" prefix
1971 (,(getenv "GI_TYPELIB_PATH"))))
1972 #t)))))
1973 (native-inputs
1974 `(("gettext" ,gettext-minimal)
1975 ("glib:bin" ,glib "bin")
1976 ("gtk+:bin" ,gtk+ "bin")
1977 ("pkg-config" ,pkg-config)
1978 ("python" ,python-minimal)))
1979 (inputs
1980 `(("gjs" ,gjs)
1981 ("gtk+" ,gtk+)
1982 ("libunistring" ,libunistring)
1983 ("gnome-desktop" ,gnome-desktop)))
1984 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1985 (synopsis "Find and insert unusual characters")
1986 (description "Characters is a simple utility application to find
1987 and insert unusual characters. It allows you to quickly find the
1988 character you are looking for by searching for keywords.")
1989 (license license:bsd-3)))
1990
1991 (define-public gnome-common
1992 (package
1993 (name "gnome-common")
1994 (version "3.18.0")
1995 (source
1996 (origin
1997 (method url-fetch)
1998 (uri (string-append "mirror://gnome/sources/" name "/"
1999 (version-major+minor version) "/"
2000 name "-" version ".tar.xz"))
2001 (sha256
2002 (base32
2003 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2004 (build-system gnu-build-system)
2005 (home-page "https://www.gnome.org/")
2006 (synopsis "Bootstrap GNOME modules built from Git")
2007 (description "gnome-common contains various files needed to bootstrap
2008 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2009 can be used to configure a source directory checked out from Git and some
2010 commonly used macros.")
2011 (license license:gpl2+)))
2012
2013 (define-public gnome-contacts
2014 (package
2015 (name "gnome-contacts")
2016 (version "3.34")
2017 (source (origin
2018 (method url-fetch)
2019 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2020 (version-major+minor version) "/"
2021 name "-" version ".tar.xz"))
2022 (sha256
2023 (base32
2024 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2025 (build-system meson-build-system)
2026 (arguments
2027 `(#:configure-flags '("-Dcheese=false")
2028 #:phases
2029 (modify-phases %standard-phases
2030 (add-after 'unpack 'generate-vapis
2031 (lambda* (#:key inputs #:allow-other-keys)
2032 ;; To generate goa's missing .vapi file
2033 (define goa
2034 (assoc-ref inputs "gnome-online-accounts:lib"))
2035
2036 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2037 "--library=goa-1.0"
2038 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2039 #t))
2040 (add-after 'unpack 'skip-gtk-update-icon-cache
2041 ;; Don't create 'icon-theme.cache'.
2042 (lambda _
2043 (substitute* "build-aux/meson_post_install.py"
2044 (("gtk-update-icon-cache") "true"))
2045 #t)))))
2046 (native-inputs
2047 `(("glib:bin" ,glib "bin")
2048 ("pkg-config" ,pkg-config)))
2049 (inputs
2050 `(("docbook-xml" ,docbook-xml)
2051 ("dockbook-xsl" ,docbook-xsl)
2052 ("evolution-data-server" ,evolution-data-server)
2053 ("gettext" ,gettext-minimal)
2054 ("gnome-desktop" ,gnome-desktop)
2055 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2056 ("gobject-introspection" ,gobject-introspection)
2057 ("gst-plugins-base" ,gst-plugins-base)
2058 ("gtk+" ,gtk+)
2059 ("libgee" ,libgee)
2060 ("libxslt" ,libxslt)
2061 ("telepathy-glib" ,telepathy-glib)
2062 ("vala" ,vala)))
2063 (propagated-inputs
2064 `(("folks" ,folks)
2065 ("telepathy-mission-control" ,telepathy-mission-control)))
2066 (synopsis "GNOME's integrated address book")
2067 (description
2068 "GNOME Contacts organizes your contact information from online and
2069 offline sources, providing a centralized place for managing your contacts.")
2070 (home-page "https://wiki.gnome.org/Apps/Contacts")
2071 (license license:gpl2+)))
2072
2073 (define-public gnome-desktop
2074 (package
2075 (name "gnome-desktop")
2076 (version "3.34.2")
2077 (source
2078 (origin
2079 (method url-fetch)
2080 (uri (string-append "mirror://gnome/sources/" name "/"
2081 (version-major+minor version) "/"
2082 name "-" version ".tar.xz"))
2083 (sha256
2084 (base32
2085 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2086 (build-system meson-build-system)
2087 (arguments
2088 '(#:phases
2089 (modify-phases %standard-phases
2090 (add-before 'configure 'patch-path
2091 (lambda* (#:key inputs #:allow-other-keys)
2092 (let ((libc (assoc-ref inputs "libc")))
2093 (substitute* "libgnome-desktop/gnome-languages.c"
2094 (("\"locale\"")
2095 (string-append "\"" libc "/bin/locale\"")))
2096 #t)))
2097 (add-before 'configure 'patch-bubblewrap
2098 (lambda* (#:key inputs #:allow-other-keys)
2099 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2100 (("\"bwrap\",")
2101 (string-append "\"" (which "bwrap") "\","))
2102 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2103 (string-append "\"--ro-bind\", \""
2104 (%store-directory)
2105 "\", \""
2106 (%store-directory)
2107 "\","))
2108 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2109 #t))
2110 (add-before 'check 'pre-check
2111 (lambda* (#:key inputs #:allow-other-keys)
2112 ;; Tests require a running X server and locales.
2113 (system "Xvfb :1 &")
2114 (setenv "DISPLAY" ":1")
2115 (setenv "GUIX_LOCPATH"
2116 (string-append (assoc-ref inputs "glibc-locales")
2117 "/lib/locale"))
2118 #t)))))
2119 (native-inputs
2120 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2121 ("glibc-locales" ,glibc-locales) ; for tests
2122 ("gobject-introspection" ,gobject-introspection)
2123 ("itstool" ,itstool)
2124 ("intltool" ,intltool)
2125 ("pkg-config" ,pkg-config)
2126 ("xmllint" ,libxml2)
2127 ("xorg-server" ,xorg-server-for-tests)))
2128 (propagated-inputs
2129 ;; Required by gnome-desktop-3.0.pc.
2130 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2131 ("gtk+" ,gtk+)
2132 ("iso-codes" ,iso-codes)
2133 ("libseccomp" ,libseccomp)
2134 ("libx11" ,libx11)
2135 ("xkeyboard-config" ,xkeyboard-config)))
2136 (inputs
2137 `(("gdk-pixbuf" ,gdk-pixbuf)
2138 ("glib" ,glib)
2139 ("bubblewrap" ,bubblewrap)
2140 ("libxext" ,libxext)
2141 ("libxkbfile" ,libxkbfile)
2142 ("libxrandr" ,libxrandr)))
2143 (home-page "https://www.gnome.org/")
2144 (synopsis
2145 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2146 (description
2147 "The libgnome-desktop library provides API shared by several applications
2148 on the desktop, but that cannot live in the platform for various reasons.
2149 There is no API or ABI guarantee, although we are doing our best to provide
2150 stability. Documentation for the API is available with gtk-doc.
2151
2152 The gnome-about program helps find which version of GNOME is installed.")
2153 ; Some bits under the LGPL.
2154 (license license:gpl2+)))
2155
2156 (define-public gnome-doc-utils
2157 (package
2158 (name "gnome-doc-utils")
2159 (version "0.20.10")
2160 (source
2161 (origin
2162 (method url-fetch)
2163 (uri (string-append "mirror://gnome/sources/" name "/"
2164 (version-major+minor version) "/"
2165 name "-" version ".tar.xz"))
2166 (sha256
2167 (base32
2168 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2169 (build-system gnu-build-system)
2170 (native-inputs
2171 `(("intltool" ,intltool)
2172 ("docbook-xml" ,docbook-xml-4.4)
2173 ("python2-libxml2" ,python2-libxml2)
2174 ("libxml2" ,libxml2)
2175 ("libxslt" ,libxslt)
2176 ("pkg-config" ,pkg-config)
2177 ("python-2" ,python-2)))
2178 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2179 (synopsis
2180 "Documentation utilities for the Gnome project")
2181 (description
2182 "Gnome-doc-utils is a collection of documentation utilities for the
2183 Gnome project. It includes xml2po tool which makes it easier to translate
2184 and keep up to date translations of documentation.")
2185 (license license:gpl2+))) ; xslt under lgpl
2186
2187 (define-public gnome-disk-utility
2188 (package
2189 (name "gnome-disk-utility")
2190 (version "3.34.0")
2191 (source (origin
2192 (method url-fetch)
2193 (uri (string-append "mirror://gnome/sources/" name "/"
2194 (version-major+minor version) "/"
2195 name "-" version ".tar.xz"))
2196 (sha256
2197 (base32
2198 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2199 (build-system meson-build-system)
2200 (arguments
2201 '(#:configure-flags '("-Dlogind=libelogind")
2202 #:phases
2203 (modify-phases %standard-phases
2204 (add-after 'unpack 'skip-gtk-update-icon-cache
2205 ;; Don't create 'icon-theme.cache'.
2206 (lambda _
2207 (substitute* "meson_post_install.py"
2208 (("gtk-update-icon-cache") "true"))
2209 #t)))))
2210 (native-inputs
2211 `(("glib:bin" ,glib "bin")
2212 ("intltool" ,intltool)
2213 ("pkg-config" ,pkg-config)
2214 ("docbook-xml" ,docbook-xml)
2215 ("docbook-xsl" ,docbook-xsl)
2216 ("libxml2" ,libxml2)
2217 ("libxslt" ,libxslt)))
2218 (inputs
2219 `(("elogind" ,elogind)
2220 ("glib" ,glib)
2221 ("appstream-glib" ,appstream-glib)
2222 ("gnome-settings-daemon" ,gnome-settings-daemon)
2223 ("gtk+" ,gtk+)
2224 ("libcanberra" ,libcanberra)
2225 ("libdvdread" ,libdvdread)
2226 ("libnotify" ,libnotify)
2227 ("libpwquality" ,libpwquality)
2228 ("libsecret" ,libsecret)
2229 ("udisks" ,udisks)))
2230 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2231 (synopsis "Disk management utility for GNOME")
2232 (description "Disk management utility for GNOME.")
2233 (license license:gpl2+)))
2234
2235 (define-public gnome-font-viewer
2236 (package
2237 (name "gnome-font-viewer")
2238 (version "3.30.0")
2239 (source (origin
2240 (method url-fetch)
2241 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2242 (version-major+minor version)
2243 "/gnome-font-viewer-" version ".tar.xz"))
2244 (sha256
2245 (base32
2246 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2247 (build-system meson-build-system)
2248 (arguments
2249 '(#:phases
2250 (modify-phases %standard-phases
2251 (add-after 'unpack 'patch-post-install-script
2252 (lambda _
2253 (substitute* "meson-postinstall.sh"
2254 (("update-desktop-database") (which "true")))
2255 #t))
2256 (add-after 'install 'patch-thumbnailer
2257 (lambda* (#:key outputs #:allow-other-keys)
2258 (let ((out (assoc-ref outputs "out")))
2259 (substitute*
2260 (string-append
2261 out
2262 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2263 (("gnome-thumbnail-font")
2264 (string-append out "/bin/gnome-thumbnail-font"))))
2265 #t)))))
2266 (native-inputs
2267 `(("gettext" ,gettext-minimal)
2268 ("glib:bin" ,glib "bin")
2269 ("pkg-config" ,pkg-config)))
2270 (inputs
2271 `(("glib" ,glib)
2272 ("gnome-desktop" ,gnome-desktop)
2273 ("gtk+" ,gtk+)))
2274 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2275 (synopsis "GNOME Fonts")
2276 (description "Application to show you the fonts installed on your computer
2277 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2278 the font would look under various sizes.")
2279 (license license:gpl2+)))
2280
2281 (define-public gcr
2282 (package
2283 (name "gcr")
2284 (version "3.34.0")
2285 (source (origin
2286 (method url-fetch)
2287 (uri (string-append "mirror://gnome/sources/" name "/"
2288 (version-major+minor version) "/"
2289 name "-" version ".tar.xz"))
2290 (sha256
2291 (base32
2292 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2293 (build-system gnu-build-system)
2294 (arguments
2295 '(#:phases
2296 (modify-phases %standard-phases
2297 ;; These fail because /var/lib/dbus/machine-id is not present in the
2298 ;; build environment.
2299 (add-after 'unpack 'disable-failing-tests
2300 (lambda _
2301 (substitute* "Makefile.in"
2302 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2303 ""))
2304 #t))
2305 (add-before 'check 'pre-check
2306 (lambda _
2307 ;; Some tests expect to write to $HOME.
2308 (setenv "HOME" "/tmp")
2309 #t)))))
2310 (inputs
2311 `(("dbus" ,dbus)
2312 ("gnupg" ,gnupg) ;called as a child process during tests
2313 ("libgcrypt" ,libgcrypt)))
2314 (native-inputs
2315 `(("python" ,python-wrapper) ;for tests
2316 ("pkg-config" ,pkg-config)
2317 ("gettext" ,gettext-minimal)
2318 ("glib" ,glib "bin")
2319 ("gobject-introspection" ,gobject-introspection)
2320 ("libxml2" ,libxml2)
2321 ("vala" ,vala)
2322 ("xsltproc" ,libxslt)))
2323 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2324 (propagated-inputs
2325 `(("p11-kit" ,p11-kit)
2326 ("glib" ,glib)
2327 ("gtk+" ,gtk+)))
2328 (home-page "https://www.gnome.org")
2329 (synopsis "Libraries for displaying certificates and accessing key stores")
2330 (description
2331 "The GCR package contains libraries used for displaying certificates and
2332 accessing key stores. It also provides the viewer for crypto files on the
2333 GNOME Desktop.")
2334 (license license:lgpl2.1+)))
2335
2336 (define-public gdl
2337 (package
2338 (name "gdl")
2339 (version "3.34.0")
2340 (source (origin
2341 (method git-fetch)
2342 (uri (git-reference
2343 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2344 (commit (string-append "GDL_" (string-map (match-lambda
2345 (#\. #\_)
2346 (c c))
2347 version)))))
2348 (file-name (git-file-name name version))
2349 (sha256
2350 (base32
2351 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2352 (build-system gnu-build-system)
2353 (native-inputs
2354 `(("autoconf" ,autoconf)
2355 ("automake" ,automake)
2356 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2357 ("gnome-common" ,gnome-common)
2358 ("gtk-doc" ,gtk-doc)
2359 ("intltool" ,intltool)
2360 ("pkg-config" ,pkg-config)
2361 ("libtool" ,libtool)
2362 ("which" ,which)))
2363 (inputs
2364 `(("libxml2" ,libxml2)))
2365 (propagated-inputs
2366 ;; The gdl-3.0.pc file 'Requires' GTK+.
2367 `(("gtk+" ,gtk+)))
2368 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2369 (synopsis "GNOME docking library")
2370 (description "This library provides docking features for gtk+.")
2371 (license license:lgpl2.1+)))
2372
2373 ;;; A minimal variant used to break a cycle with Inkscape.
2374 (define-public gdl-minimal
2375 (package
2376 (inherit gdl)
2377 (name "gdl-minimal")
2378 (arguments
2379 '(#:phases
2380 (modify-phases %standard-phases
2381 (add-after 'unpack 'disable-doc-generation
2382 ;; XXX: There is no easy way to disable generating the
2383 ;; documentation.
2384 (lambda _
2385 (substitute* "configure.in"
2386 (("GTK_DOC_CHECK.*") "")
2387 (("docs/.*") ""))
2388 (substitute* "Makefile.am"
2389 (("gdl docs po") "gdl po"))
2390 #t)))))
2391 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2392
2393 (define-public libgnome-keyring
2394 (package
2395 (name "libgnome-keyring")
2396 (version "3.12.0")
2397 (source (origin
2398 (method url-fetch)
2399 (uri (string-append "mirror://gnome/sources/" name "/"
2400 (version-major+minor version) "/"
2401 name "-" version ".tar.xz"))
2402 (sha256
2403 (base32
2404 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2405 (build-system gnu-build-system)
2406 (inputs
2407 `(("libgcrypt" ,libgcrypt)
2408 ("dbus" ,dbus)))
2409 (native-inputs
2410 `(("pkg-config" ,pkg-config)
2411 ("glib" ,glib "bin")
2412 ("intltool" ,intltool)))
2413 (propagated-inputs
2414 ;; Referred to in .h files and .pc.
2415 `(("glib" ,glib)))
2416 (home-page "https://www.gnome.org")
2417 (synopsis "Accessing passwords from the GNOME keyring")
2418 (description
2419 "Client library to access passwords from the GNOME keyring.")
2420
2421 ;; Though a couple of files are LGPLv2.1+.
2422 (license license:lgpl2.0+)))
2423
2424 (define-public gnome-keyring
2425 (package
2426 (name "gnome-keyring")
2427 (version "3.34.0")
2428 (source (origin
2429 (method url-fetch)
2430 (uri (string-append "mirror://gnome/sources/" name "/"
2431 (version-major+minor version) "/"
2432 name "-" version ".tar.xz"))
2433 (sha256
2434 (base32
2435 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2436 (build-system gnu-build-system)
2437 (arguments
2438 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2439 ;not exist
2440 #:configure-flags
2441 (list
2442 (string-append "--with-pkcs11-config="
2443 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2444 (string-append "--with-pkcs11-modules="
2445 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2446 #:phases
2447 (modify-phases %standard-phases
2448 (add-after 'unpack 'fix-/bin/sh-reference
2449 (lambda _
2450 (substitute* "po/Makefile.in.in"
2451 (("/bin/sh") (which "sh")))
2452 #t))
2453 (add-after 'unpack 'fix-docbook
2454 (lambda* (#:key inputs #:allow-other-keys)
2455 (substitute* "docs/Makefile.am"
2456 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2457 (string-append (assoc-ref inputs "docbook-xsl")
2458 "/xml/xsl/docbook-xsl-"
2459 ,(package-version docbook-xsl)
2460 "/manpages/docbook.xsl")))
2461 (setenv "XML_CATALOG_FILES"
2462 (string-append (assoc-ref inputs "docbook-xml")
2463 "/xml/dtd/docbook/catalog.xml"))
2464 ;; Rerun the whole thing to avoid version mismatch ("This is
2465 ;; Automake 1.15.1, but the definition used by this
2466 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2467 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2468 (invoke "autoconf")
2469 (invoke "aclocal")
2470 (invoke "automake" "-ac"))))))
2471 (inputs
2472 `(("libgcrypt" ,libgcrypt)
2473 ("linux-pam" ,linux-pam)
2474 ("openssh" ,openssh)
2475 ("dbus" ,dbus)
2476 ("gcr" ,gcr)))
2477 (native-inputs
2478 `(("pkg-config" ,pkg-config)
2479 ("glib" ,glib "bin")
2480 ("glib" ,glib) ; for m4 macros
2481 ("python" ,python-2) ;for tests
2482 ("intltool" ,intltool)
2483 ("autoconf" ,autoconf)
2484 ("automake" ,automake)
2485 ("libxslt" ,libxslt) ;for documentation
2486 ("docbook-xml" ,docbook-xml-4.2)
2487 ("docbook-xsl" ,docbook-xsl)))
2488 (home-page "https://www.gnome.org")
2489 (synopsis "Daemon to store passwords and encryption keys")
2490 (description
2491 "gnome-keyring is a program that keeps passwords and other secrets for
2492 users. It is run as a daemon in the session, similar to ssh-agent, and other
2493 applications locate it via an environment variable or D-Bus.
2494
2495 The program can manage several keyrings, each with its own master password,
2496 and there is also a session keyring which is never stored to disk, but
2497 forgotten when the session ends.")
2498 (license license:lgpl2.1+)))
2499
2500 (define-public evince
2501 (package
2502 (name "evince")
2503 (version "3.36.5")
2504 (source (origin
2505 (method url-fetch)
2506 (uri (string-append "mirror://gnome/sources/evince/"
2507 (version-major+minor version) "/"
2508 "evince-" version ".tar.xz"))
2509 (sha256
2510 (base32
2511 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2512 (build-system glib-or-gtk-build-system)
2513 (arguments
2514 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2515 #:phases
2516 (modify-phases %standard-phases
2517 (add-before 'install 'skip-gtk-update-icon-cache
2518 ;; Don't create 'icon-theme.cache'.
2519 (lambda _
2520 (substitute* "data/Makefile"
2521 (("gtk-update-icon-cache") "true"))
2522 #t)))))
2523 (inputs
2524 `(("libarchive" ,libarchive)
2525 ("libgxps" ,libgxps)
2526 ("libspectre" ,libspectre)
2527 ("djvulibre" ,djvulibre)
2528 ("ghostscript" ,ghostscript)
2529 ("poppler" ,poppler)
2530 ("libtiff" ,libtiff)
2531 ;; TODO:
2532 ;; Build libkpathsea as a shared library for DVI support.
2533 ;; ("libkpathsea" ,texlive-bin)
2534 ("gnome-desktop" ,gnome-desktop)
2535 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2536 ("gspell" ,gspell)
2537 ("libgnome-keyring" ,libgnome-keyring)
2538 ("adwaita-icon-theme" ,adwaita-icon-theme)
2539 ("gdk-pixbuf" ,gdk-pixbuf)
2540 ("atk" ,atk)
2541 ("pango" ,pango)
2542 ("gtk+" ,gtk+)
2543 ("glib" ,glib)
2544 ("libxml2" ,libxml2)
2545 ("libsm" ,libsm)
2546 ("libice" ,libice)
2547 ("shared-mime-info" ,shared-mime-info)
2548 ("dconf" ,dconf)
2549 ("libcanberra" ,libcanberra)
2550 ("libsecret" ,libsecret)
2551
2552 ;; For tests.
2553 ("dogtail" ,python2-dogtail)))
2554 (native-inputs
2555 `(("itstool" ,itstool)
2556 ("intltool" ,intltool)
2557 ("glib" ,glib "bin")
2558 ("gobject-introspection" ,gobject-introspection)
2559 ("pkg-config" ,pkg-config)
2560 ("xmllint" ,libxml2)))
2561 (home-page "https://www.gnome.org/projects/evince/")
2562 (synopsis "GNOME's document viewer")
2563 (description
2564 "Evince is a document viewer for multiple document formats. It
2565 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2566 of Evince is to replace the multiple document viewers that exist
2567 on the GNOME Desktop with a single simple application.")
2568 (license license:gpl2+)))
2569
2570 (define-public gsettings-desktop-schemas
2571 (package
2572 (name "gsettings-desktop-schemas")
2573 (version "3.34.0")
2574 (source
2575 (origin
2576 (method url-fetch)
2577 (uri (string-append "mirror://gnome/sources/" name "/"
2578 (version-major+minor version) "/"
2579 name "-" version ".tar.xz"))
2580 (sha256
2581 (base32
2582 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2583 (build-system meson-build-system)
2584 (arguments
2585 '(#:phases (modify-phases %standard-phases
2586 (add-after 'unpack 'patch-schemas
2587 (lambda* (#:key inputs #:allow-other-keys)
2588 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2589 (substitute* (find-files "schemas"
2590 "\\.gschema\\.xml\\.in$")
2591 ;; Provide the correct file name of the default GNOME
2592 ;; background, 'adwaita-timed.xml'.
2593 (("@datadir@/backgrounds/gnome")
2594 (string-append theme "/share/backgrounds/gnome"))
2595 ;; Do not reference fonts, that may not exist.
2596 (("'Source Code Pro 10'") "'Monospace 11'"))
2597 #t))))))
2598 (inputs
2599 `(("glib" ,glib)
2600 ("gnome-backgrounds" ,gnome-backgrounds)))
2601 (native-inputs
2602 `(("intltool" ,intltool)
2603 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2604 ("gobject-introspection" ,gobject-introspection)
2605 ("pkg-config" ,pkg-config)))
2606 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2607 (synopsis
2608 "GNOME settings for various desktop components")
2609 (description
2610 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2611 for settings shared by various components of the GNOME desktop.")
2612 (license license:lgpl2.1+)))
2613
2614 (define-public python-liblarch
2615 (package
2616 (name "python-liblarch")
2617 (version "3.0.1")
2618 (source
2619 (origin
2620 (method git-fetch)
2621 (uri (git-reference
2622 (url "https://github.com/getting-things-gnome/liblarch")
2623 (commit (string-append "v" version))))
2624 (file-name (git-file-name name version))
2625 (sha256
2626 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2627 (build-system python-build-system)
2628 (arguments
2629 `(#:phases
2630 (modify-phases %standard-phases
2631 (add-before 'check 'start-xserver
2632 (lambda* (#:key inputs #:allow-other-keys)
2633 (system (format #f "~a/bin/Xvfb :1 &"
2634 (assoc-ref inputs "xorg-server")))
2635 (setenv "DISPLAY" ":1")
2636 #t)))))
2637 (native-inputs
2638 `(("xorg-server" ,xorg-server-for-tests)))
2639 (inputs
2640 `(("gtk+" ,gtk+)))
2641 (propagated-inputs
2642 `(("python-pygobject" ,python-pygobject)))
2643 (home-page "https://wiki.gnome.org/Projects/liblarch")
2644 (synopsis "Library to easily handle complex data structures")
2645 (description
2646 "Liblarch is a Python library built to easily handle data structures such
2647 as lists, trees and acyclic graphs. There's also a GTK binding that will
2648 allow you to use your data structure in a @code{Gtk.Treeview}.
2649
2650 Liblarch support multiple views of one data structure and complex filtering.
2651 That way, you have a clear separation between your data themselves (Model)
2652 and how they are displayed (View).")
2653 (license license:lgpl3+)))
2654
2655 (define-public gtg
2656 (package
2657 (name "gtg")
2658 (version "0.4")
2659 (source
2660 (origin
2661 (method git-fetch)
2662 (uri (git-reference
2663 (url "https://github.com/getting-things-gnome/gtg")
2664 (commit (string-append "v" version))))
2665 (file-name (git-file-name name version))
2666 (sha256
2667 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2668 (build-system meson-build-system)
2669 (arguments
2670 `(#:glib-or-gtk? #t
2671 #:phases
2672 (modify-phases %standard-phases
2673 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2674 (lambda* (#:key outputs #:allow-other-keys)
2675 (let ((prog (string-append (assoc-ref outputs "out")
2676 "/bin/gtg"))
2677 (pylib (string-append (assoc-ref outputs "out")
2678 "/lib/python"
2679 ,(version-major+minor
2680 (package-version python))
2681 "/site-packages")))
2682 (wrap-program prog
2683 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2684 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2685 #t))))))
2686 (native-inputs
2687 `(("desktop-file-utils" ,desktop-file-utils)
2688 ("gettext" ,gettext-minimal)
2689 ("glib:bin" ,glib "bin")
2690 ("gobject-introspection" ,gobject-introspection)
2691 ("gtk+:bin" ,gtk+ "bin")
2692 ("pkg-config" ,pkg-config)))
2693 (inputs
2694 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2695 ("gtk+" ,gtk+)
2696 ("python-dbus" ,python-dbus)
2697 ("python-liblarch" ,python-liblarch)
2698 ("python-pycairo" ,python-pycairo)
2699 ("python-pygobject" ,python-pygobject)
2700 ("python-pyxdg" ,python-pyxdg)))
2701 (home-page "https://wiki.gnome.org/Apps/GTG")
2702 (synopsis "Personal organizer for the GNOME desktop")
2703 (description
2704 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2705 organizer for the GNOME desktop environment inspired by the Getting Things
2706 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2707 and ease of use in mind so it can be used as more than just GTD software.
2708 GTG is intended to help you track everything you need to do and need to
2709 know, from small tasks to large projects.")
2710 (license license:gpl3+)))
2711
2712 (define-public icon-naming-utils
2713 (package
2714 (name "icon-naming-utils")
2715 (version "0.8.90")
2716 (source
2717 (origin
2718 (method url-fetch)
2719 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2720 version ".tar.bz2"))
2721 (sha256
2722 (base32
2723 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2724 (build-system gnu-build-system)
2725 (inputs
2726 `(("perl" ,perl)
2727 ("perl-xml-simple" ,perl-xml-simple)))
2728 (arguments
2729 '(#:phases
2730 (modify-phases %standard-phases
2731 (add-after 'install 'set-load-paths
2732 ;; Tell 'icon-name-mapping' where XML::Simple is.
2733 (lambda* (#:key outputs #:allow-other-keys)
2734 (let* ((out (assoc-ref outputs "out"))
2735 (prog (string-append out "/libexec/icon-name-mapping")))
2736 (wrap-program
2737 prog
2738 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2739 #t)))))
2740 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2741 (synopsis
2742 "Utility to implement the Freedesktop Icon Naming Specification")
2743 (description
2744 "To help with the transition to the Freedesktop Icon Naming
2745 Specification, the icon naming utility maps the icon names used by the
2746 GNOME and KDE desktops to the icon names proposed in the specification.")
2747 (license license:lgpl2.1+)))
2748
2749 (define-public gnome-icon-theme
2750 (package
2751 (name "gnome-icon-theme")
2752 (version "3.12.0")
2753 (source
2754 (origin
2755 (method url-fetch)
2756 (uri (string-append "mirror://gnome/sources/" name "/"
2757 (version-major+minor version) "/"
2758 name "-" version ".tar.xz"))
2759 (sha256
2760 (base32
2761 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2762 (build-system gnu-build-system)
2763 (arguments
2764 '(#:configure-flags
2765 ;; Don't create 'icon-theme.cache'.
2766 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2767 (true (string-append coreutils "/bin/true")))
2768 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2769 (native-inputs
2770 `(("icon-naming-utils" ,icon-naming-utils)
2771 ("intltool" ,intltool)
2772 ("pkg-config" ,pkg-config)))
2773 (home-page "https://wiki.gnome.org/Personalization")
2774 (synopsis "GNOME icon theme")
2775 (description "Icons for the GNOME desktop.")
2776 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2777
2778 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2779 (define-public adwaita-icon-theme
2780 (package (inherit gnome-icon-theme)
2781 (name "adwaita-icon-theme")
2782 (version "3.34.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.xz"))
2788 (sha256
2789 (base32
2790 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2791 (native-inputs
2792 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2793
2794 (define-public tango-icon-theme
2795 (package
2796 (name "tango-icon-theme")
2797 (version "0.8.90")
2798 (source (origin
2799 (method url-fetch)
2800 (uri (string-append "http://tango.freedesktop.org/releases/"
2801 "tango-icon-theme-" version ".tar.bz2"))
2802 (sha256
2803 (base32
2804 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2805 (build-system gnu-build-system)
2806 (native-inputs
2807 `(("icon-naming-utils" ,icon-naming-utils)
2808 ("intltool" ,intltool)
2809 ("imagemagick" ,imagemagick)
2810 ("pkg-config" ,pkg-config)))
2811 (home-page "http://tango-project.org/")
2812 (synopsis "Tango icon theme")
2813 (description "This is an icon theme that follows the Tango visual
2814 guidelines.")
2815 (license license:public-domain)))
2816
2817 (define-public shared-mime-info
2818 (package
2819 (name "shared-mime-info")
2820 (version "1.15")
2821 (source (origin
2822 (method url-fetch)
2823 (uri (string-append
2824 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2825 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2826 ".tar.xz"))
2827 (sha256
2828 (base32
2829 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2830 (build-system gnu-build-system)
2831 (arguments
2832 ;; The build system appears not to be parallel-safe.
2833 '(#:parallel-build? #f))
2834 (inputs
2835 `(("glib" ,glib)
2836 ("libxml2" ,libxml2)))
2837 (native-inputs
2838 `(("gettext" ,gettext-minimal)
2839 ("itstool" ,itstool)
2840 ("pkg-config" ,pkg-config)))
2841 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2842 (synopsis "Database of common MIME types")
2843 (description
2844 "The shared-mime-info package contains the core database of common types
2845 and the update-mime-database command used to extend it. It requires glib2 to
2846 be installed for building the update command. Additionally, it uses intltool
2847 for translations, though this is only a dependency for the maintainers. This
2848 database is translated at Transifex.")
2849 (license license:gpl2+)))
2850
2851 (define-public system-config-printer
2852 (package
2853 (name "system-config-printer")
2854 (version "1.5.15")
2855 (source
2856 (origin
2857 (method url-fetch)
2858 (uri (string-append
2859 "https://github.com/OpenPrinting/system-config-printer/releases/"
2860 "download/v" version
2861 "/system-config-printer-" version ".tar.xz"))
2862 (sha256
2863 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2864 (build-system glib-or-gtk-build-system)
2865 (arguments
2866 `(#:imported-modules ((guix build python-build-system)
2867 ,@%glib-or-gtk-build-system-modules)
2868 #:phases
2869 (modify-phases %standard-phases
2870 (add-after 'unpack 'patch-Makefile.am
2871 (lambda _
2872 ;; The Makefile generates some scripts, so set a valid shebang
2873 (substitute* "Makefile.am"
2874 (("/bin/bash") (which "bash")))
2875 (delete-file "configure")
2876 #t))
2877 (add-after 'unpack 'patch-docbook-xml
2878 (lambda* (#:key inputs #:allow-other-keys)
2879 ;; Modify the man XML otherwise xmlto tries to access the network
2880 (substitute* "man/system-config-printer.xml"
2881 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2882 (string-append (assoc-ref inputs "docbook-xml")
2883 "/xml/dtd/docbook/")))
2884 #t))
2885 (add-after 'install 'wrap-for-python
2886 (@@ (guix build python-build-system) wrap))
2887 (add-after 'install 'wrap
2888 (lambda* (#:key outputs #:allow-other-keys)
2889 (let ((out (assoc-ref outputs "out"))
2890 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2891 (for-each
2892 (lambda (program)
2893 (wrap-program program
2894 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2895 (map (lambda (name)
2896 (string-append out "/bin/" name))
2897 '("system-config-printer"
2898 "system-config-printer-applet"
2899 "install-printerdriver"
2900 "scp-dbus-service"))))
2901 #t)))))
2902 (inputs
2903 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2904 ("gobject-introspection" ,gobject-introspection)
2905 ("python" ,python)
2906 ("cups" ,cups)
2907 ("gtk+" ,gtk+)
2908 ("python-dbus" ,python-dbus)
2909 ("python-pygobject" ,python-pygobject)
2910 ("python-pycups" ,python-pycups)
2911 ("python-requests" ,python-requests)
2912 ("python-pycairo" ,python-pycairo)
2913 ("libnotify" ,libnotify)
2914 ("packagekit" ,packagekit)))
2915 (native-inputs
2916 `(("pkg-config" ,pkg-config)
2917 ("desktop-file-utils" ,desktop-file-utils)
2918 ("glib" ,glib)
2919 ("autoconf" ,autoconf)
2920 ("automake" ,automake)
2921 ("intltool" ,intltool)
2922 ("xmlto" ,xmlto)
2923 ("docbook-xml" ,docbook-xml-4.1.2)
2924 ("docbook-xsl" ,docbook-xsl)
2925 ("libxml2" ,libxml2)))
2926 (home-page "https://github.com/zdohnal/system-config-printer")
2927 (synopsis "CUPS administration tool")
2928 (description
2929 "system-config-printer is a CUPS administration tool. It's written in
2930 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2931 configuring CUPS.")
2932 (license license:gpl2+)))
2933
2934 (define-public hicolor-icon-theme
2935 (package
2936 (name "hicolor-icon-theme")
2937 (version "0.17")
2938 (source
2939 (origin
2940 (method url-fetch)
2941 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2942 "hicolor-icon-theme-" version ".tar.xz"))
2943 (sha256
2944 (base32
2945 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2946 (build-system gnu-build-system)
2947 (arguments
2948 `(#:tests? #f)) ; no check target
2949 (home-page "https://icon-theme.freedesktop.org/releases/")
2950 (synopsis
2951 "Freedesktop icon theme")
2952 (description
2953 "Freedesktop icon theme.")
2954 (license license:gpl2)))
2955
2956 (define-public libnotify
2957 (package
2958 (name "libnotify")
2959 (version "0.7.7")
2960 (source
2961 (origin
2962 (method url-fetch)
2963 (uri (string-append "mirror://gnome/sources/" name "/"
2964 (version-major+minor version) "/"
2965 name "-" version ".tar.xz"))
2966 (sha256
2967 (base32
2968 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2969 (build-system gnu-build-system)
2970 (arguments
2971 `(#:configure-flags '("--disable-static")))
2972 (propagated-inputs
2973 `(;; In Requires of libnotify.pc.
2974 ("gdk-pixbuf" ,gdk-pixbuf)
2975 ("glib" ,glib)))
2976 (inputs
2977 `(("gtk+" ,gtk+)
2978 ("libpng" ,libpng)))
2979 (native-inputs
2980 `(("pkg-config" ,pkg-config)
2981 ("glib" ,glib "bin")
2982 ("gobject-introspection" ,gobject-introspection)))
2983 (home-page "https://developer-next.gnome.org/libnotify/")
2984 (synopsis
2985 "GNOME desktop notification library")
2986 (description
2987 "Libnotify is a library that sends desktop notifications to a
2988 notification daemon, as defined in the Desktop Notifications spec. These
2989 notifications can be used to inform the user about an event or display
2990 some form of information without getting in the user's way.")
2991 (license license:lgpl2.1+)))
2992
2993 (define-public libpeas
2994 (package
2995 (name "libpeas")
2996 (version "1.28.0")
2997 (source
2998 (origin
2999 (method url-fetch)
3000 (uri (string-append "mirror://gnome/sources/" name "/"
3001 (version-major+minor version) "/"
3002 name "-" version ".tar.xz"))
3003 (sha256
3004 (base32
3005 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3006 (build-system meson-build-system)
3007 (arguments
3008 '(#:phases
3009 (modify-phases %standard-phases
3010 (add-before 'check 'start-xserver
3011 (lambda* (#:key inputs #:allow-other-keys)
3012 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3013 (disp ":1"))
3014 (setenv "DISPLAY" disp)
3015 ;; Tests require a running X server.
3016 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3017 #t))))))
3018 (inputs
3019 `(("gtk+" ,gtk+)
3020 ("glade" ,glade3)
3021 ("python" ,python)
3022 ("python-pygobject" ,python-pygobject)))
3023 (native-inputs
3024 `(("pkg-config" ,pkg-config)
3025 ("gettext" ,gettext-minimal)
3026 ("glib:bin" ,glib "bin")
3027 ("gobject-introspection" ,gobject-introspection)
3028 ("xorg-server" ,xorg-server-for-tests)))
3029 (propagated-inputs
3030 ;; The .pc file "Requires" gobject-introspection.
3031 `(("gobject-introspection" ,gobject-introspection)))
3032 (home-page "https://wiki.gnome.org/Libpeas")
3033 (synopsis "GObject plugin system")
3034 (description
3035 "Libpeas is a gobject-based plugin engine, targeted at giving every
3036 application the chance to assume its own extensibility. It also has a set of
3037 features including, but not limited to: multiple extension points; on-demand
3038 (lazy) programming language support for C, Python and JS; simplicity of the
3039 API.")
3040 (license license:lgpl2.0+)))
3041
3042 (define-public gtkglext
3043 (package
3044 (name "gtkglext")
3045 (version "1.2.0")
3046 (source (origin
3047 (method url-fetch)
3048 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3049 version "/gtkglext-" version ".tar.gz"))
3050 (sha256
3051 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3052 (patches (search-patches
3053 "gtkglext-disable-disable-deprecated.patch"))))
3054 (build-system gnu-build-system)
3055 (arguments
3056 `(#:phases
3057 (modify-phases %standard-phases
3058 ;; Fix a collision between a local variable and a definition from
3059 ;; glibc's string.h.
3060 (add-after 'unpack 'fix-collision
3061 (lambda _
3062 (substitute* "gdk/gdkglshapes.c"
3063 ((" index") " triangle_index"))
3064 #t)))))
3065 (inputs `(("gtk+" ,gtk+-2)
3066 ("mesa" ,mesa)
3067 ("glu" ,glu)
3068 ("libx11" ,libx11)
3069 ("libxt" ,libxt)))
3070 (native-inputs `(("pkg-config" ,pkg-config)
3071 ("glib" ,glib "bin")))
3072 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3073 (home-page "https://projects.gnome.org/gtkglext")
3074 (synopsis "OpenGL extension to GTK+")
3075 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3076 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3077 API add-ons to make GTK+ widgets OpenGL-capable.")
3078 (license license:lgpl2.1+)))
3079
3080 (define-public glade3
3081 (package
3082 (name "glade")
3083 (version "3.36.0")
3084 (source (origin
3085 (method url-fetch)
3086 (uri (string-append "mirror://gnome/sources/" name "/"
3087 (version-major+minor version) "/"
3088 name "-" version ".tar.xz"))
3089 (sha256
3090 (base32
3091 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3092 (build-system glib-or-gtk-build-system)
3093 (arguments
3094 `(#:phases
3095 (modify-phases %standard-phases
3096 (add-before 'configure 'fix-docbook
3097 (lambda* (#:key inputs #:allow-other-keys)
3098 (substitute* "man/Makefile.in"
3099 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3100 (string-append (assoc-ref inputs "docbook-xsl")
3101 "/xml/xsl/docbook-xsl-"
3102 ,(package-version docbook-xsl)
3103 "/manpages/docbook.xsl")))
3104 #t))
3105 (add-before 'check 'pre-check
3106 (lambda _
3107 (setenv "HOME" "/tmp")
3108 ;; Tests require a running X server.
3109 (system "Xvfb :1 &")
3110 (setenv "DISPLAY" ":1")
3111 #t)))))
3112 (inputs
3113 `(("gtk+" ,gtk+)
3114 ("libxml2" ,libxml2)))
3115 (native-inputs
3116 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3117 ("intltool" ,intltool)
3118 ("itstool" ,itstool)
3119 ("libxslt" ,libxslt) ;for xsltproc
3120 ("docbook-xml" ,docbook-xml-4.2)
3121 ("docbook-xsl" ,docbook-xsl)
3122 ("python" ,python-2)
3123 ("pkg-config" ,pkg-config)
3124 ("xorg-server" ,xorg-server-for-tests)))
3125 (home-page "https://glade.gnome.org")
3126 (synopsis "GTK+ rapid application development tool")
3127 (description "Glade is a rapid application development (RAD) tool to
3128 enable quick & easy development of user interfaces for the GTK+ toolkit and
3129 the GNOME desktop environment.")
3130 (license license:lgpl2.0+)
3131 (native-search-paths (list (search-path-specification
3132 (variable "GLADE_CATALOG_SEARCH_PATH")
3133 (files '("share/glade/catalogs")))
3134 (search-path-specification
3135 (variable "GLADE_MODULE_SEARCH_PATH")
3136 (files '("lib/glade/modules")))))))
3137
3138 (define-public libcroco
3139 (package
3140 (name "libcroco")
3141 (version "0.6.13")
3142 (source (origin
3143 (method url-fetch)
3144 (uri (string-append "mirror://gnome/sources/" name "/"
3145 (version-major+minor version) "/"
3146 name "-" version ".tar.xz"))
3147 (sha256
3148 (base32
3149 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3150 (build-system gnu-build-system)
3151 (native-inputs
3152 `(("pkg-config" ,pkg-config)))
3153 (inputs
3154 `(("glib" ,glib)
3155 ("libxml2" ,libxml2)
3156 ("zlib" ,zlib)))
3157 (home-page "https://github.com/GNOME/libcroco")
3158 (synopsis "CSS2 parsing and manipulation library")
3159 (description
3160 "Libcroco is a standalone CSS2 parsing and manipulation library.
3161 The parser provides a low level event driven SAC-like API and a CSS object
3162 model like API. Libcroco provides a CSS2 selection engine and an experimental
3163 XML/CSS rendering engine.")
3164
3165 ;; LGPLv2.1-only.
3166 (license license:lgpl2.1)))
3167
3168 (define-public libgsf
3169 (package
3170 (name "libgsf")
3171 (version "1.14.47")
3172 (source (origin
3173 (method url-fetch)
3174 (uri (string-append "mirror://gnome/sources/" name "/"
3175 (version-major+minor version) "/"
3176 name "-" version ".tar.xz"))
3177 (sha256
3178 (base32
3179 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3180 (build-system gnu-build-system)
3181 (arguments
3182 '(#:configure-flags '("--disable-static")))
3183 (native-inputs
3184 `(("pkg-config" ,pkg-config)
3185 ("gettext" ,gettext-minimal)
3186
3187 ;; For tests.
3188 ("perl" ,perl)
3189 ("perl-xml-parser" ,perl-xml-parser)))
3190 (inputs
3191 `(("zlib" ,zlib)
3192 ("bzip2" ,bzip2)))
3193 (propagated-inputs
3194 `(("gdk-pixbuf" ,gdk-pixbuf)
3195 ("glib" ,glib)
3196 ("libxml2" ,libxml2)))
3197 (home-page "https://www.gnome.org/projects/libgsf")
3198 (synopsis "GNOME's Structured File Library")
3199 (description
3200 "Libgsf aims to provide an efficient extensible I/O abstraction for
3201 dealing with different structured file formats.")
3202
3203 ;; LGPLv2.1-only.
3204 (license license:lgpl2.1)))
3205
3206 (define-public librsvg
3207 (package
3208 (name "librsvg")
3209 (version "2.40.21")
3210 (source (origin
3211 (method url-fetch)
3212 (uri (string-append "mirror://gnome/sources/" name "/"
3213 (version-major+minor version) "/"
3214 name "-" version ".tar.xz"))
3215 (sha256
3216 (base32
3217 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3218 (build-system gnu-build-system)
3219 (arguments
3220 `(#:configure-flags
3221 (list "--disable-static"
3222 "--enable-vala") ; needed for e.g. gnome-mines
3223 #:phases
3224 (modify-phases %standard-phases
3225 (add-before 'configure 'pre-configure
3226 (lambda* (#:key inputs #:allow-other-keys)
3227 (substitute* "gdk-pixbuf-loader/Makefile.in"
3228 ;; By default the gdk-pixbuf loader is installed under
3229 ;; gdk-pixbuf's prefix. Work around that.
3230 (("gdk_pixbuf_moduledir = .*$")
3231 (string-append "gdk_pixbuf_moduledir = "
3232 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3233 "loaders\n"))
3234 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3235 (("gdk_pixbuf_cache_file = .*$")
3236 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3237 #t))
3238 (add-before 'check 'remove-failing-tests
3239 (lambda _
3240 (with-directory-excursion "tests/fixtures/reftests"
3241 (for-each delete-file
3242 '(;; This test fails on i686:
3243 "svg1.1/masking-path-04-b.svg"
3244 ;; This test fails on armhf:
3245 "svg1.1/masking-mask-01-b.svg"
3246 ;; This test fails on aarch64:
3247 "bugs/777834-empty-text-children.svg")))
3248 #t)))))
3249 (native-inputs
3250 `(("pkg-config" ,pkg-config)
3251 ("vala" ,vala)
3252 ("glib" ,glib "bin") ; glib-mkenums, etc.
3253 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3254 (inputs
3255 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3256 ;; this ancient version of librsvg.
3257 ("pango" ,pango-1.42)
3258 ("libcroco" ,libcroco)
3259 ("bzip2" ,bzip2)
3260 ("libgsf" ,libgsf)
3261 ("libxml2" ,libxml2)))
3262 (propagated-inputs
3263 ;; librsvg-2.0.pc refers to all of that.
3264 `(("cairo" ,cairo)
3265 ("gdk-pixbuf" ,gdk-pixbuf)
3266 ("glib" ,glib)))
3267 (home-page "https://wiki.gnome.org/LibRsvg")
3268 (synopsis "Render SVG files using Cairo")
3269 (description
3270 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3271 library.")
3272 (license license:lgpl2.0+)))
3273
3274 (define-public librsvg-next
3275 (package
3276 (name "librsvg")
3277 (version "2.50.2")
3278 (source (origin
3279 (method url-fetch)
3280 (uri (string-append "mirror://gnome/sources/librsvg/"
3281 (version-major+minor version) "/"
3282 "librsvg-" version ".tar.xz"))
3283 (sha256
3284 (base32
3285 "1lsnl08b5pjf01q3agixjd53islw5rqkc38r31rlmm2crrqz44b2"))
3286 (modules '((guix build utils)))
3287 (snippet
3288 '(begin (delete-file-recursively "vendor")
3289 #t))))
3290 (build-system cargo-build-system)
3291 (outputs '("out" "doc"))
3292 (arguments
3293 `(#:modules
3294 ((guix build cargo-build-system)
3295 (guix build utils)
3296 ((guix build gnu-build-system) #:prefix gnu:))
3297 #:cargo-inputs
3298 (("rust-bitflags" ,rust-bitflags-1)
3299 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3300 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3301 ("rust-cast" ,rust-cast-0.2)
3302 ("rust-cssparser" ,rust-cssparser-0.27)
3303 ("rust-data-url" ,rust-data-url-0.1)
3304 ("rust-encoding" ,rust-encoding-0.2)
3305 ("rust-float-cmp" ,rust-float-cmp-0.8)
3306 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3307 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3308 ("rust-gio" ,rust-gio-0.8)
3309 ("rust-gio-sys" ,rust-gio-sys-0.9)
3310 ("rust-glib" ,rust-glib-0.9)
3311 ("rust-glib-sys" ,rust-glib-sys-0.9)
3312 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3313 ("rust-itertools" ,rust-itertools-0.9)
3314 ("rust-language-tags" ,rust-language-tags-0.2)
3315 ("rust-libc" ,rust-libc-0.2)
3316 ("rust-locale-config" ,rust-locale-config-0.3)
3317 ("rust-markup5ever" ,rust-markup5ever-0.10)
3318 ("rust-nalgebra" ,rust-nalgebra-0.21)
3319 ("rust-num-traits" ,rust-num-traits-0.2)
3320 ("rust-once-cell" ,rust-once-cell-1)
3321 ("rust-pkg-config" ,rust-pkg-config-0.3)
3322 ("rust-pango" ,rust-pango-0.8)
3323 ("rust-pango-sys" ,rust-pango-sys-0.9)
3324 ("rust-pangocairo" ,rust-pangocairo-0.9)
3325 ("rust-rayon" ,rust-rayon-1)
3326 ("rust-rctree" ,rust-rctree-0.3)
3327 ("rust-rgb" ,rust-rgb-0.8)
3328 ("rust-regex" ,rust-regex-1)
3329 ("rust-selectors" ,rust-selectors-0.22)
3330 ("rust-string-cache" ,rust-string-cache-0.8)
3331 ("rust-tinyvec" ,rust-tinyvec-0.3)
3332 ("rust-url" ,rust-url-2)
3333 ("rust-xml5ever" ,rust-xml5ever-0.16))
3334 #:cargo-development-inputs
3335 (("rust-assert-cmd" ,rust-assert-cmd-1)
3336 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3337 ("rust-chrono" ,rust-chrono-0.4)
3338 ("rust-criterion" ,rust-criterion-0.3)
3339 ("rust-float-cmp" ,rust-float-cmp-0.8)
3340 ("rust-lopdf" ,rust-lopdf-0.25)
3341 ("rust-png" ,rust-png-0.16)
3342 ("rust-predicates" ,rust-predicates-1)
3343 ("rust-tempfile" ,rust-tempfile-3))
3344 #:phases
3345 (modify-phases %standard-phases
3346 (add-after 'unpack 'patch-docbook-xml
3347 (lambda* (#:key inputs #:allow-other-keys)
3348 (with-directory-excursion "doc"
3349 (substitute* "rsvg-docs.xml"
3350 (("http://www.oasis-open.org/docbook/xml/4.3/")
3351 (string-append (assoc-ref inputs "docbook-xml")
3352 "/xml/dtd/docbook/"))))
3353 #t))
3354 (add-after 'unpack 'prepare-for-build
3355 (lambda _
3356 ;; In lieu of #:make-flags
3357 (setenv "CC" ,(cc-for-target))
3358 ;; Something about the build environment resists building
3359 ;; successfully with the '--locked' flag.
3360 (substitute* '("Makefile.am" "Makefile.in")
3361 (("--locked") ""))
3362 #t))
3363 (add-before 'configure 'pre-configure
3364 (lambda _
3365 (substitute* "gdk-pixbuf-loader/Makefile.in"
3366 ;; By default the gdk-pixbuf loader is installed under
3367 ;; gdk-pixbuf's prefix. Work around that.
3368 (("gdk_pixbuf_moduledir = .*$")
3369 (string-append "gdk_pixbuf_moduledir = "
3370 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3371 "loaders\n"))
3372 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3373 (("gdk_pixbuf_cache_file = .*$")
3374 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3375 #t))
3376 (add-after 'configure 'gnu-configure
3377 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3378 ((assoc-ref gnu:%standard-phases 'configure)
3379 #:native-inputs native-inputs
3380 #:inputs inputs
3381 #:outputs outputs
3382 #:configure-flags
3383 (list "--disable-static"
3384 "--enable-vala"
3385 (string-append "--with-html-dir="
3386 (assoc-ref %outputs "doc")
3387 "/share/gtk-doc/html")))))
3388 (add-after 'configure 'dont-vendor-self
3389 (lambda* (#:key vendor-dir #:allow-other-keys)
3390 ;; Don't keep the whole tarball in the vendor directory
3391 (delete-file-recursively
3392 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3393 #t))
3394 (replace 'build
3395 (assoc-ref gnu:%standard-phases 'build))
3396 (add-before 'check 'ignore-failing-tests
3397 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3398 (lambda _
3399 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3400 (("fn background_color_option_invalid_color_yields_error" all)
3401 (string-append "#[ignore] " all))
3402 (("fn empty_input_yields_error" all)
3403 (string-append "#[ignore] " all))
3404 (("fn empty_svg_yields_error" all)
3405 (string-append "#[ignore] " all))
3406 (("fn env_source_data_epoch_empty" all)
3407 (string-append "#[ignore] " all))
3408 (("fn env_source_data_epoch_no_digits" all)
3409 (string-append "#[ignore] " all))
3410 (("fn env_source_data_epoch_trailing_garbage" all)
3411 (string-append "#[ignore] " all))
3412 (("fn export_id_option_error" all)
3413 (string-append "#[ignore] " all))
3414 (("fn huge_zoom_factor_yields_error" all)
3415 (string-append "#[ignore] " all))
3416 (("fn multiple_input_files_not_allowed_for_png_output" all)
3417 (string-append "#[ignore] " all))
3418 (("fn stylesheet_option_error" all)
3419 (string-append "#[ignore] " all)))
3420 #t))
3421 (replace 'check
3422 (lambda* args
3423 ((assoc-ref gnu:%standard-phases 'check)
3424 #:test-target "check")))
3425 (replace 'install
3426 (assoc-ref gnu:%standard-phases 'install)))))
3427 (native-inputs
3428 `(("docbook-xml" ,docbook-xml-4.3)
3429 ("glib" ,glib "bin")
3430 ("gobject-introspection" ,gobject-introspection)
3431 ("pkg-config" ,pkg-config)
3432 ("python" ,python-wrapper)
3433 ("ruby" ,ruby)
3434 ("vala" ,vala)))
3435 (inputs
3436 `(("bzip2" ,bzip2)
3437 ("fontconfig" ,fontconfig)
3438 ("freetype" ,freetype)
3439 ("harfbuzz" ,harfbuzz)
3440 ("libcroco" ,libcroco)
3441 ("libgsf" ,libgsf)
3442 ("libxml2" ,libxml2)
3443 ("pango" ,pango)))
3444 (propagated-inputs
3445 `(("cairo" ,cairo)
3446 ("gdk-pixbuf" ,gdk-pixbuf)
3447 ("glib" ,glib)))
3448 (synopsis "SVG rendering library")
3449 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3450 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3451 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3452 diagrams.")
3453 (home-page "https://wiki.gnome.org/LibRsvg")
3454 (license license:lgpl2.1+)))
3455
3456 (define-public libidl
3457 (package
3458 (name "libidl")
3459 (version "0.8.14")
3460 (source (origin
3461 (method url-fetch)
3462 (uri (string-append "mirror://gnome/sources/libIDL/"
3463 (version-major+minor version) "/"
3464 "libIDL-" version ".tar.bz2"))
3465 (sha256
3466 (base32
3467 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3468 (build-system gnu-build-system)
3469 (inputs `(("glib" ,glib)))
3470 (native-inputs
3471 `(("pkg-config" ,pkg-config)
3472 ("flex" ,flex)
3473 ("bison" ,bison)))
3474 (home-page "http://freecode.com/projects/libidl")
3475 (synopsis "Create trees of CORBA Interface Definition Language files")
3476 (description "Libidl is a library for creating trees of CORBA Interface
3477 Definition Language (idl) files, which is a specification for defining
3478 portable interfaces. libidl was initially written for orbit (the orb from the
3479 GNOME project, and the primary means of libidl distribution). However, the
3480 functionality was designed to be as reusable and portable as possible.")
3481 (properties `((upstream-name . "libIDL")))
3482 (license license:lgpl2.0+)))
3483
3484
3485 (define-public orbit2
3486 (package
3487 (name "orbit2")
3488 (version "2.14.19")
3489 (source (origin
3490 (method url-fetch)
3491 (uri (let ((upstream-name "ORBit2"))
3492 (string-append "mirror://gnome/sources/" upstream-name "/"
3493 (version-major+minor version) "/"
3494 upstream-name "-" version ".tar.bz2")))
3495 (sha256
3496 (base32
3497 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3498 (build-system gnu-build-system)
3499 (arguments
3500 `(;; The "timeout-server" test hangs when run in parallel.
3501 #:parallel-tests? #f
3502 #:configure-flags
3503 '(;; We don't need static libraries, plus they don't build reproducibly
3504 ;; (non-deterministic ordering of .o files in the archive.)
3505 "--disable-static"
3506
3507 ;; The programmer kindly gives us a hook to turn off deprecation
3508 ;; warnings ...
3509 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3510 ;; ... which they then completly ignore !!
3511 #:phases
3512 (modify-phases %standard-phases
3513 (add-before 'configure 'ignore-deprecations
3514 (lambda _
3515 (substitute* "linc2/src/Makefile.in"
3516 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3517 #t)))))
3518 (inputs `(("glib" ,glib)
3519 ("libidl" ,libidl)))
3520 (native-inputs
3521 `(("pkg-config" ,pkg-config)))
3522 (home-page "https://projects.gnome.org/orbit2/")
3523 (synopsis "CORBA 2.4-compliant Object Request Broker")
3524 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3525 featuring mature C, C++ and Python bindings.")
3526 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3527 ;; a version. SOME of the code files have licence notices for GPLv2+.
3528 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3529 (license license:gpl2+)
3530 (properties `((upstream-name . "ORBit2")))))
3531
3532
3533 (define-public libbonobo
3534 (package
3535 (name "libbonobo")
3536 (version "2.32.1")
3537 (source (origin
3538 (method url-fetch)
3539 (uri (string-append "mirror://gnome/sources/" name "/"
3540 (version-major+minor version)
3541 "/" name "-" version ".tar.bz2"))
3542 (sha256
3543 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3544 (patches (search-patches
3545 "libbonobo-activation-test-race.patch"))))
3546 (build-system gnu-build-system)
3547 (arguments
3548 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3549 `(#:configure-flags
3550 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3551 ;; ... which they then completly ignore !!
3552 #:phases
3553 (modify-phases %standard-phases
3554 (add-before 'configure 'ignore-deprecations
3555 (lambda _
3556 (substitute* "activation-server/Makefile.in"
3557 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3558 #t)))
3559
3560 ;; There's apparently a race condition between the server stub
3561 ;; generation and linking of the example under 'samples/echo' that can
3562 ;; lead do undefined references when building in parallel, as reported
3563 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3564 ;; Thus, disable parallel builds.
3565 #:parallel-build? #f))
3566 (inputs `(("popt" ,popt)
3567 ("libxml2" ,libxml2)))
3568 ;; The following are Required by the .pc file
3569 (propagated-inputs
3570 `(("glib" ,glib)
3571 ("orbit2" ,orbit2)))
3572 (native-inputs
3573 `(("intltool" ,intltool)
3574 ("pkg-config" ,pkg-config)
3575 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3576 ("flex" ,flex)
3577 ("bison" ,bison)))
3578 (home-page "https://developer.gnome.org/libbonobo/")
3579 (synopsis "Framework for creating reusable components for use in GNOME applications")
3580 (description "Bonobo is a framework for creating reusable components for
3581 use in GNOME applications, built on top of CORBA.")
3582 ;; Licence not explicitly stated. Source files contain no licence notices.
3583 ;; Tarball contains text of both GPLv2 and LGPLv2
3584 ;; GPLv2 covers both conditions
3585 (license license:gpl2+)))
3586
3587
3588 (define-public gconf
3589 (package
3590 (name "gconf")
3591 (version "3.2.6")
3592 (source (origin
3593 (method url-fetch)
3594 (uri
3595 (let ((upstream-name "GConf"))
3596 (string-append "mirror://gnome/sources/" upstream-name "/"
3597 (version-major+minor version) "/"
3598 upstream-name "-" version ".tar.xz")))
3599 (sha256
3600 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3601 (build-system gnu-build-system)
3602 (inputs `(("dbus-glib" ,dbus-glib)
3603 ("libxml2" ,libxml2)))
3604 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3605 ("orbit2" ,orbit2)))
3606 (native-inputs
3607 `(("intltool" ,intltool)
3608 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3609 ("pkg-config" ,pkg-config)))
3610 (home-page "https://projects.gnome.org/gconf/")
3611 (synopsis "Store application preferences")
3612 (description "Gconf is a system for storing application preferences. It
3613 is intended for user preferences; not arbitrary data storage.")
3614 (license license:lgpl2.0+)
3615 (properties '((upstream-name . "GConf")))))
3616
3617
3618 (define-public gnome-mime-data
3619 (package
3620 (name "gnome-mime-data")
3621 (version "2.18.0")
3622 (source (origin
3623 (method url-fetch)
3624 (uri (string-append "mirror://gnome/sources/" name "/"
3625 (version-major+minor version) "/"
3626 name "-" version ".tar.bz2"))
3627 (sha256
3628 (base32
3629 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3630 (build-system gnu-build-system)
3631 (native-inputs
3632 `(("perl" ,perl)
3633 ("intltool" ,intltool)))
3634 (arguments
3635 '(#:phases (modify-phases %standard-phases
3636 (add-after 'configure 'use-our-intltool
3637 (lambda _
3638 ;; Do not use the bundled intltool commands, which lack
3639 ;; the "dotless @INC" fixes of our 'intltool' package.
3640 (substitute* (find-files "." "^Makefile$")
3641 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3642 (string-append "INTLTOOL_" tool " = intltool-"
3643 (string-downcase tool) "\n")))
3644 #t)))))
3645 (home-page "https://www.gnome.org")
3646 (synopsis "Base MIME and Application database for GNOME")
3647 (description "GNOME Mime Data is a module which contains the base MIME
3648 and Application database for GNOME. The data stored by this module is
3649 designed to be accessed through the MIME functions in GnomeVFS.")
3650 (license license:gpl2+)))
3651
3652
3653 (define-public gnome-vfs
3654 (package
3655 (name "gnome-vfs")
3656 (version "2.24.4")
3657 (source (origin
3658 (method url-fetch)
3659 (uri (string-append "mirror://gnome/sources/" name "/"
3660 (version-major+minor version) "/"
3661 name "-" version ".tar.bz2"))
3662 (sha256
3663 (base32
3664 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3665 (build-system gnu-build-system)
3666 (arguments
3667 `(#:phases
3668 (modify-phases %standard-phases
3669 (add-before 'configure 'ignore-deprecations
3670 (lambda _
3671 (substitute* '("libgnomevfs/Makefile.in"
3672 "daemon/Makefile.in")
3673 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3674 #t))
3675 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3676 (lambda _
3677 (substitute* "test/test-async-cancel.c"
3678 (("EXIT_FAILURE") "77"))
3679 #t)))))
3680 (inputs `(("libxml2" ,libxml2)
3681 ("dbus-glib" ,dbus-glib)
3682 ("gconf" ,gconf)
3683 ("gnome-mime-data" ,gnome-mime-data)
3684 ("zlib" ,zlib)))
3685 (native-inputs
3686 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3687 ("intltool" ,intltool)
3688 ("pkg-config" ,pkg-config)))
3689 (home-page "https://developer.gnome.org/gnome-vfs/")
3690 (synopsis "Access files and folders in GNOME applications")
3691 (description
3692 "GnomeVFS is the core library used to access files and folders in GNOME
3693 applications. It provides a file system abstraction which allows applications
3694 to access local and remote files with a single consistent API.")
3695 (license license:lgpl2.0+)))
3696
3697
3698
3699 (define-public libgnome
3700 (package
3701 (name "libgnome")
3702 (version "2.32.1")
3703 (source (origin
3704 (method url-fetch)
3705 (uri (string-append "mirror://gnome/sources/" name "/"
3706 (version-major+minor version) "/"
3707 name "-" version ".tar.bz2"))
3708 (sha256
3709 (base32
3710 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3711 (patches (search-patches "libgnome-encoding.patch"))))
3712 (build-system gnu-build-system)
3713 (arguments
3714 `(#:phases
3715 (modify-phases %standard-phases
3716 (add-before 'configure 'enable-deprecated
3717 (lambda _
3718 (substitute* "libgnome/Makefile.in"
3719 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3720 #t)))))
3721 (inputs `(("libxml2" ,libxml2)))
3722 (native-inputs
3723 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3724 ("intltool" ,intltool)
3725 ("pkg-config" ,pkg-config)))
3726 ;; The following are listed as Required in the .pc file
3727 ;; (except for libcanberra -- which seems to be oversight on the part
3728 ;; of the upstream developers -- anything that links against libgnome,
3729 ;; must also link against libcanberra
3730 (propagated-inputs
3731 `(("libcanberra" ,libcanberra)
3732 ("libbonobo" ,libbonobo)
3733 ("gconf" ,gconf)
3734 ("gnome-vfs" ,gnome-vfs)
3735 ("popt" ,popt))) ;gnome-program.h includes popt.h
3736 (home-page "https://developer.gnome.org/libgnome/")
3737 (synopsis "Useful routines for building applications")
3738 (description "The libgnome library provides a number of useful routines
3739 for building modern applications, including session management, activation of
3740 files and URIs, and displaying help.")
3741 (license license:lgpl2.0+)))
3742
3743
3744 (define-public libart-lgpl
3745 (package
3746 (name "libart-lgpl")
3747 (version "2.3.21")
3748 (source (origin
3749 (method url-fetch)
3750 (uri (let ((upstream-name "libart_lgpl"))
3751 (string-append "mirror://gnome/sources/" upstream-name "/"
3752 (version-major+minor version) "/"
3753 upstream-name "-" version ".tar.bz2")))
3754 (sha256
3755 (base32
3756 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3757 (build-system gnu-build-system)
3758 (native-inputs
3759 `(("pkg-config" ,pkg-config)))
3760 (home-page "https://people.gnome.org/~mathieu/libart")
3761 (synopsis "2D drawing library")
3762 (description "Libart is a 2D drawing library intended as a
3763 high-quality vector-based 2D library with antialiasing and alpha composition.")
3764 (license license:lgpl2.0+)))
3765
3766
3767
3768 (define-public libgnomecanvas
3769 (package
3770 (name "libgnomecanvas")
3771 (version "2.30.3")
3772 (source (origin
3773 (method url-fetch)
3774 (uri (string-append "mirror://gnome/sources/" name "/"
3775 (version-major+minor version) "/"
3776 name "-" version ".tar.gz"))
3777 (sha256
3778 (base32
3779 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3780 (build-system gnu-build-system)
3781 ;; Mentioned as Required in the .pc file
3782 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3783 ("gtk+" ,gtk+-2)))
3784 (native-inputs
3785 `(("intltool" ,intltool)
3786 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3787 ("pkg-config" ,pkg-config)))
3788 (home-page "https://developer.gnome.org/libgnomecanvas/")
3789 (synopsis "Flexible widget for creating interactive structured graphics")
3790 (description "The GnomeCanvas widget provides a flexible widget for
3791 creating interactive structured graphics.")
3792 (license license:lgpl2.0+)))
3793
3794 (define-public libgnomecanvasmm
3795 (package
3796 (name "libgnomecanvasmm")
3797 (version "2.26.0")
3798 (source (origin
3799 (method url-fetch)
3800 (uri (string-append "mirror://gnome/sources/" name "/"
3801 (version-major+minor version) "/"
3802 name "-" version ".tar.bz2"))
3803 (sha256
3804 (base32
3805 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3806 (build-system gnu-build-system)
3807 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3808 (native-inputs
3809 `(("gtkmm-2" ,gtkmm-2)
3810 ("pkg-config" ,pkg-config)))
3811 (home-page "https://gtkmm.org")
3812 (synopsis "C++ bindings to the GNOME Canvas library")
3813 (description "C++ bindings to the GNOME Canvas library.")
3814 (license license:lgpl2.0+)))
3815
3816 (define-public libgnomeui
3817 (package
3818 (name "libgnomeui")
3819 (version "2.24.5")
3820 (source (origin
3821 (method url-fetch)
3822 (uri (string-append "mirror://gnome/sources/" name "/"
3823 (version-major+minor version) "/"
3824 name "-" version ".tar.bz2"))
3825 (patches (search-patches "libgnomeui-utf8.patch"))
3826 (sha256
3827 (base32
3828 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3829 (build-system gnu-build-system)
3830 ;; Mentioned as Required in the .pc file
3831 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3832 ("libgnome" ,libgnome)
3833 ("libgnomecanvas" ,libgnomecanvas)
3834 ("libgnome-keyring" ,libgnome-keyring)))
3835 (inputs `(("libjpeg" ,libjpeg-turbo)
3836 ("popt" ,popt)
3837 ("libbonobo" ,libbonobo)
3838 ("libxml2" ,libxml2)
3839 ("libglade" ,libglade)))
3840 (native-inputs
3841 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3842 ("intltool" ,intltool)
3843 ("pkg-config" ,pkg-config)))
3844 (home-page "https://developer.gnome.org/libgnomeui/")
3845 (synopsis "Additional widgets for applications")
3846 (description "The libgnomeui library provides additional widgets for
3847 applications. Many of the widgets from libgnomeui have already been
3848 ported to GTK+.")
3849 (license license:lgpl2.0+)))
3850
3851 (define-public libglade
3852 (package
3853 (name "libglade")
3854 (version "2.6.4")
3855 (source (origin
3856 (method url-fetch)
3857 (uri (string-append "mirror://gnome/sources/" name "/"
3858 (version-major+minor version) "/"
3859 name "-" version ".tar.bz2"))
3860 (sha256
3861 (base32
3862 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3863 (build-system gnu-build-system)
3864 (inputs
3865 `(("python" ,python))) ;; needed for the optional libglade-convert program
3866 (propagated-inputs
3867 `(("gtk+-2" ,gtk+-2)
3868 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3869 (native-inputs
3870 `(("pkg-config" ,pkg-config)))
3871 (home-page "https://developer.gnome.org/libglade")
3872 (synopsis "Load glade interfaces and access the glade built widgets")
3873 (description "Libglade is a library that provides interfaces for loading
3874 graphical interfaces described in glade files and for accessing the
3875 widgets built in the loading process.")
3876 (license license:gpl2+))) ; This is correct. GPL not LGPL
3877
3878 (define-public libgnomeprint
3879 ;; This library has been deprecated since 2006; see
3880 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3881 (package
3882 (name "libgnomeprint")
3883 (version "2.18.8")
3884 (source (origin
3885 (method url-fetch)
3886 (uri (string-append "mirror://gnome/sources/" name "/"
3887 (version-major+minor version) "/"
3888 name "-" version ".tar.bz2"))
3889 (sha256
3890 (base32
3891 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3892 (build-system gnu-build-system)
3893 (inputs
3894 `(("popt" ,popt)
3895 ("libart-lgpl" ,libart-lgpl)
3896 ("gtk+" ,gtk+-2)
3897 ("libxml2" ,libxml2)))
3898 (native-inputs
3899 `(("intltool" ,intltool)
3900 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3901 ("pkg-config" ,pkg-config)))
3902 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3903 (synopsis "Printing framework for GNOME")
3904 (description
3905 "GNOME-print was a printing framework for GNOME. It has been deprecated
3906 since ca. 2006, when GTK+ itself incorporated printing support.")
3907 (license license:lgpl2.0+)))
3908
3909
3910 (define-public libgnomeprintui
3911 ;; Deprecated; see libgnomeprint.
3912 (package
3913 (name "libgnomeprintui")
3914 (version "2.18.6")
3915 (source (origin
3916 (method url-fetch)
3917 (uri (string-append "mirror://gnome/sources/" name "/"
3918 (version-major+minor version) "/"
3919 name "-" version ".tar.bz2"))
3920 (sha256
3921 (base32
3922 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
3923 (build-system gnu-build-system)
3924 ;; Mentioned as Required in the .pc file
3925 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
3926 (inputs `(("gtk+" ,gtk+-2)
3927 ("glib" ,glib)
3928 ("gnome-icon-theme" ,gnome-icon-theme)
3929 ("libgnomecanvas" ,libgnomecanvas)
3930 ("libxml2" ,libxml2)))
3931 (native-inputs
3932 `(("intltool" ,intltool)
3933 ("pkg-config" ,pkg-config)))
3934 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3935 (synopsis "Printing framework for GNOME")
3936 (description (package-description libgnomeprint))
3937 (license license:lgpl2.0+)))
3938
3939 (define-public libbonoboui
3940 (package
3941 (name "libbonoboui")
3942 (version "2.24.5")
3943 (source (origin
3944 (method url-fetch)
3945 (uri (string-append "mirror://gnome/sources/" name "/"
3946 (version-major+minor version) "/"
3947 name "-" version ".tar.bz2"))
3948 (sha256
3949 (base32
3950 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3951 (build-system gnu-build-system)
3952 (arguments
3953 `(#:phases
3954 (modify-phases %standard-phases
3955 (add-before 'check 'start-xserver
3956 (lambda* (#:key inputs #:allow-other-keys)
3957 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3958 (disp ":1"))
3959
3960 (setenv "HOME" (getcwd))
3961 (setenv "DISPLAY" disp)
3962 ;; There must be a running X server and make check doesn't start one.
3963 ;; Therefore we must do it.
3964 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3965 ;; Mentioned as Required by the .pc file
3966 (propagated-inputs `(("libxml2" ,libxml2)))
3967 (inputs
3968 `(("popt" ,popt)
3969 ("pangox-compat" ,pangox-compat)
3970 ("libgnome" ,libgnome)
3971 ("libgnomecanvas" ,libgnomecanvas)
3972 ("libglade" ,libglade)))
3973 (native-inputs
3974 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3975 ("intltool" ,intltool)
3976 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3977 ("pkg-config" ,pkg-config)))
3978 (home-page "https://developer.gnome.org/libbonoboui/")
3979 (synopsis "Some user interface controls using Bonobo")
3980 (description "The Bonobo UI library provides a number of user interface
3981 controls using the Bonobo component framework.")
3982 (license license:lgpl2.0+)))
3983
3984 (define-public libwnck
3985 (package
3986 (name "libwnck")
3987 (version "3.32.0")
3988 (source (origin
3989 (method url-fetch)
3990 (uri (string-append "mirror://gnome/sources/" name "/"
3991 (version-major+minor version) "/"
3992 name "-" version ".tar.xz"))
3993 (sha256
3994 (base32
3995 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3996 (build-system meson-build-system)
3997 (native-inputs
3998 `(("pkg-config" ,pkg-config)
3999 ("glib" ,glib "bin") ; for glib-mkenums
4000 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4001 ("intltool" ,intltool)))
4002 (propagated-inputs
4003 `(("gtk+" ,gtk+)
4004 ("libxres" ,libxres)
4005 ("startup-notification" ,startup-notification)))
4006 (home-page "https://developer.gnome.org/libwnck/")
4007 (synopsis "Window Navigator Construction Kit")
4008 (description
4009 "Libwnck is the Window Navigator Construction Kit, a library for use in
4010 writing pagers, tasklists, and more generally applications that are dealing
4011 with window management. It tries hard to respect the Extended Window Manager
4012 Hints specification (EWMH).")
4013 (license license:lgpl2.0+)))
4014
4015 ;; stable version for gtk2, required by xfwm4.
4016 (define-public libwnck-2
4017 (package (inherit libwnck)
4018 (name "libwnck")
4019 (version "2.30.7")
4020 (source (origin
4021 (method url-fetch)
4022 (uri (string-append "mirror://gnome/sources/" name "/"
4023 (version-major+minor version) "/"
4024 name "-" version ".tar.xz"))
4025 (sha256
4026 (base32
4027 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4028 (build-system gnu-build-system)
4029 (native-inputs
4030 `(("pkg-config" ,pkg-config)
4031 ("intltool" ,intltool)))
4032 (propagated-inputs
4033 `(("gtk+" ,gtk+-2)
4034 ("libxres" ,libxres)
4035 ("startup-notification" ,startup-notification)))))
4036
4037 (define-public goffice
4038 (package
4039 (name "goffice")
4040 (version "0.10.48")
4041 (source (origin
4042 (method url-fetch)
4043 (uri (string-append "mirror://gnome/sources/goffice/"
4044 (version-major+minor version) "/"
4045 "goffice-" version ".tar.xz"))
4046 (sha256
4047 (base32 "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4"))))
4048 (build-system gnu-build-system)
4049 (outputs '("out"
4050 "doc")) ; 4.0 MiB of gtk-doc
4051 (arguments
4052 '(#:configure-flags (list (string-append "--with-html-dir="
4053 (assoc-ref %outputs "doc")
4054 "/share/gtk-doc/html"))))
4055 (inputs
4056 `(("gtk+" ,gtk+)
4057 ("libgsf" ,libgsf)
4058 ("librsvg" ,librsvg)
4059 ("libxslt" ,libxslt)
4060 ("libxml2" ,libxml2)))
4061 (native-inputs
4062 `(("intltool" ,intltool)
4063 ("glib" ,glib "bin")
4064 ("pkg-config" ,pkg-config)))
4065 (home-page "https://developer.gnome.org/goffice/")
4066 (synopsis "Document-centric objects and utilities")
4067 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4068 (license
4069 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4070 ;; Note: NOT LGPL
4071 (list license:gpl2 license:gpl3))))
4072
4073 (define-public goffice-0.8
4074 (package (inherit goffice)
4075 (version "0.8.17")
4076 (source (origin
4077 (method url-fetch)
4078 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4079 (version-major+minor version) "/"
4080 (package-name goffice) "-" version ".tar.xz"))
4081 (sha256
4082 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4083 (arguments
4084 `(#:phases
4085 (modify-phases %standard-phases
4086 (add-after 'unpack 'fix-pcre-check
4087 (lambda _
4088 ;; Only glib.h can be included directly. See
4089 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4090 (substitute* "configure"
4091 (("glib/gregex\\.h") "glib.h")) #t)))
4092
4093 ,@(package-arguments goffice)))
4094 (propagated-inputs
4095 ;; libgoffice-0.8.pc mentions libgsf-1
4096 `(("libgsf" ,libgsf)))
4097 (inputs
4098 `(("gtk" ,gtk+-2)
4099 ,@(alist-delete "gtk" (package-inputs goffice))))))
4100
4101 (define-public gnumeric
4102 (package
4103 (name "gnumeric")
4104 (version "1.12.48")
4105 (source (origin
4106 (method url-fetch)
4107 (uri (string-append "mirror://gnome/sources/gnumeric/"
4108 (version-major+minor version) "/"
4109 "gnumeric-" version ".tar.xz"))
4110 (sha256
4111 (base32
4112 "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p"))))
4113 (build-system glib-or-gtk-build-system)
4114 (arguments
4115 `(;; The gnumeric developers don't worry much about failing tests.
4116 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4117 #:tests? #f
4118 #:phases
4119 (modify-phases %standard-phases
4120 (add-before
4121 'configure 'pre-conf
4122 (lambda* (#:key outputs #:allow-other-keys)
4123 ;; Make install tries to write into the directory of goffice
4124 ;; I am informed that this only affects the possibility to embed a
4125 ;; spreadsheet inside an Abiword document. So presumably when we
4126 ;; package Abiword we'll have to refer it to this directory.
4127 (substitute* "configure"
4128 (("^GOFFICE_PLUGINS_DIR=.*")
4129 (string-append "GOFFICE_PLUGINS_DIR="
4130 (assoc-ref outputs "out")
4131 "/goffice/plugins"))))))))
4132 (inputs
4133 `(("glib" ,glib)
4134 ("gtk+" ,gtk+)
4135 ("goffice" ,goffice)
4136 ("libgsf" ,libgsf)
4137 ("librsvg" ,librsvg)
4138 ("libxml2" ,libxml2)
4139 ("libxslt" ,libxslt)
4140 ("python" ,python)
4141 ("python-pygobject" ,python-pygobject)
4142 ("zlib" ,zlib)))
4143 (native-inputs
4144 `(("bison" ,bison)
4145 ("docbook-xml" ,docbook-xml)
4146 ("intltool" ,intltool)
4147 ("itstool" ,itstool)
4148 ("glib:bin" ,glib "bin")
4149 ("pkg-config" ,pkg-config)))
4150 (home-page "http://www.gnumeric.org")
4151 (synopsis "Spreadsheet application")
4152 (description
4153 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4154 interoperable with other spreadsheet applications. It has a vast array of
4155 features beyond typical spreadsheet functionality, such as support for linear
4156 and non-linear solvers, statistical analysis, and telecommunication
4157 engineering.")
4158 (license
4159 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4160 (list license:gpl2 license:gpl3))))
4161
4162 (define-public gnome-themes-standard
4163 (package
4164 (name "gnome-themes-standard")
4165 (version "3.22.3")
4166 (source
4167 (origin
4168 (method url-fetch)
4169 (uri (string-append "mirror://gnome/sources/" name "/"
4170 (version-major+minor version) "/" name "-"
4171 version ".tar.xz"))
4172 (sha256
4173 (base32
4174 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4175 (build-system gnu-build-system)
4176 (arguments
4177 '(#:configure-flags
4178 ;; Don't create 'icon-theme.cache'.
4179 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4180 (true (string-append coreutils "/bin/true")))
4181 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4182 (inputs
4183 `(("gtk+" ,gtk+)
4184 ("gtk+-2" ,gtk+-2)
4185 ("librsvg" ,librsvg)
4186 ("libxml2" ,libxml2)
4187 ("glib" ,glib)))
4188 (native-inputs
4189 `(("intltool" ,intltool)
4190 ("glib:bin" ,glib "bin")
4191 ("pkg-config" ,pkg-config)))
4192 (home-page "https://launchpad.net/gnome-themes-standard")
4193 (synopsis "Default GNOME 3 themes")
4194 (description
4195 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4196 (license license:lgpl2.1+)))
4197
4198 (define-public seahorse
4199 (package
4200 (name "seahorse")
4201 (version "3.36.2")
4202 (source
4203 (origin
4204 (method url-fetch)
4205 (uri (string-append "mirror://gnome/sources/" name "/"
4206 (version-major+minor version) "/" name "-"
4207 version ".tar.xz"))
4208 (sha256
4209 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4210 (build-system meson-build-system)
4211 (arguments
4212 '(#:glib-or-gtk? #t
4213 #:phases
4214 (modify-phases %standard-phases
4215 (add-after 'unpack 'skip-gtk-update-icon-cache
4216 ;; Don't create 'icon-theme.cache'.
4217 (lambda _
4218 (substitute* "build-aux/meson_post_install.py"
4219 (("gtk-update-icon-cache") "true"))
4220 #t)))))
4221 (inputs
4222 `(("gtk+" ,gtk+)
4223 ("gcr" ,gcr)
4224 ("gnupg" ,gnupg)
4225 ("gpgme" ,gpgme)
4226 ("openldap" ,openldap)
4227 ("openssh" ,openssh)
4228 ("avahi" ,avahi)
4229 ("libhandy" ,libhandy-0.0)
4230 ("libpwquality" ,libpwquality)
4231 ("libsecret" ,libsecret)
4232 ("libsoup" ,libsoup)))
4233 (native-inputs
4234 `(("gettext" ,gettext-minimal)
4235 ("glib:bin" ,glib "bin")
4236 ("itstool" ,itstool)
4237 ("pkg-config" ,pkg-config)
4238 ("vala" ,vala)
4239 ("xmllint" ,libxml2)))
4240 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4241 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4242 (description
4243 "Seahorse is a GNOME application for managing encryption keys and
4244 passwords in the GNOME keyring.")
4245 (license license:gpl2+)))
4246
4247 (define-public vala
4248 (package
4249 (name "vala")
4250 (version "0.46.5")
4251 (source (origin
4252 (method url-fetch)
4253 (uri (string-append "mirror://gnome/sources/" name "/"
4254 (version-major+minor version) "/"
4255 name "-" version ".tar.xz"))
4256 (sha256
4257 (base32
4258 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4259 (build-system gnu-build-system)
4260 (arguments
4261 '(#:phases
4262 (modify-phases %standard-phases
4263 (add-before 'check 'pre-check
4264 (lambda _
4265 (setenv "CC" "gcc")
4266 (substitute* "valadoc/tests/testrunner.sh"
4267 (("export PKG_CONFIG_PATH=" m)
4268 (string-append m "$PKG_CONFIG_PATH:")))
4269 ;; For missing '/etc/machine-id'.
4270 (setenv "DBUS_FATAL_WARNINGS" "0")
4271 #t)))))
4272 (native-inputs
4273 `(("pkg-config" ,pkg-config)
4274 ("flex" ,flex)
4275 ("bison" ,bison)
4276 ("xsltproc" ,libxslt)
4277 ("dbus" ,dbus) ; for dbus tests
4278 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4279 (inputs
4280 `(("graphviz" ,graphviz)))
4281 (propagated-inputs
4282 `(("glib" ,glib))) ; required by libvala-0.40.pc
4283 (home-page "https://wiki.gnome.org/Projects/Vala/")
4284 (synopsis "Compiler for the GObject type system")
4285 (description
4286 "Vala is a programming language that aims to bring modern programming
4287 language features to GNOME developers without imposing any additional runtime
4288 requirements and without using a different ABI compared to applications and
4289 libraries written in C.")
4290 (license license:lgpl2.1+)))
4291
4292 (define-public vala-0.50
4293 (package
4294 (inherit vala)
4295 (version "0.50.2")
4296 (source (origin
4297 (method url-fetch)
4298 (uri (string-append "mirror://gnome/sources/vala/"
4299 (version-major+minor version) "/"
4300 "vala-" version ".tar.xz"))
4301 (sha256
4302 (base32
4303 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4304
4305 (define-public vte
4306 (package
4307 (name "vte")
4308 (version "0.60.3")
4309 (source (origin
4310 (method url-fetch)
4311 (uri (string-append "mirror://gnome/sources/vte/"
4312 (version-major+minor version) "/"
4313 "vte-" version ".tar.xz"))
4314 (sha256
4315 (base32
4316 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4317 (build-system meson-build-system)
4318 (arguments
4319 `(#:configure-flags
4320 '("-Dvapi=true"
4321 "-D_systemd=false")))
4322 (native-inputs
4323 `(("pkg-config" ,pkg-config)
4324 ("gettext" ,gettext-minimal)
4325 ("vala" ,vala)
4326 ("gobject-introspection" ,gobject-introspection)
4327 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4328 ("gperf" ,gperf)
4329 ("xmllint" ,libxml2)))
4330 (propagated-inputs
4331 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4332 ("gnutls" ,gnutls) ; ditto
4333 ("pcre2" ,pcre2))) ; ditto
4334 (home-page "https://www.gnome.org/")
4335 (synopsis "Virtual Terminal Emulator")
4336 (description
4337 "VTE is a library (libvte) implementing a terminal emulator widget for
4338 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4339 gnome-terminal, but can also be used to embed a console/terminal in games,
4340 editors, IDEs, etc.")
4341 (license license:lgpl2.1+)))
4342
4343 (define-public vte-ng
4344 (package
4345 (inherit vte)
4346 (name "vte-ng")
4347 (version "0.58.2.a")
4348 (home-page "https://github.com/thestinger/vte-ng")
4349 (source (origin
4350 (method git-fetch)
4351 (uri (git-reference (url home-page) (commit version)))
4352 (file-name (git-file-name name version))
4353 (sha256
4354 (base32
4355 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4356 (build-system meson-build-system)
4357 (native-inputs
4358 `(("gtk-doc" ,gtk-doc)
4359 ,@(package-native-inputs vte)))
4360 (arguments
4361 `(#:configure-flags '("-Ddocs=true")))
4362 (synopsis "Enhanced VTE terminal widget")
4363 (description
4364 "VTE is a library (libvte) implementing a terminal emulator widget for
4365 GTK+, this fork provides additional functions exposed for keyboard text
4366 selection and URL hints.")))
4367
4368 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4369 (define-public vte/gtk+-2
4370 (package (inherit vte)
4371 (name "vte")
4372 (version "0.28.2")
4373 (source (origin
4374 (method url-fetch)
4375 (uri (string-append "mirror://gnome/sources/" name "/"
4376 (version-major+minor version) "/"
4377 name "-" version ".tar.xz"))
4378 (sha256
4379 (base32
4380 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4381 (patches (search-patches
4382 "vte-CVE-2012-2738-pt1.patch"
4383 "vte-CVE-2012-2738-pt2.patch"))))
4384 (build-system gnu-build-system)
4385 (arguments
4386 '(#:configure-flags '("--disable-python")))
4387 (native-inputs
4388 `(("pkg-config" ,pkg-config)
4389 ("intltool" ,intltool)
4390 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4391 (propagated-inputs
4392 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4393 ("ncurses" ,ncurses))))) ; required by libvte.la
4394
4395 (define-public vinagre
4396 (package
4397 (name "vinagre")
4398 (version "3.22.0")
4399 (source (origin
4400 (method url-fetch)
4401 (uri (string-append "mirror://gnome/sources/" name "/"
4402 (version-major+minor version) "/"
4403 name "-" version ".tar.xz"))
4404 (patches (search-patches "vinagre-newer-freerdp.patch"
4405 "vinagre-newer-rdp-parameters.patch"))
4406 (sha256
4407 (base32
4408 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4409 (build-system glib-or-gtk-build-system)
4410 (arguments
4411 ;; Disable -Werror and such, to avoid build failures on compilation
4412 ;; warnings.
4413 '(#:configure-flags '("--enable-compile-warnings=minimum")
4414 #:phases
4415 (modify-phases %standard-phases
4416 (add-before 'install 'skip-gtk-update-icon-cache
4417 (lambda _
4418 ;; Don't create 'icon-theme.cache'
4419 (substitute* (find-files "." "^Makefile$")
4420 (("gtk-update-icon-cache") (which "true")))
4421 #t))
4422 (add-after 'unpack 'patch-configure
4423 (lambda _
4424 (substitute* "configure"
4425 (("freerdp") "freerdp2"))
4426 #t)))))
4427 (native-inputs
4428 `(("pkg-config" ,pkg-config)
4429 ("intltool" ,intltool)
4430 ("itstool" ,itstool)
4431 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4432 (inputs
4433 `(("libxml2" ,libxml2)
4434 ("gtk-vnc" ,gtk-vnc)
4435 ("gnome-keyring" ,gnome-keyring)
4436 ("libsecret" ,libsecret)
4437 ("freerdp" ,freerdp)
4438 ("spice" ,spice)
4439 ("spice-gtk" ,spice-gtk)
4440 ("telepathy-glib" ,telepathy-glib)
4441 ("vte" ,vte)))
4442 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4443 (synopsis "Remote desktop viewer for GNOME")
4444 (description "Vinagre is a remote display client supporting the VNC, SPICE
4445 and RDP protocols.")
4446 (license license:gpl3+)))
4447
4448 (define-public dconf
4449 (package
4450 (name "dconf")
4451 (version "0.36.0")
4452 (source (origin
4453 (method url-fetch)
4454 (uri (string-append
4455 "mirror://gnome/sources/" name "/"
4456 (version-major+minor version) "/"
4457 name "-" version ".tar.xz"))
4458 (sha256
4459 (base32
4460 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4461 (build-system meson-build-system)
4462 (propagated-inputs
4463 ;; In Requires of dconf.pc.
4464 `(("glib" ,glib)))
4465 (inputs
4466 `(("gtk+" ,gtk+)
4467 ("dbus" ,dbus)))
4468 (native-inputs
4469 `(("bash-completion" ,bash-completion)
4470 ("libxslt" ,libxslt) ;for xsltproc
4471 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4472 ("docbook-xml" ,docbook-xml-4.2)
4473 ("docbook-xsl" ,docbook-xsl)
4474 ("glib:bin" ,glib "bin")
4475 ("gtk-doc" ,gtk-doc)
4476 ("pkg-config" ,pkg-config)
4477 ("vala" ,vala)))
4478 (arguments
4479 `(#:glib-or-gtk? #t
4480 #:configure-flags '("-Denable-gtk-doc=true")
4481 #:phases (modify-phases %standard-phases
4482 (add-after 'unpack 'increase-test-timeout
4483 (lambda _
4484 ;; On big-memory systems, the engine test may take
4485 ;; much longer than the default of 30 seconds.
4486 (substitute* "tests/meson.build"
4487 (("test\\(unit_test\\[0\\], exe" all)
4488 (string-append all ", timeout : 90")))
4489 #t)))))
4490 (home-page "https://developer.gnome.org/dconf/")
4491 (synopsis "Low-level GNOME configuration system")
4492 (description "Dconf is a low-level configuration system. Its main purpose
4493 is to provide a backend to GSettings on platforms that don't already have
4494 configuration storage systems.")
4495 (license license:lgpl2.1+)))
4496
4497 (define-public json-glib
4498 (package
4499 (name "json-glib")
4500 (version "1.4.4")
4501 (source (origin
4502 (method url-fetch)
4503 (uri (string-append "mirror://gnome/sources/" name "/"
4504 (version-major+minor version) "/"
4505 name "-" version ".tar.xz"))
4506 (sha256
4507 (base32
4508 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4509 (build-system meson-build-system)
4510 (native-inputs
4511 `(("gettext" ,gettext-minimal)
4512 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4513 ("gobject-introspection" ,gobject-introspection)
4514 ("pkg-config" ,pkg-config)))
4515 (propagated-inputs
4516 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4517 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4518 (synopsis "Compiler for the GObject type system")
4519 (description
4520 "JSON-GLib is a C library based on GLib providing serialization and
4521 deserialization support for the JavaScript Object Notation (JSON) format
4522 described by RFC 4627. It provides parser and generator GObject classes and
4523 various wrappers for the complex data types employed by JSON, such as arrays
4524 and objects.")
4525 (license license:lgpl2.1+)))
4526
4527 (define-public libxklavier
4528 (package
4529 (name "libxklavier")
4530 (version "5.4")
4531 (source (origin
4532 ;; Note: There's no tarball at ftp.gnome.org for this version.
4533 (method git-fetch)
4534 (uri (git-reference
4535 (url "https://anongit.freedesktop.org/git/libxklavier")
4536 (commit (string-append "libxklavier-" version))))
4537 (sha256
4538 (base32
4539 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4540 (file-name (git-file-name name version))))
4541 (build-system gnu-build-system)
4542 (arguments
4543 '(#:configure-flags
4544 (list (string-append "--with-xkb-base="
4545 (assoc-ref %build-inputs "xkeyboard-config")
4546 "/share/X11/xkb")
4547 "--disable-xmodmap-support")))
4548 (native-inputs
4549 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4550 ("gobject-introspection" ,gobject-introspection)
4551 ("pkg-config" ,pkg-config)
4552 ("gtk-doc" ,gtk-doc)
4553 ("intltool" ,intltool)
4554 ("which" ,which)
4555 ("autoconf" ,autoconf)
4556 ("automake" ,automake)
4557 ("libtool" ,libtool)))
4558 (propagated-inputs
4559 ;; Required by libxklavier.pc.
4560 `(("glib" ,glib)
4561 ("libxml2" ,libxml2)))
4562 (inputs
4563 `(("iso-codes" ,iso-codes)
4564 ("libxi" ,libxi)
4565 ("libxkbfile" ,libxkbfile)
4566 ("xkbcomp" ,xkbcomp)
4567 ("xkeyboard-config" ,xkeyboard-config)))
4568 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4569 (synopsis "High-level API for X Keyboard Extension")
4570 (description
4571 "LibXklavier is a library providing high-level API for X Keyboard
4572 Extension known as XKB. This library is intended to support XFree86 and other
4573 commercial X servers. It is useful for creating XKB-related software (layout
4574 indicators etc).")
4575 (license license:lgpl2.0+)))
4576
4577 (define-public python2-rsvg
4578 ;; XXX: This is actually a subset of gnome-python-desktop.
4579 (package
4580 (name "python2-rsvg")
4581 (version "2.32.0")
4582 (source
4583 (origin
4584 (method url-fetch)
4585 (uri (string-append
4586 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4587 version ".tar.bz2"))
4588 (sha256
4589 (base32
4590 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4591 (build-system gnu-build-system)
4592 (native-inputs
4593 `(("pkg-config" ,pkg-config)))
4594 (inputs
4595 `(("python" ,python-2)
4596 ("python2-pygtk" ,python2-pygtk)
4597 ("librsvg" ,librsvg)))
4598 (home-page "https://www.gnome.org")
4599 (synopsis "Python bindings to librsvg")
4600 (description
4601 "This package provides Python bindings to librsvg, the SVG rendering
4602 library.")
4603
4604 ;; This is the license of the rsvg bindings. The license of each module
4605 ;; of gnome-python-desktop is given in 'COPYING'.
4606 (license license:lgpl2.1+)))
4607
4608 (define-public glib-networking
4609 (package
4610 (name "glib-networking")
4611 (version "2.62.2")
4612 (source (origin
4613 (method url-fetch)
4614 (uri (string-append "mirror://gnome/sources/glib-networking/"
4615 (version-major+minor version) "/"
4616 "glib-networking-" version ".tar.xz"))
4617 (sha256
4618 (base32
4619 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4620 (build-system meson-build-system)
4621 (arguments
4622 `(#:configure-flags '("-Dlibproxy_support=false")))
4623 (native-inputs
4624 `(("pkg-config" ,pkg-config)
4625 ("intltool" ,intltool)))
4626 (inputs
4627 `(("glib" ,glib)
4628 ("gnutls" ,gnutls)
4629 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4630 (home-page "https://www.gnome.org")
4631 (synopsis "Network-related GIO modules")
4632 (description
4633 "This package contains various network related extensions for the GIO
4634 library.")
4635 (license license:lgpl2.0+)))
4636
4637 (define-public rest
4638 (package
4639 (name "rest")
4640 (version "0.8.1")
4641 (source (origin
4642 (method url-fetch)
4643 (uri (string-append "mirror://gnome/sources/rest/"
4644 (version-major+minor version) "/"
4645 name "-" version ".tar.xz"))
4646 (sha256
4647 (base32
4648 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4649 (build-system gnu-build-system)
4650 (arguments
4651 '(#:tests? #f ; tests require internet connection
4652 #:configure-flags
4653 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4654 (native-inputs
4655 `(("glib-mkenums" ,glib "bin")
4656 ("gobject-introspection" ,gobject-introspection)
4657 ("pkg-config" ,pkg-config)))
4658 (propagated-inputs
4659 ;; rest-0.7.pc refers to all these.
4660 `(("glib" ,glib)
4661 ("libsoup" ,libsoup)
4662 ("libxml2" ,libxml2)))
4663 (home-page "https://www.gtk.org/")
4664 (synopsis "RESTful web api query library")
4665 (description
4666 "This library was designed to make it easier to access web services that
4667 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4668 libxml to ease remote use of the RESTful API.")
4669 (license license:lgpl2.1+)))
4670
4671 (define-public libsoup
4672 (package
4673 (name "libsoup")
4674 (version "2.72.0")
4675 (source (origin
4676 (method url-fetch)
4677 (uri (string-append "mirror://gnome/sources/libsoup/"
4678 (version-major+minor version) "/"
4679 "libsoup-" version ".tar.xz"))
4680 (sha256
4681 (base32
4682 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4683 (build-system meson-build-system)
4684 (outputs '("out" "doc"))
4685 (arguments
4686 `(#:modules ((guix build utils)
4687 (guix build meson-build-system)
4688 (ice-9 popen))
4689
4690 #:configure-flags '("-Dgtk_doc=true")
4691 #:phases
4692 (modify-phases %standard-phases
4693 (add-after 'unpack 'patch-docbook-xml
4694 (lambda* (#:key inputs #:allow-other-keys)
4695 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4696 "/xml/dtd/docbook")))
4697 (substitute* (find-files "docs/reference")
4698 (("http://.*/docbookx\\.dtd")
4699 (string-append xmldoc "/docbookx.dtd")))
4700 #t)))
4701 (add-after 'unpack 'adjust-tests
4702 (lambda _
4703 ;; This test fails due to missing /etc/nsswitch.conf
4704 ;; in the build environment.
4705 (substitute* "tests/socket-test.c"
4706 ((".*/sockets/unconnected.*") ""))
4707
4708 ;; These fail because "subdomain.localhost" does not resolve in
4709 ;; the build environment.
4710 (substitute* "tests/hsts-test.c"
4711 ((".*/hsts/basic.*") "")
4712 ((".*/hsts/subdomains.*") "")
4713 ((".*/hsts/superdomain.*") "")
4714 ((".*/hsts/utf8-address.*") ""))
4715 (substitute* "tests/hsts-db-test.c"
4716 ((".*/hsts-db/subdomains.*") ""))
4717
4718 ;; Generate a self-signed certificate that has "localhost" as its
4719 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4720 ;; 3.5.12, tests such as "ssl-tests" fail:
4721 ;;
4722 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4723 ;;
4724 ;; 'certtool' is interactive so we have to pipe it the answers.
4725 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4726 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4727 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4728 (for-each (lambda (line)
4729 (display line pipe)
4730 (newline pipe))
4731 '("" ;Common name
4732 "" ;UID
4733 "Guix" ;Organizational unit name
4734 "GNU" ;Organization name
4735 "" ;Locality name
4736 "" ;State or province
4737 "" ;Country
4738 "" ;subject's domain component (DC)
4739 "" ;E-mail
4740 "" ;serial number
4741 "-1" ;expiration time
4742 "N" ;belong to authority?
4743 "N" ;web client certificate?
4744 "N" ;IPsec IKE?
4745 "Y" ;web server certificate?
4746 "localhost" ;dnsName of subject
4747 "" ;dnsName of subject (end)
4748 "" ;URI of subject
4749 "127.0.0.1" ;IP address of subject
4750 "" ;signing?
4751 "" ;encryption (RSA)?
4752 "" ;data encryption?
4753 "" ;sign OCSP requests?
4754 "" ;sign code?
4755 "" ;time stamping?
4756 "" ;email protection?
4757 "" ;URI of the CRL distribution point
4758 "y" ;above info OK?
4759 ))
4760 (close-pipe pipe))
4761 #t))
4762 (add-after 'install 'move-doc
4763 (lambda* (#:key outputs #:allow-other-keys)
4764 (let ((out (assoc-ref outputs "out"))
4765 (doc (assoc-ref outputs "doc")))
4766 (mkdir-p (string-append doc "/share"))
4767 (copy-recursively (string-append out "/share/gtk-doc")
4768 (string-append doc "/share/gtk-doc"))
4769 (delete-file-recursively (string-append out "/share/gtk-doc"))
4770 #t))))))
4771 (native-inputs
4772 `(("docbook-xml" ,docbook-xml-4.1.2)
4773 ("glib:bin" ,glib "bin") ; for glib-mkenums
4774 ("gobject-introspection" ,gobject-introspection)
4775 ("gtk-doc" ,gtk-doc)
4776 ("intltool" ,intltool)
4777 ("pkg-config" ,pkg-config)
4778 ("python" ,python-wrapper)
4779 ("vala" ,vala)
4780 ("php" ,php)
4781 ("curl" ,curl)
4782 ("gnutls" ,gnutls) ;for 'certtool'
4783 ("httpd" ,httpd)))
4784 (propagated-inputs
4785 ;; libsoup-2.4.pc refers to all these.
4786 `(("brotli" ,google-brotli)
4787 ("glib" ,glib)
4788 ("libpsl" ,libpsl)
4789 ("libxml2" ,libxml2)
4790 ("sqlite" ,sqlite)
4791 ("zlib" ,zlib)))
4792 (inputs
4793 `(("glib-networking" ,glib-networking)
4794 ("mit-krb5" ,mit-krb5)))
4795 (home-page "https://live.gnome.org/LibSoup/")
4796 (synopsis "GLib-based HTTP Library")
4797 (description
4798 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4799 and the GLib main loop, to integrate well with GNOME applications.")
4800 (license license:lgpl2.0+)))
4801
4802
4803 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4804 (define-public libsoup-minimal
4805 (package
4806 (inherit libsoup)
4807 (name "libsoup-minimal")
4808 (outputs (delete "doc" (package-outputs libsoup)))
4809 (arguments
4810 (substitute-keyword-arguments (package-arguments libsoup)
4811 ((#:configure-flags configure-flags)
4812 `(delete "-Dgtk_doc=true" ,configure-flags))
4813 ((#:phases phases)
4814 `(modify-phases ,phases
4815 (delete 'move-doc)))))
4816 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4817
4818 (define-public libsecret
4819 (package
4820 (name "libsecret")
4821 (version "0.20.4")
4822 (source (origin
4823 (method url-fetch)
4824 (uri (string-append
4825 "mirror://gnome/sources/libsecret/"
4826 (version-major+minor version) "/"
4827 "libsecret-" version ".tar.xz"))
4828 (sha256
4829 (base32
4830 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4831 (build-system gnu-build-system)
4832 (outputs '("out" "doc"))
4833 (arguments
4834 `(#:tests? #f ; FIXME: Testing hangs.
4835 #:configure-flags
4836 (list (string-append "--with-html-dir="
4837 (assoc-ref %outputs "doc")
4838 "/share/gtk-doc/html"))))
4839 (native-inputs
4840 `(("gettext" ,gettext-minimal)
4841 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4842 ("gobject-introspection" ,gobject-introspection)
4843 ("pkg-config" ,pkg-config)
4844 ("vala" ,vala)
4845 ("xsltproc" ,libxslt)))
4846 ;; These are needed for the tests.
4847 ;; FIXME: Add gjs once available.
4848 ;("dbus" ,dbus)
4849 ;("python2" ,python-2)
4850 ;("python2-dbus" ,python2-dbus)
4851 ;("python2-pygobject" ,python2-pygobject)
4852 ;("python2-pygobject-2" ,python2-pygobject-2)))
4853 (propagated-inputs
4854 `(("glib" ,glib))) ; required by libsecret-1.pc
4855 (inputs
4856 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4857 ;; doesn't seem to affect the build result.
4858 `(("docbook-xsl" ,docbook-xsl)
4859 ("libgcrypt" ,libgcrypt)
4860 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4861 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4862 (synopsis "GObject bindings for \"Secret Service\" API")
4863 (description
4864 "Libsecret is a GObject based library for storing and retrieving passwords
4865 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4866 (license license:lgpl2.1+)))
4867
4868 (define-public five-or-more
4869 (package
4870 (name "five-or-more")
4871 (version "3.32.2")
4872 (source
4873 (origin
4874 (method url-fetch)
4875 (uri (string-append "mirror://gnome/sources/five-or-more/"
4876 (version-major+minor version) "/"
4877 "five-or-more-" version ".tar.xz"))
4878 (sha256
4879 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4880 (build-system meson-build-system)
4881 (arguments
4882 '(#:glib-or-gtk? #t
4883 #:phases
4884 (modify-phases %standard-phases
4885 (add-after 'unpack 'skip-gtk-update-icon-cache
4886 (lambda _
4887 (substitute* "meson_post_install.py"
4888 (("gtk-update-icon-cache") (which "true")))
4889 #t)))))
4890 (native-inputs
4891 `(("pkg-config" ,pkg-config)
4892 ("appstream-glib" ,appstream-glib)
4893 ("desktop-file-utils" ,desktop-file-utils)
4894 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4895 ("intltool" ,intltool)
4896 ("itstool" ,itstool)
4897 ("vala" ,vala)
4898 ("xmllint" ,libxml2)))
4899 (inputs
4900 `(("gtk+" ,gtk+)
4901 ("libgnome-games-support" ,libgnome-games-support)
4902 ("librsvg" ,librsvg)))
4903 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4904 (synopsis "Logic puzzle game")
4905 (description "Five or More is a game where you try to align
4906 five or more objects of the same color and shape causing them to disappear.
4907 On every turn more objects will appear, until the board is full.
4908 Try to last as long as possible.")
4909 (license license:gpl2+)))
4910
4911 (define-public gnome-mines
4912 (package
4913 (name "gnome-mines")
4914 (version "3.36.1")
4915 (source
4916 (origin
4917 (method url-fetch)
4918 (uri (string-append "mirror://gnome/sources/" name "/"
4919 (version-major+minor version) "/"
4920 name "-" version ".tar.xz"))
4921 (sha256
4922 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
4923 (build-system meson-build-system)
4924 (arguments
4925 '(#:glib-or-gtk? #t
4926 #:phases
4927 (modify-phases %standard-phases
4928 (add-after 'unpack 'skip-gtk-update-icon-cache
4929 (lambda _
4930 (substitute* "build-aux/meson_post_install.py"
4931 (("gtk-update-icon-cache") (which "true")))
4932 #t)))))
4933 (native-inputs
4934 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4935 ("pkg-config" ,pkg-config)
4936 ("desktop-file-utils" ,desktop-file-utils)
4937 ("intltool" ,intltool)
4938 ("itstool" ,itstool)
4939 ("vala" ,vala)
4940 ("yelp" ,yelp)
4941 ("appstream-glib" ,appstream-glib)))
4942 (inputs
4943 `(("gtk+" ,gtk+)
4944 ("libgnome-games-support" ,libgnome-games-support)
4945 ("librsvg" ,librsvg)))
4946 (home-page "https://wiki.gnome.org/Apps/Mines")
4947 (synopsis "Minesweeper game")
4948 (description
4949 "Mines (previously gnomine) is a puzzle game where you locate mines
4950 floating in an ocean using only your brain and a little bit of luck.")
4951 (license license:gpl2+)))
4952
4953 (define-public gnome-multi-writer
4954 (package
4955 (name "gnome-multi-writer")
4956 (version "3.35.90")
4957 (source
4958 (origin
4959 (method url-fetch)
4960 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
4961 (version-major+minor version) "/"
4962 "gnome-multi-writer-" version ".tar.xz"))
4963 (sha256
4964 (base32
4965 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
4966 (build-system meson-build-system)
4967 (arguments
4968 '(#:glib-or-gtk? #t
4969 #:phases
4970 (modify-phases %standard-phases
4971 (add-after 'unpack 'skip-post-install
4972 (lambda _
4973 (substitute* "meson.build"
4974 (("meson.add_install_script" &) (string-append "# " &)))
4975 #t)))))
4976 (native-inputs
4977 `(("glib:bin" ,glib "bin")
4978 ("pkg-config" ,pkg-config)))
4979 (inputs
4980 `(("gtk+" ,gtk+)
4981 ("glib" ,glib) ; for gio
4982 ("gusb" ,gusb)
4983 ("udisks" ,udisks)
4984 ("libgudev" ,libgudev)
4985 ("libcanberra" ,libcanberra)
4986 ("polkit" ,polkit)))
4987 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
4988 (synopsis "Write to multiple USB devices at once")
4989 (description
4990 "MultiWriter can be used to write an ISO file to multiple USB devices at
4991 once.")
4992 (license license:gpl2+)))
4993
4994 (define-public gnome-sudoku
4995 (package
4996 (name "gnome-sudoku")
4997 (version "3.34.1")
4998 (source
4999 (origin
5000 (method url-fetch)
5001 (uri (string-append "mirror://gnome/sources/" name "/"
5002 (version-major+minor version) "/"
5003 name "-" version ".tar.xz"))
5004 (sha256
5005 (base32
5006 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5007 (build-system meson-build-system)
5008 (arguments
5009 '(#:glib-or-gtk? #t
5010 #:phases
5011 (modify-phases %standard-phases
5012 (add-after 'unpack 'skip-gtk-update-icon-cache
5013 (lambda _
5014 (substitute* "build-aux/post_install.py"
5015 (("gtk-update-icon-cache") (which "true")))
5016 #t)))))
5017 (native-inputs
5018 `(("pkg-config" ,pkg-config)
5019 ("desktop-file-utils" ,desktop-file-utils)
5020 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5021 ("intltool" ,intltool)
5022 ("itstool" ,itstool)
5023 ("vala" ,vala)
5024 ("xmllint" ,libxml2)))
5025 (inputs
5026 `(("gtk+" ,gtk+)
5027 ("json-glib" ,json-glib)
5028 ("libgee" ,libgee)
5029 ("librsvg" ,librsvg)
5030 ("qqwing" ,qqwing)))
5031 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5032 (synopsis "Japanese logic game")
5033 (description
5034 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5035 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5036 possible while still providing features that make playing difficult Sudoku
5037 more fun.")
5038 (license license:gpl2+)))
5039
5040 (define-public gnome-terminal
5041 (package
5042 (name "gnome-terminal")
5043 (version "3.34.2")
5044 (source
5045 (origin
5046 (method url-fetch)
5047 (uri (string-append "mirror://gnome/sources/" name "/"
5048 (version-major+minor version) "/"
5049 name "-" version ".tar.xz"))
5050 (sha256
5051 (base32
5052 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5053 (build-system glib-or-gtk-build-system)
5054 (arguments
5055 '(#:configure-flags
5056 (list "--disable-migration" "--disable-search-provider"
5057 "--without-nautilus-extension")
5058 #:phases
5059 (modify-phases %standard-phases
5060 (add-before 'configure 'patch-/bin/true
5061 (lambda _
5062 (substitute* "configure"
5063 (("/bin/true") (which "true"))))))))
5064 (native-inputs
5065 `(("pkg-config" ,pkg-config)
5066 ("desktop-file-utils" ,desktop-file-utils)
5067 ("intltool" ,intltool)
5068 ("itstool" ,itstool)
5069 ("xmllint" ,libxml2)))
5070 (propagated-inputs
5071 `(("dconf" ,dconf)))
5072 (inputs
5073 `(("gtk+" ,gtk+)
5074 ("vte" ,vte)
5075 ("gnutls" ,gnutls)
5076 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5077 ("util-linux" ,util-linux "lib")
5078 ("vala" ,vala)))
5079 (home-page "https://wiki.gnome.org/Apps/Terminal")
5080 (synopsis "Terminal emulator")
5081 (description
5082 "GNOME Terminal is a terminal emulator application for accessing a
5083 UNIX shell environment which can be used to run programs available on
5084 your system.
5085
5086 It supports several profiles, multiple tabs and implements several
5087 keyboard shortcuts.")
5088 (license license:gpl3+)))
5089
5090 (define-public colord
5091 (package
5092 (name "colord")
5093 (version "1.4.5")
5094 (source
5095 (origin
5096 (method url-fetch)
5097 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5098 "colord-" version ".tar.xz"))
5099 (sha256
5100 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5101 (build-system meson-build-system)
5102 (arguments
5103 '(;; FIXME: One test fails:
5104 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5105 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5106 ;; application/x-zerosize
5107 #:tests? #f
5108 #:glib-or-gtk? #t
5109 #:configure-flags (list "-Dlocalstatedir=/var"
5110 ;; No dep on systemd.
5111 "-Dsystemd=false"
5112 ;; Wants to install to global completion dir;
5113 ;; punt.
5114 "-Dbash_completion=false"
5115 "-Ddaemon_user=colord"
5116 "-Dsane=true"
5117 "-Dvapi=true"
5118 ;; Requires spotread.
5119 "-Dargyllcms_sensor=false"
5120 ;; TODO: Requires docbook2x.
5121 "-Dman=false")
5122 #:phases
5123 (modify-phases %standard-phases
5124 (add-before 'configure 'patch-build-system
5125 (lambda* (#:key outputs #:allow-other-keys)
5126 (substitute* "rules/meson.build"
5127 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5128 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5129 #t))
5130 (add-before 'configure 'set-sqlite3-file-name
5131 (lambda* (#:key inputs #:allow-other-keys)
5132 ;; "colormgr dump" works by invoking the "sqlite3" command.
5133 ;; Record its absolute file name.
5134 (let ((sqlite (assoc-ref inputs "sqlite")))
5135 (substitute* "client/cd-util.c"
5136 (("\"sqlite3\"")
5137 (string-append "\"" sqlite "/bin/sqlite3\"")))
5138 #t))))))
5139 (native-inputs
5140 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5141 ("gettext" ,gettext-minimal)
5142 ("gobject-introspection" ,gobject-introspection)
5143 ("gtk-doc" ,gtk-doc)
5144 ("pkg-config" ,pkg-config)
5145 ("vala" ,vala)))
5146 (propagated-inputs
5147 ;; colord.pc refers to all these.
5148 `(("glib" ,glib)
5149 ("lcms" ,lcms)
5150 ("udev" ,eudev)))
5151 (inputs
5152 `(("dbus-glib" ,dbus-glib)
5153 ("gusb" ,gusb)
5154 ("libgudev" ,libgudev)
5155 ("libusb" ,libusb)
5156 ("polkit" ,polkit)
5157 ("python" ,python-wrapper)
5158 ("sqlite" ,sqlite)
5159 ("sane-backends" ,sane-backends)))
5160 (home-page "https://www.freedesktop.org/software/colord/")
5161 (synopsis "Color management service")
5162 (description "Colord is a system service that makes it easy to manage,
5163 install and generate color profiles to accurately color manage input and
5164 output devices.")
5165 (license license:gpl2+)))
5166
5167 (define-public geoclue
5168 (package
5169 (name "geoclue")
5170 (version "2.5.7")
5171 (source
5172 (origin
5173 (method url-fetch)
5174 (uri
5175 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5176 version "/geoclue-" version ".tar.bz2"))
5177 (sha256
5178 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5179 (patches (search-patches "geoclue-config.patch"))))
5180 (build-system meson-build-system)
5181 (arguments
5182 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5183 (native-inputs
5184 `(("pkg-config" ,pkg-config)
5185 ("gobject-introspection" ,gobject-introspection)
5186 ("modem-manager" ,modem-manager)
5187 ("libnotify" ,libnotify)
5188 ("gtk-doc" ,gtk-doc)
5189 ("intltool" ,intltool)))
5190 (inputs
5191 `(("avahi" ,avahi)
5192 ("glib:bin" ,glib "bin")
5193 ("glib-networking" ,glib-networking)
5194 ("json-glib" ,json-glib)
5195 ("libsoup" ,libsoup)))
5196 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5197 (synopsis "Geolocation service")
5198 (description "Geoclue is a D-Bus service that provides location
5199 information. The primary goal of the Geoclue project is to make creating
5200 location-aware applications as simple as possible, while the secondary goal is
5201 to ensure that no application can access location information without explicit
5202 permission from user.")
5203 (license license:gpl2+)))
5204
5205 (define-public geocode-glib
5206 (package
5207 (name "geocode-glib")
5208 (version "3.26.2")
5209 (source (origin
5210 (method url-fetch)
5211 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5212 (version-major+minor version) "/"
5213 "geocode-glib-" version ".tar.xz"))
5214 (sha256
5215 (base32
5216 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5217 (build-system meson-build-system)
5218 (arguments
5219 `(#:phases
5220 (modify-phases %standard-phases
5221 ;; The tests require a bunch of locales.
5222 (add-before 'check 'set-locales
5223 (lambda* (#:key inputs #:allow-other-keys)
5224 (setenv "GUIX_LOCPATH"
5225 (string-append (assoc-ref inputs "glibc-locales")
5226 "/lib/locale"))
5227 #t)))))
5228 (native-inputs
5229 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5230 ("glibc-locales" ,glibc-locales) ; for tests
5231 ("gettext" ,gettext-minimal)
5232 ("gobject-introspection" ,gobject-introspection)
5233 ("gtk-doc" ,gtk-doc)
5234 ("pkg-config" ,pkg-config)
5235 ("json-glib" ,json-glib)))
5236 (propagated-inputs
5237 ;; geocode-glib-1.0.pc refers to GIO.
5238 `(("glib" ,glib)))
5239 (inputs
5240 `(("libsoup" ,libsoup)))
5241 (home-page "https://github.com/GNOME/geocode-glib/")
5242 (synopsis "Geocoding and reverse-geocoding library")
5243 (description
5244 "geocode-glib is a convenience library for geocoding (finding longitude,
5245 and latitude from an address) and reverse geocoding (finding an address from
5246 coordinates) using the Nominatim service. geocode-glib caches requests for
5247 faster results and to avoid unnecessary server load.")
5248 (license license:lgpl2.0+)))
5249
5250 (define-public upower
5251 (package
5252 (name "upower")
5253 (version "0.99.11")
5254 (source (origin
5255 (method url-fetch)
5256 (uri (string-append "https://upower.freedesktop.org/releases/"
5257 "upower-" version ".tar.xz"))
5258 (sha256
5259 (base32
5260 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5261 (patches (search-patches "upower-builddir.patch"))
5262 (modules '((guix build utils)))
5263 (snippet
5264 '(begin
5265 ;; Upstream commit
5266 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5267 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5268 ;; 'dbus-configuration-directory' in (gnu services dbus)
5269 ;; expects it in etc/. Thus, move it back to its previous
5270 ;; location.
5271 (substitute* "src/Makefile.in"
5272 (("^dbusconfdir =.*$")
5273 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5274 #t))))
5275 (build-system glib-or-gtk-build-system)
5276 (arguments
5277 '(#:phases
5278 (modify-phases %standard-phases
5279 (add-before 'check 'pre-check
5280 (lambda* (#:key inputs #:allow-other-keys)
5281 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5282 "/lib")))
5283 (setenv "LD_LIBRARY_PATH" umockdev))
5284 #t)))
5285 #:configure-flags (list "--localstatedir=/var"
5286 (string-append "--with-udevrulesdir="
5287 (assoc-ref %outputs "out")
5288 "/lib/udev/rules.d"))))
5289 (native-inputs
5290 `(("gobject-introspection" ,gobject-introspection)
5291 ("pkg-config" ,pkg-config)
5292 ("intltool" ,intltool)
5293 ("python" ,python)
5294
5295 ;; For tests.
5296 ("python-dbus" ,python-dbus)
5297 ("python-dbusmock" ,python-dbusmock)
5298 ("python-pygobject" ,python-pygobject)
5299 ("umockdev" ,umockdev)
5300
5301 ;; For man pages.
5302 ("libxslt" ,libxslt) ;for 'xsltproc'
5303 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5304 ("docbook-xsl" ,docbook-xsl)))
5305 (inputs
5306 `(("dbus-glib" ,dbus-glib)
5307 ("libgudev" ,libgudev)
5308 ("libusb" ,libusb)))
5309 (propagated-inputs
5310 ;; In Requires of upower-glib.pc.
5311 `(("glib" ,glib)))
5312 (home-page "https://upower.freedesktop.org/")
5313 (synopsis "System daemon for managing power devices")
5314 (description
5315 "UPower is an abstraction for enumerating power devices,
5316 listening to device events and querying history and statistics. Any
5317 application or service on the system can access the org.freedesktop.UPower
5318 service via the system message bus.")
5319 (license license:gpl2+)))
5320
5321 (define-public libgweather
5322 (package
5323 (name "libgweather")
5324 (version "3.34.0")
5325 (source (origin
5326 (method url-fetch)
5327 (uri (string-append "mirror://gnome/sources/" name "/"
5328 (version-major+minor version) "/"
5329 name "-" version ".tar.xz"))
5330 (sha256
5331 (base32
5332 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5333 (build-system meson-build-system)
5334 (arguments
5335 `(#:tests? #f ; one of two tests requires network access
5336 #:configure-flags
5337 `(,(string-append "-Dzoneinfo_dir="
5338 (assoc-ref %build-inputs "tzdata")
5339 "/share/zoneinfo"))))
5340 (native-inputs
5341 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5342 ("gobject-introspection" ,gobject-introspection)
5343 ("pkg-config" ,pkg-config)
5344 ("vala" ,vala)
5345 ("intltool" ,intltool)))
5346 (propagated-inputs
5347 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5348 ;; libsoup.
5349 `(("gtk+" ,gtk+)
5350 ("gdk-pixbuf" ,gdk-pixbuf)
5351 ("libxml2" ,libxml2)
5352 ("libsoup" ,libsoup)
5353 ("geocode-glib" ,geocode-glib)))
5354 (inputs
5355 `(("tzdata" ,tzdata)))
5356 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5357 (synopsis "Location, time zone, and weather library for GNOME")
5358 (description
5359 "libgweather is a library to access weather information from online
5360 services for numerous locations.")
5361 (license license:gpl2+)))
5362
5363 (define-public gnome-settings-daemon
5364 (package
5365 (name "gnome-settings-daemon")
5366 (version "3.34.1")
5367 (source
5368 (origin
5369 (method url-fetch)
5370 (uri (string-append "mirror://gnome/sources/" name "/"
5371 (version-major+minor version) "/"
5372 name "-" version ".tar.xz"))
5373 (sha256
5374 (base32
5375 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5376 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5377 (build-system meson-build-system)
5378 (arguments
5379 `(#:glib-or-gtk? #t
5380 #:configure-flags
5381 (list (string-append "-Dudev_dir="
5382 (assoc-ref %outputs "out")
5383 "/lib/udev/rules.d/")
5384 "-Dsystemd=false"
5385 ;; Otherwise, the RUNPATH will lack the final path component.
5386 (string-append "-Dc_link_args=-Wl,-rpath="
5387 (assoc-ref %outputs "out")
5388 "/lib/gnome-settings-daemon-3.0"))
5389
5390 #:phases (modify-phases %standard-phases
5391 (add-before 'configure 'set-baobab-file-name
5392 (lambda* (#:key inputs #:allow-other-keys)
5393 ;; Hard-code the file name of Baobab instead of looking
5394 ;; it up in $PATH. This ensures users get the "Examine"
5395 ;; button in the low disk space notification of GDM even
5396 ;; if they don't have GNOME in their main profile.
5397 (let ((baobab (assoc-ref inputs "baobab")))
5398 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5399 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5400 (string-append "g_strdup (\"" baobab
5401 "/bin/baobab\")")))
5402 #t))))
5403
5404 ;; Color management test can't reach the colord system service.
5405 #:tests? #f))
5406 (native-inputs
5407 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5408 ("pkg-config" ,pkg-config)
5409 ("intltool" ,intltool)
5410 ("xsltproc" ,libxslt)
5411 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5412 ("docbook-xml" ,docbook-xml-4.2)
5413 ("docbook-xsl" ,docbook-xsl)))
5414 (inputs
5415 `(("alsa-lib" ,alsa-lib)
5416 ("baobab" ,baobab)
5417 ("colord" ,colord)
5418 ("libgudev" ,libgudev)
5419 ("upower" ,upower)
5420 ("polkit" ,polkit)
5421 ("pulseaudio" ,pulseaudio)
5422 ("libcanberra" ,libcanberra)
5423 ("libx11" ,libx11)
5424 ("libxtst" ,libxtst)
5425 ("lcms" ,lcms)
5426 ("libnotify" ,libnotify)
5427 ("geoclue" ,geoclue)
5428 ("geocode-glib" ,geocode-glib)
5429 ("libgweather" ,libgweather)
5430 ("gnome-desktop" ,gnome-desktop)
5431 ("nss" ,nss)
5432 ("cups" ,cups)
5433 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5434 ("libwacom" ,libwacom)
5435 ("librsvg" ,librsvg)
5436 ("xf86-input-wacom" ,xf86-input-wacom)
5437 ("wayland" ,wayland)
5438 ("network-manager" ,network-manager)
5439 ("gcr" ,gcr)
5440 ("modem-manager" ,modem-manager)))
5441 (home-page "https://www.gnome.org")
5442 (synopsis "GNOME settings daemon")
5443 (description
5444 "This package contains the daemon responsible for setting the various
5445 parameters of a GNOME session and the applications that run under it. It
5446 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5447 settings, themes, mouse settings, and startup of other daemons.")
5448 (license license:gpl2+)))
5449
5450 (define-public totem-pl-parser
5451 (package
5452 (name "totem-pl-parser")
5453 (version "3.26.5")
5454 (source (origin
5455 (method url-fetch)
5456 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5457 (version-major+minor version) "/"
5458 "totem-pl-parser-" version ".tar.xz"))
5459 (sha256
5460 (base32
5461 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5462 (build-system meson-build-system)
5463 (arguments
5464 ;; FIXME: Tests require gvfs.
5465 `(#:tests? #f))
5466 (native-inputs
5467 `(("intltool" ,intltool)
5468 ("glib" ,glib "bin")
5469 ("gobject-introspection" ,gobject-introspection)
5470 ("pkg-config" ,pkg-config)))
5471 (propagated-inputs
5472 `(("glib" ,glib)
5473 ("gmime" ,gmime)
5474 ("libarchive" ,libarchive)
5475 ("libgcrypt" ,libgcrypt)
5476 ("libxml2" ,libxml2)))
5477 (inputs
5478 `(("libsoup" ,libsoup)))
5479 (home-page "https://projects.gnome.org/totem")
5480 (synopsis "Library to parse and save media playlists for GNOME")
5481 (description "Totem-pl-parser is a GObjects-based library to parse and save
5482 playlists in a variety of formats.")
5483 (license license:lgpl2.0+)))
5484
5485 (define-public aisleriot
5486 (package
5487 (name "aisleriot")
5488 (version "3.22.9")
5489 (source (origin
5490 (method url-fetch)
5491 (uri (string-append "mirror://gnome/sources/aisleriot/"
5492 (version-major+minor version) "/"
5493 "aisleriot-" version ".tar.xz"))
5494 (sha256
5495 (base32
5496 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5497 (build-system glib-or-gtk-build-system)
5498 (arguments
5499 '(#:configure-flags
5500 '("--with-platform=gtk-only"
5501 "--with-card-theme-formats=svg")))
5502 (native-inputs
5503 `(("desktop-file-utils" ,desktop-file-utils)
5504 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5505 ("intltool" ,intltool)
5506 ("itstool" ,itstool)
5507 ("pkg-config" ,pkg-config)
5508 ("xmllint" ,libxml2)))
5509 (inputs
5510 `(("gtk+" ,gtk+)
5511 ("guile" ,guile-2.2)
5512 ("libcanberra" ,libcanberra)
5513 ("librsvg" ,librsvg)))
5514 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5515 (synopsis "Solitaire card games")
5516 (description
5517 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5518 which are easy to play with the aid of a mouse.")
5519 (license license:gpl3+)))
5520
5521 (define-public amtk
5522 (package
5523 (name "amtk")
5524 (version "5.0.2")
5525 (source (origin
5526 (method url-fetch)
5527 (uri (string-append "mirror://gnome/sources/amtk/"
5528 (version-major+minor version) "/"
5529 "amtk-" version ".tar.xz"))
5530 (sha256
5531 (base32
5532 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5533 (build-system gnu-build-system)
5534 (arguments
5535 '(#:configure-flags '("--enable-gtk-doc")))
5536 (native-inputs
5537 `(("gobject-introspection" ,gobject-introspection)
5538 ("glib:bin" ,glib "bin") ; for glib-mkenums
5539 ("gtk-doc" ,gtk-doc)
5540 ("pkg-config" ,pkg-config)))
5541 (inputs
5542 `(("glib" ,glib)
5543 ("gtk+" ,gtk+)))
5544 (home-page "https://wiki.gnome.org/Projects/Amtk")
5545 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5546 (description
5547 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5548 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5549 both a traditional UI or a modern UI with a GtkHeaderBar.")
5550 (license license:lgpl2.1+)))
5551
5552 (define-public devhelp
5553 (package
5554 (name "devhelp")
5555 (version "3.34.0")
5556 (source (origin
5557 (method url-fetch)
5558 (uri (string-append "mirror://gnome/sources/" name "/"
5559 (version-major+minor version) "/"
5560 name "-" version ".tar.xz"))
5561 (sha256
5562 (base32
5563 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5564 (build-system meson-build-system)
5565 (arguments
5566 '(#:glib-or-gtk? #t
5567 #:phases
5568 (modify-phases %standard-phases
5569 (add-after 'unpack 'skip-gtk-update-icon-cache
5570 ;; Don't create 'icon-theme.cache'.
5571 (lambda _
5572 (substitute* "meson_post_install.py"
5573 (("gtk-update-icon-cache") "true"))
5574 #t)))))
5575 (native-inputs
5576 `(("intltool" ,intltool)
5577 ("itstool" ,itstool)
5578 ("gobject-introspection" ,gobject-introspection)
5579 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5580 ("pkg-config" ,pkg-config)))
5581 (inputs
5582 `(("amtk" ,amtk)
5583 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5584 ("webkitgtk" ,webkitgtk)))
5585 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5586 (synopsis "API documentation browser for GNOME")
5587 (description
5588 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5589 natively with GTK-Doc (the API reference system developed for GTK+ and used
5590 throughout GNOME for API documentation).")
5591 (license license:gpl2+)))
5592
5593 (define-public cogl
5594 (package
5595 (name "cogl")
5596 (version "1.22.8")
5597 (source
5598 (origin
5599 (method url-fetch)
5600 (uri (string-append "mirror://gnome/sources/cogl/"
5601 (version-major+minor version) "/"
5602 "cogl-" version ".tar.xz"))
5603 (sha256
5604 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5605 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5606 ;; cogl, corresponding changes may be appropriate in mutter as well.
5607 (build-system gnu-build-system)
5608 (native-inputs
5609 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5610 ("gobject-introspection" ,gobject-introspection)
5611 ("xorg-server" ,xorg-server-for-tests)
5612 ("pkg-config" ,pkg-config)))
5613 (propagated-inputs
5614 `(("glib" ,glib)
5615 ("gdk-pixbuf" ,gdk-pixbuf)
5616 ("libx11" ,libx11)
5617 ("libxext" ,libxext)
5618 ("libxfixes" ,libxfixes)
5619 ("libxdamage" ,libxdamage)
5620 ("libxcomposite" ,libxcomposite)
5621 ("libxrandr" ,libxrandr)))
5622 (inputs
5623 `(("mesa" ,mesa)
5624 ("cairo" ,cairo)
5625 ("pango" ,pango)
5626 ("gstreamer" ,gstreamer)
5627 ("gst-plugins-base" ,gst-plugins-base)
5628 ("wayland" ,wayland)))
5629 (arguments
5630 `(#:disallowed-references (,xorg-server-for-tests)
5631 #:configure-flags (list "--enable-cogl-gst"
5632 "--enable-wayland-egl-platform"
5633 "--enable-wayland-egl-server"
5634
5635 ;; Arrange to pass an absolute file name to
5636 ;; dlopen for libGL.so.
5637 (string-append "--with-gl-libname="
5638 (assoc-ref %build-inputs "mesa")
5639 "/lib/libGL.so"))
5640 #:phases
5641 (modify-phases %standard-phases
5642 (add-after 'unpack 'fix-build-with-mesa-20
5643 (lambda _
5644 ;; Work around a problem with Mesa 20 where some macros used by
5645 ;; Cogl went missing from eglext.h. This can likely be removed
5646 ;; for newer versions of Cogl or Mesa.
5647 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5648 (substitute* '("configure"
5649 "cogl/winsys/cogl-winsys-egl-kms.c")
5650 (("#include <EGL/eglext.h>" all)
5651 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5652 #t))
5653 (add-before 'check 'start-xorg-server
5654 (lambda* (#:key tests? inputs #:allow-other-keys)
5655 (if tests?
5656 (begin
5657 ;; The test suite requires a running X server.
5658 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5659 (assoc-ref inputs "xorg-server")))
5660 (setenv "DISPLAY" ":1")
5661 #t)
5662 (format #t "test suite not run~%"))
5663 #t)))))
5664 (home-page "https://www.cogl3d.org")
5665 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5666 (description
5667 "Cogl is a small library for using 3D graphics hardware to draw pretty
5668 pictures. The API departs from the flat state machine style of OpenGL and is
5669 designed to make it easy to write orthogonal components that can render
5670 without stepping on each others toes.")
5671 (license (list license:expat ; most of the code
5672 license:bsd-3 ; cogl/cogl-point-in-poly.c
5673 license:sgifreeb2.0 ; cogl-path/tesselator/
5674 license:asl2.0)))) ; examples/android/
5675
5676 (define-public clutter
5677 (package
5678 (name "clutter")
5679 (version "1.26.2")
5680 (source
5681 (origin
5682 (method url-fetch)
5683 (uri (string-append "mirror://gnome/sources/" name "/"
5684 (version-major+minor version) "/"
5685 name "-" version ".tar.xz"))
5686 (sha256
5687 (base32
5688 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5689 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5690 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5691 (build-system gnu-build-system)
5692 (outputs '("out"
5693 "doc")) ;9 MiB of gtk-doc HTML pages
5694 (native-inputs
5695 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5696 ("gobject-introspection" ,gobject-introspection)
5697 ("pkg-config" ,pkg-config)
5698 ("xsltproc" ,libxslt)))
5699 (propagated-inputs
5700 `(("cogl" ,cogl)
5701 ("cairo" ,cairo)
5702 ("atk" ,atk)
5703 ("gtk+" ,gtk+)
5704 ("json-glib" ,json-glib)
5705 ("glib" ,glib)
5706 ("libxcomposite" ,libxcomposite)
5707 ("libxdamage" ,libxdamage)
5708 ("libxext" ,libxext)
5709 ("xinput" ,xinput)))
5710 (inputs
5711 `(("libxkbcommon" ,libxkbcommon)
5712 ("udev" ,eudev)))
5713 (arguments
5714 `(#:configure-flags (list "--enable-x11-backend=yes"
5715
5716 ;; This produces share/doc/{clutter,cally}.
5717 (string-append "--with-html-dir="
5718 (assoc-ref %outputs "doc")
5719 "/share/doc"))
5720 ;; XXX FIXME: Get test suite working. It would probably fail in the
5721 ;; same way the cogl tests fail, since clutter is based on cogl.
5722 #:tests? #f))
5723 (home-page "http://www.clutter-project.org")
5724 (synopsis "OpenGL-based interactive canvas library")
5725 (description
5726 "Clutter is an OpenGL-based interactive canvas library, designed for
5727 creating fast, mainly 2D single window applications such as media box UIs,
5728 presentations, kiosk style applications and so on.")
5729 (license license:lgpl2.0+)))
5730
5731 (define-public clutter-gtk
5732 (package
5733 (name "clutter-gtk")
5734 (version "1.8.4")
5735 (source
5736 (origin
5737 (method url-fetch)
5738 (uri (string-append "mirror://gnome/sources/" name "/"
5739 (version-major+minor version) "/"
5740 name "-" version ".tar.xz"))
5741 (sha256
5742 (base32
5743 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5744 (build-system gnu-build-system)
5745 (native-inputs
5746 `(("pkg-config" ,pkg-config)
5747 ("gobject-introspection" ,gobject-introspection)))
5748 (propagated-inputs
5749 ;; clutter-gtk.pc refers to all these.
5750 `(("clutter" ,clutter)
5751 ("gtk+" ,gtk+)))
5752 (home-page "http://www.clutter-project.org")
5753 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5754 (description
5755 "Clutter is an OpenGL-based interactive canvas library, designed for
5756 creating fast, mainly 2D single window applications such as media box UIs,
5757 presentations, kiosk style applications and so on.")
5758 (license license:lgpl2.0+)))
5759
5760 (define-public clutter-gst
5761 (package
5762 (name "clutter-gst")
5763 (version "3.0.27")
5764 (source
5765 (origin
5766 (method url-fetch)
5767 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5768 (version-major+minor version) "/"
5769 "clutter-gst-" version ".tar.xz"))
5770 (sha256
5771 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5772 (build-system gnu-build-system)
5773 (native-inputs
5774 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5775 ("pkg-config" ,pkg-config)
5776 ("gobject-introspection" ,gobject-introspection)))
5777 (inputs
5778 `(("clutter" ,clutter)
5779 ("gstreamer" ,gstreamer)
5780 ("gst-plugins-base" ,gst-plugins-base)))
5781 (home-page "http://www.clutter-project.org")
5782 (synopsis "Integration library for using GStreamer with Clutter")
5783 (description
5784 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5785 It provides a GStreamer sink to upload frames to GL and an actor that
5786 implements the ClutterGstPlayer interface using playbin. Clutter is an
5787 OpenGL-based interactive canvas library.")
5788 (license license:lgpl2.0+)))
5789
5790 (define-public libchamplain
5791 (package
5792 (name "libchamplain")
5793 (version "0.12.16")
5794 (source (origin
5795 (method url-fetch)
5796 (uri (string-append
5797 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5798 version ".tar.xz"))
5799 (sha256
5800 (base32
5801 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5802 (build-system gnu-build-system)
5803 (arguments '(#:configure-flags '("--enable-vala")))
5804 (native-inputs
5805 `(("gobject-introspection" ,gobject-introspection)
5806 ("pkg-config" ,pkg-config)
5807 ("vala" ,vala)))
5808 (propagated-inputs
5809 `(("libsoup" ,libsoup)
5810 ("sqlite" ,sqlite)
5811 ("clutter" ,clutter)
5812 ("clutter-gtk" ,clutter-gtk)
5813 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5814 ("cairo" ,cairo)
5815 ("gtk+3" ,gtk+)
5816 ("glib" ,glib)))
5817 (home-page "https://projects.gnome.org/libchamplain/")
5818 (synopsis "C library providing a ClutterActor to display maps")
5819 (description
5820 "libchamplain is a C library providing a ClutterActor to display maps.
5821 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5822 and Perl bindings are also available. It supports numerous free map sources
5823 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5824 (license license:lgpl2.1+)))
5825
5826 (define-public gom
5827 (package
5828 (name "gom")
5829 (version "0.3.2")
5830 (source
5831 (origin
5832 (method url-fetch)
5833 (uri (string-append "mirror://gnome/sources/gom/"
5834 (version-major+minor version) "/"
5835 "gom-" version ".tar.xz"))
5836 (sha256
5837 (base32
5838 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5839 (build-system gnu-build-system)
5840 (native-inputs
5841 `(("intltool" ,intltool)
5842 ("pkg-config" ,pkg-config)
5843 ("gobject-introspection" ,gobject-introspection)))
5844 (inputs
5845 `(("glib" ,glib)
5846 ("gdk-pixbuf" ,gdk-pixbuf)
5847 ("sqlite" ,sqlite)))
5848 ;; XXX TODO: Figure out how to run the test suite.
5849 (arguments `(#:tests? #f))
5850 (home-page "https://wiki.gnome.org/Projects/Gom")
5851 (synopsis "Object mapper from GObjects to SQLite")
5852 (description
5853 "Gom provides an object mapper from GObjects to SQLite. It helps you
5854 write applications that need to store structured data as well as make complex
5855 queries upon that data.")
5856 (license license:lgpl2.1+)))
5857
5858 (define-public libgnome-games-support
5859 (package
5860 (name "libgnome-games-support")
5861 (version "1.4.4")
5862 (source (origin
5863 (method url-fetch)
5864 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5865 (version-major+minor version) "/"
5866 "libgnome-games-support-" version ".tar.xz"))
5867 (sha256
5868 (base32
5869 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5870 (build-system gnu-build-system)
5871 (arguments
5872 '(#:phases
5873 (modify-phases %standard-phases
5874 (add-before 'check 'pre-check
5875 (lambda _
5876 ;; Tests require a writable HOME.
5877 (setenv "HOME" (getcwd))
5878 #t)))))
5879 (native-inputs
5880 `(("intltool" ,intltool)
5881 ("pkg-config" ,pkg-config)
5882 ("vala" ,vala)))
5883 (propagated-inputs
5884 ;; Required by libgnome-games-support-1.0.pc
5885 `(("gtk+" ,gtk+)
5886 ("libgee" ,libgee)))
5887 (home-page "https://www.gnome.org/")
5888 (synopsis "Useful functionality shared among GNOME games")
5889 (description
5890 "libgnome-games-support is a small library intended for internal use by
5891 GNOME Games, but it may be used by others.")
5892 (license license:lgpl3+)))
5893
5894 (define-public gnome-klotski
5895 (package
5896 (name "gnome-klotski")
5897 (version "3.34.0")
5898 (source (origin
5899 (method url-fetch)
5900 (uri (string-append "mirror://gnome/sources/" name "/"
5901 (version-major+minor version) "/"
5902 name "-" version ".tar.xz"))
5903 (sha256
5904 (base32
5905 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5906 (build-system meson-build-system)
5907 (arguments
5908 '(#:glib-or-gtk? #t
5909 #:phases
5910 (modify-phases %standard-phases
5911 (add-after 'unpack 'skip-gtk-update-icon-cache
5912 ;; Don't create 'icon-theme.cache'.
5913 (lambda _
5914 (substitute* "build-aux/meson_post_install.py"
5915 (("gtk-update-icon-cache") (which "true")))
5916 #t)))))
5917 (native-inputs
5918 `(("desktop-file-utils" ,desktop-file-utils)
5919 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5920 ("intltool" ,intltool)
5921 ("itstool" ,itstool)
5922 ("pkg-config" ,pkg-config)
5923 ("vala" ,vala)
5924 ("xmllint" ,libxml2)))
5925 (inputs
5926 `(("gtk+" ,gtk+)
5927 ("libgnome-games-support" ,libgnome-games-support)
5928 ("librsvg" ,librsvg)))
5929 (home-page "https://wiki.gnome.org/Apps/Klotski")
5930 (synopsis "Sliding block puzzles")
5931 (description
5932 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
5933 the patterned block to the area bordered by green markers. To do so, you will
5934 need to slide other blocks out of the way. Complete each puzzle in as few moves
5935 as possible!")
5936 (license license:gpl2+)))
5937
5938 (define-public grilo
5939 (package
5940 (name "grilo")
5941 (version "0.3.12")
5942 (source
5943 (origin
5944 (method url-fetch)
5945 (uri (string-append "mirror://gnome/sources/grilo/"
5946 (version-major+minor version) "/"
5947 "grilo-" version ".tar.xz"))
5948 (sha256
5949 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
5950 (build-system meson-build-system)
5951 (native-inputs
5952 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
5953 ("intltool" ,intltool)
5954 ("pkg-config" ,pkg-config)
5955 ("gobject-introspection" ,gobject-introspection)
5956 ("gtk-doc" ,gtk-doc)
5957 ("vala" ,vala)))
5958 (inputs
5959 `(("cyrus-sasl" ,cyrus-sasl)
5960 ("glib" ,glib)
5961 ("gtk+" ,gtk+)
5962 ("libxml2" ,libxml2)
5963 ("liboauth" ,liboauth)
5964 ("libsoup" ,libsoup)
5965 ("totem-pl-parser" ,totem-pl-parser)))
5966 (native-search-paths
5967 (list (search-path-specification
5968 (variable "GRL_PLUGIN_PATH")
5969 (files (list (string-append "lib/grilo-"
5970 (version-major+minor version)))))))
5971 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
5972 (synopsis "Framework for discovering and browsing media")
5973 (description
5974 "Grilo is a framework focused on making media discovery and browsing easy
5975 for application developers.")
5976 (license license:lgpl2.1+)))
5977
5978 (define-public grilo-plugins
5979 (package
5980 (name "grilo-plugins")
5981 (version "0.3.11")
5982 (source
5983 (origin
5984 (method url-fetch)
5985 (uri (string-append "mirror://gnome/sources/" name "/"
5986 (version-major+minor version) "/"
5987 name "-" version ".tar.xz"))
5988 (sha256
5989 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
5990 (build-system meson-build-system)
5991 (native-inputs
5992 `(("gettext" ,gettext-minimal)
5993 ("glib:bin" ,glib "bin")
5994 ("gtk+:bin" ,gtk+ "bin")
5995 ("itstool" ,itstool)
5996 ("pkg-config" ,pkg-config)))
5997 ;; TODO: ahavi, gstreamer
5998 (inputs
5999 `(("grilo" ,grilo)
6000 ;("gmime" ,gmime) ; unused
6001 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6002 ("gom" ,gom)
6003 ;("gssdp" ,gssdp) ; unused
6004 ;("gupnp" ,gupnp) ; unused
6005 ;("gupnp-av" ,gupnp-av) ; unused
6006 ("json-glib" ,json-glib)
6007 ("avahi" ,avahi)
6008 ("libgdata" ,libgdata)
6009 ("libmediaart" ,libmediaart)
6010 ;("librest" ,rest) ; unused
6011 ("libsoup" ,libsoup)
6012 ("totam-pl-parser" ,totem-pl-parser)
6013 ("tracker" ,tracker))) ; unused because it's too old
6014 (arguments
6015 `(#:glib-or-gtk? #t
6016 ;;Disable lua-factory as it needs missing dependencies
6017 #:configure-flags '("-Denable-lua-factory=no")))
6018 (home-page "https://live.gnome.org/Grilo")
6019 (synopsis "Plugins for the Grilo media discovery library")
6020 (description
6021 "Grilo is a framework focused on making media discovery and browsing easy
6022 for application developers. This package provides plugins for common media
6023 discovery protocols.")
6024 (license license:lgpl2.1+)))
6025
6026 (define-public totem
6027 (package
6028 (name "totem")
6029 (version "3.38.0")
6030 (source
6031 (origin
6032 (method url-fetch)
6033 (uri (string-append "mirror://gnome/sources/totem/"
6034 (version-major+minor version) "/"
6035 "totem-" version ".tar.xz"))
6036 (sha256
6037 (base32
6038 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6039 (build-system meson-build-system)
6040 (native-inputs
6041 `(("pkg-config" ,pkg-config)
6042 ("desktop-file-utils" ,desktop-file-utils)
6043 ("gettext" ,gettext-minimal)
6044 ("gobject-introspection" ,gobject-introspection)
6045 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6046 ("itstool" ,itstool)
6047 ("xmllint" ,libxml2)
6048 ("xorg-server" ,xorg-server-for-tests)))
6049 (propagated-inputs
6050 `(("dconf" ,dconf)))
6051 (inputs
6052 `(("gtk+" ,gtk+)
6053 ("gdk-pixbuf" ,gdk-pixbuf)
6054 ("atk" ,atk)
6055 ("cairo" ,cairo)
6056 ("dbus-glib" ,dbus-glib)
6057 ("clutter" ,clutter)
6058 ("clutter-gtk" ,clutter-gtk)
6059 ("clutter-gst" ,clutter-gst)
6060 ("xorgproto" ,xorgproto)
6061 ("libxxf86vm" ,libxxf86vm)
6062 ("libxtst" ,libxtst)
6063 ("libxrandr" ,libxrandr)
6064 ("libxml2" ,libxml2)
6065 ("libsoup" ,libsoup)
6066 ("libpeas" ,libpeas)
6067 ("librsvg" ,librsvg)
6068 ("lirc" ,lirc)
6069 ("gnome-desktop" ,gnome-desktop)
6070 ("gstreamer" ,gstreamer)
6071 ("gst-plugins-base" ,gst-plugins-base)
6072 ("gst-plugins-good" ,gst-plugins-good)
6073 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6074 ("adwaita-icon-theme" ,adwaita-icon-theme)
6075 ("python" ,python)
6076 ("python-pygobject" ,python-pygobject)
6077 ("totem-pl-parser" ,totem-pl-parser)
6078 ("grilo" ,grilo)
6079 ("grilo-plugins" ,grilo-plugins)
6080 ("vala" ,vala)))
6081 (arguments
6082 `(#:glib-or-gtk? #t
6083
6084 ;; Disable automatic GStreamer plugin installation via PackageKit and
6085 ;; all that.
6086 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6087
6088 ;; Do not build .a files for the plugins, it's
6089 ;; completely useless. This saves 2 MiB.
6090 "--default-library" "shared")
6091 #:phases
6092 (modify-phases %standard-phases
6093 (add-after 'unpack 'skip-gtk-update-icon-cache
6094 ;; Don't create 'icon-theme.cache'.
6095 (lambda _
6096 (substitute* "meson_post_install.py"
6097 (("gtk-update-icon-cache") "true"))
6098 #t))
6099 (add-after 'unpack 'patch-failing-test
6100 (lambda _
6101 ;; Work around test failure with GStreamer 1.18, because the test
6102 ;; relies on "und" not being mapped to a particular language:
6103 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6104 (substitute* "src/test-totem.c"
6105 (("und") "nosuchlang"))
6106 #t))
6107 (add-before
6108 'install 'disable-cache-generation
6109 (lambda _
6110 (setenv "DESTDIR" "/")
6111 #t))
6112 (add-before
6113 'check 'pre-check
6114 (lambda _
6115 ;; Tests require a running X server.
6116 (system "Xvfb :1 &")
6117 (setenv "DISPLAY" ":1")
6118 #t))
6119 (add-after
6120 'install 'wrap-totem
6121 (lambda* (#:key inputs outputs #:allow-other-keys)
6122 (let ((out (assoc-ref outputs "out"))
6123 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6124 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6125 (wrap-program (string-append out "/bin/totem")
6126 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6127 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6128 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6129 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6130 #t)))))
6131 (home-page "https://wiki.gnome.org/Apps/Videos")
6132 (synopsis "Simple media player for GNOME based on GStreamer")
6133 (description "Totem is a simple yet featureful media player for GNOME
6134 which can read a large number of file formats.")
6135 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6136 ;; to be used and distributed together with GStreamer and Totem. See
6137 ;; file://COPYING in the source distribution for details.
6138 (license license:gpl2+)))
6139
6140 (define-public rhythmbox
6141 (package
6142 (name "rhythmbox")
6143 (version "3.4.4")
6144 (source (origin
6145 (method url-fetch)
6146 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6147 (version-major+minor version) "/"
6148 "rhythmbox-" version ".tar.xz"))
6149 (sha256
6150 (base32
6151 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6152 (build-system glib-or-gtk-build-system)
6153 (arguments
6154 `(#:configure-flags
6155 (list "--enable-lirc"
6156 "--enable-python"
6157 "--enable-vala"
6158 "--with-brasero"
6159 "--with-gudev"
6160 "--with-libsecret")
6161 #:phases
6162 (modify-phases %standard-phases
6163 (add-after
6164 'install 'wrap-rhythmbox
6165 (lambda* (#:key inputs outputs #:allow-other-keys)
6166 (let ((out (assoc-ref outputs "out"))
6167 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6168 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6169 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6170 (python-path (getenv "PYTHONPATH")))
6171 (wrap-program (string-append out "/bin/rhythmbox")
6172 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6173 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6174 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6175 `("PYTHONPATH" ":" prefix (,python-path))))
6176 #t)))))
6177 (propagated-inputs
6178 `(("dconf" ,dconf)))
6179 (native-inputs
6180 `(("itstool" ,itstool)
6181 ("intltool" ,intltool)
6182 ("glib" ,glib "bin")
6183 ("gobject-introspection" ,gobject-introspection)
6184 ("desktop-file-utils" ,desktop-file-utils)
6185 ("pkg-config" ,pkg-config)
6186 ("xmllint" ,libxml2)))
6187 (inputs
6188 `(("json-glib" ,json-glib)
6189 ("tdb" ,tdb)
6190 ("gnome-desktop" ,gnome-desktop)
6191 ("python" ,python)
6192 ("python-pygobject" ,python2-pygobject)
6193 ("vala" ,vala)
6194 ("gmime" ,gmime)
6195 ("adwaita-icon-theme" ,adwaita-icon-theme)
6196 ("grilo" ,grilo)
6197 ("grilo-plugins" ,grilo-plugins)
6198 ("gstreamer" ,gstreamer)
6199 ("gst-plugins-base" ,gst-plugins-base)
6200 ("gst-plugins-good" ,gst-plugins-good)
6201 ("totem-pl-parser" ,totem-pl-parser)
6202 ("libgudev" ,libgudev)
6203 ;;("libmtp" ,libmtp) FIXME: Not detected
6204 ("libsecret" ,libsecret)
6205 ("libsoup" ,libsoup)
6206 ("libnotify" ,libnotify)
6207 ("libpeas" ,libpeas)
6208 ("lirc" ,lirc)
6209 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6210 ;;("clutter" ,clutter)
6211 ;;("clutter-gtk" ,clutter-gtk)
6212 ;;("clutter-gst" ,clutter-gst)
6213 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6214 ("atk" ,atk)
6215 ("pango" ,pango)
6216 ("gtk+" ,gtk+)
6217 ;; TODO:
6218 ;; * libgpod
6219 ;; * mx
6220 ("brasero" ,brasero)))
6221 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6222 (synopsis "Music player for GNOME")
6223 (description "Rhythmbox is a music playing application for GNOME. It
6224 supports playlists, song ratings, and any codecs installed through gstreamer.")
6225 (license license:gpl2+)))
6226
6227 (define-public eog
6228 (package
6229 (name "eog")
6230 (version "3.34.1")
6231 (source (origin
6232 (method url-fetch)
6233 (uri (string-append "mirror://gnome/sources/" name "/"
6234 (version-major+minor version) "/"
6235 name "-" version ".tar.xz"))
6236 (sha256
6237 (base32
6238 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6239 (build-system meson-build-system)
6240 (arguments
6241 `(#:configure-flags
6242 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6243 (list (string-append "-Dc_link_args=-Wl,-rpath="
6244 (assoc-ref %outputs "out") "/lib/eog"))
6245 #:phases
6246 (modify-phases %standard-phases
6247 (add-after 'unpack 'skip-gtk-update-icon-cache
6248 ;; Don't create 'icon-theme.cache'.
6249 (lambda _
6250 (substitute* "meson_post_install.py"
6251 (("gtk-update-icon-cache") "true"))
6252 #t))
6253 (add-after 'install 'wrap-eog
6254 (lambda* (#:key outputs #:allow-other-keys)
6255 (let ((out (assoc-ref outputs "out"))
6256 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6257 (wrap-program (string-append out "/bin/eog")
6258 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6259 #t)))))
6260 (propagated-inputs
6261 `(("dconf" ,dconf)))
6262 (native-inputs
6263 `(("intltool" ,intltool)
6264 ("itstool" ,itstool)
6265 ("glib" ,glib "bin")
6266 ("gobject-introspection" ,gobject-introspection)
6267 ("pkg-config" ,pkg-config)
6268 ("xmllint" ,libxml2)))
6269 (inputs
6270 `(("gnome-desktop" ,gnome-desktop)
6271 ("shared-mime-info" ,shared-mime-info)
6272 ("adwaita-icon-theme" ,adwaita-icon-theme)
6273 ("exempi" ,exempi)
6274 ("lcms" ,lcms)
6275 ("libexif" ,libexif)
6276 ("libpeas" ,libpeas)
6277 ("libjpeg" ,libjpeg-turbo)
6278 ("librsvg" ,librsvg-next)
6279 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6280 ("gtk+" ,gtk+)))
6281 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6282 (synopsis "GNOME image viewer")
6283 (description "Eye of GNOME is the GNOME image viewer. It
6284 supports image conversion, rotation, and slideshows.")
6285 (license license:gpl2+)))
6286
6287 (define-public eog-plugins
6288 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6289 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6290 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6291 ;; 'XDG_DATA_DIRS' appropriately set.
6292 (package
6293 (name "eog-plugins")
6294 (version "3.26.4")
6295 (source (origin
6296 (method url-fetch)
6297 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6298 (version-major+minor version) "/"
6299 "eog-plugins-" version ".tar.xz"))
6300 (sha256
6301 (base32
6302 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6303 (build-system gnu-build-system)
6304 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6305 (synopsis "Extensions for the Eye of GNOME image viewer")
6306 (native-inputs
6307 `(("pkg-config" ,pkg-config)
6308 ("gettext" ,gettext-minimal)))
6309 (inputs
6310 `(("eog" ,eog)
6311 ("glib" ,glib)
6312 ("gtk+" ,gtk+)
6313 ("libpeas" ,libpeas)
6314 ("libexif" ,libexif)
6315 ("libchamplain" ,libchamplain)))
6316 (description
6317 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6318 notably:
6319
6320 @itemize
6321 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6322 @item @dfn{Map}, which displays a map of where the picture was taken on the
6323 side panel;
6324 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6325 @end itemize\n")
6326
6327 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6328 ;; long suspicious byte stream that goes to a
6329 ;; ".gresource.eog_postasa_plugin" ELF section.
6330 (license license:gpl2+)))
6331
6332 (define-public libgudev
6333 (package
6334 (name "libgudev")
6335 (version "232")
6336 (source (origin
6337 (method url-fetch)
6338 (uri (string-append "mirror://gnome/sources/" name "/"
6339 version "/" name "-" version ".tar.xz"))
6340 (sha256
6341 (base32
6342 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6343 (build-system gnu-build-system)
6344 (arguments
6345 '(#:configure-flags
6346 ;; umockdev depends on libgudev.
6347 (list "--disable-umockdev")))
6348 (native-inputs
6349 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6350 ("gobject-introspection" ,gobject-introspection)
6351 ("pkg-config" ,pkg-config)))
6352 (propagated-inputs
6353 `(("glib" ,glib))) ; required by gudev-1.0.pc
6354 (inputs
6355 `(("udev" ,eudev)))
6356 (home-page "https://wiki.gnome.org/Projects/libgudev")
6357 (synopsis "GObject bindings for libudev")
6358 (description
6359 "This library provides GObject bindings for libudev. It was originally
6360 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6361 (license license:lgpl2.1+)))
6362
6363 (define-public gvfs
6364 (package
6365 (name "gvfs")
6366 (version "1.40.1")
6367 (source (origin
6368 (method url-fetch)
6369 (uri (string-append "mirror://gnome/sources/gvfs/"
6370 (version-major+minor version) "/"
6371 "gvfs-" version ".tar.xz"))
6372 (sha256
6373 (base32
6374 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6375 ;; This patch may be removed when upgrading to version 1.46.x.
6376 (patches
6377 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6378 (build-system meson-build-system)
6379 (arguments
6380 '(#:glib-or-gtk? #t
6381 #:configure-flags
6382 (list "-Dsystemduserunitdir=no"
6383 "-Dtmpfilesdir=no"
6384 ;; Otherwise, the RUNPATH will lack the final path component.
6385 (string-append "-Dc_link_args=-Wl,-rpath="
6386 (assoc-ref %outputs "out") "/lib/gvfs"))))
6387 (native-inputs
6388 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6389 ("gettext" ,gettext-minimal)
6390 ("gtk-doc" ,gtk-doc)
6391 ("pkg-config" ,pkg-config)
6392 ("xsltproc" ,libxslt)))
6393 (inputs
6394 `(("avahi" ,avahi)
6395 ("docbook-xml" ,docbook-xml-4.2)
6396 ("docbook-xsl" ,docbook-xsl)
6397 ("dbus" ,dbus)
6398 ("elogind" ,elogind)
6399 ("fuse" ,fuse)
6400 ("gcr" ,gcr)
6401 ("glib" ,glib)
6402 ("gnome-online-accounts" ,gnome-online-accounts)
6403 ("libarchive" ,libarchive)
6404 ("libbluray" ,libbluray)
6405 ("libcap" ,libcap)
6406 ("libcdio-paranoia" ,libcdio-paranoia)
6407 ("libgcrypt" ,libgcrypt)
6408 ("libgdata" ,libgdata)
6409 ("libgphoto2" ,libgphoto2)
6410 ("libgudev" ,libgudev)
6411 ("libimobiledevice" ,libimobiledevice)
6412 ("libmtp" ,libmtp)
6413 ("libnfs" ,libnfs)
6414 ("libsecret" ,libsecret)
6415 ("libsmbclient" ,samba)
6416 ("libsoup" ,libsoup)
6417 ("libxml2" ,libxml2)
6418 ("openssh" ,openssh)
6419 ("polkit" ,polkit)
6420 ("udisks" ,udisks)))
6421 (home-page "https://wiki.gnome.org/gvfs/")
6422 (synopsis "Userspace virtual file system for GIO")
6423 (description
6424 "GVFS is a userspace virtual file system designed to work with the I/O
6425 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6426 to all applications using the GIO API. It also supports exposing the GVFS
6427 mounts to non-GIO applications using FUSE.
6428
6429 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6430 DAV, and others.")
6431 (license license:lgpl2.0+)))
6432
6433 (define-public gusb
6434 (package
6435 (name "gusb")
6436 (version "0.3.5")
6437 (source (origin
6438 (method git-fetch)
6439 (uri (git-reference
6440 (url "https://github.com/hughsie/libgusb")
6441 (commit version)))
6442 (file-name (git-file-name name version))
6443 (sha256
6444 (base32
6445 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6446 (build-system meson-build-system)
6447 (native-inputs
6448 `(("gobject-introspection" ,gobject-introspection)
6449 ("pkg-config" ,pkg-config)
6450 ("vala" ,vala)
6451 ("gtk-doc" ,gtk-doc)))
6452 (propagated-inputs
6453 ;; Both of these are required by gusb.pc.
6454 `(("glib" ,glib)
6455 ("libusb" ,libusb)))
6456 (arguments
6457 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6458 (home-page "https://github.com/hughsie/libgusb")
6459 (synopsis "GLib binding for libusb1")
6460 (description
6461 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6462 asynchronous control, bulk and interrupt transfers with proper cancellation
6463 and integration into a mainloop. This makes it easy to integrate low level
6464 USB transfers with your high-level application or system daemon.")
6465 (license license:lgpl2.1+)))
6466
6467 (define-public simple-scan
6468 (package
6469 (name "simple-scan")
6470 (version "3.38.2")
6471 (source
6472 (origin
6473 (method url-fetch)
6474 (uri (string-append "mirror://gnome/sources/simple-scan/"
6475 (version-major+minor version) "/"
6476 "simple-scan-" version ".tar.xz"))
6477 (sha256
6478 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6479 (build-system meson-build-system)
6480 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6481 (arguments
6482 '(#:glib-or-gtk? #t))
6483 (inputs
6484 `(("gtk" ,gtk+)
6485 ("zlib" ,zlib)
6486 ("cairo" ,cairo)
6487 ("colord" ,colord)
6488 ("gdk-pixbuf" ,gdk-pixbuf)
6489 ("gusb" ,gusb)
6490 ("libsane" ,sane-backends)))
6491 (native-inputs
6492 `(("gettext" ,gettext-minimal)
6493 ("itstool" ,itstool)
6494 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6495 ("pkg-config" ,pkg-config)
6496 ("vala" ,vala)
6497 ("xmllint" ,libxml2)))
6498 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6499 (synopsis "Document and image scanner")
6500 (description
6501 "Document Scanner is an easy-to-use application that lets you connect your
6502 scanner and quickly capture images and documents in an appropriate format. It
6503 supports any scanner for which a suitable SANE driver is available, which is
6504 almost all of them.")
6505 (license license:gpl3+)))
6506
6507 (define-public eolie
6508 (package
6509 (name "eolie")
6510 (version "0.9.101")
6511 (source (origin
6512 (method url-fetch)
6513 (uri (string-append "https://adishatz.org/eolie/eolie-"
6514 version ".tar.xz"))
6515 (sha256
6516 (base32
6517 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6518 (build-system meson-build-system)
6519 (arguments
6520 `(#:glib-or-gtk? #t
6521 #:phases
6522 (modify-phases %standard-phases
6523 (add-after 'unpack 'skip-gtk-update-icon-cache
6524 ;; Don't create 'icon-theme.cache'.
6525 (lambda _
6526 (substitute* "meson_post_install.py"
6527 (("gtk-update-icon-cache") "true"))
6528 #t))
6529 (add-after 'wrap 'wrap-more
6530 (lambda* (#:key inputs outputs #:allow-other-keys)
6531 (let* ((out (assoc-ref outputs "out"))
6532 ;; These libraries must be on LD_LIBRARY_PATH.
6533 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6534 "atk" "gtk+" "gsettings-desktop-schemas"
6535 "gobject-introspection"))
6536 (path (string-join
6537 (map (lambda (lib)
6538 (string-append (assoc-ref inputs lib) "/lib"))
6539 libs)
6540 ":")))
6541 (wrap-program (string-append out "/bin/eolie")
6542 `("LD_LIBRARY_PATH" ":" prefix (,path))
6543 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6544 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6545 #t)))))
6546 (native-inputs
6547 `(("intltool" ,intltool)
6548 ("itstool" ,itstool)
6549 ("pkg-config" ,pkg-config)
6550 ("python" ,python)
6551 ("glib:bin" ,glib "bin")))
6552 (inputs
6553 `(("gobject-introspection" ,gobject-introspection)
6554 ("glib-networking" ,glib-networking)
6555 ("cairo" ,cairo)
6556 ("gtk+" ,gtk+)
6557 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6558 ("python" ,python-wrapper)
6559 ("python-dateutil" ,python-dateutil)
6560 ("python-pyfxa" ,python-pyfxa)
6561 ("python-pygobject" ,python-pygobject)
6562 ("python-pycairo" ,python-pycairo)
6563 ("python-pycrypto" ,python-pycrypto)
6564 ("libsecret" ,libsecret)
6565 ("gtkspell3" ,gtkspell3)
6566 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6567 ("webkitgtk" ,webkitgtk)))
6568 (home-page "https://wiki.gnome.org/Apps/Eolie")
6569 (synopsis "Web browser for GNOME")
6570 (description
6571 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6572 a secret password store, an adblocker, and a modern UI.")
6573 (license license:gpl3+)))
6574
6575 (define-public epiphany
6576 (package
6577 (name "epiphany")
6578 (version "3.34.4")
6579 (source (origin
6580 (method url-fetch)
6581 (uri (string-append "mirror://gnome/sources/epiphany/"
6582 (version-major+minor version) "/"
6583 "epiphany-" version ".tar.xz"))
6584 (sha256
6585 (base32
6586 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6587
6588 (build-system meson-build-system)
6589 (arguments
6590 '(#:glib-or-gtk? #t
6591 #:phases
6592 (modify-phases %standard-phases
6593 (add-after 'unpack 'skip-gtk-update-icon-cache
6594 ;; Don't create 'icon-theme.cache'.
6595 (lambda _
6596 (substitute* "post_install.py"
6597 (("gtk-update-icon-cache") "true"))
6598 #t))
6599 (add-after 'unpack 'disable-failing-tests
6600 (lambda _
6601 (substitute* "tests/meson.build"
6602 ;; embed_shell fails, because webkitgtk apparently no longer supports
6603 ;; overriding the ftp schema
6604 ;; web_app_utils fails due to missing network access
6605 (("(embed_shell|web_app_utils)_test,")
6606 "find_program('sh'), args: ['-c', 'exit 77'],"))
6607 #t))
6608 (add-before 'check 'pre-check
6609 (lambda _
6610 ;; Tests require a running X server.
6611 (system "Xvfb :1 &")
6612 (setenv "DISPLAY" ":1")
6613 #t)))
6614 #:configure-flags
6615 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6616 (list (string-append "-Dc_link_args=-Wl,-rpath="
6617 (assoc-ref %outputs "out") "/lib/epiphany"))))
6618 (propagated-inputs
6619 `(("dconf" ,dconf)))
6620 (native-inputs
6621 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6622 ("glib:bin" ,glib "bin") ; for glib-mkenums
6623 ("intltool" ,intltool)
6624 ("itstool" ,itstool)
6625 ("pkg-config" ,pkg-config)
6626 ("xmllint" ,libxml2)
6627 ("xorg-server" ,xorg-server-for-tests)))
6628 (inputs
6629 `(("avahi" ,avahi)
6630 ("gcr" ,gcr)
6631 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6632 ("glib-networking" ,glib-networking)
6633 ("gnome-desktop" ,gnome-desktop)
6634 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6635 ("json-glib" ,json-glib)
6636 ("iso-codes" ,iso-codes)
6637 ("libdazzle" ,libdazzle)
6638 ("libnotify" ,libnotify)
6639 ("libsecret" ,libsecret)
6640 ("libxslt" ,libxslt)
6641 ("nettle" ,nettle) ; for hogweed
6642 ("sqlite" ,sqlite)
6643 ("webkitgtk" ,webkitgtk)))
6644 (home-page "https://wiki.gnome.org/Apps/Web")
6645 (synopsis "GNOME web browser")
6646 (description
6647 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6648 principles are simplicity and standards compliance.")
6649 (license license:gpl2+)))
6650
6651 (define-public d-feet
6652 (package
6653 (name "d-feet")
6654 (version "0.3.14")
6655 (source (origin
6656 (method url-fetch)
6657 (uri (string-append "mirror://gnome/sources/" name "/"
6658 (version-major+minor version) "/"
6659 name "-" version ".tar.xz"))
6660 (sha256
6661 (base32
6662 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6663 (build-system glib-or-gtk-build-system)
6664 (arguments
6665 '(#:out-of-source? #f ; tests need to run in the source directory.
6666 #:phases
6667 (modify-phases %standard-phases
6668 (add-before
6669 'check 'pre-check
6670 (lambda _
6671 ;; The test suite requires a running X server.
6672 (system "Xvfb :1 &")
6673 (setenv "DISPLAY" ":1")
6674 ;; Don't fail on missing '/etc/machine-id'.
6675 (setenv "DBUS_FATAL_WARNINGS" "0")
6676 ;; tests.py and window.py don't meet E402:
6677 ;; E402 module level import not at top of file
6678 (substitute* "src/tests/Makefile"
6679 (("--ignore=E123") "--ignore=E123,E402"))
6680 #t))
6681 (add-after
6682 'install 'wrap-program
6683 (lambda* (#:key outputs #:allow-other-keys)
6684 (let ((prog (string-append (assoc-ref outputs "out")
6685 "/bin/d-feet")))
6686 (wrap-program prog
6687 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6688 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6689 #t))))))
6690 (native-inputs
6691 `(("intltool" ,intltool)
6692 ("itstool" ,itstool)
6693 ("pkg-config" ,pkg-config)
6694 ("python-pep8" ,python-pep8)
6695 ("xmllint" ,libxml2)
6696 ("xorg-server" ,xorg-server-for-tests)))
6697 (inputs
6698 `(("gobject-introspection" ,gobject-introspection)
6699 ("gtk+" ,gtk+)
6700 ("python" ,python-wrapper)
6701 ("hicolor-icon-theme" ,hicolor-icon-theme)
6702 ("python-pygobject" ,python-pygobject)))
6703 (home-page "https://wiki.gnome.org/Apps/DFeet")
6704 (synopsis "D-Bus debugger")
6705 (description
6706 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6707 of running programs and invoke methods on those interfaces.")
6708 (license license:gpl2+)))
6709
6710 (define-public yelp-xsl
6711 (package
6712 (name "yelp-xsl")
6713 (version "3.34.2")
6714 (source
6715 (origin
6716 (method url-fetch)
6717 (uri
6718 (string-append "mirror://gnome/sources/" name "/"
6719 (version-major+minor version) "/"
6720 name "-" version ".tar.xz"))
6721 (sha256
6722 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6723 (build-system gnu-build-system)
6724 (native-inputs
6725 `(("gettext-minimal" ,gettext-minimal)
6726 ("itstool" ,itstool)
6727 ("xmllint" ,libxml2)))
6728 (synopsis "XSL stylesheets for Yelp")
6729 (description "Yelp-XSL is a collection of programs and data files to help
6730 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6731 that can be built upon for help viewers and publishing systems. These
6732 stylesheets output JavaScript and CSS content, and reference images
6733 provided by yelp-xsl. It also redistributes copies of the jQuery and
6734 jQuery.Syntax JavaScript libraries.")
6735 (home-page "https://wiki.gnome.org/Apps/Yelp")
6736 (license
6737 (list
6738 ;; XSLT
6739 license:gpl2+
6740 ;; Images
6741 license:lgpl2.1+
6742 ;; JavaScript
6743 license:expat))))
6744
6745 (define-public yelp
6746 (package
6747 (name "yelp")
6748 (version "3.32.2")
6749 (source (origin
6750 (method url-fetch)
6751 (uri (string-append "mirror://gnome/sources/" name "/"
6752 (version-major+minor version) "/"
6753 name "-" version ".tar.xz"))
6754 (sha256
6755 (base32
6756 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6757 (build-system glib-or-gtk-build-system)
6758 (native-inputs
6759 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6760 ("intltool" ,intltool)
6761 ("itstool" ,itstool)
6762 ("pkg-config" ,pkg-config)))
6763 (propagated-inputs
6764 `(("dconf" ,dconf)))
6765 (inputs
6766 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6767 ("libxslt" ,libxslt)
6768 ("sqlite" ,sqlite)
6769 ("webkitgtk" ,webkitgtk)
6770 ("yelp-xsl" ,yelp-xsl)))
6771 (home-page "https://wiki.gnome.org/Apps/Yelp")
6772 (synopsis "GNOME help browser")
6773 (description
6774 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6775 man, info, and HTML documents. It can locate documents according to the
6776 freedesktop.org help system specification.")
6777 (license license:gpl2+)))
6778
6779 (define-public yelp-tools
6780 (package
6781 (name "yelp-tools")
6782 (version "3.32.2")
6783 (source
6784 (origin
6785 (method url-fetch)
6786 (uri
6787 (string-append "mirror://gnome/sources/" name "/"
6788 (version-major+minor version) "/"
6789 name "-" version ".tar.xz"))
6790 (sha256
6791 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6792 (build-system gnu-build-system)
6793 (native-inputs
6794 `(("pkg-config" ,pkg-config)))
6795 (inputs
6796 `(("yelp-xsl" ,yelp-xsl)))
6797 (propagated-inputs
6798 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6799 `(("itstool" ,itstool)
6800 ("xmllint" ,libxml2)
6801 ("xsltproc" ,libxslt)))
6802 (synopsis "Yelp documentation tools")
6803 (description
6804 "Yelp-tools is a collection of scripts and build utilities to help create,
6805 manage, and publish documentation for Yelp and the web. Most of the heavy
6806 lifting is done by packages like yelp-xsl and itstool. This package just
6807 wraps things up in a developer-friendly way.")
6808 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6809 (license license:gpl2+)))
6810
6811 (define-public libgee
6812 (package
6813 (name "libgee")
6814 (version "0.20.3")
6815 (source (origin
6816 (method url-fetch)
6817 (uri (string-append "mirror://gnome/sources/libgee/"
6818 (version-major+minor version) "/"
6819 "libgee-" version ".tar.xz"))
6820 (sha256
6821 (base32
6822 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6823 (build-system gnu-build-system)
6824 (arguments
6825 `(#:phases
6826 (modify-phases %standard-phases
6827 (add-after 'unpack 'fix-introspection-install-dir
6828 (lambda* (#:key outputs #:allow-other-keys)
6829 (let ((out (assoc-ref outputs "out")))
6830 (substitute* "gee/Makefile.in"
6831 (("@INTROSPECTION_GIRDIR@")
6832 (string-append out "/share/gir-1.0/"))
6833 (("@INTROSPECTION_TYPELIBDIR@")
6834 (string-append out "/lib/girepository-1.0/")))))))))
6835 (native-inputs
6836 `(("glib" ,glib "bin")
6837 ("pkg-config" ,pkg-config)))
6838 (inputs
6839 `(("glib" ,glib)
6840 ("gobject-introspection" ,gobject-introspection)))
6841 (home-page "https://wiki.gnome.org/Projects/Libgee")
6842 (synopsis "GObject collection library")
6843 (description
6844 "Libgee is a utility library providing GObject-based interfaces and
6845 classes for commonly used data structures.")
6846 (license license:lgpl2.1+)))
6847
6848 (define-public gexiv2
6849 (package
6850 (name "gexiv2")
6851 (version "0.12.1")
6852 (source (origin
6853 (method url-fetch)
6854 (uri (string-append "mirror://gnome/sources/" name "/"
6855 (version-major+minor version) "/"
6856 name "-" version ".tar.xz"))
6857 (sha256
6858 (base32
6859 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6860 (build-system meson-build-system)
6861 (native-inputs
6862 `(("gcr" ,gcr)
6863 ("glib" ,glib "bin")
6864 ("pkg-config" ,pkg-config)
6865 ("vala" ,vala)))
6866 (propagated-inputs
6867 ;; Listed in "Requires" section of gexiv2.pc
6868 `(("exiv2" ,exiv2)))
6869 (inputs
6870 `(("glib" ,glib)
6871 ("gobject-introspection" ,gobject-introspection)))
6872 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6873 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6874 (description
6875 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6876 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6877 metadata in photo and video files of various formats.")
6878 (license license:gpl2+)))
6879
6880 (define-public shotwell
6881 (package
6882 (name "shotwell")
6883 (version "0.30.11")
6884 (source (origin
6885 (method url-fetch)
6886 (uri (string-append "mirror://gnome/sources/shotwell/"
6887 (version-major+minor version) "/"
6888 "shotwell-" version ".tar.xz"))
6889 (sha256
6890 (base32
6891 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
6892 (build-system meson-build-system)
6893 (arguments
6894 '(#:glib-or-gtk? #t
6895 #:phases
6896 (modify-phases %standard-phases
6897 (add-after 'unpack 'skip-gtk-update-icon-cache
6898 (lambda _
6899 (substitute* "build-aux/meson/postinstall.py"
6900 (("gtk-update-icon-cache") (which "true"))
6901 (("update-desktop-database") (which "true")))
6902 #t)))))
6903 (propagated-inputs
6904 `(("dconf" ,dconf)))
6905 (native-inputs
6906 `(("gettext" ,gettext-minimal)
6907 ("glib:bin" ,glib "bin")
6908 ("itstool" ,itstool)
6909 ("pkg-config" ,pkg-config)
6910 ("vala" ,vala)))
6911 (inputs
6912 `(("gcr" ,gcr)
6913 ("gexiv2" ,gexiv2)
6914 ("gst-plugins-base" ,gst-plugins-base)
6915 ("gstreamer" ,gstreamer)
6916 ("json-glib" ,json-glib)
6917 ("libgdata" ,libgdata)
6918 ("libgee" ,libgee)
6919 ("libgphoto2" ,libgphoto2)
6920 ("libgudev" ,libgudev)
6921 ("libraw" ,libraw)
6922 ("libsoup" ,libsoup)
6923 ("libxml2" ,libxml2)
6924 ("sqlite" ,sqlite)
6925 ("webkitgtk" ,webkitgtk)))
6926 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6927 (synopsis "Photo manager for GNOME 3")
6928 (description
6929 "Shotwell is a digital photo manager designed for the GNOME desktop
6930 environment. It allows you to import photos from disk or camera, organize
6931 them by keywords and events, view them in full-window or fullscreen mode, and
6932 share them with others via social networking and more.")
6933 (license license:lgpl2.1+)))
6934
6935 (define-public file-roller
6936 (package
6937 (name "file-roller")
6938 (version "3.38.0")
6939 (source (origin
6940 (method url-fetch)
6941 (uri (string-append "mirror://gnome/sources/file-roller/"
6942 (version-major+minor version) "/"
6943 "file-roller-" version ".tar.xz"))
6944 (sha256
6945 (base32
6946 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
6947 (build-system meson-build-system)
6948 (native-inputs
6949 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6950 ("intltool" ,intltool)
6951 ("itstool" ,itstool)
6952 ("pkg-config" ,pkg-config)
6953 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6954 ("glib:bin" ,glib "bin")))
6955 ;; TODO: Add libnautilus.
6956 (inputs
6957 `(("gtk+" ,gtk+)
6958 ("gdk-pixbuf" ,gdk-pixbuf)
6959 ("json-glib" ,json-glib)
6960 ("libarchive" ,libarchive)
6961 ("libnotify" ,libnotify)
6962 ("nettle" ,nettle)
6963 ("libxml2" ,libxml2)))
6964 (synopsis "Graphical archive manager for GNOME")
6965 (description "File Roller is an archive manager for the GNOME desktop
6966 environment that allows users to view, unpack, and create compressed archives
6967 such as gzip tarballs.")
6968 (home-page "http://fileroller.sourceforge.net/")
6969 (license license:gpl2+)))
6970
6971 (define-public gnome-session
6972 (package
6973 (name "gnome-session")
6974 (version "3.34.2")
6975 (source (origin
6976 (method url-fetch)
6977 (uri (string-append "mirror://gnome/sources/" name "/"
6978 (version-major+minor version) "/"
6979 name "-" version ".tar.xz"))
6980 (sha256
6981 (base32
6982 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6983 (arguments
6984 '(#:glib-or-gtk? #t
6985 #:phases
6986 (modify-phases %standard-phases
6987 (add-before 'configure 'pre-configure
6988 (lambda* (#:key outputs #:allow-other-keys)
6989 ;; Use elogind instead of systemd.
6990 (substitute* "meson.build"
6991 (("libsystemd-login") "libelogind")
6992 (("and libsystemd_daemon_dep.found.*") ","))
6993 (substitute* "gnome-session/gsm-systemd.c"
6994 (("#include <systemd/sd-login.h>")
6995 "#include <elogind/sd-login.h>"))
6996 ;; Remove uses of the systemd daemon.
6997 (substitute* "gnome-session/gsm-autostart-app.c"
6998 (("#ifdef HAVE_SYSTEMD") "#if 0"))
6999 #t))
7000 (add-after 'install 'wrap-gnome-session
7001 (lambda* (#:key inputs outputs #:allow-other-keys)
7002 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7003 (let ((glib (assoc-ref inputs "glib:bin"))
7004 (out (assoc-ref outputs "out")))
7005 (wrap-program (string-append out "/bin/gnome-session")
7006 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7007 #t))))
7008
7009 #:configure-flags
7010 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7011 "-Dman=false" ; FIXME: disabled because of docbook validation error
7012 "-Dsystemd_journal=false")))
7013 (build-system meson-build-system)
7014 (native-inputs
7015 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7016 ("pkg-config" ,pkg-config)
7017 ("intltool" ,intltool)
7018 ("xsltproc" ,libxslt)
7019 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7020 ("docbook-xsl" ,docbook-xsl)
7021 ("docbook-xml" ,docbook-xml)
7022 ("xmlto" ,xmlto)))
7023 (inputs
7024 `(("elogind" ,elogind)
7025 ("gnome-desktop" ,gnome-desktop)
7026 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7027 ("gtk+" ,gtk+)
7028 ("json-glib" ,json-glib)
7029 ("libsm" ,libsm)
7030 ("libxcomposite" ,libxcomposite)
7031 ("libxtst" ,libxtst)
7032 ("mesa" ,mesa)
7033 ("upower" ,upower)
7034 ("xtrans" ,xtrans)))
7035 (synopsis "Session manager for GNOME")
7036 (description
7037 "This package contains the GNOME session manager, as well as a
7038 configuration program to choose applications starting on login.")
7039 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7040 (license license:gpl2+)))
7041
7042 (define-public gjs
7043 (package
7044 (name "gjs")
7045 (version "1.58.3")
7046 (source (origin
7047 (method url-fetch)
7048 (uri (string-append "mirror://gnome/sources/" name "/"
7049 (version-major+minor version) "/"
7050 name "-" version ".tar.xz"))
7051 (sha256
7052 (base32
7053 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7054 (build-system gnu-build-system)
7055 (arguments
7056 '(#:phases
7057 (modify-phases %standard-phases
7058 (add-before
7059 'check 'pre-check
7060 (lambda _
7061 ;; The test suite requires a running X server.
7062 (system "Xvfb :1 &")
7063 (setenv "DISPLAY" ":1")
7064
7065 ;; For the missing /etc/machine-id.
7066 (setenv "DBUS_FATAL_WARNINGS" "0")
7067
7068 ;; Our mozjs-38 package does not compile the required Intl API
7069 ;; support for these failing tests.
7070 (substitute* "installed-tests/js/testLocale.js"
7071 ((".*toBeDefined.*") "")
7072 ((".*expect\\(datestr\\).*") ""))
7073 (substitute* "installed-tests/scripts/testCommandLine.sh"
7074 (("Valentín") "")
7075 (("☭") ""))
7076 #t)))))
7077 (native-inputs
7078 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7079 ("pkg-config" ,pkg-config)
7080 ("xmllint" ,libxml2)
7081 ;; For testing
7082 ("dbus-launch" ,dbus)
7083 ("dconf" ,dconf) ; required to properly store settings
7084 ("uuidgen" ,util-linux)
7085 ("xvfb" ,xorg-server-for-tests)))
7086 (propagated-inputs
7087 ;; These are all in the Requires.private field of gjs-1.0.pc.
7088 `(("cairo" ,cairo)
7089 ("gobject-introspection" ,gobject-introspection)
7090 ("mozjs" ,mozjs-60)))
7091 (inputs
7092 `(("gtk+" ,gtk+)
7093 ("readline" ,readline)))
7094 (synopsis "Javascript bindings for GNOME")
7095 (home-page "https://live.gnome.org/Gjs")
7096 (description
7097 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7098 javascript engine and the GObject introspection framework.")
7099 (license license:gpl2+)))
7100
7101 (define-public gedit
7102 (package
7103 (name "gedit")
7104 (version "3.34.1")
7105 (source (origin
7106 (method url-fetch)
7107 (uri (string-append "mirror://gnome/sources/" name "/"
7108 (version-major+minor version) "/"
7109 name "-" version ".tar.xz"))
7110 (sha256
7111 (base32
7112 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7113 (build-system meson-build-system)
7114 (arguments
7115 `(#:glib-or-gtk? #t
7116 #:configure-flags
7117 ;; Otherwise, the RUNPATH will lack the final path component.
7118 (list (string-append "-Dc_link_args=-Wl,-rpath="
7119 (assoc-ref %outputs "out") "/lib/gedit"))
7120
7121 ;; XXX: Generated .h files are sometimes used before being built.
7122 #:parallel-build? #f
7123
7124 #:phases
7125 (modify-phases %standard-phases
7126 (add-after 'unpack 'skip-gtk-update-icon-cache
7127 ;; Don't create 'icon-theme.cache'.
7128 (lambda _
7129 (substitute* "build-aux/meson/post_install.py"
7130 (("gtk-update-icon-cache") (which "true")))
7131 #t))
7132 (add-after 'unpack 'patch-libgd-fetch
7133 (lambda* (#:key inputs #:allow-other-keys)
7134 (let ((libgd (assoc-ref inputs "libgd")))
7135 ;; Calling git is unnecessary because libgd is fetched as a
7136 ;; native input to this package.
7137 (substitute* "meson.build"
7138 ((".*git.*") ""))
7139 (copy-recursively libgd "subprojects/libgd")
7140 #t)))
7141 (add-after 'install 'wrap-gedit
7142 (lambda* (#:key inputs outputs #:allow-other-keys)
7143 (let ((out (assoc-ref outputs "out"))
7144 (gtksourceview (assoc-ref inputs "gtksourceview"))
7145 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7146 (python-path (getenv "PYTHONPATH")))
7147 (wrap-program (string-append out "/bin/gedit")
7148 ;; For plugins.
7149 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7150 `("PYTHONPATH" ":" prefix (,python-path))
7151 ;; For language-specs.
7152 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7153 "/share")))))
7154 #t)))))
7155 (propagated-inputs
7156 `(("dconf" ,dconf)))
7157 (native-inputs
7158 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7159 ("intltool" ,intltool)
7160 ("itstool" ,itstool)
7161 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7162 ("gobject-introspection" ,gobject-introspection)
7163 ("libgd"
7164 ,(origin
7165 (method git-fetch)
7166 (uri (git-reference
7167 (url "https://gitlab.gnome.org/GNOME/libgd")
7168 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7169 (file-name (git-file-name "libgd" version))
7170 (sha256
7171 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7172 ("pkg-config" ,pkg-config)))
7173 (inputs
7174 `(("glib" ,glib)
7175 ("gspell" ,gspell)
7176 ("gtk+" ,gtk+)
7177 ("gtksourceview" ,gtksourceview)
7178 ("libpeas" ,libpeas)
7179 ("libxml2" ,libxml2)
7180 ("iso-codes" ,iso-codes)
7181 ("python-pygobject" ,python-pygobject)
7182 ("python" ,python)
7183 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7184 ("libx11" ,libx11)
7185 ("vala" ,vala)
7186 ("adwaita-icon-theme" ,adwaita-icon-theme)
7187 ("libsoup" ,libsoup)
7188 ("gnome-desktop" ,gnome-desktop)))
7189 (home-page "https://wiki.gnome.org/Apps/Gedit")
7190 (synopsis "GNOME text editor")
7191 (description "While aiming at simplicity and ease of use, gedit is a
7192 powerful general purpose text editor.")
7193 (license license:gpl2+)))
7194
7195 (define-public zenity
7196 (package
7197 (name "zenity")
7198 (version "3.32.0")
7199 (source (origin
7200 (method url-fetch)
7201 (uri (string-append "mirror://gnome/sources/zenity/"
7202 (version-major+minor version) "/"
7203 "zenity-" version ".tar.xz"))
7204 (sha256
7205 (base32
7206 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7207 (build-system gnu-build-system)
7208 (native-inputs
7209 `(("gettext" ,gettext-minimal)
7210 ("itstool" ,itstool)
7211 ("pkg-config" ,pkg-config)))
7212 (inputs
7213 `(("libnotify" ,libnotify)
7214 ("webkitgtk" ,webkitgtk)))
7215 (synopsis "Display graphical dialog boxes from shell scripts")
7216 (home-page "https://www.gnome.org")
7217 (description
7218 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7219 to display dialog boxes from the commandline and shell scripts.")
7220 (license license:lgpl2.0+)))
7221
7222 (define-public mutter
7223 (package
7224 (name "mutter")
7225 (version "3.34.2")
7226 (source (origin
7227 (method url-fetch)
7228 (uri (string-append "mirror://gnome/sources/" name "/"
7229 (version-major+minor version) "/"
7230 name "-" version ".tar.xz"))
7231 (sha256
7232 (base32
7233 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7234 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7235 ;; versions of cogl and clutter. As a result, many of the inputs,
7236 ;; propagated-inputs, and configure flags used in cogl and clutter are
7237 ;; needed here as well.
7238 (build-system meson-build-system)
7239 (arguments
7240 '(;; XXX: All mutter tests fail with the following error:
7241 ;; Settings schema 'org.gnome.mutter' is not installed
7242 #:tests? #f
7243 #:glib-or-gtk? #t
7244 #:configure-flags
7245 ;; TODO: Enable profiler when Sysprof is packaged.
7246 (list "-Dprofiler=false"
7247 ;; Otherwise, the RUNPATH will lack the final path component.
7248 (string-append "-Dc_link_args=-Wl,-rpath="
7249 (assoc-ref %outputs "out") "/lib:"
7250 (assoc-ref %outputs "out") "/lib/mutter-5")
7251
7252 ;; The following flags are needed for the bundled clutter
7253 (string-append "-Dxwayland_path="
7254 (assoc-ref %build-inputs "xorg-server-xwayland")
7255 "/bin/Xwayland")
7256
7257 ;; the remaining flags are needed for the bundled cogl
7258 (string-append "-Dopengl_libname="
7259 (assoc-ref %build-inputs "mesa")
7260 "/lib/libGL.so"))
7261 #:phases (modify-phases %standard-phases
7262 (add-after 'unpack 'fix-build-with-mesa-20
7263 (lambda _
7264 ;; Mimic upstream commit a444a4c5f58ea516ad for
7265 ;; compatibility with Mesa 20. Remove for 3.36.
7266 (substitute* '("src/backends/meta-egl-ext.h"
7267 "src/backends/meta-egl.c"
7268 "src/backends/meta-egl.h")
7269 (("#include <EGL/eglext\\.h>" all)
7270 (string-append all "\n#include <EGL/eglmesaext.h>")))
7271 (substitute* "cogl/cogl/meson.build"
7272 (("#include <EGL/eglext\\.h>" all)
7273 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7274 #t)))))
7275 (native-inputs
7276 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7277 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7278 ("gobject-introspection" ,gobject-introspection)
7279 ("intltool" ,intltool)
7280 ("pkg-config" ,pkg-config)
7281 ("xorg-server" ,xorg-server-for-tests)
7282 ;; For git build
7283 ("autoconf" ,autoconf)
7284 ("automake" ,automake)
7285 ("libtool" ,libtool)))
7286 (propagated-inputs
7287 `(;; libmutter.pc refers to these:
7288 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7289 ("gtk+" ,gtk+)
7290 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7291 ("atk" ,atk)
7292 ("cairo" ,cairo)
7293 ("gdk-pixbuf" ,gdk-pixbuf)
7294 ("glib" ,glib)
7295 ("json-glib" ,json-glib)
7296 ("libinput" ,libinput)
7297 ("libx11" ,libx11)
7298 ("libxcomposite" ,libxcomposite)
7299 ("libxdamage" ,libxdamage)
7300 ("libxext" ,libxext)
7301 ("libxfixes" ,libxfixes)
7302 ("libxkbcommon" ,libxkbcommon)
7303 ("libxrandr" ,libxrandr)
7304 ("mesa" ,mesa)
7305 ("pango" ,pango)
7306 ("udev" ,eudev)
7307 ("xinput" ,xinput)))
7308 (inputs
7309 `(("elogind" ,elogind)
7310 ("gnome-desktop" ,gnome-desktop)
7311 ("gnome-settings-daemon" ,gnome-settings-daemon)
7312 ("libcanberra-gtk" ,libcanberra)
7313 ("libgudev" ,libgudev)
7314 ("libice" ,libice)
7315 ("libsm" ,libsm)
7316 ("libwacom" ,libwacom)
7317 ("libxkbfile" ,libxkbfile)
7318 ("libxrandr" ,libxrandr)
7319 ("libxtst" ,libxtst)
7320 ("pipewire" ,pipewire)
7321 ("startup-notification" ,startup-notification)
7322 ("upower-glib" ,upower)
7323 ("xkeyboard-config" ,xkeyboard-config)
7324 ("xorg-server-xwayland" ,xorg-server-xwayland)
7325 ("zenity" ,zenity)))
7326 (synopsis "Window and compositing manager")
7327 (home-page "https://www.gnome.org")
7328 (description
7329 "Mutter is a window and compositing manager that displays and manages your
7330 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7331 Clutter toolkit with solid window-management logic inherited from the Metacity
7332 window manager.")
7333 (license license:gpl2+)))
7334
7335 (define-public gnome-online-accounts
7336 (package
7337 (name "gnome-online-accounts")
7338 (version "3.36.0")
7339 (source (origin
7340 (method url-fetch)
7341 (uri (string-append "mirror://gnome/sources/" name "/"
7342 (version-major+minor version) "/"
7343 name "-" version ".tar.xz"))
7344 (sha256
7345 (base32
7346 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7347 (outputs '("out" "lib"))
7348 (build-system glib-or-gtk-build-system)
7349 (arguments
7350 `(#:configure-flags
7351 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7352 #:phases
7353 (modify-phases %standard-phases
7354 (add-before 'configure 'patch-libgoa-output
7355 (lambda* (#:key outputs #:allow-other-keys)
7356 (let ((lib (assoc-ref outputs "lib")))
7357 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7358 (("@prefix@") lib)
7359 (("@exec_prefix@") lib)
7360 (("@libdir@") (string-append lib "/lib"))
7361 (("@includedir@") (string-append lib "/include"))
7362 (("@datadir@") (string-append lib "/share")))
7363 ;; Make sure gobject-introspection knows about the output
7364 ;; too (see <https://bugs.gnu.org/36535>).
7365 (setenv "outputs" "out lib")
7366 #t))))))
7367 (native-inputs
7368 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7369 ("gobject-introspection" ,gobject-introspection)
7370 ("intltool" ,intltool)
7371 ("pkg-config" ,pkg-config)
7372 ("vala" ,vala)
7373 ("xsltproc" ,libxslt)))
7374 (propagated-inputs
7375 `(("glib" ,glib) ; required by goa-1.0.pc
7376 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7377 (inputs
7378 `(("docbook-xsl" ,docbook-xsl)
7379 ("json-glib" ,json-glib)
7380 ("libsecret" ,libsecret)
7381 ("rest" ,rest)
7382 ("webkitgtk" ,webkitgtk)))
7383 (synopsis "Single sign-on framework for GNOME")
7384 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7385 (description
7386 "GNOME Online Accounts provides interfaces so that applications and
7387 libraries in GNOME can access the user's online accounts. It has providers for
7388 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7389 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7390 (license license:lgpl2.0+)))
7391
7392 (define-public evolution-data-server
7393 (package
7394 (name "evolution-data-server")
7395 (version "3.34.2")
7396 (source (origin
7397 (method url-fetch)
7398 (uri (string-append "mirror://gnome/sources/" name "/"
7399 (version-major+minor version) "/"
7400 name "-" version ".tar.xz"))
7401 (patches (search-patches "evolution-data-server-locales.patch"
7402 "evolution-data-server-libical-compat.patch"))
7403 (sha256
7404 (base32
7405 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7406 (build-system cmake-build-system)
7407 (arguments
7408 '(#:configure-flags
7409 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7410 (runpaths (map (lambda (s)
7411 (string-append lib "/evolution-data-server/" s))
7412 '("addressbook-backends" "calendar-backends"
7413 "camel-providers" "credential-modules"
7414 "registry-modules"))))
7415 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7416 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7417 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7418 "-DENABLE_VALA_BINDINGS=ON"
7419 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7420 (string-append lib "/evolution-data-server;")
7421 (string-join runpaths ";"))
7422 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7423 #:phases
7424 (modify-phases %standard-phases
7425 (add-after 'unpack 'disable-failing-tests
7426 (lambda _
7427 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7428 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7429 (delete-file-recursively "tests/book-migration")
7430 (substitute* "tests/CMakeLists.txt"
7431 (("add_subdirectory\\(book-migration\\)") ""))
7432 #t))
7433 (add-after 'unpack 'patch-paths
7434 (lambda _
7435 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7436 "tests/libedata-book/data-test-utils.c"
7437 "tests/libedata-book/test-book-cache-utils.c"
7438 "tests/libedata-cal/test-cal-cache-utils.c")
7439 (("/bin/rm") (which "rm")))
7440 #t))
7441 (add-before 'configure 'dont-override-rpath
7442 (lambda _
7443 (substitute* "CMakeLists.txt"
7444 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7445 ;; Remove it so the configure flag is respected.
7446 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7447 #t)))))
7448 (native-inputs
7449 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7450 ("gobject-introspection" ,gobject-introspection)
7451 ("gperf" ,gperf)
7452 ("intltool" ,intltool)
7453 ("pkg-config" ,pkg-config)
7454 ("vala" ,vala)
7455 ("python" ,python-wrapper)))
7456 (propagated-inputs
7457 ;; These are all in the Requires field of .pc files.
7458 `(("gtk+" ,gtk+)
7459 ("libical" ,libical)
7460 ("libsecret" ,libsecret)
7461 ("libsoup" ,libsoup)
7462 ("nss" ,nss)
7463 ("sqlite" ,sqlite)))
7464 (inputs
7465 `(("bdb" ,bdb)
7466 ("gcr" ,gcr)
7467 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7468 ("json-glib" ,json-glib)
7469 ("libcanberra" ,libcanberra)
7470 ("libgweather" ,libgweather)
7471 ("mit-krb5" ,mit-krb5)
7472 ("openldap" ,openldap)
7473 ("webkitgtk" ,webkitgtk)))
7474 (synopsis "Store address books and calendars")
7475 (home-page "https://wiki.gnome.org/Apps/Evolution")
7476 (description
7477 "This package provides a unified backend for programs that work with
7478 contacts, tasks, and calendar information. It was originally developed for
7479 Evolution (hence the name), but is now used by other packages as well.")
7480 (license license:lgpl2.0)))
7481
7482 (define-public caribou
7483 (package
7484 (name "caribou")
7485 (version "0.4.21")
7486 (source (origin
7487 (method url-fetch)
7488 (uri (string-append "mirror://gnome/sources/" name "/"
7489 (version-major+minor version) "/"
7490 name "-" version ".tar.xz"))
7491 (sha256
7492 (base32
7493 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7494 (build-system glib-or-gtk-build-system)
7495 (arguments
7496 '(#:phases
7497 (modify-phases %standard-phases
7498 (add-before
7499 'build 'pre-build
7500 (lambda* (#:key outputs #:allow-other-keys)
7501 (let ((out (assoc-ref outputs "out")))
7502 ;; Use absolute shared library path in Caribou-1.0.typelib.
7503 (substitute* "libcaribou/Makefile"
7504 (("--shared-library=libcaribou.so")
7505 (string-append "--shared-library="
7506 out "/lib/libcaribou.so")))
7507 #t)))
7508 (add-after 'install 'wrap-programs
7509 (lambda* (#:key outputs #:allow-other-keys)
7510 (let* ((out (assoc-ref outputs "out"))
7511 (python-path (getenv "PYTHONPATH"))
7512 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7513 (for-each
7514 (lambda (prog)
7515 (wrap-program prog
7516 `("PYTHONPATH" ":" prefix (,python-path))
7517 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7518 (list (string-append out "/bin/caribou-preferences")
7519 (string-append out "/libexec/antler-keyboard"))))
7520 #t)))))
7521 (native-inputs
7522 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7523 ("gobject-introspection" ,gobject-introspection)
7524 ("intltool" ,intltool)
7525 ("pkg-config" ,pkg-config)
7526 ("python" ,python)
7527 ("vala" ,vala)
7528 ("xsltproc" ,libxslt)))
7529 (propagated-inputs
7530 ;; caribou-1.0.pc refers to all these.
7531 `(("libgee" ,libgee)
7532 ("libxklavier" ,libxklavier)
7533 ("libxtst" ,libxtst)
7534 ("gtk+" ,gtk+)))
7535 (inputs
7536 `(("clutter" ,clutter)
7537 ("dconf" ,dconf)
7538 ("gtk+-2" ,gtk+-2)
7539 ("python-pygobject" ,python-pygobject)))
7540 (synopsis "Text entry and UI navigation application")
7541 (home-page "https://wiki.gnome.org/Projects/Caribou")
7542 (description
7543 "Caribou is an input assistive technology intended for switch and pointer
7544 users.")
7545 (license license:lgpl2.1)))
7546
7547 (define-public network-manager
7548 (package
7549 (name "network-manager")
7550 (version "1.24.0")
7551 (source (origin
7552 (method url-fetch)
7553 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7554 (version-major+minor version) "/"
7555 "NetworkManager-" version ".tar.xz"))
7556 (patches (search-patches "network-manager-plugin-path.patch"))
7557 (sha256
7558 (base32
7559 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7560 (modules '((guix build utils)))
7561 (snippet
7562 '(begin
7563 (substitute* "src/devices/wwan/nm-modem-manager.c"
7564 (("systemd") "elogind"))
7565 #t))))
7566 (build-system meson-build-system)
7567 (outputs '("out"
7568 "doc")) ; 8 MiB of gtk-doc HTML
7569 (arguments
7570 `(#:configure-flags
7571 (let ((out (assoc-ref %outputs "out"))
7572 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7573 "/sbin/dhclient")))
7574 (list
7575 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7576 ;; component.
7577 (string-append "-Dc_link_args=-Wl,-rpath="
7578 out "/lib:"
7579 out "/lib/NetworkManager/" ,version)
7580 "-Dsystemd_journal=false"
7581 "-Dsession_tracking=elogind"
7582 "-Dsuspend_resume=elogind"
7583 "-Dsystemdsystemunitdir=no"
7584 "-Dsession_tracking_consolekit=false"
7585 "-Ddhcpcd=no"
7586 "-Ddhcpcanon=no"
7587 "-Dcrypto=gnutls"
7588 "-Diwd=true"
7589 "-Dlibaudit=yes"
7590 "-Dqt=false"
7591 "-Ddocs=true"
7592 "--sysconfdir=/etc"
7593 "--localstatedir=/var"
7594 (string-append "-Dudev_dir="
7595 out "/lib/udev")
7596 (string-append "-Ddbus_conf_dir="
7597 out "/etc/dbus-1/system.d")
7598
7599 (string-append "-Ddhclient=" dhclient)))
7600 #:phases
7601 (modify-phases %standard-phases
7602 (add-before 'configure 'pre-configure
7603 (lambda _
7604 ;; These tests try to test aspects of network-manager's
7605 ;; functionality within restricted containers, but they don't
7606 ;; cope with being already in the Guix build jail as that jail
7607 ;; lacks some features that they would like to proxy over (like
7608 ;; a /sys mount).
7609 (substitute* "src/platform/tests/meson.build"
7610 ((".*test-address-linux.*") "")
7611 ((".*test-cleanup-linux.*") "")
7612 ((".*test-link-linux.*") "")
7613 ((".*test-route-linux.*") ""))
7614 (substitute* "src/devices/tests/meson.build"
7615 ((".*test-acd.*") "")
7616 ((".*test-lldp.*") ""))
7617 #t))
7618 (add-after 'unpack 'patch-docbook-xml
7619 (lambda* (#:key inputs #:allow-other-keys)
7620 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7621 "/xml/dtd/docbook")))
7622 (substitute* (find-files "." ".*\\.(xsl|xml)")
7623 (("http://.*/docbookx\\.dtd")
7624 (string-append xmldoc "/docbookx.dtd")))
7625 #t)))
7626 (add-before 'check 'pre-check
7627 (lambda _
7628 ;; For the missing /etc/machine-id.
7629 (setenv "DBUS_FATAL_WARNINGS" "0")
7630 #t))
7631 (add-before 'install 'no-polkit-magic
7632 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7633 (lambda _
7634 (setenv "PKEXEC_UID" "something")
7635 #t))
7636 (add-after 'install 'move-doc
7637 (lambda* (#:key outputs #:allow-other-keys)
7638 (let ((out (assoc-ref outputs "out"))
7639 (doc (assoc-ref outputs "doc")))
7640 (mkdir-p (string-append doc "/share"))
7641 (for-each (lambda (directory)
7642 (copy-recursively (string-append out directory)
7643 (string-append doc directory))
7644 (delete-file-recursively
7645 (string-append out directory)))
7646 '("/share/doc" "/share/gtk-doc"))
7647 #t))))))
7648 (propagated-inputs
7649 `(("glib" ,glib)))
7650 (native-inputs
7651 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7652 ("gtk-doc" ,gtk-doc)
7653 ("gobject-introspection" ,gobject-introspection)
7654 ("docbook-xml" ,docbook-xml)
7655 ("docbook-xsl" ,docbook-xsl)
7656 ("intltool" ,intltool)
7657 ("libxslt" ,libxslt)
7658 ("libxml2" ,libxml2)
7659 ("pkg-config" ,pkg-config)
7660 ("vala" ,vala)
7661 ;; For testing.
7662 ("python" ,python-wrapper)
7663 ("python-dbus" ,python-dbus)
7664 ("python-pygobject" ,python-pygobject)))
7665 (inputs
7666 `(("curl" ,curl)
7667 ("cyrus-sasl" ,cyrus-sasl)
7668 ("dbus-glib" ,dbus-glib)
7669 ("dnsmasq" ,dnsmasq)
7670 ("eudev" ,eudev)
7671 ("gnutls" ,gnutls)
7672 ("iptables" ,iptables)
7673 ("isc-dhcp" ,isc-dhcp)
7674 ("iwd" ,iwd) ; wpa_supplicant alternative
7675 ("jansson" ,jansson)
7676 ("libaudit" ,audit)
7677 ("libgcrypt" ,libgcrypt)
7678 ("libgudev" ,libgudev)
7679 ("libndp" ,libndp)
7680 ("libnl" ,libnl)
7681 ("libsoup" ,libsoup)
7682 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7683 ("modem-manager" ,modem-manager)
7684 ("newt" ,newt) ;for the 'nmtui' console interface
7685 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7686 ("polkit" ,polkit)
7687 ("ppp" ,ppp)
7688 ("readline" ,readline)
7689 ("util-linux" ,util-linux)
7690 ("elogind" ,elogind)))
7691 (synopsis "Network connection manager")
7692 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7693 (description
7694 "NetworkManager is a system network service that manages your network
7695 devices and connections, attempting to keep active network connectivity when
7696 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7697 devices, and provides VPN integration with a variety of different VPN
7698 services.")
7699 ;; “This NetworkManager project consists of the daemon, client tools, and
7700 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7701 ;; GPL-2.0+.”
7702 (license (list license:gpl2+
7703 license:lgpl2.1+))
7704 (properties '((upstream-name . "NetworkManager")))))
7705
7706 (define-public network-manager-openvpn
7707 (package
7708 (name "network-manager-openvpn")
7709 (version "1.8.12")
7710 (source (origin
7711 (method url-fetch)
7712 (uri (string-append
7713 "mirror://gnome/sources/NetworkManager-openvpn/"
7714 (version-major+minor version)
7715 "/NetworkManager-openvpn-" version ".tar.xz"))
7716 (sha256
7717 (base32
7718 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7719 (build-system gnu-build-system)
7720 (arguments
7721 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7722 #:phases
7723 (modify-phases %standard-phases
7724 (add-after 'configure 'patch-path
7725 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7726 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7727 "/sbin/openvpn"))
7728 (modprobe (string-append (assoc-ref inputs "kmod")
7729 "/bin/modprobe"))
7730 (pretty-ovpn (string-append "\"" ovpn "\"")))
7731 (for-each
7732 (lambda (file)
7733 (substitute* file
7734 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7735 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7736 (("\"/sbin/openvpn\"") pretty-ovpn)
7737 (("/sbin/modprobe") modprobe)))
7738 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7739 #t)))))
7740 (native-inputs
7741 `(("pkg-config" ,pkg-config)
7742 ("intltool" ,intltool)))
7743 (inputs
7744 `(("gtk+" ,gtk+)
7745 ("kmod" ,kmod)
7746 ("openvpn" ,openvpn)
7747 ("network-manager" ,network-manager)
7748 ("libnma" ,libnma)
7749 ("libsecret" ,libsecret)))
7750 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7751 (synopsis "OpenVPN plug-in for NetworkManager")
7752 (description
7753 "This extension of NetworkManager allows it to take care of connections
7754 to virtual private networks (VPNs) via OpenVPN.")
7755 (license license:gpl2+)
7756 (properties `((upstream-name . "NetworkManager-openvpn")))))
7757
7758 (define-public network-manager-vpnc
7759 (package
7760 (name "network-manager-vpnc")
7761 (version "1.2.6")
7762 (source (origin
7763 (method url-fetch)
7764 (uri (string-append
7765 "mirror://gnome/sources/NetworkManager-vpnc/"
7766 (version-major+minor version)
7767 "/NetworkManager-vpnc-" version ".tar.xz"))
7768 (sha256
7769 (base32
7770 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7771 (build-system gnu-build-system)
7772 (arguments
7773 `(#:configure-flags '("--enable-absolute-paths"
7774 "--localstatedir=/var"
7775 ;; libnm-glib has been removed from network-manager
7776 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7777 "--with-libnm-glib=no")
7778 #:phases
7779 (modify-phases %standard-phases
7780 (add-after 'configure 'patch-path
7781 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7782 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7783 "/sbin/vpnc"))
7784 (modprobe (string-append (assoc-ref inputs "kmod")
7785 "/bin/modprobe"))
7786 (pretty-ovpn (string-append "\"" vpnc "\"")))
7787 (substitute* "src/nm-vpnc-service.c"
7788 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7789 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7790 (("\"/sbin/vpnc\"") pretty-ovpn)
7791 (("/sbin/modprobe") modprobe)))
7792 #t)))))
7793 (native-inputs
7794 `(("pkg-config" ,pkg-config)
7795 ("intltool" ,intltool)))
7796 (inputs
7797 `(("gtk+" ,gtk+)
7798 ("kmod" ,kmod)
7799 ("vpnc" ,vpnc)
7800 ("network-manager" ,network-manager)
7801 ("libnma" ,libnma)
7802 ("libsecret" ,libsecret)))
7803 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7804 (synopsis "VPNC plug-in for NetworkManager")
7805 (description
7806 "Support for configuring virtual private networks based on VPNC.
7807 Compatible with Cisco VPN concentrators configured to use IPsec.")
7808 (license license:gpl2+)
7809 (properties `((upstream-name . "NetworkManager-vpnc")))))
7810
7811 (define-public network-manager-openconnect
7812 (package
7813 (name "network-manager-openconnect")
7814 (version "1.2.6")
7815 (source (origin
7816 (method url-fetch)
7817 (uri (string-append
7818 "mirror://gnome/sources/NetworkManager-openconnect/"
7819 (version-major+minor version)
7820 "/NetworkManager-openconnect-" version ".tar.xz"))
7821 (sha256
7822 (base32
7823 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7824 (build-system gnu-build-system)
7825 (arguments
7826 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7827 #:phases
7828 (modify-phases %standard-phases
7829 (add-after 'configure 'patch-path
7830 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7831 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7832 "/sbin/openconnect"))
7833 (modprobe (string-append (assoc-ref inputs "kmod")
7834 "/bin/modprobe"))
7835 (pretty-ovpn (string-append "\"" openconnect "\"")))
7836 (substitute* "src/nm-openconnect-service.c"
7837 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7838 (("/sbin/modprobe") modprobe)))
7839 #t)))))
7840 (native-inputs
7841 `(("intltool" ,intltool)
7842 ("libnma" ,libnma)
7843 ("pkg-config" ,pkg-config)))
7844 (inputs
7845 `(("gcr" ,gcr)
7846 ("gtk+" ,gtk+)
7847 ("kmod" ,kmod)
7848 ("libsecret" ,libsecret)
7849 ("libxml2" ,libxml2)
7850 ("lz4" ,lz4)
7851 ("network-manager" ,network-manager)
7852 ("openconnect" ,openconnect)))
7853 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7854 (synopsis "OpenConnect plug-in for NetworkManager")
7855 (description
7856 "This extension of NetworkManager allows it to take care of connections
7857 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7858 Cisco's AnyConnect SSL VPN.")
7859 (license license:gpl2+)
7860 (properties `((upstream-name . "NetworkManager-openconnect")
7861
7862 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7863 ;; file refers to account "nm-openconnect". Specify it here
7864 ;; so that 'network-manager-service-type' creates it.
7865 (user-accounts . ("nm-openconnect"))))))
7866
7867 (define-public mobile-broadband-provider-info
7868 (package
7869 (name "mobile-broadband-provider-info")
7870 (version "20190116")
7871 (source (origin
7872 (method url-fetch)
7873 (uri (string-append
7874 "mirror://gnome/sources/"
7875 "mobile-broadband-provider-info/" version "/"
7876 "mobile-broadband-provider-info-" version ".tar.xz"))
7877 (sha256
7878 (base32
7879 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7880 (build-system gnu-build-system)
7881 (arguments
7882 `(#:tests? #f)) ; no tests
7883 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7884 (synopsis "Database of broadband connection configuration")
7885 (description "Database of broadband connection configuration.")
7886 (license license:public-domain)))
7887
7888 (define-public network-manager-applet
7889 (package
7890 (name "network-manager-applet")
7891 (version "1.16.0")
7892 (source (origin
7893 (method url-fetch)
7894 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7895 (version-major+minor version) "/"
7896 "network-manager-applet-" version ".tar.xz"))
7897 (sha256
7898 (base32
7899 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7900 (build-system meson-build-system)
7901 (arguments
7902 '(#:glib-or-gtk? #t))
7903 (native-inputs
7904 `(("intltool" ,intltool)
7905 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7906 ("gobject-introspection" ,gobject-introspection)
7907 ("gtk-doc" ,gtk-doc)
7908 ("pkg-config" ,pkg-config)))
7909 (propagated-inputs
7910 ;; libnm-gtk.pc refers to all these.
7911 `(("dbus-glib" ,dbus-glib)
7912 ("gtk+" ,gtk+)
7913 ("network-manager" ,network-manager)
7914 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7915 ("libnma" ,libnma)))
7916 (inputs
7917 `(("gcr" ,gcr)
7918 ("libgudev" ,libgudev)
7919 ("libnotify" ,libnotify)
7920 ("libsecret" ,libsecret)
7921 ("libselinux" ,libselinux)
7922 ("jansson" ,jansson) ; for team support
7923 ("modem-manager" ,modem-manager)))
7924 (synopsis "Applet for managing network connections")
7925 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7926 (description
7927 "This package contains a systray applet for NetworkManager. It displays
7928 the available networks and allows users to easily switch between them.")
7929 (license license:gpl2+)))
7930
7931 (define-public libxml++
7932 (package
7933 (name "libxml++")
7934 (version "3.0.1")
7935 (source (origin
7936 (method url-fetch)
7937 (uri (string-append "mirror://gnome/sources/" name "/"
7938 (version-major+minor version) "/"
7939 name "-" version ".tar.xz"))
7940 (sha256
7941 (base32
7942 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7943 (build-system gnu-build-system)
7944 ;; libxml++-3.0.pc refers to all these.
7945 (propagated-inputs
7946 `(("libxml2" ,libxml2)
7947 ("glibmm" ,glibmm)))
7948 (native-inputs
7949 `(("perl" ,perl)
7950 ("pkg-config" ,pkg-config)))
7951 (home-page "http://libxmlplusplus.sourceforge.net/")
7952 (synopsis "C++ wrapper for XML parser library libxml2")
7953 (description
7954 "This package provides a C++ wrapper for the XML parser library
7955 libxml2.")
7956 (license license:lgpl2.1+)))
7957
7958 (define-public libxml++-2
7959 (package
7960 (inherit libxml++)
7961 (name "libxml++")
7962 (version "2.40.1")
7963 (source (origin
7964 (method url-fetch)
7965 (uri (string-append "mirror://gnome/sources/" name "/"
7966 (version-major+minor version) "/"
7967 name "-" version ".tar.xz"))
7968 (sha256
7969 (base32
7970 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7971
7972 (define-public gdm
7973 (package
7974 (name "gdm")
7975 (version "3.34.1")
7976 (source (origin
7977 (method url-fetch)
7978 (uri (string-append "mirror://gnome/sources/" name "/"
7979 (version-major+minor version) "/"
7980 name "-" version ".tar.xz"))
7981 (sha256
7982 (base32
7983 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7984 (patches (search-patches "gdm-default-session.patch"))))
7985 (build-system glib-or-gtk-build-system)
7986 (arguments
7987 '(#:configure-flags
7988 `("--without-plymouth"
7989 "--disable-systemd-journal"
7990
7991 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7992 ;; instead of having to replace it (i.e., stopping the mingetty
7993 ;; service for TTY 1 before starting GDM).
7994 "--with-initial-vt=7"
7995
7996 ;; Use '/etc/environment' for locale settings instead of the
7997 ;; systemd-specific '/etc/locale.conf'.
7998 "--with-lang-file=/etc/environment"
7999
8000 ,(string-append "--with-udevdir="
8001 (assoc-ref %outputs "out") "/lib/udev")
8002
8003 "--localstatedir=/var"
8004 ,(string-append "--with-default-path="
8005 (string-join '("/run/setuid-programs"
8006 "/run/current-system/profile/bin"
8007 "/run/current-system/profile/sbin")
8008 ":"))
8009 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8010 ;; XDG_DATA_DIRS so that it finds its schemas.
8011 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8012 #:phases
8013 (modify-phases %standard-phases
8014 (add-before
8015 'configure 'pre-configure
8016 (lambda* (#:key inputs outputs #:allow-other-keys)
8017 ;; We don't have <systemd/sd-daemon.h>.
8018 (substitute* '("common/gdm-log.c"
8019 "daemon/gdm-server.c"
8020 "daemon/gdm-session-worker.c"
8021 "daemon/gdm-session-worker-job.c")
8022 (("#include <systemd/sd-daemon\\.h>") ""))
8023 ;; Use elogind for sd-login.
8024 (substitute* '("common/gdm-common.c"
8025 "daemon/gdm-local-display-factory.c"
8026 "daemon/gdm-manager.c"
8027 "libgdm/gdm-user-switching.c")
8028 (("#include <systemd/sd-login\\.h>")
8029 "#include <elogind/sd-login.h>"))
8030 ;; Check for elogind.
8031 (substitute* '("configure")
8032 (("libsystemd")
8033 "libelogind"))
8034 ;; Look for system-installed sessions in
8035 ;; /run/current-system/profile/share.
8036 (substitute* '("libgdm/gdm-sessions.c"
8037 "daemon/gdm-session.c"
8038 "daemon/gdm-display.c"
8039 "daemon/gdm-launch-environment.c")
8040 (("DATADIR \"/x")
8041 "\"/run/current-system/profile/share/x")
8042 (("DATADIR \"/wayland")
8043 "\"/run/current-system/profile/share/wayland")
8044 (("DATADIR \"/gnome")
8045 "\"/run/current-system/profile/share/gnome"))
8046 (let ((propagate '("GDM_CUSTOM_CONF"
8047 "GDM_DBUS_DAEMON"
8048 "GDM_X_SERVER"
8049 "GDM_X_SESSION"
8050 ;; XXX: Remove this once GNOME Shell is
8051 ;; a dependency of GDM.
8052 "XDG_DATA_DIRS")))
8053 (substitute* "daemon/gdm-session.c"
8054 (("set_up_session_environment \\(self\\);")
8055 (apply string-append
8056 "set_up_session_environment (self);\n"
8057 (map (lambda (name)
8058 (string-append
8059 "gdm_session_set_environment_variable "
8060 "(self, \"" name "\","
8061 "g_getenv (\"" name "\"));\n"))
8062 propagate)))))
8063 ;; Find the configuration file using an environment variable.
8064 (substitute* '("common/gdm-settings.c")
8065 (("GDM_CUSTOM_CONF")
8066 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8067 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8068 " : GDM_CUSTOM_CONF)")))
8069 ;; Use service-supplied path to X.
8070 (substitute* '("daemon/gdm-server.c")
8071 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8072 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8073 (substitute* '("daemon/gdm-wayland-session.c"
8074 "daemon/gdm-x-session.c")
8075 (("\"dbus-daemon\"")
8076 "g_getenv (\"GDM_DBUS_DAEMON\")")
8077 (("X_SERVER")
8078 "g_getenv (\"GDM_X_SERVER\")")
8079 (("GDMCONFDIR \"/Xsession\"")
8080 "g_getenv (\"GDM_X_SESSION\")"))
8081 ;; Use an absolute path for GNOME Session.
8082 (substitute* "daemon/gdm-launch-environment.c"
8083 (("\"gnome-session\"")
8084 (string-append "\"" (assoc-ref inputs "gnome-session")
8085 "/bin/gnome-session\"")))
8086 ;; Do not automatically select the placeholder session.
8087 (substitute* "daemon/gdm-session.c"
8088 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8089 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8090 "(g_strcmp0(search_dirs[i], \""
8091 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8092 "\") == 0 && "
8093 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8094 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8095 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8096 #t))
8097 ;; GDM requires that there be at least one desktop entry
8098 ;; file. This phase installs a hidden one that simply
8099 ;; fails. This enables users to use GDM with a
8100 ;; '~/.xsession' script with no other desktop entry files.
8101 ;; See <https://bugs.gnu.org/35068>.
8102 (add-after 'install 'install-placeholder-desktop-entry
8103 (lambda* (#:key inputs outputs #:allow-other-keys)
8104 (let* ((out (assoc-ref outputs "out"))
8105 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8106 (fail (string-append sessions "/fail.desktop")))
8107 (mkdir-p sessions)
8108 (with-output-to-file fail
8109 (lambda ()
8110 (for-each
8111 display
8112 '("[Desktop Entry]\n"
8113 "Encoding=UTF-8\n"
8114 "Type=Application\n"
8115 "Name=Fail\n"
8116 "Comment=This session fails immediately.\n"
8117 "NoDisplay=true\n"
8118 "Exec=false\n"))))
8119 #t)))
8120 ;; GDM needs GNOME Session to run these applications. We link
8121 ;; their autostart files in `share/gdm/greeter/autostart'
8122 ;; because GDM explicitly tells GNOME Session to look there.
8123 ;;
8124 ;; XXX: GNOME Shell should be linked here too, but currently
8125 ;; GNOME Shell depends on GDM.
8126 (add-after 'install 'link-autostart-files
8127 (lambda* (#:key inputs outputs #:allow-other-keys)
8128 (let* ((out (assoc-ref outputs "out"))
8129 (autostart (string-append out "/share/gdm/"
8130 "greeter/autostart"))
8131 (settings (assoc-ref inputs "gnome-settings-daemon")))
8132 (mkdir-p autostart)
8133 (with-directory-excursion autostart
8134 (for-each (lambda (desktop)
8135 (symlink desktop (basename desktop)))
8136 (find-files (string-append settings "/etc/xdg"))))
8137 #t))))))
8138 (native-inputs
8139 `(("dconf" ,dconf)
8140 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8141 ("gobject-introspection" ,gobject-introspection)
8142 ("intltool" ,intltool)
8143 ("itstool" ,itstool)
8144 ("pkg-config" ,pkg-config)
8145 ("xmllint" ,libxml2)))
8146 (inputs
8147 `(("accountsservice" ,accountsservice)
8148 ("check" ,check-0.14) ;for testing
8149 ("elogind" ,elogind)
8150 ("gnome-session" ,gnome-session)
8151 ("gnome-settings-daemon" ,gnome-settings-daemon)
8152 ("gtk+" ,gtk+)
8153 ("iso-codes" ,iso-codes)
8154 ("libcanberra" ,libcanberra)
8155 ("linux-pam" ,linux-pam)))
8156 (synopsis "Display manager for GNOME")
8157 (home-page "https://wiki.gnome.org/Projects/GDM/")
8158 (description
8159 "GNOME Display Manager is a system service that is responsible for
8160 providing graphical log-ins and managing local and remote displays.")
8161 (license license:gpl2+)))
8162
8163 (define-public libgtop
8164 (package
8165 (name "libgtop")
8166 (version "2.40.0")
8167 (source (origin
8168 (method url-fetch)
8169 (uri (string-append "mirror://gnome/sources/libgtop/"
8170 (version-major+minor version) "/"
8171 "libgtop-" version ".tar.xz"))
8172 (sha256
8173 (base32
8174 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8175 (build-system gnu-build-system)
8176 (native-inputs
8177 `(("gobject-introspection" ,gobject-introspection)
8178 ("intltool" ,intltool)
8179 ("perl" ,perl)
8180 ("pkg-config" ,pkg-config)))
8181 (propagated-inputs
8182 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8183 (synopsis "Portable system access library")
8184 (home-page "https://www.gnome.org/")
8185 (description
8186 "LibGTop is a library to get system specific data such as CPU and memory
8187 usage and information about running processes.")
8188 (license license:gpl2+)))
8189
8190 (define-public gnome-bluetooth
8191 (package
8192 (name "gnome-bluetooth")
8193 (version "3.34.2")
8194 (source (origin
8195 (method url-fetch)
8196 (uri (string-append "mirror://gnome/sources/" name "/"
8197 (version-major+minor version) "/"
8198 name "-" version ".tar.xz"))
8199 (sha256
8200 (base32
8201 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8202 (build-system meson-build-system)
8203 (native-inputs
8204 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8205 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8206 ("gobject-introspection" ,gobject-introspection)
8207 ("intltool" ,intltool)
8208 ("pkg-config" ,pkg-config)
8209 ("xmllint" ,libxml2)))
8210 (propagated-inputs
8211 ;; gnome-bluetooth-1.0.pc refers to all these.
8212 `(("glib" ,glib)
8213 ("gtk+" ,gtk+)))
8214 (inputs
8215 `(("eudev" ,eudev)
8216 ("libcanberra" ,libcanberra)
8217 ("libnotify" ,libnotify)))
8218 (synopsis "GNOME Bluetooth subsystem")
8219 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8220 (description
8221 "This package contains tools for managing and manipulating Bluetooth
8222 devices using the GNOME desktop.")
8223 (license license:lgpl2.1+)))
8224
8225 (define-public gnome-control-center
8226 (package
8227 (name "gnome-control-center")
8228 (version "3.34.2")
8229 (source (origin
8230 (method url-fetch)
8231 (uri (string-append "mirror://gnome/sources/" name "/"
8232 (version-major+minor version) "/"
8233 name "-" version ".tar.xz"))
8234 (sha256
8235 (base32
8236 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8237 (build-system meson-build-system)
8238 (arguments
8239 '(#:glib-or-gtk? #t
8240 #:configure-flags
8241 (list "-Dcheese=false"
8242 (string-append "-Dgnome_session_libexecdir="
8243 (assoc-ref %build-inputs "gnome-session")
8244 "/libexec"))
8245 #:phases
8246 (modify-phases %standard-phases
8247 (add-before 'configure 'patch-paths
8248 (lambda* (#:key inputs #:allow-other-keys)
8249 (let ((libc (assoc-ref inputs "libc"))
8250 (tzdata (assoc-ref inputs "tzdata"))
8251 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8252 (nm-applet (assoc-ref inputs "network-manager-applet"))
8253 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8254 (substitute* "panels/datetime/tz.h"
8255 (("/usr/share/zoneinfo/zone.tab")
8256 (string-append tzdata "/share/zoneinfo/zone.tab")))
8257 (substitute* "tests/datetime/test-endianess.c"
8258 (("/usr/share/locale")
8259 (string-append libc "/share/locale")))
8260 (substitute* "panels/region/cc-region-panel.c"
8261 (("\"gkbd-keyboard-display")
8262 (string-append "\"" libgnomekbd
8263 "/bin/gkbd-keyboard-display")))
8264 (substitute* '("panels/network/net-device-wifi.c"
8265 "panels/network/net-device.c"
8266 "panels/network/connection-editor/net-connection-editor.c")
8267 (("\"nm-connection-editor")
8268 (string-append "\"" nm-applet
8269 "/bin/nm-connection-editor")))
8270 (substitute* '("panels/user-accounts/run-passwd.c")
8271 (("/usr/bin/passwd")
8272 "/run/setuid-programs/passwd"))
8273 (substitute* "panels/info/cc-info-overview-panel.c"
8274 (("DATADIR \"/gnome/gnome-version.xml\"")
8275 (string-append "\"" gnome-desktop
8276 "/share/gnome/gnome-version.xml\"")))
8277 #t)))
8278 (add-after 'unpack 'skip-gtk-update-icon-cache
8279 ;; Don't create 'icon-theme.cache'.
8280 (lambda _
8281 (substitute* "build-aux/meson/meson_post_install.py"
8282 (("gtk-update-icon-cache") (which "true")))
8283 #t)))))
8284 (native-inputs
8285 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8286 ("intltool" ,intltool)
8287 ("pkg-config" ,pkg-config)
8288 ("xsltproc" ,libxslt)
8289 ;; For tests
8290 ("hicolor-icon-theme" ,hicolor-icon-theme)
8291 ("python-dbusmock" ,python-dbusmock)
8292 ("xorg-server" ,xorg-server-for-tests)))
8293 (inputs
8294 `(("accountsservice" ,accountsservice)
8295 ("clutter-gtk" ,clutter-gtk)
8296 ("colord-gtk" ,colord-gtk)
8297 ("cups" ,cups)
8298 ("dconf" ,dconf)
8299 ("docbook-xsl" ,docbook-xsl)
8300 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8301 ("gnome-bluetooth" ,gnome-bluetooth)
8302 ("gnome-desktop" ,gnome-desktop)
8303 ("gnome-online-accounts" ,gnome-online-accounts)
8304 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8305 ("gnome-session" ,gnome-session)
8306 ("gnome-settings-daemon" ,gnome-settings-daemon)
8307 ("grilo" ,grilo)
8308 ("gsound" ,gsound)
8309 ("ibus" ,ibus)
8310 ("libcanberra" ,libcanberra)
8311 ("libgnomekbd" ,libgnomekbd)
8312 ("libgudev" ,libgudev)
8313 ("libgtop" ,libgtop)
8314 ("libnma" ,libnma)
8315 ("libpwquality" ,libpwquality)
8316 ("libsecret" ,libsecret)
8317 ("libsoup" ,libsoup)
8318 ("libxml2" ,libxml2)
8319 ("libwacom" ,libwacom)
8320 ("mesa" ,mesa)
8321 ("mit-krb5" ,mit-krb5)
8322 ("modem-manager" ,modem-manager)
8323 ("network-manager-applet" ,network-manager-applet)
8324 ("polkit" ,polkit)
8325 ("pulseaudio" ,pulseaudio)
8326 ("smbclient" ,samba)
8327 ("tzdata" ,tzdata)
8328 ("udisks" ,udisks)
8329 ("upower" ,upower)))
8330 (synopsis "Utilities to configure the GNOME desktop")
8331 (home-page "https://www.gnome.org/")
8332 (description
8333 "This package contains configuration applets for the GNOME desktop,
8334 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8335 properties, sound setup, desktop theme and background, user interface
8336 properties, screen resolution, and other GNOME parameters.")
8337 (license license:gpl2+)))
8338
8339 (define-public gnome-shell
8340 (package
8341 (name "gnome-shell")
8342 (version "3.34.2")
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 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8351 (patches (search-patches "gnome-shell-theme.patch"
8352 "gnome-shell-disable-test.patch"))
8353 (modules '((guix build utils)))
8354 (snippet
8355 #~(begin
8356 ;; Copy images for use on the GDM log-in screen.
8357 (copy-file #$(file-append %artwork-repository
8358 "/slim/0.x/background.png")
8359 "data/theme/guix-background.png")
8360 (copy-file #$(file-append %artwork-repository
8361 "/logo/Guix-horizontal-white.svg")
8362 "data/theme/guix-logo.svg")
8363 #t))))
8364 (build-system meson-build-system)
8365 (arguments
8366 `(#:glib-or-gtk? #t
8367 #:disallowed-references ((,glib "bin")
8368 ,inkscape ,libxslt
8369 ,ruby-sass)
8370 #:configure-flags
8371 (list "-Dsystemd=false"
8372 ;; Otherwise, the RUNPATH will lack the final path component.
8373 (string-append "-Dc_link_args=-Wl,-rpath="
8374 (assoc-ref %outputs "out")
8375 "/lib/gnome-shell"))
8376
8377 #:modules ((guix build meson-build-system)
8378 (guix build utils)
8379 (srfi srfi-1))
8380
8381 #:phases
8382 (modify-phases %standard-phases
8383 (add-after 'unpack 'fix-keysdir
8384 (lambda* (#:key outputs #:allow-other-keys)
8385 (let* ((out (assoc-ref outputs "out"))
8386 (keysdir (string-append
8387 out "/share/gnome-control-center/keybindings")))
8388 (substitute* "meson.build"
8389 (("keysdir =.*")
8390 (string-append "keysdir = '" keysdir "'\n")))
8391 #t)))
8392 (add-before 'configure 'convert-logo-to-png
8393 (lambda* (#:key inputs #:allow-other-keys)
8394 ;; Convert the logo from SVG to PNG.
8395 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8396 "data/theme/guix-logo.svg")))
8397 (add-before 'configure 'record-absolute-file-names
8398 (lambda* (#:key inputs #:allow-other-keys)
8399 (substitute* "js/misc/ibusManager.js"
8400 (("'ibus-daemon'")
8401 (string-append "'" (assoc-ref inputs "ibus")
8402 "/bin/ibus-daemon'")))
8403 (substitute* "js/ui/status/keyboard.js"
8404 (("'gkbd-keyboard-display'")
8405 (string-append "'" (assoc-ref inputs "libgnomekbd")
8406 "/bin/gkbd-keyboard-display'")))
8407 #t))
8408 (add-before 'check 'pre-check
8409 (lambda* (#:key inputs #:allow-other-keys)
8410 ;; Tests require a running X server.
8411 (system "Xvfb :1 &")
8412 (setenv "DISPLAY" ":1")
8413 #t))
8414 (add-after 'install 'wrap-programs
8415 (lambda* (#:key inputs outputs #:allow-other-keys)
8416 (let ((out (assoc-ref outputs "out"))
8417 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8418 (python-path (getenv "PYTHONPATH")))
8419 (wrap-program (string-append out "/bin/gnome-shell")
8420 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8421 ;; FIXME: gnome-shell loads these libraries with unqualified
8422 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8423 ;; alternative might be to patch gnome-shell.
8424 `("LD_LIBRARY_PATH" ":" prefix
8425 ,(map (lambda (pkg)
8426 (string-append (assoc-ref inputs pkg) "/lib"))
8427 '("gdk-pixbuf"
8428 "gnome-bluetooth" "librsvg" "libgweather"))))
8429 (for-each
8430 (lambda (prog)
8431 (wrap-program (string-append out "/bin/" prog)
8432 `("PYTHONPATH" ":" prefix (,python-path))
8433 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8434 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8435 #t)))
8436 (replace 'glib-or-gtk-wrap
8437 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8438 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8439 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8440 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8441 ;; phase. Fix that since we don't need these.
8442 (wrap #:inputs (fold alist-delete inputs
8443 '("inkscape" "intltool" "glib:bin"))
8444 #:outputs outputs)))))))
8445 (native-inputs
8446 `(("asciidoc" ,asciidoc)
8447 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8448 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8449 ("gobject-introspection" ,gobject-introspection)
8450 ("inkscape" ,inkscape)
8451 ("intltool" ,intltool)
8452 ("pkg-config" ,pkg-config)
8453 ("python" ,python)
8454 ("ruby-sass" ,ruby-sass)
8455 ("sassc" ,sassc)
8456 ("xsltproc" ,libxslt)
8457 ;; For tests
8458 ("xorg-server" ,xorg-server-for-tests)))
8459 (inputs
8460 `(("accountsservice" ,accountsservice)
8461 ("caribou" ,caribou)
8462 ("docbook-xsl" ,docbook-xsl)
8463 ("evolution-data-server" ,evolution-data-server)
8464 ("gcr" ,gcr)
8465 ("gdm" ,gdm)
8466 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8467 ("gjs" ,gjs)
8468 ("gnome-autoar" ,gnome-autoar)
8469 ("gnome-bluetooth" ,gnome-bluetooth)
8470 ("gnome-desktop" ,gnome-desktop)
8471 ("gnome-settings-daemon" ,gnome-settings-daemon)
8472 ("gst-plugins-base" ,gst-plugins-base)
8473 ("ibus" ,ibus)
8474 ("libcanberra" ,libcanberra)
8475 ("libcroco" ,libcroco)
8476 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8477 ("libgweather" ,libgweather)
8478 ("libnma" ,libnma)
8479 ("libsoup" ,libsoup)
8480 ("mesa-headers" ,mesa-headers)
8481 ("mutter" ,mutter)
8482 ("network-manager-applet" ,network-manager-applet)
8483 ("polkit" ,polkit)
8484 ("pulseaudio" ,pulseaudio)
8485 ("python-pygobject" ,python-pygobject)
8486 ("startup-notification" ,startup-notification)
8487 ("telepathy-logger" ,telepathy-logger)
8488 ("upower" ,upower)
8489 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8490 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8491 ("librsvg" ,librsvg)
8492 ("geoclue" ,geoclue)))
8493 (synopsis "Desktop shell for GNOME")
8494 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8495 (description
8496 "GNOME Shell provides core user interface functions for the GNOME desktop,
8497 like switching to windows and launching applications.")
8498 (license license:gpl2+)))
8499
8500 (define-public gtk-vnc
8501 (package
8502 (name "gtk-vnc")
8503 (version "1.0.0")
8504 (source
8505 (origin
8506 (method url-fetch)
8507 (uri
8508 (string-append "mirror://gnome/sources/" name "/"
8509 (version-major+minor version) "/"
8510 name "-" version ".tar.xz"))
8511 (sha256
8512 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8513 (build-system meson-build-system)
8514 (arguments
8515 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8516 (native-inputs
8517 `(("gjs" ,gjs)
8518 ("glib:bin" ,glib "bin")
8519 ("gobject-introspection" ,gobject-introspection)
8520 ("intltool" ,intltool)
8521 ("node" ,node)
8522 ("perl" ,perl)
8523 ("pkg-config" ,pkg-config)
8524 ("python" ,python-wrapper)
8525 ("vala" ,vala)))
8526 (inputs
8527 `(("cairo" ,cairo)
8528 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8529 ("glib" ,glib)
8530 ("gnutls" ,gnutls)
8531 ("libgcrypt" ,libgcrypt)
8532 ("libsasl" ,cyrus-sasl)
8533 ("pulseaudio" ,pulseaudio)
8534 ("x11" ,libx11)
8535 ("zlib" ,zlib)))
8536 (propagated-inputs
8537 `(("gtk+" ,gtk+)))
8538 (synopsis "VNC client viewer widget for GTK+")
8539 (description "GTK-VNC is a project providing client side APIs for the RFB
8540 protocol / VNC remote desktop technology. It is built using coroutines allowing
8541 it to be completely asynchronous while remaining single threaded. It provides a
8542 core C library, and bindings for Python (PyGTK).")
8543 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8544 (license license:lgpl2.1+)))
8545
8546 (define-public gnome-autoar
8547 (package
8548 (name "gnome-autoar")
8549 (version "0.2.4")
8550 (source (origin
8551 (method url-fetch)
8552 (uri (string-append "mirror://gnome/sources/" name "/"
8553 (version-major+minor version) "/"
8554 name "-" version ".tar.xz"))
8555 (sha256
8556 (base32
8557 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8558 (build-system glib-or-gtk-build-system)
8559 (native-inputs
8560 `(("gobject-introspection" ,gobject-introspection)
8561 ("pkg-config" ,pkg-config)))
8562 (propagated-inputs
8563 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8564 (inputs
8565 `(("gtk+" ,gtk+)))
8566 (synopsis "Archives integration support for GNOME")
8567 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8568 (description
8569 "GNOME Autoar is a library which makes creating and extracting archives
8570 easy, safe, and automatic.")
8571 (license license:lgpl2.1+)))
8572
8573 (define-public tracker
8574 (package
8575 (name "tracker")
8576 (version "2.3.5")
8577 (source (origin
8578 (method url-fetch)
8579 (uri (string-append "mirror://gnome/sources/tracker/"
8580 (version-major+minor version) "/"
8581 "tracker-" version ".tar.xz"))
8582 (sha256
8583 (base32
8584 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8585 (build-system meson-build-system)
8586 (arguments
8587 `(#:glib-or-gtk? #t
8588 #:configure-flags
8589 ;; Otherwise, the RUNPATH will lack the final path component.
8590 (list (string-append "-Dc_link_args=-Wl,-rpath="
8591 (assoc-ref %outputs "out") "/lib:"
8592 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8593 #:phases
8594 (modify-phases %standard-phases
8595 (add-before 'check 'pre-check
8596 (lambda _
8597 ;; Some tests expect to write to $HOME.
8598 (setenv "HOME" "/tmp")
8599 #t)))))
8600 (native-inputs
8601 `(("glib:bin" ,glib "bin")
8602 ("gobject-introspection" ,gobject-introspection)
8603 ("python-pygobject" ,python-pygobject)
8604 ("intltool" ,intltool)
8605 ("pkg-config" ,pkg-config)
8606 ("vala" ,vala)))
8607 (inputs
8608 `(("dbus" ,dbus)
8609 ("sqlite" ,sqlite)
8610 ("libxml2" ,libxml2)
8611 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8612 ("json-glib" ,json-glib)
8613 ("libsoup" ,libsoup)))
8614 (synopsis "Metadata database, indexer and search tool")
8615 (home-page "https://wiki.gnome.org/Projects/Tracker")
8616 (description
8617 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8618
8619 It is a middleware component aimed at desktop application developers who want
8620 their apps to browse and search user content. It's not designed to be used
8621 directly by desktop users, but it provides a commandline tool named
8622 @command{tracker} for the adventurous.
8623
8624 Tracker allows your application to instantly perform full-text searches across
8625 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8626 example. This is achieved by indexing the user's home directory in the
8627 background.
8628
8629 Tracker also allows your application to query and list content that the user
8630 has stored. For example, GNOME Music displays all the music files that are
8631 found by Tracker. This means that GNOME Music doesn't need to maintain a
8632 database of its own.
8633
8634 If you need to go beyond simple searches, Tracker is also a linked data
8635 endpoint and it understands SPARQL. ")
8636 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8637 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8638 ;; libstemmer is bsd-3 and the rest is gpl2+.
8639 (license (list license:gpl2+
8640 license:bsd-3
8641 license:lgpl2.1+))))
8642
8643 (define-public tracker-miners
8644 (package
8645 (name "tracker-miners")
8646 (version "2.3.4")
8647 (source (origin
8648 (method url-fetch)
8649 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8650 (version-major+minor version)
8651 "/tracker-miners-" version ".tar.xz"))
8652 (sha256
8653 (base32
8654 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8655 (build-system meson-build-system)
8656 (arguments
8657 `(#:glib-or-gtk? #t
8658 #:configure-flags
8659 (list "-Dminer_rss=false" ; libgrss is required.
8660 ;; Ensure the RUNPATH contains all installed library locations.
8661 (string-append "-Dc_link_args=-Wl,-rpath="
8662 (assoc-ref %outputs "out")
8663 "/lib/tracker-miners-2.0")
8664 ;; TODO: Enable functional tests. Currently, the following error
8665 ;; appears:
8666 ;; Exception: The functional tests require DConf to be the default
8667 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8668 "-Dfunctional_tests=false")))
8669 (native-inputs
8670 `(("dbus" ,dbus)
8671 ("intltool" ,intltool)
8672 ("glib:bin" ,glib "bin")
8673 ("gobject-introspection" ,gobject-introspection)
8674 ("pkg-config" ,pkg-config)
8675 ("python-pygobject" ,python-pygobject)))
8676 (inputs
8677 `(("exempi" ,exempi)
8678 ("ffmpeg" ,ffmpeg)
8679 ("flac" ,flac)
8680 ("giflib" ,giflib)
8681 ("glib" ,glib)
8682 ("gstreamer" ,gstreamer)
8683 ("icu4c" ,icu4c)
8684 ("libcue" ,libcue)
8685 ("libexif" ,libexif)
8686 ("libgsf" ,libgsf)
8687 ("libgxps" ,libgxps)
8688 ("libiptcdata" ,libiptcdata)
8689 ("libjpeg" ,libjpeg-turbo)
8690 ("libosinfo" ,libosinfo)
8691 ("libpng" ,libpng)
8692 ("libseccomp" ,libseccomp)
8693 ("libtiff" ,libtiff)
8694 ("libvorbis" ,libvorbis)
8695 ("libxml2" ,libxml2)
8696 ("poppler" ,poppler)
8697 ("taglib" ,taglib)
8698 ("totem-pl-parser" ,totem-pl-parser)
8699 ("tracker" ,tracker)
8700 ("upower" ,upower)
8701 ("zlib" ,zlib)))
8702 (synopsis "Metadata database, indexer and search tool")
8703 (home-page "https://wiki.gnome.org/Projects/Tracker")
8704 (description
8705 "Tracker is an advanced framework for first class objects with associated
8706 metadata and tags. It provides a one stop solution for all metadata, tags,
8707 shared object databases, search tools and indexing.")
8708 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8709 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8710 (license (list license:gpl2+
8711 license:lgpl2.1+
8712 license:lgpl2.0+))))
8713
8714 (define-public nautilus
8715 (package
8716 (name "nautilus")
8717 (version "3.34.2")
8718 (source (origin
8719 (method url-fetch)
8720 (uri (string-append "mirror://gnome/sources/" name "/"
8721 (version-major+minor version) "/"
8722 name "-" version ".tar.xz"))
8723 (sha256
8724 (base32
8725 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8726 (build-system meson-build-system)
8727 (arguments
8728 '(#:glib-or-gtk? #t
8729 #:phases
8730 (modify-phases %standard-phases
8731 (add-after 'unpack 'skip-gtk-update-icon-cache
8732 ;; Don't create 'icon-theme.cache'.
8733 (lambda _
8734 (substitute* "build-aux/meson/postinstall.py"
8735 (("gtk-update-icon-cache") "true"))
8736 #t)))
8737 ;; XXX: FAIL: check-nautilus
8738 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8739 #:tests? #f))
8740 (native-inputs
8741 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8742 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8743 ("gobject-introspection" ,gobject-introspection)
8744 ("intltool" ,intltool)
8745 ("pkg-config" ,pkg-config)))
8746 (inputs
8747 `(("dconf" ,dconf)
8748 ("gexiv2" ,gexiv2)
8749 ("gvfs" ,gvfs)
8750 ("exempi" ,exempi)
8751 ("gnome-desktop" ,gnome-desktop)
8752 ("gnome-autoar" ,gnome-autoar)
8753 ("gst-plugins-base" ,gst-plugins-base)
8754 ("libseccomp" ,libseccomp)
8755 ("libselinux" ,libselinux)
8756 ("tracker" ,tracker)
8757 ("tracker-miners" ,tracker-miners)
8758 ;; XXX: gtk+ is required by libnautilus-extension.pc
8759 ;;
8760 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8761 ;; package. See:
8762 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8763 ("gtk+" ,gtk+)
8764 ("libexif" ,libexif)
8765 ("libxml2" ,libxml2)))
8766 (synopsis "File manager for GNOME")
8767 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8768 (description
8769 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8770 design and behaviour, giving the user a simple way to navigate and manage its
8771 files.")
8772 (license license:gpl2+)))
8773
8774 (define-public baobab
8775 (package
8776 (name "baobab")
8777 (version "3.38.0")
8778 (source (origin
8779 (method url-fetch)
8780 (uri (string-append
8781 "mirror://gnome/sources/" name "/"
8782 (version-major+minor version) "/"
8783 name "-" version ".tar.xz"))
8784 (sha256
8785 (base32
8786 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8787 (build-system meson-build-system)
8788 (arguments
8789 '(#:glib-or-gtk? #t))
8790 (native-inputs
8791 `(("intltool" ,intltool)
8792 ("pkg-config" ,pkg-config)
8793 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8794 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8795 ("itstool" ,itstool)
8796 ("xmllint" ,libxml2)
8797 ("glib" ,glib "bin")
8798 ("vala" ,vala)))
8799 (inputs
8800 `(("gtk+" ,gtk+)))
8801 (synopsis "Disk usage analyzer for GNOME")
8802 (description
8803 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8804 usage in the GNOME desktop environment. It can easily scan device volumes or
8805 a specific user-requested directory branch (local or remote). Once the scan
8806 is complete it provides a graphical representation of each selected folder.")
8807 (home-page "https://wiki.gnome.org/Apps/Baobab")
8808 (license license:gpl2+)))
8809
8810 (define-public gnome-backgrounds
8811 (package
8812 (name "gnome-backgrounds")
8813 (version "3.34.0")
8814 (source
8815 (origin
8816 (method url-fetch)
8817 (uri (string-append "mirror://gnome/sources/" name "/"
8818 (version-major+minor version) "/"
8819 name "-" version ".tar.xz"))
8820 (sha256
8821 (base32
8822 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8823 (build-system meson-build-system)
8824 (native-inputs
8825 `(("intltool" ,intltool)))
8826 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8827 (synopsis "Background images for the GNOME desktop")
8828 (description
8829 "GNOME backgrounds package contains a collection of graphics files which
8830 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8831 the package creates the proper framework and directory structure so that you
8832 can add your own files to the collection.")
8833 (license (list license:gpl2+
8834 license:cc-by2.0
8835 license:cc-by-sa2.0
8836 license:cc-by-sa3.0))))
8837
8838 (define-public gnome-screenshot
8839 (package
8840 (name "gnome-screenshot")
8841 (version "3.34.0")
8842 (source
8843 (origin
8844 (method url-fetch)
8845 (uri (string-append "mirror://gnome/sources/" name "/"
8846 (version-major+minor version) "/"
8847 name "-" version ".tar.xz"))
8848 (sha256
8849 (base32
8850 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8851 (build-system meson-build-system)
8852 (arguments
8853 '(#:phases
8854 (modify-phases %standard-phases
8855 (add-after 'unpack 'skip-gtk-update-icon-cache
8856 ;; Don't create 'icon-theme.cache'.
8857 (lambda _
8858 (substitute* "build-aux/postinstall.py"
8859 (("gtk-update-icon-cache") "true"))
8860 #t)))))
8861 (native-inputs
8862 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8863 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8864 ("intltool" ,intltool)
8865 ("appstream-glib" ,appstream-glib)
8866 ("pkg-config" ,pkg-config)))
8867 (inputs
8868 `(("gtk+" ,gtk+)
8869 ("libcanberra" ,libcanberra)
8870 ("libx11" ,libx11)
8871 ("libxext" ,libxext)))
8872 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8873 (synopsis "Take pictures of your screen")
8874 (description
8875 "GNOME Screenshot is a utility used for taking screenshots of the entire
8876 screen, a window or a user defined area of the screen, with optional
8877 beautifying border effects.")
8878 (license license:gpl2+)))
8879
8880 (define-public dconf-editor
8881 (package
8882 (name "dconf-editor")
8883 (version "3.34.2")
8884 (source
8885 (origin
8886 (method url-fetch)
8887 (uri (string-append "mirror://gnome/sources/" name "/"
8888 (version-major+minor version) "/"
8889 name "-" version ".tar.xz"))
8890 (sha256
8891 (base32
8892 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8893 (build-system meson-build-system)
8894 (native-inputs
8895 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8896 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8897 ("intltool" ,intltool)
8898 ("pkg-config" ,pkg-config)
8899 ("vala" ,vala)))
8900 (inputs
8901 `(("dconf" ,dconf)
8902 ("gtk+" ,gtk+)
8903 ("libxml2" ,libxml2)))
8904 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8905 (synopsis "Graphical editor for GNOME's dconf configuration system")
8906 (description
8907 "Dconf-editor is a graphical tool for browsing and editing the dconf
8908 configuration system for GNOME. It allows users to configure desktop
8909 software that do not provide their own configuration interface.")
8910 (license license:lgpl2.1+)))
8911
8912 (define-public gnome-default-applications
8913 (package
8914 (name "gnome-default-applications")
8915 (version "0")
8916 (build-system trivial-build-system)
8917 (source #f)
8918 (propagated-inputs
8919 `(("nautilus" ,nautilus)
8920 ("evince" ,evince)))
8921 (arguments
8922 `(#:modules ((guix build utils))
8923 #:builder
8924 (begin
8925 (use-modules (guix build utils))
8926 (let* ((out (assoc-ref %outputs "out"))
8927 (apps (string-append out "/share/applications")))
8928 (mkdir-p apps)
8929 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8930 (lambda (port)
8931 (format port "[Default Applications]\n")
8932 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8933 (format port "application/pdf=evince.desktop\n")
8934 (format port "application/postscript=evince.desktop\n")))
8935 #t))))
8936 (synopsis "Default MIME type associations for the GNOME desktop")
8937 (description
8938 "Given many installed packages which might handle a given MIME type, a
8939 user running the GNOME desktop probably has some preferences: for example,
8940 that folders be opened by default by the Nautilus file manager, not the Baobab
8941 disk usage analyzer. This package establishes that set of default MIME type
8942 associations for GNOME.")
8943 (license license:gpl3+)
8944 (home-page #f)))
8945
8946 (define-public libgovirt
8947 (package
8948 (name "libgovirt")
8949 (version "0.3.6")
8950 (source (origin
8951 (method url-fetch)
8952 (uri (string-append "mirror://gnome/sources/" name "/"
8953 (version-major+minor version) "/"
8954 name "-" version ".tar.xz"))
8955 (sha256
8956 (base32
8957 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8958 (build-system glib-or-gtk-build-system)
8959 (native-inputs
8960 `(("gettext" ,gettext-minimal)
8961 ("glib:bin" ,glib "bin")
8962 ("gobject-introspection" ,gobject-introspection)
8963 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8964 ("gtk+:bin" ,gtk+ "bin")
8965 ("pkg-config" ,pkg-config)))
8966 (inputs
8967 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8968 ("librest" ,rest)))
8969 (synopsis "GoVirt Library")
8970 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8971 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8972 (license license:gpl2+)))
8973
8974 (define-public gnome-weather
8975 (package
8976 (name "gnome-weather")
8977 (version "3.34.0")
8978 (source (origin
8979 (method url-fetch)
8980 (uri (string-append "mirror://gnome/sources/" name "/"
8981 (version-major+minor version) "/"
8982 name "-" version ".tar.xz"))
8983 (sha256
8984 (base32
8985 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8986 (build-system meson-build-system)
8987 (native-inputs
8988 `(("gettext" ,gettext-minimal)
8989 ("glib:bin" ,glib "bin")
8990 ("gobject-introspection" ,gobject-introspection)
8991 ("gtk+:bin" ,gtk+ "bin")
8992 ("pkg-config" ,pkg-config)))
8993 (inputs
8994 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
8995 ("appstream-glib" ,appstream-glib)
8996 ("geoclue" ,geoclue)
8997 ("gdk-pixbuf" ,gdk-pixbuf)
8998 ("gjs" ,gjs)
8999 ("gnome-desktop" ,gnome-desktop)
9000 ("libgweather" ,libgweather)))
9001 (arguments
9002 `(#:glib-or-gtk? #t
9003 #:phases
9004 (modify-phases %standard-phases
9005 (add-after 'install 'fix-desktop-file
9006 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9007 ;; See https://issues.guix.gnu.org/issue/39324.
9008 (lambda* (#:key outputs #:allow-other-keys)
9009 (let* ((out (assoc-ref outputs "out"))
9010 (applications (string-append out "/share/applications")))
9011 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9012 (("Exec=.*") "Exec=gnome-weather\n"))
9013 #t)))
9014 (add-after 'install 'wrap
9015 (lambda* (#:key inputs outputs #:allow-other-keys)
9016 (let ((out (assoc-ref outputs "out"))
9017 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9018 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9019 (wrap-program (string-append out "/bin/gnome-weather")
9020 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9021 #t))))))
9022 (synopsis "Weather monitoring for GNOME desktop")
9023 (description "GNOME Weather is a small application that allows you to
9024 monitor the current weather conditions for your city, or anywhere in the
9025 world.")
9026 (home-page "https://wiki.gnome.org/Apps/Weather")
9027 (license license:gpl2+)))
9028
9029 (define-public gnome
9030 (package
9031 (name "gnome")
9032 (version (package-version gnome-shell))
9033 (source #f)
9034 (build-system trivial-build-system)
9035 (arguments '(#:builder (begin (mkdir %output) #t)))
9036 (propagated-inputs
9037 ;; TODO: Add or remove packages according to:
9038 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9039 `(
9040 ;; GNOME-Core-OS-Services
9041 ("accountsservice" ,accountsservice)
9042 ("network-manager" ,network-manager)
9043 ("packagekit" ,packagekit)
9044 ("upower" ,upower)
9045 ;; GNOME-Core-Shell
9046 ("adwaita-icon-theme" ,adwaita-icon-theme)
9047 ("gdm" ,gdm)
9048 ("glib-networking" ,glib-networking)
9049 ("gnome-backgrounds" ,gnome-backgrounds)
9050 ("gnome-bluetooth" ,gnome-bluetooth)
9051 ("gnome-color-manager" ,gnome-color-manager)
9052 ("gnome-control-center" ,gnome-control-center)
9053 ("gnome-desktop" ,gnome-desktop)
9054 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9055 ("gnome-initial-setup" ,gnome-initial-setup)
9056 ("gnome-keyring" ,gnome-keyring)
9057 ("gnome-menus" ,gnome-menus)
9058 ("gnome-session" ,gnome-session)
9059 ("gnome-settings-daemon" ,gnome-settings-daemon)
9060 ("gnome-shell-extensions" ,gnome-shell-extensions)
9061 ("gnome-shell" ,gnome-shell)
9062 ("gnome-themes-extra" ,gnome-themes-extra)
9063 ("gnome-user-docs" ,gnome-user-docs)
9064 ("gnome-user-share" ,gnome-user-share)
9065 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9066 ("gvfs" ,gvfs)
9067 ("mutter" ,mutter)
9068 ("orca" ,orca)
9069 ("rygel" ,rygel)
9070 ("sushi" ,sushi)
9071 ;; GNOME-Core-Utilities
9072 ("baobab" ,baobab)
9073 ("cheese" ,cheese)
9074 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9075 ;; only works on x86_64, so exclude it on other architectures.
9076 ,@(if (string-prefix? "x86_64" (%current-system))
9077 `(("eog" ,eog))
9078 '())
9079 ("epiphany" ,epiphany)
9080 ("evince" ,evince)
9081 ("file-roller" ,file-roller)
9082 ("gedit" ,gedit)
9083 ("gnome-boxes" ,gnome-boxes)
9084 ("gnome-calculator" ,gnome-calculator)
9085 ("gnome-calendar" ,gnome-calendar)
9086 ("gnome-characters" ,gnome-characters)
9087 ("gnome-clocks" ,gnome-clocks)
9088 ("gnome-contacts" ,gnome-contacts)
9089 ("gnome-disk-utility" ,gnome-disk-utility)
9090 ("gnome-font-viewer" ,gnome-font-viewer)
9091 ("gnome-maps" ,gnome-maps)
9092 ; TODO: ("gnome-music" ,gnome-music)
9093 ; TODO: ("gnome-photos" ,gnome-photos)
9094 ("gnome-screenshot" ,gnome-screenshot)
9095 ("gnome-system-monitor" ,gnome-system-monitor)
9096 ("gnome-terminal" ,gnome-terminal)
9097 ("gnome-weather" ,gnome-weather)
9098 ("nautilus" ,nautilus)
9099 ("simple-scan" ,simple-scan)
9100 ("totem" ,totem)
9101 ("yelp" ,yelp)
9102 ;; Others
9103 ("hicolor-icon-theme" ,hicolor-icon-theme)
9104 ("gnome-online-accounts" ,gnome-online-accounts)
9105
9106 ;; Packages not part of GNOME proper but that are needed for a good
9107 ;; experience. See <https://bugs.gnu.org/39646>.
9108 ;; XXX: Find out exactly which ones are needed and why.
9109 ("font-cantarell" ,font-cantarell)
9110 ("font-dejavu" ,font-dejavu)
9111 ("at-spi2-core" ,at-spi2-core)
9112 ("dbus" ,dbus)
9113 ("dconf" ,dconf)
9114 ("desktop-file-utils" ,desktop-file-utils)
9115 ("gnome-default-applications" ,gnome-default-applications)
9116 ("gnome-themes-standard" ,gnome-themes-standard)
9117 ("gst-plugins-base" ,gst-plugins-base)
9118 ("gst-plugins-good" ,gst-plugins-good)
9119 ("gucharmap" ,gucharmap)
9120 ("pinentry-gnome3" ,pinentry-gnome3)
9121 ("pulseaudio" ,pulseaudio)
9122 ("shared-mime-info" ,shared-mime-info)
9123 ("system-config-printer" ,system-config-printer)
9124 ("xdg-user-dirs" ,xdg-user-dirs)
9125 ("yelp" ,yelp)
9126 ("zenity" ,zenity)))
9127 (synopsis "The GNU desktop environment")
9128 (home-page "https://www.gnome.org/")
9129 (description
9130 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9131 applications for browsing the web, editing text and images, creating
9132 documents and diagrams, playing media, scanning, and much more.")
9133 (license license:gpl2+)))
9134
9135 (define-public byzanz
9136 ;; The last stable release of Byzanz was in 2011, but there have been many
9137 ;; useful commits made to the Byzanz repository since then that it would be
9138 ;; silly to use such an old release.
9139 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9140 (package
9141 (name "byzanz")
9142 (version (string-append "0.2-1." (string-take commit 7)))
9143 (source (origin
9144 (method git-fetch)
9145 (uri (git-reference
9146 (url "https://git.gnome.org/browse/byzanz")
9147 (commit commit)))
9148 (file-name (string-append name "-" version "-checkout"))
9149 (sha256
9150 (base32
9151 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9152 (build-system glib-or-gtk-build-system)
9153 (arguments
9154 '(#:phases
9155 (modify-phases %standard-phases
9156 (add-before 'bootstrap 'build-without-Werror
9157 (lambda _
9158 ;; The build system cleverly detects that we're not building from
9159 ;; a release tarball and turns on -Werror for GCC.
9160 ;; Unsurprisingly, there is a warning during compilation that
9161 ;; causes the build to fail unnecessarily, so we remove the flag.
9162 (substitute* '("configure.ac")
9163 (("-Werror") ""))
9164 #t)))))
9165 (native-inputs
9166 `(("autoconf" ,autoconf)
9167 ("automake" ,automake)
9168 ("gnome-common" ,gnome-common)
9169 ("intltool" ,intltool)
9170 ("libtool" ,libtool)
9171 ("pkg-config" ,pkg-config)
9172 ("which" ,which)))
9173 (inputs
9174 `(("glib" ,glib)
9175 ("gstreamer" ,gstreamer)
9176 ("gst-plugins-base" ,gst-plugins-base)
9177 ("gtk+" ,gtk+)))
9178 (synopsis "Desktop recording program")
9179 (description "Byzanz is a simple desktop recording program with a
9180 command-line interface. It can record part or all of an X display for a
9181 specified duration and save it as a GIF encoded animated image file.")
9182 (home-page "https://git.gnome.org/browse/byzanz")
9183 (license license:gpl2+))))
9184
9185 (define-public authenticator
9186 (package
9187 (name "authenticator")
9188 (version "3.32.2")
9189 (source
9190 (origin
9191 (method git-fetch)
9192 (uri (git-reference
9193 (url "https://gitlab.gnome.org/World/Authenticator")
9194 (commit version)))
9195 (file-name (git-file-name name version))
9196 (sha256
9197 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9198 (build-system meson-build-system)
9199 (arguments
9200 `(#:glib-or-gtk? #t
9201 #:phases
9202 (modify-phases %standard-phases
9203 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9204 (lambda* (#:key inputs outputs #:allow-other-keys)
9205 (let ((prog (string-append (assoc-ref outputs "out")
9206 "/bin/authenticator"))
9207 (pylib (string-append (assoc-ref outputs "out")
9208 "/lib/python"
9209 ,(version-major+minor
9210 (package-version python))
9211 "/site-packages")))
9212 (wrap-program prog
9213 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9214 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9215 #t))))))
9216 (native-inputs
9217 `(("desktop-file-utils" ,desktop-file-utils)
9218 ("gettext" ,gettext-minimal)
9219 ("glib:bin" ,glib "bin")
9220 ("gobject-introspection" ,gobject-introspection)
9221 ("gtk+:bin" ,gtk+ "bin")
9222 ("pkg-config" ,pkg-config)))
9223 (inputs
9224 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9225 ("gtk+" ,gtk+)
9226 ("libhandy" ,libhandy-0.0)
9227 ("libsecret" ,libsecret)
9228 ("python-beautifulsoup4" ,python-beautifulsoup4)
9229 ("python-pillow" ,python-pillow)
9230 ("python-pyfavicon" ,python-pyfavicon)
9231 ("python-pygobject" ,python-pygobject)
9232 ("python-pyotp" ,python-pyotp)
9233 ("python-pyzbar" ,python-pyzbar)
9234 ("yoyo-migrations" ,yoyo-migrations)
9235 ("zbar" ,zbar)))
9236 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9237 (synopsis "Two-factor authentication application built for GNOME")
9238 (description
9239 "Authenticator is a two-factor authentication (2FA) application built for
9240 the GNOME desktop environment.
9241
9242 Features:
9243
9244 @itemize
9245 @item QR code scanner
9246 @item Beautiful UI
9247 @item Huge database of more than 560 supported services
9248 @item Keep your PIN tokens secure by locking the application with a password
9249 @item Automatically fetch an image for services using their favicon
9250 @item The possibility to add new services
9251 @end itemize")
9252 (license license:gpl3+)))
9253
9254 (define-public gsound
9255 (package
9256 (name "gsound")
9257 (version "1.0.2")
9258 (source (origin
9259 (method url-fetch)
9260 (uri (string-append "mirror://gnome/sources/" name "/"
9261 (version-major+minor version) "/"
9262 name "-" version ".tar.xz"))
9263 (sha256
9264 (base32
9265 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9266 (build-system glib-or-gtk-build-system)
9267 (native-inputs
9268 `(("pkg-config" ,pkg-config)
9269 ("gobject-introspection" ,gobject-introspection)
9270 ("vala" ,vala)))
9271 (inputs
9272 `(("glib" ,glib)
9273 ("libcanberra" ,libcanberra)))
9274 (home-page "https://wiki.gnome.org/Projects/GSound")
9275 (synopsis "GObject wrapper for libcanberra")
9276 (description
9277 "GSound is a small library for playing system sounds. It's designed to be
9278 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9279 library.")
9280 (license license:lgpl2.1+)))
9281
9282 (define-public libzapojit
9283 (package
9284 (name "libzapojit")
9285 (version "0.0.3")
9286 (source (origin
9287 (method url-fetch)
9288 (uri (string-append "mirror://gnome/sources/" name "/"
9289 (version-major+minor version) "/"
9290 name "-" version ".tar.xz"))
9291 (sha256
9292 (base32
9293 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9294 (build-system gnu-build-system)
9295 (native-inputs
9296 `(("gobject-introspection" ,gobject-introspection)
9297 ("intltool" ,intltool)
9298 ("pkg-config" ,pkg-config)))
9299 (inputs
9300 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9301 ("json-glib" ,json-glib)
9302 ("rest" ,rest)))
9303 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9304 (synopsis "Library for accessing SkyDrive and Hotmail")
9305 (description
9306 "Libzapojit is a GLib-based library for accessing online service APIs of
9307 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9308 (license license:lgpl2.1+)))
9309
9310 (define-public gnome-clocks
9311 (package
9312 (name "gnome-clocks")
9313 (version "3.34.0")
9314 (source (origin
9315 (method url-fetch)
9316 (uri (string-append "mirror://gnome/sources/" name "/"
9317 (version-major+minor version) "/"
9318 name "-" version ".tar.xz"))
9319 (sha256
9320 (base32
9321 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9322 (build-system meson-build-system)
9323 (arguments
9324 '(#:glib-or-gtk? #t
9325 #:phases
9326 (modify-phases %standard-phases
9327 (add-after 'unpack 'skip-gtk-update-icon-cache
9328 ;; Don't create 'icon-theme.cache'.
9329 (lambda _
9330 (substitute* "build-aux/post-install.py"
9331 (("gtk-update-icon-cache") "true"))
9332 #t)))))
9333 (native-inputs
9334 `(("vala" ,vala)
9335 ("pkg-config" ,pkg-config)
9336 ("glib" ,glib "bin") ; for glib-compile-resources
9337 ("desktop-file-utils" ,desktop-file-utils)
9338 ("gettext" ,gettext-minimal)
9339 ("itstool" ,itstool)))
9340 (inputs
9341 `(("glib" ,glib)
9342 ("gtk+" ,gtk+)
9343 ("gsound" ,gsound)
9344 ("geoclue" ,geoclue)
9345 ("geocode-glib" ,geocode-glib)
9346 ("libgweather" ,libgweather)
9347 ("gnome-desktop" ,gnome-desktop)))
9348 (home-page "https://wiki.gnome.org/Apps/Clocks")
9349 (synopsis "GNOME's clock application")
9350 (description
9351 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9352 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9353 (license license:gpl3+)))
9354
9355 (define-public gnome-calendar
9356 (package
9357 (name "gnome-calendar")
9358 (version "3.34.2")
9359 (source (origin
9360 (method url-fetch)
9361 (uri (string-append "mirror://gnome/sources/" name "/"
9362 (version-major+minor version) "/"
9363 name "-" version ".tar.xz"))
9364 (sha256
9365 (base32
9366 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9367 (build-system meson-build-system)
9368 (arguments
9369 '(#:glib-or-gtk? #t
9370 ;; gnome-calendar has to be installed before the tests can be run
9371 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9372 #:tests? #f
9373 #:phases
9374 (modify-phases %standard-phases
9375 (add-after 'unpack 'skip-gtk-update-icon-cache
9376 ;; Don't create 'icon-theme.cache'.
9377 (lambda _
9378 (substitute* "build-aux/meson/meson_post_install.py"
9379 (("gtk-update-icon-cache") "true"))
9380 #t)))))
9381 (native-inputs
9382 `(("gettext" ,gettext-minimal)
9383 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9384 ("pkg-config" ,pkg-config)))
9385 (inputs
9386 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9387 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9388 ("libdazzle" ,libdazzle)
9389 ("libedataserverui" ,evolution-data-server)
9390 ("libgweather" ,libgweather)
9391 ("geoclue" ,geoclue)))
9392 (propagated-inputs
9393 `(("evolution-data-server" ,evolution-data-server)))
9394 (home-page "https://wiki.gnome.org/Apps/Calendar")
9395 (synopsis "GNOME's calendar application")
9396 (description
9397 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9398 desktop. It supports multiple calendars, month, week and year view.")
9399 (license license:gpl3+)))
9400
9401 (define-public gnome-todo
9402 (package
9403 (name "gnome-todo")
9404 (version "3.28.1")
9405 (source (origin
9406 (method url-fetch)
9407 (uri (string-append "mirror://gnome/sources/" name "/"
9408 (version-major+minor version) "/"
9409 name "-" version ".tar.xz"))
9410 (sha256
9411 (base32
9412 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9413 (patches
9414 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9415 (build-system meson-build-system)
9416 (arguments
9417 '(#:glib-or-gtk? #t
9418 #:phases (modify-phases %standard-phases
9419 (add-after
9420 'install 'wrap-gnome-todo
9421 (lambda* (#:key inputs outputs #:allow-other-keys)
9422 (let ((out (assoc-ref outputs "out"))
9423 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9424 (python-path (getenv "PYTHONPATH")))
9425 (wrap-program (string-append out "/bin/gnome-todo")
9426 ;; XXX: gi plugins are broken.
9427 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9428 ;; For plugins.
9429 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9430 `("PYTHONPATH" ":" prefix (,python-path))))
9431 #t)))))
9432 (native-inputs
9433 `(("gettext" ,gettext-minimal)
9434 ("gobject-introspection" ,gobject-introspection)
9435 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9436 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9437 ("pkg-config" ,pkg-config)))
9438 (inputs
9439 `(("rest" ,rest) ; For Todoist plugin
9440 ("json-glib" ,json-glib) ; For Todoist plugin
9441 ("libedataserverui" ,evolution-data-server)
9442 ("libical" ,libical)
9443 ("libpeas" ,libpeas)
9444 ("python-pygobject" ,python-pygobject)
9445 ("evolution-data-server" ,evolution-data-server)
9446 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9447 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9448 (home-page "https://wiki.gnome.org/Apps/Todo")
9449 (synopsis "GNOME's ToDo Application")
9450 (description
9451 "GNOME To Do is a simplistic personal task manager designed to perfectly
9452 fit the GNOME desktop.")
9453 (license license:gpl3+)))
9454
9455 (define-public gnome-dictionary
9456 (package
9457 (name "gnome-dictionary")
9458 (version "3.26.1")
9459 (source (origin
9460 (method url-fetch)
9461 (uri (string-append "mirror://gnome/sources/" name "/"
9462 (version-major+minor version) "/"
9463 name "-" version ".tar.xz"))
9464 (sha256
9465 (base32
9466 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9467 (build-system meson-build-system)
9468 (arguments '(#:glib-or-gtk? #t
9469 #:phases (modify-phases %standard-phases
9470 (add-after 'unpack 'patch-install-script
9471 (lambda _
9472 ;; This script attempts to compile glib schemas
9473 ;; and create an empty MIME database. We do
9474 ;; that elsewhere, so prevent it from running.
9475 (substitute* "build-aux/post-install.sh"
9476 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9477 #t)))))
9478 (native-inputs
9479 `(("glib:bin" ,glib "bin")
9480 ("gobject-introspection" ,gobject-introspection)
9481 ("intltool" ,intltool)
9482 ("itstool" ,itstool)
9483 ("pkg-config" ,pkg-config)
9484 ("xmllint" ,libxml2)))
9485 (inputs
9486 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9487 ("gtk+" ,gtk+)))
9488 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9489 (synopsis "Look up words in dictionary sources")
9490 (description
9491 "GNOME Dictionary can look for the definition or translation of a word in
9492 existing databases over the internet.")
9493 (license license:gpl3+)))
9494
9495 (define-public gnome-tweaks
9496 (package
9497 (name "gnome-tweaks")
9498 (version "3.34.1")
9499 (source (origin
9500 (method url-fetch)
9501 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9502 (version-major+minor version) "/"
9503 "gnome-tweaks-" version ".tar.xz"))
9504 (patches
9505 (list (search-patch "gnome-tweaks-search-paths.patch")))
9506 (sha256
9507 (base32
9508 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9509 (build-system meson-build-system)
9510 (arguments
9511 `(#:glib-or-gtk? #t
9512 #:configure-flags '("-Dlocalstatedir=/tmp"
9513 "-Dsysconfdir=/tmp")
9514 #:imported-modules ((guix build python-build-system)
9515 ,@%meson-build-system-modules)
9516 #:phases
9517 (modify-phases %standard-phases
9518 (add-after 'unpack 'skip-gtk-update-icon-cache
9519 ;; Don't create 'icon-theme.cache'.
9520 (lambda _
9521 (substitute* "meson-postinstall.py"
9522 (("gtk-update-icon-cache") "true"))
9523 #t))
9524 (add-after 'install 'wrap
9525 (@@ (guix build python-build-system) wrap))
9526 (add-after 'wrap 'wrap-gi-typelib
9527 (lambda* (#:key inputs outputs #:allow-other-keys)
9528 (let ((out (assoc-ref outputs "out"))
9529 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9530 (wrap-program (string-append out "/bin/gnome-tweaks")
9531 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9532 #t)))))
9533 (native-inputs
9534 `(("intltool" ,intltool)
9535 ("pkg-config" ,pkg-config)))
9536 (inputs
9537 `(("gnome-desktop" ,gnome-desktop)
9538 ("gtk+" ,gtk+)
9539 ("gobject-introspection" ,gobject-introspection)
9540 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9541 ("libhandy" ,libhandy-0.0)
9542 ("libnotify" ,libnotify)
9543 ("libsoup" ,libsoup)
9544 ("nautilus" ,nautilus)
9545 ("python" ,python)
9546 ("python-pygobject" ,python-pygobject)))
9547 (synopsis "Customize advanced GNOME 3 options")
9548 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9549 (description
9550 "GNOME Tweaks allows adjusting advanced configuration settings in
9551 GNOME 3. This includes things like the fonts used in user interface elements,
9552 alternative user interface themes, changes in window management behavior,
9553 GNOME Shell appearance and extension, etc.")
9554 (license license:gpl3+)))
9555
9556 (define-public gnome-shell-extensions
9557 (package
9558 (name "gnome-shell-extensions")
9559 (version "3.34.2")
9560 (source (origin
9561 (method url-fetch)
9562 (uri (string-append "mirror://gnome/sources/" name "/"
9563 (version-major+minor version) "/"
9564 name "-" version ".tar.xz"))
9565 (sha256
9566 (base32
9567 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9568 (build-system meson-build-system)
9569 (arguments
9570 '(#:configure-flags '("-Dextension_set=all")))
9571 (native-inputs
9572 `(("glib:bin" ,glib "bin")
9573 ("intltool" ,intltool)
9574 ("pkg-config" ,pkg-config)))
9575 (propagated-inputs
9576 `(("glib" ,glib)))
9577 (synopsis "Extensions for GNOME Shell")
9578 (description "GNOME Shell extensions modify and extend GNOME Shell
9579 functionality and behavior.")
9580 (home-page "https://extensions.gnome.org/")
9581 (license license:gpl3+)))
9582
9583 (define-public folks
9584 (package
9585 (name "folks")
9586 (version "0.13.1")
9587 (source (origin
9588 (method url-fetch)
9589 (uri (string-append
9590 "mirror://gnome/sources/folks/"
9591 (version-major+minor version) "/"
9592 "folks-" version ".tar.xz"))
9593 (sha256
9594 (base32
9595 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9596 (build-system meson-build-system)
9597 (arguments
9598 '(#:phases
9599 (modify-phases %standard-phases
9600 (add-after 'unpack 'skip-gtk-update-icon-cache
9601 ;; Don't create 'icon-theme.cache'.
9602 (lambda _
9603 (substitute* "meson_post_install.py"
9604 (("gtk-update-icon-cache") "true"))
9605 #t)))))
9606 (inputs
9607 `(("bdb" ,bdb)
9608 ("dbus-glib" ,dbus-glib)
9609 ("evolution-data-server" ,evolution-data-server)
9610 ("glib" ,glib)
9611 ("libgee" ,libgee)
9612 ("readline" ,readline)
9613 ("telepathy-glib" ,telepathy-glib)))
9614 (native-inputs
9615 `(("glib:bin" ,glib "bin")
9616 ("gobject-introspection" ,gobject-introspection)
9617 ("intltool" ,intltool)
9618 ("pkg-config" ,pkg-config)
9619 ("vala" ,vala)))
9620 (synopsis "Library to aggregate data about people")
9621 (description "Libfolks is a library that aggregates information about people
9622 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9623 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9624 etc.) to create metacontacts. It's written in Vala, which generates C code when
9625 compiled.")
9626 (home-page "https://wiki.gnome.org/Projects/Folks")
9627 (license license:lgpl2.1+)))
9628
9629 (define-public gfbgraph
9630 (package
9631 (name "gfbgraph")
9632 (version "0.2.4")
9633 (source (origin
9634 (method url-fetch)
9635 (uri (string-append
9636 "mirror://gnome/sources/gfbgraph/"
9637 (version-major+minor version) "/"
9638 "gfbgraph-" version ".tar.xz"))
9639 (sha256
9640 (base32
9641 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9642 (build-system glib-or-gtk-build-system)
9643 (arguments
9644 `(#:tests? #f ; tests appear to require the network
9645 #:configure-flags '("--disable-static"
9646 "--enable-gtk-doc"
9647 "--enable-introspection")))
9648 (native-inputs
9649 `(("gobject-introspection" ,gobject-introspection)
9650 ("gtk-doc" ,gtk-doc)
9651 ("pkg-config" ,pkg-config)
9652
9653 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9654 ("autoconf" ,autoconf)
9655 ("automake" ,automake)
9656 ("libtool" ,libtool)
9657 ("which" ,which)))
9658 (inputs
9659 `(("json-glib" ,json-glib)
9660 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9661 ("rest" ,rest)))
9662 (synopsis "GLib/GObject wrapper for the Facebook API")
9663 (description "This library allows you to use the Facebook API from
9664 GLib/GObject code.")
9665 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9666 (license license:lgpl2.1+)))
9667
9668 (define-public libgnomekbd
9669 (package
9670 (name "libgnomekbd")
9671 (version "3.26.1")
9672 (source (origin
9673 (method url-fetch)
9674 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9675 (version-major+minor version) "/"
9676 "libgnomekbd-" version ".tar.xz"))
9677 (sha256
9678 (base32
9679 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9680 (build-system gnu-build-system)
9681 (native-inputs
9682 `(("pkg-config" ,pkg-config)
9683 ("glib" ,glib "bin")
9684 ("intltool" ,intltool)))
9685 (propagated-inputs
9686 ;; Referred to in .h files and .pc.
9687 `(("glib" ,glib)
9688 ("gtk+" ,gtk+)
9689 ("libxklavier" ,libxklavier)))
9690 (home-page "https://www.gnome.org")
9691 (synopsis "GNOME keyboard configuration library")
9692 (description
9693 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9694 environment, which can notably display keyboard layouts.")
9695 (license license:lgpl2.0+)))
9696
9697 ;;; This package is no longer maintained:
9698 ;;; https://wiki.gnome.org/Attic/LibUnique
9699 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9700 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9701 (define-public libunique
9702 (package
9703 (name "libunique")
9704 (version "3.0.2")
9705 (source (origin
9706 (method url-fetch)
9707 (uri (string-append "mirror://gnome/sources/" name "/"
9708 (version-major+minor version) "/"
9709 name "-" version ".tar.xz"))
9710 (sha256
9711 (base32
9712 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9713 (build-system glib-or-gtk-build-system)
9714 (arguments
9715 `(#:configure-flags '("--disable-static"
9716 "--disable-dbus" ; use gdbus
9717 "--enable-introspection")))
9718 (native-inputs
9719 `(("pkg-config" ,pkg-config)
9720 ("gobject-introspection" ,gobject-introspection)
9721 ("glib:bin" ,glib "bin")
9722 ("gtk-doc" ,gtk-doc)))
9723 (propagated-inputs
9724 ;; Referred to in .h files and .pc.
9725 `(("gtk+" ,gtk+)))
9726 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9727 (synopsis "Library for writing single instance applications")
9728 (description
9729 "Libunique is a library for writing single instance applications. If you
9730 launch a single instance application twice, the second instance will either just
9731 quit or will send a message to the running instance. Libunique makes it easy to
9732 write this kind of application, by providing a base class, taking care of all
9733 the IPC machinery needed to send messages to a running instance, and also
9734 handling the startup notification side.")
9735 (license license:lgpl2.1+)))
9736
9737 (define-public gnome-calculator
9738 (package
9739 (name "gnome-calculator")
9740 (version "3.34.1")
9741 (source
9742 (origin
9743 (method url-fetch)
9744 (uri (string-append "mirror://gnome/sources/" name "/"
9745 (version-major+minor version) "/"
9746 name "-" version ".tar.xz"))
9747 (sha256
9748 (base32
9749 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9750 (build-system meson-build-system)
9751 (arguments '(#:glib-or-gtk? #t))
9752 (native-inputs
9753 `(("gettext" ,gettext-minimal)
9754 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9755 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9756 ("itstool" ,itstool)
9757 ("vala" ,vala)
9758 ("pkg-config" ,pkg-config)))
9759 (inputs
9760 `(("glib" ,glib)
9761 ("gtksourceview" ,gtksourceview)
9762 ("libgee" ,libgee)
9763 ("libsoup" ,libsoup)
9764 ("libxml2" ,libxml2)
9765 ("mpc" ,mpc)
9766 ("mpfr" ,mpfr)))
9767 (home-page "https://wiki.gnome.org/Apps/Calculator")
9768 (synopsis "Desktop calculator")
9769 (description
9770 "Calculator is an application that solves mathematical equations and
9771 is suitable as a default application in a Desktop environment.")
9772 (license license:gpl3)))
9773
9774 (define-public xpad
9775 (package
9776 (name "xpad")
9777 (version "5.1.0")
9778 (source
9779 (origin
9780 (method url-fetch)
9781 (uri (string-append "https://launchpad.net/xpad/trunk/"
9782 version "/+download/"
9783 name "-" version ".tar.bz2"))
9784 (sha256
9785 (base32
9786 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9787 (build-system gnu-build-system)
9788 (native-inputs
9789 `(("autoconf" ,autoconf)
9790 ("automake" ,automake)
9791 ("gtk+:bin" ,gtk+ "bin")
9792 ("intltool" ,intltool)
9793 ("pkg-config" ,pkg-config)))
9794 (inputs
9795 `(("gtksourceview" ,gtksourceview-3)
9796 ("libsm" ,libsm)))
9797 (home-page "https://wiki.gnome.org/Apps/Xpad")
9798 (synopsis "Virtual sticky note")
9799 (description
9800 "Xpad is a sticky note that strives to be simple, fault tolerant,
9801 and customizable. Xpad consists of independent pad windows, each is
9802 basically a text box in which notes can be written.")
9803 (license license:gpl3+)))
9804
9805 (define-public gucharmap
9806 (let ((unicode-files
9807 '(("Blocks.txt"
9808 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9809 ("DerivedAge.txt"
9810 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9811 ("NamesList.txt"
9812 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9813 ("Scripts.txt"
9814 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9815 ("UnicodeData.txt"
9816 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9817 ("Unihan.zip"
9818 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9819 (package
9820 (name "gucharmap")
9821 (version "12.0.1")
9822 (source
9823 (origin
9824 (method url-fetch)
9825 (uri (string-append "mirror://gnome/sources/" name "/"
9826 (version-major+minor version) "/"
9827 name "-" version ".tar.xz"))
9828 (sha256
9829 (base32
9830 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9831 (build-system glib-or-gtk-build-system)
9832 (arguments
9833 `(#:modules ((ice-9 match)
9834 (guix build glib-or-gtk-build-system)
9835 (guix build utils))
9836 #:configure-flags
9837 (list "--with-unicode-data=../unicode-data")
9838 #:phases
9839 (modify-phases %standard-phases
9840 (add-after 'unpack 'prepare-unicode-data
9841 (lambda* (#:key inputs #:allow-other-keys)
9842 (mkdir-p "../unicode-data")
9843 (with-directory-excursion "../unicode-data"
9844 (for-each (match-lambda
9845 ((file _)
9846 (install-file (assoc-ref inputs file) ".")))
9847 ',unicode-files))
9848 #t)))))
9849 (native-inputs
9850 `(("desktop-file-utils" ,desktop-file-utils)
9851 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9852 ("gobject-introspection" ,gobject-introspection)
9853 ("intltool" ,intltool)
9854 ("itstool" ,itstool)
9855 ("pkg-config" ,pkg-config)
9856 ,@(map (match-lambda
9857 ((file hash)
9858 `(,file
9859 ,(origin
9860 (method url-fetch)
9861 (uri (string-append
9862 "http://www.unicode.org/Public/12.0.0/ucd/"
9863 file))
9864 (sha256 (base32 hash))))))
9865 unicode-files)
9866 ("unzip" ,unzip)))
9867 (inputs
9868 `(("gtk+" ,gtk+)
9869 ("xmllint" ,libxml2)))
9870 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9871 (synopsis "Unicode character picker and font browser")
9872 (description
9873 "This program allows you to browse through all the available Unicode
9874 characters and categories for the installed fonts, and to examine their
9875 detailed properties. It is an easy way to find the character you might
9876 only know by its Unicode name or code point.")
9877 (license license:gpl3+))))
9878
9879 (define-public bluefish
9880 (package
9881 (name "bluefish")
9882 (version "2.2.12")
9883 (source
9884 (origin
9885 (method url-fetch)
9886 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
9887 "bluefish-" version ".tar.gz"))
9888 (sha256
9889 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
9890 (build-system gnu-build-system)
9891 (native-inputs
9892 `(("desktop-file-utils" ,desktop-file-utils)
9893 ("intltool" ,intltool)
9894 ("pkg-config" ,pkg-config)))
9895 (inputs
9896 `(("enchant" ,enchant)
9897 ("gtk+" ,gtk+)
9898 ("python" ,python-wrapper)
9899 ("xmllint" ,libxml2)
9900 ("gucharmap" ,gucharmap)))
9901 (home-page "http://bluefish.openoffice.nl")
9902 (synopsis "Web development studio")
9903 (description
9904 "Bluefish is an editor aimed at programmers and web developers,
9905 with many options to write web sites, scripts and other code.
9906 Bluefish supports many programming and markup languages.")
9907 (license license:gpl3+)))
9908
9909 (define-public gnome-system-monitor
9910 (package
9911 (name "gnome-system-monitor")
9912 (version "3.32.1")
9913 (source
9914 (origin
9915 (method url-fetch)
9916 (uri (string-append "mirror://gnome/sources/" name "/"
9917 (version-major+minor version) "/"
9918 name "-" version ".tar.xz"))
9919 (sha256
9920 (base32
9921 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
9922 (build-system meson-build-system)
9923 (arguments
9924 '(#:glib-or-gtk? #t
9925 #:configure-flags '("-Dsystemd=false")))
9926 (native-inputs
9927 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
9928 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
9929 ("intltool" ,intltool)
9930 ("itstool" ,itstool)
9931 ("libgtop" ,libgtop)
9932 ("polkit" ,polkit)
9933 ("pkg-config" ,pkg-config)))
9934 (inputs
9935 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
9936 ("gtk+" ,gtk+)
9937 ("gtkmm" ,gtkmm)
9938 ("librsvg" ,librsvg)
9939 ("libxml2" ,libxml2)
9940 ("libwnck" ,libwnck)))
9941 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
9942 (synopsis "Process viewer and system resource monitor for GNOME")
9943 (description
9944 "GNOME System Monitor is a GNOME process viewer and system monitor with
9945 an attractive, easy-to-use interface. It has features, such as a tree view
9946 for process dependencies, icons for processes, the ability to hide processes,
9947 graphical time histories of CPU/memory/swap usage and the ability to
9948 kill/reinice processes.")
9949 (license license:gpl2+)))
9950
9951 (define-public python-pyatspi
9952 (package
9953 (name "python-pyatspi")
9954 (version "2.34.0")
9955 (source (origin
9956 (method url-fetch)
9957 (uri (string-append
9958 "mirror://gnome/sources/pyatspi/"
9959 (version-major+minor version)
9960 "/pyatspi-" version ".tar.xz"))
9961 (sha256
9962 (base32
9963 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
9964 (build-system gnu-build-system)
9965 (arguments
9966 `(#:phases
9967 (modify-phases %standard-phases
9968 (add-before 'build 'fix-atk-load
9969 (lambda _
9970 (substitute* "pyatspi/__init__.py"
9971 (("from gi.repository import Atspi")
9972 "gi.require_version('Gtk', '3.0')
9973 from gi.repository import Gtk
9974 from gi.repository import Atspi"))
9975 #t)))))
9976 (native-inputs
9977 `(("pkg-config" ,pkg-config)))
9978 (inputs
9979 `(("python" ,python)))
9980 (propagated-inputs
9981 `(("python-pygobject" ,python-pygobject)))
9982 (synopsis "Python client bindings for D-Bus AT-SPI")
9983 (home-page "https://wiki.linuxfoundation.org/accessibility\
9984 /atk/at-spi/at-spi_on_d-bus")
9985 (description
9986 "This package includes a python client library for the AT-SPI D-Bus
9987 accessibility infrastructure.")
9988 (license license:lgpl2.0)
9989 (properties '((upstream-name . "pyatspi")))))
9990
9991 (define-public python2-pyatspi
9992 (package
9993 (inherit python-pyatspi)
9994 (name "python2-pyatspi")
9995 (inputs
9996 `(("python" ,python-2)))
9997 (propagated-inputs
9998 `(("python-pygobject" ,python2-pygobject)))))
9999
10000 (define-public orca
10001 (package
10002 (name "orca")
10003 (version "3.34.1")
10004 (source (origin
10005 (method url-fetch)
10006 (uri (string-append
10007 "mirror://gnome/sources/" name "/"
10008 (version-major+minor version) "/"
10009 name "-" version ".tar.xz"))
10010 (sha256
10011 (base32
10012 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10013 (build-system glib-or-gtk-build-system)
10014 (arguments
10015 '(#:phases
10016 (modify-phases %standard-phases
10017 (add-before 'configure 'qualify-xkbcomp
10018 (lambda* (#:key inputs #:allow-other-keys)
10019 (let ((xkbcomp (string-append
10020 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10021 (substitute* "src/orca/orca.py"
10022 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10023 #t))
10024 (add-after 'install 'wrap-orca
10025 (lambda* (#:key outputs #:allow-other-keys)
10026 (let* ((out (assoc-ref outputs "out"))
10027 (prog (string-append out "/bin/orca")))
10028 (wrap-program prog
10029 `("GI_TYPELIB_PATH" ":" prefix
10030 (,(getenv "GI_TYPELIB_PATH")))
10031 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10032 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10033 `("PYTHONPATH" ":" prefix
10034 (,(getenv "PYTHONPATH")))))
10035 #t)))))
10036 (native-inputs
10037 `(("intltool" ,intltool)
10038 ("itstool" ,itstool)
10039 ("pkg-config" ,pkg-config)
10040 ("xmllint" ,libxml2)))
10041 (inputs
10042 `(("at-spi2-atk" ,at-spi2-atk)
10043 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10044 ("gstreamer" ,gstreamer)
10045 ("gst-plugins-base" ,gst-plugins-base)
10046 ("gst-plugins-good" ,gst-plugins-good)
10047 ("gtk+" ,gtk+)
10048 ("python" ,python)
10049 ("python-pygobject" ,python-pygobject)
10050 ("python-pyatspi" ,python-pyatspi)
10051 ("python-speechd" ,speech-dispatcher)
10052 ("xkbcomp" ,xkbcomp)))
10053 (synopsis
10054 "Screen reader for individuals who are blind or visually impaired")
10055 (home-page "https://wiki.gnome.org/Projects/Orca")
10056 (description
10057 "Orca is a screen reader that provides access to the graphical desktop
10058 via speech and refreshable braille. Orca works with applications and toolkits
10059 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10060 (license license:lgpl2.1+)))
10061
10062 (define-public gspell
10063 (package
10064 (name "gspell")
10065 (version "1.8.2")
10066 (source (origin
10067 (method url-fetch)
10068 (uri (string-append "mirror://gnome/sources/" name "/"
10069 (version-major+minor version) "/"
10070 name "-" version ".tar.xz"))
10071 (sha256
10072 (base32
10073 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10074 (patches (search-patches "gspell-dash-test.patch"))))
10075 (build-system glib-or-gtk-build-system)
10076 (arguments
10077 '(#:configure-flags (list "--enable-vala")
10078 #:phases
10079 (modify-phases %standard-phases
10080 (add-before 'check 'pre-check
10081 (lambda* (#:key inputs #:allow-other-keys)
10082 ;; Tests require a running X server.
10083 (system "Xvfb :1 &")
10084 (setenv "DISPLAY" ":1")
10085
10086 ;; For the missing /etc/machine-id.
10087 (setenv "DBUS_FATAL_WARNINGS" "0")
10088
10089 ;; Allow Enchant and its Aspell backend to find the en_US
10090 ;; dictionary.
10091 (setenv "ASPELL_DICT_DIR"
10092 (string-append (assoc-ref inputs "aspell-dict-en")
10093 "/lib/aspell"))
10094 #t)))))
10095 (inputs
10096 `(("gtk+" ,gtk+)
10097 ("glib" ,glib)
10098 ("iso-codes" ,iso-codes)))
10099 (native-inputs
10100 `(("glib" ,glib "bin")
10101 ("gobject-introspection" ,gobject-introspection)
10102 ("pkg-config" ,pkg-config)
10103 ("vala" ,vala) ;for VAPI, needed by Geary
10104 ("xmllint" ,libxml2)
10105
10106 ;; For tests.
10107 ("aspell-dict-en" ,aspell-dict-en)
10108 ("xorg-server" ,xorg-server-for-tests)))
10109 (propagated-inputs
10110 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10111 (home-page "https://wiki.gnome.org/Projects/gspell")
10112 (synopsis "GNOME's alternative spell checker")
10113 (description
10114 "gspell provides a flexible API to add spell-checking to a GTK+
10115 application. It provides a GObject API, spell-checking to text entries and
10116 text views, and buttons to choose the language.")
10117 (license license:gpl2+)))
10118
10119 (define-public gnome-planner
10120 (package
10121 (name "gnome-planner")
10122 (version "0.14.6")
10123 (source (origin
10124 (method url-fetch)
10125 (uri (string-append "mirror://gnome/sources/planner/"
10126 (version-major+minor version) "/planner-"
10127 version ".tar.xz"))
10128 (sha256
10129 (base32
10130 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10131 (build-system glib-or-gtk-build-system)
10132 (arguments
10133 ;; Disable the Python bindings because the Planner program functions
10134 ;; without them, and (as of 2017-06-13) we have not packaged all of
10135 ;; packages that are necessary for building the Python bindings.
10136 `(#:configure-flags
10137 (list "--disable-python"
10138 ,@(if (string=? "aarch64-linux" (%current-system))
10139 '("--build=aarch64-unknown-linux-gnu")
10140 '()))))
10141 (inputs
10142 `(("libgnomecanvas" ,libgnomecanvas)
10143 ("libgnomeui" ,libgnomeui)
10144 ("libglade" ,libglade)
10145 ("gnome-vfs" ,gnome-vfs)
10146 ("gconf" ,gconf)
10147 ("libxml2" ,libxml2)
10148 ("libxslt" ,libxslt)
10149 ("gtk+" ,gtk+)
10150 ("glib" ,glib)))
10151 (native-inputs
10152 `(("intltool" ,intltool)
10153 ("scrollkeeper" ,scrollkeeper)
10154 ("pkg-config" ,pkg-config)))
10155 (home-page "https://wiki.gnome.org/Apps/Planner")
10156 (synopsis "Project management software for the GNOME desktop")
10157 (description
10158 "GNOME Planner is a project management tool based on the Work Breakdown
10159 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10160 the resources, tasks, and constraints that you define, Planner generates
10161 various views into a project. For example, Planner can show a Gantt chart of
10162 the project. It can show a detailed summary of tasks including their
10163 duration, cost, and current progress. It can also show a report of resource
10164 utilization that highlights under-utilized and over-utilized resources. These
10165 views can be printed as PDF or PostScript files, or exported to HTML.")
10166 (license license:gpl2+)))
10167
10168 (define-public lollypop
10169 (package
10170 (name "lollypop")
10171 (version "1.4.6")
10172 (source
10173 (origin
10174 (method url-fetch)
10175 (uri (string-append "https://adishatz.org/lollypop/"
10176 "lollypop-" version ".tar.xz"))
10177 (sha256
10178 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10179 (build-system meson-build-system)
10180 (arguments
10181 `(#:imported-modules
10182 (,@%meson-build-system-modules
10183 (guix build python-build-system))
10184 #:modules
10185 ((guix build meson-build-system)
10186 ((guix build python-build-system) #:prefix python:)
10187 (guix build utils))
10188 #:glib-or-gtk? #t
10189 #:tests? #f ; no test suite
10190 #:phases
10191 (modify-phases %standard-phases
10192 (add-after 'install 'wrap-program
10193 (lambda* (#:key outputs #:allow-other-keys)
10194 (let ((out (assoc-ref outputs "out"))
10195 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10196 (wrap-program (string-append out "/bin/lollypop")
10197 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10198 #t))
10199 (add-after 'install 'wrap-python
10200 (assoc-ref python:%standard-phases 'wrap)))))
10201 (native-inputs
10202 `(("intltool" ,intltool)
10203 ("itstool" ,itstool)
10204 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10205 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10206 ("pkg-config" ,pkg-config)))
10207 (inputs
10208 `(("glib-networking" ,glib-networking)
10209 ("gobject-introspection" ,gobject-introspection)
10210 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10211 ("gst-plugins-base" ,gst-plugins-base)
10212 ("libnotify" ,libnotify)
10213 ("libsecret" ,libsecret)
10214 ("libhandy" ,libhandy)
10215 ("libsoup" ,libsoup)
10216 ("python" ,python)
10217 ("python-beautifulsoup4" ,python-beautifulsoup4)
10218 ("python-gst" ,python-gst)
10219 ("python-pil" ,python-pillow)
10220 ("python-pycairo" ,python-pycairo)
10221 ("python-pygobject" ,python-pygobject)
10222 ("python-pylast" ,python-pylast)
10223 ("totem-pl-parser" ,totem-pl-parser)
10224 ("webkitgtk" ,webkitgtk)))
10225 (propagated-inputs
10226 `(;; gst-plugins-base is required to start Lollypop,
10227 ;; the others are required to play streaming.
10228 ("gst-plugins-good" ,gst-plugins-good)
10229 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10230 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10231 (synopsis "GNOME music playing application")
10232 (description
10233 "Lollypop is a music player designed to play well with GNOME desktop.
10234 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10235 from artists and tracks from the web. It also fetches cover artworks
10236 automatically and it can stream songs from online music services and charts.")
10237 (license license:gpl3+)))
10238
10239 (define-public gnome-video-effects
10240 (package
10241 (name "gnome-video-effects")
10242 (version "0.5.0")
10243 (source (origin
10244 (method url-fetch)
10245 (uri (string-append "mirror://gnome/sources/" name "/"
10246 (version-major+minor version) "/" name "-"
10247 version ".tar.xz"))
10248 (sha256
10249 (base32
10250 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10251 (build-system meson-build-system)
10252 (native-inputs
10253 `(("gettext" ,gettext-minimal)
10254 ("pkg-config" ,pkg-config)))
10255 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10256 (synopsis "Video effects for Cheese and other GNOME applications")
10257 (description
10258 "A collection of GStreamer video filters and effects to be used in
10259 photo-booth-like software, such as Cheese.")
10260 (license license:gpl2+)))
10261
10262 (define-public cheese
10263 (package
10264 (name "cheese")
10265 (version "3.38.0")
10266 (source (origin
10267 (method url-fetch)
10268 (uri (string-append "mirror://gnome/sources/" name "/"
10269 (version-major+minor version) "/" name "-"
10270 version ".tar.xz"))
10271 (sha256
10272 (base32
10273 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10274 (arguments
10275 `(#:glib-or-gtk? #t
10276 ;; Tests require GDK.
10277 #:tests? #f
10278 #:phases
10279 (modify-phases %standard-phases
10280 (add-after 'unpack 'skip-gtk-update-icon-cache
10281 (lambda _
10282 ;; Don't create 'icon-theme.cache'
10283 (substitute* "meson_post_install.py"
10284 (("gtk-update-icon-cache") (which "true")))
10285 #t))
10286 (add-after 'unpack 'patch-docbook-xml
10287 (lambda* (#:key inputs #:allow-other-keys)
10288 ;; Avoid a network connection attempt during the build.
10289 (substitute* '("docs/reference/cheese.xml"
10290 "docs/reference/cheese-docs.xml")
10291 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10292 (string-append (assoc-ref inputs "docbook-xml")
10293 "/xml/dtd/docbook/docbookx.dtd")))
10294 #t))
10295 (add-after 'install 'wrap-cheese
10296 (lambda* (#:key inputs outputs #:allow-other-keys)
10297 (let ((out (assoc-ref outputs "out"))
10298 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10299 (wrap-program (string-append out "/bin/cheese")
10300 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10301 #t)))))
10302 (build-system meson-build-system)
10303 (native-inputs
10304 `(("docbook-xsl" ,docbook-xsl)
10305 ("docbook-xml" ,docbook-xml-4.3)
10306 ("gettext" ,gettext-minimal)
10307 ("glib:bin" ,glib "bin")
10308 ("gtk-doc" ,gtk-doc)
10309 ("itstool" ,itstool)
10310 ("libxml2" ,libxml2)
10311 ("libxslt" ,libxslt)
10312 ("pkg-config" ,pkg-config)
10313 ("vala" ,vala)))
10314 (propagated-inputs
10315 `(("gnome-video-effects" ,gnome-video-effects)
10316 ("clutter" ,clutter)
10317 ("clutter-gst" ,clutter-gst)
10318 ("clutter-gtk" ,clutter-gtk)
10319 ("libcanberra" ,libcanberra)
10320 ("gdk-pixbuf" ,gdk-pixbuf)
10321 ("glib" ,glib)
10322 ("gstreamer" ,gstreamer)))
10323 (inputs
10324 `(("gnome-desktop" ,gnome-desktop)
10325 ("gobject-introspection" ,gobject-introspection)
10326 ("gst-plugins-base" ,gst-plugins-base)
10327 ("gst-plugins-bad" ,gst-plugins-bad)
10328 ("gtk+" ,gtk+)
10329 ("libx11" ,libx11)
10330 ("libxtst" ,libxtst)))
10331 (home-page "https://wiki.gnome.org/Apps/Cheese")
10332 (synopsis "Webcam photo booth software for GNOME")
10333 (description
10334 "Cheese uses your webcam to take photos and videos. Cheese can also
10335 apply fancy special effects and lets you share the fun with others.")
10336 (license license:gpl2+)))
10337
10338 (define-public passwordsafe
10339 (package
10340 (name "passwordsafe")
10341 (version "3.99.2")
10342 (source
10343 (origin
10344 (method git-fetch)
10345 (uri (git-reference
10346 (url "https://gitlab.gnome.org/World/PasswordSafe")
10347 (commit version)))
10348 (file-name (git-file-name name version))
10349 (sha256
10350 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10351 (build-system meson-build-system)
10352 (arguments
10353 `(#:glib-or-gtk? #t
10354 #:phases
10355 (modify-phases %standard-phases
10356 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10357 (lambda* (#:key outputs #:allow-other-keys)
10358 (let ((prog (string-append (assoc-ref outputs "out")
10359 "/bin/gnome-passwordsafe"))
10360 (pylib (string-append (assoc-ref outputs "out")
10361 "/lib/python"
10362 ,(version-major+minor
10363 (package-version python))
10364 "/site-packages")))
10365 (wrap-program prog
10366 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10367 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10368 #t))))))
10369 (native-inputs
10370 `(("desktop-file-utils" ,desktop-file-utils)
10371 ("gettext" ,gettext-minimal)
10372 ("glib:bin" ,glib "bin")
10373 ("gobject-introspection" ,gobject-introspection)
10374 ("gtk+:bin" ,gtk+ "bin")
10375 ("pkg-config" ,pkg-config)))
10376 (inputs
10377 `(("glib" ,glib)
10378 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10379 ("gtk+" ,gtk+)
10380 ("libhandy" ,libhandy-0.0)
10381 ("libpwquality" ,libpwquality)
10382 ("python-pygobject" ,python-pygobject)
10383 ("python-pykeepass" ,python-pykeepass)))
10384 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10385 (synopsis "Password manager for the GNOME desktop")
10386 (description
10387 "Password Safe is a password manager which makes use of the KeePass v4
10388 format. It integrates perfectly with the GNOME desktop and provides an easy
10389 and uncluttered interface for the management of password databases.")
10390 (license license:gpl3+)))
10391
10392 (define-public sound-juicer
10393 (package
10394 (name "sound-juicer")
10395 (version "3.24.0")
10396 (source
10397 (origin
10398 (method url-fetch)
10399 (uri (string-append "mirror://gnome/sources/" name "/"
10400 (version-major+minor version) "/"
10401 name "-" version ".tar.xz"))
10402 (sha256
10403 (base32
10404 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10405 (build-system glib-or-gtk-build-system)
10406 (native-inputs
10407 `(("desktop-file-utils" ,desktop-file-utils)
10408 ("intltool" ,intltool)
10409 ("itstool" ,itstool)
10410 ("pkg-config" ,pkg-config)
10411 ("xmllint" ,libxml2)))
10412 (inputs
10413 `(("gtk+" ,gtk+)
10414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10415 ("gstreamer" ,gstreamer)
10416 ("gst-plugins-base" ,gst-plugins-base)
10417 ("gst-plugins-good" ,gst-plugins-good)
10418 ("iso-codes" ,iso-codes)
10419 ("libbrasero-media3" ,brasero)
10420 ("libcanberra" ,libcanberra)
10421 ("libdiscid" ,libdiscid)
10422 ("libmusicbrainz" ,libmusicbrainz)
10423 ("neon" ,neon)))
10424 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10425 (synopsis "Audio music cd ripper")
10426 (description "Sound Juicer extracts audio from compact discs and convert it
10427 into audio files that a personal computer or digital audio player can play.
10428 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10429 mp3, Ogg Vorbis and FLAC")
10430 (license license:gpl2+)))
10431
10432 (define-public soundconverter
10433 (package
10434 (name "soundconverter")
10435 (version "3.0.2")
10436 (source
10437 (origin
10438 (method url-fetch)
10439 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10440 version "/+download/"
10441 "soundconverter-" version ".tar.xz"))
10442
10443 (sha256
10444 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10445 (build-system glib-or-gtk-build-system)
10446 (arguments
10447 `(#:imported-modules ((guix build python-build-system)
10448 (guix build glib-or-gtk-build-system)
10449 ,@%gnu-build-system-modules)
10450
10451 #:modules ((guix build glib-or-gtk-build-system)
10452 (guix build utils)
10453 ((guix build gnu-build-system) #:prefix gnu:)
10454 ((guix build python-build-system) #:prefix python:))
10455
10456 #:phases
10457 (modify-phases %standard-phases
10458 (add-after 'install 'wrap-soundconverter-for-python
10459 (assoc-ref python:%standard-phases 'wrap))
10460 (add-after 'install 'wrap-soundconverter
10461 (lambda* (#:key inputs outputs #:allow-other-keys)
10462 (let ((out (assoc-ref outputs "out"))
10463 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10464 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10465 (wrap-program (string-append out "/bin/soundconverter")
10466 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10467 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10468 #t)))))
10469 (native-inputs
10470 `(("intltool" ,intltool)
10471 ("pkg-config" ,pkg-config)
10472 ("glib:bin" ,glib "bin")))
10473 (inputs
10474 `(("gtk+" ,gtk+)
10475 ("python" ,python)
10476 ("python-pygobject" ,python-pygobject)
10477 ("gstreamer" ,gstreamer)
10478 ("gst-plugins-base" ,gst-plugins-base)))
10479 (home-page "https://soundconverter.org/")
10480 (synopsis "Convert between audio formats with a graphical interface")
10481 (description
10482 "SoundConverter supports converting between many audio formats including
10483 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10484 configurable file renaming. ")
10485 (license license:gpl3)))
10486
10487 (define-public workrave
10488 (package
10489 (name "workrave")
10490 (version "1.10.42")
10491 (source
10492 (origin
10493 (method git-fetch)
10494 (uri (git-reference
10495 (url "https://github.com/rcaelers/workrave")
10496 (commit (string-append "v" (string-map
10497 (match-lambda (#\. #\_) (chr chr))
10498 version)))))
10499 (file-name (git-file-name name version))
10500 (sha256
10501 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10502 (build-system glib-or-gtk-build-system)
10503 (arguments
10504 ;; The only tests are maintainer tests (in po/), which fail.
10505 `(#:tests? #f))
10506 (inputs `(("glib" ,glib)
10507 ("gtk+" ,gtk+)
10508 ("gdk-pixbuf" ,gdk-pixbuf)
10509 ("gtkmm" ,gtkmm)
10510 ("glibmm" ,glibmm)
10511 ("libx11" ,libx11)
10512 ("libxtst" ,libxtst)
10513 ("dconf" ,dconf)
10514 ("libice" ,libice)
10515 ("libsm" ,libsm)
10516 ("libxscrnsaver" ,libxscrnsaver)))
10517 (native-inputs `(("boost" ,boost)
10518 ("pkg-config" ,pkg-config)
10519 ("gettext" ,gettext-minimal)
10520 ("autoconf" ,autoconf)
10521 ("autoconf-archive" , autoconf-archive)
10522 ("automake" ,automake)
10523 ("libtool" ,libtool)
10524 ("intltool" ,intltool)
10525 ("gobject-introspection" ,gobject-introspection)
10526 ("python3" ,python-3)
10527 ("python-jinja2" ,python-jinja2)))
10528 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10529 (description
10530 "Workrave is a program that assists in the recovery and prevention of
10531 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10532 micro-pauses and rest breaks, and restricts you to your daily limit.")
10533 (home-page "http://www.workrave.org")
10534 (license license:gpl3+)))
10535
10536 (define-public ghex
10537 (package
10538 (name "ghex")
10539 (version "3.18.4")
10540 (source (origin
10541 (method url-fetch)
10542 (uri (string-append "mirror://gnome/sources/ghex/"
10543 (version-major+minor version) "/"
10544 "ghex-" version ".tar.xz"))
10545 (sha256
10546 (base32
10547 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10548 (build-system meson-build-system)
10549 (arguments
10550 '(#:glib-or-gtk? #t
10551 #:phases
10552 (modify-phases %standard-phases
10553 (add-after 'unpack 'skip-gtk-update-icon-cache
10554 ;; Don't create 'icon-theme.cache'.
10555 (lambda _
10556 (substitute* "meson_post_install.py"
10557 (("gtk-update-icon-cache") (which "true")))
10558 #t)))))
10559 (native-inputs
10560 `(("pkg-config" ,pkg-config)
10561 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10562 ("gnome-common" ,gnome-common)
10563 ("which" ,which)
10564 ("intltool" ,intltool)
10565 ("yelp-tools" ,yelp-tools)
10566 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10567 (inputs
10568 `(("atk" ,atk)
10569 ("gtk" ,gtk+)))
10570 (synopsis "GNOME hexadecimal editor")
10571 (description "The GHex program can view and edit files in two ways:
10572 hexadecimal or ASCII. It is useful for editing binary files in general.")
10573 (home-page "https://wiki.gnome.org/Apps/Ghex")
10574 (license license:gpl2)))
10575
10576 (define-public libdazzle
10577 (package
10578 (name "libdazzle")
10579 (version "3.37.1")
10580 (source (origin
10581 (method url-fetch)
10582 (uri (string-append "mirror://gnome/sources/libdazzle/"
10583 (version-major+minor version) "/"
10584 "libdazzle-" version ".tar.xz"))
10585 (sha256
10586 (base32
10587 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10588 (build-system meson-build-system)
10589 (arguments
10590 `(#:phases
10591 (modify-phases %standard-phases
10592 (add-before 'check 'pre-check
10593 (lambda _
10594 ;; Tests require a running X server.
10595 (system "Xvfb :1 &")
10596 (setenv "DISPLAY" ":1")
10597 #t)))))
10598 (native-inputs
10599 `(("glib" ,glib "bin") ; glib-compile-resources
10600 ("pkg-config" ,pkg-config)
10601 ;; For tests.
10602 ("xorg-server" ,xorg-server-for-tests)))
10603 (inputs
10604 `(("glib" ,glib)
10605 ("gobject-introspection" ,gobject-introspection)
10606 ("gtk+" ,gtk+)
10607 ("vala" ,vala)))
10608 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10609 (synopsis "Companion library to GObject and Gtk+")
10610 (description "The libdazzle library is a companion library to GObject and
10611 Gtk+. It provides various features that the authors wish were in the
10612 underlying library but cannot for various reasons. In most cases, they are
10613 wildly out of scope for those libraries. In other cases, they are not quite
10614 generic enough to work for everyone.")
10615 (license license:gpl3+)))
10616
10617 (define-public evolution
10618 (package
10619 (name "evolution")
10620 (version "3.34.2")
10621 (source (origin
10622 (method url-fetch)
10623 (uri (string-append "mirror://gnome/sources/evolution/"
10624 (version-major+minor version) "/"
10625 "evolution-" version ".tar.xz"))
10626 (sha256
10627 (base32
10628 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10629 (build-system cmake-build-system)
10630 (arguments
10631 `(#:imported-modules (,@%cmake-build-system-modules
10632 (guix build glib-or-gtk-build-system))
10633 #:modules ((guix build cmake-build-system)
10634 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10635 (guix build utils))
10636 #:configure-flags
10637 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10638 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10639 ; in four years and cannot be built.
10640 #:phases
10641 (modify-phases %standard-phases
10642 ;; The build system attempts to install user interface modules to the
10643 ;; output directory of the "evolution-data-server" package. This
10644 ;; change redirects that change.
10645 (add-after 'unpack 'patch-ui-module-dir
10646 (lambda* (#:key outputs #:allow-other-keys)
10647 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10648 (("\\$\\{edsuimoduledir\\}")
10649 (string-append (assoc-ref outputs "out")
10650 "/lib/evolution-data-server/ui-modules")))
10651 #t))
10652 (add-after 'install 'glib-or-gtk-compile-schemas
10653 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10654 (add-after 'install 'glib-or-gtk-wrap
10655 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10656 (native-inputs
10657 `(("glib" ,glib "bin") ; glib-mkenums
10658 ("pkg-config" ,pkg-config)
10659 ("intltool" ,intltool)
10660 ("itstool" ,itstool)))
10661 (inputs
10662 `(("enchant" ,enchant)
10663 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10664 ("gcr" ,gcr)
10665 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10666 ("gnome-autoar" ,gnome-autoar)
10667 ("gnome-desktop" ,gnome-desktop)
10668 ("gspell" ,gspell)
10669 ("highlight" ,highlight)
10670 ("libcanberra" ,libcanberra)
10671 ("libgweather" ,libgweather)
10672 ("libnotify" ,libnotify)
10673 ("libsoup" ,libsoup)
10674 ("nss" ,nss)
10675 ("openldap" ,openldap)
10676 ("webkitgtk" ,webkitgtk)
10677 ("ytnef" ,ytnef)))
10678 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10679 (synopsis "Manage your email, contacts and schedule")
10680 (description "Evolution is a personal information management application
10681 that provides integrated mail, calendaring and address book
10682 functionality.")
10683 ;; See COPYING for details.
10684 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10685 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10686 license:lgpl2.1+)))) ; smime/lib/*
10687
10688 (define-public gthumb
10689 (package
10690 (name "gthumb")
10691 (version "3.8.2")
10692 (source (origin
10693 (method url-fetch)
10694 (uri (string-append "mirror://gnome/sources/gthumb/"
10695 (version-major+minor version) "/"
10696 "gthumb-" version ".tar.xz"))
10697 (sha256
10698 (base32
10699 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10700 (build-system meson-build-system)
10701 (arguments
10702 `(#:glib-or-gtk? #t
10703 #:configure-flags
10704 ;; Ensure the RUNPATH contains all installed library locations.
10705 (list (string-append "-Dc_link_args=-Wl,-rpath="
10706 (assoc-ref %outputs "out")
10707 "/lib/gthumb/extensions")
10708 (string-append "-Dcpp_link_args=-Wl,-rpath="
10709 (assoc-ref %outputs "out")
10710 "/lib/gthumb/extensions"))))
10711 (native-inputs
10712 `(("pkg-config" ,pkg-config)
10713 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10714 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10715 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10716 ("intltool" ,intltool)
10717 ("itstool" ,itstool)))
10718 (inputs
10719 `(("exiv2" ,exiv2)
10720 ("gtk" ,gtk+)
10721 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10722 ("gstreamer" ,gstreamer)
10723 ("clutter" ,clutter)
10724 ("clutter-gst" ,clutter-gst)
10725 ("clutter-gtk" ,clutter-gtk)
10726 ("libjpeg" ,libjpeg-turbo)
10727 ("libtiff" ,libtiff)
10728 ("libraw" ,libraw)))
10729 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10730 (synopsis "GNOME image viewer and browser")
10731 (description "GThumb is an image viewer, browser, organizer, editor and
10732 advanced image management tool")
10733 (license license:gpl2+)))
10734
10735 (define-public terminator
10736 (package
10737 (name "terminator")
10738 (version "1.92")
10739 (source (origin
10740 (method url-fetch)
10741 (uri (string-append "https://github.com/gnome-" name "/" name "/"
10742 "releases/download/v" version "/"
10743 name "-" version ".tar.gz"))
10744 (sha256
10745 (base32
10746 "1wbkfp0nk6x9bcwi681zy30qmrp4h754sdz6b7hi9j22mmvdd50z"))))
10747 (build-system python-build-system)
10748 (native-inputs
10749 `(("gettext" ,gettext-minimal)
10750 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10751 ("gobject-introspection" ,gobject-introspection)
10752 ("intltool" ,intltool)
10753 ("pkg-config" ,pkg-config)
10754 ("python-psutil" ,python-psutil)
10755 ("python-pytest-runner" ,python-pytest-runner)
10756 ("python-pytest" ,python-pytest)))
10757 (inputs
10758 `(("cairo" ,cairo)
10759 ("dbus-glib" ,dbus-glib)
10760 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10761 ("gtk+" ,gtk+)
10762 ("python-pycairo" ,python-pycairo)
10763 ("python-pygobject" ,python-pygobject)
10764 ("vte" ,vte)))
10765 (propagated-inputs
10766 `(("python-configobj" ,python-configobj)))
10767 (arguments
10768 `(#:imported-modules ((guix build glib-or-gtk-build-system)
10769 ,@%python-build-system-modules)
10770 #:modules ((guix build python-build-system)
10771 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10772 (guix build utils))
10773 #:phases
10774 (modify-phases %standard-phases
10775 (add-after
10776 'install 'wrap-program
10777 (lambda* (#:key outputs #:allow-other-keys)
10778 (let ((prog (string-append (assoc-ref outputs "out")
10779 "/bin/terminator"))
10780 (pylib (string-append (assoc-ref outputs "out")
10781 "/lib/python"
10782 ,(version-major+minor
10783 (package-version python))
10784 "/site-packages")))
10785 (wrap-program prog
10786 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10787 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10788 #t)))
10789 (add-after 'wrap-program 'glib-or-gtk-wrap
10790 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10791 (home-page "https://gnome-terminator.org/")
10792 (synopsis "Store and run multiple GNOME terminals in one window")
10793 (description
10794 "Terminator allows you to run multiple GNOME terminals in a grid and
10795 tabs, and it supports drag and drop re-ordering of terminals.")
10796 (license license:gpl2)))
10797
10798 (define-public libhandy
10799 (package
10800 (name "libhandy")
10801 (version "1.0.3")
10802 (source
10803 (origin
10804 (method git-fetch)
10805 (uri (git-reference
10806 (url "https://gitlab.gnome.org/GNOME/libhandy")
10807 (commit version)))
10808 (file-name (git-file-name name version))
10809 (sha256
10810 (base32 "0flgwlm921801i3ns0dwqpnxl89f3rzn4y9h723i13bmflch3in7"))))
10811 (build-system meson-build-system)
10812 (arguments
10813 `(#:configure-flags
10814 '("-Dglade_catalog=enabled"
10815 "-Dgtk_doc=true")
10816 #:phases
10817 (modify-phases %standard-phases
10818 (add-before 'check 'pre-check
10819 (lambda _
10820 ;; Tests require a running X server.
10821 (system "Xvfb :1 &")
10822 (setenv "DISPLAY" ":1")
10823 #t)))))
10824 (inputs
10825 `(("gtk+" ,gtk+)
10826 ("glade" ,glade3)
10827 ("libxml2" ,libxml2)))
10828 (native-inputs
10829 `(("glib:bin" ,glib "bin")
10830 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10831 ("vala" ,vala)
10832 ("gtk-doc" ,gtk-doc)
10833 ("pkg-config" ,pkg-config)
10834 ("gettext" ,gettext-minimal)
10835
10836 ;; Test suite dependencies.
10837 ("xorg-server" ,xorg-server-for-tests)
10838 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10839 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
10840 (synopsis "Library full of GTK+ widgets for mobile phones")
10841 (description "The aim of the handy library is to help with developing user
10842 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10843 for usage on small and big screens.")
10844 (license license:lgpl2.1+)))
10845
10846 (define-public libhandy-0.0
10847 (package
10848 (inherit libhandy)
10849 (version "0.0.13")
10850 (source
10851 (origin
10852 (method git-fetch)
10853 (uri (git-reference
10854 (url "https://gitlab.gnome.org/GNOME/libhandy")
10855 (commit (string-append "v" version))))
10856 (file-name (git-file-name "libhandy" version))
10857 (sha256
10858 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
10859 (arguments
10860 (substitute-keyword-arguments (package-arguments libhandy)
10861 ((#:configure-flags flags)
10862 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
10863
10864 (define-public libgit2-glib
10865 (package
10866 (name "libgit2-glib")
10867 (version "0.99.0.1")
10868 (source (origin
10869 (method url-fetch)
10870 (uri (string-append "mirror://gnome/sources/" name "/"
10871 (version-major+minor version) "/"
10872 name "-" version ".tar.xz"))
10873 (sha256
10874 (base32
10875 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10876 (build-system meson-build-system)
10877 (native-inputs
10878 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10879 ("gobject-introspection" ,gobject-introspection)
10880 ("pkg-config" ,pkg-config)
10881 ("python-pygobject" ,python-pygobject)
10882 ("python-wrapper" ,python-wrapper)
10883 ("vala" ,vala)))
10884 (inputs
10885 `(("glib" ,glib)
10886 ("libssh2" ,libssh2)))
10887 (propagated-inputs
10888 `(;; In Requires of libgit2-glib.pc.
10889 ("libgit2" ,libgit2)))
10890 (synopsis "GLib wrapper around the libgit2 Git access library")
10891 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10892 access library. It only implements the core plumbing functions, not really the
10893 higher level porcelain stuff.")
10894 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10895 (license license:gpl2+)))
10896
10897 (define-public gitg
10898 (package
10899 (name "gitg")
10900 (version "3.32.1")
10901 (source (origin
10902 (method url-fetch)
10903 (uri (string-append "mirror://gnome/sources/" name "/"
10904 (version-major+minor version) "/"
10905 name "-" version ".tar.xz"))
10906 (sha256
10907 (base32
10908 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10909 (build-system meson-build-system)
10910 (arguments
10911 `(#:glib-or-gtk? #t
10912 #:phases
10913 (modify-phases %standard-phases
10914 (add-after 'unpack 'disable-post-install-partially
10915 (lambda _
10916 (substitute* "meson_post_install.py"
10917 (("'python'") ; there are no python sources to compile
10918 (string-append "'" (which "true") "'"))
10919 (("gtk-update-icon-cache") (which "true")))
10920 #t))
10921 (add-after 'unpack 'fix-test-sources
10922 (lambda _
10923 (substitute* "tests/libgitg/test-commit.vala"
10924 (("/bin/bash") (which "bash")))
10925 #t))
10926 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10927 (lambda* (#:key outputs #:allow-other-keys)
10928 (let ((prog (string-append (assoc-ref outputs "out")
10929 "/bin/gitg")))
10930 (wrap-program prog
10931 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10932 #t))))))
10933 (inputs
10934 `(("glib" ,glib)
10935 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10936 ("gtk+" ,gtk+)
10937 ("gtkspell3" ,gtkspell3)
10938 ("gtksourceview" ,gtksourceview-3)
10939 ("json-glib" ,json-glib)
10940 ("libdazzle" ,libdazzle)
10941 ("libgee" ,libgee)
10942 ("libgit2-glib" ,libgit2-glib)
10943 ("libpeas" ,libpeas)
10944 ("libsecret" ,libsecret)
10945 ("libsoup" ,libsoup)
10946 ("libxml2" ,libxml2)))
10947 (native-inputs
10948 `(("glib:bin" ,glib "bin")
10949 ("gtk+:bin" ,gtk+ "bin")
10950 ("gobject-introspection" ,gobject-introspection)
10951 ("intltool" ,intltool)
10952 ("pkg-config" ,pkg-config)
10953 ("vala" ,vala)))
10954 (synopsis "Graphical user interface for git")
10955 (description
10956 "gitg is a graphical user interface for git. It aims at being a small,
10957 fast and convenient tool to visualize the history of git repositories.
10958 Besides visualization, gitg also provides several utilities to manage your
10959 repository and commit your work.")
10960 (home-page "https://wiki.gnome.org/Apps/Gitg")
10961 (license license:gpl2+)))
10962
10963 (define-public gamin
10964 (package
10965 (name "gamin")
10966 (version "0.1.10")
10967 (source (origin
10968 (method url-fetch)
10969 (uri (string-append "mirror://gnome/sources/" name "/"
10970 (version-major+minor version) "/"
10971 name "-" version ".tar.bz2"))
10972 (sha256
10973 (base32
10974 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
10975 (build-system gnu-build-system)
10976 (arguments
10977 `(#:phases
10978 (modify-phases %standard-phases
10979 (add-after 'unpack 'remove-deprecated-macro
10980 (lambda _
10981 (substitute* '("server/gam_node.c"
10982 "server/gam_subscription.h"
10983 "server/gam_node.h"
10984 "server/gam_subscription.c")
10985 (("G_CONST_RETURN") "const"))
10986 #t)))))
10987 (inputs
10988 `(("glib" ,glib)))
10989 (native-inputs
10990 `(("intltool" ,intltool)
10991 ("pkg-config" ,pkg-config)))
10992 (home-page "https://people.gnome.org/~veillard/gamin/")
10993 (synopsis "File alteration monitor")
10994 (description
10995 "Gamin is a file and directory monitoring system defined to be a subset
10996 of the FAM (File Alteration Monitor) system. This is a service provided by a
10997 library which detects when a file or a directory has been modified.")
10998 (license license:gpl2+)))
10999
11000 (define-public gnome-mahjongg
11001 (package
11002 (name "gnome-mahjongg")
11003 (version "3.35.1")
11004 (source (origin
11005 (method git-fetch)
11006 (uri (git-reference
11007 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11008 (commit version)))
11009 (file-name (git-file-name name version))
11010 (sha256
11011 (base32
11012 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11013 (build-system meson-build-system)
11014 (arguments
11015 `(#:glib-or-gtk? #t))
11016 (native-inputs
11017 `(("appstream-glib" ,appstream-glib)
11018 ("gettext" ,gettext-minimal)
11019 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11020 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11021 ("itstool" ,itstool)
11022 ("pkg-config" ,pkg-config)
11023 ("vala" ,vala)))
11024 (propagated-inputs
11025 `(("dconf" ,dconf)))
11026 (inputs
11027 `(("glib" ,glib)
11028 ("gtk+" ,gtk+)
11029 ("librsvg" ,librsvg)))
11030 (synopsis "Mahjongg tile-matching game")
11031 (description "GNOME Mahjongg is a game based on the classic Chinese
11032 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11033 and a high score table.")
11034 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11035 (license license:gpl2+)))
11036
11037 (define-public gnome-themes-extra
11038 (package
11039 (name "gnome-themes-extra")
11040 (version "3.28")
11041 (source
11042 (origin
11043 (method url-fetch)
11044 (uri (string-append "mirror://gnome/sources/" name "/"
11045 (version-major+minor version) "/" name "-"
11046 version ".tar.xz"))
11047 (sha256
11048 (base32
11049 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11050 (build-system gnu-build-system)
11051 (arguments
11052 '(#:configure-flags
11053 ;; Don't create 'icon-theme.cache'.
11054 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11055 (true (string-append coreutils "/bin/true")))
11056 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11057 (native-inputs
11058 `(("glib:bin" ,glib "bin")
11059 ("intltool" ,intltool)
11060 ("pkg-config" ,pkg-config)))
11061 (inputs
11062 `(("glib" ,glib)
11063 ("gtk+" ,gtk+)
11064 ("gtk+-2" ,gtk+-2)
11065 ("librsvg" ,librsvg)
11066 ("libxml2" ,libxml2)))
11067 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11068 (synopsis "GNOME Extra Themes")
11069 (description "This package provides themes and related elements that don't
11070 really fit in other upstream packages. It offers legacy support for GTK+ 2
11071 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11072 index files needed for Adwaita to be used outside of GNOME.")
11073 (license license:lgpl2.1+)))
11074
11075 (define-public gnote
11076 (package
11077 (name "gnote")
11078 (version "3.38.0")
11079 (source
11080 (origin
11081 (method url-fetch)
11082 (uri (string-append "mirror://gnome/sources/" name "/"
11083 (version-major+minor version) "/"
11084 "gnote-" version ".tar.xz"))
11085 (sha256
11086 (base32 "1ingbaw4d8vpjn083xvzqw7kz8z0k2bx7msk78pbzd68bwgkadpx"))))
11087 (build-system glib-or-gtk-build-system)
11088 (native-inputs
11089 `(("desktop-file-utils" ,desktop-file-utils)
11090 ("glib:bin" ,glib "bin")
11091 ("gobject-introspection" ,gobject-introspection)
11092 ("intltool" ,intltool)
11093 ("itstool" ,itstool)
11094 ("pkg-config" ,pkg-config)
11095 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11096 (inputs
11097 `(("glibmm" ,glibmm)
11098 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11099 ("gspell" ,gspell)
11100 ("gtk+" ,gtk+)
11101 ("gtkmm" ,gtkmm)
11102 ("libsecret" ,libsecret)
11103 ("libuuid" ,util-linux "lib")
11104 ("libxml2" ,libxml2)
11105 ("libxslt" ,libxslt)))
11106 (synopsis "Note-taking application for the GNOME desktop")
11107 (description
11108 "Gnote is a note-taking application written for the GNOME desktop
11109 environment.")
11110 (home-page "https://wiki.gnome.org/Apps/Gnote")
11111 (license license:gpl3+)))
11112
11113 (define-public polari
11114 (package
11115 (name "polari")
11116 (version "3.36.3")
11117 (source (origin
11118 (method url-fetch)
11119 (uri (string-append "mirror://gnome/sources/polari/"
11120 (version-major+minor version)
11121 "/polari-" version ".tar.xz"))
11122 (sha256
11123 (base32
11124 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11125 (build-system meson-build-system)
11126 (arguments
11127 `(#:glib-or-gtk? #t
11128 #:phases
11129 (modify-phases %standard-phases
11130 (add-after 'unpack 'skip-gtk-update-icon-cache
11131 (lambda _
11132 (substitute* "meson/meson-postinstall.sh"
11133 (("gtk-update-icon-cache") (which "true")))
11134 #t))
11135 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11136 (lambda* (#:key outputs #:allow-other-keys)
11137 (let ((prog (string-append (assoc-ref outputs "out")
11138 "/bin/polari")))
11139 (wrap-program prog
11140 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11141 #t))))))
11142 (inputs
11143 `(("glib" ,glib)
11144 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11145 ("gspell" ,gspell)
11146 ("gtk+" ,gtk+)
11147 ("gjs" ,gjs)
11148 ("libsecret" ,libsecret)
11149 ("libsoup" ,libsoup)
11150 ("telepathy-glib" ,telepathy-glib)
11151 ("telepathy-logger" ,telepathy-logger)))
11152 (native-inputs
11153 `(("glib:bin" ,glib "bin")
11154 ("gobject-introspection" ,gobject-introspection)
11155 ("intltool" ,intltool)
11156 ("pkg-config" ,pkg-config)
11157 ("yelp-tools" ,yelp-tools)))
11158 (propagated-inputs
11159 `(("telepathy-idle" ,telepathy-idle)
11160 ("telepathy-mission-control" ,telepathy-mission-control)))
11161 (synopsis "Simple IRC Client")
11162 (description
11163 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11164 integrate seamlessly with the GNOME desktop.")
11165 (home-page "https://wiki.gnome.org/Apps/Polari")
11166 (license license:gpl2+)))
11167
11168 (define-public gnome-boxes
11169 (package
11170 (name "gnome-boxes")
11171 (version "3.36.6")
11172 (source
11173 (origin
11174 (method url-fetch)
11175 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11176 (version-major+minor version) "/"
11177 "gnome-boxes-" version ".tar.xz"))
11178 (sha256
11179 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11180 (build-system meson-build-system)
11181 (arguments
11182 '(#:glib-or-gtk? #t
11183 #:configure-flags (list "-Drdp=false"
11184 (string-append "-Dc_link_args=-Wl,-rpath="
11185 (assoc-ref %outputs "out")
11186 "/lib/gnome-boxes"))))
11187 (native-inputs
11188 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11189 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11190 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11191 ("itstool" ,itstool)
11192 ("intltool" ,intltool)
11193 ("vala" ,vala)
11194 ("pkg-config" ,pkg-config)))
11195 (inputs
11196 `(("libarchive" ,libarchive)
11197 ("glib-networking" ,glib-networking) ;for TLS support
11198 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11199 ("gtk" ,gtk+)
11200 ("gtk-vnc" ,gtk-vnc)
11201 ("libosinfo" ,libosinfo)
11202 ("libsecret" ,libsecret)
11203 ("libsoup" ,libsoup)
11204 ("libusb" ,libusb)
11205 ("libvirt" ,libvirt)
11206 ("libvirt-glib" ,libvirt-glib)
11207 ("libxml" ,libxml2)
11208 ("spice-gtk" ,spice-gtk)
11209 ("sparql-query" ,sparql-query)
11210 ("vte" ,vte)
11211 ("webkitgtk" ,webkitgtk)
11212 ("tracker" ,tracker)
11213 ("libgudev" ,libgudev)))
11214 (home-page "https://wiki.gnome.org/Apps/Boxes")
11215 (synopsis "View, access, and manage remote and virtual systems")
11216 (description "GNOME Boxes is a simple application to view, access, and
11217 manage remote and virtual systems. Note that this application requires the
11218 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11219 @command{info '(guix) Virtualization Services'} to learn how to configure
11220 these services on the Guix System.")
11221 (license (list
11222 ;; For data/icons/empty-boxes.png.
11223 license:cc-by2.0
11224 ;; For all others.
11225 license:lgpl2.0+))))
11226
11227 (define-public geary
11228 (package
11229 (name "geary")
11230 (version "3.34.1")
11231 (source (origin
11232 (method git-fetch)
11233 (uri (git-reference
11234 (url "https://gitlab.gnome.org/GNOME/geary")
11235 (commit version)))
11236 (file-name (git-file-name name version))
11237 (sha256
11238 (base32
11239 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
11240 (build-system meson-build-system)
11241 (arguments
11242 `(#:glib-or-gtk? #t
11243 #:phases (modify-phases %standard-phases
11244 (add-after 'unpack 'disable-failing-tests
11245 (lambda _
11246 (substitute* "test/meson.build"
11247 (("test\\('client-tests', geary_test_client_bin\\)")
11248 ""))
11249 #t))
11250 (add-after 'unpack 'disable-postinstall-script
11251 (lambda _
11252 (substitute* "meson.build"
11253 (("meson.add_install_script\\(\
11254 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11255 ""))
11256 #t))
11257 (add-before 'check 'setup-xvfb
11258 (lambda _
11259 (system "Xvfb :1 &")
11260 (setenv "DISPLAY" ":1")
11261 #t)))))
11262 (inputs
11263 `(("enchant" ,enchant)
11264 ("folks" ,folks)
11265 ("gcr" ,gcr)
11266 ("glib" ,glib)
11267 ("gmime" ,gmime-2.6)
11268 ("gnome-online-accounts:lib"
11269 ,gnome-online-accounts "lib")
11270 ("gspell" ,gspell)
11271 ("gtk+" ,gtk+)
11272 ("iso-codes" ,iso-codes)
11273 ("json-glib" ,json-glib)
11274 ("libcanberra" ,libcanberra)
11275 ("libgee" ,libgee)
11276 ("libhandy" ,libhandy-0.0)
11277 ("libpeas" ,libpeas)
11278 ("libsecret" ,libsecret)
11279 ("libunwind" ,libunwind)
11280 ("sqlite" ,sqlite)
11281 ("webkitgtk" ,webkitgtk)
11282 ("ytnef" ,ytnef)))
11283 (native-inputs
11284 `(("appstream-glib" ,appstream-glib)
11285 ("cmake-minimal" ,cmake-minimal)
11286 ("desktop-file-utils" ,desktop-file-utils)
11287 ("gettext" ,gettext-minimal)
11288 ("glib:bin" ,glib "bin")
11289 ("gobject-introspection" ,gobject-introspection)
11290 ("itstool" ,itstool)
11291 ("libarchive" ,libarchive)
11292 ("libxml2" ,libxml2)
11293 ("pkg-config" ,pkg-config)
11294 ("vala" ,vala)
11295 ("xvfb" ,xorg-server-for-tests)))
11296 (synopsis "GNOME email application built around conversations")
11297 (description
11298 "Geary collects related messages together into conversations,
11299 making it easy to find and follow your discussions. Full-text and keyword
11300 search makes it easy to find the email you are looking for. Geary's
11301 full-featured composer lets you send rich, styled text with images, links, and
11302 lists, but also send lightweight, easy to read text messages. Geary
11303 automatically picks up your existing GNOME Online Accounts, and adding more is
11304 easy. Geary has a clean, fast, modern interface that works like you want it
11305 to.")
11306 (home-page "https://wiki.gnome.org/Apps/Geary")
11307 (license (list
11308 ;; geary
11309 license:lgpl2.1+
11310 ;; icons
11311 license:cc-by3.0
11312 license:cc-by-sa3.0
11313 license:public-domain
11314 ;; snowball
11315 license:bsd-2))))
11316
11317 (define-public glabels
11318 (package
11319 (name "glabels")
11320 (version "3.4.1")
11321 (source
11322 (origin
11323 (method url-fetch)
11324 (uri (string-append "mirror://gnome/sources/" name "/"
11325 (version-major+minor version) "/"
11326 "glabels-" version ".tar.xz"))
11327 (sha256
11328 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11329 (build-system glib-or-gtk-build-system)
11330 (native-inputs
11331 `(("gettext" ,gettext-minimal)
11332 ("glib:bin" ,glib "bin")
11333 ("intltool" ,intltool)
11334 ("itstool" ,itstool)
11335 ("pkg-config" ,pkg-config)))
11336 (inputs
11337 `(("gtk+" ,gtk+)
11338 ("librsvg" ,librsvg)
11339 ("libxml2" ,libxml2)))
11340 (home-page "https://glabels.org/")
11341 (synopsis "Program for creating labels and business cards")
11342 (description
11343 "gLabels is a program for creating labels and business cards. It is
11344 designed to work with various laser/ink-jet peel-off label and business
11345 card sheets that you’ll find at most office supply stores.")
11346 (license license:gpl3+)))
11347
11348 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11349 (define-public gnome-latex
11350 (package
11351 (name "gnome-latex")
11352 (version "3.36.0")
11353 (source
11354 (origin
11355 (method url-fetch)
11356 (uri (string-append "mirror://gnome/sources/" name "/"
11357 (version-major+minor version) "/"
11358 "gnome-latex-" version ".tar.xz"))
11359 (sha256
11360 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11361 (build-system glib-or-gtk-build-system)
11362 (native-inputs
11363 `(("gettext" ,gettext-minimal)
11364 ("glib:bin" ,glib "bin")
11365 ("gobject-introspection" ,gobject-introspection)
11366 ("gtk-doc" ,gtk-doc)
11367 ("intltool" ,intltool)
11368 ("itstool" ,itstool)
11369 ("pkg-config" ,pkg-config)
11370 ("vala" ,vala)))
11371 (inputs
11372 `(("amtk" ,amtk)
11373 ("dconf" ,dconf)
11374 ("glib" ,glib)
11375 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11376 ("gspell" ,gspell)
11377 ("gtk+" ,gtk+)
11378 ("gtksourceview" ,gtksourceview)
11379 ("libgee" ,libgee)
11380 ("tepl" ,tepl)
11381 ("uchardet" ,uchardet)))
11382 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11383 (synopsis "LaTeX editor for the GNOME desktop")
11384 (description
11385 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11386 such as build tools, completion of LaTeX commands, structure navigation,
11387 symbol tables, document templates, project management, spell-checking, menus
11388 and toolbars.")
11389 (license license:gpl3+)))
11390
11391 (define-public setzer
11392 (package
11393 (name "setzer")
11394 (version "0.3.9")
11395 (source
11396 (origin
11397 (method git-fetch)
11398 (uri (git-reference
11399 (url "https://github.com/cvfosammmm/Setzer")
11400 (commit (string-append "v" version))))
11401 (file-name (git-file-name name version))
11402 (sha256
11403 (base32 "1qmy2bxl8x6pijjaaj91v6rqdipha6iyy0b6b9y1lk3r2p3azd42"))))
11404 (build-system meson-build-system)
11405 (arguments
11406 `(#:glib-or-gtk? #t
11407 #:phases
11408 (modify-phases %standard-phases
11409 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11410 (lambda* (#:key outputs #:allow-other-keys)
11411 (let ((prog (string-append (assoc-ref outputs "out")
11412 "/bin/setzer"))
11413 (pylib (string-append (assoc-ref outputs "out")
11414 "/lib/python"
11415 ,(version-major+minor
11416 (package-version python))
11417 "/site-packages")))
11418 (wrap-program prog
11419 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11420 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11421 #t))))))
11422 (native-inputs
11423 `(("desktop-file-utils" ,desktop-file-utils)
11424 ("gettext" ,gettext-minimal)
11425 ("glib:bin" ,glib "bin")
11426 ("gobject-introspection" ,gobject-introspection)
11427 ("gtk+:bin" ,gtk+ "bin")))
11428 (inputs
11429 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11430 ("gspell" ,gspell)
11431 ("gtk+" ,gtk+)
11432 ("gtksourceview" ,gtksourceview)
11433 ("pango" ,pango)
11434 ("poppler" ,poppler)
11435 ("python-pycairo" ,python-pycairo)
11436 ("python-pygobject" ,python-pygobject)
11437 ("python-pyxdg" ,python-pyxdg)
11438 ("webkitgtk" ,webkitgtk)
11439 ("xdg-utils" ,xdg-utils)))
11440 (home-page "https://www.cvfosammmm.org/setzer/")
11441 (synopsis "LaTeX editor written in Python with GTK+")
11442 (description
11443 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11444 GTK+. It integrates well with the GNOME desktop environment.")
11445 (license license:gpl3+)))
11446
11447 (define-public libratbag
11448 (package
11449 (name "libratbag")
11450 (version "0.14")
11451 (source
11452 (origin
11453 (method git-fetch)
11454 (uri (git-reference
11455 (url "https://github.com/libratbag/libratbag")
11456 (commit (string-append "v" version))))
11457 (file-name (git-file-name name version))
11458 (sha256
11459 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11460 (build-system meson-build-system)
11461 (arguments
11462 `(#:configure-flags
11463 (list "-Dsystemd=false"
11464 "-Dlogind-provider=elogind")
11465 #:phases
11466 (modify-phases %standard-phases
11467 (add-after 'install 'wrap
11468 (lambda* (#:key inputs outputs #:allow-other-keys)
11469 (let* ((out (assoc-ref outputs "out"))
11470 (site (string-append
11471 "/lib/python"
11472 ,(version-major+minor (package-version python))
11473 "/site-packages"))
11474 (evdev (string-append
11475 (assoc-ref inputs "python-evdev") site))
11476 (pygo (string-append
11477 (assoc-ref inputs "python-pygobject") site))
11478 (python-wrap
11479 `("PYTHONPATH" = (,evdev ,pygo))))
11480 (wrap-program (string-append out "/bin/" "ratbagctl")
11481 python-wrap)
11482 #t))))))
11483 (native-inputs
11484 `(("check" ,check)
11485 ("pkg-config" ,pkg-config)
11486 ("swig" ,swig)
11487 ("valgrind" ,valgrind)))
11488 (inputs
11489 `(("glib" ,glib)
11490 ("json-glib" ,json-glib)
11491 ("libevdev" ,libevdev)
11492 ("libsystemd" ,elogind)
11493 ("libunistring" ,libunistring)
11494 ("python-evdev" ,python-evdev)
11495 ("python-pygobject" ,python-pygobject)
11496 ("udev" ,eudev)))
11497 (home-page "https://github.com/libratbag/libratbag")
11498 (synopsis "DBus daemon and utility for configuring gaming mice")
11499 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11500 configure input devices, mainly gaming mice. The daemon provides a generic
11501 way to access the various features exposed by these mice and abstracts away
11502 hardware-specific and kernel-specific quirks. There is also the
11503 @command{ratbagctl} command line interface for configuring devices.
11504
11505 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11506 Steelseries.
11507
11508 The ratbagd DBus service can be enabled by adding the following service to
11509 your operating-system definition:
11510
11511 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11512 (license license:expat)))
11513
11514 (define-public piper
11515 (package
11516 (name "piper")
11517 (version "0.5.1")
11518 (source
11519 (origin
11520 (method git-fetch)
11521 (uri (git-reference
11522 (url "https://github.com/libratbag/piper")
11523 (commit version)))
11524 (sha256
11525 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11526 (file-name (git-file-name name version))))
11527 (build-system meson-build-system)
11528 (native-inputs
11529 `(("gettext" ,gettext-minimal)
11530 ("glib:bin" ,glib "bin")
11531 ("gobject-introspection" ,gobject-introspection)
11532 ("pkg-config" ,pkg-config)
11533 ("python-flake8" ,python-flake8)))
11534 (inputs
11535 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11536 ("gtk" ,gtk+)
11537 ("gtk:bin" ,gtk+ "bin")
11538 ("librsvg" ,librsvg)
11539 ("python-evdev" ,python-evdev)
11540 ("python-lxml" ,python-lxml)
11541 ("python-pycairo" ,python-pycairo)
11542 ("python-pygobject" ,python-pygobject)))
11543 (arguments
11544 `(#:imported-modules ((guix build python-build-system)
11545 ,@%meson-build-system-modules)
11546 #:modules (((guix build python-build-system) #:prefix python:)
11547 (guix build meson-build-system)
11548 (guix build utils))
11549 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11550 #:phases
11551 (modify-phases %standard-phases
11552 (add-after 'unpack 'dont-update-gtk-icon-cache
11553 (lambda _
11554 (substitute* "meson.build"
11555 (("meson.add_install_script('meson_install.sh')") ""))
11556 #t))
11557 ;; TODO: Switch to wrap-script when it is fixed.
11558 (add-after 'install 'wrap-python
11559 (assoc-ref python:%standard-phases 'wrap))
11560 (add-after 'wrap-python 'wrap
11561 (lambda* (#:key outputs #:allow-other-keys)
11562 (wrap-program
11563 (string-append (assoc-ref outputs "out" )"/bin/piper")
11564 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11565 #t)))))
11566 (home-page "https://github.com/libratbag/piper/")
11567 (synopsis "Configure bindings and LEDs on gaming mice")
11568 (description "Piper is a GTK+ application for configuring gaming mice with
11569 onboard configuration for key bindings via libratbag. Piper requires
11570 a @command{ratbagd} daemon running with root privileges. It can be run
11571 manually as root, but is preferably configured as a DBus service that can
11572 launch on demand. This can be configured by enabling the following service,
11573 provided there is a DBus service present:
11574
11575 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11576 (license license:gpl2)))
11577
11578 (define-public parlatype
11579 (package
11580 (name "parlatype")
11581 (version "2.1")
11582 (source
11583 (origin
11584 (method git-fetch)
11585 (uri (git-reference
11586 (url "https://github.com/gkarsay/parlatype")
11587 (commit (string-append "v" version))))
11588 (file-name (git-file-name name version))
11589 (sha256
11590 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11591 (build-system meson-build-system)
11592 (arguments
11593 `(#:glib-or-gtk? #t
11594 #:tests? #f ;require internet access
11595 #:phases
11596 (modify-phases %standard-phases
11597 (add-after 'install 'wrap-parlatype
11598 ;; Add gstreamer plugin provided in this package to system's
11599 ;; plugins.
11600 (lambda* (#:key outputs #:allow-other-keys)
11601 (let* ((out (assoc-ref outputs "out"))
11602 (gst-plugin-path (string-append
11603 out "/lib/gstreamer-1.0/"
11604 ":"
11605 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11606 (wrap-program (string-append out "/bin/parlatype")
11607 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11608 #t)))))
11609 (native-inputs
11610 `(("appstream-glib" ,appstream-glib)
11611 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11612 ("gettext" ,gettext-minimal)
11613 ("glib" ,glib "bin") ;for glib-compile-resources
11614 ("pkg-config" ,pkg-config)
11615 ("yelp-tools" ,yelp-tools)))
11616 (inputs
11617 `(("gst-plugins-base" ,gst-plugins-base)
11618 ("gst-plugins-good" ,gst-plugins-good)
11619 ("gstreamer" ,gstreamer)
11620 ("gtk+" ,gtk+)
11621 ("pocketsphinx" ,pocketsphinx)
11622 ("pulseaudio" ,pulseaudio)
11623 ("sphinxbase" ,sphinxbase)))
11624 (home-page "http://gkarsay.github.io/parlatype/")
11625 (synopsis "GNOME audio player for transcription")
11626 (description "Parlatype is an audio player for the GNOME desktop
11627 environment. Its main purpose is the manual transcription of spoken
11628 audio files.")
11629 (license license:gpl3+)))
11630
11631 (define-public jsonrpc-glib
11632 (package
11633 (name "jsonrpc-glib")
11634 (version "3.34.0")
11635 (source (origin
11636 (method url-fetch)
11637 (uri (string-append "mirror://gnome/sources/" name "/"
11638 (version-major+minor version) "/"
11639 name "-" version ".tar.xz"))
11640 (sha256
11641 (base32
11642 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11643 (build-system meson-build-system)
11644 (inputs
11645 `(("json-glib" ,json-glib)
11646 ("glib" ,glib)))
11647 (native-inputs
11648 `(("pkg-config" ,pkg-config)
11649 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11650 ("gobject-introspection" ,gobject-introspection)
11651 ("vala" ,vala)))
11652 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11653 (synopsis "JSON-RPC library for GLib")
11654 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11655 peers in either a synchronous or asynchronous fashion. It also allows
11656 communicating using the GVariant serialization format instead of JSON when
11657 both peers support it. You might want that when communicating on a single
11658 host to avoid parser overhead and memory-allocator fragmentation.")
11659 (license license:lgpl2.1+)))
11660
11661 (define-public feedbackd
11662 (package
11663 (name "feedbackd")
11664 (version "0.0.0+git20200527")
11665 (source (origin
11666 (method git-fetch)
11667 (uri (git-reference
11668 (url "https://source.puri.sm/Librem5/feedbackd.git")
11669 (commit (string-append "v" version))))
11670 (file-name (git-file-name name version))
11671 (sha256
11672 (base32
11673 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11674 (build-system meson-build-system)
11675 (native-inputs
11676 `(("glib:bin" ,glib "bin")
11677 ("gobject-introspection" ,gobject-introspection)
11678 ("pkg-config" ,pkg-config)
11679 ("vala" ,vala)))
11680 (inputs
11681 `(("dbus" ,dbus)
11682 ("gsound" ,gsound)
11683 ("json-glib" ,json-glib)
11684 ("libgudev" ,libgudev)))
11685 (propagated-inputs
11686 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11687 (synopsis "Haptic/visual/audio feedback via DBus")
11688 (description "Feedbackd provides a DBus daemon to act on events to provide
11689 haptic, visual and audio feedback. It offers the libfeedbackd library and
11690 GObject introspection bindings.")
11691 (home-page "https://source.puri.sm/Librem5/feedbackd")
11692 (license (list license:lgpl2.1+ ; libfeedbackd
11693 license:lgpl3+)))) ; the rest
11694
11695 (define-public sysprof
11696 (package
11697 (name "sysprof")
11698 (version "3.36.0")
11699 (source
11700 (origin
11701 (method url-fetch)
11702 (uri (string-append "mirror://gnome/sources/sysprof/"
11703 (version-major+minor version) "/"
11704 "sysprof-" version ".tar.xz"))
11705 (sha256
11706 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11707 (build-system meson-build-system)
11708 (arguments
11709 `(#:configure-flags
11710 (list (string-append "-Dsystemdunitdir="
11711 %output
11712 "/share/systemd"))
11713 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11714 #:phases
11715 (modify-phases %standard-phases
11716 (add-after 'unpack 'patch-install-script
11717 (lambda _
11718 (substitute* "build-aux/meson/post_install.sh"
11719 (("gtk-update-icon-cache") "true")
11720 (("update-desktop-database") "true"))
11721 #t)))))
11722 (inputs
11723 `(("glib" ,glib)
11724 ("gtk+" ,gtk+)
11725 ("libdazzle" ,libdazzle)
11726 ("polkit" ,polkit)))
11727 (native-inputs
11728 `(("gettext" ,gettext-minimal)
11729 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11730 ("itstool" ,itstool)
11731 ("pkg-config" ,pkg-config)
11732 ("xmllint" ,libxml2)))
11733 ;; This home page is so woefully out of date as to be essentially useless.
11734 ;; (home-page "http://www.sysprof.com")
11735 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11736 (synopsis "System-wide performance profiler for GNU/Linux")
11737 (description
11738 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11739 GNU/Linux system including the kernel and all user-space applications. This
11740 helps find the function(s) in which a program spends most of its time.
11741
11742 It uses the kernel's built-in @code{ptrace} feature and handles shared
11743 libraries. Applications do not need to be recompiled--or even restarted.")
11744 (license license:gpl3+)))
11745
11746 (define-public gnome-builder
11747 (package
11748 (name "gnome-builder")
11749 (version "3.36.1")
11750 (source (origin
11751 (method url-fetch)
11752 (uri (string-append "mirror://gnome/sources/" name "/"
11753 (version-major+minor version) "/"
11754 name "-" version ".tar.xz"))
11755 (sha256
11756 (base32
11757 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11758 (build-system meson-build-system)
11759 (arguments
11760 `(#:configure-flags (list "-Dnetwork_tests=false"
11761 ;; TODO: Enable all plugins...
11762 "-Dplugin_clang=false"
11763 "-Dplugin_flatpak=false"
11764 "-Dplugin_glade=false"
11765 ;; XXX: This one has been shown not to work in
11766 ;; <https://issues.guix.gnu.org/45272>
11767 "-Dplugin_jedi=false"
11768 ;; ... except this one.
11769 "-Dplugin_update_manager=false")
11770 #:phases
11771 (modify-phases %standard-phases
11772 (add-after 'unpack 'patch-meson
11773 (lambda* (#:key inputs #:allow-other-keys)
11774 (substitute* "build-aux/meson/post_install.py"
11775 (("gtk-update-icon-cache") "true")
11776 (("update-desktop-database") "true"))
11777 (substitute* "src/libide/meson.build"
11778 (("/usr/lib")
11779 (string-append (assoc-ref inputs "python-pygobject")
11780 "/lib")))
11781 #t))
11782 (add-after 'configure 'fix-ninja
11783 (lambda _
11784 ;; #43296: meson(?) incorrectly assumes we want to link
11785 ;; this PIE against a static libselinux.
11786 (substitute* "build.ninja"
11787 (("libselinux\\.a") "libselinux.so"))
11788 #t))
11789 (add-before 'check 'pre-check
11790 (lambda _
11791 (system "Xvfb :1 &")
11792 (setenv "DISPLAY" ":1")
11793 #t)))))
11794 (inputs
11795 `(("devhelp" ,devhelp)
11796 ("gspell" ,gspell)
11797 ("gtk+" ,gtk+)
11798 ("json-glib" ,json-glib)
11799 ("jsonrpc-glib" ,jsonrpc-glib)
11800 ("libdazzle" ,libdazzle)
11801 ("libgit2-glib" ,libgit2-glib)
11802 ("libpeas" ,libpeas)
11803 ("python-pygobject" ,python-pygobject)
11804 ("sysprof" ,sysprof)
11805 ("template-glib" ,template-glib)
11806 ("vte" ,vte)
11807 ("webkitgtk" ,webkitgtk)))
11808 (propagated-inputs
11809 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11810 (native-inputs
11811 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11812 ("glib:bin" ,glib "bin")
11813 ("gettext" ,gettext-minimal)
11814 ("pkg-config" ,pkg-config)
11815 ("vala" ,vala)
11816 ("xorg-server" ,xorg-server-for-tests)))
11817 (home-page "https://wiki.gnome.org/Apps/Builder")
11818 (synopsis "Toolsmith for GNOME-based applications")
11819 (description "Builder aims to be an integrated development
11820 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11821 auto-completion, a mini code map, documentation browsing, Git integration, an
11822 integrated profiler via Sysprof, debugging support, and more.")
11823 (license license:gpl3+)))
11824
11825 (define-public komikku
11826 (package
11827 (name "komikku")
11828 (version "0.25.1")
11829 (source
11830 (origin
11831 (method git-fetch)
11832 (uri (git-reference
11833 (url "https://gitlab.com/valos/Komikku/")
11834 (commit (string-append "v" version))))
11835 (file-name (git-file-name name version))
11836 (sha256
11837 (base32
11838 "03skci66y9qqiv4bqbbc0w6d6agilwmx95cw7sribj06zcykm7m3"))))
11839 (build-system meson-build-system)
11840 (arguments
11841 `(#:glib-or-gtk? #t
11842 #:phases
11843 (modify-phases %standard-phases
11844 (add-after 'unpack 'patch-sources
11845 (lambda _
11846 (substitute* "komikku/utils.py"
11847 (("from komikku\\.servers import get_servers_list")
11848 ;; code following that line should migrate old databases
11849 ;; but the line itself results in an import error
11850 "return data_dir_path"))))
11851 (add-after 'unpack 'skip-gtk-update-icon-cache
11852 (lambda _
11853 (substitute* "meson_post_install.py"
11854 (("gtk-update-icon-cache") (which "true")))
11855 #t))
11856 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11857 (lambda* (#:key outputs #:allow-other-keys)
11858 (let ((prog (string-append (assoc-ref outputs "out")
11859 "/bin/komikku")))
11860 (wrap-program prog
11861 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11862 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11863 #t))))))
11864 (inputs
11865 `(("gtk+" ,gtk+)
11866 ("libhandy" ,libhandy)
11867 ("libnotify" ,libnotify)
11868 ("libsecret" ,libsecret)
11869 ("python-beautifulsoup4" ,python-beautifulsoup4)
11870 ("python-dateparser" ,python-dateparser)
11871 ("python-keyring" ,python-keyring)
11872 ("python-lxml" ,python-lxml)
11873 ("python-magic" ,python-magic)
11874 ("python-pillow" ,python-pillow)
11875 ("python-pure-protobuf" ,python-pure-protobuf)
11876 ("python-pycairo" ,python-pycairo)
11877 ("python-pygobject" ,python-pygobject)
11878 ("python-requests" ,python-requests)
11879 ("python-unidecode" ,python-unidecode)))
11880 (native-inputs
11881 `(("desktop-file-utils" ,desktop-file-utils)
11882 ("gettext" ,gettext-minimal)
11883 ("glib:bin" ,glib "bin")
11884 ("gobject-introspection" ,gobject-introspection)
11885 ("pkg-config" ,pkg-config)))
11886 (home-page "https://gitlab.com/valos/Komikku")
11887 (synopsis "Manga reader for GNOME")
11888 (description "Komikku is an online/offline manga reader for GNOME,
11889 developed with the aim of being used with the Librem 5 phone.")
11890 (license license:gpl3+)))
11891
11892 (define-public libgda
11893 (package
11894 (name "libgda")
11895 (version "5.2.10")
11896 (source
11897 (origin
11898 (method git-fetch)
11899 (uri (git-reference
11900 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
11901 (commit (string-append "LIBGDA_" (string-replace-substring
11902 version "." "_")))))
11903 (file-name (git-file-name name version))
11904 (sha256
11905 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
11906 (build-system gnu-build-system)
11907 (arguments
11908 `(#:configure-flags '("--enable-vala")
11909 ;; There's a race between check_cnc_lock and check_threaded_cnc
11910 ;; in tests/multi-threading.
11911 #:parallel-tests? #f
11912 #:phases
11913 (modify-phases %standard-phases
11914 (add-after 'unpack 'fix-glade-install
11915 (lambda _
11916 (substitute* "configure.ac"
11917 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
11918 "${datadir}/glade/catalogs")
11919 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
11920 "${datadir}/glade/pixmaps"))
11921 #t))
11922 (add-before 'check 'pre-check
11923 (lambda* (#:key inputs #:allow-other-keys)
11924 ;; Tests require a running X server.
11925 (system "Xvfb :1 &")
11926 (setenv "DISPLAY" ":1")
11927 #t))
11928 (add-after 'install 'symlink-glade-module
11929 (lambda* (#:key outputs #:allow-other-keys)
11930 (let* ((shlib "libgda-ui-5.0.so")
11931 (out (assoc-ref outputs "out"))
11932 (out/lib (string-append out "/lib"))
11933 (moduledir (string-append out/lib "/glade/modules")))
11934 (mkdir-p moduledir)
11935 (symlink (string-append out/lib "/" shlib)
11936 (string-append moduledir "/" shlib))
11937 #t))))))
11938 (propagated-inputs
11939 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
11940 (inputs
11941 `(("glib" ,glib)
11942 ("glade" ,glade3)
11943 ("gtk+" ,gtk+)
11944 ("libsecret" ,libsecret)
11945 ("libxslt" ,libxslt)
11946 ("openssl" ,openssl)
11947 ("vala" ,vala)))
11948 (native-inputs
11949 `(("autoconf" ,autoconf)
11950 ("autoconf-archive" ,autoconf-archive)
11951 ("automake" ,automake)
11952 ("glib:bin" ,glib "bin")
11953 ("gnome-common" ,gnome-common)
11954 ("gobject-introspection" ,gobject-introspection)
11955 ("gtk-doc" ,gtk-doc)
11956 ("intltool" ,intltool)
11957 ("libtool" ,libtool)
11958 ("pkg-config" ,pkg-config)
11959 ("vala" ,vala)
11960 ("which" ,which)
11961 ("xorg-server" ,xorg-server-for-tests)
11962 ("yelp-tools" ,yelp-tools)))
11963 (home-page "https://gitlab.gnome.org/GNOME/libgda")
11964 (synopsis "Uniform data access")
11965 (description
11966 "GNU Data Access (GDA) is an attempt to provide uniform access to
11967 different kinds of data sources (databases, information servers, mail spools,
11968 etc). It is a complete architecture that provides all you need to access
11969 your data.")
11970 (license license:lgpl2.1+)))
11971
11972 (define-public gtranslator
11973 (package
11974 (name "gtranslator")
11975 (version "3.36.0")
11976 (source (origin
11977 (method url-fetch)
11978 (uri (string-append "mirror://gnome/sources/" name "/"
11979 (version-major+minor version) "/"
11980 name "-" version ".tar.xz"))
11981 (sha256
11982 (base32
11983 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
11984 (build-system meson-build-system)
11985 (inputs
11986 `(("json-glib" ,json-glib)
11987 ("jsonrpc-glib" ,jsonrpc-glib)
11988 ("gettext" ,gettext-minimal)
11989 ("glib" ,glib)
11990 ("gtk+" ,gtk+)
11991 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11992 ("gspell" ,gspell)
11993 ("libdazzle" ,libdazzle)
11994 ("libgda" ,libgda)
11995 ("libsoup" ,libsoup)))
11996 (native-inputs
11997 `(("glib:bin" ,glib "bin")
11998 ("itstool" ,itstool)
11999 ("pkg-config" ,pkg-config)))
12000 (propagated-inputs
12001 `(("gtksourceview" ,gtksourceview))) ; required for source view
12002 (arguments
12003 `(#:build-type "release"
12004 #:glib-or-gtk? #t
12005 #:phases
12006 (modify-phases %standard-phases
12007 (add-after 'unpack 'skip-gtk-update-icon-cache
12008 (lambda _
12009 (substitute* "build-aux/meson/meson_post_install.py"
12010 (("gtk-update-icon-cache") (which "true")))
12011 #t)))))
12012 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12013 (synopsis "Translation making program")
12014 (description
12015 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12016 for the GNOME 3.x platform with many features. It aims to be a very complete
12017 editing environment for translation issues within the GNU gettext/GNOME desktop
12018 world.")
12019 (license license:gpl3+)))