gnu: evolution: Fix CVE-2020-11879.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020, 2021 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;; Copyright © 2020, 2021 Andy Tai <atai@atai.org>
60 ;;; Copyright © 2020, 2021 Sébastien Lerique <sl@eauchat.org>
61 ;;;
62 ;;; This file is part of GNU Guix.
63 ;;;
64 ;;; GNU Guix is free software; you can redistribute it and/or modify it
65 ;;; under the terms of the GNU General Public License as published by
66 ;;; the Free Software Foundation; either version 3 of the License, or (at
67 ;;; your option) any later version.
68 ;;;
69 ;;; GNU Guix is distributed in the hope that it will be useful, but
70 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
71 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
72 ;;; GNU General Public License for more details.
73 ;;;
74 ;;; You should have received a copy of the GNU General Public License
75 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
76
77 (define-module (gnu packages gnome)
78 #:use-module (gnu packages)
79 #:use-module (gnu packages admin)
80 #:use-module (gnu packages aidc)
81 #:use-module (gnu packages aspell)
82 #:use-module (gnu packages autotools)
83 #:use-module (gnu packages avahi)
84 #:use-module (gnu packages backup)
85 #:use-module (gnu packages base)
86 #:use-module (gnu packages bash)
87 #:use-module (gnu packages bison)
88 #:use-module (gnu packages boost)
89 #:use-module (gnu packages build-tools)
90 #:use-module (gnu packages calendar)
91 #:use-module (gnu packages cdrom)
92 #:use-module (gnu packages check)
93 #:use-module (gnu packages cmake)
94 #:use-module (gnu packages compression)
95 #:use-module (gnu packages crates-io)
96 #:use-module (gnu packages crates-graphics)
97 #:use-module (gnu packages crates-gtk)
98 #:use-module (gnu packages cups)
99 #:use-module (gnu packages curl)
100 #:use-module (gnu packages cyrus-sasl)
101 #:use-module (gnu packages databases)
102 #:use-module (gnu packages dbm)
103 #:use-module (gnu packages djvu)
104 #:use-module (gnu packages dns)
105 #:use-module (gnu packages docbook)
106 #:use-module (gnu packages documentation)
107 #:use-module (gnu packages enchant)
108 #:use-module (gnu packages flex)
109 #:use-module (gnu packages fonts)
110 #:use-module (gnu packages file-systems)
111 #:use-module (gnu packages fontutils)
112 #:use-module (gnu packages freedesktop)
113 #:use-module (gnu packages game-development)
114 #:use-module (gnu packages gcc)
115 #:use-module (gnu packages gettext)
116 #:use-module (gnu packages ghostscript)
117 #:use-module (gnu packages gimp)
118 #:use-module (gnu packages gl)
119 #:use-module (gnu packages glib)
120 #:use-module (gnu packages gnupg)
121 #:use-module (gnu packages gnuzilla)
122 #:use-module (gnu packages geo)
123 #:use-module (gnu packages gperf)
124 #:use-module (gnu packages graphviz)
125 #:use-module (gnu packages gstreamer)
126 #:use-module (gnu packages gtk)
127 #:use-module (gnu packages guile)
128 #:use-module (gnu packages ibus)
129 #:use-module (gnu packages icu4c)
130 #:use-module (gnu packages image)
131 #:use-module (gnu packages imagemagick)
132 #:use-module (gnu packages inkscape)
133 #:use-module (gnu packages iso-codes)
134 #:use-module (gnu packages kerberos)
135 #:use-module (gnu packages libcanberra)
136 #:use-module (gnu packages libffi)
137 #:use-module (gnu packages libunistring)
138 #:use-module (gnu packages libunwind)
139 #:use-module (gnu packages libusb)
140 #:use-module (gnu packages linux)
141 #:use-module (gnu packages lirc)
142 #:use-module (gnu packages lua)
143 #:use-module (gnu packages mail)
144 #:use-module (gnu packages mp3)
145 #:use-module (gnu packages multiprecision)
146 #:use-module (gnu packages music)
147 #:use-module (gnu packages ncurses)
148 #:use-module (gnu packages nettle)
149 #:use-module (gnu packages networking)
150 #:use-module (gnu packages ninja)
151 #:use-module (gnu packages node)
152 #:use-module (gnu packages nss)
153 #:use-module (gnu packages ocr)
154 #:use-module (gnu packages openldap)
155 #:use-module (gnu packages package-management)
156 #:use-module (gnu packages password-utils)
157 #:use-module (gnu packages pcre)
158 #:use-module (gnu packages pdf)
159 #:use-module (gnu packages perl)
160 #:use-module (gnu packages photo)
161 #:use-module (gnu packages php)
162 #:use-module (gnu packages pkg-config)
163 #:use-module (gnu packages polkit)
164 #:use-module (gnu packages popt)
165 #:use-module (gnu packages pretty-print)
166 #:use-module (gnu packages protobuf)
167 #:use-module (gnu packages pulseaudio)
168 #:use-module (gnu packages python)
169 #:use-module (gnu packages python-crypto)
170 #:use-module (gnu packages python-web)
171 #:use-module (gnu packages python-xyz)
172 #:use-module (gnu packages rdesktop)
173 #:use-module (gnu packages rdf)
174 #:use-module (gnu packages readline)
175 #:use-module (gnu packages ruby)
176 #:use-module (gnu packages rust)
177 #:use-module (gnu packages samba)
178 #:use-module (gnu packages scanner)
179 #:use-module (gnu packages sdl)
180 #:use-module (gnu packages search)
181 #:use-module (gnu packages selinux)
182 #:use-module (gnu packages slang)
183 #:use-module (gnu packages speech)
184 #:use-module (gnu packages spice)
185 #:use-module (gnu packages sqlite)
186 #:use-module (gnu packages ssh)
187 #:use-module (gnu packages swig)
188 #:use-module (gnu packages tex)
189 #:use-module (gnu packages time)
190 #:use-module (gnu packages tls)
191 #:use-module (gnu packages valgrind)
192 #:use-module (gnu packages version-control)
193 #:use-module (gnu packages video)
194 #:use-module (gnu packages virtualization)
195 #:use-module (gnu packages vpn)
196 #:use-module (gnu packages web)
197 #:use-module (gnu packages webkit)
198 #:use-module (gnu packages xdisorg)
199 #:use-module (gnu packages xiph)
200 #:use-module (gnu packages xml)
201 #:use-module (gnu packages xorg)
202 #:use-module (gnu artwork)
203 #:use-module ((guix build utils) #:select (modify-phases))
204 #:use-module (guix build-system cargo)
205 #:use-module (guix build-system cmake)
206 #:use-module (guix build-system glib-or-gtk)
207 #:use-module (guix build-system gnu)
208 #:use-module (guix build-system meson)
209 #:use-module (guix build-system python)
210 #:use-module (guix build-system trivial)
211 #:use-module (guix download)
212 #:use-module (guix git-download)
213 #:use-module ((guix licenses) #:prefix license:)
214 #:use-module (guix packages)
215 #:use-module (guix utils)
216 #:use-module (guix gexp)
217 #:use-module (guix monads)
218 #:use-module (guix store)
219 #:use-module (ice-9 match)
220 #:use-module (srfi srfi-1))
221
222 (define-public gupnp-igd
223 (package
224 (name "gupnp-igd")
225 (version "1.2.0")
226 (source
227 (origin
228 (method url-fetch)
229 (uri
230 (string-append "mirror://gnome/sources/" name "/"
231 (version-major+minor version) "/"
232 name "-" version ".tar.xz"))
233 (sha256
234 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
235 (build-system meson-build-system)
236 (outputs '("out" "doc"))
237 (arguments
238 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
239 #:configure-flags (list "-Dgtk_doc=true")
240 #:phases
241 (modify-phases %standard-phases
242 (add-after 'unpack 'patch-docbook-xml
243 (lambda* (#:key inputs #:allow-other-keys)
244 (with-directory-excursion "doc"
245 (substitute* "gupnp-igd-docs.xml"
246 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
247 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
248 "/xml/dtd/docbook/"))))
249 #t))
250 (add-after 'install 'move-doc
251 (lambda* (#:key outputs #:allow-other-keys)
252 (let* ((out (assoc-ref outputs "out"))
253 (doc (assoc-ref outputs "doc")))
254 (mkdir-p (string-append doc "/share"))
255 (rename-file
256 (string-append out "/share/gtk-doc")
257 (string-append doc "/share/gtk-doc"))
258 #t))))))
259 (native-inputs
260 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
261 ("docbook-xsl" ,docbook-xsl)
262 ("glib:bin" ,glib "bin")
263 ("gobject-introspection" ,gobject-introspection)
264 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
265 ("gtk-doc" ,gtk-doc)
266 ("pkg-config" ,pkg-config)))
267 (propagated-inputs
268 `(("glib" ,glib)
269 ("glib-networking" ,glib-networking)
270 ("gssdp" ,gssdp)
271 ("gupnp" ,gupnp)
272 ("libsoup" ,libsoup)))
273 (synopsis "UPnP IGD for GNOME")
274 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
275 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
276 (license license:lgpl2.1+)))
277
278 (define-public brasero
279 (package
280 (name "brasero")
281 (version "3.12.2")
282 (source (origin
283 (method url-fetch)
284 (uri (string-append "mirror://gnome/sources/brasero/"
285 (version-major+minor version) "/"
286 "brasero-" version ".tar.xz"))
287 (sha256
288 (base32
289 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
290 (build-system glib-or-gtk-build-system)
291 (arguments
292 `(#:configure-flags (list
293 (string-append "--with-girdir="
294 (assoc-ref %outputs "out")
295 "/share/gir-1.0")
296 (string-append "--with-typelibdir="
297 (assoc-ref %outputs "out")
298 "/lib/girepository-1.0"))
299 #:phases
300 (modify-phases %standard-phases
301 (add-before 'configure 'embed-growisofs
302 (lambda* (#:key inputs #:allow-other-keys)
303 (substitute* "plugins/growisofs/burn-growisofs.c"
304 (("\"growisofs") (string-append "\"" (which "growisofs"))))
305 #t)))))
306 (propagated-inputs
307 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
308 (native-inputs
309 `(("intltool" ,intltool)
310 ("itstool" ,itstool)
311 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
312 ("gobject-introspection" ,gobject-introspection)
313 ("pkg-config" ,pkg-config)))
314 (inputs
315 `(("dvd+rw-tools" ,dvd+rw-tools)
316 ("glib" ,glib)
317 ("gnome-doc-utils" ,gnome-doc-utils)
318 ("gstreamer" ,gstreamer)
319 ("gst-plugins-base" ,gst-plugins-base)
320 ("gtk+" ,gtk+)
321 ("libcanberra" ,libcanberra)
322 ("libice" ,libice)
323 ("libnotify" ,libnotify)
324 ("libsm" ,libsm)
325 ("libxml2" ,libxml2)
326 ("totem-pl-parser" ,totem-pl-parser)))
327 (home-page "https://wiki.gnome.org/Apps/Brasero")
328 (synopsis "CD/DVD burning tool for Gnome")
329 (description "Brasero is an application to burn CD/DVD for the Gnome
330 Desktop. It is designed to be as simple as possible and has some unique
331 features to enable users to create their discs easily and quickly.")
332 (license license:gpl2+)))
333
334 (define-public libcloudproviders
335 (package
336 (name "libcloudproviders")
337 (version "0.3.1")
338 (source
339 (origin
340 (method url-fetch)
341 (uri
342 (string-append "mirror://gnome/sources/" name "/"
343 (version-major+minor version) "/"
344 name "-" version ".tar.xz"))
345 (sha256
346 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
347 (build-system meson-build-system)
348 (outputs '("out" "doc"))
349 (arguments
350 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
351 #:configure-flags
352 (list
353 "-Denable-gtk-doc=true")
354 #:phases
355 (modify-phases %standard-phases
356 (add-after 'install 'move-doc
357 (lambda* (#:key outputs #:allow-other-keys)
358 (let* ((out (assoc-ref outputs "out"))
359 (doc (assoc-ref outputs "doc")))
360 (mkdir-p (string-append doc "/share"))
361 (rename-file
362 (string-append out "/share/gtk-doc")
363 (string-append doc "/share/gtk-doc"))
364 #t))))))
365 (native-inputs
366 `(("glib:bin" ,glib "bin")
367 ("gobject-introspection" ,gobject-introspection)
368 ("gtk-doc" ,gtk-doc)
369 ("pkg-config" ,pkg-config)
370 ("vala" ,vala)))
371 (inputs
372 `(("glib" ,glib)
373 ("glib-networking" ,glib-networking)))
374 (synopsis "Cloudproviders Integration API")
375 (description "Libcloudproviders is a DBus API that allows cloud storage sync
376 clients to expose their services. Clients such as file managers and desktop
377 environments can then provide integrated access to the cloud providers
378 services.")
379 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
380 (license license:lgpl3+)))
381
382 (define-public libgrss
383 (package
384 (name "libgrss")
385 (version "0.7.0")
386 (source
387 (origin
388 (method url-fetch)
389 (uri
390 (string-append "mirror://gnome/sources/" name "/"
391 (version-major+minor version) "/"
392 name "-" version ".tar.xz"))
393 (sha256
394 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
395 (build-system glib-or-gtk-build-system)
396 (outputs '("out" "doc"))
397 (arguments
398 `(#:configure-flags
399 (list
400 "--enable-gtk-doc"
401 (string-append "--with-html-dir="
402 (assoc-ref %outputs "doc")
403 "/share/gtk-doc/html"))
404 #:phases
405 (modify-phases %standard-phases
406 (add-after 'unpack 'patch-docbook-xml
407 (lambda* (#:key inputs #:allow-other-keys)
408 (with-directory-excursion "doc/reference"
409 (substitute* "libgrss-docs.sgml"
410 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
411 (string-append (assoc-ref inputs "docbook-xml")
412 "/xml/dtd/docbook/"))))
413 #t)))))
414 (native-inputs
415 `(("docbook-xml" ,docbook-xml-4.1.2)
416 ("gobject-introspection" ,gobject-introspection)
417 ("gtk-doc" ,gtk-doc)
418 ("pkg-config" ,pkg-config)))
419 (propagated-inputs
420 `(("glib" ,glib)
421 ("libsoup" ,libsoup)
422 ("libxml2" ,libxml2)))
423 (synopsis "Glib library for feeds")
424 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
425 and other formats.")
426 (home-page "https://wiki.gnome.org/Projects/Libgrss")
427 (license license:lgpl3+)))
428
429 (define-public gnome-js-common
430 (package
431 (name "gnome-js-common")
432 (version "0.1.2")
433 (source
434 (origin
435 (method url-fetch)
436 (uri
437 (string-append "mirror://gnome/sources/" name "/"
438 (version-major+minor version) "/"
439 name "-" version ".tar.gz"))
440 (sha256
441 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
442 (build-system glib-or-gtk-build-system)
443 (arguments
444 `(#:configure-flags
445 (list
446 "--disable-static")))
447 (native-inputs
448 `(("gettext" ,gettext-minimal)
449 ("intltool" ,intltool)
450 ("pkg-config" ,pkg-config)))
451 (synopsis "Common JS Modules")
452 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
453 bindings.")
454 (home-page "https://wiki.gnome.org/Projects/Seed")
455 (license license:gpl3+)))
456
457 (define-public seed
458 (package
459 (name "seed")
460 (version "3.8.1")
461 (source
462 (origin
463 (method url-fetch)
464 (uri
465 (string-append "mirror://gnome/sources/" name "/"
466 (version-major+minor version) "/"
467 name "-" version ".tar.xz"))
468 (sha256
469 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
470 (patches
471 (search-patches "seed-webkit.patch"))))
472 (build-system glib-or-gtk-build-system)
473 (outputs '("out" "doc"))
474 (arguments
475 `(#:configure-flags
476 (list
477 "--disable-static"
478 "--enable-xorg-module"
479 (string-append "--with-html-dir="
480 (assoc-ref %outputs "doc")
481 "/share/gtk-doc/html")
482 "--with-webkit=4.0")
483 #:phases
484 (modify-phases %standard-phases
485 ;; The seed-webkit.patch patches configure.ac.
486 ;; So the source files need to be re-bootstrapped.
487 (add-after 'unpack 'trigger-bootstrap
488 (lambda _
489 (for-each delete-file
490 (list
491 "configure"
492 "Makefile.in"))
493 #t))
494 (add-after 'unpack 'patch-tests
495 (lambda* (#:key outputs #:allow-other-keys)
496 (substitute* (find-files "." "\\.js$")
497 (("#!/usr/bin/env seed")
498 (string-append "#!" (getcwd) "/src/seed")))
499 #t))
500 (add-before 'build 'patch-docbook-xml
501 (lambda* (#:key inputs #:allow-other-keys)
502 (with-directory-excursion "doc"
503 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
504 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
505 (string-append (assoc-ref inputs "docbook-xml")
506 "/xml/dtd/docbook/"))))
507 #t)))))
508 (native-inputs
509 `(("autoconf" ,autoconf)
510 ("automake" ,automake)
511 ("docbook-xml" ,docbook-xml-4.1.2)
512 ("gettext" ,gettext-minimal)
513 ("gobject-introspection" ,gobject-introspection)
514 ("gtk-doc" ,gtk-doc)
515 ("intltool" ,intltool)
516 ("libtool" ,libtool)
517 ("pkg-config" ,pkg-config)))
518 (inputs
519 `(("cairo" ,cairo)
520 ("dbus" ,dbus)
521 ("dbus-glib" ,dbus-glib)
522 ("gnome-js-common" ,gnome-js-common)
523 ("gtk+" ,gtk+)
524 ("gtk+-2" ,gtk+-2)
525 ("libffi" ,libffi)
526 ("libxml2" ,libxml2)
527 ("mpfr" ,mpfr)
528 ("readline" ,readline)
529 ("sqlite" ,sqlite)
530 ("xscrnsaver" ,libxscrnsaver)))
531 (propagated-inputs
532 `(("glib" ,glib)
533 ("webkit" ,webkitgtk)))
534 (synopsis "GObject JavaScriptCore bridge")
535 (description "Seed is a library and interpreter, dynamically bridging
536 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
537 GNOME platform. It serves as something which enables you to write standalone
538 applications in JavaScript, or easily enable your application to be extensible
539 in JavaScript.")
540 (home-page "https://wiki.gnome.org/Projects/Seed")
541 (license license:lgpl2.0+)))
542
543 (define-public libdmapsharing
544 (package
545 (name "libdmapsharing")
546 (version "3.9.10")
547 (source
548 (origin
549 (method url-fetch)
550 (uri
551 (string-append "https://www.flyn.org/projects/"
552 name "/" name "-" version ".tar.gz"))
553 (sha256
554 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
555 (build-system glib-or-gtk-build-system)
556 (outputs '("out" "doc"))
557 (arguments
558 `(#:tests? #f ; Tests require networking.
559 #:configure-flags
560 (list
561 "--disable-static"
562 (string-append "--with-html-dir="
563 (assoc-ref %outputs "doc")
564 "/share/gtk-doc/html"))
565 #:phases
566 (modify-phases %standard-phases
567 (add-after 'unpack 'patch-docbook-xml
568 (lambda* (#:key inputs #:allow-other-keys)
569 (with-directory-excursion "doc"
570 (substitute* "libdmapsharing-4.0-docs.xml"
571 (("http://www.oasis-open.org/docbook/xml/4.3/")
572 (string-append (assoc-ref inputs "docbook-xml")
573 "/xml/dtd/docbook/"))))
574 #t)))))
575 (native-inputs
576 `(("check" ,check)
577 ("docbook-xml" ,docbook-xml-4.3)
578 ("gobject-introspection" ,gobject-introspection)
579 ("pedansee" ,pedansee)
580 ("pkg-config" ,pkg-config)
581 ("vala" ,vala)))
582 (inputs
583 `(("avahi" ,avahi)
584 ("gdk-pixbuf" ,gdk-pixbuf+svg)
585 ("gee" ,libgee)
586 ("gst-plugins-base" ,gst-plugins-base)
587 ("gtk+" ,gtk+)))
588 (propagated-inputs
589 `(("glib" ,glib)
590 ("glib-networking" ,glib-networking)
591 ("gstreamer" ,gstreamer)
592 ("libsoup" ,libsoup)))
593 (synopsis "Media management library")
594 (description "Libdmapsharing is a library which allows programs to access,
595 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
596 It is written in C using GObject and libsoup.")
597 (home-page "https://launchpad.net/gtx")
598 (license license:lgpl2.1+)))
599
600 (define-public gtx
601 (package
602 (name "gtx")
603 (version "0.2.2")
604 (source
605 (origin
606 (method url-fetch)
607 (uri
608 (string-append "https://launchpad.net/gtx/trunk/"
609 version "/+download/gtx-" version ".tar.gz"))
610 (sha256
611 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
612 (build-system glib-or-gtk-build-system)
613 (outputs '("out" "doc"))
614 (arguments
615 `(#:configure-flags
616 (list
617 "--disable-static"
618 "--enable-gtk-doc"
619 (string-append "--with-html-dir="
620 (assoc-ref %outputs "doc")
621 "/share/gtk-doc/html"))))
622 (native-inputs
623 `(("gobject-introspection" ,gobject-introspection)
624 ("gtk-doc" ,gtk-doc)
625 ("pkg-config" ,pkg-config)))
626 (propagated-inputs
627 `(("glib" ,glib)))
628 (synopsis "GLib Testing Framework")
629 (description "GTX is a small collection of convenience functions intended to
630 enhance the GLib testing framework. With specific emphasis on easing the pain
631 of writing test cases for asynchronous interactions.")
632 (home-page "https://launchpad.net/gtx")
633 (license license:lgpl2.1+)))
634
635 (define-public dee
636 (package
637 (name "dee")
638 (version "1.2.7")
639 (source
640 (origin
641 (method url-fetch)
642 (uri
643 (string-append "https://launchpad.net/dee/1.0/"
644 version "/+download/dee-" version ".tar.gz"))
645 (sha256
646 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
647 (patches
648 (search-patches "dee-vapi.patch"))))
649 (build-system glib-or-gtk-build-system)
650 (outputs '("out" "doc"))
651 (arguments
652 `(#:configure-flags
653 (list
654 "--disable-maintainer-flags"
655 (string-append "--with-pygi-overrides-dir="
656 (assoc-ref %outputs "out")
657 "/lib/python"
658 ,(version-major+minor
659 (package-version python))
660 "/site-packages/gi/overrides")
661 (string-append "--with-html-dir="
662 (assoc-ref %outputs "doc")
663 "/share/gtk-doc/html"))
664 #:phases
665 (modify-phases %standard-phases
666 (add-after 'unpack 'patch-docbook-xml
667 (lambda* (#:key inputs #:allow-other-keys)
668 (with-directory-excursion "doc/reference/dee-1.0"
669 (substitute* "dee-1.0-docs.sgml"
670 (("http://www.oasis-open.org/docbook/xml/4.3/")
671 (string-append (assoc-ref inputs "docbook-xml")
672 "/xml/dtd/docbook/"))))
673 #t))
674 (add-after 'patch-docbook-xml 'disable-failing-tests
675 (lambda _
676 (substitute* "tests/test-icu.c"
677 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
678 "")
679 (("setup, test_ascii_folder, teardown\\);")
680 ""))
681 #t))
682 (add-before 'check 'pre-check
683 (lambda _
684 ;; Tests require a running dbus-daemon.
685 (system "dbus-daemon &")
686 ;; For missing '/etc/machine-id'.
687 (setenv "DBUS_FATAL_WARNINGS" "0")
688 #t)))))
689 (native-inputs
690 `(("dbus" ,dbus)
691 ("dbus-test-runner" ,dbus-test-runner)
692 ("docbook-xml" ,docbook-xml-4.3)
693 ("gobject-introspection" ,gobject-introspection)
694 ("gtk-doc" ,gtk-doc)
695 ;; Would only be required by configure flag "--enable-extended-tests".
696 ;("gtx" ,gtx)
697 ("pkg-config" ,pkg-config)
698 ("pygobject" ,python-pygobject)
699 ("python" ,python-wrapper)
700 ("vala" ,vala)))
701 (inputs
702 `(("icu" ,icu4c)))
703 (propagated-inputs
704 `(("glib" ,glib)))
705 (synopsis "Model to synchronize multiple instances over DBus")
706 (description "Dee is a library that uses DBus to provide objects allowing
707 you to create Model-View-Controller type programs across DBus. It also consists
708 of utility objects which extend DBus allowing for peer-to-peer discoverability
709 of known objects without needing a central registrar.")
710 (home-page "https://launchpad.net/dee")
711 (license
712 ;; Dual-licensed
713 (list
714 license:lgpl3+
715 license:gpl3+))))
716
717 (define-public zeitgeist
718 (package
719 (name "zeitgeist")
720 (version "1.0.3")
721 (source
722 (origin
723 (method git-fetch)
724 (uri
725 (git-reference
726 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
727 (commit
728 (string-append "v" version))))
729 (file-name
730 (git-file-name name version))
731 (sha256
732 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
733 (build-system glib-or-gtk-build-system)
734 (arguments
735 `(#:configure-flags
736 (list
737 "--enable-explain-queries"
738 "--enable-fts"
739 "--enable-docs")
740 #:phases
741 (modify-phases %standard-phases
742 (add-after 'unpack 'patch-docbook-xml
743 (lambda* (#:key inputs #:allow-other-keys)
744 (with-directory-excursion "doc/libzeitgeist"
745 (substitute* "zeitgeist-gtkdoc-index.sgml"
746 (("http://www.oasis-open.org/docbook/xml/4.3/")
747 (string-append (assoc-ref inputs "docbook-xml")
748 "/xml/dtd/docbook/"))))
749 #t))
750 (add-after 'patch-docbook-xml 'disable-failing-tests
751 (lambda _
752 (substitute* "test/direct/Makefile.am"
753 ((" log-test ")
754 ""))
755 (substitute* "test/c/Makefile.am"
756 ((" test-log ")
757 ""))
758 #t))
759 (add-before 'bootstrap 'remove-autogen-script
760 (lambda _
761 ;; To honor `autoreconf -vif` by build-system.
762 (delete-file "autogen.sh")
763 #t)))))
764 (native-inputs
765 `(("autoconf" ,autoconf)
766 ("automake" ,automake)
767 ("docbook-xml" ,docbook-xml-4.3)
768 ("gettext" ,gettext-minimal)
769 ("gobject-introspection" ,gobject-introspection)
770 ("gtk-doc" ,gtk-doc)
771 ("libtool" ,libtool)
772 ("pkg-config" ,pkg-config)
773 ("vala" ,vala)
774 ("xorg-server-for-tests" ,xorg-server-for-tests)))
775 (inputs
776 `(("dee-icu" ,dee)
777 ("gtk+" ,gtk+)
778 ("json-glib" ,json-glib)
779 ("sqlite" ,sqlite)
780 ("telepathy-glib" ,telepathy-glib)
781 ("python" ,python-wrapper)
782 ("python-rdflib" ,python-rdflib)
783 ("xapian-config" ,xapian)))
784 (propagated-inputs
785 `(("glib" ,glib)))
786 (synopsis "Desktop Activity Logging")
787 (description "Zeitgeist is a service which logs the users’s activities and
788 events, anywhere from files opened to websites visited and conversations. It
789 makes this information readily available for other applications to use. It is
790 able to establish relationships between items based on similarity and usage
791 patterns.")
792 (home-page "https://zeitgeist.freedesktop.org/")
793 (license
794 ;; Dual-licensed
795 (list
796 license:lgpl2.1+
797 license:gpl2+))))
798
799 (define-public gnome-recipes
800 (package
801 (name "gnome-recipes")
802 (version "2.0.4")
803 (source (origin
804 (method git-fetch)
805 (uri (git-reference
806 (url "https://gitlab.gnome.org/GNOME/recipes")
807 (commit version)))
808 (file-name (git-file-name name version))
809 (sha256
810 (base32
811 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
812 (build-system meson-build-system)
813 (arguments
814 `(#:glib-or-gtk? #t
815 #:phases
816 (modify-phases %standard-phases
817 (add-after 'unpack 'skip-gtk-update-icon-cache
818 (lambda _
819 (substitute* "meson_post_install.py"
820 (("gtk-update-icon-cache") (which "true")))
821 #t))
822 (add-after 'unpack 'unpack-libgd
823 (lambda* (#:key inputs #:allow-other-keys)
824 (let ((libgd (assoc-ref inputs "libgd")))
825 (copy-recursively libgd "subprojects/libgd")
826 #t))))))
827 (inputs
828 `(("glib" ,glib)
829 ("gnome-autoar" ,gnome-autoar)
830 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
831 ("gspell" ,gspell)
832 ("gtk+" ,gtk+)
833 ("json-glib" ,json-glib)
834 ("libcanberra" ,libcanberra)
835 ("libsoup" ,libsoup)
836 ("rest" ,rest)))
837 (native-inputs
838 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
839 ("gettext" ,gettext-minimal)
840 ("glib:bin" ,glib "bin")
841 ("itstool" ,itstool)
842 ("libgd"
843 ,(origin
844 (method git-fetch)
845 (uri (git-reference
846 (url "https://gitlab.gnome.org/GNOME/libgd")
847 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
848 (file-name (git-file-name "libgd" version))
849 (sha256
850 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
851 ("pkg-config" ,pkg-config)))
852 (home-page "https://wiki.gnome.org/Apps/Recipes")
853 (synopsis "Discover recipes for preparing food")
854 (description "GNOME Recipes helps you discover what to cook today,
855 tomorrow, the rest of the week and for special occasions.")
856 (license license:gpl3+)))
857
858 (define-public gnome-photos
859 (package
860 (name "gnome-photos")
861 (version "3.34.2")
862 (source
863 (origin
864 (method url-fetch)
865 (uri
866 (string-append "mirror://gnome/sources/" name "/"
867 (version-major+minor version) "/"
868 name "-" version ".tar.xz"))
869 (sha256
870 (base32
871 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
872 (build-system meson-build-system)
873 (arguments
874 `(#:glib-or-gtk? #t
875 #:configure-flags
876 (list "-Ddogtail=false" ; Not available
877 ;; Required for RUNPATH validation.
878 (string-append "-Dc_link_args=-Wl,-rpath="
879 (assoc-ref %outputs "out") "/lib/gnome-photos"))
880 #:phases
881 (modify-phases %standard-phases
882 (add-after 'install 'wrap-gnome-photos
883 (lambda* (#:key inputs outputs #:allow-other-keys)
884 (let*
885 ((out (assoc-ref outputs "out")))
886 (wrap-program (string-append out "/bin/gnome-photos")
887 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
888 #t)))))
889 (native-inputs
890 `(("dbus" ,dbus)
891 ("desktop-file-utils" ,desktop-file-utils)
892 ("gettext" ,gettext-minimal)
893 ("git" ,git-minimal)
894 ("glib:bin" ,glib "bin")
895 ("gobject-introspection" ,gobject-introspection)
896 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
897 ("gtk+:bin" ,gtk+ "bin")
898 ("itstool" ,itstool)
899 ("pkg-config" ,pkg-config)))
900 (inputs
901 `(("babl" ,babl)
902 ("cairo" ,cairo)
903 ("gdk-pixbuf" ,gdk-pixbuf+svg)
904 ("gegl" ,gegl)
905 ("geocode-glib" ,geocode-glib)
906 ("gexiv2" ,gexiv2)
907 ("gnome-online-accounts" ,gnome-online-accounts)
908 ("gnome-online-miners" ,gnome-online-miners)
909 ("grilo" ,grilo)
910 ("grilo-plugins" ,grilo-plugins)
911 ("gtk+" ,gtk+)
912 ("libdazzle" ,libdazzle)
913 ("libgdata" ,libgdata)
914 ("libgfbgraph" ,gfbgraph)
915 ("libjpeg" ,libjpeg-turbo)
916 ("libpng" ,libpng)
917 ("librest" ,rest)
918 ("pygobject" ,python-pygobject)
919 ("tracker" ,tracker)
920 ("tracker-miners" ,tracker-miners)))
921 (synopsis "Access, organize and share your photos on GNOME desktop")
922 (description "GNOME Photos is a simple and elegant replacement for using a
923 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
924 cloud integration is offered through GNOME Online Accounts.")
925 (home-page "https://wiki.gnome.org/Apps/Photos")
926 (license license:gpl3+)))
927
928 (define-public gnome-music
929 (package
930 (name "gnome-music")
931 (version "3.34.5")
932 (source
933 (origin
934 (method url-fetch)
935 (uri
936 (string-append "mirror://gnome/sources/" name "/"
937 (version-major+minor version) "/"
938 name "-" version ".tar.xz"))
939 (sha256
940 (base32
941 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
942 (build-system meson-build-system)
943 (arguments
944 `(#:glib-or-gtk? #t
945 #:phases
946 (modify-phases %standard-phases
947 (add-after 'install 'wrap-gnome-music
948 (lambda* (#:key inputs outputs #:allow-other-keys)
949 (let*
950 ((out (assoc-ref outputs "out"))
951 (pylib (string-append out "/lib/python"
952 ,(version-major+minor
953 (package-version python))
954 "/site-packages")))
955 (wrap-program (string-append out "/bin/gnome-music")
956 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
957 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
958 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
959 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
960 #t)))))
961 (native-inputs
962 `(("desktop-file-utils" ,desktop-file-utils)
963 ("gettext" ,gettext-minimal)
964 ("glib:bin" ,glib "bin")
965 ("gobject-introspection" ,gobject-introspection)
966 ("gtk+:bin" ,gtk+ "bin")
967 ("itstools" ,itstool)
968 ("pkg-config" ,pkg-config)))
969 (inputs
970 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
971 ("grilo" ,grilo)
972 ("grilo-plugins" ,grilo-plugins)
973 ("gst-plugins-base" ,gst-plugins-base)
974 ("gstreamer" ,gstreamer)
975 ("gvfs" ,gvfs)
976 ("libdazzle" ,libdazzle)
977 ("libmediaart" ,libmediaart)
978 ("libsoup" ,libsoup)
979 ("pycairo" ,python-pycairo)
980 ("pygobject" ,python-pygobject)
981 ("tracker" ,tracker)
982 ("tracker-miners" ,tracker-miners)))
983 (synopsis "Simple music player for GNOME desktop")
984 (description "GNOME Music is the new GNOME music playing application that
985 aims to combine an elegant and immersive browsing experience with simple
986 and straightforward controls.")
987 (home-page "https://wiki.gnome.org/Apps/Music")
988 (license license:gpl2+)))
989
990 (define-public portablexdr
991 (package
992 (name "portablexdr")
993 (version "4.9.1")
994 (source
995 (origin
996 (method url-fetch)
997 (uri
998 (string-append "https://people.redhat.com/~rjones/" name "/files/"
999 name "-" version ".tar.gz"))
1000 (sha256
1001 (base32
1002 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1003 (build-system gnu-build-system)
1004 (synopsis "External Data Representation Library")
1005 (description "PortableXDR is an implementation of External Data
1006 Representation (XDR) Library. It is a standard data serialization format, for
1007 uses such as computer network protocols. It allows data to be transferred
1008 between different kinds of computer systems.")
1009 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1010 (license
1011 (list
1012 license:gpl2+
1013 license:lgpl2.1+))))
1014
1015 (define-public tepl
1016 (package
1017 (name "tepl")
1018 (version "4.4.0")
1019 (source
1020 (origin
1021 (method url-fetch)
1022 (uri
1023 (string-append "mirror://gnome/sources/" name "/"
1024 (version-major+minor version) "/"
1025 name "-" version ".tar.xz"))
1026 (sha256
1027 (base32
1028 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1029 (build-system glib-or-gtk-build-system)
1030 (arguments
1031 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1032 (native-inputs
1033 `(("gobject-introspection" ,gobject-introspection)
1034 ("pkg-config" ,pkg-config)))
1035 (inputs
1036 `(("amtk" ,amtk)
1037 ("glib" ,glib)
1038 ("gtk+" ,gtk+)
1039 ("gtksourceview" ,gtksourceview)
1040 ("libxml2" ,libxml2)
1041 ("uchardet" ,uchardet)))
1042 (synopsis "Text editor product line")
1043 (description "Tepl is a library that eases the development of
1044 GtkSourceView-based text editors and IDEs.")
1045 (home-page "https://wiki.gnome.org/Projects/Tepl")
1046 (license license:lgpl2.1+)))
1047
1048 (define-public krb5-auth-dialog
1049 (package
1050 (name "krb5-auth-dialog")
1051 (version "3.26.1")
1052 (source
1053 (origin
1054 (method url-fetch)
1055 (uri
1056 (string-append "mirror://gnome/sources/" name "/"
1057 (version-major+minor version) "/"
1058 name "-" version ".tar.xz"))
1059 (sha256
1060 (base32
1061 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1062 (build-system glib-or-gtk-build-system)
1063 (native-inputs
1064 `(("intltool" ,intltool)
1065 ("itstool" ,itstool)
1066 ("libxml2" ,libxml2)
1067 ("pkg-config" ,pkg-config)
1068 ("python-wrapper" ,python-wrapper)))
1069 (inputs
1070 `(("glib" ,glib)
1071 ("gtk+" ,gtk+)
1072 ("libnotify" ,libnotify)
1073 ("mit-krb5" ,mit-krb5)
1074 ("network-manager" ,network-manager)))
1075 (synopsis "Popup dialogs for Kerberos 5")
1076 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1077 tickets, and pops up a dialog when they are about to expire.")
1078 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1079 (license license:gpl2+)))
1080
1081 (define-public notification-daemon
1082 (package
1083 (name "notification-daemon")
1084 (version "3.20.0")
1085 (source
1086 (origin
1087 (method url-fetch)
1088 (uri
1089 (string-append "mirror://gnome/sources/" name "/"
1090 (version-major+minor version) "/"
1091 name "-" version ".tar.xz"))
1092 (sha256
1093 (base32
1094 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1095 (build-system glib-or-gtk-build-system)
1096 (native-inputs
1097 `(("intltool" ,intltool)
1098 ("pkg-config" ,pkg-config)))
1099 (inputs
1100 `(("glib" ,glib)
1101 ("gtk+" ,gtk+)
1102 ("x11" ,libx11)))
1103 (synopsis "Notification Daemon for GNOME Desktop")
1104 (description "Notification-Daemon is the server implementation of the
1105 freedesktop.org desktop notification specification.")
1106 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1107 (license license:gpl2+)))
1108
1109 (define-public mm-common
1110 (package
1111 (name "mm-common")
1112 (version "1.0.2")
1113 (source (origin
1114 (method url-fetch)
1115 (uri (string-append "mirror://gnome/sources/mm-common/"
1116 (version-major+minor version) "/"
1117 "mm-common-" version ".tar.xz"))
1118 (sha256
1119 (base32
1120 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1121 (build-system meson-build-system)
1122 (arguments
1123 `(#:phases
1124 (modify-phases %standard-phases
1125 (add-after 'unpack 'patch
1126 (lambda* (#:key inputs #:allow-other-keys)
1127 (substitute* "util/mm-common-prepare.in"
1128 (("ln") (string-append (assoc-ref inputs "coreutils")
1129 "/bin/ln"))
1130 (("cp") (string-append (assoc-ref inputs "coreutils")
1131 "/bin/cp"))
1132 (("sed") (string-append (assoc-ref inputs "sed")
1133 "/bin/sed"))
1134 (("cat") (string-append (assoc-ref inputs "coreutils")
1135 "/bin/cat")))
1136 #t)))))
1137 (native-inputs
1138 `(("coreutils" ,coreutils)
1139 ("gettext" ,gettext-minimal)
1140 ("pkg-config" ,pkg-config)
1141 ("sed" ,sed)))
1142 (inputs
1143 `(("python" ,python)))
1144 (synopsis "Module of GNOME C++ bindings")
1145 (description "The mm-common module provides the build infrastructure
1146 and utilities shared among the GNOME C++ binding libraries. Release
1147 archives of mm-common include the Doxygen tag file for the GNU C++
1148 Library reference documentation.")
1149 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1150 (license license:gpl2+)))
1151
1152 (define-public phodav
1153 (package
1154 (name "phodav")
1155 (version "2.5")
1156 (source (origin
1157 (method url-fetch)
1158 (uri (string-append "mirror://gnome/sources/" name "/"
1159 (version-major+minor version) "/"
1160 name "-" version ".tar.xz"))
1161 (sha256
1162 (base32
1163 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1164 (build-system meson-build-system)
1165 (arguments
1166 `(#:phases
1167 (modify-phases %standard-phases
1168 (add-before 'check 'start-virtual-dir-server
1169 ;; The same server when started by tests/virtual-dir returns an
1170 ;; unexpected status (4 instead of 200) and fails a test. It is
1171 ;; unclear why starting it manually here makes it pass.
1172 (lambda _
1173 (system "tests/virtual-dir-server &")
1174 #t)))))
1175 (native-inputs
1176 `(("docbook-xml" ,docbook-xml-4.3)
1177 ("gettext" ,gettext-minimal)
1178 ("glib:bin" ,glib "bin")
1179 ("gtk-doc" ,gtk-doc)
1180 ("pkg-config" ,pkg-config)))
1181 (inputs
1182 `(("avahi" ,avahi)
1183 ("libgudev" ,libgudev)
1184 ("libsoup" ,libsoup)))
1185 (synopsis "WebDav server implementation using libsoup")
1186 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1187 but it is generic enough to be reused in other projects,
1188 in particular in the GNOME desktop.")
1189 (home-page "https://wiki.gnome.org/phodav")
1190 (license license:lgpl2.1+)))
1191
1192 (define-public gnome-color-manager
1193 (package
1194 (name "gnome-color-manager")
1195 (version "3.32.0")
1196 (source (origin
1197 (method url-fetch)
1198 (uri (string-append "mirror://gnome/sources/" name "/"
1199 (version-major+minor version) "/"
1200 name "-" version ".tar.xz"))
1201 (sha256
1202 (base32
1203 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1204 (build-system meson-build-system)
1205 (arguments
1206 `(#:glib-or-gtk? #t
1207 #:phases
1208 (modify-phases %standard-phases
1209 (add-before
1210 'check 'pre-check
1211 (lambda _
1212 ;; Tests require a running X server.
1213 (system "Xvfb :1 &")
1214 (setenv "DISPLAY" ":1")
1215 #t)))))
1216 (native-inputs
1217 `(("desktop-file-utils" ,desktop-file-utils)
1218 ("gettext" ,gettext-minimal)
1219 ("glib:bin" ,glib "bin")
1220 ("gtk+:bin" ,gtk+ "bin")
1221 ("itstool" ,itstool)
1222 ("pkg-config" ,pkg-config)
1223 ("xorg-server" ,xorg-server-for-tests)))
1224 (inputs
1225 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1226 ("appstream-glib" ,appstream-glib)
1227 ("colord-gtk" ,colord-gtk)
1228 ("exiv2" ,exiv2)
1229 ("gnome-desktop" ,gnome-desktop)
1230 ("libcanberra" ,libcanberra)
1231 ("libexif" ,libexif)
1232 ("libtiff" ,libtiff)
1233 ("libxrandr" ,libxrandr)
1234 ("libxtst" ,libxtst)
1235 ("libxxf86vm" ,libxxf86vm)
1236 ("vte" ,vte)
1237 ("xorgproto" ,xorgproto)))
1238 (synopsis "Color profile manager for the GNOME desktop")
1239 (description "GNOME Color Manager is a session framework that makes
1240 it easy to manage, install and generate color profiles
1241 in the GNOME desktop.")
1242 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1243 (license license:gpl2+)))
1244
1245 (define-public gnome-online-miners
1246 (package
1247 (name "gnome-online-miners")
1248 (version "3.34.0")
1249 (source (origin
1250 (method url-fetch)
1251 (uri (string-append "mirror://gnome/sources/" name "/"
1252 (version-major+minor version) "/"
1253 name "-" version ".tar.xz"))
1254 (sha256
1255 (base32
1256 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1257 (build-system glib-or-gtk-build-system)
1258 (native-inputs
1259 `(("gettext" ,gettext-minimal)
1260 ("glib:bin" ,glib "bin")
1261 ("gobject-introspection" ,gobject-introspection)
1262 ("gtk+:bin" ,gtk+ "bin")
1263 ("pkg-config" ,pkg-config)))
1264 (inputs
1265 `(("gnome-online-accounts" ,gnome-online-accounts)
1266 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1267 ("grilo" ,grilo)
1268 ("libgdata" ,libgdata)
1269 ("libgfbgraph" ,gfbgraph)
1270 ("libzapojit" ,libzapojit)
1271 ("rest" ,rest)
1272 ("tracker" ,tracker)))
1273 (synopsis "Web Crawlers for GNOME")
1274 (description "GNOME Online Miners provides a set of crawlers that
1275 go through your online content and index them locally in Tracker.
1276 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1277 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1278 (license license:gpl2+)))
1279
1280 (define-public gssdp
1281 (package
1282 (name "gssdp")
1283 (version "1.2.3")
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 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1292 (build-system meson-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 ("pkg-config" ,pkg-config)
1299 ("vala" ,vala)))
1300 (inputs
1301 `(("gtk+" ,gtk+)
1302 ("libsoup" ,libsoup)))
1303 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1304 Protocol} for GNOME")
1305 (description "This package provides a library to handle resource discovery
1306 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1307 a debugging tool, @command{gssdp-device-sniffer}.")
1308 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1309 (license license:lgpl2.0+)))
1310
1311 (define-public gupnp
1312 (package
1313 (name "gupnp")
1314 (version "1.2.4")
1315 (source (origin
1316 (method url-fetch)
1317 (uri (string-append "mirror://gnome/sources/" name "/"
1318 (version-major+minor version) "/"
1319 name "-" version ".tar.xz"))
1320 (sha256
1321 (base32
1322 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1323 (build-system meson-build-system)
1324 (native-inputs
1325 `(("gettext" ,gettext-minimal)
1326 ("glib:bin" ,glib "bin")
1327 ("gobject-introspection" ,gobject-introspection)
1328 ("gtk-doc" ,gtk-doc)
1329 ("pkg-config" ,pkg-config)
1330 ("vala" ,vala)))
1331 (inputs
1332 `(("gssdp" ,gssdp)
1333 ("gtk+" ,gtk+)
1334 ("libsoup" ,libsoup)))
1335 (synopsis "PnP API for GNOME")
1336 (description "This package provides GUPnP, an object-oriented framework
1337 for creating UPnP devices and control points, written in C using
1338 @code{GObject} and @code{libsoup}.")
1339 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1340 (license license:lgpl2.0+)))
1341
1342 (define-public gupnp-dlna
1343 (package
1344 (name "gupnp-dlna")
1345 (version "0.10.5")
1346 (source (origin
1347 (method url-fetch)
1348 (uri (string-append "mirror://gnome/sources/" name "/"
1349 (version-major+minor version) "/"
1350 name "-" version ".tar.xz"))
1351 (sha256
1352 (base32
1353 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1354 (build-system gnu-build-system)
1355 (native-inputs
1356 `(("gettext" ,gettext-minimal)
1357 ("glib:bin" ,glib "bin")
1358 ("gobject-introspection" ,gobject-introspection)
1359 ("gtk-doc" ,gtk-doc)
1360 ("libxml" ,libxml2)
1361 ("pkg-config" ,pkg-config)
1362 ("vala" ,vala)))
1363 (inputs
1364 `(("gstreamer" ,gstreamer)
1365 ("gupnp" ,gupnp)))
1366 (propagated-inputs
1367 `(("gst-plugins-base" ,gst-plugins-base)
1368 ("gst-plugins-good" ,gst-plugins-good)))
1369 (synopsis "GUPnP DLNA for GNOME")
1370 (description "This package provides a small utility library to
1371 support DLNA-related tasks such as media profile guessing, transcoding to a
1372 given profile, etc. DLNA is a subset of UPnP A/V.")
1373 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1374 (license license:lgpl2.0+)))
1375
1376 (define-public gupnp-av
1377 (package
1378 (name "gupnp-av")
1379 (version "0.12.11")
1380 (source (origin
1381 (method url-fetch)
1382 (uri (string-append "mirror://gnome/sources/" name "/"
1383 (version-major+minor version) "/"
1384 name "-" version ".tar.xz"))
1385 (sha256
1386 (base32
1387 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1388 (build-system gnu-build-system)
1389 (native-inputs
1390 `(("gettext" ,gettext-minimal)
1391 ("glib:bin" ,glib "bin")
1392 ("gobject-introspection" ,gobject-introspection)
1393 ("gtk-doc" ,gtk-doc)
1394 ("libxml" ,libxml2)
1395 ("pkg-config" ,pkg-config)))
1396 (inputs
1397 `(("gtk+" ,gtk+)
1398 ("gupnp" ,gupnp)))
1399 (synopsis "GUPnP A/V for GNOME")
1400 (description "This package provides a small library for handling
1401 and implementation of UPnP A/V profiles.")
1402 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1403 (license license:lgpl2.0+)))
1404
1405 (define-public libmediaart
1406 (package
1407 (name "libmediaart")
1408 (version "1.9.4")
1409 (source (origin
1410 (method url-fetch)
1411 (uri (string-append "mirror://gnome/sources/" name "/"
1412 (version-major+minor version) "/"
1413 name "-" version ".tar.xz"))
1414 (sha256
1415 (base32
1416 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1417 (build-system gnu-build-system)
1418 (native-inputs
1419 `(("glib:bin" ,glib "bin")
1420 ("pkg-config" ,pkg-config)))
1421 (inputs
1422 `(("gdk-pixbuf" ,gdk-pixbuf)
1423 ("gettext" ,gettext-minimal)
1424 ("gobject-introspection" ,gobject-introspection)
1425 ("gtk+:doc" ,gtk+ "doc")
1426 ("vala" ,vala)))
1427 (synopsis "Media art library for the GNOME desktop")
1428 (description
1429 "The libmediaart library is the foundation for media art caching,
1430 extraction, and lookup for applications on the desktop.")
1431 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1432 (license license:lgpl2.1+)))
1433
1434 (define-public gnome-initial-setup
1435 (package
1436 (name "gnome-initial-setup")
1437 (version "3.32.1")
1438 (source (origin
1439 (method url-fetch)
1440 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1441 (version-major+minor version)
1442 "/gnome-initial-setup-" version ".tar.xz"))
1443 (sha256
1444 (base32
1445 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1446 (build-system meson-build-system)
1447 (arguments
1448 '(#:configure-flags '(;; Enable camera support for user selfie.
1449 "-Dcheese=auto"
1450 "-Dsystemd=false")
1451 #:phases (modify-phases %standard-phases
1452 (add-after 'unpack 'set-gkbd-file-name
1453 (lambda* (#:key inputs #:allow-other-keys)
1454 ;; Allow the "Preview" button in the keyboard layout
1455 ;; selection dialog to display the layout.
1456 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1457 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1458 (("\"gkbd-keyboard-display")
1459 (string-append "\"" libgnomekbd
1460 "/bin/gkbd-keyboard-display")))
1461 #t))))))
1462 (native-inputs
1463 `(("gettext" ,gettext-minimal)
1464 ("glib:bin" ,glib "bin")
1465 ("gobject-introspection" ,gobject-introspection)
1466 ("gtk+:bin" ,gtk+ "bin")
1467 ("pkg-config" ,pkg-config)))
1468 (inputs
1469 `(("accountsservice" ,accountsservice)
1470 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1471 ("gdm" ,gdm)
1472 ("geoclue" ,geoclue)
1473 ("gnome-desktop" ,gnome-desktop)
1474 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1475 ("gnome-online-accounts" ,gnome-online-accounts)
1476 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1477 ("gstreamer" ,gstreamer)
1478 ("ibus" ,ibus)
1479 ("json-glib" ,json-glib)
1480 ("krb5" ,mit-krb5)
1481 ("libgweather" ,libgweather)
1482 ("libnma" ,libnma)
1483 ("libsecret" ,libsecret)
1484 ("network-manager" ,network-manager)
1485 ("packagekit" ,packagekit)
1486 ("polkit" ,polkit)
1487 ("pwquality" ,libpwquality)
1488 ("rest" ,rest)
1489 ("upower" ,upower)
1490 ("webkitgtk" ,webkitgtk)
1491 ("libgnomekbd" ,libgnomekbd)))
1492 (synopsis "Initial setup wizard for GNOME desktop")
1493 (description "This package provides a set-up wizard when a
1494 user logs into GNOME for the first time. It typically provides a
1495 tour of all gnome components and allows the user to set them up.")
1496 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1497 (license license:gpl2)))
1498
1499 (define-public gnome-user-share
1500 (package
1501 (name "gnome-user-share")
1502 (version "3.33.1")
1503 (source (origin
1504 (method url-fetch)
1505 (uri (string-append "mirror://gnome/sources/" name "/"
1506 (version-major+minor version) "/"
1507 name "-" version ".tar.xz"))
1508 (sha256
1509 (base32
1510 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1511 (build-system meson-build-system)
1512 (arguments
1513 `(#:glib-or-gtk? #t
1514 #:configure-flags
1515 `("-Dsystemd=false"
1516 ;; Enable nautilus extension for file sharing.
1517 "-Dnautilus_extension=true")))
1518 (native-inputs
1519 `(("gettext" ,gettext-minimal)
1520 ("glib:bin" ,glib "bin")
1521 ("gobject-introspection" ,gobject-introspection)
1522 ("gtk+:bin" ,gtk+ "bin")
1523 ("pkg-config" ,pkg-config)
1524 ("yelp-tools" ,yelp-tools)))
1525 (inputs
1526 `(("glib" ,glib)
1527 ("gnome-bluetooth" ,gnome-bluetooth)
1528 ("gtk+" ,gtk+)
1529 ("libcanberra" ,libcanberra)
1530 ("libnotify" ,libnotify)
1531 ("nautilus" ,nautilus))) ; For nautilus extension.
1532 (synopsis "File sharing for GNOME desktop")
1533 (description "GNOME User Share is a small package that binds together
1534 various free software projects to bring easy to use user-level file
1535 sharing to the masses.")
1536 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1537 (license license:gpl2+)))
1538
1539 (define-public sushi
1540 (package
1541 (name "sushi")
1542 (version "3.32.1")
1543 (source (origin
1544 (method url-fetch)
1545 (uri (string-append "mirror://gnome/sources/" name "/"
1546 (version-major+minor version) "/"
1547 name "-" version ".tar.xz"))
1548 (sha256
1549 (base32
1550 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1551 (build-system meson-build-system)
1552 (arguments
1553 `(#:glib-or-gtk? #t
1554 #:phases
1555 (modify-phases %standard-phases
1556 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1557 (lambda* (#:key outputs #:allow-other-keys)
1558 (let ((prog (string-append (assoc-ref outputs "out")
1559 "/bin/sushi")))
1560 ;; Put existing typelibs before sushi's deps, so as to correctly
1561 ;; infer gdk-pixbuf
1562 (wrap-program prog
1563 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1564 #t))))))
1565 (native-inputs
1566 `(("glib:bin" ,glib "bin")
1567 ("gettext" ,gettext-minimal)
1568 ("gobject-introspection" ,gobject-introspection)
1569 ("pkg-config" ,pkg-config)))
1570 (inputs
1571 `(("clutter" ,clutter)
1572 ("clutter-gst" ,clutter-gst)
1573 ("clutter-gtk" ,clutter-gtk)
1574 ("evince" ,evince) ; For file previewing.
1575 ("freetype" ,freetype)
1576 ("gdk-pixbuf" ,gdk-pixbuf)
1577 ("gjs" ,gjs)
1578 ("gst-plugins-base" ,gst-plugins-base)
1579 ("gstreamer" ,gstreamer)
1580 ("gtksourceview" ,gtksourceview-3)
1581 ("harfbuzz" ,harfbuzz)
1582 ("libepoxy" ,libepoxy)
1583 ("libmusicbrainz" ,libmusicbrainz)
1584 ("libxml2" ,libxml2)
1585 ("neon" ,neon)
1586 ("webkitgtk" ,webkitgtk)))
1587 (synopsis "File previewer for the GNOME desktop")
1588 (description "Sushi is a DBus-activated service that allows applications to
1589 preview files on the GNOME desktop.")
1590 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1591 (license license:gpl2+)))
1592
1593 (define-public rygel
1594 (package
1595 (name "rygel")
1596 (version "0.38.3")
1597 (source (origin
1598 (method url-fetch)
1599 (uri (string-append "mirror://gnome/sources/" name "/"
1600 (version-major+minor version) "/"
1601 name "-" version ".tar.xz"))
1602 (sha256
1603 (base32
1604 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1605 (build-system gnu-build-system)
1606 (native-inputs
1607 `(("gettext" ,gettext-minimal)
1608 ("gobject-introspection" ,gobject-introspection)
1609 ("gtk-doc" ,gtk-doc)
1610 ("pkg-config" ,pkg-config)
1611 ("vala" ,vala)))
1612 (inputs
1613 `(("gdk-pixbuf" ,gdk-pixbuf)
1614 ("gssdp" ,gssdp)
1615 ("gstreamer" ,gstreamer)
1616 ("gst-plugins-base" ,gst-plugins-base)
1617 ("gtk+" ,gtk+)
1618 ("gupnp" ,gupnp)
1619 ("gupnp-av" ,gupnp-av)
1620 ("gupnp-dlna" ,gupnp-dlna)
1621 ("libgee" ,libgee)
1622 ("libmediaart" ,libmediaart)
1623 ("libsoup" ,libsoup)
1624 ("libxslt" ,libxslt)
1625 ("libunistring" ,libunistring)
1626 ("tracker" ,tracker)))
1627 (synopsis "Share audio, video, and pictures with other devices")
1628 (description
1629 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1630 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1631 pictures, and to control a media player on your home network.
1632
1633 Rygel achieves interoperability with other devices by trying to conform to the
1634 strict requirements of DLNA and by converting media on-the-fly to formats that
1635 client devices can handle.")
1636 (home-page "https://wiki.gnome.org/Projects/Rygel")
1637 (license (list
1638 ;; For logo (data/icons/*).
1639 license:cc-by-sa3.0
1640 ;; For all others.
1641 license:lgpl2.1+))))
1642
1643 (define-public libnma
1644 (package
1645 (name "libnma")
1646 (version "1.8.28")
1647 (source (origin
1648 (method url-fetch)
1649 (uri (string-append "mirror://gnome/sources/" name "/"
1650 (version-major+minor version) "/"
1651 name "-" version ".tar.xz"))
1652 (sha256
1653 (base32
1654 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1655 (build-system meson-build-system)
1656 (arguments
1657 `(#:phases
1658 (modify-phases %standard-phases
1659 (add-after 'unpack 'patch-docbook-xml
1660 (lambda* (#:key inputs #:allow-other-keys)
1661 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1662 "/xml/dtd/docbook")))
1663 (substitute* "libnma-docs.xml"
1664 (("http://.*/docbookx\\.dtd")
1665 (string-append xmldoc "/docbookx.dtd")))
1666 #t))))))
1667 (native-inputs
1668 `(("docbook-xml" ,docbook-xml-4.3)
1669 ("gettext" ,gettext-minimal)
1670 ("glib:bin" ,glib "bin")
1671 ("gtk-doc" ,gtk-doc)
1672 ("gobject-introspection" ,gobject-introspection)
1673 ("pkg-config" ,pkg-config)
1674 ("vala" ,vala)))
1675 (inputs
1676 `(("gcr" ,gcr)
1677 ("gtk+" ,gtk+)
1678 ("iso-codes" ,iso-codes)
1679 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1680 ("network-manager" ,network-manager)))
1681 (synopsis "Network Manager's applet library")
1682 (description "Libnma is an applet library for Network Manager. It was
1683 initially part of network-manager-applet and has now become a separate
1684 project.")
1685 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1686 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1687 ;; "LGPL-2.1+".
1688 (license license:gpl2+)))
1689
1690 (define-public gnome-menus
1691 (package
1692 (name "gnome-menus")
1693 (version "3.32.0")
1694 (source (origin
1695 (method url-fetch)
1696 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1697 (version-major+minor version) "/"
1698 name "-" version ".tar.xz"))
1699 (sha256
1700 (base32
1701 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1702 (build-system gnu-build-system)
1703 (native-inputs
1704 `(("gettext" ,gettext-minimal)
1705 ("glib" ,glib)
1706 ("pkg-config" ,pkg-config)))
1707 (synopsis "Menu support for GNOME desktop")
1708 (description "GNOME Menus contains the libgnome-menu library, the layout
1709 configuration files for the GNOME menu, as well as a simple menu editor.")
1710 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1711 (license license:lgpl2.0+)))
1712
1713 (define-public deja-dup
1714 (package
1715 (name "deja-dup")
1716 (version "40.6")
1717 (source (origin
1718 (method url-fetch)
1719 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1720 version "/deja-dup-" version ".tar.bz2"))
1721 (sha256
1722 (base32
1723 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1724 (build-system meson-build-system)
1725 (arguments
1726 `(#:glib-or-gtk? #t
1727 #:configure-flags
1728 (list
1729 ;; Otherwise, the RUNPATH will lack the final path component.
1730 (string-append "-Dc_link_args=-Wl,-rpath="
1731 (assoc-ref %outputs "out") "/lib/deja-dup"))
1732 #:phases
1733 (modify-phases %standard-phases
1734 (add-after 'unpack 'patch-paths
1735 (lambda* (#:key inputs #:allow-other-keys)
1736 (let ((python (assoc-ref inputs "python")))
1737 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1738 "libdeja/tests/scripts/instance-error.test")
1739 (("/bin/rm")
1740 (which "rm")))
1741 (substitute* "libdeja/tests/runner.vala"
1742 (("/bin/sh")
1743 (which "sh")))
1744 (substitute* "libdeja/tests/scripts/instance-error.test"
1745 (("`which python3`")
1746 (string-append python "/bin/python3"))))))
1747 (add-after 'unpack 'patch-libgpg-error
1748 (lambda* (#:key inputs #:allow-other-keys)
1749 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1750 (substitute* "meson.build"
1751 (("(gpgerror_libs = ).*" _ var)
1752 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1753 #t))
1754 (add-after 'unpack 'skip-gtk-update-icon-cache
1755 ;; Don't create 'icon-theme.cache'.
1756 (lambda _
1757 (substitute* "data/post-install.sh"
1758 (("gtk-update-icon-cache") "true"))
1759 #t)))))
1760 (inputs
1761 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1762 ("duplicity" ,duplicity)
1763 ("python" ,python)
1764 ("python-pygobject" ,python-pygobject)
1765 ("gtk+" ,gtk+)
1766 ("json-glib" ,json-glib)
1767 ("libnotify" ,libnotify)
1768 ("libgpg-error" ,libgpg-error)
1769 ("libsecret" ,libsecret)
1770 ("libsoup" ,libsoup)
1771 ("packagekit" ,packagekit)))
1772 (native-inputs
1773 `(("appstream-glib" ,appstream-glib)
1774 ("desktop-file-utils" ,desktop-file-utils)
1775 ("gettext" ,gettext-minimal)
1776 ("glib" ,glib "bin") ; for glib-compile-schemas.
1777 ("gobject-introspection" ,gobject-introspection)
1778 ("itstool" ,itstool)
1779 ("pkg-config" ,pkg-config)
1780 ("vala" ,vala)))
1781 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1782 (synopsis "Simple backup tool, for regular encrypted backups")
1783 (description
1784 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1785 uses duplicity as the backend, which supports incremental backups and storage
1786 either on a local, or remote machine via a number of methods.")
1787 (license license:gpl3+)))
1788
1789 (define-public gnome-commander
1790 (package
1791 (name "gnome-commander")
1792 (version "1.10.3")
1793 (source
1794 (origin
1795 (method url-fetch)
1796 (uri (string-append "mirror://gnome/sources/" name "/"
1797 (version-major+minor version) "/"
1798 "gnome-commander-" version ".tar.xz"))
1799 (sha256
1800 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1801 (build-system glib-or-gtk-build-system)
1802 (native-inputs
1803 `(("desktop-file-utils" ,desktop-file-utils)
1804 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1805 ("gettext" ,gettext-minimal)
1806 ("glib:bin" ,glib "bin")
1807 ("gobject-introspection" ,gobject-introspection)
1808 ("googletest" ,googletest)
1809 ("intltool" ,intltool)
1810 ("itstool" ,itstool)
1811 ("libtool" ,libtool)
1812 ("pkg-config" ,pkg-config)))
1813 (inputs
1814 `(("gconf" ,gconf)
1815 ("gnome-vfs" ,gnome-vfs)
1816 ("gtk+" ,gtk+-2)
1817 ("libxml2" ,libxml2)))
1818 (home-page "https://gcmd.github.io/")
1819 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1820 (description
1821 "GNOME Commander is a two-pane graphical file manager using GNOME
1822 libraries. It aims to fulfill the demands of more advanced users who
1823 like to focus on file management, their work through special applications
1824 and running smart commands.")
1825 (license license:gpl2+)))
1826
1827 (define-public gnome-user-docs
1828 (package
1829 (name "gnome-user-docs")
1830 (version "3.32.3")
1831 (source
1832 (origin
1833 (method url-fetch)
1834 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1835 (version-major+minor version)
1836 "/gnome-user-docs-" version ".tar.xz"))
1837 (sha256
1838 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1839 (build-system gnu-build-system)
1840 (native-inputs
1841 `(("gettext" ,gettext-minimal)
1842 ("itstool" ,itstool)
1843 ("pkg-config" ,pkg-config)
1844 ("xmllint" ,libxml2)))
1845 (synopsis "User documentation for the GNOME desktop")
1846 (description
1847 "The GNOME User Documentation explains how to use the GNOME desktop and its
1848 components. It covers usage and setup of the core GNOME programs by end-users
1849 and system administrators.")
1850 (home-page "https://live.gnome.org/DocumentationProject")
1851 (license license:cc-by3.0)))
1852
1853 (define-public gnome-getting-started-docs
1854 (package
1855 (name "gnome-getting-started-docs")
1856 (version "3.32.2")
1857 (source
1858 (origin
1859 (method url-fetch)
1860 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1861 (version-major+minor version)
1862 "/gnome-getting-started-docs-" version ".tar.xz"))
1863 (sha256
1864 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1865 (build-system gnu-build-system)
1866 (native-inputs
1867 `(("gettext" ,gettext-minimal)
1868 ("itstool" ,itstool)
1869 ("pkg-config" ,pkg-config)
1870 ("xmllint" ,libxml2)))
1871 (synopsis "Help to get new users started with the GNOME desktop")
1872 (description
1873 "The GNOME Getting Started Documentation contains GNOME's intuitive
1874 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1875
1876 It is normally used together with @command{gnome-initial-setup}, but is also
1877 useful as a tutorial and users' guide for new or less experienced users.")
1878 (home-page "https://live.gnome.org/DocumentationProject")
1879 (license license:cc-by-sa3.0)))
1880
1881 (define-public dia
1882 ;; This version from GNOME's repository includes fixes for compiling with
1883 ;; recent versions of the build tools. The latest activity on the
1884 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1885 ;; fixes since.
1886 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1887 (revision "2"))
1888 (package
1889 (name "dia")
1890 (version (git-version "0.97.3" revision commit))
1891 (source (origin
1892 (method git-fetch)
1893 (uri (git-reference
1894 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1895 (commit commit)))
1896 (file-name (git-file-name name version))
1897 (sha256
1898 (base32
1899 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1900 (build-system meson-build-system)
1901 (inputs
1902 `(("graphene" ,graphene)
1903 ("gtk+" ,gtk+-2)
1904 ("libxml2" ,libxml2)
1905 ("libxslt" ,libxslt)
1906 ("poppler" ,poppler)
1907 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1908 ;; ERROR: Unknown method "dependency" in object.
1909 ("python-2" ,python-2)))
1910 (native-inputs
1911 `(("appstream-glib" ,appstream-glib)
1912 ("docbook-xsl" ,docbook-xsl)
1913 ("glib" ,glib "bin")
1914 ("intltool" ,intltool)
1915 ("pkg-config" ,pkg-config)))
1916 (home-page "https://wiki.gnome.org/Apps/Dia")
1917 (synopsis "Diagram creation for GNOME")
1918 (description "Dia can be used to draw different types of diagrams, and
1919 includes support for UML static structure diagrams (class diagrams), entity
1920 relationship modeling, and network diagrams. The program supports various file
1921 formats like PNG, SVG, PDF and EPS.")
1922 (license license:gpl2+))))
1923
1924 ;; This is the unstable release, but it is required for the current stable
1925 ;; release of gvfs (1.38.1).
1926 (define-public libgdata
1927 (package
1928 (name "libgdata")
1929 (version "0.17.9")
1930 (source (origin
1931 (method url-fetch)
1932 (uri (string-append "mirror://gnome/sources/" name "/"
1933 (version-major+minor version) "/"
1934 name "-" version ".tar.xz"))
1935 (sha256
1936 (base32
1937 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1938 (build-system gnu-build-system)
1939 (arguments
1940 '(#:phases
1941 (modify-phases %standard-phases
1942 (add-before 'check 'disable-failing-tests
1943 (lambda _
1944 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1945 ;; They have been removed in libgdata 0.17.6, so just do the same.
1946 (substitute* "gdata/tests/Makefile"
1947 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1948 #t)))))
1949 (native-inputs
1950 `(("glib:bin" ,glib "bin")
1951 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1952 ("intltool" ,intltool)
1953 ("pkg-config" ,pkg-config)
1954 ("uhttpmock" ,uhttpmock)))
1955 (inputs
1956 `(("cyrus-sasl" ,cyrus-sasl)
1957 ("glib-networking" ,glib-networking)))
1958 (propagated-inputs
1959 `(("gcr" ,gcr)
1960 ("glib" ,glib)
1961 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1962 ("json-glib" ,json-glib)
1963 ("liboauth" ,liboauth)
1964 ("libsoup" ,libsoup)
1965 ("libxml2" ,libxml2)))
1966 (home-page "https://wiki.gnome.org/Projects/libgdata")
1967 (synopsis "Library for accessing online service APIs")
1968 (description
1969 "libgdata is a GLib-based library for accessing online service APIs using
1970 the GData protocol — most notably, Google's services. It provides APIs to
1971 access the common Google services, and has full asynchronous support.")
1972 (license license:lgpl2.1+)))
1973
1974 (define-public libgxps
1975 (package
1976 (name "libgxps")
1977 (version "0.3.2")
1978 (source (origin
1979 (method url-fetch)
1980 (uri (string-append "mirror://gnome/sources/" name "/"
1981 (version-major+minor version) "/"
1982 name "-" version ".tar.xz"))
1983 (sha256
1984 (base32
1985 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1986 (build-system meson-build-system)
1987 (native-inputs
1988 `(("gobject-introspection" ,gobject-introspection)
1989 ("pkg-config" ,pkg-config)))
1990 (inputs
1991 `(("gtk+" ,gtk+)
1992 ("libjpeg" ,libjpeg-turbo)
1993 ("lcms" ,lcms)
1994 ("libtiff" ,libtiff)))
1995 (propagated-inputs
1996 ;; In Requires of libgxps.pc.
1997 `(("cairo" ,cairo)
1998 ("glib" ,glib)
1999 ("libarchive" ,libarchive)))
2000 (home-page "https://wiki.gnome.org/Projects/libgxps")
2001 (synopsis "GObject-based library for handling and rendering XPS documents")
2002 (description
2003 "libgxps is a GObject-based library for handling and rendering XPS
2004 documents. This package also contains binaries that can convert XPS documents
2005 to other formats.")
2006 (license license:lgpl2.1+)))
2007
2008 (define-public gnome-characters
2009 (package
2010 (name "gnome-characters")
2011 (version "3.30.0")
2012 (source
2013 (origin
2014 (method url-fetch)
2015 (uri (string-append "mirror://gnome/sources/"
2016 "gnome-characters/" (version-major+minor version)
2017 "/gnome-characters-" version ".tar.xz"))
2018 (sha256
2019 (base32
2020 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2021 (build-system meson-build-system)
2022 (arguments
2023 `(#:glib-or-gtk? #t
2024 #:phases (modify-phases %standard-phases
2025 (add-after 'install 'wrap
2026 (lambda* (#:key outputs #:allow-other-keys)
2027 ;; GNOME Characters needs Typelib files from GTK and
2028 ;; gnome-desktop.
2029 (wrap-program (string-append (assoc-ref outputs "out")
2030 "/bin/gnome-characters")
2031 `("GI_TYPELIB_PATH" ":" prefix
2032 (,(getenv "GI_TYPELIB_PATH"))))
2033 #t)))))
2034 (native-inputs
2035 `(("gettext" ,gettext-minimal)
2036 ("glib:bin" ,glib "bin")
2037 ("gtk+:bin" ,gtk+ "bin")
2038 ("pkg-config" ,pkg-config)
2039 ("python" ,python-minimal)))
2040 (inputs
2041 `(("gjs" ,gjs)
2042 ("gtk+" ,gtk+)
2043 ("libunistring" ,libunistring)
2044 ("gnome-desktop" ,gnome-desktop)))
2045 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2046 (synopsis "Find and insert unusual characters")
2047 (description "Characters is a simple utility application to find
2048 and insert unusual characters. It allows you to quickly find the
2049 character you are looking for by searching for keywords.")
2050 (license license:bsd-3)))
2051
2052 (define-public gnome-common
2053 (package
2054 (name "gnome-common")
2055 (version "3.18.0")
2056 (source
2057 (origin
2058 (method url-fetch)
2059 (uri (string-append "mirror://gnome/sources/" name "/"
2060 (version-major+minor version) "/"
2061 name "-" version ".tar.xz"))
2062 (sha256
2063 (base32
2064 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2065 (build-system gnu-build-system)
2066 (home-page "https://www.gnome.org/")
2067 (synopsis "Bootstrap GNOME modules built from Git")
2068 (description "gnome-common contains various files needed to bootstrap
2069 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2070 can be used to configure a source directory checked out from Git and some
2071 commonly used macros.")
2072 (license license:gpl2+)))
2073
2074 (define-public gnome-contacts
2075 (package
2076 (name "gnome-contacts")
2077 (version "3.34")
2078 (source (origin
2079 (method url-fetch)
2080 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2081 (version-major+minor version) "/"
2082 name "-" version ".tar.xz"))
2083 (sha256
2084 (base32
2085 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2086 (build-system meson-build-system)
2087 (arguments
2088 `(#:configure-flags '("-Dcheese=false")
2089 #:phases
2090 (modify-phases %standard-phases
2091 (add-after 'unpack 'generate-vapis
2092 (lambda* (#:key inputs #:allow-other-keys)
2093 ;; To generate goa's missing .vapi file
2094 (define goa
2095 (assoc-ref inputs "gnome-online-accounts:lib"))
2096
2097 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2098 "--library=goa-1.0"
2099 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2100 #t))
2101 (add-after 'unpack 'skip-gtk-update-icon-cache
2102 ;; Don't create 'icon-theme.cache'.
2103 (lambda _
2104 (substitute* "build-aux/meson_post_install.py"
2105 (("gtk-update-icon-cache") "true"))
2106 #t)))))
2107 (native-inputs
2108 `(("glib:bin" ,glib "bin")
2109 ("pkg-config" ,pkg-config)))
2110 (inputs
2111 `(("docbook-xml" ,docbook-xml)
2112 ("dockbook-xsl" ,docbook-xsl)
2113 ("evolution-data-server" ,evolution-data-server)
2114 ("gettext" ,gettext-minimal)
2115 ("gnome-desktop" ,gnome-desktop)
2116 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2117 ("gobject-introspection" ,gobject-introspection)
2118 ("gst-plugins-base" ,gst-plugins-base)
2119 ("gtk+" ,gtk+)
2120 ("libgee" ,libgee)
2121 ("libxslt" ,libxslt)
2122 ("telepathy-glib" ,telepathy-glib)
2123 ("vala" ,vala)))
2124 (propagated-inputs
2125 `(("folks" ,folks)
2126 ("telepathy-mission-control" ,telepathy-mission-control)))
2127 (synopsis "GNOME's integrated address book")
2128 (description
2129 "GNOME Contacts organizes your contact information from online and
2130 offline sources, providing a centralized place for managing your contacts.")
2131 (home-page "https://wiki.gnome.org/Apps/Contacts")
2132 (license license:gpl2+)))
2133
2134 (define-public gnome-desktop
2135 (package
2136 (name "gnome-desktop")
2137 (version "3.34.2")
2138 (source
2139 (origin
2140 (method url-fetch)
2141 (uri (string-append "mirror://gnome/sources/" name "/"
2142 (version-major+minor version) "/"
2143 name "-" version ".tar.xz"))
2144 (sha256
2145 (base32
2146 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2147 (build-system meson-build-system)
2148 (arguments
2149 '(#:phases
2150 (modify-phases %standard-phases
2151 (add-before 'configure 'patch-path
2152 (lambda* (#:key inputs #:allow-other-keys)
2153 (let ((libc (assoc-ref inputs "libc")))
2154 (substitute* "libgnome-desktop/gnome-languages.c"
2155 (("\"locale\"")
2156 (string-append "\"" libc "/bin/locale\"")))
2157 #t)))
2158 (add-before 'configure 'patch-bubblewrap
2159 (lambda* (#:key inputs #:allow-other-keys)
2160 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2161 (("\"bwrap\",")
2162 (string-append "\"" (which "bwrap") "\","))
2163 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2164 (string-append "\"--ro-bind\", \""
2165 (%store-directory)
2166 "\", \""
2167 (%store-directory)
2168 "\","))
2169 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2170 #t))
2171 (add-before 'check 'pre-check
2172 (lambda* (#:key inputs #:allow-other-keys)
2173 ;; Tests require a running X server and locales.
2174 (system "Xvfb :1 &")
2175 (setenv "DISPLAY" ":1")
2176 (setenv "GUIX_LOCPATH"
2177 (string-append (assoc-ref inputs "glibc-locales")
2178 "/lib/locale"))
2179 #t)))))
2180 (native-inputs
2181 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2182 ("glibc-locales" ,glibc-locales) ; for tests
2183 ("gobject-introspection" ,gobject-introspection)
2184 ("itstool" ,itstool)
2185 ("intltool" ,intltool)
2186 ("pkg-config" ,pkg-config)
2187 ("xmllint" ,libxml2)
2188 ("xorg-server" ,xorg-server-for-tests)))
2189 (propagated-inputs
2190 ;; Required by gnome-desktop-3.0.pc.
2191 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2192 ("gtk+" ,gtk+)
2193 ("iso-codes" ,iso-codes)
2194 ("libseccomp" ,libseccomp)
2195 ("libx11" ,libx11)
2196 ("xkeyboard-config" ,xkeyboard-config)))
2197 (inputs
2198 `(("gdk-pixbuf" ,gdk-pixbuf)
2199 ("glib" ,glib)
2200 ("bubblewrap" ,bubblewrap)
2201 ("libxext" ,libxext)
2202 ("libxkbfile" ,libxkbfile)
2203 ("libxrandr" ,libxrandr)))
2204 (home-page "https://www.gnome.org/")
2205 (synopsis
2206 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2207 (description
2208 "The libgnome-desktop library provides API shared by several applications
2209 on the desktop, but that cannot live in the platform for various reasons.
2210 There is no API or ABI guarantee, although we are doing our best to provide
2211 stability. Documentation for the API is available with gtk-doc.
2212
2213 The gnome-about program helps find which version of GNOME is installed.")
2214 ; Some bits under the LGPL.
2215 (license license:gpl2+)))
2216
2217 (define-public gnome-doc-utils
2218 (package
2219 (name "gnome-doc-utils")
2220 (version "0.20.10")
2221 (source
2222 (origin
2223 (method url-fetch)
2224 (uri (string-append "mirror://gnome/sources/" name "/"
2225 (version-major+minor version) "/"
2226 name "-" version ".tar.xz"))
2227 (sha256
2228 (base32
2229 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2230 (build-system gnu-build-system)
2231 (native-inputs
2232 `(("intltool" ,intltool)
2233 ("docbook-xml" ,docbook-xml-4.4)
2234 ("python2-libxml2" ,python2-libxml2)
2235 ("libxml2" ,libxml2)
2236 ("libxslt" ,libxslt)
2237 ("pkg-config" ,pkg-config)
2238 ("python-2" ,python-2)))
2239 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2240 (synopsis
2241 "Documentation utilities for the Gnome project")
2242 (description
2243 "Gnome-doc-utils is a collection of documentation utilities for the
2244 Gnome project. It includes xml2po tool which makes it easier to translate
2245 and keep up to date translations of documentation.")
2246 (license license:gpl2+))) ; xslt under lgpl
2247
2248 (define-public gnome-disk-utility
2249 (package
2250 (name "gnome-disk-utility")
2251 (version "3.34.0")
2252 (source (origin
2253 (method url-fetch)
2254 (uri (string-append "mirror://gnome/sources/" name "/"
2255 (version-major+minor version) "/"
2256 name "-" version ".tar.xz"))
2257 (sha256
2258 (base32
2259 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2260 (build-system meson-build-system)
2261 (arguments
2262 '(#:configure-flags '("-Dlogind=libelogind")
2263 #:phases
2264 (modify-phases %standard-phases
2265 (add-after 'unpack 'skip-gtk-update-icon-cache
2266 ;; Don't create 'icon-theme.cache'.
2267 (lambda _
2268 (substitute* "meson_post_install.py"
2269 (("gtk-update-icon-cache") "true"))
2270 #t)))))
2271 (native-inputs
2272 `(("glib:bin" ,glib "bin")
2273 ("intltool" ,intltool)
2274 ("pkg-config" ,pkg-config)
2275 ("docbook-xml" ,docbook-xml)
2276 ("docbook-xsl" ,docbook-xsl)
2277 ("libxml2" ,libxml2)
2278 ("libxslt" ,libxslt)))
2279 (inputs
2280 `(("elogind" ,elogind)
2281 ("glib" ,glib)
2282 ("appstream-glib" ,appstream-glib)
2283 ("gnome-settings-daemon" ,gnome-settings-daemon)
2284 ("gtk+" ,gtk+)
2285 ("libcanberra" ,libcanberra)
2286 ("libdvdread" ,libdvdread)
2287 ("libnotify" ,libnotify)
2288 ("libpwquality" ,libpwquality)
2289 ("libsecret" ,libsecret)
2290 ("udisks" ,udisks)))
2291 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2292 (synopsis "Disk management utility for GNOME")
2293 (description "Disk management utility for GNOME.")
2294 (license license:gpl2+)))
2295
2296 (define-public gnome-font-viewer
2297 (package
2298 (name "gnome-font-viewer")
2299 (version "3.30.0")
2300 (source (origin
2301 (method url-fetch)
2302 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2303 (version-major+minor version)
2304 "/gnome-font-viewer-" version ".tar.xz"))
2305 (sha256
2306 (base32
2307 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2308 (build-system meson-build-system)
2309 (arguments
2310 '(#:phases
2311 (modify-phases %standard-phases
2312 (add-after 'unpack 'patch-post-install-script
2313 (lambda _
2314 (substitute* "meson-postinstall.sh"
2315 (("update-desktop-database") (which "true")))
2316 #t))
2317 (add-after 'install 'patch-thumbnailer
2318 (lambda* (#:key outputs #:allow-other-keys)
2319 (let ((out (assoc-ref outputs "out")))
2320 (substitute*
2321 (string-append
2322 out
2323 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2324 (("gnome-thumbnail-font")
2325 (string-append out "/bin/gnome-thumbnail-font"))))
2326 #t)))))
2327 (native-inputs
2328 `(("gettext" ,gettext-minimal)
2329 ("glib:bin" ,glib "bin")
2330 ("pkg-config" ,pkg-config)))
2331 (inputs
2332 `(("glib" ,glib)
2333 ("gnome-desktop" ,gnome-desktop)
2334 ("gtk+" ,gtk+)))
2335 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2336 (synopsis "GNOME Fonts")
2337 (description "Application to show you the fonts installed on your computer
2338 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2339 the font would look under various sizes.")
2340 (license license:gpl2+)))
2341
2342 (define-public gcr
2343 (package
2344 (name "gcr")
2345 (version "3.34.0")
2346 (source (origin
2347 (method url-fetch)
2348 (uri (string-append "mirror://gnome/sources/" name "/"
2349 (version-major+minor version) "/"
2350 name "-" version ".tar.xz"))
2351 (sha256
2352 (base32
2353 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2354 (build-system gnu-build-system)
2355 (arguments
2356 '(#:phases
2357 (modify-phases %standard-phases
2358 ;; These fail because /var/lib/dbus/machine-id is not present in the
2359 ;; build environment.
2360 (add-after 'unpack 'disable-failing-tests
2361 (lambda _
2362 (substitute* "Makefile.in"
2363 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2364 ""))
2365 #t))
2366 (add-before 'check 'pre-check
2367 (lambda _
2368 ;; Some tests expect to write to $HOME.
2369 (setenv "HOME" "/tmp")
2370 #t)))))
2371 (inputs
2372 `(("dbus" ,dbus)
2373 ("gnupg" ,gnupg) ;called as a child process during tests
2374 ("libgcrypt" ,libgcrypt)))
2375 (native-inputs
2376 `(("python" ,python-wrapper) ;for tests
2377 ("pkg-config" ,pkg-config)
2378 ("gettext" ,gettext-minimal)
2379 ("glib" ,glib "bin")
2380 ("gobject-introspection" ,gobject-introspection)
2381 ("libxml2" ,libxml2)
2382 ("vala" ,vala)
2383 ("xsltproc" ,libxslt)))
2384 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2385 (propagated-inputs
2386 `(("p11-kit" ,p11-kit)
2387 ("glib" ,glib)
2388 ("gtk+" ,gtk+)))
2389 (home-page "https://www.gnome.org")
2390 (synopsis "Libraries for displaying certificates and accessing key stores")
2391 (description
2392 "The GCR package contains libraries used for displaying certificates and
2393 accessing key stores. It also provides the viewer for crypto files on the
2394 GNOME Desktop.")
2395 (license license:lgpl2.1+)))
2396
2397 (define-public gdl
2398 (package
2399 (name "gdl")
2400 (version "3.34.0")
2401 (source (origin
2402 (method git-fetch)
2403 (uri (git-reference
2404 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2405 (commit (string-append "GDL_" (string-map (match-lambda
2406 (#\. #\_)
2407 (c c))
2408 version)))))
2409 (file-name (git-file-name name version))
2410 (sha256
2411 (base32
2412 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2413 (build-system gnu-build-system)
2414 (native-inputs
2415 `(("autoconf" ,autoconf)
2416 ("automake" ,automake)
2417 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2418 ("gnome-common" ,gnome-common)
2419 ("gtk-doc" ,gtk-doc)
2420 ("intltool" ,intltool)
2421 ("pkg-config" ,pkg-config)
2422 ("libtool" ,libtool)
2423 ("which" ,which)))
2424 (inputs
2425 `(("libxml2" ,libxml2)))
2426 (propagated-inputs
2427 ;; The gdl-3.0.pc file 'Requires' GTK+.
2428 `(("gtk+" ,gtk+)))
2429 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2430 (synopsis "GNOME docking library")
2431 (description "This library provides docking features for gtk+.")
2432 (license license:lgpl2.1+)))
2433
2434 ;;; A minimal variant used to break a cycle with Inkscape.
2435 (define-public gdl-minimal
2436 (package
2437 (inherit gdl)
2438 (name "gdl-minimal")
2439 (arguments
2440 '(#:phases
2441 (modify-phases %standard-phases
2442 (add-after 'unpack 'disable-doc-generation
2443 ;; XXX: There is no easy way to disable generating the
2444 ;; documentation.
2445 (lambda _
2446 (substitute* "configure.in"
2447 (("GTK_DOC_CHECK.*") "")
2448 (("docs/.*") ""))
2449 (substitute* "Makefile.am"
2450 (("gdl docs po") "gdl po"))
2451 #t)))))
2452 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2453
2454 (define-public libgnome-keyring
2455 (package
2456 (name "libgnome-keyring")
2457 (version "3.12.0")
2458 (source (origin
2459 (method url-fetch)
2460 (uri (string-append "mirror://gnome/sources/" name "/"
2461 (version-major+minor version) "/"
2462 name "-" version ".tar.xz"))
2463 (sha256
2464 (base32
2465 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2466 (build-system gnu-build-system)
2467 (inputs
2468 `(("libgcrypt" ,libgcrypt)
2469 ("dbus" ,dbus)))
2470 (native-inputs
2471 `(("pkg-config" ,pkg-config)
2472 ("glib" ,glib "bin")
2473 ("intltool" ,intltool)))
2474 (propagated-inputs
2475 ;; Referred to in .h files and .pc.
2476 `(("glib" ,glib)))
2477 (home-page "https://www.gnome.org")
2478 (synopsis "Accessing passwords from the GNOME keyring")
2479 (description
2480 "Client library to access passwords from the GNOME keyring.")
2481
2482 ;; Though a couple of files are LGPLv2.1+.
2483 (license license:lgpl2.0+)))
2484
2485 (define-public gnome-keyring
2486 (package
2487 (name "gnome-keyring")
2488 (version "3.34.0")
2489 (source (origin
2490 (method url-fetch)
2491 (uri (string-append "mirror://gnome/sources/" name "/"
2492 (version-major+minor version) "/"
2493 name "-" version ".tar.xz"))
2494 (sha256
2495 (base32
2496 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2497 (build-system gnu-build-system)
2498 (arguments
2499 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2500 ;not exist
2501 #:configure-flags
2502 (list
2503 (string-append "--with-pkcs11-config="
2504 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2505 (string-append "--with-pkcs11-modules="
2506 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2507 #:phases
2508 (modify-phases %standard-phases
2509 (add-after 'unpack 'fix-/bin/sh-reference
2510 (lambda _
2511 (substitute* "po/Makefile.in.in"
2512 (("/bin/sh") (which "sh")))
2513 #t))
2514 (add-after 'unpack 'fix-docbook
2515 (lambda* (#:key inputs #:allow-other-keys)
2516 (substitute* "docs/Makefile.am"
2517 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2518 (string-append (assoc-ref inputs "docbook-xsl")
2519 "/xml/xsl/docbook-xsl-"
2520 ,(package-version docbook-xsl)
2521 "/manpages/docbook.xsl")))
2522 (setenv "XML_CATALOG_FILES"
2523 (string-append (assoc-ref inputs "docbook-xml")
2524 "/xml/dtd/docbook/catalog.xml"))
2525 ;; Rerun the whole thing to avoid version mismatch ("This is
2526 ;; Automake 1.15.1, but the definition used by this
2527 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2528 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2529 (invoke "autoconf")
2530 (invoke "aclocal")
2531 (invoke "automake" "-ac"))))))
2532 (inputs
2533 `(("libgcrypt" ,libgcrypt)
2534 ("linux-pam" ,linux-pam)
2535 ("openssh" ,openssh)
2536 ("dbus" ,dbus)
2537 ("gcr" ,gcr)))
2538 (native-inputs
2539 `(("pkg-config" ,pkg-config)
2540 ("glib" ,glib "bin")
2541 ("glib" ,glib) ; for m4 macros
2542 ("python" ,python-2) ;for tests
2543 ("intltool" ,intltool)
2544 ("autoconf" ,autoconf)
2545 ("automake" ,automake)
2546 ("libxslt" ,libxslt) ;for documentation
2547 ("docbook-xml" ,docbook-xml-4.2)
2548 ("docbook-xsl" ,docbook-xsl)))
2549 (propagated-inputs
2550 `(("gcr" ,gcr)))
2551 (home-page "https://www.gnome.org")
2552 (synopsis "Daemon to store passwords and encryption keys")
2553 (description
2554 "gnome-keyring is a program that keeps passwords and other secrets for
2555 users. It is run as a daemon in the session, similar to ssh-agent, and other
2556 applications locate it via an environment variable or D-Bus.
2557
2558 The program can manage several keyrings, each with its own master password,
2559 and there is also a session keyring which is never stored to disk, but
2560 forgotten when the session ends.")
2561 (license license:lgpl2.1+)))
2562
2563 (define-public evince
2564 (package
2565 (name "evince")
2566 (version "3.36.5")
2567 (source (origin
2568 (method url-fetch)
2569 (uri (string-append "mirror://gnome/sources/evince/"
2570 (version-major+minor version) "/"
2571 "evince-" version ".tar.xz"))
2572 (sha256
2573 (base32
2574 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2575 (build-system glib-or-gtk-build-system)
2576 (arguments
2577 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2578 #:phases
2579 (modify-phases %standard-phases
2580 (add-before 'install 'skip-gtk-update-icon-cache
2581 ;; Don't create 'icon-theme.cache'.
2582 (lambda _
2583 (substitute* "data/Makefile"
2584 (("gtk-update-icon-cache") "true"))
2585 #t)))))
2586 (inputs
2587 `(("libarchive" ,libarchive)
2588 ("libgxps" ,libgxps)
2589 ("libspectre" ,libspectre)
2590 ("djvulibre" ,djvulibre)
2591 ("ghostscript" ,ghostscript)
2592 ("poppler" ,poppler)
2593 ("libtiff" ,libtiff)
2594 ;; TODO:
2595 ;; Build libkpathsea as a shared library for DVI support.
2596 ;; ("libkpathsea" ,texlive-bin)
2597 ("gnome-desktop" ,gnome-desktop)
2598 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2599 ("gspell" ,gspell)
2600 ("libgnome-keyring" ,libgnome-keyring)
2601 ("adwaita-icon-theme" ,adwaita-icon-theme)
2602 ("gdk-pixbuf" ,gdk-pixbuf)
2603 ("atk" ,atk)
2604 ("pango" ,pango)
2605 ("gtk+" ,gtk+)
2606 ("glib" ,glib)
2607 ("libxml2" ,libxml2)
2608 ("libsm" ,libsm)
2609 ("libice" ,libice)
2610 ("shared-mime-info" ,shared-mime-info)
2611 ("dconf" ,dconf)
2612 ("libcanberra" ,libcanberra)
2613 ("libsecret" ,libsecret)
2614
2615 ;; For tests.
2616 ("dogtail" ,python2-dogtail)))
2617 (native-inputs
2618 `(("itstool" ,itstool)
2619 ("intltool" ,intltool)
2620 ("glib" ,glib "bin")
2621 ("gobject-introspection" ,gobject-introspection)
2622 ("pkg-config" ,pkg-config)
2623 ("xmllint" ,libxml2)))
2624 (home-page "https://www.gnome.org/projects/evince/")
2625 (synopsis "GNOME's document viewer")
2626 (description
2627 "Evince is a document viewer for multiple document formats. It
2628 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2629 of Evince is to replace the multiple document viewers that exist
2630 on the GNOME Desktop with a single simple application.")
2631 (license license:gpl2+)))
2632
2633 (define-public gsettings-desktop-schemas
2634 (package
2635 (name "gsettings-desktop-schemas")
2636 (version "3.34.0")
2637 (source
2638 (origin
2639 (method url-fetch)
2640 (uri (string-append "mirror://gnome/sources/" name "/"
2641 (version-major+minor version) "/"
2642 name "-" version ".tar.xz"))
2643 (sha256
2644 (base32
2645 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2646 (build-system meson-build-system)
2647 (arguments
2648 '(#:phases (modify-phases %standard-phases
2649 (add-after 'unpack 'patch-schemas
2650 (lambda* (#:key inputs #:allow-other-keys)
2651 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2652 (substitute* (find-files "schemas"
2653 "\\.gschema\\.xml\\.in$")
2654 ;; Provide the correct file name of the default GNOME
2655 ;; background, 'adwaita-timed.xml'.
2656 (("@datadir@/backgrounds/gnome")
2657 (string-append theme "/share/backgrounds/gnome"))
2658 ;; Do not reference fonts, that may not exist.
2659 (("'Source Code Pro 10'") "'Monospace 11'"))
2660 #t))))))
2661 (inputs
2662 `(("glib" ,glib)
2663 ("gnome-backgrounds" ,gnome-backgrounds)))
2664 (native-inputs
2665 `(("intltool" ,intltool)
2666 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2667 ("gobject-introspection" ,gobject-introspection)
2668 ("pkg-config" ,pkg-config)))
2669 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2670 (synopsis
2671 "GNOME settings for various desktop components")
2672 (description
2673 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2674 for settings shared by various components of the GNOME desktop.")
2675 (license license:lgpl2.1+)))
2676
2677 (define-public python-liblarch
2678 (package
2679 (name "python-liblarch")
2680 (version "3.0.1")
2681 (source
2682 (origin
2683 (method git-fetch)
2684 (uri (git-reference
2685 (url "https://github.com/getting-things-gnome/liblarch")
2686 (commit (string-append "v" version))))
2687 (file-name (git-file-name name version))
2688 (sha256
2689 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2690 (build-system python-build-system)
2691 (arguments
2692 `(#:phases
2693 (modify-phases %standard-phases
2694 (add-before 'check 'start-xserver
2695 (lambda* (#:key inputs #:allow-other-keys)
2696 (system (format #f "~a/bin/Xvfb :1 &"
2697 (assoc-ref inputs "xorg-server")))
2698 (setenv "DISPLAY" ":1")
2699 #t)))))
2700 (native-inputs
2701 `(("xorg-server" ,xorg-server-for-tests)))
2702 (inputs
2703 `(("gtk+" ,gtk+)))
2704 (propagated-inputs
2705 `(("python-pygobject" ,python-pygobject)))
2706 (home-page "https://wiki.gnome.org/Projects/liblarch")
2707 (synopsis "Library to easily handle complex data structures")
2708 (description
2709 "Liblarch is a Python library built to easily handle data structures such
2710 as lists, trees and acyclic graphs. There's also a GTK binding that will
2711 allow you to use your data structure in a @code{Gtk.Treeview}.
2712
2713 Liblarch support multiple views of one data structure and complex filtering.
2714 That way, you have a clear separation between your data themselves (Model)
2715 and how they are displayed (View).")
2716 (license license:lgpl3+)))
2717
2718 (define-public gtg
2719 (package
2720 (name "gtg")
2721 (version "0.4")
2722 (source
2723 (origin
2724 (method git-fetch)
2725 (uri (git-reference
2726 (url "https://github.com/getting-things-gnome/gtg")
2727 (commit (string-append "v" version))))
2728 (file-name (git-file-name name version))
2729 (sha256
2730 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2731 (build-system meson-build-system)
2732 (arguments
2733 `(#:glib-or-gtk? #t
2734 #:phases
2735 (modify-phases %standard-phases
2736 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2737 (lambda* (#:key outputs #:allow-other-keys)
2738 (let ((prog (string-append (assoc-ref outputs "out")
2739 "/bin/gtg"))
2740 (pylib (string-append (assoc-ref outputs "out")
2741 "/lib/python"
2742 ,(version-major+minor
2743 (package-version python))
2744 "/site-packages")))
2745 (wrap-program prog
2746 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2747 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2748 #t))))))
2749 (native-inputs
2750 `(("desktop-file-utils" ,desktop-file-utils)
2751 ("gettext" ,gettext-minimal)
2752 ("glib:bin" ,glib "bin")
2753 ("gobject-introspection" ,gobject-introspection)
2754 ("gtk+:bin" ,gtk+ "bin")
2755 ("pkg-config" ,pkg-config)))
2756 (inputs
2757 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2758 ("gtk+" ,gtk+)
2759 ("python-dbus" ,python-dbus)
2760 ("python-liblarch" ,python-liblarch)
2761 ("python-pycairo" ,python-pycairo)
2762 ("python-pygobject" ,python-pygobject)
2763 ("python-pyxdg" ,python-pyxdg)))
2764 (home-page "https://wiki.gnome.org/Apps/GTG")
2765 (synopsis "Personal organizer for the GNOME desktop")
2766 (description
2767 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2768 organizer for the GNOME desktop environment inspired by the Getting Things
2769 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2770 and ease of use in mind so it can be used as more than just GTD software.
2771 GTG is intended to help you track everything you need to do and need to
2772 know, from small tasks to large projects.")
2773 (license license:gpl3+)))
2774
2775 (define-public icon-naming-utils
2776 (package
2777 (name "icon-naming-utils")
2778 (version "0.8.90")
2779 (source
2780 (origin
2781 (method url-fetch)
2782 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2783 version ".tar.bz2"))
2784 (sha256
2785 (base32
2786 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2787 (build-system gnu-build-system)
2788 (inputs
2789 `(("perl" ,perl)
2790 ("perl-xml-simple" ,perl-xml-simple)))
2791 (arguments
2792 '(#:phases
2793 (modify-phases %standard-phases
2794 (add-after 'install 'set-load-paths
2795 ;; Tell 'icon-name-mapping' where XML::Simple is.
2796 (lambda* (#:key outputs #:allow-other-keys)
2797 (let* ((out (assoc-ref outputs "out"))
2798 (prog (string-append out "/libexec/icon-name-mapping")))
2799 (wrap-program
2800 prog
2801 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2802 #t)))))
2803 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2804 (synopsis
2805 "Utility to implement the Freedesktop Icon Naming Specification")
2806 (description
2807 "To help with the transition to the Freedesktop Icon Naming
2808 Specification, the icon naming utility maps the icon names used by the
2809 GNOME and KDE desktops to the icon names proposed in the specification.")
2810 (license license:lgpl2.1+)))
2811
2812 (define-public gnome-icon-theme
2813 (package
2814 (name "gnome-icon-theme")
2815 (version "3.12.0")
2816 (source
2817 (origin
2818 (method url-fetch)
2819 (uri (string-append "mirror://gnome/sources/" name "/"
2820 (version-major+minor version) "/"
2821 name "-" version ".tar.xz"))
2822 (sha256
2823 (base32
2824 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2825 (build-system gnu-build-system)
2826 (arguments
2827 '(#:configure-flags
2828 ;; Don't create 'icon-theme.cache'.
2829 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2830 (true (string-append coreutils "/bin/true")))
2831 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2832 (native-inputs
2833 `(("icon-naming-utils" ,icon-naming-utils)
2834 ("intltool" ,intltool)
2835 ("pkg-config" ,pkg-config)))
2836 (home-page "https://wiki.gnome.org/Personalization")
2837 (synopsis "GNOME icon theme")
2838 (description "Icons for the GNOME desktop.")
2839 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2840
2841 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2842 (define-public adwaita-icon-theme
2843 (package (inherit gnome-icon-theme)
2844 (name "adwaita-icon-theme")
2845 (version "3.34.3")
2846 (source (origin
2847 (method url-fetch)
2848 (uri (string-append "mirror://gnome/sources/" name "/"
2849 (version-major+minor version) "/"
2850 name "-" version ".tar.xz"))
2851 (sha256
2852 (base32
2853 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2854 (native-inputs
2855 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2856
2857 (define-public tango-icon-theme
2858 (package
2859 (name "tango-icon-theme")
2860 (version "0.8.90")
2861 (source (origin
2862 (method url-fetch)
2863 (uri (string-append "http://tango.freedesktop.org/releases/"
2864 "tango-icon-theme-" version ".tar.bz2"))
2865 (sha256
2866 (base32
2867 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2868 (build-system gnu-build-system)
2869 (native-inputs
2870 `(("icon-naming-utils" ,icon-naming-utils)
2871 ("intltool" ,intltool)
2872 ("imagemagick" ,imagemagick)
2873 ("pkg-config" ,pkg-config)))
2874 (home-page "http://tango-project.org/")
2875 (synopsis "Tango icon theme")
2876 (description "This is an icon theme that follows the Tango visual
2877 guidelines.")
2878 (license license:public-domain)))
2879
2880 (define-public shared-mime-info
2881 (package
2882 (name "shared-mime-info")
2883 (version "1.15")
2884 (source (origin
2885 (method url-fetch)
2886 (uri (string-append
2887 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2888 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2889 ".tar.xz"))
2890 (sha256
2891 (base32
2892 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2893 (build-system gnu-build-system)
2894 (arguments
2895 ;; The build system appears not to be parallel-safe.
2896 '(#:parallel-build? #f))
2897 (inputs
2898 `(("glib" ,glib)
2899 ("libxml2" ,libxml2)))
2900 (native-inputs
2901 `(("gettext" ,gettext-minimal)
2902 ("itstool" ,itstool)
2903 ("pkg-config" ,pkg-config)))
2904 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2905 (synopsis "Database of common MIME types")
2906 (description
2907 "The shared-mime-info package contains the core database of common types
2908 and the update-mime-database command used to extend it. It requires glib2 to
2909 be installed for building the update command. Additionally, it uses intltool
2910 for translations, though this is only a dependency for the maintainers. This
2911 database is translated at Transifex.")
2912 (license license:gpl2+)))
2913
2914 (define-public system-config-printer
2915 (package
2916 (name "system-config-printer")
2917 (version "1.5.15")
2918 (source
2919 (origin
2920 (method url-fetch)
2921 (uri (string-append
2922 "https://github.com/OpenPrinting/system-config-printer/releases/"
2923 "download/v" version
2924 "/system-config-printer-" version ".tar.xz"))
2925 (sha256
2926 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2927 (build-system glib-or-gtk-build-system)
2928 (arguments
2929 `(#:imported-modules ((guix build python-build-system)
2930 ,@%glib-or-gtk-build-system-modules)
2931 #:phases
2932 (modify-phases %standard-phases
2933 (add-after 'unpack 'patch-Makefile.am
2934 (lambda _
2935 ;; The Makefile generates some scripts, so set a valid shebang
2936 (substitute* "Makefile.am"
2937 (("/bin/bash") (which "bash")))
2938 (delete-file "configure")
2939 #t))
2940 (add-after 'unpack 'patch-docbook-xml
2941 (lambda* (#:key inputs #:allow-other-keys)
2942 ;; Modify the man XML otherwise xmlto tries to access the network
2943 (substitute* "man/system-config-printer.xml"
2944 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2945 (string-append (assoc-ref inputs "docbook-xml")
2946 "/xml/dtd/docbook/")))
2947 #t))
2948 (add-after 'install 'wrap-for-python
2949 (@@ (guix build python-build-system) wrap))
2950 (add-after 'install 'wrap
2951 (lambda* (#:key outputs #:allow-other-keys)
2952 (let ((out (assoc-ref outputs "out"))
2953 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2954 (for-each
2955 (lambda (program)
2956 (wrap-program program
2957 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2958 (map (lambda (name)
2959 (string-append out "/bin/" name))
2960 '("system-config-printer"
2961 "system-config-printer-applet"
2962 "install-printerdriver"
2963 "scp-dbus-service"))))
2964 #t)))))
2965 (inputs
2966 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2967 ("gobject-introspection" ,gobject-introspection)
2968 ("python" ,python)
2969 ("cups" ,cups)
2970 ("gtk+" ,gtk+)
2971 ("python-dbus" ,python-dbus)
2972 ("python-pygobject" ,python-pygobject)
2973 ("python-pycups" ,python-pycups)
2974 ("python-requests" ,python-requests)
2975 ("python-pycairo" ,python-pycairo)
2976 ("libnotify" ,libnotify)
2977 ("packagekit" ,packagekit)))
2978 (native-inputs
2979 `(("pkg-config" ,pkg-config)
2980 ("desktop-file-utils" ,desktop-file-utils)
2981 ("glib" ,glib)
2982 ("autoconf" ,autoconf)
2983 ("automake" ,automake)
2984 ("intltool" ,intltool)
2985 ("xmlto" ,xmlto)
2986 ("docbook-xml" ,docbook-xml-4.1.2)
2987 ("docbook-xsl" ,docbook-xsl)
2988 ("libxml2" ,libxml2)))
2989 (home-page "https://github.com/zdohnal/system-config-printer")
2990 (synopsis "CUPS administration tool")
2991 (description
2992 "system-config-printer is a CUPS administration tool. It's written in
2993 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2994 configuring CUPS.")
2995 (license license:gpl2+)))
2996
2997 (define-public hicolor-icon-theme
2998 (package
2999 (name "hicolor-icon-theme")
3000 (version "0.17")
3001 (source
3002 (origin
3003 (method url-fetch)
3004 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3005 "hicolor-icon-theme-" version ".tar.xz"))
3006 (sha256
3007 (base32
3008 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3009 (build-system gnu-build-system)
3010 (arguments
3011 `(#:tests? #f)) ; no check target
3012 (home-page "https://icon-theme.freedesktop.org/releases/")
3013 (synopsis
3014 "Freedesktop icon theme")
3015 (description
3016 "Freedesktop icon theme.")
3017 (license license:gpl2)))
3018
3019 (define-public libnotify
3020 (package
3021 (name "libnotify")
3022 (version "0.7.9")
3023 (source
3024 (origin
3025 (method url-fetch)
3026 (uri (string-append "mirror://gnome/sources/" name "/"
3027 (version-major+minor version) "/"
3028 name "-" version ".tar.xz"))
3029 (sha256
3030 (base32
3031 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3032 (build-system meson-build-system)
3033 (arguments
3034 `(#:phases
3035 (modify-phases %standard-phases
3036 (add-after 'unpack 'fix-docbook
3037 (lambda* (#:key inputs #:allow-other-keys)
3038 ;; Don't attempt to download XSL schema.
3039 (substitute* "meson.build"
3040 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3041 /manpages/docbook.xsl")
3042 (string-append (assoc-ref inputs "docbook-xsl")
3043 "/xml/xsl/docbook-xsl-"
3044 ,(package-version docbook-xsl)
3045 "/manpages/docbook.xsl")))
3046 #t)))))
3047 (propagated-inputs
3048 `(;; In Requires of libnotify.pc.
3049 ("gdk-pixbuf" ,gdk-pixbuf)
3050 ("glib" ,glib)))
3051 (inputs
3052 `(("gtk+" ,gtk+)
3053 ("libpng" ,libpng)))
3054 (native-inputs
3055 `(("pkg-config" ,pkg-config)
3056 ("glib" ,glib "bin")
3057 ("gobject-introspection" ,gobject-introspection)
3058
3059 ;; For the documentation.
3060 ("gtk-doc" ,gtk-doc)
3061 ("xsltproc" ,libxslt)
3062 ("docbook-xsl" ,docbook-xsl)))
3063 (home-page "https://developer-next.gnome.org/libnotify/")
3064 (synopsis
3065 "GNOME desktop notification library")
3066 (description
3067 "Libnotify is a library that sends desktop notifications to a
3068 notification daemon, as defined in the Desktop Notifications spec. These
3069 notifications can be used to inform the user about an event or display
3070 some form of information without getting in the user's way.")
3071 (license license:lgpl2.1+)))
3072
3073 (define-public libpeas
3074 (package
3075 (name "libpeas")
3076 (version "1.28.0")
3077 (source
3078 (origin
3079 (method url-fetch)
3080 (uri (string-append "mirror://gnome/sources/" name "/"
3081 (version-major+minor version) "/"
3082 name "-" version ".tar.xz"))
3083 (sha256
3084 (base32
3085 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3086 (build-system meson-build-system)
3087 (arguments
3088 '(#:phases
3089 (modify-phases %standard-phases
3090 (add-before 'check 'start-xserver
3091 (lambda* (#:key inputs #:allow-other-keys)
3092 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3093 (disp ":1"))
3094 (setenv "DISPLAY" disp)
3095 ;; Tests require a running X server.
3096 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3097 #t))))))
3098 (inputs
3099 `(("gtk+" ,gtk+)
3100 ("glade" ,glade3)
3101 ("python" ,python)
3102 ("python-pygobject" ,python-pygobject)))
3103 (native-inputs
3104 `(("pkg-config" ,pkg-config)
3105 ("gettext" ,gettext-minimal)
3106 ("glib:bin" ,glib "bin")
3107 ("gobject-introspection" ,gobject-introspection)
3108 ("xorg-server" ,xorg-server-for-tests)))
3109 (propagated-inputs
3110 ;; The .pc file "Requires" gobject-introspection.
3111 `(("gobject-introspection" ,gobject-introspection)))
3112 (home-page "https://wiki.gnome.org/Libpeas")
3113 (synopsis "GObject plugin system")
3114 (description
3115 "Libpeas is a gobject-based plugin engine, targeted at giving every
3116 application the chance to assume its own extensibility. It also has a set of
3117 features including, but not limited to: multiple extension points; on-demand
3118 (lazy) programming language support for C, Python and JS; simplicity of the
3119 API.")
3120 (license license:lgpl2.0+)))
3121
3122 (define-public gtkglext
3123 (package
3124 (name "gtkglext")
3125 (version "1.2.0")
3126 (source (origin
3127 (method url-fetch)
3128 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3129 version "/gtkglext-" version ".tar.gz"))
3130 (sha256
3131 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3132 (patches (search-patches
3133 "gtkglext-disable-disable-deprecated.patch"))))
3134 (build-system gnu-build-system)
3135 (arguments
3136 `(#:phases
3137 (modify-phases %standard-phases
3138 ;; Fix a collision between a local variable and a definition from
3139 ;; glibc's string.h.
3140 (add-after 'unpack 'fix-collision
3141 (lambda _
3142 (substitute* "gdk/gdkglshapes.c"
3143 ((" index") " triangle_index"))
3144 #t)))))
3145 (inputs `(("gtk+" ,gtk+-2)
3146 ("mesa" ,mesa)
3147 ("glu" ,glu)
3148 ("libx11" ,libx11)
3149 ("libxt" ,libxt)))
3150 (native-inputs `(("pkg-config" ,pkg-config)
3151 ("glib" ,glib "bin")))
3152 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3153 (home-page "https://projects.gnome.org/gtkglext")
3154 (synopsis "OpenGL extension to GTK+")
3155 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3156 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3157 API add-ons to make GTK+ widgets OpenGL-capable.")
3158 (license license:lgpl2.1+)))
3159
3160 (define-public glade3
3161 (package
3162 (name "glade")
3163 (version "3.36.0")
3164 (source (origin
3165 (method url-fetch)
3166 (uri (string-append "mirror://gnome/sources/" name "/"
3167 (version-major+minor version) "/"
3168 name "-" version ".tar.xz"))
3169 (sha256
3170 (base32
3171 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3172 (build-system glib-or-gtk-build-system)
3173 (arguments
3174 `(#:phases
3175 (modify-phases %standard-phases
3176 (add-before 'configure 'fix-docbook
3177 (lambda* (#:key inputs #:allow-other-keys)
3178 (substitute* "man/Makefile.in"
3179 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3180 (string-append (assoc-ref inputs "docbook-xsl")
3181 "/xml/xsl/docbook-xsl-"
3182 ,(package-version docbook-xsl)
3183 "/manpages/docbook.xsl")))
3184 #t))
3185 (add-before 'check 'pre-check
3186 (lambda _
3187 (setenv "HOME" "/tmp")
3188 ;; Tests require a running X server.
3189 (system "Xvfb :1 &")
3190 (setenv "DISPLAY" ":1")
3191 #t)))))
3192 (inputs
3193 `(("gtk+" ,gtk+)
3194 ("libxml2" ,libxml2)))
3195 (native-inputs
3196 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3197 ("intltool" ,intltool)
3198 ("itstool" ,itstool)
3199 ("libxslt" ,libxslt) ;for xsltproc
3200 ("docbook-xml" ,docbook-xml-4.2)
3201 ("docbook-xsl" ,docbook-xsl)
3202 ("python" ,python-2)
3203 ("pkg-config" ,pkg-config)
3204 ("xorg-server" ,xorg-server-for-tests)))
3205 (home-page "https://glade.gnome.org")
3206 (synopsis "GTK+ rapid application development tool")
3207 (description "Glade is a rapid application development (RAD) tool to
3208 enable quick & easy development of user interfaces for the GTK+ toolkit and
3209 the GNOME desktop environment.")
3210 (license license:lgpl2.0+)
3211 (native-search-paths (list (search-path-specification
3212 (variable "GLADE_CATALOG_SEARCH_PATH")
3213 (files '("share/glade/catalogs")))
3214 (search-path-specification
3215 (variable "GLADE_MODULE_SEARCH_PATH")
3216 (files '("lib/glade/modules")))))))
3217
3218 (define-public libcroco
3219 (package
3220 (name "libcroco")
3221 (version "0.6.13")
3222 (source (origin
3223 (method url-fetch)
3224 (uri (string-append "mirror://gnome/sources/" name "/"
3225 (version-major+minor version) "/"
3226 name "-" version ".tar.xz"))
3227 (sha256
3228 (base32
3229 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3230 (build-system gnu-build-system)
3231 (native-inputs
3232 `(("pkg-config" ,pkg-config)))
3233 (inputs
3234 `(("glib" ,glib)
3235 ("libxml2" ,libxml2)
3236 ("zlib" ,zlib)))
3237 (home-page "https://github.com/GNOME/libcroco")
3238 (synopsis "CSS2 parsing and manipulation library")
3239 (description
3240 "Libcroco is a standalone CSS2 parsing and manipulation library.
3241 The parser provides a low level event driven SAC-like API and a CSS object
3242 model like API. Libcroco provides a CSS2 selection engine and an experimental
3243 XML/CSS rendering engine.")
3244
3245 ;; LGPLv2.1-only.
3246 (license license:lgpl2.1)))
3247
3248 (define-public libgsf
3249 (package
3250 (name "libgsf")
3251 (version "1.14.47")
3252 (source (origin
3253 (method url-fetch)
3254 (uri (string-append "mirror://gnome/sources/" name "/"
3255 (version-major+minor version) "/"
3256 name "-" version ".tar.xz"))
3257 (sha256
3258 (base32
3259 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3260 (build-system gnu-build-system)
3261 (arguments
3262 '(#:configure-flags '("--disable-static")))
3263 (native-inputs
3264 `(("pkg-config" ,pkg-config)
3265 ("gettext" ,gettext-minimal)
3266
3267 ;; For tests.
3268 ("perl" ,perl)
3269 ("perl-xml-parser" ,perl-xml-parser)))
3270 (inputs
3271 `(("zlib" ,zlib)
3272 ("bzip2" ,bzip2)))
3273 (propagated-inputs
3274 `(("gdk-pixbuf" ,gdk-pixbuf)
3275 ("glib" ,glib)
3276 ("libxml2" ,libxml2)))
3277 (home-page "https://www.gnome.org/projects/libgsf")
3278 (synopsis "GNOME's Structured File Library")
3279 (description
3280 "Libgsf aims to provide an efficient extensible I/O abstraction for
3281 dealing with different structured file formats.")
3282
3283 ;; LGPLv2.1-only.
3284 (license license:lgpl2.1)))
3285
3286 (define-public librsvg
3287 (package
3288 (name "librsvg")
3289 (version "2.40.21")
3290 (source (origin
3291 (method url-fetch)
3292 (uri (string-append "mirror://gnome/sources/" name "/"
3293 (version-major+minor version) "/"
3294 name "-" version ".tar.xz"))
3295 (sha256
3296 (base32
3297 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3298 (build-system gnu-build-system)
3299 (arguments
3300 `(#:configure-flags
3301 (list "--disable-static"
3302 "--enable-vala") ; needed for e.g. gnome-mines
3303 #:phases
3304 (modify-phases %standard-phases
3305 (add-before 'configure 'pre-configure
3306 (lambda* (#:key inputs #:allow-other-keys)
3307 (substitute* "gdk-pixbuf-loader/Makefile.in"
3308 ;; By default the gdk-pixbuf loader is installed under
3309 ;; gdk-pixbuf's prefix. Work around that.
3310 (("gdk_pixbuf_moduledir = .*$")
3311 (string-append "gdk_pixbuf_moduledir = "
3312 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3313 "loaders\n"))
3314 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3315 (("gdk_pixbuf_cache_file = .*$")
3316 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3317 #t))
3318 (add-before 'check 'remove-failing-tests
3319 (lambda _
3320 (with-directory-excursion "tests/fixtures/reftests"
3321 (for-each delete-file
3322 '(;; This test fails on i686:
3323 "svg1.1/masking-path-04-b.svg"
3324 ;; This test fails on armhf:
3325 "svg1.1/masking-mask-01-b.svg"
3326 ;; This test fails on aarch64:
3327 "bugs/777834-empty-text-children.svg")))
3328 #t)))))
3329 (native-inputs
3330 `(("pkg-config" ,pkg-config)
3331 ("vala" ,vala)
3332 ("glib" ,glib "bin") ; glib-mkenums, etc.
3333 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3334 (inputs
3335 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3336 ;; this ancient version of librsvg.
3337 ("pango" ,pango-1.42)
3338 ("libcroco" ,libcroco)
3339 ("bzip2" ,bzip2)
3340 ("libgsf" ,libgsf)
3341 ("libxml2" ,libxml2)))
3342 (propagated-inputs
3343 ;; librsvg-2.0.pc refers to all of that.
3344 `(("cairo" ,cairo)
3345 ("gdk-pixbuf" ,gdk-pixbuf)
3346 ("glib" ,glib)))
3347 (home-page "https://wiki.gnome.org/LibRsvg")
3348 (synopsis "Render SVG files using Cairo")
3349 (description
3350 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3351 library.")
3352 (license license:lgpl2.0+)))
3353
3354 (define-public librsvg-next
3355 (package
3356 (name "librsvg")
3357 (version "2.50.2")
3358 (source (origin
3359 (method url-fetch)
3360 (uri (string-append "mirror://gnome/sources/librsvg/"
3361 (version-major+minor version) "/"
3362 "librsvg-" version ".tar.xz"))
3363 (sha256
3364 (base32
3365 "1lsnl08b5pjf01q3agixjd53islw5rqkc38r31rlmm2crrqz44b2"))
3366 (modules '((guix build utils)))
3367 (snippet
3368 '(begin (delete-file-recursively "vendor")
3369 #t))))
3370 (build-system cargo-build-system)
3371 (outputs '("out" "doc"))
3372 (arguments
3373 `(#:modules
3374 ((guix build cargo-build-system)
3375 (guix build utils)
3376 ((guix build gnu-build-system) #:prefix gnu:))
3377 #:cargo-inputs
3378 (("rust-bitflags" ,rust-bitflags-1)
3379 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3380 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3381 ("rust-cast" ,rust-cast-0.2)
3382 ("rust-cssparser" ,rust-cssparser-0.27)
3383 ("rust-data-url" ,rust-data-url-0.1)
3384 ("rust-encoding" ,rust-encoding-0.2)
3385 ("rust-float-cmp" ,rust-float-cmp-0.8)
3386 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3387 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3388 ("rust-gio" ,rust-gio-0.8)
3389 ("rust-gio-sys" ,rust-gio-sys-0.9)
3390 ("rust-glib" ,rust-glib-0.9)
3391 ("rust-glib-sys" ,rust-glib-sys-0.9)
3392 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3393 ("rust-itertools" ,rust-itertools-0.9)
3394 ("rust-language-tags" ,rust-language-tags-0.2)
3395 ("rust-libc" ,rust-libc-0.2)
3396 ("rust-locale-config" ,rust-locale-config-0.3)
3397 ("rust-markup5ever" ,rust-markup5ever-0.10)
3398 ("rust-nalgebra" ,rust-nalgebra-0.21)
3399 ("rust-num-traits" ,rust-num-traits-0.2)
3400 ("rust-once-cell" ,rust-once-cell-1)
3401 ("rust-pkg-config" ,rust-pkg-config-0.3)
3402 ("rust-pango" ,rust-pango-0.8)
3403 ("rust-pango-sys" ,rust-pango-sys-0.9)
3404 ("rust-pangocairo" ,rust-pangocairo-0.9)
3405 ("rust-rayon" ,rust-rayon-1)
3406 ("rust-rctree" ,rust-rctree-0.3)
3407 ("rust-rgb" ,rust-rgb-0.8)
3408 ("rust-regex" ,rust-regex-1)
3409 ("rust-selectors" ,rust-selectors-0.22)
3410 ("rust-string-cache" ,rust-string-cache-0.8)
3411 ("rust-tinyvec" ,rust-tinyvec-0.3)
3412 ("rust-url" ,rust-url-2)
3413 ("rust-xml5ever" ,rust-xml5ever-0.16))
3414 #:cargo-development-inputs
3415 (("rust-assert-cmd" ,rust-assert-cmd-1)
3416 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3417 ("rust-chrono" ,rust-chrono-0.4)
3418 ("rust-criterion" ,rust-criterion-0.3)
3419 ("rust-float-cmp" ,rust-float-cmp-0.8)
3420 ("rust-lopdf" ,rust-lopdf-0.25)
3421 ("rust-png" ,rust-png-0.16)
3422 ("rust-predicates" ,rust-predicates-1)
3423 ("rust-tempfile" ,rust-tempfile-3))
3424 #:phases
3425 (modify-phases %standard-phases
3426 (add-after 'unpack 'patch-docbook-xml
3427 (lambda* (#:key inputs #:allow-other-keys)
3428 (with-directory-excursion "doc"
3429 (substitute* "rsvg-docs.xml"
3430 (("http://www.oasis-open.org/docbook/xml/4.3/")
3431 (string-append (assoc-ref inputs "docbook-xml")
3432 "/xml/dtd/docbook/"))))
3433 #t))
3434 (add-after 'unpack 'prepare-for-build
3435 (lambda _
3436 ;; In lieu of #:make-flags
3437 (setenv "CC" ,(cc-for-target))
3438 ;; Something about the build environment resists building
3439 ;; successfully with the '--locked' flag.
3440 (substitute* '("Makefile.am" "Makefile.in")
3441 (("--locked") ""))
3442 #t))
3443 (add-before 'configure 'pre-configure
3444 (lambda _
3445 (substitute* "gdk-pixbuf-loader/Makefile.in"
3446 ;; By default the gdk-pixbuf loader is installed under
3447 ;; gdk-pixbuf's prefix. Work around that.
3448 (("gdk_pixbuf_moduledir = .*$")
3449 (string-append "gdk_pixbuf_moduledir = "
3450 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3451 "loaders\n"))
3452 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3453 (("gdk_pixbuf_cache_file = .*$")
3454 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3455 #t))
3456 (add-after 'configure 'gnu-configure
3457 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3458 ((assoc-ref gnu:%standard-phases 'configure)
3459 #:native-inputs native-inputs
3460 #:inputs inputs
3461 #:outputs outputs
3462 #:configure-flags
3463 (list "--disable-static"
3464 "--enable-vala"
3465 (string-append "--with-html-dir="
3466 (assoc-ref %outputs "doc")
3467 "/share/gtk-doc/html")))))
3468 (add-after 'configure 'dont-vendor-self
3469 (lambda* (#:key vendor-dir #:allow-other-keys)
3470 ;; Don't keep the whole tarball in the vendor directory
3471 (delete-file-recursively
3472 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3473 #t))
3474 (replace 'build
3475 (assoc-ref gnu:%standard-phases 'build))
3476 (add-before 'check 'ignore-failing-tests
3477 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3478 (lambda _
3479 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3480 (("fn background_color_option_invalid_color_yields_error" all)
3481 (string-append "#[ignore] " all))
3482 (("fn empty_input_yields_error" all)
3483 (string-append "#[ignore] " all))
3484 (("fn empty_svg_yields_error" all)
3485 (string-append "#[ignore] " all))
3486 (("fn env_source_data_epoch_empty" all)
3487 (string-append "#[ignore] " all))
3488 (("fn env_source_data_epoch_no_digits" all)
3489 (string-append "#[ignore] " all))
3490 (("fn env_source_data_epoch_trailing_garbage" all)
3491 (string-append "#[ignore] " all))
3492 (("fn export_id_option_error" all)
3493 (string-append "#[ignore] " all))
3494 (("fn huge_zoom_factor_yields_error" all)
3495 (string-append "#[ignore] " all))
3496 (("fn multiple_input_files_not_allowed_for_png_output" all)
3497 (string-append "#[ignore] " all))
3498 (("fn stylesheet_option_error" all)
3499 (string-append "#[ignore] " all)))
3500 #t))
3501 (replace 'check
3502 (lambda* args
3503 ((assoc-ref gnu:%standard-phases 'check)
3504 #:test-target "check")))
3505 (replace 'install
3506 (assoc-ref gnu:%standard-phases 'install)))))
3507 (native-inputs
3508 `(("docbook-xml" ,docbook-xml-4.3)
3509 ("glib" ,glib "bin")
3510 ("gobject-introspection" ,gobject-introspection)
3511 ("pkg-config" ,pkg-config)
3512 ("python" ,python-wrapper)
3513 ("ruby" ,ruby)
3514 ("vala" ,vala)))
3515 (inputs
3516 `(("bzip2" ,bzip2)
3517 ("fontconfig" ,fontconfig)
3518 ("freetype" ,freetype)
3519 ("harfbuzz" ,harfbuzz)
3520 ("libcroco" ,libcroco)
3521 ("libgsf" ,libgsf)
3522 ("libxml2" ,libxml2)
3523 ("pango" ,pango)))
3524 (propagated-inputs
3525 `(("cairo" ,cairo)
3526 ("gdk-pixbuf" ,gdk-pixbuf)
3527 ("glib" ,glib)))
3528 (synopsis "SVG rendering library")
3529 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3530 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3531 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3532 diagrams.")
3533 (home-page "https://wiki.gnome.org/LibRsvg")
3534 (license license:lgpl2.1+)))
3535
3536 (define-public libidl
3537 (package
3538 (name "libidl")
3539 (version "0.8.14")
3540 (source (origin
3541 (method url-fetch)
3542 (uri (string-append "mirror://gnome/sources/libIDL/"
3543 (version-major+minor version) "/"
3544 "libIDL-" version ".tar.bz2"))
3545 (sha256
3546 (base32
3547 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3548 (build-system gnu-build-system)
3549 (inputs `(("glib" ,glib)))
3550 (native-inputs
3551 `(("pkg-config" ,pkg-config)
3552 ("flex" ,flex)
3553 ("bison" ,bison)))
3554 (home-page "http://freecode.com/projects/libidl")
3555 (synopsis "Create trees of CORBA Interface Definition Language files")
3556 (description "Libidl is a library for creating trees of CORBA Interface
3557 Definition Language (idl) files, which is a specification for defining
3558 portable interfaces. libidl was initially written for orbit (the orb from the
3559 GNOME project, and the primary means of libidl distribution). However, the
3560 functionality was designed to be as reusable and portable as possible.")
3561 (properties `((upstream-name . "libIDL")))
3562 (license license:lgpl2.0+)))
3563
3564
3565 (define-public orbit2
3566 (package
3567 (name "orbit2")
3568 (version "2.14.19")
3569 (source (origin
3570 (method url-fetch)
3571 (uri (let ((upstream-name "ORBit2"))
3572 (string-append "mirror://gnome/sources/" upstream-name "/"
3573 (version-major+minor version) "/"
3574 upstream-name "-" version ".tar.bz2")))
3575 (sha256
3576 (base32
3577 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3578 (build-system gnu-build-system)
3579 (arguments
3580 `(;; The "timeout-server" test hangs when run in parallel.
3581 #:parallel-tests? #f
3582 #:configure-flags
3583 '(;; We don't need static libraries, plus they don't build reproducibly
3584 ;; (non-deterministic ordering of .o files in the archive.)
3585 "--disable-static"
3586
3587 ;; The programmer kindly gives us a hook to turn off deprecation
3588 ;; warnings ...
3589 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3590 ;; ... which they then completly ignore !!
3591 #:phases
3592 (modify-phases %standard-phases
3593 (add-before 'configure 'ignore-deprecations
3594 (lambda _
3595 (substitute* "linc2/src/Makefile.in"
3596 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3597 #t)))))
3598 (inputs `(("glib" ,glib)
3599 ("libidl" ,libidl)))
3600 (native-inputs
3601 `(("pkg-config" ,pkg-config)))
3602 (home-page "https://projects.gnome.org/orbit2/")
3603 (synopsis "CORBA 2.4-compliant Object Request Broker")
3604 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3605 featuring mature C, C++ and Python bindings.")
3606 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3607 ;; a version. SOME of the code files have licence notices for GPLv2+.
3608 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3609 (license license:gpl2+)
3610 (properties `((upstream-name . "ORBit2")))))
3611
3612
3613 (define-public libbonobo
3614 (package
3615 (name "libbonobo")
3616 (version "2.32.1")
3617 (source (origin
3618 (method url-fetch)
3619 (uri (string-append "mirror://gnome/sources/" name "/"
3620 (version-major+minor version)
3621 "/" name "-" version ".tar.bz2"))
3622 (sha256
3623 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3624 (patches (search-patches
3625 "libbonobo-activation-test-race.patch"))))
3626 (build-system gnu-build-system)
3627 (arguments
3628 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3629 `(#:configure-flags
3630 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3631 ;; ... which they then completly ignore !!
3632 #:phases
3633 (modify-phases %standard-phases
3634 (add-before 'configure 'ignore-deprecations
3635 (lambda _
3636 (substitute* "activation-server/Makefile.in"
3637 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3638 #t)))
3639
3640 ;; There's apparently a race condition between the server stub
3641 ;; generation and linking of the example under 'samples/echo' that can
3642 ;; lead do undefined references when building in parallel, as reported
3643 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3644 ;; Thus, disable parallel builds.
3645 #:parallel-build? #f))
3646 (inputs `(("popt" ,popt)
3647 ("libxml2" ,libxml2)))
3648 ;; The following are Required by the .pc file
3649 (propagated-inputs
3650 `(("glib" ,glib)
3651 ("orbit2" ,orbit2)))
3652 (native-inputs
3653 `(("intltool" ,intltool)
3654 ("pkg-config" ,pkg-config)
3655 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3656 ("flex" ,flex)
3657 ("bison" ,bison)))
3658 (home-page "https://developer.gnome.org/libbonobo/")
3659 (synopsis "Framework for creating reusable components for use in GNOME applications")
3660 (description "Bonobo is a framework for creating reusable components for
3661 use in GNOME applications, built on top of CORBA.")
3662 ;; Licence not explicitly stated. Source files contain no licence notices.
3663 ;; Tarball contains text of both GPLv2 and LGPLv2
3664 ;; GPLv2 covers both conditions
3665 (license license:gpl2+)))
3666
3667
3668 (define-public gconf
3669 (package
3670 (name "gconf")
3671 (version "3.2.6")
3672 (source (origin
3673 (method url-fetch)
3674 (uri
3675 (let ((upstream-name "GConf"))
3676 (string-append "mirror://gnome/sources/" upstream-name "/"
3677 (version-major+minor version) "/"
3678 upstream-name "-" version ".tar.xz")))
3679 (sha256
3680 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3681 (build-system gnu-build-system)
3682 (inputs `(("dbus-glib" ,dbus-glib)
3683 ("libxml2" ,libxml2)))
3684 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3685 ("orbit2" ,orbit2)))
3686 (native-inputs
3687 `(("intltool" ,intltool)
3688 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3689 ("pkg-config" ,pkg-config)))
3690 (home-page "https://projects.gnome.org/gconf/")
3691 (synopsis "Store application preferences")
3692 (description "Gconf is a system for storing application preferences. It
3693 is intended for user preferences; not arbitrary data storage.")
3694 (license license:lgpl2.0+)
3695 (properties '((upstream-name . "GConf")))))
3696
3697
3698 (define-public gnome-mime-data
3699 (package
3700 (name "gnome-mime-data")
3701 (version "2.18.0")
3702 (source (origin
3703 (method url-fetch)
3704 (uri (string-append "mirror://gnome/sources/" name "/"
3705 (version-major+minor version) "/"
3706 name "-" version ".tar.bz2"))
3707 (sha256
3708 (base32
3709 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3710 (build-system gnu-build-system)
3711 (native-inputs
3712 `(("perl" ,perl)
3713 ("intltool" ,intltool)))
3714 (arguments
3715 '(#:phases (modify-phases %standard-phases
3716 (add-after 'configure 'use-our-intltool
3717 (lambda _
3718 ;; Do not use the bundled intltool commands, which lack
3719 ;; the "dotless @INC" fixes of our 'intltool' package.
3720 (substitute* (find-files "." "^Makefile$")
3721 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3722 (string-append "INTLTOOL_" tool " = intltool-"
3723 (string-downcase tool) "\n")))
3724 #t)))))
3725 (home-page "https://www.gnome.org")
3726 (synopsis "Base MIME and Application database for GNOME")
3727 (description "GNOME Mime Data is a module which contains the base MIME
3728 and Application database for GNOME. The data stored by this module is
3729 designed to be accessed through the MIME functions in GnomeVFS.")
3730 (license license:gpl2+)))
3731
3732
3733 (define-public gnome-vfs
3734 (package
3735 (name "gnome-vfs")
3736 (version "2.24.4")
3737 (source (origin
3738 (method url-fetch)
3739 (uri (string-append "mirror://gnome/sources/" name "/"
3740 (version-major+minor version) "/"
3741 name "-" version ".tar.bz2"))
3742 (sha256
3743 (base32
3744 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3745 (build-system gnu-build-system)
3746 (arguments
3747 `(#:phases
3748 (modify-phases %standard-phases
3749 (add-before 'configure 'ignore-deprecations
3750 (lambda _
3751 (substitute* '("libgnomevfs/Makefile.in"
3752 "daemon/Makefile.in")
3753 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3754 #t))
3755 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3756 (lambda _
3757 (substitute* "test/test-async-cancel.c"
3758 (("EXIT_FAILURE") "77"))
3759 #t)))))
3760 (inputs `(("libxml2" ,libxml2)
3761 ("dbus-glib" ,dbus-glib)
3762 ("gconf" ,gconf)
3763 ("gnome-mime-data" ,gnome-mime-data)
3764 ("zlib" ,zlib)))
3765 (native-inputs
3766 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3767 ("intltool" ,intltool)
3768 ("pkg-config" ,pkg-config)))
3769 (home-page "https://developer.gnome.org/gnome-vfs/")
3770 (synopsis "Access files and folders in GNOME applications")
3771 (description
3772 "GnomeVFS is the core library used to access files and folders in GNOME
3773 applications. It provides a file system abstraction which allows applications
3774 to access local and remote files with a single consistent API.")
3775 (license license:lgpl2.0+)))
3776
3777
3778
3779 (define-public libgnome
3780 (package
3781 (name "libgnome")
3782 (version "2.32.1")
3783 (source (origin
3784 (method url-fetch)
3785 (uri (string-append "mirror://gnome/sources/" name "/"
3786 (version-major+minor version) "/"
3787 name "-" version ".tar.bz2"))
3788 (sha256
3789 (base32
3790 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3791 (patches (search-patches "libgnome-encoding.patch"))))
3792 (build-system gnu-build-system)
3793 (arguments
3794 `(#:phases
3795 (modify-phases %standard-phases
3796 (add-before 'configure 'enable-deprecated
3797 (lambda _
3798 (substitute* "libgnome/Makefile.in"
3799 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3800 #t)))))
3801 (inputs `(("libxml2" ,libxml2)))
3802 (native-inputs
3803 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3804 ("intltool" ,intltool)
3805 ("pkg-config" ,pkg-config)))
3806 ;; The following are listed as Required in the .pc file
3807 ;; (except for libcanberra -- which seems to be oversight on the part
3808 ;; of the upstream developers -- anything that links against libgnome,
3809 ;; must also link against libcanberra
3810 (propagated-inputs
3811 `(("libcanberra" ,libcanberra)
3812 ("libbonobo" ,libbonobo)
3813 ("gconf" ,gconf)
3814 ("gnome-vfs" ,gnome-vfs)
3815 ("popt" ,popt))) ;gnome-program.h includes popt.h
3816 (home-page "https://developer.gnome.org/libgnome/")
3817 (synopsis "Useful routines for building applications")
3818 (description "The libgnome library provides a number of useful routines
3819 for building modern applications, including session management, activation of
3820 files and URIs, and displaying help.")
3821 (license license:lgpl2.0+)))
3822
3823
3824 (define-public libart-lgpl
3825 (package
3826 (name "libart-lgpl")
3827 (version "2.3.21")
3828 (source (origin
3829 (method url-fetch)
3830 (uri (let ((upstream-name "libart_lgpl"))
3831 (string-append "mirror://gnome/sources/" upstream-name "/"
3832 (version-major+minor version) "/"
3833 upstream-name "-" version ".tar.bz2")))
3834 (sha256
3835 (base32
3836 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3837 (build-system gnu-build-system)
3838 (native-inputs
3839 `(("pkg-config" ,pkg-config)))
3840 (home-page "https://people.gnome.org/~mathieu/libart")
3841 (synopsis "2D drawing library")
3842 (description "Libart is a 2D drawing library intended as a
3843 high-quality vector-based 2D library with antialiasing and alpha composition.")
3844 (license license:lgpl2.0+)))
3845
3846
3847
3848 (define-public libgnomecanvas
3849 (package
3850 (name "libgnomecanvas")
3851 (version "2.30.3")
3852 (source (origin
3853 (method url-fetch)
3854 (uri (string-append "mirror://gnome/sources/" name "/"
3855 (version-major+minor version) "/"
3856 name "-" version ".tar.gz"))
3857 (sha256
3858 (base32
3859 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3860 (build-system gnu-build-system)
3861 ;; Mentioned as Required in the .pc file
3862 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3863 ("gtk+" ,gtk+-2)))
3864 (native-inputs
3865 `(("intltool" ,intltool)
3866 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3867 ("pkg-config" ,pkg-config)))
3868 (home-page "https://developer.gnome.org/libgnomecanvas/")
3869 (synopsis "Flexible widget for creating interactive structured graphics")
3870 (description "The GnomeCanvas widget provides a flexible widget for
3871 creating interactive structured graphics.")
3872 (license license:lgpl2.0+)))
3873
3874 (define-public libgnomecanvasmm
3875 (package
3876 (name "libgnomecanvasmm")
3877 (version "2.26.0")
3878 (source (origin
3879 (method url-fetch)
3880 (uri (string-append "mirror://gnome/sources/" name "/"
3881 (version-major+minor version) "/"
3882 name "-" version ".tar.bz2"))
3883 (sha256
3884 (base32
3885 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3886 (build-system gnu-build-system)
3887 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3888 (native-inputs
3889 `(("gtkmm-2" ,gtkmm-2)
3890 ("pkg-config" ,pkg-config)))
3891 (home-page "https://gtkmm.org")
3892 (synopsis "C++ bindings to the GNOME Canvas library")
3893 (description "C++ bindings to the GNOME Canvas library.")
3894 (license license:lgpl2.0+)))
3895
3896 (define-public libgnomeui
3897 (package
3898 (name "libgnomeui")
3899 (version "2.24.5")
3900 (source (origin
3901 (method url-fetch)
3902 (uri (string-append "mirror://gnome/sources/" name "/"
3903 (version-major+minor version) "/"
3904 name "-" version ".tar.bz2"))
3905 (patches (search-patches "libgnomeui-utf8.patch"))
3906 (sha256
3907 (base32
3908 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3909 (build-system gnu-build-system)
3910 ;; Mentioned as Required in the .pc file
3911 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3912 ("libgnome" ,libgnome)
3913 ("libgnomecanvas" ,libgnomecanvas)
3914 ("libgnome-keyring" ,libgnome-keyring)))
3915 (inputs `(("libjpeg" ,libjpeg-turbo)
3916 ("popt" ,popt)
3917 ("libbonobo" ,libbonobo)
3918 ("libxml2" ,libxml2)
3919 ("libglade" ,libglade)))
3920 (native-inputs
3921 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3922 ("intltool" ,intltool)
3923 ("pkg-config" ,pkg-config)))
3924 (home-page "https://developer.gnome.org/libgnomeui/")
3925 (synopsis "Additional widgets for applications")
3926 (description "The libgnomeui library provides additional widgets for
3927 applications. Many of the widgets from libgnomeui have already been
3928 ported to GTK+.")
3929 (license license:lgpl2.0+)))
3930
3931 (define-public libglade
3932 (package
3933 (name "libglade")
3934 (version "2.6.4")
3935 (source (origin
3936 (method url-fetch)
3937 (uri (string-append "mirror://gnome/sources/" name "/"
3938 (version-major+minor version) "/"
3939 name "-" version ".tar.bz2"))
3940 (sha256
3941 (base32
3942 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3943 (build-system gnu-build-system)
3944 (inputs
3945 `(("python" ,python))) ;; needed for the optional libglade-convert program
3946 (propagated-inputs
3947 `(("gtk+-2" ,gtk+-2)
3948 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3949 (native-inputs
3950 `(("pkg-config" ,pkg-config)))
3951 (home-page "https://developer.gnome.org/libglade")
3952 (synopsis "Load glade interfaces and access the glade built widgets")
3953 (description "Libglade is a library that provides interfaces for loading
3954 graphical interfaces described in glade files and for accessing the
3955 widgets built in the loading process.")
3956 (license license:gpl2+))) ; This is correct. GPL not LGPL
3957
3958 (define-public libgnomeprint
3959 ;; This library has been deprecated since 2006; see
3960 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3961 (package
3962 (name "libgnomeprint")
3963 (version "2.18.8")
3964 (source (origin
3965 (method url-fetch)
3966 (uri (string-append "mirror://gnome/sources/" name "/"
3967 (version-major+minor version) "/"
3968 name "-" version ".tar.bz2"))
3969 (sha256
3970 (base32
3971 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3972 (build-system gnu-build-system)
3973 (inputs
3974 `(("popt" ,popt)
3975 ("libart-lgpl" ,libart-lgpl)
3976 ("gtk+" ,gtk+-2)
3977 ("libxml2" ,libxml2)))
3978 (native-inputs
3979 `(("intltool" ,intltool)
3980 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3981 ("pkg-config" ,pkg-config)))
3982 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3983 (synopsis "Printing framework for GNOME")
3984 (description
3985 "GNOME-print was a printing framework for GNOME. It has been deprecated
3986 since ca. 2006, when GTK+ itself incorporated printing support.")
3987 (license license:lgpl2.0+)))
3988
3989
3990 (define-public libgnomeprintui
3991 ;; Deprecated; see libgnomeprint.
3992 (package
3993 (name "libgnomeprintui")
3994 (version "2.18.6")
3995 (source (origin
3996 (method url-fetch)
3997 (uri (string-append "mirror://gnome/sources/" name "/"
3998 (version-major+minor version) "/"
3999 name "-" version ".tar.bz2"))
4000 (sha256
4001 (base32
4002 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4003 (build-system gnu-build-system)
4004 ;; Mentioned as Required in the .pc file
4005 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4006 (inputs `(("gtk+" ,gtk+-2)
4007 ("glib" ,glib)
4008 ("gnome-icon-theme" ,gnome-icon-theme)
4009 ("libgnomecanvas" ,libgnomecanvas)
4010 ("libxml2" ,libxml2)))
4011 (native-inputs
4012 `(("intltool" ,intltool)
4013 ("pkg-config" ,pkg-config)))
4014 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4015 (synopsis "Printing framework for GNOME")
4016 (description (package-description libgnomeprint))
4017 (license license:lgpl2.0+)))
4018
4019 (define-public libbonoboui
4020 (package
4021 (name "libbonoboui")
4022 (version "2.24.5")
4023 (source (origin
4024 (method url-fetch)
4025 (uri (string-append "mirror://gnome/sources/" name "/"
4026 (version-major+minor version) "/"
4027 name "-" version ".tar.bz2"))
4028 (sha256
4029 (base32
4030 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4031 (build-system gnu-build-system)
4032 (arguments
4033 `(#:phases
4034 (modify-phases %standard-phases
4035 (add-before 'check 'start-xserver
4036 (lambda* (#:key inputs #:allow-other-keys)
4037 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4038 (disp ":1"))
4039
4040 (setenv "HOME" (getcwd))
4041 (setenv "DISPLAY" disp)
4042 ;; There must be a running X server and make check doesn't start one.
4043 ;; Therefore we must do it.
4044 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4045 ;; Mentioned as Required by the .pc file
4046 (propagated-inputs `(("libxml2" ,libxml2)))
4047 (inputs
4048 `(("popt" ,popt)
4049 ("pangox-compat" ,pangox-compat)
4050 ("libgnome" ,libgnome)
4051 ("libgnomecanvas" ,libgnomecanvas)
4052 ("libglade" ,libglade)))
4053 (native-inputs
4054 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4055 ("intltool" ,intltool)
4056 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4057 ("pkg-config" ,pkg-config)))
4058 (home-page "https://developer.gnome.org/libbonoboui/")
4059 (synopsis "Some user interface controls using Bonobo")
4060 (description "The Bonobo UI library provides a number of user interface
4061 controls using the Bonobo component framework.")
4062 (license license:lgpl2.0+)))
4063
4064 (define-public libwnck
4065 (package
4066 (name "libwnck")
4067 (version "3.32.0")
4068 (source (origin
4069 (method url-fetch)
4070 (uri (string-append "mirror://gnome/sources/" name "/"
4071 (version-major+minor version) "/"
4072 name "-" version ".tar.xz"))
4073 (sha256
4074 (base32
4075 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4076 (build-system meson-build-system)
4077 (native-inputs
4078 `(("pkg-config" ,pkg-config)
4079 ("glib" ,glib "bin") ; for glib-mkenums
4080 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4081 ("intltool" ,intltool)))
4082 (propagated-inputs
4083 `(("gtk+" ,gtk+)
4084 ("libxres" ,libxres)
4085 ("startup-notification" ,startup-notification)))
4086 (home-page "https://developer.gnome.org/libwnck/")
4087 (synopsis "Window Navigator Construction Kit")
4088 (description
4089 "Libwnck is the Window Navigator Construction Kit, a library for use in
4090 writing pagers, tasklists, and more generally applications that are dealing
4091 with window management. It tries hard to respect the Extended Window Manager
4092 Hints specification (EWMH).")
4093 (license license:lgpl2.0+)))
4094
4095 ;; stable version for gtk2, required by xfwm4.
4096 (define-public libwnck-2
4097 (package (inherit libwnck)
4098 (name "libwnck")
4099 (version "2.30.7")
4100 (source (origin
4101 (method url-fetch)
4102 (uri (string-append "mirror://gnome/sources/" name "/"
4103 (version-major+minor version) "/"
4104 name "-" version ".tar.xz"))
4105 (sha256
4106 (base32
4107 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4108 (build-system gnu-build-system)
4109 (native-inputs
4110 `(("pkg-config" ,pkg-config)
4111 ("intltool" ,intltool)))
4112 (propagated-inputs
4113 `(("gtk+" ,gtk+-2)
4114 ("libxres" ,libxres)
4115 ("startup-notification" ,startup-notification)))))
4116
4117 (define-public goffice
4118 (package
4119 (name "goffice")
4120 (version "0.10.48")
4121 (source (origin
4122 (method url-fetch)
4123 (uri (string-append "mirror://gnome/sources/goffice/"
4124 (version-major+minor version) "/"
4125 "goffice-" version ".tar.xz"))
4126 (sha256
4127 (base32 "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4"))))
4128 (build-system gnu-build-system)
4129 (outputs '("out"
4130 "doc")) ; 4.0 MiB of gtk-doc
4131 (arguments
4132 '(#:configure-flags (list (string-append "--with-html-dir="
4133 (assoc-ref %outputs "doc")
4134 "/share/gtk-doc/html"))))
4135 (inputs
4136 `(("gtk+" ,gtk+)
4137 ("libgsf" ,libgsf)
4138 ("librsvg" ,librsvg)
4139 ("libxslt" ,libxslt)
4140 ("libxml2" ,libxml2)))
4141 (native-inputs
4142 `(("intltool" ,intltool)
4143 ("glib" ,glib "bin")
4144 ("pkg-config" ,pkg-config)))
4145 (home-page "https://developer.gnome.org/goffice/")
4146 (synopsis "Document-centric objects and utilities")
4147 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4148 (license
4149 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4150 ;; Note: NOT LGPL
4151 (list license:gpl2 license:gpl3))))
4152
4153 (define-public goffice-0.8
4154 (package (inherit goffice)
4155 (version "0.8.17")
4156 (source (origin
4157 (method url-fetch)
4158 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4159 (version-major+minor version) "/"
4160 (package-name goffice) "-" version ".tar.xz"))
4161 (sha256
4162 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4163 (arguments
4164 `(#:phases
4165 (modify-phases %standard-phases
4166 (add-after 'unpack 'fix-pcre-check
4167 (lambda _
4168 ;; Only glib.h can be included directly. See
4169 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4170 (substitute* "configure"
4171 (("glib/gregex\\.h") "glib.h")) #t)))
4172
4173 ,@(package-arguments goffice)))
4174 (propagated-inputs
4175 ;; libgoffice-0.8.pc mentions libgsf-1
4176 `(("libgsf" ,libgsf)))
4177 (inputs
4178 `(("gtk" ,gtk+-2)
4179 ,@(alist-delete "gtk" (package-inputs goffice))))))
4180
4181 (define-public gnumeric
4182 (package
4183 (name "gnumeric")
4184 (version "1.12.48")
4185 (source (origin
4186 (method url-fetch)
4187 (uri (string-append "mirror://gnome/sources/gnumeric/"
4188 (version-major+minor version) "/"
4189 "gnumeric-" version ".tar.xz"))
4190 (sha256
4191 (base32
4192 "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p"))))
4193 (build-system glib-or-gtk-build-system)
4194 (arguments
4195 `(;; The gnumeric developers don't worry much about failing tests.
4196 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4197 #:tests? #f
4198 #:phases
4199 (modify-phases %standard-phases
4200 (add-before
4201 'configure 'pre-conf
4202 (lambda* (#:key outputs #:allow-other-keys)
4203 ;; Make install tries to write into the directory of goffice
4204 ;; I am informed that this only affects the possibility to embed a
4205 ;; spreadsheet inside an Abiword document. So presumably when we
4206 ;; package Abiword we'll have to refer it to this directory.
4207 (substitute* "configure"
4208 (("^GOFFICE_PLUGINS_DIR=.*")
4209 (string-append "GOFFICE_PLUGINS_DIR="
4210 (assoc-ref outputs "out")
4211 "/goffice/plugins"))))))))
4212 (inputs
4213 `(("glib" ,glib)
4214 ("gtk+" ,gtk+)
4215 ("goffice" ,goffice)
4216 ("libgsf" ,libgsf)
4217 ("librsvg" ,librsvg)
4218 ("libxml2" ,libxml2)
4219 ("libxslt" ,libxslt)
4220 ("python" ,python)
4221 ("python-pygobject" ,python-pygobject)
4222 ("zlib" ,zlib)))
4223 (native-inputs
4224 `(("bison" ,bison)
4225 ("docbook-xml" ,docbook-xml)
4226 ("intltool" ,intltool)
4227 ("itstool" ,itstool)
4228 ("glib:bin" ,glib "bin")
4229 ("pkg-config" ,pkg-config)))
4230 (home-page "http://www.gnumeric.org")
4231 (synopsis "Spreadsheet application")
4232 (description
4233 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4234 interoperable with other spreadsheet applications. It has a vast array of
4235 features beyond typical spreadsheet functionality, such as support for linear
4236 and non-linear solvers, statistical analysis, and telecommunication
4237 engineering.")
4238 (license
4239 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4240 (list license:gpl2 license:gpl3))))
4241
4242 (define-public gnome-themes-standard
4243 (package
4244 (name "gnome-themes-standard")
4245 (version "3.22.3")
4246 (source
4247 (origin
4248 (method url-fetch)
4249 (uri (string-append "mirror://gnome/sources/" name "/"
4250 (version-major+minor version) "/" name "-"
4251 version ".tar.xz"))
4252 (sha256
4253 (base32
4254 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4255 (build-system gnu-build-system)
4256 (arguments
4257 '(#:configure-flags
4258 ;; Don't create 'icon-theme.cache'.
4259 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4260 (true (string-append coreutils "/bin/true")))
4261 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4262 (inputs
4263 `(("gtk+" ,gtk+)
4264 ("gtk+-2" ,gtk+-2)
4265 ("librsvg" ,librsvg)
4266 ("libxml2" ,libxml2)
4267 ("glib" ,glib)))
4268 (native-inputs
4269 `(("intltool" ,intltool)
4270 ("glib:bin" ,glib "bin")
4271 ("pkg-config" ,pkg-config)))
4272 (home-page "https://launchpad.net/gnome-themes-standard")
4273 (synopsis "Default GNOME 3 themes")
4274 (description
4275 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4276 (license license:lgpl2.1+)))
4277
4278 (define-public seahorse
4279 (package
4280 (name "seahorse")
4281 (version "3.36.2")
4282 (source
4283 (origin
4284 (method url-fetch)
4285 (uri (string-append "mirror://gnome/sources/" name "/"
4286 (version-major+minor version) "/" name "-"
4287 version ".tar.xz"))
4288 (sha256
4289 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4290 (build-system meson-build-system)
4291 (arguments
4292 '(#:glib-or-gtk? #t
4293 #:phases
4294 (modify-phases %standard-phases
4295 (add-after 'unpack 'skip-gtk-update-icon-cache
4296 ;; Don't create 'icon-theme.cache'.
4297 (lambda _
4298 (substitute* "build-aux/meson_post_install.py"
4299 (("gtk-update-icon-cache") "true"))
4300 #t)))))
4301 (inputs
4302 `(("gtk+" ,gtk+)
4303 ("gcr" ,gcr)
4304 ("gnupg" ,gnupg)
4305 ("gpgme" ,gpgme)
4306 ("openldap" ,openldap)
4307 ("openssh" ,openssh)
4308 ("avahi" ,avahi)
4309 ("libhandy" ,libhandy-0.0)
4310 ("libpwquality" ,libpwquality)
4311 ("libsecret" ,libsecret)
4312 ("libsoup" ,libsoup)))
4313 (native-inputs
4314 `(("gettext" ,gettext-minimal)
4315 ("glib:bin" ,glib "bin")
4316 ("itstool" ,itstool)
4317 ("pkg-config" ,pkg-config)
4318 ("vala" ,vala)
4319 ("xmllint" ,libxml2)))
4320 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4321 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4322 (description
4323 "Seahorse is a GNOME application for managing encryption keys and
4324 passwords in the GNOME keyring.")
4325 (license license:gpl2+)))
4326
4327 (define-public vala
4328 (package
4329 (name "vala")
4330 (version "0.46.5")
4331 (source (origin
4332 (method url-fetch)
4333 (uri (string-append "mirror://gnome/sources/" name "/"
4334 (version-major+minor version) "/"
4335 name "-" version ".tar.xz"))
4336 (sha256
4337 (base32
4338 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4339 (build-system gnu-build-system)
4340 (arguments
4341 '(#:phases
4342 (modify-phases %standard-phases
4343 (add-before 'check 'pre-check
4344 (lambda _
4345 (setenv "CC" "gcc")
4346 (substitute* "valadoc/tests/testrunner.sh"
4347 (("export PKG_CONFIG_PATH=" m)
4348 (string-append m "$PKG_CONFIG_PATH:")))
4349 ;; For missing '/etc/machine-id'.
4350 (setenv "DBUS_FATAL_WARNINGS" "0")
4351 #t)))))
4352 (native-inputs
4353 `(("pkg-config" ,pkg-config)
4354 ("flex" ,flex)
4355 ("bison" ,bison)
4356 ("xsltproc" ,libxslt)
4357 ("dbus" ,dbus) ; for dbus tests
4358 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4359 (inputs
4360 `(("graphviz" ,graphviz)))
4361 (propagated-inputs
4362 `(("glib" ,glib))) ; required by libvala-0.40.pc
4363 (home-page "https://wiki.gnome.org/Projects/Vala/")
4364 (synopsis "Compiler for the GObject type system")
4365 (description
4366 "Vala is a programming language that aims to bring modern programming
4367 language features to GNOME developers without imposing any additional runtime
4368 requirements and without using a different ABI compared to applications and
4369 libraries written in C.")
4370 (license license:lgpl2.1+)))
4371
4372 (define-public vala-0.50
4373 (package
4374 (inherit vala)
4375 (version "0.50.2")
4376 (source (origin
4377 (method url-fetch)
4378 (uri (string-append "mirror://gnome/sources/vala/"
4379 (version-major+minor version) "/"
4380 "vala-" version ".tar.xz"))
4381 (sha256
4382 (base32
4383 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4384
4385 (define-public vte
4386 (package
4387 (name "vte")
4388 (version "0.60.3")
4389 (source (origin
4390 (method url-fetch)
4391 (uri (string-append "mirror://gnome/sources/vte/"
4392 (version-major+minor version) "/"
4393 "vte-" version ".tar.xz"))
4394 (sha256
4395 (base32
4396 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4397 (build-system meson-build-system)
4398 (arguments
4399 `(#:configure-flags
4400 '("-Dvapi=true"
4401 "-D_systemd=false")))
4402 (native-inputs
4403 `(("pkg-config" ,pkg-config)
4404 ("gettext" ,gettext-minimal)
4405 ("vala" ,vala)
4406 ("gobject-introspection" ,gobject-introspection)
4407 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4408 ("gperf" ,gperf)
4409 ("xmllint" ,libxml2)))
4410 (propagated-inputs
4411 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4412 ("gnutls" ,gnutls) ; ditto
4413 ("pcre2" ,pcre2))) ; ditto
4414 (home-page "https://www.gnome.org/")
4415 (synopsis "Virtual Terminal Emulator")
4416 (description
4417 "VTE is a library (libvte) implementing a terminal emulator widget for
4418 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4419 gnome-terminal, but can also be used to embed a console/terminal in games,
4420 editors, IDEs, etc.")
4421 (license license:lgpl2.1+)))
4422
4423 (define-public vte-ng
4424 (package
4425 (inherit vte)
4426 (name "vte-ng")
4427 (version "0.58.2.a")
4428 (home-page "https://github.com/thestinger/vte-ng")
4429 (source (origin
4430 (method git-fetch)
4431 (uri (git-reference (url home-page) (commit version)))
4432 (file-name (git-file-name name version))
4433 (sha256
4434 (base32
4435 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4436 (build-system meson-build-system)
4437 (native-inputs
4438 `(("gtk-doc" ,gtk-doc)
4439 ,@(package-native-inputs vte)))
4440 (arguments
4441 `(#:configure-flags '("-Ddocs=true")))
4442 (synopsis "Enhanced VTE terminal widget")
4443 (description
4444 "VTE is a library (libvte) implementing a terminal emulator widget for
4445 GTK+, this fork provides additional functions exposed for keyboard text
4446 selection and URL hints.")))
4447
4448 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4449 (define-public vte/gtk+-2
4450 (package (inherit vte)
4451 (name "vte")
4452 (version "0.28.2")
4453 (source (origin
4454 (method url-fetch)
4455 (uri (string-append "mirror://gnome/sources/" name "/"
4456 (version-major+minor version) "/"
4457 name "-" version ".tar.xz"))
4458 (sha256
4459 (base32
4460 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4461 (patches (search-patches
4462 "vte-CVE-2012-2738-pt1.patch"
4463 "vte-CVE-2012-2738-pt2.patch"))))
4464 (build-system gnu-build-system)
4465 (arguments
4466 '(#:configure-flags '("--disable-python")))
4467 (native-inputs
4468 `(("pkg-config" ,pkg-config)
4469 ("intltool" ,intltool)
4470 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4471 (propagated-inputs
4472 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4473 ("ncurses" ,ncurses))))) ; required by libvte.la
4474
4475 (define-public vinagre
4476 (package
4477 (name "vinagre")
4478 (version "3.22.0")
4479 (source (origin
4480 (method url-fetch)
4481 (uri (string-append "mirror://gnome/sources/" name "/"
4482 (version-major+minor version) "/"
4483 name "-" version ".tar.xz"))
4484 (patches (search-patches "vinagre-newer-freerdp.patch"
4485 "vinagre-newer-rdp-parameters.patch"))
4486 (sha256
4487 (base32
4488 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4489 (build-system glib-or-gtk-build-system)
4490 (arguments
4491 ;; Disable -Werror and such, to avoid build failures on compilation
4492 ;; warnings.
4493 '(#:configure-flags '("--enable-compile-warnings=minimum")
4494 #:phases
4495 (modify-phases %standard-phases
4496 (add-before 'install 'skip-gtk-update-icon-cache
4497 (lambda _
4498 ;; Don't create 'icon-theme.cache'
4499 (substitute* (find-files "." "^Makefile$")
4500 (("gtk-update-icon-cache") (which "true")))
4501 #t))
4502 (add-after 'unpack 'patch-configure
4503 (lambda _
4504 (substitute* "configure"
4505 (("freerdp") "freerdp2"))
4506 #t)))))
4507 (native-inputs
4508 `(("pkg-config" ,pkg-config)
4509 ("intltool" ,intltool)
4510 ("itstool" ,itstool)
4511 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4512 (inputs
4513 `(("libxml2" ,libxml2)
4514 ("gtk-vnc" ,gtk-vnc)
4515 ("gnome-keyring" ,gnome-keyring)
4516 ("libsecret" ,libsecret)
4517 ("freerdp" ,freerdp)
4518 ("spice" ,spice)
4519 ("spice-gtk" ,spice-gtk)
4520 ("telepathy-glib" ,telepathy-glib)
4521 ("vte" ,vte)))
4522 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4523 (synopsis "Remote desktop viewer for GNOME")
4524 (description "Vinagre is a remote display client supporting the VNC, SPICE
4525 and RDP protocols.")
4526 (license license:gpl3+)))
4527
4528 (define-public dconf
4529 (package
4530 (name "dconf")
4531 (version "0.36.0")
4532 (source (origin
4533 (method url-fetch)
4534 (uri (string-append
4535 "mirror://gnome/sources/" name "/"
4536 (version-major+minor version) "/"
4537 name "-" version ".tar.xz"))
4538 (sha256
4539 (base32
4540 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4541 (build-system meson-build-system)
4542 (propagated-inputs
4543 ;; In Requires of dconf.pc.
4544 `(("glib" ,glib)))
4545 (inputs
4546 `(("gtk+" ,gtk+)
4547 ("dbus" ,dbus)))
4548 (native-inputs
4549 `(("bash-completion" ,bash-completion)
4550 ("libxslt" ,libxslt) ;for xsltproc
4551 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4552 ("docbook-xml" ,docbook-xml-4.2)
4553 ("docbook-xsl" ,docbook-xsl)
4554 ("glib:bin" ,glib "bin")
4555 ("gtk-doc" ,gtk-doc)
4556 ("pkg-config" ,pkg-config)
4557 ("vala" ,vala)))
4558 (arguments
4559 `(#:glib-or-gtk? #t
4560 #:configure-flags '("-Denable-gtk-doc=true")
4561 #:phases (modify-phases %standard-phases
4562 (add-after 'unpack 'increase-test-timeout
4563 (lambda _
4564 ;; On big-memory systems, the engine test may take
4565 ;; much longer than the default of 30 seconds.
4566 (substitute* "tests/meson.build"
4567 (("test\\(unit_test\\[0\\], exe" all)
4568 (string-append all ", timeout : 90")))
4569 #t)))))
4570 (home-page "https://developer.gnome.org/dconf/")
4571 (synopsis "Low-level GNOME configuration system")
4572 (description "Dconf is a low-level configuration system. Its main purpose
4573 is to provide a backend to GSettings on platforms that don't already have
4574 configuration storage systems.")
4575 (license license:lgpl2.1+)))
4576
4577 (define-public json-glib
4578 (package
4579 (name "json-glib")
4580 (version "1.4.4")
4581 (source (origin
4582 (method url-fetch)
4583 (uri (string-append "mirror://gnome/sources/" name "/"
4584 (version-major+minor version) "/"
4585 name "-" version ".tar.xz"))
4586 (sha256
4587 (base32
4588 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4589 (build-system meson-build-system)
4590 (native-inputs
4591 `(("gettext" ,gettext-minimal)
4592 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4593 ("gobject-introspection" ,gobject-introspection)
4594 ("pkg-config" ,pkg-config)))
4595 (propagated-inputs
4596 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4597 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4598 (synopsis "Compiler for the GObject type system")
4599 (description
4600 "JSON-GLib is a C library based on GLib providing serialization and
4601 deserialization support for the JavaScript Object Notation (JSON) format
4602 described by RFC 4627. It provides parser and generator GObject classes and
4603 various wrappers for the complex data types employed by JSON, such as arrays
4604 and objects.")
4605 (license license:lgpl2.1+)))
4606
4607 (define-public libxklavier
4608 (package
4609 (name "libxklavier")
4610 (version "5.4")
4611 (source (origin
4612 ;; Note: There's no tarball at ftp.gnome.org for this version.
4613 (method git-fetch)
4614 (uri (git-reference
4615 (url "https://anongit.freedesktop.org/git/libxklavier")
4616 (commit (string-append "libxklavier-" version))))
4617 (sha256
4618 (base32
4619 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4620 (file-name (git-file-name name version))))
4621 (build-system gnu-build-system)
4622 (arguments
4623 '(#:configure-flags
4624 (list (string-append "--with-xkb-base="
4625 (assoc-ref %build-inputs "xkeyboard-config")
4626 "/share/X11/xkb")
4627 "--disable-xmodmap-support")))
4628 (native-inputs
4629 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4630 ("gobject-introspection" ,gobject-introspection)
4631 ("pkg-config" ,pkg-config)
4632 ("gtk-doc" ,gtk-doc)
4633 ("intltool" ,intltool)
4634 ("which" ,which)
4635 ("autoconf" ,autoconf)
4636 ("automake" ,automake)
4637 ("libtool" ,libtool)))
4638 (propagated-inputs
4639 ;; Required by libxklavier.pc.
4640 `(("glib" ,glib)
4641 ("libxml2" ,libxml2)))
4642 (inputs
4643 `(("iso-codes" ,iso-codes)
4644 ("libxi" ,libxi)
4645 ("libxkbfile" ,libxkbfile)
4646 ("xkbcomp" ,xkbcomp)
4647 ("xkeyboard-config" ,xkeyboard-config)))
4648 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4649 (synopsis "High-level API for X Keyboard Extension")
4650 (description
4651 "LibXklavier is a library providing high-level API for X Keyboard
4652 Extension known as XKB. This library is intended to support XFree86 and other
4653 commercial X servers. It is useful for creating XKB-related software (layout
4654 indicators etc).")
4655 (license license:lgpl2.0+)))
4656
4657 (define-public python2-rsvg
4658 ;; XXX: This is actually a subset of gnome-python-desktop.
4659 (package
4660 (name "python2-rsvg")
4661 (version "2.32.0")
4662 (source
4663 (origin
4664 (method url-fetch)
4665 (uri (string-append
4666 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4667 version ".tar.bz2"))
4668 (sha256
4669 (base32
4670 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4671 (build-system gnu-build-system)
4672 (native-inputs
4673 `(("pkg-config" ,pkg-config)))
4674 (inputs
4675 `(("python" ,python-2)
4676 ("python2-pygtk" ,python2-pygtk)
4677 ("librsvg" ,librsvg)))
4678 (home-page "https://www.gnome.org")
4679 (synopsis "Python bindings to librsvg")
4680 (description
4681 "This package provides Python bindings to librsvg, the SVG rendering
4682 library.")
4683
4684 ;; This is the license of the rsvg bindings. The license of each module
4685 ;; of gnome-python-desktop is given in 'COPYING'.
4686 (license license:lgpl2.1+)))
4687
4688 (define-public glib-networking
4689 (package
4690 (name "glib-networking")
4691 (version "2.62.2")
4692 (source (origin
4693 (method url-fetch)
4694 (uri (string-append "mirror://gnome/sources/glib-networking/"
4695 (version-major+minor version) "/"
4696 "glib-networking-" version ".tar.xz"))
4697 (sha256
4698 (base32
4699 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4700 (build-system meson-build-system)
4701 (arguments
4702 `(#:configure-flags '("-Dlibproxy_support=false")))
4703 (native-inputs
4704 `(("pkg-config" ,pkg-config)
4705 ("intltool" ,intltool)))
4706 (inputs
4707 `(("glib" ,glib)
4708 ("gnutls" ,gnutls)
4709 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4710 (home-page "https://www.gnome.org")
4711 (synopsis "Network-related GIO modules")
4712 (description
4713 "This package contains various network related extensions for the GIO
4714 library.")
4715 (license license:lgpl2.0+)))
4716
4717 (define-public rest
4718 (package
4719 (name "rest")
4720 (version "0.8.1")
4721 (source (origin
4722 (method url-fetch)
4723 (uri (string-append "mirror://gnome/sources/rest/"
4724 (version-major+minor version) "/"
4725 name "-" version ".tar.xz"))
4726 (sha256
4727 (base32
4728 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4729 (build-system gnu-build-system)
4730 (arguments
4731 '(#:tests? #f ; tests require internet connection
4732 #:configure-flags
4733 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4734 (native-inputs
4735 `(("glib-mkenums" ,glib "bin")
4736 ("gobject-introspection" ,gobject-introspection)
4737 ("pkg-config" ,pkg-config)))
4738 (propagated-inputs
4739 ;; rest-0.7.pc refers to all these.
4740 `(("glib" ,glib)
4741 ("libsoup" ,libsoup)
4742 ("libxml2" ,libxml2)))
4743 (home-page "https://www.gtk.org/")
4744 (synopsis "RESTful web api query library")
4745 (description
4746 "This library was designed to make it easier to access web services that
4747 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4748 libxml to ease remote use of the RESTful API.")
4749 (license license:lgpl2.1+)))
4750
4751 (define-public libsoup
4752 (package
4753 (name "libsoup")
4754 (version "2.72.0")
4755 (source (origin
4756 (method url-fetch)
4757 (uri (string-append "mirror://gnome/sources/libsoup/"
4758 (version-major+minor version) "/"
4759 "libsoup-" version ".tar.xz"))
4760 (sha256
4761 (base32
4762 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4763 (build-system meson-build-system)
4764 (outputs '("out" "doc"))
4765 (arguments
4766 `(#:modules ((guix build utils)
4767 (guix build meson-build-system)
4768 (ice-9 popen))
4769
4770 #:configure-flags '("-Dgtk_doc=true")
4771 #:phases
4772 (modify-phases %standard-phases
4773 (add-after 'unpack 'patch-docbook-xml
4774 (lambda* (#:key inputs #:allow-other-keys)
4775 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4776 "/xml/dtd/docbook")))
4777 (substitute* (find-files "docs/reference")
4778 (("http://.*/docbookx\\.dtd")
4779 (string-append xmldoc "/docbookx.dtd")))
4780 #t)))
4781 (add-after 'unpack 'adjust-tests
4782 (lambda _
4783 ;; This test fails due to missing /etc/nsswitch.conf
4784 ;; in the build environment.
4785 (substitute* "tests/socket-test.c"
4786 ((".*/sockets/unconnected.*") ""))
4787
4788 ;; These fail because "subdomain.localhost" does not resolve in
4789 ;; the build environment.
4790 (substitute* "tests/hsts-test.c"
4791 ((".*/hsts/basic.*") "")
4792 ((".*/hsts/subdomains.*") "")
4793 ((".*/hsts/superdomain.*") "")
4794 ((".*/hsts/utf8-address.*") ""))
4795 (substitute* "tests/hsts-db-test.c"
4796 ((".*/hsts-db/subdomains.*") ""))
4797
4798 ;; Generate a self-signed certificate that has "localhost" as its
4799 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4800 ;; 3.5.12, tests such as "ssl-tests" fail:
4801 ;;
4802 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4803 ;;
4804 ;; 'certtool' is interactive so we have to pipe it the answers.
4805 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4806 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4807 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4808 (for-each (lambda (line)
4809 (display line pipe)
4810 (newline pipe))
4811 '("" ;Common name
4812 "" ;UID
4813 "Guix" ;Organizational unit name
4814 "GNU" ;Organization name
4815 "" ;Locality name
4816 "" ;State or province
4817 "" ;Country
4818 "" ;subject's domain component (DC)
4819 "" ;E-mail
4820 "" ;serial number
4821 "-1" ;expiration time
4822 "N" ;belong to authority?
4823 "N" ;web client certificate?
4824 "N" ;IPsec IKE?
4825 "Y" ;web server certificate?
4826 "localhost" ;dnsName of subject
4827 "" ;dnsName of subject (end)
4828 "" ;URI of subject
4829 "127.0.0.1" ;IP address of subject
4830 "" ;signing?
4831 "" ;encryption (RSA)?
4832 "" ;data encryption?
4833 "" ;sign OCSP requests?
4834 "" ;sign code?
4835 "" ;time stamping?
4836 "" ;email protection?
4837 "" ;URI of the CRL distribution point
4838 "y" ;above info OK?
4839 ))
4840 (close-pipe pipe))
4841 #t))
4842 (add-after 'install 'move-doc
4843 (lambda* (#:key outputs #:allow-other-keys)
4844 (let ((out (assoc-ref outputs "out"))
4845 (doc (assoc-ref outputs "doc")))
4846 (mkdir-p (string-append doc "/share"))
4847 (copy-recursively (string-append out "/share/gtk-doc")
4848 (string-append doc "/share/gtk-doc"))
4849 (delete-file-recursively (string-append out "/share/gtk-doc"))
4850 #t))))))
4851 (native-inputs
4852 `(("docbook-xml" ,docbook-xml-4.1.2)
4853 ("glib:bin" ,glib "bin") ; for glib-mkenums
4854 ("gobject-introspection" ,gobject-introspection)
4855 ("gtk-doc" ,gtk-doc)
4856 ("intltool" ,intltool)
4857 ("pkg-config" ,pkg-config)
4858 ("python" ,python-wrapper)
4859 ("vala" ,vala)
4860 ("php" ,php)
4861 ("curl" ,curl)
4862 ("gnutls" ,gnutls) ;for 'certtool'
4863 ("httpd" ,httpd)))
4864 (propagated-inputs
4865 ;; libsoup-2.4.pc refers to all these.
4866 `(("brotli" ,google-brotli)
4867 ("glib" ,glib)
4868 ("libpsl" ,libpsl)
4869 ("libxml2" ,libxml2)
4870 ("sqlite" ,sqlite)
4871 ("zlib" ,zlib)))
4872 (inputs
4873 `(("glib-networking" ,glib-networking)
4874 ("mit-krb5" ,mit-krb5)))
4875 (home-page "https://live.gnome.org/LibSoup/")
4876 (synopsis "GLib-based HTTP Library")
4877 (description
4878 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4879 and the GLib main loop, to integrate well with GNOME applications.")
4880 (license license:lgpl2.0+)))
4881
4882
4883 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4884 (define-public libsoup-minimal
4885 (package
4886 (inherit libsoup)
4887 (name "libsoup-minimal")
4888 (outputs (delete "doc" (package-outputs libsoup)))
4889 (arguments
4890 (substitute-keyword-arguments (package-arguments libsoup)
4891 ((#:configure-flags configure-flags)
4892 `(delete "-Dgtk_doc=true" ,configure-flags))
4893 ((#:phases phases)
4894 `(modify-phases ,phases
4895 (delete 'move-doc)))))
4896 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4897
4898 (define-public libsecret
4899 (package
4900 (name "libsecret")
4901 (version "0.20.4")
4902 (source (origin
4903 (method url-fetch)
4904 (uri (string-append
4905 "mirror://gnome/sources/libsecret/"
4906 (version-major+minor version) "/"
4907 "libsecret-" version ".tar.xz"))
4908 (sha256
4909 (base32
4910 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4911 (build-system gnu-build-system)
4912 (outputs '("out" "doc"))
4913 (arguments
4914 `(#:tests? #f ; FIXME: Testing hangs.
4915 #:configure-flags
4916 (list (string-append "--with-html-dir="
4917 (assoc-ref %outputs "doc")
4918 "/share/gtk-doc/html"))))
4919 (native-inputs
4920 `(("gettext" ,gettext-minimal)
4921 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4922 ("gobject-introspection" ,gobject-introspection)
4923 ("pkg-config" ,pkg-config)
4924 ("vala" ,vala)
4925 ("xsltproc" ,libxslt)))
4926 ;; These are needed for the tests.
4927 ;; FIXME: Add gjs once available.
4928 ;("dbus" ,dbus)
4929 ;("python2" ,python-2)
4930 ;("python2-dbus" ,python2-dbus)
4931 ;("python2-pygobject" ,python2-pygobject)
4932 ;("python2-pygobject-2" ,python2-pygobject-2)))
4933 (propagated-inputs
4934 `(("glib" ,glib))) ; required by libsecret-1.pc
4935 (inputs
4936 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4937 ;; doesn't seem to affect the build result.
4938 `(("docbook-xsl" ,docbook-xsl)
4939 ("libgcrypt" ,libgcrypt)
4940 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4941 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4942 (synopsis "GObject bindings for \"Secret Service\" API")
4943 (description
4944 "Libsecret is a GObject based library for storing and retrieving passwords
4945 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4946 (license license:lgpl2.1+)))
4947
4948 (define-public five-or-more
4949 (package
4950 (name "five-or-more")
4951 (version "3.32.2")
4952 (source
4953 (origin
4954 (method url-fetch)
4955 (uri (string-append "mirror://gnome/sources/five-or-more/"
4956 (version-major+minor version) "/"
4957 "five-or-more-" version ".tar.xz"))
4958 (sha256
4959 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4960 (build-system meson-build-system)
4961 (arguments
4962 '(#:glib-or-gtk? #t
4963 #:phases
4964 (modify-phases %standard-phases
4965 (add-after 'unpack 'skip-gtk-update-icon-cache
4966 (lambda _
4967 (substitute* "meson_post_install.py"
4968 (("gtk-update-icon-cache") (which "true")))
4969 #t)))))
4970 (native-inputs
4971 `(("pkg-config" ,pkg-config)
4972 ("appstream-glib" ,appstream-glib)
4973 ("desktop-file-utils" ,desktop-file-utils)
4974 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4975 ("intltool" ,intltool)
4976 ("itstool" ,itstool)
4977 ("vala" ,vala)
4978 ("xmllint" ,libxml2)))
4979 (inputs
4980 `(("gtk+" ,gtk+)
4981 ("libgnome-games-support" ,libgnome-games-support)
4982 ("librsvg" ,librsvg)))
4983 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4984 (synopsis "Logic puzzle game")
4985 (description "Five or More is a game where you try to align
4986 five or more objects of the same color and shape causing them to disappear.
4987 On every turn more objects will appear, until the board is full.
4988 Try to last as long as possible.")
4989 (license license:gpl2+)))
4990
4991 (define-public gnome-mines
4992 (package
4993 (name "gnome-mines")
4994 (version "3.36.1")
4995 (source
4996 (origin
4997 (method url-fetch)
4998 (uri (string-append "mirror://gnome/sources/" name "/"
4999 (version-major+minor version) "/"
5000 name "-" version ".tar.xz"))
5001 (sha256
5002 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5003 (build-system meson-build-system)
5004 (arguments
5005 '(#:glib-or-gtk? #t
5006 #:phases
5007 (modify-phases %standard-phases
5008 (add-after 'unpack 'skip-gtk-update-icon-cache
5009 (lambda _
5010 (substitute* "build-aux/meson_post_install.py"
5011 (("gtk-update-icon-cache") (which "true")))
5012 #t)))))
5013 (native-inputs
5014 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5015 ("pkg-config" ,pkg-config)
5016 ("desktop-file-utils" ,desktop-file-utils)
5017 ("intltool" ,intltool)
5018 ("itstool" ,itstool)
5019 ("vala" ,vala)
5020 ("yelp" ,yelp)
5021 ("appstream-glib" ,appstream-glib)))
5022 (inputs
5023 `(("gtk+" ,gtk+)
5024 ("libgnome-games-support" ,libgnome-games-support)
5025 ("librsvg" ,librsvg)))
5026 (home-page "https://wiki.gnome.org/Apps/Mines")
5027 (synopsis "Minesweeper game")
5028 (description
5029 "Mines (previously gnomine) is a puzzle game where you locate mines
5030 floating in an ocean using only your brain and a little bit of luck.")
5031 (license license:gpl2+)))
5032
5033 (define-public gnome-multi-writer
5034 (package
5035 (name "gnome-multi-writer")
5036 (version "3.35.90")
5037 (source
5038 (origin
5039 (method url-fetch)
5040 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5041 (version-major+minor version) "/"
5042 "gnome-multi-writer-" version ".tar.xz"))
5043 (sha256
5044 (base32
5045 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5046 (build-system meson-build-system)
5047 (arguments
5048 '(#:glib-or-gtk? #t
5049 #:phases
5050 (modify-phases %standard-phases
5051 (add-after 'unpack 'skip-post-install
5052 (lambda _
5053 (substitute* "meson.build"
5054 (("meson.add_install_script" &) (string-append "# " &)))
5055 #t)))))
5056 (native-inputs
5057 `(("glib:bin" ,glib "bin")
5058 ("pkg-config" ,pkg-config)))
5059 (inputs
5060 `(("gtk+" ,gtk+)
5061 ("glib" ,glib) ; for gio
5062 ("gusb" ,gusb)
5063 ("udisks" ,udisks)
5064 ("libgudev" ,libgudev)
5065 ("libcanberra" ,libcanberra)
5066 ("polkit" ,polkit)))
5067 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5068 (synopsis "Write to multiple USB devices at once")
5069 (description
5070 "MultiWriter can be used to write an ISO file to multiple USB devices at
5071 once.")
5072 (license license:gpl2+)))
5073
5074 (define-public gnome-sudoku
5075 (package
5076 (name "gnome-sudoku")
5077 (version "3.34.1")
5078 (source
5079 (origin
5080 (method url-fetch)
5081 (uri (string-append "mirror://gnome/sources/" name "/"
5082 (version-major+minor version) "/"
5083 name "-" version ".tar.xz"))
5084 (sha256
5085 (base32
5086 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5087 (build-system meson-build-system)
5088 (arguments
5089 '(#:glib-or-gtk? #t
5090 #:phases
5091 (modify-phases %standard-phases
5092 (add-after 'unpack 'skip-gtk-update-icon-cache
5093 (lambda _
5094 (substitute* "build-aux/post_install.py"
5095 (("gtk-update-icon-cache") (which "true")))
5096 #t)))))
5097 (native-inputs
5098 `(("pkg-config" ,pkg-config)
5099 ("desktop-file-utils" ,desktop-file-utils)
5100 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5101 ("intltool" ,intltool)
5102 ("itstool" ,itstool)
5103 ("vala" ,vala)
5104 ("xmllint" ,libxml2)))
5105 (inputs
5106 `(("gtk+" ,gtk+)
5107 ("json-glib" ,json-glib)
5108 ("libgee" ,libgee)
5109 ("librsvg" ,librsvg)
5110 ("qqwing" ,qqwing)))
5111 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5112 (synopsis "Japanese logic game")
5113 (description
5114 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5115 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5116 possible while still providing features that make playing difficult Sudoku
5117 more fun.")
5118 (license license:gpl2+)))
5119
5120 (define-public gnome-terminal
5121 (package
5122 (name "gnome-terminal")
5123 (version "3.34.2")
5124 (source
5125 (origin
5126 (method url-fetch)
5127 (uri (string-append "mirror://gnome/sources/" name "/"
5128 (version-major+minor version) "/"
5129 name "-" version ".tar.xz"))
5130 (sha256
5131 (base32
5132 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5133 (build-system glib-or-gtk-build-system)
5134 (arguments
5135 '(#:configure-flags
5136 (list "--disable-migration" "--disable-search-provider"
5137 "--without-nautilus-extension")
5138 #:phases
5139 (modify-phases %standard-phases
5140 (add-before 'configure 'patch-/bin/true
5141 (lambda _
5142 (substitute* "configure"
5143 (("/bin/true") (which "true"))))))))
5144 (native-inputs
5145 `(("pkg-config" ,pkg-config)
5146 ("desktop-file-utils" ,desktop-file-utils)
5147 ("intltool" ,intltool)
5148 ("itstool" ,itstool)
5149 ("xmllint" ,libxml2)))
5150 (propagated-inputs
5151 `(("dconf" ,dconf)))
5152 (inputs
5153 `(("gtk+" ,gtk+)
5154 ("vte" ,vte)
5155 ("gnutls" ,gnutls)
5156 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5157 ("util-linux" ,util-linux "lib")
5158 ("vala" ,vala)))
5159 (home-page "https://wiki.gnome.org/Apps/Terminal")
5160 (synopsis "Terminal emulator")
5161 (description
5162 "GNOME Terminal is a terminal emulator application for accessing a
5163 UNIX shell environment which can be used to run programs available on
5164 your system.
5165
5166 It supports several profiles, multiple tabs and implements several
5167 keyboard shortcuts.")
5168 (license license:gpl3+)))
5169
5170 (define-public colord
5171 (package
5172 (name "colord")
5173 (version "1.4.5")
5174 (source
5175 (origin
5176 (method url-fetch)
5177 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5178 "colord-" version ".tar.xz"))
5179 (sha256
5180 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5181 (build-system meson-build-system)
5182 (arguments
5183 '(;; FIXME: One test fails:
5184 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5185 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5186 ;; application/x-zerosize
5187 #:tests? #f
5188 #:glib-or-gtk? #t
5189 #:configure-flags (list "-Dlocalstatedir=/var"
5190 ;; No dep on systemd.
5191 "-Dsystemd=false"
5192 ;; Wants to install to global completion dir;
5193 ;; punt.
5194 "-Dbash_completion=false"
5195 "-Ddaemon_user=colord"
5196 "-Dsane=true"
5197 "-Dvapi=true"
5198 ;; Requires spotread.
5199 "-Dargyllcms_sensor=false"
5200 ;; TODO: Requires docbook2x.
5201 "-Dman=false")
5202 #:phases
5203 (modify-phases %standard-phases
5204 (add-before 'configure 'patch-build-system
5205 (lambda* (#:key outputs #:allow-other-keys)
5206 (substitute* "rules/meson.build"
5207 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5208 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5209 #t))
5210 (add-before 'configure 'set-sqlite3-file-name
5211 (lambda* (#:key inputs #:allow-other-keys)
5212 ;; "colormgr dump" works by invoking the "sqlite3" command.
5213 ;; Record its absolute file name.
5214 (let ((sqlite (assoc-ref inputs "sqlite")))
5215 (substitute* "client/cd-util.c"
5216 (("\"sqlite3\"")
5217 (string-append "\"" sqlite "/bin/sqlite3\"")))
5218 #t))))))
5219 (native-inputs
5220 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5221 ("gettext" ,gettext-minimal)
5222 ("gobject-introspection" ,gobject-introspection)
5223 ("gtk-doc" ,gtk-doc)
5224 ("pkg-config" ,pkg-config)
5225 ("vala" ,vala)))
5226 (propagated-inputs
5227 ;; colord.pc refers to all these.
5228 `(("glib" ,glib)
5229 ("lcms" ,lcms)
5230 ("udev" ,eudev)))
5231 (inputs
5232 `(("dbus-glib" ,dbus-glib)
5233 ("gusb" ,gusb)
5234 ("libgudev" ,libgudev)
5235 ("libusb" ,libusb)
5236 ("polkit" ,polkit)
5237 ("python" ,python-wrapper)
5238 ("sqlite" ,sqlite)
5239 ("sane-backends" ,sane-backends)))
5240 (home-page "https://www.freedesktop.org/software/colord/")
5241 (synopsis "Color management service")
5242 (description "Colord is a system service that makes it easy to manage,
5243 install and generate color profiles to accurately color manage input and
5244 output devices.")
5245 (license license:gpl2+)))
5246
5247 (define-public geoclue
5248 (package
5249 (name "geoclue")
5250 (version "2.5.7")
5251 (source
5252 (origin
5253 (method url-fetch)
5254 (uri
5255 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5256 version "/geoclue-" version ".tar.bz2"))
5257 (sha256
5258 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5259 (patches (search-patches "geoclue-config.patch"))))
5260 (build-system meson-build-system)
5261 (arguments
5262 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5263 (native-inputs
5264 `(("pkg-config" ,pkg-config)
5265 ("gobject-introspection" ,gobject-introspection)
5266 ("modem-manager" ,modem-manager)
5267 ("libnotify" ,libnotify)
5268 ("gtk-doc" ,gtk-doc)
5269 ("intltool" ,intltool)))
5270 (inputs
5271 `(("avahi" ,avahi)
5272 ("glib:bin" ,glib "bin")
5273 ("glib-networking" ,glib-networking)
5274 ("json-glib" ,json-glib)
5275 ("libsoup" ,libsoup)))
5276 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5277 (synopsis "Geolocation service")
5278 (description "Geoclue is a D-Bus service that provides location
5279 information. The primary goal of the Geoclue project is to make creating
5280 location-aware applications as simple as possible, while the secondary goal is
5281 to ensure that no application can access location information without explicit
5282 permission from user.")
5283 (license license:gpl2+)))
5284
5285 (define-public geocode-glib
5286 (package
5287 (name "geocode-glib")
5288 (version "3.26.2")
5289 (source (origin
5290 (method url-fetch)
5291 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5292 (version-major+minor version) "/"
5293 "geocode-glib-" version ".tar.xz"))
5294 (sha256
5295 (base32
5296 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5297 (build-system meson-build-system)
5298 (arguments
5299 `(#:phases
5300 (modify-phases %standard-phases
5301 ;; The tests require a bunch of locales.
5302 (add-before 'check 'set-locales
5303 (lambda* (#:key inputs #:allow-other-keys)
5304 (setenv "GUIX_LOCPATH"
5305 (string-append (assoc-ref inputs "glibc-locales")
5306 "/lib/locale"))
5307 #t)))))
5308 (native-inputs
5309 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5310 ("glibc-locales" ,glibc-locales) ; for tests
5311 ("gettext" ,gettext-minimal)
5312 ("gobject-introspection" ,gobject-introspection)
5313 ("gtk-doc" ,gtk-doc)
5314 ("pkg-config" ,pkg-config)
5315 ("json-glib" ,json-glib)))
5316 (propagated-inputs
5317 ;; geocode-glib-1.0.pc refers to GIO.
5318 `(("glib" ,glib)))
5319 (inputs
5320 `(("libsoup" ,libsoup)))
5321 (home-page "https://github.com/GNOME/geocode-glib/")
5322 (synopsis "Geocoding and reverse-geocoding library")
5323 (description
5324 "geocode-glib is a convenience library for geocoding (finding longitude,
5325 and latitude from an address) and reverse geocoding (finding an address from
5326 coordinates) using the Nominatim service. geocode-glib caches requests for
5327 faster results and to avoid unnecessary server load.")
5328 (license license:lgpl2.0+)))
5329
5330 (define-public upower
5331 (package
5332 (name "upower")
5333 (version "0.99.11")
5334 (source (origin
5335 (method url-fetch)
5336 (uri (string-append "https://upower.freedesktop.org/releases/"
5337 "upower-" version ".tar.xz"))
5338 (sha256
5339 (base32
5340 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5341 (patches (search-patches "upower-builddir.patch"))
5342 (modules '((guix build utils)))
5343 (snippet
5344 '(begin
5345 ;; Upstream commit
5346 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5347 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5348 ;; 'dbus-configuration-directory' in (gnu services dbus)
5349 ;; expects it in etc/. Thus, move it back to its previous
5350 ;; location.
5351 (substitute* "src/Makefile.in"
5352 (("^dbusconfdir =.*$")
5353 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5354 #t))))
5355 (build-system glib-or-gtk-build-system)
5356 (arguments
5357 '(#:phases
5358 (modify-phases %standard-phases
5359 (add-before 'check 'pre-check
5360 (lambda* (#:key inputs #:allow-other-keys)
5361 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5362 "/lib")))
5363 (setenv "LD_LIBRARY_PATH" umockdev))
5364 #t)))
5365 #:configure-flags (list "--localstatedir=/var"
5366 (string-append "--with-udevrulesdir="
5367 (assoc-ref %outputs "out")
5368 "/lib/udev/rules.d"))))
5369 (native-inputs
5370 `(("gobject-introspection" ,gobject-introspection)
5371 ("pkg-config" ,pkg-config)
5372 ("intltool" ,intltool)
5373 ("python" ,python)
5374
5375 ;; For tests.
5376 ("python-dbus" ,python-dbus)
5377 ("python-dbusmock" ,python-dbusmock)
5378 ("python-pygobject" ,python-pygobject)
5379 ("umockdev" ,umockdev)
5380
5381 ;; For man pages.
5382 ("libxslt" ,libxslt) ;for 'xsltproc'
5383 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5384 ("docbook-xsl" ,docbook-xsl)))
5385 (inputs
5386 `(("dbus-glib" ,dbus-glib)
5387 ("libgudev" ,libgudev)
5388 ("libusb" ,libusb)))
5389 (propagated-inputs
5390 ;; In Requires of upower-glib.pc.
5391 `(("glib" ,glib)))
5392 (home-page "https://upower.freedesktop.org/")
5393 (synopsis "System daemon for managing power devices")
5394 (description
5395 "UPower is an abstraction for enumerating power devices,
5396 listening to device events and querying history and statistics. Any
5397 application or service on the system can access the org.freedesktop.UPower
5398 service via the system message bus.")
5399 (license license:gpl2+)))
5400
5401 (define-public libgweather
5402 (package
5403 (name "libgweather")
5404 (version "3.34.0")
5405 (source (origin
5406 (method url-fetch)
5407 (uri (string-append "mirror://gnome/sources/" name "/"
5408 (version-major+minor version) "/"
5409 name "-" version ".tar.xz"))
5410 (sha256
5411 (base32
5412 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5413 (build-system meson-build-system)
5414 (arguments
5415 `(#:tests? #f ; one of two tests requires network access
5416 #:configure-flags
5417 `(,(string-append "-Dzoneinfo_dir="
5418 (assoc-ref %build-inputs "tzdata")
5419 "/share/zoneinfo"))))
5420 (native-inputs
5421 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5422 ("gobject-introspection" ,gobject-introspection)
5423 ("pkg-config" ,pkg-config)
5424 ("vala" ,vala)
5425 ("intltool" ,intltool)))
5426 (propagated-inputs
5427 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5428 ;; libsoup.
5429 `(("gtk+" ,gtk+)
5430 ("gdk-pixbuf" ,gdk-pixbuf)
5431 ("libxml2" ,libxml2)
5432 ("libsoup" ,libsoup)
5433 ("geocode-glib" ,geocode-glib)))
5434 (inputs
5435 `(("tzdata" ,tzdata)))
5436 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5437 (synopsis "Location, time zone, and weather library for GNOME")
5438 (description
5439 "libgweather is a library to access weather information from online
5440 services for numerous locations.")
5441 (license license:gpl2+)))
5442
5443 (define-public gnome-settings-daemon
5444 (package
5445 (name "gnome-settings-daemon")
5446 (version "3.34.1")
5447 (source
5448 (origin
5449 (method url-fetch)
5450 (uri (string-append "mirror://gnome/sources/" name "/"
5451 (version-major+minor version) "/"
5452 name "-" version ".tar.xz"))
5453 (sha256
5454 (base32
5455 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5456 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5457 (build-system meson-build-system)
5458 (arguments
5459 `(#:glib-or-gtk? #t
5460 #:configure-flags
5461 (list (string-append "-Dudev_dir="
5462 (assoc-ref %outputs "out")
5463 "/lib/udev/rules.d/")
5464 "-Dsystemd=false"
5465 ;; Otherwise, the RUNPATH will lack the final path component.
5466 (string-append "-Dc_link_args=-Wl,-rpath="
5467 (assoc-ref %outputs "out")
5468 "/lib/gnome-settings-daemon-3.0"))
5469
5470 #:phases (modify-phases %standard-phases
5471 (add-before 'configure 'set-baobab-file-name
5472 (lambda* (#:key inputs #:allow-other-keys)
5473 ;; Hard-code the file name of Baobab instead of looking
5474 ;; it up in $PATH. This ensures users get the "Examine"
5475 ;; button in the low disk space notification of GDM even
5476 ;; if they don't have GNOME in their main profile.
5477 (let ((baobab (assoc-ref inputs "baobab")))
5478 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5479 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5480 (string-append "g_strdup (\"" baobab
5481 "/bin/baobab\")")))
5482 #t))))
5483
5484 ;; Color management test can't reach the colord system service.
5485 #:tests? #f))
5486 (native-inputs
5487 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5488 ("pkg-config" ,pkg-config)
5489 ("intltool" ,intltool)
5490 ("xsltproc" ,libxslt)
5491 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5492 ("docbook-xml" ,docbook-xml-4.2)
5493 ("docbook-xsl" ,docbook-xsl)))
5494 (inputs
5495 `(("alsa-lib" ,alsa-lib)
5496 ("baobab" ,baobab)
5497 ("colord" ,colord)
5498 ("libgudev" ,libgudev)
5499 ("upower" ,upower)
5500 ("polkit" ,polkit)
5501 ("pulseaudio" ,pulseaudio)
5502 ("libcanberra" ,libcanberra)
5503 ("libx11" ,libx11)
5504 ("libxtst" ,libxtst)
5505 ("lcms" ,lcms)
5506 ("libnotify" ,libnotify)
5507 ("geoclue" ,geoclue)
5508 ("geocode-glib" ,geocode-glib)
5509 ("libgweather" ,libgweather)
5510 ("gnome-desktop" ,gnome-desktop)
5511 ("nss" ,nss)
5512 ("cups" ,cups)
5513 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5514 ("libwacom" ,libwacom)
5515 ("librsvg" ,librsvg)
5516 ("xf86-input-wacom" ,xf86-input-wacom)
5517 ("wayland" ,wayland)
5518 ("network-manager" ,network-manager)
5519 ("gcr" ,gcr)
5520 ("modem-manager" ,modem-manager)))
5521 (home-page "https://www.gnome.org")
5522 (synopsis "GNOME settings daemon")
5523 (description
5524 "This package contains the daemon responsible for setting the various
5525 parameters of a GNOME session and the applications that run under it. It
5526 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5527 settings, themes, mouse settings, and startup of other daemons.")
5528 (license license:gpl2+)))
5529
5530 (define-public totem-pl-parser
5531 (package
5532 (name "totem-pl-parser")
5533 (version "3.26.5")
5534 (source (origin
5535 (method url-fetch)
5536 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5537 (version-major+minor version) "/"
5538 "totem-pl-parser-" version ".tar.xz"))
5539 (sha256
5540 (base32
5541 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5542 (build-system meson-build-system)
5543 (arguments
5544 ;; FIXME: Tests require gvfs.
5545 `(#:tests? #f))
5546 (native-inputs
5547 `(("intltool" ,intltool)
5548 ("glib" ,glib "bin")
5549 ("gobject-introspection" ,gobject-introspection)
5550 ("pkg-config" ,pkg-config)))
5551 (propagated-inputs
5552 `(("glib" ,glib)
5553 ("gmime" ,gmime)
5554 ("libarchive" ,libarchive)
5555 ("libgcrypt" ,libgcrypt)
5556 ("libxml2" ,libxml2)))
5557 (inputs
5558 `(("libsoup" ,libsoup)))
5559 (home-page "https://projects.gnome.org/totem")
5560 (synopsis "Library to parse and save media playlists for GNOME")
5561 (description "Totem-pl-parser is a GObjects-based library to parse and save
5562 playlists in a variety of formats.")
5563 (license license:lgpl2.0+)))
5564
5565 (define-public aisleriot
5566 (package
5567 (name "aisleriot")
5568 (version "3.22.9")
5569 (source (origin
5570 (method url-fetch)
5571 (uri (string-append "mirror://gnome/sources/aisleriot/"
5572 (version-major+minor version) "/"
5573 "aisleriot-" version ".tar.xz"))
5574 (sha256
5575 (base32
5576 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5577 (build-system glib-or-gtk-build-system)
5578 (arguments
5579 '(#:configure-flags
5580 '("--with-platform=gtk-only"
5581 "--with-card-theme-formats=svg")))
5582 (native-inputs
5583 `(("desktop-file-utils" ,desktop-file-utils)
5584 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5585 ("intltool" ,intltool)
5586 ("itstool" ,itstool)
5587 ("pkg-config" ,pkg-config)
5588 ("xmllint" ,libxml2)))
5589 (inputs
5590 `(("gtk+" ,gtk+)
5591 ("guile" ,guile-2.2)
5592 ("libcanberra" ,libcanberra)
5593 ("librsvg" ,librsvg)))
5594 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5595 (synopsis "Solitaire card games")
5596 (description
5597 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5598 which are easy to play with the aid of a mouse.")
5599 (license license:gpl3+)))
5600
5601 (define-public amtk
5602 (package
5603 (name "amtk")
5604 (version "5.0.2")
5605 (source (origin
5606 (method url-fetch)
5607 (uri (string-append "mirror://gnome/sources/amtk/"
5608 (version-major+minor version) "/"
5609 "amtk-" version ".tar.xz"))
5610 (sha256
5611 (base32
5612 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5613 (build-system gnu-build-system)
5614 (arguments
5615 '(#:configure-flags '("--enable-gtk-doc")))
5616 (native-inputs
5617 `(("gobject-introspection" ,gobject-introspection)
5618 ("glib:bin" ,glib "bin") ; for glib-mkenums
5619 ("gtk-doc" ,gtk-doc)
5620 ("pkg-config" ,pkg-config)))
5621 (inputs
5622 `(("glib" ,glib)
5623 ("gtk+" ,gtk+)))
5624 (home-page "https://wiki.gnome.org/Projects/Amtk")
5625 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5626 (description
5627 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5628 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5629 both a traditional UI or a modern UI with a GtkHeaderBar.")
5630 (license license:lgpl2.1+)))
5631
5632 (define-public devhelp
5633 (package
5634 (name "devhelp")
5635 (version "3.34.0")
5636 (source (origin
5637 (method url-fetch)
5638 (uri (string-append "mirror://gnome/sources/" name "/"
5639 (version-major+minor version) "/"
5640 name "-" version ".tar.xz"))
5641 (sha256
5642 (base32
5643 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5644 (build-system meson-build-system)
5645 (arguments
5646 '(#:glib-or-gtk? #t
5647 #:phases
5648 (modify-phases %standard-phases
5649 (add-after 'unpack 'skip-gtk-update-icon-cache
5650 ;; Don't create 'icon-theme.cache'.
5651 (lambda _
5652 (substitute* "meson_post_install.py"
5653 (("gtk-update-icon-cache") "true"))
5654 #t)))))
5655 (native-inputs
5656 `(("intltool" ,intltool)
5657 ("itstool" ,itstool)
5658 ("gobject-introspection" ,gobject-introspection)
5659 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5660 ("pkg-config" ,pkg-config)))
5661 (inputs
5662 `(("amtk" ,amtk)
5663 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5664 ("webkitgtk" ,webkitgtk)))
5665 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5666 (synopsis "API documentation browser for GNOME")
5667 (description
5668 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5669 natively with GTK-Doc (the API reference system developed for GTK+ and used
5670 throughout GNOME for API documentation).")
5671 (license license:gpl2+)))
5672
5673 (define-public cogl
5674 (package
5675 (name "cogl")
5676 (version "1.22.8")
5677 (source
5678 (origin
5679 (method url-fetch)
5680 (uri (string-append "mirror://gnome/sources/cogl/"
5681 (version-major+minor version) "/"
5682 "cogl-" version ".tar.xz"))
5683 (sha256
5684 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5685 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5686 ;; cogl, corresponding changes may be appropriate in mutter as well.
5687 (build-system gnu-build-system)
5688 (native-inputs
5689 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5690 ("gobject-introspection" ,gobject-introspection)
5691 ("xorg-server" ,xorg-server-for-tests)
5692 ("pkg-config" ,pkg-config)))
5693 (propagated-inputs
5694 `(("glib" ,glib)
5695 ("gdk-pixbuf" ,gdk-pixbuf)
5696 ("libx11" ,libx11)
5697 ("libxext" ,libxext)
5698 ("libxfixes" ,libxfixes)
5699 ("libxdamage" ,libxdamage)
5700 ("libxcomposite" ,libxcomposite)
5701 ("libxrandr" ,libxrandr)))
5702 (inputs
5703 `(("mesa" ,mesa)
5704 ("cairo" ,cairo)
5705 ("pango" ,pango)
5706 ("gstreamer" ,gstreamer)
5707 ("gst-plugins-base" ,gst-plugins-base)
5708 ("wayland" ,wayland)))
5709 (arguments
5710 `(#:disallowed-references (,xorg-server-for-tests)
5711 #:configure-flags (list "--enable-cogl-gst"
5712 "--enable-wayland-egl-platform"
5713 "--enable-wayland-egl-server"
5714
5715 ;; Arrange to pass an absolute file name to
5716 ;; dlopen for libGL.so.
5717 (string-append "--with-gl-libname="
5718 (assoc-ref %build-inputs "mesa")
5719 "/lib/libGL.so"))
5720 #:phases
5721 (modify-phases %standard-phases
5722 (add-after 'unpack 'fix-build-with-mesa-20
5723 (lambda _
5724 ;; Work around a problem with Mesa 20 where some macros used by
5725 ;; Cogl went missing from eglext.h. This can likely be removed
5726 ;; for newer versions of Cogl or Mesa.
5727 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5728 (substitute* '("configure"
5729 "cogl/winsys/cogl-winsys-egl-kms.c")
5730 (("#include <EGL/eglext.h>" all)
5731 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5732 #t))
5733 (add-before 'check 'start-xorg-server
5734 (lambda* (#:key tests? inputs #:allow-other-keys)
5735 (if tests?
5736 (begin
5737 ;; The test suite requires a running X server.
5738 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5739 (assoc-ref inputs "xorg-server")))
5740 (setenv "DISPLAY" ":1")
5741 #t)
5742 (format #t "test suite not run~%"))
5743 #t)))))
5744 (home-page "https://www.cogl3d.org")
5745 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5746 (description
5747 "Cogl is a small library for using 3D graphics hardware to draw pretty
5748 pictures. The API departs from the flat state machine style of OpenGL and is
5749 designed to make it easy to write orthogonal components that can render
5750 without stepping on each others toes.")
5751 (license (list license:expat ; most of the code
5752 license:bsd-3 ; cogl/cogl-point-in-poly.c
5753 license:sgifreeb2.0 ; cogl-path/tesselator/
5754 license:asl2.0)))) ; examples/android/
5755
5756 (define-public clutter
5757 (package
5758 (name "clutter")
5759 (version "1.26.2")
5760 (source
5761 (origin
5762 (method url-fetch)
5763 (uri (string-append "mirror://gnome/sources/" name "/"
5764 (version-major+minor version) "/"
5765 name "-" version ".tar.xz"))
5766 (sha256
5767 (base32
5768 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5769 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5770 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5771 (build-system gnu-build-system)
5772 (outputs '("out"
5773 "doc")) ;9 MiB of gtk-doc HTML pages
5774 (native-inputs
5775 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5776 ("gobject-introspection" ,gobject-introspection)
5777 ("pkg-config" ,pkg-config)
5778 ("xsltproc" ,libxslt)))
5779 (propagated-inputs
5780 `(("cogl" ,cogl)
5781 ("cairo" ,cairo)
5782 ("atk" ,atk)
5783 ("gtk+" ,gtk+)
5784 ("json-glib" ,json-glib)
5785 ("glib" ,glib)
5786 ("libxcomposite" ,libxcomposite)
5787 ("libxdamage" ,libxdamage)
5788 ("libxext" ,libxext)
5789 ("xinput" ,xinput)))
5790 (inputs
5791 `(("libxkbcommon" ,libxkbcommon)
5792 ("udev" ,eudev)))
5793 (arguments
5794 `(#:configure-flags (list "--enable-x11-backend=yes"
5795
5796 ;; This produces share/doc/{clutter,cally}.
5797 (string-append "--with-html-dir="
5798 (assoc-ref %outputs "doc")
5799 "/share/doc"))
5800 ;; XXX FIXME: Get test suite working. It would probably fail in the
5801 ;; same way the cogl tests fail, since clutter is based on cogl.
5802 #:tests? #f))
5803 (home-page "http://www.clutter-project.org")
5804 (synopsis "OpenGL-based interactive canvas library")
5805 (description
5806 "Clutter is an OpenGL-based interactive canvas library, designed for
5807 creating fast, mainly 2D single window applications such as media box UIs,
5808 presentations, kiosk style applications and so on.")
5809 (license license:lgpl2.0+)))
5810
5811 (define-public clutter-gtk
5812 (package
5813 (name "clutter-gtk")
5814 (version "1.8.4")
5815 (source
5816 (origin
5817 (method url-fetch)
5818 (uri (string-append "mirror://gnome/sources/" name "/"
5819 (version-major+minor version) "/"
5820 name "-" version ".tar.xz"))
5821 (sha256
5822 (base32
5823 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5824 (build-system gnu-build-system)
5825 (native-inputs
5826 `(("pkg-config" ,pkg-config)
5827 ("gobject-introspection" ,gobject-introspection)))
5828 (propagated-inputs
5829 ;; clutter-gtk.pc refers to all these.
5830 `(("clutter" ,clutter)
5831 ("gtk+" ,gtk+)))
5832 (home-page "http://www.clutter-project.org")
5833 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5834 (description
5835 "Clutter is an OpenGL-based interactive canvas library, designed for
5836 creating fast, mainly 2D single window applications such as media box UIs,
5837 presentations, kiosk style applications and so on.")
5838 (license license:lgpl2.0+)))
5839
5840 (define-public clutter-gst
5841 (package
5842 (name "clutter-gst")
5843 (version "3.0.27")
5844 (source
5845 (origin
5846 (method url-fetch)
5847 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5848 (version-major+minor version) "/"
5849 "clutter-gst-" version ".tar.xz"))
5850 (sha256
5851 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5852 (build-system gnu-build-system)
5853 (native-inputs
5854 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5855 ("pkg-config" ,pkg-config)
5856 ("gobject-introspection" ,gobject-introspection)))
5857 (inputs
5858 `(("clutter" ,clutter)
5859 ("gstreamer" ,gstreamer)
5860 ("gst-plugins-base" ,gst-plugins-base)))
5861 (home-page "http://www.clutter-project.org")
5862 (synopsis "Integration library for using GStreamer with Clutter")
5863 (description
5864 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5865 It provides a GStreamer sink to upload frames to GL and an actor that
5866 implements the ClutterGstPlayer interface using playbin. Clutter is an
5867 OpenGL-based interactive canvas library.")
5868 (license license:lgpl2.0+)))
5869
5870 (define-public libchamplain
5871 (package
5872 (name "libchamplain")
5873 (version "0.12.16")
5874 (source (origin
5875 (method url-fetch)
5876 (uri (string-append
5877 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5878 version ".tar.xz"))
5879 (sha256
5880 (base32
5881 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5882 (build-system gnu-build-system)
5883 (arguments '(#:configure-flags '("--enable-vala")))
5884 (native-inputs
5885 `(("gobject-introspection" ,gobject-introspection)
5886 ("pkg-config" ,pkg-config)
5887 ("vala" ,vala)))
5888 (propagated-inputs
5889 `(("libsoup" ,libsoup)
5890 ("sqlite" ,sqlite)
5891 ("clutter" ,clutter)
5892 ("clutter-gtk" ,clutter-gtk)
5893 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5894 ("cairo" ,cairo)
5895 ("gtk+3" ,gtk+)
5896 ("glib" ,glib)))
5897 (home-page "https://projects.gnome.org/libchamplain/")
5898 (synopsis "C library providing a ClutterActor to display maps")
5899 (description
5900 "libchamplain is a C library providing a ClutterActor to display maps.
5901 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5902 and Perl bindings are also available. It supports numerous free map sources
5903 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5904 (license license:lgpl2.1+)))
5905
5906 (define-public gom
5907 (package
5908 (name "gom")
5909 (version "0.3.2")
5910 (source
5911 (origin
5912 (method url-fetch)
5913 (uri (string-append "mirror://gnome/sources/gom/"
5914 (version-major+minor version) "/"
5915 "gom-" version ".tar.xz"))
5916 (sha256
5917 (base32
5918 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5919 (build-system gnu-build-system)
5920 (native-inputs
5921 `(("intltool" ,intltool)
5922 ("pkg-config" ,pkg-config)
5923 ("gobject-introspection" ,gobject-introspection)))
5924 (inputs
5925 `(("glib" ,glib)
5926 ("gdk-pixbuf" ,gdk-pixbuf)
5927 ("sqlite" ,sqlite)))
5928 ;; XXX TODO: Figure out how to run the test suite.
5929 (arguments `(#:tests? #f))
5930 (home-page "https://wiki.gnome.org/Projects/Gom")
5931 (synopsis "Object mapper from GObjects to SQLite")
5932 (description
5933 "Gom provides an object mapper from GObjects to SQLite. It helps you
5934 write applications that need to store structured data as well as make complex
5935 queries upon that data.")
5936 (license license:lgpl2.1+)))
5937
5938 (define-public libgnome-games-support
5939 (package
5940 (name "libgnome-games-support")
5941 (version "1.4.4")
5942 (source (origin
5943 (method url-fetch)
5944 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5945 (version-major+minor version) "/"
5946 "libgnome-games-support-" version ".tar.xz"))
5947 (sha256
5948 (base32
5949 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5950 (build-system gnu-build-system)
5951 (arguments
5952 '(#:phases
5953 (modify-phases %standard-phases
5954 (add-before 'check 'pre-check
5955 (lambda _
5956 ;; Tests require a writable HOME.
5957 (setenv "HOME" (getcwd))
5958 #t)))))
5959 (native-inputs
5960 `(("intltool" ,intltool)
5961 ("pkg-config" ,pkg-config)
5962 ("vala" ,vala)))
5963 (propagated-inputs
5964 ;; Required by libgnome-games-support-1.0.pc
5965 `(("gtk+" ,gtk+)
5966 ("libgee" ,libgee)))
5967 (home-page "https://www.gnome.org/")
5968 (synopsis "Useful functionality shared among GNOME games")
5969 (description
5970 "libgnome-games-support is a small library intended for internal use by
5971 GNOME Games, but it may be used by others.")
5972 (license license:lgpl3+)))
5973
5974 (define-public gnome-klotski
5975 (package
5976 (name "gnome-klotski")
5977 (version "3.34.0")
5978 (source (origin
5979 (method url-fetch)
5980 (uri (string-append "mirror://gnome/sources/" name "/"
5981 (version-major+minor version) "/"
5982 name "-" version ".tar.xz"))
5983 (sha256
5984 (base32
5985 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5986 (build-system meson-build-system)
5987 (arguments
5988 '(#:glib-or-gtk? #t
5989 #:phases
5990 (modify-phases %standard-phases
5991 (add-after 'unpack 'skip-gtk-update-icon-cache
5992 ;; Don't create 'icon-theme.cache'.
5993 (lambda _
5994 (substitute* "build-aux/meson_post_install.py"
5995 (("gtk-update-icon-cache") (which "true")))
5996 #t)))))
5997 (native-inputs
5998 `(("desktop-file-utils" ,desktop-file-utils)
5999 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6000 ("intltool" ,intltool)
6001 ("itstool" ,itstool)
6002 ("pkg-config" ,pkg-config)
6003 ("vala" ,vala)
6004 ("xmllint" ,libxml2)))
6005 (inputs
6006 `(("gtk+" ,gtk+)
6007 ("libgnome-games-support" ,libgnome-games-support)
6008 ("librsvg" ,librsvg)))
6009 (home-page "https://wiki.gnome.org/Apps/Klotski")
6010 (synopsis "Sliding block puzzles")
6011 (description
6012 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6013 the patterned block to the area bordered by green markers. To do so, you will
6014 need to slide other blocks out of the way. Complete each puzzle in as few moves
6015 as possible!")
6016 (license license:gpl2+)))
6017
6018 (define-public grilo
6019 (package
6020 (name "grilo")
6021 (version "0.3.12")
6022 (source
6023 (origin
6024 (method url-fetch)
6025 (uri (string-append "mirror://gnome/sources/grilo/"
6026 (version-major+minor version) "/"
6027 "grilo-" version ".tar.xz"))
6028 (sha256
6029 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6030 (build-system meson-build-system)
6031 (native-inputs
6032 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6033 ("intltool" ,intltool)
6034 ("pkg-config" ,pkg-config)
6035 ("gobject-introspection" ,gobject-introspection)
6036 ("gtk-doc" ,gtk-doc)
6037 ("vala" ,vala)))
6038 (inputs
6039 `(("cyrus-sasl" ,cyrus-sasl)
6040 ("glib" ,glib)
6041 ("gtk+" ,gtk+)
6042 ("libxml2" ,libxml2)
6043 ("liboauth" ,liboauth)
6044 ("libsoup" ,libsoup)
6045 ("totem-pl-parser" ,totem-pl-parser)))
6046 (native-search-paths
6047 (list (search-path-specification
6048 (variable "GRL_PLUGIN_PATH")
6049 (files (list (string-append "lib/grilo-"
6050 (version-major+minor version)))))))
6051 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6052 (synopsis "Framework for discovering and browsing media")
6053 (description
6054 "Grilo is a framework focused on making media discovery and browsing easy
6055 for application developers.")
6056 (license license:lgpl2.1+)))
6057
6058 (define-public grilo-plugins
6059 (package
6060 (name "grilo-plugins")
6061 (version "0.3.11")
6062 (source
6063 (origin
6064 (method url-fetch)
6065 (uri (string-append "mirror://gnome/sources/" name "/"
6066 (version-major+minor version) "/"
6067 name "-" version ".tar.xz"))
6068 (sha256
6069 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6070 (build-system meson-build-system)
6071 (native-inputs
6072 `(("gettext" ,gettext-minimal)
6073 ("glib:bin" ,glib "bin")
6074 ("gtk+:bin" ,gtk+ "bin")
6075 ("itstool" ,itstool)
6076 ("pkg-config" ,pkg-config)))
6077 ;; TODO: ahavi, gstreamer
6078 (inputs
6079 `(("grilo" ,grilo)
6080 ;("gmime" ,gmime) ; unused
6081 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6082 ("gom" ,gom)
6083 ;("gssdp" ,gssdp) ; unused
6084 ;("gupnp" ,gupnp) ; unused
6085 ;("gupnp-av" ,gupnp-av) ; unused
6086 ("json-glib" ,json-glib)
6087 ("avahi" ,avahi)
6088 ("libgdata" ,libgdata)
6089 ("libmediaart" ,libmediaart)
6090 ;("librest" ,rest) ; unused
6091 ("libsoup" ,libsoup)
6092 ("totam-pl-parser" ,totem-pl-parser)
6093 ("tracker" ,tracker))) ; unused because it's too old
6094 (arguments
6095 `(#:glib-or-gtk? #t
6096 ;;Disable lua-factory as it needs missing dependencies
6097 #:configure-flags '("-Denable-lua-factory=no")))
6098 (home-page "https://live.gnome.org/Grilo")
6099 (synopsis "Plugins for the Grilo media discovery library")
6100 (description
6101 "Grilo is a framework focused on making media discovery and browsing easy
6102 for application developers. This package provides plugins for common media
6103 discovery protocols.")
6104 (license license:lgpl2.1+)))
6105
6106 (define-public totem
6107 (package
6108 (name "totem")
6109 (version "3.38.0")
6110 (source
6111 (origin
6112 (method url-fetch)
6113 (uri (string-append "mirror://gnome/sources/totem/"
6114 (version-major+minor version) "/"
6115 "totem-" version ".tar.xz"))
6116 (sha256
6117 (base32
6118 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6119 (build-system meson-build-system)
6120 (native-inputs
6121 `(("pkg-config" ,pkg-config)
6122 ("desktop-file-utils" ,desktop-file-utils)
6123 ("gettext" ,gettext-minimal)
6124 ("gobject-introspection" ,gobject-introspection)
6125 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6126 ("itstool" ,itstool)
6127 ("xmllint" ,libxml2)
6128 ("xorg-server" ,xorg-server-for-tests)))
6129 (propagated-inputs
6130 `(("dconf" ,dconf)))
6131 (inputs
6132 `(("gtk+" ,gtk+)
6133 ("gdk-pixbuf" ,gdk-pixbuf)
6134 ("atk" ,atk)
6135 ("cairo" ,cairo)
6136 ("dbus-glib" ,dbus-glib)
6137 ("clutter" ,clutter)
6138 ("clutter-gtk" ,clutter-gtk)
6139 ("clutter-gst" ,clutter-gst)
6140 ("xorgproto" ,xorgproto)
6141 ("libxxf86vm" ,libxxf86vm)
6142 ("libxtst" ,libxtst)
6143 ("libxrandr" ,libxrandr)
6144 ("libxml2" ,libxml2)
6145 ("libsoup" ,libsoup)
6146 ("libpeas" ,libpeas)
6147 ("librsvg" ,librsvg)
6148 ("lirc" ,lirc)
6149 ("gnome-desktop" ,gnome-desktop)
6150 ("gstreamer" ,gstreamer)
6151 ("gst-plugins-base" ,gst-plugins-base)
6152 ("gst-plugins-good" ,gst-plugins-good)
6153 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6154 ("adwaita-icon-theme" ,adwaita-icon-theme)
6155 ("python" ,python)
6156 ("python-pygobject" ,python-pygobject)
6157 ("totem-pl-parser" ,totem-pl-parser)
6158 ("grilo" ,grilo)
6159 ("grilo-plugins" ,grilo-plugins)
6160 ("vala" ,vala)))
6161 (arguments
6162 `(#:glib-or-gtk? #t
6163
6164 ;; Disable automatic GStreamer plugin installation via PackageKit and
6165 ;; all that.
6166 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6167
6168 ;; Do not build .a files for the plugins, it's
6169 ;; completely useless. This saves 2 MiB.
6170 "--default-library" "shared")
6171 #:phases
6172 (modify-phases %standard-phases
6173 (add-after 'unpack 'skip-gtk-update-icon-cache
6174 ;; Don't create 'icon-theme.cache'.
6175 (lambda _
6176 (substitute* "meson_post_install.py"
6177 (("gtk-update-icon-cache") "true"))
6178 #t))
6179 (add-after 'unpack 'patch-failing-test
6180 (lambda _
6181 ;; Work around test failure with GStreamer 1.18, because the test
6182 ;; relies on "und" not being mapped to a particular language:
6183 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6184 (substitute* "src/test-totem.c"
6185 (("und") "nosuchlang"))
6186 #t))
6187 (add-before
6188 'install 'disable-cache-generation
6189 (lambda _
6190 (setenv "DESTDIR" "/")
6191 #t))
6192 (add-before
6193 'check 'pre-check
6194 (lambda _
6195 ;; Tests require a running X server.
6196 (system "Xvfb :1 &")
6197 (setenv "DISPLAY" ":1")
6198 #t))
6199 (add-after
6200 'install 'wrap-totem
6201 (lambda* (#:key inputs outputs #:allow-other-keys)
6202 (let ((out (assoc-ref outputs "out"))
6203 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6204 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6205 (wrap-program (string-append out "/bin/totem")
6206 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6207 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6208 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6209 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6210 #t)))))
6211 (home-page "https://wiki.gnome.org/Apps/Videos")
6212 (synopsis "Simple media player for GNOME based on GStreamer")
6213 (description "Totem is a simple yet featureful media player for GNOME
6214 which can read a large number of file formats.")
6215 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6216 ;; to be used and distributed together with GStreamer and Totem. See
6217 ;; file://COPYING in the source distribution for details.
6218 (license license:gpl2+)))
6219
6220 (define-public rhythmbox
6221 (package
6222 (name "rhythmbox")
6223 (version "3.4.4")
6224 (source (origin
6225 (method url-fetch)
6226 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6227 (version-major+minor version) "/"
6228 "rhythmbox-" version ".tar.xz"))
6229 (sha256
6230 (base32
6231 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6232 (build-system glib-or-gtk-build-system)
6233 (arguments
6234 `(#:configure-flags
6235 (list "--enable-lirc"
6236 "--enable-python"
6237 "--enable-vala"
6238 "--with-brasero"
6239 "--with-gudev"
6240 "--with-libsecret")
6241 #:phases
6242 (modify-phases %standard-phases
6243 (add-after
6244 'install 'wrap-rhythmbox
6245 (lambda* (#:key inputs outputs #:allow-other-keys)
6246 (let ((out (assoc-ref outputs "out"))
6247 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6248 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6249 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6250 (python-path (getenv "PYTHONPATH")))
6251 (wrap-program (string-append out "/bin/rhythmbox")
6252 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6253 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6254 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6255 `("PYTHONPATH" ":" prefix (,python-path))))
6256 #t)))))
6257 (propagated-inputs
6258 `(("dconf" ,dconf)))
6259 (native-inputs
6260 `(("itstool" ,itstool)
6261 ("intltool" ,intltool)
6262 ("glib" ,glib "bin")
6263 ("gobject-introspection" ,gobject-introspection)
6264 ("desktop-file-utils" ,desktop-file-utils)
6265 ("pkg-config" ,pkg-config)
6266 ("xmllint" ,libxml2)))
6267 (inputs
6268 `(("json-glib" ,json-glib)
6269 ("tdb" ,tdb)
6270 ("gnome-desktop" ,gnome-desktop)
6271 ("python" ,python)
6272 ("python-pygobject" ,python2-pygobject)
6273 ("vala" ,vala)
6274 ("gmime" ,gmime)
6275 ("adwaita-icon-theme" ,adwaita-icon-theme)
6276 ("grilo" ,grilo)
6277 ("grilo-plugins" ,grilo-plugins)
6278 ("gstreamer" ,gstreamer)
6279 ("gst-plugins-base" ,gst-plugins-base)
6280 ("gst-plugins-good" ,gst-plugins-good)
6281 ("totem-pl-parser" ,totem-pl-parser)
6282 ("libgudev" ,libgudev)
6283 ;;("libmtp" ,libmtp) FIXME: Not detected
6284 ("libsecret" ,libsecret)
6285 ("libsoup" ,libsoup)
6286 ("libnotify" ,libnotify)
6287 ("libpeas" ,libpeas)
6288 ("lirc" ,lirc)
6289 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6290 ;;("clutter" ,clutter)
6291 ;;("clutter-gtk" ,clutter-gtk)
6292 ;;("clutter-gst" ,clutter-gst)
6293 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6294 ("atk" ,atk)
6295 ("pango" ,pango)
6296 ("gtk+" ,gtk+)
6297 ;; TODO:
6298 ;; * libgpod
6299 ;; * mx
6300 ("brasero" ,brasero)))
6301 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6302 (synopsis "Music player for GNOME")
6303 (description "Rhythmbox is a music playing application for GNOME. It
6304 supports playlists, song ratings, and any codecs installed through gstreamer.")
6305 (license license:gpl2+)))
6306
6307 (define-public eog
6308 (package
6309 (name "eog")
6310 (version "3.34.1")
6311 (source (origin
6312 (method url-fetch)
6313 (uri (string-append "mirror://gnome/sources/" name "/"
6314 (version-major+minor version) "/"
6315 name "-" version ".tar.xz"))
6316 (sha256
6317 (base32
6318 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6319 (build-system meson-build-system)
6320 (arguments
6321 `(#:configure-flags
6322 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6323 (list (string-append "-Dc_link_args=-Wl,-rpath="
6324 (assoc-ref %outputs "out") "/lib/eog"))
6325 #:phases
6326 (modify-phases %standard-phases
6327 (add-after 'unpack 'skip-gtk-update-icon-cache
6328 ;; Don't create 'icon-theme.cache'.
6329 (lambda _
6330 (substitute* "meson_post_install.py"
6331 (("gtk-update-icon-cache") "true"))
6332 #t))
6333 (add-after 'install 'wrap-eog
6334 (lambda* (#:key outputs #:allow-other-keys)
6335 (let ((out (assoc-ref outputs "out"))
6336 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6337 (wrap-program (string-append out "/bin/eog")
6338 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6339 #t)))))
6340 (propagated-inputs
6341 `(("dconf" ,dconf)))
6342 (native-inputs
6343 `(("intltool" ,intltool)
6344 ("itstool" ,itstool)
6345 ("glib" ,glib "bin")
6346 ("gobject-introspection" ,gobject-introspection)
6347 ("pkg-config" ,pkg-config)
6348 ("xmllint" ,libxml2)))
6349 (inputs
6350 `(("gnome-desktop" ,gnome-desktop)
6351 ("shared-mime-info" ,shared-mime-info)
6352 ("adwaita-icon-theme" ,adwaita-icon-theme)
6353 ("exempi" ,exempi)
6354 ("lcms" ,lcms)
6355 ("libexif" ,libexif)
6356 ("libpeas" ,libpeas)
6357 ("libjpeg" ,libjpeg-turbo)
6358 ("librsvg" ,librsvg-next)
6359 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6360 ("gtk+" ,gtk+)))
6361 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6362 (synopsis "GNOME image viewer")
6363 (description "Eye of GNOME is the GNOME image viewer. It
6364 supports image conversion, rotation, and slideshows.")
6365 (license license:gpl2+)))
6366
6367 (define-public eog-plugins
6368 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6369 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6370 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6371 ;; 'XDG_DATA_DIRS' appropriately set.
6372 (package
6373 (name "eog-plugins")
6374 (version "3.26.4")
6375 (source (origin
6376 (method url-fetch)
6377 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6378 (version-major+minor version) "/"
6379 "eog-plugins-" version ".tar.xz"))
6380 (sha256
6381 (base32
6382 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6383 (build-system gnu-build-system)
6384 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6385 (synopsis "Extensions for the Eye of GNOME image viewer")
6386 (native-inputs
6387 `(("pkg-config" ,pkg-config)
6388 ("gettext" ,gettext-minimal)))
6389 (inputs
6390 `(("eog" ,eog)
6391 ("glib" ,glib)
6392 ("gtk+" ,gtk+)
6393 ("libpeas" ,libpeas)
6394 ("libexif" ,libexif)
6395 ("libchamplain" ,libchamplain)))
6396 (description
6397 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6398 notably:
6399
6400 @itemize
6401 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6402 @item @dfn{Map}, which displays a map of where the picture was taken on the
6403 side panel;
6404 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6405 @end itemize\n")
6406
6407 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6408 ;; long suspicious byte stream that goes to a
6409 ;; ".gresource.eog_postasa_plugin" ELF section.
6410 (license license:gpl2+)))
6411
6412 (define-public libgudev
6413 (package
6414 (name "libgudev")
6415 (version "232")
6416 (source (origin
6417 (method url-fetch)
6418 (uri (string-append "mirror://gnome/sources/" name "/"
6419 version "/" name "-" version ".tar.xz"))
6420 (sha256
6421 (base32
6422 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6423 (build-system gnu-build-system)
6424 (arguments
6425 '(#:configure-flags
6426 ;; umockdev depends on libgudev.
6427 (list "--disable-umockdev")))
6428 (native-inputs
6429 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6430 ("gobject-introspection" ,gobject-introspection)
6431 ("pkg-config" ,pkg-config)))
6432 (propagated-inputs
6433 `(("glib" ,glib))) ; required by gudev-1.0.pc
6434 (inputs
6435 `(("udev" ,eudev)))
6436 (home-page "https://wiki.gnome.org/Projects/libgudev")
6437 (synopsis "GObject bindings for libudev")
6438 (description
6439 "This library provides GObject bindings for libudev. It was originally
6440 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6441 (license license:lgpl2.1+)))
6442
6443 (define-public gvfs
6444 (package
6445 (name "gvfs")
6446 (version "1.40.1")
6447 (source (origin
6448 (method url-fetch)
6449 (uri (string-append "mirror://gnome/sources/gvfs/"
6450 (version-major+minor version) "/"
6451 "gvfs-" version ".tar.xz"))
6452 (sha256
6453 (base32
6454 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6455 ;; This patch may be removed when upgrading to version 1.46.x.
6456 (patches
6457 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6458 (build-system meson-build-system)
6459 (arguments
6460 '(#:glib-or-gtk? #t
6461 #:configure-flags
6462 (list "-Dsystemduserunitdir=no"
6463 "-Dtmpfilesdir=no"
6464 ;; Otherwise, the RUNPATH will lack the final path component.
6465 (string-append "-Dc_link_args=-Wl,-rpath="
6466 (assoc-ref %outputs "out") "/lib/gvfs"))))
6467 (native-inputs
6468 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6469 ("gettext" ,gettext-minimal)
6470 ("gtk-doc" ,gtk-doc)
6471 ("pkg-config" ,pkg-config)
6472 ("xsltproc" ,libxslt)))
6473 (inputs
6474 `(("avahi" ,avahi)
6475 ("docbook-xml" ,docbook-xml-4.2)
6476 ("docbook-xsl" ,docbook-xsl)
6477 ("dbus" ,dbus)
6478 ("elogind" ,elogind)
6479 ("fuse" ,fuse)
6480 ("gcr" ,gcr)
6481 ("glib" ,glib)
6482 ("gnome-online-accounts" ,gnome-online-accounts)
6483 ("libarchive" ,libarchive)
6484 ("libbluray" ,libbluray)
6485 ("libcap" ,libcap)
6486 ("libcdio-paranoia" ,libcdio-paranoia)
6487 ("libgcrypt" ,libgcrypt)
6488 ("libgdata" ,libgdata)
6489 ("libgphoto2" ,libgphoto2)
6490 ("libgudev" ,libgudev)
6491 ("libimobiledevice" ,libimobiledevice)
6492 ("libmtp" ,libmtp)
6493 ("libnfs" ,libnfs)
6494 ("libsecret" ,libsecret)
6495 ("libsmbclient" ,samba)
6496 ("libsoup" ,libsoup)
6497 ("libxml2" ,libxml2)
6498 ("openssh" ,openssh)
6499 ("polkit" ,polkit)
6500 ("udisks" ,udisks)))
6501 (home-page "https://wiki.gnome.org/gvfs/")
6502 (synopsis "Userspace virtual file system for GIO")
6503 (description
6504 "GVFS is a userspace virtual file system designed to work with the I/O
6505 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6506 to all applications using the GIO API. It also supports exposing the GVFS
6507 mounts to non-GIO applications using FUSE.
6508
6509 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6510 DAV, and others.")
6511 (license license:lgpl2.0+)))
6512
6513 (define-public gusb
6514 (package
6515 (name "gusb")
6516 (version "0.3.5")
6517 (source (origin
6518 (method git-fetch)
6519 (uri (git-reference
6520 (url "https://github.com/hughsie/libgusb")
6521 (commit version)))
6522 (file-name (git-file-name name version))
6523 (sha256
6524 (base32
6525 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6526 (build-system meson-build-system)
6527 (native-inputs
6528 `(("gobject-introspection" ,gobject-introspection)
6529 ("pkg-config" ,pkg-config)
6530 ("vala" ,vala)
6531 ("gtk-doc" ,gtk-doc)))
6532 (propagated-inputs
6533 ;; Both of these are required by gusb.pc.
6534 `(("glib" ,glib)
6535 ("libusb" ,libusb)))
6536 (arguments
6537 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6538 (home-page "https://github.com/hughsie/libgusb")
6539 (synopsis "GLib binding for libusb1")
6540 (description
6541 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6542 asynchronous control, bulk and interrupt transfers with proper cancellation
6543 and integration into a mainloop. This makes it easy to integrate low level
6544 USB transfers with your high-level application or system daemon.")
6545 (license license:lgpl2.1+)))
6546
6547 (define-public simple-scan
6548 (package
6549 (name "simple-scan")
6550 (version "3.38.2")
6551 (source
6552 (origin
6553 (method url-fetch)
6554 (uri (string-append "mirror://gnome/sources/simple-scan/"
6555 (version-major+minor version) "/"
6556 "simple-scan-" version ".tar.xz"))
6557 (sha256
6558 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6559 (build-system meson-build-system)
6560 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6561 (arguments
6562 '(#:glib-or-gtk? #t))
6563 (inputs
6564 `(("gtk" ,gtk+)
6565 ("zlib" ,zlib)
6566 ("cairo" ,cairo)
6567 ("colord" ,colord)
6568 ("gdk-pixbuf" ,gdk-pixbuf)
6569 ("gusb" ,gusb)
6570 ("libsane" ,sane-backends)))
6571 (native-inputs
6572 `(("gettext" ,gettext-minimal)
6573 ("itstool" ,itstool)
6574 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6575 ("pkg-config" ,pkg-config)
6576 ("vala" ,vala)
6577 ("xmllint" ,libxml2)))
6578 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6579 (synopsis "Document and image scanner")
6580 (description
6581 "Document Scanner is an easy-to-use application that lets you connect your
6582 scanner and quickly capture images and documents in an appropriate format. It
6583 supports any scanner for which a suitable SANE driver is available, which is
6584 almost all of them.")
6585 (license license:gpl3+)))
6586
6587 (define-public eolie
6588 (package
6589 (name "eolie")
6590 (version "0.9.101")
6591 (source (origin
6592 (method url-fetch)
6593 (uri (string-append "https://adishatz.org/eolie/eolie-"
6594 version ".tar.xz"))
6595 (sha256
6596 (base32
6597 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6598 (build-system meson-build-system)
6599 (arguments
6600 `(#:glib-or-gtk? #t
6601 #:phases
6602 (modify-phases %standard-phases
6603 (add-after 'unpack 'skip-gtk-update-icon-cache
6604 ;; Don't create 'icon-theme.cache'.
6605 (lambda _
6606 (substitute* "meson_post_install.py"
6607 (("gtk-update-icon-cache") "true"))
6608 #t))
6609 (add-after 'wrap 'wrap-more
6610 (lambda* (#:key inputs outputs #:allow-other-keys)
6611 (let* ((out (assoc-ref outputs "out"))
6612 ;; These libraries must be on LD_LIBRARY_PATH.
6613 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6614 "atk" "gtk+" "gsettings-desktop-schemas"
6615 "gobject-introspection"))
6616 (path (string-join
6617 (map (lambda (lib)
6618 (string-append (assoc-ref inputs lib) "/lib"))
6619 libs)
6620 ":")))
6621 (wrap-program (string-append out "/bin/eolie")
6622 `("LD_LIBRARY_PATH" ":" prefix (,path))
6623 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6624 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6625 #t)))))
6626 (native-inputs
6627 `(("intltool" ,intltool)
6628 ("itstool" ,itstool)
6629 ("pkg-config" ,pkg-config)
6630 ("python" ,python)
6631 ("glib:bin" ,glib "bin")))
6632 (inputs
6633 `(("gobject-introspection" ,gobject-introspection)
6634 ("glib-networking" ,glib-networking)
6635 ("cairo" ,cairo)
6636 ("gtk+" ,gtk+)
6637 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6638 ("python" ,python-wrapper)
6639 ("python-dateutil" ,python-dateutil)
6640 ("python-pyfxa" ,python-pyfxa)
6641 ("python-pygobject" ,python-pygobject)
6642 ("python-pycairo" ,python-pycairo)
6643 ("python-pycrypto" ,python-pycrypto)
6644 ("libsecret" ,libsecret)
6645 ("gtkspell3" ,gtkspell3)
6646 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6647 ("webkitgtk" ,webkitgtk)))
6648 (home-page "https://wiki.gnome.org/Apps/Eolie")
6649 (synopsis "Web browser for GNOME")
6650 (description
6651 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6652 a secret password store, an adblocker, and a modern UI.")
6653 (license license:gpl3+)))
6654
6655 (define-public epiphany
6656 (package
6657 (name "epiphany")
6658 (version "3.34.4")
6659 (source (origin
6660 (method url-fetch)
6661 (uri (string-append "mirror://gnome/sources/epiphany/"
6662 (version-major+minor version) "/"
6663 "epiphany-" version ".tar.xz"))
6664 (sha256
6665 (base32
6666 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6667
6668 (build-system meson-build-system)
6669 (arguments
6670 '(#:glib-or-gtk? #t
6671 #:phases
6672 (modify-phases %standard-phases
6673 (add-after 'unpack 'skip-gtk-update-icon-cache
6674 ;; Don't create 'icon-theme.cache'.
6675 (lambda _
6676 (substitute* "post_install.py"
6677 (("gtk-update-icon-cache") "true"))
6678 #t))
6679 (add-after 'unpack 'disable-failing-tests
6680 (lambda _
6681 (substitute* "tests/meson.build"
6682 ;; embed_shell fails, because webkitgtk apparently no longer supports
6683 ;; overriding the ftp schema
6684 ;; web_app_utils fails due to missing network access
6685 (("(embed_shell|web_app_utils)_test,")
6686 "find_program('sh'), args: ['-c', 'exit 77'],"))
6687 #t))
6688 (add-before 'check 'pre-check
6689 (lambda _
6690 ;; Tests require a running X server.
6691 (system "Xvfb :1 &")
6692 (setenv "DISPLAY" ":1")
6693 #t)))
6694 #:configure-flags
6695 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6696 (list (string-append "-Dc_link_args=-Wl,-rpath="
6697 (assoc-ref %outputs "out") "/lib/epiphany"))))
6698 (propagated-inputs
6699 `(("dconf" ,dconf)))
6700 (native-inputs
6701 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6702 ("glib:bin" ,glib "bin") ; for glib-mkenums
6703 ("intltool" ,intltool)
6704 ("itstool" ,itstool)
6705 ("pkg-config" ,pkg-config)
6706 ("xmllint" ,libxml2)
6707 ("xorg-server" ,xorg-server-for-tests)))
6708 (inputs
6709 `(("avahi" ,avahi)
6710 ("gcr" ,gcr)
6711 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6712 ("glib-networking" ,glib-networking)
6713 ("gnome-desktop" ,gnome-desktop)
6714 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6715 ("json-glib" ,json-glib)
6716 ("iso-codes" ,iso-codes)
6717 ("libdazzle" ,libdazzle)
6718 ("libnotify" ,libnotify)
6719 ("libsecret" ,libsecret)
6720 ("libxslt" ,libxslt)
6721 ("nettle" ,nettle) ; for hogweed
6722 ("sqlite" ,sqlite)
6723 ("webkitgtk" ,webkitgtk)))
6724 (home-page "https://wiki.gnome.org/Apps/Web")
6725 (synopsis "GNOME web browser")
6726 (description
6727 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6728 principles are simplicity and standards compliance.")
6729 (license license:gpl2+)))
6730
6731 (define-public d-feet
6732 (package
6733 (name "d-feet")
6734 (version "0.3.14")
6735 (source (origin
6736 (method url-fetch)
6737 (uri (string-append "mirror://gnome/sources/" name "/"
6738 (version-major+minor version) "/"
6739 name "-" version ".tar.xz"))
6740 (sha256
6741 (base32
6742 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6743 (build-system glib-or-gtk-build-system)
6744 (arguments
6745 '(#:out-of-source? #f ; tests need to run in the source directory.
6746 #:phases
6747 (modify-phases %standard-phases
6748 (add-before
6749 'check 'pre-check
6750 (lambda _
6751 ;; The test suite requires a running X server.
6752 (system "Xvfb :1 &")
6753 (setenv "DISPLAY" ":1")
6754 ;; Don't fail on missing '/etc/machine-id'.
6755 (setenv "DBUS_FATAL_WARNINGS" "0")
6756 ;; tests.py and window.py don't meet E402:
6757 ;; E402 module level import not at top of file
6758 (substitute* "src/tests/Makefile"
6759 (("--ignore=E123") "--ignore=E123,E402"))
6760 #t))
6761 (add-after
6762 'install 'wrap-program
6763 (lambda* (#:key outputs #:allow-other-keys)
6764 (let ((prog (string-append (assoc-ref outputs "out")
6765 "/bin/d-feet")))
6766 (wrap-program prog
6767 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6768 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6769 #t))))))
6770 (native-inputs
6771 `(("intltool" ,intltool)
6772 ("itstool" ,itstool)
6773 ("pkg-config" ,pkg-config)
6774 ("python-pep8" ,python-pep8)
6775 ("xmllint" ,libxml2)
6776 ("xorg-server" ,xorg-server-for-tests)))
6777 (inputs
6778 `(("gobject-introspection" ,gobject-introspection)
6779 ("gtk+" ,gtk+)
6780 ("python" ,python-wrapper)
6781 ("hicolor-icon-theme" ,hicolor-icon-theme)
6782 ("python-pygobject" ,python-pygobject)))
6783 (home-page "https://wiki.gnome.org/Apps/DFeet")
6784 (synopsis "D-Bus debugger")
6785 (description
6786 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6787 of running programs and invoke methods on those interfaces.")
6788 (license license:gpl2+)))
6789
6790 (define-public yelp-xsl
6791 (package
6792 (name "yelp-xsl")
6793 (version "3.34.2")
6794 (source
6795 (origin
6796 (method url-fetch)
6797 (uri
6798 (string-append "mirror://gnome/sources/" name "/"
6799 (version-major+minor version) "/"
6800 name "-" version ".tar.xz"))
6801 (sha256
6802 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6803 (build-system gnu-build-system)
6804 (native-inputs
6805 `(("gettext-minimal" ,gettext-minimal)
6806 ("itstool" ,itstool)
6807 ("xmllint" ,libxml2)))
6808 (synopsis "XSL stylesheets for Yelp")
6809 (description "Yelp-XSL is a collection of programs and data files to help
6810 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6811 that can be built upon for help viewers and publishing systems. These
6812 stylesheets output JavaScript and CSS content, and reference images
6813 provided by yelp-xsl. It also redistributes copies of the jQuery and
6814 jQuery.Syntax JavaScript libraries.")
6815 (home-page "https://wiki.gnome.org/Apps/Yelp")
6816 (license
6817 (list
6818 ;; XSLT
6819 license:gpl2+
6820 ;; Images
6821 license:lgpl2.1+
6822 ;; JavaScript
6823 license:expat))))
6824
6825 (define-public yelp
6826 (package
6827 (name "yelp")
6828 (version "3.32.2")
6829 (source (origin
6830 (method url-fetch)
6831 (uri (string-append "mirror://gnome/sources/" name "/"
6832 (version-major+minor version) "/"
6833 name "-" version ".tar.xz"))
6834 (sha256
6835 (base32
6836 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6837 (build-system glib-or-gtk-build-system)
6838 (native-inputs
6839 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6840 ("intltool" ,intltool)
6841 ("itstool" ,itstool)
6842 ("pkg-config" ,pkg-config)))
6843 (propagated-inputs
6844 `(("dconf" ,dconf)))
6845 (inputs
6846 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6847 ("libxslt" ,libxslt)
6848 ("sqlite" ,sqlite)
6849 ("webkitgtk" ,webkitgtk)
6850 ("yelp-xsl" ,yelp-xsl)))
6851 (home-page "https://wiki.gnome.org/Apps/Yelp")
6852 (synopsis "GNOME help browser")
6853 (description
6854 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6855 man, info, and HTML documents. It can locate documents according to the
6856 freedesktop.org help system specification.")
6857 (license license:gpl2+)))
6858
6859 (define-public yelp-tools
6860 (package
6861 (name "yelp-tools")
6862 (version "3.32.2")
6863 (source
6864 (origin
6865 (method url-fetch)
6866 (uri
6867 (string-append "mirror://gnome/sources/" name "/"
6868 (version-major+minor version) "/"
6869 name "-" version ".tar.xz"))
6870 (sha256
6871 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6872 (build-system gnu-build-system)
6873 (native-inputs
6874 `(("pkg-config" ,pkg-config)))
6875 (inputs
6876 `(("yelp-xsl" ,yelp-xsl)))
6877 (propagated-inputs
6878 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6879 `(("itstool" ,itstool)
6880 ("xmllint" ,libxml2)
6881 ("xsltproc" ,libxslt)))
6882 (synopsis "Yelp documentation tools")
6883 (description
6884 "Yelp-tools is a collection of scripts and build utilities to help create,
6885 manage, and publish documentation for Yelp and the web. Most of the heavy
6886 lifting is done by packages like yelp-xsl and itstool. This package just
6887 wraps things up in a developer-friendly way.")
6888 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6889 (license license:gpl2+)))
6890
6891 (define-public libgee
6892 (package
6893 (name "libgee")
6894 (version "0.20.3")
6895 (source (origin
6896 (method url-fetch)
6897 (uri (string-append "mirror://gnome/sources/libgee/"
6898 (version-major+minor version) "/"
6899 "libgee-" version ".tar.xz"))
6900 (sha256
6901 (base32
6902 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6903 (build-system gnu-build-system)
6904 (arguments
6905 `(#:phases
6906 (modify-phases %standard-phases
6907 (add-after 'unpack 'fix-introspection-install-dir
6908 (lambda* (#:key outputs #:allow-other-keys)
6909 (let ((out (assoc-ref outputs "out")))
6910 (substitute* "gee/Makefile.in"
6911 (("@INTROSPECTION_GIRDIR@")
6912 (string-append out "/share/gir-1.0/"))
6913 (("@INTROSPECTION_TYPELIBDIR@")
6914 (string-append out "/lib/girepository-1.0/")))))))))
6915 (native-inputs
6916 `(("glib" ,glib "bin")
6917 ("pkg-config" ,pkg-config)))
6918 (inputs
6919 `(("glib" ,glib)
6920 ("gobject-introspection" ,gobject-introspection)))
6921 (home-page "https://wiki.gnome.org/Projects/Libgee")
6922 (synopsis "GObject collection library")
6923 (description
6924 "Libgee is a utility library providing GObject-based interfaces and
6925 classes for commonly used data structures.")
6926 (license license:lgpl2.1+)))
6927
6928 (define-public gexiv2
6929 (package
6930 (name "gexiv2")
6931 (version "0.12.2")
6932 (source (origin
6933 (method url-fetch)
6934 (uri (string-append "mirror://gnome/sources/" name "/"
6935 (version-major+minor version) "/"
6936 name "-" version ".tar.xz"))
6937 (sha256
6938 (base32
6939 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
6940 (build-system meson-build-system)
6941 (native-inputs
6942 `(("gcr" ,gcr)
6943 ("glib" ,glib "bin")
6944 ("pkg-config" ,pkg-config)
6945 ("vala" ,vala)))
6946 (propagated-inputs
6947 ;; Listed in "Requires" section of gexiv2.pc
6948 `(("exiv2" ,exiv2)))
6949 (inputs
6950 `(("glib" ,glib)
6951 ("gobject-introspection" ,gobject-introspection)))
6952 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6953 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6954 (description
6955 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6956 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6957 metadata in photo and video files of various formats.")
6958 (license license:gpl2+)))
6959
6960 (define-public shotwell
6961 (package
6962 (name "shotwell")
6963 (version "0.30.11")
6964 (source (origin
6965 (method url-fetch)
6966 (uri (string-append "mirror://gnome/sources/shotwell/"
6967 (version-major+minor version) "/"
6968 "shotwell-" version ".tar.xz"))
6969 (sha256
6970 (base32
6971 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
6972 (build-system meson-build-system)
6973 (arguments
6974 '(#:glib-or-gtk? #t
6975 #:phases
6976 (modify-phases %standard-phases
6977 (add-after 'unpack 'skip-gtk-update-icon-cache
6978 (lambda _
6979 (substitute* "build-aux/meson/postinstall.py"
6980 (("gtk-update-icon-cache") (which "true"))
6981 (("update-desktop-database") (which "true")))
6982 #t)))))
6983 (propagated-inputs
6984 `(("dconf" ,dconf)))
6985 (native-inputs
6986 `(("gettext" ,gettext-minimal)
6987 ("glib:bin" ,glib "bin")
6988 ("itstool" ,itstool)
6989 ("pkg-config" ,pkg-config)
6990 ("vala" ,vala)))
6991 (inputs
6992 `(("gcr" ,gcr)
6993 ("gexiv2" ,gexiv2)
6994 ("gst-plugins-base" ,gst-plugins-base)
6995 ("gstreamer" ,gstreamer)
6996 ("json-glib" ,json-glib)
6997 ("libgdata" ,libgdata)
6998 ("libgee" ,libgee)
6999 ("libgphoto2" ,libgphoto2)
7000 ("libgudev" ,libgudev)
7001 ("libraw" ,libraw)
7002 ("libsoup" ,libsoup)
7003 ("libxml2" ,libxml2)
7004 ("sqlite" ,sqlite)
7005 ("webkitgtk" ,webkitgtk)))
7006 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7007 (synopsis "Photo manager for GNOME 3")
7008 (description
7009 "Shotwell is a digital photo manager designed for the GNOME desktop
7010 environment. It allows you to import photos from disk or camera, organize
7011 them by keywords and events, view them in full-window or fullscreen mode, and
7012 share them with others via social networking and more.")
7013 (license license:lgpl2.1+)))
7014
7015 (define-public file-roller
7016 (package
7017 (name "file-roller")
7018 (version "3.38.0")
7019 (source (origin
7020 (method url-fetch)
7021 (uri (string-append "mirror://gnome/sources/file-roller/"
7022 (version-major+minor version) "/"
7023 "file-roller-" version ".tar.xz"))
7024 (sha256
7025 (base32
7026 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7027 (build-system meson-build-system)
7028 (native-inputs
7029 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7030 ("intltool" ,intltool)
7031 ("itstool" ,itstool)
7032 ("pkg-config" ,pkg-config)
7033 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7034 ("glib:bin" ,glib "bin")))
7035 ;; TODO: Add libnautilus.
7036 (inputs
7037 `(("gtk+" ,gtk+)
7038 ("gdk-pixbuf" ,gdk-pixbuf)
7039 ("json-glib" ,json-glib)
7040 ("libarchive" ,libarchive)
7041 ("libnotify" ,libnotify)
7042 ("nettle" ,nettle)
7043 ("libxml2" ,libxml2)))
7044 (synopsis "Graphical archive manager for GNOME")
7045 (description "File Roller is an archive manager for the GNOME desktop
7046 environment that allows users to view, unpack, and create compressed archives
7047 such as gzip tarballs.")
7048 (home-page "http://fileroller.sourceforge.net/")
7049 (license license:gpl2+)))
7050
7051 (define-public gnome-session
7052 (package
7053 (name "gnome-session")
7054 (version "3.34.2")
7055 (source (origin
7056 (method url-fetch)
7057 (uri (string-append "mirror://gnome/sources/" name "/"
7058 (version-major+minor version) "/"
7059 name "-" version ".tar.xz"))
7060 (sha256
7061 (base32
7062 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7063 (arguments
7064 '(#:glib-or-gtk? #t
7065 #:phases
7066 (modify-phases %standard-phases
7067 (add-before 'configure 'pre-configure
7068 (lambda* (#:key outputs #:allow-other-keys)
7069 ;; Use elogind instead of systemd.
7070 (substitute* "meson.build"
7071 (("libsystemd-login") "libelogind")
7072 (("and libsystemd_daemon_dep.found.*") ","))
7073 (substitute* "gnome-session/gsm-systemd.c"
7074 (("#include <systemd/sd-login.h>")
7075 "#include <elogind/sd-login.h>"))
7076 ;; Remove uses of the systemd daemon.
7077 (substitute* "gnome-session/gsm-autostart-app.c"
7078 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7079 #t))
7080 (add-after 'install 'wrap-gnome-session
7081 (lambda* (#:key inputs outputs #:allow-other-keys)
7082 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7083 (let ((glib (assoc-ref inputs "glib:bin"))
7084 (out (assoc-ref outputs "out")))
7085 (wrap-program (string-append out "/bin/gnome-session")
7086 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7087 #t))))
7088
7089 #:configure-flags
7090 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7091 "-Dman=false" ; FIXME: disabled because of docbook validation error
7092 "-Dsystemd_journal=false")))
7093 (build-system meson-build-system)
7094 (native-inputs
7095 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7096 ("pkg-config" ,pkg-config)
7097 ("intltool" ,intltool)
7098 ("xsltproc" ,libxslt)
7099 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7100 ("docbook-xsl" ,docbook-xsl)
7101 ("docbook-xml" ,docbook-xml)
7102 ("xmlto" ,xmlto)))
7103 (inputs
7104 `(("elogind" ,elogind)
7105 ("gnome-desktop" ,gnome-desktop)
7106 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7107 ("gtk+" ,gtk+)
7108 ("json-glib" ,json-glib)
7109 ("libsm" ,libsm)
7110 ("libxcomposite" ,libxcomposite)
7111 ("libxtst" ,libxtst)
7112 ("mesa" ,mesa)
7113 ("upower" ,upower)
7114 ("xtrans" ,xtrans)))
7115 (synopsis "Session manager for GNOME")
7116 (description
7117 "This package contains the GNOME session manager, as well as a
7118 configuration program to choose applications starting on login.")
7119 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7120 (license license:gpl2+)))
7121
7122 (define-public gjs
7123 (package
7124 (name "gjs")
7125 (version "1.58.3")
7126 (source (origin
7127 (method url-fetch)
7128 (uri (string-append "mirror://gnome/sources/" name "/"
7129 (version-major+minor version) "/"
7130 name "-" version ".tar.xz"))
7131 (sha256
7132 (base32
7133 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7134 (build-system gnu-build-system)
7135 (arguments
7136 '(#:phases
7137 (modify-phases %standard-phases
7138 (add-before
7139 'check 'pre-check
7140 (lambda _
7141 ;; The test suite requires a running X server.
7142 (system "Xvfb :1 &")
7143 (setenv "DISPLAY" ":1")
7144
7145 ;; For the missing /etc/machine-id.
7146 (setenv "DBUS_FATAL_WARNINGS" "0")
7147
7148 ;; Our mozjs-38 package does not compile the required Intl API
7149 ;; support for these failing tests.
7150 (substitute* "installed-tests/js/testLocale.js"
7151 ((".*toBeDefined.*") "")
7152 ((".*expect\\(datestr\\).*") ""))
7153 (substitute* "installed-tests/scripts/testCommandLine.sh"
7154 (("Valentín") "")
7155 (("☭") ""))
7156 #t)))))
7157 (native-inputs
7158 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7159 ("pkg-config" ,pkg-config)
7160 ("xmllint" ,libxml2)
7161 ;; For testing
7162 ("dbus-launch" ,dbus)
7163 ("dconf" ,dconf) ; required to properly store settings
7164 ("uuidgen" ,util-linux)
7165 ("xvfb" ,xorg-server-for-tests)))
7166 (propagated-inputs
7167 ;; These are all in the Requires.private field of gjs-1.0.pc.
7168 `(("cairo" ,cairo)
7169 ("gobject-introspection" ,gobject-introspection)
7170 ("mozjs" ,mozjs-60)))
7171 (inputs
7172 `(("gtk+" ,gtk+)
7173 ("readline" ,readline)))
7174 (synopsis "Javascript bindings for GNOME")
7175 (home-page "https://live.gnome.org/Gjs")
7176 (description
7177 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7178 javascript engine and the GObject introspection framework.")
7179 (license license:gpl2+)))
7180
7181 (define-public gedit
7182 (package
7183 (name "gedit")
7184 (version "3.34.1")
7185 (source (origin
7186 (method url-fetch)
7187 (uri (string-append "mirror://gnome/sources/" name "/"
7188 (version-major+minor version) "/"
7189 name "-" version ".tar.xz"))
7190 (sha256
7191 (base32
7192 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7193 (build-system meson-build-system)
7194 (arguments
7195 `(#:glib-or-gtk? #t
7196 #:configure-flags
7197 ;; Otherwise, the RUNPATH will lack the final path component.
7198 (list (string-append "-Dc_link_args=-Wl,-rpath="
7199 (assoc-ref %outputs "out") "/lib/gedit"))
7200
7201 ;; XXX: Generated .h files are sometimes used before being built.
7202 #:parallel-build? #f
7203
7204 #:phases
7205 (modify-phases %standard-phases
7206 (add-after 'unpack 'skip-gtk-update-icon-cache
7207 ;; Don't create 'icon-theme.cache'.
7208 (lambda _
7209 (substitute* "build-aux/meson/post_install.py"
7210 (("gtk-update-icon-cache") (which "true")))
7211 #t))
7212 (add-after 'unpack 'patch-libgd-fetch
7213 (lambda* (#:key inputs #:allow-other-keys)
7214 (let ((libgd (assoc-ref inputs "libgd")))
7215 ;; Calling git is unnecessary because libgd is fetched as a
7216 ;; native input to this package.
7217 (substitute* "meson.build"
7218 ((".*git.*") ""))
7219 (copy-recursively libgd "subprojects/libgd")
7220 #t)))
7221 (add-after 'install 'wrap-gedit
7222 (lambda* (#:key inputs outputs #:allow-other-keys)
7223 (let ((out (assoc-ref outputs "out"))
7224 (gtksourceview (assoc-ref inputs "gtksourceview"))
7225 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7226 (python-path (getenv "PYTHONPATH")))
7227 (wrap-program (string-append out "/bin/gedit")
7228 ;; For plugins.
7229 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7230 `("PYTHONPATH" ":" prefix (,python-path))
7231 ;; For language-specs.
7232 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7233 "/share")))))
7234 #t)))))
7235 (propagated-inputs
7236 `(("dconf" ,dconf)))
7237 (native-inputs
7238 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7239 ("intltool" ,intltool)
7240 ("itstool" ,itstool)
7241 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7242 ("gobject-introspection" ,gobject-introspection)
7243 ("libgd"
7244 ,(origin
7245 (method git-fetch)
7246 (uri (git-reference
7247 (url "https://gitlab.gnome.org/GNOME/libgd")
7248 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7249 (file-name (git-file-name "libgd" version))
7250 (sha256
7251 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7252 ("pkg-config" ,pkg-config)))
7253 (inputs
7254 `(("glib" ,glib)
7255 ("gspell" ,gspell)
7256 ("gtk+" ,gtk+)
7257 ("gtksourceview" ,gtksourceview)
7258 ("libpeas" ,libpeas)
7259 ("libxml2" ,libxml2)
7260 ("iso-codes" ,iso-codes)
7261 ("python-pygobject" ,python-pygobject)
7262 ("python" ,python)
7263 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7264 ("libx11" ,libx11)
7265 ("vala" ,vala)
7266 ("adwaita-icon-theme" ,adwaita-icon-theme)
7267 ("libsoup" ,libsoup)
7268 ("gnome-desktop" ,gnome-desktop)))
7269 (home-page "https://wiki.gnome.org/Apps/Gedit")
7270 (synopsis "GNOME text editor")
7271 (description "While aiming at simplicity and ease of use, gedit is a
7272 powerful general purpose text editor.")
7273 (license license:gpl2+)))
7274
7275 (define-public zenity
7276 (package
7277 (name "zenity")
7278 (version "3.32.0")
7279 (source (origin
7280 (method url-fetch)
7281 (uri (string-append "mirror://gnome/sources/zenity/"
7282 (version-major+minor version) "/"
7283 "zenity-" version ".tar.xz"))
7284 (sha256
7285 (base32
7286 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7287 (build-system gnu-build-system)
7288 (native-inputs
7289 `(("gettext" ,gettext-minimal)
7290 ("itstool" ,itstool)
7291 ("pkg-config" ,pkg-config)))
7292 (inputs
7293 `(("libnotify" ,libnotify)
7294 ("webkitgtk" ,webkitgtk)))
7295 (synopsis "Display graphical dialog boxes from shell scripts")
7296 (home-page "https://www.gnome.org")
7297 (description
7298 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7299 to display dialog boxes from the commandline and shell scripts.")
7300 (license license:lgpl2.0+)))
7301
7302 (define-public mutter
7303 (package
7304 (name "mutter")
7305 (version "3.34.2")
7306 (source (origin
7307 (method url-fetch)
7308 (uri (string-append "mirror://gnome/sources/" name "/"
7309 (version-major+minor version) "/"
7310 name "-" version ".tar.xz"))
7311 (sha256
7312 (base32
7313 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7314 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7315 ;; versions of cogl and clutter. As a result, many of the inputs,
7316 ;; propagated-inputs, and configure flags used in cogl and clutter are
7317 ;; needed here as well.
7318 (build-system meson-build-system)
7319 (arguments
7320 '(;; XXX: All mutter tests fail with the following error:
7321 ;; Settings schema 'org.gnome.mutter' is not installed
7322 #:tests? #f
7323 #:glib-or-gtk? #t
7324 #:configure-flags
7325 ;; TODO: Enable profiler when Sysprof is packaged.
7326 (list "-Dprofiler=false"
7327 ;; Otherwise, the RUNPATH will lack the final path component.
7328 (string-append "-Dc_link_args=-Wl,-rpath="
7329 (assoc-ref %outputs "out") "/lib:"
7330 (assoc-ref %outputs "out") "/lib/mutter-5")
7331
7332 ;; The following flags are needed for the bundled clutter
7333 (string-append "-Dxwayland_path="
7334 (assoc-ref %build-inputs "xorg-server-xwayland")
7335 "/bin/Xwayland")
7336
7337 ;; the remaining flags are needed for the bundled cogl
7338 (string-append "-Dopengl_libname="
7339 (assoc-ref %build-inputs "mesa")
7340 "/lib/libGL.so"))
7341 #:phases (modify-phases %standard-phases
7342 (add-after 'unpack 'fix-build-with-mesa-20
7343 (lambda _
7344 ;; Mimic upstream commit a444a4c5f58ea516ad for
7345 ;; compatibility with Mesa 20. Remove for 3.36.
7346 (substitute* '("src/backends/meta-egl-ext.h"
7347 "src/backends/meta-egl.c"
7348 "src/backends/meta-egl.h")
7349 (("#include <EGL/eglext\\.h>" all)
7350 (string-append all "\n#include <EGL/eglmesaext.h>")))
7351 (substitute* "cogl/cogl/meson.build"
7352 (("#include <EGL/eglext\\.h>" all)
7353 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7354 #t)))))
7355 (native-inputs
7356 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7357 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7358 ("gobject-introspection" ,gobject-introspection)
7359 ("intltool" ,intltool)
7360 ("pkg-config" ,pkg-config)
7361 ("xorg-server" ,xorg-server-for-tests)
7362 ;; For git build
7363 ("autoconf" ,autoconf)
7364 ("automake" ,automake)
7365 ("libtool" ,libtool)))
7366 (propagated-inputs
7367 `(;; libmutter.pc refers to these:
7368 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7369 ("gtk+" ,gtk+)
7370 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7371 ("atk" ,atk)
7372 ("cairo" ,cairo)
7373 ("gdk-pixbuf" ,gdk-pixbuf)
7374 ("glib" ,glib)
7375 ("json-glib" ,json-glib)
7376 ("libinput" ,libinput)
7377 ("libx11" ,libx11)
7378 ("libxcomposite" ,libxcomposite)
7379 ("libxdamage" ,libxdamage)
7380 ("libxext" ,libxext)
7381 ("libxfixes" ,libxfixes)
7382 ("libxkbcommon" ,libxkbcommon)
7383 ("libxrandr" ,libxrandr)
7384 ("mesa" ,mesa)
7385 ("pango" ,pango)
7386 ("udev" ,eudev)
7387 ("xinput" ,xinput)))
7388 (inputs
7389 `(("elogind" ,elogind)
7390 ("gnome-desktop" ,gnome-desktop)
7391 ("gnome-settings-daemon" ,gnome-settings-daemon)
7392 ("libcanberra-gtk" ,libcanberra)
7393 ("libgudev" ,libgudev)
7394 ("libice" ,libice)
7395 ("libsm" ,libsm)
7396 ("libwacom" ,libwacom)
7397 ("libxkbfile" ,libxkbfile)
7398 ("libxrandr" ,libxrandr)
7399 ("libxtst" ,libxtst)
7400 ("pipewire" ,pipewire)
7401 ("startup-notification" ,startup-notification)
7402 ("upower-glib" ,upower)
7403 ("xkeyboard-config" ,xkeyboard-config)
7404 ("xorg-server-xwayland" ,xorg-server-xwayland)
7405 ("zenity" ,zenity)))
7406 (synopsis "Window and compositing manager")
7407 (home-page "https://www.gnome.org")
7408 (description
7409 "Mutter is a window and compositing manager that displays and manages your
7410 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7411 Clutter toolkit with solid window-management logic inherited from the Metacity
7412 window manager.")
7413 (license license:gpl2+)))
7414
7415 (define-public gnome-online-accounts
7416 (package
7417 (name "gnome-online-accounts")
7418 (version "3.36.0")
7419 (source (origin
7420 (method url-fetch)
7421 (uri (string-append "mirror://gnome/sources/" name "/"
7422 (version-major+minor version) "/"
7423 name "-" version ".tar.xz"))
7424 (sha256
7425 (base32
7426 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7427 (outputs '("out" "lib"))
7428 (build-system glib-or-gtk-build-system)
7429 (arguments
7430 `(#:configure-flags
7431 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7432 #:phases
7433 (modify-phases %standard-phases
7434 (add-before 'configure 'patch-libgoa-output
7435 (lambda* (#:key outputs #:allow-other-keys)
7436 (let ((lib (assoc-ref outputs "lib")))
7437 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7438 (("@prefix@") lib)
7439 (("@exec_prefix@") lib)
7440 (("@libdir@") (string-append lib "/lib"))
7441 (("@includedir@") (string-append lib "/include"))
7442 (("@datadir@") (string-append lib "/share")))
7443 ;; Make sure gobject-introspection knows about the output
7444 ;; too (see <https://bugs.gnu.org/36535>).
7445 (setenv "outputs" "out lib")
7446 #t))))))
7447 (native-inputs
7448 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7449 ("gobject-introspection" ,gobject-introspection)
7450 ("intltool" ,intltool)
7451 ("pkg-config" ,pkg-config)
7452 ("vala" ,vala)
7453 ("xsltproc" ,libxslt)))
7454 (propagated-inputs
7455 `(("glib" ,glib) ; required by goa-1.0.pc
7456 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7457 (inputs
7458 `(("docbook-xsl" ,docbook-xsl)
7459 ("json-glib" ,json-glib)
7460 ("libsecret" ,libsecret)
7461 ("rest" ,rest)
7462 ("webkitgtk" ,webkitgtk)))
7463 (synopsis "Single sign-on framework for GNOME")
7464 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7465 (description
7466 "GNOME Online Accounts provides interfaces so that applications and
7467 libraries in GNOME can access the user's online accounts. It has providers for
7468 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7469 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7470 (license license:lgpl2.0+)))
7471
7472 (define-public evolution-data-server
7473 (package
7474 (name "evolution-data-server")
7475 (version "3.34.2")
7476 (source (origin
7477 (method url-fetch)
7478 (uri (string-append "mirror://gnome/sources/" name "/"
7479 (version-major+minor version) "/"
7480 name "-" version ".tar.xz"))
7481 (patches (search-patches "evolution-data-server-locales.patch"
7482 "evolution-data-server-libical-compat.patch"
7483 "evolution-data-server-CVE-2020-14928.patch"
7484 "evolution-data-server-CVE-2020-16117.patch"))
7485 (sha256
7486 (base32
7487 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7488 (build-system cmake-build-system)
7489 (arguments
7490 '(#:configure-flags
7491 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7492 (runpaths (map (lambda (s)
7493 (string-append lib "/evolution-data-server/" s))
7494 '("addressbook-backends" "calendar-backends"
7495 "camel-providers" "credential-modules"
7496 "registry-modules"))))
7497 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7498 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7499 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7500 "-DENABLE_VALA_BINDINGS=ON"
7501 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7502 (string-append lib "/evolution-data-server;")
7503 (string-join runpaths ";"))
7504 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7505 #:phases
7506 (modify-phases %standard-phases
7507 (add-after 'unpack 'disable-failing-tests
7508 (lambda _
7509 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7510 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7511 (delete-file-recursively "tests/book-migration")
7512 (substitute* "tests/CMakeLists.txt"
7513 (("add_subdirectory\\(book-migration\\)") ""))
7514 #t))
7515 (add-after 'unpack 'patch-paths
7516 (lambda _
7517 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7518 "tests/libedata-book/data-test-utils.c"
7519 "tests/libedata-book/test-book-cache-utils.c"
7520 "tests/libedata-cal/test-cal-cache-utils.c")
7521 (("/bin/rm") (which "rm")))
7522 #t))
7523 (add-before 'configure 'dont-override-rpath
7524 (lambda _
7525 (substitute* "CMakeLists.txt"
7526 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7527 ;; Remove it so the configure flag is respected.
7528 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7529 #t)))))
7530 (native-inputs
7531 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7532 ("gobject-introspection" ,gobject-introspection)
7533 ("gperf" ,gperf)
7534 ("intltool" ,intltool)
7535 ("pkg-config" ,pkg-config)
7536 ("vala" ,vala)
7537 ("python" ,python-wrapper)))
7538 (propagated-inputs
7539 ;; These are all in the Requires field of .pc files.
7540 `(("gtk+" ,gtk+)
7541 ("libical" ,libical)
7542 ("libsecret" ,libsecret)
7543 ("libsoup" ,libsoup)
7544 ("nss" ,nss)
7545 ("sqlite" ,sqlite)))
7546 (inputs
7547 `(("bdb" ,bdb)
7548 ("gcr" ,gcr)
7549 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7550 ("json-glib" ,json-glib)
7551 ("libcanberra" ,libcanberra)
7552 ("libgweather" ,libgweather)
7553 ("mit-krb5" ,mit-krb5)
7554 ("openldap" ,openldap)
7555 ("webkitgtk" ,webkitgtk)))
7556 (synopsis "Store address books and calendars")
7557 (home-page "https://wiki.gnome.org/Apps/Evolution")
7558 (description
7559 "This package provides a unified backend for programs that work with
7560 contacts, tasks, and calendar information. It was originally developed for
7561 Evolution (hence the name), but is now used by other packages as well.")
7562 (license license:lgpl2.0)))
7563
7564 (define-public caribou
7565 (package
7566 (name "caribou")
7567 (version "0.4.21")
7568 (source (origin
7569 (method url-fetch)
7570 (uri (string-append "mirror://gnome/sources/" name "/"
7571 (version-major+minor version) "/"
7572 name "-" version ".tar.xz"))
7573 (sha256
7574 (base32
7575 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7576 (build-system glib-or-gtk-build-system)
7577 (arguments
7578 '(#:phases
7579 (modify-phases %standard-phases
7580 (add-before
7581 'build 'pre-build
7582 (lambda* (#:key outputs #:allow-other-keys)
7583 (let ((out (assoc-ref outputs "out")))
7584 ;; Use absolute shared library path in Caribou-1.0.typelib.
7585 (substitute* "libcaribou/Makefile"
7586 (("--shared-library=libcaribou.so")
7587 (string-append "--shared-library="
7588 out "/lib/libcaribou.so")))
7589 #t)))
7590 (add-after 'install 'wrap-programs
7591 (lambda* (#:key outputs #:allow-other-keys)
7592 (let* ((out (assoc-ref outputs "out"))
7593 (python-path (getenv "PYTHONPATH"))
7594 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7595 (for-each
7596 (lambda (prog)
7597 (wrap-program prog
7598 `("PYTHONPATH" ":" prefix (,python-path))
7599 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7600 (list (string-append out "/bin/caribou-preferences")
7601 (string-append out "/libexec/antler-keyboard"))))
7602 #t)))))
7603 (native-inputs
7604 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7605 ("gobject-introspection" ,gobject-introspection)
7606 ("intltool" ,intltool)
7607 ("pkg-config" ,pkg-config)
7608 ("python" ,python)
7609 ("vala" ,vala)
7610 ("xsltproc" ,libxslt)))
7611 (propagated-inputs
7612 ;; caribou-1.0.pc refers to all these.
7613 `(("libgee" ,libgee)
7614 ("libxklavier" ,libxklavier)
7615 ("libxtst" ,libxtst)
7616 ("gtk+" ,gtk+)))
7617 (inputs
7618 `(("clutter" ,clutter)
7619 ("dconf" ,dconf)
7620 ("gtk+-2" ,gtk+-2)
7621 ("python-pygobject" ,python-pygobject)))
7622 (synopsis "Text entry and UI navigation application")
7623 (home-page "https://wiki.gnome.org/Projects/Caribou")
7624 (description
7625 "Caribou is an input assistive technology intended for switch and pointer
7626 users.")
7627 (license license:lgpl2.1)))
7628
7629 (define-public network-manager
7630 (package
7631 (name "network-manager")
7632 (version "1.24.0")
7633 (source (origin
7634 (method url-fetch)
7635 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7636 (version-major+minor version) "/"
7637 "NetworkManager-" version ".tar.xz"))
7638 (patches (search-patches "network-manager-plugin-path.patch"))
7639 (sha256
7640 (base32
7641 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7642 (modules '((guix build utils)))
7643 (snippet
7644 '(begin
7645 (substitute* "src/devices/wwan/nm-modem-manager.c"
7646 (("systemd") "elogind"))
7647 #t))))
7648 (build-system meson-build-system)
7649 (outputs '("out"
7650 "doc")) ; 8 MiB of gtk-doc HTML
7651 (arguments
7652 `(#:configure-flags
7653 (let ((out (assoc-ref %outputs "out"))
7654 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7655 "/sbin/dhclient")))
7656 (list
7657 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7658 ;; component.
7659 (string-append "-Dc_link_args=-Wl,-rpath="
7660 out "/lib:"
7661 out "/lib/NetworkManager/" ,version)
7662 "-Dsystemd_journal=false"
7663 "-Dsession_tracking=elogind"
7664 "-Dsuspend_resume=elogind"
7665 "-Dsystemdsystemunitdir=no"
7666 "-Dsession_tracking_consolekit=false"
7667 "-Ddhcpcd=no"
7668 "-Ddhcpcanon=no"
7669 "-Dcrypto=gnutls"
7670 "-Diwd=true"
7671 "-Dlibaudit=yes"
7672 "-Dqt=false"
7673 "-Ddocs=true"
7674 "--sysconfdir=/etc"
7675 "--localstatedir=/var"
7676 (string-append "-Dudev_dir="
7677 out "/lib/udev")
7678 (string-append "-Ddbus_conf_dir="
7679 out "/etc/dbus-1/system.d")
7680
7681 (string-append "-Ddhclient=" dhclient)))
7682 #:phases
7683 (modify-phases %standard-phases
7684 (add-before 'configure 'pre-configure
7685 (lambda _
7686 ;; These tests try to test aspects of network-manager's
7687 ;; functionality within restricted containers, but they don't
7688 ;; cope with being already in the Guix build jail as that jail
7689 ;; lacks some features that they would like to proxy over (like
7690 ;; a /sys mount).
7691 (substitute* "src/platform/tests/meson.build"
7692 ((".*test-address-linux.*") "")
7693 ((".*test-cleanup-linux.*") "")
7694 ((".*test-link-linux.*") "")
7695 ((".*test-route-linux.*") ""))
7696 (substitute* "src/devices/tests/meson.build"
7697 ((".*test-acd.*") "")
7698 ((".*test-lldp.*") ""))
7699 #t))
7700 (add-after 'unpack 'patch-docbook-xml
7701 (lambda* (#:key inputs #:allow-other-keys)
7702 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7703 "/xml/dtd/docbook")))
7704 (substitute* (find-files "." ".*\\.(xsl|xml)")
7705 (("http://.*/docbookx\\.dtd")
7706 (string-append xmldoc "/docbookx.dtd")))
7707 #t)))
7708 (add-before 'check 'pre-check
7709 (lambda _
7710 ;; For the missing /etc/machine-id.
7711 (setenv "DBUS_FATAL_WARNINGS" "0")
7712 #t))
7713 (add-before 'install 'no-polkit-magic
7714 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7715 (lambda _
7716 (setenv "PKEXEC_UID" "something")
7717 #t))
7718 (add-after 'install 'move-doc
7719 (lambda* (#:key outputs #:allow-other-keys)
7720 (let ((out (assoc-ref outputs "out"))
7721 (doc (assoc-ref outputs "doc")))
7722 (mkdir-p (string-append doc "/share"))
7723 (for-each (lambda (directory)
7724 (copy-recursively (string-append out directory)
7725 (string-append doc directory))
7726 (delete-file-recursively
7727 (string-append out directory)))
7728 '("/share/doc" "/share/gtk-doc"))
7729 #t))))))
7730 (propagated-inputs
7731 `(("glib" ,glib)))
7732 (native-inputs
7733 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7734 ("gtk-doc" ,gtk-doc)
7735 ("gobject-introspection" ,gobject-introspection)
7736 ("docbook-xml" ,docbook-xml)
7737 ("docbook-xsl" ,docbook-xsl)
7738 ("intltool" ,intltool)
7739 ("libxslt" ,libxslt)
7740 ("libxml2" ,libxml2)
7741 ("pkg-config" ,pkg-config)
7742 ("vala" ,vala)
7743 ;; For testing.
7744 ("python" ,python-wrapper)
7745 ("python-dbus" ,python-dbus)
7746 ("python-pygobject" ,python-pygobject)))
7747 (inputs
7748 `(("curl" ,curl)
7749 ("cyrus-sasl" ,cyrus-sasl)
7750 ("dbus-glib" ,dbus-glib)
7751 ("dnsmasq" ,dnsmasq)
7752 ("eudev" ,eudev)
7753 ("gnutls" ,gnutls)
7754 ("iptables" ,iptables)
7755 ("isc-dhcp" ,isc-dhcp)
7756 ("iwd" ,iwd) ; wpa_supplicant alternative
7757 ("jansson" ,jansson)
7758 ("libaudit" ,audit)
7759 ("libgcrypt" ,libgcrypt)
7760 ("libgudev" ,libgudev)
7761 ("libndp" ,libndp)
7762 ("libnl" ,libnl)
7763 ("libsoup" ,libsoup)
7764 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7765 ("modem-manager" ,modem-manager)
7766 ("newt" ,newt) ;for the 'nmtui' console interface
7767 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7768 ("polkit" ,polkit)
7769 ("ppp" ,ppp)
7770 ("readline" ,readline)
7771 ("util-linux" ,util-linux)
7772 ("elogind" ,elogind)))
7773 (synopsis "Network connection manager")
7774 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7775 (description
7776 "NetworkManager is a system network service that manages your network
7777 devices and connections, attempting to keep active network connectivity when
7778 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7779 devices, and provides VPN integration with a variety of different VPN
7780 services.")
7781 ;; “This NetworkManager project consists of the daemon, client tools, and
7782 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7783 ;; GPL-2.0+.”
7784 (license (list license:gpl2+
7785 license:lgpl2.1+))
7786 (properties '((upstream-name . "NetworkManager")))))
7787
7788 (define-public network-manager-openvpn
7789 (package
7790 (name "network-manager-openvpn")
7791 (version "1.8.12")
7792 (source (origin
7793 (method url-fetch)
7794 (uri (string-append
7795 "mirror://gnome/sources/NetworkManager-openvpn/"
7796 (version-major+minor version)
7797 "/NetworkManager-openvpn-" version ".tar.xz"))
7798 (sha256
7799 (base32
7800 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7801 (build-system gnu-build-system)
7802 (arguments
7803 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7804 #:phases
7805 (modify-phases %standard-phases
7806 (add-after 'configure 'patch-path
7807 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7808 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7809 "/sbin/openvpn"))
7810 (modprobe (string-append (assoc-ref inputs "kmod")
7811 "/bin/modprobe"))
7812 (pretty-ovpn (string-append "\"" ovpn "\"")))
7813 (for-each
7814 (lambda (file)
7815 (substitute* file
7816 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7817 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7818 (("\"/sbin/openvpn\"") pretty-ovpn)
7819 (("/sbin/modprobe") modprobe)))
7820 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7821 #t)))))
7822 (native-inputs
7823 `(("pkg-config" ,pkg-config)
7824 ("intltool" ,intltool)))
7825 (inputs
7826 `(("gtk+" ,gtk+)
7827 ("kmod" ,kmod)
7828 ("openvpn" ,openvpn)
7829 ("network-manager" ,network-manager)
7830 ("libnma" ,libnma)
7831 ("libsecret" ,libsecret)))
7832 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7833 (synopsis "OpenVPN plug-in for NetworkManager")
7834 (description
7835 "This extension of NetworkManager allows it to take care of connections
7836 to virtual private networks (VPNs) via OpenVPN.")
7837 (license license:gpl2+)
7838 (properties `((upstream-name . "NetworkManager-openvpn")))))
7839
7840 (define-public network-manager-vpnc
7841 (package
7842 (name "network-manager-vpnc")
7843 (version "1.2.6")
7844 (source (origin
7845 (method url-fetch)
7846 (uri (string-append
7847 "mirror://gnome/sources/NetworkManager-vpnc/"
7848 (version-major+minor version)
7849 "/NetworkManager-vpnc-" version ".tar.xz"))
7850 (sha256
7851 (base32
7852 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7853 (build-system gnu-build-system)
7854 (arguments
7855 `(#:configure-flags '("--enable-absolute-paths"
7856 "--localstatedir=/var"
7857 ;; libnm-glib has been removed from network-manager
7858 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7859 "--with-libnm-glib=no")
7860 #:phases
7861 (modify-phases %standard-phases
7862 (add-after 'configure 'patch-path
7863 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7864 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7865 "/sbin/vpnc"))
7866 (modprobe (string-append (assoc-ref inputs "kmod")
7867 "/bin/modprobe"))
7868 (pretty-ovpn (string-append "\"" vpnc "\"")))
7869 (substitute* "src/nm-vpnc-service.c"
7870 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7871 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7872 (("\"/sbin/vpnc\"") pretty-ovpn)
7873 (("/sbin/modprobe") modprobe)))
7874 #t)))))
7875 (native-inputs
7876 `(("pkg-config" ,pkg-config)
7877 ("intltool" ,intltool)))
7878 (inputs
7879 `(("gtk+" ,gtk+)
7880 ("kmod" ,kmod)
7881 ("vpnc" ,vpnc)
7882 ("network-manager" ,network-manager)
7883 ("libnma" ,libnma)
7884 ("libsecret" ,libsecret)))
7885 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7886 (synopsis "VPNC plug-in for NetworkManager")
7887 (description
7888 "Support for configuring virtual private networks based on VPNC.
7889 Compatible with Cisco VPN concentrators configured to use IPsec.")
7890 (license license:gpl2+)
7891 (properties `((upstream-name . "NetworkManager-vpnc")))))
7892
7893 (define-public network-manager-openconnect
7894 (package
7895 (name "network-manager-openconnect")
7896 (version "1.2.6")
7897 (source (origin
7898 (method url-fetch)
7899 (uri (string-append
7900 "mirror://gnome/sources/NetworkManager-openconnect/"
7901 (version-major+minor version)
7902 "/NetworkManager-openconnect-" version ".tar.xz"))
7903 (sha256
7904 (base32
7905 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7906 (build-system gnu-build-system)
7907 (arguments
7908 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7909 #:phases
7910 (modify-phases %standard-phases
7911 (add-after 'configure 'patch-path
7912 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7913 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7914 "/sbin/openconnect"))
7915 (modprobe (string-append (assoc-ref inputs "kmod")
7916 "/bin/modprobe"))
7917 (pretty-ovpn (string-append "\"" openconnect "\"")))
7918 (substitute* "src/nm-openconnect-service.c"
7919 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7920 (("/sbin/modprobe") modprobe)))
7921 #t)))))
7922 (native-inputs
7923 `(("intltool" ,intltool)
7924 ("libnma" ,libnma)
7925 ("pkg-config" ,pkg-config)))
7926 (inputs
7927 `(("gcr" ,gcr)
7928 ("gtk+" ,gtk+)
7929 ("kmod" ,kmod)
7930 ("libsecret" ,libsecret)
7931 ("libxml2" ,libxml2)
7932 ("lz4" ,lz4)
7933 ("network-manager" ,network-manager)
7934 ("openconnect" ,openconnect)))
7935 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7936 (synopsis "OpenConnect plug-in for NetworkManager")
7937 (description
7938 "This extension of NetworkManager allows it to take care of connections
7939 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7940 Cisco's AnyConnect SSL VPN.")
7941 (license license:gpl2+)
7942 (properties `((upstream-name . "NetworkManager-openconnect")
7943
7944 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7945 ;; file refers to account "nm-openconnect". Specify it here
7946 ;; so that 'network-manager-service-type' creates it.
7947 (user-accounts . ("nm-openconnect"))))))
7948
7949 (define-public mobile-broadband-provider-info
7950 (package
7951 (name "mobile-broadband-provider-info")
7952 (version "20190116")
7953 (source (origin
7954 (method url-fetch)
7955 (uri (string-append
7956 "mirror://gnome/sources/"
7957 "mobile-broadband-provider-info/" version "/"
7958 "mobile-broadband-provider-info-" version ".tar.xz"))
7959 (sha256
7960 (base32
7961 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7962 (build-system gnu-build-system)
7963 (arguments
7964 `(#:tests? #f)) ; no tests
7965 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7966 (synopsis "Database of broadband connection configuration")
7967 (description "Database of broadband connection configuration.")
7968 (license license:public-domain)))
7969
7970 (define-public network-manager-applet
7971 (package
7972 (name "network-manager-applet")
7973 (version "1.20.0")
7974 (source (origin
7975 (method url-fetch)
7976 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7977 (version-major+minor version) "/"
7978 "network-manager-applet-" version ".tar.xz"))
7979 (sha256
7980 (base32
7981 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
7982 (build-system meson-build-system)
7983 (arguments
7984 '(#:glib-or-gtk? #t
7985 #:configure-flags
7986 '("-Dappindicator=yes")))
7987 (native-inputs
7988 `(("intltool" ,intltool)
7989 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7990 ("gobject-introspection" ,gobject-introspection)
7991 ("gtk-doc" ,gtk-doc)
7992 ("pkg-config" ,pkg-config)))
7993 (propagated-inputs
7994 ;; libnm-gtk.pc refers to all these.
7995 `(("dbus-glib" ,dbus-glib)
7996 ("gtk+" ,gtk+)
7997 ("network-manager" ,network-manager)
7998 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7999 ("libnma" ,libnma)))
8000 (inputs
8001 `(("gcr" ,gcr)
8002 ("libappindicator" ,libappindicator)
8003 ("libgudev" ,libgudev)
8004 ("libnotify" ,libnotify)
8005 ("libsecret" ,libsecret)
8006 ("libselinux" ,libselinux)
8007 ("jansson" ,jansson) ; for team support
8008 ("modem-manager" ,modem-manager)))
8009 (synopsis "Applet for managing network connections")
8010 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8011 (description
8012 "This package contains a systray applet for NetworkManager. It displays
8013 the available networks and allows users to easily switch between them.")
8014 (license license:gpl2+)))
8015
8016 (define-public libxml++
8017 (package
8018 (name "libxml++")
8019 (version "3.0.1")
8020 (source (origin
8021 (method url-fetch)
8022 (uri (string-append "mirror://gnome/sources/" name "/"
8023 (version-major+minor version) "/"
8024 name "-" version ".tar.xz"))
8025 (sha256
8026 (base32
8027 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8028 (build-system gnu-build-system)
8029 ;; libxml++-3.0.pc refers to all these.
8030 (propagated-inputs
8031 `(("libxml2" ,libxml2)
8032 ("glibmm" ,glibmm)))
8033 (native-inputs
8034 `(("perl" ,perl)
8035 ("pkg-config" ,pkg-config)))
8036 (home-page "http://libxmlplusplus.sourceforge.net/")
8037 (synopsis "C++ wrapper for XML parser library libxml2")
8038 (description
8039 "This package provides a C++ wrapper for the XML parser library
8040 libxml2.")
8041 (license license:lgpl2.1+)))
8042
8043 (define-public libxml++-2
8044 (package
8045 (inherit libxml++)
8046 (name "libxml++")
8047 (version "2.40.1")
8048 (source (origin
8049 (method url-fetch)
8050 (uri (string-append "mirror://gnome/sources/" name "/"
8051 (version-major+minor version) "/"
8052 name "-" version ".tar.xz"))
8053 (sha256
8054 (base32
8055 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8056
8057 (define-public gdm
8058 (package
8059 (name "gdm")
8060 (version "3.34.1")
8061 (source (origin
8062 (method url-fetch)
8063 (uri (string-append "mirror://gnome/sources/" name "/"
8064 (version-major+minor version) "/"
8065 name "-" version ".tar.xz"))
8066 (sha256
8067 (base32
8068 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8069 (patches (search-patches "gdm-default-session.patch"))))
8070 (build-system glib-or-gtk-build-system)
8071 (arguments
8072 '(#:configure-flags
8073 `("--without-plymouth"
8074 "--disable-systemd-journal"
8075
8076 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8077 ;; instead of having to replace it (i.e., stopping the mingetty
8078 ;; service for TTY 1 before starting GDM).
8079 "--with-initial-vt=7"
8080
8081 ;; Use '/etc/environment' for locale settings instead of the
8082 ;; systemd-specific '/etc/locale.conf'.
8083 "--with-lang-file=/etc/environment"
8084
8085 ,(string-append "--with-udevdir="
8086 (assoc-ref %outputs "out") "/lib/udev")
8087
8088 "--localstatedir=/var"
8089 ,(string-append "--with-default-path="
8090 (string-join '("/run/setuid-programs"
8091 "/run/current-system/profile/bin"
8092 "/run/current-system/profile/sbin")
8093 ":"))
8094 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8095 ;; XDG_DATA_DIRS so that it finds its schemas.
8096 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8097 #:phases
8098 (modify-phases %standard-phases
8099 (add-before
8100 'configure 'pre-configure
8101 (lambda* (#:key inputs outputs #:allow-other-keys)
8102 ;; We don't have <systemd/sd-daemon.h>.
8103 (substitute* '("common/gdm-log.c"
8104 "daemon/gdm-server.c"
8105 "daemon/gdm-session-worker.c"
8106 "daemon/gdm-session-worker-job.c")
8107 (("#include <systemd/sd-daemon\\.h>") ""))
8108 ;; Use elogind for sd-login.
8109 (substitute* '("common/gdm-common.c"
8110 "daemon/gdm-local-display-factory.c"
8111 "daemon/gdm-manager.c"
8112 "libgdm/gdm-user-switching.c")
8113 (("#include <systemd/sd-login\\.h>")
8114 "#include <elogind/sd-login.h>"))
8115 ;; Check for elogind.
8116 (substitute* '("configure")
8117 (("libsystemd")
8118 "libelogind"))
8119 ;; Look for system-installed sessions in
8120 ;; /run/current-system/profile/share.
8121 (substitute* '("libgdm/gdm-sessions.c"
8122 "daemon/gdm-session.c"
8123 "daemon/gdm-display.c"
8124 "daemon/gdm-launch-environment.c")
8125 (("DATADIR \"/x")
8126 "\"/run/current-system/profile/share/x")
8127 (("DATADIR \"/wayland")
8128 "\"/run/current-system/profile/share/wayland")
8129 (("DATADIR \"/gnome")
8130 "\"/run/current-system/profile/share/gnome"))
8131 (let ((propagate '("GDM_CUSTOM_CONF"
8132 "GDM_DBUS_DAEMON"
8133 "GDM_X_SERVER"
8134 "GDM_X_SESSION"
8135 ;; XXX: Remove this once GNOME Shell is
8136 ;; a dependency of GDM.
8137 "XDG_DATA_DIRS")))
8138 (substitute* "daemon/gdm-session.c"
8139 (("set_up_session_environment \\(self\\);")
8140 (apply string-append
8141 "set_up_session_environment (self);\n"
8142 (map (lambda (name)
8143 (string-append
8144 "gdm_session_set_environment_variable "
8145 "(self, \"" name "\","
8146 "g_getenv (\"" name "\"));\n"))
8147 propagate)))))
8148 ;; Find the configuration file using an environment variable.
8149 (substitute* '("common/gdm-settings.c")
8150 (("GDM_CUSTOM_CONF")
8151 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8152 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8153 " : GDM_CUSTOM_CONF)")))
8154 ;; Use service-supplied path to X.
8155 (substitute* '("daemon/gdm-server.c")
8156 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8157 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8158 (substitute* '("daemon/gdm-wayland-session.c"
8159 "daemon/gdm-x-session.c")
8160 (("\"dbus-daemon\"")
8161 "g_getenv (\"GDM_DBUS_DAEMON\")")
8162 (("X_SERVER")
8163 "g_getenv (\"GDM_X_SERVER\")")
8164 (("GDMCONFDIR \"/Xsession\"")
8165 "g_getenv (\"GDM_X_SESSION\")"))
8166 ;; Use an absolute path for GNOME Session.
8167 (substitute* "daemon/gdm-launch-environment.c"
8168 (("\"gnome-session\"")
8169 (string-append "\"" (assoc-ref inputs "gnome-session")
8170 "/bin/gnome-session\"")))
8171 ;; Do not automatically select the placeholder session.
8172 (substitute* "daemon/gdm-session.c"
8173 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8174 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8175 "(g_strcmp0(search_dirs[i], \""
8176 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8177 "\") == 0 && "
8178 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8179 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8180 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8181 #t))
8182 ;; GDM requires that there be at least one desktop entry
8183 ;; file. This phase installs a hidden one that simply
8184 ;; fails. This enables users to use GDM with a
8185 ;; '~/.xsession' script with no other desktop entry files.
8186 ;; See <https://bugs.gnu.org/35068>.
8187 (add-after 'install 'install-placeholder-desktop-entry
8188 (lambda* (#:key inputs outputs #:allow-other-keys)
8189 (let* ((out (assoc-ref outputs "out"))
8190 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8191 (fail (string-append sessions "/fail.desktop")))
8192 (mkdir-p sessions)
8193 (with-output-to-file fail
8194 (lambda ()
8195 (for-each
8196 display
8197 '("[Desktop Entry]\n"
8198 "Encoding=UTF-8\n"
8199 "Type=Application\n"
8200 "Name=Fail\n"
8201 "Comment=This session fails immediately.\n"
8202 "NoDisplay=true\n"
8203 "Exec=false\n"))))
8204 #t)))
8205 ;; GDM needs GNOME Session to run these applications. We link
8206 ;; their autostart files in `share/gdm/greeter/autostart'
8207 ;; because GDM explicitly tells GNOME Session to look there.
8208 ;;
8209 ;; XXX: GNOME Shell should be linked here too, but currently
8210 ;; GNOME Shell depends on GDM.
8211 (add-after 'install 'link-autostart-files
8212 (lambda* (#:key inputs outputs #:allow-other-keys)
8213 (let* ((out (assoc-ref outputs "out"))
8214 (autostart (string-append out "/share/gdm/"
8215 "greeter/autostart"))
8216 (settings (assoc-ref inputs "gnome-settings-daemon")))
8217 (mkdir-p autostart)
8218 (with-directory-excursion autostart
8219 (for-each (lambda (desktop)
8220 (symlink desktop (basename desktop)))
8221 (find-files (string-append settings "/etc/xdg"))))
8222 #t))))))
8223 (native-inputs
8224 `(("dconf" ,dconf)
8225 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8226 ("gobject-introspection" ,gobject-introspection)
8227 ("intltool" ,intltool)
8228 ("itstool" ,itstool)
8229 ("pkg-config" ,pkg-config)
8230 ("xmllint" ,libxml2)))
8231 (inputs
8232 `(("accountsservice" ,accountsservice)
8233 ("check" ,check-0.14) ;for testing
8234 ("elogind" ,elogind)
8235 ("gnome-session" ,gnome-session)
8236 ("gnome-settings-daemon" ,gnome-settings-daemon)
8237 ("gtk+" ,gtk+)
8238 ("iso-codes" ,iso-codes)
8239 ("libcanberra" ,libcanberra)
8240 ("linux-pam" ,linux-pam)))
8241 (synopsis "Display manager for GNOME")
8242 (home-page "https://wiki.gnome.org/Projects/GDM/")
8243 (description
8244 "GNOME Display Manager is a system service that is responsible for
8245 providing graphical log-ins and managing local and remote displays.")
8246 (license license:gpl2+)))
8247
8248 (define-public libgtop
8249 (package
8250 (name "libgtop")
8251 (version "2.40.0")
8252 (source (origin
8253 (method url-fetch)
8254 (uri (string-append "mirror://gnome/sources/libgtop/"
8255 (version-major+minor version) "/"
8256 "libgtop-" version ".tar.xz"))
8257 (sha256
8258 (base32
8259 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8260 (build-system gnu-build-system)
8261 (native-inputs
8262 `(("gobject-introspection" ,gobject-introspection)
8263 ("intltool" ,intltool)
8264 ("perl" ,perl)
8265 ("pkg-config" ,pkg-config)))
8266 (propagated-inputs
8267 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8268 (synopsis "Portable system access library")
8269 (home-page "https://www.gnome.org/")
8270 (description
8271 "LibGTop is a library to get system specific data such as CPU and memory
8272 usage and information about running processes.")
8273 (license license:gpl2+)))
8274
8275 (define-public gnome-bluetooth
8276 (package
8277 (name "gnome-bluetooth")
8278 (version "3.34.2")
8279 (source (origin
8280 (method url-fetch)
8281 (uri (string-append "mirror://gnome/sources/" name "/"
8282 (version-major+minor version) "/"
8283 name "-" version ".tar.xz"))
8284 (sha256
8285 (base32
8286 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8287 (build-system meson-build-system)
8288 (native-inputs
8289 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8290 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8291 ("gobject-introspection" ,gobject-introspection)
8292 ("intltool" ,intltool)
8293 ("pkg-config" ,pkg-config)
8294 ("xmllint" ,libxml2)))
8295 (propagated-inputs
8296 ;; gnome-bluetooth-1.0.pc refers to all these.
8297 `(("glib" ,glib)
8298 ("gtk+" ,gtk+)))
8299 (inputs
8300 `(("eudev" ,eudev)
8301 ("libcanberra" ,libcanberra)
8302 ("libnotify" ,libnotify)))
8303 (synopsis "GNOME Bluetooth subsystem")
8304 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8305 (description
8306 "This package contains tools for managing and manipulating Bluetooth
8307 devices using the GNOME desktop.")
8308 (license license:lgpl2.1+)))
8309
8310 (define-public gnome-control-center
8311 (package
8312 (name "gnome-control-center")
8313 (version "3.34.2")
8314 (source (origin
8315 (method url-fetch)
8316 (uri (string-append "mirror://gnome/sources/" name "/"
8317 (version-major+minor version) "/"
8318 name "-" version ".tar.xz"))
8319 (sha256
8320 (base32
8321 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8322 (build-system meson-build-system)
8323 (arguments
8324 '(#:glib-or-gtk? #t
8325 #:configure-flags
8326 (list "-Dcheese=false"
8327 (string-append "-Dgnome_session_libexecdir="
8328 (assoc-ref %build-inputs "gnome-session")
8329 "/libexec"))
8330 #:phases
8331 (modify-phases %standard-phases
8332 (add-before 'configure 'patch-paths
8333 (lambda* (#:key inputs #:allow-other-keys)
8334 (let ((libc (assoc-ref inputs "libc"))
8335 (tzdata (assoc-ref inputs "tzdata"))
8336 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8337 (nm-applet (assoc-ref inputs "network-manager-applet"))
8338 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8339 (substitute* "panels/datetime/tz.h"
8340 (("/usr/share/zoneinfo/zone.tab")
8341 (string-append tzdata "/share/zoneinfo/zone.tab")))
8342 (substitute* "tests/datetime/test-endianess.c"
8343 (("/usr/share/locale")
8344 (string-append libc "/share/locale")))
8345 (substitute* "panels/region/cc-region-panel.c"
8346 (("\"gkbd-keyboard-display")
8347 (string-append "\"" libgnomekbd
8348 "/bin/gkbd-keyboard-display")))
8349 (substitute* '("panels/network/net-device-wifi.c"
8350 "panels/network/net-device.c"
8351 "panels/network/connection-editor/net-connection-editor.c")
8352 (("\"nm-connection-editor")
8353 (string-append "\"" nm-applet
8354 "/bin/nm-connection-editor")))
8355 (substitute* '("panels/user-accounts/run-passwd.c")
8356 (("/usr/bin/passwd")
8357 "/run/setuid-programs/passwd"))
8358 (substitute* "panels/info/cc-info-overview-panel.c"
8359 (("DATADIR \"/gnome/gnome-version.xml\"")
8360 (string-append "\"" gnome-desktop
8361 "/share/gnome/gnome-version.xml\"")))
8362 #t)))
8363 (add-after 'unpack 'skip-gtk-update-icon-cache
8364 ;; Don't create 'icon-theme.cache'.
8365 (lambda _
8366 (substitute* "build-aux/meson/meson_post_install.py"
8367 (("gtk-update-icon-cache") (which "true")))
8368 #t)))))
8369 (native-inputs
8370 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8371 ("intltool" ,intltool)
8372 ("pkg-config" ,pkg-config)
8373 ("xsltproc" ,libxslt)
8374 ;; For tests
8375 ("hicolor-icon-theme" ,hicolor-icon-theme)
8376 ("python-dbusmock" ,python-dbusmock)
8377 ("xorg-server" ,xorg-server-for-tests)))
8378 (inputs
8379 `(("accountsservice" ,accountsservice)
8380 ("clutter-gtk" ,clutter-gtk)
8381 ("colord-gtk" ,colord-gtk)
8382 ("cups" ,cups)
8383 ("dconf" ,dconf)
8384 ("docbook-xsl" ,docbook-xsl)
8385 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8386 ("gnome-bluetooth" ,gnome-bluetooth)
8387 ("gnome-desktop" ,gnome-desktop)
8388 ("gnome-online-accounts" ,gnome-online-accounts)
8389 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8390 ("gnome-session" ,gnome-session)
8391 ("gnome-settings-daemon" ,gnome-settings-daemon)
8392 ("grilo" ,grilo)
8393 ("gsound" ,gsound)
8394 ("ibus" ,ibus)
8395 ("libcanberra" ,libcanberra)
8396 ("libgnomekbd" ,libgnomekbd)
8397 ("libgudev" ,libgudev)
8398 ("libgtop" ,libgtop)
8399 ("libnma" ,libnma)
8400 ("libpwquality" ,libpwquality)
8401 ("libsecret" ,libsecret)
8402 ("libsoup" ,libsoup)
8403 ("libxml2" ,libxml2)
8404 ("libwacom" ,libwacom)
8405 ("mesa" ,mesa)
8406 ("mit-krb5" ,mit-krb5)
8407 ("modem-manager" ,modem-manager)
8408 ("network-manager-applet" ,network-manager-applet)
8409 ("polkit" ,polkit)
8410 ("pulseaudio" ,pulseaudio)
8411 ("smbclient" ,samba)
8412 ("tzdata" ,tzdata)
8413 ("udisks" ,udisks)
8414 ("upower" ,upower)))
8415 (synopsis "Utilities to configure the GNOME desktop")
8416 (home-page "https://www.gnome.org/")
8417 (description
8418 "This package contains configuration applets for the GNOME desktop,
8419 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8420 properties, sound setup, desktop theme and background, user interface
8421 properties, screen resolution, and other GNOME parameters.")
8422 (license license:gpl2+)))
8423
8424 (define-public gnome-shell
8425 (package
8426 (name "gnome-shell")
8427 (version "3.34.2")
8428 (source (origin
8429 (method url-fetch)
8430 (uri (string-append "mirror://gnome/sources/" name "/"
8431 (version-major+minor version) "/"
8432 name "-" version ".tar.xz"))
8433 (sha256
8434 (base32
8435 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8436 (patches (search-patches "gnome-shell-theme.patch"
8437 "gnome-shell-disable-test.patch"))
8438 (modules '((guix build utils)))
8439 (snippet
8440 #~(begin
8441 ;; Copy images for use on the GDM log-in screen.
8442 (copy-file #$(file-append %artwork-repository
8443 "/slim/0.x/background.png")
8444 "data/theme/guix-background.png")
8445 (copy-file #$(file-append %artwork-repository
8446 "/logo/Guix-horizontal-white.svg")
8447 "data/theme/guix-logo.svg")
8448 #t))))
8449 (build-system meson-build-system)
8450 (arguments
8451 `(#:glib-or-gtk? #t
8452 #:disallowed-references ((,glib "bin")
8453 ,inkscape ,libxslt
8454 ,ruby-sass)
8455 #:configure-flags
8456 (list "-Dsystemd=false"
8457 ;; Otherwise, the RUNPATH will lack the final path component.
8458 (string-append "-Dc_link_args=-Wl,-rpath="
8459 (assoc-ref %outputs "out")
8460 "/lib/gnome-shell"))
8461
8462 #:modules ((guix build meson-build-system)
8463 (guix build utils)
8464 (srfi srfi-1))
8465
8466 #:phases
8467 (modify-phases %standard-phases
8468 (add-after 'unpack 'fix-keysdir
8469 (lambda* (#:key outputs #:allow-other-keys)
8470 (let* ((out (assoc-ref outputs "out"))
8471 (keysdir (string-append
8472 out "/share/gnome-control-center/keybindings")))
8473 (substitute* "meson.build"
8474 (("keysdir =.*")
8475 (string-append "keysdir = '" keysdir "'\n")))
8476 #t)))
8477 (add-before 'configure 'convert-logo-to-png
8478 (lambda* (#:key inputs #:allow-other-keys)
8479 ;; Convert the logo from SVG to PNG.
8480 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8481 "data/theme/guix-logo.svg")))
8482 (add-before 'configure 'record-absolute-file-names
8483 (lambda* (#:key inputs #:allow-other-keys)
8484 (substitute* "js/misc/ibusManager.js"
8485 (("'ibus-daemon'")
8486 (string-append "'" (assoc-ref inputs "ibus")
8487 "/bin/ibus-daemon'")))
8488 (substitute* "js/ui/status/keyboard.js"
8489 (("'gkbd-keyboard-display'")
8490 (string-append "'" (assoc-ref inputs "libgnomekbd")
8491 "/bin/gkbd-keyboard-display'")))
8492 #t))
8493 (add-before 'check 'pre-check
8494 (lambda* (#:key inputs #:allow-other-keys)
8495 ;; Tests require a running X server.
8496 (system "Xvfb :1 &")
8497 (setenv "DISPLAY" ":1")
8498 #t))
8499 (add-after 'install 'wrap-programs
8500 (lambda* (#:key inputs outputs #:allow-other-keys)
8501 (let ((out (assoc-ref outputs "out"))
8502 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8503 (python-path (getenv "PYTHONPATH")))
8504 (wrap-program (string-append out "/bin/gnome-shell")
8505 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8506 ;; FIXME: gnome-shell loads these libraries with unqualified
8507 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8508 ;; alternative might be to patch gnome-shell.
8509 `("LD_LIBRARY_PATH" ":" prefix
8510 ,(map (lambda (pkg)
8511 (string-append (assoc-ref inputs pkg) "/lib"))
8512 '("gdk-pixbuf"
8513 "gnome-bluetooth" "librsvg" "libgweather"))))
8514 (for-each
8515 (lambda (prog)
8516 (wrap-program (string-append out "/bin/" prog)
8517 `("PYTHONPATH" ":" prefix (,python-path))
8518 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8519 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8520 #t)))
8521 (replace 'glib-or-gtk-wrap
8522 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8523 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8524 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8525 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8526 ;; phase. Fix that since we don't need these.
8527 (wrap #:inputs (fold alist-delete inputs
8528 '("inkscape" "intltool" "glib:bin"))
8529 #:outputs outputs)))))))
8530 (native-inputs
8531 `(("asciidoc" ,asciidoc)
8532 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8533 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8534 ("gobject-introspection" ,gobject-introspection)
8535 ("inkscape" ,inkscape)
8536 ("intltool" ,intltool)
8537 ("pkg-config" ,pkg-config)
8538 ("python" ,python)
8539 ("ruby-sass" ,ruby-sass)
8540 ("sassc" ,sassc)
8541 ("xsltproc" ,libxslt)
8542 ;; For tests
8543 ("xorg-server" ,xorg-server-for-tests)))
8544 (inputs
8545 `(("accountsservice" ,accountsservice)
8546 ("caribou" ,caribou)
8547 ("docbook-xsl" ,docbook-xsl)
8548 ("evolution-data-server" ,evolution-data-server)
8549 ("gcr" ,gcr)
8550 ("gdm" ,gdm)
8551 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8552 ("gjs" ,gjs)
8553 ("gnome-autoar" ,gnome-autoar)
8554 ("gnome-bluetooth" ,gnome-bluetooth)
8555 ("gnome-desktop" ,gnome-desktop)
8556 ("gnome-settings-daemon" ,gnome-settings-daemon)
8557 ("gst-plugins-base" ,gst-plugins-base)
8558 ("ibus" ,ibus)
8559 ("libcanberra" ,libcanberra)
8560 ("libcroco" ,libcroco)
8561 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8562 ("libgweather" ,libgweather)
8563 ("libnma" ,libnma)
8564 ("libsoup" ,libsoup)
8565 ("mesa-headers" ,mesa-headers)
8566 ("mutter" ,mutter)
8567 ("network-manager-applet" ,network-manager-applet)
8568 ("polkit" ,polkit)
8569 ("pulseaudio" ,pulseaudio)
8570 ("python-pygobject" ,python-pygobject)
8571 ("startup-notification" ,startup-notification)
8572 ("telepathy-logger" ,telepathy-logger)
8573 ("upower" ,upower)
8574 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8575 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8576 ("librsvg" ,librsvg)
8577 ("geoclue" ,geoclue)))
8578 (synopsis "Desktop shell for GNOME")
8579 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8580 (description
8581 "GNOME Shell provides core user interface functions for the GNOME desktop,
8582 like switching to windows and launching applications.")
8583 (license license:gpl2+)))
8584
8585 (define-public gtk-vnc
8586 (package
8587 (name "gtk-vnc")
8588 (version "1.0.0")
8589 (source
8590 (origin
8591 (method url-fetch)
8592 (uri
8593 (string-append "mirror://gnome/sources/" name "/"
8594 (version-major+minor version) "/"
8595 name "-" version ".tar.xz"))
8596 (sha256
8597 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8598 (build-system meson-build-system)
8599 (arguments
8600 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8601 (native-inputs
8602 `(("gjs" ,gjs)
8603 ("glib:bin" ,glib "bin")
8604 ("gobject-introspection" ,gobject-introspection)
8605 ("intltool" ,intltool)
8606 ("node" ,node)
8607 ("perl" ,perl)
8608 ("pkg-config" ,pkg-config)
8609 ("python" ,python-wrapper)
8610 ("vala" ,vala)))
8611 (inputs
8612 `(("cairo" ,cairo)
8613 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8614 ("glib" ,glib)
8615 ("gnutls" ,gnutls)
8616 ("libgcrypt" ,libgcrypt)
8617 ("libsasl" ,cyrus-sasl)
8618 ("pulseaudio" ,pulseaudio)
8619 ("x11" ,libx11)
8620 ("zlib" ,zlib)))
8621 (propagated-inputs
8622 `(("gtk+" ,gtk+)))
8623 (synopsis "VNC client viewer widget for GTK+")
8624 (description "GTK-VNC is a project providing client side APIs for the RFB
8625 protocol / VNC remote desktop technology. It is built using coroutines allowing
8626 it to be completely asynchronous while remaining single threaded. It provides a
8627 core C library, and bindings for Python (PyGTK).")
8628 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8629 (license license:lgpl2.1+)))
8630
8631 (define-public gnome-autoar
8632 (package
8633 (name "gnome-autoar")
8634 (version "0.2.4")
8635 (source (origin
8636 (method url-fetch)
8637 (uri (string-append "mirror://gnome/sources/" name "/"
8638 (version-major+minor version) "/"
8639 name "-" version ".tar.xz"))
8640 (sha256
8641 (base32
8642 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8643 (build-system glib-or-gtk-build-system)
8644 (native-inputs
8645 `(("gobject-introspection" ,gobject-introspection)
8646 ("pkg-config" ,pkg-config)))
8647 (propagated-inputs
8648 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8649 (inputs
8650 `(("gtk+" ,gtk+)))
8651 (synopsis "Archives integration support for GNOME")
8652 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8653 (description
8654 "GNOME Autoar is a library which makes creating and extracting archives
8655 easy, safe, and automatic.")
8656 (license license:lgpl2.1+)))
8657
8658 (define-public tracker
8659 (package
8660 (name "tracker")
8661 (version "2.3.5")
8662 (source (origin
8663 (method url-fetch)
8664 (uri (string-append "mirror://gnome/sources/tracker/"
8665 (version-major+minor version) "/"
8666 "tracker-" version ".tar.xz"))
8667 (sha256
8668 (base32
8669 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8670 (build-system meson-build-system)
8671 (arguments
8672 `(#:glib-or-gtk? #t
8673 #:configure-flags
8674 ;; Otherwise, the RUNPATH will lack the final path component.
8675 (list (string-append "-Dc_link_args=-Wl,-rpath="
8676 (assoc-ref %outputs "out") "/lib:"
8677 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8678 #:phases
8679 (modify-phases %standard-phases
8680 (add-before 'check 'pre-check
8681 (lambda _
8682 ;; Some tests expect to write to $HOME.
8683 (setenv "HOME" "/tmp")
8684 #t)))))
8685 (native-inputs
8686 `(("glib:bin" ,glib "bin")
8687 ("gobject-introspection" ,gobject-introspection)
8688 ("python-pygobject" ,python-pygobject)
8689 ("intltool" ,intltool)
8690 ("pkg-config" ,pkg-config)
8691 ("vala" ,vala)))
8692 (inputs
8693 `(("dbus" ,dbus)
8694 ("sqlite" ,sqlite)
8695 ("libxml2" ,libxml2)
8696 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8697 ("json-glib" ,json-glib)
8698 ("libsoup" ,libsoup)))
8699 (synopsis "Metadata database, indexer and search tool")
8700 (home-page "https://wiki.gnome.org/Projects/Tracker")
8701 (description
8702 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8703
8704 It is a middleware component aimed at desktop application developers who want
8705 their apps to browse and search user content. It's not designed to be used
8706 directly by desktop users, but it provides a commandline tool named
8707 @command{tracker} for the adventurous.
8708
8709 Tracker allows your application to instantly perform full-text searches across
8710 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8711 example. This is achieved by indexing the user's home directory in the
8712 background.
8713
8714 Tracker also allows your application to query and list content that the user
8715 has stored. For example, GNOME Music displays all the music files that are
8716 found by Tracker. This means that GNOME Music doesn't need to maintain a
8717 database of its own.
8718
8719 If you need to go beyond simple searches, Tracker is also a linked data
8720 endpoint and it understands SPARQL. ")
8721 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8722 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8723 ;; libstemmer is bsd-3 and the rest is gpl2+.
8724 (license (list license:gpl2+
8725 license:bsd-3
8726 license:lgpl2.1+))))
8727
8728 (define-public tracker-miners
8729 (package
8730 (name "tracker-miners")
8731 (version "2.3.4")
8732 (source (origin
8733 (method url-fetch)
8734 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8735 (version-major+minor version)
8736 "/tracker-miners-" version ".tar.xz"))
8737 (sha256
8738 (base32
8739 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8740 (build-system meson-build-system)
8741 (arguments
8742 `(#:glib-or-gtk? #t
8743 #:configure-flags
8744 (list "-Dminer_rss=false" ; libgrss is required.
8745 ;; Ensure the RUNPATH contains all installed library locations.
8746 (string-append "-Dc_link_args=-Wl,-rpath="
8747 (assoc-ref %outputs "out")
8748 "/lib/tracker-miners-2.0")
8749 ;; TODO: Enable functional tests. Currently, the following error
8750 ;; appears:
8751 ;; Exception: The functional tests require DConf to be the default
8752 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8753 "-Dfunctional_tests=false")))
8754 (native-inputs
8755 `(("dbus" ,dbus)
8756 ("intltool" ,intltool)
8757 ("glib:bin" ,glib "bin")
8758 ("gobject-introspection" ,gobject-introspection)
8759 ("pkg-config" ,pkg-config)
8760 ("python-pygobject" ,python-pygobject)))
8761 (inputs
8762 `(("exempi" ,exempi)
8763 ("ffmpeg" ,ffmpeg)
8764 ("flac" ,flac)
8765 ("giflib" ,giflib)
8766 ("glib" ,glib)
8767 ("gstreamer" ,gstreamer)
8768 ("icu4c" ,icu4c)
8769 ("libcue" ,libcue)
8770 ("libexif" ,libexif)
8771 ("libgsf" ,libgsf)
8772 ("libgxps" ,libgxps)
8773 ("libiptcdata" ,libiptcdata)
8774 ("libjpeg" ,libjpeg-turbo)
8775 ("libosinfo" ,libosinfo)
8776 ("libpng" ,libpng)
8777 ("libseccomp" ,libseccomp)
8778 ("libtiff" ,libtiff)
8779 ("libvorbis" ,libvorbis)
8780 ("libxml2" ,libxml2)
8781 ("poppler" ,poppler)
8782 ("taglib" ,taglib)
8783 ("totem-pl-parser" ,totem-pl-parser)
8784 ("tracker" ,tracker)
8785 ("upower" ,upower)
8786 ("zlib" ,zlib)))
8787 (synopsis "Metadata database, indexer and search tool")
8788 (home-page "https://wiki.gnome.org/Projects/Tracker")
8789 (description
8790 "Tracker is an advanced framework for first class objects with associated
8791 metadata and tags. It provides a one stop solution for all metadata, tags,
8792 shared object databases, search tools and indexing.")
8793 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8794 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8795 (license (list license:gpl2+
8796 license:lgpl2.1+
8797 license:lgpl2.0+))))
8798
8799 (define-public nautilus
8800 (package
8801 (name "nautilus")
8802 (version "3.34.2")
8803 (source (origin
8804 (method url-fetch)
8805 (uri (string-append "mirror://gnome/sources/" name "/"
8806 (version-major+minor version) "/"
8807 name "-" version ".tar.xz"))
8808 (sha256
8809 (base32
8810 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8811 (build-system meson-build-system)
8812 (arguments
8813 '(#:glib-or-gtk? #t
8814 #:phases
8815 (modify-phases %standard-phases
8816 (add-after 'unpack 'skip-gtk-update-icon-cache
8817 ;; Don't create 'icon-theme.cache'.
8818 (lambda _
8819 (substitute* "build-aux/meson/postinstall.py"
8820 (("gtk-update-icon-cache") "true"))
8821 #t)))
8822 ;; XXX: FAIL: check-nautilus
8823 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8824 #:tests? #f))
8825 (native-inputs
8826 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8827 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8828 ("gobject-introspection" ,gobject-introspection)
8829 ("intltool" ,intltool)
8830 ("pkg-config" ,pkg-config)))
8831 (inputs
8832 `(("dconf" ,dconf)
8833 ("gexiv2" ,gexiv2)
8834 ("gvfs" ,gvfs)
8835 ("exempi" ,exempi)
8836 ("gnome-desktop" ,gnome-desktop)
8837 ("gnome-autoar" ,gnome-autoar)
8838 ("gst-plugins-base" ,gst-plugins-base)
8839 ("libseccomp" ,libseccomp)
8840 ("libselinux" ,libselinux)
8841 ("tracker" ,tracker)
8842 ("tracker-miners" ,tracker-miners)
8843 ;; XXX: gtk+ is required by libnautilus-extension.pc
8844 ;;
8845 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8846 ;; package. See:
8847 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8848 ("gtk+" ,gtk+)
8849 ("libexif" ,libexif)
8850 ("libxml2" ,libxml2)))
8851 (synopsis "File manager for GNOME")
8852 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8853 (description
8854 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8855 design and behaviour, giving the user a simple way to navigate and manage its
8856 files.")
8857 (license license:gpl2+)))
8858
8859 (define-public baobab
8860 (package
8861 (name "baobab")
8862 (version "3.38.0")
8863 (source (origin
8864 (method url-fetch)
8865 (uri (string-append
8866 "mirror://gnome/sources/" name "/"
8867 (version-major+minor version) "/"
8868 name "-" version ".tar.xz"))
8869 (sha256
8870 (base32
8871 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8872 (build-system meson-build-system)
8873 (arguments
8874 '(#:glib-or-gtk? #t))
8875 (native-inputs
8876 `(("intltool" ,intltool)
8877 ("pkg-config" ,pkg-config)
8878 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8879 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8880 ("itstool" ,itstool)
8881 ("xmllint" ,libxml2)
8882 ("glib" ,glib "bin")
8883 ("vala" ,vala)))
8884 (inputs
8885 `(("gtk+" ,gtk+)))
8886 (synopsis "Disk usage analyzer for GNOME")
8887 (description
8888 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8889 usage in the GNOME desktop environment. It can easily scan device volumes or
8890 a specific user-requested directory branch (local or remote). Once the scan
8891 is complete it provides a graphical representation of each selected folder.")
8892 (home-page "https://wiki.gnome.org/Apps/Baobab")
8893 (license license:gpl2+)))
8894
8895 (define-public gnome-backgrounds
8896 (package
8897 (name "gnome-backgrounds")
8898 (version "3.34.0")
8899 (source
8900 (origin
8901 (method url-fetch)
8902 (uri (string-append "mirror://gnome/sources/" name "/"
8903 (version-major+minor version) "/"
8904 name "-" version ".tar.xz"))
8905 (sha256
8906 (base32
8907 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8908 (build-system meson-build-system)
8909 (native-inputs
8910 `(("intltool" ,intltool)))
8911 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8912 (synopsis "Background images for the GNOME desktop")
8913 (description
8914 "GNOME backgrounds package contains a collection of graphics files which
8915 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8916 the package creates the proper framework and directory structure so that you
8917 can add your own files to the collection.")
8918 (license (list license:gpl2+
8919 license:cc-by2.0
8920 license:cc-by-sa2.0
8921 license:cc-by-sa3.0))))
8922
8923 (define-public gnome-screenshot
8924 (package
8925 (name "gnome-screenshot")
8926 (version "3.34.0")
8927 (source
8928 (origin
8929 (method url-fetch)
8930 (uri (string-append "mirror://gnome/sources/" name "/"
8931 (version-major+minor version) "/"
8932 name "-" version ".tar.xz"))
8933 (sha256
8934 (base32
8935 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8936 (build-system meson-build-system)
8937 (arguments
8938 '(#:phases
8939 (modify-phases %standard-phases
8940 (add-after 'unpack 'skip-gtk-update-icon-cache
8941 ;; Don't create 'icon-theme.cache'.
8942 (lambda _
8943 (substitute* "build-aux/postinstall.py"
8944 (("gtk-update-icon-cache") "true"))
8945 #t)))))
8946 (native-inputs
8947 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8948 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8949 ("intltool" ,intltool)
8950 ("appstream-glib" ,appstream-glib)
8951 ("pkg-config" ,pkg-config)))
8952 (inputs
8953 `(("gtk+" ,gtk+)
8954 ("libcanberra" ,libcanberra)
8955 ("libx11" ,libx11)
8956 ("libxext" ,libxext)))
8957 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8958 (synopsis "Take pictures of your screen")
8959 (description
8960 "GNOME Screenshot is a utility used for taking screenshots of the entire
8961 screen, a window or a user defined area of the screen, with optional
8962 beautifying border effects.")
8963 (license license:gpl2+)))
8964
8965 (define-public dconf-editor
8966 (package
8967 (name "dconf-editor")
8968 (version "3.34.2")
8969 (source
8970 (origin
8971 (method url-fetch)
8972 (uri (string-append "mirror://gnome/sources/" name "/"
8973 (version-major+minor version) "/"
8974 name "-" version ".tar.xz"))
8975 (sha256
8976 (base32
8977 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8978 (build-system meson-build-system)
8979 (native-inputs
8980 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8981 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8982 ("intltool" ,intltool)
8983 ("pkg-config" ,pkg-config)
8984 ("vala" ,vala)))
8985 (inputs
8986 `(("dconf" ,dconf)
8987 ("gtk+" ,gtk+)
8988 ("libxml2" ,libxml2)))
8989 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8990 (synopsis "Graphical editor for GNOME's dconf configuration system")
8991 (description
8992 "Dconf-editor is a graphical tool for browsing and editing the dconf
8993 configuration system for GNOME. It allows users to configure desktop
8994 software that do not provide their own configuration interface.")
8995 (license license:lgpl2.1+)))
8996
8997 (define-public gnome-default-applications
8998 (package
8999 (name "gnome-default-applications")
9000 (version "0")
9001 (build-system trivial-build-system)
9002 (source #f)
9003 (propagated-inputs
9004 `(("nautilus" ,nautilus)
9005 ("evince" ,evince)))
9006 (arguments
9007 `(#:modules ((guix build utils))
9008 #:builder
9009 (begin
9010 (use-modules (guix build utils))
9011 (let* ((out (assoc-ref %outputs "out"))
9012 (apps (string-append out "/share/applications")))
9013 (mkdir-p apps)
9014 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9015 (lambda (port)
9016 (format port "[Default Applications]\n")
9017 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9018 (format port "application/pdf=evince.desktop\n")
9019 (format port "application/postscript=evince.desktop\n")))
9020 #t))))
9021 (synopsis "Default MIME type associations for the GNOME desktop")
9022 (description
9023 "Given many installed packages which might handle a given MIME type, a
9024 user running the GNOME desktop probably has some preferences: for example,
9025 that folders be opened by default by the Nautilus file manager, not the Baobab
9026 disk usage analyzer. This package establishes that set of default MIME type
9027 associations for GNOME.")
9028 (license license:gpl3+)
9029 (home-page #f)))
9030
9031 (define-public libgovirt
9032 (package
9033 (name "libgovirt")
9034 (version "0.3.8")
9035 (source (origin
9036 (method url-fetch)
9037 (uri (string-append "mirror://gnome/sources/" name "/"
9038 (version-major+minor version) "/"
9039 name "-" version ".tar.xz"))
9040 (sha256
9041 (base32
9042 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9043 (build-system glib-or-gtk-build-system)
9044 (native-inputs
9045 `(("gettext" ,gettext-minimal)
9046 ("glib:bin" ,glib "bin")
9047 ("gobject-introspection" ,gobject-introspection)
9048 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9049 ("gtk+:bin" ,gtk+ "bin")
9050 ("pkg-config" ,pkg-config)))
9051 (inputs
9052 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9053 ("librest" ,rest)))
9054 (synopsis "GoVirt Library")
9055 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9056 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9057 (license license:gpl2+)))
9058
9059 (define-public gnome-weather
9060 (package
9061 (name "gnome-weather")
9062 (version "3.34.0")
9063 (source (origin
9064 (method url-fetch)
9065 (uri (string-append "mirror://gnome/sources/" name "/"
9066 (version-major+minor version) "/"
9067 name "-" version ".tar.xz"))
9068 (sha256
9069 (base32
9070 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9071 (build-system meson-build-system)
9072 (native-inputs
9073 `(("gettext" ,gettext-minimal)
9074 ("glib:bin" ,glib "bin")
9075 ("gobject-introspection" ,gobject-introspection)
9076 ("gtk+:bin" ,gtk+ "bin")
9077 ("pkg-config" ,pkg-config)))
9078 (inputs
9079 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9080 ("appstream-glib" ,appstream-glib)
9081 ("geoclue" ,geoclue)
9082 ("gdk-pixbuf" ,gdk-pixbuf)
9083 ("gjs" ,gjs)
9084 ("gnome-desktop" ,gnome-desktop)
9085 ("libgweather" ,libgweather)))
9086 (arguments
9087 `(#:glib-or-gtk? #t
9088 #:phases
9089 (modify-phases %standard-phases
9090 (add-after 'install 'fix-desktop-file
9091 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9092 ;; See https://issues.guix.gnu.org/issue/39324.
9093 (lambda* (#:key outputs #:allow-other-keys)
9094 (let* ((out (assoc-ref outputs "out"))
9095 (applications (string-append out "/share/applications")))
9096 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9097 (("Exec=.*") "Exec=gnome-weather\n"))
9098 #t)))
9099 (add-after 'install 'wrap
9100 (lambda* (#:key inputs outputs #:allow-other-keys)
9101 (let ((out (assoc-ref outputs "out"))
9102 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9103 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9104 (wrap-program (string-append out "/bin/gnome-weather")
9105 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9106 #t))))))
9107 (synopsis "Weather monitoring for GNOME desktop")
9108 (description "GNOME Weather is a small application that allows you to
9109 monitor the current weather conditions for your city, or anywhere in the
9110 world.")
9111 (home-page "https://wiki.gnome.org/Apps/Weather")
9112 (license license:gpl2+)))
9113
9114 (define-public gnome
9115 (package
9116 (name "gnome")
9117 (version (package-version gnome-shell))
9118 (source #f)
9119 (build-system trivial-build-system)
9120 (arguments '(#:builder (begin (mkdir %output) #t)))
9121 (propagated-inputs
9122 ;; TODO: Add or remove packages according to:
9123 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9124 `(
9125 ;; GNOME-Core-OS-Services
9126 ("accountsservice" ,accountsservice)
9127 ("network-manager" ,network-manager)
9128 ("packagekit" ,packagekit)
9129 ("upower" ,upower)
9130 ;; GNOME-Core-Shell
9131 ("adwaita-icon-theme" ,adwaita-icon-theme)
9132 ("gdm" ,gdm)
9133 ("glib-networking" ,glib-networking)
9134 ("gnome-backgrounds" ,gnome-backgrounds)
9135 ("gnome-bluetooth" ,gnome-bluetooth)
9136 ("gnome-color-manager" ,gnome-color-manager)
9137 ("gnome-control-center" ,gnome-control-center)
9138 ("gnome-desktop" ,gnome-desktop)
9139 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9140 ("gnome-initial-setup" ,gnome-initial-setup)
9141 ("gnome-keyring" ,gnome-keyring)
9142 ("gnome-menus" ,gnome-menus)
9143 ("gnome-session" ,gnome-session)
9144 ("gnome-settings-daemon" ,gnome-settings-daemon)
9145 ("gnome-shell-extensions" ,gnome-shell-extensions)
9146 ("gnome-shell" ,gnome-shell)
9147 ("gnome-themes-extra" ,gnome-themes-extra)
9148 ("gnome-user-docs" ,gnome-user-docs)
9149 ("gnome-user-share" ,gnome-user-share)
9150 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9151 ("gvfs" ,gvfs)
9152 ("mutter" ,mutter)
9153 ("orca" ,orca)
9154 ("rygel" ,rygel)
9155 ("sushi" ,sushi)
9156 ;; GNOME-Core-Utilities
9157 ("baobab" ,baobab)
9158 ("cheese" ,cheese)
9159 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9160 ;; only works on x86_64, so exclude it on other architectures.
9161 ,@(if (string-prefix? "x86_64" (%current-system))
9162 `(("eog" ,eog))
9163 '())
9164 ("epiphany" ,epiphany)
9165 ("evince" ,evince)
9166 ("file-roller" ,file-roller)
9167 ("gedit" ,gedit)
9168 ("gnome-boxes" ,gnome-boxes)
9169 ("gnome-calculator" ,gnome-calculator)
9170 ("gnome-calendar" ,gnome-calendar)
9171 ("gnome-characters" ,gnome-characters)
9172 ("gnome-clocks" ,gnome-clocks)
9173 ("gnome-contacts" ,gnome-contacts)
9174 ("gnome-disk-utility" ,gnome-disk-utility)
9175 ("gnome-font-viewer" ,gnome-font-viewer)
9176 ("gnome-maps" ,gnome-maps)
9177 ; TODO: ("gnome-music" ,gnome-music)
9178 ; TODO: ("gnome-photos" ,gnome-photos)
9179 ("gnome-screenshot" ,gnome-screenshot)
9180 ("gnome-system-monitor" ,gnome-system-monitor)
9181 ("gnome-terminal" ,gnome-terminal)
9182 ("gnome-weather" ,gnome-weather)
9183 ("nautilus" ,nautilus)
9184 ("simple-scan" ,simple-scan)
9185 ("totem" ,totem)
9186 ("yelp" ,yelp)
9187 ;; Others
9188 ("hicolor-icon-theme" ,hicolor-icon-theme)
9189 ("gnome-online-accounts" ,gnome-online-accounts)
9190
9191 ;; Packages not part of GNOME proper but that are needed for a good
9192 ;; experience. See <https://bugs.gnu.org/39646>.
9193 ;; XXX: Find out exactly which ones are needed and why.
9194 ("font-cantarell" ,font-cantarell)
9195 ("font-dejavu" ,font-dejavu)
9196 ("at-spi2-core" ,at-spi2-core)
9197 ("dbus" ,dbus)
9198 ("dconf" ,dconf)
9199 ("desktop-file-utils" ,desktop-file-utils)
9200 ("gnome-default-applications" ,gnome-default-applications)
9201 ("gnome-themes-standard" ,gnome-themes-standard)
9202 ("gst-plugins-base" ,gst-plugins-base)
9203 ("gst-plugins-good" ,gst-plugins-good)
9204 ("gucharmap" ,gucharmap)
9205 ("pinentry-gnome3" ,pinentry-gnome3)
9206 ("pulseaudio" ,pulseaudio)
9207 ("shared-mime-info" ,shared-mime-info)
9208 ("system-config-printer" ,system-config-printer)
9209 ("xdg-user-dirs" ,xdg-user-dirs)
9210 ("yelp" ,yelp)
9211 ("zenity" ,zenity)))
9212 (synopsis "The GNU desktop environment")
9213 (home-page "https://www.gnome.org/")
9214 (description
9215 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9216 applications for browsing the web, editing text and images, creating
9217 documents and diagrams, playing media, scanning, and much more.")
9218 (license license:gpl2+)))
9219
9220 (define-public byzanz
9221 ;; The last stable release of Byzanz was in 2011, but there have been many
9222 ;; useful commits made to the Byzanz repository since then that it would be
9223 ;; silly to use such an old release.
9224 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9225 (package
9226 (name "byzanz")
9227 (version (string-append "0.2-1." (string-take commit 7)))
9228 (source (origin
9229 (method git-fetch)
9230 (uri (git-reference
9231 (url "https://git.gnome.org/browse/byzanz")
9232 (commit commit)))
9233 (file-name (string-append name "-" version "-checkout"))
9234 (sha256
9235 (base32
9236 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9237 (build-system glib-or-gtk-build-system)
9238 (arguments
9239 '(#:phases
9240 (modify-phases %standard-phases
9241 (add-before 'bootstrap 'build-without-Werror
9242 (lambda _
9243 ;; The build system cleverly detects that we're not building from
9244 ;; a release tarball and turns on -Werror for GCC.
9245 ;; Unsurprisingly, there is a warning during compilation that
9246 ;; causes the build to fail unnecessarily, so we remove the flag.
9247 (substitute* '("configure.ac")
9248 (("-Werror") ""))
9249 #t)))))
9250 (native-inputs
9251 `(("autoconf" ,autoconf)
9252 ("automake" ,automake)
9253 ("gnome-common" ,gnome-common)
9254 ("intltool" ,intltool)
9255 ("libtool" ,libtool)
9256 ("pkg-config" ,pkg-config)
9257 ("which" ,which)))
9258 (inputs
9259 `(("glib" ,glib)
9260 ("gstreamer" ,gstreamer)
9261 ("gst-plugins-base" ,gst-plugins-base)
9262 ("gtk+" ,gtk+)))
9263 (synopsis "Desktop recording program")
9264 (description "Byzanz is a simple desktop recording program with a
9265 command-line interface. It can record part or all of an X display for a
9266 specified duration and save it as a GIF encoded animated image file.")
9267 (home-page "https://git.gnome.org/browse/byzanz")
9268 (license license:gpl2+))))
9269
9270 (define-public authenticator
9271 (package
9272 (name "authenticator")
9273 (version "3.32.2")
9274 (source
9275 (origin
9276 (method git-fetch)
9277 (uri (git-reference
9278 (url "https://gitlab.gnome.org/World/Authenticator")
9279 (commit version)))
9280 (file-name (git-file-name name version))
9281 (sha256
9282 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9283 (build-system meson-build-system)
9284 (arguments
9285 `(#:glib-or-gtk? #t
9286 #:phases
9287 (modify-phases %standard-phases
9288 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9289 (lambda* (#:key inputs outputs #:allow-other-keys)
9290 (let ((prog (string-append (assoc-ref outputs "out")
9291 "/bin/authenticator"))
9292 (pylib (string-append (assoc-ref outputs "out")
9293 "/lib/python"
9294 ,(version-major+minor
9295 (package-version python))
9296 "/site-packages")))
9297 (wrap-program prog
9298 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9299 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9300 #t))))))
9301 (native-inputs
9302 `(("desktop-file-utils" ,desktop-file-utils)
9303 ("gettext" ,gettext-minimal)
9304 ("glib:bin" ,glib "bin")
9305 ("gobject-introspection" ,gobject-introspection)
9306 ("gtk+:bin" ,gtk+ "bin")
9307 ("pkg-config" ,pkg-config)))
9308 (inputs
9309 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9310 ("gtk+" ,gtk+)
9311 ("libhandy" ,libhandy-0.0)
9312 ("libsecret" ,libsecret)
9313 ("python-beautifulsoup4" ,python-beautifulsoup4)
9314 ("python-pillow" ,python-pillow)
9315 ("python-pyfavicon" ,python-pyfavicon)
9316 ("python-pygobject" ,python-pygobject)
9317 ("python-pyotp" ,python-pyotp)
9318 ("python-pyzbar" ,python-pyzbar)
9319 ("yoyo-migrations" ,yoyo-migrations)
9320 ("zbar" ,zbar)))
9321 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9322 (synopsis "Two-factor authentication application built for GNOME")
9323 (description
9324 "Authenticator is a two-factor authentication (2FA) application built for
9325 the GNOME desktop environment.
9326
9327 Features:
9328
9329 @itemize
9330 @item QR code scanner
9331 @item Beautiful UI
9332 @item Huge database of more than 560 supported services
9333 @item Keep your PIN tokens secure by locking the application with a password
9334 @item Automatically fetch an image for services using their favicon
9335 @item The possibility to add new services
9336 @end itemize")
9337 (license license:gpl3+)))
9338
9339 (define-public gsound
9340 (package
9341 (name "gsound")
9342 (version "1.0.2")
9343 (source (origin
9344 (method url-fetch)
9345 (uri (string-append "mirror://gnome/sources/" name "/"
9346 (version-major+minor version) "/"
9347 name "-" version ".tar.xz"))
9348 (sha256
9349 (base32
9350 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9351 (build-system glib-or-gtk-build-system)
9352 (native-inputs
9353 `(("pkg-config" ,pkg-config)
9354 ("gobject-introspection" ,gobject-introspection)
9355 ("vala" ,vala)))
9356 (inputs
9357 `(("glib" ,glib)
9358 ("libcanberra" ,libcanberra)))
9359 (home-page "https://wiki.gnome.org/Projects/GSound")
9360 (synopsis "GObject wrapper for libcanberra")
9361 (description
9362 "GSound is a small library for playing system sounds. It's designed to be
9363 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9364 library.")
9365 (license license:lgpl2.1+)))
9366
9367 (define-public libzapojit
9368 (package
9369 (name "libzapojit")
9370 (version "0.0.3")
9371 (source (origin
9372 (method url-fetch)
9373 (uri (string-append "mirror://gnome/sources/" name "/"
9374 (version-major+minor version) "/"
9375 name "-" version ".tar.xz"))
9376 (sha256
9377 (base32
9378 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9379 (build-system gnu-build-system)
9380 (native-inputs
9381 `(("gobject-introspection" ,gobject-introspection)
9382 ("intltool" ,intltool)
9383 ("pkg-config" ,pkg-config)))
9384 (inputs
9385 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9386 ("json-glib" ,json-glib)
9387 ("rest" ,rest)))
9388 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9389 (synopsis "Library for accessing SkyDrive and Hotmail")
9390 (description
9391 "Libzapojit is a GLib-based library for accessing online service APIs of
9392 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9393 (license license:lgpl2.1+)))
9394
9395 (define-public gnome-clocks
9396 (package
9397 (name "gnome-clocks")
9398 (version "3.34.0")
9399 (source (origin
9400 (method url-fetch)
9401 (uri (string-append "mirror://gnome/sources/" name "/"
9402 (version-major+minor version) "/"
9403 name "-" version ".tar.xz"))
9404 (sha256
9405 (base32
9406 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9407 (build-system meson-build-system)
9408 (arguments
9409 '(#:glib-or-gtk? #t
9410 #:phases
9411 (modify-phases %standard-phases
9412 (add-after 'unpack 'skip-gtk-update-icon-cache
9413 ;; Don't create 'icon-theme.cache'.
9414 (lambda _
9415 (substitute* "build-aux/post-install.py"
9416 (("gtk-update-icon-cache") "true"))
9417 #t)))))
9418 (native-inputs
9419 `(("vala" ,vala)
9420 ("pkg-config" ,pkg-config)
9421 ("glib" ,glib "bin") ; for glib-compile-resources
9422 ("desktop-file-utils" ,desktop-file-utils)
9423 ("gettext" ,gettext-minimal)
9424 ("itstool" ,itstool)))
9425 (inputs
9426 `(("glib" ,glib)
9427 ("gtk+" ,gtk+)
9428 ("gsound" ,gsound)
9429 ("geoclue" ,geoclue)
9430 ("geocode-glib" ,geocode-glib)
9431 ("libgweather" ,libgweather)
9432 ("gnome-desktop" ,gnome-desktop)))
9433 (home-page "https://wiki.gnome.org/Apps/Clocks")
9434 (synopsis "GNOME's clock application")
9435 (description
9436 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9437 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9438 (license license:gpl3+)))
9439
9440 (define-public gnome-calendar
9441 (package
9442 (name "gnome-calendar")
9443 (version "3.34.2")
9444 (source (origin
9445 (method url-fetch)
9446 (uri (string-append "mirror://gnome/sources/" name "/"
9447 (version-major+minor version) "/"
9448 name "-" version ".tar.xz"))
9449 (sha256
9450 (base32
9451 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9452 (build-system meson-build-system)
9453 (arguments
9454 '(#:glib-or-gtk? #t
9455 ;; gnome-calendar has to be installed before the tests can be run
9456 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9457 #:tests? #f
9458 #:phases
9459 (modify-phases %standard-phases
9460 (add-after 'unpack 'skip-gtk-update-icon-cache
9461 ;; Don't create 'icon-theme.cache'.
9462 (lambda _
9463 (substitute* "build-aux/meson/meson_post_install.py"
9464 (("gtk-update-icon-cache") "true"))
9465 #t)))))
9466 (native-inputs
9467 `(("gettext" ,gettext-minimal)
9468 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9469 ("pkg-config" ,pkg-config)))
9470 (inputs
9471 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9472 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9473 ("libdazzle" ,libdazzle)
9474 ("libedataserverui" ,evolution-data-server)
9475 ("libgweather" ,libgweather)
9476 ("geoclue" ,geoclue)))
9477 (propagated-inputs
9478 `(("evolution-data-server" ,evolution-data-server)))
9479 (home-page "https://wiki.gnome.org/Apps/Calendar")
9480 (synopsis "GNOME's calendar application")
9481 (description
9482 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9483 desktop. It supports multiple calendars, month, week and year view.")
9484 (license license:gpl3+)))
9485
9486 (define-public gnome-todo
9487 (package
9488 (name "gnome-todo")
9489 (version "3.28.1")
9490 (source (origin
9491 (method url-fetch)
9492 (uri (string-append "mirror://gnome/sources/" name "/"
9493 (version-major+minor version) "/"
9494 name "-" version ".tar.xz"))
9495 (sha256
9496 (base32
9497 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9498 (patches
9499 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9500 (build-system meson-build-system)
9501 (arguments
9502 '(#:glib-or-gtk? #t
9503 #:phases (modify-phases %standard-phases
9504 (add-after
9505 'install 'wrap-gnome-todo
9506 (lambda* (#:key inputs outputs #:allow-other-keys)
9507 (let ((out (assoc-ref outputs "out"))
9508 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9509 (python-path (getenv "PYTHONPATH")))
9510 (wrap-program (string-append out "/bin/gnome-todo")
9511 ;; XXX: gi plugins are broken.
9512 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9513 ;; For plugins.
9514 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9515 `("PYTHONPATH" ":" prefix (,python-path))))
9516 #t)))))
9517 (native-inputs
9518 `(("gettext" ,gettext-minimal)
9519 ("gobject-introspection" ,gobject-introspection)
9520 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9521 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9522 ("pkg-config" ,pkg-config)))
9523 (inputs
9524 `(("rest" ,rest) ; For Todoist plugin
9525 ("json-glib" ,json-glib) ; For Todoist plugin
9526 ("libedataserverui" ,evolution-data-server)
9527 ("libical" ,libical)
9528 ("libpeas" ,libpeas)
9529 ("python-pygobject" ,python-pygobject)
9530 ("evolution-data-server" ,evolution-data-server)
9531 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9532 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9533 (home-page "https://wiki.gnome.org/Apps/Todo")
9534 (synopsis "GNOME's ToDo Application")
9535 (description
9536 "GNOME To Do is a simplistic personal task manager designed to perfectly
9537 fit the GNOME desktop.")
9538 (license license:gpl3+)))
9539
9540 (define-public gnome-dictionary
9541 (package
9542 (name "gnome-dictionary")
9543 (version "3.26.1")
9544 (source (origin
9545 (method url-fetch)
9546 (uri (string-append "mirror://gnome/sources/" name "/"
9547 (version-major+minor version) "/"
9548 name "-" version ".tar.xz"))
9549 (sha256
9550 (base32
9551 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9552 (build-system meson-build-system)
9553 (arguments '(#:glib-or-gtk? #t
9554 #:phases (modify-phases %standard-phases
9555 (add-after 'unpack 'patch-install-script
9556 (lambda _
9557 ;; This script attempts to compile glib schemas
9558 ;; and create an empty MIME database. We do
9559 ;; that elsewhere, so prevent it from running.
9560 (substitute* "build-aux/post-install.sh"
9561 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9562 #t)))))
9563 (native-inputs
9564 `(("glib:bin" ,glib "bin")
9565 ("gobject-introspection" ,gobject-introspection)
9566 ("intltool" ,intltool)
9567 ("itstool" ,itstool)
9568 ("pkg-config" ,pkg-config)
9569 ("xmllint" ,libxml2)))
9570 (inputs
9571 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9572 ("gtk+" ,gtk+)))
9573 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9574 (synopsis "Look up words in dictionary sources")
9575 (description
9576 "GNOME Dictionary can look for the definition or translation of a word in
9577 existing databases over the internet.")
9578 (license license:gpl3+)))
9579
9580 (define-public gnome-tweaks
9581 (package
9582 (name "gnome-tweaks")
9583 (version "3.34.1")
9584 (source (origin
9585 (method url-fetch)
9586 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9587 (version-major+minor version) "/"
9588 "gnome-tweaks-" version ".tar.xz"))
9589 (patches
9590 (list (search-patch "gnome-tweaks-search-paths.patch")))
9591 (sha256
9592 (base32
9593 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9594 (build-system meson-build-system)
9595 (arguments
9596 `(#:glib-or-gtk? #t
9597 #:configure-flags '("-Dlocalstatedir=/tmp"
9598 "-Dsysconfdir=/tmp")
9599 #:imported-modules ((guix build python-build-system)
9600 ,@%meson-build-system-modules)
9601 #:phases
9602 (modify-phases %standard-phases
9603 (add-after 'unpack 'skip-gtk-update-icon-cache
9604 ;; Don't create 'icon-theme.cache'.
9605 (lambda _
9606 (substitute* "meson-postinstall.py"
9607 (("gtk-update-icon-cache") "true"))
9608 #t))
9609 (add-after 'install 'wrap
9610 (@@ (guix build python-build-system) wrap))
9611 (add-after 'wrap 'wrap-gi-typelib
9612 (lambda* (#:key inputs outputs #:allow-other-keys)
9613 (let ((out (assoc-ref outputs "out"))
9614 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9615 (wrap-program (string-append out "/bin/gnome-tweaks")
9616 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9617 #t)))))
9618 (native-inputs
9619 `(("intltool" ,intltool)
9620 ("pkg-config" ,pkg-config)))
9621 (inputs
9622 `(("gnome-desktop" ,gnome-desktop)
9623 ("gtk+" ,gtk+)
9624 ("gobject-introspection" ,gobject-introspection)
9625 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9626 ("libhandy" ,libhandy-0.0)
9627 ("libnotify" ,libnotify)
9628 ("libsoup" ,libsoup)
9629 ("nautilus" ,nautilus)
9630 ("python" ,python)
9631 ("python-pygobject" ,python-pygobject)))
9632 (synopsis "Customize advanced GNOME 3 options")
9633 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9634 (description
9635 "GNOME Tweaks allows adjusting advanced configuration settings in
9636 GNOME 3. This includes things like the fonts used in user interface elements,
9637 alternative user interface themes, changes in window management behavior,
9638 GNOME Shell appearance and extension, etc.")
9639 (license license:gpl3+)))
9640
9641 (define-public gnome-shell-extensions
9642 (package
9643 (name "gnome-shell-extensions")
9644 (version "3.34.2")
9645 (source (origin
9646 (method url-fetch)
9647 (uri (string-append "mirror://gnome/sources/" name "/"
9648 (version-major+minor version) "/"
9649 name "-" version ".tar.xz"))
9650 (sha256
9651 (base32
9652 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9653 (build-system meson-build-system)
9654 (arguments
9655 '(#:configure-flags '("-Dextension_set=all")))
9656 (native-inputs
9657 `(("glib:bin" ,glib "bin")
9658 ("intltool" ,intltool)
9659 ("pkg-config" ,pkg-config)))
9660 (propagated-inputs
9661 `(("glib" ,glib)))
9662 (synopsis "Extensions for GNOME Shell")
9663 (description "GNOME Shell extensions modify and extend GNOME Shell
9664 functionality and behavior.")
9665 (home-page "https://extensions.gnome.org/")
9666 (license license:gpl3+)))
9667
9668 (define-public folks
9669 (package
9670 (name "folks")
9671 (version "0.13.1")
9672 (source (origin
9673 (method url-fetch)
9674 (uri (string-append
9675 "mirror://gnome/sources/folks/"
9676 (version-major+minor version) "/"
9677 "folks-" version ".tar.xz"))
9678 (sha256
9679 (base32
9680 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9681 (build-system meson-build-system)
9682 (arguments
9683 '(#:phases
9684 (modify-phases %standard-phases
9685 (add-after 'unpack 'skip-gtk-update-icon-cache
9686 ;; Don't create 'icon-theme.cache'.
9687 (lambda _
9688 (substitute* "meson_post_install.py"
9689 (("gtk-update-icon-cache") "true"))
9690 #t)))))
9691 (inputs
9692 `(("bdb" ,bdb)
9693 ("dbus-glib" ,dbus-glib)
9694 ("evolution-data-server" ,evolution-data-server)
9695 ("glib" ,glib)
9696 ("libgee" ,libgee)
9697 ("readline" ,readline)
9698 ("telepathy-glib" ,telepathy-glib)))
9699 (native-inputs
9700 `(("glib:bin" ,glib "bin")
9701 ("gobject-introspection" ,gobject-introspection)
9702 ("intltool" ,intltool)
9703 ("pkg-config" ,pkg-config)
9704 ("vala" ,vala)))
9705 (synopsis "Library to aggregate data about people")
9706 (description "Libfolks is a library that aggregates information about people
9707 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9708 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9709 etc.) to create metacontacts. It's written in Vala, which generates C code when
9710 compiled.")
9711 (home-page "https://wiki.gnome.org/Projects/Folks")
9712 (license license:lgpl2.1+)))
9713
9714 (define-public gfbgraph
9715 (package
9716 (name "gfbgraph")
9717 (version "0.2.4")
9718 (source (origin
9719 (method url-fetch)
9720 (uri (string-append
9721 "mirror://gnome/sources/gfbgraph/"
9722 (version-major+minor version) "/"
9723 "gfbgraph-" version ".tar.xz"))
9724 (sha256
9725 (base32
9726 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9727 (build-system glib-or-gtk-build-system)
9728 (arguments
9729 `(#:tests? #f ; tests appear to require the network
9730 #:configure-flags '("--disable-static"
9731 "--enable-gtk-doc"
9732 "--enable-introspection")))
9733 (native-inputs
9734 `(("gobject-introspection" ,gobject-introspection)
9735 ("gtk-doc" ,gtk-doc)
9736 ("pkg-config" ,pkg-config)
9737
9738 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9739 ("autoconf" ,autoconf)
9740 ("automake" ,automake)
9741 ("libtool" ,libtool)
9742 ("which" ,which)))
9743 (inputs
9744 `(("json-glib" ,json-glib)
9745 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9746 ("rest" ,rest)))
9747 (synopsis "GLib/GObject wrapper for the Facebook API")
9748 (description "This library allows you to use the Facebook API from
9749 GLib/GObject code.")
9750 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9751 (license license:lgpl2.1+)))
9752
9753 (define-public libgnomekbd
9754 (package
9755 (name "libgnomekbd")
9756 (version "3.26.1")
9757 (source (origin
9758 (method url-fetch)
9759 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9760 (version-major+minor version) "/"
9761 "libgnomekbd-" version ".tar.xz"))
9762 (sha256
9763 (base32
9764 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9765 (build-system gnu-build-system)
9766 (native-inputs
9767 `(("pkg-config" ,pkg-config)
9768 ("glib" ,glib "bin")
9769 ("intltool" ,intltool)))
9770 (propagated-inputs
9771 ;; Referred to in .h files and .pc.
9772 `(("glib" ,glib)
9773 ("gtk+" ,gtk+)
9774 ("libxklavier" ,libxklavier)))
9775 (home-page "https://www.gnome.org")
9776 (synopsis "GNOME keyboard configuration library")
9777 (description
9778 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9779 environment, which can notably display keyboard layouts.")
9780 (license license:lgpl2.0+)))
9781
9782 ;;; This package is no longer maintained:
9783 ;;; https://wiki.gnome.org/Attic/LibUnique
9784 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9785 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9786 (define-public libunique
9787 (package
9788 (name "libunique")
9789 (version "3.0.2")
9790 (source (origin
9791 (method url-fetch)
9792 (uri (string-append "mirror://gnome/sources/" name "/"
9793 (version-major+minor version) "/"
9794 name "-" version ".tar.xz"))
9795 (sha256
9796 (base32
9797 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9798 (build-system glib-or-gtk-build-system)
9799 (arguments
9800 `(#:configure-flags '("--disable-static"
9801 "--disable-dbus" ; use gdbus
9802 "--enable-introspection")))
9803 (native-inputs
9804 `(("pkg-config" ,pkg-config)
9805 ("gobject-introspection" ,gobject-introspection)
9806 ("glib:bin" ,glib "bin")
9807 ("gtk-doc" ,gtk-doc)))
9808 (propagated-inputs
9809 ;; Referred to in .h files and .pc.
9810 `(("gtk+" ,gtk+)))
9811 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9812 (synopsis "Library for writing single instance applications")
9813 (description
9814 "Libunique is a library for writing single instance applications. If you
9815 launch a single instance application twice, the second instance will either just
9816 quit or will send a message to the running instance. Libunique makes it easy to
9817 write this kind of application, by providing a base class, taking care of all
9818 the IPC machinery needed to send messages to a running instance, and also
9819 handling the startup notification side.")
9820 (license license:lgpl2.1+)))
9821
9822 (define-public gnome-calculator
9823 (package
9824 (name "gnome-calculator")
9825 (version "3.34.1")
9826 (source
9827 (origin
9828 (method url-fetch)
9829 (uri (string-append "mirror://gnome/sources/" name "/"
9830 (version-major+minor version) "/"
9831 name "-" version ".tar.xz"))
9832 (sha256
9833 (base32
9834 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9835 (build-system meson-build-system)
9836 (arguments '(#:glib-or-gtk? #t))
9837 (native-inputs
9838 `(("gettext" ,gettext-minimal)
9839 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9840 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9841 ("itstool" ,itstool)
9842 ("vala" ,vala)
9843 ("pkg-config" ,pkg-config)))
9844 (inputs
9845 `(("glib" ,glib)
9846 ("gtksourceview" ,gtksourceview)
9847 ("libgee" ,libgee)
9848 ("libsoup" ,libsoup)
9849 ("libxml2" ,libxml2)
9850 ("mpc" ,mpc)
9851 ("mpfr" ,mpfr)))
9852 (home-page "https://wiki.gnome.org/Apps/Calculator")
9853 (synopsis "Desktop calculator")
9854 (description
9855 "Calculator is an application that solves mathematical equations and
9856 is suitable as a default application in a Desktop environment.")
9857 (license license:gpl3)))
9858
9859 (define-public xpad
9860 (package
9861 (name "xpad")
9862 (version "5.1.0")
9863 (source
9864 (origin
9865 (method url-fetch)
9866 (uri (string-append "https://launchpad.net/xpad/trunk/"
9867 version "/+download/"
9868 name "-" version ".tar.bz2"))
9869 (sha256
9870 (base32
9871 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9872 (build-system gnu-build-system)
9873 (native-inputs
9874 `(("autoconf" ,autoconf)
9875 ("automake" ,automake)
9876 ("gtk+:bin" ,gtk+ "bin")
9877 ("intltool" ,intltool)
9878 ("pkg-config" ,pkg-config)))
9879 (inputs
9880 `(("gtksourceview" ,gtksourceview-3)
9881 ("libsm" ,libsm)))
9882 (home-page "https://wiki.gnome.org/Apps/Xpad")
9883 (synopsis "Virtual sticky note")
9884 (description
9885 "Xpad is a sticky note that strives to be simple, fault tolerant,
9886 and customizable. Xpad consists of independent pad windows, each is
9887 basically a text box in which notes can be written.")
9888 (license license:gpl3+)))
9889
9890 (define-public gucharmap
9891 (let ((unicode-files
9892 '(("Blocks.txt"
9893 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9894 ("DerivedAge.txt"
9895 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9896 ("NamesList.txt"
9897 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9898 ("Scripts.txt"
9899 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9900 ("UnicodeData.txt"
9901 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9902 ("Unihan.zip"
9903 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9904 (package
9905 (name "gucharmap")
9906 (version "12.0.1")
9907 (source
9908 (origin
9909 (method url-fetch)
9910 (uri (string-append "mirror://gnome/sources/" name "/"
9911 (version-major+minor version) "/"
9912 name "-" version ".tar.xz"))
9913 (sha256
9914 (base32
9915 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9916 (build-system glib-or-gtk-build-system)
9917 (arguments
9918 `(#:modules ((ice-9 match)
9919 (guix build glib-or-gtk-build-system)
9920 (guix build utils))
9921 #:configure-flags
9922 (list "--with-unicode-data=../unicode-data")
9923 #:phases
9924 (modify-phases %standard-phases
9925 (add-after 'unpack 'prepare-unicode-data
9926 (lambda* (#:key inputs #:allow-other-keys)
9927 (mkdir-p "../unicode-data")
9928 (with-directory-excursion "../unicode-data"
9929 (for-each (match-lambda
9930 ((file _)
9931 (install-file (assoc-ref inputs file) ".")))
9932 ',unicode-files))
9933 #t)))))
9934 (native-inputs
9935 `(("desktop-file-utils" ,desktop-file-utils)
9936 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9937 ("gobject-introspection" ,gobject-introspection)
9938 ("intltool" ,intltool)
9939 ("itstool" ,itstool)
9940 ("pkg-config" ,pkg-config)
9941 ,@(map (match-lambda
9942 ((file hash)
9943 `(,file
9944 ,(origin
9945 (method url-fetch)
9946 (uri (string-append
9947 "http://www.unicode.org/Public/12.0.0/ucd/"
9948 file))
9949 (sha256 (base32 hash))))))
9950 unicode-files)
9951 ("unzip" ,unzip)))
9952 (inputs
9953 `(("gtk+" ,gtk+)
9954 ("xmllint" ,libxml2)))
9955 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9956 (synopsis "Unicode character picker and font browser")
9957 (description
9958 "This program allows you to browse through all the available Unicode
9959 characters and categories for the installed fonts, and to examine their
9960 detailed properties. It is an easy way to find the character you might
9961 only know by its Unicode name or code point.")
9962 (license license:gpl3+))))
9963
9964 (define-public bluefish
9965 (package
9966 (name "bluefish")
9967 (version "2.2.12")
9968 (source
9969 (origin
9970 (method url-fetch)
9971 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
9972 "bluefish-" version ".tar.gz"))
9973 (sha256
9974 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
9975 (build-system gnu-build-system)
9976 (native-inputs
9977 `(("desktop-file-utils" ,desktop-file-utils)
9978 ("intltool" ,intltool)
9979 ("pkg-config" ,pkg-config)))
9980 (inputs
9981 `(("enchant" ,enchant)
9982 ("gtk+" ,gtk+)
9983 ("python" ,python-wrapper)
9984 ("xmllint" ,libxml2)
9985 ("gucharmap" ,gucharmap)))
9986 (home-page "http://bluefish.openoffice.nl")
9987 (synopsis "Web development studio")
9988 (description
9989 "Bluefish is an editor aimed at programmers and web developers,
9990 with many options to write web sites, scripts and other code.
9991 Bluefish supports many programming and markup languages.")
9992 (license license:gpl3+)))
9993
9994 (define-public gnome-system-monitor
9995 (package
9996 (name "gnome-system-monitor")
9997 (version "3.32.1")
9998 (source
9999 (origin
10000 (method url-fetch)
10001 (uri (string-append "mirror://gnome/sources/" name "/"
10002 (version-major+minor version) "/"
10003 name "-" version ".tar.xz"))
10004 (sha256
10005 (base32
10006 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10007 (build-system meson-build-system)
10008 (arguments
10009 '(#:glib-or-gtk? #t
10010 #:configure-flags '("-Dsystemd=false")))
10011 (native-inputs
10012 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10013 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10014 ("intltool" ,intltool)
10015 ("itstool" ,itstool)
10016 ("libgtop" ,libgtop)
10017 ("polkit" ,polkit)
10018 ("pkg-config" ,pkg-config)))
10019 (inputs
10020 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10021 ("gtk+" ,gtk+)
10022 ("gtkmm" ,gtkmm)
10023 ("librsvg" ,librsvg)
10024 ("libxml2" ,libxml2)
10025 ("libwnck" ,libwnck)))
10026 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10027 (synopsis "Process viewer and system resource monitor for GNOME")
10028 (description
10029 "GNOME System Monitor is a GNOME process viewer and system monitor with
10030 an attractive, easy-to-use interface. It has features, such as a tree view
10031 for process dependencies, icons for processes, the ability to hide processes,
10032 graphical time histories of CPU/memory/swap usage and the ability to
10033 kill/reinice processes.")
10034 (license license:gpl2+)))
10035
10036 (define-public python-pyatspi
10037 (package
10038 (name "python-pyatspi")
10039 (version "2.34.0")
10040 (source (origin
10041 (method url-fetch)
10042 (uri (string-append
10043 "mirror://gnome/sources/pyatspi/"
10044 (version-major+minor version)
10045 "/pyatspi-" version ".tar.xz"))
10046 (sha256
10047 (base32
10048 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10049 (build-system gnu-build-system)
10050 (arguments
10051 `(#:phases
10052 (modify-phases %standard-phases
10053 (add-before 'build 'fix-atk-load
10054 (lambda _
10055 (substitute* "pyatspi/__init__.py"
10056 (("from gi.repository import Atspi")
10057 "gi.require_version('Gtk', '3.0')
10058 from gi.repository import Gtk
10059 from gi.repository import Atspi"))
10060 #t)))))
10061 (native-inputs
10062 `(("pkg-config" ,pkg-config)))
10063 (inputs
10064 `(("python" ,python)))
10065 (propagated-inputs
10066 `(("python-pygobject" ,python-pygobject)))
10067 (synopsis "Python client bindings for D-Bus AT-SPI")
10068 (home-page "https://wiki.linuxfoundation.org/accessibility\
10069 /atk/at-spi/at-spi_on_d-bus")
10070 (description
10071 "This package includes a python client library for the AT-SPI D-Bus
10072 accessibility infrastructure.")
10073 (license license:lgpl2.0)
10074 (properties '((upstream-name . "pyatspi")))))
10075
10076 (define-public python2-pyatspi
10077 (package
10078 (inherit python-pyatspi)
10079 (name "python2-pyatspi")
10080 (inputs
10081 `(("python" ,python-2)))
10082 (propagated-inputs
10083 `(("python-pygobject" ,python2-pygobject)))))
10084
10085 (define-public orca
10086 (package
10087 (name "orca")
10088 (version "3.34.1")
10089 (source (origin
10090 (method url-fetch)
10091 (uri (string-append
10092 "mirror://gnome/sources/" name "/"
10093 (version-major+minor version) "/"
10094 name "-" version ".tar.xz"))
10095 (sha256
10096 (base32
10097 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10098 (build-system glib-or-gtk-build-system)
10099 (arguments
10100 '(#:phases
10101 (modify-phases %standard-phases
10102 (add-before 'configure 'qualify-xkbcomp
10103 (lambda* (#:key inputs #:allow-other-keys)
10104 (let ((xkbcomp (string-append
10105 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10106 (substitute* "src/orca/orca.py"
10107 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10108 #t))
10109 (add-after 'install 'wrap-orca
10110 (lambda* (#:key outputs #:allow-other-keys)
10111 (let* ((out (assoc-ref outputs "out"))
10112 (prog (string-append out "/bin/orca")))
10113 (wrap-program prog
10114 `("GI_TYPELIB_PATH" ":" prefix
10115 (,(getenv "GI_TYPELIB_PATH")))
10116 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10117 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10118 `("PYTHONPATH" ":" prefix
10119 (,(getenv "PYTHONPATH")))))
10120 #t)))))
10121 (native-inputs
10122 `(("intltool" ,intltool)
10123 ("itstool" ,itstool)
10124 ("pkg-config" ,pkg-config)
10125 ("xmllint" ,libxml2)))
10126 (inputs
10127 `(("at-spi2-atk" ,at-spi2-atk)
10128 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10129 ("gstreamer" ,gstreamer)
10130 ("gst-plugins-base" ,gst-plugins-base)
10131 ("gst-plugins-good" ,gst-plugins-good)
10132 ("gtk+" ,gtk+)
10133 ("python" ,python)
10134 ("python-pygobject" ,python-pygobject)
10135 ("python-pyatspi" ,python-pyatspi)
10136 ("python-speechd" ,speech-dispatcher)
10137 ("xkbcomp" ,xkbcomp)))
10138 (synopsis
10139 "Screen reader for individuals who are blind or visually impaired")
10140 (home-page "https://wiki.gnome.org/Projects/Orca")
10141 (description
10142 "Orca is a screen reader that provides access to the graphical desktop
10143 via speech and refreshable braille. Orca works with applications and toolkits
10144 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10145 (license license:lgpl2.1+)))
10146
10147 (define-public gspell
10148 (package
10149 (name "gspell")
10150 (version "1.8.2")
10151 (source (origin
10152 (method url-fetch)
10153 (uri (string-append "mirror://gnome/sources/" name "/"
10154 (version-major+minor version) "/"
10155 name "-" version ".tar.xz"))
10156 (sha256
10157 (base32
10158 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10159 (patches (search-patches "gspell-dash-test.patch"))))
10160 (build-system glib-or-gtk-build-system)
10161 (arguments
10162 '(#:configure-flags (list "--enable-vala")
10163 #:phases
10164 (modify-phases %standard-phases
10165 (add-before 'check 'pre-check
10166 (lambda* (#:key inputs #:allow-other-keys)
10167 ;; Tests require a running X server.
10168 (system "Xvfb :1 &")
10169 (setenv "DISPLAY" ":1")
10170
10171 ;; For the missing /etc/machine-id.
10172 (setenv "DBUS_FATAL_WARNINGS" "0")
10173
10174 ;; Allow Enchant and its Aspell backend to find the en_US
10175 ;; dictionary.
10176 (setenv "ASPELL_DICT_DIR"
10177 (string-append (assoc-ref inputs "aspell-dict-en")
10178 "/lib/aspell"))
10179 #t)))))
10180 (inputs
10181 `(("gtk+" ,gtk+)
10182 ("glib" ,glib)
10183 ("iso-codes" ,iso-codes)))
10184 (native-inputs
10185 `(("glib" ,glib "bin")
10186 ("gobject-introspection" ,gobject-introspection)
10187 ("pkg-config" ,pkg-config)
10188 ("vala" ,vala) ;for VAPI, needed by Geary
10189 ("xmllint" ,libxml2)
10190
10191 ;; For tests.
10192 ("aspell-dict-en" ,aspell-dict-en)
10193 ("xorg-server" ,xorg-server-for-tests)))
10194 (propagated-inputs
10195 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10196 (home-page "https://wiki.gnome.org/Projects/gspell")
10197 (synopsis "GNOME's alternative spell checker")
10198 (description
10199 "gspell provides a flexible API to add spell-checking to a GTK+
10200 application. It provides a GObject API, spell-checking to text entries and
10201 text views, and buttons to choose the language.")
10202 (license license:gpl2+)))
10203
10204 (define-public gnome-planner
10205 (package
10206 (name "gnome-planner")
10207 (version "0.14.6")
10208 (source (origin
10209 (method url-fetch)
10210 (uri (string-append "mirror://gnome/sources/planner/"
10211 (version-major+minor version) "/planner-"
10212 version ".tar.xz"))
10213 (sha256
10214 (base32
10215 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10216 (build-system glib-or-gtk-build-system)
10217 (arguments
10218 ;; Disable the Python bindings because the Planner program functions
10219 ;; without them, and (as of 2017-06-13) we have not packaged all of
10220 ;; packages that are necessary for building the Python bindings.
10221 `(#:configure-flags
10222 (list "--disable-python"
10223 ,@(if (string=? "aarch64-linux" (%current-system))
10224 '("--build=aarch64-unknown-linux-gnu")
10225 '()))))
10226 (inputs
10227 `(("libgnomecanvas" ,libgnomecanvas)
10228 ("libgnomeui" ,libgnomeui)
10229 ("libglade" ,libglade)
10230 ("gnome-vfs" ,gnome-vfs)
10231 ("gconf" ,gconf)
10232 ("libxml2" ,libxml2)
10233 ("libxslt" ,libxslt)
10234 ("gtk+" ,gtk+)
10235 ("glib" ,glib)))
10236 (native-inputs
10237 `(("intltool" ,intltool)
10238 ("scrollkeeper" ,scrollkeeper)
10239 ("pkg-config" ,pkg-config)))
10240 (home-page "https://wiki.gnome.org/Apps/Planner")
10241 (synopsis "Project management software for the GNOME desktop")
10242 (description
10243 "GNOME Planner is a project management tool based on the Work Breakdown
10244 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10245 the resources, tasks, and constraints that you define, Planner generates
10246 various views into a project. For example, Planner can show a Gantt chart of
10247 the project. It can show a detailed summary of tasks including their
10248 duration, cost, and current progress. It can also show a report of resource
10249 utilization that highlights under-utilized and over-utilized resources. These
10250 views can be printed as PDF or PostScript files, or exported to HTML.")
10251 (license license:gpl2+)))
10252
10253 (define-public lollypop
10254 (package
10255 (name "lollypop")
10256 (version "1.4.6")
10257 (source
10258 (origin
10259 (method url-fetch)
10260 (uri (string-append "https://adishatz.org/lollypop/"
10261 "lollypop-" version ".tar.xz"))
10262 (sha256
10263 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10264 (build-system meson-build-system)
10265 (arguments
10266 `(#:imported-modules
10267 (,@%meson-build-system-modules
10268 (guix build python-build-system))
10269 #:modules
10270 ((guix build meson-build-system)
10271 ((guix build python-build-system) #:prefix python:)
10272 (guix build utils))
10273 #:glib-or-gtk? #t
10274 #:tests? #f ; no test suite
10275 #:phases
10276 (modify-phases %standard-phases
10277 (add-after 'install 'wrap-program
10278 (lambda* (#:key outputs #:allow-other-keys)
10279 (let ((out (assoc-ref outputs "out"))
10280 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10281 (wrap-program (string-append out "/bin/lollypop")
10282 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10283 #t))
10284 (add-after 'install 'wrap-python
10285 (assoc-ref python:%standard-phases 'wrap)))))
10286 (native-inputs
10287 `(("intltool" ,intltool)
10288 ("itstool" ,itstool)
10289 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10290 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10291 ("pkg-config" ,pkg-config)))
10292 (inputs
10293 `(("glib-networking" ,glib-networking)
10294 ("gobject-introspection" ,gobject-introspection)
10295 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10296 ("gst-plugins-base" ,gst-plugins-base)
10297 ("libnotify" ,libnotify)
10298 ("libsecret" ,libsecret)
10299 ("libhandy" ,libhandy)
10300 ("libsoup" ,libsoup)
10301 ("python" ,python)
10302 ("python-beautifulsoup4" ,python-beautifulsoup4)
10303 ("python-gst" ,python-gst)
10304 ("python-pil" ,python-pillow)
10305 ("python-pycairo" ,python-pycairo)
10306 ("python-pygobject" ,python-pygobject)
10307 ("python-pylast" ,python-pylast)
10308 ("totem-pl-parser" ,totem-pl-parser)
10309 ("webkitgtk" ,webkitgtk)))
10310 (propagated-inputs
10311 `(;; gst-plugins-base is required to start Lollypop,
10312 ;; the others are required to play streaming.
10313 ("gst-plugins-good" ,gst-plugins-good)
10314 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10315 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10316 (synopsis "GNOME music playing application")
10317 (description
10318 "Lollypop is a music player designed to play well with GNOME desktop.
10319 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10320 from artists and tracks from the web. It also fetches cover artworks
10321 automatically and it can stream songs from online music services and charts.")
10322 (license license:gpl3+)))
10323
10324 (define-public gnome-video-effects
10325 (package
10326 (name "gnome-video-effects")
10327 (version "0.5.0")
10328 (source (origin
10329 (method url-fetch)
10330 (uri (string-append "mirror://gnome/sources/" name "/"
10331 (version-major+minor version) "/" name "-"
10332 version ".tar.xz"))
10333 (sha256
10334 (base32
10335 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10336 (build-system meson-build-system)
10337 (native-inputs
10338 `(("gettext" ,gettext-minimal)
10339 ("pkg-config" ,pkg-config)))
10340 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10341 (synopsis "Video effects for Cheese and other GNOME applications")
10342 (description
10343 "A collection of GStreamer video filters and effects to be used in
10344 photo-booth-like software, such as Cheese.")
10345 (license license:gpl2+)))
10346
10347 (define-public cheese
10348 (package
10349 (name "cheese")
10350 (version "3.38.0")
10351 (source (origin
10352 (method url-fetch)
10353 (uri (string-append "mirror://gnome/sources/" name "/"
10354 (version-major+minor version) "/" name "-"
10355 version ".tar.xz"))
10356 (sha256
10357 (base32
10358 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10359 (arguments
10360 `(#:glib-or-gtk? #t
10361 ;; Tests require GDK.
10362 #:tests? #f
10363 #:phases
10364 (modify-phases %standard-phases
10365 (add-after 'unpack 'skip-gtk-update-icon-cache
10366 (lambda _
10367 ;; Don't create 'icon-theme.cache'
10368 (substitute* "meson_post_install.py"
10369 (("gtk-update-icon-cache") (which "true")))
10370 #t))
10371 (add-after 'unpack 'patch-docbook-xml
10372 (lambda* (#:key inputs #:allow-other-keys)
10373 ;; Avoid a network connection attempt during the build.
10374 (substitute* '("docs/reference/cheese.xml"
10375 "docs/reference/cheese-docs.xml")
10376 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10377 (string-append (assoc-ref inputs "docbook-xml")
10378 "/xml/dtd/docbook/docbookx.dtd")))
10379 #t))
10380 (add-after 'install 'wrap-cheese
10381 (lambda* (#:key inputs outputs #:allow-other-keys)
10382 (let ((out (assoc-ref outputs "out"))
10383 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10384 (wrap-program (string-append out "/bin/cheese")
10385 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10386 #t)))))
10387 (build-system meson-build-system)
10388 (native-inputs
10389 `(("docbook-xsl" ,docbook-xsl)
10390 ("docbook-xml" ,docbook-xml-4.3)
10391 ("gettext" ,gettext-minimal)
10392 ("glib:bin" ,glib "bin")
10393 ("gtk-doc" ,gtk-doc)
10394 ("itstool" ,itstool)
10395 ("libxml2" ,libxml2)
10396 ("libxslt" ,libxslt)
10397 ("pkg-config" ,pkg-config)
10398 ("vala" ,vala)))
10399 (propagated-inputs
10400 `(("gnome-video-effects" ,gnome-video-effects)
10401 ("clutter" ,clutter)
10402 ("clutter-gst" ,clutter-gst)
10403 ("clutter-gtk" ,clutter-gtk)
10404 ("libcanberra" ,libcanberra)
10405 ("gdk-pixbuf" ,gdk-pixbuf)
10406 ("glib" ,glib)
10407 ("gstreamer" ,gstreamer)))
10408 (inputs
10409 `(("gnome-desktop" ,gnome-desktop)
10410 ("gobject-introspection" ,gobject-introspection)
10411 ("gst-plugins-base" ,gst-plugins-base)
10412 ("gst-plugins-good" ,gst-plugins-good)
10413 ("gst-plugins-bad" ,gst-plugins-bad)
10414 ("gtk+" ,gtk+)
10415 ("libx11" ,libx11)
10416 ("libxtst" ,libxtst)))
10417 (home-page "https://wiki.gnome.org/Apps/Cheese")
10418 (synopsis "Webcam photo booth software for GNOME")
10419 (description
10420 "Cheese uses your webcam to take photos and videos. Cheese can also
10421 apply fancy special effects and lets you share the fun with others.")
10422 (license license:gpl2+)))
10423
10424 (define-public passwordsafe
10425 (package
10426 (name "passwordsafe")
10427 (version "3.99.2")
10428 (source
10429 (origin
10430 (method git-fetch)
10431 (uri (git-reference
10432 (url "https://gitlab.gnome.org/World/PasswordSafe")
10433 (commit version)))
10434 (file-name (git-file-name name version))
10435 (sha256
10436 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10437 (build-system meson-build-system)
10438 (arguments
10439 `(#:glib-or-gtk? #t
10440 #:phases
10441 (modify-phases %standard-phases
10442 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10443 (lambda* (#:key outputs #:allow-other-keys)
10444 (let ((prog (string-append (assoc-ref outputs "out")
10445 "/bin/gnome-passwordsafe"))
10446 (pylib (string-append (assoc-ref outputs "out")
10447 "/lib/python"
10448 ,(version-major+minor
10449 (package-version python))
10450 "/site-packages")))
10451 (wrap-program prog
10452 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10453 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10454 #t))))))
10455 (native-inputs
10456 `(("desktop-file-utils" ,desktop-file-utils)
10457 ("gettext" ,gettext-minimal)
10458 ("glib:bin" ,glib "bin")
10459 ("gobject-introspection" ,gobject-introspection)
10460 ("gtk+:bin" ,gtk+ "bin")
10461 ("pkg-config" ,pkg-config)))
10462 (inputs
10463 `(("glib" ,glib)
10464 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10465 ("gtk+" ,gtk+)
10466 ("libhandy" ,libhandy-0.0)
10467 ("libpwquality" ,libpwquality)
10468 ("python-pygobject" ,python-pygobject)
10469 ("python-pykeepass" ,python-pykeepass)))
10470 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10471 (synopsis "Password manager for the GNOME desktop")
10472 (description
10473 "Password Safe is a password manager which makes use of the KeePass v4
10474 format. It integrates perfectly with the GNOME desktop and provides an easy
10475 and uncluttered interface for the management of password databases.")
10476 (license license:gpl3+)))
10477
10478 (define-public sound-juicer
10479 (package
10480 (name "sound-juicer")
10481 (version "3.24.0")
10482 (source
10483 (origin
10484 (method url-fetch)
10485 (uri (string-append "mirror://gnome/sources/" name "/"
10486 (version-major+minor version) "/"
10487 name "-" version ".tar.xz"))
10488 (sha256
10489 (base32
10490 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10491 (build-system glib-or-gtk-build-system)
10492 (native-inputs
10493 `(("desktop-file-utils" ,desktop-file-utils)
10494 ("intltool" ,intltool)
10495 ("itstool" ,itstool)
10496 ("pkg-config" ,pkg-config)
10497 ("xmllint" ,libxml2)))
10498 (inputs
10499 `(("gtk+" ,gtk+)
10500 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10501 ("gstreamer" ,gstreamer)
10502 ("gst-plugins-base" ,gst-plugins-base)
10503 ("gst-plugins-good" ,gst-plugins-good)
10504 ("iso-codes" ,iso-codes)
10505 ("libbrasero-media3" ,brasero)
10506 ("libcanberra" ,libcanberra)
10507 ("libdiscid" ,libdiscid)
10508 ("libmusicbrainz" ,libmusicbrainz)
10509 ("neon" ,neon)))
10510 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10511 (synopsis "Audio music cd ripper")
10512 (description "Sound Juicer extracts audio from compact discs and convert it
10513 into audio files that a personal computer or digital audio player can play.
10514 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10515 mp3, Ogg Vorbis and FLAC")
10516 (license license:gpl2+)))
10517
10518 (define-public soundconverter
10519 (package
10520 (name "soundconverter")
10521 (version "3.0.2")
10522 (source
10523 (origin
10524 (method url-fetch)
10525 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10526 version "/+download/"
10527 "soundconverter-" version ".tar.xz"))
10528
10529 (sha256
10530 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10531 (build-system glib-or-gtk-build-system)
10532 (arguments
10533 `(#:imported-modules ((guix build python-build-system)
10534 (guix build glib-or-gtk-build-system)
10535 ,@%gnu-build-system-modules)
10536
10537 #:modules ((guix build glib-or-gtk-build-system)
10538 (guix build utils)
10539 ((guix build gnu-build-system) #:prefix gnu:)
10540 ((guix build python-build-system) #:prefix python:))
10541
10542 #:phases
10543 (modify-phases %standard-phases
10544 (add-after 'install 'wrap-soundconverter-for-python
10545 (assoc-ref python:%standard-phases 'wrap))
10546 (add-after 'install 'wrap-soundconverter
10547 (lambda* (#:key inputs outputs #:allow-other-keys)
10548 (let ((out (assoc-ref outputs "out"))
10549 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10550 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10551 (wrap-program (string-append out "/bin/soundconverter")
10552 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10553 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10554 #t)))))
10555 (native-inputs
10556 `(("intltool" ,intltool)
10557 ("pkg-config" ,pkg-config)
10558 ("glib:bin" ,glib "bin")))
10559 (inputs
10560 `(("gtk+" ,gtk+)
10561 ("python" ,python)
10562 ("python-pygobject" ,python-pygobject)
10563 ("gstreamer" ,gstreamer)
10564 ("gst-plugins-base" ,gst-plugins-base)))
10565 (home-page "https://soundconverter.org/")
10566 (synopsis "Convert between audio formats with a graphical interface")
10567 (description
10568 "SoundConverter supports converting between many audio formats including
10569 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10570 configurable file renaming. ")
10571 (license license:gpl3)))
10572
10573 (define-public workrave
10574 (package
10575 (name "workrave")
10576 (version "1.10.42")
10577 (source
10578 (origin
10579 (method git-fetch)
10580 (uri (git-reference
10581 (url "https://github.com/rcaelers/workrave")
10582 (commit (string-append "v" (string-map
10583 (match-lambda (#\. #\_) (chr chr))
10584 version)))))
10585 (file-name (git-file-name name version))
10586 (sha256
10587 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10588 (build-system glib-or-gtk-build-system)
10589 (arguments
10590 ;; The only tests are maintainer tests (in po/), which fail.
10591 `(#:tests? #f))
10592 (inputs `(("glib" ,glib)
10593 ("gtk+" ,gtk+)
10594 ("gdk-pixbuf" ,gdk-pixbuf)
10595 ("gtkmm" ,gtkmm)
10596 ("glibmm" ,glibmm)
10597 ("libx11" ,libx11)
10598 ("libxtst" ,libxtst)
10599 ("dconf" ,dconf)
10600 ("libice" ,libice)
10601 ("libsm" ,libsm)
10602 ("libxscrnsaver" ,libxscrnsaver)))
10603 (native-inputs `(("boost" ,boost)
10604 ("pkg-config" ,pkg-config)
10605 ("gettext" ,gettext-minimal)
10606 ("autoconf" ,autoconf)
10607 ("autoconf-archive" , autoconf-archive)
10608 ("automake" ,automake)
10609 ("libtool" ,libtool)
10610 ("intltool" ,intltool)
10611 ("gobject-introspection" ,gobject-introspection)
10612 ("python3" ,python-3)
10613 ("python-jinja2" ,python-jinja2)))
10614 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10615 (description
10616 "Workrave is a program that assists in the recovery and prevention of
10617 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10618 micro-pauses and rest breaks, and restricts you to your daily limit.")
10619 (home-page "http://www.workrave.org")
10620 (license license:gpl3+)))
10621
10622 (define-public ghex
10623 (package
10624 (name "ghex")
10625 (version "3.18.4")
10626 (source (origin
10627 (method url-fetch)
10628 (uri (string-append "mirror://gnome/sources/ghex/"
10629 (version-major+minor version) "/"
10630 "ghex-" version ".tar.xz"))
10631 (sha256
10632 (base32
10633 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10634 (build-system meson-build-system)
10635 (arguments
10636 '(#:glib-or-gtk? #t
10637 #:phases
10638 (modify-phases %standard-phases
10639 (add-after 'unpack 'skip-gtk-update-icon-cache
10640 ;; Don't create 'icon-theme.cache'.
10641 (lambda _
10642 (substitute* "meson_post_install.py"
10643 (("gtk-update-icon-cache") (which "true")))
10644 #t)))))
10645 (native-inputs
10646 `(("pkg-config" ,pkg-config)
10647 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10648 ("gnome-common" ,gnome-common)
10649 ("which" ,which)
10650 ("intltool" ,intltool)
10651 ("yelp-tools" ,yelp-tools)
10652 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10653 (inputs
10654 `(("atk" ,atk)
10655 ("gtk" ,gtk+)))
10656 (synopsis "GNOME hexadecimal editor")
10657 (description "The GHex program can view and edit files in two ways:
10658 hexadecimal or ASCII. It is useful for editing binary files in general.")
10659 (home-page "https://wiki.gnome.org/Apps/Ghex")
10660 (license license:gpl2)))
10661
10662 (define-public libdazzle
10663 (package
10664 (name "libdazzle")
10665 (version "3.37.1")
10666 (source (origin
10667 (method url-fetch)
10668 (uri (string-append "mirror://gnome/sources/libdazzle/"
10669 (version-major+minor version) "/"
10670 "libdazzle-" version ".tar.xz"))
10671 (sha256
10672 (base32
10673 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10674 (build-system meson-build-system)
10675 (arguments
10676 `(#:phases
10677 (modify-phases %standard-phases
10678 (add-before 'check 'pre-check
10679 (lambda _
10680 ;; Tests require a running X server.
10681 (system "Xvfb :1 &")
10682 (setenv "DISPLAY" ":1")
10683 #t)))))
10684 (native-inputs
10685 `(("glib" ,glib "bin") ; glib-compile-resources
10686 ("pkg-config" ,pkg-config)
10687 ;; For tests.
10688 ("xorg-server" ,xorg-server-for-tests)))
10689 (inputs
10690 `(("glib" ,glib)
10691 ("gobject-introspection" ,gobject-introspection)
10692 ("gtk+" ,gtk+)
10693 ("vala" ,vala)))
10694 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10695 (synopsis "Companion library to GObject and Gtk+")
10696 (description "The libdazzle library is a companion library to GObject and
10697 Gtk+. It provides various features that the authors wish were in the
10698 underlying library but cannot for various reasons. In most cases, they are
10699 wildly out of scope for those libraries. In other cases, they are not quite
10700 generic enough to work for everyone.")
10701 (license license:gpl3+)))
10702
10703 (define-public evolution
10704 (package
10705 (name "evolution")
10706 (version "3.34.2")
10707 (source (origin
10708 (method url-fetch)
10709 (uri (string-append "mirror://gnome/sources/evolution/"
10710 (version-major+minor version) "/"
10711 "evolution-" version ".tar.xz"))
10712 (sha256
10713 (base32
10714 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10715 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10716 (build-system cmake-build-system)
10717 (arguments
10718 `(#:imported-modules (,@%cmake-build-system-modules
10719 (guix build glib-or-gtk-build-system))
10720 #:modules ((guix build cmake-build-system)
10721 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10722 (guix build utils))
10723 #:configure-flags
10724 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10725 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10726 ; in four years and cannot be built.
10727 #:phases
10728 (modify-phases %standard-phases
10729 ;; The build system attempts to install user interface modules to the
10730 ;; output directory of the "evolution-data-server" package. This
10731 ;; change redirects that change.
10732 (add-after 'unpack 'patch-ui-module-dir
10733 (lambda* (#:key outputs #:allow-other-keys)
10734 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10735 (("\\$\\{edsuimoduledir\\}")
10736 (string-append (assoc-ref outputs "out")
10737 "/lib/evolution-data-server/ui-modules")))
10738 #t))
10739 (add-after 'install 'glib-or-gtk-compile-schemas
10740 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10741 (add-after 'install 'glib-or-gtk-wrap
10742 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10743 (native-inputs
10744 `(("glib" ,glib "bin") ; glib-mkenums
10745 ("pkg-config" ,pkg-config)
10746 ("intltool" ,intltool)
10747 ("itstool" ,itstool)))
10748 (inputs
10749 `(("enchant" ,enchant)
10750 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10751 ("gcr" ,gcr)
10752 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10753 ("gnome-autoar" ,gnome-autoar)
10754 ("gnome-desktop" ,gnome-desktop)
10755 ("gspell" ,gspell)
10756 ("highlight" ,highlight)
10757 ("libcanberra" ,libcanberra)
10758 ("libgweather" ,libgweather)
10759 ("libnotify" ,libnotify)
10760 ("libsoup" ,libsoup)
10761 ("nss" ,nss)
10762 ("openldap" ,openldap)
10763 ("webkitgtk" ,webkitgtk)
10764 ("ytnef" ,ytnef)))
10765 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10766 (synopsis "Manage your email, contacts and schedule")
10767 (description "Evolution is a personal information management application
10768 that provides integrated mail, calendaring and address book
10769 functionality.")
10770 ;; See COPYING for details.
10771 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10772 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10773 license:lgpl2.1+)))) ; smime/lib/*
10774
10775 (define-public gthumb
10776 (package
10777 (name "gthumb")
10778 (version "3.8.2")
10779 (source (origin
10780 (method url-fetch)
10781 (uri (string-append "mirror://gnome/sources/gthumb/"
10782 (version-major+minor version) "/"
10783 "gthumb-" version ".tar.xz"))
10784 (sha256
10785 (base32
10786 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10787 (build-system meson-build-system)
10788 (arguments
10789 `(#:glib-or-gtk? #t
10790 #:configure-flags
10791 ;; Ensure the RUNPATH contains all installed library locations.
10792 (list (string-append "-Dc_link_args=-Wl,-rpath="
10793 (assoc-ref %outputs "out")
10794 "/lib/gthumb/extensions")
10795 (string-append "-Dcpp_link_args=-Wl,-rpath="
10796 (assoc-ref %outputs "out")
10797 "/lib/gthumb/extensions"))))
10798 (native-inputs
10799 `(("pkg-config" ,pkg-config)
10800 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10801 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10802 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10803 ("intltool" ,intltool)
10804 ("itstool" ,itstool)))
10805 (inputs
10806 `(("exiv2" ,exiv2)
10807 ("gtk" ,gtk+)
10808 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10809 ("gstreamer" ,gstreamer)
10810 ("clutter" ,clutter)
10811 ("clutter-gst" ,clutter-gst)
10812 ("clutter-gtk" ,clutter-gtk)
10813 ("libjpeg" ,libjpeg-turbo)
10814 ("libtiff" ,libtiff)
10815 ("libraw" ,libraw)))
10816 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10817 (synopsis "GNOME image viewer and browser")
10818 (description "GThumb is an image viewer, browser, organizer, editor and
10819 advanced image management tool")
10820 (license license:gpl2+)))
10821
10822 (define-public terminator
10823 (package
10824 (name "terminator")
10825 (version "1.92")
10826 (source (origin
10827 (method url-fetch)
10828 (uri (string-append "https://github.com/gnome-" name "/" name "/"
10829 "releases/download/v" version "/"
10830 name "-" version ".tar.gz"))
10831 (sha256
10832 (base32
10833 "1wbkfp0nk6x9bcwi681zy30qmrp4h754sdz6b7hi9j22mmvdd50z"))))
10834 (build-system python-build-system)
10835 (native-inputs
10836 `(("gettext" ,gettext-minimal)
10837 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10838 ("gobject-introspection" ,gobject-introspection)
10839 ("intltool" ,intltool)
10840 ("pkg-config" ,pkg-config)
10841 ("python-psutil" ,python-psutil)
10842 ("python-pytest-runner" ,python-pytest-runner)
10843 ("python-pytest" ,python-pytest)))
10844 (inputs
10845 `(("cairo" ,cairo)
10846 ("dbus-glib" ,dbus-glib)
10847 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10848 ("gtk+" ,gtk+)
10849 ("python-pycairo" ,python-pycairo)
10850 ("python-pygobject" ,python-pygobject)
10851 ("vte" ,vte)))
10852 (propagated-inputs
10853 `(("python-configobj" ,python-configobj)))
10854 (arguments
10855 `(#:imported-modules ((guix build glib-or-gtk-build-system)
10856 ,@%python-build-system-modules)
10857 #:modules ((guix build python-build-system)
10858 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10859 (guix build utils))
10860 #:phases
10861 (modify-phases %standard-phases
10862 (add-after
10863 'install 'wrap-program
10864 (lambda* (#:key outputs #:allow-other-keys)
10865 (let ((prog (string-append (assoc-ref outputs "out")
10866 "/bin/terminator"))
10867 (pylib (string-append (assoc-ref outputs "out")
10868 "/lib/python"
10869 ,(version-major+minor
10870 (package-version python))
10871 "/site-packages")))
10872 (wrap-program prog
10873 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10874 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10875 #t)))
10876 (add-after 'wrap-program 'glib-or-gtk-wrap
10877 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10878 (home-page "https://gnome-terminator.org/")
10879 (synopsis "Store and run multiple GNOME terminals in one window")
10880 (description
10881 "Terminator allows you to run multiple GNOME terminals in a grid and
10882 tabs, and it supports drag and drop re-ordering of terminals.")
10883 (license license:gpl2)))
10884
10885 (define-public libhandy
10886 (package
10887 (name "libhandy")
10888 (version "1.0.3")
10889 (source
10890 (origin
10891 (method git-fetch)
10892 (uri (git-reference
10893 (url "https://gitlab.gnome.org/GNOME/libhandy")
10894 (commit version)))
10895 (file-name (git-file-name name version))
10896 (sha256
10897 (base32 "0flgwlm921801i3ns0dwqpnxl89f3rzn4y9h723i13bmflch3in7"))))
10898 (build-system meson-build-system)
10899 (arguments
10900 `(#:configure-flags
10901 '("-Dglade_catalog=enabled"
10902 "-Dgtk_doc=true")
10903 #:phases
10904 (modify-phases %standard-phases
10905 (add-before 'check 'pre-check
10906 (lambda _
10907 ;; Tests require a running X server.
10908 (system "Xvfb :1 &")
10909 (setenv "DISPLAY" ":1")
10910 #t)))))
10911 (inputs
10912 `(("gtk+" ,gtk+)
10913 ("glade" ,glade3)
10914 ("libxml2" ,libxml2)))
10915 (native-inputs
10916 `(("glib:bin" ,glib "bin")
10917 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10918 ("vala" ,vala)
10919 ("gtk-doc" ,gtk-doc)
10920 ("pkg-config" ,pkg-config)
10921 ("gettext" ,gettext-minimal)
10922
10923 ;; Test suite dependencies.
10924 ("xorg-server" ,xorg-server-for-tests)
10925 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10926 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
10927 (synopsis "Library full of GTK+ widgets for mobile phones")
10928 (description "The aim of the handy library is to help with developing user
10929 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10930 for usage on small and big screens.")
10931 (license license:lgpl2.1+)))
10932
10933 (define-public libhandy-0.0
10934 (package
10935 (inherit libhandy)
10936 (version "0.0.13")
10937 (source
10938 (origin
10939 (method git-fetch)
10940 (uri (git-reference
10941 (url "https://gitlab.gnome.org/GNOME/libhandy")
10942 (commit (string-append "v" version))))
10943 (file-name (git-file-name "libhandy" version))
10944 (sha256
10945 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
10946 (arguments
10947 (substitute-keyword-arguments (package-arguments libhandy)
10948 ((#:configure-flags flags)
10949 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
10950
10951 (define-public libgit2-glib
10952 (package
10953 (name "libgit2-glib")
10954 (version "0.99.0.1")
10955 (source (origin
10956 (method url-fetch)
10957 (uri (string-append "mirror://gnome/sources/" name "/"
10958 (version-major+minor version) "/"
10959 name "-" version ".tar.xz"))
10960 (sha256
10961 (base32
10962 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10963 (build-system meson-build-system)
10964 (native-inputs
10965 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10966 ("gobject-introspection" ,gobject-introspection)
10967 ("pkg-config" ,pkg-config)
10968 ("python-pygobject" ,python-pygobject)
10969 ("python-wrapper" ,python-wrapper)
10970 ("vala" ,vala)))
10971 (inputs
10972 `(("glib" ,glib)
10973 ("libssh2" ,libssh2)))
10974 (propagated-inputs
10975 `(;; In Requires of libgit2-glib.pc.
10976 ("libgit2" ,libgit2)))
10977 (synopsis "GLib wrapper around the libgit2 Git access library")
10978 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10979 access library. It only implements the core plumbing functions, not really the
10980 higher level porcelain stuff.")
10981 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10982 (license license:gpl2+)))
10983
10984 (define-public gitg
10985 (package
10986 (name "gitg")
10987 (version "3.32.1")
10988 (source (origin
10989 (method url-fetch)
10990 (uri (string-append "mirror://gnome/sources/" name "/"
10991 (version-major+minor version) "/"
10992 name "-" version ".tar.xz"))
10993 (sha256
10994 (base32
10995 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10996 (build-system meson-build-system)
10997 (arguments
10998 `(#:glib-or-gtk? #t
10999 #:phases
11000 (modify-phases %standard-phases
11001 (add-after 'unpack 'disable-post-install-partially
11002 (lambda _
11003 (substitute* "meson_post_install.py"
11004 (("'python'") ; there are no python sources to compile
11005 (string-append "'" (which "true") "'"))
11006 (("gtk-update-icon-cache") (which "true")))
11007 #t))
11008 (add-after 'unpack 'fix-test-sources
11009 (lambda _
11010 (substitute* "tests/libgitg/test-commit.vala"
11011 (("/bin/bash") (which "bash")))
11012 #t))
11013 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11014 (lambda* (#:key outputs #:allow-other-keys)
11015 (let ((prog (string-append (assoc-ref outputs "out")
11016 "/bin/gitg")))
11017 (wrap-program prog
11018 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11019 #t))))))
11020 (inputs
11021 `(("glib" ,glib)
11022 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11023 ("gtk+" ,gtk+)
11024 ("gtkspell3" ,gtkspell3)
11025 ("gtksourceview" ,gtksourceview-3)
11026 ("json-glib" ,json-glib)
11027 ("libdazzle" ,libdazzle)
11028 ("libgee" ,libgee)
11029 ("libgit2-glib" ,libgit2-glib)
11030 ("libpeas" ,libpeas)
11031 ("libsecret" ,libsecret)
11032 ("libsoup" ,libsoup)
11033 ("libxml2" ,libxml2)))
11034 (native-inputs
11035 `(("glib:bin" ,glib "bin")
11036 ("gtk+:bin" ,gtk+ "bin")
11037 ("gobject-introspection" ,gobject-introspection)
11038 ("intltool" ,intltool)
11039 ("pkg-config" ,pkg-config)
11040 ("vala" ,vala)))
11041 (synopsis "Graphical user interface for git")
11042 (description
11043 "gitg is a graphical user interface for git. It aims at being a small,
11044 fast and convenient tool to visualize the history of git repositories.
11045 Besides visualization, gitg also provides several utilities to manage your
11046 repository and commit your work.")
11047 (home-page "https://wiki.gnome.org/Apps/Gitg")
11048 (license license:gpl2+)))
11049
11050 (define-public gamin
11051 (package
11052 (name "gamin")
11053 (version "0.1.10")
11054 (source (origin
11055 (method url-fetch)
11056 (uri (string-append "mirror://gnome/sources/" name "/"
11057 (version-major+minor version) "/"
11058 name "-" version ".tar.bz2"))
11059 (sha256
11060 (base32
11061 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11062 (build-system gnu-build-system)
11063 (arguments
11064 `(#:phases
11065 (modify-phases %standard-phases
11066 (add-after 'unpack 'remove-deprecated-macro
11067 (lambda _
11068 (substitute* '("server/gam_node.c"
11069 "server/gam_subscription.h"
11070 "server/gam_node.h"
11071 "server/gam_subscription.c")
11072 (("G_CONST_RETURN") "const"))
11073 #t)))))
11074 (inputs
11075 `(("glib" ,glib)))
11076 (native-inputs
11077 `(("intltool" ,intltool)
11078 ("pkg-config" ,pkg-config)))
11079 (home-page "https://people.gnome.org/~veillard/gamin/")
11080 (synopsis "File alteration monitor")
11081 (description
11082 "Gamin is a file and directory monitoring system defined to be a subset
11083 of the FAM (File Alteration Monitor) system. This is a service provided by a
11084 library which detects when a file or a directory has been modified.")
11085 (license license:gpl2+)))
11086
11087 (define-public gnome-mahjongg
11088 (package
11089 (name "gnome-mahjongg")
11090 (version "3.35.1")
11091 (source (origin
11092 (method git-fetch)
11093 (uri (git-reference
11094 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11095 (commit version)))
11096 (file-name (git-file-name name version))
11097 (sha256
11098 (base32
11099 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11100 (build-system meson-build-system)
11101 (arguments
11102 `(#:glib-or-gtk? #t))
11103 (native-inputs
11104 `(("appstream-glib" ,appstream-glib)
11105 ("gettext" ,gettext-minimal)
11106 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11107 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11108 ("itstool" ,itstool)
11109 ("pkg-config" ,pkg-config)
11110 ("vala" ,vala)))
11111 (propagated-inputs
11112 `(("dconf" ,dconf)))
11113 (inputs
11114 `(("glib" ,glib)
11115 ("gtk+" ,gtk+)
11116 ("librsvg" ,librsvg)))
11117 (synopsis "Mahjongg tile-matching game")
11118 (description "GNOME Mahjongg is a game based on the classic Chinese
11119 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11120 and a high score table.")
11121 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11122 (license license:gpl2+)))
11123
11124 (define-public gnome-themes-extra
11125 (package
11126 (name "gnome-themes-extra")
11127 (version "3.28")
11128 (source
11129 (origin
11130 (method url-fetch)
11131 (uri (string-append "mirror://gnome/sources/" name "/"
11132 (version-major+minor version) "/" name "-"
11133 version ".tar.xz"))
11134 (sha256
11135 (base32
11136 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11137 (build-system gnu-build-system)
11138 (arguments
11139 '(#:configure-flags
11140 ;; Don't create 'icon-theme.cache'.
11141 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11142 (true (string-append coreutils "/bin/true")))
11143 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11144 (native-inputs
11145 `(("glib:bin" ,glib "bin")
11146 ("intltool" ,intltool)
11147 ("pkg-config" ,pkg-config)))
11148 (inputs
11149 `(("glib" ,glib)
11150 ("gtk+" ,gtk+)
11151 ("gtk+-2" ,gtk+-2)
11152 ("librsvg" ,librsvg)
11153 ("libxml2" ,libxml2)))
11154 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11155 (synopsis "GNOME Extra Themes")
11156 (description "This package provides themes and related elements that don't
11157 really fit in other upstream packages. It offers legacy support for GTK+ 2
11158 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11159 index files needed for Adwaita to be used outside of GNOME.")
11160 (license license:lgpl2.1+)))
11161
11162 (define-public gnote
11163 (package
11164 (name "gnote")
11165 (version "3.38.1")
11166 (source
11167 (origin
11168 (method url-fetch)
11169 (uri (string-append "mirror://gnome/sources/" name "/"
11170 (version-major+minor version) "/"
11171 "gnote-" version ".tar.xz"))
11172 (sha256
11173 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11174 (build-system glib-or-gtk-build-system)
11175 (native-inputs
11176 `(("desktop-file-utils" ,desktop-file-utils)
11177 ("glib:bin" ,glib "bin")
11178 ("gobject-introspection" ,gobject-introspection)
11179 ("intltool" ,intltool)
11180 ("itstool" ,itstool)
11181 ("pkg-config" ,pkg-config)
11182 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11183 (inputs
11184 `(("glibmm" ,glibmm)
11185 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11186 ("gspell" ,gspell)
11187 ("gtk+" ,gtk+)
11188 ("gtkmm" ,gtkmm)
11189 ("libsecret" ,libsecret)
11190 ("libuuid" ,util-linux "lib")
11191 ("libxml2" ,libxml2)
11192 ("libxslt" ,libxslt)))
11193 (synopsis "Note-taking application for the GNOME desktop")
11194 (description
11195 "Gnote is a note-taking application written for the GNOME desktop
11196 environment.")
11197 (home-page "https://wiki.gnome.org/Apps/Gnote")
11198 (license license:gpl3+)))
11199
11200 (define-public polari
11201 (package
11202 (name "polari")
11203 (version "3.36.3")
11204 (source (origin
11205 (method url-fetch)
11206 (uri (string-append "mirror://gnome/sources/polari/"
11207 (version-major+minor version)
11208 "/polari-" version ".tar.xz"))
11209 (sha256
11210 (base32
11211 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11212 (build-system meson-build-system)
11213 (arguments
11214 `(#:glib-or-gtk? #t
11215 #:phases
11216 (modify-phases %standard-phases
11217 (add-after 'unpack 'skip-gtk-update-icon-cache
11218 (lambda _
11219 (substitute* "meson/meson-postinstall.sh"
11220 (("gtk-update-icon-cache") (which "true")))
11221 #t))
11222 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11223 (lambda* (#:key outputs #:allow-other-keys)
11224 (let ((prog (string-append (assoc-ref outputs "out")
11225 "/bin/polari")))
11226 (wrap-program prog
11227 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11228 #t))))))
11229 (inputs
11230 `(("glib" ,glib)
11231 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11232 ("gspell" ,gspell)
11233 ("gtk+" ,gtk+)
11234 ("gjs" ,gjs)
11235 ("libsecret" ,libsecret)
11236 ("libsoup" ,libsoup)
11237 ("telepathy-glib" ,telepathy-glib)
11238 ("telepathy-logger" ,telepathy-logger)))
11239 (native-inputs
11240 `(("glib:bin" ,glib "bin")
11241 ("gobject-introspection" ,gobject-introspection)
11242 ("intltool" ,intltool)
11243 ("pkg-config" ,pkg-config)
11244 ("yelp-tools" ,yelp-tools)))
11245 (propagated-inputs
11246 `(("telepathy-idle" ,telepathy-idle)
11247 ("telepathy-mission-control" ,telepathy-mission-control)))
11248 (synopsis "Simple IRC Client")
11249 (description
11250 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11251 integrate seamlessly with the GNOME desktop.")
11252 (home-page "https://wiki.gnome.org/Apps/Polari")
11253 (license license:gpl2+)))
11254
11255 (define-public gnome-boxes
11256 (package
11257 (name "gnome-boxes")
11258 (version "3.36.6")
11259 (source
11260 (origin
11261 (method url-fetch)
11262 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11263 (version-major+minor version) "/"
11264 "gnome-boxes-" version ".tar.xz"))
11265 (sha256
11266 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11267 (build-system meson-build-system)
11268 (arguments
11269 '(#:glib-or-gtk? #t
11270 #:configure-flags (list "-Drdp=false"
11271 (string-append "-Dc_link_args=-Wl,-rpath="
11272 (assoc-ref %outputs "out")
11273 "/lib/gnome-boxes"))))
11274 (native-inputs
11275 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11276 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11277 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11278 ("itstool" ,itstool)
11279 ("intltool" ,intltool)
11280 ("vala" ,vala)
11281 ("pkg-config" ,pkg-config)))
11282 (inputs
11283 `(("libarchive" ,libarchive)
11284 ("glib-networking" ,glib-networking) ;for TLS support
11285 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11286 ("gtk" ,gtk+)
11287 ("gtk-vnc" ,gtk-vnc)
11288 ("libosinfo" ,libosinfo)
11289 ("libsecret" ,libsecret)
11290 ("libsoup" ,libsoup)
11291 ("libusb" ,libusb)
11292 ("libvirt" ,libvirt)
11293 ("libvirt-glib" ,libvirt-glib)
11294 ("libxml" ,libxml2)
11295 ("spice-gtk" ,spice-gtk)
11296 ("sparql-query" ,sparql-query)
11297 ("vte" ,vte)
11298 ("webkitgtk" ,webkitgtk)
11299 ("tracker" ,tracker)
11300 ("libgudev" ,libgudev)))
11301 (home-page "https://wiki.gnome.org/Apps/Boxes")
11302 (synopsis "View, access, and manage remote and virtual systems")
11303 (description "GNOME Boxes is a simple application to view, access, and
11304 manage remote and virtual systems. Note that this application requires the
11305 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11306 @command{info '(guix) Virtualization Services'} to learn how to configure
11307 these services on the Guix System.")
11308 (license (list
11309 ;; For data/icons/empty-boxes.png.
11310 license:cc-by2.0
11311 ;; For all others.
11312 license:lgpl2.0+))))
11313
11314 (define-public geary
11315 (package
11316 (name "geary")
11317 (version "3.34.1")
11318 (source (origin
11319 (method git-fetch)
11320 (uri (git-reference
11321 (url "https://gitlab.gnome.org/GNOME/geary")
11322 (commit version)))
11323 (file-name (git-file-name name version))
11324 (sha256
11325 (base32
11326 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
11327 (build-system meson-build-system)
11328 (arguments
11329 `(#:glib-or-gtk? #t
11330 #:phases (modify-phases %standard-phases
11331 (add-after 'unpack 'disable-failing-tests
11332 (lambda _
11333 (substitute* "test/meson.build"
11334 (("test\\('client-tests', geary_test_client_bin\\)")
11335 ""))
11336 #t))
11337 (add-after 'unpack 'disable-postinstall-script
11338 (lambda _
11339 (substitute* "meson.build"
11340 (("meson.add_install_script\\(\
11341 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11342 ""))
11343 #t))
11344 (add-before 'check 'setup-xvfb
11345 (lambda _
11346 (system "Xvfb :1 &")
11347 (setenv "DISPLAY" ":1")
11348 #t)))))
11349 (inputs
11350 `(("enchant" ,enchant)
11351 ("folks" ,folks)
11352 ("gcr" ,gcr)
11353 ("glib" ,glib)
11354 ("gmime" ,gmime-2.6)
11355 ("gnome-online-accounts:lib"
11356 ,gnome-online-accounts "lib")
11357 ("gspell" ,gspell)
11358 ("gtk+" ,gtk+)
11359 ("iso-codes" ,iso-codes)
11360 ("json-glib" ,json-glib)
11361 ("libcanberra" ,libcanberra)
11362 ("libgee" ,libgee)
11363 ("libhandy" ,libhandy-0.0)
11364 ("libpeas" ,libpeas)
11365 ("libsecret" ,libsecret)
11366 ("libunwind" ,libunwind)
11367 ("sqlite" ,sqlite)
11368 ("webkitgtk" ,webkitgtk)
11369 ("ytnef" ,ytnef)))
11370 (native-inputs
11371 `(("appstream-glib" ,appstream-glib)
11372 ("cmake-minimal" ,cmake-minimal)
11373 ("desktop-file-utils" ,desktop-file-utils)
11374 ("gettext" ,gettext-minimal)
11375 ("glib:bin" ,glib "bin")
11376 ("gobject-introspection" ,gobject-introspection)
11377 ("itstool" ,itstool)
11378 ("libarchive" ,libarchive)
11379 ("libxml2" ,libxml2)
11380 ("pkg-config" ,pkg-config)
11381 ("vala" ,vala)
11382 ("xvfb" ,xorg-server-for-tests)))
11383 (synopsis "GNOME email application built around conversations")
11384 (description
11385 "Geary collects related messages together into conversations,
11386 making it easy to find and follow your discussions. Full-text and keyword
11387 search makes it easy to find the email you are looking for. Geary's
11388 full-featured composer lets you send rich, styled text with images, links, and
11389 lists, but also send lightweight, easy to read text messages. Geary
11390 automatically picks up your existing GNOME Online Accounts, and adding more is
11391 easy. Geary has a clean, fast, modern interface that works like you want it
11392 to.")
11393 (home-page "https://wiki.gnome.org/Apps/Geary")
11394 (license (list
11395 ;; geary
11396 license:lgpl2.1+
11397 ;; icons
11398 license:cc-by3.0
11399 license:cc-by-sa3.0
11400 license:public-domain
11401 ;; snowball
11402 license:bsd-2))))
11403
11404 (define-public glabels
11405 (package
11406 (name "glabels")
11407 (version "3.4.1")
11408 (source
11409 (origin
11410 (method url-fetch)
11411 (uri (string-append "mirror://gnome/sources/" name "/"
11412 (version-major+minor version) "/"
11413 "glabels-" version ".tar.xz"))
11414 (sha256
11415 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11416 (build-system glib-or-gtk-build-system)
11417 (native-inputs
11418 `(("gettext" ,gettext-minimal)
11419 ("glib:bin" ,glib "bin")
11420 ("intltool" ,intltool)
11421 ("itstool" ,itstool)
11422 ("pkg-config" ,pkg-config)))
11423 (inputs
11424 `(("gtk+" ,gtk+)
11425 ("librsvg" ,librsvg)
11426 ("libxml2" ,libxml2)))
11427 (home-page "https://glabels.org/")
11428 (synopsis "Program for creating labels and business cards")
11429 (description
11430 "gLabels is a program for creating labels and business cards. It is
11431 designed to work with various laser/ink-jet peel-off label and business
11432 card sheets that you’ll find at most office supply stores.")
11433 (license license:gpl3+)))
11434
11435 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11436 (define-public gnome-latex
11437 (package
11438 (name "gnome-latex")
11439 (version "3.36.0")
11440 (source
11441 (origin
11442 (method url-fetch)
11443 (uri (string-append "mirror://gnome/sources/" name "/"
11444 (version-major+minor version) "/"
11445 "gnome-latex-" version ".tar.xz"))
11446 (sha256
11447 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11448 (build-system glib-or-gtk-build-system)
11449 (native-inputs
11450 `(("gettext" ,gettext-minimal)
11451 ("glib:bin" ,glib "bin")
11452 ("gobject-introspection" ,gobject-introspection)
11453 ("gtk-doc" ,gtk-doc)
11454 ("intltool" ,intltool)
11455 ("itstool" ,itstool)
11456 ("pkg-config" ,pkg-config)
11457 ("vala" ,vala)))
11458 (inputs
11459 `(("amtk" ,amtk)
11460 ("dconf" ,dconf)
11461 ("glib" ,glib)
11462 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11463 ("gspell" ,gspell)
11464 ("gtk+" ,gtk+)
11465 ("gtksourceview" ,gtksourceview)
11466 ("libgee" ,libgee)
11467 ("tepl" ,tepl)
11468 ("uchardet" ,uchardet)))
11469 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11470 (synopsis "LaTeX editor for the GNOME desktop")
11471 (description
11472 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11473 such as build tools, completion of LaTeX commands, structure navigation,
11474 symbol tables, document templates, project management, spell-checking, menus
11475 and toolbars.")
11476 (license license:gpl3+)))
11477
11478 (define-public setzer
11479 (package
11480 (name "setzer")
11481 (version "0.4.1")
11482 (source
11483 (origin
11484 (method git-fetch)
11485 (uri (git-reference
11486 (url "https://github.com/cvfosammmm/Setzer")
11487 (commit (string-append "v" version))))
11488 (file-name (git-file-name name version))
11489 (sha256
11490 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11491 (build-system meson-build-system)
11492 (arguments
11493 `(#:glib-or-gtk? #t
11494 #:phases
11495 (modify-phases %standard-phases
11496 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11497 (lambda* (#:key outputs #:allow-other-keys)
11498 (let ((prog (string-append (assoc-ref outputs "out")
11499 "/bin/setzer"))
11500 (pylib (string-append (assoc-ref outputs "out")
11501 "/lib/python"
11502 ,(version-major+minor
11503 (package-version python))
11504 "/site-packages")))
11505 (wrap-program prog
11506 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11507 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11508 #t))))))
11509 (native-inputs
11510 `(("desktop-file-utils" ,desktop-file-utils)
11511 ("gettext" ,gettext-minimal)
11512 ("glib:bin" ,glib "bin")
11513 ("gobject-introspection" ,gobject-introspection)
11514 ("gtk+:bin" ,gtk+ "bin")))
11515 (inputs
11516 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11517 ("gspell" ,gspell)
11518 ("gtk+" ,gtk+)
11519 ("gtksourceview" ,gtksourceview)
11520 ("pango" ,pango)
11521 ("poppler" ,poppler)
11522 ("python-pdfminer" ,python-pdfminer-six)
11523 ("python-pycairo" ,python-pycairo)
11524 ("python-pygobject" ,python-pygobject)
11525 ("python-pyxdg" ,python-pyxdg)
11526 ("webkitgtk" ,webkitgtk)
11527 ("xdg-utils" ,xdg-utils)))
11528 (home-page "https://www.cvfosammmm.org/setzer/")
11529 (synopsis "LaTeX editor written in Python with GTK+")
11530 (description
11531 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11532 GTK+. It integrates well with the GNOME desktop environment.")
11533 (license license:gpl3+)))
11534
11535 (define-public libratbag
11536 (package
11537 (name "libratbag")
11538 (version "0.14")
11539 (source
11540 (origin
11541 (method git-fetch)
11542 (uri (git-reference
11543 (url "https://github.com/libratbag/libratbag")
11544 (commit (string-append "v" version))))
11545 (file-name (git-file-name name version))
11546 (sha256
11547 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11548 (build-system meson-build-system)
11549 (arguments
11550 `(#:configure-flags
11551 (list "-Dsystemd=false"
11552 "-Dlogind-provider=elogind")
11553 #:phases
11554 (modify-phases %standard-phases
11555 (add-after 'install 'wrap
11556 (lambda* (#:key inputs outputs #:allow-other-keys)
11557 (let* ((out (assoc-ref outputs "out"))
11558 (site (string-append
11559 "/lib/python"
11560 ,(version-major+minor (package-version python))
11561 "/site-packages"))
11562 (evdev (string-append
11563 (assoc-ref inputs "python-evdev") site))
11564 (pygo (string-append
11565 (assoc-ref inputs "python-pygobject") site))
11566 (python-wrap
11567 `("PYTHONPATH" = (,evdev ,pygo))))
11568 (wrap-program (string-append out "/bin/" "ratbagctl")
11569 python-wrap)
11570 #t))))))
11571 (native-inputs
11572 `(("check" ,check)
11573 ("pkg-config" ,pkg-config)
11574 ("swig" ,swig)
11575 ("valgrind" ,valgrind)))
11576 (inputs
11577 `(("glib" ,glib)
11578 ("json-glib" ,json-glib)
11579 ("libevdev" ,libevdev)
11580 ("libsystemd" ,elogind)
11581 ("libunistring" ,libunistring)
11582 ("python-evdev" ,python-evdev)
11583 ("python-pygobject" ,python-pygobject)
11584 ("udev" ,eudev)))
11585 (home-page "https://github.com/libratbag/libratbag")
11586 (synopsis "DBus daemon and utility for configuring gaming mice")
11587 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11588 configure input devices, mainly gaming mice. The daemon provides a generic
11589 way to access the various features exposed by these mice and abstracts away
11590 hardware-specific and kernel-specific quirks. There is also the
11591 @command{ratbagctl} command line interface for configuring devices.
11592
11593 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11594 Steelseries.
11595
11596 The ratbagd DBus service can be enabled by adding the following service to
11597 your operating-system definition:
11598
11599 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11600 (license license:expat)))
11601
11602 (define-public piper
11603 (package
11604 (name "piper")
11605 (version "0.5.1")
11606 (source
11607 (origin
11608 (method git-fetch)
11609 (uri (git-reference
11610 (url "https://github.com/libratbag/piper")
11611 (commit version)))
11612 (sha256
11613 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11614 (file-name (git-file-name name version))))
11615 (build-system meson-build-system)
11616 (native-inputs
11617 `(("gettext" ,gettext-minimal)
11618 ("glib:bin" ,glib "bin")
11619 ("gobject-introspection" ,gobject-introspection)
11620 ("pkg-config" ,pkg-config)
11621 ("python-flake8" ,python-flake8)))
11622 (inputs
11623 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11624 ("gtk" ,gtk+)
11625 ("gtk:bin" ,gtk+ "bin")
11626 ("librsvg" ,librsvg)
11627 ("python-evdev" ,python-evdev)
11628 ("python-lxml" ,python-lxml)
11629 ("python-pycairo" ,python-pycairo)
11630 ("python-pygobject" ,python-pygobject)))
11631 (arguments
11632 `(#:imported-modules ((guix build python-build-system)
11633 ,@%meson-build-system-modules)
11634 #:modules (((guix build python-build-system) #:prefix python:)
11635 (guix build meson-build-system)
11636 (guix build utils))
11637 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11638 #:phases
11639 (modify-phases %standard-phases
11640 (add-after 'unpack 'dont-update-gtk-icon-cache
11641 (lambda _
11642 (substitute* "meson.build"
11643 (("meson.add_install_script('meson_install.sh')") ""))
11644 #t))
11645 ;; TODO: Switch to wrap-script when it is fixed.
11646 (add-after 'install 'wrap-python
11647 (assoc-ref python:%standard-phases 'wrap))
11648 (add-after 'wrap-python 'wrap
11649 (lambda* (#:key outputs #:allow-other-keys)
11650 (wrap-program
11651 (string-append (assoc-ref outputs "out" )"/bin/piper")
11652 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11653 #t)))))
11654 (home-page "https://github.com/libratbag/piper/")
11655 (synopsis "Configure bindings and LEDs on gaming mice")
11656 (description "Piper is a GTK+ application for configuring gaming mice with
11657 onboard configuration for key bindings via libratbag. Piper requires
11658 a @command{ratbagd} daemon running with root privileges. It can be run
11659 manually as root, but is preferably configured as a DBus service that can
11660 launch on demand. This can be configured by enabling the following service,
11661 provided there is a DBus service present:
11662
11663 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11664 (license license:gpl2)))
11665
11666 (define-public parlatype
11667 (package
11668 (name "parlatype")
11669 (version "2.1")
11670 (source
11671 (origin
11672 (method git-fetch)
11673 (uri (git-reference
11674 (url "https://github.com/gkarsay/parlatype")
11675 (commit (string-append "v" version))))
11676 (file-name (git-file-name name version))
11677 (sha256
11678 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11679 (build-system meson-build-system)
11680 (arguments
11681 `(#:glib-or-gtk? #t
11682 #:tests? #f ;require internet access
11683 #:phases
11684 (modify-phases %standard-phases
11685 (add-after 'install 'wrap-parlatype
11686 ;; Add gstreamer plugin provided in this package to system's
11687 ;; plugins.
11688 (lambda* (#:key outputs #:allow-other-keys)
11689 (let* ((out (assoc-ref outputs "out"))
11690 (gst-plugin-path (string-append
11691 out "/lib/gstreamer-1.0/"
11692 ":"
11693 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11694 (wrap-program (string-append out "/bin/parlatype")
11695 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11696 #t)))))
11697 (native-inputs
11698 `(("appstream-glib" ,appstream-glib)
11699 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11700 ("gettext" ,gettext-minimal)
11701 ("glib" ,glib "bin") ;for glib-compile-resources
11702 ("pkg-config" ,pkg-config)
11703 ("yelp-tools" ,yelp-tools)))
11704 (inputs
11705 `(("gst-plugins-base" ,gst-plugins-base)
11706 ("gst-plugins-good" ,gst-plugins-good)
11707 ("gstreamer" ,gstreamer)
11708 ("gtk+" ,gtk+)
11709 ("pocketsphinx" ,pocketsphinx)
11710 ("pulseaudio" ,pulseaudio)
11711 ("sphinxbase" ,sphinxbase)))
11712 (home-page "http://gkarsay.github.io/parlatype/")
11713 (synopsis "GNOME audio player for transcription")
11714 (description "Parlatype is an audio player for the GNOME desktop
11715 environment. Its main purpose is the manual transcription of spoken
11716 audio files.")
11717 (license license:gpl3+)))
11718
11719 (define-public jsonrpc-glib
11720 (package
11721 (name "jsonrpc-glib")
11722 (version "3.34.0")
11723 (source (origin
11724 (method url-fetch)
11725 (uri (string-append "mirror://gnome/sources/" name "/"
11726 (version-major+minor version) "/"
11727 name "-" version ".tar.xz"))
11728 (sha256
11729 (base32
11730 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11731 (build-system meson-build-system)
11732 (inputs
11733 `(("json-glib" ,json-glib)
11734 ("glib" ,glib)))
11735 (native-inputs
11736 `(("pkg-config" ,pkg-config)
11737 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11738 ("gobject-introspection" ,gobject-introspection)
11739 ("vala" ,vala)))
11740 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11741 (synopsis "JSON-RPC library for GLib")
11742 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11743 peers in either a synchronous or asynchronous fashion. It also allows
11744 communicating using the GVariant serialization format instead of JSON when
11745 both peers support it. You might want that when communicating on a single
11746 host to avoid parser overhead and memory-allocator fragmentation.")
11747 (license license:lgpl2.1+)))
11748
11749 (define-public feedbackd
11750 (package
11751 (name "feedbackd")
11752 (version "0.0.0+git20200527")
11753 (source (origin
11754 (method git-fetch)
11755 (uri (git-reference
11756 (url "https://source.puri.sm/Librem5/feedbackd.git")
11757 (commit (string-append "v" version))))
11758 (file-name (git-file-name name version))
11759 (sha256
11760 (base32
11761 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11762 (build-system meson-build-system)
11763 (native-inputs
11764 `(("glib:bin" ,glib "bin")
11765 ("gobject-introspection" ,gobject-introspection)
11766 ("pkg-config" ,pkg-config)
11767 ("vala" ,vala)))
11768 (inputs
11769 `(("dbus" ,dbus)
11770 ("gsound" ,gsound)
11771 ("json-glib" ,json-glib)
11772 ("libgudev" ,libgudev)))
11773 (propagated-inputs
11774 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11775 (synopsis "Haptic/visual/audio feedback via DBus")
11776 (description "Feedbackd provides a DBus daemon to act on events to provide
11777 haptic, visual and audio feedback. It offers the libfeedbackd library and
11778 GObject introspection bindings.")
11779 (home-page "https://source.puri.sm/Librem5/feedbackd")
11780 (license (list license:lgpl2.1+ ; libfeedbackd
11781 license:lgpl3+)))) ; the rest
11782
11783 (define-public sysprof
11784 (package
11785 (name "sysprof")
11786 (version "3.36.0")
11787 (source
11788 (origin
11789 (method url-fetch)
11790 (uri (string-append "mirror://gnome/sources/sysprof/"
11791 (version-major+minor version) "/"
11792 "sysprof-" version ".tar.xz"))
11793 (sha256
11794 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11795 (build-system meson-build-system)
11796 (arguments
11797 `(#:configure-flags
11798 (list (string-append "-Dsystemdunitdir="
11799 %output
11800 "/share/systemd"))
11801 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11802 #:phases
11803 (modify-phases %standard-phases
11804 (add-after 'unpack 'patch-install-script
11805 (lambda _
11806 (substitute* "build-aux/meson/post_install.sh"
11807 (("gtk-update-icon-cache") "true")
11808 (("update-desktop-database") "true"))
11809 #t)))))
11810 (inputs
11811 `(("glib" ,glib)
11812 ("gtk+" ,gtk+)
11813 ("libdazzle" ,libdazzle)
11814 ("polkit" ,polkit)))
11815 (native-inputs
11816 `(("gettext" ,gettext-minimal)
11817 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11818 ("itstool" ,itstool)
11819 ("pkg-config" ,pkg-config)
11820 ("xmllint" ,libxml2)))
11821 ;; This home page is so woefully out of date as to be essentially useless.
11822 ;; (home-page "http://www.sysprof.com")
11823 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11824 (synopsis "System-wide performance profiler for GNU/Linux")
11825 (description
11826 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11827 GNU/Linux system including the kernel and all user-space applications. This
11828 helps find the function(s) in which a program spends most of its time.
11829
11830 It uses the kernel's built-in @code{ptrace} feature and handles shared
11831 libraries. Applications do not need to be recompiled--or even restarted.")
11832 (license license:gpl3+)))
11833
11834 (define-public gnome-builder
11835 (package
11836 (name "gnome-builder")
11837 (version "3.36.1")
11838 (source (origin
11839 (method url-fetch)
11840 (uri (string-append "mirror://gnome/sources/" name "/"
11841 (version-major+minor version) "/"
11842 name "-" version ".tar.xz"))
11843 (sha256
11844 (base32
11845 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11846 (build-system meson-build-system)
11847 (arguments
11848 `(#:configure-flags (list "-Dnetwork_tests=false"
11849 ;; TODO: Enable all plugins...
11850 "-Dplugin_clang=false"
11851 "-Dplugin_flatpak=false"
11852 "-Dplugin_glade=false"
11853 ;; XXX: This one has been shown not to work in
11854 ;; <https://issues.guix.gnu.org/45272>
11855 "-Dplugin_jedi=false"
11856 ;; ... except this one.
11857 "-Dplugin_update_manager=false")
11858 #:phases
11859 (modify-phases %standard-phases
11860 (add-after 'unpack 'patch-meson
11861 (lambda* (#:key inputs #:allow-other-keys)
11862 (substitute* "build-aux/meson/post_install.py"
11863 (("gtk-update-icon-cache") "true")
11864 (("update-desktop-database") "true"))
11865 (substitute* "src/libide/meson.build"
11866 (("/usr/lib")
11867 (string-append (assoc-ref inputs "python-pygobject")
11868 "/lib")))
11869 #t))
11870 (add-after 'configure 'fix-ninja
11871 (lambda _
11872 ;; #43296: meson(?) incorrectly assumes we want to link
11873 ;; this PIE against a static libselinux.
11874 (substitute* "build.ninja"
11875 (("libselinux\\.a") "libselinux.so"))
11876 #t))
11877 (add-before 'check 'pre-check
11878 (lambda _
11879 (system "Xvfb :1 &")
11880 (setenv "DISPLAY" ":1")
11881 #t)))))
11882 (inputs
11883 `(("devhelp" ,devhelp)
11884 ("gspell" ,gspell)
11885 ("gtk+" ,gtk+)
11886 ("json-glib" ,json-glib)
11887 ("jsonrpc-glib" ,jsonrpc-glib)
11888 ("libdazzle" ,libdazzle)
11889 ("libgit2-glib" ,libgit2-glib)
11890 ("libpeas" ,libpeas)
11891 ("python-pygobject" ,python-pygobject)
11892 ("sysprof" ,sysprof)
11893 ("template-glib" ,template-glib)
11894 ("vte" ,vte)
11895 ("webkitgtk" ,webkitgtk)))
11896 (propagated-inputs
11897 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11898 (native-inputs
11899 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11900 ("glib:bin" ,glib "bin")
11901 ("gettext" ,gettext-minimal)
11902 ("pkg-config" ,pkg-config)
11903 ("vala" ,vala)
11904 ("xorg-server" ,xorg-server-for-tests)))
11905 (home-page "https://wiki.gnome.org/Apps/Builder")
11906 (synopsis "Toolsmith for GNOME-based applications")
11907 (description "Builder aims to be an integrated development
11908 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11909 auto-completion, a mini code map, documentation browsing, Git integration, an
11910 integrated profiler via Sysprof, debugging support, and more.")
11911 (license license:gpl3+)))
11912
11913 (define-public komikku
11914 (package
11915 (name "komikku")
11916 (version "0.26.1")
11917 (source
11918 (origin
11919 (method git-fetch)
11920 (uri (git-reference
11921 (url "https://gitlab.com/valos/Komikku/")
11922 (commit (string-append "v" version))))
11923 (file-name (git-file-name name version))
11924 (sha256
11925 (base32
11926 "1mas409c14p6g0v10w4cf5hsjbs0922h6h9k9pyj9s8y7yi2ikz2"))))
11927 (build-system meson-build-system)
11928 (arguments
11929 `(#:glib-or-gtk? #t
11930 #:phases
11931 (modify-phases %standard-phases
11932 (add-after 'unpack 'patch-sources
11933 (lambda _
11934 (substitute* "komikku/utils.py"
11935 (("from komikku\\.servers import get_servers_list")
11936 ;; code following that line should migrate old databases
11937 ;; but the line itself results in an import error
11938 "return data_dir_path"))))
11939 (add-after 'unpack 'skip-gtk-update-icon-cache
11940 (lambda _
11941 (substitute* "meson_post_install.py"
11942 (("gtk-update-icon-cache") (which "true")))
11943 #t))
11944 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11945 (lambda* (#:key outputs #:allow-other-keys)
11946 (let ((prog (string-append (assoc-ref outputs "out")
11947 "/bin/komikku")))
11948 (wrap-program prog
11949 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11950 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11951 #t))))))
11952 (inputs
11953 `(("gtk+" ,gtk+)
11954 ("libhandy" ,libhandy)
11955 ("libnotify" ,libnotify)
11956 ("libsecret" ,libsecret)
11957 ("python-beautifulsoup4" ,python-beautifulsoup4)
11958 ("python-dateparser" ,python-dateparser)
11959 ("python-keyring" ,python-keyring)
11960 ("python-lxml" ,python-lxml)
11961 ("python-magic" ,python-magic)
11962 ("python-pillow" ,python-pillow)
11963 ("python-pure-protobuf" ,python-pure-protobuf)
11964 ("python-pycairo" ,python-pycairo)
11965 ("python-pygobject" ,python-pygobject)
11966 ("python-requests" ,python-requests)
11967 ("python-unidecode" ,python-unidecode)))
11968 (native-inputs
11969 `(("desktop-file-utils" ,desktop-file-utils)
11970 ("gettext" ,gettext-minimal)
11971 ("glib:bin" ,glib "bin")
11972 ("gobject-introspection" ,gobject-introspection)
11973 ("pkg-config" ,pkg-config)))
11974 (home-page "https://gitlab.com/valos/Komikku")
11975 (synopsis "Manga reader for GNOME")
11976 (description "Komikku is an online/offline manga reader for GNOME,
11977 developed with the aim of being used with the Librem 5 phone.")
11978 (license license:gpl3+)))
11979
11980 (define-public libgda
11981 (package
11982 (name "libgda")
11983 (version "5.2.10")
11984 (source
11985 (origin
11986 (method git-fetch)
11987 (uri (git-reference
11988 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
11989 (commit (string-append "LIBGDA_" (string-replace-substring
11990 version "." "_")))))
11991 (file-name (git-file-name name version))
11992 (sha256
11993 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
11994 (build-system gnu-build-system)
11995 (arguments
11996 `(#:configure-flags '("--enable-vala")
11997 ;; There's a race between check_cnc_lock and check_threaded_cnc
11998 ;; in tests/multi-threading.
11999 #:parallel-tests? #f
12000 #:phases
12001 (modify-phases %standard-phases
12002 (add-after 'unpack 'fix-glade-install
12003 (lambda _
12004 (substitute* "configure.ac"
12005 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12006 "${datadir}/glade/catalogs")
12007 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12008 "${datadir}/glade/pixmaps"))
12009 #t))
12010 (add-before 'check 'pre-check
12011 (lambda* (#:key inputs #:allow-other-keys)
12012 ;; Tests require a running X server.
12013 (system "Xvfb :1 &")
12014 (setenv "DISPLAY" ":1")
12015 #t))
12016 (add-after 'install 'symlink-glade-module
12017 (lambda* (#:key outputs #:allow-other-keys)
12018 (let* ((shlib "libgda-ui-5.0.so")
12019 (out (assoc-ref outputs "out"))
12020 (out/lib (string-append out "/lib"))
12021 (moduledir (string-append out/lib "/glade/modules")))
12022 (mkdir-p moduledir)
12023 (symlink (string-append out/lib "/" shlib)
12024 (string-append moduledir "/" shlib))
12025 #t))))))
12026 (propagated-inputs
12027 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12028 (inputs
12029 `(("glib" ,glib)
12030 ("glade" ,glade3)
12031 ("gtk+" ,gtk+)
12032 ("libsecret" ,libsecret)
12033 ("libxslt" ,libxslt)
12034 ("openssl" ,openssl)
12035 ("vala" ,vala)))
12036 (native-inputs
12037 `(("autoconf" ,autoconf)
12038 ("autoconf-archive" ,autoconf-archive)
12039 ("automake" ,automake)
12040 ("glib:bin" ,glib "bin")
12041 ("gnome-common" ,gnome-common)
12042 ("gobject-introspection" ,gobject-introspection)
12043 ("gtk-doc" ,gtk-doc)
12044 ("intltool" ,intltool)
12045 ("libtool" ,libtool)
12046 ("pkg-config" ,pkg-config)
12047 ("vala" ,vala)
12048 ("which" ,which)
12049 ("xorg-server" ,xorg-server-for-tests)
12050 ("yelp-tools" ,yelp-tools)))
12051 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12052 (synopsis "Uniform data access")
12053 (description
12054 "GNU Data Access (GDA) is an attempt to provide uniform access to
12055 different kinds of data sources (databases, information servers, mail spools,
12056 etc). It is a complete architecture that provides all you need to access
12057 your data.")
12058 (license license:lgpl2.1+)))
12059
12060 (define-public gtranslator
12061 (package
12062 (name "gtranslator")
12063 (version "3.36.0")
12064 (source (origin
12065 (method url-fetch)
12066 (uri (string-append "mirror://gnome/sources/" name "/"
12067 (version-major+minor version) "/"
12068 name "-" version ".tar.xz"))
12069 (sha256
12070 (base32
12071 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12072 (build-system meson-build-system)
12073 (inputs
12074 `(("json-glib" ,json-glib)
12075 ("jsonrpc-glib" ,jsonrpc-glib)
12076 ("gettext" ,gettext-minimal)
12077 ("glib" ,glib)
12078 ("gtk+" ,gtk+)
12079 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12080 ("gspell" ,gspell)
12081 ("libdazzle" ,libdazzle)
12082 ("libgda" ,libgda)
12083 ("libsoup" ,libsoup)))
12084 (native-inputs
12085 `(("glib:bin" ,glib "bin")
12086 ("itstool" ,itstool)
12087 ("pkg-config" ,pkg-config)))
12088 (propagated-inputs
12089 `(("gtksourceview" ,gtksourceview))) ; required for source view
12090 (arguments
12091 `(#:build-type "release"
12092 #:glib-or-gtk? #t
12093 #:phases
12094 (modify-phases %standard-phases
12095 (add-after 'unpack 'skip-gtk-update-icon-cache
12096 (lambda _
12097 (substitute* "build-aux/meson/meson_post_install.py"
12098 (("gtk-update-icon-cache") (which "true")))
12099 #t)))))
12100 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12101 (synopsis "Translation making program")
12102 (description
12103 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12104 for the GNOME 3.x platform with many features. It aims to be a very complete
12105 editing environment for translation issues within the GNU gettext/GNOME desktop
12106 world.")
12107 (license license:gpl3+)))
12108
12109
12110 (define-public ocrfeeder
12111 (package
12112 (name "ocrfeeder")
12113 (version "0.8.3")
12114 (source (origin
12115 (method url-fetch)
12116 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12117 (version-major+minor version) "/"
12118 "ocrfeeder-" version ".tar.xz"))
12119 (sha256
12120 (base32
12121 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12122 (build-system gnu-build-system)
12123 (arguments
12124 `(#:phases
12125 (modify-phases %standard-phases
12126 (add-after
12127 'install 'wrap-program
12128 (lambda* (#:key outputs #:allow-other-keys)
12129 (let ((prog (string-append (assoc-ref outputs "out")
12130 "/bin/" "ocrfeeder"))
12131 (pylib (string-append (assoc-ref outputs "out")
12132 "/lib/python"
12133 ,(version-major+minor
12134 (package-version python))
12135 "/site-packages")))
12136 (wrap-program prog
12137 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12138 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12139 #t))))))
12140 (native-inputs
12141 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12142 ("gobject-introspection" ,gobject-introspection)
12143 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12144 ("intltool" ,intltool)
12145 ("itstool" ,itstool)
12146 ("pkg-config" ,pkg-config)
12147 ("xmllint" ,libxml2)))
12148 (inputs
12149 `(("enchant" ,enchant)
12150 ("glib" ,glib)
12151 ("goocanvas" ,goocanvas)
12152 ("gtk" ,gtk+)
12153 ("gtkspell3" ,gtkspell3)
12154 ("libjpeg" ,libjpeg-turbo)
12155 ("libtiff" ,libtiff)
12156 ("libraw" ,libraw)
12157 ("ocrad" ,ocrad)
12158 ("python" ,python-wrapper)
12159 ("python-pygobject" ,python-pygobject)
12160 ("python-odfpy" ,python-odfpy)
12161 ("python-pillow" ,python-pillow)
12162 ("python-pyenchant" ,python-pyenchant)
12163 ("python-reportlab" ,python-reportlab)
12164 ("python-sane" ,python-sane)
12165 ("sane-backends" ,sane-backends)
12166 ("tesseract-ocr" ,tesseract-ocr)))
12167 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12168 (synopsis "Complete OCR Suite")
12169 (description "OCRFeeder is a complete Optical Character Recognition and
12170 Document Analysis and Recognition program.")
12171 (license license:gpl3+)))