Merge remote-tracking branch 'origin/master' into staging
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;;
60 ;;; This file is part of GNU Guix.
61 ;;;
62 ;;; GNU Guix is free software; you can redistribute it and/or modify it
63 ;;; under the terms of the GNU General Public License as published by
64 ;;; the Free Software Foundation; either version 3 of the License, or (at
65 ;;; your option) any later version.
66 ;;;
67 ;;; GNU Guix is distributed in the hope that it will be useful, but
68 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
69 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
70 ;;; GNU General Public License for more details.
71 ;;;
72 ;;; You should have received a copy of the GNU General Public License
73 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
74
75 (define-module (gnu packages gnome)
76 #:use-module (gnu packages)
77 #:use-module (gnu packages admin)
78 #:use-module (gnu packages aidc)
79 #:use-module (gnu packages aspell)
80 #:use-module (gnu packages autotools)
81 #:use-module (gnu packages avahi)
82 #:use-module (gnu packages backup)
83 #:use-module (gnu packages base)
84 #:use-module (gnu packages bash)
85 #:use-module (gnu packages bison)
86 #:use-module (gnu packages boost)
87 #:use-module (gnu packages build-tools)
88 #:use-module (gnu packages calendar)
89 #:use-module (gnu packages cdrom)
90 #:use-module (gnu packages check)
91 #:use-module (gnu packages cmake)
92 #:use-module (gnu packages compression)
93 #:use-module (gnu packages crates-io)
94 #:use-module (gnu packages crates-graphics)
95 #:use-module (gnu packages crates-gtk)
96 #:use-module (gnu packages cups)
97 #:use-module (gnu packages curl)
98 #:use-module (gnu packages cyrus-sasl)
99 #:use-module (gnu packages databases)
100 #:use-module (gnu packages dbm)
101 #:use-module (gnu packages djvu)
102 #:use-module (gnu packages dns)
103 #:use-module (gnu packages docbook)
104 #:use-module (gnu packages documentation)
105 #:use-module (gnu packages enchant)
106 #:use-module (gnu packages flex)
107 #:use-module (gnu packages fonts)
108 #:use-module (gnu packages file-systems)
109 #:use-module (gnu packages fontutils)
110 #:use-module (gnu packages freedesktop)
111 #:use-module (gnu packages game-development)
112 #:use-module (gnu packages gcc)
113 #:use-module (gnu packages gettext)
114 #:use-module (gnu packages ghostscript)
115 #:use-module (gnu packages gimp)
116 #:use-module (gnu packages gl)
117 #:use-module (gnu packages glib)
118 #:use-module (gnu packages gnupg)
119 #:use-module (gnu packages gnuzilla)
120 #:use-module (gnu packages geo)
121 #:use-module (gnu packages gperf)
122 #:use-module (gnu packages graphviz)
123 #:use-module (gnu packages gstreamer)
124 #:use-module (gnu packages gtk)
125 #:use-module (gnu packages guile)
126 #:use-module (gnu packages ibus)
127 #:use-module (gnu packages icu4c)
128 #:use-module (gnu packages image)
129 #:use-module (gnu packages imagemagick)
130 #:use-module (gnu packages inkscape)
131 #:use-module (gnu packages iso-codes)
132 #:use-module (gnu packages kerberos)
133 #:use-module (gnu packages libcanberra)
134 #:use-module (gnu packages libffi)
135 #:use-module (gnu packages libunistring)
136 #:use-module (gnu packages libunwind)
137 #:use-module (gnu packages libusb)
138 #:use-module (gnu packages linux)
139 #:use-module (gnu packages lirc)
140 #:use-module (gnu packages lua)
141 #:use-module (gnu packages mail)
142 #:use-module (gnu packages mp3)
143 #:use-module (gnu packages multiprecision)
144 #:use-module (gnu packages music)
145 #:use-module (gnu packages ncurses)
146 #:use-module (gnu packages nettle)
147 #:use-module (gnu packages networking)
148 #:use-module (gnu packages ninja)
149 #:use-module (gnu packages node)
150 #:use-module (gnu packages nss)
151 #:use-module (gnu packages openldap)
152 #:use-module (gnu packages package-management)
153 #:use-module (gnu packages password-utils)
154 #:use-module (gnu packages pcre)
155 #:use-module (gnu packages pdf)
156 #:use-module (gnu packages perl)
157 #:use-module (gnu packages photo)
158 #:use-module (gnu packages php)
159 #:use-module (gnu packages pkg-config)
160 #:use-module (gnu packages polkit)
161 #:use-module (gnu packages popt)
162 #:use-module (gnu packages pretty-print)
163 #:use-module (gnu packages protobuf)
164 #:use-module (gnu packages pulseaudio)
165 #:use-module (gnu packages python)
166 #:use-module (gnu packages python-crypto)
167 #:use-module (gnu packages python-web)
168 #:use-module (gnu packages python-xyz)
169 #:use-module (gnu packages rdesktop)
170 #:use-module (gnu packages rdf)
171 #:use-module (gnu packages readline)
172 #:use-module (gnu packages ruby)
173 #:use-module (gnu packages rust)
174 #:use-module (gnu packages samba)
175 #:use-module (gnu packages scanner)
176 #:use-module (gnu packages sdl)
177 #:use-module (gnu packages search)
178 #:use-module (gnu packages selinux)
179 #:use-module (gnu packages slang)
180 #:use-module (gnu packages speech)
181 #:use-module (gnu packages spice)
182 #:use-module (gnu packages sqlite)
183 #:use-module (gnu packages ssh)
184 #:use-module (gnu packages swig)
185 #:use-module (gnu packages tex)
186 #:use-module (gnu packages time)
187 #:use-module (gnu packages tls)
188 #:use-module (gnu packages valgrind)
189 #:use-module (gnu packages version-control)
190 #:use-module (gnu packages video)
191 #:use-module (gnu packages virtualization)
192 #:use-module (gnu packages vpn)
193 #:use-module (gnu packages web)
194 #:use-module (gnu packages webkit)
195 #:use-module (gnu packages xdisorg)
196 #:use-module (gnu packages xiph)
197 #:use-module (gnu packages xml)
198 #:use-module (gnu packages xorg)
199 #:use-module (gnu artwork)
200 #:use-module ((guix build utils) #:select (modify-phases))
201 #:use-module (guix build-system cargo)
202 #:use-module (guix build-system cmake)
203 #:use-module (guix build-system glib-or-gtk)
204 #:use-module (guix build-system gnu)
205 #:use-module (guix build-system meson)
206 #:use-module (guix build-system python)
207 #:use-module (guix build-system trivial)
208 #:use-module (guix download)
209 #:use-module (guix git-download)
210 #:use-module ((guix licenses) #:prefix license:)
211 #:use-module (guix packages)
212 #:use-module (guix utils)
213 #:use-module (guix gexp)
214 #:use-module (guix monads)
215 #:use-module (guix store)
216 #:use-module (ice-9 match)
217 #:use-module (srfi srfi-1))
218
219 (define-public gupnp-igd
220 (package
221 (name "gupnp-igd")
222 (version "1.2.0")
223 (source
224 (origin
225 (method url-fetch)
226 (uri
227 (string-append "mirror://gnome/sources/" name "/"
228 (version-major+minor version) "/"
229 name "-" version ".tar.xz"))
230 (sha256
231 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
232 (build-system meson-build-system)
233 (outputs '("out" "doc"))
234 (arguments
235 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
236 #:configure-flags (list "-Dgtk_doc=true")
237 #:phases
238 (modify-phases %standard-phases
239 (add-after 'unpack 'patch-docbook-xml
240 (lambda* (#:key inputs #:allow-other-keys)
241 (with-directory-excursion "doc"
242 (substitute* "gupnp-igd-docs.xml"
243 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
244 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
245 "/xml/dtd/docbook/"))))
246 #t))
247 (add-after 'install 'move-doc
248 (lambda* (#:key outputs #:allow-other-keys)
249 (let* ((out (assoc-ref outputs "out"))
250 (doc (assoc-ref outputs "doc")))
251 (mkdir-p (string-append doc "/share"))
252 (rename-file
253 (string-append out "/share/gtk-doc")
254 (string-append doc "/share/gtk-doc"))
255 #t))))))
256 (native-inputs
257 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
258 ("docbook-xsl" ,docbook-xsl)
259 ("glib:bin" ,glib "bin")
260 ("gobject-introspection" ,gobject-introspection)
261 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
262 ("gtk-doc" ,gtk-doc)
263 ("pkg-config" ,pkg-config)))
264 (propagated-inputs
265 `(("glib" ,glib)
266 ("glib-networking" ,glib-networking)
267 ("gssdp" ,gssdp)
268 ("gupnp" ,gupnp)
269 ("libsoup" ,libsoup)))
270 (synopsis "UPnP IGD for GNOME")
271 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
272 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
273 (license license:lgpl2.1+)))
274
275 (define-public brasero
276 (package
277 (name "brasero")
278 (version "3.12.2")
279 (source (origin
280 (method url-fetch)
281 (uri (string-append "mirror://gnome/sources/brasero/"
282 (version-major+minor version) "/"
283 "brasero-" version ".tar.xz"))
284 (sha256
285 (base32
286 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
287 (build-system glib-or-gtk-build-system)
288 (arguments
289 `(#:configure-flags (list
290 (string-append "--with-girdir="
291 (assoc-ref %outputs "out")
292 "/share/gir-1.0")
293 (string-append "--with-typelibdir="
294 (assoc-ref %outputs "out")
295 "/lib/girepository-1.0"))
296 #:phases
297 (modify-phases %standard-phases
298 (add-before 'configure 'embed-growisofs
299 (lambda* (#:key inputs #:allow-other-keys)
300 (substitute* "plugins/growisofs/burn-growisofs.c"
301 (("\"growisofs") (string-append "\"" (which "growisofs"))))
302 #t)))))
303 (propagated-inputs
304 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
305 (native-inputs
306 `(("intltool" ,intltool)
307 ("itstool" ,itstool)
308 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
309 ("gobject-introspection" ,gobject-introspection)
310 ("pkg-config" ,pkg-config)))
311 (inputs
312 `(("dvd+rw-tools" ,dvd+rw-tools)
313 ("glib" ,glib)
314 ("gnome-doc-utils" ,gnome-doc-utils)
315 ("gstreamer" ,gstreamer)
316 ("gst-plugins-base" ,gst-plugins-base)
317 ("gtk+" ,gtk+)
318 ("libcanberra" ,libcanberra)
319 ("libice" ,libice)
320 ("libnotify" ,libnotify)
321 ("libsm" ,libsm)
322 ("libxml2" ,libxml2)
323 ("totem-pl-parser" ,totem-pl-parser)))
324 (home-page "https://wiki.gnome.org/Apps/Brasero")
325 (synopsis "CD/DVD burning tool for Gnome")
326 (description "Brasero is an application to burn CD/DVD for the Gnome
327 Desktop. It is designed to be as simple as possible and has some unique
328 features to enable users to create their discs easily and quickly.")
329 (license license:gpl2+)))
330
331 (define-public libcloudproviders
332 (package
333 (name "libcloudproviders")
334 (version "0.3.1")
335 (source
336 (origin
337 (method url-fetch)
338 (uri
339 (string-append "mirror://gnome/sources/" name "/"
340 (version-major+minor version) "/"
341 name "-" version ".tar.xz"))
342 (sha256
343 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
344 (build-system meson-build-system)
345 (outputs '("out" "doc"))
346 (arguments
347 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
348 #:configure-flags
349 (list
350 "-Denable-gtk-doc=true")
351 #:phases
352 (modify-phases %standard-phases
353 (add-after 'install 'move-doc
354 (lambda* (#:key outputs #:allow-other-keys)
355 (let* ((out (assoc-ref outputs "out"))
356 (doc (assoc-ref outputs "doc")))
357 (mkdir-p (string-append doc "/share"))
358 (rename-file
359 (string-append out "/share/gtk-doc")
360 (string-append doc "/share/gtk-doc"))
361 #t))))))
362 (native-inputs
363 `(("glib:bin" ,glib "bin")
364 ("gobject-introspection" ,gobject-introspection)
365 ("gtk-doc" ,gtk-doc)
366 ("pkg-config" ,pkg-config)
367 ("vala" ,vala)))
368 (inputs
369 `(("glib" ,glib)
370 ("glib-networking" ,glib-networking)))
371 (synopsis "Cloudproviders Integration API")
372 (description "Libcloudproviders is a DBus API that allows cloud storage sync
373 clients to expose their services. Clients such as file managers and desktop
374 environments can then provide integrated access to the cloud providers
375 services.")
376 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
377 (license license:lgpl3+)))
378
379 (define-public libgrss
380 (package
381 (name "libgrss")
382 (version "0.7.0")
383 (source
384 (origin
385 (method url-fetch)
386 (uri
387 (string-append "mirror://gnome/sources/" name "/"
388 (version-major+minor version) "/"
389 name "-" version ".tar.xz"))
390 (sha256
391 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
392 (build-system glib-or-gtk-build-system)
393 (outputs '("out" "doc"))
394 (arguments
395 `(#:configure-flags
396 (list
397 "--enable-gtk-doc"
398 (string-append "--with-html-dir="
399 (assoc-ref %outputs "doc")
400 "/share/gtk-doc/html"))
401 #:phases
402 (modify-phases %standard-phases
403 (add-after 'unpack 'patch-docbook-xml
404 (lambda* (#:key inputs #:allow-other-keys)
405 (with-directory-excursion "doc/reference"
406 (substitute* "libgrss-docs.sgml"
407 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
408 (string-append (assoc-ref inputs "docbook-xml")
409 "/xml/dtd/docbook/"))))
410 #t)))))
411 (native-inputs
412 `(("docbook-xml" ,docbook-xml-4.1.2)
413 ("gobject-introspection" ,gobject-introspection)
414 ("gtk-doc" ,gtk-doc)
415 ("pkg-config" ,pkg-config)))
416 (propagated-inputs
417 `(("glib" ,glib)
418 ("libsoup" ,libsoup)
419 ("libxml2" ,libxml2)))
420 (synopsis "Glib library for feeds")
421 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
422 and other formats.")
423 (home-page "https://wiki.gnome.org/Projects/Libgrss")
424 (license license:lgpl3+)))
425
426 (define-public gnome-js-common
427 (package
428 (name "gnome-js-common")
429 (version "0.1.2")
430 (source
431 (origin
432 (method url-fetch)
433 (uri
434 (string-append "mirror://gnome/sources/" name "/"
435 (version-major+minor version) "/"
436 name "-" version ".tar.gz"))
437 (sha256
438 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
439 (build-system glib-or-gtk-build-system)
440 (arguments
441 `(#:configure-flags
442 (list
443 "--disable-static")))
444 (native-inputs
445 `(("gettext" ,gettext-minimal)
446 ("intltool" ,intltool)
447 ("pkg-config" ,pkg-config)))
448 (synopsis "Common JS Modules")
449 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
450 bindings.")
451 (home-page "https://wiki.gnome.org/Projects/Seed")
452 (license license:gpl3+)))
453
454 (define-public seed
455 (package
456 (name "seed")
457 (version "3.8.1")
458 (source
459 (origin
460 (method url-fetch)
461 (uri
462 (string-append "mirror://gnome/sources/" name "/"
463 (version-major+minor version) "/"
464 name "-" version ".tar.xz"))
465 (sha256
466 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
467 (patches
468 (search-patches "seed-webkit.patch"))))
469 (build-system glib-or-gtk-build-system)
470 (outputs '("out" "doc"))
471 (arguments
472 `(#:configure-flags
473 (list
474 "--disable-static"
475 "--enable-xorg-module"
476 (string-append "--with-html-dir="
477 (assoc-ref %outputs "doc")
478 "/share/gtk-doc/html")
479 "--with-webkit=4.0")
480 #:phases
481 (modify-phases %standard-phases
482 ;; The seed-webkit.patch patches configure.ac.
483 ;; So the source files need to be re-bootstrapped.
484 (add-after 'unpack 'trigger-bootstrap
485 (lambda _
486 (for-each delete-file
487 (list
488 "configure"
489 "Makefile.in"))
490 #t))
491 (add-after 'unpack 'patch-tests
492 (lambda* (#:key outputs #:allow-other-keys)
493 (substitute* (find-files "." "\\.js$")
494 (("#!/usr/bin/env seed")
495 (string-append "#!" (getcwd) "/src/seed")))
496 #t))
497 (add-before 'build 'patch-docbook-xml
498 (lambda* (#:key inputs #:allow-other-keys)
499 (with-directory-excursion "doc"
500 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
501 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
502 (string-append (assoc-ref inputs "docbook-xml")
503 "/xml/dtd/docbook/"))))
504 #t)))))
505 (native-inputs
506 `(("autoconf" ,autoconf)
507 ("automake" ,automake)
508 ("docbook-xml" ,docbook-xml-4.1.2)
509 ("gettext" ,gettext-minimal)
510 ("gobject-introspection" ,gobject-introspection)
511 ("gtk-doc" ,gtk-doc)
512 ("intltool" ,intltool)
513 ("libtool" ,libtool)
514 ("pkg-config" ,pkg-config)))
515 (inputs
516 `(("cairo" ,cairo)
517 ("dbus" ,dbus)
518 ("dbus-glib" ,dbus-glib)
519 ("gnome-js-common" ,gnome-js-common)
520 ("gtk+" ,gtk+)
521 ("gtk+-2" ,gtk+-2)
522 ("libffi" ,libffi)
523 ("libxml2" ,libxml2)
524 ("mpfr" ,mpfr)
525 ("readline" ,readline)
526 ("sqlite" ,sqlite)
527 ("xscrnsaver" ,libxscrnsaver)))
528 (propagated-inputs
529 `(("glib" ,glib)
530 ("webkit" ,webkitgtk)))
531 (synopsis "GObject JavaScriptCore bridge")
532 (description "Seed is a library and interpreter, dynamically bridging
533 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
534 GNOME platform. It serves as something which enables you to write standalone
535 applications in JavaScript, or easily enable your application to be extensible
536 in JavaScript.")
537 (home-page "https://wiki.gnome.org/Projects/Seed")
538 (license license:lgpl2.0+)))
539
540 (define-public libdmapsharing
541 (package
542 (name "libdmapsharing")
543 (version "3.9.10")
544 (source
545 (origin
546 (method url-fetch)
547 (uri
548 (string-append "https://www.flyn.org/projects/"
549 name "/" name "-" version ".tar.gz"))
550 (sha256
551 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
552 (build-system glib-or-gtk-build-system)
553 (outputs '("out" "doc"))
554 (arguments
555 `(#:tests? #f ; Tests require networking.
556 #:configure-flags
557 (list
558 "--disable-static"
559 (string-append "--with-html-dir="
560 (assoc-ref %outputs "doc")
561 "/share/gtk-doc/html"))
562 #:phases
563 (modify-phases %standard-phases
564 (add-after 'unpack 'patch-docbook-xml
565 (lambda* (#:key inputs #:allow-other-keys)
566 (with-directory-excursion "doc"
567 (substitute* "libdmapsharing-4.0-docs.xml"
568 (("http://www.oasis-open.org/docbook/xml/4.3/")
569 (string-append (assoc-ref inputs "docbook-xml")
570 "/xml/dtd/docbook/"))))
571 #t)))))
572 (native-inputs
573 `(("check" ,check)
574 ("docbook-xml" ,docbook-xml-4.3)
575 ("gobject-introspection" ,gobject-introspection)
576 ("pedansee" ,pedansee)
577 ("pkg-config" ,pkg-config)
578 ("vala" ,vala)))
579 (inputs
580 `(("avahi" ,avahi)
581 ("gdk-pixbuf" ,gdk-pixbuf+svg)
582 ("gee" ,libgee)
583 ("gst-plugins-base" ,gst-plugins-base)
584 ("gtk+" ,gtk+)))
585 (propagated-inputs
586 `(("glib" ,glib)
587 ("glib-networking" ,glib-networking)
588 ("gstreamer" ,gstreamer)
589 ("libsoup" ,libsoup)))
590 (synopsis "Media management library")
591 (description "Libdmapsharing is a library which allows programs to access,
592 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
593 It is written in C using GObject and libsoup.")
594 (home-page "https://launchpad.net/gtx")
595 (license license:lgpl2.1+)))
596
597 (define-public gtx
598 (package
599 (name "gtx")
600 (version "0.2.2")
601 (source
602 (origin
603 (method url-fetch)
604 (uri
605 (string-append "https://launchpad.net/gtx/trunk/"
606 version "/+download/gtx-" version ".tar.gz"))
607 (sha256
608 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
609 (build-system glib-or-gtk-build-system)
610 (outputs '("out" "doc"))
611 (arguments
612 `(#:configure-flags
613 (list
614 "--disable-static"
615 "--enable-gtk-doc"
616 (string-append "--with-html-dir="
617 (assoc-ref %outputs "doc")
618 "/share/gtk-doc/html"))))
619 (native-inputs
620 `(("gobject-introspection" ,gobject-introspection)
621 ("gtk-doc" ,gtk-doc)
622 ("pkg-config" ,pkg-config)))
623 (propagated-inputs
624 `(("glib" ,glib)))
625 (synopsis "GLib Testing Framework")
626 (description "GTX is a small collection of convenience functions intended to
627 enhance the GLib testing framework. With specific emphasis on easing the pain
628 of writing test cases for asynchronous interactions.")
629 (home-page "https://launchpad.net/gtx")
630 (license license:lgpl2.1+)))
631
632 (define-public dee
633 (package
634 (name "dee")
635 (version "1.2.7")
636 (source
637 (origin
638 (method url-fetch)
639 (uri
640 (string-append "https://launchpad.net/dee/1.0/"
641 version "/+download/dee-" version ".tar.gz"))
642 (sha256
643 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
644 (patches
645 (search-patches "dee-vapi.patch"))))
646 (build-system glib-or-gtk-build-system)
647 (outputs '("out" "doc"))
648 (arguments
649 `(#:configure-flags
650 (list
651 "--disable-maintainer-flags"
652 (string-append "--with-pygi-overrides-dir="
653 (assoc-ref %outputs "out")
654 "/lib/python"
655 ,(version-major+minor
656 (package-version python))
657 "/site-packages/gi/overrides")
658 (string-append "--with-html-dir="
659 (assoc-ref %outputs "doc")
660 "/share/gtk-doc/html"))
661 #:phases
662 (modify-phases %standard-phases
663 (add-after 'unpack 'patch-docbook-xml
664 (lambda* (#:key inputs #:allow-other-keys)
665 (with-directory-excursion "doc/reference/dee-1.0"
666 (substitute* "dee-1.0-docs.sgml"
667 (("http://www.oasis-open.org/docbook/xml/4.3/")
668 (string-append (assoc-ref inputs "docbook-xml")
669 "/xml/dtd/docbook/"))))
670 #t))
671 (add-after 'patch-docbook-xml 'disable-failing-tests
672 (lambda _
673 (substitute* "tests/test-icu.c"
674 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
675 "")
676 (("setup, test_ascii_folder, teardown\\);")
677 ""))
678 #t))
679 (add-before 'check 'pre-check
680 (lambda _
681 ;; Tests require a running dbus-daemon.
682 (system "dbus-daemon &")
683 ;; For missing '/etc/machine-id'.
684 (setenv "DBUS_FATAL_WARNINGS" "0")
685 #t)))))
686 (native-inputs
687 `(("dbus" ,dbus)
688 ("dbus-test-runner" ,dbus-test-runner)
689 ("docbook-xml" ,docbook-xml-4.3)
690 ("gobject-introspection" ,gobject-introspection)
691 ("gtk-doc" ,gtk-doc)
692 ;; Would only be required by configure flag "--enable-extended-tests".
693 ;("gtx" ,gtx)
694 ("pkg-config" ,pkg-config)
695 ("pygobject" ,python-pygobject)
696 ("python" ,python-wrapper)
697 ("vala" ,vala)))
698 (inputs
699 `(("icu" ,icu4c)))
700 (propagated-inputs
701 `(("glib" ,glib)))
702 (synopsis "Model to synchronize multiple instances over DBus")
703 (description "Dee is a library that uses DBus to provide objects allowing
704 you to create Model-View-Controller type programs across DBus. It also consists
705 of utility objects which extend DBus allowing for peer-to-peer discoverability
706 of known objects without needing a central registrar.")
707 (home-page "https://launchpad.net/dee")
708 (license
709 ;; Dual-licensed
710 (list
711 license:lgpl3+
712 license:gpl3+))))
713
714 (define-public zeitgeist
715 (package
716 (name "zeitgeist")
717 (version "1.0.3")
718 (source
719 (origin
720 (method git-fetch)
721 (uri
722 (git-reference
723 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
724 (commit
725 (string-append "v" version))))
726 (file-name
727 (git-file-name name version))
728 (sha256
729 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
730 (build-system glib-or-gtk-build-system)
731 (arguments
732 `(#:configure-flags
733 (list
734 "--enable-explain-queries"
735 "--enable-fts"
736 "--enable-docs")
737 #:phases
738 (modify-phases %standard-phases
739 (add-after 'unpack 'patch-docbook-xml
740 (lambda* (#:key inputs #:allow-other-keys)
741 (with-directory-excursion "doc/libzeitgeist"
742 (substitute* "zeitgeist-gtkdoc-index.sgml"
743 (("http://www.oasis-open.org/docbook/xml/4.3/")
744 (string-append (assoc-ref inputs "docbook-xml")
745 "/xml/dtd/docbook/"))))
746 #t))
747 (add-after 'patch-docbook-xml 'disable-failing-tests
748 (lambda _
749 (substitute* "test/direct/Makefile.am"
750 ((" log-test ")
751 ""))
752 (substitute* "test/c/Makefile.am"
753 ((" test-log ")
754 ""))
755 #t))
756 (add-before 'bootstrap 'remove-autogen-script
757 (lambda _
758 ;; To honor `autoreconf -vif` by build-system.
759 (delete-file "autogen.sh")
760 #t)))))
761 (native-inputs
762 `(("autoconf" ,autoconf)
763 ("automake" ,automake)
764 ("docbook-xml" ,docbook-xml-4.3)
765 ("gettext" ,gettext-minimal)
766 ("gobject-introspection" ,gobject-introspection)
767 ("gtk-doc" ,gtk-doc)
768 ("libtool" ,libtool)
769 ("pkg-config" ,pkg-config)
770 ("vala" ,vala)
771 ("xorg-server-for-tests" ,xorg-server-for-tests)))
772 (inputs
773 `(("dee-icu" ,dee)
774 ("gtk+" ,gtk+)
775 ("json-glib" ,json-glib)
776 ("sqlite" ,sqlite)
777 ("telepathy-glib" ,telepathy-glib)
778 ("python" ,python-wrapper)
779 ("python-rdflib" ,python-rdflib)
780 ("xapian-config" ,xapian)))
781 (propagated-inputs
782 `(("glib" ,glib)))
783 (synopsis "Desktop Activity Logging")
784 (description "Zeitgeist is a service which logs the users’s activities and
785 events, anywhere from files opened to websites visited and conversations. It
786 makes this information readily available for other applications to use. It is
787 able to establish relationships between items based on similarity and usage
788 patterns.")
789 (home-page "https://zeitgeist.freedesktop.org/")
790 (license
791 ;; Dual-licensed
792 (list
793 license:lgpl2.1+
794 license:gpl2+))))
795
796 (define-public gnome-photos
797 (package
798 (name "gnome-photos")
799 (version "3.34.2")
800 (source
801 (origin
802 (method url-fetch)
803 (uri
804 (string-append "mirror://gnome/sources/" name "/"
805 (version-major+minor version) "/"
806 name "-" version ".tar.xz"))
807 (sha256
808 (base32
809 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
810 (build-system meson-build-system)
811 (arguments
812 `(#:glib-or-gtk? #t
813 #:configure-flags
814 (list "-Ddogtail=false" ; Not available
815 ;; Required for RUNPATH validation.
816 (string-append "-Dc_link_args=-Wl,-rpath="
817 (assoc-ref %outputs "out") "/lib/gnome-photos"))
818 #:phases
819 (modify-phases %standard-phases
820 (add-after 'install 'wrap-gnome-photos
821 (lambda* (#:key inputs outputs #:allow-other-keys)
822 (let*
823 ((out (assoc-ref outputs "out")))
824 (wrap-program (string-append out "/bin/gnome-photos")
825 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
826 #t)))))
827 (native-inputs
828 `(("dbus" ,dbus)
829 ("desktop-file-utils" ,desktop-file-utils)
830 ("gettext" ,gettext-minimal)
831 ("git" ,git-minimal)
832 ("glib:bin" ,glib "bin")
833 ("gobject-introspection" ,gobject-introspection)
834 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
835 ("gtk+:bin" ,gtk+ "bin")
836 ("itstool" ,itstool)
837 ("pkg-config" ,pkg-config)))
838 (inputs
839 `(("babl" ,babl)
840 ("cairo" ,cairo)
841 ("gdk-pixbuf" ,gdk-pixbuf+svg)
842 ("gegl" ,gegl)
843 ("geocode-glib" ,geocode-glib)
844 ("gexiv2" ,gexiv2)
845 ("gnome-online-accounts" ,gnome-online-accounts)
846 ("gnome-online-miners" ,gnome-online-miners)
847 ("grilo" ,grilo)
848 ("grilo-plugins" ,grilo-plugins)
849 ("gtk+" ,gtk+)
850 ("libdazzle" ,libdazzle)
851 ("libgdata" ,libgdata)
852 ("libgfbgraph" ,gfbgraph)
853 ("libjpeg" ,libjpeg-turbo)
854 ("libpng" ,libpng)
855 ("librest" ,rest)
856 ("pygobject" ,python-pygobject)
857 ("tracker" ,tracker)
858 ("tracker-miners" ,tracker-miners)))
859 (synopsis "Access, organize and share your photos on GNOME desktop")
860 (description "GNOME Photos is a simple and elegant replacement for using a
861 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
862 cloud integration is offered through GNOME Online Accounts.")
863 (home-page "https://wiki.gnome.org/Apps/Photos")
864 (license license:gpl3+)))
865
866 (define-public gnome-music
867 (package
868 (name "gnome-music")
869 (version "3.34.5")
870 (source
871 (origin
872 (method url-fetch)
873 (uri
874 (string-append "mirror://gnome/sources/" name "/"
875 (version-major+minor version) "/"
876 name "-" version ".tar.xz"))
877 (sha256
878 (base32
879 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
880 (build-system meson-build-system)
881 (arguments
882 `(#:glib-or-gtk? #t
883 #:phases
884 (modify-phases %standard-phases
885 (add-after 'install 'wrap-gnome-music
886 (lambda* (#:key inputs outputs #:allow-other-keys)
887 (let*
888 ((out (assoc-ref outputs "out"))
889 (pylib (string-append out "/lib/python"
890 ,(version-major+minor
891 (package-version python))
892 "/site-packages")))
893 (wrap-program (string-append out "/bin/gnome-music")
894 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
895 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
896 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
897 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
898 #t)))))
899 (native-inputs
900 `(("desktop-file-utils" ,desktop-file-utils)
901 ("gettext" ,gettext-minimal)
902 ("glib:bin" ,glib "bin")
903 ("gobject-introspection" ,gobject-introspection)
904 ("gtk+:bin" ,gtk+ "bin")
905 ("itstools" ,itstool)
906 ("pkg-config" ,pkg-config)))
907 (inputs
908 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
909 ("grilo" ,grilo)
910 ("grilo-plugins" ,grilo-plugins)
911 ("gst-plugins-base" ,gst-plugins-base)
912 ("gstreamer" ,gstreamer)
913 ("gvfs" ,gvfs)
914 ("libdazzle" ,libdazzle)
915 ("libmediaart" ,libmediaart)
916 ("libsoup" ,libsoup)
917 ("pycairo" ,python-pycairo)
918 ("pygobject" ,python-pygobject)
919 ("tracker" ,tracker)
920 ("tracker-miners" ,tracker-miners)))
921 (synopsis "Simple music player for GNOME desktop")
922 (description "GNOME Music is the new GNOME music playing application that
923 aims to combine an elegant and immersive browsing experience with simple
924 and straightforward controls.")
925 (home-page "https://wiki.gnome.org/Apps/Music")
926 (license license:gpl2+)))
927
928 (define-public portablexdr
929 (package
930 (name "portablexdr")
931 (version "4.9.1")
932 (source
933 (origin
934 (method url-fetch)
935 (uri
936 (string-append "https://people.redhat.com/~rjones/" name "/files/"
937 name "-" version ".tar.gz"))
938 (sha256
939 (base32
940 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
941 (build-system gnu-build-system)
942 (synopsis "External Data Representation Library")
943 (description "PortableXDR is an implementation of External Data
944 Representation (XDR) Library. It is a standard data serialization format, for
945 uses such as computer network protocols. It allows data to be transferred
946 between different kinds of computer systems.")
947 (home-page "https://people.redhat.com/~rjones/portablexdr/")
948 (license
949 (list
950 license:gpl2+
951 license:lgpl2.1+))))
952
953 (define-public tepl
954 (package
955 (name "tepl")
956 (version "4.4.0")
957 (source
958 (origin
959 (method url-fetch)
960 (uri
961 (string-append "mirror://gnome/sources/" name "/"
962 (version-major+minor version) "/"
963 name "-" version ".tar.xz"))
964 (sha256
965 (base32
966 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
967 (build-system glib-or-gtk-build-system)
968 (arguments
969 `(#:tests? #f)) ; FIX-ME: Requires gvfs
970 (native-inputs
971 `(("gobject-introspection" ,gobject-introspection)
972 ("pkg-config" ,pkg-config)))
973 (inputs
974 `(("amtk" ,amtk)
975 ("glib" ,glib)
976 ("gtk+" ,gtk+)
977 ("gtksourceview" ,gtksourceview)
978 ("libxml2" ,libxml2)
979 ("uchardet" ,uchardet)))
980 (synopsis "Text editor product line")
981 (description "Tepl is a library that eases the development of
982 GtkSourceView-based text editors and IDEs.")
983 (home-page "https://wiki.gnome.org/Projects/Tepl")
984 (license license:lgpl2.1+)))
985
986 (define-public krb5-auth-dialog
987 (package
988 (name "krb5-auth-dialog")
989 (version "3.26.1")
990 (source
991 (origin
992 (method url-fetch)
993 (uri
994 (string-append "mirror://gnome/sources/" name "/"
995 (version-major+minor version) "/"
996 name "-" version ".tar.xz"))
997 (sha256
998 (base32
999 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1000 (build-system glib-or-gtk-build-system)
1001 (native-inputs
1002 `(("intltool" ,intltool)
1003 ("itstool" ,itstool)
1004 ("libxml2" ,libxml2)
1005 ("pkg-config" ,pkg-config)
1006 ("python-wrapper" ,python-wrapper)))
1007 (inputs
1008 `(("glib" ,glib)
1009 ("gtk+" ,gtk+)
1010 ("libnotify" ,libnotify)
1011 ("mit-krb5" ,mit-krb5)
1012 ("network-manager" ,network-manager)))
1013 (synopsis "Popup dialogs for Kerberos 5")
1014 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1015 tickets, and pops up a dialog when they are about to expire.")
1016 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1017 (license license:gpl2+)))
1018
1019 (define-public notification-daemon
1020 (package
1021 (name "notification-daemon")
1022 (version "3.20.0")
1023 (source
1024 (origin
1025 (method url-fetch)
1026 (uri
1027 (string-append "mirror://gnome/sources/" name "/"
1028 (version-major+minor version) "/"
1029 name "-" version ".tar.xz"))
1030 (sha256
1031 (base32
1032 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1033 (build-system glib-or-gtk-build-system)
1034 (native-inputs
1035 `(("intltool" ,intltool)
1036 ("pkg-config" ,pkg-config)))
1037 (inputs
1038 `(("glib" ,glib)
1039 ("gtk+" ,gtk+)
1040 ("x11" ,libx11)))
1041 (synopsis "Notification Daemon for GNOME Desktop")
1042 (description "Notification-Daemon is the server implementation of the
1043 freedesktop.org desktop notification specification.")
1044 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1045 (license license:gpl2+)))
1046
1047 (define-public mm-common
1048 (package
1049 (name "mm-common")
1050 (version "1.0.2")
1051 (source (origin
1052 (method url-fetch)
1053 (uri (string-append "mirror://gnome/sources/mm-common/"
1054 (version-major+minor version) "/"
1055 "mm-common-" version ".tar.xz"))
1056 (sha256
1057 (base32
1058 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1059 (build-system meson-build-system)
1060 (arguments
1061 `(#:phases
1062 (modify-phases %standard-phases
1063 (add-after 'unpack 'patch
1064 (lambda* (#:key inputs #:allow-other-keys)
1065 (substitute* "util/mm-common-prepare.in"
1066 (("ln") (string-append (assoc-ref inputs "coreutils")
1067 "/bin/ln"))
1068 (("cp") (string-append (assoc-ref inputs "coreutils")
1069 "/bin/cp"))
1070 (("sed") (string-append (assoc-ref inputs "sed")
1071 "/bin/sed"))
1072 (("cat") (string-append (assoc-ref inputs "coreutils")
1073 "/bin/cat")))
1074 #t)))))
1075 (native-inputs
1076 `(("coreutils" ,coreutils)
1077 ("gettext" ,gettext-minimal)
1078 ("pkg-config" ,pkg-config)
1079 ("sed" ,sed)))
1080 (inputs
1081 `(("python" ,python)))
1082 (synopsis "Module of GNOME C++ bindings")
1083 (description "The mm-common module provides the build infrastructure
1084 and utilities shared among the GNOME C++ binding libraries. Release
1085 archives of mm-common include the Doxygen tag file for the GNU C++
1086 Library reference documentation.")
1087 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1088 (license license:gpl2+)))
1089
1090 (define-public phodav
1091 (package
1092 (name "phodav")
1093 (version "2.5")
1094 (source (origin
1095 (method url-fetch)
1096 (uri (string-append "mirror://gnome/sources/" name "/"
1097 (version-major+minor version) "/"
1098 name "-" version ".tar.xz"))
1099 (sha256
1100 (base32
1101 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1102 (build-system meson-build-system)
1103 (arguments
1104 `(#:phases
1105 (modify-phases %standard-phases
1106 (add-before 'check 'start-virtual-dir-server
1107 ;; The same server when started by tests/virtual-dir returns an
1108 ;; unexpected status (4 instead of 200) and fails a test. It is
1109 ;; unclear why starting it manually here makes it pass.
1110 (lambda _
1111 (system "tests/virtual-dir-server &")
1112 #t)))))
1113 (native-inputs
1114 `(("docbook-xml" ,docbook-xml-4.3)
1115 ("gettext" ,gettext-minimal)
1116 ("glib:bin" ,glib "bin")
1117 ("gtk-doc" ,gtk-doc)
1118 ("pkg-config" ,pkg-config)))
1119 (inputs
1120 `(("avahi" ,avahi)
1121 ("libgudev" ,libgudev)
1122 ("libsoup" ,libsoup)))
1123 (synopsis "WebDav server implementation using libsoup")
1124 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1125 but it is generic enough to be reused in other projects,
1126 in particular in the GNOME desktop.")
1127 (home-page "https://wiki.gnome.org/phodav")
1128 (license license:lgpl2.1+)))
1129
1130 (define-public gnome-color-manager
1131 (package
1132 (name "gnome-color-manager")
1133 (version "3.32.0")
1134 (source (origin
1135 (method url-fetch)
1136 (uri (string-append "mirror://gnome/sources/" name "/"
1137 (version-major+minor version) "/"
1138 name "-" version ".tar.xz"))
1139 (sha256
1140 (base32
1141 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1142 (build-system meson-build-system)
1143 (arguments
1144 `(#:glib-or-gtk? #t
1145 #:phases
1146 (modify-phases %standard-phases
1147 (add-before
1148 'check 'pre-check
1149 (lambda _
1150 ;; Tests require a running X server.
1151 (system "Xvfb :1 &")
1152 (setenv "DISPLAY" ":1")
1153 #t)))))
1154 (native-inputs
1155 `(("desktop-file-utils" ,desktop-file-utils)
1156 ("gettext" ,gettext-minimal)
1157 ("glib:bin" ,glib "bin")
1158 ("gtk+:bin" ,gtk+ "bin")
1159 ("itstool" ,itstool)
1160 ("pkg-config" ,pkg-config)
1161 ("xorg-server" ,xorg-server-for-tests)))
1162 (inputs
1163 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1164 ("appstream-glib" ,appstream-glib)
1165 ("colord-gtk" ,colord-gtk)
1166 ("exiv2" ,exiv2)
1167 ("gnome-desktop" ,gnome-desktop)
1168 ("libcanberra" ,libcanberra)
1169 ("libexif" ,libexif)
1170 ("libtiff" ,libtiff)
1171 ("libxrandr" ,libxrandr)
1172 ("libxtst" ,libxtst)
1173 ("libxxf86vm" ,libxxf86vm)
1174 ("vte" ,vte)
1175 ("xorgproto" ,xorgproto)))
1176 (synopsis "Color profile manager for the GNOME desktop")
1177 (description "GNOME Color Manager is a session framework that makes
1178 it easy to manage, install and generate color profiles
1179 in the GNOME desktop.")
1180 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1181 (license license:gpl2+)))
1182
1183 (define-public gnome-online-miners
1184 (package
1185 (name "gnome-online-miners")
1186 (version "3.34.0")
1187 (source (origin
1188 (method url-fetch)
1189 (uri (string-append "mirror://gnome/sources/" name "/"
1190 (version-major+minor version) "/"
1191 name "-" version ".tar.xz"))
1192 (sha256
1193 (base32
1194 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1195 (build-system glib-or-gtk-build-system)
1196 (native-inputs
1197 `(("gettext" ,gettext-minimal)
1198 ("glib:bin" ,glib "bin")
1199 ("gobject-introspection" ,gobject-introspection)
1200 ("gtk+:bin" ,gtk+ "bin")
1201 ("pkg-config" ,pkg-config)))
1202 (inputs
1203 `(("gnome-online-accounts" ,gnome-online-accounts)
1204 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1205 ("grilo" ,grilo)
1206 ("libgdata" ,libgdata)
1207 ("libgfbgraph" ,gfbgraph)
1208 ("libzapojit" ,libzapojit)
1209 ("rest" ,rest)
1210 ("tracker" ,tracker)))
1211 (synopsis "Web Crawlers for GNOME")
1212 (description "GNOME Online Miners provides a set of crawlers that
1213 go through your online content and index them locally in Tracker.
1214 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1215 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1216 (license license:gpl2+)))
1217
1218 (define-public gssdp
1219 (package
1220 (name "gssdp")
1221 (version "1.2.3")
1222 (source (origin
1223 (method url-fetch)
1224 (uri (string-append "mirror://gnome/sources/" name "/"
1225 (version-major+minor version) "/"
1226 name "-" version ".tar.xz"))
1227 (sha256
1228 (base32
1229 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1230 (build-system meson-build-system)
1231 (native-inputs
1232 `(("gettext" ,gettext-minimal)
1233 ("glib:bin" ,glib "bin")
1234 ("gobject-introspection" ,gobject-introspection)
1235 ("gtk-doc" ,gtk-doc)
1236 ("pkg-config" ,pkg-config)
1237 ("vala" ,vala)))
1238 (inputs
1239 `(("gtk+" ,gtk+)
1240 ("libsoup" ,libsoup)))
1241 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1242 Protocol} for GNOME")
1243 (description "This package provides a library to handle resource discovery
1244 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1245 a debugging tool, @command{gssdp-device-sniffer}.")
1246 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1247 (license license:lgpl2.0+)))
1248
1249 (define-public gupnp
1250 (package
1251 (name "gupnp")
1252 (version "1.2.4")
1253 (source (origin
1254 (method url-fetch)
1255 (uri (string-append "mirror://gnome/sources/" name "/"
1256 (version-major+minor version) "/"
1257 name "-" version ".tar.xz"))
1258 (sha256
1259 (base32
1260 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1261 (build-system meson-build-system)
1262 (native-inputs
1263 `(("gettext" ,gettext-minimal)
1264 ("glib:bin" ,glib "bin")
1265 ("gobject-introspection" ,gobject-introspection)
1266 ("gtk-doc" ,gtk-doc)
1267 ("pkg-config" ,pkg-config)
1268 ("vala" ,vala)))
1269 (inputs
1270 `(("gssdp" ,gssdp)
1271 ("gtk+" ,gtk+)
1272 ("libsoup" ,libsoup)))
1273 (synopsis "PnP API for GNOME")
1274 (description "This package provides GUPnP, an object-oriented framework
1275 for creating UPnP devices and control points, written in C using
1276 @code{GObject} and @code{libsoup}.")
1277 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1278 (license license:lgpl2.0+)))
1279
1280 (define-public gupnp-dlna
1281 (package
1282 (name "gupnp-dlna")
1283 (version "0.10.5")
1284 (source (origin
1285 (method url-fetch)
1286 (uri (string-append "mirror://gnome/sources/" name "/"
1287 (version-major+minor version) "/"
1288 name "-" version ".tar.xz"))
1289 (sha256
1290 (base32
1291 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1292 (build-system gnu-build-system)
1293 (native-inputs
1294 `(("gettext" ,gettext-minimal)
1295 ("glib:bin" ,glib "bin")
1296 ("gobject-introspection" ,gobject-introspection)
1297 ("gtk-doc" ,gtk-doc)
1298 ("libxml" ,libxml2)
1299 ("pkg-config" ,pkg-config)
1300 ("vala" ,vala)))
1301 (inputs
1302 `(("gstreamer" ,gstreamer)
1303 ("gupnp" ,gupnp)))
1304 (propagated-inputs
1305 `(("gst-plugins-base" ,gst-plugins-base)
1306 ("gst-plugins-good" ,gst-plugins-good)))
1307 (synopsis "GUPnP DLNA for GNOME")
1308 (description "This package provides a small utility library to
1309 support DLNA-related tasks such as media profile guessing, transcoding to a
1310 given profile, etc. DLNA is a subset of UPnP A/V.")
1311 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1312 (license license:lgpl2.0+)))
1313
1314 (define-public gupnp-av
1315 (package
1316 (name "gupnp-av")
1317 (version "0.12.11")
1318 (source (origin
1319 (method url-fetch)
1320 (uri (string-append "mirror://gnome/sources/" name "/"
1321 (version-major+minor version) "/"
1322 name "-" version ".tar.xz"))
1323 (sha256
1324 (base32
1325 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1326 (build-system gnu-build-system)
1327 (native-inputs
1328 `(("gettext" ,gettext-minimal)
1329 ("glib:bin" ,glib "bin")
1330 ("gobject-introspection" ,gobject-introspection)
1331 ("gtk-doc" ,gtk-doc)
1332 ("libxml" ,libxml2)
1333 ("pkg-config" ,pkg-config)))
1334 (inputs
1335 `(("gtk+" ,gtk+)
1336 ("gupnp" ,gupnp)))
1337 (synopsis "GUPnP A/V for GNOME")
1338 (description "This package provides a small library for handling
1339 and implementation of UPnP A/V profiles.")
1340 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1341 (license license:lgpl2.0+)))
1342
1343 (define-public libmediaart
1344 (package
1345 (name "libmediaart")
1346 (version "1.9.4")
1347 (source (origin
1348 (method url-fetch)
1349 (uri (string-append "mirror://gnome/sources/" name "/"
1350 (version-major+minor version) "/"
1351 name "-" version ".tar.xz"))
1352 (sha256
1353 (base32
1354 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1355 (build-system gnu-build-system)
1356 (native-inputs
1357 `(("glib:bin" ,glib "bin")
1358 ("pkg-config" ,pkg-config)))
1359 (inputs
1360 `(("gdk-pixbuf" ,gdk-pixbuf)
1361 ("gettext" ,gettext-minimal)
1362 ("gobject-introspection" ,gobject-introspection)
1363 ("gtk+:doc" ,gtk+ "doc")
1364 ("vala" ,vala)))
1365 (synopsis "Media art library for the GNOME desktop")
1366 (description
1367 "The libmediaart library is the foundation for media art caching,
1368 extraction, and lookup for applications on the desktop.")
1369 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1370 (license license:lgpl2.1+)))
1371
1372 (define-public gnome-initial-setup
1373 (package
1374 (name "gnome-initial-setup")
1375 (version "3.32.1")
1376 (source (origin
1377 (method url-fetch)
1378 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1379 (version-major+minor version)
1380 "/gnome-initial-setup-" version ".tar.xz"))
1381 (sha256
1382 (base32
1383 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1384 (build-system meson-build-system)
1385 (arguments
1386 '(#:configure-flags '(;; Enable camera support for user selfie.
1387 "-Dcheese=auto"
1388 "-Dsystemd=false")
1389 #:phases (modify-phases %standard-phases
1390 (add-after 'unpack 'set-gkbd-file-name
1391 (lambda* (#:key inputs #:allow-other-keys)
1392 ;; Allow the "Preview" button in the keyboard layout
1393 ;; selection dialog to display the layout.
1394 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1395 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1396 (("\"gkbd-keyboard-display")
1397 (string-append "\"" libgnomekbd
1398 "/bin/gkbd-keyboard-display")))
1399 #t))))))
1400 (native-inputs
1401 `(("gettext" ,gettext-minimal)
1402 ("glib:bin" ,glib "bin")
1403 ("gobject-introspection" ,gobject-introspection)
1404 ("gtk+:bin" ,gtk+ "bin")
1405 ("pkg-config" ,pkg-config)))
1406 (inputs
1407 `(("accountsservice" ,accountsservice)
1408 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1409 ("gdm" ,gdm)
1410 ("geoclue" ,geoclue)
1411 ("gnome-desktop" ,gnome-desktop)
1412 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1413 ("gnome-online-accounts" ,gnome-online-accounts)
1414 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1415 ("gstreamer" ,gstreamer)
1416 ("ibus" ,ibus)
1417 ("json-glib" ,json-glib)
1418 ("krb5" ,mit-krb5)
1419 ("libgweather" ,libgweather)
1420 ("libnma" ,libnma)
1421 ("libsecret" ,libsecret)
1422 ("network-manager" ,network-manager)
1423 ("packagekit" ,packagekit)
1424 ("polkit" ,polkit)
1425 ("pwquality" ,libpwquality)
1426 ("rest" ,rest)
1427 ("upower" ,upower)
1428 ("webkitgtk" ,webkitgtk)
1429 ("libgnomekbd" ,libgnomekbd)))
1430 (synopsis "Initial setup wizard for GNOME desktop")
1431 (description "This package provides a set-up wizard when a
1432 user logs into GNOME for the first time. It typically provides a
1433 tour of all gnome components and allows the user to set them up.")
1434 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1435 (license license:gpl2)))
1436
1437 (define-public gnome-user-share
1438 (package
1439 (name "gnome-user-share")
1440 (version "3.33.1")
1441 (source (origin
1442 (method url-fetch)
1443 (uri (string-append "mirror://gnome/sources/" name "/"
1444 (version-major+minor version) "/"
1445 name "-" version ".tar.xz"))
1446 (sha256
1447 (base32
1448 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1449 (build-system meson-build-system)
1450 (arguments
1451 `(#:glib-or-gtk? #t
1452 #:configure-flags
1453 `("-Dsystemd=false"
1454 ;; Enable nautilus extension for file sharing.
1455 "-Dnautilus_extension=true")))
1456 (native-inputs
1457 `(("gettext" ,gettext-minimal)
1458 ("glib:bin" ,glib "bin")
1459 ("gobject-introspection" ,gobject-introspection)
1460 ("gtk+:bin" ,gtk+ "bin")
1461 ("pkg-config" ,pkg-config)
1462 ("yelp-tools" ,yelp-tools)))
1463 (inputs
1464 `(("glib" ,glib)
1465 ("gnome-bluetooth" ,gnome-bluetooth)
1466 ("gtk+" ,gtk+)
1467 ("libcanberra" ,libcanberra)
1468 ("libnotify" ,libnotify)
1469 ("nautilus" ,nautilus))) ; For nautilus extension.
1470 (synopsis "File sharing for GNOME desktop")
1471 (description "GNOME User Share is a small package that binds together
1472 various free software projects to bring easy to use user-level file
1473 sharing to the masses.")
1474 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1475 (license license:gpl2+)))
1476
1477 (define-public sushi
1478 (package
1479 (name "sushi")
1480 (version "3.32.1")
1481 (source (origin
1482 (method url-fetch)
1483 (uri (string-append "mirror://gnome/sources/" name "/"
1484 (version-major+minor version) "/"
1485 name "-" version ".tar.xz"))
1486 (sha256
1487 (base32
1488 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1489 (build-system meson-build-system)
1490 (arguments
1491 `(#:glib-or-gtk? #t
1492 #:phases
1493 (modify-phases %standard-phases
1494 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1495 (lambda* (#:key outputs #:allow-other-keys)
1496 (let ((prog (string-append (assoc-ref outputs "out")
1497 "/bin/sushi")))
1498 ;; Put existing typelibs before sushi's deps, so as to correctly
1499 ;; infer gdk-pixbuf
1500 (wrap-program prog
1501 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1502 #t))))))
1503 (native-inputs
1504 `(("glib:bin" ,glib "bin")
1505 ("gettext" ,gettext-minimal)
1506 ("gobject-introspection" ,gobject-introspection)
1507 ("pkg-config" ,pkg-config)))
1508 (inputs
1509 `(("clutter" ,clutter)
1510 ("clutter-gst" ,clutter-gst)
1511 ("clutter-gtk" ,clutter-gtk)
1512 ("evince" ,evince) ; For file previewing.
1513 ("freetype" ,freetype)
1514 ("gdk-pixbuf" ,gdk-pixbuf)
1515 ("gjs" ,gjs)
1516 ("gst-plugins-base" ,gst-plugins-base)
1517 ("gstreamer" ,gstreamer)
1518 ("gtksourceview" ,gtksourceview-3)
1519 ("harfbuzz" ,harfbuzz)
1520 ("libepoxy" ,libepoxy)
1521 ("libmusicbrainz" ,libmusicbrainz)
1522 ("libxml2" ,libxml2)
1523 ("neon" ,neon)
1524 ("webkitgtk" ,webkitgtk)))
1525 (synopsis "File previewer for the GNOME desktop")
1526 (description "Sushi is a DBus-activated service that allows applications to
1527 preview files on the GNOME desktop.")
1528 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1529 (license license:gpl2+)))
1530
1531 (define-public rygel
1532 (package
1533 (name "rygel")
1534 (version "0.38.3")
1535 (source (origin
1536 (method url-fetch)
1537 (uri (string-append "mirror://gnome/sources/" name "/"
1538 (version-major+minor version) "/"
1539 name "-" version ".tar.xz"))
1540 (sha256
1541 (base32
1542 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1543 (build-system gnu-build-system)
1544 (native-inputs
1545 `(("gettext" ,gettext-minimal)
1546 ("gobject-introspection" ,gobject-introspection)
1547 ("gtk-doc" ,gtk-doc)
1548 ("pkg-config" ,pkg-config)
1549 ("vala" ,vala)))
1550 (inputs
1551 `(("gdk-pixbuf" ,gdk-pixbuf)
1552 ("gssdp" ,gssdp)
1553 ("gstreamer" ,gstreamer)
1554 ("gst-plugins-base" ,gst-plugins-base)
1555 ("gtk+" ,gtk+)
1556 ("gupnp" ,gupnp)
1557 ("gupnp-av" ,gupnp-av)
1558 ("gupnp-dlna" ,gupnp-dlna)
1559 ("libgee" ,libgee)
1560 ("libmediaart" ,libmediaart)
1561 ("libsoup" ,libsoup)
1562 ("libxslt" ,libxslt)
1563 ("libunistring" ,libunistring)
1564 ("tracker" ,tracker)))
1565 (synopsis "Share audio, video, and pictures with other devices")
1566 (description
1567 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1568 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1569 pictures, and to control a media player on your home network.
1570
1571 Rygel achieves interoperability with other devices by trying to conform to the
1572 strict requirements of DLNA and by converting media on-the-fly to formats that
1573 client devices can handle.")
1574 (home-page "https://wiki.gnome.org/Projects/Rygel")
1575 (license (list
1576 ;; For logo (data/icons/*).
1577 license:cc-by-sa3.0
1578 ;; For all others.
1579 license:lgpl2.1+))))
1580
1581 (define-public libnma
1582 (package
1583 (name "libnma")
1584 (version "1.8.28")
1585 (source (origin
1586 (method url-fetch)
1587 (uri (string-append "mirror://gnome/sources/" name "/"
1588 (version-major+minor version) "/"
1589 name "-" version ".tar.xz"))
1590 (sha256
1591 (base32
1592 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1593 (build-system meson-build-system)
1594 (arguments
1595 `(#:phases
1596 (modify-phases %standard-phases
1597 (add-after 'unpack 'patch-docbook-xml
1598 (lambda* (#:key inputs #:allow-other-keys)
1599 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1600 "/xml/dtd/docbook")))
1601 (substitute* "libnma-docs.xml"
1602 (("http://.*/docbookx\\.dtd")
1603 (string-append xmldoc "/docbookx.dtd")))
1604 #t))))))
1605 (native-inputs
1606 `(("docbook-xml" ,docbook-xml-4.3)
1607 ("gettext" ,gettext-minimal)
1608 ("glib:bin" ,glib "bin")
1609 ("gtk-doc" ,gtk-doc)
1610 ("gobject-introspection" ,gobject-introspection)
1611 ("pkg-config" ,pkg-config)
1612 ("vala" ,vala)))
1613 (inputs
1614 `(("gcr" ,gcr)
1615 ("gtk+" ,gtk+)
1616 ("iso-codes" ,iso-codes)
1617 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1618 ("network-manager" ,network-manager)))
1619 (synopsis "Network Manager's applet library")
1620 (description "Libnma is an applet library for Network Manager. It was
1621 initially part of network-manager-applet and has now become a separate
1622 project.")
1623 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1624 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1625 ;; "LGPL-2.1+".
1626 (license license:gpl2+)))
1627
1628 (define-public gnome-menus
1629 (package
1630 (name "gnome-menus")
1631 (version "3.32.0")
1632 (source (origin
1633 (method url-fetch)
1634 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1635 (version-major+minor version) "/"
1636 name "-" version ".tar.xz"))
1637 (sha256
1638 (base32
1639 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1640 (build-system gnu-build-system)
1641 (native-inputs
1642 `(("gettext" ,gettext-minimal)
1643 ("glib" ,glib)
1644 ("pkg-config" ,pkg-config)))
1645 (synopsis "Menu support for GNOME desktop")
1646 (description "GNOME Menus contains the libgnome-menu library, the layout
1647 configuration files for the GNOME menu, as well as a simple menu editor.")
1648 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1649 (license license:lgpl2.0+)))
1650
1651 (define-public deja-dup
1652 (package
1653 (name "deja-dup")
1654 (version "40.6")
1655 (source (origin
1656 (method url-fetch)
1657 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1658 version "/deja-dup-" version ".tar.bz2"))
1659 (sha256
1660 (base32
1661 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1662 (build-system meson-build-system)
1663 (arguments
1664 `(#:glib-or-gtk? #t
1665 #:configure-flags
1666 (list
1667 ;; Otherwise, the RUNPATH will lack the final path component.
1668 (string-append "-Dc_link_args=-Wl,-rpath="
1669 (assoc-ref %outputs "out") "/lib/deja-dup"))
1670 #:phases
1671 (modify-phases %standard-phases
1672 (add-after 'unpack 'patch-paths
1673 (lambda* (#:key inputs #:allow-other-keys)
1674 (let ((python (assoc-ref inputs "python")))
1675 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1676 "libdeja/tests/scripts/instance-error.test")
1677 (("/bin/rm")
1678 (which "rm")))
1679 (substitute* "libdeja/tests/runner.vala"
1680 (("/bin/sh")
1681 (which "sh")))
1682 (substitute* "libdeja/tests/scripts/instance-error.test"
1683 (("`which python3`")
1684 (string-append python "/bin/python3"))))))
1685 (add-after 'unpack 'patch-libgpg-error
1686 (lambda* (#:key inputs #:allow-other-keys)
1687 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1688 (substitute* "meson.build"
1689 (("(gpgerror_libs = ).*" _ var)
1690 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1691 #t))
1692 (add-after 'unpack 'skip-gtk-update-icon-cache
1693 ;; Don't create 'icon-theme.cache'.
1694 (lambda _
1695 (substitute* "data/post-install.sh"
1696 (("gtk-update-icon-cache") "true"))
1697 #t)))))
1698 (inputs
1699 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1700 ("duplicity" ,duplicity)
1701 ("python" ,python)
1702 ("python-pygobject" ,python-pygobject)
1703 ("gtk+" ,gtk+)
1704 ("json-glib" ,json-glib)
1705 ("libnotify" ,libnotify)
1706 ("libgpg-error" ,libgpg-error)
1707 ("libsecret" ,libsecret)
1708 ("libsoup" ,libsoup)
1709 ("packagekit" ,packagekit)))
1710 (native-inputs
1711 `(("appstream-glib" ,appstream-glib)
1712 ("desktop-file-utils" ,desktop-file-utils)
1713 ("gettext" ,gettext-minimal)
1714 ("glib" ,glib "bin") ; for glib-compile-schemas.
1715 ("gobject-introspection" ,gobject-introspection)
1716 ("itstool" ,itstool)
1717 ("pkg-config" ,pkg-config)
1718 ("vala" ,vala)))
1719 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1720 (synopsis "Simple backup tool, for regular encrypted backups")
1721 (description
1722 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1723 uses duplicity as the backend, which supports incremental backups and storage
1724 either on a local, or remote machine via a number of methods.")
1725 (license license:gpl3+)))
1726
1727 (define-public gnome-commander
1728 (package
1729 (name "gnome-commander")
1730 (version "1.10.3")
1731 (source
1732 (origin
1733 (method url-fetch)
1734 (uri (string-append "mirror://gnome/sources/" name "/"
1735 (version-major+minor version) "/"
1736 "gnome-commander-" version ".tar.xz"))
1737 (sha256
1738 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1739 (build-system glib-or-gtk-build-system)
1740 (native-inputs
1741 `(("desktop-file-utils" ,desktop-file-utils)
1742 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1743 ("gettext" ,gettext-minimal)
1744 ("glib:bin" ,glib "bin")
1745 ("gobject-introspection" ,gobject-introspection)
1746 ("googletest" ,googletest)
1747 ("intltool" ,intltool)
1748 ("itstool" ,itstool)
1749 ("libtool" ,libtool)
1750 ("pkg-config" ,pkg-config)))
1751 (inputs
1752 `(("gconf" ,gconf)
1753 ("gnome-vfs" ,gnome-vfs)
1754 ("gtk+" ,gtk+-2)
1755 ("libxml2" ,libxml2)))
1756 (home-page "https://gcmd.github.io/")
1757 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1758 (description
1759 "GNOME Commander is a two-pane graphical file manager using GNOME
1760 libraries. It aims to fulfill the demands of more advanced users who
1761 like to focus on file management, their work through special applications
1762 and running smart commands.")
1763 (license license:gpl2+)))
1764
1765 (define-public gnome-user-docs
1766 (package
1767 (name "gnome-user-docs")
1768 (version "3.32.3")
1769 (source
1770 (origin
1771 (method url-fetch)
1772 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1773 (version-major+minor version)
1774 "/gnome-user-docs-" version ".tar.xz"))
1775 (sha256
1776 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1777 (build-system gnu-build-system)
1778 (native-inputs
1779 `(("gettext" ,gettext-minimal)
1780 ("itstool" ,itstool)
1781 ("pkg-config" ,pkg-config)
1782 ("xmllint" ,libxml2)))
1783 (synopsis "User documentation for the GNOME desktop")
1784 (description
1785 "The GNOME User Documentation explains how to use the GNOME desktop and its
1786 components. It covers usage and setup of the core GNOME programs by end-users
1787 and system administrators.")
1788 (home-page "https://live.gnome.org/DocumentationProject")
1789 (license license:cc-by3.0)))
1790
1791 (define-public gnome-getting-started-docs
1792 (package
1793 (name "gnome-getting-started-docs")
1794 (version "3.32.2")
1795 (source
1796 (origin
1797 (method url-fetch)
1798 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1799 (version-major+minor version)
1800 "/gnome-getting-started-docs-" version ".tar.xz"))
1801 (sha256
1802 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1803 (build-system gnu-build-system)
1804 (native-inputs
1805 `(("gettext" ,gettext-minimal)
1806 ("itstool" ,itstool)
1807 ("pkg-config" ,pkg-config)
1808 ("xmllint" ,libxml2)))
1809 (synopsis "Help to get new users started with the GNOME desktop")
1810 (description
1811 "The GNOME Getting Started Documentation contains GNOME's intuitive
1812 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1813
1814 It is normally used together with @command{gnome-initial-setup}, but is also
1815 useful as a tutorial and users' guide for new or less experienced users.")
1816 (home-page "https://live.gnome.org/DocumentationProject")
1817 (license license:cc-by-sa3.0)))
1818
1819 (define-public dia
1820 ;; This version from GNOME's repository includes fixes for compiling with
1821 ;; recent versions of the build tools. The latest activity on the
1822 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1823 ;; fixes since.
1824 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1825 (revision "2"))
1826 (package
1827 (name "dia")
1828 (version (git-version "0.97.3" revision commit))
1829 (source (origin
1830 (method git-fetch)
1831 (uri (git-reference
1832 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1833 (commit commit)))
1834 (file-name (git-file-name name version))
1835 (sha256
1836 (base32
1837 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1838 (build-system meson-build-system)
1839 (inputs
1840 `(("graphene" ,graphene)
1841 ("gtk+" ,gtk+-2)
1842 ("libxml2" ,libxml2)
1843 ("libxslt" ,libxslt)
1844 ("poppler" ,poppler)
1845 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1846 ;; ERROR: Unknown method "dependency" in object.
1847 ("python-2" ,python-2)))
1848 (native-inputs
1849 `(("appstream-glib" ,appstream-glib)
1850 ("docbook-xsl" ,docbook-xsl)
1851 ("glib" ,glib "bin")
1852 ("intltool" ,intltool)
1853 ("pkg-config" ,pkg-config)))
1854 (home-page "https://wiki.gnome.org/Apps/Dia")
1855 (synopsis "Diagram creation for GNOME")
1856 (description "Dia can be used to draw different types of diagrams, and
1857 includes support for UML static structure diagrams (class diagrams), entity
1858 relationship modeling, and network diagrams. The program supports various file
1859 formats like PNG, SVG, PDF and EPS.")
1860 (license license:gpl2+))))
1861
1862 ;; This is the unstable release, but it is required for the current stable
1863 ;; release of gvfs (1.38.1).
1864 (define-public libgdata
1865 (package
1866 (name "libgdata")
1867 (version "0.17.9")
1868 (source (origin
1869 (method url-fetch)
1870 (uri (string-append "mirror://gnome/sources/" name "/"
1871 (version-major+minor version) "/"
1872 name "-" version ".tar.xz"))
1873 (sha256
1874 (base32
1875 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1876 (build-system gnu-build-system)
1877 (arguments
1878 '(#:phases
1879 (modify-phases %standard-phases
1880 (add-before 'check 'disable-failing-tests
1881 (lambda _
1882 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1883 ;; They have been removed in libgdata 0.17.6, so just do the same.
1884 (substitute* "gdata/tests/Makefile"
1885 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1886 #t)))))
1887 (native-inputs
1888 `(("glib:bin" ,glib "bin")
1889 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1890 ("intltool" ,intltool)
1891 ("pkg-config" ,pkg-config)
1892 ("uhttpmock" ,uhttpmock)))
1893 (inputs
1894 `(("cyrus-sasl" ,cyrus-sasl)
1895 ("glib-networking" ,glib-networking)))
1896 (propagated-inputs
1897 `(("gcr" ,gcr)
1898 ("glib" ,glib)
1899 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1900 ("json-glib" ,json-glib)
1901 ("liboauth" ,liboauth)
1902 ("libsoup" ,libsoup)
1903 ("libxml2" ,libxml2)))
1904 (home-page "https://wiki.gnome.org/Projects/libgdata")
1905 (synopsis "Library for accessing online service APIs")
1906 (description
1907 "libgdata is a GLib-based library for accessing online service APIs using
1908 the GData protocol — most notably, Google's services. It provides APIs to
1909 access the common Google services, and has full asynchronous support.")
1910 (license license:lgpl2.1+)))
1911
1912 (define-public libgxps
1913 (package
1914 (name "libgxps")
1915 (version "0.3.1")
1916 (source (origin
1917 (method url-fetch)
1918 (uri (string-append "mirror://gnome/sources/" name "/"
1919 (version-major+minor version) "/"
1920 name "-" version ".tar.xz"))
1921 (sha256
1922 (base32
1923 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1924 (build-system meson-build-system)
1925 (native-inputs
1926 `(("gobject-introspection" ,gobject-introspection)
1927 ("pkg-config" ,pkg-config)))
1928 (inputs
1929 `(("gtk+" ,gtk+)
1930 ("libjpeg" ,libjpeg-turbo)
1931 ("lcms" ,lcms)
1932 ("libtiff" ,libtiff)))
1933 (propagated-inputs
1934 ;; In Requires of libgxps.pc.
1935 `(("cairo" ,cairo)
1936 ("glib" ,glib)
1937 ("libarchive" ,libarchive)))
1938 (home-page "https://wiki.gnome.org/Projects/libgxps")
1939 (synopsis "GObject-based library for handling and rendering XPS documents")
1940 (description
1941 "libgxps is a GObject-based library for handling and rendering XPS
1942 documents. This package also contains binaries that can convert XPS documents
1943 to other formats.")
1944 (license license:lgpl2.1+)))
1945
1946 (define-public gnome-characters
1947 (package
1948 (name "gnome-characters")
1949 (version "3.30.0")
1950 (source
1951 (origin
1952 (method url-fetch)
1953 (uri (string-append "mirror://gnome/sources/"
1954 "gnome-characters/" (version-major+minor version)
1955 "/gnome-characters-" version ".tar.xz"))
1956 (sha256
1957 (base32
1958 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1959 (build-system meson-build-system)
1960 (arguments
1961 `(#:glib-or-gtk? #t
1962 #:phases (modify-phases %standard-phases
1963 (add-after 'install 'wrap
1964 (lambda* (#:key outputs #:allow-other-keys)
1965 ;; GNOME Characters needs Typelib files from GTK and
1966 ;; gnome-desktop.
1967 (wrap-program (string-append (assoc-ref outputs "out")
1968 "/bin/gnome-characters")
1969 `("GI_TYPELIB_PATH" ":" prefix
1970 (,(getenv "GI_TYPELIB_PATH"))))
1971 #t)))))
1972 (native-inputs
1973 `(("gettext" ,gettext-minimal)
1974 ("glib:bin" ,glib "bin")
1975 ("gtk+:bin" ,gtk+ "bin")
1976 ("pkg-config" ,pkg-config)
1977 ("python" ,python-minimal)))
1978 (inputs
1979 `(("gjs" ,gjs)
1980 ("gtk+" ,gtk+)
1981 ("libunistring" ,libunistring)
1982 ("gnome-desktop" ,gnome-desktop)))
1983 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1984 (synopsis "Find and insert unusual characters")
1985 (description "Characters is a simple utility application to find
1986 and insert unusual characters. It allows you to quickly find the
1987 character you are looking for by searching for keywords.")
1988 (license license:bsd-3)))
1989
1990 (define-public gnome-common
1991 (package
1992 (name "gnome-common")
1993 (version "3.18.0")
1994 (source
1995 (origin
1996 (method url-fetch)
1997 (uri (string-append "mirror://gnome/sources/" name "/"
1998 (version-major+minor version) "/"
1999 name "-" version ".tar.xz"))
2000 (sha256
2001 (base32
2002 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2003 (build-system gnu-build-system)
2004 (home-page "https://www.gnome.org/")
2005 (synopsis "Bootstrap GNOME modules built from Git")
2006 (description "gnome-common contains various files needed to bootstrap
2007 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2008 can be used to configure a source directory checked out from Git and some
2009 commonly used macros.")
2010 (license license:gpl2+)))
2011
2012 (define-public gnome-contacts
2013 (package
2014 (name "gnome-contacts")
2015 (version "3.34")
2016 (source (origin
2017 (method url-fetch)
2018 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2019 (version-major+minor version) "/"
2020 name "-" version ".tar.xz"))
2021 (sha256
2022 (base32
2023 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2024 (build-system meson-build-system)
2025 (arguments
2026 `(#:configure-flags '("-Dcheese=false")
2027 #:phases
2028 (modify-phases %standard-phases
2029 (add-after 'unpack 'generate-vapis
2030 (lambda* (#:key inputs #:allow-other-keys)
2031 ;; To generate goa's missing .vapi file
2032 (define goa
2033 (assoc-ref inputs "gnome-online-accounts:lib"))
2034
2035 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2036 "--library=goa-1.0"
2037 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2038 #t))
2039 (add-after 'unpack 'skip-gtk-update-icon-cache
2040 ;; Don't create 'icon-theme.cache'.
2041 (lambda _
2042 (substitute* "build-aux/meson_post_install.py"
2043 (("gtk-update-icon-cache") "true"))
2044 #t)))))
2045 (native-inputs
2046 `(("glib:bin" ,glib "bin")
2047 ("pkg-config" ,pkg-config)))
2048 (inputs
2049 `(("docbook-xml" ,docbook-xml)
2050 ("dockbook-xsl" ,docbook-xsl)
2051 ("evolution-data-server" ,evolution-data-server)
2052 ("gettext" ,gettext-minimal)
2053 ("gnome-desktop" ,gnome-desktop)
2054 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2055 ("gobject-introspection" ,gobject-introspection)
2056 ("gst-plugins-base" ,gst-plugins-base)
2057 ("gtk+" ,gtk+)
2058 ("libgee" ,libgee)
2059 ("libxslt" ,libxslt)
2060 ("telepathy-glib" ,telepathy-glib)
2061 ("vala" ,vala)))
2062 (propagated-inputs
2063 `(("folks" ,folks)
2064 ("telepathy-mission-control" ,telepathy-mission-control)))
2065 (synopsis "GNOME's integrated address book")
2066 (description
2067 "GNOME Contacts organizes your contact information from online and
2068 offline sources, providing a centralized place for managing your contacts.")
2069 (home-page "https://wiki.gnome.org/Apps/Contacts")
2070 (license license:gpl2+)))
2071
2072 (define-public gnome-desktop
2073 (package
2074 (name "gnome-desktop")
2075 (version "3.34.2")
2076 (source
2077 (origin
2078 (method url-fetch)
2079 (uri (string-append "mirror://gnome/sources/" name "/"
2080 (version-major+minor version) "/"
2081 name "-" version ".tar.xz"))
2082 (sha256
2083 (base32
2084 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2085 (build-system meson-build-system)
2086 (arguments
2087 '(#:phases
2088 (modify-phases %standard-phases
2089 (add-before 'configure 'patch-path
2090 (lambda* (#:key inputs #:allow-other-keys)
2091 (let ((libc (assoc-ref inputs "libc")))
2092 (substitute* "libgnome-desktop/gnome-languages.c"
2093 (("\"locale\"")
2094 (string-append "\"" libc "/bin/locale\"")))
2095 #t)))
2096 (add-before 'configure 'patch-bubblewrap
2097 (lambda* (#:key inputs #:allow-other-keys)
2098 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2099 (("\"bwrap\",")
2100 (string-append "\"" (which "bwrap") "\","))
2101 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2102 (string-append "\"--ro-bind\", \""
2103 (%store-directory)
2104 "\", \""
2105 (%store-directory)
2106 "\","))
2107 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2108 #t))
2109 (add-before 'check 'pre-check
2110 (lambda* (#:key inputs #:allow-other-keys)
2111 ;; Tests require a running X server and locales.
2112 (system "Xvfb :1 &")
2113 (setenv "DISPLAY" ":1")
2114 (setenv "GUIX_LOCPATH"
2115 (string-append (assoc-ref inputs "glibc-locales")
2116 "/lib/locale"))
2117 #t)))))
2118 (native-inputs
2119 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2120 ("glibc-locales" ,glibc-locales) ; for tests
2121 ("gobject-introspection" ,gobject-introspection)
2122 ("itstool" ,itstool)
2123 ("intltool" ,intltool)
2124 ("pkg-config" ,pkg-config)
2125 ("xmllint" ,libxml2)
2126 ("xorg-server" ,xorg-server-for-tests)))
2127 (propagated-inputs
2128 ;; Required by gnome-desktop-3.0.pc.
2129 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2130 ("gtk+" ,gtk+)
2131 ("iso-codes" ,iso-codes)
2132 ("libseccomp" ,libseccomp)
2133 ("libx11" ,libx11)
2134 ("xkeyboard-config" ,xkeyboard-config)))
2135 (inputs
2136 `(("gdk-pixbuf" ,gdk-pixbuf)
2137 ("glib" ,glib)
2138 ("bubblewrap" ,bubblewrap)
2139 ("libxext" ,libxext)
2140 ("libxkbfile" ,libxkbfile)
2141 ("libxrandr" ,libxrandr)))
2142 (home-page "https://www.gnome.org/")
2143 (synopsis
2144 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2145 (description
2146 "The libgnome-desktop library provides API shared by several applications
2147 on the desktop, but that cannot live in the platform for various reasons.
2148 There is no API or ABI guarantee, although we are doing our best to provide
2149 stability. Documentation for the API is available with gtk-doc.
2150
2151 The gnome-about program helps find which version of GNOME is installed.")
2152 ; Some bits under the LGPL.
2153 (license license:gpl2+)))
2154
2155 (define-public gnome-doc-utils
2156 (package
2157 (name "gnome-doc-utils")
2158 (version "0.20.10")
2159 (source
2160 (origin
2161 (method url-fetch)
2162 (uri (string-append "mirror://gnome/sources/" name "/"
2163 (version-major+minor version) "/"
2164 name "-" version ".tar.xz"))
2165 (sha256
2166 (base32
2167 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2168 (build-system gnu-build-system)
2169 (native-inputs
2170 `(("intltool" ,intltool)
2171 ("docbook-xml" ,docbook-xml-4.4)
2172 ("python2-libxml2" ,python2-libxml2)
2173 ("libxml2" ,libxml2)
2174 ("libxslt" ,libxslt)
2175 ("pkg-config" ,pkg-config)
2176 ("python-2" ,python-2)))
2177 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2178 (synopsis
2179 "Documentation utilities for the Gnome project")
2180 (description
2181 "Gnome-doc-utils is a collection of documentation utilities for the
2182 Gnome project. It includes xml2po tool which makes it easier to translate
2183 and keep up to date translations of documentation.")
2184 (license license:gpl2+))) ; xslt under lgpl
2185
2186 (define-public gnome-disk-utility
2187 (package
2188 (name "gnome-disk-utility")
2189 (version "3.34.0")
2190 (source (origin
2191 (method url-fetch)
2192 (uri (string-append "mirror://gnome/sources/" name "/"
2193 (version-major+minor version) "/"
2194 name "-" version ".tar.xz"))
2195 (sha256
2196 (base32
2197 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2198 (build-system meson-build-system)
2199 (arguments
2200 '(#:configure-flags '("-Dlogind=libelogind")
2201 #:phases
2202 (modify-phases %standard-phases
2203 (add-after 'unpack 'skip-gtk-update-icon-cache
2204 ;; Don't create 'icon-theme.cache'.
2205 (lambda _
2206 (substitute* "meson_post_install.py"
2207 (("gtk-update-icon-cache") "true"))
2208 #t)))))
2209 (native-inputs
2210 `(("glib:bin" ,glib "bin")
2211 ("intltool" ,intltool)
2212 ("pkg-config" ,pkg-config)
2213 ("docbook-xml" ,docbook-xml)
2214 ("docbook-xsl" ,docbook-xsl)
2215 ("libxml2" ,libxml2)
2216 ("libxslt" ,libxslt)))
2217 (inputs
2218 `(("elogind" ,elogind)
2219 ("glib" ,glib)
2220 ("appstream-glib" ,appstream-glib)
2221 ("gnome-settings-daemon" ,gnome-settings-daemon)
2222 ("gtk+" ,gtk+)
2223 ("libcanberra" ,libcanberra)
2224 ("libdvdread" ,libdvdread)
2225 ("libnotify" ,libnotify)
2226 ("libpwquality" ,libpwquality)
2227 ("libsecret" ,libsecret)
2228 ("udisks" ,udisks)))
2229 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2230 (synopsis "Disk management utility for GNOME")
2231 (description "Disk management utility for GNOME.")
2232 (license license:gpl2+)))
2233
2234 (define-public gnome-font-viewer
2235 (package
2236 (name "gnome-font-viewer")
2237 (version "3.30.0")
2238 (source (origin
2239 (method url-fetch)
2240 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2241 (version-major+minor version)
2242 "/gnome-font-viewer-" version ".tar.xz"))
2243 (sha256
2244 (base32
2245 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2246 (build-system meson-build-system)
2247 (arguments
2248 '(#:phases
2249 (modify-phases %standard-phases
2250 (add-after 'unpack 'patch-post-install-script
2251 (lambda _
2252 (substitute* "meson-postinstall.sh"
2253 (("update-desktop-database") (which "true")))
2254 #t)))))
2255 (native-inputs
2256 `(("gettext" ,gettext-minimal)
2257 ("glib:bin" ,glib "bin")
2258 ("pkg-config" ,pkg-config)))
2259 (inputs
2260 `(("glib" ,glib)
2261 ("gnome-desktop" ,gnome-desktop)
2262 ("gtk+" ,gtk+)))
2263 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2264 (synopsis "GNOME Fonts")
2265 (description "Application to show you the fonts installed on your computer
2266 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2267 the font would look under various sizes.")
2268 (license license:gpl2+)))
2269
2270 (define-public gcr
2271 (package
2272 (name "gcr")
2273 (version "3.34.0")
2274 (source (origin
2275 (method url-fetch)
2276 (uri (string-append "mirror://gnome/sources/" name "/"
2277 (version-major+minor version) "/"
2278 name "-" version ".tar.xz"))
2279 (sha256
2280 (base32
2281 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2282 (build-system gnu-build-system)
2283 (arguments
2284 '(#:phases
2285 (modify-phases %standard-phases
2286 ;; These fail because /var/lib/dbus/machine-id is not present in the
2287 ;; build environment.
2288 (add-after 'unpack 'disable-failing-tests
2289 (lambda _
2290 (substitute* "Makefile.in"
2291 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2292 ""))
2293 #t))
2294 (add-before 'check 'pre-check
2295 (lambda _
2296 ;; Some tests expect to write to $HOME.
2297 (setenv "HOME" "/tmp")
2298 #t)))))
2299 (inputs
2300 `(("dbus" ,dbus)
2301 ("gnupg" ,gnupg) ;called as a child process during tests
2302 ("libgcrypt" ,libgcrypt)))
2303 (native-inputs
2304 `(("python" ,python-wrapper) ;for tests
2305 ("pkg-config" ,pkg-config)
2306 ("gettext" ,gettext-minimal)
2307 ("glib" ,glib "bin")
2308 ("gobject-introspection" ,gobject-introspection)
2309 ("libxml2" ,libxml2)
2310 ("vala" ,vala)
2311 ("xsltproc" ,libxslt)))
2312 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2313 (propagated-inputs
2314 `(("p11-kit" ,p11-kit)
2315 ("glib" ,glib)
2316 ("gtk+" ,gtk+)))
2317 (home-page "https://www.gnome.org")
2318 (synopsis "Libraries for displaying certificates and accessing key stores")
2319 (description
2320 "The GCR package contains libraries used for displaying certificates and
2321 accessing key stores. It also provides the viewer for crypto files on the
2322 GNOME Desktop.")
2323 (license license:lgpl2.1+)))
2324
2325 (define-public gdl
2326 (package
2327 (name "gdl")
2328 (version "3.34.0")
2329 (source (origin
2330 (method git-fetch)
2331 (uri (git-reference
2332 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2333 (commit (string-append "GDL_" (string-map (match-lambda
2334 (#\. #\_)
2335 (c c))
2336 version)))))
2337 (file-name (git-file-name name version))
2338 (sha256
2339 (base32
2340 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2341 (build-system gnu-build-system)
2342 (native-inputs
2343 `(("autoconf" ,autoconf)
2344 ("automake" ,automake)
2345 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2346 ("gnome-common" ,gnome-common)
2347 ("gtk-doc" ,gtk-doc)
2348 ("intltool" ,intltool)
2349 ("pkg-config" ,pkg-config)
2350 ("libtool" ,libtool)
2351 ("which" ,which)))
2352 (inputs
2353 `(("libxml2" ,libxml2)))
2354 (propagated-inputs
2355 ;; The gdl-3.0.pc file 'Requires' GTK+.
2356 `(("gtk+" ,gtk+)))
2357 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2358 (synopsis "GNOME docking library")
2359 (description "This library provides docking features for gtk+.")
2360 (license license:lgpl2.1+)))
2361
2362 ;;; A minimal variant used to break a cycle with Inkscape.
2363 (define-public gdl-minimal
2364 (package
2365 (inherit gdl)
2366 (name "gdl-minimal")
2367 (arguments
2368 '(#:phases
2369 (modify-phases %standard-phases
2370 (add-after 'unpack 'disable-doc-generation
2371 ;; XXX: There is no easy way to disable generating the
2372 ;; documentation.
2373 (lambda _
2374 (substitute* "configure.in"
2375 (("GTK_DOC_CHECK.*") "")
2376 (("docs/.*") ""))
2377 (substitute* "Makefile.am"
2378 (("gdl docs po") "gdl po"))
2379 #t)))))
2380 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2381
2382 (define-public libgnome-keyring
2383 (package
2384 (name "libgnome-keyring")
2385 (version "3.12.0")
2386 (source (origin
2387 (method url-fetch)
2388 (uri (string-append "mirror://gnome/sources/" name "/"
2389 (version-major+minor version) "/"
2390 name "-" version ".tar.xz"))
2391 (sha256
2392 (base32
2393 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2394 (build-system gnu-build-system)
2395 (inputs
2396 `(("libgcrypt" ,libgcrypt)
2397 ("dbus" ,dbus)))
2398 (native-inputs
2399 `(("pkg-config" ,pkg-config)
2400 ("glib" ,glib "bin")
2401 ("intltool" ,intltool)))
2402 (propagated-inputs
2403 ;; Referred to in .h files and .pc.
2404 `(("glib" ,glib)))
2405 (home-page "https://www.gnome.org")
2406 (synopsis "Accessing passwords from the GNOME keyring")
2407 (description
2408 "Client library to access passwords from the GNOME keyring.")
2409
2410 ;; Though a couple of files are LGPLv2.1+.
2411 (license license:lgpl2.0+)))
2412
2413 (define-public gnome-keyring
2414 (package
2415 (name "gnome-keyring")
2416 (version "3.34.0")
2417 (source (origin
2418 (method url-fetch)
2419 (uri (string-append "mirror://gnome/sources/" name "/"
2420 (version-major+minor version) "/"
2421 name "-" version ".tar.xz"))
2422 (sha256
2423 (base32
2424 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2425 (build-system gnu-build-system)
2426 (arguments
2427 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2428 ;not exist
2429 #:configure-flags
2430 (list
2431 (string-append "--with-pkcs11-config="
2432 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2433 (string-append "--with-pkcs11-modules="
2434 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2435 #:phases
2436 (modify-phases %standard-phases
2437 (add-after 'unpack 'fix-/bin/sh-reference
2438 (lambda _
2439 (substitute* "po/Makefile.in.in"
2440 (("/bin/sh") (which "sh")))
2441 #t))
2442 (add-after 'unpack 'fix-docbook
2443 (lambda* (#:key inputs #:allow-other-keys)
2444 (substitute* "docs/Makefile.am"
2445 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2446 (string-append (assoc-ref inputs "docbook-xsl")
2447 "/xml/xsl/docbook-xsl-"
2448 ,(package-version docbook-xsl)
2449 "/manpages/docbook.xsl")))
2450 (setenv "XML_CATALOG_FILES"
2451 (string-append (assoc-ref inputs "docbook-xml")
2452 "/xml/dtd/docbook/catalog.xml"))
2453 ;; Rerun the whole thing to avoid version mismatch ("This is
2454 ;; Automake 1.15.1, but the definition used by this
2455 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2456 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2457 (invoke "autoconf")
2458 (invoke "aclocal")
2459 (invoke "automake" "-ac"))))))
2460 (inputs
2461 `(("libgcrypt" ,libgcrypt)
2462 ("linux-pam" ,linux-pam)
2463 ("openssh" ,openssh)
2464 ("dbus" ,dbus)
2465 ("gcr" ,gcr)))
2466 (native-inputs
2467 `(("pkg-config" ,pkg-config)
2468 ("glib" ,glib "bin")
2469 ("glib" ,glib) ; for m4 macros
2470 ("python" ,python-2) ;for tests
2471 ("intltool" ,intltool)
2472 ("autoconf" ,autoconf)
2473 ("automake" ,automake)
2474 ("libxslt" ,libxslt) ;for documentation
2475 ("docbook-xml" ,docbook-xml-4.2)
2476 ("docbook-xsl" ,docbook-xsl)))
2477 (home-page "https://www.gnome.org")
2478 (synopsis "Daemon to store passwords and encryption keys")
2479 (description
2480 "gnome-keyring is a program that keeps passwords and other secrets for
2481 users. It is run as a daemon in the session, similar to ssh-agent, and other
2482 applications locate it via an environment variable or D-Bus.
2483
2484 The program can manage several keyrings, each with its own master password,
2485 and there is also a session keyring which is never stored to disk, but
2486 forgotten when the session ends.")
2487 (license license:lgpl2.1+)))
2488
2489 (define-public evince
2490 (package
2491 (name "evince")
2492 (version "3.36.5")
2493 (source (origin
2494 (method url-fetch)
2495 (uri (string-append "mirror://gnome/sources/evince/"
2496 (version-major+minor version) "/"
2497 "evince-" version ".tar.xz"))
2498 (sha256
2499 (base32
2500 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2501 (build-system glib-or-gtk-build-system)
2502 (arguments
2503 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2504 #:phases
2505 (modify-phases %standard-phases
2506 (add-before 'install 'skip-gtk-update-icon-cache
2507 ;; Don't create 'icon-theme.cache'.
2508 (lambda _
2509 (substitute* "data/Makefile"
2510 (("gtk-update-icon-cache") "true"))
2511 #t)))))
2512 (inputs
2513 `(("libarchive" ,libarchive)
2514 ("libgxps" ,libgxps)
2515 ("libspectre" ,libspectre)
2516 ("djvulibre" ,djvulibre)
2517 ("ghostscript" ,ghostscript)
2518 ("poppler" ,poppler)
2519 ("libtiff" ,libtiff)
2520 ;; TODO:
2521 ;; Build libkpathsea as a shared library for DVI support.
2522 ;; ("libkpathsea" ,texlive-bin)
2523 ("gnome-desktop" ,gnome-desktop)
2524 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2525 ("gspell" ,gspell)
2526 ("libgnome-keyring" ,libgnome-keyring)
2527 ("adwaita-icon-theme" ,adwaita-icon-theme)
2528 ("gdk-pixbuf" ,gdk-pixbuf)
2529 ("atk" ,atk)
2530 ("pango" ,pango)
2531 ("gtk+" ,gtk+)
2532 ("glib" ,glib)
2533 ("libxml2" ,libxml2)
2534 ("libsm" ,libsm)
2535 ("libice" ,libice)
2536 ("shared-mime-info" ,shared-mime-info)
2537 ("dconf" ,dconf)
2538 ("libcanberra" ,libcanberra)
2539 ("libsecret" ,libsecret)
2540
2541 ;; For tests.
2542 ("dogtail" ,python2-dogtail)))
2543 (native-inputs
2544 `(("itstool" ,itstool)
2545 ("intltool" ,intltool)
2546 ("glib" ,glib "bin")
2547 ("gobject-introspection" ,gobject-introspection)
2548 ("pkg-config" ,pkg-config)
2549 ("xmllint" ,libxml2)))
2550 (home-page "https://www.gnome.org/projects/evince/")
2551 (synopsis "GNOME's document viewer")
2552 (description
2553 "Evince is a document viewer for multiple document formats. It
2554 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2555 of Evince is to replace the multiple document viewers that exist
2556 on the GNOME Desktop with a single simple application.")
2557 (license license:gpl2+)))
2558
2559 (define-public gsettings-desktop-schemas
2560 (package
2561 (name "gsettings-desktop-schemas")
2562 (version "3.34.0")
2563 (source
2564 (origin
2565 (method url-fetch)
2566 (uri (string-append "mirror://gnome/sources/" name "/"
2567 (version-major+minor version) "/"
2568 name "-" version ".tar.xz"))
2569 (sha256
2570 (base32
2571 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2572 (build-system meson-build-system)
2573 (arguments
2574 '(#:phases (modify-phases %standard-phases
2575 (add-after 'unpack 'patch-schemas
2576 (lambda* (#:key inputs #:allow-other-keys)
2577 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2578 (substitute* (find-files "schemas"
2579 "\\.gschema\\.xml\\.in$")
2580 ;; Provide the correct file name of the default GNOME
2581 ;; background, 'adwaita-timed.xml'.
2582 (("@datadir@/backgrounds/gnome")
2583 (string-append theme "/share/backgrounds/gnome"))
2584 ;; Do not reference fonts, that may not exist.
2585 (("'Source Code Pro 10'") "'Monospace 11'"))
2586 #t))))))
2587 (inputs
2588 `(("glib" ,glib)
2589 ("gnome-backgrounds" ,gnome-backgrounds)))
2590 (native-inputs
2591 `(("intltool" ,intltool)
2592 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2593 ("gobject-introspection" ,gobject-introspection)
2594 ("pkg-config" ,pkg-config)))
2595 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2596 (synopsis
2597 "GNOME settings for various desktop components")
2598 (description
2599 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2600 for settings shared by various components of the GNOME desktop.")
2601 (license license:lgpl2.1+)))
2602
2603 (define-public python-liblarch
2604 (package
2605 (name "python-liblarch")
2606 (version "3.0.1")
2607 (source
2608 (origin
2609 (method git-fetch)
2610 (uri (git-reference
2611 (url "https://github.com/getting-things-gnome/liblarch")
2612 (commit (string-append "v" version))))
2613 (file-name (git-file-name name version))
2614 (sha256
2615 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2616 (build-system python-build-system)
2617 (arguments
2618 `(#:phases
2619 (modify-phases %standard-phases
2620 (add-before 'check 'start-xserver
2621 (lambda* (#:key inputs #:allow-other-keys)
2622 (system (format #f "~a/bin/Xvfb :1 &"
2623 (assoc-ref inputs "xorg-server")))
2624 (setenv "DISPLAY" ":1")
2625 #t)))))
2626 (native-inputs
2627 `(("xorg-server" ,xorg-server-for-tests)))
2628 (inputs
2629 `(("gtk+" ,gtk+)))
2630 (propagated-inputs
2631 `(("python-pygobject" ,python-pygobject)))
2632 (home-page "https://wiki.gnome.org/Projects/liblarch")
2633 (synopsis "Library to easily handle complex data structures")
2634 (description
2635 "Liblarch is a Python library built to easily handle data structures such
2636 as lists, trees and acyclic graphs. There's also a GTK binding that will
2637 allow you to use your data structure in a @code{Gtk.Treeview}.
2638
2639 Liblarch support multiple views of one data structure and complex filtering.
2640 That way, you have a clear separation between your data themselves (Model)
2641 and how they are displayed (View).")
2642 (license license:lgpl3+)))
2643
2644 (define-public gtg
2645 (package
2646 (name "gtg")
2647 (version "0.4")
2648 (source
2649 (origin
2650 (method git-fetch)
2651 (uri (git-reference
2652 (url "https://github.com/getting-things-gnome/gtg")
2653 (commit (string-append "v" version))))
2654 (file-name (git-file-name name version))
2655 (sha256
2656 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2657 (build-system meson-build-system)
2658 (arguments
2659 `(#:glib-or-gtk? #t
2660 #:phases
2661 (modify-phases %standard-phases
2662 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2663 (lambda* (#:key outputs #:allow-other-keys)
2664 (let ((prog (string-append (assoc-ref outputs "out")
2665 "/bin/gtg"))
2666 (pylib (string-append (assoc-ref outputs "out")
2667 "/lib/python"
2668 ,(version-major+minor
2669 (package-version python))
2670 "/site-packages")))
2671 (wrap-program prog
2672 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2673 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2674 #t))))))
2675 (native-inputs
2676 `(("desktop-file-utils" ,desktop-file-utils)
2677 ("gettext" ,gettext-minimal)
2678 ("glib:bin" ,glib "bin")
2679 ("gobject-introspection" ,gobject-introspection)
2680 ("gtk+:bin" ,gtk+ "bin")
2681 ("pkg-config" ,pkg-config)))
2682 (inputs
2683 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2684 ("gtk+" ,gtk+)
2685 ("python-dbus" ,python-dbus)
2686 ("python-liblarch" ,python-liblarch)
2687 ("python-pycairo" ,python-pycairo)
2688 ("python-pygobject" ,python-pygobject)
2689 ("python-pyxdg" ,python-pyxdg)))
2690 (home-page "https://wiki.gnome.org/Apps/GTG")
2691 (synopsis "Personal organizer for the GNOME desktop")
2692 (description
2693 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2694 organizer for the GNOME desktop environment inspired by the Getting Things
2695 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2696 and ease of use in mind so it can be used as more than just GTD software.
2697 GTG is intended to help you track everything you need to do and need to
2698 know, from small tasks to large projects.")
2699 (license license:gpl3+)))
2700
2701 (define-public icon-naming-utils
2702 (package
2703 (name "icon-naming-utils")
2704 (version "0.8.90")
2705 (source
2706 (origin
2707 (method url-fetch)
2708 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2709 version ".tar.bz2"))
2710 (sha256
2711 (base32
2712 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2713 (build-system gnu-build-system)
2714 (inputs
2715 `(("perl" ,perl)
2716 ("perl-xml-simple" ,perl-xml-simple)))
2717 (arguments
2718 '(#:phases
2719 (modify-phases %standard-phases
2720 (add-after 'install 'set-load-paths
2721 ;; Tell 'icon-name-mapping' where XML::Simple is.
2722 (lambda* (#:key outputs #:allow-other-keys)
2723 (let* ((out (assoc-ref outputs "out"))
2724 (prog (string-append out "/libexec/icon-name-mapping")))
2725 (wrap-program
2726 prog
2727 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2728 #t)))))
2729 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2730 (synopsis
2731 "Utility to implement the Freedesktop Icon Naming Specification")
2732 (description
2733 "To help with the transition to the Freedesktop Icon Naming
2734 Specification, the icon naming utility maps the icon names used by the
2735 GNOME and KDE desktops to the icon names proposed in the specification.")
2736 (license license:lgpl2.1+)))
2737
2738 (define-public gnome-icon-theme
2739 (package
2740 (name "gnome-icon-theme")
2741 (version "3.12.0")
2742 (source
2743 (origin
2744 (method url-fetch)
2745 (uri (string-append "mirror://gnome/sources/" name "/"
2746 (version-major+minor version) "/"
2747 name "-" version ".tar.xz"))
2748 (sha256
2749 (base32
2750 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2751 (build-system gnu-build-system)
2752 (arguments
2753 '(#:configure-flags
2754 ;; Don't create 'icon-theme.cache'.
2755 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2756 (true (string-append coreutils "/bin/true")))
2757 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2758 (native-inputs
2759 `(("icon-naming-utils" ,icon-naming-utils)
2760 ("intltool" ,intltool)
2761 ("pkg-config" ,pkg-config)))
2762 (home-page "https://wiki.gnome.org/Personalization")
2763 (synopsis "GNOME icon theme")
2764 (description "Icons for the GNOME desktop.")
2765 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2766
2767 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2768 (define-public adwaita-icon-theme
2769 (package (inherit gnome-icon-theme)
2770 (name "adwaita-icon-theme")
2771 (version "3.34.3")
2772 (source (origin
2773 (method url-fetch)
2774 (uri (string-append "mirror://gnome/sources/" name "/"
2775 (version-major+minor version) "/"
2776 name "-" version ".tar.xz"))
2777 (sha256
2778 (base32
2779 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2780 (native-inputs
2781 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2782
2783 (define-public tango-icon-theme
2784 (package
2785 (name "tango-icon-theme")
2786 (version "0.8.90")
2787 (source (origin
2788 (method url-fetch)
2789 (uri (string-append "http://tango.freedesktop.org/releases/"
2790 "tango-icon-theme-" version ".tar.bz2"))
2791 (sha256
2792 (base32
2793 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2794 (build-system gnu-build-system)
2795 (native-inputs
2796 `(("icon-naming-utils" ,icon-naming-utils)
2797 ("intltool" ,intltool)
2798 ("imagemagick" ,imagemagick)
2799 ("pkg-config" ,pkg-config)))
2800 (home-page "http://tango-project.org/")
2801 (synopsis "Tango icon theme")
2802 (description "This is an icon theme that follows the Tango visual
2803 guidelines.")
2804 (license license:public-domain)))
2805
2806 (define-public shared-mime-info
2807 (package
2808 (name "shared-mime-info")
2809 (version "1.15")
2810 (source (origin
2811 (method url-fetch)
2812 (uri (string-append
2813 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2814 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2815 ".tar.xz"))
2816 (sha256
2817 (base32
2818 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2819 (build-system gnu-build-system)
2820 (arguments
2821 ;; The build system appears not to be parallel-safe.
2822 '(#:parallel-build? #f))
2823 (inputs
2824 `(("glib" ,glib)
2825 ("libxml2" ,libxml2)))
2826 (native-inputs
2827 `(("gettext" ,gettext-minimal)
2828 ("itstool" ,itstool)
2829 ("pkg-config" ,pkg-config)))
2830 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2831 (synopsis "Database of common MIME types")
2832 (description
2833 "The shared-mime-info package contains the core database of common types
2834 and the update-mime-database command used to extend it. It requires glib2 to
2835 be installed for building the update command. Additionally, it uses intltool
2836 for translations, though this is only a dependency for the maintainers. This
2837 database is translated at Transifex.")
2838 (license license:gpl2+)))
2839
2840 (define-public system-config-printer
2841 (package
2842 (name "system-config-printer")
2843 (version "1.5.13")
2844 (source
2845 (origin
2846 (method url-fetch)
2847 (uri (string-append
2848 "https://github.com/OpenPrinting/system-config-printer/releases/"
2849 "download/v" version
2850 "/system-config-printer-" version ".tar.xz"))
2851 (sha256
2852 (base32 "18dqvi1s971lggkw6pv1sqxixlpg5a8rppzc1pxbanxa91jg18zf"))))
2853 (build-system glib-or-gtk-build-system)
2854 (arguments
2855 `(#:imported-modules ((guix build python-build-system)
2856 ,@%glib-or-gtk-build-system-modules)
2857 #:phases
2858 (modify-phases %standard-phases
2859 (add-after 'unpack 'patch-Makefile.am
2860 (lambda _
2861 ;; The Makefile generates some scripts, so set a valid shebang
2862 (substitute* "Makefile.am"
2863 (("/bin/bash") (which "bash")))
2864 (delete-file "configure")
2865 #t))
2866 (add-after 'unpack 'patch-docbook-xml
2867 (lambda* (#:key inputs #:allow-other-keys)
2868 ;; Modify the man XML otherwise xmlto tries to access the network
2869 (substitute* "man/system-config-printer.xml"
2870 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2871 (string-append (assoc-ref inputs "docbook-xml")
2872 "/xml/dtd/docbook/")))
2873 #t))
2874 (add-after 'install 'wrap-for-python
2875 (@@ (guix build python-build-system) wrap))
2876 (add-after 'install 'wrap
2877 (lambda* (#:key outputs #:allow-other-keys)
2878 (let ((out (assoc-ref outputs "out"))
2879 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2880 (for-each
2881 (lambda (program)
2882 (wrap-program program
2883 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2884 (map (lambda (name)
2885 (string-append out "/bin/" name))
2886 '("system-config-printer"
2887 "system-config-printer-applet"
2888 "install-printerdriver"
2889 "scp-dbus-service"))))
2890 #t)))))
2891 (inputs
2892 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2893 ("gobject-introspection" ,gobject-introspection)
2894 ("python" ,python)
2895 ("cups" ,cups)
2896 ("gtk+" ,gtk+)
2897 ("python-dbus" ,python-dbus)
2898 ("python-pygobject" ,python-pygobject)
2899 ("python-pycups" ,python-pycups)
2900 ("python-requests" ,python-requests)
2901 ("python-pycairo" ,python-pycairo)
2902 ("libnotify" ,libnotify)
2903 ("packagekit" ,packagekit)))
2904 (native-inputs
2905 `(("pkg-config" ,pkg-config)
2906 ("desktop-file-utils" ,desktop-file-utils)
2907 ("glib" ,glib)
2908 ("autoconf" ,autoconf)
2909 ("automake" ,automake)
2910 ("intltool" ,intltool)
2911 ("xmlto" ,xmlto)
2912 ("docbook-xml" ,docbook-xml-4.1.2)
2913 ("docbook-xsl" ,docbook-xsl)
2914 ("libxml2" ,libxml2)))
2915 (home-page "https://github.com/zdohnal/system-config-printer")
2916 (synopsis "CUPS administration tool")
2917 (description
2918 "system-config-printer is a CUPS administration tool. It's written in
2919 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2920 configuring CUPS.")
2921 (license license:gpl2+)))
2922
2923 (define-public hicolor-icon-theme
2924 (package
2925 (name "hicolor-icon-theme")
2926 (version "0.17")
2927 (source
2928 (origin
2929 (method url-fetch)
2930 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2931 "hicolor-icon-theme-" version ".tar.xz"))
2932 (sha256
2933 (base32
2934 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2935 (build-system gnu-build-system)
2936 (arguments
2937 `(#:tests? #f)) ; no check target
2938 (home-page "https://icon-theme.freedesktop.org/releases/")
2939 (synopsis
2940 "Freedesktop icon theme")
2941 (description
2942 "Freedesktop icon theme.")
2943 (license license:gpl2)))
2944
2945 (define-public libnotify
2946 (package
2947 (name "libnotify")
2948 (version "0.7.9")
2949 (source
2950 (origin
2951 (method url-fetch)
2952 (uri (string-append "mirror://gnome/sources/" name "/"
2953 (version-major+minor version) "/"
2954 name "-" version ".tar.xz"))
2955 (sha256
2956 (base32
2957 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
2958 (build-system meson-build-system)
2959 (arguments
2960 `(#:phases
2961 (modify-phases %standard-phases
2962 (add-after 'unpack 'fix-docbook
2963 (lambda* (#:key inputs #:allow-other-keys)
2964 ;; Don't attempt to download XSL schema.
2965 (substitute* "meson.build"
2966 (("http://docbook.sourceforge.net/release/xsl-ns/current\
2967 /manpages/docbook.xsl")
2968 (string-append (assoc-ref inputs "docbook-xsl")
2969 "/xml/xsl/docbook-xsl-"
2970 ,(package-version docbook-xsl)
2971 "/manpages/docbook.xsl")))
2972 #t)))))
2973 (propagated-inputs
2974 `(;; In Requires of libnotify.pc.
2975 ("gdk-pixbuf" ,gdk-pixbuf)
2976 ("glib" ,glib)))
2977 (inputs
2978 `(("gtk+" ,gtk+)
2979 ("libpng" ,libpng)))
2980 (native-inputs
2981 `(("pkg-config" ,pkg-config)
2982 ("glib" ,glib "bin")
2983 ("gobject-introspection" ,gobject-introspection)
2984
2985 ;; For the documentation.
2986 ("gtk-doc" ,gtk-doc)
2987 ("xsltproc" ,libxslt)
2988 ("docbook-xsl" ,docbook-xsl)))
2989 (home-page "https://developer-next.gnome.org/libnotify/")
2990 (synopsis
2991 "GNOME desktop notification library")
2992 (description
2993 "Libnotify is a library that sends desktop notifications to a
2994 notification daemon, as defined in the Desktop Notifications spec. These
2995 notifications can be used to inform the user about an event or display
2996 some form of information without getting in the user's way.")
2997 (license license:lgpl2.1+)))
2998
2999 (define-public libpeas
3000 (package
3001 (name "libpeas")
3002 (version "1.28.0")
3003 (source
3004 (origin
3005 (method url-fetch)
3006 (uri (string-append "mirror://gnome/sources/" name "/"
3007 (version-major+minor version) "/"
3008 name "-" version ".tar.xz"))
3009 (sha256
3010 (base32
3011 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3012 (build-system meson-build-system)
3013 (arguments
3014 '(#:phases
3015 (modify-phases %standard-phases
3016 (add-before 'check 'start-xserver
3017 (lambda* (#:key inputs #:allow-other-keys)
3018 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3019 (disp ":1"))
3020 (setenv "DISPLAY" disp)
3021 ;; Tests require a running X server.
3022 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3023 #t))))))
3024 (inputs
3025 `(("gtk+" ,gtk+)
3026 ("glade" ,glade3)
3027 ("python" ,python)
3028 ("python-pygobject" ,python-pygobject)))
3029 (native-inputs
3030 `(("pkg-config" ,pkg-config)
3031 ("gettext" ,gettext-minimal)
3032 ("glib:bin" ,glib "bin")
3033 ("gobject-introspection" ,gobject-introspection)
3034 ("xorg-server" ,xorg-server-for-tests)))
3035 (propagated-inputs
3036 ;; The .pc file "Requires" gobject-introspection.
3037 `(("gobject-introspection" ,gobject-introspection)))
3038 (home-page "https://wiki.gnome.org/Libpeas")
3039 (synopsis "GObject plugin system")
3040 (description
3041 "Libpeas is a gobject-based plugin engine, targeted at giving every
3042 application the chance to assume its own extensibility. It also has a set of
3043 features including, but not limited to: multiple extension points; on-demand
3044 (lazy) programming language support for C, Python and JS; simplicity of the
3045 API.")
3046 (license license:lgpl2.0+)))
3047
3048 (define-public gtkglext
3049 (package
3050 (name "gtkglext")
3051 (version "1.2.0")
3052 (source (origin
3053 (method url-fetch)
3054 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3055 version "/gtkglext-" version ".tar.gz"))
3056 (sha256
3057 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3058 (patches (search-patches
3059 "gtkglext-disable-disable-deprecated.patch"))))
3060 (build-system gnu-build-system)
3061 (arguments
3062 `(#:phases
3063 (modify-phases %standard-phases
3064 ;; Fix a collision between a local variable and a definition from
3065 ;; glibc's string.h.
3066 (add-after 'unpack 'fix-collision
3067 (lambda _
3068 (substitute* "gdk/gdkglshapes.c"
3069 ((" index") " triangle_index"))
3070 #t)))))
3071 (inputs `(("gtk+" ,gtk+-2)
3072 ("mesa" ,mesa)
3073 ("glu" ,glu)
3074 ("libx11" ,libx11)
3075 ("libxt" ,libxt)))
3076 (native-inputs `(("pkg-config" ,pkg-config)
3077 ("glib" ,glib "bin")))
3078 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3079 (home-page "https://projects.gnome.org/gtkglext")
3080 (synopsis "OpenGL extension to GTK+")
3081 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3082 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3083 API add-ons to make GTK+ widgets OpenGL-capable.")
3084 (license license:lgpl2.1+)))
3085
3086 (define-public glade3
3087 (package
3088 (name "glade")
3089 (version "3.36.0")
3090 (source (origin
3091 (method url-fetch)
3092 (uri (string-append "mirror://gnome/sources/" name "/"
3093 (version-major+minor version) "/"
3094 name "-" version ".tar.xz"))
3095 (sha256
3096 (base32
3097 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3098 (build-system glib-or-gtk-build-system)
3099 (arguments
3100 `(#:phases
3101 (modify-phases %standard-phases
3102 (add-before 'configure 'fix-docbook
3103 (lambda* (#:key inputs #:allow-other-keys)
3104 (substitute* "man/Makefile.in"
3105 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3106 (string-append (assoc-ref inputs "docbook-xsl")
3107 "/xml/xsl/docbook-xsl-"
3108 ,(package-version docbook-xsl)
3109 "/manpages/docbook.xsl")))
3110 #t))
3111 (add-before 'check 'pre-check
3112 (lambda _
3113 (setenv "HOME" "/tmp")
3114 ;; Tests require a running X server.
3115 (system "Xvfb :1 &")
3116 (setenv "DISPLAY" ":1")
3117 #t)))))
3118 (inputs
3119 `(("gtk+" ,gtk+)
3120 ("libxml2" ,libxml2)))
3121 (native-inputs
3122 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3123 ("intltool" ,intltool)
3124 ("itstool" ,itstool)
3125 ("libxslt" ,libxslt) ;for xsltproc
3126 ("docbook-xml" ,docbook-xml-4.2)
3127 ("docbook-xsl" ,docbook-xsl)
3128 ("python" ,python-2)
3129 ("pkg-config" ,pkg-config)
3130 ("xorg-server" ,xorg-server-for-tests)))
3131 (home-page "https://glade.gnome.org")
3132 (synopsis "GTK+ rapid application development tool")
3133 (description "Glade is a rapid application development (RAD) tool to
3134 enable quick & easy development of user interfaces for the GTK+ toolkit and
3135 the GNOME desktop environment.")
3136 (license license:lgpl2.0+)
3137 (native-search-paths (list (search-path-specification
3138 (variable "GLADE_CATALOG_SEARCH_PATH")
3139 (files '("share/glade/catalogs")))
3140 (search-path-specification
3141 (variable "GLADE_MODULE_SEARCH_PATH")
3142 (files '("lib/glade/modules")))))))
3143
3144 (define-public libcroco
3145 (package
3146 (name "libcroco")
3147 (version "0.6.13")
3148 (source (origin
3149 (method url-fetch)
3150 (uri (string-append "mirror://gnome/sources/" name "/"
3151 (version-major+minor version) "/"
3152 name "-" version ".tar.xz"))
3153 (sha256
3154 (base32
3155 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3156 (build-system gnu-build-system)
3157 (native-inputs
3158 `(("pkg-config" ,pkg-config)))
3159 (inputs
3160 `(("glib" ,glib)
3161 ("libxml2" ,libxml2)
3162 ("zlib" ,zlib)))
3163 (home-page "https://github.com/GNOME/libcroco")
3164 (synopsis "CSS2 parsing and manipulation library")
3165 (description
3166 "Libcroco is a standalone CSS2 parsing and manipulation library.
3167 The parser provides a low level event driven SAC-like API and a CSS object
3168 model like API. Libcroco provides a CSS2 selection engine and an experimental
3169 XML/CSS rendering engine.")
3170
3171 ;; LGPLv2.1-only.
3172 (license license:lgpl2.1)))
3173
3174 (define-public libgsf
3175 (package
3176 (name "libgsf")
3177 (version "1.14.47")
3178 (source (origin
3179 (method url-fetch)
3180 (uri (string-append "mirror://gnome/sources/" name "/"
3181 (version-major+minor version) "/"
3182 name "-" version ".tar.xz"))
3183 (sha256
3184 (base32
3185 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3186 (build-system gnu-build-system)
3187 (arguments
3188 '(#:configure-flags '("--disable-static")))
3189 (native-inputs
3190 `(("pkg-config" ,pkg-config)
3191 ("gettext" ,gettext-minimal)
3192
3193 ;; For tests.
3194 ("perl" ,perl)
3195 ("perl-xml-parser" ,perl-xml-parser)))
3196 (inputs
3197 `(("zlib" ,zlib)
3198 ("bzip2" ,bzip2)))
3199 (propagated-inputs
3200 `(("gdk-pixbuf" ,gdk-pixbuf)
3201 ("glib" ,glib)
3202 ("libxml2" ,libxml2)))
3203 (home-page "https://www.gnome.org/projects/libgsf")
3204 (synopsis "GNOME's Structured File Library")
3205 (description
3206 "Libgsf aims to provide an efficient extensible I/O abstraction for
3207 dealing with different structured file formats.")
3208
3209 ;; LGPLv2.1-only.
3210 (license license:lgpl2.1)))
3211
3212 (define-public librsvg
3213 (package
3214 (name "librsvg")
3215 (version "2.40.21")
3216 (source (origin
3217 (method url-fetch)
3218 (uri (string-append "mirror://gnome/sources/" name "/"
3219 (version-major+minor version) "/"
3220 name "-" version ".tar.xz"))
3221 (sha256
3222 (base32
3223 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3224 (build-system gnu-build-system)
3225 (arguments
3226 `(#:configure-flags
3227 (list "--disable-static"
3228 "--enable-vala") ; needed for e.g. gnome-mines
3229 #:phases
3230 (modify-phases %standard-phases
3231 (add-before 'configure 'pre-configure
3232 (lambda* (#:key inputs #:allow-other-keys)
3233 (substitute* "gdk-pixbuf-loader/Makefile.in"
3234 ;; By default the gdk-pixbuf loader is installed under
3235 ;; gdk-pixbuf's prefix. Work around that.
3236 (("gdk_pixbuf_moduledir = .*$")
3237 (string-append "gdk_pixbuf_moduledir = "
3238 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3239 "loaders\n"))
3240 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3241 (("gdk_pixbuf_cache_file = .*$")
3242 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3243 #t))
3244 (add-before 'check 'remove-failing-tests
3245 (lambda _
3246 (with-directory-excursion "tests/fixtures/reftests"
3247 (for-each delete-file
3248 '(;; This test fails on i686:
3249 "svg1.1/masking-path-04-b.svg"
3250 ;; This test fails on armhf:
3251 "svg1.1/masking-mask-01-b.svg"
3252 ;; This test fails on aarch64:
3253 "bugs/777834-empty-text-children.svg")))
3254 #t)))))
3255 (native-inputs
3256 `(("pkg-config" ,pkg-config)
3257 ("vala" ,vala)
3258 ("glib" ,glib "bin") ; glib-mkenums, etc.
3259 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3260 (inputs
3261 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3262 ;; this ancient version of librsvg.
3263 ("pango" ,pango-1.42)
3264 ("libcroco" ,libcroco)
3265 ("bzip2" ,bzip2)
3266 ("libgsf" ,libgsf)
3267 ("libxml2" ,libxml2)))
3268 (propagated-inputs
3269 ;; librsvg-2.0.pc refers to all of that.
3270 `(("cairo" ,cairo)
3271 ("gdk-pixbuf" ,gdk-pixbuf)
3272 ("glib" ,glib)))
3273 (home-page "https://wiki.gnome.org/LibRsvg")
3274 (synopsis "Render SVG files using Cairo")
3275 (description
3276 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3277 library.")
3278 (license license:lgpl2.0+)))
3279
3280 (define-public librsvg-next
3281 (package
3282 (name "librsvg")
3283 (version "2.50.1")
3284 (source (origin
3285 (method url-fetch)
3286 (uri (string-append "mirror://gnome/sources/librsvg/"
3287 (version-major+minor version) "/"
3288 "librsvg-" version ".tar.xz"))
3289 (sha256
3290 (base32
3291 "02csvx2nzygh8kyal2qiy3y6xb7d52vszxxr37dzav704a9pkncv"))
3292 (modules '((guix build utils)))
3293 (snippet
3294 '(begin (delete-file-recursively "vendor")
3295 #t))))
3296 (build-system cargo-build-system)
3297 (outputs '("out" "doc"))
3298 (arguments
3299 `(#:modules
3300 ((guix build cargo-build-system)
3301 (guix build utils)
3302 ((guix build gnu-build-system) #:prefix gnu:))
3303 #:rust ,rust-1.40
3304 #:cargo-inputs
3305 (("rust-bitflags" ,rust-bitflags-1)
3306 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3307 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3308 ("rust-cast" ,rust-cast-0.2)
3309 ("rust-cssparser" ,rust-cssparser-0.27)
3310 ("rust-data-url" ,rust-data-url-0.1)
3311 ("rust-encoding" ,rust-encoding-0.2)
3312 ("rust-float-cmp" ,rust-float-cmp-0.8)
3313 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3314 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3315 ("rust-gio" ,rust-gio-0.8)
3316 ("rust-gio-sys" ,rust-gio-sys-0.9)
3317 ("rust-glib" ,rust-glib-0.9)
3318 ("rust-glib-sys" ,rust-glib-sys-0.9)
3319 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3320 ("rust-itertools" ,rust-itertools-0.9)
3321 ("rust-language-tags" ,rust-language-tags-0.2)
3322 ("rust-libc" ,rust-libc-0.2)
3323 ("rust-locale-config" ,rust-locale-config-0.3)
3324 ("rust-markup5ever" ,rust-markup5ever-0.10)
3325 ("rust-nalgebra" ,rust-nalgebra-0.21)
3326 ("rust-num-traits" ,rust-num-traits-0.2)
3327 ("rust-once-cell" ,rust-once-cell-1)
3328 ("rust-pkg-config" ,rust-pkg-config-0.3)
3329 ("rust-pango" ,rust-pango-0.8)
3330 ("rust-pango-sys" ,rust-pango-sys-0.9)
3331 ("rust-pangocairo" ,rust-pangocairo-0.9)
3332 ("rust-rayon" ,rust-rayon-1)
3333 ("rust-rctree" ,rust-rctree-0.3)
3334 ("rust-rgb" ,rust-rgb-0.8)
3335 ("rust-regex" ,rust-regex-1)
3336 ("rust-selectors" ,rust-selectors-0.22)
3337 ("rust-string-cache" ,rust-string-cache-0.8)
3338 ("rust-tinyvec" ,rust-tinyvec-0.3)
3339 ("rust-url" ,rust-url-2)
3340 ("rust-xml5ever" ,rust-xml5ever-0.16))
3341 #:cargo-development-inputs
3342 (("rust-assert-cmd" ,rust-assert-cmd-1)
3343 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3344 ("rust-chrono" ,rust-chrono-0.4)
3345 ("rust-criterion" ,rust-criterion-0.3)
3346 ("rust-float-cmp" ,rust-float-cmp-0.8)
3347 ("rust-lopdf" ,rust-lopdf-0.25)
3348 ("rust-png" ,rust-png-0.16)
3349 ("rust-predicates" ,rust-predicates-1)
3350 ("rust-tempfile" ,rust-tempfile-3))
3351 #:phases
3352 (modify-phases %standard-phases
3353 (add-after 'unpack 'patch-docbook-xml
3354 (lambda* (#:key inputs #:allow-other-keys)
3355 (with-directory-excursion "doc"
3356 (substitute* "rsvg-docs.xml"
3357 (("http://www.oasis-open.org/docbook/xml/4.3/")
3358 (string-append (assoc-ref inputs "docbook-xml")
3359 "/xml/dtd/docbook/"))))
3360 #t))
3361 (add-after 'unpack 'prepare-for-build
3362 (lambda _
3363 ;; In lieu of #:make-flags
3364 (setenv "CC" ,(cc-for-target))
3365 ;; Something about the build environment resists building
3366 ;; successfully with the '--locked' flag.
3367 (substitute* '("Makefile.am" "Makefile.in")
3368 (("--locked") ""))
3369 #t))
3370 (add-before 'configure 'pre-configure
3371 (lambda _
3372 (substitute* "gdk-pixbuf-loader/Makefile.in"
3373 ;; By default the gdk-pixbuf loader is installed under
3374 ;; gdk-pixbuf's prefix. Work around that.
3375 (("gdk_pixbuf_moduledir = .*$")
3376 (string-append "gdk_pixbuf_moduledir = "
3377 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3378 "loaders\n"))
3379 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3380 (("gdk_pixbuf_cache_file = .*$")
3381 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3382 #t))
3383 (add-after 'configure 'gnu-configure
3384 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3385 ((assoc-ref gnu:%standard-phases 'configure)
3386 #:native-inputs native-inputs
3387 #:inputs inputs
3388 #:outputs outputs
3389 #:configure-flags
3390 (list "--disable-static"
3391 "--enable-vala"
3392 (string-append "--with-html-dir="
3393 (assoc-ref %outputs "doc")
3394 "/share/gtk-doc/html")))))
3395 (add-after 'configure 'dont-vendor-self
3396 (lambda* (#:key vendor-dir #:allow-other-keys)
3397 ;; Don't keep the whole tarball in the vendor directory
3398 (delete-file-recursively
3399 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3400 #t))
3401 (replace 'build
3402 (assoc-ref gnu:%standard-phases 'build))
3403 (add-before 'check 'ignore-failing-tests
3404 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3405 (lambda _
3406 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3407 (("fn background_color_option_invalid_color_yields_error" all)
3408 (string-append "#[ignore] " all))
3409 (("fn empty_input_yields_error" all)
3410 (string-append "#[ignore] " all))
3411 (("fn empty_svg_yields_error" all)
3412 (string-append "#[ignore] " all))
3413 (("fn env_source_data_epoch_empty" all)
3414 (string-append "#[ignore] " all))
3415 (("fn env_source_data_epoch_no_digits" all)
3416 (string-append "#[ignore] " all))
3417 (("fn env_source_data_epoch_trailing_garbage" all)
3418 (string-append "#[ignore] " all))
3419 (("fn export_id_option_error" all)
3420 (string-append "#[ignore] " all))
3421 (("fn huge_zoom_factor_yields_error" all)
3422 (string-append "#[ignore] " all))
3423 (("fn multiple_input_files_not_allowed_for_png_output" all)
3424 (string-append "#[ignore] " all))
3425 (("fn stylesheet_option_error" all)
3426 (string-append "#[ignore] " all)))
3427 #t))
3428 (replace 'check
3429 (lambda* args
3430 ((assoc-ref gnu:%standard-phases 'check)
3431 #:test-target "check")))
3432 (replace 'install
3433 (assoc-ref gnu:%standard-phases 'install)))))
3434 (native-inputs
3435 `(("docbook-xml" ,docbook-xml-4.3)
3436 ("glib" ,glib "bin")
3437 ("gobject-introspection" ,gobject-introspection)
3438 ("pkg-config" ,pkg-config)
3439 ("python" ,python-wrapper)
3440 ("ruby" ,ruby)
3441 ("vala" ,vala)))
3442 (inputs
3443 `(("bzip2" ,bzip2)
3444 ("fontconfig" ,fontconfig)
3445 ("freetype" ,freetype)
3446 ("harfbuzz" ,harfbuzz)
3447 ("libcroco" ,libcroco)
3448 ("libgsf" ,libgsf)
3449 ("libxml2" ,libxml2)
3450 ("pango" ,pango)))
3451 (propagated-inputs
3452 `(("cairo" ,cairo)
3453 ("gdk-pixbuf" ,gdk-pixbuf)
3454 ("glib" ,glib)))
3455 (synopsis "SVG rendering library")
3456 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3457 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3458 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3459 diagrams.")
3460 (home-page "https://wiki.gnome.org/LibRsvg")
3461 (license license:lgpl2.1+)))
3462
3463 (define-public libidl
3464 (package
3465 (name "libidl")
3466 (version "0.8.14")
3467 (source (origin
3468 (method url-fetch)
3469 (uri (string-append "mirror://gnome/sources/libIDL/"
3470 (version-major+minor version) "/"
3471 "libIDL-" version ".tar.bz2"))
3472 (sha256
3473 (base32
3474 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3475 (build-system gnu-build-system)
3476 (inputs `(("glib" ,glib)))
3477 (native-inputs
3478 `(("pkg-config" ,pkg-config)
3479 ("flex" ,flex)
3480 ("bison" ,bison)))
3481 (home-page "http://freecode.com/projects/libidl")
3482 (synopsis "Create trees of CORBA Interface Definition Language files")
3483 (description "Libidl is a library for creating trees of CORBA Interface
3484 Definition Language (idl) files, which is a specification for defining
3485 portable interfaces. libidl was initially written for orbit (the orb from the
3486 GNOME project, and the primary means of libidl distribution). However, the
3487 functionality was designed to be as reusable and portable as possible.")
3488 (properties `((upstream-name . "libIDL")))
3489 (license license:lgpl2.0+)))
3490
3491
3492 (define-public orbit2
3493 (package
3494 (name "orbit2")
3495 (version "2.14.19")
3496 (source (origin
3497 (method url-fetch)
3498 (uri (let ((upstream-name "ORBit2"))
3499 (string-append "mirror://gnome/sources/" upstream-name "/"
3500 (version-major+minor version) "/"
3501 upstream-name "-" version ".tar.bz2")))
3502 (sha256
3503 (base32
3504 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3505 (build-system gnu-build-system)
3506 (arguments
3507 `(;; The "timeout-server" test hangs when run in parallel.
3508 #:parallel-tests? #f
3509 #:configure-flags
3510 '(;; We don't need static libraries, plus they don't build reproducibly
3511 ;; (non-deterministic ordering of .o files in the archive.)
3512 "--disable-static"
3513
3514 ;; The programmer kindly gives us a hook to turn off deprecation
3515 ;; warnings ...
3516 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3517 ;; ... which they then completly ignore !!
3518 #:phases
3519 (modify-phases %standard-phases
3520 (add-before 'configure 'ignore-deprecations
3521 (lambda _
3522 (substitute* "linc2/src/Makefile.in"
3523 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3524 #t)))))
3525 (inputs `(("glib" ,glib)
3526 ("libidl" ,libidl)))
3527 (native-inputs
3528 `(("pkg-config" ,pkg-config)))
3529 (home-page "https://projects.gnome.org/orbit2/")
3530 (synopsis "CORBA 2.4-compliant Object Request Broker")
3531 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3532 featuring mature C, C++ and Python bindings.")
3533 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3534 ;; a version. SOME of the code files have licence notices for GPLv2+.
3535 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3536 (license license:gpl2+)
3537 (properties `((upstream-name . "ORBit2")))))
3538
3539
3540 (define-public libbonobo
3541 (package
3542 (name "libbonobo")
3543 (version "2.32.1")
3544 (source (origin
3545 (method url-fetch)
3546 (uri (string-append "mirror://gnome/sources/" name "/"
3547 (version-major+minor version)
3548 "/" name "-" version ".tar.bz2"))
3549 (sha256
3550 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3551 (patches (search-patches
3552 "libbonobo-activation-test-race.patch"))))
3553 (build-system gnu-build-system)
3554 (arguments
3555 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3556 `(#:configure-flags
3557 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3558 ;; ... which they then completly ignore !!
3559 #:phases
3560 (modify-phases %standard-phases
3561 (add-before 'configure 'ignore-deprecations
3562 (lambda _
3563 (substitute* "activation-server/Makefile.in"
3564 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3565 #t)))
3566
3567 ;; There's apparently a race condition between the server stub
3568 ;; generation and linking of the example under 'samples/echo' that can
3569 ;; lead do undefined references when building in parallel, as reported
3570 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3571 ;; Thus, disable parallel builds.
3572 #:parallel-build? #f))
3573 (inputs `(("popt" ,popt)
3574 ("libxml2" ,libxml2)))
3575 ;; The following are Required by the .pc file
3576 (propagated-inputs
3577 `(("glib" ,glib)
3578 ("orbit2" ,orbit2)))
3579 (native-inputs
3580 `(("intltool" ,intltool)
3581 ("pkg-config" ,pkg-config)
3582 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3583 ("flex" ,flex)
3584 ("bison" ,bison)))
3585 (home-page "https://developer.gnome.org/libbonobo/")
3586 (synopsis "Framework for creating reusable components for use in GNOME applications")
3587 (description "Bonobo is a framework for creating reusable components for
3588 use in GNOME applications, built on top of CORBA.")
3589 ;; Licence not explicitly stated. Source files contain no licence notices.
3590 ;; Tarball contains text of both GPLv2 and LGPLv2
3591 ;; GPLv2 covers both conditions
3592 (license license:gpl2+)))
3593
3594
3595 (define-public gconf
3596 (package
3597 (name "gconf")
3598 (version "3.2.6")
3599 (source (origin
3600 (method url-fetch)
3601 (uri
3602 (let ((upstream-name "GConf"))
3603 (string-append "mirror://gnome/sources/" upstream-name "/"
3604 (version-major+minor version) "/"
3605 upstream-name "-" version ".tar.xz")))
3606 (sha256
3607 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3608 (build-system gnu-build-system)
3609 (inputs `(("dbus-glib" ,dbus-glib)
3610 ("libxml2" ,libxml2)))
3611 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3612 ("orbit2" ,orbit2)))
3613 (native-inputs
3614 `(("intltool" ,intltool)
3615 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3616 ("pkg-config" ,pkg-config)))
3617 (home-page "https://projects.gnome.org/gconf/")
3618 (synopsis "Store application preferences")
3619 (description "Gconf is a system for storing application preferences. It
3620 is intended for user preferences; not arbitrary data storage.")
3621 (license license:lgpl2.0+)
3622 (properties '((upstream-name . "GConf")))))
3623
3624
3625 (define-public gnome-mime-data
3626 (package
3627 (name "gnome-mime-data")
3628 (version "2.18.0")
3629 (source (origin
3630 (method url-fetch)
3631 (uri (string-append "mirror://gnome/sources/" name "/"
3632 (version-major+minor version) "/"
3633 name "-" version ".tar.bz2"))
3634 (sha256
3635 (base32
3636 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3637 (build-system gnu-build-system)
3638 (native-inputs
3639 `(("perl" ,perl)
3640 ("intltool" ,intltool)))
3641 (arguments
3642 '(#:phases (modify-phases %standard-phases
3643 (add-after 'configure 'use-our-intltool
3644 (lambda _
3645 ;; Do not use the bundled intltool commands, which lack
3646 ;; the "dotless @INC" fixes of our 'intltool' package.
3647 (substitute* (find-files "." "^Makefile$")
3648 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3649 (string-append "INTLTOOL_" tool " = intltool-"
3650 (string-downcase tool) "\n")))
3651 #t)))))
3652 (home-page "https://www.gnome.org")
3653 (synopsis "Base MIME and Application database for GNOME")
3654 (description "GNOME Mime Data is a module which contains the base MIME
3655 and Application database for GNOME. The data stored by this module is
3656 designed to be accessed through the MIME functions in GnomeVFS.")
3657 (license license:gpl2+)))
3658
3659
3660 (define-public gnome-vfs
3661 (package
3662 (name "gnome-vfs")
3663 (version "2.24.4")
3664 (source (origin
3665 (method url-fetch)
3666 (uri (string-append "mirror://gnome/sources/" name "/"
3667 (version-major+minor version) "/"
3668 name "-" version ".tar.bz2"))
3669 (sha256
3670 (base32
3671 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3672 (build-system gnu-build-system)
3673 (arguments
3674 `(#:phases
3675 (modify-phases %standard-phases
3676 (add-before 'configure 'ignore-deprecations
3677 (lambda _
3678 (substitute* '("libgnomevfs/Makefile.in"
3679 "daemon/Makefile.in")
3680 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3681 #t))
3682 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3683 (lambda _
3684 (substitute* "test/test-async-cancel.c"
3685 (("EXIT_FAILURE") "77"))
3686 #t)))))
3687 (inputs `(("libxml2" ,libxml2)
3688 ("dbus-glib" ,dbus-glib)
3689 ("gconf" ,gconf)
3690 ("gnome-mime-data" ,gnome-mime-data)
3691 ("zlib" ,zlib)))
3692 (native-inputs
3693 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3694 ("intltool" ,intltool)
3695 ("pkg-config" ,pkg-config)))
3696 (home-page "https://developer.gnome.org/gnome-vfs/")
3697 (synopsis "Access files and folders in GNOME applications")
3698 (description
3699 "GnomeVFS is the core library used to access files and folders in GNOME
3700 applications. It provides a file system abstraction which allows applications
3701 to access local and remote files with a single consistent API.")
3702 (license license:lgpl2.0+)))
3703
3704
3705
3706 (define-public libgnome
3707 (package
3708 (name "libgnome")
3709 (version "2.32.1")
3710 (source (origin
3711 (method url-fetch)
3712 (uri (string-append "mirror://gnome/sources/" name "/"
3713 (version-major+minor version) "/"
3714 name "-" version ".tar.bz2"))
3715 (sha256
3716 (base32
3717 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3718 (patches (search-patches "libgnome-encoding.patch"))))
3719 (build-system gnu-build-system)
3720 (arguments
3721 `(#:phases
3722 (modify-phases %standard-phases
3723 (add-before 'configure 'enable-deprecated
3724 (lambda _
3725 (substitute* "libgnome/Makefile.in"
3726 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3727 #t)))))
3728 (inputs `(("libxml2" ,libxml2)))
3729 (native-inputs
3730 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3731 ("intltool" ,intltool)
3732 ("pkg-config" ,pkg-config)))
3733 ;; The following are listed as Required in the .pc file
3734 ;; (except for libcanberra -- which seems to be oversight on the part
3735 ;; of the upstream developers -- anything that links against libgnome,
3736 ;; must also link against libcanberra
3737 (propagated-inputs
3738 `(("libcanberra" ,libcanberra)
3739 ("libbonobo" ,libbonobo)
3740 ("gconf" ,gconf)
3741 ("gnome-vfs" ,gnome-vfs)
3742 ("popt" ,popt))) ;gnome-program.h includes popt.h
3743 (home-page "https://developer.gnome.org/libgnome/")
3744 (synopsis "Useful routines for building applications")
3745 (description "The libgnome library provides a number of useful routines
3746 for building modern applications, including session management, activation of
3747 files and URIs, and displaying help.")
3748 (license license:lgpl2.0+)))
3749
3750
3751 (define-public libart-lgpl
3752 (package
3753 (name "libart-lgpl")
3754 (version "2.3.21")
3755 (source (origin
3756 (method url-fetch)
3757 (uri (let ((upstream-name "libart_lgpl"))
3758 (string-append "mirror://gnome/sources/" upstream-name "/"
3759 (version-major+minor version) "/"
3760 upstream-name "-" version ".tar.bz2")))
3761 (sha256
3762 (base32
3763 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3764 (build-system gnu-build-system)
3765 (native-inputs
3766 `(("pkg-config" ,pkg-config)))
3767 (home-page "https://people.gnome.org/~mathieu/libart")
3768 (synopsis "2D drawing library")
3769 (description "Libart is a 2D drawing library intended as a
3770 high-quality vector-based 2D library with antialiasing and alpha composition.")
3771 (license license:lgpl2.0+)))
3772
3773
3774
3775 (define-public libgnomecanvas
3776 (package
3777 (name "libgnomecanvas")
3778 (version "2.30.3")
3779 (source (origin
3780 (method url-fetch)
3781 (uri (string-append "mirror://gnome/sources/" name "/"
3782 (version-major+minor version) "/"
3783 name "-" version ".tar.gz"))
3784 (sha256
3785 (base32
3786 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3787 (build-system gnu-build-system)
3788 ;; Mentioned as Required in the .pc file
3789 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3790 ("gtk+" ,gtk+-2)))
3791 (native-inputs
3792 `(("intltool" ,intltool)
3793 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3794 ("pkg-config" ,pkg-config)))
3795 (home-page "https://developer.gnome.org/libgnomecanvas/")
3796 (synopsis "Flexible widget for creating interactive structured graphics")
3797 (description "The GnomeCanvas widget provides a flexible widget for
3798 creating interactive structured graphics.")
3799 (license license:lgpl2.0+)))
3800
3801 (define-public libgnomecanvasmm
3802 (package
3803 (name "libgnomecanvasmm")
3804 (version "2.26.0")
3805 (source (origin
3806 (method url-fetch)
3807 (uri (string-append "mirror://gnome/sources/" name "/"
3808 (version-major+minor version) "/"
3809 name "-" version ".tar.bz2"))
3810 (sha256
3811 (base32
3812 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3813 (build-system gnu-build-system)
3814 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3815 (native-inputs
3816 `(("gtkmm-2" ,gtkmm-2)
3817 ("pkg-config" ,pkg-config)))
3818 (home-page "https://gtkmm.org")
3819 (synopsis "C++ bindings to the GNOME Canvas library")
3820 (description "C++ bindings to the GNOME Canvas library.")
3821 (license license:lgpl2.0+)))
3822
3823 (define-public libgnomeui
3824 (package
3825 (name "libgnomeui")
3826 (version "2.24.5")
3827 (source (origin
3828 (method url-fetch)
3829 (uri (string-append "mirror://gnome/sources/" name "/"
3830 (version-major+minor version) "/"
3831 name "-" version ".tar.bz2"))
3832 (patches (search-patches "libgnomeui-utf8.patch"))
3833 (sha256
3834 (base32
3835 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3836 (build-system gnu-build-system)
3837 ;; Mentioned as Required in the .pc file
3838 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3839 ("libgnome" ,libgnome)
3840 ("libgnomecanvas" ,libgnomecanvas)
3841 ("libgnome-keyring" ,libgnome-keyring)))
3842 (inputs `(("libjpeg" ,libjpeg-turbo)
3843 ("popt" ,popt)
3844 ("libbonobo" ,libbonobo)
3845 ("libxml2" ,libxml2)
3846 ("libglade" ,libglade)))
3847 (native-inputs
3848 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3849 ("intltool" ,intltool)
3850 ("pkg-config" ,pkg-config)))
3851 (home-page "https://developer.gnome.org/libgnomeui/")
3852 (synopsis "Additional widgets for applications")
3853 (description "The libgnomeui library provides additional widgets for
3854 applications. Many of the widgets from libgnomeui have already been
3855 ported to GTK+.")
3856 (license license:lgpl2.0+)))
3857
3858 (define-public libglade
3859 (package
3860 (name "libglade")
3861 (version "2.6.4")
3862 (source (origin
3863 (method url-fetch)
3864 (uri (string-append "mirror://gnome/sources/" name "/"
3865 (version-major+minor version) "/"
3866 name "-" version ".tar.bz2"))
3867 (sha256
3868 (base32
3869 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3870 (build-system gnu-build-system)
3871 (inputs
3872 `(("python" ,python))) ;; needed for the optional libglade-convert program
3873 (propagated-inputs
3874 `(("gtk+-2" ,gtk+-2)
3875 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3876 (native-inputs
3877 `(("pkg-config" ,pkg-config)))
3878 (home-page "https://developer.gnome.org/libglade")
3879 (synopsis "Load glade interfaces and access the glade built widgets")
3880 (description "Libglade is a library that provides interfaces for loading
3881 graphical interfaces described in glade files and for accessing the
3882 widgets built in the loading process.")
3883 (license license:gpl2+))) ; This is correct. GPL not LGPL
3884
3885 (define-public libgnomeprint
3886 ;; This library has been deprecated since 2006; see
3887 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3888 (package
3889 (name "libgnomeprint")
3890 (version "2.18.8")
3891 (source (origin
3892 (method url-fetch)
3893 (uri (string-append "mirror://gnome/sources/" name "/"
3894 (version-major+minor version) "/"
3895 name "-" version ".tar.bz2"))
3896 (sha256
3897 (base32
3898 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3899 (build-system gnu-build-system)
3900 (inputs
3901 `(("popt" ,popt)
3902 ("libart-lgpl" ,libart-lgpl)
3903 ("gtk+" ,gtk+-2)
3904 ("libxml2" ,libxml2)))
3905 (native-inputs
3906 `(("intltool" ,intltool)
3907 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3908 ("pkg-config" ,pkg-config)))
3909 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3910 (synopsis "Printing framework for GNOME")
3911 (description
3912 "GNOME-print was a printing framework for GNOME. It has been deprecated
3913 since ca. 2006, when GTK+ itself incorporated printing support.")
3914 (license license:lgpl2.0+)))
3915
3916
3917 (define-public libgnomeprintui
3918 ;; Deprecated; see libgnomeprint.
3919 (package
3920 (name "libgnomeprintui")
3921 (version "2.18.6")
3922 (source (origin
3923 (method url-fetch)
3924 (uri (string-append "mirror://gnome/sources/" name "/"
3925 (version-major+minor version) "/"
3926 name "-" version ".tar.bz2"))
3927 (sha256
3928 (base32
3929 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
3930 (build-system gnu-build-system)
3931 ;; Mentioned as Required in the .pc file
3932 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
3933 (inputs `(("gtk+" ,gtk+-2)
3934 ("glib" ,glib)
3935 ("gnome-icon-theme" ,gnome-icon-theme)
3936 ("libgnomecanvas" ,libgnomecanvas)
3937 ("libxml2" ,libxml2)))
3938 (native-inputs
3939 `(("intltool" ,intltool)
3940 ("pkg-config" ,pkg-config)))
3941 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3942 (synopsis "Printing framework for GNOME")
3943 (description (package-description libgnomeprint))
3944 (license license:lgpl2.0+)))
3945
3946 (define-public libbonoboui
3947 (package
3948 (name "libbonoboui")
3949 (version "2.24.5")
3950 (source (origin
3951 (method url-fetch)
3952 (uri (string-append "mirror://gnome/sources/" name "/"
3953 (version-major+minor version) "/"
3954 name "-" version ".tar.bz2"))
3955 (sha256
3956 (base32
3957 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3958 (build-system gnu-build-system)
3959 (arguments
3960 `(#:phases
3961 (modify-phases %standard-phases
3962 (add-before 'check 'start-xserver
3963 (lambda* (#:key inputs #:allow-other-keys)
3964 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3965 (disp ":1"))
3966
3967 (setenv "HOME" (getcwd))
3968 (setenv "DISPLAY" disp)
3969 ;; There must be a running X server and make check doesn't start one.
3970 ;; Therefore we must do it.
3971 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3972 ;; Mentioned as Required by the .pc file
3973 (propagated-inputs `(("libxml2" ,libxml2)))
3974 (inputs
3975 `(("popt" ,popt)
3976 ("pangox-compat" ,pangox-compat)
3977 ("libgnome" ,libgnome)
3978 ("libgnomecanvas" ,libgnomecanvas)
3979 ("libglade" ,libglade)))
3980 (native-inputs
3981 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3982 ("intltool" ,intltool)
3983 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3984 ("pkg-config" ,pkg-config)))
3985 (home-page "https://developer.gnome.org/libbonoboui/")
3986 (synopsis "Some user interface controls using Bonobo")
3987 (description "The Bonobo UI library provides a number of user interface
3988 controls using the Bonobo component framework.")
3989 (license license:lgpl2.0+)))
3990
3991 (define-public libwnck
3992 (package
3993 (name "libwnck")
3994 (version "3.32.0")
3995 (source (origin
3996 (method url-fetch)
3997 (uri (string-append "mirror://gnome/sources/" name "/"
3998 (version-major+minor version) "/"
3999 name "-" version ".tar.xz"))
4000 (sha256
4001 (base32
4002 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4003 (build-system meson-build-system)
4004 (native-inputs
4005 `(("pkg-config" ,pkg-config)
4006 ("glib" ,glib "bin") ; for glib-mkenums
4007 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4008 ("intltool" ,intltool)))
4009 (propagated-inputs
4010 `(("gtk+" ,gtk+)
4011 ("libxres" ,libxres)
4012 ("startup-notification" ,startup-notification)))
4013 (home-page "https://developer.gnome.org/libwnck/")
4014 (synopsis "Window Navigator Construction Kit")
4015 (description
4016 "Libwnck is the Window Navigator Construction Kit, a library for use in
4017 writing pagers, tasklists, and more generally applications that are dealing
4018 with window management. It tries hard to respect the Extended Window Manager
4019 Hints specification (EWMH).")
4020 (license license:lgpl2.0+)))
4021
4022 ;; stable version for gtk2, required by xfwm4.
4023 (define-public libwnck-2
4024 (package (inherit libwnck)
4025 (name "libwnck")
4026 (version "2.30.7")
4027 (source (origin
4028 (method url-fetch)
4029 (uri (string-append "mirror://gnome/sources/" name "/"
4030 (version-major+minor version) "/"
4031 name "-" version ".tar.xz"))
4032 (sha256
4033 (base32
4034 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4035 (build-system gnu-build-system)
4036 (native-inputs
4037 `(("pkg-config" ,pkg-config)
4038 ("intltool" ,intltool)))
4039 (propagated-inputs
4040 `(("gtk+" ,gtk+-2)
4041 ("libxres" ,libxres)
4042 ("startup-notification" ,startup-notification)))))
4043
4044 (define-public goffice
4045 (package
4046 (name "goffice")
4047 (version "0.10.48")
4048 (source (origin
4049 (method url-fetch)
4050 (uri (string-append "mirror://gnome/sources/goffice/"
4051 (version-major+minor version) "/"
4052 "goffice-" version ".tar.xz"))
4053 (sha256
4054 (base32 "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4"))))
4055 (build-system gnu-build-system)
4056 (outputs '("out"
4057 "doc")) ; 4.0 MiB of gtk-doc
4058 (arguments
4059 '(#:configure-flags (list (string-append "--with-html-dir="
4060 (assoc-ref %outputs "doc")
4061 "/share/gtk-doc/html"))))
4062 (inputs
4063 `(("gtk+" ,gtk+)
4064 ("libgsf" ,libgsf)
4065 ("librsvg" ,librsvg)
4066 ("libxslt" ,libxslt)
4067 ("libxml2" ,libxml2)))
4068 (native-inputs
4069 `(("intltool" ,intltool)
4070 ("glib" ,glib "bin")
4071 ("pkg-config" ,pkg-config)))
4072 (home-page "https://developer.gnome.org/goffice/")
4073 (synopsis "Document-centric objects and utilities")
4074 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4075 (license
4076 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4077 ;; Note: NOT LGPL
4078 (list license:gpl2 license:gpl3))))
4079
4080 (define-public goffice-0.8
4081 (package (inherit goffice)
4082 (version "0.8.17")
4083 (source (origin
4084 (method url-fetch)
4085 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4086 (version-major+minor version) "/"
4087 (package-name goffice) "-" version ".tar.xz"))
4088 (sha256
4089 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4090 (arguments
4091 `(#:phases
4092 (modify-phases %standard-phases
4093 (add-after 'unpack 'fix-pcre-check
4094 (lambda _
4095 ;; Only glib.h can be included directly. See
4096 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4097 (substitute* "configure"
4098 (("glib/gregex\\.h") "glib.h")) #t)))
4099
4100 ,@(package-arguments goffice)))
4101 (propagated-inputs
4102 ;; libgoffice-0.8.pc mentions libgsf-1
4103 `(("libgsf" ,libgsf)))
4104 (inputs
4105 `(("gtk" ,gtk+-2)
4106 ,@(alist-delete "gtk" (package-inputs goffice))))))
4107
4108 (define-public gnumeric
4109 (package
4110 (name "gnumeric")
4111 (version "1.12.48")
4112 (source (origin
4113 (method url-fetch)
4114 (uri (string-append "mirror://gnome/sources/gnumeric/"
4115 (version-major+minor version) "/"
4116 "gnumeric-" version ".tar.xz"))
4117 (sha256
4118 (base32
4119 "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p"))))
4120 (build-system glib-or-gtk-build-system)
4121 (arguments
4122 `(;; The gnumeric developers don't worry much about failing tests.
4123 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4124 #:tests? #f
4125 #:phases
4126 (modify-phases %standard-phases
4127 (add-before
4128 'configure 'pre-conf
4129 (lambda* (#:key outputs #:allow-other-keys)
4130 ;; Make install tries to write into the directory of goffice
4131 ;; I am informed that this only affects the possibility to embed a
4132 ;; spreadsheet inside an Abiword document. So presumably when we
4133 ;; package Abiword we'll have to refer it to this directory.
4134 (substitute* "configure"
4135 (("^GOFFICE_PLUGINS_DIR=.*")
4136 (string-append "GOFFICE_PLUGINS_DIR="
4137 (assoc-ref outputs "out")
4138 "/goffice/plugins"))))))))
4139 (inputs
4140 `(("glib" ,glib)
4141 ("gtk+" ,gtk+)
4142 ("goffice" ,goffice)
4143 ("libgsf" ,libgsf)
4144 ("librsvg" ,librsvg)
4145 ("libxml2" ,libxml2)
4146 ("libxslt" ,libxslt)
4147 ("python" ,python)
4148 ("python-pygobject" ,python-pygobject)
4149 ("zlib" ,zlib)))
4150 (native-inputs
4151 `(("bison" ,bison)
4152 ("docbook-xml" ,docbook-xml)
4153 ("intltool" ,intltool)
4154 ("itstool" ,itstool)
4155 ("glib:bin" ,glib "bin")
4156 ("pkg-config" ,pkg-config)))
4157 (home-page "http://www.gnumeric.org")
4158 (synopsis "Spreadsheet application")
4159 (description
4160 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4161 interoperable with other spreadsheet applications. It has a vast array of
4162 features beyond typical spreadsheet functionality, such as support for linear
4163 and non-linear solvers, statistical analysis, and telecommunication
4164 engineering.")
4165 (license
4166 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4167 (list license:gpl2 license:gpl3))))
4168
4169 (define-public gnome-themes-standard
4170 (package
4171 (name "gnome-themes-standard")
4172 (version "3.22.3")
4173 (source
4174 (origin
4175 (method url-fetch)
4176 (uri (string-append "mirror://gnome/sources/" name "/"
4177 (version-major+minor version) "/" name "-"
4178 version ".tar.xz"))
4179 (sha256
4180 (base32
4181 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4182 (build-system gnu-build-system)
4183 (arguments
4184 '(#:configure-flags
4185 ;; Don't create 'icon-theme.cache'.
4186 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4187 (true (string-append coreutils "/bin/true")))
4188 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4189 (inputs
4190 `(("gtk+" ,gtk+)
4191 ("gtk+-2" ,gtk+-2)
4192 ("librsvg" ,librsvg)
4193 ("libxml2" ,libxml2)
4194 ("glib" ,glib)))
4195 (native-inputs
4196 `(("intltool" ,intltool)
4197 ("glib:bin" ,glib "bin")
4198 ("pkg-config" ,pkg-config)))
4199 (home-page "https://launchpad.net/gnome-themes-standard")
4200 (synopsis "Default GNOME 3 themes")
4201 (description
4202 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4203 (license license:lgpl2.1+)))
4204
4205 (define-public seahorse
4206 (package
4207 (name "seahorse")
4208 (version "3.36.2")
4209 (source
4210 (origin
4211 (method url-fetch)
4212 (uri (string-append "mirror://gnome/sources/" name "/"
4213 (version-major+minor version) "/" name "-"
4214 version ".tar.xz"))
4215 (sha256
4216 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4217 (build-system meson-build-system)
4218 (arguments
4219 '(#:glib-or-gtk? #t
4220 #:phases
4221 (modify-phases %standard-phases
4222 (add-after 'unpack 'skip-gtk-update-icon-cache
4223 ;; Don't create 'icon-theme.cache'.
4224 (lambda _
4225 (substitute* "build-aux/meson_post_install.py"
4226 (("gtk-update-icon-cache") "true"))
4227 #t)))))
4228 (inputs
4229 `(("gtk+" ,gtk+)
4230 ("gcr" ,gcr)
4231 ("gnupg" ,gnupg)
4232 ("gpgme" ,gpgme)
4233 ("openldap" ,openldap)
4234 ("openssh" ,openssh)
4235 ("avahi" ,avahi)
4236 ("libhandy" ,libhandy-0.0)
4237 ("libpwquality" ,libpwquality)
4238 ("libsecret" ,libsecret)
4239 ("libsoup" ,libsoup)))
4240 (native-inputs
4241 `(("gettext" ,gettext-minimal)
4242 ("glib:bin" ,glib "bin")
4243 ("itstool" ,itstool)
4244 ("pkg-config" ,pkg-config)
4245 ("vala" ,vala)
4246 ("xmllint" ,libxml2)))
4247 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4248 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4249 (description
4250 "Seahorse is a GNOME application for managing encryption keys and
4251 passwords in the GNOME keyring.")
4252 (license license:gpl2+)))
4253
4254 (define-public vala
4255 (package
4256 (name "vala")
4257 (version "0.46.5")
4258 (source (origin
4259 (method url-fetch)
4260 (uri (string-append "mirror://gnome/sources/" name "/"
4261 (version-major+minor version) "/"
4262 name "-" version ".tar.xz"))
4263 (sha256
4264 (base32
4265 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4266 (build-system gnu-build-system)
4267 (arguments
4268 '(#:phases
4269 (modify-phases %standard-phases
4270 (add-before 'check 'pre-check
4271 (lambda _
4272 (setenv "CC" "gcc")
4273 (substitute* "valadoc/tests/testrunner.sh"
4274 (("export PKG_CONFIG_PATH=" m)
4275 (string-append m "$PKG_CONFIG_PATH:")))
4276 ;; For missing '/etc/machine-id'.
4277 (setenv "DBUS_FATAL_WARNINGS" "0")
4278 #t)))))
4279 (native-inputs
4280 `(("pkg-config" ,pkg-config)
4281 ("flex" ,flex)
4282 ("bison" ,bison)
4283 ("xsltproc" ,libxslt)
4284 ("dbus" ,dbus) ; for dbus tests
4285 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4286 (inputs
4287 `(("graphviz" ,graphviz)))
4288 (propagated-inputs
4289 `(("glib" ,glib))) ; required by libvala-0.40.pc
4290 (home-page "https://wiki.gnome.org/Projects/Vala/")
4291 (synopsis "Compiler for the GObject type system")
4292 (description
4293 "Vala is a programming language that aims to bring modern programming
4294 language features to GNOME developers without imposing any additional runtime
4295 requirements and without using a different ABI compared to applications and
4296 libraries written in C.")
4297 (license license:lgpl2.1+)))
4298
4299 (define-public vala-0.50
4300 (package
4301 (inherit vala)
4302 (version "0.50.2")
4303 (source (origin
4304 (method url-fetch)
4305 (uri (string-append "mirror://gnome/sources/vala/"
4306 (version-major+minor version) "/"
4307 "vala-" version ".tar.xz"))
4308 (sha256
4309 (base32
4310 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4311
4312 (define-public vte
4313 (package
4314 (name "vte")
4315 (version "0.60.3")
4316 (source (origin
4317 (method url-fetch)
4318 (uri (string-append "mirror://gnome/sources/vte/"
4319 (version-major+minor version) "/"
4320 "vte-" version ".tar.xz"))
4321 (sha256
4322 (base32
4323 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4324 (build-system meson-build-system)
4325 (arguments
4326 `(#:configure-flags
4327 '("-Dvapi=true"
4328 "-D_systemd=false")))
4329 (native-inputs
4330 `(("pkg-config" ,pkg-config)
4331 ("gettext" ,gettext-minimal)
4332 ("vala" ,vala)
4333 ("gobject-introspection" ,gobject-introspection)
4334 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4335 ("gperf" ,gperf)
4336 ("xmllint" ,libxml2)))
4337 (propagated-inputs
4338 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4339 ("gnutls" ,gnutls) ; ditto
4340 ("pcre2" ,pcre2))) ; ditto
4341 (home-page "https://www.gnome.org/")
4342 (synopsis "Virtual Terminal Emulator")
4343 (description
4344 "VTE is a library (libvte) implementing a terminal emulator widget for
4345 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4346 gnome-terminal, but can also be used to embed a console/terminal in games,
4347 editors, IDEs, etc.")
4348 (license license:lgpl2.1+)))
4349
4350 (define-public vte-ng
4351 (package
4352 (inherit vte)
4353 (name "vte-ng")
4354 (version "0.58.2.a")
4355 (home-page "https://github.com/thestinger/vte-ng")
4356 (source (origin
4357 (method git-fetch)
4358 (uri (git-reference (url home-page) (commit version)))
4359 (file-name (git-file-name name version))
4360 (sha256
4361 (base32
4362 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4363 (build-system meson-build-system)
4364 (native-inputs
4365 `(("gtk-doc" ,gtk-doc)
4366 ,@(package-native-inputs vte)))
4367 (arguments
4368 `(#:configure-flags '("-Ddocs=true")))
4369 (synopsis "Enhanced VTE terminal widget")
4370 (description
4371 "VTE is a library (libvte) implementing a terminal emulator widget for
4372 GTK+, this fork provides additional functions exposed for keyboard text
4373 selection and URL hints.")))
4374
4375 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4376 (define-public vte/gtk+-2
4377 (package (inherit vte)
4378 (name "vte")
4379 (version "0.28.2")
4380 (source (origin
4381 (method url-fetch)
4382 (uri (string-append "mirror://gnome/sources/" name "/"
4383 (version-major+minor version) "/"
4384 name "-" version ".tar.xz"))
4385 (sha256
4386 (base32
4387 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4388 (patches (search-patches
4389 "vte-CVE-2012-2738-pt1.patch"
4390 "vte-CVE-2012-2738-pt2.patch"))))
4391 (build-system gnu-build-system)
4392 (arguments
4393 '(#:configure-flags '("--disable-python")))
4394 (native-inputs
4395 `(("pkg-config" ,pkg-config)
4396 ("intltool" ,intltool)
4397 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4398 (propagated-inputs
4399 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4400 ("ncurses" ,ncurses))))) ; required by libvte.la
4401
4402 (define-public vinagre
4403 (package
4404 (name "vinagre")
4405 (version "3.22.0")
4406 (source (origin
4407 (method url-fetch)
4408 (uri (string-append "mirror://gnome/sources/" name "/"
4409 (version-major+minor version) "/"
4410 name "-" version ".tar.xz"))
4411 (patches (search-patches "vinagre-newer-freerdp.patch"
4412 "vinagre-newer-rdp-parameters.patch"))
4413 (sha256
4414 (base32
4415 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4416 (build-system glib-or-gtk-build-system)
4417 (arguments
4418 ;; Disable -Werror and such, to avoid build failures on compilation
4419 ;; warnings.
4420 '(#:configure-flags '("--enable-compile-warnings=minimum")
4421 #:phases
4422 (modify-phases %standard-phases
4423 (add-before 'install 'skip-gtk-update-icon-cache
4424 (lambda _
4425 ;; Don't create 'icon-theme.cache'
4426 (substitute* (find-files "." "^Makefile$")
4427 (("gtk-update-icon-cache") (which "true")))
4428 #t))
4429 (add-after 'unpack 'patch-configure
4430 (lambda _
4431 (substitute* "configure"
4432 (("freerdp") "freerdp2"))
4433 #t)))))
4434 (native-inputs
4435 `(("pkg-config" ,pkg-config)
4436 ("intltool" ,intltool)
4437 ("itstool" ,itstool)
4438 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4439 (inputs
4440 `(("libxml2" ,libxml2)
4441 ("gtk-vnc" ,gtk-vnc)
4442 ("gnome-keyring" ,gnome-keyring)
4443 ("libsecret" ,libsecret)
4444 ("freerdp" ,freerdp)
4445 ("spice" ,spice)
4446 ("spice-gtk" ,spice-gtk)
4447 ("telepathy-glib" ,telepathy-glib)
4448 ("vte" ,vte)))
4449 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4450 (synopsis "Remote desktop viewer for GNOME")
4451 (description "Vinagre is a remote display client supporting the VNC, SPICE
4452 and RDP protocols.")
4453 (license license:gpl3+)))
4454
4455 (define-public dconf
4456 (package
4457 (name "dconf")
4458 (version "0.36.0")
4459 (source (origin
4460 (method url-fetch)
4461 (uri (string-append
4462 "mirror://gnome/sources/" name "/"
4463 (version-major+minor version) "/"
4464 name "-" version ".tar.xz"))
4465 (sha256
4466 (base32
4467 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4468 (build-system meson-build-system)
4469 (propagated-inputs
4470 ;; In Requires of dconf.pc.
4471 `(("glib" ,glib)))
4472 (inputs
4473 `(("gtk+" ,gtk+)
4474 ("dbus" ,dbus)))
4475 (native-inputs
4476 `(("bash-completion" ,bash-completion)
4477 ("libxslt" ,libxslt) ;for xsltproc
4478 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4479 ("docbook-xml" ,docbook-xml-4.2)
4480 ("docbook-xsl" ,docbook-xsl)
4481 ("glib:bin" ,glib "bin")
4482 ("gtk-doc" ,gtk-doc)
4483 ("pkg-config" ,pkg-config)
4484 ("vala" ,vala)))
4485 (arguments
4486 `(#:glib-or-gtk? #t
4487 #:configure-flags '("-Denable-gtk-doc=true")
4488 #:phases (modify-phases %standard-phases
4489 (add-after 'unpack 'increase-test-timeout
4490 (lambda _
4491 ;; On big-memory systems, the engine test may take
4492 ;; much longer than the default of 30 seconds.
4493 (substitute* "tests/meson.build"
4494 (("test\\(unit_test\\[0\\], exe" all)
4495 (string-append all ", timeout : 90")))
4496 #t)))))
4497 (home-page "https://developer.gnome.org/dconf/")
4498 (synopsis "Low-level GNOME configuration system")
4499 (description "Dconf is a low-level configuration system. Its main purpose
4500 is to provide a backend to GSettings on platforms that don't already have
4501 configuration storage systems.")
4502 (license license:lgpl2.1+)))
4503
4504 (define-public json-glib
4505 (package
4506 (name "json-glib")
4507 (version "1.4.4")
4508 (source (origin
4509 (method url-fetch)
4510 (uri (string-append "mirror://gnome/sources/" name "/"
4511 (version-major+minor version) "/"
4512 name "-" version ".tar.xz"))
4513 (sha256
4514 (base32
4515 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4516 (build-system meson-build-system)
4517 (native-inputs
4518 `(("gettext" ,gettext-minimal)
4519 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4520 ("gobject-introspection" ,gobject-introspection)
4521 ("pkg-config" ,pkg-config)))
4522 (propagated-inputs
4523 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4524 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4525 (synopsis "Compiler for the GObject type system")
4526 (description
4527 "JSON-GLib is a C library based on GLib providing serialization and
4528 deserialization support for the JavaScript Object Notation (JSON) format
4529 described by RFC 4627. It provides parser and generator GObject classes and
4530 various wrappers for the complex data types employed by JSON, such as arrays
4531 and objects.")
4532 (license license:lgpl2.1+)))
4533
4534 (define-public libxklavier
4535 (package
4536 (name "libxklavier")
4537 (version "5.4")
4538 (source (origin
4539 ;; Note: There's no tarball at ftp.gnome.org for this version.
4540 (method git-fetch)
4541 (uri (git-reference
4542 (url "https://anongit.freedesktop.org/git/libxklavier")
4543 (commit (string-append "libxklavier-" version))))
4544 (sha256
4545 (base32
4546 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4547 (file-name (git-file-name name version))))
4548 (build-system gnu-build-system)
4549 (arguments
4550 '(#:configure-flags
4551 (list (string-append "--with-xkb-base="
4552 (assoc-ref %build-inputs "xkeyboard-config")
4553 "/share/X11/xkb")
4554 "--disable-xmodmap-support")))
4555 (native-inputs
4556 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4557 ("gobject-introspection" ,gobject-introspection)
4558 ("pkg-config" ,pkg-config)
4559 ("gtk-doc" ,gtk-doc)
4560 ("intltool" ,intltool)
4561 ("which" ,which)
4562 ("autoconf" ,autoconf)
4563 ("automake" ,automake)
4564 ("libtool" ,libtool)))
4565 (propagated-inputs
4566 ;; Required by libxklavier.pc.
4567 `(("glib" ,glib)
4568 ("libxml2" ,libxml2)))
4569 (inputs
4570 `(("iso-codes" ,iso-codes)
4571 ("libxi" ,libxi)
4572 ("libxkbfile" ,libxkbfile)
4573 ("xkbcomp" ,xkbcomp)
4574 ("xkeyboard-config" ,xkeyboard-config)))
4575 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4576 (synopsis "High-level API for X Keyboard Extension")
4577 (description
4578 "LibXklavier is a library providing high-level API for X Keyboard
4579 Extension known as XKB. This library is intended to support XFree86 and other
4580 commercial X servers. It is useful for creating XKB-related software (layout
4581 indicators etc).")
4582 (license license:lgpl2.0+)))
4583
4584 (define-public python2-rsvg
4585 ;; XXX: This is actually a subset of gnome-python-desktop.
4586 (package
4587 (name "python2-rsvg")
4588 (version "2.32.0")
4589 (source
4590 (origin
4591 (method url-fetch)
4592 (uri (string-append
4593 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4594 version ".tar.bz2"))
4595 (sha256
4596 (base32
4597 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4598 (build-system gnu-build-system)
4599 (native-inputs
4600 `(("pkg-config" ,pkg-config)))
4601 (inputs
4602 `(("python" ,python-2)
4603 ("python2-pygtk" ,python2-pygtk)
4604 ("librsvg" ,librsvg)))
4605 (home-page "https://www.gnome.org")
4606 (synopsis "Python bindings to librsvg")
4607 (description
4608 "This package provides Python bindings to librsvg, the SVG rendering
4609 library.")
4610
4611 ;; This is the license of the rsvg bindings. The license of each module
4612 ;; of gnome-python-desktop is given in 'COPYING'.
4613 (license license:lgpl2.1+)))
4614
4615 (define-public glib-networking
4616 (package
4617 (name "glib-networking")
4618 (version "2.62.2")
4619 (source (origin
4620 (method url-fetch)
4621 (uri (string-append "mirror://gnome/sources/glib-networking/"
4622 (version-major+minor version) "/"
4623 "glib-networking-" version ".tar.xz"))
4624 (sha256
4625 (base32
4626 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4627 (build-system meson-build-system)
4628 (arguments
4629 `(#:configure-flags '("-Dlibproxy_support=false")))
4630 (native-inputs
4631 `(("pkg-config" ,pkg-config)
4632 ("intltool" ,intltool)))
4633 (inputs
4634 `(("glib" ,glib)
4635 ("gnutls" ,gnutls)
4636 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4637 (home-page "https://www.gnome.org")
4638 (synopsis "Network-related GIO modules")
4639 (description
4640 "This package contains various network related extensions for the GIO
4641 library.")
4642 (license license:lgpl2.0+)))
4643
4644 (define-public rest
4645 (package
4646 (name "rest")
4647 (version "0.8.1")
4648 (source (origin
4649 (method url-fetch)
4650 (uri (string-append "mirror://gnome/sources/rest/"
4651 (version-major+minor version) "/"
4652 name "-" version ".tar.xz"))
4653 (sha256
4654 (base32
4655 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4656 (build-system gnu-build-system)
4657 (arguments
4658 '(#:tests? #f ; tests require internet connection
4659 #:configure-flags
4660 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4661 (native-inputs
4662 `(("glib-mkenums" ,glib "bin")
4663 ("gobject-introspection" ,gobject-introspection)
4664 ("pkg-config" ,pkg-config)))
4665 (propagated-inputs
4666 ;; rest-0.7.pc refers to all these.
4667 `(("glib" ,glib)
4668 ("libsoup" ,libsoup)
4669 ("libxml2" ,libxml2)))
4670 (home-page "https://www.gtk.org/")
4671 (synopsis "RESTful web api query library")
4672 (description
4673 "This library was designed to make it easier to access web services that
4674 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4675 libxml to ease remote use of the RESTful API.")
4676 (license license:lgpl2.1+)))
4677
4678 (define-public libsoup
4679 (package
4680 (name "libsoup")
4681 (version "2.72.0")
4682 (source (origin
4683 (method url-fetch)
4684 (uri (string-append "mirror://gnome/sources/libsoup/"
4685 (version-major+minor version) "/"
4686 "libsoup-" version ".tar.xz"))
4687 (sha256
4688 (base32
4689 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4690 (build-system meson-build-system)
4691 (outputs '("out" "doc"))
4692 (arguments
4693 `(#:modules ((guix build utils)
4694 (guix build meson-build-system)
4695 (ice-9 popen))
4696
4697 #:configure-flags '("-Dgtk_doc=true")
4698 #:phases
4699 (modify-phases %standard-phases
4700 (add-after 'unpack 'patch-docbook-xml
4701 (lambda* (#:key inputs #:allow-other-keys)
4702 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4703 "/xml/dtd/docbook")))
4704 (substitute* (find-files "docs/reference")
4705 (("http://.*/docbookx\\.dtd")
4706 (string-append xmldoc "/docbookx.dtd")))
4707 #t)))
4708 (add-after 'unpack 'adjust-tests
4709 (lambda _
4710 ;; This test fails due to missing /etc/nsswitch.conf
4711 ;; in the build environment.
4712 (substitute* "tests/socket-test.c"
4713 ((".*/sockets/unconnected.*") ""))
4714
4715 ;; These fail because "subdomain.localhost" does not resolve in
4716 ;; the build environment.
4717 (substitute* "tests/hsts-test.c"
4718 ((".*/hsts/basic.*") "")
4719 ((".*/hsts/subdomains.*") "")
4720 ((".*/hsts/superdomain.*") "")
4721 ((".*/hsts/utf8-address.*") ""))
4722 (substitute* "tests/hsts-db-test.c"
4723 ((".*/hsts-db/subdomains.*") ""))
4724
4725 ;; Generate a self-signed certificate that has "localhost" as its
4726 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4727 ;; 3.5.12, tests such as "ssl-tests" fail:
4728 ;;
4729 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4730 ;;
4731 ;; 'certtool' is interactive so we have to pipe it the answers.
4732 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4733 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4734 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4735 (for-each (lambda (line)
4736 (display line pipe)
4737 (newline pipe))
4738 '("" ;Common name
4739 "" ;UID
4740 "Guix" ;Organizational unit name
4741 "GNU" ;Organization name
4742 "" ;Locality name
4743 "" ;State or province
4744 "" ;Country
4745 "" ;subject's domain component (DC)
4746 "" ;E-mail
4747 "" ;serial number
4748 "-1" ;expiration time
4749 "N" ;belong to authority?
4750 "N" ;web client certificate?
4751 "N" ;IPsec IKE?
4752 "Y" ;web server certificate?
4753 "localhost" ;dnsName of subject
4754 "" ;dnsName of subject (end)
4755 "" ;URI of subject
4756 "127.0.0.1" ;IP address of subject
4757 "" ;signing?
4758 "" ;encryption (RSA)?
4759 "" ;data encryption?
4760 "" ;sign OCSP requests?
4761 "" ;sign code?
4762 "" ;time stamping?
4763 "" ;email protection?
4764 "" ;URI of the CRL distribution point
4765 "y" ;above info OK?
4766 ))
4767 (close-pipe pipe))
4768 #t))
4769 (add-after 'install 'move-doc
4770 (lambda* (#:key outputs #:allow-other-keys)
4771 (let ((out (assoc-ref outputs "out"))
4772 (doc (assoc-ref outputs "doc")))
4773 (mkdir-p (string-append doc "/share"))
4774 (copy-recursively (string-append out "/share/gtk-doc")
4775 (string-append doc "/share/gtk-doc"))
4776 (delete-file-recursively (string-append out "/share/gtk-doc"))
4777 #t))))))
4778 (native-inputs
4779 `(("docbook-xml" ,docbook-xml-4.1.2)
4780 ("glib:bin" ,glib "bin") ; for glib-mkenums
4781 ("gobject-introspection" ,gobject-introspection)
4782 ("gtk-doc" ,gtk-doc)
4783 ("intltool" ,intltool)
4784 ("pkg-config" ,pkg-config)
4785 ("python" ,python-wrapper)
4786 ("vala" ,vala)
4787 ("php" ,php)
4788 ("curl" ,curl)
4789 ("gnutls" ,gnutls) ;for 'certtool'
4790 ("httpd" ,httpd)))
4791 (propagated-inputs
4792 ;; libsoup-2.4.pc refers to all these.
4793 `(("brotli" ,google-brotli)
4794 ("glib" ,glib)
4795 ("libpsl" ,libpsl)
4796 ("libxml2" ,libxml2)
4797 ("sqlite" ,sqlite)
4798 ("zlib" ,zlib)))
4799 (inputs
4800 `(("glib-networking" ,glib-networking)
4801 ("mit-krb5" ,mit-krb5)))
4802 (home-page "https://live.gnome.org/LibSoup/")
4803 (synopsis "GLib-based HTTP Library")
4804 (description
4805 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4806 and the GLib main loop, to integrate well with GNOME applications.")
4807 (license license:lgpl2.0+)))
4808
4809
4810 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4811 (define-public libsoup-minimal
4812 (package
4813 (inherit libsoup)
4814 (name "libsoup-minimal")
4815 (outputs (delete "doc" (package-outputs libsoup)))
4816 (arguments
4817 (substitute-keyword-arguments (package-arguments libsoup)
4818 ((#:configure-flags configure-flags)
4819 `(delete "-Dgtk_doc=true" ,configure-flags))
4820 ((#:phases phases)
4821 `(modify-phases ,phases
4822 (delete 'move-doc)))))
4823 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4824
4825 (define-public libsecret
4826 (package
4827 (name "libsecret")
4828 (version "0.20.4")
4829 (source (origin
4830 (method url-fetch)
4831 (uri (string-append
4832 "mirror://gnome/sources/libsecret/"
4833 (version-major+minor version) "/"
4834 "libsecret-" version ".tar.xz"))
4835 (sha256
4836 (base32
4837 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4838 (build-system gnu-build-system)
4839 (outputs '("out" "doc"))
4840 (arguments
4841 `(#:tests? #f ; FIXME: Testing hangs.
4842 #:configure-flags
4843 (list (string-append "--with-html-dir="
4844 (assoc-ref %outputs "doc")
4845 "/share/gtk-doc/html"))))
4846 (native-inputs
4847 `(("gettext" ,gettext-minimal)
4848 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4849 ("gobject-introspection" ,gobject-introspection)
4850 ("pkg-config" ,pkg-config)
4851 ("vala" ,vala)
4852 ("xsltproc" ,libxslt)))
4853 ;; These are needed for the tests.
4854 ;; FIXME: Add gjs once available.
4855 ;("dbus" ,dbus)
4856 ;("python2" ,python-2)
4857 ;("python2-dbus" ,python2-dbus)
4858 ;("python2-pygobject" ,python2-pygobject)
4859 ;("python2-pygobject-2" ,python2-pygobject-2)))
4860 (propagated-inputs
4861 `(("glib" ,glib))) ; required by libsecret-1.pc
4862 (inputs
4863 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4864 ;; doesn't seem to affect the build result.
4865 `(("docbook-xsl" ,docbook-xsl)
4866 ("libgcrypt" ,libgcrypt)
4867 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4868 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4869 (synopsis "GObject bindings for \"Secret Service\" API")
4870 (description
4871 "Libsecret is a GObject based library for storing and retrieving passwords
4872 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4873 (license license:lgpl2.1+)))
4874
4875 (define-public five-or-more
4876 (package
4877 (name "five-or-more")
4878 (version "3.32.2")
4879 (source
4880 (origin
4881 (method url-fetch)
4882 (uri (string-append "mirror://gnome/sources/five-or-more/"
4883 (version-major+minor version) "/"
4884 "five-or-more-" version ".tar.xz"))
4885 (sha256
4886 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4887 (build-system meson-build-system)
4888 (arguments
4889 '(#:glib-or-gtk? #t
4890 #:phases
4891 (modify-phases %standard-phases
4892 (add-after 'unpack 'skip-gtk-update-icon-cache
4893 (lambda _
4894 (substitute* "meson_post_install.py"
4895 (("gtk-update-icon-cache") (which "true")))
4896 #t)))))
4897 (native-inputs
4898 `(("pkg-config" ,pkg-config)
4899 ("appstream-glib" ,appstream-glib)
4900 ("desktop-file-utils" ,desktop-file-utils)
4901 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4902 ("intltool" ,intltool)
4903 ("itstool" ,itstool)
4904 ("vala" ,vala)
4905 ("xmllint" ,libxml2)))
4906 (inputs
4907 `(("gtk+" ,gtk+)
4908 ("libgnome-games-support" ,libgnome-games-support)
4909 ("librsvg" ,librsvg)))
4910 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4911 (synopsis "Logic puzzle game")
4912 (description "Five or More is a game where you try to align
4913 five or more objects of the same color and shape causing them to disappear.
4914 On every turn more objects will appear, until the board is full.
4915 Try to last as long as possible.")
4916 (license license:gpl2+)))
4917
4918 (define-public gnome-mines
4919 (package
4920 (name "gnome-mines")
4921 (version "3.36.1")
4922 (source
4923 (origin
4924 (method url-fetch)
4925 (uri (string-append "mirror://gnome/sources/" name "/"
4926 (version-major+minor version) "/"
4927 name "-" version ".tar.xz"))
4928 (sha256
4929 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
4930 (build-system meson-build-system)
4931 (arguments
4932 '(#:glib-or-gtk? #t
4933 #:phases
4934 (modify-phases %standard-phases
4935 (add-after 'unpack 'skip-gtk-update-icon-cache
4936 (lambda _
4937 (substitute* "build-aux/meson_post_install.py"
4938 (("gtk-update-icon-cache") (which "true")))
4939 #t)))))
4940 (native-inputs
4941 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4942 ("pkg-config" ,pkg-config)
4943 ("desktop-file-utils" ,desktop-file-utils)
4944 ("intltool" ,intltool)
4945 ("itstool" ,itstool)
4946 ("vala" ,vala)
4947 ("yelp" ,yelp)
4948 ("appstream-glib" ,appstream-glib)))
4949 (inputs
4950 `(("gtk+" ,gtk+)
4951 ("libgnome-games-support" ,libgnome-games-support)
4952 ("librsvg" ,librsvg)))
4953 (home-page "https://wiki.gnome.org/Apps/Mines")
4954 (synopsis "Minesweeper game")
4955 (description
4956 "Mines (previously gnomine) is a puzzle game where you locate mines
4957 floating in an ocean using only your brain and a little bit of luck.")
4958 (license license:gpl2+)))
4959
4960 (define-public gnome-multi-writer
4961 (package
4962 (name "gnome-multi-writer")
4963 (version "3.35.90")
4964 (source
4965 (origin
4966 (method url-fetch)
4967 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
4968 (version-major+minor version) "/"
4969 "gnome-multi-writer-" version ".tar.xz"))
4970 (sha256
4971 (base32
4972 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
4973 (build-system meson-build-system)
4974 (arguments
4975 '(#:glib-or-gtk? #t
4976 #:phases
4977 (modify-phases %standard-phases
4978 (add-after 'unpack 'skip-post-install
4979 (lambda _
4980 (substitute* "meson.build"
4981 (("meson.add_install_script" &) (string-append "# " &)))
4982 #t)))))
4983 (native-inputs
4984 `(("glib:bin" ,glib "bin")
4985 ("pkg-config" ,pkg-config)))
4986 (inputs
4987 `(("gtk+" ,gtk+)
4988 ("glib" ,glib) ; for gio
4989 ("gusb" ,gusb)
4990 ("udisks" ,udisks)
4991 ("libgudev" ,libgudev)
4992 ("libcanberra" ,libcanberra)
4993 ("polkit" ,polkit)))
4994 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
4995 (synopsis "Write to multiple USB devices at once")
4996 (description
4997 "MultiWriter can be used to write an ISO file to multiple USB devices at
4998 once.")
4999 (license license:gpl2+)))
5000
5001 (define-public gnome-sudoku
5002 (package
5003 (name "gnome-sudoku")
5004 (version "3.34.1")
5005 (source
5006 (origin
5007 (method url-fetch)
5008 (uri (string-append "mirror://gnome/sources/" name "/"
5009 (version-major+minor version) "/"
5010 name "-" version ".tar.xz"))
5011 (sha256
5012 (base32
5013 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5014 (build-system meson-build-system)
5015 (arguments
5016 '(#:glib-or-gtk? #t
5017 #:phases
5018 (modify-phases %standard-phases
5019 (add-after 'unpack 'skip-gtk-update-icon-cache
5020 (lambda _
5021 (substitute* "build-aux/post_install.py"
5022 (("gtk-update-icon-cache") (which "true")))
5023 #t)))))
5024 (native-inputs
5025 `(("pkg-config" ,pkg-config)
5026 ("desktop-file-utils" ,desktop-file-utils)
5027 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5028 ("intltool" ,intltool)
5029 ("itstool" ,itstool)
5030 ("vala" ,vala)
5031 ("xmllint" ,libxml2)))
5032 (inputs
5033 `(("gtk+" ,gtk+)
5034 ("json-glib" ,json-glib)
5035 ("libgee" ,libgee)
5036 ("librsvg" ,librsvg)
5037 ("qqwing" ,qqwing)))
5038 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5039 (synopsis "Japanese logic game")
5040 (description
5041 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5042 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5043 possible while still providing features that make playing difficult Sudoku
5044 more fun.")
5045 (license license:gpl2+)))
5046
5047 (define-public gnome-terminal
5048 (package
5049 (name "gnome-terminal")
5050 (version "3.34.2")
5051 (source
5052 (origin
5053 (method url-fetch)
5054 (uri (string-append "mirror://gnome/sources/" name "/"
5055 (version-major+minor version) "/"
5056 name "-" version ".tar.xz"))
5057 (sha256
5058 (base32
5059 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5060 (build-system glib-or-gtk-build-system)
5061 (arguments
5062 '(#:configure-flags
5063 (list "--disable-migration" "--disable-search-provider"
5064 "--without-nautilus-extension")
5065 #:phases
5066 (modify-phases %standard-phases
5067 (add-before 'configure 'patch-/bin/true
5068 (lambda _
5069 (substitute* "configure"
5070 (("/bin/true") (which "true"))))))))
5071 (native-inputs
5072 `(("pkg-config" ,pkg-config)
5073 ("desktop-file-utils" ,desktop-file-utils)
5074 ("intltool" ,intltool)
5075 ("itstool" ,itstool)
5076 ("xmllint" ,libxml2)))
5077 (propagated-inputs
5078 `(("dconf" ,dconf)))
5079 (inputs
5080 `(("gtk+" ,gtk+)
5081 ("vte" ,vte)
5082 ("gnutls" ,gnutls)
5083 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5084 ("util-linux" ,util-linux "lib")
5085 ("vala" ,vala)))
5086 (home-page "https://wiki.gnome.org/Apps/Terminal")
5087 (synopsis "Terminal emulator")
5088 (description
5089 "GNOME Terminal is a terminal emulator application for accessing a
5090 UNIX shell environment which can be used to run programs available on
5091 your system.
5092
5093 It supports several profiles, multiple tabs and implements several
5094 keyboard shortcuts.")
5095 (license license:gpl3+)))
5096
5097 (define-public colord
5098 (package
5099 (name "colord")
5100 (version "1.4.5")
5101 (source
5102 (origin
5103 (method url-fetch)
5104 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5105 "colord-" version ".tar.xz"))
5106 (sha256
5107 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5108 (build-system meson-build-system)
5109 (arguments
5110 '(;; FIXME: One test fails:
5111 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5112 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5113 ;; application/x-zerosize
5114 #:tests? #f
5115 #:glib-or-gtk? #t
5116 #:configure-flags (list "-Dlocalstatedir=/var"
5117 ;; No dep on systemd.
5118 "-Dsystemd=false"
5119 ;; Wants to install to global completion dir;
5120 ;; punt.
5121 "-Dbash_completion=false"
5122 "-Ddaemon_user=colord"
5123 "-Dsane=true"
5124 "-Dvapi=true"
5125 ;; Requires spotread.
5126 "-Dargyllcms_sensor=false"
5127 ;; TODO: Requires docbook2x.
5128 "-Dman=false")
5129 #:phases
5130 (modify-phases %standard-phases
5131 (add-before 'configure 'patch-build-system
5132 (lambda* (#:key outputs #:allow-other-keys)
5133 (substitute* "rules/meson.build"
5134 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5135 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5136 #t))
5137 (add-before 'configure 'set-sqlite3-file-name
5138 (lambda* (#:key inputs #:allow-other-keys)
5139 ;; "colormgr dump" works by invoking the "sqlite3" command.
5140 ;; Record its absolute file name.
5141 (let ((sqlite (assoc-ref inputs "sqlite")))
5142 (substitute* "client/cd-util.c"
5143 (("\"sqlite3\"")
5144 (string-append "\"" sqlite "/bin/sqlite3\"")))
5145 #t))))))
5146 (native-inputs
5147 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5148 ("gettext" ,gettext-minimal)
5149 ("gobject-introspection" ,gobject-introspection)
5150 ("gtk-doc" ,gtk-doc)
5151 ("pkg-config" ,pkg-config)
5152 ("vala" ,vala)))
5153 (propagated-inputs
5154 ;; colord.pc refers to all these.
5155 `(("glib" ,glib)
5156 ("lcms" ,lcms)
5157 ("udev" ,eudev)))
5158 (inputs
5159 `(("dbus-glib" ,dbus-glib)
5160 ("gusb" ,gusb)
5161 ("libgudev" ,libgudev)
5162 ("libusb" ,libusb)
5163 ("polkit" ,polkit)
5164 ("python" ,python-wrapper)
5165 ("sqlite" ,sqlite)
5166 ("sane-backends" ,sane-backends)))
5167 (home-page "https://www.freedesktop.org/software/colord/")
5168 (synopsis "Color management service")
5169 (description "Colord is a system service that makes it easy to manage,
5170 install and generate color profiles to accurately color manage input and
5171 output devices.")
5172 (license license:gpl2+)))
5173
5174 (define-public geoclue
5175 (package
5176 (name "geoclue")
5177 (version "2.5.6")
5178 (source
5179 (origin
5180 (method url-fetch)
5181 (uri
5182 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5183 version "/geoclue-" version ".tar.bz2"))
5184 (sha256
5185 (base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
5186 (patches (search-patches "geoclue-config.patch"))))
5187 (build-system meson-build-system)
5188 (arguments
5189 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5190 (native-inputs
5191 `(("pkg-config" ,pkg-config)
5192 ("gobject-introspection" ,gobject-introspection)
5193 ("modem-manager" ,modem-manager)
5194 ("libnotify" ,libnotify)
5195 ("gtk-doc" ,gtk-doc)
5196 ("intltool" ,intltool)))
5197 (inputs
5198 `(("avahi" ,avahi)
5199 ("glib:bin" ,glib "bin")
5200 ("glib-networking" ,glib-networking)
5201 ("json-glib" ,json-glib)
5202 ("libsoup" ,libsoup)))
5203 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5204 (synopsis "Geolocation service")
5205 (description "Geoclue is a D-Bus service that provides location
5206 information. The primary goal of the Geoclue project is to make creating
5207 location-aware applications as simple as possible, while the secondary goal is
5208 to ensure that no application can access location information without explicit
5209 permission from user.")
5210 (license license:gpl2+)))
5211
5212 (define-public geocode-glib
5213 (package
5214 (name "geocode-glib")
5215 (version "3.26.2")
5216 (source (origin
5217 (method url-fetch)
5218 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5219 (version-major+minor version) "/"
5220 "geocode-glib-" version ".tar.xz"))
5221 (sha256
5222 (base32
5223 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5224 (build-system meson-build-system)
5225 (arguments
5226 `(#:phases
5227 (modify-phases %standard-phases
5228 ;; The tests require a bunch of locales.
5229 (add-before 'check 'set-locales
5230 (lambda* (#:key inputs #:allow-other-keys)
5231 (setenv "GUIX_LOCPATH"
5232 (string-append (assoc-ref inputs "glibc-locales")
5233 "/lib/locale"))
5234 #t)))))
5235 (native-inputs
5236 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5237 ("glibc-locales" ,glibc-locales) ; for tests
5238 ("gettext" ,gettext-minimal)
5239 ("gobject-introspection" ,gobject-introspection)
5240 ("gtk-doc" ,gtk-doc)
5241 ("pkg-config" ,pkg-config)
5242 ("json-glib" ,json-glib)))
5243 (propagated-inputs
5244 ;; geocode-glib-1.0.pc refers to GIO.
5245 `(("glib" ,glib)))
5246 (inputs
5247 `(("libsoup" ,libsoup)))
5248 (home-page "https://github.com/GNOME/geocode-glib/")
5249 (synopsis "Geocoding and reverse-geocoding library")
5250 (description
5251 "geocode-glib is a convenience library for geocoding (finding longitude,
5252 and latitude from an address) and reverse geocoding (finding an address from
5253 coordinates) using the Nominatim service. geocode-glib caches requests for
5254 faster results and to avoid unnecessary server load.")
5255 (license license:lgpl2.0+)))
5256
5257 (define-public upower
5258 (package
5259 (name "upower")
5260 (version "0.99.11")
5261 (source (origin
5262 (method url-fetch)
5263 (uri (string-append "https://upower.freedesktop.org/releases/"
5264 "upower-" version ".tar.xz"))
5265 (sha256
5266 (base32
5267 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5268 (patches (search-patches "upower-builddir.patch"))
5269 (modules '((guix build utils)))
5270 (snippet
5271 '(begin
5272 ;; Upstream commit
5273 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5274 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5275 ;; 'dbus-configuration-directory' in (gnu services dbus)
5276 ;; expects it in etc/. Thus, move it back to its previous
5277 ;; location.
5278 (substitute* "src/Makefile.in"
5279 (("^dbusconfdir =.*$")
5280 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5281 #t))))
5282 (build-system glib-or-gtk-build-system)
5283 (arguments
5284 '(#:phases
5285 (modify-phases %standard-phases
5286 (add-before 'check 'pre-check
5287 (lambda* (#:key inputs #:allow-other-keys)
5288 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5289 "/lib")))
5290 (setenv "LD_LIBRARY_PATH" umockdev))
5291 #t)))
5292 #:configure-flags (list "--localstatedir=/var"
5293 (string-append "--with-udevrulesdir="
5294 (assoc-ref %outputs "out")
5295 "/lib/udev/rules.d"))))
5296 (native-inputs
5297 `(("gobject-introspection" ,gobject-introspection)
5298 ("pkg-config" ,pkg-config)
5299 ("intltool" ,intltool)
5300 ("python" ,python)
5301
5302 ;; For tests.
5303 ("python-dbus" ,python-dbus)
5304 ("python-dbusmock" ,python-dbusmock)
5305 ("python-pygobject" ,python-pygobject)
5306 ("umockdev" ,umockdev)
5307
5308 ;; For man pages.
5309 ("libxslt" ,libxslt) ;for 'xsltproc'
5310 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5311 ("docbook-xsl" ,docbook-xsl)))
5312 (inputs
5313 `(("dbus-glib" ,dbus-glib)
5314 ("libgudev" ,libgudev)
5315 ("libusb" ,libusb)))
5316 (propagated-inputs
5317 ;; In Requires of upower-glib.pc.
5318 `(("glib" ,glib)))
5319 (home-page "https://upower.freedesktop.org/")
5320 (synopsis "System daemon for managing power devices")
5321 (description
5322 "UPower is an abstraction for enumerating power devices,
5323 listening to device events and querying history and statistics. Any
5324 application or service on the system can access the org.freedesktop.UPower
5325 service via the system message bus.")
5326 (license license:gpl2+)))
5327
5328 (define-public libgweather
5329 (package
5330 (name "libgweather")
5331 (version "3.34.0")
5332 (source (origin
5333 (method url-fetch)
5334 (uri (string-append "mirror://gnome/sources/" name "/"
5335 (version-major+minor version) "/"
5336 name "-" version ".tar.xz"))
5337 (sha256
5338 (base32
5339 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5340 (build-system meson-build-system)
5341 (arguments
5342 `(#:tests? #f ; one of two tests requires network access
5343 #:configure-flags
5344 `(,(string-append "-Dzoneinfo_dir="
5345 (assoc-ref %build-inputs "tzdata")
5346 "/share/zoneinfo"))))
5347 (native-inputs
5348 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5349 ("gobject-introspection" ,gobject-introspection)
5350 ("pkg-config" ,pkg-config)
5351 ("vala" ,vala)
5352 ("intltool" ,intltool)))
5353 (propagated-inputs
5354 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5355 ;; libsoup.
5356 `(("gtk+" ,gtk+)
5357 ("gdk-pixbuf" ,gdk-pixbuf)
5358 ("libxml2" ,libxml2)
5359 ("libsoup" ,libsoup)
5360 ("geocode-glib" ,geocode-glib)))
5361 (inputs
5362 `(("tzdata" ,tzdata)))
5363 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5364 (synopsis "Location, time zone, and weather library for GNOME")
5365 (description
5366 "libgweather is a library to access weather information from online
5367 services for numerous locations.")
5368 (license license:gpl2+)))
5369
5370 (define-public gnome-settings-daemon
5371 (package
5372 (name "gnome-settings-daemon")
5373 (version "3.34.1")
5374 (source
5375 (origin
5376 (method url-fetch)
5377 (uri (string-append "mirror://gnome/sources/" name "/"
5378 (version-major+minor version) "/"
5379 name "-" version ".tar.xz"))
5380 (sha256
5381 (base32
5382 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5383 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5384 (build-system meson-build-system)
5385 (arguments
5386 `(#:glib-or-gtk? #t
5387 #:configure-flags
5388 (list (string-append "-Dudev_dir="
5389 (assoc-ref %outputs "out")
5390 "/lib/udev/rules.d/")
5391 "-Dsystemd=false"
5392 ;; Otherwise, the RUNPATH will lack the final path component.
5393 (string-append "-Dc_link_args=-Wl,-rpath="
5394 (assoc-ref %outputs "out")
5395 "/lib/gnome-settings-daemon-3.0"))
5396
5397 #:phases (modify-phases %standard-phases
5398 (add-before 'configure 'set-baobab-file-name
5399 (lambda* (#:key inputs #:allow-other-keys)
5400 ;; Hard-code the file name of Baobab instead of looking
5401 ;; it up in $PATH. This ensures users get the "Examine"
5402 ;; button in the low disk space notification of GDM even
5403 ;; if they don't have GNOME in their main profile.
5404 (let ((baobab (assoc-ref inputs "baobab")))
5405 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5406 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5407 (string-append "g_strdup (\"" baobab
5408 "/bin/baobab\")")))
5409 #t))))
5410
5411 ;; Color management test can't reach the colord system service.
5412 #:tests? #f))
5413 (native-inputs
5414 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5415 ("pkg-config" ,pkg-config)
5416 ("intltool" ,intltool)
5417 ("xsltproc" ,libxslt)
5418 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5419 ("docbook-xml" ,docbook-xml-4.2)
5420 ("docbook-xsl" ,docbook-xsl)))
5421 (inputs
5422 `(("alsa-lib" ,alsa-lib)
5423 ("baobab" ,baobab)
5424 ("colord" ,colord)
5425 ("libgudev" ,libgudev)
5426 ("upower" ,upower)
5427 ("polkit" ,polkit)
5428 ("pulseaudio" ,pulseaudio)
5429 ("libcanberra" ,libcanberra)
5430 ("libx11" ,libx11)
5431 ("libxtst" ,libxtst)
5432 ("lcms" ,lcms)
5433 ("libnotify" ,libnotify)
5434 ("geoclue" ,geoclue)
5435 ("geocode-glib" ,geocode-glib)
5436 ("libgweather" ,libgweather)
5437 ("gnome-desktop" ,gnome-desktop)
5438 ("nss" ,nss)
5439 ("cups" ,cups)
5440 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5441 ("libwacom" ,libwacom)
5442 ("librsvg" ,librsvg)
5443 ("xf86-input-wacom" ,xf86-input-wacom)
5444 ("wayland" ,wayland)
5445 ("network-manager" ,network-manager)
5446 ("gcr" ,gcr)
5447 ("modem-manager" ,modem-manager)))
5448 (home-page "https://www.gnome.org")
5449 (synopsis "GNOME settings daemon")
5450 (description
5451 "This package contains the daemon responsible for setting the various
5452 parameters of a GNOME session and the applications that run under it. It
5453 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5454 settings, themes, mouse settings, and startup of other daemons.")
5455 (license license:gpl2+)))
5456
5457 (define-public totem-pl-parser
5458 (package
5459 (name "totem-pl-parser")
5460 (version "3.26.5")
5461 (source (origin
5462 (method url-fetch)
5463 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5464 (version-major+minor version) "/"
5465 "totem-pl-parser-" version ".tar.xz"))
5466 (sha256
5467 (base32
5468 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5469 (build-system meson-build-system)
5470 (arguments
5471 ;; FIXME: Tests require gvfs.
5472 `(#:tests? #f))
5473 (native-inputs
5474 `(("intltool" ,intltool)
5475 ("glib" ,glib "bin")
5476 ("gobject-introspection" ,gobject-introspection)
5477 ("pkg-config" ,pkg-config)))
5478 (propagated-inputs
5479 `(("glib" ,glib)
5480 ("gmime" ,gmime)
5481 ("libarchive" ,libarchive)
5482 ("libgcrypt" ,libgcrypt)
5483 ("libxml2" ,libxml2)))
5484 (inputs
5485 `(("libsoup" ,libsoup)))
5486 (home-page "https://projects.gnome.org/totem")
5487 (synopsis "Library to parse and save media playlists for GNOME")
5488 (description "Totem-pl-parser is a GObjects-based library to parse and save
5489 playlists in a variety of formats.")
5490 (license license:lgpl2.0+)))
5491
5492 (define-public aisleriot
5493 (package
5494 (name "aisleriot")
5495 (version "3.22.9")
5496 (source (origin
5497 (method url-fetch)
5498 (uri (string-append "mirror://gnome/sources/aisleriot/"
5499 (version-major+minor version) "/"
5500 "aisleriot-" version ".tar.xz"))
5501 (sha256
5502 (base32
5503 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5504 (build-system glib-or-gtk-build-system)
5505 (arguments
5506 '(#:configure-flags
5507 '("--with-platform=gtk-only"
5508 "--with-card-theme-formats=svg")))
5509 (native-inputs
5510 `(("desktop-file-utils" ,desktop-file-utils)
5511 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5512 ("intltool" ,intltool)
5513 ("itstool" ,itstool)
5514 ("pkg-config" ,pkg-config)
5515 ("xmllint" ,libxml2)))
5516 (inputs
5517 `(("gtk+" ,gtk+)
5518 ("guile" ,guile-2.2)
5519 ("libcanberra" ,libcanberra)
5520 ("librsvg" ,librsvg)))
5521 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5522 (synopsis "Solitaire card games")
5523 (description
5524 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5525 which are easy to play with the aid of a mouse.")
5526 (license license:gpl3+)))
5527
5528 (define-public amtk
5529 (package
5530 (name "amtk")
5531 (version "5.0.2")
5532 (source (origin
5533 (method url-fetch)
5534 (uri (string-append "mirror://gnome/sources/amtk/"
5535 (version-major+minor version) "/"
5536 "amtk-" version ".tar.xz"))
5537 (sha256
5538 (base32
5539 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5540 (build-system gnu-build-system)
5541 (arguments
5542 '(#:configure-flags '("--enable-gtk-doc")))
5543 (native-inputs
5544 `(("gobject-introspection" ,gobject-introspection)
5545 ("glib:bin" ,glib "bin") ; for glib-mkenums
5546 ("gtk-doc" ,gtk-doc)
5547 ("pkg-config" ,pkg-config)))
5548 (inputs
5549 `(("glib" ,glib)
5550 ("gtk+" ,gtk+)))
5551 (home-page "https://wiki.gnome.org/Projects/Amtk")
5552 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5553 (description
5554 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5555 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5556 both a traditional UI or a modern UI with a GtkHeaderBar.")
5557 (license license:lgpl2.1+)))
5558
5559 (define-public devhelp
5560 (package
5561 (name "devhelp")
5562 (version "3.34.0")
5563 (source (origin
5564 (method url-fetch)
5565 (uri (string-append "mirror://gnome/sources/" name "/"
5566 (version-major+minor version) "/"
5567 name "-" version ".tar.xz"))
5568 (sha256
5569 (base32
5570 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5571 (build-system meson-build-system)
5572 (arguments
5573 '(#:glib-or-gtk? #t
5574 #:phases
5575 (modify-phases %standard-phases
5576 (add-after 'unpack 'skip-gtk-update-icon-cache
5577 ;; Don't create 'icon-theme.cache'.
5578 (lambda _
5579 (substitute* "meson_post_install.py"
5580 (("gtk-update-icon-cache") "true"))
5581 #t)))))
5582 (native-inputs
5583 `(("intltool" ,intltool)
5584 ("itstool" ,itstool)
5585 ("gobject-introspection" ,gobject-introspection)
5586 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5587 ("pkg-config" ,pkg-config)))
5588 (inputs
5589 `(("amtk" ,amtk)
5590 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5591 ("webkitgtk" ,webkitgtk)))
5592 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5593 (synopsis "API documentation browser for GNOME")
5594 (description
5595 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5596 natively with GTK-Doc (the API reference system developed for GTK+ and used
5597 throughout GNOME for API documentation).")
5598 (license license:gpl2+)))
5599
5600 (define-public cogl
5601 (package
5602 (name "cogl")
5603 (version "1.22.8")
5604 (source
5605 (origin
5606 (method url-fetch)
5607 (uri (string-append "mirror://gnome/sources/cogl/"
5608 (version-major+minor version) "/"
5609 "cogl-" version ".tar.xz"))
5610 (sha256
5611 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5612 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5613 ;; cogl, corresponding changes may be appropriate in mutter as well.
5614 (build-system gnu-build-system)
5615 (native-inputs
5616 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5617 ("gobject-introspection" ,gobject-introspection)
5618 ("xorg-server" ,xorg-server-for-tests)
5619 ("pkg-config" ,pkg-config)))
5620 (propagated-inputs
5621 `(("glib" ,glib)
5622 ("gdk-pixbuf" ,gdk-pixbuf)
5623 ("libx11" ,libx11)
5624 ("libxext" ,libxext)
5625 ("libxfixes" ,libxfixes)
5626 ("libxdamage" ,libxdamage)
5627 ("libxcomposite" ,libxcomposite)
5628 ("libxrandr" ,libxrandr)))
5629 (inputs
5630 `(("mesa" ,mesa)
5631 ("cairo" ,cairo)
5632 ("pango" ,pango)
5633 ("gstreamer" ,gstreamer)
5634 ("gst-plugins-base" ,gst-plugins-base)
5635 ("wayland" ,wayland)))
5636 (arguments
5637 `(#:disallowed-references (,xorg-server-for-tests)
5638 #:configure-flags (list "--enable-cogl-gst"
5639 "--enable-wayland-egl-platform"
5640 "--enable-wayland-egl-server"
5641
5642 ;; Arrange to pass an absolute file name to
5643 ;; dlopen for libGL.so.
5644 (string-append "--with-gl-libname="
5645 (assoc-ref %build-inputs "mesa")
5646 "/lib/libGL.so"))
5647 #:phases
5648 (modify-phases %standard-phases
5649 (add-after 'unpack 'fix-build-with-mesa-20
5650 (lambda _
5651 ;; Work around a problem with Mesa 20 where some macros used by
5652 ;; Cogl went missing from eglext.h. This can likely be removed
5653 ;; for newer versions of Cogl or Mesa.
5654 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5655 (substitute* '("configure"
5656 "cogl/winsys/cogl-winsys-egl-kms.c")
5657 (("#include <EGL/eglext.h>" all)
5658 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5659 #t))
5660 (add-before 'check 'start-xorg-server
5661 (lambda* (#:key tests? inputs #:allow-other-keys)
5662 (if tests?
5663 (begin
5664 ;; The test suite requires a running X server.
5665 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5666 (assoc-ref inputs "xorg-server")))
5667 (setenv "DISPLAY" ":1")
5668 #t)
5669 (format #t "test suite not run~%"))
5670 #t)))))
5671 (home-page "https://www.cogl3d.org")
5672 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5673 (description
5674 "Cogl is a small library for using 3D graphics hardware to draw pretty
5675 pictures. The API departs from the flat state machine style of OpenGL and is
5676 designed to make it easy to write orthogonal components that can render
5677 without stepping on each others toes.")
5678 (license (list license:expat ; most of the code
5679 license:bsd-3 ; cogl/cogl-point-in-poly.c
5680 license:sgifreeb2.0 ; cogl-path/tesselator/
5681 license:asl2.0)))) ; examples/android/
5682
5683 (define-public clutter
5684 (package
5685 (name "clutter")
5686 (version "1.26.2")
5687 (source
5688 (origin
5689 (method url-fetch)
5690 (uri (string-append "mirror://gnome/sources/" name "/"
5691 (version-major+minor version) "/"
5692 name "-" version ".tar.xz"))
5693 (sha256
5694 (base32
5695 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5696 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5697 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5698 (build-system gnu-build-system)
5699 (outputs '("out"
5700 "doc")) ;9 MiB of gtk-doc HTML pages
5701 (native-inputs
5702 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5703 ("gobject-introspection" ,gobject-introspection)
5704 ("pkg-config" ,pkg-config)
5705 ("xsltproc" ,libxslt)))
5706 (propagated-inputs
5707 `(("cogl" ,cogl)
5708 ("cairo" ,cairo)
5709 ("atk" ,atk)
5710 ("gtk+" ,gtk+)
5711 ("json-glib" ,json-glib)
5712 ("glib" ,glib)
5713 ("libxcomposite" ,libxcomposite)
5714 ("libxdamage" ,libxdamage)
5715 ("libxext" ,libxext)
5716 ("xinput" ,xinput)))
5717 (inputs
5718 `(("libxkbcommon" ,libxkbcommon)
5719 ("udev" ,eudev)))
5720 (arguments
5721 `(#:configure-flags (list "--enable-x11-backend=yes"
5722
5723 ;; This produces share/doc/{clutter,cally}.
5724 (string-append "--with-html-dir="
5725 (assoc-ref %outputs "doc")
5726 "/share/doc"))
5727 ;; XXX FIXME: Get test suite working. It would probably fail in the
5728 ;; same way the cogl tests fail, since clutter is based on cogl.
5729 #:tests? #f))
5730 (home-page "http://www.clutter-project.org")
5731 (synopsis "OpenGL-based interactive canvas library")
5732 (description
5733 "Clutter is an OpenGL-based interactive canvas library, designed for
5734 creating fast, mainly 2D single window applications such as media box UIs,
5735 presentations, kiosk style applications and so on.")
5736 (license license:lgpl2.0+)))
5737
5738 (define-public clutter-gtk
5739 (package
5740 (name "clutter-gtk")
5741 (version "1.8.4")
5742 (source
5743 (origin
5744 (method url-fetch)
5745 (uri (string-append "mirror://gnome/sources/" name "/"
5746 (version-major+minor version) "/"
5747 name "-" version ".tar.xz"))
5748 (sha256
5749 (base32
5750 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5751 (build-system gnu-build-system)
5752 (native-inputs
5753 `(("pkg-config" ,pkg-config)
5754 ("gobject-introspection" ,gobject-introspection)))
5755 (propagated-inputs
5756 ;; clutter-gtk.pc refers to all these.
5757 `(("clutter" ,clutter)
5758 ("gtk+" ,gtk+)))
5759 (home-page "http://www.clutter-project.org")
5760 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5761 (description
5762 "Clutter is an OpenGL-based interactive canvas library, designed for
5763 creating fast, mainly 2D single window applications such as media box UIs,
5764 presentations, kiosk style applications and so on.")
5765 (license license:lgpl2.0+)))
5766
5767 (define-public clutter-gst
5768 (package
5769 (name "clutter-gst")
5770 (version "3.0.27")
5771 (source
5772 (origin
5773 (method url-fetch)
5774 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5775 (version-major+minor version) "/"
5776 "clutter-gst-" version ".tar.xz"))
5777 (sha256
5778 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5779 (build-system gnu-build-system)
5780 (native-inputs
5781 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5782 ("pkg-config" ,pkg-config)
5783 ("gobject-introspection" ,gobject-introspection)))
5784 (inputs
5785 `(("clutter" ,clutter)
5786 ("gstreamer" ,gstreamer)
5787 ("gst-plugins-base" ,gst-plugins-base)))
5788 (home-page "http://www.clutter-project.org")
5789 (synopsis "Integration library for using GStreamer with Clutter")
5790 (description
5791 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5792 It provides a GStreamer sink to upload frames to GL and an actor that
5793 implements the ClutterGstPlayer interface using playbin. Clutter is an
5794 OpenGL-based interactive canvas library.")
5795 (license license:lgpl2.0+)))
5796
5797 (define-public libchamplain
5798 (package
5799 (name "libchamplain")
5800 (version "0.12.16")
5801 (source (origin
5802 (method url-fetch)
5803 (uri (string-append
5804 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5805 version ".tar.xz"))
5806 (sha256
5807 (base32
5808 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5809 (build-system gnu-build-system)
5810 (arguments '(#:configure-flags '("--enable-vala")))
5811 (native-inputs
5812 `(("gobject-introspection" ,gobject-introspection)
5813 ("pkg-config" ,pkg-config)
5814 ("vala" ,vala)))
5815 (propagated-inputs
5816 `(("libsoup" ,libsoup)
5817 ("sqlite" ,sqlite)
5818 ("clutter" ,clutter)
5819 ("clutter-gtk" ,clutter-gtk)
5820 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5821 ("cairo" ,cairo)
5822 ("gtk+3" ,gtk+)
5823 ("glib" ,glib)))
5824 (home-page "https://projects.gnome.org/libchamplain/")
5825 (synopsis "C library providing a ClutterActor to display maps")
5826 (description
5827 "libchamplain is a C library providing a ClutterActor to display maps.
5828 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5829 and Perl bindings are also available. It supports numerous free map sources
5830 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5831 (license license:lgpl2.1+)))
5832
5833 (define-public gom
5834 (package
5835 (name "gom")
5836 (version "0.3.2")
5837 (source
5838 (origin
5839 (method url-fetch)
5840 (uri (string-append "mirror://gnome/sources/gom/"
5841 (version-major+minor version) "/"
5842 "gom-" version ".tar.xz"))
5843 (sha256
5844 (base32
5845 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5846 (build-system gnu-build-system)
5847 (native-inputs
5848 `(("intltool" ,intltool)
5849 ("pkg-config" ,pkg-config)
5850 ("gobject-introspection" ,gobject-introspection)))
5851 (inputs
5852 `(("glib" ,glib)
5853 ("gdk-pixbuf" ,gdk-pixbuf)
5854 ("sqlite" ,sqlite)))
5855 ;; XXX TODO: Figure out how to run the test suite.
5856 (arguments `(#:tests? #f))
5857 (home-page "https://wiki.gnome.org/Projects/Gom")
5858 (synopsis "Object mapper from GObjects to SQLite")
5859 (description
5860 "Gom provides an object mapper from GObjects to SQLite. It helps you
5861 write applications that need to store structured data as well as make complex
5862 queries upon that data.")
5863 (license license:lgpl2.1+)))
5864
5865 (define-public libgnome-games-support
5866 (package
5867 (name "libgnome-games-support")
5868 (version "1.4.4")
5869 (source (origin
5870 (method url-fetch)
5871 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5872 (version-major+minor version) "/"
5873 "libgnome-games-support-" version ".tar.xz"))
5874 (sha256
5875 (base32
5876 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5877 (build-system gnu-build-system)
5878 (arguments
5879 '(#:phases
5880 (modify-phases %standard-phases
5881 (add-before 'check 'pre-check
5882 (lambda _
5883 ;; Tests require a writable HOME.
5884 (setenv "HOME" (getcwd))
5885 #t)))))
5886 (native-inputs
5887 `(("intltool" ,intltool)
5888 ("pkg-config" ,pkg-config)
5889 ("vala" ,vala)))
5890 (propagated-inputs
5891 ;; Required by libgnome-games-support-1.0.pc
5892 `(("gtk+" ,gtk+)
5893 ("libgee" ,libgee)))
5894 (home-page "https://www.gnome.org/")
5895 (synopsis "Useful functionality shared among GNOME games")
5896 (description
5897 "libgnome-games-support is a small library intended for internal use by
5898 GNOME Games, but it may be used by others.")
5899 (license license:lgpl3+)))
5900
5901 (define-public gnome-klotski
5902 (package
5903 (name "gnome-klotski")
5904 (version "3.34.0")
5905 (source (origin
5906 (method url-fetch)
5907 (uri (string-append "mirror://gnome/sources/" name "/"
5908 (version-major+minor version) "/"
5909 name "-" version ".tar.xz"))
5910 (sha256
5911 (base32
5912 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5913 (build-system meson-build-system)
5914 (arguments
5915 '(#:glib-or-gtk? #t
5916 #:phases
5917 (modify-phases %standard-phases
5918 (add-after 'unpack 'skip-gtk-update-icon-cache
5919 ;; Don't create 'icon-theme.cache'.
5920 (lambda _
5921 (substitute* "build-aux/meson_post_install.py"
5922 (("gtk-update-icon-cache") (which "true")))
5923 #t)))))
5924 (native-inputs
5925 `(("desktop-file-utils" ,desktop-file-utils)
5926 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5927 ("intltool" ,intltool)
5928 ("itstool" ,itstool)
5929 ("pkg-config" ,pkg-config)
5930 ("vala" ,vala)
5931 ("xmllint" ,libxml2)))
5932 (inputs
5933 `(("gtk+" ,gtk+)
5934 ("libgnome-games-support" ,libgnome-games-support)
5935 ("librsvg" ,librsvg)))
5936 (home-page "https://wiki.gnome.org/Apps/Klotski")
5937 (synopsis "Sliding block puzzles")
5938 (description
5939 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
5940 the patterned block to the area bordered by green markers. To do so, you will
5941 need to slide other blocks out of the way. Complete each puzzle in as few moves
5942 as possible!")
5943 (license license:gpl2+)))
5944
5945 (define-public grilo
5946 (package
5947 (name "grilo")
5948 (version "0.3.12")
5949 (source
5950 (origin
5951 (method url-fetch)
5952 (uri (string-append "mirror://gnome/sources/grilo/"
5953 (version-major+minor version) "/"
5954 "grilo-" version ".tar.xz"))
5955 (sha256
5956 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
5957 (build-system meson-build-system)
5958 (native-inputs
5959 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
5960 ("intltool" ,intltool)
5961 ("pkg-config" ,pkg-config)
5962 ("gobject-introspection" ,gobject-introspection)
5963 ("gtk-doc" ,gtk-doc)
5964 ("vala" ,vala)))
5965 (inputs
5966 `(("cyrus-sasl" ,cyrus-sasl)
5967 ("glib" ,glib)
5968 ("gtk+" ,gtk+)
5969 ("libxml2" ,libxml2)
5970 ("liboauth" ,liboauth)
5971 ("libsoup" ,libsoup)
5972 ("totem-pl-parser" ,totem-pl-parser)))
5973 (native-search-paths
5974 (list (search-path-specification
5975 (variable "GRL_PLUGIN_PATH")
5976 (files (list (string-append "lib/grilo-"
5977 (version-major+minor version)))))))
5978 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
5979 (synopsis "Framework for discovering and browsing media")
5980 (description
5981 "Grilo is a framework focused on making media discovery and browsing easy
5982 for application developers.")
5983 (license license:lgpl2.1+)))
5984
5985 (define-public grilo-plugins
5986 (package
5987 (name "grilo-plugins")
5988 (version "0.3.11")
5989 (source
5990 (origin
5991 (method url-fetch)
5992 (uri (string-append "mirror://gnome/sources/" name "/"
5993 (version-major+minor version) "/"
5994 name "-" version ".tar.xz"))
5995 (sha256
5996 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
5997 (build-system meson-build-system)
5998 (native-inputs
5999 `(("gettext" ,gettext-minimal)
6000 ("glib:bin" ,glib "bin")
6001 ("gtk+:bin" ,gtk+ "bin")
6002 ("itstool" ,itstool)
6003 ("pkg-config" ,pkg-config)))
6004 ;; TODO: ahavi, gstreamer
6005 (inputs
6006 `(("grilo" ,grilo)
6007 ;("gmime" ,gmime) ; unused
6008 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6009 ("gom" ,gom)
6010 ;("gssdp" ,gssdp) ; unused
6011 ;("gupnp" ,gupnp) ; unused
6012 ;("gupnp-av" ,gupnp-av) ; unused
6013 ("json-glib" ,json-glib)
6014 ("avahi" ,avahi)
6015 ("libgdata" ,libgdata)
6016 ("libmediaart" ,libmediaart)
6017 ;("librest" ,rest) ; unused
6018 ("libsoup" ,libsoup)
6019 ("totam-pl-parser" ,totem-pl-parser)
6020 ("tracker" ,tracker))) ; unused because it's too old
6021 (arguments
6022 `(#:glib-or-gtk? #t
6023 ;;Disable lua-factory as it needs missing dependencies
6024 #:configure-flags '("-Denable-lua-factory=no")))
6025 (home-page "https://live.gnome.org/Grilo")
6026 (synopsis "Plugins for the Grilo media discovery library")
6027 (description
6028 "Grilo is a framework focused on making media discovery and browsing easy
6029 for application developers. This package provides plugins for common media
6030 discovery protocols.")
6031 (license license:lgpl2.1+)))
6032
6033 (define-public totem
6034 (package
6035 (name "totem")
6036 (version "3.38.0")
6037 (source
6038 (origin
6039 (method url-fetch)
6040 (uri (string-append "mirror://gnome/sources/totem/"
6041 (version-major+minor version) "/"
6042 "totem-" version ".tar.xz"))
6043 (sha256
6044 (base32
6045 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6046 (build-system meson-build-system)
6047 (native-inputs
6048 `(("pkg-config" ,pkg-config)
6049 ("desktop-file-utils" ,desktop-file-utils)
6050 ("gettext" ,gettext-minimal)
6051 ("gobject-introspection" ,gobject-introspection)
6052 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6053 ("itstool" ,itstool)
6054 ("xmllint" ,libxml2)
6055 ("xorg-server" ,xorg-server-for-tests)))
6056 (propagated-inputs
6057 `(("dconf" ,dconf)))
6058 (inputs
6059 `(("gtk+" ,gtk+)
6060 ("gdk-pixbuf" ,gdk-pixbuf)
6061 ("atk" ,atk)
6062 ("cairo" ,cairo)
6063 ("dbus-glib" ,dbus-glib)
6064 ("clutter" ,clutter)
6065 ("clutter-gtk" ,clutter-gtk)
6066 ("clutter-gst" ,clutter-gst)
6067 ("xorgproto" ,xorgproto)
6068 ("libxxf86vm" ,libxxf86vm)
6069 ("libxtst" ,libxtst)
6070 ("libxrandr" ,libxrandr)
6071 ("libxml2" ,libxml2)
6072 ("libsoup" ,libsoup)
6073 ("libpeas" ,libpeas)
6074 ("librsvg" ,librsvg)
6075 ("lirc" ,lirc)
6076 ("gnome-desktop" ,gnome-desktop)
6077 ("gstreamer" ,gstreamer)
6078 ("gst-plugins-base" ,gst-plugins-base)
6079 ("gst-plugins-good" ,gst-plugins-good)
6080 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6081 ("adwaita-icon-theme" ,adwaita-icon-theme)
6082 ("python" ,python)
6083 ("python-pygobject" ,python-pygobject)
6084 ("totem-pl-parser" ,totem-pl-parser)
6085 ("grilo" ,grilo)
6086 ("grilo-plugins" ,grilo-plugins)
6087 ("vala" ,vala)))
6088 (arguments
6089 `(#:glib-or-gtk? #t
6090
6091 ;; Disable automatic GStreamer plugin installation via PackageKit and
6092 ;; all that.
6093 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6094
6095 ;; Do not build .a files for the plugins, it's
6096 ;; completely useless. This saves 2 MiB.
6097 "--default-library" "shared")
6098 #:phases
6099 (modify-phases %standard-phases
6100 (add-after 'unpack 'skip-gtk-update-icon-cache
6101 ;; Don't create 'icon-theme.cache'.
6102 (lambda _
6103 (substitute* "meson_post_install.py"
6104 (("gtk-update-icon-cache") "true"))
6105 #t))
6106 (add-after 'unpack 'patch-failing-test
6107 (lambda _
6108 ;; Work around test failure with GStreamer 1.18, because the test
6109 ;; relies on "und" not being mapped to a particular language:
6110 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6111 (substitute* "src/test-totem.c"
6112 (("und") "nosuchlang"))
6113 #t))
6114 (add-before
6115 'install 'disable-cache-generation
6116 (lambda _
6117 (setenv "DESTDIR" "/")
6118 #t))
6119 (add-before
6120 'check 'pre-check
6121 (lambda _
6122 ;; Tests require a running X server.
6123 (system "Xvfb :1 &")
6124 (setenv "DISPLAY" ":1")
6125 #t))
6126 (add-after
6127 'install 'wrap-totem
6128 (lambda* (#:key inputs outputs #:allow-other-keys)
6129 (let ((out (assoc-ref outputs "out"))
6130 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6131 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6132 (wrap-program (string-append out "/bin/totem")
6133 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6134 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6135 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6136 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6137 #t)))))
6138 (home-page "https://wiki.gnome.org/Apps/Videos")
6139 (synopsis "Simple media player for GNOME based on GStreamer")
6140 (description "Totem is a simple yet featureful media player for GNOME
6141 which can read a large number of file formats.")
6142 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6143 ;; to be used and distributed together with GStreamer and Totem. See
6144 ;; file://COPYING in the source distribution for details.
6145 (license license:gpl2+)))
6146
6147 (define-public rhythmbox
6148 (package
6149 (name "rhythmbox")
6150 (version "3.4.4")
6151 (source (origin
6152 (method url-fetch)
6153 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6154 (version-major+minor version) "/"
6155 "rhythmbox-" version ".tar.xz"))
6156 (sha256
6157 (base32
6158 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6159 (build-system glib-or-gtk-build-system)
6160 (arguments
6161 `(#:configure-flags
6162 (list "--enable-lirc"
6163 "--enable-python"
6164 "--enable-vala"
6165 "--with-brasero"
6166 "--with-gudev"
6167 "--with-libsecret")
6168 #:phases
6169 (modify-phases %standard-phases
6170 (add-after
6171 'install 'wrap-rhythmbox
6172 (lambda* (#:key inputs outputs #:allow-other-keys)
6173 (let ((out (assoc-ref outputs "out"))
6174 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6175 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6176 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6177 (python-path (getenv "PYTHONPATH")))
6178 (wrap-program (string-append out "/bin/rhythmbox")
6179 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6180 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6181 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6182 `("PYTHONPATH" ":" prefix (,python-path))))
6183 #t)))))
6184 (propagated-inputs
6185 `(("dconf" ,dconf)))
6186 (native-inputs
6187 `(("itstool" ,itstool)
6188 ("intltool" ,intltool)
6189 ("glib" ,glib "bin")
6190 ("gobject-introspection" ,gobject-introspection)
6191 ("desktop-file-utils" ,desktop-file-utils)
6192 ("pkg-config" ,pkg-config)
6193 ("xmllint" ,libxml2)))
6194 (inputs
6195 `(("json-glib" ,json-glib)
6196 ("tdb" ,tdb)
6197 ("gnome-desktop" ,gnome-desktop)
6198 ("python" ,python)
6199 ("python-pygobject" ,python2-pygobject)
6200 ("vala" ,vala)
6201 ("gmime" ,gmime)
6202 ("adwaita-icon-theme" ,adwaita-icon-theme)
6203 ("grilo" ,grilo)
6204 ("grilo-plugins" ,grilo-plugins)
6205 ("gstreamer" ,gstreamer)
6206 ("gst-plugins-base" ,gst-plugins-base)
6207 ("gst-plugins-good" ,gst-plugins-good)
6208 ("totem-pl-parser" ,totem-pl-parser)
6209 ("libgudev" ,libgudev)
6210 ;;("libmtp" ,libmtp) FIXME: Not detected
6211 ("libsecret" ,libsecret)
6212 ("libsoup" ,libsoup)
6213 ("libnotify" ,libnotify)
6214 ("libpeas" ,libpeas)
6215 ("lirc" ,lirc)
6216 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6217 ;;("clutter" ,clutter)
6218 ;;("clutter-gtk" ,clutter-gtk)
6219 ;;("clutter-gst" ,clutter-gst)
6220 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6221 ("atk" ,atk)
6222 ("pango" ,pango)
6223 ("gtk+" ,gtk+)
6224 ;; TODO:
6225 ;; * libgpod
6226 ;; * mx
6227 ("brasero" ,brasero)))
6228 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6229 (synopsis "Music player for GNOME")
6230 (description "Rhythmbox is a music playing application for GNOME. It
6231 supports playlists, song ratings, and any codecs installed through gstreamer.")
6232 (license license:gpl2+)))
6233
6234 (define-public eog
6235 (package
6236 (name "eog")
6237 (version "3.34.1")
6238 (source (origin
6239 (method url-fetch)
6240 (uri (string-append "mirror://gnome/sources/" name "/"
6241 (version-major+minor version) "/"
6242 name "-" version ".tar.xz"))
6243 (sha256
6244 (base32
6245 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6246 (build-system meson-build-system)
6247 (arguments
6248 `(#:configure-flags
6249 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6250 (list (string-append "-Dc_link_args=-Wl,-rpath="
6251 (assoc-ref %outputs "out") "/lib/eog"))
6252 #:phases
6253 (modify-phases %standard-phases
6254 (add-after 'unpack 'skip-gtk-update-icon-cache
6255 ;; Don't create 'icon-theme.cache'.
6256 (lambda _
6257 (substitute* "meson_post_install.py"
6258 (("gtk-update-icon-cache") "true"))
6259 #t))
6260 (add-after 'install 'wrap-eog
6261 (lambda* (#:key outputs #:allow-other-keys)
6262 (let ((out (assoc-ref outputs "out"))
6263 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6264 (wrap-program (string-append out "/bin/eog")
6265 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6266 #t)))))
6267 (propagated-inputs
6268 `(("dconf" ,dconf)))
6269 (native-inputs
6270 `(("intltool" ,intltool)
6271 ("itstool" ,itstool)
6272 ("glib" ,glib "bin")
6273 ("gobject-introspection" ,gobject-introspection)
6274 ("pkg-config" ,pkg-config)
6275 ("xmllint" ,libxml2)))
6276 (inputs
6277 `(("gnome-desktop" ,gnome-desktop)
6278 ("shared-mime-info" ,shared-mime-info)
6279 ("adwaita-icon-theme" ,adwaita-icon-theme)
6280 ("exempi" ,exempi)
6281 ("lcms" ,lcms)
6282 ("libexif" ,libexif)
6283 ("libpeas" ,libpeas)
6284 ("libjpeg" ,libjpeg-turbo)
6285 ("librsvg" ,librsvg-next)
6286 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6287 ("gtk+" ,gtk+)))
6288 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6289 (synopsis "GNOME image viewer")
6290 (description "Eye of GNOME is the GNOME image viewer. It
6291 supports image conversion, rotation, and slideshows.")
6292 (license license:gpl2+)))
6293
6294 (define-public eog-plugins
6295 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6296 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6297 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6298 ;; 'XDG_DATA_DIRS' appropriately set.
6299 (package
6300 (name "eog-plugins")
6301 (version "3.26.4")
6302 (source (origin
6303 (method url-fetch)
6304 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6305 (version-major+minor version) "/"
6306 "eog-plugins-" version ".tar.xz"))
6307 (sha256
6308 (base32
6309 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6310 (build-system gnu-build-system)
6311 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6312 (synopsis "Extensions for the Eye of GNOME image viewer")
6313 (native-inputs
6314 `(("pkg-config" ,pkg-config)
6315 ("gettext" ,gettext-minimal)))
6316 (inputs
6317 `(("eog" ,eog)
6318 ("glib" ,glib)
6319 ("gtk+" ,gtk+)
6320 ("libpeas" ,libpeas)
6321 ("libexif" ,libexif)
6322 ("libchamplain" ,libchamplain)))
6323 (description
6324 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6325 notably:
6326
6327 @itemize
6328 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6329 @item @dfn{Map}, which displays a map of where the picture was taken on the
6330 side panel;
6331 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6332 @end itemize\n")
6333
6334 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6335 ;; long suspicious byte stream that goes to a
6336 ;; ".gresource.eog_postasa_plugin" ELF section.
6337 (license license:gpl2+)))
6338
6339 (define-public libgudev
6340 (package
6341 (name "libgudev")
6342 (version "232")
6343 (source (origin
6344 (method url-fetch)
6345 (uri (string-append "mirror://gnome/sources/" name "/"
6346 version "/" name "-" version ".tar.xz"))
6347 (sha256
6348 (base32
6349 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6350 (build-system gnu-build-system)
6351 (arguments
6352 '(#:configure-flags
6353 ;; umockdev depends on libgudev.
6354 (list "--disable-umockdev")))
6355 (native-inputs
6356 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6357 ("gobject-introspection" ,gobject-introspection)
6358 ("pkg-config" ,pkg-config)))
6359 (propagated-inputs
6360 `(("glib" ,glib))) ; required by gudev-1.0.pc
6361 (inputs
6362 `(("udev" ,eudev)))
6363 (home-page "https://wiki.gnome.org/Projects/libgudev")
6364 (synopsis "GObject bindings for libudev")
6365 (description
6366 "This library provides GObject bindings for libudev. It was originally
6367 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6368 (license license:lgpl2.1+)))
6369
6370 (define-public gvfs
6371 (package
6372 (name "gvfs")
6373 (version "1.40.1")
6374 (source (origin
6375 (method url-fetch)
6376 (uri (string-append "mirror://gnome/sources/gvfs/"
6377 (version-major+minor version) "/"
6378 "gvfs-" version ".tar.xz"))
6379 (sha256
6380 (base32
6381 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6382 ;; This patch may be removed when upgrading to version 1.46.x.
6383 (patches
6384 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6385 (build-system meson-build-system)
6386 (arguments
6387 '(#:glib-or-gtk? #t
6388 #:configure-flags
6389 (list "-Dsystemduserunitdir=no"
6390 "-Dtmpfilesdir=no"
6391 ;; Otherwise, the RUNPATH will lack the final path component.
6392 (string-append "-Dc_link_args=-Wl,-rpath="
6393 (assoc-ref %outputs "out") "/lib/gvfs"))))
6394 (native-inputs
6395 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6396 ("gettext" ,gettext-minimal)
6397 ("gtk-doc" ,gtk-doc)
6398 ("pkg-config" ,pkg-config)
6399 ("xsltproc" ,libxslt)))
6400 (inputs
6401 `(("avahi" ,avahi)
6402 ("docbook-xml" ,docbook-xml-4.2)
6403 ("docbook-xsl" ,docbook-xsl)
6404 ("dbus" ,dbus)
6405 ("elogind" ,elogind)
6406 ("fuse" ,fuse)
6407 ("gcr" ,gcr)
6408 ("glib" ,glib)
6409 ("gnome-online-accounts" ,gnome-online-accounts)
6410 ("libarchive" ,libarchive)
6411 ("libbluray" ,libbluray)
6412 ("libcap" ,libcap)
6413 ("libcdio-paranoia" ,libcdio-paranoia)
6414 ("libgcrypt" ,libgcrypt)
6415 ("libgdata" ,libgdata)
6416 ("libgphoto2" ,libgphoto2)
6417 ("libgudev" ,libgudev)
6418 ("libimobiledevice" ,libimobiledevice)
6419 ("libmtp" ,libmtp)
6420 ("libnfs" ,libnfs)
6421 ("libsecret" ,libsecret)
6422 ("libsmbclient" ,samba)
6423 ("libsoup" ,libsoup)
6424 ("libxml2" ,libxml2)
6425 ("openssh" ,openssh)
6426 ("polkit" ,polkit)
6427 ("udisks" ,udisks)))
6428 (home-page "https://wiki.gnome.org/gvfs/")
6429 (synopsis "Userspace virtual file system for GIO")
6430 (description
6431 "GVFS is a userspace virtual file system designed to work with the I/O
6432 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6433 to all applications using the GIO API. It also supports exposing the GVFS
6434 mounts to non-GIO applications using FUSE.
6435
6436 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6437 DAV, and others.")
6438 (license license:lgpl2.0+)))
6439
6440 (define-public gusb
6441 (package
6442 (name "gusb")
6443 (version "0.3.0")
6444 (source (origin
6445 (method git-fetch)
6446 (uri (git-reference
6447 (url "https://github.com/hughsie/libgusb")
6448 (commit version)))
6449 (file-name (git-file-name name version))
6450 (sha256
6451 (base32
6452 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
6453 (build-system meson-build-system)
6454 (native-inputs
6455 `(("gobject-introspection" ,gobject-introspection)
6456 ("pkg-config" ,pkg-config)
6457 ("vala" ,vala)
6458 ("gtk-doc" ,gtk-doc)))
6459 (propagated-inputs
6460 ;; Both of these are required by gusb.pc.
6461 `(("glib" ,glib)
6462 ("libusb" ,libusb)))
6463 (arguments
6464 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6465 (home-page "https://github.com/hughsie/libgusb")
6466 (synopsis "GLib binding for libusb1")
6467 (description
6468 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6469 asynchronous control, bulk and interrupt transfers with proper cancellation
6470 and integration into a mainloop. This makes it easy to integrate low level
6471 USB transfers with your high-level application or system daemon.")
6472 (license license:lgpl2.1+)))
6473
6474 (define-public simple-scan
6475 (package
6476 (name "simple-scan")
6477 (version "3.38.2")
6478 (source
6479 (origin
6480 (method url-fetch)
6481 (uri (string-append "mirror://gnome/sources/simple-scan/"
6482 (version-major+minor version) "/"
6483 "simple-scan-" version ".tar.xz"))
6484 (sha256
6485 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6486 (build-system meson-build-system)
6487 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6488 (arguments
6489 '(#:glib-or-gtk? #t))
6490 (inputs
6491 `(("gtk" ,gtk+)
6492 ("zlib" ,zlib)
6493 ("cairo" ,cairo)
6494 ("colord" ,colord)
6495 ("gdk-pixbuf" ,gdk-pixbuf)
6496 ("gusb" ,gusb)
6497 ("libsane" ,sane-backends)))
6498 (native-inputs
6499 `(("gettext" ,gettext-minimal)
6500 ("itstool" ,itstool)
6501 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6502 ("pkg-config" ,pkg-config)
6503 ("vala" ,vala)
6504 ("xmllint" ,libxml2)))
6505 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6506 (synopsis "Document and image scanner")
6507 (description
6508 "Document Scanner is an easy-to-use application that lets you connect your
6509 scanner and quickly capture images and documents in an appropriate format. It
6510 supports any scanner for which a suitable SANE driver is available, which is
6511 almost all of them.")
6512 (license license:gpl3+)))
6513
6514 (define-public eolie
6515 (package
6516 (name "eolie")
6517 (version "0.9.100")
6518 (source (origin
6519 (method url-fetch)
6520 (uri (string-append "https://adishatz.org/eolie/eolie-"
6521 version ".tar.xz"))
6522 (sha256
6523 (base32
6524 "1vzhfp8j1z3jvd5ndqfyn7nqrx3zdvx9mv1byjl36nnd9g63ji62"))))
6525 (build-system meson-build-system)
6526 (arguments
6527 `(#:glib-or-gtk? #t
6528 #:phases
6529 (modify-phases %standard-phases
6530 (add-after 'unpack 'skip-gtk-update-icon-cache
6531 ;; Don't create 'icon-theme.cache'.
6532 (lambda _
6533 (substitute* "meson_post_install.py"
6534 (("gtk-update-icon-cache") "true"))
6535 #t))
6536 (add-after 'wrap 'wrap-more
6537 (lambda* (#:key inputs outputs #:allow-other-keys)
6538 (let* ((out (assoc-ref outputs "out"))
6539 ;; These libraries must be on LD_LIBRARY_PATH.
6540 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6541 "atk" "gtk+" "gsettings-desktop-schemas"
6542 "gobject-introspection"))
6543 (path (string-join
6544 (map (lambda (lib)
6545 (string-append (assoc-ref inputs lib) "/lib"))
6546 libs)
6547 ":")))
6548 (wrap-program (string-append out "/bin/eolie")
6549 `("LD_LIBRARY_PATH" ":" prefix (,path))
6550 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6551 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6552 #t)))))
6553 (native-inputs
6554 `(("intltool" ,intltool)
6555 ("itstool" ,itstool)
6556 ("pkg-config" ,pkg-config)
6557 ("python" ,python)
6558 ("glib:bin" ,glib "bin")))
6559 (inputs
6560 `(("gobject-introspection" ,gobject-introspection)
6561 ("glib-networking" ,glib-networking)
6562 ("cairo" ,cairo)
6563 ("gtk+" ,gtk+)
6564 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6565 ("python" ,python-wrapper)
6566 ("python-dateutil" ,python-dateutil)
6567 ("python-pyfxa" ,python-pyfxa)
6568 ("python-pygobject" ,python-pygobject)
6569 ("python-pycairo" ,python-pycairo)
6570 ("python-pycrypto" ,python-pycrypto)
6571 ("libsecret" ,libsecret)
6572 ("gtkspell3" ,gtkspell3)
6573 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6574 ("webkitgtk" ,webkitgtk)))
6575 (home-page "https://wiki.gnome.org/Apps/Eolie")
6576 (synopsis "Web browser for GNOME")
6577 (description
6578 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6579 a secret password store, an adblocker, and a modern UI.")
6580 (license license:gpl3+)))
6581
6582 (define-public epiphany
6583 (package
6584 (name "epiphany")
6585 (version "3.34.4")
6586 (source (origin
6587 (method url-fetch)
6588 (uri (string-append "mirror://gnome/sources/epiphany/"
6589 (version-major+minor version) "/"
6590 "epiphany-" version ".tar.xz"))
6591 (sha256
6592 (base32
6593 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6594
6595 (build-system meson-build-system)
6596 (arguments
6597 '(#:glib-or-gtk? #t
6598 #:phases
6599 (modify-phases %standard-phases
6600 (add-after 'unpack 'skip-gtk-update-icon-cache
6601 ;; Don't create 'icon-theme.cache'.
6602 (lambda _
6603 (substitute* "post_install.py"
6604 (("gtk-update-icon-cache") "true"))
6605 #t))
6606 (add-after 'unpack 'disable-failing-tests
6607 (lambda _
6608 (substitute* "tests/meson.build"
6609 ;; embed_shell fails, because webkitgtk apparently no longer supports
6610 ;; overriding the ftp schema
6611 ;; web_app_utils fails due to missing network access
6612 (("(embed_shell|web_app_utils)_test,")
6613 "find_program('sh'), args: ['-c', 'exit 77'],"))
6614 #t))
6615 (add-before 'check 'pre-check
6616 (lambda _
6617 ;; Tests require a running X server.
6618 (system "Xvfb :1 &")
6619 (setenv "DISPLAY" ":1")
6620 #t)))
6621 #:configure-flags
6622 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6623 (list (string-append "-Dc_link_args=-Wl,-rpath="
6624 (assoc-ref %outputs "out") "/lib/epiphany"))))
6625 (propagated-inputs
6626 `(("dconf" ,dconf)))
6627 (native-inputs
6628 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6629 ("glib:bin" ,glib "bin") ; for glib-mkenums
6630 ("intltool" ,intltool)
6631 ("itstool" ,itstool)
6632 ("pkg-config" ,pkg-config)
6633 ("xmllint" ,libxml2)
6634 ("xorg-server" ,xorg-server-for-tests)))
6635 (inputs
6636 `(("avahi" ,avahi)
6637 ("gcr" ,gcr)
6638 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6639 ("glib-networking" ,glib-networking)
6640 ("gnome-desktop" ,gnome-desktop)
6641 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6642 ("json-glib" ,json-glib)
6643 ("iso-codes" ,iso-codes)
6644 ("libdazzle" ,libdazzle)
6645 ("libnotify" ,libnotify)
6646 ("libsecret" ,libsecret)
6647 ("libxslt" ,libxslt)
6648 ("nettle" ,nettle) ; for hogweed
6649 ("sqlite" ,sqlite)
6650 ("webkitgtk" ,webkitgtk)))
6651 (home-page "https://wiki.gnome.org/Apps/Web")
6652 (synopsis "GNOME web browser")
6653 (description
6654 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6655 principles are simplicity and standards compliance.")
6656 (license license:gpl2+)))
6657
6658 (define-public d-feet
6659 (package
6660 (name "d-feet")
6661 (version "0.3.14")
6662 (source (origin
6663 (method url-fetch)
6664 (uri (string-append "mirror://gnome/sources/" name "/"
6665 (version-major+minor version) "/"
6666 name "-" version ".tar.xz"))
6667 (sha256
6668 (base32
6669 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6670 (build-system glib-or-gtk-build-system)
6671 (arguments
6672 '(#:out-of-source? #f ; tests need to run in the source directory.
6673 #:phases
6674 (modify-phases %standard-phases
6675 (add-before
6676 'check 'pre-check
6677 (lambda _
6678 ;; The test suite requires a running X server.
6679 (system "Xvfb :1 &")
6680 (setenv "DISPLAY" ":1")
6681 ;; Don't fail on missing '/etc/machine-id'.
6682 (setenv "DBUS_FATAL_WARNINGS" "0")
6683 ;; tests.py and window.py don't meet E402:
6684 ;; E402 module level import not at top of file
6685 (substitute* "src/tests/Makefile"
6686 (("--ignore=E123") "--ignore=E123,E402"))
6687 #t))
6688 (add-after
6689 'install 'wrap-program
6690 (lambda* (#:key outputs #:allow-other-keys)
6691 (let ((prog (string-append (assoc-ref outputs "out")
6692 "/bin/d-feet")))
6693 (wrap-program prog
6694 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6695 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6696 #t))))))
6697 (native-inputs
6698 `(("intltool" ,intltool)
6699 ("itstool" ,itstool)
6700 ("pkg-config" ,pkg-config)
6701 ("python-pep8" ,python-pep8)
6702 ("xmllint" ,libxml2)
6703 ("xorg-server" ,xorg-server-for-tests)))
6704 (inputs
6705 `(("gobject-introspection" ,gobject-introspection)
6706 ("gtk+" ,gtk+)
6707 ("python" ,python-wrapper)
6708 ("hicolor-icon-theme" ,hicolor-icon-theme)
6709 ("python-pygobject" ,python-pygobject)))
6710 (home-page "https://wiki.gnome.org/Apps/DFeet")
6711 (synopsis "D-Bus debugger")
6712 (description
6713 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6714 of running programs and invoke methods on those interfaces.")
6715 (license license:gpl2+)))
6716
6717 (define-public yelp-xsl
6718 (package
6719 (name "yelp-xsl")
6720 (version "3.34.2")
6721 (source
6722 (origin
6723 (method url-fetch)
6724 (uri
6725 (string-append "mirror://gnome/sources/" name "/"
6726 (version-major+minor version) "/"
6727 name "-" version ".tar.xz"))
6728 (sha256
6729 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6730 (build-system gnu-build-system)
6731 (native-inputs
6732 `(("gettext-minimal" ,gettext-minimal)
6733 ("itstool" ,itstool)
6734 ("xmllint" ,libxml2)))
6735 (synopsis "XSL stylesheets for Yelp")
6736 (description "Yelp-XSL is a collection of programs and data files to help
6737 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6738 that can be built upon for help viewers and publishing systems. These
6739 stylesheets output JavaScript and CSS content, and reference images
6740 provided by yelp-xsl. It also redistributes copies of the jQuery and
6741 jQuery.Syntax JavaScript libraries.")
6742 (home-page "https://wiki.gnome.org/Apps/Yelp")
6743 (license
6744 (list
6745 ;; XSLT
6746 license:gpl2+
6747 ;; Images
6748 license:lgpl2.1+
6749 ;; JavaScript
6750 license:expat))))
6751
6752 (define-public yelp
6753 (package
6754 (name "yelp")
6755 (version "3.32.2")
6756 (source (origin
6757 (method url-fetch)
6758 (uri (string-append "mirror://gnome/sources/" name "/"
6759 (version-major+minor version) "/"
6760 name "-" version ".tar.xz"))
6761 (sha256
6762 (base32
6763 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6764 (build-system glib-or-gtk-build-system)
6765 (native-inputs
6766 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6767 ("intltool" ,intltool)
6768 ("itstool" ,itstool)
6769 ("pkg-config" ,pkg-config)))
6770 (propagated-inputs
6771 `(("dconf" ,dconf)))
6772 (inputs
6773 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6774 ("libxslt" ,libxslt)
6775 ("sqlite" ,sqlite)
6776 ("webkitgtk" ,webkitgtk)
6777 ("yelp-xsl" ,yelp-xsl)))
6778 (home-page "https://wiki.gnome.org/Apps/Yelp")
6779 (synopsis "GNOME help browser")
6780 (description
6781 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6782 man, info, and HTML documents. It can locate documents according to the
6783 freedesktop.org help system specification.")
6784 (license license:gpl2+)))
6785
6786 (define-public yelp-tools
6787 (package
6788 (name "yelp-tools")
6789 (version "3.32.2")
6790 (source
6791 (origin
6792 (method url-fetch)
6793 (uri
6794 (string-append "mirror://gnome/sources/" name "/"
6795 (version-major+minor version) "/"
6796 name "-" version ".tar.xz"))
6797 (sha256
6798 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6799 (build-system gnu-build-system)
6800 (native-inputs
6801 `(("pkg-config" ,pkg-config)))
6802 (inputs
6803 `(("yelp-xsl" ,yelp-xsl)))
6804 (propagated-inputs
6805 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6806 `(("itstool" ,itstool)
6807 ("xmllint" ,libxml2)
6808 ("xsltproc" ,libxslt)))
6809 (synopsis "Yelp documentation tools")
6810 (description
6811 "Yelp-tools is a collection of scripts and build utilities to help create,
6812 manage, and publish documentation for Yelp and the web. Most of the heavy
6813 lifting is done by packages like yelp-xsl and itstool. This package just
6814 wraps things up in a developer-friendly way.")
6815 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6816 (license license:gpl2+)))
6817
6818 (define-public libgee
6819 (package
6820 (name "libgee")
6821 (version "0.20.3")
6822 (source (origin
6823 (method url-fetch)
6824 (uri (string-append "mirror://gnome/sources/libgee/"
6825 (version-major+minor version) "/"
6826 "libgee-" version ".tar.xz"))
6827 (sha256
6828 (base32
6829 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6830 (build-system gnu-build-system)
6831 (arguments
6832 `(#:phases
6833 (modify-phases %standard-phases
6834 (add-after 'unpack 'fix-introspection-install-dir
6835 (lambda* (#:key outputs #:allow-other-keys)
6836 (let ((out (assoc-ref outputs "out")))
6837 (substitute* "gee/Makefile.in"
6838 (("@INTROSPECTION_GIRDIR@")
6839 (string-append out "/share/gir-1.0/"))
6840 (("@INTROSPECTION_TYPELIBDIR@")
6841 (string-append out "/lib/girepository-1.0/")))))))))
6842 (native-inputs
6843 `(("glib" ,glib "bin")
6844 ("pkg-config" ,pkg-config)))
6845 (inputs
6846 `(("glib" ,glib)
6847 ("gobject-introspection" ,gobject-introspection)))
6848 (home-page "https://wiki.gnome.org/Projects/Libgee")
6849 (synopsis "GObject collection library")
6850 (description
6851 "Libgee is a utility library providing GObject-based interfaces and
6852 classes for commonly used data structures.")
6853 (license license:lgpl2.1+)))
6854
6855 (define-public gexiv2
6856 (package
6857 (name "gexiv2")
6858 (version "0.12.1")
6859 (source (origin
6860 (method url-fetch)
6861 (uri (string-append "mirror://gnome/sources/" name "/"
6862 (version-major+minor version) "/"
6863 name "-" version ".tar.xz"))
6864 (sha256
6865 (base32
6866 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6867 (build-system meson-build-system)
6868 (native-inputs
6869 `(("gcr" ,gcr)
6870 ("glib" ,glib "bin")
6871 ("pkg-config" ,pkg-config)
6872 ("vala" ,vala)))
6873 (propagated-inputs
6874 ;; Listed in "Requires" section of gexiv2.pc
6875 `(("exiv2" ,exiv2)))
6876 (inputs
6877 `(("glib" ,glib)
6878 ("gobject-introspection" ,gobject-introspection)))
6879 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6880 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6881 (description
6882 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6883 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6884 metadata in photo and video files of various formats.")
6885 (license license:gpl2+)))
6886
6887 (define-public shotwell
6888 (package
6889 (name "shotwell")
6890 (version "0.30.11")
6891 (source (origin
6892 (method url-fetch)
6893 (uri (string-append "mirror://gnome/sources/shotwell/"
6894 (version-major+minor version) "/"
6895 "shotwell-" version ".tar.xz"))
6896 (sha256
6897 (base32
6898 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
6899 (build-system meson-build-system)
6900 (arguments
6901 '(#:glib-or-gtk? #t
6902 #:phases
6903 (modify-phases %standard-phases
6904 (add-after 'unpack 'skip-gtk-update-icon-cache
6905 (lambda _
6906 (substitute* "build-aux/meson/postinstall.py"
6907 (("gtk-update-icon-cache") (which "true"))
6908 (("update-desktop-database") (which "true")))
6909 #t)))))
6910 (propagated-inputs
6911 `(("dconf" ,dconf)))
6912 (native-inputs
6913 `(("gettext" ,gettext-minimal)
6914 ("glib:bin" ,glib "bin")
6915 ("itstool" ,itstool)
6916 ("pkg-config" ,pkg-config)
6917 ("vala" ,vala)))
6918 (inputs
6919 `(("gcr" ,gcr)
6920 ("gexiv2" ,gexiv2)
6921 ("gst-plugins-base" ,gst-plugins-base)
6922 ("gstreamer" ,gstreamer)
6923 ("json-glib" ,json-glib)
6924 ("libgdata" ,libgdata)
6925 ("libgee" ,libgee)
6926 ("libgphoto2" ,libgphoto2)
6927 ("libgudev" ,libgudev)
6928 ("libraw" ,libraw)
6929 ("libsoup" ,libsoup)
6930 ("libxml2" ,libxml2)
6931 ("sqlite" ,sqlite)
6932 ("webkitgtk" ,webkitgtk)))
6933 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6934 (synopsis "Photo manager for GNOME 3")
6935 (description
6936 "Shotwell is a digital photo manager designed for the GNOME desktop
6937 environment. It allows you to import photos from disk or camera, organize
6938 them by keywords and events, view them in full-window or fullscreen mode, and
6939 share them with others via social networking and more.")
6940 (license license:lgpl2.1+)))
6941
6942 (define-public file-roller
6943 (package
6944 (name "file-roller")
6945 (version "3.38.0")
6946 (source (origin
6947 (method url-fetch)
6948 (uri (string-append "mirror://gnome/sources/file-roller/"
6949 (version-major+minor version) "/"
6950 "file-roller-" version ".tar.xz"))
6951 (sha256
6952 (base32
6953 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
6954 (build-system meson-build-system)
6955 (native-inputs
6956 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6957 ("intltool" ,intltool)
6958 ("itstool" ,itstool)
6959 ("pkg-config" ,pkg-config)
6960 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6961 ("glib:bin" ,glib "bin")))
6962 ;; TODO: Add libnautilus.
6963 (inputs
6964 `(("gtk+" ,gtk+)
6965 ("gdk-pixbuf" ,gdk-pixbuf)
6966 ("json-glib" ,json-glib)
6967 ("libarchive" ,libarchive)
6968 ("libnotify" ,libnotify)
6969 ("nettle" ,nettle)
6970 ("libxml2" ,libxml2)))
6971 (synopsis "Graphical archive manager for GNOME")
6972 (description "File Roller is an archive manager for the GNOME desktop
6973 environment that allows users to view, unpack, and create compressed archives
6974 such as gzip tarballs.")
6975 (home-page "http://fileroller.sourceforge.net/")
6976 (license license:gpl2+)))
6977
6978 (define-public gnome-session
6979 (package
6980 (name "gnome-session")
6981 (version "3.34.2")
6982 (source (origin
6983 (method url-fetch)
6984 (uri (string-append "mirror://gnome/sources/" name "/"
6985 (version-major+minor version) "/"
6986 name "-" version ".tar.xz"))
6987 (sha256
6988 (base32
6989 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6990 (arguments
6991 '(#:glib-or-gtk? #t
6992 #:phases
6993 (modify-phases %standard-phases
6994 (add-before 'configure 'pre-configure
6995 (lambda* (#:key outputs #:allow-other-keys)
6996 ;; Use elogind instead of systemd.
6997 (substitute* "meson.build"
6998 (("libsystemd-login") "libelogind")
6999 (("and libsystemd_daemon_dep.found.*") ","))
7000 (substitute* "gnome-session/gsm-systemd.c"
7001 (("#include <systemd/sd-login.h>")
7002 "#include <elogind/sd-login.h>"))
7003 ;; Remove uses of the systemd daemon.
7004 (substitute* "gnome-session/gsm-autostart-app.c"
7005 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7006 #t))
7007 (add-after 'install 'wrap-gnome-session
7008 (lambda* (#:key inputs outputs #:allow-other-keys)
7009 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7010 (let ((glib (assoc-ref inputs "glib:bin"))
7011 (out (assoc-ref outputs "out")))
7012 (wrap-program (string-append out "/bin/gnome-session")
7013 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7014 #t))))
7015
7016 #:configure-flags
7017 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7018 "-Dman=false" ; FIXME: disabled because of docbook validation error
7019 "-Dsystemd_journal=false")))
7020 (build-system meson-build-system)
7021 (native-inputs
7022 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7023 ("pkg-config" ,pkg-config)
7024 ("intltool" ,intltool)
7025 ("xsltproc" ,libxslt)
7026 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7027 ("docbook-xsl" ,docbook-xsl)
7028 ("docbook-xml" ,docbook-xml)
7029 ("xmlto" ,xmlto)))
7030 (inputs
7031 `(("elogind" ,elogind)
7032 ("gnome-desktop" ,gnome-desktop)
7033 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7034 ("gtk+" ,gtk+)
7035 ("json-glib" ,json-glib)
7036 ("libsm" ,libsm)
7037 ("libxcomposite" ,libxcomposite)
7038 ("libxtst" ,libxtst)
7039 ("mesa" ,mesa)
7040 ("upower" ,upower)
7041 ("xtrans" ,xtrans)))
7042 (synopsis "Session manager for GNOME")
7043 (description
7044 "This package contains the GNOME session manager, as well as a
7045 configuration program to choose applications starting on login.")
7046 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7047 (license license:gpl2+)))
7048
7049 (define-public gjs
7050 (package
7051 (name "gjs")
7052 (version "1.58.3")
7053 (source (origin
7054 (method url-fetch)
7055 (uri (string-append "mirror://gnome/sources/" name "/"
7056 (version-major+minor version) "/"
7057 name "-" version ".tar.xz"))
7058 (sha256
7059 (base32
7060 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7061 (build-system gnu-build-system)
7062 (arguments
7063 '(#:phases
7064 (modify-phases %standard-phases
7065 (add-before
7066 'check 'pre-check
7067 (lambda _
7068 ;; The test suite requires a running X server.
7069 (system "Xvfb :1 &")
7070 (setenv "DISPLAY" ":1")
7071
7072 ;; For the missing /etc/machine-id.
7073 (setenv "DBUS_FATAL_WARNINGS" "0")
7074
7075 ;; Our mozjs-38 package does not compile the required Intl API
7076 ;; support for these failing tests.
7077 (substitute* "installed-tests/js/testLocale.js"
7078 ((".*toBeDefined.*") "")
7079 ((".*expect\\(datestr\\).*") ""))
7080 (substitute* "installed-tests/scripts/testCommandLine.sh"
7081 (("Valentín") "")
7082 (("☭") ""))
7083 #t)))))
7084 (native-inputs
7085 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7086 ("pkg-config" ,pkg-config)
7087 ("xmllint" ,libxml2)
7088 ;; For testing
7089 ("dbus-launch" ,dbus)
7090 ("dconf" ,dconf) ; required to properly store settings
7091 ("uuidgen" ,util-linux)
7092 ("xvfb" ,xorg-server-for-tests)))
7093 (propagated-inputs
7094 ;; These are all in the Requires.private field of gjs-1.0.pc.
7095 `(("cairo" ,cairo)
7096 ("gobject-introspection" ,gobject-introspection)
7097 ("mozjs" ,mozjs-60)))
7098 (inputs
7099 `(("gtk+" ,gtk+)
7100 ("readline" ,readline)))
7101 (synopsis "Javascript bindings for GNOME")
7102 (home-page "https://live.gnome.org/Gjs")
7103 (description
7104 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7105 javascript engine and the GObject introspection framework.")
7106 (license license:gpl2+)))
7107
7108 (define-public gedit
7109 (package
7110 (name "gedit")
7111 (version "3.34.1")
7112 (source (origin
7113 (method url-fetch)
7114 (uri (string-append "mirror://gnome/sources/" name "/"
7115 (version-major+minor version) "/"
7116 name "-" version ".tar.xz"))
7117 (sha256
7118 (base32
7119 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7120 (build-system meson-build-system)
7121 (arguments
7122 `(#:glib-or-gtk? #t
7123 #:configure-flags
7124 ;; Otherwise, the RUNPATH will lack the final path component.
7125 (list (string-append "-Dc_link_args=-Wl,-rpath="
7126 (assoc-ref %outputs "out") "/lib/gedit"))
7127
7128 ;; XXX: Generated .h files are sometimes used before being built.
7129 #:parallel-build? #f
7130
7131 #:phases
7132 (modify-phases %standard-phases
7133 (add-after 'unpack 'skip-gtk-update-icon-cache
7134 ;; Don't create 'icon-theme.cache'.
7135 (lambda _
7136 (substitute* "build-aux/meson/post_install.py"
7137 (("gtk-update-icon-cache") (which "true")))
7138 #t))
7139 (add-after 'unpack 'patch-libgd-fetch
7140 (lambda* (#:key inputs #:allow-other-keys)
7141 (let ((libgd (assoc-ref inputs "libgd")))
7142 ;; Calling git is unnecessary because libgd is fetched as a
7143 ;; native input to this package.
7144 (substitute* "meson.build"
7145 ((".*git.*") ""))
7146 (copy-recursively libgd "subprojects/libgd")
7147 #t)))
7148 (add-after 'install 'wrap-gedit
7149 (lambda* (#:key inputs outputs #:allow-other-keys)
7150 (let ((out (assoc-ref outputs "out"))
7151 (gtksourceview (assoc-ref inputs "gtksourceview"))
7152 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7153 (python-path (getenv "PYTHONPATH")))
7154 (wrap-program (string-append out "/bin/gedit")
7155 ;; For plugins.
7156 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7157 `("PYTHONPATH" ":" prefix (,python-path))
7158 ;; For language-specs.
7159 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7160 "/share")))))
7161 #t)))))
7162 (propagated-inputs
7163 `(("dconf" ,dconf)))
7164 (native-inputs
7165 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7166 ("intltool" ,intltool)
7167 ("itstool" ,itstool)
7168 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7169 ("gobject-introspection" ,gobject-introspection)
7170 ("libgd"
7171 ,(origin
7172 (method git-fetch)
7173 (uri (git-reference
7174 (url "https://gitlab.gnome.org/GNOME/libgd")
7175 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7176 (file-name (git-file-name "libgd" version))
7177 (sha256
7178 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7179 ("pkg-config" ,pkg-config)))
7180 (inputs
7181 `(("glib" ,glib)
7182 ("gspell" ,gspell)
7183 ("gtk+" ,gtk+)
7184 ("gtksourceview" ,gtksourceview)
7185 ("libpeas" ,libpeas)
7186 ("libxml2" ,libxml2)
7187 ("iso-codes" ,iso-codes)
7188 ("python-pygobject" ,python-pygobject)
7189 ("python" ,python)
7190 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7191 ("libx11" ,libx11)
7192 ("vala" ,vala)
7193 ("adwaita-icon-theme" ,adwaita-icon-theme)
7194 ("libsoup" ,libsoup)
7195 ("gnome-desktop" ,gnome-desktop)))
7196 (home-page "https://wiki.gnome.org/Apps/Gedit")
7197 (synopsis "GNOME text editor")
7198 (description "While aiming at simplicity and ease of use, gedit is a
7199 powerful general purpose text editor.")
7200 (license license:gpl2+)))
7201
7202 (define-public zenity
7203 (package
7204 (name "zenity")
7205 (version "3.32.0")
7206 (source (origin
7207 (method url-fetch)
7208 (uri (string-append "mirror://gnome/sources/zenity/"
7209 (version-major+minor version) "/"
7210 "zenity-" version ".tar.xz"))
7211 (sha256
7212 (base32
7213 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7214 (build-system gnu-build-system)
7215 (native-inputs
7216 `(("gettext" ,gettext-minimal)
7217 ("itstool" ,itstool)
7218 ("pkg-config" ,pkg-config)))
7219 (inputs
7220 `(("libnotify" ,libnotify)
7221 ("webkitgtk" ,webkitgtk)))
7222 (synopsis "Display graphical dialog boxes from shell scripts")
7223 (home-page "https://www.gnome.org")
7224 (description
7225 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7226 to display dialog boxes from the commandline and shell scripts.")
7227 (license license:lgpl2.0+)))
7228
7229 (define-public mutter
7230 (package
7231 (name "mutter")
7232 (version "3.34.2")
7233 (source (origin
7234 (method url-fetch)
7235 (uri (string-append "mirror://gnome/sources/" name "/"
7236 (version-major+minor version) "/"
7237 name "-" version ".tar.xz"))
7238 (sha256
7239 (base32
7240 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7241 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7242 ;; versions of cogl and clutter. As a result, many of the inputs,
7243 ;; propagated-inputs, and configure flags used in cogl and clutter are
7244 ;; needed here as well.
7245 (build-system meson-build-system)
7246 (arguments
7247 '(;; XXX: All mutter tests fail with the following error:
7248 ;; Settings schema 'org.gnome.mutter' is not installed
7249 #:tests? #f
7250 #:glib-or-gtk? #t
7251 #:configure-flags
7252 ;; TODO: Enable profiler when Sysprof is packaged.
7253 (list "-Dprofiler=false"
7254 ;; Otherwise, the RUNPATH will lack the final path component.
7255 (string-append "-Dc_link_args=-Wl,-rpath="
7256 (assoc-ref %outputs "out") "/lib:"
7257 (assoc-ref %outputs "out") "/lib/mutter-5")
7258
7259 ;; The following flags are needed for the bundled clutter
7260 (string-append "-Dxwayland_path="
7261 (assoc-ref %build-inputs "xorg-server-xwayland")
7262 "/bin/Xwayland")
7263
7264 ;; the remaining flags are needed for the bundled cogl
7265 (string-append "-Dopengl_libname="
7266 (assoc-ref %build-inputs "mesa")
7267 "/lib/libGL.so"))
7268 #:phases (modify-phases %standard-phases
7269 (add-after 'unpack 'fix-build-with-mesa-20
7270 (lambda _
7271 ;; Mimic upstream commit a444a4c5f58ea516ad for
7272 ;; compatibility with Mesa 20. Remove for 3.36.
7273 (substitute* '("src/backends/meta-egl-ext.h"
7274 "src/backends/meta-egl.c"
7275 "src/backends/meta-egl.h")
7276 (("#include <EGL/eglext\\.h>" all)
7277 (string-append all "\n#include <EGL/eglmesaext.h>")))
7278 (substitute* "cogl/cogl/meson.build"
7279 (("#include <EGL/eglext\\.h>" all)
7280 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7281 #t)))))
7282 (native-inputs
7283 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7284 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7285 ("gobject-introspection" ,gobject-introspection)
7286 ("intltool" ,intltool)
7287 ("pkg-config" ,pkg-config)
7288 ("xorg-server" ,xorg-server-for-tests)
7289 ;; For git build
7290 ("autoconf" ,autoconf)
7291 ("automake" ,automake)
7292 ("libtool" ,libtool)))
7293 (propagated-inputs
7294 `(;; libmutter.pc refers to these:
7295 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7296 ("gtk+" ,gtk+)
7297 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7298 ("atk" ,atk)
7299 ("cairo" ,cairo)
7300 ("gdk-pixbuf" ,gdk-pixbuf)
7301 ("glib" ,glib)
7302 ("json-glib" ,json-glib)
7303 ("libinput" ,libinput)
7304 ("libx11" ,libx11)
7305 ("libxcomposite" ,libxcomposite)
7306 ("libxdamage" ,libxdamage)
7307 ("libxext" ,libxext)
7308 ("libxfixes" ,libxfixes)
7309 ("libxkbcommon" ,libxkbcommon)
7310 ("libxrandr" ,libxrandr)
7311 ("mesa" ,mesa)
7312 ("pango" ,pango)
7313 ("udev" ,eudev)
7314 ("xinput" ,xinput)))
7315 (inputs
7316 `(("elogind" ,elogind)
7317 ("gnome-desktop" ,gnome-desktop)
7318 ("gnome-settings-daemon" ,gnome-settings-daemon)
7319 ("libcanberra-gtk" ,libcanberra)
7320 ("libgudev" ,libgudev)
7321 ("libice" ,libice)
7322 ("libsm" ,libsm)
7323 ("libwacom" ,libwacom)
7324 ("libxkbfile" ,libxkbfile)
7325 ("libxrandr" ,libxrandr)
7326 ("libxtst" ,libxtst)
7327 ("pipewire" ,pipewire)
7328 ("startup-notification" ,startup-notification)
7329 ("upower-glib" ,upower)
7330 ("xkeyboard-config" ,xkeyboard-config)
7331 ("xorg-server-xwayland" ,xorg-server-xwayland)
7332 ("zenity" ,zenity)))
7333 (synopsis "Window and compositing manager")
7334 (home-page "https://www.gnome.org")
7335 (description
7336 "Mutter is a window and compositing manager that displays and manages your
7337 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7338 Clutter toolkit with solid window-management logic inherited from the Metacity
7339 window manager.")
7340 (license license:gpl2+)))
7341
7342 (define-public gnome-online-accounts
7343 (package
7344 (name "gnome-online-accounts")
7345 (version "3.36.0")
7346 (source (origin
7347 (method url-fetch)
7348 (uri (string-append "mirror://gnome/sources/" name "/"
7349 (version-major+minor version) "/"
7350 name "-" version ".tar.xz"))
7351 (sha256
7352 (base32
7353 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7354 (outputs '("out" "lib"))
7355 (build-system glib-or-gtk-build-system)
7356 (arguments
7357 `(#:configure-flags
7358 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7359 #:phases
7360 (modify-phases %standard-phases
7361 (add-before 'configure 'patch-libgoa-output
7362 (lambda* (#:key outputs #:allow-other-keys)
7363 (let ((lib (assoc-ref outputs "lib")))
7364 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7365 (("@prefix@") lib)
7366 (("@exec_prefix@") lib)
7367 (("@libdir@") (string-append lib "/lib"))
7368 (("@includedir@") (string-append lib "/include"))
7369 (("@datadir@") (string-append lib "/share")))
7370 ;; Make sure gobject-introspection knows about the output
7371 ;; too (see <https://bugs.gnu.org/36535>).
7372 (setenv "outputs" "out lib")
7373 #t))))))
7374 (native-inputs
7375 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7376 ("gobject-introspection" ,gobject-introspection)
7377 ("intltool" ,intltool)
7378 ("pkg-config" ,pkg-config)
7379 ("vala" ,vala)
7380 ("xsltproc" ,libxslt)))
7381 (propagated-inputs
7382 `(("glib" ,glib) ; required by goa-1.0.pc
7383 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7384 (inputs
7385 `(("docbook-xsl" ,docbook-xsl)
7386 ("json-glib" ,json-glib)
7387 ("libsecret" ,libsecret)
7388 ("rest" ,rest)
7389 ("webkitgtk" ,webkitgtk)))
7390 (synopsis "Single sign-on framework for GNOME")
7391 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7392 (description
7393 "GNOME Online Accounts provides interfaces so that applications and
7394 libraries in GNOME can access the user's online accounts. It has providers for
7395 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7396 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7397 (license license:lgpl2.0+)))
7398
7399 (define-public evolution-data-server
7400 (package
7401 (name "evolution-data-server")
7402 (version "3.34.2")
7403 (source (origin
7404 (method url-fetch)
7405 (uri (string-append "mirror://gnome/sources/" name "/"
7406 (version-major+minor version) "/"
7407 name "-" version ".tar.xz"))
7408 (patches (search-patches "evolution-data-server-locales.patch"
7409 "evolution-data-server-libical-compat.patch"))
7410 (sha256
7411 (base32
7412 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7413 (build-system cmake-build-system)
7414 (arguments
7415 '(#:configure-flags
7416 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7417 (runpaths (map (lambda (s)
7418 (string-append lib "/evolution-data-server/" s))
7419 '("addressbook-backends" "calendar-backends"
7420 "camel-providers" "credential-modules"
7421 "registry-modules"))))
7422 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7423 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7424 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7425 "-DENABLE_VALA_BINDINGS=ON"
7426 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7427 (string-append lib "/evolution-data-server;")
7428 (string-join runpaths ";"))
7429 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7430 #:phases
7431 (modify-phases %standard-phases
7432 (add-after 'unpack 'disable-failing-tests
7433 (lambda _
7434 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7435 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7436 (delete-file-recursively "tests/book-migration")
7437 (substitute* "tests/CMakeLists.txt"
7438 (("add_subdirectory\\(book-migration\\)") ""))
7439 #t))
7440 (add-after 'unpack 'patch-paths
7441 (lambda _
7442 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7443 "tests/libedata-book/data-test-utils.c"
7444 "tests/libedata-book/test-book-cache-utils.c"
7445 "tests/libedata-cal/test-cal-cache-utils.c")
7446 (("/bin/rm") (which "rm")))
7447 #t))
7448 (add-before 'configure 'dont-override-rpath
7449 (lambda _
7450 (substitute* "CMakeLists.txt"
7451 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7452 ;; Remove it so the configure flag is respected.
7453 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7454 #t)))))
7455 (native-inputs
7456 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7457 ("gobject-introspection" ,gobject-introspection)
7458 ("gperf" ,gperf)
7459 ("intltool" ,intltool)
7460 ("pkg-config" ,pkg-config)
7461 ("vala" ,vala)
7462 ("python" ,python-wrapper)))
7463 (propagated-inputs
7464 ;; These are all in the Requires field of .pc files.
7465 `(("gtk+" ,gtk+)
7466 ("libical" ,libical)
7467 ("libsecret" ,libsecret)
7468 ("libsoup" ,libsoup)
7469 ("nss" ,nss)
7470 ("sqlite" ,sqlite)))
7471 (inputs
7472 `(("bdb" ,bdb)
7473 ("gcr" ,gcr)
7474 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7475 ("json-glib" ,json-glib)
7476 ("libcanberra" ,libcanberra)
7477 ("libgweather" ,libgweather)
7478 ("mit-krb5" ,mit-krb5)
7479 ("openldap" ,openldap)
7480 ("webkitgtk" ,webkitgtk)))
7481 (synopsis "Store address books and calendars")
7482 (home-page "https://wiki.gnome.org/Apps/Evolution")
7483 (description
7484 "This package provides a unified backend for programs that work with
7485 contacts, tasks, and calendar information. It was originally developed for
7486 Evolution (hence the name), but is now used by other packages as well.")
7487 (license license:lgpl2.0)))
7488
7489 (define-public caribou
7490 (package
7491 (name "caribou")
7492 (version "0.4.21")
7493 (source (origin
7494 (method url-fetch)
7495 (uri (string-append "mirror://gnome/sources/" name "/"
7496 (version-major+minor version) "/"
7497 name "-" version ".tar.xz"))
7498 (sha256
7499 (base32
7500 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7501 (build-system glib-or-gtk-build-system)
7502 (arguments
7503 '(#:phases
7504 (modify-phases %standard-phases
7505 (add-before
7506 'build 'pre-build
7507 (lambda* (#:key outputs #:allow-other-keys)
7508 (let ((out (assoc-ref outputs "out")))
7509 ;; Use absolute shared library path in Caribou-1.0.typelib.
7510 (substitute* "libcaribou/Makefile"
7511 (("--shared-library=libcaribou.so")
7512 (string-append "--shared-library="
7513 out "/lib/libcaribou.so")))
7514 #t)))
7515 (add-after 'install 'wrap-programs
7516 (lambda* (#:key outputs #:allow-other-keys)
7517 (let* ((out (assoc-ref outputs "out"))
7518 (python-path (getenv "PYTHONPATH"))
7519 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7520 (for-each
7521 (lambda (prog)
7522 (wrap-program prog
7523 `("PYTHONPATH" ":" prefix (,python-path))
7524 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7525 (list (string-append out "/bin/caribou-preferences")
7526 (string-append out "/libexec/antler-keyboard"))))
7527 #t)))))
7528 (native-inputs
7529 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7530 ("gobject-introspection" ,gobject-introspection)
7531 ("intltool" ,intltool)
7532 ("pkg-config" ,pkg-config)
7533 ("python" ,python)
7534 ("vala" ,vala)
7535 ("xsltproc" ,libxslt)))
7536 (propagated-inputs
7537 ;; caribou-1.0.pc refers to all these.
7538 `(("libgee" ,libgee)
7539 ("libxklavier" ,libxklavier)
7540 ("libxtst" ,libxtst)
7541 ("gtk+" ,gtk+)))
7542 (inputs
7543 `(("clutter" ,clutter)
7544 ("dconf" ,dconf)
7545 ("gtk+-2" ,gtk+-2)
7546 ("python-pygobject" ,python-pygobject)))
7547 (synopsis "Text entry and UI navigation application")
7548 (home-page "https://wiki.gnome.org/Projects/Caribou")
7549 (description
7550 "Caribou is an input assistive technology intended for switch and pointer
7551 users.")
7552 (license license:lgpl2.1)))
7553
7554 (define-public network-manager
7555 (package
7556 (name "network-manager")
7557 (version "1.24.0")
7558 (source (origin
7559 (method url-fetch)
7560 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7561 (version-major+minor version) "/"
7562 "NetworkManager-" version ".tar.xz"))
7563 (patches (search-patches "network-manager-plugin-path.patch"))
7564 (sha256
7565 (base32
7566 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7567 (modules '((guix build utils)))
7568 (snippet
7569 '(begin
7570 (substitute* "src/devices/wwan/nm-modem-manager.c"
7571 (("systemd") "elogind"))
7572 #t))))
7573 (build-system meson-build-system)
7574 (outputs '("out"
7575 "doc")) ; 8 MiB of gtk-doc HTML
7576 (arguments
7577 `(#:configure-flags
7578 (let ((out (assoc-ref %outputs "out"))
7579 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7580 "/sbin/dhclient")))
7581 (list
7582 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7583 ;; component.
7584 (string-append "-Dc_link_args=-Wl,-rpath="
7585 out "/lib:"
7586 out "/lib/NetworkManager/" ,version)
7587 "-Dsystemd_journal=false"
7588 "-Dsession_tracking=elogind"
7589 "-Dsuspend_resume=elogind"
7590 "-Dsystemdsystemunitdir=no"
7591 "-Dsession_tracking_consolekit=false"
7592 "-Ddhcpcd=no"
7593 "-Ddhcpcanon=no"
7594 "-Dcrypto=gnutls"
7595 "-Diwd=true"
7596 "-Dlibaudit=yes"
7597 "-Dqt=false"
7598 "-Ddocs=true"
7599 "--sysconfdir=/etc"
7600 "--localstatedir=/var"
7601 (string-append "-Dudev_dir="
7602 out "/lib/udev")
7603 (string-append "-Ddbus_conf_dir="
7604 out "/etc/dbus-1/system.d")
7605
7606 (string-append "-Ddhclient=" dhclient)))
7607 #:phases
7608 (modify-phases %standard-phases
7609 (add-before 'configure 'pre-configure
7610 (lambda _
7611 ;; These tests try to test aspects of network-manager's
7612 ;; functionality within restricted containers, but they don't
7613 ;; cope with being already in the Guix build jail as that jail
7614 ;; lacks some features that they would like to proxy over (like
7615 ;; a /sys mount).
7616 (substitute* "src/platform/tests/meson.build"
7617 ((".*test-address-linux.*") "")
7618 ((".*test-cleanup-linux.*") "")
7619 ((".*test-link-linux.*") "")
7620 ((".*test-route-linux.*") ""))
7621 (substitute* "src/devices/tests/meson.build"
7622 ((".*test-acd.*") "")
7623 ((".*test-lldp.*") ""))
7624 #t))
7625 (add-after 'unpack 'patch-docbook-xml
7626 (lambda* (#:key inputs #:allow-other-keys)
7627 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7628 "/xml/dtd/docbook")))
7629 (substitute* (find-files "." ".*\\.(xsl|xml)")
7630 (("http://.*/docbookx\\.dtd")
7631 (string-append xmldoc "/docbookx.dtd")))
7632 #t)))
7633 (add-before 'check 'pre-check
7634 (lambda _
7635 ;; For the missing /etc/machine-id.
7636 (setenv "DBUS_FATAL_WARNINGS" "0")
7637 #t))
7638 (add-before 'install 'no-polkit-magic
7639 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7640 (lambda _
7641 (setenv "PKEXEC_UID" "something")
7642 #t))
7643 (add-after 'install 'move-doc
7644 (lambda* (#:key outputs #:allow-other-keys)
7645 (let ((out (assoc-ref outputs "out"))
7646 (doc (assoc-ref outputs "doc")))
7647 (mkdir-p (string-append doc "/share"))
7648 (for-each (lambda (directory)
7649 (copy-recursively (string-append out directory)
7650 (string-append doc directory))
7651 (delete-file-recursively
7652 (string-append out directory)))
7653 '("/share/doc" "/share/gtk-doc"))
7654 #t))))))
7655 (propagated-inputs
7656 `(("glib" ,glib)))
7657 (native-inputs
7658 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7659 ("gtk-doc" ,gtk-doc)
7660 ("gobject-introspection" ,gobject-introspection)
7661 ("docbook-xml" ,docbook-xml)
7662 ("docbook-xsl" ,docbook-xsl)
7663 ("intltool" ,intltool)
7664 ("libxslt" ,libxslt)
7665 ("libxml2" ,libxml2)
7666 ("pkg-config" ,pkg-config)
7667 ("vala" ,vala)
7668 ;; For testing.
7669 ("python" ,python-wrapper)
7670 ("python-dbus" ,python-dbus)
7671 ("python-pygobject" ,python-pygobject)))
7672 (inputs
7673 `(("curl" ,curl)
7674 ("cyrus-sasl" ,cyrus-sasl)
7675 ("dbus-glib" ,dbus-glib)
7676 ("dnsmasq" ,dnsmasq)
7677 ("eudev" ,eudev)
7678 ("gnutls" ,gnutls)
7679 ("iptables" ,iptables)
7680 ("isc-dhcp" ,isc-dhcp)
7681 ("iwd" ,iwd) ; wpa_supplicant alternative
7682 ("jansson" ,jansson)
7683 ("libaudit" ,audit)
7684 ("libgcrypt" ,libgcrypt)
7685 ("libgudev" ,libgudev)
7686 ("libndp" ,libndp)
7687 ("libnl" ,libnl)
7688 ("libsoup" ,libsoup)
7689 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7690 ("modem-manager" ,modem-manager)
7691 ("newt" ,newt) ;for the 'nmtui' console interface
7692 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7693 ("polkit" ,polkit)
7694 ("ppp" ,ppp)
7695 ("readline" ,readline)
7696 ("util-linux" ,util-linux)
7697 ("elogind" ,elogind)))
7698 (synopsis "Network connection manager")
7699 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7700 (description
7701 "NetworkManager is a system network service that manages your network
7702 devices and connections, attempting to keep active network connectivity when
7703 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7704 devices, and provides VPN integration with a variety of different VPN
7705 services.")
7706 ;; “This NetworkManager project consists of the daemon, client tools, and
7707 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7708 ;; GPL-2.0+.”
7709 (license (list license:gpl2+
7710 license:lgpl2.1+))
7711 (properties '((upstream-name . "NetworkManager")))))
7712
7713 (define-public network-manager-openvpn
7714 (package
7715 (name "network-manager-openvpn")
7716 (version "1.8.12")
7717 (source (origin
7718 (method url-fetch)
7719 (uri (string-append
7720 "mirror://gnome/sources/NetworkManager-openvpn/"
7721 (version-major+minor version)
7722 "/NetworkManager-openvpn-" version ".tar.xz"))
7723 (sha256
7724 (base32
7725 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7726 (build-system gnu-build-system)
7727 (arguments
7728 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7729 #:phases
7730 (modify-phases %standard-phases
7731 (add-after 'configure 'patch-path
7732 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7733 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7734 "/sbin/openvpn"))
7735 (modprobe (string-append (assoc-ref inputs "kmod")
7736 "/bin/modprobe"))
7737 (pretty-ovpn (string-append "\"" ovpn "\"")))
7738 (for-each
7739 (lambda (file)
7740 (substitute* file
7741 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7742 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7743 (("\"/sbin/openvpn\"") pretty-ovpn)
7744 (("/sbin/modprobe") modprobe)))
7745 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7746 #t)))))
7747 (native-inputs
7748 `(("pkg-config" ,pkg-config)
7749 ("intltool" ,intltool)))
7750 (inputs
7751 `(("gtk+" ,gtk+)
7752 ("kmod" ,kmod)
7753 ("openvpn" ,openvpn)
7754 ("network-manager" ,network-manager)
7755 ("libnma" ,libnma)
7756 ("libsecret" ,libsecret)))
7757 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7758 (synopsis "OpenVPN plug-in for NetworkManager")
7759 (description
7760 "This extension of NetworkManager allows it to take care of connections
7761 to virtual private networks (VPNs) via OpenVPN.")
7762 (license license:gpl2+)
7763 (properties `((upstream-name . "NetworkManager-openvpn")))))
7764
7765 (define-public network-manager-vpnc
7766 (package
7767 (name "network-manager-vpnc")
7768 (version "1.2.6")
7769 (source (origin
7770 (method url-fetch)
7771 (uri (string-append
7772 "mirror://gnome/sources/NetworkManager-vpnc/"
7773 (version-major+minor version)
7774 "/NetworkManager-vpnc-" version ".tar.xz"))
7775 (sha256
7776 (base32
7777 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7778 (build-system gnu-build-system)
7779 (arguments
7780 `(#:configure-flags '("--enable-absolute-paths"
7781 "--localstatedir=/var"
7782 ;; libnm-glib has been removed from network-manager
7783 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7784 "--with-libnm-glib=no")
7785 #:phases
7786 (modify-phases %standard-phases
7787 (add-after 'configure 'patch-path
7788 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7789 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7790 "/sbin/vpnc"))
7791 (modprobe (string-append (assoc-ref inputs "kmod")
7792 "/bin/modprobe"))
7793 (pretty-ovpn (string-append "\"" vpnc "\"")))
7794 (substitute* "src/nm-vpnc-service.c"
7795 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7796 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7797 (("\"/sbin/vpnc\"") pretty-ovpn)
7798 (("/sbin/modprobe") modprobe)))
7799 #t)))))
7800 (native-inputs
7801 `(("pkg-config" ,pkg-config)
7802 ("intltool" ,intltool)))
7803 (inputs
7804 `(("gtk+" ,gtk+)
7805 ("kmod" ,kmod)
7806 ("vpnc" ,vpnc)
7807 ("network-manager" ,network-manager)
7808 ("libnma" ,libnma)
7809 ("libsecret" ,libsecret)))
7810 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7811 (synopsis "VPNC plug-in for NetworkManager")
7812 (description
7813 "Support for configuring virtual private networks based on VPNC.
7814 Compatible with Cisco VPN concentrators configured to use IPsec.")
7815 (license license:gpl2+)
7816 (properties `((upstream-name . "NetworkManager-vpnc")))))
7817
7818 (define-public network-manager-openconnect
7819 (package
7820 (name "network-manager-openconnect")
7821 (version "1.2.6")
7822 (source (origin
7823 (method url-fetch)
7824 (uri (string-append
7825 "mirror://gnome/sources/NetworkManager-openconnect/"
7826 (version-major+minor version)
7827 "/NetworkManager-openconnect-" version ".tar.xz"))
7828 (sha256
7829 (base32
7830 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7831 (build-system gnu-build-system)
7832 (arguments
7833 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7834 #:phases
7835 (modify-phases %standard-phases
7836 (add-after 'configure 'patch-path
7837 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7838 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7839 "/sbin/openconnect"))
7840 (modprobe (string-append (assoc-ref inputs "kmod")
7841 "/bin/modprobe"))
7842 (pretty-ovpn (string-append "\"" openconnect "\"")))
7843 (substitute* "src/nm-openconnect-service.c"
7844 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7845 (("/sbin/modprobe") modprobe)))
7846 #t)))))
7847 (native-inputs
7848 `(("intltool" ,intltool)
7849 ("libnma" ,libnma)
7850 ("pkg-config" ,pkg-config)))
7851 (inputs
7852 `(("gcr" ,gcr)
7853 ("gtk+" ,gtk+)
7854 ("kmod" ,kmod)
7855 ("libsecret" ,libsecret)
7856 ("libxml2" ,libxml2)
7857 ("lz4" ,lz4)
7858 ("network-manager" ,network-manager)
7859 ("openconnect" ,openconnect)))
7860 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7861 (synopsis "OpenConnect plug-in for NetworkManager")
7862 (description
7863 "This extension of NetworkManager allows it to take care of connections
7864 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7865 Cisco's AnyConnect SSL VPN.")
7866 (license license:gpl2+)
7867 (properties `((upstream-name . "NetworkManager-openconnect")
7868
7869 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7870 ;; file refers to account "nm-openconnect". Specify it here
7871 ;; so that 'network-manager-service-type' creates it.
7872 (user-accounts . ("nm-openconnect"))))))
7873
7874 (define-public mobile-broadband-provider-info
7875 (package
7876 (name "mobile-broadband-provider-info")
7877 (version "20190116")
7878 (source (origin
7879 (method url-fetch)
7880 (uri (string-append
7881 "mirror://gnome/sources/"
7882 "mobile-broadband-provider-info/" version "/"
7883 "mobile-broadband-provider-info-" version ".tar.xz"))
7884 (sha256
7885 (base32
7886 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7887 (build-system gnu-build-system)
7888 (arguments
7889 `(#:tests? #f)) ; no tests
7890 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7891 (synopsis "Database of broadband connection configuration")
7892 (description "Database of broadband connection configuration.")
7893 (license license:public-domain)))
7894
7895 (define-public network-manager-applet
7896 (package
7897 (name "network-manager-applet")
7898 (version "1.16.0")
7899 (source (origin
7900 (method url-fetch)
7901 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7902 (version-major+minor version) "/"
7903 "network-manager-applet-" version ".tar.xz"))
7904 (sha256
7905 (base32
7906 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7907 (build-system meson-build-system)
7908 (arguments
7909 '(#:glib-or-gtk? #t))
7910 (native-inputs
7911 `(("intltool" ,intltool)
7912 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7913 ("gobject-introspection" ,gobject-introspection)
7914 ("gtk-doc" ,gtk-doc)
7915 ("pkg-config" ,pkg-config)))
7916 (propagated-inputs
7917 ;; libnm-gtk.pc refers to all these.
7918 `(("dbus-glib" ,dbus-glib)
7919 ("gtk+" ,gtk+)
7920 ("network-manager" ,network-manager)
7921 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7922 ("libnma" ,libnma)))
7923 (inputs
7924 `(("gcr" ,gcr)
7925 ("libgudev" ,libgudev)
7926 ("libnotify" ,libnotify)
7927 ("libsecret" ,libsecret)
7928 ("libselinux" ,libselinux)
7929 ("jansson" ,jansson) ; for team support
7930 ("modem-manager" ,modem-manager)))
7931 (synopsis "Applet for managing network connections")
7932 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7933 (description
7934 "This package contains a systray applet for NetworkManager. It displays
7935 the available networks and allows users to easily switch between them.")
7936 (license license:gpl2+)))
7937
7938 (define-public libxml++
7939 (package
7940 (name "libxml++")
7941 (version "3.0.1")
7942 (source (origin
7943 (method url-fetch)
7944 (uri (string-append "mirror://gnome/sources/" name "/"
7945 (version-major+minor version) "/"
7946 name "-" version ".tar.xz"))
7947 (sha256
7948 (base32
7949 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7950 (build-system gnu-build-system)
7951 ;; libxml++-3.0.pc refers to all these.
7952 (propagated-inputs
7953 `(("libxml2" ,libxml2)
7954 ("glibmm" ,glibmm)))
7955 (native-inputs
7956 `(("perl" ,perl)
7957 ("pkg-config" ,pkg-config)))
7958 (home-page "http://libxmlplusplus.sourceforge.net/")
7959 (synopsis "C++ wrapper for XML parser library libxml2")
7960 (description
7961 "This package provides a C++ wrapper for the XML parser library
7962 libxml2.")
7963 (license license:lgpl2.1+)))
7964
7965 (define-public libxml++-2
7966 (package
7967 (inherit libxml++)
7968 (name "libxml++")
7969 (version "2.40.1")
7970 (source (origin
7971 (method url-fetch)
7972 (uri (string-append "mirror://gnome/sources/" name "/"
7973 (version-major+minor version) "/"
7974 name "-" version ".tar.xz"))
7975 (sha256
7976 (base32
7977 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7978
7979 (define-public gdm
7980 (package
7981 (name "gdm")
7982 (version "3.34.1")
7983 (source (origin
7984 (method url-fetch)
7985 (uri (string-append "mirror://gnome/sources/" name "/"
7986 (version-major+minor version) "/"
7987 name "-" version ".tar.xz"))
7988 (sha256
7989 (base32
7990 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7991 (patches (search-patches "gdm-default-session.patch"))))
7992 (build-system glib-or-gtk-build-system)
7993 (arguments
7994 '(#:configure-flags
7995 `("--without-plymouth"
7996 "--disable-systemd-journal"
7997
7998 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7999 ;; instead of having to replace it (i.e., stopping the mingetty
8000 ;; service for TTY 1 before starting GDM).
8001 "--with-initial-vt=7"
8002
8003 ;; Use '/etc/environment' for locale settings instead of the
8004 ;; systemd-specific '/etc/locale.conf'.
8005 "--with-lang-file=/etc/environment"
8006
8007 ,(string-append "--with-udevdir="
8008 (assoc-ref %outputs "out") "/lib/udev")
8009
8010 "--localstatedir=/var"
8011 ,(string-append "--with-default-path="
8012 (string-join '("/run/setuid-programs"
8013 "/run/current-system/profile/bin"
8014 "/run/current-system/profile/sbin")
8015 ":"))
8016 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8017 ;; XDG_DATA_DIRS so that it finds its schemas.
8018 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8019 #:phases
8020 (modify-phases %standard-phases
8021 (add-before
8022 'configure 'pre-configure
8023 (lambda* (#:key inputs outputs #:allow-other-keys)
8024 ;; We don't have <systemd/sd-daemon.h>.
8025 (substitute* '("common/gdm-log.c"
8026 "daemon/gdm-server.c"
8027 "daemon/gdm-session-worker.c"
8028 "daemon/gdm-session-worker-job.c")
8029 (("#include <systemd/sd-daemon\\.h>") ""))
8030 ;; Use elogind for sd-login.
8031 (substitute* '("common/gdm-common.c"
8032 "daemon/gdm-local-display-factory.c"
8033 "daemon/gdm-manager.c"
8034 "libgdm/gdm-user-switching.c")
8035 (("#include <systemd/sd-login\\.h>")
8036 "#include <elogind/sd-login.h>"))
8037 ;; Check for elogind.
8038 (substitute* '("configure")
8039 (("libsystemd")
8040 "libelogind"))
8041 ;; Look for system-installed sessions in
8042 ;; /run/current-system/profile/share.
8043 (substitute* '("libgdm/gdm-sessions.c"
8044 "daemon/gdm-session.c"
8045 "daemon/gdm-display.c"
8046 "daemon/gdm-launch-environment.c")
8047 (("DATADIR \"/x")
8048 "\"/run/current-system/profile/share/x")
8049 (("DATADIR \"/wayland")
8050 "\"/run/current-system/profile/share/wayland")
8051 (("DATADIR \"/gnome")
8052 "\"/run/current-system/profile/share/gnome"))
8053 (let ((propagate '("GDM_CUSTOM_CONF"
8054 "GDM_DBUS_DAEMON"
8055 "GDM_X_SERVER"
8056 "GDM_X_SESSION"
8057 ;; XXX: Remove this once GNOME Shell is
8058 ;; a dependency of GDM.
8059 "XDG_DATA_DIRS")))
8060 (substitute* "daemon/gdm-session.c"
8061 (("set_up_session_environment \\(self\\);")
8062 (apply string-append
8063 "set_up_session_environment (self);\n"
8064 (map (lambda (name)
8065 (string-append
8066 "gdm_session_set_environment_variable "
8067 "(self, \"" name "\","
8068 "g_getenv (\"" name "\"));\n"))
8069 propagate)))))
8070 ;; Find the configuration file using an environment variable.
8071 (substitute* '("common/gdm-settings.c")
8072 (("GDM_CUSTOM_CONF")
8073 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8074 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8075 " : GDM_CUSTOM_CONF)")))
8076 ;; Use service-supplied path to X.
8077 (substitute* '("daemon/gdm-server.c")
8078 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8079 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8080 (substitute* '("daemon/gdm-wayland-session.c"
8081 "daemon/gdm-x-session.c")
8082 (("\"dbus-daemon\"")
8083 "g_getenv (\"GDM_DBUS_DAEMON\")")
8084 (("X_SERVER")
8085 "g_getenv (\"GDM_X_SERVER\")")
8086 (("GDMCONFDIR \"/Xsession\"")
8087 "g_getenv (\"GDM_X_SESSION\")"))
8088 ;; Use an absolute path for GNOME Session.
8089 (substitute* "daemon/gdm-launch-environment.c"
8090 (("\"gnome-session\"")
8091 (string-append "\"" (assoc-ref inputs "gnome-session")
8092 "/bin/gnome-session\"")))
8093 ;; Do not automatically select the placeholder session.
8094 (substitute* "daemon/gdm-session.c"
8095 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8096 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8097 "(g_strcmp0(search_dirs[i], \""
8098 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8099 "\") == 0 && "
8100 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8101 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8102 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8103 #t))
8104 ;; GDM requires that there be at least one desktop entry
8105 ;; file. This phase installs a hidden one that simply
8106 ;; fails. This enables users to use GDM with a
8107 ;; '~/.xsession' script with no other desktop entry files.
8108 ;; See <https://bugs.gnu.org/35068>.
8109 (add-after 'install 'install-placeholder-desktop-entry
8110 (lambda* (#:key inputs outputs #:allow-other-keys)
8111 (let* ((out (assoc-ref outputs "out"))
8112 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8113 (fail (string-append sessions "/fail.desktop")))
8114 (mkdir-p sessions)
8115 (with-output-to-file fail
8116 (lambda ()
8117 (for-each
8118 display
8119 '("[Desktop Entry]\n"
8120 "Encoding=UTF-8\n"
8121 "Type=Application\n"
8122 "Name=Fail\n"
8123 "Comment=This session fails immediately.\n"
8124 "NoDisplay=true\n"
8125 "Exec=false\n"))))
8126 #t)))
8127 ;; GDM needs GNOME Session to run these applications. We link
8128 ;; their autostart files in `share/gdm/greeter/autostart'
8129 ;; because GDM explicitly tells GNOME Session to look there.
8130 ;;
8131 ;; XXX: GNOME Shell should be linked here too, but currently
8132 ;; GNOME Shell depends on GDM.
8133 (add-after 'install 'link-autostart-files
8134 (lambda* (#:key inputs outputs #:allow-other-keys)
8135 (let* ((out (assoc-ref outputs "out"))
8136 (autostart (string-append out "/share/gdm/"
8137 "greeter/autostart"))
8138 (settings (assoc-ref inputs "gnome-settings-daemon")))
8139 (mkdir-p autostart)
8140 (with-directory-excursion autostart
8141 (for-each (lambda (desktop)
8142 (symlink desktop (basename desktop)))
8143 (find-files (string-append settings "/etc/xdg"))))
8144 #t))))))
8145 (native-inputs
8146 `(("dconf" ,dconf)
8147 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8148 ("gobject-introspection" ,gobject-introspection)
8149 ("intltool" ,intltool)
8150 ("itstool" ,itstool)
8151 ("pkg-config" ,pkg-config)
8152 ("xmllint" ,libxml2)))
8153 (inputs
8154 `(("accountsservice" ,accountsservice)
8155 ("check" ,check-0.14) ;for testing
8156 ("elogind" ,elogind)
8157 ("gnome-session" ,gnome-session)
8158 ("gnome-settings-daemon" ,gnome-settings-daemon)
8159 ("gtk+" ,gtk+)
8160 ("iso-codes" ,iso-codes)
8161 ("libcanberra" ,libcanberra)
8162 ("linux-pam" ,linux-pam)))
8163 (synopsis "Display manager for GNOME")
8164 (home-page "https://wiki.gnome.org/Projects/GDM/")
8165 (description
8166 "GNOME Display Manager is a system service that is responsible for
8167 providing graphical log-ins and managing local and remote displays.")
8168 (license license:gpl2+)))
8169
8170 (define-public libgtop
8171 (package
8172 (name "libgtop")
8173 (version "2.40.0")
8174 (source (origin
8175 (method url-fetch)
8176 (uri (string-append "mirror://gnome/sources/libgtop/"
8177 (version-major+minor version) "/"
8178 "libgtop-" version ".tar.xz"))
8179 (sha256
8180 (base32
8181 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8182 (build-system gnu-build-system)
8183 (native-inputs
8184 `(("gobject-introspection" ,gobject-introspection)
8185 ("intltool" ,intltool)
8186 ("perl" ,perl)
8187 ("pkg-config" ,pkg-config)))
8188 (propagated-inputs
8189 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8190 (synopsis "Portable system access library")
8191 (home-page "https://www.gnome.org/")
8192 (description
8193 "LibGTop is a library to get system specific data such as CPU and memory
8194 usage and information about running processes.")
8195 (license license:gpl2+)))
8196
8197 (define-public gnome-bluetooth
8198 (package
8199 (name "gnome-bluetooth")
8200 (version "3.34.2")
8201 (source (origin
8202 (method url-fetch)
8203 (uri (string-append "mirror://gnome/sources/" name "/"
8204 (version-major+minor version) "/"
8205 name "-" version ".tar.xz"))
8206 (sha256
8207 (base32
8208 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8209 (build-system meson-build-system)
8210 (native-inputs
8211 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8212 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8213 ("gobject-introspection" ,gobject-introspection)
8214 ("intltool" ,intltool)
8215 ("pkg-config" ,pkg-config)
8216 ("xmllint" ,libxml2)))
8217 (propagated-inputs
8218 ;; gnome-bluetooth-1.0.pc refers to all these.
8219 `(("glib" ,glib)
8220 ("gtk+" ,gtk+)))
8221 (inputs
8222 `(("eudev" ,eudev)
8223 ("libcanberra" ,libcanberra)
8224 ("libnotify" ,libnotify)))
8225 (synopsis "GNOME Bluetooth subsystem")
8226 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8227 (description
8228 "This package contains tools for managing and manipulating Bluetooth
8229 devices using the GNOME desktop.")
8230 (license license:lgpl2.1+)))
8231
8232 (define-public gnome-control-center
8233 (package
8234 (name "gnome-control-center")
8235 (version "3.34.2")
8236 (source (origin
8237 (method url-fetch)
8238 (uri (string-append "mirror://gnome/sources/" name "/"
8239 (version-major+minor version) "/"
8240 name "-" version ".tar.xz"))
8241 (sha256
8242 (base32
8243 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8244 (build-system meson-build-system)
8245 (arguments
8246 '(#:glib-or-gtk? #t
8247 #:configure-flags
8248 (list "-Dcheese=false"
8249 (string-append "-Dgnome_session_libexecdir="
8250 (assoc-ref %build-inputs "gnome-session")
8251 "/libexec"))
8252 #:phases
8253 (modify-phases %standard-phases
8254 (add-before 'configure 'patch-paths
8255 (lambda* (#:key inputs #:allow-other-keys)
8256 (let ((libc (assoc-ref inputs "libc"))
8257 (tzdata (assoc-ref inputs "tzdata"))
8258 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8259 (nm-applet (assoc-ref inputs "network-manager-applet"))
8260 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8261 (substitute* "panels/datetime/tz.h"
8262 (("/usr/share/zoneinfo/zone.tab")
8263 (string-append tzdata "/share/zoneinfo/zone.tab")))
8264 (substitute* "tests/datetime/test-endianess.c"
8265 (("/usr/share/locale")
8266 (string-append libc "/share/locale")))
8267 (substitute* "panels/region/cc-region-panel.c"
8268 (("\"gkbd-keyboard-display")
8269 (string-append "\"" libgnomekbd
8270 "/bin/gkbd-keyboard-display")))
8271 (substitute* '("panels/network/net-device-wifi.c"
8272 "panels/network/net-device.c"
8273 "panels/network/connection-editor/net-connection-editor.c")
8274 (("\"nm-connection-editor")
8275 (string-append "\"" nm-applet
8276 "/bin/nm-connection-editor")))
8277 (substitute* '("panels/user-accounts/run-passwd.c")
8278 (("/usr/bin/passwd")
8279 "/run/setuid-programs/passwd"))
8280 (substitute* "panels/info/cc-info-overview-panel.c"
8281 (("DATADIR \"/gnome/gnome-version.xml\"")
8282 (string-append "\"" gnome-desktop
8283 "/share/gnome/gnome-version.xml\"")))
8284 #t)))
8285 (add-after 'unpack 'skip-gtk-update-icon-cache
8286 ;; Don't create 'icon-theme.cache'.
8287 (lambda _
8288 (substitute* "build-aux/meson/meson_post_install.py"
8289 (("gtk-update-icon-cache") (which "true")))
8290 #t)))))
8291 (native-inputs
8292 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8293 ("intltool" ,intltool)
8294 ("pkg-config" ,pkg-config)
8295 ("xsltproc" ,libxslt)
8296 ;; For tests
8297 ("hicolor-icon-theme" ,hicolor-icon-theme)
8298 ("python-dbusmock" ,python-dbusmock)
8299 ("xorg-server" ,xorg-server-for-tests)))
8300 (inputs
8301 `(("accountsservice" ,accountsservice)
8302 ("clutter-gtk" ,clutter-gtk)
8303 ("colord-gtk" ,colord-gtk)
8304 ("cups" ,cups)
8305 ("dconf" ,dconf)
8306 ("docbook-xsl" ,docbook-xsl)
8307 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8308 ("gnome-bluetooth" ,gnome-bluetooth)
8309 ("gnome-desktop" ,gnome-desktop)
8310 ("gnome-online-accounts" ,gnome-online-accounts)
8311 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8312 ("gnome-session" ,gnome-session)
8313 ("gnome-settings-daemon" ,gnome-settings-daemon)
8314 ("grilo" ,grilo)
8315 ("gsound" ,gsound)
8316 ("ibus" ,ibus)
8317 ("libcanberra" ,libcanberra)
8318 ("libgnomekbd" ,libgnomekbd)
8319 ("libgudev" ,libgudev)
8320 ("libgtop" ,libgtop)
8321 ("libnma" ,libnma)
8322 ("libpwquality" ,libpwquality)
8323 ("libsecret" ,libsecret)
8324 ("libsoup" ,libsoup)
8325 ("libxml2" ,libxml2)
8326 ("libwacom" ,libwacom)
8327 ("mesa" ,mesa)
8328 ("mit-krb5" ,mit-krb5)
8329 ("modem-manager" ,modem-manager)
8330 ("network-manager-applet" ,network-manager-applet)
8331 ("polkit" ,polkit)
8332 ("pulseaudio" ,pulseaudio)
8333 ("smbclient" ,samba)
8334 ("tzdata" ,tzdata)
8335 ("udisks" ,udisks)
8336 ("upower" ,upower)))
8337 (synopsis "Utilities to configure the GNOME desktop")
8338 (home-page "https://www.gnome.org/")
8339 (description
8340 "This package contains configuration applets for the GNOME desktop,
8341 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8342 properties, sound setup, desktop theme and background, user interface
8343 properties, screen resolution, and other GNOME parameters.")
8344 (license license:gpl2+)))
8345
8346 (define-public gnome-shell
8347 (package
8348 (name "gnome-shell")
8349 (version "3.34.2")
8350 (source (origin
8351 (method url-fetch)
8352 (uri (string-append "mirror://gnome/sources/" name "/"
8353 (version-major+minor version) "/"
8354 name "-" version ".tar.xz"))
8355 (sha256
8356 (base32
8357 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8358 (patches (search-patches "gnome-shell-theme.patch"
8359 "gnome-shell-disable-test.patch"))
8360 (modules '((guix build utils)))
8361 (snippet
8362 #~(begin
8363 ;; Copy images for use on the GDM log-in screen.
8364 (copy-file #$(file-append %artwork-repository
8365 "/slim/0.x/background.png")
8366 "data/theme/guix-background.png")
8367 (copy-file #$(file-append %artwork-repository
8368 "/logo/Guix-horizontal-white.svg")
8369 "data/theme/guix-logo.svg")
8370 #t))))
8371 (build-system meson-build-system)
8372 (arguments
8373 `(#:glib-or-gtk? #t
8374 #:disallowed-references ((,glib "bin")
8375 ,inkscape ,libxslt
8376 ,ruby-sass)
8377 #:configure-flags
8378 (list "-Dsystemd=false"
8379 ;; Otherwise, the RUNPATH will lack the final path component.
8380 (string-append "-Dc_link_args=-Wl,-rpath="
8381 (assoc-ref %outputs "out")
8382 "/lib/gnome-shell"))
8383
8384 #:modules ((guix build meson-build-system)
8385 (guix build utils)
8386 (srfi srfi-1))
8387
8388 #:phases
8389 (modify-phases %standard-phases
8390 (add-after 'unpack 'fix-keysdir
8391 (lambda* (#:key outputs #:allow-other-keys)
8392 (let* ((out (assoc-ref outputs "out"))
8393 (keysdir (string-append
8394 out "/share/gnome-control-center/keybindings")))
8395 (substitute* "meson.build"
8396 (("keysdir =.*")
8397 (string-append "keysdir = '" keysdir "'\n")))
8398 #t)))
8399 (add-before 'configure 'convert-logo-to-png
8400 (lambda* (#:key inputs #:allow-other-keys)
8401 ;; Convert the logo from SVG to PNG.
8402 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8403 "data/theme/guix-logo.svg")))
8404 (add-before 'configure 'record-absolute-file-names
8405 (lambda* (#:key inputs #:allow-other-keys)
8406 (substitute* "js/misc/ibusManager.js"
8407 (("'ibus-daemon'")
8408 (string-append "'" (assoc-ref inputs "ibus")
8409 "/bin/ibus-daemon'")))
8410 (substitute* "js/ui/status/keyboard.js"
8411 (("'gkbd-keyboard-display'")
8412 (string-append "'" (assoc-ref inputs "libgnomekbd")
8413 "/bin/gkbd-keyboard-display'")))
8414 #t))
8415 (add-before 'check 'pre-check
8416 (lambda* (#:key inputs #:allow-other-keys)
8417 ;; Tests require a running X server.
8418 (system "Xvfb :1 &")
8419 (setenv "DISPLAY" ":1")
8420 #t))
8421 (add-after 'install 'wrap-programs
8422 (lambda* (#:key inputs outputs #:allow-other-keys)
8423 (let ((out (assoc-ref outputs "out"))
8424 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8425 (python-path (getenv "PYTHONPATH")))
8426 (wrap-program (string-append out "/bin/gnome-shell")
8427 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8428 ;; FIXME: gnome-shell loads these libraries with unqualified
8429 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8430 ;; alternative might be to patch gnome-shell.
8431 `("LD_LIBRARY_PATH" ":" prefix
8432 ,(map (lambda (pkg)
8433 (string-append (assoc-ref inputs pkg) "/lib"))
8434 '("gdk-pixbuf"
8435 "gnome-bluetooth" "librsvg" "libgweather"))))
8436 (for-each
8437 (lambda (prog)
8438 (wrap-program (string-append out "/bin/" prog)
8439 `("PYTHONPATH" ":" prefix (,python-path))
8440 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8441 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8442 #t)))
8443 (replace 'glib-or-gtk-wrap
8444 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8445 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8446 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8447 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8448 ;; phase. Fix that since we don't need these.
8449 (wrap #:inputs (fold alist-delete inputs
8450 '("inkscape" "intltool" "glib:bin"))
8451 #:outputs outputs)))))))
8452 (native-inputs
8453 `(("asciidoc" ,asciidoc)
8454 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8455 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8456 ("gobject-introspection" ,gobject-introspection)
8457 ("inkscape" ,inkscape)
8458 ("intltool" ,intltool)
8459 ("pkg-config" ,pkg-config)
8460 ("python" ,python)
8461 ("ruby-sass" ,ruby-sass)
8462 ("sassc" ,sassc)
8463 ("xsltproc" ,libxslt)
8464 ;; For tests
8465 ("xorg-server" ,xorg-server-for-tests)))
8466 (inputs
8467 `(("accountsservice" ,accountsservice)
8468 ("caribou" ,caribou)
8469 ("docbook-xsl" ,docbook-xsl)
8470 ("evolution-data-server" ,evolution-data-server)
8471 ("gcr" ,gcr)
8472 ("gdm" ,gdm)
8473 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8474 ("gjs" ,gjs)
8475 ("gnome-autoar" ,gnome-autoar)
8476 ("gnome-bluetooth" ,gnome-bluetooth)
8477 ("gnome-desktop" ,gnome-desktop)
8478 ("gnome-settings-daemon" ,gnome-settings-daemon)
8479 ("gst-plugins-base" ,gst-plugins-base)
8480 ("ibus" ,ibus)
8481 ("libcanberra" ,libcanberra)
8482 ("libcroco" ,libcroco)
8483 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8484 ("libgweather" ,libgweather)
8485 ("libnma" ,libnma)
8486 ("libsoup" ,libsoup)
8487 ("mesa-headers" ,mesa-headers)
8488 ("mutter" ,mutter)
8489 ("network-manager-applet" ,network-manager-applet)
8490 ("polkit" ,polkit)
8491 ("pulseaudio" ,pulseaudio)
8492 ("python-pygobject" ,python-pygobject)
8493 ("startup-notification" ,startup-notification)
8494 ("telepathy-logger" ,telepathy-logger)
8495 ("upower" ,upower)
8496 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8497 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8498 ("librsvg" ,librsvg)
8499 ("geoclue" ,geoclue)))
8500 (synopsis "Desktop shell for GNOME")
8501 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8502 (description
8503 "GNOME Shell provides core user interface functions for the GNOME desktop,
8504 like switching to windows and launching applications.")
8505 (license license:gpl2+)))
8506
8507 (define-public gtk-vnc
8508 (package
8509 (name "gtk-vnc")
8510 (version "1.0.0")
8511 (source
8512 (origin
8513 (method url-fetch)
8514 (uri
8515 (string-append "mirror://gnome/sources/" name "/"
8516 (version-major+minor version) "/"
8517 name "-" version ".tar.xz"))
8518 (sha256
8519 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8520 (build-system meson-build-system)
8521 (arguments
8522 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8523 (native-inputs
8524 `(("gjs" ,gjs)
8525 ("glib:bin" ,glib "bin")
8526 ("gobject-introspection" ,gobject-introspection)
8527 ("intltool" ,intltool)
8528 ("node" ,node)
8529 ("perl" ,perl)
8530 ("pkg-config" ,pkg-config)
8531 ("python" ,python-wrapper)
8532 ("vala" ,vala)))
8533 (inputs
8534 `(("cairo" ,cairo)
8535 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8536 ("glib" ,glib)
8537 ("gnutls" ,gnutls)
8538 ("libgcrypt" ,libgcrypt)
8539 ("libsasl" ,cyrus-sasl)
8540 ("pulseaudio" ,pulseaudio)
8541 ("x11" ,libx11)
8542 ("zlib" ,zlib)))
8543 (propagated-inputs
8544 `(("gtk+" ,gtk+)))
8545 (synopsis "VNC client viewer widget for GTK+")
8546 (description "GTK-VNC is a project providing client side APIs for the RFB
8547 protocol / VNC remote desktop technology. It is built using coroutines allowing
8548 it to be completely asynchronous while remaining single threaded. It provides a
8549 core C library, and bindings for Python (PyGTK).")
8550 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8551 (license license:lgpl2.1+)))
8552
8553 (define-public gnome-autoar
8554 (package
8555 (name "gnome-autoar")
8556 (version "0.2.4")
8557 (source (origin
8558 (method url-fetch)
8559 (uri (string-append "mirror://gnome/sources/" name "/"
8560 (version-major+minor version) "/"
8561 name "-" version ".tar.xz"))
8562 (sha256
8563 (base32
8564 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8565 (build-system glib-or-gtk-build-system)
8566 (native-inputs
8567 `(("gobject-introspection" ,gobject-introspection)
8568 ("pkg-config" ,pkg-config)))
8569 (propagated-inputs
8570 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8571 (inputs
8572 `(("gtk+" ,gtk+)))
8573 (synopsis "Archives integration support for GNOME")
8574 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8575 (description
8576 "GNOME Autoar is a library which makes creating and extracting archives
8577 easy, safe, and automatic.")
8578 (license license:lgpl2.1+)))
8579
8580 (define-public tracker
8581 (package
8582 (name "tracker")
8583 (version "2.3.5")
8584 (source (origin
8585 (method url-fetch)
8586 (uri (string-append "mirror://gnome/sources/tracker/"
8587 (version-major+minor version) "/"
8588 "tracker-" version ".tar.xz"))
8589 (sha256
8590 (base32
8591 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8592 (build-system meson-build-system)
8593 (arguments
8594 `(#:glib-or-gtk? #t
8595 #:configure-flags
8596 ;; Otherwise, the RUNPATH will lack the final path component.
8597 (list (string-append "-Dc_link_args=-Wl,-rpath="
8598 (assoc-ref %outputs "out") "/lib:"
8599 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8600 #:phases
8601 (modify-phases %standard-phases
8602 (add-before 'check 'pre-check
8603 (lambda _
8604 ;; Some tests expect to write to $HOME.
8605 (setenv "HOME" "/tmp")
8606 #t)))))
8607 (native-inputs
8608 `(("glib:bin" ,glib "bin")
8609 ("gobject-introspection" ,gobject-introspection)
8610 ("python-pygobject" ,python-pygobject)
8611 ("intltool" ,intltool)
8612 ("pkg-config" ,pkg-config)
8613 ("vala" ,vala)))
8614 (inputs
8615 `(("dbus" ,dbus)
8616 ("sqlite" ,sqlite)
8617 ("libxml2" ,libxml2)
8618 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8619 ("json-glib" ,json-glib)
8620 ("libsoup" ,libsoup)))
8621 (synopsis "Metadata database, indexer and search tool")
8622 (home-page "https://wiki.gnome.org/Projects/Tracker")
8623 (description
8624 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8625
8626 It is a middleware component aimed at desktop application developers who want
8627 their apps to browse and search user content. It's not designed to be used
8628 directly by desktop users, but it provides a commandline tool named
8629 @command{tracker} for the adventurous.
8630
8631 Tracker allows your application to instantly perform full-text searches across
8632 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8633 example. This is achieved by indexing the user's home directory in the
8634 background.
8635
8636 Tracker also allows your application to query and list content that the user
8637 has stored. For example, GNOME Music displays all the music files that are
8638 found by Tracker. This means that GNOME Music doesn't need to maintain a
8639 database of its own.
8640
8641 If you need to go beyond simple searches, Tracker is also a linked data
8642 endpoint and it understands SPARQL. ")
8643 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8644 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8645 ;; libstemmer is bsd-3 and the rest is gpl2+.
8646 (license (list license:gpl2+
8647 license:bsd-3
8648 license:lgpl2.1+))))
8649
8650 (define-public tracker-miners
8651 (package
8652 (name "tracker-miners")
8653 (version "2.3.4")
8654 (source (origin
8655 (method url-fetch)
8656 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8657 (version-major+minor version)
8658 "/tracker-miners-" version ".tar.xz"))
8659 (sha256
8660 (base32
8661 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8662 (build-system meson-build-system)
8663 (arguments
8664 `(#:glib-or-gtk? #t
8665 #:configure-flags
8666 (list "-Dminer_rss=false" ; libgrss is required.
8667 ;; Ensure the RUNPATH contains all installed library locations.
8668 (string-append "-Dc_link_args=-Wl,-rpath="
8669 (assoc-ref %outputs "out")
8670 "/lib/tracker-miners-2.0")
8671 ;; TODO: Enable functional tests. Currently, the following error
8672 ;; appears:
8673 ;; Exception: The functional tests require DConf to be the default
8674 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8675 "-Dfunctional_tests=false")))
8676 (native-inputs
8677 `(("dbus" ,dbus)
8678 ("intltool" ,intltool)
8679 ("glib:bin" ,glib "bin")
8680 ("gobject-introspection" ,gobject-introspection)
8681 ("pkg-config" ,pkg-config)
8682 ("python-pygobject" ,python-pygobject)))
8683 (inputs
8684 `(("exempi" ,exempi)
8685 ("ffmpeg" ,ffmpeg)
8686 ("flac" ,flac)
8687 ("giflib" ,giflib)
8688 ("glib" ,glib)
8689 ("gstreamer" ,gstreamer)
8690 ("icu4c" ,icu4c)
8691 ("libcue" ,libcue)
8692 ("libexif" ,libexif)
8693 ("libgsf" ,libgsf)
8694 ("libgxps" ,libgxps)
8695 ("libiptcdata" ,libiptcdata)
8696 ("libjpeg" ,libjpeg-turbo)
8697 ("libosinfo" ,libosinfo)
8698 ("libpng" ,libpng)
8699 ("libseccomp" ,libseccomp)
8700 ("libtiff" ,libtiff)
8701 ("libvorbis" ,libvorbis)
8702 ("libxml2" ,libxml2)
8703 ("poppler" ,poppler)
8704 ("taglib" ,taglib)
8705 ("totem-pl-parser" ,totem-pl-parser)
8706 ("tracker" ,tracker)
8707 ("upower" ,upower)
8708 ("zlib" ,zlib)))
8709 (synopsis "Metadata database, indexer and search tool")
8710 (home-page "https://wiki.gnome.org/Projects/Tracker")
8711 (description
8712 "Tracker is an advanced framework for first class objects with associated
8713 metadata and tags. It provides a one stop solution for all metadata, tags,
8714 shared object databases, search tools and indexing.")
8715 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8716 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8717 (license (list license:gpl2+
8718 license:lgpl2.1+
8719 license:lgpl2.0+))))
8720
8721 (define-public nautilus
8722 (package
8723 (name "nautilus")
8724 (version "3.34.2")
8725 (source (origin
8726 (method url-fetch)
8727 (uri (string-append "mirror://gnome/sources/" name "/"
8728 (version-major+minor version) "/"
8729 name "-" version ".tar.xz"))
8730 (sha256
8731 (base32
8732 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8733 (build-system meson-build-system)
8734 (arguments
8735 '(#:glib-or-gtk? #t
8736 #:phases
8737 (modify-phases %standard-phases
8738 (add-after 'unpack 'skip-gtk-update-icon-cache
8739 ;; Don't create 'icon-theme.cache'.
8740 (lambda _
8741 (substitute* "build-aux/meson/postinstall.py"
8742 (("gtk-update-icon-cache") "true"))
8743 #t)))
8744 ;; XXX: FAIL: check-nautilus
8745 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8746 #:tests? #f))
8747 (native-inputs
8748 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8749 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8750 ("gobject-introspection" ,gobject-introspection)
8751 ("intltool" ,intltool)
8752 ("pkg-config" ,pkg-config)))
8753 (inputs
8754 `(("dconf" ,dconf)
8755 ("gexiv2" ,gexiv2)
8756 ("gvfs" ,gvfs)
8757 ("exempi" ,exempi)
8758 ("gnome-desktop" ,gnome-desktop)
8759 ("gnome-autoar" ,gnome-autoar)
8760 ("gst-plugins-base" ,gst-plugins-base)
8761 ("libseccomp" ,libseccomp)
8762 ("libselinux" ,libselinux)
8763 ("tracker" ,tracker)
8764 ("tracker-miners" ,tracker-miners)
8765 ;; XXX: gtk+ is required by libnautilus-extension.pc
8766 ;;
8767 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8768 ;; package. See:
8769 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8770 ("gtk+" ,gtk+)
8771 ("libexif" ,libexif)
8772 ("libxml2" ,libxml2)))
8773 (synopsis "File manager for GNOME")
8774 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8775 (description
8776 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8777 design and behaviour, giving the user a simple way to navigate and manage its
8778 files.")
8779 (license license:gpl2+)))
8780
8781 (define-public baobab
8782 (package
8783 (name "baobab")
8784 (version "3.38.0")
8785 (source (origin
8786 (method url-fetch)
8787 (uri (string-append
8788 "mirror://gnome/sources/" name "/"
8789 (version-major+minor version) "/"
8790 name "-" version ".tar.xz"))
8791 (sha256
8792 (base32
8793 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8794 (build-system meson-build-system)
8795 (arguments
8796 '(#:glib-or-gtk? #t))
8797 (native-inputs
8798 `(("intltool" ,intltool)
8799 ("pkg-config" ,pkg-config)
8800 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8801 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8802 ("itstool" ,itstool)
8803 ("xmllint" ,libxml2)
8804 ("glib" ,glib "bin")
8805 ("vala" ,vala)))
8806 (inputs
8807 `(("gtk+" ,gtk+)))
8808 (synopsis "Disk usage analyzer for GNOME")
8809 (description
8810 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8811 usage in the GNOME desktop environment. It can easily scan device volumes or
8812 a specific user-requested directory branch (local or remote). Once the scan
8813 is complete it provides a graphical representation of each selected folder.")
8814 (home-page "https://wiki.gnome.org/Apps/Baobab")
8815 (license license:gpl2+)))
8816
8817 (define-public gnome-backgrounds
8818 (package
8819 (name "gnome-backgrounds")
8820 (version "3.34.0")
8821 (source
8822 (origin
8823 (method url-fetch)
8824 (uri (string-append "mirror://gnome/sources/" name "/"
8825 (version-major+minor version) "/"
8826 name "-" version ".tar.xz"))
8827 (sha256
8828 (base32
8829 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8830 (build-system meson-build-system)
8831 (native-inputs
8832 `(("intltool" ,intltool)))
8833 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8834 (synopsis "Background images for the GNOME desktop")
8835 (description
8836 "GNOME backgrounds package contains a collection of graphics files which
8837 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8838 the package creates the proper framework and directory structure so that you
8839 can add your own files to the collection.")
8840 (license (list license:gpl2+
8841 license:cc-by2.0
8842 license:cc-by-sa2.0
8843 license:cc-by-sa3.0))))
8844
8845 (define-public gnome-screenshot
8846 (package
8847 (name "gnome-screenshot")
8848 (version "3.34.0")
8849 (source
8850 (origin
8851 (method url-fetch)
8852 (uri (string-append "mirror://gnome/sources/" name "/"
8853 (version-major+minor version) "/"
8854 name "-" version ".tar.xz"))
8855 (sha256
8856 (base32
8857 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8858 (build-system meson-build-system)
8859 (arguments
8860 '(#:phases
8861 (modify-phases %standard-phases
8862 (add-after 'unpack 'skip-gtk-update-icon-cache
8863 ;; Don't create 'icon-theme.cache'.
8864 (lambda _
8865 (substitute* "build-aux/postinstall.py"
8866 (("gtk-update-icon-cache") "true"))
8867 #t)))))
8868 (native-inputs
8869 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8870 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8871 ("intltool" ,intltool)
8872 ("appstream-glib" ,appstream-glib)
8873 ("pkg-config" ,pkg-config)))
8874 (inputs
8875 `(("gtk+" ,gtk+)
8876 ("libcanberra" ,libcanberra)
8877 ("libx11" ,libx11)
8878 ("libxext" ,libxext)))
8879 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8880 (synopsis "Take pictures of your screen")
8881 (description
8882 "GNOME Screenshot is a utility used for taking screenshots of the entire
8883 screen, a window or a user defined area of the screen, with optional
8884 beautifying border effects.")
8885 (license license:gpl2+)))
8886
8887 (define-public dconf-editor
8888 (package
8889 (name "dconf-editor")
8890 (version "3.34.2")
8891 (source
8892 (origin
8893 (method url-fetch)
8894 (uri (string-append "mirror://gnome/sources/" name "/"
8895 (version-major+minor version) "/"
8896 name "-" version ".tar.xz"))
8897 (sha256
8898 (base32
8899 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8900 (build-system meson-build-system)
8901 (native-inputs
8902 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8903 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8904 ("intltool" ,intltool)
8905 ("pkg-config" ,pkg-config)
8906 ("vala" ,vala)))
8907 (inputs
8908 `(("dconf" ,dconf)
8909 ("gtk+" ,gtk+)
8910 ("libxml2" ,libxml2)))
8911 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8912 (synopsis "Graphical editor for GNOME's dconf configuration system")
8913 (description
8914 "Dconf-editor is a graphical tool for browsing and editing the dconf
8915 configuration system for GNOME. It allows users to configure desktop
8916 software that do not provide their own configuration interface.")
8917 (license license:lgpl2.1+)))
8918
8919 (define-public gnome-default-applications
8920 (package
8921 (name "gnome-default-applications")
8922 (version "0")
8923 (build-system trivial-build-system)
8924 (source #f)
8925 (propagated-inputs
8926 `(("nautilus" ,nautilus)
8927 ("evince" ,evince)))
8928 (arguments
8929 `(#:modules ((guix build utils))
8930 #:builder
8931 (begin
8932 (use-modules (guix build utils))
8933 (let* ((out (assoc-ref %outputs "out"))
8934 (apps (string-append out "/share/applications")))
8935 (mkdir-p apps)
8936 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8937 (lambda (port)
8938 (format port "[Default Applications]\n")
8939 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8940 (format port "application/pdf=evince.desktop\n")
8941 (format port "application/postscript=evince.desktop\n")))
8942 #t))))
8943 (synopsis "Default MIME type associations for the GNOME desktop")
8944 (description
8945 "Given many installed packages which might handle a given MIME type, a
8946 user running the GNOME desktop probably has some preferences: for example,
8947 that folders be opened by default by the Nautilus file manager, not the Baobab
8948 disk usage analyzer. This package establishes that set of default MIME type
8949 associations for GNOME.")
8950 (license license:gpl3+)
8951 (home-page #f)))
8952
8953 (define-public libgovirt
8954 (package
8955 (name "libgovirt")
8956 (version "0.3.6")
8957 (source (origin
8958 (method url-fetch)
8959 (uri (string-append "mirror://gnome/sources/" name "/"
8960 (version-major+minor version) "/"
8961 name "-" version ".tar.xz"))
8962 (sha256
8963 (base32
8964 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8965 (build-system glib-or-gtk-build-system)
8966 (native-inputs
8967 `(("gettext" ,gettext-minimal)
8968 ("glib:bin" ,glib "bin")
8969 ("gobject-introspection" ,gobject-introspection)
8970 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8971 ("gtk+:bin" ,gtk+ "bin")
8972 ("pkg-config" ,pkg-config)))
8973 (inputs
8974 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8975 ("librest" ,rest)))
8976 (synopsis "GoVirt Library")
8977 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8978 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8979 (license license:gpl2+)))
8980
8981 (define-public gnome-weather
8982 (package
8983 (name "gnome-weather")
8984 (version "3.34.0")
8985 (source (origin
8986 (method url-fetch)
8987 (uri (string-append "mirror://gnome/sources/" name "/"
8988 (version-major+minor version) "/"
8989 name "-" version ".tar.xz"))
8990 (sha256
8991 (base32
8992 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8993 (build-system meson-build-system)
8994 (native-inputs
8995 `(("gettext" ,gettext-minimal)
8996 ("glib:bin" ,glib "bin")
8997 ("gobject-introspection" ,gobject-introspection)
8998 ("gtk+:bin" ,gtk+ "bin")
8999 ("pkg-config" ,pkg-config)))
9000 (inputs
9001 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9002 ("appstream-glib" ,appstream-glib)
9003 ("geoclue" ,geoclue)
9004 ("gdk-pixbuf" ,gdk-pixbuf)
9005 ("gjs" ,gjs)
9006 ("gnome-desktop" ,gnome-desktop)
9007 ("libgweather" ,libgweather)))
9008 (arguments
9009 `(#:glib-or-gtk? #t
9010 #:phases
9011 (modify-phases %standard-phases
9012 (add-after 'install 'fix-desktop-file
9013 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9014 ;; See https://issues.guix.gnu.org/issue/39324.
9015 (lambda* (#:key outputs #:allow-other-keys)
9016 (let* ((out (assoc-ref outputs "out"))
9017 (applications (string-append out "/share/applications")))
9018 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9019 (("Exec=.*") "Exec=gnome-weather\n"))
9020 #t)))
9021 (add-after 'install 'wrap
9022 (lambda* (#:key inputs outputs #:allow-other-keys)
9023 (let ((out (assoc-ref outputs "out"))
9024 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9025 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9026 (wrap-program (string-append out "/bin/gnome-weather")
9027 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9028 #t))))))
9029 (synopsis "Weather monitoring for GNOME desktop")
9030 (description "GNOME Weather is a small application that allows you to
9031 monitor the current weather conditions for your city, or anywhere in the
9032 world.")
9033 (home-page "https://wiki.gnome.org/Apps/Weather")
9034 (license license:gpl2+)))
9035
9036 (define-public gnome
9037 (package
9038 (name "gnome")
9039 (version (package-version gnome-shell))
9040 (source #f)
9041 (build-system trivial-build-system)
9042 (arguments '(#:builder (begin (mkdir %output) #t)))
9043 (propagated-inputs
9044 ;; TODO: Add or remove packages according to:
9045 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9046 `(
9047 ;; GNOME-Core-OS-Services
9048 ("accountsservice" ,accountsservice)
9049 ("network-manager" ,network-manager)
9050 ("packagekit" ,packagekit)
9051 ("upower" ,upower)
9052 ;; GNOME-Core-Shell
9053 ("adwaita-icon-theme" ,adwaita-icon-theme)
9054 ("gdm" ,gdm)
9055 ("glib-networking" ,glib-networking)
9056 ("gnome-backgrounds" ,gnome-backgrounds)
9057 ("gnome-bluetooth" ,gnome-bluetooth)
9058 ("gnome-color-manager" ,gnome-color-manager)
9059 ("gnome-control-center" ,gnome-control-center)
9060 ("gnome-desktop" ,gnome-desktop)
9061 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9062 ("gnome-initial-setup" ,gnome-initial-setup)
9063 ("gnome-keyring" ,gnome-keyring)
9064 ("gnome-menus" ,gnome-menus)
9065 ("gnome-session" ,gnome-session)
9066 ("gnome-settings-daemon" ,gnome-settings-daemon)
9067 ("gnome-shell-extensions" ,gnome-shell-extensions)
9068 ("gnome-shell" ,gnome-shell)
9069 ("gnome-themes-extra" ,gnome-themes-extra)
9070 ("gnome-user-docs" ,gnome-user-docs)
9071 ("gnome-user-share" ,gnome-user-share)
9072 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9073 ("gvfs" ,gvfs)
9074 ("mutter" ,mutter)
9075 ("orca" ,orca)
9076 ("rygel" ,rygel)
9077 ("sushi" ,sushi)
9078 ;; GNOME-Core-Utilities
9079 ("baobab" ,baobab)
9080 ("cheese" ,cheese)
9081 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9082 ;; only works on x86_64, so exclude it on other architectures.
9083 ,@(if (string-prefix? "x86_64" (%current-system))
9084 `(("eog" ,eog))
9085 '())
9086 ("epiphany" ,epiphany)
9087 ("evince" ,evince)
9088 ("file-roller" ,file-roller)
9089 ("gedit" ,gedit)
9090 ("gnome-boxes" ,gnome-boxes)
9091 ("gnome-calculator" ,gnome-calculator)
9092 ("gnome-calendar" ,gnome-calendar)
9093 ("gnome-characters" ,gnome-characters)
9094 ("gnome-clocks" ,gnome-clocks)
9095 ("gnome-contacts" ,gnome-contacts)
9096 ("gnome-disk-utility" ,gnome-disk-utility)
9097 ("gnome-font-viewer" ,gnome-font-viewer)
9098 ("gnome-maps" ,gnome-maps)
9099 ; TODO: ("gnome-music" ,gnome-music)
9100 ; TODO: ("gnome-photos" ,gnome-photos)
9101 ("gnome-screenshot" ,gnome-screenshot)
9102 ("gnome-system-monitor" ,gnome-system-monitor)
9103 ("gnome-terminal" ,gnome-terminal)
9104 ("gnome-weather" ,gnome-weather)
9105 ("nautilus" ,nautilus)
9106 ("simple-scan" ,simple-scan)
9107 ("totem" ,totem)
9108 ("yelp" ,yelp)
9109 ;; Others
9110 ("hicolor-icon-theme" ,hicolor-icon-theme)
9111 ("gnome-online-accounts" ,gnome-online-accounts)
9112
9113 ;; Packages not part of GNOME proper but that are needed for a good
9114 ;; experience. See <https://bugs.gnu.org/39646>.
9115 ;; XXX: Find out exactly which ones are needed and why.
9116 ("font-cantarell" ,font-cantarell)
9117 ("font-dejavu" ,font-dejavu)
9118 ("at-spi2-core" ,at-spi2-core)
9119 ("dbus" ,dbus)
9120 ("dconf" ,dconf)
9121 ("desktop-file-utils" ,desktop-file-utils)
9122 ("gnome-default-applications" ,gnome-default-applications)
9123 ("gnome-themes-standard" ,gnome-themes-standard)
9124 ("gst-plugins-base" ,gst-plugins-base)
9125 ("gst-plugins-good" ,gst-plugins-good)
9126 ("gucharmap" ,gucharmap)
9127 ("pinentry-gnome3" ,pinentry-gnome3)
9128 ("pulseaudio" ,pulseaudio)
9129 ("shared-mime-info" ,shared-mime-info)
9130 ("system-config-printer" ,system-config-printer)
9131 ("xdg-user-dirs" ,xdg-user-dirs)
9132 ("yelp" ,yelp)
9133 ("zenity" ,zenity)))
9134 (synopsis "The GNU desktop environment")
9135 (home-page "https://www.gnome.org/")
9136 (description
9137 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9138 applications for browsing the web, editing text and images, creating
9139 documents and diagrams, playing media, scanning, and much more.")
9140 (license license:gpl2+)))
9141
9142 (define-public byzanz
9143 ;; The last stable release of Byzanz was in 2011, but there have been many
9144 ;; useful commits made to the Byzanz repository since then that it would be
9145 ;; silly to use such an old release.
9146 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9147 (package
9148 (name "byzanz")
9149 (version (string-append "0.2-1." (string-take commit 7)))
9150 (source (origin
9151 (method git-fetch)
9152 (uri (git-reference
9153 (url "https://git.gnome.org/browse/byzanz")
9154 (commit commit)))
9155 (file-name (string-append name "-" version "-checkout"))
9156 (sha256
9157 (base32
9158 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9159 (build-system glib-or-gtk-build-system)
9160 (arguments
9161 '(#:phases
9162 (modify-phases %standard-phases
9163 (add-before 'bootstrap 'build-without-Werror
9164 (lambda _
9165 ;; The build system cleverly detects that we're not building from
9166 ;; a release tarball and turns on -Werror for GCC.
9167 ;; Unsurprisingly, there is a warning during compilation that
9168 ;; causes the build to fail unnecessarily, so we remove the flag.
9169 (substitute* '("configure.ac")
9170 (("-Werror") ""))
9171 #t)))))
9172 (native-inputs
9173 `(("autoconf" ,autoconf)
9174 ("automake" ,automake)
9175 ("gnome-common" ,gnome-common)
9176 ("intltool" ,intltool)
9177 ("libtool" ,libtool)
9178 ("pkg-config" ,pkg-config)
9179 ("which" ,which)))
9180 (inputs
9181 `(("glib" ,glib)
9182 ("gstreamer" ,gstreamer)
9183 ("gst-plugins-base" ,gst-plugins-base)
9184 ("gtk+" ,gtk+)))
9185 (synopsis "Desktop recording program")
9186 (description "Byzanz is a simple desktop recording program with a
9187 command-line interface. It can record part or all of an X display for a
9188 specified duration and save it as a GIF encoded animated image file.")
9189 (home-page "https://git.gnome.org/browse/byzanz")
9190 (license license:gpl2+))))
9191
9192 (define-public authenticator
9193 (package
9194 (name "authenticator")
9195 (version "3.32.2")
9196 (source
9197 (origin
9198 (method git-fetch)
9199 (uri (git-reference
9200 (url "https://gitlab.gnome.org/World/Authenticator")
9201 (commit version)))
9202 (file-name (git-file-name name version))
9203 (sha256
9204 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9205 (build-system meson-build-system)
9206 (arguments
9207 `(#:glib-or-gtk? #t
9208 #:phases
9209 (modify-phases %standard-phases
9210 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9211 (lambda* (#:key inputs outputs #:allow-other-keys)
9212 (let ((prog (string-append (assoc-ref outputs "out")
9213 "/bin/authenticator"))
9214 (pylib (string-append (assoc-ref outputs "out")
9215 "/lib/python"
9216 ,(version-major+minor
9217 (package-version python))
9218 "/site-packages")))
9219 (wrap-program prog
9220 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9221 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9222 #t))))))
9223 (native-inputs
9224 `(("desktop-file-utils" ,desktop-file-utils)
9225 ("gettext" ,gettext-minimal)
9226 ("glib:bin" ,glib "bin")
9227 ("gobject-introspection" ,gobject-introspection)
9228 ("gtk+:bin" ,gtk+ "bin")
9229 ("pkg-config" ,pkg-config)))
9230 (inputs
9231 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9232 ("gtk+" ,gtk+)
9233 ("libhandy" ,libhandy-0.0)
9234 ("libsecret" ,libsecret)
9235 ("python-beautifulsoup4" ,python-beautifulsoup4)
9236 ("python-pillow" ,python-pillow)
9237 ("python-pyfavicon" ,python-pyfavicon)
9238 ("python-pygobject" ,python-pygobject)
9239 ("python-pyotp" ,python-pyotp)
9240 ("python-pyzbar" ,python-pyzbar)
9241 ("yoyo-migrations" ,yoyo-migrations)
9242 ("zbar" ,zbar)))
9243 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9244 (synopsis "Two-factor authentication application built for GNOME")
9245 (description
9246 "Authenticator is a two-factor authentication (2FA) application built for
9247 the GNOME desktop environment.
9248
9249 Features:
9250
9251 @itemize
9252 @item QR code scanner
9253 @item Beautiful UI
9254 @item Huge database of more than 560 supported services
9255 @item Keep your PIN tokens secure by locking the application with a password
9256 @item Automatically fetch an image for services using their favicon
9257 @item The possibility to add new services
9258 @end itemize")
9259 (license license:gpl3+)))
9260
9261 (define-public gsound
9262 (package
9263 (name "gsound")
9264 (version "1.0.2")
9265 (source (origin
9266 (method url-fetch)
9267 (uri (string-append "mirror://gnome/sources/" name "/"
9268 (version-major+minor version) "/"
9269 name "-" version ".tar.xz"))
9270 (sha256
9271 (base32
9272 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9273 (build-system glib-or-gtk-build-system)
9274 (native-inputs
9275 `(("pkg-config" ,pkg-config)
9276 ("gobject-introspection" ,gobject-introspection)
9277 ("vala" ,vala)))
9278 (inputs
9279 `(("glib" ,glib)
9280 ("libcanberra" ,libcanberra)))
9281 (home-page "https://wiki.gnome.org/Projects/GSound")
9282 (synopsis "GObject wrapper for libcanberra")
9283 (description
9284 "GSound is a small library for playing system sounds. It's designed to be
9285 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9286 library.")
9287 (license license:lgpl2.1+)))
9288
9289 (define-public libzapojit
9290 (package
9291 (name "libzapojit")
9292 (version "0.0.3")
9293 (source (origin
9294 (method url-fetch)
9295 (uri (string-append "mirror://gnome/sources/" name "/"
9296 (version-major+minor version) "/"
9297 name "-" version ".tar.xz"))
9298 (sha256
9299 (base32
9300 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9301 (build-system gnu-build-system)
9302 (native-inputs
9303 `(("gobject-introspection" ,gobject-introspection)
9304 ("intltool" ,intltool)
9305 ("pkg-config" ,pkg-config)))
9306 (inputs
9307 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9308 ("json-glib" ,json-glib)
9309 ("rest" ,rest)))
9310 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9311 (synopsis "Library for accessing SkyDrive and Hotmail")
9312 (description
9313 "Libzapojit is a GLib-based library for accessing online service APIs of
9314 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9315 (license license:lgpl2.1+)))
9316
9317 (define-public gnome-clocks
9318 (package
9319 (name "gnome-clocks")
9320 (version "3.34.0")
9321 (source (origin
9322 (method url-fetch)
9323 (uri (string-append "mirror://gnome/sources/" name "/"
9324 (version-major+minor version) "/"
9325 name "-" version ".tar.xz"))
9326 (sha256
9327 (base32
9328 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9329 (build-system meson-build-system)
9330 (arguments
9331 '(#:glib-or-gtk? #t
9332 #:phases
9333 (modify-phases %standard-phases
9334 (add-after 'unpack 'skip-gtk-update-icon-cache
9335 ;; Don't create 'icon-theme.cache'.
9336 (lambda _
9337 (substitute* "build-aux/post-install.py"
9338 (("gtk-update-icon-cache") "true"))
9339 #t)))))
9340 (native-inputs
9341 `(("vala" ,vala)
9342 ("pkg-config" ,pkg-config)
9343 ("glib" ,glib "bin") ; for glib-compile-resources
9344 ("desktop-file-utils" ,desktop-file-utils)
9345 ("gettext" ,gettext-minimal)
9346 ("itstool" ,itstool)))
9347 (inputs
9348 `(("glib" ,glib)
9349 ("gtk+" ,gtk+)
9350 ("gsound" ,gsound)
9351 ("geoclue" ,geoclue)
9352 ("geocode-glib" ,geocode-glib)
9353 ("libgweather" ,libgweather)
9354 ("gnome-desktop" ,gnome-desktop)))
9355 (home-page "https://wiki.gnome.org/Apps/Clocks")
9356 (synopsis "GNOME's clock application")
9357 (description
9358 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9359 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9360 (license license:gpl3+)))
9361
9362 (define-public gnome-calendar
9363 (package
9364 (name "gnome-calendar")
9365 (version "3.34.2")
9366 (source (origin
9367 (method url-fetch)
9368 (uri (string-append "mirror://gnome/sources/" name "/"
9369 (version-major+minor version) "/"
9370 name "-" version ".tar.xz"))
9371 (sha256
9372 (base32
9373 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9374 (build-system meson-build-system)
9375 (arguments
9376 '(#:glib-or-gtk? #t
9377 ;; gnome-calendar has to be installed before the tests can be run
9378 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9379 #:tests? #f
9380 #:phases
9381 (modify-phases %standard-phases
9382 (add-after 'unpack 'skip-gtk-update-icon-cache
9383 ;; Don't create 'icon-theme.cache'.
9384 (lambda _
9385 (substitute* "build-aux/meson/meson_post_install.py"
9386 (("gtk-update-icon-cache") "true"))
9387 #t)))))
9388 (native-inputs
9389 `(("gettext" ,gettext-minimal)
9390 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9391 ("pkg-config" ,pkg-config)))
9392 (inputs
9393 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9394 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9395 ("libdazzle" ,libdazzle)
9396 ("libedataserverui" ,evolution-data-server)
9397 ("libgweather" ,libgweather)
9398 ("geoclue" ,geoclue)))
9399 (propagated-inputs
9400 `(("evolution-data-server" ,evolution-data-server)))
9401 (home-page "https://wiki.gnome.org/Apps/Calendar")
9402 (synopsis "GNOME's calendar application")
9403 (description
9404 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9405 desktop. It supports multiple calendars, month, week and year view.")
9406 (license license:gpl3+)))
9407
9408 (define-public gnome-todo
9409 (package
9410 (name "gnome-todo")
9411 (version "3.28.1")
9412 (source (origin
9413 (method url-fetch)
9414 (uri (string-append "mirror://gnome/sources/" name "/"
9415 (version-major+minor version) "/"
9416 name "-" version ".tar.xz"))
9417 (sha256
9418 (base32
9419 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9420 (patches
9421 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9422 (build-system meson-build-system)
9423 (arguments
9424 '(#:glib-or-gtk? #t
9425 #:phases (modify-phases %standard-phases
9426 (add-after
9427 'install 'wrap-gnome-todo
9428 (lambda* (#:key inputs outputs #:allow-other-keys)
9429 (let ((out (assoc-ref outputs "out"))
9430 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9431 (python-path (getenv "PYTHONPATH")))
9432 (wrap-program (string-append out "/bin/gnome-todo")
9433 ;; XXX: gi plugins are broken.
9434 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9435 ;; For plugins.
9436 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9437 `("PYTHONPATH" ":" prefix (,python-path))))
9438 #t)))))
9439 (native-inputs
9440 `(("gettext" ,gettext-minimal)
9441 ("gobject-introspection" ,gobject-introspection)
9442 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9443 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9444 ("pkg-config" ,pkg-config)))
9445 (inputs
9446 `(("rest" ,rest) ; For Todoist plugin
9447 ("json-glib" ,json-glib) ; For Todoist plugin
9448 ("libedataserverui" ,evolution-data-server)
9449 ("libical" ,libical)
9450 ("libpeas" ,libpeas)
9451 ("python-pygobject" ,python-pygobject)
9452 ("evolution-data-server" ,evolution-data-server)
9453 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9454 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9455 (home-page "https://wiki.gnome.org/Apps/Todo")
9456 (synopsis "GNOME's ToDo Application")
9457 (description
9458 "GNOME To Do is a simplistic personal task manager designed to perfectly
9459 fit the GNOME desktop.")
9460 (license license:gpl3+)))
9461
9462 (define-public gnome-dictionary
9463 (package
9464 (name "gnome-dictionary")
9465 (version "3.26.1")
9466 (source (origin
9467 (method url-fetch)
9468 (uri (string-append "mirror://gnome/sources/" name "/"
9469 (version-major+minor version) "/"
9470 name "-" version ".tar.xz"))
9471 (sha256
9472 (base32
9473 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9474 (build-system meson-build-system)
9475 (arguments '(#:glib-or-gtk? #t
9476 #:phases (modify-phases %standard-phases
9477 (add-after 'unpack 'patch-install-script
9478 (lambda _
9479 ;; This script attempts to compile glib schemas
9480 ;; and create an empty MIME database. We do
9481 ;; that elsewhere, so prevent it from running.
9482 (substitute* "build-aux/post-install.sh"
9483 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9484 #t)))))
9485 (native-inputs
9486 `(("glib:bin" ,glib "bin")
9487 ("gobject-introspection" ,gobject-introspection)
9488 ("intltool" ,intltool)
9489 ("itstool" ,itstool)
9490 ("pkg-config" ,pkg-config)
9491 ("xmllint" ,libxml2)))
9492 (inputs
9493 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9494 ("gtk+" ,gtk+)))
9495 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9496 (synopsis "Look up words in dictionary sources")
9497 (description
9498 "GNOME Dictionary can look for the definition or translation of a word in
9499 existing databases over the internet.")
9500 (license license:gpl3+)))
9501
9502 (define-public gnome-tweaks
9503 (package
9504 (name "gnome-tweaks")
9505 (version "3.34.0")
9506 (source (origin
9507 (method url-fetch)
9508 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9509 (version-major+minor version) "/"
9510 "gnome-tweaks-" version ".tar.xz"))
9511 (patches
9512 (list (search-patch "gnome-tweaks-search-paths.patch")))
9513 (sha256
9514 (base32
9515 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
9516 (build-system meson-build-system)
9517 (arguments
9518 `(#:glib-or-gtk? #t
9519 #:configure-flags '("-Dlocalstatedir=/tmp"
9520 "-Dsysconfdir=/tmp")
9521 #:imported-modules ((guix build python-build-system)
9522 ,@%meson-build-system-modules)
9523 #:phases
9524 (modify-phases %standard-phases
9525 (add-after 'unpack 'skip-gtk-update-icon-cache
9526 ;; Don't create 'icon-theme.cache'.
9527 (lambda _
9528 (substitute* "meson-postinstall.py"
9529 (("gtk-update-icon-cache") "true"))
9530 #t))
9531 (add-after 'install 'wrap
9532 (@@ (guix build python-build-system) wrap))
9533 (add-after 'wrap 'wrap-gi-typelib
9534 (lambda* (#:key inputs outputs #:allow-other-keys)
9535 (let ((out (assoc-ref outputs "out"))
9536 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9537 (wrap-program (string-append out "/bin/gnome-tweaks")
9538 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9539 #t)))))
9540 (native-inputs
9541 `(("intltool" ,intltool)
9542 ("pkg-config" ,pkg-config)))
9543 (inputs
9544 `(("gnome-desktop" ,gnome-desktop)
9545 ("gtk+" ,gtk+)
9546 ("gobject-introspection" ,gobject-introspection)
9547 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9548 ("libhandy" ,libhandy-0.0)
9549 ("libnotify" ,libnotify)
9550 ("libsoup" ,libsoup)
9551 ("nautilus" ,nautilus)
9552 ("python" ,python)
9553 ("python-pygobject" ,python-pygobject)))
9554 (synopsis "Customize advanced GNOME 3 options")
9555 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9556 (description
9557 "GNOME Tweaks allows adjusting advanced configuration settings in
9558 GNOME 3. This includes things like the fonts used in user interface elements,
9559 alternative user interface themes, changes in window management behavior,
9560 GNOME Shell appearance and extension, etc.")
9561 (license license:gpl3+)))
9562
9563 (define-public gnome-shell-extensions
9564 (package
9565 (name "gnome-shell-extensions")
9566 (version "3.34.2")
9567 (source (origin
9568 (method url-fetch)
9569 (uri (string-append "mirror://gnome/sources/" name "/"
9570 (version-major+minor version) "/"
9571 name "-" version ".tar.xz"))
9572 (sha256
9573 (base32
9574 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9575 (build-system meson-build-system)
9576 (arguments
9577 '(#:configure-flags '("-Dextension_set=all")))
9578 (native-inputs
9579 `(("glib:bin" ,glib "bin")
9580 ("intltool" ,intltool)
9581 ("pkg-config" ,pkg-config)))
9582 (propagated-inputs
9583 `(("glib" ,glib)))
9584 (synopsis "Extensions for GNOME Shell")
9585 (description "GNOME Shell extensions modify and extend GNOME Shell
9586 functionality and behavior.")
9587 (home-page "https://extensions.gnome.org/")
9588 (license license:gpl3+)))
9589
9590 (define-public arc-theme
9591 (package
9592 (name "arc-theme")
9593 (version "20201013")
9594 (source (origin
9595 (method git-fetch)
9596 (uri (git-reference
9597 (url "https://github.com/jnsh/arc-theme")
9598 (commit version)))
9599 (file-name (git-file-name name version))
9600 (sha256
9601 (base32
9602 "1x2l1mwjx68dwf3jb1i90c1q8nqsl1wf2zggcn8im6590k5yv39s"))))
9603 (build-system gnu-build-system)
9604 (arguments
9605 '(#:configure-flags
9606 (list "--disable-cinnamon")
9607 #:phases
9608 (modify-phases %standard-phases
9609 ;; autogen.sh calls configure at the end of the script.
9610 (replace 'bootstrap
9611 (lambda _ (invoke "autoreconf" "-vfi")))
9612 (add-before 'build 'set-home ;placate Inkscape
9613 (lambda _
9614 (setenv "HOME" (getcwd))
9615 #t)))))
9616 (native-inputs
9617 `(("autoconf" ,autoconf)
9618 ("automake" ,automake)
9619 ("glib" ,glib "bin") ; for glib-compile-resources
9620 ("gnome-shell" ,gnome-shell)
9621 ("gtk+" ,gtk+)
9622 ("inkscape" ,inkscape)
9623 ("optipng" ,optipng)
9624 ("pkg-config" ,pkg-config)
9625 ("sassc" ,sassc/libsass-3.5)))
9626 (synopsis "A flat GTK+ theme with transparent elements")
9627 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
9628 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
9629 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
9630 (home-page "https://github.com/horst3180/arc-theme")
9631 ;; No "or later" language found.
9632 (license license:gpl3+)))
9633
9634 (define-public faba-icon-theme
9635 (package
9636 (name "faba-icon-theme")
9637 (version "4.3")
9638 (source
9639 (origin
9640 (method git-fetch)
9641 (uri (git-reference
9642 (url "https://github.com/snwh/faba-icon-theme")
9643 (commit (string-append "v" version))))
9644 (file-name (git-file-name name version))
9645 (sha256
9646 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
9647 (build-system meson-build-system)
9648 (arguments
9649 `(#:phases
9650 (modify-phases %standard-phases
9651 (add-before 'configure 'disable-post-install
9652 (lambda _
9653 (substitute* "meson.build"
9654 (("meson.add_install_script.*") "")))))))
9655 (native-inputs
9656 `(("autoconf" ,autoconf)
9657 ("automake" ,automake)))
9658 (synopsis "Faba icon theme")
9659 (description
9660 "Faba is a minimal icon set used as a basis for other themes such as
9661 Moka")
9662 (home-page "https://snwh.org/moka")
9663 (license (list license:lgpl3+
9664 license:cc-by-sa4.0))))
9665
9666 (define-public moka-icon-theme
9667 (package
9668 (inherit faba-icon-theme)
9669 (name "moka-icon-theme")
9670 (version "5.4.0")
9671 (source
9672 (origin
9673 (method git-fetch)
9674 (uri (git-reference
9675 (url "https://github.com/snwh/moka-icon-theme")
9676 (commit (string-append "v" version))))
9677 (file-name (git-file-name name version))
9678 (sha256
9679 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
9680 (propagated-inputs
9681 ;; Moka is based on Faba by using it as a fallback icon set instead of
9682 ;; bundling it, so we need to add it as a propagated input.
9683 `(("faba-icon-theme" ,faba-icon-theme)))
9684 (synopsis "Moka icon theme")
9685 (description "Moka is a stylized desktop icon set, designed to be clear,
9686 simple and consistent.")
9687 (license (list license:gpl3+
9688 license:cc-by-sa4.0))))
9689
9690 (define-public arc-icon-theme
9691 (package
9692 (name "arc-icon-theme")
9693 (version "20161122")
9694 (source
9695 (origin
9696 (method git-fetch)
9697 (uri (git-reference
9698 (url "https://github.com/horst3180/arc-icon-theme")
9699 (commit version)))
9700 (file-name (git-file-name name version))
9701 (sha256
9702 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
9703 (build-system gnu-build-system)
9704 (arguments
9705 `(#:phases
9706 (modify-phases %standard-phases
9707 (add-after 'unpack 'disable-configure-during-bootstrap
9708 (lambda _
9709 (substitute* "autogen.sh"
9710 (("^\"\\$srcdir/configure\".*") ""))
9711 #t)))))
9712 (native-inputs
9713 `(("autoconf" ,autoconf)
9714 ("automake" ,automake)))
9715 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
9716 (propagated-inputs
9717 `(("moka-icon-theme" ,moka-icon-theme)))
9718 (synopsis "Arc icon theme")
9719 (description "The Arc icon theme provides a set of icons matching the
9720 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
9721 the Moka icon theme.")
9722 (home-page "https://github.com/horst3180/arc-icon-theme")
9723 (license license:gpl3+)))
9724
9725 (define-public folks
9726 (package
9727 (name "folks")
9728 (version "0.13.1")
9729 (source (origin
9730 (method url-fetch)
9731 (uri (string-append
9732 "mirror://gnome/sources/folks/"
9733 (version-major+minor version) "/"
9734 "folks-" version ".tar.xz"))
9735 (sha256
9736 (base32
9737 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9738 (build-system meson-build-system)
9739 (arguments
9740 '(#:phases
9741 (modify-phases %standard-phases
9742 (add-after 'unpack 'skip-gtk-update-icon-cache
9743 ;; Don't create 'icon-theme.cache'.
9744 (lambda _
9745 (substitute* "meson_post_install.py"
9746 (("gtk-update-icon-cache") "true"))
9747 #t)))))
9748 (inputs
9749 `(("bdb" ,bdb)
9750 ("dbus-glib" ,dbus-glib)
9751 ("evolution-data-server" ,evolution-data-server)
9752 ("glib" ,glib)
9753 ("libgee" ,libgee)
9754 ("readline" ,readline)
9755 ("telepathy-glib" ,telepathy-glib)))
9756 (native-inputs
9757 `(("glib:bin" ,glib "bin")
9758 ("gobject-introspection" ,gobject-introspection)
9759 ("intltool" ,intltool)
9760 ("pkg-config" ,pkg-config)
9761 ("vala" ,vala)))
9762 (synopsis "Library to aggregate data about people")
9763 (description "Libfolks is a library that aggregates information about people
9764 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9765 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9766 etc.) to create metacontacts. It's written in Vala, which generates C code when
9767 compiled.")
9768 (home-page "https://wiki.gnome.org/Projects/Folks")
9769 (license license:lgpl2.1+)))
9770
9771 (define-public gfbgraph
9772 (package
9773 (name "gfbgraph")
9774 (version "0.2.4")
9775 (source (origin
9776 (method url-fetch)
9777 (uri (string-append
9778 "mirror://gnome/sources/gfbgraph/"
9779 (version-major+minor version) "/"
9780 "gfbgraph-" version ".tar.xz"))
9781 (sha256
9782 (base32
9783 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9784 (build-system glib-or-gtk-build-system)
9785 (arguments
9786 `(#:tests? #f ; tests appear to require the network
9787 #:configure-flags '("--disable-static"
9788 "--enable-gtk-doc"
9789 "--enable-introspection")))
9790 (native-inputs
9791 `(("gobject-introspection" ,gobject-introspection)
9792 ("gtk-doc" ,gtk-doc)
9793 ("pkg-config" ,pkg-config)
9794
9795 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9796 ("autoconf" ,autoconf)
9797 ("automake" ,automake)
9798 ("libtool" ,libtool)
9799 ("which" ,which)))
9800 (inputs
9801 `(("json-glib" ,json-glib)
9802 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9803 ("rest" ,rest)))
9804 (synopsis "GLib/GObject wrapper for the Facebook API")
9805 (description "This library allows you to use the Facebook API from
9806 GLib/GObject code.")
9807 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9808 (license license:lgpl2.1+)))
9809
9810 (define-public libgnomekbd
9811 (package
9812 (name "libgnomekbd")
9813 (version "3.26.1")
9814 (source (origin
9815 (method url-fetch)
9816 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9817 (version-major+minor version) "/"
9818 "libgnomekbd-" version ".tar.xz"))
9819 (sha256
9820 (base32
9821 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9822 (build-system gnu-build-system)
9823 (native-inputs
9824 `(("pkg-config" ,pkg-config)
9825 ("glib" ,glib "bin")
9826 ("intltool" ,intltool)))
9827 (propagated-inputs
9828 ;; Referred to in .h files and .pc.
9829 `(("glib" ,glib)
9830 ("gtk+" ,gtk+)
9831 ("libxklavier" ,libxklavier)))
9832 (home-page "https://www.gnome.org")
9833 (synopsis "GNOME keyboard configuration library")
9834 (description
9835 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9836 environment, which can notably display keyboard layouts.")
9837 (license license:lgpl2.0+)))
9838
9839 ;;; This package is no longer maintained:
9840 ;;; https://wiki.gnome.org/Attic/LibUnique
9841 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9842 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9843 (define-public libunique
9844 (package
9845 (name "libunique")
9846 (version "3.0.2")
9847 (source (origin
9848 (method url-fetch)
9849 (uri (string-append "mirror://gnome/sources/" name "/"
9850 (version-major+minor version) "/"
9851 name "-" version ".tar.xz"))
9852 (sha256
9853 (base32
9854 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9855 (build-system glib-or-gtk-build-system)
9856 (arguments
9857 `(#:configure-flags '("--disable-static"
9858 "--disable-dbus" ; use gdbus
9859 "--enable-introspection")))
9860 (native-inputs
9861 `(("pkg-config" ,pkg-config)
9862 ("gobject-introspection" ,gobject-introspection)
9863 ("glib:bin" ,glib "bin")
9864 ("gtk-doc" ,gtk-doc)))
9865 (propagated-inputs
9866 ;; Referred to in .h files and .pc.
9867 `(("gtk+" ,gtk+)))
9868 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9869 (synopsis "Library for writing single instance applications")
9870 (description
9871 "Libunique is a library for writing single instance applications. If you
9872 launch a single instance application twice, the second instance will either just
9873 quit or will send a message to the running instance. Libunique makes it easy to
9874 write this kind of application, by providing a base class, taking care of all
9875 the IPC machinery needed to send messages to a running instance, and also
9876 handling the startup notification side.")
9877 (license license:lgpl2.1+)))
9878
9879 (define-public gnome-calculator
9880 (package
9881 (name "gnome-calculator")
9882 (version "3.34.1")
9883 (source
9884 (origin
9885 (method url-fetch)
9886 (uri (string-append "mirror://gnome/sources/" name "/"
9887 (version-major+minor version) "/"
9888 name "-" version ".tar.xz"))
9889 (sha256
9890 (base32
9891 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9892 (build-system meson-build-system)
9893 (arguments '(#:glib-or-gtk? #t))
9894 (native-inputs
9895 `(("gettext" ,gettext-minimal)
9896 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9897 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9898 ("itstool" ,itstool)
9899 ("vala" ,vala)
9900 ("pkg-config" ,pkg-config)))
9901 (inputs
9902 `(("glib" ,glib)
9903 ("gtksourceview" ,gtksourceview)
9904 ("libgee" ,libgee)
9905 ("libsoup" ,libsoup)
9906 ("libxml2" ,libxml2)
9907 ("mpc" ,mpc)
9908 ("mpfr" ,mpfr)))
9909 (home-page "https://wiki.gnome.org/Apps/Calculator")
9910 (synopsis "Desktop calculator")
9911 (description
9912 "Calculator is an application that solves mathematical equations and
9913 is suitable as a default application in a Desktop environment.")
9914 (license license:gpl3)))
9915
9916 (define-public xpad
9917 (package
9918 (name "xpad")
9919 (version "5.1.0")
9920 (source
9921 (origin
9922 (method url-fetch)
9923 (uri (string-append "https://launchpad.net/xpad/trunk/"
9924 version "/+download/"
9925 name "-" version ".tar.bz2"))
9926 (sha256
9927 (base32
9928 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9929 (build-system gnu-build-system)
9930 (native-inputs
9931 `(("autoconf" ,autoconf)
9932 ("automake" ,automake)
9933 ("gtk+:bin" ,gtk+ "bin")
9934 ("intltool" ,intltool)
9935 ("pkg-config" ,pkg-config)))
9936 (inputs
9937 `(("gtksourceview" ,gtksourceview-3)
9938 ("libsm" ,libsm)))
9939 (home-page "https://wiki.gnome.org/Apps/Xpad")
9940 (synopsis "Virtual sticky note")
9941 (description
9942 "Xpad is a sticky note that strives to be simple, fault tolerant,
9943 and customizable. Xpad consists of independent pad windows, each is
9944 basically a text box in which notes can be written.")
9945 (license license:gpl3+)))
9946
9947 (define-public gucharmap
9948 (let ((unicode-files
9949 '(("Blocks.txt"
9950 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9951 ("DerivedAge.txt"
9952 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9953 ("NamesList.txt"
9954 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9955 ("Scripts.txt"
9956 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9957 ("UnicodeData.txt"
9958 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9959 ("Unihan.zip"
9960 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9961 (package
9962 (name "gucharmap")
9963 (version "12.0.1")
9964 (source
9965 (origin
9966 (method url-fetch)
9967 (uri (string-append "mirror://gnome/sources/" name "/"
9968 (version-major+minor version) "/"
9969 name "-" version ".tar.xz"))
9970 (sha256
9971 (base32
9972 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9973 (build-system glib-or-gtk-build-system)
9974 (arguments
9975 `(#:modules ((ice-9 match)
9976 (guix build glib-or-gtk-build-system)
9977 (guix build utils))
9978 #:configure-flags
9979 (list "--with-unicode-data=../unicode-data")
9980 #:phases
9981 (modify-phases %standard-phases
9982 (add-after 'unpack 'prepare-unicode-data
9983 (lambda* (#:key inputs #:allow-other-keys)
9984 (mkdir-p "../unicode-data")
9985 (with-directory-excursion "../unicode-data"
9986 (for-each (match-lambda
9987 ((file _)
9988 (install-file (assoc-ref inputs file) ".")))
9989 ',unicode-files))
9990 #t)))))
9991 (native-inputs
9992 `(("desktop-file-utils" ,desktop-file-utils)
9993 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9994 ("gobject-introspection" ,gobject-introspection)
9995 ("intltool" ,intltool)
9996 ("itstool" ,itstool)
9997 ("pkg-config" ,pkg-config)
9998 ,@(map (match-lambda
9999 ((file hash)
10000 `(,file
10001 ,(origin
10002 (method url-fetch)
10003 (uri (string-append
10004 "http://www.unicode.org/Public/12.0.0/ucd/"
10005 file))
10006 (sha256 (base32 hash))))))
10007 unicode-files)
10008 ("unzip" ,unzip)))
10009 (inputs
10010 `(("gtk+" ,gtk+)
10011 ("xmllint" ,libxml2)))
10012 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10013 (synopsis "Unicode character picker and font browser")
10014 (description
10015 "This program allows you to browse through all the available Unicode
10016 characters and categories for the installed fonts, and to examine their
10017 detailed properties. It is an easy way to find the character you might
10018 only know by its Unicode name or code point.")
10019 (license license:gpl3+))))
10020
10021 (define-public bluefish
10022 (package
10023 (name "bluefish")
10024 (version "2.2.12")
10025 (source
10026 (origin
10027 (method url-fetch)
10028 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10029 "bluefish-" version ".tar.gz"))
10030 (sha256
10031 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10032 (build-system gnu-build-system)
10033 (native-inputs
10034 `(("desktop-file-utils" ,desktop-file-utils)
10035 ("intltool" ,intltool)
10036 ("pkg-config" ,pkg-config)))
10037 (inputs
10038 `(("enchant" ,enchant)
10039 ("gtk+" ,gtk+)
10040 ("python" ,python-wrapper)
10041 ("xmllint" ,libxml2)
10042 ("gucharmap" ,gucharmap)))
10043 (home-page "http://bluefish.openoffice.nl")
10044 (synopsis "Web development studio")
10045 (description
10046 "Bluefish is an editor aimed at programmers and web developers,
10047 with many options to write web sites, scripts and other code.
10048 Bluefish supports many programming and markup languages.")
10049 (license license:gpl3+)))
10050
10051 (define-public gnome-system-monitor
10052 (package
10053 (name "gnome-system-monitor")
10054 (version "3.32.1")
10055 (source
10056 (origin
10057 (method url-fetch)
10058 (uri (string-append "mirror://gnome/sources/" name "/"
10059 (version-major+minor version) "/"
10060 name "-" version ".tar.xz"))
10061 (sha256
10062 (base32
10063 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10064 (build-system meson-build-system)
10065 (arguments
10066 '(#:glib-or-gtk? #t
10067 #:configure-flags '("-Dsystemd=false")))
10068 (native-inputs
10069 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10070 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10071 ("intltool" ,intltool)
10072 ("itstool" ,itstool)
10073 ("libgtop" ,libgtop)
10074 ("polkit" ,polkit)
10075 ("pkg-config" ,pkg-config)))
10076 (inputs
10077 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10078 ("gtk+" ,gtk+)
10079 ("gtkmm" ,gtkmm)
10080 ("librsvg" ,librsvg)
10081 ("libxml2" ,libxml2)
10082 ("libwnck" ,libwnck)))
10083 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10084 (synopsis "Process viewer and system resource monitor for GNOME")
10085 (description
10086 "GNOME System Monitor is a GNOME process viewer and system monitor with
10087 an attractive, easy-to-use interface. It has features, such as a tree view
10088 for process dependencies, icons for processes, the ability to hide processes,
10089 graphical time histories of CPU/memory/swap usage and the ability to
10090 kill/reinice processes.")
10091 (license license:gpl2+)))
10092
10093 (define-public python-pyatspi
10094 (package
10095 (name "python-pyatspi")
10096 (version "2.34.0")
10097 (source (origin
10098 (method url-fetch)
10099 (uri (string-append
10100 "mirror://gnome/sources/pyatspi/"
10101 (version-major+minor version)
10102 "/pyatspi-" version ".tar.xz"))
10103 (sha256
10104 (base32
10105 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10106 (build-system gnu-build-system)
10107 (arguments
10108 `(#:phases
10109 (modify-phases %standard-phases
10110 (add-before 'build 'fix-atk-load
10111 (lambda _
10112 (substitute* "pyatspi/__init__.py"
10113 (("from gi.repository import Atspi")
10114 "gi.require_version('Gtk', '3.0')
10115 from gi.repository import Gtk
10116 from gi.repository import Atspi"))
10117 #t)))))
10118 (native-inputs
10119 `(("pkg-config" ,pkg-config)))
10120 (inputs
10121 `(("python" ,python)))
10122 (propagated-inputs
10123 `(("python-pygobject" ,python-pygobject)))
10124 (synopsis "Python client bindings for D-Bus AT-SPI")
10125 (home-page "https://wiki.linuxfoundation.org/accessibility\
10126 /atk/at-spi/at-spi_on_d-bus")
10127 (description
10128 "This package includes a python client library for the AT-SPI D-Bus
10129 accessibility infrastructure.")
10130 (license license:lgpl2.0)
10131 (properties '((upstream-name . "pyatspi")))))
10132
10133 (define-public python2-pyatspi
10134 (package
10135 (inherit python-pyatspi)
10136 (name "python2-pyatspi")
10137 (inputs
10138 `(("python" ,python-2)))
10139 (propagated-inputs
10140 `(("python-pygobject" ,python2-pygobject)))))
10141
10142 (define-public orca
10143 (package
10144 (name "orca")
10145 (version "3.34.1")
10146 (source (origin
10147 (method url-fetch)
10148 (uri (string-append
10149 "mirror://gnome/sources/" name "/"
10150 (version-major+minor version) "/"
10151 name "-" version ".tar.xz"))
10152 (sha256
10153 (base32
10154 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10155 (build-system glib-or-gtk-build-system)
10156 (arguments
10157 '(#:phases
10158 (modify-phases %standard-phases
10159 (add-before 'configure 'qualify-xkbcomp
10160 (lambda* (#:key inputs #:allow-other-keys)
10161 (let ((xkbcomp (string-append
10162 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10163 (substitute* "src/orca/orca.py"
10164 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10165 #t))
10166 (add-after 'install 'wrap-orca
10167 (lambda* (#:key outputs #:allow-other-keys)
10168 (let* ((out (assoc-ref outputs "out"))
10169 (prog (string-append out "/bin/orca")))
10170 (wrap-program prog
10171 `("GI_TYPELIB_PATH" ":" prefix
10172 (,(getenv "GI_TYPELIB_PATH")))
10173 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10174 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10175 `("PYTHONPATH" ":" prefix
10176 (,(getenv "PYTHONPATH")))))
10177 #t)))))
10178 (native-inputs
10179 `(("intltool" ,intltool)
10180 ("itstool" ,itstool)
10181 ("pkg-config" ,pkg-config)
10182 ("xmllint" ,libxml2)))
10183 (inputs
10184 `(("at-spi2-atk" ,at-spi2-atk)
10185 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10186 ("gstreamer" ,gstreamer)
10187 ("gst-plugins-base" ,gst-plugins-base)
10188 ("gst-plugins-good" ,gst-plugins-good)
10189 ("gtk+" ,gtk+)
10190 ("python" ,python)
10191 ("python-pygobject" ,python-pygobject)
10192 ("python-pyatspi" ,python-pyatspi)
10193 ("python-speechd" ,speech-dispatcher)
10194 ("xkbcomp" ,xkbcomp)))
10195 (synopsis
10196 "Screen reader for individuals who are blind or visually impaired")
10197 (home-page "https://wiki.gnome.org/Projects/Orca")
10198 (description
10199 "Orca is a screen reader that provides access to the graphical desktop
10200 via speech and refreshable braille. Orca works with applications and toolkits
10201 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10202 (license license:lgpl2.1+)))
10203
10204 (define-public gspell
10205 (package
10206 (name "gspell")
10207 (version "1.8.2")
10208 (source (origin
10209 (method url-fetch)
10210 (uri (string-append "mirror://gnome/sources/" name "/"
10211 (version-major+minor version) "/"
10212 name "-" version ".tar.xz"))
10213 (sha256
10214 (base32
10215 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10216 (patches (search-patches "gspell-dash-test.patch"))))
10217 (build-system glib-or-gtk-build-system)
10218 (arguments
10219 '(#:configure-flags (list "--enable-vala")
10220 #:phases
10221 (modify-phases %standard-phases
10222 (add-before 'check 'pre-check
10223 (lambda* (#:key inputs #:allow-other-keys)
10224 ;; Tests require a running X server.
10225 (system "Xvfb :1 &")
10226 (setenv "DISPLAY" ":1")
10227
10228 ;; For the missing /etc/machine-id.
10229 (setenv "DBUS_FATAL_WARNINGS" "0")
10230
10231 ;; Allow Enchant and its Aspell backend to find the en_US
10232 ;; dictionary.
10233 (setenv "ASPELL_DICT_DIR"
10234 (string-append (assoc-ref inputs "aspell-dict-en")
10235 "/lib/aspell"))
10236 #t)))))
10237 (inputs
10238 `(("gtk+" ,gtk+)
10239 ("glib" ,glib)
10240 ("iso-codes" ,iso-codes)))
10241 (native-inputs
10242 `(("glib" ,glib "bin")
10243 ("gobject-introspection" ,gobject-introspection)
10244 ("pkg-config" ,pkg-config)
10245 ("vala" ,vala) ;for VAPI, needed by Geary
10246 ("xmllint" ,libxml2)
10247
10248 ;; For tests.
10249 ("aspell-dict-en" ,aspell-dict-en)
10250 ("xorg-server" ,xorg-server-for-tests)))
10251 (propagated-inputs
10252 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10253 (home-page "https://wiki.gnome.org/Projects/gspell")
10254 (synopsis "GNOME's alternative spell checker")
10255 (description
10256 "gspell provides a flexible API to add spell-checking to a GTK+
10257 application. It provides a GObject API, spell-checking to text entries and
10258 text views, and buttons to choose the language.")
10259 (license license:gpl2+)))
10260
10261 (define-public gnome-planner
10262 (package
10263 (name "gnome-planner")
10264 (version "0.14.6")
10265 (source (origin
10266 (method url-fetch)
10267 (uri (string-append "mirror://gnome/sources/planner/"
10268 (version-major+minor version) "/planner-"
10269 version ".tar.xz"))
10270 (sha256
10271 (base32
10272 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10273 (build-system glib-or-gtk-build-system)
10274 (arguments
10275 ;; Disable the Python bindings because the Planner program functions
10276 ;; without them, and (as of 2017-06-13) we have not packaged all of
10277 ;; packages that are necessary for building the Python bindings.
10278 `(#:configure-flags
10279 (list "--disable-python"
10280 ,@(if (string=? "aarch64-linux" (%current-system))
10281 '("--build=aarch64-unknown-linux-gnu")
10282 '()))))
10283 (inputs
10284 `(("libgnomecanvas" ,libgnomecanvas)
10285 ("libgnomeui" ,libgnomeui)
10286 ("libglade" ,libglade)
10287 ("gnome-vfs" ,gnome-vfs)
10288 ("gconf" ,gconf)
10289 ("libxml2" ,libxml2)
10290 ("libxslt" ,libxslt)
10291 ("gtk+" ,gtk+)
10292 ("glib" ,glib)))
10293 (native-inputs
10294 `(("intltool" ,intltool)
10295 ("scrollkeeper" ,scrollkeeper)
10296 ("pkg-config" ,pkg-config)))
10297 (home-page "https://wiki.gnome.org/Apps/Planner")
10298 (synopsis "Project management software for the GNOME desktop")
10299 (description
10300 "GNOME Planner is a project management tool based on the Work Breakdown
10301 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10302 the resources, tasks, and constraints that you define, Planner generates
10303 various views into a project. For example, Planner can show a Gantt chart of
10304 the project. It can show a detailed summary of tasks including their
10305 duration, cost, and current progress. It can also show a report of resource
10306 utilization that highlights under-utilized and over-utilized resources. These
10307 views can be printed as PDF or PostScript files, or exported to HTML.")
10308 (license license:gpl2+)))
10309
10310 (define-public lollypop
10311 (package
10312 (name "lollypop")
10313 (version "1.4.6")
10314 (source
10315 (origin
10316 (method url-fetch)
10317 (uri (string-append "https://adishatz.org/lollypop/"
10318 "lollypop-" version ".tar.xz"))
10319 (sha256
10320 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10321 (build-system meson-build-system)
10322 (arguments
10323 `(#:imported-modules
10324 (,@%meson-build-system-modules
10325 (guix build python-build-system))
10326 #:modules
10327 ((guix build meson-build-system)
10328 ((guix build python-build-system) #:prefix python:)
10329 (guix build utils))
10330 #:glib-or-gtk? #t
10331 #:tests? #f ; no test suite
10332 #:phases
10333 (modify-phases %standard-phases
10334 (add-after 'install 'wrap-program
10335 (lambda* (#:key outputs #:allow-other-keys)
10336 (let ((out (assoc-ref outputs "out"))
10337 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10338 (wrap-program (string-append out "/bin/lollypop")
10339 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10340 #t))
10341 (add-after 'install 'wrap-python
10342 (assoc-ref python:%standard-phases 'wrap)))))
10343 (native-inputs
10344 `(("intltool" ,intltool)
10345 ("itstool" ,itstool)
10346 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10347 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10348 ("pkg-config" ,pkg-config)))
10349 (inputs
10350 `(("glib-networking" ,glib-networking)
10351 ("gobject-introspection" ,gobject-introspection)
10352 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10353 ("gst-plugins-base" ,gst-plugins-base)
10354 ("libnotify" ,libnotify)
10355 ("libsecret" ,libsecret)
10356 ("libhandy" ,libhandy)
10357 ("libsoup" ,libsoup)
10358 ("python" ,python)
10359 ("python-beautifulsoup4" ,python-beautifulsoup4)
10360 ("python-gst" ,python-gst)
10361 ("python-pil" ,python-pillow)
10362 ("python-pycairo" ,python-pycairo)
10363 ("python-pygobject" ,python-pygobject)
10364 ("python-pylast" ,python-pylast)
10365 ("totem-pl-parser" ,totem-pl-parser)
10366 ("webkitgtk" ,webkitgtk)))
10367 (propagated-inputs
10368 `(;; gst-plugins-base is required to start Lollypop,
10369 ;; the others are required to play streaming.
10370 ("gst-plugins-good" ,gst-plugins-good)
10371 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10372 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10373 (synopsis "GNOME music playing application")
10374 (description
10375 "Lollypop is a music player designed to play well with GNOME desktop.
10376 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10377 from artists and tracks from the web. It also fetches cover artworks
10378 automatically and it can stream songs from online music services and charts.")
10379 (license license:gpl3+)))
10380
10381 (define-public gnome-video-effects
10382 (package
10383 (name "gnome-video-effects")
10384 (version "0.5.0")
10385 (source (origin
10386 (method url-fetch)
10387 (uri (string-append "mirror://gnome/sources/" name "/"
10388 (version-major+minor version) "/" name "-"
10389 version ".tar.xz"))
10390 (sha256
10391 (base32
10392 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10393 (build-system meson-build-system)
10394 (native-inputs
10395 `(("gettext" ,gettext-minimal)
10396 ("pkg-config" ,pkg-config)))
10397 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10398 (synopsis "Video effects for Cheese and other GNOME applications")
10399 (description
10400 "A collection of GStreamer video filters and effects to be used in
10401 photo-booth-like software, such as Cheese.")
10402 (license license:gpl2+)))
10403
10404 (define-public cheese
10405 (package
10406 (name "cheese")
10407 (version "3.38.0")
10408 (source (origin
10409 (method url-fetch)
10410 (uri (string-append "mirror://gnome/sources/" name "/"
10411 (version-major+minor version) "/" name "-"
10412 version ".tar.xz"))
10413 (sha256
10414 (base32
10415 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10416 (arguments
10417 `(#:glib-or-gtk? #t
10418 ;; Tests require GDK.
10419 #:tests? #f
10420 #:phases
10421 (modify-phases %standard-phases
10422 (add-after 'unpack 'skip-gtk-update-icon-cache
10423 (lambda _
10424 ;; Don't create 'icon-theme.cache'
10425 (substitute* "meson_post_install.py"
10426 (("gtk-update-icon-cache") (which "true")))
10427 #t))
10428 (add-after 'unpack 'patch-docbook-xml
10429 (lambda* (#:key inputs #:allow-other-keys)
10430 ;; Avoid a network connection attempt during the build.
10431 (substitute* '("docs/reference/cheese.xml"
10432 "docs/reference/cheese-docs.xml")
10433 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10434 (string-append (assoc-ref inputs "docbook-xml")
10435 "/xml/dtd/docbook/docbookx.dtd")))
10436 #t))
10437 (add-after 'install 'wrap-cheese
10438 (lambda* (#:key inputs outputs #:allow-other-keys)
10439 (let ((out (assoc-ref outputs "out"))
10440 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10441 (wrap-program (string-append out "/bin/cheese")
10442 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10443 #t)))))
10444 (build-system meson-build-system)
10445 (native-inputs
10446 `(("docbook-xsl" ,docbook-xsl)
10447 ("docbook-xml" ,docbook-xml-4.3)
10448 ("gettext" ,gettext-minimal)
10449 ("glib:bin" ,glib "bin")
10450 ("gtk-doc" ,gtk-doc)
10451 ("itstool" ,itstool)
10452 ("libxml2" ,libxml2)
10453 ("libxslt" ,libxslt)
10454 ("pkg-config" ,pkg-config)
10455 ("vala" ,vala)))
10456 (propagated-inputs
10457 `(("gnome-video-effects" ,gnome-video-effects)
10458 ("clutter" ,clutter)
10459 ("clutter-gst" ,clutter-gst)
10460 ("clutter-gtk" ,clutter-gtk)
10461 ("libcanberra" ,libcanberra)
10462 ("gdk-pixbuf" ,gdk-pixbuf)
10463 ("glib" ,glib)
10464 ("gstreamer" ,gstreamer)))
10465 (inputs
10466 `(("gnome-desktop" ,gnome-desktop)
10467 ("gobject-introspection" ,gobject-introspection)
10468 ("gst-plugins-base" ,gst-plugins-base)
10469 ("gst-plugins-bad" ,gst-plugins-bad)
10470 ("gtk+" ,gtk+)
10471 ("libx11" ,libx11)
10472 ("libxtst" ,libxtst)))
10473 (home-page "https://wiki.gnome.org/Apps/Cheese")
10474 (synopsis "Webcam photo booth software for GNOME")
10475 (description
10476 "Cheese uses your webcam to take photos and videos. Cheese can also
10477 apply fancy special effects and lets you share the fun with others.")
10478 (license license:gpl2+)))
10479
10480 (define-public passwordsafe
10481 (package
10482 (name "passwordsafe")
10483 (version "3.99.2")
10484 (source
10485 (origin
10486 (method git-fetch)
10487 (uri (git-reference
10488 (url "https://gitlab.gnome.org/World/PasswordSafe")
10489 (commit version)))
10490 (file-name (git-file-name name version))
10491 (sha256
10492 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10493 (build-system meson-build-system)
10494 (arguments
10495 `(#:glib-or-gtk? #t
10496 #:phases
10497 (modify-phases %standard-phases
10498 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10499 (lambda* (#:key outputs #:allow-other-keys)
10500 (let ((prog (string-append (assoc-ref outputs "out")
10501 "/bin/gnome-passwordsafe"))
10502 (pylib (string-append (assoc-ref outputs "out")
10503 "/lib/python"
10504 ,(version-major+minor
10505 (package-version python))
10506 "/site-packages")))
10507 (wrap-program prog
10508 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10509 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10510 #t))))))
10511 (native-inputs
10512 `(("desktop-file-utils" ,desktop-file-utils)
10513 ("gettext" ,gettext-minimal)
10514 ("glib:bin" ,glib "bin")
10515 ("gobject-introspection" ,gobject-introspection)
10516 ("gtk+:bin" ,gtk+ "bin")
10517 ("pkg-config" ,pkg-config)))
10518 (inputs
10519 `(("glib" ,glib)
10520 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10521 ("gtk+" ,gtk+)
10522 ("libhandy" ,libhandy-0.0)
10523 ("libpwquality" ,libpwquality)
10524 ("python-pygobject" ,python-pygobject)
10525 ("python-pykeepass" ,python-pykeepass)))
10526 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10527 (synopsis "Password manager for the GNOME desktop")
10528 (description
10529 "Password Safe is a password manager which makes use of the KeePass v4
10530 format. It integrates perfectly with the GNOME desktop and provides an easy
10531 and uncluttered interface for the management of password databases.")
10532 (license license:gpl3+)))
10533
10534 (define-public sound-juicer
10535 (package
10536 (name "sound-juicer")
10537 (version "3.24.0")
10538 (source
10539 (origin
10540 (method url-fetch)
10541 (uri (string-append "mirror://gnome/sources/" name "/"
10542 (version-major+minor version) "/"
10543 name "-" version ".tar.xz"))
10544 (sha256
10545 (base32
10546 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10547 (build-system glib-or-gtk-build-system)
10548 (native-inputs
10549 `(("desktop-file-utils" ,desktop-file-utils)
10550 ("intltool" ,intltool)
10551 ("itstool" ,itstool)
10552 ("pkg-config" ,pkg-config)
10553 ("xmllint" ,libxml2)))
10554 (inputs
10555 `(("gtk+" ,gtk+)
10556 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10557 ("gstreamer" ,gstreamer)
10558 ("gst-plugins-base" ,gst-plugins-base)
10559 ("gst-plugins-good" ,gst-plugins-good)
10560 ("iso-codes" ,iso-codes)
10561 ("libbrasero-media3" ,brasero)
10562 ("libcanberra" ,libcanberra)
10563 ("libdiscid" ,libdiscid)
10564 ("libmusicbrainz" ,libmusicbrainz)
10565 ("neon" ,neon)))
10566 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10567 (synopsis "Audio music cd ripper")
10568 (description "Sound Juicer extracts audio from compact discs and convert it
10569 into audio files that a personal computer or digital audio player can play.
10570 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10571 mp3, Ogg Vorbis and FLAC")
10572 (license license:gpl2+)))
10573
10574 (define-public soundconverter
10575 (package
10576 (name "soundconverter")
10577 (version "3.0.2")
10578 (source
10579 (origin
10580 (method url-fetch)
10581 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10582 version "/+download/"
10583 "soundconverter-" version ".tar.xz"))
10584
10585 (sha256
10586 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10587 (build-system glib-or-gtk-build-system)
10588 (arguments
10589 `(#:imported-modules ((guix build python-build-system)
10590 (guix build glib-or-gtk-build-system)
10591 ,@%gnu-build-system-modules)
10592
10593 #:modules ((guix build glib-or-gtk-build-system)
10594 (guix build utils)
10595 ((guix build gnu-build-system) #:prefix gnu:)
10596 ((guix build python-build-system) #:prefix python:))
10597
10598 #:phases
10599 (modify-phases %standard-phases
10600 (add-after 'install 'wrap-soundconverter-for-python
10601 (assoc-ref python:%standard-phases 'wrap))
10602 (add-after 'install 'wrap-soundconverter
10603 (lambda* (#:key inputs outputs #:allow-other-keys)
10604 (let ((out (assoc-ref outputs "out"))
10605 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10606 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10607 (wrap-program (string-append out "/bin/soundconverter")
10608 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10609 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10610 #t)))))
10611 (native-inputs
10612 `(("intltool" ,intltool)
10613 ("pkg-config" ,pkg-config)
10614 ("glib:bin" ,glib "bin")))
10615 (inputs
10616 `(("gtk+" ,gtk+)
10617 ("python" ,python)
10618 ("python-pygobject" ,python-pygobject)
10619 ("gstreamer" ,gstreamer)
10620 ("gst-plugins-base" ,gst-plugins-base)))
10621 (home-page "https://soundconverter.org/")
10622 (synopsis "Convert between audio formats with a graphical interface")
10623 (description
10624 "SoundConverter supports converting between many audio formats including
10625 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10626 configurable file renaming. ")
10627 (license license:gpl3)))
10628
10629 (define-public workrave
10630 (package
10631 (name "workrave")
10632 (version "1.10.42")
10633 (source
10634 (origin
10635 (method git-fetch)
10636 (uri (git-reference
10637 (url "https://github.com/rcaelers/workrave")
10638 (commit (string-append "v" (string-map
10639 (match-lambda (#\. #\_) (chr chr))
10640 version)))))
10641 (file-name (git-file-name name version))
10642 (sha256
10643 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10644 (build-system glib-or-gtk-build-system)
10645 (arguments
10646 ;; The only tests are maintainer tests (in po/), which fail.
10647 `(#:tests? #f))
10648 (inputs `(("glib" ,glib)
10649 ("gtk+" ,gtk+)
10650 ("gdk-pixbuf" ,gdk-pixbuf)
10651 ("gtkmm" ,gtkmm)
10652 ("glibmm" ,glibmm)
10653 ("libx11" ,libx11)
10654 ("libxtst" ,libxtst)
10655 ("dconf" ,dconf)
10656 ("libice" ,libice)
10657 ("libsm" ,libsm)
10658 ("libxscrnsaver" ,libxscrnsaver)))
10659 (native-inputs `(("boost" ,boost)
10660 ("pkg-config" ,pkg-config)
10661 ("gettext" ,gettext-minimal)
10662 ("autoconf" ,autoconf)
10663 ("autoconf-archive" , autoconf-archive)
10664 ("automake" ,automake)
10665 ("libtool" ,libtool)
10666 ("intltool" ,intltool)
10667 ("gobject-introspection" ,gobject-introspection)
10668 ("python3" ,python-3)
10669 ("python-jinja2" ,python-jinja2)))
10670 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10671 (description
10672 "Workrave is a program that assists in the recovery and prevention of
10673 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10674 micro-pauses and rest breaks, and restricts you to your daily limit.")
10675 (home-page "http://www.workrave.org")
10676 (license license:gpl3+)))
10677
10678 (define-public ghex
10679 (package
10680 (name "ghex")
10681 (version "3.18.4")
10682 (source (origin
10683 (method url-fetch)
10684 (uri (string-append "mirror://gnome/sources/ghex/"
10685 (version-major+minor version) "/"
10686 "ghex-" version ".tar.xz"))
10687 (sha256
10688 (base32
10689 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10690 (build-system meson-build-system)
10691 (arguments
10692 '(#:glib-or-gtk? #t
10693 #:phases
10694 (modify-phases %standard-phases
10695 (add-after 'unpack 'skip-gtk-update-icon-cache
10696 ;; Don't create 'icon-theme.cache'.
10697 (lambda _
10698 (substitute* "meson_post_install.py"
10699 (("gtk-update-icon-cache") (which "true")))
10700 #t)))))
10701 (native-inputs
10702 `(("pkg-config" ,pkg-config)
10703 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10704 ("gnome-common" ,gnome-common)
10705 ("which" ,which)
10706 ("intltool" ,intltool)
10707 ("yelp-tools" ,yelp-tools)
10708 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10709 (inputs
10710 `(("atk" ,atk)
10711 ("gtk" ,gtk+)))
10712 (synopsis "GNOME hexadecimal editor")
10713 (description "The GHex program can view and edit files in two ways:
10714 hexadecimal or ASCII. It is useful for editing binary files in general.")
10715 (home-page "https://wiki.gnome.org/Apps/Ghex")
10716 (license license:gpl2)))
10717
10718 (define-public libdazzle
10719 (package
10720 (name "libdazzle")
10721 (version "3.37.1")
10722 (source (origin
10723 (method url-fetch)
10724 (uri (string-append "mirror://gnome/sources/libdazzle/"
10725 (version-major+minor version) "/"
10726 "libdazzle-" version ".tar.xz"))
10727 (sha256
10728 (base32
10729 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10730 (build-system meson-build-system)
10731 (arguments
10732 `(#:phases
10733 (modify-phases %standard-phases
10734 (add-before 'check 'pre-check
10735 (lambda _
10736 ;; Tests require a running X server.
10737 (system "Xvfb :1 &")
10738 (setenv "DISPLAY" ":1")
10739 #t)))))
10740 (native-inputs
10741 `(("glib" ,glib "bin") ; glib-compile-resources
10742 ("pkg-config" ,pkg-config)
10743 ;; For tests.
10744 ("xorg-server" ,xorg-server-for-tests)))
10745 (inputs
10746 `(("glib" ,glib)
10747 ("gobject-introspection" ,gobject-introspection)
10748 ("gtk+" ,gtk+)
10749 ("vala" ,vala)))
10750 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10751 (synopsis "Companion library to GObject and Gtk+")
10752 (description "The libdazzle library is a companion library to GObject and
10753 Gtk+. It provides various features that the authors wish were in the
10754 underlying library but cannot for various reasons. In most cases, they are
10755 wildly out of scope for those libraries. In other cases, they are not quite
10756 generic enough to work for everyone.")
10757 (license license:gpl3+)))
10758
10759 (define-public evolution
10760 (package
10761 (name "evolution")
10762 (version "3.34.2")
10763 (source (origin
10764 (method url-fetch)
10765 (uri (string-append "mirror://gnome/sources/evolution/"
10766 (version-major+minor version) "/"
10767 "evolution-" version ".tar.xz"))
10768 (sha256
10769 (base32
10770 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10771 (build-system cmake-build-system)
10772 (arguments
10773 `(#:imported-modules (,@%cmake-build-system-modules
10774 (guix build glib-or-gtk-build-system))
10775 #:modules ((guix build cmake-build-system)
10776 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10777 (guix build utils))
10778 #:configure-flags
10779 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10780 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10781 ; in four years and cannot be built.
10782 #:phases
10783 (modify-phases %standard-phases
10784 ;; The build system attempts to install user interface modules to the
10785 ;; output directory of the "evolution-data-server" package. This
10786 ;; change redirects that change.
10787 (add-after 'unpack 'patch-ui-module-dir
10788 (lambda* (#:key outputs #:allow-other-keys)
10789 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10790 (("\\$\\{edsuimoduledir\\}")
10791 (string-append (assoc-ref outputs "out")
10792 "/lib/evolution-data-server/ui-modules")))
10793 #t))
10794 (add-after 'install 'glib-or-gtk-compile-schemas
10795 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10796 (add-after 'install 'glib-or-gtk-wrap
10797 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10798 (native-inputs
10799 `(("glib" ,glib "bin") ; glib-mkenums
10800 ("pkg-config" ,pkg-config)
10801 ("intltool" ,intltool)
10802 ("itstool" ,itstool)))
10803 (inputs
10804 `(("enchant" ,enchant)
10805 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10806 ("gcr" ,gcr)
10807 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10808 ("gnome-autoar" ,gnome-autoar)
10809 ("gnome-desktop" ,gnome-desktop)
10810 ("gspell" ,gspell)
10811 ("highlight" ,highlight)
10812 ("libcanberra" ,libcanberra)
10813 ("libgweather" ,libgweather)
10814 ("libnotify" ,libnotify)
10815 ("libsoup" ,libsoup)
10816 ("nss" ,nss)
10817 ("openldap" ,openldap)
10818 ("webkitgtk" ,webkitgtk)
10819 ("ytnef" ,ytnef)))
10820 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10821 (synopsis "Manage your email, contacts and schedule")
10822 (description "Evolution is a personal information management application
10823 that provides integrated mail, calendaring and address book
10824 functionality.")
10825 ;; See COPYING for details.
10826 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10827 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10828 license:lgpl2.1+)))) ; smime/lib/*
10829
10830 (define-public gthumb
10831 (package
10832 (name "gthumb")
10833 (version "3.8.2")
10834 (source (origin
10835 (method url-fetch)
10836 (uri (string-append "mirror://gnome/sources/gthumb/"
10837 (version-major+minor version) "/"
10838 "gthumb-" version ".tar.xz"))
10839 (sha256
10840 (base32
10841 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10842 (build-system meson-build-system)
10843 (arguments
10844 `(#:glib-or-gtk? #t
10845 #:configure-flags
10846 ;; Ensure the RUNPATH contains all installed library locations.
10847 (list (string-append "-Dc_link_args=-Wl,-rpath="
10848 (assoc-ref %outputs "out")
10849 "/lib/gthumb/extensions")
10850 (string-append "-Dcpp_link_args=-Wl,-rpath="
10851 (assoc-ref %outputs "out")
10852 "/lib/gthumb/extensions"))))
10853 (native-inputs
10854 `(("pkg-config" ,pkg-config)
10855 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10856 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10857 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10858 ("intltool" ,intltool)
10859 ("itstool" ,itstool)))
10860 (inputs
10861 `(("exiv2" ,exiv2)
10862 ("gtk" ,gtk+)
10863 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10864 ("gstreamer" ,gstreamer)
10865 ("clutter" ,clutter)
10866 ("clutter-gst" ,clutter-gst)
10867 ("clutter-gtk" ,clutter-gtk)
10868 ("libjpeg" ,libjpeg-turbo)
10869 ("libtiff" ,libtiff)
10870 ("libraw" ,libraw)))
10871 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10872 (synopsis "GNOME image viewer and browser")
10873 (description "GThumb is an image viewer, browser, organizer, editor and
10874 advanced image management tool")
10875 (license license:gpl2+)))
10876
10877 (define-public terminator
10878 (package
10879 (name "terminator")
10880 (version "1.91")
10881 (source (origin
10882 (method url-fetch)
10883 (uri (string-append "https://launchpad.net/" name "/"
10884 "gtk3/" version "/" "+download/"
10885 name "-" version ".tar.gz"))
10886 (sha256
10887 (base32
10888 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
10889 (build-system python-build-system)
10890 (native-inputs
10891 `(("intltool" ,intltool)
10892 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10893 ("gettext" ,gettext-minimal)
10894 ("pkg-config" ,pkg-config)))
10895 (inputs
10896 `(("cairo" ,cairo)
10897 ("gobject-introspection" ,gobject-introspection)
10898 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10899 ("python2-pycairo" ,python2-pycairo)
10900 ("python2-pygobject" ,python2-pygobject)
10901 ("python2-psutil" ,python2-psutil)
10902 ("vte" ,vte)))
10903 (arguments
10904 `(#:python ,python-2 ; Python 3 isn't supported
10905 #:imported-modules ((guix build glib-or-gtk-build-system)
10906 ,@%python-build-system-modules)
10907 #:modules ((guix build python-build-system)
10908 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10909 (guix build utils))
10910 #:phases
10911 (modify-phases %standard-phases
10912 (add-after
10913 'install 'wrap-program
10914 (lambda* (#:key outputs #:allow-other-keys)
10915 (let ((prog (string-append (assoc-ref outputs "out")
10916 "/bin/terminator")))
10917 (wrap-program prog
10918 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
10919 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10920 #t)))
10921 (add-after 'wrap-program 'glib-or-gtk-wrap
10922 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10923 (home-page "https://gnometerminator.blogspot.com/")
10924 (synopsis "Store and run multiple GNOME terminals in one window")
10925 (description
10926 "Terminator allows you to run multiple GNOME terminals in a grid and
10927 +tabs, and it supports drag and drop re-ordering of terminals.")
10928 (license license:gpl2)))
10929
10930 (define-public libhandy
10931 (package
10932 (name "libhandy")
10933 (version "1.0.2")
10934 (source
10935 (origin
10936 (method git-fetch)
10937 (uri (git-reference
10938 (url "https://gitlab.gnome.org/GNOME/libhandy")
10939 (commit version)))
10940 (file-name (git-file-name name version))
10941 (sha256
10942 (base32 "1bmmkahshvlvpsnb7zp8bddv7i1h5k4p967n6kxh71g1vnj8x20m"))))
10943 (build-system meson-build-system)
10944 (arguments
10945 `(#:configure-flags
10946 '("-Dglade_catalog=enabled"
10947 "-Dgtk_doc=true")
10948 #:phases
10949 (modify-phases %standard-phases
10950 (add-before 'check 'pre-check
10951 (lambda _
10952 ;; Tests require a running X server.
10953 (system "Xvfb :1 &")
10954 (setenv "DISPLAY" ":1")
10955 #t)))))
10956 (inputs
10957 `(("gtk+" ,gtk+)
10958 ("glade" ,glade3)
10959 ("libxml2" ,libxml2)))
10960 (native-inputs
10961 `(("glib:bin" ,glib "bin")
10962 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10963 ("vala" ,vala)
10964 ("gtk-doc" ,gtk-doc)
10965 ("pkg-config" ,pkg-config)
10966 ("gettext" ,gettext-minimal)
10967
10968 ;; Test suite dependencies.
10969 ("xorg-server" ,xorg-server-for-tests)
10970 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10971 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
10972 (synopsis "Library full of GTK+ widgets for mobile phones")
10973 (description "The aim of the handy library is to help with developing user
10974 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10975 for usage on small and big screens.")
10976 (license license:lgpl2.1+)))
10977
10978 (define-public libhandy-0.0
10979 (package
10980 (inherit libhandy)
10981 (version "0.0.13")
10982 (source
10983 (origin
10984 (method git-fetch)
10985 (uri (git-reference
10986 (url "https://gitlab.gnome.org/GNOME/libhandy")
10987 (commit (string-append "v" version))))
10988 (file-name (git-file-name "libhandy" version))
10989 (sha256
10990 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
10991 (arguments
10992 (substitute-keyword-arguments (package-arguments libhandy)
10993 ((#:configure-flags flags)
10994 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
10995
10996 (define-public libgit2-glib
10997 (package
10998 (name "libgit2-glib")
10999 (version "0.99.0.1")
11000 (source (origin
11001 (method url-fetch)
11002 (uri (string-append "mirror://gnome/sources/" name "/"
11003 (version-major+minor version) "/"
11004 name "-" version ".tar.xz"))
11005 (sha256
11006 (base32
11007 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11008 (build-system meson-build-system)
11009 (native-inputs
11010 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11011 ("gobject-introspection" ,gobject-introspection)
11012 ("pkg-config" ,pkg-config)
11013 ("python-pygobject" ,python-pygobject)
11014 ("python-wrapper" ,python-wrapper)
11015 ("vala" ,vala)))
11016 (inputs
11017 `(("glib" ,glib)
11018 ("libssh2" ,libssh2)))
11019 (propagated-inputs
11020 `(;; In Requires of libgit2-glib.pc.
11021 ("libgit2" ,libgit2)))
11022 (synopsis "GLib wrapper around the libgit2 Git access library")
11023 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11024 access library. It only implements the core plumbing functions, not really the
11025 higher level porcelain stuff.")
11026 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11027 (license license:gpl2+)))
11028
11029 (define-public gitg
11030 (package
11031 (name "gitg")
11032 (version "3.32.1")
11033 (source (origin
11034 (method url-fetch)
11035 (uri (string-append "mirror://gnome/sources/" name "/"
11036 (version-major+minor version) "/"
11037 name "-" version ".tar.xz"))
11038 (sha256
11039 (base32
11040 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11041 (build-system meson-build-system)
11042 (arguments
11043 `(#:glib-or-gtk? #t
11044 #:phases
11045 (modify-phases %standard-phases
11046 (add-after 'unpack 'disable-post-install-partially
11047 (lambda _
11048 (substitute* "meson_post_install.py"
11049 (("'python'") ; there are no python sources to compile
11050 (string-append "'" (which "true") "'"))
11051 (("gtk-update-icon-cache") (which "true")))
11052 #t))
11053 (add-after 'unpack 'fix-test-sources
11054 (lambda _
11055 (substitute* "tests/libgitg/test-commit.vala"
11056 (("/bin/bash") (which "bash")))
11057 #t))
11058 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11059 (lambda* (#:key outputs #:allow-other-keys)
11060 (let ((prog (string-append (assoc-ref outputs "out")
11061 "/bin/gitg")))
11062 (wrap-program prog
11063 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11064 #t))))))
11065 (inputs
11066 `(("glib" ,glib)
11067 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11068 ("gtk+" ,gtk+)
11069 ("gtkspell3" ,gtkspell3)
11070 ("gtksourceview" ,gtksourceview-3)
11071 ("json-glib" ,json-glib)
11072 ("libdazzle" ,libdazzle)
11073 ("libgee" ,libgee)
11074 ("libgit2-glib" ,libgit2-glib)
11075 ("libpeas" ,libpeas)
11076 ("libsecret" ,libsecret)
11077 ("libsoup" ,libsoup)
11078 ("libxml2" ,libxml2)))
11079 (native-inputs
11080 `(("glib:bin" ,glib "bin")
11081 ("gtk+:bin" ,gtk+ "bin")
11082 ("gobject-introspection" ,gobject-introspection)
11083 ("intltool" ,intltool)
11084 ("pkg-config" ,pkg-config)
11085 ("vala" ,vala)))
11086 (synopsis "Graphical user interface for git")
11087 (description
11088 "gitg is a graphical user interface for git. It aims at being a small,
11089 fast and convenient tool to visualize the history of git repositories.
11090 Besides visualization, gitg also provides several utilities to manage your
11091 repository and commit your work.")
11092 (home-page "https://wiki.gnome.org/Apps/Gitg")
11093 (license license:gpl2+)))
11094
11095 (define-public gamin
11096 (package
11097 (name "gamin")
11098 (version "0.1.10")
11099 (source (origin
11100 (method url-fetch)
11101 (uri (string-append "mirror://gnome/sources/" name "/"
11102 (version-major+minor version) "/"
11103 name "-" version ".tar.bz2"))
11104 (sha256
11105 (base32
11106 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11107 (build-system gnu-build-system)
11108 (arguments
11109 `(#:phases
11110 (modify-phases %standard-phases
11111 (add-after 'unpack 'remove-deprecated-macro
11112 (lambda _
11113 (substitute* '("server/gam_node.c"
11114 "server/gam_subscription.h"
11115 "server/gam_node.h"
11116 "server/gam_subscription.c")
11117 (("G_CONST_RETURN") "const"))
11118 #t)))))
11119 (inputs
11120 `(("glib" ,glib)))
11121 (native-inputs
11122 `(("intltool" ,intltool)
11123 ("pkg-config" ,pkg-config)))
11124 (home-page "https://people.gnome.org/~veillard/gamin/")
11125 (synopsis "File alteration monitor")
11126 (description
11127 "Gamin is a file and directory monitoring system defined to be a subset
11128 of the FAM (File Alteration Monitor) system. This is a service provided by a
11129 library which detects when a file or a directory has been modified.")
11130 (license license:gpl2+)))
11131
11132 (define-public gnome-mahjongg
11133 (package
11134 (name "gnome-mahjongg")
11135 (version "3.35.1")
11136 (source (origin
11137 (method git-fetch)
11138 (uri (git-reference
11139 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11140 (commit version)))
11141 (file-name (git-file-name name version))
11142 (sha256
11143 (base32
11144 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11145 (build-system meson-build-system)
11146 (arguments
11147 `(#:glib-or-gtk? #t))
11148 (native-inputs
11149 `(("appstream-glib" ,appstream-glib)
11150 ("gettext" ,gettext-minimal)
11151 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11152 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11153 ("itstool" ,itstool)
11154 ("pkg-config" ,pkg-config)
11155 ("vala" ,vala)))
11156 (propagated-inputs
11157 `(("dconf" ,dconf)))
11158 (inputs
11159 `(("glib" ,glib)
11160 ("gtk+" ,gtk+)
11161 ("librsvg" ,librsvg)))
11162 (synopsis "Mahjongg tile-matching game")
11163 (description "GNOME Mahjongg is a game based on the classic Chinese
11164 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11165 and a high score table.")
11166 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11167 (license license:gpl2+)))
11168
11169 (define-public gnome-themes-extra
11170 (package
11171 (name "gnome-themes-extra")
11172 (version "3.28")
11173 (source
11174 (origin
11175 (method url-fetch)
11176 (uri (string-append "mirror://gnome/sources/" name "/"
11177 (version-major+minor version) "/" name "-"
11178 version ".tar.xz"))
11179 (sha256
11180 (base32
11181 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11182 (build-system gnu-build-system)
11183 (arguments
11184 '(#:configure-flags
11185 ;; Don't create 'icon-theme.cache'.
11186 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11187 (true (string-append coreutils "/bin/true")))
11188 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11189 (native-inputs
11190 `(("glib:bin" ,glib "bin")
11191 ("intltool" ,intltool)
11192 ("pkg-config" ,pkg-config)))
11193 (inputs
11194 `(("glib" ,glib)
11195 ("gtk+" ,gtk+)
11196 ("gtk+-2" ,gtk+-2)
11197 ("librsvg" ,librsvg)
11198 ("libxml2" ,libxml2)))
11199 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11200 (synopsis "GNOME Extra Themes")
11201 (description "This package provides themes and related elements that don't
11202 really fit in other upstream packages. It offers legacy support for GTK+ 2
11203 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11204 index files needed for Adwaita to be used outside of GNOME.")
11205 (license license:lgpl2.1+)))
11206
11207 (define-public gnote
11208 (package
11209 (name "gnote")
11210 (version "3.38.0")
11211 (source
11212 (origin
11213 (method url-fetch)
11214 (uri (string-append "mirror://gnome/sources/" name "/"
11215 (version-major+minor version) "/"
11216 "gnote-" version ".tar.xz"))
11217 (sha256
11218 (base32 "1ingbaw4d8vpjn083xvzqw7kz8z0k2bx7msk78pbzd68bwgkadpx"))))
11219 (build-system glib-or-gtk-build-system)
11220 (native-inputs
11221 `(("desktop-file-utils" ,desktop-file-utils)
11222 ("glib:bin" ,glib "bin")
11223 ("gobject-introspection" ,gobject-introspection)
11224 ("intltool" ,intltool)
11225 ("itstool" ,itstool)
11226 ("pkg-config" ,pkg-config)
11227 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11228 (inputs
11229 `(("glibmm" ,glibmm)
11230 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11231 ("gspell" ,gspell)
11232 ("gtk+" ,gtk+)
11233 ("gtkmm" ,gtkmm)
11234 ("libsecret" ,libsecret)
11235 ("libuuid" ,util-linux "lib")
11236 ("libxml2" ,libxml2)
11237 ("libxslt" ,libxslt)))
11238 (synopsis "Note-taking application for the GNOME desktop")
11239 (description
11240 "Gnote is a note-taking application written for the GNOME desktop
11241 environment.")
11242 (home-page "https://wiki.gnome.org/Apps/Gnote")
11243 (license license:gpl3+)))
11244
11245 (define-public polari
11246 (package
11247 (name "polari")
11248 (version "3.36.3")
11249 (source (origin
11250 (method url-fetch)
11251 (uri (string-append "mirror://gnome/sources/polari/"
11252 (version-major+minor version)
11253 "/polari-" version ".tar.xz"))
11254 (sha256
11255 (base32
11256 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11257 (build-system meson-build-system)
11258 (arguments
11259 `(#:glib-or-gtk? #t
11260 #:phases
11261 (modify-phases %standard-phases
11262 (add-after 'unpack 'skip-gtk-update-icon-cache
11263 (lambda _
11264 (substitute* "meson/meson-postinstall.sh"
11265 (("gtk-update-icon-cache") (which "true")))
11266 #t))
11267 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11268 (lambda* (#:key outputs #:allow-other-keys)
11269 (let ((prog (string-append (assoc-ref outputs "out")
11270 "/bin/polari")))
11271 (wrap-program prog
11272 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11273 #t))))))
11274 (inputs
11275 `(("glib" ,glib)
11276 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11277 ("gspell" ,gspell)
11278 ("gtk+" ,gtk+)
11279 ("gjs" ,gjs)
11280 ("libsecret" ,libsecret)
11281 ("libsoup" ,libsoup)
11282 ("telepathy-glib" ,telepathy-glib)
11283 ("telepathy-logger" ,telepathy-logger)))
11284 (native-inputs
11285 `(("glib:bin" ,glib "bin")
11286 ("gobject-introspection" ,gobject-introspection)
11287 ("intltool" ,intltool)
11288 ("pkg-config" ,pkg-config)
11289 ("yelp-tools" ,yelp-tools)))
11290 (propagated-inputs
11291 `(("telepathy-idle" ,telepathy-idle)
11292 ("telepathy-mission-control" ,telepathy-mission-control)))
11293 (synopsis "Simple IRC Client")
11294 (description
11295 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11296 integrate seamlessly with the GNOME desktop.")
11297 (home-page "https://wiki.gnome.org/Apps/Polari")
11298 (license license:gpl2+)))
11299
11300 (define-public gnome-boxes
11301 (package
11302 (name "gnome-boxes")
11303 (version "3.36.6")
11304 (source
11305 (origin
11306 (method url-fetch)
11307 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11308 (version-major+minor version) "/"
11309 "gnome-boxes-" version ".tar.xz"))
11310 (sha256
11311 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11312 (build-system meson-build-system)
11313 (arguments
11314 '(#:glib-or-gtk? #t
11315 #:configure-flags (list "-Drdp=false"
11316 (string-append "-Dc_link_args=-Wl,-rpath="
11317 (assoc-ref %outputs "out")
11318 "/lib/gnome-boxes"))))
11319 (native-inputs
11320 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11321 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11322 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11323 ("itstool" ,itstool)
11324 ("intltool" ,intltool)
11325 ("vala" ,vala)
11326 ("pkg-config" ,pkg-config)))
11327 (inputs
11328 `(("libarchive" ,libarchive)
11329 ("glib-networking" ,glib-networking) ;for TLS support
11330 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11331 ("gtk" ,gtk+)
11332 ("gtk-vnc" ,gtk-vnc)
11333 ("libosinfo" ,libosinfo)
11334 ("libsecret" ,libsecret)
11335 ("libsoup" ,libsoup)
11336 ("libusb" ,libusb)
11337 ("libvirt" ,libvirt)
11338 ("libvirt-glib" ,libvirt-glib)
11339 ("libxml" ,libxml2)
11340 ("spice-gtk" ,spice-gtk)
11341 ("sparql-query" ,sparql-query)
11342 ("vte" ,vte)
11343 ("webkitgtk" ,webkitgtk)
11344 ("tracker" ,tracker)
11345 ("libgudev" ,libgudev)))
11346 (home-page "https://wiki.gnome.org/Apps/Boxes")
11347 (synopsis "View, access, and manage remote and virtual systems")
11348 (description "GNOME Boxes is a simple application to view, access, and
11349 manage remote and virtual systems. Note that this application requires the
11350 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11351 @command{info '(guix) Virtualization Services'} to learn how to configure
11352 these services on the Guix System.")
11353 (license (list
11354 ;; For data/icons/empty-boxes.png.
11355 license:cc-by2.0
11356 ;; For all others.
11357 license:lgpl2.0+))))
11358
11359 (define-public geary
11360 (package
11361 (name "geary")
11362 (version "3.34.1")
11363 (source (origin
11364 (method git-fetch)
11365 (uri (git-reference
11366 (url "https://gitlab.gnome.org/GNOME/geary")
11367 (commit version)))
11368 (file-name (git-file-name name version))
11369 (sha256
11370 (base32
11371 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
11372 (build-system meson-build-system)
11373 (arguments
11374 `(#:glib-or-gtk? #t
11375 #:phases (modify-phases %standard-phases
11376 (add-after 'unpack 'disable-failing-tests
11377 (lambda _
11378 (substitute* "test/meson.build"
11379 (("test\\('client-tests', geary_test_client_bin\\)")
11380 ""))
11381 #t))
11382 (add-after 'unpack 'disable-postinstall-script
11383 (lambda _
11384 (substitute* "meson.build"
11385 (("meson.add_install_script\\(\
11386 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11387 ""))
11388 #t))
11389 (add-before 'check 'setup-xvfb
11390 (lambda _
11391 (system "Xvfb :1 &")
11392 (setenv "DISPLAY" ":1")
11393 #t)))))
11394 (inputs
11395 `(("enchant" ,enchant)
11396 ("folks" ,folks)
11397 ("gcr" ,gcr)
11398 ("glib" ,glib)
11399 ("gmime" ,gmime-2.6)
11400 ("gnome-online-accounts:lib"
11401 ,gnome-online-accounts "lib")
11402 ("gspell" ,gspell)
11403 ("gtk+" ,gtk+)
11404 ("iso-codes" ,iso-codes)
11405 ("json-glib" ,json-glib)
11406 ("libcanberra" ,libcanberra)
11407 ("libgee" ,libgee)
11408 ("libhandy" ,libhandy-0.0)
11409 ("libpeas" ,libpeas)
11410 ("libsecret" ,libsecret)
11411 ("libunwind" ,libunwind)
11412 ("sqlite" ,sqlite)
11413 ("webkitgtk" ,webkitgtk)
11414 ("ytnef" ,ytnef)))
11415 (native-inputs
11416 `(("appstream-glib" ,appstream-glib)
11417 ("cmake-minimal" ,cmake-minimal)
11418 ("desktop-file-utils" ,desktop-file-utils)
11419 ("gettext" ,gettext-minimal)
11420 ("glib:bin" ,glib "bin")
11421 ("gobject-introspection" ,gobject-introspection)
11422 ("itstool" ,itstool)
11423 ("libarchive" ,libarchive)
11424 ("libxml2" ,libxml2)
11425 ("pkg-config" ,pkg-config)
11426 ("vala" ,vala)
11427 ("xvfb" ,xorg-server-for-tests)))
11428 (synopsis "GNOME email application built around conversations")
11429 (description
11430 "Geary collects related messages together into conversations,
11431 making it easy to find and follow your discussions. Full-text and keyword
11432 search makes it easy to find the email you are looking for. Geary's
11433 full-featured composer lets you send rich, styled text with images, links, and
11434 lists, but also send lightweight, easy to read text messages. Geary
11435 automatically picks up your existing GNOME Online Accounts, and adding more is
11436 easy. Geary has a clean, fast, modern interface that works like you want it
11437 to.")
11438 (home-page "https://wiki.gnome.org/Apps/Geary")
11439 (license (list
11440 ;; geary
11441 license:lgpl2.1+
11442 ;; icons
11443 license:cc-by3.0
11444 license:cc-by-sa3.0
11445 license:public-domain
11446 ;; snowball
11447 license:bsd-2))))
11448
11449 (define-public glabels
11450 (package
11451 (name "glabels")
11452 (version "3.4.1")
11453 (source
11454 (origin
11455 (method url-fetch)
11456 (uri (string-append "mirror://gnome/sources/" name "/"
11457 (version-major+minor version) "/"
11458 "glabels-" version ".tar.xz"))
11459 (sha256
11460 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11461 (build-system glib-or-gtk-build-system)
11462 (native-inputs
11463 `(("gettext" ,gettext-minimal)
11464 ("glib:bin" ,glib "bin")
11465 ("intltool" ,intltool)
11466 ("itstool" ,itstool)
11467 ("pkg-config" ,pkg-config)))
11468 (inputs
11469 `(("gtk+" ,gtk+)
11470 ("librsvg" ,librsvg)
11471 ("libxml2" ,libxml2)))
11472 (home-page "https://glabels.org/")
11473 (synopsis "Program for creating labels and business cards")
11474 (description
11475 "gLabels is a program for creating labels and business cards. It is
11476 designed to work with various laser/ink-jet peel-off label and business
11477 card sheets that you’ll find at most office supply stores.")
11478 (license license:gpl3+)))
11479
11480 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11481 (define-public gnome-latex
11482 (package
11483 (name "gnome-latex")
11484 (version "3.36.0")
11485 (source
11486 (origin
11487 (method url-fetch)
11488 (uri (string-append "mirror://gnome/sources/" name "/"
11489 (version-major+minor version) "/"
11490 "gnome-latex-" version ".tar.xz"))
11491 (sha256
11492 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11493 (build-system glib-or-gtk-build-system)
11494 (native-inputs
11495 `(("gettext" ,gettext-minimal)
11496 ("glib:bin" ,glib "bin")
11497 ("gobject-introspection" ,gobject-introspection)
11498 ("gtk-doc" ,gtk-doc)
11499 ("intltool" ,intltool)
11500 ("itstool" ,itstool)
11501 ("pkg-config" ,pkg-config)
11502 ("vala" ,vala)))
11503 (inputs
11504 `(("amtk" ,amtk)
11505 ("dconf" ,dconf)
11506 ("glib" ,glib)
11507 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11508 ("gspell" ,gspell)
11509 ("gtk+" ,gtk+)
11510 ("gtksourceview" ,gtksourceview)
11511 ("libgee" ,libgee)
11512 ("tepl" ,tepl)
11513 ("uchardet" ,uchardet)))
11514 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11515 (synopsis "LaTeX editor for the GNOME desktop")
11516 (description
11517 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11518 such as build tools, completion of LaTeX commands, structure navigation,
11519 symbol tables, document templates, project management, spell-checking, menus
11520 and toolbars.")
11521 (license license:gpl3+)))
11522
11523 (define-public setzer
11524 (package
11525 (name "setzer")
11526 (version "0.3.8")
11527 (source
11528 (origin
11529 (method git-fetch)
11530 (uri (git-reference
11531 (url "https://github.com/cvfosammmm/Setzer")
11532 (commit (string-append "v" version))))
11533 (file-name (git-file-name name version))
11534 (sha256
11535 (base32 "1f5qmkz4hzn54sh56z3hw8zrvg93xlz62ggzlzyg7vgsr83kpns9"))))
11536 (build-system meson-build-system)
11537 (arguments
11538 `(#:glib-or-gtk? #t
11539 #:phases
11540 (modify-phases %standard-phases
11541 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11542 (lambda* (#:key outputs #:allow-other-keys)
11543 (let ((prog (string-append (assoc-ref outputs "out")
11544 "/bin/setzer"))
11545 (pylib (string-append (assoc-ref outputs "out")
11546 "/lib/python"
11547 ,(version-major+minor
11548 (package-version python))
11549 "/site-packages")))
11550 (wrap-program prog
11551 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11552 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11553 #t))))))
11554 (native-inputs
11555 `(("desktop-file-utils" ,desktop-file-utils)
11556 ("gettext" ,gettext-minimal)
11557 ("glib:bin" ,glib "bin")
11558 ("gobject-introspection" ,gobject-introspection)
11559 ("gtk+:bin" ,gtk+ "bin")))
11560 (inputs
11561 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11562 ("gspell" ,gspell)
11563 ("gtk+" ,gtk+)
11564 ("gtksourceview" ,gtksourceview)
11565 ("pango" ,pango)
11566 ("poppler" ,poppler)
11567 ("python-pycairo" ,python-pycairo)
11568 ("python-pygobject" ,python-pygobject)
11569 ("python-pyxdg" ,python-pyxdg)
11570 ("webkitgtk" ,webkitgtk)
11571 ("xdg-utils" ,xdg-utils)))
11572 (home-page "https://www.cvfosammmm.org/setzer/")
11573 (synopsis "LaTeX editor written in Python with GTK+")
11574 (description
11575 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11576 GTK+. It integrates well with the GNOME desktop environment.")
11577 (license license:gpl3+)))
11578
11579 (define-public libratbag
11580 (package
11581 (name "libratbag")
11582 (version "0.14")
11583 (source
11584 (origin
11585 (method git-fetch)
11586 (uri (git-reference
11587 (url "https://github.com/libratbag/libratbag")
11588 (commit (string-append "v" version))))
11589 (file-name (git-file-name name version))
11590 (sha256
11591 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11592 (build-system meson-build-system)
11593 (arguments
11594 `(#:configure-flags
11595 (list "-Dsystemd=false"
11596 "-Dlogind-provider=elogind")
11597 #:phases
11598 (modify-phases %standard-phases
11599 (add-after 'install 'wrap
11600 (lambda* (#:key inputs outputs #:allow-other-keys)
11601 (let* ((out (assoc-ref outputs "out"))
11602 (site (string-append
11603 "/lib/python"
11604 ,(version-major+minor (package-version python))
11605 "/site-packages"))
11606 (evdev (string-append
11607 (assoc-ref inputs "python-evdev") site))
11608 (pygo (string-append
11609 (assoc-ref inputs "python-pygobject") site))
11610 (python-wrap
11611 `("PYTHONPATH" = (,evdev ,pygo))))
11612 (wrap-program (string-append out "/bin/" "ratbagctl")
11613 python-wrap)
11614 #t))))))
11615 (native-inputs
11616 `(("check" ,check)
11617 ("pkg-config" ,pkg-config)
11618 ("swig" ,swig)
11619 ("valgrind" ,valgrind)))
11620 (inputs
11621 `(("glib" ,glib)
11622 ("json-glib" ,json-glib)
11623 ("libevdev" ,libevdev)
11624 ("libsystemd" ,elogind)
11625 ("libunistring" ,libunistring)
11626 ("python-evdev" ,python-evdev)
11627 ("python-pygobject" ,python-pygobject)
11628 ("udev" ,eudev)))
11629 (home-page "https://github.com/libratbag/libratbag")
11630 (synopsis "DBus daemon and utility for configuring gaming mice")
11631 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11632 configure input devices, mainly gaming mice. The daemon provides a generic
11633 way to access the various features exposed by these mice and abstracts away
11634 hardware-specific and kernel-specific quirks. There is also the
11635 @command{ratbagctl} command line interface for configuring devices.
11636
11637 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11638 Steelseries.
11639
11640 The ratbagd DBus service can be enabled by adding the following service to
11641 your operating-system definition:
11642
11643 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11644 (license license:expat)))
11645
11646 (define-public piper
11647 (package
11648 (name "piper")
11649 (version "0.5.1")
11650 (source
11651 (origin
11652 (method git-fetch)
11653 (uri (git-reference
11654 (url "https://github.com/libratbag/piper")
11655 (commit version)))
11656 (sha256
11657 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11658 (file-name (git-file-name name version))))
11659 (build-system meson-build-system)
11660 (native-inputs
11661 `(("gettext" ,gettext-minimal)
11662 ("glib:bin" ,glib "bin")
11663 ("gobject-introspection" ,gobject-introspection)
11664 ("pkg-config" ,pkg-config)
11665 ("python-flake8" ,python-flake8)))
11666 (inputs
11667 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11668 ("gtk" ,gtk+)
11669 ("gtk:bin" ,gtk+ "bin")
11670 ("librsvg" ,librsvg)
11671 ("python-evdev" ,python-evdev)
11672 ("python-lxml" ,python-lxml)
11673 ("python-pycairo" ,python-pycairo)
11674 ("python-pygobject" ,python-pygobject)))
11675 (arguments
11676 `(#:imported-modules ((guix build python-build-system)
11677 ,@%meson-build-system-modules)
11678 #:modules (((guix build python-build-system) #:prefix python:)
11679 (guix build meson-build-system)
11680 (guix build utils))
11681 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11682 #:phases
11683 (modify-phases %standard-phases
11684 (add-after 'unpack 'dont-update-gtk-icon-cache
11685 (lambda _
11686 (substitute* "meson.build"
11687 (("meson.add_install_script('meson_install.sh')") ""))
11688 #t))
11689 ;; TODO: Switch to wrap-script when it is fixed.
11690 (add-after 'install 'wrap-python
11691 (assoc-ref python:%standard-phases 'wrap))
11692 (add-after 'wrap-python 'wrap
11693 (lambda* (#:key outputs #:allow-other-keys)
11694 (wrap-program
11695 (string-append (assoc-ref outputs "out" )"/bin/piper")
11696 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11697 #t)))))
11698 (home-page "https://github.com/libratbag/piper/")
11699 (synopsis "Configure bindings and LEDs on gaming mice")
11700 (description "Piper is a GTK+ application for configuring gaming mice with
11701 onboard configuration for key bindings via libratbag. Piper requires
11702 a @command{ratbagd} daemon running with root privileges. It can be run
11703 manually as root, but is preferably configured as a DBus service that can
11704 launch on demand. This can be configured by enabling the following service,
11705 provided there is a DBus service present:
11706
11707 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11708 (license license:gpl2)))
11709
11710 (define-public parlatype
11711 (package
11712 (name "parlatype")
11713 (version "2.1")
11714 (source
11715 (origin
11716 (method git-fetch)
11717 (uri (git-reference
11718 (url "https://github.com/gkarsay/parlatype")
11719 (commit (string-append "v" version))))
11720 (file-name (git-file-name name version))
11721 (sha256
11722 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11723 (build-system meson-build-system)
11724 (arguments
11725 `(#:glib-or-gtk? #t
11726 #:tests? #f ;require internet access
11727 #:phases
11728 (modify-phases %standard-phases
11729 (add-after 'install 'wrap-parlatype
11730 ;; Add gstreamer plugin provided in this package to system's
11731 ;; plugins.
11732 (lambda* (#:key outputs #:allow-other-keys)
11733 (let* ((out (assoc-ref outputs "out"))
11734 (gst-plugin-path (string-append
11735 out "/lib/gstreamer-1.0/"
11736 ":"
11737 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11738 (wrap-program (string-append out "/bin/parlatype")
11739 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11740 #t)))))
11741 (native-inputs
11742 `(("appstream-glib" ,appstream-glib)
11743 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11744 ("gettext" ,gettext-minimal)
11745 ("glib" ,glib "bin") ;for glib-compile-resources
11746 ("pkg-config" ,pkg-config)
11747 ("yelp-tools" ,yelp-tools)))
11748 (inputs
11749 `(("gst-plugins-base" ,gst-plugins-base)
11750 ("gst-plugins-good" ,gst-plugins-good)
11751 ("gstreamer" ,gstreamer)
11752 ("gtk+" ,gtk+)
11753 ("pocketsphinx" ,pocketsphinx)
11754 ("pulseaudio" ,pulseaudio)
11755 ("sphinxbase" ,sphinxbase)))
11756 (home-page "http://gkarsay.github.io/parlatype/")
11757 (synopsis "GNOME audio player for transcription")
11758 (description "Parlatype is an audio player for the GNOME desktop
11759 environment. Its main purpose is the manual transcription of spoken
11760 audio files.")
11761 (license license:gpl3+)))
11762
11763 (define-public jsonrpc-glib
11764 (package
11765 (name "jsonrpc-glib")
11766 (version "3.34.0")
11767 (source (origin
11768 (method url-fetch)
11769 (uri (string-append "mirror://gnome/sources/" name "/"
11770 (version-major+minor version) "/"
11771 name "-" version ".tar.xz"))
11772 (sha256
11773 (base32
11774 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11775 (build-system meson-build-system)
11776 (inputs
11777 `(("json-glib" ,json-glib)
11778 ("glib" ,glib)))
11779 (native-inputs
11780 `(("pkg-config" ,pkg-config)
11781 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11782 ("gobject-introspection" ,gobject-introspection)
11783 ("vala" ,vala)))
11784 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11785 (synopsis "JSON-RPC library for GLib")
11786 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11787 peers in either a synchronous or asynchronous fashion. It also allows
11788 communicating using the GVariant serialization format instead of JSON when
11789 both peers support it. You might want that when communicating on a single
11790 host to avoid parser overhead and memory-allocator fragmentation.")
11791 (license license:lgpl2.1+)))
11792
11793 (define-public feedbackd
11794 (package
11795 (name "feedbackd")
11796 (version "0.0.0+git20200527")
11797 (source (origin
11798 (method git-fetch)
11799 (uri (git-reference
11800 (url "https://source.puri.sm/Librem5/feedbackd.git")
11801 (commit (string-append "v" version))))
11802 (file-name (git-file-name name version))
11803 (sha256
11804 (base32
11805 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11806 (build-system meson-build-system)
11807 (native-inputs
11808 `(("glib:bin" ,glib "bin")
11809 ("gobject-introspection" ,gobject-introspection)
11810 ("pkg-config" ,pkg-config)
11811 ("vala" ,vala)))
11812 (inputs
11813 `(("dbus" ,dbus)
11814 ("gsound" ,gsound)
11815 ("json-glib" ,json-glib)
11816 ("libgudev" ,libgudev)))
11817 (propagated-inputs
11818 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11819 (synopsis "Haptic/visual/audio feedback via DBus")
11820 (description "Feedbackd provides a DBus daemon to act on events to provide
11821 haptic, visual and audio feedback. It offers the libfeedbackd library and
11822 GObject introspection bindings.")
11823 (home-page "https://source.puri.sm/Librem5/feedbackd")
11824 (license (list license:lgpl2.1+ ; libfeedbackd
11825 license:lgpl3+)))) ; the rest
11826
11827 (define-public sysprof
11828 (package
11829 (name "sysprof")
11830 (version "3.36.0")
11831 (source
11832 (origin
11833 (method url-fetch)
11834 (uri (string-append "mirror://gnome/sources/sysprof/"
11835 (version-major+minor version) "/"
11836 "sysprof-" version ".tar.xz"))
11837 (sha256
11838 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11839 (build-system meson-build-system)
11840 (arguments
11841 `(#:configure-flags
11842 (list (string-append "-Dsystemdunitdir="
11843 %output
11844 "/share/systemd"))
11845 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11846 #:phases
11847 (modify-phases %standard-phases
11848 (add-after 'unpack 'patch-install-script
11849 (lambda _
11850 (substitute* "build-aux/meson/post_install.sh"
11851 (("gtk-update-icon-cache") "true")
11852 (("update-desktop-database") "true"))
11853 #t)))))
11854 (inputs
11855 `(("glib" ,glib)
11856 ("gtk+" ,gtk+)
11857 ("libdazzle" ,libdazzle)
11858 ("polkit" ,polkit)))
11859 (native-inputs
11860 `(("gettext" ,gettext-minimal)
11861 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11862 ("itstool" ,itstool)
11863 ("pkg-config" ,pkg-config)
11864 ("xmllint" ,libxml2)))
11865 ;; This home page is so woefully out of date as to be essentially useless.
11866 ;; (home-page "http://www.sysprof.com")
11867 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11868 (synopsis "System-wide performance profiler for GNU/Linux")
11869 (description
11870 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11871 GNU/Linux system including the kernel and all user-space applications. This
11872 helps find the function(s) in which a program spends most of its time.
11873
11874 It uses the kernel's built-in @code{ptrace} feature and handles shared
11875 libraries. Applications do not need to be recompiled--or even restarted.")
11876 (license license:gpl3+)))
11877
11878 (define-public gnome-builder
11879 (package
11880 (name "gnome-builder")
11881 (version "3.36.1")
11882 (source (origin
11883 (method url-fetch)
11884 (uri (string-append "mirror://gnome/sources/" name "/"
11885 (version-major+minor version) "/"
11886 name "-" version ".tar.xz"))
11887 (sha256
11888 (base32
11889 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11890 (build-system meson-build-system)
11891 (arguments
11892 `(#:configure-flags (list "-Dnetwork_tests=false"
11893 ;; TODO: Enable all plugins...
11894 "-Dplugin_clang=false"
11895 "-Dplugin_flatpak=false"
11896 "-Dplugin_glade=false"
11897 ;; XXX: This one has been shown not to work in
11898 ;; <https://issues.guix.gnu.org/45272>
11899 "-Dplugin_jedi=false"
11900 ;; ... except this one.
11901 "-Dplugin_update_manager=false")
11902 #:phases
11903 (modify-phases %standard-phases
11904 (add-after 'unpack 'patch-meson
11905 (lambda* (#:key inputs #:allow-other-keys)
11906 (substitute* "build-aux/meson/post_install.py"
11907 (("gtk-update-icon-cache") "true")
11908 (("update-desktop-database") "true"))
11909 (substitute* "src/libide/meson.build"
11910 (("/usr/lib")
11911 (string-append (assoc-ref inputs "python-pygobject")
11912 "/lib")))
11913 #t))
11914 (add-after 'configure 'fix-ninja
11915 (lambda _
11916 ;; #43296: meson(?) incorrectly assumes we want to link
11917 ;; this PIE against a static libselinux.
11918 (substitute* "build.ninja"
11919 (("libselinux\\.a") "libselinux.so"))
11920 #t))
11921 (add-before 'check 'pre-check
11922 (lambda _
11923 (system "Xvfb :1 &")
11924 (setenv "DISPLAY" ":1")
11925 #t)))))
11926 (inputs
11927 `(("devhelp" ,devhelp)
11928 ("gspell" ,gspell)
11929 ("gtk+" ,gtk+)
11930 ("json-glib" ,json-glib)
11931 ("jsonrpc-glib" ,jsonrpc-glib)
11932 ("libdazzle" ,libdazzle)
11933 ("libgit2-glib" ,libgit2-glib)
11934 ("libpeas" ,libpeas)
11935 ("python-pygobject" ,python-pygobject)
11936 ("sysprof" ,sysprof)
11937 ("template-glib" ,template-glib)
11938 ("vte" ,vte)
11939 ("webkitgtk" ,webkitgtk)))
11940 (propagated-inputs
11941 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11942 (native-inputs
11943 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11944 ("glib:bin" ,glib "bin")
11945 ("gettext" ,gettext-minimal)
11946 ("pkg-config" ,pkg-config)
11947 ("vala" ,vala)
11948 ("xorg-server" ,xorg-server-for-tests)))
11949 (home-page "https://wiki.gnome.org/Apps/Builder")
11950 (synopsis "Toolsmith for GNOME-based applications")
11951 (description "Builder aims to be an integrated development
11952 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11953 auto-completion, a mini code map, documentation browsing, Git integration, an
11954 integrated profiler via Sysprof, debugging support, and more.")
11955 (license license:gpl3+)))
11956
11957 (define-public komikku
11958 (package
11959 (name "komikku")
11960 (version "0.24.0")
11961 (source
11962 (origin
11963 (method git-fetch)
11964 (uri (git-reference
11965 (url "https://gitlab.com/valos/Komikku/")
11966 (commit (string-append "v" version))))
11967 (file-name (git-file-name name version))
11968 (sha256
11969 (base32
11970 "010p32zrim245y0l784yp0rasqcqlyr3lrxwl3r1876x83qhs6q3"))))
11971 (build-system meson-build-system)
11972 (arguments
11973 `(#:glib-or-gtk? #t
11974 #:phases
11975 (modify-phases %standard-phases
11976 (add-after 'unpack 'patch-sources
11977 (lambda _
11978 (substitute* "komikku/utils.py"
11979 (("from komikku\\.servers import get_servers_list")
11980 ;; code following that line should migrate old databases
11981 ;; but the line itself results in an import error
11982 "return data_dir_path"))))
11983 (add-after 'unpack 'skip-gtk-update-icon-cache
11984 (lambda _
11985 (substitute* "meson_post_install.py"
11986 (("gtk-update-icon-cache") (which "true")))
11987 #t))
11988 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11989 (lambda* (#:key outputs #:allow-other-keys)
11990 (let ((prog (string-append (assoc-ref outputs "out")
11991 "/bin/komikku")))
11992 (wrap-program prog
11993 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11994 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11995 #t))))))
11996 (inputs
11997 `(("gtk+" ,gtk+)
11998 ("libhandy" ,libhandy)
11999 ("libnotify" ,libnotify)
12000 ("libsecret" ,libsecret)
12001 ("python-beautifulsoup4" ,python-beautifulsoup4)
12002 ("python-dateparser" ,python-dateparser)
12003 ("python-keyring" ,python-keyring)
12004 ("python-lxml" ,python-lxml)
12005 ("python-magic" ,python-magic)
12006 ("python-pillow" ,python-pillow)
12007 ("python-pure-protobuf" ,python-pure-protobuf)
12008 ("python-pycairo" ,python-pycairo)
12009 ("python-pygobject" ,python-pygobject)
12010 ("python-requests" ,python-requests)
12011 ("python-unidecode" ,python-unidecode)))
12012 (native-inputs
12013 `(("desktop-file-utils" ,desktop-file-utils)
12014 ("gettext" ,gettext-minimal)
12015 ("glib:bin" ,glib "bin")
12016 ("gobject-introspection" ,gobject-introspection)
12017 ("pkg-config" ,pkg-config)))
12018 (home-page "https://gitlab.com/valos/Komikku")
12019 (synopsis "Manga reader for GNOME")
12020 (description "Komikku is an online/offline manga reader for GNOME,
12021 developed with the aim of being used with the Librem 5 phone.")
12022 (license license:gpl3+)))
12023
12024 (define-public libgda
12025 (package
12026 (name "libgda")
12027 (version "5.2.10")
12028 (source
12029 (origin
12030 (method git-fetch)
12031 (uri (git-reference
12032 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12033 (commit (string-append "LIBGDA_" (string-replace-substring
12034 version "." "_")))))
12035 (file-name (git-file-name name version))
12036 (sha256
12037 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12038 (build-system gnu-build-system)
12039 (arguments
12040 `(#:configure-flags '("--enable-vala")
12041 ;; There's a race between check_cnc_lock and check_threaded_cnc
12042 ;; in tests/multi-threading.
12043 #:parallel-tests? #f
12044 #:phases
12045 (modify-phases %standard-phases
12046 (add-after 'unpack 'fix-glade-install
12047 (lambda _
12048 (substitute* "configure.ac"
12049 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12050 "${datadir}/glade/catalogs")
12051 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12052 "${datadir}/glade/pixmaps"))
12053 #t))
12054 (add-before 'check 'pre-check
12055 (lambda* (#:key inputs #:allow-other-keys)
12056 ;; Tests require a running X server.
12057 (system "Xvfb :1 &")
12058 (setenv "DISPLAY" ":1")
12059 #t))
12060 (add-after 'install 'symlink-glade-module
12061 (lambda* (#:key outputs #:allow-other-keys)
12062 (let* ((shlib "libgda-ui-5.0.so")
12063 (out (assoc-ref outputs "out"))
12064 (out/lib (string-append out "/lib"))
12065 (moduledir (string-append out/lib "/glade/modules")))
12066 (mkdir-p moduledir)
12067 (symlink (string-append out/lib "/" shlib)
12068 (string-append moduledir "/" shlib))
12069 #t))))))
12070 (propagated-inputs
12071 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12072 (inputs
12073 `(("glib" ,glib)
12074 ("glade" ,glade3)
12075 ("gtk+" ,gtk+)
12076 ("libsecret" ,libsecret)
12077 ("libxslt" ,libxslt)
12078 ("openssl" ,openssl)
12079 ("vala" ,vala)))
12080 (native-inputs
12081 `(("autoconf" ,autoconf)
12082 ("autoconf-archive" ,autoconf-archive)
12083 ("automake" ,automake)
12084 ("glib:bin" ,glib "bin")
12085 ("gnome-common" ,gnome-common)
12086 ("gobject-introspection" ,gobject-introspection)
12087 ("gtk-doc" ,gtk-doc)
12088 ("intltool" ,intltool)
12089 ("libtool" ,libtool)
12090 ("pkg-config" ,pkg-config)
12091 ("vala" ,vala)
12092 ("which" ,which)
12093 ("xorg-server" ,xorg-server-for-tests)
12094 ("yelp-tools" ,yelp-tools)))
12095 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12096 (synopsis "Uniform data access")
12097 (description
12098 "GNU Data Access (GDA) is an attempt to provide uniform access to
12099 different kinds of data sources (databases, information servers, mail spools,
12100 etc). It is a complete architecture that provides all you need to access
12101 your data.")
12102 (license license:lgpl2.1+)))
12103
12104 (define-public gtranslator
12105 (package
12106 (name "gtranslator")
12107 (version "3.36.0")
12108 (source (origin
12109 (method url-fetch)
12110 (uri (string-append "mirror://gnome/sources/" name "/"
12111 (version-major+minor version) "/"
12112 name "-" version ".tar.xz"))
12113 (sha256
12114 (base32
12115 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12116 (build-system meson-build-system)
12117 (inputs
12118 `(("json-glib" ,json-glib)
12119 ("jsonrpc-glib" ,jsonrpc-glib)
12120 ("gettext" ,gettext-minimal)
12121 ("glib" ,glib)
12122 ("gtk+" ,gtk+)
12123 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12124 ("gspell" ,gspell)
12125 ("libdazzle" ,libdazzle)
12126 ("libgda" ,libgda)
12127 ("libsoup" ,libsoup)))
12128 (native-inputs
12129 `(("glib:bin" ,glib "bin")
12130 ("itstool" ,itstool)
12131 ("pkg-config" ,pkg-config)))
12132 (propagated-inputs
12133 `(("gtksourceview" ,gtksourceview))) ; required for source view
12134 (arguments
12135 `(#:build-type "release"
12136 #:glib-or-gtk? #t
12137 #:phases
12138 (modify-phases %standard-phases
12139 (add-after 'unpack 'skip-gtk-update-icon-cache
12140 (lambda _
12141 (substitute* "build-aux/meson/meson_post_install.py"
12142 (("gtk-update-icon-cache") (which "true")))
12143 #t)))))
12144 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12145 (synopsis "Translation making program")
12146 (description
12147 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12148 for the GNOME 3.x platform with many features. It aims to be a very complete
12149 editing environment for translation issues within the GNU gettext/GNOME desktop
12150 world.")
12151 (license license:gpl3+)))