gnu: drawing: Update to 0.8.0.
[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, 2021 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, 2021 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 ;;; Copyright © 2021 Trevor Hass <thass@okstate.edu>
62 ;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
63 ;;;
64 ;;; This file is part of GNU Guix.
65 ;;;
66 ;;; GNU Guix is free software; you can redistribute it and/or modify it
67 ;;; under the terms of the GNU General Public License as published by
68 ;;; the Free Software Foundation; either version 3 of the License, or (at
69 ;;; your option) any later version.
70 ;;;
71 ;;; GNU Guix is distributed in the hope that it will be useful, but
72 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
73 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74 ;;; GNU General Public License for more details.
75 ;;;
76 ;;; You should have received a copy of the GNU General Public License
77 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
78
79 (define-module (gnu packages gnome)
80 #:use-module (gnu packages)
81 #:use-module (gnu packages admin)
82 #:use-module (gnu packages aidc)
83 #:use-module (gnu packages aspell)
84 #:use-module (gnu packages autotools)
85 #:use-module (gnu packages avahi)
86 #:use-module (gnu packages backup)
87 #:use-module (gnu packages base)
88 #:use-module (gnu packages bash)
89 #:use-module (gnu packages bison)
90 #:use-module (gnu packages boost)
91 #:use-module (gnu packages build-tools)
92 #:use-module (gnu packages calendar)
93 #:use-module (gnu packages cdrom)
94 #:use-module (gnu packages check)
95 #:use-module (gnu packages cmake)
96 #:use-module (gnu packages compression)
97 #:use-module (gnu packages crates-io)
98 #:use-module (gnu packages crates-graphics)
99 #:use-module (gnu packages crates-gtk)
100 #:use-module (gnu packages cups)
101 #:use-module (gnu packages curl)
102 #:use-module (gnu packages cyrus-sasl)
103 #:use-module (gnu packages databases)
104 #:use-module (gnu packages dbm)
105 #:use-module (gnu packages djvu)
106 #:use-module (gnu packages dns)
107 #:use-module (gnu packages docbook)
108 #:use-module (gnu packages documentation)
109 #:use-module (gnu packages enchant)
110 #:use-module (gnu packages flex)
111 #:use-module (gnu packages fonts)
112 #:use-module (gnu packages file-systems)
113 #:use-module (gnu packages fontutils)
114 #:use-module (gnu packages freedesktop)
115 #:use-module (gnu packages game-development)
116 #:use-module (gnu packages gcc)
117 #:use-module (gnu packages gettext)
118 #:use-module (gnu packages ghostscript)
119 #:use-module (gnu packages gimp)
120 #:use-module (gnu packages gl)
121 #:use-module (gnu packages glib)
122 #:use-module (gnu packages gnupg)
123 #:use-module (gnu packages gnuzilla)
124 #:use-module (gnu packages geo)
125 #:use-module (gnu packages gperf)
126 #:use-module (gnu packages graphviz)
127 #:use-module (gnu packages gstreamer)
128 #:use-module (gnu packages gtk)
129 #:use-module (gnu packages guile)
130 #:use-module (gnu packages ibus)
131 #:use-module (gnu packages icu4c)
132 #:use-module (gnu packages image)
133 #:use-module (gnu packages imagemagick)
134 #:use-module (gnu packages inkscape)
135 #:use-module (gnu packages iso-codes)
136 #:use-module (gnu packages kerberos)
137 #:use-module (gnu packages libcanberra)
138 #:use-module (gnu packages libffi)
139 #:use-module (gnu packages libunistring)
140 #:use-module (gnu packages libunwind)
141 #:use-module (gnu packages libusb)
142 #:use-module (gnu packages linux)
143 #:use-module (gnu packages lirc)
144 #:use-module (gnu packages lua)
145 #:use-module (gnu packages mail)
146 #:use-module (gnu packages mp3)
147 #:use-module (gnu packages multiprecision)
148 #:use-module (gnu packages music)
149 #:use-module (gnu packages ncurses)
150 #:use-module (gnu packages nettle)
151 #:use-module (gnu packages networking)
152 #:use-module (gnu packages ninja)
153 #:use-module (gnu packages node)
154 #:use-module (gnu packages nss)
155 #:use-module (gnu packages ocr)
156 #:use-module (gnu packages openldap)
157 #:use-module (gnu packages package-management)
158 #:use-module (gnu packages password-utils)
159 #:use-module (gnu packages pcre)
160 #:use-module (gnu packages pdf)
161 #:use-module (gnu packages perl)
162 #:use-module (gnu packages photo)
163 #:use-module (gnu packages php)
164 #:use-module (gnu packages pkg-config)
165 #:use-module (gnu packages polkit)
166 #:use-module (gnu packages popt)
167 #:use-module (gnu packages pretty-print)
168 #:use-module (gnu packages protobuf)
169 #:use-module (gnu packages pulseaudio)
170 #:use-module (gnu packages python)
171 #:use-module (gnu packages python-compression)
172 #:use-module (gnu packages python-crypto)
173 #:use-module (gnu packages python-web)
174 #:use-module (gnu packages python-xyz)
175 #:use-module (gnu packages rdesktop)
176 #:use-module (gnu packages rdf)
177 #:use-module (gnu packages readline)
178 #:use-module (gnu packages ruby)
179 #:use-module (gnu packages rust)
180 #:use-module (gnu packages samba)
181 #:use-module (gnu packages scanner)
182 #:use-module (gnu packages sdl)
183 #:use-module (gnu packages search)
184 #:use-module (gnu packages selinux)
185 #:use-module (gnu packages slang)
186 #:use-module (gnu packages speech)
187 #:use-module (gnu packages spice)
188 #:use-module (gnu packages sqlite)
189 #:use-module (gnu packages ssh)
190 #:use-module (gnu packages swig)
191 #:use-module (gnu packages tex)
192 #:use-module (gnu packages time)
193 #:use-module (gnu packages tls)
194 #:use-module (gnu packages valgrind)
195 #:use-module (gnu packages version-control)
196 #:use-module (gnu packages video)
197 #:use-module (gnu packages virtualization)
198 #:use-module (gnu packages vpn)
199 #:use-module (gnu packages web)
200 #:use-module (gnu packages webkit)
201 #:use-module (gnu packages xdisorg)
202 #:use-module (gnu packages xiph)
203 #:use-module (gnu packages xml)
204 #:use-module (gnu packages xorg)
205 #:use-module (gnu artwork)
206 #:use-module (guix build-system cargo)
207 #:use-module (guix build-system cmake)
208 #:use-module (guix build-system glib-or-gtk)
209 #:use-module (guix build-system gnu)
210 #:use-module (guix build-system meson)
211 #:use-module (guix build-system python)
212 #:use-module (guix build-system trivial)
213 #:use-module (guix download)
214 #:use-module (guix git-download)
215 #:use-module ((guix licenses) #:prefix license:)
216 #:use-module (guix packages)
217 #:use-module (guix utils)
218 #:use-module (guix gexp)
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/stable)
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/stable)
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/stable)
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/stable)
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/stable)
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/stable)
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/stable)
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.3")
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 "1x8yvjy0yg17qyhmqws8xh2k8dvzrhpwqz7j1cfwzalrb1i9c5g8"))))
1121 (build-system meson-build-system)
1122 (arguments
1123 `(#:meson ,meson-0.55
1124 #:phases
1125 (modify-phases %standard-phases
1126 (add-after 'unpack 'patch
1127 (lambda* (#:key inputs #:allow-other-keys)
1128 (substitute* "util/mm-common-prepare.in"
1129 (("ln") (string-append (assoc-ref inputs "coreutils")
1130 "/bin/ln"))
1131 (("cp") (string-append (assoc-ref inputs "coreutils")
1132 "/bin/cp"))
1133 (("sed") (string-append (assoc-ref inputs "sed")
1134 "/bin/sed"))
1135 (("cat") (string-append (assoc-ref inputs "coreutils")
1136 "/bin/cat")))
1137 #t)))))
1138 (native-inputs
1139 `(("coreutils" ,coreutils)
1140 ("gettext" ,gettext-minimal)
1141 ("pkg-config" ,pkg-config)
1142 ("sed" ,sed)))
1143 (inputs
1144 `(("python" ,python)))
1145 (synopsis "Module of GNOME C++ bindings")
1146 (description "The mm-common module provides the build infrastructure
1147 and utilities shared among the GNOME C++ binding libraries. Release
1148 archives of mm-common include the Doxygen tag file for the GNU C++
1149 Library reference documentation.")
1150 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1151 (license license:gpl2+)))
1152
1153 (define-public phodav
1154 (package
1155 (name "phodav")
1156 (version "2.5")
1157 (source (origin
1158 (method url-fetch)
1159 (uri (string-append "mirror://gnome/sources/" name "/"
1160 (version-major+minor version) "/"
1161 name "-" version ".tar.xz"))
1162 (sha256
1163 (base32
1164 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1165 (build-system meson-build-system)
1166 (arguments
1167 `(#:phases
1168 (modify-phases %standard-phases
1169 (add-before 'check 'start-virtual-dir-server
1170 ;; The same server when started by tests/virtual-dir returns an
1171 ;; unexpected status (4 instead of 200) and fails a test. It is
1172 ;; unclear why starting it manually here makes it pass.
1173 (lambda _
1174 (system "tests/virtual-dir-server &")
1175 #t)))))
1176 (native-inputs
1177 `(("docbook-xml" ,docbook-xml-4.3)
1178 ("gettext" ,gettext-minimal)
1179 ("glib:bin" ,glib "bin")
1180 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1181 ("gtk-doc" ,gtk-doc/stable)
1182 ("pkg-config" ,pkg-config)))
1183 (inputs
1184 `(("avahi" ,avahi)
1185 ("libgudev" ,libgudev)
1186 ("libsoup" ,libsoup)))
1187 (synopsis "WebDav server implementation using libsoup")
1188 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1189 but it is generic enough to be reused in other projects,
1190 in particular in the GNOME desktop.")
1191 (home-page "https://wiki.gnome.org/phodav")
1192 (license license:lgpl2.1+)))
1193
1194 (define-public gnome-color-manager
1195 (package
1196 (name "gnome-color-manager")
1197 (version "3.32.0")
1198 (source (origin
1199 (method url-fetch)
1200 (uri (string-append "mirror://gnome/sources/" name "/"
1201 (version-major+minor version) "/"
1202 name "-" version ".tar.xz"))
1203 (sha256
1204 (base32
1205 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1206 (build-system meson-build-system)
1207 (arguments
1208 `(#:glib-or-gtk? #t
1209 #:phases
1210 (modify-phases %standard-phases
1211 (add-before
1212 'check 'pre-check
1213 (lambda _
1214 ;; Tests require a running X server.
1215 (system "Xvfb :1 &")
1216 (setenv "DISPLAY" ":1")
1217 #t)))))
1218 (native-inputs
1219 `(("desktop-file-utils" ,desktop-file-utils)
1220 ("gettext" ,gettext-minimal)
1221 ("glib:bin" ,glib "bin")
1222 ("gtk+:bin" ,gtk+ "bin")
1223 ("itstool" ,itstool)
1224 ("pkg-config" ,pkg-config)
1225 ("xorg-server" ,xorg-server-for-tests)))
1226 (inputs
1227 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1228 ("appstream-glib" ,appstream-glib)
1229 ("colord-gtk" ,colord-gtk)
1230 ("exiv2" ,exiv2)
1231 ("gnome-desktop" ,gnome-desktop)
1232 ("libcanberra" ,libcanberra)
1233 ("libexif" ,libexif)
1234 ("libtiff" ,libtiff)
1235 ("libxrandr" ,libxrandr)
1236 ("libxtst" ,libxtst)
1237 ("libxxf86vm" ,libxxf86vm)
1238 ("vte" ,vte)
1239 ("xorgproto" ,xorgproto)))
1240 (synopsis "Color profile manager for the GNOME desktop")
1241 (description "GNOME Color Manager is a session framework that makes
1242 it easy to manage, install and generate color profiles
1243 in the GNOME desktop.")
1244 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1245 (license license:gpl2+)))
1246
1247 (define-public gnome-online-miners
1248 (package
1249 (name "gnome-online-miners")
1250 (version "3.34.0")
1251 (source (origin
1252 (method url-fetch)
1253 (uri (string-append "mirror://gnome/sources/" name "/"
1254 (version-major+minor version) "/"
1255 name "-" version ".tar.xz"))
1256 (sha256
1257 (base32
1258 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1259 (build-system glib-or-gtk-build-system)
1260 (native-inputs
1261 `(("gettext" ,gettext-minimal)
1262 ("glib:bin" ,glib "bin")
1263 ("gobject-introspection" ,gobject-introspection)
1264 ("gtk+:bin" ,gtk+ "bin")
1265 ("pkg-config" ,pkg-config)))
1266 (inputs
1267 `(("gnome-online-accounts" ,gnome-online-accounts)
1268 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1269 ("grilo" ,grilo)
1270 ("libgdata" ,libgdata)
1271 ("libgfbgraph" ,gfbgraph)
1272 ("libzapojit" ,libzapojit)
1273 ("rest" ,rest)
1274 ("tracker" ,tracker)))
1275 (synopsis "Web Crawlers for GNOME")
1276 (description "GNOME Online Miners provides a set of crawlers that
1277 go through your online content and index them locally in Tracker.
1278 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1279 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1280 (license license:gpl2+)))
1281
1282 (define-public gssdp
1283 (package
1284 (name "gssdp")
1285 (version "1.2.3")
1286 (source (origin
1287 (method url-fetch)
1288 (uri (string-append "mirror://gnome/sources/" name "/"
1289 (version-major+minor version) "/"
1290 name "-" version ".tar.xz"))
1291 (sha256
1292 (base32
1293 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1294 (build-system meson-build-system)
1295 (native-inputs
1296 `(("gettext" ,gettext-minimal)
1297 ("glib:bin" ,glib "bin")
1298 ("gobject-introspection" ,gobject-introspection)
1299 ("gtk-doc" ,gtk-doc/stable)
1300 ("pkg-config" ,pkg-config)
1301 ("vala" ,vala)))
1302 (inputs
1303 `(("gtk+" ,gtk+)
1304 ("libsoup" ,libsoup)))
1305 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1306 Protocol} for GNOME")
1307 (description "This package provides a library to handle resource discovery
1308 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1309 a debugging tool, @command{gssdp-device-sniffer}.")
1310 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1311 (license license:lgpl2.0+)))
1312
1313 (define-public gupnp
1314 (package
1315 (name "gupnp")
1316 (version "1.2.4")
1317 (source (origin
1318 (method url-fetch)
1319 (uri (string-append "mirror://gnome/sources/" name "/"
1320 (version-major+minor version) "/"
1321 name "-" version ".tar.xz"))
1322 (sha256
1323 (base32
1324 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1325 (build-system meson-build-system)
1326 (native-inputs
1327 `(("gettext" ,gettext-minimal)
1328 ("glib:bin" ,glib "bin")
1329 ("gobject-introspection" ,gobject-introspection)
1330 ("gtk-doc" ,gtk-doc/stable)
1331 ("pkg-config" ,pkg-config)
1332 ("vala" ,vala)))
1333 (inputs
1334 `(("gssdp" ,gssdp)
1335 ("gtk+" ,gtk+)
1336 ("libsoup" ,libsoup)))
1337 (propagated-inputs
1338 `(;; For ‘org.gnome.system.proxy’.
1339 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
1340 (synopsis "PnP API for GNOME")
1341 (description "This package provides GUPnP, an object-oriented framework
1342 for creating UPnP devices and control points, written in C using
1343 @code{GObject} and @code{libsoup}.")
1344 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1345 (license license:lgpl2.0+)))
1346
1347 (define-public gupnp-dlna
1348 (package
1349 (name "gupnp-dlna")
1350 (version "0.10.5")
1351 (source (origin
1352 (method url-fetch)
1353 (uri (string-append "mirror://gnome/sources/" name "/"
1354 (version-major+minor version) "/"
1355 name "-" version ".tar.xz"))
1356 (sha256
1357 (base32
1358 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1359 (build-system gnu-build-system)
1360 (native-inputs
1361 `(("gettext" ,gettext-minimal)
1362 ("glib:bin" ,glib "bin")
1363 ("gobject-introspection" ,gobject-introspection)
1364 ("gtk-doc" ,gtk-doc/stable)
1365 ("libxml" ,libxml2)
1366 ("pkg-config" ,pkg-config)
1367 ("vala" ,vala)))
1368 (inputs
1369 `(("gstreamer" ,gstreamer)
1370 ("gupnp" ,gupnp)))
1371 (propagated-inputs
1372 `(("gst-plugins-base" ,gst-plugins-base)
1373 ("gst-plugins-good" ,gst-plugins-good)))
1374 (synopsis "GUPnP DLNA for GNOME")
1375 (description "This package provides a small utility library to
1376 support DLNA-related tasks such as media profile guessing, transcoding to a
1377 given profile, etc. DLNA is a subset of UPnP A/V.")
1378 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1379 (license license:lgpl2.0+)))
1380
1381 (define-public gupnp-av
1382 (package
1383 (name "gupnp-av")
1384 (version "0.12.11")
1385 (source (origin
1386 (method url-fetch)
1387 (uri (string-append "mirror://gnome/sources/" name "/"
1388 (version-major+minor version) "/"
1389 name "-" version ".tar.xz"))
1390 (sha256
1391 (base32
1392 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1393 (build-system gnu-build-system)
1394 (native-inputs
1395 `(("gettext" ,gettext-minimal)
1396 ("glib:bin" ,glib "bin")
1397 ("gobject-introspection" ,gobject-introspection)
1398 ("gtk-doc" ,gtk-doc/stable)
1399 ("libxml" ,libxml2)
1400 ("pkg-config" ,pkg-config)))
1401 (inputs
1402 `(("gtk+" ,gtk+)
1403 ("gupnp" ,gupnp)))
1404 (synopsis "GUPnP A/V for GNOME")
1405 (description "This package provides a small library for handling
1406 and implementation of UPnP A/V profiles.")
1407 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1408 (license license:lgpl2.0+)))
1409
1410 (define-public libmediaart
1411 (package
1412 (name "libmediaart")
1413 (version "1.9.5")
1414 (source (origin
1415 (method url-fetch)
1416 (uri (string-append "mirror://gnome/sources/" name "/"
1417 (version-major+minor version) "/"
1418 name "-" version ".tar.xz"))
1419 (sha256
1420 (base32
1421 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1422 (build-system meson-build-system)
1423 (arguments
1424 `(#:meson ,meson-next))
1425 (native-inputs
1426 `(("glib:bin" ,glib "bin")
1427 ("pkg-config" ,pkg-config)))
1428 (inputs
1429 `(("gdk-pixbuf" ,gdk-pixbuf)
1430 ("gettext" ,gettext-minimal)
1431 ("gobject-introspection" ,gobject-introspection)
1432 ("gtk+:doc" ,gtk+ "doc")
1433 ("vala" ,vala)))
1434 (synopsis "Media art library for the GNOME desktop")
1435 (description
1436 "The libmediaart library is the foundation for media art caching,
1437 extraction, and lookup for applications on the desktop.")
1438 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1439 (license license:lgpl2.1+)))
1440
1441 (define-public gnome-initial-setup
1442 (package
1443 (name "gnome-initial-setup")
1444 (version "3.32.1")
1445 (source (origin
1446 (method url-fetch)
1447 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1448 (version-major+minor version)
1449 "/gnome-initial-setup-" version ".tar.xz"))
1450 (sha256
1451 (base32
1452 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1453 (build-system meson-build-system)
1454 (arguments
1455 '(#:configure-flags '(;; Enable camera support for user selfie.
1456 "-Dcheese=auto"
1457 "-Dsystemd=false")
1458 #:phases (modify-phases %standard-phases
1459 (add-after 'unpack 'set-gkbd-file-name
1460 (lambda* (#:key inputs #:allow-other-keys)
1461 ;; Allow the "Preview" button in the keyboard layout
1462 ;; selection dialog to display the layout.
1463 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1464 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1465 (("\"gkbd-keyboard-display")
1466 (string-append "\"" libgnomekbd
1467 "/bin/gkbd-keyboard-display")))
1468 #t))))))
1469 (native-inputs
1470 `(("gettext" ,gettext-minimal)
1471 ("glib:bin" ,glib "bin")
1472 ("gobject-introspection" ,gobject-introspection)
1473 ("gtk+:bin" ,gtk+ "bin")
1474 ("pkg-config" ,pkg-config)))
1475 (inputs
1476 `(("accountsservice" ,accountsservice)
1477 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1478 ("gdm" ,gdm)
1479 ("geoclue" ,geoclue)
1480 ("gnome-desktop" ,gnome-desktop)
1481 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1482 ("gnome-online-accounts" ,gnome-online-accounts)
1483 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1484 ("gstreamer" ,gstreamer)
1485 ("ibus" ,ibus)
1486 ("json-glib" ,json-glib)
1487 ("krb5" ,mit-krb5)
1488 ("libgweather" ,libgweather)
1489 ("libnma" ,libnma)
1490 ("libsecret" ,libsecret)
1491 ("network-manager" ,network-manager)
1492 ("packagekit" ,packagekit)
1493 ("polkit" ,polkit)
1494 ("pwquality" ,libpwquality)
1495 ("rest" ,rest)
1496 ("upower" ,upower)
1497 ("webkitgtk" ,webkitgtk)
1498 ("libgnomekbd" ,libgnomekbd)))
1499 (synopsis "Initial setup wizard for GNOME desktop")
1500 (description "This package provides a set-up wizard when a
1501 user logs into GNOME for the first time. It typically provides a
1502 tour of all gnome components and allows the user to set them up.")
1503 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1504 (license license:gpl2)))
1505
1506 (define-public gnome-user-share
1507 (package
1508 (name "gnome-user-share")
1509 (version "3.33.1")
1510 (source (origin
1511 (method url-fetch)
1512 (uri (string-append "mirror://gnome/sources/" name "/"
1513 (version-major+minor version) "/"
1514 name "-" version ".tar.xz"))
1515 (sha256
1516 (base32
1517 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1518 (build-system meson-build-system)
1519 (arguments
1520 `(#:glib-or-gtk? #t
1521 #:configure-flags
1522 `("-Dsystemd=false"
1523 ;; Enable nautilus extension for file sharing.
1524 "-Dnautilus_extension=true")))
1525 (native-inputs
1526 `(("gettext" ,gettext-minimal)
1527 ("glib:bin" ,glib "bin")
1528 ("gobject-introspection" ,gobject-introspection)
1529 ("gtk+:bin" ,gtk+ "bin")
1530 ("pkg-config" ,pkg-config)
1531 ("yelp-tools" ,yelp-tools)))
1532 (inputs
1533 `(("glib" ,glib)
1534 ("gnome-bluetooth" ,gnome-bluetooth)
1535 ("gtk+" ,gtk+)
1536 ("libcanberra" ,libcanberra)
1537 ("libnotify" ,libnotify)
1538 ("nautilus" ,nautilus))) ; For nautilus extension.
1539 (synopsis "File sharing for GNOME desktop")
1540 (description "GNOME User Share is a small package that binds together
1541 various free software projects to bring easy to use user-level file
1542 sharing to the masses.")
1543 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1544 (license license:gpl2+)))
1545
1546 (define-public sushi
1547 (package
1548 (name "sushi")
1549 (version "3.32.1")
1550 (source (origin
1551 (method url-fetch)
1552 (uri (string-append "mirror://gnome/sources/" name "/"
1553 (version-major+minor version) "/"
1554 name "-" version ".tar.xz"))
1555 (sha256
1556 (base32
1557 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1558 (build-system meson-build-system)
1559 (arguments
1560 `(#:glib-or-gtk? #t
1561 #:phases
1562 (modify-phases %standard-phases
1563 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1564 (lambda* (#:key outputs #:allow-other-keys)
1565 (let ((prog (string-append (assoc-ref outputs "out")
1566 "/bin/sushi")))
1567 ;; Put existing typelibs before sushi's deps, so as to correctly
1568 ;; infer gdk-pixbuf
1569 (wrap-program prog
1570 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1571 #t))))))
1572 (native-inputs
1573 `(("glib:bin" ,glib "bin")
1574 ("gettext" ,gettext-minimal)
1575 ("gobject-introspection" ,gobject-introspection)
1576 ("pkg-config" ,pkg-config)))
1577 (inputs
1578 `(("clutter" ,clutter)
1579 ("clutter-gst" ,clutter-gst)
1580 ("clutter-gtk" ,clutter-gtk)
1581 ("evince" ,evince) ; For file previewing.
1582 ("freetype" ,freetype)
1583 ("gdk-pixbuf" ,gdk-pixbuf)
1584 ("gjs" ,gjs)
1585 ("gst-plugins-base" ,gst-plugins-base)
1586 ("gstreamer" ,gstreamer)
1587 ("gtksourceview" ,gtksourceview-3)
1588 ("harfbuzz" ,harfbuzz)
1589 ("libepoxy" ,libepoxy)
1590 ("libmusicbrainz" ,libmusicbrainz)
1591 ("libxml2" ,libxml2)
1592 ("neon" ,neon)
1593 ("webkitgtk" ,webkitgtk)))
1594 (synopsis "File previewer for the GNOME desktop")
1595 (description "Sushi is a DBus-activated service that allows applications to
1596 preview files on the GNOME desktop.")
1597 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1598 (license license:gpl2+)))
1599
1600 (define-public rygel
1601 (package
1602 (name "rygel")
1603 (version "0.38.3")
1604 (source (origin
1605 (method url-fetch)
1606 (uri (string-append "mirror://gnome/sources/" name "/"
1607 (version-major+minor version) "/"
1608 name "-" version ".tar.xz"))
1609 (sha256
1610 (base32
1611 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1612 (build-system gnu-build-system)
1613 (native-inputs
1614 `(("gettext" ,gettext-minimal)
1615 ("gobject-introspection" ,gobject-introspection)
1616 ("gtk-doc" ,gtk-doc/stable)
1617 ("pkg-config" ,pkg-config)
1618 ("vala" ,vala)))
1619 (inputs
1620 `(("gdk-pixbuf" ,gdk-pixbuf)
1621 ("gssdp" ,gssdp)
1622 ("gstreamer" ,gstreamer)
1623 ("gst-plugins-base" ,gst-plugins-base)
1624 ("gtk+" ,gtk+)
1625 ("gupnp" ,gupnp)
1626 ("gupnp-av" ,gupnp-av)
1627 ("gupnp-dlna" ,gupnp-dlna)
1628 ("libgee" ,libgee)
1629 ("libmediaart" ,libmediaart)
1630 ("libsoup" ,libsoup)
1631 ("libxslt" ,libxslt)
1632 ("libunistring" ,libunistring)
1633 ("tracker" ,tracker)))
1634 (synopsis "Share audio, video, and pictures with other devices")
1635 (description
1636 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1637 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1638 pictures, and to control a media player on your home network.
1639
1640 Rygel achieves interoperability with other devices by trying to conform to the
1641 strict requirements of DLNA and by converting media on-the-fly to formats that
1642 client devices can handle.")
1643 (home-page "https://wiki.gnome.org/Projects/Rygel")
1644 (license (list
1645 ;; For logo (data/icons/*).
1646 license:cc-by-sa3.0
1647 ;; For all others.
1648 license:lgpl2.1+))))
1649
1650 (define-public libnma
1651 (package
1652 (name "libnma")
1653 (version "1.8.28")
1654 (source (origin
1655 (method url-fetch)
1656 (uri (string-append "mirror://gnome/sources/" name "/"
1657 (version-major+minor version) "/"
1658 name "-" version ".tar.xz"))
1659 (sha256
1660 (base32
1661 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1662 (build-system meson-build-system)
1663 (arguments
1664 `(#:phases
1665 (modify-phases %standard-phases
1666 (add-after 'unpack 'patch-docbook-xml
1667 (lambda* (#:key inputs #:allow-other-keys)
1668 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1669 "/xml/dtd/docbook")))
1670 (substitute* "libnma-docs.xml"
1671 (("http://.*/docbookx\\.dtd")
1672 (string-append xmldoc "/docbookx.dtd")))
1673 #t))))))
1674 (native-inputs
1675 `(("docbook-xml" ,docbook-xml-4.3)
1676 ("gettext" ,gettext-minimal)
1677 ("glib:bin" ,glib "bin")
1678 ("gtk-doc" ,gtk-doc/stable)
1679 ("gobject-introspection" ,gobject-introspection)
1680 ("pkg-config" ,pkg-config)
1681 ("vala" ,vala)))
1682 (inputs
1683 `(("gcr" ,gcr)
1684 ("gtk+" ,gtk+)
1685 ("iso-codes" ,iso-codes)
1686 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1687 ("network-manager" ,network-manager)))
1688 (synopsis "Network Manager's applet library")
1689 (description "Libnma is an applet library for Network Manager. It was
1690 initially part of network-manager-applet and has now become a separate
1691 project.")
1692 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1693 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1694 ;; "LGPL-2.1+".
1695 (license license:gpl2+)))
1696
1697 (define-public gnome-menus
1698 (package
1699 (name "gnome-menus")
1700 (version "3.32.0")
1701 (source (origin
1702 (method url-fetch)
1703 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1704 (version-major+minor version) "/"
1705 name "-" version ".tar.xz"))
1706 (sha256
1707 (base32
1708 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1709 (build-system gnu-build-system)
1710 (native-inputs
1711 `(("gettext" ,gettext-minimal)
1712 ("glib" ,glib)
1713 ("pkg-config" ,pkg-config)))
1714 (synopsis "Menu support for GNOME desktop")
1715 (description "GNOME Menus contains the libgnome-menu library, the layout
1716 configuration files for the GNOME menu, as well as a simple menu editor.")
1717 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1718 (license license:lgpl2.0+)))
1719
1720 (define-public deja-dup
1721 (package
1722 (name "deja-dup")
1723 (version "40.6")
1724 (source (origin
1725 (method url-fetch)
1726 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1727 version "/deja-dup-" version ".tar.bz2"))
1728 (sha256
1729 (base32
1730 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1731 (build-system meson-build-system)
1732 (arguments
1733 `(#:glib-or-gtk? #t
1734 #:configure-flags
1735 (list
1736 ;; Otherwise, the RUNPATH will lack the final path component.
1737 (string-append "-Dc_link_args=-Wl,-rpath="
1738 (assoc-ref %outputs "out") "/lib/deja-dup"))
1739 #:phases
1740 (modify-phases %standard-phases
1741 (add-after 'unpack 'patch-paths
1742 (lambda* (#:key inputs #:allow-other-keys)
1743 (let ((python (assoc-ref inputs "python")))
1744 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1745 "libdeja/tests/scripts/instance-error.test")
1746 (("/bin/rm")
1747 (which "rm")))
1748 (substitute* "libdeja/tests/runner.vala"
1749 (("/bin/sh")
1750 (which "sh")))
1751 (substitute* "libdeja/tests/scripts/instance-error.test"
1752 (("`which python3`")
1753 (string-append python "/bin/python3"))))))
1754 (add-after 'unpack 'patch-libgpg-error
1755 (lambda* (#:key inputs #:allow-other-keys)
1756 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1757 (substitute* "meson.build"
1758 (("(gpgerror_libs = ).*" _ var)
1759 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1760 #t))
1761 (add-after 'unpack 'skip-gtk-update-icon-cache
1762 ;; Don't create 'icon-theme.cache'.
1763 (lambda _
1764 (substitute* "data/post-install.sh"
1765 (("gtk-update-icon-cache") "true"))
1766 #t)))))
1767 (inputs
1768 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1769 ("duplicity" ,duplicity)
1770 ("python" ,python)
1771 ("python-pygobject" ,python-pygobject)
1772 ("gtk+" ,gtk+)
1773 ("json-glib" ,json-glib)
1774 ("libnotify" ,libnotify)
1775 ("libgpg-error" ,libgpg-error)
1776 ("libsecret" ,libsecret)
1777 ("libsoup" ,libsoup)
1778 ("packagekit" ,packagekit)))
1779 (native-inputs
1780 `(("appstream-glib" ,appstream-glib)
1781 ("desktop-file-utils" ,desktop-file-utils)
1782 ("gettext" ,gettext-minimal)
1783 ("glib" ,glib "bin") ; for glib-compile-schemas.
1784 ("gobject-introspection" ,gobject-introspection)
1785 ("itstool" ,itstool)
1786 ("pkg-config" ,pkg-config)
1787 ("vala" ,vala)))
1788 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1789 (synopsis "Simple backup tool, for regular encrypted backups")
1790 (description
1791 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1792 uses duplicity as the backend, which supports incremental backups and storage
1793 either on a local, or remote machine via a number of methods.")
1794 (license license:gpl3+)))
1795
1796 (define-public gnome-commander
1797 (package
1798 (name "gnome-commander")
1799 (version "1.10.3")
1800 (source
1801 (origin
1802 (method url-fetch)
1803 (uri (string-append "mirror://gnome/sources/" name "/"
1804 (version-major+minor version) "/"
1805 "gnome-commander-" version ".tar.xz"))
1806 (sha256
1807 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1808 (build-system glib-or-gtk-build-system)
1809 (native-inputs
1810 `(("desktop-file-utils" ,desktop-file-utils)
1811 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1812 ("gettext" ,gettext-minimal)
1813 ("glib:bin" ,glib "bin")
1814 ("gobject-introspection" ,gobject-introspection)
1815 ("googletest" ,googletest)
1816 ("intltool" ,intltool)
1817 ("itstool" ,itstool)
1818 ("libtool" ,libtool)
1819 ("pkg-config" ,pkg-config)))
1820 (inputs
1821 `(("gconf" ,gconf)
1822 ("gnome-vfs" ,gnome-vfs)
1823 ("gtk+" ,gtk+-2)
1824 ("libxml2" ,libxml2)))
1825 (home-page "https://gcmd.github.io/")
1826 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1827 (description
1828 "GNOME Commander is a two-pane graphical file manager using GNOME
1829 libraries. It aims to fulfill the demands of more advanced users who
1830 like to focus on file management, their work through special applications
1831 and running smart commands.")
1832 (license license:gpl2+)))
1833
1834 (define-public gnome-user-docs
1835 (package
1836 (name "gnome-user-docs")
1837 (version "3.32.3")
1838 (source
1839 (origin
1840 (method url-fetch)
1841 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1842 (version-major+minor version)
1843 "/gnome-user-docs-" version ".tar.xz"))
1844 (sha256
1845 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1846 (build-system gnu-build-system)
1847 (native-inputs
1848 `(("gettext" ,gettext-minimal)
1849 ("itstool" ,itstool)
1850 ("pkg-config" ,pkg-config)
1851 ("xmllint" ,libxml2)))
1852 (synopsis "User documentation for the GNOME desktop")
1853 (description
1854 "The GNOME User Documentation explains how to use the GNOME desktop and its
1855 components. It covers usage and setup of the core GNOME programs by end-users
1856 and system administrators.")
1857 (home-page "https://live.gnome.org/DocumentationProject")
1858 (license license:cc-by3.0)))
1859
1860 (define-public gnome-getting-started-docs
1861 (package
1862 (name "gnome-getting-started-docs")
1863 (version "3.32.2")
1864 (source
1865 (origin
1866 (method url-fetch)
1867 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1868 (version-major+minor version)
1869 "/gnome-getting-started-docs-" version ".tar.xz"))
1870 (sha256
1871 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1872 (build-system gnu-build-system)
1873 (native-inputs
1874 `(("gettext" ,gettext-minimal)
1875 ("itstool" ,itstool)
1876 ("pkg-config" ,pkg-config)
1877 ("xmllint" ,libxml2)))
1878 (synopsis "Help to get new users started with the GNOME desktop")
1879 (description
1880 "The GNOME Getting Started Documentation contains GNOME's intuitive
1881 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1882
1883 It is normally used together with @command{gnome-initial-setup}, but is also
1884 useful as a tutorial and users' guide for new or less experienced users.")
1885 (home-page "https://live.gnome.org/DocumentationProject")
1886 (license license:cc-by-sa3.0)))
1887
1888 (define-public dia
1889 ;; This version from GNOME's repository includes fixes for compiling with
1890 ;; recent versions of the build tools. The latest activity on the
1891 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1892 ;; fixes since.
1893 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1894 (revision "2"))
1895 (package
1896 (name "dia")
1897 (version (git-version "0.97.3" revision commit))
1898 (source (origin
1899 (method git-fetch)
1900 (uri (git-reference
1901 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1902 (commit commit)))
1903 (file-name (git-file-name name version))
1904 (sha256
1905 (base32
1906 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1907 (build-system meson-build-system)
1908 (inputs
1909 `(("graphene" ,graphene)
1910 ("gtk+" ,gtk+-2)
1911 ("libxml2" ,libxml2)
1912 ("libxslt" ,libxslt)
1913 ("poppler" ,poppler)
1914 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1915 ;; ERROR: Unknown method "dependency" in object.
1916 ("python-2" ,python-2)))
1917 (native-inputs
1918 `(("appstream-glib" ,appstream-glib)
1919 ("docbook-xsl" ,docbook-xsl)
1920 ("glib" ,glib "bin")
1921 ("intltool" ,intltool)
1922 ("pkg-config" ,pkg-config)))
1923 (home-page "https://wiki.gnome.org/Apps/Dia")
1924 (synopsis "Diagram creation for GNOME")
1925 (description "Dia can be used to draw different types of diagrams, and
1926 includes support for UML static structure diagrams (class diagrams), entity
1927 relationship modeling, and network diagrams. The program supports various file
1928 formats like PNG, SVG, PDF and EPS.")
1929 (license license:gpl2+))))
1930
1931 ;; This is the unstable release, but it is required for the current stable
1932 ;; release of gvfs (1.38.1).
1933 (define-public libgdata
1934 (package
1935 (name "libgdata")
1936 (version "0.17.9")
1937 (source (origin
1938 (method url-fetch)
1939 (uri (string-append "mirror://gnome/sources/" name "/"
1940 (version-major+minor version) "/"
1941 name "-" version ".tar.xz"))
1942 (sha256
1943 (base32
1944 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1945 (build-system gnu-build-system)
1946 (arguments
1947 '(#:phases
1948 (modify-phases %standard-phases
1949 (add-before 'check 'disable-failing-tests
1950 (lambda _
1951 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1952 ;; They have been removed in libgdata 0.17.6, so just do the same.
1953 (substitute* "gdata/tests/Makefile"
1954 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1955 #t)))))
1956 (native-inputs
1957 `(("glib:bin" ,glib "bin")
1958 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1959 ("intltool" ,intltool)
1960 ("pkg-config" ,pkg-config)
1961 ("uhttpmock" ,uhttpmock)))
1962 (inputs
1963 `(("cyrus-sasl" ,cyrus-sasl)
1964 ("glib-networking" ,glib-networking)))
1965 (propagated-inputs
1966 `(("gcr" ,gcr)
1967 ("glib" ,glib)
1968 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1969 ("json-glib" ,json-glib)
1970 ("liboauth" ,liboauth)
1971 ("libsoup" ,libsoup)
1972 ("libxml2" ,libxml2)))
1973 (home-page "https://wiki.gnome.org/Projects/libgdata")
1974 (synopsis "Library for accessing online service APIs")
1975 (description
1976 "libgdata is a GLib-based library for accessing online service APIs using
1977 the GData protocol — most notably, Google's services. It provides APIs to
1978 access the common Google services, and has full asynchronous support.")
1979 (license license:lgpl2.1+)))
1980
1981 (define-public libgxps
1982 (package
1983 (name "libgxps")
1984 (version "0.3.2")
1985 (source (origin
1986 (method url-fetch)
1987 (uri (string-append "mirror://gnome/sources/" name "/"
1988 (version-major+minor version) "/"
1989 name "-" version ".tar.xz"))
1990 (sha256
1991 (base32
1992 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1993 (build-system meson-build-system)
1994 (native-inputs
1995 `(("gobject-introspection" ,gobject-introspection)
1996 ("pkg-config" ,pkg-config)))
1997 (inputs
1998 `(("gtk+" ,gtk+)
1999 ("libjpeg" ,libjpeg-turbo)
2000 ("lcms" ,lcms)
2001 ("libtiff" ,libtiff)))
2002 (propagated-inputs
2003 ;; In Requires of libgxps.pc.
2004 `(("cairo" ,cairo)
2005 ("glib" ,glib)
2006 ("libarchive" ,libarchive)))
2007 (home-page "https://wiki.gnome.org/Projects/libgxps")
2008 (synopsis "GObject-based library for handling and rendering XPS documents")
2009 (description
2010 "libgxps is a GObject-based library for handling and rendering XPS
2011 documents. This package also contains binaries that can convert XPS documents
2012 to other formats.")
2013 (license license:lgpl2.1+)))
2014
2015 (define-public gnome-characters
2016 (package
2017 (name "gnome-characters")
2018 (version "3.30.0")
2019 (source
2020 (origin
2021 (method url-fetch)
2022 (uri (string-append "mirror://gnome/sources/"
2023 "gnome-characters/" (version-major+minor version)
2024 "/gnome-characters-" version ".tar.xz"))
2025 (sha256
2026 (base32
2027 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2028 (build-system meson-build-system)
2029 (arguments
2030 `(#:glib-or-gtk? #t
2031 #:phases (modify-phases %standard-phases
2032 (add-after 'install 'wrap
2033 (lambda* (#:key outputs #:allow-other-keys)
2034 ;; GNOME Characters needs Typelib files from GTK and
2035 ;; gnome-desktop.
2036 (wrap-program (string-append (assoc-ref outputs "out")
2037 "/bin/gnome-characters")
2038 `("GI_TYPELIB_PATH" ":" prefix
2039 (,(getenv "GI_TYPELIB_PATH"))))
2040 #t)))))
2041 (native-inputs
2042 `(("gettext" ,gettext-minimal)
2043 ("glib:bin" ,glib "bin")
2044 ("gtk+:bin" ,gtk+ "bin")
2045 ("pkg-config" ,pkg-config)
2046 ("python" ,python-minimal)))
2047 (inputs
2048 `(("gjs" ,gjs)
2049 ("gtk+" ,gtk+)
2050 ("libunistring" ,libunistring)
2051 ("gnome-desktop" ,gnome-desktop)))
2052 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2053 (synopsis "Find and insert unusual characters")
2054 (description "Characters is a simple utility application to find
2055 and insert unusual characters. It allows you to quickly find the
2056 character you are looking for by searching for keywords.")
2057 (license license:bsd-3)))
2058
2059 (define-public gnome-common
2060 (package
2061 (name "gnome-common")
2062 (version "3.18.0")
2063 (source
2064 (origin
2065 (method url-fetch)
2066 (uri (string-append "mirror://gnome/sources/" name "/"
2067 (version-major+minor version) "/"
2068 name "-" version ".tar.xz"))
2069 (sha256
2070 (base32
2071 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2072 (build-system gnu-build-system)
2073 (home-page "https://www.gnome.org/")
2074 (synopsis "Bootstrap GNOME modules built from Git")
2075 (description "gnome-common contains various files needed to bootstrap
2076 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2077 can be used to configure a source directory checked out from Git and some
2078 commonly used macros.")
2079 (license license:gpl2+)))
2080
2081 (define-public gnome-contacts
2082 (package
2083 (name "gnome-contacts")
2084 (version "3.34")
2085 (source (origin
2086 (method url-fetch)
2087 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2088 (version-major+minor version) "/"
2089 name "-" version ".tar.xz"))
2090 (sha256
2091 (base32
2092 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2093 (build-system meson-build-system)
2094 (arguments
2095 `(#:configure-flags '("-Dcheese=false")
2096 #:phases
2097 (modify-phases %standard-phases
2098 (add-after 'unpack 'generate-vapis
2099 (lambda* (#:key inputs #:allow-other-keys)
2100 ;; To generate goa's missing .vapi file
2101 (define goa
2102 (assoc-ref inputs "gnome-online-accounts:lib"))
2103
2104 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2105 "--library=goa-1.0"
2106 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2107 #t))
2108 (add-after 'unpack 'skip-gtk-update-icon-cache
2109 ;; Don't create 'icon-theme.cache'.
2110 (lambda _
2111 (substitute* "build-aux/meson_post_install.py"
2112 (("gtk-update-icon-cache") "true"))
2113 #t)))))
2114 (native-inputs
2115 `(("glib:bin" ,glib "bin")
2116 ("pkg-config" ,pkg-config)))
2117 (inputs
2118 `(("docbook-xml" ,docbook-xml)
2119 ("dockbook-xsl" ,docbook-xsl)
2120 ("evolution-data-server" ,evolution-data-server)
2121 ("gettext" ,gettext-minimal)
2122 ("gnome-desktop" ,gnome-desktop)
2123 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2124 ("gobject-introspection" ,gobject-introspection)
2125 ("gst-plugins-base" ,gst-plugins-base)
2126 ("gtk+" ,gtk+)
2127 ("libgee" ,libgee)
2128 ("libxslt" ,libxslt)
2129 ("telepathy-glib" ,telepathy-glib)
2130 ("vala" ,vala)))
2131 (propagated-inputs
2132 `(("folks" ,folks)
2133 ("telepathy-mission-control" ,telepathy-mission-control)))
2134 (synopsis "GNOME's integrated address book")
2135 (description
2136 "GNOME Contacts organizes your contact information from online and
2137 offline sources, providing a centralized place for managing your contacts.")
2138 (home-page "https://wiki.gnome.org/Apps/Contacts")
2139 (license license:gpl2+)))
2140
2141 (define-public gnome-desktop
2142 (package
2143 (name "gnome-desktop")
2144 (version "3.34.2")
2145 (source
2146 (origin
2147 (method url-fetch)
2148 (uri (string-append "mirror://gnome/sources/" name "/"
2149 (version-major+minor version) "/"
2150 name "-" version ".tar.xz"))
2151 (sha256
2152 (base32
2153 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2154 (build-system meson-build-system)
2155 (arguments
2156 '(#:phases
2157 (modify-phases %standard-phases
2158 (add-before 'configure 'patch-path
2159 (lambda* (#:key inputs #:allow-other-keys)
2160 (let ((libc (assoc-ref inputs "libc")))
2161 (substitute* "libgnome-desktop/gnome-languages.c"
2162 (("\"locale\"")
2163 (string-append "\"" libc "/bin/locale\"")))
2164 #t)))
2165 (add-before 'configure 'patch-bubblewrap
2166 (lambda* (#:key inputs #:allow-other-keys)
2167 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2168 (("\"bwrap\",")
2169 (string-append "\"" (which "bwrap") "\","))
2170 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2171 (string-append "\"--ro-bind\", \""
2172 (%store-directory)
2173 "\", \""
2174 (%store-directory)
2175 "\","))
2176 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2177 #t))
2178 (add-before 'check 'pre-check
2179 (lambda* (#:key inputs #:allow-other-keys)
2180 ;; Tests require a running X server and locales.
2181 (system "Xvfb :1 &")
2182 (setenv "DISPLAY" ":1")
2183 (setenv "GUIX_LOCPATH"
2184 (string-append (assoc-ref inputs "glibc-locales")
2185 "/lib/locale"))
2186 #t)))))
2187 (native-inputs
2188 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2189 ("glibc-locales" ,glibc-locales) ; for tests
2190 ("gobject-introspection" ,gobject-introspection)
2191 ("itstool" ,itstool)
2192 ("intltool" ,intltool)
2193 ("pkg-config" ,pkg-config)
2194 ("xmllint" ,libxml2)
2195 ("xorg-server" ,xorg-server-for-tests)))
2196 (propagated-inputs
2197 ;; Required by gnome-desktop-3.0.pc.
2198 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2199 ("gtk+" ,gtk+)
2200 ("iso-codes" ,iso-codes)
2201 ("libseccomp" ,libseccomp)
2202 ("libx11" ,libx11)
2203 ("xkeyboard-config" ,xkeyboard-config)))
2204 (inputs
2205 `(("gdk-pixbuf" ,gdk-pixbuf)
2206 ("glib" ,glib)
2207 ("bubblewrap" ,bubblewrap)
2208 ("libxext" ,libxext)
2209 ("libxkbfile" ,libxkbfile)
2210 ("libxrandr" ,libxrandr)))
2211 (home-page "https://www.gnome.org/")
2212 (synopsis
2213 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2214 (description
2215 "The libgnome-desktop library provides API shared by several applications
2216 on the desktop, but that cannot live in the platform for various reasons.
2217 There is no API or ABI guarantee, although we are doing our best to provide
2218 stability. Documentation for the API is available with gtk-doc.
2219
2220 The gnome-about program helps find which version of GNOME is installed.")
2221 ; Some bits under the LGPL.
2222 (license license:gpl2+)))
2223
2224 (define-public gnome-doc-utils
2225 (package
2226 (name "gnome-doc-utils")
2227 (version "0.20.10")
2228 (source
2229 (origin
2230 (method url-fetch)
2231 (uri (string-append "mirror://gnome/sources/" name "/"
2232 (version-major+minor version) "/"
2233 name "-" version ".tar.xz"))
2234 (sha256
2235 (base32
2236 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2237 (build-system gnu-build-system)
2238 (native-inputs
2239 `(("intltool" ,intltool)
2240 ("docbook-xml" ,docbook-xml-4.4)
2241 ("python2-libxml2" ,python2-libxml2)
2242 ("libxml2" ,libxml2)
2243 ("libxslt" ,libxslt)
2244 ("pkg-config" ,pkg-config)
2245 ("python-2" ,python-2)))
2246 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2247 (synopsis
2248 "Documentation utilities for the Gnome project")
2249 (description
2250 "Gnome-doc-utils is a collection of documentation utilities for the
2251 Gnome project. It includes xml2po tool which makes it easier to translate
2252 and keep up to date translations of documentation.")
2253 (license license:gpl2+))) ; xslt under lgpl
2254
2255 (define-public gnome-disk-utility
2256 (package
2257 (name "gnome-disk-utility")
2258 (version "3.34.0")
2259 (source (origin
2260 (method url-fetch)
2261 (uri (string-append "mirror://gnome/sources/" name "/"
2262 (version-major+minor version) "/"
2263 name "-" version ".tar.xz"))
2264 (sha256
2265 (base32
2266 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2267 (build-system meson-build-system)
2268 (arguments
2269 '(#:configure-flags '("-Dlogind=libelogind")
2270 #:phases
2271 (modify-phases %standard-phases
2272 (add-after 'unpack 'skip-gtk-update-icon-cache
2273 ;; Don't create 'icon-theme.cache'.
2274 (lambda _
2275 (substitute* "meson_post_install.py"
2276 (("gtk-update-icon-cache") "true"))
2277 #t)))))
2278 (native-inputs
2279 `(("glib:bin" ,glib "bin")
2280 ("intltool" ,intltool)
2281 ("pkg-config" ,pkg-config)
2282 ("docbook-xml" ,docbook-xml)
2283 ("docbook-xsl" ,docbook-xsl)
2284 ("libxml2" ,libxml2)
2285 ("libxslt" ,libxslt)))
2286 (inputs
2287 `(("elogind" ,elogind)
2288 ("glib" ,glib)
2289 ("appstream-glib" ,appstream-glib)
2290 ("gnome-settings-daemon" ,gnome-settings-daemon)
2291 ("gtk+" ,gtk+)
2292 ("libcanberra" ,libcanberra)
2293 ("libdvdread" ,libdvdread)
2294 ("libnotify" ,libnotify)
2295 ("libpwquality" ,libpwquality)
2296 ("libsecret" ,libsecret)
2297 ("udisks" ,udisks)))
2298 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2299 (synopsis "Disk management utility for GNOME")
2300 (description "Disk management utility for GNOME.")
2301 (license license:gpl2+)))
2302
2303 (define-public gnome-font-viewer
2304 (package
2305 (name "gnome-font-viewer")
2306 (version "3.30.0")
2307 (source (origin
2308 (method url-fetch)
2309 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2310 (version-major+minor version)
2311 "/gnome-font-viewer-" version ".tar.xz"))
2312 (sha256
2313 (base32
2314 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2315 (build-system meson-build-system)
2316 (arguments
2317 '(#:phases
2318 (modify-phases %standard-phases
2319 (add-after 'unpack 'patch-post-install-script
2320 (lambda _
2321 (substitute* "meson-postinstall.sh"
2322 (("update-desktop-database") (which "true")))
2323 #t))
2324 (add-after 'install 'patch-thumbnailer
2325 (lambda* (#:key outputs #:allow-other-keys)
2326 (let ((out (assoc-ref outputs "out")))
2327 (substitute*
2328 (string-append
2329 out
2330 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2331 (("gnome-thumbnail-font")
2332 (string-append out "/bin/gnome-thumbnail-font"))))
2333 #t)))))
2334 (native-inputs
2335 `(("gettext" ,gettext-minimal)
2336 ("glib:bin" ,glib "bin")
2337 ("pkg-config" ,pkg-config)))
2338 (inputs
2339 `(("glib" ,glib)
2340 ("gnome-desktop" ,gnome-desktop)
2341 ("gtk+" ,gtk+)))
2342 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2343 (synopsis "GNOME Fonts")
2344 (description "Application to show you the fonts installed on your computer
2345 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2346 the font would look under various sizes.")
2347 (license license:gpl2+)))
2348
2349 (define-public gcr
2350 (package
2351 (name "gcr")
2352 (version "3.34.0")
2353 (source (origin
2354 (method url-fetch)
2355 (uri (string-append "mirror://gnome/sources/" name "/"
2356 (version-major+minor version) "/"
2357 name "-" version ".tar.xz"))
2358 (sha256
2359 (base32
2360 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2361 (build-system gnu-build-system)
2362 (arguments
2363 '(#:phases
2364 (modify-phases %standard-phases
2365 ;; These fail because /var/lib/dbus/machine-id is not present in the
2366 ;; build environment.
2367 (add-after 'unpack 'disable-failing-tests
2368 (lambda _
2369 (substitute* "Makefile.in"
2370 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2371 ""))
2372 #t))
2373 (add-before 'check 'pre-check
2374 (lambda _
2375 ;; Some tests expect to write to $HOME.
2376 (setenv "HOME" "/tmp")
2377 #t)))))
2378 (inputs
2379 `(("dbus" ,dbus)
2380 ("gnupg" ,gnupg) ;called as a child process during tests
2381 ("libgcrypt" ,libgcrypt)))
2382 (native-inputs
2383 `(("python" ,python-wrapper) ;for tests
2384 ("pkg-config" ,pkg-config)
2385 ("gettext" ,gettext-minimal)
2386 ("glib" ,glib "bin")
2387 ("gobject-introspection" ,gobject-introspection)
2388 ("libxml2" ,libxml2)
2389 ("vala" ,vala)
2390 ("xsltproc" ,libxslt)))
2391 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2392 (propagated-inputs
2393 `(("p11-kit" ,p11-kit)
2394 ("glib" ,glib)
2395 ("gtk+" ,gtk+)))
2396 (home-page "https://www.gnome.org")
2397 (synopsis "Libraries for displaying certificates and accessing key stores")
2398 (description
2399 "The GCR package contains libraries used for displaying certificates and
2400 accessing key stores. It also provides the viewer for crypto files on the
2401 GNOME Desktop.")
2402 (license license:lgpl2.1+)))
2403
2404 (define-public gdl
2405 (package
2406 (name "gdl")
2407 (version "3.34.0")
2408 (source (origin
2409 (method git-fetch)
2410 (uri (git-reference
2411 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2412 (commit (string-append "GDL_" (string-map (match-lambda
2413 (#\. #\_)
2414 (c c))
2415 version)))))
2416 (file-name (git-file-name name version))
2417 (sha256
2418 (base32
2419 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2420 (build-system gnu-build-system)
2421 (native-inputs
2422 `(("autoconf" ,autoconf)
2423 ("automake" ,automake)
2424 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2425 ("gnome-common" ,gnome-common)
2426 ("gtk-doc" ,gtk-doc/stable)
2427 ("intltool" ,intltool)
2428 ("pkg-config" ,pkg-config)
2429 ("libtool" ,libtool)
2430 ("which" ,which)))
2431 (inputs
2432 `(("libxml2" ,libxml2)))
2433 (propagated-inputs
2434 ;; The gdl-3.0.pc file 'Requires' GTK+.
2435 `(("gtk+" ,gtk+)))
2436 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2437 (synopsis "GNOME docking library")
2438 (description "This library provides docking features for gtk+.")
2439 (license license:lgpl2.1+)))
2440
2441 ;;; A minimal variant used to break a cycle with Inkscape.
2442 (define-public gdl-minimal
2443 (package/inherit gdl
2444 (name "gdl-minimal")
2445 (arguments
2446 '(#:phases
2447 (modify-phases %standard-phases
2448 (add-after 'unpack 'disable-doc-generation
2449 ;; XXX: There is no easy way to disable generating the
2450 ;; documentation.
2451 (lambda _
2452 (substitute* "configure.in"
2453 (("GTK_DOC_CHECK.*") "")
2454 (("docs/.*") ""))
2455 (substitute* "Makefile.am"
2456 (("gdl docs po") "gdl po"))
2457 #t)))))
2458 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2459
2460 (define-public libgnome-keyring
2461 (package
2462 (name "libgnome-keyring")
2463 (version "3.12.0")
2464 (source (origin
2465 (method url-fetch)
2466 (uri (string-append "mirror://gnome/sources/" name "/"
2467 (version-major+minor version) "/"
2468 name "-" version ".tar.xz"))
2469 (sha256
2470 (base32
2471 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2472 (build-system gnu-build-system)
2473 (inputs
2474 `(("libgcrypt" ,libgcrypt)
2475 ("dbus" ,dbus)))
2476 (native-inputs
2477 `(("pkg-config" ,pkg-config)
2478 ("glib" ,glib "bin")
2479 ("intltool" ,intltool)))
2480 (propagated-inputs
2481 ;; Referred to in .h files and .pc.
2482 `(("glib" ,glib)))
2483 (home-page "https://www.gnome.org")
2484 (synopsis "Accessing passwords from the GNOME keyring")
2485 (description
2486 "Client library to access passwords from the GNOME keyring.")
2487
2488 ;; Though a couple of files are LGPLv2.1+.
2489 (license license:lgpl2.0+)))
2490
2491 (define-public gnome-keyring
2492 (package
2493 (name "gnome-keyring")
2494 (version "3.34.0")
2495 (source (origin
2496 (method url-fetch)
2497 (uri (string-append "mirror://gnome/sources/" name "/"
2498 (version-major+minor version) "/"
2499 name "-" version ".tar.xz"))
2500 (sha256
2501 (base32
2502 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2503 (build-system gnu-build-system)
2504 (arguments
2505 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2506 ;not exist
2507 #:configure-flags
2508 (list
2509 (string-append "--with-pkcs11-config="
2510 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2511 (string-append "--with-pkcs11-modules="
2512 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2513 #:phases
2514 (modify-phases %standard-phases
2515 (add-after 'unpack 'fix-/bin/sh-reference
2516 (lambda _
2517 (substitute* "po/Makefile.in.in"
2518 (("/bin/sh") (which "sh")))
2519 #t))
2520 (add-after 'unpack 'fix-docbook
2521 (lambda* (#:key inputs #:allow-other-keys)
2522 (substitute* "docs/Makefile.am"
2523 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2524 (string-append (assoc-ref inputs "docbook-xsl")
2525 "/xml/xsl/docbook-xsl-"
2526 ,(package-version docbook-xsl)
2527 "/manpages/docbook.xsl")))
2528 (setenv "XML_CATALOG_FILES"
2529 (string-append (assoc-ref inputs "docbook-xml")
2530 "/xml/dtd/docbook/catalog.xml"))
2531 ;; Rerun the whole thing to avoid version mismatch ("This is
2532 ;; Automake 1.15.1, but the definition used by this
2533 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2534 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2535 (invoke "autoconf")
2536 (invoke "aclocal")
2537 (invoke "automake" "-ac"))))))
2538 (inputs
2539 `(("libgcrypt" ,libgcrypt)
2540 ("linux-pam" ,linux-pam)
2541 ("openssh" ,openssh)
2542 ("dbus" ,dbus)
2543 ("gcr" ,gcr)))
2544 (native-inputs
2545 `(("pkg-config" ,pkg-config)
2546 ("glib" ,glib "bin")
2547 ("glib" ,glib) ; for m4 macros
2548 ("python" ,python-2) ;for tests
2549 ("intltool" ,intltool)
2550 ("autoconf" ,autoconf)
2551 ("automake" ,automake)
2552 ("libxslt" ,libxslt) ;for documentation
2553 ("docbook-xml" ,docbook-xml-4.2)
2554 ("docbook-xsl" ,docbook-xsl)))
2555 (propagated-inputs
2556 `(("gcr" ,gcr)))
2557 (home-page "https://www.gnome.org")
2558 (synopsis "Daemon to store passwords and encryption keys")
2559 (description
2560 "gnome-keyring is a program that keeps passwords and other secrets for
2561 users. It is run as a daemon in the session, similar to ssh-agent, and other
2562 applications locate it via an environment variable or D-Bus.
2563
2564 The program can manage several keyrings, each with its own master password,
2565 and there is also a session keyring which is never stored to disk, but
2566 forgotten when the session ends.")
2567 (license license:lgpl2.1+)))
2568
2569 (define-public evince
2570 (package
2571 (name "evince")
2572 (version "3.36.5")
2573 (source (origin
2574 (method url-fetch)
2575 (uri (string-append "mirror://gnome/sources/evince/"
2576 (version-major+minor version) "/"
2577 "evince-" version ".tar.xz"))
2578 (sha256
2579 (base32
2580 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2581 (build-system glib-or-gtk-build-system)
2582 (arguments
2583 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2584 #:phases
2585 (modify-phases %standard-phases
2586 (add-before 'install 'skip-gtk-update-icon-cache
2587 ;; Don't create 'icon-theme.cache'.
2588 (lambda _
2589 (substitute* "data/Makefile"
2590 (("gtk-update-icon-cache") "true"))
2591 #t)))))
2592 (inputs
2593 `(("libarchive" ,libarchive)
2594 ("libgxps" ,libgxps)
2595 ("libspectre" ,libspectre)
2596 ("djvulibre" ,djvulibre)
2597 ("ghostscript" ,ghostscript)
2598 ("poppler" ,poppler)
2599 ("libtiff" ,libtiff)
2600 ;; TODO:
2601 ;; Build libkpathsea as a shared library for DVI support.
2602 ;; ("libkpathsea" ,texlive-bin)
2603 ("gnome-desktop" ,gnome-desktop)
2604 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2605 ("gspell" ,gspell)
2606 ("libgnome-keyring" ,libgnome-keyring)
2607 ("adwaita-icon-theme" ,adwaita-icon-theme)
2608 ("gdk-pixbuf" ,gdk-pixbuf)
2609 ("atk" ,atk)
2610 ("pango" ,pango)
2611 ("gtk+" ,gtk+)
2612 ("glib" ,glib)
2613 ("libxml2" ,libxml2)
2614 ("libsm" ,libsm)
2615 ("libice" ,libice)
2616 ("shared-mime-info" ,shared-mime-info)
2617 ("dconf" ,dconf)
2618 ("libcanberra" ,libcanberra)
2619 ("libsecret" ,libsecret)
2620
2621 ;; For tests.
2622 ("dogtail" ,python2-dogtail)))
2623 (native-inputs
2624 `(("itstool" ,itstool)
2625 ("intltool" ,intltool)
2626 ("glib" ,glib "bin")
2627 ("gobject-introspection" ,gobject-introspection)
2628 ("pkg-config" ,pkg-config)
2629 ("xmllint" ,libxml2)))
2630 (home-page "https://www.gnome.org/projects/evince/")
2631 (synopsis "GNOME's document viewer")
2632 (description
2633 "Evince is a document viewer for multiple document formats. It
2634 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2635 of Evince is to replace the multiple document viewers that exist
2636 on the GNOME Desktop with a single simple application.")
2637 (license license:gpl2+)))
2638
2639 (define-public gsettings-desktop-schemas
2640 (package
2641 (name "gsettings-desktop-schemas")
2642 (version "3.34.0")
2643 (source
2644 (origin
2645 (method url-fetch)
2646 (uri (string-append "mirror://gnome/sources/" name "/"
2647 (version-major+minor version) "/"
2648 name "-" version ".tar.xz"))
2649 (sha256
2650 (base32
2651 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2652 (build-system meson-build-system)
2653 (arguments
2654 '(#:phases (modify-phases %standard-phases
2655 (add-after 'unpack 'patch-schemas
2656 (lambda* (#:key inputs #:allow-other-keys)
2657 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2658 (substitute* (find-files "schemas"
2659 "\\.gschema\\.xml\\.in$")
2660 ;; Provide the correct file name of the default GNOME
2661 ;; background, 'adwaita-timed.xml'.
2662 (("@datadir@/backgrounds/gnome")
2663 (string-append theme "/share/backgrounds/gnome"))
2664 ;; Do not reference fonts, that may not exist.
2665 (("'Source Code Pro 10'") "'Monospace 11'"))
2666 #t))))))
2667 (inputs
2668 `(("glib" ,glib)
2669 ("gnome-backgrounds" ,gnome-backgrounds)))
2670 (native-inputs
2671 `(("intltool" ,intltool)
2672 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2673 ("gobject-introspection" ,gobject-introspection)
2674 ("pkg-config" ,pkg-config)))
2675 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2676 (synopsis
2677 "GNOME settings for various desktop components")
2678 (description
2679 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2680 for settings shared by various components of the GNOME desktop.")
2681 (license license:lgpl2.1+)))
2682
2683 (define-public python-liblarch
2684 (package
2685 (name "python-liblarch")
2686 (version "3.0.1")
2687 (source
2688 (origin
2689 (method git-fetch)
2690 (uri (git-reference
2691 (url "https://github.com/getting-things-gnome/liblarch")
2692 (commit (string-append "v" version))))
2693 (file-name (git-file-name name version))
2694 (sha256
2695 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2696 (build-system python-build-system)
2697 (arguments
2698 `(#:phases
2699 (modify-phases %standard-phases
2700 (add-before 'check 'start-xserver
2701 (lambda* (#:key inputs #:allow-other-keys)
2702 (system (format #f "~a/bin/Xvfb :1 &"
2703 (assoc-ref inputs "xorg-server")))
2704 (setenv "DISPLAY" ":1")
2705 #t)))))
2706 (native-inputs
2707 `(("xorg-server" ,xorg-server-for-tests)))
2708 (inputs
2709 `(("gtk+" ,gtk+)))
2710 (propagated-inputs
2711 `(("python-pygobject" ,python-pygobject)))
2712 (home-page "https://wiki.gnome.org/Projects/liblarch")
2713 (synopsis "Library to easily handle complex data structures")
2714 (description
2715 "Liblarch is a Python library built to easily handle data structures such
2716 as lists, trees and acyclic graphs. There's also a GTK binding that will
2717 allow you to use your data structure in a @code{Gtk.Treeview}.
2718
2719 Liblarch support multiple views of one data structure and complex filtering.
2720 That way, you have a clear separation between your data themselves (Model)
2721 and how they are displayed (View).")
2722 (license license:lgpl3+)))
2723
2724 (define-public gtg
2725 (package
2726 (name "gtg")
2727 (version "0.4")
2728 (source
2729 (origin
2730 (method git-fetch)
2731 (uri (git-reference
2732 (url "https://github.com/getting-things-gnome/gtg")
2733 (commit (string-append "v" version))))
2734 (file-name (git-file-name name version))
2735 (sha256
2736 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2737 (build-system meson-build-system)
2738 (arguments
2739 `(#:glib-or-gtk? #t
2740 #:phases
2741 (modify-phases %standard-phases
2742 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2743 (lambda* (#:key outputs #:allow-other-keys)
2744 (let ((prog (string-append (assoc-ref outputs "out")
2745 "/bin/gtg"))
2746 (pylib (string-append (assoc-ref outputs "out")
2747 "/lib/python"
2748 ,(version-major+minor
2749 (package-version python))
2750 "/site-packages")))
2751 (wrap-program prog
2752 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2753 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2754 #t))))))
2755 (native-inputs
2756 `(("desktop-file-utils" ,desktop-file-utils)
2757 ("gettext" ,gettext-minimal)
2758 ("glib:bin" ,glib "bin")
2759 ("gobject-introspection" ,gobject-introspection)
2760 ("gtk+:bin" ,gtk+ "bin")
2761 ("pkg-config" ,pkg-config)))
2762 (inputs
2763 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2764 ("gtk+" ,gtk+)
2765 ("python-dbus" ,python-dbus)
2766 ("python-liblarch" ,python-liblarch)
2767 ("python-pycairo" ,python-pycairo)
2768 ("python-pygobject" ,python-pygobject)
2769 ("python-pyxdg" ,python-pyxdg)))
2770 (home-page "https://wiki.gnome.org/Apps/GTG")
2771 (synopsis "Personal organizer for the GNOME desktop")
2772 (description
2773 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2774 organizer for the GNOME desktop environment inspired by the Getting Things
2775 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2776 and ease of use in mind so it can be used as more than just GTD software.
2777 GTG is intended to help you track everything you need to do and need to
2778 know, from small tasks to large projects.")
2779 (license license:gpl3+)))
2780
2781 (define-public icon-naming-utils
2782 (package
2783 (name "icon-naming-utils")
2784 (version "0.8.90")
2785 (source
2786 (origin
2787 (method url-fetch)
2788 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2789 version ".tar.bz2"))
2790 (sha256
2791 (base32
2792 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2793 (build-system gnu-build-system)
2794 (inputs
2795 `(("perl" ,perl)
2796 ("perl-xml-simple" ,perl-xml-simple)))
2797 (arguments
2798 '(#:phases
2799 (modify-phases %standard-phases
2800 (add-after 'install 'set-load-paths
2801 ;; Tell 'icon-name-mapping' where XML::Simple is.
2802 (lambda* (#:key outputs #:allow-other-keys)
2803 (let* ((out (assoc-ref outputs "out"))
2804 (prog (string-append out "/libexec/icon-name-mapping")))
2805 (wrap-program
2806 prog
2807 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2808 #t)))))
2809 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2810 (synopsis
2811 "Utility to implement the Freedesktop Icon Naming Specification")
2812 (description
2813 "To help with the transition to the Freedesktop Icon Naming
2814 Specification, the icon naming utility maps the icon names used by the
2815 GNOME and KDE desktops to the icon names proposed in the specification.")
2816 (license license:lgpl2.1+)))
2817
2818 (define-public gnome-icon-theme
2819 (package
2820 (name "gnome-icon-theme")
2821 (version "3.12.0")
2822 (source
2823 (origin
2824 (method url-fetch)
2825 (uri (string-append "mirror://gnome/sources/" name "/"
2826 (version-major+minor version) "/"
2827 name "-" version ".tar.xz"))
2828 (sha256
2829 (base32
2830 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2831 (build-system gnu-build-system)
2832 (arguments
2833 '(#:configure-flags
2834 ;; Don't create 'icon-theme.cache'.
2835 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2836 (true (string-append coreutils "/bin/true")))
2837 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2838 (native-inputs
2839 `(("icon-naming-utils" ,icon-naming-utils)
2840 ("intltool" ,intltool)
2841 ("pkg-config" ,pkg-config)))
2842 (home-page "https://wiki.gnome.org/Personalization")
2843 (synopsis "GNOME icon theme")
2844 (description "Icons for the GNOME desktop.")
2845 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2846
2847 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2848 (define-public adwaita-icon-theme
2849 (package (inherit gnome-icon-theme)
2850 (name "adwaita-icon-theme")
2851 (version "3.34.3")
2852 (source (origin
2853 (method url-fetch)
2854 (uri (string-append "mirror://gnome/sources/" name "/"
2855 (version-major+minor version) "/"
2856 name "-" version ".tar.xz"))
2857 (sha256
2858 (base32
2859 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2860 (native-inputs
2861 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2862
2863 (define-public tango-icon-theme
2864 (package
2865 (name "tango-icon-theme")
2866 (version "0.8.90")
2867 (source (origin
2868 (method url-fetch)
2869 (uri (string-append "http://tango.freedesktop.org/releases/"
2870 "tango-icon-theme-" version ".tar.bz2"))
2871 (sha256
2872 (base32
2873 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2874 (build-system gnu-build-system)
2875 (native-inputs
2876 `(("icon-naming-utils" ,icon-naming-utils)
2877 ("intltool" ,intltool)
2878 ("imagemagick" ,imagemagick)
2879 ("pkg-config" ,pkg-config)))
2880 (home-page "http://tango-project.org/")
2881 (synopsis "Tango icon theme")
2882 (description "This is an icon theme that follows the Tango visual
2883 guidelines.")
2884 (license license:public-domain)))
2885
2886 (define-public shared-mime-info
2887 (package
2888 (name "shared-mime-info")
2889 (version "1.15")
2890 (source (origin
2891 (method url-fetch)
2892 (uri (string-append
2893 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2894 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2895 ".tar.xz"))
2896 (sha256
2897 (base32
2898 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2899 (build-system gnu-build-system)
2900 (arguments
2901 ;; The build system appears not to be parallel-safe.
2902 '(#:parallel-build? #f))
2903 (inputs
2904 `(("glib" ,glib)
2905 ("libxml2" ,libxml2)))
2906 (native-inputs
2907 `(("gettext" ,gettext-minimal)
2908 ("itstool" ,itstool)
2909 ("pkg-config" ,pkg-config)))
2910 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2911 (synopsis "Database of common MIME types")
2912 (description
2913 "The shared-mime-info package contains the core database of common types
2914 and the update-mime-database command used to extend it. It requires glib2 to
2915 be installed for building the update command. Additionally, it uses intltool
2916 for translations, though this is only a dependency for the maintainers. This
2917 database is translated at Transifex.")
2918 (license license:gpl2+)))
2919
2920 (define-public system-config-printer
2921 (package
2922 (name "system-config-printer")
2923 (version "1.5.15")
2924 (source
2925 (origin
2926 (method url-fetch)
2927 (uri (string-append
2928 "https://github.com/OpenPrinting/system-config-printer/releases/"
2929 "download/v" version
2930 "/system-config-printer-" version ".tar.xz"))
2931 (sha256
2932 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2933 (build-system glib-or-gtk-build-system)
2934 (arguments
2935 `(#:imported-modules ((guix build python-build-system)
2936 ,@%glib-or-gtk-build-system-modules)
2937 #:phases
2938 (modify-phases %standard-phases
2939 (add-after 'unpack 'patch-Makefile.am
2940 (lambda _
2941 ;; The Makefile generates some scripts, so set a valid shebang
2942 (substitute* "Makefile.am"
2943 (("/bin/bash") (which "bash")))
2944 (delete-file "configure")
2945 #t))
2946 (add-after 'unpack 'patch-docbook-xml
2947 (lambda* (#:key inputs #:allow-other-keys)
2948 ;; Modify the man XML otherwise xmlto tries to access the network
2949 (substitute* "man/system-config-printer.xml"
2950 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2951 (string-append (assoc-ref inputs "docbook-xml")
2952 "/xml/dtd/docbook/")))
2953 #t))
2954 (add-after 'install 'wrap-for-python
2955 (@@ (guix build python-build-system) wrap))
2956 (add-after 'install 'wrap
2957 (lambda* (#:key outputs #:allow-other-keys)
2958 (let ((out (assoc-ref outputs "out"))
2959 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2960 (for-each
2961 (lambda (program)
2962 (wrap-program program
2963 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2964 (map (lambda (name)
2965 (string-append out "/bin/" name))
2966 '("system-config-printer"
2967 "system-config-printer-applet"
2968 "install-printerdriver"
2969 "scp-dbus-service"))))
2970 #t)))))
2971 (inputs
2972 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2973 ("gobject-introspection" ,gobject-introspection)
2974 ("python" ,python)
2975 ("cups" ,cups)
2976 ("gtk+" ,gtk+)
2977 ("python-dbus" ,python-dbus)
2978 ("python-pygobject" ,python-pygobject)
2979 ("python-pycups" ,python-pycups)
2980 ("python-requests" ,python-requests)
2981 ("python-pycairo" ,python-pycairo)
2982 ("libnotify" ,libnotify)
2983 ("packagekit" ,packagekit)))
2984 (native-inputs
2985 `(("pkg-config" ,pkg-config)
2986 ("desktop-file-utils" ,desktop-file-utils)
2987 ("glib" ,glib)
2988 ("autoconf" ,autoconf)
2989 ("automake" ,automake)
2990 ("intltool" ,intltool)
2991 ("xmlto" ,xmlto)
2992 ("docbook-xml" ,docbook-xml-4.1.2)
2993 ("docbook-xsl" ,docbook-xsl)
2994 ("libxml2" ,libxml2)))
2995 (home-page "https://github.com/zdohnal/system-config-printer")
2996 (synopsis "CUPS administration tool")
2997 (description
2998 "system-config-printer is a CUPS administration tool. It's written in
2999 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
3000 configuring CUPS.")
3001 (license license:gpl2+)))
3002
3003 (define-public hicolor-icon-theme
3004 (package
3005 (name "hicolor-icon-theme")
3006 (version "0.17")
3007 (source
3008 (origin
3009 (method url-fetch)
3010 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3011 "hicolor-icon-theme-" version ".tar.xz"))
3012 (sha256
3013 (base32
3014 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3015 (build-system gnu-build-system)
3016 (arguments
3017 `(#:tests? #f)) ; no check target
3018 (home-page "https://icon-theme.freedesktop.org/releases/")
3019 (synopsis
3020 "Freedesktop icon theme")
3021 (description
3022 "Freedesktop icon theme.")
3023 (license license:gpl2)))
3024
3025 (define-public libnotify
3026 (package
3027 (name "libnotify")
3028 (version "0.7.9")
3029 (source
3030 (origin
3031 (method url-fetch)
3032 (uri (string-append "mirror://gnome/sources/" name "/"
3033 (version-major+minor version) "/"
3034 name "-" version ".tar.xz"))
3035 (sha256
3036 (base32
3037 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3038 (build-system meson-build-system)
3039 (arguments
3040 `(#:phases
3041 (modify-phases %standard-phases
3042 (add-after 'unpack 'fix-docbook
3043 (lambda* (#:key inputs #:allow-other-keys)
3044 ;; Don't attempt to download XSL schema.
3045 (substitute* "meson.build"
3046 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3047 /manpages/docbook.xsl")
3048 (string-append (assoc-ref inputs "docbook-xsl")
3049 "/xml/xsl/docbook-xsl-"
3050 ,(package-version docbook-xsl)
3051 "/manpages/docbook.xsl")))
3052 #t)))))
3053 (propagated-inputs
3054 `(;; In Requires of libnotify.pc.
3055 ("gdk-pixbuf" ,gdk-pixbuf)
3056 ("glib" ,glib)))
3057 (inputs
3058 `(("gtk+" ,gtk+)
3059 ("libpng" ,libpng)))
3060 (native-inputs
3061 `(("pkg-config" ,pkg-config)
3062 ("glib" ,glib "bin")
3063 ("gobject-introspection" ,gobject-introspection)
3064
3065 ;; For the documentation.
3066 ("gtk-doc" ,gtk-doc/stable)
3067 ("xsltproc" ,libxslt)
3068 ("docbook-xsl" ,docbook-xsl)))
3069 (home-page "https://developer-next.gnome.org/libnotify/")
3070 (synopsis
3071 "GNOME desktop notification library")
3072 (description
3073 "Libnotify is a library that sends desktop notifications to a
3074 notification daemon, as defined in the Desktop Notifications spec. These
3075 notifications can be used to inform the user about an event or display
3076 some form of information without getting in the user's way.")
3077 (license license:lgpl2.1+)))
3078
3079 (define-public libpeas
3080 (package
3081 (name "libpeas")
3082 (version "1.28.0")
3083 (source
3084 (origin
3085 (method url-fetch)
3086 (uri (string-append "mirror://gnome/sources/" name "/"
3087 (version-major+minor version) "/"
3088 name "-" version ".tar.xz"))
3089 (sha256
3090 (base32
3091 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3092 (build-system meson-build-system)
3093 (arguments
3094 '(#:phases
3095 (modify-phases %standard-phases
3096 (add-before 'check 'start-xserver
3097 (lambda* (#:key inputs #:allow-other-keys)
3098 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3099 (disp ":1"))
3100 (setenv "DISPLAY" disp)
3101 ;; Tests require a running X server.
3102 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3103 #t))))))
3104 (inputs
3105 `(("gtk+" ,gtk+)
3106 ("glade" ,glade3)
3107 ("python" ,python)
3108 ("python-pygobject" ,python-pygobject)))
3109 (native-inputs
3110 `(("pkg-config" ,pkg-config)
3111 ("gettext" ,gettext-minimal)
3112 ("glib:bin" ,glib "bin")
3113 ("gobject-introspection" ,gobject-introspection)
3114 ("xorg-server" ,xorg-server-for-tests)))
3115 (propagated-inputs
3116 ;; The .pc file "Requires" gobject-introspection.
3117 `(("gobject-introspection" ,gobject-introspection)))
3118 (home-page "https://wiki.gnome.org/Libpeas")
3119 (synopsis "GObject plugin system")
3120 (description
3121 "Libpeas is a gobject-based plugin engine, targeted at giving every
3122 application the chance to assume its own extensibility. It also has a set of
3123 features including, but not limited to: multiple extension points; on-demand
3124 (lazy) programming language support for C, Python and JS; simplicity of the
3125 API.")
3126 (license license:lgpl2.0+)))
3127
3128 (define-public gtkglext
3129 (package
3130 (name "gtkglext")
3131 (version "1.2.0")
3132 (source (origin
3133 (method url-fetch)
3134 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3135 version "/gtkglext-" version ".tar.gz"))
3136 (sha256
3137 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3138 (patches (search-patches
3139 "gtkglext-disable-disable-deprecated.patch"))))
3140 (build-system gnu-build-system)
3141 (arguments
3142 `(#:phases
3143 (modify-phases %standard-phases
3144 ;; Fix a collision between a local variable and a definition from
3145 ;; glibc's string.h.
3146 (add-after 'unpack 'fix-collision
3147 (lambda _
3148 (substitute* "gdk/gdkglshapes.c"
3149 ((" index") " triangle_index"))
3150 #t)))))
3151 (inputs `(("gtk+" ,gtk+-2)
3152 ("mesa" ,mesa)
3153 ("glu" ,glu)
3154 ("libx11" ,libx11)
3155 ("libxt" ,libxt)))
3156 (native-inputs `(("pkg-config" ,pkg-config)
3157 ("glib" ,glib "bin")))
3158 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3159 (home-page "https://projects.gnome.org/gtkglext")
3160 (synopsis "OpenGL extension to GTK+")
3161 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3162 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3163 API add-ons to make GTK+ widgets OpenGL-capable.")
3164 (license license:lgpl2.1+)))
3165
3166 (define-public glade3
3167 (package
3168 (name "glade")
3169 (version "3.36.0")
3170 (source (origin
3171 (method url-fetch)
3172 (uri (string-append "mirror://gnome/sources/" name "/"
3173 (version-major+minor version) "/"
3174 name "-" version ".tar.xz"))
3175 (sha256
3176 (base32
3177 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3178 (build-system glib-or-gtk-build-system)
3179 (arguments
3180 `(#:phases
3181 (modify-phases %standard-phases
3182 (add-before 'configure 'fix-docbook
3183 (lambda* (#:key inputs #:allow-other-keys)
3184 (substitute* "man/Makefile.in"
3185 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3186 (string-append (assoc-ref inputs "docbook-xsl")
3187 "/xml/xsl/docbook-xsl-"
3188 ,(package-version docbook-xsl)
3189 "/manpages/docbook.xsl")))
3190 #t))
3191 (add-before 'check 'pre-check
3192 (lambda _
3193 (setenv "HOME" "/tmp")
3194 ;; Tests require a running X server.
3195 (system "Xvfb :1 &")
3196 (setenv "DISPLAY" ":1")
3197 #t)))))
3198 (inputs
3199 `(("gtk+" ,gtk+)
3200 ("libxml2" ,libxml2)))
3201 (native-inputs
3202 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3203 ("intltool" ,intltool)
3204 ("itstool" ,itstool)
3205 ("libxslt" ,libxslt) ;for xsltproc
3206 ("docbook-xml" ,docbook-xml-4.2)
3207 ("docbook-xsl" ,docbook-xsl)
3208 ("python" ,python-2)
3209 ("pkg-config" ,pkg-config)
3210 ("xorg-server" ,xorg-server-for-tests)))
3211 (home-page "https://glade.gnome.org")
3212 (synopsis "GTK+ rapid application development tool")
3213 (description "Glade is a rapid application development (RAD) tool to
3214 enable quick & easy development of user interfaces for the GTK+ toolkit and
3215 the GNOME desktop environment.")
3216 (license license:lgpl2.0+)
3217 (native-search-paths (list (search-path-specification
3218 (variable "GLADE_CATALOG_SEARCH_PATH")
3219 (files '("share/glade/catalogs")))
3220 (search-path-specification
3221 (variable "GLADE_MODULE_SEARCH_PATH")
3222 (files '("lib/glade/modules")))))))
3223
3224 (define-public libcroco
3225 (package
3226 (name "libcroco")
3227 (version "0.6.13")
3228 (source (origin
3229 (method url-fetch)
3230 (uri (string-append "mirror://gnome/sources/" name "/"
3231 (version-major+minor version) "/"
3232 name "-" version ".tar.xz"))
3233 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3234 (sha256
3235 (base32
3236 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3237 (build-system gnu-build-system)
3238 (native-inputs
3239 `(("pkg-config" ,pkg-config)))
3240 (inputs
3241 `(("glib" ,glib)
3242 ("libxml2" ,libxml2)
3243 ("zlib" ,zlib)))
3244 (home-page "https://github.com/GNOME/libcroco")
3245 (synopsis "CSS2 parsing and manipulation library")
3246 (description
3247 "Libcroco is a standalone CSS2 parsing and manipulation library.
3248 The parser provides a low level event driven SAC-like API and a CSS object
3249 model like API. Libcroco provides a CSS2 selection engine and an experimental
3250 XML/CSS rendering engine.")
3251
3252 ;; LGPLv2.1-only.
3253 (license license:lgpl2.1)))
3254
3255 (define-public libgsf
3256 (package
3257 (name "libgsf")
3258 (version "1.14.47")
3259 (source (origin
3260 (method url-fetch)
3261 (uri (string-append "mirror://gnome/sources/" name "/"
3262 (version-major+minor version) "/"
3263 name "-" version ".tar.xz"))
3264 (sha256
3265 (base32
3266 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3267 (build-system gnu-build-system)
3268 (arguments
3269 '(#:configure-flags '("--disable-static")))
3270 (native-inputs
3271 `(("pkg-config" ,pkg-config)
3272 ("gettext" ,gettext-minimal)
3273
3274 ;; For tests.
3275 ("perl" ,perl)
3276 ("perl-xml-parser" ,perl-xml-parser)))
3277 (inputs
3278 `(("zlib" ,zlib)
3279 ("bzip2" ,bzip2)))
3280 (propagated-inputs
3281 `(("gdk-pixbuf" ,gdk-pixbuf)
3282 ("glib" ,glib)
3283 ("libxml2" ,libxml2)))
3284 (home-page "https://www.gnome.org/projects/libgsf")
3285 (synopsis "GNOME's Structured File Library")
3286 (description
3287 "Libgsf aims to provide an efficient extensible I/O abstraction for
3288 dealing with different structured file formats.")
3289
3290 ;; LGPLv2.1-only.
3291 (license license:lgpl2.1)))
3292
3293 (define-public librsvg
3294 (package
3295 (name "librsvg")
3296 (version "2.40.21")
3297 (source (origin
3298 (method url-fetch)
3299 (uri (string-append "mirror://gnome/sources/" name "/"
3300 (version-major+minor version) "/"
3301 name "-" version ".tar.xz"))
3302 (sha256
3303 (base32
3304 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3305 (build-system gnu-build-system)
3306 (arguments
3307 `(#:configure-flags
3308 (list "--disable-static"
3309 "--enable-vala") ; needed for e.g. gnome-mines
3310 #:phases
3311 (modify-phases %standard-phases
3312 (add-before 'configure 'pre-configure
3313 (lambda* (#:key inputs #:allow-other-keys)
3314 (substitute* "gdk-pixbuf-loader/Makefile.in"
3315 ;; By default the gdk-pixbuf loader is installed under
3316 ;; gdk-pixbuf's prefix. Work around that.
3317 (("gdk_pixbuf_moduledir = .*$")
3318 (string-append "gdk_pixbuf_moduledir = "
3319 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3320 "loaders\n"))
3321 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3322 (("gdk_pixbuf_cache_file = .*$")
3323 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3324 #t))
3325 (add-before 'check 'remove-failing-tests
3326 (lambda _
3327 (with-directory-excursion "tests/fixtures/reftests"
3328 (for-each delete-file
3329 '(;; This test fails on i686:
3330 "svg1.1/masking-path-04-b.svg"
3331 ;; This test fails on armhf:
3332 "svg1.1/masking-mask-01-b.svg"
3333 ;; This test fails on aarch64:
3334 "bugs/777834-empty-text-children.svg")))
3335 #t)))))
3336 (native-inputs
3337 `(("pkg-config" ,pkg-config)
3338 ("vala" ,vala)
3339 ("glib" ,glib "bin") ; glib-mkenums, etc.
3340 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3341 (inputs
3342 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3343 ;; this ancient version of librsvg.
3344 ("pango" ,pango-1.42)
3345 ("libcroco" ,libcroco)
3346 ("bzip2" ,bzip2)
3347 ("libgsf" ,libgsf)
3348 ("libxml2" ,libxml2)))
3349 (propagated-inputs
3350 ;; librsvg-2.0.pc refers to all of that.
3351 `(("cairo" ,cairo)
3352 ("gdk-pixbuf" ,gdk-pixbuf)
3353 ("glib" ,glib)))
3354 (home-page "https://wiki.gnome.org/LibRsvg")
3355 (synopsis "Render SVG files using Cairo")
3356 (description
3357 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3358 library.")
3359 (license license:lgpl2.0+)))
3360
3361 (define-public librsvg-next
3362 (package
3363 (name "librsvg")
3364 (version "2.50.3")
3365 (source (origin
3366 (method url-fetch)
3367 (uri (string-append "mirror://gnome/sources/librsvg/"
3368 (version-major+minor version) "/"
3369 "librsvg-" version ".tar.xz"))
3370 (sha256
3371 (base32
3372 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3373 (modules '((guix build utils)))
3374 (snippet
3375 '(begin (delete-file-recursively "vendor")
3376 #t))))
3377 (build-system cargo-build-system)
3378 (outputs '("out" "doc"))
3379 (arguments
3380 `(#:install-source? #f
3381 #:modules
3382 ((guix build cargo-build-system)
3383 (guix build utils)
3384 ((guix build gnu-build-system) #:prefix gnu:))
3385 #:cargo-inputs
3386 (("rust-bitflags" ,rust-bitflags-1)
3387 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3388 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3389 ("rust-cast" ,rust-cast-0.2)
3390 ("rust-cssparser" ,rust-cssparser-0.27)
3391 ("rust-data-url" ,rust-data-url-0.1)
3392 ("rust-encoding" ,rust-encoding-0.2)
3393 ("rust-float-cmp" ,rust-float-cmp-0.8)
3394 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3395 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3396 ("rust-gio" ,rust-gio-0.8)
3397 ("rust-gio-sys" ,rust-gio-sys-0.9)
3398 ("rust-glib" ,rust-glib-0.9)
3399 ("rust-glib-sys" ,rust-glib-sys-0.9)
3400 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3401 ("rust-itertools" ,rust-itertools-0.9)
3402 ("rust-language-tags" ,rust-language-tags-0.2)
3403 ("rust-libc" ,rust-libc-0.2)
3404 ("rust-locale-config" ,rust-locale-config-0.3)
3405 ("rust-markup5ever" ,rust-markup5ever-0.10)
3406 ("rust-nalgebra" ,rust-nalgebra-0.21)
3407 ("rust-num-traits" ,rust-num-traits-0.2)
3408 ("rust-once-cell" ,rust-once-cell-1)
3409 ("rust-pkg-config" ,rust-pkg-config-0.3)
3410 ("rust-pango" ,rust-pango-0.8)
3411 ("rust-pango-sys" ,rust-pango-sys-0.9)
3412 ("rust-pangocairo" ,rust-pangocairo-0.9)
3413 ("rust-rayon" ,rust-rayon-1)
3414 ("rust-rctree" ,rust-rctree-0.3)
3415 ("rust-rgb" ,rust-rgb-0.8)
3416 ("rust-regex" ,rust-regex-1)
3417 ("rust-selectors" ,rust-selectors-0.22)
3418 ("rust-string-cache" ,rust-string-cache-0.8)
3419 ("rust-tinyvec" ,rust-tinyvec-0.3)
3420 ("rust-url" ,rust-url-2)
3421 ("rust-xml5ever" ,rust-xml5ever-0.16))
3422 #:cargo-development-inputs
3423 (("rust-assert-cmd" ,rust-assert-cmd-1)
3424 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3425 ("rust-chrono" ,rust-chrono-0.4)
3426 ("rust-criterion" ,rust-criterion-0.3)
3427 ("rust-float-cmp" ,rust-float-cmp-0.8)
3428 ("rust-lopdf" ,rust-lopdf-0.26)
3429 ("rust-png" ,rust-png-0.16)
3430 ("rust-predicates" ,rust-predicates-1)
3431 ("rust-tempfile" ,rust-tempfile-3))
3432 #:phases
3433 (modify-phases %standard-phases
3434 (add-after 'unpack 'patch-docbook-xml
3435 (lambda* (#:key inputs #:allow-other-keys)
3436 (with-directory-excursion "doc"
3437 (substitute* "rsvg-docs.xml"
3438 (("http://www.oasis-open.org/docbook/xml/4.3/")
3439 (string-append (assoc-ref inputs "docbook-xml")
3440 "/xml/dtd/docbook/"))))
3441 #t))
3442 (add-after 'unpack 'prepare-for-build
3443 (lambda _
3444 ;; In lieu of #:make-flags
3445 (setenv "CC" ,(cc-for-target))
3446 ;; Something about the build environment resists building
3447 ;; successfully with the '--locked' flag.
3448 (substitute* '("Makefile.am" "Makefile.in")
3449 (("--locked") ""))
3450 #t))
3451 (add-before 'configure 'pre-configure
3452 (lambda _
3453 (substitute* "gdk-pixbuf-loader/Makefile.in"
3454 ;; By default the gdk-pixbuf loader is installed under
3455 ;; gdk-pixbuf's prefix. Work around that.
3456 (("gdk_pixbuf_moduledir = .*$")
3457 (string-append "gdk_pixbuf_moduledir = "
3458 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3459 "loaders\n"))
3460 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3461 (("gdk_pixbuf_cache_file = .*$")
3462 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3463 #t))
3464 (add-after 'configure 'gnu-configure
3465 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3466 ((assoc-ref gnu:%standard-phases 'configure)
3467 #:native-inputs native-inputs
3468 #:inputs inputs
3469 #:outputs outputs
3470 #:configure-flags
3471 (list "--disable-static"
3472 "--enable-vala"
3473 (string-append "--with-html-dir="
3474 (assoc-ref %outputs "doc")
3475 "/share/gtk-doc/html")))))
3476 (add-after 'configure 'dont-vendor-self
3477 (lambda* (#:key vendor-dir #:allow-other-keys)
3478 ;; Don't keep the whole tarball in the vendor directory
3479 (delete-file-recursively
3480 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3481 #t))
3482 (replace 'build
3483 (assoc-ref gnu:%standard-phases 'build))
3484 (add-before 'check 'ignore-failing-tests
3485 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3486 (lambda _
3487 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3488 (("fn background_color_option_invalid_color_yields_error" all)
3489 (string-append "#[ignore] " all))
3490 (("fn empty_input_yields_error" all)
3491 (string-append "#[ignore] " all))
3492 (("fn empty_svg_yields_error" all)
3493 (string-append "#[ignore] " all))
3494 (("fn env_source_data_epoch_empty" all)
3495 (string-append "#[ignore] " all))
3496 (("fn env_source_data_epoch_no_digits" all)
3497 (string-append "#[ignore] " all))
3498 (("fn env_source_data_epoch_trailing_garbage" all)
3499 (string-append "#[ignore] " all))
3500 (("fn export_id_option_error" all)
3501 (string-append "#[ignore] " all))
3502 (("fn huge_zoom_factor_yields_error" all)
3503 (string-append "#[ignore] " all))
3504 (("fn multiple_input_files_not_allowed_for_png_output" all)
3505 (string-append "#[ignore] " all))
3506 (("fn stylesheet_option_error" all)
3507 (string-append "#[ignore] " all)))
3508 #t))
3509 (replace 'check
3510 (lambda* args
3511 ((assoc-ref gnu:%standard-phases 'check)
3512 #:test-target "check")))
3513 (replace 'install
3514 (assoc-ref gnu:%standard-phases 'install)))))
3515 (native-inputs
3516 `(("docbook-xml" ,docbook-xml-4.3)
3517 ("glib" ,glib "bin")
3518 ("gobject-introspection" ,gobject-introspection)
3519 ("pkg-config" ,pkg-config)
3520 ("python" ,python-wrapper)
3521 ("ruby" ,ruby)
3522 ("vala" ,vala)))
3523 (inputs
3524 `(("bzip2" ,bzip2)
3525 ("fontconfig" ,fontconfig)
3526 ("freetype" ,freetype)
3527 ("harfbuzz" ,harfbuzz)
3528 ("libcroco" ,libcroco)
3529 ("libgsf" ,libgsf)
3530 ("libxml2" ,libxml2)
3531 ("pango" ,pango)))
3532 (propagated-inputs
3533 `(("cairo" ,cairo)
3534 ("gdk-pixbuf" ,gdk-pixbuf)
3535 ("glib" ,glib)))
3536 (synopsis "SVG rendering library")
3537 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3538 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3539 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3540 diagrams.")
3541 (home-page "https://wiki.gnome.org/LibRsvg")
3542 (license license:lgpl2.1+)))
3543
3544 (define-public libidl
3545 (package
3546 (name "libidl")
3547 (version "0.8.14")
3548 (source (origin
3549 (method url-fetch)
3550 (uri (string-append "mirror://gnome/sources/libIDL/"
3551 (version-major+minor version) "/"
3552 "libIDL-" version ".tar.bz2"))
3553 (sha256
3554 (base32
3555 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3556 (build-system gnu-build-system)
3557 (inputs `(("glib" ,glib)))
3558 (native-inputs
3559 `(("pkg-config" ,pkg-config)
3560 ("flex" ,flex)
3561 ("bison" ,bison)))
3562 (home-page "http://freecode.com/projects/libidl")
3563 (synopsis "Create trees of CORBA Interface Definition Language files")
3564 (description "Libidl is a library for creating trees of CORBA Interface
3565 Definition Language (idl) files, which is a specification for defining
3566 portable interfaces. libidl was initially written for orbit (the orb from the
3567 GNOME project, and the primary means of libidl distribution). However, the
3568 functionality was designed to be as reusable and portable as possible.")
3569 (properties `((upstream-name . "libIDL")))
3570 (license license:lgpl2.0+)))
3571
3572
3573 (define-public orbit2
3574 (package
3575 (name "orbit2")
3576 (version "2.14.19")
3577 (source (origin
3578 (method url-fetch)
3579 (uri (let ((upstream-name "ORBit2"))
3580 (string-append "mirror://gnome/sources/" upstream-name "/"
3581 (version-major+minor version) "/"
3582 upstream-name "-" version ".tar.bz2")))
3583 (sha256
3584 (base32
3585 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3586 (build-system gnu-build-system)
3587 (arguments
3588 `(;; The "timeout-server" test hangs when run in parallel.
3589 #:parallel-tests? #f
3590 #:configure-flags
3591 '(;; We don't need static libraries, plus they don't build reproducibly
3592 ;; (non-deterministic ordering of .o files in the archive.)
3593 "--disable-static"
3594
3595 ;; The programmer kindly gives us a hook to turn off deprecation
3596 ;; warnings ...
3597 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3598 ;; ... which they then completly ignore !!
3599 #:phases
3600 (modify-phases %standard-phases
3601 (add-before 'configure 'ignore-deprecations
3602 (lambda _
3603 (substitute* "linc2/src/Makefile.in"
3604 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3605 #t)))))
3606 (inputs `(("glib" ,glib)
3607 ("libidl" ,libidl)))
3608 (native-inputs
3609 `(("pkg-config" ,pkg-config)))
3610 (home-page "https://projects.gnome.org/orbit2/")
3611 (synopsis "CORBA 2.4-compliant Object Request Broker")
3612 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3613 featuring mature C, C++ and Python bindings.")
3614 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3615 ;; a version. SOME of the code files have licence notices for GPLv2+.
3616 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3617 (license license:gpl2+)
3618 (properties `((upstream-name . "ORBit2")))))
3619
3620
3621 (define-public libbonobo
3622 (package
3623 (name "libbonobo")
3624 (version "2.32.1")
3625 (source (origin
3626 (method url-fetch)
3627 (uri (string-append "mirror://gnome/sources/" name "/"
3628 (version-major+minor version)
3629 "/" name "-" version ".tar.bz2"))
3630 (sha256
3631 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3632 (patches (search-patches
3633 "libbonobo-activation-test-race.patch"))))
3634 (build-system gnu-build-system)
3635 (arguments
3636 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3637 `(#:configure-flags
3638 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3639 ;; ... which they then completly ignore !!
3640 #:phases
3641 (modify-phases %standard-phases
3642 (add-before 'configure 'ignore-deprecations
3643 (lambda _
3644 (substitute* "activation-server/Makefile.in"
3645 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3646 #t)))
3647
3648 ;; There's apparently a race condition between the server stub
3649 ;; generation and linking of the example under 'samples/echo' that can
3650 ;; lead do undefined references when building in parallel, as reported
3651 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3652 ;; Thus, disable parallel builds.
3653 #:parallel-build? #f))
3654 (inputs `(("popt" ,popt)
3655 ("libxml2" ,libxml2)))
3656 ;; The following are Required by the .pc file
3657 (propagated-inputs
3658 `(("glib" ,glib)
3659 ("orbit2" ,orbit2)))
3660 (native-inputs
3661 `(("intltool" ,intltool)
3662 ("pkg-config" ,pkg-config)
3663 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3664 ("flex" ,flex)
3665 ("bison" ,bison)))
3666 (home-page "https://developer.gnome.org/libbonobo/")
3667 (synopsis "Framework for creating reusable components for use in GNOME applications")
3668 (description "Bonobo is a framework for creating reusable components for
3669 use in GNOME applications, built on top of CORBA.")
3670 ;; Licence not explicitly stated. Source files contain no licence notices.
3671 ;; Tarball contains text of both GPLv2 and LGPLv2
3672 ;; GPLv2 covers both conditions
3673 (license license:gpl2+)))
3674
3675
3676 (define-public gconf
3677 (package
3678 (name "gconf")
3679 (version "3.2.6")
3680 (source (origin
3681 (method url-fetch)
3682 (uri
3683 (let ((upstream-name "GConf"))
3684 (string-append "mirror://gnome/sources/" upstream-name "/"
3685 (version-major+minor version) "/"
3686 upstream-name "-" version ".tar.xz")))
3687 (sha256
3688 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3689 (build-system gnu-build-system)
3690 (inputs `(("dbus-glib" ,dbus-glib)
3691 ("libxml2" ,libxml2)))
3692 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3693 ("orbit2" ,orbit2)))
3694 (native-inputs
3695 `(("intltool" ,intltool)
3696 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3697 ("pkg-config" ,pkg-config)))
3698 (home-page "https://projects.gnome.org/gconf/")
3699 (synopsis "Store application preferences")
3700 (description "Gconf is a system for storing application preferences. It
3701 is intended for user preferences; not arbitrary data storage.")
3702 (license license:lgpl2.0+)
3703 (properties '((upstream-name . "GConf")))))
3704
3705
3706 (define-public gnome-mime-data
3707 (package
3708 (name "gnome-mime-data")
3709 (version "2.18.0")
3710 (source (origin
3711 (method url-fetch)
3712 (uri (string-append "mirror://gnome/sources/" name "/"
3713 (version-major+minor version) "/"
3714 name "-" version ".tar.bz2"))
3715 (sha256
3716 (base32
3717 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3718 (build-system gnu-build-system)
3719 (native-inputs
3720 `(("perl" ,perl)
3721 ("intltool" ,intltool)))
3722 (arguments
3723 '(#:phases (modify-phases %standard-phases
3724 (add-after 'configure 'use-our-intltool
3725 (lambda _
3726 ;; Do not use the bundled intltool commands, which lack
3727 ;; the "dotless @INC" fixes of our 'intltool' package.
3728 (substitute* (find-files "." "^Makefile$")
3729 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3730 (string-append "INTLTOOL_" tool " = intltool-"
3731 (string-downcase tool) "\n")))
3732 #t)))))
3733 (home-page "https://www.gnome.org")
3734 (synopsis "Base MIME and Application database for GNOME")
3735 (description "GNOME Mime Data is a module which contains the base MIME
3736 and Application database for GNOME. The data stored by this module is
3737 designed to be accessed through the MIME functions in GnomeVFS.")
3738 (license license:gpl2+)))
3739
3740
3741 (define-public gnome-vfs
3742 (package
3743 (name "gnome-vfs")
3744 (version "2.24.4")
3745 (source (origin
3746 (method url-fetch)
3747 (uri (string-append "mirror://gnome/sources/" name "/"
3748 (version-major+minor version) "/"
3749 name "-" version ".tar.bz2"))
3750 (sha256
3751 (base32
3752 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3753 (build-system gnu-build-system)
3754 (arguments
3755 `(#:phases
3756 (modify-phases %standard-phases
3757 (add-before 'configure 'ignore-deprecations
3758 (lambda _
3759 (substitute* '("libgnomevfs/Makefile.in"
3760 "daemon/Makefile.in")
3761 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3762 #t))
3763 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3764 (lambda _
3765 (substitute* "test/test-async-cancel.c"
3766 (("EXIT_FAILURE") "77"))
3767 #t)))))
3768 (inputs `(("libxml2" ,libxml2)
3769 ("dbus-glib" ,dbus-glib)
3770 ("gconf" ,gconf)
3771 ("gnome-mime-data" ,gnome-mime-data)
3772 ("zlib" ,zlib)))
3773 (native-inputs
3774 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3775 ("intltool" ,intltool)
3776 ("pkg-config" ,pkg-config)))
3777 (home-page "https://developer.gnome.org/gnome-vfs/")
3778 (synopsis "Access files and folders in GNOME applications")
3779 (description
3780 "GnomeVFS is the core library used to access files and folders in GNOME
3781 applications. It provides a file system abstraction which allows applications
3782 to access local and remote files with a single consistent API.")
3783 (license license:lgpl2.0+)))
3784
3785
3786
3787 (define-public libgnome
3788 (package
3789 (name "libgnome")
3790 (version "2.32.1")
3791 (source (origin
3792 (method url-fetch)
3793 (uri (string-append "mirror://gnome/sources/" name "/"
3794 (version-major+minor version) "/"
3795 name "-" version ".tar.bz2"))
3796 (sha256
3797 (base32
3798 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3799 (patches (search-patches "libgnome-encoding.patch"))))
3800 (build-system gnu-build-system)
3801 (arguments
3802 `(#:phases
3803 (modify-phases %standard-phases
3804 (add-before 'configure 'enable-deprecated
3805 (lambda _
3806 (substitute* "libgnome/Makefile.in"
3807 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3808 #t)))))
3809 (inputs `(("libxml2" ,libxml2)))
3810 (native-inputs
3811 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3812 ("intltool" ,intltool)
3813 ("pkg-config" ,pkg-config)))
3814 ;; The following are listed as Required in the .pc file
3815 ;; (except for libcanberra -- which seems to be oversight on the part
3816 ;; of the upstream developers -- anything that links against libgnome,
3817 ;; must also link against libcanberra
3818 (propagated-inputs
3819 `(("libcanberra" ,libcanberra)
3820 ("libbonobo" ,libbonobo)
3821 ("gconf" ,gconf)
3822 ("gnome-vfs" ,gnome-vfs)
3823 ("popt" ,popt))) ;gnome-program.h includes popt.h
3824 (home-page "https://developer.gnome.org/libgnome/")
3825 (synopsis "Useful routines for building applications")
3826 (description "The libgnome library provides a number of useful routines
3827 for building modern applications, including session management, activation of
3828 files and URIs, and displaying help.")
3829 (license license:lgpl2.0+)))
3830
3831
3832 (define-public libart-lgpl
3833 (package
3834 (name "libart-lgpl")
3835 (version "2.3.21")
3836 (source (origin
3837 (method url-fetch)
3838 (uri (let ((upstream-name "libart_lgpl"))
3839 (string-append "mirror://gnome/sources/" upstream-name "/"
3840 (version-major+minor version) "/"
3841 upstream-name "-" version ".tar.bz2")))
3842 (sha256
3843 (base32
3844 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3845 (build-system gnu-build-system)
3846 (native-inputs
3847 `(("pkg-config" ,pkg-config)))
3848 (home-page "https://people.gnome.org/~mathieu/libart")
3849 (synopsis "2D drawing library")
3850 (description "Libart is a 2D drawing library intended as a
3851 high-quality vector-based 2D library with antialiasing and alpha composition.")
3852 (license license:lgpl2.0+)))
3853
3854
3855
3856 (define-public libgnomecanvas
3857 (package
3858 (name "libgnomecanvas")
3859 (version "2.30.3")
3860 (source (origin
3861 (method url-fetch)
3862 (uri (string-append "mirror://gnome/sources/" name "/"
3863 (version-major+minor version) "/"
3864 name "-" version ".tar.gz"))
3865 (sha256
3866 (base32
3867 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3868 (build-system gnu-build-system)
3869 ;; Mentioned as Required in the .pc file
3870 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3871 ("gtk+" ,gtk+-2)))
3872 (native-inputs
3873 `(("intltool" ,intltool)
3874 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3875 ("pkg-config" ,pkg-config)))
3876 (home-page "https://developer.gnome.org/libgnomecanvas/")
3877 (synopsis "Flexible widget for creating interactive structured graphics")
3878 (description "The GnomeCanvas widget provides a flexible widget for
3879 creating interactive structured graphics.")
3880 (license license:lgpl2.0+)))
3881
3882 (define-public libgnomecanvasmm
3883 (package
3884 (name "libgnomecanvasmm")
3885 (version "2.26.0")
3886 (source (origin
3887 (method url-fetch)
3888 (uri (string-append "mirror://gnome/sources/" name "/"
3889 (version-major+minor version) "/"
3890 name "-" version ".tar.bz2"))
3891 (sha256
3892 (base32
3893 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3894 (build-system gnu-build-system)
3895 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3896 (native-inputs
3897 `(("gtkmm-2" ,gtkmm-2)
3898 ("pkg-config" ,pkg-config)))
3899 (home-page "https://gtkmm.org")
3900 (synopsis "C++ bindings to the GNOME Canvas library")
3901 (description "C++ bindings to the GNOME Canvas library.")
3902 (license license:lgpl2.0+)))
3903
3904 (define-public libgnomeui
3905 (package
3906 (name "libgnomeui")
3907 (version "2.24.5")
3908 (source (origin
3909 (method url-fetch)
3910 (uri (string-append "mirror://gnome/sources/" name "/"
3911 (version-major+minor version) "/"
3912 name "-" version ".tar.bz2"))
3913 (patches (search-patches "libgnomeui-utf8.patch"))
3914 (sha256
3915 (base32
3916 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3917 (build-system gnu-build-system)
3918 ;; Mentioned as Required in the .pc file
3919 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3920 ("libgnome" ,libgnome)
3921 ("libgnomecanvas" ,libgnomecanvas)
3922 ("libgnome-keyring" ,libgnome-keyring)))
3923 (inputs `(("libjpeg" ,libjpeg-turbo)
3924 ("popt" ,popt)
3925 ("libbonobo" ,libbonobo)
3926 ("libxml2" ,libxml2)
3927 ("libglade" ,libglade)))
3928 (native-inputs
3929 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3930 ("intltool" ,intltool)
3931 ("pkg-config" ,pkg-config)))
3932 (home-page "https://developer.gnome.org/libgnomeui/")
3933 (synopsis "Additional widgets for applications")
3934 (description "The libgnomeui library provides additional widgets for
3935 applications. Many of the widgets from libgnomeui have already been
3936 ported to GTK+.")
3937 (license license:lgpl2.0+)))
3938
3939 (define-public libglade
3940 (package
3941 (name "libglade")
3942 (version "2.6.4")
3943 (source (origin
3944 (method url-fetch)
3945 (uri (string-append "mirror://gnome/sources/" name "/"
3946 (version-major+minor version) "/"
3947 name "-" version ".tar.bz2"))
3948 (sha256
3949 (base32
3950 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3951 (build-system gnu-build-system)
3952 (inputs
3953 `(("python" ,python))) ;; needed for the optional libglade-convert program
3954 (propagated-inputs
3955 `(("gtk+-2" ,gtk+-2)
3956 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3957 (native-inputs
3958 `(("pkg-config" ,pkg-config)))
3959 (home-page "https://developer.gnome.org/libglade")
3960 (synopsis "Load glade interfaces and access the glade built widgets")
3961 (description "Libglade is a library that provides interfaces for loading
3962 graphical interfaces described in glade files and for accessing the
3963 widgets built in the loading process.")
3964 (license license:gpl2+))) ; This is correct. GPL not LGPL
3965
3966 (define-public libgnomeprint
3967 ;; This library has been deprecated since 2006; see
3968 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3969 (package
3970 (name "libgnomeprint")
3971 (version "2.18.8")
3972 (source (origin
3973 (method url-fetch)
3974 (uri (string-append "mirror://gnome/sources/" name "/"
3975 (version-major+minor version) "/"
3976 name "-" version ".tar.bz2"))
3977 (sha256
3978 (base32
3979 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3980 (build-system gnu-build-system)
3981 (inputs
3982 `(("popt" ,popt)
3983 ("libart-lgpl" ,libart-lgpl)
3984 ("gtk+" ,gtk+-2)
3985 ("libxml2" ,libxml2)))
3986 (native-inputs
3987 `(("intltool" ,intltool)
3988 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3989 ("pkg-config" ,pkg-config)))
3990 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3991 (synopsis "Printing framework for GNOME")
3992 (description
3993 "GNOME-print was a printing framework for GNOME. It has been deprecated
3994 since ca. 2006, when GTK+ itself incorporated printing support.")
3995 (license license:lgpl2.0+)))
3996
3997
3998 (define-public libgnomeprintui
3999 ;; Deprecated; see libgnomeprint.
4000 (package
4001 (name "libgnomeprintui")
4002 (version "2.18.6")
4003 (source (origin
4004 (method url-fetch)
4005 (uri (string-append "mirror://gnome/sources/" name "/"
4006 (version-major+minor version) "/"
4007 name "-" version ".tar.bz2"))
4008 (sha256
4009 (base32
4010 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4011 (build-system gnu-build-system)
4012 ;; Mentioned as Required in the .pc file
4013 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4014 (inputs `(("gtk+" ,gtk+-2)
4015 ("glib" ,glib)
4016 ("gnome-icon-theme" ,gnome-icon-theme)
4017 ("libgnomecanvas" ,libgnomecanvas)
4018 ("libxml2" ,libxml2)))
4019 (native-inputs
4020 `(("intltool" ,intltool)
4021 ("pkg-config" ,pkg-config)))
4022 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4023 (synopsis "Printing framework for GNOME")
4024 (description (package-description libgnomeprint))
4025 (license license:lgpl2.0+)))
4026
4027 (define-public libbonoboui
4028 (package
4029 (name "libbonoboui")
4030 (version "2.24.5")
4031 (source (origin
4032 (method url-fetch)
4033 (uri (string-append "mirror://gnome/sources/" name "/"
4034 (version-major+minor version) "/"
4035 name "-" version ".tar.bz2"))
4036 (sha256
4037 (base32
4038 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4039 (build-system gnu-build-system)
4040 (arguments
4041 `(#:phases
4042 (modify-phases %standard-phases
4043 (add-before 'check 'start-xserver
4044 (lambda* (#:key inputs #:allow-other-keys)
4045 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4046 (disp ":1"))
4047
4048 (setenv "HOME" (getcwd))
4049 (setenv "DISPLAY" disp)
4050 ;; There must be a running X server and make check doesn't start one.
4051 ;; Therefore we must do it.
4052 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4053 ;; Mentioned as Required by the .pc file
4054 (propagated-inputs `(("libxml2" ,libxml2)))
4055 (inputs
4056 `(("popt" ,popt)
4057 ("pangox-compat" ,pangox-compat)
4058 ("libgnome" ,libgnome)
4059 ("libgnomecanvas" ,libgnomecanvas)
4060 ("libglade" ,libglade)))
4061 (native-inputs
4062 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4063 ("intltool" ,intltool)
4064 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4065 ("pkg-config" ,pkg-config)))
4066 (home-page "https://developer.gnome.org/libbonoboui/")
4067 (synopsis "Some user interface controls using Bonobo")
4068 (description "The Bonobo UI library provides a number of user interface
4069 controls using the Bonobo component framework.")
4070 (license license:lgpl2.0+)))
4071
4072 (define-public libwnck
4073 (package
4074 (name "libwnck")
4075 (version "3.32.0")
4076 (source (origin
4077 (method url-fetch)
4078 (uri (string-append "mirror://gnome/sources/" name "/"
4079 (version-major+minor version) "/"
4080 name "-" version ".tar.xz"))
4081 (sha256
4082 (base32
4083 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4084 (build-system meson-build-system)
4085 (native-inputs
4086 `(("pkg-config" ,pkg-config)
4087 ("glib" ,glib "bin") ; for glib-mkenums
4088 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4089 ("intltool" ,intltool)))
4090 (propagated-inputs
4091 `(("gtk+" ,gtk+)
4092 ("libxres" ,libxres)
4093 ("startup-notification" ,startup-notification)))
4094 (home-page "https://developer.gnome.org/libwnck/")
4095 (synopsis "Window Navigator Construction Kit")
4096 (description
4097 "Libwnck is the Window Navigator Construction Kit, a library for use in
4098 writing pagers, tasklists, and more generally applications that are dealing
4099 with window management. It tries hard to respect the Extended Window Manager
4100 Hints specification (EWMH).")
4101 (license license:lgpl2.0+)))
4102
4103 ;; stable version for gtk2, required by xfwm4.
4104 (define-public libwnck-2
4105 (package (inherit libwnck)
4106 (name "libwnck")
4107 (version "2.30.7")
4108 (source (origin
4109 (method url-fetch)
4110 (uri (string-append "mirror://gnome/sources/" name "/"
4111 (version-major+minor version) "/"
4112 name "-" version ".tar.xz"))
4113 (sha256
4114 (base32
4115 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4116 (build-system gnu-build-system)
4117 (native-inputs
4118 `(("pkg-config" ,pkg-config)
4119 ("intltool" ,intltool)))
4120 (propagated-inputs
4121 `(("gtk+" ,gtk+-2)
4122 ("libxres" ,libxres)
4123 ("startup-notification" ,startup-notification)))))
4124
4125 (define-public goffice
4126 (package
4127 (name "goffice")
4128 (version "0.10.49")
4129 (source (origin
4130 (method url-fetch)
4131 (uri (string-append "mirror://gnome/sources/goffice/"
4132 (version-major+minor version) "/"
4133 "goffice-" version ".tar.xz"))
4134 (sha256
4135 (base32 "1s87ngs3g3nfvcn96aq4lgzx5cscbfg4n9f6ns2zpvc5ngdiiz2z"))))
4136 (build-system gnu-build-system)
4137 (outputs '("out"
4138 "doc")) ; 4.0 MiB of gtk-doc
4139 (arguments
4140 '(#:configure-flags (list (string-append "--with-html-dir="
4141 (assoc-ref %outputs "doc")
4142 "/share/gtk-doc/html"))))
4143 (inputs
4144 `(("gtk+" ,gtk+)
4145 ("libgsf" ,libgsf)
4146 ("librsvg" ,librsvg)
4147 ("libxslt" ,libxslt)
4148 ("libxml2" ,libxml2)))
4149 (native-inputs
4150 `(("intltool" ,intltool)
4151 ("glib" ,glib "bin")
4152 ("pkg-config" ,pkg-config)))
4153 (home-page "https://developer.gnome.org/goffice/")
4154 (synopsis "Document-centric objects and utilities")
4155 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4156 (license
4157 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4158 ;; Note: NOT LGPL
4159 (list license:gpl2 license:gpl3))))
4160
4161 (define-public goffice-0.8
4162 (package (inherit goffice)
4163 (version "0.8.17")
4164 (source (origin
4165 (method url-fetch)
4166 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4167 (version-major+minor version) "/"
4168 (package-name goffice) "-" version ".tar.xz"))
4169 (sha256
4170 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4171 (arguments
4172 `(#:phases
4173 (modify-phases %standard-phases
4174 (add-after 'unpack 'fix-pcre-check
4175 (lambda _
4176 ;; Only glib.h can be included directly. See
4177 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4178 (substitute* "configure"
4179 (("glib/gregex\\.h") "glib.h")) #t)))
4180
4181 ,@(package-arguments goffice)))
4182 (propagated-inputs
4183 ;; libgoffice-0.8.pc mentions libgsf-1
4184 `(("libgsf" ,libgsf)))
4185 (inputs
4186 `(("gtk" ,gtk+-2)
4187 ,@(alist-delete "gtk" (package-inputs goffice))))))
4188
4189 (define-public gnumeric
4190 (package
4191 (name "gnumeric")
4192 (version "1.12.49")
4193 (source (origin
4194 (method url-fetch)
4195 (uri (string-append "mirror://gnome/sources/gnumeric/"
4196 (version-major+minor version) "/"
4197 "gnumeric-" version ".tar.xz"))
4198 (sha256
4199 (base32
4200 "0mzdhhpa7kwkc51l344g6vgqwaxkjdf03s7zasqh0bn3jpn75h4i"))))
4201 (build-system glib-or-gtk-build-system)
4202 (arguments
4203 `(;; The gnumeric developers don't worry much about failing tests.
4204 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4205 #:tests? #f
4206 #:phases
4207 (modify-phases %standard-phases
4208 (add-before
4209 'configure 'pre-conf
4210 (lambda* (#:key outputs #:allow-other-keys)
4211 ;; Make install tries to write into the directory of goffice
4212 ;; I am informed that this only affects the possibility to embed a
4213 ;; spreadsheet inside an Abiword document. So presumably when we
4214 ;; package Abiword we'll have to refer it to this directory.
4215 (substitute* "configure"
4216 (("^GOFFICE_PLUGINS_DIR=.*")
4217 (string-append "GOFFICE_PLUGINS_DIR="
4218 (assoc-ref outputs "out")
4219 "/goffice/plugins"))))))))
4220 (inputs
4221 `(("glib" ,glib)
4222 ("gtk+" ,gtk+)
4223 ("goffice" ,goffice)
4224 ("libgsf" ,libgsf)
4225 ("librsvg" ,librsvg)
4226 ("libxml2" ,libxml2)
4227 ("libxslt" ,libxslt)
4228 ("python" ,python)
4229 ("python-pygobject" ,python-pygobject)
4230 ("zlib" ,zlib)))
4231 (native-inputs
4232 `(("bison" ,bison)
4233 ("docbook-xml" ,docbook-xml)
4234 ("intltool" ,intltool)
4235 ("itstool" ,itstool)
4236 ("glib:bin" ,glib "bin")
4237 ("pkg-config" ,pkg-config)))
4238 (home-page "http://www.gnumeric.org")
4239 (synopsis "Spreadsheet application")
4240 (description
4241 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4242 interoperable with other spreadsheet applications. It has a vast array of
4243 features beyond typical spreadsheet functionality, such as support for linear
4244 and non-linear solvers, statistical analysis, and telecommunication
4245 engineering.")
4246 (license
4247 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4248 (list license:gpl2 license:gpl3))))
4249
4250 (define-public drawing
4251 (package
4252 (name "drawing")
4253 (version "0.8.0")
4254 (source
4255 (origin
4256 (method git-fetch)
4257 (uri (git-reference
4258 (url "https://github.com/maoschanz/drawing")
4259 (commit version)))
4260 (file-name (git-file-name name version))
4261 (sha256
4262 (base32 "03cx6acb0ph7b3difshjfddi8ld79wp8d12bdp7dp1q1820j5mz0"))))
4263 (build-system meson-build-system)
4264 (arguments
4265 `(#:glib-or-gtk? #t
4266 #:phases
4267 (modify-phases %standard-phases
4268 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4269 (lambda* (#:key outputs #:allow-other-keys)
4270 (let ((prog (string-append (assoc-ref outputs "out")
4271 "/bin/drawing"))
4272 (pylib (string-append (assoc-ref outputs "out")
4273 "/lib/python"
4274 ,(version-major+minor
4275 (package-version python))
4276 "/site-packages")))
4277 (wrap-program prog
4278 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4279 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4280 #t))))))
4281 (native-inputs
4282 `(("desktop-file-utils" ,desktop-file-utils)
4283 ("gettext" ,gettext-minimal)
4284 ("glib:bin" ,glib "bin")
4285 ("gobject-introspection" ,gobject-introspection)
4286 ("gtk+:bin" ,gtk+ "bin")
4287 ("pkg-config" ,pkg-config)))
4288 (inputs
4289 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4290 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4291 ("gtk+" ,gtk+)
4292 ("pango" ,pango)
4293 ("python-pycairo" ,python-pycairo)
4294 ("python-pygobject" ,python-pygobject)))
4295 (home-page "https://maoschanz.github.io/drawing/")
4296 (synopsis "Basic image editor for GNOME")
4297 (description
4298 "Drawing is a basic image editor aiming at the GNOME desktop.")
4299 (license license:gpl3+)))
4300
4301 (define-public gnome-themes-standard
4302 (package
4303 (name "gnome-themes-standard")
4304 (version "3.22.3")
4305 (source
4306 (origin
4307 (method url-fetch)
4308 (uri (string-append "mirror://gnome/sources/" name "/"
4309 (version-major+minor version) "/" name "-"
4310 version ".tar.xz"))
4311 (sha256
4312 (base32
4313 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4314 (build-system gnu-build-system)
4315 (arguments
4316 '(#:configure-flags
4317 ;; Don't create 'icon-theme.cache'.
4318 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4319 (true (string-append coreutils "/bin/true")))
4320 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4321 (inputs
4322 `(("gtk+" ,gtk+)
4323 ("gtk+-2" ,gtk+-2)
4324 ("librsvg" ,librsvg)
4325 ("libxml2" ,libxml2)
4326 ("glib" ,glib)))
4327 (native-inputs
4328 `(("intltool" ,intltool)
4329 ("glib:bin" ,glib "bin")
4330 ("pkg-config" ,pkg-config)))
4331 (home-page "https://launchpad.net/gnome-themes-standard")
4332 (synopsis "Default GNOME 3 themes")
4333 (description
4334 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4335 (license license:lgpl2.1+)))
4336
4337 (define-public seahorse
4338 (package
4339 (name "seahorse")
4340 (version "3.36.2")
4341 (source
4342 (origin
4343 (method url-fetch)
4344 (uri (string-append "mirror://gnome/sources/" name "/"
4345 (version-major+minor version) "/" name "-"
4346 version ".tar.xz"))
4347 (sha256
4348 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4349 (build-system meson-build-system)
4350 (arguments
4351 '(#:glib-or-gtk? #t
4352 #:phases
4353 (modify-phases %standard-phases
4354 (add-after 'unpack 'skip-gtk-update-icon-cache
4355 ;; Don't create 'icon-theme.cache'.
4356 (lambda _
4357 (substitute* "build-aux/meson_post_install.py"
4358 (("gtk-update-icon-cache") "true"))
4359 #t)))))
4360 (inputs
4361 `(("gtk+" ,gtk+)
4362 ("gcr" ,gcr)
4363 ("gnupg" ,gnupg)
4364 ("gpgme" ,gpgme)
4365 ("openldap" ,openldap)
4366 ("openssh" ,openssh)
4367 ("avahi" ,avahi)
4368 ("libhandy" ,libhandy-0.0)
4369 ("libpwquality" ,libpwquality)
4370 ("libsecret" ,libsecret)
4371 ("libsoup" ,libsoup)))
4372 (native-inputs
4373 `(("gettext" ,gettext-minimal)
4374 ("glib:bin" ,glib "bin")
4375 ("itstool" ,itstool)
4376 ("pkg-config" ,pkg-config)
4377 ("vala" ,vala)
4378 ("xmllint" ,libxml2)))
4379 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4380 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4381 (description
4382 "Seahorse is a GNOME application for managing encryption keys and
4383 passwords in the GNOME keyring.")
4384 (license license:gpl2+)))
4385
4386 (define-public vala
4387 (package
4388 (name "vala")
4389 (version "0.46.5")
4390 (source (origin
4391 (method url-fetch)
4392 (uri (string-append "mirror://gnome/sources/" name "/"
4393 (version-major+minor version) "/"
4394 name "-" version ".tar.xz"))
4395 (sha256
4396 (base32
4397 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4398 (build-system gnu-build-system)
4399 (arguments
4400 '(#:phases
4401 (modify-phases %standard-phases
4402 (add-before 'check 'pre-check
4403 (lambda _
4404 (setenv "CC" "gcc")
4405 (substitute* "valadoc/tests/testrunner.sh"
4406 (("export PKG_CONFIG_PATH=" m)
4407 (string-append m "$PKG_CONFIG_PATH:")))
4408 ;; For missing '/etc/machine-id'.
4409 (setenv "DBUS_FATAL_WARNINGS" "0")
4410 #t)))))
4411 (native-inputs
4412 `(("pkg-config" ,pkg-config)
4413 ("flex" ,flex)
4414 ("bison" ,bison)
4415 ("xsltproc" ,libxslt)
4416 ("dbus" ,dbus) ; for dbus tests
4417 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4418 (inputs
4419 `(("graphviz" ,graphviz)))
4420 (propagated-inputs
4421 `(("glib" ,glib))) ; required by libvala-0.40.pc
4422 (home-page "https://wiki.gnome.org/Projects/Vala/")
4423 (synopsis "Compiler for the GObject type system")
4424 (description
4425 "Vala is a programming language that aims to bring modern programming
4426 language features to GNOME developers without imposing any additional runtime
4427 requirements and without using a different ABI compared to applications and
4428 libraries written in C.")
4429 (license license:lgpl2.1+)))
4430
4431 (define-public vala-0.50
4432 (package
4433 (inherit vala)
4434 (version "0.50.2")
4435 (source (origin
4436 (method url-fetch)
4437 (uri (string-append "mirror://gnome/sources/vala/"
4438 (version-major+minor version) "/"
4439 "vala-" version ".tar.xz"))
4440 (sha256
4441 (base32
4442 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4443
4444 (define-public vte
4445 (package
4446 (name "vte")
4447 (version "0.60.3")
4448 (source (origin
4449 (method url-fetch)
4450 (uri (string-append "mirror://gnome/sources/vte/"
4451 (version-major+minor version) "/"
4452 "vte-" version ".tar.xz"))
4453 (sha256
4454 (base32
4455 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4456 (build-system meson-build-system)
4457 (arguments
4458 `(#:configure-flags
4459 '("-Dvapi=true"
4460 "-D_systemd=false")))
4461 (native-inputs
4462 `(("pkg-config" ,pkg-config)
4463 ("gettext" ,gettext-minimal)
4464 ("vala" ,vala)
4465 ("gobject-introspection" ,gobject-introspection)
4466 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4467 ("gperf" ,gperf)
4468 ("xmllint" ,libxml2)))
4469 (propagated-inputs
4470 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4471 ("gnutls" ,gnutls) ; ditto
4472 ("pcre2" ,pcre2))) ; ditto
4473 (home-page "https://www.gnome.org/")
4474 (synopsis "Virtual Terminal Emulator")
4475 (description
4476 "VTE is a library (libvte) implementing a terminal emulator widget for
4477 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4478 gnome-terminal, but can also be used to embed a console/terminal in games,
4479 editors, IDEs, etc.")
4480 (license license:lgpl2.1+)))
4481
4482 (define-public vte-ng
4483 (package
4484 (inherit vte)
4485 (name "vte-ng")
4486 (version "0.58.2.a")
4487 (home-page "https://github.com/thestinger/vte-ng")
4488 (source (origin
4489 (method git-fetch)
4490 (uri (git-reference (url home-page) (commit version)))
4491 (file-name (git-file-name name version))
4492 (sha256
4493 (base32
4494 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4495 (build-system meson-build-system)
4496 (native-inputs
4497 `(("gtk-doc" ,gtk-doc/stable)
4498 ,@(package-native-inputs vte)))
4499 (arguments
4500 `(#:configure-flags '("-Ddocs=true")))
4501 (synopsis "Enhanced VTE terminal widget")
4502 (description
4503 "VTE is a library (libvte) implementing a terminal emulator widget for
4504 GTK+, this fork provides additional functions exposed for keyboard text
4505 selection and URL hints.")))
4506
4507 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4508 (define-public vte/gtk+-2
4509 (package (inherit vte)
4510 (name "vte")
4511 (version "0.28.2")
4512 (source (origin
4513 (method url-fetch)
4514 (uri (string-append "mirror://gnome/sources/" name "/"
4515 (version-major+minor version) "/"
4516 name "-" version ".tar.xz"))
4517 (sha256
4518 (base32
4519 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4520 (patches (search-patches
4521 "vte-CVE-2012-2738-pt1.patch"
4522 "vte-CVE-2012-2738-pt2.patch"))))
4523 (build-system gnu-build-system)
4524 (arguments
4525 '(#:configure-flags '("--disable-python")))
4526 (native-inputs
4527 `(("pkg-config" ,pkg-config)
4528 ("intltool" ,intltool)
4529 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4530 (propagated-inputs
4531 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4532 ("ncurses" ,ncurses))))) ; required by libvte.la
4533
4534 (define-public vinagre
4535 (package
4536 (name "vinagre")
4537 (version "3.22.0")
4538 (source (origin
4539 (method url-fetch)
4540 (uri (string-append "mirror://gnome/sources/" name "/"
4541 (version-major+minor version) "/"
4542 name "-" version ".tar.xz"))
4543 (patches (search-patches "vinagre-newer-freerdp.patch"
4544 "vinagre-newer-rdp-parameters.patch"))
4545 (sha256
4546 (base32
4547 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4548 (build-system glib-or-gtk-build-system)
4549 (arguments
4550 ;; Disable -Werror and such, to avoid build failures on compilation
4551 ;; warnings.
4552 '(#:configure-flags '("--enable-compile-warnings=minimum")
4553 #:phases
4554 (modify-phases %standard-phases
4555 (add-before 'install 'skip-gtk-update-icon-cache
4556 (lambda _
4557 ;; Don't create 'icon-theme.cache'
4558 (substitute* (find-files "." "^Makefile$")
4559 (("gtk-update-icon-cache") (which "true")))
4560 #t))
4561 (add-after 'unpack 'patch-configure
4562 (lambda _
4563 (substitute* "configure"
4564 (("freerdp") "freerdp2"))
4565 #t)))))
4566 (native-inputs
4567 `(("pkg-config" ,pkg-config)
4568 ("intltool" ,intltool)
4569 ("itstool" ,itstool)
4570 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4571 (inputs
4572 `(("libxml2" ,libxml2)
4573 ("gtk-vnc" ,gtk-vnc)
4574 ("gnome-keyring" ,gnome-keyring)
4575 ("libsecret" ,libsecret)
4576 ("freerdp" ,freerdp)
4577 ("spice" ,spice)
4578 ("spice-gtk" ,spice-gtk)
4579 ("telepathy-glib" ,telepathy-glib)
4580 ("vte" ,vte)))
4581 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4582 (synopsis "Remote desktop viewer for GNOME")
4583 (description "Vinagre is a remote display client supporting the VNC, SPICE
4584 and RDP protocols.")
4585 (license license:gpl3+)))
4586
4587 (define-public dconf
4588 (package
4589 (name "dconf")
4590 (version "0.36.0")
4591 (source (origin
4592 (method url-fetch)
4593 (uri (string-append
4594 "mirror://gnome/sources/" name "/"
4595 (version-major+minor version) "/"
4596 name "-" version ".tar.xz"))
4597 (sha256
4598 (base32
4599 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4600 (build-system meson-build-system)
4601 (propagated-inputs
4602 ;; In Requires of dconf.pc.
4603 `(("glib" ,glib)))
4604 (inputs
4605 `(("gtk+" ,gtk+)
4606 ("dbus" ,dbus)))
4607 (native-inputs
4608 `(("bash-completion" ,bash-completion)
4609 ("libxslt" ,libxslt) ;for xsltproc
4610 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4611 ("docbook-xml" ,docbook-xml-4.2)
4612 ("docbook-xsl" ,docbook-xsl)
4613 ("glib:bin" ,glib "bin")
4614 ("gtk-doc" ,gtk-doc/stable)
4615 ("pkg-config" ,pkg-config)
4616 ("vala" ,vala)))
4617 (arguments
4618 `(#:glib-or-gtk? #t
4619 #:configure-flags '("-Denable-gtk-doc=true")
4620 #:phases (modify-phases %standard-phases
4621 (add-after 'unpack 'increase-test-timeout
4622 (lambda _
4623 ;; On big-memory systems, the engine test may take
4624 ;; much longer than the default of 30 seconds.
4625 (substitute* "tests/meson.build"
4626 (("test\\(unit_test\\[0\\], exe" all)
4627 (string-append all ", timeout : 90")))
4628 #t)))))
4629 (home-page "https://developer.gnome.org/dconf/")
4630 (synopsis "Low-level GNOME configuration system")
4631 (description "Dconf is a low-level configuration system. Its main purpose
4632 is to provide a backend to GSettings on platforms that don't already have
4633 configuration storage systems.")
4634 (license license:lgpl2.1+)))
4635
4636 (define-public json-glib
4637 (package
4638 (name "json-glib")
4639 (version "1.4.4")
4640 (source (origin
4641 (method url-fetch)
4642 (uri (string-append "mirror://gnome/sources/" name "/"
4643 (version-major+minor version) "/"
4644 name "-" version ".tar.xz"))
4645 (sha256
4646 (base32
4647 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4648 (build-system meson-build-system)
4649 (native-inputs
4650 `(("gettext" ,gettext-minimal)
4651 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4652 ("gobject-introspection" ,gobject-introspection)
4653 ("pkg-config" ,pkg-config)))
4654 (propagated-inputs
4655 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4656 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4657 (synopsis "Compiler for the GObject type system")
4658 (description
4659 "JSON-GLib is a C library based on GLib providing serialization and
4660 deserialization support for the JavaScript Object Notation (JSON) format
4661 described by RFC 4627. It provides parser and generator GObject classes and
4662 various wrappers for the complex data types employed by JSON, such as arrays
4663 and objects.")
4664 (license license:lgpl2.1+)))
4665
4666 (define-public libxklavier
4667 (package
4668 (name "libxklavier")
4669 (version "5.4")
4670 (source (origin
4671 ;; Note: There's no tarball at ftp.gnome.org for this version.
4672 (method git-fetch)
4673 (uri (git-reference
4674 (url "https://anongit.freedesktop.org/git/libxklavier")
4675 (commit (string-append "libxklavier-" version))))
4676 (sha256
4677 (base32
4678 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4679 (file-name (git-file-name name version))))
4680 (build-system gnu-build-system)
4681 (arguments
4682 '(#:configure-flags
4683 (list (string-append "--with-xkb-base="
4684 (assoc-ref %build-inputs "xkeyboard-config")
4685 "/share/X11/xkb")
4686 "--disable-xmodmap-support")))
4687 (native-inputs
4688 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4689 ("gobject-introspection" ,gobject-introspection)
4690 ("pkg-config" ,pkg-config)
4691 ("gtk-doc" ,gtk-doc/stable)
4692 ("intltool" ,intltool)
4693 ("which" ,which)
4694 ("autoconf" ,autoconf)
4695 ("automake" ,automake)
4696 ("libtool" ,libtool)))
4697 (propagated-inputs
4698 ;; Required by libxklavier.pc.
4699 `(("glib" ,glib)
4700 ("libxml2" ,libxml2)))
4701 (inputs
4702 `(("iso-codes" ,iso-codes)
4703 ("libxi" ,libxi)
4704 ("libxkbfile" ,libxkbfile)
4705 ("xkbcomp" ,xkbcomp)
4706 ("xkeyboard-config" ,xkeyboard-config)))
4707 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4708 (synopsis "High-level API for X Keyboard Extension")
4709 (description
4710 "LibXklavier is a library providing high-level API for X Keyboard
4711 Extension known as XKB. This library is intended to support XFree86 and other
4712 commercial X servers. It is useful for creating XKB-related software (layout
4713 indicators etc).")
4714 (license license:lgpl2.0+)))
4715
4716 (define-public python2-rsvg
4717 ;; XXX: This is actually a subset of gnome-python-desktop.
4718 (package
4719 (name "python2-rsvg")
4720 (version "2.32.0")
4721 (source
4722 (origin
4723 (method url-fetch)
4724 (uri (string-append
4725 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4726 version ".tar.bz2"))
4727 (sha256
4728 (base32
4729 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4730 (build-system gnu-build-system)
4731 (native-inputs
4732 `(("pkg-config" ,pkg-config)))
4733 (inputs
4734 `(("python" ,python-2)
4735 ("python2-pygtk" ,python2-pygtk)
4736 ("librsvg" ,librsvg)))
4737 (home-page "https://www.gnome.org")
4738 (synopsis "Python bindings to librsvg")
4739 (description
4740 "This package provides Python bindings to librsvg, the SVG rendering
4741 library.")
4742
4743 ;; This is the license of the rsvg bindings. The license of each module
4744 ;; of gnome-python-desktop is given in 'COPYING'.
4745 (license license:lgpl2.1+)))
4746
4747 (define-public glib-networking
4748 (package
4749 (name "glib-networking")
4750 (version "2.62.2")
4751 (source (origin
4752 (method url-fetch)
4753 (uri (string-append "mirror://gnome/sources/glib-networking/"
4754 (version-major+minor version) "/"
4755 "glib-networking-" version ".tar.xz"))
4756 (sha256
4757 (base32
4758 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4759 (build-system meson-build-system)
4760 (arguments
4761 `(#:configure-flags '("-Dlibproxy_support=false")))
4762 (native-inputs
4763 `(("pkg-config" ,pkg-config)
4764 ("intltool" ,intltool)))
4765 (inputs
4766 `(("glib" ,glib)
4767 ("gnutls" ,gnutls)
4768 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4769 (home-page "https://www.gnome.org")
4770 (synopsis "Network-related GIO modules")
4771 (description
4772 "This package contains various network related extensions for the GIO
4773 library.")
4774 (license license:lgpl2.0+)))
4775
4776 (define-public rest
4777 (package
4778 (name "rest")
4779 (version "0.8.1")
4780 (source (origin
4781 (method url-fetch)
4782 (uri (string-append "mirror://gnome/sources/rest/"
4783 (version-major+minor version) "/"
4784 name "-" version ".tar.xz"))
4785 (sha256
4786 (base32
4787 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4788 (build-system gnu-build-system)
4789 (arguments
4790 '(#:tests? #f ; tests require internet connection
4791 #:configure-flags
4792 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4793 (native-inputs
4794 `(("glib-mkenums" ,glib "bin")
4795 ("gobject-introspection" ,gobject-introspection)
4796 ("pkg-config" ,pkg-config)))
4797 (propagated-inputs
4798 ;; rest-0.7.pc refers to all these.
4799 `(("glib" ,glib)
4800 ("libsoup" ,libsoup)
4801 ("libxml2" ,libxml2)))
4802 (home-page "https://www.gtk.org/")
4803 (synopsis "RESTful web api query library")
4804 (description
4805 "This library was designed to make it easier to access web services that
4806 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4807 libxml to ease remote use of the RESTful API.")
4808 (license license:lgpl2.1+)))
4809
4810 (define-public libsoup
4811 (package
4812 (name "libsoup")
4813 (version "2.72.0")
4814 (source (origin
4815 (method url-fetch)
4816 (uri (string-append "mirror://gnome/sources/libsoup/"
4817 (version-major+minor version) "/"
4818 "libsoup-" version ".tar.xz"))
4819 (sha256
4820 (base32
4821 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4822 (build-system meson-build-system)
4823 (outputs '("out" "doc"))
4824 (arguments
4825 `(#:modules ((guix build utils)
4826 (guix build meson-build-system)
4827 (ice-9 popen))
4828
4829 #:configure-flags '("-Dgtk_doc=true")
4830 #:phases
4831 (modify-phases %standard-phases
4832 (add-after 'unpack 'patch-docbook-xml
4833 (lambda* (#:key inputs #:allow-other-keys)
4834 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4835 "/xml/dtd/docbook")))
4836 (substitute* (find-files "docs/reference")
4837 (("http://.*/docbookx\\.dtd")
4838 (string-append xmldoc "/docbookx.dtd")))
4839 #t)))
4840 (add-after 'unpack 'adjust-tests
4841 (lambda _
4842 ;; This test fails due to missing /etc/nsswitch.conf
4843 ;; in the build environment.
4844 (substitute* "tests/socket-test.c"
4845 ((".*/sockets/unconnected.*") ""))
4846
4847 ;; These fail because "subdomain.localhost" does not resolve in
4848 ;; the build environment.
4849 (substitute* "tests/hsts-test.c"
4850 ((".*/hsts/basic.*") "")
4851 ((".*/hsts/subdomains.*") "")
4852 ((".*/hsts/superdomain.*") "")
4853 ((".*/hsts/utf8-address.*") ""))
4854 (substitute* "tests/hsts-db-test.c"
4855 ((".*/hsts-db/subdomains.*") ""))
4856
4857 ;; Generate a self-signed certificate that has "localhost" as its
4858 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4859 ;; 3.5.12, tests such as "ssl-tests" fail:
4860 ;;
4861 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4862 ;;
4863 ;; 'certtool' is interactive so we have to pipe it the answers.
4864 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4865 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4866 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4867 (for-each (lambda (line)
4868 (display line pipe)
4869 (newline pipe))
4870 '("" ;Common name
4871 "" ;UID
4872 "Guix" ;Organizational unit name
4873 "GNU" ;Organization name
4874 "" ;Locality name
4875 "" ;State or province
4876 "" ;Country
4877 "" ;subject's domain component (DC)
4878 "" ;E-mail
4879 "" ;serial number
4880 "-1" ;expiration time
4881 "N" ;belong to authority?
4882 "N" ;web client certificate?
4883 "N" ;IPsec IKE?
4884 "Y" ;web server certificate?
4885 "localhost" ;dnsName of subject
4886 "" ;dnsName of subject (end)
4887 "" ;URI of subject
4888 "127.0.0.1" ;IP address of subject
4889 "" ;signing?
4890 "" ;encryption (RSA)?
4891 "" ;data encryption?
4892 "" ;sign OCSP requests?
4893 "" ;sign code?
4894 "" ;time stamping?
4895 "" ;email protection?
4896 "" ;URI of the CRL distribution point
4897 "y" ;above info OK?
4898 ))
4899 (close-pipe pipe))
4900 #t))
4901 (add-after 'install 'move-doc
4902 (lambda* (#:key outputs #:allow-other-keys)
4903 (let ((out (assoc-ref outputs "out"))
4904 (doc (assoc-ref outputs "doc")))
4905 (mkdir-p (string-append doc "/share"))
4906 (copy-recursively (string-append out "/share/gtk-doc")
4907 (string-append doc "/share/gtk-doc"))
4908 (delete-file-recursively (string-append out "/share/gtk-doc"))
4909 #t))))))
4910 (native-inputs
4911 `(("docbook-xml" ,docbook-xml-4.1.2)
4912 ("glib:bin" ,glib "bin") ; for glib-mkenums
4913 ("gobject-introspection" ,gobject-introspection)
4914 ("gtk-doc" ,gtk-doc/stable)
4915 ("intltool" ,intltool)
4916 ("pkg-config" ,pkg-config)
4917 ("python" ,python-wrapper)
4918 ("vala" ,vala)
4919 ("php" ,php)
4920 ("curl" ,curl)
4921 ("gnutls" ,gnutls) ;for 'certtool'
4922 ("httpd" ,httpd)))
4923 (propagated-inputs
4924 ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
4925 `(("brotli" ,google-brotli)
4926 ("glib" ,glib)
4927 ("glib-networking" ,glib-networking) ; for GIO runtime modules
4928 ("libpsl" ,libpsl)
4929 ("libxml2" ,libxml2)
4930 ("sqlite" ,sqlite)
4931 ("zlib" ,zlib)))
4932 (inputs
4933 `(("mit-krb5" ,mit-krb5)
4934 ("ntlm_auth" ,samba))) ; For ntlm_auth support
4935 (home-page "https://wiki.gnome.org/Projects/libsoup")
4936 (synopsis "GLib-based HTTP Library")
4937 (description
4938 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4939 and the GLib main loop, to integrate well with GNOME applications.")
4940 (license license:lgpl2.0+)))
4941
4942
4943 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4944 (define-public libsoup-minimal
4945 (package/inherit libsoup
4946 (name "libsoup-minimal")
4947 (outputs (delete "doc" (package-outputs libsoup)))
4948 (arguments
4949 (substitute-keyword-arguments (package-arguments libsoup)
4950 ((#:configure-flags configure-flags)
4951 `(delete "-Dgtk_doc=true" ,configure-flags))
4952 ((#:phases phases)
4953 `(modify-phases ,phases
4954 (delete 'move-doc)))))
4955 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4956
4957 (define-public libsecret
4958 (package
4959 (name "libsecret")
4960 (version "0.20.4")
4961 (source (origin
4962 (method url-fetch)
4963 (uri (string-append
4964 "mirror://gnome/sources/libsecret/"
4965 (version-major+minor version) "/"
4966 "libsecret-" version ".tar.xz"))
4967 (sha256
4968 (base32
4969 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4970 (build-system gnu-build-system)
4971 (outputs '("out" "doc"))
4972 (arguments
4973 `(#:tests? #f ; FIXME: Testing hangs.
4974 #:configure-flags
4975 (list (string-append "--with-html-dir="
4976 (assoc-ref %outputs "doc")
4977 "/share/gtk-doc/html"))))
4978 (native-inputs
4979 `(("gettext" ,gettext-minimal)
4980 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4981 ("gobject-introspection" ,gobject-introspection)
4982 ("pkg-config" ,pkg-config)
4983 ("vala" ,vala)
4984 ("xsltproc" ,libxslt)))
4985 ;; These are needed for the tests.
4986 ;; FIXME: Add gjs once available.
4987 ;("dbus" ,dbus)
4988 ;("python2" ,python-2)
4989 ;("python2-dbus" ,python2-dbus)
4990 ;("python2-pygobject" ,python2-pygobject)
4991 ;("python2-pygobject-2" ,python2-pygobject-2)))
4992 (propagated-inputs
4993 `(("glib" ,glib))) ; required by libsecret-1.pc
4994 (inputs
4995 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4996 ;; doesn't seem to affect the build result.
4997 `(("docbook-xsl" ,docbook-xsl)
4998 ("libgcrypt" ,libgcrypt)
4999 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
5000 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5001 (synopsis "GObject bindings for \"Secret Service\" API")
5002 (description
5003 "Libsecret is a GObject based library for storing and retrieving passwords
5004 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5005 (license license:lgpl2.1+)))
5006
5007 (define-public five-or-more
5008 (package
5009 (name "five-or-more")
5010 (version "3.32.2")
5011 (source
5012 (origin
5013 (method url-fetch)
5014 (uri (string-append "mirror://gnome/sources/five-or-more/"
5015 (version-major+minor version) "/"
5016 "five-or-more-" version ".tar.xz"))
5017 (sha256
5018 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5019 (build-system meson-build-system)
5020 (arguments
5021 '(#:glib-or-gtk? #t
5022 #:phases
5023 (modify-phases %standard-phases
5024 (add-after 'unpack 'skip-gtk-update-icon-cache
5025 (lambda _
5026 (substitute* "meson_post_install.py"
5027 (("gtk-update-icon-cache") (which "true")))
5028 #t)))))
5029 (native-inputs
5030 `(("pkg-config" ,pkg-config)
5031 ("appstream-glib" ,appstream-glib)
5032 ("desktop-file-utils" ,desktop-file-utils)
5033 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5034 ("intltool" ,intltool)
5035 ("itstool" ,itstool)
5036 ("vala" ,vala)
5037 ("xmllint" ,libxml2)))
5038 (inputs
5039 `(("gtk+" ,gtk+)
5040 ("libgnome-games-support" ,libgnome-games-support)
5041 ("librsvg" ,librsvg)))
5042 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5043 (synopsis "Logic puzzle game")
5044 (description "Five or More is a game where you try to align
5045 five or more objects of the same color and shape causing them to disappear.
5046 On every turn more objects will appear, until the board is full.
5047 Try to last as long as possible.")
5048 (license license:gpl2+)))
5049
5050 (define-public gnome-mines
5051 (package
5052 (name "gnome-mines")
5053 (version "3.36.1")
5054 (source
5055 (origin
5056 (method url-fetch)
5057 (uri (string-append "mirror://gnome/sources/" name "/"
5058 (version-major+minor version) "/"
5059 name "-" version ".tar.xz"))
5060 (sha256
5061 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5062 (build-system meson-build-system)
5063 (arguments
5064 '(#:glib-or-gtk? #t
5065 #:phases
5066 (modify-phases %standard-phases
5067 (add-after 'unpack 'skip-gtk-update-icon-cache
5068 (lambda _
5069 (substitute* "build-aux/meson_post_install.py"
5070 (("gtk-update-icon-cache") (which "true")))
5071 #t)))))
5072 (native-inputs
5073 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5074 ("pkg-config" ,pkg-config)
5075 ("desktop-file-utils" ,desktop-file-utils)
5076 ("intltool" ,intltool)
5077 ("itstool" ,itstool)
5078 ("vala" ,vala)
5079 ("yelp" ,yelp)
5080 ("appstream-glib" ,appstream-glib)))
5081 (inputs
5082 `(("gtk+" ,gtk+)
5083 ("libgnome-games-support" ,libgnome-games-support)
5084 ("librsvg" ,librsvg)))
5085 (home-page "https://wiki.gnome.org/Apps/Mines")
5086 (synopsis "Minesweeper game")
5087 (description
5088 "Mines (previously gnomine) is a puzzle game where you locate mines
5089 floating in an ocean using only your brain and a little bit of luck.")
5090 (license license:gpl2+)))
5091
5092 (define-public gnome-multi-writer
5093 (package
5094 (name "gnome-multi-writer")
5095 (version "3.35.90")
5096 (source
5097 (origin
5098 (method url-fetch)
5099 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5100 (version-major+minor version) "/"
5101 "gnome-multi-writer-" version ".tar.xz"))
5102 (sha256
5103 (base32
5104 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5105 (build-system meson-build-system)
5106 (arguments
5107 '(#:glib-or-gtk? #t
5108 #:phases
5109 (modify-phases %standard-phases
5110 (add-after 'unpack 'skip-post-install
5111 (lambda _
5112 (substitute* "meson.build"
5113 (("meson.add_install_script" &) (string-append "# " &)))
5114 #t)))))
5115 (native-inputs
5116 `(("glib:bin" ,glib "bin")
5117 ("pkg-config" ,pkg-config)))
5118 (inputs
5119 `(("gtk+" ,gtk+)
5120 ("glib" ,glib) ; for gio
5121 ("gusb" ,gusb)
5122 ("udisks" ,udisks)
5123 ("libgudev" ,libgudev)
5124 ("libcanberra" ,libcanberra)
5125 ("polkit" ,polkit)))
5126 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5127 (synopsis "Write to multiple USB devices at once")
5128 (description
5129 "MultiWriter can be used to write an ISO file to multiple USB devices at
5130 once.")
5131 (license license:gpl2+)))
5132
5133 (define-public gnome-sudoku
5134 (package
5135 (name "gnome-sudoku")
5136 (version "3.34.1")
5137 (source
5138 (origin
5139 (method url-fetch)
5140 (uri (string-append "mirror://gnome/sources/" name "/"
5141 (version-major+minor version) "/"
5142 name "-" version ".tar.xz"))
5143 (sha256
5144 (base32
5145 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5146 (build-system meson-build-system)
5147 (arguments
5148 '(#:glib-or-gtk? #t
5149 #:phases
5150 (modify-phases %standard-phases
5151 (add-after 'unpack 'skip-gtk-update-icon-cache
5152 (lambda _
5153 (substitute* "build-aux/post_install.py"
5154 (("gtk-update-icon-cache") (which "true")))
5155 #t)))))
5156 (native-inputs
5157 `(("pkg-config" ,pkg-config)
5158 ("desktop-file-utils" ,desktop-file-utils)
5159 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5160 ("intltool" ,intltool)
5161 ("itstool" ,itstool)
5162 ("vala" ,vala)
5163 ("xmllint" ,libxml2)))
5164 (inputs
5165 `(("gtk+" ,gtk+)
5166 ("json-glib" ,json-glib)
5167 ("libgee" ,libgee)
5168 ("librsvg" ,librsvg)
5169 ("qqwing" ,qqwing)))
5170 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5171 (synopsis "Japanese logic game")
5172 (description
5173 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5174 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5175 possible while still providing features that make playing difficult Sudoku
5176 more fun.")
5177 (license license:gpl2+)))
5178
5179 (define-public gnome-terminal
5180 (package
5181 (name "gnome-terminal")
5182 (version "3.34.2")
5183 (source
5184 (origin
5185 (method url-fetch)
5186 (uri (string-append "mirror://gnome/sources/" name "/"
5187 (version-major+minor version) "/"
5188 name "-" version ".tar.xz"))
5189 (sha256
5190 (base32
5191 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5192 (build-system glib-or-gtk-build-system)
5193 (arguments
5194 '(#:configure-flags
5195 (list "--disable-migration" "--disable-search-provider"
5196 "--without-nautilus-extension")
5197 #:phases
5198 (modify-phases %standard-phases
5199 (add-before 'configure 'patch-/bin/true
5200 (lambda _
5201 (substitute* "configure"
5202 (("/bin/true") (which "true"))))))))
5203 (native-inputs
5204 `(("pkg-config" ,pkg-config)
5205 ("desktop-file-utils" ,desktop-file-utils)
5206 ("intltool" ,intltool)
5207 ("itstool" ,itstool)
5208 ("xmllint" ,libxml2)))
5209 (propagated-inputs
5210 `(("dconf" ,dconf)))
5211 (inputs
5212 `(("gtk+" ,gtk+)
5213 ("vte" ,vte)
5214 ("gnutls" ,gnutls)
5215 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5216 ("util-linux" ,util-linux "lib")
5217 ("vala" ,vala)))
5218 (home-page "https://wiki.gnome.org/Apps/Terminal")
5219 (synopsis "Terminal emulator")
5220 (description
5221 "GNOME Terminal is a terminal emulator application for accessing a
5222 UNIX shell environment which can be used to run programs available on
5223 your system.
5224
5225 It supports several profiles, multiple tabs and implements several
5226 keyboard shortcuts.")
5227 (license license:gpl3+)))
5228
5229 (define-public colord
5230 (package
5231 (name "colord")
5232 (version "1.4.5")
5233 (source
5234 (origin
5235 (method url-fetch)
5236 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5237 "colord-" version ".tar.xz"))
5238 (sha256
5239 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5240 (build-system meson-build-system)
5241 (arguments
5242 '(;; FIXME: One test fails:
5243 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5244 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5245 ;; application/x-zerosize
5246 #:tests? #f
5247 #:glib-or-gtk? #t
5248 #:configure-flags (list "-Dlocalstatedir=/var"
5249 ;; No dep on systemd.
5250 "-Dsystemd=false"
5251 ;; Wants to install to global completion dir;
5252 ;; punt.
5253 "-Dbash_completion=false"
5254 "-Ddaemon_user=colord"
5255 "-Dsane=true"
5256 "-Dvapi=true"
5257 ;; Requires spotread.
5258 "-Dargyllcms_sensor=false"
5259 ;; TODO: Requires docbook2x.
5260 "-Dman=false")
5261 #:phases
5262 (modify-phases %standard-phases
5263 (add-before 'configure 'patch-build-system
5264 (lambda* (#:key outputs #:allow-other-keys)
5265 (substitute* "rules/meson.build"
5266 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5267 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5268 #t))
5269 (add-before 'configure 'set-sqlite3-file-name
5270 (lambda* (#:key inputs #:allow-other-keys)
5271 ;; "colormgr dump" works by invoking the "sqlite3" command.
5272 ;; Record its absolute file name.
5273 (let ((sqlite (assoc-ref inputs "sqlite")))
5274 (substitute* "client/cd-util.c"
5275 (("\"sqlite3\"")
5276 (string-append "\"" sqlite "/bin/sqlite3\"")))
5277 #t))))))
5278 (native-inputs
5279 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5280 ("gettext" ,gettext-minimal)
5281 ("gobject-introspection" ,gobject-introspection)
5282 ("gtk-doc" ,gtk-doc/stable)
5283 ("pkg-config" ,pkg-config)
5284 ("vala" ,vala)))
5285 (propagated-inputs
5286 ;; colord.pc refers to all these.
5287 `(("glib" ,glib)
5288 ("lcms" ,lcms)
5289 ("udev" ,eudev)))
5290 (inputs
5291 `(("dbus-glib" ,dbus-glib)
5292 ("gusb" ,gusb)
5293 ("libgudev" ,libgudev)
5294 ("libusb" ,libusb)
5295 ("polkit" ,polkit)
5296 ("python" ,python-wrapper)
5297 ("sqlite" ,sqlite)
5298 ("sane-backends" ,sane-backends)))
5299 (home-page "https://www.freedesktop.org/software/colord/")
5300 (synopsis "Color management service")
5301 (description "Colord is a system service that makes it easy to manage,
5302 install and generate color profiles to accurately color manage input and
5303 output devices.")
5304 (license license:gpl2+)))
5305
5306 (define-public geoclue
5307 (package
5308 (name "geoclue")
5309 (version "2.5.7")
5310 (source
5311 (origin
5312 (method url-fetch)
5313 (uri
5314 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5315 version "/geoclue-" version ".tar.bz2"))
5316 (sha256
5317 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5318 (patches (search-patches "geoclue-config.patch"))))
5319 (build-system meson-build-system)
5320 (arguments
5321 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5322 (native-inputs
5323 `(("pkg-config" ,pkg-config)
5324 ("gobject-introspection" ,gobject-introspection)
5325 ("modem-manager" ,modem-manager)
5326 ("libnotify" ,libnotify)
5327 ("gtk-doc" ,gtk-doc/stable)
5328 ("intltool" ,intltool)))
5329 (inputs
5330 `(("avahi" ,avahi)
5331 ("glib:bin" ,glib "bin")
5332 ("glib-networking" ,glib-networking)
5333 ("json-glib" ,json-glib)
5334 ("libsoup" ,libsoup)))
5335 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5336 (synopsis "Geolocation service")
5337 (description "Geoclue is a D-Bus service that provides location
5338 information. The primary goal of the Geoclue project is to make creating
5339 location-aware applications as simple as possible, while the secondary goal is
5340 to ensure that no application can access location information without explicit
5341 permission from user.")
5342 (license license:gpl2+)))
5343
5344 (define-public geocode-glib
5345 (package
5346 (name "geocode-glib")
5347 (version "3.26.2")
5348 (source (origin
5349 (method url-fetch)
5350 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5351 (version-major+minor version) "/"
5352 "geocode-glib-" version ".tar.xz"))
5353 (sha256
5354 (base32
5355 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5356 (build-system meson-build-system)
5357 (arguments
5358 `(#:phases
5359 (modify-phases %standard-phases
5360 ;; The tests require a bunch of locales.
5361 (add-before 'check 'set-locales
5362 (lambda* (#:key inputs #:allow-other-keys)
5363 (setenv "GUIX_LOCPATH"
5364 (string-append (assoc-ref inputs "glibc-locales")
5365 "/lib/locale"))
5366 #t)))))
5367 (native-inputs
5368 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5369 ("glibc-locales" ,glibc-locales) ; for tests
5370 ("gettext" ,gettext-minimal)
5371 ("gobject-introspection" ,gobject-introspection)
5372 ("gtk-doc" ,gtk-doc/stable)
5373 ("pkg-config" ,pkg-config)
5374 ("json-glib" ,json-glib)))
5375 (propagated-inputs
5376 ;; geocode-glib-1.0.pc refers to GIO.
5377 `(("glib" ,glib)))
5378 (inputs
5379 `(("libsoup" ,libsoup)))
5380 (home-page "https://github.com/GNOME/geocode-glib/")
5381 (synopsis "Geocoding and reverse-geocoding library")
5382 (description
5383 "geocode-glib is a convenience library for geocoding (finding longitude,
5384 and latitude from an address) and reverse geocoding (finding an address from
5385 coordinates) using the Nominatim service. geocode-glib caches requests for
5386 faster results and to avoid unnecessary server load.")
5387 (license license:lgpl2.0+)))
5388
5389 (define-public upower
5390 (package
5391 (name "upower")
5392 (version "0.99.11")
5393 (source (origin
5394 (method url-fetch)
5395 (uri (string-append "https://upower.freedesktop.org/releases/"
5396 "upower-" version ".tar.xz"))
5397 (sha256
5398 (base32
5399 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5400 (patches (search-patches "upower-builddir.patch"))
5401 (modules '((guix build utils)))
5402 (snippet
5403 '(begin
5404 ;; Upstream commit
5405 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5406 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5407 ;; 'dbus-configuration-directory' in (gnu services dbus)
5408 ;; expects it in etc/. Thus, move it back to its previous
5409 ;; location.
5410 (substitute* "src/Makefile.in"
5411 (("^dbusconfdir =.*$")
5412 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5413 #t))))
5414 (build-system glib-or-gtk-build-system)
5415 (arguments
5416 '(#:phases
5417 (modify-phases %standard-phases
5418 (add-before 'check 'pre-check
5419 (lambda* (#:key inputs #:allow-other-keys)
5420 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5421 "/lib")))
5422 (setenv "LD_LIBRARY_PATH" umockdev))
5423 #t)))
5424 #:configure-flags (list "--localstatedir=/var"
5425 (string-append "--with-udevrulesdir="
5426 (assoc-ref %outputs "out")
5427 "/lib/udev/rules.d"))))
5428 (native-inputs
5429 `(("gobject-introspection" ,gobject-introspection)
5430 ("pkg-config" ,pkg-config)
5431 ("intltool" ,intltool)
5432 ("python" ,python)
5433
5434 ;; For tests.
5435 ("python-dbus" ,python-dbus)
5436 ("python-dbusmock" ,python-dbusmock)
5437 ("python-pygobject" ,python-pygobject)
5438 ("umockdev" ,umockdev)
5439
5440 ;; For man pages.
5441 ("libxslt" ,libxslt) ;for 'xsltproc'
5442 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5443 ("docbook-xsl" ,docbook-xsl)))
5444 (inputs
5445 `(("dbus-glib" ,dbus-glib)
5446 ("libgudev" ,libgudev)
5447 ("libusb" ,libusb)))
5448 (propagated-inputs
5449 ;; In Requires of upower-glib.pc.
5450 `(("glib" ,glib)))
5451 (home-page "https://upower.freedesktop.org/")
5452 (synopsis "System daemon for managing power devices")
5453 (description
5454 "UPower is an abstraction for enumerating power devices,
5455 listening to device events and querying history and statistics. Any
5456 application or service on the system can access the org.freedesktop.UPower
5457 service via the system message bus.")
5458 (license license:gpl2+)))
5459
5460 (define-public libgweather
5461 (package
5462 (name "libgweather")
5463 (version "3.34.0")
5464 (source (origin
5465 (method url-fetch)
5466 (uri (string-append "mirror://gnome/sources/" name "/"
5467 (version-major+minor version) "/"
5468 name "-" version ".tar.xz"))
5469 (sha256
5470 (base32
5471 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5472 (build-system meson-build-system)
5473 (arguments
5474 `(#:tests? #f ; one of two tests requires network access
5475 #:configure-flags
5476 `(,(string-append "-Dzoneinfo_dir="
5477 (assoc-ref %build-inputs "tzdata")
5478 "/share/zoneinfo"))))
5479 (native-inputs
5480 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5481 ("gobject-introspection" ,gobject-introspection)
5482 ("pkg-config" ,pkg-config)
5483 ("vala" ,vala)
5484 ("intltool" ,intltool)))
5485 (propagated-inputs
5486 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5487 ;; libsoup.
5488 `(("gtk+" ,gtk+)
5489 ("gdk-pixbuf" ,gdk-pixbuf)
5490 ("libxml2" ,libxml2)
5491 ("libsoup" ,libsoup)
5492 ("geocode-glib" ,geocode-glib)))
5493 (inputs
5494 `(("tzdata" ,tzdata)))
5495 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5496 (synopsis "Location, time zone, and weather library for GNOME")
5497 (description
5498 "libgweather is a library to access weather information from online
5499 services for numerous locations.")
5500 (license license:gpl2+)))
5501
5502 (define-public gnome-settings-daemon
5503 (package
5504 (name "gnome-settings-daemon")
5505 (version "3.34.1")
5506 (source
5507 (origin
5508 (method url-fetch)
5509 (uri (string-append "mirror://gnome/sources/" name "/"
5510 (version-major+minor version) "/"
5511 name "-" version ".tar.xz"))
5512 (sha256
5513 (base32
5514 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5515 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5516 (build-system meson-build-system)
5517 (arguments
5518 `(#:glib-or-gtk? #t
5519 #:configure-flags
5520 (list (string-append "-Dudev_dir="
5521 (assoc-ref %outputs "out")
5522 "/lib/udev/rules.d/")
5523 "-Dsystemd=false"
5524 ;; Otherwise, the RUNPATH will lack the final path component.
5525 (string-append "-Dc_link_args=-Wl,-rpath="
5526 (assoc-ref %outputs "out")
5527 "/lib/gnome-settings-daemon-3.0"))
5528
5529 #:phases (modify-phases %standard-phases
5530 (add-before 'configure 'set-baobab-file-name
5531 (lambda* (#:key inputs #:allow-other-keys)
5532 ;; Hard-code the file name of Baobab instead of looking
5533 ;; it up in $PATH. This ensures users get the "Examine"
5534 ;; button in the low disk space notification of GDM even
5535 ;; if they don't have GNOME in their main profile.
5536 (let ((baobab (assoc-ref inputs "baobab")))
5537 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5538 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5539 (string-append "g_strdup (\"" baobab
5540 "/bin/baobab\")")))
5541 #t))))
5542
5543 ;; Color management test can't reach the colord system service.
5544 #:tests? #f))
5545 (native-inputs
5546 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5547 ("pkg-config" ,pkg-config)
5548 ("intltool" ,intltool)
5549 ("xsltproc" ,libxslt)
5550 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5551 ("docbook-xml" ,docbook-xml-4.2)
5552 ("docbook-xsl" ,docbook-xsl)))
5553 (inputs
5554 `(("alsa-lib" ,alsa-lib)
5555 ("baobab" ,baobab)
5556 ("colord" ,colord)
5557 ("libgudev" ,libgudev)
5558 ("upower" ,upower)
5559 ("polkit" ,polkit)
5560 ("pulseaudio" ,pulseaudio)
5561 ("libcanberra" ,libcanberra)
5562 ("libx11" ,libx11)
5563 ("libxtst" ,libxtst)
5564 ("lcms" ,lcms)
5565 ("libnotify" ,libnotify)
5566 ("geoclue" ,geoclue)
5567 ("geocode-glib" ,geocode-glib)
5568 ("libgweather" ,libgweather)
5569 ("gnome-desktop" ,gnome-desktop)
5570 ("nss" ,nss)
5571 ("cups" ,cups)
5572 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5573 ("libwacom" ,libwacom)
5574 ("librsvg" ,librsvg)
5575 ("xf86-input-wacom" ,xf86-input-wacom)
5576 ("wayland" ,wayland)
5577 ("network-manager" ,network-manager)
5578 ("gcr" ,gcr)
5579 ("modem-manager" ,modem-manager)))
5580 (home-page "https://www.gnome.org")
5581 (synopsis "GNOME settings daemon")
5582 (description
5583 "This package contains the daemon responsible for setting the various
5584 parameters of a GNOME session and the applications that run under it. It
5585 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5586 settings, themes, mouse settings, and startup of other daemons.")
5587 (license license:gpl2+)))
5588
5589 (define-public totem-pl-parser
5590 (package
5591 (name "totem-pl-parser")
5592 (version "3.26.5")
5593 (source (origin
5594 (method url-fetch)
5595 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5596 (version-major+minor version) "/"
5597 "totem-pl-parser-" version ".tar.xz"))
5598 (sha256
5599 (base32
5600 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5601 (build-system meson-build-system)
5602 (arguments
5603 ;; FIXME: Tests require gvfs.
5604 `(#:tests? #f))
5605 (native-inputs
5606 `(("intltool" ,intltool)
5607 ("glib" ,glib "bin")
5608 ("gobject-introspection" ,gobject-introspection)
5609 ("pkg-config" ,pkg-config)))
5610 (propagated-inputs
5611 `(("glib" ,glib)
5612 ("gmime" ,gmime)
5613 ("libarchive" ,libarchive)
5614 ("libgcrypt" ,libgcrypt)
5615 ("libxml2" ,libxml2)))
5616 (inputs
5617 `(("libsoup" ,libsoup)))
5618 (home-page "https://projects.gnome.org/totem")
5619 (synopsis "Library to parse and save media playlists for GNOME")
5620 (description "Totem-pl-parser is a GObjects-based library to parse and save
5621 playlists in a variety of formats.")
5622 (license license:lgpl2.0+)))
5623
5624 (define-public aisleriot
5625 (package
5626 (name "aisleriot")
5627 (version "3.22.9")
5628 (source (origin
5629 (method url-fetch)
5630 (uri (string-append "mirror://gnome/sources/aisleriot/"
5631 (version-major+minor version) "/"
5632 "aisleriot-" version ".tar.xz"))
5633 (sha256
5634 (base32
5635 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5636 (build-system glib-or-gtk-build-system)
5637 (arguments
5638 '(#:configure-flags
5639 '("--with-platform=gtk-only"
5640 "--with-card-theme-formats=svg")))
5641 (native-inputs
5642 `(("desktop-file-utils" ,desktop-file-utils)
5643 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5644 ("intltool" ,intltool)
5645 ("itstool" ,itstool)
5646 ("pkg-config" ,pkg-config)
5647 ("xmllint" ,libxml2)))
5648 (inputs
5649 `(("gtk+" ,gtk+)
5650 ("guile" ,guile-2.2)
5651 ("libcanberra" ,libcanberra)
5652 ("librsvg" ,librsvg)))
5653 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5654 (synopsis "Solitaire card games")
5655 (description
5656 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5657 which are easy to play with the aid of a mouse.")
5658 (license license:gpl3+)))
5659
5660 (define-public amtk
5661 (package
5662 (name "amtk")
5663 (version "5.0.2")
5664 (source (origin
5665 (method url-fetch)
5666 (uri (string-append "mirror://gnome/sources/amtk/"
5667 (version-major+minor version) "/"
5668 "amtk-" version ".tar.xz"))
5669 (sha256
5670 (base32
5671 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5672 (build-system gnu-build-system)
5673 (arguments
5674 '(#:configure-flags '("--enable-gtk-doc")))
5675 (native-inputs
5676 `(("gobject-introspection" ,gobject-introspection)
5677 ("glib:bin" ,glib "bin") ; for glib-mkenums
5678 ("gtk-doc" ,gtk-doc/stable)
5679 ("pkg-config" ,pkg-config)))
5680 (inputs
5681 `(("glib" ,glib)
5682 ("gtk+" ,gtk+)))
5683 (home-page "https://wiki.gnome.org/Projects/Amtk")
5684 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5685 (description
5686 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5687 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5688 both a traditional UI or a modern UI with a GtkHeaderBar.")
5689 (license license:lgpl2.1+)))
5690
5691 (define-public devhelp
5692 (package
5693 (name "devhelp")
5694 (version "3.34.0")
5695 (source (origin
5696 (method url-fetch)
5697 (uri (string-append "mirror://gnome/sources/" name "/"
5698 (version-major+minor version) "/"
5699 name "-" version ".tar.xz"))
5700 (sha256
5701 (base32
5702 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5703 (build-system meson-build-system)
5704 (arguments
5705 '(#:glib-or-gtk? #t
5706 #:phases
5707 (modify-phases %standard-phases
5708 (add-after 'unpack 'skip-gtk-update-icon-cache
5709 ;; Don't create 'icon-theme.cache'.
5710 (lambda _
5711 (substitute* "meson_post_install.py"
5712 (("gtk-update-icon-cache") "true"))
5713 #t)))))
5714 (native-inputs
5715 `(("intltool" ,intltool)
5716 ("itstool" ,itstool)
5717 ("gobject-introspection" ,gobject-introspection)
5718 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5719 ("pkg-config" ,pkg-config)))
5720 (inputs
5721 `(("amtk" ,amtk)
5722 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5723 ("webkitgtk" ,webkitgtk)))
5724 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5725 (synopsis "API documentation browser for GNOME")
5726 (description
5727 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5728 natively with GTK-Doc (the API reference system developed for GTK+ and used
5729 throughout GNOME for API documentation).")
5730 (license license:gpl2+)))
5731
5732 (define-public cogl
5733 (package
5734 (name "cogl")
5735 (version "1.22.8")
5736 (source
5737 (origin
5738 (method url-fetch)
5739 (uri (string-append "mirror://gnome/sources/cogl/"
5740 (version-major+minor version) "/"
5741 "cogl-" version ".tar.xz"))
5742 (sha256
5743 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5744 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5745 ;; cogl, corresponding changes may be appropriate in mutter as well.
5746 (build-system gnu-build-system)
5747 (native-inputs
5748 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5749 ("gobject-introspection" ,gobject-introspection)
5750 ("xorg-server" ,xorg-server-for-tests)
5751 ("pkg-config" ,pkg-config)))
5752 (propagated-inputs
5753 `(("glib" ,glib)
5754 ("gdk-pixbuf" ,gdk-pixbuf)
5755 ("libx11" ,libx11)
5756 ("libxext" ,libxext)
5757 ("libxfixes" ,libxfixes)
5758 ("libxdamage" ,libxdamage)
5759 ("libxcomposite" ,libxcomposite)
5760 ("libxrandr" ,libxrandr)))
5761 (inputs
5762 `(("mesa" ,mesa)
5763 ("cairo" ,cairo)
5764 ("pango" ,pango)
5765 ("gstreamer" ,gstreamer)
5766 ("gst-plugins-base" ,gst-plugins-base)
5767 ("wayland" ,wayland)))
5768 (arguments
5769 `(#:disallowed-references (,xorg-server-for-tests)
5770 #:configure-flags (list "--enable-cogl-gst"
5771 "--enable-wayland-egl-platform"
5772 "--enable-wayland-egl-server"
5773
5774 ;; Arrange to pass an absolute file name to
5775 ;; dlopen for libGL.so.
5776 (string-append "--with-gl-libname="
5777 (assoc-ref %build-inputs "mesa")
5778 "/lib/libGL.so"))
5779 #:phases
5780 (modify-phases %standard-phases
5781 (add-after 'unpack 'fix-build-with-mesa-20
5782 (lambda _
5783 ;; Work around a problem with Mesa 20 where some macros used by
5784 ;; Cogl went missing from eglext.h. This can likely be removed
5785 ;; for newer versions of Cogl or Mesa.
5786 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5787 (substitute* '("configure"
5788 "cogl/winsys/cogl-winsys-egl-kms.c")
5789 (("#include <EGL/eglext.h>" all)
5790 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5791 #t))
5792 (add-before 'check 'start-xorg-server
5793 (lambda* (#:key tests? inputs #:allow-other-keys)
5794 (if tests?
5795 (begin
5796 ;; The test suite requires a running X server.
5797 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5798 (assoc-ref inputs "xorg-server")))
5799 (setenv "DISPLAY" ":1")
5800 #t)
5801 (format #t "test suite not run~%"))
5802 #t)))))
5803 (home-page "https://www.cogl3d.org")
5804 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5805 (description
5806 "Cogl is a small library for using 3D graphics hardware to draw pretty
5807 pictures. The API departs from the flat state machine style of OpenGL and is
5808 designed to make it easy to write orthogonal components that can render
5809 without stepping on each others toes.")
5810 (license (list license:expat ; most of the code
5811 license:bsd-3 ; cogl/cogl-point-in-poly.c
5812 license:sgifreeb2.0 ; cogl-path/tesselator/
5813 license:asl2.0)))) ; examples/android/
5814
5815 (define-public clutter
5816 (package
5817 (name "clutter")
5818 (version "1.26.2")
5819 (source
5820 (origin
5821 (method url-fetch)
5822 (uri (string-append "mirror://gnome/sources/" name "/"
5823 (version-major+minor version) "/"
5824 name "-" version ".tar.xz"))
5825 (sha256
5826 (base32
5827 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5828 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5829 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5830 (build-system gnu-build-system)
5831 (outputs '("out"
5832 "doc")) ;9 MiB of gtk-doc HTML pages
5833 (native-inputs
5834 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5835 ("gobject-introspection" ,gobject-introspection)
5836 ("pkg-config" ,pkg-config)
5837 ("xsltproc" ,libxslt)))
5838 (propagated-inputs
5839 `(("cogl" ,cogl)
5840 ("cairo" ,cairo)
5841 ("atk" ,atk)
5842 ("gtk+" ,gtk+)
5843 ("json-glib" ,json-glib)
5844 ("glib" ,glib)
5845 ("libxcomposite" ,libxcomposite)
5846 ("libxdamage" ,libxdamage)
5847 ("libxext" ,libxext)
5848 ("xinput" ,xinput)))
5849 (inputs
5850 `(("libxkbcommon" ,libxkbcommon)
5851 ("udev" ,eudev)))
5852 (arguments
5853 `(#:configure-flags (list "--enable-x11-backend=yes"
5854
5855 ;; This produces share/doc/{clutter,cally}.
5856 (string-append "--with-html-dir="
5857 (assoc-ref %outputs "doc")
5858 "/share/doc"))
5859 ;; XXX FIXME: Get test suite working. It would probably fail in the
5860 ;; same way the cogl tests fail, since clutter is based on cogl.
5861 #:tests? #f))
5862 (home-page "http://www.clutter-project.org")
5863 (synopsis "OpenGL-based interactive canvas library")
5864 (description
5865 "Clutter is an OpenGL-based interactive canvas library, designed for
5866 creating fast, mainly 2D single window applications such as media box UIs,
5867 presentations, kiosk style applications and so on.")
5868 (license license:lgpl2.0+)))
5869
5870 (define-public clutter-gtk
5871 (package
5872 (name "clutter-gtk")
5873 (version "1.8.4")
5874 (source
5875 (origin
5876 (method url-fetch)
5877 (uri (string-append "mirror://gnome/sources/" name "/"
5878 (version-major+minor version) "/"
5879 name "-" version ".tar.xz"))
5880 (sha256
5881 (base32
5882 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5883 (build-system gnu-build-system)
5884 (native-inputs
5885 `(("pkg-config" ,pkg-config)
5886 ("gobject-introspection" ,gobject-introspection)))
5887 (propagated-inputs
5888 ;; clutter-gtk.pc refers to all these.
5889 `(("clutter" ,clutter)
5890 ("gtk+" ,gtk+)))
5891 (home-page "http://www.clutter-project.org")
5892 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5893 (description
5894 "Clutter is an OpenGL-based interactive canvas library, designed for
5895 creating fast, mainly 2D single window applications such as media box UIs,
5896 presentations, kiosk style applications and so on.")
5897 (license license:lgpl2.0+)))
5898
5899 (define-public clutter-gst
5900 (package
5901 (name "clutter-gst")
5902 (version "3.0.27")
5903 (source
5904 (origin
5905 (method url-fetch)
5906 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5907 (version-major+minor version) "/"
5908 "clutter-gst-" version ".tar.xz"))
5909 (sha256
5910 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5911 (build-system gnu-build-system)
5912 (native-inputs
5913 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5914 ("pkg-config" ,pkg-config)
5915 ("gobject-introspection" ,gobject-introspection)))
5916 (inputs
5917 `(("clutter" ,clutter)
5918 ("gstreamer" ,gstreamer)
5919 ("gst-plugins-base" ,gst-plugins-base)))
5920 (home-page "http://www.clutter-project.org")
5921 (synopsis "Integration library for using GStreamer with Clutter")
5922 (description
5923 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5924 It provides a GStreamer sink to upload frames to GL and an actor that
5925 implements the ClutterGstPlayer interface using playbin. Clutter is an
5926 OpenGL-based interactive canvas library.")
5927 (license license:lgpl2.0+)))
5928
5929 (define-public libchamplain
5930 (package
5931 (name "libchamplain")
5932 (version "0.12.16")
5933 (source (origin
5934 (method url-fetch)
5935 (uri (string-append
5936 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5937 version ".tar.xz"))
5938 (sha256
5939 (base32
5940 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5941 (build-system gnu-build-system)
5942 (arguments '(#:configure-flags '("--enable-vala")))
5943 (native-inputs
5944 `(("gobject-introspection" ,gobject-introspection)
5945 ("pkg-config" ,pkg-config)
5946 ("vala" ,vala)))
5947 (propagated-inputs
5948 `(("libsoup" ,libsoup)
5949 ("sqlite" ,sqlite)
5950 ("clutter" ,clutter)
5951 ("clutter-gtk" ,clutter-gtk)
5952 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5953 ("cairo" ,cairo)
5954 ("gtk+3" ,gtk+)
5955 ("glib" ,glib)))
5956 (home-page "https://projects.gnome.org/libchamplain/")
5957 (synopsis "C library providing a ClutterActor to display maps")
5958 (description
5959 "libchamplain is a C library providing a ClutterActor to display maps.
5960 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5961 and Perl bindings are also available. It supports numerous free map sources
5962 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5963 (license license:lgpl2.1+)))
5964
5965 (define-public gom
5966 (package
5967 (name "gom")
5968 (version "0.3.2")
5969 (source
5970 (origin
5971 (method url-fetch)
5972 (uri (string-append "mirror://gnome/sources/gom/"
5973 (version-major+minor version) "/"
5974 "gom-" version ".tar.xz"))
5975 (sha256
5976 (base32
5977 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5978 (build-system gnu-build-system)
5979 (native-inputs
5980 `(("intltool" ,intltool)
5981 ("pkg-config" ,pkg-config)
5982 ("gobject-introspection" ,gobject-introspection)))
5983 (inputs
5984 `(("glib" ,glib)
5985 ("gdk-pixbuf" ,gdk-pixbuf)
5986 ("sqlite" ,sqlite)))
5987 ;; XXX TODO: Figure out how to run the test suite.
5988 (arguments `(#:tests? #f))
5989 (home-page "https://wiki.gnome.org/Projects/Gom")
5990 (synopsis "Object mapper from GObjects to SQLite")
5991 (description
5992 "Gom provides an object mapper from GObjects to SQLite. It helps you
5993 write applications that need to store structured data as well as make complex
5994 queries upon that data.")
5995 (license license:lgpl2.1+)))
5996
5997 (define-public libgnome-games-support
5998 (package
5999 (name "libgnome-games-support")
6000 (version "1.7.1")
6001 (source (origin
6002 (method url-fetch)
6003 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6004 (version-major+minor version) "/"
6005 "libgnome-games-support-" version ".tar.xz"))
6006 (sha256
6007 (base32
6008 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6009 (build-system meson-build-system)
6010 (arguments
6011 '(#:glib-or-gtk? #t
6012 #:phases
6013 (modify-phases %standard-phases
6014 (add-before 'check 'pre-check
6015 (lambda _
6016 ;; Tests require a writable HOME.
6017 (setenv "HOME" (getcwd))
6018 #t)))))
6019 (native-inputs
6020 `(("intltool" ,intltool)
6021 ("pkg-config" ,pkg-config)
6022 ("vala" ,vala)))
6023 (propagated-inputs
6024 ;; Required by libgnome-games-support-1.0.pc
6025 `(("gtk+" ,gtk+)
6026 ("libgee" ,libgee)))
6027 (home-page "https://www.gnome.org/")
6028 (synopsis "Useful functionality shared among GNOME games")
6029 (description
6030 "libgnome-games-support is a small library intended for internal use by
6031 GNOME Games, but it may be used by others.")
6032 (license license:lgpl3+)))
6033
6034 (define-public gnome-klotski
6035 (package
6036 (name "gnome-klotski")
6037 (version "3.34.0")
6038 (source (origin
6039 (method url-fetch)
6040 (uri (string-append "mirror://gnome/sources/" name "/"
6041 (version-major+minor version) "/"
6042 name "-" version ".tar.xz"))
6043 (sha256
6044 (base32
6045 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6046 (build-system meson-build-system)
6047 (arguments
6048 '(#:glib-or-gtk? #t
6049 #:phases
6050 (modify-phases %standard-phases
6051 (add-after 'unpack 'skip-gtk-update-icon-cache
6052 ;; Don't create 'icon-theme.cache'.
6053 (lambda _
6054 (substitute* "build-aux/meson_post_install.py"
6055 (("gtk-update-icon-cache") (which "true")))
6056 #t)))))
6057 (native-inputs
6058 `(("desktop-file-utils" ,desktop-file-utils)
6059 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6060 ("intltool" ,intltool)
6061 ("itstool" ,itstool)
6062 ("pkg-config" ,pkg-config)
6063 ("vala" ,vala)
6064 ("xmllint" ,libxml2)))
6065 (inputs
6066 `(("gtk+" ,gtk+)
6067 ("libgnome-games-support" ,libgnome-games-support)
6068 ("librsvg" ,librsvg)))
6069 (home-page "https://wiki.gnome.org/Apps/Klotski")
6070 (synopsis "Sliding block puzzles")
6071 (description
6072 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6073 the patterned block to the area bordered by green markers. To do so, you will
6074 need to slide other blocks out of the way. Complete each puzzle in as few moves
6075 as possible!")
6076 (license license:gpl2+)))
6077
6078 (define-public grilo
6079 (package
6080 (name "grilo")
6081 (version "0.3.12")
6082 (source
6083 (origin
6084 (method url-fetch)
6085 (uri (string-append "mirror://gnome/sources/grilo/"
6086 (version-major+minor version) "/"
6087 "grilo-" version ".tar.xz"))
6088 (sha256
6089 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6090 (build-system meson-build-system)
6091 (native-inputs
6092 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6093 ("intltool" ,intltool)
6094 ("pkg-config" ,pkg-config)
6095 ("gobject-introspection" ,gobject-introspection)
6096 ("gtk-doc" ,gtk-doc/stable)
6097 ("vala" ,vala)))
6098 (inputs
6099 `(("cyrus-sasl" ,cyrus-sasl)
6100 ("glib" ,glib)
6101 ("gtk+" ,gtk+)
6102 ("libxml2" ,libxml2)
6103 ("liboauth" ,liboauth)
6104 ("libsoup" ,libsoup)
6105 ("totem-pl-parser" ,totem-pl-parser)))
6106 (native-search-paths
6107 (list (search-path-specification
6108 (variable "GRL_PLUGIN_PATH")
6109 (files (list (string-append "lib/grilo-"
6110 (version-major+minor version)))))))
6111 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6112 (synopsis "Framework for discovering and browsing media")
6113 (description
6114 "Grilo is a framework focused on making media discovery and browsing easy
6115 for application developers.")
6116 (license license:lgpl2.1+)))
6117
6118 (define-public grilo-plugins
6119 (package
6120 (name "grilo-plugins")
6121 (version "0.3.11")
6122 (source
6123 (origin
6124 (method url-fetch)
6125 (uri (string-append "mirror://gnome/sources/" name "/"
6126 (version-major+minor version) "/"
6127 name "-" version ".tar.xz"))
6128 (sha256
6129 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6130 (build-system meson-build-system)
6131 (native-inputs
6132 `(("gettext" ,gettext-minimal)
6133 ("glib:bin" ,glib "bin")
6134 ("gtk+:bin" ,gtk+ "bin")
6135 ("itstool" ,itstool)
6136 ("pkg-config" ,pkg-config)))
6137 ;; TODO: ahavi, gstreamer
6138 (inputs
6139 `(("grilo" ,grilo)
6140 ;("gmime" ,gmime) ; unused
6141 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6142 ("gom" ,gom)
6143 ;("gssdp" ,gssdp) ; unused
6144 ;("gupnp" ,gupnp) ; unused
6145 ;("gupnp-av" ,gupnp-av) ; unused
6146 ("json-glib" ,json-glib)
6147 ("avahi" ,avahi)
6148 ("libgdata" ,libgdata)
6149 ("libmediaart" ,libmediaart)
6150 ;("librest" ,rest) ; unused
6151 ("libsoup" ,libsoup)
6152 ("totam-pl-parser" ,totem-pl-parser)
6153 ("tracker" ,tracker))) ; unused because it's too old
6154 (arguments
6155 `(#:glib-or-gtk? #t
6156 ;;Disable lua-factory as it needs missing dependencies
6157 #:configure-flags '("-Denable-lua-factory=no")))
6158 (home-page "https://live.gnome.org/Grilo")
6159 (synopsis "Plugins for the Grilo media discovery library")
6160 (description
6161 "Grilo is a framework focused on making media discovery and browsing easy
6162 for application developers. This package provides plugins for common media
6163 discovery protocols.")
6164 (license license:lgpl2.1+)))
6165
6166 (define-public totem
6167 (package
6168 (name "totem")
6169 (version "3.38.0")
6170 (source
6171 (origin
6172 (method url-fetch)
6173 (uri (string-append "mirror://gnome/sources/totem/"
6174 (version-major+minor version) "/"
6175 "totem-" version ".tar.xz"))
6176 (sha256
6177 (base32
6178 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6179 (build-system meson-build-system)
6180 (native-inputs
6181 `(("pkg-config" ,pkg-config)
6182 ("desktop-file-utils" ,desktop-file-utils)
6183 ("gettext" ,gettext-minimal)
6184 ("gobject-introspection" ,gobject-introspection)
6185 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6186 ("itstool" ,itstool)
6187 ("xmllint" ,libxml2)
6188 ("xorg-server" ,xorg-server-for-tests)))
6189 (propagated-inputs
6190 `(("dconf" ,dconf)))
6191 (inputs
6192 `(("gtk+" ,gtk+)
6193 ("gdk-pixbuf" ,gdk-pixbuf)
6194 ("atk" ,atk)
6195 ("cairo" ,cairo)
6196 ("dbus-glib" ,dbus-glib)
6197 ("clutter" ,clutter)
6198 ("clutter-gtk" ,clutter-gtk)
6199 ("clutter-gst" ,clutter-gst)
6200 ("xorgproto" ,xorgproto)
6201 ("libxxf86vm" ,libxxf86vm)
6202 ("libxtst" ,libxtst)
6203 ("libxrandr" ,libxrandr)
6204 ("libxml2" ,libxml2)
6205 ("libsoup" ,libsoup)
6206 ("libpeas" ,libpeas)
6207 ("librsvg" ,librsvg)
6208 ("lirc" ,lirc)
6209 ("gnome-desktop" ,gnome-desktop)
6210 ("gstreamer" ,gstreamer)
6211 ("gst-plugins-base" ,gst-plugins-base)
6212 ("gst-plugins-good" ,gst-plugins-good)
6213 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6214 ("adwaita-icon-theme" ,adwaita-icon-theme)
6215 ("python" ,python)
6216 ("python-pygobject" ,python-pygobject)
6217 ("totem-pl-parser" ,totem-pl-parser)
6218 ("grilo" ,grilo)
6219 ("grilo-plugins" ,grilo-plugins)
6220 ("vala" ,vala)))
6221 (arguments
6222 `(#:glib-or-gtk? #t
6223
6224 ;; Disable automatic GStreamer plugin installation via PackageKit and
6225 ;; all that.
6226 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6227
6228 ;; Do not build .a files for the plugins, it's
6229 ;; completely useless. This saves 2 MiB.
6230 "--default-library" "shared")
6231 #:phases
6232 (modify-phases %standard-phases
6233 (add-after 'unpack 'skip-gtk-update-icon-cache
6234 ;; Don't create 'icon-theme.cache'.
6235 (lambda _
6236 (substitute* "meson_post_install.py"
6237 (("gtk-update-icon-cache") "true"))
6238 #t))
6239 (add-after 'unpack 'patch-failing-test
6240 (lambda _
6241 ;; Work around test failure with GStreamer 1.18, because the test
6242 ;; relies on "und" not being mapped to a particular language:
6243 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6244 (substitute* "src/test-totem.c"
6245 (("und") "nosuchlang"))
6246 #t))
6247 (add-before
6248 'install 'disable-cache-generation
6249 (lambda _
6250 (setenv "DESTDIR" "/")
6251 #t))
6252 (add-before
6253 'check 'pre-check
6254 (lambda _
6255 ;; Tests require a running X server.
6256 (system "Xvfb :1 &")
6257 (setenv "DISPLAY" ":1")
6258 #t))
6259 (add-after
6260 'install 'wrap-totem
6261 (lambda* (#:key inputs outputs #:allow-other-keys)
6262 (let ((out (assoc-ref outputs "out"))
6263 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6264 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6265 (wrap-program (string-append out "/bin/totem")
6266 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6267 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6268 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6269 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6270 #t)))))
6271 (home-page "https://wiki.gnome.org/Apps/Videos")
6272 (synopsis "Simple media player for GNOME based on GStreamer")
6273 (description "Totem is a simple yet featureful media player for GNOME
6274 which can read a large number of file formats.")
6275 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6276 ;; to be used and distributed together with GStreamer and Totem. See
6277 ;; file://COPYING in the source distribution for details.
6278 (license license:gpl2+)))
6279
6280 (define-public rhythmbox
6281 (package
6282 (name "rhythmbox")
6283 (version "3.4.4")
6284 (source (origin
6285 (method url-fetch)
6286 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6287 (version-major+minor version) "/"
6288 "rhythmbox-" version ".tar.xz"))
6289 (sha256
6290 (base32
6291 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6292 (build-system glib-or-gtk-build-system)
6293 (arguments
6294 `(#:configure-flags
6295 (list "--enable-lirc"
6296 "--enable-python"
6297 "--enable-vala"
6298 "--with-brasero"
6299 "--with-gudev"
6300 "--with-libsecret")
6301 #:phases
6302 (modify-phases %standard-phases
6303 (add-after
6304 'install 'wrap-rhythmbox
6305 (lambda* (#:key inputs outputs #:allow-other-keys)
6306 (let ((out (assoc-ref outputs "out"))
6307 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6308 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6309 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6310 (python-path (getenv "PYTHONPATH")))
6311 (wrap-program (string-append out "/bin/rhythmbox")
6312 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6313 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6314 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6315 `("PYTHONPATH" ":" prefix (,python-path))))
6316 #t)))))
6317 (propagated-inputs
6318 `(("dconf" ,dconf)))
6319 (native-inputs
6320 `(("itstool" ,itstool)
6321 ("intltool" ,intltool)
6322 ("glib" ,glib "bin")
6323 ("gobject-introspection" ,gobject-introspection)
6324 ("desktop-file-utils" ,desktop-file-utils)
6325 ("pkg-config" ,pkg-config)
6326 ("xmllint" ,libxml2)))
6327 (inputs
6328 `(("json-glib" ,json-glib)
6329 ("tdb" ,tdb)
6330 ("gnome-desktop" ,gnome-desktop)
6331 ("python" ,python)
6332 ("python-pygobject" ,python2-pygobject)
6333 ("vala" ,vala)
6334 ("gmime" ,gmime)
6335 ("adwaita-icon-theme" ,adwaita-icon-theme)
6336 ("grilo" ,grilo)
6337 ("grilo-plugins" ,grilo-plugins)
6338 ("gstreamer" ,gstreamer)
6339 ("gst-plugins-base" ,gst-plugins-base)
6340 ("gst-plugins-good" ,gst-plugins-good)
6341 ("totem-pl-parser" ,totem-pl-parser)
6342 ("libgudev" ,libgudev)
6343 ;;("libmtp" ,libmtp) FIXME: Not detected
6344 ("libsecret" ,libsecret)
6345 ("libsoup" ,libsoup)
6346 ("libnotify" ,libnotify)
6347 ("libpeas" ,libpeas)
6348 ("lirc" ,lirc)
6349 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6350 ;;("clutter" ,clutter)
6351 ;;("clutter-gtk" ,clutter-gtk)
6352 ;;("clutter-gst" ,clutter-gst)
6353 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6354 ("atk" ,atk)
6355 ("pango" ,pango)
6356 ("gtk+" ,gtk+)
6357 ;; TODO:
6358 ;; * libgpod
6359 ;; * mx
6360 ("brasero" ,brasero)))
6361 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6362 (synopsis "Music player for GNOME")
6363 (description "Rhythmbox is a music playing application for GNOME. It
6364 supports playlists, song ratings, and any codecs installed through gstreamer.")
6365 (license license:gpl2+)))
6366
6367 (define-public eog
6368 (package
6369 (name "eog")
6370 (version "3.34.1")
6371 (source (origin
6372 (method url-fetch)
6373 (uri (string-append "mirror://gnome/sources/" name "/"
6374 (version-major+minor version) "/"
6375 name "-" version ".tar.xz"))
6376 (sha256
6377 (base32
6378 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6379 (build-system meson-build-system)
6380 (arguments
6381 `(#:configure-flags
6382 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6383 (list (string-append "-Dc_link_args=-Wl,-rpath="
6384 (assoc-ref %outputs "out") "/lib/eog"))
6385 #:phases
6386 (modify-phases %standard-phases
6387 (add-after 'unpack 'skip-gtk-update-icon-cache
6388 ;; Don't create 'icon-theme.cache'.
6389 (lambda _
6390 (substitute* "meson_post_install.py"
6391 (("gtk-update-icon-cache") "true"))
6392 #t))
6393 (add-after 'install 'wrap-eog
6394 (lambda* (#:key outputs #:allow-other-keys)
6395 (let ((out (assoc-ref outputs "out"))
6396 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6397 (wrap-program (string-append out "/bin/eog")
6398 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6399 #t)))))
6400 (propagated-inputs
6401 `(("dconf" ,dconf)))
6402 (native-inputs
6403 `(("intltool" ,intltool)
6404 ("itstool" ,itstool)
6405 ("glib" ,glib "bin")
6406 ("gobject-introspection" ,gobject-introspection)
6407 ("pkg-config" ,pkg-config)
6408 ("xmllint" ,libxml2)))
6409 (inputs
6410 `(("gnome-desktop" ,gnome-desktop)
6411 ("shared-mime-info" ,shared-mime-info)
6412 ("adwaita-icon-theme" ,adwaita-icon-theme)
6413 ("exempi" ,exempi)
6414 ("lcms" ,lcms)
6415 ("libexif" ,libexif)
6416 ("libpeas" ,libpeas)
6417 ("libjpeg" ,libjpeg-turbo)
6418 ("librsvg" ,librsvg-next)
6419 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6420 ("gtk+" ,gtk+)))
6421 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6422 (synopsis "GNOME image viewer")
6423 (description "Eye of GNOME is the GNOME image viewer. It
6424 supports image conversion, rotation, and slideshows.")
6425 (license license:gpl2+)))
6426
6427 (define-public eog-plugins
6428 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6429 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6430 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6431 ;; 'XDG_DATA_DIRS' appropriately set.
6432 (package
6433 (name "eog-plugins")
6434 (version "3.26.4")
6435 (source (origin
6436 (method url-fetch)
6437 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6438 (version-major+minor version) "/"
6439 "eog-plugins-" version ".tar.xz"))
6440 (sha256
6441 (base32
6442 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6443 (build-system gnu-build-system)
6444 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6445 (synopsis "Extensions for the Eye of GNOME image viewer")
6446 (native-inputs
6447 `(("pkg-config" ,pkg-config)
6448 ("gettext" ,gettext-minimal)))
6449 (inputs
6450 `(("eog" ,eog)
6451 ("glib" ,glib)
6452 ("gtk+" ,gtk+)
6453 ("libpeas" ,libpeas)
6454 ("libexif" ,libexif)
6455 ("libchamplain" ,libchamplain)))
6456 (description
6457 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6458 notably:
6459
6460 @itemize
6461 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6462 @item @dfn{Map}, which displays a map of where the picture was taken on the
6463 side panel;
6464 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6465 @end itemize\n")
6466
6467 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6468 ;; long suspicious byte stream that goes to a
6469 ;; ".gresource.eog_postasa_plugin" ELF section.
6470 (license license:gpl2+)))
6471
6472 (define-public libgudev
6473 (package
6474 (name "libgudev")
6475 (version "232")
6476 (source (origin
6477 (method url-fetch)
6478 (uri (string-append "mirror://gnome/sources/" name "/"
6479 version "/" name "-" version ".tar.xz"))
6480 (sha256
6481 (base32
6482 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6483 (build-system gnu-build-system)
6484 (arguments
6485 '(#:configure-flags
6486 ;; umockdev depends on libgudev.
6487 (list "--disable-umockdev")))
6488 (native-inputs
6489 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6490 ("gobject-introspection" ,gobject-introspection)
6491 ("pkg-config" ,pkg-config)))
6492 (propagated-inputs
6493 `(("glib" ,glib))) ; required by gudev-1.0.pc
6494 (inputs
6495 `(("udev" ,eudev)))
6496 (home-page "https://wiki.gnome.org/Projects/libgudev")
6497 (synopsis "GObject bindings for libudev")
6498 (description
6499 "This library provides GObject bindings for libudev. It was originally
6500 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6501 (license license:lgpl2.1+)))
6502
6503 (define-public gvfs
6504 (package
6505 (name "gvfs")
6506 (version "1.40.2")
6507 (source (origin
6508 (method url-fetch)
6509 (uri (string-append "mirror://gnome/sources/gvfs/"
6510 (version-major+minor version) "/"
6511 "gvfs-" version ".tar.xz"))
6512 (sha256
6513 (base32
6514 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6515 ;; This patch may be removed when upgrading to version 1.46.x.
6516 (patches
6517 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6518 (build-system meson-build-system)
6519 (arguments
6520 '(#:glib-or-gtk? #t
6521 #:configure-flags
6522 (list "-Dsystemduserunitdir=no"
6523 "-Dtmpfilesdir=no"
6524 ;; Otherwise, the RUNPATH will lack the final path component.
6525 (string-append "-Dc_link_args=-Wl,-rpath="
6526 (assoc-ref %outputs "out") "/lib/gvfs"))))
6527 (native-inputs
6528 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6529 ("gettext" ,gettext-minimal)
6530 ("gtk-doc" ,gtk-doc/stable)
6531 ("pkg-config" ,pkg-config)
6532 ("xsltproc" ,libxslt)))
6533 (inputs
6534 `(("avahi" ,avahi)
6535 ("docbook-xml" ,docbook-xml-4.2)
6536 ("docbook-xsl" ,docbook-xsl)
6537 ("dbus" ,dbus)
6538 ("elogind" ,elogind)
6539 ("fuse" ,fuse)
6540 ("gcr" ,gcr)
6541 ("glib" ,glib)
6542 ("gnome-online-accounts" ,gnome-online-accounts)
6543 ("libarchive" ,libarchive)
6544 ("libbluray" ,libbluray)
6545 ("libcap" ,libcap)
6546 ("libcdio-paranoia" ,libcdio-paranoia)
6547 ("libgcrypt" ,libgcrypt)
6548 ("libgdata" ,libgdata)
6549 ("libgphoto2" ,libgphoto2)
6550 ("libgudev" ,libgudev)
6551 ("libimobiledevice" ,libimobiledevice)
6552 ("libmtp" ,libmtp)
6553 ("libnfs" ,libnfs)
6554 ("libsecret" ,libsecret)
6555 ("libsmbclient" ,samba)
6556 ("libsoup" ,libsoup)
6557 ("libxml2" ,libxml2)
6558 ("openssh" ,openssh)
6559 ("polkit" ,polkit)
6560 ("udisks" ,udisks)))
6561 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6562 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6563 "CVE-2019-12448"
6564 "CVE-2019-12449"))))
6565 (home-page "https://wiki.gnome.org/gvfs/")
6566 (synopsis "Userspace virtual file system for GIO")
6567 (description
6568 "GVFS is a userspace virtual file system designed to work with the I/O
6569 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6570 to all applications using the GIO API. It also supports exposing the GVFS
6571 mounts to non-GIO applications using FUSE.
6572
6573 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6574 DAV, and others.")
6575 (license license:lgpl2.0+)))
6576
6577 (define-public gusb
6578 (package
6579 (name "gusb")
6580 (version "0.3.5")
6581 (source (origin
6582 (method git-fetch)
6583 (uri (git-reference
6584 (url "https://github.com/hughsie/libgusb")
6585 (commit version)))
6586 (file-name (git-file-name name version))
6587 (sha256
6588 (base32
6589 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6590 (build-system meson-build-system)
6591 (native-inputs
6592 `(("gobject-introspection" ,gobject-introspection)
6593 ("pkg-config" ,pkg-config)
6594 ("vala" ,vala)
6595 ("gtk-doc" ,gtk-doc/stable)))
6596 (propagated-inputs
6597 ;; Both of these are required by gusb.pc.
6598 `(("glib" ,glib)
6599 ("libusb" ,libusb)))
6600 (arguments
6601 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6602 (home-page "https://github.com/hughsie/libgusb")
6603 (synopsis "GLib binding for libusb1")
6604 (description
6605 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6606 asynchronous control, bulk and interrupt transfers with proper cancellation
6607 and integration into a mainloop. This makes it easy to integrate low level
6608 USB transfers with your high-level application or system daemon.")
6609 (license license:lgpl2.1+)))
6610
6611 (define-public simple-scan
6612 (package
6613 (name "simple-scan")
6614 (version "3.38.2")
6615 (source
6616 (origin
6617 (method url-fetch)
6618 (uri (string-append "mirror://gnome/sources/simple-scan/"
6619 (version-major+minor version) "/"
6620 "simple-scan-" version ".tar.xz"))
6621 (sha256
6622 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6623 (build-system meson-build-system)
6624 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6625 (arguments
6626 '(#:glib-or-gtk? #t))
6627 (inputs
6628 `(("gtk" ,gtk+)
6629 ("zlib" ,zlib)
6630 ("cairo" ,cairo)
6631 ("colord" ,colord)
6632 ("gdk-pixbuf" ,gdk-pixbuf)
6633 ("gusb" ,gusb)
6634 ("libsane" ,sane-backends)))
6635 (native-inputs
6636 `(("gettext" ,gettext-minimal)
6637 ("itstool" ,itstool)
6638 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6639 ("pkg-config" ,pkg-config)
6640 ("vala" ,vala)
6641 ("xmllint" ,libxml2)))
6642 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6643 (synopsis "Document and image scanner")
6644 (description
6645 "Document Scanner is an easy-to-use application that lets you connect your
6646 scanner and quickly capture images and documents in an appropriate format. It
6647 supports any scanner for which a suitable SANE driver is available, which is
6648 almost all of them.")
6649 (license license:gpl3+)))
6650
6651 (define-public eolie
6652 (package
6653 (name "eolie")
6654 (version "0.9.101")
6655 (source (origin
6656 (method url-fetch)
6657 (uri (string-append "https://adishatz.org/eolie/eolie-"
6658 version ".tar.xz"))
6659 (sha256
6660 (base32
6661 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6662 (build-system meson-build-system)
6663 (arguments
6664 `(#:glib-or-gtk? #t
6665 #:phases
6666 (modify-phases %standard-phases
6667 (add-after 'unpack 'skip-gtk-update-icon-cache
6668 ;; Don't create 'icon-theme.cache'.
6669 (lambda _
6670 (substitute* "meson_post_install.py"
6671 (("gtk-update-icon-cache") "true"))
6672 #t))
6673 (add-after 'wrap 'wrap-more
6674 (lambda* (#:key inputs outputs #:allow-other-keys)
6675 (let* ((out (assoc-ref outputs "out"))
6676 ;; These libraries must be on LD_LIBRARY_PATH.
6677 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6678 "atk" "gtk+" "gsettings-desktop-schemas"
6679 "gobject-introspection"))
6680 (path (string-join
6681 (map (lambda (lib)
6682 (string-append (assoc-ref inputs lib) "/lib"))
6683 libs)
6684 ":")))
6685 (wrap-program (string-append out "/bin/eolie")
6686 `("LD_LIBRARY_PATH" ":" prefix (,path))
6687 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6688 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6689 #t)))))
6690 (native-inputs
6691 `(("intltool" ,intltool)
6692 ("itstool" ,itstool)
6693 ("pkg-config" ,pkg-config)
6694 ("python" ,python)
6695 ("glib:bin" ,glib "bin")))
6696 (inputs
6697 `(("gobject-introspection" ,gobject-introspection)
6698 ("glib-networking" ,glib-networking)
6699 ("cairo" ,cairo)
6700 ("gtk+" ,gtk+)
6701 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6702 ("python" ,python-wrapper)
6703 ("python-dateutil" ,python-dateutil)
6704 ("python-pyfxa" ,python-pyfxa)
6705 ("python-pygobject" ,python-pygobject)
6706 ("python-pycairo" ,python-pycairo)
6707 ("python-pycrypto" ,python-pycrypto)
6708 ("libhandy" ,libhandy)
6709 ("libsecret" ,libsecret)
6710 ("gtkspell3" ,gtkspell3)
6711 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6712 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6713 ("webkitgtk" ,webkitgtk)))
6714 (home-page "https://wiki.gnome.org/Apps/Eolie")
6715 (synopsis "Web browser for GNOME")
6716 (description
6717 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6718 a secret password store, an adblocker, and a modern UI.")
6719 (license license:gpl3+)))
6720
6721 (define-public epiphany
6722 (package
6723 (name "epiphany")
6724 (version "3.34.4")
6725 (source (origin
6726 (method url-fetch)
6727 (uri (string-append "mirror://gnome/sources/epiphany/"
6728 (version-major+minor version) "/"
6729 "epiphany-" version ".tar.xz"))
6730 (sha256
6731 (base32
6732 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6733
6734 (build-system meson-build-system)
6735 (arguments
6736 '(#:glib-or-gtk? #t
6737 #:phases
6738 (modify-phases %standard-phases
6739 (add-after 'unpack 'skip-gtk-update-icon-cache
6740 ;; Don't create 'icon-theme.cache'.
6741 (lambda _
6742 (substitute* "post_install.py"
6743 (("gtk-update-icon-cache") "true"))
6744 #t))
6745 (add-after 'unpack 'disable-failing-tests
6746 (lambda _
6747 (substitute* "tests/meson.build"
6748 ;; embed_shell fails, because webkitgtk apparently no longer supports
6749 ;; overriding the ftp schema
6750 ;; web_app_utils fails due to missing network access
6751 (("(embed_shell|web_app_utils)_test,")
6752 "find_program('sh'), args: ['-c', 'exit 77'],"))
6753 #t))
6754 (add-before 'check 'pre-check
6755 (lambda _
6756 ;; Tests require a running X server.
6757 (system "Xvfb :1 &")
6758 (setenv "DISPLAY" ":1")
6759 #t)))
6760 #:configure-flags
6761 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6762 (list (string-append "-Dc_link_args=-Wl,-rpath="
6763 (assoc-ref %outputs "out") "/lib/epiphany"))))
6764 (propagated-inputs
6765 `(("dconf" ,dconf)))
6766 (native-inputs
6767 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6768 ("glib:bin" ,glib "bin") ; for glib-mkenums
6769 ("intltool" ,intltool)
6770 ("itstool" ,itstool)
6771 ("pkg-config" ,pkg-config)
6772 ("xmllint" ,libxml2)
6773 ("xorg-server" ,xorg-server-for-tests)))
6774 (inputs
6775 `(("avahi" ,avahi)
6776 ("gcr" ,gcr)
6777 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6778 ("glib-networking" ,glib-networking)
6779 ("gnome-desktop" ,gnome-desktop)
6780 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6781 ("json-glib" ,json-glib)
6782 ("iso-codes" ,iso-codes)
6783 ("libdazzle" ,libdazzle)
6784 ("libnotify" ,libnotify)
6785 ("libsecret" ,libsecret)
6786 ("libxslt" ,libxslt)
6787 ("nettle" ,nettle) ; for hogweed
6788 ("sqlite" ,sqlite)
6789 ("webkitgtk" ,webkitgtk)))
6790 (home-page "https://wiki.gnome.org/Apps/Web")
6791 (synopsis "GNOME web browser")
6792 (description
6793 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6794 principles are simplicity and standards compliance.")
6795 (license license:gpl2+)))
6796
6797 (define-public d-feet
6798 (package
6799 (name "d-feet")
6800 (version "0.3.14")
6801 (source (origin
6802 (method url-fetch)
6803 (uri (string-append "mirror://gnome/sources/" name "/"
6804 (version-major+minor version) "/"
6805 name "-" version ".tar.xz"))
6806 (sha256
6807 (base32
6808 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6809 (build-system glib-or-gtk-build-system)
6810 (arguments
6811 '(#:out-of-source? #f ; tests need to run in the source directory.
6812 #:phases
6813 (modify-phases %standard-phases
6814 (add-before
6815 'check 'pre-check
6816 (lambda _
6817 ;; The test suite requires a running X server.
6818 (system "Xvfb :1 &")
6819 (setenv "DISPLAY" ":1")
6820 ;; Don't fail on missing '/etc/machine-id'.
6821 (setenv "DBUS_FATAL_WARNINGS" "0")
6822 ;; tests.py and window.py don't meet E402:
6823 ;; E402 module level import not at top of file
6824 (substitute* "src/tests/Makefile"
6825 (("--ignore=E123") "--ignore=E123,E402"))
6826 #t))
6827 (add-after
6828 'install 'wrap-program
6829 (lambda* (#:key outputs #:allow-other-keys)
6830 (let ((prog (string-append (assoc-ref outputs "out")
6831 "/bin/d-feet")))
6832 (wrap-program prog
6833 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6834 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6835 #t))))))
6836 (native-inputs
6837 `(("intltool" ,intltool)
6838 ("itstool" ,itstool)
6839 ("pkg-config" ,pkg-config)
6840 ("python-pep8" ,python-pep8)
6841 ("xmllint" ,libxml2)
6842 ("xorg-server" ,xorg-server-for-tests)))
6843 (inputs
6844 `(("gobject-introspection" ,gobject-introspection)
6845 ("gtk+" ,gtk+)
6846 ("python" ,python-wrapper)
6847 ("hicolor-icon-theme" ,hicolor-icon-theme)
6848 ("python-pygobject" ,python-pygobject)))
6849 (home-page "https://wiki.gnome.org/Apps/DFeet")
6850 (synopsis "D-Bus debugger")
6851 (description
6852 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6853 of running programs and invoke methods on those interfaces.")
6854 (license license:gpl2+)))
6855
6856 (define-public yelp-xsl
6857 (package
6858 (name "yelp-xsl")
6859 (version "3.34.2")
6860 (source
6861 (origin
6862 (method url-fetch)
6863 (uri
6864 (string-append "mirror://gnome/sources/" name "/"
6865 (version-major+minor version) "/"
6866 name "-" version ".tar.xz"))
6867 (sha256
6868 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6869 (build-system gnu-build-system)
6870 (native-inputs
6871 `(("gettext-minimal" ,gettext-minimal)
6872 ("itstool" ,itstool)
6873 ("xmllint" ,libxml2)))
6874 (synopsis "XSL stylesheets for Yelp")
6875 (description "Yelp-XSL is a collection of programs and data files to help
6876 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6877 that can be built upon for help viewers and publishing systems. These
6878 stylesheets output JavaScript and CSS content, and reference images
6879 provided by yelp-xsl. It also redistributes copies of the jQuery and
6880 jQuery.Syntax JavaScript libraries.")
6881 (home-page "https://wiki.gnome.org/Apps/Yelp")
6882 (license
6883 (list
6884 ;; XSLT
6885 license:gpl2+
6886 ;; Images
6887 license:lgpl2.1+
6888 ;; JavaScript
6889 license:expat))))
6890
6891 (define-public yelp
6892 (package
6893 (name "yelp")
6894 (version "3.32.2")
6895 (source (origin
6896 (method url-fetch)
6897 (uri (string-append "mirror://gnome/sources/" name "/"
6898 (version-major+minor version) "/"
6899 name "-" version ".tar.xz"))
6900 (sha256
6901 (base32
6902 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6903 (build-system glib-or-gtk-build-system)
6904 (native-inputs
6905 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6906 ("intltool" ,intltool)
6907 ("itstool" ,itstool)
6908 ("pkg-config" ,pkg-config)))
6909 (propagated-inputs
6910 `(("dconf" ,dconf)))
6911 (inputs
6912 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6913 ("libxslt" ,libxslt)
6914 ("sqlite" ,sqlite)
6915 ("webkitgtk" ,webkitgtk)
6916 ("yelp-xsl" ,yelp-xsl)))
6917 (home-page "https://wiki.gnome.org/Apps/Yelp")
6918 (synopsis "GNOME help browser")
6919 (description
6920 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6921 man, info, and HTML documents. It can locate documents according to the
6922 freedesktop.org help system specification.")
6923 (license license:gpl2+)))
6924
6925 (define-public yelp-tools
6926 (package
6927 (name "yelp-tools")
6928 (version "3.32.2")
6929 (source
6930 (origin
6931 (method url-fetch)
6932 (uri
6933 (string-append "mirror://gnome/sources/" name "/"
6934 (version-major+minor version) "/"
6935 name "-" version ".tar.xz"))
6936 (sha256
6937 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6938 (build-system gnu-build-system)
6939 (native-inputs
6940 `(("pkg-config" ,pkg-config)))
6941 (inputs
6942 `(("yelp-xsl" ,yelp-xsl)))
6943 (propagated-inputs
6944 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6945 `(("itstool" ,itstool)
6946 ("xmllint" ,libxml2)
6947 ("xsltproc" ,libxslt)))
6948 (synopsis "Yelp documentation tools")
6949 (description
6950 "Yelp-tools is a collection of scripts and build utilities to help create,
6951 manage, and publish documentation for Yelp and the web. Most of the heavy
6952 lifting is done by packages like yelp-xsl and itstool. This package just
6953 wraps things up in a developer-friendly way.")
6954 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6955 (license license:gpl2+)))
6956
6957 (define-public libgee
6958 (package
6959 (name "libgee")
6960 (version "0.20.3")
6961 (source (origin
6962 (method url-fetch)
6963 (uri (string-append "mirror://gnome/sources/libgee/"
6964 (version-major+minor version) "/"
6965 "libgee-" version ".tar.xz"))
6966 (sha256
6967 (base32
6968 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6969 (build-system gnu-build-system)
6970 (arguments
6971 `(#:phases
6972 (modify-phases %standard-phases
6973 (add-after 'unpack 'fix-introspection-install-dir
6974 (lambda* (#:key outputs #:allow-other-keys)
6975 (let ((out (assoc-ref outputs "out")))
6976 (substitute* "gee/Makefile.in"
6977 (("@INTROSPECTION_GIRDIR@")
6978 (string-append out "/share/gir-1.0/"))
6979 (("@INTROSPECTION_TYPELIBDIR@")
6980 (string-append out "/lib/girepository-1.0/")))))))))
6981 (native-inputs
6982 `(("glib" ,glib "bin")
6983 ("pkg-config" ,pkg-config)))
6984 (inputs
6985 `(("glib" ,glib)
6986 ("gobject-introspection" ,gobject-introspection)))
6987 (home-page "https://wiki.gnome.org/Projects/Libgee")
6988 (synopsis "GObject collection library")
6989 (description
6990 "Libgee is a utility library providing GObject-based interfaces and
6991 classes for commonly used data structures.")
6992 (license license:lgpl2.1+)))
6993
6994 (define-public gexiv2
6995 (package
6996 (name "gexiv2")
6997 (version "0.12.2")
6998 (source (origin
6999 (method url-fetch)
7000 (uri (string-append "mirror://gnome/sources/" name "/"
7001 (version-major+minor version) "/"
7002 name "-" version ".tar.xz"))
7003 (sha256
7004 (base32
7005 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7006 (build-system meson-build-system)
7007 (native-inputs
7008 `(("gcr" ,gcr)
7009 ("glib" ,glib "bin")
7010 ("pkg-config" ,pkg-config)
7011 ("vala" ,vala)))
7012 (propagated-inputs
7013 ;; Listed in "Requires" section of gexiv2.pc
7014 `(("exiv2" ,exiv2)))
7015 (inputs
7016 `(("glib" ,glib)
7017 ("gobject-introspection" ,gobject-introspection)))
7018 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7019 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7020 (description
7021 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7022 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7023 metadata in photo and video files of various formats.")
7024 (license license:gpl2+)))
7025
7026 (define-public shotwell
7027 (package
7028 (name "shotwell")
7029 (version "0.30.12")
7030 (source (origin
7031 (method url-fetch)
7032 (uri (string-append "mirror://gnome/sources/shotwell/"
7033 (version-major+minor version) "/"
7034 "shotwell-" version ".tar.xz"))
7035 (sha256
7036 (base32
7037 "1h5crjq59lqi8f8mdkadzi8pc3i9i2ik4lsx2nrhzq486fzdfhw6"))))
7038 (build-system meson-build-system)
7039 (arguments
7040 '(#:glib-or-gtk? #t
7041 #:phases
7042 (modify-phases %standard-phases
7043 (add-after 'unpack 'skip-gtk-update-icon-cache
7044 (lambda _
7045 (substitute* "build-aux/meson/postinstall.py"
7046 (("gtk-update-icon-cache") (which "true"))
7047 (("update-desktop-database") (which "true")))
7048 #t)))))
7049 (propagated-inputs
7050 `(("dconf" ,dconf)))
7051 (native-inputs
7052 `(("gettext" ,gettext-minimal)
7053 ("glib:bin" ,glib "bin")
7054 ("itstool" ,itstool)
7055 ("pkg-config" ,pkg-config)
7056 ("vala" ,vala)))
7057 (inputs
7058 `(("gcr" ,gcr)
7059 ("gexiv2" ,gexiv2)
7060 ("gst-plugins-base" ,gst-plugins-base)
7061 ("gstreamer" ,gstreamer)
7062 ("json-glib" ,json-glib)
7063 ("libgdata" ,libgdata)
7064 ("libgee" ,libgee)
7065 ("libgphoto2" ,libgphoto2)
7066 ("libgudev" ,libgudev)
7067 ("libraw" ,libraw)
7068 ("libsoup" ,libsoup)
7069 ("libxml2" ,libxml2)
7070 ("sqlite" ,sqlite)
7071 ("webkitgtk" ,webkitgtk)))
7072 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7073 (synopsis "Photo manager for GNOME 3")
7074 (description
7075 "Shotwell is a digital photo manager designed for the GNOME desktop
7076 environment. It allows you to import photos from disk or camera, organize
7077 them by keywords and events, view them in full-window or fullscreen mode, and
7078 share them with others via social networking and more.")
7079 (license license:lgpl2.1+)))
7080
7081 (define-public file-roller
7082 (package
7083 (name "file-roller")
7084 (version "3.38.0")
7085 (source (origin
7086 (method url-fetch)
7087 (uri (string-append "mirror://gnome/sources/file-roller/"
7088 (version-major+minor version) "/"
7089 "file-roller-" version ".tar.xz"))
7090 (sha256
7091 (base32
7092 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7093 (build-system meson-build-system)
7094 (native-inputs
7095 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7096 ("intltool" ,intltool)
7097 ("itstool" ,itstool)
7098 ("pkg-config" ,pkg-config)
7099 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7100 ("glib:bin" ,glib "bin")))
7101 ;; TODO: Add libnautilus.
7102 (inputs
7103 `(("gtk+" ,gtk+)
7104 ("gdk-pixbuf" ,gdk-pixbuf)
7105 ("json-glib" ,json-glib)
7106 ("libarchive" ,libarchive)
7107 ("libnotify" ,libnotify)
7108 ("nettle" ,nettle)
7109 ("libxml2" ,libxml2)))
7110 (synopsis "Graphical archive manager for GNOME")
7111 (description "File Roller is an archive manager for the GNOME desktop
7112 environment that allows users to view, unpack, and create compressed archives
7113 such as gzip tarballs.")
7114 (home-page "http://fileroller.sourceforge.net/")
7115 (license license:gpl2+)))
7116
7117 (define-public gnome-session
7118 (package
7119 (name "gnome-session")
7120 (version "3.34.2")
7121 (source (origin
7122 (method url-fetch)
7123 (uri (string-append "mirror://gnome/sources/" name "/"
7124 (version-major+minor version) "/"
7125 name "-" version ".tar.xz"))
7126 (sha256
7127 (base32
7128 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7129 (arguments
7130 '(#:glib-or-gtk? #t
7131 #:phases
7132 (modify-phases %standard-phases
7133 (add-before 'configure 'pre-configure
7134 (lambda* (#:key outputs #:allow-other-keys)
7135 ;; Use elogind instead of systemd.
7136 (substitute* "meson.build"
7137 (("libsystemd-login") "libelogind")
7138 (("and libsystemd_daemon_dep.found.*") ","))
7139 (substitute* "gnome-session/gsm-systemd.c"
7140 (("#include <systemd/sd-login.h>")
7141 "#include <elogind/sd-login.h>"))
7142 ;; Remove uses of the systemd daemon.
7143 (substitute* "gnome-session/gsm-autostart-app.c"
7144 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7145 #t))
7146 (add-after 'install 'wrap-gnome-session
7147 (lambda* (#:key inputs outputs #:allow-other-keys)
7148 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7149 (let ((glib (assoc-ref inputs "glib:bin"))
7150 (out (assoc-ref outputs "out")))
7151 (wrap-program (string-append out "/bin/gnome-session")
7152 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7153 #t))))
7154
7155 #:configure-flags
7156 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7157 "-Dman=false" ; FIXME: disabled because of docbook validation error
7158 "-Dsystemd_journal=false")))
7159 (build-system meson-build-system)
7160 (native-inputs
7161 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7162 ("pkg-config" ,pkg-config)
7163 ("intltool" ,intltool)
7164 ("xsltproc" ,libxslt)
7165 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7166 ("docbook-xsl" ,docbook-xsl)
7167 ("docbook-xml" ,docbook-xml)
7168 ("xmlto" ,xmlto)))
7169 (inputs
7170 `(("elogind" ,elogind)
7171 ("gnome-desktop" ,gnome-desktop)
7172 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7173 ("gtk+" ,gtk+)
7174 ("json-glib" ,json-glib)
7175 ("libsm" ,libsm)
7176 ("libxcomposite" ,libxcomposite)
7177 ("libxtst" ,libxtst)
7178 ("mesa" ,mesa)
7179 ("upower" ,upower)
7180 ("xtrans" ,xtrans)))
7181 (synopsis "Session manager for GNOME")
7182 (description
7183 "This package contains the GNOME session manager, as well as a
7184 configuration program to choose applications starting on login.")
7185 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7186 (license license:gpl2+)))
7187
7188 (define-public gjs
7189 (package
7190 (name "gjs")
7191 (version "1.58.3")
7192 (source (origin
7193 (method url-fetch)
7194 (uri (string-append "mirror://gnome/sources/" name "/"
7195 (version-major+minor version) "/"
7196 name "-" version ".tar.xz"))
7197 (sha256
7198 (base32
7199 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7200 (build-system gnu-build-system)
7201 (arguments
7202 '(#:phases
7203 (modify-phases %standard-phases
7204 (add-before
7205 'check 'pre-check
7206 (lambda _
7207 ;; The test suite requires a running X server.
7208 (system "Xvfb :1 &")
7209 (setenv "DISPLAY" ":1")
7210
7211 ;; For the missing /etc/machine-id.
7212 (setenv "DBUS_FATAL_WARNINGS" "0")
7213
7214 ;; Our mozjs-38 package does not compile the required Intl API
7215 ;; support for these failing tests.
7216 (substitute* "installed-tests/js/testLocale.js"
7217 ((".*toBeDefined.*") "")
7218 ((".*expect\\(datestr\\).*") ""))
7219 (substitute* "installed-tests/scripts/testCommandLine.sh"
7220 (("Valentín") "")
7221 (("☭") ""))
7222 #t)))))
7223 (native-inputs
7224 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7225 ("pkg-config" ,pkg-config)
7226 ("xmllint" ,libxml2)
7227 ;; For testing
7228 ("dbus-launch" ,dbus)
7229 ("dconf" ,dconf) ; required to properly store settings
7230 ("uuidgen" ,util-linux)
7231 ("xvfb" ,xorg-server-for-tests)))
7232 (propagated-inputs
7233 ;; These are all in the Requires.private field of gjs-1.0.pc.
7234 `(("cairo" ,cairo)
7235 ("gobject-introspection" ,gobject-introspection)
7236 ("mozjs" ,mozjs-60)))
7237 (inputs
7238 `(("gtk+" ,gtk+)
7239 ("readline" ,readline)))
7240 (synopsis "Javascript bindings for GNOME")
7241 (home-page "https://live.gnome.org/Gjs")
7242 (description
7243 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7244 javascript engine and the GObject introspection framework.")
7245 (license license:gpl2+)))
7246
7247 (define-public gedit
7248 (package
7249 (name "gedit")
7250 (version "3.34.1")
7251 (source (origin
7252 (method url-fetch)
7253 (uri (string-append "mirror://gnome/sources/" name "/"
7254 (version-major+minor version) "/"
7255 name "-" version ".tar.xz"))
7256 (sha256
7257 (base32
7258 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7259 (build-system meson-build-system)
7260 (arguments
7261 `(#:glib-or-gtk? #t
7262 #:configure-flags
7263 ;; Otherwise, the RUNPATH will lack the final path component.
7264 (list (string-append "-Dc_link_args=-Wl,-rpath="
7265 (assoc-ref %outputs "out") "/lib/gedit"))
7266
7267 ;; XXX: Generated .h files are sometimes used before being built.
7268 #:parallel-build? #f
7269
7270 #:phases
7271 (modify-phases %standard-phases
7272 (add-after 'unpack 'skip-gtk-update-icon-cache
7273 ;; Don't create 'icon-theme.cache'.
7274 (lambda _
7275 (substitute* "build-aux/meson/post_install.py"
7276 (("gtk-update-icon-cache") (which "true")))
7277 #t))
7278 (add-after 'unpack 'patch-libgd-fetch
7279 (lambda* (#:key inputs #:allow-other-keys)
7280 (let ((libgd (assoc-ref inputs "libgd")))
7281 ;; Calling git is unnecessary because libgd is fetched as a
7282 ;; native input to this package.
7283 (substitute* "meson.build"
7284 ((".*git.*") ""))
7285 (copy-recursively libgd "subprojects/libgd")
7286 #t)))
7287 (add-after 'install 'wrap-gedit
7288 (lambda* (#:key inputs outputs #:allow-other-keys)
7289 (let ((out (assoc-ref outputs "out"))
7290 (gtksourceview (assoc-ref inputs "gtksourceview"))
7291 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7292 (python-path (getenv "PYTHONPATH")))
7293 (wrap-program (string-append out "/bin/gedit")
7294 ;; For plugins.
7295 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7296 `("PYTHONPATH" ":" prefix (,python-path))
7297 ;; For language-specs.
7298 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7299 "/share")))))
7300 #t)))))
7301 (propagated-inputs
7302 `(("dconf" ,dconf)))
7303 (native-inputs
7304 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7305 ("intltool" ,intltool)
7306 ("itstool" ,itstool)
7307 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7308 ("gobject-introspection" ,gobject-introspection)
7309 ("libgd"
7310 ,(origin
7311 (method git-fetch)
7312 (uri (git-reference
7313 (url "https://gitlab.gnome.org/GNOME/libgd")
7314 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7315 (file-name (git-file-name "libgd" version))
7316 (sha256
7317 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7318 ("pkg-config" ,pkg-config)))
7319 (inputs
7320 `(("glib" ,glib)
7321 ("gspell" ,gspell)
7322 ("gtk+" ,gtk+)
7323 ("gtksourceview" ,gtksourceview)
7324 ("libpeas" ,libpeas)
7325 ("libxml2" ,libxml2)
7326 ("iso-codes" ,iso-codes)
7327 ("python-pygobject" ,python-pygobject)
7328 ("python" ,python)
7329 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7330 ("libx11" ,libx11)
7331 ("vala" ,vala)
7332 ("adwaita-icon-theme" ,adwaita-icon-theme)
7333 ("libsoup" ,libsoup)
7334 ("gnome-desktop" ,gnome-desktop)))
7335 (home-page "https://wiki.gnome.org/Apps/Gedit")
7336 (synopsis "GNOME text editor")
7337 (description "While aiming at simplicity and ease of use, gedit is a
7338 powerful general purpose text editor.")
7339 (license license:gpl2+)))
7340
7341 (define-public zenity
7342 (package
7343 (name "zenity")
7344 (version "3.32.0")
7345 (source (origin
7346 (method url-fetch)
7347 (uri (string-append "mirror://gnome/sources/zenity/"
7348 (version-major+minor version) "/"
7349 "zenity-" version ".tar.xz"))
7350 (sha256
7351 (base32
7352 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7353 (build-system gnu-build-system)
7354 (native-inputs
7355 `(("gettext" ,gettext-minimal)
7356 ("itstool" ,itstool)
7357 ("pkg-config" ,pkg-config)))
7358 (inputs
7359 `(("libnotify" ,libnotify)
7360 ("webkitgtk" ,webkitgtk)))
7361 (synopsis "Display graphical dialog boxes from shell scripts")
7362 (home-page "https://www.gnome.org")
7363 (description
7364 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7365 to display dialog boxes from the commandline and shell scripts.")
7366 (license license:lgpl2.0+)))
7367
7368 (define-public mutter
7369 (package
7370 (name "mutter")
7371 (version "3.34.2")
7372 (source (origin
7373 (method url-fetch)
7374 (uri (string-append "mirror://gnome/sources/" name "/"
7375 (version-major+minor version) "/"
7376 name "-" version ".tar.xz"))
7377 (sha256
7378 (base32
7379 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7380 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7381 ;; versions of cogl and clutter. As a result, many of the inputs,
7382 ;; propagated-inputs, and configure flags used in cogl and clutter are
7383 ;; needed here as well.
7384 (build-system meson-build-system)
7385 (arguments
7386 '(;; XXX: All mutter tests fail with the following error:
7387 ;; Settings schema 'org.gnome.mutter' is not installed
7388 #:tests? #f
7389 #:glib-or-gtk? #t
7390 #:configure-flags
7391 ;; TODO: Enable profiler when Sysprof is packaged.
7392 (list "-Dprofiler=false"
7393 ;; Otherwise, the RUNPATH will lack the final path component.
7394 (string-append "-Dc_link_args=-Wl,-rpath="
7395 (assoc-ref %outputs "out") "/lib:"
7396 (assoc-ref %outputs "out") "/lib/mutter-5")
7397
7398 ;; The following flags are needed for the bundled clutter
7399 (string-append "-Dxwayland_path="
7400 (assoc-ref %build-inputs "xorg-server-xwayland")
7401 "/bin/Xwayland")
7402
7403 ;; the remaining flags are needed for the bundled cogl
7404 (string-append "-Dopengl_libname="
7405 (assoc-ref %build-inputs "mesa")
7406 "/lib/libGL.so"))
7407 #:phases (modify-phases %standard-phases
7408 (add-after 'unpack 'fix-build-with-mesa-20
7409 (lambda _
7410 ;; Mimic upstream commit a444a4c5f58ea516ad for
7411 ;; compatibility with Mesa 20. Remove for 3.36.
7412 (substitute* '("src/backends/meta-egl-ext.h"
7413 "src/backends/meta-egl.c"
7414 "src/backends/meta-egl.h")
7415 (("#include <EGL/eglext\\.h>" all)
7416 (string-append all "\n#include <EGL/eglmesaext.h>")))
7417 (substitute* "cogl/cogl/meson.build"
7418 (("#include <EGL/eglext\\.h>" all)
7419 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7420 #t)))))
7421 (native-inputs
7422 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7423 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7424 ("gobject-introspection" ,gobject-introspection)
7425 ("intltool" ,intltool)
7426 ("pkg-config" ,pkg-config)
7427 ("xorg-server" ,xorg-server-for-tests)
7428 ;; For git build
7429 ("autoconf" ,autoconf)
7430 ("automake" ,automake)
7431 ("libtool" ,libtool)))
7432 (propagated-inputs
7433 `(;; libmutter.pc refers to these:
7434 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7435 ("gtk+" ,gtk+)
7436 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7437 ("atk" ,atk)
7438 ("cairo" ,cairo)
7439 ("gdk-pixbuf" ,gdk-pixbuf)
7440 ("glib" ,glib)
7441 ("json-glib" ,json-glib)
7442 ("libinput" ,libinput)
7443 ("libx11" ,libx11)
7444 ("libxcomposite" ,libxcomposite)
7445 ("libxdamage" ,libxdamage)
7446 ("libxext" ,libxext)
7447 ("libxfixes" ,libxfixes)
7448 ("libxkbcommon" ,libxkbcommon)
7449 ("libxrandr" ,libxrandr)
7450 ("mesa" ,mesa)
7451 ("pango" ,pango)
7452 ("udev" ,eudev)
7453 ("xinput" ,xinput)))
7454 (inputs
7455 `(("elogind" ,elogind)
7456 ("gnome-desktop" ,gnome-desktop)
7457 ("gnome-settings-daemon" ,gnome-settings-daemon)
7458 ("libcanberra-gtk" ,libcanberra)
7459 ("libgudev" ,libgudev)
7460 ("libice" ,libice)
7461 ("libsm" ,libsm)
7462 ("libwacom" ,libwacom)
7463 ("libxkbfile" ,libxkbfile)
7464 ("libxrandr" ,libxrandr)
7465 ("libxtst" ,libxtst)
7466 ("pipewire" ,pipewire)
7467 ("startup-notification" ,startup-notification)
7468 ("upower-glib" ,upower)
7469 ("xkeyboard-config" ,xkeyboard-config)
7470 ("xorg-server-xwayland" ,xorg-server-xwayland)
7471 ("zenity" ,zenity)))
7472 (synopsis "Window and compositing manager")
7473 (home-page "https://www.gnome.org")
7474 (description
7475 "Mutter is a window and compositing manager that displays and manages your
7476 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7477 Clutter toolkit with solid window-management logic inherited from the Metacity
7478 window manager.")
7479 (license license:gpl2+)))
7480
7481 (define-public gnome-online-accounts
7482 (package
7483 (name "gnome-online-accounts")
7484 (version "3.36.0")
7485 (source (origin
7486 (method url-fetch)
7487 (uri (string-append "mirror://gnome/sources/" name "/"
7488 (version-major+minor version) "/"
7489 name "-" version ".tar.xz"))
7490 (sha256
7491 (base32
7492 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7493 (outputs '("out" "lib"))
7494 (build-system glib-or-gtk-build-system)
7495 (arguments
7496 `(#:configure-flags
7497 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7498 #:phases
7499 (modify-phases %standard-phases
7500 (add-before 'configure 'patch-libgoa-output
7501 (lambda* (#:key outputs #:allow-other-keys)
7502 (let ((lib (assoc-ref outputs "lib")))
7503 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7504 (("@prefix@") lib)
7505 (("@exec_prefix@") lib)
7506 (("@libdir@") (string-append lib "/lib"))
7507 (("@includedir@") (string-append lib "/include"))
7508 (("@datadir@") (string-append lib "/share")))
7509 ;; Make sure gobject-introspection knows about the output
7510 ;; too (see <https://bugs.gnu.org/36535>).
7511 (setenv "outputs" "out lib")
7512 #t))))))
7513 (native-inputs
7514 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7515 ("gobject-introspection" ,gobject-introspection)
7516 ("intltool" ,intltool)
7517 ("pkg-config" ,pkg-config)
7518 ("vala" ,vala)
7519 ("xsltproc" ,libxslt)))
7520 (propagated-inputs
7521 `(("glib" ,glib) ; required by goa-1.0.pc
7522 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7523 (inputs
7524 `(("docbook-xsl" ,docbook-xsl)
7525 ("json-glib" ,json-glib)
7526 ("libsecret" ,libsecret)
7527 ("rest" ,rest)
7528 ("webkitgtk" ,webkitgtk)))
7529 (synopsis "Single sign-on framework for GNOME")
7530 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7531 (description
7532 "GNOME Online Accounts provides interfaces so that applications and
7533 libraries in GNOME can access the user's online accounts. It has providers for
7534 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7535 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7536 (license license:lgpl2.0+)))
7537
7538 (define-public evolution-data-server
7539 (package
7540 (name "evolution-data-server")
7541 (version "3.34.2")
7542 (source (origin
7543 (method url-fetch)
7544 (uri (string-append "mirror://gnome/sources/" name "/"
7545 (version-major+minor version) "/"
7546 name "-" version ".tar.xz"))
7547 (patches (search-patches "evolution-data-server-locales.patch"
7548 "evolution-data-server-libical-compat.patch"
7549 "evolution-data-server-CVE-2020-14928.patch"
7550 "evolution-data-server-CVE-2020-16117.patch"))
7551 (sha256
7552 (base32
7553 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7554 (build-system cmake-build-system)
7555 (arguments
7556 '(#:configure-flags
7557 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7558 (runpaths (map (lambda (s)
7559 (string-append lib "/evolution-data-server/" s))
7560 '("addressbook-backends" "calendar-backends"
7561 "camel-providers" "credential-modules"
7562 "registry-modules"))))
7563 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7564 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7565 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7566 "-DENABLE_VALA_BINDINGS=ON"
7567 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7568 (string-append lib "/evolution-data-server;")
7569 (string-join runpaths ";"))
7570 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7571 #:phases
7572 (modify-phases %standard-phases
7573 (add-after 'unpack 'disable-failing-tests
7574 (lambda _
7575 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7576 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7577 (delete-file-recursively "tests/book-migration")
7578 (substitute* "tests/CMakeLists.txt"
7579 (("add_subdirectory\\(book-migration\\)") ""))
7580 #t))
7581 (add-after 'unpack 'patch-paths
7582 (lambda _
7583 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7584 "tests/libedata-book/data-test-utils.c"
7585 "tests/libedata-book/test-book-cache-utils.c"
7586 "tests/libedata-cal/test-cal-cache-utils.c")
7587 (("/bin/rm") (which "rm")))
7588 #t))
7589 (add-before 'configure 'dont-override-rpath
7590 (lambda _
7591 (substitute* "CMakeLists.txt"
7592 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7593 ;; Remove it so the configure flag is respected.
7594 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7595 #t)))))
7596 (native-inputs
7597 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7598 ("gobject-introspection" ,gobject-introspection)
7599 ("gperf" ,gperf)
7600 ("intltool" ,intltool)
7601 ("pkg-config" ,pkg-config)
7602 ("vala" ,vala)
7603 ("python" ,python-wrapper)))
7604 (propagated-inputs
7605 ;; These are all in the Requires field of .pc files.
7606 `(("gtk+" ,gtk+)
7607 ("libical" ,libical)
7608 ("libsecret" ,libsecret)
7609 ("libsoup" ,libsoup)
7610 ("nss" ,nss)
7611 ("sqlite" ,sqlite)))
7612 (inputs
7613 `(("bdb" ,bdb)
7614 ("gcr" ,gcr)
7615 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7616 ("json-glib" ,json-glib)
7617 ("libcanberra" ,libcanberra)
7618 ("libgweather" ,libgweather)
7619 ("mit-krb5" ,mit-krb5)
7620 ("openldap" ,openldap)
7621 ("webkitgtk" ,webkitgtk)))
7622 (synopsis "Store address books and calendars")
7623 (home-page "https://wiki.gnome.org/Apps/Evolution")
7624 (description
7625 "This package provides a unified backend for programs that work with
7626 contacts, tasks, and calendar information. It was originally developed for
7627 Evolution (hence the name), but is now used by other packages as well.")
7628 (license license:lgpl2.0)))
7629
7630 (define-public caribou
7631 (package
7632 (name "caribou")
7633 (version "0.4.21")
7634 (source (origin
7635 (method url-fetch)
7636 (uri (string-append "mirror://gnome/sources/" name "/"
7637 (version-major+minor version) "/"
7638 name "-" version ".tar.xz"))
7639 (sha256
7640 (base32
7641 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7642 (build-system glib-or-gtk-build-system)
7643 (arguments
7644 '(#:phases
7645 (modify-phases %standard-phases
7646 (add-before
7647 'build 'pre-build
7648 (lambda* (#:key outputs #:allow-other-keys)
7649 (let ((out (assoc-ref outputs "out")))
7650 ;; Use absolute shared library path in Caribou-1.0.typelib.
7651 (substitute* "libcaribou/Makefile"
7652 (("--shared-library=libcaribou.so")
7653 (string-append "--shared-library="
7654 out "/lib/libcaribou.so")))
7655 #t)))
7656 (add-after 'install 'wrap-programs
7657 (lambda* (#:key outputs #:allow-other-keys)
7658 (let* ((out (assoc-ref outputs "out"))
7659 (python-path (getenv "PYTHONPATH"))
7660 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7661 (for-each
7662 (lambda (prog)
7663 (wrap-program prog
7664 `("PYTHONPATH" ":" prefix (,python-path))
7665 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7666 (list (string-append out "/bin/caribou-preferences")
7667 (string-append out "/libexec/antler-keyboard"))))
7668 #t)))))
7669 (native-inputs
7670 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7671 ("gobject-introspection" ,gobject-introspection)
7672 ("intltool" ,intltool)
7673 ("pkg-config" ,pkg-config)
7674 ("python" ,python)
7675 ("vala" ,vala)
7676 ("xsltproc" ,libxslt)))
7677 (propagated-inputs
7678 ;; caribou-1.0.pc refers to all these.
7679 `(("libgee" ,libgee)
7680 ("libxklavier" ,libxklavier)
7681 ("libxtst" ,libxtst)
7682 ("gtk+" ,gtk+)))
7683 (inputs
7684 `(("clutter" ,clutter)
7685 ("dconf" ,dconf)
7686 ("gtk+-2" ,gtk+-2)
7687 ("python-pygobject" ,python-pygobject)))
7688 (synopsis "Text entry and UI navigation application")
7689 (home-page "https://wiki.gnome.org/Projects/Caribou")
7690 (description
7691 "Caribou is an input assistive technology intended for switch and pointer
7692 users.")
7693 (license license:lgpl2.1)))
7694
7695 (define-public network-manager
7696 (package
7697 (name "network-manager")
7698 (version "1.24.0")
7699 (source (origin
7700 (method url-fetch)
7701 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7702 (version-major+minor version) "/"
7703 "NetworkManager-" version ".tar.xz"))
7704 (patches (search-patches "network-manager-plugin-path.patch"))
7705 (sha256
7706 (base32
7707 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7708 (modules '((guix build utils)))
7709 (snippet
7710 '(begin
7711 (substitute* "src/devices/wwan/nm-modem-manager.c"
7712 (("systemd") "elogind"))
7713 #t))))
7714 (build-system meson-build-system)
7715 (outputs '("out"
7716 "doc")) ; 8 MiB of gtk-doc HTML
7717 (arguments
7718 `(#:configure-flags
7719 (let ((out (assoc-ref %outputs "out"))
7720 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7721 "/sbin/dhclient")))
7722 (list
7723 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7724 ;; component.
7725 (string-append "-Dc_link_args=-Wl,-rpath="
7726 out "/lib:"
7727 out "/lib/NetworkManager/" ,version)
7728 "-Dsystemd_journal=false"
7729 "-Dsession_tracking=elogind"
7730 "-Dsuspend_resume=elogind"
7731 "-Dsystemdsystemunitdir=no"
7732 "-Dsession_tracking_consolekit=false"
7733 "-Ddhcpcd=no"
7734 "-Ddhcpcanon=no"
7735 "-Dcrypto=gnutls"
7736 "-Diwd=true"
7737 "-Dlibaudit=yes"
7738 "-Dqt=false"
7739 "-Ddocs=true"
7740 "--sysconfdir=/etc"
7741 "--localstatedir=/var"
7742 (string-append "-Dudev_dir="
7743 out "/lib/udev")
7744 (string-append "-Ddbus_conf_dir="
7745 out "/etc/dbus-1/system.d")
7746
7747 (string-append "-Ddhclient=" dhclient)))
7748 #:phases
7749 (modify-phases %standard-phases
7750 (add-before 'configure 'pre-configure
7751 (lambda _
7752 ;; These tests try to test aspects of network-manager's
7753 ;; functionality within restricted containers, but they don't
7754 ;; cope with being already in the Guix build jail as that jail
7755 ;; lacks some features that they would like to proxy over (like
7756 ;; a /sys mount).
7757 (substitute* "src/platform/tests/meson.build"
7758 ((".*test-address-linux.*") "")
7759 ((".*test-cleanup-linux.*") "")
7760 ((".*test-link-linux.*") "")
7761 ((".*test-route-linux.*") ""))
7762 (substitute* "src/devices/tests/meson.build"
7763 ((".*test-acd.*") "")
7764 ((".*test-lldp.*") ""))
7765 #t))
7766 (add-after 'unpack 'patch-docbook-xml
7767 (lambda* (#:key inputs #:allow-other-keys)
7768 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7769 "/xml/dtd/docbook")))
7770 (substitute* (find-files "." ".*\\.(xsl|xml)")
7771 (("http://.*/docbookx\\.dtd")
7772 (string-append xmldoc "/docbookx.dtd")))
7773 #t)))
7774 (add-before 'check 'pre-check
7775 (lambda _
7776 ;; For the missing /etc/machine-id.
7777 (setenv "DBUS_FATAL_WARNINGS" "0")
7778 #t))
7779 (add-before 'install 'no-polkit-magic
7780 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7781 (lambda _
7782 (setenv "PKEXEC_UID" "something")
7783 #t))
7784 (add-after 'install 'move-doc
7785 (lambda* (#:key outputs #:allow-other-keys)
7786 (let ((out (assoc-ref outputs "out"))
7787 (doc (assoc-ref outputs "doc")))
7788 (mkdir-p (string-append doc "/share"))
7789 (for-each (lambda (directory)
7790 (copy-recursively (string-append out directory)
7791 (string-append doc directory))
7792 (delete-file-recursively
7793 (string-append out directory)))
7794 '("/share/doc" "/share/gtk-doc"))
7795 #t))))))
7796 (propagated-inputs
7797 `(("glib" ,glib)))
7798 (native-inputs
7799 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7800 ("gtk-doc" ,gtk-doc/stable)
7801 ("gobject-introspection" ,gobject-introspection)
7802 ("docbook-xml" ,docbook-xml)
7803 ("docbook-xsl" ,docbook-xsl)
7804 ("intltool" ,intltool)
7805 ("libxslt" ,libxslt)
7806 ("libxml2" ,libxml2)
7807 ("pkg-config" ,pkg-config)
7808 ("vala" ,vala)
7809 ;; For testing.
7810 ("python" ,python-wrapper)
7811 ("python-dbus" ,python-dbus)
7812 ("python-pygobject" ,python-pygobject)))
7813 (inputs
7814 `(("curl" ,curl)
7815 ("cyrus-sasl" ,cyrus-sasl)
7816 ("dbus-glib" ,dbus-glib)
7817 ("dnsmasq" ,dnsmasq)
7818 ("eudev" ,eudev)
7819 ("gnutls" ,gnutls)
7820 ("iptables" ,iptables)
7821 ("isc-dhcp" ,isc-dhcp)
7822 ("iwd" ,iwd) ; wpa_supplicant alternative
7823 ("jansson" ,jansson)
7824 ("libaudit" ,audit)
7825 ("libgcrypt" ,libgcrypt)
7826 ("libgudev" ,libgudev)
7827 ("libndp" ,libndp)
7828 ("libnl" ,libnl)
7829 ("libsoup" ,libsoup)
7830 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7831 ("modem-manager" ,modem-manager)
7832 ("newt" ,newt) ;for the 'nmtui' console interface
7833 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7834 ("polkit" ,polkit)
7835 ("ppp" ,ppp)
7836 ("readline" ,readline)
7837 ("util-linux" ,util-linux)
7838 ("elogind" ,elogind)))
7839 (synopsis "Network connection manager")
7840 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7841 (description
7842 "NetworkManager is a system network service that manages your network
7843 devices and connections, attempting to keep active network connectivity when
7844 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7845 devices, and provides VPN integration with a variety of different VPN
7846 services.")
7847 ;; “This NetworkManager project consists of the daemon, client tools, and
7848 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7849 ;; GPL-2.0+.”
7850 (license (list license:gpl2+
7851 license:lgpl2.1+))
7852 (properties '((upstream-name . "NetworkManager")))))
7853
7854 (define-public network-manager-openvpn
7855 (package
7856 (name "network-manager-openvpn")
7857 (version "1.8.12")
7858 (source (origin
7859 (method url-fetch)
7860 (uri (string-append
7861 "mirror://gnome/sources/NetworkManager-openvpn/"
7862 (version-major+minor version)
7863 "/NetworkManager-openvpn-" version ".tar.xz"))
7864 (sha256
7865 (base32
7866 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7867 (build-system gnu-build-system)
7868 (arguments
7869 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7870 #:phases
7871 (modify-phases %standard-phases
7872 (add-after 'configure 'patch-path
7873 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7874 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7875 "/sbin/openvpn"))
7876 (modprobe (string-append (assoc-ref inputs "kmod")
7877 "/bin/modprobe"))
7878 (pretty-ovpn (string-append "\"" ovpn "\"")))
7879 (for-each
7880 (lambda (file)
7881 (substitute* file
7882 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7883 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7884 (("\"/sbin/openvpn\"") pretty-ovpn)
7885 (("/sbin/modprobe") modprobe)))
7886 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7887 #t)))))
7888 (native-inputs
7889 `(("pkg-config" ,pkg-config)
7890 ("intltool" ,intltool)))
7891 (inputs
7892 `(("gtk+" ,gtk+)
7893 ("kmod" ,kmod)
7894 ("openvpn" ,openvpn)
7895 ("network-manager" ,network-manager)
7896 ("libnma" ,libnma)
7897 ("libsecret" ,libsecret)))
7898 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7899 (synopsis "OpenVPN plug-in for NetworkManager")
7900 (description
7901 "This extension of NetworkManager allows it to take care of connections
7902 to virtual private networks (VPNs) via OpenVPN.")
7903 (license license:gpl2+)
7904 (properties `((upstream-name . "NetworkManager-openvpn")))))
7905
7906 (define-public network-manager-vpnc
7907 (package
7908 (name "network-manager-vpnc")
7909 (version "1.2.6")
7910 (source (origin
7911 (method url-fetch)
7912 (uri (string-append
7913 "mirror://gnome/sources/NetworkManager-vpnc/"
7914 (version-major+minor version)
7915 "/NetworkManager-vpnc-" version ".tar.xz"))
7916 (sha256
7917 (base32
7918 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7919 (build-system gnu-build-system)
7920 (arguments
7921 `(#:configure-flags '("--enable-absolute-paths"
7922 "--localstatedir=/var"
7923 ;; libnm-glib has been removed from network-manager
7924 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7925 "--with-libnm-glib=no")
7926 #:phases
7927 (modify-phases %standard-phases
7928 (add-after 'configure 'patch-path
7929 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7930 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7931 "/sbin/vpnc"))
7932 (modprobe (string-append (assoc-ref inputs "kmod")
7933 "/bin/modprobe"))
7934 (pretty-ovpn (string-append "\"" vpnc "\"")))
7935 (substitute* "src/nm-vpnc-service.c"
7936 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7937 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7938 (("\"/sbin/vpnc\"") pretty-ovpn)
7939 (("/sbin/modprobe") modprobe)))
7940 #t)))))
7941 (native-inputs
7942 `(("pkg-config" ,pkg-config)
7943 ("intltool" ,intltool)))
7944 (inputs
7945 `(("gtk+" ,gtk+)
7946 ("kmod" ,kmod)
7947 ("vpnc" ,vpnc)
7948 ("network-manager" ,network-manager)
7949 ("libnma" ,libnma)
7950 ("libsecret" ,libsecret)))
7951 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7952 (synopsis "VPNC plug-in for NetworkManager")
7953 (description
7954 "Support for configuring virtual private networks based on VPNC.
7955 Compatible with Cisco VPN concentrators configured to use IPsec.")
7956 (license license:gpl2+)
7957 (properties `((upstream-name . "NetworkManager-vpnc")))))
7958
7959 (define-public network-manager-openconnect
7960 (package
7961 (name "network-manager-openconnect")
7962 (version "1.2.6")
7963 (source (origin
7964 (method url-fetch)
7965 (uri (string-append
7966 "mirror://gnome/sources/NetworkManager-openconnect/"
7967 (version-major+minor version)
7968 "/NetworkManager-openconnect-" version ".tar.xz"))
7969 (sha256
7970 (base32
7971 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7972 (build-system gnu-build-system)
7973 (arguments
7974 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7975 #:phases
7976 (modify-phases %standard-phases
7977 (add-after 'configure 'patch-path
7978 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7979 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7980 "/sbin/openconnect"))
7981 (modprobe (string-append (assoc-ref inputs "kmod")
7982 "/bin/modprobe"))
7983 (pretty-ovpn (string-append "\"" openconnect "\"")))
7984 (substitute* "src/nm-openconnect-service.c"
7985 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7986 (("/sbin/modprobe") modprobe)))
7987 #t)))))
7988 (native-inputs
7989 `(("intltool" ,intltool)
7990 ("libnma" ,libnma)
7991 ("pkg-config" ,pkg-config)))
7992 (inputs
7993 `(("gcr" ,gcr)
7994 ("gtk+" ,gtk+)
7995 ("kmod" ,kmod)
7996 ("libsecret" ,libsecret)
7997 ("libxml2" ,libxml2)
7998 ("lz4" ,lz4)
7999 ("network-manager" ,network-manager)
8000 ("openconnect" ,openconnect)))
8001 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8002 (synopsis "OpenConnect plug-in for NetworkManager")
8003 (description
8004 "This extension of NetworkManager allows it to take care of connections
8005 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8006 Cisco's AnyConnect SSL VPN.")
8007 (license license:gpl2+)
8008 (properties `((upstream-name . "NetworkManager-openconnect")
8009
8010 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8011 ;; file refers to account "nm-openconnect". Specify it here
8012 ;; so that 'network-manager-service-type' creates it.
8013 (user-accounts . ("nm-openconnect"))))))
8014
8015 (define-public mobile-broadband-provider-info
8016 (package
8017 (name "mobile-broadband-provider-info")
8018 (version "20190116")
8019 (source (origin
8020 (method url-fetch)
8021 (uri (string-append
8022 "mirror://gnome/sources/"
8023 "mobile-broadband-provider-info/" version "/"
8024 "mobile-broadband-provider-info-" version ".tar.xz"))
8025 (sha256
8026 (base32
8027 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8028 (build-system gnu-build-system)
8029 (arguments
8030 `(#:tests? #f)) ; no tests
8031 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8032 (synopsis "Database of broadband connection configuration")
8033 (description "Database of broadband connection configuration.")
8034 (license license:public-domain)))
8035
8036 (define-public network-manager-applet
8037 (package
8038 (name "network-manager-applet")
8039 (version "1.20.0")
8040 (source (origin
8041 (method url-fetch)
8042 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8043 (version-major+minor version) "/"
8044 "network-manager-applet-" version ".tar.xz"))
8045 (sha256
8046 (base32
8047 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8048 (build-system meson-build-system)
8049 (arguments
8050 '(#:glib-or-gtk? #t
8051 #:configure-flags
8052 '("-Dappindicator=yes")))
8053 (native-inputs
8054 `(("intltool" ,intltool)
8055 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8056 ("gobject-introspection" ,gobject-introspection)
8057 ("gtk-doc" ,gtk-doc/stable)
8058 ("pkg-config" ,pkg-config)))
8059 (propagated-inputs
8060 ;; libnm-gtk.pc refers to all these.
8061 `(("dbus-glib" ,dbus-glib)
8062 ("gtk+" ,gtk+)
8063 ("network-manager" ,network-manager)
8064 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8065 ("libnma" ,libnma)))
8066 (inputs
8067 `(("gcr" ,gcr)
8068 ("libappindicator" ,libappindicator)
8069 ("libgudev" ,libgudev)
8070 ("libnotify" ,libnotify)
8071 ("libsecret" ,libsecret)
8072 ("libselinux" ,libselinux)
8073 ("jansson" ,jansson) ; for team support
8074 ("modem-manager" ,modem-manager)))
8075 (synopsis "Applet for managing network connections")
8076 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8077 (description
8078 "This package contains a systray applet for NetworkManager. It displays
8079 the available networks and allows users to easily switch between them.")
8080 (license license:gpl2+)))
8081
8082 (define-public libxml++
8083 (package
8084 (name "libxml++")
8085 (version "3.0.1")
8086 (source (origin
8087 (method url-fetch)
8088 (uri (string-append "mirror://gnome/sources/" name "/"
8089 (version-major+minor version) "/"
8090 name "-" version ".tar.xz"))
8091 (sha256
8092 (base32
8093 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8094 (build-system gnu-build-system)
8095 ;; libxml++-3.0.pc refers to all these.
8096 (propagated-inputs
8097 `(("libxml2" ,libxml2)
8098 ("glibmm" ,glibmm)))
8099 (native-inputs
8100 `(("perl" ,perl)
8101 ("pkg-config" ,pkg-config)))
8102 (home-page "http://libxmlplusplus.sourceforge.net/")
8103 (synopsis "C++ wrapper for XML parser library libxml2")
8104 (description
8105 "This package provides a C++ wrapper for the XML parser library
8106 libxml2.")
8107 (license license:lgpl2.1+)))
8108
8109 (define-public libxml++-2
8110 (package
8111 (inherit libxml++)
8112 (name "libxml++")
8113 (version "2.40.1")
8114 (source (origin
8115 (method url-fetch)
8116 (uri (string-append "mirror://gnome/sources/" name "/"
8117 (version-major+minor version) "/"
8118 name "-" version ".tar.xz"))
8119 (sha256
8120 (base32
8121 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8122
8123 (define-public gdm
8124 (package
8125 (name "gdm")
8126 (version "3.34.1")
8127 (source (origin
8128 (method url-fetch)
8129 (uri (string-append "mirror://gnome/sources/" name "/"
8130 (version-major+minor version) "/"
8131 name "-" version ".tar.xz"))
8132 (sha256
8133 (base32
8134 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8135 (patches (search-patches "gdm-default-session.patch"))))
8136 (build-system glib-or-gtk-build-system)
8137 (arguments
8138 '(#:configure-flags
8139 `("--without-plymouth"
8140 "--disable-systemd-journal"
8141
8142 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8143 ;; instead of having to replace it (i.e., stopping the mingetty
8144 ;; service for TTY 1 before starting GDM).
8145 "--with-initial-vt=7"
8146
8147 ;; Use '/etc/environment' for locale settings instead of the
8148 ;; systemd-specific '/etc/locale.conf'.
8149 "--with-lang-file=/etc/environment"
8150
8151 ,(string-append "--with-udevdir="
8152 (assoc-ref %outputs "out") "/lib/udev")
8153
8154 "--localstatedir=/var"
8155 ,(string-append "--with-default-path="
8156 (string-join '("/run/setuid-programs"
8157 "/run/current-system/profile/bin"
8158 "/run/current-system/profile/sbin")
8159 ":"))
8160 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8161 ;; XDG_DATA_DIRS so that it finds its schemas.
8162 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8163 #:phases
8164 (modify-phases %standard-phases
8165 (add-before
8166 'configure 'pre-configure
8167 (lambda* (#:key inputs outputs #:allow-other-keys)
8168 ;; We don't have <systemd/sd-daemon.h>.
8169 (substitute* '("common/gdm-log.c"
8170 "daemon/gdm-server.c"
8171 "daemon/gdm-session-worker.c"
8172 "daemon/gdm-session-worker-job.c")
8173 (("#include <systemd/sd-daemon\\.h>") ""))
8174 ;; Use elogind for sd-login.
8175 (substitute* '("common/gdm-common.c"
8176 "daemon/gdm-local-display-factory.c"
8177 "daemon/gdm-manager.c"
8178 "libgdm/gdm-user-switching.c")
8179 (("#include <systemd/sd-login\\.h>")
8180 "#include <elogind/sd-login.h>"))
8181 ;; Check for elogind.
8182 (substitute* '("configure")
8183 (("libsystemd")
8184 "libelogind"))
8185 ;; Look for system-installed sessions in
8186 ;; /run/current-system/profile/share.
8187 (substitute* '("libgdm/gdm-sessions.c"
8188 "daemon/gdm-session.c"
8189 "daemon/gdm-display.c"
8190 "daemon/gdm-launch-environment.c")
8191 (("DATADIR \"/x")
8192 "\"/run/current-system/profile/share/x")
8193 (("DATADIR \"/wayland")
8194 "\"/run/current-system/profile/share/wayland")
8195 (("DATADIR \"/gnome")
8196 "\"/run/current-system/profile/share/gnome"))
8197 (let ((propagate '("GDM_CUSTOM_CONF"
8198 "GDM_DBUS_DAEMON"
8199 "GDM_X_SERVER"
8200 "GDM_X_SESSION"
8201 ;; XXX: Remove this once GNOME Shell is
8202 ;; a dependency of GDM.
8203 "XDG_DATA_DIRS")))
8204 (substitute* "daemon/gdm-session.c"
8205 (("set_up_session_environment \\(self\\);")
8206 (apply string-append
8207 "set_up_session_environment (self);\n"
8208 (map (lambda (name)
8209 (string-append
8210 "gdm_session_set_environment_variable "
8211 "(self, \"" name "\","
8212 "g_getenv (\"" name "\"));\n"))
8213 propagate)))))
8214 ;; Find the configuration file using an environment variable.
8215 (substitute* '("common/gdm-settings.c")
8216 (("GDM_CUSTOM_CONF")
8217 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8218 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8219 " : GDM_CUSTOM_CONF)")))
8220 ;; Use service-supplied path to X.
8221 (substitute* '("daemon/gdm-server.c")
8222 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8223 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8224 (substitute* '("daemon/gdm-wayland-session.c"
8225 "daemon/gdm-x-session.c")
8226 (("\"dbus-daemon\"")
8227 "g_getenv (\"GDM_DBUS_DAEMON\")")
8228 (("X_SERVER")
8229 "g_getenv (\"GDM_X_SERVER\")")
8230 (("GDMCONFDIR \"/Xsession\"")
8231 "g_getenv (\"GDM_X_SESSION\")"))
8232 ;; Use an absolute path for GNOME Session.
8233 (substitute* "daemon/gdm-launch-environment.c"
8234 (("\"gnome-session\"")
8235 (string-append "\"" (assoc-ref inputs "gnome-session")
8236 "/bin/gnome-session\"")))
8237 ;; Do not automatically select the placeholder session.
8238 (substitute* "daemon/gdm-session.c"
8239 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8240 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8241 "(g_strcmp0(search_dirs[i], \""
8242 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8243 "\") == 0 && "
8244 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8245 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8246 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8247 #t))
8248 ;; GDM requires that there be at least one desktop entry
8249 ;; file. This phase installs a hidden one that simply
8250 ;; fails. This enables users to use GDM with a
8251 ;; '~/.xsession' script with no other desktop entry files.
8252 ;; See <https://bugs.gnu.org/35068>.
8253 (add-after 'install 'install-placeholder-desktop-entry
8254 (lambda* (#:key inputs outputs #:allow-other-keys)
8255 (let* ((out (assoc-ref outputs "out"))
8256 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8257 (fail (string-append sessions "/fail.desktop")))
8258 (mkdir-p sessions)
8259 (with-output-to-file fail
8260 (lambda ()
8261 (for-each
8262 display
8263 '("[Desktop Entry]\n"
8264 "Encoding=UTF-8\n"
8265 "Type=Application\n"
8266 "Name=Fail\n"
8267 "Comment=This session fails immediately.\n"
8268 "NoDisplay=true\n"
8269 "Exec=false\n"))))
8270 #t)))
8271 ;; GDM needs GNOME Session to run these applications. We link
8272 ;; their autostart files in `share/gdm/greeter/autostart'
8273 ;; because GDM explicitly tells GNOME Session to look there.
8274 ;;
8275 ;; XXX: GNOME Shell should be linked here too, but currently
8276 ;; GNOME Shell depends on GDM.
8277 (add-after 'install 'link-autostart-files
8278 (lambda* (#:key inputs outputs #:allow-other-keys)
8279 (let* ((out (assoc-ref outputs "out"))
8280 (autostart (string-append out "/share/gdm/"
8281 "greeter/autostart"))
8282 (settings (assoc-ref inputs "gnome-settings-daemon")))
8283 (mkdir-p autostart)
8284 (with-directory-excursion autostart
8285 (for-each (lambda (desktop)
8286 (symlink desktop (basename desktop)))
8287 (find-files (string-append settings "/etc/xdg"))))
8288 #t))))))
8289 (native-inputs
8290 `(("dconf" ,dconf)
8291 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8292 ("gobject-introspection" ,gobject-introspection)
8293 ("intltool" ,intltool)
8294 ("itstool" ,itstool)
8295 ("pkg-config" ,pkg-config)
8296 ("xmllint" ,libxml2)))
8297 (inputs
8298 `(("accountsservice" ,accountsservice)
8299 ("check" ,check-0.14) ;for testing
8300 ("elogind" ,elogind)
8301 ("gnome-session" ,gnome-session)
8302 ("gnome-settings-daemon" ,gnome-settings-daemon)
8303 ("gtk+" ,gtk+)
8304 ("iso-codes" ,iso-codes)
8305 ("libcanberra" ,libcanberra)
8306 ("linux-pam" ,linux-pam)))
8307 (synopsis "Display manager for GNOME")
8308 (home-page "https://wiki.gnome.org/Projects/GDM/")
8309 (description
8310 "GNOME Display Manager is a system service that is responsible for
8311 providing graphical log-ins and managing local and remote displays.")
8312 (license license:gpl2+)))
8313
8314 (define-public libgtop
8315 (package
8316 (name "libgtop")
8317 (version "2.40.0")
8318 (source (origin
8319 (method url-fetch)
8320 (uri (string-append "mirror://gnome/sources/libgtop/"
8321 (version-major+minor version) "/"
8322 "libgtop-" version ".tar.xz"))
8323 (sha256
8324 (base32
8325 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8326 (build-system gnu-build-system)
8327 (native-inputs
8328 `(("gobject-introspection" ,gobject-introspection)
8329 ("intltool" ,intltool)
8330 ("perl" ,perl)
8331 ("pkg-config" ,pkg-config)))
8332 (propagated-inputs
8333 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8334 (synopsis "Portable system access library")
8335 (home-page "https://www.gnome.org/")
8336 (description
8337 "LibGTop is a library to get system specific data such as CPU and memory
8338 usage and information about running processes.")
8339 (license license:gpl2+)))
8340
8341 (define-public gnome-bluetooth
8342 (package
8343 (name "gnome-bluetooth")
8344 (version "3.34.2")
8345 (source (origin
8346 (method url-fetch)
8347 (uri (string-append "mirror://gnome/sources/" name "/"
8348 (version-major+minor version) "/"
8349 name "-" version ".tar.xz"))
8350 (sha256
8351 (base32
8352 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8353 (build-system meson-build-system)
8354 (native-inputs
8355 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8356 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8357 ("gobject-introspection" ,gobject-introspection)
8358 ("intltool" ,intltool)
8359 ("pkg-config" ,pkg-config)
8360 ("xmllint" ,libxml2)))
8361 (propagated-inputs
8362 ;; gnome-bluetooth-1.0.pc refers to all these.
8363 `(("glib" ,glib)
8364 ("gtk+" ,gtk+)))
8365 (inputs
8366 `(("eudev" ,eudev)
8367 ("libcanberra" ,libcanberra)
8368 ("libnotify" ,libnotify)))
8369 (synopsis "GNOME Bluetooth subsystem")
8370 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8371 (description
8372 "This package contains tools for managing and manipulating Bluetooth
8373 devices using the GNOME desktop.")
8374 (license license:lgpl2.1+)))
8375
8376 (define-public gnome-control-center
8377 (package
8378 (name "gnome-control-center")
8379 (version "3.34.2")
8380 (source (origin
8381 (method url-fetch)
8382 (uri (string-append "mirror://gnome/sources/" name "/"
8383 (version-major+minor version) "/"
8384 name "-" version ".tar.xz"))
8385 (sha256
8386 (base32
8387 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8388 (build-system meson-build-system)
8389 (arguments
8390 '(#:glib-or-gtk? #t
8391 #:configure-flags
8392 (list "-Dcheese=false"
8393 (string-append "-Dgnome_session_libexecdir="
8394 (assoc-ref %build-inputs "gnome-session")
8395 "/libexec"))
8396 #:phases
8397 (modify-phases %standard-phases
8398 (add-before 'configure 'patch-paths
8399 (lambda* (#:key inputs #:allow-other-keys)
8400 (let ((libc (assoc-ref inputs "libc"))
8401 (tzdata (assoc-ref inputs "tzdata"))
8402 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8403 (nm-applet (assoc-ref inputs "network-manager-applet"))
8404 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8405 (substitute* "panels/datetime/tz.h"
8406 (("/usr/share/zoneinfo/zone.tab")
8407 (string-append tzdata "/share/zoneinfo/zone.tab")))
8408 (substitute* "tests/datetime/test-endianess.c"
8409 (("/usr/share/locale")
8410 (string-append libc "/share/locale")))
8411 (substitute* "panels/region/cc-region-panel.c"
8412 (("\"gkbd-keyboard-display")
8413 (string-append "\"" libgnomekbd
8414 "/bin/gkbd-keyboard-display")))
8415 (substitute* '("panels/network/net-device-wifi.c"
8416 "panels/network/net-device.c"
8417 "panels/network/connection-editor/net-connection-editor.c")
8418 (("\"nm-connection-editor")
8419 (string-append "\"" nm-applet
8420 "/bin/nm-connection-editor")))
8421 (substitute* '("panels/user-accounts/run-passwd.c")
8422 (("/usr/bin/passwd")
8423 "/run/setuid-programs/passwd"))
8424 (substitute* "panels/info/cc-info-overview-panel.c"
8425 (("DATADIR \"/gnome/gnome-version.xml\"")
8426 (string-append "\"" gnome-desktop
8427 "/share/gnome/gnome-version.xml\"")))
8428 #t)))
8429 (add-after 'unpack 'skip-gtk-update-icon-cache
8430 ;; Don't create 'icon-theme.cache'.
8431 (lambda _
8432 (substitute* "build-aux/meson/meson_post_install.py"
8433 (("gtk-update-icon-cache") (which "true")))
8434 #t)))))
8435 (native-inputs
8436 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8437 ("intltool" ,intltool)
8438 ("pkg-config" ,pkg-config)
8439 ("xsltproc" ,libxslt)
8440 ;; For tests
8441 ("hicolor-icon-theme" ,hicolor-icon-theme)
8442 ("python-dbusmock" ,python-dbusmock)
8443 ("xorg-server" ,xorg-server-for-tests)))
8444 (inputs
8445 `(("accountsservice" ,accountsservice)
8446 ("clutter-gtk" ,clutter-gtk)
8447 ("colord-gtk" ,colord-gtk)
8448 ("cups" ,cups)
8449 ("dconf" ,dconf)
8450 ("docbook-xsl" ,docbook-xsl)
8451 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8452 ("gnome-bluetooth" ,gnome-bluetooth)
8453 ("gnome-desktop" ,gnome-desktop)
8454 ("gnome-online-accounts" ,gnome-online-accounts)
8455 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8456 ("gnome-session" ,gnome-session)
8457 ("gnome-settings-daemon" ,gnome-settings-daemon)
8458 ("grilo" ,grilo)
8459 ("gsound" ,gsound)
8460 ("ibus" ,ibus)
8461 ("libcanberra" ,libcanberra)
8462 ("libgnomekbd" ,libgnomekbd)
8463 ("libgudev" ,libgudev)
8464 ("libgtop" ,libgtop)
8465 ("libnma" ,libnma)
8466 ("libpwquality" ,libpwquality)
8467 ("libsecret" ,libsecret)
8468 ("libsoup" ,libsoup)
8469 ("libxml2" ,libxml2)
8470 ("libwacom" ,libwacom)
8471 ("mesa" ,mesa)
8472 ("mit-krb5" ,mit-krb5)
8473 ("modem-manager" ,modem-manager)
8474 ("network-manager-applet" ,network-manager-applet)
8475 ("polkit" ,polkit)
8476 ("pulseaudio" ,pulseaudio)
8477 ("smbclient" ,samba)
8478 ("tzdata" ,tzdata)
8479 ("udisks" ,udisks)
8480 ("upower" ,upower)))
8481 (synopsis "Utilities to configure the GNOME desktop")
8482 (home-page "https://www.gnome.org/")
8483 (description
8484 "This package contains configuration applets for the GNOME desktop,
8485 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8486 properties, sound setup, desktop theme and background, user interface
8487 properties, screen resolution, and other GNOME parameters.")
8488 (license license:gpl2+)))
8489
8490 (define-public gnome-shell
8491 (package
8492 (name "gnome-shell")
8493 (version "3.34.5")
8494 (source (origin
8495 (method url-fetch)
8496 (uri (string-append "mirror://gnome/sources/" name "/"
8497 (version-major+minor version) "/"
8498 name "-" version ".tar.xz"))
8499 (sha256
8500 (base32
8501 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8502 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8503 "gnome-shell-theme.patch"
8504 "gnome-shell-disable-test.patch"))
8505 (modules '((guix build utils)))
8506 (snippet
8507 #~(begin
8508 ;; Copy images for use on the GDM log-in screen.
8509 (copy-file #$(file-append %artwork-repository
8510 "/slim/0.x/background.png")
8511 "data/theme/guix-background.png")
8512 (copy-file #$(file-append %artwork-repository
8513 "/logo/Guix-horizontal-white.svg")
8514 "data/theme/guix-logo.svg")
8515 #t))))
8516 (build-system meson-build-system)
8517 (arguments
8518 `(#:glib-or-gtk? #t
8519 #:disallowed-references ((,glib "bin")
8520 ,inkscape ,libxslt
8521 ,ruby-sass)
8522 #:configure-flags
8523 (list "-Dsystemd=false"
8524 ;; Otherwise, the RUNPATH will lack the final path component.
8525 (string-append "-Dc_link_args=-Wl,-rpath="
8526 (assoc-ref %outputs "out")
8527 "/lib/gnome-shell"))
8528
8529 #:modules ((guix build meson-build-system)
8530 (guix build utils)
8531 (srfi srfi-1))
8532
8533 #:phases
8534 (modify-phases %standard-phases
8535 (add-after 'unpack 'fix-keysdir
8536 (lambda* (#:key outputs #:allow-other-keys)
8537 (let* ((out (assoc-ref outputs "out"))
8538 (keysdir (string-append
8539 out "/share/gnome-control-center/keybindings")))
8540 (substitute* "meson.build"
8541 (("keysdir =.*")
8542 (string-append "keysdir = '" keysdir "'\n")))
8543 #t)))
8544 (add-before 'configure 'convert-logo-to-png
8545 (lambda* (#:key inputs #:allow-other-keys)
8546 ;; Convert the logo from SVG to PNG.
8547 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8548 "data/theme/guix-logo.svg")))
8549 (add-before 'configure 'record-absolute-file-names
8550 (lambda* (#:key inputs #:allow-other-keys)
8551 (substitute* "js/misc/ibusManager.js"
8552 (("'ibus-daemon'")
8553 (string-append "'" (assoc-ref inputs "ibus")
8554 "/bin/ibus-daemon'")))
8555 (substitute* "js/ui/status/keyboard.js"
8556 (("'gkbd-keyboard-display'")
8557 (string-append "'" (assoc-ref inputs "libgnomekbd")
8558 "/bin/gkbd-keyboard-display'")))
8559 #t))
8560 (add-before 'check 'pre-check
8561 (lambda* (#:key inputs #:allow-other-keys)
8562 ;; Tests require a running X server.
8563 (system "Xvfb :1 &")
8564 (setenv "DISPLAY" ":1")
8565 #t))
8566 (add-after 'install 'wrap-programs
8567 (lambda* (#:key inputs outputs #:allow-other-keys)
8568 (let ((out (assoc-ref outputs "out"))
8569 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8570 (python-path (getenv "PYTHONPATH")))
8571 (wrap-program (string-append out "/bin/gnome-shell")
8572 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8573 ;; FIXME: gnome-shell loads these libraries with unqualified
8574 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8575 ;; alternative might be to patch gnome-shell.
8576 `("LD_LIBRARY_PATH" ":" prefix
8577 ,(map (lambda (pkg)
8578 (string-append (assoc-ref inputs pkg) "/lib"))
8579 '("gdk-pixbuf"
8580 "gnome-bluetooth" "librsvg" "libgweather"))))
8581 (for-each
8582 (lambda (prog)
8583 (wrap-program (string-append out "/bin/" prog)
8584 `("PYTHONPATH" ":" prefix (,python-path))
8585 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8586 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8587 #t)))
8588 (replace 'glib-or-gtk-wrap
8589 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8590 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8591 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8592 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8593 ;; phase. Fix that since we don't need these.
8594 (wrap #:inputs (fold alist-delete inputs
8595 '("inkscape" "intltool" "glib:bin"))
8596 #:outputs outputs)))))))
8597 (native-inputs
8598 `(("asciidoc" ,asciidoc)
8599 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8600 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8601 ("gobject-introspection" ,gobject-introspection)
8602 ("inkscape" ,inkscape)
8603 ("intltool" ,intltool)
8604 ("pkg-config" ,pkg-config)
8605 ("python" ,python)
8606 ("ruby-sass" ,ruby-sass)
8607 ("sassc" ,sassc)
8608 ("xsltproc" ,libxslt)
8609 ;; For tests
8610 ("xorg-server" ,xorg-server-for-tests)))
8611 (inputs
8612 `(("accountsservice" ,accountsservice)
8613 ("caribou" ,caribou)
8614 ("docbook-xsl" ,docbook-xsl)
8615 ("evolution-data-server" ,evolution-data-server)
8616 ("gcr" ,gcr)
8617 ("gdm" ,gdm)
8618 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8619 ("gjs" ,gjs)
8620 ("gnome-autoar" ,gnome-autoar)
8621 ("gnome-bluetooth" ,gnome-bluetooth)
8622 ("gnome-desktop" ,gnome-desktop)
8623 ("gnome-settings-daemon" ,gnome-settings-daemon)
8624 ("gst-plugins-base" ,gst-plugins-base)
8625 ("ibus" ,ibus)
8626 ("libcanberra" ,libcanberra)
8627 ("libcroco" ,libcroco)
8628 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8629 ("libgweather" ,libgweather)
8630 ("libnma" ,libnma)
8631 ("libsoup" ,libsoup)
8632 ("mesa-headers" ,mesa-headers)
8633 ("mutter" ,mutter)
8634 ("network-manager-applet" ,network-manager-applet)
8635 ("polkit" ,polkit)
8636 ("pulseaudio" ,pulseaudio)
8637 ("python-pygobject" ,python-pygobject)
8638 ("startup-notification" ,startup-notification)
8639 ("telepathy-logger" ,telepathy-logger)
8640 ("upower" ,upower)
8641 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8642 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8643 ("librsvg" ,librsvg)
8644 ("geoclue" ,geoclue)))
8645 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8646 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8647 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8648 (synopsis "Desktop shell for GNOME")
8649 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8650 (description
8651 "GNOME Shell provides core user interface functions for the GNOME desktop,
8652 like switching to windows and launching applications.")
8653 (license license:gpl2+)))
8654
8655 (define-public gtk-vnc
8656 (package
8657 (name "gtk-vnc")
8658 (version "1.0.0")
8659 (source
8660 (origin
8661 (method url-fetch)
8662 (uri
8663 (string-append "mirror://gnome/sources/" name "/"
8664 (version-major+minor version) "/"
8665 name "-" version ".tar.xz"))
8666 (sha256
8667 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8668 (build-system meson-build-system)
8669 (arguments
8670 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8671 (native-inputs
8672 `(("gjs" ,gjs)
8673 ("glib:bin" ,glib "bin")
8674 ("gobject-introspection" ,gobject-introspection)
8675 ("intltool" ,intltool)
8676 ("node" ,node)
8677 ("perl" ,perl)
8678 ("pkg-config" ,pkg-config)
8679 ("python" ,python-wrapper)
8680 ("vala" ,vala)))
8681 (inputs
8682 `(("cairo" ,cairo)
8683 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8684 ("glib" ,glib)
8685 ("gnutls" ,gnutls)
8686 ("libgcrypt" ,libgcrypt)
8687 ("libsasl" ,cyrus-sasl)
8688 ("pulseaudio" ,pulseaudio)
8689 ("x11" ,libx11)
8690 ("zlib" ,zlib)))
8691 (propagated-inputs
8692 `(("gtk+" ,gtk+)))
8693 (synopsis "VNC client viewer widget for GTK+")
8694 (description "GTK-VNC is a project providing client side APIs for the RFB
8695 protocol / VNC remote desktop technology. It is built using coroutines allowing
8696 it to be completely asynchronous while remaining single threaded. It provides a
8697 core C library, and bindings for Python (PyGTK).")
8698 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8699 (license license:lgpl2.1+)))
8700
8701 (define-public gnome-autoar
8702 (package
8703 (name "gnome-autoar")
8704 (version "0.3.2")
8705 (source (origin
8706 (method url-fetch)
8707 (uri (string-append "mirror://gnome/sources/" name "/"
8708 (version-major+minor version) "/"
8709 name "-" version ".tar.xz"))
8710 (sha256
8711 (base32
8712 "0wkwix44yg126xn1v4f2j60bv9yiyadfpzf8ifx0bvd9x5f4v354"))))
8713 (build-system glib-or-gtk-build-system)
8714 (native-inputs
8715 `(("gobject-introspection" ,gobject-introspection)
8716 ("pkg-config" ,pkg-config)))
8717 (propagated-inputs
8718 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8719 (inputs
8720 `(("gtk+" ,gtk+)))
8721 (synopsis "Archives integration support for GNOME")
8722 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8723 (description
8724 "GNOME Autoar is a library which makes creating and extracting archives
8725 easy, safe, and automatic.")
8726 (license license:lgpl2.1+)))
8727
8728 (define-public tracker
8729 (package
8730 (name "tracker")
8731 (version "2.3.5")
8732 (source (origin
8733 (method url-fetch)
8734 (uri (string-append "mirror://gnome/sources/tracker/"
8735 (version-major+minor version) "/"
8736 "tracker-" version ".tar.xz"))
8737 (sha256
8738 (base32
8739 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8740 (build-system meson-build-system)
8741 (arguments
8742 `(#:glib-or-gtk? #t
8743 #:configure-flags
8744 ;; Otherwise, the RUNPATH will lack the final path component.
8745 (list (string-append "-Dc_link_args=-Wl,-rpath="
8746 (assoc-ref %outputs "out") "/lib:"
8747 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8748 #:phases
8749 (modify-phases %standard-phases
8750 (add-before 'check 'pre-check
8751 (lambda _
8752 ;; Some tests expect to write to $HOME.
8753 (setenv "HOME" "/tmp")
8754 #t)))))
8755 (native-inputs
8756 `(("glib:bin" ,glib "bin")
8757 ("gobject-introspection" ,gobject-introspection)
8758 ("python-pygobject" ,python-pygobject)
8759 ("intltool" ,intltool)
8760 ("pkg-config" ,pkg-config)
8761 ("vala" ,vala)))
8762 (inputs
8763 `(("dbus" ,dbus)
8764 ("sqlite" ,sqlite)
8765 ("libxml2" ,libxml2)
8766 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8767 ("json-glib" ,json-glib)
8768 ("libsoup" ,libsoup)))
8769 (synopsis "Metadata database, indexer and search tool")
8770 (home-page "https://wiki.gnome.org/Projects/Tracker")
8771 (description
8772 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8773
8774 It is a middleware component aimed at desktop application developers who want
8775 their apps to browse and search user content. It's not designed to be used
8776 directly by desktop users, but it provides a commandline tool named
8777 @command{tracker} for the adventurous.
8778
8779 Tracker allows your application to instantly perform full-text searches across
8780 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8781 example. This is achieved by indexing the user's home directory in the
8782 background.
8783
8784 Tracker also allows your application to query and list content that the user
8785 has stored. For example, GNOME Music displays all the music files that are
8786 found by Tracker. This means that GNOME Music doesn't need to maintain a
8787 database of its own.
8788
8789 If you need to go beyond simple searches, Tracker is also a linked data
8790 endpoint and it understands SPARQL. ")
8791 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8792 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8793 ;; libstemmer is bsd-3 and the rest is gpl2+.
8794 (license (list license:gpl2+
8795 license:bsd-3
8796 license:lgpl2.1+))))
8797
8798 (define-public tracker-miners
8799 (package
8800 (name "tracker-miners")
8801 (version "2.3.4")
8802 (source (origin
8803 (method url-fetch)
8804 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8805 (version-major+minor version)
8806 "/tracker-miners-" version ".tar.xz"))
8807 (sha256
8808 (base32
8809 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8810 (build-system meson-build-system)
8811 (arguments
8812 `(#:glib-or-gtk? #t
8813 #:configure-flags
8814 (list "-Dminer_rss=false" ; libgrss is required.
8815 ;; Ensure the RUNPATH contains all installed library locations.
8816 (string-append "-Dc_link_args=-Wl,-rpath="
8817 (assoc-ref %outputs "out")
8818 "/lib/tracker-miners-2.0")
8819 ;; TODO: Enable functional tests. Currently, the following error
8820 ;; appears:
8821 ;; Exception: The functional tests require DConf to be the default
8822 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8823 "-Dfunctional_tests=false")))
8824 (native-inputs
8825 `(("dbus" ,dbus)
8826 ("intltool" ,intltool)
8827 ("glib:bin" ,glib "bin")
8828 ("gobject-introspection" ,gobject-introspection)
8829 ("pkg-config" ,pkg-config)
8830 ("python-pygobject" ,python-pygobject)))
8831 (inputs
8832 `(("exempi" ,exempi)
8833 ("ffmpeg" ,ffmpeg)
8834 ("flac" ,flac)
8835 ("giflib" ,giflib)
8836 ("glib" ,glib)
8837 ("gstreamer" ,gstreamer)
8838 ("icu4c" ,icu4c)
8839 ("libcue" ,libcue)
8840 ("libexif" ,libexif)
8841 ("libgsf" ,libgsf)
8842 ("libgxps" ,libgxps)
8843 ("libiptcdata" ,libiptcdata)
8844 ("libjpeg" ,libjpeg-turbo)
8845 ("libosinfo" ,libosinfo)
8846 ("libpng" ,libpng)
8847 ("libseccomp" ,libseccomp)
8848 ("libtiff" ,libtiff)
8849 ("libvorbis" ,libvorbis)
8850 ("libxml2" ,libxml2)
8851 ("poppler" ,poppler)
8852 ("taglib" ,taglib)
8853 ("totem-pl-parser" ,totem-pl-parser)
8854 ("tracker" ,tracker)
8855 ("upower" ,upower)
8856 ("zlib" ,zlib)))
8857 (synopsis "Metadata database, indexer and search tool")
8858 (home-page "https://wiki.gnome.org/Projects/Tracker")
8859 (description
8860 "Tracker is an advanced framework for first class objects with associated
8861 metadata and tags. It provides a one stop solution for all metadata, tags,
8862 shared object databases, search tools and indexing.")
8863 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8864 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8865 (license (list license:gpl2+
8866 license:lgpl2.1+
8867 license:lgpl2.0+))))
8868
8869 (define-public nautilus
8870 (package
8871 (name "nautilus")
8872 (version "3.34.2")
8873 (source (origin
8874 (method url-fetch)
8875 (uri (string-append "mirror://gnome/sources/" name "/"
8876 (version-major+minor version) "/"
8877 name "-" version ".tar.xz"))
8878 (sha256
8879 (base32
8880 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8881 (build-system meson-build-system)
8882 (arguments
8883 '(#:glib-or-gtk? #t
8884 #:phases
8885 (modify-phases %standard-phases
8886 (add-after 'unpack 'skip-gtk-update-icon-cache
8887 ;; Don't create 'icon-theme.cache'.
8888 (lambda _
8889 (substitute* "build-aux/meson/postinstall.py"
8890 (("gtk-update-icon-cache") "true"))
8891 #t)))
8892 ;; XXX: FAIL: check-nautilus
8893 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8894 #:tests? #f))
8895 (native-inputs
8896 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8897 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8898 ("gobject-introspection" ,gobject-introspection)
8899 ("intltool" ,intltool)
8900 ("pkg-config" ,pkg-config)))
8901 (inputs
8902 `(("dconf" ,dconf)
8903 ("gexiv2" ,gexiv2)
8904 ("gvfs" ,gvfs)
8905 ("exempi" ,exempi)
8906 ("gnome-desktop" ,gnome-desktop)
8907 ("gnome-autoar" ,gnome-autoar)
8908 ("gst-plugins-base" ,gst-plugins-base)
8909 ("libseccomp" ,libseccomp)
8910 ("libselinux" ,libselinux)
8911 ("tracker" ,tracker)
8912 ("tracker-miners" ,tracker-miners)
8913 ;; XXX: gtk+ is required by libnautilus-extension.pc
8914 ;;
8915 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8916 ;; package. See:
8917 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8918 ("gtk+" ,gtk+)
8919 ("libexif" ,libexif)
8920 ("libxml2" ,libxml2)))
8921 (synopsis "File manager for GNOME")
8922 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8923 (description
8924 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8925 design and behaviour, giving the user a simple way to navigate and manage its
8926 files.")
8927 (license license:gpl2+)))
8928
8929 (define-public baobab
8930 (package
8931 (name "baobab")
8932 (version "3.38.0")
8933 (source (origin
8934 (method url-fetch)
8935 (uri (string-append
8936 "mirror://gnome/sources/" name "/"
8937 (version-major+minor version) "/"
8938 name "-" version ".tar.xz"))
8939 (sha256
8940 (base32
8941 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8942 (build-system meson-build-system)
8943 (arguments
8944 '(#:glib-or-gtk? #t))
8945 (native-inputs
8946 `(("intltool" ,intltool)
8947 ("pkg-config" ,pkg-config)
8948 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8949 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8950 ("itstool" ,itstool)
8951 ("xmllint" ,libxml2)
8952 ("glib" ,glib "bin")
8953 ("vala" ,vala)))
8954 (inputs
8955 `(("gtk+" ,gtk+)))
8956 (synopsis "Disk usage analyzer for GNOME")
8957 (description
8958 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8959 usage in the GNOME desktop environment. It can easily scan device volumes or
8960 a specific user-requested directory branch (local or remote). Once the scan
8961 is complete it provides a graphical representation of each selected folder.")
8962 (home-page "https://wiki.gnome.org/Apps/Baobab")
8963 (license license:gpl2+)))
8964
8965 (define-public gnome-backgrounds
8966 (package
8967 (name "gnome-backgrounds")
8968 (version "3.34.0")
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 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8978 (build-system meson-build-system)
8979 (native-inputs
8980 `(("intltool" ,intltool)))
8981 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8982 (synopsis "Background images for the GNOME desktop")
8983 (description
8984 "GNOME backgrounds package contains a collection of graphics files which
8985 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8986 the package creates the proper framework and directory structure so that you
8987 can add your own files to the collection.")
8988 (license (list license:gpl2+
8989 license:cc-by2.0
8990 license:cc-by-sa2.0
8991 license:cc-by-sa3.0))))
8992
8993 (define-public gnome-screenshot
8994 (package
8995 (name "gnome-screenshot")
8996 (version "3.34.0")
8997 (source
8998 (origin
8999 (method url-fetch)
9000 (uri (string-append "mirror://gnome/sources/" name "/"
9001 (version-major+minor version) "/"
9002 name "-" version ".tar.xz"))
9003 (sha256
9004 (base32
9005 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
9006 (build-system meson-build-system)
9007 (arguments
9008 '(#:phases
9009 (modify-phases %standard-phases
9010 (add-after 'unpack 'skip-gtk-update-icon-cache
9011 ;; Don't create 'icon-theme.cache'.
9012 (lambda _
9013 (substitute* "build-aux/postinstall.py"
9014 (("gtk-update-icon-cache") "true"))
9015 #t)))))
9016 (native-inputs
9017 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9018 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9019 ("intltool" ,intltool)
9020 ("appstream-glib" ,appstream-glib)
9021 ("pkg-config" ,pkg-config)))
9022 (inputs
9023 `(("gtk+" ,gtk+)
9024 ("libcanberra" ,libcanberra)
9025 ("libx11" ,libx11)
9026 ("libxext" ,libxext)))
9027 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9028 (synopsis "Take pictures of your screen")
9029 (description
9030 "GNOME Screenshot is a utility used for taking screenshots of the entire
9031 screen, a window or a user defined area of the screen, with optional
9032 beautifying border effects.")
9033 (license license:gpl2+)))
9034
9035 (define-public dconf-editor
9036 (package
9037 (name "dconf-editor")
9038 (version "3.34.2")
9039 (source
9040 (origin
9041 (method url-fetch)
9042 (uri (string-append "mirror://gnome/sources/" name "/"
9043 (version-major+minor version) "/"
9044 name "-" version ".tar.xz"))
9045 (sha256
9046 (base32
9047 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9048 (build-system meson-build-system)
9049 (native-inputs
9050 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9051 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9052 ("intltool" ,intltool)
9053 ("pkg-config" ,pkg-config)
9054 ("vala" ,vala)))
9055 (inputs
9056 `(("dconf" ,dconf)
9057 ("gtk+" ,gtk+)
9058 ("libxml2" ,libxml2)))
9059 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9060 (synopsis "Graphical editor for GNOME's dconf configuration system")
9061 (description
9062 "Dconf-editor is a graphical tool for browsing and editing the dconf
9063 configuration system for GNOME. It allows users to configure desktop
9064 software that do not provide their own configuration interface.")
9065 (license license:lgpl2.1+)))
9066
9067 (define-public gnome-default-applications
9068 (package
9069 (name "gnome-default-applications")
9070 (version "0")
9071 (build-system trivial-build-system)
9072 (source #f)
9073 (propagated-inputs
9074 `(("nautilus" ,nautilus)
9075 ("evince" ,evince)))
9076 (arguments
9077 `(#:modules ((guix build utils))
9078 #:builder
9079 (begin
9080 (use-modules (guix build utils))
9081 (let* ((out (assoc-ref %outputs "out"))
9082 (apps (string-append out "/share/applications")))
9083 (mkdir-p apps)
9084 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9085 (lambda (port)
9086 (format port "[Default Applications]\n")
9087 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9088 (format port "application/pdf=evince.desktop\n")
9089 (format port "application/postscript=evince.desktop\n")))
9090 #t))))
9091 (synopsis "Default MIME type associations for the GNOME desktop")
9092 (description
9093 "Given many installed packages which might handle a given MIME type, a
9094 user running the GNOME desktop probably has some preferences: for example,
9095 that folders be opened by default by the Nautilus file manager, not the Baobab
9096 disk usage analyzer. This package establishes that set of default MIME type
9097 associations for GNOME.")
9098 (license license:gpl3+)
9099 (home-page #f)))
9100
9101 (define-public libgovirt
9102 (package
9103 (name "libgovirt")
9104 (version "0.3.8")
9105 (source (origin
9106 (method url-fetch)
9107 (uri (string-append "mirror://gnome/sources/" name "/"
9108 (version-major+minor version) "/"
9109 name "-" version ".tar.xz"))
9110 (sha256
9111 (base32
9112 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9113 (build-system glib-or-gtk-build-system)
9114 (native-inputs
9115 `(("gettext" ,gettext-minimal)
9116 ("glib:bin" ,glib "bin")
9117 ("gobject-introspection" ,gobject-introspection)
9118 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9119 ("gtk+:bin" ,gtk+ "bin")
9120 ("pkg-config" ,pkg-config)))
9121 (inputs
9122 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9123 ("librest" ,rest)))
9124 (synopsis "GoVirt Library")
9125 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9126 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9127 (license license:gpl2+)))
9128
9129 (define-public gnome-weather
9130 (package
9131 (name "gnome-weather")
9132 (version "3.34.0")
9133 (source (origin
9134 (method url-fetch)
9135 (uri (string-append "mirror://gnome/sources/" name "/"
9136 (version-major+minor version) "/"
9137 name "-" version ".tar.xz"))
9138 (sha256
9139 (base32
9140 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9141 (build-system meson-build-system)
9142 (native-inputs
9143 `(("gettext" ,gettext-minimal)
9144 ("glib:bin" ,glib "bin")
9145 ("gobject-introspection" ,gobject-introspection)
9146 ("gtk+:bin" ,gtk+ "bin")
9147 ("pkg-config" ,pkg-config)))
9148 (inputs
9149 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9150 ("appstream-glib" ,appstream-glib)
9151 ("geoclue" ,geoclue)
9152 ("gdk-pixbuf" ,gdk-pixbuf)
9153 ("gjs" ,gjs)
9154 ("gnome-desktop" ,gnome-desktop)
9155 ("libgweather" ,libgweather)))
9156 (arguments
9157 `(#:glib-or-gtk? #t
9158 #:phases
9159 (modify-phases %standard-phases
9160 (add-after 'install 'fix-desktop-file
9161 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9162 ;; See https://issues.guix.gnu.org/issue/39324.
9163 (lambda* (#:key outputs #:allow-other-keys)
9164 (let* ((out (assoc-ref outputs "out"))
9165 (applications (string-append out "/share/applications")))
9166 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9167 (("Exec=.*") "Exec=gnome-weather\n"))
9168 #t)))
9169 (add-after 'install 'wrap
9170 (lambda* (#:key inputs outputs #:allow-other-keys)
9171 (let ((out (assoc-ref outputs "out"))
9172 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9173 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9174 (wrap-program (string-append out "/bin/gnome-weather")
9175 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9176 #t))))))
9177 (synopsis "Weather monitoring for GNOME desktop")
9178 (description "GNOME Weather is a small application that allows you to
9179 monitor the current weather conditions for your city, or anywhere in the
9180 world.")
9181 (home-page "https://wiki.gnome.org/Apps/Weather")
9182 (license license:gpl2+)))
9183
9184 (define-public gnome
9185 (package
9186 (name "gnome")
9187 (version (package-version gnome-shell))
9188 (source #f)
9189 (build-system trivial-build-system)
9190 (arguments '(#:builder (begin (mkdir %output) #t)))
9191 (propagated-inputs
9192 ;; TODO: Add or remove packages according to:
9193 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9194 `(
9195 ;; GNOME-Core-OS-Services
9196 ("accountsservice" ,accountsservice)
9197 ("network-manager" ,network-manager)
9198 ("packagekit" ,packagekit)
9199 ("upower" ,upower)
9200 ;; GNOME-Core-Shell
9201 ("adwaita-icon-theme" ,adwaita-icon-theme)
9202 ("gdm" ,gdm)
9203 ("glib-networking" ,glib-networking)
9204 ("gnome-backgrounds" ,gnome-backgrounds)
9205 ("gnome-bluetooth" ,gnome-bluetooth)
9206 ("gnome-color-manager" ,gnome-color-manager)
9207 ("gnome-control-center" ,gnome-control-center)
9208 ("gnome-desktop" ,gnome-desktop)
9209 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9210 ("gnome-initial-setup" ,gnome-initial-setup)
9211 ("gnome-keyring" ,gnome-keyring)
9212 ("gnome-menus" ,gnome-menus)
9213 ("gnome-session" ,gnome-session)
9214 ("gnome-settings-daemon" ,gnome-settings-daemon)
9215 ("gnome-shell-extensions" ,gnome-shell-extensions)
9216 ("gnome-shell" ,gnome-shell)
9217 ("gnome-themes-extra" ,gnome-themes-extra)
9218 ("gnome-user-docs" ,gnome-user-docs)
9219 ("gnome-user-share" ,gnome-user-share)
9220 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9221 ("gvfs" ,gvfs)
9222 ("mutter" ,mutter)
9223 ("orca" ,orca)
9224 ("rygel" ,rygel)
9225 ("sushi" ,sushi)
9226 ;; GNOME-Core-Utilities
9227 ("baobab" ,baobab)
9228 ("cheese" ,cheese)
9229 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9230 ;; only works on x86_64, so exclude it on other architectures.
9231 ,@(if (string-prefix? "x86_64" (%current-system))
9232 `(("eog" ,eog))
9233 '())
9234 ("epiphany" ,epiphany)
9235 ("evince" ,evince)
9236 ("file-roller" ,file-roller)
9237 ("gedit" ,gedit)
9238 ("gnome-boxes" ,gnome-boxes)
9239 ("gnome-calculator" ,gnome-calculator)
9240 ("gnome-calendar" ,gnome-calendar)
9241 ("gnome-characters" ,gnome-characters)
9242 ("gnome-clocks" ,gnome-clocks)
9243 ("gnome-contacts" ,gnome-contacts)
9244 ("gnome-disk-utility" ,gnome-disk-utility)
9245 ("gnome-font-viewer" ,gnome-font-viewer)
9246 ("gnome-maps" ,gnome-maps)
9247 ; TODO: ("gnome-music" ,gnome-music)
9248 ; TODO: ("gnome-photos" ,gnome-photos)
9249 ("gnome-screenshot" ,gnome-screenshot)
9250 ("gnome-system-monitor" ,gnome-system-monitor)
9251 ("gnome-terminal" ,gnome-terminal)
9252 ("gnome-weather" ,gnome-weather)
9253 ("nautilus" ,nautilus)
9254 ("simple-scan" ,simple-scan)
9255 ("totem" ,totem)
9256 ("yelp" ,yelp)
9257 ;; Others
9258 ("hicolor-icon-theme" ,hicolor-icon-theme)
9259 ("gnome-online-accounts" ,gnome-online-accounts)
9260
9261 ;; Packages not part of GNOME proper but that are needed for a good
9262 ;; experience. See <https://bugs.gnu.org/39646>.
9263 ;; XXX: Find out exactly which ones are needed and why.
9264 ("font-cantarell" ,font-cantarell)
9265 ("font-dejavu" ,font-dejavu)
9266 ("at-spi2-core" ,at-spi2-core)
9267 ("dbus" ,dbus)
9268 ("dconf" ,dconf)
9269 ("desktop-file-utils" ,desktop-file-utils)
9270 ("gnome-default-applications" ,gnome-default-applications)
9271 ("gnome-themes-standard" ,gnome-themes-standard)
9272 ("gst-plugins-base" ,gst-plugins-base)
9273 ("gst-plugins-good" ,gst-plugins-good)
9274 ("gucharmap" ,gucharmap)
9275 ("pinentry-gnome3" ,pinentry-gnome3)
9276 ("pulseaudio" ,pulseaudio)
9277 ("shared-mime-info" ,shared-mime-info)
9278 ("system-config-printer" ,system-config-printer)
9279 ("xdg-user-dirs" ,xdg-user-dirs)
9280 ("yelp" ,yelp)
9281 ("zenity" ,zenity)))
9282 (synopsis "The GNU desktop environment")
9283 (home-page "https://www.gnome.org/")
9284 (description
9285 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9286 applications for browsing the web, editing text and images, creating
9287 documents and diagrams, playing media, scanning, and much more.")
9288 (license license:gpl2+)))
9289
9290 (define-public byzanz
9291 ;; The last stable release of Byzanz was in 2011, but there have been many
9292 ;; useful commits made to the Byzanz repository since then that it would be
9293 ;; silly to use such an old release.
9294 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9295 (package
9296 (name "byzanz")
9297 (version (string-append "0.2-1." (string-take commit 7)))
9298 (source (origin
9299 (method git-fetch)
9300 (uri (git-reference
9301 (url "https://git.gnome.org/browse/byzanz")
9302 (commit commit)))
9303 (file-name (string-append name "-" version "-checkout"))
9304 (sha256
9305 (base32
9306 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9307 (build-system glib-or-gtk-build-system)
9308 (arguments
9309 '(#:phases
9310 (modify-phases %standard-phases
9311 (add-before 'bootstrap 'build-without-Werror
9312 (lambda _
9313 ;; The build system cleverly detects that we're not building from
9314 ;; a release tarball and turns on -Werror for GCC.
9315 ;; Unsurprisingly, there is a warning during compilation that
9316 ;; causes the build to fail unnecessarily, so we remove the flag.
9317 (substitute* '("configure.ac")
9318 (("-Werror") ""))
9319 #t)))))
9320 (native-inputs
9321 `(("autoconf" ,autoconf)
9322 ("automake" ,automake)
9323 ("gnome-common" ,gnome-common)
9324 ("intltool" ,intltool)
9325 ("libtool" ,libtool)
9326 ("pkg-config" ,pkg-config)
9327 ("which" ,which)))
9328 (inputs
9329 `(("glib" ,glib)
9330 ("gstreamer" ,gstreamer)
9331 ("gst-plugins-base" ,gst-plugins-base)
9332 ("gtk+" ,gtk+)))
9333 (synopsis "Desktop recording program")
9334 (description "Byzanz is a simple desktop recording program with a
9335 command-line interface. It can record part or all of an X display for a
9336 specified duration and save it as a GIF encoded animated image file.")
9337 (home-page "https://git.gnome.org/browse/byzanz")
9338 (license license:gpl2+))))
9339
9340 (define-public authenticator
9341 (package
9342 (name "authenticator")
9343 (version "3.32.2")
9344 (source
9345 (origin
9346 (method git-fetch)
9347 (uri (git-reference
9348 (url "https://gitlab.gnome.org/World/Authenticator")
9349 (commit version)))
9350 (file-name (git-file-name name version))
9351 (sha256
9352 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9353 (build-system meson-build-system)
9354 (arguments
9355 `(#:glib-or-gtk? #t
9356 #:phases
9357 (modify-phases %standard-phases
9358 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9359 (lambda* (#:key inputs outputs #:allow-other-keys)
9360 (let ((prog (string-append (assoc-ref outputs "out")
9361 "/bin/authenticator"))
9362 (pylib (string-append (assoc-ref outputs "out")
9363 "/lib/python"
9364 ,(version-major+minor
9365 (package-version python))
9366 "/site-packages")))
9367 (wrap-program prog
9368 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9369 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9370 #t))))))
9371 (native-inputs
9372 `(("desktop-file-utils" ,desktop-file-utils)
9373 ("gettext" ,gettext-minimal)
9374 ("glib:bin" ,glib "bin")
9375 ("gobject-introspection" ,gobject-introspection)
9376 ("gtk+:bin" ,gtk+ "bin")
9377 ("pkg-config" ,pkg-config)))
9378 (inputs
9379 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9380 ("gtk+" ,gtk+)
9381 ("libhandy" ,libhandy-0.0)
9382 ("libsecret" ,libsecret)
9383 ("python-beautifulsoup4" ,python-beautifulsoup4)
9384 ("python-pillow" ,python-pillow)
9385 ("python-pyfavicon" ,python-pyfavicon)
9386 ("python-pygobject" ,python-pygobject)
9387 ("python-pyotp" ,python-pyotp)
9388 ("python-pyzbar" ,python-pyzbar)
9389 ("yoyo-migrations" ,yoyo-migrations)
9390 ("zbar" ,zbar)))
9391 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9392 (synopsis "Two-factor authentication application built for GNOME")
9393 (description
9394 "Authenticator is a two-factor authentication (2FA) application built for
9395 the GNOME desktop environment.
9396
9397 Features:
9398
9399 @itemize
9400 @item QR code scanner
9401 @item Beautiful UI
9402 @item Huge database of more than 560 supported services
9403 @item Keep your PIN tokens secure by locking the application with a password
9404 @item Automatically fetch an image for services using their favicon
9405 @item The possibility to add new services
9406 @end itemize")
9407 (license license:gpl3+)))
9408
9409 (define-public gsound
9410 (package
9411 (name "gsound")
9412 (version "1.0.2")
9413 (source (origin
9414 (method url-fetch)
9415 (uri (string-append "mirror://gnome/sources/" name "/"
9416 (version-major+minor version) "/"
9417 name "-" version ".tar.xz"))
9418 (sha256
9419 (base32
9420 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9421 (build-system glib-or-gtk-build-system)
9422 (native-inputs
9423 `(("pkg-config" ,pkg-config)
9424 ("gobject-introspection" ,gobject-introspection)
9425 ("vala" ,vala)))
9426 (inputs
9427 `(("glib" ,glib)
9428 ("libcanberra" ,libcanberra)))
9429 (home-page "https://wiki.gnome.org/Projects/GSound")
9430 (synopsis "GObject wrapper for libcanberra")
9431 (description
9432 "GSound is a small library for playing system sounds. It's designed to be
9433 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9434 library.")
9435 (license license:lgpl2.1+)))
9436
9437 (define-public libzapojit
9438 (package
9439 (name "libzapojit")
9440 (version "0.0.3")
9441 (source (origin
9442 (method url-fetch)
9443 (uri (string-append "mirror://gnome/sources/" name "/"
9444 (version-major+minor version) "/"
9445 name "-" version ".tar.xz"))
9446 (sha256
9447 (base32
9448 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9449 (build-system gnu-build-system)
9450 (native-inputs
9451 `(("gobject-introspection" ,gobject-introspection)
9452 ("intltool" ,intltool)
9453 ("pkg-config" ,pkg-config)))
9454 (inputs
9455 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9456 ("json-glib" ,json-glib)
9457 ("rest" ,rest)))
9458 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9459 (synopsis "Library for accessing SkyDrive and Hotmail")
9460 (description
9461 "Libzapojit is a GLib-based library for accessing online service APIs of
9462 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9463 (license license:lgpl2.1+)))
9464
9465 (define-public gnome-clocks
9466 (package
9467 (name "gnome-clocks")
9468 (version "3.34.0")
9469 (source (origin
9470 (method url-fetch)
9471 (uri (string-append "mirror://gnome/sources/" name "/"
9472 (version-major+minor version) "/"
9473 name "-" version ".tar.xz"))
9474 (sha256
9475 (base32
9476 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9477 (build-system meson-build-system)
9478 (arguments
9479 '(#:glib-or-gtk? #t
9480 #:phases
9481 (modify-phases %standard-phases
9482 (add-after 'unpack 'skip-gtk-update-icon-cache
9483 ;; Don't create 'icon-theme.cache'.
9484 (lambda _
9485 (substitute* "build-aux/post-install.py"
9486 (("gtk-update-icon-cache") "true"))
9487 #t)))))
9488 (native-inputs
9489 `(("vala" ,vala)
9490 ("pkg-config" ,pkg-config)
9491 ("glib" ,glib "bin") ; for glib-compile-resources
9492 ("desktop-file-utils" ,desktop-file-utils)
9493 ("gettext" ,gettext-minimal)
9494 ("itstool" ,itstool)))
9495 (inputs
9496 `(("glib" ,glib)
9497 ("gtk+" ,gtk+)
9498 ("gsound" ,gsound)
9499 ("geoclue" ,geoclue)
9500 ("geocode-glib" ,geocode-glib)
9501 ("libgweather" ,libgweather)
9502 ("gnome-desktop" ,gnome-desktop)))
9503 (home-page "https://wiki.gnome.org/Apps/Clocks")
9504 (synopsis "GNOME's clock application")
9505 (description
9506 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9507 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9508 (license license:gpl3+)))
9509
9510 (define-public gnome-calendar
9511 (package
9512 (name "gnome-calendar")
9513 (version "3.34.2")
9514 (source (origin
9515 (method url-fetch)
9516 (uri (string-append "mirror://gnome/sources/" name "/"
9517 (version-major+minor version) "/"
9518 name "-" version ".tar.xz"))
9519 (sha256
9520 (base32
9521 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9522 (build-system meson-build-system)
9523 (arguments
9524 '(#:glib-or-gtk? #t
9525 ;; gnome-calendar has to be installed before the tests can be run
9526 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9527 #:tests? #f
9528 #:phases
9529 (modify-phases %standard-phases
9530 (add-after 'unpack 'skip-gtk-update-icon-cache
9531 ;; Don't create 'icon-theme.cache'.
9532 (lambda _
9533 (substitute* "build-aux/meson/meson_post_install.py"
9534 (("gtk-update-icon-cache") "true"))
9535 #t)))))
9536 (native-inputs
9537 `(("gettext" ,gettext-minimal)
9538 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9539 ("pkg-config" ,pkg-config)))
9540 (inputs
9541 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9542 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9543 ("libdazzle" ,libdazzle)
9544 ("libedataserverui" ,evolution-data-server)
9545 ("libgweather" ,libgweather)
9546 ("geoclue" ,geoclue)))
9547 (propagated-inputs
9548 `(("evolution-data-server" ,evolution-data-server)))
9549 (home-page "https://wiki.gnome.org/Apps/Calendar")
9550 (synopsis "GNOME's calendar application")
9551 (description
9552 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9553 desktop. It supports multiple calendars, month, week and year view.")
9554 (license license:gpl3+)))
9555
9556 (define-public gnome-todo
9557 (package
9558 (name "gnome-todo")
9559 (version "3.28.1")
9560 (source (origin
9561 (method url-fetch)
9562 (uri (string-append "mirror://gnome/sources/" name "/"
9563 (version-major+minor version) "/"
9564 name "-" version ".tar.xz"))
9565 (sha256
9566 (base32
9567 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9568 (patches
9569 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9570 (build-system meson-build-system)
9571 (arguments
9572 '(#:glib-or-gtk? #t
9573 #:phases (modify-phases %standard-phases
9574 (add-after
9575 'install 'wrap-gnome-todo
9576 (lambda* (#:key inputs outputs #:allow-other-keys)
9577 (let ((out (assoc-ref outputs "out"))
9578 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9579 (python-path (getenv "PYTHONPATH")))
9580 (wrap-program (string-append out "/bin/gnome-todo")
9581 ;; XXX: gi plugins are broken.
9582 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9583 ;; For plugins.
9584 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9585 `("PYTHONPATH" ":" prefix (,python-path))))
9586 #t)))))
9587 (native-inputs
9588 `(("gettext" ,gettext-minimal)
9589 ("gobject-introspection" ,gobject-introspection)
9590 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9591 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9592 ("pkg-config" ,pkg-config)))
9593 (inputs
9594 `(("rest" ,rest) ; For Todoist plugin
9595 ("json-glib" ,json-glib) ; For Todoist plugin
9596 ("libedataserverui" ,evolution-data-server)
9597 ("libical" ,libical)
9598 ("libpeas" ,libpeas)
9599 ("python-pygobject" ,python-pygobject)
9600 ("evolution-data-server" ,evolution-data-server)
9601 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9602 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9603 (home-page "https://wiki.gnome.org/Apps/Todo")
9604 (synopsis "GNOME's ToDo Application")
9605 (description
9606 "GNOME To Do is a simplistic personal task manager designed to perfectly
9607 fit the GNOME desktop.")
9608 (license license:gpl3+)))
9609
9610 (define-public gnome-dictionary
9611 (package
9612 (name "gnome-dictionary")
9613 (version "3.26.1")
9614 (source (origin
9615 (method url-fetch)
9616 (uri (string-append "mirror://gnome/sources/" name "/"
9617 (version-major+minor version) "/"
9618 name "-" version ".tar.xz"))
9619 (sha256
9620 (base32
9621 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9622 (build-system meson-build-system)
9623 (arguments '(#:glib-or-gtk? #t
9624 #:phases (modify-phases %standard-phases
9625 (add-after 'unpack 'patch-install-script
9626 (lambda _
9627 ;; This script attempts to compile glib schemas
9628 ;; and create an empty MIME database. We do
9629 ;; that elsewhere, so prevent it from running.
9630 (substitute* "build-aux/post-install.sh"
9631 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9632 #t)))))
9633 (native-inputs
9634 `(("glib:bin" ,glib "bin")
9635 ("gobject-introspection" ,gobject-introspection)
9636 ("intltool" ,intltool)
9637 ("itstool" ,itstool)
9638 ("pkg-config" ,pkg-config)
9639 ("xmllint" ,libxml2)))
9640 (inputs
9641 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9642 ("gtk+" ,gtk+)))
9643 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9644 (synopsis "Look up words in dictionary sources")
9645 (description
9646 "GNOME Dictionary can look for the definition or translation of a word in
9647 existing databases over the internet.")
9648 (license license:gpl3+)))
9649
9650 (define-public gnome-tweaks
9651 (package
9652 (name "gnome-tweaks")
9653 (version "3.34.1")
9654 (source (origin
9655 (method url-fetch)
9656 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9657 (version-major+minor version) "/"
9658 "gnome-tweaks-" version ".tar.xz"))
9659 (patches
9660 (list (search-patch "gnome-tweaks-search-paths.patch")))
9661 (sha256
9662 (base32
9663 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9664 (build-system meson-build-system)
9665 (arguments
9666 `(#:glib-or-gtk? #t
9667 #:configure-flags '("-Dlocalstatedir=/tmp"
9668 "-Dsysconfdir=/tmp")
9669 #:imported-modules ((guix build python-build-system)
9670 ,@%meson-build-system-modules)
9671 #:phases
9672 (modify-phases %standard-phases
9673 (add-after 'unpack 'skip-gtk-update-icon-cache
9674 ;; Don't create 'icon-theme.cache'.
9675 (lambda _
9676 (substitute* "meson-postinstall.py"
9677 (("gtk-update-icon-cache") "true"))
9678 #t))
9679 (add-after 'install 'wrap
9680 (@@ (guix build python-build-system) wrap))
9681 (add-after 'wrap 'wrap-gi-typelib
9682 (lambda* (#:key inputs outputs #:allow-other-keys)
9683 (let ((out (assoc-ref outputs "out"))
9684 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9685 (wrap-program (string-append out "/bin/gnome-tweaks")
9686 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9687 #t)))))
9688 (native-inputs
9689 `(("intltool" ,intltool)
9690 ("pkg-config" ,pkg-config)))
9691 (inputs
9692 `(("gnome-desktop" ,gnome-desktop)
9693 ("gtk+" ,gtk+)
9694 ("gobject-introspection" ,gobject-introspection)
9695 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9696 ("libhandy" ,libhandy-0.0)
9697 ("libnotify" ,libnotify)
9698 ("libsoup" ,libsoup)
9699 ("nautilus" ,nautilus)
9700 ("python" ,python)
9701 ("python-pygobject" ,python-pygobject)))
9702 (synopsis "Customize advanced GNOME 3 options")
9703 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9704 (description
9705 "GNOME Tweaks allows adjusting advanced configuration settings in
9706 GNOME 3. This includes things like the fonts used in user interface elements,
9707 alternative user interface themes, changes in window management behavior,
9708 GNOME Shell appearance and extension, etc.")
9709 (license license:gpl3+)))
9710
9711 (define-public gnome-shell-extensions
9712 (package
9713 (name "gnome-shell-extensions")
9714 (version "3.34.2")
9715 (source (origin
9716 (method url-fetch)
9717 (uri (string-append "mirror://gnome/sources/" name "/"
9718 (version-major+minor version) "/"
9719 name "-" version ".tar.xz"))
9720 (sha256
9721 (base32
9722 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9723 (build-system meson-build-system)
9724 (arguments
9725 '(#:configure-flags '("-Dextension_set=all")))
9726 (native-inputs
9727 `(("glib:bin" ,glib "bin")
9728 ("intltool" ,intltool)
9729 ("pkg-config" ,pkg-config)))
9730 (propagated-inputs
9731 `(("glib" ,glib)))
9732 (synopsis "Extensions for GNOME Shell")
9733 (description "GNOME Shell extensions modify and extend GNOME Shell
9734 functionality and behavior.")
9735 (home-page "https://extensions.gnome.org/")
9736 (license license:gpl3+)))
9737
9738 (define-public folks
9739 (package
9740 (name "folks")
9741 (version "0.13.1")
9742 (source (origin
9743 (method url-fetch)
9744 (uri (string-append
9745 "mirror://gnome/sources/folks/"
9746 (version-major+minor version) "/"
9747 "folks-" version ".tar.xz"))
9748 (sha256
9749 (base32
9750 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9751 (build-system meson-build-system)
9752 (arguments
9753 '(#:phases
9754 (modify-phases %standard-phases
9755 (add-after 'unpack 'skip-gtk-update-icon-cache
9756 ;; Don't create 'icon-theme.cache'.
9757 (lambda _
9758 (substitute* "meson_post_install.py"
9759 (("gtk-update-icon-cache") "true"))
9760 #t)))))
9761 (inputs
9762 `(("bdb" ,bdb)
9763 ("dbus-glib" ,dbus-glib)
9764 ("evolution-data-server" ,evolution-data-server)
9765 ("glib" ,glib)
9766 ("libgee" ,libgee)
9767 ("readline" ,readline)
9768 ("telepathy-glib" ,telepathy-glib)))
9769 (native-inputs
9770 `(("glib:bin" ,glib "bin")
9771 ("gobject-introspection" ,gobject-introspection)
9772 ("intltool" ,intltool)
9773 ("pkg-config" ,pkg-config)
9774 ("vala" ,vala)))
9775 (synopsis "Library to aggregate data about people")
9776 (description "Libfolks is a library that aggregates information about people
9777 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9778 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9779 etc.) to create metacontacts. It's written in Vala, which generates C code when
9780 compiled.")
9781 (home-page "https://wiki.gnome.org/Projects/Folks")
9782 (license license:lgpl2.1+)))
9783
9784 (define-public gfbgraph
9785 (package
9786 (name "gfbgraph")
9787 (version "0.2.4")
9788 (source (origin
9789 (method url-fetch)
9790 (uri (string-append
9791 "mirror://gnome/sources/gfbgraph/"
9792 (version-major+minor version) "/"
9793 "gfbgraph-" version ".tar.xz"))
9794 (sha256
9795 (base32
9796 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9797 (build-system glib-or-gtk-build-system)
9798 (arguments
9799 `(#:tests? #f ; tests appear to require the network
9800 #:configure-flags '("--disable-static"
9801 "--enable-gtk-doc"
9802 "--enable-introspection")))
9803 (native-inputs
9804 `(("gobject-introspection" ,gobject-introspection)
9805 ("gtk-doc" ,gtk-doc/stable)
9806 ("pkg-config" ,pkg-config)
9807
9808 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9809 ("autoconf" ,autoconf)
9810 ("automake" ,automake)
9811 ("libtool" ,libtool)
9812 ("which" ,which)))
9813 (inputs
9814 `(("json-glib" ,json-glib)
9815 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9816 ("rest" ,rest)))
9817 (synopsis "GLib/GObject wrapper for the Facebook API")
9818 (description "This library allows you to use the Facebook API from
9819 GLib/GObject code.")
9820 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9821 (license license:lgpl2.1+)))
9822
9823 (define-public libgnomekbd
9824 (package
9825 (name "libgnomekbd")
9826 (version "3.26.1")
9827 (source (origin
9828 (method url-fetch)
9829 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9830 (version-major+minor version) "/"
9831 "libgnomekbd-" version ".tar.xz"))
9832 (sha256
9833 (base32
9834 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9835 (build-system gnu-build-system)
9836 (native-inputs
9837 `(("pkg-config" ,pkg-config)
9838 ("glib" ,glib "bin")
9839 ("intltool" ,intltool)))
9840 (propagated-inputs
9841 ;; Referred to in .h files and .pc.
9842 `(("glib" ,glib)
9843 ("gtk+" ,gtk+)
9844 ("libxklavier" ,libxklavier)))
9845 (home-page "https://www.gnome.org")
9846 (synopsis "GNOME keyboard configuration library")
9847 (description
9848 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9849 environment, which can notably display keyboard layouts.")
9850 (license license:lgpl2.0+)))
9851
9852 ;;; This package is no longer maintained:
9853 ;;; https://wiki.gnome.org/Attic/LibUnique
9854 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9855 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9856 (define-public libunique
9857 (package
9858 (name "libunique")
9859 (version "3.0.2")
9860 (source (origin
9861 (method url-fetch)
9862 (uri (string-append "mirror://gnome/sources/" name "/"
9863 (version-major+minor version) "/"
9864 name "-" version ".tar.xz"))
9865 (sha256
9866 (base32
9867 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9868 (build-system glib-or-gtk-build-system)
9869 (arguments
9870 `(#:configure-flags '("--disable-static"
9871 "--disable-dbus" ; use gdbus
9872 "--enable-introspection")))
9873 (native-inputs
9874 `(("pkg-config" ,pkg-config)
9875 ("gobject-introspection" ,gobject-introspection)
9876 ("glib:bin" ,glib "bin")
9877 ("gtk-doc" ,gtk-doc/stable)))
9878 (propagated-inputs
9879 ;; Referred to in .h files and .pc.
9880 `(("gtk+" ,gtk+)))
9881 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9882 (synopsis "Library for writing single instance applications")
9883 (description
9884 "Libunique is a library for writing single instance applications. If you
9885 launch a single instance application twice, the second instance will either just
9886 quit or will send a message to the running instance. Libunique makes it easy to
9887 write this kind of application, by providing a base class, taking care of all
9888 the IPC machinery needed to send messages to a running instance, and also
9889 handling the startup notification side.")
9890 (license license:lgpl2.1+)))
9891
9892 (define-public gnome-calculator
9893 (package
9894 (name "gnome-calculator")
9895 (version "3.34.1")
9896 (source
9897 (origin
9898 (method url-fetch)
9899 (uri (string-append "mirror://gnome/sources/" name "/"
9900 (version-major+minor version) "/"
9901 name "-" version ".tar.xz"))
9902 (sha256
9903 (base32
9904 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9905 (build-system meson-build-system)
9906 (arguments '(#:glib-or-gtk? #t))
9907 (native-inputs
9908 `(("gettext" ,gettext-minimal)
9909 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9910 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9911 ("itstool" ,itstool)
9912 ("vala" ,vala)
9913 ("pkg-config" ,pkg-config)))
9914 (inputs
9915 `(("glib" ,glib)
9916 ("gtksourceview" ,gtksourceview)
9917 ("libgee" ,libgee)
9918 ("libsoup" ,libsoup)
9919 ("libxml2" ,libxml2)
9920 ("mpc" ,mpc)
9921 ("mpfr" ,mpfr)))
9922 (home-page "https://wiki.gnome.org/Apps/Calculator")
9923 (synopsis "Desktop calculator")
9924 (description
9925 "Calculator is an application that solves mathematical equations and
9926 is suitable as a default application in a Desktop environment.")
9927 (license license:gpl3)))
9928
9929 (define-public xpad
9930 (package
9931 (name "xpad")
9932 (version "5.1.0")
9933 (source
9934 (origin
9935 (method url-fetch)
9936 (uri (string-append "https://launchpad.net/xpad/trunk/"
9937 version "/+download/"
9938 name "-" version ".tar.bz2"))
9939 (sha256
9940 (base32
9941 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9942 (build-system gnu-build-system)
9943 (native-inputs
9944 `(("autoconf" ,autoconf)
9945 ("automake" ,automake)
9946 ("gtk+:bin" ,gtk+ "bin")
9947 ("intltool" ,intltool)
9948 ("pkg-config" ,pkg-config)))
9949 (inputs
9950 `(("gtksourceview" ,gtksourceview-3)
9951 ("libsm" ,libsm)))
9952 (home-page "https://wiki.gnome.org/Apps/Xpad")
9953 (synopsis "Virtual sticky note")
9954 (description
9955 "Xpad is a sticky note that strives to be simple, fault tolerant,
9956 and customizable. Xpad consists of independent pad windows, each is
9957 basically a text box in which notes can be written.")
9958 (license license:gpl3+)))
9959
9960 (define-public gucharmap
9961 (let ((unicode-files
9962 '(("Blocks.txt"
9963 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9964 ("DerivedAge.txt"
9965 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9966 ("NamesList.txt"
9967 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9968 ("Scripts.txt"
9969 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9970 ("UnicodeData.txt"
9971 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9972 ("Unihan.zip"
9973 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9974 (package
9975 (name "gucharmap")
9976 (version "12.0.1")
9977 (source
9978 (origin
9979 (method url-fetch)
9980 (uri (string-append "mirror://gnome/sources/" name "/"
9981 (version-major+minor version) "/"
9982 name "-" version ".tar.xz"))
9983 (sha256
9984 (base32
9985 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9986 (build-system glib-or-gtk-build-system)
9987 (arguments
9988 `(#:modules ((ice-9 match)
9989 (guix build glib-or-gtk-build-system)
9990 (guix build utils))
9991 #:configure-flags
9992 (list "--with-unicode-data=../unicode-data")
9993 #:phases
9994 (modify-phases %standard-phases
9995 (add-after 'unpack 'prepare-unicode-data
9996 (lambda* (#:key inputs #:allow-other-keys)
9997 (mkdir-p "../unicode-data")
9998 (with-directory-excursion "../unicode-data"
9999 (for-each (match-lambda
10000 ((file _)
10001 (install-file (assoc-ref inputs file) ".")))
10002 ',unicode-files))
10003 #t)))))
10004 (native-inputs
10005 `(("desktop-file-utils" ,desktop-file-utils)
10006 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10007 ("gobject-introspection" ,gobject-introspection)
10008 ("intltool" ,intltool)
10009 ("itstool" ,itstool)
10010 ("pkg-config" ,pkg-config)
10011 ,@(map (match-lambda
10012 ((file hash)
10013 `(,file
10014 ,(origin
10015 (method url-fetch)
10016 (uri (string-append
10017 "http://www.unicode.org/Public/12.0.0/ucd/"
10018 file))
10019 (sha256 (base32 hash))))))
10020 unicode-files)
10021 ("unzip" ,unzip)))
10022 (inputs
10023 `(("gtk+" ,gtk+)
10024 ("xmllint" ,libxml2)))
10025 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10026 (synopsis "Unicode character picker and font browser")
10027 (description
10028 "This program allows you to browse through all the available Unicode
10029 characters and categories for the installed fonts, and to examine their
10030 detailed properties. It is an easy way to find the character you might
10031 only know by its Unicode name or code point.")
10032 (license license:gpl3+))))
10033
10034 (define-public bluefish
10035 (package
10036 (name "bluefish")
10037 (version "2.2.12")
10038 (source
10039 (origin
10040 (method url-fetch)
10041 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10042 "bluefish-" version ".tar.gz"))
10043 (sha256
10044 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10045 (build-system gnu-build-system)
10046 (native-inputs
10047 `(("desktop-file-utils" ,desktop-file-utils)
10048 ("intltool" ,intltool)
10049 ("pkg-config" ,pkg-config)))
10050 (inputs
10051 `(("enchant" ,enchant)
10052 ("gtk+" ,gtk+)
10053 ("python" ,python-wrapper)
10054 ("xmllint" ,libxml2)
10055 ("gucharmap" ,gucharmap)))
10056 (home-page "http://bluefish.openoffice.nl")
10057 (synopsis "Web development studio")
10058 (description
10059 "Bluefish is an editor aimed at programmers and web developers,
10060 with many options to write web sites, scripts and other code.
10061 Bluefish supports many programming and markup languages.")
10062 (license license:gpl3+)))
10063
10064 (define-public gnome-system-monitor
10065 (package
10066 (name "gnome-system-monitor")
10067 (version "3.32.1")
10068 (source
10069 (origin
10070 (method url-fetch)
10071 (uri (string-append "mirror://gnome/sources/" name "/"
10072 (version-major+minor version) "/"
10073 name "-" version ".tar.xz"))
10074 (sha256
10075 (base32
10076 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10077 (build-system meson-build-system)
10078 (arguments
10079 '(#:glib-or-gtk? #t
10080 #:configure-flags '("-Dsystemd=false")))
10081 (native-inputs
10082 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10083 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10084 ("intltool" ,intltool)
10085 ("itstool" ,itstool)
10086 ("libgtop" ,libgtop)
10087 ("polkit" ,polkit)
10088 ("pkg-config" ,pkg-config)))
10089 (inputs
10090 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10091 ("gtk+" ,gtk+)
10092 ("gtkmm" ,gtkmm)
10093 ("librsvg" ,librsvg)
10094 ("libxml2" ,libxml2)
10095 ("libwnck" ,libwnck)))
10096 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10097 (synopsis "Process viewer and system resource monitor for GNOME")
10098 (description
10099 "GNOME System Monitor is a GNOME process viewer and system monitor with
10100 an attractive, easy-to-use interface. It has features, such as a tree view
10101 for process dependencies, icons for processes, the ability to hide processes,
10102 graphical time histories of CPU/memory/swap usage and the ability to
10103 kill/reinice processes.")
10104 (license license:gpl2+)))
10105
10106 (define-public python-pyatspi
10107 (package
10108 (name "python-pyatspi")
10109 (version "2.34.0")
10110 (source (origin
10111 (method url-fetch)
10112 (uri (string-append
10113 "mirror://gnome/sources/pyatspi/"
10114 (version-major+minor version)
10115 "/pyatspi-" version ".tar.xz"))
10116 (sha256
10117 (base32
10118 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10119 (build-system gnu-build-system)
10120 (arguments
10121 `(#:phases
10122 (modify-phases %standard-phases
10123 (add-before 'build 'fix-atk-load
10124 (lambda _
10125 (substitute* "pyatspi/__init__.py"
10126 (("from gi.repository import Atspi")
10127 "gi.require_version('Gtk', '3.0')
10128 from gi.repository import Gtk
10129 from gi.repository import Atspi"))
10130 #t)))))
10131 (native-inputs
10132 `(("pkg-config" ,pkg-config)))
10133 (inputs
10134 `(("python" ,python)))
10135 (propagated-inputs
10136 `(("python-pygobject" ,python-pygobject)))
10137 (synopsis "Python client bindings for D-Bus AT-SPI")
10138 (home-page "https://wiki.linuxfoundation.org/accessibility\
10139 /atk/at-spi/at-spi_on_d-bus")
10140 (description
10141 "This package includes a python client library for the AT-SPI D-Bus
10142 accessibility infrastructure.")
10143 (license license:lgpl2.0)
10144 (properties '((upstream-name . "pyatspi")))))
10145
10146 (define-public python2-pyatspi
10147 (package/inherit python-pyatspi
10148 (name "python2-pyatspi")
10149 (inputs
10150 `(("python" ,python-2)))
10151 (propagated-inputs
10152 `(("python-pygobject" ,python2-pygobject)))))
10153
10154 (define-public orca
10155 (package
10156 (name "orca")
10157 (version "3.34.1")
10158 (source (origin
10159 (method url-fetch)
10160 (uri (string-append
10161 "mirror://gnome/sources/" name "/"
10162 (version-major+minor version) "/"
10163 name "-" version ".tar.xz"))
10164 (sha256
10165 (base32
10166 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10167 (build-system glib-or-gtk-build-system)
10168 (arguments
10169 '(#:phases
10170 (modify-phases %standard-phases
10171 (add-before 'configure 'qualify-xkbcomp
10172 (lambda* (#:key inputs #:allow-other-keys)
10173 (let ((xkbcomp (string-append
10174 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10175 (substitute* "src/orca/orca.py"
10176 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10177 #t))
10178 (add-after 'install 'wrap-orca
10179 (lambda* (#:key outputs #:allow-other-keys)
10180 (let* ((out (assoc-ref outputs "out"))
10181 (prog (string-append out "/bin/orca")))
10182 (wrap-program prog
10183 `("GI_TYPELIB_PATH" ":" prefix
10184 (,(getenv "GI_TYPELIB_PATH")))
10185 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10186 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10187 `("PYTHONPATH" ":" prefix
10188 (,(getenv "PYTHONPATH")))))
10189 #t)))))
10190 (native-inputs
10191 `(("intltool" ,intltool)
10192 ("itstool" ,itstool)
10193 ("pkg-config" ,pkg-config)
10194 ("xmllint" ,libxml2)))
10195 (inputs
10196 `(("at-spi2-atk" ,at-spi2-atk)
10197 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10198 ("gstreamer" ,gstreamer)
10199 ("gst-plugins-base" ,gst-plugins-base)
10200 ("gst-plugins-good" ,gst-plugins-good)
10201 ("gtk+" ,gtk+)
10202 ("python" ,python)
10203 ("python-pygobject" ,python-pygobject)
10204 ("python-pyatspi" ,python-pyatspi)
10205 ("python-speechd" ,speech-dispatcher)
10206 ("xkbcomp" ,xkbcomp)))
10207 (synopsis
10208 "Screen reader for individuals who are blind or visually impaired")
10209 (home-page "https://wiki.gnome.org/Projects/Orca")
10210 (description
10211 "Orca is a screen reader that provides access to the graphical desktop
10212 via speech and refreshable braille. Orca works with applications and toolkits
10213 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10214 (license license:lgpl2.1+)))
10215
10216 (define-public gspell
10217 (package
10218 (name "gspell")
10219 (version "1.8.2")
10220 (source (origin
10221 (method url-fetch)
10222 (uri (string-append "mirror://gnome/sources/" name "/"
10223 (version-major+minor version) "/"
10224 name "-" version ".tar.xz"))
10225 (sha256
10226 (base32
10227 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10228 (patches (search-patches "gspell-dash-test.patch"))))
10229 (build-system glib-or-gtk-build-system)
10230 (arguments
10231 '(#:configure-flags (list "--enable-vala")
10232 #:phases
10233 (modify-phases %standard-phases
10234 (add-before 'check 'pre-check
10235 (lambda* (#:key inputs #:allow-other-keys)
10236 ;; Tests require a running X server.
10237 (system "Xvfb :1 &")
10238 (setenv "DISPLAY" ":1")
10239
10240 ;; For the missing /etc/machine-id.
10241 (setenv "DBUS_FATAL_WARNINGS" "0")
10242
10243 ;; Allow Enchant and its Aspell backend to find the en_US
10244 ;; dictionary.
10245 (setenv "ASPELL_DICT_DIR"
10246 (string-append (assoc-ref inputs "aspell-dict-en")
10247 "/lib/aspell"))
10248 #t)))))
10249 (inputs
10250 `(("gtk+" ,gtk+)
10251 ("glib" ,glib)
10252 ("iso-codes" ,iso-codes)))
10253 (native-inputs
10254 `(("glib" ,glib "bin")
10255 ("gobject-introspection" ,gobject-introspection)
10256 ("pkg-config" ,pkg-config)
10257 ("vala" ,vala) ;for VAPI, needed by Geary
10258 ("xmllint" ,libxml2)
10259
10260 ;; For tests.
10261 ("aspell-dict-en" ,aspell-dict-en)
10262 ("xorg-server" ,xorg-server-for-tests)))
10263 (propagated-inputs
10264 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10265 (home-page "https://wiki.gnome.org/Projects/gspell")
10266 (synopsis "GNOME's alternative spell checker")
10267 (description
10268 "gspell provides a flexible API to add spell-checking to a GTK+
10269 application. It provides a GObject API, spell-checking to text entries and
10270 text views, and buttons to choose the language.")
10271 (license license:gpl2+)))
10272
10273 (define-public gnome-planner
10274 (package
10275 (name "gnome-planner")
10276 (version "0.14.6")
10277 (source (origin
10278 (method url-fetch)
10279 (uri (string-append "mirror://gnome/sources/planner/"
10280 (version-major+minor version) "/planner-"
10281 version ".tar.xz"))
10282 (sha256
10283 (base32
10284 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10285 (build-system glib-or-gtk-build-system)
10286 (arguments
10287 ;; Disable the Python bindings because the Planner program functions
10288 ;; without them, and (as of 2017-06-13) we have not packaged all of
10289 ;; packages that are necessary for building the Python bindings.
10290 `(#:configure-flags
10291 (list "--disable-python"
10292 ,@(if (string=? "aarch64-linux" (%current-system))
10293 '("--build=aarch64-unknown-linux-gnu")
10294 '()))))
10295 (inputs
10296 `(("libgnomecanvas" ,libgnomecanvas)
10297 ("libgnomeui" ,libgnomeui)
10298 ("libglade" ,libglade)
10299 ("gnome-vfs" ,gnome-vfs)
10300 ("gconf" ,gconf)
10301 ("libxml2" ,libxml2)
10302 ("libxslt" ,libxslt)
10303 ("gtk+" ,gtk+)
10304 ("glib" ,glib)))
10305 (native-inputs
10306 `(("intltool" ,intltool)
10307 ("scrollkeeper" ,scrollkeeper)
10308 ("pkg-config" ,pkg-config)))
10309 (home-page "https://wiki.gnome.org/Apps/Planner")
10310 (synopsis "Project management software for the GNOME desktop")
10311 (description
10312 "GNOME Planner is a project management tool based on the Work Breakdown
10313 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10314 the resources, tasks, and constraints that you define, Planner generates
10315 various views into a project. For example, Planner can show a Gantt chart of
10316 the project. It can show a detailed summary of tasks including their
10317 duration, cost, and current progress. It can also show a report of resource
10318 utilization that highlights under-utilized and over-utilized resources. These
10319 views can be printed as PDF or PostScript files, or exported to HTML.")
10320 (license license:gpl2+)))
10321
10322 (define-public lollypop
10323 (package
10324 (name "lollypop")
10325 (version "1.4.6")
10326 (source
10327 (origin
10328 (method url-fetch)
10329 (uri (string-append "https://adishatz.org/lollypop/"
10330 "lollypop-" version ".tar.xz"))
10331 (sha256
10332 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10333 (build-system meson-build-system)
10334 (arguments
10335 `(#:imported-modules
10336 (,@%meson-build-system-modules
10337 (guix build python-build-system))
10338 #:modules
10339 ((guix build meson-build-system)
10340 ((guix build python-build-system) #:prefix python:)
10341 (guix build utils))
10342 #:glib-or-gtk? #t
10343 #:tests? #f ; no test suite
10344 #:phases
10345 (modify-phases %standard-phases
10346 (add-after 'install 'wrap-program
10347 (lambda* (#:key outputs #:allow-other-keys)
10348 (let ((out (assoc-ref outputs "out"))
10349 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10350 (wrap-program (string-append out "/bin/lollypop")
10351 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10352 #t))
10353 (add-after 'install 'wrap-python
10354 (assoc-ref python:%standard-phases 'wrap)))))
10355 (native-inputs
10356 `(("intltool" ,intltool)
10357 ("itstool" ,itstool)
10358 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10359 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10360 ("pkg-config" ,pkg-config)))
10361 (inputs
10362 `(("glib-networking" ,glib-networking)
10363 ("gobject-introspection" ,gobject-introspection)
10364 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10365 ("gst-plugins-base" ,gst-plugins-base)
10366 ("libnotify" ,libnotify)
10367 ("libsecret" ,libsecret)
10368 ("libhandy" ,libhandy)
10369 ("libsoup" ,libsoup)
10370 ("python" ,python)
10371 ("python-beautifulsoup4" ,python-beautifulsoup4)
10372 ("python-gst" ,python-gst)
10373 ("python-pil" ,python-pillow)
10374 ("python-pycairo" ,python-pycairo)
10375 ("python-pygobject" ,python-pygobject)
10376 ("python-pylast" ,python-pylast)
10377 ("totem-pl-parser" ,totem-pl-parser)
10378 ("webkitgtk" ,webkitgtk)))
10379 (propagated-inputs
10380 `(;; gst-plugins-base is required to start Lollypop,
10381 ;; the others are required to play streaming.
10382 ("gst-plugins-good" ,gst-plugins-good)
10383 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10384 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10385 (synopsis "GNOME music playing application")
10386 (description
10387 "Lollypop is a music player designed to play well with GNOME desktop.
10388 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10389 from artists and tracks from the web. It also fetches cover artworks
10390 automatically and it can stream songs from online music services and charts.")
10391 (license license:gpl3+)))
10392
10393 (define-public gnome-video-effects
10394 (package
10395 (name "gnome-video-effects")
10396 (version "0.5.0")
10397 (source (origin
10398 (method url-fetch)
10399 (uri (string-append "mirror://gnome/sources/" name "/"
10400 (version-major+minor version) "/" name "-"
10401 version ".tar.xz"))
10402 (sha256
10403 (base32
10404 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10405 (build-system meson-build-system)
10406 (native-inputs
10407 `(("gettext" ,gettext-minimal)
10408 ("pkg-config" ,pkg-config)))
10409 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10410 (synopsis "Video effects for Cheese and other GNOME applications")
10411 (description
10412 "A collection of GStreamer video filters and effects to be used in
10413 photo-booth-like software, such as Cheese.")
10414 (license license:gpl2+)))
10415
10416 (define-public cheese
10417 (package
10418 (name "cheese")
10419 (version "3.38.0")
10420 (source (origin
10421 (method url-fetch)
10422 (uri (string-append "mirror://gnome/sources/" name "/"
10423 (version-major+minor version) "/" name "-"
10424 version ".tar.xz"))
10425 (sha256
10426 (base32
10427 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10428 (arguments
10429 `(#:glib-or-gtk? #t
10430 ;; Tests require GDK.
10431 #:tests? #f
10432 #:phases
10433 (modify-phases %standard-phases
10434 (add-after 'unpack 'skip-gtk-update-icon-cache
10435 (lambda _
10436 ;; Don't create 'icon-theme.cache'
10437 (substitute* "meson_post_install.py"
10438 (("gtk-update-icon-cache") (which "true")))
10439 #t))
10440 (add-after 'unpack 'patch-docbook-xml
10441 (lambda* (#:key inputs #:allow-other-keys)
10442 ;; Avoid a network connection attempt during the build.
10443 (substitute* '("docs/reference/cheese.xml"
10444 "docs/reference/cheese-docs.xml")
10445 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10446 (string-append (assoc-ref inputs "docbook-xml")
10447 "/xml/dtd/docbook/docbookx.dtd")))
10448 #t))
10449 (add-after 'install 'wrap-cheese
10450 (lambda* (#:key inputs outputs #:allow-other-keys)
10451 (let ((out (assoc-ref outputs "out"))
10452 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10453 (wrap-program (string-append out "/bin/cheese")
10454 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10455 #t)))))
10456 (build-system meson-build-system)
10457 (native-inputs
10458 `(("docbook-xsl" ,docbook-xsl)
10459 ("docbook-xml" ,docbook-xml-4.3)
10460 ("gettext" ,gettext-minimal)
10461 ("glib:bin" ,glib "bin")
10462 ("gtk-doc" ,gtk-doc/stable)
10463 ("itstool" ,itstool)
10464 ("libxml2" ,libxml2)
10465 ("libxslt" ,libxslt)
10466 ("pkg-config" ,pkg-config)
10467 ("vala" ,vala)))
10468 (propagated-inputs
10469 `(("gnome-video-effects" ,gnome-video-effects)
10470 ("clutter" ,clutter)
10471 ("clutter-gst" ,clutter-gst)
10472 ("clutter-gtk" ,clutter-gtk)
10473 ("libcanberra" ,libcanberra)
10474 ("gdk-pixbuf" ,gdk-pixbuf)
10475 ("glib" ,glib)
10476 ("gstreamer" ,gstreamer)))
10477 (inputs
10478 `(("gnome-desktop" ,gnome-desktop)
10479 ("gobject-introspection" ,gobject-introspection)
10480 ("gst-plugins-base" ,gst-plugins-base)
10481 ("gst-plugins-good" ,gst-plugins-good)
10482 ("gst-plugins-bad" ,gst-plugins-bad)
10483 ("gtk+" ,gtk+)
10484 ("libx11" ,libx11)
10485 ("libxtst" ,libxtst)))
10486 (home-page "https://wiki.gnome.org/Apps/Cheese")
10487 (synopsis "Webcam photo booth software for GNOME")
10488 (description
10489 "Cheese uses your webcam to take photos and videos. Cheese can also
10490 apply fancy special effects and lets you share the fun with others.")
10491 (license license:gpl2+)))
10492
10493 (define-public passwordsafe
10494 (package
10495 (name "passwordsafe")
10496 (version "5.0")
10497 (source
10498 (origin
10499 (method git-fetch)
10500 (uri (git-reference
10501 (url "https://gitlab.gnome.org/World/PasswordSafe")
10502 (commit version)))
10503 (file-name (git-file-name name version))
10504 (sha256
10505 (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
10506 (build-system meson-build-system)
10507 (arguments
10508 `(#:glib-or-gtk? #t
10509 #:phases
10510 (modify-phases %standard-phases
10511 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10512 (lambda* (#:key outputs #:allow-other-keys)
10513 (let ((prog (string-append (assoc-ref outputs "out")
10514 "/bin/gnome-passwordsafe"))
10515 (pylib (string-append (assoc-ref outputs "out")
10516 "/lib/python"
10517 ,(version-major+minor
10518 (package-version python))
10519 "/site-packages")))
10520 (wrap-program prog
10521 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10522 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10523 #t))))))
10524 (native-inputs
10525 `(("desktop-file-utils" ,desktop-file-utils)
10526 ("gettext" ,gettext-minimal)
10527 ("glib:bin" ,glib "bin")
10528 ("gobject-introspection" ,gobject-introspection)
10529 ("gtk+:bin" ,gtk+ "bin")
10530 ("pkg-config" ,pkg-config)))
10531 (inputs
10532 `(("glib" ,glib)
10533 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10534 ("gtk+" ,gtk+)
10535 ("libhandy" ,libhandy)
10536 ("libpwquality" ,libpwquality)
10537 ("python-pygobject" ,python-pygobject)
10538 ("python-pykeepass" ,python-pykeepass)))
10539 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10540 (synopsis "Password manager for the GNOME desktop")
10541 (description
10542 "Password Safe is a password manager which makes use of the KeePass v4
10543 format. It integrates perfectly with the GNOME desktop and provides an easy
10544 and uncluttered interface for the management of password databases.")
10545 (license license:gpl3+)))
10546
10547 (define-public sound-juicer
10548 (package
10549 (name "sound-juicer")
10550 (version "3.24.0")
10551 (source
10552 (origin
10553 (method url-fetch)
10554 (uri (string-append "mirror://gnome/sources/" name "/"
10555 (version-major+minor version) "/"
10556 name "-" version ".tar.xz"))
10557 (sha256
10558 (base32
10559 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10560 (build-system glib-or-gtk-build-system)
10561 (native-inputs
10562 `(("desktop-file-utils" ,desktop-file-utils)
10563 ("intltool" ,intltool)
10564 ("itstool" ,itstool)
10565 ("pkg-config" ,pkg-config)
10566 ("xmllint" ,libxml2)))
10567 (inputs
10568 `(("gtk+" ,gtk+)
10569 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10570 ("gstreamer" ,gstreamer)
10571 ("gst-plugins-base" ,gst-plugins-base)
10572 ("gst-plugins-good" ,gst-plugins-good)
10573 ("iso-codes" ,iso-codes)
10574 ("libbrasero-media3" ,brasero)
10575 ("libcanberra" ,libcanberra)
10576 ("libdiscid" ,libdiscid)
10577 ("libmusicbrainz" ,libmusicbrainz)
10578 ("neon" ,neon)))
10579 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10580 (synopsis "Audio music cd ripper")
10581 (description "Sound Juicer extracts audio from compact discs and convert it
10582 into audio files that a personal computer or digital audio player can play.
10583 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10584 mp3, Ogg Vorbis and FLAC")
10585 (license license:gpl2+)))
10586
10587 (define-public soundconverter
10588 (package
10589 (name "soundconverter")
10590 (version "3.0.2")
10591 (source
10592 (origin
10593 (method url-fetch)
10594 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10595 version "/+download/"
10596 "soundconverter-" version ".tar.xz"))
10597
10598 (sha256
10599 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10600 (build-system glib-or-gtk-build-system)
10601 (arguments
10602 `(#:imported-modules ((guix build python-build-system)
10603 (guix build glib-or-gtk-build-system)
10604 ,@%gnu-build-system-modules)
10605
10606 #:modules ((guix build glib-or-gtk-build-system)
10607 (guix build utils)
10608 ((guix build gnu-build-system) #:prefix gnu:)
10609 ((guix build python-build-system) #:prefix python:))
10610
10611 #:phases
10612 (modify-phases %standard-phases
10613 (add-after 'install 'wrap-soundconverter-for-python
10614 (assoc-ref python:%standard-phases 'wrap))
10615 (add-after 'install 'wrap-soundconverter
10616 (lambda* (#:key inputs outputs #:allow-other-keys)
10617 (let ((out (assoc-ref outputs "out"))
10618 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10619 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10620 (wrap-program (string-append out "/bin/soundconverter")
10621 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10622 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10623 #t)))))
10624 (native-inputs
10625 `(("intltool" ,intltool)
10626 ("pkg-config" ,pkg-config)
10627 ("glib:bin" ,glib "bin")))
10628 (inputs
10629 `(("gtk+" ,gtk+)
10630 ("python" ,python)
10631 ("python-pygobject" ,python-pygobject)
10632 ("gstreamer" ,gstreamer)
10633 ("gst-plugins-base" ,gst-plugins-base)))
10634 (home-page "https://soundconverter.org/")
10635 (synopsis "Convert between audio formats with a graphical interface")
10636 (description
10637 "SoundConverter supports converting between many audio formats including
10638 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10639 configurable file renaming. ")
10640 (license license:gpl3)))
10641
10642 (define-public workrave
10643 (package
10644 (name "workrave")
10645 (version "1.10.43")
10646 (source
10647 (origin
10648 (method git-fetch)
10649 (uri (git-reference
10650 (url "https://github.com/rcaelers/workrave")
10651 (commit (string-append "v" (string-map
10652 (match-lambda (#\. #\_) (chr chr))
10653 version)))))
10654 (file-name (git-file-name name version))
10655 (sha256
10656 (base32 "1baa9qjzd4b3q1zy5vhvyrx0hyz17mk237373ca48647897kw4cr"))))
10657 (build-system glib-or-gtk-build-system)
10658 (arguments
10659 ;; The only tests are maintainer tests (in po/), which fail.
10660 `(#:tests? #f))
10661 (inputs `(("glib" ,glib)
10662 ("gtk+" ,gtk+)
10663 ("gdk-pixbuf" ,gdk-pixbuf)
10664 ("gtkmm" ,gtkmm)
10665 ("glibmm" ,glibmm)
10666 ("libx11" ,libx11)
10667 ("libxtst" ,libxtst)
10668 ("dconf" ,dconf)
10669 ("libice" ,libice)
10670 ("libsm" ,libsm)
10671 ("libxscrnsaver" ,libxscrnsaver)))
10672 (native-inputs `(("boost" ,boost)
10673 ("pkg-config" ,pkg-config)
10674 ("gettext" ,gettext-minimal)
10675 ("autoconf" ,autoconf)
10676 ("autoconf-archive" , autoconf-archive)
10677 ("automake" ,automake)
10678 ("libtool" ,libtool)
10679 ("intltool" ,intltool)
10680 ("gobject-introspection" ,gobject-introspection)
10681 ("python3" ,python-3)
10682 ("python-jinja2" ,python-jinja2)))
10683 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10684 (description
10685 "Workrave is a program that assists in the recovery and prevention of
10686 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10687 micro-pauses and rest breaks, and restricts you to your daily limit.")
10688 (home-page "http://www.workrave.org")
10689 (license license:gpl3+)))
10690
10691 (define-public ghex
10692 (package
10693 (name "ghex")
10694 (version "3.18.4")
10695 (source (origin
10696 (method url-fetch)
10697 (uri (string-append "mirror://gnome/sources/ghex/"
10698 (version-major+minor version) "/"
10699 "ghex-" version ".tar.xz"))
10700 (sha256
10701 (base32
10702 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10703 (build-system meson-build-system)
10704 (arguments
10705 '(#:glib-or-gtk? #t
10706 #:phases
10707 (modify-phases %standard-phases
10708 (add-after 'unpack 'skip-gtk-update-icon-cache
10709 ;; Don't create 'icon-theme.cache'.
10710 (lambda _
10711 (substitute* "meson_post_install.py"
10712 (("gtk-update-icon-cache") (which "true")))
10713 #t)))))
10714 (native-inputs
10715 `(("pkg-config" ,pkg-config)
10716 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10717 ("gnome-common" ,gnome-common)
10718 ("which" ,which)
10719 ("intltool" ,intltool)
10720 ("yelp-tools" ,yelp-tools)
10721 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10722 (inputs
10723 `(("atk" ,atk)
10724 ("gtk" ,gtk+)))
10725 (synopsis "GNOME hexadecimal editor")
10726 (description "The GHex program can view and edit files in two ways:
10727 hexadecimal or ASCII. It is useful for editing binary files in general.")
10728 (home-page "https://wiki.gnome.org/Apps/Ghex")
10729 (license license:gpl2)))
10730
10731 (define-public libdazzle
10732 (package
10733 (name "libdazzle")
10734 (version "3.37.1")
10735 (source (origin
10736 (method url-fetch)
10737 (uri (string-append "mirror://gnome/sources/libdazzle/"
10738 (version-major+minor version) "/"
10739 "libdazzle-" version ".tar.xz"))
10740 (sha256
10741 (base32
10742 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10743 (build-system meson-build-system)
10744 (arguments
10745 `(#:phases
10746 (modify-phases %standard-phases
10747 (add-before 'check 'pre-check
10748 (lambda _
10749 ;; Tests require a running X server.
10750 (system "Xvfb :1 &")
10751 (setenv "DISPLAY" ":1")
10752 #t)))))
10753 (native-inputs
10754 `(("glib" ,glib "bin") ; glib-compile-resources
10755 ("pkg-config" ,pkg-config)
10756 ;; For tests.
10757 ("xorg-server" ,xorg-server-for-tests)))
10758 (inputs
10759 `(("glib" ,glib)
10760 ("gobject-introspection" ,gobject-introspection)
10761 ("gtk+" ,gtk+)
10762 ("vala" ,vala)))
10763 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10764 (synopsis "Companion library to GObject and Gtk+")
10765 (description "The libdazzle library is a companion library to GObject and
10766 Gtk+. It provides various features that the authors wish were in the
10767 underlying library but cannot for various reasons. In most cases, they are
10768 wildly out of scope for those libraries. In other cases, they are not quite
10769 generic enough to work for everyone.")
10770 (license license:gpl3+)))
10771
10772 (define-public evolution
10773 (package
10774 (name "evolution")
10775 (version "3.34.2")
10776 (source (origin
10777 (method url-fetch)
10778 (uri (string-append "mirror://gnome/sources/evolution/"
10779 (version-major+minor version) "/"
10780 "evolution-" version ".tar.xz"))
10781 (sha256
10782 (base32
10783 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10784 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10785 (build-system cmake-build-system)
10786 (arguments
10787 `(#:imported-modules (,@%cmake-build-system-modules
10788 (guix build glib-or-gtk-build-system))
10789 #:modules ((guix build cmake-build-system)
10790 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10791 (guix build utils))
10792 #:configure-flags
10793 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10794 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10795 ; in four years and cannot be built.
10796 #:phases
10797 (modify-phases %standard-phases
10798 ;; The build system attempts to install user interface modules to the
10799 ;; output directory of the "evolution-data-server" package. This
10800 ;; change redirects that change.
10801 (add-after 'unpack 'patch-ui-module-dir
10802 (lambda* (#:key outputs #:allow-other-keys)
10803 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10804 (("\\$\\{edsuimoduledir\\}")
10805 (string-append (assoc-ref outputs "out")
10806 "/lib/evolution-data-server/ui-modules")))
10807 #t))
10808 (add-after 'install 'glib-or-gtk-compile-schemas
10809 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10810 (add-after 'install 'glib-or-gtk-wrap
10811 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10812 (native-inputs
10813 `(("glib" ,glib "bin") ; glib-mkenums
10814 ("pkg-config" ,pkg-config)
10815 ("intltool" ,intltool)
10816 ("itstool" ,itstool)))
10817 (inputs
10818 `(("enchant" ,enchant)
10819 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10820 ("gcr" ,gcr)
10821 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10822 ("gnome-autoar" ,gnome-autoar)
10823 ("gnome-desktop" ,gnome-desktop)
10824 ("gspell" ,gspell)
10825 ("highlight" ,highlight)
10826 ("libcanberra" ,libcanberra)
10827 ("libgweather" ,libgweather)
10828 ("libnotify" ,libnotify)
10829 ("libsoup" ,libsoup)
10830 ("nss" ,nss)
10831 ("openldap" ,openldap)
10832 ("webkitgtk" ,webkitgtk)
10833 ("ytnef" ,ytnef)))
10834 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10835 (synopsis "Manage your email, contacts and schedule")
10836 (description "Evolution is a personal information management application
10837 that provides integrated mail, calendaring and address book
10838 functionality.")
10839 ;; See COPYING for details.
10840 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10841 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10842 license:lgpl2.1+)))) ; smime/lib/*
10843
10844 (define-public gthumb
10845 (package
10846 (name "gthumb")
10847 (version "3.10.3")
10848 (source (origin
10849 (method url-fetch)
10850 (uri (string-append "mirror://gnome/sources/gthumb/"
10851 (version-major+minor version) "/"
10852 "gthumb-" version ".tar.xz"))
10853 (sha256
10854 (base32
10855 "04n2sgasc03kiczyzkq362pjilj12hq2r5qj07lynqr9rivkzdys"))))
10856 (build-system meson-build-system)
10857 (arguments
10858 `(#:glib-or-gtk? #t
10859 #:configure-flags
10860 ;; Ensure the RUNPATH contains all installed library locations.
10861 (list (string-append "-Dc_link_args=-Wl,-rpath="
10862 (assoc-ref %outputs "out")
10863 "/lib/gthumb/extensions")
10864 (string-append "-Dcpp_link_args=-Wl,-rpath="
10865 (assoc-ref %outputs "out")
10866 "/lib/gthumb/extensions"))))
10867 (native-inputs
10868 `(("pkg-config" ,pkg-config)
10869 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10870 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10871 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10872 ("intltool" ,intltool)
10873 ("itstool" ,itstool)))
10874 (inputs
10875 `(("exiv2" ,exiv2)
10876 ("gtk" ,gtk+)
10877 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10878 ("gstreamer" ,gstreamer)
10879 ("clutter" ,clutter)
10880 ("clutter-gst" ,clutter-gst)
10881 ("clutter-gtk" ,clutter-gtk)
10882 ("libjpeg" ,libjpeg-turbo)
10883 ("libtiff" ,libtiff)
10884 ("libraw" ,libraw)))
10885 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10886 (synopsis "GNOME image viewer and browser")
10887 (description "GThumb is an image viewer, browser, organizer, editor and
10888 advanced image management tool")
10889 (license license:gpl2+)))
10890
10891 (define-public terminator
10892 (package
10893 (name "terminator")
10894 (version "2.1.1")
10895 (source
10896 (origin
10897 (method url-fetch)
10898 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10899 "releases/download/v" version "/"
10900 name "-" version ".tar.gz"))
10901 (sha256
10902 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10903 (build-system python-build-system)
10904 (native-inputs
10905 `(("gettext" ,gettext-minimal)
10906 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10907 ("gobject-introspection" ,gobject-introspection)
10908 ("intltool" ,intltool)
10909 ("pkg-config" ,pkg-config)
10910 ("python-psutil" ,python-psutil)
10911 ("python-pytest-runner" ,python-pytest-runner)
10912 ("python-pytest" ,python-pytest)))
10913 (inputs
10914 `(("cairo" ,cairo)
10915 ("dbus-glib" ,dbus-glib)
10916 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10917 ("gtk+" ,gtk+)
10918 ("python" ,python-wrapper)
10919 ("python-dbus" ,python-dbus)
10920 ("python-notify2" ,python-notify2)
10921 ("python-pycairo" ,python-pycairo)
10922 ("python-pygobject" ,python-pygobject)
10923 ("vte" ,vte)))
10924 (propagated-inputs
10925 `(("python-configobj" ,python-configobj)))
10926 (arguments
10927 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10928 ;; tests.
10929 `(#:tests? #f
10930 #:imported-modules ((guix build glib-or-gtk-build-system)
10931 ,@%python-build-system-modules)
10932 #:modules ((guix build python-build-system)
10933 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10934 (guix build utils))
10935 #:phases
10936 (modify-phases %standard-phases
10937 (add-after 'unpack 'handle-dbus-python
10938 (lambda _
10939 ;; python-dbus cannot be found but it's really there. See
10940 ;; https://github.com/SpotlightKid/jack-select/issues/2
10941 (substitute* "setup.py"
10942 (("'dbus-python',") ""))
10943 #t))
10944 (add-after 'install 'wrap-program
10945 (lambda* (#:key outputs #:allow-other-keys)
10946 (let ((prog (string-append (assoc-ref outputs "out")
10947 "/bin/terminator"))
10948 (pylib (string-append (assoc-ref outputs "out")
10949 "/lib/python"
10950 ,(version-major+minor
10951 (package-version python))
10952 "/site-packages")))
10953 (wrap-program prog
10954 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10955 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10956 #t)))
10957 (add-after 'wrap-program 'glib-or-gtk-wrap
10958 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10959 (home-page "https://gnome-terminator.org/")
10960 (synopsis "Store and run multiple GNOME terminals in one window")
10961 (description
10962 "Terminator allows you to run multiple GNOME terminals in a grid and
10963 tabs, and it supports drag and drop re-ordering of terminals.")
10964 (license license:gpl2)))
10965
10966 (define-public libhandy
10967 (package
10968 (name "libhandy")
10969 (version "1.2.2")
10970 (source
10971 (origin
10972 (method git-fetch)
10973 (uri (git-reference
10974 (url "https://gitlab.gnome.org/GNOME/libhandy")
10975 (commit version)))
10976 (file-name (git-file-name name version))
10977 (sha256
10978 (base32 "0345x7gif6yjm95y62lww71lj84wfwsr2p32r3iww8shavb8scyk"))))
10979 (build-system meson-build-system)
10980 (arguments
10981 `(#:configure-flags
10982 '("-Dglade_catalog=enabled"
10983 "-Dgtk_doc=true")
10984 #:phases
10985 (modify-phases %standard-phases
10986 (add-before 'check 'pre-check
10987 (lambda _
10988 ;; Tests require a running X server.
10989 (system "Xvfb :1 &")
10990 (setenv "DISPLAY" ":1")
10991 #t)))))
10992 (inputs
10993 `(("gtk+" ,gtk+)
10994 ("glade" ,glade3)
10995 ("libxml2" ,libxml2)))
10996 (native-inputs
10997 `(("glib:bin" ,glib "bin")
10998 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10999 ("vala" ,vala)
11000 ("gtk-doc" ,gtk-doc/stable)
11001 ("pkg-config" ,pkg-config)
11002 ("gettext" ,gettext-minimal)
11003
11004 ;; Test suite dependencies.
11005 ("xorg-server" ,xorg-server-for-tests)
11006 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11007 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11008 (synopsis "Library full of GTK+ widgets for mobile phones")
11009 (description "The aim of the handy library is to help with developing user
11010 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11011 for usage on small and big screens.")
11012 (license license:lgpl2.1+)))
11013
11014 (define-public libhandy-0.0
11015 (package
11016 (inherit libhandy)
11017 (version "0.0.13")
11018 (source
11019 (origin
11020 (method git-fetch)
11021 (uri (git-reference
11022 (url "https://gitlab.gnome.org/GNOME/libhandy")
11023 (commit (string-append "v" version))))
11024 (file-name (git-file-name "libhandy" version))
11025 (sha256
11026 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11027 (arguments
11028 (substitute-keyword-arguments (package-arguments libhandy)
11029 ((#:configure-flags flags)
11030 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11031
11032 (define-public libgit2-glib
11033 (package
11034 (name "libgit2-glib")
11035 (version "0.99.0.1")
11036 (source (origin
11037 (method url-fetch)
11038 (uri (string-append "mirror://gnome/sources/" name "/"
11039 (version-major+minor version) "/"
11040 name "-" version ".tar.xz"))
11041 (sha256
11042 (base32
11043 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11044 (build-system meson-build-system)
11045 (native-inputs
11046 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11047 ("gobject-introspection" ,gobject-introspection)
11048 ("pkg-config" ,pkg-config)
11049 ("python-pygobject" ,python-pygobject)
11050 ("python-wrapper" ,python-wrapper)
11051 ("vala" ,vala)))
11052 (inputs
11053 `(("glib" ,glib)
11054 ("libssh2" ,libssh2)))
11055 (propagated-inputs
11056 `(;; In Requires of libgit2-glib.pc.
11057 ("libgit2" ,libgit2)))
11058 (synopsis "GLib wrapper around the libgit2 Git access library")
11059 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11060 access library. It only implements the core plumbing functions, not really the
11061 higher level porcelain stuff.")
11062 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11063 (license license:gpl2+)))
11064
11065 (define-public gitg
11066 (package
11067 (name "gitg")
11068 (version "3.32.1")
11069 (source (origin
11070 (method url-fetch)
11071 (uri (string-append "mirror://gnome/sources/" name "/"
11072 (version-major+minor version) "/"
11073 name "-" version ".tar.xz"))
11074 (sha256
11075 (base32
11076 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11077 (build-system meson-build-system)
11078 (arguments
11079 `(#:glib-or-gtk? #t
11080 #:phases
11081 (modify-phases %standard-phases
11082 (add-after 'unpack 'disable-post-install-partially
11083 (lambda _
11084 (substitute* "meson_post_install.py"
11085 (("'python'") ; there are no python sources to compile
11086 (string-append "'" (which "true") "'"))
11087 (("gtk-update-icon-cache") (which "true")))
11088 #t))
11089 (add-after 'unpack 'fix-test-sources
11090 (lambda _
11091 (substitute* "tests/libgitg/test-commit.vala"
11092 (("/bin/bash") (which "bash")))
11093 #t))
11094 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11095 (lambda* (#:key outputs #:allow-other-keys)
11096 (let ((prog (string-append (assoc-ref outputs "out")
11097 "/bin/gitg")))
11098 (wrap-program prog
11099 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11100 #t))))))
11101 (inputs
11102 `(("glib" ,glib)
11103 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11104 ("gtk+" ,gtk+)
11105 ("gtkspell3" ,gtkspell3)
11106 ("gtksourceview" ,gtksourceview-3)
11107 ("json-glib" ,json-glib)
11108 ("libdazzle" ,libdazzle)
11109 ("libgee" ,libgee)
11110 ("libgit2-glib" ,libgit2-glib)
11111 ("libpeas" ,libpeas)
11112 ("libsecret" ,libsecret)
11113 ("libsoup" ,libsoup)
11114 ("libxml2" ,libxml2)))
11115 (native-inputs
11116 `(("glib:bin" ,glib "bin")
11117 ("gtk+:bin" ,gtk+ "bin")
11118 ("gobject-introspection" ,gobject-introspection)
11119 ("intltool" ,intltool)
11120 ("pkg-config" ,pkg-config)
11121 ("vala" ,vala)))
11122 (synopsis "Graphical user interface for git")
11123 (description
11124 "gitg is a graphical user interface for git. It aims at being a small,
11125 fast and convenient tool to visualize the history of git repositories.
11126 Besides visualization, gitg also provides several utilities to manage your
11127 repository and commit your work.")
11128 (home-page "https://wiki.gnome.org/Apps/Gitg")
11129 (license license:gpl2+)))
11130
11131 (define-public gamin
11132 (package
11133 (name "gamin")
11134 (version "0.1.10")
11135 (source (origin
11136 (method url-fetch)
11137 (uri (string-append "mirror://gnome/sources/" name "/"
11138 (version-major+minor version) "/"
11139 name "-" version ".tar.bz2"))
11140 (sha256
11141 (base32
11142 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11143 (build-system gnu-build-system)
11144 (arguments
11145 `(#:phases
11146 (modify-phases %standard-phases
11147 (add-after 'unpack 'remove-deprecated-macro
11148 (lambda _
11149 (substitute* '("server/gam_node.c"
11150 "server/gam_subscription.h"
11151 "server/gam_node.h"
11152 "server/gam_subscription.c")
11153 (("G_CONST_RETURN") "const"))
11154 #t)))))
11155 (inputs
11156 `(("glib" ,glib)))
11157 (native-inputs
11158 `(("intltool" ,intltool)
11159 ("pkg-config" ,pkg-config)))
11160 (home-page "https://people.gnome.org/~veillard/gamin/")
11161 (synopsis "File alteration monitor")
11162 (description
11163 "Gamin is a file and directory monitoring system defined to be a subset
11164 of the FAM (File Alteration Monitor) system. This is a service provided by a
11165 library which detects when a file or a directory has been modified.")
11166 (license license:gpl2+)))
11167
11168 (define-public gnome-mahjongg
11169 (package
11170 (name "gnome-mahjongg")
11171 (version "3.35.1")
11172 (source (origin
11173 (method git-fetch)
11174 (uri (git-reference
11175 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11176 (commit version)))
11177 (file-name (git-file-name name version))
11178 (sha256
11179 (base32
11180 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11181 (build-system meson-build-system)
11182 (arguments
11183 `(#:glib-or-gtk? #t))
11184 (native-inputs
11185 `(("appstream-glib" ,appstream-glib)
11186 ("gettext" ,gettext-minimal)
11187 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11188 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11189 ("itstool" ,itstool)
11190 ("pkg-config" ,pkg-config)
11191 ("vala" ,vala)))
11192 (propagated-inputs
11193 `(("dconf" ,dconf)))
11194 (inputs
11195 `(("glib" ,glib)
11196 ("gtk+" ,gtk+)
11197 ("librsvg" ,librsvg)))
11198 (synopsis "Mahjongg tile-matching game")
11199 (description "GNOME Mahjongg is a game based on the classic Chinese
11200 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11201 and a high score table.")
11202 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11203 (license license:gpl2+)))
11204
11205 (define-public gnome-themes-extra
11206 (package
11207 (name "gnome-themes-extra")
11208 (version "3.28")
11209 (source
11210 (origin
11211 (method url-fetch)
11212 (uri (string-append "mirror://gnome/sources/" name "/"
11213 (version-major+minor version) "/" name "-"
11214 version ".tar.xz"))
11215 (sha256
11216 (base32
11217 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11218 (build-system gnu-build-system)
11219 (arguments
11220 '(#:configure-flags
11221 ;; Don't create 'icon-theme.cache'.
11222 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11223 (true (string-append coreutils "/bin/true")))
11224 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11225 (native-inputs
11226 `(("glib:bin" ,glib "bin")
11227 ("intltool" ,intltool)
11228 ("pkg-config" ,pkg-config)))
11229 (inputs
11230 `(("glib" ,glib)
11231 ("gtk+" ,gtk+)
11232 ("gtk+-2" ,gtk+-2)
11233 ("librsvg" ,librsvg)
11234 ("libxml2" ,libxml2)))
11235 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11236 (synopsis "GNOME Extra Themes")
11237 (description "This package provides themes and related elements that don't
11238 really fit in other upstream packages. It offers legacy support for GTK+ 2
11239 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11240 index files needed for Adwaita to be used outside of GNOME.")
11241 (license license:lgpl2.1+)))
11242
11243 (define-public gnote
11244 (package
11245 (name "gnote")
11246 (version "3.38.1")
11247 (source
11248 (origin
11249 (method url-fetch)
11250 (uri (string-append "mirror://gnome/sources/" name "/"
11251 (version-major+minor version) "/"
11252 "gnote-" version ".tar.xz"))
11253 (sha256
11254 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11255 (build-system glib-or-gtk-build-system)
11256 (native-inputs
11257 `(("desktop-file-utils" ,desktop-file-utils)
11258 ("glib:bin" ,glib "bin")
11259 ("gobject-introspection" ,gobject-introspection)
11260 ("intltool" ,intltool)
11261 ("itstool" ,itstool)
11262 ("pkg-config" ,pkg-config)
11263 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11264 (inputs
11265 `(("glibmm" ,glibmm)
11266 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11267 ("gspell" ,gspell)
11268 ("gtk+" ,gtk+)
11269 ("gtkmm" ,gtkmm)
11270 ("libsecret" ,libsecret)
11271 ("libuuid" ,util-linux "lib")
11272 ("libxml2" ,libxml2)
11273 ("libxslt" ,libxslt)))
11274 (synopsis "Note-taking application for the GNOME desktop")
11275 (description
11276 "Gnote is a note-taking application written for the GNOME desktop
11277 environment.")
11278 (home-page "https://wiki.gnome.org/Apps/Gnote")
11279 (license license:gpl3+)))
11280
11281 (define-public polari
11282 (package
11283 (name "polari")
11284 (version "3.36.3")
11285 (source (origin
11286 (method url-fetch)
11287 (uri (string-append "mirror://gnome/sources/polari/"
11288 (version-major+minor version)
11289 "/polari-" version ".tar.xz"))
11290 (sha256
11291 (base32
11292 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11293 (build-system meson-build-system)
11294 (arguments
11295 `(#:glib-or-gtk? #t
11296 #:phases
11297 (modify-phases %standard-phases
11298 (add-after 'unpack 'skip-gtk-update-icon-cache
11299 (lambda _
11300 (substitute* "meson/meson-postinstall.sh"
11301 (("gtk-update-icon-cache") (which "true")))
11302 #t))
11303 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11304 (lambda* (#:key outputs #:allow-other-keys)
11305 (let ((prog (string-append (assoc-ref outputs "out")
11306 "/bin/polari")))
11307 (wrap-program prog
11308 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11309 #t))))))
11310 (inputs
11311 `(("glib" ,glib)
11312 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11313 ("gspell" ,gspell)
11314 ("gtk+" ,gtk+)
11315 ("gjs" ,gjs)
11316 ("libsecret" ,libsecret)
11317 ("libsoup" ,libsoup)
11318 ("telepathy-glib" ,telepathy-glib)
11319 ("telepathy-logger" ,telepathy-logger)))
11320 (native-inputs
11321 `(("glib:bin" ,glib "bin")
11322 ("gobject-introspection" ,gobject-introspection)
11323 ("intltool" ,intltool)
11324 ("pkg-config" ,pkg-config)
11325 ("yelp-tools" ,yelp-tools)))
11326 (propagated-inputs
11327 `(("telepathy-idle" ,telepathy-idle)
11328 ("telepathy-mission-control" ,telepathy-mission-control)))
11329 (synopsis "Simple IRC Client")
11330 (description
11331 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11332 integrate seamlessly with the GNOME desktop.")
11333 (home-page "https://wiki.gnome.org/Apps/Polari")
11334 (license license:gpl2+)))
11335
11336 (define-public gnome-boxes
11337 (package
11338 (name "gnome-boxes")
11339 (version "3.36.6")
11340 (source
11341 (origin
11342 (method url-fetch)
11343 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11344 (version-major+minor version) "/"
11345 "gnome-boxes-" version ".tar.xz"))
11346 (sha256
11347 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11348 (build-system meson-build-system)
11349 (arguments
11350 '(#:glib-or-gtk? #t
11351 #:configure-flags (list "-Drdp=false"
11352 (string-append "-Dc_link_args=-Wl,-rpath="
11353 (assoc-ref %outputs "out")
11354 "/lib/gnome-boxes"))))
11355 (native-inputs
11356 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11357 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11358 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11359 ("itstool" ,itstool)
11360 ("intltool" ,intltool)
11361 ("vala" ,vala)
11362 ("pkg-config" ,pkg-config)))
11363 (inputs
11364 `(("libarchive" ,libarchive)
11365 ("glib-networking" ,glib-networking) ;for TLS support
11366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11367 ("gtk" ,gtk+)
11368 ("gtk-vnc" ,gtk-vnc)
11369 ("libosinfo" ,libosinfo)
11370 ("libsecret" ,libsecret)
11371 ("libsoup" ,libsoup)
11372 ("libusb" ,libusb)
11373 ("libvirt" ,libvirt)
11374 ("libvirt-glib" ,libvirt-glib)
11375 ("libxml" ,libxml2)
11376 ("spice-gtk" ,spice-gtk)
11377 ("sparql-query" ,sparql-query)
11378 ("vte" ,vte)
11379 ("webkitgtk" ,webkitgtk)
11380 ("tracker" ,tracker)
11381 ("libgudev" ,libgudev)))
11382 (home-page "https://wiki.gnome.org/Apps/Boxes")
11383 (synopsis "View, access, and manage remote and virtual systems")
11384 (description "GNOME Boxes is a simple application to view, access, and
11385 manage remote and virtual systems. Note that this application requires the
11386 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11387 @command{info '(guix) Virtualization Services'} to learn how to configure
11388 these services on the Guix System.")
11389 (license (list
11390 ;; For data/icons/empty-boxes.png.
11391 license:cc-by2.0
11392 ;; For all others.
11393 license:lgpl2.0+))))
11394
11395 (define-public geary
11396 (package
11397 (name "geary")
11398 (version "3.34.1")
11399 (source (origin
11400 (method git-fetch)
11401 (uri (git-reference
11402 (url "https://gitlab.gnome.org/GNOME/geary")
11403 (commit version)))
11404 (file-name (git-file-name name version))
11405 (sha256
11406 (base32
11407 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11408 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11409 (build-system meson-build-system)
11410 (arguments
11411 `(#:glib-or-gtk? #t
11412 #:phases (modify-phases %standard-phases
11413 (add-after 'unpack 'disable-failing-tests
11414 (lambda _
11415 (substitute* "test/meson.build"
11416 (("test\\('client-tests', geary_test_client_bin\\)")
11417 ""))
11418 #t))
11419 (add-after 'unpack 'disable-postinstall-script
11420 (lambda _
11421 (substitute* "meson.build"
11422 (("meson.add_install_script\\(\
11423 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11424 ""))
11425 #t))
11426 (add-before 'check 'setup-xvfb
11427 (lambda _
11428 (system "Xvfb :1 &")
11429 (setenv "DISPLAY" ":1")
11430 #t)))))
11431 (inputs
11432 `(("enchant" ,enchant)
11433 ("folks" ,folks)
11434 ("gcr" ,gcr)
11435 ("glib" ,glib)
11436 ("gmime" ,gmime-2.6)
11437 ("gnome-online-accounts:lib"
11438 ,gnome-online-accounts "lib")
11439 ("gspell" ,gspell)
11440 ("gtk+" ,gtk+)
11441 ("iso-codes" ,iso-codes)
11442 ("json-glib" ,json-glib)
11443 ("libcanberra" ,libcanberra)
11444 ("libgee" ,libgee)
11445 ("libhandy" ,libhandy-0.0)
11446 ("libpeas" ,libpeas)
11447 ("libsecret" ,libsecret)
11448 ("libunwind" ,libunwind)
11449 ("sqlite" ,sqlite)
11450 ("webkitgtk" ,webkitgtk)
11451 ("ytnef" ,ytnef)))
11452 (native-inputs
11453 `(("appstream-glib" ,appstream-glib)
11454 ("cmake-minimal" ,cmake-minimal)
11455 ("desktop-file-utils" ,desktop-file-utils)
11456 ("gettext" ,gettext-minimal)
11457 ("glib:bin" ,glib "bin")
11458 ("gobject-introspection" ,gobject-introspection)
11459 ("itstool" ,itstool)
11460 ("libarchive" ,libarchive)
11461 ("libxml2" ,libxml2)
11462 ("pkg-config" ,pkg-config)
11463 ("vala" ,vala)
11464 ("xvfb" ,xorg-server-for-tests)))
11465 (synopsis "GNOME email application built around conversations")
11466 (description
11467 "Geary collects related messages together into conversations,
11468 making it easy to find and follow your discussions. Full-text and keyword
11469 search makes it easy to find the email you are looking for. Geary's
11470 full-featured composer lets you send rich, styled text with images, links, and
11471 lists, but also send lightweight, easy to read text messages. Geary
11472 automatically picks up your existing GNOME Online Accounts, and adding more is
11473 easy. Geary has a clean, fast, modern interface that works like you want it
11474 to.")
11475 (home-page "https://wiki.gnome.org/Apps/Geary")
11476 (license (list
11477 ;; geary
11478 license:lgpl2.1+
11479 ;; icons
11480 license:cc-by3.0
11481 license:cc-by-sa3.0
11482 license:public-domain
11483 ;; snowball
11484 license:bsd-2))))
11485
11486 (define-public glabels
11487 (package
11488 (name "glabels")
11489 (version "3.4.1")
11490 (source
11491 (origin
11492 (method url-fetch)
11493 (uri (string-append "mirror://gnome/sources/" name "/"
11494 (version-major+minor version) "/"
11495 "glabels-" version ".tar.xz"))
11496 (sha256
11497 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11498 (build-system glib-or-gtk-build-system)
11499 (native-inputs
11500 `(("gettext" ,gettext-minimal)
11501 ("glib:bin" ,glib "bin")
11502 ("intltool" ,intltool)
11503 ("itstool" ,itstool)
11504 ("pkg-config" ,pkg-config)))
11505 (inputs
11506 `(("gtk+" ,gtk+)
11507 ("librsvg" ,librsvg)
11508 ("libxml2" ,libxml2)))
11509 (home-page "https://glabels.org/")
11510 (synopsis "Program for creating labels and business cards")
11511 (description
11512 "gLabels is a program for creating labels and business cards. It is
11513 designed to work with various laser/ink-jet peel-off label and business
11514 card sheets that you’ll find at most office supply stores.")
11515 (license license:gpl3+)))
11516
11517 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11518 (define-public gnome-latex
11519 (package
11520 (name "gnome-latex")
11521 (version "3.36.0")
11522 (source
11523 (origin
11524 (method url-fetch)
11525 (uri (string-append "mirror://gnome/sources/" name "/"
11526 (version-major+minor version) "/"
11527 "gnome-latex-" version ".tar.xz"))
11528 (sha256
11529 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11530 (build-system glib-or-gtk-build-system)
11531 (native-inputs
11532 `(("gettext" ,gettext-minimal)
11533 ("glib:bin" ,glib "bin")
11534 ("gobject-introspection" ,gobject-introspection)
11535 ("gtk-doc" ,gtk-doc/stable)
11536 ("intltool" ,intltool)
11537 ("itstool" ,itstool)
11538 ("pkg-config" ,pkg-config)
11539 ("vala" ,vala)))
11540 (inputs
11541 `(("amtk" ,amtk)
11542 ("dconf" ,dconf)
11543 ("glib" ,glib)
11544 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11545 ("gspell" ,gspell)
11546 ("gtk+" ,gtk+)
11547 ("gtksourceview" ,gtksourceview)
11548 ("libgee" ,libgee)
11549 ("tepl" ,tepl)
11550 ("uchardet" ,uchardet)))
11551 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11552 (synopsis "LaTeX editor for the GNOME desktop")
11553 (description
11554 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11555 such as build tools, completion of LaTeX commands, structure navigation,
11556 symbol tables, document templates, project management, spell-checking, menus
11557 and toolbars.")
11558 (license license:gpl3+)))
11559
11560 (define-public setzer
11561 (package
11562 (name "setzer")
11563 (version "0.4.1")
11564 (source
11565 (origin
11566 (method git-fetch)
11567 (uri (git-reference
11568 (url "https://github.com/cvfosammmm/Setzer")
11569 (commit (string-append "v" version))))
11570 (file-name (git-file-name name version))
11571 (sha256
11572 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11573 (build-system meson-build-system)
11574 (arguments
11575 `(#:glib-or-gtk? #t
11576 #:phases
11577 (modify-phases %standard-phases
11578 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11579 (lambda* (#:key outputs #:allow-other-keys)
11580 (let ((prog (string-append (assoc-ref outputs "out")
11581 "/bin/setzer"))
11582 (pylib (string-append (assoc-ref outputs "out")
11583 "/lib/python"
11584 ,(version-major+minor
11585 (package-version python))
11586 "/site-packages")))
11587 (wrap-program prog
11588 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11589 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11590 #t))))))
11591 (native-inputs
11592 `(("desktop-file-utils" ,desktop-file-utils)
11593 ("gettext" ,gettext-minimal)
11594 ("glib:bin" ,glib "bin")
11595 ("gobject-introspection" ,gobject-introspection)
11596 ("gtk+:bin" ,gtk+ "bin")))
11597 (inputs
11598 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11599 ("gspell" ,gspell)
11600 ("gtk+" ,gtk+)
11601 ("gtksourceview" ,gtksourceview)
11602 ("pango" ,pango)
11603 ("poppler" ,poppler)
11604 ("python-pdfminer" ,python-pdfminer-six)
11605 ("python-pycairo" ,python-pycairo)
11606 ("python-pygobject" ,python-pygobject)
11607 ("python-pyxdg" ,python-pyxdg)
11608 ("webkitgtk" ,webkitgtk)
11609 ("xdg-utils" ,xdg-utils)))
11610 (home-page "https://www.cvfosammmm.org/setzer/")
11611 (synopsis "LaTeX editor written in Python with GTK+")
11612 (description
11613 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11614 GTK+. It integrates well with the GNOME desktop environment.")
11615 (license license:gpl3+)))
11616
11617 (define-public libratbag
11618 (package
11619 (name "libratbag")
11620 (version "0.14")
11621 (source
11622 (origin
11623 (method git-fetch)
11624 (uri (git-reference
11625 (url "https://github.com/libratbag/libratbag")
11626 (commit (string-append "v" version))))
11627 (file-name (git-file-name name version))
11628 (sha256
11629 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11630 (build-system meson-build-system)
11631 (arguments
11632 `(#:configure-flags
11633 (list "-Dsystemd=false"
11634 "-Dlogind-provider=elogind")
11635 #:phases
11636 (modify-phases %standard-phases
11637 (add-after 'install 'wrap
11638 (lambda* (#:key inputs outputs #:allow-other-keys)
11639 (let* ((out (assoc-ref outputs "out"))
11640 (site (string-append
11641 "/lib/python"
11642 ,(version-major+minor (package-version python))
11643 "/site-packages"))
11644 (evdev (string-append
11645 (assoc-ref inputs "python-evdev") site))
11646 (pygo (string-append
11647 (assoc-ref inputs "python-pygobject") site))
11648 (python-wrap
11649 `("PYTHONPATH" = (,evdev ,pygo))))
11650 (wrap-program (string-append out "/bin/" "ratbagctl")
11651 python-wrap)
11652 #t))))))
11653 (native-inputs
11654 `(("check" ,check)
11655 ("pkg-config" ,pkg-config)
11656 ("swig" ,swig)
11657 ("valgrind" ,valgrind)))
11658 (inputs
11659 `(("glib" ,glib)
11660 ("json-glib" ,json-glib)
11661 ("libevdev" ,libevdev)
11662 ("libsystemd" ,elogind)
11663 ("libunistring" ,libunistring)
11664 ("python-evdev" ,python-evdev)
11665 ("python-pygobject" ,python-pygobject)
11666 ("udev" ,eudev)))
11667 (home-page "https://github.com/libratbag/libratbag")
11668 (synopsis "DBus daemon and utility for configuring gaming mice")
11669 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11670 configure input devices, mainly gaming mice. The daemon provides a generic
11671 way to access the various features exposed by these mice and abstracts away
11672 hardware-specific and kernel-specific quirks. There is also the
11673 @command{ratbagctl} command line interface for configuring devices.
11674
11675 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11676 Steelseries.
11677
11678 The ratbagd DBus service can be enabled by adding the following service to
11679 your operating-system definition:
11680
11681 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11682 (license license:expat)))
11683
11684 (define-public piper
11685 (package
11686 (name "piper")
11687 (version "0.5.1")
11688 (source
11689 (origin
11690 (method git-fetch)
11691 (uri (git-reference
11692 (url "https://github.com/libratbag/piper")
11693 (commit version)))
11694 (sha256
11695 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11696 (file-name (git-file-name name version))))
11697 (build-system meson-build-system)
11698 (native-inputs
11699 `(("gettext" ,gettext-minimal)
11700 ("glib:bin" ,glib "bin")
11701 ("gobject-introspection" ,gobject-introspection)
11702 ("pkg-config" ,pkg-config)
11703 ("python-flake8" ,python-flake8)))
11704 (inputs
11705 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11706 ("gtk" ,gtk+)
11707 ("gtk:bin" ,gtk+ "bin")
11708 ("librsvg" ,librsvg)
11709 ("python-evdev" ,python-evdev)
11710 ("python-lxml" ,python-lxml)
11711 ("python-pycairo" ,python-pycairo)
11712 ("python-pygobject" ,python-pygobject)))
11713 (arguments
11714 `(#:imported-modules ((guix build python-build-system)
11715 ,@%meson-build-system-modules)
11716 #:modules (((guix build python-build-system) #:prefix python:)
11717 (guix build meson-build-system)
11718 (guix build utils))
11719 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11720 #:phases
11721 (modify-phases %standard-phases
11722 (add-after 'unpack 'dont-update-gtk-icon-cache
11723 (lambda _
11724 (substitute* "meson.build"
11725 (("meson.add_install_script('meson_install.sh')") ""))
11726 #t))
11727 ;; TODO: Switch to wrap-script when it is fixed.
11728 (add-after 'install 'wrap-python
11729 (assoc-ref python:%standard-phases 'wrap))
11730 (add-after 'wrap-python 'wrap
11731 (lambda* (#:key outputs #:allow-other-keys)
11732 (wrap-program
11733 (string-append (assoc-ref outputs "out" )"/bin/piper")
11734 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11735 #t)))))
11736 (home-page "https://github.com/libratbag/piper/")
11737 (synopsis "Configure bindings and LEDs on gaming mice")
11738 (description "Piper is a GTK+ application for configuring gaming mice with
11739 onboard configuration for key bindings via libratbag. Piper requires
11740 a @command{ratbagd} daemon running with root privileges. It can be run
11741 manually as root, but is preferably configured as a DBus service that can
11742 launch on demand. This can be configured by enabling the following service,
11743 provided there is a DBus service present:
11744
11745 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11746 (license license:gpl2)))
11747
11748 (define-public parlatype
11749 (package
11750 (name "parlatype")
11751 (version "2.1")
11752 (source
11753 (origin
11754 (method git-fetch)
11755 (uri (git-reference
11756 (url "https://github.com/gkarsay/parlatype")
11757 (commit (string-append "v" version))))
11758 (file-name (git-file-name name version))
11759 (sha256
11760 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11761 (build-system meson-build-system)
11762 (arguments
11763 `(#:glib-or-gtk? #t
11764 #:tests? #f ;require internet access
11765 #:phases
11766 (modify-phases %standard-phases
11767 (add-after 'install 'wrap-parlatype
11768 ;; Add gstreamer plugin provided in this package to system's
11769 ;; plugins.
11770 (lambda* (#:key outputs #:allow-other-keys)
11771 (let* ((out (assoc-ref outputs "out"))
11772 (gst-plugin-path (string-append
11773 out "/lib/gstreamer-1.0/"
11774 ":"
11775 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11776 (wrap-program (string-append out "/bin/parlatype")
11777 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11778 #t)))))
11779 (native-inputs
11780 `(("appstream-glib" ,appstream-glib)
11781 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11782 ("gettext" ,gettext-minimal)
11783 ("glib" ,glib "bin") ;for glib-compile-resources
11784 ("pkg-config" ,pkg-config)
11785 ("yelp-tools" ,yelp-tools)))
11786 (inputs
11787 `(("gst-plugins-base" ,gst-plugins-base)
11788 ("gst-plugins-good" ,gst-plugins-good)
11789 ("gstreamer" ,gstreamer)
11790 ("gtk+" ,gtk+)
11791 ("pocketsphinx" ,pocketsphinx)
11792 ("pulseaudio" ,pulseaudio)
11793 ("sphinxbase" ,sphinxbase)))
11794 (home-page "http://gkarsay.github.io/parlatype/")
11795 (synopsis "GNOME audio player for transcription")
11796 (description "Parlatype is an audio player for the GNOME desktop
11797 environment. Its main purpose is the manual transcription of spoken
11798 audio files.")
11799 (license license:gpl3+)))
11800
11801 (define-public jsonrpc-glib
11802 (package
11803 (name "jsonrpc-glib")
11804 (version "3.34.0")
11805 (source (origin
11806 (method url-fetch)
11807 (uri (string-append "mirror://gnome/sources/" name "/"
11808 (version-major+minor version) "/"
11809 name "-" version ".tar.xz"))
11810 (sha256
11811 (base32
11812 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11813 (build-system meson-build-system)
11814 (inputs
11815 `(("json-glib" ,json-glib)
11816 ("glib" ,glib)))
11817 (native-inputs
11818 `(("pkg-config" ,pkg-config)
11819 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11820 ("gobject-introspection" ,gobject-introspection)
11821 ("vala" ,vala)))
11822 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11823 (synopsis "JSON-RPC library for GLib")
11824 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11825 peers in either a synchronous or asynchronous fashion. It also allows
11826 communicating using the GVariant serialization format instead of JSON when
11827 both peers support it. You might want that when communicating on a single
11828 host to avoid parser overhead and memory-allocator fragmentation.")
11829 (license license:lgpl2.1+)))
11830
11831 (define-public feedbackd
11832 (package
11833 (name "feedbackd")
11834 (version "0.0.0+git20200527")
11835 (source (origin
11836 (method git-fetch)
11837 (uri (git-reference
11838 (url "https://source.puri.sm/Librem5/feedbackd.git")
11839 (commit (string-append "v" version))))
11840 (file-name (git-file-name name version))
11841 (sha256
11842 (base32
11843 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11844 (build-system meson-build-system)
11845 (native-inputs
11846 `(("glib:bin" ,glib "bin")
11847 ("gobject-introspection" ,gobject-introspection)
11848 ("pkg-config" ,pkg-config)
11849 ("vala" ,vala)))
11850 (inputs
11851 `(("dbus" ,dbus)
11852 ("gsound" ,gsound)
11853 ("json-glib" ,json-glib)
11854 ("libgudev" ,libgudev)))
11855 (propagated-inputs
11856 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11857 (synopsis "Haptic/visual/audio feedback via DBus")
11858 (description "Feedbackd provides a DBus daemon to act on events to provide
11859 haptic, visual and audio feedback. It offers the libfeedbackd library and
11860 GObject introspection bindings.")
11861 (home-page "https://source.puri.sm/Librem5/feedbackd")
11862 (license (list license:lgpl2.1+ ; libfeedbackd
11863 license:lgpl3+)))) ; the rest
11864
11865 (define-public sysprof
11866 (package
11867 (name "sysprof")
11868 (version "3.36.0")
11869 (source
11870 (origin
11871 (method url-fetch)
11872 (uri (string-append "mirror://gnome/sources/sysprof/"
11873 (version-major+minor version) "/"
11874 "sysprof-" version ".tar.xz"))
11875 (sha256
11876 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11877 (build-system meson-build-system)
11878 (arguments
11879 `(#:configure-flags
11880 (list (string-append "-Dsystemdunitdir="
11881 %output
11882 "/share/systemd"))
11883 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11884 #:phases
11885 (modify-phases %standard-phases
11886 (add-after 'unpack 'patch-install-script
11887 (lambda _
11888 (substitute* "build-aux/meson/post_install.sh"
11889 (("gtk-update-icon-cache") "true")
11890 (("update-desktop-database") "true"))
11891 #t)))))
11892 (inputs
11893 `(("glib" ,glib)
11894 ("gtk+" ,gtk+)
11895 ("libdazzle" ,libdazzle)
11896 ("polkit" ,polkit)))
11897 (native-inputs
11898 `(("gettext" ,gettext-minimal)
11899 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11900 ("itstool" ,itstool)
11901 ("pkg-config" ,pkg-config)
11902 ("xmllint" ,libxml2)))
11903 ;; This home page is so woefully out of date as to be essentially useless.
11904 ;; (home-page "http://www.sysprof.com")
11905 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11906 (synopsis "System-wide performance profiler for GNU/Linux")
11907 (description
11908 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11909 GNU/Linux system including the kernel and all user-space applications. This
11910 helps find the function(s) in which a program spends most of its time.
11911
11912 It uses the kernel's built-in @code{ptrace} feature and handles shared
11913 libraries. Applications do not need to be recompiled--or even restarted.")
11914 (license license:gpl3+)))
11915
11916 (define-public gnome-builder
11917 (package
11918 (name "gnome-builder")
11919 (version "3.36.1")
11920 (source (origin
11921 (method url-fetch)
11922 (uri (string-append "mirror://gnome/sources/" name "/"
11923 (version-major+minor version) "/"
11924 name "-" version ".tar.xz"))
11925 (sha256
11926 (base32
11927 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11928 (build-system meson-build-system)
11929 (arguments
11930 `(#:configure-flags (list "-Dnetwork_tests=false"
11931 ;; TODO: Enable all plugins...
11932 "-Dplugin_clang=false"
11933 "-Dplugin_flatpak=false"
11934 "-Dplugin_glade=false"
11935 ;; XXX: This one has been shown not to work in
11936 ;; <https://issues.guix.gnu.org/45272>
11937 "-Dplugin_jedi=false"
11938 ;; ... except this one.
11939 "-Dplugin_update_manager=false")
11940 #:phases
11941 (modify-phases %standard-phases
11942 (add-after 'unpack 'patch-meson
11943 (lambda* (#:key inputs #:allow-other-keys)
11944 (substitute* "build-aux/meson/post_install.py"
11945 (("gtk-update-icon-cache") "true")
11946 (("update-desktop-database") "true"))
11947 (substitute* "src/libide/meson.build"
11948 (("/usr/lib")
11949 (string-append (assoc-ref inputs "python-pygobject")
11950 "/lib")))
11951 #t))
11952 (add-after 'configure 'fix-ninja
11953 (lambda _
11954 ;; #43296: meson(?) incorrectly assumes we want to link
11955 ;; this PIE against a static libselinux.
11956 (substitute* "build.ninja"
11957 (("libselinux\\.a") "libselinux.so"))
11958 #t))
11959 (add-before 'check 'pre-check
11960 (lambda _
11961 (system "Xvfb :1 &")
11962 (setenv "DISPLAY" ":1")
11963 #t)))))
11964 (inputs
11965 `(("devhelp" ,devhelp)
11966 ("gspell" ,gspell)
11967 ("gtk+" ,gtk+)
11968 ("json-glib" ,json-glib)
11969 ("jsonrpc-glib" ,jsonrpc-glib)
11970 ("libdazzle" ,libdazzle)
11971 ("libgit2-glib" ,libgit2-glib)
11972 ("libpeas" ,libpeas)
11973 ("python-pygobject" ,python-pygobject)
11974 ("sysprof" ,sysprof)
11975 ("template-glib" ,template-glib)
11976 ("vte" ,vte)
11977 ("webkitgtk" ,webkitgtk)))
11978 (propagated-inputs
11979 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11980 (native-inputs
11981 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11982 ("glib:bin" ,glib "bin")
11983 ("gettext" ,gettext-minimal)
11984 ("pkg-config" ,pkg-config)
11985 ("vala" ,vala)
11986 ("xorg-server" ,xorg-server-for-tests)))
11987 (home-page "https://wiki.gnome.org/Apps/Builder")
11988 (synopsis "Toolsmith for GNOME-based applications")
11989 (description "Builder aims to be an integrated development
11990 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11991 auto-completion, a mini code map, documentation browsing, Git integration, an
11992 integrated profiler via Sysprof, debugging support, and more.")
11993 (license license:gpl3+)))
11994
11995 (define-public komikku
11996 (package
11997 (name "komikku")
11998 (version "0.29.1")
11999 (source
12000 (origin
12001 (method git-fetch)
12002 (uri (git-reference
12003 (url "https://gitlab.com/valos/Komikku/")
12004 (commit (string-append "v" version))))
12005 (file-name (git-file-name name version))
12006 (sha256
12007 (base32
12008 "0cl1j28cmbwnfcbsqjqd466aysn71hdwzbrwy0jk0hfzyk0kjqi7"))))
12009 (build-system meson-build-system)
12010 (arguments
12011 `(#:glib-or-gtk? #t
12012 #:phases
12013 (modify-phases %standard-phases
12014 (add-after 'unpack 'patch-sources
12015 (lambda _
12016 (substitute* "komikku/utils.py"
12017 (("from komikku\\.servers import get_servers_list")
12018 ;; code following that line should migrate old databases
12019 ;; but the line itself results in an import error
12020 "return data_dir_path"))))
12021 (add-after 'unpack 'skip-gtk-update-icon-cache
12022 (lambda _
12023 (substitute* "meson_post_install.py"
12024 (("gtk-update-icon-cache") (which "true")))
12025 #t))
12026 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12027 (lambda* (#:key outputs #:allow-other-keys)
12028 (let ((prog (string-append (assoc-ref outputs "out")
12029 "/bin/komikku")))
12030 (wrap-program prog
12031 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12032 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12033 #t))))))
12034 (inputs
12035 `(("gtk+" ,gtk+)
12036 ("libhandy" ,libhandy)
12037 ("libnotify" ,libnotify)
12038 ("libsecret" ,libsecret)
12039 ("python-beautifulsoup4" ,python-beautifulsoup4)
12040 ("python-brotli" ,python-brotli)
12041 ("python-dateparser" ,python-dateparser)
12042 ("python-keyring" ,python-keyring)
12043 ("python-lxml" ,python-lxml)
12044 ("python-magic" ,python-magic)
12045 ("python-pillow" ,python-pillow)
12046 ("python-pure-protobuf" ,python-pure-protobuf)
12047 ("python-pycairo" ,python-pycairo)
12048 ("python-pygobject" ,python-pygobject)
12049 ("python-requests" ,python-requests)
12050 ("python-unidecode" ,python-unidecode)
12051 ("webkitgtk" ,webkitgtk)))
12052 (native-inputs
12053 `(("desktop-file-utils" ,desktop-file-utils)
12054 ("gettext" ,gettext-minimal)
12055 ("glib:bin" ,glib "bin")
12056 ("gobject-introspection" ,gobject-introspection)
12057 ("pkg-config" ,pkg-config)))
12058 (home-page "https://gitlab.com/valos/Komikku")
12059 (synopsis "Manga reader for GNOME")
12060 (description "Komikku is an online/offline manga reader for GNOME,
12061 developed with the aim of being used with the Librem 5 phone.")
12062 (license license:gpl3+)))
12063
12064 (define-public libgda
12065 (package
12066 (name "libgda")
12067 (version "5.2.10")
12068 (source
12069 (origin
12070 (method git-fetch)
12071 (uri (git-reference
12072 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12073 (commit (string-append "LIBGDA_" (string-replace-substring
12074 version "." "_")))))
12075 (file-name (git-file-name name version))
12076 (sha256
12077 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12078 (build-system gnu-build-system)
12079 (arguments
12080 `(#:configure-flags '("--enable-vala")
12081 ;; There's a race between check_cnc_lock and check_threaded_cnc
12082 ;; in tests/multi-threading.
12083 #:parallel-tests? #f
12084 #:phases
12085 (modify-phases %standard-phases
12086 (add-after 'unpack 'fix-glade-install
12087 (lambda _
12088 (substitute* "configure.ac"
12089 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12090 "${datadir}/glade/catalogs")
12091 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12092 "${datadir}/glade/pixmaps"))
12093 #t))
12094 (add-before 'check 'pre-check
12095 (lambda* (#:key inputs #:allow-other-keys)
12096 ;; Tests require a running X server.
12097 (system "Xvfb :1 &")
12098 (setenv "DISPLAY" ":1")
12099 #t))
12100 (add-after 'install 'symlink-glade-module
12101 (lambda* (#:key outputs #:allow-other-keys)
12102 (let* ((shlib "libgda-ui-5.0.so")
12103 (out (assoc-ref outputs "out"))
12104 (out/lib (string-append out "/lib"))
12105 (moduledir (string-append out/lib "/glade/modules")))
12106 (mkdir-p moduledir)
12107 (symlink (string-append out/lib "/" shlib)
12108 (string-append moduledir "/" shlib))
12109 #t))))))
12110 (propagated-inputs
12111 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12112 (inputs
12113 `(("glib" ,glib)
12114 ("glade" ,glade3)
12115 ("gtk+" ,gtk+)
12116 ("libsecret" ,libsecret)
12117 ("libxslt" ,libxslt)
12118 ("openssl" ,openssl)
12119 ("vala" ,vala)))
12120 (native-inputs
12121 `(("autoconf" ,autoconf)
12122 ("autoconf-archive" ,autoconf-archive)
12123 ("automake" ,automake)
12124 ("glib:bin" ,glib "bin")
12125 ("gnome-common" ,gnome-common)
12126 ("gobject-introspection" ,gobject-introspection)
12127 ("gtk-doc" ,gtk-doc/stable)
12128 ("intltool" ,intltool)
12129 ("libtool" ,libtool)
12130 ("pkg-config" ,pkg-config)
12131 ("vala" ,vala)
12132 ("which" ,which)
12133 ("xorg-server" ,xorg-server-for-tests)
12134 ("yelp-tools" ,yelp-tools)))
12135 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12136 (synopsis "Uniform data access")
12137 (description
12138 "GNU Data Access (GDA) is an attempt to provide uniform access to
12139 different kinds of data sources (databases, information servers, mail spools,
12140 etc). It is a complete architecture that provides all you need to access
12141 your data.")
12142 (license license:lgpl2.1+)))
12143
12144 (define-public gtranslator
12145 (package
12146 (name "gtranslator")
12147 (version "3.36.0")
12148 (source (origin
12149 (method url-fetch)
12150 (uri (string-append "mirror://gnome/sources/" name "/"
12151 (version-major+minor version) "/"
12152 name "-" version ".tar.xz"))
12153 (sha256
12154 (base32
12155 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12156 (build-system meson-build-system)
12157 (inputs
12158 `(("json-glib" ,json-glib)
12159 ("jsonrpc-glib" ,jsonrpc-glib)
12160 ("gettext" ,gettext-minimal)
12161 ("glib" ,glib)
12162 ("gtk+" ,gtk+)
12163 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12164 ("gspell" ,gspell)
12165 ("libdazzle" ,libdazzle)
12166 ("libgda" ,libgda)
12167 ("libsoup" ,libsoup)))
12168 (native-inputs
12169 `(("glib:bin" ,glib "bin")
12170 ("itstool" ,itstool)
12171 ("pkg-config" ,pkg-config)))
12172 (propagated-inputs
12173 `(("gtksourceview" ,gtksourceview))) ; required for source view
12174 (arguments
12175 `(#:build-type "release"
12176 #:glib-or-gtk? #t
12177 #:phases
12178 (modify-phases %standard-phases
12179 (add-after 'unpack 'skip-gtk-update-icon-cache
12180 (lambda _
12181 (substitute* "build-aux/meson/meson_post_install.py"
12182 (("gtk-update-icon-cache") (which "true")))
12183 #t)))))
12184 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12185 (synopsis "Translation making program")
12186 (description
12187 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12188 for the GNOME 3.x platform with many features. It aims to be a very complete
12189 editing environment for translation issues within the GNU gettext/GNOME desktop
12190 world.")
12191 (license license:gpl3+)))
12192
12193
12194 (define-public ocrfeeder
12195 (package
12196 (name "ocrfeeder")
12197 (version "0.8.3")
12198 (source (origin
12199 (method url-fetch)
12200 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12201 (version-major+minor version) "/"
12202 "ocrfeeder-" version ".tar.xz"))
12203 (sha256
12204 (base32
12205 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12206 (build-system gnu-build-system)
12207 (arguments
12208 `(#:phases
12209 (modify-phases %standard-phases
12210 (add-after
12211 'install 'wrap-program
12212 (lambda* (#:key outputs #:allow-other-keys)
12213 (let ((prog (string-append (assoc-ref outputs "out")
12214 "/bin/" "ocrfeeder"))
12215 (pylib (string-append (assoc-ref outputs "out")
12216 "/lib/python"
12217 ,(version-major+minor
12218 (package-version python))
12219 "/site-packages")))
12220 (wrap-program prog
12221 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12222 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12223 #t))))))
12224 (native-inputs
12225 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12226 ("gobject-introspection" ,gobject-introspection)
12227 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12228 ("intltool" ,intltool)
12229 ("itstool" ,itstool)
12230 ("pkg-config" ,pkg-config)
12231 ("xmllint" ,libxml2)))
12232 (inputs
12233 `(("enchant" ,enchant)
12234 ("glib" ,glib)
12235 ("goocanvas" ,goocanvas)
12236 ("gtk" ,gtk+)
12237 ("gtkspell3" ,gtkspell3)
12238 ("libjpeg" ,libjpeg-turbo)
12239 ("libtiff" ,libtiff)
12240 ("libraw" ,libraw)
12241 ("ocrad" ,ocrad)
12242 ("python" ,python-wrapper)
12243 ("python-pygobject" ,python-pygobject)
12244 ("python-odfpy" ,python-odfpy)
12245 ("python-pillow" ,python-pillow)
12246 ("python-pyenchant" ,python-pyenchant)
12247 ("python-reportlab" ,python-reportlab)
12248 ("python-sane" ,python-sane)
12249 ("sane-backends" ,sane-backends)
12250 ("tesseract-ocr" ,tesseract-ocr)))
12251 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12252 (synopsis "Complete OCR Suite")
12253 (description "OCRFeeder is a complete Optical Character Recognition and
12254 Document Analysis and Recognition program.")
12255 (license license:gpl3+)))